1import{t as e}from"./rolldown-runtime-B0Z9INg1.js";import{r as t}from"./http-DUURQO2V.js";import{a as n,i as r,r as i,t as a}from"./tracking-service-DPa5ealr.js";var o=class{constructor(){document.body.querySelectorAll(`[data-crisp-trigger]`).forEach(e=>{e.addEventListener(`click`,this.clickPerformed)})}clickPerformed(){if(n.openChat(),window.$crisp!==void 0)try{if(window.$crisp.get(`session:data`,`chat_with_us_used`)===`yes`)return;window.$crisp.push([`set`,`session:event`,[[[`chat_with_us`,{},`blue`]]]]),window.$crisp.push([`set`,`session:data`,[[[`chat_with_us_used`,`yes`]]]])}catch{}}};e(((e,t)=>{(function(n,r){if(typeof e==`object`&&typeof t==`object`)t.exports=r();else if(typeof define==`function`&&define.amd)define([],r);else{var i=r();for(var a in i)(typeof e==`object`?e:n)[a]=i[a]}})(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){typeof Symbol<`u`&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&typeof e==`object`&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&typeof e!=`string`)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,`a`,t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=``,n(n.s=0)}([function(e,t,n){n.r(t);var r,i=`fslightbox-`,a=`${i}styles`,o=`${i}cursor-grabbing`,s=`${i}full-dimension`,c=`${i}flex-centered`,l=`${i}open`,u=`${i}transform-transition`,d=`${i}absoluted`,f=`${i}slide-btn`,p=`${f}-container`,m=`${i}fade-in`,h=`${i}fade-out`,g=m+`-strong`,_=h+`-strong`,v=`${`${i}opacity-`}1`;function y(e){return(y=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e})(e)}function b(e){var t=e.stageIndexes,n=e.core.stageManager,r=e.props.sources.length-1;n.getPreviousSlideIndex=function(){return t.current===0?r:t.current-1},n.getNextSlideIndex=function(){return t.current===r?0:t.current+1},n.updateStageIndexes=r===0?function(){}:r===1?function(){t.current===0?(t.next=1,delete t.previous):(t.previous=0,delete t.next)}:function(){t.previous=n.getPreviousSlideIndex(),t.next=n.getNextSlideIndex()},n.i=r<=2?function(){return!0}:function(e){var n=t.current;if(n===0&&e===r||n===r&&e===0)return!0;var i=n-e;return i===-1||i===0||i===1}}(typeof window>`u`?`undefined`:y(window))===`object`&&((r=document.createElement(`style`)).className=a,r.appendChild(document.createTextNode(`.fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .3s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .3s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container::backdrop{display:none}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;padding:0;border:0;max-width:none;max-height:none;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);touch-action:pinch-zoom;overflow:hidden;z-index:1000000000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg{width:20px;height:20px}.fslightbox-svgp{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightboxsn{z-index:0;display:flex;align-items:center;margin:14px 0 0 11px;font-size:15px;color:#d7d7d7}
1.fslightboxsn span{display:inline;vertical-align:middle}.fslightboxsl{display:inline-block!important;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:white}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex}.fslightbox-toolbar-button{width:45px;height:100%}.fslightbox-fsx{width:24px;height:24px}.fslightboxb{border:0;background:rgba(35,35,35,.65);cursor:pointer}.fslightboxb:focus{outline:0}.fslightboxb:focus .fslightbox-svgp{fill:#fff}.fslightboxb:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}.fslightbox-slide-btn-container-next{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}.fslightbox-slide-btn-container-next{padding-right:6px!important;padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}.fslightbox-slide-btn-container-next{padding-left:30px}.fslightbox-slide-btn{padding:10px}}.fslightbox-slide-btn-container:hover .fslightbox-svgp{fill:#fff}.fslightbox-slide-btn{padding:9px}.fslightbox-slide-btn-container-previous{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-container-previous{padding-left:3px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightboxv{object-fit:cover}.fslightboxy{border:0}.fslightboxl{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightboxl div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightboxl 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightboxl div:nth-child(1){animation-delay:-.45s}.fslightboxl div:nth-child(2){animation-delay:-.3s}.fslightboxl div:nth-child(3){animation-delay:-.15s}@keyframes fslightboxl{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightboxs{position:relative;z-index:2;display:block!important;opacity:0}@media (min-width:1200px){.fslightboxsn{margin:15px 0 0 12px;font-size:16px;display:block}.fslightboxsl{margin:0 6px 1px 6px;height:14px}.fslightbox-slide-btn{padding:11px}.fslightbox-svg{width:22px;height:22px}.fslightbox-fsx{width:26px;height:26px}.fslightbox-fso{width:22px;height:22px}.fslightboxl div{width:60px;height:60px;border-width:6px;border-color:#999 transparent transparent transparent;border-radius:50%}}@media (min-width:1600px){.fslightbox-nav{height:50px}.fslightboxsn{display:flex;margin:19px 0 0 16px;font-size:20px}.fslightboxsl{margin:0 7px 1px 7px;height:16px;width:2px;background:#d7d7d7}.fslightbox-toolbar-button{width:50px}.fslightbox-slide-btn{padding:12px}.fslightbox-svg{width:24px;height:24px}.fslightbox-fsx{width:28px;height:28px}.fslightbox-fso{width:24px;height:24px}}`)),document.head.appendChild(r));function x(e){var t,n=e.props,r=0,i={};this.getSourceTypeFromLocalStorageByUrl=function(e){return t[e]?t[e]:a(e)},this.handleReceivedSourceTypeForUrl=function(e,n){if(!1===i[n]&&(r--,e===`invalid`?delete i[n]:i[n]=e,r===0)){(function(e,t){for(var n in t)e[n]=t[n]})(t,i);try{localStorage.setItem(`fslightbox-types`,JSON.stringify(t))}catch{}}};var a=function(e){r++,i[e]=!1};if(n.disableLocalStorage)this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){};else{try{t=JSON.parse(localStorage.getItem(`fslightbox-types`))}catch{}t||(t={},this.getSourceTypeFromLocalStorageByUrl=a)}}function S(e,t,n,r){e.data;var i=e.elements.sources,a=n/r,o=0;this.adjustSize=function(){if((o=e.mw/a)<e.mh)return n<e.mw&&(o=r),s();o=r>e.mh?e.mh:r,s()};var s=function(){i[t].style.width=o*a+`px`,i[t].style.height=o+`px`}}function C(e,t){var n=this,r=e.collections.sourceSizers,i=e.elements.sources,a=e.isl,o=e.props.onSourceLoad,s=e.resolve,c=e.saw;function l(e,n){r[t]=s(S,[t,e,n]),r[t].adjustSize()}this.b=function(e,r){i[t].classList.add(v),n.a(),l(e,r),n.b=l},this.a=function(){a[t]=!0,c[t].classList.add(g),c[t].removeChild(c[t].firstChild),o&&o(e,i[t],t)}}function w(e,t){var n,r=this,i=e.elements.sources,a=e.props,o=(0,e.resolve)(C,[t]);
1this.handleImageLoad=function(e){var t=e.target,n=t.naturalWidth,r=t.naturalHeight;o.b(n,r)},this.handleVideoLoad=function(e){var t=e.target,r=t.videoWidth,i=t.videoHeight;n=!0,o.b(r,i)},this.handleNotMetaDatedVideoLoad=function(){n||r.handleYoutubeLoad()},this.handleYoutubeLoad=function(){var e=1920,t=1080;a.maxYoutubeDimensions&&(e=a.maxYoutubeDimensions.width,t=a.maxYoutubeDimensions.height),o.b(e,t)},this.handleCustomLoad=function(){var e=i[t],n=e.offsetWidth,a=e.offsetHeight;n&&a?o.b(n,a):setTimeout(r.handleCustomLoad)}}function T(e,t){var n=e.elements.sources,r=e.props.customAttributes,i=n[t];for(var a in r[t]){var o=r[t][a];a==`class`?i.className+=` `+o:i.setAttribute(a,o)}}function E(e,t){var n=e.collections.sourceLoadHandlers,r=e.elements.sources,i=e.props.sources,a=e.saw;r[t]=document.createElement(`img`),r[t].className=`fslightboxs`,r[t].src=i[t],r[t].onload=n[t].handleImageLoad,T(e,t),a[t].appendChild(r[t])}function D(e,t){var n=e.ap,r=e.collections.sourceLoadHandlers,i=e.elements.sources,a=e.props,o=a.sources,s=(a.videosPosters,e.saw),c=document.createElement(`video`),l=document.createElement(`source`);i[t]=c,c.className=`fslightboxs fslightboxv`,c.src=o[t],c.onloadedmetadata=function(e){return r[t].handleVideoLoad(e)},c.controls=!0,c.autoplay=n.i(t),T(e,t),l.src=o[t],c.appendChild(l),setTimeout(r[t].handleNotMetaDatedVideoLoad,3e3),s[t].appendChild(c)}function O(e,t){var n=e.ap,r=e.collections.sourceLoadHandlers,i=e.elements.sources,a=e.props.sources,o=e.saw,s=a[t],c=s.split(`?`)[1],l=document.createElement(`iframe`);i[t]=l,l.className=`fslightboxs fslightboxy`,l.src=`https://www.youtube.com/embed/${s.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2]}?${c||``}${n.i(t)?`&mute=1&autoplay=1`:``}&enablejsapi=1`,l.allowFullscreen=!0,T(e,t),o[t].appendChild(l),r[t].handleYoutubeLoad()}function k(e,t){var n=e.collections.sourceLoadHandlers,r=e.elements.sources,i=e.props.sources,a=e.saw,o=i[t];r[t]=o,o.classList.add(`fslightboxs`),T(e,t),a[t].appendChild(o),n[t].handleCustomLoad()}function ee(e,t){var n=e.elements.sources,r=(e.props.sources,e.saw);n[t]=document.createElement(`div`),n[t].className=`${i}invalid-file-wrapper ${c}`,n[t].innerHTML=`Invalid source`,r[t].appendChild(n[t]),new C(e,t).a()}function te(e){var t=e.collections,n=t.sourceLoadHandlers,r=t.sourcesRenderFunctions,i=e.core.sourceDisplayFacade,a=e.resolve;this.runActionsForSourceTypeAndIndex=function(t,o){var s;switch(t!==`invalid`&&(n[o]=a(w,[o])),t){case`image`:s=E;break;case`video`:s=D;break;case`youtube`:s=O;break;case`custom`:s=k;break;default:s=ee}r[o]=function(){return s(e,o)},i.displaySourcesWhichShouldBeDisplayed()}}function A(e,t,n){var r=e.props,i=r.types,a=r.type,o=r.sources;this.getTypeSetByClientForIndex=function(e){var t;return i&&i[e]?t=i[e]:a&&(t=a),t},this.retrieveTypeWithXhrForIndex=function(e){(function(e,t){var n=document.createElement(`a`);n.href=e;var r=n.hostname;if(r===`www.youtube.com`||r===`youtu.be`)return t(`youtube`);var i=new XMLHttpRequest;i.onreadystatechange=function(){if(i.readyState!==4){if(i.readyState===2){var e,n=i.getResponseHeader(`content-type`);switch(n.slice(0,n.indexOf(`/`))){case`image`:e=`image`;break;case`video`:e=`video`;break;default:e=`invalid`}i.onreadystatechange=null,i.abort(),t(e)}}else t(`invalid`)},i.open(`GET`,e),i.send()})(o[e],(function(r){t.handleReceivedSourceTypeForUrl(r,o[e]),n.runActionsForSourceTypeAndIndex(r,e)}))}}function j(e,t){var n=e.core.stageManager,r=e.elements.sourceWrappersContainer,i=e.props,a=e.smw,o=0,l=document.createElement(`div`);function f(e){l.style.transform=`translateX(${e+o}px)`,o=0}function p(){return(1+i.slideDistance)*innerWidth}l.className=`${d} ${s} ${c}`,l.s=function(){l.style.display=`flex`},l.h=function(){l.style.display=`none`},l.a=function(){l.classList.add(u)},l.d=function(){l.classList.remove(u)},l.n=function(){l.style.removeProperty(`transform`)},l.v=function(e){return o=e,l},l.ne=function(){f(-p())},l.z=function(){f(0)},l.p=function(){f(p())},n.i(t)||l.h(),a[t]=l,r.appendChild(l),function(e,t){var n=e.saw,r=e.smw,i=document.createElement(`div`),a=document.createElement(`div`);a.className=`fslightboxl`;for(var o=0;o<3;o++){var s=document.createElement(`div`);a.appendChild(s)}i.appendChild(a),r[t].appendChild(i),n[t]=i}(e,t)}function M(e,t,n){var r=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`),a=`${i}svg`;r.setAttributeNS(null,`class`,`${a}`),r.setAttributeNS(null,`viewBox`,t);var o=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return o.setAttributeNS(null,`class`,`${a}p`),o.setAttributeNS(null,`d`,n),r.appendChild(o),e.appendChild(r),r}function N(e,t){var n=document.createElement(`button`);return n.className=`fslightboxb ${i}toolbar-button ${c}`,n.title=t,e.appendChild(n),n}function P(e,t){var n=document.createElement(`div`);n.className=`${i}toolbar`,t.appendChild(n),function(e,t){if(!e.hfs){var n=`M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z`,r=N(t);r.title=`Enter fullscreen`;var a=M(r,`0 0 18 18`,n);e.fso=function(){e.ifs=1,r.title=`Exit fullscreen`,a.classList.add(`${i}fsx`),a.setAttributeNS(null,`viewBox`,`0 0 950 1024`),a.firstChild.setAttributeNS(null,`d`,`M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z`)},e.fsx=function(){e.ifs=0,r.title=`Enter fullscreen`,a.classList.remove(`${i}fsx`),a.setAttributeNS(null,`viewBox`,`0 0 18 18`),a.firstChild.setAttributeNS(null,`d`,n)},r.onclick=e.fs.t}}(e,n),function(e,t){var n=N(t,`Close`);n.onclick=e.core.lightboxCloser.close,M(n,`0 0 24 24`,`M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z`)}(e,n)}function F(e){var t=e.props.sources,n=e.elements.container,r=document.createElement(`div`);r.className=`${i}nav`,n.appendChild(r),P(e,r),t.length>1&&function(e,t){var n=e.props.sources,r=(e.stageIndexes,document.createElement(`div`)),i=document.createElement(`span`),a=document.createElement(`span`),o=document.createElement(`span`);r.className=`fslightboxsn`,e.sn=function(e){return i.innerHTML=e},a.className=`fslightboxsl`,o.innerHTML=n.length,r.appendChild(i),r.appendChild(a),r.appendChild(o),t.appendChild(r)}(e,r)}function I(e,t,n,r){var i=e.elements.container,a=n.charAt(0).toUpperCase()+n.slice(1),o=document.createElement(`div`);o.className=`${p} ${p}-${n}`,o.title=`${a} slide`,o.onclick=t,function(e,t){var n=document.createElement(`button`);n.className=`fslightboxb ${f} ${c}`,M(n,`0 0 20 20`,t),e.appendChild(n)}(o,r),i.appendChild(o)}function L(e){var t=e.core,n=t.lightboxCloser,r=t.slideChangeFacade,i=e.fs;this.listener=function(e){switch(e.key){case`Escape`:n.close();break;case`ArrowLeft`:r.changeToPrevious();break;case`ArrowRight`:r.changeToNext();break;case`F11`:e.preventDefault(),i.t()}}}function R(e){var t=e.elements,n=e.smw,r=e.sourcePointerProps,i=e.stageIndexes;function a(e,t){n[e].v(r.swipedX)[t]()}this.runActionsForEvent=function(e){var n,s,c;t.container.contains(t.slideSwipingHoverer)||t.container.appendChild(t.slideSwipingHoverer),n=t.container,s=o,(c=n.classList).contains(s)||c.add(s),r.swipedX=e.screenX-r.downScreenX;var l=i.previous,u=i.next;a(i.current,`z`),l!==void 0&&r.swipedX>0?a(l,`ne`):u!==void 0&&r.swipedX<0&&a(u,`p`)}}function z(e){var t=e.dss,n=e.props.sources,r=e.resolve,i=e.sourcePointerProps,a=r
1(R);this.listener=n.length===1||t?function(){i.swipedX=1}:function(e){i.isPointering&&a.runActionsForEvent(e)}}function B(e){var t=e.core.slideIndexChanger,n=e.smw,r=e.stageIndexes,i=e.sws;function a(e){var t=n[r.current];t.a(),t[e]()}function o(e,t){e!==void 0&&(n[e].s(),n[e][t]())}this.runPositiveSwipedXActions=function(){var e=r.previous;if(e===void 0)a(`z`);else{a(`p`);var n=r.next;t.changeTo(e);var s=r.previous;i.d(s),i.b(n),a(`z`),o(s,`ne`)}},this.runNegativeSwipedXActions=function(){var e=r.next;if(e===void 0)a(`z`);else{a(`ne`);var n=r.previous;t.changeTo(e);var s=r.next;i.d(s),i.b(n),a(`z`),o(s,`p`)}}}function V(e,t){e.contains(t)&&e.removeChild(t)}function H(e){var t=e.core.lightboxCloser,n=e.dss,r=e.elements,i=e.props,a=e.resolve,s=e.sourcePointerProps,c=a(B);this.runNoSwipeActions=function(){V(r.container,r.slideSwipingHoverer),s.isSourceDownEventTarget||i.disableBackgroundClose||t.close(),s.isPointering=!1},this.runActions=function(){n||(s.swipedX>0?c.runPositiveSwipedXActions():c.runNegativeSwipedXActions()),V(r.container,r.slideSwipingHoverer),r.container.classList.remove(o),s.isPointering=!1}}function U(e){var t=e.resolve,n=e.sourcePointerProps,r=t(H);this.listener=function(){n.isPointering&&(n.swipedX?r.runActions():r.runNoSwipeActions())}}function W(e){var t=this,n=e.core,r=n.globalEventsController,i=n.scrollbarRecompensor,a=(e.data,e.e),o=e.elements,s=e.fs,c=e.props,u=e.sourcePointerProps,d=e.ud;this.runActions=function(){t.i=1,o.container.classList.add(_),r.removeListeners(),c.exitFullscreenOnClose&&e.ifs&&s.x(),setTimeout((function(){t.i=0,u.isPointering=!1,o.container.classList.remove(_),document.documentElement.classList.remove(l),i.removeRecompense(),d&&o.container.close(),document.body.removeChild(o.container),a(`onClose`),e.io=0}),270)}}function G(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}function K(e){var t,n,r,i,a,o,s,c,l;(function(e){var t=e.ap,n=e.elements.sources,r=e.props,i=r.autoplay,a=r.autoplays;function o(e,r){if(r!=`play`||t.i(e)){var i=n[e];if(i){var a=i.tagName;if(a==`VIDEO`)i[r]();else if(a==`IFRAME`){var o=i.contentWindow;o&&o.postMessage(`{"event":"command","func":"${r}Video","args":""}`,`*`)}}}}t.i=function(e){return a[e]||i&&a[e]!=0},t.p=function(e){o(e,`play`)},t.c=function(e,t){o(e,`pause`),o(t,`play`)}})(e),function(e){e.data;var t=e.fs,n=[`fullscreenchange`,`webkitfullscreenchange`,`mozfullscreenchange`,`MSFullscreenChange`],r=document.documentElement,i=r.requestFullscreen;function a(e){for(var t=0;t<n.length;t++)document[e](n[t],o)}function o(){document.fullscreenElement||document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement?e.fso():e.fsx()}t.i=function(){if(i||=r.mozRequestFullScreen,i||=r.webkitRequestFullscreen,i||=r.msRequestFullscreen,!i)return e.hfs=1,t.o=function(){},t.x=function(){},t.t=function(){},t.l=function(){},void(t.q=function(){});t.o=function(){e.fso();var t=document.documentElement;t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()},t.x=function(){e.fsx(),document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},t.t=function(){e.ifs?t.x():t.o()},t.l=function(){a(`addEventListener`)},t.q=function(){a(`removeEventListener`)}}}(e),n=(t=e).core,r=n.globalEventsController,i=n.windowResizeActioner,a=t.fs,o=t.resolve,s=o(L),c=o(z),l=o(U),r.attachListeners=function(){document.addEventListener(`pointermove`,c.listener),document.addEventListener(`pointerup`,l.listener),addEventListener(`resize`,i.runActions),document.addEventListener(`keydown`,s.listener),a.l()},r.removeListeners=function(){document.removeEventListener(`pointermove`,c.listener),document.removeEventListener(`pointerup`,l.listener),removeEventListener(`resize`,i.runActions),document.removeEventListener(`keydown`,s.listener),a.q()},function(e){var t=e.core.lightboxCloser,n=(0,e.resolve)(W);t.close=function(){e.io&&!n.i&&n.runActions()}}(e),function(e){var t=e.data,n=e.core.scrollbarRecompensor;function r(){document.body.offsetHeight>innerHeight&&(document.body.style.marginRight=t.scrollbarWidth+`px`)}n.addRecompense=function(){document.readyState===`complete`?r():addEventListener(`load`,(function(){r(),n.addRecompense=r}))},n.removeRecompense=function(){document.body.style.removeProperty(`margin-right`)}}(e),function(e){var t=e.core,n=t.slideChangeFacade,r=t.slideIndexChanger,i=t.stageManager;e.props.sources.length>1?(n.changeToPrevious=function(){r.jumpTo(i.getPreviousSlideIndex())},n.changeToNext=function(){r.jumpTo(i.getNextSlideIndex())}):(n.changeToPrevious=function(){},n.changeToNext=function(){})}(e),function(e){var t=e.ap,n=(e.componentsServices,e.core),r=n.slideIndexChanger,i=n.sourceDisplayFacade,a=n.stageManager,o=e.isl,s=e.saw,c=e.smw,l=e.stageIndexes,u=e.sws;r.changeTo=function(n){t.c(l.current,n),l.current=n,a.updateStageIndexes(),e.sn(n+1),i.displaySourcesWhichSh
1ouldBeDisplayed()},r.jumpTo=function(e){var t=l.previous,n=l.current,i=l.next,d=o[n],f=o[e];r.changeTo(e);for(var p=0;p<c.length;p++)c[p].d();u.d(n),u.c(),requestAnimationFrame((function(){requestAnimationFrame((function(){var e=l.previous,r=l.next;function p(){a.i(n)?n===l.previous?c[n].ne():n===l.next&&c[n].p():(c[n].h(),c[n].n())}d&&s[n].classList.add(h),f&&s[l.current].classList.add(m),u.a(),e!==void 0&&e!==n&&c[e].ne(),c[l.current].n(),r!==void 0&&r!==n&&c[r].p(),u.b(t),u.b(i),o[n]?setTimeout(p,260):p()}))}))}}(e),function(e){var t=e.core.sourcesPointerDown,n=e.elements.sources,r=e.smw,i=e.sourcePointerProps,a=e.stageIndexes;t.listener=function(e){e.target.tagName!==`VIDEO`&&e.preventDefault(),i.isPointering=!0,i.downScreenX=e.screenX,i.swipedX=0;var t=n[a.current];i.isSourceDownEventTarget=!!(t&&t.contains(e.target));for(var o=0;o<r.length;o++)r[o].d()}}(e),function(e){var t=e.collections.sourcesRenderFunctions,n=e.core.sourceDisplayFacade,r=e.loc,i=e.stageIndexes;function a(e){t[e]&&(t[e](),delete t[e])}n.displaySourcesWhichShouldBeDisplayed=function(){if(r)a(i.current);else for(var e in i)a(i[e])}}(e),function(e){var t=e.core.stageManager,n=e.isl,r=e.saw,i=e.smw,a=e.stageIndexes,o=e.sws;o.a=function(){for(var e in a)i[a[e]].s()},o.b=function(e){e===void 0||t.i(e)||(i[e].h(),i[e].n())},o.c=function(){for(var e in a)o.d(a[e])},o.d=function(e){if(n[e]){var t=r[e];G(t,g),G(t,m),G(t,h)}}}(e),function(e){var t=e.collections.sourceSizers,n=e.core.windowResizeActioner,r=(e.data,e.props.sourceMargin),i=e.smw,a=e.stageIndexes,o=1-2*r;n.runActions=function(){e.mw=innerWidth>992?o*innerWidth:innerWidth,e.mh=o*innerHeight;for(var n=0;n<i.length;n++)i[n].d(),t[n]&&t[n].adjustSize();var r=a.previous,s=a.next;r!==void 0&&i[r].ne(),s!==void 0&&i[s].p()}}(e)}function q(e){var t=e.ap,n=(e.componentsServices,e.core),r=n.globalEventsController,a=n.scrollbarRecompensor,o=n.sourceDisplayFacade,c=n.stageManager,u=n.windowResizeActioner,f=e.data,p=e.e,m=e.elements,h=(e.props,e.stageIndexes),_=e.sws,v=0;function y(){var t,n,r=e.props,a=r.autoplay,o=r.autoplays;v=!0,function(e){var t=e.props,n=t.autoplays;e.c=t.sources.length;for(var r=0;r<e.c;r++)n[r]===`false`&&(n[r]=0),n[r]===``&&(n[r]=1);e.dss=t.disableSlideSwiping,e.loc=t.loadOnlyCurrentSource,e.ud=t.useDialog&&typeof HTMLDialogElement==`function`}(e),f.scrollbarWidth=function(){var e=document.createElement(`div`),t=e.style,n=document.createElement(`div`);t.visibility=`hidden`,t.width=`100px`,t.msOverflowStyle=`scrollbar`,t.overflow=`scroll`,n.style.width=`100%`,document.body.appendChild(e);var r=e.offsetWidth;e.appendChild(n);var i=n.offsetWidth;return document.body.removeChild(e),r-i}(),(a||o.length>0)&&(e.loc=1),K(e),e.fs.i(),m.container=document.createElement(e.ud?`dialog`:`div`),m.container.className=`${i}container ${s} ${g}`,m.container.setAttribute(`tabindex`,`0`),function(e){var t=e.elements;t.slideSwipingHoverer=document.createElement(`div`),t.slideSwipingHoverer.className=`${i}slide-swiping-hoverer ${s} ${d}`}(e),F(e),function(e){var t=e.core.sourcesPointerDown,n=e.elements,r=e.props.sources,i=document.createElement(`div`);i.className=`${d} ${s}`,n.container.appendChild(i),i.addEventListener(`pointerdown`,t.listener),n.sourceWrappersContainer=i;for(var a=0;a<r.length;a++)j(e,a)}(e),e.props.sources.length>1&&(n=(t=e).core.slideChangeFacade,I(t,n.changeToPrevious,`previous`,`M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z`),I(t,n.changeToNext,`next`,`M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z`)),function(e){for(var t=e.props.sources,n=e.resolve,r=n(x),i=n(te),a=n(A,[r,i]),o=0;o<t.length;o++)if(typeof t[o]==`string`){var s=a.getTypeSetByClientForIndex(o);if(s)i.runActionsForSourceTypeAndIndex(s,o);else{var c=r.getSourceTypeFromLocalStorageByUrl(t[o]);c?i.runActionsForSourceTypeAndIndex(c,o):a.retrieveTypeWithXhrForIndex(o)}}else i.runActionsForSourceTypeAndIndex(`custom`,o)}(e),p(`onInit`)}e.open=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;e.io=1;var i=h.previous,s=h.current,d=h.next;h.current=n,v||b(e),c.updateStageIndexes(),v?(_.c(),_.a(),_.b(i),_.b(s),_.b(d),p(`onShow`)):y(),o.displaySourcesWhichSh
1ouldBeDisplayed(),e.sn(n+1),document.body.appendChild(m.container),e.ud&&m.container.showModal(),m.container.focus(),document.documentElement.classList.add(l),a.addRecompense(),r.attachListeners(),u.runActions(),e.smw[n].n(),t.p(n),p(`onOpen`)}}function J(e,t,n){return(J=Y()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&X(i,n.prototype),i}).apply(null,arguments)}function Y(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}function X(e,t){return(X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Z(e){return function(e){if(Array.isArray(e))return Q(e)}(e)||function(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}(e)||function(e,t){if(e){if(typeof e==`string`)return Q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Q(e,t)}}(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Q(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function $(){for(var e=document.getElementsByTagName(`a`),t=function(t){if(!e[t].hasAttribute(`data-fslightbox`))return`continue`;var n=e[t].hasAttribute(`data-href`)?e[t].getAttribute(`data-href`):e[t].getAttribute(`href`);if(!n)return console.warn(`The "data-fslightbox" attribute was set without the "href" attribute.`),`continue`;var r=e[t].getAttribute(`data-fslightbox`);fsLightboxInstances[r]||(fsLightboxInstances[r]=new FsLightbox);var i=null;n.charAt(0)===`#`?((i=document.getElementById(n.substring(1))).parentElement.removeChild(i),i.removeAttribute(`id`)):i=n,fsLightboxInstances[r].props.sources.push(i),fsLightboxInstances[r].elements.a.push(e[t]);var a=fsLightboxInstances[r].props.sources.length-1;e[t].onclick=function(e){e.preventDefault(),fsLightboxInstances[r].open(a)},d(`types`,`data-type`),d(`autoplays`,`data-autoplay`);for(var o=[`href`,`data-fslightbox`,`data-href`,`data-type`,`data-autoplay`],s=e[t].attributes,c=fsLightboxInstances[r].props.customAttributes,l=0;l<s.length;l++)if(o.indexOf(s[l].name)===-1&&s[l].name.substr(0,5)===`data-`){c[a]||(c[a]={});var u=s[l].name.substr(5);c[a][u]=s[l].value}function d(n,i){e[t].hasAttribute(i)&&(fsLightboxInstances[r].props[n][a]=e[t].getAttribute(i))}},n=0;n<e.length;n++)t(n);var r=Object.keys(fsLightboxInstances);window.fsLightbox=fsLightboxInstances[r[r.length-1]]}window.FsLightbox=function(){var e=this;this.props={sources:[],customAttributes:[],autoplays:[],types:[],exitFullscreenOnClose:1,sourceMargin:.05,slideDistance:.3},this.data={isFullscreenOpen:!1,scrollbarWidth:0},this.isl=[],this.sourcePointerProps={downScreenX:null,isPointering:!1,isSourceDownEventTarget:!1,swipedX:0},this.stageIndexes={},this.elements={a:[],container:null,slideSwipingHoverer:null,sourceWrappersContainer:null,sources:[]},this.saw=[],this.smw=[],this.sn=function(){},this.resolve=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return n.unshift(e),J(t,Z(n))},this.collections={sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={globalEventsController:{},lightboxCloser:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},this.ap={},this.fs={},this.sws={},this.e=function(t){e.props[t]&&e.props[t](e)},q(this),this.close=function(){e.core.lightboxCloser.close&&e.core.lightboxCloser.close()}},window.fsLightboxInstances={},$(),window.refreshFsLightbox=function(){for(var e in fsLightboxInstances){var t=fsLightboxInstances[e].props;fsLightboxInstances[e]=new FsLightbox,fsLightboxInstances[e].props=t,fsLightboxInstances[e].props.sources=[],fsLightboxInstances[e].elements.a=[]}$()}}])}))}))();var s=class{constructor(){}static refresh(){typeof window.refreshFsLightbox==`function`&&window.refreshFsLightbox()}static getInstance(e){return window.fsLightboxInstances===void 0?null:window.fsLightboxInstances[e]}static open(e,t=0){this.getInstance(e)?.open(t)}static close(e){this.getInstance(e)?.close()}},c=`/accounts/sign_out.json`,l=class{static goTo(e,t=window){t.location.href=e}},u=class{constructor(){this._isProcessing=!1,document.body.querySelectorAll(`[data-sign-out]`).forEach(e
2=>{e.addEventListener(`click`,this.clickPerformed.bind(this))})}async clickPerformed(e){if(e.preventDefault(),this._isProcessing)return;this._isProcessing=!0;let n={authenticity_token:t.get()},r={method:`POST`,body:JSON.stringify(n),headers:{"Content-Type":`application/json`}};try{let e=(await fetch(c,r)).json().root_url||window.location.origin;window.Reedsy?.webPushHandler&&window.Reedsy.webPushHandler.toggle(!1),l.goTo(e)}catch(e){this._isProcessing=!1,window.Reedsy.logger.error(e)}}},d=class{static trackSignup(e,t){let n={href:window.location.href,pathname:window.location.pathname,signup_button:e,signup_location:t};return i.setItem(r,JSON.stringify(n)),a.eventTrack(`sign-up-intent`,n),!0}},f=class{constructor(){window.Reedsy=window.Reedsy||{},window.Reedsy.trackingManager=d}};export{o as i,u as n,s as r,f as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.