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C,KAAK,oBAAoBlC,EAAEiB,KAAKkB,MAAMhC,GAAE,GAAG,GAAG,EAAG,CAAE,IAAGO,EAAEmB,QAAQC,GAAG,gBAAe,WAAYM,aAAajC,GAAGO,EAAE2B,SAAS,iBAAkB,IAAG3B,EAAEmB,QAAQC,GAAG,eAAc,WAAY3B,EAAEmC,YAAW,WAAY5B,EAAE6B,YAAY,iBAAkB,GAAG,IAAGxB,KAAKE,KAAKuB,KAAKV,GAAG5B,EAAE,UAAS,SAAUD,GAAG,IAAIC,EAAED,EAAEwC,OAAOC,MAAM1C,EAAE2C,kBAAkB9B,KAAKb,EAAEE,EAAG,IAAGa,KAAKE,KAAKuB,KAAKV,GAAG7B,EAAE,UAAS,WAAYS,EAAEkC,QAAQlC,EAAEiB,KAAK3B,EAAEoB,aAAapB,EAAEiB,KAAKW,eAAe5B,EAAE2C,kBAAkB3C,EAAEiB,KAAKyB,MAAO,GAAE,CAAC,EAAEhC,EAAEC,UAAUgC,kBAAkB,SAAS3C,GAAG,IAAIC,EAAEc,KAAKE,KAAKQ,MAAMC,KAAK,kBAAkBzB,EAAEsC,YAAY,mBAAmBtC,EAAE4C,GAAG7C,GAAGqC,SAAS,kBAAkB,EAAE3B,EAAEC,UAAUmC,QAAQ,WAAW/B,KAAKE,KAAKQ,MAAMC,KAAK,mBAAmBqB,SAAShC,KAAKE,KAAKuB,KAAKQ,IAAI,aAAajC,KAAKE,KAAKuB,KAAKQ,IAAI,SAAS,EAAEtC,CAAC,CAA5kD,G","sources":["webpack://sakurairo-scripts/./node_modules/.pnpm/lightgallery@2.7.2/node_modules/lightgallery/plugins/pager/lg-pager.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(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).lgPager=t()}(this,(function(){\"use strict\";var e=function(){return(e=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},t=\"lgUpdateSlides\",r=\"lgBeforeSlide\",o={pager:!0};return function(){function i(t,r){return this.core=t,this.$LG=r,this.settings=e(e({},o),this.core.settings),this}return i.prototype.getPagerHtml=function(e){for(var t=\"\",r=0;r<e.length;r++)t+='<span data-lg-item-id=\"'+r+'\" class=\"lg-pager-cont\"> \\n <span data-lg-item-id=\"'+r+'\" class=\"lg-pager\"></span>\\n <div class=\"lg-pager-thumb-cont\"><span class=\"lg-caret\"></span> <img src=\"'+e[r].thumb+'\" /></div>\\n </span>';return t},i.prototype.init=function(){var e=this;if(this.settings.pager){var o;this.core.$lgComponents.prepend('<div class=\"lg-pager-outer\"></div>');var i=this.core.outer.find(\".lg-pager-outer\");i.html(this.getPagerHtml(this.core.galleryItems)),i.first().on(\"click.lg touchend.lg\",(function(t){var r=e.$LG(t.target);if(r.hasAttribute(\"data-lg-item-id\")){var o=parseInt(r.attr(\"data-lg-item-id\"));e.core.slide(o,!1,!0,!1)}})),i.first().on(\"mouseover.lg\",(function(){clearTimeout(o),i.addClass(\"lg-pager-hover\")})),i.first().on(\"mouseout.lg\",(function(){o=setTimeout((function(){i.removeClass(\"lg-pager-hover\")}))})),this.core.LGel.on(r+\".pager\",(function(t){var r=t.detail.index;e.manageActiveClass.call(e,r)})),this.core.LGel.on(t+\".pager\",(function(){i.empty(),i.html(e.getPagerHtml(e.core.galleryItems)),e.manageActiveClass(e.core.index)}))}},i.prototype.manageActiveClass=function(e){var t=this.core.outer.find(\".lg-pager-cont\");t.removeClass(\"lg-pager-active\"),t.eq(e).addClass(\"lg-pager-active\")},i.prototype.destroy=function(){this.core.outer.find(\".lg-pager-outer\").remove(),this.core.LGel.off(\".lg.pager\"),this.core.LGel.off(\".pager\")},i}()}));\n"],"names":["e","t","r","o","module","exports","Object","assign","arguments","length","i","prototype","hasOwnProperty","call","apply","this","pager","core","$LG","settings","getPagerHtml","thumb","init","$lgComponents","prepend","outer","find","html","galleryItems","first","on","target","hasAttribute","parseInt","attr","slide","clearTimeout","addClass","setTimeout","removeClass","LGel","detail","index","manageActiveClass","empty","eq","destroy","remove","off"],"sourceRoot":""}