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,EAAEsB,KAAKiB,aAAaxC,GAAG2D,UAAU9C,KAAK0C,KAAKrC,MAAMjB,EAAEwB,SAASR,aAAaC,MAAML,KAAKM,SAASlB,EAAEwB,SAASR,aAAaE,QAAQ,GAAG,CAAC,MAAMrB,GAAG8D,QAAQC,MAAM,gJAAgJ,CAAE,GAAE5D,EAAEsB,KAAKuC,WAAW,EAAE,IAAK,GAAE,EAAEtD,EAAEC,UAAUsD,QAAQ,WAAWlD,KAAKU,KAAKgB,KAAKyB,IAAI,eAAenD,KAAKU,KAAKgB,KAAKyB,IAAI,WAAW,EAAExD,CAAC,CAAjuE,G","sources":["webpack://sakurairo-scripts/./node_modules/.pnpm/lightgallery@2.7.2/node_modules/lightgallery/plugins/comment/lg-comment.min.js"],"sourcesContent":["/**\n * lightgallery | 2.7.2 | September 20th 2023\n * http://www.lightgalleryjs.com/\n * Copyright (c) 2020 Sachin Neravath;\n * @license GPLv3\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).lgComment=e()}(this,(function(){\"use strict\";var t=function(){return(t=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},e=\"lgBeforeSlide\",o=\"lgAfterSlide\",n={commentBox:!1,fbComments:!1,disqusComments:!1,disqusConfig:{title:void 0,language:\"en\"},commentsMarkup:'<div id=\"lg-comment-box\" class=\"lg-comment-box lg-fb-comment-box\"><div class=\"lg-comment-header\"><h3 class=\"lg-comment-title\">Leave a comment.</h3><span class=\"lg-comment-close lg-icon\"></span></div><div class=\"lg-comment-body\"></div></div>',commentPluginStrings:{toggleComments:\"Toggle Comments\"}};return function(){function i(e,o){return this.core=e,this.$LG=o,this.settings=t(t({},n),this.core.settings),this}return i.prototype.init=function(){this.settings.commentBox&&(this.setMarkup(),this.toggleCommentBox(),this.settings.fbComments?this.addFbComments():this.settings.disqusComments&&this.addDisqusComments())},i.prototype.setMarkup=function(){this.core.outer.append(this.settings.commentsMarkup+'<div class=\"lg-comment-overlay\"></div>');var t='<button type=\"button\" aria-label=\"'+this.settings.commentPluginStrings.toggleComments+'\" class=\"lg-comment-toggle lg-icon\"></button>';this.core.$toolbar.append(t)},i.prototype.toggleCommentBox=function(){var t=this;this.core.outer.find(\".lg-comment-toggle\").first().on(\"click.lg.comment\",(function(){t.core.outer.toggleClass(\"lg-comment-active\")})),this.core.outer.find(\".lg-comment-overlay\").first().on(\"click.lg.comment\",(function(){t.core.outer.removeClass(\"lg-comment-active\")})),this.core.outer.find(\".lg-comment-close\").first().on(\"click.lg.comment\",(function(){t.core.outer.removeClass(\"lg-comment-active\")}))},i.prototype.addFbComments=function(){var t=this,n=this;this.core.LGel.on(e+\".comment\",(function(e){var o=t.core.galleryItems[e.detail.index].fbHtml;t.core.outer.find(\".lg-comment-body\").html(o)})),this.core.LGel.on(o+\".comment\",(function(){try{FB.XFBML.parse()}catch(t){n.$LG(window).on(\"fbAsyncInit\",(function(){FB.XFBML.parse()}))}}))},i.prototype.addDisqusComments=function(){var t=this,n=this.$LG(\"#disqus_thread\");n.remove(),this.core.outer.find(\".lg-comment-body\").append('<div id=\"disqus_thread\"></div>'),this.core.LGel.on(e+\".comment\",(function(){n.html(\"\")})),this.core.LGel.on(o+\".comment\",(function(e){var o=e.detail.index,n=t;setTimeout((function(){try{DISQUS.reset({reload:!0,config:function(){this.page.identifier=n.core.galleryItems[o].disqusIdentifier,this.page.url=n.core.galleryItems[o].disqusURL,this.page.title=n.settings.disqusConfig.title,this.language=n.settings.disqusConfig.language}})}catch(t){console.error(\"Make sure you have included disqus JavaScript code in your document. Ex - https://lg-disqus.disqus.com/admin/install/platforms/universalcode/\")}}),n.core.lGalleryOn?0:1e3)}))},i.prototype.destroy=function(){this.core.LGel.off(\".lg.comment\"),this.core.LGel.off(\".comment\")},i}()}));\n"],"names":["t","e","o","n","module","exports","Object","assign","arguments","length","i","prototype","hasOwnProperty","call","apply","this","commentBox","fbComments","disqusComments","disqusConfig","title","language","commentsMarkup","commentPluginStrings","toggleComments","core","$LG","settings","init","setMarkup","toggleCommentBox","addFbComments","addDisqusComments","outer","append","$toolbar","find","first","on","toggleClass","removeClass","LGel","galleryItems","detail","index","fbHtml","html","FB","XFBML","parse","window","remove","setTimeout","DISQUS","reset","reload","config","page","identifier","disqusIdentifier","url","disqusURL","console","error","lGalleryOn","destroy","off"],"sourceRoot":""}