(self.webpackChunk=self.webpackChunk||[]).push([[34],{78249:(t,e,o)=>{var i={"./comment_component/comment_component.scss":12511,"./comment_votes_tooltip_component/comment_votes_tooltip_component.scss":22658,"./favorites_tooltip_component/favorites_tooltip_component.scss":90643,"./file_upload_component/file_upload_component.scss":69636,"./forum_post_component/forum_post_component.scss":81437,"./media_asset_component/media_asset_component.scss":21033,"./media_asset_gallery_component/media_asset_gallery_component.scss":55548,"./media_asset_preview_component/media_asset_preview_component.scss":80510,"./paginator_component/paginator_component.scss":10640,"./popup_menu_component/popup_menu_component.scss":40833,"./post_gallery_component/post_gallery_component.scss":48724,"./post_navbar_component/post_navbar_component.scss":17157,"./post_preview_component/post_preview_component.scss":44924,"./post_votes_component/post_votes_component.scss":43826,"./post_votes_tooltip_component/post_votes_tooltip_component.scss":33430,"./source_data_component/source_data_component.scss":95513,"./tab_panel_component/tab_panel_component.scss":76285,"./tag_list_component/tag_list_component.html.scss":12449,"comment_component/comment_component.scss":12511,"comment_votes_tooltip_component/comment_votes_tooltip_component.scss":22658,"favorites_tooltip_component/favorites_tooltip_component.scss":90643,"file_upload_component/file_upload_component.scss":69636,"forum_post_component/forum_post_component.scss":81437,"media_asset_component/media_asset_component.scss":21033,"media_asset_gallery_component/media_asset_gallery_component.scss":55548,"media_asset_preview_component/media_asset_preview_component.scss":80510,"paginator_component/paginator_component.scss":10640,"popup_menu_component/popup_menu_component.scss":40833,"post_gallery_component/post_gallery_component.scss":48724,"post_navbar_component/post_navbar_component.scss":17157,"post_preview_component/post_preview_component.scss":44924,"post_votes_component/post_votes_component.scss":43826,"post_votes_tooltip_component/post_votes_tooltip_component.scss":33430,"source_data_component/source_data_component.scss":95513,"tab_panel_component/tab_panel_component.scss":76285,"tag_list_component/tag_list_component.html.scss":12449};function s(t){var e=a(t);return o(e)}function a(t){if(!o.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}s.keys=function(){return Object.keys(i)},s.resolve=a,t.exports=s,s.id=78249},55052:(t,e,o)=>{var i={"./artist_commentaries.js":66974,"./autocomplete.js":84835,"./blacklists.js":51678,"./comment_component.js":33875,"./comment_votes_tooltip_component.js":83688,"./common.js":62855,"./cookie.js":94141,"./current_user.js":55056,"./draggable.js":88186,"./dtext.js":77994,"./favorite_groups.js":68441,"./favorites_tooltip_component.js":9196,"./file_upload_component.js":22472,"./forum_post_component.js":68699,"./help_tooltip_component.js":966,"./iqdb_queries.js":63881,"./media_asset_component.js":81922,"./mod_queue.js":41207,"./news_updates.js":28326,"./notes.js":36520,"./pools.js":83013,"./popup_menu_component.js":78122,"./post_mode_menu.js":24596,"./post_tooltips.js":84785,"./post_version.js":7832,"./post_votes_tooltip_component.js":3045,"./posts.js":86168,"./preview_size_menu_component.js":2201,"./related_tag.js":29196,"./responsive.js":65263,"./shortcuts.js":36381,"./source_data_component.js":28517,"./tag_counter.js":47620,"./time_series_component.js":85718,"./ugoira.js":74569,"./uploads.js":44741,"./user_tooltips.js":88254,"./utility.js":20866,"src/javascripts/artist_commentaries.js":66974,"src/javascripts/autocomplete.js":84835,"src/javascripts/blacklists.js":51678,"src/javascripts/comment_component.js":33875,"src/javascripts/comment_votes_tooltip_component.js":83688,"src/javascripts/common.js":62855,"src/javascripts/cookie.js":94141,"src/javascripts/current_user.js":55056,"src/javascripts/draggable.js":88186,"src/javascripts/dtext.js":77994,"src/javascripts/favorite_groups.js":68441,"src/javascripts/favorites_tooltip_component.js":9196,"src/javascripts/file_upload_component.js":22472,"src/javascripts/forum_post_component.js":68699,"src/javascripts/help_tooltip_component.js":966,"src/javascripts/iqdb_queries.js":63881,"src/javascripts/media_asset_component.js":81922,"src/javascripts/mod_queue.js":41207,"src/javascripts/news_updates.js":28326,"src/javascripts/notes.js":36520,"src/javascripts/pools.js":83013,"src/javascripts/popup_menu_component.js":78122,"src/javascripts/post_mode_menu.js":24596,"src/javascripts/post_tooltips.js":84785,"src/javascripts/post_version.js":7832,"src/javascripts/post_votes_tooltip_component.js":3045,"src/javascripts/posts.js":86168,"src/javascripts/preview_size_menu_component.js":2201,"src/javascripts/related_tag.js":29196,"src/javascripts/responsive.js":65263,"src/javascripts/shortcuts.js":36381,"src/javascripts/source_data_component.js":28517,"src/javascripts/tag_counter.js":47620,"src/javascripts/time_series_component.js":85718,"src/javascripts/ugoira.js":74569,"src/javascripts/uploads.js":44741,"src/javascripts/user_tooltips.js":88254,"src/javascripts/utility.js":20866};function s(t){var e=a(t);return o(e)}function a(t){if(!o.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}s.keys=function(){return Object.keys(i)},s.resolve=a,t.exports=s,s.id=55052},44353:(t,e,o)=>{var i={"./base/000_vars.scss":25038,"./base/010_reset.scss":79045,"./base/020_base.scss":47302,"./base/030_links.scss":73947,"./base/040_colors.scss":74879,"./common/autocomplete.scss":97900,"./common/blacklists.scss":10137,"./common/buttons.scss":26762,"./common/diffs.scss":82210,"./common/dtext.scss":59655,"./common/fonts.css":21344,"./common/inline.scss":97261,"./common/jquery_ui_custom.scss":26757,"./common/main_layout.scss":15569,"./common/messages.scss":85615,"./common/news.scss":13625,"./common/notices.scss":35849,"./common/page_header.scss":43282,"./common/recent_posts.scss":54934,"./common/simple_form.scss":1687,"./common/tables.scss":63091,"./common/tags.scss":25125,"./common/user_styles.scss":88260,"./common/utilities.scss":52390,"./common/versions.scss":68777,"./specific/artists.scss":73661,"./specific/bans.scss":74312,"./specific/common_tooltips.scss":63477,"./specific/dmails.scss":59992,"./specific/error.scss":40480,"./specific/forum.scss":2487,"./specific/notes.scss":27775,"./specific/pools.scss":12916,"./specific/post_mode_menu.scss":20701,"./specific/post_tooltips.scss":42532,"./specific/post_versions.scss":58298,"./specific/posts.scss":53083,"./specific/related_tags.scss":51463,"./specific/uploads.scss":62868,"./specific/user_feedback.scss":81042,"./specific/user_tooltips.scss":99497,"./specific/user_upgrades.scss":16046,"./specific/users.scss":17201,"./specific/wiki_page_versions.scss":60070,"./specific/z_responsive.scss":18748,"src/styles/base/000_vars.scss":25038,"src/styles/base/010_reset.scss":79045,"src/styles/base/020_base.scss":47302,"src/styles/base/030_links.scss":73947,"src/styles/base/040_colors.scss":74879,"src/styles/common/autocomplete.scss":97900,"src/styles/common/blacklists.scss":10137,"src/styles/common/buttons.scss":26762,"src/styles/common/diffs.scss":82210,"src/styles/common/dtext.scss":59655,"src/styles/common/fonts.css":21344,"src/styles/common/inline.scss":97261,"src/styles/common/jquery_ui_custom.scss":26757,"src/styles/common/main_layout.scss":15569,"src/styles/common/messages.scss":85615,"src/styles/common/news.scss":13625,"src/styles/common/notices.scss":35849,"src/styles/common/page_header.scss":43282,"src/styles/common/recent_posts.scss":54934,"src/styles/common/simple_form.scss":1687,"src/styles/common/tables.scss":63091,"src/styles/common/tags.scss":25125,"src/styles/common/user_styles.scss":88260,"src/styles/common/utilities.scss":52390,"src/styles/common/versions.scss":68777,"src/styles/specific/artists.scss":73661,"src/styles/specific/bans.scss":74312,"src/styles/specific/common_tooltips.scss":63477,"src/styles/specific/dmails.scss":59992,"src/styles/specific/error.scss":40480,"src/styles/specific/forum.scss":2487,"src/styles/specific/notes.scss":27775,"src/styles/specific/pools.scss":12916,"src/styles/specific/post_mode_menu.scss":20701,"src/styles/specific/post_tooltips.scss":42532,"src/styles/specific/post_versions.scss":58298,"src/styles/specific/posts.scss":53083,"src/styles/specific/related_tags.scss":51463,"src/styles/specific/uploads.scss":62868,"src/styles/specific/user_feedback.scss":81042,"src/styles/specific/user_tooltips.scss":99497,"src/styles/specific/user_upgrades.scss":16046,"src/styles/specific/users.scss":17201,"src/styles/specific/wiki_page_versions.scss":60070,"src/styles/specific/z_responsive.scss":18748};function s(t){var e=a(t);return o(e)}function a(t){if(!o.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}s.keys=function(){return Object.keys(i)},s.resolve=a,t.exports=s,s.id=44353},74386:(t,e,o)=>{var i={"./pixiv-ugoira-player.js":77867,"vendor/pixiv-ugoira-player.js":77867};function s(t){var e=a(t);return o(e)}function a(t){if(!o.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}s.keys=function(){return Object.keys(i)},s.resolve=a,t.exports=s,s.id=74386},41307:(t,e,o)=>{"use strict";o(41817),o(72443),o(69007),o(16066),o(83510),o(41840),o(32159),o(21703),o(9170),o(32120),o(52262),o(67635),o(77287),o(84944),o(86535),o(26699),o(66992),o(57658),o(85827),o(96644),o(65069),o(2707),o(33792),o(99244),o(30541),o(18264),o(39575),o(35837),o(38862),o(25438),o(61874),o(9494),o(31354),o(56977),o(19601),o(59595),o(35500),o(38559),o(46314),o(94869),o(33952),o(54678),o(91058),o(88674),o(17922),o(34668),o(17727),o(83593),o(81299),o(24603),o(28450),o(74916),o(92087),o(77601),o(39714),o(24506),o(27852),o(32023),o(4723),o(76373),o(15306),o(68757),o(64765),o(23123),o(23157),o(73210),o(48702),o(55674),o(44197),o(76495),o(87145),o(35109),o(65125),o(82472),o(49743),o(8255),o(29135),o(48675),o(33105),o(63408),o(14590),o(98145),o(95206),o(3462),o(33824),o(12974),o(4129),o(16586),o(19258),o(84811),o(34286),o(52550),o(1999),o(61886),o(59422),o(8e4),o(83475),o(46273),o(56882),o(78525),o(27004),o(3087),o(97391),o(4763),o(66342),o(40787),o(1094),o(23647),o(68216),o(88449),o(31672),o(74326),o(15581),o(78631),o(48746),o(57640),o(25387),o(64211),o(12771),o(62962),o(71790),o(51568),o(26349),o(30800),o(67427),o(32279),o(13384),o(2490),o(85567),o(18359),o(5332),o(79433),o(59849),o(59461),o(82499),o(34514),o(26877),o(64994),o(9924),o(72608),o(41874),o(66043),o(23748),o(71501),o(10072),o(23042),o(99137),o(71957),o(96306),o(103),o(8582),o(90618),o(74592),o(88440),o(58276),o(35082),o(12813),o(18222),o(24838),o(38563),o(50336),o(7512),o(74442),o(87713),o(46603),o(70100),o(10490),o(13187),o(60092),o(19041),o(30666),o(51638),o(62975),o(15728),o(46056),o(44299),o(5162),o(50292),o(29427),o(99964),o(75238),o(4987),o(1025),o(77479),o(34582),o(47896),o(12647),o(98558),o(84018),o(97507),o(61605),o(49076),o(34999),o(88921),o(96248),o(27561),o(13599),o(11477),o(64362),o(15389),o(46006),o(3440),o(90401),o(66244),o(45164),o(89772),o(91238),o(88910),o(54837),o(87485),o(56767),o(69916),o(76651),o(61437),o(63252),o(35285),o(17454),o(39865),o(86035),o(50058),o(67501),o(85576),o(98275),o(71842),o(609),o(21568),o(54534),o(95090),o(34744),o(48824),o(44130),o(35954),o(16850),o(26182),o(8922),o(5835),o(23767),o(8585),o(8970),o(84444),o(68696),o(78206),o(76478),o(79715),o(12714),o(5964),o(43561),o(32049),o(86020),o(56585),o(33948),o(87714),o(82801),o(1174),o(84633),o(85844),o(71550),o(61295),o(60285),o(83753),o(41637);var i=o(39492),s=o(90837),a=o(70421),n=o(11095),r=o(4002),c=o.n(r),l=(o(22506),o(84835)),p=o(66974),d=o(51678),g=o(33875),u=o(83688),m=o(94141),f=o(55056),h=o(88186),_=o(77994),b=o(9196),v=o(22472),w=o(68699),y=o(966),x=o(63881),k=o.n(x),z=o(36520),j=o(81922),E=o(78122),T=o(86168),S=o(24596),D=o(84785),C=o(3045),I=o(2201),O=o(29196),L=o(36381),A=o(47620),M=o(85718),H=o(44741),N=o(88254),R=o(20866),P=o(74569);function U(t){t.keys().forEach(t)}o(18535).start(),o(50840),o(57384),U(o(74386)),o(50425),o(92993),o(79366),o(92466),o(70446),o(56268),o(22330),o(36773),o(70701),U(o(55052)),U(o(44353)),U(o(78249));let F={};F.Autocomplete=l.default,F.ArtistCommentary=p.default,F.Blacklist=d.default,F.CommentComponent=g.default,F.CommentVotesTooltipComponent=u.default,F.Cookie=m.default,F.CurrentUser=f.default,F.Draggable=h.default,F.Dtext=_.default,F.FavoritesTooltipComponent=b.default,F.FileUploadComponent=v.default,F.ForumPostComponent=w.default,F.HelpTooltipComponent=y.default,F.IqdbQuery=k(),F.MediaAssetComponent=j.default,F.Note=z.default,F.PopupMenuComponent=E.default,F.Post=T.default,F.PostModeMenu=S.default,F.PostTooltip=D.default,F.PostVotesTooltipComponent=C.default,F.PreviewSizeMenuComponent=I.default,F.RelatedTag=O.default,F.Shortcuts=L.default,F.TagCounter=A.default,F.TimeSeriesComponent=M.default,F.Upload=H.default,F.UserTooltip=N.default,F.Utility=R.default,F.Ugoira=P.default,F.notice=R.default.notice,F.error=R.default.error,window.$=c(),window.jQuery=c(),window.morphdom=i.Z,window.Alpine=s.Z,window.Danbooru=F,s.Z.plugin(a.Z),s.Z.plugin(n.Z),$((()=>s.Z.start()))},66974:(t,e,o)=>{"use strict";o.r(e);var i=o(20866),s=o(18535),a=o.n(s);let n={initialize_all:function(){$("#c-posts").length&&$("#a-show").length&&($("#original-artist-commentary").length&&$("#translated-artist-commentary").length&&this.initialize_commentary_display_tabs(),this.initialize_edit_commentary_dialog())},initialize_commentary_display_tabs:function(){$("#commentary-sections li a").on("click.danbooru",(function(t){"#original"===t.target.hash?($("#original-artist-commentary").show(),$("#translated-artist-commentary").hide()):"#translated"===t.target.hash&&($("#original-artist-commentary").hide(),$("#translated-artist-commentary").show()),$("#commentary-sections li").removeClass("active"),$(t.target).parent("li").addClass("active"),t.preventDefault()}))},initialize_edit_commentary_dialog:function(){$("#add-commentary-dialog").dialog({autoOpen:!1,width:700,buttons:{Submit:function(){let t=$("#add-commentary-dialog #edit-commentary").get(0);a().fire(t,"submit"),$(this).dialog("close")},Cancel:function(){$(this).dialog("close")}}}),$("#add-commentary-dialog #edit-commentary").submit((function(){$("#add-commentary-dialog").dialog("close")})),$("#add-commentary").on("click.danbooru",(function(t){t.preventDefault(),$("#add-commentary-dialog").dialog("open")})),$('#fetch-commentary select[name="commentary_source_type"]').change((function(){$("#fetch-commentary input").toggle()})),$('#fetch-commentary button[type="submit"]').on("click.danbooru",n.fetch_commentary)},fetch_commentary:function(){var t="";i.default.notice("Fetching artist commentary...");var e=$('#fetch-commentary select[name="commentary_source_type"]').val();if("Source"===e){var o=$('#fetch-commentary input[name="commentary_source"]').val();t=n.from_source(o)}else if("Post"===e){var s=$('#fetch-commentary input[name="commentary_post_id"]').val();t=n.from_post_id(s)}return t.then(n.fill_commentary).then((function(t){var e=t?"Artist commentary copied.":"Artist commentary copied; conflicting fields ignored.";i.default.notice(e)})).catch((function(){i.default.notice("Fetching artist commentary failed.")})),!1},from_source:function(t){return $.get("/source.json?url="+encodeURIComponent(t)).then((function(e){return{original_title:e.artist_commentary.dtext_title,original_description:e.artist_commentary.dtext_description,source:t}}))},from_post_id:function(t){return $.get("/posts/"+encodeURIComponent(t)+"/artist_commentary.json").then((function(e){return e.source="post #"+t,e}))},fill_commentary:function(t){var e=n.merge_commentaries($("#artist_commentary_original_description").val().trim(),t);return $("#artist_commentary_original_description").val(e),[n.update_field($("#artist_commentary_original_title"),t.original_title),n.update_field($("#artist_commentary_translated_title"),t.translated_title),n.update_field($("#artist_commentary_translated_description"),t.translated_description)].every((function(t){return t}))},merge_commentaries:function(t,e){var o=$(".image-container").data().source,i=$(".image-container").data().normalizedSource;return e.original_description&&t&&e.original_description!==t?t+"\n\n[tn]\nSource: "+i+"\n[/tn]\n\nh6. "+(e.original_title||"Untitled")+"\n\n"+e.original_description+"\n\n[tn]\nSource: "+e.source+"\n[/tn]":e.source!==o?e.original_description+"\n\n[tn]\nSource: "+e.source+"\n[/tn]":e.original_description||t},update_field:function(t,e){return t.closest(".input").removeClass("field_with_errors"),""===t.val().trim()?(t.val(e),!0):t.val().trim()===e||(t.closest(".input").addClass("field_with_errors"),!1)}};$((function(){n.initialize_all()})),e.default=n},84835:(t,e,o)=>{"use strict";o.r(e);let i={VERSION:1,MAX_RESULTS:20,initialize_all:function(){$.widget("ui.autocomplete",$.ui.autocomplete,{options:{delay:0,minLength:1,autoFocus:!1,focus:function(){return!1}},_create:function(){this.element.on("keydown.Autocomplete.tab",null,"tab",i.on_tab),this._super()},_renderItem:i.render_item,search:function(t,e){$(this).data("ui-autocomplete")&&($(this).data("ui-autocomplete").menu.bindings=$()),this._super(t,e)}}),this.initialize_tag_autocomplete(),this.initialize_mention_autocomplete($("form div.input.dtext textarea")),this.initialize_fields($('[data-autocomplete="tag"]'),"tag"),this.initialize_fields($('[data-autocomplete="artist"]'),"artist"),this.initialize_fields($('[data-autocomplete="pool"]'),"pool"),this.initialize_fields($('[data-autocomplete="user"]'),"user"),this.initialize_fields($('[data-autocomplete="wiki-page"]'),"wiki_page"),this.initialize_fields($('[data-autocomplete="favorite-group"]'),"favorite_group"),this.initialize_fields($('[data-autocomplete="saved-search-label"]'),"saved_search_label")},initialize_fields:function(t,e){t.autocomplete({source:async function(t,o){o(await i.autocomplete_source(t.term,e))}})},initialize_mention_autocomplete:function(t){t.autocomplete({select:function(t,e){return i.insert_completion(this,e.item.value),!1},source:async function(t,e){for(var o=this.element.get(0).selectionStart,s=null,a=o;a>=1;--a){if(" "===t.term[a-1])return;if("@"===t.term[a-1]){if(1===a||/[ \r\n]/.test(t.term[a-2])){s=t.term.substring(a,o);break}return}}if(s){e(await i.autocomplete_source(s,"mention"))}}})},initialize_tag_autocomplete:function(){$('[data-autocomplete="tag-query"], [data-autocomplete="tag-edit"]').autocomplete({select:function(t,e){return i.insert_completion(this,e.item.value),!1},source:async function(t,e){let o=i.current_term(this.element);e(await i.autocomplete_source(o,"tag_query"))}})},current_term:function(t){let e=t.get(0).value,o=t.get(0).selectionStart,s=new RegExp(`^[-~(]*(${i.tag_prefixes().join("|")})?`);return e.substring(0,o).match(/\S*$/)[0].replace(s,"").toLowerCase()},insert_completion:function(t,e){var o=t.value.substring(0,t.selectionStart).replace(/^[ \t]+|[ \t]+$/gm,""),s=t.value.substring(t.selectionStart).replace(/^[ \t]+|[ \t]+$/gm,""),a=new RegExp(`([-~(]*(?:${i.tag_prefixes().join("|")})?)\\S+$`,"g");o=o.replace(a,"$1")+e+" ",t.value=o+s,t.selectionStart=t.selectionEnd=o.length,$(t).trigger("input")},on_tab:function(t){var e=$(this).autocomplete("instance"),o=e.menu.element;if(o.is(":visible")){if(0===o.has(".ui-state-active").length){var s=o.find(".ui-menu-item").first().data().uiAutocompleteItem.value;i.insert_completion(this,s),e.close()}t.preventDefault()}},render_item:function(t,e){return e.html.data("ui-autocomplete-item",e),t.append(e.html)},autocomplete_source:async function(t,e){if(""===t)return[];let o=await $.get("/autocomplete",{"search[query]":t,"search[type]":e,version:i.VERSION,limit:i.MAX_RESULTS});return $(o).find("li").toArray().map((t=>{let e=$(t);return{value:e.attr("data-autocomplete-value"),html:e}}))},tag_prefixes:function(){return JSON.parse($("meta[name=autocomplete-tag-prefixes]").attr("content"))}};$(document).ready((function(){i.initialize_all()})),e.default=i},51678:(t,e,o)=>{"use strict";o.r(e);var i=o(20866),s=o(94141);let a={entries:[],parse_entry:function(t){var e={tags:t,require:[],exclude:[],optional:[],disabled:!1,hits:0,min_score:null};return i.default.splitWords(t).forEach((function(t){if("-"===t.charAt(0))e.exclude.push(t.slice(1));else if("~"===t.charAt(0))e.optional.push(t.slice(1));else if(t.match(/^score:<.+/)){var o=t.match(/^score:<(.+)/)[1];e.min_score=parseInt(o)}else e.require.push(t)})),e},parse_entries:function(){var t=(i.default.meta("blacklisted-tags")||"nozomiisthebestlovelive").replace(/(rating:\w)\w+/gi,"$1").toLowerCase().split(/,/);(t=t.filter((t=>""!==t.trim()))).forEach((function(t){var e=a.parse_entry(t);a.entries.push(e)}))},toggle_entry:function(t){var e=$(t.target),o=e.text(),i=$.grep(a.entries,(function(t,e){return t.tags===o}))[0];i&&(i.disabled=!i.disabled,i.disabled?e.addClass("blacklisted-inactive"):e.removeClass("blacklisted-inactive")),a.apply(),t.preventDefault()},update_sidebar:function(){a.entries.forEach((function(t){if(0===t.hits.length)return;var e=$("
"),o=$(""),i=$("");o.text(t.tags),o.attr("href",`/posts?tags=${encodeURIComponent(t.tags)}`),o.attr("title",t.tags),o.on("click.danbooru",a.toggle_entry);let s=new Set(t.hits).size;i.html(s),i.addClass("count"),e.append(o),e.append(" "),e.append(i),$("#blacklist-list").append(e)})),$("#blacklist-box").show()},disable_all:function(){a.entries.forEach((function(t){t.disabled=!0})),a.posts().removeClass("blacklisted-active"),$("#disable-all-blacklists").hide(),$("#re-enable-all-blacklists").show(),$("#blacklist-list a").addClass("blacklisted-inactive")},enable_all:function(){a.entries.forEach((function(t){t.disabled=!1})),a.apply(),$("#disable-all-blacklists").show(),$("#re-enable-all-blacklists").hide(),$("#blacklist-list a").removeClass("blacklisted-inactive")},initialize_disable_all_blacklists:function(){"1"===s.default.get("dab")?a.disable_all():$("#disable-all-blacklists").show(),$("#disable-all-blacklists").on("click.danbooru",(function(t){s.default.put("dab","1"),a.disable_all(),t.preventDefault()})),$("#re-enable-all-blacklists").on("click.danbooru",(function(t){s.default.put("dab","0"),a.enable_all(),t.preventDefault()}))},apply:function(){a.entries.forEach((function(t){t.hits=[]}));var t=0;return a.posts().each((function(e,o){t+=a.apply_post(o)})),t},apply_post:function(t){var e=0;return a.entries.forEach((function(o){if(a.post_match(t,o)){let i=$(t).data("id");o.hits.push(i),e+=1}})),e>0?a.post_hide(t):a.post_unhide(t),e},posts:function(){return $(".post-preview, .image-container, #c-comments .post, .mod-queue-preview.post-preview")},post_match:function(t,e){if(e.disabled)return!1;var o=$(t),s=parseInt(o.attr("data-score")),a=null===e.min_score||s0&&(a.update_sidebar(),a.initialize_disable_all_blacklists())}};$(document).ready((function(){0!==$("#blacklist-box").length&&a.initialize_all()})),e.default=a},33875:(t,e,o)=>{"use strict";o.r(e);var i=o(20866);class s{static initialize(){$("#c-posts #a-show, #c-comments").length&&($(document).on("click.danbooru.comment",".edit_comment_link",s.showEditForm),$(document).on("click.danbooru.comment",".expand-comment-response",s.showNewCommentForm),$(document).on("click.danbooru.comment",".comment-copy-id",s.copyID),$(document).on("click.danbooru.comment",".comment-copy-link",s.copyLink))}static showNewCommentForm(t){$(t.target).hide();var e=$(t.target).closest("div.new-comment").find("form");e.show(),e[0].scrollIntoView(!1),e.find("textarea").selectEnd(),t.preventDefault()}static showEditForm(t){$(this).closest(".comment").find(".edit_comment").show(),t.preventDefault()}static async copyID(t){let e=`comment #${$(this).closest(".comment").data("id")}`;i.default.copyToClipboard(e),t.preventDefault()}static async copyLink(t){let e=$(this).closest(".comment").data("id"),o=`${window.location.origin}/comments/${e}`;i.default.copyToClipboard(o),t.preventDefault()}}$(document).ready(s.initialize),e.default=s},83688:(t,e,o)=>{"use strict";o.r(e);var i=o(20866),s=o(31051);function a(t,e,o){return(e=function(t){var e=function(t,e){if("object"!==typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}class n{static initialize(){0!==$(n.TARGET_SELECTOR).length&&(n.instance=(0,i.createTooltip)("comment-tooltip",{delay:[n.SHOW_DELAY,n.HIDE_DELAY],duration:n.DURATION,target:n.TARGET_SELECTOR,onShow:n.onShow,onHide:n.onHide}))}static async onShow(t){let e=$(t.reference),o=$(t.popper),a=e.parents("[data-id]").data("id");(0,s.Bn)({exclude:t});try{o.addClass("tooltip-loading"),t._request=$.get(`/comments/${a}/votes`,{variant:"tooltip"});let e=await t._request;t.setContent(e),o.removeClass("tooltip-loading")}catch(n){0!==n.status&&"abort"!==n.statusText&&i.default.error(`Error displaying votes for comment #${a} (error: ${n.status} ${n.statusText})`)}}static async onHide(t){var e;"pending"===(null===(e=t._request)||void 0===e?void 0:e.state())&&t._request.abort()}}a(n,"TARGET_SELECTOR","span.comment-score"),a(n,"SHOW_DELAY",125),a(n,"HIDE_DELAY",125),a(n,"DURATION",250),a(n,"instance",null),$(document).ready(n.initialize),e.default=n},62855:(t,e,o)=>{"use strict";o.r(e);var i=o(94141);$((function(){$("#hide-upgrade-account-notice").on("click.danbooru",(function(t){$("#upgrade-account-notice").hide(),i.default.put("hide_upgrade_account_notice","1",604800),t.preventDefault()})),$("#hide-promotion-notice").on("click.danbooru",(function(t){$("#promotion-notice").hide(),i.default.put("hide_winter_sale_notice","1",3600),i.default.put("hide_upgrade_account_notice","1",604800),t.preventDefault()})),$("#hide-dmail-notice").on("click.danbooru",(function(t){var e=$("#dmail-notice");e.hide();var o=e.data("id");i.default.put("hide_dmail_notice",o),t.preventDefault()})),$("#hide-verify-account-notice").on("click.danbooru",(function(t){$("#verify-account-notice").hide(),i.default.put("hide_verify_account_notice","1",259200),t.preventDefault()})),$("#close-notice-link").on("click.danbooru",(function(t){$("#notice").fadeOut("fast"),t.preventDefault()})),location.hostname.endsWith("danbooru.me")&&(location.hostname="danbooru.donmai.us")})),window.submitInvisibleRecaptchaForm=function(){document.getElementById("signup-form").submit()}},94141:(t,e,o)=>{"use strict";o.r(e);let i={put:function(t,e,o=63072e4){let i=`${t}=${encodeURIComponent(e)}; Path=/; SameSite=Lax;`;o&&(i+=` Max-Age=${o};`),"https:"===location.protocol&&(i+=" Secure;"),document.cookie=i},get:function(t){for(var e=t+"=",o=document.cookie.split(";"),i=0;i{"use strict";o.r(e);let i={data:function(t){return $("body").data(`current-user-${t}`)},update:function(t){return $.ajax(`/users/${i.data("id")}.json`,{method:"PUT",data:{user:t}})},darkMode:function(){let t=i.data("theme");return"dark"===t||"auto"===t&&window.matchMedia("(prefers-color-scheme: dark)").matches}};e.default=i},88186:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>i});class i{constructor(t){this.selector=t,this.initialize()}initialize(){$(document).on("pointerdown.danbooru",this.selector,(t=>{if(0!==t.button||!t.originalEvent.isPrimary)return;let e=!0,o=t.target,i=t.pointerId,s=`drag-${i}`;o.setPointerCapture(i),$(o).addClass("dragging"),$(o).trigger("drag:start",[t,this]),t.preventDefault(),$(document.body).on(`pointermove.${s}`,(s=>{requestAnimationFrame((()=>{if(s.pointerId!==i||!e)return;let a={x:s.clientX-t.clientX,y:s.clientY-t.clientY};$(o).trigger("drag:move",[s,a,this]),s.preventDefault()}))})),$(document.body).on(`pointerup.${s} pointercancel.${s}`,(t=>{t.pointerId===i&&(e=!1,$(o).removeClass("dragging"),$(document.body).off(`pointerup.${s} pointercancel.${s} pointermove.${s}`),$(o).trigger("drag:stop",[t,this]),t.preventDefault())}))}))}}},77994:(t,e,o)=>{"use strict";o.r(e);let i={initialize_all:function(){i.initialize_links()},initialize_links:function(){$(document).on("click.danbooru",".dtext-preview-button",i.click_button)},call_preview:async function(t,e,o,i){e.val("Edit"),o.hide(),i.text("Loading...").fadeIn("fast");let s=o.is("input"),a=await $.post("/dtext_preview",{body:o.val(),inline:s});i.html(a).fadeIn("fast")},call_edit:function(t,e,o,i){e.val("Preview"),i.hide(),o.slideDown("fast")},click_button:function(t){var e=$(t.target),o=e.parents("form"),s=e.data("preview-field"),a=o.find(`div.input.${s} .dtext-previewable`),n=a.find("> input, > textarea"),r=a.find("div.dtext-preview");e.val().match(/preview/i)?i.call_preview(t,e,n,r):i.call_edit(t,e,n,r),t.preventDefault()}};$(document).ready((function(){i.initialize_all()})),e.default=i},68441:(t,e,o)=>{"use strict";o.r(e);var i=o(18535),s=o.n(i);let a={initialize_all:function(){$("#c-posts").length&&$("#a-show").length&&this.initialize_add_to_favgroup_dialog()},initialize_add_to_favgroup_dialog:function(){$("#add-to-favgroup-dialog").dialog({autoOpen:!1,width:700,buttons:{Cancel:function(){$(this).dialog("close")}}}),$("#open-favgroup-dialog-link").on("click.danbooru",a.open_favgroup_dialog)},open_favgroup_dialog:function(t){if(1===$(".add-to-favgroup").length){let t=$(".add-to-favgroup").get(0);s().fire(t,"click")}else $("#add-to-favgroup-dialog").dialog("open");t.preventDefault()}};$((function(){a.initialize_all()})),e.default=a},9196:(t,e,o)=>{"use strict";o.r(e);var i=o(20866),s=o(31051);function a(t,e,o){return(e=function(t){var e=function(t,e){if("object"!==typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}class n{static initialize(){0!==$(n.TARGET_SELECTOR).length&&(n.instance=(0,i.createTooltip)("favorites-tooltip",{delay:[n.SHOW_DELAY,n.HIDE_DELAY],duration:n.DURATION,target:n.TARGET_SELECTOR,onShow:n.onShow,onHide:n.onHide}))}static async onShow(t){let e=$(t.reference),o=$(t.popper),a=e.parents("[data-id]").data("id");(0,s.Bn)({exclude:t});try{o.addClass("tooltip-loading"),t._request=$.get(`/posts/${a}/favorites?variant=tooltip`);let e=await t._request;t.setContent(e),o.removeClass("tooltip-loading")}catch(n){0!==n.status&&"abort"!==n.statusText&&i.default.error(`Error displaying favorites for post #${a} (error: ${n.status} ${n.statusText})`)}}static async onHide(t){var e;"pending"===(null===(e=t._request)||void 0===e?void 0:e.state())&&t._request.abort()}}a(n,"TARGET_SELECTOR","span.post-favcount a"),a(n,"SHOW_DELAY",125),a(n,"HIDE_DELAY",125),a(n,"DURATION",250),a(n,"instance",null),$(document).ready(n.initialize),e.default=n},22472:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>p});var i,s,a,n=o(20247),r=o(20866),c=o(48403),l=o.n(c);class p{static initialize(){$(".file-upload-component").toArray().forEach((t=>{new p($(t))}))}constructor(t){this.$component=t,this.$component.on("ajax:success",(t=>this.onSubmit(t))),this.$component.on("ajax:error",(t=>this.onError(t))),this.$dropTarget.on("paste.danbooru",(t=>this.onPaste(t))),this.dropzone=this.initializeDropzone(),/^https?:\/\//.test(this.$sourceField.val())&&this.$component.find("input[type='submit']").click()}initializeDropzone(){if(!window.FileReader)return this.$dropzone.addClass("hidden"),this.$component.find("input[type='file']").removeClass("hidden"),null;let t=new n.Z(this.$dropTarget.get(0),{url:"/uploads.json",paramName:"upload[files]",clickable:this.$dropzone.get(0),previewsContainer:this.$dropzone.get(0),thumbnailHeight:null,thumbnailWidth:null,addRemoveLinks:!1,parallelUploads:this.maxFiles,maxFiles:this.maxFiles,maxFilesize:this.maxFileSize,maxThumbnailFilesize:this.maxFileSize,timeout:0,uploadMultiple:!0,createImageThumbnails:!1,acceptedFiles:".jpg,.jpeg,.png,.gif,.webp,.avif,.mp4,.webm,.zip,.rar,.7z",previewTemplate:this.$component.find(".dropzone-preview-template").html()});return t.on("complete",(t=>{this.$dropzone.find(".dz-progress").hide()})),t.on("addedfile",(t=>{this.$dropzone.removeClass("error"),this.$dropzone.find(".dropzone-hint").hide()})),t.on("success",(t=>{this.$dropzone.addClass("success");let e=JSON.parse(t.xhr.response);this.pollStatus(e)})),t.on("error",((e,o)=>{this.$dropzone.find(".dropzone-hint").show(),t.removeFile(e),r.default.error(o)})),t}onPaste(t){let e=t.originalEvent.clipboardData.getData("text");this.$component.find("input[name='upload[source]']:not([disabled])").val(e),/^https?:\/\//.test(e)&&this.$component.find("input[type='submit']:not([disabled])").click(),t.preventDefault()}onSubmit(t){let e=t.originalEvent.detail[0];this.pollStatus(e)}loadingStart(){this.$component.find(".spinner-icon").removeClass("hidden"),this.$component.find("input").attr("disabled","disabled"),this.$component.find("form").addClass("pointer-events-none cursor-wait opacity-50")}loadingStop(){this.$component.find(".spinner-icon").addClass("hidden"),this.$component.find("input").removeAttr("disabled"),this.$component.find("form").removeClass("pointer-events-none cursor-wait opacity-50")}async pollStatus(t){for(this.loadingStart();t.media_asset_count<=1&&"completed"!==t.status&&"error"!==t.status;)await r.default.delay(p.POLL_DELAY),t=await $.get(`/uploads/${t.id}.json`);if("error"===t.status)this.$dropzone.removeClass("success"),this.loadingStop(),r.default.error(`Upload failed: ${t.error}.`);else{let e=new URLSearchParams(window.location.search),o=e.has("url");e.delete("url"),e.delete("ref");let i=new URL(`/uploads/${t.id}`,window.location.origin);i.search=e.toString(),o?window.location.replace(i):window.location.assign(i)}}async onError(t){let e=t.originalEvent.detail[0].errors,o=Object.keys(e).map((t=>e[t].map((e=>"base"===t?`${e}`:`${l()(t)} ${e}`)))).join("; ");r.default.error(o)}get $dropzone(){return this.$component.find(".dropzone-container")}get $sourceField(){return this.$component.find("input[name='upload[source]']")}get maxFileSize(){return Number(this.$component.attr("data-max-file-size"))/1048576}get maxFiles(){return Number(this.$component.attr("data-max-files-per-upload"))}get $dropTarget(){return $(this.$component.attr("data-drop-target")||this.$component)}}i=p,a=250,(s=function(t){var e=function(t,e){if("object"!==typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===typeof e?e:String(e)}(s="POLL_DELAY"))in i?Object.defineProperty(i,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[s]=a,$(p.initialize)},68699:(t,e,o)=>{"use strict";o.r(e);var i=o(20866);class s{static initialize(){$("#c-forum-topics #a-show, #c-forum-posts #a-show").length&&($(document).on("click.danbooru.forum_post",".edit_forum_post_link",s.showEditPostForm),$(document).on("click.danbooru.forum_post",".edit_forum_topic_link",s.showEditTopicForm),$(document).on("click.danbooru.forum_post","#new-response-link",s.showNewForumPostForm),$(document).on("click.danbooru.forum_post",".forum-post-copy-id",s.copyID),$(document).on("click.danbooru.forum_post",".forum-post-copy-link",s.copyLink))}static showNewForumPostForm(t){$("#topic-response").show(),$("#forum_post_body").get(0).scrollIntoView(!1),$("#forum_post_body").selectEnd(),t.preventDefault()}static showEditPostForm(t){$(this).closest(".forum-post").find(".edit_forum_post").show(),t.preventDefault()}static showEditTopicForm(t){$(this).closest(".forum-post").find(".edit_forum_topic").show(),t.preventDefault()}static async copyID(t){let e=`forum #${$(this).closest(".forum-post").data("id")}`;i.default.copyToClipboard(e),t.preventDefault()}static async copyLink(t){let e=$(this).closest(".forum-post").data("id"),o=`${window.location.origin}/forum_posts/${e}`;i.default.copyToClipboard(o),t.preventDefault()}}$(document).ready(s.initialize),e.default=s},966:(t,e,o)=>{"use strict";o.r(e);var i=o(20866);class s{static initialize(){(0,i.createTooltip)("help-tooltip",{target:"a.help-tooltip-link",trigger:"click",touch:"hold",duration:50,content(t){let e=$(t).next(".help-tooltip-content");return e.show(),e.get(0)}})}}$(document).ready(s.initialize),e.default=s},63881:()=>{let t={initialize_all:function(){$(document).on("click.danbooru","a.toggle-iqdb-posts-low-similarity",(function(t){$(".iqdb-low-similarity").toggleClass("hidden"),$("a.toggle-iqdb-posts-low-similarity").toggle(),t.preventDefault()}))}};$(document).ready(t.initialize_all)},81922:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>a});var i=o(74691),s=o.n(i);class a{static initialize(){$(".media-asset-component").toArray().forEach((t=>{new a(t)}))}constructor(t){this.$component=$(t),this.$container=this.$component.find(".media-asset-container"),this.$image=this.$component.find(".media-asset-image"),this.$zoomLevel=this.$component.find(".media-asset-zoom-level"),this.scrollOnZoom="true"===this.$component.attr("data-scroll-on-zoom"),this.dynamicHeight="true"===this.$component.attr("data-dynamic-height"),this.updateHeight(),$(window).on("load.danbooru",(t=>this.updateHeight())),$(window).on("scroll.danbooru",(t=>this.updateHeight())),this.$image.length&&(this.$image.on("click.danbooru",(t=>this.toggleFit(t))),this.$image.on("load.danbooru",(t=>this.updateZoom())),new ResizeObserver((()=>this.updateZoom())).observe(this.$image.get(0)),this.updateZoom())}toggleFit(t){let e=this.$image.get(0).getBoundingClientRect(),o=(t.clientY-e.top)/this.$image.height(),i=this.$component.height()-this.$image.height();this.canZoomOut?this.$component.addClass("media-asset-component-fit-height media-asset-component-fit-width"):this.canZoomHeight&&this.$component.removeClass("media-asset-component-fit-height");let a=this.$component.offset().top,n=this.$image.height(),r=s()(a+o*n-window.innerHeight/2,Math.min(window.scrollY,a),a+n+i-window.innerHeight);this.scrollOnZoom&&window.scrollTo({top:r}),this.updateZoom()}updateZoom(){this.$image.removeClass("cursor-zoom-in cursor-zoom-out"),this.$zoomLevel.removeClass("hidden").text(`${Math.round(100*this.zoomLevel)}%`),this.canZoomIn?this.$image.addClass("cursor-zoom-in"):this.canZoomOut&&this.$image.addClass("cursor-zoom-out")}updateHeight(){this.$component.css("--header-initial-height",Math.max(0,this.$component.parent().offset().top)+"px"),this.$component.css("--header-visible-height",Math.max(0,this.$component.parent().offset().top-$(window).scrollTop())+"px"),this.$component.attr("data-dynamic-height-initialized","true")}get zoomLevel(){return this.$image.width()/Number(this.$image.attr("width"))}get canZoomIn(){return this.canZoomHeight}get canZoomHeight(){return!this.isZoomed&&this.$image.height(){"use strict";o.r(e);var i=o(20866);let s={detailed_rejection_dialog:function(){return $("#post_disapproval_post_id").val($(this).data("post-id")),$("#detailed-rejection-dialog").find("form")[0].reset(),i.default.dialog("Detailed Rejection","#detailed-rejection-dialog"),!1}};$((function(){$(document).on("click.danbooru",".detailed-rejection-link",s.detailed_rejection_dialog)})),e.default=s},28326:(t,e,o)=>{"use strict";o.r(e);var i=o(94141);let s={initialize:function(){if($("#news-updates").length){var t=$("#news-updates").data("id").toString();i.default.get("news-ticker")===t?$("#news-updates").hide():($("#news-updates").show(),$("#close-news-ticker-link").on("click.danbooru",(function(e){return $("#news-updates").hide(),i.default.put("news-ticker",t),!1})))}}};$((function(){s.initialize()})),e.default=s},36520:(t,e,o)=>{"use strict";o.r(e);o(87285),o(91707);var i,s,a=o(55056),n=o(20866);function r(t,e,o){return(e=function(t){var e=function(t,e){if("object"!==typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}class c{constructor({x:t,y:e,w:o,h:i,id:s=null,original_body:a=null,sanitized_body:l=null}={}){r(this,"id",null),r(this,"x",null),r(this,"y",null),r(this,"w",null),r(this,"h",null),r(this,"box",null),r(this,"body",null),r(this,"$note_container",null),r(this,"has_rotation",!1),this.$note_container=$(".note-container"),this.id=s,this.post_id=this.$note_container.data("id"),this.embed="true"===n.default.meta("post-has-embedded-notes"),this.original_body=a,this.x=t,this.y=e,this.w=o,this.h=i,this.box=new c.Box(this),this.body=new c.Body(this),this.box.place_note(t,e,o,i),this.body.display_text(l),c.notes.add(this)}is_new(){return null===this.id}get scale_factor(){return this.$note_container.width()/this.post_width}get post_width(){return parseInt(this.$note_container.attr("data-width"))}get post_height(){return parseInt(this.$note_container.attr("data-height"))}get image_width(){return parseInt(this.$note_container.width())}get image_height(){return parseInt(this.$note_container.height())}get base_font_size(){return parseFloat(this.$note_container.parent().css("font-size"))}is_selected(){return this.box.$note_box.hasClass("movable")}toggle_selected(){return this.is_selected()?this.unselect():this.select()}select(){c.unselect_all(),this.box.$note_box.addClass("movable"),n.default.keydown("up down left right","nudge_note",this.box.key_nudge.bind(this.box)),n.default.keydown("shift+up shift+down shift+left shift+right","resize_note",this.box.key_resize.bind(this.box))}unselect(){this.box.$note_box.removeClass("movable"),$(document).off("keydown.nudge_note"),$(document).off("keydown.resize_note")}normalize_sizes(t,e){0!==t.length&&t.toArray().forEach((t=>{const o=$(t),i=window.getComputedStyle(t),s=parseFloat(i.fontSize);c.NORMALIZE_ATTRIBUTES.forEach((t=>{const e=(parseFloat(i[t])||0)/s;o.css(t,e+"em")}));const a=s/e*100;o.css("font-size",a+"%"),o.attr("size",""),this.normalize_sizes(o.children(),s)}))}static find(t){return Array.from(c.notes).find((e=>e.id===t))}static load_all(){$("#notes article").toArray().forEach((t=>{var e=$(t);new c({id:e.data("id"),x:e.data("x"),y:e.data("y"),w:e.data("width"),h:e.data("height"),original_body:e.data("body"),sanitized_body:e.html()})}))}static initialize_all(){0===$("#c-posts #a-show #image").length||$("video#image").length||$("canvas#image").length||(c.load_all(),c.Box.scale_all(),$(document).on("click.danbooru","#translate",(t=>{c.TranslationMode.toggle(),t.preventDefault()})),this.initialize_highlight(),$(document).on("hashchange.danbooru.note",this.initialize_highlight),$(window).on("resize.danbooru.note_scale",c.Box.scale_all),$("#image").on("click.danbooru",c.Box.toggle_all))}static initialize_highlight(){var t=window.location.hash.match(/^#note-(\d+)$/);if(t){let e=parseInt(t[1]);c.find(e).box.show_highlighted()}}static unselect_all(){c.notes.forEach((t=>t.unselect()))}}r(c,"HIDE_DELAY",250),r(c,"NORMALIZE_ATTRIBUTES",["letter-spacing","line-height","margin-left","margin-right","margin-top","margin-bottom","padding-left","padding-right","padding-top","padding-bottom"]),r(c,"COPY_ATTRIBUTES",["background-color","border-radius","transform","justify-content","align-items"]),r(c,"BOX_LEVEL_CLASSES",Array.from({length:5},((t,e)=>"level-"+(e+1)))),r(c,"RESIZE_HANDLES","se, nw"),r(c,"MIN_NOTE_SIZE",10),r(c,"dragging",!1),r(c,"notes",new Set),r(c,"timeouts",[]),r(c,"Box",class{constructor(t){r(this,"note",null),r(this,"$note_box",null),r(this,"$inner_border",null),this.note=t,this.$note_box=$(''),this.note.$note_container.append(this.$note_box),t.embed&&(this.$note_box.addClass("embedded"),this.$inner_border=$('
'),this.$note_box.append(this.$inner_border)),this.note.is_new()&&this.$note_box.addClass("unsaved"),this.$note_box.draggable({containment:this.note.$note_container}),this.$note_box.resizable({containment:this.note.$note_container,handles:c.RESIZE_HANDLES,minWidth:c.MIN_NOTE_SIZE,minHeight:c.MIN_NOTE_SIZE}),this.$note_box.on("click.danbooru",this.on_click.bind(this)),this.$note_box.on("mouseenter.danbooru",this.on_mouseenter.bind(this)),this.$note_box.on("mouseleave.danbooru",this.on_mouseleave.bind(this)),this.$note_box.on("dragstart.danbooru resizestart.danbooru",this.on_dragstart.bind(this)),this.$note_box.on("dragstop.danbooru resizestop.danbooru",this.on_dragstop.bind(this))}on_click(){n.default.test_max_width(660)?this.$note_box.hasClass("viewing")?(this.note.body.hide(),this.$note_box.removeClass("viewing")):($(".note-box").removeClass("viewing"),this.note.body.show(),this.$note_box.addClass("viewing")):this.note.toggle_selected()}on_mouseenter(){c.dragging||this.note.body.show()}on_mouseleave(){this.note.body.hide()}on_dragstart(){this.$note_box.addClass("unsaved"),c.Body.hide_all(),c.dragging=!0}on_dragstop(){let t=this.$note_box.position().left/this.note.scale_factor,e=this.$note_box.position().top/this.note.scale_factor,o=this.$note_box.width()/this.note.scale_factor,i=this.$note_box.height()/this.note.scale_factor;this.place_note(t,e,o,i),this.note.body.show(),c.dragging=!1}place_note(t,e,o,i,s=!1){if(this.note.embed&&this.note.has_rotation&&!s){let o=this.get_min_max_position();t=o.norm_left/this.note.scale_factor,e=o.norm_top/this.note.scale_factor}this.note.w=Math.round((0,n.clamp)(o,c.MIN_NOTE_SIZE,this.note.post_width)),this.note.h=Math.round((0,n.clamp)(i,c.MIN_NOTE_SIZE,this.note.post_height)),this.note.x=Math.round((0,n.clamp)(t,0,this.note.post_width-this.note.w)),this.note.y=Math.round((0,n.clamp)(e,0,this.note.post_height-this.note.h)),this.$note_box.css({top:100*this.note.y/this.note.post_height+"%",left:100*this.note.x/this.note.post_width+"%",width:100*this.note.w/this.note.post_width+"%",height:100*this.note.h/this.note.post_height+"%"})}copy_style_attributes(){let t=this.$note_box,e=t.find(".note-box-attributes"),o=!1;if(c.COPY_ATTRIBUTES.forEach((i=>{const s=this.permitted_style_values(i,e);t.css(i,s),"transform"===i&&s.startsWith("rotate")&&(o=!0)})),o){const e=Math.round(parseFloat(t.css("left"))),o=Math.round(parseFloat(t.css("top"))),i=this.get_min_max_position();e!==i.norm_left||o!==i.norm_top?(t.css({top:i.percent_top,left:i.percent_left}),t.addClass("out-of-bounds")):t.removeClass("out-of-bounds"),this.note.has_rotation=!0}else this.note.has_rotation=!1;t.removeClass(c.BOX_LEVEL_CLASSES);const i=(e.attr("class")||"").split(/\s+/).filter((t=>c.BOX_LEVEL_CLASSES.includes(t)))[0];i&&t.addClass(i)}permitted_style_values(t,e){if(0===e.length)return"";let o=e.attr("style").split(";").filter((e=>e.match(RegExp(`(^| )${t}:`))));if(0===o.length)return"";let[,i]=o[0].trim().split(":").map((t=>t.trim()));if("background-color"===t){return e.css("background-color").startsWith("rgba")?"":i}if("transform"===t){let t=i.match(/rotate\([^)]+\)/);return t?t[0]:""}return i}key_nudge(t){switch(t.originalEvent.key){case"ArrowUp":this.note.y--;break;case"ArrowDown":this.note.y++;break;case"ArrowLeft":this.note.x--;break;case"ArrowRight":this.note.x++}this.place_note(this.note.x,this.note.y,this.note.w,this.note.h,!0),c.Body.hide_all(),this.$note_box.addClass("unsaved"),t.preventDefault()}key_resize(t){switch(t.originalEvent.key){case"ArrowUp":this.note.h--;break;case"ArrowDown":this.note.h++;break;case"ArrowLeft":this.note.w--;break;case"ArrowRight":this.note.w++}this.place_note(this.note.x,this.note.y,this.note.w,this.note.h),c.Body.hide_all(),this.$note_box.addClass("unsaved"),t.preventDefault()}get_min_max_position(t=null,e=null,o=null,i=null){let s=this.$note_box;const a=window.getComputedStyle(s[0]);t=null===t?parseFloat(a.top):t,e=null===e?parseFloat(a.left):e,o=o||s.height(),i=i||s.width();const r=this.note.image_height,c=this.note.image_width,l=this.get_bounding_box(o,i);return l.max_x-l.min_x<=c&&l.max_y-l.min_y<=r?(t=Math.min(Math.max(t,-l.min_y,0),r-l.max_y-2,r-l.min_y-l.max_y-2,r),e=Math.min(Math.max(e,-l.min_x,0),c-l.max_x-2,c-l.min_x-l.max_x-2,c)):(n.default.error("Box too large to be rotated!"),s.css("transform","none")),{norm_top:Math.round(t),norm_left:Math.round(e),percent_top:t/r*100+"%",percent_left:e/c*100+"%"}}get_bounding_box(t=null,e=null){let o=this.$note_box;t=t||o.height();let i=[[0,0],[e=e||o.width(),0],[0,t],[e,t]];const s=window.getComputedStyle(o[0]).transform.match(/matrix\(([-e0-9.]+), ([-e0-9.]+)/);if(!s)return{min_x:0,min_y:0,max_x:e,max_y:t,norm_coord:i,degrees:0};const a=Math.round(1e3*s[1])/1e3,n=Math.round(1e3*s[2])/1e3;let r=e/2,c=t/2,l=1/0,p=0,d=1/0,g=0;const u=i.map((t=>{let e=t[0]-r,o=t[1]-c,i=e*a-o*n+r,s=e*n+o*a+c;return l=Math.min(l,i),p=Math.max(p,i),d=Math.min(d,s),g=Math.max(g,s),[i,s]})).map((t=>[t[0]-l,t[1]-d])),m=Math.asin(n)/.017453292519943295;return{min_x:l,min_y:d,max_x:p,max_y:g,norm_coord:u,degrees:m}}show_highlighted(){this.note.body.show(),$(".note-box-highlighted").removeClass("note-box-highlighted"),this.$note_box.addClass("note-box-highlighted"),this.$note_box[0].scrollIntoView(!1)}static scale_all(){let t=$(".note-container");if(0===t.length)return;c.Body.hide_all();let e=parseFloat(t.data("large-width")),o=100*(t.width()/e);t.css("font-size",o+"%")}static toggle_all(){c.Body.hide_all(),$(".note-container").toggleClass("hide-notes")}}),r(c,"Body",class{constructor(t){r(this,"note",null),r(this,"$note_body",null),this.note=t,this.$note_body=$('
'),this.note.$note_container.append(this.$note_body),this.$note_body.on("mouseover.danbooru",this.on_mouseover.bind(this)),this.$note_body.on("mouseout.danbooru",this.on_mouseout.bind(this)),this.$note_body.on("click.danbooru",this.on_click.bind(this))}initialize(){let t=this.$note_body,e=this.note.box.$note_box;if(this.note.embed&&this.note.has_rotation){const o=this.note.box.get_bounding_box();let i=o.norm_coord.reduce((function(t,e){return t[1]>e[1]||t[1]===e[1]&&t[0]
0&&s<=45?t.width():0);t.css({top:e.position().top+i[1]+5,left:a+i[0]})}else t.css({top:e.position().top+e.height()+5,left:e.position().left});this.bound_position()}bound_position(){var t=this.note.$note_container,e=t.offset().left+t.width();let o=this.$note_body;o.offset().left+o.width()>e&&o.css({left:o.position().left-10-(o.offset().left+o.width()-e)})}show(){c.Body.hide_all(),this.resized||(this.resize(),this.resized=!0),this.$note_body.show(),this.initialize()}hide(t=c.HIDE_DELAY){c.timeouts.push(setTimeout((()=>this.$note_body.hide()),t))}static hide_all(){c.timeouts.forEach(clearTimeout),c.timeouts=[],$(".note-container div.note-body").hide()}resize(){let t=this.$note_body;t.css("min-width","");var e=t.width(),o=t.height(),i=1.6180339887,s=0,a=0,n=0,r=0;if(e/os)}else if(t[0].scrollWidth<=t.width()){n=20,r=e;do{a=(n+r)/2,t.css("min-width",a),t.height()>o?n=a:r=a}while(r-n>4);t.height()>o&&t.css("min-width",r)}}display_text(t){if(this.set_text(t),this.note.embed){let t=this.note.box.$inner_border;t.css("font-size",this.note.base_font_size+"px"),this.note.normalize_sizes(t.children(),this.note.base_font_size),t.css("font-size",""),this.note.box.copy_style_attributes()}this.resize(),this.bound_position()}set_text(t){var e;t=(t=(t=(t=null!==(e=t)&&void 0!==e?e:"").replace(//g,'')).replace(/<\/tn>/g,"
")).replace(/\n/g,"
"),this.note.embed?(this.note.box.$inner_border.html(t),this.$note_body.html("Click to edit")):t?this.$note_body.html(t):this.$note_body.html("Click to edit")}async preview_text(t){this.display_text("Loading...");let e=await $.post("/note_previews",{body:t});this.display_text(e.body),this.initialize(),this.$note_body.show()}on_mouseover(t){this.show()}on_mouseout(){this.hide()}on_click(t){$(t.target).is("a")||(a.default.data("is-anonymous")?n.default.notice("You must be logged in to edit notes"):c.Edit.show(this.note))}}),r(c,"Edit",class{static show(t){if($(".note-box").hasClass("editing"))return;let e=$('');e.val(t.original_body),e.css({height:"85%",resize:"none"});let o=$(""),i=t.is_new()?"Creating new note":`Editing note #${t.id}`;o.append(""+i+' (view help)'),o.append(e),o.dialog({width:360,height:240,position:{my:"right",at:"right-20",of:window},classes:{"ui-dialog":"note-edit-dialog"},open:()=>{n.default.keydown("ctrl+return","save_note",(()=>this.save(o,t)),".note-edit-dialog textarea"),$(".note-edit-dialog textarea").on("input.danbooru",(e=>this.on_input(t))),$(".note-box").addClass("editing")},close:()=>{$(".note-box").removeClass("editing")},buttons:{Save:()=>c.Edit.save(o,t),Preview:()=>c.Edit.preview(o,t),Cancel:()=>c.Edit.cancel(o,t),Delete:()=>c.Edit.destroy(o,t),History:()=>c.Edit.history(o,t)}}),e.selectEnd()}static on_input(t){t.box.$note_box.addClass("unsaved")}static async save(t,e){let o=e.box.$note_box,i=t.find("textarea").val(),s={x:e.x,y:e.y,width:e.w,height:e.h,body:i};e.original_body=i,e.body.preview_text(i);try{if(e.is_new()){s.post_id=e.post_id;let t=await $.ajax("/notes.json",{type:"POST",data:{note:s}});e.id=t.id}else await $.ajax(`/notes/${e.id}.json`,{type:"PUT",data:{note:s}});t.dialog("close"),o.removeClass("unsaved")}catch(a){n.default.error("Error: "+(a.responseJSON.reason||a.responseJSON.reasons.join("; ")))}}static async preview(t,e){let o=t.find("textarea").val();e.body.preview_text(o)}static cancel(t,e){t.dialog("close")}static async destroy(t,e){(e.is_new()||confirm("Do you really want to delete this note?"))&&(e.is_new()||await $.ajax(`/notes/${e.id}.json`,{type:"DELETE"}),e.box.$note_box.remove(),e.body.$note_body.remove(),c.notes.delete(e),t.dialog("close"))}static history(t,e){e.is_new()||(window.location.href=`/note_versions?search[note_id]=${e.id}`),t.dialog("close")}}),r(c,"TranslationMode",(r(i=class{static toggle(){$("body").hasClass("mode-translation")?c.TranslationMode.stop():c.TranslationMode.start()}static start(){$(document.body).addClass("mode-translation"),$("#image").off("click.danbooru",c.Box.toggle_all),$("#image").on("mousedown.danbooru.note",c.TranslationMode.Drag.start),n.default.notice('Translation mode is on. Drag on the image to create notes. Turn translation mode off (shortcut is n).'),$("#notice a:contains(Turn translation mode off)").on("click.danbooru",c.TranslationMode.stop)}static stop(){$("#note-preview").hide(),$("#image").on("click.danbooru",c.Box.toggle_all),$("#image").off("mousedown.danbooru.note",c.TranslationMode.Drag.start),$(document).off("mouseup.danbooru",c.TranslationMode.Drag.stop),$(document).off("mousemove.danbooru",c.TranslationMode.Drag.drag),$(document.body).removeClass("mode-translation"),$("#close-notice-link").click()}},"Drag",(r(s=class{static start(t){1===t.which&&(t.preventDefault(),$(document).on("mousemove.danbooru",c.TranslationMode.Drag.drag),$(document).on("mouseup.danbooru",c.TranslationMode.Drag.stop),c.TranslationMode.Drag.dragStartX=t.pageX,c.TranslationMode.Drag.dragStartY=t.pageY,c.dragging=!0)}static drag(t){var e=$("#image"),o=e.offset();let i=(0,n.clamp)(t.pageX,o.left,c.TranslationMode.Drag.dragStartX),s=(0,n.clamp)(t.pageY,o.top,c.TranslationMode.Drag.dragStartY),a=(0,n.clamp)(t.pageX,c.TranslationMode.Drag.dragStartX,o.left+e.width()),r=(0,n.clamp)(t.pageY,c.TranslationMode.Drag.dragStartY,o.top+e.height()),l=i-o.left,p=s-o.top,d=a-i,g=r-s;(d>=c.MIN_NOTE_SIZE||g>=c.MIN_NOTE_SIZE)&&$("#note-preview").show(),$("#note-preview").is(":visible")&&$("#note-preview").css({left:l,top:p,width:d,height:g})}static stop(){if(c.dragging=!1,$(document).off("mousemove.danbooru",c.TranslationMode.Drag.drag),$(document).off("mouseup.danbooru",c.TranslationMode.Drag.stop),$("#note-preview").is(":visible")){let t=$(".note-container").width()/parseInt($(".note-container").attr("data-width"));new c({x:$("#note-preview").position().left/t,y:$("#note-preview").position().top/t,w:$("#note-preview").width()/t,h:$("#note-preview").height()/t}),$("#note-preview").hide(),$(".note-container").removeClass("hide-notes")}else c.Box.toggle_all()}},"dragStartX",0),r(s,"dragStartY",0),s)),i)),$((function(){c.initialize_all()})),e.default=c},83013:(t,e,o)=>{"use strict";o.r(e),o(62526),o(71902);let i={initialize_all:function(){$("#c-posts").length&&$("#a-show").length&&this.initialize_add_to_pool_link(),$("#c-pool-orders,#c-favorite-group-orders").length&&this.initialize_simple_edit()},initialize_add_to_pool_link:function(){$("#add-to-pool-dialog").dialog({autoOpen:!1}),$("#pool").on("click.danbooru",(function(t){t.preventDefault(),$("#add-to-pool-dialog").dialog("open")}))},initialize_simple_edit:function(){$("#sortable").sortable({placeholder:"ui-state-placeholder"}),$("#sortable").disableSelection(),$("#ordering-form").submit((function(t){$.ajax({type:"put",url:t.target.action,data:$("#sortable").sortable("serialize")+"&"+$(t.target).serialize()}),t.preventDefault()}))}};$(document).ready((function(){i.initialize_all()})),e.default=i},78122:(t,e,o)=>{"use strict";o.r(e);var i=o(20866);class s{static initialize(){(0,i.createTooltip)("popup-menu-tooltip",{target:"a.popup-menu-button",placement:"bottom-start",trigger:"click",touch:"hold",appendTo:"parent",animation:null,content:s.content}),$(document).on("click.danbooru",".popup-menu-content",s.onMenuItemClicked)}static content(t){let e=$(t).parents(".popup-menu").find(".popup-menu-content");return e.show(),e.get(0)}static onMenuItemClicked(t){let e=$(t.target).parents(".popup-menu").data("hide-on-click"),o=$(t.target).parents("li").data("hide-on-click");if(void 0!==o?o:e){var i;let e=null===(i=$(t.target).parents("[data-tippy-root]").get(0))||void 0===i?void 0:i._tippy;null===e||void 0===e||e.hide()}}}$(document).ready(s.initialize),e.default=s},24596:(t,e,o)=>{"use strict";o.r(e);var i=o(86168),s=o(20866);let a={initialize:function(){($("#c-posts").length||$("#c-favorites").length||$("#c-pools").length)&&(this.initialize_selector(),this.initialize_preview_link(),this.initialize_edit_form(),this.initialize_tag_script_field(),this.initialize_shortcuts(),a.change())},initialize_shortcuts:function(){s.default.keydown("1 2 3 4 5 6 7 8 9 0","change_tag_script",a.change_tag_script)},show_notice:function(t,e=0){"add-fav"===t?s.default.notice("Switched to favorite mode. Click a post to favorite it."):"remove-fav"===t?s.default.notice("Switched to unfavorite mode. Click a post to unfavorite it."):"edit"===t?s.default.notice("Switched to edit mode. Click a post to edit it."):"tag-script"===t&&s.default.notice(`Switched to tag script #${e}. To switch tag scripts, use the number keys.`)},change_tag_script:function(t){if("tag-script"===$("#mode-box select").val()){var e=localStorage.getItem("current_tag_script_id")||"1",o=t.which>=96?t.which-48:t.which,i=String.fromCharCode(o),s=localStorage.getItem("tag-script-"+i);$("#tag-script-field").val(s),localStorage.setItem("current_tag_script_id",i),e!==i&&a.show_notice("tag-script",i),t.preventDefault()}},initialize_selector:function(){let t=localStorage.getItem("mode");null===t?(localStorage.setItem("mode","view"),$("#mode-box select").val("view")):$("#mode-box select").val(t),$("#mode-box select").on("change.danbooru",(function(t){a.change(),$("#tag-script-field:visible").focus().select()}))},initialize_preview_link:function(){$(document).on("click.danbooru",".post-preview-container a",a.click)},initialize_edit_form:function(){$("#quick-edit-div").hide(),$(document).on("click.danbooru","#quick-edit-form button[name=cancel]",(function(t){a.close_edit_form(),t.preventDefault()})),$(document).on("click.danbooru","#quick-edit-form input[type=submit]",(async function(t){t.preventDefault();let e=$("#quick-edit-form").attr("data-post-id");await i.default.update(e,"quick-edit",{post:{tag_string:$("#post_tag_string").val()}})}))},close_edit_form:function(){$("#quick-edit-div").slideUp("fast"),$("#post_tag_string").data("uiAutocomplete").close()},initialize_tag_script_field:function(){$("#tag-script-field").blur((function(t){var e=$(this).val();if(e){var o=localStorage.getItem("current_tag_script_id");localStorage.setItem("tag-script-"+o,e)}else $("#mode-box select").val("view"),a.change()}))},change:function(){$("#quick-edit-div").slideUp("fast");var t=$("#mode-box select").val();if(void 0!==t)if($("body").attr("data-mode-menu-active","view"!==t),$("body").attr("data-mode-menu",t),localStorage.setItem("mode",t,1),"tag-script"===t){var e=localStorage.getItem("current_tag_script_id");e||(e="1",localStorage.setItem("current_tag_script_id",e));var o=localStorage.getItem("tag-script-"+e);$("#tag-script-field").val(o).show(),a.show_notice(t,e)}else $("#tag-script-field").hide(),a.show_notice(t)},open_edit:function(t){var e=$("#post_"+t);$("#quick-edit-div").slideDown("fast"),$("#quick-edit-form").attr("data-post-id",t),$("#post_tag_string").val(e.data("tags")+" ").focus().selectEnd()},click:function(t){var e=$("#mode-box select").val(),o=$(t.target).closest("article").data("id");if("add-fav"===e)i.default.tag(o,"fav:me");else if("remove-fav"===e)i.default.tag(o,"-fav:me");else if("edit"===e)a.open_edit(o);else{if("tag-script"!==e)return;var s,n=localStorage.getItem("current_tag_script_id"),r=null!==(s=localStorage.getItem("tag-script-"+n))&&void 0!==s?s:"";i.default.tag(o,r)}t.preventDefault()}};$((function(){a.initialize()})),e.default=a},84785:(t,e,o)=>{"use strict";o.r(e);var i=o(55056),s=o(20866),a=o(31051);o(22506);let n={POST_SELECTOR:"*:not(.ui-sortable-handle) > .post-preview .post-preview-image, .dtext-post-id-link",SHOW_DELAY:500,HIDE_DELAY:125,DURATION:250,instance:null,initialize:function(){n.disabled()||(n.instance=(0,s.createTooltip)("post-tooltip",{delay:[n.SHOW_DELAY,n.HIDE_DELAY],duration:n.DURATION,target:n.POST_SELECTOR,touch:!1,onCreate:n.on_create,onShow:n.on_show,onHide:n.on_hide}),$(document).on("click.danbooru.postTooltip",".post-tooltip-disable",n.on_disable_tooltips))},on_create:function(t){if(t.reference===document.body)return;let e=t.reference.getAttribute("title");e&&(t.reference.setAttribute("data-title",e),t.reference.setAttribute("title","")),$(t.reference).on("mousemove.danbooru",(e=>{t.clearDelayTimeouts(),t.reference.dispatchEvent(new Event("mouseenter"))}))},on_show:async function(t){let e=null,o=!1,i=$(t.reference),n=$(t.popper);if((0,a.Bn)({exclude:t}),!n.has(".post-tooltip-body").length){i.is(".dtext-post-id-link")?(o=!0,e=/\/posts\/(\d+)/.exec(i.attr("href"))[1]):e=i.parents("[data-id]").data("id");try{n.addClass("tooltip-loading"),t._request=$.get(`/posts/${e}`,{variant:"tooltip",preview:o});let i=await t._request;t.setContent(i),n.removeClass("tooltip-loading")}catch(r){0!==r.status&&"abort"!==r.statusText&&s.default.error(`Error displaying tooltip for post #${e} (error: ${r.status} ${r.statusText})`)}}},on_hide:function(t){var e;"pending"===(null===(e=t._request)||void 0===e?void 0:e.state())&&t._request.abort()},disabled:function(t){return i.default.data("disable-post-tooltips")},on_disable_tooltips:async function(t){t.preventDefault(),(0,a.Bn)(),i.default.data("is-anonymous")?s.default.notice('You must login to disable tooltips'):(await i.default.update({disable_post_tooltips:!0}),s.default.notice('Tooltips disabled; check your account settings to re-enable.'),n.instance[0].destroy())}};$(document).ready(n.initialize),e.default=n},7832:(t,e,o)=>{"use strict";o.r(e);var i=o(20866);let s={initialize_all:function(){$("#c-post-versions #a-index").length&&s.initialize_undo()},initialize_undo:function(){$(".post-version-select-column").on("click.danbooru",(function(t){$(t.target).find(".post-version-select-checkbox:not(:disabled)").prop("checked",((t,e)=>!e)).change()})),$("#post-version-select-all-checkbox").on("change.danbooru",(function(t){$("td .post-version-select-checkbox:not(:disabled)").prop("checked",$("#post-version-select-all-checkbox").prop("checked")).change()})),$(".post-version-select-checkbox").on("change.danbooru",(function(t){let e=$("td .post-version-select-checkbox:checked");$("#subnav-undo-selected-link").text(`Undo selected (${e.length})`).toggle(e.length>0)})),$("#subnav-undo-selected-link").on("click.danbooru",s.undo_selected)},undo_selected:async function(){event.preventDefault();let t=0,e=$("td .post-version-select-checkbox:checked").parents("tr");for(let o of e){let s=$(o).data("id");await $.ajax(`/post_versions/${s}/undo.json`,{method:"PUT"}),t++,i.default.notice(`${t}/${e.length} changes undone.`)}}};$(document).ready(s.initialize_all),e.default=s},3045:(t,e,o)=>{"use strict";o.r(e);var i=o(20866);function s(t,e,o){return(e=function(t){var e=function(t,e){if("object"!==typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}class a{static initialize(){a.instance=(0,i.createTooltip)("post-votes-tooltip",{delay:[a.SHOW_DELAY,a.HIDE_DELAY],duration:a.DURATION,target:a.TARGET_SELECTOR,onShow:a.onShow,onHide:a.onHide})}static async onShow(t){let e=$(t.reference),o=$(t.popper),s=e.parents("[data-id]").data("id");try{o.addClass("tooltip-loading"),t._request=$.get(`/post_votes?search[post_id]=${s}`,{variant:"tooltip"});let e=await t._request;t.setContent(e),o.removeClass("tooltip-loading")}catch(a){0!==a.status&&"abort"!==a.statusText&&i.default.error(`Error displaying votes for post #${s} (error: ${a.status} ${a.statusText})`)}}static async onHide(t){var e;"pending"===(null===(e=t._request)||void 0===e?void 0:e.state())&&t._request.abort()}}s(a,"TARGET_SELECTOR","span.post-votes span.post-score > a"),s(a,"SHOW_DELAY",375),s(a,"HIDE_DELAY",125),s(a,"DURATION",250),s(a,"instance",null),$(document).ready(a.initialize),e.default=a},86168:(t,e,o)=>{"use strict";o.r(e);var i=o(55056),s=o(20866),a=o(50840),n=o.n(a),r=o(94141),c=o(36520),l=o(74569),p=o(18535),d=o.n(p);function g(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function u(t){for(var e=1;e{f.initialize_saved_searches()}))},initialize_gestures:function(){if(!i.default.data("disable-mobile-gestures")){var t=$("body");if(!t.data("hammer")&&s.default.test_max_width(660)){$(".image-container").css({overflow:"visible"});var e=$(".paginator a[rel~=prev]").length,o=$(".paginator a[rel~=next]").length,a=new(n())(t[0],{touchAction:"pan-y",recognizers:[[n().Swipe,{threshold:f.SWIPE_THRESHOLD,velocity:f.SWIPE_VELOCITY,direction:n().DIRECTION_HORIZONTAL}]],inputClass:n().TouchInput});t.data("hammer",a),e&&a.on("swiperight",(async function(t){$("body").css({"transition-timing-function":"ease","transition-duration":"0.2s",opacity:"0",transform:"translateX(150%)"}),await s.default.delay(200),f.swipe_prev(t)})),o&&a.on("swipeleft",(async function(t){$("body").css({"transition-timing-function":"ease","transition-duration":"0.2s",opacity:"0",transform:"translateX(-150%)"}),await s.default.delay(200),f.swipe_next(t)}))}}},initialize_edit_dialog:function(){$("#open-edit-dialog").show().on("click.danbooru",(function(t){f.open_edit_dialog(),t.preventDefault()}))},open_edit_dialog:function(){if(1!==$("#edit-dialog").length){$(document).trigger("danbooru:open-post-edit-dialog"),$("#edit").show(),$("#comments").hide(),$("#post-sections li").removeClass("active"),$("#post-edit-link").parent("li").addClass("active"),$(".upload-container").css("display","block");var t=$("#post_tag_string");$("body.c-uploads .docking-menu-tab").hide();var e=$("").attr("id","edit-dialog");$("#form").appendTo(e),e.dialog({title:"Edit tags",width:f.EDIT_DIALOG_WIDTH,height:Math.max(.5*$(window).height(),f.EDIT_DIALOG_MIN_HEIGHT),position:{my:"right top",at:"right-20 top+20",of:window},drag:function(e,o){t.data("uiAutocomplete").close()},close:f.close_edit_dialog}),e.dialog("widget").draggable("option","containment","none");var o=$("").button({icons:{primary:"ui-icon-pin-w"},label:"pin",text:!1});o.css({width:"20px",height:"20px",position:"absolute",right:"28.4px"}),e.parent().children(".ui-dialog-titlebar").append(o),o.on("click.danbooru",(function(t){var i=$(".ui-dialog:has(#edit-dialog)"),s=i.offset();"absolute"===i.css("position")?(s.left-=$(window).scrollLeft(),s.top-=$(window).scrollTop(),i.offset(s).css({position:"fixed"}),e.dialog("option","resize",(function(){i.css({position:"fixed"})})),o.button("option","icons",{primary:"ui-icon-pin-s"})):(s.left+=$(window).scrollLeft(),s.top+=$(window).scrollTop(),i.offset(s).css({position:"absolute"}),e.dialog("option","resize",(function(){})),o.button("option","icons",{primary:"ui-icon-pin-w"}))})),e.parent().mouseout((function(t){e.parent().css({opacity:.6,transition:"opacity .4s ease"})})).mouseover((function(t){e.parent().css({opacity:1,transition:"opacity .2s ease"})})),t.css({resize:"none",width:"100%"}),t.focus().selectEnd()}},close_edit_dialog:function(t,e){$("#form").appendTo($("#c-posts #edit, .upload-edit-container")),$(".upload-container").css("display",""),$("#edit-dialog").remove();var o=$("#post_tag_string");$("div.input").has(o).prevAll().show(),$("body.c-uploads .docking-menu-tab").show(),o.css({resize:"",width:""}),$(document).trigger("danbooru:close-post-edit-dialog")},swipe_prev:function(t){$(".paginator a[rel~=prev]").length&&(location.href=$("a[rel~=prev]").attr("href")),t.preventDefault()},swipe_next:function(t){$(".paginator a[rel~=next ]").length&&(location.href=$(".paginator a[rel~=next]").attr("href")),t.preventDefault()},initialize_links:function(){$("#copy-notes").on("click.danbooru",(function(t){var e=$("meta[name=post-id]").attr("content"),o=parseInt(prompt("Enter the ID of the post to copy all notes to:"),10);null!==o&&$.ajax("/posts/"+e+"/copy_notes",{type:"PUT",data:{other_post_id:o},success:function(t){s.default.notice("Successfully copied notes to post #"+o+"")},error:function(t){404===t.status?s.default.error("Error: Invalid destination post"):t.responseJSON&&t.responseJSON.reason?s.default.error("Error: "+t.responseJSON.reason):s.default.error("There was an error copying notes to post #"+o+"")}}),t.preventDefault()}))},initialize_post_relationship_previews:function(){var t=$("meta[name=post-id]").attr("content");$("[id=post_"+t+"]").addClass("current-post"),"0"===r.default.get("show-relationship-previews")&&(this.toggle_relationship_preview($("#has-children-relationship-preview"),$("#has-children-relationship-preview-link")),this.toggle_relationship_preview($("#has-parent-relationship-preview"),$("#has-parent-relationship-preview-link"))),$("#has-children-relationship-preview-link").on("click.danbooru",(function(t){f.toggle_relationship_preview($("#has-children-relationship-preview"),$(this)),t.preventDefault()})),$("#has-parent-relationship-preview-link").on("click.danbooru",(function(t){f.toggle_relationship_preview($("#has-parent-relationship-preview"),$(this)),t.preventDefault()}))},toggle_relationship_preview:function(t,e){t.toggle(),t.is(":visible")?(e.html("« hide"),r.default.put("show-relationship-previews","1")):(e.html("show »"),r.default.put("show-relationship-previews","0"))},initialize_post_preview_size_menu:function(){$(document).on("click.danbooru",".post-preview-size-menu .popup-menu-content a",(t=>{let e=new URL($(t.target).get(0).href),o=e.searchParams.get("size");r.default.put("post_preview_size",o),e.searchParams.delete("size"),location.replace(e),t.preventDefault()}))},initialize_post_preview_options_menu:function(){$(document).on("click.danbooru","a.post-preview-show-votes",(t=>{r.default.put("post_preview_show_votes","true"),location.reload(),t.preventDefault()})),$(document).on("click.danbooru","a.post-preview-hide-votes",(t=>{r.default.put("post_preview_show_votes","false"),location.reload(),t.preventDefault()}))},view_original:function(t=null){if(!s.default.test_max_width(660)){var e=$("#image"),o=$(".image-container");e.attr("src",$(".image-view-original-link").attr("href")),e.css("filter","blur(8px)"),e.width(o.data("width")),e.height(o.data("height")),e.on("load.danbooru",(function(){e.css("animation","sharpen 0.5s forwards")})),c.default.Box.scale_all(),$("body").attr("data-post-current-image-size","original"),null===t||void 0===t||t.preventDefault()}},view_large:function(t=null){if(!s.default.test_max_width(660)){var e=$("#image"),o=$(".image-container");e.attr("src",$(".image-view-large-link").attr("href")),e.css("filter","blur(8px)"),e.width(o.data("large-width")),e.height(o.data("large-height")),e.on("load.danbooru",(function(){e.css("animation","sharpen 0.5s forwards")})),c.default.Box.scale_all(),$("body").attr("data-post-current-image-size","large"),null===t||void 0===t||t.preventDefault()}},toggle_fit_window:function(t){$("#image").toggleClass("fit-width"),c.default.Box.scale_all(),f.resize_ugoira_controls(),t.preventDefault()},initialize_post_image_resize_links:function(){$(document).on("click.danbooru",".image-view-original-link",f.view_original),$(document).on("click.danbooru",".image-view-large-link",f.view_large),$(document).on("click.danbooru",".image-resize-to-window-link",f.toggle_fit_window),$("#image-resize-notice").length&&s.default.keydown("v","resize",(function(t){"large"===$("body").attr("data-post-current-image-size")?f.view_original():f.view_large()}))},initialize_excerpt:function(){$("#excerpt").hide(),$("#show-posts-link").on("click.danbooru",(function(t){$("#show-posts-link").addClass("active"),$("#show-excerpt-link").removeClass("active"),$("#posts").show(),$("#excerpt").hide(),t.preventDefault()})),$("#show-excerpt-link").on("click.danbooru",(function(t){$(this).hasClass("active")||($("#show-posts-link").removeClass("active"),$("#show-excerpt-link").addClass("active"),$("#posts").hide(),$("#excerpt").show(),t.preventDefault())})),!$(".post-preview").length&&/No posts found/.test($("#posts").html())&&$("#show-excerpt-link").click()},initialize_post_sections:function(){$("#post-sections li a,#side-edit-link").on("click.danbooru",(function(t){"#comments"===t.target.hash?($("#comments").show(),$("#edit").hide(),$("#recommended").hide()):"#edit"===t.target.hash?($("#edit").show(),$("#comments").hide(),$("#post_tag_string").focus().selectEnd(),$("#recommended").hide(),$(document).trigger("danbooru:open-post-edit-tab")):"#recommended"===t.target.hash?($("#comments").hide(),$("#edit").hide(),$("#recommended").show(),$.get("/recommended_posts.js",{search:{post_id:s.default.meta("post-id")},limit:f.MAX_RECOMMENDATIONS})):($("#edit").hide(),$("#comments").hide(),$("#recommended").hide()),$("#post-sections li").removeClass("active"),$(t.target).parent("li").addClass("active"),t.preventDefault()}))},initialize_ugoira_player:function(){if($("#ugoira-controls").length){let t=$("#image").data("ugoira-frame-delays"),e=$(".image-container").data("file-url");l.default.create_player(t,e),$(window).on("resize.danbooru.ugoira_scale",f.resize_ugoira_controls)}},initialize_ruffle_player:function(){let t=$(".ruffle-container[data-swf]");if(t.length){let e=window.RufflePlayer.newest().createPlayer(),o=t.attr("data-swf");t.get(0).appendChild(e),e.load(o)}},resize_ugoira_controls:function(){var t=$("#image"),e=Math.max(t.width(),350);$("#ugoira-control-panel").css("width",e),$("#seek-slider").css("width",e-81)},show_pending_update_notice:function(){0===f.pending_update_count?s.default.notice("Posts updated"):s.default.notice(`Updating posts (${f.pending_update_count} pending)...`,!0)},tag:function(t,e){var o;null!==(o=e)&&void 0!==o||(e="");const i=Array.isArray(e)?e.join(" "):String(e);f.update(t,"tag-script",{post:{old_tag_string:"",tag_string:i}})},update:async function(t,e,o){try{f.pending_update_count+=1,f.show_pending_update_notice();let i=new URLSearchParams(window.location.search),s=i.get("show_votes"),a=i.get("size");await $.ajax({type:"PUT",url:`/posts/${t}.js`,data:u({mode:e,show_votes:s,size:a},o)}),f.pending_update_count-=1,f.show_pending_update_notice()}catch(i){f.pending_update_count-=1}},initialize_saved_searches:function(){$("#save-search-dialog").dialog({width:700,modal:!0,autoOpen:!1,buttons:{Submit:function(){let t=$("#save-search-dialog form").get(0);d().fire(t,"submit"),$(this).dialog("close")},Cancel:function(){$(this).dialog("close")}}}),$("#save-search").on("click.danbooru",(function(t){$("#save-search-dialog #saved_search_query").val($("#tags").val()),!1===i.default.data("disable-categorized-saved-searches")?$("#save-search-dialog").dialog("open"):$.post("/saved_searches.js",{saved_search:{query:$("#tags").val()}}),t.preventDefault()}))},initialize_recommended:function(){$(document).on("click.danbooru",".post-preview .more-recommended-posts",(async function(t){t.preventDefault();let e=$(this).parents(".post-preview").data("id");$("#recommended").addClass("loading-recommended-posts"),await $.get("/recommended_posts.js",{search:{post_id:e},limit:f.MAX_RECOMMENDATIONS}),$("#recommended").removeClass("loading-recommended-posts")}))}};$(document).ready((function(){f.initialize_all()})),e.default=f},2201:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>s});var i=o(94141);class s{static initialize(){$(document).on("click.danbooru",".preview-size-menu .popup-menu-content a",(t=>s.onClick(t)))}static onClick(t){let e=new URL($(t.target).get(0).href),o=e.searchParams.get("size");i.default.put("post_preview_size",o),e.searchParams.delete("size"),location.replace(e),t.preventDefault()}}$(s.initialize)},29196:(t,e,o)=>{"use strict";o.r(e);var i=o(28517),s=o(20866),a=o(90837);a.Z.store("relatedTags",{loading:!1});let n={MAX_RELATED_TAGS:25,initialize_all:function(){$(document).on("change.danbooru",".related-tags input",n.toggle_tag),$(document).on("click.danbooru",".related-tags .tag-list a",n.toggle_tag),$(document).on("input.danbooru.relatedTags","#post_tag_string",n.update_selected),$(document).on("click.danbooru.relatedTags","#post_tag_string",n.update_current_tag),$(document).on("danbooru:open-post-edit-dialog",n.show),$(document).one("danbooru:show-related-tags",n.initialize_recent_and_favorite_tags),$(document).one("danbooru:show-related-tags",i.default.fetchData),$(document).on("danbooru:open-post-edit-tab",n.show),$("#c-uploads #a-show #p-single-asset-upload").length&&n.show()},initialize_recent_and_favorite_tags:function(t){let e=$("#related-tags-container").attr("data-media-asset-id");$.get("/related_tag.js",{user_tags:!0,media_asset_id:e})},update_related_tags:async function(t){0!==t.button||t.ctrlKey||t.shiftKey||t.metaKey||t.altKey||(t.preventDefault(),a.Z.store("relatedTags").loading=!0,await $.get("/related_tag.js",{query:n.current_tag().trim(),limit:n.MAX_RELATED_TAGS}),n.show(),a.Z.store("relatedTags").loading=!1)},current_tag:function(){var t=$("#post_tag_string"),e=t.val(),o=e.length,i=t.prop("selectionStart"),s=t.prop("selectionStart");if(i>0&&is)for(s=e.search(/\S/);s0&&(/\s/.test(e[i])||void 0===e[i]);)i--,s--;for(;i>0&&!/\s/.test(e[i-1]);)i--,s--;for(;s{let i=$(o).find("a").attr("data-tag-name");e.includes(i)?($(o).addClass("selected"),$(o).find("input").prop("checked",!0)):($(o).removeClass("selected"),$(o).find("input").prop("checked",!1))})),n.update_current_tag()},current_tags:function(){let t=$("#post_tag_string").val().toLowerCase();return s.default.splitWords(t)},toggle_tag:function(t){var e=$("#post_tag_string"),o=$(t.target).closest("li").find("a").attr("data-tag-name");if(n.current_tags().includes(o)){var i=s.default.regexp_escape(o);e.val(e.val().replace(new RegExp("(^|\\s)"+i+"($|\\s)","gi"),"$1$2"))}else e.val(e.val()+" "+o);e.val(e.val().trim().replace(/ +/g," ")+" "),n.update_selected(),setTimeout((function(){e.prop("selectionStart",e.val().length)}),100),t.preventDefault(),e.trigger("input")},show:function(t){$(document).trigger("danbooru:show-related-tags"),null===t||void 0===t||t.preventDefault()}};$((function(){n.initialize_all()})),e.default=n},65263:()=>{$((function(){$("#maintoggle").on("click.danbooru",(function(){$("#nav").toggle(),$("#maintoggle-on").toggle(),$("#maintoggle-off").toggle()}))}))},36381:(t,e,o)=>{"use strict";o.r(e);var i=o(20866),s=o(31051);let a={initialize:function(){i.default.keydown("s","scroll_down",a.nav_scroll_down),i.default.keydown("w","scroll_up",a.nav_scroll_up),i.default.keydown("ctrl+return","submit_form",a.submit_form,'input[type="text"], textarea'),i.default.keydown("esc","hide_tooltips",a.hide_tooltips),a.initialize_data_shortcuts()},initialize_data_shortcuts:function(){$(document).off("keydown.danbooru.shortcut"),$("[data-shortcut]").each(((t,e)=>{const o=$(e).attr("id"),s=$(e).attr("data-shortcut"),a=`shortcut.${o}`,n=`Shortcut is ${s.split(/\s+/).join(" or ")}`;$(e).attr("title",n),i.default.keydown(s,a,(t=>{const e=$(`[data-shortcut="${s}"]`).get(0),o=$(e).attr("data-shortcut-when")||"*";$(e).is(o)&&($(e).is("input, textarea")?$(e).focus().selectEnd():e.click(),t.preventDefault())}))}))},submit_form:function(t){$(t.target).parents("form").find('[type="submit"]').click(),t.preventDefault()},nav_scroll_down:function(){window.scrollBy(0,.15*$(window).height())},nav_scroll_up:function(){window.scrollBy(0,-.15*$(window).height())},hide_tooltips:function(){(0,s.Bn)({duration:0})}};$(document).ready((function(){a.initialize()})),e.default=a},28517:(t,e,o)=>{"use strict";o.r(e);class i{static initialize(){$(document).on("click.danbooru",".source-data-fetch",i.fetchData)}static async fetchData(t){let e=$("#post_source").val(),o=$("#post_referer_url").val();t.preventDefault(),/^https?:\/\//.test(e)&&($(".source-data").addClass("loading"),await $.get("/source.js",{url:e,ref:o}),$(".source-data").removeClass("loading"))}}$(document).ready(i.initialize),e.default=i},47620:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>l});var i,s,a,n=o(20866),r=o(44908),c=o.n(r);class l{constructor(t){this.$element=t,this.$target.on("input",(t=>this.update(t))),this.update()}update(){this.$element.find(".tag-count").text(`${this.tagCount} / ${l.highCount} tags`)}get $target(){return $(this.$element.attr("data-for"))}get tagCount(){let t=this.$target.val().toLowerCase();return c()(n.default.splitWords(t)).length}static initialize(){$("[data-tag-counter]").toArray().forEach((t=>{new l($(t))}))}}i=l,a=20,(s=function(t){var e=function(t,e){if("object"!==typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===typeof e?e:String(e)}(s="highCount"))in i?Object.defineProperty(i,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[s]=a,$(l.initialize)},85718:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>a});var i=o(18847),s=o(55056);class a{constructor({container:t=null,options:e={}}={}){this.container=t,this.options=e,this.theme=s.default.darkMode()?"dark":null,this.chart=i.S1(t,this.theme),this.chart.setOption(this.options),$(window).on("resize.danbooru",(()=>this.chart.resize()))}}},74569:(t,e,o)=>{"use strict";o.r(e);var i=o(77867);o(99971),o(86227),o(1305),o(36275);let s={create_player:(t,e)=>{var o={frames:t},a={canvas:$("#image")[0],source:e,metadata:o,chunkSize:3e5,loop:!0,autoStart:!0,debug:!1};s.player=new i.ZipImagePlayer(a),s.player_manually_paused=!1,$(s.player).on("loadProgress.danbooru",((t,e)=>{$("#seek-slider").progressbar("value",Math.floor(100*e))})),$("#ugoira-play").on("click.danbooru",(t=>{s.player.play(),$("#ugoira-play").hide(),$("#ugoira-pause").show(),s.player_manually_paused=!1,t.preventDefault()})),$("#ugoira-pause").on("click.danbooru",(t=>{s.player.pause(),$("#ugoira-pause").hide(),$("#ugoira-play").show(),s.player_manually_paused=!0,t.preventDefault()})),$("#seek-slider").progressbar({value:0}),$("#seek-slider").slider({min:0,max:s.player._frameCount-1,start:(t,e)=>{s.player.pause()},slide:(t,e)=>{s.player._frame=e.value,s.player._displayFrame()},stop:(t,e)=>{s.player_manually_paused||s.player.play()}}),$(s.player).on("frame.danbooru",((t,e)=>{$("#seek-slider").slider("option","value",e)}))}};e.default=s},44741:(t,e,o)=>{"use strict";o.r(e);var i=o(94141),s=o(88186),a=o(20866),n=o(74691),r=o.n(n);let c={IQDB_LIMIT:5,IQDB_MIN_SIMILARITY:50,IQDB_HIGH_SIMILARITY:70,initialize_all:function(){$("#c-uploads #a-show #p-single-asset-upload").length&&(this.initialize_similar(),this.initialize_draggable_divider()),c.loadAssets()},loadAssets:async function(){for(;$(".upload-media-asset-loading").length;){let t=$(".upload-media-asset-loading").map(((t,e)=>$(e).attr("data-id"))).toArray().join(","),e=$(".upload-media-asset-gallery").attr("data-size");$.get("/upload_media_assets.js",{search:{status:"active failed",id:t},size:e}),await a.default.delay(250)}},initialize_draggable_divider:function(){c.draggable=new s.default(".upload-divider");let t=0,e=0;$(".upload-divider").on("drag:start",(o=>{e=$(".upload-edit-container").width(),t=e})),$(".upload-divider").on("drag:move",((o,i,s)=>{let a="left"===$(".upload-container").attr("data-dock"),n=s.x*(a?-1:1),c=parseInt($(".upload-container").css("--min-edit-container-width")),l=$(".upload-container").width()-c;t=r()(e-n,c,l),$(".upload-container").css("--edit-container-width",t)})),$(".upload-divider").on("drag:stop",(e=>{i.default.put("upload_edit_container_width",t)}))},initialize_similar:function(){let t=$("input[name='media_asset_id']").val();$.get("/iqdb_queries.js",{limit:c.IQDB_LIMIT,search:{media_asset_id:t,similarity:c.IQDB_MIN_SIMILARITY,high_similarity:c.IQDB_HIGH_SIMILARITY}})}};$((function(){c.initialize_all()})),e.default=c},88254:(t,e,o)=>{"use strict";o.r(e);var i=o(20866);let s={SELECTOR:"*:not(.user-tooltip-name) > a.user, a.dtext-user-id-link, a.dtext-user-mention-link",SHOW_DELAY:500,HIDE_DELAY:125,DURATION:250,MAX_WIDTH:600,initialize:function(){(0,i.createTooltip)("user-tooltip",{delay:[s.SHOW_DELAY,s.HIDE_DELAY],duration:s.DURATION,maxWidth:s.MAX_WIDTH,target:s.SELECTOR,appendTo:"parent",touch:!1,onShow:s.on_show,onHide:s.on_hide})},on_show:async function(t){let e=$(t.reference),o=$(t.popper);if(!o.has(".user-tooltip-body").length)try{if(o.addClass("tooltip-loading"),e.is("a.dtext-user-id-link")){let o=/\/users\/(\d+)/.exec(e.attr("href"))[1];t._request=$.get(`/users/${o}`,{variant:"tooltip"})}else if(e.is("a.user")){let o=e.attr("data-user-id");t._request=$.get(`/users/${o}`,{variant:"tooltip"})}else if(e.is("a.dtext-user-mention-link")){let o=e.attr("data-user-name");t._request=$.get("/users",{name:o,variant:"tooltip"})}let i=await t._request;t.setContent(i),o.removeClass("tooltip-loading")}catch(s){0!==s.status&&"abort"!==s.statusText&&i.default.error(`Error displaying tooltip (error: ${s.status} ${s.statusText})`)}},on_hide:function(t){var e;"pending"===(null===(e=t._request)||void 0===e?void 0:e.state())&&t._request.abort()}};$(document).ready(s.initialize),e.default=s},20866:(t,e,o)=>{"use strict";o.r(e),o.d(e,{clamp:()=>d,createTooltip:()=>g});var i=o(18535),s=o.n(i),a=o(31051),n=o(58748),r=o.n(n);function c(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function l(t,e,o){return(e=function(t){var e=function(t,e){if("object"!==typeof t||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}let p={};function d(t,e,o){return Math.max(e,Math.min(t,o))}function g(t,e={}){return(0,a.cl)("body",function(t){for(var e=1;esetTimeout(e,t)))},p.meta=function(t){return $("meta[name="+t+"]").attr("content")},p.test_max_width=function(t){return!!window.matchMedia&&window.matchMedia("(max-width: "+t+"px)").matches},p.notice_timeout_id=void 0,p.notice=function(t,e){$("#notice").addClass("notice-info").removeClass("notice-error").fadeIn("fast").children("span").html(t),void 0!==p.notice_timeout_id&&clearTimeout(p.notice_timeout_id),e||(p.notice_timeout_id=setTimeout((function(){$("#close-notice-link").click(),p.notice_timeout_id=void 0}),6e3))},p.error=function(t){$("#notice").removeClass("notice-info").addClass("notice-error").fadeIn("fast").children("span").html(t),void 0!==p.notice_timeout_id&&clearTimeout(p.notice_timeout_id)},p.dialog=function(t,e){const o=$(e).dialog({title:t,width:700,modal:!0,close:function(){$((()=>o.dialog("destroy")))},buttons:{Submit:function(){let t=o.find("form").get(0);t.requestSubmit?t.requestSubmit():(t.submit(),s().fire(t,"submit"))},Cancel:function(){o.dialog("close")}}});o.find("form").on("submit.danbooru",(function(){o.dialog("close")})),(0,a.Bn)({duration:0})},p.keydown=function(t,e,o,i=document){$(i).on("keydown.danbooru."+e,null,t,o)},p.is_subset=function(t,e){var o=!0;return $.each(e,(function(e,i){-1===$.inArray(i,t)&&(o=!1)})),o},p.intersect=function(t,e){t=t.slice(0).sort(),e=e.slice(0).sort();for(var o=[];t.length>0&&e.length>0;)t[0]e[0]||o.push(t.shift()),e.shift());return o},p.regexp_escape=function(t){return t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")},p.splitWords=function(t){return r()(t,/\S+/g)},p.copyToClipboard=async function(t,e="Copied!"){try{await navigator.clipboard.writeText(t),p.notice(e)}catch(o){p.error("Couldn't copy to clipboard")}},$.fn.selectEnd=function(){return this.each((function(){this.focus(),this.setSelectionRange(this.value.length,this.value.length)}))},e.default=p},77867:(t,e,o)=>{"use strict";function i(t){this.op=t,URL||this._error("No URL support"),Blob||this._error("No Blob support"),Uint8Array||this._error("No Uint8Array support"),DataView||this._error("No DataView support"),ArrayBuffer||this._error("No ArrayBuffer support"),this.op.source||this._error("No source URL provided"),this._loadingState=0,this._dead=!1,this._context=t.canvas.getContext("2d"),this._files=[],this._frameCount=this.op.metadata.frames.length,this._debugLog("Frame count: "+this._frameCount),this._frame=0,this._loadFrame=0,this._frameImages=[],this._paused=!1,this._startLoad(),this.op.autoStart?this.play():this._paused=!0}o.r(e),o.d(e,{ZipImagePlayer:()=>i}),i.prototype={_trailerBytes:3e4,_failed:!1,_mkerr:function(t){var e=this;return function(){e._error(t)}},_error:function(t){throw this._failed=!0,Error("ZipImagePlayer error: "+t)},_debugLog:function(t){this.op.debug&&console.log(t)},_load:function(t,e,o){var i=this,s=new XMLHttpRequest;if(s.addEventListener("load",(function(a){i._dead||(i._debugLog("Load: "+t+" "+e+" status="+s.status),200==s.status?(i._debugLog("Range disabled or unsupported, complete load"),t=0,e=s.response.byteLength,i._len=e,i._buf=s.response,i._bytes=new Uint8Array(i._buf)):(206!=s.status&&i._error("Unexpected HTTP status "+s.status),s.response.byteLength!=e&&i._error("Unexpected length "+s.response.byteLength+" (expected "+e+")"),i._bytes.set(new Uint8Array(s.response),t)),o&&o.apply(i,[t,e]))}),!1),s.addEventListener("error",this._mkerr("Fetch failed"),!1),s.open("GET",this.op.source),s.responseType="arraybuffer",null!=t&&null!=e){var a=t+e;s.setRequestHeader("Range","bytes="+t+"-"+(a-1))}s.send()},_startLoad:function(){var t=this;$.ajax({url:this.op.source,type:"HEAD"}).done((function(e,o,i){if(!t._dead){t._pHead=0,t._pNextHead=0,t._pFetch=0;var s=parseInt(i.getResponseHeader("Content-Length"));if(!s)return t._debugLog("HEAD request failed: invalid file length."),t._debugLog("Falling back to full file mode."),void t._load(null,null,(function(e,o){t._pTail=0,t._pHead=o,t._findCentralDirectory()}));t._debugLog("Len: "+s),t._len=s,t._buf=new ArrayBuffer(s),t._bytes=new Uint8Array(t._buf);var a=s-t._trailerBytes;a<0&&(a=0),t._pTail=s,t._load(a,s-a,(function(e,o){t._pTail=e,t._findCentralDirectory()}))}})).fail(this._mkerr("Length fetch failed"))},_findCentralDirectory:function(){var t=new DataView(this._buf,this._len-22,22);101010256!=t.getUint32(0,!0)&&this._error("End of Central Directory signature not found");var e=t.getUint16(10,!0),o=t.getUint32(12,!0),i=t.getUint32(16,!0);i=this._pTail?(this._pHead=this._len,$(this).triggerHandler("loadProgress",[this._pHead/this._len]),this._loadNextFrame()):(this._loadNextChunk(),this._loadNextChunk())},_loadNextChunk:function(){if(!(this._pFetch>=this._pTail)){var t=this._pFetch,e=this.op.chunkSize;this._pFetch+e>this._pTail&&(e=this._pTail-this._pFetch),this._pFetch+=e,this._load(t,e,(function(){t==this._pHead?(this._pNextHead?(this._pHead=this._pNextHead,this._pNextHead=0):this._pHead=t+e,this._pHead>=this._pTail&&(this._pHead=this._len),$(this).triggerHandler("loadProgress",[this._pHead/this._len]),this._loadNextFrame()):this._pNextHead=t+e,this._loadNextChunk()}))}},_fileDataStart:function(t){var e=new DataView(this._buf,t,30);return t+30+e.getUint16(26,!0)+e.getUint16(28,!0)},_isFileAvailable:function(t){var e=this._files[t];return e||this._error("File "+t+" not found in ZIP"),!(this._pHead=this._fileDataStart(e.off)+e.len},_loadNextFrame:function(){if(!this._dead){var t=this._loadFrame;if(!(t>=this._frameCount)&&this._isFileAvailable(t)){this._loadFrame+=1;var e=this._fileDataStart(this._files[t].off),o=e+this._files[t].len,i=this._buf.slice(e,o),s=new Blob([i]),a=URL.createObjectURL(s);this._loadImage(t,a)}}},_loadImage:function(t,e){var o=this,i=new Image;i.addEventListener("load",(function(){o._debugLog(`Loaded frame ${t}`),URL.revokeObjectURL(e),o._dead||(o._frameImages[t]=i,$(o).triggerHandler("frameLoaded",t),0==o._loadingState&&o._displayFrame.apply(o),t>=o._frameCount-1?(o._setLoadingState(2),o._buf=null,o._bytes=null):o._loadNextFrame())})),i.src=e},_setLoadingState:function(t){this._loadingState!=t&&(this._loadingState=t,$(this).triggerHandler("loadingStateChanged",[t]))},_displayFrame:function(){if(!this._dead){var t=this,e=this.op.metadata.frames[this._frame];this._debugLog("Displaying frame: "+this._frame);var o=this._frameImages[this._frame];if(!o)return this._debugLog("Image not available!"),void this._setLoadingState(0);2!=this._loadingState&&this._setLoadingState(1),this.op.autosize&&(this._context.canvas.width==o.width&&this._context.canvas.height==o.height||(this._context.canvas.width=o.width,this._context.canvas.height=o.height)),this._context.clearRect(0,0,this.op.canvas.width,this.op.canvas.height),this._context.drawImage(o,0,0),$(this).triggerHandler("frame",this._frame),this._paused||(this._timer=setTimeout((function(){t._timer=null,t._nextFrame.apply(t)}),e))}},_nextFrame:function(t){if(this._frame>=this._frameCount-1){if(!this.op.loop)return void this.pause();this._frame=0}else this._frame+=1;this._displayFrame()},play:function(){this._dead||this._paused&&($(this).triggerHandler("play",[this._frame]),this._paused=!1,this._displayFrame())},pause:function(){this._dead||this._paused||(this._timer&&clearTimeout(this._timer),this._paused=!0,$(this).triggerHandler("pause",[this._frame]))},rewind:function(){this._dead||(this._frame=0,this._timer&&clearTimeout(this._timer),this._displayFrame())},stop:function(){this._debugLog("Stopped!"),this._dead=!0,this._timer&&clearTimeout(this._timer),this._frameImages=null,this._buf=null,this._bytes=null,$(this).triggerHandler("stop")}}},21344:(t,e,o)=>{"use strict";o.r(e)},12511:(t,e,o)=>{"use strict";o.r(e)},22658:(t,e,o)=>{"use strict";o.r(e)},90643:(t,e,o)=>{"use strict";o.r(e)},69636:(t,e,o)=>{"use strict";o.r(e)},81437:(t,e,o)=>{"use strict";o.r(e)},21033:(t,e,o)=>{"use strict";o.r(e)},55548:(t,e,o)=>{"use strict";o.r(e)},80510:(t,e,o)=>{"use strict";o.r(e)},10640:(t,e,o)=>{"use strict";o.r(e)},40833:(t,e,o)=>{"use strict";o.r(e)},48724:(t,e,o)=>{"use strict";o.r(e)},17157:(t,e,o)=>{"use strict";o.r(e)},44924:(t,e,o)=>{"use strict";o.r(e)},43826:(t,e,o)=>{"use strict";o.r(e)},33430:(t,e,o)=>{"use strict";o.r(e)},95513:(t,e,o)=>{"use strict";o.r(e)},76285:(t,e,o)=>{"use strict";o.r(e)},12449:(t,e,o)=>{"use strict";o.r(e)},25038:(t,e,o)=>{"use strict";o.r(e)},79045:(t,e,o)=>{"use strict";o.r(e)},47302:(t,e,o)=>{"use strict";o.r(e)},73947:(t,e,o)=>{"use strict";o.r(e)},74879:(t,e,o)=>{"use strict";o.r(e)},97900:(t,e,o)=>{"use strict";o.r(e)},10137:(t,e,o)=>{"use strict";o.r(e)},26762:(t,e,o)=>{"use strict";o.r(e)},82210:(t,e,o)=>{"use strict";o.r(e)},59655:(t,e,o)=>{"use strict";o.r(e)},97261:(t,e,o)=>{"use strict";o.r(e)},26757:(t,e,o)=>{"use strict";o.r(e)},15569:(t,e,o)=>{"use strict";o.r(e)},85615:(t,e,o)=>{"use strict";o.r(e)},13625:(t,e,o)=>{"use strict";o.r(e)},35849:(t,e,o)=>{"use strict";o.r(e)},43282:(t,e,o)=>{"use strict";o.r(e)},54934:(t,e,o)=>{"use strict";o.r(e)},1687:(t,e,o)=>{"use strict";o.r(e)},63091:(t,e,o)=>{"use strict";o.r(e)},25125:(t,e,o)=>{"use strict";o.r(e)},88260:(t,e,o)=>{"use strict";o.r(e)},52390:(t,e,o)=>{"use strict";o.r(e)},68777:(t,e,o)=>{"use strict";o.r(e)},73661:(t,e,o)=>{"use strict";o.r(e)},74312:(t,e,o)=>{"use strict";o.r(e)},63477:(t,e,o)=>{"use strict";o.r(e)},59992:(t,e,o)=>{"use strict";o.r(e)},40480:(t,e,o)=>{"use strict";o.r(e)},2487:(t,e,o)=>{"use strict";o.r(e)},27775:(t,e,o)=>{"use strict";o.r(e)},12916:(t,e,o)=>{"use strict";o.r(e)},20701:(t,e,o)=>{"use strict";o.r(e)},42532:(t,e,o)=>{"use strict";o.r(e)},58298:(t,e,o)=>{"use strict";o.r(e)},53083:(t,e,o)=>{"use strict";o.r(e)},51463:(t,e,o)=>{"use strict";o.r(e)},62868:(t,e,o)=>{"use strict";o.r(e)},81042:(t,e,o)=>{"use strict";o.r(e)},99497:(t,e,o)=>{"use strict";o.r(e)},16046:(t,e,o)=>{"use strict";o.r(e)},17201:(t,e,o)=>{"use strict";o.r(e)},60070:(t,e,o)=>{"use strict";o.r(e)},18748:(t,e,o)=>{"use strict";o.r(e)},50425:(t,e,o)=>{var i={"./4chan-logo.png":95714,"./ablobgift.gif":36336,"./adobe-portfolio-logo.png":6204,"./allmylinks-logo.png":16160,"./amazon-logo.png":17866,"./ameblo-logo.png":38456,"./american-express-logo.svg":58019,"./amino-logo.png":33391,"./anifty-logo.png":63412,"./anilist-logo.png":24461,"./anime-news-network-logo.png":1617,"./animexx-logo.png":31385,"./apple-music-logo.png":54633,"./arca.live-logo.png":24010,"./archive-of-our-own-logo.png":36731,"./arrow2_n.png":14355,"./arrow2_s.png":59266,"./art-fight-logo.png":43806,"./artists-clients-logo.png":74373,"./artstation-logo.png":93933,"./artstreet-logo.png":72426,"./aryion-logo.png":51236,"./ask.fm-logo.png":35508,"./atfbooru_banner.jpg":97635,"./bandcamp-logo.png":71367,"./baraag-logo.png":89181,"./bcy-logo.png":64111,"./beacons-logo.png":18909,"./behance-logo.png":52308,"./big-cartel-logo.png":42679,"./biglobe-logo.png":27845,"./bilibili-logo.png":92150,"./blobgift.png":62342,"./blogger-logo.png":31540,"./boosty-logo.png":1879,"./booth-logo.png":2076,"./buy-me-a-coffee-logo.png":44050,"./cafe24-logo.png":74967,"./carrd-logo.png":50546,"./catbox-logo.png":9740,"./circle.ms-logo.png":49242,"./class101-logo.png":28649,"./clip-studio-logo.png":53661,"./coconala-logo.png":15860,"./colors-live-logo.png":77548,"./commishes-logo.png":67283,"./creatorlink-logo.png":43741,"./curious-cat-logo.png":20753,"./danbirthday.png":92581,"./danbooru-logo-128x128.png":70300,"./danbooru-logo-500x500.png":25109,"./danbooru-logo-96x96.png":20082,"./danbooru-logo.png":69244,"./deviant-art-logo.png":58688,"./discord-logo.png":8158,"./discover-logo.svg":71490,"./dlsite-logo.png":98480,"./doujinshi.org-logo.png":48555,"./douyin-logo.png":76133,"./drawcrowd-logo.png":34018,"./e-hentai-logo.png":49312,"./enty-logo.png":6948,"./erogamescape-logo.png":19306,"./etsy-logo.png":50123,"./excite-blog-logo.png":63288,"./facebook-logo.png":69581,"./fanbox-logo.png":63210,"./fandom-logo.png":75827,"./fanfiction.net-logo.png":89579,"./fantia-logo.png":3270,"./fc2-logo.png":28742,"./fiverr-logo.png":93368,"./flash-preview.png":92493,"./flavors-logo.png":81036,"./flickr-logo.png":64399,"./foriio-logo.png":1381,"./foundation-logo.png":28171,"./furaffinity-logo.png":80982,"./fusetter-logo.png":88660,"./gelbooru-logo.png":83535,"./geocities-logo.png":38981,"./giftee-logo.png":70117,"./github-logo.png":26155,"./google-logo.png":77965,"./gumroad-logo.png":32773,"./gunsta-logo.png":74019,"./hatena-blog-logo.png":12301,"./hatena-logo.png":99778,"./hentai-foundry-logo.png":75065,"./hitomi-logo.png":74811,"./hoyolab-logo.png":89381,"./html.co.jp-logo.png":46557,"./icons.svg":20354,"./imagis-logo.png":92473,"./imgur-logo.png":35514,"./infoseek-logo.png":63413,"./inkbunny-logo.png":6446,"./inprnt-logo.png":69188,"./instagram-logo.png":67315,"./itch.io-logo.png":95458,"./jimdo-logo.png":24674,"./joyreactor-logo.png":78043,"./kakao-logo.png":47403,"./kemogift.png":54681,"./kemono-party-logo.png":81995,"./kickstarter-logo.png":44169,"./kirby-s-comic-art-logo.png":25213,"./kiru-made-logo.png":41778,"./ko-fi-logo.png":69254,"./konachan-logo.png":87363,"./last.fm-logo.png":79209,"./letterboxd-logo.png":20785,"./line-logo.png":6236,"./linkedin-logo.png":44486,"./linktree-logo.png":39969,"./listography-logo.png":47175,"./lit.link-logo.png":85047,"./livedoor-logo.png":90681,"./lofter-logo.png":9141,"./luscious-logo.png":49972,"./mangaupdates-logo.png":44221,"./marshmallow-qa-logo.png":68201,"./mastercard-logo.svg":25240,"./mastodon-logo.png":22928,"./mblg-logo.png":98237,"./mega-logo.png":38164,"./melonbooks-logo.png":62101,"./mihoyo-logo.png":15826,"./mihuashi-logo.png":70336,"./misskey.art-logo.png":37575,"./misskey.design-logo.png":84363,"./misskey.io-logo.png":55416,"./mixi.jp-logo.png":69588,"./monappy-logo.png":4166,"./mottohomete-logo.png":60998,"./myanimelist-logo.png":52338,"./myfigurecollection-logo.png":40360,"./naver-logo.png":67133,"./newgrounds-logo.png":34083,"./nico-seiga-logo.png":43909,"./nijie-logo.png":86271,"./note-logo.png":57063,"./objkt-logo.png":62084,"./ocn-logo.png":73606,"./odaibako-logo.png":43721,"./ofuse-logo.png":477,"./onlyfans-logo.png":68585,"./opensea-logo.png":9975,"./overdoll-logo.png":77292,"./padoru.gif":30379,"./partme-logo.png":31489,"./patreon-logo.png":48988,"./pawoo-logo.png":91413,"./paypal-logo.png":11576,"./peing-logo.png":60381,"./photozou-logo.png":18066,"./piapro.jp-logo.png":54939,"./picarto-logo.png":82287,"./picdig-logo.png":83229,"./picrew-logo.png":21551,"./piczel-logo.png":43251,"./pillowfort-logo.png":34094,"./pinterest-logo.png":94602,"./pixel-joint-logo.png":32198,"./pixiv-logo.png":90535,"./pixiv-sketch-logo.png":99145,"./plurk-logo.png":99404,"./poipiku-logo.png":89854,"./pornhub-logo.png":90895,"./portfoliobox-logo.png":92193,"./postype-logo.png":44705,"./potofu-logo.png":35515,"./privatter-logo.png":24186,"./profcard-logo.png":66815,"./provgift.png":4996,"./recomet-logo.png":76248,"./redbubble-logo.png":25370,"./reddit-logo.png":43532,"./redgifs-logo.png":89993,"./rule34.us-logo.png":7441,"./rule34.xxx-logo.png":55421,"./safebooru-logo.png":98529,"./sakura.ne.jp-logo.png":73892,"./sankaku-complex-logo.png":56613,"./shopee-logo.png":5170,"./skeb-logo.png":37470,"./sketchfab-logo.png":9050,"./sketchmob-logo.png":47274,"./skima-logo.png":82915,"./society6-logo.png":21245,"./soundcloud-logo.png":10571,"./spotify-logo.png":31804,"./steam-logo.png":30564,"./stickam-logo.png":10852,"./storenvy-logo.png":70296,"./streamlabs-logo.png":16852,"./subscribestar-logo.png":23793,"./superrare-logo.png":76974,"./suzuri-logo.png":57103,"./taobao-logo.png":98980,"./tapas-logo.png":11318,"./tbib-logo.png":94573,"./teepublic-logo.png":32188,"./telegram-logo.png":12314,"./the-interviews-logo.png":48592,"./tictail-logo.png":93414,"./tiktok-logo.png":40364,"./tinami-logo.png":3493,"./tistory-logo.png":77501,"./togetter-logo.png":42806,"./toranoana-logo.png":32038,"./toyhouse-logo.png":72100,"./trakteer-logo.png":6043,"./trello-logo.png":84385,"./tsunagu.cloud-logo.png":28336,"./tumblr-logo.png":21980,"./twipple-logo.png":79069,"./twitcasting-logo.png":88657,"./twitch-logo.png":61817,"./twitpic-logo.png":13087,"./twitter-logo.png":27876,"./twpf-logo.png":4684,"./ui-bg_flat_0_aaaaaa_40x100.png":73367,"./ui-bg_flat_50_dadada_40x100.png":62158,"./ui-bg_flat_55_fbf9ee_40x100.png":52132,"./ui-bg_flat_75_ffffff_40x100.png":13596,"./ui-bg_flat_95_fef1ec_40x100.png":75653,"./ui-bg_glass_55_fbf9ee_1x400.png":55885,"./ui-bg_glass_65_ffffff_1x400.png":24490,"./ui-bg_glass_75_dadada_1x400.png":64410,"./ui-bg_glass_75_e6e6e6_1x400.png":78530,"./ui-bg_glass_95_fef1ec_1x400.png":86997,"./ui-bg_highlight-soft_0_aaaaaa_1x100.png":14041,"./ui-bg_highlight-soft_65_ffffff_1x100.png":41286,"./ui-bg_highlight-soft_75_cccccc_1x100.png":98287,"./ui-bg_highlight-soft_75_e6e6e6_1x100.png":70397,"./ui-icons_222222_256x240.png":14795,"./ui-icons_2e83ff_256x240.png":77638,"./ui-icons_454545_256x240.png":46334,"./ui-icons_888888_256x240.png":89394,"./ui-icons_cd0a0a_256x240.png":13e3,"./ustream-logo.png":85946,"./vimeo-logo.png":95075,"./visa-logo.svg":61976,"./vk-logo.png":86682,"./wavebox-logo.png":84155,"./weasyl-logo.png":8692,"./webmshare-logo.png":69836,"./webtoons-logo.png":72186,"./weebly-logo.png":3181,"./weibo-logo.png":93694,"./wikipedia-logo.png":78711,"./willow-logo.png":93516,"./wix-logo.png":82603,"./wordpress-logo.png":35834,"./yahoo-logo.png":25560,"./yande.re-logo.png":86147,"./yfrog-logo.png":39001,"./youtube-logo.png":74801,"./zerochan-logo.png":58780};function s(t){var e=a(t);return o(e)}function a(t){if(!o.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}s.keys=function(){return Object.keys(i)},s.resolve=a,t.exports=s,s.id=50425},95714:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/4chan-logo-ccb75a4cb848c95282df.png"},36336:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ablobgift-fecae8afdec18ddbb777.gif"},6204:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/adobe-portfolio-logo-4380600ba7c23b74cf7e.png"},16160:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/allmylinks-logo-d61eb5a486e5acae1abd.png"},17866:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/amazon-logo-60728238e527b0a9068e.png"},38456:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ameblo-logo-c6584522ffa696369b06.png"},58019:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/american-express-logo-57c7be7a74e8f95828b7.svg"},33391:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/amino-logo-43959e22e47602f2d4ed.png"},63412:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/anifty-logo-929acb12ad7099710221.png"},24461:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/anilist-logo-23ca7c7242d52ab79d31.png"},1617:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/anime-news-network-logo-188a1dca8f463ee12f13.png"},31385:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/animexx-logo-09d5a9c41a89a9488240.png"},54633:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/apple-music-logo-a9475a8a2c85c2d19121.png"},24010:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/arca.live-logo-84dd0b1c6c5867ed022f.png"},36731:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/archive-of-our-own-logo-b6b8528b20766bc76257.png"},14355:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/arrow2_n-a5c945eb37a4713759f5.png"},59266:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/arrow2_s-5f0c41007ab09fc51c2a.png"},43806:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/art-fight-logo-bd2e4a3933f4db6d5c28.png"},74373:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/artists-clients-logo-fd54ff8b0d0762f2c11d.png"},93933:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/artstation-logo-ed835e2a2ba2c5c93460.png"},72426:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/artstreet-logo-5caa916610baa3cd2e26.png"},51236:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/aryion-logo-c88d041a746016c2b132.png"},35508:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ask.fm-logo-eff14b70d72a635cca3c.png"},71367:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/bandcamp-logo-96230e6c0cce851ef1f4.png"},89181:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/baraag-logo-e5c7344b9197e7fbea20.png"},64111:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/bcy-logo-08bb6bd40d5ed459477c.png"},18909:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/beacons-logo-0c5bd02f6ee99c915cb2.png"},52308:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/behance-logo-8eec074e8c24e17b8f4c.png"},42679:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/big-cartel-logo-b14dc4116a6bcb52415c.png"},27845:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/biglobe-logo-471adceccad780e3d5a1.png"},92150:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/bilibili-logo-95cad33c711d5a515ae8.png"},62342:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/blobgift-401b2ba4a9bd736101fa.png"},31540:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/blogger-logo-f279256db5a8fecdbcb6.png"},1879:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/boosty-logo-351912d4e2448dd9117b.png"},2076:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/booth-logo-259fde856148bd2156b1.png"},44050:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/buy-me-a-coffee-logo-afef41aef3357ddc87cc.png"},74967:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/cafe24-logo-8a9c348a6e6e08a3a4ad.png"},50546:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/carrd-logo-bcc3a31fc556f2b6b884.png"},9740:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/catbox-logo-32ce26269712b1a08f3d.png"},49242:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/circle.ms-logo-fe3e933fd3375b501ab2.png"},28649:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/class101-logo-974b9163c9e3dc04f2ae.png"},53661:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/clip-studio-logo-534bae37f2a6741867a7.png"},15860:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/coconala-logo-585287f6b5d9ec94ec90.png"},77548:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/colors-live-logo-70c7f049bc1f560b285e.png"},67283:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/commishes-logo-eef147d461f3741ea5ad.png"},43741:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/creatorlink-logo-813a71b1370f52099a4d.png"},20753:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/curious-cat-logo-a993ee685f5094a7a530.png"},92581:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/danbirthday-4efbff6333a3279c045d.png"},70300:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/danbooru-logo-128x128-ea111b6658173e847734.png"},25109:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/danbooru-logo-500x500-d500cfd57cda592751d5.png"},20082:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/danbooru-logo-96x96-14793aa443f9acc03ea2.png"},69244:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/danbooru-logo-5c74dae8130b5f19aeb9.png"},58688:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/deviant-art-logo-f2cc5f52775ba8cd7b4b.png"},8158:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/discord-logo-5c40c3a6f162a826276b.png"},71490:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/discover-logo-2bb4e965a5c7f67dc283.svg"},98480:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/dlsite-logo-534d21a2262d1baaba9a.png"},48555:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/doujinshi.org-logo-3cb868872ba8df55b8d3.png"},76133:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/douyin-logo-eb825cc39d4a9aca0e6d.png"},34018:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/drawcrowd-logo-257683db1a6c46d0d6f2.png"},49312:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/e-hentai-logo-6f428a50b75cdef2e509.png"},6948:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/enty-logo-92c5ed42e658e9eb8995.png"},19306:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/erogamescape-logo-5e0bbed474af300cecce.png"},50123:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/etsy-logo-a601adb2fc571357e2e7.png"},63288:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/excite-blog-logo-bf05904865c5a23af9f4.png"},69581:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/facebook-logo-84ab8ea7f6173de9daa6.png"},63210:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/fanbox-logo-edf94514e8c79b304d8f.png"},75827:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/fandom-logo-7e936dcc25305f0dae08.png"},89579:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/fanfiction.net-logo-e2e2d752b6f907b272da.png"},3270:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/fantia-logo-91fb22e6f105d3402555.png"},28742:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/fc2-logo-c460a20442badfcca1e1.png"},93368:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/fiverr-logo-ea7d7a149f5c3af4a2e7.png"},92493:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/flash-preview-44d2af6145649692e2f0.png"},81036:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/flavors-logo-c72742e4755f00afc34d.png"},64399:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/flickr-logo-337e75619f320401b86a.png"},1381:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/foriio-logo-c655e8615f37e5cfdabf.png"},28171:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/foundation-logo-b99eccd46aa5bf93933b.png"},80982:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/furaffinity-logo-5c70f14a6c7f1c9d3708.png"},88660:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/fusetter-logo-a173a8edae354a5e1f70.png"},83535:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/gelbooru-logo-141dc9b1b8d1e1c89564.png"},38981:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/geocities-logo-5ac114356158188bcbac.png"},70117:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/giftee-logo-72b3e81314517c5d6b46.png"},26155:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/github-logo-c932001442ab985405de.png"},77965:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/google-logo-d7431b1b97c8873071eb.png"},32773:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/gumroad-logo-002a01991345ee5aacae.png"},74019:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/gunsta-logo-8bf554c6f36c05b1f099.png"},12301:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/hatena-blog-logo-f0f185f4804435304b9e.png"},99778:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/hatena-logo-3c672932dee638ce42af.png"},75065:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/hentai-foundry-logo-aebe8e6ea8cdfc0624ca.png"},74811:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/hitomi-logo-cc8c343ac1815e342fd3.png"},89381:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/hoyolab-logo-9d53b9531c4a8a883cc5.png"},46557:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/html.co.jp-logo-9d2e2b14864d8b2ab86b.png"},20354:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/icons-f4ca0cd60cf43cc54f9a.svg"},92473:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/imagis-logo-e31619622b80a344d92d.png"},35514:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/imgur-logo-a000e3439f62099fd36b.png"},63413:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/infoseek-logo-156fb72bca06b921dbc9.png"},6446:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/inkbunny-logo-709769b409262c6433d2.png"},69188:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/inprnt-logo-e09c16e797c1d497ab53.png"},67315:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/instagram-logo-d2c22f7f4626631fd99b.png"},95458:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/itch.io-logo-b1d1fb001d7510a81c53.png"},24674:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/jimdo-logo-12c494ce6f0befeb8e14.png"},78043:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/joyreactor-logo-ef4c242f8cf2a1502c2c.png"},47403:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/kakao-logo-142d8cf83d186e931730.png"},54681:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/kemogift-bd3e87743549093d7bc4.png"},81995:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/kemono-party-logo-c1070f4018d4ee4894c2.png"},44169:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/kickstarter-logo-a37de8b42aa7bcce24e8.png"},25213:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/kirby-s-comic-art-logo-c301c93f877c1141bd2e.png"},41778:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/kiru-made-logo-af3c4eddacbee38413f7.png"},69254:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ko-fi-logo-34ac02454be69c5e28e7.png"},87363:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/konachan-logo-37aee704e114ea04d3f1.png"},79209:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/last.fm-logo-694a88599ba2d2c5c6c9.png"},20785:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/letterboxd-logo-d161268a0a8053d5d8aa.png"},6236:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/line-logo-f596dc0c52a7ac46bea4.png"},44486:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/linkedin-logo-fc4eede5d2aa4141bd1f.png"},39969:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/linktree-logo-435b9f67d96718b6d05e.png"},47175:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/listography-logo-28abb63f243ac5df8db2.png"},85047:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/lit.link-logo-c60c514727b092036001.png"},90681:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/livedoor-logo-7059e79c03ee7cd6d13b.png"},9141:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/lofter-logo-69f9794d41cb404456f8.png"},49972:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/luscious-logo-c21c6e8edb07ab8de626.png"},44221:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/mangaupdates-logo-7a16d261aff51726740c.png"},68201:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/marshmallow-qa-logo-d894eb40e97f6244f88c.png"},25240:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/mastercard-logo-7bddd326e173cb3b8afb.svg"},22928:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/mastodon-logo-fbc6f4393ff2c268be2f.png"},98237:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/mblg-logo-cbe824dca6baa2af6979.png"},38164:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/mega-logo-087ecc0244a0ea4f459d.png"},62101:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/melonbooks-logo-fbf0036ed53266acfc18.png"},15826:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/mihoyo-logo-6d016c17a580add81d11.png"},70336:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/mihuashi-logo-5bd8d0a570ce53256949.png"},37575:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/misskey.art-logo-4d5e26e3340dbc0e1315.png"},84363:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/misskey.design-logo-e401326bc004f93f2459.png"},55416:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/misskey.io-logo-7e76b66f712872c35128.png"},69588:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/mixi.jp-logo-941928377dd074d90058.png"},4166:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/monappy-logo-1a2d7eb0dfd68d9c8f66.png"},60998:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/mottohomete-logo-8c0365fdd33812d6d6be.png"},52338:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/myanimelist-logo-ff27b2d7137bbeff8e9b.png"},40360:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/myfigurecollection-logo-1765803a4724964e4af2.png"},67133:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/naver-logo-81865bb0fdd378c84b70.png"},34083:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/newgrounds-logo-831d30b355f65244f62f.png"},43909:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/nico-seiga-logo-7ad12d32d6de7102f9cd.png"},86271:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/nijie-logo-101d7d6c34f7e124b1ce.png"},57063:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/note-logo-e6f5ad0d5acda41e021f.png"},62084:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/objkt-logo-baf74ab3d0a6a7597340.png"},73606:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ocn-logo-65eb9c6ef0df3ddea5e2.png"},43721:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/odaibako-logo-dcde31f36db590711278.png"},477:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ofuse-logo-359eb17b725c2c13f83e.png"},68585:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/onlyfans-logo-c7e2cd4ea5e741402ab2.png"},9975:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/opensea-logo-562cc2c10de900d57448.png"},77292:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/overdoll-logo-11377a13d26e27306a2c.png"},30379:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/padoru-5bfdf574f8b67040d244.gif"},31489:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/partme-logo-dd1a29cadb2054f5f1c5.png"},48988:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/patreon-logo-6c1e9815123dc3982046.png"},91413:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/pawoo-logo-71eb1161336eca5c5c32.png"},11576:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/paypal-logo-54681e5ddf576877cde5.png"},60381:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/peing-logo-41a11ba72397152804d7.png"},18066:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/photozou-logo-07b4a9056b14de017b0e.png"},54939:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/piapro.jp-logo-a51ad07400a210fd9dd8.png"},82287:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/picarto-logo-a082374ab5ec9b111542.png"},83229:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/picdig-logo-bf1cf5aebbe5d5eeacbb.png"},21551:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/picrew-logo-e8c5b7be27dadcca1a6a.png"},43251:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/piczel-logo-c3f6d78ae6291010ace4.png"},34094:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/pillowfort-logo-f840ea6f6bab8843ccf1.png"},94602:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/pinterest-logo-54a5b2aff8f217999228.png"},32198:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/pixel-joint-logo-b2e2f3f5d77907b813ed.png"},90535:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/pixiv-logo-1e79e3c638b9c309d92e.png"},99145:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/pixiv-sketch-logo-ca40d9feeca63dc3d0da.png"},99404:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/plurk-logo-4a9ea0689921cbc2bf48.png"},89854:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/poipiku-logo-625b08f0b6a6560a2506.png"},90895:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/pornhub-logo-58722d868ccada08f55a.png"},92193:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/portfoliobox-logo-98bc3f3796990ef94f26.png"},44705:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/postype-logo-5ee4c4db7707849753b0.png"},35515:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/potofu-logo-5129f9819c37513d4946.png"},24186:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/privatter-logo-3f631af8480c16785197.png"},66815:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/profcard-logo-9a10b2a8de18ef1a68ed.png"},4996:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/provgift-97197e1370675772e0e4.png"},76248:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/recomet-logo-4d7442f58d0d8a21aba0.png"},25370:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/redbubble-logo-3f03917beb7f57504dbf.png"},43532:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/reddit-logo-7a2bc08a63170236906e.png"},89993:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/redgifs-logo-7a169176a43ffaa08e45.png"},7441:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/rule34.us-logo-0e3af69c452522c80bb4.png"},55421:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/rule34.xxx-logo-ec75ee4405b578133b2a.png"},98529:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/safebooru-logo-44c39fa62f40cf4631c3.png"},73892:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/sakura.ne.jp-logo-0503d2fe37431ac8f7ab.png"},56613:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/sankaku-complex-logo-517932e3f941c61125aa.png"},5170:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/shopee-logo-cdd77cf0bc540eaf3ebd.png"},37470:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/skeb-logo-c6494af7a5eb2f1dfa24.png"},9050:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/sketchfab-logo-47099974adc96f4e094e.png"},47274:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/sketchmob-logo-5d005774bf2fa70a0eac.png"},82915:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/skima-logo-685a6a7ddc6af77d2f93.png"},21245:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/society6-logo-c4b9462edd67810aefc6.png"},10571:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/soundcloud-logo-e9758f9e72ac5ef711ab.png"},31804:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/spotify-logo-dc115f17eece8b888245.png"},30564:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/steam-logo-0ee0e33e9bec4d4a76df.png"},10852:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/stickam-logo-77168e20b8b1a7eb4827.png"},70296:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/storenvy-logo-c99d67bedae524afd08c.png"},16852:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/streamlabs-logo-1255e14dec564b243bb3.png"},23793:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/subscribestar-logo-b20fa638d23797e2a32b.png"},76974:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/superrare-logo-9e10557d061f2b777784.png"},57103:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/suzuri-logo-b057b2f24cef15868f67.png"},98980:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/taobao-logo-bd11b31e9637e72c1b81.png"},11318:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/tapas-logo-ffceb8414aa315e50d1e.png"},94573:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/tbib-logo-a48a587546fa29aaecec.png"},32188:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/teepublic-logo-2223f4c85ac29aa4ca98.png"},12314:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/telegram-logo-7f00ff8d8d966272d483.png"},48592:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/the-interviews-logo-fb1da17ac19cd051d879.png"},93414:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/tictail-logo-f3bf56e1e89925e14f43.png"},40364:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/tiktok-logo-14621226a62ca7cc14e5.png"},3493:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/tinami-logo-aa40008906fe434782ca.png"},77501:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/tistory-logo-3976f057b23726d12479.png"},42806:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/togetter-logo-b74aa81f465c380736a8.png"},32038:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/toranoana-logo-5738bbbdbddc6d629134.png"},72100:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/toyhouse-logo-a518da340ce0521cd028.png"},6043:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/trakteer-logo-3584a347582c9c7f3025.png"},84385:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/trello-logo-8ee0ddb5a176908a1a76.png"},28336:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/tsunagu.cloud-logo-508c6a3dc76fc51952b2.png"},21980:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/tumblr-logo-224531127de139e5f082.png"},79069:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/twipple-logo-03593fe0a56666677930.png"},88657:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/twitcasting-logo-32316044cd8292012d2b.png"},61817:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/twitch-logo-e29e246c157142c94346.png"},13087:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/twitpic-logo-d7ee695c318ff2e1b826.png"},27876:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/twitter-logo-bccaea8aa96a35b97733.png"},4684:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/twpf-logo-d8b949e556d7338a8f8c.png"},73367:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_flat_0_aaaaaa_40x100-e49c4bb6537c353c3e6c.png"},62158:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_flat_50_dadada_40x100-ce934ea0464a8d5d8583.png"},52132:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_flat_55_fbf9ee_40x100-ff1fc9c5d4942f5cc917.png"},13596:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_flat_75_ffffff_40x100-ee90303e8eecdfed364b.png"},75653:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_flat_95_fef1ec_40x100-aad0c05e5f401e99dfbd.png"},55885:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_glass_55_fbf9ee_1x400-bd8c5ba738000caeb8ed.png"},24490:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_glass_65_ffffff_1x400-f6f0260acfe4bb35b073.png"},64410:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_glass_75_dadada_1x400-f10a359f3e144122592f.png"},78530:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_glass_75_e6e6e6_1x400-7ca8c802238d5efb6146.png"},86997:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_glass_95_fef1ec_1x400-1f9b8e8b95c7792b0825.png"},14041:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_highlight-soft_0_aaaaaa_1x100-7d301cb334da53891b97.png"},41286:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_highlight-soft_65_ffffff_1x100-735f277423b29056a137.png"},98287:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_highlight-soft_75_cccccc_1x100-80971d8922528d12ed1a.png"},70397:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-bg_highlight-soft_75_e6e6e6_1x100-58d98cbf57ddc91e3b43.png"},14795:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-icons_222222_256x240-3f23f6f9dd1c59691eba.png"},77638:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-icons_2e83ff_256x240-1c753b4b338b6f900faf.png"},46334:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-icons_454545_256x240-2cb6131e0e292e27c5cb.png"},89394:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-icons_888888_256x240-ef5ac6aea7df68591eec.png"},13e3:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ui-icons_cd0a0a_256x240-459791cd7103af739d35.png"},85946:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/ustream-logo-ee95768cdd0dc778f619.png"},95075:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/vimeo-logo-7b92394634d1c531d9cc.png"},61976:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/visa-logo-98073d8fe8db861dac76.svg"},86682:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/vk-logo-fbc771878d372f142477.png"},84155:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/wavebox-logo-c1cfcf05c4c7b246ea3b.png"},8692:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/weasyl-logo-1af4d577ae485f8f2fb2.png"},69836:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/webmshare-logo-5920401cbe9ad5a85b0f.png"},72186:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/webtoons-logo-bda4fdc557ec4bd996c0.png"},3181:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/weebly-logo-2d3c0a176d8f082fcd88.png"},93694:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/weibo-logo-0b626b5b133f0e6f42da.png"},78711:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/wikipedia-logo-0a5f38b6229b008ef514.png"},93516:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/willow-logo-a13e75df19da4865f735.png"},82603:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/wix-logo-05bb8ead0eda3b4b600c.png"},35834:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/wordpress-logo-aae6e348e7b8f65420e9.png"},25560:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/yahoo-logo-2fab569a86b50bdb7d66.png"},86147:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/yande.re-logo-ee21dfb6ac8fb6dd4a0f.png"},39001:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/yfrog-logo-6004e3b390db413e2b72.png"},74801:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/youtube-logo-d0a8d6907ab1bef6dfc5.png"},58780:(t,e,o)=>{"use strict";t.exports=o.p+"static/images/zerochan-logo-7eaa0000d147135ffe16.png"},97635:(t,e,o)=>{"use strict";t.exports=o.p+"static/danbooru-data/site-images/atfbooru_banner-dc2637ffbb70e2bd1993.jpg"}},t=>{t.O(0,[726],(()=>{return e=41307,t(t.s=e);var e}));t.O()}]);
//# sourceMappingURL=application-6efd394888713f374066.js.map