1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2409],{1141:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var i=n(12115),r=n(12758),s=n.n(r),o=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(l(t)),t.handleErrored=t.handleErrored.bind(l(t)),t.handleChange=t.handleChange.bind(l(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(l(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,c(t,e);var n=t.prototype;return n.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},n.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},n.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var e=this;return new Promise(function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()})},n.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},n.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(e){this.captcha=e},n.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var n,i,r={},s=Object.keys(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,o));return i.createElement("div",a({},t,{ref:this.handleRecaptchaRef}))},t}(i.Component);u.displayName="ReCAPTCHA",u.propTypes={sitekey:s().string.isRequired,onChange:s().func,grecaptcha:s().object,theme:s().oneOf(["dark","light"]),type:s().oneOf(["image","audio"]),tabindex:s().number,onExpired:s().func,onErrored:s().func,size:s().oneOf(["compact","normal","invisible"]),stoken:s().string,hl:s().string,badge:s().oneOf(["bottomright","bottomleft","inline"]),isolated:s().bool},u.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var d=n(76076),h=n.n(d);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var f={},m=0,g="onloadcallback";function v(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}let b=(function(e,t){return t=t||{},function(n){var r=n.displayName||n.name||"Component",o=function(r){function s(e,t){var n;return(n=r.call(this,e,t)||this).state={},n.__scriptURL="",n}s.prototype=Object.create(r.prototype),s.prototype.constructor=s,s.__proto__=r;var o=s.prototype;return o.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+m++),this.__scriptLoaderID},o.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},o.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},o.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=f[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var n in e.observers)e.observers[n](e);delete window[t.callbackName]},o.componentDidMount=function(){var e=this,n=this.setupScriptURL(),i=this.asyncScriptLoaderGetScriptLoaderID(),r=t,s=r.globalName,o=r.callbackName,a=r.
1scriptId;if(s&&void 0!==window[s]&&(f[n]={loaded:!0,observers:{}}),f[n]){var l=f[n];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[i]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var c={};c[i]=function(t){return e.asyncScriptLoaderHandleLoad(t)},f[n]={loaded:!1,observers:c};var u=document.createElement("script");for(var d in u.src=n,u.async=!0,t.attributes)u.setAttribute(d,t.attributes[d]);a&&(u.id=a);var h=function(e){if(f[n]){var t=f[n].observers;for(var i in t)e(t[i])&&delete t[i]}};o&&"undefined"!=typeof window&&(window[o]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=f[n];e&&(e.loaded=!0,h(function(t){return!o&&(t(e),!0)}))},u.onerror=function(){var e=f[n];e&&(e.errored=!0,h(function(t){return t(e),!0}))},document.body.appendChild(u)},o.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i+=1)n[i].src.indexOf(e)>-1&&n[i].parentNode&&n[i].parentNode.removeChild(n[i]);var r=f[e];r&&(delete r.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete f[e])},o.render=function(){var e=t.globalName,r=this.props,s=(r.asyncScriptOnLoad,r.forwardedRef),o=function(e,t){if(null==e)return{};var n,i,r={},s=Object.keys(e);for(i=0;i<s.length;i++)t.indexOf(n=s[i])>=0||(r[n]=e[n]);return r}(r,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(o[e]=void 0!==window[e]?window[e]:void 0),o.ref=s,(0,i.createElement)(n,o)},s}(i.Component),a=(0,i.forwardRef)(function(e,t){return(0,i.createElement)(o,p({},e,{forwardedRef:t}))});return a.displayName="AsyncScriptLoader("+r+")",a.propTypes={asyncScriptOnLoad:s().func},h()(a,n)}})(function(){var e=v(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+g+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+g+"&render=explicit"},{callbackName:g,globalName:"grecaptcha",attributes:v().nonce?{nonce:v().nonce}:{}})(u)},1150:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let i=n(95155),r=n(12115),s=n(24437);function o(e){return{default:e&&"default"in e?e.default:e}}n(36552);let a={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},l=function(e){let t={...a,...e},n=(0,r.lazy)(()=>t.loader().then(o)),l=t.loading;function c(e){let o=l?(0,i.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,a=!t.ssr||!!t.loading,c=a?r.Suspense:r.Fragment,u=t.ssr?(0,i.jsxs)(i.Fragment,{children:[null,(0,i.jsx)(n,{...e})]}):(0,i.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(n,{...e})});return(0,i.jsx)(c,{...a?{fallback:o}:{},children:u})}return c.displayName="LoadableComponent",c}},3407:(e,t,n)=>{"use strict";n.d(t,{BM:()=>a,CW:()=>i,Ee:()=>d,HP:()=>u,JQ:()=>o,Ny:()=>f,On:()=>h,cx:()=>s,es:()=>p,lV:()=>r,ok:()=>l,ol:()=>c});let i=m(/[A-Za-z]/),r=m(/[\dA-Za-z]/),s=m(/[#-'*+\--9=?A-Z^-~]/);function o(e){return null!==e&&(e<32||127===e)}let a=m(/\d/),l=m(/[\dA-Fa-f]/),c=m(/[!-/:-@[-`{-~]/);function u(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function h(e){return -2===e||-1===e||32===e}let p=m(/\p{P}|\p{S}/u),f=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},7578:()=>{},8567:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return i.workAsyncStorageInstance}});let i=n(17828)},12758:(e,t,n)=>{e.exports=n(19298)()},13020:(e,t,n)=>{"use strict";n.d(t,{V:()=>t_});var i={};n.r(i),n.d(i,{attentionMarkers:()=>ev,contentInitial:()=>ed,disable:()=>eb,document:()=>eu,flow:()=>ep,flowInitial:()=>eh,insideSpan:()=>eg,string:()=>ef,text:()=>em});let r={};function s(e,t){let n=t||r;return o(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function o(e,t,n){var i;if((i=e)&&"object"==typeof i){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return a(e.children,t,n)}return Array.isArray(e)?a(e,t,n):""}function a(e,t,n){let i=[],r=-1;for(;++r<e.length;)i[r]=o(e[r],t,n);return i.join("")}function l(e,t,n,i){let r,s=e.length,o=0;if(t=t<0?-t>s?0:s+t:t>s?s:t,n=n>0?n:0,i.length<1e4)(r=Array.from(i)).unshift(t,n),e.splice(...r);else for(n&&e.splice(t,n);o<i.length;)(r=i.slice(o,o+1e4)).unshift(t,0),e.splice(...r),o+=1e4,t+=1e4}function c(e,t){return e.length>0?(l(e,e.length,0,t),e):t}class u{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-(t||0),1/0);return n&&d(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),d(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),d(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);d(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);d(this.left,t.reverse())}}}function d(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function h(e){let t,n,i,r,s,o,a,c={},d=-1,h=new u(e);for(;++d<h.length;){for(;d in c;)d=c[d];if(t=h.get(d),d&&"chunkFlow"===t[1].type&&"listItemPrefix"===h.get(d-1)[1].type&&((i=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[i][1].type&&(i+=2),i<o.length&&"content"===o[i][1].type))for(;++i<o.length&&"content"!==o[i][1].type;)"chunkText"===o[i][1].type&&(o[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===t[0])t[1].contentType&&(Object.assign(c,function(e,t){let n,i,r=e.get(t)[1],s=e.get(t)[2],o=t-1,a=[],l=r._tokenizer;!l&&(l=s.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let c=l.events,u=[],d={},h=-1,p=r,f=0,m=0,g=[0];for(;p;){for(;e.get(++o)[1]!==p;);a.push(o),!p._tokenizer&&(n=s.sliceStream(p),p.next||n.push(null),i&&l.defineSki
1p(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),i=p,p=p.next}for(p=r;++h<c.length;)"exit"===c[h][0]&&"enter"===c[h-1][0]&&c[h][1].type===c[h-1][1].type&&c[h][1].start.line!==c[h][1].end.line&&(m=h+1,g.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),h=g.length;h--;){let t=c.slice(g[h],g[h+1]),n=a.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),h=-1;++h<u.length;)d[f+u[h][0]]=f+u[h][1],f+=u[h][1]-u[h][0]-1;return d}(h,d)),d=c[d],a=!0);else if(t[1]._container){for(i=d,n=void 0;i--;)if("lineEnding"===(r=h.get(i))[1].type||"lineEndingBlank"===r[1].type)"enter"===r[0]&&(n&&(h.get(n)[1].type="lineEndingBlank"),r[1].type="lineEnding",n=i);else if("linePrefix"===r[1].type||"listItemIndent"===r[1].type);else break;n&&(t[1].end={...h.get(n)[1].start},(s=h.slice(n,d)).unshift(t),h.splice(n,d-n+1,s))}}return l(e,0,1/0,h.slice(0)),!a}let p={}.hasOwnProperty;var f=n(3407);function m(e,t,n,i){let r=i?i-1:1/0,s=0;return function(i){return(0,f.On)(i)?(e.enter(n),function i(o){return(0,f.On)(o)&&s++<r?(e.consume(o),i):(e.exit(n),t(o))}(i)):t(i)}}let g={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(i){let r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,function t(i){if(null===i){e.exit("chunkText"),e.exit("paragraph"),e.consume(i);return}return(0,f.HP)(i)?(e.consume(i),e.exit("chunkText"),n):(e.consume(i),t)}(i)}(n)});return n}},v={tokenize:function(e){let t,n,i,r=this,s=[],o=0;return a;function a(t){if(o<s.length){let n=s[o];return r.containerState=n[1],e.attempt(n[0].continuation,c,u)(t)}return u(t)}function c(e){if(o++,r.containerState._closeFlow){let n;r.containerState._closeFlow=void 0,t&&w();let i=r.events.length,s=i;for(;s--;)if("exit"===r.events[s][0]&&"chunkFlow"===r.events[s][1].type){n=r.events[s][1].end;break}y(o);let a=i;for(;a<r.events.length;)r.events[a][1].end={...n},a++;return l(r.events,s+1,0,r.events.slice(i)),r.events.length=a,u(e)}return a(e)}function u(n){if(o===s.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return g(n);r.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return r.containerState={},e.check(b,d,h)(n)}function d(e){return t&&w(),y(o),p(e)}function h(e){return r.parser.lazy[r.now().line]=o!==s.length,i=r.now().offset,g(e)}function p(t){return r.containerState={},e.attempt(b,m,g)(t)}function m(e){return o++,s.push([r.currentConstruct,r.containerState]),p(e)}function g(i){if(null===i){t&&w(),y(0),e.consume(i);return}return t=t||r.parser.flow(r.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){v(e.exit("chunkFlow"),!0),y(0),e.consume(n);return}return(0,f.HP)(n)?(e.consume(n),v(e.exit("chunkFlow")),o=0,r.interrupt=void 0,a):(e.consume(n),t)}(i)}function v(e,s){let a=r.sliceStream(e);if(s&&a.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(a),r.parser.lazy[e.start.line]){let e,n,s=t.events.length;for(;s--;)if(t.events[s][1].start.offset<i&&(!t.events[s][1].end||t.events[s][1].end.offset>i))return;let a=r.events.length,c=a;for(;c--;)if("exit"===r.events[c][0]&&"chunkFlow"===r.events[c][1].type){if(e){n=r.events[c][1].end;break}e=!0}for(y(o),s=a;s<r.events.length;)r.events[s][1].end={...n},s++;l(r.events,c+1,0,r.events.slice(a)),r.events.length=s}}function y(t){let n=s.length;for(;n-- >t;){let t=s[n];r.containerState=t[1],t[0].exit.call(r,e)}s.length=t}function w(){t.write([null]),n=void 0,t=void 0,r.containerState._closeFlow=void 0}}},b={tokenize:function(e,t,n){return m(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},y={partial:!0,tokenize:function(e,t,n){return function(t){return(0,f.On)(t)?m(e,i,"linePrefix")(t):i(t)};function i(e){return null===e||(0,f.HP)(e)?t(e):n(e)}}},w={resolve:function(e){return h(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(t)};function i(t){return null===t?r(t):(0,f.HP)(t)?e.check(x,s,r)(t):(e.consume(t),i)}function r(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function s(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}},x={partial:!0,tokenize:function(e,t,n){let i=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m(e,r,"linePrefix")};function r(r){if(null===r||(0,f.HP)(r))return n(r);let s=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?t(r):e.interrupt(i.parser.constructs.flow,n,t)(r)}}},S={tokenize:function(e){let t=this,n=e.attempt(y,function(i){return null===i?void e.consume(i):(e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,i,m(e,e.attempt(this.parser.constructs.flow,i,e.attempt(w,i)),"linePrefix")));return n;function i(i){return null===i?void e.consume(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},E={resolveAll:P()},k=T("string"),C=T("text");function T(e){return{resolveAll:P("text"===e?M:void 0),tokenize:function(t){let n=this,i=this.parser.constructs[e],r=t.attempt(i,s,o);return s;function s(e){return l(e)?r(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return l(e)?(t.exit("data"),r(e)):(t.consume(e),a)}function l(e){if(null===e)return!0;let t=i[e],r=-1;if(t)for(;++r<t.length;){let e=t[r];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function P(e){return function(t,n){let i,r=-1;for(;++r<=t.length;)void 0===i?t[r]&&"data"===t[r][1].type&&(i=r,r++):t[r]&&"data"===t[r][1].type||(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function M(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let i,r=e[n-1][1],s=t.sliceStream(r),o=s.length,a=-1,l=0;for(;o--;){let e=s[o];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)l++,a--;if(a)break;a=-1}else if(-2===e)i=!0,l++;else if(-1===e);else{o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let s={type:n===e.length||i||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?a:r.start._bufferIndex+a,_index:r.start._index+o,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...s.start},r.start.offset===r.end.offset?Object.assign(r,s):(e.splice(n,0,["enter",s,t],["exit",s,t]),n+=2)}n++}return e}let O={name:"thematicBreak",tokenize:function(e,t,n){let i,r=0;return function(s){var o;return e.enter("thematicBreak"),i=o=s,function s(o){return o===i?(e.enter("thematicBreakSequence"),function t(n){return n===i?(e.consume(n),r++,t):(e.exit("thematicBreakSequence"),(0,f.On)(n)?m(e,s,"whitespace")(n):s(n))}(o)):r>=3&&(null===o||(0,f.HP)(o))?(e.exit("thematicBreak"),t(o)):n(o)}(o)}}},L={continuation:{tokenize:function(e,t,n){let i=this;return i.containerState._closeFlow=void 0,e.check(y,function(n){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.c
1ontainerState.initialBlankLine,m(e,t,"listItemIndent",i.containerState.size+1)(n)},function(n){return i.containerState.furtherBlankLines||!(0,f.On)(n)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,r(n)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(I,t,r)(n))});function r(r){return i.containerState._closeFlow=!0,i.interrupt=void 0,m(e,e.attempt(L,t,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let i=this,r=i.events[i.events.length-1],s=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,o=0;return function(t){let r=i.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===r?!i.containerState.marker||t===i.containerState.marker:(0,f.BM)(t)){if(i.containerState.type||(i.containerState.type=r,e.enter(r,{_container:!0})),"listUnordered"===r)return e.enter("listItemPrefix"),42===t||45===t?e.check(O,n,a)(t):a(t);if(!i.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(r){return(0,f.BM)(r)&&++o<10?(e.consume(r),t):(!i.interrupt||o<2)&&(i.containerState.marker?r===i.containerState.marker:41===r||46===r)?(e.exit("listItemValue"),a(r)):n(r)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||t,e.check(y,i.interrupt?n:l,e.attempt(A,u,c))}
1function l(e){return i.containerState.initialBlankLine=!0,s++,u(e)}function c(t){return(0,f.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return i.containerState.size=s+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},A={partial:!0,tokenize:function(e,t,n){let i=this;return m(e,function(e){let r=i.events[i.events.length-1];return!(0,f.On)(e)&&r&&"listItemPrefixWhitespace"===r[1].type?t(e):n(e)},"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},I={partial:!0,tokenize:function(e,t,n){let i=this;return m(e,function(e){let r=i.events[i.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===i.containerState.size?t(e):n(e)},"listItemIndent",i.containerState.size+1)}},_={continuation:{tokenize:function(e,t,n){let i=this;return function(t){return(0,f.On)(t)?m(e,r,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):r(t)};function r(i){return e.attempt(_,t,n)(i)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let i=this;return function(t){if(62===t){let n=i.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),r}return n(t)};function r(n){return(0,f.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function z(e,t,n,i,r,s,o,a,l){let c=l||1/0,u=0;return function(t){return 60===t?(e.enter(i),e.enter(r),e.enter(s),e.consume(t),e.exit(s),d):null===t||32===t||41===t||(0,f.JQ)(t)?n(t):(e.enter(i),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(t))};function d(n){return 62===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(r),e.exit(i),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),h(n))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(a),d(t)):null===t||60===t||(0,f.HP)(t)?n(t):(e.consume(t),92===t?p:h)}function p(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function m(r){return!u&&(null===r||41===r||(0,f.Ee)(r))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(i),t(r)):u<c&&40===r?(e.consume(r),u++,m):41===r?(e.consume(r),u--,m):null===r||32===r||40===r||(0,f.JQ)(r)?n(r):(e.consume(r),92===r?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function R(e,t,n,i,r,s){let o,a=this,l=0;return function(t){return e.enter(i),e.enter(r),e.consume(t),e.exit(r),e.enter(s),c};function c(d){return l>999||null===d||91===d||93===d&&!o||94===d&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(s),e.enter(r),e.consume(d),e.exit(r),e.exit(i),t):(0,f.HP)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,f.HP)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,f.On)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function D(e,t,n,i,r,s){let o;return function(t){return 34===t||39===t||40===t?(e.enter(i),e.enter(r),e.consume(t),e.exit(r),o=40===t?41:t,a):n(t)};function a(n){return n===o?(e.enter(r),e.consume(n),e.exit(r),e.exit(i),t):(e.enter(s),l(n))}function l(t){return t===o?(e.exit(s),a(o)):null===t?n(t):(0,f.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,f.HP)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function F(e,t){let n;return function i(r){return(0,f.HP)(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n=!0,i):(0,f.On)(r)?m(e,i,n?"linePrefix":"lineSuffix")(r):t(r)}}function N(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let j={partial:!0,tokenize:function(e,t,n){return function(t){return(0,f.Ee)(t)?F(e,i)(t):n(t)};function i(t){return D(e,r,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function r(t){return(0,f.On)(t)?m(e,s,"whitespace")(t):s(t)}function s(e){return null===e||(0,f.HP)(e)?t(e):n(e)}}},B={name:"codeIndented",tokenize:function(e,t,n){let i=this;
1return function(t){return e.enter("codeIndented"),m(e,r,"linePrefix",5)(t)};function r(t){let r=i.events[i.events.length-1];return r&&"linePrefix"===r[1].type&&r[2].sliceSerialize(r[1],!0).length>=4?function t(n){return null===n?s(n):(0,f.HP)(n)?e.attempt(H,t,s)(n):(e.enter("codeFlowValue"),function n(i){return null===i||(0,f.HP)(i)?(e.exit("codeFlowValue"),t(i)):(e.consume(i),n)}(n))}(t):n(t)}function s(n){return e.exit("codeIndented"),t(n)}}},H={partial:!0,tokenize:function(e,t,n){let i=this;return r;function r(t){return i.parser.lazy[i.now().line]?n(t):(0,f.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r):m(e,s,"linePrefix",5)(t)}function s(e){let s=i.events[i.events.length-1];return s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?t(e):(0,f.HP)(e)?r(e):n(e)}}},$={name:"setextUnderline",resolveTo:function(e,t){let n,i,r,s=e.length;for(;s--;)if("enter"===e[s][0]){if("content"===e[s][1].type){n=s;break}"paragraph"===e[s][1].type&&(i=s)}else"content"===e[s][1].type&&e.splice(s,1),r||"definition"!==e[s][1].type||(r=s);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",r?(e.splice(i,0,["enter",o,t]),e.splice(r+1,0,["exit",e[n][1],t]),e[n][1].end={...e[r][1].end}):e[n][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,n){let i,r=this;return function(t){var o;let a,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){a="paragraph"===r.events[l][1].type;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||a)?(e.enter("setextHeadingLine"),i=t,o=t,e.enter("setextHeadingLineSequence"),function t(n){return n===i?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,f.On)(n)?m(e,s,"lineSuffix")(n):s(n))}(o)):n(t)};function s(i){return null===i||(0,f.HP)(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}}},q=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],V=["pre","script","style","textarea"],W={partial:!0,tokenize:function(e,t,n){return function(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(y,t,n)}}},Y={partial:!0,tokenize:function(e,t,n){let i=this;return function(t){return(0,f.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r):n(t)};function r(e){return i.parser.lazy[i.now().line]?n(e):t(e)}}},G={partial:!0,tokenize:function(e,t,n){let i=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r)};function r(e){return i.parser.lazy[i.now().line]?n(e):t(e)}}},U={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let i,r=this,s={partial:!0,tokenize:function(e,t,n){let s=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),(0,f.On)(t)?m(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===i?(e.enter("codeFencedFenceSequence"),function t(r){return r===i?(s++,e.consume(r),t):s>=a?(e.exit("codeFencedFenceSequence"),(0,f.On)(r)?m(e,c,"whitespace")(r):c(r)):n(r)}(t)):n(t)}function c(i){return null===i||(0,f.HP)(i)?(e.exit("codeFencedFence"),t(i)):n(i)}}},o=0,a=0;return function(t){var s=t;let c=r.events[r.events.length-1];return o=c&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,i=s,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(r){return r===i?(a++,e.consume(r),t):a<3?n(r):(e.exit("codeFencedFenceSequence"),(0,f.On)(r)?m(e,l,"whitespace")(r):l(r))}(s)};function l(s){return null===s||(0,f.HP)(s)?(e.exit("codeFencedFence"),r.interrupt?t(s):e.check(G,u,g)(s)):(e.enter("co
1deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||(0,f.HP)(r)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(r)):(0,f.On)(r)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),m(e,c,"whitespace")(r)):96===r&&r===i?n(r):(e.consume(r),t)}(s))}function c(t){return null===t||(0,f.HP)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||(0,f.HP)(r)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(r)):96===r&&r===i?n(r):(e.consume(r),t)}(t))}function u(t){return e.attempt(s,g,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h}function h(t){return o>0&&(0,f.On)(t)?m(e,p,"linePrefix",o+1)(t):p(t)}function p(t){return null===t||(0,f.HP)(t)?e.check(G,u,g)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,f.HP)(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function g(n){return e.exit("codeFenced"),t(n)}}},X=document.createElement("i");function Z(e){let t="&"+e+";";X.innerHTML=t;let n=X.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let K={name:"characterReference",tokenize:function(e,t,n){let i,r,s=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,r=f.lV,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,r=f.ok,c):(e.enter("characterReferenceValue"),i=7,r=f.BM,c(t))}function c(a){if(59===a&&o){let i=e.exit("characterReferenceValue");return r!==f.lV||Z(s.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return r(a)&&o++<i?(e.consume(a),c):n(a)}}},J={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i};function i(i){return(0,f.ol)(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}},Q={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),m(e,t,"linePrefix")}}};function ee(e,t,n){let i=[],r=-1;for(;++r<e.length;){let s=e[r].resolveAll;s&&!i.includes(s)&&(t=s(t,n),i.push(s))}return t}let et={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let i=e[t][1];if(n.push(e[t]),"labelImage"===i.type||"labelLink"===i.type||"labelEnd"===i.type){let e="labelImage"===i.type?4:2;i.type="data",t+=e}}return e.length!==n.length&&l(e,0,e.length,n),e},resolveTo:function(e,t){let n,i,r,s,o=e.length,a=0;for(;o--;)if(n=e[o][1],i){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(r){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(i=o,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(r=o);let u={type:"labelLink"===e[i][1].type?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},d={type:"label",start:{...e[i][1].start},end:{...e[r][1].end}},h={type:"labelText",start:{...e[i+a+2][1].end},end:{...e[r-2][1].start}};return s=c(s=[["enter",u,t],["enter",d,t]],e.slice(i+1,i+a+3)),s=c(s,[["enter",h,t]]),s=c(s,ee(t.parser.constructs.insideSpan.null,e.slice(i+a+4,r-3),t)),s=c(s,[["exit",h,t],e[r-2],e[r-1],["exit",d,t]]),s=c(s,e.slice(r+1)),s=c(s,[["exit",u,t]]),l(e,i,e.length,s),e},tokenize:function(e,t,n){let i,r,s=this,o=s.events.length;for(;o--;)if(("labelImage"===s.events[o][1].type||"labelLink"===s.events[o][1].type)&&!s.events[o][1]._balanced){i=s.events[o][1];break}return function(t){return i?i._inactive?u(t):(r=s.parser.defined.includes(N(s.sliceSerialize({start:i.end,end:s.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(en,c,r?c:u)(t):91===t?e.attempt(ei,c,r?l:u)(t):r?c(t):u(t)}function l(t){return e.attempt(er,c,u)(t)}function c(e){return t(e)}function u(e){return i._balanced=!0,n(e)}}},en={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),i};function i(t){return(0,f.Ee)(t)?F(e,r)(t):r(t)}function r(t){return 41===t?c(t):z(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function s(t){return(0,f.Ee)(t)?F(e,a)(t):c(t)}function o(e){return n(e)}function a(t){return 34===t||39===t||40===t?D(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return(0,f.Ee)(t)?F(e,c)(t):c(t)}function c(i){return 41===i?(e.enter("resourceMarker"),e.consume(i),e.exit("resourceMarker"),e.exit("resource"),t):n(i)}}},ei={tokenize:function(e,t,n){let i=this;return function(t){return R.call(i,e,r,s,"reference","referenceMarker","referenceString")(t)};function r(e){return i.parser.defined.includes(N(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function s(e){return n(e)}}},er={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),i};function i(i){return 93===i?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}},es={name:"labelStartImage",resolveAll:et.resolveAll,tokenize:function(e,t,n){let i=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),r};function r(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),s):n(t)}function s(e){return 94===e&&"_hiddenFootnoteSupport"in i.parser.constructs?n(e):t(e)}}};function eo(e){return null===e||(0,f.Ee)(e)||(0,f.Ny)(e)?1:(0,f.es)(e)?2:void 0}let ea={name:"attention",resolveAll:function(e,t){let n,i,r,s,o,a,u,d,h=-1;for(;++h<e.length;)if("enter"===e[h][0]&&"attentionSequence"===e[h][1].type&&e[h][
11]._close){for(n=h;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[h][1]).charCodeAt(0)){if((e[n][1]._close||e[h][1]._open)&&(e[h][1].end.offset-e[h][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[h][1].end.offset-e[h][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[h][1].end.offset-e[h][1].start.offset>1?2:1;let p={...e[n][1].end},f={...e[h][1].start};el(p,-a),el(f,a),s={type:a>1?"strongSequence":"emphasisSequence",start:p,end:{...e[n][1].end}},o={type:a>1?"strongSequence":"emphasisSequence",start:{...e[h][1].start},end:f},r={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[h][1].start}},i={type:a>1?"strong":"emphasis",start:{...s.start},end:{...o.end}},e[n][1].end={...s.start},e[h][1].start={...o.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=c(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=c(u,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",r,t]]),u=c(u,ee(t.parser.constructs.insideSpan.null,e.slice(n+1,h),t)),u=c(u,[["exit",r,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[h][1].end.offset-e[h][1].start.offset?(d=2,u=c(u,[["enter",e[h][1],t],["exit",e[h][1],t]])):d=0,l(e,n-1,h-n+3,u),h=n+u.length-d-2;break}}for(h=-1;++h<e.length;)"attentionSequence"===e[h][1].type&&(e[h][1].type="data");return e},tokenize:function(e,t){let n,i=this.parser.constructs.attentionMarkers.null,r=this.previous,s=eo(r);return function(o){return n=o,e.enter("attentionSequence"),function o(a){if(a===n)return e.consume(a),o;let l=e.exit("attentionSequence"),c=eo(a),u=!c||2===c&&s||i.includes(a),d=!s||2===s&&c||i.includes(r);return l._open=!!(42===n?u:u&&(s||!d)),l._close=!!(42===n?d:d&&(c||!u)),t(a)}(o)}}};function el(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let ec={name:"labelStartLink",resolveAll:et.resolveAll,tokenize:function(e,t,n){let i=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),r};function r(e){return 94===e&&"_hiddenFootnoteSupport"in i.parser.constructs?n(e):t(e)}}},eu={42:L,43:L,45:L,48:L,49:L,50:L,51:L,52:L,53:L,54:L,55:L,56:L,57:L,62:_},ed={91:{name:"definition",tokenize:function(e,t,n){let i,r=this;return function(t){var i;return e.enter("definition"),i=t,R.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(i)};function s(t){return(i=N(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return(0,f.Ee)(t)?F(e,a)(t):a(t)}function a(t){return z(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(j,c,c)(t)}function c(t){return(0,f.On)(t)?m(e,u,"whitespace")(t):u(t)}function u(s){return null===s||(0,f.HP)(s)?(e.exit("definition"),r.parser.defined.push(i),t(s)):n(s)}}}},eh={[-2]:B,[-1]:B,32:B},ep={35:{name:"headingAtx",resolve:function(e,t){let n,i,r=e.length-2,s=3;return"whitespace"===e[3][1].type&&(s+=2),r-2>s&&"whitespace"===e[r][1].type&&(r-=2),"atxHeadingSequence"===e[r][1].type&&(s===r-1||r-4>s&&"whitespace"===e[r-2][1].type)&&(r-=s+1===r?2:4),r>s&&(n={type:"atxHeadingText",start:e[s][1].start,end:e[r][1].end},i={type:"chunkText",start:e[s][1].start,end:e[r][1].end,contentType:"text"},l(e,s,r-s+1,[["enter",n,t],["enter",i,t],["exit",i,t],["exit",n,t]])),e},tokenize:function(e,t,n){let i=0;return function(r){var s;return e.enter("atxHeading"),s=r,e.enter("atxHeadingSequence"),function r(s){return 35===s&&i++<6?(e.consume(s),r):null===s||(0,f.Ee)(s)?(e.exit("atxHeadingSequence"),function n(i){return 35===i?(e.enter("atxHeadingSequence"),function t(i){return 35===i?(e.consume(i),t):(e.exit("atxHeadingSequence"),n(i))}(i)):null===i||(0,f.HP)(i)?(e.exit("atxHeading"),t(i)):(0,f.On)(i)?m(e,n,"whitespace")(i):(e.enter("atxHeadingText"),function t(i){return null===i||35===i||(0,f.Ee)(i)?(e.exit("atxHeadingText"),n(i)):(e.consume(i),t)}(i))}(s)):n(s)}(s)}}},42:O,45:[$,O],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let i,r,s,o,a,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),r=!0,p):63===o?(e.consume(o),i=3,l.interrupt?t:_):(0,f.CW)(o)?(e.consume(o),s=String.fromCharCode(o),m):n(o)}function u(r){return 45===r?(e.consume(r),i=2,d):91===r?(e.consume(r),i=5,o=0,h):(0,f.CW)(r)?(e.consume(r),i=4,l.interrupt?t:_):n(r)}function d(i){return 45===i?(e.consume(i),l.interrupt?t:_):n(i)}function h(i){let r="CDATA[";return i===r.charCodeAt(o++)?(e.consume(i),o===r.length)?l.interrupt?t:C:h:n(i)}function p(t){return(0,f.CW)(t)?(e.consume(t),s=String.fromCharCode(t),m):n(t)}function m(o){if(null===o||47===o||62===o||(0,f.Ee)(o)){let a=47===o,c=s.toLowerCase();return!a&&!r&&V.includes(c)?(i=1,l.interrupt?t(o):C(o)):q.includes(s.toLowerCase())?(i=6,a)?(e.consume(o),g):l.interrupt?t(o):C(o):(i=7,l.
1interrupt&&!l.parser.lazy[l.now().line]?n(o):r?function t(n){return(0,f.On)(n)?(e.consume(n),t):E(n)}(o):v(o))}return 45===o||(0,f.lV)(o)?(e.consume(o),s+=String.fromCharCode(o),m):n(o)}function g(i){return 62===i?(e.consume(i),l.interrupt?t:C):n(i)}function v(t){return 47===t?(e.consume(t),E):58===t||95===t||(0,f.CW)(t)?(e.consume(t),b):(0,f.On)(t)?(e.consume(t),v):E(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,f.lV)(t)?(e.consume(t),b):y(t)}function y(t){return 61===t?(e.consume(t),w):(0,f.On)(t)?(e.consume(t),y):v(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,x):(0,f.On)(t)?(e.consume(t),w):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,f.Ee)(n)?y(n):(e.consume(n),t)}(t)}function x(t){return t===a?(e.consume(t),a=null,S):null===t||(0,f.HP)(t)?n(t):(e.consume(t),x)}function S(e){return 47===e||62===e||(0,f.On)(e)?v(e):n(e)}function E(t){return 62===t?(e.consume(t),k):n(t)}function k(t){return null===t||(0,f.HP)(t)?C(t):(0,f.On)(t)?(e.consume(t),k):n(t)}function C(t){return 45===t&&2===i?(e.consume(t),O):60===t&&1===i?(e.consume(t),L):62===t&&4===i?(e.consume(t),z):63===t&&3===i?(e.consume(t),_):93===t&&5===i?(e.consume(t),I):(0,f.HP)(t)&&(6===i||7===i)?(e.exit("htmlFlowData"),e.check(W,R,T)(t)):null===t||(0,f.HP)(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),C)}function T(t){return e.check(Y,P,R)(t)}function P(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M}function M(t){return null===t||(0,f.HP)(t)?T(t):(e.enter("htmlFlowData"),C(t))}function O(t){return 45===t?(e.consume(t),_):C(t)}function L(t){return 47===t?(e.consume(t),s="",A):C(t)}function A(t){if(62===t){let n=s.toLowerCase();return V.includes(n)?(e.consume(t),z):C(t)}return(0,f.CW)(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),A):C(t)}function I(t){return 93===t?(e.consume(t),_):C(t)}function _(t){return 62===t?(e.consume(t),z):45===t&&2===i?(e.consume(t),_):C(t)}function z(t){return null===t||(0,f.HP)(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),z)}function R(n){return e.exit("htmlFlow"),t(n)}}},61:$,95:O,96:U,126:U},ef={38:K,92:J},em={[-5]:Q,[-4]:Q,[-3]:Q,33:es,38:K,42:ea,60:[{name:"autolink",tokenize:function(e,t,n){let i=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),r};function r(t){return(0,f.CW)(t)?(e.consume(t),s):64===t?n(t):a(t)}function s(t){return 43===t||45===t||46===t||(0,f.lV)(t)?(i=1,function t(n){return 58===n?(e.consume(n),i=0,o):(43===n||45===n||46===n||(0,f.lV)(n))&&i++<32?(e.consume(n),t):(i=0,a(n))}(t)):a(t)}function o(i){return 62===i?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(i),e.exit("autolinkMarker"),e.exit("autolink"),t):null===i||32===i||60===i||(0,f.JQ)(i)?n(i):(e.consume(i),o)}function a(t){return 64===t?(e.consume(t),l):(0,f.cx)(t)?(e.consume(t),a):n(t)}function l(r){return(0,f.lV)(r)?function r(s){return 46===s?(e.consume(s),i=0,l):62===s?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(s),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(s){if((45===s||(0,f.lV)(s))&&i++<63){let n=45===s?t:r;return e.consume(s),n}return n(s)}(s)}(r):n(r)}}},{name:"htmlText",tokenize:function(e,t,n){let i,r,s,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),S):63===t?(e.consume(t),w):(0,f.CW)(t)?(e.consume(t),k):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),r=0,p):(0,f.CW)(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),h):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,f.HP)(t)?(s=u,I(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),h):u(t)}function h(e){return 62===e?A(e):45===e?d(e):u(e)}function p(t){let i="CDATA[";return t===i.charCodeAt(r++)?(e.consume(t),r===i.length?g:p):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),v):(0,f.HP)(t)?(s=g,I(t)):(e.consume(t),g)}function v(t){return 93===t?(e.consume(t),b):g(t)}function b(t){return 62===t?A(t):93===t?(e.consume(t),b):g(t)}function y(t){return null===t||62===t?A(t):(0,f.HP)(t)?(s=y,I(t)):(e.consume(t),y)}function w(t){return null===t?n(t):63===t?(e.consume(t),x):(0,f.HP)(t)?(s=w,I(t)):(e.consume(t),w)}function x(e){return 62===e?A(e):w(e)}function S(t){return(0,f.CW)(t)?(e.consume(t),E):n(t)}function E(t){return 45===t||(0,f.lV)(t)?(e.consume(t),E):function t(n){return(0,f.HP)(n)?(s=t,I(n)):(0,f.On)(n)?(e.consume(n),t):A(n)}(t)}function k(t){return 45===t||(0,f.lV)(t)?(e.consume(t),k):47===t||62===t||(0,f.Ee)(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),A):58===t||95===t||(0,f.CW)(t)?(e.consume(t),T):(0,f.HP)(t)?(s=C,I(t)):(0,f.On)(t)?(e.consume(t),C):A(t)}function T(t){return 45===t||46===t||58===t||95===t||(0,f.lV)(t)?(e.consume(t),T):function t(n){return 61===n?(e.consume(n),P):(0,f.HP)(n)?(s=t,I(n)):(0,f.On)(n)?(e.consume(n),t):C(n)}(t)}function P(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,M):(0,f.HP)(t)?(s=P,I(t)):(0,f.On)(t)?(e.consume(t),P):(e.consume(t),O)}function M(t){return t===i?(e.consume(t),i=void 0,L):null===t?n(t):(0,f.HP)(t)?(s=M,I(t)):(e.consume(t),M)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,f.Ee)(t)?C(t):(e.consume(t),O)}function L(e){return 47===e||62===e||(0,f.Ee)(e)?C(e):n(e)}function A(i){return 62===i?(e.consume(i),e.exit("htmlTextData"),e.exit("htmlText"),t):n(i)}function I(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),_}function _(t){return(0,f.On)(t)?m(e,z,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):z(t)}
1function z(t){return e.enter("htmlTextData"),s(t)}}}],91:ec,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),i};function i(i){return(0,f.HP)(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}},J],93:et,95:ea,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,i=e.length-4,r=3;if(("lineEnding"===e[3][1].type||"space"===e[r][1].type)&&("lineEnding"===e[i][1].type||"space"===e[i][1].type)){for(t=r;++t<i;)if("codeTextData"===e[t][1].type){e[r][1].type="codeTextPadding",e[i][1].type="codeTextPadding",r+=2,i-=2;break}}for(t=r-1,i++;++t<=i;)void 0===n?t!==i&&"lineEnding"!==e[t][1].type&&(n=t):(t===i||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),i-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let i,r,s=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),s++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(r=e.enter("codeTextSequence"),i=0,function n(o){return 96===o?(e.consume(o),i++,n):i===s?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(r.type="codeTextData",a(o))}(l)):(0,f.HP)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),a(l))}function a(t){return null===t||32===t||96===t||(0,f.HP)(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),a)}}}},eg={null:[ea,E]},ev={null:[42,95]},eb={null:[]},ey=/[\0\t\n\r]/g;function ew(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let ex=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eS(e){return e.replace(ex,eE)}function eE(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return ew(n.slice(t?2:1),t?16:10)}return Z(n)||e}function ek(e){return e&&"object"==typeof e?"position"in e||"type"in e?eT(e.position):"start"in e||"end"in e?eT(e):"line"in e||"column"in e?eC(e):"":""}function eC(e){return eP(e&&e.line)+":"+eP(e&&e.column)}function eT(e){return eC(e&&e.start)+"-"+eC(e&&e.end)}function eP(e){return e&&"number"==typeof e?e:1}let eM={}.hasOwnProperty;function eO(e){return{line:e.line,column:e.column,offset:e.offset}}function eL(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+ek({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ek({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+ek({start:t.start,end:t.end})+") is still open")}var eA=n(75164);let eI={}.hasOwnProperty;function e_(e,t,n){return">"+(n?"":" ")+e}function ez(e,t){return eR(e,t.inConstruct,!0)&&!eR(e,t.notInConstruct,!1)}function eR(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let i=-1;for(;++i<t.length;)if(e.includes(t[i]))return!0;return!1}function eD(e,t,n,i){let r=-1;for(;++r<n.unsafe.length;)if("\n"===n.unsafe[r].character&&ez(n.stack,n.unsafe[r]))return/[ \t]/.test(i.before)?"":" ";return"\\\n"}function eF(e,t){return!!(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function eN(e,t,n){return(n?"":" ")+e}function ej(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function eB(e){return"&#x"+e.toString(16).toUpperCase()+";"}function eH(e,t,n){let i=eo(e),r=eo(t);return void 0===i?void 0===r?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===r?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===i?void 0===r?{inside:!1,outside:!1}:1===r?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===r?{inside:!1,outside:!1}:1===r?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function e$(e,t,n,i){let r=function(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),s=n.enter("emphasis"),o=n.createTracker(i),a=o.move(r),l=o.move(n.containerPhrasing(e,{after:r,before:a,...o.current()})),c=l.charCodeAt(0),u=eH(i.before.charCodeAt(i.before.length-1),c,r);u.inside&&(l=eB(c)+l.slice(1));let d=l.charCodeAt(l.length-1),h=eH(i.after.charCodeAt(0),d,r);h.inside&&(l=l.slice(0,-1)+eB(d));let p=o.move(r);return s(),n.attentionEncodeSurroundingInfo={after:h.outside,before:u.outside},a+l+p}e$.peek=function(e,t,n){return n.options.emphasis||"*"};var eq=n(95139),eV=n(56522);function eW(e,t){let n=!1;return(0,eq.YR)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,eV.dc}),!!((!e.depth||e.depth<3)&&s(e)&&(t.options.setext||n))}function eY(e){return e.value||""}function eG(e,t,n,i){let r=ej(n),s='"'===r?"Quote":"Apostrophe",o=n.enter("image"),a=n.enter("label"),l=n.createTracker(i),c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(a=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),a(),e.title&&(a=n.enter(`title${s}`),c+=l.move(" "+r),c+=l.move(n.safe(e.title,{before:c,after:r,...l.current()})),c+=l.move(r),a()),c+=l.move(")"),o(),c}function eU(e,t,n,i){let r=e.referenceType,s=n.enter("imageReference"),o=n.enter("label"),a=n.createTracker(i),l=a.move("!["),c=n.safe(e.alt,{before:l,after:"]",...a.current()});l+=a.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...a.current()});return o(),n.stack=u,s(),"full"!==r&&c&&c===d?"shortcut"===r?l=l.slice(0,-1):l+=a.move("]"):l+=a.move(d+"]"),l}function eX(e,t,n){let i=e.value||"",r="`",s=-1;for(;RegExp("(^|[^`])"+r+"([^`]|$)").test(i);)r+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++s<n.unsafe.length;){let e,t=n.unsafe[s],r=n.compilePattern(t);if(t.atBreak)for(;e=r.exec(i);){let t=e.index;10===i.charCodeAt(t)&&13===i.charCodeAt(t-1)&&t--,i=i.slice(0,t)+" "+i.slice(e.index+1)}}return r+i+r}function eZ(e,t){let n=s(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function eK(e,t,n,i){let r,s,o=ej(n),a='"'===o?"Quote":"Apostrophe",l=n.createTracker(i);if(eZ(e,n)){let t=n.stack;n.stack=[],r=n.enter("autolink");let i=l.move("<");return i+=l.move(n.containerPhrasing(e,{before:i,after:">",...l.current()})),i+=l.move(">"),r(),n.stack=t,i}r=n.enter("link"),s=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${a}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()})),c+=l.move(o),s()),c+=l.move(")"),r(),c}function eJ(e,t,n,i){let r=e.referenceType,s=n.enter("linkReference"),o=n.enter("label"),a=n.createTracker(i),l=a.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...a.current()});l+=a.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...a.current()});return o(),n.stack=u,s(),"full"!==r&&c&&c===d?"shortcut"===r?l=l.slice(0,-1):l+=a.move("]"):l+=a.move(d+"]"),l}function eQ(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function e0(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}eY.peek=function(){return"<"},eG.peek=function(){return"!"},eU.peek=function(){return"!"},eX.peek=function(){return"`"},eK.peek=function(e,t,n){return eZ(e,n)?"<":"["},eJ.peek=function(){return"["};let e1=(0,n(95502).C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function e2(e,t,n,i){let r=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),s=n.enter("strong"),o=n.createTracker(i),a=o.move(r+r),l=o.move(n.containerPhrasing(e,{after:r,before:a,...o.current()})),c=l.charCodeAt(0),u=eH(i.before.charCodeAt(i.before.length-1),c,r);u.inside&&(l=eB(c)+l.slice(1));let d=l.charCodeAt(l.length-1),h=eH(i.after.charCodeAt(0),d,r);h.inside&&(l=l.slice(0,-1)+eB(d));let p=o.move(r+r);return s(),n.attentionEncodeSurroundingInfo={after:h.outside,before:u.outside},a+l+p}e2.peek=function(e,t,n){return n.options.strong||"*"};let e5={blockquote:function(e,t,n,i){let r=n.enter("blockquote"),s=n.createTracker(i);s.move("> "),s.shift(2);let o=n.indentLines(n.containerFlow(e,s.current()),e_);return r(),o},break:eD,code:function(e,t,n,i){let r=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),s=e.value||"",o="`"===r?"GraveAccent":"Tilde";
1if(eF(e,n)){let e=n.enter("codeIndented"),t=n.indentLines(s,eN);return e(),t}let a=n.createTracker(i),l=r.repeat(Math.max(function(e,t){let n=String(e),i=n.indexOf(t),r=i,s=0,o=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==i;)i===r?++s>o&&(o=s):s=1,r=i+t.length,i=n.indexOf(t,r);return o}(s,r)+1,3)),c=n.enter("codeFenced"),u=a.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=a.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...a.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=a.move(" "),u+=a.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...a.current()})),t()}return u+=a.move("\n"),s&&(u+=a.move(s+"\n")),u+=a.move(l),c(),u},definition:function(e,t,n,i){let r=ej(n),s='"'===r?"Quote":"Apostrophe",o=n.enter("definition"),a=n.enter("label"),l=n.createTracker(i),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(a=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),a(),e.title&&(a=n.enter(`title${s}`),c+=l.move(" "+r),c+=l.move(n.safe(e.title,{before:c,after:r,...l.current()})),c+=l.move(r),a()),o(),c},emphasis:e$,hardBreak:eD,heading:function(e,t,n,i){let r=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(i);if(eW(e,n)){let t=n.enter("headingSetext"),i=n.enter("phrasing"),o=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return i(),t(),o+"\n"+(1===r?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}let o="#".repeat(r),a=n.enter("headingAtx"),l=n.enter("phrasing");s.move(o+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(c)&&(c=eB(c.charCodeAt(0))+c.slice(1)),c=c?o+" "+c:o,n.options.closeAtx&&(c+=" "+o),l(),a(),c},html:eY,image:eG,imageReference:eU,inlineCode:eX,link:eK,linkReference:eJ,list:function(e,t,n,i){let r=n.enter("list"),s=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):eQ(n),a=e.ordered?"."===o?")":".":function(e){let t=eQ(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),e0(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){l=!0;break}}}}l&&(o=a),n.bulletCurrent=o;let c=n.containerFlow(e,i);return n.bulletLastUsed=o,n.bulletCurrent=s,r(),c},listItem:function(e,t,n,i){let r=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),s=n.bulletCurrent||eQ(n);t&&"list"===t.type&&t.ordered&&(s=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+s);let o=s.length+1;("tab"===r||"mixed"===r&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let a=n.createTracker(i);a.move(s+" ".repeat(o-s.length)),a.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,a.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?s:s+" ".repeat(o-s.length))+e});return l(),c},paragraph:function(e,t,n,i){let r=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,i);return s(),r(),o},root:function(e,t,n,i){return(e.children.some(function(e){return e1(e)})?n.containerPhrasing:n.containerFlow).call(n,e,i)},strong:e2,text:function(e,t,n,i){return n.safe(e.value,i)},thematicBreak:function(e,t,n){let i=(e0(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?i.slice(0,-1):i}},e3=[function(e,t,n,i){if("code"===t.type&&eF(t,i)&&("list"===e.type||e.type===t.type&&eF(e,i)))return!1;
1if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&eW(t,i)))return;return+!!n.spread}}],e4=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],e6=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:e4},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:e4},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:e4},{atBreak:!0,character:"+",after:"(?:[ \r\n])"},{atBreak:!0,character:"-",after:"(?:[ \r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:e4},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:e4},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:e4},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:e4},{atBreak:!0,character:"~"}];function e9(e){return e.label||!e.identifier?e.label||"":eS(e.identifier)}function e8(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}let e7=/\r?\n|\r/g;function te(e,t){let n,i=[],r=0,s=0;for(;n=e7.exec(e);)o(e.slice(r,n.index)),i.push(n[0]),r=n.index+n[0].length,s++;return o(e.slice(r)),i.join("");function o(e){i.push(t(e,s,!e))}}function tt(e,t){return e-t}function tn(e,t){let n,i=/\\(?=[!-/:-@[-`{-~])/g,r=[],s=[],o=e+t,a=-1,l=0;for(;n=i.exec(o);)r.push(n.index);for(;++a<r.length;)l!==r[a]&&s.push(e.slice(l,r[a])),s.push("\\"),l=r[a];return s.push(e.slice(l)),s.join("")}function ti(e){let t=e||{},n=t.now||{},i=t.lineShift||0,r=n.line||1,s=n.column||1;return{move:function(e){let t=e||"",n=t.split(/\r?\n|\r/g),o=n[n.length-1];return r+=n.length-1,s=1===n.length?s+o.length:1+o.length+i,t},current:function(){return{now:{line:r,column:s},lineShift:i}},shift:function(e){i+=e}}}function tr(e){throw Error("Cannot handle value `"+e+"`, expected node")}function ts(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function to(e,t){if("definition"===e.type&&e.type===t.type)return 0}function ta(e,t){return function(e,t,n){let i,r=t.indexStack,s=e.children||[],o=[],a=-1,l=n.before;r.push(-1);let c=t.createTracker(n);for(;++a<s.length;){let u,d=s[a];if(r[r.length-1]=a,a+1<s.length){let n=t.handle.handlers[s[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(s[a+1],e,t,{before:"",after:"",...c.current()}).charAt(0):""}else u=n.after;o.length>0&&("\r"===l||"\n"===l)&&"html"===d.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),l=" ",(c=t.createTracker(n)).move(o.join("")));let h=t.handle(d,e,t,{...c.current(),after:u,before:l});i&&i===h.slice(0,1)&&(h=eB(i.charCodeAt(0))+h.slice(1));let p=t.attentionEncodeSurroundingInfo;t.attentionEncodeSurroundingInfo=void 0,i=void 0,p&&(o.length>0&&p.before&&l===o[o.length-1].slice(-1)&&(o[o.length-1]=o[o.length-1].slice(0,-1)+eB(l.charCodeAt(0))),p.after&&(i=u)),c.move(h),o.push(h),l=h.slice(-1)}return r.pop(),o.join("")}(e,this,t)}function tl(e,t){return function(e,t,n){let i=t.indexStack,r=e.children||[],s=t.createTracker(n),o=[],a=-1;for(i.push(-1);++a<r.length;){let n=r[a];i[i.length-1]=a,o.push(s.move(t.handle(n,e,t,{before:"\n",after:"\n",...s.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),a<r.length-1&&o.push(s.move(function(e,t,n,i){let r=i.join.length;for(;r--;){let s=i.join[r](e,t,n,i);if(!0===s||1===s)break;if("number"==typeof s)return"\n".repeat(1+s);if(!1===s)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}(n,r[a+1],e,t)))}return i.pop(),o.join("")}(e,this,t)}function tc(e,t){return function(e,t,n){let i=(n.before||"")+(t||"")+(n.after||""),r=[],s=[],o={},a=-1;for(;++a<e.unsafe.length;){let t,n=e.unsafe[a];if(!ez(e.stack,n))continue;let s=e.compilePattern(n);for(;t=s.exec(i);){let e="before"in n||!!n.atBreak,i="after"in n,s=t.index+(e?t[1].length:0);r.includes(s)?(o[s].before&&!e&&(o[s].before=!1),o[s].after&&!i&&(o[s].after=!1)):(r.push(s),o[s]={before:e,after:i})}}r.sort(tt);let l=n.before?n.before.length:0,c=i.length-(n.after?n.after.length:0);for(a=-1;++a<r.length;){let e=r[a];!(e<l)&&!(e>=c)&&(!(e+1<c)||r[a+1]!==e+1||!o[e].after||o[e+1].before||o[e+1].after)&&(r[a-1]!==e-1||!o[e].before||o[e-1].before||o[e-1].after)&&(l!==e&&s.push(tn(i.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(i.charAt(e))||n.encode&&n.encode.includes(i.charAt(e))?(s.push(eB(i.charCodeAt(e))),l++):s.push("\\"))}return s.push(tn(i.slice(l,c),n.after)),s.join("")}(this,e,t)}function tu(e){if(e)throw e}var td=n(70011),th=n(63758);function tp(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}
1class tf extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let i="",r={},s=!1;if(t&&(r="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?i=e:!r.cause&&e&&(s=!0,i=e.message,r.cause=e),!r.ruleId&&!r.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?r.ruleId=n:(r.source=n.slice(0,e),r.ruleId=n.slice(e+1))}if(!r.place&&r.ancestors&&r.ancestors){let e=r.ancestors[r.ancestors.length-1];e&&(r.place=e.position)}let o=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=ek(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=s&&r.cause&&"string"==typeof r.cause.stack?r.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}tf.prototype.file="",tf.prototype.name="",tf.prototype.reason="",tf.prototype.message="",tf.prototype.stack="",tf.prototype.column=void 0,tf.prototype.line=void 0,tf.prototype.ancestors=void 0,tf.prototype.cause=void 0,tf.prototype.fatal=void 0,tf.prototype.place=void 0,tf.prototype.ruleId=void 0,tf.prototype.source=void 0;let tm={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');tg(e);let i=0,r=-1,s=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;s--;)if(47===e.codePointAt(s)){if(n){i=s+1;break}}else r<0&&(n=!0,r=s+1);return r<0?"":e.slice(i,r)}if(t===e)return"";let o=-1,a=t.length-1;for(;s--;)if(47===e.codePointAt(s)){if(n){i=s+1;break}}else o<0&&(n=!0,o=s+1),a>-1&&(e.codePointAt(s)===t.codePointAt(a--)?a<0&&(r=s):(a=-1,r=o));return i===r?r=o:r<0&&(r=e.length),e.slice(i,r)},dirname:function(e){let t;if(tg(e),0===e.length)return".";let n=-1,i=e.length;for(;--i;)if(47===e.codePointAt(i)){if(t){n=i;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;tg(e);let n=e.length,i=-1,r=0,s=-1,o=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){r=n+1;break}continue}i<0&&(t=!0,i=n+1),46===a?s<0?s=n:1!==o&&(o=1):s>-1&&(o=-1)}return s<0||i<0||0===o||1===o&&s===i-1&&s===r+1?"":e.slice(s,i)},join:function(...e){let t,n=-1;for(;++n<e.length;)tg(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){tg(e);let t=47===e.codePointAt(0),n=function(e,t){let n,i,r="",s=0,o=-1,a=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(o===l-1||1===a);else if(o!==l-1&&2===a){if(r.length<2||2!==s||46!==r.codePointAt(r.length-1)||46!==r.codePointAt(r.length-2)){if(r.length>2){if((i=r.lastIndexOf("/"))!==r.length-1){i<0?(r="",s=0):s=(r=r.slice(0,i)).length-1-r.lastIndexOf("/"),o=l,a=0;continue}}else if(r.length>0){r="",s=0,o=l,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",s=2)}else r.length>0?r+="/"+e.slice(o+1,l):r=e.slice(o+1,l),s=l-o-1;o=l,a=0}else 46===n&&a>-1?a++:a=-1}return r}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function tg(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let tv={cwd:function(){return"/"}};function tb(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let ty=["history","path","basename","stem","extname","dirname"];class tw{constructor(e){let t,n;t=e?tb(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":tv.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<ty.length;){let e=ty[i];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)ty.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?tm.basename(this.path):void 0}
1set basename(e){tS(e,"basename"),tx(e,"basename"),this.path=tm.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?tm.dirname(this.path):void 0}set dirname(e){tE(this.basename,"dirname"),this.path=tm.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?tm.extname(this.path):void 0}set extname(e){if(tx(e,"extname"),tE(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=tm.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){tb(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!tb(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),tS(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?tm.basename(this.path,this.extname):void 0}set stem(e){tS(e,"stem"),tx(e,"stem"),this.path=tm.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let i=this.message(e,t,n);throw i.fatal=!0,i}info(e,t,n){let i=this.message(e,t,n);return i.fatal=void 0,i}message(e,t,n){let i=new tf(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function tx(e,t){if(e&&e.includes(tm.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+tm.sep+"`")}function tS(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function tE(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let tk=function(e){let t=this.constructor.prototype,n=t[e],i=function(){return n.apply(i,arguments)};return Object.setPrototypeOf(i,t),i},tC={}.hasOwnProperty;class tT extends tk{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,i=t.pop();if("function"!=typeof i)throw TypeError("Expected function as last argument, not "+i);!function r(s,...o){let a=e[++n],l=-1;if(s)return void i(s);for(;++l<t.length;)(null===o[l]||void 0===o[l])&&(o[l]=t[l]);t=o,a?(function(e,t){let n;return function(...t){let s,o=e.length>t.length;o&&t.push(i);try{s=e.apply(this,t)}catch(e){if(o&&n)throw e;return i(e)}o||(s&&s.then&&"function"==typeof s.then?s.then(r,i):s instanceof Error?i(s):r(s))};function i(e,...r){n||(n=!0,t(e,...r))}function r(e){i(null,e)}})(a,r)(...o):i(null,...o)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new tT,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(td(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(tO("data",this.frozen),this.namespace[e]=t,this):tC.call(this.namespace,e)&&this.namespace[e]||void 0:e?(tO("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=tI(e),n=this.parser||this.Parser;return tP("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),tP("process",this.parser||this.Parser),tM("process",this.compiler||this.Compiler),t?i(void 0,t):new Promise(i);function i(i,r){let s=tI(e),o=n.parse(s);function a(e,n){e||!n?r(e):i?i(n):((0,th.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(o,s,function(e,t,i){var r,s;if(e||!t||!i)return a(e);let o=n.stringify(t,i);"string"==typeof(r=o)||(s=r)&&"object"==typeof s&&"byteLength"in s&&"byteOffset"in s?i.value=o:i.result=o,a(e,i)})}}processSync(e){let t,n=!1;return this.freeze(),tP("processSync",this.parser||this.Parser),tM("processSync",this.compiler||this.Compiler),this.process(e,function(e,i){n=!0,tu(e),t=i}),tA("processSync","process",n),(0,th.ok)(t,"we either bailed on an error or have a tree"),t}
1run(e,t,n){tL(e),this.freeze();let i=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?r(void 0,n):new Promise(r);function r(r,s){(0,th.ok)("function"!=typeof t,"`file` canât be a `done` anymore, we checked");let o=tI(t);i.run(e,o,function(t,i,o){let a=i||e;t?s(t):r?r(a):((0,th.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,a,o))})}}runSync(e,t){let n,i=!1;return this.run(e,t,function(e,t){tu(e),n=t,i=!0}),tA("runSync","run",i),(0,th.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=tI(t),i=this.compiler||this.Compiler;return tM("stringify",i),tL(e),i(e,n)}use(e,...t){let n=this.attachers,i=this.namespace;if(tO("use",this.frozen),null==e);else if("function"==typeof e)o(e,t);else if("object"==typeof e)Array.isArray(e)?s(e):r(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function r(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(e.plugins),e.settings&&(i.settings=td(!0,i.settings,e.settings))}function s(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){var n=e[t];if("function"==typeof n)o(n,[]);else if("object"==typeof n)if(Array.isArray(n)){let[e,...t]=n;o(e,t)}else r(n);else throw TypeError("Expected usable value, not `"+n+"`")}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function o(e,t){let i=-1,r=-1;for(;++i<n.length;)if(n[i][0]===e){r=i;break}if(-1===r)n.push([e,...t]);else if(t.length>0){let[i,...s]=t,o=n[r][1];tp(o)&&tp(i)&&(i=td(!0,o,i)),n[r]=[e,i,...s]}}}}function tP(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function tM(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function tO(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function tL(e){if(!tp(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function tA(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function tI(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new tw(e)}let t_=new tT().freeze()().use(function(e){let t=this;t.parser=function(n){var r,o;let a,u,d,m;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(b),autolinkProtocol:u,autolinkEmail:u,atxHeading:i(m),blockQuote:i(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:i(f),codeFencedFenceInfo:r,codeFencedFenceMeta:r,codeIndented:i(f,r),codeText:i(function(){return{type:"inlineCode",value:""}},r),codeTextData:u,data:u,codeFlowValue:u,definition:i(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:r,definitionLabelString:r,definitionTitleString:r,emphasis:i(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:i(g),hardBreakTrailing:i(g),htmlFlow:i(v,r),htmlFlowData:u,htmlText:i(v,r),htmlTextData:u,image:i(function(){return{type:"image",title:null,url:"",alt:null}}),label:r,link:i(b),listItem:i(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:i(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:i(y),paragraph:i(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:r,resourceDestinationString:r,resourceTitleString:r,setextHeading:i(m),strong:i(function(){return{type:"strong",children:[]}}),thematicBreak:i(function(){return{type:"thematicBreak"}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:a(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),i=this.data.characterReferenceType;i?(t=ew(n,"characterReferenceMarkerNumeric"===i?10:16),this.data.characterReferenceType=void 0):t=Z(n);let r=this.stack[this.stack.length-1];r.value+=t},characterReference:function(e){this.stack.pop().position.end=eO(e.end)},codeFenced:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:a(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=N(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(h),hardBreakTrailing:a(h),htmlFlow:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=eS(t),n.identifier=N(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=eO(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
1ype)&&(u.call(this,e),d.call(this,e))},link:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=N(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:a(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:a(),thematicBreak:a()}};!function e(t,n){let i=-1;for(;++i<n.length;){let r=n[i];Array.isArray(r)?e(t,r):function(e,t){let n;for(n in t)if(eM.call(t,n))switch(n){case"canContainEols":{let i=t[n];i&&e[n].push(...i);break}case"transforms":{let i=t[n];i&&e[n].push(...i);break}case"enter":case"exit":{let i=t[n];i&&Object.assign(e[n],i)}}}(t,r)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let i={type:"root",children:[]},s={stack:[i],tokenStack:[],config:t,enter:o,exit:l,buffer:r,resume:c,data:n},a=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?a.push(u):u=function(e,t,n){let i,r,s,o,a=t-1,l=-1,c=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!i||o||l||s||(s=a),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(i){let o=a;for(r=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;r&&(e[r][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",r=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}s&&(!r||s<r)&&(i._spread=!0),i.end=Object.assign({},r?e[r][1].start:t[1].end),e.splice(r||a,0,["exit",i,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){let r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};i=r,e.splice(a,0,["enter",r,t[2]]),a++,n++,s=void 0,o=!0}}}return e[t][1]._spread=c,n}(e,a.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];eM.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},s),e[u][1])}if(s.tokenStack.length>0){let e=s.tokenStack[s.tokenStack.length-1];(e[1]||eL).call(s,void 0,e[0])}for(i.position={start:eO(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eO(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)i=t.transforms[u](i)||i;return i};function i(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function r(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:eO(t.start),end:void 0}}function a(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),i=this.tokenStack.pop();if(i)i[0].type!==e.type&&(t?t.call(this,e,i[0]):(i[1]||eL).call(this,e,i[0]));else throw Error("Cannot close `"+e.type+"` ("+ek({start:e.start,end:e.end})+"): itâs not open");n.position.end=eO(e.end)}function c(){return s(this.stack.pop())}function u(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:eO(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=eO(e.end)}function h(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function f(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function v(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(o)(function(e){for(;!h(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let i,r=(p.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];if(s)for(i in s){p.call(r,i)||(r[i]=[]);let e=s[i];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);l(e,0,0,i)}(r[i],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([i,...(e||{}).extensions||[]]),content:n(g),defined:[],document:n(v),flow:n(S),lazy:{},string:n(k),text:n(C)};return t;function n(e){return function(n){return function(e,t,n){let i={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
1olumn:n&&n.column||1,offset:n&&n.offset||0},r={},s=[],o=[],a=[],u={attempt:v(function(e,t){b(e,t.from)}),check:v(g),consume:function(e){(0,f.HP)(e)?(i.line++,i.column=1,i.offset+=-3===e?2:1,y()):-1!==e&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===o[i._index].length&&(i._bufferIndex=-1,i._index++)),d.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=m(),d.events.push(["enter",n,d]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=m(),d.events.push(["exit",t,d]),t},interrupt:v(g,{interrupt:!0})},d={code:null,containerState:{},defineSkip:function(e){r[e.line]=e.column,y()},events:[],now:m,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,i=-1,r=[];for(;++i<e.length;){let s,o=e[i];if("string"==typeof o)s=o;else switch(o){case -5:s="\r";break;case -4:s="\n";break;case -3:s="\r\n";break;case -2:s=t?" ":" ";break;case -1:if(!t&&n)continue;s=" ";break;default:s=String.fromCharCode(o)}n=-2===o,r.push(s)}return r.join("")}(p(e),t)},sliceStream:p,write:function(e){return(o=c(o,e),function(){let e;for(;i._index<o.length;){let n=o[i._index];if("string"==typeof n)for(e=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===e&&i._bufferIndex<n.length;){var t;t=n.charCodeAt(i._bufferIndex),h=h(t)}else h=h(n)}}(),null!==o[o.length-1])?[]:(b(t,0),d.events=ee(s,d.events,d),d.events)}},h=t.tokenize.call(d,u);return t.resolveAll&&s.push(t),d;function p(e){return function(e,t){let n,i=t.start._index,r=t.start._bufferIndex,s=t.end._index,o=t.end._bufferIndex;if(i===s)n=[e[i].slice(r,o)];else{if(n=e.slice(i,s),r>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(r):n.shift()}o>0&&n.push(e[s].slice(0,o))}return n}(o,e)}function m(){let{_bufferIndex:e,_index:t,line:n,column:r,offset:s}=i;return{_bufferIndex:e,_index:t,line:n,column:r,offset:s}}function g(e,t){t.restore()}function v(e,t){return function(n,r,s){var o;let l,c,h,p;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):(o=n,function(e){let t=null!==e&&o[e],n=null!==e&&o.null;return f([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function f(e){return(l=e,c=0,0===e.length)?s:g(e[c])}function g(e){return function(n){return(p=function(){let e=m(),t=d.previous,n=d.currentConstruct,r=d.events.length,s=Array.from(a);return{from:r,restore:function(){i=e,d.previous=t,d.currentConstruct=n,d.events.length=r,a=s,y()}}}(),h=e,e.partial||(d.currentConstruct=e),e.name&&d.parser.constructs.disable.null.includes(e.name))?b(n):e.tokenize.call(t?Object.assign(Object.create(d),t):d,u,v,b)(n)}}function v(t){return e(h,p),r}function b(e){return(p.restore(),++c<l.length)?g(l[c]):s}}}function b(e,t){e.resolveAll&&!s.includes(e)&&s.push(e),e.resolve&&l(d.events,t,d.events.length-t,e.resolve(d.events.slice(t),d)),e.resolveTo&&(d.events=e.resolveTo(d.events,d))}function y(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}(t,e,n)}}})(o).document().write((u=1,d="",m=!0,function(e,t,n){let i,r,s,o,l,c=[];for(e=d+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),s=0,d="",m&&(65279===e.charCodeAt(0)&&s++,m=void 0);s<e.length;){if(ey.lastIndex=s,o=(i=ey.exec(e))&&void 0!==i.index?i.index:e.length,l=e.charCodeAt(o),!i){d=e.slice(s);break}if(10===l&&s===o&&a)c.push(-3),a=void 0;else switch(a&&(c.push(-5),a=void 0),s<o&&(c.push(e.slice(s,o)),u+=o-s),l){case 0:c.push(65533),u++;break;case 9:for(r=4*Math.ceil(u/4),c.push(-2);u++<r;)c.push(-1);break;case 10:c.push(-4),u=1;break;default:a=!0,u=1}s=o+1}return n&&(a&&c.push(-5),d&&c.push(d),c.push(null)),c})(n,r,!0))))}}).use(function(e){let t=this;t.compiler=function(n){var i={...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]};let r={associationId:e9,containerPhrasing:ta,containerFlow:tl,createTracker:ti,compilePattern:e8,enter:function(e){return r.stack.push(e),function(){r.stack.pop()}},handlers:{...e5},handle:void 0,indentLines:te,indexStack:[],join:[...e3],options:{},safe:tc,stack:[],unsafe:[...e6]};!function e(t,n){var i,r,s,o;let a,l=-1;if(n.extensions)for(;++l<n.extensions.length;)e(t,n.extensions[l]);for(a in n)if(eI.call(n,a))switch(a){case"extensions":break;case"unsafe":case"join":i=t[a],(r=n[a])&&i.push(...r);break;case"handlers":s=t[a],(o=n[a])&&Object.assign(s,o);break;default:t.options[a]=n[a]}return t}(r,i||{}),r.options.tightDefinitions&&r.join.push(to),r.handle=(0,eA.A)("type",{invalid:tr,unknown:ts,handlers:r.handlers});let s=r.handle(n,void 0,r,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return s&&10!==s.charCodeAt(s.length-1)&&13!==s.charCodeAt(s.length-1)&&(s+="\n"),s}}).freeze()},14806:(e,t,n)=>{"use strict";e.exports=n(30125)},15334:function(e,t,n){(function(e){"use strict";var t={1:"Ù¡",2:"Ù¢",3:"Ù£",4:"Ù¤",5:"Ù¥",6:"Ù¦",7:"Ù§",8:"Ù¨",9:"Ù©",0:"Ù "},n={"Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù ":"0"};e.defineLocale("ar-sa",{months:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبتÙ
بر_Ø£ÙØªÙبر_ÙÙÙÙ
بر_Ø¯ÙØ³Ù
بر".split("_"),monthsShort:"ÙÙØ§Ùر_ÙØ¨Ø±Ø§Ùر_Ù
ارس_أبرÙÙ_Ù
اÙÙ_ÙÙÙÙÙ_ÙÙÙÙÙ_أغسطس_سبتÙ
بر_Ø£ÙØªÙبر_ÙÙÙÙ
بر_Ø¯ÙØ³Ù
بر".split("_"),weekdays:"Ø§ÙØ£ØØ¯_Ø§ÙØ¥Ø«ÙÙÙ_Ø§ÙØ«Ùاثاء_Ø§ÙØ£Ø±Ø¨Ø¹Ø§Ø¡_Ø§ÙØ®Ù
ÙØ³_Ø§ÙØ¬Ù
عة_Ø§ÙØ³Ø¨Øª".split("_"),weekdaysShort:"Ø£ØØ¯_إثÙÙÙ_Ø«ÙØ§Ø«Ø§Ø¡_أربعاء_Ø®Ù
ÙØ³_جÙ
عة_سبت".split("_"),weekdaysMin:"Ø_Ù_Ø«_ر_Ø®_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|Ù
/,isPM:function(e){return"Ù
"===e},meridiem:function(e,t,n){return e<12?"ص":"Ù
"},calendar:{sameDay:"[اÙÙÙÙ
عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextDay:"[غدا عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",nextWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastDay:"[Ø£Ù
س عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",lastWeek:"dddd [عÙÙ Ø§ÙØ³Ø§Ø¹Ø©] LT",sameElse:"L"},relativeTime:{future:"ÙÙ %s",past:"Ù
ÙØ° %s",s:"Ø«ÙØ§Ù",ss:"%d ثاÙÙØ©",m:"دÙÙÙØ©",mm:"%d Ø¯ÙØ§Ø¦Ù",h:"ساعة",hh:"%d ساعات",d:"ÙÙÙ
",dd:"%d Ø£ÙØ§Ù
",M:"Ø´ÙØ±",MM:"%d Ø£Ø´ÙØ±",y:"Ø³ÙØ©",yy:"%d سÙÙØ§Øª"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/Ø/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"Ø")},week:{dow:0,doy:6}})})(n(21001))}
1,17828:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return i}});let i=(0,n(64054).createAsyncLocalStorage)()},19298:(e,t,n)=>{"use strict";var i=n(53341);function r(){}function s(){}s.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,s,o){if(o!==i){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:r};return n.PropTypes=n,n}},20063:(e,t,n)=>{"use strict";var i=n(47260);n.o(i,"notFound")&&n.d(t,{notFound:function(){return i.notFound}})},24437:(e,t,n)=>{"use strict";function i(e){let{reason:t,children:n}=e;return n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return i}}),n(24553)},25223:()=>{},30125:(e,t,n)=>{"use strict";var i=n(12115),r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=i.useState,o=i.useEffect,a=i.useLayoutEffect,l=i.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),i=s({inst:{value:n,getSnapshot:t}}),r=i[0].inst,u=i[1];return a(function(){r.value=n,r.getSnapshot=t,c(r)&&u({inst:r})},[e,n,t]),o(function(){return c(r)&&u({inst:r}),e(function(){c(r)&&u({inst:r})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:u},30926:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{callServer:function(){return i.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return r.findSourceMapURL}});let i=n(41209),r=n(85153),s=n(77197)},31397:(e,t,n)=>{"use strict";n.d(t,{a:()=>c,b:()=>y,c:()=>f,e:()=>d,f:()=>o,h:()=>w,i:()=>b,k:()=>a,m:()=>x,n:()=>s,q:()=>v,r:()=>g,s:()=>S,t:()=>m,u:()=>u,v:()=>p,w:()=>h,x:()=>function e(){let t=Object(arguments.length<=0?void 0:arguments[0]),n=["__proto__","constructor","prototype"];for(let i=1;i<arguments.length;i+=1){let r=i<0||arguments.length<=i?void 0:arguments[i];if(null!=r&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(r instanceof HTMLElement):!r||1!==r.nodeType&&11!==r.nodeType)){let i=Object.keys(Object(r)).filter(e=>0>n.indexOf(e));for(let n=0,s=i.length;n<s;n+=1){let s=i[n],o=Object.getOwnPropertyDescriptor(r,s);void 0!==o&&o.enumerable&&(l(t[s])&&l(r[s])?r[s].__swiper__?t[s]=r[s]:e(t[s],r[s]):!l(t[s])&&l(r[s])?(t[s]={},r[s].__swiper__?t[s]=r[s]:e(t[s],r[s])):t[s]=r[s])}}}return t},y:()=>r});var i=n(37310);function r(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function s(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function o(){return Date.now()}function a(e,t){let n,r,s;void 0===t&&(t="x");let o=(0,i.a)(),a=function(e){let t,n=(0,i.a)();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return o.WebKitCSSMatrix?((r=a.transform||a.webkitTransform).split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new o.WebKitCSSMatrix("none"===r?"":r)):n=(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(r=o.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(r=o.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),r||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}
1function c(e,t,n){e.style.setProperty(t,n)}function u(e){let t,{swiper:n,targetPosition:r,side:s}=e,o=(0,i.a)(),a=-n.translate,l=null,c=n.params.speed;n.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(n.cssModeFrameID);let u=r>a?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,h=()=>{t=new Date().getTime(),null===l&&(l=t);let e=a+(.5-Math.cos(Math.max(Math.min((t-l)/c,1),0)*Math.PI)/2)*(r-a);if(d(e,r)&&(e=r),n.wrapperEl.scrollTo({[s]:e}),d(e,r)){n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout(()=>{n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo({[s]:e})}),o.cancelAnimationFrame(n.cssModeFrameID);return}n.cssModeFrameID=o.requestAnimationFrame(h)};h()}function d(e,t){void 0===t&&(t="");let n=(0,i.a)(),r=[...e.children];return(n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t)?r.filter(e=>e.matches(t)):r}function h(e,t){let n=(0,i.a)(),r=t.contains(e);return!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&((r=[...t.assignedElements()].includes(e))||(r=function(e,t){let n=[t];for(;n.length>0;){let t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),r}function p(e){try{console.warn(e);return}catch(e){}}function f(e,t){var n;void 0===t&&(t=[]);let i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:(void 0===(n=t)&&(n=""),n.trim().split(" ").filter(e=>!!e.trim()))),i}function m(e,t){let n=[];for(;e.previousElementSibling;){let i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}function g(e,t){let n=[];for(;e.nextElementSibling;){let i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}function v(e,t){return(0,i.a)().getComputedStyle(e,null).getPropertyValue(t)}function b(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function y(e,t){let n=[],i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function w(e,t,n){let r=(0,i.a)();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function x(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function S(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}},32238:(e,t,n)=>{"use strict";let i;n.d(t,{A:()=>tt});var r={};n.r(r),n.d(r,{boolean:()=>X,booleanish:()=>Z,commaOrSpaceSeparated:()=>et,commaSeparated:()=>ee,number:()=>J,overloadedBoolean:()=>K,spaceSeparated:()=>Q});let s="object"==typeof self?self:globalThis,o=e=>((e,t)=>{let n=(t,n)=>(e.set(n,t),t),i=r=>{if(e.has(r))return e.get(r);let[o,a]=t[r];switch(o){case 0:case -1:return n(a,r);case 1:{let e=n([],r);for(let t of a)e.push(i(t));return e}case 2:{let e=n({},r);for(let[t,n]of a)e[i(t)]=i(n);return e}case 3:return n(new Date(a),r);case 4:{let{source:e,flags:t}=a;return n(new RegExp(e,t),r)}case 5:{let e=n(new Map,r);for(let[t,n]of a)e.set(i(t),i(n));return e}case 6:{let e=n(new Set,r);for(let t of a)e.add(i(t));return e}case 7:{let{name:e,message:t}=a;return n(new s[e](t),r)}case 8:return n(BigInt(a),r);case"BigInt":return n(Object(BigInt(a)),r);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{let{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}}return n(new s[o](a),r)};return i})(new Map,e)(0),{toString:a}={},{keys:l}=Object,c=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=a.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},u=([e,t])=>0===e&&("function"===t||"symbol"===t),d=(e,{json:t,lossy:n}={})=>{let i=[];return((e,t,n,i)=>{let r=(e,t)=>{let r=i.push(e)-1;return n.set(t,r),r},s=i=>{if(n.has(i))return n.get(i);let[o,a]=c(i);switch(o){case 0:{let t=i;switch(a){case"bigint":o=8,t=i.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+a);t=null;break;case"undefined":return r([-1],i)}return r([o,t],i)}case 1:{if(a){let e=i;return"DataView"===a?e=new Uint8Array(i.buffer):"ArrayBuffer"===a&&(e=new Uint8Array(i)),r([a,[...e]],i)}let e=[],t=r([o,e],i);for(let t of i)e.push(s(t));return t}case 2:{if(a)switch(a){case"BigInt":return r([a,i.toString()],i);case"Boolean":case"Number":case"String":return r([a,i.valueOf()],i)}
1if(t&&"toJSON"in i)return s(i.toJSON());let n=[],d=r([o,n],i);for(let t of l(i))(e||!u(c(i[t])))&&n.push([s(t),s(i[t])]);return d}case 3:return r([o,i.toISOString()],i);case 4:{let{source:e,flags:t}=i;return r([o,{source:e,flags:t}],i)}case 5:{let t=[],n=r([o,t],i);for(let[n,r]of i)(e||!(u(c(n))||u(c(r))))&&t.push([s(n),s(r)]);return n}case 6:{let t=[],n=r([o,t],i);for(let n of i)(e||!u(c(n)))&&t.push(s(n));return n}}let{message:d}=i;return r([o,{name:a,message:d}],i)};return s})(!(t||n),!!t,new Map,i)(e),i},h="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?o(d(e,t)):structuredClone(e):(e,t)=>o(d(e,t)),p=m("end"),f=m("start");function m(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function g(e){let t=f(e),n=p(e);if(t&&n)return{start:t,end:n}}let v=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],b={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...v,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...v],h2:[["className","sr-only"]],img:[...v,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...v,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...v],table:[...v],ul:[...v,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},y={}.hasOwnProperty;function w(e,t){if(t&&"object"==typeof t)switch("string"==typeof t.type?t.type:""){case"comment":var n=e,i=t;if(n.schema.allowComments){let e="string"==typeof i.value?i.value:"",t=e.indexOf("--\x3e"),n={type:"comment",value:t<0?e:e.slice(0,t)};return k(n,i),n}return;case"doctype":var r=e,s=t;if(r.schema.allowDoctypes){let e={type:"doctype"};return k(e,s),e}return;case"element":return function(e,t){let n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);let i=x(e,t.children),r=function(e,t){let n,i=e.stack[e.stack.length-1],r=e.schema.attributes,s=e.schema.required,o=r&&y.call(r,i)?r[i]:void 0,a=r&&y.call(r,"*")?r["*"]:void 0,l=t&&"object"==typeof t?t:{},c={};for(n in l)if(y.call(l,n)){let t=l[n],i=S(e,C(o,n),n,t);null==i&&(i=S(e,C(a,n),n,t)),null!=i&&(c[n]=i)}if(s&&y.call(s,i)){let e=s[i];for(n in e)y.call(e,n)&&!y.call(c,n)&&(c[n]=e[n])}return c}(e,t.properties);e.stack.pop();let s=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(s=!0,e.schema.ancestors&&y.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],i=-1;for(s=!1;++i<t.length;)e.stack.includes(t[i])&&(s=!0)}if(!s)return e.schema.strip&&!e.schema.strip.includes(n)?i:void 0;let o={type:"element",tagName:n,properties:r,children:i};return k(o,t),o}(e,t);case"root":var o=e,a=t;let l={type:"root",children:x(o,a.children)};return k(l,a),l;case"text":var c=t;let u={type:"text",value:"string"==typeof c.value?c.value:""};return k(u,c),u}}function x(e,t){let n=[];if(Array.isArray(t)){let i=-1;for(;++i<t.length;){let r=w(e,t[i]);r&&(Array.isArray(r)?n.push(...r):n.push(r))}}return n}function S(e,t,n,i){return t?Array.isArray(i)?function(e,t,n,i){let r=-1,s=[];for(;++r<i.length;){let o=E(e,t,n,i[r]);("number"==typeof o||"string"==typeof o)&&s.push(o)}return s}(e,t,n,i):E(e,t,n,i):void 0}function E(e,t,n,i){if(("boolean"==typeof i||"number"==typeof i||"string"==typeof i)&&function(e,t,n){let i=e.sc
1hema.protocols&&y.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!i||0===i.length)return!0;let r=String(n),s=r.indexOf(":"),o=r.indexOf("?"),a=r.indexOf("#"),l=r.indexOf("/");if(s<0||l>-1&&s>l||o>-1&&s>o||a>-1&&s>a)return!0;let c=-1;for(;++c<i.length;){let e=i[c];if(s===e.length&&r.slice(0,e.length)===e)return!0}return!1}(e,n,i)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let r=t[n];if(r&&"object"==typeof r&&"flags"in r){if(r.test(String(i))){e=!0;break}}else if(r===i){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+i:i}}function k(e,t){let n=g(t);t.data&&(e.data=h(t.data)),n&&(e.position=n)}function C(e,t){let n,i=-1;if(e)for(;++i<e.length;){let r=e[i],s="string"==typeof r?r:r[0];if(s===t)return r;"data*"===s&&(n=r)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}var T=n(63758),P=n(3407);function M(e){let t=[],n=-1,i=0,r=0;for(;++n<e.length;){let s=e.charCodeAt(n),o="";if(37===s&&(0,P.lV)(e.charCodeAt(n+1))&&(0,P.lV)(e.charCodeAt(n+2)))r=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){let t=e.charCodeAt(n+1);s<56320&&t>56319&&t<57344?(o=String.fromCharCode(s,t),r=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(e.slice(i,n),encodeURIComponent(o)),i=n+r+1,o=""),r&&(n+=r,r=0)}return t.join("")+e.slice(i)}function O(e,t){let n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function L(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var A=n(95139);function I(e,t){let n=t.referenceType,i="]";if("collapsed"===n?i+="[]":"full"===n&&(i+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+i}];let r=e.all(t),s=r[0];s&&"text"===s.type?s.value="["+s.value:r.unshift({type:"text",value:"["});let o=r[r.length-1];return o&&"text"===o.type?o.value+=i:r.push({type:"text",value:i}),r}function _(e){let t=e.spread;return null==t?e.children.length>1:t}function z(e,t,n){let i=0,r=e.length;if(t){let t=e.codePointAt(i);for(;9===t||32===t;)i++,t=e.codePointAt(i)}if(n){let t=e.codePointAt(r-1);for(;9===t||32===t;)r--,t=e.codePointAt(r-1)}return r>i?e.slice(i,r):""}let R={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",i={},r=t.lang?t.lang.split(/\s+/):[];r.length>0&&(i.className=["language-"+r[0]]);let s={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s={type:"element",tagName:"pre",properties:{},children:[s=e.applyData(t,s)]},e.patch(t,s),s},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,i="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),s=M(r.toLowerCase()),o=e.footnoteOrder.indexOf(r),a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),n=e.footnoteOrder.length):n=o+1,a+=1,e.footnoteCounts.set(r,a);let l={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+s,id:i+"fnref-"+s+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return I(e,t);let r={src:M(i.url||""),alt:t.alt};null!==i.title&&void 0!==i.title&&(r.title=i.title);let s={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,s),e.applyData(t,s)},image:function(e,t){let n={src:M(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let i={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,i),e.applyData(t,i)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let i={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,i),e.applyData(t,i)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return I(e,t);let r={href:M(i.url||"")};null!==i.title&&void 0!==i.title&&(r.title=i.title);let s={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)},link:function(e,t){let n={href:M(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let i={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},listItem:function(e,t,n){let i=e.all(t),r=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,i=-1;for(;!t&&++i<n.length;)t=_(n[i])}return t}(n):_(t),s={},o=[];if("boolean"==typeof t.checked){let e,n=i[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},i.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let a=-1;for(;++a<i.length;){let e=i[a];(r||0!==a||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||r?o.push(e):o.push(...e.children)}let l=i[i.length-1];l&&(r||"element"!==l.type||"p"!==l.tagName)&&o.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let n={},i=e.all(t),r=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++r<i.length;){let e=i[r];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(i,
1!0)};return e.patch(t,s),e.applyData(t,s)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),i=n.shift(),r=[];if(i){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(t.children[0],n),r.push(n)}if(n.length>0){let i={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=f(t.children[1]),o=p(t.children[t.children.length-1]);s&&o&&(i.position={start:s,end:o}),r.push(i)}let s={type:"element",tagName:"table",properties:{},children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let i=n?n.children:void 0,r=0===(i?i.indexOf(t):1)?"th":"td",s=n&&"table"===n.type?n.align:void 0,o=s?s.length:t.children.length,a=-1,l=[];for(;++a<o;){let n=t.children[a],i={},o=s?s[a]:void 0;o&&(i.align=o);let c={type:"element",tagName:r,properties:i,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,i=n.exec(t),r=0,s=[];for(;i;)s.push(z(t.slice(r,i.index),r>0,!0),i[0]),r=i.index+i[0].length,i=n.exec(t);return s.push(z(t.slice(r),r>0,!1)),s.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:D,yaml:D,definition:D,footnoteDefinition:D};function D(){}let F={}.hasOwnProperty,N={};function j(e,t){e.position&&(t.position=g(e))}function B(e,t){let n=t;if(e&&e.data){let t=e.data.hName,i=e.data.hChildren,r=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&r&&Object.assign(n.properties,h(r)),"children"in n&&n.children&&null!=i&&(n.children=i)}return n}function H(e,t){let n=[],i=-1;for(t&&n.push({type:"text",value:"\n"});++i<e.length;)i&&n.push({type:"text",value:"\n"}),n.push(e[i]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function $(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}let q=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class V{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function W(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new V(n,i,t)}function Y(e){return e.toLowerCase()}V.prototype.normal={},V.prototype.property={},V.prototype.space=void 0;class G{constructor(e,t){this.attribute=t,this.property=e}}G.prototype.attribute="",G.prototype.booleanish=!1,G.prototype.boolean=!1,G.prototype.commaOrSpaceSeparated=!1,G.prototype.commaSeparated=!1,G.prototype.defined=!1,G.prototype.mustUseProperty=!1,G.prototype.number=!1,G.prototype.overloadedBoolean=!1,G.prototype.property="",G.prototype.spaceSeparated=!1,G.prototype.space=void 0;let U=0,X=en(),Z=en(),K=en(),J=en(),Q=en(),ee=en(),et=en();function en(){return 2**++U}let ei=Object.keys(r);class er extends G{constructor(e,t,n,i){let s=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",i),"number"==typeof n)for(;++s<ei.length;){let e=ei[s];!function(e,t,n){n&&(e[t]=n)}(this,ei[s],(n&r[e])===r[e])}}}function es(e){let t={},n={};for(let[i,r]of Object.entries(e.properties)){let s=new er(i,e.transform(e.attributes||{},i),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(s.mustUseProperty=!0),t[i]=s,n[Y(i)]=i,n[Y(s.attribute)]=i}return new V(t,n,e.space)}er.prototype.defined=!0;let eo=es({properties:{ariaActiveDescendant:null,ariaAtomic:Z,ariaAutoComplete:null,ariaBusy:Z,ariaChecked:Z,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControl
vendor: 5,312 bytes, line 1
1s:Q,ariaCurrent:null,ariaDescribedBy:Q,ariaDetails:null,ariaDisabled:Z,ariaDropEffect:Q,ariaErrorMessage:null,ariaExpanded:Z,ariaFlowTo:Q,ariaGrabbed:Z,ariaHasPopup:null,ariaHidden:Z,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Q,ariaLevel:J,ariaLive:null,ariaModal:Z,ariaMultiLine:Z,ariaMultiSelectable:Z,ariaOrientation:null,ariaOwns:Q,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:Z,ariaReadOnly:Z,ariaRelevant:null,ariaRequired:Z,ariaRoleDescription:Q,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:Z,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function ea(e,t){return t in e?e[t]:t}function el(e,t){return ea(e,t.toLowerCase())}let ec=es({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ee,acceptCharset:Q,accessKey:Q,action:null,allow:null,allowFullScreen:X,allowPaymentRequest:X,allowUserMedia:X,alt:null,as:null,async:X,autoCapitalize:null,autoComplete:Q,autoFocus:X,autoPlay:X,blocking:Q,capture:null,charSet:null,checked:X,cite:null,className:Q,cols:J,colSpan:null,content:null,contentEditable:Z,controls:X,controlsList:Q,coords:J|ee,crossOrigin:null,data:null,dateTime:null,decoding:null,default:X,defer:X,dir:null,dirName:null,disabled:X,download:K,draggable:Z,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:X,formTarget:null,headers:Q,height:J,hidden:K,high:J,href:null,hrefLang:null,htmlFor:Q,httpEquiv:Q,id:null,imageSizes:null,imageSrcSet:null,inert:X,inputMode:null,integrity:null,is:null,isMap:X,itemId:null,itemProp:Q,itemRef:Q,itemScope:X,itemType:Q,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:X,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,multiple:X,muted:X,name:null,nonce:null,noModule:X,noValidate:X,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:X,optimum:J,pattern:null,ping:Q,placeholder:null,playsInline:X,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:X,referrerPolicy:null,rel:Q,required:X,reversed:X,rows:J,rowSpan:J,sandbox:Q,scope:null,scoped:X,seamless:X,selected:X,shadowRootClonable:X,shadowRootDelegatesFocus:X,shadowRootMode:null,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:Z,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:X,useMap:null,value:Z,width:J,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Q,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:X,declare:X,event:null,face:null,frame:null,frameBorder:null,hSpace:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:X,noHref:X,noShade:X,noWrap:X,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:Z,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:X,disableRemotePlayback:X,prefix:null,property:null,results:J,security:null,unselectable:null},space:"html",transform:el}),eu=es({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
1dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:et,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:Q,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
1dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:X,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ee,g2:ee,glyphName:ee,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:et,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:J,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Q,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:et,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:et,rev:et,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:et,requiredFeatures:et,requiredFonts:et,requiredFormats:et,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:et,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:et,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:et,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ea}),ed=es({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
1"xlink:"+t.slice(5).toLowerCase()}),eh=es({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:el}),ep=es({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),ef=W([eo,ec,ed,eh,ep],"html"),em=W([eo,eu,ed,eh,ep],"svg");var eg=n(75164);let ev=/["&'<>`]/g,eb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ey=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,ew=/[|\\{}()[\]^$+*?.]/g,ex=new WeakMap,eS=/[\dA-Fa-f]/,eE=/\d/,ek=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
1sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],eC={nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",fnof:"Æ",Alpha:"Î",Beta:"Î",Gamma:"Î",Delta:"Î",Epsilon:"Î",Zeta:"Î",Eta:"Î",Theta:"Î",Iota:"Î",Kappa:"Î",Lambda:"Î",Mu:"Î",Nu:"Î",Xi:"Î",Omicron:"Î",Pi:"Î ",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Î¥",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"Ï",rho:"Ï",sigmaf:"Ï",sigma:"Ï",tau:"Ï",upsilon:"Ï
",phi:"Ï",chi:"Ï",psi:"Ï",omega:"Ï",thetasym:"Ï",upsih:"Ï",piv:"Ï",bull:"â¢",hellip:"â¦",prime:"â²",Prime:"â³",oline:"â¾",frasl:"â",weierp:"â",image:"â",real:"â",trade:"â¢",alefsym:"âµ",larr:"â",uarr:"â",rarr:"â",darr:"â",harr:"â",crarr:"âµ",lArr:"â",uArr:"â",rArr:"â",dArr:"â",hArr:"â",forall:"â",part:"â",exist:"â",empty:"â
",nabla:"â",isin:"â",notin:"â",ni:"â",prod:"â",sum:"â",minus:"â",lowast:"â",radic:"â",prop:"â",infin:"â",ang:"â ",and:"â§",or:"â¨",cap:"â©",cup:"âª",int:"â«",there4:"â´",sim:"â¼",cong:"â
",asymp:"â",ne:"â ",equiv:"â¡",le:"â¤",ge:"â¥",sub:"â",sup:"â",nsub
1:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â
",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Å",oelig:"Å",Scaron:"Å ",scaron:"Å¡",Yuml:"Ÿ",circ:"Ë",tilde:"Ë",ensp:"â",emsp:"â",thinsp:"â",zwnj:"â",zwj:"â",lrm:"â",rlm:"â",ndash:"â",mdash:"â",lsquo:"â",rsquo:"â",sbquo:"â",ldquo:"â",rdquo:"â",bdquo:"â",dagger:"â ",Dagger:"â¡",permil:"â°",lsaquo:"â¹",rsaquo:"âº",euro:"â¬"},eT=["cent","copy","divide","gt","lt","not","para","times"],eP={}.hasOwnProperty,eM={};for(i in eC)eP.call(eC,i)&&(eM[eC[i]]=i);let eO=/[^\dA-Za-z]/;function eL(e,t,n){let i,r=function(e,t,n){let i="&#x"+e.toString(16).toUpperCase();return n&&t&&!eS.test(String.fromCharCode(t))?i:i+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(i=function(e,t,n,i){let r=String.fromCharCode(e);if(eP.call(eM,r)){let e=eM[r],s="&"+e;return n&&ek.includes(e)&&!eT.includes(e)&&(!i||t&&61!==t&&eO.test(String.fromCharCode(t)))?s:s+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=function(e,t,n){let i="&#"+String(e);return n&&t&&!eE.test(String.fromCharCode(t))?i:i+";"}(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function eA(e,t){let n;var i,r=e,s=Object.assign({format:eL},t);if(r=r.replace(s.subset?(i=s.subset,(n=ex.get(i))||(n=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(ew,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(i),ex.set(i,n)),n):ev,o),s.subset||s.escapeOnly)return r;return r.replace(eb,function(e,t,n){return s.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(t+2),s)}).replace(ey,o);function o(e,t,n){return s.format(e.charCodeAt(0),n.charCodeAt(t+1),s)}}let eI=/^>|^->|<!--|-->|--!>|<!-$/g,e_=[">"],ez=["<",">"];function eR(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let i=0,r=n.indexOf(t);for(;-1!==r;)i++,r=n.indexOf(t,r+t.length);return i}let eD=/[A-Z]/g,eF=/-[a-z]/g,eN=/^data[-\w.:]+$/i;function ej(e){return"-"+e.toLowerCase()}function eB(e){return e.charAt(1).toUpperCase()}let eH=/[ \t\n\f\r]/g;function e$(e){return"object"==typeof e?"text"===e.type&&eq(e.value):eq(e)}function eq(e){return""===e.replace(eH,"")}let eV=eG(1),eW=eG(-1),eY=[];function eG(e){return function(t,n,i){let r=t?t.children:eY,s=(n||0)+e,o=r[s];if(!i)for(;o&&e$(o);)s+=e,o=r[s];return o}}let eU={}.hasOwnProperty;function eX(e){return function(t,n,i){return eU.call(e,t.tagName)&&e[t.tagName](t,n,i)}}let eZ=eX({body:function(e,t,n){let i=eV(n,t);return!i||"comment"!==i.type},caption:eK,colgroup:eK,dd:function(e,t,n){let i=eV(n,t);return!i||"element"===i.type&&("dt"===i.tagName||"dd"===i.tagName)},dt:function(e,t,n){let i=eV(n,t);return!!(i&&"element"===i.type&&("dt"===i.tagName||"dd"===i.tagName))},head:eK,html:function(e,t,n){let i=eV(n,t);return!i||"comment"!==i.type},li:function(e,t,n){let i=eV(n,t);return!i||"element"===i.type&&"li"===i.tagName},optgroup:function(e,t,n){let i=eV(n,t);return!i||"element"===i.type&&"optgroup"===i.tagName},option:function(e,t,n){let i=eV(n,t);return!i||"element"===i.type&&("option"===i.tagName||"optgroup"===i.tagName)},p:function(e,t,n){let i=eV(n,t);return i?"element"===i.type&&("address"===i.tagName||"article"===i.tagName||"aside"===i.tagName||"blockquote"===i.tagName||"details"===i.tagName||"div"===i.tagName||"dl"===i.tagName||"fieldset"===i.tagName||"figcaption"===i.tagName||"figure"===i.tagName||"footer"===i.tagName||"form"===i.tagName||"h1"===i.tagName||"h2"===i.tagName||"h3"===i.tagName||"h4"===i.tagName||"h5"===i.tagName||"h6"===i.tagName||"header"===i.tagName||"hgroup"===i.tagName||"hr"===i.tagName||"main"===i.tagName||"menu"===i.tagName||"nav"===i.tagName||"ol"===i.tagName||"p"===i.tagName||"pre"===i.tagName||"section"===i.tagName||"table"===i.tagName||"ul"===i.tagName):!n||"element"!==n.type||"a"!==n.tagName&&"audio"!==n.tagName&&"del"!==n.tagName&&"ins"!==n.tagName&&"map"!==n.tagName&&"noscript"!==n.tagName&&"video"!==n.tagName},rp:eJ,rt:eJ,tbody:function(e,t,n){let i=eV(n,t);return!i||"element"===i.type&&("tbody"===i.tagName||"tfoot"===i.tagName)},td:eQ,tfoot:function(e,t,n){return!eV(n,t)},th:eQ,thead:function(e,t,n){let i=eV(n,t);return!!(i&&"element"===i.type&&("tbody"===i.tagName||"tfoot"===i.tagName))},tr:function(e,t,n){let i=eV(n,t);return!i||"element"===i.type&&"tr"===i.tagName}});
1function eK(e,t,n){let i=eV(n,t,!0);return!i||"comment"!==i.type&&!("text"===i.type&&e$(i.value.charAt(0)))}function eJ(e,t,n){let i=eV(n,t);return!i||"element"===i.type&&("rp"===i.tagName||"rt"===i.tagName)}function eQ(e,t,n){let i=eV(n,t);return!i||"element"===i.type&&("td"===i.tagName||"th"===i.tagName)}let e0=eX({body:function(e){let t=eV(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&e$(t.value.charAt(0)))&&("element"!==t.type||"meta"!==t.tagName&&"link"!==t.tagName&&"script"!==t.tagName&&"style"!==t.tagName&&"template"!==t.tagName)},colgroup:function(e,t,n){let i=eW(n,t),r=eV(e,-1,!0);return!(n&&i&&"element"===i.type&&"colgroup"===i.tagName&&eZ(i,n.children.indexOf(i),n))&&!!(r&&"element"===r.type&&"col"===r.tagName)},head:function(e){let t=new Set;for(let n of e.children)if("element"===n.type&&("base"===n.tagName||"title"===n.tagName)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||"element"===n.type},html:function(e){let t=eV(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){let i=eW(n,t),r=eV(e,-1);return!(n&&i&&"element"===i.type&&("thead"===i.tagName||"tbody"===i.tagName)&&eZ(i,n.children.indexOf(i),n))&&!!(r&&"element"===r.type&&"tr"===r.tagName)}}),e1={name:[[" \n\f\r &/=>".split("")," \n\f\r \"&'/=>`".split("")],["\0 \n\f\r \"&'/<=>".split(""),"\0 \n\f\r \"&'/<=>`".split("")]],unquoted:[[" \n\f\r &>".split(""),"\0 \n\f\r \"&'<=>`".split("")],["\0 \n\f\r \"&'<=>`".split(""),"\0 \n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},e2=["<","&"];function e5(e,t,n,i){return n&&"element"===n.type&&("script"===n.tagName||"style"===n.tagName)?e.value:eA(e.value,Object.assign({},i.settings.characterReferences,{subset:e2}))}let e3=(0,eg.A)("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,i){return i.settings.bogusComments?"<?"+eA(e.value,Object.assign({},i.settings.characterReferences,{subset:e_}))+">":"\x3c!--"+e.value.replace(eI,function(e){return eA(e,Object.assign({},i.settings.characterReferences,{subset:ez}))})+"--\x3e"},doctype:function(e,t,n,i){return"<!"+(i.settings.upperDoctype?"DOCTYPE":"doctype")+(i.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,n,i){let r,s=i.schema,o="svg"!==s.space&&i.settings.omitOptionalTags,a="svg"===s.space?i.settings.closeEmptyElements:i.settings.voids.includes(e.tagName.toLowerCase()),l=[];"html"===s.space&&"svg"===e.tagName&&(i.schema=em);let c=function(e,t){let n,i=[],r=-1;if(t){for(n in t)if(null!==t[n]&&void 0!==t[n]){let r=function(e,t,n){let i,r=function(e,t){let n=Y(t),i=t,r=G;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&eN.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(eF,eB);i="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!eF.test(e)){let n=e.replace(eD,ej);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}r=er}return new r(i,t)}(e.schema,t),s=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,o=+!e.settings.allowDangerousCharacters,a=e.quote;if(r.overloadedBoolean&&(n===r.attribute||""===n)?n=!0:(r.boolean||r.overloadedBoolean)&&("string"!=typeof n||n===r.attribute||""===n)&&(n=!!n),null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";let l=eA(r.attribute,Object.assign({},e.settings.characterReferences,{subset:e1.name[s][o]}));return!0===n||(n=Array.isArray(n)?(r.commaSeparated?function(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}:function(e){return e.join(" ").trim()})(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(i=eA(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:e1.unquoted[s][o]}))),i!==n&&(e.settings.quoteSmart&&eR(n,a)>eR(n,e.alternative)&&(a=e.alternative),i=a+eA(n,Object.assign({},e.settings.characterReferences,{subset:("'"===a?e1.single:e1.double)[s][o],attribute:!0}))+a),l+(i?"="+i:i))}
1(e,n,t[n]);r&&i.push(r)}}for(;++r<i.length;){let t=e.settings.tightAttributes?i[r].charAt(i[r].length-1):void 0;r!==i.length-1&&'"'!==t&&"'"!==t&&(i[r]+=" ")}return i.join("")}(i,e.properties),u=i.all("html"===s.space&&"template"===e.tagName?e.content:e);return i.schema=s,u&&(a=!1),!c&&o&&e0(e,t,n)||(l.push("<",e.tagName,c?" "+c:""),a&&("svg"===s.space||i.settings.closeSelfClosing)&&(r=c.charAt(c.length-1),(!i.settings.tightSelfClosing||"/"===r||r&&'"'!==r&&"'"!==r)&&l.push(" "),l.push("/")),l.push(">")),l.push(u),a||o&&eZ(e,t,n)||l.push("</"+e.tagName+">"),l.join("")},raw:function(e,t,n,i){return i.settings.allowDangerousHtml?e.value:e5(e,t,n,i)},root:function(e,t,n,i){return i.all(e)},text:e5}}),e4={},e6={},e9=[];function e8(e,t,n){return e3(e,t,n,this)}function e7(e){let t=[],n=e&&e.children||e9,i=-1;for(;++i<n.length;)t[i]=this.one(n[i],i,e);return t.join("")}let te={};function tt(e){let t,{handlers:n,sanitize:i,...r}=e||te,s=!1;"boolean"==typeof i?s=!i:i&&(t=i),this.compiler=function(e,i){let o=function(e,t){let n=function(e,t){let n=t||N,i=new Map,r=new Map,s={all:function(e){let t=[];if("children"in e){let n=e.children,i=-1;for(;++i<n.length;){let r=s.one(n[i],e);if(r){if(i&&"break"===n[i-1].type&&(Array.isArray(r)||"text"!==r.type||(r.value=$(r.value)),!Array.isArray(r)&&"element"===r.type)){let e=r.children[0];e&&"text"===e.type&&(e.value=$(e.value))}Array.isArray(r)?t.push(...r):t.push(r)}}}return t},applyData:B,definitionById:i,footnoteById:r,footnoteCounts:new Map,footnoteOrder:[],handlers:{...R,...n.handlers},one:function(e,t){let n=e.type,i=s.handlers[n];if(F.call(s.handlers,n)&&i)return i(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,i=h(n);return i.children=s.all(e),i}return h(e)}return(s.options.unknownHandler||function(e,t){let n=t.data||{},i="value"in t&&!(F.call(n,"hProperties")||F.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)})(s,e,t)},options:n,patch:j,wrap:H};return(0,A.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?i:r,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),s}(e,t),i=n.one(e,void 0),r=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||O,i=e.options.footnoteBackLabel||L,r=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],l=-1;for(;++l<e.footnoteOrder.length;){let r=e.footnoteById.get(e.footnoteOrder[l]);if(!r)continue;let s=e.all(r),o=String(r.identifier).toUpperCase(),c=M(o.toLowerCase()),u=0,d=[],h=e.footnoteCounts.get(o);for(;void 0!==h&&++u<=h;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof i?i:i(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let p=s[s.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...d)}else s.push(...d);let f={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(s,!0)};e.patch(r,f),a.push(f)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...h(o),id:"footnote-label"},children:[{type:"text",value:r}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
1,{type:"text",value:"\n"}]}}(n),s=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return r&&((0,T.ok)("children"in s),s.children.push({type:"text",value:"\n"},r)),s}(e,{handlers:n,allowDangerousHtml:s}),a=function(e,t){let n=t||e4,i=n.quote||'"';if('"'!==i&&"'"!==i)throw Error("Invalid quote `"+i+"`, expected `'` or `\"`");return({one:e8,all:e7,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||q,characterReferences:n.characterReferences||e6,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?em:ef,quote:i,alternative:'"'===i?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}(s?o:function(e,t){let n={type:"root",children:[]},i=w({schema:t?{...b,...t}:b,stack:[]},e);return i&&(Array.isArray(i)?1===i.length?n=i[0]:n.children=i:n=i),n}(o,t),{...r,allowDangerousHtml:s});return i.extname&&(i.extname=".html"),e&&"root"===e.type&&a&&/[^\r\n]/.test(a.charAt(a.length-1))?a+"\n":a}}},34240:(e,t,n)=>{"use strict";n.d(t,{A:()=>i.S});var i=n(45574)},36552:(e,t,n)=>{"use strict";function i(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return i}}),n(95155),n(47650),n(8567),n(77278)},37310:(e,t,n)=>{"use strict";function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(e,t){void 0===e&&(e={}),void 0===t&&(t={});let n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>n.indexOf(e)).forEach(n=>{void 0===e[n]?e[n]=t[n]:i(t[n])&&i(e[n])&&Object.keys(t[n]).length>0&&r(e[n],t[n])})}n.d(t,{a:()=>l,g:()=>o});let s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function o(){let e="undefined"!=typeof document?document:{};return r(e,s),e}let a={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){let e="undefined"!=typeof window?window:{};return r(e,a),e}},37849:(e,t,n)=>{"use strict";e.exports=n(68381)},39959:function(e,t,n){n(21001).defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}})},43903:(e,t,n)=>{"use strict";let i;n.d(t,{Ay:()=>K});var r=n(12115),s=n(14806),o=Object.prototype.hasOwnProperty;let a=new WeakMap,l=()=>{},c=l(),u=Object,d=e=>e===c,h=(e,t)=>({...e,...t}),p={},f={}
1,m="undefined",g=typeof window!=m,v=typeof document!=m,b=g&&"Deno"in window,y=(e,t)=>{let n=a.get(e);return[()=>!d(t)&&e.get(t)||p,i=>{if(!d(t)){let r=e.get(t);t in f||(f[t]=r),n[5](t,h(r,i),r||p)}},n[6],()=>!d(t)&&t in f?f[t]:!d(t)&&e.get(t)||p]},w=!0,[x,S]=g&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[l,l],E={initFocus:e=>(v&&document.addEventListener("visibilitychange",e),x("focus",e),()=>{v&&document.removeEventListener("visibilitychange",e),S("focus",e)}),initReconnect:e=>{let t=()=>{w=!0,e()},n=()=>{w=!1};return x("online",t),x("offline",n),()=>{S("online",t),S("offline",n)}}},k=!r.useId,C=!g||b,T=C?r.useEffect:r.useLayoutEffect,P="undefined"!=typeof navigator&&navigator.connection,M=!C&&P&&(["slow-2g","2g"].includes(P.effectiveType)||P.saveData),O=new WeakMap,L=(e,t)=>e==="[object ".concat(t,"]"),A=0,I=e=>{let t,n,i=typeof e,r=u.prototype.toString.call(e),s=L(r,"Date"),o=L(r,"RegExp"),a=L(r,"Object");if(u(e)!==e||s||o)t=s?e.toJSON():"symbol"==i?e.toString():"string"==i?JSON.stringify(e):""+e;else{if(t=O.get(e))return t;if(t=++A+"~",O.set(e,t),Array.isArray(e)){for(n=0,t="@";n<e.length;n++)t+=I(e[n])+",";O.set(e,t)}if(a){t="#";let i=u.keys(e).sort();for(;!d(n=i.pop());)d(e[n])||(t+=n+":"+I(e[n])+",");O.set(e,t)}}return t},_=e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?I(e):"",t]},z=0,R=()=>++z;async function D(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[i,r,s,o]=t,l=h({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{}),u=l.populateCache,p=l.rollbackOnError,f=l.optimisticData,m=l.throwOnError;if("function"==typeof r){let e=[];for(let t of i.keys())!/^\$(inf|sub)\$/.test(t)&&r(i.get(t)._k)&&e.push(t);return Promise.all(e.map(g))}return g(r);async function g(e){let n,[r]=_(e);if(!r)return;let[o,h]=y(i,r),[g,v,b,w]=a.get(i),x=()=>{let t=g[r];return("function"==typeof l.revalidate?l.revalidate(o().data,e):!1!==l.revalidate)&&(delete b[r],delete w[r],t&&t[0])?t[0](2).then(()=>o().data):o().data};if(t.length<3)return x();let S=s,E=!1,k=R();v[r]=[k,0];let C=!d(f),T=o(),P=T.data,M=T._c,O=d(M)?P:M;if(C&&h({data:f="function"==typeof f?f(O,P):f,_c:O}),"function"==typeof S)try{S=S(O)}catch(e){n=e,E=!0}if(S&&"function"==typeof S.then){let e;if(S=await S.catch(e=>{n=e,E=!0}),k!==v[r][0]){if(E)throw n;return S}E&&C&&(e=n,"function"==typeof p?p(e):!1!==p)&&(u=!0,h({data:O,_c:c}))}if(u&&!E&&("function"==typeof u?h({data:u(S,O),error:c,_c:c}):h({data:S,error:c,_c:c})),v[r][1]=R(),Promise.resolve(x()).then(()=>{h({_c:c})}),E){if(m)throw n;return}return S}}let F=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},N=(e,t)=>{if(!a.has(e)){let n=h(E,t),i=Object.create(null),r=D.bind(c,e),s=l,o=Object.create(null),u=(e,t)=>{let n=o[e]||[];return o[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},d=(t,n,i)=>{e.set(t,n);let r=o[t];if(r)for(let e of r)e(n,i)},p=()=>{if(!a.has(e)&&(a.set(e,[i,Object.create(null),Object.create(null),Object.create(null),r,d,u]),!C)){let t=n.initFocus(setTimeout.bind(c,F.bind(c,i,0))),r=n.initReconnect(setTimeout.bind(c,F.bind(c,i,1)));s=()=>{t&&t(),r&&r(),a.delete(e)}}};return p(),[e,r,p,s]}return[e,a.get(e)[4]]},[j,B]=N(new Map),H=h({onLoadingSlow:l,onSuccess:l,onError:l,onErrorRetry:(e,t,n,i,r)=>{let s=n.errorRetryCount,o=r.retryCount,a=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;(d(s)||!(o>s))&&setTimeout(i,a,r)},onDiscarded:l,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:M?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:M?5e3:3e3,compare:function e(t,n){var i,r;if(t===n)return!0;if(t&&n&&(i=t.constructor)===n.constructor){if(i===Date)return t.getTime()===n.getTime();if(i===RegExp)return t.toString()===n.toString();if(i===Array){if((r=t.length)===n.length)for(;r--&&e(t[r],n[r]););return -1===r}if(!i||"object"==typeof t){for(i in r=0,t)if(o.call(t,i)&&++r&&!o.call(n,i)||!(i in n)||!e(t[i],n[i]))return!1;return Object.keys(n).length===r}}return t!=t&&n!=n},isPaused:()=>!1,cache:j,mutate:B,fallback:{}},{isOnline:()=>w,isVisible:()=>{let e=v&&document.visibilityState;
1return d(e)||"hidden"!==e}}),$=(e,t)=>{let n=h(e,t);if(t){let{use:i,fallback:r}=e,{use:s,fallback:o}=t;i&&s&&(n.use=i.concat(s)),r&&o&&(n.fallback=h(r,o))}return n},q=(0,r.createContext)({}),V=g&&window.__SWR_DEVTOOLS_USE__,W=(V?window.__SWR_DEVTOOLS_USE__:[]).concat(e=>(t,n,i)=>{let r=n&&((...e)=>{let[i]=_(t),[,,,r]=a.get(j);if(i.startsWith("$inf$"))return n(...e);let s=r[i];return d(s)?n(...e):(delete r[i],s)});return e(t,r,i)});V&&(window.__SWR_DEVTOOLS_REACT__=r);let Y=()=>{},G=Y();new WeakMap;let U=r.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),X={dedupe:!0},Z=Promise.resolve(c);u.defineProperty(e=>{let{value:t}=e,n=(0,r.useContext)(q),i="function"==typeof t,s=(0,r.useMemo)(()=>i?t(n):t,[i,n,t]),o=(0,r.useMemo)(()=>i?s:$(n,s),[i,n,s]),a=s&&s.provider,l=(0,r.useRef)(c);a&&!l.current&&(l.current=N(a(o.cache||j),s));let u=l.current;return u&&(o.cache=u[0],o.mutate=u[1]),T(()=>{if(u)return u[2]&&u[2](),u[3]},[]),(0,r.createElement)(q.Provider,h(e,{value:o}))},"defaultValue",{value:H});let K=(i=(e,t,n)=>{let{cache:i,compare:o,suspense:u,fallbackData:p,revalidateOnMount:f,revalidateIfStale:v,refreshInterval:b,refreshWhenHidden:w,refreshWhenOffline:x,keepPreviousData:S,strictServerPrefetchWarning:E}=n,[P,M,O,L]=a.get(i),[A,I]=_(e),z=(0,r.useRef)(!1),F=(0,r.useRef)(!1),N=(0,r.useRef)(A),j=(0,r.useRef)(t),B=(0,r.useRef)(n),H=()=>B.current.isVisible()&&B.current.isOnline(),[$,q,V,W]=y(i,A),Y=(0,r.useRef)({}).current,G=d(p)?d(n.fallback)?c:n.fallback[A]:p,K=(e,t)=>{for(let n in Y)if("data"===n){if(!o(e[n],t[n])&&(!d(e[n])||!o(eo,t[n])))return!1}else if(t[n]!==e[n])return!1;return!0},J=(0,r.useMemo)(()=>{let e=!!A&&!!t&&(d(f)?!B.current.isPaused()&&!u&&!1!==v:f),n=t=>{let n=h(t);return(delete n._k,e)?{isValidating:!0,isLoading:!0,...n}:n},i=$(),r=W(),s=n(i),o=i===r?s:n(r),a=s;return[()=>{let e=n($());return K(e,a)?(a.data=e.data,a.isLoading=e.isLoading,a.isValidating=e.isValidating,a.error=e.error,a):(a=e,e)},()=>o]},[i,A]),Q=(0,s.useSyncExternalStore)((0,r.useCallback)(e=>V(A,(t,n)=>{K(n,t)||e()}),[i,A]),J[0],J[1]),ee=!z.current,et=P[A]&&P[A].length>0,en=Q.data,ei=d(en)?G&&"function"==typeof G.then?U(G):G:en,er=Q.error,es=(0,r.useRef)(ei),eo=S?d(en)?d(es.current)?ei:es.current:en:ei,ea=A&&d(ei),el=!C&&(0,s.useSyncExternalStore)(()=>l,()=>!1,()=>!0);E&&el&&!u&&ea&&console.warn(`Missing pre-initiated data for serialized key "${A}" during server-side rendering. Data fethcing should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);let ec=(!et||!!d(er))&&(ee&&!d(f)?f:!B.current.isPaused()&&(u?!d(ei)&&v:d(ei)||v)),eu=!!(A&&t&&ee&&ec),ed=d(Q.isValidating)?eu:Q.isValidating,eh=d(Q.isLoading)?eu:Q.isLoading,ep=(0,r.useCallback)(async e=>{let t,i,r=j.current;if(!A||!r||F.current||B.current.isPaused())return!1;let s=!0,a=e||{},l=!O[A]||!a.dedupe,u=()=>k?!F.current&&A===N.current&&z.current:A===N.current,h={isValidating:!1,isLoading:!1},p=()=>{q(h)},f=()=>{let e=O[A];e&&e[1]===i&&delete O[A]},m={isValidating:!0};d($().data)&&(m.isLoading=!0);try{if(l&&(q(m),n.loadingTimeout&&d($().data)&&setTimeout(()=>{s&&u()&&B.current.onLoadingSlow(A,n)},n.loadingTimeout),O[A]=[r(I),R()]),[t,i]=O[A],t=await t,l&&setTimeout(f,n.dedupingInterval),!O[A]||O[A][1]!==i)return l&&u()&&B.current.onDiscarded(A),!1;h.error=c;let e=M[A];if(!d(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return p(),l&&u()&&B.current.onDiscarded(A),!1;let a=$().data;h.data=o(a,t)?a:t,l&&u()&&B.current.onSuccess(t,A,n)}catch(n){f();let e=B.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(h.error=n,l&&u())&&(e.onError(n,A,e),(!0===t||"function"==typeof t&&t(n))&&(!B.current.revalidateOnFocus||!B.current.revalidateOnReconnect||H())&&e.onErrorRetry(n,A,e,e=>{let t=P[A];t&&t[0]&&t[0](3,e)},{retryCount:(a.retryCount||0)+1,dedupe:!0}))}return s=!1,p(),!0},[A,i]),ef=(0,r.useCallback)((...e)=>D(i,N.current,...e),[]);if(T(()=>{j.current=t,B.current=n,d(en)||(es.current=en)}),T(()=>{if(!A)return;let e=ep.bind(c,X),t=0;B.current.revalidateOnFocus&&(t=Date.now()+B.current.focusThrottleInterval);let n=((e,t,n)=>{let i=t[e]||(t[e]=[]);return i.push(n),()=>{let e=i.indexOf(n);e>=0&&(i[e]=i[i.length-1],i.pop())}})(A,P,(n,i={})=>
1{if(0==n){let n=Date.now();B.current.revalidateOnFocus&&n>t&&H()&&(t=n+B.current.focusThrottleInterval,e())}else if(1==n)B.current.revalidateOnReconnect&&H()&&e();else if(2==n)return ep();else if(3==n)return ep(i)});return F.current=!1,N.current=A,z.current=!0,q({_k:I}),ec&&!O[A]&&(d(ei)||C?e():(e=>g&&typeof window.requestAnimationFrame!=m?window.requestAnimationFrame(e):setTimeout(e,1))(e)),()=>{F.current=!0,n()}},[A]),T(()=>{let e;function t(){let t="function"==typeof b?b($().data):b;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!$().error&&(w||B.current.isVisible())&&(x||B.current.isOnline())?ep(X).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[b,w,x,A]),(0,r.useDebugValue)(eo),u){if(!k&&C&&ea)throw Error("Fallback data is required when using Suspense in SSR.");ea&&(j.current=t,B.current=n,F.current=!1);let e=L[A];if(U(!d(e)&&ea?ef(e):Z),!d(er)&&ea)throw er;let i=ea?ep(X):Z;!d(eo)&&ea&&(i.status="fulfilled",i.value=!0),U(i)}return{mutate:ef,get data(){return Y.data=!0,eo},get error(){return Y.error=!0,er},get isValidating(){return Y.isValidating=!0,ed},get isLoading(){return Y.isLoading=!0,eh}}},function(...e){let t=(()=>{let e=(0,r.useContext)(q);return(0,r.useMemo)(()=>h(H,e),[e])})(),[n,s,o]="function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],a=$(t,o),l=i,{use:c}=a,u=(c||[]).concat(W);for(let e=u.length;e--;)l=u[e](l);return l(n,s||a.fetcher||null,a)})},45574:(e,t,n)=>{"use strict";let i,r,s;n.d(t,{S:()=>A,d:()=>M});var o=n(37310),a=n(31397);function l(){return i||(i=function(){let e=(0,o.a)(),t=(0,o.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),i}function c(e){return void 0===e&&(e={}),r||(r=function(e){let{userAgent:t}=void 0===e?{}:e,n=l(),i=(0,o.a)(),r=i.navigator.platform,s=t||i.navigator.userAgent,a={ios:!1,android:!1},c=i.screen.width,u=i.screen.height,d=s.match(/(Android);?[\s\/]+([\d.]+)?/),h=s.match(/(iPad).*OS\s([\d_]+)/),p=s.match(/(iPod)(.*OS\s([\d_]+))?/),f=!h&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="MacIntel"===r;return!h&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${c}x${u}`)>=0&&((h=s.match(/(Version)\/([\d.]+)/))||(h=[0,1,"13_0_0"]),m=!1),d&&"Win32"!==r&&(a.os="android",a.android=!0),(h||f||p)&&(a.os="ios",a.ios=!0),a}(e)),r}function u(){return s||(s=function(){let e=(0,o.a)(),t=c(),n=!1;function i(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(i()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&i<2}}let r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=i(),a=s||r&&t.ios;return{isSafari:n||s,needPerspectiveFix:n,need3dFix:a,isWebView:r}}()),s}let d=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},h=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},p=(e,t)=>{if(!e||e.destroyed||!e.params)return;let n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},f=(e,t)=>{if(!e.slides[t])return;let n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},m=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);let i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let n=[r-t];n.push(...Array.from({length:t}).map((e,t)=>
1r+i+t)),e.slides.forEach((t,i)=>{n.includes(t.column)&&f(e,i)});return}let s=r+i-1;if(e.params.rewind||e.params.loop)for(let i=r-t;i<=s+t;i+=1){let t=(i%n+n)%n;(t<r||t>s)&&f(e,t)}else for(let i=Math.max(r-t,0);i<=Math.min(s+t,n-1);i+=1)i!==r&&(i>s||i<r)&&f(e,i)};function g(e){let{swiper:t,runCallbacks:n,direction:i,step:r}=e,{activeIndex:s,previousIndex:o}=t,a=i;a||(a=s>o?"next":s<o?"prev":"reset"),t.emit(`transition${r}`),n&&"reset"===a?t.emit(`slideResetTransition${r}`):n&&s!==o&&(t.emit(`slideChangeTransition${r}`),"next"===a?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`))}function v(e,t,n){let i=(0,o.a)(),{params:r}=e,s=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return!s||!(n<=a)&&!(n>=i.innerWidth-a)||"prevent"===s&&(t.preventDefault(),!0)}function b(e){let t=(0,o.g)(),n=e;n.originalEvent&&(n=n.originalEvent);let i=this.touchEventsData;if("pointerdown"===n.type){if(null!==i.pointerId&&i.pointerId!==n.pointerId)return;i.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(i.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void v(this,n,n.targetTouches[0].pageX);let{params:r,touches:s,enabled:l}=this;if(!l||!r.simulateTouch&&"mouse"===n.pointerType||this.animating&&r.preventInteractionOnTransition)return;!this.animating&&r.cssMode&&r.loop&&this.loopFix();let c=n.target;if("wrapper"===r.touchEventsTarget&&!(0,a.w)(c,this.wrapperEl)||"which"in n&&3===n.which||"button"in n&&n.button>0||i.isTouched&&i.isMoved)return;let u=!!r.noSwipingClass&&""!==r.noSwipingClass,d=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&d&&(c=d[0]);let h=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(n.target&&n.target.shadowRoot);if(r.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===(0,o.g)()||n===(0,o.a)())return null;n.assignedSlot&&(n=n.assignedSlot);let i=n.closest(e);return i||n.getRootNode?i||t(n.getRootNode().host):null}(t)}(h,c):c.closest(h))){this.allowClick=!0;return}if(r.swipeHandler&&!c.closest(r.swipeHandler))return;s.currentX=n.pageX,s.currentY=n.pageY;let f=s.currentX,m=s.currentY;if(!v(this,n,f))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=f,s.startY=m,i.touchStartTime=(0,a.f)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(i.allowThresholdMove=!1);let g=!0;c.matches(i.focusableElements)&&(g=!1,"SELECT"===c.nodeName&&(i.isTouched=!1)),t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==c&&("mouse"===n.pointerType||"mouse"!==n.pointerType&&!c.matches(i.focusableElements))&&t.activeElement.blur();let b=g&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||b)&&!c.isContentEditable&&n.preventDefault(),r.freeMode&&r.freeMode.enabled&&this.freeMode&&this.animating&&!r.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",n)}function y(e){let t,n,i=(0,o.g)(),r=this.touchEventsData,{params:s,touches:l,rtlTranslate:c,enabled:u}=this;if(!u||!s.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type&&(null!==r.touchId||d.pointerId!==r.pointerId))return;if("touchmove"===d.type){if(!(t=[...d.changedTouches].find(e=>e.identifier===r.touchId))||t.identifier!==r.touchId)return}else t=d;if(!r.isTouched){r.startMoving&&r.isScrolling&&this.emit("touchMoveOpposite",d);return}let h=t.pageX,p=t.pageY;if(d.preventedByNestedSwiper){l.startX=h,l.startY=p;return}if(!this.allowTouchMove){d.target.matches(r.focusableElements)||(this.allowClick=!1),r.isTouched&&(Object.assign(l,{startX:h,startY:p,currentX:h,currentY:p}),r.touchStartTime=(0,a.f)());return}if(s.touchReleaseOnEdges&&!s.loop){if(this.isVertical()){if(p<l.startY&&this.translate<=this.maxTranslate()||p>l.startY&&this.translate>=this.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(c&&(h>l.startX&&-this.translate<=this.maxTranslate()||h<l.startX&&-this.translate>=this.minTranslate()))return;else if(!c&&(h<l.startX&&this.translate<=this.maxTranslate()||h>l.startX&&this.translate>=this.minTranslate()))return}if(i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==d.target&&"mouse"!==d.pointerType&&i.activeElement.blur(),i.activeElement&&d.target===i.activeElement&&d.target.matches(r.focusableElements)){r.isMoved=!0,this.allowClick=!1;return}
1r.allowTouchCallbacks&&this.emit("touchMove",d),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=h,l.currentY=p;let f=l.currentX-l.startX,m=l.currentY-l.startY;if(this.params.threshold&&Math.sqrt(f**2+m**2)<this.params.threshold)return;if(void 0===r.isScrolling){let e;this.isHorizontal()&&l.currentY===l.startY||this.isVertical()&&l.currentX===l.startX?r.isScrolling=!1:f*f+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(f))/Math.PI,r.isScrolling=this.isHorizontal()?e>s.touchAngle:90-e>s.touchAngle)}if(r.isScrolling&&this.emit("touchMoveOpposite",d),void 0===r.startMoving&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(r.startMoving=!0),r.isScrolling||"touchmove"===d.type&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;this.allowClick=!1,!s.cssMode&&d.cancelable&&d.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&d.stopPropagation();let g=this.isHorizontal()?f:m,v=this.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;s.oneWayMovement&&(g=Math.abs(g)*(c?1:-1),v=Math.abs(v)*(c?1:-1)),l.diff=g,g*=s.touchRatio,c&&(g=-g,v=-v);let b=this.touchesDirection;this.swipeDirection=g>0?"prev":"next",this.touchesDirection=v>0?"prev":"next";let y=this.params.loop&&!s.cssMode,w="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!r.isMoved){if(y&&w&&this.loopFix({direction:this.swipeDirection}),r.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,s.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",d)}if(new Date().getTime(),!1!==s._loopSwapReset&&r.isMoved&&r.allowThresholdMove&&b!==this.touchesDirection&&y&&w&&Math.abs(g)>=1){Object.assign(l,{startX:h,startY:p,currentX:h,currentY:p,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}this.emit("sliderMove",d),r.isMoved=!0,r.currentTranslate=g+r.startTranslate;let x=!0,S=s.resistanceRatio;if(s.touchReleaseOnEdges&&(S=0),g>0?(y&&w&&!n&&r.allowThresholdMove&&r.currentTranslate>(s.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==s.slidesPerView&&this.slides.length-s.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>this.minTranslate()&&(x=!1,s.resistance&&(r.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+r.startTranslate+g)**S))):g<0&&(y&&w&&!n&&r.allowThresholdMove&&r.currentTranslate<(s.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==s.slidesPerView&&this.slides.length-s.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===s.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),r.currentTranslate<this.maxTranslate()&&(x=!1,s.resistance&&(r.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-r.startTranslate-g)**S))),x&&(d.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),this.allowSlidePrev||this.allowSlideNext||(r.currentTranslate=r.startTranslate),s.threshold>0)if(Math.abs(g)>s.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,r.currentTranslate=r.startTranslate,l.diff=this.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{r.currentTranslate=r.startTranslate;return}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&this.freeMode||s.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(r.currentTranslate),this.setTranslate(r.currentTranslate))}function w(e){let t,n,i=this,r=i.touchEventsData,s=e;if(s.originalEvent&&(s=s.originalEvent),"touchend"===s.type||"touchcancel"===s.type){if(!(t=[...s.changedTouches].find(e=>e.identifier===r.touchId))||t.identifier!==r.touchId)return}else{if(null!==r.touchId||s.pointerId!==r.pointerId)return;t=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(i.browser.isSafari||i.browser.isWebView)))return;r.pointerId=null,r.touchId=null;let{params:o,touches:l,rtlTranslate:c,slidesGrid:u,enabled:d}=i;if(!d||!o.simulateTouch&&"mouse"===s.pointerType)return;if(r.allowTouchCallbacks&&i.emit("touchEnd",s),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&o.grabCursor&&i.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}o.grabCursor&&r.isMoved&&r.isTouched&&(!0===i.allowSlideNext||!0===i.allowSlidePrev)&&i.setGrabCursor(!1);let h=(0,a.f)(),p=h-r.touchStartTime;if(i.allowClick){let e=s.path||s.composedPath&&s.composedPath();i.updateClickedSlide(e&&e[0]||s.target,e),i.emit("tap click",s),p<300&&h-r.lastClickTime<300&&i.emit("doubleTap doubleClick",
1s)}if(r.lastClickTime=(0,a.f)(),(0,a.n)(()=>{i.destroyed||(i.allowClick=!0)}),!r.isTouched||!r.isMoved||!i.swipeDirection||0===l.diff&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,n=o.followFinger?c?i.translate:-i.translate:-r.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void i.freeMode.onTouchEnd({currentPos:n});let f=n>=-i.maxTranslate()&&!i.params.loop,m=0,g=i.slidesSizesGrid[0];for(let e=0;e<u.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){let t=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==u[e+t]?(f||n>=u[e]&&n<u[e+t])&&(m=e,g=u[e+t]-u[e]):(f||n>=u[e])&&(m=e,g=u[u.length-1]-u[u.length-2])}let v=null,b=null;o.rewind&&(i.isBeginning?b=o.virtual&&o.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1:i.isEnd&&(v=0));let y=(n-u[m])/g,w=m<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(p>o.longSwipesMs){if(!o.longSwipes)return void i.slideTo(i.activeIndex);"next"===i.swipeDirection&&(y>=o.longSwipesRatio?i.slideTo(o.rewind&&i.isEnd?v:m+w):i.slideTo(m)),"prev"===i.swipeDirection&&(y>1-o.longSwipesRatio?i.slideTo(m+w):null!==b&&y<0&&Math.abs(y)>o.longSwipesRatio?i.slideTo(b):i.slideTo(m))}else{if(!o.shortSwipes)return void i.slideTo(i.activeIndex);i.navigation&&(s.target===i.navigation.nextEl||s.target===i.navigation.prevEl)?s.target===i.navigation.nextEl?i.slideTo(m+w):i.slideTo(m):("next"===i.swipeDirection&&i.slideTo(null!==v?v:m+w),"prev"===i.swipeDirection&&i.slideTo(null!==b?b:m))}}function x(){let e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:i,allowSlidePrev:r,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let a=o&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function S(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function E(){let{wrapperEl:e,rtlTranslate:t,enabled:n}=this;if(!n)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let i=this.maxTranslate()-this.minTranslate();(0===i?0:(this.translate-this.minTranslate())/i)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function k(e){p(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function C(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let T=(e,t)=>{let n=(0,o.g)(),{params:i,el:r,wrapperEl:s,device:a}=e,l=!!i.nested,c="on"===t?"addEventListener":"removeEventListener";r&&"string"!=typeof r&&(n[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),r[c]("touchstart",e.onTouchStart,{passive:!1}),r[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[c]("touchend",e.onTouchEnd,{passive:!0}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("touchcancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),n[c]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[c]("click",e.onClick,!0),i.cssMode&&s[c]("scroll",e.onScroll),i.updateOnWindowResize?e[t](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",x,!0):e[t]("observerUpdate",x,!0),r[c]("load",e.onLoad,{capture:!0}))},P=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var M={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",
1spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let O={eventsEmitter:{on(e,t,n){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;let r=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once(e,t,n){let i=this;if(!i.eventsListeners||i.destroyed||"function"!=typeof t)return i;function r(){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,s=Array(n),o=0;o<n;o++)s[o]=arguments[o];t.apply(i,s)}return r.__emitterProxy=t,i.on(e,r,n)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let n=this;return n.eventsListeners&&!n.destroyed&&n.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)})}),n},emit(){let e,t,n,i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;for(var r=arguments.length,s=Array(r),o=0;o<r;o++)s[o]=arguments[o];return"string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],t=s.slice(1,s.length),n=i):(e=s[0].events,t=s[0].data,n=s[0].context||i),t.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(e=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(i=>{i.apply(n,[e,...t])}),i.eventsListeners&&i.eventsListeners[e]&&i.eventsListeners[e].forEach(e=>{e.apply(n,t)})}),i}},update:{updateSize:function(){let e,t,n=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:n.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:n.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,a.q)(n,"padding-left")||0,10)-parseInt((0,a.q)(n,"padding-right")||0,10),t=t-parseInt((0,a.q)(n,"padding-top")||0,10)-parseInt((0,a.q)(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e,t=this;function n(e,n){return parseFloat(e.getPropertyValue(t.getDirectionLabel(n))||0)}let i=t.params,{wrapperEl:r,slidesEl:s,size:o,rtlTranslate:l,wrongRTL:c}=t,u=t.virtual&&i.virtual.enabled,d=u?t.virtual.slides.length:t.slides.length,h=(0,a.e)(s,`.${t.params.slideClass}, swiper-slide`),p=u?t.virtual.slides.length:h.length,f=[],m=[],g=[],v=i.slidesOffsetBefore;"function"==typeof v&&(v=i.slidesOffsetBefore.call(t));let b=i.slidesOffsetAfter;"function"==typeof b&&(b=i.slidesOffsetAfter.call(t));let y=t.snapGrid.length,w=t.slidesGrid.length,x=i.spaceBetween,S=-v,E=0,k=0;if(void 0===o)return;"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*o:"string"==typeof x&&(x=parseFloat(x)),t.virtualSize=-x,h.forEach(e
1=>{l?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),i.centeredSlides&&i.cssMode&&((0,a.a)(r,"--swiper-centered-offset-before",""),(0,a.a)(r,"--swiper-centered-offset-after",""));let C=i.grid&&i.grid.rows>1&&t.grid;C?t.grid.initSlides(h):t.grid&&t.grid.unsetSlides();let T="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(e=>void 0!==i.breakpoints[e].slidesPerView).length>0;for(let r=0;r<p;r+=1){let s;if(e=0,h[r]&&(s=h[r]),C&&t.grid.updateSlide(r,s,h),!h[r]||"none"!==(0,a.q)(s,"display")){if("auto"===i.slidesPerView){T&&(h[r].style[t.getDirectionLabel("width")]="");let o=getComputedStyle(s),l=s.style.transform,c=s.style.webkitTransform;if(l&&(s.style.transform="none"),c&&(s.style.webkitTransform="none"),i.roundLengths)e=t.isHorizontal()?(0,a.h)(s,"width",!0):(0,a.h)(s,"height",!0);else{let t=n(o,"width"),i=n(o,"padding-left"),r=n(o,"padding-right"),a=n(o,"margin-left"),l=n(o,"margin-right"),c=o.getPropertyValue("box-sizing");if(c&&"border-box"===c)e=t+a+l;else{let{clientWidth:n,offsetWidth:o}=s;e=t+i+r+a+l+(o-n)}}l&&(s.style.transform=l),c&&(s.style.webkitTransform=c),i.roundLengths&&(e=Math.floor(e))}else e=(o-(i.slidesPerView-1)*x)/i.slidesPerView,i.roundLengths&&(e=Math.floor(e)),h[r]&&(h[r].style[t.getDirectionLabel("width")]=`${e}px`);h[r]&&(h[r].swiperSlideSize=e),g.push(e),i.centeredSlides?(S=S+e/2+E/2+x,0===E&&0!==r&&(S=S-o/2-x),0===r&&(S=S-o/2-x),.001>Math.abs(S)&&(S=0),i.roundLengths&&(S=Math.floor(S)),k%i.slidesPerGroup==0&&f.push(S),m.push(S)):(i.roundLengths&&(S=Math.floor(S)),(k-Math.min(t.params.slidesPerGroupSkip,k))%t.params.slidesPerGroup==0&&f.push(S),m.push(S),S=S+e+x),t.virtualSize+=e+x,E=e,k+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+b,l&&c&&("slide"===i.effect||"coverflow"===i.effect)&&(r.style.width=`${t.virtualSize+x}px`),i.setWrapperSize&&(r.style[t.getDirectionLabel("width")]=`${t.virtualSize+x}px`),C&&t.grid.updateWrapperSize(e,f),!i.centeredSlides){let e=[];for(let n=0;n<f.length;n+=1){let r=f[n];i.roundLengths&&(r=Math.floor(r)),f[n]<=t.virtualSize-o&&e.push(r)}f=e,Math.floor(t.virtualSize-o)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-o)}if(u&&i.loop){let e=g[0]+x;if(i.slidesPerGroup>1){let n=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),r=e*i.slidesPerGroup;for(let e=0;e<n;e+=1)f.push(f[f.length-1]+r)}for(let n=0;n<t.virtual.slidesBefore+t.virtual.slidesAfter;n+=1)1===i.slidesPerGroup&&f.push(f[f.length-1]+e),m.push(m[m.length-1]+e),t.virtualSize+=e}if(0===f.length&&(f=[0]),0!==x){let e=t.isHorizontal()&&l?"marginLeft":t.getDirectionLabel("marginRight");h.filter((e,t)=>!i.cssMode||!!i.loop||t!==h.length-1).forEach(t=>{t.style[e]=`${x}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;g.forEach(t=>{e+=t+(x||0)});let t=(e-=x)>o?e-o:0;f=f.map(e=>e<=0?-v:e>t?t+b:e)}if(i.centerInsufficientSlides){let e=0;g.forEach(t=>{e+=t+(x||0)}),e-=x;let t=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(e+t<o){let n=(o-e-t)/2;f.forEach((e,t)=>{f[t]=e-n}),m.forEach((e,t)=>{m[t]=e+n})}}if(Object.assign(t,{slides:h,snapGrid:f,slidesGrid:m,slidesSizesGrid:g}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){(0,a.a)(r,"--swiper-centered-offset-before",`${-f[0]}px`),(0,a.a)(r,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);let e=-t.snapGrid[0],n=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+n)}if(p!==d&&t.emit("slidesLengthChange"),f.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==w&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!u&&!i.cssMode&&("slide"===i.effect||"fade"===i.effect)){let e=`${i.containerModifierClass}backface-hidden`,n=t.el.classList.contains(e);p<=i.maxBackfaceHiddenSlides?n||t.el.classList.add(e):n&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t,n=this,i=[],r=n.virtual&&n.params.virtual.enabled,s=0;"number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);let o=e=>r?n.slides[n.getSlideIndexByData(e)]:n.slides[e];if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>
11)if(n.params.centeredSlides)(n.visibleSlides||[]).forEach(e=>{i.push(e)});else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){let e=n.activeIndex+t;if(e>n.slides.length&&!r)break;i.push(o(e))}else i.push(o(n.activeIndex));for(t=0;t<i.length;t+=1)if(void 0!==i[t]){let e=i[t].offsetHeight;s=e>s?e:s}(s||0===s)&&(n.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(this.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this.params,{slides:n,rtlTranslate:i,snapGrid:r}=this;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();let s=-e;i&&(s=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let o=t.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*this.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<n.length;e+=1){let a=n[e],l=a.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=n[0].swiperSlideOffset);let c=(s+(t.centeredSlides?this.minTranslate():0)-l)/(a.swiperSlideSize+o),u=(s-r[0]+(t.centeredSlides?this.minTranslate():0)-l)/(a.swiperSlideSize+o),h=-(s-l),p=h+this.slidesSizesGrid[e],f=h>=0&&h<=this.size-this.slidesSizesGrid[e],m=h>=0&&h<this.size-1||p>1&&p<=this.size||h<=0&&p>=this.size;m&&(this.visibleSlides.push(a),this.visibleSlidesIndexes.push(e)),d(a,m,t.slideVisibleClass),d(a,f,t.slideFullyVisibleClass),a.progress=i?-c:c,a.originalProgress=i?-u:u}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,n=this.maxTranslate()-this.minTranslate(),{progress:i,isBeginning:r,isEnd:s,progressLoop:o}=this,a=r,l=s;if(0===n)i=0,r=!0,s=!0;else{i=(e-this.minTranslate())/n;let t=1>Math.abs(e-this.minTranslate()),o=1>Math.abs(e-this.maxTranslate());r=t||i<=0,s=o||i>=1,t&&(i=0),o&&(i=1)}if(t.loop){let t=this.getSlideIndexByData(0),n=this.getSlideIndexByData(this.slides.length-1),i=this.slidesGrid[t],r=this.slidesGrid[n],s=this.slidesGrid[this.slidesGrid.length-1],a=Math.abs(e);(o=a>=i?(a-i)/s:(a+s-r)/s)>1&&(o-=1)}Object.assign(this,{progress:i,progressLoop:o,isBeginning:r,isEnd:s}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),r&&!a&&this.emit("reachBeginning toEdge"),s&&!l&&this.emit("reachEnd toEdge"),(a&&!r||l&&!s)&&this.emit("fromEdge"),this.emit("progress",i)},updateSlidesClasses:function(){let e,t,n,{slides:i,params:r,slidesEl:s,activeIndex:o}=this,l=this.virtual&&r.virtual.enabled,c=this.grid&&r.grid&&r.grid.rows>1,u=e=>(0,a.e)(s,`.${r.slideClass}${e}, swiper-slide${e}`)[0];if(l)if(r.loop){let t=o-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=u(`[data-swiper-slide-index="${t}"]`)}else e=u(`[data-swiper-slide-index="${o}"]`);else c?(e=i.find(e=>e.column===o),n=i.find(e=>e.column===o+1),t=i.find(e=>e.column===o-1)):e=i[o];e&&!c&&(n=(0,a.r)(e,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!n&&(n=i[0]),t=(0,a.t)(e,`.${r.slideClass}
1, swiper-slide`)[0],r.loop),i.forEach(i=>{h(i,i===e,r.slideActiveClass),h(i,i===n,r.slideNextClass),h(i,i===t,r.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,n,i=this,r=i.rtlTranslate?i.translate:-i.translate,{snapGrid:s,params:o,activeIndex:a,realIndex:l,snapIndex:c}=i,u=e,d=e=>{let t=e-i.virtual.slidesBefore;return t<0&&(t=i.virtual.slides.length+t),t>=i.virtual.slides.length&&(t-=i.virtual.slides.length),t};if(void 0===u&&(u=function(e){let t,{slidesGrid:n,params:i}=e,r=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?r>=n[e]&&r<n[e+1]-(n[e+1]-n[e])/2?t=e:r>=n[e]&&r<n[e+1]&&(t=e+1):r>=n[e]&&(t=e);return i.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(i)),s.indexOf(r)>=0)t=s.indexOf(r);else{let e=Math.min(o.slidesPerGroupSkip,u);t=e+Math.floor((u-e)/o.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),u===a&&!i.params.loop){t!==c&&(i.snapIndex=t,i.emit("snapIndexChange"));return}if(u===a&&i.params.loop&&i.virtual&&i.params.virtual.enabled){i.realIndex=d(u);return}let h=i.grid&&o.grid&&o.grid.rows>1;if(i.virtual&&o.virtual.enabled&&o.loop)n=d(u);else if(h){let e=i.slides.find(e=>e.column===u),t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(i.slides.indexOf(e),0)),n=Math.floor(t/o.grid.rows)}else if(i.slides[u]){let e=i.slides[u].getAttribute("data-swiper-slide-index");n=e?parseInt(e,10):u}else n=u;Object.assign(i,{previousSnapIndex:c,snapIndex:t,previousRealIndex:l,realIndex:n,previousIndex:a,activeIndex:u}),i.initialized&&m(i),i.emit("activeIndexChange"),i.emit("snapIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&(l!==n&&i.emit("realIndexChange"),i.emit("slideChange"))},updateClickedSlide:function(e,t){let n,i=this.params,r=e.closest(`.${i.slideClass}, swiper-slide`);!r&&this.isElement&&t&&t.length>
11&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(r=e)});let s=!1;if(r){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===r){s=!0,n=e;break}}if(r&&s)this.clickedSlide=r,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=n;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}i.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let{params:t,rtlTranslate:n,translate:i,wrapperEl:r}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let s=(0,a.k)(r,e);return s+=this.cssOverflowAdjustment(),n&&(s=-s),s||0},setTranslate:function(e,t){let{rtlTranslate:n,params:i,wrapperEl:r,progress:s}=this,o=0,a=0;this.isHorizontal()?o=n?-e:e:a=e,i.roundLengths&&(o=Math.floor(o),a=Math.floor(a)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:a,i.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-a:i.virtualTranslate||(this.isHorizontal()?o-=this.cssOverflowAdjustment():a-=this.cssOverflowAdjustment(),r.style.transform=`translate3d(${o}px, ${a}px, 0px)`);let l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==s&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,i,r){let s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);let o=this,{params:l,wrapperEl:c}=o;if(o.animating&&l.preventInteractionOnTransition)return!1;let u=o.minTranslate(),d=o.maxTranslate();if(s=i&&e>u?u:i&&e<d?d:e,o.updateProgress(s),l.cssMode){let e=o.isHorizontal();if(0===t)c[e?"scrollLeft":"scrollTop"]=-s;else{if(!o.support.smoothScroll)return(0,a.u)({swiper:o,targetPosition:-s,side:e?"left":"top"}),!0;c.scrollTo({[e?"left":"top"]:-s,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(s),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(s),n&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,n&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);let{params:n}=this;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),g({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let{params:n}=this;this.animating=!1,n.cssMode||(this.setTransition(0),g({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,n,i,r){let s;void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));let o=this,l=e;l<0&&(l=0);let{params:c,snapGrid:d,slidesGrid:h,previousIndex:p,activeIndex:f,rtlTranslate:m,wrapperEl:g,enabled:v}=o;if(!v&&!i&&!r||o.destroyed||o.animating&&c.preventInteractionOnTransition)return!1;void 0===t&&(t=o.params.speed);let b=Math.min(o.params.slidesPerGroupSkip,l),y=b+Math.floor((l-b)/o.params.slidesPerGroup);y>=d.length&&(y=d.length-1);let w=-d[y];if(c.normalizeSlideIndex)for(let e=0;e<h.length;e+=1){let t=-Math.floor(100*w),n=Math.floor(100*h[e]),i=Math.floor(100*h[e+1]);void 0!==h[e+1]?t>=n&&t<i-(i-n)/2?l=e:t>=n&&t<i&&(l=e+1):t>=n&&(l=e)}if(o.initialized&&l!==f&&(!o.allowSlideNext&&(m?w>o.translate&&w>o.minTranslate():w<o.translate&&w<o.minTranslate())||!o.allowSlidePrev&&w>o.translate&&w>o.maxTranslate()&&(f||0)!==l))return!1;l!==(p||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(w),s=l>f?"next":l<f?"prev":"reset";let x=o.virtual&&o.params.virtual.enabled;if(!(x&&r)&&(m&&-w===o.translate||!m&&w===o.translate))return o.updateActiveIndex(l),c.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==c.effect&&o.setTranslate(w),"reset"!==s&&(o.transitionStart(n,s),o.transitionEnd(n,s)),!1;if(c.cssMode){let e=o.isHorizontal(),n=m?w:-w;if(0===t)x&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),x&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[e?"scrollLeft":"scrollTop"]=n})):g[e?"scrollLeft":"scrollTop"]=n,x&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1});else{if(!o.support.smoothScroll)return(0,a.u)({swiper:o,targetPosition:n,side:e?"left"
1:"top"}),!0;g.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}let S=u().isSafari;return x&&!r&&S&&o.isElement&&o.virtual.update(!1,!1,l),o.setTransition(t),o.setTranslate(w),o.updateActiveIndex(l),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,i),o.transitionStart(n,s),0===t?o.transitionEnd(n,s):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,s))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,i){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));let r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);let s=r.grid&&r.params.grid&&r.params.grid.rows>1,o=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o+=r.virtual.slidesBefore;else{let e;if(s){let t=o*r.params.grid.rows;e=r.slides.find(e=>+e.getAttribute("data-swiper-slide-index")===t).column}else e=r.getSlideIndexByData(o);let t=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:n}=r.params,a=r.params.slidesPerView;"auto"===a?a=r.slidesPerViewDynamic():(a=Math.ceil(parseFloat(r.params.slidesPerView,10)),n&&a%2==0&&(a+=1));let l=t-e<a;if(n&&(l=l||e<Math.ceil(a/2)),i&&n&&"auto"!==r.params.slidesPerView&&!s&&(l=!1),l){let i=n?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?r.realIndex:void 0})}if(s){let e=o*r.params.grid.rows;o=r.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e).column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame(()=>{r.slideTo(o,t,n,i)}),r},slideNext:function(e,t,n){void 0===t&&(t=!0);let i=this,{enabled:r,params:s,animating:o}=i;if(!r||i.destroyed)return i;void 0===e&&(e=i.params.speed);let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));let l=i.activeIndex<s.slidesPerGroupSkip?1:a,c=i.virtual&&s.virtual.enabled;if(s.loop){if(o&&!c&&s.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,e,t,n)}),!0}return s.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);let i=this,{params:r,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);let u=i.virtual&&r.virtual.enabled;if(r.loop){if(c&&!u&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let h=d(a?i.translate:-i.translate),p=s.map(e=>d(e)),f=r.freeMode&&r.freeMode.enabled,m=s[p.indexOf(h)-1];if(void 0===m&&(r.cssMode||f)){let e;
1s.forEach((t,n)=>{h>=t&&(e=n)}),void 0!==e&&(m=f?s[e]:s[e>0?e-1:e])}let g=0;if(void 0!==m&&((g=o.indexOf(m))<0&&(g=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(g=Math.max(g=g-i.slidesPerViewDynamic("previous",!0)+1,0))),r.rewind&&i.isBeginning){let r=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,e,t,n)}return r.loop&&0===i.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{i.slideTo(g,e,t,n)}),!0):i.slideTo(g,e,t,n)},slideReset:function(e,t,n){if(void 0===t&&(t=!0),!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){if(void 0===t&&(t=!0),void 0===i&&(i=.5),this.destroyed)return;void 0===e&&(e=this.params.speed);let r=this.activeIndex,s=Math.min(this.params.slidesPerGroupSkip,r),o=s+Math.floor((r-s)/this.params.slidesPerGroup),a=this.rtlTranslate?this.translate:-this.translate;if(a>=this.snapGrid[o]){let e=this.snapGrid[o];a-e>(this.snapGrid[o+1]-e)*i&&(r+=this.params.slidesPerGroup)}else{let e=this.snapGrid[o-1];a-e<=(this.snapGrid[o]-e)*i&&(r-=this.params.slidesPerGroup)}return r=Math.min(r=Math.max(r,0),this.slidesGrid.length-1),this.slideTo(r,e,t,n)},slideToClickedSlide:function(){let e,t=this;if(t.destroyed)return;let{params:n,slidesEl:i}=t,r="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,s=t.getSlideIndexWhenGrid(t.clickedIndex),o=t.isElement?"swiper-slide":`.${n.slideClass}`,l=t.grid&&t.params.grid&&t.params.grid.rows>1;if(n.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),n.centeredSlides?t.slideToLoop(e):s>(l?(t.slides.length-r)/2-(t.params.grid.rows-1):t.slides.length-r)?(t.loopFix(),s=t.getSlideIndex((0,a.e)(i,`${o}[data-swiper-slide-index="${e}"]`)[0]),(0,a.n)(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}},loop:{loopCreate:function(e,t){let n=this,{params:i,slidesEl:r}=n;if(!i.loop||n.virtual&&n.params.virtual.enabled)return;let s=n.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||s)&&(()=>{let e=(0,a.e)(r,`.${i.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();let o=i.slidesPerGroup*(s?i.grid.rows:1),l=n.slides.length%o!=0,c=s&&n.slides.length%i.grid.rows!=0,u=e=>{for(let t=0;t<e;t+=1){let e=n.isElement?(0,a.c)("swiper-slide",[i.slideBlankClass]):(0,a.c)("div",[i.slideClass,i.slideBlankClass]);n.slidesEl.append(e)}};l?i.loopAddBlankSlides?(u(o-n.slides.length%o),n.recalcSlides(),n.updateSlides()):(0,a.v)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):c&&(i.loopAddBlankSlides?(u(i.grid.rows-n.slides.length%i.grid.rows),n.recalcSlides(),n.updateSlides()):(0,a.v)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),(0,a.e)(r,`.${i.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),n.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:i,setTranslate:r,activeSlideIndex:s,initial:o,byController:l,byMousewheel:c}=void 0===e?{}:e,u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");let{slides:d,allowSlidePrev:h,allowSlideNext:p,slidesEl:f,params:m}=u,{centeredSlides:g,initialSlide:v}=m;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&m.virtual.enabled){n&&(m.centeredSlides||0!==u.snapIndex?m.centeredSlides&&u.snapIndex<m.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=h,u.allowSlideNext=p,u.emit("loopFix");return}let b=m.slidesPerView;"auto"===b?b=u.slidesPerViewDynamic():(b=Math.ceil(parseFloat(m.slidesPerView,10)),g&&b%2==0&&(b+=1));let y=m.slidesPerGroupAuto?b:m.slidesPerGroup,w=g?Math.max(y,Math.ceil(b/2)):y;w%y!=0&&(w+=y-w%y),u.loopedSlides=w+=m.loopAdditionalSlides;let x=u.grid&&m.grid&&m.grid.rows>1;d.length<b+w||"cards"===u.params.effect&&d.length<b+2*w?(0,a.v)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):x&&"row"===m.grid.fill&&(0,a.v)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1let S=[],E=[],k=x?Math.ceil(d.length/m.grid.rows):d.length,C=o&&k-v<b&&!g,T=C?v:u.activeIndex;void 0===s?s=u.getSlideIndex(d.find(e=>e.classList.contains(m.slideActiveClass))):T=s;let P="next"===i||!i,M="prev"===i||!i,O=0,L=0,A=(x?d[s].column:s)+(g&&void 0===r?-b/2+.5:0);if(A<w){O=Math.max(w-A,y);for(let e=0;e<w-A;e+=1){let t=e-Math.floor(e/k)*k;if(x){let e=k-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&S.push(t)}else S.push(k-t-1)}}else if(A+b>k-w){L=Math.max(A-(k-2*w),y),C&&(L=Math.max(L,b-k+v+1));for(let e=0;e<L;e+=1){let t=e-Math.floor(e/k)*k;x?d.forEach((e,n)=>{e.column===t&&E.push(n)}):E.push(t)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),"cards"===u.params.effect&&d.length<b+2*w&&(E.includes(s)&&E.splice(E.indexOf(s),1),S.includes(s)&&S.splice(S.indexOf(s),1)),M&&S.forEach(e=>{d[e].swiperLoopMoveDOM=!0,f.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),P&&E.forEach(e=>{d[e].swiperLoopMoveDOM=!0,f.append(d[e]),d[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===m.slidesPerView?u.updateSlides():x&&(S.length>0&&M||E.length>0&&P)&&u.slides.forEach((e,t)=>{u.grid.updateSlide(t,e,u.slides)}),m.watchSlidesProgress&&u.updateSlidesOffset(),n){if(S.length>0&&M){if(void 0===t){let e=u.slidesGrid[T],t=u.slidesGrid[T+O]-e;c?u.setTranslate(u.translate-t):(u.slideTo(T+Math.ceil(O),0,!1,!0),r&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else if(r){let e=x?S.length/m.grid.rows:S.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(E.length>0&&P)if(void 0===t){let e=u.slidesGrid[T],t=u.slidesGrid[T-L]-e;c?u.setTranslate(u.translate-t):(u.slideTo(T-L,0,!1,!0),r&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else{let e=x?E.length/m.grid.rows:E.length;u.slideTo(u.activeIndex-e,0,!1,!0)}}if(u.allowSlidePrev=h,u.allowSlideNext=p,u.controller&&u.controller.control&&!l){let e={slideRealIndex:t,direction:i,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===m.slidesPerView&&n})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...e,slideTo:u.controller.control.params.slidesPerView===m.slidesPerView&&n})}u.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||!t||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let n=[];this.slides.forEach(e=>{n[void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),n.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=b.bind(this),this.onTouchMove=y.bind(this),this.onTouchEnd=w.bind(this),this.onDocumentTouchStart=C.bind(this),e.cssMode&&(this.onScroll=E.bind(this)),this.onClick=S.bind(this),this.onLoad=k.bind(this),T(this,"on")},detachEvents:function(){T(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:n,params:i,el:r}=e,s=i.breakpoints;if(!s||s&&0===Object.keys(s).length)return;let l=(0,o.g)(),c="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,u=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:l.querySelector(i.breakpointsBase),d=e.getBreakp
1oint(s,c,u);if(!d||e.currentBreakpoint===d)return;let h=(d in s?s[d]:void 0)||e.originalParams,p=P(e,i),f=P(e,h),m=e.params.grabCursor,g=h.grabCursor,v=i.enabled;p&&!f?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&f&&(r.classList.add(`${i.containerModifierClass}grid`),(h.grid.fill&&"column"===h.grid.fill||!h.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!g?e.unsetGrabCursor():!m&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===h[t])return;let n=i[t]&&i[t].enabled,r=h[t]&&h[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()});let b=h.direction&&h.direction!==i.direction,y=i.loop&&(h.slidesPerView!==i.slidesPerView||b),w=i.loop;b&&n&&e.changeDirection(),(0,a.x)(e.params,h);let x=e.params.enabled,S=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!x?e.disable():!v&&x&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",h),n&&(y?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!w&&S?(e.loopCreate(t),e.updateSlides()):w&&!S&&e.loopDestroy()),e.emit("breakpoint",h)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let i=!1,r=(0,o.a)(),s="window"===t?r.innerHeight:n.clientHeight,a=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:s*parseFloat(e.substr(1)),point:e}:{value:e,point:e});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<a.length;e+=1){let{point:s,value:o}=a[e];"window"===t?r.matchMedia(`(min-width: ${o}px)`).matches&&(i=s):o<=n.clientWidth&&(i=s)}return i||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:n}=t;if(n){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*n;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:n,el:i,device:r}=this,s=function(e,t){let n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...s),i.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},L={};class A{constructor(){let e,t;for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=(0,a.x)({},t),e&&!t.el&&(t.el=e);let s=(0,o.g)();if(t.el&&"string"==typeof t.el&&s.querySelectorAll(t.el).length>1){let e=[];return s.querySelectorAll(t.el).forEach(n=>{let i=(0,a.x)({},t,{el:n});e.push(new A(i))}),e}let d=this;d.__swiper__=!0,d.support=l(),d.device=c({userAgent:t.userAgent}),d.browser=u(),d.eventsListeners={},d.eventsAnyListeners=[],d.modules=[...d.__modules__],t.modules&&Array.isArray(t.modules)&&d.modules.push(...t.modules);let h={};d.modules.forEach(e=>{e({params:t,swiper:d,extendParams:function(e,t){return function(n){void 0===n&&(n={});let i=Object.keys(n)[0],r=n[i];return"object"!=typeof r||null===r?void(0,a.x)(t,n):(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in r)?void("object"==typeof e[i]&&!("enabled"in e[i])&&(e[i].enabled=!0),!e[i]&&(e[i]={enabled:!1}),(0,a.x)(t,n)):void(0,a.x)(t,n)}}(t,h),on:d.on.bind(d),once:d.once.bind(d),off:d.off.bind(d),emit:d.emit.bind(d)})});let p=(0,a.x)({},M,h);return d.params=(0,a.x)({},p,L,t),d.originalParams=(0,a.x)({},d.params),d.passedParams=(0,a.x)({}
1,t),d.params&&d.params.on&&Object.keys(d.params.on).forEach(e=>{d.on(e,d.params.on[e])}),d.params&&d.params.onAny&&d.onAny(d.params.onAny),Object.assign(d,{enabled:d.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===d.params.direction,isVertical:()=>"vertical"===d.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:d.params.allowSlideNext,allowSlidePrev:d.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:d.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:d.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),d.emit("_swiper"),d.params.init&&d.init(),d}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:n}=this,i=(0,a.e)(t,`.${n.slideClass}, swiper-slide`),r=(0,a.i)(i[0]);return(0,a.i)(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>+t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,a.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let n=this.minTranslate(),i=(this.maxTranslate()-n)*e+n;this.translateTo(i,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(n=>{let i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let{params:n,slides:i,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this,l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[a]?Math.ceil(i[a].swiperSlideSize):0;for(let n=a+1;n<i.length;n+=1)i[n]&&!e&&(t+=Math.ceil(i[n].swiperSlideSize),l+=1,t>o&&(e=!0));for(let n=a-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=a+1;e<i.length;e+=1)(t?r[e]+s[e]-r[a]<o:r[e]-r[a]<o)&&(l+=1);else for(let e=a-1;e>=0;e-=1)r[a]-r[e]<o&&(l+=1);return l}update(){let e,t=this;if(!t||t.destroyed)return;let{snapGrid:n,params:i}=t;function r(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(i.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&p(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)r(),i.autoHeight&&t.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&t.isEnd&&!i.centeredSlides){let n=t.virtual&&i.virtual.enabled?t.virtual.slides:t.slides;
1e=t.slideTo(n.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||r()}i.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${n}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):(0,a.e)(n,i())[0];return!r&&t.params.createElements&&(r=(0,a.c)("div",t.params.wrapperClass),n.append(r),(0,a.e)(n,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:n,wrapperEl:r,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===(0,a.q)(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===(0,a.q)(n,"direction")),wrongRTL:"-webkit-box"===(0,a.q)(r,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?p(t,e):e.addEventListener("load",e=>{p(t,e.target)})}),m(t),t.initialized=!0,m(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let n=this,{params:i,el:r,wrapperEl:s,slides:o}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),s&&s.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),(0,a.y)(n)),n.destroyed=!0),null}static extendDefaults(e){(0,a.x)(L,e)}static get extendedDefaults(){return L}static get defaults(){return M}static installModule(e){A.prototype.__modules__||(A.prototype.__modules__=[]);let t=A.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>A.installModule(e)):A.installModule(e),A}}Object.keys(O).forEach(e=>{Object.keys(O[e]).forEach(t=>{A.prototype[t]=O[e][t]})}),A.use([function(e){let{swiper:t,on:n,emit:i}=e,r=(0,o.a)(),s=null,a=null,l=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},c=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&void 0!==r.ResizeObserver)return void(t&&!t.de
1stroyed&&t.initialized&&(s=new ResizeObserver(e=>{a=r.requestAnimationFrame(()=>{let{width:n,height:i}=t,r=n,s=i;e.forEach(e=>{let{contentBoxSize:n,contentRect:i,target:o}=e;o&&o!==t.el||(r=i?i.width:(n[0]||n).inlineSize,s=i?i.height:(n[0]||n).blockSize)}),(r!==n||s!==i)&&l()})})).observe(t.el));r.addEventListener("resize",l),r.addEventListener("orientationchange",c)}),n("destroy",()=>{a&&r.cancelAnimationFrame(a),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null),r.removeEventListener("resize",l),r.removeEventListener("orientationchange",c)})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e,s=[],l=(0,o.a)(),c=function(e,n){void 0===n&&(n={});let i=new(l.MutationObserver||l.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);let n=function(){r("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(n):l.setTimeout(n,0)});i.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:t.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),s.push(i)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(t.params.observer){if(t.params.observeParents){let e=(0,a.b)(t.hostEl);for(let t=0;t<e.length;t+=1)c(e[t])}c(t.hostEl,{childList:t.params.observeSlideChildren}),c(t.wrapperEl,{attributes:!1})}}),i("destroy",()=>{s.forEach(e=>{e.disconnect()}),s.splice(0,s.length)})}])},53341:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},56522:(e,t,n)=>{"use strict";n.d(t,{dc:()=>s,VG:()=>o});var i=n(95502);let r=[],s=!1;function o(e,t,n,o){let a;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):a=t;let l=(0,i.C)(a),c=o?-1:1;(function e(i,a,u){let d=i&&"object"==typeof i?i:{};if("string"==typeof d.type){let e="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0;Object.defineProperty(h,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return h;function h(){var d;let h,p,f,m=r;if((!t||l(i,a,u[u.length-1]||void 0))&&(m=Array.isArray(d=n(i,u))?d:"number"==typeof d?[!0,d]:null==d?r:[d])[0]===s)return m;if("children"in i&&i.children&&i.children&&"skip"!==m[0])for(p=(o?i.children.length:-1)+c,f=u.concat(i);p>-1&&p<i.children.length;){if((h=e(i.children[p],p,f)())[0]===s)return h;p="number"==typeof h[1]?h[1]:p+c}return m}})(e,void 0,[])()}},56713:function(e,t,n){n(21001).defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xba",week:{dow:1,doy:4}})},63758:(e,t,n)=>{"use strict";function i(){}n.d(t,{ok:()=>i})},64054:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return o},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return a}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,
1configurable:!0});class i{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let r="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return r?new r:new i}function o(e){return r?r.bind(e):i.bind(e)}function a(){return r?r.snapshot():function(e,...t){return e(...t)}}},65380:(e,t,n)=>{"use strict";n.d(t,{Jq:()=>c,Ij:()=>u,Vx:()=>o,dK:()=>l});var i=n(37310),r=n(31397);function s(e,t,n,i){return e.params.createElements&&Object.keys(i).forEach(s=>{if(!n[s]&&!0===n.auto){let o=(0,r.e)(e.el,`.${i[s]}`)[0];o||((o=(0,r.c)("div",i[s])).className=i[s],e.el.append(o)),n[s]=o,t[s]=o}}),n}function o(e){let{swiper:t,extendParams:n,on:i,emit:o}=e;function a(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e)||t.hostEl.querySelector(e))?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n)?e:n}function l(e,n){let i=t.params.navigation;(e=(0,r.m)(e)).forEach(e=>{e&&(e.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))})}function c(){let{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop){l(n,!1),l(e,!1);return}l(n,t.isBeginning&&!t.params.rewind),l(e,t.isEnd&&!t.params.rewind)}function u(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),o("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),o("navigationNext"))}function h(){let e=t.params.navigation;if(t.params.navigation=s(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(e.nextEl||e.prevEl))return;let n=a(e.nextEl),i=a(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:i}),n=(0,r.m)(n),i=(0,r.m)(i);let o=(n,i)=>{n&&n.addEventListener("click","next"===i?d:u),!t.enabled&&n&&n.classList.add(...e.lockClass.split(" "))};n.forEach(e=>o(e,"next")),i.forEach(e=>o(e,"prev"))}function p(){let{nextEl:e,prevEl:n}=t.navigation;e=(0,r.m)(e),n=(0,r.m)(n);let i=(e,n)=>{e.removeEventListener("click","next"===n?d:u),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>
1i(e,"next")),n.forEach(e=>i(e,"prev"))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},i("init",()=>{!1===t.params.navigation.enabled?f():(h(),c())}),i("toEdge fromEdge lock unlock",()=>{c()}),i("destroy",()=>{p()}),i("enable disable",()=>{let{nextEl:e,prevEl:n}=t.navigation;if(e=(0,r.m)(e),n=(0,r.m)(n),t.enabled)return void c();[...e,...n].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),i("click",(e,n)=>{let{nextEl:i,prevEl:s}=t.navigation;i=(0,r.m)(i),s=(0,r.m)(s);let a=n.target,l=s.includes(a)||i.includes(a);if(t.isElement&&!l){let e=n.path||n.composedPath&&n.composedPath();e&&(l=e.find(e=>i.includes(e)||s.includes(e)))}if(t.params.navigation.hideOnClick&&!l){let e;if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):s.length&&(e=s[0].classList.contains(t.params.navigation.hiddenClass)),!0===e?o("navigationShow"):o("navigationHide"),[...i,...s].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});let f=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),h(),c()},disable:f,update:c,init:h,destroy:p})}function a(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function l(e){let t,{swiper:n,extendParams:i,on:o,emit:l}=e,c="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${c}-bullet`,bulletActiveClass:`${c}-bullet-active`,modifierClass:`${c}-`,currentClass:`${c}-current`,totalClass:`${c}-total`,hiddenClass:`${c}-hidden`,progressbarFillClass:`${c}-progressbar-fill`,progressbarOppositeClass:`${c}-progressbar-opposite`,clickableClass:`${c}-clickable`,lockClass:`${c}-lock`,horizontalClass:`${c}-horizontal`,verticalClass:`${c}-vertical`,paginationDisabledClass:`${c}-disabled`}}),n.pagination={el:null,bullets:[]};let u=0;function d(){return!n.params.pagination.el||!n.pagination.el||Array.isArray(n.pagination.el)&&0===n.pagination.el.length}function h(e,t){let{bulletActiveClass:i}=n.params.pagination;e&&(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&(e.classList.add(`${i}-${t}`),(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&e.classList.add(`${i}-${t}-${t}`))}function p(e){let t=e.target.closest(a(n.params.pagination.bulletClass));if(!t)return;e.preventDefault();let i=(0,r.i)(t)*n.params.slidesPerGroup;if(n.params.loop){var s,o,l;if(n.realIndex===i)return;let e=(s=n.realIndex,o=i,(s%=l=n.slides.length,(o%=l)===s+1)?"next":o===s-1?"previous":void 0);"next"===e?n.slideNext():"previous"===e?n.slidePrev():n.slideToLoop(i)}else n.slideTo(i)}function f(){let e,i,s=n.rtl,o=n.params.pagination;if(d())return;let c=n.pagination.el;c=(0,r.m)(c);let p=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,f=n.params.loop?Math.ceil(p/n.params.slidesPerGroup):n.snapGrid.length;if(n.params.loop?(i=n.previousRealIndex||0,e=n.params.slidesPerGroup>1?Math.floor(n.realIndex/n.params.slidesPerGroup):n.realIndex):void 0!==n.snapIndex?(e=n.snapIndex,i=n.previousSnapIndex):(i=n.previousIndex||0,e=n.activeIndex||0),"bullets"===o.type&&n.pagination.bullets&&n.pagination.bullets.length>0){let a,l,d,p=n.pagination.bullets;if(o.dynamicBullets&&(t=(0,r.h)(p[0],n.isHorizontal()?"width":"height",!0),c.forEach(e=>{e.style[n.isHorizontal()?"width":"height"]=`${t*(o.dynamicMainBullets+4)}px`}),o.dynamicMainBullets>1&&void 0!==i&&((u+=e-(i||0))>o.dynamicMainBullets-1?u=o.dynamicMainBullets-1:u<0&&(u=0)),d=((l=(a=Math.max(e-u,0))+(Math.min(p.length,o.dynamicMainBullets)-1))+a)/2),p.forEach(e
1=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${o.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),c.length>1)p.forEach(t=>{let i=(0,r.i)(t);i===e?t.classList.add(...o.bulletActiveClass.split(" ")):n.isElement&&t.setAttribute("part","bullet"),o.dynamicBullets&&(i>=a&&i<=l&&t.classList.add(...`${o.bulletActiveClass}-main`.split(" ")),i===a&&h(t,"prev"),i===l&&h(t,"next"))});else{let t=p[e];if(t&&t.classList.add(...o.bulletActiveClass.split(" ")),n.isElement&&p.forEach((t,n)=>{t.setAttribute("part",n===e?"bullet-active":"bullet")}),o.dynamicBullets){let e=p[a],t=p[l];for(let e=a;e<=l;e+=1)p[e]&&p[e].classList.add(...`${o.bulletActiveClass}-main`.split(" "));h(e,"prev"),h(t,"next")}}if(o.dynamicBullets){let e=Math.min(p.length,o.dynamicMainBullets+4),i=(t*e-t)/2-d*t,r=s?"right":"left";p.forEach(e=>{e.style[n.isHorizontal()?r:"top"]=`${i}px`})}}c.forEach((t,i)=>{if("fraction"===o.type&&(t.querySelectorAll(a(o.currentClass)).forEach(t=>{t.textContent=o.formatFractionCurrent(e+1)}),t.querySelectorAll(a(o.totalClass)).forEach(e=>{e.textContent=o.formatFractionTotal(f)})),"progressbar"===o.type){let i;i=o.progressbarOpposite?n.isHorizontal()?"vertical":"horizontal":n.isHorizontal()?"horizontal":"vertical";let r=(e+1)/f,s=1,l=1;"horizontal"===i?s=r:l=r,t.querySelectorAll(a(o.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${l})`,e.style.transitionDuration=`${n.params.speed}ms`})}"custom"===o.type&&o.renderCustom?((0,r.s)(t,o.renderCustom(n,e+1,f)),0===i&&l("paginationRender",t)):(0===i&&l("paginationRender",t),l("paginationUpdate",t)),n.params.watchOverflow&&n.enabled&&t.classList[n.isLocked?"add":"remove"](o.lockClass)})}function m(){let e=n.params.pagination;if(d())return;let t=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.grid&&n.params.grid.rows>1?n.slides.length/Math.ceil(n.params.grid.rows):n.slides.length,i=n.pagination.el;i=(0,r.m)(i);let s="";if("bullets"===e.type){let i=n.params.loop?Math.ceil(t/n.params.slidesPerGroup):n.snapGrid.length;n.params.freeMode&&n.params.freeMode.enabled&&i>t&&(i=t);for(let t=0;t<i;t+=1)e.renderBullet?s+=e.renderBullet.call(n,t,e.bulletClass):s+=`<${e.bulletElement} ${n.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(n,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(n,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),n.pagination.bullets=[],i.forEach(t=>{"custom"!==e.type&&(0,r.s)(t,s||""),"bullets"===e.type&&n.pagination.bullets.push(...t.querySelectorAll(a(e.bulletClass)))}),"custom"!==e.type&&l("paginationRender",i[0])}function g(){let e;n.params.pagination=s(n,n.originalParams.pagination,n.params.pagination,{el:"swiper-pagination"});let t=n.params.pagination;t.el&&("string"==typeof t.el&&n.isElement&&(e=n.el.querySelector(t.el)),e||"string"!=typeof t.el||(e=[...document.querySelectorAll(t.el)]),e||(e=t.el),e&&0!==e.length&&(n.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&e.length>1&&(e=[...n.el.querySelectorAll(t.el)]).length>1&&(e=e.find(e=>(0,r.b)(e,".swiper")[0]===n.el)),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(n.pagination,{el:e}),(e=(0,r.m)(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(n.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(`${t.modifierClass}${t.type}-dynamic`),u=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",p),n.enabled||e.classList.add(t.lockClass)})))}function v(){let e=n.params.pagination;if(d())return;let t=n.pagination.el;
1t&&(t=(0,r.m)(t)).forEach(t=>{t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(n.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(t.classList.remove(...(e.clickableClass||"").split(" ")),t.removeEventListener("click",p))}),n.pagination.bullets&&n.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}o("changeDirection",()=>{if(!n.pagination||!n.pagination.el)return;let e=n.params.pagination,{el:t}=n.pagination;(t=(0,r.m)(t)).forEach(t=>{t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(n.isHorizontal()?e.horizontalClass:e.verticalClass)})}),o("init",()=>{!1===n.params.pagination.enabled?b():(g(),m(),f())}),o("activeIndexChange",()=>{void 0===n.snapIndex&&f()}),o("snapIndexChange",()=>{f()}),o("snapGridLengthChange",()=>{m(),f()}),o("destroy",()=>{v()}),o("enable disable",()=>{let{el:e}=n.pagination;e&&(e=(0,r.m)(e)).forEach(e=>e.classList[n.enabled?"remove":"add"](n.params.pagination.lockClass))}),o("lock unlock",()=>{f()}),o("click",(e,t)=>{let i=t.target,s=(0,r.m)(n.pagination.el);if(n.params.pagination.el&&n.params.pagination.hideOnClick&&s&&s.length>0&&!i.classList.contains(n.params.pagination.bulletClass)){if(n.navigation&&(n.navigation.nextEl&&i===n.navigation.nextEl||n.navigation.prevEl&&i===n.navigation.prevEl))return;!0===s[0].classList.contains(n.params.pagination.hiddenClass)?l("paginationShow"):l("paginationHide"),s.forEach(e=>e.classList.toggle(n.params.pagination.hiddenClass))}});let b=()=>{n.el.classList.add(n.params.pagination.paginationDisabledClass);let{el:e}=n.pagination;e&&(e=(0,r.m)(e)).forEach(e=>e.classList.add(n.params.pagination.paginationDisabledClass)),v()};Object.assign(n.pagination,{enable:()=>{n.el.classList.remove(n.params.pagination.paginationDisabledClass);let{el:e}=n.pagination;e&&(e=(0,r.m)(e)).forEach(e=>e.classList.remove(n.params.pagination.paginationDisabledClass)),g(),m(),f()},disable:b,render:m,update:f,init:g,destroy:v})}function c(e){let t,n,{swiper:s,extendParams:o,on:l}=e;o({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),s.a11y={clicked:!1};let c=null,u=new Date().getTime();function d(e){let t=c;0!==t.length&&(0,r.s)(t,e)}function h(e){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function p(e){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function f(e,t){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("role",t)})}function m(e,t){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function g(e,t){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function v(e){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function b(e){(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function y(e){if(13!==e.keyCode&&32!==e.keyCode)return;let t=s.params.a11y,n=e.target;if(!(s.pagination&&s.pagination.el&&(n===s.pagination.el||s.pagination.el.contains(e.target)))||e.target.matches(a(s.params.pagination.bulletClass))){if(s.navigation&&s.navigation.prevEl&&s.navigation.nextEl){let e=(0,r.m)(s.navigation.prevEl);(0,r.m)(s.navigation.nextEl).includes(n)&&(s.isEnd&&!s.params.loop||s.slideNext(),s.isEnd?d(t.lastSlideMessage):d(t.nextSlideMessage)),e.includes(n)&&(s.isBeginning&&!s.params.loop||s.slidePrev(),s.isBeginning?d(t.firstSlideMessage):d(t.prevSlideMessage))}s.pagination&&n.matches(a(s.params.pagination.bulletClass))&&n.click()}}function w(){return s.pagination&&s.pagination.bullets&&s.pagination.bullets.length}function x(){return w()&&s.params.pagination.clickable}let S=(e,t,n)=>{var i;h(e),"BUTTON"!==e.tagName&&(f(e,"button"),e.addEventListener("keydown",y)),g(e,n),i=e,(i=(0,r.m)(i)).forEach(e=>{e.setAttribute("aria-controls",t)})},E=e=>{n&&n!==e.target&&!n.contains(e.target)&&(t=!0),s.a11y.clicked=!0},k=()=>{t=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{s.destroyed||(s.a11y.clicked=!1)})})},C=e=>{u=new Date().getTime()},T=e=>{if(s.a11y.clicked||!s.params.a11y.scrollOnFocus||new Date().getTime()-u<100)return;let i=e.target.closest(`.${s.params.slideClass}, swiper-slide`);if(!i||!s.slides.includes(i))return;n=i;let r=s.slides.indexOf(i)===s.activeIndex,o=s.params.watchSlidesProgress&&s.visibleSlides&&s.visibleSlides.includes(i);!r&&!o&&(e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(s.isHorizontal()?s.el.scrollLeft=0:s.el.scrollTop=0,requestAnimationFrame(()=>
1{t||(s.params.loop?s.slideToLoop(s.getSlideIndexWhenGrid(parseInt(i.getAttribute("data-swiper-slide-index"))),0):s.slideTo(s.getSlideIndexWhenGrid(s.slides.indexOf(i)),0),t=!1)})))},P=()=>{let e=s.params.a11y;e.itemRoleDescriptionMessage&&m(s.slides,e.itemRoleDescriptionMessage),e.slideRole&&f(s.slides,e.slideRole);let t=s.slides.length;e.slideLabelMessage&&s.slides.forEach((n,i)=>{let r=s.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):i;g(n,e.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,t))})};l("beforeInit",()=>{(c=(0,r.c)("span",s.params.a11y.notificationClass)).setAttribute("aria-live","assertive"),c.setAttribute("aria-atomic","true")}),l("afterInit",()=>{s.params.a11y.enabled&&(()=>{var e,t;let n=s.params.a11y;s.el.append(c);let o=s.el;n.containerRoleDescriptionMessage&&m(o,n.containerRoleDescriptionMessage),n.containerMessage&&g(o,n.containerMessage),n.containerRole&&f(o,n.containerRole);let a=s.wrapperEl,l=n.id||a.getAttribute("id")||`swiper-wrapper-${"x".repeat(16).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}`,u=s.params.autoplay&&s.params.autoplay.enabled?"off":"polite";e=a,(e=(0,r.m)(e)).forEach(e=>{e.setAttribute("id",l)}),t=a,(t=(0,r.m)(t)).forEach(e=>{e.setAttribute("aria-live",u)}),P();let{nextEl:d,prevEl:h}=s.navigation?s.navigation:{};d=(0,r.m)(d),h=(0,r.m)(h),d&&d.forEach(e=>S(e,l,n.nextSlideMessage)),h&&h.forEach(e=>S(e,l,n.prevSlideMessage)),x()&&(0,r.m)(s.pagination.el).forEach(e=>{e.addEventListener("keydown",y)}),(0,i.g)().addEventListener("visibilitychange",C),s.el.addEventListener("focus",T,!0),s.el.addEventListener("focus",T,!0),s.el.addEventListener("pointerdown",E,!0),s.el.addEventListener("pointerup",k,!0)})()}),l("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{s.params.a11y.enabled&&P()}),l("fromEdge toEdge afterInit lock unlock",()=>{s.params.a11y.enabled&&function(){if(s.params.loop||s.params.rewind||!s.navigation)return;let{nextEl:e,prevEl:t}=s.navigation;t&&(s.isBeginning?(v(t),p(t)):(b(t),h(t))),e&&(s.isEnd?(v(e),p(e)):(b(e),h(e)))}()}),l("paginationUpdate",()=>{if(s.params.a11y.enabled){let e=s.params.a11y;w()&&s.pagination.bullets.forEach(t=>{s.params.pagination.clickable&&(h(t),s.params.pagination.renderBullet||(f(t,"button"),g(t,e.paginationBulletMessage.replace(/\{\{index\}\}/,(0,r.i)(t)+1)))),t.matches(a(s.params.pagination.bulletActiveClass))?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current")})}}),l("destroy",()=>{s.params.a11y.enabled&&function(){c&&c.remove();let{nextEl:e,prevEl:t}=s.navigation?s.navigation:{};e=(0,r.m)(e),t=(0,r.m)(t),e&&e.forEach(e=>e.removeEventListener("keydown",y)),t&&t.forEach(e=>e.removeEventListener("keydown",y)),x()&&(0,r.m)(s.pagination.el).forEach(e=>{e.removeEventListener("keydown",y)}),(0,i.g)().removeEventListener("visibilitychange",C),s.el&&"string"!=typeof s.el&&(s.el.removeEventListener("focus",T,!0),s.el.removeEventListener("pointerdown",E,!0),s.el.removeEventListener("pointerup",k,!0))}()})}function u(e){let t,n,r,s,o,a,l,c,u,d,{swiper:h,extendParams:p,on:f,emit:m,params:g}=e;h.autoplay={running:!1,paused:!1,timeLeft:0},p({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let v=g&&g.autoplay?g.autoplay.delay:3e3,b=g&&g.autoplay?g.autoplay.delay:3e3,y=new Date().getTime();function w(e){h&&!h.destroyed&&h.wrapperEl&&e.target===h.wrapperEl&&(h.wrapperEl.removeEventListener("transitionend",w),d||e.detail&&e.detail.bySwiperTouchMove||T())}let x=()=>{if(h.destroyed||!h.autoplay.running)return;h.autoplay.paused?s=!0:s&&(b=r,s=!1);let e=h.autoplay.paused?r:y+b-new Date().getTime();h.autoplay.timeLeft=e,m("autoplayTimeLeft",e,e/v),n=requestAnimationFrame(()=>{x()})},S=e=>{if(h.destroyed||!h.autoplay.running)return;cancelAnimationFrame(n),x();let i=void 0===e?h.params.autoplay.delay:e;v=h.params.autoplay.delay,b=h.params.autoplay.delay;let s=(()=>{let e;if(e=h.virtual&&h.params.virtual.enabled?h.slides.find(e=>e.classList.contains("swiper-slide-active")):h.slides[h.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),
110)})();!Number.isNaN(s)&&s>0&&void 0===e&&(i=s,v=s,b=s),r=i;let o=h.params.speed,a=()=>{h&&!h.destroyed&&(h.params.autoplay.reverseDirection?!h.isBeginning||h.params.loop||h.params.rewind?(h.slidePrev(o,!0,!0),m("autoplay")):h.params.autoplay.stopOnLastSlide||(h.slideTo(h.slides.length-1,o,!0,!0),m("autoplay")):!h.isEnd||h.params.loop||h.params.rewind?(h.slideNext(o,!0,!0),m("autoplay")):h.params.autoplay.stopOnLastSlide||(h.slideTo(0,o,!0,!0),m("autoplay")),h.params.cssMode&&(y=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return i>0?(clearTimeout(t),t=setTimeout(()=>{a()},i)):requestAnimationFrame(()=>{a()}),i},E=()=>{y=new Date().getTime(),h.autoplay.running=!0,S(),m("autoplayStart")},k=()=>{h.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),m("autoplayStop")},C=(e,n)=>{if(h.destroyed||!h.autoplay.running)return;clearTimeout(t),e||(u=!0);let i=()=>{m("autoplayPause"),h.params.autoplay.waitForTransition?h.wrapperEl.addEventListener("transitionend",w):T()};if(h.autoplay.paused=!0,n){c&&(r=h.params.autoplay.delay),c=!1,i();return}r=(r||h.params.autoplay.delay)-(new Date().getTime()-y),h.isEnd&&r<0&&!h.params.loop||(r<0&&(r=0),i())},T=()=>{h.isEnd&&r<0&&!h.params.loop||h.destroyed||!h.autoplay.running||(y=new Date().getTime(),u?(u=!1,S(r)):S(),h.autoplay.paused=!1,m("autoplayResume"))},P=()=>{if(h.destroyed||!h.autoplay.running)return;let e=(0,i.g)();"hidden"===e.visibilityState&&(u=!0,C(!0)),"visible"===e.visibilityState&&T()},M=e=>{"mouse"===e.pointerType&&(u=!0,d=!0,h.animating||h.autoplay.paused||C(!0))},O=e=>{"mouse"===e.pointerType&&(d=!1,h.autoplay.paused&&T())};f("init",()=>{h.params.autoplay.enabled&&(h.params.autoplay.pauseOnMouseEnter&&(h.el.addEventListener("pointerenter",M),h.el.addEventListener("pointerleave",O)),(0,i.g)().addEventListener("visibilitychange",P),E())}),f("destroy",()=>{h.el&&"string"!=typeof h.el&&(h.el.removeEventListener("pointerenter",M),h.el.removeEventListener("pointerleave",O)),(0,i.g)().removeEventListener("visibilitychange",P),h.autoplay.running&&k()}),f("_freeModeStaticRelease",()=>{(a||u)&&T()}),f("_freeModeNoMomentumRelease",()=>{h.params.autoplay.disableOnInteraction?k():C(!0,!0)}),f("beforeTransitionStart",(e,t,n)=>{!h.destroyed&&h.autoplay.running&&(n||!h.params.autoplay.disableOnInteraction?C(!0,!0):k())}),f("sliderFirstMove",()=>{if(!h.destroyed&&h.autoplay.running){if(h.params.autoplay.disableOnInteraction)return void k();o=!0,a=!1,u=!1,l=setTimeout(()=>{u=!0,a=!0,C(!0)},200)}}),f("touchEnd",()=>{if(!h.destroyed&&h.autoplay.running&&o){if(clearTimeout(l),clearTimeout(t),h.params.autoplay.disableOnInteraction){a=!1,o=!1;return}a&&h.params.cssMode&&T(),a=!1,o=!1}}),f("slideChange",()=>{!h.destroyed&&h.autoplay.running&&(c=!0)}),Object.assign(h.autoplay,{start:E,stop:k,pause:C,resume:T})}},67909:(e,t,n)=>{"use strict";n.d(t,{default:()=>r.a});var i=n(86278),r=n.n(i)},68381:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case u:case d:case s:case a:case o:case p:return e;default:switch(e=e&&e.$$typeof){case c:case h:case g:case m:case l:return e;default:return t}}case r:return t}}}function S(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=i,t.ForwardRef=h,t.Fragment=s,t.Lazy=g,t.Memo=m,t.Portal=r,t.Profiler=a,t.StrictMode=o,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||x(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return x(e)===h},t.isFragment=function(e){return x(e)===s},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===r},t.isProfiler=function(e){return x(e)===a},t.isStrictMode=function(e){return x(e)===o},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===d||e===a||e===o||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===v)},t.typeOf=x},70011:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,i=Object.defineProperty,r=Object.getOwnPropertyDescriptor,s=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var i,r=t.call(e,"constructor"),s=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!s)return!1;for(i in e);return void 0===i||t.call(e,i)},a=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(r)return r(e,n).value}return e[n]};e.exports=function e(){var t,n,i,r,c,u,d=arguments[0],h=1,p=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<p;++h)if(t=arguments[h],null!=t)for(n in t)i=l(d,n),d!==(r=l(t,n))&&(f&&r&&(o(r)||(c=s(r)))?(c?(c=!1,u=i&&s(i)?i:[]):u=i&&o(i)?i:{},a(d,{name:n,newValue:e(f,u,r)})):void 0!==r&&a(d,{name:n,newValue:r}));return d}}
1,75164:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let i={}.hasOwnProperty;function r(e,t){let n=t||{};function r(t,...n){let s=r.invalid,o=r.handlers;if(t&&i.call(t,e)){let n=String(t[e]);s=i.call(o,n)?o[n]:r.unknown}if(s)return s.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}},76076:(e,t,n)=>{"use strict";var i=n(37849),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return i.isMemo(e)?o:a[e.$$typeof]||r}a[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[i.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,i){if("string"!=typeof n){if(f){var r=p(n);r&&r!==f&&e(t,r,i)}var o=u(n);d&&(o=o.concat(d(n)));for(var a=l(t),m=l(n),g=0;g<o.length;++g){var v=o[g];if(!s[v]&&!(i&&i[v])&&!(m&&m[v])&&!(a&&a[v])){var b=h(n,v);try{c(t,v,b)}catch(e){}}}}return t}},85999:(e,t,n)=>{"use strict";n.d(t,{RC:()=>b,qr:()=>y});var i=n(12115),r=n(45574),s=n(31397);let o=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function a(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function l(e,t){let n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>n.indexOf(e)).forEach(n=>{void 0===e[n]?e[n]=t[n]:a(t[n])&&a(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:l(e[n],t[n]):e[n]=t[n]})}function c(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function u(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function d(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function h(e){void 0===e&&(e="");let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),n=[];return t.forEach(e=>{0>n.indexOf(e)&&n.push(e)}),n.join(" ")}function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function f(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function m(e,t){return"undefined"==typeof window?(0,i.useEffect)(e,t):(0,i.useLayoutEffect)(e,t)}let g=(0,i.createContext)(null),v=(0,i.createContext)(null),b=(0,i.forwardRef)(function(e,t){var n;let{className:g,tag:b="div",wrapperTag:y="div",children:w,onSwiper:x,...S}=void 0===e?{}:e,E=!1,[k,C]=(0,i.useState)("swiper"),[T,P]=(0,i.useState)(null),[M,O]=(0,i.useState)(!1),L=(0,i.useRef)(!1),A=(0,i.useRef)(null),I=(0,i.useRef)(null),_=(0,i.useRef)(null),z=(0,i.useRef)(null),R=(0,i.useRef)(null),D=(0,i.useRef)(null),F=(0,i.useRef)(null),N=(0,i.useRef)(null),{params:j,passedParams:B,rest:H,events:$}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);let n={on:{}},i={},s={};l(n,r.d),n._emitClasses=!0,n.init=!1;let c={},u=o.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({}
1,e)).forEach(r=>{void 0!==e[r]&&(u.indexOf(r)>=0?a(e[r])?(n[r]={},s[r]={},l(n[r],e[r]),l(s[r],e[r])):(n[r]=e[r],s[r]=e[r]):0===r.search(/on[A-Z]/)&&"function"==typeof e[r]?t?i[`${r[2].toLowerCase()}${r.substr(3)}`]=e[r]:n.on[`${r[2].toLowerCase()}${r.substr(3)}`]=e[r]:c[r]=e[r])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]}),{params:n,passedParams:s,rest:c,events:i}}(S),{slides:q,slots:V}=function(e){let t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return i.Children.toArray(e).forEach(e=>{if(f(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){let r=function e(t){let n=[];return i.Children.toArray(t).forEach(t=>{f(t)?n.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>n.push(e))}),n}(e.props.children);r.length>0?r.forEach(e=>t.push(e)):n["container-end"].push(e)}else n["container-end"].push(e)}),{slides:t,slots:n}}(w),W=()=>{O(!M)};Object.assign(j.on,{_containerClasses(e,t){C(t)}});let Y=()=>{Object.assign(j.on,$),E=!0;let e={...j};if(delete e.wrapperClass,I.current=new r.S(e),I.current.virtual&&I.current.params.virtual.enabled){I.current.virtual.slides=q;let e={cache:!1,slides:q,renderExternal:P,renderExternalUpdate:!1};l(I.current.params.virtual,e),l(I.current.originalParams.virtual,e)}};return A.current||Y(),I.current&&I.current.on("_beforeBreakpoint",W),(0,i.useEffect)(()=>()=>{I.current&&I.current.off("_beforeBreakpoint",W)}),(0,i.useEffect)(()=>{!L.current&&I.current&&(I.current.emitSlidesClasses(),L.current=!0)}),m(()=>{if(t&&(t.current=A.current),A.current)return I.current.destroyed&&Y(),!function(e,t){let{el:n,nextEl:i,prevEl:r,paginationEl:s,scrollbarEl:o,swiper:a}=e;c(t)&&i&&r&&(a.params.navigation.nextEl=i,a.originalParams.navigation.nextEl=i,a.params.navigation.prevEl=r,a.originalParams.navigation.prevEl=r),u(t)&&s&&(a.params.pagination.el=s,a.originalParams.pagination.el=s),d(t)&&o&&(a.params.scrollbar.el=o,a.originalParams.scrollbar.el=o),a.init(n)}({el:A.current,nextEl:R.current,prevEl:D.current,paginationEl:F.current,scrollbarEl:N.current,swiper:I.current},j),x&&!I.current.destroyed&&x(I.current),()=>{I.current&&!I.current.destroyed&&I.current.destroy(!0,!1)}},[]),m(()=>{!E&&$&&I.current&&Object.keys($).forEach(e=>{I.current.on(e,$[e])});let e=function(e,t,n,i,r){let s=[];if(!t)return s;let l=e=>{0>s.indexOf(e)&&s.push(e)};if(n&&i){let e=i.map(r),t=n.map(r);e.join("")!==t.join("")&&l("children"),i.length!==n.length&&l("children")}return o.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(n=>{if(n in e&&n in t)if(a(e[n])&&a(t[n])){let i=Object.keys(e[n]),r=Object.keys(t[n]);i.length!==r.length?l(n):(i.forEach(i=>{e[n][i]!==t[n][i]&&l(n)}),r.forEach(i=>{e[n][i]!==t[n][i]&&l(n)}))}else e[n]!==t[n]&&l(n)}),s}(B,_.current,q,z.current,e=>e.key);return _.current=B,z.current=q,e.length&&I.current&&!I.current.destroyed&&function(e){let t,n,i,r,o,l,c,u,{swiper:d,slides:h,passedParams:p,changedParams:f,nextEl:m,prevEl:g,scrollbarEl:v,paginationEl:b}=e,y=f.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:w,pagination:x,navigation:S,scrollbar:E,virtual:k,thumbs:C}=d;f.includes("thumbs")&&p.thumbs&&p.thumbs.swiper&&!p.thumbs.swiper.destroyed&&w.thumbs&&(!w.thumbs.swiper||w.thumbs.swiper.destroyed)&&(t=!0),f.includes("controller")&&p.controller&&p.controller.control&&w.controller&&!w.controller.control&&(n=!0),f.includes("pagination")&&p.pagination&&(p.pagination.el||b)&&(w.pagination||!1===w.pagination)&&x&&!x.el&&(i=!0),f.includes("scrollbar")&&p.scrollbar&&(p.scrollbar.el||v)&&(w.scrollbar||!1===w.scrollbar)&&E&&!E.el&&(r=!0),f.includes("navigation")&&p.navigation&&(p.navigation.prevEl||g)&&(p.navigation.nextEl||m)&&(w.navigation||!1===w.navigation)&&S&&!S.prevEl&&!S.nextEl&&(o=!0);let T=e=>{d[e]&&(d[e].destroy(),"navigation"===e?(d.isElement&&(d[e].prevEl.remove(),d[e].nextEl.remove()),w[e].prevEl=void 0,w[e].nextEl=void 0,d[e].prevEl=void 0,d[e].nextEl=void 0):(d.isElement&&d[e].el.remove(),w[e].el=void 0,d[e].el=void 0))};f.includes("loop")&&d.isElement&&(w.loop&&!p.loop?l=!0:!w.loop&&p.loop?c=!0:u=!0),y.forEac
1h(e=>{if(a(w[e])&&a(p[e]))Object.assign(w[e],p[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in p[e]&&!p[e].enabled&&T(e);else{let t=p[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&T(e):w[e]=p[e]}}),y.includes("controller")&&!n&&d.controller&&d.controller.control&&w.controller&&w.controller.control&&(d.controller.control=w.controller.control),f.includes("children")&&h&&k&&w.virtual.enabled?(k.slides=h,k.update(!0)):f.includes("virtual")&&k&&w.virtual.enabled&&(h&&(k.slides=h),k.update(!0)),f.includes("children")&&h&&w.loop&&(u=!0),t&&C.init()&&C.update(!0),n&&(d.controller.control=w.controller.control),i&&(d.isElement&&(!b||"string"==typeof b)&&((b=document.createElement("div")).classList.add("swiper-pagination"),b.part.add("pagination"),d.el.appendChild(b)),b&&(w.pagination.el=b),x.init(),x.render(),x.update()),r&&(d.isElement&&(!v||"string"==typeof v)&&((v=document.createElement("div")).classList.add("swiper-scrollbar"),v.part.add("scrollbar"),d.el.appendChild(v)),v&&(w.scrollbar.el=v),E.init(),E.updateSize(),E.setTranslate()),o&&(d.isElement&&(m&&"string"!=typeof m||((m=document.createElement("div")).classList.add("swiper-button-next"),(0,s.s)(m,d.hostEl.constructor.nextButtonSvg),m.part.add("button-next"),d.el.appendChild(m)),g&&"string"!=typeof g||((g=document.createElement("div")).classList.add("swiper-button-prev"),(0,s.s)(g,d.hostEl.constructor.prevButtonSvg),g.part.add("button-prev"),d.el.appendChild(g))),m&&(w.navigation.nextEl=m),g&&(w.navigation.prevEl=g),S.init(),S.update()),f.includes("allowSlideNext")&&(d.allowSlideNext=p.allowSlideNext),f.includes("allowSlidePrev")&&(d.allowSlidePrev=p.allowSlidePrev),f.includes("direction")&&d.changeDirection(p.direction,!1),(l||u)&&d.loopDestroy(),(c||u)&&d.loopCreate(),d.update()}({swiper:I.current,slides:q,passedParams:B,changedParams:e,nextEl:R.current,prevEl:D.current,scrollbarEl:N.current,paginationEl:F.current}),()=>{$&&I.current&&Object.keys($).forEach(e=>{I.current.off(e,$[e])})}}),m(()=>{var e;(e=I.current)&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())},[T]),i.createElement(b,p({ref:A,className:h(`${k}${g?` ${g}`:""}`)},H),i.createElement(v.Provider,{value:I.current},V["container-start"],i.createElement(y,{className:(void 0===(n=j.wrapperClass)&&(n=""),n)?n.includes("swiper-wrapper")?n:`swiper-wrapper ${n}`:"swiper-wrapper"},V["wrapper-start"],j.virtual?function(e,t,n){if(!n)return null;let r=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},s=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:o,to:a}=n,l=e.params.loop?-t.length:0,c=e.params.loop?2*t.length:t.length,u=[];for(let e=l;e<c;e+=1)e>=o&&e<=a&&u.push(t[r(e)]);return u.map((t,n)=>i.cloneElement(t,{swiper:e,style:s,key:t.props.virtualIndex||t.key||`slide-${n}`}))}(I.current,q,T):q.map((e,t)=>i.cloneElement(e,{swiper:I.current,swiperSlideIndex:t})),V["wrapper-end"]),c(j)&&i.createElement(i.Fragment,null,i.createElement("div",{ref:D,className:"swiper-button-prev"}),i.createElement("div",{ref:R,className:"swiper-button-next"})),d(j)&&i.createElement("div",{ref:N,className:"swiper-scrollbar"}),u(j)&&i.createElement("div",{ref:F,className:"swiper-pagination"}),V["container-end"]))});b.displayName="Swiper";let y=(0,i.forwardRef)(function(e,t){let{tag:n="div",children:r,className:s="",swiper:o,zoom:a,lazy:l,virtualIndex:c,swiperSlideIndex:u,...d}=void 0===e?{}:e,f=(0,i.useRef)(null),[v,b]=(0,i.useState)("swiper-slide"),[y,w]=(0,i.useState)(!1);function x(e,t,n){t===f.current&&b(n)}m(()=>{if(void 0!==u&&(f.current.swiperSlideIndex=u),t&&(t.current=f.current),f.current&&o){if(o.destroyed){"swiper-slide"!==v&&b("swiper-slide");return}return o.on("_slideClass",x),()=>{o&&o.off("_slideClass",x)}}}),m(()=>{o&&f.current&&!o.destroyed&&b(o.getSlideClasses(f.current))},[o]);let S={isActive:v.indexOf("swiper-slide-active")>=0,isVisible:v.indexOf("swiper-slide-visible")>=0,isPrev:v.indexOf("swiper-slide-prev")>=0,isNext:v.indexOf("swiper-slide-next")>=0},E=()=>"function"==typeof r?r(S):r;return i.createElement(n,p({ref:f,className:h(`${v}${s?` ${s}`:""}`),"data-swiper-slide-index":c,onLoad:()=>{w(!0)}},d),a&&i.createElement(g.Provider,{value:S},i.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof a?a:void 0},E(),l&&!y&&i.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&i.createElement(g.Provider,{value:S},E(),l&&!y&&i.createElement("div",{className:"swiper-lazy-preloader"})))});y.displayName="SwiperSlide"},86278:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});let i=n(28140)._(n(1150));function r(e,t){var n;let r={};"function"==typeof e&&(r.loader=e);let s={...r,...t};return(0,i.default)({...s,modules:null==(n=s.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95139:(e,t,n)=>{"use strict";n.d(t,{YR:()=>r});var i=n(56522);function r(e,t,n,r){let s,o,a;"function"==typeof t&&"function"!=typeof n?(o=void 0,a=t,s=n):(o=t,a=n,s=r),(0,i.VG)(e,o,function(e,t){let n=t[t.length-1],i=n?n.children.indexOf(e):void 0;return a(e,i,n)},s)}},95502:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});let i=function(e){var t,n;if(null==e)return s;if("function"==typeof e)return r(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=i(e[n]);return r(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,r(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,r(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function r(e){return function(t,n,i){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,i||void 0))}}function s(){return!0}},95831:(e,t,n)=>{"use strict";var i,r,s,o,a,l;let c;n.d(t,{lX:()=>tc});let u=(e,t=1e4)=>Math.round(((e=parseFloat(e+"")||0)+Number.EPSILON)*t)/t,d=function(e){if(!(e&&e instanceof Element&&e.offsetParent))return!1;let t=e.scrollHeight>e.clientHeight,n=window.getComputedStyle(e).overflowY,i=-1!==n.indexOf("hidden"),r=-1!==n.indexOf("visible");return t&&!i&&!r},h=function(e,t){return!(!e||e===document.body||t&&e===t)&&(d(e)?e:h(e.parentElement,t))},p=function(e){var t=(new DOMParser).parseFromString(e,"text/html").body;if(t.childElementCount>1){for(var n=document.createElement("div");t.firstChild;)n.appendChild(t.firstChild);return n}return t.firstChild},f=e=>`${e||""}`.split(" ").filter(e=>!!e),m=(e,t,n)=>{e&&f(t).forEach(t=>{e.classList.toggle(t,n||!1)})};class g{constructor(e){Object.defineProperty(this,"pageX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"time",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"nativePointer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.nativePointer=e,this.pageX=e.pageX,this.pageY=e.pageY,this.clientX=e.clientX,this.clientY=e.clientY,this.id=self.Touch&&e instanceof Touch?e.identifier:-1,this.time=Date.now()}}let v={passive:!1};class b{constructor(e,{start:t=()=>!0,move:n=()=>{},end:i=()=>{}}){for(let r of(Object.defineProperty(this,"element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"startCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"moveCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"endCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"currentPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"startPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.element=e,this.startCallback=t,this.moveCallback=n,this.endCallback=i,["onPointerStart","onTouchStart","onMove","onTouchEnd","onPointerEnd","onWindowBlur"]))this[r]=this[r].bind(this);this.element.addEventListener("mousedown",this.onPointerStart,v),this.element.addEventListener("touchstart",this.onTouchStart,v),this.element.addEventListener("touchmove",this.onMove,v),this.element.addEventListener("touchend",this.onTouchEnd),this.element.addEventListener("touchcancel",this.onTouchEnd)}onPointerStart(e){if(!e.buttons||0!==e.button)return;let t=new g(e);this.currentPointers.some(e=>e.id===t.id)||this.triggerPointerStart(t,e)&&(window.addEventListener("mousemove",this.onMove),window.addEventListener("mouseup",this.onPointerEnd),window.addEventListener("blur",this.onWindowBlur))}onTouchStart(e){for(let t of Array.from(e.changedTouches||[]))this.triggerPointerStart(new g(t),e);window.addEventListener("blur",this.onWindowBlur)}onMove(e){let t=this.currentPointers.slice(),n="changedTouches"in e?Array.from(e.changedTouches||[]).map(e=>new g(e)):[new g(e)],i=[];for(let e of n){let t=this.currentPointers.findIndex(t=>t.id===e.id);t<0||(i.push(e),this.currentPointers[t]=e)}i.length&&this.moveCallback(e,this.currentPointers.slice(),t)}onPointerEnd(e){e.buttons>0&&0!==e.button||(this.triggerPointerEnd(e,new g(e)),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur))}onTouchEnd(e){for(let t of Array.from(e.changedTouches||[]))this.triggerPointerEnd(e,new g(t))}triggerPointerStart(e,t){return!!this.startCallback(t,e,this.currentPointers.slice())&&(this.currentPointers.push(e),this.startPointers.push(e),!0)}triggerPointerEnd(e,t){let n=this.currentPointers.findIndex(e=>e.id===t.id);n<0||(this.currentPointers.splice(n,1),this.startPointers.splice(n,1),this.endCallback(e,t,this.currentPointers.slice()))}onWindowBlur(){this.clear()}clear(){for(;this.currentPointers.length;){let e=this.currentPointers[this.currentPointers.length-1];this.currentPointers.splice(this.currentPointers.length-1,1),this.startPointers.splice(this.currentPointers.length-1,1),this.endCallback(new Event("touchend",{bubbles:!0,cancelable:!0,clientX:e.clientX,clientY:e.clientY}),e,this.currentPointers.slice())}}stop(){this.element.removeEventListener("mousedown",this.onPointerStart,v),this.element.removeEventListener("touchstart",this.onTouchStart,v),this.element.removeEventListener("touchmove",this.onMove,v),this.element.removeEventListener("touchend",this.onTouchEnd),this.element.removeEventListener("touchcancel",this.onTouchEnd),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur)}}function y(e,t){return t?Math.sqrt(Math.pow(t.clientX-e.clientX,2)+Math.pow(t.clientY-e.clientY,2)):0}function w(e,t){return t?{clientX:(e.clientX+t.clientX)/2,clientY:(e.clientY+t.clientY)/2}:e}let x=e=>"object"==typeof e&&null!==e&&e.constructor===Object&&"[object Object]"===Object.prototype.toString.call(e),S=(e,...t)=>{let n=t.length;for(let i=0;i<n;i++)Object.entries(t[i]||{}
1).forEach(([t,n])=>{let i=Array.isArray(n)?[]:{};e[t]||Object.assign(e,{[t]:i}),x(n)?Object.assign(e[t],S(i,n)):Array.isArray(n)?Object.assign(e,{[t]:[...n]}):Object.assign(e,{[t]:n})});return e},E=function(e,t){return e.split(".").reduce((e,t)=>"object"==typeof e?e[t]:void 0,t)};class k{constructor(e={}){for(let t of(Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(e),Object.getOwnPropertyNames(Object.getPrototypeOf(this))))t.startsWith("on")&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}setOptions(e){for(let[t,n]of(this.options=e?S({},this.constructor.defaults,e):{},Object.entries(this.option("on")||{})))this.on(t,n)}option(e,...t){let n=E(e,this.options);return n&&"function"==typeof n&&(n=n.call(this,this,...t)),n}optionFor(e,t,n,...i){var r;let s=E(t,e);"string"!=typeof(r=s)||isNaN(r)||isNaN(parseFloat(r))||(s=parseFloat(s)),"true"===s&&(s=!0),"false"===s&&(s=!1),s&&"function"==typeof s&&(s=s.call(this,this,e,...i));let o=E(t,this.options);return o&&"function"==typeof o?s=o.call(this,this,e,...i,s):void 0===s&&(s=o),void 0===s?n:s}cn(e){let t=this.options.classes;return t&&t[e]||""}localize(e,t=[]){e=String(e).replace(/\{\{(\w+).?(\w+)?\}\}/g,(e,t,n)=>{let i="";return n?i=this.option(`${t[0]+t.toLowerCase().substring(1)}.l10n.${n}`):t&&(i=this.option(`l10n.${t}`)),i||(i=e),i});for(let n=0;n<t.length;n++)e=e.split(t[n][0]).join(t[n][1]);return e=e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t)}on(e,t){let n=[];"string"==typeof e?n=e.split(" "):Array.isArray(e)&&(n=e),this.events||(this.events=new Map),n.forEach(e=>{let n=this.events.get(e);n||(this.events.set(e,[]),n=[]),n.includes(t)||n.push(t),this.events.set(e,n)})}off(e,t){let n=[];"string"==typeof e?n=e.split(" "):Array.isArray(e)&&(n=e),n.forEach(e=>{let n=this.events.get(e);if(Array.isArray(n)){let e=n.indexOf(t);e>-1&&n.splice(e,1)}})}emit(e,...t){[...this.events.get(e)||[]].forEach(e=>e(this,...t)),"*"!==e&&this.emit("*",e,...t)}}Object.defineProperty(k,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(k,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});class C extends k{constructor(e={}){super(e),Object.defineProperty(this,"plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}})}attachPlugins(e={}){let t=new Map;for(let[n,i]of Object.entries(e)){let e=this.option(n),r=this.plugins[n];r||!1===e?r&&!1===e&&(r.detach(),delete this.plugins[n]):t.set(n,new i(this,e||{}))}for(let[e,n]of t)this.plugins[e]=n,n.attach()}detachPlugins(e){for(let t of e=e||Object.keys(this.plugins)){let e=this.plugins[t];e&&e.detach(),delete this.plugins[t]}return this.emit("detachPlugins"),this}}!function(e){e[e.Init=0]="Init",e[e.Error=1]="Error",e[e.Ready=2]="Ready",e[e.Panning=3]="Panning",e[e.Mousemove=4]="Mousemove",e[e.Destroy=5]="Destroy"}(i||(i={}));let T=["a","b","c","d","e","f"],P={PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen"},M='<circle cx="25" cy="25" r="20"></circle>
1',O='<div class="f-spinner"><svg viewBox="0 0 50 50">'+M+M+"</svg></div>",L=e=>e&&null!==e&&e instanceof Element&&"nodeType"in e,A=(e,t)=>{e&&f(t).forEach(t=>{e.classList.remove(t)})},I=(e,t)=>{e&&f(t).forEach(t=>{e.classList.add(t)})},_={a:1,b:0,c:0,d:1,e:0,f:0},z="mousemove",R="drag",D="content",F="auto",N=null,j=null;class B extends C{get fits(){return this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1}get isTouchDevice(){return null===j&&(j=window.matchMedia("(hover: none)").matches),j}get isMobile(){return null===N&&(N=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)),N}get panMode(){return this.options.panMode!==z||this.isTouchDevice?R:z}get panOnlyZoomed(){let e=this.options.panOnlyZoomed;return e===F?this.isTouchDevice:e}get isInfinite(){return this.option("infinite")}get angle(){return 180*Math.atan2(this.current.b,this.current.a)/Math.PI||0}get targetAngle(){return 180*Math.atan2(this.target.b,this.target.a)/Math.PI||0}get scale(){let{a:e,b:t}=this.current;return Math.sqrt(e*e+t*t)||1}get targetScale(){let{a:e,b:t}=this.target;return Math.sqrt(e*e+t*t)||1}get minScale(){return this.option("minScale")||1}get fullScale(){let{contentRect:e}=this;return e.fullWidth/e.fitWidth||1}get maxScale(){return this.fullScale*(this.option("maxScale")||1)||1}get coverScale(){let{containerRect:e,contentRect:t}=this,n=Math.max(e.height/t.fitHeight,e.width/t.fitWidth)||1;return Math.min(this.fullScale,n)}get isScaling(){return Math.abs(this.targetScale-this.scale)>1e-5&&!this.isResting}get isContentLoading(){let e=this.content;return!!(e&&e instanceof HTMLImageElement)&&!e.complete}get isResting(){if(this.isBouncingX||this.isBouncingY)return!1;for(let e of T){let t="e"==e||"f"===e?1e-4:1e-5;if(Math.abs(this.target[e]-this.current[e])>t)return!1}return!(!this.ignoreBounds&&!this.checkBounds().inBounds)}constructor(e,t={},n={}){var r;if(super(t),Object.defineProperty(this,"pointerTracker",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"updateTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"rAF",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isTicking",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"ignoreBounds",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingX",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingY",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"clicks",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"trackingPoints",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"cwd",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"pmme",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"friction",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:i.Init}),Object.defineProperty(this,"isDragging",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"content",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"spinner",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"containerRect",{enumerable:!0,configurable:!0,writable:!0,value:{width:0,height:0,innerWidth:0,innerHeight:0}}),Object.defineProperty(this,"contentRect",{enumerable:!0,configurable:!0,writable:!0,value:{top:0,right:0,bottom:0,left:0,fullWidth:0,fullHeight:0,fitWidth:0,fitHeight:0,width:0,height:0}}),Object.defineProperty(this,"dragStart",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,top:0,left:0,time:0}}),Object.defineProperty(this,"dragOffset",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,time:0}}),Object.defineProperty(this,"current",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},_)}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},_)}),Object.defineProperty(this,"velocity",{enumerable:!0,configurable:!0,writable:!0,value:{a:0,b:0,c:0,d:0,e:0,f:0}}),Object.defineProperty(this,"lockedAxis",{enumerable:!0,configurable:!0,writable:!0,value:!1}),!e)throw Error("Container Element Not Found");this.container=e,this.initContent(),this.attachPlugins(Object.assign(Object.assign({}
1,B.Plugins),n)),this.emit("attachPlugins"),this.emit("init");let s=this.content;if(s.addEventListener("load",this.onLoad),s.addEventListener("error",this.onError),this.isContentLoading){if(this.option("spinner")){e.classList.add(this.cn("isLoading"));let t=p(O);!e.contains(s)||s.parentElement instanceof HTMLPictureElement?this.spinner=e.appendChild(t):this.spinner=(null==(r=s.parentElement)?void 0:r.insertBefore(t,s))||null}this.emit("beforeLoad")}else queueMicrotask(()=>{this.enable()})}initContent(){let{container:e}=this,t=this.cn(D),n=this.option(D)||e.querySelector(`.${t}`);if(n||(n=e.querySelector("img,picture")||e.firstElementChild)&&I(n,t),n instanceof HTMLPictureElement&&(n=n.querySelector("img")),!n)throw Error("No content found");this.content=n}onLoad(){let{spinner:e,container:t,state:n}=this;e&&(e.remove(),this.spinner=null),this.option("spinner")&&t.classList.remove(this.cn("isLoading")),this.emit("afterLoad"),n===i.Init?this.enable():this.updateMetrics()}onError(){this.state!==i.Destroy&&(this.spinner&&(this.spinner.remove(),this.spinner=null),this.stop(),this.detachEvents(),this.state=i.Error,this.emit("error"))}getNextScale(e){let{fullScale:t,targetScale:n,coverScale:i,maxScale:r,minScale:s}=this,o=s;switch(e){case"toggleMax":o=n-s<.5*(r-s)?r:s;break;case"toggleCover":o=n-s<.5*(i-s)?i:s;break;case"toggleZoom":o=n-s<.5*(t-s)?t:s;break;case"iterateZoom":let a=[1,t,r].sort((e,t)=>e-t),l=a.findIndex(e=>e>n+1e-5);o=a[l]||1}return o}attachObserver(){var e;let t=()=>{let{container:e,containerRect:t}=this;return Math.abs(t.width-e.getBoundingClientRect().width)>.1||Math.abs(t.height-e.getBoundingClientRect().height)>.1};this.resizeObserver||void 0===window.ResizeObserver||(this.resizeObserver=new ResizeObserver(()=>{this.updateTimer||(t()?(this.onResize(),this.isMobile&&(this.updateTimer=setTimeout(()=>{t()&&this.onResize(),this.updateTimer=null},500))):this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null))})),null==(e=this.resizeObserver)||e.observe(this.container)}detachObserver(){var e;null==(e=this.resizeObserver)||e.disconnect()}attachEvents(){let{container:e}=this;e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("wheel",this.onWheel,{passive:!1}),this.pointerTracker=new b(e,{start:this.onPointerDown,move:this.onPointerMove,end:this.onPointerUp}),document.addEventListener(z,this.onMouseMove)}detachEvents(){var e;let{container:t}=this;t.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),t.removeEventListener("wheel",this.onWheel,{passive:!1}),null==(e=this.pointerTracker)||e.stop(),this.pointerTracker=null,document.removeEventListener(z,this.onMouseMove),document.removeEventListener("keydown",this.onKeydown,!0),this.clickTimer&&(clearTimeout(this.clickTimer),this.clickTimer=null),this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null)}animate(){this.setTargetForce();let e=this.friction,t=this.option("maxVelocity");for(let n of T)e?(this.velocity[n]*=1-e,t&&!this.isScaling&&(this.velocity[n]=Math.max(Math.min(this.velocity[n],t),-1*t)),this.current[n]+=this.velocity[n]):this.current[n]=this.target[n];this.setTransform(),this.setEdgeForce(),!this.isResting||this.isDragging?this.rAF=requestAnimationFrame(()=>this.animate()):this.stop("current")}setTargetForce(){for(let e of T)"e"===e&&this.isBouncingX||"f"===e&&this.isBouncingY||(this.velocity[e]=(1/(1-this.friction)-1)*(this.target[e]-this.current[e]))}checkBounds(e=0,t=0){let{current:n}=this,i=n.e+e,r=n.f+t,s=this.getBounds(),{x:o,y:a}=s,l=o.min,c=o.max,u=a.min,d=a.max,h=0,p=0;return l!==1/0&&i<l?h=l-i:c!==1/0&&i>c&&(h=c-i),u!==1/0&&r<u?p=u-r:d!==1/0&&r>d&&(p=d-r),1e-4>Math.abs(h)&&(h=0),1e-4>Math.abs(p)&&(p=0),Object.assign(Object.assign({},s),{xDiff:h,yDiff:p,inBounds:!h&&!p})}clampTargetBounds(){let{target:e}=this,{x:t,y:n}=this.getBounds();t.min!==1/0&&(e.e=Math.max(e.e,t.min)),t.max!==1/0&&(e.e=Math.min(e.e,t.max)),n.min!==1/0&&(e.f=Math.max(e.f,n.min)),n.max!==1/0&&(e.f=Math.min(e.f,n.max))}calculateContentDim(e=this.current){let{content:t,contentRect:n}=this,{fitWidth:i,fitHeight:r,fullWidth:s,fullHeight:o}=n,a=s,l=o;
1if(this.option("zoom")||0!==this.angle){let n=!(t instanceof HTMLImageElement)&&("none"===window.getComputedStyle(t).maxWidth||"none"===window.getComputedStyle(t).maxHeight),c=n?s:i,u=n?o:r,d=this.getMatrix(e),h=new DOMPoint(0,0).matrixTransform(d),p=new DOMPoint(0+c,0).matrixTransform(d),f=new DOMPoint(0+c,0+u).matrixTransform(d),m=new DOMPoint(0,0+u).matrixTransform(d),g=Math.abs(f.x-h.x),v=Math.abs(f.y-h.y),b=Math.abs(m.x-p.x),y=Math.abs(m.y-p.y);a=Math.max(g,b),l=Math.max(v,y)}return{contentWidth:a,contentHeight:l}}setEdgeForce(){if(this.ignoreBounds||this.isDragging||this.panMode===z||this.targetScale<this.scale)return this.isBouncingX=!1,void(this.isBouncingY=!1);let{target:e}=this,{x:t,y:n,xDiff:i,yDiff:r}=this.checkBounds(),s=this.option("maxVelocity"),o=this.velocity.e,a=this.velocity.f;0!==i?(this.isBouncingX=!0,i*o<=0?o+=.14*i:(o=.14*i,t.min!==1/0&&(this.target.e=Math.max(e.e,t.min)),t.max!==1/0&&(this.target.e=Math.min(e.e,t.max))),s&&(o=Math.max(Math.min(o,s),-1*s))):this.isBouncingX=!1,0!==r?(this.isBouncingY=!0,r*a<=0?a+=.14*r:(a=.14*r,n.min!==1/0&&(this.target.f=Math.max(e.f,n.min)),n.max!==1/0&&(this.target.f=Math.min(e.f,n.max))),s&&(a=Math.max(Math.min(a,s),-1*s))):this.isBouncingY=!1,this.isBouncingX&&(this.velocity.e=o),this.isBouncingY&&(this.velocity.f=a)}enable(){let{content:e}=this,t=new DOMMatrixReadOnly(window.getComputedStyle(e).transform);for(let e of T)this.current[e]=this.target[e]=t[e];this.updateMetrics(),this.attachObserver(),this.attachEvents(),this.state=i.Ready,this.emit("ready")}onClick(e){var t;"click"===e.type&&0===e.detail&&(this.dragOffset.x=0,this.dragOffset.y=0),this.isDragging&&(null==(t=this.pointerTracker)||t.clear(),this.trackingPoints=[],this.startDecelAnim());let n=e.target;if(!n||e.defaultPrevented)return;if(n.hasAttribute("disabled"))return e.preventDefault(),void e.stopPropagation();if((()=>{let e=window.getSelection();return e&&"Range"===e.type})()&&!n.closest("button"))return;let i=n.closest("[data-panzoom-action]"),r=n.closest("[data-panzoom-change]"),s=i||r,o=s&&L(s)?s.dataset:null;if(o){let t=o.panzoomChange,n=o.panzoomAction;if((t||n)&&e.preventDefault(),t){let e={};try{e=JSON.parse(t)}catch(e){console&&console.warn("The given data was not valid JSON")}return void this.applyChange(e)}if(n)return void(this[n]&&this[n]())}if(Math.abs(this.dragOffset.x)>3||Math.abs(this.dragOffset.y)>3)return e.preventDefault(),void e.stopPropagation();if(n.closest("[data-fancybox]"))return;let a=this.content.getBoundingClientRect(),l=this.dragStart;if(l.time&&!this.canZoomOut()&&(Math.abs(a.x-l.x)>2||Math.abs(a.y-l.y)>2))return;this.dragStart.time=0;let c=t=>{this.option("zoom",e)&&t&&"string"==typeof t&&/(iterateZoom)|(toggle(Zoom|Full|Cover|Max)|(zoomTo(Fit|Cover|Max)))/.test(t)&&"function"==typeof this[t]&&(e.preventDefault(),this[t]({event:e}))},u=this.option("click",e),d=this.option("dblClick",e);d?(this.clicks++,1==this.clicks&&(this.clickTimer=setTimeout(()=>{1===this.clicks?(this.emit("click",e),!e.defaultPrevented&&u&&c(u)):(this.emit("dblClick",e),e.defaultPrevented||c(d)),this.clicks=0,this.clickTimer=null},350))):(this.emit("click",e),!e.defaultPrevented&&u&&c(u))}addTrackingPoint(e){let t=this.trackingPoints.filter(e=>e.time>Date.now()-100);t.push(e),this.trackingPoints=t}onPointerDown(e,t,n){var i;if(!1===this.option("touch",e))return!1;this.pwt=0,this.dragOffset={x:0,y:0,time:0},this.trackingPoints=[];let r=this.content.getBoundingClientRect();if(this.dragStart={x:r.x,y:r.y,top:r.top,left:r.left,time:Date.now()},this.clickTimer)return!1;if(this.panMode===z&&this.targetScale>1)return e.preventDefault(),e.stopPropagation(),!1;let s=e.composedPath()[0];if(!n.length){if(["TEXTAREA","OPTION","INPUT","SELECT","VIDEO","IFRAME"].includes(s.nodeName)||s.closest("[contenteditable],[data-selectable],[data-draggable],[data-clickable],[data-panzoom-change],[data-panzoom-action]"))return!1;null==(i=window.getSelection())||i.removeAllRanges()}if("mousedown"===e.type)["A","BUTTON"].includes(s.nodeName)||e.preventDefault();else if(Math.abs(this.velocity.a)>.3)return!1;return this.target.e=this.current.e,this.target.f=this.current.f,this.stop(),this.isDragging||(this.isDragging=!0,this.addTrackingPoint(t),this.emit
1("touchStart",e)),!0}onPointerMove(e,t,n){if(!1===this.option("touch",e)||!this.isDragging||t.length<2&&this.panOnlyZoomed&&u(this.targetScale)<=u(this.minScale)||(this.emit("touchMove",e),e.defaultPrevented))return;this.addTrackingPoint(t[0]);let{content:i}=this,r=w(n[0],n[1]),s=w(t[0],t[1]),o=0,a=0;if(t.length>1){let e=i.getBoundingClientRect();o=r.clientX-e.left-.5*e.width,a=r.clientY-e.top-.5*e.height}let l=y(n[0],n[1]),c=y(t[0],t[1]),d=l?c/l:1,p=s.clientX-r.clientX,f=s.clientY-r.clientY;this.dragOffset.x+=p,this.dragOffset.y+=f,this.dragOffset.time=Date.now()-this.dragStart.time;let m=u(this.targetScale)===u(this.minScale)&&this.option("lockAxis");if(m&&!this.lockedAxis)if("xy"===m||"y"===m||"touchmove"===e.type){if(6>Math.abs(this.dragOffset.x)&&6>Math.abs(this.dragOffset.y))return void e.preventDefault();let t=Math.abs(180*Math.atan2(this.dragOffset.y,this.dragOffset.x)/Math.PI);this.lockedAxis=t>45&&t<135?"y":"x",this.dragOffset.x=0,this.dragOffset.y=0,p=0,f=0}else this.lockedAxis=m;if(h(e.target,this.content)&&(m="x",this.dragOffset.y=0),m&&"xy"!==m&&this.lockedAxis!==m&&u(this.targetScale)===u(this.minScale))return;e.cancelable&&e.preventDefault(),this.container.classList.add(this.cn("isDragging"));let g=this.checkBounds(p,f);this.option("rubberband")?("x"!==this.isInfinite&&(g.xDiff>0&&p<0||g.xDiff<0&&p>0)&&(p*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitWidth*g.xDiff))),"y"!==this.isInfinite&&(g.yDiff>0&&f<0||g.yDiff<0&&f>0)&&(f*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitHeight*g.yDiff)))):(g.xDiff&&(p=0),g.yDiff&&(f=0));let v=this.targetScale,b=this.minScale,x=this.maxScale;v<.5*b&&(d=Math.max(d,b)),v>1.5*x&&(d=Math.min(d,x)),"y"===this.lockedAxis&&u(v)===u(b)&&(p=0),"x"===this.lockedAxis&&u(v)===u(b)&&(f=0),this.applyChange({originX:o,originY:a,panX:p,panY:f,scale:d,friction:this.option("dragFriction"),ignoreBounds:!0})}onPointerUp(e,t,n){if(n.length)return this.dragOffset.x=0,this.dragOffset.y=0,void(this.trackingPoints=[]);this.container.classList.remove(this.cn("isDragging")),this.isDragging&&(this.addTrackingPoint(t),this.panOnlyZoomed&&this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1&&(this.trackingPoints=[]),h(e.target,this.content)&&"y"===this.lockedAxis&&(this.trackingPoints=[]),this.emit("touchEnd",e),this.isDragging=!1,this.lockedAxis=!1,this.state!==i.Destroy&&(e.defaultPrevented||this.startDecelAnim()))}startDecelAnim(){var e;let t=this.isScaling;for(let e of(this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1,T))this.velocity[e]=0;this.target.e=this.current.e,this.target.f=this.current.f,A(this.container,"is-scaling"),A(this.container,"is-animating"),this.isTicking=!1;let{trackingPoints:n}=this,i=n[0],r=n[n.length-1],s=0,o=0,a=0;r&&i&&(s=r.clientX-i.clientX,o=r.clientY-i.clientY,a=r.time-i.time);let l=(null==(e=window.visualViewport)?void 0:e.scale)||1;1!==l&&(s*=l,o*=l);let c=0,d=0,h=0,p=0,f=this.option("decelFriction"),m=this.targetScale;if(a>0){h=Math.abs(s)>3?s/(a/30):0,p=Math.abs(o)>3?o/(a/30):0;let e=this.option("maxVelocity");e&&(h=Math.max(Math.min(h,e),-1*e),p=Math.max(Math.min(p,e),-1*e))}h&&(c=h/(1/(1-f)-1)),p&&(d=p/(1/(1-f)-1)),("y"===this.option("lockAxis")||"xy"===this.option("lockAxis")&&"y"===this.lockedAxis&&u(m)===this.minScale)&&(c=h=0),("x"===this.option("lockAxis")||"xy"===this.option("lockAxis")&&"x"===this.lockedAxis&&u(m)===this.minScale)&&(d=p=0);let g=this.dragOffset.x,v=this.dragOffset.y,b=this.option("dragMinThreshold")||0;Math.abs(g)<b&&Math.abs(v)<b&&(c=d=0,h=p=0),(this.option("zoom")&&(m<this.minScale-1e-5||m>this.maxScale+1e-5)||t&&!c&&!d)&&(f=.35),this.applyChange({panX:c,panY:d,friction:f}),this.emit("decel",h,p,g,v)}onWheel(e){let t=Math.max(-1,Math.min(1,[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e})));if(this.emit("wheel",e,t),this.panMode===z||e.defaultPrevented)return;let n=this.option("wheel");"pan"===n?(e.preventDefault(),this.panOnlyZoomed&&!this.canZoomOut()||this.applyChange({panX:-(2*e.deltaX),panY:-(2*e.deltaY),bounce:!1})):"zoom"===n&&!1!==this.option("zoom")&&this.zoomWithWheel(e)}onMouseMove(e){this.panWithMouse(e)}onKeydown(e){"Escape"===e.key&&this.toggleFS()}onResize(){this.updateMetrics(),this.checkBounds().inBounds||this.requestTick()}
1setTransform(){this.emit("beforeTransform");let{current:e,target:t,content:n,contentRect:i}=this,r=Object.assign({},_);for(let n of T){let i="e"==n||"f"===n?1e4:1e5;r[n]=u(e[n],i),Math.abs(t[n]-e[n])<("e"==n||"f"===n?.51:.001)&&(e[n]=t[n])}let{a:s,b:o,c:a,d:l,e:c,f:d}=r,h=`matrix(${s}, ${o}, ${a}, ${l}, ${c}, ${d})`,p=n.parentElement instanceof HTMLPictureElement?n.parentElement:n;if(this.option("transformParent")&&(p=p.parentElement||p),p.style.transform===h)return;p.style.transform=h;let{contentWidth:f,contentHeight:m}=this.calculateContentDim();i.width=f,i.height=m,this.emit("afterTransform")}updateMetrics(e=!1){var t;if(!this||this.state===i.Destroy||this.isContentLoading)return;let n=Math.max(1,(null==(t=window.visualViewport)?void 0:t.scale)||1),{container:r,content:s}=this,o=s instanceof HTMLImageElement,a=r.getBoundingClientRect(),l=getComputedStyle(this.container),c=a.width*n,d=a.height*n,h=parseFloat(l.paddingTop)+parseFloat(l.paddingBottom),p=c-(parseFloat(l.paddingLeft)+parseFloat(l.paddingRight));this.containerRect={width:c,height:d,innerWidth:p,innerHeight:d-h};let f=parseFloat(s.dataset.width||"")||(s instanceof HTMLImageElement?s.naturalWidth:s instanceof SVGElement?s.width.baseVal.value:Math.max(s.offsetWidth,s.scrollWidth))||0,m=parseFloat(s.dataset.height||"")||(s instanceof HTMLImageElement?s.naturalHeight:s instanceof SVGElement?s.height.baseVal.value:Math.max(s.offsetHeight,s.scrollHeight))||0,g=this.option("width",f)||F,v=this.option("height",m)||F,b=g===F,y=v===F;"number"!=typeof g&&(g=f),"number"!=typeof v&&(v=m),b&&(g=v/m*f),y&&(v=m/(f/g));let w=s.parentElement instanceof HTMLPictureElement?s.parentElement:s;this.option("transformParent")&&(w=w.parentElement||w);let x=w.getAttribute("style")||"";w.style.setProperty("transform","none","important"),o&&(w.style.width="",w.style.height=""),w.offsetHeight;let S=s.getBoundingClientRect(),E=S.width*n,k=S.height*n,C=E,T=k;E=Math.min(E,g),k=Math.min(k,v),o?{width:E,height:k}=((e,t,n,i)=>{let r=Math.min(n/e,i/t);return{width:e*=r,height:t*=r}})(g,v,E,k):(E=Math.min(E,g),k=Math.min(k,v));let P=.5*(T-k),M=.5*(C-E);this.contentRect=Object.assign(Object.assign({},this.contentRect),{top:S.top-a.top+P,bottom:a.bottom-S.bottom+P,left:S.left-a.left+M,right:a.right-S.right+M,fitWidth:E,fitHeight:k,width:E,height:k,fullWidth:g,fullHeight:v}),w.style.cssText=x,o&&(w.style.width=`${E}px`,w.style.height=`${k}px`),this.setTransform(),!0!==e&&this.emit("refresh"),this.ignoreBounds||(u(this.targetScale)<u(this.minScale)?this.zoomTo(this.minScale,{friction:0}):this.targetScale>this.maxScale?this.zoomTo(this.maxScale,{friction:0}):this.state===i.Init||this.checkBounds().inBounds||this.requestTick()),this.updateControls()}calculateBounds(){let{contentWidth:e,contentHeight:t}=this.calculateContentDim(this.target),{targetScale:n,lockedAxis:i}=this,{fitWidth:r,fitHeight:s}=this.contentRect,o=0,a=0,l=0,c=0,d=this.option("infinite");if(!0===d||i&&d===i)o=-1/0,l=1/0,a=-1/0,c=1/0;else{let{containerRect:i,contentRect:d}=this,h=u(r*n,1e4),p=u(s*n,1e4),{innerWidth:f,innerHeight:m}=i;if(i.width===h&&(f=i.width),i.width===p&&(m=i.height),e>f){o=-1*(l=.5*(e-f));let t=.5*(d.right-d.left);o+=t,l+=t}if(r>f&&e<f&&(o-=.5*(r-f),l-=.5*(r-f)),t>m){a=-1*(c=.5*(t-m));let e=.5*(d.bottom-d.top);a+=e,c+=e}s>m&&t<m&&(o-=.5*(s-m),l-=.5*(s-m))}return{x:{min:o,max:l},y:{min:a,max:c}}}getBounds(){let e=this.option("bounds");return e!==F?e:this.calculateBounds()}updateControls(){let e=this.container,{panMode:t,contentRect:n,targetScale:i,minScale:r}=this,s=r,o=this.option("click")||!1;o&&(s=this.getNextScale(o));let a=this.canZoomIn(),l=this.canZoomOut(),c=t===R&&!!this.option("touch"),d=l&&c;if(c&&(u(i)<u(r)&&!this.panOnlyZoomed&&(d=!0),(u(n.width,1)>u(n.fitWidth,1)||u(n.height,1)>u(n.fitHeight,1))&&(d=!0)),u(n.width*i,1)<u(n.fitWidth,1)&&(d=!1),t===z&&(d=!1),m(e,this.cn("isDraggable"),d),!this.option("zoom"))return;let h=a&&u(s)>u(i),p=!h&&!d&&l&&u(s)<u(i);for(let t of(m(e,this.cn("canZoomIn"),h),m(e,this.cn("canZoomOut"),p),e.querySelectorAll("[data-panzoom-action]"))){let e=!1,n=!1;switch(t.dataset.panzoomAction){case"zoomIn":a?e=!0:n=!0;break;case"zoomOut":l?e=!0:n=!0;break;case"toggleZoom":case"iterateZoom":a||l?e=!0:n=!0;let i=t.querySelector("g");i&&(i.style.display=a?"":"none")}e?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):n&&(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"))}}panTo({x:e=this.target.e,y:t=this.target.f,scale:n=this.targetScale,friction:r=this.option("friction"),angle:s=0,originX:o=0,originY:a=0,flipX:l=!1,flipY:c=!1,ignoreBounds:u=!1}){this.state!==i.Destroy&&this.applyChange({panX:e-this.target.e,panY:t-this.target.f,scale:n/this.targetScale,angle:s,originX:o,originY:a,friction:r,flipX:l,flipY:c,ignoreBounds:u})}applyChange({panX:e=0,panY:t=0,scale:n=1,angle:r=0,originX:s=-this.current.e,originY:o=-this.current.f,friction:a=this.option("friction"),flipX:l=!1,flipY:c=!1,ignoreBounds:d=!1,bounce:h=this.option("bounce")}){let p=this.state;if(p===i.Destroy)return;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.friction=a||0,this.ignoreBounds=d;let{current:f}=this,m=f.e,g=f.f,v=this.getMatrix(this.target),b=(new DOMMatrix).translate(m,g).translate(s,o).translate(e,t);
1if(this.option("zoom")){if(!d){let e=this.targetScale,t=this.minScale,i=this.maxScale;e*n<t&&(n=t/e),e*n>i&&(n=i/e)}b=b.scale(n)}for(let e of(b=b.translate(-s,-o).translate(-m,-g).multiply(v),r&&(b=b.rotate(r)),l&&(b=b.scale(-1,1)),c&&(b=b.scale(1,-1)),T))"e"!==e&&"f"!==e&&(b[e]>this.minScale+1e-5||b[e]<this.minScale-1e-5)?this.target[e]=b[e]:this.target[e]=u(b[e],1e4);(this.targetScale<this.scale||Math.abs(n-1)>.1||this.panMode===z||!1===h)&&!d&&this.clampTargetBounds(),p===i.Init?this.animate():this.isResting||(this.state=i.Panning,this.requestTick())}stop(e=!1){if(this.state===i.Init||this.state===i.Destroy)return;let t=this.isTicking;for(let t of(this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1,T))this.velocity[t]=0,"current"===e?this.current[t]=this.target[t]:"target"===e&&(this.target[t]=this.current[t]);this.setTransform(),A(this.container,"is-scaling"),A(this.container,"is-animating"),this.isTicking=!1,this.state=i.Ready,t&&(this.emit("endAnimation"),this.updateControls())}
1requestTick(){this.isTicking||(this.emit("startAnimation"),this.updateControls(),I(this.container,"is-animating"),this.isScaling&&I(this.container,"is-scaling")),this.isTicking=!0,this.rAF||(this.rAF=requestAnimationFrame(()=>this.animate()))}panWithMouse(e,t=this.option("mouseMoveFriction")){if(this.pmme=e,this.panMode!==z||!e||u(this.targetScale)<=u(this.minScale))return;this.emit("mouseMove",e);let{container:n,containerRect:i,contentRect:r}=this,s=i.width,o=i.height,a=n.getBoundingClientRect(),l=(e.clientX||0)-a.left,c=(e.clientY||0)-a.top,{contentWidth:d,contentHeight:h}=this.calculateContentDim(this.target),p=this.option("mouseMoveFactor");p>1&&(d!==s&&(d*=p),h!==o&&(h*=p));let f=.5*(d-s)-l/s*100/100*(d-s);f+=.5*(r.right-r.left);let m=.5*(h-o)-c/o*100/100*(h-o);m+=.5*(r.bottom-r.top),this.applyChange({panX:f-this.target.e,panY:m-this.target.f,friction:t})}zoomWithWheel(e){if(this.state===i.Destroy||this.state===i.Init)return;let t=Date.now();if(t-this.pwt<45)return void e.preventDefault();this.pwt=t;let n=Math.max(-1,Math.min(1,[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e}))),{targetScale:r,maxScale:s,minScale:o}=this,a=r*(100+45*n)/100;u(a)<u(o)&&u(r)<=u(o)?(this.cwd+=Math.abs(n),a=o):u(a)>u(s)&&u(r)>=u(s)?(this.cwd+=Math.abs(n),a=s):(this.cwd=0,a=Math.max(Math.min(a,s),o)),this.cwd>this.option("wheelLimit")||(e.preventDefault(),u(a)!==u(r)&&this.zoomTo(a,{event:e}))}canZoomIn(){return this.option("zoom")&&(u(this.contentRect.width,1)<u(this.contentRect.fitWidth,1)||u(this.targetScale)<u(this.maxScale))}canZoomOut(){return this.option("zoom")&&u(this.targetScale)>u(this.minScale)}zoomIn(e=1.25,t){this.zoomTo(this.targetScale*e,t)}zoomOut(e=.8,t){this.zoomTo(this.targetScale*e,t)}zoomToFit(e){this.zoomTo("fit",e)}zoomToCover(e){this.zoomTo("cover",e)}zoomToFull(e){this.zoomTo("full",e)}zoomToMax(e){this.zoomTo("max",e)}toggleZoom(e){this.zoomTo(this.getNextScale("toggleZoom"),e)}toggleMax(e){this.zoomTo(this.getNextScale("toggleMax"),e)}toggleCover(e){this.zoomTo(this.getNextScale("toggleCover"),e)}iterateZoom(e){this.zoomTo("next",e)}zoomTo(e=1,{friction:t=F,originX:n=F,originY:r=F,event:s}={}){if(this.isContentLoading||this.state===i.Destroy)return;let{targetScale:o,fullScale:a,maxScale:l,coverScale:c}=this;if(this.stop(),this.panMode===z&&(s=this.pmme||s),s||n===F||r===F){let e=this.content.getBoundingClientRect(),t=this.container.getBoundingClientRect(),i=s?s.clientX:t.left+.5*t.width,o=s?s.clientY:t.top+.5*t.height;n=i-e.left-.5*e.width,r=o-e.top-.5*e.height}let u=1;"number"==typeof e?u=e:"full"===e?u=a:"cover"===e?u=c:"max"===e?u=l:"fit"===e?u=1:"next"===e&&(u=this.getNextScale("iterateZoom")),u=u/o||1,t=t===F?u>1?.15:.25:t,this.applyChange({scale:u,originX:n,originY:r,friction:t}),s&&this.panMode===z&&this.panWithMouse(s,t)}rotateCCW(){this.applyChange({angle:-90})}rotateCW(){this.applyChange({angle:90})}flipX(){this.applyChange({flipX:!0})}flipY(){this.applyChange({flipY:!0})}fitX(){this.stop("target");let{containerRect:e,contentRect:t,target:n}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-n.e,panY:.5*e.height-(t.top+.5*t.fitHeight)-n.f,scale:e.width/t.fitWidth/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}fitY(){this.stop("target");let{containerRect:e,contentRect:t,target:n}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-n.e,panY:.5*e.innerHeight-(t.top+.5*t.fitHeight)-n.f,scale:e.height/t.fitHeight/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}toggleFS(){let{container:e}=this,t=this.cn("inFullscreen"),n=this.cn("htmlHasFullscreen");e.classList.toggle(t);let i=e.classList.contains(t);i?(document.documentElement.classList.add(n),document.addEventListener("keydown",this.onKeydown,!0)):(document.documentElement.classList.remove(n),document.removeEventListener("keydown",this.onKeydown,!0)),this.updateMetrics(),this.emit(i?"enterFS":"exitFS")}getMatrix(e=this.current){let{a:t,b:n,c:i,d:r,e:s,f:o}=e;return new DOMMatrix([t,n,i,r,s,o])}reset(e){if(this.state!==i.Init&&this.state!==i.Destroy){for(let e of(this.stop("current"),T))this.target[e]=_[e];this.target.a=this.minScale,this.target.d=this.minScale,this.clampTargetBounds(),this.isResting||(this.friction=void 0===e?this.option("friction"):e,this.state=i.Panning,this.requestTick())}}destroy(){this.stop(),this.state=i.Destroy,this.detachEvents(),this.detachObserver();let{container:e,content:t}=this;for(let t of Object.values(this.option("classes")||{}))e.classList.remove(t+"");t&&(t.removeEventListener("load",this.onLoad),t.removeEventListener("error",this.onError)),this.detachPlugins()}}Object.defineProperty(B,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{content:null,width:"auto",height:"auto",panMode:"drag",touch:!0,dragMinThreshold:3,lockAxis:!1,mouseMoveFactor:1,mouseMoveFriction:.12,zoom:!0,pinchToZoom:!0,panOnlyZoomed:"auto",minScale:1,maxScale:2,friction:.25,dragFriction:.35,decelFriction:.05,click:"toggleZoom",dblClick:!1,wheel:"zoom",wheelLimit:7,spinner:!0,bounds:"auto",infinite:!1,rubberband:!0,bounce:!0,maxVelocity:75,transformParent:!1,classes:{content:"f-panzoom__content",isLoading:"is-loading",canZoomIn:"can-zoom_in",canZoomOut:"can-zoom_out",isDraggable:"is-draggable",isDragging:"is-dragging",inFullscreen:"in-fullscreen",htmlHasFullscreen:"with-panzoom-in-fullscreen"},l10n:P}}),Object.defineProperty(B,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}});let H=function(e,t){let n=!0;return(...i)=>{n&&(n=!1,e(...i),setTimeout(()=>{n=!0},t))}},$=(e,t)=>{let n=[];
1return e.childNodes.forEach(e=>{e.nodeType!==Node.ELEMENT_NODE||t&&!e.matches(t)||n.push(e)}),n};!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Destroy=2]="Destroy"}(r||(r={}));let q=e=>{if("string"==typeof e||e instanceof HTMLElement)e={html:e};else{let t=e.thumb;void 0!==t&&("string"==typeof t&&(e.thumbSrc=t),t instanceof HTMLImageElement&&(e.thumbEl=t,e.thumbElSrc=t.src,e.thumbSrc=t.src),delete e.thumb)}return Object.assign({html:"",el:null,isDom:!1,class:"",customClass:"",index:-1,dim:0,gap:0,pos:0,transition:!1},e)},V=(e={})=>Object.assign({index:-1,slides:[],dim:0,pos:-1},e);class W extends k{constructor(e,t){super(t),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:e})}attach(){}detach(){}}class Y extends W{constructor(){super(...arguments),Object.defineProperty(this,"isDynamic",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"list",{enumerable:!0,configurable:!0,writable:!0,value:null})}onRefresh(){this.refresh()}build(){let e=this.list;if(!e){I(e=document.createElement("ul"),this.cn("list")),e.setAttribute("role","tablist");let t=this.instance.container;t.appendChild(e),I(t,this.cn("hasDots")),this.list=e}return e}refresh(){var e;let t=this.instance.pages.length,n=Math.min(2,this.option("minCount")),i=Math.max(2e3,this.option("maxCount")),r=this.option("dynamicFrom");if(t<n||t>i)return void this.cleanup();let s="number"==typeof r&&t>5&&t>=r,o=!this.list||this.isDynamic!==s||this.list.children.length!==t;o&&this.cleanup();let a=this.build();if(m(a,this.cn("isDynamic"),!!s),o)for(let e=0;e<t;e++)a.append(this.createItem(e));let l,c=0;for(let t of[...a.children]){let n=c===this.instance.page;for(let i of(n&&(l=t),m(t,this.cn("isCurrent"),n),null==(e=t.children[0])||e.setAttribute("aria-selected",n?"true":"false"),["isBeforePrev","isPrev","isNext","isAfterNext"]))A(t,this.cn(i));c++}if(l=l||a.firstChild,s&&l){let e=l.previousElementSibling,t=e&&e.previousElementSibling;I(e,this.cn("isPrev")),I(t,this.cn("isBeforePrev"));let n=l.nextElementSibling,i=n&&n.nextElementSibling;I(n,this.cn("isNext")),I(i,this.cn("isAfterNext"))}this.isDynamic=s}createItem(e=0){var t;let n=document.createElement("li");n.setAttribute("role","presentation");let i=p(this.instance.localize(this.option("dotTpl"),[["%d",e+1]]).replace(/\%i/g,e+""));return n.appendChild(i),null==(t=n.children[0])||t.setAttribute("role","tab"),n}cleanup(){this.list&&(this.list.remove(),this.list=null),this.isDynamic=!1,A(this.instance.container,this.cn("hasDots"))}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}}Object.defineProperty(Y,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{list:"f-carousel__dots",isDynamic:"is-dynamic",hasDots:"has-dots",dot:"f-carousel__dot",isBeforePrev:"is-before-prev",isPrev:"is-prev",isCurrent:"is-current",isNext:"is-next",isAfterNext:"is-after-next"},dotTpl:'<button type="button" data-carousel-page="%i" aria-label="{{GOTO}}"><span class="f-carousel__dot" aria-hidden="true"></span></button>',dynamicFrom:11,maxCount:1/0,minCount:2}});let G="disabled",U="next",X="prev";class Z extends W{constructor(){super(...arguments),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prev",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"next",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isDom",{enumerable:!0,configurable:!0,writable:!0,value:!1})}onRefresh(){let e=this.instance,t=e.pages.length,n=e.page;if(t<2)return void this.cleanup();this.build();let i=this.prev,r=this.next;i&&r&&(i.removeAttribute(G),r.removeAttribute(G),e.isInfinite||(n<=0&&i.setAttribute(G,""),n>=t-1&&r.setAttribute(G,"")))}addBtn(e){var t;let n=this.instance,i=document.createElement("button");i.setAttribute("tabindex","0"),i.setAttribute("title",n.localize(`{{${e.toUpperCase()}}}`)),I(i,this.cn("button")+" "+this.cn(e===U?"isNext":"isPrev"));let r=n.isRTL?e===U?X:U:e;return i.innerHTML=n.localize(this.option(`${r}Tpl`)),i.dataset[`carousel${e?e.match("^[a-z]")?e.charAt(0).toUpperCase()+e.substring(1):e:""}`]="true",null==(t=this.container)||t.appendChild(i),i}build(){let e=this.instance.container,t=this.cn("container"),{container:n,prev:i,next:r}=this;
1n||(n=e.querySelector("."+t),this.isDom=!!n),n||(I(n=document.createElement("div"),t),e.appendChild(n)),this.container=n,r||(r=n.querySelector("[data-carousel-next]")),r||(r=this.addBtn(U)),this.next=r,i||(i=n.querySelector("[data-carousel-prev]")),i||(i=this.addBtn(X)),this.prev=i}cleanup(){this.isDom||(this.prev&&this.prev.remove(),this.next&&this.next.remove(),this.container&&this.container.remove()),this.prev=null,this.next=null,this.container=null,this.isDom=!1}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}}Object.defineProperty(Z,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{container:"f-carousel__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"},nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"/></svg>',prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"/></svg>'}});class K extends W{constructor(){super(...arguments),Object.defineProperty(this,"selectedIndex",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"nav",{enumerable:!0,configurable:!0,writable:!0,value:null})}addAsTargetFor(e){this.target=this.instance,this.nav=e,this.attachEvents()}addAsNavFor(e){this.nav=this.instance,this.target=e,this.attachEvents()}attachEvents(){let{nav:e,target:t}=this;e&&t&&(e.options.initialSlide=t.options.initialPage,e.state===r.Ready?this.onNavReady(e):e.on("ready",this.onNavReady),t.state===r.Ready?this.onTargetReady(t):t.on("ready",this.onTargetReady))}onNavReady(e){e.on("createSlide",this.onNavCreateSlide),e.on("Panzoom.click",this.onNavClick),e.on("Panzoom.touchEnd",this.onNavTouch),this.onTargetChange()}onTargetReady(e){e.on("change",this.onTargetChange),e.on("Panzoom.refresh",this.onTargetChange),this.onTargetChange()}onNavClick(e,t,n){this.onNavTouch(e,e.panzoom,n)}onNavTouch(e,t,n){var i,r;if(Math.abs(t.dragOffset.x)>3||Math.abs(t.dragOffset.y)>3)return;let s=n.target,{nav:o,target:a}=this;if(!o||!a||!s)return;let l=s.closest("[data-index]");if(n.stopPropagation(),n.preventDefault(),!l)return;let c=parseInt(l.dataset.index||"",10)||0,u=a.getPageForSlide(c),d=o.getPageForSlide(c);o.slideTo(d),a.slideTo(u,{friction:(null==(r=null==(i=this.nav)?void 0:i.plugins)?void 0:r.Sync.option("friction"))||0}),this.markSelectedSlide(c)}onNavCreateSlide(e,t){t.index===this.selectedIndex&&this.markSelectedSlide(t.index)}onTargetChange(){var e,t;let{target:n,nav:i}=this;if(!n||!i||i.state!==r.Ready||n.state!==r.Ready)return;let s=null==(t=null==(e=n.pages[n.page])?void 0:e.slides[0])?void 0:t.index,o=i.getPageForSlide(s);this.markSelectedSlide(s),i.slideTo(o,null===i.prevPage&&null===n.prevPage?{friction:0}:void 0)}markSelectedSlide(e){let t=this.nav;t&&t.state===r.Ready&&(this.selectedIndex=e,[...t.slides].map(t=>{t.el&&t.el.classList[t.index===e?"add":"remove"]("is-nav-selected")}))}attach(){let e=this.options.target,t=this.options.nav;e?this.addAsNavFor(e):t&&this.addAsTargetFor(t)}detach(){let e=this.nav,t=this.target;e&&(e.off("ready",this.onNavReady),e.off("createSlide",this.onNavCreateSlide),e.off("Panzoom.click",this.onNavClick),e.off("Panzoom.touchEnd",this.onNavTouch)),this.nav=null,t&&(t.off("ready",this.onTargetReady),t.off("refresh",this.onTargetChange),t.off("change",this.onTargetChange)),this.target=null}}Object.defineProperty(K,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{friction:.35}});let J="animationend",Q="isSelected",ee="slide";class et extends C{get axis(){return this.isHorizontal?"e":"f"}get isEnabled(){return this.state===r.Ready}get isInfinite(){let e=!1,{contentDim:t,viewportDim:n,pages:i,slides:r}=this,s=r[0];return i.length>=2&&s&&t+s.dim>=n&&(e=this.option("infinite")),e}get isRTL(){return"rtl"===this.option("direction")}get isHorizontal(){return"x"===this.option("axis")}constructor(e,t={},n={}){if(super(),Object.defineProperty(this,"bp",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"lp",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"userOptions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:r.Init}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"prevPage",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"viewport",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"slides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pages",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"panzoom",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"inTransition",{enumerable:!0,configurable:!0,writable:!0,value:new Set}),Object.defineProperty(this,"contentDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"viewportDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),"string"==typeof e&&(e=document.querySelector(e)),!e||!L(e))throw Error("No Element found");this.container=e,this.slideNext=H(this.slideNext.bind(this),150),this.slidePrev=H(this.slidePrev.bind(this),150),this.userOptions=t,this.userPlugins=n,queueMicrotask(()=>{this.processOptions()})}processOptions(){var e,t;let n=S({},et.defaults,this.userOptions),i="",s=n.breakpoints;if(s&&x(s))for(let[e,t]of Object.entries(s))window.matchMedia(e).matches&&x(t)&&(i+=e,S(n,t));i===this.bp&&this.state!==r.Init||(this.bp=i,this.state===r.Ready&&(n.initialSlide=(null==(t=null==(e=this.pages[this.page])?void 0:e.slides[0])?void 0:t.index)||0),this.state!==r.Init&&this.destroy(),super.setOptions(n),!1===this.option("enabled")?this.attachEvents():setTimeout(()=>{this.init()},0))}
1init(){this.state=r.Init,this.emit("init"),this.attachPlugins(Object.assign(Object.assign({},et.Plugins),this.userPlugins)),this.emit("attachPlugins"),this.initLayout(),this.initSlides(),this.updateMetrics(),this.setInitialPosition(),this.initPanzoom(),this.attachEvents(),this.state=r.Ready,this.emit("ready")}initLayout(){let{container:e}=this,t=this.option("classes");I(e,this.cn("container")),m(e,t.isLTR,!this.isRTL),m(e,t.isRTL,this.isRTL),m(e,t.isVertical,!this.isHorizontal),m(e,t.isHorizontal,this.isHorizontal);let n=this.option("viewport")||e.querySelector(`.${t.viewport}`);n||(I(n=document.createElement("div"),t.viewport),n.append(...$(e,`.${t.slide}`)),e.prepend(n)),n.addEventListener("scroll",this.onScroll);let i=this.option("track")||e.querySelector(`.${t.track}`);i||(I(i=document.createElement("div"),t.track),i.append(...Array.from(n.childNodes))),i.setAttribute("aria-live","polite"),n.contains(i)||n.prepend(i),this.viewport=n,this.track=i,this.emit("initLayout")}initSlides(){let{track:e}=this;if(!e)return;let t=[...this.slides],n=[];for(let i of([...$(e,`.${this.cn(ee)}`)].forEach(e=>{if(L(e)){let t=q({el:e,isDom:!0,index:this.slides.length});n.push(t)}}),[...this.option("slides",[])||[],...t]))n.push(q(i));this.slides=n;for(let e=0;e<this.slides.length;e++)this.slides[e].index=e;
1for(let e of n)this.emit("beforeInitSlide",e,e.index),this.emit("initSlide",e,e.index);this.emit("initSlides")}setInitialPage(){let e=this.option("initialSlide");this.page="number"==typeof e?this.getPageForSlide(e):parseInt(this.option("initialPage",0)+"",10)||0}setInitialPosition(){let{track:e,pages:t,isHorizontal:n}=this;if(!e||!t.length)return;let i=this.page;t[i]||(this.page=i=0);let r=(t[i].pos||0)*(this.isRTL&&n?1:-1),s=n?`${r}px`:"0",o=n?"0":`${r}px`;e.style.transform=`translate3d(${s}, ${o}, 0) scale(1)`,this.option("adaptiveHeight")&&this.setViewportHeight()}initPanzoom(){this.panzoom&&(this.panzoom.destroy(),this.panzoom=null);let e=this.option("Panzoom")||{};this.panzoom=new B(this.viewport,S({},{content:this.track,zoom:!1,panOnlyZoomed:!1,lockAxis:this.isHorizontal?"x":"y",infinite:this.isInfinite,click:!1,dblClick:!1,touch:e=>!(this.pages.length<2&&!e.options.infinite),bounds:()=>this.getBounds(),maxVelocity:e=>100*(Math.abs(e.target[this.axis]-e.current[this.axis])<2*this.viewportDim)},e)),this.panzoom.on("*",(e,t,...n)=>{this.emit(`Panzoom.${t}`,e,...n)}),this.panzoom.on("decel",this.onDecel),this.panzoom.on("refresh",this.onRefresh),this.panzoom.on("beforeTransform",this.onBeforeTransform),this.panzoom.on("endAnimation",this.onEndAnimation)}attachEvents(){let e=this.container;e&&(e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("slideTo",this.onSlideTo)),window.addEventListener("resize",this.onResize)}createPages(){let e=[],{contentDim:t,viewportDim:n}=this,i=this.option("slidesPerPage");i=("auto"===i||t<=n)&&!1!==this.option("fill")?1/0:parseFloat(i+"");let r=0,s=0,o=0;for(let t of this.slides)(!e.length||s+t.dim-n>.05||o>=i)&&(e.push(V()),r=e.length-1,s=0,o=0),e[r].slides.push(t),s+=t.dim+t.gap,o++;return e}processPages(){let e,t=this.pages,{contentDim:n,viewportDim:i,isInfinite:r}=this,s=this.option("center"),o=this.option("fill"),a=o&&s&&n>i&&!r;if(t.forEach((e,t)=>{var r;for(let[n,i]of(e.index=t,e.pos=(null==(r=e.slides[0])?void 0:r.pos)||0,e.dim=0,e.slides.entries()))e.dim+=i.dim,n<e.slides.length-1&&(e.dim+=i.gap);a&&e.pos+.5*e.dim<.5*i?e.pos=0:a&&e.pos+.5*e.dim>=n-.5*i?e.pos=n-i:s&&(e.pos+=-.5*(i-e.dim))}),t.forEach(e=>{o&&!r&&n>i&&(e.pos=Math.max(e.pos,0),e.pos=Math.min(e.pos,n-i)),e.pos=u(e.pos,1e3),e.dim=u(e.dim,1e3),.1>=Math.abs(e.pos)&&(e.pos=0)}),r)return t;let l=[];return t.forEach(t=>{let n=Object.assign({},t);e&&n.pos===e.pos?(e.dim+=n.dim,e.slides=[...e.slides,...n.slides]):(n.index=l.length,e=n,l.push(n))}),l}getPageFromIndex(e=0){let t=this.pages.length;return e=parseInt((e||0).toString())||0,this.isInfinite?(e%t+t)%t:Math.max(Math.min(e,t-1),0)}getSlideMetrics(e){var t,n;let i=this.isHorizontal?"width":"height",r=0,s=0,o=e.el,a=!(!o||o.parentNode);if(o?r=parseFloat(o.dataset[i]||"")||0:((o=document.createElement("div")).style.visibility="hidden",(this.track||document.body).prepend(o)),I(o,this.cn(ee)+" "+e.class+" "+e.customClass),r)o.style[i]=`${r}px`,o.style["width"===i?"height":"width"]="";else{a&&(this.track||document.body).prepend(o),r=o.getBoundingClientRect()[i]*Math.max(1,(null==(t=window.visualViewport)?void 0:t.scale)||1);let e=o[this.isHorizontal?"offsetWidth":"offsetHeight"];e-1>r&&(r=e)}let l=getComputedStyle(o);return"content-box"===l.boxSizing&&(this.isHorizontal?(r+=parseFloat(l.paddingLeft)||0,r+=parseFloat(l.paddingRight)||0):(r+=parseFloat(l.paddingTop)||0,r+=parseFloat(l.paddingBottom)||0)),s=parseFloat(l[this.isHorizontal?"marginRight":"marginBottom"])||0,a?null==(n=o.parentElement)||n.removeChild(o):e.el||o.remove(),{dim:u(r,1e3),gap:u(s,1e3)}}getBounds(){let{isInfinite:e,isRTL:t,isHorizontal:n,pages:i}=this,r={min:0,max:0};if(e)r={min:-1/0,max:1/0};else if(i.length){let e=i[0].pos,s=i[i.length-1].pos;r=t&&n?{min:e,max:s}:{min:-1*s,max:-1*e}}return{x:n?r:{min:0,max:0},y:n?{min:0,max:0}:r}}repositionSlides(){let e,{isHorizontal:t,isRTL:n,isInfinite:i,viewport:r,viewportDim:s,contentDim:o,page:a,pages:l,slides:c,panzoom:d}=this,h=0,p=0,f=0,m=0;for(let i of(d?m=-1*d.current[this.axis]:l[a]&&(m=l[a].pos||0),e=t?n?"right":"left":"top",n&&t&&(m*=-1),c)){let t=i.el;t?("top"===e?(t.style.right="",t.style.left=""):t.style.top="",i.index!==h?t.style[e]=0===p?"":`${u(p,1e3)}px`:t.style[e]="",f+=i.dim+i.gap,h++):p+=i.dim+i.gap}if(i&&f&&r){let n=getComputedStyle(r),i="padding",a=parseFloat(n[i+(t?"Left":"Top")]);for(let r of(m-=a,s+=a,s+=parseFloat(n[i+(t?"Right":"Bottom")]),c))r.el&&(u(r.pos)<u(s)&&u(r.pos+r.dim+r.gap)<u(m)&&u(m)>u(o-s)&&(r.el.style[e]=`${u(p+f,1e3)}px`),u(r.pos+r.gap)>=u(o-s)&&u(r.pos)>u(m+s)&&u(m)<u(s)&&(r.el.style[e]=`-${u(f,1e3)}px`))}let g,v,b=[...this.inTransition];if(b.length>1&&(g=l[b[0]],v=l[b[1]]),g&&v){let t=0;for(let n of c)n.el?this.inTransition.has(n.index)&&0>g.slides.indexOf(n)&&(n.el.style[e]=`${u(t+(g.pos-v.pos),1e3)}px`):t+=n.dim+n.gap}}createSlideEl(e){let{track:t,slides:n}=this;if(!t||!e||e.el&&e.el.parentNode)return;let i=e.el||document.createElement("div");I(i,this.cn(ee)),I(i,e.class),I(i,e.customClass);let r=e.html;r&&(r instanceof HTMLElement?i.appendChild(r):i.innerHTML=e.html+"");let s=[];
1n.forEach((e,t)=>{e.el&&s.push(t)});let o=e.index,a=null;s.length&&(a=n[s.reduce((e,t)=>Math.abs(t-o)<Math.abs(e-o)?t:e)]);let l=a&&a.el&&a.el.parentNode?a.index<e.index?a.el.nextSibling:a.el:null;t.insertBefore(i,t.contains(l)?l:null),e.el=i,this.emit("createSlide",e)}removeSlideEl(e,t=!1){let n=null==e?void 0:e.el;if(!n||!n.parentNode)return;let i=this.cn(Q);if(n.classList.contains(i)&&(A(n,i),this.emit("unselectSlide",e)),e.isDom&&!t)return n.removeAttribute("aria-hidden"),n.removeAttribute("data-index"),void(n.style.left="");this.emit("removeSlide",e);let r=new CustomEvent(J);n.dispatchEvent(r),e.el&&(e.el.remove(),e.el=null)}transitionTo(e=0,t=this.option("transition")){var n,i,r,s;if(!t)return!1;let o=this.page,{pages:a,panzoom:l}=this;e=parseInt((e||0).toString())||0;let c=this.getPageFromIndex(e);if(!l||!a[c]||a.length<2||Math.abs(((null==(i=null==(n=a[o])?void 0:n.slides[0])?void 0:i.dim)||0)-this.viewportDim)>1)return!1;let u=e>o?1:-1;this.isInfinite&&(0===o&&e===a.length-1&&(u=-1),o===a.length-1&&0===e&&(u=1));let d=a[c].pos*(this.isRTL?1:-1);if(o===c&&1>Math.abs(d-l.target[this.axis]))return!1;this.clearTransitions();let h=l.isResting;I(this.container,this.cn("inTransition"));let p=(null==(r=a[o])?void 0:r.slides[0])||null,f=(null==(s=a[c])?void 0:s.slides[0])||null;this.inTransition.add(f.index),this.createSlideEl(f);let m=p.el,g=f.el;h||t===ee||(t="fadeFast",m=null);let v=this.isRTL?"next":"prev",b=this.isRTL?"prev":"next";return m&&(this.inTransition.add(p.index),p.transition=t,m.addEventListener(J,this.onAnimationEnd),m.classList.add(`f-${t}Out`,`to-${u>0?b:v}`)),g&&(f.transition=t,g.addEventListener(J,this.onAnimationEnd),g.classList.add(`f-${t}In`,`from-${u>0?v:b}`)),l.current[this.axis]=d,l.target[this.axis]=d,l.requestTick(),this.onChange(c),!0}manageSlideVisiblity(){let e=new Set,t=new Set,n=this.getVisibleSlides(parseFloat(this.option("preload",0)+"")||0);for(let i of this.slides)n.has(i)?e.add(i):t.add(i);for(let t of this.inTransition)e.add(this.slides[t]);for(let t of e)this.createSlideEl(t),this.lazyLoadSlide(t);for(let n of t)e.has(n)||this.removeSlideEl(n);this.markSelectedSlides(),this.repositionSlides()}markSelectedSlides(){if(!this.pages[this.page]||!this.pages[this.page].slides)return;let e="aria-hidden",t=this.cn(Q);if(t)for(let n of this.slides){let i=n.el;i&&(i.dataset.index=`${n.index}`,i.classList.contains("f-thumbs__slide")?this.getVisibleSlides(0).has(n)?i.removeAttribute(e):i.setAttribute(e,"true"):this.pages[this.page].slides.includes(n)?(i.classList.contains(t)||(I(i,t),this.emit("selectSlide",n)),i.removeAttribute(e)):(i.classList.contains(t)&&(A(i,t),this.emit("unselectSlide",n)),i.setAttribute(e,"true")))}}flipInfiniteTrack(){let{axis:e,isHorizontal:t,isInfinite:n,isRTL:i,viewportDim:r,contentDim:s}=this,o=this.panzoom;if(!o||!n)return;let a=o.current[e],l=o.target[e]-a,c=0,u=.5*r;i&&t?(a<-u&&(c=-1,a+=s),a>s-u&&(c=1,a-=s)):(a>u&&(c=1,a-=s),a<-s+u&&(c=-1,a+=s)),c&&(o.current[e]=a,o.target[e]=a+l)}lazyLoadImg(e,t){let n=this,i="f-fadeIn",r="is-preloading",s=!1,o=null,a=()=>{s||(s=!0,o&&(o.remove(),o=null),A(t,r),t.complete&&(I(t,i),setTimeout(()=>{A(t,i)},350)),this.option("adaptiveHeight")&&e.el&&this.pages[this.page].slides.indexOf(e)>-1&&(n.updateMetrics(),n.setViewportHeight()),this.emit("load",e))};I(t,r),t.src=t.dataset.lazySrcset||t.dataset.lazySrc||"",delete t.dataset.lazySrc,delete t.dataset.lazySrcset,t.addEventListener("error",()=>{a()}),t.addEventListener("load",()=>{a()}),setTimeout(()=>{let n=t.parentNode;n&&e.el&&(t.complete?a():s||(o=p(O),n.insertBefore(o,t)))},300)}lazyLoadSlide(e){let t=e&&e.el;if(!t)return;let n=new Set,i=Array.from(t.querySelectorAll("[data-lazy-src],[data-lazy-srcset]"));for(let r of(t.dataset.lazySrc&&i.push(t),i.map(e=>{e instanceof HTMLImageElement?n.add(e):e instanceof HTMLElement&&e.dataset.lazySrc&&(e.style.backgroundImage=`url('${e.dataset.lazySrc}')`,delete e.dataset.lazySrc)}),n))this.lazyLoadImg(e,r)}onAnimationEnd(e){var t;let n=e.target,i=n?parseInt(n.dataset.index||"",10)||0:-1,r=this.slides[i],s=e.animationName;if(!n||!r||!s)return;let o=!!this.inTransition.has(i)&&r.transition;o&&s.substring(0,o.length+2)===`f-${o}`&&this.inTransition.delete(i),this.inTransition.size||this.clearTransitions(),i===this.page&&(null==(t=this.panzoom)?void 0:t.isResting)&&this.emit
1("settle")}onDecel(e,t=0,n=0,i=0,r=0){if(this.option("dragFree"))return void this.setPageFromPosition();let{isRTL:s,isHorizontal:o,axis:a,pages:l}=this,c=l.length,u=Math.abs(Math.atan2(n,t)/(Math.PI/180)),d=0;if(d=u>45&&u<135?o?0:n:o?t:0,!c)return;let h=this.page,p=s&&o?1:-1,f=e.current[a]*p,{pageIndex:m}=this.getPageFromPosition(f);Math.abs(d)>5?(l[h].dim<document.documentElement["client"+(this.isHorizontal?"Width":"Height")]-1&&(h=m),h=s&&o?d<0?h-1:h+1:d<0?h+1:h-1):h=0===i&&0===r?h:m,this.slideTo(h,{transition:!1,friction:e.option("decelFriction")})}onClick(e){let t,n,i=e.target,r=i&&L(i)?i.dataset:null;r&&(void 0!==r.carouselPage?(n="slideTo",t=r.carouselPage):void 0!==r.carouselNext?n="slideNext":void 0!==r.carouselPrev&&(n="slidePrev")),n?(e.preventDefault(),e.stopPropagation(),i&&!i.hasAttribute("disabled")&&this[n](t)):this.emit("click",e)}onSlideTo(e){let t=e.detail||0;this.slideTo(this.getPageForSlide(t),{friction:0})}onChange(e,t=0){let n=this.page;this.prevPage=n,this.page=e,this.option("adaptiveHeight")&&this.setViewportHeight(),e!==n&&(this.markSelectedSlides(),this.emit("change",e,n,t))}onRefresh(){let e=this.contentDim,t=this.viewportDim;this.updateMetrics(),this.contentDim===e&&this.viewportDim===t||this.slideTo(this.page,{friction:0,transition:!1})}onScroll(){var e;null==(e=this.viewport)||e.scroll(0,0)}onResize(){this.option("breakpoints")&&this.processOptions()}onBeforeTransform(e){this.lp!==e.current[this.axis]&&(this.flipInfiniteTrack(),this.manageSlideVisiblity()),this.lp=e.current.e}onEndAnimation(){this.inTransition.size||this.emit("settle")}reInit(e=null,t=null){this.destroy(),this.state=r.Init,this.prevPage=null,this.userOptions=e||this.userOptions,this.userPlugins=t||this.userPlugins,this.processOptions()}slideTo(e=0,{friction:t=this.option("friction"),transition:n=this.option("transition")}={}){if(this.state===r.Destroy)return;e=parseInt((e||0).toString())||0;let i=this.getPageFromIndex(e),{axis:s,isHorizontal:o,isRTL:a,pages:l,panzoom:c}=this,u=l.length,d=a&&o?1:-1;if(!c||!u)return;if(this.page!==i){let t=new Event("beforeChange",{bubbles:!0,cancelable:!0});if(this.emit("beforeChange",t,e),t.defaultPrevented)return}if(this.transitionTo(e,n))return;let h=l[i].pos;if(this.isInfinite){let t=this.contentDim,n=c.target[s]*d;2===u?h+=t*Math.floor(parseFloat(e+"")/2):h=[h,h-t,h+t].reduce(function(e,t){return Math.abs(t-n)<Math.abs(e-n)?t:e})}h*=d,1>Math.abs(c.target[s]-h)||(c.panTo({x:o?h:0,y:o?0:h,friction:t}),this.onChange(i))}slideToClosest(e){if(this.panzoom){let{pageIndex:t}=this.getPageFromPosition();this.slideTo(t,e)}}slideNext(){this.slideTo(this.page+1)}slidePrev(){this.slideTo(this.page-1)}clearTransitions(){this.inTransition.clear(),A(this.container,this.cn("inTransition"));let e=["to-prev","to-next","from-prev","from-next"];for(let t of this.slides){let n=t.el;if(n){n.removeEventListener(J,this.onAnimationEnd),n.classList.remove(...e);let i=t.transition;i&&n.classList.remove(`f-${i}Out`,`f-${i}In`)}}this.manageSlideVisiblity()}addSlide(e,t){var n,i,r,s;let o=this.panzoom,a=(null==(n=this.pages[this.page])?void 0:n.pos)||0,l=(null==(i=this.pages[this.page])?void 0:i.dim)||0,c=this.contentDim<this.viewportDim,u=Array.isArray(t)?t:[t],d=[];for(let e of u)d.push(q(e));this.slides.splice(e,0,...d);for(let e=0;e<this.slides.length;e++)this.slides[e].index=e;for(let e of d)this.emit("beforeInitSlide",e,e.index);if(this.page>=e&&(this.page+=d.length),this.updateMetrics(),o){let t=(null==(r=this.pages[this.page])?void 0:r.pos)||0,n=(null==(s=this.pages[this.page])?void 0:s.dim)||0,i=this.pages.length||1,u=this.isRTL?l-n:n-l,d=this.isRTL?a-t:t-a;c&&1===i?(e<=this.page&&(o.current[this.axis]-=u,o.target[this.axis]-=u),o.panTo({[this.isHorizontal?"x":"y"]:-1*t})):d&&e<=this.page&&(o.target[this.axis]-=d,o.current[this.axis]-=d,o.requestTick())}for(let e of d)this.emit("initSlide",e,e.index)}prependSlide(e){this.addSlide(0,e)}appendSlide(e){this.addSlide(this.slides.length,e)}removeSlide(e){let t=this.slides.length;e=(e%t+t)%t;let n=this.slides[e];if(n){this.removeSlideEl(n,!0),this.slides.splice(e,1);for(let e=0;e<this.slides.length;e++)this.slides[e].index=e;this.updateMetrics(),this.slideTo(this.page,{friction:0,transition:!1}
1),this.emit("destroySlide",n)}}updateMetrics(){let{panzoom:e,viewport:t,track:n,slides:i,isHorizontal:s,isInfinite:o}=this;if(!n)return;let a=s?"width":"height";if(t){let e=Math.max(t[s?"offsetWidth":"offsetHeight"],u(t.getBoundingClientRect()[a],1e3)),n=getComputedStyle(t),i="padding";e-=parseFloat(n[i+(s?"Left":"Top")])+parseFloat(n[i+(s?"Right":"Bottom")]),this.viewportDim=e}let l,c=0;for(let[e,t]of i.entries()){let n=0,r=0;!t.el&&l?(n=l.dim,r=l.gap):({dim:n,gap:r}=this.getSlideMetrics(t),l=t),n=u(n,1e3),r=u(r,1e3),t.dim=n,t.gap=r,t.pos=c,c+=n,(o||e<i.length-1)&&(c+=r)}c=u(c,1e3),this.contentDim=c,e&&(e.contentRect[a]=c,e.contentRect[s?"fullWidth":"fullHeight"]=c),this.pages=this.createPages(),this.pages=this.processPages(),this.state===r.Init&&this.setInitialPage(),this.page=Math.max(0,Math.min(this.page,this.pages.length-1)),this.manageSlideVisiblity(),this.emit("refresh")}getProgress(e,t=!1,n=!1){void 0===e&&(e=this.page);let i=this.panzoom,r=this.contentDim,s=this.pages[e]||0;if(!s||!i)return e>this.page?-1:1;let o=-1*i.current.e,a=u((o-s.pos)/s.dim,1e3),l=a,c=a;this.isInfinite&&!0!==n&&(l=u((o-s.pos+r)/s.dim,1e3),c=u((o-s.pos-r)/s.dim,1e3));let d=[a,l,c].reduce(function(e,t){return Math.abs(t)<Math.abs(e)?t:e});return t?d:d>1?1:d<-1?-1:d}setViewportHeight(){let{page:e,pages:t,viewport:n,isHorizontal:i}=this;if(!n||!t[e])return;let r=0;i&&this.track&&(this.track.style.height="auto",t[e].slides.forEach(e=>{e.el&&(r=Math.max(r,e.el.offsetHeight))})),n.style.height=r?`${r}px`:""}getPageForSlide(e){for(let t of this.pages)for(let n of t.slides)if(n.index===e)return t.index;return -1}getVisibleSlides(e=0){var t;let n=new Set,{panzoom:r,contentDim:s,viewportDim:o,pages:a,page:l}=this;if(o){s=s+(null==(t=this.slides[this.slides.length-1])?void 0:t.gap)||0;let c=0;c=r&&r.state!==i.Init&&r.state!==i.Destroy?-1*r.current[this.axis]:a[l]&&a[l].pos||0,this.isInfinite&&(c-=Math.floor(c/s)*s),this.isRTL&&this.isHorizontal&&(c*=-1);let u=c-o*e,d=c+o*(e+1),h=this.isInfinite?[-1,0,1]:[0];for(let e of this.slides)for(let t of h){let i=e.pos+t*s,r=i+e.dim+e.gap;i<d&&r>u&&n.add(e)}}return n}getPageFromPosition(e){let{viewportDim:t,contentDim:n,slides:i,pages:r,panzoom:s}=this,o=r.length,a=i.length,l=i[0],c=i[a-1],u=this.option("center"),d=0,h=0,p=void 0===e?-1*((null==s?void 0:s.target[this.axis])||0):e;u&&(p+=.5*t),this.isInfinite?(p<l.pos-.5*c.gap&&(p-=n,h=-1),p>c.pos+c.dim+.5*c.gap&&(p-=n,h=1)):p=Math.max(l.pos||0,Math.min(p,c.pos));let f=c,m=i.find(e=>{let t=e.pos-.5*f.gap,n=e.pos+e.dim+.5*e.gap;return f=e,p>=t&&p<n});return m||(m=c),{page:(d=this.getPageForSlide(m.index))+h*o,pageIndex:d}}setPageFromPosition(){let{pageIndex:e}=this.getPageFromPosition();this.onChange(e)}destroy(){if([r.Destroy].includes(this.state))return;this.state=r.Destroy;let{container:e,viewport:t,track:n,slides:i,panzoom:s}=this,o=this.option("classes");for(let[r,a]of(e.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),e.removeEventListener("slideTo",this.onSlideTo),window.removeEventListener("resize",this.onResize),s&&(s.destroy(),this.panzoom=null),i&&i.forEach(e=>{this.removeSlideEl(e)}),this.detachPlugins(),t&&(t.removeEventListener("scroll",this.onScroll),t.offsetParent&&n&&n.offsetParent&&t.replaceWith(...n.childNodes)),Object.entries(o)))"container"!==r&&a&&e.classList.remove(a);this.track=null,this.viewport=null,this.page=0,this.slides=[];let a=this.events.get("ready");this.events=new Map,a&&this.events.set("ready",a)}}Object.defineProperty(et,"Panzoom",{enumerable:!0,configurable:!0,writable:!0,value:B}),Object.defineProperty(et,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{viewport:null,track:null,enabled:!0,slides:[],axis:"x",transition:"fade",preload:1,slidesPerPage:"auto",initialPage:0,friction:.12,Panzoom:{decelFriction:.12},center:!0,infinite:!0,fill:!0,dragFree:!1,adaptiveHeight:!1,direction:"ltr",classes:{container:"f-carousel",viewport:"f-carousel__viewport",track:"f-carousel__track",slide:"f-carousel__slide",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",inTransition:"in-transition",isSelected:"is-selected"},l10n:{NEXT:"Next slide",PREV:"Previous slide",GOTO:"Go to slide #%d"}}}),Object.defineProperty(et,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:{Navigation:Z,Dots:Y,Sync:K}});let en=function(e){if(!L(e))return 0;let t=window.scrollY,n=window.innerHeight,i=t+n,r=e.getBoundingClientRect(),s=r.y+t,o=r.height,a=s+o;if(t>a||i<s)return 0;if(t<s&&i>a||s<t&&a>i)return 100;let l=o;return s<t&&(l-=t-s),a>i&&(l-=a-i),Math.round(l/n*100)},ei=!("undefined"==typeof window||!window.document||!window.document.createElement),er='a[href],area[href],input:not([disabled]):not([type="hidden"]):not([aria-hidden]),select:not([disabled]):not([aria-hidden]),textarea:not([disabled]):not([aria-hidden]),button:not([disabled]):not([aria-hidden]):not(.fancybox-focus-guard),iframe,object,embed,video,audio,[contenteditable],[tabindex]:not
1([tabindex^="-"]):not([disabled]):not([aria-hidden])',es=e=>{if(e&&ei){void 0===c&&document.createElement("div").focus({get preventScroll(){return c=!0,!1}});try{if(c)e.focus({preventScroll:!0});else{let t=window.scrollY||document.body.scrollTop,n=window.scrollX||document.body.scrollLeft;e.focus(),document.body.scrollTo({top:t,left:n,behavior:"auto"})}}catch(e){}}},eo=()=>{let e=document,t,n="",i="",r="";return e.fullscreenEnabled?(n="requestFullscreen",i="exitFullscreen",r="fullscreenElement"):e.webkitFullscreenEnabled&&(n="webkitRequestFullscreen",i="webkitExitFullscreen",r="webkitFullscreenElement"),n&&(t={request:function(t=e.documentElement){return"webkitRequestFullscreen"===n?t[n](Element.ALLOW_KEYBOARD_INPUT):t[n]()},exit:function(){return e[r]&&e[i]()},isFullscreen:function(){return e[r]}}),t},ea={animated:!0,autoFocus:!0,backdropClick:"close",Carousel:{classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",track:"fancybox__track",slide:"fancybox__slide"}},closeButton:"auto",closeExisting:!1,commonCaption:!1,compact:()=>window.matchMedia("(max-width: 578px), (max-height: 578px)").matches,contentClick:"toggleZoom",contentDblClick:!1,defaultType:"image",defaultDisplay:"flex",dragToClose:!0,Fullscreen:{autoStart:!1},groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,idle:3500,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:Object.assign(Object.assign({},P),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"}),parentEl:null,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,tpl:{closeButton:'<button data-fancybox-close class="f-button is-close-btn" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M20 20L4 4m16 0L4 20"/></svg></button>',main:'<div class="fancybox__container" role="dialog" aria-modal="true" aria-label="{{MODAL}}" tabindex="-1">\n <div class="fancybox__backdrop"></div>\n <div class="fancybox__carousel"></div>\n <div class="fancybox__footer"></div>\n </div>'},trapFocus:!0,wheel:"zoom"};!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Closing=2]="Closing",e[e.CustomClosing=3]="CustomClosing",e[e.Destroy=4]="Destroy"}(s||(s={})),function(e){e[e.Loading=0]="Loading",e[e.Opening=1]="Opening",e[e.Ready=2]="Ready",e[e.Closing=3]="Closing"}(o||(o={}));let el="",ec=!1,eu=!1,ed=null,eh=()=>{let e="",t="",n=tc.getInstance();if(n){let i=n.carousel,r=n.getSlide();if(i&&r){let s=r.slug||void 0,o=r.triggerEl||void 0;(t=s||n.option("slug")||"")||!o||!o.dataset||(t=o.dataset.fancybox||""),t&&"true"!==t&&(e="#"+t+(!s&&i.slides.length>1?"-"+(r.index+1):""))}}return{hash:e,slug:t,index:1}},ep=()=>{let e=new URL(document.URL).hash,t=e.slice(1).split("-"),n=t[t.length-1],i=n&&/^\+?\d+$/.test(n)&&parseInt(t.pop()||"1",10)||1;return{hash:e,slug:t.join("-"),index:i}},ef=()=>{let{slug:e,index:t}=ep();if(!e)return;let n=document.querySelector(`[data-slug="${e}"]`);if(n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),tc.getInstance())return;let i=document.querySelectorAll(`[data-fancybox="${e}"]`);i.length&&(n=i[t-1])&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0}))},em=()=>{if(!1===tc.defaults.Hash)return;let e=tc.getInstance();if(!1===(null==e?void 0:e.options.Hash))return;let{slug:t,index:n}=ep(),{slug:i}=eh();e&&(t===i?e.jumpTo(n-1):(ec=!0,e.close())),ef()},eg=()=>{ed&&clearTimeout(ed),queueMicrotask(()=>{em()})},ev=()=>{window.addEventListener("hashchange",eg,!1),setTimeout(()=>{em()},500)};ei&&(/complete|interactive|loaded/.test(document.readyState)?ev():document.addEventListener("DOMContentLoaded",ev));let eb="is-zooming-in";class ey extends W{onCreateSlide(e,t,n){let i=this.instance.optionFor(n,"src")||"";n.el&&"image"===n.type&&"string"==typeof i&&this.setImage(n,i)}onRemoveSlide(e,t,n){n.panzoom&&n.panzoom.destroy(),n.panzoom=void 0,n.imageEl=void 0}onChange(e,t,n,i){for(let e of(A(this.instance.container,eb),t.slides)){let t=e.panzoom;t&&e.index!==n&&t.reset(.35)}}onClose(){var e;let t=this.instance,n=t.container,r=t.getSlide();if(!n||!n.parentElement||!r)return;let{el:o,contentEl:a,panzoom:l,thumbElSrc:c}=r;if(!o||!c||!a||!l||l.isContentLoading||l.state===i.Init||l.state===i.Destroy)return;l.updateMetrics();let u=this.getZoomInfo(r);if(!u)return;this.instance.state=s.CustomClosing,n.classList.remove(eb),n.classList.add("is-zooming-out"),a.style.backgroundImage=`url('${c}')`;let d=n.getBoundingClientRect();
11===((null==(e=window.visualViewport)?void 0:e.scale)||1)&&Object.assign(n.style,{position:"absolute",top:`${n.offsetTop+window.scrollY}px`,left:`${n.offsetLeft+window.scrollX}px`,bottom:"auto",right:"auto",width:`${d.width}px`,height:`${d.height}px`,overflow:"hidden"});let{x:h,y:p,scale:f,opacity:m}=u;if(m){let e=((e,t,n,i)=>{let r=t-e,s=i-n;return t=>n+((t-e)/r*s||0)})(l.scale,f,1,0);l.on("afterTransform",()=>{a.style.opacity=e(l.scale)+""})}l.on("endAnimation",()=>{t.destroy()}),l.target.a=f,l.target.b=0,l.target.c=0,l.target.d=f,l.panTo({x:h,y:p,scale:f,friction:m?.2:.33,ignoreBounds:!0}),l.isResting&&t.destroy()}setImage(e,t){let n=this.instance;e.src=t,this.process(e,t).then(t=>{let{contentEl:i,imageEl:r,thumbElSrc:s,el:a}=e;if(n.isClosing()||!i||!r)return;i.offsetHeight;let l=!!n.isOpeningSlide(e)&&this.getZoomInfo(e);if(this.option("protected")&&a){a.addEventListener("contextmenu",e=>{e.preventDefault()});let e=document.createElement("div");I(e,"fancybox-protected"),i.appendChild(e)}if(s&&l){let r=t.contentRect,a=Math.max(r.fullWidth,r.fullHeight),c=null;!l.opacity&&a>1200&&(I(c=document.createElement("img"),"fancybox-ghost"),c.src=s,i.appendChild(c));let u=()=>{c&&(I(c,"f-fadeFastOut"),setTimeout(()=>{c&&(c.remove(),c=null)},200))};new Promise((e,t)=>{let n=new Image;n.onload=e,n.onerror=t,n.src=s}).then(()=>{n.hideLoading(e),e.state=o.Opening,this.instance.emit("reveal",e),this.zoomIn(e).then(()=>{u(),this.instance.done(e)},()=>{}),c&&setTimeout(()=>{u()},a>2500?800:200)},()=>{n.hideLoading(e),n.revealContent(e)})}else{let i=this.optionFor(e,"initialSize"),r=this.optionFor(e,"zoom"),s={event:n.prevMouseMoveEvent||n.options.event,friction:.12*!!r},o=n.optionFor(e,"showClass")||void 0,a=!0;n.isOpeningSlide(e)&&("full"===i?t.zoomToFull(s):"cover"===i?t.zoomToCover(s):"max"===i?t.zoomToMax(s):a=!1,t.stop("current")),a&&o&&(o=t.isDragging?"f-fadeIn":""),n.hideLoading(e),n.revealContent(e,o)}},()=>{n.setError(e,"{{IMAGE_ERROR}}")})}process(e,t){return new Promise((n,i)=>{var r;let s=this.instance,o=e.el;s.clearContent(e),s.showLoading(e);let a=this.optionFor(e,"content");if("string"==typeof a&&(a=p(a)),!a||!L(a)){if((a=document.createElement("img"))instanceof HTMLImageElement){let n="",i=e.caption;n="string"==typeof i&&i?i.replace(/<[^>]+>/gi,"").substring(0,1e3):`Image ${e.index+1} of ${(null==(r=s.carousel)?void 0:r.pages.length)||1}`,a.src=t||"",a.alt=n,a.draggable=!1,e.srcset&&a.setAttribute("srcset",e.srcset),this.instance.isOpeningSlide(e)&&(a.fetchPriority="high")}e.sizes&&a.setAttribute("sizes",e.sizes)}I(a,"fancybox-image"),e.imageEl=a,s.setContent(e,a,!1),e.panzoom=new B(o,S({transformParent:!0},this.option("Panzoom")||{},{content:a,width:(t,n)=>s.optionFor(e,"width","auto",n)||"auto",height:(t,n)=>s.optionFor(e,"height","auto",n)||"auto",wheel:()=>{let e=s.option("wheel");return("zoom"===e||"pan"==e)&&e},click:(t,n)=>{var i,r;if(s.isCompact||s.isClosing()||e.index!==(null==(i=s.getSlide())?void 0:i.index)||n&&["A","BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].includes(n.composedPath()[0].nodeName))return!1;let o=!n||n.target&&(null==(r=e.contentEl)?void 0:r.contains(n.target));return s.option(o?"contentClick":"backdropClick")||!1},dblClick:()=>s.isCompact?"toggleZoom":s.option("contentDblClick")||!1,spinner:!1,panOnlyZoomed:!0,wheelLimit:1/0,on:{ready:e=>{n(e)},error:()=>{i()},destroy:()=>{i()}}}))})}zoomIn(e){return new Promise((t,n)=>{let i=this.instance,r=i.container,{panzoom:s,contentEl:a,el:l}=e;s&&s.updateMetrics();let c=this.getZoomInfo(e);if(!(c&&l&&a&&s&&r))return void n();let{x:u,y:d,scale:h,opacity:p}=c,f=()=>{e.state!==o.Closing&&(p&&(a.style.opacity=Math.max(Math.min(1,1-(1-s.scale)/(1-h)),0)+""),s.scale>=1&&s.scale>s.targetScale-.1&&t(s))},m=e=>{(e.scale<.99||e.scale>1.01)&&!e.isDragging||(A(r,eb),a.style.opacity="",e.off("endAnimation",m),e.off("touchStart",m),e.off("afterTransform",f),t(e))};s.on("endAnimation",m),s.on("touchStart",m),s.on("afterTransform",f),s.on(["error","destroy"],()=>{n()}),s.panTo({x:u,y:d,scale:h,friction:0,ignoreBounds:!0}),s.stop("current");
1let g={event:"mousemove"===s.panMode?i.prevMouseMoveEvent||i.options.event:void 0},v=this.optionFor(e,"initialSize");I(r,eb),i.hideLoading(e),"full"===v?s.zoomToFull(g):"cover"===v?s.zoomToCover(g):"max"===v?s.zoomToMax(g):s.reset(.172)})}getZoomInfo(e){let{el:t,imageEl:n,thumbEl:i,panzoom:r}=e,o=this.instance,a=o.container;if(!t||!n||!i||!r||3>en(i)||!this.optionFor(e,"zoom")||!a||o.state===s.Destroy||"0"===getComputedStyle(a).getPropertyValue("--f-images-zoom"))return!1;let l=window.visualViewport||null;if(1!==(l?l.scale:1))return!1;let{top:c,left:u,width:d,height:h}=i.getBoundingClientRect(),{top:p,left:f,fitWidth:m,fitHeight:g}=r.contentRect;if(!(d&&h&&m&&g))return!1;let v=r.container.getBoundingClientRect();f+=v.left,p+=v.top;let b=-1*(f+.5*m-(u+.5*d)),y=-1*(p+.5*g-(c+.5*h)),w=this.option("zoomOpacity")||!1;return"auto"===w&&(w=Math.abs(d/h-m/g)>.1),{x:b,y:y,scale:d/m,opacity:w}}attach(){let e=this.instance;e.on("Carousel.change",this.onChange),e.on("Carousel.createSlide",this.onCreateSlide),e.on("Carousel.removeSlide",this.onRemoveSlide),e.on("close",this.onClose)}detach(){let e=this.instance;e.off("Carousel.change",this.onChange),e.off("Carousel.createSlide",this.onCreateSlide),e.off("Carousel.removeSlide",this.onRemoveSlide),e.off("close",this.onClose)}}Object.defineProperty(ey,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{initialSize:"fit",Panzoom:{maxScale:1},protected:!1,zoom:!0,zoomOpacity:"auto"}}),"function"==typeof SuppressedError&&SuppressedError;let ew="html",ex="image",eS="youtube",eE="vimeo",ek="html5video",eC=(e,t={})=>{let n=new URLSearchParams(new URL(e).search),i=new URLSearchParams;for(let[e,r]of[...n,...Object.entries(t)]){let t=r+"";if("t"===e){let e=t.match(/((\d*)m)?(\d*)s?/);e&&i.set("start",60*parseInt(e[2]||"0")+parseInt(e[3]||"0")+"")}else i.set(e,t)}let r=i+"",s=e.match(/#t=((.*)?\d+s)/);return s&&(r+=`#t=${s[1]}`),r},eT=["image","html","ajax","inline","clone","iframe","map","pdf","html5video","youtube","vimeo"];class eP extends W{onBeforeInitSlide(e,t,n){this.processType(n)}onCreateSlide(e,t,n){this.setContent(n)}onClearContent(e,t){t.xhr&&(t.xhr.abort(),t.xhr=null);let n=t.iframeEl;n&&(n.onload=n.onerror=null,n.src="//about:blank",t.iframeEl=null);let i=t.contentEl,r=t.placeholderEl;if("inline"===t.type&&i&&r)i.classList.remove("fancybox__content"),"none"!==getComputedStyle(i).getPropertyValue("display")&&(i.style.display="none"),setTimeout(()=>{r&&(i&&r.parentNode&&r.parentNode.insertBefore(i,r),r.remove())},0),t.contentEl=void 0,t.placeholderEl=void 0;else for(;t.el&&t.el.firstChild;)t.el.removeChild(t.el.firstChild)}onSelectSlide(e,t,n){n.state===o.Ready&&this.playVideo()}onUnselectSlide(e,t,n){var i,r;let s;if(n.type===ek){try{null==(r=null==(i=n.el)?void 0:i.querySelector("video"))||r.pause()}catch(e){}return}n.type===eE?s={method:"pause",value:"true"}:n.type===eS&&(s={event:"command",func:"pauseVideo"}),s&&n.iframeEl&&n.iframeEl.contentWindow&&n.iframeEl.contentWindow.postMessage(JSON.stringify(s),"*"),n.poller&&clearTimeout(n.poller)}onDone(e,t){e.isCurrentSlide(t)&&!e.isClosing()&&this.playVideo()}onRefresh(e,t){t.slides.forEach(e=>{e.el&&(this.resizeIframe(e),this.setAspectRatio(e))})}onMessage(e){try{let t=JSON.parse(e.data);if("https://player.vimeo.com"===e.origin){if("ready"===t.event)for(let t of Array.from(document.getElementsByClassName("fancybox__iframe")))t instanceof HTMLIFrameElement&&t.contentWindow===e.source&&(t.dataset.ready="true")}else if(e.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&"onReady"===t.event){let e=document.getElementById(t.id);e&&(e.dataset.ready="true")}}catch(e){}}loadAjaxContent(e){let t=this.instance.optionFor(e,"src")||"";this.instance.showLoading(e);let n=this.instance,i=new XMLHttpRequest;n.showLoading(e),i.onreadystatechange=function(){i.readyState===XMLHttpRequest.DONE&&n.state===s.Ready&&(n.hideLoading(e),200===i.status?n.setContent(e,i.responseText):n.setError(e,404===i.status?"{{AJAX_NOT_FOUND}}":"{{AJAX_FORBIDDEN}}"))};let r=e.ajax||null;i.open(r?"POST":"GET",t+""),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.send(r),e.xhr=i}setInlineContent(e){let t=null;if(L(e.src))t=e.src;else if("string"==typeof e.src){let n=e.src.split("#",2).pop();t=n?document.getElementById(n):null}if(t){if("clone"===e.type||t.closest(".fancybox__slide")){let n=(t=t.cloneNode(!0)).dataset.animationName;n&&(t.classList.remove(n),delete t.dataset.animationName);let i=t.getAttribute("id");i=i?`${i}--clone`:`clone-${this.instance.id}-${e.index}`,t.setAttribute("id",i)}else if(t.parentNode){let n=document.createElement("div");n.classList.add("fancybox-placeholder"),t.parentNode.insertBefore(n,t),e.placeholderEl=n}this.instance.setContent(e,t)}else this.instance.setError(e,"{{ELEMENT_NOT_FOUND}}")}setIframeContent(e){let{src:t,el:n}=e;if(!t||"string"!=typeof t||!n)return;n.classList.add("is-loading");let i=this.instance,r=document.createElement("iframe");for(let[t,n]of(r.className="fancybox__iframe",r.setAttribute("id",`fancybox__iframe_${i.id}_${e.index}`),Object.entries(this.optionFor(e,"iframeAttr")||{})))r.setAttribute(t,n);r.onerror=()=>{i.setError(e,"{{IFRAME_ERROR}}")},e.iframeEl=r;let s=this.optionFor(e,"preload");if("iframe"!==e.type||!1===s)return r.setAttribute("src",e.src+""),i.setContent(e,r,!1),this.resizeIframe(e),void i.revealContent(e);i.showLoading(e),r.onload=()=>
1{if(!r.src.length)return;let t="true"!==r.dataset.ready;r.dataset.ready="true",this.resizeIframe(e),t?i.revealContent(e):i.hideLoading(e)},r.setAttribute("src",t),i.setContent(e,r,!1)}resizeIframe(e){let{type:t,iframeEl:n}=e;if(t===eS||t===eE)return;let i=null==n?void 0:n.parentElement;if(!n||!i)return;let r=e.autoSize;void 0===r&&(r=this.optionFor(e,"autoSize"));let s=e.width||0,o=e.height||0;s&&o&&(r=!1);let a=i&&i.style;if(!1!==e.preload&&!1!==r&&a)try{let e=window.getComputedStyle(i),t=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight),r=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),l=n.contentWindow;if(l){let e=l.document,n=e.getElementsByTagName(ew)[0],i=e.body;a.width="",i.style.overflow="hidden",s=s||n.scrollWidth+t,a.width=`${s}px`,i.style.overflow="",a.flex="0 0 auto",a.height=`${i.scrollHeight}px`,o=n.scrollHeight+r}}catch(e){}if(s||o){let e={flex:"0 1 auto",width:"",height:""};s&&"auto"!==s&&(e.width=`${s}px`),o&&"auto"!==o&&(e.height=`${o}px`),Object.assign(a,e)}}playVideo(){let e=this.instance.getSlide();if(!e)return;let{el:t}=e;if(!t||!t.offsetParent||!this.optionFor(e,"videoAutoplay"))return;if(e.type===ek)try{let e=t.querySelector("video");if(e){let t=e.play();void 0!==t&&t.then(()=>{}).catch(t=>{e.muted=!0,e.play()})}}catch(e){}if(e.type!==eS&&e.type!==eE)return;let n=()=>{if(e.iframeEl&&e.iframeEl.contentWindow){let t;if("true"===e.iframeEl.dataset.ready)return(t=e.type===eS?{event:"command",func:"playVideo"}:{method:"play",value:"true"})&&e.iframeEl.contentWindow.postMessage(JSON.stringify(t),"*"),void(e.poller=void 0);e.type===eS&&(t={event:"listening",id:e.iframeEl.getAttribute("id")},e.iframeEl.contentWindow.postMessage(JSON.stringify(t),"*"))}e.poller=setTimeout(n,250)};n()}processType(e){if(e.html)return e.type=ew,e.src=e.html,void(e.html="");let t=this.instance.optionFor(e,"src","");if(!t||"string"!=typeof t)return;let n=e.type,i=null;if(i=t.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i)){let r=this.optionFor(e,eS),{nocookie:s}=r,o=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)0>t.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}(r,["nocookie"]),a=`www.youtube${s?"-nocookie":""}.com`,l=eC(t,o),c=encodeURIComponent(i[2]);e.videoId=c,e.src=`https://${a}/embed/${c}?${l}`,e.thumbSrc=e.thumbSrc||`https://i.ytimg.com/vi/${c}/mqdefault.jpg`,n=eS}else if(i=t.match(/^.+vimeo.com\/(?:\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/)){let r=eC(t,this.optionFor(e,eE)),s=encodeURIComponent(i[1]),o=i[4]||"";e.videoId=s,e.src=`https://player.vimeo.com/video/${s}?${o?`h=${o}${r?"&":""}`:""}${r}`,n=eE}if(!n&&e.triggerEl){let t=e.triggerEl.dataset.type;eT.includes(t)&&(n=t)}n||"string"==typeof t&&("#"===t.charAt(0)?n="inline":(i=t.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(n=ek,e.videoFormat=e.videoFormat||"video/"+("ogv"===i[1]?"ogg":i[1])):t.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?n=ex:t.match(/\.(pdf)((\?|#).*)?$/i)&&(n="pdf")),(i=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i))?(e.src=`https://maps.google.${i[1]}/?ll=${(i[2]?i[2]+"&z="+Math.floor(parseFloat(i[3]))+(i[4]?i[4].replace(/^\//,"&"):""):i[4]+"").replace(/\?/,"&")}&output=${i[4]&&i[4].indexOf("layer=c")>0?"svembed":"embed"}`,n="map"):(i=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i))&&(e.src=`https://maps.google.${i[1]}/maps?q=${i[2].replace("query=","q=").replace("api=1","")}&output=embed`,n="map"),e.type=n=n||this.instance.option("defaultType"),n===ex&&(e.thumbSrc=e.thumbSrc||e.src)}setContent(e){let t=this.instance.optionFor(e,"src")||"";if(e&&e.type&&t){switch(e.type){case ew:this.instance.setContent(e,t);break;case ek:let n=this.option("videoTpl");n&&this.instance.setContent(e,n.replace(/\{\{src\}\}/gi,t+"").replace(/\{\{format\}\}/gi,this.optionFor(e,"videoFormat")||"").replace(/\{\{poster\}\}/gi,e.poster||e.thumbSrc||""));break;case"inline":case"clone":this.setInlineContent(e);break;case"ajax":this.loadAjaxContent(e);break;case"pdf":case"map":case eS:case eE:e.preload=!1;case"iframe":this.setIframeContent(e)}this.setAspectRatio(e)}}setAspectRatio(e){let t=e.contentEl;if(!(e.el&&t&&e.type&&[eS,eE,ek].includes(e.type)))return;let n,i=e.width||"auto",r=e.height||"auto";if("auto"===i||"auto"===r){let t=((n=this.optionFor(e,"videoRatio"))+"").match(/(\d+)\s*\/\s?(\d+)/);n=t&&t.length>2?parseFloat(t[1])/parseFloat(t[2]):parseFloat(n+"")}else i&&r&&(n=i/r);if(!n)return;t.style.aspectRatio="",t.style.width="",t.style.height="",t.offsetHeight;let s=t.getBoundingClientRect(),o=s.width||1,a=s.height||1;t.style.aspectRatio=n+"",n<o/a?(r="auto"===r?a:Math.min(a,r),t.style.width="auto",t.style.height=`${r}px`):(i="auto"===i?o:Math.min(o,i),t.style.width=`${i}px`,t.style.height="auto")}attach(){let e=this.instance;e.on("Carousel.beforeInitSlide",this.onBeforeInitSlide),e.on("Carousel.createSlide",this.onCreateSlide),e.on("Carousel.selectSlide",this.onSelectSlide),e.on("Carousel.unselectSlide",this.onUnselectSlide),e.on("Carousel.Panzoom.refresh",this.onRefresh),e.on("done",this.onDone),e.on("clearContent",this.onClearContent),window.addEventListener("message",this.onMessage)}detach(){let e=this.instance;e.off("Carousel.beforeInitSlide",this.onBeforeInitSlide),e.off("Carousel.createSlide",this.onCreateSlide),e.off("Carousel.selectSlide",this.onSelectSlide),e.off("Carousel.unselectSlide",this.onUnselectSlide),e.off("Carousel.Panzoom.refresh",this.onRefresh),e.off("done",this.onDone),e.off("clearContent",this.onClearContent),window.removeEventListener("message",this.onMessage)}}Object.defineProperty(eP,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{ajax:null,autoSize:!0,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"},preload:!0,videoAutoplay:!0,videoRatio:16/9,videoTpl:'<video class="fancybox__html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">\n <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos.</video>',videoFormat:"",vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}}});let eM="play",eO="pause",eL="ready";class eA extends W{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:eL}),Object.defineProperty(this,"inHover",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"timer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"progressBar",{enumerable:!0,configurable:!0,writable:!0,value:null})}get isActive(){return this.state!==eL}onReady(e){this.option("autoStart")&&(e.isInfinite||e.page<e.pages.length-1)&&this.start()}onChange(){this.removeProgressBar(),this.pause()}onSettle(){this.resume()}onVisibilityChange(){"visible"===document.visibilityState?this.resume():this.pause()}onMouseEnter(){this.inHover=!0,this.pause()}onMouseLeave(){var e;this.inHover=!1,(null==(e=this.instance.panzoom)?void 0:e.isResting)&&this.resume()}onTimerEnd(){let e=this.instance;"play"===this.state&&(e.isInfinite||e.page!==e.pages.length-1?e.
1slideNext():e.slideTo(0))}removeProgressBar(){this.progressBar&&(this.progressBar.remove(),this.progressBar=null)}createProgressBar(){var e;if(!this.option("showProgress"))return null;this.removeProgressBar();let t=this.instance,n=(null==(e=t.pages[t.page])?void 0:e.slides)||[],i=this.option("progressParentEl");if(i||(i=(1===n.length?n[0].el:null)||t.viewport),!i)return null;let r=document.createElement("div");return I(r,"f-progress"),i.prepend(r),this.progressBar=r,r.offsetHeight,r}set(){let e=this,t=e.instance;if(t.pages.length<2||e.timer)return;let n=e.option("timeout");e.state=eM,I(t.container,"has-autoplay");let i=e.createProgressBar();i&&(i.style.transitionDuration=`${n}ms`,i.style.transform="scaleX(1)"),e.timer=setTimeout(()=>{e.timer=null,e.inHover||e.onTimerEnd()},n),e.emit("set")}clear(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.removeProgressBar()}start(){if(this.set(),this.state!==eL){if(this.option("pauseOnHover")){let e=this.instance.container;e.addEventListener("mouseenter",this.onMouseEnter,!1),e.addEventListener("mouseleave",this.onMouseLeave,!1)}document.addEventListener("visibilitychange",this.onVisibilityChange,!1),this.emit("start")}}stop(){let e=this.state,t=this.instance.container;this.clear(),this.state=eL,t.removeEventListener("mouseenter",this.onMouseEnter,!1),t.removeEventListener("mouseleave",this.onMouseLeave,!1),document.removeEventListener("visibilitychange",this.onVisibilityChange,!1),A(t,"has-autoplay"),e!==eL&&this.emit("stop")}pause(){this.state===eM&&(this.state=eO,this.clear(),this.emit(eO))}resume(){let e=this.instance;if(e.isInfinite||e.page!==e.pages.length-1)if(this.state!==eM){if(this.state===eO&&!this.inHover){let e=new Event("resume",{bubbles:!0,cancelable:!0});this.emit("resume",e),e.defaultPrevented||this.set()}}else this.set();else this.stop()}toggle(){this.state===eM||this.state===eO?this.stop():this.start()}attach(){let e=this.instance;e.on("ready",this.onReady),e.on("Panzoom.startAnimation",this.onChange),e.on("Panzoom.endAnimation",this.onSettle),e.on("Panzoom.touchMove",this.onChange)}detach(){let e=this.instance;e.off("ready",this.onReady),e.off("Panzoom.startAnimation",this.onChange),e.off("Panzoom.endAnimation",this.onSettle),e.off("Panzoom.touchMove",this.onChange),this.stop()}}Object.defineProperty(eA,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{autoStart:!0,pauseOnHover:!0,progressParentEl:null,showProgress:!0,timeout:3e3}});class eI extends W{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null})}onPrepare(e){let t=e.carousel;if(!t)return;let n=e.container;n&&(t.options.Autoplay=S({autoStart:!1},this.option("Autoplay")||{},{pauseOnHover:!1,timeout:this.option("timeout"),progressParentEl:()=>this.option("progressParentEl")||null,on:{start:()=>{e.emit("startSlideshow")},set:t=>{var i;n.classList.add("has-slideshow"),(null==(i=e.getSlide())?void 0:i.state)!==o.Ready&&t.pause()},stop:()=>{n.classList.remove("has-slideshow"),e.isCompact||e.endIdle(),e.emit("endSlideshow")},resume:(t,n)=>{var i,r,s;!n||!n.cancelable||(null==(i=e.getSlide())?void 0:i.state)===o.Ready&&(null==(s=null==(r=e.carousel)?void 0:r.panzoom)?void 0:s.isResting)||n.preventDefault()}}}),t.attachPlugins({Autoplay:eA}),this.ref=t.plugins.Autoplay)}onReady(e){let t=e.carousel,n=this.ref;n&&t&&this.option("playOnStart")&&(t.isInfinite||t.page<t.pages.length-1)&&n.start()}onDone(e,t){let n=this.ref,i=e.carousel;if(!n||!i)return;let r=t.panzoom;r&&r.on("startAnimation",()=>{e.isCurrentSlide(t)&&n.stop()}),e.isCurrentSlide(t)&&n.resume()}onKeydown(e,t){var n;let i=this.ref;i&&t===this.option("key")&&"BUTTON"!==(null==(n=document.activeElement)?void 0:n.nodeName)&&i.toggle()}attach(){let e=this.instance;e.on("Carousel.init",this.onPrepare),e.on("Carousel.ready",this.onReady),e.on("done",this.onDone),e.on("keydown",this.onKeydown)}detach(){let e=this.instance;e.off("Carousel.init",this.onPrepare),e.off("Carousel.ready",this.onReady),e.off("done",this.onDone),e.off("keydown",this.onKeydown)}}Object.defineProperty(eI,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{key:" ",playOnStart:!1,progressParentEl:e=>{var t;return(null==(t=e.instance.container)?void 0:t.querySelector(".fancybox__toolbar [data-fancybox-toggle-slideshow]"))||e.instance.container},timeout:3e3}});let e_={classes:{container:"f-thumbs f-carousel__thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide",isResting:"is-resting",isSelected:"is-selected",isLoading:"is-loading",hasThumbs:"has-thumbs"},minCount:2,parentEl:null,thumbTpl:'<button class="f-thumbs__slide__button" tabindex="0" type="button" aria-label="{{GOTO}}" data-carousel-index="%i"><img class="f-thumbs__slide__img" data-lazy-src="{{%s}}" alt="" /></button>',type:"modern"};!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Hidden=2]="Hidden"}(a||(a={}));
1let ez="isResting",eR="thumbWidth",eD="thumbHeight",eF="thumbClipWidth",eN=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:"modern"}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"thumbWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbClipWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbExtraGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:a.Init})}get isModern(){return"modern"===this.type}onInitSlide(e,t){let n=t.el?t.el.dataset:void 0;n&&(t.thumbSrc=n.thumbSrc||t.thumbSrc||"",t[eF]=parseFloat(n[eF]||"")||t[eF]||0,t[eD]=parseFloat(n.thumbHeight||"")||t[eD]||0),this.addSlide(t)}onInitSlides(){this.build()}onChange(){var e;if(!this.isModern)return;let t=this.container,n=this.instance,i=n.panzoom,r=this.carousel,s=r?r.panzoom:null,o=n.page;if(i&&r&&s){if(i.isDragging){A(t,this.cn(ez));let i=(null==(e=r.pages[o])?void 0:e.pos)||0;i+=n.getProgress(o)*(this[eF]+this.thumbGap);let a=s.getBounds();-1*i>a.x.min&&-1*i<a.x.max&&s.panTo({x:-1*i,friction:.12})}else m(t,this.cn(ez),i.isResting);this.shiftModern()}}onRefresh(){for(let e of(this.updateProps(),this.instance.slides||[]))this.resizeModernSlide(e);this.shiftModern()}isDisabled(){let e=this.option("minCount")||0;if(e){let t=this.instance,n=0;for(let e of t.slides||[])e.thumbSrc&&n++;if(n<e)return!0}return 0>["modern","classic"].indexOf(this.option("type"))}getThumb(e){let t=this.option("thumbTpl")||"";return{html:this.instance.localize(t,[["%i",e.index],["%d",e.index+1],["%s",e.thumbSrc||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"]])}}addSlide(e){let t=this.carousel;t&&t.addSlide(e.index,this.getThumb(e))}getSlides(){let e=[];
1for(let t of this.instance.slides||[])e.push(this.getThumb(t));return e}resizeModernSlide(e){this.isModern&&(e[eR]=e[eF]&&e[eD]?Math.round(this[eD]*(e[eF]/e[eD])):this[eR])}updateProps(){let e=this.container;if(!e)return;let t=t=>parseFloat(getComputedStyle(e).getPropertyValue("--f-thumb-"+t))||0;this.thumbGap=t("gap"),this.thumbExtraGap=t("extra-gap"),this[eR]=t("width")||40,this[eF]=t("clip-width")||40,this[eD]=t("height")||40}build(){let e=this;if(e.state!==a.Init)return;if(e.isDisabled())return void e.emit("disabled");let t=e.instance,n=t.container,i=e.getSlides(),r=e.option("type");e.type=r;let s=e.option("parentEl"),o=e.cn("container"),l=e.cn("track"),c=null==s?void 0:s.querySelector("."+o);c||(I(c=document.createElement("div"),o),s?s.appendChild(c):n.after(c)),I(c,`is-${r}`),I(n,e.cn("hasThumbs")),e.container=c,e.updateProps();let u=c.querySelector("."+l);u||(I(u=document.createElement("div"),e.cn("track")),c.appendChild(u)),e.track=u;let d=S({},{track:u,infinite:!1,center:!0,fill:"classic"===r,dragFree:!0,slidesPerPage:1,transition:!1,preload:.25,friction:.12,Panzoom:{maxVelocity:0},Dots:!1,Navigation:!1,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide"}},e.option("Carousel")||{},{Sync:{target:t},slides:i}),h=new t.constructor(c,d);h.on("createSlide",(t,n)=>{e.setProps(n.index),e.emit("createSlide",n,n.el)}),h.on("ready",()=>{e.shiftModern(),e.emit("ready")}),h.on("refresh",()=>{e.shiftModern()}),h.on("Panzoom.click",(t,n,i)=>{e.onClick(i)}),e.carousel=h,e.state=a.Ready}onClick(e){e.preventDefault(),e.stopPropagation();let t=this.instance,{pages:n,page:i}=t,r=e=>{if(e){let t=e.closest("[data-carousel-index]");if(t)return[parseInt(t.dataset.carouselIndex||"",10)||0,t]}return[-1,void 0]},s=(e,t)=>{let n=document.elementFromPoint(e,t);return n?r(n):[-1,void 0]},[o,a]=r(e.target);if(o>-1)return;let l=this[eF],c=e.clientX,u=e.clientY,[d,h]=s(c-l,u),[p,f]=s(c+l,u);h&&f?(o=Math.abs(c-h.getBoundingClientRect().right)<Math.abs(c-f.getBoundingClientRect().left)?d:p)===i&&(o=o===d?p:d):h?o=d:f&&(o=p),o>-1&&n[o]&&t.slideTo(o)}getShift(e){var t;let{instance:n}=this,i=this.carousel;if(!n||!i)return 0;let r=this[eR],s=this[eF],o=this.thumbGap,a=this.thumbExtraGap;if(!(null==(t=i.slides[e])?void 0:t.el))return 0;let l=n.pages.length-1,c=n.getProgress(0),u=n.getProgress(l),d=n.getProgress(e,!1,!0),h=0,p=.5*(r-s)+a+o,f=c<0&&c>-1,m=u>0&&u<1;return 0===e?(h=p*Math.abs(c),m&&1===c&&(h-=p*Math.abs(u))):e===l?(h=-(p*Math.abs(u)*1),f&&-1===u&&(h+=p*Math.abs(c))):h=f||m?-1*p+p*Math.abs(c)+p*(1-Math.abs(u)):p*d,h}setProps(e){var t;if(!this.isModern)return;let{instance:n}=this,i=this.carousel;if(n&&i){let r=null==(t=i.slides[e])?void 0:t.el;if(r&&r.childNodes.length){let t=u(1-Math.abs(n.getProgress(e))),i=u(this.getShift(e));r.style.setProperty("--progress",t?t+"":""),r.style.setProperty("--shift",i+"")}}}shiftModern(){if(!this.isModern)return;let{instance:e,track:t}=this,n=e.panzoom,r=this.carousel;if(!(e&&t&&n&&r)||n.state===i.Init||n.state===i.Destroy)return;for(let t of e.slides)this.setProps(t.index);let s=(this[eF]+this.thumbGap)*(r.slides.length||0);t.style.setProperty("--width",s+"")}cleanup(){this.carousel&&this.carousel.destroy(),this.carousel=null,this.container&&this.container.remove(),this.container=null,this.track&&this.track.remove(),this.track=null,this.state=a.Init,A(this.instance.container,this.cn("hasThumbs"))}attach(){let e=this.instance;e.on("initSlide",this.onInitSlide),e.state===r.Init?e.on("initSlides",this.onInitSlides):this.onInitSlides(),e.on(["change","Panzoom.afterTransform"],this.onChange),e.on("Panzoom.refresh",this.onRefresh)}detach(){let e=this.instance;e.off("initSlide",this.onInitSlide),e.off("initSlides",this.onInitSlides),e.off(["change","Panzoom.afterTransform"],this.onChange),e.off("Panzoom.refresh",this.onRefresh),this.cleanup()}};Object.defineProperty(eN,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:e_});let ej=Object.assign(Object.assign({},e_),{key:"t",showOnStart:!0,parentEl:null}),eB="is-masked",eH="aria-hidden";class e$ extends W{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"hidden",{enumerable:!0,configurable:!0,writable:!0,value:!1})}get isEnabled(){let e=this.ref;return e&&!e.isDisabled()}get isHidden(){return this.hidden}onClick(e,t){t.stopPropagation()}onCreateSlide(e,t){var n,i,r;let s=(null==(r=null==(i=null==(n=this.instance)?void 0:n.carousel)?void 0:i.slides[t.index])?void 0:r.type)||"",o=t.el;if(o&&s){let e=`for-${s}`;["video","youtube","vimeo","html5video"].includes(s)&&(e+=" for-video"),I(o,e)}}onInit(){var e;let t=this,n=t.instance,i=n.carousel;if(t.ref||!i)return;let r=t.option("parentEl")||n.footer||n.container;if(!r)return;let s=S({},t.options,{parentEl:r,classes:{container:"f-thumbs fancybox__thumbs"},Carousel:{Sync:{friction:n.option("Carousel.friction")||0}},on:{ready:e=>{let n=e.container;n&&this.hidden&&(t.refresh(),n.style.transition="none",t.hide(),n.offsetHeight,queueMicrotask(()=>{n.style.transition="",t.show()}))}}});s.Carousel=s.Carousel||{},s.Carousel.on=S((null==(e=t.options.Carousel)?void 0:e.on)||{},{click:this.onClick,createSlide:this.onCreateSlide}),i.options.Thumbs=s,i.attachPlugins({Thumbs:eN}),t.ref=i.plugins.Thumbs,t.option("showOnStart")||(t.ref.state=a.Hidden,t.hidden=!0)}onResize(){var e;let t=null==(e=this.ref)?void 0:e.container;t&&(t.style.maxHeight="")}onKeydown(e,t){let n=this.option("key");n&&n===t&&this.toggle()}toggle(){let e=this.ref;if(e&&!e.isDisabled())return e.state===a.Hidden?(e.state=a.Init,void e.build()):void(this.hidden?this.show():this.hide())}show(){let e=this.ref;if(!e||e.isDisabled())return;let t=e.container;t&&(this.refresh(),t.offsetHeight,t.removeAttribute(eH),t.classList.remove(eB),this.hidden=!1)}
1hide(){let e=this.ref,t=e&&e.container;t&&(this.refresh(),t.offsetHeight,t.classList.add(eB),t.setAttribute(eH,"true")),this.hidden=!0}refresh(){let e=this.ref;if(!e||!e.state)return;let t=e.container,n=(null==t?void 0:t.firstChild)||null;t&&n&&n.childNodes.length&&(t.style.maxHeight=`${n.getBoundingClientRect().height}px`)}attach(){let e=this.instance;e.state===s.Init?e.on("Carousel.init",this.onInit):this.onInit(),e.on("resize",this.onResize),e.on("keydown",this.onKeydown)}detach(){var e;let t=this.instance;t.off("Carousel.init",this.onInit),t.off("resize",this.onResize),t.off("keydown",this.onKeydown),null==(e=t.carousel)||e.detachPlugins(["Thumbs"]),this.ref=null}}Object.defineProperty(e$,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:ej});let eq={panLeft:{icon:'<svg><path d="M5 12h14M5 12l6 6M5 12l6-6"/></svg>',change:{panX:-100}},panRight:{icon:'<svg><path d="M5 12h14M13 18l6-6M13 6l6 6"/></svg>',change:{panX:100}},panUp:{icon:'<svg><path d="M12 5v14M18 11l-6-6M6 11l6-6"/></svg>',change:{panY:-100}},panDown:{icon:'<svg><path d="M12 5v14M18 13l-6 6M6 13l6 6"/></svg>',change:{panY:100}},zoomIn:{icon:'<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg>',action:"zoomIn"},zoomOut:{icon:'<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"zoomOut"},toggle1to1:{icon:'<svg><path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/></svg>',action:"toggleZoom"},toggleZoom:{icon:'<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"toggleZoom"},iterateZoom:{icon:'<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"iterateZoom"},rotateCCW:{icon:'<svg><path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/></svg>',action:"rotateCCW"},rotateCW:{icon:'<svg><path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/></svg>',action:"rotateCW"},flipX:{icon:'<svg style="stroke-width: 1.3"><path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/></svg>',action:"flipX"},flipY:{icon:'<svg style="stroke-width: 1.3"><path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/></svg>',action:"flipY"},fitX:{icon:'<svg><path d="M4 12V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v6M10 18H3M21 18h-7M6 15l-3 3 3 3M18 15l3 3-3 3"/></svg>',action:"fitX"},fitY:{icon:'<svg><path d="M12 20H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h6M18 14v7M18 3v7M15 18l3 3 3-3M15 6l3-3 3 3"/></svg>',action:"fitY"},reset:{icon:'<svg><path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/></svg>',action:"reset"},toggleFS:{icon:'<svg><g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g></svg>',action:"toggleFS"}};!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Disabled=2]="Disabled"}(l||(l={}));let eV={tabindex:"-1",width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},eW="has-toolbar",eY="fancybox__toolbar";class eG extends W{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:l.Init}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null})}onReady(e){var t;if(!e.carousel)return;let n=this.option("display"),i=this.option("absolute"),r=this.option("enabled");if("auto"===r){let e=this.instance.carousel,t=0;if(e)for(let n of e.slides)(n.panzoom||"image"===n.type)&&t++;t||(r=!1)}r||(n=void 0);let s=0,o={left:[],middle:[],right:[]};if(n)for(let e of["left","middle","right"])for(let i of n[e]){let n=this.createEl(i);n&&(null==(t=o[e])||t.push(n),s++)}let a=null;if(s&&(a=this.createContainer()),a){for(let[e,t]of Object.entries(o)){let n=document.createElement("div");for(let i of(I(n,eY+"__column is-"+e),t))n.appendChild(i);"auto"!==i||"middle"!==e||t.length||(i=!0),a.appendChild(n)}!0===i&&I(a,"is-absolute"),this.state=l.Ready,this.onRefresh()}else this.state=l.Disabled}onClick(e){var t,n;let i=this.instance,r=i.getSlide(),s=null==r?void 0:r.panzoom,o=e.target,a=o&&L(o)?o.dataset:null;if(!a)return;if(void 0!==a.fancyboxToggleThumbs)return e.preventDefault(),e.stopPropagation(),void(null==(t=i.plugins.Thumbs
1)||t.toggle());if(void 0!==a.fancyboxToggleFullscreen)return e.preventDefault(),e.stopPropagation(),void this.instance.toggleFullscreen();if(void 0!==a.fancyboxToggleSlideshow){e.preventDefault(),e.stopPropagation();let t=null==(n=i.carousel)?void 0:n.plugins.Autoplay,r=t.isActive;return s&&"mousemove"===s.panMode&&!r&&s.reset(),void(r?t.stop():t.start())}let l=a.panzoomAction,c=a.panzoomChange;if((c||l)&&(e.preventDefault(),e.stopPropagation()),c){let e={};try{e=JSON.parse(c)}catch(e){}s&&s.applyChange(e)}else l&&s&&s[l]&&s[l]()}onChange(){this.onRefresh()}onRefresh(){if(this.instance.isClosing())return;let e=this.container;if(!e)return;let t=this.instance.getSlide();if(!t||t.state!==o.Ready)return;let n=t&&!t.error&&t.panzoom;for(let t of e.querySelectorAll("[data-panzoom-action]"))n?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));let i=n&&n.canZoomIn(),r=n&&n.canZoomOut();for(let t of e.querySelectorAll('[data-panzoom-action="zoomIn"]'))i?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));for(let t of e.querySelectorAll('[data-panzoom-action="zoomOut"]'))r?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));for(let t of e.querySelectorAll('[data-panzoom-action="toggleZoom"],[data-panzoom-action="iterateZoom"]')){r||i?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));let e=t.querySelector("g");e&&(e.style.display=i?"":"none")}}onDone(e,t){var n;null==(n=t.panzoom)||n.on("afterTransform",()=>{this.instance.isCurrentSlide(t)&&this.onRefresh()}),this.instance.isCurrentSlide(t)&&this.onRefresh()}createContainer(){let e=this.instance.container;if(!e)return null;let t=this.option("parentEl")||e,n=t.querySelector("."+eY);return n||(I(n=document.createElement("div"),eY),t.prepend(n)),n.addEventListener("click",this.onClick,{passive:!1,capture:!0}),e&&I(e,eW),this.container=n,n}createEl(e){let t=this.instance,n=t.carousel;if(!n||"toggleFS"===e||"fullscreen"===e&&!eo())return null;let i=null,r=n.slides.length||0,s=0,o=0;for(let e of n.slides)(e.panzoom||"image"===e.type)&&s++,("image"===e.type||e.downloadSrc)&&o++;if(r<2&&["infobar","prev","next"].includes(e))return i;if(void 0!==eq[e]&&!s||"download"===e&&!o)return null;if("thumbs"===e){let e=t.plugins.Thumbs;if(!e||!e.isEnabled)return null}if("slideshow"===e&&(!n.plugins.Autoplay||r<2))return null;if(void 0!==eq[e]){let t=eq[e];(i=document.createElement("button")).setAttribute("title",this.instance.localize(`{{${e.toUpperCase()}}}`)),I(i,"f-button"),t.action&&(i.dataset.panzoomAction=t.action),t.change&&(i.dataset.panzoomChange=JSON.stringify(t.change)),i.appendChild(p(this.instance.localize(t.icon)))}else{let t=(this.option("items")||[])[e];t&&(i=p(this.instance.localize(t.tpl)),"function"==typeof t.click&&i.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),"function"==typeof t.click&&t.click.call(this,this,e)}))}let a=null==i?void 0:i.querySelector("svg");if(a)for(let[e,t]of Object.entries(eV))a.getAttribute(e)||a.setAttribute(e,String(t));return i}removeContainer(){let e=this.container;e&&e.remove(),this.container=null,this.state=l.Disabled;let t=this.instance.container;t&&A(t,eW)}
1attach(){let e=this.instance;e.on("Carousel.initSlides",this.onReady),e.on("done",this.onDone),e.on(["reveal","Carousel.change"],this.onChange),this.onReady(this.instance)}detach(){let e=this.instance;e.off("Carousel.initSlides",this.onReady),e.off("done",this.onDone),e.off(["reveal","Carousel.change"],this.onChange),this.removeContainer()}}Object.defineProperty(eG,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{absolute:"auto",display:{left:["infobar"],middle:[],right:["iterateZoom","slideshow","fullscreen","thumbs","close"]},enabled:"auto",items:{infobar:{tpl:'<div class="fancybox__infobar" tabindex="-1"><span data-fancybox-current-index></span>/<span data-fancybox-count></span></div>'},download:{tpl:'<a class="f-button" title="{{DOWNLOAD}}" data-fancybox-download href="javasript:;"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></a>'},prev:{tpl:'<button class="f-button" title="{{PREV}}" data-fancybox-prev><svg><path d="m15 6-6 6 6 6"/></svg></button>'},next:{tpl:'<button class="f-button" title="{{NEXT}}" data-fancybox-next><svg><path d="m9 6 6 6-6 6"/></svg></button>'},slideshow:{tpl:'<button class="f-button" title="{{TOGGLE_SLIDESHOW}}" data-fancybox-toggle-slideshow><svg><g><path d="M8 4v16l13 -8z"></path></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>'},fullscreen:{tpl:'<button class="f-button" title="{{TOGGLE_FULLSCREEN}}" data-fancybox-toggle-fullscreen><svg><g><path d="M4 8V6a2 2 0 0 1 2-2h2M4 16v2a2 2 0 0 0 2 2h2M16 4h2a2 2 0 0 1 2 2v2M16 20h2a2 2 0 0 0 2-2v-2"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},thumbs:{tpl:'<button class="f-button" title="{{TOGGLE_THUMBS}}" data-fancybox-toggle-thumbs><svg><circle cx="5.5" cy="5.5" r="1"/><circle cx="12" cy="5.5" r="1"/><circle cx="18.5" cy="5.5" r="1"/><circle cx="5.5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="18.5" cy="12" r="1"/><circle cx="5.5" cy="18.5" r="1"/><circle cx="12" cy="18.5" r="1"/><circle cx="18.5" cy="18.5" r="1"/></svg></button>'},close:{tpl:'<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="m19.5 4.5-15 15M4.5 4.5l15 15"/></svg></button>'}},parentEl:null}});let eU="with-fancybox",eX="hide-scrollbar",eZ="--fancybox-scrollbar-compensate",eK="--fancybox-body-margin",eJ="aria-hidden",eQ="is-using-tab",e0="is-animated",e1="is-compact",e2="is-loading",e5="is-opening",e3="has-caption",e4="disabled",e6="tabindex",e9="download",e8="href",e7=function(){var e=window.getSelection();return!!e&&"Range"===e.type},te,tt=null,tn=null,ti=0,tr=0,ts=0,to=0,ta=new Map,tl=0;class tc extends C{get isIdle(){return this.idle}get isCompact(){return this.option("compact")}constructor(e=[],t={},n={}){super(t),Object.defineProperty(this,"userSlides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"idle",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"idleTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"ignoreFocusChange",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"startedFs",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:s.Init}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"footer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"lastFocus",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prevMouseMoveEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),te||(te=eo()),this.id=t.id||++tl,ta.set(this.id,this),this.userSlides=e,this.userPlugins=n,queueMicrotask(()=>{this.init()})}init(){if(this.state===s.Destroy)return;this.state=s.Init,this.attachPlugins(Object.assign(Object.assign({}
1,tc.Plugins),this.userPlugins)),this.emit("init"),this.emit("attachPlugins"),!0===this.option("hideScrollbar")&&(()=>{if(!ei)return;let e=document,t=e.body,n=e.documentElement;if(t.classList.contains(eX))return;let i=window.innerWidth-n.getBoundingClientRect().width,r=parseFloat(window.getComputedStyle(t).marginRight);i<0&&(i=0),n.style.setProperty(eZ,`${i}px`),r&&t.style.setProperty(eK,`${r}px`),t.classList.add(eX)})(),this.initLayout(),this.scale();let e=()=>{this.initCarousel(this.userSlides),this.state=s.Ready,this.attachEvents(),this.emit("ready"),setTimeout(()=>{this.container&&this.container.setAttribute(eJ,"false")},16)};this.option("Fullscreen.autoStart")&&te&&!te.isFullscreen()?te.request().then(()=>{this.startedFs=!0,e()}).catch(()=>e()):e()}initLayout(){var e,t;let n=this.option("parentEl")||document.body,i=p(this.localize(this.option("tpl.main")||""));if(i){if(i.setAttribute("id",`fancybox-${this.id}`),i.setAttribute("aria-label",this.localize("{{MODAL}}")),i.classList.toggle(e1,this.isCompact),I(i,this.option("mainClass")||""),I(i,e5),this.container=i,this.footer=i.querySelector(".fancybox__footer"),n.appendChild(i),I(document.documentElement,eU),tt&&tn||(I(tt=document.createElement("span"),"fancybox-focus-guard"),tt.setAttribute(e6,"0"),tt.setAttribute(eJ,"true"),tt.setAttribute("aria-label","Focus guard"),tn=tt.cloneNode(),null==(e=i.parentElement)||e.insertBefore(tt,i),null==(t=i.parentElement)||t.append(tn)),i.addEventListener("mousedown",e=>{ti=e.pageX,tr=e.pageY,A(i,eQ)}),this.option("closeExisting"))for(let e of ta.values())e.id!==this.id&&e.close();else this.option("animated")&&(I(i,e0),setTimeout(()=>{this.isClosing()||A(i,e0)},350));this.emit("initLayout")}}initCarousel(e){let t=this.container;if(!t)return;let n=t.querySelector(".fancybox__carousel");if(!n)return;let i=this.carousel=new et(n,S({},{slides:e,transition:"fade",Panzoom:{lockAxis:this.option("dragToClose")?"xy":"x",infinite:!!this.option("dragToClose")&&"y"},Dots:!1,Navigation:{classes:{container:"fancybox__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"}},initialPage:this.option("startIndex"),l10n:this.option("l10n")},this.option("Carousel")||{}));i.on("*",(e,t,...n)=>{this.emit(`Carousel.${t}`,e,...n)}),i.on(["ready","change"],()=>{this.manageCaption()}),this.on("Carousel.removeSlide",(e,t,n)=>{this.clearContent(n),n.state=void 0}),i.on("Panzoom.touchStart",()=>{var e,t;
1this.isCompact||this.endIdle(),(null==(e=document.activeElement)?void 0:e.closest(".f-thumbs"))&&(null==(t=this.container)||t.focus())}),i.on("settle",()=>{this.idleTimer||this.isCompact||!this.option("idle")||this.setIdle(),this.option("autoFocus")&&!this.isClosing&&this.checkFocus()}),this.option("dragToClose")&&(i.on("Panzoom.afterTransform",(e,t)=>{let n=this.getSlide();if(n&&d(n.el))return;let i=this.container;if(i){let e=Math.abs(t.current.f),n=e<1?"":Math.max(.5,Math.min(1,1-e/t.contentRect.fitHeight*1.5));i.style.setProperty("--fancybox-ts",n?"0s":""),i.style.setProperty("--fancybox-opacity",n+"")}}),i.on("Panzoom.touchEnd",(e,t,n)=>{var i;let r=this.getSlide();if(r&&d(r.el)||t.isMobile&&document.activeElement&&-1!==["TEXTAREA","INPUT"].indexOf(null==(i=document.activeElement)?void 0:i.nodeName))return;let s=Math.abs(t.dragOffset.y);"y"===t.lockedAxis&&(s>=200||s>=50&&t.dragOffset.time<300)&&(n&&n.cancelable&&n.preventDefault(),this.close(n,"f-throwOut"+(t.current.f<0?"Up":"Down")))})),i.on("change",e=>{var t;let n=null==(t=this.getSlide())?void 0:t.triggerEl;if(n){let t=new CustomEvent("slideTo",{bubbles:!0,cancelable:!0,detail:e.page});n.dispatchEvent(t)}}),i.on(["refresh","change"],e=>{let t=this.container;if(!t)return;for(let n of t.querySelectorAll("[data-fancybox-current-index]"))n.innerHTML=e.page+1;for(let n of t.querySelectorAll("[data-fancybox-count]"))n.innerHTML=e.pages.length;if(!e.isInfinite){for(let n of t.querySelectorAll("[data-fancybox-next]"))e.page<e.pages.length-1?(n.removeAttribute(e4),n.removeAttribute(e6)):(n.setAttribute(e4,""),n.setAttribute(e6,"-1"));for(let n of t.querySelectorAll("[data-fancybox-prev]"))e.page>0?(n.removeAttribute(e4),n.removeAttribute(e6)):(n.setAttribute(e4,""),n.setAttribute(e6,"-1"))}let n=this.getSlide();if(!n)return;let i=n.downloadSrc||"";for(let e of(i||"image"!==n.type||n.error||"string"!=typeof n.src||(i=n.src),t.querySelectorAll("[data-fancybox-download]"))){let t=n.downloadFilename;i?(e.removeAttribute(e4),e.removeAttribute(e6),e.setAttribute(e8,i),e.setAttribute(e9,t||i),e.setAttribute("target","_blank")):(e.setAttribute(e4,""),e.setAttribute(e6,"-1"),e.removeAttribute(e8),e.removeAttribute(e9))}}),this.emit("initCarousel")}attachEvents(){let e=this.container;if(!e)return;e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("wheel",this.onWheel,{passive:!1,capture:!1}),document.addEventListener("keydown",this.onKeydown,{passive:!1,capture:!0}),document.addEventListener("visibilitychange",this.onVisibilityChange,!1),document.addEventListener("mousemove",this.onMousemove),this.option("trapFocus")&&document.addEventListener("focus",this.onFocus,!0),window.addEventListener("resize",this.onResize);let t=window.visualViewport;t&&(t.addEventListener("scroll",this.onResize),t.addEventListener("resize",this.onResize))}detachEvents(){let e=this.container;if(!e)return;document.removeEventListener("keydown",this.onKeydown,{passive:!1,capture:!0}),e.removeEventListener("wheel",this.onWheel,{passive:!1,capture:!1}),e.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),document.removeEventListener("mousemove",this.onMousemove),window.removeEventListener("resize",this.onResize);let t=window.visualViewport;t&&(t.removeEventListener("resize",this.onResize),t.removeEventListener("scroll",this.onResize)),document.removeEventListener("visibilitychange",this.onVisibilityChange,!1),document.removeEventListener("focus",this.onFocus,!0)}scale(){let e=this.container;if(!e)return;let t=window.visualViewport,n=Math.max(1,(null==t?void 0:t.scale)||1),i="",r="",s="";if(t&&n>1){let e=`${t.offsetLeft}px`,o=`${t.offsetTop}px`;i=t.width*n+"px",r=t.height*n+"px",s=`translate3d(${e}, ${o}, 0) scale(${1/n})`}e.style.transform=s,e.style.width=i,e.style.height=r}onClick(e){var t;let{container:n,isCompact:i}=this;if(!n||this.isClosing())return;!i&&this.option("idle")&&this.resetIdle();let r=e.composedPath()[0];if(r.closest(".fancybox-spinner")||r.closest("[data-fancybox-close]"))return e.preventDefault(),void this.close(e);if(r.closest("[data-fancybox-prev]"))return e.preventDefault(),void this.prev();if(r.closest("[data-fancybox-next]"))return e.preventDefault(),void this.next();if("click"===e.type&&0===e.detail||Math.abs(e.pageX-ti)>30||Math.abs(e.pageY-tr)>30)return;let s=document.activeElement;if(e7()&&s&&n.contains(s))return;if(i&&"image"===(null==(t=this.getSlide())?void 0:t.type))return void(this.clickTimer?(clearTimeout(this.clickTimer),this.clickTimer=null):this.clickTimer=setTimeout(()=>{this.toggleIdle(),this.clickTimer=null},350));
1if(this.emit("click",e),e.defaultPrevented)return;let o=!1;if(r.closest(".fancybox__content")){if(s){if(s.closest("[contenteditable]"))return;r.matches(er)||s.blur()}if(e7())return;o=this.option("contentClick")}else r.closest(".fancybox__carousel")&&!r.matches(er)&&(o=this.option("backdropClick"));"close"===o?(e.preventDefault(),this.close(e)):"next"===o?(e.preventDefault(),this.next()):"prev"===o&&(e.preventDefault(),this.prev())}onWheel(e){let t=e.target,n=this.option("wheel",e);t.closest(".fancybox__thumbs")&&(n="slide");let i="slide"===n,r=Math.max(-1,Math.min(1,[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e}))),s=Date.now();this.pwt&&s-this.pwt<300?i&&e.preventDefault():(this.pwt=s,this.emit("wheel",e,r),e.defaultPrevented||("close"===n?(e.preventDefault(),this.close(e)):"slide"===n&&(h(t)||(e.preventDefault(),this[r>0?"prev":"next"]()))))}onScroll(){window.scrollTo(ts,to)}onKeydown(e){if(!this.isTopmost())return;this.isCompact||!this.option("idle")||this.isClosing()||this.resetIdle();let t=e.key,n=this.option("keyboard");if(!n)return;let i=e.composedPath()[0],r=document.activeElement&&document.activeElement.classList,s=r&&r.contains("f-button")||i.dataset.carouselPage||i.dataset.carouselIndex;if("Escape"!==t&&!s&&L(i)&&(i.isContentEditable||-1!==["TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(i.nodeName))||("Tab"===e.key?I(this.container,eQ):A(this.container,eQ),e.ctrlKey||e.altKey||e.shiftKey))return;this.emit("keydown",t,e);let o=n[t];o&&"function"==typeof this[o]&&(e.preventDefault(),this[o]())}onResize(){let e=this.container;if(!e)return;let t=this.isCompact;e.classList.toggle(e1,t),this.manageCaption(this.getSlide()),this.isCompact?this.clearIdle():this.endIdle(),this.scale(),this.emit("resize")}onFocus(e){this.isTopmost()&&this.checkFocus(e)}onMousemove(e){this.prevMouseMoveEvent=e,!this.isCompact&&this.option("idle")&&this.resetIdle()}onVisibilityChange(){"visible"===document.visibilityState?this.checkFocus():this.endIdle()}manageCloseBtn(e){let t=this.optionFor(e,"closeButton")||!1;if("auto"===t){let e=this.plugins.Toolbar;if(e&&e.state===l.Ready)return}if(!t||!e.contentEl||e.closeBtnEl)return;let n=this.option("tpl.closeButton");if(n){let t=p(this.localize(n));e.closeBtnEl=e.contentEl.appendChild(t),e.el&&I(e.el,"has-close-btn")}}manageCaption(e){var t,n;let i="fancybox__caption",r=this.container;if(!r)return;A(r,e3);let s=this.isCompact||this.option("commonCaption"),o=!s;if(this.caption&&this.stop(this.caption),o&&this.caption&&(this.caption.remove(),this.caption=null),s&&!this.caption)for(let e of(null==(t=this.carousel)?void 0:t.slides)||[])e.captionEl&&(e.captionEl.remove(),e.captionEl=void 0,A(e.el,e3),null==(n=e.el)||n.removeAttribute("aria-labelledby"));if(e||(e=this.getSlide()),!e||s&&!this.isCurrentSlide(e))return;let a=e.el,l=this.optionFor(e,"caption","");if(!l)return void(s&&this.caption&&this.animate(this.caption,"f-fadeOut",()=>{this.caption&&(this.caption.innerHTML="")}));let c=null;if(o){if(c=e.captionEl||null,a&&!c){let t=i+`_${this.id}_${e.index}`;I(c=document.createElement("div"),i),c.setAttribute("id",t),e.captionEl=a.appendChild(c),I(a,e3),a.setAttribute("aria-labelledby",t)}}else(c=this.caption)||(c=r.querySelector("."+i)),c||((c=document.createElement("div")).dataset.fancyboxCaption="",I(c,i),(this.footer||r).prepend(c)),I(r,e3),this.caption=c;c&&(c.innerHTML="","string"==typeof l||"number"==typeof l?c.innerHTML=l+"":l instanceof HTMLElement&&c.appendChild(l))}checkFocus(e){this.focus(e)}focus(e){var t;if(this.ignoreFocusChange)return;let n=document.activeElement||null,i=(null==e?void 0:e.target)||null,r=this.container,s=null==(t=this.carousel)?void 0:t.viewport;if(!r||!s||!e&&n&&r.contains(n))return;let a=this.getSlide(),l=a&&a.state===o.Ready?a.el:null;if(!l||l.contains(n)||r===n)return;e&&e.cancelable&&e.preventDefault(),this.ignoreFocusChange=!0;let c=Array.from(r.querySelectorAll(er)),u=[],d=null;for(let e of c){let t=!e.offsetParent||!!e.closest('[aria-hidden="true"]'),n=l&&l.contains(e),i=!s.contains(e);if(e===r||(n||i)&&!t){u.push(e);let t=e.dataset.origTabindex;void 0!==t&&t&&(e.tabIndex=parseFloat(t)),e.removeAttribute("data-orig-tabindex"),!e.hasAttribute("autoFocus")&&d||(
1d=e)}else{let t=void 0===e.dataset.origTabindex?e.getAttribute("tabindex")||"":e.dataset.origTabindex;t&&(e.dataset.origTabindex=t),e.tabIndex=-1}}let h=null;e?(!i||0>u.indexOf(i))&&(h=d||r,u.length&&(n===tn?h=u[0]:this.lastFocus!==r&&n!==tt||(h=u[u.length-1]))):h=a&&"image"===a.type?r:d||r,h&&es(h),this.lastFocus=document.activeElement,this.ignoreFocusChange=!1}next(){let e=this.carousel;e&&e.pages.length>1&&e.slideNext()}prev(){let e=this.carousel;e&&e.pages.length>1&&e.slidePrev()}jumpTo(...e){this.carousel&&this.carousel.slideTo(...e)}isTopmost(){var e;return(null==(e=tc.getInstance())?void 0:e.id)==this.id}animate(e=null,t="",n){if(!e||!t)return void(n&&n());this.stop(e);let i=r=>{r.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",i),delete e.dataset.animationName,n&&n(),A(e,t))};e.dataset.animationName=t,e.addEventListener("animationend",i),I(e,t)}stop(e){e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))}setContent(e,t="",n=!0){if(this.isClosing())return;let i=e.el;if(!i)return;let r=null;if(L(t)?r=t:L(r=p(t+""))||((r=document.createElement("div")).innerHTML=t+""),["img","picture","iframe","video","audio"].includes(r.nodeName.toLowerCase())){let e=document.createElement("div");e.appendChild(r),r=e}L(r)&&e.filter&&!e.error&&(r=r.querySelector(e.filter)),r&&L(r)?(I(r,"fancybox__content"),e.id&&r.setAttribute("id",e.id),i.classList.add(`has-${e.error?"error":e.type||"unknown"}`),i.prepend(r),"none"===r.style.display&&(r.style.display=""),"none"===getComputedStyle(r).getPropertyValue("display")&&(r.style.display=e.display||this.option("defaultDisplay")||"flex"),e.contentEl=r,n&&this.revealContent(e),this.manageCloseBtn(e),this.manageCaption(e)):this.setError(e,"{{ELEMENT_NOT_FOUND}}")}revealContent(e,t){let n=e.el,i=e.contentEl;n&&i&&(this.emit("reveal",e),this.hideLoading(e),e.state=o.Opening,(t=this.isOpeningSlide(e)?void 0===t?this.optionFor(e,"showClass"):t:"f-fadeIn")?this.animate(i,t,()=>{this.done(e)}):this.done(e))}done(e){this.isClosing()||(e.state=o.Ready,this.emit("done",e),I(e.el,"is-done"),this.isCurrentSlide(e)&&this.option("autoFocus")&&queueMicrotask(()=>{var t;null==(t=e.panzoom)||t.updateControls(),this.option("autoFocus")&&this.focus()}),this.isOpeningSlide(e)&&(A(this.container,e5),!this.isCompact&&this.option("idle")&&this.setIdle()))}isCurrentSlide(e){let t=this.getSlide();return!(!e||!t)&&t.index===e.index}isOpeningSlide(e){var t,n;return null===(null==(t=this.carousel)?void 0:t.prevPage)&&e&&e.index===(null==(n=this.getSlide())?void 0:n.index)}showLoading(e){e.state=o.Loading;let t=e.el;t&&(I(t,e2),this.emit("loading",e),e.spinnerEl||setTimeout(()=>{if(!this.isClosing()&&!e.spinnerEl&&e.state===o.Loading){let n=p(O);I(n,"fancybox-spinner"),e.spinnerEl=n,t.prepend(n),this.animate(n,"f-fadeIn")}},250))}hideLoading(e){let t=e.el;if(!t)return;let n=e.spinnerEl;this.isClosing()?null==n||n.remove():(A(t,e2),n&&this.animate(n,"f-fadeOut",()=>{n.remove()}
1),e.state===o.Loading&&(this.emit("loaded",e),e.state=o.Ready))}setError(e,t){if(this.isClosing())return;let n=new Event("error",{bubbles:!0,cancelable:!0});if(this.emit("error",n,e),n.defaultPrevented)return;e.error=t,this.hideLoading(e),this.clearContent(e);let i=document.createElement("div");i.classList.add("fancybox-error"),i.innerHTML=this.localize(t||"<p>{{ERROR}}</p>"),this.setContent(e,i)}clearContent(e){if(void 0===e.state)return;this.emit("clearContent",e),e.contentEl&&(e.contentEl.remove(),e.contentEl=void 0);let t=e.el;t&&(A(t,"has-error"),A(t,"has-unknown"),A(t,`has-${e.type||"unknown"}`)),e.closeBtnEl&&e.closeBtnEl.remove(),e.closeBtnEl=void 0,e.captionEl&&e.captionEl.remove(),e.captionEl=void 0,e.spinnerEl&&e.spinnerEl.remove(),e.spinnerEl=void 0}getSlide(){var e;let t=this.carousel;return(null==(e=null==t?void 0:t.pages[null==t?void 0:t.page])?void 0:e.slides[0])||void 0}close(e,t){if(this.isClosing())return;let n=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(this.emit("shouldClose",n,e),n.defaultPrevented)return;e&&e.cancelable&&(e.preventDefault(),e.stopPropagation());let i=()=>{this.proceedClose(e,t)};this.startedFs&&te&&te.isFullscreen()?Promise.resolve(te.exit()).then(()=>i()):i()}clearIdle(){this.idleTimer&&clearTimeout(this.idleTimer),this.idleTimer=null}setIdle(e=!1){let t=()=>{this.clearIdle(),this.idle=!0,I(this.container,"is-idle"),this.emit("setIdle")};if(this.clearIdle(),!this.isClosing())if(e)t();else{let e=this.option("idle");e&&(this.idleTimer=setTimeout(t,e))}}endIdle(){this.clearIdle(),this.idle&&!this.isClosing()&&(this.idle=!1,A(this.container,"is-idle"),this.emit("endIdle"))}resetIdle(){this.endIdle(),this.setIdle()}toggleIdle(){this.idle?this.endIdle():this.setIdle(!0)}toggleFullscreen(){te&&(te.isFullscreen()?te.exit():te.request().then(()=>{this.startedFs=!0}))}isClosing(){return[s.Closing,s.CustomClosing,s.Destroy].includes(this.state)}proceedClose(e,t){var n,i;this.state=s.Closing,this.clearIdle(),this.detachEvents();let r=this.container,a=this.carousel,l=this.getSlide(),c=l&&this.option("placeFocusBack")?l.triggerEl||this.option("triggerEl"):null;if(c&&(en(c)?es(c):c.focus()),r&&(A(r,e5),I(r,"is-closing"),r.setAttribute(eJ,"true"),this.option("animated")&&I(r,e0),r.style.pointerEvents="none"),a)for(let e of(a.clearTransitions(),null==(n=a.panzoom)||n.destroy(),null==(i=a.plugins.Navigation)||i.detach(),a.slides)){e.state=o.Closing,this.hideLoading(e);let t=e.contentEl;t&&this.stop(t);let n=null==e?void 0:e.panzoom;n&&(n.stop(),n.detachEvents(),n.detachObserver()),this.isCurrentSlide(e)||a.emit("removeSlide",e)}ts=window.scrollX,to=window.scrollY,window.addEventListener("scroll",this.onScroll),this.emit("close",e),this.state!==s.CustomClosing?(void 0===t&&l&&(t=this.optionFor(l,"hideClass")),t&&l?(this.animate(l.contentEl,t,()=>{a&&a.emit("removeSlide",l)}),setTimeout(()=>{this.destroy()},500)):this.destroy()):setTimeout(()=>{this.destroy()},500)}destroy(){var e;if(this.state===s.Destroy)return;window.removeEventListener("scroll",this.onScroll),this.state=s.Destroy,null==(e=this.carousel)||e.destroy();let t=this.container;t&&t.remove(),ta.delete(this.id);let n=tc.getInstance();n?n.focus():(tt&&(tt.remove(),tt=null),tn&&(tn.remove(),tn=null),A(document.documentElement,eU),(()=>{if(!ei)return;let e=document,t=e.body;t.classList.remove(eX),t.style.setProperty(eK,""),e.documentElement.style.setProperty(eZ,"")})(),this.emit("destroy"))}
1static bind(e,t,n){if(!ei)return;let i,r="",s={};if(void 0===e?i=document.body:"string"==typeof e?(i=document.body,r=e,"object"==typeof t&&(s=t||{})):(i=e,"string"==typeof t&&(r=t),"object"==typeof n&&(s=n||{})),!i||!L(i))return;r=r||"[data-fancybox]";let o=tc.openers.get(i)||new Map;o.set(r,s),tc.openers.set(i,o),1===o.size&&i.addEventListener("click",tc.fromEvent)}static unbind(e,t){let n,i="";if("string"==typeof e?(n=document.body,i=e):(n=e,"string"==typeof t&&(i=t)),!n)return;let r=tc.openers.get(n);r&&i&&r.delete(i),i&&r||(tc.openers.delete(n),n.removeEventListener("click",tc.fromEvent))}static destroy(){let e;for(;e=tc.getInstance();)e.destroy();for(let e of tc.openers.keys())e.removeEventListener("click",tc.fromEvent);tc.openers=new Map}static fromEvent(e){let t,n,i,r;if(e.defaultPrevented||e.button&&0!==e.button||e.ctrlKey||e.metaKey||e.shiftKey)return;let s=e.composedPath()[0],o=s.closest("[data-fancybox-trigger]");if(o){let e=o.dataset.fancyboxTrigger||"";s=document.querySelectorAll(`[data-fancybox="${e}"]`)[parseInt(o.dataset.fancyboxIndex||"",10)||0]||s}if(!(s&&s instanceof Element)||([...tc.openers].reverse().find(([e,o])=>!(!e.contains(s)||![...o].reverse().find(([o,a])=>{let l=s.closest(o);return!!l&&(t=e,n=o,i=l,r=a,!0)}))),!t||!n||!i))return;r=r||{},e.preventDefault(),s=i;let a=[],l=S({},ea,r);l.event=e,l.triggerEl=s,l.delegate=o;let c=l.groupAll,u=l.groupAttr,d=u&&s?s.getAttribute(`${u}`):"";if((!s||d||c)&&(a=[].slice.call(t.querySelectorAll(n))),s&&!c&&(a=d?a.filter(e=>e.getAttribute(`${u}`)===d):[s]),!a.length)return;let h=tc.getInstance();return h&&h.options.triggerEl&&a.indexOf(h.options.triggerEl)>-1?void 0:(s&&(l.startIndex=a.indexOf(s)),tc.fromNodes(a,l))}static fromSelector(e,t,n){let i=null,r="",s={};if("string"==typeof e?(i=document.body,r=e,"object"==typeof t&&(s=t||{})):e instanceof HTMLElement&&"string"==typeof t&&(i=e,r=t,"object"==typeof n&&(s=n||{})),!i||!r)return!1;let o=tc.openers.get(i);return!!o&&!!(s=S({},o.get(r)||{},s))&&tc.fromNodes(Array.from(i.querySelectorAll(r)),s)}static fromNodes(e,t){t=S({},ea,t||{});let n=[];for(let i of e){let e,r,s=i.dataset||{},o=s.src||i.getAttribute(e8)||i.getAttribute("currentSrc")||i.getAttribute("src")||void 0,a=t.delegate;a&&n.length===t.startIndex&&(e=a instanceof HTMLImageElement?a:a.querySelector("img:not([aria-hidden])")),e||(e=i instanceof HTMLImageElement?i:i.querySelector("img:not([aria-hidden])")),!e||(r=e.currentSrc||e.src||void 0)||!e.dataset||(r=e.dataset.lazySrc||e.dataset.src||void 0);let l={src:o,triggerEl:i,thumbEl:e,thumbElSrc:r,thumbSrc:r};for(let e in s){let t=s[e]+"";t="false"!==t&&("true"===t||t),l[e]=t}n.push(l)}return new tc(n,t)}static getInstance(e){return e?ta.get(e):Array.from(ta.values()).reverse().find(e=>!e.isClosing()&&e)||null}static getSlide(){var e;return(null==(e=tc.getInstance())?void 0:e.getSlide())||null}static show(e=[],t={}){return new tc(e,t)}static next(){let e=tc.getInstance();e&&e.next()}static prev(){let e=tc.getInstance();e&&e.prev()}static close(e=!0,...t){if(e)for(let e of ta.values())e.close(...t);else{let e=tc.getInstance();e&&e.close(...t)}}}Object.defineProperty(tc,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(tc,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:ea}),Object.defineProperty(tc,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:{Hash:class extends W{onReady(){ec=!1}onChange(e){ed&&clearTimeout(ed);let{hash:t}=eh(),{hash:n}=ep(),i=e.isOpeningSlide(e.getSlide());i&&(el=n===t?"":n),t&&t!==n&&(ed=setTimeout(()=>{try{if(e.state===s.Ready){let e="replaceState";i&&!eu&&(e="pushState",eu=!0),window.history[e]({},document.title,window.location.pathname+window.location.search+t)}}catch(e){}},300))}onClose(e){if(ed&&clearTimeout(ed),!ec&&eu)return eu=!1,ec=!1,void window.history.back();if(!ec)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+(el||""))}catch(e){}}attach(){let e=this.instance;e.on("ready",this.onReady),e.on(["Carousel.ready","Carousel.change"],this.onChange),e.on("close",this.onClose)}detach(){let e=this.instance;e.off("ready",this.onReady),e.off(["Carousel.ready","Carousel.change"],this.onChange),e.off("close",this.onClose)}static parseURL(){return ep()}static startFromUrl(){ef()}static destroy(){window.removeEventListener("hashchange",eg,!1)}},Html:eP,Images:ey,Slideshow:eI,Thumbs:e$,Toolbar:eG}}),Object.defineProperty(tc,"openers",{enumerable:!0,configurable:!0,writable:!0,value:new Map})}}]);
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.