From 32e983faba2197aac8b60d28d5a29c388996d6b1 Mon Sep 17 00:00:00 2001 From: Damillora Date: Wed, 20 Nov 2019 12:19:02 +0700 Subject: [PATCH] Rabu 20 November 2019 --- Application/Controllers/AccountController.php | 45 + Application/Controllers/ApiController.php | 64 +- Application/Controllers/AuthController.php | 2 +- .../Controllers/ForumThreadController.php | 138 +- Application/Controllers/IndexController.php | 19 + Application/Foundations/DateHelper.php | 24 + Application/Foundations/QueryBuilder.php | 16 + Application/HTTP/File.php | 18 + Application/HTTP/Request.php | 12 +- Application/Models/Category.php | 17 +- Application/Models/Post.php | 6 +- Application/Models/Thread.php | 19 +- Application/Models/User.php | 52 +- Application/Models/UserAction.php | 11 +- Application/Models/UserReport.php | 16 + Application/Static/css/metaforums.css | 3771 ++++++- .../Static/js/tinymce/jquery.tinymce.min.js | 91 + Application/Static/js/tinymce/langs/readme.md | 3 + Application/Static/js/tinymce/license.txt | 504 + .../js/tinymce/plugins/advlist/plugin.min.js | 9 + .../js/tinymce/plugins/anchor/plugin.min.js | 9 + .../js/tinymce/plugins/autolink/plugin.min.js | 9 + .../tinymce/plugins/autoresize/plugin.min.js | 9 + .../js/tinymce/plugins/autosave/plugin.min.js | 9 + .../js/tinymce/plugins/bbcode/plugin.min.js | 9 + .../js/tinymce/plugins/charmap/plugin.min.js | 9 + .../js/tinymce/plugins/code/plugin.min.js | 9 + .../tinymce/plugins/codesample/plugin.min.js | 9 + .../tinymce/plugins/colorpicker/plugin.min.js | 9 + .../tinymce/plugins/contextmenu/plugin.min.js | 9 + .../plugins/directionality/plugin.min.js | 9 + .../js/tinymce/plugins/emoticons/js/emojis.js | 9015 +++++++++++++++++ .../plugins/emoticons/js/emojis.min.js | 2 + .../tinymce/plugins/emoticons/plugin.min.js | 9 + .../js/tinymce/plugins/fullpage/plugin.min.js | 9 + .../tinymce/plugins/fullscreen/plugin.min.js | 9 + .../js/tinymce/plugins/help/plugin.min.js | 9 + .../js/tinymce/plugins/hr/plugin.min.js | 9 + .../js/tinymce/plugins/image/plugin.min.js | 9 + .../tinymce/plugins/imagetools/plugin.min.js | 9 + .../tinymce/plugins/importcss/plugin.min.js | 9 + .../plugins/insertdatetime/plugin.min.js | 9 + .../plugins/legacyoutput/plugin.min.js | 9 + .../js/tinymce/plugins/link/plugin.min.js | 9 + .../js/tinymce/plugins/lists/plugin.min.js | 9 + .../js/tinymce/plugins/media/plugin.min.js | 9 + .../tinymce/plugins/nonbreaking/plugin.min.js | 9 + .../tinymce/plugins/noneditable/plugin.min.js | 9 + .../tinymce/plugins/pagebreak/plugin.min.js | 9 + .../js/tinymce/plugins/paste/plugin.min.js | 9 + .../js/tinymce/plugins/preview/plugin.min.js | 9 + .../js/tinymce/plugins/print/plugin.min.js | 9 + .../tinymce/plugins/quickbars/plugin.min.js | 9 + .../js/tinymce/plugins/save/plugin.min.js | 9 + .../plugins/searchreplace/plugin.min.js | 9 + .../plugins/spellchecker/plugin.min.js | 9 + .../js/tinymce/plugins/tabfocus/plugin.min.js | 9 + .../js/tinymce/plugins/table/plugin.min.js | 9 + .../js/tinymce/plugins/template/plugin.min.js | 9 + .../tinymce/plugins/textcolor/plugin.min.js | 9 + .../tinymce/plugins/textpattern/plugin.min.js | 9 + .../js/tinymce/plugins/toc/plugin.min.js | 9 + .../plugins/visualblocks/plugin.min.js | 9 + .../tinymce/plugins/visualchars/plugin.min.js | 9 + .../tinymce/plugins/wordcount/plugin.min.js | 9 + .../skins/content/dark/content.min.css | 7 + .../skins/content/default/content.min.css | 7 + .../skins/content/document/content.min.css | 7 + .../skins/content/writer/content.min.css | 7 + .../ui/oxide-dark/content.inline.min.css | 7 + .../skins/ui/oxide-dark/content.min.css | 7 + .../ui/oxide-dark/content.mobile.min.css | 7 + .../ui/oxide-dark/fonts/tinymce-mobile.woff | Bin 0 -> 4624 bytes .../tinymce/skins/ui/oxide-dark/skin.min.css | 7 + .../skins/ui/oxide-dark/skin.mobile.min.css | 7 + .../skins/ui/oxide/content.inline.min.css | 7 + .../js/tinymce/skins/ui/oxide/content.min.css | 7 + .../skins/ui/oxide/content.mobile.min.css | 7 + .../skins/ui/oxide/fonts/tinymce-mobile.woff | Bin 0 -> 4624 bytes .../js/tinymce/skins/ui/oxide/skin.min.css | 7 + .../skins/ui/oxide/skin.mobile.min.css | 7 + .../js/tinymce/themes/mobile/theme.min.js | 9 + .../js/tinymce/themes/silver/theme.min.js | 9 + Application/Static/js/tinymce/tinymce.min.js | 9 + .../avatars/32-Hoshimi.Junna.full.2553865.jpg | Bin 0 -> 448627 bytes .../32-Tendouji.Musubi.full.1896424.jpg | Bin 0 -> 1090742 bytes .../avatars/32-tomoriru-72177148_p0.jpg | Bin 0 -> 588173 bytes Application/Views/editor.php | 84 +- Application/Views/index.php | 81 +- Application/Views/layouts/head.php | 21 +- Application/Views/me.php | 43 + Application/Views/moderating-editor.php | 67 + Application/Views/moderation.php | 81 + Application/Views/profile.php | 81 + Application/Views/thread.php | 83 +- README.md | 26 + index.php | 21 + routes.php | 33 + 98 files changed, 14782 insertions(+), 205 deletions(-) create mode 100644 Application/Controllers/AccountController.php create mode 100644 Application/HTTP/File.php create mode 100644 Application/Static/js/tinymce/jquery.tinymce.min.js create mode 100644 Application/Static/js/tinymce/langs/readme.md create mode 100644 Application/Static/js/tinymce/license.txt create mode 100644 Application/Static/js/tinymce/plugins/advlist/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/anchor/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/autolink/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/autoresize/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/autosave/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/bbcode/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/charmap/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/code/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/codesample/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/colorpicker/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/contextmenu/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/directionality/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/emoticons/js/emojis.js create mode 100644 Application/Static/js/tinymce/plugins/emoticons/js/emojis.min.js create mode 100644 Application/Static/js/tinymce/plugins/emoticons/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/fullpage/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/fullscreen/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/help/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/hr/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/image/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/imagetools/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/importcss/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/insertdatetime/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/legacyoutput/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/link/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/lists/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/media/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/nonbreaking/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/noneditable/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/pagebreak/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/paste/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/preview/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/print/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/quickbars/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/save/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/searchreplace/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/spellchecker/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/tabfocus/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/table/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/template/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/textcolor/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/textpattern/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/toc/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/visualblocks/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/visualchars/plugin.min.js create mode 100644 Application/Static/js/tinymce/plugins/wordcount/plugin.min.js create mode 100644 Application/Static/js/tinymce/skins/content/dark/content.min.css create mode 100644 Application/Static/js/tinymce/skins/content/default/content.min.css create mode 100644 Application/Static/js/tinymce/skins/content/document/content.min.css create mode 100644 Application/Static/js/tinymce/skins/content/writer/content.min.css create mode 100644 Application/Static/js/tinymce/skins/ui/oxide-dark/content.inline.min.css create mode 100644 Application/Static/js/tinymce/skins/ui/oxide-dark/content.min.css create mode 100644 Application/Static/js/tinymce/skins/ui/oxide-dark/content.mobile.min.css create mode 100644 Application/Static/js/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff create mode 100644 Application/Static/js/tinymce/skins/ui/oxide-dark/skin.min.css create mode 100644 Application/Static/js/tinymce/skins/ui/oxide-dark/skin.mobile.min.css create mode 100644 Application/Static/js/tinymce/skins/ui/oxide/content.inline.min.css create mode 100644 Application/Static/js/tinymce/skins/ui/oxide/content.min.css create mode 100644 Application/Static/js/tinymce/skins/ui/oxide/content.mobile.min.css create mode 100644 Application/Static/js/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff create mode 100644 Application/Static/js/tinymce/skins/ui/oxide/skin.min.css create mode 100644 Application/Static/js/tinymce/skins/ui/oxide/skin.mobile.min.css create mode 100644 Application/Static/js/tinymce/themes/mobile/theme.min.js create mode 100644 Application/Static/js/tinymce/themes/silver/theme.min.js create mode 100644 Application/Static/js/tinymce/tinymce.min.js create mode 100644 Application/Storage/avatars/32-Hoshimi.Junna.full.2553865.jpg create mode 100644 Application/Storage/avatars/32-Tendouji.Musubi.full.1896424.jpg create mode 100644 Application/Storage/avatars/32-tomoriru-72177148_p0.jpg create mode 100644 Application/Views/me.php create mode 100644 Application/Views/moderating-editor.php create mode 100644 Application/Views/moderation.php create mode 100644 Application/Views/profile.php diff --git a/Application/Controllers/AccountController.php b/Application/Controllers/AccountController.php new file mode 100644 index 0000000..a3d3b1c --- /dev/null +++ b/Application/Controllers/AccountController.php @@ -0,0 +1,45 @@ +id); + return $response->view('profile', [ 'user' => $user ] ); + } + public function update(Request $request, Response $response) { + $user = ServiceContainer::Authentication()->user(); + $updateData = []; + if($request->hasFile("avatar")) { + $file = $request->file("avatar"); + $filename = "avatars/".$user->id."-".$file->name(); + $file->move("Application/Storage/".$filename); + $updateData["avatar_path"] = $filename; + }; + $updateData["about"] = $request->about; + $updateData["email_visible"] = $request->email_visible == "on" ? 1 : 0; + if(isset($request->username) && $user->username != $request->username) { + $updateData["username"] = $request->username; + UserChange::create([ + 'user_id' => $user->id, + 'action_type' => 'username', + 'best_before' => date('Y-m-d H:i:s'), + 'is_confirmed' => 1, + ]); + } + $user->update($updateData); + return $response->redirect("/me"); + } + public function me(Request $request, Response $response) { + $user = ServiceContainer::Authentication()->user(); + return $response->view('me', [ 'user' => $user ] ); + } +} diff --git a/Application/Controllers/ApiController.php b/Application/Controllers/ApiController.php index fa38baa..97544b7 100644 --- a/Application/Controllers/ApiController.php +++ b/Application/Controllers/ApiController.php @@ -5,15 +5,18 @@ use Application\HTTP\Request; use Application\HTTP\Response; use Application\Services\ServiceContainer; use Application\Models\Category; +use Application\Models\Post; use Application\Models\Thread; use Application\Models\UserAction; +use Application\Models\UserFavorite; +use Application\Models\UserReport; use Application\Foundations\QueryBuilder; class ApiController { public function __construct() { } - public function categories(Request $request, Response $response) { + public function getBans() { $bans = []; if(ServiceContainer::Authentication()->isLoggedIn()) { $where = new QueryBuilder(); @@ -23,19 +26,74 @@ class ApiController { return (int)$action->category_id; }, $actions); } + return $bans; + } + public function categories(Request $request, Response $response) { + $bans = $this->getBans(); $where = new QueryBuilder(); $where = $where->where('group_id',$request->id); + $categories = Category::select($where); if(count($bans) > 0) { $where = $where->whereNotIn('id',$bans); } - $categories = Category::select($where); return $response->json()->data($categories); } public function threads(Request $request, Response $response) { - + $bans = $this->getBans(); + if(in_array($request->id,$bans) ) { + return $response->json()->data([]); + } $where = new QueryBuilder(); $where = $where->where('category_id',$request->id); $threads = Thread::select($where); + usort($threads, function($a, $b) { + $a_view = ($a->view_count + ($a->post_count * 10)) / $a->thread_age; + $b_view = ($b->view_count + ($b->post_count * 10)) / $b->thread_age; + if($a->is_hot) { + $a_view += 500000; + } else if($b->is_hot) { + $b_view += 500000; + } + return ($a_view < $b_view) ? 1 : ($a_view == $b_view ? 0 : -1); + }); return $response->json()->data($threads); } + public function reports(Request $request, Response $response) { + if(!ServiceContainer::Authentication()->isLoggedIn() || !ServiceContainer::Authentication()->user()->is_moderator) return []; + $where = new QueryBuilder(); + $where = $where->select('post.id AS post')->from('thread')->join('post','post.thread_id = thread.id'); + if(!isset($request->id) || $request->id != 0) { + $where = $where->where('category_id',$request->id); + } + $threads = ServiceContainer::Database()->select($where->build()); + $posts = array_map(function($a) { return $a['post']; },$threads); + $where = new QueryBuilder(); + $where = $where->whereIn('post_id',$posts); + return $response->json()->data(UserReport::select($where)); + } + public function favorite(Request $request, Response $response) { + if(!ServiceContainer::Authentication()->isLoggedIn()) { + return $response->json()->data([ 'success' => false ]); + } + $query = new QueryBuilder(); + $query = $query->where('user_id',ServiceContainer::Authentication()->user()->id)->where('post_id',$request->id); + $is_fav = UserFavorite::selectOne($query); + if(isset($is_fav)) { + $query = new QueryBuilder(); + $query = $query->delete()->from('userfavorite')->where('user_id',ServiceContainer::Authentication()->user()->id)->where('post_id',$request->id); + $res = ServiceContainer::Database()->update($query->build()); + return $response->json()->data([ 'success' => $res ]); + } else { + $is_fav = UserFavorite::create([ + 'user_id' => ServiceContainer::Authentication()->user()->id, + 'post_id' => $request->id, + ]); + return $response->json()->data([ 'success' => isset($is_fav) ]); + } + return $response->json()->data([ 'success' => true ]); + } + public function favorite_num(Request $request, Response $response) { + $post = Post::find($request->id); + return $response->json()->data([ "favorites" => $post->favorites ]); + } } diff --git a/Application/Controllers/AuthController.php b/Application/Controllers/AuthController.php index f52684a..3fd412f 100644 --- a/Application/Controllers/AuthController.php +++ b/Application/Controllers/AuthController.php @@ -107,7 +107,7 @@ class AuthController { } public function login_check(Request $request, Response $response) { $query = new QueryBuilder(); - $query = $query->where('username',$request->username)->orWhere('email',$request->username); + $query = $query->where('is_deactivated',0)->where('username',$request->username)->orWhere('email',$request->username)->where('is_deactivated',0); $result = User::selectOne($query); if($result == null) { if(filter_var($request->username,FILTER_VALIDATE_EMAIL)) { diff --git a/Application/Controllers/ForumThreadController.php b/Application/Controllers/ForumThreadController.php index 3c33622..438fdc0 100644 --- a/Application/Controllers/ForumThreadController.php +++ b/Application/Controllers/ForumThreadController.php @@ -8,14 +8,33 @@ use Application\Models\Category; use Application\Models\Post; use Application\Models\Thread; use Application\Models\UserAction; +use Application\Models\UserReport; use Application\Foundations\QueryBuilder; +use Application\Foundations\MailBuilder; class ForumThreadController { public function __construct() { + } + public function getBans() { + $bans = []; + if(ServiceContainer::Authentication()->isLoggedIn()) { + $where = new QueryBuilder(); + $where = $where->where('user_id',ServiceContainer::Session()->get('user_id'))->where('expired_at','>',date('Y-m-d H:i:s'))->where('action_type','ban')->orderBy('expired_at','desc'); + $actions = UserAction::select($where); + $bans = array_map(function($action) { + return (int)$action->category_id; + }, $actions); + } + return $bans; } public function forum(Request $request, Response $response) { $thread = Thread::find($request->id); + $bans = $this->getBans(); + if(in_array($thread->category_id,$bans) ) { + return $response->body(""); + } + $thread->update([ "view_count" => $thread->view_count + 1 ]); return $response->view('thread', [ 'thread' => $thread ] ); } public function process(Request $request, Response $response) { @@ -33,9 +52,64 @@ class ForumThreadController { $thread = Thread::find($request->thread); $reply = Post::find($request->reply); $edit = Post::find($request->edit); + $delete = Post::find($request->delete); + $report = Post::find($request->report); + $time_stamp = false; + if(isset($edit)) { + $time_stamp = (time() - strtotime($edit->created_at)) > 300; + } else if(isset($delete)) { + $time_stamp = (time() - strtotime($delete->created_at)) > 300; + } + if($time_stamp) { + return $response->redirect('/?thread='.($edit->id ?? $delete->id)); + } if(isset($edit)) { $edit->update([ 'post' => $request->content, 'updated_at' => date("Y-m-d H:i:s") ]); - return $response->redirect('/'); + return $response->redirect('/?thread='.$thread->id); + } else if(isset($delete)) { + $cat_id = $delete->thread_id; + $delete->delete(); + return $response->redirect('/?thread='.$cat_id); + } else if(isset($report)) { + $query = new QueryBuilder(); + $query->where('user_id',$user->id)->where('report_date','>', date("Y-m-d H:i:s",strtotime("- 1 day")) ); + $reports = UserReport::select($query); + if(count($reports) > 0 ) return $response->body('You cannot report again for a 24 hour period'); + $category = Post::find($request->report)->thread()->category(); + UserReport::create([ + 'user_id' => $user->id, + 'reason' => $request->content, + 'post_id' => $request->report, + 'report_date' => date('Y-m-d H:i:s'), + ]); + if($user->didIModerateThis($category->id)) { + $query = new QueryBuilder(); + $query = $query->where('role','>=','100000'); + $admins = User::select($query); + foreach($admins as $moderator) { + $email = new MailBuilder(); + $body = "Dear ".$moderator->username."\n"; + $body .= "Someone reported ".$report->user()->username.", a moderator for ".$category->category_name." for alleged violation of the rules.\n\n"; + $body .= "Reason:\n\n"; + $body .= $request->content."\n\n"; + $body .= "Please resolve this via the moderation interface.\n"; + $email->from("metaforums@nanao.moe")->to($moderator->email)->subject("New report: ".$user->username)->body($body); + ServiceContainer::Email()->send($email); + } + } else { + $moderators = Post::find($request->report)->thread()->category()->moderators; + foreach($moderators as $moderator) { + $email = new MailBuilder(); + $body = "Dear ".$moderator->username."\n"; + $body .= "Someone reported ".$report->user()->username." for alleged violation of the rules.\n\n"; + $body .= "Reason:\n\n"; + $body .= $request->content."\n\n"; + $body .= "Please resolve this via the moderation interface.\n"; + $email->from("metaforums@nanao.moe")->to($moderator->email)->subject("New report: ".$user->username)->body($body); + ServiceContainer::Email()->send($email); + } + } + return $response->redirect('/?thread='.$thread->id); } else if (isset($thread) && isset($reply)) { $title = $reply->title; if(strpos($reply->title,"Re: ") != 0) { @@ -51,7 +125,7 @@ class ForumThreadController { 'updated_at' => date("Y-m-d H:i:s"), ]); } - return $response->redirect('/'); + return $response->redirect('/?thread='.$thread->id); } else if (isset($category)) { $title = $request->title; $thread = Thread::create([ @@ -69,7 +143,7 @@ class ForumThreadController { 'created_at' => date("Y-m-d H:i:s"), 'updated_at' => date("Y-m-d H:i:s"), ]); - return $response->redirect('/'); + return $response->redirect('/?thread='.$thread->id); } } public function editor(Request $request, Response $response) { @@ -78,15 +152,69 @@ class ForumThreadController { $thread = Thread::find($request->thread); $reply = Post::find($request->reply); $edit = Post::find($request->edit); + $delete = Post::find($request->delete); + $report = Post::find($request->report); if(isset($edit)) { $title = "Editing post"; + } else if(isset($report)) { + $title = "Reporting abuse by ".$report->user()->username; + } else if(isset($delete)) { + $title = "Are you sure to delete this post?"; } else if (isset($thread) && isset($reply) && $thread->main_post->id == $reply->id ) { $title = "Replying to Main Post"; } else if (isset($thread) && isset($reply)) { $title = "Replying to ".$reply->user()->username; } else if (isset($category)) { - $title = "Creating Thread to ".$category->category_name; + $title = "Creating Thread in ".$category->category_name; } - return $response->view('editor', [ 'title' => $title, 'category' => $request->category, 'thread' => $request->thread, 'edit' => $request->edit, 'reply' => $request->reply, 'edit_post' => $edit ] ); + return $response->view('editor', [ 'title' => $title, 'category' => $category, 'thread' => $thread, 'edit' => $edit, 'reply' => $reply, 'delete' => $delete, "report" => $report, 'thread_post' => $thread ] ); + } + public function moderating_editor(Request $request, Response $response) { + $post = Post::find($request->id); + $title = "Moderating "; + return $response->view('moderating-editor', [ 'title' => $title, 'post' => $post ]); + } + public function moderate(Request $request,Response $response) { + $user = ServiceContainer::Authentication()->user(); + $post = Post::find($request->post); + $thread = Thread::find($request->thread); + $category = Category::find($request->category); + $action = $request->action; + UserAction::create([ + 'user_id' => $post->user()->id, + 'thread_id' => $thread->id ?? 0, + 'category_id' => $category->id ?? 0, + 'action_type' => $action, + 'reason' => $request->content, + 'action_at' => date('Y-m-d H:i:s'), + 'expired_at' => date('Y-m-d H:i:s',strtotime($request->duration)) , + ]); + if($action == "lock") { + Post::create([ + 'thread_id' => $thread->id, + 'user_id' => $user->id, + 'title' => "Locking ".$thread->title, + 'post' => $request->content, + 'created_at' => date("Y-m-d H:i:s"), + 'updated_at' => date("Y-m-d H:i:s"), + ]); + } else { + $offending_user = $post->user(); + $email = new MailBuilder(); + $body = "A moderator,".$user->username." has decided to apply a ".$action." to your account.\n"; + $body .= "Reason:\n\n"; + $body .= $request->content."\n\n"; + $body .= "To appeal this decision, contact the moderator who applied the ".$action.".\n"; + $email->from("metaforums@nanao.moe")->to($offending_user->email)->subject("A ".$action." was applied to your account")->body($body); + ServiceContainer::Email()->send($email); + } + return $response->redirect('/?thread='.$thread->id); + } + public function unlock(Request $request, Response $response) { + $thread = Thread::find($request->id); + if($thread->lock()) { + $thread->lock()->delete(); + } + return $response->redirect('/?thread='.$thread->id); } } diff --git a/Application/Controllers/IndexController.php b/Application/Controllers/IndexController.php index 0d96238..783db09 100644 --- a/Application/Controllers/IndexController.php +++ b/Application/Controllers/IndexController.php @@ -11,6 +11,22 @@ use Application\Models\Thread; class IndexController { public function __construct() { + } + public function moderation(Request $request, Response $response) { + if(!ServiceContainer::Authentication()->isLoggedIn() || !ServiceContainer::Authentication()->user()->is_moderator) { + return $response->redirect("/"); + } + $groups = Group::all(); + $group = null; + $category = null; + if(isset($request->group)) { + $group = Group::find($request->group); + } + if(isset($request->category)) { + $category = Category::find($request->category); + $group = Group::find($category->group_id); + } + return $response->view('moderation', ['groups' => $groups, 'group' => $group, 'category' => $category ] ); } public function index(Request $request, Response $response) { $groups = Group::all(); @@ -22,9 +38,12 @@ class IndexController { } if(isset($request->category)) { $category = Category::find($request->category); + $group = Group::find($category->group_id); } if(isset($request->thread)) { $thread = Thread::find($request->thread); + $category = Category::find($thread->category_id); + $group = Group::find($category->group_id); } return $response->view('index', ['groups' => $groups, 'group' => $group, 'category' => $category, 'thread' => $thread ] ); } diff --git a/Application/Foundations/DateHelper.php b/Application/Foundations/DateHelper.php index 386e4bc..1b14779 100644 --- a/Application/Foundations/DateHelper.php +++ b/Application/Foundations/DateHelper.php @@ -2,6 +2,28 @@ namespace Application\Foundations; class DateHelper { + public static function durationString($then, $now) { + $dateDiff = $now - $then; + $measure = ""; + $dateDiff = abs($dateDiff); + $seconds = $dateDiff; + $minutes = intval($dateDiff / 60); + $hours = intval($dateDiff / 3600); + $days = intval($dateDiff / 86400); + $years = intval($dateDiff / (365 * 86400)); + if($years > 0) { + $measure = $years." years"; + } else if($days > 0) { + $measure = $days." days"; + } else if($hours > 0) { + $measure = $hours." hours"; + } else if($minutes > 0) { + $measure = $minutes." minutes"; + } else if($seconds > 0) { + $measure = $seconds." seconds"; + } + return $measure; + } public function elapsedString($date) { $unixTimestamp = strtotime($date); $now = time(); @@ -12,6 +34,8 @@ class DateHelper { $ago .= " ago"; } else if($dateDiff < 0) { $ago .= " later"; + } else { + return "just now"; } $dateDiff = abs($dateDiff); $seconds = $dateDiff; diff --git a/Application/Foundations/QueryBuilder.php b/Application/Foundations/QueryBuilder.php index 12df2c9..73d8776 100644 --- a/Application/Foundations/QueryBuilder.php +++ b/Application/Foundations/QueryBuilder.php @@ -13,6 +13,14 @@ class QueryBuilder { } return $this; } + public function selectDistinct($fields) { + if(!is_array($fields)) { + $this->query .= "SELECT DISTINCT ".$fields; + } else { + $this->query .= "SELECT DISTINCT ".implode(",",SQLHelper::encode_list($fields)); + } + return $this; + } public function orderBy($column, $order = 'asc') { $this->misc .= " ORDER BY ".$column." ".strtoupper($order); return $this; @@ -40,6 +48,10 @@ class QueryBuilder { $this->query .= " FROM `".$table."`"; return $this; } + public function join($table, $condition) { + $this->query .= " JOIN ".$table." ON ".$condition; + return $this; + } public function where($a, $b, $c = null) { $field = ""; $value = ""; @@ -102,6 +114,10 @@ class QueryBuilder { } return $this; } + public function limit($limit) { + $this->misc .= " LIMIT ".$limit; + return $this; + } public function build() { return $this->query.$this->where.$this->misc; } diff --git a/Application/HTTP/File.php b/Application/HTTP/File.php new file mode 100644 index 0000000..75ee361 --- /dev/null +++ b/Application/HTTP/File.php @@ -0,0 +1,18 @@ +data = $data; + } + public function move($path) { + move_uploaded_file($this->data["tmp_name"],$path); + } + public function name() { + return $this->data["name"]; + } + public function extension() { + return pathinfo($this->data["name"],PATHINFO_EXTENSION); + } +} diff --git a/Application/HTTP/Request.php b/Application/HTTP/Request.php index 5660825..02dbe61 100644 --- a/Application/HTTP/Request.php +++ b/Application/HTTP/Request.php @@ -6,16 +6,26 @@ class Request { private $query; public function __construct() { $this->data = $_REQUEST; + $this->files = $_FILES; $this->query = $_SERVER['QUERY_STRING']; } + public function hasFile($name) { + return (array_key_exists($name,$this->files) && $this->files[$name]["name"] != ""); + } + public function file($name) { + return new File($this->files[$name]); + } function queryString() { return $this->query; } function __get($prop) { - if(!array_key_exists($prop,$this->data)) return ""; + if(!array_key_exists($prop,$this->data)) return null; return $this->data[$prop]; } function __set($prop, $val) { $this->data[$prop] = $val; } + function __isset($prop) { + return array_key_exists($prop,$this->data); + } } diff --git a/Application/Models/Category.php b/Application/Models/Category.php index ecc2aeb..963613e 100644 --- a/Application/Models/Category.php +++ b/Application/Models/Category.php @@ -2,7 +2,22 @@ namespace Application\Models; use Application\Foundations\Model as DBModel; +use Application\Foundations\QueryBuilder; class Category extends DBModel { - + public function moderators_attribute() { + $query = new QueryBuilder(); + $query = $query->where('category_id',$this->id); + $moderators = ModeratorCategory::select($query); + if(count($moderators) == 0) return []; + $moderators = array_map(function($a) { + return $a->user_id; + }, $moderators); + $query = new QueryBuilder(); + $query = $query->whereIn('id',$moderators); + return User::select($query); + } + public function group() { + return Group::find($this->group_id); + } } diff --git a/Application/Models/Post.php b/Application/Models/Post.php index e3f9f86..7f5a0c7 100644 --- a/Application/Models/Post.php +++ b/Application/Models/Post.php @@ -8,7 +8,7 @@ use Application\Services\ServiceContainer; class Post extends DBModel { public function user() { - $user = User::Find($this->user_id); + $user = User::find($this->user_id); return $user; } public function elapsed_created_attribute() { @@ -20,6 +20,10 @@ class Post extends DBModel { $result = ServiceContainer::Database()->select($query); return $result[0]["count"]; } + public function thread() { + $thread = Thread::find($this->thread_id); + return $thread; + } public function is_main() { $id = Thread::find($this->thread_id)->main_post->id; return ($id == $this->id); diff --git a/Application/Models/Thread.php b/Application/Models/Thread.php index 44ab44c..3f99e1a 100644 --- a/Application/Models/Thread.php +++ b/Application/Models/Thread.php @@ -19,6 +19,12 @@ class Thread extends DBModel { public function elapsed_created_attribute() { return DateHelper::elapsedString($this->created_at); } + public function thread_age_attribute() { + $query = new QueryBuilder(); + $query = $query->where('thread_id',$this->id)->orderBy('created_at','desc'); + $post = Post::selectOne($query); + return time() - strtotime($post->created_at); + } public function last_reply_attribute() { $query = new QueryBuilder(); $query = $query->where('thread_id',$this->id)->orderBy('created_at','desc'); @@ -43,7 +49,18 @@ class Thread extends DBModel { return $post; } public function category() { - $category = Category::Find($this->category_id); + $category = Category::find($this->category_id); return $category; } + public function isLocked() { + $action = $this->lock(); + return isset($action); + } + public function lock() { + $where = new QueryBuilder(); + $where = $where->where('thread_id',$this->id)->where('action_type','lock')->where('expired_at','>',date('Y-m-d H:i:s'))->orderBy('expired_at','desc'); + $actions = UserAction::selectOne($where); + return $actions; + } + } diff --git a/Application/Models/User.php b/Application/Models/User.php index f3f2c45..da532ee 100644 --- a/Application/Models/User.php +++ b/Application/Models/User.php @@ -3,6 +3,7 @@ namespace Application\Models; use Application\Foundations\Model as DBModel; use Application\Foundations\QueryBuilder; +use Application\Foundations\DateHelper; use Application\Services\ServiceContainer; class User extends DBModel { public function is_moderator_attribute() { @@ -11,6 +12,9 @@ class User extends DBModel { public function is_admin_attribute() { return ($this->role >= 100000); } + public function status_attribute() { + return $this->is_deactivated ? 'Deleted' : ($this->logged_in ? 'Online' : 'Offline'); + } public function role_string_attribute() { if($this->is_admin) { return "Site Admin"; @@ -19,6 +23,10 @@ class User extends DBModel { } return "User"; } + public function elapsed_login_attribute() { + return DateHelper::elapsedString($this->last_login); + } + public function post_count_attribute() { $query = new QueryBuilder(); $query = $query->select("COUNT(id) AS count")->from("post")->where("user_id",$this->id)->build(); @@ -39,9 +47,49 @@ class User extends DBModel { } public function isPardoned($thread_id) { $where = new QueryBuilder(); - $where = $where->where('user_id',$this->id)->where('thread_id',$thread_id)->where('action_type','silence')->where('expired_at','>',date('Y-m-d H:i:s'))->orderBy('expired_at','desc'); + $where = $where->where('user_id',$this->id)->where('thread_id',$thread_id)->where('action_type','pardon')->where('expired_at','>',date('Y-m-d H:i:s'))->orderBy('expired_at','desc'); $actions = UserAction::select($where); return (count($actions) > 0); } - + public function didIModerateThis($category_id) { + $query = new QueryBuilder(); + $query = $query->where('category_id',$category_id)->where('user_id',$this->id); + $moderator = ModeratorCategory::select($query); + return count($moderator) > 0; + } + public function hearts_attribute() { + $query = new QueryBuilder(); + $query = $query->where('user_id',$this->id); + $posts = Post::select($query); + $posts = array_map(function($a) { + return $a->id; + }, $posts); + $query = new QueryBuilder(); + $query = $query->select("COUNT(user_id) AS count")->from("userfavorite")->whereIn("post_id",$posts); + $result = ServiceContainer::Database()->select($query->build()); + return $result[0]["count"] ?? 0; + } + public function most_active() { + $categorization = []; + $thread_ids = []; + $query = new QueryBuilder(); + $query = $query->select('category.id AS category, COUNT(post.id) AS posts')->from('post')->join("thread","thread.id = post.thread_id")->join("category","category.id = thread.category_id")->where('user_id',$this->id)->build(); + $result = ServiceContainer::Database()->select($query); + usort($result, function($a, $b) { + return $a['posts'] < $b['posts']; + }); + $category = Category::find($result[0]["category"]); + return $category; + } + public function recent_posts($limit) { + $query = new QueryBuilder(); + $query = $query->where('user_id',$this->id)->orderBy('created_at','desc')->limit($limit); + return Post::select($query); + } + public function hasChangedNameRecently() { + $where = new QueryBuilder(); + $where = $where->where('user_id',$this->id)->where('action_type','username')->where('best_before','>',date('Y-m-d H:i:s',strtotime(" - 30 days")))->orderBy('best_before','desc'); + $actions = UserChange::select($where); + return (count($actions) > 0); + } } diff --git a/Application/Models/UserAction.php b/Application/Models/UserAction.php index 226283a..e3627c7 100644 --- a/Application/Models/UserAction.php +++ b/Application/Models/UserAction.php @@ -2,7 +2,16 @@ namespace Application\Models; use Application\Foundations\Model as DBModel; +use Application\Foundations\DateHelper; class UserAction extends DBModel { - + public function duration_attribute() { + if($this->expired_at == "2099-12-31 23:59:00") { + return "an indefinite amount of time"; + } + $then = strtotime($this->action_at); + $now = strtotime($this->expired_at); + $measure = DateHelper::durationString($then, $now); + return $measure; + } } diff --git a/Application/Models/UserReport.php b/Application/Models/UserReport.php index 00b188b..efb3c15 100644 --- a/Application/Models/UserReport.php +++ b/Application/Models/UserReport.php @@ -2,7 +2,23 @@ namespace Application\Models; use Application\Foundations\Model as DBModel; +use Application\Foundations\DateHelper; class UserReport extends DBModel { + public function post_attribute() { + return Post::Find($this->post_id); + } + public function post() { + return Post::Find($this->post_id); + } + public function reported_attribute() { + return User::find($this->post()->user_id); + } + public function reporter_attribute() { + return User::find($this->user_id); + } + public function elapsed_attribute() { + return DateHelper::elapsedString($this->report_date); + } } diff --git a/Application/Static/css/metaforums.css b/Application/Static/css/metaforums.css index 71d6081..4328cc1 100644 --- a/Application/Static/css/metaforums.css +++ b/Application/Static/css/metaforums.css @@ -607,6 +607,80 @@ body { min-height: 100vh; } +.input-group { + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.input-group label { + font-size: 1.125rem; +} + +input[type=text], input[type=password] { + border-color: #a0aec0; + border-width: 1px; + padding-left: 0.5rem; + padding-right: 0.5rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + border-radius: 0.25rem; + width: 100%; + background-color: #fff; +} + +select { + border-color: #a0aec0; + border-width: 1px; + padding-left: 0.5rem; + padding-right: 0.5rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + border-radius: 0.25rem; + background-color: #fff; + color: #3B90C6; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +textarea { + border-color: #a0aec0; + border-width: 1px; + padding-left: 0.5rem; + padding-right: 0.5rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + border-radius: 0.25rem; + width: 100%; + background-color: #fff; +} + +button { + border-radius: 0.25rem; + padding-left: 0.5rem; + padding-right: 0.5rem; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + color: #fff; + background-color: #3B90C6; +} + +h1 { + font-size: 2.25rem; +} + +h2 { + font-size: 1.875rem; +} + +h3 { + font-size: 1.5rem; +} + +a { + color: #3B90C6; +} + header { height: 4rem; width: 100%; @@ -624,10 +698,16 @@ header { padding-right: 1rem; color: #fff; font-size: 1.125rem; - background-color: #3b90c6; + background-color: #3B90C6; min-height: 3rem; } +.header-link { + padding-left: 0.5rem; + padding-right: 0.5rem; + color: #fff; +} + footer { height: 4rem; width: 100%; @@ -645,7 +725,7 @@ footer { padding-right: 1rem; color: #fff; font-size: 1.125rem; - background-color: #3b90c6; + background-color: #3B90C6; min-height: 3rem; } @@ -660,11 +740,6 @@ main { min-height: calc(100vh - 8rem); } -.header-link { - padding-left: 0.5rem; - padding-right: 0.5rem; -} - .header-middle { -webkit-box-flex: 1; flex-grow: 1; @@ -676,123 +751,114 @@ main { margin-bottom: 1rem; } -.input-group { - padding-top: 0.5rem; - padding-bottom: 0.5rem; -} - -input[type=text], input[type=password] { - border-color: #a0aec0; - border-width: 1px; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - border-radius: 0.25rem; - width: 100%; -} - -button { - background-color: #3b90c6; - border-radius: 0.25rem; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - color: #fff; -} - -h1 { - font-size: 2.25rem; -} - #forumbrowser { display: -webkit-box; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; + -webkit-box-pack: start; + justify-content: flex-start; + -webkit-box-align: start; + align-items: flex-start; } -.forumbrowser-group { - height: 3rem; - text-align: right; - padding-top: 0.5rem; - padding-bottom: 0.5rem; +.forumbrowser-left { + display: -webkit-box; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + margin-left: 0.25rem; + margin-right: 0.25rem; +} + +.forumbrowser-item { padding-left: 0.5rem; padding-right: 0.5rem; - color: #3b90c6; + border-right-width: 2px; + border-color: #fff; + color: #3B90C6; cursor: pointer; + display: -webkit-box; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -webkit-box-pack: center; + justify-content: center; + -webkit-box-align: end; + align-items: flex-end; + height: 2rem; } -.forumbrowser-group.selected { - color: #fff; - background-color: #3b90c6; +.forumbrowser-item.selected { + border-color: #3B90C6; + background-color: #C6E7F8; } -.forumbrowser-group:hover { - color: #fff; - background-color: #3b90c6; +.forumbrowser-item:hover { + border-color: #3B90C6; + background-color: #C6E7F8; } -.forumbrowser-category { - height: 3rem; - text-align: right; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - padding-left: 0.5rem; - padding-right: 0.5rem; - color: #3b90c6; - cursor: pointer; +.forumbrowser-right-table { + display: -webkit-box; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -webkit-box-flex: 1; + flex-grow: 1; } -.forumbrowser-category.selected { - color: #fff; - background-color: #3b90c6; -} - -.forumbrowser-category:hover { - color: #fff; - background-color: #3b90c6; -} - -.forumbrowser-thread-table { - display: table; -} - -.forumbrowser-thread { +.forumbrowser-right { text-align: left; padding-top: 0.5rem; padding-bottom: 0.5rem; - padding-left: 0.5rem; - padding-right: 0.5rem; - display: table-row; - height: 3rem; - color: #3b90c6; + padding-left: 0.25rem; + padding-right: 0.25rem; + display: -webkit-box; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + flex-direction: row; + height: 2rem; + border-color: #fff; + border-left-width: 2px; + color: #3B90C6; cursor: pointer; } -.forumbrowser-thread.selected { - color: #fff; - background-color: #3b90c6; +.forumbrowser-right.selected { + border-color: #3B90C6; + background-color: #C6E7F8; } -.forumbrowser-thread:hover { - color: #fff; - background-color: #3b90c6; +.forumbrowser-right:hover { + border-color: #3B90C6; + background-color: #C6E7F8; } -.forumbrowser-thread-col { +.forumbrowser-right-col { padding-left: 0.5rem; padding-right: 0.5rem; - display: table-cell; + display: -webkit-box; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -webkit-box-pack: center; + justify-content: center; + -webkit-box-align: start; + align-items: flex-start; } .forum-post { border-width: 1px; margin-top: 1rem; margin-bottom: 1rem; - border-color: #3b90c6; + border-color: #3B90C6; } .forum-post-title { @@ -814,7 +880,7 @@ h1 { align-items: center; display: flex; flex-direction: row; - background-color: #3b90c6; + background-color: #3B90C6; } .forum-post-content { @@ -823,6 +889,10 @@ h1 { -webkit-box-orient: horizontal; -webkit-box-direction: normal; flex-direction: row; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + padding-left: 0.5rem; + padding-right: 0.5rem; min-height: 200px; } @@ -830,6 +900,42 @@ h1 { width: 16.666667%; padding-top: 0.5rem; padding-bottom: 0.5rem; + padding-left: 1rem; + padding-right: 1rem; + display: -webkit-box; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; +} + +.forum-post-user-detail { + display: -webkit-box; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + flex-direction: column; + -webkit-box-pack: center; + justify-content: center; +} + +.forum-post-user-detail img{ + border-radius: 9999px; + width: 100%; +} + +.forum-post-text { + width: 83.333333%; + padding-top: 0.5rem; + padding-bottom: 0.5rem; + padding-left: 0.5rem; + padding-right: 0.5rem; +} + +.forum-post-profile { + width: 83.333333%; + padding-top: 0.5rem; + padding-bottom: 0.5rem; padding-left: 0.5rem; padding-right: 0.5rem; display: -webkit-box; @@ -839,12 +945,16 @@ h1 { flex-direction: column; } -.forum-post-text { - width: 83.333333%; - padding-top: 0.5rem; - padding-bottom: 0.5rem; - padding-left: 0.5rem; - padding-right: 0.5rem; +.forum-post-profile-detail { + display: -webkit-box; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + flex-direction: row; +} + +.forum-post-profile-about { + min-height: 100px; } .forum-post-footer { @@ -852,8 +962,6 @@ h1 { width: 100%; padding-top: 0.5rem; padding-bottom: 0.5rem; - padding-left: 0.5rem; - padding-right: 0.5rem; display: -webkit-box; display: flex; -webkit-box-orient: horizontal; @@ -865,12 +973,55 @@ h1 { align-items: center; } -.forum-post-favorite { - -webkit-box-flex: 1; - flex-grow: 1; +.forum-post-footer-left { + padding-left: 0.5rem; + padding-right: 0.5rem; } -.forum-post-actions { +.forum-post-footer-mid { + -webkit-box-flex: 1; + flex-grow: 1; + padding-left: 0.5rem; + padding-right: 0.5rem; +} + +.forum-post-footer-right { + padding-left: 0.5rem; + padding-right: 0.5rem; +} + +.forum-post-footer-action { + padding-left: 1rem; + padding-right: 1rem; + cursor: pointer; +} + +.lock-message { + background-color: #fed7d7; + padding-top: 1rem; + padding-bottom: 1rem; + padding-left: 1rem; + padding-right: 1rem; + border-color: #f56565; + border-width: 1px; + margin-top: 0.5rem; + margin-bottom: 0.5rem; + margin-left: 0.5rem; + margin-right: 0.5rem; +} + +#forumbrowser { + display: -webkit-box; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + flex-direction: row; + margin-top: 1rem; + margin-bottom: 1rem; +} + +#editor-poster { + height: 100%; } .container { @@ -1337,6 +1488,42 @@ h1 { background-color: #702459; } +.bg-yuika-blue-100 { + background-color: #C6E7F8; +} + +.bg-yuika-blue-200 { + background-color: #9FD3F0; +} + +.bg-yuika-blue-300 { + background-color: #7BBEE5; +} + +.bg-yuika-blue-400 { + background-color: #5AA7D7; +} + +.bg-yuika-blue-500 { + background-color: #3B90C6; +} + +.bg-yuika-blue-600 { + background-color: #2E72AA; +} + +.bg-yuika-blue-700 { + background-color: #22558C; +} + +.bg-yuika-blue-800 { + background-color: #173B6C; +} + +.bg-yuika-blue-900 { + background-color: #0E254C; +} + .hover\:bg-transparent:hover { background-color: transparent; } @@ -1709,6 +1896,42 @@ h1 { background-color: #702459; } +.hover\:bg-yuika-blue-100:hover { + background-color: #C6E7F8; +} + +.hover\:bg-yuika-blue-200:hover { + background-color: #9FD3F0; +} + +.hover\:bg-yuika-blue-300:hover { + background-color: #7BBEE5; +} + +.hover\:bg-yuika-blue-400:hover { + background-color: #5AA7D7; +} + +.hover\:bg-yuika-blue-500:hover { + background-color: #3B90C6; +} + +.hover\:bg-yuika-blue-600:hover { + background-color: #2E72AA; +} + +.hover\:bg-yuika-blue-700:hover { + background-color: #22558C; +} + +.hover\:bg-yuika-blue-800:hover { + background-color: #173B6C; +} + +.hover\:bg-yuika-blue-900:hover { + background-color: #0E254C; +} + .focus\:bg-transparent:focus { background-color: transparent; } @@ -2081,6 +2304,42 @@ h1 { background-color: #702459; } +.focus\:bg-yuika-blue-100:focus { + background-color: #C6E7F8; +} + +.focus\:bg-yuika-blue-200:focus { + background-color: #9FD3F0; +} + +.focus\:bg-yuika-blue-300:focus { + background-color: #7BBEE5; +} + +.focus\:bg-yuika-blue-400:focus { + background-color: #5AA7D7; +} + +.focus\:bg-yuika-blue-500:focus { + background-color: #3B90C6; +} + +.focus\:bg-yuika-blue-600:focus { + background-color: #2E72AA; +} + +.focus\:bg-yuika-blue-700:focus { + background-color: #22558C; +} + +.focus\:bg-yuika-blue-800:focus { + background-color: #173B6C; +} + +.focus\:bg-yuika-blue-900:focus { + background-color: #0E254C; +} + .bg-bottom { background-position: bottom; } @@ -2533,6 +2792,42 @@ h1 { border-color: #702459; } +.border-yuika-blue-100 { + border-color: #C6E7F8; +} + +.border-yuika-blue-200 { + border-color: #9FD3F0; +} + +.border-yuika-blue-300 { + border-color: #7BBEE5; +} + +.border-yuika-blue-400 { + border-color: #5AA7D7; +} + +.border-yuika-blue-500 { + border-color: #3B90C6; +} + +.border-yuika-blue-600 { + border-color: #2E72AA; +} + +.border-yuika-blue-700 { + border-color: #22558C; +} + +.border-yuika-blue-800 { + border-color: #173B6C; +} + +.border-yuika-blue-900 { + border-color: #0E254C; +} + .hover\:border-transparent:hover { border-color: transparent; } @@ -2905,6 +3200,42 @@ h1 { border-color: #702459; } +.hover\:border-yuika-blue-100:hover { + border-color: #C6E7F8; +} + +.hover\:border-yuika-blue-200:hover { + border-color: #9FD3F0; +} + +.hover\:border-yuika-blue-300:hover { + border-color: #7BBEE5; +} + +.hover\:border-yuika-blue-400:hover { + border-color: #5AA7D7; +} + +.hover\:border-yuika-blue-500:hover { + border-color: #3B90C6; +} + +.hover\:border-yuika-blue-600:hover { + border-color: #2E72AA; +} + +.hover\:border-yuika-blue-700:hover { + border-color: #22558C; +} + +.hover\:border-yuika-blue-800:hover { + border-color: #173B6C; +} + +.hover\:border-yuika-blue-900:hover { + border-color: #0E254C; +} + .focus\:border-transparent:focus { border-color: transparent; } @@ -3277,6 +3608,42 @@ h1 { border-color: #702459; } +.focus\:border-yuika-blue-100:focus { + border-color: #C6E7F8; +} + +.focus\:border-yuika-blue-200:focus { + border-color: #9FD3F0; +} + +.focus\:border-yuika-blue-300:focus { + border-color: #7BBEE5; +} + +.focus\:border-yuika-blue-400:focus { + border-color: #5AA7D7; +} + +.focus\:border-yuika-blue-500:focus { + border-color: #3B90C6; +} + +.focus\:border-yuika-blue-600:focus { + border-color: #2E72AA; +} + +.focus\:border-yuika-blue-700:focus { + border-color: #22558C; +} + +.focus\:border-yuika-blue-800:focus { + border-color: #173B6C; +} + +.focus\:border-yuika-blue-900:focus { + border-color: #0E254C; +} + .rounded-none { border-radius: 0; } @@ -8007,6 +8374,186 @@ h1 { color: #702459; } +.placeholder-yuika-blue-100::-webkit-input-placeholder { + color: #C6E7F8; +} + +.placeholder-yuika-blue-100::-moz-placeholder { + color: #C6E7F8; +} + +.placeholder-yuika-blue-100:-ms-input-placeholder { + color: #C6E7F8; +} + +.placeholder-yuika-blue-100::-ms-input-placeholder { + color: #C6E7F8; +} + +.placeholder-yuika-blue-100::placeholder { + color: #C6E7F8; +} + +.placeholder-yuika-blue-200::-webkit-input-placeholder { + color: #9FD3F0; +} + +.placeholder-yuika-blue-200::-moz-placeholder { + color: #9FD3F0; +} + +.placeholder-yuika-blue-200:-ms-input-placeholder { + color: #9FD3F0; +} + +.placeholder-yuika-blue-200::-ms-input-placeholder { + color: #9FD3F0; +} + +.placeholder-yuika-blue-200::placeholder { + color: #9FD3F0; +} + +.placeholder-yuika-blue-300::-webkit-input-placeholder { + color: #7BBEE5; +} + +.placeholder-yuika-blue-300::-moz-placeholder { + color: #7BBEE5; +} + +.placeholder-yuika-blue-300:-ms-input-placeholder { + color: #7BBEE5; +} + +.placeholder-yuika-blue-300::-ms-input-placeholder { + color: #7BBEE5; +} + +.placeholder-yuika-blue-300::placeholder { + color: #7BBEE5; +} + +.placeholder-yuika-blue-400::-webkit-input-placeholder { + color: #5AA7D7; +} + +.placeholder-yuika-blue-400::-moz-placeholder { + color: #5AA7D7; +} + +.placeholder-yuika-blue-400:-ms-input-placeholder { + color: #5AA7D7; +} + +.placeholder-yuika-blue-400::-ms-input-placeholder { + color: #5AA7D7; +} + +.placeholder-yuika-blue-400::placeholder { + color: #5AA7D7; +} + +.placeholder-yuika-blue-500::-webkit-input-placeholder { + color: #3B90C6; +} + +.placeholder-yuika-blue-500::-moz-placeholder { + color: #3B90C6; +} + +.placeholder-yuika-blue-500:-ms-input-placeholder { + color: #3B90C6; +} + +.placeholder-yuika-blue-500::-ms-input-placeholder { + color: #3B90C6; +} + +.placeholder-yuika-blue-500::placeholder { + color: #3B90C6; +} + +.placeholder-yuika-blue-600::-webkit-input-placeholder { + color: #2E72AA; +} + +.placeholder-yuika-blue-600::-moz-placeholder { + color: #2E72AA; +} + +.placeholder-yuika-blue-600:-ms-input-placeholder { + color: #2E72AA; +} + +.placeholder-yuika-blue-600::-ms-input-placeholder { + color: #2E72AA; +} + +.placeholder-yuika-blue-600::placeholder { + color: #2E72AA; +} + +.placeholder-yuika-blue-700::-webkit-input-placeholder { + color: #22558C; +} + +.placeholder-yuika-blue-700::-moz-placeholder { + color: #22558C; +} + +.placeholder-yuika-blue-700:-ms-input-placeholder { + color: #22558C; +} + +.placeholder-yuika-blue-700::-ms-input-placeholder { + color: #22558C; +} + +.placeholder-yuika-blue-700::placeholder { + color: #22558C; +} + +.placeholder-yuika-blue-800::-webkit-input-placeholder { + color: #173B6C; +} + +.placeholder-yuika-blue-800::-moz-placeholder { + color: #173B6C; +} + +.placeholder-yuika-blue-800:-ms-input-placeholder { + color: #173B6C; +} + +.placeholder-yuika-blue-800::-ms-input-placeholder { + color: #173B6C; +} + +.placeholder-yuika-blue-800::placeholder { + color: #173B6C; +} + +.placeholder-yuika-blue-900::-webkit-input-placeholder { + color: #0E254C; +} + +.placeholder-yuika-blue-900::-moz-placeholder { + color: #0E254C; +} + +.placeholder-yuika-blue-900:-ms-input-placeholder { + color: #0E254C; +} + +.placeholder-yuika-blue-900::-ms-input-placeholder { + color: #0E254C; +} + +.placeholder-yuika-blue-900::placeholder { + color: #0E254C; +} + .focus\:placeholder-transparent:focus::-webkit-input-placeholder { color: transparent; } @@ -9867,6 +10414,186 @@ h1 { color: #702459; } +.focus\:placeholder-yuika-blue-100:focus::-webkit-input-placeholder { + color: #C6E7F8; +} + +.focus\:placeholder-yuika-blue-100:focus::-moz-placeholder { + color: #C6E7F8; +} + +.focus\:placeholder-yuika-blue-100:focus:-ms-input-placeholder { + color: #C6E7F8; +} + +.focus\:placeholder-yuika-blue-100:focus::-ms-input-placeholder { + color: #C6E7F8; +} + +.focus\:placeholder-yuika-blue-100:focus::placeholder { + color: #C6E7F8; +} + +.focus\:placeholder-yuika-blue-200:focus::-webkit-input-placeholder { + color: #9FD3F0; +} + +.focus\:placeholder-yuika-blue-200:focus::-moz-placeholder { + color: #9FD3F0; +} + +.focus\:placeholder-yuika-blue-200:focus:-ms-input-placeholder { + color: #9FD3F0; +} + +.focus\:placeholder-yuika-blue-200:focus::-ms-input-placeholder { + color: #9FD3F0; +} + +.focus\:placeholder-yuika-blue-200:focus::placeholder { + color: #9FD3F0; +} + +.focus\:placeholder-yuika-blue-300:focus::-webkit-input-placeholder { + color: #7BBEE5; +} + +.focus\:placeholder-yuika-blue-300:focus::-moz-placeholder { + color: #7BBEE5; +} + +.focus\:placeholder-yuika-blue-300:focus:-ms-input-placeholder { + color: #7BBEE5; +} + +.focus\:placeholder-yuika-blue-300:focus::-ms-input-placeholder { + color: #7BBEE5; +} + +.focus\:placeholder-yuika-blue-300:focus::placeholder { + color: #7BBEE5; +} + +.focus\:placeholder-yuika-blue-400:focus::-webkit-input-placeholder { + color: #5AA7D7; +} + +.focus\:placeholder-yuika-blue-400:focus::-moz-placeholder { + color: #5AA7D7; +} + +.focus\:placeholder-yuika-blue-400:focus:-ms-input-placeholder { + color: #5AA7D7; +} + +.focus\:placeholder-yuika-blue-400:focus::-ms-input-placeholder { + color: #5AA7D7; +} + +.focus\:placeholder-yuika-blue-400:focus::placeholder { + color: #5AA7D7; +} + +.focus\:placeholder-yuika-blue-500:focus::-webkit-input-placeholder { + color: #3B90C6; +} + +.focus\:placeholder-yuika-blue-500:focus::-moz-placeholder { + color: #3B90C6; +} + +.focus\:placeholder-yuika-blue-500:focus:-ms-input-placeholder { + color: #3B90C6; +} + +.focus\:placeholder-yuika-blue-500:focus::-ms-input-placeholder { + color: #3B90C6; +} + +.focus\:placeholder-yuika-blue-500:focus::placeholder { + color: #3B90C6; +} + +.focus\:placeholder-yuika-blue-600:focus::-webkit-input-placeholder { + color: #2E72AA; +} + +.focus\:placeholder-yuika-blue-600:focus::-moz-placeholder { + color: #2E72AA; +} + +.focus\:placeholder-yuika-blue-600:focus:-ms-input-placeholder { + color: #2E72AA; +} + +.focus\:placeholder-yuika-blue-600:focus::-ms-input-placeholder { + color: #2E72AA; +} + +.focus\:placeholder-yuika-blue-600:focus::placeholder { + color: #2E72AA; +} + +.focus\:placeholder-yuika-blue-700:focus::-webkit-input-placeholder { + color: #22558C; +} + +.focus\:placeholder-yuika-blue-700:focus::-moz-placeholder { + color: #22558C; +} + +.focus\:placeholder-yuika-blue-700:focus:-ms-input-placeholder { + color: #22558C; +} + +.focus\:placeholder-yuika-blue-700:focus::-ms-input-placeholder { + color: #22558C; +} + +.focus\:placeholder-yuika-blue-700:focus::placeholder { + color: #22558C; +} + +.focus\:placeholder-yuika-blue-800:focus::-webkit-input-placeholder { + color: #173B6C; +} + +.focus\:placeholder-yuika-blue-800:focus::-moz-placeholder { + color: #173B6C; +} + +.focus\:placeholder-yuika-blue-800:focus:-ms-input-placeholder { + color: #173B6C; +} + +.focus\:placeholder-yuika-blue-800:focus::-ms-input-placeholder { + color: #173B6C; +} + +.focus\:placeholder-yuika-blue-800:focus::placeholder { + color: #173B6C; +} + +.focus\:placeholder-yuika-blue-900:focus::-webkit-input-placeholder { + color: #0E254C; +} + +.focus\:placeholder-yuika-blue-900:focus::-moz-placeholder { + color: #0E254C; +} + +.focus\:placeholder-yuika-blue-900:focus:-ms-input-placeholder { + color: #0E254C; +} + +.focus\:placeholder-yuika-blue-900:focus::-ms-input-placeholder { + color: #0E254C; +} + +.focus\:placeholder-yuika-blue-900:focus::placeholder { + color: #0E254C; +} + .pointer-events-none { pointer-events: none; } @@ -10478,6 +11205,42 @@ h1 { color: #702459; } +.text-yuika-blue-100 { + color: #C6E7F8; +} + +.text-yuika-blue-200 { + color: #9FD3F0; +} + +.text-yuika-blue-300 { + color: #7BBEE5; +} + +.text-yuika-blue-400 { + color: #5AA7D7; +} + +.text-yuika-blue-500 { + color: #3B90C6; +} + +.text-yuika-blue-600 { + color: #2E72AA; +} + +.text-yuika-blue-700 { + color: #22558C; +} + +.text-yuika-blue-800 { + color: #173B6C; +} + +.text-yuika-blue-900 { + color: #0E254C; +} + .hover\:text-transparent:hover { color: transparent; } @@ -10850,6 +11613,42 @@ h1 { color: #702459; } +.hover\:text-yuika-blue-100:hover { + color: #C6E7F8; +} + +.hover\:text-yuika-blue-200:hover { + color: #9FD3F0; +} + +.hover\:text-yuika-blue-300:hover { + color: #7BBEE5; +} + +.hover\:text-yuika-blue-400:hover { + color: #5AA7D7; +} + +.hover\:text-yuika-blue-500:hover { + color: #3B90C6; +} + +.hover\:text-yuika-blue-600:hover { + color: #2E72AA; +} + +.hover\:text-yuika-blue-700:hover { + color: #22558C; +} + +.hover\:text-yuika-blue-800:hover { + color: #173B6C; +} + +.hover\:text-yuika-blue-900:hover { + color: #0E254C; +} + .focus\:text-transparent:focus { color: transparent; } @@ -11222,6 +12021,42 @@ h1 { color: #702459; } +.focus\:text-yuika-blue-100:focus { + color: #C6E7F8; +} + +.focus\:text-yuika-blue-200:focus { + color: #9FD3F0; +} + +.focus\:text-yuika-blue-300:focus { + color: #7BBEE5; +} + +.focus\:text-yuika-blue-400:focus { + color: #5AA7D7; +} + +.focus\:text-yuika-blue-500:focus { + color: #3B90C6; +} + +.focus\:text-yuika-blue-600:focus { + color: #2E72AA; +} + +.focus\:text-yuika-blue-700:focus { + color: #22558C; +} + +.focus\:text-yuika-blue-800:focus { + color: #173B6C; +} + +.focus\:text-yuika-blue-900:focus { + color: #0E254C; +} + .text-xs { font-size: 0.75rem; } @@ -12112,6 +12947,42 @@ h1 { background-color: #702459; } + .sm\:bg-yuika-blue-100 { + background-color: #C6E7F8; + } + + .sm\:bg-yuika-blue-200 { + background-color: #9FD3F0; + } + + .sm\:bg-yuika-blue-300 { + background-color: #7BBEE5; + } + + .sm\:bg-yuika-blue-400 { + background-color: #5AA7D7; + } + + .sm\:bg-yuika-blue-500 { + background-color: #3B90C6; + } + + .sm\:bg-yuika-blue-600 { + background-color: #2E72AA; + } + + .sm\:bg-yuika-blue-700 { + background-color: #22558C; + } + + .sm\:bg-yuika-blue-800 { + background-color: #173B6C; + } + + .sm\:bg-yuika-blue-900 { + background-color: #0E254C; + } + .sm\:hover\:bg-transparent:hover { background-color: transparent; } @@ -12484,6 +13355,42 @@ h1 { background-color: #702459; } + .sm\:hover\:bg-yuika-blue-100:hover { + background-color: #C6E7F8; + } + + .sm\:hover\:bg-yuika-blue-200:hover { + background-color: #9FD3F0; + } + + .sm\:hover\:bg-yuika-blue-300:hover { + background-color: #7BBEE5; + } + + .sm\:hover\:bg-yuika-blue-400:hover { + background-color: #5AA7D7; + } + + .sm\:hover\:bg-yuika-blue-500:hover { + background-color: #3B90C6; + } + + .sm\:hover\:bg-yuika-blue-600:hover { + background-color: #2E72AA; + } + + .sm\:hover\:bg-yuika-blue-700:hover { + background-color: #22558C; + } + + .sm\:hover\:bg-yuika-blue-800:hover { + background-color: #173B6C; + } + + .sm\:hover\:bg-yuika-blue-900:hover { + background-color: #0E254C; + } + .sm\:focus\:bg-transparent:focus { background-color: transparent; } @@ -12856,6 +13763,42 @@ h1 { background-color: #702459; } + .sm\:focus\:bg-yuika-blue-100:focus { + background-color: #C6E7F8; + } + + .sm\:focus\:bg-yuika-blue-200:focus { + background-color: #9FD3F0; + } + + .sm\:focus\:bg-yuika-blue-300:focus { + background-color: #7BBEE5; + } + + .sm\:focus\:bg-yuika-blue-400:focus { + background-color: #5AA7D7; + } + + .sm\:focus\:bg-yuika-blue-500:focus { + background-color: #3B90C6; + } + + .sm\:focus\:bg-yuika-blue-600:focus { + background-color: #2E72AA; + } + + .sm\:focus\:bg-yuika-blue-700:focus { + background-color: #22558C; + } + + .sm\:focus\:bg-yuika-blue-800:focus { + background-color: #173B6C; + } + + .sm\:focus\:bg-yuika-blue-900:focus { + background-color: #0E254C; + } + .sm\:bg-bottom { background-position: bottom; } @@ -13308,6 +14251,42 @@ h1 { border-color: #702459; } + .sm\:border-yuika-blue-100 { + border-color: #C6E7F8; + } + + .sm\:border-yuika-blue-200 { + border-color: #9FD3F0; + } + + .sm\:border-yuika-blue-300 { + border-color: #7BBEE5; + } + + .sm\:border-yuika-blue-400 { + border-color: #5AA7D7; + } + + .sm\:border-yuika-blue-500 { + border-color: #3B90C6; + } + + .sm\:border-yuika-blue-600 { + border-color: #2E72AA; + } + + .sm\:border-yuika-blue-700 { + border-color: #22558C; + } + + .sm\:border-yuika-blue-800 { + border-color: #173B6C; + } + + .sm\:border-yuika-blue-900 { + border-color: #0E254C; + } + .sm\:hover\:border-transparent:hover { border-color: transparent; } @@ -13680,6 +14659,42 @@ h1 { border-color: #702459; } + .sm\:hover\:border-yuika-blue-100:hover { + border-color: #C6E7F8; + } + + .sm\:hover\:border-yuika-blue-200:hover { + border-color: #9FD3F0; + } + + .sm\:hover\:border-yuika-blue-300:hover { + border-color: #7BBEE5; + } + + .sm\:hover\:border-yuika-blue-400:hover { + border-color: #5AA7D7; + } + + .sm\:hover\:border-yuika-blue-500:hover { + border-color: #3B90C6; + } + + .sm\:hover\:border-yuika-blue-600:hover { + border-color: #2E72AA; + } + + .sm\:hover\:border-yuika-blue-700:hover { + border-color: #22558C; + } + + .sm\:hover\:border-yuika-blue-800:hover { + border-color: #173B6C; + } + + .sm\:hover\:border-yuika-blue-900:hover { + border-color: #0E254C; + } + .sm\:focus\:border-transparent:focus { border-color: transparent; } @@ -14052,6 +15067,42 @@ h1 { border-color: #702459; } + .sm\:focus\:border-yuika-blue-100:focus { + border-color: #C6E7F8; + } + + .sm\:focus\:border-yuika-blue-200:focus { + border-color: #9FD3F0; + } + + .sm\:focus\:border-yuika-blue-300:focus { + border-color: #7BBEE5; + } + + .sm\:focus\:border-yuika-blue-400:focus { + border-color: #5AA7D7; + } + + .sm\:focus\:border-yuika-blue-500:focus { + border-color: #3B90C6; + } + + .sm\:focus\:border-yuika-blue-600:focus { + border-color: #2E72AA; + } + + .sm\:focus\:border-yuika-blue-700:focus { + border-color: #22558C; + } + + .sm\:focus\:border-yuika-blue-800:focus { + border-color: #173B6C; + } + + .sm\:focus\:border-yuika-blue-900:focus { + border-color: #0E254C; + } + .sm\:rounded-none { border-radius: 0; } @@ -18782,6 +19833,186 @@ h1 { color: #702459; } + .sm\:placeholder-yuika-blue-100::-webkit-input-placeholder { + color: #C6E7F8; + } + + .sm\:placeholder-yuika-blue-100::-moz-placeholder { + color: #C6E7F8; + } + + .sm\:placeholder-yuika-blue-100:-ms-input-placeholder { + color: #C6E7F8; + } + + .sm\:placeholder-yuika-blue-100::-ms-input-placeholder { + color: #C6E7F8; + } + + .sm\:placeholder-yuika-blue-100::placeholder { + color: #C6E7F8; + } + + .sm\:placeholder-yuika-blue-200::-webkit-input-placeholder { + color: #9FD3F0; + } + + .sm\:placeholder-yuika-blue-200::-moz-placeholder { + color: #9FD3F0; + } + + .sm\:placeholder-yuika-blue-200:-ms-input-placeholder { + color: #9FD3F0; + } + + .sm\:placeholder-yuika-blue-200::-ms-input-placeholder { + color: #9FD3F0; + } + + .sm\:placeholder-yuika-blue-200::placeholder { + color: #9FD3F0; + } + + .sm\:placeholder-yuika-blue-300::-webkit-input-placeholder { + color: #7BBEE5; + } + + .sm\:placeholder-yuika-blue-300::-moz-placeholder { + color: #7BBEE5; + } + + .sm\:placeholder-yuika-blue-300:-ms-input-placeholder { + color: #7BBEE5; + } + + .sm\:placeholder-yuika-blue-300::-ms-input-placeholder { + color: #7BBEE5; + } + + .sm\:placeholder-yuika-blue-300::placeholder { + color: #7BBEE5; + } + + .sm\:placeholder-yuika-blue-400::-webkit-input-placeholder { + color: #5AA7D7; + } + + .sm\:placeholder-yuika-blue-400::-moz-placeholder { + color: #5AA7D7; + } + + .sm\:placeholder-yuika-blue-400:-ms-input-placeholder { + color: #5AA7D7; + } + + .sm\:placeholder-yuika-blue-400::-ms-input-placeholder { + color: #5AA7D7; + } + + .sm\:placeholder-yuika-blue-400::placeholder { + color: #5AA7D7; + } + + .sm\:placeholder-yuika-blue-500::-webkit-input-placeholder { + color: #3B90C6; + } + + .sm\:placeholder-yuika-blue-500::-moz-placeholder { + color: #3B90C6; + } + + .sm\:placeholder-yuika-blue-500:-ms-input-placeholder { + color: #3B90C6; + } + + .sm\:placeholder-yuika-blue-500::-ms-input-placeholder { + color: #3B90C6; + } + + .sm\:placeholder-yuika-blue-500::placeholder { + color: #3B90C6; + } + + .sm\:placeholder-yuika-blue-600::-webkit-input-placeholder { + color: #2E72AA; + } + + .sm\:placeholder-yuika-blue-600::-moz-placeholder { + color: #2E72AA; + } + + .sm\:placeholder-yuika-blue-600:-ms-input-placeholder { + color: #2E72AA; + } + + .sm\:placeholder-yuika-blue-600::-ms-input-placeholder { + color: #2E72AA; + } + + .sm\:placeholder-yuika-blue-600::placeholder { + color: #2E72AA; + } + + .sm\:placeholder-yuika-blue-700::-webkit-input-placeholder { + color: #22558C; + } + + .sm\:placeholder-yuika-blue-700::-moz-placeholder { + color: #22558C; + } + + .sm\:placeholder-yuika-blue-700:-ms-input-placeholder { + color: #22558C; + } + + .sm\:placeholder-yuika-blue-700::-ms-input-placeholder { + color: #22558C; + } + + .sm\:placeholder-yuika-blue-700::placeholder { + color: #22558C; + } + + .sm\:placeholder-yuika-blue-800::-webkit-input-placeholder { + color: #173B6C; + } + + .sm\:placeholder-yuika-blue-800::-moz-placeholder { + color: #173B6C; + } + + .sm\:placeholder-yuika-blue-800:-ms-input-placeholder { + color: #173B6C; + } + + .sm\:placeholder-yuika-blue-800::-ms-input-placeholder { + color: #173B6C; + } + + .sm\:placeholder-yuika-blue-800::placeholder { + color: #173B6C; + } + + .sm\:placeholder-yuika-blue-900::-webkit-input-placeholder { + color: #0E254C; + } + + .sm\:placeholder-yuika-blue-900::-moz-placeholder { + color: #0E254C; + } + + .sm\:placeholder-yuika-blue-900:-ms-input-placeholder { + color: #0E254C; + } + + .sm\:placeholder-yuika-blue-900::-ms-input-placeholder { + color: #0E254C; + } + + .sm\:placeholder-yuika-blue-900::placeholder { + color: #0E254C; + } + .sm\:focus\:placeholder-transparent:focus::-webkit-input-placeholder { color: transparent; } @@ -20642,6 +21873,186 @@ h1 { color: #702459; } + .sm\:focus\:placeholder-yuika-blue-100:focus::-webkit-input-placeholder { + color: #C6E7F8; + } + + .sm\:focus\:placeholder-yuika-blue-100:focus::-moz-placeholder { + color: #C6E7F8; + } + + .sm\:focus\:placeholder-yuika-blue-100:focus:-ms-input-placeholder { + color: #C6E7F8; + } + + .sm\:focus\:placeholder-yuika-blue-100:focus::-ms-input-placeholder { + color: #C6E7F8; + } + + .sm\:focus\:placeholder-yuika-blue-100:focus::placeholder { + color: #C6E7F8; + } + + .sm\:focus\:placeholder-yuika-blue-200:focus::-webkit-input-placeholder { + color: #9FD3F0; + } + + .sm\:focus\:placeholder-yuika-blue-200:focus::-moz-placeholder { + color: #9FD3F0; + } + + .sm\:focus\:placeholder-yuika-blue-200:focus:-ms-input-placeholder { + color: #9FD3F0; + } + + .sm\:focus\:placeholder-yuika-blue-200:focus::-ms-input-placeholder { + color: #9FD3F0; + } + + .sm\:focus\:placeholder-yuika-blue-200:focus::placeholder { + color: #9FD3F0; + } + + .sm\:focus\:placeholder-yuika-blue-300:focus::-webkit-input-placeholder { + color: #7BBEE5; + } + + .sm\:focus\:placeholder-yuika-blue-300:focus::-moz-placeholder { + color: #7BBEE5; + } + + .sm\:focus\:placeholder-yuika-blue-300:focus:-ms-input-placeholder { + color: #7BBEE5; + } + + .sm\:focus\:placeholder-yuika-blue-300:focus::-ms-input-placeholder { + color: #7BBEE5; + } + + .sm\:focus\:placeholder-yuika-blue-300:focus::placeholder { + color: #7BBEE5; + } + + .sm\:focus\:placeholder-yuika-blue-400:focus::-webkit-input-placeholder { + color: #5AA7D7; + } + + .sm\:focus\:placeholder-yuika-blue-400:focus::-moz-placeholder { + color: #5AA7D7; + } + + .sm\:focus\:placeholder-yuika-blue-400:focus:-ms-input-placeholder { + color: #5AA7D7; + } + + .sm\:focus\:placeholder-yuika-blue-400:focus::-ms-input-placeholder { + color: #5AA7D7; + } + + .sm\:focus\:placeholder-yuika-blue-400:focus::placeholder { + color: #5AA7D7; + } + + .sm\:focus\:placeholder-yuika-blue-500:focus::-webkit-input-placeholder { + color: #3B90C6; + } + + .sm\:focus\:placeholder-yuika-blue-500:focus::-moz-placeholder { + color: #3B90C6; + } + + .sm\:focus\:placeholder-yuika-blue-500:focus:-ms-input-placeholder { + color: #3B90C6; + } + + .sm\:focus\:placeholder-yuika-blue-500:focus::-ms-input-placeholder { + color: #3B90C6; + } + + .sm\:focus\:placeholder-yuika-blue-500:focus::placeholder { + color: #3B90C6; + } + + .sm\:focus\:placeholder-yuika-blue-600:focus::-webkit-input-placeholder { + color: #2E72AA; + } + + .sm\:focus\:placeholder-yuika-blue-600:focus::-moz-placeholder { + color: #2E72AA; + } + + .sm\:focus\:placeholder-yuika-blue-600:focus:-ms-input-placeholder { + color: #2E72AA; + } + + .sm\:focus\:placeholder-yuika-blue-600:focus::-ms-input-placeholder { + color: #2E72AA; + } + + .sm\:focus\:placeholder-yuika-blue-600:focus::placeholder { + color: #2E72AA; + } + + .sm\:focus\:placeholder-yuika-blue-700:focus::-webkit-input-placeholder { + color: #22558C; + } + + .sm\:focus\:placeholder-yuika-blue-700:focus::-moz-placeholder { + color: #22558C; + } + + .sm\:focus\:placeholder-yuika-blue-700:focus:-ms-input-placeholder { + color: #22558C; + } + + .sm\:focus\:placeholder-yuika-blue-700:focus::-ms-input-placeholder { + color: #22558C; + } + + .sm\:focus\:placeholder-yuika-blue-700:focus::placeholder { + color: #22558C; + } + + .sm\:focus\:placeholder-yuika-blue-800:focus::-webkit-input-placeholder { + color: #173B6C; + } + + .sm\:focus\:placeholder-yuika-blue-800:focus::-moz-placeholder { + color: #173B6C; + } + + .sm\:focus\:placeholder-yuika-blue-800:focus:-ms-input-placeholder { + color: #173B6C; + } + + .sm\:focus\:placeholder-yuika-blue-800:focus::-ms-input-placeholder { + color: #173B6C; + } + + .sm\:focus\:placeholder-yuika-blue-800:focus::placeholder { + color: #173B6C; + } + + .sm\:focus\:placeholder-yuika-blue-900:focus::-webkit-input-placeholder { + color: #0E254C; + } + + .sm\:focus\:placeholder-yuika-blue-900:focus::-moz-placeholder { + color: #0E254C; + } + + .sm\:focus\:placeholder-yuika-blue-900:focus:-ms-input-placeholder { + color: #0E254C; + } + + .sm\:focus\:placeholder-yuika-blue-900:focus::-ms-input-placeholder { + color: #0E254C; + } + + .sm\:focus\:placeholder-yuika-blue-900:focus::placeholder { + color: #0E254C; + } + .sm\:pointer-events-none { pointer-events: none; } @@ -21253,6 +22664,42 @@ h1 { color: #702459; } + .sm\:text-yuika-blue-100 { + color: #C6E7F8; + } + + .sm\:text-yuika-blue-200 { + color: #9FD3F0; + } + + .sm\:text-yuika-blue-300 { + color: #7BBEE5; + } + + .sm\:text-yuika-blue-400 { + color: #5AA7D7; + } + + .sm\:text-yuika-blue-500 { + color: #3B90C6; + } + + .sm\:text-yuika-blue-600 { + color: #2E72AA; + } + + .sm\:text-yuika-blue-700 { + color: #22558C; + } + + .sm\:text-yuika-blue-800 { + color: #173B6C; + } + + .sm\:text-yuika-blue-900 { + color: #0E254C; + } + .sm\:hover\:text-transparent:hover { color: transparent; } @@ -21625,6 +23072,42 @@ h1 { color: #702459; } + .sm\:hover\:text-yuika-blue-100:hover { + color: #C6E7F8; + } + + .sm\:hover\:text-yuika-blue-200:hover { + color: #9FD3F0; + } + + .sm\:hover\:text-yuika-blue-300:hover { + color: #7BBEE5; + } + + .sm\:hover\:text-yuika-blue-400:hover { + color: #5AA7D7; + } + + .sm\:hover\:text-yuika-blue-500:hover { + color: #3B90C6; + } + + .sm\:hover\:text-yuika-blue-600:hover { + color: #2E72AA; + } + + .sm\:hover\:text-yuika-blue-700:hover { + color: #22558C; + } + + .sm\:hover\:text-yuika-blue-800:hover { + color: #173B6C; + } + + .sm\:hover\:text-yuika-blue-900:hover { + color: #0E254C; + } + .sm\:focus\:text-transparent:focus { color: transparent; } @@ -21997,6 +23480,42 @@ h1 { color: #702459; } + .sm\:focus\:text-yuika-blue-100:focus { + color: #C6E7F8; + } + + .sm\:focus\:text-yuika-blue-200:focus { + color: #9FD3F0; + } + + .sm\:focus\:text-yuika-blue-300:focus { + color: #7BBEE5; + } + + .sm\:focus\:text-yuika-blue-400:focus { + color: #5AA7D7; + } + + .sm\:focus\:text-yuika-blue-500:focus { + color: #3B90C6; + } + + .sm\:focus\:text-yuika-blue-600:focus { + color: #2E72AA; + } + + .sm\:focus\:text-yuika-blue-700:focus { + color: #22558C; + } + + .sm\:focus\:text-yuika-blue-800:focus { + color: #173B6C; + } + + .sm\:focus\:text-yuika-blue-900:focus { + color: #0E254C; + } + .sm\:text-xs { font-size: 0.75rem; } @@ -22888,6 +24407,42 @@ h1 { background-color: #702459; } + .md\:bg-yuika-blue-100 { + background-color: #C6E7F8; + } + + .md\:bg-yuika-blue-200 { + background-color: #9FD3F0; + } + + .md\:bg-yuika-blue-300 { + background-color: #7BBEE5; + } + + .md\:bg-yuika-blue-400 { + background-color: #5AA7D7; + } + + .md\:bg-yuika-blue-500 { + background-color: #3B90C6; + } + + .md\:bg-yuika-blue-600 { + background-color: #2E72AA; + } + + .md\:bg-yuika-blue-700 { + background-color: #22558C; + } + + .md\:bg-yuika-blue-800 { + background-color: #173B6C; + } + + .md\:bg-yuika-blue-900 { + background-color: #0E254C; + } + .md\:hover\:bg-transparent:hover { background-color: transparent; } @@ -23260,6 +24815,42 @@ h1 { background-color: #702459; } + .md\:hover\:bg-yuika-blue-100:hover { + background-color: #C6E7F8; + } + + .md\:hover\:bg-yuika-blue-200:hover { + background-color: #9FD3F0; + } + + .md\:hover\:bg-yuika-blue-300:hover { + background-color: #7BBEE5; + } + + .md\:hover\:bg-yuika-blue-400:hover { + background-color: #5AA7D7; + } + + .md\:hover\:bg-yuika-blue-500:hover { + background-color: #3B90C6; + } + + .md\:hover\:bg-yuika-blue-600:hover { + background-color: #2E72AA; + } + + .md\:hover\:bg-yuika-blue-700:hover { + background-color: #22558C; + } + + .md\:hover\:bg-yuika-blue-800:hover { + background-color: #173B6C; + } + + .md\:hover\:bg-yuika-blue-900:hover { + background-color: #0E254C; + } + .md\:focus\:bg-transparent:focus { background-color: transparent; } @@ -23632,6 +25223,42 @@ h1 { background-color: #702459; } + .md\:focus\:bg-yuika-blue-100:focus { + background-color: #C6E7F8; + } + + .md\:focus\:bg-yuika-blue-200:focus { + background-color: #9FD3F0; + } + + .md\:focus\:bg-yuika-blue-300:focus { + background-color: #7BBEE5; + } + + .md\:focus\:bg-yuika-blue-400:focus { + background-color: #5AA7D7; + } + + .md\:focus\:bg-yuika-blue-500:focus { + background-color: #3B90C6; + } + + .md\:focus\:bg-yuika-blue-600:focus { + background-color: #2E72AA; + } + + .md\:focus\:bg-yuika-blue-700:focus { + background-color: #22558C; + } + + .md\:focus\:bg-yuika-blue-800:focus { + background-color: #173B6C; + } + + .md\:focus\:bg-yuika-blue-900:focus { + background-color: #0E254C; + } + .md\:bg-bottom { background-position: bottom; } @@ -24084,6 +25711,42 @@ h1 { border-color: #702459; } + .md\:border-yuika-blue-100 { + border-color: #C6E7F8; + } + + .md\:border-yuika-blue-200 { + border-color: #9FD3F0; + } + + .md\:border-yuika-blue-300 { + border-color: #7BBEE5; + } + + .md\:border-yuika-blue-400 { + border-color: #5AA7D7; + } + + .md\:border-yuika-blue-500 { + border-color: #3B90C6; + } + + .md\:border-yuika-blue-600 { + border-color: #2E72AA; + } + + .md\:border-yuika-blue-700 { + border-color: #22558C; + } + + .md\:border-yuika-blue-800 { + border-color: #173B6C; + } + + .md\:border-yuika-blue-900 { + border-color: #0E254C; + } + .md\:hover\:border-transparent:hover { border-color: transparent; } @@ -24456,6 +26119,42 @@ h1 { border-color: #702459; } + .md\:hover\:border-yuika-blue-100:hover { + border-color: #C6E7F8; + } + + .md\:hover\:border-yuika-blue-200:hover { + border-color: #9FD3F0; + } + + .md\:hover\:border-yuika-blue-300:hover { + border-color: #7BBEE5; + } + + .md\:hover\:border-yuika-blue-400:hover { + border-color: #5AA7D7; + } + + .md\:hover\:border-yuika-blue-500:hover { + border-color: #3B90C6; + } + + .md\:hover\:border-yuika-blue-600:hover { + border-color: #2E72AA; + } + + .md\:hover\:border-yuika-blue-700:hover { + border-color: #22558C; + } + + .md\:hover\:border-yuika-blue-800:hover { + border-color: #173B6C; + } + + .md\:hover\:border-yuika-blue-900:hover { + border-color: #0E254C; + } + .md\:focus\:border-transparent:focus { border-color: transparent; } @@ -24828,6 +26527,42 @@ h1 { border-color: #702459; } + .md\:focus\:border-yuika-blue-100:focus { + border-color: #C6E7F8; + } + + .md\:focus\:border-yuika-blue-200:focus { + border-color: #9FD3F0; + } + + .md\:focus\:border-yuika-blue-300:focus { + border-color: #7BBEE5; + } + + .md\:focus\:border-yuika-blue-400:focus { + border-color: #5AA7D7; + } + + .md\:focus\:border-yuika-blue-500:focus { + border-color: #3B90C6; + } + + .md\:focus\:border-yuika-blue-600:focus { + border-color: #2E72AA; + } + + .md\:focus\:border-yuika-blue-700:focus { + border-color: #22558C; + } + + .md\:focus\:border-yuika-blue-800:focus { + border-color: #173B6C; + } + + .md\:focus\:border-yuika-blue-900:focus { + border-color: #0E254C; + } + .md\:rounded-none { border-radius: 0; } @@ -29558,6 +31293,186 @@ h1 { color: #702459; } + .md\:placeholder-yuika-blue-100::-webkit-input-placeholder { + color: #C6E7F8; + } + + .md\:placeholder-yuika-blue-100::-moz-placeholder { + color: #C6E7F8; + } + + .md\:placeholder-yuika-blue-100:-ms-input-placeholder { + color: #C6E7F8; + } + + .md\:placeholder-yuika-blue-100::-ms-input-placeholder { + color: #C6E7F8; + } + + .md\:placeholder-yuika-blue-100::placeholder { + color: #C6E7F8; + } + + .md\:placeholder-yuika-blue-200::-webkit-input-placeholder { + color: #9FD3F0; + } + + .md\:placeholder-yuika-blue-200::-moz-placeholder { + color: #9FD3F0; + } + + .md\:placeholder-yuika-blue-200:-ms-input-placeholder { + color: #9FD3F0; + } + + .md\:placeholder-yuika-blue-200::-ms-input-placeholder { + color: #9FD3F0; + } + + .md\:placeholder-yuika-blue-200::placeholder { + color: #9FD3F0; + } + + .md\:placeholder-yuika-blue-300::-webkit-input-placeholder { + color: #7BBEE5; + } + + .md\:placeholder-yuika-blue-300::-moz-placeholder { + color: #7BBEE5; + } + + .md\:placeholder-yuika-blue-300:-ms-input-placeholder { + color: #7BBEE5; + } + + .md\:placeholder-yuika-blue-300::-ms-input-placeholder { + color: #7BBEE5; + } + + .md\:placeholder-yuika-blue-300::placeholder { + color: #7BBEE5; + } + + .md\:placeholder-yuika-blue-400::-webkit-input-placeholder { + color: #5AA7D7; + } + + .md\:placeholder-yuika-blue-400::-moz-placeholder { + color: #5AA7D7; + } + + .md\:placeholder-yuika-blue-400:-ms-input-placeholder { + color: #5AA7D7; + } + + .md\:placeholder-yuika-blue-400::-ms-input-placeholder { + color: #5AA7D7; + } + + .md\:placeholder-yuika-blue-400::placeholder { + color: #5AA7D7; + } + + .md\:placeholder-yuika-blue-500::-webkit-input-placeholder { + color: #3B90C6; + } + + .md\:placeholder-yuika-blue-500::-moz-placeholder { + color: #3B90C6; + } + + .md\:placeholder-yuika-blue-500:-ms-input-placeholder { + color: #3B90C6; + } + + .md\:placeholder-yuika-blue-500::-ms-input-placeholder { + color: #3B90C6; + } + + .md\:placeholder-yuika-blue-500::placeholder { + color: #3B90C6; + } + + .md\:placeholder-yuika-blue-600::-webkit-input-placeholder { + color: #2E72AA; + } + + .md\:placeholder-yuika-blue-600::-moz-placeholder { + color: #2E72AA; + } + + .md\:placeholder-yuika-blue-600:-ms-input-placeholder { + color: #2E72AA; + } + + .md\:placeholder-yuika-blue-600::-ms-input-placeholder { + color: #2E72AA; + } + + .md\:placeholder-yuika-blue-600::placeholder { + color: #2E72AA; + } + + .md\:placeholder-yuika-blue-700::-webkit-input-placeholder { + color: #22558C; + } + + .md\:placeholder-yuika-blue-700::-moz-placeholder { + color: #22558C; + } + + .md\:placeholder-yuika-blue-700:-ms-input-placeholder { + color: #22558C; + } + + .md\:placeholder-yuika-blue-700::-ms-input-placeholder { + color: #22558C; + } + + .md\:placeholder-yuika-blue-700::placeholder { + color: #22558C; + } + + .md\:placeholder-yuika-blue-800::-webkit-input-placeholder { + color: #173B6C; + } + + .md\:placeholder-yuika-blue-800::-moz-placeholder { + color: #173B6C; + } + + .md\:placeholder-yuika-blue-800:-ms-input-placeholder { + color: #173B6C; + } + + .md\:placeholder-yuika-blue-800::-ms-input-placeholder { + color: #173B6C; + } + + .md\:placeholder-yuika-blue-800::placeholder { + color: #173B6C; + } + + .md\:placeholder-yuika-blue-900::-webkit-input-placeholder { + color: #0E254C; + } + + .md\:placeholder-yuika-blue-900::-moz-placeholder { + color: #0E254C; + } + + .md\:placeholder-yuika-blue-900:-ms-input-placeholder { + color: #0E254C; + } + + .md\:placeholder-yuika-blue-900::-ms-input-placeholder { + color: #0E254C; + } + + .md\:placeholder-yuika-blue-900::placeholder { + color: #0E254C; + } + .md\:focus\:placeholder-transparent:focus::-webkit-input-placeholder { color: transparent; } @@ -31418,6 +33333,186 @@ h1 { color: #702459; } + .md\:focus\:placeholder-yuika-blue-100:focus::-webkit-input-placeholder { + color: #C6E7F8; + } + + .md\:focus\:placeholder-yuika-blue-100:focus::-moz-placeholder { + color: #C6E7F8; + } + + .md\:focus\:placeholder-yuika-blue-100:focus:-ms-input-placeholder { + color: #C6E7F8; + } + + .md\:focus\:placeholder-yuika-blue-100:focus::-ms-input-placeholder { + color: #C6E7F8; + } + + .md\:focus\:placeholder-yuika-blue-100:focus::placeholder { + color: #C6E7F8; + } + + .md\:focus\:placeholder-yuika-blue-200:focus::-webkit-input-placeholder { + color: #9FD3F0; + } + + .md\:focus\:placeholder-yuika-blue-200:focus::-moz-placeholder { + color: #9FD3F0; + } + + .md\:focus\:placeholder-yuika-blue-200:focus:-ms-input-placeholder { + color: #9FD3F0; + } + + .md\:focus\:placeholder-yuika-blue-200:focus::-ms-input-placeholder { + color: #9FD3F0; + } + + .md\:focus\:placeholder-yuika-blue-200:focus::placeholder { + color: #9FD3F0; + } + + .md\:focus\:placeholder-yuika-blue-300:focus::-webkit-input-placeholder { + color: #7BBEE5; + } + + .md\:focus\:placeholder-yuika-blue-300:focus::-moz-placeholder { + color: #7BBEE5; + } + + .md\:focus\:placeholder-yuika-blue-300:focus:-ms-input-placeholder { + color: #7BBEE5; + } + + .md\:focus\:placeholder-yuika-blue-300:focus::-ms-input-placeholder { + color: #7BBEE5; + } + + .md\:focus\:placeholder-yuika-blue-300:focus::placeholder { + color: #7BBEE5; + } + + .md\:focus\:placeholder-yuika-blue-400:focus::-webkit-input-placeholder { + color: #5AA7D7; + } + + .md\:focus\:placeholder-yuika-blue-400:focus::-moz-placeholder { + color: #5AA7D7; + } + + .md\:focus\:placeholder-yuika-blue-400:focus:-ms-input-placeholder { + color: #5AA7D7; + } + + .md\:focus\:placeholder-yuika-blue-400:focus::-ms-input-placeholder { + color: #5AA7D7; + } + + .md\:focus\:placeholder-yuika-blue-400:focus::placeholder { + color: #5AA7D7; + } + + .md\:focus\:placeholder-yuika-blue-500:focus::-webkit-input-placeholder { + color: #3B90C6; + } + + .md\:focus\:placeholder-yuika-blue-500:focus::-moz-placeholder { + color: #3B90C6; + } + + .md\:focus\:placeholder-yuika-blue-500:focus:-ms-input-placeholder { + color: #3B90C6; + } + + .md\:focus\:placeholder-yuika-blue-500:focus::-ms-input-placeholder { + color: #3B90C6; + } + + .md\:focus\:placeholder-yuika-blue-500:focus::placeholder { + color: #3B90C6; + } + + .md\:focus\:placeholder-yuika-blue-600:focus::-webkit-input-placeholder { + color: #2E72AA; + } + + .md\:focus\:placeholder-yuika-blue-600:focus::-moz-placeholder { + color: #2E72AA; + } + + .md\:focus\:placeholder-yuika-blue-600:focus:-ms-input-placeholder { + color: #2E72AA; + } + + .md\:focus\:placeholder-yuika-blue-600:focus::-ms-input-placeholder { + color: #2E72AA; + } + + .md\:focus\:placeholder-yuika-blue-600:focus::placeholder { + color: #2E72AA; + } + + .md\:focus\:placeholder-yuika-blue-700:focus::-webkit-input-placeholder { + color: #22558C; + } + + .md\:focus\:placeholder-yuika-blue-700:focus::-moz-placeholder { + color: #22558C; + } + + .md\:focus\:placeholder-yuika-blue-700:focus:-ms-input-placeholder { + color: #22558C; + } + + .md\:focus\:placeholder-yuika-blue-700:focus::-ms-input-placeholder { + color: #22558C; + } + + .md\:focus\:placeholder-yuika-blue-700:focus::placeholder { + color: #22558C; + } + + .md\:focus\:placeholder-yuika-blue-800:focus::-webkit-input-placeholder { + color: #173B6C; + } + + .md\:focus\:placeholder-yuika-blue-800:focus::-moz-placeholder { + color: #173B6C; + } + + .md\:focus\:placeholder-yuika-blue-800:focus:-ms-input-placeholder { + color: #173B6C; + } + + .md\:focus\:placeholder-yuika-blue-800:focus::-ms-input-placeholder { + color: #173B6C; + } + + .md\:focus\:placeholder-yuika-blue-800:focus::placeholder { + color: #173B6C; + } + + .md\:focus\:placeholder-yuika-blue-900:focus::-webkit-input-placeholder { + color: #0E254C; + } + + .md\:focus\:placeholder-yuika-blue-900:focus::-moz-placeholder { + color: #0E254C; + } + + .md\:focus\:placeholder-yuika-blue-900:focus:-ms-input-placeholder { + color: #0E254C; + } + + .md\:focus\:placeholder-yuika-blue-900:focus::-ms-input-placeholder { + color: #0E254C; + } + + .md\:focus\:placeholder-yuika-blue-900:focus::placeholder { + color: #0E254C; + } + .md\:pointer-events-none { pointer-events: none; } @@ -32029,6 +34124,42 @@ h1 { color: #702459; } + .md\:text-yuika-blue-100 { + color: #C6E7F8; + } + + .md\:text-yuika-blue-200 { + color: #9FD3F0; + } + + .md\:text-yuika-blue-300 { + color: #7BBEE5; + } + + .md\:text-yuika-blue-400 { + color: #5AA7D7; + } + + .md\:text-yuika-blue-500 { + color: #3B90C6; + } + + .md\:text-yuika-blue-600 { + color: #2E72AA; + } + + .md\:text-yuika-blue-700 { + color: #22558C; + } + + .md\:text-yuika-blue-800 { + color: #173B6C; + } + + .md\:text-yuika-blue-900 { + color: #0E254C; + } + .md\:hover\:text-transparent:hover { color: transparent; } @@ -32401,6 +34532,42 @@ h1 { color: #702459; } + .md\:hover\:text-yuika-blue-100:hover { + color: #C6E7F8; + } + + .md\:hover\:text-yuika-blue-200:hover { + color: #9FD3F0; + } + + .md\:hover\:text-yuika-blue-300:hover { + color: #7BBEE5; + } + + .md\:hover\:text-yuika-blue-400:hover { + color: #5AA7D7; + } + + .md\:hover\:text-yuika-blue-500:hover { + color: #3B90C6; + } + + .md\:hover\:text-yuika-blue-600:hover { + color: #2E72AA; + } + + .md\:hover\:text-yuika-blue-700:hover { + color: #22558C; + } + + .md\:hover\:text-yuika-blue-800:hover { + color: #173B6C; + } + + .md\:hover\:text-yuika-blue-900:hover { + color: #0E254C; + } + .md\:focus\:text-transparent:focus { color: transparent; } @@ -32773,6 +34940,42 @@ h1 { color: #702459; } + .md\:focus\:text-yuika-blue-100:focus { + color: #C6E7F8; + } + + .md\:focus\:text-yuika-blue-200:focus { + color: #9FD3F0; + } + + .md\:focus\:text-yuika-blue-300:focus { + color: #7BBEE5; + } + + .md\:focus\:text-yuika-blue-400:focus { + color: #5AA7D7; + } + + .md\:focus\:text-yuika-blue-500:focus { + color: #3B90C6; + } + + .md\:focus\:text-yuika-blue-600:focus { + color: #2E72AA; + } + + .md\:focus\:text-yuika-blue-700:focus { + color: #22558C; + } + + .md\:focus\:text-yuika-blue-800:focus { + color: #173B6C; + } + + .md\:focus\:text-yuika-blue-900:focus { + color: #0E254C; + } + .md\:text-xs { font-size: 0.75rem; } @@ -33664,6 +35867,42 @@ h1 { background-color: #702459; } + .lg\:bg-yuika-blue-100 { + background-color: #C6E7F8; + } + + .lg\:bg-yuika-blue-200 { + background-color: #9FD3F0; + } + + .lg\:bg-yuika-blue-300 { + background-color: #7BBEE5; + } + + .lg\:bg-yuika-blue-400 { + background-color: #5AA7D7; + } + + .lg\:bg-yuika-blue-500 { + background-color: #3B90C6; + } + + .lg\:bg-yuika-blue-600 { + background-color: #2E72AA; + } + + .lg\:bg-yuika-blue-700 { + background-color: #22558C; + } + + .lg\:bg-yuika-blue-800 { + background-color: #173B6C; + } + + .lg\:bg-yuika-blue-900 { + background-color: #0E254C; + } + .lg\:hover\:bg-transparent:hover { background-color: transparent; } @@ -34036,6 +36275,42 @@ h1 { background-color: #702459; } + .lg\:hover\:bg-yuika-blue-100:hover { + background-color: #C6E7F8; + } + + .lg\:hover\:bg-yuika-blue-200:hover { + background-color: #9FD3F0; + } + + .lg\:hover\:bg-yuika-blue-300:hover { + background-color: #7BBEE5; + } + + .lg\:hover\:bg-yuika-blue-400:hover { + background-color: #5AA7D7; + } + + .lg\:hover\:bg-yuika-blue-500:hover { + background-color: #3B90C6; + } + + .lg\:hover\:bg-yuika-blue-600:hover { + background-color: #2E72AA; + } + + .lg\:hover\:bg-yuika-blue-700:hover { + background-color: #22558C; + } + + .lg\:hover\:bg-yuika-blue-800:hover { + background-color: #173B6C; + } + + .lg\:hover\:bg-yuika-blue-900:hover { + background-color: #0E254C; + } + .lg\:focus\:bg-transparent:focus { background-color: transparent; } @@ -34408,6 +36683,42 @@ h1 { background-color: #702459; } + .lg\:focus\:bg-yuika-blue-100:focus { + background-color: #C6E7F8; + } + + .lg\:focus\:bg-yuika-blue-200:focus { + background-color: #9FD3F0; + } + + .lg\:focus\:bg-yuika-blue-300:focus { + background-color: #7BBEE5; + } + + .lg\:focus\:bg-yuika-blue-400:focus { + background-color: #5AA7D7; + } + + .lg\:focus\:bg-yuika-blue-500:focus { + background-color: #3B90C6; + } + + .lg\:focus\:bg-yuika-blue-600:focus { + background-color: #2E72AA; + } + + .lg\:focus\:bg-yuika-blue-700:focus { + background-color: #22558C; + } + + .lg\:focus\:bg-yuika-blue-800:focus { + background-color: #173B6C; + } + + .lg\:focus\:bg-yuika-blue-900:focus { + background-color: #0E254C; + } + .lg\:bg-bottom { background-position: bottom; } @@ -34860,6 +37171,42 @@ h1 { border-color: #702459; } + .lg\:border-yuika-blue-100 { + border-color: #C6E7F8; + } + + .lg\:border-yuika-blue-200 { + border-color: #9FD3F0; + } + + .lg\:border-yuika-blue-300 { + border-color: #7BBEE5; + } + + .lg\:border-yuika-blue-400 { + border-color: #5AA7D7; + } + + .lg\:border-yuika-blue-500 { + border-color: #3B90C6; + } + + .lg\:border-yuika-blue-600 { + border-color: #2E72AA; + } + + .lg\:border-yuika-blue-700 { + border-color: #22558C; + } + + .lg\:border-yuika-blue-800 { + border-color: #173B6C; + } + + .lg\:border-yuika-blue-900 { + border-color: #0E254C; + } + .lg\:hover\:border-transparent:hover { border-color: transparent; } @@ -35232,6 +37579,42 @@ h1 { border-color: #702459; } + .lg\:hover\:border-yuika-blue-100:hover { + border-color: #C6E7F8; + } + + .lg\:hover\:border-yuika-blue-200:hover { + border-color: #9FD3F0; + } + + .lg\:hover\:border-yuika-blue-300:hover { + border-color: #7BBEE5; + } + + .lg\:hover\:border-yuika-blue-400:hover { + border-color: #5AA7D7; + } + + .lg\:hover\:border-yuika-blue-500:hover { + border-color: #3B90C6; + } + + .lg\:hover\:border-yuika-blue-600:hover { + border-color: #2E72AA; + } + + .lg\:hover\:border-yuika-blue-700:hover { + border-color: #22558C; + } + + .lg\:hover\:border-yuika-blue-800:hover { + border-color: #173B6C; + } + + .lg\:hover\:border-yuika-blue-900:hover { + border-color: #0E254C; + } + .lg\:focus\:border-transparent:focus { border-color: transparent; } @@ -35604,6 +37987,42 @@ h1 { border-color: #702459; } + .lg\:focus\:border-yuika-blue-100:focus { + border-color: #C6E7F8; + } + + .lg\:focus\:border-yuika-blue-200:focus { + border-color: #9FD3F0; + } + + .lg\:focus\:border-yuika-blue-300:focus { + border-color: #7BBEE5; + } + + .lg\:focus\:border-yuika-blue-400:focus { + border-color: #5AA7D7; + } + + .lg\:focus\:border-yuika-blue-500:focus { + border-color: #3B90C6; + } + + .lg\:focus\:border-yuika-blue-600:focus { + border-color: #2E72AA; + } + + .lg\:focus\:border-yuika-blue-700:focus { + border-color: #22558C; + } + + .lg\:focus\:border-yuika-blue-800:focus { + border-color: #173B6C; + } + + .lg\:focus\:border-yuika-blue-900:focus { + border-color: #0E254C; + } + .lg\:rounded-none { border-radius: 0; } @@ -40334,6 +42753,186 @@ h1 { color: #702459; } + .lg\:placeholder-yuika-blue-100::-webkit-input-placeholder { + color: #C6E7F8; + } + + .lg\:placeholder-yuika-blue-100::-moz-placeholder { + color: #C6E7F8; + } + + .lg\:placeholder-yuika-blue-100:-ms-input-placeholder { + color: #C6E7F8; + } + + .lg\:placeholder-yuika-blue-100::-ms-input-placeholder { + color: #C6E7F8; + } + + .lg\:placeholder-yuika-blue-100::placeholder { + color: #C6E7F8; + } + + .lg\:placeholder-yuika-blue-200::-webkit-input-placeholder { + color: #9FD3F0; + } + + .lg\:placeholder-yuika-blue-200::-moz-placeholder { + color: #9FD3F0; + } + + .lg\:placeholder-yuika-blue-200:-ms-input-placeholder { + color: #9FD3F0; + } + + .lg\:placeholder-yuika-blue-200::-ms-input-placeholder { + color: #9FD3F0; + } + + .lg\:placeholder-yuika-blue-200::placeholder { + color: #9FD3F0; + } + + .lg\:placeholder-yuika-blue-300::-webkit-input-placeholder { + color: #7BBEE5; + } + + .lg\:placeholder-yuika-blue-300::-moz-placeholder { + color: #7BBEE5; + } + + .lg\:placeholder-yuika-blue-300:-ms-input-placeholder { + color: #7BBEE5; + } + + .lg\:placeholder-yuika-blue-300::-ms-input-placeholder { + color: #7BBEE5; + } + + .lg\:placeholder-yuika-blue-300::placeholder { + color: #7BBEE5; + } + + .lg\:placeholder-yuika-blue-400::-webkit-input-placeholder { + color: #5AA7D7; + } + + .lg\:placeholder-yuika-blue-400::-moz-placeholder { + color: #5AA7D7; + } + + .lg\:placeholder-yuika-blue-400:-ms-input-placeholder { + color: #5AA7D7; + } + + .lg\:placeholder-yuika-blue-400::-ms-input-placeholder { + color: #5AA7D7; + } + + .lg\:placeholder-yuika-blue-400::placeholder { + color: #5AA7D7; + } + + .lg\:placeholder-yuika-blue-500::-webkit-input-placeholder { + color: #3B90C6; + } + + .lg\:placeholder-yuika-blue-500::-moz-placeholder { + color: #3B90C6; + } + + .lg\:placeholder-yuika-blue-500:-ms-input-placeholder { + color: #3B90C6; + } + + .lg\:placeholder-yuika-blue-500::-ms-input-placeholder { + color: #3B90C6; + } + + .lg\:placeholder-yuika-blue-500::placeholder { + color: #3B90C6; + } + + .lg\:placeholder-yuika-blue-600::-webkit-input-placeholder { + color: #2E72AA; + } + + .lg\:placeholder-yuika-blue-600::-moz-placeholder { + color: #2E72AA; + } + + .lg\:placeholder-yuika-blue-600:-ms-input-placeholder { + color: #2E72AA; + } + + .lg\:placeholder-yuika-blue-600::-ms-input-placeholder { + color: #2E72AA; + } + + .lg\:placeholder-yuika-blue-600::placeholder { + color: #2E72AA; + } + + .lg\:placeholder-yuika-blue-700::-webkit-input-placeholder { + color: #22558C; + } + + .lg\:placeholder-yuika-blue-700::-moz-placeholder { + color: #22558C; + } + + .lg\:placeholder-yuika-blue-700:-ms-input-placeholder { + color: #22558C; + } + + .lg\:placeholder-yuika-blue-700::-ms-input-placeholder { + color: #22558C; + } + + .lg\:placeholder-yuika-blue-700::placeholder { + color: #22558C; + } + + .lg\:placeholder-yuika-blue-800::-webkit-input-placeholder { + color: #173B6C; + } + + .lg\:placeholder-yuika-blue-800::-moz-placeholder { + color: #173B6C; + } + + .lg\:placeholder-yuika-blue-800:-ms-input-placeholder { + color: #173B6C; + } + + .lg\:placeholder-yuika-blue-800::-ms-input-placeholder { + color: #173B6C; + } + + .lg\:placeholder-yuika-blue-800::placeholder { + color: #173B6C; + } + + .lg\:placeholder-yuika-blue-900::-webkit-input-placeholder { + color: #0E254C; + } + + .lg\:placeholder-yuika-blue-900::-moz-placeholder { + color: #0E254C; + } + + .lg\:placeholder-yuika-blue-900:-ms-input-placeholder { + color: #0E254C; + } + + .lg\:placeholder-yuika-blue-900::-ms-input-placeholder { + color: #0E254C; + } + + .lg\:placeholder-yuika-blue-900::placeholder { + color: #0E254C; + } + .lg\:focus\:placeholder-transparent:focus::-webkit-input-placeholder { color: transparent; } @@ -42194,6 +44793,186 @@ h1 { color: #702459; } + .lg\:focus\:placeholder-yuika-blue-100:focus::-webkit-input-placeholder { + color: #C6E7F8; + } + + .lg\:focus\:placeholder-yuika-blue-100:focus::-moz-placeholder { + color: #C6E7F8; + } + + .lg\:focus\:placeholder-yuika-blue-100:focus:-ms-input-placeholder { + color: #C6E7F8; + } + + .lg\:focus\:placeholder-yuika-blue-100:focus::-ms-input-placeholder { + color: #C6E7F8; + } + + .lg\:focus\:placeholder-yuika-blue-100:focus::placeholder { + color: #C6E7F8; + } + + .lg\:focus\:placeholder-yuika-blue-200:focus::-webkit-input-placeholder { + color: #9FD3F0; + } + + .lg\:focus\:placeholder-yuika-blue-200:focus::-moz-placeholder { + color: #9FD3F0; + } + + .lg\:focus\:placeholder-yuika-blue-200:focus:-ms-input-placeholder { + color: #9FD3F0; + } + + .lg\:focus\:placeholder-yuika-blue-200:focus::-ms-input-placeholder { + color: #9FD3F0; + } + + .lg\:focus\:placeholder-yuika-blue-200:focus::placeholder { + color: #9FD3F0; + } + + .lg\:focus\:placeholder-yuika-blue-300:focus::-webkit-input-placeholder { + color: #7BBEE5; + } + + .lg\:focus\:placeholder-yuika-blue-300:focus::-moz-placeholder { + color: #7BBEE5; + } + + .lg\:focus\:placeholder-yuika-blue-300:focus:-ms-input-placeholder { + color: #7BBEE5; + } + + .lg\:focus\:placeholder-yuika-blue-300:focus::-ms-input-placeholder { + color: #7BBEE5; + } + + .lg\:focus\:placeholder-yuika-blue-300:focus::placeholder { + color: #7BBEE5; + } + + .lg\:focus\:placeholder-yuika-blue-400:focus::-webkit-input-placeholder { + color: #5AA7D7; + } + + .lg\:focus\:placeholder-yuika-blue-400:focus::-moz-placeholder { + color: #5AA7D7; + } + + .lg\:focus\:placeholder-yuika-blue-400:focus:-ms-input-placeholder { + color: #5AA7D7; + } + + .lg\:focus\:placeholder-yuika-blue-400:focus::-ms-input-placeholder { + color: #5AA7D7; + } + + .lg\:focus\:placeholder-yuika-blue-400:focus::placeholder { + color: #5AA7D7; + } + + .lg\:focus\:placeholder-yuika-blue-500:focus::-webkit-input-placeholder { + color: #3B90C6; + } + + .lg\:focus\:placeholder-yuika-blue-500:focus::-moz-placeholder { + color: #3B90C6; + } + + .lg\:focus\:placeholder-yuika-blue-500:focus:-ms-input-placeholder { + color: #3B90C6; + } + + .lg\:focus\:placeholder-yuika-blue-500:focus::-ms-input-placeholder { + color: #3B90C6; + } + + .lg\:focus\:placeholder-yuika-blue-500:focus::placeholder { + color: #3B90C6; + } + + .lg\:focus\:placeholder-yuika-blue-600:focus::-webkit-input-placeholder { + color: #2E72AA; + } + + .lg\:focus\:placeholder-yuika-blue-600:focus::-moz-placeholder { + color: #2E72AA; + } + + .lg\:focus\:placeholder-yuika-blue-600:focus:-ms-input-placeholder { + color: #2E72AA; + } + + .lg\:focus\:placeholder-yuika-blue-600:focus::-ms-input-placeholder { + color: #2E72AA; + } + + .lg\:focus\:placeholder-yuika-blue-600:focus::placeholder { + color: #2E72AA; + } + + .lg\:focus\:placeholder-yuika-blue-700:focus::-webkit-input-placeholder { + color: #22558C; + } + + .lg\:focus\:placeholder-yuika-blue-700:focus::-moz-placeholder { + color: #22558C; + } + + .lg\:focus\:placeholder-yuika-blue-700:focus:-ms-input-placeholder { + color: #22558C; + } + + .lg\:focus\:placeholder-yuika-blue-700:focus::-ms-input-placeholder { + color: #22558C; + } + + .lg\:focus\:placeholder-yuika-blue-700:focus::placeholder { + color: #22558C; + } + + .lg\:focus\:placeholder-yuika-blue-800:focus::-webkit-input-placeholder { + color: #173B6C; + } + + .lg\:focus\:placeholder-yuika-blue-800:focus::-moz-placeholder { + color: #173B6C; + } + + .lg\:focus\:placeholder-yuika-blue-800:focus:-ms-input-placeholder { + color: #173B6C; + } + + .lg\:focus\:placeholder-yuika-blue-800:focus::-ms-input-placeholder { + color: #173B6C; + } + + .lg\:focus\:placeholder-yuika-blue-800:focus::placeholder { + color: #173B6C; + } + + .lg\:focus\:placeholder-yuika-blue-900:focus::-webkit-input-placeholder { + color: #0E254C; + } + + .lg\:focus\:placeholder-yuika-blue-900:focus::-moz-placeholder { + color: #0E254C; + } + + .lg\:focus\:placeholder-yuika-blue-900:focus:-ms-input-placeholder { + color: #0E254C; + } + + .lg\:focus\:placeholder-yuika-blue-900:focus::-ms-input-placeholder { + color: #0E254C; + } + + .lg\:focus\:placeholder-yuika-blue-900:focus::placeholder { + color: #0E254C; + } + .lg\:pointer-events-none { pointer-events: none; } @@ -42805,6 +45584,42 @@ h1 { color: #702459; } + .lg\:text-yuika-blue-100 { + color: #C6E7F8; + } + + .lg\:text-yuika-blue-200 { + color: #9FD3F0; + } + + .lg\:text-yuika-blue-300 { + color: #7BBEE5; + } + + .lg\:text-yuika-blue-400 { + color: #5AA7D7; + } + + .lg\:text-yuika-blue-500 { + color: #3B90C6; + } + + .lg\:text-yuika-blue-600 { + color: #2E72AA; + } + + .lg\:text-yuika-blue-700 { + color: #22558C; + } + + .lg\:text-yuika-blue-800 { + color: #173B6C; + } + + .lg\:text-yuika-blue-900 { + color: #0E254C; + } + .lg\:hover\:text-transparent:hover { color: transparent; } @@ -43177,6 +45992,42 @@ h1 { color: #702459; } + .lg\:hover\:text-yuika-blue-100:hover { + color: #C6E7F8; + } + + .lg\:hover\:text-yuika-blue-200:hover { + color: #9FD3F0; + } + + .lg\:hover\:text-yuika-blue-300:hover { + color: #7BBEE5; + } + + .lg\:hover\:text-yuika-blue-400:hover { + color: #5AA7D7; + } + + .lg\:hover\:text-yuika-blue-500:hover { + color: #3B90C6; + } + + .lg\:hover\:text-yuika-blue-600:hover { + color: #2E72AA; + } + + .lg\:hover\:text-yuika-blue-700:hover { + color: #22558C; + } + + .lg\:hover\:text-yuika-blue-800:hover { + color: #173B6C; + } + + .lg\:hover\:text-yuika-blue-900:hover { + color: #0E254C; + } + .lg\:focus\:text-transparent:focus { color: transparent; } @@ -43549,6 +46400,42 @@ h1 { color: #702459; } + .lg\:focus\:text-yuika-blue-100:focus { + color: #C6E7F8; + } + + .lg\:focus\:text-yuika-blue-200:focus { + color: #9FD3F0; + } + + .lg\:focus\:text-yuika-blue-300:focus { + color: #7BBEE5; + } + + .lg\:focus\:text-yuika-blue-400:focus { + color: #5AA7D7; + } + + .lg\:focus\:text-yuika-blue-500:focus { + color: #3B90C6; + } + + .lg\:focus\:text-yuika-blue-600:focus { + color: #2E72AA; + } + + .lg\:focus\:text-yuika-blue-700:focus { + color: #22558C; + } + + .lg\:focus\:text-yuika-blue-800:focus { + color: #173B6C; + } + + .lg\:focus\:text-yuika-blue-900:focus { + color: #0E254C; + } + .lg\:text-xs { font-size: 0.75rem; } @@ -44440,6 +47327,42 @@ h1 { background-color: #702459; } + .xl\:bg-yuika-blue-100 { + background-color: #C6E7F8; + } + + .xl\:bg-yuika-blue-200 { + background-color: #9FD3F0; + } + + .xl\:bg-yuika-blue-300 { + background-color: #7BBEE5; + } + + .xl\:bg-yuika-blue-400 { + background-color: #5AA7D7; + } + + .xl\:bg-yuika-blue-500 { + background-color: #3B90C6; + } + + .xl\:bg-yuika-blue-600 { + background-color: #2E72AA; + } + + .xl\:bg-yuika-blue-700 { + background-color: #22558C; + } + + .xl\:bg-yuika-blue-800 { + background-color: #173B6C; + } + + .xl\:bg-yuika-blue-900 { + background-color: #0E254C; + } + .xl\:hover\:bg-transparent:hover { background-color: transparent; } @@ -44812,6 +47735,42 @@ h1 { background-color: #702459; } + .xl\:hover\:bg-yuika-blue-100:hover { + background-color: #C6E7F8; + } + + .xl\:hover\:bg-yuika-blue-200:hover { + background-color: #9FD3F0; + } + + .xl\:hover\:bg-yuika-blue-300:hover { + background-color: #7BBEE5; + } + + .xl\:hover\:bg-yuika-blue-400:hover { + background-color: #5AA7D7; + } + + .xl\:hover\:bg-yuika-blue-500:hover { + background-color: #3B90C6; + } + + .xl\:hover\:bg-yuika-blue-600:hover { + background-color: #2E72AA; + } + + .xl\:hover\:bg-yuika-blue-700:hover { + background-color: #22558C; + } + + .xl\:hover\:bg-yuika-blue-800:hover { + background-color: #173B6C; + } + + .xl\:hover\:bg-yuika-blue-900:hover { + background-color: #0E254C; + } + .xl\:focus\:bg-transparent:focus { background-color: transparent; } @@ -45184,6 +48143,42 @@ h1 { background-color: #702459; } + .xl\:focus\:bg-yuika-blue-100:focus { + background-color: #C6E7F8; + } + + .xl\:focus\:bg-yuika-blue-200:focus { + background-color: #9FD3F0; + } + + .xl\:focus\:bg-yuika-blue-300:focus { + background-color: #7BBEE5; + } + + .xl\:focus\:bg-yuika-blue-400:focus { + background-color: #5AA7D7; + } + + .xl\:focus\:bg-yuika-blue-500:focus { + background-color: #3B90C6; + } + + .xl\:focus\:bg-yuika-blue-600:focus { + background-color: #2E72AA; + } + + .xl\:focus\:bg-yuika-blue-700:focus { + background-color: #22558C; + } + + .xl\:focus\:bg-yuika-blue-800:focus { + background-color: #173B6C; + } + + .xl\:focus\:bg-yuika-blue-900:focus { + background-color: #0E254C; + } + .xl\:bg-bottom { background-position: bottom; } @@ -45636,6 +48631,42 @@ h1 { border-color: #702459; } + .xl\:border-yuika-blue-100 { + border-color: #C6E7F8; + } + + .xl\:border-yuika-blue-200 { + border-color: #9FD3F0; + } + + .xl\:border-yuika-blue-300 { + border-color: #7BBEE5; + } + + .xl\:border-yuika-blue-400 { + border-color: #5AA7D7; + } + + .xl\:border-yuika-blue-500 { + border-color: #3B90C6; + } + + .xl\:border-yuika-blue-600 { + border-color: #2E72AA; + } + + .xl\:border-yuika-blue-700 { + border-color: #22558C; + } + + .xl\:border-yuika-blue-800 { + border-color: #173B6C; + } + + .xl\:border-yuika-blue-900 { + border-color: #0E254C; + } + .xl\:hover\:border-transparent:hover { border-color: transparent; } @@ -46008,6 +49039,42 @@ h1 { border-color: #702459; } + .xl\:hover\:border-yuika-blue-100:hover { + border-color: #C6E7F8; + } + + .xl\:hover\:border-yuika-blue-200:hover { + border-color: #9FD3F0; + } + + .xl\:hover\:border-yuika-blue-300:hover { + border-color: #7BBEE5; + } + + .xl\:hover\:border-yuika-blue-400:hover { + border-color: #5AA7D7; + } + + .xl\:hover\:border-yuika-blue-500:hover { + border-color: #3B90C6; + } + + .xl\:hover\:border-yuika-blue-600:hover { + border-color: #2E72AA; + } + + .xl\:hover\:border-yuika-blue-700:hover { + border-color: #22558C; + } + + .xl\:hover\:border-yuika-blue-800:hover { + border-color: #173B6C; + } + + .xl\:hover\:border-yuika-blue-900:hover { + border-color: #0E254C; + } + .xl\:focus\:border-transparent:focus { border-color: transparent; } @@ -46380,6 +49447,42 @@ h1 { border-color: #702459; } + .xl\:focus\:border-yuika-blue-100:focus { + border-color: #C6E7F8; + } + + .xl\:focus\:border-yuika-blue-200:focus { + border-color: #9FD3F0; + } + + .xl\:focus\:border-yuika-blue-300:focus { + border-color: #7BBEE5; + } + + .xl\:focus\:border-yuika-blue-400:focus { + border-color: #5AA7D7; + } + + .xl\:focus\:border-yuika-blue-500:focus { + border-color: #3B90C6; + } + + .xl\:focus\:border-yuika-blue-600:focus { + border-color: #2E72AA; + } + + .xl\:focus\:border-yuika-blue-700:focus { + border-color: #22558C; + } + + .xl\:focus\:border-yuika-blue-800:focus { + border-color: #173B6C; + } + + .xl\:focus\:border-yuika-blue-900:focus { + border-color: #0E254C; + } + .xl\:rounded-none { border-radius: 0; } @@ -51110,6 +54213,186 @@ h1 { color: #702459; } + .xl\:placeholder-yuika-blue-100::-webkit-input-placeholder { + color: #C6E7F8; + } + + .xl\:placeholder-yuika-blue-100::-moz-placeholder { + color: #C6E7F8; + } + + .xl\:placeholder-yuika-blue-100:-ms-input-placeholder { + color: #C6E7F8; + } + + .xl\:placeholder-yuika-blue-100::-ms-input-placeholder { + color: #C6E7F8; + } + + .xl\:placeholder-yuika-blue-100::placeholder { + color: #C6E7F8; + } + + .xl\:placeholder-yuika-blue-200::-webkit-input-placeholder { + color: #9FD3F0; + } + + .xl\:placeholder-yuika-blue-200::-moz-placeholder { + color: #9FD3F0; + } + + .xl\:placeholder-yuika-blue-200:-ms-input-placeholder { + color: #9FD3F0; + } + + .xl\:placeholder-yuika-blue-200::-ms-input-placeholder { + color: #9FD3F0; + } + + .xl\:placeholder-yuika-blue-200::placeholder { + color: #9FD3F0; + } + + .xl\:placeholder-yuika-blue-300::-webkit-input-placeholder { + color: #7BBEE5; + } + + .xl\:placeholder-yuika-blue-300::-moz-placeholder { + color: #7BBEE5; + } + + .xl\:placeholder-yuika-blue-300:-ms-input-placeholder { + color: #7BBEE5; + } + + .xl\:placeholder-yuika-blue-300::-ms-input-placeholder { + color: #7BBEE5; + } + + .xl\:placeholder-yuika-blue-300::placeholder { + color: #7BBEE5; + } + + .xl\:placeholder-yuika-blue-400::-webkit-input-placeholder { + color: #5AA7D7; + } + + .xl\:placeholder-yuika-blue-400::-moz-placeholder { + color: #5AA7D7; + } + + .xl\:placeholder-yuika-blue-400:-ms-input-placeholder { + color: #5AA7D7; + } + + .xl\:placeholder-yuika-blue-400::-ms-input-placeholder { + color: #5AA7D7; + } + + .xl\:placeholder-yuika-blue-400::placeholder { + color: #5AA7D7; + } + + .xl\:placeholder-yuika-blue-500::-webkit-input-placeholder { + color: #3B90C6; + } + + .xl\:placeholder-yuika-blue-500::-moz-placeholder { + color: #3B90C6; + } + + .xl\:placeholder-yuika-blue-500:-ms-input-placeholder { + color: #3B90C6; + } + + .xl\:placeholder-yuika-blue-500::-ms-input-placeholder { + color: #3B90C6; + } + + .xl\:placeholder-yuika-blue-500::placeholder { + color: #3B90C6; + } + + .xl\:placeholder-yuika-blue-600::-webkit-input-placeholder { + color: #2E72AA; + } + + .xl\:placeholder-yuika-blue-600::-moz-placeholder { + color: #2E72AA; + } + + .xl\:placeholder-yuika-blue-600:-ms-input-placeholder { + color: #2E72AA; + } + + .xl\:placeholder-yuika-blue-600::-ms-input-placeholder { + color: #2E72AA; + } + + .xl\:placeholder-yuika-blue-600::placeholder { + color: #2E72AA; + } + + .xl\:placeholder-yuika-blue-700::-webkit-input-placeholder { + color: #22558C; + } + + .xl\:placeholder-yuika-blue-700::-moz-placeholder { + color: #22558C; + } + + .xl\:placeholder-yuika-blue-700:-ms-input-placeholder { + color: #22558C; + } + + .xl\:placeholder-yuika-blue-700::-ms-input-placeholder { + color: #22558C; + } + + .xl\:placeholder-yuika-blue-700::placeholder { + color: #22558C; + } + + .xl\:placeholder-yuika-blue-800::-webkit-input-placeholder { + color: #173B6C; + } + + .xl\:placeholder-yuika-blue-800::-moz-placeholder { + color: #173B6C; + } + + .xl\:placeholder-yuika-blue-800:-ms-input-placeholder { + color: #173B6C; + } + + .xl\:placeholder-yuika-blue-800::-ms-input-placeholder { + color: #173B6C; + } + + .xl\:placeholder-yuika-blue-800::placeholder { + color: #173B6C; + } + + .xl\:placeholder-yuika-blue-900::-webkit-input-placeholder { + color: #0E254C; + } + + .xl\:placeholder-yuika-blue-900::-moz-placeholder { + color: #0E254C; + } + + .xl\:placeholder-yuika-blue-900:-ms-input-placeholder { + color: #0E254C; + } + + .xl\:placeholder-yuika-blue-900::-ms-input-placeholder { + color: #0E254C; + } + + .xl\:placeholder-yuika-blue-900::placeholder { + color: #0E254C; + } + .xl\:focus\:placeholder-transparent:focus::-webkit-input-placeholder { color: transparent; } @@ -52970,6 +56253,186 @@ h1 { color: #702459; } + .xl\:focus\:placeholder-yuika-blue-100:focus::-webkit-input-placeholder { + color: #C6E7F8; + } + + .xl\:focus\:placeholder-yuika-blue-100:focus::-moz-placeholder { + color: #C6E7F8; + } + + .xl\:focus\:placeholder-yuika-blue-100:focus:-ms-input-placeholder { + color: #C6E7F8; + } + + .xl\:focus\:placeholder-yuika-blue-100:focus::-ms-input-placeholder { + color: #C6E7F8; + } + + .xl\:focus\:placeholder-yuika-blue-100:focus::placeholder { + color: #C6E7F8; + } + + .xl\:focus\:placeholder-yuika-blue-200:focus::-webkit-input-placeholder { + color: #9FD3F0; + } + + .xl\:focus\:placeholder-yuika-blue-200:focus::-moz-placeholder { + color: #9FD3F0; + } + + .xl\:focus\:placeholder-yuika-blue-200:focus:-ms-input-placeholder { + color: #9FD3F0; + } + + .xl\:focus\:placeholder-yuika-blue-200:focus::-ms-input-placeholder { + color: #9FD3F0; + } + + .xl\:focus\:placeholder-yuika-blue-200:focus::placeholder { + color: #9FD3F0; + } + + .xl\:focus\:placeholder-yuika-blue-300:focus::-webkit-input-placeholder { + color: #7BBEE5; + } + + .xl\:focus\:placeholder-yuika-blue-300:focus::-moz-placeholder { + color: #7BBEE5; + } + + .xl\:focus\:placeholder-yuika-blue-300:focus:-ms-input-placeholder { + color: #7BBEE5; + } + + .xl\:focus\:placeholder-yuika-blue-300:focus::-ms-input-placeholder { + color: #7BBEE5; + } + + .xl\:focus\:placeholder-yuika-blue-300:focus::placeholder { + color: #7BBEE5; + } + + .xl\:focus\:placeholder-yuika-blue-400:focus::-webkit-input-placeholder { + color: #5AA7D7; + } + + .xl\:focus\:placeholder-yuika-blue-400:focus::-moz-placeholder { + color: #5AA7D7; + } + + .xl\:focus\:placeholder-yuika-blue-400:focus:-ms-input-placeholder { + color: #5AA7D7; + } + + .xl\:focus\:placeholder-yuika-blue-400:focus::-ms-input-placeholder { + color: #5AA7D7; + } + + .xl\:focus\:placeholder-yuika-blue-400:focus::placeholder { + color: #5AA7D7; + } + + .xl\:focus\:placeholder-yuika-blue-500:focus::-webkit-input-placeholder { + color: #3B90C6; + } + + .xl\:focus\:placeholder-yuika-blue-500:focus::-moz-placeholder { + color: #3B90C6; + } + + .xl\:focus\:placeholder-yuika-blue-500:focus:-ms-input-placeholder { + color: #3B90C6; + } + + .xl\:focus\:placeholder-yuika-blue-500:focus::-ms-input-placeholder { + color: #3B90C6; + } + + .xl\:focus\:placeholder-yuika-blue-500:focus::placeholder { + color: #3B90C6; + } + + .xl\:focus\:placeholder-yuika-blue-600:focus::-webkit-input-placeholder { + color: #2E72AA; + } + + .xl\:focus\:placeholder-yuika-blue-600:focus::-moz-placeholder { + color: #2E72AA; + } + + .xl\:focus\:placeholder-yuika-blue-600:focus:-ms-input-placeholder { + color: #2E72AA; + } + + .xl\:focus\:placeholder-yuika-blue-600:focus::-ms-input-placeholder { + color: #2E72AA; + } + + .xl\:focus\:placeholder-yuika-blue-600:focus::placeholder { + color: #2E72AA; + } + + .xl\:focus\:placeholder-yuika-blue-700:focus::-webkit-input-placeholder { + color: #22558C; + } + + .xl\:focus\:placeholder-yuika-blue-700:focus::-moz-placeholder { + color: #22558C; + } + + .xl\:focus\:placeholder-yuika-blue-700:focus:-ms-input-placeholder { + color: #22558C; + } + + .xl\:focus\:placeholder-yuika-blue-700:focus::-ms-input-placeholder { + color: #22558C; + } + + .xl\:focus\:placeholder-yuika-blue-700:focus::placeholder { + color: #22558C; + } + + .xl\:focus\:placeholder-yuika-blue-800:focus::-webkit-input-placeholder { + color: #173B6C; + } + + .xl\:focus\:placeholder-yuika-blue-800:focus::-moz-placeholder { + color: #173B6C; + } + + .xl\:focus\:placeholder-yuika-blue-800:focus:-ms-input-placeholder { + color: #173B6C; + } + + .xl\:focus\:placeholder-yuika-blue-800:focus::-ms-input-placeholder { + color: #173B6C; + } + + .xl\:focus\:placeholder-yuika-blue-800:focus::placeholder { + color: #173B6C; + } + + .xl\:focus\:placeholder-yuika-blue-900:focus::-webkit-input-placeholder { + color: #0E254C; + } + + .xl\:focus\:placeholder-yuika-blue-900:focus::-moz-placeholder { + color: #0E254C; + } + + .xl\:focus\:placeholder-yuika-blue-900:focus:-ms-input-placeholder { + color: #0E254C; + } + + .xl\:focus\:placeholder-yuika-blue-900:focus::-ms-input-placeholder { + color: #0E254C; + } + + .xl\:focus\:placeholder-yuika-blue-900:focus::placeholder { + color: #0E254C; + } + .xl\:pointer-events-none { pointer-events: none; } @@ -53581,6 +57044,42 @@ h1 { color: #702459; } + .xl\:text-yuika-blue-100 { + color: #C6E7F8; + } + + .xl\:text-yuika-blue-200 { + color: #9FD3F0; + } + + .xl\:text-yuika-blue-300 { + color: #7BBEE5; + } + + .xl\:text-yuika-blue-400 { + color: #5AA7D7; + } + + .xl\:text-yuika-blue-500 { + color: #3B90C6; + } + + .xl\:text-yuika-blue-600 { + color: #2E72AA; + } + + .xl\:text-yuika-blue-700 { + color: #22558C; + } + + .xl\:text-yuika-blue-800 { + color: #173B6C; + } + + .xl\:text-yuika-blue-900 { + color: #0E254C; + } + .xl\:hover\:text-transparent:hover { color: transparent; } @@ -53953,6 +57452,42 @@ h1 { color: #702459; } + .xl\:hover\:text-yuika-blue-100:hover { + color: #C6E7F8; + } + + .xl\:hover\:text-yuika-blue-200:hover { + color: #9FD3F0; + } + + .xl\:hover\:text-yuika-blue-300:hover { + color: #7BBEE5; + } + + .xl\:hover\:text-yuika-blue-400:hover { + color: #5AA7D7; + } + + .xl\:hover\:text-yuika-blue-500:hover { + color: #3B90C6; + } + + .xl\:hover\:text-yuika-blue-600:hover { + color: #2E72AA; + } + + .xl\:hover\:text-yuika-blue-700:hover { + color: #22558C; + } + + .xl\:hover\:text-yuika-blue-800:hover { + color: #173B6C; + } + + .xl\:hover\:text-yuika-blue-900:hover { + color: #0E254C; + } + .xl\:focus\:text-transparent:focus { color: transparent; } @@ -54325,6 +57860,42 @@ h1 { color: #702459; } + .xl\:focus\:text-yuika-blue-100:focus { + color: #C6E7F8; + } + + .xl\:focus\:text-yuika-blue-200:focus { + color: #9FD3F0; + } + + .xl\:focus\:text-yuika-blue-300:focus { + color: #7BBEE5; + } + + .xl\:focus\:text-yuika-blue-400:focus { + color: #5AA7D7; + } + + .xl\:focus\:text-yuika-blue-500:focus { + color: #3B90C6; + } + + .xl\:focus\:text-yuika-blue-600:focus { + color: #2E72AA; + } + + .xl\:focus\:text-yuika-blue-700:focus { + color: #22558C; + } + + .xl\:focus\:text-yuika-blue-800:focus { + color: #173B6C; + } + + .xl\:focus\:text-yuika-blue-900:focus { + color: #0E254C; + } + .xl\:text-xs { font-size: 0.75rem; } diff --git a/Application/Static/js/tinymce/jquery.tinymce.min.js b/Application/Static/js/tinymce/jquery.tinymce.min.js new file mode 100644 index 0000000..5a6ef56 --- /dev/null +++ b/Application/Static/js/tinymce/jquery.tinymce.min.js @@ -0,0 +1,91 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + */ +/** + * Jquery integration plugin. + * + * @class tinymce.core.JqueryIntegration + * @private + */ +!function(){var f,c,u,p,d,s=[];d="undefined"!=typeof global?global:window,p=d.jQuery;function v(){ +// Reference to tinymce needs to be lazily evaluated since tinymce +// might be loaded through the compressor or other means +return d.tinymce}p.fn.tinymce=function(o){var e,t,i,l=this,r=""; +// No match then just ignore the call +if(!l.length)return l; +// Get editor instance +if(!o)return v()?v().get(l[0].id):null;l.css("visibility","hidden");function n(){var a=[],c=0; +// Apply patches to the jQuery object, only once +u||(m(),u=!0), +// Create an editor instance for each matched node +l.each(function(e,t){var n,i=t.id,r=o.oninit; +// Generate unique id for target element if needed +i||(t.id=i=v().DOM.uniqueId()), +// Only init the editor once +v().get(i)||( +// Create editor instance and render it +n=v().createEditor(i,o),a.push(n),n.on("init",function(){var e,t=r;l.css("visibility",""), +// Run this if the oninit setting is defined +// this logic will fire the oninit callback ones each +// matched editor instance is initialized +r&&++c==a.length&&("string"==typeof t&&(e=-1===t.indexOf(".")?null:v().resolve(t.replace(/\.\w+$/,"")),t=v().resolve(t)), +// Call the oninit function with the object +t.apply(e||v(),a))}))}), +// Render the editor instances in a separate loop since we +// need to have the full editors array used in the onInit calls +p.each(a,function(e,t){t.render()})} +// Load TinyMCE on demand, if we need to +if(d.tinymce||c||!(e=o.script_url)) +// Delay the init call until tinymce is loaded +1===c?s.push(n):n();else{c=1,t=e.substring(0,e.lastIndexOf("/")), +// Check if it's a dev/src version they want to load then +// make sure that all plugins, themes etc are loaded in source mode as well +-1!=e.indexOf(".min")&&(r=".min"), +// Setup tinyMCEPreInit object this will later be used by the TinyMCE +// core script to locate other resources like CSS files, dialogs etc +// You can also predefined a tinyMCEPreInit object and then it will use that instead +d.tinymce=d.tinyMCEPreInit||{base:t,suffix:r}, +// url contains gzip then we assume it's a compressor +-1!=e.indexOf("gzip")&&(i=o.language||"en",e=e+(/\?/.test(e)?"&":"?")+"js=true&core=true&suffix="+escape(r)+"&themes="+escape(o.theme||"modern")+"&plugins="+escape(o.plugins||"")+"&languages="+(i||""), +// Check if compressor script is already loaded otherwise setup a basic one +d.tinyMCE_GZ||(d.tinyMCE_GZ={start:function(){function n(e){v().ScriptLoader.markDone(v().baseURI.toAbsolute(e))} +// Add core languages +n("langs/"+i+".js"), +// Add themes with languages +n("themes/"+o.theme+"/theme"+r+".js"),n("themes/"+o.theme+"/langs/"+i+".js"), +// Add plugins with languages +p.each(o.plugins.split(","),function(e,t){t&&(n("plugins/"+t+"/plugin"+r+".js"),n("plugins/"+t+"/langs/"+i+".js"))})},end:function(){}}));var a=document.createElement("script");a.type="text/javascript",a.onload=a.onreadystatechange=function(e){e=e||window.event,2===c||"load"!=e.type&&!/complete|loaded/.test(a.readyState)||(v().dom.Event.domLoaded=1,c=2, +// Execute callback after mainscript has been loaded and before the initialization occurs +o.script_loaded&&o.script_loaded(),n(),p.each(s,function(e,t){t()}))},a.src=e,document.body.appendChild(a)}return l}, +// Add :tinymce pseudo selector this will select elements that has been converted into editor instances +// it's now possible to use things like $('*:tinymce') to get all TinyMCE bound elements. +p.extend(p.expr[":"],{tinymce:function(e){var t;return!!(e.id&&"tinymce"in d&&(t=v().get(e.id))&&t.editorManager===v())}}); +// This function patches internal jQuery functions so that if +// you for example remove an div element containing an editor it's +// automatically destroyed by the TinyMCE API +var m=function(){function r(e){ +// If the function is remove +"remove"===e&&this.each(function(e,t){var n=u(t);n&&n.remove()}),this.find("span.mceEditor,div.mceEditor").each(function(e,t){var n=v().get(t.id.replace(/_parent$/,""));n&&n.remove()})}function o(i){var e,t=this; +// Handle set value +/*jshint eqnull:true */if(null!=i)r.call(t), +// Saves the contents before get/set value of textarea/div +t.each(function(e,t){var n;(n=v().get(t.id))&&n.setContent(i)});else if(0])*>/g,""):n.getContent({save:!0}):a.apply(p(t),r)}),i}}), +// Makes it possible to use $('#id').append("content"); to append contents to the TinyMCE editor iframe +p.each(["append","prepend"],function(e,t){var n=s[t]=p.fn[t],r="prepend"===t;p.fn[t]=function(i){var e=this;return l(e)?i!==f?("string"==typeof i&&e.filter(":tinymce").each(function(e,t){var n=u(t);n&&n.setContent(r?i+n.getContent():n.getContent()+i)}),n.apply(e.not(":tinymce"),arguments),e):void 0:n.apply(e,arguments)}}), +// Makes sure that the editor instance gets properly destroyed when the parent element is removed +p.each(["remove","replaceWith","replaceAll","empty"],function(e,t){var n=s[t]=p.fn[t];p.fn[t]=function(){return r.call(this,t),n.apply(this,arguments)}}),s.attr=p.fn.attr, +// Makes sure that $('#tinymce_id').attr('value') gets the editors current HTML contents +p.fn.attr=function(e,t){var n=this,i=arguments;if(!e||"value"!==e||!l(n))return s.attr.apply(n,i);if(t!==f)return o.call(n.filter(":tinymce"),t),s.attr.apply(n.not(":tinymce"),i),n;// return original set for chaining +var r=n[0],a=u(r);return a?a.getContent({save:!0}):s.attr.apply(p(r),i)}}}(); \ No newline at end of file diff --git a/Application/Static/js/tinymce/langs/readme.md b/Application/Static/js/tinymce/langs/readme.md new file mode 100644 index 0000000..a52bf03 --- /dev/null +++ b/Application/Static/js/tinymce/langs/readme.md @@ -0,0 +1,3 @@ +This is where language files should be placed. + +Please DO NOT translate these directly use this service: https://www.transifex.com/projects/p/tinymce/ diff --git a/Application/Static/js/tinymce/license.txt b/Application/Static/js/tinymce/license.txt new file mode 100644 index 0000000..b17fc90 --- /dev/null +++ b/Application/Static/js/tinymce/license.txt @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/Application/Static/js/tinymce/plugins/advlist/plugin.min.js b/Application/Static/js/tinymce/plugins/advlist/plugin.min.js new file mode 100644 index 0000000..49e526d --- /dev/null +++ b/Application/Static/js/tinymce/plugins/advlist/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.1.2 (2019-11-19) + */ +!function(){"use strict";function n(){}function o(n){return function(){return n}}function t(){return d}var e,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),u=tinymce.util.Tools.resolve("tinymce.util.Tools"),l=function(n,t,e){var r="UL"===t?"InsertUnorderedList":"InsertOrderedList";n.execCommand(r,!1,!1===e?null:{"list-style-type":e})},i=function(e){e.addCommand("ApplyUnorderedListStyle",function(n,t){l(e,"UL",t["list-style-type"])}),e.addCommand("ApplyOrderedListStyle",function(n,t){l(e,"OL",t["list-style-type"])})},c=function(n){var t=n.getParam("advlist_number_styles","default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman");return t?t.split(/[ ,]/):[]},s=function(n){var t=n.getParam("advlist_bullet_styles","default,circle,square");return t?t.split(/[ ,]/):[]},f=o(!1),a=o(!0),d=(e={fold:function(n,t){return n()},is:f,isSome:f,isNone:a,getOr:m,getOrThunk:p,getOrDie:function(n){throw new Error(n||"error: getOrDie called on none.")},getOrNull:o(null),getOrUndefined:o(undefined),or:m,orThunk:p,map:t,each:n,bind:t,exists:f,forall:a,filter:t,equals:g,equals_:g,toArray:function(){return[]},toString:o("none()")},Object.freeze&&Object.freeze(e),e);function g(n){return n.isNone()}function p(n){return n()}function m(n){return n}function y(n,t,e){var r=function(n,t){for(var e=0;ey(e)&&(i=o+g);var l=z(e);if(l&&l]*>((\xa0| |[ \t]|]*>)+?|)|
$","i").test(e)}function i(t){var e=parseInt(v.getItem(o(t)+"time"),10)||0;return!((new Date).getTime()-e>function(t){return r(t.settings.autosave_retention,"20m")}(t))||(g(t,!1),!1)}function u(t){var e=o(t);!a(t)&&t.isDirty()&&(v.setItem(e+"draft",t.getContent({format:"raw",no_events:!0})),v.setItem(e+"time",(new Date).getTime().toString()),function(t){t.fire("StoreDraft")}(t))}function s(t){var e=o(t);i(t)&&(t.setContent(v.getItem(e+"draft"),{format:"raw"}),function(t){t.fire("RestoreDraft")}(t))}function c(t,e){var n=function(t){return r(t.settings.autosave_interval,"30s")}(t);e.get()||(m.setInterval(function(){t.removed||u(t)},n),e.set(!0))}function f(t){t.undoManager.transact(function(){s(t),g(t)}),t.focus()}var l=function(t){function e(){return n}var n=t;return{get:e,set:function(t){n=t},clone:function(){return l(e())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),m=tinymce.util.Tools.resolve("tinymce.util.Delay"),v=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),d=tinymce.util.Tools.resolve("tinymce.util.Tools"),g=function(t,e){var n=o(t);v.removeItem(n+"draft"),v.removeItem(n+"time"),!1!==e&&function(t){t.fire("RemoveDraft")}(t)};function y(r){for(var o=[],t=1;t(.*?)<\/a>/gi,"[url=$1]$2[/url]"),o(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),o(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),o(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),o(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),o(/(.*?)<\/span>/gi,"[color=$1]$2[/color]"),o(/(.*?)<\/font>/gi,"[color=$1]$2[/color]"),o(/(.*?)<\/span>/gi,"[size=$1]$2[/size]"),o(/(.*?)<\/font>/gi,"$1"),o(//gi,"[img]$1[/img]"),o(/(.*?)<\/span>/gi,"[code]$1[/code]"),o(/(.*?)<\/span>/gi,"[quote]$1[/quote]"),o(/(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]"),o(/(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]"),o(/(.*?)<\/em>/gi,"[code][i]$1[/i][/code]"),o(/(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]"),o(/(.*?)<\/u>/gi,"[code][u]$1[/u][/code]"),o(/(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]"),o(/<\/(strong|b)>/gi,"[/b]"),o(/<(strong|b)>/gi,"[b]"),o(/<\/(em|i)>/gi,"[/i]"),o(/<(em|i)>/gi,"[i]"),o(/<\/u>/gi,"[/u]"),o(/(.*?)<\/span>/gi,"[u]$1[/u]"),o(//gi,"[u]"),o(/]*>/gi,"[quote]"),o(/<\/blockquote>/gi,"[/quote]"),o(/
/gi,"\n"),o(//gi,"\n"),o(/
/gi,"\n"),o(/

/gi,""),o(/<\/p>/gi,"\n"),o(/ |\u00a0/gi," "),o(/"/gi,'"'),o(/</gi,"<"),o(/>/gi,">"),o(/&/gi,"&"),t},i=function(t){t=e.trim(t);function o(o,e){t=t.replace(o,e)}return o(/\n/gi,"
"),o(/\[b\]/gi,""),o(/\[\/b\]/gi,""),o(/\[i\]/gi,""),o(/\[\/i\]/gi,""),o(/\[u\]/gi,""),o(/\[\/u\]/gi,""),o(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'$2'),o(/\[url\](.*?)\[\/url\]/gi,'$1'),o(/\[img\](.*?)\[\/img\]/gi,''),o(/\[color=(.*?)\](.*?)\[\/color\]/gi,'$2'),o(/\[code\](.*?)\[\/code\]/gi,'$1 '),o(/\[quote.*?\](.*?)\[\/quote\]/gi,'$1 '),t};!function n(){o.add("bbcode",function(o){o.on("BeforeSetContent",function(o){o.content=i(o.content)}),o.on("PostProcess",function(o){o.set&&(o.content=i(o.content)),o.get&&(o.content=t(o.content))})})}()}(); \ No newline at end of file diff --git a/Application/Static/js/tinymce/plugins/charmap/plugin.min.js b/Application/Static/js/tinymce/plugins/charmap/plugin.min.js new file mode 100644 index 0000000..17a2fb0 --- /dev/null +++ b/Application/Static/js/tinymce/plugins/charmap/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.1.2 (2019-11-19) + */ +!function(c){"use strict";function n(){}function i(n){return function(){return n}}function e(){return m}var r,t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=function(n,e){return n.fire("insertCustomChar",{chr:e})},u=function(n,e){var r=a(n,e).chr;n.execCommand("mceInsertContent",!1,r)},o=tinymce.util.Tools.resolve("tinymce.util.Tools"),s=function(n){return n.settings.charmap},l=function(n){return n.settings.charmap_append},f=i(!1),g=i(!0),m=(r={fold:function(n,e){return n()},is:f,isSome:f,isNone:g,getOr:p,getOrThunk:d,getOrDie:function(n){throw new Error(n||"error: getOrDie called on none.")},getOrNull:i(null),getOrUndefined:i(undefined),or:p,orThunk:d,map:e,each:n,bind:e,exists:f,forall:g,filter:e,equals:h,equals_:h,toArray:function(){return[]},toString:i("none()")},Object.freeze&&Object.freeze(r),r);function h(n){return n.isNone()}function d(n){return n()}function p(n){return n}function y(e){return function(n){return function(n){if(null===n)return"null";var e=typeof n;return"object"==e&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"==e&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":e}(n)===e}}function w(n,e){for(var r=n.length,t=new Array(r),a=0;ae.length)break e;if(!(h instanceof a)){u.lastIndex=0;var m=u.exec(h);if(m){g&&(d=m[1].length);var b=m.index-1+d,y=b+(m=m[0].slice(d)).length,v=h.slice(0,b+1),k=h.slice(y+1),w=[f,1];v&&w.push(v);var x=new a(o,c?S.tokenize(m,c):m,p);w.push(x),k&&w.push(k),Array.prototype.splice.apply(r,w)}}}}}return r},hooks:{all:{},add:function(e,t){var n=S.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=S.hooks.all[e];if(n&&n.length)for(var a=0,r=void 0;r=n[a++];)r(t)}}},s=S.Token=function(e,t,n){this.type=e,this.content=t,this.alias=n};if(s.stringify=function(t,n,e){if("string"==typeof t)return t;if("Array"===S.util.type(t))return t.map(function(e){return s.stringify(e,n,t)}).join("");var a={type:t.type,content:s.stringify(t.content,n,e),tag:"span",classes:["token",t.type],attributes:{},language:n,parent:e};if("comment"===a.type&&(a.attributes.spellcheck="true"),t.alias){var r="Array"===S.util.type(t.alias)?t.alias:[t.alias];Array.prototype.push.apply(a.classes,r)}S.hooks.run("wrap",a);var i="";for(var o in a.attributes)i+=(i?" ":"")+o+'="'+(a.attributes[o]||"")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'" '+i+">"+a.content+""},!g.document)return g.addEventListener&&g.addEventListener("message",function(e){var t=JSON.parse(e.data),n=t.language,a=t.code,r=t.immediateClose;g.postMessage(S.highlight(a,S.languages[n],n)),r&&g.close()},!1),g.Prism}();void 0!==n&&(n.Prism=i),i.languages.markup={comment://,prolog:/<\?[\w\W]+?\?>/,doctype://,cdata://i,tag:{pattern:/<\/?[^\s>\/=.]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},i.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),i.languages.xml=i.languages.markup,i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},i.languages.css.atrule.inside.rest=i.util.clone(i.languages.css),i.languages.markup&&(i.languages.insertBefore("markup","tag",{style:{pattern:/[\w\W]*?<\/style>/i,inside:{tag:{pattern:/|<\/style>/i,inside:i.languages.markup.tag.inside},rest:i.languages.css},alias:"language-css"}}),i.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:i.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:i.languages.css}},alias:"language-css"}},i.languages.markup.tag)),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:/(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(true|false)\b/,"function":/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(0x[\dA-Fa-f]+|0b[01]+|0o[0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,"function":/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/i}),i.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\\\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0}}),i.languages.insertBefore("javascript","class-name",{"template-string":{pattern:/`(?:\\`|\\?[^`])*`/,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}}}),i.languages.markup&&i.languages.insertBefore("markup","tag",{script:{pattern:/[\w\W]*?<\/script>/i,inside:{tag:{pattern:/|<\/script>/i,inside:i.languages.markup.tag.inside},rest:i.languages.javascript},alias:"language-javascript"}}),i.languages.js=i.languages.javascript,i.languages.c=i.languages.extend("clike",{keyword:/\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/\-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*\/]/,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)[ful]*\b/i}),i.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+([^\r\n\\]|\\.|\\(?:\r\n?|\n))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(<.+?>|("|')(\\?.)+?\3)/,lookbehind:!0}}}}),delete i.languages.c["class-name"],delete i.languages.c["boolean"],i.languages.csharp=i.languages.extend("clike",{keyword:/\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\b/,string:[/@("|')(\1\1|\\\1|\\?(?!\1)[\s\S])*\1/,/("|')(\\?.)*?\1/],number:/\b-?(0x[\da-f]+|\d*\.?\d+)\b/i}),i.languages.insertBefore("csharp","keyword",{preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0}}),i.languages.cpp=i.languages.extend("c",{keyword:/\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,"boolean":/\b(true|false)\b/,operator:/[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\->|:{1,2}|={1,2}|\^|~|%|&{1,2}|\|?\||\?|\*|\/|\b(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/}),i.languages.insertBefore("cpp","keyword",{"class-name":{pattern:/(class\s+)[a-z0-9_]+/i,lookbehind:!0}}),i.languages.java=i.languages.extend("clike",{keyword:/\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/,number:/\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+(?:e[+-]?\d+)?[df]?\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<>?>?=?|==?|&[&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m,lookbehind:!0}}),i.languages.php=i.languages.extend("clike",{keyword:/\b(and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\b/i,constant:/\b[A-Z0-9_]{2,}\b/,comment:{pattern:/(^|[^\\])(?:\/\*[\w\W]*?\*\/|\/\/.*)/,lookbehind:!0}}),i.languages.insertBefore("php","class-name",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),i.languages.insertBefore("php","keyword",{delimiter:/\?>|<\?(?:php)?/i,variable:/\$\w+\b/i,"package":{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),i.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}}),i.languages.markup&&(i.hooks.add("before-highlight",function(t){"php"===t.language&&(t.tokenStack=[],t.backupCode=t.code,t.code=t.code.replace(/(?:<\?php|<\?)[\w\W]*?(?:\?>)/gi,function(e){return t.tokenStack.push(e),"{{{PHP"+t.tokenStack.length+"}}}"}))}),i.hooks.add("before-insert",function(e){"php"===e.language&&(e.code=e.backupCode,delete e.backupCode)}),i.hooks.add("after-highlight",function(e){if("php"===e.language){for(var t=0,n=void 0;n=e.tokenStack[t];t++)e.highlightedCode=e.highlightedCode.replace("{{{PHP"+(t+1)+"}}}",i.highlight(n,e.grammar,"php").replace(/\$/g,"$$$$"));e.element.innerHTML=e.highlightedCode}}),i.hooks.add("wrap",function(e){"php"===e.language&&"markup"===e.type&&(e.content=e.content.replace(/(\{\{\{PHP[0-9]+\}\}\})/g,'$1'))}),i.languages.insertBefore("php","comment",{markup:{pattern:/<[^?]\/?(.*?)>/,inside:i.languages.markup},php:/\{\{\{PHP[0-9]+\}\}\}/})),i.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:/"""[\s\S]+?"""|'''[\s\S]+?'''|("|')(?:\\?.)*?\1/,"function":{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_][a-zA-Z0-9_]*(?=\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)[a-z0-9_]+/i,lookbehind:!0},keyword:/\b(?:as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\b/,"boolean":/\b(?:True|False)\b/,number:/\b-?(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:or|and|not)\b/,punctuation:/[{}[\];(),.:]/},function(e){e.languages.ruby=e.languages.extend("clike",{comment:/#(?!\{[^\r\n]*?\}).*/,keyword:/\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.util.clone(e.languages.ruby)}};e.languages.insertBefore("ruby","keyword",{regex:[{pattern:/%r([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1[gim]{0,3}/,inside:{interpolation:t}},{pattern:/%r\((?:[^()\\]|\\[\s\S])*\)[gim]{0,3}/,inside:{interpolation:t}},{pattern:/%r\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}[gim]{0,3}/,inside:{interpolation:t}},{pattern:/%r\[(?:[^\[\]\\]|\\[\s\S])*\][gim]{0,3}/,inside:{interpolation:t}},{pattern:/%r<(?:[^<>\\]|\\[\s\S])*>[gim]{0,3}/,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0}],variable:/[@$]+[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\b)/,symbol:/:[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\b)/}),e.languages.insertBefore("ruby","number",{builtin:/\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Fload|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z][a-zA-Z_0-9]*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:/%[qQiIwWxs]?([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1/,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\((?:[^()\\]|\\[\s\S])*\)/,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\[(?:[^\[\]\\]|\\[\s\S])*\]/,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?<(?:[^<>\\]|\\[\s\S])*>/,inside:{interpolation:t}},{pattern:/("|')(#\{[^}]+\}|\\(?:\r?\n|\r)|\\?.)*?\1/,inside:{interpolation:t}}]}(i);function a(){}function o(e){return function(){return e}}function s(){return f}var l,u={isCodeSample:function B(e){return e&&"PRE"===e.nodeName&&-1!==e.className.indexOf("language-")},trimArg:function M(n){return function(e,t){return n(t)}}},d=o(!1),p=o(!0),f=(l={fold:function(e,t){return e()},is:d,isSome:d,isNone:p,getOr:b,getOrThunk:m,getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:o(null),getOrUndefined:o(undefined),or:b,orThunk:m,map:s,each:a,bind:s,exists:d,forall:p,filter:s,equals:h,equals_:h,toArray:function(){return[]},toString:o("none()")},Object.freeze&&Object.freeze(l),l);function h(e){return e.isNone()}function m(e){return e()}function b(e){return e}function y(e){var t=e.selection?e.selection.getNode():null;return u.isCodeSample(t)?w.some(t):w.none()}var v,k=function(n){function e(){return r}function t(e){return e(n)}var a=o(n),r={fold:function(e,t){return t(n)},is:function(e){return n===e},isSome:p,isNone:d,getOr:a,getOrThunk:a,getOrDie:a,getOrNull:a,getOrUndefined:a,or:e,orThunk:e,map:function(e){return k(e(n))},each:function(e){e(n)},bind:t,exists:t,forall:t,filter:function(e){return e(n)?r:f},toArray:function(){return[n]},toString:function(){return"some("+n+")"},equals:function(e){return e.is(n)},equals_:function(e,t){return e.fold(d,function(e){return t(n,e)})}};return r},w={some:k,none:s,from:function(e){return null===e||e===undefined?f:k(e)}},x=y,S=function(t,n,a){t.undoManager.transact(function(){var e=y(t);return a=r.DOM.encode(a),e.fold(function(){t.insertContent('

'+a+"
"),t.selection.select(t.$("#__new").removeAttr("id")[0])},function(e){t.dom.setAttrib(e,"class","language-"+n),e.innerHTML=a,i.highlightElement(e),t.selection.select(e)})})},A=function(e){return y(e).fold(function(){return""},function(e){return e.textContent})},C=function(e){return e.settings.codesample_languages},_=function(e){var t=C(e);return t||[{text:"HTML/XML",value:"markup"},{text:"JavaScript",value:"javascript"},{text:"CSS",value:"css"},{text:"PHP",value:"php"},{text:"Ruby",value:"ruby"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C",value:"c"},{text:"C#",value:"csharp"},{text:"C++",value:"cpp"}]},N=function(e,n){return x(e).fold(function(){return n},function(e){var t=e.className.match(/language-(\w+)/);return t?t[1]:n})},O=(v="function",function(e){return function(e){if(null===e)return"null";var t=typeof e;return"object"==t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"==t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t}(e)===v}),z=Array.prototype.slice,P=(O(Array.from)&&Array.from,function(n){var e=_(n),t=function(e){return 0===e.length?w.none():w.some(e[0])}(e).fold(function(){return""},function(e){return e.value}),a=N(n,t),r=A(n);n.windowManager.open({title:"Insert/Edit Code Sample",size:"large",body:{type:"panel",items:[{type:"selectbox",name:"language",label:"Language",items:e},{type:"textarea",name:"code",label:"Code view"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{language:a,code:r},onSubmit:function(e){var t=e.getData();S(n,t.language,t.code),e.close()}})}),W=function(t){t.addCommand("codesample",function(){var e=t.selection.getNode();t.selection.isCollapsed()||u.isCodeSample(e)?P(t):t.formatter.toggle("code")})},j=function(n){var r=n.$;n.on("PreProcess",function(e){r("pre[contenteditable=false]",e.node).filter(u.trimArg(u.isCodeSample)).each(function(e,t){var n=r(t),a=t.textContent;n.attr("class",r.trim(n.attr("class"))),n.removeAttr("contentEditable"),n.empty().append(r("").each(function(){this.textContent=a}))})}),n.on("SetContent",function(){var e=r("pre").filter(u.trimArg(u.isCodeSample)).filter(function(e,t){return"false"!==t.contentEditable});e.length&&n.undoManager.transact(function(){e.each(function(e,t){r(t).find("br").each(function(e,t){t.parentNode.replaceChild(n.getDoc().createTextNode("\n"),t)}),t.contentEditable="false",t.innerHTML=n.dom.encode(t.textContent),i.highlightElement(t),t.className=r.trim(t.className)})})})},T=function(n){n.ui.registry.addToggleButton("codesample",{icon:"code-sample",tooltip:"Insert/edit code sample",onAction:function(){return P(n)},onSetup:function(e){function t(){e.setActive(function(e){var t=e.selection.getStart();return e.dom.is(t,"pre.language-markup")}(n))}return n.on("NodeChange",t),function(){return n.off("NodeChange",t)}}}),n.ui.registry.addMenuItem("codesample",{text:"Code sample...",icon:"code-sample",onAction:function(){return P(n)}})};!function F(){e.add("codesample",function(t){j(t),T(t),W(t),t.on("dblclick",function(e){u.isCodeSample(e.target)&&P(t)})})}()}(window); \ No newline at end of file diff --git a/Application/Static/js/tinymce/plugins/colorpicker/plugin.min.js b/Application/Static/js/tinymce/plugins/colorpicker/plugin.min.js new file mode 100644 index 0000000..b6b4f64 --- /dev/null +++ b/Application/Static/js/tinymce/plugins/colorpicker/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.1.2 (2019-11-19) + */ +!function(o){"use strict";var i=tinymce.util.Tools.resolve("tinymce.PluginManager");!function n(){i.add("colorpicker",function(){o.console.warn("Color picker plugin is now built in to the core editor, please remove it from your editor configuration")})}()}(window); \ No newline at end of file diff --git a/Application/Static/js/tinymce/plugins/contextmenu/plugin.min.js b/Application/Static/js/tinymce/plugins/contextmenu/plugin.min.js new file mode 100644 index 0000000..c727427 --- /dev/null +++ b/Application/Static/js/tinymce/plugins/contextmenu/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.1.2 (2019-11-19) + */ +!function(n){"use strict";var o=tinymce.util.Tools.resolve("tinymce.PluginManager");!function e(){o.add("contextmenu",function(){n.console.warn("Context menu plugin is now built in to the core editor, please remove it from your editor configuration")})}()}(window); \ No newline at end of file diff --git a/Application/Static/js/tinymce/plugins/directionality/plugin.min.js b/Application/Static/js/tinymce/plugins/directionality/plugin.min.js new file mode 100644 index 0000000..ee9b006 --- /dev/null +++ b/Application/Static/js/tinymce/plugins/directionality/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.1.2 (2019-11-19) + */ +!function(i){"use strict";function n(){}function u(n){return function(){return n}}function t(){return a}var e,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=tinymce.util.Tools.resolve("tinymce.util.Tools"),o=function(n,t){var e,r=n.dom,o=n.selection.getSelectedBlocks();o.length&&(e=r.getAttrib(o[0],"dir"),c.each(o,function(n){r.getParent(n.parentNode,'*[dir="'+t+'"]',r.getRoot())||r.setAttrib(n,"dir",e!==t?t:null)}),n.nodeChanged())},d=function(n){n.addCommand("mceDirectionLTR",function(){o(n,"ltr")}),n.addCommand("mceDirectionRTL",function(){o(n,"rtl")})},f=u(!1),l=u(!0),a=(e={fold:function(n,t){return n()},is:f,isSome:f,isNone:l,getOr:s,getOrThunk:N,getOrDie:function(n){throw new Error(n||"error: getOrDie called on none.")},getOrNull:u(null),getOrUndefined:u(undefined),or:s,orThunk:N,map:t,each:n,bind:t,exists:f,forall:l,filter:t,equals:m,equals_:m,toArray:function(){return[]},toString:u("none()")},Object.freeze&&Object.freeze(e),e);function m(n){return n.isNone()}function N(n){return n()}function s(n){return n}function g(n,t){var e=n.dom(),r=i.window.getComputedStyle(e).getPropertyValue(t),o=""!==r||function(n){var t=A(n)?n.dom().parentNode:n.dom();return t!==undefined&&null!==t&&t.ownerDocument.body.contains(t)}(n)?r:w(e,t);return null===o?undefined:o}function T(t,r){return function(e){function n(n){var t=p.fromDom(n.element);e.setActive(function(n){return"rtl"===g(n,"direction")?"rtl":"ltr"}(t)===r)}return t.on("NodeChange",n),function(){return t.off("NodeChange",n)}}}var E,O,y=function(e){function n(){return o}function t(n){return n(e)}var r=u(e),o={fold:function(n,t){return t(e)},is:function(n){return e===n},isSome:l,isNone:f,getOr:r,getOrThunk:r,getOrDie:r,getOrNull:r,getOrUndefined:r,or:n,orThunk:n,map:function(n){return y(n(e))},each:function(n){n(e)},bind:t,exists:t,forall:t,filter:function(n){return n(e)?o:a},toArray:function(){return[e]},toString:function(){return"some("+e+")"},equals:function(n){return n.is(e)},equals_:function(n,t){return n.fold(f,function(n){return t(e,n)})}};return o},D=function(n){return null===n||n===undefined?a:y(n)},h=function(n){if(null===n||n===undefined)throw new Error("Node cannot be null or undefined");return{dom:u(n)}},p={fromHtml:function(n,t){var e=(t||i.document).createElement("div");if(e.innerHTML=n,!e.hasChildNodes()||1Could not load emoticons

"}]},buttons:[{type:"cancel",text:"Close",primary:!0}],initialData:{pattern:"",results:[]}}),a.focus(M),a.unblock()}))},R=function(n,t){function e(){return U(n,t)}n.ui.registry.addButton("emoticons",{tooltip:"Emoticons",icon:"emoji",onAction:e}),n.ui.registry.addMenuItem("emoticons",{text:"Emoticons...",icon:"emoji",onAction:e})};!function B(){r.add("emoticons",function(n,t){var e=E(n,t),r=F(n),o=h(n,e,r);R(n,o),function(r,o){r.ui.registry.addAutocompleter("emoticons",{ch:":",columns:"auto",minChars:2,fetch:function(t,e){return o.waitForLoad().then(function(){var n=o.listAll();return d(n,t,A.some(e))})},onAction:function(n,t,e){r.selection.setRng(t),r.insertContent(e),n.hide()}})}(n,o)})}()}(window); \ No newline at end of file diff --git a/Application/Static/js/tinymce/plugins/fullpage/plugin.min.js b/Application/Static/js/tinymce/plugins/fullpage/plugin.min.js new file mode 100644 index 0000000..4d70eb1 --- /dev/null +++ b/Application/Static/js/tinymce/plugins/fullpage/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.1.2 (2019-11-19) + */ +!function(m){"use strict";function f(t){return e({validate:!1,root_name:"#document"}).parse(t)}function g(t){return t.replace(/<\/?[A-Z]+/g,function(t){return t.toLowerCase()})}var o,i=function(t){function e(){return n}var n=t;return{get:e,set:function(t){n=t},clone:function(){return i(e())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),p=tinymce.util.Tools.resolve("tinymce.util.Tools"),e=tinymce.util.Tools.resolve("tinymce.html.DomParser"),h=tinymce.util.Tools.resolve("tinymce.html.Node"),y=tinymce.util.Tools.resolve("tinymce.html.Serializer"),v=function(t){return t.getParam("fullpage_hide_in_source_view")},r=function(t){return t.getParam("fullpage_default_xml_pi")},a=function(t){return t.getParam("fullpage_default_encoding")},c=function(t){return t.getParam("fullpage_default_font_family")},u=function(t){return t.getParam("fullpage_default_font_size")},s=function(t){return t.getParam("fullpage_default_text_color")},d=function(t){return t.getParam("fullpage_default_title")},_=function(t){return t.getParam("fullpage_default_doctype","")},b=f,n=function(t,e){var n,i,l=f(e),r={};function o(t,e){return t.attr(e)||""}return r.fontface=c(t),r.fontsize=u(t),7===(n=l.firstChild).type&&(r.xml_pi=!0,(i=/encoding="([^"]+)"/.exec(n.value))&&(r.docencoding=i[1])),(n=l.getAll("#doctype")[0])&&(r.doctype=""),(n=l.getAll("title")[0])&&n.firstChild&&(r.title=n.firstChild.value),p.each(l.getAll("meta"),function(t){var e,n=t.attr("name"),i=t.attr("http-equiv");n?r[n.toLowerCase()]=t.attr("content"):"Content-Type"===i&&(e=/charset\s*=\s*(.*)\s*/gi.exec(t.attr("content")))&&(r.docencoding=e[1])}),(n=l.getAll("html")[0])&&(r.langcode=o(n,"lang")||o(n,"xml:lang")),r.stylesheets=[],p.each(l.getAll("link"),function(t){"stylesheet"===t.attr("rel")&&r.stylesheets.push(t.attr("href"))}),(n=l.getAll("body")[0])&&(r.langdir=o(n,"dir"),r.style=o(n,"style"),r.visited_color=o(n,"vlink"),r.link_color=o(n,"link"),r.active_color=o(n,"alink")),r},x=function(t,r,e){var o,n,i,a,l,c=t.dom;function u(t,e,n){t.attr(e,n||undefined)}function s(t){n.firstChild?n.insert(t,n.firstChild):n.append(t)}o=f(e),(n=o.getAll("head")[0])||(a=o.getAll("html")[0],n=new h("head",1),a.firstChild?a.insert(n,a.firstChild,!0):a.append(n)),a=o.firstChild,r.xml_pi?(l='version="1.0"',r.docencoding&&(l+=' encoding="'+r.docencoding+'"'),7!==a.type&&(a=new h("xml",7),o.insert(a,o.firstChild,!0)),a.value=l):a&&7===a.type&&a.remove(),a=o.getAll("#doctype")[0],r.doctype?(a||(a=new h("#doctype",10),r.xml_pi?o.insert(a,o.firstChild):s(a)),a.value=r.doctype.substring(9,r.doctype.length-1)):a&&a.remove(),a=null,p.each(o.getAll("meta"),function(t){"Content-Type"===t.attr("http-equiv")&&(a=t)}),r.docencoding?(a||((a=new h("meta",1)).attr("http-equiv","Content-Type"),a.shortEnded=!0,s(a)),a.attr("content","text/html; charset="+r.docencoding)):a&&a.remove(),a=o.getAll("title")[0],r.title?(a?a.empty():s(a=new h("title",1)),a.append(new h("#text",3)).value=r.title):a&&a.remove(),p.each("keywords,description,author,copyright,robots".split(","),function(t){var e,n,i=o.getAll("meta"),l=r[t];for(e=0;e"))},C=Object.prototype.hasOwnProperty,k=(o=function(t,e){return e},function(){for(var t=new Array(arguments.length),e=0;e/g,function(t,e){return unescape(e)})},T=p.each,O=function(t){var e,n="",i="";if(r(t)){var l=a(t);n+='\n'}return n+=_(t),n+="\n\n\n",(e=d(t))&&(n+=""+e+"\n"),(e=a(t))&&(n+='\n'),(e=c(t))&&(i+="font-family: "+e+";"),(e=u(t))&&(i+="font-size: "+e+";"),(e=s(t))&&(i+="color: "+e+";"),n+="\n\n"},D=function(e,n,i){e.on("BeforeSetContent",function(t){!function(t,e,n,i){var l,r,o,a,c="",u=t.dom;if(!(i.selection||(o=A(t.settings.protect,i.content),"raw"===i.format&&e.get()||i.source_view&&v(t)))){0!==o.length||i.source_view||(o=p.trim(e.get())+"\n"+p.trim(o)+"\n"+p.trim(n.get())),-1!==(l=(o=o.replace(/<(\/?)BODY/gi,"<$1body")).indexOf("",l),e.set(g(o.substring(0,l+1))),-1===(r=o.indexOf("\n")),a=b(e.get()),T(a.getAll("style"),function(t){t.firstChild&&(c+=t.firstChild.value)});var s=a.getAll("body")[0];s&&u.setAttribs(t.getBody(),{style:s.attr("style")||"",dir:s.attr("dir")||"",vLink:s.attr("vlink")||"",link:s.attr("link")||"",aLink:s.attr("alink")||""}),u.remove("fullpage_styles");var d=t.getDoc().getElementsByTagName("head")[0];if(c)u.add(d,"style",{id:"fullpage_styles"}).appendChild(m.document.createTextNode(c));var f={};p.each(d.getElementsByTagName("link"),function(t){"stylesheet"===t.rel&&t.getAttribute("data-mce-fullpage")&&(f[t.href]=t)}),p.each(a.getAll("link"),function(t){var e=t.attr("href");if(!e)return!0;f[e]||"stylesheet"!==t.attr("rel")||u.add(d,"link",{rel:"stylesheet",text:"text/css",href:e,"data-mce-fullpage":"1"}),delete f[e]}),p.each(f,function(t){t.parentNode.removeChild(t)})}}(e,n,i,t)}),e.on("GetContent",function(t){!function(t,e,n,i){i.selection||i.source_view&&v(t)||(i.content=P(p.trim(e)+"\n"+p.trim(i.content)+"\n"+p.trim(n)))}(e,n.get(),i.get(),t)})},E=function(t){t.ui.registry.addButton("fullpage",{tooltip:"Metadata and document properties",icon:"document-properties",onAction:function(){t.execCommand("mceFullPageProperties")}}),t.ui.registry.addMenuItem("fullpage",{text:"Metadata and document properties",icon:"document-properties",onAction:function(){t.execCommand("mceFullPageProperties")}})};!function z(){t.add("fullpage",function(t){var e=i(""),n=i("");w(t,e),E(t),D(t,e,n)})}()}(window); \ No newline at end of file diff --git a/Application/Static/js/tinymce/plugins/fullscreen/plugin.min.js b/Application/Static/js/tinymce/plugins/fullscreen/plugin.min.js new file mode 100644 index 0000000..2c6aed4 --- /dev/null +++ b/Application/Static/js/tinymce/plugins/fullscreen/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.1.2 (2019-11-19) + */ +!function(l){"use strict";function e(){}function m(e){return function(){return e}}function n(){return s}var r,t=function(e){function n(){return r}var r=e;return{get:n,set:function(e){r=e},clone:function(){return t(n())}}},o=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(e){return{isFullscreen:function(){return null!==e.get()}}},c=m(!1),u=m(!0),s=(r={fold:function(e,n){return e()},is:c,isSome:c,isNone:u,getOr:d,getOrThunk:a,getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:m(null),getOrUndefined:m(undefined),or:d,orThunk:a,map:n,each:e,bind:n,exists:c,forall:u,filter:n,equals:f,equals_:f,toArray:function(){return[]},toString:m("none()")},Object.freeze&&Object.freeze(r),r);function f(e){return e.isNone()}function a(e){return e()}function d(e){return e}function h(n){return function(e){return function(e){if(null===e)return"null";var n=typeof e;return"object"==n&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"==n&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":n}(e)===n}}function v(e,n){for(var r=e.length,t=new Array(r),o=0;o${name}');return{name:"plugins",title:"Plugins",items:[{type:"htmlpanel",presets:"document",html:[(n=e,null==n?"":'
'+function(t){var e=function(e){var t=F(e.plugins);return e.settings.forced_plugins===undefined?t:function(e,t){for(var n=[],o=0,a=e.length;o"+r(t,e)+""}),o=n.length,a=n.join("");return"

"+U.translate(["Plugins installed ({0}):",o])+"

    "+a+"
"}(n)+"
"),(t=y(["Accessibility Checker","Advanced Code Editor","Advanced Tables","Case Change","Checklist","Tiny Comments","Tiny Drive","Enhanced Media Embed","Format Painter","Link Checker","Mentions","MoxieManager","Page Embed","Permanent Pen","PowerPaste","Spell Checker Pro"],function(e){return"
  • "+U.translate(e)+"
  • "}).join(""),'

    '+U.translate("Premium plugins:")+"

    ")].join("")}]}},N=tinymce.util.Tools.resolve("tinymce.EditorManager"),L=function(){var e,t,n='TinyMCE '+(e=N.majorVersion,t=N.minorVersion,0===e.indexOf("@")?"X.X.X":e+"."+t)+"";return{name:"versions",title:"Version",items:[{type:"htmlpanel",html:"

    "+U.translate(["You are using {0}",n])+"

    ",presets:"document"}]}},B=function(){return{name:"keyboardnav",title:"Keyboard Navigation",items:[{type:"htmlpanel",html:"

    Editor UI keyboard navigation

    \n\n

    Activating keyboard navigation

    \n\n

    The sections of the outer UI of the editor - the menubar, toolbar, sidebar and footer - are all keyboard navigable. As such, there are multiple ways to activate keyboard navigation:

    \n
      \n
    • Focus the menubar: Alt + F9 (Windows) or ⌥F9 (MacOS)
    • \n
    • Focus the toolbar: Alt + F10 (Windows) or ⌥F10 (MacOS)
    • \n
    • Focus the footer: Alt + F11 (Windows) or ⌥F11 (MacOS)
    • \n
    \n\n

    Focusing the menubar or toolbar will start keyboard navigation at the first item in the menubar or toolbar, which will be highlighted with a gray background. Focusing the footer will start keyboard navigation at the first item in the element path, which will be highlighted with an underline.

    \n\n

    Moving between UI sections

    \n\n

    When keyboard navigation is active, pressing tab will move the focus to the next major section of the UI, where applicable. These sections are:

    \n
      \n
    • the menubar
    • \n
    • each group of the toolbar
    • \n
    • the sidebar
    • \n
    • the element path in the footer
    • \n
    • the wordcount toggle button in the footer
    • \n
    • the branding link in the footer
    • \n
    \n\n

    Pressing shift + tab will move backwards through the same sections, except when moving from the footer to the toolbar. Focusing the element path then pressing shift + tab will move focus to the first toolbar group, not the last.

    \n\n

    Moving within UI sections

    \n\n

    Keyboard navigation within UI sections can usually be achieved using the left and right arrow keys. This includes:

    \n
      \n
    • moving between menus in the menubar
    • \n
    • moving between buttons in a toolbar group
    • \n
    • moving between items in the element path
    • \n
    \n\n

    In all these UI sections, keyboard navigation will cycle within the section. For example, focusing the last button in a toolbar group then pressing right arrow will move focus to the first item in the same toolbar group.

    \n\n

    Executing buttons

    \n\n

    To execute a button, navigate the selection to the desired button and hit space or enter.

    \n\n

    Opening, navigating and closing menus

    \n\n

    When focusing a menubar button or a toolbar button with a menu, pressing space, enter or down arrow will open the menu. When the menu opens the first item will be selected. To move up or down the menu, press the up or down arrow key respectively. This is the same for submenus, which can also be opened and closed using the left and right arrow keys.

    \n\n

    To close any active menu, hit the escape key. When a menu is closed the selection will be restored to its previous selection. This also works for closing submenus.

    \n\n

    Context toolbars and menus

    \n\n

    To focus an open context toolbar such as the table context toolbar, press Ctrl + F9 (Windows) or ⌃F9 (MacOS).

    \n\n

    Context toolbar navigation is the same as toolbar navigation, and context menu navigation is the same as standard menu navigation.

    \n\n

    Dialog navigation

    \n\n

    There are two types of dialog UIs in TinyMCE: tabbed dialogs and non-tabbed dialogs.

    \n\n

    When a non-tabbed dialog is opened, the first interactive component in the dialog will be focused. Users can navigate between interactive components by pressing tab. This includes any footer buttons. Navigation will cycle back to the first dialog component if tab is pressed while focusing the last component in the dialog. Pressing shift + tab will navigate backwards.

    \n\n

    When a tabbed dialog is opened, the first button in the tab menu is focused. Pressing tab will navigate to the first interactive component in that tab, and will cycle through the tab\u2019s components, the footer buttons, then back to the tab button. To switch to another tab, focus the tab button for the current tab, then use the arrow keys to cycle through the tab buttons.

    "}]}};!function z(){t.add("help",function(e){var t=a({}),n=function(n){return{addTab:function(e){var t=n.get();t[e.name]=e,n.set(t)}}}(t),o=A(e,t);return s(e,o),i(e,o),e.shortcuts.add("Alt+0","Open help dialog","mceHelp"),n})}()}(); \ No newline at end of file diff --git a/Application/Static/js/tinymce/plugins/hr/plugin.min.js b/Application/Static/js/tinymce/plugins/hr/plugin.min.js new file mode 100644 index 0000000..1f51336 --- /dev/null +++ b/Application/Static/js/tinymce/plugins/hr/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.1.2 (2019-11-19) + */ +!function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),o=function(n){n.addCommand("InsertHorizontalRule",function(){n.execCommand("mceInsertContent",!1,"
    ")})},t=function(n){n.ui.registry.addButton("hr",{icon:"horizontal-rule",tooltip:"Horizontal line",onAction:function(){return n.execCommand("InsertHorizontalRule")}}),n.ui.registry.addMenuItem("hr",{icon:"horizontal-rule",text:"Horizontal line",onAction:function(){return n.execCommand("InsertHorizontalRule")}})};!function e(){n.add("hr",function(n){o(n),t(n)})}()}(); \ No newline at end of file diff --git a/Application/Static/js/tinymce/plugins/image/plugin.min.js b/Application/Static/js/tinymce/plugins/image/plugin.min.js new file mode 100644 index 0000000..9b351bb --- /dev/null +++ b/Application/Static/js/tinymce/plugins/image/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.1.2 (2019-11-19) + */ +!function(s){"use strict";function o(){}function a(t){return function(){return t}}function t(t){return t}function e(){return l}var n,r=tinymce.util.Tools.resolve("tinymce.PluginManager"),u=a(!1),c=a(!0),l=(n={fold:function(t,e){return t()},is:u,isSome:u,isNone:c,getOr:d,getOrThunk:f,getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:a(null),getOrUndefined:a(undefined),or:d,orThunk:f,map:e,each:o,bind:e,exists:u,forall:c,filter:e,equals:i,equals_:i,toArray:function(){return[]},toString:a("none()")},Object.freeze&&Object.freeze(n),n);function i(t){return t.isNone()}function f(t){return t()}function d(t){return t}function m(e){return function(t){return function(t){if(null===t)return"null";var e=typeof t;return"object"==e&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"==e&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":e}(t)===e}}function v(t){for(var e=[],n=0,r=t.length;n'+n+"")}else e.insertContent(i(e,t))},g=i,y=function(e){e.addCommand("mceInsertDate",function(){p(e,t(e))}),e.addCommand("mceInsertTime",function(){p(e,o(e))})},M=tinymce.util.Tools.resolve("tinymce.util.Tools"),S=function(e){function t(){return n}var n=e;return{get:t,set:function(e){n=e},clone:function(){return S(t())}}},v=function(n){var t=u(n),r=S(c(n));n.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:function(e){return e===r.get()},fetch:function(e){e(M.map(t,function(e){return{type:"choiceitem",text:g(n,e),value:e}}))},onAction:function(){for(var e=[],t=0;t]+>[^<]+<\/a>$/.test(n)||-1===n.indexOf("href=")))},cn=L,an=function(n,t){return function(n){return n.replace(/\uFEFF/g,"")}(t?t.innerText||t.textContent:n.getContent({format:"text"}))},fn=F,ln=j,sn={sanitize:function(n){return z(M)(n)},sanitizeWith:z,createUi:function(t,e){return function(n){return{name:t,type:"selectbox",label:e,items:n}}},getValue:M},dn=function(n){function t(){return e}var e=n;return{get:t,set:function(n){e=n},clone:function(){return dn(t())}}},mn=function(n,r){function e(n,t){var e=function(n,t){return"link"===t?n.catalogs.link:"anchor"===t?n.catalogs.anchor:$.none()}(r,t.name).getOr([]);return q(o.get(),t.name,e,n)}var o=dn(n.text);return{onChange:function(n,t){return"url"===t.name?function(n){if(o.get().length<=0){var t=n.url.meta.text!==undefined?n.url.meta.text:n.url.value;return $.some({text:t})}return $.none()}(n()):N(["anchor","link"],t.name)?e(n(),t):("text"===t.name&&o.set(n().text),$.none())}}},hn=function(){return(hn=Object.assign||function(n){for(var t,e=1,r=arguments.length;ee.length?ne(t,e,n):ee(t,e,n)},[]);return S(n).map(function(e){return e.list})}(e.contentDocument,n).toArray()}function de(e){var n=g(Jn.getSelectedListItems(e),bn.fromDom);return A(N(n,t(re)),N(function(e){var n=Xe.call(e,0);return n.reverse(),n}(n),t(re)),function(e,n){return{start:e,end:n}})}function le(t,e,r){var n=function(e,n){var t=Ge(!1);return g(e,function(e){return{sourceList:e,entries:tt(0,n,t,e)}})}(e,de(t));p(n,function(e){!function(e,n){p(v(e,ie),function(e){return function(e,n){switch(e){case"Indent":n.depth++;break;case"Outdent":n.depth--;break;case"Flatten":n.depth=0}}(n,e)})}(e.entries,r);var n=function(n,e){return y(function(e,n){if(0===e.length)return[];for(var t=n(e[0]),r=[],o=[],i=0,u=e.length;i=e.childNodes.length?t.data.length:0}:t.previousSibling&&Mn(t.previousSibling)?{container:t.previousSibling,offset:t.previousSibling.data.length}:t.nextSibling&&Mn(t.nextSibling)?{container:t.nextSibling,offset:0}:{container:e,offset:n}}function ve(e,n){var t=g(Jn.getSelectedListRoots(e),bn.fromDom),r=g(Jn.getSelectedDlItems(e),bn.fromDom),o=!1;if(t.length||r.length){var i=e.selection.getBookmark();le(e,t,n),ge(e,n,r),e.selection.moveToBookmark(i),e.selection.setRng(ut(e.selection.getRng())),e.nodeChanged(),o=!0}return o}function he(e){return ve(e,"Indent")}function Ne(e){return ve(e,"Outdent")}function ye(e){return ve(e,"Flatten")}function Se(e){return/\btox\-/.test(e.className)}function Oe(e){switch(e){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}}function Ce(t,e){Pn.each(e,function(e,n){t.setAttribute(n,e)})}function be(e,n,t){!function(e,n,t){var r=t["list-style-type"]?t["list-style-type"]:null;e.setStyle(n,"list-style-type",r)}(e,n,t),function(e,n,t){Ce(n,t["list-attributes"]),Pn.each(e.select("li",n),function(e){Ce(e,t["list-item-attributes"])})}(e,n,t)}function Le(e,n,t,r){var o,i;for(o=n[t?"startContainer":"endContainer"],i=n[t?"startOffset":"endOffset"],1===o.nodeType&&(o=o.childNodes[Math.min(i,o.childNodes.length-1)]||o),!t&&qn(o.nextSibling)&&(o=o.nextSibling);o.parentNode!==r;){if(Vn(e,o))return o;if(/^(TD|TH)$/.test(o.parentNode.nodeName))return o;o=o.parentNode}return o}function Te(r,o,i){void 0===i&&(i={});var e,n=r.selection.getRng(!0),u="LI",t=Jn.getClosestListRootElm(r,r.selection.getStart(!0)),s=r.dom;"false"!==s.getContentEditable(r.selection.getNode())&&("DL"===(o=o.toUpperCase())&&(u="DT"),e=ct(n),Pn.each(function(t,e,r){for(var o,i=[],u=t.dom,n=Le(t,e,!0,r),s=Le(t,e,!1,r),a=[],c=n;c&&(a.push(c),c!==s);c=c.nextSibling);return Pn.each(a,function(e){if(Vn(t,e))return i.push(e),void(o=null);if(u.isBlock(e)||qn(e))return qn(e)&&u.remove(e),void(o=null);var n=e.nextSibling;st.isBookmarkNode(e)&&(Vn(t,n)||!n&&e.parentNode===r)?o=null:(o||(o=u.create("p"),e.parentNode.insertBefore(o,e),i.push(o)),o.appendChild(e))}),i}(r,n,t),function(e){var n,t;(t=e.previousSibling)&&Un(t)&&t.nodeName===o&&function(e,n,t){var r=e.getStyle(n,"list-style-type"),o=t?t["list-style-type"]:"";return r===(o=null===o?"":o)}(s,t,i)?(n=t,e=s.rename(e,u),t.appendChild(e)):(n=s.create(o),e.parentNode.insertBefore(n,e),n.appendChild(e),e=s.rename(e,u)),function(t,r,e){Pn.each(e,function(e){var n;return t.setStyle(r,((n={})[e]="",n))})}(s,e,["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"]),be(s,n,i),dt(r.dom,n)}),r.selection.setRng(ft(e)))}function De(e,n,t){return function(e,n){return e&&n&&Un(e)&&e.nodeName===n.nodeName}(n,t)&&function(e,n,t){return e.getStyle(n,"list-style-type",!0)===e.getStyle(t,"list-style-type",!0)}(e,n,t)&&function(e,n){return e.className===n.className}(n,t)}function Ee(n,e,t,r,o){if(e.nodeName!==r||lt(o)){var i=ct(n.selection.getRng(!0));Pn.each([e].concat(t),function(e){!function(e,n,t,r){if(n.nodeName!==t){var o=e.dom.rename(n,t);be(e.dom,o,r),j(e,Oe(t),o)}else be(e.dom,n,r),j(e,Oe(t),n)}(n,e,r,o)}),n.selection.setRng(ft(i))}else ye(n)}function we(e,n){var t,r=n.parentNode;"LI"===r.nodeName&&r.firstChild===n&&((t=r.previousSibling)&&"LI"===t.nodeName?(t.appendChild(n),Xn(e,r)&>.remove(r)):gt.setStyle(r,"listStyleType","none")),Un(r)&&(t=r.previousSibling)&&"LI"===t.nodeName&&t.appendChild(n)}function ke(e,n,t,r){var o=n.startContainer,i=n.startOffset;if(Mn(o)&&(t?i"}(n):"application/x-shockwave-flash"===n.source1mime?function(e){var t='';return e.poster&&(t+=''),t+=""}(n):-1!==n.source1mime.indexOf("audio")?function(e,t){return t?t(e):'"}(n,o):"script"===n.type?function(e){return' + + + diff --git a/Application/Views/index.php b/Application/Views/index.php index 5e03517..49047cc 100644 --- a/Application/Views/index.php +++ b/Application/Views/index.php @@ -1,39 +1,40 @@ include('layouts/head'); ?> +

    Welcome to metaforums!

    -
    -
    +
    +
    {{ group.group_name }}
    -
    -
    +
    +
    {{ category.category_name }}
    -
    -
    -
    -
    Create New Thread
    -
    -
    -
    +
    +
    +
    +
    Create New Thread
    +
    +
    +
    -
    -
    +
    +

    [HOT]

    -
    +
    {{ thread.title }}
    -
    +
    by {{ thread.author_model.username }}
    -
    +
    View: {{ thread.view_count }} Post count: {{ thread.post_count }}
    -
    +
    {{ thread.last_reply }}
    @@ -59,25 +60,46 @@ var selectapp = new Vue({ }, methods: { change_category(id) { + this.current_category = id; + this.threads = []; + this.current_thread = 0; + $("#threadreader").html(""); + $("#editor").html(""); + window.history.pushState('category-'+id,'','/?category='+id+window.location.hash); $.ajax("/api/get_threads?id="+id) .done(function(data) { this.threads = data; }.bind(this)); }, change_group(id) { + this.current_group = id; + this.categories = []; + this.current_category = 0; + this.threads = []; + this.current_thread = 0; + $("#threadreader").html(""); + $("#editor").html(""); + window.history.pushState('group-'+id,'','/?group='+id+window.location.hash); $.ajax("/api/get_categories?id="+id) .done(function(data) { this.categories = data; }.bind(this)); }, change_thread(id) { + if(this.current_thread != 0 && this.current_thread != id) { + window.location.hash = "#"; + } else if(this.current_thread == id) return; + this.current_thread = id; + $("#editor").html(""); + window.history.pushState('thread-'+id,'','/?thread='+id+window.location.hash); $.ajax("/thread?id="+id) .done(function(data) { $("#threadreader").html(data); - $("#editor").html(""); + window.location.hash = window.location.hash; }.bind(this)); }, new_thread(id) { + this.current_thread = 0; $.ajax("/thread/editor?category="+id) .done(function(data) { $("#threadreader").html(""); @@ -85,18 +107,21 @@ var selectapp = new Vue({ }.bind(this)); }, }, - updated: function() { - if(this.current_thread > 0) { - this.change_thread(this.current_thread); + mounted: function() { + id.")\n"; + } + if(isset($category)) { + echo "this.change_category(".$category->id.")\n"; + } + if(isset($thread)) { + echo "this.change_thread(".$thread->id.")\n"; + } + ?> } - if(this.current_category > 0) { - this.change_category(this.current_category); - } - if(this.current_group > 0) { - this.change_group(this.current_group); - } - }, }); + include('layouts/foot'); diff --git a/Application/Views/layouts/head.php b/Application/Views/layouts/head.php index 6181b5f..893fae4 100644 --- a/Application/Views/layouts/head.php +++ b/Application/Views/layouts/head.php @@ -1,26 +1,27 @@ + - - - + + Metaforums +
    - isModerator()) { ?> - User Management - isLoggedIn()) { ?> - Logout + user()->is_moderator) { ?> + User Management + + Logout - Login - Signup + Login + Signup
    diff --git a/Application/Views/me.php b/Application/Views/me.php new file mode 100644 index 0000000..21982a7 --- /dev/null +++ b/Application/Views/me.php @@ -0,0 +1,43 @@ +include('layouts/head'); +?> +

    Account Management

    +
    +
    +
    + + hasChangedNameRecently() ? "disabled" : "" ?>> +
    +
    + + +
    +
    + "> + +
    +
    +

    Current avatar:

    + user()->avatar_path : "noava.jpg" ?>"> +
    +
    + + +
    +
    + +
    + +
    +
    + + + + +include('layouts/foot'); +?> diff --git a/Application/Views/moderating-editor.php b/Application/Views/moderating-editor.php new file mode 100644 index 0000000..09c063d --- /dev/null +++ b/Application/Views/moderating-editor.php @@ -0,0 +1,67 @@ +
    +
    +
    +
    +

    + +

    +
    +
    +
    + +
    + user()->avatar_path : "noava.jpg" ?>"> +

    user()->username ?>

    +
    +
    +
    +
    + "> + "> + "> + +
    +
    + +
    +
    +
    + diff --git a/Application/Views/moderation.php b/Application/Views/moderation.php new file mode 100644 index 0000000..aa76e79 --- /dev/null +++ b/Application/Views/moderation.php @@ -0,0 +1,81 @@ +include('layouts/head'); +?> +

    Recent Abuse Reports

    +
    +
    +
    + {{ group.group_name }} +
    +
    +
    +
    + {{ category.category_name }} +
    +
    +
    +
    +
    {{ report.post.title }}
    +
    Reported by {{ report.reporter.username }}
    +
    Post by {{ report.reported.username }}
    +
    {{ report.elapsed }}
    +
    +
    +
    +
    +
    +
    +
    + +include('layouts/foot'); +?> diff --git a/Application/Views/profile.php b/Application/Views/profile.php new file mode 100644 index 0000000..4e5cc5a --- /dev/null +++ b/Application/Views/profile.php @@ -0,0 +1,81 @@ +include('layouts/head'); +?> +
    +
    +
    +

    username ?>'s profile

    + isLoggedIn() && $auth->user()->id == $user->id) { ?> +

    Edit

    + +
    +
    +
    + +
    + avatar_path : "noava.jpg" ?>"> +

    username ?>

    +
    +
    +
    +

    status ?>

    +
    +
    +

    role_string ?>

    +
    +
    +

    post_count ?> posts

    +
    +
    +

    elapsed_login ?>

    +
    +
    +

    Active

    +
    +
    +
    +

    About me

    +

    about ?>

    +
    +
    +

    Additional information

    + + + + + + + + + + + + + + + + + +
    Usernameusername ?>
    Emailemail_visible ? $user->email : "hidden" ?>
    Most Active Inmost_active()->category_name ?> (most_active()->group()->group_name ?>)
    Number of Heartshearts ?>
    +
    +
    +

    Recent posts

    + + recent_posts(5) as $post) { ?> + + + + + + +
    title ?>by thread()->author_model->username ?>elapsed_created ?>
    +
    +
    +
    +
    +
    +
    + +include('layouts/foot'); +?> diff --git a/Application/Views/thread.php b/Application/Views/thread.php index 8250fbb..dfff170 100644 --- a/Application/Views/thread.php +++ b/Application/Views/thread.php @@ -1,3 +1,11 @@ +isLocked()) { ?> +
    +This thread has been locked for lock()->duration ?>. See the last post for reason why. +user()->didIModerateThis($thread->category_id) ) { ?> +Unlock this thread + +
    +

    Thread in: category()->category_name ?>

    title ?>

    @@ -13,24 +21,24 @@
    -
    - +
    + user()->avatar_path : "noava.jpg" ?>">

    user()->username ?>

    -
    -

    user()->logged_in ? 'Online' : 'Offline' ?>

    +
    +

    user()->status ?>

    -
    +

    user()->role_string ?>

    -
    +

    user()->post_count ?> posts

    -
    -

    user()->last_login ?>

    +
    +

    user()->elapsed_login ?>

    -
    +
    user()->isBanned($thread->category()->id)) { ?>

    Banned

    user()->isSilenced($thread->category()->id)) { ?> @@ -45,20 +53,27 @@