ecars-web-lib 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const ge=require("react/jsx-runtime"),Ie=require("react");function JM(i){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const o in i)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(l,o,c.get?c:{enumerable:!0,get:()=>i[o]})}}return l.default=i,Object.freeze(l)}const V=JM(Ie),eL="categoryTestId";function l1(i){var l,o,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var p=i.length;for(l=0;l<p;l++)i[l]&&(o=l1(i[l]))&&(c&&(c+=" "),c+=o)}else for(o in i)i[o]&&(c&&(c+=" "),c+=o);return c}function tL(){for(var i,l,o=0,c="",p=arguments.length;o<p;o++)(i=arguments[o])&&(l=l1(i))&&(c&&(c+=" "),c+=l);return c}const ar=(i="",l,...o)=>{const c=i?`${i}__${l} ${l}`:l;return tL(c,o)},nL=({category:i,block:l})=>{const o=ar(l,"category",`category--${i}`);return ge.jsx("span",{"data-testid":eL,className:o,children:i})},rL=({id:i,block:l,...o})=>ge.jsxs(Bg.Block,{htmlFor:i,block:l,children:[ge.jsx(Bg.Input,{...o,id:i}),ge.jsx(Bg.Indicator,{})]}),aL="checkboxTestId",iL="checkboxTestInputId",lL=({children:i,block:l,htmlFor:o="checkbox"})=>{const c=ar(l,"checkbox");return ge.jsx("label",{"data-testid":aL,className:c,htmlFor:o,children:i})};var o1={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ux=Ie.createContext&&Ie.createContext(o1),oL=["attr","size","title"];function uL(i,l){if(i==null)return{};var o=sL(i,l),c,p;if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(i);for(p=0;p<h.length;p++)c=h[p],!(l.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(i,c)&&(o[c]=i[c])}return o}function sL(i,l){if(i==null)return{};var o={};for(var c in i)if(Object.prototype.hasOwnProperty.call(i,c)){if(l.indexOf(c)>=0)continue;o[c]=i[c]}return o}function Yg(){return Yg=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},Yg.apply(this,arguments)}function sx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function qg(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?sx(Object(o),!0).forEach(function(c){cL(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):sx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function cL(i,l,o){return l=fL(l),l in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}function fL(i){var l=dL(i,"string");return typeof l=="symbol"?l:l+""}function dL(i,l){if(typeof i!="object"||!i)return i;var o=i[Symbol.toPrimitive];if(o!==void 0){var c=o.call(i,l);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}function u1(i){return i&&i.map((l,o)=>Ie.createElement(l.tag,qg({key:o},l.attr),u1(l.child)))}function uc(i){return l=>Ie.createElement(pL,Yg({attr:qg({},i.attr)},l),u1(i.child))}function pL(i){var l=o=>{var{attr:c,size:p,title:h}=i,m=uL(i,oL),w=p||o.size||"1em",b;return o.className&&(b=o.className),i.className&&(b=(b?b+" ":"")+i.className),Ie.createElement("svg",Yg({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},o.attr,c,m,{className:b,style:qg(qg({color:i.color||o.color},o.style),i.style),height:w,width:w,xmlns:"http://www.w3.org/2000/svg"}),h&&Ie.createElement("title",null,h),i.children)};return ux!==void 0?Ie.createElement(ux.Consumer,null,o=>l(o)):l(o1)}function vL(i){return uc({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"},child:[]}]})(i)}function hL(i){return uc({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(i)}function mL(i){return uc({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(i)}function gL(i){return uc({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"},child:[]}]})(i)}function yL(i){return uc({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M278.6 256l68.2-68.2c6.2-6.2 6.2-16.4 0-22.6-6.2-6.2-16.4-6.2-22.6 0L256 233.4l-68.2-68.2c-6.2-6.2-16.4-6.2-22.6 0-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3l68.2 68.2-68.2 68.2c-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3 6.2 6.2 16.4 6.2 22.6 0l68.2-68.2 68.2 68.2c6.2 6.2 16.4 6.2 22.6 0 6.2-6.2 6.2-16.4 0-22.6L278.6 256z"},child:[]}]})(i)}const Dl={ArrowNarrowRight:mL,ArrowNarrowLeft:hL,ArrowNarrowDown:vL,Check:gL,Close:yL},SL=()=>ge.jsx("span",{className:"checkbox__indicator",children:ge.jsx(Dl.Check,{})}),wL=({onChange:i,id:l="checkbox",checked:o=!1,disabled:c=!1,name:p="checkbox",hasError:h=!1})=>{const m=ar("","checkbox__input",{error:h}),w=b=>{i&&i(b.target.checked)};return ge.jsx("input",{"data-testid":iL,name:p,disabled:c,className:m,checked:o,onChange:w,id:l,type:"checkbox"})},Bg=Object.assign(rL,{Block:lL,Indicator:SL,Input:wL}),bL="dropdownTestId",s1=i=>{const l=Ie.useRef(null);return Ie.useEffect(()=>{const o=c=>{const p=c.target;l.current&&p instanceof Node&&!l.current.contains(p)&&i(!1)};return document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o)}},[l,i]),l},EL=({category:i,block:l,options:o,onSelect:c,handleOpen:p,isOpen:h,onClickOutside:m})=>{const w=o.find(T=>T.value===i),b=s1(m);return ge.jsxs("div",{"data-testid":bL,ref:b,className:ar(l,"dropdown-menu",{"_dropdown-active":h}),children:[ge.jsx(Av.Block,{children:ge.jsx(Av.Category,{handleOpen:p,item:w})}),ge.jsx(Av.List,{onSelect:c,options:o,category:i})]})},TL=({category:i,options:l,onSelect:o})=>ge.jsx("ul",{className:"dropdown-menu__list",children:l.map(c=>{const{value:p,label:h}=c,m=p===i;return ge.jsx(Av.Option,{value:p,label:h,onSelect:o,isSelected:m},p)})}),CL=({label:i,value:l,isSelected:o,onSelect:c})=>{const p=()=>{c(l)};return ge.jsxs("li",{onClick:p,className:ar("","dropdown-menu__option",{"_selected-option":o}),children:[i&&i," ",l]})},xL=({item:i,handleOpen:l})=>ge.jsxs("button",{onClick:l,className:"dropdown-menu__category",children:[i==null?void 0:i.label,i==null?void 0:i.value,ge.jsx(Dl.ArrowNarrowDown,{className:"dropdown-menu__arrow"})]}),RL=({children:i})=>ge.jsx("div",{className:"dropdown-menu__block",children:i}),Av=Object.assign(EL,{List:TL,Option:CL,Category:xL,Block:RL});function OL(i){return uc({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"},child:[]}]})(i)}function kL(i){return uc({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"},child:[]}]})(i)}const DL="favButtonTestId",_L=({disabled:i,block:l,isFavorite:o,type:c,onClick:p})=>{const h=ar(l,"favorite-button",`favorite-button--${c}`,{active:o});return ge.jsx("button",{"data-testid":DL,disabled:i,className:h,onClick:p,type:"button",children:o?ge.jsx(OL,{}):ge.jsx(kL,{})})},ML="fieldTestId",LL="fieldLabelTestId",NL=({label:i,block:l,children:o,error:c,id:p="input"})=>{const h=ar(l,"field");return ge.jsxs("div",{"data-testid":ML,className:h,children:[!!i&&ge.jsx(Yw.Label,{text:i,htmlFor:p}),Ie.cloneElement(o,{id:p,hasError:!!c}),!!c&&ge.jsx(Yw.Error,{errorText:c})]})},zL=({text:i,htmlFor:l="input"})=>ge.jsx("label",{"data-testid":LL,className:"field__label",htmlFor:l,children:i}),AL=({errorText:i})=>ge.jsx("p",{className:"field__error",children:i}),Yw=Object.assign(NL,{Label:zL,Error:AL}),PL=({children:i})=>ge.jsx("div",{className:"filter-accordion__block",children:i}),c1=(i,l)=>({block:o,children:c,...p})=>{const h=Array.isArray(c)?c.map((m,w)=>Ie.cloneElement(m,{block:o,key:`${o} - ${w.toString()}`})):Ie.cloneElement(c,{block:o});return ge.jsx(i,{className:l,...p,children:h})},f1="filter-accordion",jL="filterAccordionTestId",UL=c1(PL,f1),FL=({onClick:i,title:l,isOpen:o,children:c})=>ge.jsxs(sd.Layout,{isOpen:o,children:[ge.jsxs(sd.Block,{block:f1,children:[ge.jsx("h2",{className:"filter-accordion__title",children:l}),ge.jsx(sd.Reset,{}),ge.jsx(sd.Arrow,{onClick:i})]}),ge.jsx(sd.Content,{isOpen:o,children:c})]}),IL=({isOpen:i,block:l,children:o})=>ge.jsx("div",{"data-testid":jL,className:ar(l,"filter-accordion",{"_active-accordion":i}),children:o}),HL=({onClick:i})=>ge.jsx("button",{onClick:i,className:"filter-accordion__arrow",children:ge.jsx(Dl.ArrowNarrowDown,{})}),BL="buttonTestId",hb=({children:i,size:l,color:o,onClick:c,type:p="button",disabled:h=!1,isTransparent:m=!1,withIcon:w=!1,block:b})=>{const T=ar(b,"button",`button--${l} button--${o}`,{"button--transparent":m,"button--icon":w});return ge.jsx("button",{"data-testid":BL,disabled:h,type:p,className:T,onClick:c,children:i})},VL=({block:i})=>ge.jsx(hb,{block:i,isTransparent:!0,size:"small",color:"gray",children:"Reset"}),d1=i=>{const l=Ie.useRef(null),o=Ie.useMemo(()=>{var c;return{height:i?(c=l.current)==null?void 0:c.scrollHeight:0}},[i]);return{contentRef:l,style:o}},$L=({isOpen:i,children:l})=>{const{style:o,contentRef:c}=d1(i);return ge.jsx("div",{style:o,ref:c,className:"filter-accordion__content",children:ge.jsx("div",{className:"filter-accordion__body",children:l})})},sd=Object.assign(FL,{Layout:IL,Arrow:HL,Reset:VL,Block:UL,Content:$L}),WL="leftIconButtonTestId",GL="rightIconButtonTestId",p1=({RightIcon:i,LeftIcon:l,children:o,className:c,...p})=>ge.jsxs(hb,{withIcon:!0,...p,children:[!!l&&ge.jsx(l,{className:c,"data-testid":WL}),o,!!i&&ge.jsx(i,{className:c,"data-testid":GL})]}),YL=({children:i,onClick:l,block:o})=>ge.jsx(p1,{type:"button",block:o,onClick:l,className:"button__close",RightIcon:Dl.Close,size:"small",color:"gray",children:i});var qL={694:(i,l,o)=>{var c=o(925);function p(){}function h(){}h.resetWarningCache=p,i.exports=function(){function m(T,O,R,D,L,M){if(M!==c){var U=new 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 U.name="Invariant Violation",U}}function w(){return m}m.isRequired=m;var b={array:m,bigint:m,bool:m,func:m,number:m,object:m,string:m,symbol:m,any:m,arrayOf:w,element:m,elementType:m,instanceOf:w,node:m,objectOf:w,oneOf:w,oneOfType:w,shape:w,exact:w,checkPropTypes:h,resetWarningCache:p};return b.PropTypes=b,b}},556:(i,l,o)=>{i.exports=o(694)()},925:i=>{i.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},115:i=>{var l=typeof Element<"u",o=typeof Map=="function",c=typeof Set=="function",p=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function h(m,w){if(m===w)return!0;if(m&&w&&typeof m=="object"&&typeof w=="object"){if(m.constructor!==w.constructor)return!1;var b,T,O,R;if(Array.isArray(m)){if((b=m.length)!=w.length)return!1;for(T=b;T--!=0;)if(!h(m[T],w[T]))return!1;return!0}if(o&&m instanceof Map&&w instanceof Map){if(m.size!==w.size)return!1;for(R=m.entries();!(T=R.next()).done;)if(!w.has(T.value[0]))return!1;for(R=m.entries();!(T=R.next()).done;)if(!h(T.value[1],w.get(T.value[0])))return!1;return!0}if(c&&m instanceof Set&&w instanceof Set){if(m.size!==w.size)return!1;for(R=m.entries();!(T=R.next()).done;)if(!w.has(T.value[0]))return!1;return!0}if(p&&ArrayBuffer.isView(m)&&ArrayBuffer.isView(w)){if((b=m.length)!=w.length)return!1;for(T=b;T--!=0;)if(m[T]!==w[T])return!1;return!0}if(m.constructor===RegExp)return m.source===w.source&&m.flags===w.flags;if(m.valueOf!==Object.prototype.valueOf&&typeof m.valueOf=="function"&&typeof w.valueOf=="function")return m.valueOf()===w.valueOf();if(m.toString!==Object.prototype.toString&&typeof m.toString=="function"&&typeof w.toString=="function")return m.toString()===w.toString();if((b=(O=Object.keys(m)).length)!==Object.keys(w).length)return!1;for(T=b;T--!=0;)if(!Object.prototype.hasOwnProperty.call(w,O[T]))return!1;if(l&&m instanceof Element)return!1;for(T=b;T--!=0;)if((O[T]!=="_owner"&&O[T]!=="__v"&&O[T]!=="__o"||!m.$$typeof)&&!h(m[O[T]],w[O[T]]))return!1;return!0}return m!=m&&w!=w}i.exports=function(m,w){try{return h(m,w)}catch(b){if((b.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw b}}}},cx={};function Xr(i){var l=cx[i];if(l!==void 0)return l.exports;var o=cx[i]={exports:{}};return qL[i](o,o.exports,Xr),o.exports}Xr.n=i=>{var l=i&&i.__esModule?()=>i.default:()=>i;return Xr.d(l,{a:l}),l},Xr.d=(i,l)=>{for(var o in l)Xr.o(l,o)&&!Xr.o(i,o)&&Object.defineProperty(i,o,{enumerable:!0,get:l[o]})},Xr.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),Xr.o=(i,l)=>Object.prototype.hasOwnProperty.call(i,l);var v1={};function h1(i){var l,o,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var p=i.length;for(l=0;l<p;l++)i[l]&&(o=h1(i[l]))&&(c&&(c+=" "),c+=o)}else for(o in i)i[o]&&(c&&(c+=" "),c+=o);return c}Xr.d(v1,{A:()=>UN});const tc=function(){for(var i,l,o=0,c="",p=arguments.length;o<p;o++)(i=arguments[o])&&(l=h1(i))&&(c&&(c+=" "),c+=l);return c},xe=(fx={default:()=>V.default,useMemo:()=>V.useMemo,useRef:()=>V.useRef},Mw={},Xr.d(Mw,fx),Mw);var fx,Mw;const Qg=function(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")},QL=typeof global=="object"&&global&&global.Object===Object&&global;var XL=typeof self=="object"&&self&&self.Object===Object&&self;const m1=QL||XL||Function("return this")(),Lw=function(){return m1.Date.now()};var KL=/\s/,ZL=/^\s+/;const JL=function(i){return i&&i.slice(0,function(l){for(var o=l.length;o--&&KL.test(l.charAt(o)););return o}(i)+1).replace(ZL,"")},Xg=m1.Symbol;var g1=Object.prototype,eN=g1.hasOwnProperty,tN=g1.toString,Lv=Xg?Xg.toStringTag:void 0,nN=Object.prototype.toString,dx=Xg?Xg.toStringTag:void 0;const rN=function(i){return i==null?i===void 0?"[object Undefined]":"[object Null]":dx&&dx in Object(i)?function(l){var o=eN.call(l,Lv),c=l[Lv];try{l[Lv]=void 0;var p=!0}catch{}var h=tN.call(l);return p&&(o?l[Lv]=c:delete l[Lv]),h}(i):function(l){return nN.call(l)}(i)};var aN=/^[-+]0x[0-9a-f]+$/i,iN=/^0b[01]+$/i,lN=/^0o[0-7]+$/i,oN=parseInt;const px=function(i){if(typeof i=="number")return i;if(function(c){return typeof c=="symbol"||function(p){return p!=null&&typeof p=="object"}(c)&&rN(c)=="[object Symbol]"}(i))return NaN;if(Qg(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Qg(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=JL(i);var o=iN.test(i);return o||lN.test(i)?oN(i.slice(2),o?2:8):aN.test(i)?NaN:+i};var uN=Math.max,sN=Math.min;const qw=function(i,l,o){var c,p,h,m,w,b,T=0,O=!1,R=!1,D=!0;if(typeof i!="function")throw new TypeError("Expected a function");function L(z){var j=c,q=p;return c=p=void 0,T=z,m=i.apply(q,j)}function M(z){var j=z-b;return b===void 0||j>=l||j<0||R&&z-T>=h}function U(){var z=Lw();if(M(z))return P(z);w=setTimeout(U,function(j){var q=l-(j-b);return R?sN(q,h-(j-T)):q}(z))}function P(z){return w=void 0,D&&c?L(z):(c=p=void 0,m)}function N(){var z=Lw(),j=M(z);if(c=arguments,p=this,b=z,j){if(w===void 0)return function(q){return T=q,w=setTimeout(U,l),O?L(q):m}(b);if(R)return clearTimeout(w),w=setTimeout(U,l),L(b)}return w===void 0&&(w=setTimeout(U,l)),m}return l=px(l)||0,Qg(o)&&(O=!!o.leading,h=(R="maxWait"in o)?uN(px(o.maxWait)||0,l):h,D="trailing"in o?!!o.trailing:D),N.cancel=function(){w!==void 0&&clearTimeout(w),T=0,c=b=p=w=void 0},N.flush=function(){return w===void 0?m:P(Lw())},N},vx=function(i,l,o){var c=!0,p=!0;if(typeof i!="function")throw new TypeError("Expected a function");return Qg(o)&&(c="leading"in o?!!o.leading:c,p="trailing"in o?!!o.trailing:p),qw(i,l,{leading:c,maxWait:l,trailing:p})};var cN=Xr(115),fN=Xr.n(cN),y1=function(){if(typeof Map<"u")return Map;function i(l,o){var c=-1;return l.some(function(p,h){return p[0]===o&&(c=h,!0)}),c}return function(){function l(){this.__entries__=[]}return Object.defineProperty(l.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),l.prototype.get=function(o){var c=i(this.__entries__,o),p=this.__entries__[c];return p&&p[1]},l.prototype.set=function(o,c){var p=i(this.__entries__,o);~p?this.__entries__[p][1]=c:this.__entries__.push([o,c])},l.prototype.delete=function(o){var c=this.__entries__,p=i(c,o);~p&&c.splice(p,1)},l.prototype.has=function(o){return!!~i(this.__entries__,o)},l.prototype.clear=function(){this.__entries__.splice(0)},l.prototype.forEach=function(o,c){c===void 0&&(c=null);for(var p=0,h=this.__entries__;p<h.length;p++){var m=h[p];o.call(c,m[1],m[0])}},l}()}(),Qw=typeof window<"u"&&typeof document<"u"&&window.document===document,Kg=Xr.g!==void 0&&Xr.g.Math===Math?Xr.g:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),dN=typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Kg):function(i){return setTimeout(function(){return i(Date.now())},1e3/60)},pN=["top","right","bottom","left","width","height","size","weight"],vN=typeof MutationObserver<"u",hN=function(){function i(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(l){var o=!1,c=!1,p=0;function h(){o&&(o=!1,l()),c&&w()}function m(){dN(h)}function w(){var b=Date.now();if(o){if(b-p<2)return;c=!0}else o=!0,c=!1,setTimeout(m,20);p=b}return w}(this.refresh.bind(this))}return i.prototype.addObserver=function(l){~this.observers_.indexOf(l)||this.observers_.push(l),this.connected_||this.connect_()},i.prototype.removeObserver=function(l){var o=this.observers_,c=o.indexOf(l);~c&&o.splice(c,1),!o.length&&this.connected_&&this.disconnect_()},i.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},i.prototype.updateObservers_=function(){var l=this.observers_.filter(function(o){return o.gatherActive(),o.hasActive()});return l.forEach(function(o){return o.broadcastActive()}),l.length>0},i.prototype.connect_=function(){Qw&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),vN?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},i.prototype.disconnect_=function(){Qw&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},i.prototype.onTransitionEnd_=function(l){var o=l.propertyName,c=o===void 0?"":o;pN.some(function(p){return!!~c.indexOf(p)})&&this.refresh()},i.getInstance=function(){return this.instance_||(this.instance_=new i),this.instance_},i.instance_=null,i}(),hx=function(i,l){for(var o=0,c=Object.keys(l);o<c.length;o++){var p=c[o];Object.defineProperty(i,p,{value:l[p],enumerable:!1,writable:!1,configurable:!0})}return i},vd=function(i){return i&&i.ownerDocument&&i.ownerDocument.defaultView||Kg},mx=Zg(0,0,0,0);function Vg(i){return parseFloat(i)||0}function gx(i){for(var l=[],o=1;o<arguments.length;o++)l[o-1]=arguments[o];return l.reduce(function(c,p){return c+Vg(i["border-"+p+"-width"])},0)}var mN=typeof SVGGraphicsElement<"u"?function(i){return i instanceof vd(i).SVGGraphicsElement}:function(i){return i instanceof vd(i).SVGElement&&typeof i.getBBox=="function"};function gN(i){return Qw?mN(i)?function(l){var o=l.getBBox();return Zg(0,0,o.width,o.height)}(i):function(l){var o=l.clientWidth,c=l.clientHeight;if(!o&&!c)return mx;var p=vd(l).getComputedStyle(l),h=function(D){for(var L={},M=0,U=["top","right","bottom","left"];M<U.length;M++){var P=U[M],N=D["padding-"+P];L[P]=Vg(N)}return L}(p),m=h.left+h.right,w=h.top+h.bottom,b=Vg(p.width),T=Vg(p.height);if(p.boxSizing==="border-box"&&(Math.round(b+m)!==o&&(b-=gx(p,"left","right")+m),Math.round(T+w)!==c&&(T-=gx(p,"top","bottom")+w)),!function(D){return D===vd(D).document.documentElement}(l)){var O=Math.round(b+m)-o,R=Math.round(T+w)-c;Math.abs(O)!==1&&(b-=O),Math.abs(R)!==1&&(T-=R)}return Zg(h.left,h.top,b,T)}(i):mx}function Zg(i,l,o,c){return{x:i,y:l,width:o,height:c}}var yN=function(){function i(l){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Zg(0,0,0,0),this.target=l}return i.prototype.isActive=function(){var l=gN(this.target);return this.contentRect_=l,l.width!==this.broadcastWidth||l.height!==this.broadcastHeight},i.prototype.broadcastRect=function(){var l=this.contentRect_;return this.broadcastWidth=l.width,this.broadcastHeight=l.height,l},i}(),SN=function(i,l){var o=function(c){var p=c.x,h=c.y,m=c.width,w=c.height,b=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,T=Object.create(b.prototype);return hx(T,{x:p,y:h,width:m,height:w,top:h,right:p+m,bottom:w+h,left:p}),T}(l);hx(this,{target:i,contentRect:o})},wN=function(){function i(l,o,c){if(this.activeObservations_=[],this.observations_=new y1,typeof l!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=l,this.controller_=o,this.callbackCtx_=c}return i.prototype.observe=function(l){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(l instanceof vd(l).Element))throw new TypeError('parameter 1 is not of type "Element".');var o=this.observations_;o.has(l)||(o.set(l,new yN(l)),this.controller_.addObserver(this),this.controller_.refresh())}},i.prototype.unobserve=function(l){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(l instanceof vd(l).Element))throw new TypeError('parameter 1 is not of type "Element".');var o=this.observations_;o.has(l)&&(o.delete(l),o.size||this.controller_.removeObserver(this))}},i.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},i.prototype.gatherActive=function(){var l=this;this.clearActive(),this.observations_.forEach(function(o){o.isActive()&&l.activeObservations_.push(o)})},i.prototype.broadcastActive=function(){if(this.hasActive()){var l=this.callbackCtx_,o=this.activeObservations_.map(function(c){return new SN(c.target,c.broadcastRect())});this.callback_.call(l,o,l),this.clearActive()}},i.prototype.clearActive=function(){this.activeObservations_.splice(0)},i.prototype.hasActive=function(){return this.activeObservations_.length>0},i}(),S1=typeof WeakMap<"u"?new WeakMap:new y1,w1=function i(l){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=hN.getInstance(),c=new wN(l,o,this);S1.set(this,c)};["observe","unobserve","disconnect"].forEach(function(i){w1.prototype[i]=function(){var l;return(l=S1.get(this))[i].apply(l,arguments)}});const yx=Kg.ResizeObserver!==void 0?Kg.ResizeObserver:w1,xo="Left",Ro="Right",Oo="Up",ko="Down",ud={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},Nw={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},Sx="mousemove",wx="mouseup";function bx(i,l){if(l===0)return i;const o=Math.PI/180*l;return[i[0]*Math.cos(o)+i[1]*Math.sin(o),i[1]*Math.cos(o)-i[0]*Math.sin(o)]}function bN(i){const{trackMouse:l}=i,o=xe.useRef(Object.assign({},Nw)),c=xe.useRef(Object.assign({},ud)),p=xe.useRef(Object.assign({},c.current));let h;for(h in p.current=Object.assign({},c.current),c.current=Object.assign(Object.assign({},ud),i),ud)c.current[h]===void 0&&(c.current[h]=ud[h]);const[m,w]=xe.useMemo(()=>function(b,T){const O=P=>{const N="touches"in P;N&&P.touches.length>1||b((z,j)=>{j.trackMouse&&!N&&(document.addEventListener(Sx,R),document.addEventListener(wx,L));const{clientX:q,clientY:$}=N?P.touches[0]:P,se=bx([q,$],j.rotationAngle);return j.onTouchStartOrOnMouseDown&&j.onTouchStartOrOnMouseDown({event:P}),Object.assign(Object.assign(Object.assign({},z),Nw),{initial:se.slice(),xy:se,start:P.timeStamp||0})})},R=P=>{b((N,z)=>{const j="touches"in P;if(j&&P.touches.length>1)return N;if(P.timeStamp-N.start>z.swipeDuration)return N.swiping?Object.assign(Object.assign({},N),{swiping:!1}):N;const{clientX:q,clientY:$}=j?P.touches[0]:P,[se,le]=bx([q,$],z.rotationAngle),ve=se-N.xy[0],ee=le-N.xy[1],J=Math.abs(ve),re=Math.abs(ee),oe=(P.timeStamp||0)-N.start,we=Math.sqrt(J*J+re*re)/(oe||1),Qe=[ve/(oe||1),ee/(oe||1)],Ge=function(Se,ye,tt,it){return Se>ye?tt>0?Ro:xo:it>0?ko:Oo}(J,re,ve,ee),be=typeof z.delta=="number"?z.delta:z.delta[Ge.toLowerCase()]||ud.delta;if(J<be&&re<be&&!N.swiping)return N;const $e={absX:J,absY:re,deltaX:ve,deltaY:ee,dir:Ge,event:P,first:N.first,initial:N.initial,velocity:we,vxvy:Qe};$e.first&&z.onSwipeStart&&z.onSwipeStart($e),z.onSwiping&&z.onSwiping($e);let ue=!1;return(z.onSwiping||z.onSwiped||z[`onSwiped${Ge}`])&&(ue=!0),ue&&z.preventScrollOnSwipe&&z.trackTouch&&P.cancelable&&P.preventDefault(),Object.assign(Object.assign({},N),{first:!1,eventData:$e,swiping:!0})})},D=P=>{b((N,z)=>{let j;if(N.swiping&&N.eventData){if(P.timeStamp-N.start<z.swipeDuration){j=Object.assign(Object.assign({},N.eventData),{event:P}),z.onSwiped&&z.onSwiped(j);const q=z[`onSwiped${j.dir}`];q&&q(j)}}else z.onTap&&z.onTap({event:P});return z.onTouchEndOrOnMouseUp&&z.onTouchEndOrOnMouseUp({event:P}),Object.assign(Object.assign(Object.assign({},N),Nw),{eventData:j})})},L=P=>{document.removeEventListener(Sx,R),document.removeEventListener(wx,L),D(P)},M=(P,N)=>{let z=()=>{};if(P&&P.addEventListener){const j=Object.assign(Object.assign({},ud.touchEventOptions),N.touchEventOptions),q=[["touchstart",O,j],["touchmove",R,Object.assign(Object.assign({},j),N.preventScrollOnSwipe?{passive:!1}:{})],["touchend",D,j]];q.forEach(([$,se,le])=>P.addEventListener($,se,le)),z=()=>q.forEach(([$,se])=>P.removeEventListener($,se))}return z},U={ref:P=>{P!==null&&b((N,z)=>{if(N.el===P)return N;const j={};return N.el&&N.el!==P&&N.cleanUpTouch&&(N.cleanUpTouch(),j.cleanUpTouch=void 0),z.trackTouch&&P&&(j.cleanUpTouch=M(P,z)),Object.assign(Object.assign(Object.assign({},N),{el:P}),j)})}};return T.trackMouse&&(U.onMouseDown=O),[U,M]}(b=>o.current=b(o.current,c.current),{trackMouse:l}),[l]);return o.current=function(b,T,O,R){return T.trackTouch&&b.el?b.cleanUpTouch?T.preventScrollOnSwipe!==O.preventScrollOnSwipe||T.touchEventOptions.passive!==O.touchEventOptions.passive?(b.cleanUpTouch(),Object.assign(Object.assign({},b),{cleanUpTouch:R(b.el,T)})):b:Object.assign(Object.assign({},b),{cleanUpTouch:R(b.el,T)}):(b.cleanUpTouch&&b.cleanUpTouch(),Object.assign(Object.assign({},b),{cleanUpTouch:void 0}))}(o.current,c.current,p.current,w),m}var ie=Xr(556);function Pv(i){return Pv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Pv(i)}function Ex(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function Tx(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Ex(Object(o),!0).forEach(function(c){EN(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Ex(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function EN(i,l,o){return(l=function(c){var p=function(h){if(Pv(h)!="object"||!h)return h;var m=h[Symbol.toPrimitive];if(m!==void 0){var w=m.call(h,"string");if(Pv(w)!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}(c);return Pv(p)=="symbol"?p:p+""}(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}var TN={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"},Xw=xe.default.memo(function(i){var l=Tx(Tx({},TN),i),o=l.description,c=l.fullscreen,p=l.handleImageLoaded,h=l.isFullscreen,m=l.onImageError,w=l.original,b=l.originalAlt,T=l.originalHeight,O=l.originalWidth,R=l.originalTitle,D=l.sizes,L=l.srcSet,M=l.loading,U=h&&c||w;return xe.default.createElement(xe.default.Fragment,null,xe.default.createElement("img",{className:"image-gallery-image",src:U,alt:b,srcSet:L,height:T,width:O,sizes:D,title:R,onLoad:function(P){return p(P,w)},onError:m,loading:M}),o&&xe.default.createElement("span",{className:"image-gallery-description"},o))});Xw.displayName="Item",Xw.propTypes={description:ie.string,fullscreen:ie.string,handleImageLoaded:ie.func.isRequired,isFullscreen:ie.bool,onImageError:ie.func.isRequired,original:ie.string.isRequired,originalAlt:ie.string,originalHeight:ie.string,originalWidth:ie.string,originalTitle:ie.string,sizes:ie.string,srcSet:ie.string,loading:ie.string};const CN=Xw;function jv(i){return jv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},jv(i)}function Cx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function xx(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Cx(Object(o),!0).forEach(function(c){xN(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Cx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function xN(i,l,o){return(l=function(c){var p=function(h){if(jv(h)!="object"||!h)return h;var m=h[Symbol.toPrimitive];if(m!==void 0){var w=m.call(h,"string");if(jv(w)!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}(c);return jv(p)=="symbol"?p:p+""}(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}var RN={left:xe.default.createElement("polyline",{points:"15 18 9 12 15 6"}),right:xe.default.createElement("polyline",{points:"9 18 15 12 9 6"}),top:xe.default.createElement("polyline",{points:"6 15 12 9 18 15"}),bottom:xe.default.createElement("polyline",{points:"6 9 12 15 18 9"}),maximize:xe.default.createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:xe.default.createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:xe.default.createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:xe.default.createElement(xe.default.Fragment,null,xe.default.createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),xe.default.createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},ON={strokeWidth:1,viewBox:"0 0 24 24"},b1=function(i){var l=xx(xx({},ON),i),o=l.strokeWidth,c=l.viewBox,p=l.icon;return xe.default.createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:c,fill:"none",stroke:"currentColor",strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round"},RN[p])};b1.propTypes={strokeWidth:ie.number,viewBox:ie.string,icon:(0,ie.oneOf)(["left","right","top","bottom","maximize","minimize","play","pause"]).isRequired};const hd=b1;var Kw=xe.default.memo(function(i){var l=i.isFullscreen,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:o,"aria-label":"Open Fullscreen"},xe.default.createElement(hd,{strokeWidth:2,icon:l?"minimize":"maximize"}))});Kw.displayName="Fullscreen",Kw.propTypes={isFullscreen:ie.bool.isRequired,onClick:ie.func.isRequired};const kN=Kw;var Zw=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:l,onClick:o,"aria-label":"Previous Slide"},xe.default.createElement(hd,{icon:"left",viewBox:"6 0 12 24"}))});Zw.displayName="LeftNav",Zw.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const DN=Zw;var Jw=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:l,onClick:o,"aria-label":"Next Slide"},xe.default.createElement(hd,{icon:"right",viewBox:"6 0 12 24"}))});Jw.displayName="RightNav",Jw.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const _N=Jw;var eb=xe.default.memo(function(i){var l=i.isPlaying,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:o,"aria-label":"Play or Pause Slideshow"},xe.default.createElement(hd,{strokeWidth:2,icon:l?"pause":"play"}))});eb.displayName="PlayPause",eb.propTypes={isPlaying:ie.bool.isRequired,onClick:ie.func.isRequired};const MN=eb;function Uv(i){return Uv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Uv(i)}function tb(){return tb=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)({}).hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},tb.apply(null,arguments)}function Rx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function Ox(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Rx(Object(o),!0).forEach(function(c){LN(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Rx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function LN(i,l,o){return(l=function(c){var p=function(h){if(Uv(h)!="object"||!h)return h;var m=h[Symbol.toPrimitive];if(m!==void 0){var w=m.call(h,"string");if(Uv(w)!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}(c);return Uv(p)=="symbol"?p:p+""}(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}var NN={className:"",delta:0,onSwiping:function(){},onSwiped:function(){}},E1=function(i){var l=Ox(Ox({},NN),i),o=l.children,c=l.className,p=bN({delta:l.delta,onSwiping:l.onSwiping,onSwiped:l.onSwiped});return xe.default.createElement("div",tb({},p,{className:c}),o)};E1.propTypes={children:ie.node.isRequired,className:ie.string,delta:ie.number,onSwiped:ie.func,onSwiping:ie.func};const kx=E1;var nb=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-top-nav",disabled:l,onClick:o,"aria-label":"Previous Slide"},xe.default.createElement(hd,{icon:"top",viewBox:"6 0 12 24"}))});nb.displayName="TopNav",nb.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const zN=nb;var rb=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-bottom-nav",disabled:l,onClick:o,"aria-label":"Next Slide"},xe.default.createElement(hd,{icon:"bottom",viewBox:"6 0 12 24"}))});rb.displayName="BottomNav",rb.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const AN=rb;function fd(i){return fd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},fd(i)}function Dx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function _x(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Dx(Object(o),!0).forEach(function(c){cd(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Dx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function PN(i,l){for(var o=0;o<l.length;o++){var c=l[o];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,C1(c.key),c)}}function T1(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(T1=function(){return!!i})()}function Jg(i){return Jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},Jg(i)}function ab(i,l){return ab=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,c){return o.__proto__=c,o},ab(i,l)}function cd(i,l,o){return(l=C1(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}function C1(i){var l=function(o){if(fd(o)!="object"||!o)return o;var c=o[Symbol.toPrimitive];if(c!==void 0){var p=c.call(o,"string");if(fd(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}(i);return fd(l)=="symbol"?l:l+""}var Mx=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],jN=(0,ie.arrayOf)((0,ie.shape)({srcSet:ie.string,media:ie.string}));function Lx(i){var l=parseInt(i.keyCode||i.which||0,10);return l===66||l===62}var ib=function(){function i(l){var o,c,p,h;return function(m,w){if(!(m instanceof w))throw new TypeError("Cannot call a class as a function")}(this,i),cd((c=this,h=[l],p=Jg(p=i),o=function(m,w){if(w&&(fd(w)=="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}(m)}(c,T1()?Reflect.construct(p,h||[],Jg(c).constructor):p.apply(c,h))),"onBulletClick",function(m,w){var b=o.props,T=b.onBulletClick,O=b.items,R=o.state.currentIndex;m.target.blur(),R!==w&&(O.length===2?o.slideToIndexWithStyleReset(w,m):o.slideToIndex(w,m)),T&&T(m,w)}),o.state={currentIndex:l.startIndex,thumbsTranslate:0,thumbsSwipedTranslate:0,currentSlideOffset:0,galleryWidth:0,galleryHeight:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,thumbsStyle:{transition:"all ".concat(l.slideDuration,"ms ease-out")},isFullscreen:!1,isSwipingThumbnail:!1,isPlaying:!1},o.loadedImages={},o.imageGallery=xe.default.createRef(),o.thumbnailsWrapper=xe.default.createRef(),o.thumbnails=xe.default.createRef(),o.imageGallerySlideWrapper=xe.default.createRef(),o.handleImageLoaded=o.handleImageLoaded.bind(o),o.handleKeyDown=o.handleKeyDown.bind(o),o.handleMouseDown=o.handleMouseDown.bind(o),o.handleResize=o.handleResize.bind(o),o.handleOnSwiped=o.handleOnSwiped.bind(o),o.handleScreenChange=o.handleScreenChange.bind(o),o.handleSwiping=o.handleSwiping.bind(o),o.handleThumbnailSwiping=o.handleThumbnailSwiping.bind(o),o.handleOnThumbnailSwiped=o.handleOnThumbnailSwiped.bind(o),o.onThumbnailMouseLeave=o.onThumbnailMouseLeave.bind(o),o.handleImageError=o.handleImageError.bind(o),o.pauseOrPlay=o.pauseOrPlay.bind(o),o.renderThumbInner=o.renderThumbInner.bind(o),o.renderItem=o.renderItem.bind(o),o.slideLeft=o.slideLeft.bind(o),o.slideRight=o.slideRight.bind(o),o.toggleFullScreen=o.toggleFullScreen.bind(o),o.togglePlay=o.togglePlay.bind(o),o.unthrottledSlideToIndex=o.slideToIndex,o.slideToIndex=vx(o.unthrottledSlideToIndex,l.slideDuration,{trailing:!1}),l.lazyLoad&&(o.lazyLoaded=[]),o}return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(o&&o.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),o&&ab(l,o)}(i,xe.default.Component),function(l,o){return o&&PN(l.prototype,o),Object.defineProperty(l,"prototype",{writable:!1}),l}(i,[{key:"componentDidMount",value:function(){var l=this.props,o=l.autoPlay,c=l.useWindowKeyDown;o&&this.play(),c?window.addEventListener("keydown",this.handleKeyDown):this.imageGallery.current.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(l,o){var c=this.props,p=c.items,h=c.lazyLoad,m=c.slideDuration,w=c.slideInterval,b=c.startIndex,T=c.thumbnailPosition,O=c.showThumbnails,R=c.useWindowKeyDown,D=this.state,L=D.currentIndex,M=D.isPlaying,U=l.items.length!==p.length,P=!fN()(l.items,p),N=l.startIndex!==b,z=l.thumbnailPosition!==T,j=l.showThumbnails!==O;w===l.slideInterval&&m===l.slideDuration||M&&(this.pause(),this.play()),z&&(this.removeResizeObserver(),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)),j&&O&&this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),j&&!O&&this.removeThumbnailsResizeObserver(),(U||j)&&this.handleResize(),o.currentIndex!==L&&this.slideThumbnailBar(),l.slideDuration!==m&&(this.slideToIndex=vx(this.unthrottledSlideToIndex,m,{trailing:!1})),!h||l.lazyLoad&&!P||(this.lazyLoaded=[]),R!==l.useWindowKeyDown&&(R?(this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown),window.addEventListener("keydown",this.handleKeyDown)):(window.removeEventListener("keydown",this.handleKeyDown),this.imageGallery.current.addEventListener("keydown",this.handleKeyDown))),(N||P)&&this.setState({currentIndex:b,slideStyle:{transition:"none"}})}},{key:"componentWillUnmount",value:function(){var l=this.props.useWindowKeyDown;window.removeEventListener("mousedown",this.handleMouseDown),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer),l?window.removeEventListener("keydown",this.handleKeyDown):this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown)}},{key:"onSliding",value:function(){var l=this,o=this.state,c=o.currentIndex,p=o.isTransitioning,h=this.props,m=h.onSlide,w=h.slideDuration;this.transitionTimer=window.setTimeout(function(){p&&(l.setState({isTransitioning:!p,isSwipingThumbnail:!1}),m&&m(c))},w+50)}},{key:"onThumbnailClick",value:function(l,o){var c=this.props,p=c.onThumbnailClick,h=c.items,m=this.state.currentIndex;l.target.parentNode.parentNode.blur(),m!==o&&(h.length===2?this.slideToIndexWithStyleReset(o,l):this.slideToIndex(o,l)),p&&p(l,o)}},{key:"onThumbnailMouseOver",value:function(l,o){var c=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout(function(){c.slideToIndex(o),c.pause()},300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var l=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,l&&this.play()}}},{key:"setThumbsTranslate",value:function(l){this.setState({thumbsTranslate:l})}},{key:"setModalFullscreen",value:function(l){var o=this.props.onScreenChange;this.setState({modalFullscreen:l}),o&&o(l)}},{key:"getThumbsTranslate",value:function(l){var o,c=this.props,p=c.disableThumbnailScroll,h=c.items,m=this.state,w=m.thumbnailsWrapperWidth,b=m.thumbnailsWrapperHeight,T=this.thumbnails&&this.thumbnails.current;if(p)return 0;if(T){if(this.isThumbnailVertical()){if(T.scrollHeight<=b)return 0;o=T.scrollHeight-b}else{if(T.scrollWidth<=w||w<=0)return 0;o=T.scrollWidth-w}return l*(o/(h.length-1))}return 0}},{key:"getThumbnailPositionClassName",value:function(l){switch(l){case"left":l=" ".concat("image-gallery-thumbnails-left");break;case"right":l=" ".concat("image-gallery-thumbnails-right");break;case"bottom":l=" ".concat("image-gallery-thumbnails-bottom");break;case"top":l=" ".concat("image-gallery-thumbnails-top")}return l}},{key:"getAlignmentClassName",value:function(l){var o=this.state.currentIndex,c=this.props,p=c.infinite,h=c.items,m="",w="image-gallery-left",b="image-gallery-right";switch(l){case o-1:m=" ".concat(w);break;case o:m=" ".concat("image-gallery-center");break;case o+1:m=" ".concat(b)}return h.length>=3&&p&&(l===0&&o===h.length-1?m=" ".concat(b):l===h.length-1&&o===0&&(m=" ".concat(w))),m}},{key:"getTranslateXForTwoSlide",value:function(l){var o=this.state,c=o.currentIndex,p=o.currentSlideOffset,h=o.previousIndex,m=c!==h,w=l===0&&h===0,b=l===1&&h===1,T=l===0&&c===1,O=l===1&&c===0,R=p===0,D=-100*c+100*l+p;return p>0?this.direction="left":p<0&&(this.direction="right"),O&&p>0&&(D=-100+p),T&&p<0&&(D=100+p),m?w&&R&&this.direction==="left"?D=100:b&&R&&this.direction==="right"&&(D=-100):(O&&R&&this.direction==="left"&&(D=-100),T&&R&&this.direction==="right"&&(D=100)),D}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(l){var o=this.state,c=o.currentIndex,p=o.currentSlideOffset,h=o.slideStyle,m=this.props,w=m.infinite,b=m.items,T=m.useTranslate3D,O=m.isRTL,R=m.slideVertically,D=-100*c,L=b.length-1,M=(D+100*l)*(O?-1:1)+p;w&&b.length>2&&(c===0&&l===L?M=-100*(O?-1:1)+p:c===L&&l===0&&(M=100*(O?-1:1)+p)),w&&b.length===2&&(M=this.getTranslateXForTwoSlide(l));var U=R?"translate(0, ".concat(M,"%)"):"translate(".concat(M,"%, 0)");return T&&(U=R?"translate3d(0, ".concat(M,"%, 0)"):"translate3d(".concat(M,"%, 0, 0)")),_x({display:this.isSlideVisible(l)?"inherit":"none",WebkitTransform:U,MozTransform:U,msTransform:U,OTransform:U,transform:U},h)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var l,o=this.props,c=o.useTranslate3D,p=o.isRTL,h=this.state,m=h.thumbsTranslate,w=h.thumbsStyle,b=p?-1*m:m;return this.isThumbnailVertical()?(l="translate(0, ".concat(m,"px)"),c&&(l="translate3d(0, ".concat(m,"px, 0)"))):(l="translate(".concat(b,"px, 0)"),c&&(l="translate3d(".concat(b,"px, 0, 0)"))),_x({WebkitTransform:l,MozTransform:l,msTransform:l,OTransform:l,transform:l},w)}},{key:"getSlideItems",value:function(){var l=this,o=this.state.currentIndex,c=this.props,p=c.items,h=c.slideOnThumbnailOver,m=c.onClick,w=c.lazyLoad,b=c.onTouchMove,T=c.onTouchEnd,O=c.onTouchStart,R=c.onMouseOver,D=c.onMouseLeave,L=c.renderItem,M=c.renderThumbInner,U=c.showThumbnails,P=c.showBullets,N=[],z=[],j=[];return p.forEach(function(q,$){var se=l.getAlignmentClassName($),le=q.originalClass?" ".concat(q.originalClass):"",ve=q.thumbnailClass?" ".concat(q.thumbnailClass):"",ee=q.renderItem||L||l.renderItem,J=q.renderThumbInner||M||l.renderThumbInner,re=!w||se||l.lazyLoaded[$];re&&w&&!l.lazyLoaded[$]&&(l.lazyLoaded[$]=!0);var oe=l.getSlideStyle($),we=xe.default.createElement("div",{"aria-label":"Go to Slide ".concat($+1),key:"slide-".concat($),tabIndex:"-1",className:"image-gallery-slide ".concat(se," ").concat(le),style:oe,onClick:m,onKeyUp:l.handleSlideKeyUp,onTouchMove:b,onTouchEnd:T,onTouchStart:O,onMouseOver:R,onFocus:R,onMouseLeave:D,role:"button"},re?ee(q):xe.default.createElement("div",{style:{height:"100%"}}));if(N.push(we),U&&q.thumbnail){var Qe=tc("image-gallery-thumbnail",ve,{active:o===$});z.push(xe.default.createElement("button",{key:"thumbnail-".concat($),type:"button",tabIndex:"0","aria-pressed":o===$?"true":"false","aria-label":"Go to Slide ".concat($+1),className:Qe,onMouseLeave:h?l.onThumbnailMouseLeave:null,onMouseOver:function(be){return l.handleThumbnailMouseOver(be,$)},onFocus:function(be){return l.handleThumbnailMouseOver(be,$)},onKeyUp:function(be){return l.handleThumbnailKeyUp(be,$)},onClick:function(be){return l.onThumbnailClick(be,$)}},J(q)))}if(P){var Ge=tc("image-gallery-bullet",q.bulletClass,{active:o===$});j.push(xe.default.createElement("button",{type:"button",key:"bullet-".concat($),className:Ge,onClick:function(be){return l.onBulletClick(be,$)},"aria-pressed":o===$?"true":"false","aria-label":"Go to Slide ".concat($+1)}))}}),{slides:N,thumbnails:z,bullets:j}}},{key:"ignoreIsTransitioning",value:function(){var l=this.props.items,o=this.state,c=o.previousIndex,p=o.currentIndex,h=l.length-1;return Math.abs(c-p)>1&&!(c===0&&p===h)&&!(c===h&&p===0)}},{key:"isFirstOrLastSlide",value:function(l){return l===this.props.items.length-1||l===0}},{key:"slideIsTransitioning",value:function(l){var o=this.state,c=o.isTransitioning,p=o.previousIndex,h=o.currentIndex;return c&&!(l===p||l===h)}},{key:"isSlideVisible",value:function(l){return!this.slideIsTransitioning(l)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(l)}},{key:"slideThumbnailBar",value:function(){var l=this.state,o=l.currentIndex,c=l.isSwipingThumbnail,p=-this.getThumbsTranslate(o);c||(o===0?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:p,thumbsSwipedTranslate:p}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){var l=this.props,o=l.infinite,c=l.isRTL;return o||(c?this.canSlideNext():this.canSlidePrevious())}},{key:"canSlideRight",value:function(){var l=this.props,o=l.infinite,c=l.isRTL;return o||(c?this.canSlidePrevious():this.canSlideNext())}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(l){var o=l.event,c=l.absX,p=l.absY,h=l.dir,m=this.props,w=m.disableSwipe,b=m.stopPropagation,T=m.swipingTransitionDuration,O=this.state,R=O.galleryWidth,D=O.galleryHeight,L=O.isTransitioning,M=O.swipingUpDown,U=O.swipingLeftRight,P=this.props.slideVertically;if((h!==Oo&&h!==ko&&!M||U||(M||this.setState({swipingUpDown:!0}),P))&&(h!==xo&&h!==Ro||U||this.setState({swipingLeftRight:!0}),!w))if(b&&o.preventDefault(),L)this.setState({currentSlideOffset:0});else{if((h===xo||h===Ro)&&P||(h===Oo||h===ko)&&!P)return;var N=cd(cd(cd(cd({},xo,-1),Ro,1),Oo,-1),ko,1)[h],z=c/R*100;P&&(z=p/D*100),Math.abs(z)>=100&&(z=100);var j={transition:"transform ".concat(T,"ms ease-out")};this.setState({currentSlideOffset:N*z,slideStyle:j})}}},{key:"handleThumbnailSwiping",value:function(l){var o=l.event,c=l.absX,p=l.absY,h=l.dir,m=this.props,w=m.stopPropagation,b=m.swipingThumbnailTransitionDuration,T=this.state,O=T.thumbsSwipedTranslate,R=T.thumbnailsWrapperHeight,D=T.thumbnailsWrapperWidth,L=T.swipingUpDown,M=T.swipingLeftRight;if(this.isThumbnailVertical()){if((h===xo||h===Ro||M)&&!L)return void(M||this.setState({swipingLeftRight:!0}));h!==Oo&&h!==ko||L||this.setState({swipingUpDown:!0})}else{if((h===Oo||h===ko||L)&&!M)return void(L||this.setState({swipingUpDown:!0}));h!==xo&&h!==Ro||M||this.setState({swipingLeftRight:!0})}var U,P,N,z,j,q=this.thumbnails&&this.thumbnails.current;if(this.isThumbnailVertical()?(U=O+(h===ko?p:-p),P=q.scrollHeight-R+20,N=Math.abs(U)>P,z=U>20,j=q.scrollHeight<=R):(U=O+(h===Ro?c:-c),P=q.scrollWidth-D+20,N=Math.abs(U)>P,z=U>20,j=q.scrollWidth<=D),!j&&(h!==xo&&h!==Oo||!N)&&(h!==Ro&&h!==ko||!z)){w&&o.stopPropagation();var $={transition:"transform ".concat(b,"ms ease-out")};this.setState({thumbsTranslate:U,thumbsStyle:$})}}},{key:"handleOnThumbnailSwiped",value:function(){var l=this.state.thumbsTranslate,o=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:l,thumbsStyle:{transition:"all ".concat(o,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){var l=this.state.currentSlideOffset,o=this.props.swipeThreshold;return Math.abs(l)>o}},{key:"resetSwipingDirection",value:function(){var l=this.state,o=l.swipingUpDown,c=l.swipingLeftRight;o&&this.setState({swipingUpDown:!1}),c&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(l){var o=l.event,c=l.dir,p=l.velocity,h=this.props,m=h.disableSwipe,w=h.stopPropagation,b=h.flickThreshold,T=this.props.slideVertically;if(!m){var O=this.props.isRTL;w&&o.stopPropagation(),this.resetSwipingDirection();var R=(c===xo?1:-1)*(O?-1:1);T&&(R=c===Oo?1:-1);var D=T?p>b&&!(c===xo||c===Ro):p>b&&!(c===Oo||c===ko);this.handleOnSwipedTo(R,D)}}},{key:"handleOnSwipedTo",value:function(l,o){var c=this.state,p=c.currentIndex,h=c.isTransitioning,m=p;!this.sufficientSwipe()&&!o||h||(m+=l),(l===-1&&!this.canSlideLeft()||l===1&&!this.canSlideRight())&&(m=p),this.unthrottledSlideToIndex(m)}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(l){var o=this.props,c=o.disableKeyDown,p=o.useBrowserFullscreen,h=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!c)switch(parseInt(l.keyCode||l.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(l);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(l);break;case 27:h&&!p&&this.exitFullScreen()}}},{key:"handleImageError",value:function(l){var o=this.props.onErrorImageURL;o&&l.target.src.indexOf(o)===-1&&(l.target.src=o)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var l=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth,galleryHeight:this.imageGallery.current.offsetHeight}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(l)))}},{key:"initSlideWrapperResizeObserver",value:function(l){var o=this;l&&!l.current||(this.resizeSlideWrapperObserver=new yx(qw(function(c){c&&c.forEach(function(p){o.setState({thumbnailsWrapperWidth:p.contentRect.width},o.handleResize)})},50)),this.resizeSlideWrapperObserver.observe(l.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(l){var o=this;l&&!l.current||(this.resizeThumbnailWrapperObserver=new yx(qw(function(c){c&&c.forEach(function(p){o.setState({thumbnailsWrapperHeight:p.contentRect.height},o.handleResize)})},50)),this.resizeThumbnailWrapperObserver.observe(l.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var l=this.props,o=l.onScreenChange,c=l.useBrowserFullscreen,p=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,h=this.imageGallery.current===p;o&&o(h),c&&this.setState({isFullscreen:h})}},{key:"slideToIndex",value:function(l,o){var c=this.state,p=c.currentIndex,h=c.isTransitioning,m=this.props,w=m.items,b=m.slideDuration,T=m.onBeforeSlide;if(!h){o&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var O=w.length-1,R=l;l<0?R=O:l>O&&(R=0),T&&R!==p&&T(R),this.setState({previousIndex:p,currentIndex:R,isTransitioning:R!==p,currentSlideOffset:0,slideStyle:{transition:"all ".concat(b,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(l){var o=this.props.isRTL;this.slideTo(l,o?"right":"left")}},{key:"slideRight",value:function(l){var o=this.props.isRTL;this.slideTo(l,o?"left":"right")}},{key:"slideTo",value:function(l,o){var c=this.state,p=c.currentIndex,h=c.isTransitioning,m=this.props.items,w=p+(o==="left"?-1:1);h||(m.length===2?this.slideToIndexWithStyleReset(w,l):this.slideToIndex(w,l))}},{key:"slideToIndexWithStyleReset",value:function(l,o){var c=this,p=this.state,h=p.currentIndex,m=p.currentSlideOffset;this.setState({currentSlideOffset:m+(h>l?.001:-.001),slideStyle:{transition:"none"}},function(){window.setTimeout(function(){return c.slideToIndex(l,o)},25)})}},{key:"handleThumbnailMouseOver",value:function(l,o){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(l,o)}},{key:"handleThumbnailKeyUp",value:function(l,o){Lx(l)&&this.onThumbnailClick(l,o)}},{key:"handleSlideKeyUp",value:function(l){Lx(l)&&(0,this.props.onClick)(l)}},{key:"isThumbnailVertical",value:function(){var l=this.props.thumbnailPosition;return l==="left"||l==="right"}},{key:"addScreenChangeEvent",value:function(){var l=this;Mx.forEach(function(o){document.addEventListener(o,l.handleScreenChange)})}},{key:"removeScreenChangeEvent",value:function(){var l=this;Mx.forEach(function(o){document.removeEventListener(o,l.handleScreenChange)})}},{key:"fullScreen",value:function(){var l=this.props.useBrowserFullscreen,o=this.imageGallery.current;l?o.requestFullscreen?o.requestFullscreen():o.msRequestFullscreen?o.msRequestFullscreen():o.mozRequestFullScreen?o.mozRequestFullScreen():o.webkitRequestFullscreen?o.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var l=this.state.isFullscreen,o=this.props.useBrowserFullscreen;l&&(o?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var l=this.props.infinite,o=this.state.currentIndex;l||this.canSlideRight()?this.slideToIndex(o+1):this.pause()}},{key:"play",value:function(){var l=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],o=this.props,c=o.onPlay,p=o.slideInterval,h=o.slideDuration,m=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(p,h)),c&&l&&c(m))}},{key:"pause",value:function(){var l=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],o=this.props.onPause,c=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),o&&l&&o(c))}},{key:"isImageLoaded",value:function(l){return!!this.loadedImages[l.original]||(this.loadedImages[l.original]=!0,!1)}},{key:"handleImageLoaded",value:function(l,o){var c=this.props.onImageLoad;!this.loadedImages[o]&&c&&(this.loadedImages[o]=!0,c(l))}},{key:"renderItem",value:function(l){var o=this.state.isFullscreen,c=this.props.onImageError||this.handleImageError;return xe.default.createElement(CN,{description:l.description,fullscreen:l.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:o,onImageError:c,original:l.original,originalAlt:l.originalAlt,originalHeight:l.originalHeight,originalWidth:l.originalWidth,originalTitle:l.originalTitle,sizes:l.sizes,loading:l.loading,srcSet:l.srcSet})}},{key:"renderThumbInner",value:function(l){var o=this.props.onThumbnailError||this.handleImageError;return xe.default.createElement("span",{className:"image-gallery-thumbnail-inner"},xe.default.createElement("img",{className:"image-gallery-thumbnail-image",src:l.thumbnail,height:l.thumbnailHeight,width:l.thumbnailWidth,alt:l.thumbnailAlt,title:l.thumbnailTitle,loading:l.thumbnailLoading,onError:o}),l.thumbnailLabel&&xe.default.createElement("div",{className:"image-gallery-thumbnail-label"},l.thumbnailLabel))}},{key:"render",value:function(){var l=this.state,o=l.currentIndex,c=l.isFullscreen,p=l.modalFullscreen,h=l.isPlaying,m=this.props,w=m.additionalClass,b=m.disableThumbnailSwipe,T=m.indexSeparator,O=m.isRTL,R=m.items,D=m.thumbnailPosition,L=m.renderFullscreenButton,M=m.renderCustomControls,U=m.renderLeftNav,P=m.renderRightNav,N=m.renderTopNav,z=m.renderBottomNav,j=m.showBullets,q=m.showFullscreenButton,$=m.showIndex,se=m.showThumbnails,le=m.showNav,ve=m.showPlayButton,ee=m.slideVertically,J=m.renderPlayPauseButton,re=this.getThumbnailStyle(),oe=this.getSlideItems(),we=oe.slides,Qe=oe.thumbnails,Ge=oe.bullets,be=tc("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(D),{"image-gallery-rtl":O}),$e=tc("image-gallery-bullets",{"image-gallery-bullets-vertical":ee}),ue=xe.default.createElement("div",{ref:this.imageGallerySlideWrapper,className:be},M&&M(),this.canSlide()?xe.default.createElement(xe.default.Fragment,null,le&&xe.default.createElement(xe.default.Fragment,null,ee?N(this.slideLeft,!this.canSlideLeft()):U(this.slideLeft,!this.canSlideLeft()),ee?z(this.slideRight,!this.canSlideRight()):P(this.slideRight,!this.canSlideRight())),xe.default.createElement(kx,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},xe.default.createElement("div",{className:"image-gallery-slides"},we))):xe.default.createElement("div",{className:"image-gallery-slides"},we),ve&&J(this.togglePlay,h),j&&xe.default.createElement("div",{className:$e},xe.default.createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},Ge)),q&&L(this.toggleFullScreen,c),$&&xe.default.createElement("div",{className:"image-gallery-index"},xe.default.createElement("span",{className:"image-gallery-index-current"},o+1),xe.default.createElement("span",{className:"image-gallery-index-separator"},T),xe.default.createElement("span",{className:"image-gallery-index-total"},R.length))),Se=tc("image-gallery",w,{"fullscreen-modal":p}),ye=tc("image-gallery-content",this.getThumbnailPositionClassName(D),{fullscreen:c}),tt=tc("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(D),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&O},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!b},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!b});return xe.default.createElement("div",{ref:this.imageGallery,className:Se,"aria-live":"polite"},xe.default.createElement("div",{className:ye},(D==="bottom"||D==="right")&&ue,se&&Qe.length>0?xe.default.createElement(kx,{className:tt,delta:0,onSwiping:!b&&this.handleThumbnailSwiping,onSwiped:!b&&this.handleOnThumbnailSwiped},xe.default.createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},xe.default.createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:re,"aria-label":"Thumbnail Navigation"},Qe))):null,(D==="top"||D==="left")&&ue))}}])}();ib.propTypes={flickThreshold:ie.number,items:(0,ie.arrayOf)((0,ie.shape)({bulletClass:ie.string,bulletOnClick:ie.func,description:ie.string,original:ie.string,originalHeight:ie.number,originalWidth:ie.number,loading:ie.string,thumbnailHeight:ie.number,thumbnailWidth:ie.number,thumbnailLoading:ie.string,fullscreen:ie.string,originalAlt:ie.string,originalTitle:ie.string,thumbnail:ie.string,thumbnailAlt:ie.string,thumbnailLabel:ie.string,thumbnailTitle:ie.string,originalClass:ie.string,thumbnailClass:ie.string,renderItem:ie.func,renderThumbInner:ie.func,imageSet:jN,srcSet:ie.string,sizes:ie.string})).isRequired,showNav:ie.bool,autoPlay:ie.bool,lazyLoad:ie.bool,infinite:ie.bool,showIndex:ie.bool,showBullets:ie.bool,showThumbnails:ie.bool,showPlayButton:ie.bool,showFullscreenButton:ie.bool,disableThumbnailScroll:ie.bool,disableKeyDown:ie.bool,disableSwipe:ie.bool,disableThumbnailSwipe:ie.bool,useBrowserFullscreen:ie.bool,onErrorImageURL:ie.string,indexSeparator:ie.string,thumbnailPosition:(0,ie.oneOf)(["top","bottom","left","right"]),startIndex:ie.number,slideDuration:ie.number,slideInterval:ie.number,slideOnThumbnailOver:ie.bool,swipeThreshold:ie.number,swipingTransitionDuration:ie.number,swipingThumbnailTransitionDuration:ie.number,onSlide:ie.func,onBeforeSlide:ie.func,onScreenChange:ie.func,onPause:ie.func,onPlay:ie.func,onClick:ie.func,onImageLoad:ie.func,onImageError:ie.func,onTouchMove:ie.func,onTouchEnd:ie.func,onTouchStart:ie.func,onMouseOver:ie.func,onMouseLeave:ie.func,onBulletClick:ie.func,onThumbnailError:ie.func,onThumbnailClick:ie.func,renderCustomControls:ie.func,renderLeftNav:ie.func,renderRightNav:ie.func,renderTopNav:ie.func,renderBottomNav:ie.func,renderPlayPauseButton:ie.func,renderFullscreenButton:ie.func,renderItem:ie.func,renderThumbInner:ie.func,stopPropagation:ie.bool,additionalClass:ie.string,useTranslate3D:ie.bool,isRTL:ie.bool,useWindowKeyDown:ie.bool,slideVertically:ie.bool},ib.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,showFullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,disableThumbnailSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,swipingThumbnailTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onBulletClick:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,slideVertically:!1,renderLeftNav:function(i,l){return xe.default.createElement(DN,{onClick:i,disabled:l})},renderRightNav:function(i,l){return xe.default.createElement(_N,{onClick:i,disabled:l})},renderTopNav:function(i,l){return xe.default.createElement(zN,{onClick:i,disabled:l})},renderBottomNav:function(i,l){return xe.default.createElement(AN,{onClick:i,disabled:l})},renderPlayPauseButton:function(i,l){return xe.default.createElement(MN,{onClick:i,isPlaying:l})},renderFullscreenButton:function(i,l){return xe.default.createElement(kN,{onClick:i,isFullscreen:l})},useWindowKeyDown:!0};const UN=ib;var FN=v1.A;const IN=({images:i,block:l})=>ge.jsx(FN,{items:i,additionalClass:l,showFullscreenButton:!1,showPlayButton:!1}),HN="inputTestId",x1=({value:i,onChange:l,hasError:o,placeholder:c,block:p,disabled:h=!1,type:m="text",id:w="input",name:b="input",isReadOnly:T=!1,isTransparent:O=!1})=>{const R=ar(p,"input",{error:o,transparent:O}),D=L=>{l&&l(L.currentTarget.value)};return ge.jsx("input",{readOnly:T,onChange:D,disabled:h,autoComplete:"off","data-testid":HN,className:R,id:w,name:b,placeholder:c,value:i,type:m})};function BN(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Nv={},Nx;function VN(){if(Nx)return Nv;Nx=1,Object.defineProperty(Nv,"__esModule",{value:!0}),Nv.parse=m,Nv.serialize=T;const i=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,l=/^[\u0021-\u003A\u003C-\u007E]*$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,c=/^[\u0020-\u003A\u003D-\u007E]*$/,p=Object.prototype.toString,h=(()=>{const D=function(){};return D.prototype=Object.create(null),D})();function m(D,L){const M=new h,U=D.length;if(U<2)return M;const P=(L==null?void 0:L.decode)||O;let N=0;do{const z=D.indexOf("=",N);if(z===-1)break;const j=D.indexOf(";",N),q=j===-1?U:j;if(z>q){N=D.lastIndexOf(";",z-1)+1;continue}const $=w(D,N,z),se=b(D,z,$),le=D.slice($,se);if(M[le]===void 0){let ve=w(D,z+1,q),ee=b(D,q,ve);const J=P(D.slice(ve,ee));M[le]=J}N=q+1}while(N<U);return M}function w(D,L,M){do{const U=D.charCodeAt(L);if(U!==32&&U!==9)return L}while(++L<M);return M}function b(D,L,M){for(;L>M;){const U=D.charCodeAt(--L);if(U!==32&&U!==9)return L+1}return M}function T(D,L,M){const U=(M==null?void 0:M.encode)||encodeURIComponent;if(!i.test(D))throw new TypeError(`argument name is invalid: ${D}`);const P=U(L);if(!l.test(P))throw new TypeError(`argument val is invalid: ${L}`);let N=D+"="+P;if(!M)return N;if(M.maxAge!==void 0){if(!Number.isInteger(M.maxAge))throw new TypeError(`option maxAge is invalid: ${M.maxAge}`);N+="; Max-Age="+M.maxAge}if(M.domain){if(!o.test(M.domain))throw new TypeError(`option domain is invalid: ${M.domain}`);N+="; Domain="+M.domain}if(M.path){if(!c.test(M.path))throw new TypeError(`option path is invalid: ${M.path}`);N+="; Path="+M.path}if(M.expires){if(!R(M.expires)||!Number.isFinite(M.expires.valueOf()))throw new TypeError(`option expires is invalid: ${M.expires}`);N+="; Expires="+M.expires.toUTCString()}if(M.httpOnly&&(N+="; HttpOnly"),M.secure&&(N+="; Secure"),M.partitioned&&(N+="; Partitioned"),M.priority)switch(typeof M.priority=="string"?M.priority.toLowerCase():void 0){case"low":N+="; Priority=Low";break;case"medium":N+="; Priority=Medium";break;case"high":N+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${M.priority}`)}if(M.sameSite)switch(typeof M.sameSite=="string"?M.sameSite.toLowerCase():M.sameSite){case!0:case"strict":N+="; SameSite=Strict";break;case"lax":N+="; SameSite=Lax";break;case"none":N+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${M.sameSite}`)}return N}function O(D){if(D.indexOf("%")===-1)return D;try{return decodeURIComponent(D)}catch{return D}}function R(D){return p.call(D)==="[object Date]"}return Nv}VN();/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const ge=require("react/jsx-runtime"),Ie=require("react");function JM(i){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const o in i)if(o!=="default"){const c=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(l,o,c.get?c:{enumerable:!0,get:()=>i[o]})}}return l.default=i,Object.freeze(l)}const V=JM(Ie),eL="categoryTestId";function l1(i){var l,o,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var p=i.length;for(l=0;l<p;l++)i[l]&&(o=l1(i[l]))&&(c&&(c+=" "),c+=o)}else for(o in i)i[o]&&(c&&(c+=" "),c+=o);return c}function tL(){for(var i,l,o=0,c="",p=arguments.length;o<p;o++)(i=arguments[o])&&(l=l1(i))&&(c&&(c+=" "),c+=l);return c}const ar=(i="",l,...o)=>{const c=i?`${i}__${l} ${l}`:l;return tL(c,o)},nL=i=>i.charAt(0).toUpperCase()+i.slice(1),rL=({category:i,block:l})=>{const o=ar(l,"category",`category--${i}`);return ge.jsx("span",{"data-testid":eL,className:o,children:nL(i)})},aL=({id:i,block:l,...o})=>ge.jsxs(Bg.Block,{htmlFor:i,block:l,children:[ge.jsx(Bg.Input,{...o,id:i}),ge.jsx(Bg.Indicator,{})]}),iL="checkboxTestId",lL="checkboxTestInputId",oL=({children:i,block:l,htmlFor:o="checkbox"})=>{const c=ar(l,"checkbox");return ge.jsx("label",{"data-testid":iL,className:c,htmlFor:o,children:i})};var o1={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ux=Ie.createContext&&Ie.createContext(o1),uL=["attr","size","title"];function sL(i,l){if(i==null)return{};var o=cL(i,l),c,p;if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(i);for(p=0;p<h.length;p++)c=h[p],!(l.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(i,c)&&(o[c]=i[c])}return o}function cL(i,l){if(i==null)return{};var o={};for(var c in i)if(Object.prototype.hasOwnProperty.call(i,c)){if(l.indexOf(c)>=0)continue;o[c]=i[c]}return o}function Yg(){return Yg=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},Yg.apply(this,arguments)}function sx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function qg(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?sx(Object(o),!0).forEach(function(c){fL(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):sx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function fL(i,l,o){return l=dL(l),l in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}function dL(i){var l=pL(i,"string");return typeof l=="symbol"?l:l+""}function pL(i,l){if(typeof i!="object"||!i)return i;var o=i[Symbol.toPrimitive];if(o!==void 0){var c=o.call(i,l);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}function u1(i){return i&&i.map((l,o)=>Ie.createElement(l.tag,qg({key:o},l.attr),u1(l.child)))}function uc(i){return l=>Ie.createElement(vL,Yg({attr:qg({},i.attr)},l),u1(i.child))}function vL(i){var l=o=>{var{attr:c,size:p,title:h}=i,m=sL(i,uL),w=p||o.size||"1em",b;return o.className&&(b=o.className),i.className&&(b=(b?b+" ":"")+i.className),Ie.createElement("svg",Yg({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},o.attr,c,m,{className:b,style:qg(qg({color:i.color||o.color},o.style),i.style),height:w,width:w,xmlns:"http://www.w3.org/2000/svg"}),h&&Ie.createElement("title",null,h),i.children)};return ux!==void 0?Ie.createElement(ux.Consumer,null,o=>l(o)):l(o1)}function hL(i){return uc({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"},child:[]}]})(i)}function mL(i){return uc({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"},child:[]}]})(i)}function gL(i){return uc({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"},child:[]},{tag:"path",attr:{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"},child:[]}]})(i)}function yL(i){return uc({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"},child:[]}]})(i)}function SL(i){return uc({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M278.6 256l68.2-68.2c6.2-6.2 6.2-16.4 0-22.6-6.2-6.2-16.4-6.2-22.6 0L256 233.4l-68.2-68.2c-6.2-6.2-16.4-6.2-22.6 0-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3l68.2 68.2-68.2 68.2c-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3 6.2 6.2 16.4 6.2 22.6 0l68.2-68.2 68.2 68.2c6.2 6.2 16.4 6.2 22.6 0 6.2-6.2 6.2-16.4 0-22.6L278.6 256z"},child:[]}]})(i)}const Dl={ArrowNarrowRight:gL,ArrowNarrowLeft:mL,ArrowNarrowDown:hL,Check:yL,Close:SL},wL=()=>ge.jsx("span",{className:"checkbox__indicator",children:ge.jsx(Dl.Check,{})}),bL=({onChange:i,id:l="checkbox",checked:o=!1,disabled:c=!1,name:p="checkbox",hasError:h=!1})=>{const m=ar("","checkbox__input",{error:h}),w=b=>{i&&i(b.target.checked)};return ge.jsx("input",{"data-testid":lL,name:p,disabled:c,className:m,checked:o,onChange:w,id:l,type:"checkbox"})},Bg=Object.assign(aL,{Block:oL,Indicator:wL,Input:bL}),EL="dropdownTestId",s1=i=>{const l=Ie.useRef(null);return Ie.useEffect(()=>{const o=c=>{const p=c.target;l.current&&p instanceof Node&&!l.current.contains(p)&&i(!1)};return document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o)}},[l,i]),l},TL=({category:i,block:l,options:o,onSelect:c,handleOpen:p,isOpen:h,onClickOutside:m})=>{const w=o.find(T=>T.value===i),b=s1(m);return ge.jsxs("div",{"data-testid":EL,ref:b,className:ar(l,"dropdown-menu",{"_dropdown-active":h}),children:[ge.jsx(Av.Block,{children:ge.jsx(Av.Category,{handleOpen:p,item:w})}),ge.jsx(Av.List,{onSelect:c,options:o,category:i})]})},CL=({category:i,options:l,onSelect:o})=>ge.jsx("ul",{className:"dropdown-menu__list",children:l.map(c=>{const{value:p,label:h}=c,m=p===i;return ge.jsx(Av.Option,{value:p,label:h,onSelect:o,isSelected:m},p)})}),xL=({label:i,value:l,isSelected:o,onSelect:c})=>{const p=()=>{c(l)};return ge.jsxs("li",{onClick:p,className:ar("","dropdown-menu__option",{"_selected-option":o}),children:[i&&i," ",l]})},RL=({item:i,handleOpen:l})=>ge.jsxs("button",{onClick:l,className:"dropdown-menu__category",children:[i==null?void 0:i.label,i==null?void 0:i.value,ge.jsx(Dl.ArrowNarrowDown,{className:"dropdown-menu__arrow"})]}),OL=({children:i})=>ge.jsx("div",{className:"dropdown-menu__block",children:i}),Av=Object.assign(TL,{List:CL,Option:xL,Category:RL,Block:OL});function kL(i){return uc({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"},child:[]}]})(i)}function DL(i){return uc({attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"},child:[]}]})(i)}const _L="favButtonTestId",ML=({disabled:i,block:l,isFavorite:o,type:c,onClick:p})=>{const h=ar(l,"favorite-button",`favorite-button--${c}`,{active:o});return ge.jsx("button",{"data-testid":_L,disabled:i,className:h,onClick:p,type:"button",children:o?ge.jsx(kL,{}):ge.jsx(DL,{})})},LL="fieldTestId",NL="fieldLabelTestId",zL=({label:i,block:l,children:o,error:c,id:p="input"})=>{const h=ar(l,"field");return ge.jsxs("div",{"data-testid":LL,className:h,children:[!!i&&ge.jsx(Yw.Label,{text:i,htmlFor:p}),Ie.cloneElement(o,{id:p,hasError:!!c}),!!c&&ge.jsx(Yw.Error,{errorText:c})]})},AL=({text:i,htmlFor:l="input"})=>ge.jsx("label",{"data-testid":NL,className:"field__label",htmlFor:l,children:i}),PL=({errorText:i})=>ge.jsx("p",{className:"field__error",children:i}),Yw=Object.assign(zL,{Label:AL,Error:PL}),jL=({children:i})=>ge.jsx("div",{className:"filter-accordion__block",children:i}),c1=(i,l)=>({block:o,children:c,...p})=>{const h=Array.isArray(c)?c.map((m,w)=>Ie.cloneElement(m,{block:o,key:`${o} - ${w.toString()}`})):Ie.cloneElement(c,{block:o});return ge.jsx(i,{className:l,...p,children:h})},f1="filter-accordion",UL="filterAccordionTestId",FL=c1(jL,f1),IL=({onClick:i,title:l,isOpen:o,children:c})=>ge.jsxs(sd.Layout,{isOpen:o,children:[ge.jsxs(sd.Block,{block:f1,children:[ge.jsx("h2",{className:"filter-accordion__title",children:l}),ge.jsx(sd.Reset,{}),ge.jsx(sd.Arrow,{onClick:i})]}),ge.jsx(sd.Content,{isOpen:o,children:c})]}),HL=({isOpen:i,block:l,children:o})=>ge.jsx("div",{"data-testid":UL,className:ar(l,"filter-accordion",{"_active-accordion":i}),children:o}),BL=({onClick:i})=>ge.jsx("button",{onClick:i,className:"filter-accordion__arrow",children:ge.jsx(Dl.ArrowNarrowDown,{})}),VL="buttonTestId",hb=({children:i,size:l,color:o,onClick:c,type:p="button",disabled:h=!1,isTransparent:m=!1,withIcon:w=!1,block:b})=>{const T=ar(b,"button",`button--${l} button--${o}`,{"button--transparent":m,"button--icon":w});return ge.jsx("button",{"data-testid":VL,disabled:h,type:p,className:T,onClick:c,children:i})},$L=({block:i})=>ge.jsx(hb,{block:i,isTransparent:!0,size:"small",color:"gray",children:"Reset"}),d1=i=>{const l=Ie.useRef(null),o=Ie.useMemo(()=>{var c;return{height:i?(c=l.current)==null?void 0:c.scrollHeight:0}},[i]);return{contentRef:l,style:o}},WL=({isOpen:i,children:l})=>{const{style:o,contentRef:c}=d1(i);return ge.jsx("div",{style:o,ref:c,className:"filter-accordion__content",children:ge.jsx("div",{className:"filter-accordion__body",children:l})})},sd=Object.assign(IL,{Layout:HL,Arrow:BL,Reset:$L,Block:FL,Content:WL}),GL="leftIconButtonTestId",YL="rightIconButtonTestId",p1=({RightIcon:i,LeftIcon:l,children:o,className:c,...p})=>ge.jsxs(hb,{withIcon:!0,...p,children:[!!l&&ge.jsx(l,{className:c,"data-testid":GL}),o,!!i&&ge.jsx(i,{className:c,"data-testid":YL})]}),qL=({children:i,onClick:l,block:o})=>ge.jsx(p1,{type:"button",block:o,onClick:l,className:"button__close",RightIcon:Dl.Close,size:"small",color:"gray",children:i});var QL={694:(i,l,o)=>{var c=o(925);function p(){}function h(){}h.resetWarningCache=p,i.exports=function(){function m(T,O,R,D,L,M){if(M!==c){var U=new 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 U.name="Invariant Violation",U}}function w(){return m}m.isRequired=m;var b={array:m,bigint:m,bool:m,func:m,number:m,object:m,string:m,symbol:m,any:m,arrayOf:w,element:m,elementType:m,instanceOf:w,node:m,objectOf:w,oneOf:w,oneOfType:w,shape:w,exact:w,checkPropTypes:h,resetWarningCache:p};return b.PropTypes=b,b}},556:(i,l,o)=>{i.exports=o(694)()},925:i=>{i.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},115:i=>{var l=typeof Element<"u",o=typeof Map=="function",c=typeof Set=="function",p=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function h(m,w){if(m===w)return!0;if(m&&w&&typeof m=="object"&&typeof w=="object"){if(m.constructor!==w.constructor)return!1;var b,T,O,R;if(Array.isArray(m)){if((b=m.length)!=w.length)return!1;for(T=b;T--!=0;)if(!h(m[T],w[T]))return!1;return!0}if(o&&m instanceof Map&&w instanceof Map){if(m.size!==w.size)return!1;for(R=m.entries();!(T=R.next()).done;)if(!w.has(T.value[0]))return!1;for(R=m.entries();!(T=R.next()).done;)if(!h(T.value[1],w.get(T.value[0])))return!1;return!0}if(c&&m instanceof Set&&w instanceof Set){if(m.size!==w.size)return!1;for(R=m.entries();!(T=R.next()).done;)if(!w.has(T.value[0]))return!1;return!0}if(p&&ArrayBuffer.isView(m)&&ArrayBuffer.isView(w)){if((b=m.length)!=w.length)return!1;for(T=b;T--!=0;)if(m[T]!==w[T])return!1;return!0}if(m.constructor===RegExp)return m.source===w.source&&m.flags===w.flags;if(m.valueOf!==Object.prototype.valueOf&&typeof m.valueOf=="function"&&typeof w.valueOf=="function")return m.valueOf()===w.valueOf();if(m.toString!==Object.prototype.toString&&typeof m.toString=="function"&&typeof w.toString=="function")return m.toString()===w.toString();if((b=(O=Object.keys(m)).length)!==Object.keys(w).length)return!1;for(T=b;T--!=0;)if(!Object.prototype.hasOwnProperty.call(w,O[T]))return!1;if(l&&m instanceof Element)return!1;for(T=b;T--!=0;)if((O[T]!=="_owner"&&O[T]!=="__v"&&O[T]!=="__o"||!m.$$typeof)&&!h(m[O[T]],w[O[T]]))return!1;return!0}return m!=m&&w!=w}i.exports=function(m,w){try{return h(m,w)}catch(b){if((b.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw b}}}},cx={};function Xr(i){var l=cx[i];if(l!==void 0)return l.exports;var o=cx[i]={exports:{}};return QL[i](o,o.exports,Xr),o.exports}Xr.n=i=>{var l=i&&i.__esModule?()=>i.default:()=>i;return Xr.d(l,{a:l}),l},Xr.d=(i,l)=>{for(var o in l)Xr.o(l,o)&&!Xr.o(i,o)&&Object.defineProperty(i,o,{enumerable:!0,get:l[o]})},Xr.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),Xr.o=(i,l)=>Object.prototype.hasOwnProperty.call(i,l);var v1={};function h1(i){var l,o,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var p=i.length;for(l=0;l<p;l++)i[l]&&(o=h1(i[l]))&&(c&&(c+=" "),c+=o)}else for(o in i)i[o]&&(c&&(c+=" "),c+=o);return c}Xr.d(v1,{A:()=>FN});const tc=function(){for(var i,l,o=0,c="",p=arguments.length;o<p;o++)(i=arguments[o])&&(l=h1(i))&&(c&&(c+=" "),c+=l);return c},xe=(fx={default:()=>V.default,useMemo:()=>V.useMemo,useRef:()=>V.useRef},Mw={},Xr.d(Mw,fx),Mw);var fx,Mw;const Qg=function(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")},XL=typeof global=="object"&&global&&global.Object===Object&&global;var KL=typeof self=="object"&&self&&self.Object===Object&&self;const m1=XL||KL||Function("return this")(),Lw=function(){return m1.Date.now()};var ZL=/\s/,JL=/^\s+/;const eN=function(i){return i&&i.slice(0,function(l){for(var o=l.length;o--&&ZL.test(l.charAt(o)););return o}(i)+1).replace(JL,"")},Xg=m1.Symbol;var g1=Object.prototype,tN=g1.hasOwnProperty,nN=g1.toString,Lv=Xg?Xg.toStringTag:void 0,rN=Object.prototype.toString,dx=Xg?Xg.toStringTag:void 0;const aN=function(i){return i==null?i===void 0?"[object Undefined]":"[object Null]":dx&&dx in Object(i)?function(l){var o=tN.call(l,Lv),c=l[Lv];try{l[Lv]=void 0;var p=!0}catch{}var h=nN.call(l);return p&&(o?l[Lv]=c:delete l[Lv]),h}(i):function(l){return rN.call(l)}(i)};var iN=/^[-+]0x[0-9a-f]+$/i,lN=/^0b[01]+$/i,oN=/^0o[0-7]+$/i,uN=parseInt;const px=function(i){if(typeof i=="number")return i;if(function(c){return typeof c=="symbol"||function(p){return p!=null&&typeof p=="object"}(c)&&aN(c)=="[object Symbol]"}(i))return NaN;if(Qg(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Qg(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=eN(i);var o=lN.test(i);return o||oN.test(i)?uN(i.slice(2),o?2:8):iN.test(i)?NaN:+i};var sN=Math.max,cN=Math.min;const qw=function(i,l,o){var c,p,h,m,w,b,T=0,O=!1,R=!1,D=!0;if(typeof i!="function")throw new TypeError("Expected a function");function L(z){var j=c,q=p;return c=p=void 0,T=z,m=i.apply(q,j)}function M(z){var j=z-b;return b===void 0||j>=l||j<0||R&&z-T>=h}function U(){var z=Lw();if(M(z))return P(z);w=setTimeout(U,function(j){var q=l-(j-b);return R?cN(q,h-(j-T)):q}(z))}function P(z){return w=void 0,D&&c?L(z):(c=p=void 0,m)}function N(){var z=Lw(),j=M(z);if(c=arguments,p=this,b=z,j){if(w===void 0)return function(q){return T=q,w=setTimeout(U,l),O?L(q):m}(b);if(R)return clearTimeout(w),w=setTimeout(U,l),L(b)}return w===void 0&&(w=setTimeout(U,l)),m}return l=px(l)||0,Qg(o)&&(O=!!o.leading,h=(R="maxWait"in o)?sN(px(o.maxWait)||0,l):h,D="trailing"in o?!!o.trailing:D),N.cancel=function(){w!==void 0&&clearTimeout(w),T=0,c=b=p=w=void 0},N.flush=function(){return w===void 0?m:P(Lw())},N},vx=function(i,l,o){var c=!0,p=!0;if(typeof i!="function")throw new TypeError("Expected a function");return Qg(o)&&(c="leading"in o?!!o.leading:c,p="trailing"in o?!!o.trailing:p),qw(i,l,{leading:c,maxWait:l,trailing:p})};var fN=Xr(115),dN=Xr.n(fN),y1=function(){if(typeof Map<"u")return Map;function i(l,o){var c=-1;return l.some(function(p,h){return p[0]===o&&(c=h,!0)}),c}return function(){function l(){this.__entries__=[]}return Object.defineProperty(l.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),l.prototype.get=function(o){var c=i(this.__entries__,o),p=this.__entries__[c];return p&&p[1]},l.prototype.set=function(o,c){var p=i(this.__entries__,o);~p?this.__entries__[p][1]=c:this.__entries__.push([o,c])},l.prototype.delete=function(o){var c=this.__entries__,p=i(c,o);~p&&c.splice(p,1)},l.prototype.has=function(o){return!!~i(this.__entries__,o)},l.prototype.clear=function(){this.__entries__.splice(0)},l.prototype.forEach=function(o,c){c===void 0&&(c=null);for(var p=0,h=this.__entries__;p<h.length;p++){var m=h[p];o.call(c,m[1],m[0])}},l}()}(),Qw=typeof window<"u"&&typeof document<"u"&&window.document===document,Kg=Xr.g!==void 0&&Xr.g.Math===Math?Xr.g:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),pN=typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(Kg):function(i){return setTimeout(function(){return i(Date.now())},1e3/60)},vN=["top","right","bottom","left","width","height","size","weight"],hN=typeof MutationObserver<"u",mN=function(){function i(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(l){var o=!1,c=!1,p=0;function h(){o&&(o=!1,l()),c&&w()}function m(){pN(h)}function w(){var b=Date.now();if(o){if(b-p<2)return;c=!0}else o=!0,c=!1,setTimeout(m,20);p=b}return w}(this.refresh.bind(this))}return i.prototype.addObserver=function(l){~this.observers_.indexOf(l)||this.observers_.push(l),this.connected_||this.connect_()},i.prototype.removeObserver=function(l){var o=this.observers_,c=o.indexOf(l);~c&&o.splice(c,1),!o.length&&this.connected_&&this.disconnect_()},i.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},i.prototype.updateObservers_=function(){var l=this.observers_.filter(function(o){return o.gatherActive(),o.hasActive()});return l.forEach(function(o){return o.broadcastActive()}),l.length>0},i.prototype.connect_=function(){Qw&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),hN?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},i.prototype.disconnect_=function(){Qw&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},i.prototype.onTransitionEnd_=function(l){var o=l.propertyName,c=o===void 0?"":o;vN.some(function(p){return!!~c.indexOf(p)})&&this.refresh()},i.getInstance=function(){return this.instance_||(this.instance_=new i),this.instance_},i.instance_=null,i}(),hx=function(i,l){for(var o=0,c=Object.keys(l);o<c.length;o++){var p=c[o];Object.defineProperty(i,p,{value:l[p],enumerable:!1,writable:!1,configurable:!0})}return i},vd=function(i){return i&&i.ownerDocument&&i.ownerDocument.defaultView||Kg},mx=Zg(0,0,0,0);function Vg(i){return parseFloat(i)||0}function gx(i){for(var l=[],o=1;o<arguments.length;o++)l[o-1]=arguments[o];return l.reduce(function(c,p){return c+Vg(i["border-"+p+"-width"])},0)}var gN=typeof SVGGraphicsElement<"u"?function(i){return i instanceof vd(i).SVGGraphicsElement}:function(i){return i instanceof vd(i).SVGElement&&typeof i.getBBox=="function"};function yN(i){return Qw?gN(i)?function(l){var o=l.getBBox();return Zg(0,0,o.width,o.height)}(i):function(l){var o=l.clientWidth,c=l.clientHeight;if(!o&&!c)return mx;var p=vd(l).getComputedStyle(l),h=function(D){for(var L={},M=0,U=["top","right","bottom","left"];M<U.length;M++){var P=U[M],N=D["padding-"+P];L[P]=Vg(N)}return L}(p),m=h.left+h.right,w=h.top+h.bottom,b=Vg(p.width),T=Vg(p.height);if(p.boxSizing==="border-box"&&(Math.round(b+m)!==o&&(b-=gx(p,"left","right")+m),Math.round(T+w)!==c&&(T-=gx(p,"top","bottom")+w)),!function(D){return D===vd(D).document.documentElement}(l)){var O=Math.round(b+m)-o,R=Math.round(T+w)-c;Math.abs(O)!==1&&(b-=O),Math.abs(R)!==1&&(T-=R)}return Zg(h.left,h.top,b,T)}(i):mx}function Zg(i,l,o,c){return{x:i,y:l,width:o,height:c}}var SN=function(){function i(l){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Zg(0,0,0,0),this.target=l}return i.prototype.isActive=function(){var l=yN(this.target);return this.contentRect_=l,l.width!==this.broadcastWidth||l.height!==this.broadcastHeight},i.prototype.broadcastRect=function(){var l=this.contentRect_;return this.broadcastWidth=l.width,this.broadcastHeight=l.height,l},i}(),wN=function(i,l){var o=function(c){var p=c.x,h=c.y,m=c.width,w=c.height,b=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,T=Object.create(b.prototype);return hx(T,{x:p,y:h,width:m,height:w,top:h,right:p+m,bottom:w+h,left:p}),T}(l);hx(this,{target:i,contentRect:o})},bN=function(){function i(l,o,c){if(this.activeObservations_=[],this.observations_=new y1,typeof l!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=l,this.controller_=o,this.callbackCtx_=c}return i.prototype.observe=function(l){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(l instanceof vd(l).Element))throw new TypeError('parameter 1 is not of type "Element".');var o=this.observations_;o.has(l)||(o.set(l,new SN(l)),this.controller_.addObserver(this),this.controller_.refresh())}},i.prototype.unobserve=function(l){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(l instanceof vd(l).Element))throw new TypeError('parameter 1 is not of type "Element".');var o=this.observations_;o.has(l)&&(o.delete(l),o.size||this.controller_.removeObserver(this))}},i.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},i.prototype.gatherActive=function(){var l=this;this.clearActive(),this.observations_.forEach(function(o){o.isActive()&&l.activeObservations_.push(o)})},i.prototype.broadcastActive=function(){if(this.hasActive()){var l=this.callbackCtx_,o=this.activeObservations_.map(function(c){return new wN(c.target,c.broadcastRect())});this.callback_.call(l,o,l),this.clearActive()}},i.prototype.clearActive=function(){this.activeObservations_.splice(0)},i.prototype.hasActive=function(){return this.activeObservations_.length>0},i}(),S1=typeof WeakMap<"u"?new WeakMap:new y1,w1=function i(l){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=mN.getInstance(),c=new bN(l,o,this);S1.set(this,c)};["observe","unobserve","disconnect"].forEach(function(i){w1.prototype[i]=function(){var l;return(l=S1.get(this))[i].apply(l,arguments)}});const yx=Kg.ResizeObserver!==void 0?Kg.ResizeObserver:w1,xo="Left",Ro="Right",Oo="Up",ko="Down",ud={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},Nw={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},Sx="mousemove",wx="mouseup";function bx(i,l){if(l===0)return i;const o=Math.PI/180*l;return[i[0]*Math.cos(o)+i[1]*Math.sin(o),i[1]*Math.cos(o)-i[0]*Math.sin(o)]}function EN(i){const{trackMouse:l}=i,o=xe.useRef(Object.assign({},Nw)),c=xe.useRef(Object.assign({},ud)),p=xe.useRef(Object.assign({},c.current));let h;for(h in p.current=Object.assign({},c.current),c.current=Object.assign(Object.assign({},ud),i),ud)c.current[h]===void 0&&(c.current[h]=ud[h]);const[m,w]=xe.useMemo(()=>function(b,T){const O=P=>{const N="touches"in P;N&&P.touches.length>1||b((z,j)=>{j.trackMouse&&!N&&(document.addEventListener(Sx,R),document.addEventListener(wx,L));const{clientX:q,clientY:$}=N?P.touches[0]:P,se=bx([q,$],j.rotationAngle);return j.onTouchStartOrOnMouseDown&&j.onTouchStartOrOnMouseDown({event:P}),Object.assign(Object.assign(Object.assign({},z),Nw),{initial:se.slice(),xy:se,start:P.timeStamp||0})})},R=P=>{b((N,z)=>{const j="touches"in P;if(j&&P.touches.length>1)return N;if(P.timeStamp-N.start>z.swipeDuration)return N.swiping?Object.assign(Object.assign({},N),{swiping:!1}):N;const{clientX:q,clientY:$}=j?P.touches[0]:P,[se,le]=bx([q,$],z.rotationAngle),ve=se-N.xy[0],ee=le-N.xy[1],J=Math.abs(ve),re=Math.abs(ee),oe=(P.timeStamp||0)-N.start,we=Math.sqrt(J*J+re*re)/(oe||1),Qe=[ve/(oe||1),ee/(oe||1)],Ge=function(Se,ye,tt,it){return Se>ye?tt>0?Ro:xo:it>0?ko:Oo}(J,re,ve,ee),be=typeof z.delta=="number"?z.delta:z.delta[Ge.toLowerCase()]||ud.delta;if(J<be&&re<be&&!N.swiping)return N;const $e={absX:J,absY:re,deltaX:ve,deltaY:ee,dir:Ge,event:P,first:N.first,initial:N.initial,velocity:we,vxvy:Qe};$e.first&&z.onSwipeStart&&z.onSwipeStart($e),z.onSwiping&&z.onSwiping($e);let ue=!1;return(z.onSwiping||z.onSwiped||z[`onSwiped${Ge}`])&&(ue=!0),ue&&z.preventScrollOnSwipe&&z.trackTouch&&P.cancelable&&P.preventDefault(),Object.assign(Object.assign({},N),{first:!1,eventData:$e,swiping:!0})})},D=P=>{b((N,z)=>{let j;if(N.swiping&&N.eventData){if(P.timeStamp-N.start<z.swipeDuration){j=Object.assign(Object.assign({},N.eventData),{event:P}),z.onSwiped&&z.onSwiped(j);const q=z[`onSwiped${j.dir}`];q&&q(j)}}else z.onTap&&z.onTap({event:P});return z.onTouchEndOrOnMouseUp&&z.onTouchEndOrOnMouseUp({event:P}),Object.assign(Object.assign(Object.assign({},N),Nw),{eventData:j})})},L=P=>{document.removeEventListener(Sx,R),document.removeEventListener(wx,L),D(P)},M=(P,N)=>{let z=()=>{};if(P&&P.addEventListener){const j=Object.assign(Object.assign({},ud.touchEventOptions),N.touchEventOptions),q=[["touchstart",O,j],["touchmove",R,Object.assign(Object.assign({},j),N.preventScrollOnSwipe?{passive:!1}:{})],["touchend",D,j]];q.forEach(([$,se,le])=>P.addEventListener($,se,le)),z=()=>q.forEach(([$,se])=>P.removeEventListener($,se))}return z},U={ref:P=>{P!==null&&b((N,z)=>{if(N.el===P)return N;const j={};return N.el&&N.el!==P&&N.cleanUpTouch&&(N.cleanUpTouch(),j.cleanUpTouch=void 0),z.trackTouch&&P&&(j.cleanUpTouch=M(P,z)),Object.assign(Object.assign(Object.assign({},N),{el:P}),j)})}};return T.trackMouse&&(U.onMouseDown=O),[U,M]}(b=>o.current=b(o.current,c.current),{trackMouse:l}),[l]);return o.current=function(b,T,O,R){return T.trackTouch&&b.el?b.cleanUpTouch?T.preventScrollOnSwipe!==O.preventScrollOnSwipe||T.touchEventOptions.passive!==O.touchEventOptions.passive?(b.cleanUpTouch(),Object.assign(Object.assign({},b),{cleanUpTouch:R(b.el,T)})):b:Object.assign(Object.assign({},b),{cleanUpTouch:R(b.el,T)}):(b.cleanUpTouch&&b.cleanUpTouch(),Object.assign(Object.assign({},b),{cleanUpTouch:void 0}))}(o.current,c.current,p.current,w),m}var ie=Xr(556);function Pv(i){return Pv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Pv(i)}function Ex(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function Tx(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Ex(Object(o),!0).forEach(function(c){TN(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Ex(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function TN(i,l,o){return(l=function(c){var p=function(h){if(Pv(h)!="object"||!h)return h;var m=h[Symbol.toPrimitive];if(m!==void 0){var w=m.call(h,"string");if(Pv(w)!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}(c);return Pv(p)=="symbol"?p:p+""}(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}var CN={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"},Xw=xe.default.memo(function(i){var l=Tx(Tx({},CN),i),o=l.description,c=l.fullscreen,p=l.handleImageLoaded,h=l.isFullscreen,m=l.onImageError,w=l.original,b=l.originalAlt,T=l.originalHeight,O=l.originalWidth,R=l.originalTitle,D=l.sizes,L=l.srcSet,M=l.loading,U=h&&c||w;return xe.default.createElement(xe.default.Fragment,null,xe.default.createElement("img",{className:"image-gallery-image",src:U,alt:b,srcSet:L,height:T,width:O,sizes:D,title:R,onLoad:function(P){return p(P,w)},onError:m,loading:M}),o&&xe.default.createElement("span",{className:"image-gallery-description"},o))});Xw.displayName="Item",Xw.propTypes={description:ie.string,fullscreen:ie.string,handleImageLoaded:ie.func.isRequired,isFullscreen:ie.bool,onImageError:ie.func.isRequired,original:ie.string.isRequired,originalAlt:ie.string,originalHeight:ie.string,originalWidth:ie.string,originalTitle:ie.string,sizes:ie.string,srcSet:ie.string,loading:ie.string};const xN=Xw;function jv(i){return jv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},jv(i)}function Cx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function xx(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Cx(Object(o),!0).forEach(function(c){RN(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Cx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function RN(i,l,o){return(l=function(c){var p=function(h){if(jv(h)!="object"||!h)return h;var m=h[Symbol.toPrimitive];if(m!==void 0){var w=m.call(h,"string");if(jv(w)!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}(c);return jv(p)=="symbol"?p:p+""}(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}var ON={left:xe.default.createElement("polyline",{points:"15 18 9 12 15 6"}),right:xe.default.createElement("polyline",{points:"9 18 15 12 9 6"}),top:xe.default.createElement("polyline",{points:"6 15 12 9 18 15"}),bottom:xe.default.createElement("polyline",{points:"6 9 12 15 18 9"}),maximize:xe.default.createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:xe.default.createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:xe.default.createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:xe.default.createElement(xe.default.Fragment,null,xe.default.createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),xe.default.createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},kN={strokeWidth:1,viewBox:"0 0 24 24"},b1=function(i){var l=xx(xx({},kN),i),o=l.strokeWidth,c=l.viewBox,p=l.icon;return xe.default.createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:c,fill:"none",stroke:"currentColor",strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round"},ON[p])};b1.propTypes={strokeWidth:ie.number,viewBox:ie.string,icon:(0,ie.oneOf)(["left","right","top","bottom","maximize","minimize","play","pause"]).isRequired};const hd=b1;var Kw=xe.default.memo(function(i){var l=i.isFullscreen,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:o,"aria-label":"Open Fullscreen"},xe.default.createElement(hd,{strokeWidth:2,icon:l?"minimize":"maximize"}))});Kw.displayName="Fullscreen",Kw.propTypes={isFullscreen:ie.bool.isRequired,onClick:ie.func.isRequired};const DN=Kw;var Zw=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:l,onClick:o,"aria-label":"Previous Slide"},xe.default.createElement(hd,{icon:"left",viewBox:"6 0 12 24"}))});Zw.displayName="LeftNav",Zw.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const _N=Zw;var Jw=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:l,onClick:o,"aria-label":"Next Slide"},xe.default.createElement(hd,{icon:"right",viewBox:"6 0 12 24"}))});Jw.displayName="RightNav",Jw.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const MN=Jw;var eb=xe.default.memo(function(i){var l=i.isPlaying,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:o,"aria-label":"Play or Pause Slideshow"},xe.default.createElement(hd,{strokeWidth:2,icon:l?"pause":"play"}))});eb.displayName="PlayPause",eb.propTypes={isPlaying:ie.bool.isRequired,onClick:ie.func.isRequired};const LN=eb;function Uv(i){return Uv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Uv(i)}function tb(){return tb=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)({}).hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},tb.apply(null,arguments)}function Rx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function Ox(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Rx(Object(o),!0).forEach(function(c){NN(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Rx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function NN(i,l,o){return(l=function(c){var p=function(h){if(Uv(h)!="object"||!h)return h;var m=h[Symbol.toPrimitive];if(m!==void 0){var w=m.call(h,"string");if(Uv(w)!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}(c);return Uv(p)=="symbol"?p:p+""}(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}var zN={className:"",delta:0,onSwiping:function(){},onSwiped:function(){}},E1=function(i){var l=Ox(Ox({},zN),i),o=l.children,c=l.className,p=EN({delta:l.delta,onSwiping:l.onSwiping,onSwiped:l.onSwiped});return xe.default.createElement("div",tb({},p,{className:c}),o)};E1.propTypes={children:ie.node.isRequired,className:ie.string,delta:ie.number,onSwiped:ie.func,onSwiping:ie.func};const kx=E1;var nb=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-top-nav",disabled:l,onClick:o,"aria-label":"Previous Slide"},xe.default.createElement(hd,{icon:"top",viewBox:"6 0 12 24"}))});nb.displayName="TopNav",nb.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const AN=nb;var rb=xe.default.memo(function(i){var l=i.disabled,o=i.onClick;return xe.default.createElement("button",{type:"button",className:"image-gallery-icon image-gallery-bottom-nav",disabled:l,onClick:o,"aria-label":"Next Slide"},xe.default.createElement(hd,{icon:"bottom",viewBox:"6 0 12 24"}))});rb.displayName="BottomNav",rb.propTypes={disabled:ie.bool.isRequired,onClick:ie.func.isRequired};const PN=rb;function fd(i){return fd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},fd(i)}function Dx(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function _x(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Dx(Object(o),!0).forEach(function(c){cd(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Dx(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function jN(i,l){for(var o=0;o<l.length;o++){var c=l[o];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(i,C1(c.key),c)}}function T1(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(T1=function(){return!!i})()}function Jg(i){return Jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},Jg(i)}function ab(i,l){return ab=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,c){return o.__proto__=c,o},ab(i,l)}function cd(i,l,o){return(l=C1(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}function C1(i){var l=function(o){if(fd(o)!="object"||!o)return o;var c=o[Symbol.toPrimitive];if(c!==void 0){var p=c.call(o,"string");if(fd(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}(i);return fd(l)=="symbol"?l:l+""}var Mx=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],UN=(0,ie.arrayOf)((0,ie.shape)({srcSet:ie.string,media:ie.string}));function Lx(i){var l=parseInt(i.keyCode||i.which||0,10);return l===66||l===62}var ib=function(){function i(l){var o,c,p,h;return function(m,w){if(!(m instanceof w))throw new TypeError("Cannot call a class as a function")}(this,i),cd((c=this,h=[l],p=Jg(p=i),o=function(m,w){if(w&&(fd(w)=="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}(m)}(c,T1()?Reflect.construct(p,h||[],Jg(c).constructor):p.apply(c,h))),"onBulletClick",function(m,w){var b=o.props,T=b.onBulletClick,O=b.items,R=o.state.currentIndex;m.target.blur(),R!==w&&(O.length===2?o.slideToIndexWithStyleReset(w,m):o.slideToIndex(w,m)),T&&T(m,w)}),o.state={currentIndex:l.startIndex,thumbsTranslate:0,thumbsSwipedTranslate:0,currentSlideOffset:0,galleryWidth:0,galleryHeight:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,thumbsStyle:{transition:"all ".concat(l.slideDuration,"ms ease-out")},isFullscreen:!1,isSwipingThumbnail:!1,isPlaying:!1},o.loadedImages={},o.imageGallery=xe.default.createRef(),o.thumbnailsWrapper=xe.default.createRef(),o.thumbnails=xe.default.createRef(),o.imageGallerySlideWrapper=xe.default.createRef(),o.handleImageLoaded=o.handleImageLoaded.bind(o),o.handleKeyDown=o.handleKeyDown.bind(o),o.handleMouseDown=o.handleMouseDown.bind(o),o.handleResize=o.handleResize.bind(o),o.handleOnSwiped=o.handleOnSwiped.bind(o),o.handleScreenChange=o.handleScreenChange.bind(o),o.handleSwiping=o.handleSwiping.bind(o),o.handleThumbnailSwiping=o.handleThumbnailSwiping.bind(o),o.handleOnThumbnailSwiped=o.handleOnThumbnailSwiped.bind(o),o.onThumbnailMouseLeave=o.onThumbnailMouseLeave.bind(o),o.handleImageError=o.handleImageError.bind(o),o.pauseOrPlay=o.pauseOrPlay.bind(o),o.renderThumbInner=o.renderThumbInner.bind(o),o.renderItem=o.renderItem.bind(o),o.slideLeft=o.slideLeft.bind(o),o.slideRight=o.slideRight.bind(o),o.toggleFullScreen=o.toggleFullScreen.bind(o),o.togglePlay=o.togglePlay.bind(o),o.unthrottledSlideToIndex=o.slideToIndex,o.slideToIndex=vx(o.unthrottledSlideToIndex,l.slideDuration,{trailing:!1}),l.lazyLoad&&(o.lazyLoaded=[]),o}return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(o&&o.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),o&&ab(l,o)}(i,xe.default.Component),function(l,o){return o&&jN(l.prototype,o),Object.defineProperty(l,"prototype",{writable:!1}),l}(i,[{key:"componentDidMount",value:function(){var l=this.props,o=l.autoPlay,c=l.useWindowKeyDown;o&&this.play(),c?window.addEventListener("keydown",this.handleKeyDown):this.imageGallery.current.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(l,o){var c=this.props,p=c.items,h=c.lazyLoad,m=c.slideDuration,w=c.slideInterval,b=c.startIndex,T=c.thumbnailPosition,O=c.showThumbnails,R=c.useWindowKeyDown,D=this.state,L=D.currentIndex,M=D.isPlaying,U=l.items.length!==p.length,P=!dN()(l.items,p),N=l.startIndex!==b,z=l.thumbnailPosition!==T,j=l.showThumbnails!==O;w===l.slideInterval&&m===l.slideDuration||M&&(this.pause(),this.play()),z&&(this.removeResizeObserver(),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)),j&&O&&this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),j&&!O&&this.removeThumbnailsResizeObserver(),(U||j)&&this.handleResize(),o.currentIndex!==L&&this.slideThumbnailBar(),l.slideDuration!==m&&(this.slideToIndex=vx(this.unthrottledSlideToIndex,m,{trailing:!1})),!h||l.lazyLoad&&!P||(this.lazyLoaded=[]),R!==l.useWindowKeyDown&&(R?(this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown),window.addEventListener("keydown",this.handleKeyDown)):(window.removeEventListener("keydown",this.handleKeyDown),this.imageGallery.current.addEventListener("keydown",this.handleKeyDown))),(N||P)&&this.setState({currentIndex:b,slideStyle:{transition:"none"}})}},{key:"componentWillUnmount",value:function(){var l=this.props.useWindowKeyDown;window.removeEventListener("mousedown",this.handleMouseDown),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer),l?window.removeEventListener("keydown",this.handleKeyDown):this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown)}},{key:"onSliding",value:function(){var l=this,o=this.state,c=o.currentIndex,p=o.isTransitioning,h=this.props,m=h.onSlide,w=h.slideDuration;this.transitionTimer=window.setTimeout(function(){p&&(l.setState({isTransitioning:!p,isSwipingThumbnail:!1}),m&&m(c))},w+50)}},{key:"onThumbnailClick",value:function(l,o){var c=this.props,p=c.onThumbnailClick,h=c.items,m=this.state.currentIndex;l.target.parentNode.parentNode.blur(),m!==o&&(h.length===2?this.slideToIndexWithStyleReset(o,l):this.slideToIndex(o,l)),p&&p(l,o)}},{key:"onThumbnailMouseOver",value:function(l,o){var c=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout(function(){c.slideToIndex(o),c.pause()},300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var l=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,l&&this.play()}}},{key:"setThumbsTranslate",value:function(l){this.setState({thumbsTranslate:l})}},{key:"setModalFullscreen",value:function(l){var o=this.props.onScreenChange;this.setState({modalFullscreen:l}),o&&o(l)}},{key:"getThumbsTranslate",value:function(l){var o,c=this.props,p=c.disableThumbnailScroll,h=c.items,m=this.state,w=m.thumbnailsWrapperWidth,b=m.thumbnailsWrapperHeight,T=this.thumbnails&&this.thumbnails.current;if(p)return 0;if(T){if(this.isThumbnailVertical()){if(T.scrollHeight<=b)return 0;o=T.scrollHeight-b}else{if(T.scrollWidth<=w||w<=0)return 0;o=T.scrollWidth-w}return l*(o/(h.length-1))}return 0}},{key:"getThumbnailPositionClassName",value:function(l){switch(l){case"left":l=" ".concat("image-gallery-thumbnails-left");break;case"right":l=" ".concat("image-gallery-thumbnails-right");break;case"bottom":l=" ".concat("image-gallery-thumbnails-bottom");break;case"top":l=" ".concat("image-gallery-thumbnails-top")}return l}},{key:"getAlignmentClassName",value:function(l){var o=this.state.currentIndex,c=this.props,p=c.infinite,h=c.items,m="",w="image-gallery-left",b="image-gallery-right";switch(l){case o-1:m=" ".concat(w);break;case o:m=" ".concat("image-gallery-center");break;case o+1:m=" ".concat(b)}return h.length>=3&&p&&(l===0&&o===h.length-1?m=" ".concat(b):l===h.length-1&&o===0&&(m=" ".concat(w))),m}},{key:"getTranslateXForTwoSlide",value:function(l){var o=this.state,c=o.currentIndex,p=o.currentSlideOffset,h=o.previousIndex,m=c!==h,w=l===0&&h===0,b=l===1&&h===1,T=l===0&&c===1,O=l===1&&c===0,R=p===0,D=-100*c+100*l+p;return p>0?this.direction="left":p<0&&(this.direction="right"),O&&p>0&&(D=-100+p),T&&p<0&&(D=100+p),m?w&&R&&this.direction==="left"?D=100:b&&R&&this.direction==="right"&&(D=-100):(O&&R&&this.direction==="left"&&(D=-100),T&&R&&this.direction==="right"&&(D=100)),D}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(l){var o=this.state,c=o.currentIndex,p=o.currentSlideOffset,h=o.slideStyle,m=this.props,w=m.infinite,b=m.items,T=m.useTranslate3D,O=m.isRTL,R=m.slideVertically,D=-100*c,L=b.length-1,M=(D+100*l)*(O?-1:1)+p;w&&b.length>2&&(c===0&&l===L?M=-100*(O?-1:1)+p:c===L&&l===0&&(M=100*(O?-1:1)+p)),w&&b.length===2&&(M=this.getTranslateXForTwoSlide(l));var U=R?"translate(0, ".concat(M,"%)"):"translate(".concat(M,"%, 0)");return T&&(U=R?"translate3d(0, ".concat(M,"%, 0)"):"translate3d(".concat(M,"%, 0, 0)")),_x({display:this.isSlideVisible(l)?"inherit":"none",WebkitTransform:U,MozTransform:U,msTransform:U,OTransform:U,transform:U},h)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var l,o=this.props,c=o.useTranslate3D,p=o.isRTL,h=this.state,m=h.thumbsTranslate,w=h.thumbsStyle,b=p?-1*m:m;return this.isThumbnailVertical()?(l="translate(0, ".concat(m,"px)"),c&&(l="translate3d(0, ".concat(m,"px, 0)"))):(l="translate(".concat(b,"px, 0)"),c&&(l="translate3d(".concat(b,"px, 0, 0)"))),_x({WebkitTransform:l,MozTransform:l,msTransform:l,OTransform:l,transform:l},w)}},{key:"getSlideItems",value:function(){var l=this,o=this.state.currentIndex,c=this.props,p=c.items,h=c.slideOnThumbnailOver,m=c.onClick,w=c.lazyLoad,b=c.onTouchMove,T=c.onTouchEnd,O=c.onTouchStart,R=c.onMouseOver,D=c.onMouseLeave,L=c.renderItem,M=c.renderThumbInner,U=c.showThumbnails,P=c.showBullets,N=[],z=[],j=[];return p.forEach(function(q,$){var se=l.getAlignmentClassName($),le=q.originalClass?" ".concat(q.originalClass):"",ve=q.thumbnailClass?" ".concat(q.thumbnailClass):"",ee=q.renderItem||L||l.renderItem,J=q.renderThumbInner||M||l.renderThumbInner,re=!w||se||l.lazyLoaded[$];re&&w&&!l.lazyLoaded[$]&&(l.lazyLoaded[$]=!0);var oe=l.getSlideStyle($),we=xe.default.createElement("div",{"aria-label":"Go to Slide ".concat($+1),key:"slide-".concat($),tabIndex:"-1",className:"image-gallery-slide ".concat(se," ").concat(le),style:oe,onClick:m,onKeyUp:l.handleSlideKeyUp,onTouchMove:b,onTouchEnd:T,onTouchStart:O,onMouseOver:R,onFocus:R,onMouseLeave:D,role:"button"},re?ee(q):xe.default.createElement("div",{style:{height:"100%"}}));if(N.push(we),U&&q.thumbnail){var Qe=tc("image-gallery-thumbnail",ve,{active:o===$});z.push(xe.default.createElement("button",{key:"thumbnail-".concat($),type:"button",tabIndex:"0","aria-pressed":o===$?"true":"false","aria-label":"Go to Slide ".concat($+1),className:Qe,onMouseLeave:h?l.onThumbnailMouseLeave:null,onMouseOver:function(be){return l.handleThumbnailMouseOver(be,$)},onFocus:function(be){return l.handleThumbnailMouseOver(be,$)},onKeyUp:function(be){return l.handleThumbnailKeyUp(be,$)},onClick:function(be){return l.onThumbnailClick(be,$)}},J(q)))}if(P){var Ge=tc("image-gallery-bullet",q.bulletClass,{active:o===$});j.push(xe.default.createElement("button",{type:"button",key:"bullet-".concat($),className:Ge,onClick:function(be){return l.onBulletClick(be,$)},"aria-pressed":o===$?"true":"false","aria-label":"Go to Slide ".concat($+1)}))}}),{slides:N,thumbnails:z,bullets:j}}},{key:"ignoreIsTransitioning",value:function(){var l=this.props.items,o=this.state,c=o.previousIndex,p=o.currentIndex,h=l.length-1;return Math.abs(c-p)>1&&!(c===0&&p===h)&&!(c===h&&p===0)}},{key:"isFirstOrLastSlide",value:function(l){return l===this.props.items.length-1||l===0}},{key:"slideIsTransitioning",value:function(l){var o=this.state,c=o.isTransitioning,p=o.previousIndex,h=o.currentIndex;return c&&!(l===p||l===h)}},{key:"isSlideVisible",value:function(l){return!this.slideIsTransitioning(l)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(l)}},{key:"slideThumbnailBar",value:function(){var l=this.state,o=l.currentIndex,c=l.isSwipingThumbnail,p=-this.getThumbsTranslate(o);c||(o===0?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:p,thumbsSwipedTranslate:p}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){var l=this.props,o=l.infinite,c=l.isRTL;return o||(c?this.canSlideNext():this.canSlidePrevious())}},{key:"canSlideRight",value:function(){var l=this.props,o=l.infinite,c=l.isRTL;return o||(c?this.canSlidePrevious():this.canSlideNext())}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(l){var o=l.event,c=l.absX,p=l.absY,h=l.dir,m=this.props,w=m.disableSwipe,b=m.stopPropagation,T=m.swipingTransitionDuration,O=this.state,R=O.galleryWidth,D=O.galleryHeight,L=O.isTransitioning,M=O.swipingUpDown,U=O.swipingLeftRight,P=this.props.slideVertically;if((h!==Oo&&h!==ko&&!M||U||(M||this.setState({swipingUpDown:!0}),P))&&(h!==xo&&h!==Ro||U||this.setState({swipingLeftRight:!0}),!w))if(b&&o.preventDefault(),L)this.setState({currentSlideOffset:0});else{if((h===xo||h===Ro)&&P||(h===Oo||h===ko)&&!P)return;var N=cd(cd(cd(cd({},xo,-1),Ro,1),Oo,-1),ko,1)[h],z=c/R*100;P&&(z=p/D*100),Math.abs(z)>=100&&(z=100);var j={transition:"transform ".concat(T,"ms ease-out")};this.setState({currentSlideOffset:N*z,slideStyle:j})}}},{key:"handleThumbnailSwiping",value:function(l){var o=l.event,c=l.absX,p=l.absY,h=l.dir,m=this.props,w=m.stopPropagation,b=m.swipingThumbnailTransitionDuration,T=this.state,O=T.thumbsSwipedTranslate,R=T.thumbnailsWrapperHeight,D=T.thumbnailsWrapperWidth,L=T.swipingUpDown,M=T.swipingLeftRight;if(this.isThumbnailVertical()){if((h===xo||h===Ro||M)&&!L)return void(M||this.setState({swipingLeftRight:!0}));h!==Oo&&h!==ko||L||this.setState({swipingUpDown:!0})}else{if((h===Oo||h===ko||L)&&!M)return void(L||this.setState({swipingUpDown:!0}));h!==xo&&h!==Ro||M||this.setState({swipingLeftRight:!0})}var U,P,N,z,j,q=this.thumbnails&&this.thumbnails.current;if(this.isThumbnailVertical()?(U=O+(h===ko?p:-p),P=q.scrollHeight-R+20,N=Math.abs(U)>P,z=U>20,j=q.scrollHeight<=R):(U=O+(h===Ro?c:-c),P=q.scrollWidth-D+20,N=Math.abs(U)>P,z=U>20,j=q.scrollWidth<=D),!j&&(h!==xo&&h!==Oo||!N)&&(h!==Ro&&h!==ko||!z)){w&&o.stopPropagation();var $={transition:"transform ".concat(b,"ms ease-out")};this.setState({thumbsTranslate:U,thumbsStyle:$})}}},{key:"handleOnThumbnailSwiped",value:function(){var l=this.state.thumbsTranslate,o=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:l,thumbsStyle:{transition:"all ".concat(o,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){var l=this.state.currentSlideOffset,o=this.props.swipeThreshold;return Math.abs(l)>o}},{key:"resetSwipingDirection",value:function(){var l=this.state,o=l.swipingUpDown,c=l.swipingLeftRight;o&&this.setState({swipingUpDown:!1}),c&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(l){var o=l.event,c=l.dir,p=l.velocity,h=this.props,m=h.disableSwipe,w=h.stopPropagation,b=h.flickThreshold,T=this.props.slideVertically;if(!m){var O=this.props.isRTL;w&&o.stopPropagation(),this.resetSwipingDirection();var R=(c===xo?1:-1)*(O?-1:1);T&&(R=c===Oo?1:-1);var D=T?p>b&&!(c===xo||c===Ro):p>b&&!(c===Oo||c===ko);this.handleOnSwipedTo(R,D)}}},{key:"handleOnSwipedTo",value:function(l,o){var c=this.state,p=c.currentIndex,h=c.isTransitioning,m=p;!this.sufficientSwipe()&&!o||h||(m+=l),(l===-1&&!this.canSlideLeft()||l===1&&!this.canSlideRight())&&(m=p),this.unthrottledSlideToIndex(m)}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(l){var o=this.props,c=o.disableKeyDown,p=o.useBrowserFullscreen,h=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!c)switch(parseInt(l.keyCode||l.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(l);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(l);break;case 27:h&&!p&&this.exitFullScreen()}}},{key:"handleImageError",value:function(l){var o=this.props.onErrorImageURL;o&&l.target.src.indexOf(o)===-1&&(l.target.src=o)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var l=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth,galleryHeight:this.imageGallery.current.offsetHeight}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(l)))}},{key:"initSlideWrapperResizeObserver",value:function(l){var o=this;l&&!l.current||(this.resizeSlideWrapperObserver=new yx(qw(function(c){c&&c.forEach(function(p){o.setState({thumbnailsWrapperWidth:p.contentRect.width},o.handleResize)})},50)),this.resizeSlideWrapperObserver.observe(l.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(l){var o=this;l&&!l.current||(this.resizeThumbnailWrapperObserver=new yx(qw(function(c){c&&c.forEach(function(p){o.setState({thumbnailsWrapperHeight:p.contentRect.height},o.handleResize)})},50)),this.resizeThumbnailWrapperObserver.observe(l.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var l=this.props,o=l.onScreenChange,c=l.useBrowserFullscreen,p=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,h=this.imageGallery.current===p;o&&o(h),c&&this.setState({isFullscreen:h})}},{key:"slideToIndex",value:function(l,o){var c=this.state,p=c.currentIndex,h=c.isTransitioning,m=this.props,w=m.items,b=m.slideDuration,T=m.onBeforeSlide;if(!h){o&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var O=w.length-1,R=l;l<0?R=O:l>O&&(R=0),T&&R!==p&&T(R),this.setState({previousIndex:p,currentIndex:R,isTransitioning:R!==p,currentSlideOffset:0,slideStyle:{transition:"all ".concat(b,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(l){var o=this.props.isRTL;this.slideTo(l,o?"right":"left")}},{key:"slideRight",value:function(l){var o=this.props.isRTL;this.slideTo(l,o?"left":"right")}},{key:"slideTo",value:function(l,o){var c=this.state,p=c.currentIndex,h=c.isTransitioning,m=this.props.items,w=p+(o==="left"?-1:1);h||(m.length===2?this.slideToIndexWithStyleReset(w,l):this.slideToIndex(w,l))}},{key:"slideToIndexWithStyleReset",value:function(l,o){var c=this,p=this.state,h=p.currentIndex,m=p.currentSlideOffset;this.setState({currentSlideOffset:m+(h>l?.001:-.001),slideStyle:{transition:"none"}},function(){window.setTimeout(function(){return c.slideToIndex(l,o)},25)})}},{key:"handleThumbnailMouseOver",value:function(l,o){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(l,o)}},{key:"handleThumbnailKeyUp",value:function(l,o){Lx(l)&&this.onThumbnailClick(l,o)}},{key:"handleSlideKeyUp",value:function(l){Lx(l)&&(0,this.props.onClick)(l)}},{key:"isThumbnailVertical",value:function(){var l=this.props.thumbnailPosition;return l==="left"||l==="right"}},{key:"addScreenChangeEvent",value:function(){var l=this;Mx.forEach(function(o){document.addEventListener(o,l.handleScreenChange)})}},{key:"removeScreenChangeEvent",value:function(){var l=this;Mx.forEach(function(o){document.removeEventListener(o,l.handleScreenChange)})}},{key:"fullScreen",value:function(){var l=this.props.useBrowserFullscreen,o=this.imageGallery.current;l?o.requestFullscreen?o.requestFullscreen():o.msRequestFullscreen?o.msRequestFullscreen():o.mozRequestFullScreen?o.mozRequestFullScreen():o.webkitRequestFullscreen?o.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var l=this.state.isFullscreen,o=this.props.useBrowserFullscreen;l&&(o?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var l=this.props.infinite,o=this.state.currentIndex;l||this.canSlideRight()?this.slideToIndex(o+1):this.pause()}},{key:"play",value:function(){var l=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],o=this.props,c=o.onPlay,p=o.slideInterval,h=o.slideDuration,m=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(p,h)),c&&l&&c(m))}},{key:"pause",value:function(){var l=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],o=this.props.onPause,c=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),o&&l&&o(c))}},{key:"isImageLoaded",value:function(l){return!!this.loadedImages[l.original]||(this.loadedImages[l.original]=!0,!1)}},{key:"handleImageLoaded",value:function(l,o){var c=this.props.onImageLoad;!this.loadedImages[o]&&c&&(this.loadedImages[o]=!0,c(l))}},{key:"renderItem",value:function(l){var o=this.state.isFullscreen,c=this.props.onImageError||this.handleImageError;return xe.default.createElement(xN,{description:l.description,fullscreen:l.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:o,onImageError:c,original:l.original,originalAlt:l.originalAlt,originalHeight:l.originalHeight,originalWidth:l.originalWidth,originalTitle:l.originalTitle,sizes:l.sizes,loading:l.loading,srcSet:l.srcSet})}},{key:"renderThumbInner",value:function(l){var o=this.props.onThumbnailError||this.handleImageError;return xe.default.createElement("span",{className:"image-gallery-thumbnail-inner"},xe.default.createElement("img",{className:"image-gallery-thumbnail-image",src:l.thumbnail,height:l.thumbnailHeight,width:l.thumbnailWidth,alt:l.thumbnailAlt,title:l.thumbnailTitle,loading:l.thumbnailLoading,onError:o}),l.thumbnailLabel&&xe.default.createElement("div",{className:"image-gallery-thumbnail-label"},l.thumbnailLabel))}},{key:"render",value:function(){var l=this.state,o=l.currentIndex,c=l.isFullscreen,p=l.modalFullscreen,h=l.isPlaying,m=this.props,w=m.additionalClass,b=m.disableThumbnailSwipe,T=m.indexSeparator,O=m.isRTL,R=m.items,D=m.thumbnailPosition,L=m.renderFullscreenButton,M=m.renderCustomControls,U=m.renderLeftNav,P=m.renderRightNav,N=m.renderTopNav,z=m.renderBottomNav,j=m.showBullets,q=m.showFullscreenButton,$=m.showIndex,se=m.showThumbnails,le=m.showNav,ve=m.showPlayButton,ee=m.slideVertically,J=m.renderPlayPauseButton,re=this.getThumbnailStyle(),oe=this.getSlideItems(),we=oe.slides,Qe=oe.thumbnails,Ge=oe.bullets,be=tc("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(D),{"image-gallery-rtl":O}),$e=tc("image-gallery-bullets",{"image-gallery-bullets-vertical":ee}),ue=xe.default.createElement("div",{ref:this.imageGallerySlideWrapper,className:be},M&&M(),this.canSlide()?xe.default.createElement(xe.default.Fragment,null,le&&xe.default.createElement(xe.default.Fragment,null,ee?N(this.slideLeft,!this.canSlideLeft()):U(this.slideLeft,!this.canSlideLeft()),ee?z(this.slideRight,!this.canSlideRight()):P(this.slideRight,!this.canSlideRight())),xe.default.createElement(kx,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},xe.default.createElement("div",{className:"image-gallery-slides"},we))):xe.default.createElement("div",{className:"image-gallery-slides"},we),ve&&J(this.togglePlay,h),j&&xe.default.createElement("div",{className:$e},xe.default.createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},Ge)),q&&L(this.toggleFullScreen,c),$&&xe.default.createElement("div",{className:"image-gallery-index"},xe.default.createElement("span",{className:"image-gallery-index-current"},o+1),xe.default.createElement("span",{className:"image-gallery-index-separator"},T),xe.default.createElement("span",{className:"image-gallery-index-total"},R.length))),Se=tc("image-gallery",w,{"fullscreen-modal":p}),ye=tc("image-gallery-content",this.getThumbnailPositionClassName(D),{fullscreen:c}),tt=tc("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(D),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&O},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!b},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!b});return xe.default.createElement("div",{ref:this.imageGallery,className:Se,"aria-live":"polite"},xe.default.createElement("div",{className:ye},(D==="bottom"||D==="right")&&ue,se&&Qe.length>0?xe.default.createElement(kx,{className:tt,delta:0,onSwiping:!b&&this.handleThumbnailSwiping,onSwiped:!b&&this.handleOnThumbnailSwiped},xe.default.createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},xe.default.createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:re,"aria-label":"Thumbnail Navigation"},Qe))):null,(D==="top"||D==="left")&&ue))}}])}();ib.propTypes={flickThreshold:ie.number,items:(0,ie.arrayOf)((0,ie.shape)({bulletClass:ie.string,bulletOnClick:ie.func,description:ie.string,original:ie.string,originalHeight:ie.number,originalWidth:ie.number,loading:ie.string,thumbnailHeight:ie.number,thumbnailWidth:ie.number,thumbnailLoading:ie.string,fullscreen:ie.string,originalAlt:ie.string,originalTitle:ie.string,thumbnail:ie.string,thumbnailAlt:ie.string,thumbnailLabel:ie.string,thumbnailTitle:ie.string,originalClass:ie.string,thumbnailClass:ie.string,renderItem:ie.func,renderThumbInner:ie.func,imageSet:UN,srcSet:ie.string,sizes:ie.string})).isRequired,showNav:ie.bool,autoPlay:ie.bool,lazyLoad:ie.bool,infinite:ie.bool,showIndex:ie.bool,showBullets:ie.bool,showThumbnails:ie.bool,showPlayButton:ie.bool,showFullscreenButton:ie.bool,disableThumbnailScroll:ie.bool,disableKeyDown:ie.bool,disableSwipe:ie.bool,disableThumbnailSwipe:ie.bool,useBrowserFullscreen:ie.bool,onErrorImageURL:ie.string,indexSeparator:ie.string,thumbnailPosition:(0,ie.oneOf)(["top","bottom","left","right"]),startIndex:ie.number,slideDuration:ie.number,slideInterval:ie.number,slideOnThumbnailOver:ie.bool,swipeThreshold:ie.number,swipingTransitionDuration:ie.number,swipingThumbnailTransitionDuration:ie.number,onSlide:ie.func,onBeforeSlide:ie.func,onScreenChange:ie.func,onPause:ie.func,onPlay:ie.func,onClick:ie.func,onImageLoad:ie.func,onImageError:ie.func,onTouchMove:ie.func,onTouchEnd:ie.func,onTouchStart:ie.func,onMouseOver:ie.func,onMouseLeave:ie.func,onBulletClick:ie.func,onThumbnailError:ie.func,onThumbnailClick:ie.func,renderCustomControls:ie.func,renderLeftNav:ie.func,renderRightNav:ie.func,renderTopNav:ie.func,renderBottomNav:ie.func,renderPlayPauseButton:ie.func,renderFullscreenButton:ie.func,renderItem:ie.func,renderThumbInner:ie.func,stopPropagation:ie.bool,additionalClass:ie.string,useTranslate3D:ie.bool,isRTL:ie.bool,useWindowKeyDown:ie.bool,slideVertically:ie.bool},ib.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,showFullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,disableThumbnailSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,swipingThumbnailTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onBulletClick:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,slideVertically:!1,renderLeftNav:function(i,l){return xe.default.createElement(_N,{onClick:i,disabled:l})},renderRightNav:function(i,l){return xe.default.createElement(MN,{onClick:i,disabled:l})},renderTopNav:function(i,l){return xe.default.createElement(AN,{onClick:i,disabled:l})},renderBottomNav:function(i,l){return xe.default.createElement(PN,{onClick:i,disabled:l})},renderPlayPauseButton:function(i,l){return xe.default.createElement(LN,{onClick:i,isPlaying:l})},renderFullscreenButton:function(i,l){return xe.default.createElement(DN,{onClick:i,isFullscreen:l})},useWindowKeyDown:!0};const FN=ib;var IN=v1.A;const HN=({images:i,block:l})=>ge.jsx(IN,{items:i,additionalClass:l,showFullscreenButton:!1,showPlayButton:!1}),BN="inputTestId",x1=({value:i,onChange:l,hasError:o,placeholder:c,block:p,disabled:h=!1,type:m="text",id:w="input",name:b="input",isReadOnly:T=!1,isTransparent:O=!1})=>{const R=ar(p,"input",{error:o,transparent:O}),D=L=>{l&&l(L.currentTarget.value)};return ge.jsx("input",{readOnly:T,onChange:D,disabled:h,autoComplete:"off","data-testid":BN,className:R,id:w,name:b,placeholder:c,value:i,type:m})};function VN(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Nv={},Nx;function $N(){if(Nx)return Nv;Nx=1,Object.defineProperty(Nv,"__esModule",{value:!0}),Nv.parse=m,Nv.serialize=T;const i=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,l=/^[\u0021-\u003A\u003C-\u007E]*$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,c=/^[\u0020-\u003A\u003D-\u007E]*$/,p=Object.prototype.toString,h=(()=>{const D=function(){};return D.prototype=Object.create(null),D})();function m(D,L){const M=new h,U=D.length;if(U<2)return M;const P=(L==null?void 0:L.decode)||O;let N=0;do{const z=D.indexOf("=",N);if(z===-1)break;const j=D.indexOf(";",N),q=j===-1?U:j;if(z>q){N=D.lastIndexOf(";",z-1)+1;continue}const $=w(D,N,z),se=b(D,z,$),le=D.slice($,se);if(M[le]===void 0){let ve=w(D,z+1,q),ee=b(D,q,ve);const J=P(D.slice(ve,ee));M[le]=J}N=q+1}while(N<U);return M}function w(D,L,M){do{const U=D.charCodeAt(L);if(U!==32&&U!==9)return L}while(++L<M);return M}function b(D,L,M){for(;L>M;){const U=D.charCodeAt(--L);if(U!==32&&U!==9)return L+1}return M}function T(D,L,M){const U=(M==null?void 0:M.encode)||encodeURIComponent;if(!i.test(D))throw new TypeError(`argument name is invalid: ${D}`);const P=U(L);if(!l.test(P))throw new TypeError(`argument val is invalid: ${L}`);let N=D+"="+P;if(!M)return N;if(M.maxAge!==void 0){if(!Number.isInteger(M.maxAge))throw new TypeError(`option maxAge is invalid: ${M.maxAge}`);N+="; Max-Age="+M.maxAge}if(M.domain){if(!o.test(M.domain))throw new TypeError(`option domain is invalid: ${M.domain}`);N+="; Domain="+M.domain}if(M.path){if(!c.test(M.path))throw new TypeError(`option path is invalid: ${M.path}`);N+="; Path="+M.path}if(M.expires){if(!R(M.expires)||!Number.isFinite(M.expires.valueOf()))throw new TypeError(`option expires is invalid: ${M.expires}`);N+="; Expires="+M.expires.toUTCString()}if(M.httpOnly&&(N+="; HttpOnly"),M.secure&&(N+="; Secure"),M.partitioned&&(N+="; Partitioned"),M.priority)switch(typeof M.priority=="string"?M.priority.toLowerCase():void 0){case"low":N+="; Priority=Low";break;case"medium":N+="; Priority=Medium";break;case"high":N+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${M.priority}`)}if(M.sameSite)switch(typeof M.sameSite=="string"?M.sameSite.toLowerCase():M.sameSite){case!0:case"strict":N+="; SameSite=Strict";break;case"lax":N+="; SameSite=Lax";break;case"none":N+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${M.sameSite}`)}return N}function O(D){if(D.indexOf("%")===-1)return D;try{return decodeURIComponent(D)}catch{return D}}function R(D){return p.call(D)==="[object Date]"}return Nv}$N();/**
2
2
  * react-router v7.5.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
@@ -7,15 +7,15 @@
7
7
  * LICENSE.md file in the root directory of this source tree.
8
8
  *
9
9
  * @license MIT
10
- */function _r(i,l){if(i===!1||i===null||typeof i>"u")throw new Error(l)}function No(i,l){if(!i){typeof console<"u"&&console.warn(l);try{throw new Error(l)}catch{}}}function lb({pathname:i="/",search:l="",hash:o=""}){return l&&l!=="?"&&(i+=l.charAt(0)==="?"?l:"?"+l),o&&o!=="#"&&(i+=o.charAt(0)==="#"?o:"#"+o),i}function mb(i){let l={};if(i){let o=i.indexOf("#");o>=0&&(l.hash=i.substring(o),i=i.substring(0,o));let c=i.indexOf("?");c>=0&&(l.search=i.substring(c),i=i.substring(0,c)),i&&(l.pathname=i)}return l}function R1(i,l,o="/"){return $N(i,l,o,!1)}function $N(i,l,o,c){let p=typeof l=="string"?mb(l):l,h=_u(p.pathname||"/",o);if(h==null)return null;let m=O1(i);WN(m);let w=null;for(let b=0;w==null&&b<m.length;++b){let T=n2(h);w=e2(m[b],T,c)}return w}function O1(i,l=[],o=[],c=""){let p=(h,m,w)=>{let b={relativePath:w===void 0?h.path||"":w,caseSensitive:h.caseSensitive===!0,childrenIndex:m,route:h};b.relativePath.startsWith("/")&&(_r(b.relativePath.startsWith(c),`Absolute route path "${b.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(c.length));let T=Lo([c,b.relativePath]),O=o.concat(b);h.children&&h.children.length>0&&(_r(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${T}".`),O1(h.children,l,O,T)),!(h.path==null&&!h.index)&&l.push({path:T,score:ZN(T,h.index),routesMeta:O})};return i.forEach((h,m)=>{var w;if(h.path===""||!((w=h.path)!=null&&w.includes("?")))p(h,m);else for(let b of k1(h.path))p(h,m,b)}),l}function k1(i){let l=i.split("/");if(l.length===0)return[];let[o,...c]=l,p=o.endsWith("?"),h=o.replace(/\?$/,"");if(c.length===0)return p?[h,""]:[h];let m=k1(c.join("/")),w=[];return w.push(...m.map(b=>b===""?h:[h,b].join("/"))),p&&w.push(...m),w.map(b=>i.startsWith("/")&&b===""?"/":b)}function WN(i){i.sort((l,o)=>l.score!==o.score?o.score-l.score:JN(l.routesMeta.map(c=>c.childrenIndex),o.routesMeta.map(c=>c.childrenIndex)))}var GN=/^:[\w-]+$/,YN=3,qN=2,QN=1,XN=10,KN=-2,zx=i=>i==="*";function ZN(i,l){let o=i.split("/"),c=o.length;return o.some(zx)&&(c+=KN),l&&(c+=qN),o.filter(p=>!zx(p)).reduce((p,h)=>p+(GN.test(h)?YN:h===""?QN:XN),c)}function JN(i,l){return i.length===l.length&&i.slice(0,-1).every((c,p)=>c===l[p])?i[i.length-1]-l[l.length-1]:0}function e2(i,l,o=!1){let{routesMeta:c}=i,p={},h="/",m=[];for(let w=0;w<c.length;++w){let b=c[w],T=w===c.length-1,O=h==="/"?l:l.slice(h.length)||"/",R=ey({path:b.relativePath,caseSensitive:b.caseSensitive,end:T},O),D=b.route;if(!R&&T&&o&&!c[c.length-1].route.index&&(R=ey({path:b.relativePath,caseSensitive:b.caseSensitive,end:!1},O)),!R)return null;Object.assign(p,R.params),m.push({params:p,pathname:Lo([h,R.pathname]),pathnameBase:l2(Lo([h,R.pathnameBase])),route:D}),R.pathnameBase!=="/"&&(h=Lo([h,R.pathnameBase]))}return m}function ey(i,l){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[o,c]=t2(i.path,i.caseSensitive,i.end),p=l.match(o);if(!p)return null;let h=p[0],m=h.replace(/(.)\/+$/,"$1"),w=p.slice(1);return{params:c.reduce((T,{paramName:O,isOptional:R},D)=>{if(O==="*"){let M=w[D]||"";m=h.slice(0,h.length-M.length).replace(/(.)\/+$/,"$1")}const L=w[D];return R&&!L?T[O]=void 0:T[O]=(L||"").replace(/%2F/g,"/"),T},{}),pathname:h,pathnameBase:m,pattern:i}}function t2(i,l=!1,o=!0){No(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let c=[],p="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,w,b)=>(c.push({paramName:w,isOptional:b!=null}),b?"/?([^\\/]+)?":"/([^\\/]+)"));return i.endsWith("*")?(c.push({paramName:"*"}),p+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?p+="\\/*$":i!==""&&i!=="/"&&(p+="(?:(?=\\/|$))"),[new RegExp(p,l?void 0:"i"),c]}function n2(i){try{return i.split("/").map(l=>decodeURIComponent(l).replace(/\//g,"%2F")).join("/")}catch(l){return No(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${l}).`),i}}function _u(i,l){if(l==="/")return i;if(!i.toLowerCase().startsWith(l.toLowerCase()))return null;let o=l.endsWith("/")?l.length-1:l.length,c=i.charAt(o);return c&&c!=="/"?null:i.slice(o)||"/"}function r2(i,l="/"){let{pathname:o,search:c="",hash:p=""}=typeof i=="string"?mb(i):i;return{pathname:o?o.startsWith("/")?o:a2(o,l):l,search:o2(c),hash:u2(p)}}function a2(i,l){let o=l.replace(/\/+$/,"").split("/");return i.split("/").forEach(p=>{p===".."?o.length>1&&o.pop():p!=="."&&o.push(p)}),o.length>1?o.join("/"):"/"}function zw(i,l,o,c){return`Cannot include a '${i}' character in a manually specified \`to.${l}\` field [${JSON.stringify(c)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function i2(i){return i.filter((l,o)=>o===0||l.route.path&&l.route.path.length>0)}function D1(i){let l=i2(i);return l.map((o,c)=>c===l.length-1?o.pathname:o.pathnameBase)}function _1(i,l,o,c=!1){let p;typeof i=="string"?p=mb(i):(p={...i},_r(!p.pathname||!p.pathname.includes("?"),zw("?","pathname","search",p)),_r(!p.pathname||!p.pathname.includes("#"),zw("#","pathname","hash",p)),_r(!p.search||!p.search.includes("#"),zw("#","search","hash",p)));let h=i===""||p.pathname==="",m=h?"/":p.pathname,w;if(m==null)w=o;else{let R=l.length-1;if(!c&&m.startsWith("..")){let D=m.split("/");for(;D[0]==="..";)D.shift(),R-=1;p.pathname=D.join("/")}w=R>=0?l[R]:"/"}let b=r2(p,w),T=m&&m!=="/"&&m.endsWith("/"),O=(h||m===".")&&o.endsWith("/");return!b.pathname.endsWith("/")&&(T||O)&&(b.pathname+="/"),b}var Lo=i=>i.join("/").replace(/\/\/+/g,"/"),l2=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),o2=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,u2=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i;function s2(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}var M1=["POST","PUT","PATCH","DELETE"];new Set(M1);var c2=["GET",...M1];new Set(c2);var md=V.createContext(null);md.displayName="DataRouter";var ay=V.createContext(null);ay.displayName="DataRouterState";var L1=V.createContext({isTransitioning:!1});L1.displayName="ViewTransition";var f2=V.createContext(new Map);f2.displayName="Fetchers";var d2=V.createContext(null);d2.displayName="Await";var zo=V.createContext(null);zo.displayName="Navigation";var gb=V.createContext(null);gb.displayName="Location";var Ao=V.createContext({outlet:null,matches:[],isDataRoute:!1});Ao.displayName="Route";var yb=V.createContext(null);yb.displayName="RouteError";function p2(i,{relative:l}={}){_r(iy(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:c}=V.useContext(zo),{hash:p,pathname:h,search:m}=Bv(i,{relative:l}),w=h;return o!=="/"&&(w=h==="/"?o:Lo([o,h])),c.createHref({pathname:w,search:m,hash:p})}function iy(){return V.useContext(gb)!=null}function sc(){return _r(iy(),"useLocation() may be used only in the context of a <Router> component."),V.useContext(gb).location}var N1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function z1(i){V.useContext(zo).static||V.useLayoutEffect(i)}function v2(){let{isDataRoute:i}=V.useContext(Ao);return i?O2():h2()}function h2(){_r(iy(),"useNavigate() may be used only in the context of a <Router> component.");let i=V.useContext(md),{basename:l,navigator:o}=V.useContext(zo),{matches:c}=V.useContext(Ao),{pathname:p}=sc(),h=JSON.stringify(D1(c)),m=V.useRef(!1);return z1(()=>{m.current=!0}),V.useCallback((b,T={})=>{if(No(m.current,N1),!m.current)return;if(typeof b=="number"){o.go(b);return}let O=_1(b,JSON.parse(h),p,T.relative==="path");i==null&&l!=="/"&&(O.pathname=O.pathname==="/"?l:Lo([l,O.pathname])),(T.replace?o.replace:o.push)(O,T.state,T)},[l,o,h,p,i])}V.createContext(null);function Bv(i,{relative:l}={}){let{matches:o}=V.useContext(Ao),{pathname:c}=sc(),p=JSON.stringify(D1(o));return V.useMemo(()=>_1(i,JSON.parse(p),c,l==="path"),[i,p,c,l])}function m2(i,l,o,c){_r(iy(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:p,static:h}=V.useContext(zo),{matches:m}=V.useContext(Ao),w=m[m.length-1],b=w?w.params:{},T=w?w.pathname:"/",O=w?w.pathnameBase:"/",R=w&&w.route;{let z=R&&R.path||"";A1(T,!R||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${T}" (under <Route path="${z}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
10
+ */function _r(i,l){if(i===!1||i===null||typeof i>"u")throw new Error(l)}function No(i,l){if(!i){typeof console<"u"&&console.warn(l);try{throw new Error(l)}catch{}}}function lb({pathname:i="/",search:l="",hash:o=""}){return l&&l!=="?"&&(i+=l.charAt(0)==="?"?l:"?"+l),o&&o!=="#"&&(i+=o.charAt(0)==="#"?o:"#"+o),i}function mb(i){let l={};if(i){let o=i.indexOf("#");o>=0&&(l.hash=i.substring(o),i=i.substring(0,o));let c=i.indexOf("?");c>=0&&(l.search=i.substring(c),i=i.substring(0,c)),i&&(l.pathname=i)}return l}function R1(i,l,o="/"){return WN(i,l,o,!1)}function WN(i,l,o,c){let p=typeof l=="string"?mb(l):l,h=_u(p.pathname||"/",o);if(h==null)return null;let m=O1(i);GN(m);let w=null;for(let b=0;w==null&&b<m.length;++b){let T=r2(h);w=t2(m[b],T,c)}return w}function O1(i,l=[],o=[],c=""){let p=(h,m,w)=>{let b={relativePath:w===void 0?h.path||"":w,caseSensitive:h.caseSensitive===!0,childrenIndex:m,route:h};b.relativePath.startsWith("/")&&(_r(b.relativePath.startsWith(c),`Absolute route path "${b.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(c.length));let T=Lo([c,b.relativePath]),O=o.concat(b);h.children&&h.children.length>0&&(_r(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${T}".`),O1(h.children,l,O,T)),!(h.path==null&&!h.index)&&l.push({path:T,score:JN(T,h.index),routesMeta:O})};return i.forEach((h,m)=>{var w;if(h.path===""||!((w=h.path)!=null&&w.includes("?")))p(h,m);else for(let b of k1(h.path))p(h,m,b)}),l}function k1(i){let l=i.split("/");if(l.length===0)return[];let[o,...c]=l,p=o.endsWith("?"),h=o.replace(/\?$/,"");if(c.length===0)return p?[h,""]:[h];let m=k1(c.join("/")),w=[];return w.push(...m.map(b=>b===""?h:[h,b].join("/"))),p&&w.push(...m),w.map(b=>i.startsWith("/")&&b===""?"/":b)}function GN(i){i.sort((l,o)=>l.score!==o.score?o.score-l.score:e2(l.routesMeta.map(c=>c.childrenIndex),o.routesMeta.map(c=>c.childrenIndex)))}var YN=/^:[\w-]+$/,qN=3,QN=2,XN=1,KN=10,ZN=-2,zx=i=>i==="*";function JN(i,l){let o=i.split("/"),c=o.length;return o.some(zx)&&(c+=ZN),l&&(c+=QN),o.filter(p=>!zx(p)).reduce((p,h)=>p+(YN.test(h)?qN:h===""?XN:KN),c)}function e2(i,l){return i.length===l.length&&i.slice(0,-1).every((c,p)=>c===l[p])?i[i.length-1]-l[l.length-1]:0}function t2(i,l,o=!1){let{routesMeta:c}=i,p={},h="/",m=[];for(let w=0;w<c.length;++w){let b=c[w],T=w===c.length-1,O=h==="/"?l:l.slice(h.length)||"/",R=ey({path:b.relativePath,caseSensitive:b.caseSensitive,end:T},O),D=b.route;if(!R&&T&&o&&!c[c.length-1].route.index&&(R=ey({path:b.relativePath,caseSensitive:b.caseSensitive,end:!1},O)),!R)return null;Object.assign(p,R.params),m.push({params:p,pathname:Lo([h,R.pathname]),pathnameBase:o2(Lo([h,R.pathnameBase])),route:D}),R.pathnameBase!=="/"&&(h=Lo([h,R.pathnameBase]))}return m}function ey(i,l){typeof i=="string"&&(i={path:i,caseSensitive:!1,end:!0});let[o,c]=n2(i.path,i.caseSensitive,i.end),p=l.match(o);if(!p)return null;let h=p[0],m=h.replace(/(.)\/+$/,"$1"),w=p.slice(1);return{params:c.reduce((T,{paramName:O,isOptional:R},D)=>{if(O==="*"){let M=w[D]||"";m=h.slice(0,h.length-M.length).replace(/(.)\/+$/,"$1")}const L=w[D];return R&&!L?T[O]=void 0:T[O]=(L||"").replace(/%2F/g,"/"),T},{}),pathname:h,pathnameBase:m,pattern:i}}function n2(i,l=!1,o=!0){No(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let c=[],p="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,w,b)=>(c.push({paramName:w,isOptional:b!=null}),b?"/?([^\\/]+)?":"/([^\\/]+)"));return i.endsWith("*")?(c.push({paramName:"*"}),p+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?p+="\\/*$":i!==""&&i!=="/"&&(p+="(?:(?=\\/|$))"),[new RegExp(p,l?void 0:"i"),c]}function r2(i){try{return i.split("/").map(l=>decodeURIComponent(l).replace(/\//g,"%2F")).join("/")}catch(l){return No(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${l}).`),i}}function _u(i,l){if(l==="/")return i;if(!i.toLowerCase().startsWith(l.toLowerCase()))return null;let o=l.endsWith("/")?l.length-1:l.length,c=i.charAt(o);return c&&c!=="/"?null:i.slice(o)||"/"}function a2(i,l="/"){let{pathname:o,search:c="",hash:p=""}=typeof i=="string"?mb(i):i;return{pathname:o?o.startsWith("/")?o:i2(o,l):l,search:u2(c),hash:s2(p)}}function i2(i,l){let o=l.replace(/\/+$/,"").split("/");return i.split("/").forEach(p=>{p===".."?o.length>1&&o.pop():p!=="."&&o.push(p)}),o.length>1?o.join("/"):"/"}function zw(i,l,o,c){return`Cannot include a '${i}' character in a manually specified \`to.${l}\` field [${JSON.stringify(c)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function l2(i){return i.filter((l,o)=>o===0||l.route.path&&l.route.path.length>0)}function D1(i){let l=l2(i);return l.map((o,c)=>c===l.length-1?o.pathname:o.pathnameBase)}function _1(i,l,o,c=!1){let p;typeof i=="string"?p=mb(i):(p={...i},_r(!p.pathname||!p.pathname.includes("?"),zw("?","pathname","search",p)),_r(!p.pathname||!p.pathname.includes("#"),zw("#","pathname","hash",p)),_r(!p.search||!p.search.includes("#"),zw("#","search","hash",p)));let h=i===""||p.pathname==="",m=h?"/":p.pathname,w;if(m==null)w=o;else{let R=l.length-1;if(!c&&m.startsWith("..")){let D=m.split("/");for(;D[0]==="..";)D.shift(),R-=1;p.pathname=D.join("/")}w=R>=0?l[R]:"/"}let b=a2(p,w),T=m&&m!=="/"&&m.endsWith("/"),O=(h||m===".")&&o.endsWith("/");return!b.pathname.endsWith("/")&&(T||O)&&(b.pathname+="/"),b}var Lo=i=>i.join("/").replace(/\/\/+/g,"/"),o2=i=>i.replace(/\/+$/,"").replace(/^\/*/,"/"),u2=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,s2=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i;function c2(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}var M1=["POST","PUT","PATCH","DELETE"];new Set(M1);var f2=["GET",...M1];new Set(f2);var md=V.createContext(null);md.displayName="DataRouter";var ay=V.createContext(null);ay.displayName="DataRouterState";var L1=V.createContext({isTransitioning:!1});L1.displayName="ViewTransition";var d2=V.createContext(new Map);d2.displayName="Fetchers";var p2=V.createContext(null);p2.displayName="Await";var zo=V.createContext(null);zo.displayName="Navigation";var gb=V.createContext(null);gb.displayName="Location";var Ao=V.createContext({outlet:null,matches:[],isDataRoute:!1});Ao.displayName="Route";var yb=V.createContext(null);yb.displayName="RouteError";function v2(i,{relative:l}={}){_r(iy(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:c}=V.useContext(zo),{hash:p,pathname:h,search:m}=Bv(i,{relative:l}),w=h;return o!=="/"&&(w=h==="/"?o:Lo([o,h])),c.createHref({pathname:w,search:m,hash:p})}function iy(){return V.useContext(gb)!=null}function sc(){return _r(iy(),"useLocation() may be used only in the context of a <Router> component."),V.useContext(gb).location}var N1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function z1(i){V.useContext(zo).static||V.useLayoutEffect(i)}function h2(){let{isDataRoute:i}=V.useContext(Ao);return i?k2():m2()}function m2(){_r(iy(),"useNavigate() may be used only in the context of a <Router> component.");let i=V.useContext(md),{basename:l,navigator:o}=V.useContext(zo),{matches:c}=V.useContext(Ao),{pathname:p}=sc(),h=JSON.stringify(D1(c)),m=V.useRef(!1);return z1(()=>{m.current=!0}),V.useCallback((b,T={})=>{if(No(m.current,N1),!m.current)return;if(typeof b=="number"){o.go(b);return}let O=_1(b,JSON.parse(h),p,T.relative==="path");i==null&&l!=="/"&&(O.pathname=O.pathname==="/"?l:Lo([l,O.pathname])),(T.replace?o.replace:o.push)(O,T.state,T)},[l,o,h,p,i])}V.createContext(null);function Bv(i,{relative:l}={}){let{matches:o}=V.useContext(Ao),{pathname:c}=sc(),p=JSON.stringify(D1(o));return V.useMemo(()=>_1(i,JSON.parse(p),c,l==="path"),[i,p,c,l])}function g2(i,l,o,c){_r(iy(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:p,static:h}=V.useContext(zo),{matches:m}=V.useContext(Ao),w=m[m.length-1],b=w?w.params:{},T=w?w.pathname:"/",O=w?w.pathnameBase:"/",R=w&&w.route;{let z=R&&R.path||"";A1(T,!R||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${T}" (under <Route path="${z}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
11
11
 
12
- Please change the parent <Route path="${z}"> to <Route path="${z==="/"?"*":`${z}/*`}">.`)}let D=sc(),L;L=D;let M=L.pathname||"/",U=M;if(O!=="/"){let z=O.replace(/^\//,"").split("/");U="/"+M.replace(/^\//,"").split("/").slice(z.length).join("/")}let P=!h&&o&&o.matches&&o.matches.length>0?o.matches:R1(i,{pathname:U});return No(R||P!=null,`No routes matched location "${L.pathname}${L.search}${L.hash}" `),No(P==null||P[P.length-1].route.element!==void 0||P[P.length-1].route.Component!==void 0||P[P.length-1].route.lazy!==void 0,`Matched leaf route at location "${L.pathname}${L.search}${L.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),b2(P&&P.map(z=>Object.assign({},z,{params:Object.assign({},b,z.params),pathname:Lo([O,p.encodeLocation?p.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?O:Lo([O,p.encodeLocation?p.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),m,o,c)}function g2(){let i=R2(),l=s2(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),o=i instanceof Error?i.stack:null,c="rgba(200,200,200, 0.5)",p={padding:"0.5rem",backgroundColor:c},h={padding:"2px 4px",backgroundColor:c},m=null;return console.error("Error handled by React Router default ErrorBoundary:",i),m=V.createElement(V.Fragment,null,V.createElement("p",null,"💿 Hey developer 👋"),V.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",V.createElement("code",{style:h},"ErrorBoundary")," or"," ",V.createElement("code",{style:h},"errorElement")," prop on your route.")),V.createElement(V.Fragment,null,V.createElement("h2",null,"Unexpected Application Error!"),V.createElement("h3",{style:{fontStyle:"italic"}},l),o?V.createElement("pre",{style:p},o):null,m)}var y2=V.createElement(g2,null),S2=class extends V.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,l){return l.location!==i.location||l.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:l.error,location:l.location,revalidation:i.revalidation||l.revalidation}}componentDidCatch(i,l){console.error("React Router caught the following error during render",i,l)}render(){return this.state.error!==void 0?V.createElement(Ao.Provider,{value:this.props.routeContext},V.createElement(yb.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function w2({routeContext:i,match:l,children:o}){let c=V.useContext(md);return c&&c.static&&c.staticContext&&(l.route.errorElement||l.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=l.route.id),V.createElement(Ao.Provider,{value:i},o)}function b2(i,l=[],o=null,c=null){if(i==null){if(!o)return null;if(o.errors)i=o.matches;else if(l.length===0&&!o.initialized&&o.matches.length>0)i=o.matches;else return null}let p=i,h=o==null?void 0:o.errors;if(h!=null){let b=p.findIndex(T=>T.route.id&&(h==null?void 0:h[T.route.id])!==void 0);_r(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),p=p.slice(0,Math.min(p.length,b+1))}let m=!1,w=-1;if(o)for(let b=0;b<p.length;b++){let T=p[b];if((T.route.HydrateFallback||T.route.hydrateFallbackElement)&&(w=b),T.route.id){let{loaderData:O,errors:R}=o,D=T.route.loader&&!O.hasOwnProperty(T.route.id)&&(!R||R[T.route.id]===void 0);if(T.route.lazy||D){m=!0,w>=0?p=p.slice(0,w+1):p=[p[0]];break}}}return p.reduceRight((b,T,O)=>{let R,D=!1,L=null,M=null;o&&(R=h&&T.route.id?h[T.route.id]:void 0,L=T.route.errorElement||y2,m&&(w<0&&O===0?(A1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),D=!0,M=null):w===O&&(D=!0,M=T.route.hydrateFallbackElement||null)));let U=l.concat(p.slice(0,O+1)),P=()=>{let N;return R?N=L:D?N=M:T.route.Component?N=V.createElement(T.route.Component,null):T.route.element?N=T.route.element:N=b,V.createElement(w2,{match:T,routeContext:{outlet:b,matches:U,isDataRoute:o!=null},children:N})};return o&&(T.route.ErrorBoundary||T.route.errorElement||O===0)?V.createElement(S2,{location:o.location,revalidation:o.revalidation,component:L,error:R,children:P(),routeContext:{outlet:null,matches:U,isDataRoute:!0}}):P()},null)}function Sb(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function E2(i){let l=V.useContext(md);return _r(l,Sb(i)),l}function T2(i){let l=V.useContext(ay);return _r(l,Sb(i)),l}function C2(i){let l=V.useContext(Ao);return _r(l,Sb(i)),l}function wb(i){let l=C2(i),o=l.matches[l.matches.length-1];return _r(o.route.id,`${i} can only be used on routes that contain a unique "id"`),o.route.id}function x2(){return wb("useRouteId")}function R2(){var c;let i=V.useContext(yb),l=T2("useRouteError"),o=wb("useRouteError");return i!==void 0?i:(c=l.errors)==null?void 0:c[o]}function O2(){let{router:i}=E2("useNavigate"),l=wb("useNavigate"),o=V.useRef(!1);return z1(()=>{o.current=!0}),V.useCallback(async(p,h={})=>{No(o.current,N1),o.current&&(typeof p=="number"?i.navigate(p):await i.navigate(p,{fromRouteId:l,...h}))},[i,l])}var Ax={};function A1(i,l,o){!l&&!Ax[i]&&(Ax[i]=!0,No(!1,o))}V.memo(k2);function k2({routes:i,future:l,state:o}){return m2(i,void 0,o,l)}var $g="get",Wg="application/x-www-form-urlencoded";function ly(i){return i!=null&&typeof i.tagName=="string"}function D2(i){return ly(i)&&i.tagName.toLowerCase()==="button"}function _2(i){return ly(i)&&i.tagName.toLowerCase()==="form"}function M2(i){return ly(i)&&i.tagName.toLowerCase()==="input"}function L2(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function N2(i,l){return i.button===0&&(!l||l==="_self")&&!L2(i)}var jg=null;function z2(){if(jg===null)try{new FormData(document.createElement("form"),0),jg=!1}catch{jg=!0}return jg}var A2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Aw(i){return i!=null&&!A2.has(i)?(No(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Wg}"`),null):i}function P2(i,l){let o,c,p,h,m;if(_2(i)){let w=i.getAttribute("action");c=w?_u(w,l):null,o=i.getAttribute("method")||$g,p=Aw(i.getAttribute("enctype"))||Wg,h=new FormData(i)}else if(D2(i)||M2(i)&&(i.type==="submit"||i.type==="image")){let w=i.form;if(w==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let b=i.getAttribute("formaction")||w.getAttribute("action");if(c=b?_u(b,l):null,o=i.getAttribute("formmethod")||w.getAttribute("method")||$g,p=Aw(i.getAttribute("formenctype"))||Aw(w.getAttribute("enctype"))||Wg,h=new FormData(w,i),!z2()){let{name:T,type:O,value:R}=i;if(O==="image"){let D=T?`${T}.`:"";h.append(`${D}x`,"0"),h.append(`${D}y`,"0")}else T&&h.append(T,R)}}else{if(ly(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=$g,c=null,p=Wg,m=i}return h&&p==="text/plain"&&(m=h,h=void 0),{action:c,method:o.toLowerCase(),encType:p,formData:h,body:m}}function bb(i,l){if(i===!1||i===null||typeof i>"u")throw new Error(l)}async function j2(i,l){if(i.id in l)return l[i.id];try{let o=await import(i.module);return l[i.id]=o,o}catch(o){return console.error(`Error loading route module \`${i.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function U2(i){return i==null?!1:i.href==null?i.rel==="preload"&&typeof i.imageSrcSet=="string"&&typeof i.imageSizes=="string":typeof i.rel=="string"&&typeof i.href=="string"}async function F2(i,l,o){let c=await Promise.all(i.map(async p=>{let h=l.routes[p.route.id];if(h){let m=await j2(h,o);return m.links?m.links():[]}return[]}));return V2(c.flat(1).filter(U2).filter(p=>p.rel==="stylesheet"||p.rel==="preload").map(p=>p.rel==="stylesheet"?{...p,rel:"prefetch",as:"style"}:{...p,rel:"prefetch"}))}function Px(i,l,o,c,p,h){let m=(b,T)=>o[T]?b.route.id!==o[T].route.id:!0,w=(b,T)=>{var O;return o[T].pathname!==b.pathname||((O=o[T].route.path)==null?void 0:O.endsWith("*"))&&o[T].params["*"]!==b.params["*"]};return h==="assets"?l.filter((b,T)=>m(b,T)||w(b,T)):h==="data"?l.filter((b,T)=>{var R;let O=c.routes[b.route.id];if(!O||!O.hasLoader)return!1;if(m(b,T)||w(b,T))return!0;if(b.route.shouldRevalidate){let D=b.route.shouldRevalidate({currentUrl:new URL(p.pathname+p.search+p.hash,window.origin),currentParams:((R=o[0])==null?void 0:R.params)||{},nextUrl:new URL(i,window.origin),nextParams:b.params,defaultShouldRevalidate:!0});if(typeof D=="boolean")return D}return!0}):[]}function I2(i,l,{includeHydrateFallback:o}={}){return H2(i.map(c=>{let p=l.routes[c.route.id];if(!p)return[];let h=[p.module];return p.clientActionModule&&(h=h.concat(p.clientActionModule)),p.clientLoaderModule&&(h=h.concat(p.clientLoaderModule)),o&&p.hydrateFallbackModule&&(h=h.concat(p.hydrateFallbackModule)),p.imports&&(h=h.concat(p.imports)),h}).flat(1))}function H2(i){return[...new Set(i)]}function B2(i){let l={},o=Object.keys(i).sort();for(let c of o)l[c]=i[c];return l}function V2(i,l){let o=new Set;return new Set(l),i.reduce((c,p)=>{let h=JSON.stringify(B2(p));return o.has(h)||(o.add(h),c.push({key:h,link:p})),c},[])}function $2(i,l){let o=typeof i=="string"?new URL(i,typeof window>"u"?"server://singlefetch/":window.location.origin):i;return o.pathname==="/"?o.pathname="_root.data":l&&_u(o.pathname,l)==="/"?o.pathname=`${l.replace(/\/$/,"")}/_root.data`:o.pathname=`${o.pathname.replace(/\/$/,"")}.data`,o}function P1(){let i=V.useContext(md);return bb(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function W2(){let i=V.useContext(ay);return bb(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var Eb=V.createContext(void 0);Eb.displayName="FrameworkContext";function j1(){let i=V.useContext(Eb);return bb(i,"You must render this element inside a <HydratedRouter> element"),i}function G2(i,l){let o=V.useContext(Eb),[c,p]=V.useState(!1),[h,m]=V.useState(!1),{onFocus:w,onBlur:b,onMouseEnter:T,onMouseLeave:O,onTouchStart:R}=l,D=V.useRef(null);V.useEffect(()=>{if(i==="render"&&m(!0),i==="viewport"){let U=N=>{N.forEach(z=>{m(z.isIntersecting)})},P=new IntersectionObserver(U,{threshold:.5});return D.current&&P.observe(D.current),()=>{P.disconnect()}}},[i]),V.useEffect(()=>{if(c){let U=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(U)}}},[c]);let L=()=>{p(!0)},M=()=>{p(!1),m(!1)};return o?i!=="intent"?[h,D,{}]:[h,D,{onFocus:zv(w,L),onBlur:zv(b,M),onMouseEnter:zv(T,L),onMouseLeave:zv(O,M),onTouchStart:zv(R,L)}]:[!1,D,{}]}function zv(i,l){return o=>{i&&i(o),o.defaultPrevented||l(o)}}function Y2({page:i,...l}){let{router:o}=P1(),c=V.useMemo(()=>R1(o.routes,i,o.basename),[o.routes,i,o.basename]);return c?V.createElement(Q2,{page:i,matches:c,...l}):null}function q2(i){let{manifest:l,routeModules:o}=j1(),[c,p]=V.useState([]);return V.useEffect(()=>{let h=!1;return F2(i,l,o).then(m=>{h||p(m)}),()=>{h=!0}},[i,l,o]),c}function Q2({page:i,matches:l,...o}){let c=sc(),{manifest:p,routeModules:h}=j1(),{basename:m}=P1(),{loaderData:w,matches:b}=W2(),T=V.useMemo(()=>Px(i,l,b,p,c,"data"),[i,l,b,p,c]),O=V.useMemo(()=>Px(i,l,b,p,c,"assets"),[i,l,b,p,c]),R=V.useMemo(()=>{if(i===c.pathname+c.search+c.hash)return[];let M=new Set,U=!1;if(l.forEach(N=>{var j;let z=p.routes[N.route.id];!z||!z.hasLoader||(!T.some(q=>q.route.id===N.route.id)&&N.route.id in w&&((j=h[N.route.id])!=null&&j.shouldRevalidate)||z.hasClientLoader?U=!0:M.add(N.route.id))}),M.size===0)return[];let P=$2(i,m);return U&&M.size>0&&P.searchParams.set("_routes",l.filter(N=>M.has(N.route.id)).map(N=>N.route.id).join(",")),[P.pathname+P.search]},[m,w,c,p,T,l,i,h]),D=V.useMemo(()=>I2(O,p),[O,p]),L=q2(O);return V.createElement(V.Fragment,null,R.map(M=>V.createElement("link",{key:M,rel:"prefetch",as:"fetch",href:M,...o})),D.map(M=>V.createElement("link",{key:M,rel:"modulepreload",href:M,...o})),L.map(({key:M,link:U})=>V.createElement("link",{key:M,...U})))}function X2(...i){return l=>{i.forEach(o=>{typeof o=="function"?o(l):o!=null&&(o.current=l)})}}var U1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{U1&&(window.__reactRouterVersion="7.5.0")}catch{}var F1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Tb=V.forwardRef(function({onClick:l,discover:o="render",prefetch:c="none",relative:p,reloadDocument:h,replace:m,state:w,target:b,to:T,preventScrollReset:O,viewTransition:R,...D},L){let{basename:M}=V.useContext(zo),U=typeof T=="string"&&F1.test(T),P,N=!1;if(typeof T=="string"&&U&&(P=T,U1))try{let ee=new URL(window.location.href),J=T.startsWith("//")?new URL(ee.protocol+T):new URL(T),re=_u(J.pathname,M);J.origin===ee.origin&&re!=null?T=re+J.search+J.hash:N=!0}catch{No(!1,`<Link to="${T}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let z=p2(T,{relative:p}),[j,q,$]=G2(c,D),se=J2(T,{replace:m,state:w,target:b,preventScrollReset:O,relative:p,viewTransition:R});function le(ee){l&&l(ee),ee.defaultPrevented||se(ee)}let ve=V.createElement("a",{...D,...$,href:P||z,onClick:N||h?l:le,ref:X2(L,q),target:b,"data-discover":!U&&o==="render"?"true":void 0});return j&&!U?V.createElement(V.Fragment,null,ve,V.createElement(Y2,{page:z})):ve});Tb.displayName="Link";var I1=V.forwardRef(function({"aria-current":l="page",caseSensitive:o=!1,className:c="",end:p=!1,style:h,to:m,viewTransition:w,children:b,...T},O){let R=Bv(m,{relative:T.relative}),D=sc(),L=V.useContext(ay),{navigator:M,basename:U}=V.useContext(zo),P=L!=null&&az(R)&&w===!0,N=M.encodeLocation?M.encodeLocation(R).pathname:R.pathname,z=D.pathname,j=L&&L.navigation&&L.navigation.location?L.navigation.location.pathname:null;o||(z=z.toLowerCase(),j=j?j.toLowerCase():null,N=N.toLowerCase()),j&&U&&(j=_u(j,U)||j);const q=N!=="/"&&N.endsWith("/")?N.length-1:N.length;let $=z===N||!p&&z.startsWith(N)&&z.charAt(q)==="/",se=j!=null&&(j===N||!p&&j.startsWith(N)&&j.charAt(N.length)==="/"),le={isActive:$,isPending:se,isTransitioning:P},ve=$?l:void 0,ee;typeof c=="function"?ee=c(le):ee=[c,$?"active":null,se?"pending":null,P?"transitioning":null].filter(Boolean).join(" ");let J=typeof h=="function"?h(le):h;return V.createElement(Tb,{...T,"aria-current":ve,className:ee,ref:O,style:J,to:m,viewTransition:w},typeof b=="function"?b(le):b)});I1.displayName="NavLink";var K2=V.forwardRef(({discover:i="render",fetcherKey:l,navigate:o,reloadDocument:c,replace:p,state:h,method:m=$g,action:w,onSubmit:b,relative:T,preventScrollReset:O,viewTransition:R,...D},L)=>{let M=nz(),U=rz(w,{relative:T}),P=m.toLowerCase()==="get"?"get":"post",N=typeof w=="string"&&F1.test(w),z=j=>{if(b&&b(j),j.defaultPrevented)return;j.preventDefault();let q=j.nativeEvent.submitter,$=(q==null?void 0:q.getAttribute("formmethod"))||m;M(q||j.currentTarget,{fetcherKey:l,method:$,navigate:o,replace:p,state:h,relative:T,preventScrollReset:O,viewTransition:R})};return V.createElement("form",{ref:L,method:P,action:U,onSubmit:c?b:z,...D,"data-discover":!N&&i==="render"?"true":void 0})});K2.displayName="Form";function Z2(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function H1(i){let l=V.useContext(md);return _r(l,Z2(i)),l}function J2(i,{target:l,replace:o,state:c,preventScrollReset:p,relative:h,viewTransition:m}={}){let w=v2(),b=sc(),T=Bv(i,{relative:h});return V.useCallback(O=>{if(N2(O,l)){O.preventDefault();let R=o!==void 0?o:lb(b)===lb(T);w(i,{replace:R,state:c,preventScrollReset:p,relative:h,viewTransition:m})}},[b,w,T,o,c,l,i,p,h,m])}var ez=0,tz=()=>`__${String(++ez)}__`;function nz(){let{router:i}=H1("useSubmit"),{basename:l}=V.useContext(zo),o=x2();return V.useCallback(async(c,p={})=>{let{action:h,method:m,encType:w,formData:b,body:T}=P2(c,l);if(p.navigate===!1){let O=p.fetcherKey||tz();await i.fetch(O,o,p.action||h,{preventScrollReset:p.preventScrollReset,formData:b,body:T,formMethod:p.method||m,formEncType:p.encType||w,flushSync:p.flushSync})}else await i.navigate(p.action||h,{preventScrollReset:p.preventScrollReset,formData:b,body:T,formMethod:p.method||m,formEncType:p.encType||w,replace:p.replace,state:p.state,fromRouteId:o,flushSync:p.flushSync,viewTransition:p.viewTransition})},[i,l,o])}function rz(i,{relative:l}={}){let{basename:o}=V.useContext(zo),c=V.useContext(Ao);_r(c,"useFormAction must be used inside a RouteContext");let[p]=c.matches.slice(-1),h={...Bv(i||".",{relative:l})},m=sc();if(i==null){h.search=m.search;let w=new URLSearchParams(h.search),b=w.getAll("index");if(b.some(O=>O==="")){w.delete("index"),b.filter(R=>R).forEach(R=>w.append("index",R));let O=w.toString();h.search=O?`?${O}`:""}}return(!i||i===".")&&p.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(h.pathname=h.pathname==="/"?o:Lo([o,h.pathname])),lb(h)}function az(i,l={}){let o=V.useContext(L1);_r(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=H1("useViewTransitionState"),p=Bv(i,{relative:l.relative});if(!o.isTransitioning)return!1;let h=_u(o.currentLocation.pathname,c)||o.currentLocation.pathname,m=_u(o.nextLocation.pathname,c)||o.nextLocation.pathname;return ey(p.pathname,m)!=null||ey(p.pathname,h)!=null}new TextEncoder;const jx="routerLinkTestId",B1=({color:i,block:l,href:o,to:c,children:p,withIcon:h=!1})=>{const m=ar(l,"link",`link--${i}`,{"link--icon":h});return c?ge.jsx(Tb,{"data-testid":jx,to:c,className:m,children:p}):o?ge.jsx("a",{href:o,"data-testid":jx,className:m,target:"_blank",rel:"noopener noreferrer",children:p}):null},iz="leftIconLinkTestId",lz="rightIconLinkTestId",oz=({RightIcon:i,LeftIcon:l,children:o,...c})=>ge.jsxs(B1,{withIcon:!0,...c,children:[!!l&&ge.jsx(l,{"data-testid":iz}),o,!!i&&ge.jsx(i,{"data-testid":lz})]}),uz=({block:i,to:l,children:o})=>{const c=p=>ar(i,"nav-link",{_active:p});return ge.jsx(I1,{className:({isActive:p})=>c(p),to:l,children:o})},sz=Object.freeze({LEFT:"left",RIGHT:"right"}),cz="paginationTestId",fz="paginationArrowLeftTestId",dz="paginationArrowRightTestId",pz=({block:i,...l})=>ge.jsx("div",{"data-testid":cz,className:ar(i,"pagination"),children:ge.jsx(Fv.Body,{...l})}),vz=({onClick:i,isSelected:l,page:o,disabled:c=!1})=>ge.jsx("button",{disabled:c,onClick:i,className:ar("","pagination__button",{"_current-page":l}),children:o}),hz=({onClick:i,direction:l,disabled:o=!1})=>{const c=()=>l===sz.LEFT?ge.jsx(Dl.ArrowNarrowLeft,{"data-testid":fz,className:"pagination__arrow"}):ge.jsx(Dl.ArrowNarrowRight,{"data-testid":dz,className:"pagination__arrow"});return ge.jsx("button",{type:"button",onClick:i,disabled:o,className:"pagination__button",children:c()})},mz=({pages:i,currentPage:l,onPageClick:o,onPrevClick:c,onNextClick:p,isLoading:h=!1})=>{const m=l===1||h,w=l===i.at(-1)||h,b=()=>i.map(T=>{const O=T===l,R=()=>{o(T)};return ge.jsx(Fv.Page,{isSelected:O,onClick:R,disabled:h,page:T},T)});return ge.jsxs("div",{className:"pagination__body",children:[ge.jsx(Fv.Arrow,{disabled:m,onClick:c,direction:"left"}),b(),ge.jsx(Fv.Arrow,{disabled:w,onClick:p,direction:"right"})]})},Fv=Object.assign(pz,{Page:vz,Arrow:hz,Body:mz});function Mu(i){"@babel/helpers - typeof";return Mu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Mu(i)}function gz(i,l){if(Mu(i)!="object"||!i)return i;var o=i[Symbol.toPrimitive];if(o!==void 0){var c=o.call(i,l);if(Mu(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}function yz(i){var l=gz(i,"string");return Mu(l)=="symbol"?l:l+""}function hi(i,l,o){return(l=yz(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}function Ux(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function Kr(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Ux(Object(o),!0).forEach(function(c){hi(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Ux(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function ob(i,l){(l==null||l>i.length)&&(l=i.length);for(var o=0,c=Array(l);o<l;o++)c[o]=i[o];return c}function Sz(i){if(Array.isArray(i))return ob(i)}function wz(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function V1(i,l){if(i){if(typeof i=="string")return ob(i,l);var o={}.toString.call(i).slice(8,-1);return o==="Object"&&i.constructor&&(o=i.constructor.name),o==="Map"||o==="Set"?Array.from(i):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ob(i,l):void 0}}function bz(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
13
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _o(i){return Sz(i)||wz(i)||V1(i)||bz()}function Ez(i){if(Array.isArray(i))return i}function Tz(i,l){var o=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(o!=null){var c,p,h,m,w=[],b=!0,T=!1;try{if(h=(o=o.call(i)).next,l===0){if(Object(o)!==o)return;b=!1}else for(;!(b=(c=h.call(o)).done)&&(w.push(c.value),w.length!==l);b=!0);}catch(O){T=!0,p=O}finally{try{if(!b&&o.return!=null&&(m=o.return(),Object(m)!==m))return}finally{if(T)throw p}}return w}}function Cz(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dr(i,l){return Ez(i)||Tz(i,l)||V1(i,l)||Cz()}var Pw={exports:{}};/*!
12
+ Please change the parent <Route path="${z}"> to <Route path="${z==="/"?"*":`${z}/*`}">.`)}let D=sc(),L;L=D;let M=L.pathname||"/",U=M;if(O!=="/"){let z=O.replace(/^\//,"").split("/");U="/"+M.replace(/^\//,"").split("/").slice(z.length).join("/")}let P=!h&&o&&o.matches&&o.matches.length>0?o.matches:R1(i,{pathname:U});return No(R||P!=null,`No routes matched location "${L.pathname}${L.search}${L.hash}" `),No(P==null||P[P.length-1].route.element!==void 0||P[P.length-1].route.Component!==void 0||P[P.length-1].route.lazy!==void 0,`Matched leaf route at location "${L.pathname}${L.search}${L.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),E2(P&&P.map(z=>Object.assign({},z,{params:Object.assign({},b,z.params),pathname:Lo([O,p.encodeLocation?p.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?O:Lo([O,p.encodeLocation?p.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),m,o,c)}function y2(){let i=O2(),l=c2(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),o=i instanceof Error?i.stack:null,c="rgba(200,200,200, 0.5)",p={padding:"0.5rem",backgroundColor:c},h={padding:"2px 4px",backgroundColor:c},m=null;return console.error("Error handled by React Router default ErrorBoundary:",i),m=V.createElement(V.Fragment,null,V.createElement("p",null,"💿 Hey developer 👋"),V.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",V.createElement("code",{style:h},"ErrorBoundary")," or"," ",V.createElement("code",{style:h},"errorElement")," prop on your route.")),V.createElement(V.Fragment,null,V.createElement("h2",null,"Unexpected Application Error!"),V.createElement("h3",{style:{fontStyle:"italic"}},l),o?V.createElement("pre",{style:p},o):null,m)}var S2=V.createElement(y2,null),w2=class extends V.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,l){return l.location!==i.location||l.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:l.error,location:l.location,revalidation:i.revalidation||l.revalidation}}componentDidCatch(i,l){console.error("React Router caught the following error during render",i,l)}render(){return this.state.error!==void 0?V.createElement(Ao.Provider,{value:this.props.routeContext},V.createElement(yb.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function b2({routeContext:i,match:l,children:o}){let c=V.useContext(md);return c&&c.static&&c.staticContext&&(l.route.errorElement||l.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=l.route.id),V.createElement(Ao.Provider,{value:i},o)}function E2(i,l=[],o=null,c=null){if(i==null){if(!o)return null;if(o.errors)i=o.matches;else if(l.length===0&&!o.initialized&&o.matches.length>0)i=o.matches;else return null}let p=i,h=o==null?void 0:o.errors;if(h!=null){let b=p.findIndex(T=>T.route.id&&(h==null?void 0:h[T.route.id])!==void 0);_r(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),p=p.slice(0,Math.min(p.length,b+1))}let m=!1,w=-1;if(o)for(let b=0;b<p.length;b++){let T=p[b];if((T.route.HydrateFallback||T.route.hydrateFallbackElement)&&(w=b),T.route.id){let{loaderData:O,errors:R}=o,D=T.route.loader&&!O.hasOwnProperty(T.route.id)&&(!R||R[T.route.id]===void 0);if(T.route.lazy||D){m=!0,w>=0?p=p.slice(0,w+1):p=[p[0]];break}}}return p.reduceRight((b,T,O)=>{let R,D=!1,L=null,M=null;o&&(R=h&&T.route.id?h[T.route.id]:void 0,L=T.route.errorElement||S2,m&&(w<0&&O===0?(A1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),D=!0,M=null):w===O&&(D=!0,M=T.route.hydrateFallbackElement||null)));let U=l.concat(p.slice(0,O+1)),P=()=>{let N;return R?N=L:D?N=M:T.route.Component?N=V.createElement(T.route.Component,null):T.route.element?N=T.route.element:N=b,V.createElement(b2,{match:T,routeContext:{outlet:b,matches:U,isDataRoute:o!=null},children:N})};return o&&(T.route.ErrorBoundary||T.route.errorElement||O===0)?V.createElement(w2,{location:o.location,revalidation:o.revalidation,component:L,error:R,children:P(),routeContext:{outlet:null,matches:U,isDataRoute:!0}}):P()},null)}function Sb(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function T2(i){let l=V.useContext(md);return _r(l,Sb(i)),l}function C2(i){let l=V.useContext(ay);return _r(l,Sb(i)),l}function x2(i){let l=V.useContext(Ao);return _r(l,Sb(i)),l}function wb(i){let l=x2(i),o=l.matches[l.matches.length-1];return _r(o.route.id,`${i} can only be used on routes that contain a unique "id"`),o.route.id}function R2(){return wb("useRouteId")}function O2(){var c;let i=V.useContext(yb),l=C2("useRouteError"),o=wb("useRouteError");return i!==void 0?i:(c=l.errors)==null?void 0:c[o]}function k2(){let{router:i}=T2("useNavigate"),l=wb("useNavigate"),o=V.useRef(!1);return z1(()=>{o.current=!0}),V.useCallback(async(p,h={})=>{No(o.current,N1),o.current&&(typeof p=="number"?i.navigate(p):await i.navigate(p,{fromRouteId:l,...h}))},[i,l])}var Ax={};function A1(i,l,o){!l&&!Ax[i]&&(Ax[i]=!0,No(!1,o))}V.memo(D2);function D2({routes:i,future:l,state:o}){return g2(i,void 0,o,l)}var $g="get",Wg="application/x-www-form-urlencoded";function ly(i){return i!=null&&typeof i.tagName=="string"}function _2(i){return ly(i)&&i.tagName.toLowerCase()==="button"}function M2(i){return ly(i)&&i.tagName.toLowerCase()==="form"}function L2(i){return ly(i)&&i.tagName.toLowerCase()==="input"}function N2(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function z2(i,l){return i.button===0&&(!l||l==="_self")&&!N2(i)}var jg=null;function A2(){if(jg===null)try{new FormData(document.createElement("form"),0),jg=!1}catch{jg=!0}return jg}var P2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Aw(i){return i!=null&&!P2.has(i)?(No(!1,`"${i}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Wg}"`),null):i}function j2(i,l){let o,c,p,h,m;if(M2(i)){let w=i.getAttribute("action");c=w?_u(w,l):null,o=i.getAttribute("method")||$g,p=Aw(i.getAttribute("enctype"))||Wg,h=new FormData(i)}else if(_2(i)||L2(i)&&(i.type==="submit"||i.type==="image")){let w=i.form;if(w==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let b=i.getAttribute("formaction")||w.getAttribute("action");if(c=b?_u(b,l):null,o=i.getAttribute("formmethod")||w.getAttribute("method")||$g,p=Aw(i.getAttribute("formenctype"))||Aw(w.getAttribute("enctype"))||Wg,h=new FormData(w,i),!A2()){let{name:T,type:O,value:R}=i;if(O==="image"){let D=T?`${T}.`:"";h.append(`${D}x`,"0"),h.append(`${D}y`,"0")}else T&&h.append(T,R)}}else{if(ly(i))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=$g,c=null,p=Wg,m=i}return h&&p==="text/plain"&&(m=h,h=void 0),{action:c,method:o.toLowerCase(),encType:p,formData:h,body:m}}function bb(i,l){if(i===!1||i===null||typeof i>"u")throw new Error(l)}async function U2(i,l){if(i.id in l)return l[i.id];try{let o=await import(i.module);return l[i.id]=o,o}catch(o){return console.error(`Error loading route module \`${i.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function F2(i){return i==null?!1:i.href==null?i.rel==="preload"&&typeof i.imageSrcSet=="string"&&typeof i.imageSizes=="string":typeof i.rel=="string"&&typeof i.href=="string"}async function I2(i,l,o){let c=await Promise.all(i.map(async p=>{let h=l.routes[p.route.id];if(h){let m=await U2(h,o);return m.links?m.links():[]}return[]}));return $2(c.flat(1).filter(F2).filter(p=>p.rel==="stylesheet"||p.rel==="preload").map(p=>p.rel==="stylesheet"?{...p,rel:"prefetch",as:"style"}:{...p,rel:"prefetch"}))}function Px(i,l,o,c,p,h){let m=(b,T)=>o[T]?b.route.id!==o[T].route.id:!0,w=(b,T)=>{var O;return o[T].pathname!==b.pathname||((O=o[T].route.path)==null?void 0:O.endsWith("*"))&&o[T].params["*"]!==b.params["*"]};return h==="assets"?l.filter((b,T)=>m(b,T)||w(b,T)):h==="data"?l.filter((b,T)=>{var R;let O=c.routes[b.route.id];if(!O||!O.hasLoader)return!1;if(m(b,T)||w(b,T))return!0;if(b.route.shouldRevalidate){let D=b.route.shouldRevalidate({currentUrl:new URL(p.pathname+p.search+p.hash,window.origin),currentParams:((R=o[0])==null?void 0:R.params)||{},nextUrl:new URL(i,window.origin),nextParams:b.params,defaultShouldRevalidate:!0});if(typeof D=="boolean")return D}return!0}):[]}function H2(i,l,{includeHydrateFallback:o}={}){return B2(i.map(c=>{let p=l.routes[c.route.id];if(!p)return[];let h=[p.module];return p.clientActionModule&&(h=h.concat(p.clientActionModule)),p.clientLoaderModule&&(h=h.concat(p.clientLoaderModule)),o&&p.hydrateFallbackModule&&(h=h.concat(p.hydrateFallbackModule)),p.imports&&(h=h.concat(p.imports)),h}).flat(1))}function B2(i){return[...new Set(i)]}function V2(i){let l={},o=Object.keys(i).sort();for(let c of o)l[c]=i[c];return l}function $2(i,l){let o=new Set;return new Set(l),i.reduce((c,p)=>{let h=JSON.stringify(V2(p));return o.has(h)||(o.add(h),c.push({key:h,link:p})),c},[])}function W2(i,l){let o=typeof i=="string"?new URL(i,typeof window>"u"?"server://singlefetch/":window.location.origin):i;return o.pathname==="/"?o.pathname="_root.data":l&&_u(o.pathname,l)==="/"?o.pathname=`${l.replace(/\/$/,"")}/_root.data`:o.pathname=`${o.pathname.replace(/\/$/,"")}.data`,o}function P1(){let i=V.useContext(md);return bb(i,"You must render this element inside a <DataRouterContext.Provider> element"),i}function G2(){let i=V.useContext(ay);return bb(i,"You must render this element inside a <DataRouterStateContext.Provider> element"),i}var Eb=V.createContext(void 0);Eb.displayName="FrameworkContext";function j1(){let i=V.useContext(Eb);return bb(i,"You must render this element inside a <HydratedRouter> element"),i}function Y2(i,l){let o=V.useContext(Eb),[c,p]=V.useState(!1),[h,m]=V.useState(!1),{onFocus:w,onBlur:b,onMouseEnter:T,onMouseLeave:O,onTouchStart:R}=l,D=V.useRef(null);V.useEffect(()=>{if(i==="render"&&m(!0),i==="viewport"){let U=N=>{N.forEach(z=>{m(z.isIntersecting)})},P=new IntersectionObserver(U,{threshold:.5});return D.current&&P.observe(D.current),()=>{P.disconnect()}}},[i]),V.useEffect(()=>{if(c){let U=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(U)}}},[c]);let L=()=>{p(!0)},M=()=>{p(!1),m(!1)};return o?i!=="intent"?[h,D,{}]:[h,D,{onFocus:zv(w,L),onBlur:zv(b,M),onMouseEnter:zv(T,L),onMouseLeave:zv(O,M),onTouchStart:zv(R,L)}]:[!1,D,{}]}function zv(i,l){return o=>{i&&i(o),o.defaultPrevented||l(o)}}function q2({page:i,...l}){let{router:o}=P1(),c=V.useMemo(()=>R1(o.routes,i,o.basename),[o.routes,i,o.basename]);return c?V.createElement(X2,{page:i,matches:c,...l}):null}function Q2(i){let{manifest:l,routeModules:o}=j1(),[c,p]=V.useState([]);return V.useEffect(()=>{let h=!1;return I2(i,l,o).then(m=>{h||p(m)}),()=>{h=!0}},[i,l,o]),c}function X2({page:i,matches:l,...o}){let c=sc(),{manifest:p,routeModules:h}=j1(),{basename:m}=P1(),{loaderData:w,matches:b}=G2(),T=V.useMemo(()=>Px(i,l,b,p,c,"data"),[i,l,b,p,c]),O=V.useMemo(()=>Px(i,l,b,p,c,"assets"),[i,l,b,p,c]),R=V.useMemo(()=>{if(i===c.pathname+c.search+c.hash)return[];let M=new Set,U=!1;if(l.forEach(N=>{var j;let z=p.routes[N.route.id];!z||!z.hasLoader||(!T.some(q=>q.route.id===N.route.id)&&N.route.id in w&&((j=h[N.route.id])!=null&&j.shouldRevalidate)||z.hasClientLoader?U=!0:M.add(N.route.id))}),M.size===0)return[];let P=W2(i,m);return U&&M.size>0&&P.searchParams.set("_routes",l.filter(N=>M.has(N.route.id)).map(N=>N.route.id).join(",")),[P.pathname+P.search]},[m,w,c,p,T,l,i,h]),D=V.useMemo(()=>H2(O,p),[O,p]),L=Q2(O);return V.createElement(V.Fragment,null,R.map(M=>V.createElement("link",{key:M,rel:"prefetch",as:"fetch",href:M,...o})),D.map(M=>V.createElement("link",{key:M,rel:"modulepreload",href:M,...o})),L.map(({key:M,link:U})=>V.createElement("link",{key:M,...U})))}function K2(...i){return l=>{i.forEach(o=>{typeof o=="function"?o(l):o!=null&&(o.current=l)})}}var U1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{U1&&(window.__reactRouterVersion="7.5.0")}catch{}var F1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Tb=V.forwardRef(function({onClick:l,discover:o="render",prefetch:c="none",relative:p,reloadDocument:h,replace:m,state:w,target:b,to:T,preventScrollReset:O,viewTransition:R,...D},L){let{basename:M}=V.useContext(zo),U=typeof T=="string"&&F1.test(T),P,N=!1;if(typeof T=="string"&&U&&(P=T,U1))try{let ee=new URL(window.location.href),J=T.startsWith("//")?new URL(ee.protocol+T):new URL(T),re=_u(J.pathname,M);J.origin===ee.origin&&re!=null?T=re+J.search+J.hash:N=!0}catch{No(!1,`<Link to="${T}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let z=v2(T,{relative:p}),[j,q,$]=Y2(c,D),se=ez(T,{replace:m,state:w,target:b,preventScrollReset:O,relative:p,viewTransition:R});function le(ee){l&&l(ee),ee.defaultPrevented||se(ee)}let ve=V.createElement("a",{...D,...$,href:P||z,onClick:N||h?l:le,ref:K2(L,q),target:b,"data-discover":!U&&o==="render"?"true":void 0});return j&&!U?V.createElement(V.Fragment,null,ve,V.createElement(q2,{page:z})):ve});Tb.displayName="Link";var I1=V.forwardRef(function({"aria-current":l="page",caseSensitive:o=!1,className:c="",end:p=!1,style:h,to:m,viewTransition:w,children:b,...T},O){let R=Bv(m,{relative:T.relative}),D=sc(),L=V.useContext(ay),{navigator:M,basename:U}=V.useContext(zo),P=L!=null&&iz(R)&&w===!0,N=M.encodeLocation?M.encodeLocation(R).pathname:R.pathname,z=D.pathname,j=L&&L.navigation&&L.navigation.location?L.navigation.location.pathname:null;o||(z=z.toLowerCase(),j=j?j.toLowerCase():null,N=N.toLowerCase()),j&&U&&(j=_u(j,U)||j);const q=N!=="/"&&N.endsWith("/")?N.length-1:N.length;let $=z===N||!p&&z.startsWith(N)&&z.charAt(q)==="/",se=j!=null&&(j===N||!p&&j.startsWith(N)&&j.charAt(N.length)==="/"),le={isActive:$,isPending:se,isTransitioning:P},ve=$?l:void 0,ee;typeof c=="function"?ee=c(le):ee=[c,$?"active":null,se?"pending":null,P?"transitioning":null].filter(Boolean).join(" ");let J=typeof h=="function"?h(le):h;return V.createElement(Tb,{...T,"aria-current":ve,className:ee,ref:O,style:J,to:m,viewTransition:w},typeof b=="function"?b(le):b)});I1.displayName="NavLink";var Z2=V.forwardRef(({discover:i="render",fetcherKey:l,navigate:o,reloadDocument:c,replace:p,state:h,method:m=$g,action:w,onSubmit:b,relative:T,preventScrollReset:O,viewTransition:R,...D},L)=>{let M=rz(),U=az(w,{relative:T}),P=m.toLowerCase()==="get"?"get":"post",N=typeof w=="string"&&F1.test(w),z=j=>{if(b&&b(j),j.defaultPrevented)return;j.preventDefault();let q=j.nativeEvent.submitter,$=(q==null?void 0:q.getAttribute("formmethod"))||m;M(q||j.currentTarget,{fetcherKey:l,method:$,navigate:o,replace:p,state:h,relative:T,preventScrollReset:O,viewTransition:R})};return V.createElement("form",{ref:L,method:P,action:U,onSubmit:c?b:z,...D,"data-discover":!N&&i==="render"?"true":void 0})});Z2.displayName="Form";function J2(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function H1(i){let l=V.useContext(md);return _r(l,J2(i)),l}function ez(i,{target:l,replace:o,state:c,preventScrollReset:p,relative:h,viewTransition:m}={}){let w=h2(),b=sc(),T=Bv(i,{relative:h});return V.useCallback(O=>{if(z2(O,l)){O.preventDefault();let R=o!==void 0?o:lb(b)===lb(T);w(i,{replace:R,state:c,preventScrollReset:p,relative:h,viewTransition:m})}},[b,w,T,o,c,l,i,p,h,m])}var tz=0,nz=()=>`__${String(++tz)}__`;function rz(){let{router:i}=H1("useSubmit"),{basename:l}=V.useContext(zo),o=R2();return V.useCallback(async(c,p={})=>{let{action:h,method:m,encType:w,formData:b,body:T}=j2(c,l);if(p.navigate===!1){let O=p.fetcherKey||nz();await i.fetch(O,o,p.action||h,{preventScrollReset:p.preventScrollReset,formData:b,body:T,formMethod:p.method||m,formEncType:p.encType||w,flushSync:p.flushSync})}else await i.navigate(p.action||h,{preventScrollReset:p.preventScrollReset,formData:b,body:T,formMethod:p.method||m,formEncType:p.encType||w,replace:p.replace,state:p.state,fromRouteId:o,flushSync:p.flushSync,viewTransition:p.viewTransition})},[i,l,o])}function az(i,{relative:l}={}){let{basename:o}=V.useContext(zo),c=V.useContext(Ao);_r(c,"useFormAction must be used inside a RouteContext");let[p]=c.matches.slice(-1),h={...Bv(i||".",{relative:l})},m=sc();if(i==null){h.search=m.search;let w=new URLSearchParams(h.search),b=w.getAll("index");if(b.some(O=>O==="")){w.delete("index"),b.filter(R=>R).forEach(R=>w.append("index",R));let O=w.toString();h.search=O?`?${O}`:""}}return(!i||i===".")&&p.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(h.pathname=h.pathname==="/"?o:Lo([o,h.pathname])),lb(h)}function iz(i,l={}){let o=V.useContext(L1);_r(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=H1("useViewTransitionState"),p=Bv(i,{relative:l.relative});if(!o.isTransitioning)return!1;let h=_u(o.currentLocation.pathname,c)||o.currentLocation.pathname,m=_u(o.nextLocation.pathname,c)||o.nextLocation.pathname;return ey(p.pathname,m)!=null||ey(p.pathname,h)!=null}new TextEncoder;const jx="routerLinkTestId",B1=({color:i,block:l,href:o,to:c,children:p,withIcon:h=!1})=>{const m=ar(l,"link",`link--${i}`,{"link--icon":h});return c?ge.jsx(Tb,{"data-testid":jx,to:c,className:m,children:p}):o?ge.jsx("a",{href:o,"data-testid":jx,className:m,target:"_blank",rel:"noopener noreferrer",children:p}):null},lz="leftIconLinkTestId",oz="rightIconLinkTestId",uz=({RightIcon:i,LeftIcon:l,children:o,...c})=>ge.jsxs(B1,{withIcon:!0,...c,children:[!!l&&ge.jsx(l,{"data-testid":lz}),o,!!i&&ge.jsx(i,{"data-testid":oz})]}),sz=({block:i,to:l,children:o})=>{const c=p=>ar(i,"nav-link",{_active:p});return ge.jsx(I1,{className:({isActive:p})=>c(p),to:l,children:o})},cz=Object.freeze({LEFT:"left",RIGHT:"right"}),fz="paginationTestId",dz="paginationArrowLeftTestId",pz="paginationArrowRightTestId",vz=({block:i,...l})=>ge.jsx("div",{"data-testid":fz,className:ar(i,"pagination"),children:ge.jsx(Fv.Body,{...l})}),hz=({onClick:i,isSelected:l,page:o,disabled:c=!1})=>ge.jsx("button",{disabled:c,onClick:i,className:ar("","pagination__button",{"_current-page":l}),children:o}),mz=({onClick:i,direction:l,disabled:o=!1})=>{const c=()=>l===cz.LEFT?ge.jsx(Dl.ArrowNarrowLeft,{"data-testid":dz,className:"pagination__arrow"}):ge.jsx(Dl.ArrowNarrowRight,{"data-testid":pz,className:"pagination__arrow"});return ge.jsx("button",{type:"button",onClick:i,disabled:o,className:"pagination__button",children:c()})},gz=({pages:i,currentPage:l,onPageClick:o,onPrevClick:c,onNextClick:p,isLoading:h=!1})=>{const m=l===1||h,w=l===i.at(-1)||h,b=()=>i.map(T=>{const O=T===l,R=()=>{o(T)};return ge.jsx(Fv.Page,{isSelected:O,onClick:R,disabled:h,page:T},T)});return ge.jsxs("div",{className:"pagination__body",children:[ge.jsx(Fv.Arrow,{disabled:m,onClick:c,direction:"left"}),b(),ge.jsx(Fv.Arrow,{disabled:w,onClick:p,direction:"right"})]})},Fv=Object.assign(vz,{Page:hz,Arrow:mz,Body:gz});function Mu(i){"@babel/helpers - typeof";return Mu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},Mu(i)}function yz(i,l){if(Mu(i)!="object"||!i)return i;var o=i[Symbol.toPrimitive];if(o!==void 0){var c=o.call(i,l);if(Mu(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(i)}function Sz(i){var l=yz(i,"string");return Mu(l)=="symbol"?l:l+""}function hi(i,l,o){return(l=Sz(l))in i?Object.defineProperty(i,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[l]=o,i}function Ux(i,l){var o=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);l&&(c=c.filter(function(p){return Object.getOwnPropertyDescriptor(i,p).enumerable})),o.push.apply(o,c)}return o}function Kr(i){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?Ux(Object(o),!0).forEach(function(c){hi(i,c,o[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):Ux(Object(o)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(o,c))})}return i}function ob(i,l){(l==null||l>i.length)&&(l=i.length);for(var o=0,c=Array(l);o<l;o++)c[o]=i[o];return c}function wz(i){if(Array.isArray(i))return ob(i)}function bz(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function V1(i,l){if(i){if(typeof i=="string")return ob(i,l);var o={}.toString.call(i).slice(8,-1);return o==="Object"&&i.constructor&&(o=i.constructor.name),o==="Map"||o==="Set"?Array.from(i):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ob(i,l):void 0}}function Ez(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _o(i){return wz(i)||bz(i)||V1(i)||Ez()}function Tz(i){if(Array.isArray(i))return i}function Cz(i,l){var o=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(o!=null){var c,p,h,m,w=[],b=!0,T=!1;try{if(h=(o=o.call(i)).next,l===0){if(Object(o)!==o)return;b=!1}else for(;!(b=(c=h.call(o)).done)&&(w.push(c.value),w.length!==l);b=!0);}catch(O){T=!0,p=O}finally{try{if(!b&&o.return!=null&&(m=o.return(),Object(m)!==m))return}finally{if(T)throw p}}return w}}function xz(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dr(i,l){return Tz(i)||Cz(i,l)||V1(i,l)||xz()}var Pw={exports:{}};/*!
15
15
  Copyright (c) 2018 Jed Watson.
16
16
  Licensed under the MIT License (MIT), see
17
17
  http://jedwatson.github.io/classnames
18
- */var Fx;function xz(){return Fx||(Fx=1,function(i){(function(){var l={}.hasOwnProperty;function o(){for(var h="",m=0;m<arguments.length;m++){var w=arguments[m];w&&(h=p(h,c(w)))}return h}function c(h){if(typeof h=="string"||typeof h=="number")return h;if(typeof h!="object")return"";if(Array.isArray(h))return o.apply(null,h);if(h.toString!==Object.prototype.toString&&!h.toString.toString().includes("[native code]"))return h.toString();var m="";for(var w in h)l.call(h,w)&&h[w]&&(m=p(m,w));return m}function p(h,m){return m?h?h+" "+m:h+m:h}i.exports?(o.default=o,i.exports=o):window.classNames=o})()}(Pw)),Pw.exports}var Rz=xz();const lc=BN(Rz);function dd(i){var l=V.useRef();l.current=i;var o=V.useCallback(function(){for(var c,p=arguments.length,h=new Array(p),m=0;m<p;m++)h[m]=arguments[m];return(c=l.current)===null||c===void 0?void 0:c.call.apply(c,[l].concat(h))},[]);return o}function Oz(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ix=process.env.NODE_ENV!=="test"&&Oz()?V.useLayoutEffect:V.useEffect,$1=function(l,o){var c=V.useRef(!0);Ix(function(){return l(c.current)},o),Ix(function(){return c.current=!1,function(){c.current=!0}},[])},Hx=function(l,o){$1(function(c){if(!c)return l()},o)};function Bx(i){var l=V.useRef(!1),o=V.useState(i),c=Dr(o,2),p=c[0],h=c[1];V.useEffect(function(){return l.current=!1,function(){l.current=!0}},[]);function m(w,b){b&&l.current||h(w)}return[p,m]}function jw(i){return i!==void 0}function kz(i,l){var o=l||{},c=o.defaultValue,p=o.value,h=o.onChange,m=o.postState,w=Bx(function(){return jw(p)?p:jw(c)?typeof c=="function"?c():c:typeof i=="function"?i():i}),b=Dr(w,2),T=b[0],O=b[1],R=p!==void 0?p:T,D=m?m(R):R,L=dd(h),M=Bx([R]),U=Dr(M,2),P=U[0],N=U[1];Hx(function(){var j=P[0];T!==j&&L(T,j)},[P]),Hx(function(){jw(p)||O(p)},[p]);var z=dd(function(j,q){O(j,q),N([R],q)});return[D,z]}var ub={},Cb=[],Dz=function(l){Cb.push(l)};function W1(i,l){if(process.env.NODE_ENV!=="production"&&!i&&console!==void 0){var o=Cb.reduce(function(c,p){return p(c??"","warning")},l);o&&console.error("Warning: ".concat(o))}}function _z(i,l){if(process.env.NODE_ENV!=="production"&&!i&&console!==void 0){var o=Cb.reduce(function(c,p){return p(c??"","note")},l);o&&console.warn("Note: ".concat(o))}}function Mz(){ub={}}function G1(i,l,o){!l&&!ub[o]&&(i(!1,o),ub[o]=!0)}function ac(i,l){G1(W1,i,l)}function Lz(i,l){G1(_z,i,l)}ac.preMessage=Dz;ac.resetWarned=Mz;ac.noteOnce=Lz;function Nz(i,l){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,c=new Set;function p(h,m){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,b=c.has(h);if(ac(!b,"Warning: There may be circular references"),b)return!1;if(h===m)return!0;if(o&&w>1)return!1;c.add(h);var T=w+1;if(Array.isArray(h)){if(!Array.isArray(m)||h.length!==m.length)return!1;for(var O=0;O<h.length;O++)if(!p(h[O],m[O],T))return!1;return!0}if(h&&m&&Mu(h)==="object"&&Mu(m)==="object"){var R=Object.keys(h);return R.length!==Object.keys(m).length?!1:R.every(function(D){return p(h[D],m[D],T)})}return!1}return p(i,l)}function Hv(){return Hv=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)({}).hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},Hv.apply(null,arguments)}function zz(i,l){if(i==null)return{};var o={};for(var c in i)if({}.hasOwnProperty.call(i,c)){if(l.indexOf(c)!==-1)continue;o[c]=i[c]}return o}function Y1(i,l){if(i==null)return{};var o,c,p=zz(i,l);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(i);for(c=0;c<h.length;c++)o=h[c],l.indexOf(o)===-1&&{}.propertyIsEnumerable.call(i,o)&&(p[o]=i[o])}return p}var Ug={exports:{}},Ma={},Fg={exports:{}},Uw={};/**
18
+ */var Fx;function Rz(){return Fx||(Fx=1,function(i){(function(){var l={}.hasOwnProperty;function o(){for(var h="",m=0;m<arguments.length;m++){var w=arguments[m];w&&(h=p(h,c(w)))}return h}function c(h){if(typeof h=="string"||typeof h=="number")return h;if(typeof h!="object")return"";if(Array.isArray(h))return o.apply(null,h);if(h.toString!==Object.prototype.toString&&!h.toString.toString().includes("[native code]"))return h.toString();var m="";for(var w in h)l.call(h,w)&&h[w]&&(m=p(m,w));return m}function p(h,m){return m?h?h+" "+m:h+m:h}i.exports?(o.default=o,i.exports=o):window.classNames=o})()}(Pw)),Pw.exports}var Oz=Rz();const lc=VN(Oz);function dd(i){var l=V.useRef();l.current=i;var o=V.useCallback(function(){for(var c,p=arguments.length,h=new Array(p),m=0;m<p;m++)h[m]=arguments[m];return(c=l.current)===null||c===void 0?void 0:c.call.apply(c,[l].concat(h))},[]);return o}function kz(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Ix=process.env.NODE_ENV!=="test"&&kz()?V.useLayoutEffect:V.useEffect,$1=function(l,o){var c=V.useRef(!0);Ix(function(){return l(c.current)},o),Ix(function(){return c.current=!1,function(){c.current=!0}},[])},Hx=function(l,o){$1(function(c){if(!c)return l()},o)};function Bx(i){var l=V.useRef(!1),o=V.useState(i),c=Dr(o,2),p=c[0],h=c[1];V.useEffect(function(){return l.current=!1,function(){l.current=!0}},[]);function m(w,b){b&&l.current||h(w)}return[p,m]}function jw(i){return i!==void 0}function Dz(i,l){var o=l||{},c=o.defaultValue,p=o.value,h=o.onChange,m=o.postState,w=Bx(function(){return jw(p)?p:jw(c)?typeof c=="function"?c():c:typeof i=="function"?i():i}),b=Dr(w,2),T=b[0],O=b[1],R=p!==void 0?p:T,D=m?m(R):R,L=dd(h),M=Bx([R]),U=Dr(M,2),P=U[0],N=U[1];Hx(function(){var j=P[0];T!==j&&L(T,j)},[P]),Hx(function(){jw(p)||O(p)},[p]);var z=dd(function(j,q){O(j,q),N([R],q)});return[D,z]}var ub={},Cb=[],_z=function(l){Cb.push(l)};function W1(i,l){if(process.env.NODE_ENV!=="production"&&!i&&console!==void 0){var o=Cb.reduce(function(c,p){return p(c??"","warning")},l);o&&console.error("Warning: ".concat(o))}}function Mz(i,l){if(process.env.NODE_ENV!=="production"&&!i&&console!==void 0){var o=Cb.reduce(function(c,p){return p(c??"","note")},l);o&&console.warn("Note: ".concat(o))}}function Lz(){ub={}}function G1(i,l,o){!l&&!ub[o]&&(i(!1,o),ub[o]=!0)}function ac(i,l){G1(W1,i,l)}function Nz(i,l){G1(Mz,i,l)}ac.preMessage=_z;ac.resetWarned=Lz;ac.noteOnce=Nz;function zz(i,l){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,c=new Set;function p(h,m){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,b=c.has(h);if(ac(!b,"Warning: There may be circular references"),b)return!1;if(h===m)return!0;if(o&&w>1)return!1;c.add(h);var T=w+1;if(Array.isArray(h)){if(!Array.isArray(m)||h.length!==m.length)return!1;for(var O=0;O<h.length;O++)if(!p(h[O],m[O],T))return!1;return!0}if(h&&m&&Mu(h)==="object"&&Mu(m)==="object"){var R=Object.keys(h);return R.length!==Object.keys(m).length?!1:R.every(function(D){return p(h[D],m[D],T)})}return!1}return p(i,l)}function Hv(){return Hv=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)({}).hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},Hv.apply(null,arguments)}function Az(i,l){if(i==null)return{};var o={};for(var c in i)if({}.hasOwnProperty.call(i,c)){if(l.indexOf(c)!==-1)continue;o[c]=i[c]}return o}function Y1(i,l){if(i==null)return{};var o,c,p=Az(i,l);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(i);for(c=0;c<h.length;c++)o=h[c],l.indexOf(o)===-1&&{}.propertyIsEnumerable.call(i,o)&&(p[o]=i[o])}return p}var Ug={exports:{}},Ma={},Fg={exports:{}},Uw={};/**
19
19
  * @license React
20
20
  * scheduler.production.min.js
21
21
  *
@@ -23,7 +23,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
23
23
  *
24
24
  * This source code is licensed under the MIT license found in the
25
25
  * LICENSE file in the root directory of this source tree.
26
- */var Vx;function Az(){return Vx||(Vx=1,function(i){function l(ue,Se){var ye=ue.length;ue.push(Se);e:for(;0<ye;){var tt=ye-1>>>1,it=ue[tt];if(0<p(it,Se))ue[tt]=Se,ue[ye]=it,ye=tt;else break e}}function o(ue){return ue.length===0?null:ue[0]}function c(ue){if(ue.length===0)return null;var Se=ue[0],ye=ue.pop();if(ye!==Se){ue[0]=ye;e:for(var tt=0,it=ue.length,Rn=it>>>1;tt<Rn;){var Ht=2*(tt+1)-1,bt=ue[Ht],nt=Ht+1,pt=ue[nt];if(0>p(bt,ye))nt<it&&0>p(pt,bt)?(ue[tt]=pt,ue[nt]=ye,tt=nt):(ue[tt]=bt,ue[Ht]=ye,tt=Ht);else if(nt<it&&0>p(pt,ye))ue[tt]=pt,ue[nt]=ye,tt=nt;else break e}}return Se}function p(ue,Se){var ye=ue.sortIndex-Se.sortIndex;return ye!==0?ye:ue.id-Se.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;i.unstable_now=function(){return h.now()}}else{var m=Date,w=m.now();i.unstable_now=function(){return m.now()-w}}var b=[],T=[],O=1,R=null,D=3,L=!1,M=!1,U=!1,P=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function j(ue){for(var Se=o(T);Se!==null;){if(Se.callback===null)c(T);else if(Se.startTime<=ue)c(T),Se.sortIndex=Se.expirationTime,l(b,Se);else break;Se=o(T)}}function q(ue){if(U=!1,j(ue),!M)if(o(b)!==null)M=!0,be($);else{var Se=o(T);Se!==null&&$e(q,Se.startTime-ue)}}function $(ue,Se){M=!1,U&&(U=!1,N(ve),ve=-1),L=!0;var ye=D;try{for(j(Se),R=o(b);R!==null&&(!(R.expirationTime>Se)||ue&&!re());){var tt=R.callback;if(typeof tt=="function"){R.callback=null,D=R.priorityLevel;var it=tt(R.expirationTime<=Se);Se=i.unstable_now(),typeof it=="function"?R.callback=it:R===o(b)&&c(b),j(Se)}else c(b);R=o(b)}if(R!==null)var Rn=!0;else{var Ht=o(T);Ht!==null&&$e(q,Ht.startTime-Se),Rn=!1}return Rn}finally{R=null,D=ye,L=!1}}var se=!1,le=null,ve=-1,ee=5,J=-1;function re(){return!(i.unstable_now()-J<ee)}function oe(){if(le!==null){var ue=i.unstable_now();J=ue;var Se=!0;try{Se=le(!0,ue)}finally{Se?we():(se=!1,le=null)}}else se=!1}var we;if(typeof z=="function")we=function(){z(oe)};else if(typeof MessageChannel<"u"){var Qe=new MessageChannel,Ge=Qe.port2;Qe.port1.onmessage=oe,we=function(){Ge.postMessage(null)}}else we=function(){P(oe,0)};function be(ue){le=ue,se||(se=!0,we())}function $e(ue,Se){ve=P(function(){ue(i.unstable_now())},Se)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(ue){ue.callback=null},i.unstable_continueExecution=function(){M||L||(M=!0,be($))},i.unstable_forceFrameRate=function(ue){0>ue||125<ue?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<ue?Math.floor(1e3/ue):5},i.unstable_getCurrentPriorityLevel=function(){return D},i.unstable_getFirstCallbackNode=function(){return o(b)},i.unstable_next=function(ue){switch(D){case 1:case 2:case 3:var Se=3;break;default:Se=D}var ye=D;D=Se;try{return ue()}finally{D=ye}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(ue,Se){switch(ue){case 1:case 2:case 3:case 4:case 5:break;default:ue=3}var ye=D;D=ue;try{return Se()}finally{D=ye}},i.unstable_scheduleCallback=function(ue,Se,ye){var tt=i.unstable_now();switch(typeof ye=="object"&&ye!==null?(ye=ye.delay,ye=typeof ye=="number"&&0<ye?tt+ye:tt):ye=tt,ue){case 1:var it=-1;break;case 2:it=250;break;case 5:it=1073741823;break;case 4:it=1e4;break;default:it=5e3}return it=ye+it,ue={id:O++,callback:Se,priorityLevel:ue,startTime:ye,expirationTime:it,sortIndex:-1},ye>tt?(ue.sortIndex=ye,l(T,ue),o(b)===null&&ue===o(T)&&(U?(N(ve),ve=-1):U=!0,$e(q,ye-tt))):(ue.sortIndex=it,l(b,ue),M||L||(M=!0,be($))),ue},i.unstable_shouldYield=re,i.unstable_wrapCallback=function(ue){var Se=D;return function(){var ye=D;D=Se;try{return ue.apply(this,arguments)}finally{D=ye}}}}(Uw)),Uw}var Fw={};/**
26
+ */var Vx;function Pz(){return Vx||(Vx=1,function(i){function l(ue,Se){var ye=ue.length;ue.push(Se);e:for(;0<ye;){var tt=ye-1>>>1,it=ue[tt];if(0<p(it,Se))ue[tt]=Se,ue[ye]=it,ye=tt;else break e}}function o(ue){return ue.length===0?null:ue[0]}function c(ue){if(ue.length===0)return null;var Se=ue[0],ye=ue.pop();if(ye!==Se){ue[0]=ye;e:for(var tt=0,it=ue.length,Rn=it>>>1;tt<Rn;){var Ht=2*(tt+1)-1,bt=ue[Ht],nt=Ht+1,pt=ue[nt];if(0>p(bt,ye))nt<it&&0>p(pt,bt)?(ue[tt]=pt,ue[nt]=ye,tt=nt):(ue[tt]=bt,ue[Ht]=ye,tt=Ht);else if(nt<it&&0>p(pt,ye))ue[tt]=pt,ue[nt]=ye,tt=nt;else break e}}return Se}function p(ue,Se){var ye=ue.sortIndex-Se.sortIndex;return ye!==0?ye:ue.id-Se.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;i.unstable_now=function(){return h.now()}}else{var m=Date,w=m.now();i.unstable_now=function(){return m.now()-w}}var b=[],T=[],O=1,R=null,D=3,L=!1,M=!1,U=!1,P=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function j(ue){for(var Se=o(T);Se!==null;){if(Se.callback===null)c(T);else if(Se.startTime<=ue)c(T),Se.sortIndex=Se.expirationTime,l(b,Se);else break;Se=o(T)}}function q(ue){if(U=!1,j(ue),!M)if(o(b)!==null)M=!0,be($);else{var Se=o(T);Se!==null&&$e(q,Se.startTime-ue)}}function $(ue,Se){M=!1,U&&(U=!1,N(ve),ve=-1),L=!0;var ye=D;try{for(j(Se),R=o(b);R!==null&&(!(R.expirationTime>Se)||ue&&!re());){var tt=R.callback;if(typeof tt=="function"){R.callback=null,D=R.priorityLevel;var it=tt(R.expirationTime<=Se);Se=i.unstable_now(),typeof it=="function"?R.callback=it:R===o(b)&&c(b),j(Se)}else c(b);R=o(b)}if(R!==null)var Rn=!0;else{var Ht=o(T);Ht!==null&&$e(q,Ht.startTime-Se),Rn=!1}return Rn}finally{R=null,D=ye,L=!1}}var se=!1,le=null,ve=-1,ee=5,J=-1;function re(){return!(i.unstable_now()-J<ee)}function oe(){if(le!==null){var ue=i.unstable_now();J=ue;var Se=!0;try{Se=le(!0,ue)}finally{Se?we():(se=!1,le=null)}}else se=!1}var we;if(typeof z=="function")we=function(){z(oe)};else if(typeof MessageChannel<"u"){var Qe=new MessageChannel,Ge=Qe.port2;Qe.port1.onmessage=oe,we=function(){Ge.postMessage(null)}}else we=function(){P(oe,0)};function be(ue){le=ue,se||(se=!0,we())}function $e(ue,Se){ve=P(function(){ue(i.unstable_now())},Se)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(ue){ue.callback=null},i.unstable_continueExecution=function(){M||L||(M=!0,be($))},i.unstable_forceFrameRate=function(ue){0>ue||125<ue?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<ue?Math.floor(1e3/ue):5},i.unstable_getCurrentPriorityLevel=function(){return D},i.unstable_getFirstCallbackNode=function(){return o(b)},i.unstable_next=function(ue){switch(D){case 1:case 2:case 3:var Se=3;break;default:Se=D}var ye=D;D=Se;try{return ue()}finally{D=ye}},i.unstable_pauseExecution=function(){},i.unstable_requestPaint=function(){},i.unstable_runWithPriority=function(ue,Se){switch(ue){case 1:case 2:case 3:case 4:case 5:break;default:ue=3}var ye=D;D=ue;try{return Se()}finally{D=ye}},i.unstable_scheduleCallback=function(ue,Se,ye){var tt=i.unstable_now();switch(typeof ye=="object"&&ye!==null?(ye=ye.delay,ye=typeof ye=="number"&&0<ye?tt+ye:tt):ye=tt,ue){case 1:var it=-1;break;case 2:it=250;break;case 5:it=1073741823;break;case 4:it=1e4;break;default:it=5e3}return it=ye+it,ue={id:O++,callback:Se,priorityLevel:ue,startTime:ye,expirationTime:it,sortIndex:-1},ye>tt?(ue.sortIndex=ye,l(T,ue),o(b)===null&&ue===o(T)&&(U?(N(ve),ve=-1):U=!0,$e(q,ye-tt))):(ue.sortIndex=it,l(b,ue),M||L||(M=!0,be($))),ue},i.unstable_shouldYield=re,i.unstable_wrapCallback=function(ue){var Se=D;return function(){var ye=D;D=Se;try{return ue.apply(this,arguments)}finally{D=ye}}}}(Uw)),Uw}var Fw={};/**
27
27
  * @license React
28
28
  * scheduler.development.js
29
29
  *
@@ -31,7 +31,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
31
31
  *
32
32
  * This source code is licensed under the MIT license found in the
33
33
  * LICENSE file in the root directory of this source tree.
34
- */var $x;function Pz(){return $x||($x=1,function(i){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var l=!1,o=5;function c(Ee,Ue){var ot=Ee.length;Ee.push(Ue),m(Ee,Ue,ot)}function p(Ee){return Ee.length===0?null:Ee[0]}function h(Ee){if(Ee.length===0)return null;var Ue=Ee[0],ot=Ee.pop();return ot!==Ue&&(Ee[0]=ot,w(Ee,ot,0)),Ue}function m(Ee,Ue,ot){for(var ht=ot;ht>0;){var Vt=ht-1>>>1,Bn=Ee[Vt];if(b(Bn,Ue)>0)Ee[Vt]=Ue,Ee[ht]=Bn,ht=Vt;else return}}function w(Ee,Ue,ot){for(var ht=ot,Vt=Ee.length,Bn=Vt>>>1;ht<Bn;){var jt=(ht+1)*2-1,Vn=Ee[jt],en=jt+1,Ut=Ee[en];if(b(Vn,Ue)<0)en<Vt&&b(Ut,Vn)<0?(Ee[ht]=Ut,Ee[en]=Ue,ht=en):(Ee[ht]=Vn,Ee[jt]=Ue,ht=jt);else if(en<Vt&&b(Ut,Ue)<0)Ee[ht]=Ut,Ee[en]=Ue,ht=en;else return}}function b(Ee,Ue){var ot=Ee.sortIndex-Ue.sortIndex;return ot!==0?ot:Ee.id-Ue.id}var T=1,O=2,R=3,D=4,L=5;function M(Ee,Ue){}var U=typeof performance=="object"&&typeof performance.now=="function";if(U){var P=performance;i.unstable_now=function(){return P.now()}}else{var N=Date,z=N.now();i.unstable_now=function(){return N.now()-z}}var j=1073741823,q=-1,$=250,se=5e3,le=1e4,ve=j,ee=[],J=[],re=1,oe=null,we=R,Qe=!1,Ge=!1,be=!1,$e=typeof setTimeout=="function"?setTimeout:null,ue=typeof clearTimeout=="function"?clearTimeout:null,Se=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ye(Ee){for(var Ue=p(J);Ue!==null;){if(Ue.callback===null)h(J);else if(Ue.startTime<=Ee)h(J),Ue.sortIndex=Ue.expirationTime,c(ee,Ue);else return;Ue=p(J)}}function tt(Ee){if(be=!1,ye(Ee),!Ge)if(p(ee)!==null)Ge=!0,ln(it);else{var Ue=p(J);Ue!==null&&Hn(tt,Ue.startTime-Ee)}}function it(Ee,Ue){Ge=!1,be&&(be=!1,ir()),Qe=!0;var ot=we;try{var ht;if(!l)return Rn(Ee,Ue)}finally{oe=null,we=ot,Qe=!1}}function Rn(Ee,Ue){var ot=Ue;for(ye(ot),oe=p(ee);oe!==null&&!(oe.expirationTime>ot&&(!Ee||dr()));){var ht=oe.callback;if(typeof ht=="function"){oe.callback=null,we=oe.priorityLevel;var Vt=oe.expirationTime<=ot,Bn=ht(Vt);ot=i.unstable_now(),typeof Bn=="function"?oe.callback=Bn:oe===p(ee)&&h(ee),ye(ot)}else h(ee);oe=p(ee)}if(oe!==null)return!0;var jt=p(J);return jt!==null&&Hn(tt,jt.startTime-ot),!1}function Ht(Ee,Ue){switch(Ee){case T:case O:case R:case D:case L:break;default:Ee=R}var ot=we;we=Ee;try{return Ue()}finally{we=ot}}function bt(Ee){var Ue;switch(we){case T:case O:case R:Ue=R;break;default:Ue=we;break}var ot=we;we=Ue;try{return Ee()}finally{we=ot}}function nt(Ee){var Ue=we;return function(){var ot=we;we=Ue;try{return Ee.apply(this,arguments)}finally{we=ot}}}function pt(Ee,Ue,ot){var ht=i.unstable_now(),Vt;if(typeof ot=="object"&&ot!==null){var Bn=ot.delay;typeof Bn=="number"&&Bn>0?Vt=ht+Bn:Vt=ht}else Vt=ht;var jt;switch(Ee){case T:jt=q;break;case O:jt=$;break;case L:jt=ve;break;case D:jt=le;break;case R:default:jt=se;break}var Vn=Vt+jt,en={id:re++,callback:Ue,priorityLevel:Ee,startTime:Vt,expirationTime:Vn,sortIndex:-1};return Vt>ht?(en.sortIndex=Vt,c(J,en),p(ee)===null&&en===p(J)&&(be?ir():be=!0,Hn(tt,Vt-ht))):(en.sortIndex=Vn,c(ee,en),!Ge&&!Qe&&(Ge=!0,ln(it))),en}function zt(){}function Bt(){!Ge&&!Qe&&(Ge=!0,ln(it))}function Dt(){return p(ee)}function Et(Ee){Ee.callback=null}function Kt(){return we}var an=!1,Yt=null,Zt=-1,hn=o,fr=-1;function dr(){var Ee=i.unstable_now()-fr;return!(Ee<hn)}function zn(){}function Mr(Ee){if(Ee<0||Ee>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Ee>0?hn=Math.floor(1e3/Ee):hn=o}var mn=function(){if(Yt!==null){var Ee=i.unstable_now();fr=Ee;var Ue=!0,ot=!0;try{ot=Yt(Ue,Ee)}finally{ot?On():(an=!1,Yt=null)}}else an=!1},On;if(typeof Se=="function")On=function(){Se(mn)};else if(typeof MessageChannel<"u"){var Jt=new MessageChannel,An=Jt.port2;Jt.port1.onmessage=mn,On=function(){An.postMessage(null)}}else On=function(){$e(mn,0)};function ln(Ee){Yt=Ee,an||(an=!0,On())}function Hn(Ee,Ue){Zt=$e(function(){Ee(i.unstable_now())},Ue)}function ir(){ue(Zt),Zt=-1}var lr=zn,Pn=null;i.unstable_IdlePriority=L,i.unstable_ImmediatePriority=T,i.unstable_LowPriority=D,i.unstable_NormalPriority=R,i.unstable_Profiling=Pn,i.unstable_UserBlockingPriority=O,i.unstable_cancelCallback=Et,i.unstable_continueExecution=Bt,i.unstable_forceFrameRate=Mr,i.unstable_getCurrentPriorityLevel=Kt,i.unstable_getFirstCallbackNode=Dt,i.unstable_next=bt,i.unstable_pauseExecution=zt,i.unstable_requestPaint=lr,i.unstable_runWithPriority=Ht,i.unstable_scheduleCallback=pt,i.unstable_shouldYield=dr,i.unstable_wrapCallback=nt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Fw)),Fw}var Wx;function q1(){return Wx||(Wx=1,process.env.NODE_ENV==="production"?Fg.exports=Az():Fg.exports=Pz()),Fg.exports}/**
34
+ */var $x;function jz(){return $x||($x=1,function(i){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var l=!1,o=5;function c(Ee,Ue){var ot=Ee.length;Ee.push(Ue),m(Ee,Ue,ot)}function p(Ee){return Ee.length===0?null:Ee[0]}function h(Ee){if(Ee.length===0)return null;var Ue=Ee[0],ot=Ee.pop();return ot!==Ue&&(Ee[0]=ot,w(Ee,ot,0)),Ue}function m(Ee,Ue,ot){for(var ht=ot;ht>0;){var Vt=ht-1>>>1,Bn=Ee[Vt];if(b(Bn,Ue)>0)Ee[Vt]=Ue,Ee[ht]=Bn,ht=Vt;else return}}function w(Ee,Ue,ot){for(var ht=ot,Vt=Ee.length,Bn=Vt>>>1;ht<Bn;){var jt=(ht+1)*2-1,Vn=Ee[jt],en=jt+1,Ut=Ee[en];if(b(Vn,Ue)<0)en<Vt&&b(Ut,Vn)<0?(Ee[ht]=Ut,Ee[en]=Ue,ht=en):(Ee[ht]=Vn,Ee[jt]=Ue,ht=jt);else if(en<Vt&&b(Ut,Ue)<0)Ee[ht]=Ut,Ee[en]=Ue,ht=en;else return}}function b(Ee,Ue){var ot=Ee.sortIndex-Ue.sortIndex;return ot!==0?ot:Ee.id-Ue.id}var T=1,O=2,R=3,D=4,L=5;function M(Ee,Ue){}var U=typeof performance=="object"&&typeof performance.now=="function";if(U){var P=performance;i.unstable_now=function(){return P.now()}}else{var N=Date,z=N.now();i.unstable_now=function(){return N.now()-z}}var j=1073741823,q=-1,$=250,se=5e3,le=1e4,ve=j,ee=[],J=[],re=1,oe=null,we=R,Qe=!1,Ge=!1,be=!1,$e=typeof setTimeout=="function"?setTimeout:null,ue=typeof clearTimeout=="function"?clearTimeout:null,Se=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ye(Ee){for(var Ue=p(J);Ue!==null;){if(Ue.callback===null)h(J);else if(Ue.startTime<=Ee)h(J),Ue.sortIndex=Ue.expirationTime,c(ee,Ue);else return;Ue=p(J)}}function tt(Ee){if(be=!1,ye(Ee),!Ge)if(p(ee)!==null)Ge=!0,ln(it);else{var Ue=p(J);Ue!==null&&Hn(tt,Ue.startTime-Ee)}}function it(Ee,Ue){Ge=!1,be&&(be=!1,ir()),Qe=!0;var ot=we;try{var ht;if(!l)return Rn(Ee,Ue)}finally{oe=null,we=ot,Qe=!1}}function Rn(Ee,Ue){var ot=Ue;for(ye(ot),oe=p(ee);oe!==null&&!(oe.expirationTime>ot&&(!Ee||dr()));){var ht=oe.callback;if(typeof ht=="function"){oe.callback=null,we=oe.priorityLevel;var Vt=oe.expirationTime<=ot,Bn=ht(Vt);ot=i.unstable_now(),typeof Bn=="function"?oe.callback=Bn:oe===p(ee)&&h(ee),ye(ot)}else h(ee);oe=p(ee)}if(oe!==null)return!0;var jt=p(J);return jt!==null&&Hn(tt,jt.startTime-ot),!1}function Ht(Ee,Ue){switch(Ee){case T:case O:case R:case D:case L:break;default:Ee=R}var ot=we;we=Ee;try{return Ue()}finally{we=ot}}function bt(Ee){var Ue;switch(we){case T:case O:case R:Ue=R;break;default:Ue=we;break}var ot=we;we=Ue;try{return Ee()}finally{we=ot}}function nt(Ee){var Ue=we;return function(){var ot=we;we=Ue;try{return Ee.apply(this,arguments)}finally{we=ot}}}function pt(Ee,Ue,ot){var ht=i.unstable_now(),Vt;if(typeof ot=="object"&&ot!==null){var Bn=ot.delay;typeof Bn=="number"&&Bn>0?Vt=ht+Bn:Vt=ht}else Vt=ht;var jt;switch(Ee){case T:jt=q;break;case O:jt=$;break;case L:jt=ve;break;case D:jt=le;break;case R:default:jt=se;break}var Vn=Vt+jt,en={id:re++,callback:Ue,priorityLevel:Ee,startTime:Vt,expirationTime:Vn,sortIndex:-1};return Vt>ht?(en.sortIndex=Vt,c(J,en),p(ee)===null&&en===p(J)&&(be?ir():be=!0,Hn(tt,Vt-ht))):(en.sortIndex=Vn,c(ee,en),!Ge&&!Qe&&(Ge=!0,ln(it))),en}function zt(){}function Bt(){!Ge&&!Qe&&(Ge=!0,ln(it))}function Dt(){return p(ee)}function Et(Ee){Ee.callback=null}function Kt(){return we}var an=!1,Yt=null,Zt=-1,hn=o,fr=-1;function dr(){var Ee=i.unstable_now()-fr;return!(Ee<hn)}function zn(){}function Mr(Ee){if(Ee<0||Ee>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Ee>0?hn=Math.floor(1e3/Ee):hn=o}var mn=function(){if(Yt!==null){var Ee=i.unstable_now();fr=Ee;var Ue=!0,ot=!0;try{ot=Yt(Ue,Ee)}finally{ot?On():(an=!1,Yt=null)}}else an=!1},On;if(typeof Se=="function")On=function(){Se(mn)};else if(typeof MessageChannel<"u"){var Jt=new MessageChannel,An=Jt.port2;Jt.port1.onmessage=mn,On=function(){An.postMessage(null)}}else On=function(){$e(mn,0)};function ln(Ee){Yt=Ee,an||(an=!0,On())}function Hn(Ee,Ue){Zt=$e(function(){Ee(i.unstable_now())},Ue)}function ir(){ue(Zt),Zt=-1}var lr=zn,Pn=null;i.unstable_IdlePriority=L,i.unstable_ImmediatePriority=T,i.unstable_LowPriority=D,i.unstable_NormalPriority=R,i.unstable_Profiling=Pn,i.unstable_UserBlockingPriority=O,i.unstable_cancelCallback=Et,i.unstable_continueExecution=Bt,i.unstable_forceFrameRate=Mr,i.unstable_getCurrentPriorityLevel=Kt,i.unstable_getFirstCallbackNode=Dt,i.unstable_next=bt,i.unstable_pauseExecution=zt,i.unstable_requestPaint=lr,i.unstable_runWithPriority=Ht,i.unstable_scheduleCallback=pt,i.unstable_shouldYield=dr,i.unstable_wrapCallback=nt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Fw)),Fw}var Wx;function q1(){return Wx||(Wx=1,process.env.NODE_ENV==="production"?Fg.exports=Pz():Fg.exports=jz()),Fg.exports}/**
35
35
  * @license React
36
36
  * react-dom.production.min.js
37
37
  *
@@ -39,7 +39,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
39
39
  *
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
- */var Gx;function jz(){if(Gx)return Ma;Gx=1;var i=Ie,l=q1();function o(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,s=1;s<arguments.length;s++)r+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c=new Set,p={};function h(n,r){m(n,r),m(n+"Capture",r)}function m(n,r){for(p[n]=r,n=0;n<r.length;n++)c.add(r[n])}var w=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=Object.prototype.hasOwnProperty,T=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,O={},R={};function D(n){return b.call(R,n)?!0:b.call(O,n)?!1:T.test(n)?R[n]=!0:(O[n]=!0,!1)}function L(n,r,s,d){if(s!==null&&s.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return d?!1:s!==null?!s.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function M(n,r,s,d){if(r===null||typeof r>"u"||L(n,r,s,d))return!0;if(d)return!1;if(s!==null)switch(s.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function U(n,r,s,d,g,S,x){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=d,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=n,this.type=r,this.sanitizeURL=S,this.removeEmptyString=x}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){P[n]=new U(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];P[r]=new U(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){P[n]=new U(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){P[n]=new U(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){P[n]=new U(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){P[n]=new U(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){P[n]=new U(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){P[n]=new U(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){P[n]=new U(n,5,!1,n.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function z(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(N,z);P[r]=new U(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(N,z);P[r]=new U(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(N,z);P[r]=new U(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){P[n]=new U(n,1,!1,n.toLowerCase(),null,!1,!1)}),P.xlinkHref=new U("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){P[n]=new U(n,1,!1,n.toLowerCase(),null,!0,!0)});function j(n,r,s,d){var g=P.hasOwnProperty(r)?P[r]:null;(g!==null?g.type!==0:d||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(M(r,s,g,d)&&(s=null),d||g===null?D(r)&&(s===null?n.removeAttribute(r):n.setAttribute(r,""+s)):g.mustUseProperty?n[g.propertyName]=s===null?g.type===3?!1:"":s:(r=g.attributeName,d=g.attributeNamespace,s===null?n.removeAttribute(r):(g=g.type,s=g===3||g===4&&s===!0?"":""+s,d?n.setAttributeNS(d,r,s):n.setAttribute(r,s))))}var q=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$=Symbol.for("react.element"),se=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),ve=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),J=Symbol.for("react.provider"),re=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),Qe=Symbol.for("react.suspense_list"),Ge=Symbol.for("react.memo"),be=Symbol.for("react.lazy"),$e=Symbol.for("react.offscreen"),ue=Symbol.iterator;function Se(n){return n===null||typeof n!="object"?null:(n=ue&&n[ue]||n["@@iterator"],typeof n=="function"?n:null)}var ye=Object.assign,tt;function it(n){if(tt===void 0)try{throw Error()}catch(s){var r=s.stack.trim().match(/\n( *(at )?)/);tt=r&&r[1]||""}return`
42
+ */var Gx;function Uz(){if(Gx)return Ma;Gx=1;var i=Ie,l=q1();function o(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,s=1;s<arguments.length;s++)r+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c=new Set,p={};function h(n,r){m(n,r),m(n+"Capture",r)}function m(n,r){for(p[n]=r,n=0;n<r.length;n++)c.add(r[n])}var w=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=Object.prototype.hasOwnProperty,T=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,O={},R={};function D(n){return b.call(R,n)?!0:b.call(O,n)?!1:T.test(n)?R[n]=!0:(O[n]=!0,!1)}function L(n,r,s,d){if(s!==null&&s.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return d?!1:s!==null?!s.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function M(n,r,s,d){if(r===null||typeof r>"u"||L(n,r,s,d))return!0;if(d)return!1;if(s!==null)switch(s.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function U(n,r,s,d,g,S,x){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=d,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=n,this.type=r,this.sanitizeURL=S,this.removeEmptyString=x}var P={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){P[n]=new U(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];P[r]=new U(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){P[n]=new U(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){P[n]=new U(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){P[n]=new U(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){P[n]=new U(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){P[n]=new U(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){P[n]=new U(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){P[n]=new U(n,5,!1,n.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function z(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(N,z);P[r]=new U(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(N,z);P[r]=new U(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(N,z);P[r]=new U(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){P[n]=new U(n,1,!1,n.toLowerCase(),null,!1,!1)}),P.xlinkHref=new U("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){P[n]=new U(n,1,!1,n.toLowerCase(),null,!0,!0)});function j(n,r,s,d){var g=P.hasOwnProperty(r)?P[r]:null;(g!==null?g.type!==0:d||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(M(r,s,g,d)&&(s=null),d||g===null?D(r)&&(s===null?n.removeAttribute(r):n.setAttribute(r,""+s)):g.mustUseProperty?n[g.propertyName]=s===null?g.type===3?!1:"":s:(r=g.attributeName,d=g.attributeNamespace,s===null?n.removeAttribute(r):(g=g.type,s=g===3||g===4&&s===!0?"":""+s,d?n.setAttributeNS(d,r,s):n.setAttribute(r,s))))}var q=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$=Symbol.for("react.element"),se=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),ve=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),J=Symbol.for("react.provider"),re=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),Qe=Symbol.for("react.suspense_list"),Ge=Symbol.for("react.memo"),be=Symbol.for("react.lazy"),$e=Symbol.for("react.offscreen"),ue=Symbol.iterator;function Se(n){return n===null||typeof n!="object"?null:(n=ue&&n[ue]||n["@@iterator"],typeof n=="function"?n:null)}var ye=Object.assign,tt;function it(n){if(tt===void 0)try{throw Error()}catch(s){var r=s.stack.trim().match(/\n( *(at )?)/);tt=r&&r[1]||""}return`
43
43
  `+tt+n}var Rn=!1;function Ht(n,r){if(!n||Rn)return"";Rn=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(K){var d=K}Reflect.construct(n,[],r)}else{try{r.call()}catch(K){d=K}n.call(r.prototype)}else{try{throw Error()}catch(K){d=K}n()}}catch(K){if(K&&d&&typeof K.stack=="string"){for(var g=K.stack.split(`
44
44
  `),S=d.stack.split(`
45
45
  `),x=g.length-1,A=S.length-1;1<=x&&0<=A&&g[x]!==S[A];)A--;for(;1<=x&&0<=A;x--,A--)if(g[x]!==S[A]){if(x!==1||A!==1)do if(x--,A--,0>A||g[x]!==S[A]){var F=`
@@ -54,7 +54,7 @@ Error generating stack: `+S.message+`
54
54
  *
55
55
  * This source code is licensed under the MIT license found in the
56
56
  * LICENSE file in the root directory of this source tree.
57
- */var Yx;function Uz(){return Yx||(Yx=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i=Ie,l=q1(),o=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,c=!1;function p(e){c=e}function h(e){if(!c){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];w("warn",e,a)}}function m(e){if(!c){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];w("error",e,a)}}function w(e,t,a){{var u=o.ReactDebugCurrentFrame,f=u.getStackAddendum();f!==""&&(t+="%s",a=a.concat([f]));var v=a.map(function(y){return String(y)});v.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,v)}}var b=0,T=1,O=2,R=3,D=4,L=5,M=6,U=7,P=8,N=9,z=10,j=11,q=12,$=13,se=14,le=15,ve=16,ee=17,J=18,re=19,oe=21,we=22,Qe=23,Ge=24,be=25,$e=!0,ue=!1,Se=!1,ye=!1,tt=!1,it=!0,Rn=!0,Ht=!0,bt=!0,nt=new Set,pt={},zt={};function Bt(e,t){Dt(e,t),Dt(e+"Capture",t)}function Dt(e,t){pt[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),pt[e]=t;{var a=e.toLowerCase();zt[a]=e,e==="onDoubleClick"&&(zt.ondblclick=e)}for(var u=0;u<t.length;u++)nt.add(t[u])}var Et=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Kt=Object.prototype.hasOwnProperty;function an(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Yt(e){try{return Zt(e),!1}catch{return!0}}function Zt(e){return""+e}function hn(e,t){if(Yt(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),Zt(e)}function fr(e){if(Yt(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",an(e)),Zt(e)}function dr(e,t){if(Yt(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),Zt(e)}function zn(e,t){if(Yt(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),Zt(e)}function Mr(e){if(Yt(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",an(e)),Zt(e)}function mn(e){if(Yt(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",an(e)),Zt(e)}var On=0,Jt=1,An=2,ln=3,Hn=4,ir=5,lr=6,Pn=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ee=Pn+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ue=new RegExp("^["+Pn+"]["+Ee+"]*$"),ot={},ht={};function Vt(e){return Kt.call(ht,e)?!0:Kt.call(ot,e)?!1:Ue.test(e)?(ht[e]=!0,!0):(ot[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function Bn(e,t,a){return t!==null?t.type===On:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function jt(e,t,a,u){if(a!==null&&a.type===On)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(a!==null)return!a.acceptsBooleans;var f=e.toLowerCase().slice(0,5);return f!=="data-"&&f!=="aria-"}default:return!1}}function Vn(e,t,a,u){if(t===null||typeof t>"u"||jt(e,t,a,u))return!0;if(u)return!1;if(a!==null)switch(a.type){case ln:return!t;case Hn:return t===!1;case ir:return isNaN(t);case lr:return isNaN(t)||t<1}return!1}function en(e){return _t.hasOwnProperty(e)?_t[e]:null}function Ut(e,t,a,u,f,v,y){this.acceptsBooleans=t===An||t===ln||t===Hn,this.attributeName=u,this.attributeNamespace=f,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=v,this.removeEmptyString=y}var _t={},Gi=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Gi.forEach(function(e){_t[e]=new Ut(e,On,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];_t[t]=new Ut(t,Jt,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){_t[e]=new Ut(e,An,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_t[e]=new Ut(e,An,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){_t[e]=new Ut(e,ln,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){_t[e]=new Ut(e,ln,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){_t[e]=new Ut(e,Hn,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){_t[e]=new Ut(e,lr,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){_t[e]=new Ut(e,ir,!1,e.toLowerCase(),null,!1,!1)});var $t=/[\-\:]([a-z])/g,Na=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace($t,Na);_t[t]=new Ut(t,Jt,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace($t,Na);_t[t]=new Ut(t,Jt,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($t,Na);_t[t]=new Ut(t,Jt,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){_t[e]=new Ut(e,Jt,!1,e.toLowerCase(),null,!1,!1)});var _l="xlinkHref";_t[_l]=new Ut("xlinkHref",Jt,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){_t[e]=new Ut(e,Jt,!1,e.toLowerCase(),null,!0,!0)});var Lu=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Nu=!1;function zu(e){!Nu&&Lu.test(e)&&(Nu=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function mi(e,t,a,u){if(u.mustUseProperty){var f=u.propertyName;return e[f]}else{hn(a,t),u.sanitizeURL&&zu(""+a);var v=u.attributeName,y=null;if(u.type===Hn){if(e.hasAttribute(v)){var E=e.getAttribute(v);return E===""?!0:Vn(t,a,u,!1)?E:E===""+a?a:E}}else if(e.hasAttribute(v)){if(Vn(t,a,u,!1))return e.getAttribute(v);if(u.type===ln)return a;y=e.getAttribute(v)}return Vn(t,a,u,!1)?y===null?a:y:y===""+a?a:y}}function Po(e,t,a,u){{if(!Vt(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var f=e.getAttribute(t);return hn(a,t),f===""+a?a:f}}function gi(e,t,a,u){var f=en(t);if(!Bn(t,f,u)){if(Vn(t,a,f,u)&&(a=null),u||f===null){if(Vt(t)){var v=t;a===null?e.removeAttribute(v):(hn(a,t),e.setAttribute(v,""+a))}return}var y=f.mustUseProperty;if(y){var E=f.propertyName;if(a===null){var C=f.type;e[E]=C===ln?!1:""}else e[E]=a;return}var k=f.attributeName,_=f.attributeNamespace;if(a===null)e.removeAttribute(k);else{var B=f.type,I;B===ln||B===Hn&&a===!0?I="":(hn(a,k),I=""+a,f.sanitizeURL&&zu(I.toString())),_?e.setAttributeNS(_,k,I):e.setAttribute(k,I)}}}var Ga=Symbol.for("react.element"),pr=Symbol.for("react.portal"),yi=Symbol.for("react.fragment"),Ya=Symbol.for("react.strict_mode"),Yi=Symbol.for("react.profiler"),qi=Symbol.for("react.provider"),Qi=Symbol.for("react.context"),qa=Symbol.for("react.forward_ref"),Ml=Symbol.for("react.suspense"),jo=Symbol.for("react.suspense_list"),Zr=Symbol.for("react.memo"),kn=Symbol.for("react.lazy"),Au=Symbol.for("react.scope"),Ll=Symbol.for("react.debug_trace_mode"),Pu=Symbol.for("react.offscreen"),ju=Symbol.for("react.legacy_hidden"),Uu=Symbol.for("react.cache"),Fu=Symbol.for("react.tracing_marker"),dc=Symbol.iterator,Tt="@@iterator";function Ce(e){if(e===null||typeof e!="object")return null;var t=dc&&e[dc]||e[Tt];return typeof t=="function"?t:null}var Ne=Object.assign,Ct=0,tn,Lr,pa,Jr,vr,Dn,Si;function on(){}on.__reactDisabledLog=!0;function Uo(){{if(Ct===0){tn=console.log,Lr=console.info,pa=console.warn,Jr=console.error,vr=console.group,Dn=console.groupCollapsed,Si=console.groupEnd;var e={configurable:!0,enumerable:!0,value:on,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ct++}}function pc(){{if(Ct--,Ct===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ne({},e,{value:tn}),info:Ne({},e,{value:Lr}),warn:Ne({},e,{value:pa}),error:Ne({},e,{value:Jr}),group:Ne({},e,{value:vr}),groupCollapsed:Ne({},e,{value:Dn}),groupEnd:Ne({},e,{value:Si})})}Ct<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var gd=o.ReactCurrentDispatcher,Fo;function za(e,t,a){{if(Fo===void 0)try{throw Error()}catch(f){var u=f.stack.trim().match(/\n( *(at )?)/);Fo=u&&u[1]||""}return`
57
+ */var Yx;function Fz(){return Yx||(Yx=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i=Ie,l=q1(),o=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,c=!1;function p(e){c=e}function h(e){if(!c){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];w("warn",e,a)}}function m(e){if(!c){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];w("error",e,a)}}function w(e,t,a){{var u=o.ReactDebugCurrentFrame,f=u.getStackAddendum();f!==""&&(t+="%s",a=a.concat([f]));var v=a.map(function(y){return String(y)});v.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,v)}}var b=0,T=1,O=2,R=3,D=4,L=5,M=6,U=7,P=8,N=9,z=10,j=11,q=12,$=13,se=14,le=15,ve=16,ee=17,J=18,re=19,oe=21,we=22,Qe=23,Ge=24,be=25,$e=!0,ue=!1,Se=!1,ye=!1,tt=!1,it=!0,Rn=!0,Ht=!0,bt=!0,nt=new Set,pt={},zt={};function Bt(e,t){Dt(e,t),Dt(e+"Capture",t)}function Dt(e,t){pt[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),pt[e]=t;{var a=e.toLowerCase();zt[a]=e,e==="onDoubleClick"&&(zt.ondblclick=e)}for(var u=0;u<t.length;u++)nt.add(t[u])}var Et=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Kt=Object.prototype.hasOwnProperty;function an(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Yt(e){try{return Zt(e),!1}catch{return!0}}function Zt(e){return""+e}function hn(e,t){if(Yt(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),Zt(e)}function fr(e){if(Yt(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",an(e)),Zt(e)}function dr(e,t){if(Yt(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),Zt(e)}function zn(e,t){if(Yt(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,an(e)),Zt(e)}function Mr(e){if(Yt(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",an(e)),Zt(e)}function mn(e){if(Yt(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",an(e)),Zt(e)}var On=0,Jt=1,An=2,ln=3,Hn=4,ir=5,lr=6,Pn=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Ee=Pn+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ue=new RegExp("^["+Pn+"]["+Ee+"]*$"),ot={},ht={};function Vt(e){return Kt.call(ht,e)?!0:Kt.call(ot,e)?!1:Ue.test(e)?(ht[e]=!0,!0):(ot[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function Bn(e,t,a){return t!==null?t.type===On:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function jt(e,t,a,u){if(a!==null&&a.type===On)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(a!==null)return!a.acceptsBooleans;var f=e.toLowerCase().slice(0,5);return f!=="data-"&&f!=="aria-"}default:return!1}}function Vn(e,t,a,u){if(t===null||typeof t>"u"||jt(e,t,a,u))return!0;if(u)return!1;if(a!==null)switch(a.type){case ln:return!t;case Hn:return t===!1;case ir:return isNaN(t);case lr:return isNaN(t)||t<1}return!1}function en(e){return _t.hasOwnProperty(e)?_t[e]:null}function Ut(e,t,a,u,f,v,y){this.acceptsBooleans=t===An||t===ln||t===Hn,this.attributeName=u,this.attributeNamespace=f,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=v,this.removeEmptyString=y}var _t={},Gi=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Gi.forEach(function(e){_t[e]=new Ut(e,On,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];_t[t]=new Ut(t,Jt,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){_t[e]=new Ut(e,An,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_t[e]=new Ut(e,An,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){_t[e]=new Ut(e,ln,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){_t[e]=new Ut(e,ln,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){_t[e]=new Ut(e,Hn,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){_t[e]=new Ut(e,lr,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){_t[e]=new Ut(e,ir,!1,e.toLowerCase(),null,!1,!1)});var $t=/[\-\:]([a-z])/g,Na=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace($t,Na);_t[t]=new Ut(t,Jt,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace($t,Na);_t[t]=new Ut(t,Jt,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($t,Na);_t[t]=new Ut(t,Jt,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){_t[e]=new Ut(e,Jt,!1,e.toLowerCase(),null,!1,!1)});var _l="xlinkHref";_t[_l]=new Ut("xlinkHref",Jt,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){_t[e]=new Ut(e,Jt,!1,e.toLowerCase(),null,!0,!0)});var Lu=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Nu=!1;function zu(e){!Nu&&Lu.test(e)&&(Nu=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function mi(e,t,a,u){if(u.mustUseProperty){var f=u.propertyName;return e[f]}else{hn(a,t),u.sanitizeURL&&zu(""+a);var v=u.attributeName,y=null;if(u.type===Hn){if(e.hasAttribute(v)){var E=e.getAttribute(v);return E===""?!0:Vn(t,a,u,!1)?E:E===""+a?a:E}}else if(e.hasAttribute(v)){if(Vn(t,a,u,!1))return e.getAttribute(v);if(u.type===ln)return a;y=e.getAttribute(v)}return Vn(t,a,u,!1)?y===null?a:y:y===""+a?a:y}}function Po(e,t,a,u){{if(!Vt(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var f=e.getAttribute(t);return hn(a,t),f===""+a?a:f}}function gi(e,t,a,u){var f=en(t);if(!Bn(t,f,u)){if(Vn(t,a,f,u)&&(a=null),u||f===null){if(Vt(t)){var v=t;a===null?e.removeAttribute(v):(hn(a,t),e.setAttribute(v,""+a))}return}var y=f.mustUseProperty;if(y){var E=f.propertyName;if(a===null){var C=f.type;e[E]=C===ln?!1:""}else e[E]=a;return}var k=f.attributeName,_=f.attributeNamespace;if(a===null)e.removeAttribute(k);else{var B=f.type,I;B===ln||B===Hn&&a===!0?I="":(hn(a,k),I=""+a,f.sanitizeURL&&zu(I.toString())),_?e.setAttributeNS(_,k,I):e.setAttribute(k,I)}}}var Ga=Symbol.for("react.element"),pr=Symbol.for("react.portal"),yi=Symbol.for("react.fragment"),Ya=Symbol.for("react.strict_mode"),Yi=Symbol.for("react.profiler"),qi=Symbol.for("react.provider"),Qi=Symbol.for("react.context"),qa=Symbol.for("react.forward_ref"),Ml=Symbol.for("react.suspense"),jo=Symbol.for("react.suspense_list"),Zr=Symbol.for("react.memo"),kn=Symbol.for("react.lazy"),Au=Symbol.for("react.scope"),Ll=Symbol.for("react.debug_trace_mode"),Pu=Symbol.for("react.offscreen"),ju=Symbol.for("react.legacy_hidden"),Uu=Symbol.for("react.cache"),Fu=Symbol.for("react.tracing_marker"),dc=Symbol.iterator,Tt="@@iterator";function Ce(e){if(e===null||typeof e!="object")return null;var t=dc&&e[dc]||e[Tt];return typeof t=="function"?t:null}var Ne=Object.assign,Ct=0,tn,Lr,pa,Jr,vr,Dn,Si;function on(){}on.__reactDisabledLog=!0;function Uo(){{if(Ct===0){tn=console.log,Lr=console.info,pa=console.warn,Jr=console.error,vr=console.group,Dn=console.groupCollapsed,Si=console.groupEnd;var e={configurable:!0,enumerable:!0,value:on,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ct++}}function pc(){{if(Ct--,Ct===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ne({},e,{value:tn}),info:Ne({},e,{value:Lr}),warn:Ne({},e,{value:pa}),error:Ne({},e,{value:Jr}),group:Ne({},e,{value:vr}),groupCollapsed:Ne({},e,{value:Dn}),groupEnd:Ne({},e,{value:Si})})}Ct<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var gd=o.ReactCurrentDispatcher,Fo;function za(e,t,a){{if(Fo===void 0)try{throw Error()}catch(f){var u=f.stack.trim().match(/\n( *(at )?)/);Fo=u&&u[1]||""}return`
58
58
  `+Fo+e}}var Nl=!1,zl;{var oy=typeof WeakMap=="function"?WeakMap:Map;zl=new oy}function yd(e,t){if(!e||Nl)return"";{var a=zl.get(e);if(a!==void 0)return a}var u;Nl=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=gd.current,gd.current=null,Uo();try{if(t){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(Z){u=Z}Reflect.construct(e,[],y)}else{try{y.call()}catch(Z){u=Z}e.call(y.prototype)}}else{try{throw Error()}catch(Z){u=Z}e()}}catch(Z){if(Z&&u&&typeof Z.stack=="string"){for(var E=Z.stack.split(`
59
59
  `),C=u.stack.split(`
60
60
  `),k=E.length-1,_=C.length-1;k>=1&&_>=0&&E[k]!==C[_];)_--;for(;k>=1&&_>=0;k--,_--)if(E[k]!==C[_]){if(k!==1||_!==1)do if(k--,_--,_<0||E[k]!==C[_]){var B=`
@@ -75,7 +75,7 @@ Check the render method of \``+e+"`.":""}var Dd=["value","defaultValue"];functio
75
75
  * @internal
76
76
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
77
77
  */function Iy(e){if(!Et)return!1;var t="on"+e,a=t in document;if(!a){var u=document.createElement("div");u.setAttribute(t,"return;"),a=typeof u[t]=="function"}return a}function Ps(){Bt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function im(e,t,a,u){Yo(u);var f=cm(t,"onChange");if(f.length>0){var v=new oi("onChange","change",null,a,u);e.push({event:v,listeners:f})}}var gl=null,n=null;function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function s(e){var t=[];im(t,n,e,Yd(e)),gh(d,t)}function d(e){Fb(e,0)}function g(e){var t=jf(e);if(Pl(t))return e}function S(e,t){if(e==="change")return t}var x=!1;Et&&(x=Iy("input")&&(!document.documentMode||document.documentMode>9));function A(e,t){gl=e,n=t,gl.attachEvent("onpropertychange",K)}function F(){gl&&(gl.detachEvent("onpropertychange",K),gl=null,n=null)}function K(e){e.propertyName==="value"&&g(n)&&s(e)}function de(e,t,a){e==="focusin"?(F(),A(t,a)):e==="focusout"&&F()}function he(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return g(n)}function fe(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function De(e,t){if(e==="click")return g(t)}function ze(e,t){if(e==="input"||e==="change")return g(t)}function je(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ec(e,"number",e.value)}function pn(e,t,a,u,f,v,y){var E=a?jf(a):window,C,k;if(r(E)?C=S:As(E)?x?C=ze:(C=he,k=de):fe(E)&&(C=De),C){var _=C(t,a);if(_){im(e,_,u,f);return}}k&&k(t,E,a),t==="focusout"&&je(E)}function W(){Dt("onMouseEnter",["mouseout","mouseover"]),Dt("onMouseLeave",["mouseout","mouseover"]),Dt("onPointerEnter",["pointerout","pointerover"]),Dt("onPointerLeave",["pointerout","pointerover"])}function H(e,t,a,u,f,v,y){var E=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(E&&!Zu(u)){var k=u.relatedTarget||u.fromElement;if(k&&(Fs(k)||Gp(k)))return}if(!(!C&&!E)){var _;if(f.window===f)_=f;else{var B=f.ownerDocument;B?_=B.defaultView||B.parentWindow:_=window}var I,X;if(C){var Z=u.relatedTarget||u.toElement;if(I=a,X=Z?Fs(Z):null,X!==null){var te=ea(X);(X!==te||X.tag!==L&&X.tag!==M)&&(X=null)}}else I=null,X=a;if(I!==X){var Oe=Tp,We="onMouseLeave",Fe="onMouseEnter",dt="mouse";(t==="pointerout"||t==="pointerover")&&(Oe=Zh,We="onPointerLeave",Fe="onPointerEnter",dt="pointer");var ut=I==null?_:jf(I),G=X==null?_:jf(X),ne=new Oe(We,dt+"leave",I,u,f);ne.target=ut,ne.relatedTarget=G;var Y=null,me=Fs(f);if(me===a){var Me=new Oe(Fe,dt+"enter",X,u,f);Me.target=G,Me.relatedTarget=ut,Y=Me}MR(e,ne,Y,I,X)}}}function Q(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var pe=typeof Object.is=="function"?Object.is:Q;function Ae(e,t){if(pe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),u=Object.keys(t);if(a.length!==u.length)return!1;for(var f=0;f<a.length;f++){var v=a[f];if(!Kt.call(t,v)||!pe(e[v],t[v]))return!1}return!0}function Ye(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qe(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ze(e,t){for(var a=Ye(e),u=0,f=0;a;){if(a.nodeType===Ti){if(f=u+a.textContent.length,u<=t&&f>=t)return{node:a,offset:t-u};u=f}a=Ye(qe(a))}}function Fn(e){var t=e.ownerDocument,a=t&&t.defaultView||window,u=a.getSelection&&a.getSelection();if(!u||u.rangeCount===0)return null;var f=u.anchorNode,v=u.anchorOffset,y=u.focusNode,E=u.focusOffset;try{f.nodeType,y.nodeType}catch{return null}return yt(e,f,v,y,E)}function yt(e,t,a,u,f){var v=0,y=-1,E=-1,C=0,k=0,_=e,B=null;e:for(;;){for(var I=null;_===t&&(a===0||_.nodeType===Ti)&&(y=v+a),_===u&&(f===0||_.nodeType===Ti)&&(E=v+f),_.nodeType===Ti&&(v+=_.nodeValue.length),(I=_.firstChild)!==null;)B=_,_=I;for(;;){if(_===e)break e;if(B===t&&++C===a&&(y=v),B===u&&++k===f&&(E=v),(I=_.nextSibling)!==null)break;_=B,B=_.parentNode}_=I}return y===-1||E===-1?null:{start:y,end:E}}function yl(e,t){var a=e.ownerDocument||document,u=a&&a.defaultView||window;if(u.getSelection){var f=u.getSelection(),v=e.textContent.length,y=Math.min(t.start,v),E=t.end===void 0?y:Math.min(t.end,v);if(!f.extend&&y>E){var C=E;E=y,y=C}var k=Ze(e,y),_=Ze(e,E);if(k&&_){if(f.rangeCount===1&&f.anchorNode===k.node&&f.anchorOffset===k.offset&&f.focusNode===_.node&&f.focusOffset===_.offset)return;var B=a.createRange();B.setStart(k.node,k.offset),f.removeAllRanges(),y>E?(f.addRange(B),f.extend(_.node,_.offset)):(B.setEnd(_.node,_.offset),f.addRange(B))}}}function lm(e){return e&&e.nodeType===Ti}function kb(e,t){return!e||!t?!1:e===t?!0:lm(e)?!1:lm(t)?kb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function pR(e){return e&&e.ownerDocument&&kb(e.ownerDocument.documentElement,e)}function vR(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function Db(){for(var e=window,t=jl();t instanceof e.HTMLIFrameElement;){if(vR(t))e=t.contentWindow;else return t;t=jl(e.document)}return t}function Hy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function hR(){var e=Db();return{focusedElem:e,selectionRange:Hy(e)?gR(e):null}}function mR(e){var t=Db(),a=e.focusedElem,u=e.selectionRange;if(t!==a&&pR(a)){u!==null&&Hy(a)&&yR(a,u);for(var f=[],v=a;v=v.parentNode;)v.nodeType===zr&&f.push({element:v,left:v.scrollLeft,top:v.scrollTop});typeof a.focus=="function"&&a.focus();for(var y=0;y<f.length;y++){var E=f[y];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}}function gR(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Fn(e),t||{start:0,end:0}}function yR(e,t){var a=t.start,u=t.end;u===void 0&&(u=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(u,e.value.length)):yl(e,t)}var SR=Et&&"documentMode"in document&&document.documentMode<=11;function wR(){Bt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Lf=null,By=null,Np=null,Vy=!1;function bR(e){if("selectionStart"in e&&Hy(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function ER(e){return e.window===e?e.document:e.nodeType===Ci?e:e.ownerDocument}function _b(e,t,a){var u=ER(a);if(!(Vy||Lf==null||Lf!==jl(u))){var f=bR(Lf);if(!Np||!Ae(Np,f)){Np=f;var v=cm(By,"onSelect");if(v.length>0){var y=new oi("onSelect","select",null,t,a);e.push({event:y,listeners:v}),y.target=Lf}}}}function TR(e,t,a,u,f,v,y){var E=a?jf(a):window;switch(t){case"focusin":(As(E)||E.contentEditable==="true")&&(Lf=E,By=a,Np=null);break;case"focusout":Lf=null,By=null,Np=null;break;case"mousedown":Vy=!0;break;case"contextmenu":case"mouseup":case"dragend":Vy=!1,_b(e,u,f);break;case"selectionchange":if(SR)break;case"keydown":case"keyup":_b(e,u,f)}}function om(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Nf={animationend:om("Animation","AnimationEnd"),animationiteration:om("Animation","AnimationIteration"),animationstart:om("Animation","AnimationStart"),transitionend:om("Transition","TransitionEnd")},$y={},Mb={};Et&&(Mb=document.createElement("div").style,"AnimationEvent"in window||(delete Nf.animationend.animation,delete Nf.animationiteration.animation,delete Nf.animationstart.animation),"TransitionEvent"in window||delete Nf.transitionend.transition);function um(e){if($y[e])return $y[e];if(!Nf[e])return e;var t=Nf[e];for(var a in t)if(t.hasOwnProperty(a)&&a in Mb)return $y[e]=t[a];return e}var Lb=um("animationend"),Nb=um("animationiteration"),zb=um("animationstart"),Ab=um("transitionend"),Pb=new Map,jb=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function fu(e,t){Pb.set(e,t),Bt(t,[e])}function CR(){for(var e=0;e<jb.length;e++){var t=jb[e],a=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);fu(a,"on"+u)}fu(Lb,"onAnimationEnd"),fu(Nb,"onAnimationIteration"),fu(zb,"onAnimationStart"),fu("dblclick","onDoubleClick"),fu("focusin","onFocus"),fu("focusout","onBlur"),fu(Ab,"onTransitionEnd")}function xR(e,t,a,u,f,v,y){var E=Pb.get(t);if(E!==void 0){var C=oi,k=t;switch(t){case"keypress":if(vl(u)===0)return;case"keydown":case"keyup":C=Kh;break;case"focusin":k="focus",C=Ni;break;case"focusout":k="blur",C=Ni;break;case"beforeblur":case"afterblur":C=Ni;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=Tp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=so;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=em;break;case Lb:case Nb:case zb:C=Gh;break;case Ab:C=xa;break;case"scroll":C=$r;break;case"wheel":C=jy;break;case"copy":case"cut":case"paste":C=Cf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=Zh;break}var _=(v&ma)!==0;{var B=!_&&t==="scroll",I=DR(a,E,u.type,_,B);if(I.length>0){var X=new C(E,k,null,u,f);e.push({event:X,listeners:I})}}}}CR(),W(),Ps(),wR(),Uy();function RR(e,t,a,u,f,v,y){xR(e,t,a,u,f,v);var E=(v&Gd)===0;E&&(H(e,t,a,u,f),pn(e,t,a,u,f),TR(e,t,a,u,f),am(e,t,a,u,f))}var zp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Wy=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(zp));function Ub(e,t,a){var u=e.type||"unknown-event";e.currentTarget=a,Ka(u,t,void 0,e),e.currentTarget=null}function OR(e,t,a){var u;if(a)for(var f=t.length-1;f>=0;f--){var v=t[f],y=v.instance,E=v.currentTarget,C=v.listener;if(y!==u&&e.isPropagationStopped())return;Ub(e,C,E),u=y}else for(var k=0;k<t.length;k++){var _=t[k],B=_.instance,I=_.currentTarget,X=_.listener;if(B!==u&&e.isPropagationStopped())return;Ub(e,X,I),u=B}}function Fb(e,t){for(var a=(t&ma)!==0,u=0;u<e.length;u++){var f=e[u],v=f.event,y=f.listeners;OR(v,y,a)}ts()}function kR(e,t,a,u,f){var v=Yd(a),y=[];RR(y,e,u,a,v,t),Fb(y,t)}function Xt(e,t){Wy.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,u=ak(t),f=LR(e);u.has(f)||(Ib(t,e,Mc,a),u.add(f))}function Gy(e,t,a){Wy.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=ma),Ib(a,e,u,t)}var sm="_reactListening"+Math.random().toString(36).slice(2);function Ap(e){if(!e[sm]){e[sm]=!0,nt.forEach(function(a){a!=="selectionchange"&&(Wy.has(a)||Gy(a,!1,e),Gy(a,!0,e))});var t=e.nodeType===Ci?e:e.ownerDocument;t!==null&&(t[sm]||(t[sm]=!0,Gy("selectionchange",!1,t)))}}function Ib(e,t,a,u,f){var v=Qn(e,t,a),y=void 0;es&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(y=!0),e=e,u?y!==void 0?Ep(e,t,v,y):Vr(e,t,v):y!==void 0?ou(e,t,v,y):_s(e,t,v)}function Hb(e,t){return e===t||e.nodeType===gn&&e.parentNode===t}function Yy(e,t,a,u,f){var v=u;if((t&Wd)===0&&(t&Mc)===0){var y=f;if(u!==null){var E=u;e:for(;;){if(E===null)return;var C=E.tag;if(C===R||C===D){var k=E.stateNode.containerInfo;if(Hb(k,y))break;if(C===D)for(var _=E.return;_!==null;){var B=_.tag;if(B===R||B===D){var I=_.stateNode.containerInfo;if(Hb(I,y))return}_=_.return}for(;k!==null;){var X=Fs(k);if(X===null)return;var Z=X.tag;if(Z===L||Z===M){E=v=X;continue e}k=k.parentNode}}E=E.return}}}gh(function(){return kR(e,t,a,v)})}function Pp(e,t,a){return{instance:e,listener:t,currentTarget:a}}function DR(e,t,a,u,f,v){for(var y=t!==null?t+"Capture":null,E=u?y:t,C=[],k=e,_=null;k!==null;){var B=k,I=B.stateNode,X=B.tag;if(X===L&&I!==null&&(_=I,E!==null)){var Z=tl(k,E);Z!=null&&C.push(Pp(k,Z,_))}if(f)break;k=k.return}return C}function cm(e,t){for(var a=t+"Capture",u=[],f=e;f!==null;){var v=f,y=v.stateNode,E=v.tag;if(E===L&&y!==null){var C=y,k=tl(f,a);k!=null&&u.unshift(Pp(f,k,C));var _=tl(f,t);_!=null&&u.push(Pp(f,_,C))}f=f.return}return u}function zf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==L);return e||null}function _R(e,t){for(var a=e,u=t,f=0,v=a;v;v=zf(v))f++;for(var y=0,E=u;E;E=zf(E))y++;for(;f-y>0;)a=zf(a),f--;for(;y-f>0;)u=zf(u),y--;for(var C=f;C--;){if(a===u||u!==null&&a===u.alternate)return a;a=zf(a),u=zf(u)}return null}function Bb(e,t,a,u,f){for(var v=t._reactName,y=[],E=a;E!==null&&E!==u;){var C=E,k=C.alternate,_=C.stateNode,B=C.tag;if(k!==null&&k===u)break;if(B===L&&_!==null){var I=_;if(f){var X=tl(E,v);X!=null&&y.unshift(Pp(E,X,I))}else if(!f){var Z=tl(E,v);Z!=null&&y.push(Pp(E,Z,I))}}E=E.return}y.length!==0&&e.push({event:t,listeners:y})}function MR(e,t,a,u,f){var v=u&&f?_R(u,f):null;u!==null&&Bb(e,t,u,v,!1),f!==null&&a!==null&&Bb(e,a,f,v,!0)}function LR(e,t){return e+"__bubble"}var Ra=!1,jp="dangerouslySetInnerHTML",fm="suppressContentEditableWarning",du="suppressHydrationWarning",Vb="autoFocus",js="children",Us="style",dm="__html",qy,pm,Up,$b,vm,Wb,Gb;qy={dialog:!0,webview:!0},pm=function(e,t){Bd(e,t),Dc(e,t),vh(e,t,{registrationNameDependencies:pt,possibleRegistrationNames:zt})},Wb=Et&&!document.documentMode,Up=function(e,t,a){if(!Ra){var u=hm(a),f=hm(t);f!==u&&(Ra=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(f),JSON.stringify(u)))}},$b=function(e){if(!Ra){Ra=!0;var t=[];e.forEach(function(a){t.push(a)}),m("Extra attributes from the server: %s",t)}},vm=function(e,t){t===!1?m("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Gb=function(e,t){var a=e.namespaceURI===Ei?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var NR=/\r\n?/g,zR=/\u0000|\uFFFD/g;function hm(e){Mr(e);var t=typeof e=="string"?e:""+e;return t.replace(NR,`
78
- `).replace(zR,"")}function mm(e,t,a,u){var f=hm(t),v=hm(e);if(v!==f&&(u&&(Ra||(Ra=!0,m('Text content did not match. Server: "%s" Client: "%s"',v,f))),a&&$e))throw new Error("Text content does not match server-rendered HTML.")}function Yb(e){return e.nodeType===Ci?e:e.ownerDocument}function AR(){}function gm(e){e.onclick=AR}function PR(e,t,a,u,f){for(var v in u)if(u.hasOwnProperty(v)){var y=u[v];if(v===Us)y&&Object.freeze(y),uh(t,y);else if(v===jp){var E=y?y[dm]:void 0;E!=null&&Xv(t,E)}else if(v===js)if(typeof y=="string"){var C=e!=="textarea"||y!=="";C&&Vo(t,y)}else typeof y=="number"&&Vo(t,""+y);else v===fm||v===du||v===Vb||(pt.hasOwnProperty(v)?y!=null&&(typeof y!="function"&&vm(v,y),v==="onScroll"&&Xt("scroll",t)):y!=null&&gi(t,v,y,f))}}function jR(e,t,a,u){for(var f=0;f<t.length;f+=2){var v=t[f],y=t[f+1];v===Us?uh(e,y):v===jp?Xv(e,y):v===js?Vo(e,y):gi(e,v,y,u)}}function UR(e,t,a,u){var f,v=Yb(a),y,E=u;if(E===Ei&&(E=Ad(e)),E===Ei){if(f=Ji(e,t),!f&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=v.createElement("div");C.innerHTML="<script><\/script>";var k=C.firstChild;y=C.removeChild(k)}else if(typeof t.is=="string")y=v.createElement(e,{is:t.is});else if(y=v.createElement(e),e==="select"){var _=y;t.multiple?_.multiple=!0:t.size&&(_.size=t.size)}}else y=v.createElementNS(E,e);return E===Ei&&!f&&Object.prototype.toString.call(y)==="[object HTMLUnknownElement]"&&!Kt.call(qy,e)&&(qy[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),y}function FR(e,t){return Yb(t).createTextNode(e)}function IR(e,t,a,u){var f=Ji(t,a);pm(t,a);var v;switch(t){case"dialog":Xt("cancel",e),Xt("close",e),v=a;break;case"iframe":case"object":case"embed":Xt("load",e),v=a;break;case"video":case"audio":for(var y=0;y<zp.length;y++)Xt(zp[y],e);v=a;break;case"source":Xt("error",e),v=a;break;case"img":case"image":case"link":Xt("error",e),Xt("load",e),v=a;break;case"details":Xt("toggle",e),v=a;break;case"input":bi(e,a),v=yc(e,a),Xt("invalid",e);break;case"option":Ho(e,a),v=a;break;case"select":Cc(e,a),v=_d(e,a),Xt("invalid",e);break;case"textarea":Ld(e,a),v=Md(e,a),Xt("invalid",e);break;default:v=a}switch(Oc(t,v),PR(t,e,u,v,f),t){case"input":Zi(e),Od(e,a,!1);break;case"textarea":Zi(e),qv(e);break;case"option":cy(e,a);break;case"select":dy(e,a);break;default:typeof v.onClick=="function"&&gm(e);break}}function HR(e,t,a,u,f){pm(t,u);var v=null,y,E;switch(t){case"input":y=yc(e,a),E=yc(e,u),v=[];break;case"select":y=_d(e,a),E=_d(e,u),v=[];break;case"textarea":y=Md(e,a),E=Md(e,u),v=[];break;default:y=a,E=u,typeof y.onClick!="function"&&typeof E.onClick=="function"&&gm(e);break}Oc(t,E);var C,k,_=null;for(C in y)if(!(E.hasOwnProperty(C)||!y.hasOwnProperty(C)||y[C]==null))if(C===Us){var B=y[C];for(k in B)B.hasOwnProperty(k)&&(_||(_={}),_[k]="")}else C===jp||C===js||C===fm||C===du||C===Vb||(pt.hasOwnProperty(C)?v||(v=[]):(v=v||[]).push(C,null));for(C in E){var I=E[C],X=y!=null?y[C]:void 0;if(!(!E.hasOwnProperty(C)||I===X||I==null&&X==null))if(C===Us)if(I&&Object.freeze(I),X){for(k in X)X.hasOwnProperty(k)&&(!I||!I.hasOwnProperty(k))&&(_||(_={}),_[k]="");for(k in I)I.hasOwnProperty(k)&&X[k]!==I[k]&&(_||(_={}),_[k]=I[k])}else _||(v||(v=[]),v.push(C,_)),_=I;else if(C===jp){var Z=I?I[dm]:void 0,te=X?X[dm]:void 0;Z!=null&&te!==Z&&(v=v||[]).push(C,Z)}else C===js?(typeof I=="string"||typeof I=="number")&&(v=v||[]).push(C,""+I):C===fm||C===du||(pt.hasOwnProperty(C)?(I!=null&&(typeof I!="function"&&vm(C,I),C==="onScroll"&&Xt("scroll",e)),!v&&X!==I&&(v=[])):(v=v||[]).push(C,I))}return _&&(by(_,E[Us]),(v=v||[]).push(Us,_)),v}function BR(e,t,a,u,f){a==="input"&&f.type==="radio"&&f.name!=null&&Sc(e,f);var v=Ji(a,u),y=Ji(a,f);switch(jR(e,t,v,y),a){case"input":Io(e,f);break;case"textarea":Yv(e,f);break;case"select":py(e,f);break}}function VR(e){{var t=e.toLowerCase();return Xu.hasOwnProperty(t)&&Xu[t]||null}}function $R(e,t,a,u,f,v,y){var E,C;switch(E=Ji(t,a),pm(t,a),t){case"dialog":Xt("cancel",e),Xt("close",e);break;case"iframe":case"object":case"embed":Xt("load",e);break;case"video":case"audio":for(var k=0;k<zp.length;k++)Xt(zp[k],e);break;case"source":Xt("error",e);break;case"img":case"image":case"link":Xt("error",e),Xt("load",e);break;case"details":Xt("toggle",e);break;case"input":bi(e,a),Xt("invalid",e);break;case"option":Ho(e,a);break;case"select":Cc(e,a),Xt("invalid",e);break;case"textarea":Ld(e,a),Xt("invalid",e);break}Oc(t,a);{C=new Set;for(var _=e.attributes,B=0;B<_.length;B++){var I=_[B].name.toLowerCase();switch(I){case"value":break;case"checked":break;case"selected":break;default:C.add(_[B].name)}}}var X=null;for(var Z in a)if(a.hasOwnProperty(Z)){var te=a[Z];if(Z===js)typeof te=="string"?e.textContent!==te&&(a[du]!==!0&&mm(e.textContent,te,v,y),X=[js,te]):typeof te=="number"&&e.textContent!==""+te&&(a[du]!==!0&&mm(e.textContent,te,v,y),X=[js,""+te]);else if(pt.hasOwnProperty(Z))te!=null&&(typeof te!="function"&&vm(Z,te),Z==="onScroll"&&Xt("scroll",e));else if(y&&typeof E=="boolean"){var Oe=void 0,We=en(Z);if(a[du]!==!0){if(!(Z===fm||Z===du||Z==="value"||Z==="checked"||Z==="selected")){if(Z===jp){var Fe=e.innerHTML,dt=te?te[dm]:void 0;if(dt!=null){var ut=Gb(e,dt);ut!==Fe&&Up(Z,Fe,ut)}}else if(Z===Us){if(C.delete(Z),Wb){var G=Sy(te);Oe=e.getAttribute("style"),G!==Oe&&Up(Z,Oe,G)}}else if(E)C.delete(Z.toLowerCase()),Oe=Po(e,Z,te),te!==Oe&&Up(Z,Oe,te);else if(!Bn(Z,We,E)&&!Vn(Z,te,We,E)){var ne=!1;if(We!==null)C.delete(We.attributeName),Oe=mi(e,Z,te,We);else{var Y=u;if(Y===Ei&&(Y=Ad(t)),Y===Ei)C.delete(Z.toLowerCase());else{var me=VR(Z);me!==null&&me!==Z&&(ne=!0,C.delete(me)),C.delete(Z)}Oe=Po(e,Z,te)}var Me=tt;!Me&&te!==Oe&&!ne&&Up(Z,Oe,te)}}}}}switch(y&&C.size>0&&a[du]!==!0&&$b(C),t){case"input":Zi(e),Od(e,a,!0);break;case"textarea":Zi(e),qv(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&gm(e);break}return X}function WR(e,t,a){var u=e.nodeValue!==t;return u}function Qy(e,t){{if(Ra)return;Ra=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Xy(e,t){{if(Ra)return;Ra=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Ky(e,t,a){{if(Ra)return;Ra=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Zy(e,t){{if(t===""||Ra)return;Ra=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function GR(e,t,a){switch(t){case"input":wc(e,a);return;case"textarea":hy(e,a);return;case"select":vy(e,a);return}}var Fp=function(){},Ip=function(){};{var YR=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],qb=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],qR=qb.concat(["button"]),QR=["dd","dt","li","option","optgroup","p","rp","rt"],Qb={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Ip=function(e,t){var a=Ne({},e||Qb),u={tag:t};return qb.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),qR.indexOf(t)!==-1&&(a.pTagInButtonScope=null),YR.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=u,t==="form"&&(a.formTag=u),t==="a"&&(a.aTagInScope=u),t==="button"&&(a.buttonTagInScope=u),t==="nobr"&&(a.nobrTagInScope=u),t==="p"&&(a.pTagInButtonScope=u),t==="li"&&(a.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=u),a};var XR=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return QR.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},KR=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},Xb={};Fp=function(e,t,a){a=a||Qb;var u=a.current,f=u&&u.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var v=XR(e,f)?null:u,y=v?null:KR(e,a),E=v||y;if(E){var C=E.tag,k=!!v+"|"+e+"|"+C;if(!Xb[k]){Xb[k]=!0;var _=e,B="";if(e==="#text"?/\S/.test(t)?_="Text nodes":(_="Whitespace text nodes",B=" Make sure you don't have any extra whitespace between tags on each line of your source code."):_="<"+e+">",v){var I="";C==="table"&&e==="tr"&&(I+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",_,C,B,I)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",_,C)}}}}var ym="suppressHydrationWarning",Sm="$",wm="/$",Hp="$?",Bp="$!",ZR="style",Jy=null,eS=null;function JR(e){var t,a,u=e.nodeType;switch(u){case Ci:case jd:{t=u===Ci?"#document":"#fragment";var f=e.documentElement;a=f?f.namespaceURI:Pd(null,"");break}default:{var v=u===gn?e.parentNode:e,y=v.namespaceURI||null;t=v.tagName,a=Pd(y,t);break}}{var E=t.toLowerCase(),C=Ip(null,E);return{namespace:a,ancestorInfo:C}}}function eO(e,t,a){{var u=e,f=Pd(u.namespace,t),v=Ip(u.ancestorInfo,t);return{namespace:f,ancestorInfo:v}}}function n3(e){return e}function tO(e){Jy=Tn(),eS=hR();var t=null;return Ln(!1),t}function nO(e){mR(eS),Ln(Jy),Jy=null,eS=null}function rO(e,t,a,u,f){var v;{var y=u;if(Fp(e,null,y.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var E=""+t.children,C=Ip(y.ancestorInfo,e);Fp(null,E,C)}v=y.namespace}var k=UR(e,t,a,v);return Wp(f,k),uS(k,t),k}function aO(e,t){e.appendChild(t)}function iO(e,t,a,u,f){switch(IR(e,t,a,u),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function lO(e,t,a,u,f,v){{var y=v;if(typeof u.children!=typeof a.children&&(typeof u.children=="string"||typeof u.children=="number")){var E=""+u.children,C=Ip(y.ancestorInfo,t);Fp(null,E,C)}}return HR(e,t,a,u)}function tS(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function oO(e,t,a,u){{var f=a;Fp(null,e,f.ancestorInfo)}var v=FR(e,t);return Wp(u,v),v}function uO(){var e=window.event;return e===void 0?Ea:bf(e.type)}var nS=typeof setTimeout=="function"?setTimeout:void 0,sO=typeof clearTimeout=="function"?clearTimeout:void 0,rS=-1,Kb=typeof Promise=="function"?Promise:void 0,cO=typeof queueMicrotask=="function"?queueMicrotask:typeof Kb<"u"?function(e){return Kb.resolve(null).then(e).catch(fO)}:nS;function fO(e){setTimeout(function(){throw e})}function dO(e,t,a,u){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function pO(e,t,a,u,f,v){BR(e,t,a,u,f),uS(e,f)}function Zb(e){Vo(e,"")}function vO(e,t,a){e.nodeValue=a}function hO(e,t){e.appendChild(t)}function mO(e,t){var a;e.nodeType===gn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var u=e._reactRootContainer;u==null&&a.onclick===null&&gm(a)}function gO(e,t,a){e.insertBefore(t,a)}function yO(e,t,a){e.nodeType===gn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function SO(e,t){e.removeChild(t)}function wO(e,t){e.nodeType===gn?e.parentNode.removeChild(t):e.removeChild(t)}function aS(e,t){var a=t,u=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===gn){var v=f.data;if(v===wm)if(u===0){e.removeChild(f),lo(t);return}else u--;else(v===Sm||v===Hp||v===Bp)&&u++}a=f}while(a);lo(t)}function bO(e,t){e.nodeType===gn?aS(e.parentNode,t):e.nodeType===zr&&aS(e,t),lo(e)}function EO(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function TO(e){e.nodeValue=""}function CO(e,t){e=e;var a=t[ZR],u=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Rc("display",u)}function xO(e,t){e.nodeValue=t}function RO(e){e.nodeType===zr?e.textContent="":e.nodeType===Ci&&e.documentElement&&e.removeChild(e.documentElement)}function OO(e,t,a){return e.nodeType!==zr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function kO(e,t){return t===""||e.nodeType!==Ti?null:e}function DO(e){return e.nodeType!==gn?null:e}function Jb(e){return e.data===Hp}function iS(e){return e.data===Bp}function _O(e){var t=e.nextSibling&&e.nextSibling.dataset,a,u,f;return t&&(a=t.dgst,u=t.msg,f=t.stck),{message:u,digest:a,stack:f}}function MO(e,t){e._reactRetry=t}function bm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===zr||t===Ti)break;if(t===gn){var a=e.data;if(a===Sm||a===Bp||a===Hp)break;if(a===wm)return null}}return e}function Vp(e){return bm(e.nextSibling)}function LO(e){return bm(e.firstChild)}function NO(e){return bm(e.firstChild)}function zO(e){return bm(e.nextSibling)}function AO(e,t,a,u,f,v,y){Wp(v,e),uS(e,a);var E;{var C=f;E=C.namespace}var k=(v.mode&lt)!==Ve;return $R(e,t,a,E,u,k,y)}function PO(e,t,a,u){return Wp(a,e),a.mode&lt,WR(e,t)}function jO(e,t){Wp(t,e)}function UO(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===gn){var u=t.data;if(u===wm){if(a===0)return Vp(t);a--}else(u===Sm||u===Bp||u===Hp)&&a++}t=t.nextSibling}return null}function eE(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===gn){var u=t.data;if(u===Sm||u===Bp||u===Hp){if(a===0)return t;a--}else u===wm&&a++}t=t.previousSibling}return null}function FO(e){lo(e)}function IO(e){lo(e)}function HO(e){return e!=="head"&&e!=="body"}function BO(e,t,a,u){var f=!0;mm(t.nodeValue,a,u,f)}function VO(e,t,a,u,f,v){if(t[ym]!==!0){var y=!0;mm(u.nodeValue,f,v,y)}}function $O(e,t){t.nodeType===zr?Qy(e,t):t.nodeType===gn||Xy(e,t)}function WO(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===zr?Qy(a,t):t.nodeType===gn||Xy(a,t))}}function GO(e,t,a,u,f){(f||t[ym]!==!0)&&(u.nodeType===zr?Qy(a,u):u.nodeType===gn||Xy(a,u))}function YO(e,t,a){Ky(e,t)}function qO(e,t){Zy(e,t)}function QO(e,t,a){{var u=e.parentNode;u!==null&&Ky(u,t)}}function XO(e,t){{var a=e.parentNode;a!==null&&Zy(a,t)}}function KO(e,t,a,u,f,v){(v||t[ym]!==!0)&&Ky(a,u)}function ZO(e,t,a,u,f){(f||t[ym]!==!0)&&Zy(a,u)}function JO(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function ek(e){Ap(e)}var Af=Math.random().toString(36).slice(2),Pf="__reactFiber$"+Af,lS="__reactProps$"+Af,$p="__reactContainer$"+Af,oS="__reactEvents$"+Af,tk="__reactListeners$"+Af,nk="__reactHandles$"+Af;function rk(e){delete e[Pf],delete e[lS],delete e[oS],delete e[tk],delete e[nk]}function Wp(e,t){t[Pf]=e}function Em(e,t){t[$p]=e}function tE(e){e[$p]=null}function Gp(e){return!!e[$p]}function Fs(e){var t=e[Pf];if(t)return t;for(var a=e.parentNode;a;){if(t=a[$p]||a[Pf],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var f=eE(e);f!==null;){var v=f[Pf];if(v)return v;f=eE(f)}return t}e=a,a=e.parentNode}return null}function pu(e){var t=e[Pf]||e[$p];return t&&(t.tag===L||t.tag===M||t.tag===$||t.tag===R)?t:null}function jf(e){if(e.tag===L||e.tag===M)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Tm(e){return e[lS]||null}function uS(e,t){e[lS]=t}function ak(e){var t=e[oS];return t===void 0&&(t=e[oS]=new Set),t}var nE={},rE=o.ReactDebugCurrentFrame;function Cm(e){if(e){var t=e._owner,a=Al(e.type,e._source,t?t.type:null);rE.setExtraStackFrame(a)}else rE.setExtraStackFrame(null)}function Ai(e,t,a,u,f){{var v=Function.call.bind(Kt);for(var y in e)if(v(e,y)){var E=void 0;try{if(typeof e[y]!="function"){var C=Error((u||"React class")+": "+a+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}E=e[y](t,y,u,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(k){E=k}E&&!(E instanceof Error)&&(Cm(f),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",a,y,typeof E),Cm(null)),E instanceof Error&&!(E.message in nE)&&(nE[E.message]=!0,Cm(f),m("Failed %s type: %s",a,E.message),Cm(null))}}}var sS=[],xm;xm=[];var po=-1;function vu(e){return{current:e}}function Wr(e,t){if(po<0){m("Unexpected pop.");return}t!==xm[po]&&m("Unexpected Fiber popped."),e.current=sS[po],sS[po]=null,xm[po]=null,po--}function Gr(e,t,a){po++,sS[po]=e.current,xm[po]=a,e.current=t}var cS;cS={};var Ba={};Object.freeze(Ba);var vo=vu(Ba),Sl=vu(!1),fS=Ba;function Uf(e,t,a){return a&&wl(t)?fS:vo.current}function aE(e,t,a){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=a}}function Ff(e,t){{var a=e.type,u=a.contextTypes;if(!u)return Ba;var f=e.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===t)return f.__reactInternalMemoizedMaskedChildContext;var v={};for(var y in u)v[y]=t[y];{var E=rt(e)||"Unknown";Ai(u,v,"context",E)}return f&&aE(e,t,v),v}}function Rm(){return Sl.current}function wl(e){{var t=e.childContextTypes;return t!=null}}function Om(e){Wr(Sl,e),Wr(vo,e)}function dS(e){Wr(Sl,e),Wr(vo,e)}function iE(e,t,a){{if(vo.current!==Ba)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Gr(vo,t,e),Gr(Sl,a,e)}}function lE(e,t,a){{var u=e.stateNode,f=t.childContextTypes;if(typeof u.getChildContext!="function"){{var v=rt(e)||"Unknown";cS[v]||(cS[v]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",v,v))}return a}var y=u.getChildContext();for(var E in y)if(!(E in f))throw new Error((rt(e)||"Unknown")+'.getChildContext(): key "'+E+'" is not defined in childContextTypes.');{var C=rt(e)||"Unknown";Ai(f,y,"child context",C)}return Ne({},a,y)}}function km(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||Ba;return fS=vo.current,Gr(vo,a,e),Gr(Sl,Sl.current,e),!0}}function oE(e,t,a){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var f=lE(e,t,fS);u.__reactInternalMemoizedMergedChildContext=f,Wr(Sl,e),Wr(vo,e),Gr(vo,f,e),Gr(Sl,a,e)}else Wr(Sl,e),Gr(Sl,a,e)}}function ik(e){{if(!Gl(e)||e.tag!==T)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case R:return t.stateNode.context;case T:{var a=t.type;if(wl(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var hu=0,Dm=1,ho=null,pS=!1,vS=!1;function uE(e){ho===null?ho=[e]:ho.push(e)}function lk(e){pS=!0,uE(e)}function sE(){pS&&mu()}function mu(){if(!vS&&ho!==null){vS=!0;var e=0,t=Ca();try{var a=!0,u=ho;for(En(mr);e<u.length;e++){var f=u[e];do f=f(a);while(f!==null)}ho=null,pS=!1}catch(v){throw ho!==null&&(ho=ho.slice(e+1)),Qd(as,mu),v}finally{En(t),vS=!1}}return null}var If=[],Hf=0,_m=null,Mm=0,ui=[],si=0,Is=null,mo=1,go="";function ok(e){return Bs(),(e.flags&Za)!==Be}function uk(e){return Bs(),Mm}function sk(){var e=go,t=mo,a=t&~ck(t);return a.toString(32)+e}function Hs(e,t){Bs(),If[Hf++]=Mm,If[Hf++]=_m,_m=e,Mm=t}function cE(e,t,a){Bs(),ui[si++]=mo,ui[si++]=go,ui[si++]=Is,Is=e;var u=mo,f=go,v=Lm(u)-1,y=u&~(1<<v),E=a+1,C=Lm(t)+v;if(C>30){var k=v-v%5,_=(1<<k)-1,B=(y&_).toString(32),I=y>>k,X=v-k,Z=Lm(t)+X,te=E<<X,Oe=te|I,We=B+f;mo=1<<Z|Oe,go=We}else{var Fe=E<<v,dt=Fe|y,ut=f;mo=1<<C|dt,go=ut}}function hS(e){Bs();var t=e.return;if(t!==null){var a=1,u=0;Hs(e,a),cE(e,a,u)}}function Lm(e){return 32-wn(e)}function ck(e){return 1<<Lm(e)-1}function mS(e){for(;e===_m;)_m=If[--Hf],If[Hf]=null,Mm=If[--Hf],If[Hf]=null;for(;e===Is;)Is=ui[--si],ui[si]=null,go=ui[--si],ui[si]=null,mo=ui[--si],ui[si]=null}function fk(){return Bs(),Is!==null?{id:mo,overflow:go}:null}function dk(e,t){Bs(),ui[si++]=mo,ui[si++]=go,ui[si++]=Is,mo=t.id,go=t.overflow,Is=e}function Bs(){br()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var wr=null,ci=null,Pi=!1,Vs=!1,gu=null;function pk(){Pi&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function fE(){Vs=!0}function vk(){return Vs}function hk(e){var t=e.stateNode.containerInfo;return ci=NO(t),wr=e,Pi=!0,gu=null,Vs=!1,!0}function mk(e,t,a){return ci=zO(t),wr=e,Pi=!0,gu=null,Vs=!1,a!==null&&dk(e,a),!0}function dE(e,t){switch(e.tag){case R:{$O(e.stateNode.containerInfo,t);break}case L:{var a=(e.mode&lt)!==Ve;GO(e.type,e.memoizedProps,e.stateNode,t,a);break}case $:{var u=e.memoizedState;u.dehydrated!==null&&WO(u.dehydrated,t);break}}}function pE(e,t){dE(e,t);var a=wM();a.stateNode=t,a.return=e;var u=e.deletions;u===null?(e.deletions=[a],e.flags|=ga):u.push(a)}function gS(e,t){{if(Vs)return;switch(e.tag){case R:{var a=e.stateNode.containerInfo;switch(t.tag){case L:var u=t.type;t.pendingProps,YO(a,u);break;case M:var f=t.pendingProps;qO(a,f);break}break}case L:{var v=e.type,y=e.memoizedProps,E=e.stateNode;switch(t.tag){case L:{var C=t.type,k=t.pendingProps,_=(e.mode&lt)!==Ve;KO(v,y,E,C,k,_);break}case M:{var B=t.pendingProps,I=(e.mode&lt)!==Ve;ZO(v,y,E,B,I);break}}break}case $:{var X=e.memoizedState,Z=X.dehydrated;if(Z!==null)switch(t.tag){case L:var te=t.type;t.pendingProps,QO(Z,te);break;case M:var Oe=t.pendingProps;XO(Z,Oe);break}break}default:return}}}function vE(e,t){t.flags=t.flags&-4097|un,gS(e,t)}function hE(e,t){switch(e.tag){case L:{var a=e.type;e.pendingProps;var u=OO(t,a);return u!==null?(e.stateNode=u,wr=e,ci=LO(u),!0):!1}case M:{var f=e.pendingProps,v=kO(t,f);return v!==null?(e.stateNode=v,wr=e,ci=null,!0):!1}case $:{var y=DO(t);if(y!==null){var E={dehydrated:y,treeContext:fk(),retryLane:aa};e.memoizedState=E;var C=bM(y);return C.return=e,e.child=C,wr=e,ci=null,!0}return!1}default:return!1}}function yS(e){return(e.mode&lt)!==Ve&&(e.flags&He)===Be}function SS(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function wS(e){if(Pi){var t=ci;if(!t){yS(e)&&(gS(wr,e),SS()),vE(wr,e),Pi=!1,wr=e;return}var a=t;if(!hE(e,t)){yS(e)&&(gS(wr,e),SS()),t=Vp(a);var u=wr;if(!t||!hE(e,t)){vE(wr,e),Pi=!1,wr=e;return}pE(u,a)}}}function gk(e,t,a){var u=e.stateNode,f=!Vs,v=AO(u,e.type,e.memoizedProps,t,a,e,f);return e.updateQueue=v,v!==null}function yk(e){var t=e.stateNode,a=e.memoizedProps,u=PO(t,a,e);if(u){var f=wr;if(f!==null)switch(f.tag){case R:{var v=f.stateNode.containerInfo,y=(f.mode&lt)!==Ve;BO(v,t,a,y);break}case L:{var E=f.type,C=f.memoizedProps,k=f.stateNode,_=(f.mode&lt)!==Ve;VO(E,C,k,t,a,_);break}}}return u}function Sk(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");jO(a,e)}function wk(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return UO(a)}function mE(e){for(var t=e.return;t!==null&&t.tag!==L&&t.tag!==R&&t.tag!==$;)t=t.return;wr=t}function Nm(e){if(e!==wr)return!1;if(!Pi)return mE(e),Pi=!0,!1;if(e.tag!==R&&(e.tag!==L||HO(e.type)&&!tS(e.type,e.memoizedProps))){var t=ci;if(t)if(yS(e))gE(e),SS();else for(;t;)pE(e,t),t=Vp(t)}return mE(e),e.tag===$?ci=wk(e):ci=wr?Vp(e.stateNode):null,!0}function bk(){return Pi&&ci!==null}function gE(e){for(var t=ci;t;)dE(e,t),t=Vp(t)}function Bf(){wr=null,ci=null,Pi=!1,Vs=!1}function yE(){gu!==null&&(fC(gu),gu=null)}function br(){return Pi}function bS(e){gu===null?gu=[e]:gu.push(e)}var Ek=o.ReactCurrentBatchConfig,Tk=null;function Ck(){return Ek.transition}var ji={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var xk=function(e){for(var t=null,a=e;a!==null;)a.mode&Mt&&(t=a),a=a.return;return t},$s=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},Yp=[],qp=[],Qp=[],Xp=[],Kp=[],Zp=[],Ws=new Set;ji.recordUnsafeLifecycleWarnings=function(e,t){Ws.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Yp.push(e),e.mode&Mt&&typeof t.UNSAFE_componentWillMount=="function"&&qp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Qp.push(e),e.mode&Mt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Xp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Kp.push(e),e.mode&Mt&&typeof t.UNSAFE_componentWillUpdate=="function"&&Zp.push(e))},ji.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Yp.length>0&&(Yp.forEach(function(I){e.add(rt(I)||"Component"),Ws.add(I.type)}),Yp=[]);var t=new Set;qp.length>0&&(qp.forEach(function(I){t.add(rt(I)||"Component"),Ws.add(I.type)}),qp=[]);var a=new Set;Qp.length>0&&(Qp.forEach(function(I){a.add(rt(I)||"Component"),Ws.add(I.type)}),Qp=[]);var u=new Set;Xp.length>0&&(Xp.forEach(function(I){u.add(rt(I)||"Component"),Ws.add(I.type)}),Xp=[]);var f=new Set;Kp.length>0&&(Kp.forEach(function(I){f.add(rt(I)||"Component"),Ws.add(I.type)}),Kp=[]);var v=new Set;if(Zp.length>0&&(Zp.forEach(function(I){v.add(rt(I)||"Component"),Ws.add(I.type)}),Zp=[]),t.size>0){var y=$s(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
78
+ `).replace(zR,"")}function mm(e,t,a,u){var f=hm(t),v=hm(e);if(v!==f&&(u&&(Ra||(Ra=!0,m('Text content did not match. Server: "%s" Client: "%s"',v,f))),a&&$e))throw new Error("Text content does not match server-rendered HTML.")}function Yb(e){return e.nodeType===Ci?e:e.ownerDocument}function AR(){}function gm(e){e.onclick=AR}function PR(e,t,a,u,f){for(var v in u)if(u.hasOwnProperty(v)){var y=u[v];if(v===Us)y&&Object.freeze(y),uh(t,y);else if(v===jp){var E=y?y[dm]:void 0;E!=null&&Xv(t,E)}else if(v===js)if(typeof y=="string"){var C=e!=="textarea"||y!=="";C&&Vo(t,y)}else typeof y=="number"&&Vo(t,""+y);else v===fm||v===du||v===Vb||(pt.hasOwnProperty(v)?y!=null&&(typeof y!="function"&&vm(v,y),v==="onScroll"&&Xt("scroll",t)):y!=null&&gi(t,v,y,f))}}function jR(e,t,a,u){for(var f=0;f<t.length;f+=2){var v=t[f],y=t[f+1];v===Us?uh(e,y):v===jp?Xv(e,y):v===js?Vo(e,y):gi(e,v,y,u)}}function UR(e,t,a,u){var f,v=Yb(a),y,E=u;if(E===Ei&&(E=Ad(e)),E===Ei){if(f=Ji(e,t),!f&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=v.createElement("div");C.innerHTML="<script><\/script>";var k=C.firstChild;y=C.removeChild(k)}else if(typeof t.is=="string")y=v.createElement(e,{is:t.is});else if(y=v.createElement(e),e==="select"){var _=y;t.multiple?_.multiple=!0:t.size&&(_.size=t.size)}}else y=v.createElementNS(E,e);return E===Ei&&!f&&Object.prototype.toString.call(y)==="[object HTMLUnknownElement]"&&!Kt.call(qy,e)&&(qy[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),y}function FR(e,t){return Yb(t).createTextNode(e)}function IR(e,t,a,u){var f=Ji(t,a);pm(t,a);var v;switch(t){case"dialog":Xt("cancel",e),Xt("close",e),v=a;break;case"iframe":case"object":case"embed":Xt("load",e),v=a;break;case"video":case"audio":for(var y=0;y<zp.length;y++)Xt(zp[y],e);v=a;break;case"source":Xt("error",e),v=a;break;case"img":case"image":case"link":Xt("error",e),Xt("load",e),v=a;break;case"details":Xt("toggle",e),v=a;break;case"input":bi(e,a),v=yc(e,a),Xt("invalid",e);break;case"option":Ho(e,a),v=a;break;case"select":Cc(e,a),v=_d(e,a),Xt("invalid",e);break;case"textarea":Ld(e,a),v=Md(e,a),Xt("invalid",e);break;default:v=a}switch(Oc(t,v),PR(t,e,u,v,f),t){case"input":Zi(e),Od(e,a,!1);break;case"textarea":Zi(e),qv(e);break;case"option":cy(e,a);break;case"select":dy(e,a);break;default:typeof v.onClick=="function"&&gm(e);break}}function HR(e,t,a,u,f){pm(t,u);var v=null,y,E;switch(t){case"input":y=yc(e,a),E=yc(e,u),v=[];break;case"select":y=_d(e,a),E=_d(e,u),v=[];break;case"textarea":y=Md(e,a),E=Md(e,u),v=[];break;default:y=a,E=u,typeof y.onClick!="function"&&typeof E.onClick=="function"&&gm(e);break}Oc(t,E);var C,k,_=null;for(C in y)if(!(E.hasOwnProperty(C)||!y.hasOwnProperty(C)||y[C]==null))if(C===Us){var B=y[C];for(k in B)B.hasOwnProperty(k)&&(_||(_={}),_[k]="")}else C===jp||C===js||C===fm||C===du||C===Vb||(pt.hasOwnProperty(C)?v||(v=[]):(v=v||[]).push(C,null));for(C in E){var I=E[C],X=y!=null?y[C]:void 0;if(!(!E.hasOwnProperty(C)||I===X||I==null&&X==null))if(C===Us)if(I&&Object.freeze(I),X){for(k in X)X.hasOwnProperty(k)&&(!I||!I.hasOwnProperty(k))&&(_||(_={}),_[k]="");for(k in I)I.hasOwnProperty(k)&&X[k]!==I[k]&&(_||(_={}),_[k]=I[k])}else _||(v||(v=[]),v.push(C,_)),_=I;else if(C===jp){var Z=I?I[dm]:void 0,te=X?X[dm]:void 0;Z!=null&&te!==Z&&(v=v||[]).push(C,Z)}else C===js?(typeof I=="string"||typeof I=="number")&&(v=v||[]).push(C,""+I):C===fm||C===du||(pt.hasOwnProperty(C)?(I!=null&&(typeof I!="function"&&vm(C,I),C==="onScroll"&&Xt("scroll",e)),!v&&X!==I&&(v=[])):(v=v||[]).push(C,I))}return _&&(by(_,E[Us]),(v=v||[]).push(Us,_)),v}function BR(e,t,a,u,f){a==="input"&&f.type==="radio"&&f.name!=null&&Sc(e,f);var v=Ji(a,u),y=Ji(a,f);switch(jR(e,t,v,y),a){case"input":Io(e,f);break;case"textarea":Yv(e,f);break;case"select":py(e,f);break}}function VR(e){{var t=e.toLowerCase();return Xu.hasOwnProperty(t)&&Xu[t]||null}}function $R(e,t,a,u,f,v,y){var E,C;switch(E=Ji(t,a),pm(t,a),t){case"dialog":Xt("cancel",e),Xt("close",e);break;case"iframe":case"object":case"embed":Xt("load",e);break;case"video":case"audio":for(var k=0;k<zp.length;k++)Xt(zp[k],e);break;case"source":Xt("error",e);break;case"img":case"image":case"link":Xt("error",e),Xt("load",e);break;case"details":Xt("toggle",e);break;case"input":bi(e,a),Xt("invalid",e);break;case"option":Ho(e,a);break;case"select":Cc(e,a),Xt("invalid",e);break;case"textarea":Ld(e,a),Xt("invalid",e);break}Oc(t,a);{C=new Set;for(var _=e.attributes,B=0;B<_.length;B++){var I=_[B].name.toLowerCase();switch(I){case"value":break;case"checked":break;case"selected":break;default:C.add(_[B].name)}}}var X=null;for(var Z in a)if(a.hasOwnProperty(Z)){var te=a[Z];if(Z===js)typeof te=="string"?e.textContent!==te&&(a[du]!==!0&&mm(e.textContent,te,v,y),X=[js,te]):typeof te=="number"&&e.textContent!==""+te&&(a[du]!==!0&&mm(e.textContent,te,v,y),X=[js,""+te]);else if(pt.hasOwnProperty(Z))te!=null&&(typeof te!="function"&&vm(Z,te),Z==="onScroll"&&Xt("scroll",e));else if(y&&typeof E=="boolean"){var Oe=void 0,We=en(Z);if(a[du]!==!0){if(!(Z===fm||Z===du||Z==="value"||Z==="checked"||Z==="selected")){if(Z===jp){var Fe=e.innerHTML,dt=te?te[dm]:void 0;if(dt!=null){var ut=Gb(e,dt);ut!==Fe&&Up(Z,Fe,ut)}}else if(Z===Us){if(C.delete(Z),Wb){var G=Sy(te);Oe=e.getAttribute("style"),G!==Oe&&Up(Z,Oe,G)}}else if(E)C.delete(Z.toLowerCase()),Oe=Po(e,Z,te),te!==Oe&&Up(Z,Oe,te);else if(!Bn(Z,We,E)&&!Vn(Z,te,We,E)){var ne=!1;if(We!==null)C.delete(We.attributeName),Oe=mi(e,Z,te,We);else{var Y=u;if(Y===Ei&&(Y=Ad(t)),Y===Ei)C.delete(Z.toLowerCase());else{var me=VR(Z);me!==null&&me!==Z&&(ne=!0,C.delete(me)),C.delete(Z)}Oe=Po(e,Z,te)}var Me=tt;!Me&&te!==Oe&&!ne&&Up(Z,Oe,te)}}}}}switch(y&&C.size>0&&a[du]!==!0&&$b(C),t){case"input":Zi(e),Od(e,a,!0);break;case"textarea":Zi(e),qv(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&gm(e);break}return X}function WR(e,t,a){var u=e.nodeValue!==t;return u}function Qy(e,t){{if(Ra)return;Ra=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Xy(e,t){{if(Ra)return;Ra=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Ky(e,t,a){{if(Ra)return;Ra=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Zy(e,t){{if(t===""||Ra)return;Ra=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function GR(e,t,a){switch(t){case"input":wc(e,a);return;case"textarea":hy(e,a);return;case"select":vy(e,a);return}}var Fp=function(){},Ip=function(){};{var YR=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],qb=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],qR=qb.concat(["button"]),QR=["dd","dt","li","option","optgroup","p","rp","rt"],Qb={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Ip=function(e,t){var a=Ne({},e||Qb),u={tag:t};return qb.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),qR.indexOf(t)!==-1&&(a.pTagInButtonScope=null),YR.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=u,t==="form"&&(a.formTag=u),t==="a"&&(a.aTagInScope=u),t==="button"&&(a.buttonTagInScope=u),t==="nobr"&&(a.nobrTagInScope=u),t==="p"&&(a.pTagInButtonScope=u),t==="li"&&(a.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=u),a};var XR=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return QR.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},KR=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},Xb={};Fp=function(e,t,a){a=a||Qb;var u=a.current,f=u&&u.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var v=XR(e,f)?null:u,y=v?null:KR(e,a),E=v||y;if(E){var C=E.tag,k=!!v+"|"+e+"|"+C;if(!Xb[k]){Xb[k]=!0;var _=e,B="";if(e==="#text"?/\S/.test(t)?_="Text nodes":(_="Whitespace text nodes",B=" Make sure you don't have any extra whitespace between tags on each line of your source code."):_="<"+e+">",v){var I="";C==="table"&&e==="tr"&&(I+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",_,C,B,I)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",_,C)}}}}var ym="suppressHydrationWarning",Sm="$",wm="/$",Hp="$?",Bp="$!",ZR="style",Jy=null,eS=null;function JR(e){var t,a,u=e.nodeType;switch(u){case Ci:case jd:{t=u===Ci?"#document":"#fragment";var f=e.documentElement;a=f?f.namespaceURI:Pd(null,"");break}default:{var v=u===gn?e.parentNode:e,y=v.namespaceURI||null;t=v.tagName,a=Pd(y,t);break}}{var E=t.toLowerCase(),C=Ip(null,E);return{namespace:a,ancestorInfo:C}}}function eO(e,t,a){{var u=e,f=Pd(u.namespace,t),v=Ip(u.ancestorInfo,t);return{namespace:f,ancestorInfo:v}}}function r3(e){return e}function tO(e){Jy=Tn(),eS=hR();var t=null;return Ln(!1),t}function nO(e){mR(eS),Ln(Jy),Jy=null,eS=null}function rO(e,t,a,u,f){var v;{var y=u;if(Fp(e,null,y.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var E=""+t.children,C=Ip(y.ancestorInfo,e);Fp(null,E,C)}v=y.namespace}var k=UR(e,t,a,v);return Wp(f,k),uS(k,t),k}function aO(e,t){e.appendChild(t)}function iO(e,t,a,u,f){switch(IR(e,t,a,u),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function lO(e,t,a,u,f,v){{var y=v;if(typeof u.children!=typeof a.children&&(typeof u.children=="string"||typeof u.children=="number")){var E=""+u.children,C=Ip(y.ancestorInfo,t);Fp(null,E,C)}}return HR(e,t,a,u)}function tS(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function oO(e,t,a,u){{var f=a;Fp(null,e,f.ancestorInfo)}var v=FR(e,t);return Wp(u,v),v}function uO(){var e=window.event;return e===void 0?Ea:bf(e.type)}var nS=typeof setTimeout=="function"?setTimeout:void 0,sO=typeof clearTimeout=="function"?clearTimeout:void 0,rS=-1,Kb=typeof Promise=="function"?Promise:void 0,cO=typeof queueMicrotask=="function"?queueMicrotask:typeof Kb<"u"?function(e){return Kb.resolve(null).then(e).catch(fO)}:nS;function fO(e){setTimeout(function(){throw e})}function dO(e,t,a,u){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function pO(e,t,a,u,f,v){BR(e,t,a,u,f),uS(e,f)}function Zb(e){Vo(e,"")}function vO(e,t,a){e.nodeValue=a}function hO(e,t){e.appendChild(t)}function mO(e,t){var a;e.nodeType===gn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var u=e._reactRootContainer;u==null&&a.onclick===null&&gm(a)}function gO(e,t,a){e.insertBefore(t,a)}function yO(e,t,a){e.nodeType===gn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function SO(e,t){e.removeChild(t)}function wO(e,t){e.nodeType===gn?e.parentNode.removeChild(t):e.removeChild(t)}function aS(e,t){var a=t,u=0;do{var f=a.nextSibling;if(e.removeChild(a),f&&f.nodeType===gn){var v=f.data;if(v===wm)if(u===0){e.removeChild(f),lo(t);return}else u--;else(v===Sm||v===Hp||v===Bp)&&u++}a=f}while(a);lo(t)}function bO(e,t){e.nodeType===gn?aS(e.parentNode,t):e.nodeType===zr&&aS(e,t),lo(e)}function EO(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function TO(e){e.nodeValue=""}function CO(e,t){e=e;var a=t[ZR],u=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Rc("display",u)}function xO(e,t){e.nodeValue=t}function RO(e){e.nodeType===zr?e.textContent="":e.nodeType===Ci&&e.documentElement&&e.removeChild(e.documentElement)}function OO(e,t,a){return e.nodeType!==zr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function kO(e,t){return t===""||e.nodeType!==Ti?null:e}function DO(e){return e.nodeType!==gn?null:e}function Jb(e){return e.data===Hp}function iS(e){return e.data===Bp}function _O(e){var t=e.nextSibling&&e.nextSibling.dataset,a,u,f;return t&&(a=t.dgst,u=t.msg,f=t.stck),{message:u,digest:a,stack:f}}function MO(e,t){e._reactRetry=t}function bm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===zr||t===Ti)break;if(t===gn){var a=e.data;if(a===Sm||a===Bp||a===Hp)break;if(a===wm)return null}}return e}function Vp(e){return bm(e.nextSibling)}function LO(e){return bm(e.firstChild)}function NO(e){return bm(e.firstChild)}function zO(e){return bm(e.nextSibling)}function AO(e,t,a,u,f,v,y){Wp(v,e),uS(e,a);var E;{var C=f;E=C.namespace}var k=(v.mode&lt)!==Ve;return $R(e,t,a,E,u,k,y)}function PO(e,t,a,u){return Wp(a,e),a.mode&lt,WR(e,t)}function jO(e,t){Wp(t,e)}function UO(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===gn){var u=t.data;if(u===wm){if(a===0)return Vp(t);a--}else(u===Sm||u===Bp||u===Hp)&&a++}t=t.nextSibling}return null}function eE(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===gn){var u=t.data;if(u===Sm||u===Bp||u===Hp){if(a===0)return t;a--}else u===wm&&a++}t=t.previousSibling}return null}function FO(e){lo(e)}function IO(e){lo(e)}function HO(e){return e!=="head"&&e!=="body"}function BO(e,t,a,u){var f=!0;mm(t.nodeValue,a,u,f)}function VO(e,t,a,u,f,v){if(t[ym]!==!0){var y=!0;mm(u.nodeValue,f,v,y)}}function $O(e,t){t.nodeType===zr?Qy(e,t):t.nodeType===gn||Xy(e,t)}function WO(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===zr?Qy(a,t):t.nodeType===gn||Xy(a,t))}}function GO(e,t,a,u,f){(f||t[ym]!==!0)&&(u.nodeType===zr?Qy(a,u):u.nodeType===gn||Xy(a,u))}function YO(e,t,a){Ky(e,t)}function qO(e,t){Zy(e,t)}function QO(e,t,a){{var u=e.parentNode;u!==null&&Ky(u,t)}}function XO(e,t){{var a=e.parentNode;a!==null&&Zy(a,t)}}function KO(e,t,a,u,f,v){(v||t[ym]!==!0)&&Ky(a,u)}function ZO(e,t,a,u,f){(f||t[ym]!==!0)&&Zy(a,u)}function JO(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function ek(e){Ap(e)}var Af=Math.random().toString(36).slice(2),Pf="__reactFiber$"+Af,lS="__reactProps$"+Af,$p="__reactContainer$"+Af,oS="__reactEvents$"+Af,tk="__reactListeners$"+Af,nk="__reactHandles$"+Af;function rk(e){delete e[Pf],delete e[lS],delete e[oS],delete e[tk],delete e[nk]}function Wp(e,t){t[Pf]=e}function Em(e,t){t[$p]=e}function tE(e){e[$p]=null}function Gp(e){return!!e[$p]}function Fs(e){var t=e[Pf];if(t)return t;for(var a=e.parentNode;a;){if(t=a[$p]||a[Pf],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var f=eE(e);f!==null;){var v=f[Pf];if(v)return v;f=eE(f)}return t}e=a,a=e.parentNode}return null}function pu(e){var t=e[Pf]||e[$p];return t&&(t.tag===L||t.tag===M||t.tag===$||t.tag===R)?t:null}function jf(e){if(e.tag===L||e.tag===M)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Tm(e){return e[lS]||null}function uS(e,t){e[lS]=t}function ak(e){var t=e[oS];return t===void 0&&(t=e[oS]=new Set),t}var nE={},rE=o.ReactDebugCurrentFrame;function Cm(e){if(e){var t=e._owner,a=Al(e.type,e._source,t?t.type:null);rE.setExtraStackFrame(a)}else rE.setExtraStackFrame(null)}function Ai(e,t,a,u,f){{var v=Function.call.bind(Kt);for(var y in e)if(v(e,y)){var E=void 0;try{if(typeof e[y]!="function"){var C=Error((u||"React class")+": "+a+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}E=e[y](t,y,u,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(k){E=k}E&&!(E instanceof Error)&&(Cm(f),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",a,y,typeof E),Cm(null)),E instanceof Error&&!(E.message in nE)&&(nE[E.message]=!0,Cm(f),m("Failed %s type: %s",a,E.message),Cm(null))}}}var sS=[],xm;xm=[];var po=-1;function vu(e){return{current:e}}function Wr(e,t){if(po<0){m("Unexpected pop.");return}t!==xm[po]&&m("Unexpected Fiber popped."),e.current=sS[po],sS[po]=null,xm[po]=null,po--}function Gr(e,t,a){po++,sS[po]=e.current,xm[po]=a,e.current=t}var cS;cS={};var Ba={};Object.freeze(Ba);var vo=vu(Ba),Sl=vu(!1),fS=Ba;function Uf(e,t,a){return a&&wl(t)?fS:vo.current}function aE(e,t,a){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=a}}function Ff(e,t){{var a=e.type,u=a.contextTypes;if(!u)return Ba;var f=e.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===t)return f.__reactInternalMemoizedMaskedChildContext;var v={};for(var y in u)v[y]=t[y];{var E=rt(e)||"Unknown";Ai(u,v,"context",E)}return f&&aE(e,t,v),v}}function Rm(){return Sl.current}function wl(e){{var t=e.childContextTypes;return t!=null}}function Om(e){Wr(Sl,e),Wr(vo,e)}function dS(e){Wr(Sl,e),Wr(vo,e)}function iE(e,t,a){{if(vo.current!==Ba)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Gr(vo,t,e),Gr(Sl,a,e)}}function lE(e,t,a){{var u=e.stateNode,f=t.childContextTypes;if(typeof u.getChildContext!="function"){{var v=rt(e)||"Unknown";cS[v]||(cS[v]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",v,v))}return a}var y=u.getChildContext();for(var E in y)if(!(E in f))throw new Error((rt(e)||"Unknown")+'.getChildContext(): key "'+E+'" is not defined in childContextTypes.');{var C=rt(e)||"Unknown";Ai(f,y,"child context",C)}return Ne({},a,y)}}function km(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||Ba;return fS=vo.current,Gr(vo,a,e),Gr(Sl,Sl.current,e),!0}}function oE(e,t,a){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var f=lE(e,t,fS);u.__reactInternalMemoizedMergedChildContext=f,Wr(Sl,e),Wr(vo,e),Gr(vo,f,e),Gr(Sl,a,e)}else Wr(Sl,e),Gr(Sl,a,e)}}function ik(e){{if(!Gl(e)||e.tag!==T)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case R:return t.stateNode.context;case T:{var a=t.type;if(wl(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var hu=0,Dm=1,ho=null,pS=!1,vS=!1;function uE(e){ho===null?ho=[e]:ho.push(e)}function lk(e){pS=!0,uE(e)}function sE(){pS&&mu()}function mu(){if(!vS&&ho!==null){vS=!0;var e=0,t=Ca();try{var a=!0,u=ho;for(En(mr);e<u.length;e++){var f=u[e];do f=f(a);while(f!==null)}ho=null,pS=!1}catch(v){throw ho!==null&&(ho=ho.slice(e+1)),Qd(as,mu),v}finally{En(t),vS=!1}}return null}var If=[],Hf=0,_m=null,Mm=0,ui=[],si=0,Is=null,mo=1,go="";function ok(e){return Bs(),(e.flags&Za)!==Be}function uk(e){return Bs(),Mm}function sk(){var e=go,t=mo,a=t&~ck(t);return a.toString(32)+e}function Hs(e,t){Bs(),If[Hf++]=Mm,If[Hf++]=_m,_m=e,Mm=t}function cE(e,t,a){Bs(),ui[si++]=mo,ui[si++]=go,ui[si++]=Is,Is=e;var u=mo,f=go,v=Lm(u)-1,y=u&~(1<<v),E=a+1,C=Lm(t)+v;if(C>30){var k=v-v%5,_=(1<<k)-1,B=(y&_).toString(32),I=y>>k,X=v-k,Z=Lm(t)+X,te=E<<X,Oe=te|I,We=B+f;mo=1<<Z|Oe,go=We}else{var Fe=E<<v,dt=Fe|y,ut=f;mo=1<<C|dt,go=ut}}function hS(e){Bs();var t=e.return;if(t!==null){var a=1,u=0;Hs(e,a),cE(e,a,u)}}function Lm(e){return 32-wn(e)}function ck(e){return 1<<Lm(e)-1}function mS(e){for(;e===_m;)_m=If[--Hf],If[Hf]=null,Mm=If[--Hf],If[Hf]=null;for(;e===Is;)Is=ui[--si],ui[si]=null,go=ui[--si],ui[si]=null,mo=ui[--si],ui[si]=null}function fk(){return Bs(),Is!==null?{id:mo,overflow:go}:null}function dk(e,t){Bs(),ui[si++]=mo,ui[si++]=go,ui[si++]=Is,mo=t.id,go=t.overflow,Is=e}function Bs(){br()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var wr=null,ci=null,Pi=!1,Vs=!1,gu=null;function pk(){Pi&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function fE(){Vs=!0}function vk(){return Vs}function hk(e){var t=e.stateNode.containerInfo;return ci=NO(t),wr=e,Pi=!0,gu=null,Vs=!1,!0}function mk(e,t,a){return ci=zO(t),wr=e,Pi=!0,gu=null,Vs=!1,a!==null&&dk(e,a),!0}function dE(e,t){switch(e.tag){case R:{$O(e.stateNode.containerInfo,t);break}case L:{var a=(e.mode&lt)!==Ve;GO(e.type,e.memoizedProps,e.stateNode,t,a);break}case $:{var u=e.memoizedState;u.dehydrated!==null&&WO(u.dehydrated,t);break}}}function pE(e,t){dE(e,t);var a=wM();a.stateNode=t,a.return=e;var u=e.deletions;u===null?(e.deletions=[a],e.flags|=ga):u.push(a)}function gS(e,t){{if(Vs)return;switch(e.tag){case R:{var a=e.stateNode.containerInfo;switch(t.tag){case L:var u=t.type;t.pendingProps,YO(a,u);break;case M:var f=t.pendingProps;qO(a,f);break}break}case L:{var v=e.type,y=e.memoizedProps,E=e.stateNode;switch(t.tag){case L:{var C=t.type,k=t.pendingProps,_=(e.mode&lt)!==Ve;KO(v,y,E,C,k,_);break}case M:{var B=t.pendingProps,I=(e.mode&lt)!==Ve;ZO(v,y,E,B,I);break}}break}case $:{var X=e.memoizedState,Z=X.dehydrated;if(Z!==null)switch(t.tag){case L:var te=t.type;t.pendingProps,QO(Z,te);break;case M:var Oe=t.pendingProps;XO(Z,Oe);break}break}default:return}}}function vE(e,t){t.flags=t.flags&-4097|un,gS(e,t)}function hE(e,t){switch(e.tag){case L:{var a=e.type;e.pendingProps;var u=OO(t,a);return u!==null?(e.stateNode=u,wr=e,ci=LO(u),!0):!1}case M:{var f=e.pendingProps,v=kO(t,f);return v!==null?(e.stateNode=v,wr=e,ci=null,!0):!1}case $:{var y=DO(t);if(y!==null){var E={dehydrated:y,treeContext:fk(),retryLane:aa};e.memoizedState=E;var C=bM(y);return C.return=e,e.child=C,wr=e,ci=null,!0}return!1}default:return!1}}function yS(e){return(e.mode&lt)!==Ve&&(e.flags&He)===Be}function SS(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function wS(e){if(Pi){var t=ci;if(!t){yS(e)&&(gS(wr,e),SS()),vE(wr,e),Pi=!1,wr=e;return}var a=t;if(!hE(e,t)){yS(e)&&(gS(wr,e),SS()),t=Vp(a);var u=wr;if(!t||!hE(e,t)){vE(wr,e),Pi=!1,wr=e;return}pE(u,a)}}}function gk(e,t,a){var u=e.stateNode,f=!Vs,v=AO(u,e.type,e.memoizedProps,t,a,e,f);return e.updateQueue=v,v!==null}function yk(e){var t=e.stateNode,a=e.memoizedProps,u=PO(t,a,e);if(u){var f=wr;if(f!==null)switch(f.tag){case R:{var v=f.stateNode.containerInfo,y=(f.mode&lt)!==Ve;BO(v,t,a,y);break}case L:{var E=f.type,C=f.memoizedProps,k=f.stateNode,_=(f.mode&lt)!==Ve;VO(E,C,k,t,a,_);break}}}return u}function Sk(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");jO(a,e)}function wk(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return UO(a)}function mE(e){for(var t=e.return;t!==null&&t.tag!==L&&t.tag!==R&&t.tag!==$;)t=t.return;wr=t}function Nm(e){if(e!==wr)return!1;if(!Pi)return mE(e),Pi=!0,!1;if(e.tag!==R&&(e.tag!==L||HO(e.type)&&!tS(e.type,e.memoizedProps))){var t=ci;if(t)if(yS(e))gE(e),SS();else for(;t;)pE(e,t),t=Vp(t)}return mE(e),e.tag===$?ci=wk(e):ci=wr?Vp(e.stateNode):null,!0}function bk(){return Pi&&ci!==null}function gE(e){for(var t=ci;t;)dE(e,t),t=Vp(t)}function Bf(){wr=null,ci=null,Pi=!1,Vs=!1}function yE(){gu!==null&&(fC(gu),gu=null)}function br(){return Pi}function bS(e){gu===null?gu=[e]:gu.push(e)}var Ek=o.ReactCurrentBatchConfig,Tk=null;function Ck(){return Ek.transition}var ji={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var xk=function(e){for(var t=null,a=e;a!==null;)a.mode&Mt&&(t=a),a=a.return;return t},$s=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},Yp=[],qp=[],Qp=[],Xp=[],Kp=[],Zp=[],Ws=new Set;ji.recordUnsafeLifecycleWarnings=function(e,t){Ws.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Yp.push(e),e.mode&Mt&&typeof t.UNSAFE_componentWillMount=="function"&&qp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Qp.push(e),e.mode&Mt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Xp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Kp.push(e),e.mode&Mt&&typeof t.UNSAFE_componentWillUpdate=="function"&&Zp.push(e))},ji.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Yp.length>0&&(Yp.forEach(function(I){e.add(rt(I)||"Component"),Ws.add(I.type)}),Yp=[]);var t=new Set;qp.length>0&&(qp.forEach(function(I){t.add(rt(I)||"Component"),Ws.add(I.type)}),qp=[]);var a=new Set;Qp.length>0&&(Qp.forEach(function(I){a.add(rt(I)||"Component"),Ws.add(I.type)}),Qp=[]);var u=new Set;Xp.length>0&&(Xp.forEach(function(I){u.add(rt(I)||"Component"),Ws.add(I.type)}),Xp=[]);var f=new Set;Kp.length>0&&(Kp.forEach(function(I){f.add(rt(I)||"Component"),Ws.add(I.type)}),Kp=[]);var v=new Set;if(Zp.length>0&&(Zp.forEach(function(I){v.add(rt(I)||"Component"),Ws.add(I.type)}),Zp=[]),t.size>0){var y=$s(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
79
79
 
80
80
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
81
81
 
@@ -127,7 +127,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
127
127
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function GS(e,t){if(WS)return!1;if(t===null)return m("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ae),!1;e.length!==t.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
128
128
 
129
129
  Previous: %s
130
- Incoming: %s`,ae,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!pe(e[a],t[a]))return!1;return!0}function Kf(e,t,a,u,f,v){Ys=v,Lt=t,fi=e!==null?e._debugHookTypes:null,bu=-1,WS=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ce,e!==null&&e.memoizedState!==null?_e.current=aT:fi!==null?_e.current=rT:_e.current=nT;var y=a(u,f);if(av){var E=0;do{if(av=!1,iv=0,E>=Bk)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");E+=1,WS=!1,Zn=null,Jn=null,t.updateQueue=null,bu=-1,_e.current=iT,y=a(u,f)}while(av)}_e.current=sg,t._debugHookTypes=fi;var C=Zn!==null&&Zn.next!==null;if(Ys=ce,Lt=null,Zn=null,Jn=null,ae=null,fi=null,bu=-1,e!==null&&(e.flags&Sn)!==(t.flags&Sn)&&(e.mode&lt)!==Ve&&m("Internal React error: Expected static flag was missing. Please notify the React team."),Xm=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return y}function Zf(){var e=iv!==0;return iv=0,e}function jE(e,t,a){t.updateQueue=e.updateQueue,(t.mode&gt)!==Ve?t.flags&=-50333701:t.flags&=-2053,e.lanes=Ss(e.lanes,a)}function UE(){if(_e.current=sg,Xm){for(var e=Lt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Xm=!1}Ys=ce,Lt=null,Zn=null,Jn=null,fi=null,bu=-1,ae=null,KE=!1,av=!1,iv=0}function El(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Jn===null?Lt.memoizedState=Jn=e:Jn=Jn.next=e,Jn}function di(){var e;if(Zn===null){var t=Lt.alternate;t!==null?e=t.memoizedState:e=null}else e=Zn.next;var a;if(Jn===null?a=Lt.memoizedState:a=Jn.next,a!==null)Jn=a,a=Jn.next,Zn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Zn=e;var u={memoizedState:Zn.memoizedState,baseState:Zn.baseState,baseQueue:Zn.baseQueue,queue:Zn.queue,next:null};Jn===null?Lt.memoizedState=Jn=u:Jn=Jn.next=u}return Jn}function FE(){return{lastEffect:null,stores:null}}function YS(e,t){return typeof t=="function"?t(e):t}function qS(e,t,a){var u=El(),f;a!==void 0?f=a(t):f=t,u.memoizedState=u.baseState=f;var v={pending:null,interleaved:null,lanes:ce,dispatch:null,lastRenderedReducer:e,lastRenderedState:f};u.queue=v;var y=v.dispatch=Yk.bind(null,Lt,v);return[u.memoizedState,y]}function QS(e,t,a){var u=di(),f=u.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var v=Zn,y=v.baseQueue,E=f.pending;if(E!==null){if(y!==null){var C=y.next,k=E.next;y.next=k,E.next=C}v.baseQueue!==y&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),v.baseQueue=y=E,f.pending=null}if(y!==null){var _=y.next,B=v.baseState,I=null,X=null,Z=null,te=_;do{var Oe=te.lane;if(io(Ys,Oe)){if(Z!==null){var Fe={lane:vt,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null};Z=Z.next=Fe}if(te.hasEagerState)B=te.eagerState;else{var dt=te.action;B=e(B,dt)}}else{var We={lane:Oe,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null};Z===null?(X=Z=We,I=B):Z=Z.next=We,Lt.lanes=at(Lt.lanes,Oe),Rv(Oe)}te=te.next}while(te!==null&&te!==_);Z===null?I=B:Z.next=X,pe(B,u.memoizedState)||vv(),u.memoizedState=B,u.baseState=I,u.baseQueue=Z,f.lastRenderedState=B}var ut=f.interleaved;if(ut!==null){var G=ut;do{var ne=G.lane;Lt.lanes=at(Lt.lanes,ne),Rv(ne),G=G.next}while(G!==ut)}else y===null&&(f.lanes=ce);var Y=f.dispatch;return[u.memoizedState,Y]}function XS(e,t,a){var u=di(),f=u.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var v=f.dispatch,y=f.pending,E=u.memoizedState;if(y!==null){f.pending=null;var C=y.next,k=C;do{var _=k.action;E=e(E,_),k=k.next}while(k!==C);pe(E,u.memoizedState)||vv(),u.memoizedState=E,u.baseQueue===null&&(u.baseState=E),f.lastRenderedState=E}return[E,v]}function r3(e,t,a){}function a3(e,t,a){}function KS(e,t,a){var u=Lt,f=El(),v,y=br();if(y){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");v=a(),Qf||v!==a()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),Qf=!0)}else{if(v=t(),!Qf){var E=t();pe(v,E)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),Qf=!0)}var C=kg();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");hf(C,Ys)||IE(u,t,v)}f.memoizedState=v;var k={value:v,getSnapshot:t};return f.queue=k,tg(BE.bind(null,u,k,e),[e]),u.flags|=Pr,lv(Xn|Er,HE.bind(null,u,k,v,t),void 0,null),v}function Km(e,t,a){var u=Lt,f=di(),v=t();if(!Qf){var y=t();pe(v,y)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),Qf=!0)}var E=f.memoizedState,C=!pe(E,v);C&&(f.memoizedState=v,vv());var k=f.queue;if(uv(BE.bind(null,u,k,e),[e]),k.getSnapshot!==t||C||Jn!==null&&Jn.memoizedState.tag&Xn){u.flags|=Pr,lv(Xn|Er,HE.bind(null,u,k,v,t),void 0,null);var _=kg();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");hf(_,Ys)||IE(u,t,v)}return v}function IE(e,t,a){e.flags|=Zo;var u={getSnapshot:t,value:a},f=Lt.updateQueue;if(f===null)f=FE(),Lt.updateQueue=f,f.stores=[u];else{var v=f.stores;v===null?f.stores=[u]:v.push(u)}}function HE(e,t,a,u){t.value=a,t.getSnapshot=u,VE(t)&&$E(e)}function BE(e,t,a){var u=function(){VE(t)&&$E(e)};return a(u)}function VE(e){var t=e.getSnapshot,a=e.value;try{var u=t();return!pe(a,u)}catch{return!0}}function $E(e){var t=Oa(e,Xe);t!==null&&rr(t,e,Xe,At)}function Zm(e){var t=El();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:ce,dispatch:null,lastRenderedReducer:YS,lastRenderedState:e};t.queue=a;var u=a.dispatch=qk.bind(null,Lt,a);return[t.memoizedState,u]}function ZS(e){return QS(YS)}function JS(e){return XS(YS)}function lv(e,t,a,u){var f={tag:e,create:t,destroy:a,deps:u,next:null},v=Lt.updateQueue;if(v===null)v=FE(),Lt.updateQueue=v,v.lastEffect=f.next=f;else{var y=v.lastEffect;if(y===null)v.lastEffect=f.next=f;else{var E=y.next;y.next=f,f.next=E,v.lastEffect=f}}return f}function e0(e){var t=El();{var a={current:e};return t.memoizedState=a,a}}function Jm(e){var t=di();return t.memoizedState}function ov(e,t,a,u){var f=El(),v=u===void 0?null:u;Lt.flags|=e,f.memoizedState=lv(Xn|t,a,void 0,v)}function eg(e,t,a,u){var f=di(),v=u===void 0?null:u,y=void 0;if(Zn!==null){var E=Zn.memoizedState;if(y=E.destroy,v!==null){var C=E.deps;if(GS(v,C)){f.memoizedState=lv(t,a,y,v);return}}}Lt.flags|=e,f.memoizedState=lv(Xn|t,a,y,v)}function tg(e,t){return(Lt.mode&gt)!==Ve?ov(Ja|Pr|Hc,Er,e,t):ov(Pr|Hc,Er,e,t)}function uv(e,t){return eg(Pr,Er,e,t)}function t0(e,t){return ov(st,bl,e,t)}function ng(e,t){return eg(st,bl,e,t)}function n0(e,t){var a=st;return a|=Ri,(Lt.mode&gt)!==Ve&&(a|=rl),ov(a,Kn,e,t)}function rg(e,t){return eg(st,Kn,e,t)}function WE(e,t){if(typeof t=="function"){var a=t,u=e();return a(u),function(){a(null)}}else if(t!=null){var f=t;f.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(f).join(", ")+"}");var v=e();return f.current=v,function(){f.current=null}}}function r0(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=a!=null?a.concat([e]):null,f=st;return f|=Ri,(Lt.mode&gt)!==Ve&&(f|=rl),ov(f,Kn,WE.bind(null,t,e),u)}function ag(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=a!=null?a.concat([e]):null;return eg(st,Kn,WE.bind(null,t,e),u)}function $k(e,t){}var ig=$k;function a0(e,t){var a=El(),u=t===void 0?null:t;return a.memoizedState=[e,u],e}function lg(e,t){var a=di(),u=t===void 0?null:t,f=a.memoizedState;if(f!==null&&u!==null){var v=f[1];if(GS(u,v))return f[0]}return a.memoizedState=[e,u],e}function i0(e,t){var a=El(),u=t===void 0?null:t,f=e();return a.memoizedState=[f,u],f}function og(e,t){var a=di(),u=t===void 0?null:t,f=a.memoizedState;if(f!==null&&u!==null){var v=f[1];if(GS(u,v))return f[0]}var y=e();return a.memoizedState=[y,u],y}function l0(e){var t=El();return t.memoizedState=e,e}function GE(e){var t=di(),a=Zn,u=a.memoizedState;return qE(t,u,e)}function YE(e){var t=di();if(Zn===null)return t.memoizedState=e,e;var a=Zn.memoizedState;return qE(t,a,e)}function qE(e,t,a){var u=!cp(Ys);if(u){if(!pe(a,t)){var f=pp();Lt.lanes=at(Lt.lanes,f),Rv(f),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,vv()),e.memoizedState=a,a}function Wk(e,t,a){var u=Ca();En(Uh(u,ri)),e(!0);var f=rv.transition;rv.transition={};var v=rv.transition;rv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(En(u),rv.transition=f,f===null&&v._updatedFibers){var y=v._updatedFibers.size;y>10&&h("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),v._updatedFibers.clear()}}}function o0(){var e=Zm(!1),t=e[0],a=e[1],u=Wk.bind(null,a),f=El();return f.memoizedState=u,[t,u]}function QE(){var e=ZS(),t=e[0],a=di(),u=a.memoizedState;return[t,u]}function XE(){var e=JS(),t=e[0],a=di(),u=a.memoizedState;return[t,u]}var KE=!1;function Gk(){return KE}function u0(){var e=El(),t=kg(),a=t.identifierPrefix,u;if(br()){var f=sk();u=":"+a+"R"+f;var v=iv++;v>0&&(u+="H"+v.toString(32)),u+=":"}else{var y=Hk++;u=":"+a+"r"+y.toString(32)+":"}return e.memoizedState=u,u}function ug(){var e=di(),t=e.memoizedState;return t}function Yk(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Ru(e),f={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(ZE(e))JE(t,f);else{var v=OE(e,t,f,u);if(v!==null){var y=sa();rr(v,e,u,y),eT(v,t,u)}}tT(e,u)}function qk(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Ru(e),f={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(ZE(e))JE(t,f);else{var v=e.alternate;if(e.lanes===ce&&(v===null||v.lanes===ce)){var y=t.lastRenderedReducer;if(y!==null){var E;E=_e.current,_e.current=Fi;try{var C=t.lastRenderedState,k=y(C,a);if(f.hasEagerState=!0,f.eagerState=k,pe(k,C)){Lk(e,t,f,u);return}}catch{}finally{_e.current=E}}}var _=OE(e,t,f,u);if(_!==null){var B=sa();rr(_,e,u,B),eT(_,t,u)}}tT(e,u)}function ZE(e){var t=e.alternate;return e===Lt||t!==null&&t===Lt}function JE(e,t){av=Xm=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function eT(e,t,a){if(dp(a)){var u=t.lanes;u=vp(u,e.pendingLanes);var f=at(u,a);t.lanes=f,gf(e,f)}}function tT(e,t,a){ss(e,t)}var sg={readContext:In,useCallback:Yr,useContext:Yr,useEffect:Yr,useImperativeHandle:Yr,useInsertionEffect:Yr,useLayoutEffect:Yr,useMemo:Yr,useReducer:Yr,useRef:Yr,useState:Yr,useDebugValue:Yr,useDeferredValue:Yr,useTransition:Yr,useMutableSource:Yr,useSyncExternalStore:Yr,useId:Yr,unstable_isNewReconciler:ue},nT=null,rT=null,aT=null,iT=null,Tl=null,Fi=null,cg=null;{var s0=function(){m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Je=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};nT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Rt(),Xf(t),a0(e,t)},useContext:function(e){return ae="useContext",Rt(),In(e)},useEffect:function(e,t){return ae="useEffect",Rt(),Xf(t),tg(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Rt(),Xf(a),r0(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Rt(),Xf(t),t0(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Rt(),Xf(t),n0(e,t)},useMemo:function(e,t){ae="useMemo",Rt(),Xf(t);var a=_e.current;_e.current=Tl;try{return i0(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Rt();var u=_e.current;_e.current=Tl;try{return qS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Rt(),e0(e)},useState:function(e){ae="useState",Rt();var t=_e.current;_e.current=Tl;try{return Zm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Rt(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Rt(),l0(e)},useTransition:function(){return ae="useTransition",Rt(),o0()},useMutableSource:function(e,t,a){return ae="useMutableSource",Rt(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Rt(),KS(e,t,a)},useId:function(){return ae="useId",Rt(),u0()},unstable_isNewReconciler:ue},rT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Te(),a0(e,t)},useContext:function(e){return ae="useContext",Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Te(),tg(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Te(),r0(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Te(),t0(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Te(),n0(e,t)},useMemo:function(e,t){ae="useMemo",Te();var a=_e.current;_e.current=Tl;try{return i0(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Te();var u=_e.current;_e.current=Tl;try{return qS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Te(),e0(e)},useState:function(e){ae="useState",Te();var t=_e.current;_e.current=Tl;try{return Zm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Te(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Te(),l0(e)},useTransition:function(){return ae="useTransition",Te(),o0()},useMutableSource:function(e,t,a){return ae="useMutableSource",Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Te(),KS(e,t,a)},useId:function(){return ae="useId",Te(),u0()},unstable_isNewReconciler:ue},aT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Te(),lg(e,t)},useContext:function(e){return ae="useContext",Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Te();var a=_e.current;_e.current=Fi;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Te();var u=_e.current;_e.current=Fi;try{return QS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Te(),Jm()},useState:function(e){ae="useState",Te();var t=_e.current;_e.current=Fi;try{return ZS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Te(),GE(e)},useTransition:function(){return ae="useTransition",Te(),QE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Te(),Km(e,t)},useId:function(){return ae="useId",Te(),ug()},unstable_isNewReconciler:ue},iT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Te(),lg(e,t)},useContext:function(e){return ae="useContext",Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Te();var a=_e.current;_e.current=cg;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Te();var u=_e.current;_e.current=cg;try{return XS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Te(),Jm()},useState:function(e){ae="useState",Te();var t=_e.current;_e.current=cg;try{return JS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Te(),YE(e)},useTransition:function(){return ae="useTransition",Te(),XE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Te(),Km(e,t)},useId:function(){return ae="useId",Te(),ug()},unstable_isNewReconciler:ue},Tl={readContext:function(e){return s0(),In(e)},useCallback:function(e,t){return ae="useCallback",Je(),Rt(),a0(e,t)},useContext:function(e){return ae="useContext",Je(),Rt(),In(e)},useEffect:function(e,t){return ae="useEffect",Je(),Rt(),tg(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Je(),Rt(),r0(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Je(),Rt(),t0(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Je(),Rt(),n0(e,t)},useMemo:function(e,t){ae="useMemo",Je(),Rt();var a=_e.current;_e.current=Tl;try{return i0(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Je(),Rt();var u=_e.current;_e.current=Tl;try{return qS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Je(),Rt(),e0(e)},useState:function(e){ae="useState",Je(),Rt();var t=_e.current;_e.current=Tl;try{return Zm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Je(),Rt(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Je(),Rt(),l0(e)},useTransition:function(){return ae="useTransition",Je(),Rt(),o0()},useMutableSource:function(e,t,a){return ae="useMutableSource",Je(),Rt(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Je(),Rt(),KS(e,t,a)},useId:function(){return ae="useId",Je(),Rt(),u0()},unstable_isNewReconciler:ue},Fi={readContext:function(e){return s0(),In(e)},useCallback:function(e,t){return ae="useCallback",Je(),Te(),lg(e,t)},useContext:function(e){return ae="useContext",Je(),Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Je(),Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Je(),Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Je(),Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Je(),Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Je(),Te();var a=_e.current;_e.current=Fi;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Je(),Te();var u=_e.current;_e.current=Fi;try{return QS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Je(),Te(),Jm()},useState:function(e){ae="useState",Je(),Te();var t=_e.current;_e.current=Fi;try{return ZS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Je(),Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Je(),Te(),GE(e)},useTransition:function(){return ae="useTransition",Je(),Te(),QE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Je(),Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Je(),Te(),Km(e,t)},useId:function(){return ae="useId",Je(),Te(),ug()},unstable_isNewReconciler:ue},cg={readContext:function(e){return s0(),In(e)},useCallback:function(e,t){return ae="useCallback",Je(),Te(),lg(e,t)},useContext:function(e){return ae="useContext",Je(),Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Je(),Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Je(),Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Je(),Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Je(),Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Je(),Te();var a=_e.current;_e.current=Fi;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Je(),Te();var u=_e.current;_e.current=Fi;try{return XS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Je(),Te(),Jm()},useState:function(e){ae="useState",Je(),Te();var t=_e.current;_e.current=Fi;try{return JS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Je(),Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Je(),Te(),YE(e)},useTransition:function(){return ae="useTransition",Je(),Te(),XE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Je(),Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Je(),Te(),Km(e,t)},useId:function(){return ae="useId",Je(),Te(),ug()},unstable_isNewReconciler:ue}}var Eu=l.unstable_now,lT=0,fg=-1,sv=-1,dg=-1,c0=!1,pg=!1;function oT(){return c0}function Qk(){pg=!0}function Xk(){c0=!1,pg=!1}function Kk(){c0=pg,pg=!1}function uT(){return lT}function sT(){lT=Eu()}function f0(e){sv=Eu(),e.actualStartTime<0&&(e.actualStartTime=Eu())}function cT(e){sv=-1}function vg(e,t){if(sv>=0){var a=Eu()-sv;e.actualDuration+=a,t&&(e.selfBaseDuration=a),sv=-1}}function Cl(e){if(fg>=0){var t=Eu()-fg;fg=-1;for(var a=e.return;a!==null;){switch(a.tag){case R:var u=a.stateNode;u.effectDuration+=t;return;case q:var f=a.stateNode;f.effectDuration+=t;return}a=a.return}}}function d0(e){if(dg>=0){var t=Eu()-dg;dg=-1;for(var a=e.return;a!==null;){switch(a.tag){case R:var u=a.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case q:var f=a.stateNode;f!==null&&(f.passiveEffectDuration+=t);return}a=a.return}}}function xl(){fg=Eu()}function p0(){dg=Eu()}function v0(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ii(e,t){if(e&&e.defaultProps){var a=Ne({},t),u=e.defaultProps;for(var f in u)a[f]===void 0&&(a[f]=u[f]);return a}return t}var h0={},m0,g0,y0,S0,w0,fT,hg,b0,E0,T0,cv;{m0=new Set,g0=new Set,y0=new Set,S0=new Set,b0=new Set,w0=new Set,E0=new Set,T0=new Set,cv=new Set;var dT=new Set;hg=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;dT.has(a)||(dT.add(a),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},fT=function(e,t){if(t===void 0){var a=kt(e)||"Component";w0.has(a)||(w0.add(a),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(h0,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(h0)}function C0(e,t,a,u){var f=e.memoizedState,v=a(u,f);{if(e.mode&Mt){qt(!0);try{v=a(u,f)}finally{qt(!1)}}fT(t,v)}var y=v==null?f:Ne({},f,v);if(e.memoizedState=y,e.lanes===ce){var E=e.updateQueue;E.baseState=y}}var x0={isMounted:Eh,enqueueSetState:function(e,t,a){var u=Ko(e),f=sa(),v=Ru(u),y=yo(f,v);y.payload=t,a!=null&&(hg(a,"setState"),y.callback=a);var E=yu(u,y,v);E!==null&&(rr(E,u,v,f),$m(E,u,v)),ss(u,v)},enqueueReplaceState:function(e,t,a){var u=Ko(e),f=sa(),v=Ru(u),y=yo(f,v);y.tag=DE,y.payload=t,a!=null&&(hg(a,"replaceState"),y.callback=a);var E=yu(u,y,v);E!==null&&(rr(E,u,v,f),$m(E,u,v)),ss(u,v)},enqueueForceUpdate:function(e,t){var a=Ko(e),u=sa(),f=Ru(a),v=yo(u,f);v.tag=Hm,t!=null&&(hg(t,"forceUpdate"),v.callback=t);var y=yu(a,v,f);y!==null&&(rr(y,a,f,u),$m(y,a,f)),qc(a,f)}};function pT(e,t,a,u,f,v,y){var E=e.stateNode;if(typeof E.shouldComponentUpdate=="function"){var C=E.shouldComponentUpdate(u,v,y);{if(e.mode&Mt){qt(!0);try{C=E.shouldComponentUpdate(u,v,y)}finally{qt(!1)}}C===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",kt(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!Ae(a,u)||!Ae(f,v):!0}function Zk(e,t,a){var u=e.stateNode;{var f=kt(t)||"Component",v=u.render;v||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",f):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",f)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",f),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",f),u.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",f),u.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",f),t.childContextTypes&&!cv.has(t)&&(e.mode&Mt)===Ve&&(cv.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
130
+ Incoming: %s`,ae,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!pe(e[a],t[a]))return!1;return!0}function Kf(e,t,a,u,f,v){Ys=v,Lt=t,fi=e!==null?e._debugHookTypes:null,bu=-1,WS=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ce,e!==null&&e.memoizedState!==null?_e.current=aT:fi!==null?_e.current=rT:_e.current=nT;var y=a(u,f);if(av){var E=0;do{if(av=!1,iv=0,E>=Bk)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");E+=1,WS=!1,Zn=null,Jn=null,t.updateQueue=null,bu=-1,_e.current=iT,y=a(u,f)}while(av)}_e.current=sg,t._debugHookTypes=fi;var C=Zn!==null&&Zn.next!==null;if(Ys=ce,Lt=null,Zn=null,Jn=null,ae=null,fi=null,bu=-1,e!==null&&(e.flags&Sn)!==(t.flags&Sn)&&(e.mode&lt)!==Ve&&m("Internal React error: Expected static flag was missing. Please notify the React team."),Xm=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return y}function Zf(){var e=iv!==0;return iv=0,e}function jE(e,t,a){t.updateQueue=e.updateQueue,(t.mode&gt)!==Ve?t.flags&=-50333701:t.flags&=-2053,e.lanes=Ss(e.lanes,a)}function UE(){if(_e.current=sg,Xm){for(var e=Lt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Xm=!1}Ys=ce,Lt=null,Zn=null,Jn=null,fi=null,bu=-1,ae=null,KE=!1,av=!1,iv=0}function El(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Jn===null?Lt.memoizedState=Jn=e:Jn=Jn.next=e,Jn}function di(){var e;if(Zn===null){var t=Lt.alternate;t!==null?e=t.memoizedState:e=null}else e=Zn.next;var a;if(Jn===null?a=Lt.memoizedState:a=Jn.next,a!==null)Jn=a,a=Jn.next,Zn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Zn=e;var u={memoizedState:Zn.memoizedState,baseState:Zn.baseState,baseQueue:Zn.baseQueue,queue:Zn.queue,next:null};Jn===null?Lt.memoizedState=Jn=u:Jn=Jn.next=u}return Jn}function FE(){return{lastEffect:null,stores:null}}function YS(e,t){return typeof t=="function"?t(e):t}function qS(e,t,a){var u=El(),f;a!==void 0?f=a(t):f=t,u.memoizedState=u.baseState=f;var v={pending:null,interleaved:null,lanes:ce,dispatch:null,lastRenderedReducer:e,lastRenderedState:f};u.queue=v;var y=v.dispatch=Yk.bind(null,Lt,v);return[u.memoizedState,y]}function QS(e,t,a){var u=di(),f=u.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var v=Zn,y=v.baseQueue,E=f.pending;if(E!==null){if(y!==null){var C=y.next,k=E.next;y.next=k,E.next=C}v.baseQueue!==y&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),v.baseQueue=y=E,f.pending=null}if(y!==null){var _=y.next,B=v.baseState,I=null,X=null,Z=null,te=_;do{var Oe=te.lane;if(io(Ys,Oe)){if(Z!==null){var Fe={lane:vt,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null};Z=Z.next=Fe}if(te.hasEagerState)B=te.eagerState;else{var dt=te.action;B=e(B,dt)}}else{var We={lane:Oe,action:te.action,hasEagerState:te.hasEagerState,eagerState:te.eagerState,next:null};Z===null?(X=Z=We,I=B):Z=Z.next=We,Lt.lanes=at(Lt.lanes,Oe),Rv(Oe)}te=te.next}while(te!==null&&te!==_);Z===null?I=B:Z.next=X,pe(B,u.memoizedState)||vv(),u.memoizedState=B,u.baseState=I,u.baseQueue=Z,f.lastRenderedState=B}var ut=f.interleaved;if(ut!==null){var G=ut;do{var ne=G.lane;Lt.lanes=at(Lt.lanes,ne),Rv(ne),G=G.next}while(G!==ut)}else y===null&&(f.lanes=ce);var Y=f.dispatch;return[u.memoizedState,Y]}function XS(e,t,a){var u=di(),f=u.queue;if(f===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");f.lastRenderedReducer=e;var v=f.dispatch,y=f.pending,E=u.memoizedState;if(y!==null){f.pending=null;var C=y.next,k=C;do{var _=k.action;E=e(E,_),k=k.next}while(k!==C);pe(E,u.memoizedState)||vv(),u.memoizedState=E,u.baseQueue===null&&(u.baseState=E),f.lastRenderedState=E}return[E,v]}function a3(e,t,a){}function i3(e,t,a){}function KS(e,t,a){var u=Lt,f=El(),v,y=br();if(y){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");v=a(),Qf||v!==a()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),Qf=!0)}else{if(v=t(),!Qf){var E=t();pe(v,E)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),Qf=!0)}var C=kg();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");hf(C,Ys)||IE(u,t,v)}f.memoizedState=v;var k={value:v,getSnapshot:t};return f.queue=k,tg(BE.bind(null,u,k,e),[e]),u.flags|=Pr,lv(Xn|Er,HE.bind(null,u,k,v,t),void 0,null),v}function Km(e,t,a){var u=Lt,f=di(),v=t();if(!Qf){var y=t();pe(v,y)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),Qf=!0)}var E=f.memoizedState,C=!pe(E,v);C&&(f.memoizedState=v,vv());var k=f.queue;if(uv(BE.bind(null,u,k,e),[e]),k.getSnapshot!==t||C||Jn!==null&&Jn.memoizedState.tag&Xn){u.flags|=Pr,lv(Xn|Er,HE.bind(null,u,k,v,t),void 0,null);var _=kg();if(_===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");hf(_,Ys)||IE(u,t,v)}return v}function IE(e,t,a){e.flags|=Zo;var u={getSnapshot:t,value:a},f=Lt.updateQueue;if(f===null)f=FE(),Lt.updateQueue=f,f.stores=[u];else{var v=f.stores;v===null?f.stores=[u]:v.push(u)}}function HE(e,t,a,u){t.value=a,t.getSnapshot=u,VE(t)&&$E(e)}function BE(e,t,a){var u=function(){VE(t)&&$E(e)};return a(u)}function VE(e){var t=e.getSnapshot,a=e.value;try{var u=t();return!pe(a,u)}catch{return!0}}function $E(e){var t=Oa(e,Xe);t!==null&&rr(t,e,Xe,At)}function Zm(e){var t=El();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:ce,dispatch:null,lastRenderedReducer:YS,lastRenderedState:e};t.queue=a;var u=a.dispatch=qk.bind(null,Lt,a);return[t.memoizedState,u]}function ZS(e){return QS(YS)}function JS(e){return XS(YS)}function lv(e,t,a,u){var f={tag:e,create:t,destroy:a,deps:u,next:null},v=Lt.updateQueue;if(v===null)v=FE(),Lt.updateQueue=v,v.lastEffect=f.next=f;else{var y=v.lastEffect;if(y===null)v.lastEffect=f.next=f;else{var E=y.next;y.next=f,f.next=E,v.lastEffect=f}}return f}function e0(e){var t=El();{var a={current:e};return t.memoizedState=a,a}}function Jm(e){var t=di();return t.memoizedState}function ov(e,t,a,u){var f=El(),v=u===void 0?null:u;Lt.flags|=e,f.memoizedState=lv(Xn|t,a,void 0,v)}function eg(e,t,a,u){var f=di(),v=u===void 0?null:u,y=void 0;if(Zn!==null){var E=Zn.memoizedState;if(y=E.destroy,v!==null){var C=E.deps;if(GS(v,C)){f.memoizedState=lv(t,a,y,v);return}}}Lt.flags|=e,f.memoizedState=lv(Xn|t,a,y,v)}function tg(e,t){return(Lt.mode&gt)!==Ve?ov(Ja|Pr|Hc,Er,e,t):ov(Pr|Hc,Er,e,t)}function uv(e,t){return eg(Pr,Er,e,t)}function t0(e,t){return ov(st,bl,e,t)}function ng(e,t){return eg(st,bl,e,t)}function n0(e,t){var a=st;return a|=Ri,(Lt.mode&gt)!==Ve&&(a|=rl),ov(a,Kn,e,t)}function rg(e,t){return eg(st,Kn,e,t)}function WE(e,t){if(typeof t=="function"){var a=t,u=e();return a(u),function(){a(null)}}else if(t!=null){var f=t;f.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(f).join(", ")+"}");var v=e();return f.current=v,function(){f.current=null}}}function r0(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=a!=null?a.concat([e]):null,f=st;return f|=Ri,(Lt.mode&gt)!==Ve&&(f|=rl),ov(f,Kn,WE.bind(null,t,e),u)}function ag(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=a!=null?a.concat([e]):null;return eg(st,Kn,WE.bind(null,t,e),u)}function $k(e,t){}var ig=$k;function a0(e,t){var a=El(),u=t===void 0?null:t;return a.memoizedState=[e,u],e}function lg(e,t){var a=di(),u=t===void 0?null:t,f=a.memoizedState;if(f!==null&&u!==null){var v=f[1];if(GS(u,v))return f[0]}return a.memoizedState=[e,u],e}function i0(e,t){var a=El(),u=t===void 0?null:t,f=e();return a.memoizedState=[f,u],f}function og(e,t){var a=di(),u=t===void 0?null:t,f=a.memoizedState;if(f!==null&&u!==null){var v=f[1];if(GS(u,v))return f[0]}var y=e();return a.memoizedState=[y,u],y}function l0(e){var t=El();return t.memoizedState=e,e}function GE(e){var t=di(),a=Zn,u=a.memoizedState;return qE(t,u,e)}function YE(e){var t=di();if(Zn===null)return t.memoizedState=e,e;var a=Zn.memoizedState;return qE(t,a,e)}function qE(e,t,a){var u=!cp(Ys);if(u){if(!pe(a,t)){var f=pp();Lt.lanes=at(Lt.lanes,f),Rv(f),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,vv()),e.memoizedState=a,a}function Wk(e,t,a){var u=Ca();En(Uh(u,ri)),e(!0);var f=rv.transition;rv.transition={};var v=rv.transition;rv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(En(u),rv.transition=f,f===null&&v._updatedFibers){var y=v._updatedFibers.size;y>10&&h("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),v._updatedFibers.clear()}}}function o0(){var e=Zm(!1),t=e[0],a=e[1],u=Wk.bind(null,a),f=El();return f.memoizedState=u,[t,u]}function QE(){var e=ZS(),t=e[0],a=di(),u=a.memoizedState;return[t,u]}function XE(){var e=JS(),t=e[0],a=di(),u=a.memoizedState;return[t,u]}var KE=!1;function Gk(){return KE}function u0(){var e=El(),t=kg(),a=t.identifierPrefix,u;if(br()){var f=sk();u=":"+a+"R"+f;var v=iv++;v>0&&(u+="H"+v.toString(32)),u+=":"}else{var y=Hk++;u=":"+a+"r"+y.toString(32)+":"}return e.memoizedState=u,u}function ug(){var e=di(),t=e.memoizedState;return t}function Yk(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Ru(e),f={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(ZE(e))JE(t,f);else{var v=OE(e,t,f,u);if(v!==null){var y=sa();rr(v,e,u,y),eT(v,t,u)}}tT(e,u)}function qk(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Ru(e),f={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(ZE(e))JE(t,f);else{var v=e.alternate;if(e.lanes===ce&&(v===null||v.lanes===ce)){var y=t.lastRenderedReducer;if(y!==null){var E;E=_e.current,_e.current=Fi;try{var C=t.lastRenderedState,k=y(C,a);if(f.hasEagerState=!0,f.eagerState=k,pe(k,C)){Lk(e,t,f,u);return}}catch{}finally{_e.current=E}}}var _=OE(e,t,f,u);if(_!==null){var B=sa();rr(_,e,u,B),eT(_,t,u)}}tT(e,u)}function ZE(e){var t=e.alternate;return e===Lt||t!==null&&t===Lt}function JE(e,t){av=Xm=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function eT(e,t,a){if(dp(a)){var u=t.lanes;u=vp(u,e.pendingLanes);var f=at(u,a);t.lanes=f,gf(e,f)}}function tT(e,t,a){ss(e,t)}var sg={readContext:In,useCallback:Yr,useContext:Yr,useEffect:Yr,useImperativeHandle:Yr,useInsertionEffect:Yr,useLayoutEffect:Yr,useMemo:Yr,useReducer:Yr,useRef:Yr,useState:Yr,useDebugValue:Yr,useDeferredValue:Yr,useTransition:Yr,useMutableSource:Yr,useSyncExternalStore:Yr,useId:Yr,unstable_isNewReconciler:ue},nT=null,rT=null,aT=null,iT=null,Tl=null,Fi=null,cg=null;{var s0=function(){m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Je=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};nT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Rt(),Xf(t),a0(e,t)},useContext:function(e){return ae="useContext",Rt(),In(e)},useEffect:function(e,t){return ae="useEffect",Rt(),Xf(t),tg(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Rt(),Xf(a),r0(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Rt(),Xf(t),t0(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Rt(),Xf(t),n0(e,t)},useMemo:function(e,t){ae="useMemo",Rt(),Xf(t);var a=_e.current;_e.current=Tl;try{return i0(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Rt();var u=_e.current;_e.current=Tl;try{return qS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Rt(),e0(e)},useState:function(e){ae="useState",Rt();var t=_e.current;_e.current=Tl;try{return Zm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Rt(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Rt(),l0(e)},useTransition:function(){return ae="useTransition",Rt(),o0()},useMutableSource:function(e,t,a){return ae="useMutableSource",Rt(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Rt(),KS(e,t,a)},useId:function(){return ae="useId",Rt(),u0()},unstable_isNewReconciler:ue},rT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Te(),a0(e,t)},useContext:function(e){return ae="useContext",Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Te(),tg(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Te(),r0(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Te(),t0(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Te(),n0(e,t)},useMemo:function(e,t){ae="useMemo",Te();var a=_e.current;_e.current=Tl;try{return i0(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Te();var u=_e.current;_e.current=Tl;try{return qS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Te(),e0(e)},useState:function(e){ae="useState",Te();var t=_e.current;_e.current=Tl;try{return Zm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Te(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Te(),l0(e)},useTransition:function(){return ae="useTransition",Te(),o0()},useMutableSource:function(e,t,a){return ae="useMutableSource",Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Te(),KS(e,t,a)},useId:function(){return ae="useId",Te(),u0()},unstable_isNewReconciler:ue},aT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Te(),lg(e,t)},useContext:function(e){return ae="useContext",Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Te();var a=_e.current;_e.current=Fi;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Te();var u=_e.current;_e.current=Fi;try{return QS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Te(),Jm()},useState:function(e){ae="useState",Te();var t=_e.current;_e.current=Fi;try{return ZS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Te(),GE(e)},useTransition:function(){return ae="useTransition",Te(),QE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Te(),Km(e,t)},useId:function(){return ae="useId",Te(),ug()},unstable_isNewReconciler:ue},iT={readContext:function(e){return In(e)},useCallback:function(e,t){return ae="useCallback",Te(),lg(e,t)},useContext:function(e){return ae="useContext",Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Te();var a=_e.current;_e.current=cg;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Te();var u=_e.current;_e.current=cg;try{return XS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Te(),Jm()},useState:function(e){ae="useState",Te();var t=_e.current;_e.current=cg;try{return JS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Te(),YE(e)},useTransition:function(){return ae="useTransition",Te(),XE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Te(),Km(e,t)},useId:function(){return ae="useId",Te(),ug()},unstable_isNewReconciler:ue},Tl={readContext:function(e){return s0(),In(e)},useCallback:function(e,t){return ae="useCallback",Je(),Rt(),a0(e,t)},useContext:function(e){return ae="useContext",Je(),Rt(),In(e)},useEffect:function(e,t){return ae="useEffect",Je(),Rt(),tg(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Je(),Rt(),r0(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Je(),Rt(),t0(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Je(),Rt(),n0(e,t)},useMemo:function(e,t){ae="useMemo",Je(),Rt();var a=_e.current;_e.current=Tl;try{return i0(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Je(),Rt();var u=_e.current;_e.current=Tl;try{return qS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Je(),Rt(),e0(e)},useState:function(e){ae="useState",Je(),Rt();var t=_e.current;_e.current=Tl;try{return Zm(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Je(),Rt(),void 0},useDeferredValue:function(e){return ae="useDeferredValue",Je(),Rt(),l0(e)},useTransition:function(){return ae="useTransition",Je(),Rt(),o0()},useMutableSource:function(e,t,a){return ae="useMutableSource",Je(),Rt(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Je(),Rt(),KS(e,t,a)},useId:function(){return ae="useId",Je(),Rt(),u0()},unstable_isNewReconciler:ue},Fi={readContext:function(e){return s0(),In(e)},useCallback:function(e,t){return ae="useCallback",Je(),Te(),lg(e,t)},useContext:function(e){return ae="useContext",Je(),Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Je(),Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Je(),Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Je(),Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Je(),Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Je(),Te();var a=_e.current;_e.current=Fi;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Je(),Te();var u=_e.current;_e.current=Fi;try{return QS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Je(),Te(),Jm()},useState:function(e){ae="useState",Je(),Te();var t=_e.current;_e.current=Fi;try{return ZS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Je(),Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Je(),Te(),GE(e)},useTransition:function(){return ae="useTransition",Je(),Te(),QE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Je(),Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Je(),Te(),Km(e,t)},useId:function(){return ae="useId",Je(),Te(),ug()},unstable_isNewReconciler:ue},cg={readContext:function(e){return s0(),In(e)},useCallback:function(e,t){return ae="useCallback",Je(),Te(),lg(e,t)},useContext:function(e){return ae="useContext",Je(),Te(),In(e)},useEffect:function(e,t){return ae="useEffect",Je(),Te(),uv(e,t)},useImperativeHandle:function(e,t,a){return ae="useImperativeHandle",Je(),Te(),ag(e,t,a)},useInsertionEffect:function(e,t){return ae="useInsertionEffect",Je(),Te(),ng(e,t)},useLayoutEffect:function(e,t){return ae="useLayoutEffect",Je(),Te(),rg(e,t)},useMemo:function(e,t){ae="useMemo",Je(),Te();var a=_e.current;_e.current=Fi;try{return og(e,t)}finally{_e.current=a}},useReducer:function(e,t,a){ae="useReducer",Je(),Te();var u=_e.current;_e.current=Fi;try{return XS(e,t,a)}finally{_e.current=u}},useRef:function(e){return ae="useRef",Je(),Te(),Jm()},useState:function(e){ae="useState",Je(),Te();var t=_e.current;_e.current=Fi;try{return JS(e)}finally{_e.current=t}},useDebugValue:function(e,t){return ae="useDebugValue",Je(),Te(),ig()},useDeferredValue:function(e){return ae="useDeferredValue",Je(),Te(),YE(e)},useTransition:function(){return ae="useTransition",Je(),Te(),XE()},useMutableSource:function(e,t,a){return ae="useMutableSource",Je(),Te(),void 0},useSyncExternalStore:function(e,t,a){return ae="useSyncExternalStore",Je(),Te(),Km(e,t)},useId:function(){return ae="useId",Je(),Te(),ug()},unstable_isNewReconciler:ue}}var Eu=l.unstable_now,lT=0,fg=-1,sv=-1,dg=-1,c0=!1,pg=!1;function oT(){return c0}function Qk(){pg=!0}function Xk(){c0=!1,pg=!1}function Kk(){c0=pg,pg=!1}function uT(){return lT}function sT(){lT=Eu()}function f0(e){sv=Eu(),e.actualStartTime<0&&(e.actualStartTime=Eu())}function cT(e){sv=-1}function vg(e,t){if(sv>=0){var a=Eu()-sv;e.actualDuration+=a,t&&(e.selfBaseDuration=a),sv=-1}}function Cl(e){if(fg>=0){var t=Eu()-fg;fg=-1;for(var a=e.return;a!==null;){switch(a.tag){case R:var u=a.stateNode;u.effectDuration+=t;return;case q:var f=a.stateNode;f.effectDuration+=t;return}a=a.return}}}function d0(e){if(dg>=0){var t=Eu()-dg;dg=-1;for(var a=e.return;a!==null;){switch(a.tag){case R:var u=a.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case q:var f=a.stateNode;f!==null&&(f.passiveEffectDuration+=t);return}a=a.return}}}function xl(){fg=Eu()}function p0(){dg=Eu()}function v0(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Ii(e,t){if(e&&e.defaultProps){var a=Ne({},t),u=e.defaultProps;for(var f in u)a[f]===void 0&&(a[f]=u[f]);return a}return t}var h0={},m0,g0,y0,S0,w0,fT,hg,b0,E0,T0,cv;{m0=new Set,g0=new Set,y0=new Set,S0=new Set,b0=new Set,w0=new Set,E0=new Set,T0=new Set,cv=new Set;var dT=new Set;hg=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;dT.has(a)||(dT.add(a),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},fT=function(e,t){if(t===void 0){var a=kt(e)||"Component";w0.has(a)||(w0.add(a),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(h0,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(h0)}function C0(e,t,a,u){var f=e.memoizedState,v=a(u,f);{if(e.mode&Mt){qt(!0);try{v=a(u,f)}finally{qt(!1)}}fT(t,v)}var y=v==null?f:Ne({},f,v);if(e.memoizedState=y,e.lanes===ce){var E=e.updateQueue;E.baseState=y}}var x0={isMounted:Eh,enqueueSetState:function(e,t,a){var u=Ko(e),f=sa(),v=Ru(u),y=yo(f,v);y.payload=t,a!=null&&(hg(a,"setState"),y.callback=a);var E=yu(u,y,v);E!==null&&(rr(E,u,v,f),$m(E,u,v)),ss(u,v)},enqueueReplaceState:function(e,t,a){var u=Ko(e),f=sa(),v=Ru(u),y=yo(f,v);y.tag=DE,y.payload=t,a!=null&&(hg(a,"replaceState"),y.callback=a);var E=yu(u,y,v);E!==null&&(rr(E,u,v,f),$m(E,u,v)),ss(u,v)},enqueueForceUpdate:function(e,t){var a=Ko(e),u=sa(),f=Ru(a),v=yo(u,f);v.tag=Hm,t!=null&&(hg(t,"forceUpdate"),v.callback=t);var y=yu(a,v,f);y!==null&&(rr(y,a,f,u),$m(y,a,f)),qc(a,f)}};function pT(e,t,a,u,f,v,y){var E=e.stateNode;if(typeof E.shouldComponentUpdate=="function"){var C=E.shouldComponentUpdate(u,v,y);{if(e.mode&Mt){qt(!0);try{C=E.shouldComponentUpdate(u,v,y)}finally{qt(!1)}}C===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",kt(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!Ae(a,u)||!Ae(f,v):!0}function Zk(e,t,a){var u=e.stateNode;{var f=kt(t)||"Component",v=u.render;v||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",f):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",f)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",f),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",f),u.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",f),u.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",f),t.childContextTypes&&!cv.has(t)&&(e.mode&Mt)===Ve&&(cv.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
131
131
 
132
132
  .Learn more about this warning here: https://reactjs.org/link/legacy-context`,f)),t.contextTypes&&!cv.has(t)&&(e.mode&Mt)===Ve&&(cv.add(t),m(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
133
133
 
@@ -188,5 +188,5 @@ Check the render method of %s.`,rt(hr)||"Unknown"));var C=yo(v,y);C.payload={ele
188
188
 
189
189
  let root = createRoot(domContainer);
190
190
  root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(f=t.identifierPrefix),t.onRecoverableError!==void 0&&(v=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var y=zC(e,Dm,null,a,u,f,v);Em(y.current,e);var E=e.nodeType===gn?e.parentNode:e;return Ap(E),new kw(y)}function zg(e){this._internalRoot=e}function AM(e){e&&$h(e)}zg.prototype.unstable_scheduleHydration=AM;function PM(e,t,a){if(!Ag(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");nx(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=a??null,f=a!=null&&a.hydratedSources||null,v=!1,y=!1,E="",C=tx;a!=null&&(a.unstable_strictMode===!0&&(v=!0),a.identifierPrefix!==void 0&&(E=a.identifierPrefix),a.onRecoverableError!==void 0&&(C=a.onRecoverableError));var k=AC(t,null,e,Dm,u,v,y,E,C);if(Em(k.current,e),Ap(e),f)for(var _=0;_<f.length;_++){var B=f[_];Ik(k,B)}return new zg(k)}function Ag(e){return!!(e&&(e.nodeType===zr||e.nodeType===Ci||e.nodeType===jd))}function _v(e){return!!(e&&(e.nodeType===zr||e.nodeType===Ci||e.nodeType===jd||e.nodeType===gn&&e.nodeValue===" react-mount-point-unstable "))}function nx(e){e.nodeType===zr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Gp(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var jM=o.ReactCurrentOwner,rx;rx=function(e){if(e._reactRootContainer&&e.nodeType!==gn){var t=jC(e._reactRootContainer.current);t&&t.parentNode!==e&&m("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var a=!!e._reactRootContainer,u=Dw(e),f=!!(u&&pu(u));f&&!a&&m("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===zr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function Dw(e){return e?e.nodeType===Ci?e.documentElement:e.firstChild:null}function ax(){}function UM(e,t,a,u,f){if(f){if(typeof u=="function"){var v=u;u=function(){var I=Ng(y);v.call(I)}}var y=AC(t,u,e,hu,null,!1,!1,"",ax);e._reactRootContainer=y,Em(y.current,e);var E=e.nodeType===gn?e.parentNode:e;return Ap(E),Eo(),y}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof u=="function"){var k=u;u=function(){var I=Ng(_);k.call(I)}}var _=zC(e,hu,null,!1,!1,"",ax);e._reactRootContainer=_,Em(_.current,e);var B=e.nodeType===gn?e.parentNode:e;return Ap(B),Eo(function(){Dv(t,_,a,u)}),_}}function FM(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Pg(e,t,a,u,f){rx(a),FM(f===void 0?null:f,"render");var v=a._reactRootContainer,y;if(!v)y=UM(a,t,e,f,u);else{if(y=v,typeof f=="function"){var E=f;f=function(){var C=Ng(y);E.call(C)}}Dv(t,y,e,f)}return Ng(y)}var ix=!1;function IM(e){{ix||(ix=!0,m("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=jM.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||m("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",kt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===zr?e:CM(e,"findDOMNode")}function HM(e,t,a){if(m("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!_v(t))throw new Error("Target container is not a DOM element.");{var u=Gp(t)&&t._reactRootContainer===void 0;u&&m("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Pg(null,e,t,!0,a)}function BM(e,t,a){if(m("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!_v(t))throw new Error("Target container is not a DOM element.");{var u=Gp(t)&&t._reactRootContainer===void 0;u&&m("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Pg(null,e,t,!1,a)}function VM(e,t,a,u){if(m("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!_v(a))throw new Error("Target container is not a DOM element.");if(e==null||!Ry(e))throw new Error("parentComponent must be a valid React Component");return Pg(e,t,a,!1,u)}var lx=!1;function $M(e){if(lx||(lx=!0,m("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!_v(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Gp(e)&&e._reactRootContainer===void 0;t&&m("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var a=Dw(e),u=a&&!pu(a);u&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return Eo(function(){Pg(null,null,e,!1,function(){e._reactRootContainer=null,tE(e)})}),!0}else{{var f=Dw(e),v=!!(f&&pu(f)),y=e.nodeType===zr&&_v(e.parentNode)&&!!e.parentNode._reactRootContainer;v&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",y?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}ur(xM),au(RM),Ih(OM),xs(Ca),yp(jh),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),zc(GR),xy(lw,P_,Eo);function WM(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ag(t))throw new Error("Target container is not a DOM element.");return TM(e,t,null,a)}function GM(e,t,a,u){return VM(e,t,a,u)}var _w={usingClientEntryPoint:!1,Events:[pu,jf,Tm,Yo,Ac,lw]};function YM(e,t){return _w.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),zM(e,t)}function qM(e,t,a){return _w.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),PM(e,t,a)}function QM(e){return pC()&&m("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Eo(e)}var XM=NM({findFiberByHostInstance:Fs,bundleType:1,version:Tw,rendererPackageName:"react-dom"});if(!XM&&Et&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var ox=window.location.protocol;/^(https?|file):$/.test(ox)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(ox==="file:"?`
191
- You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}La.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_w,La.createPortal=WM,La.createRoot=YM,La.findDOMNode=IM,La.flushSync=QM,La.hydrate=HM,La.hydrateRoot=qM,La.render=BM,La.unmountComponentAtNode=$M,La.unstable_batchedUpdates=lw,La.unstable_renderSubtreeIntoContainer=GM,La.version=Tw,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),La}var qx;function Fz(){if(qx)return Ug.exports;qx=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(l){console.error(l)}}}return process.env.NODE_ENV==="production"?(i(),Ug.exports=jz()):Ug.exports=Uz(),Ug.exports}var Iz=Fz();function sb(i,l,o){return(i-l)/(o-l)}function xb(i,l,o,c){var p=sb(l,o,c),h={};switch(i){case"rtl":h.right="".concat(p*100,"%"),h.transform="translateX(50%)";break;case"btt":h.bottom="".concat(p*100,"%"),h.transform="translateY(50%)";break;case"ttb":h.top="".concat(p*100,"%"),h.transform="translateY(-50%)";break;default:h.left="".concat(p*100,"%"),h.transform="translateX(-50%)";break}return h}function nc(i,l){return Array.isArray(i)?i[l]:i}var cr={BACKSPACE:8,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},cc=V.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),Hz=V.createContext({}),Bz=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],cb=V.forwardRef(function(i,l){var o=i.prefixCls,c=i.value,p=i.valueIndex,h=i.onStartMove,m=i.onDelete,w=i.style,b=i.render,T=i.dragging,O=i.draggingDelete,R=i.onOffsetChange,D=i.onChangeComplete,L=i.onFocus,M=i.onMouseEnter,U=Y1(i,Bz),P=V.useContext(cc),N=P.min,z=P.max,j=P.direction,q=P.disabled,$=P.keyboard,se=P.range,le=P.tabIndex,ve=P.ariaLabelForHandle,ee=P.ariaLabelledByForHandle,J=P.ariaRequired,re=P.ariaValueTextFormatterForHandle,oe=P.styles,we=P.classNames,Qe="".concat(o,"-handle"),Ge=function(bt){q||h(bt,p)},be=function(bt){L==null||L(bt,p)},$e=function(bt){M(bt,p)},ue=function(bt){if(!q&&$){var nt=null;switch(bt.which||bt.keyCode){case cr.LEFT:nt=j==="ltr"||j==="btt"?-1:1;break;case cr.RIGHT:nt=j==="ltr"||j==="btt"?1:-1;break;case cr.UP:nt=j!=="ttb"?1:-1;break;case cr.DOWN:nt=j!=="ttb"?-1:1;break;case cr.HOME:nt="min";break;case cr.END:nt="max";break;case cr.PAGE_UP:nt=2;break;case cr.PAGE_DOWN:nt=-2;break;case cr.BACKSPACE:case cr.DELETE:m(p);break}nt!==null&&(bt.preventDefault(),R(nt,p))}},Se=function(bt){switch(bt.which||bt.keyCode){case cr.LEFT:case cr.RIGHT:case cr.UP:case cr.DOWN:case cr.HOME:case cr.END:case cr.PAGE_UP:case cr.PAGE_DOWN:D==null||D();break}},ye=xb(j,c,N,z),tt={};if(p!==null){var it;tt={tabIndex:q?null:nc(le,p),role:"slider","aria-valuemin":N,"aria-valuemax":z,"aria-valuenow":c,"aria-disabled":q,"aria-label":nc(ve,p),"aria-labelledby":nc(ee,p),"aria-required":nc(J,p),"aria-valuetext":(it=nc(re,p))===null||it===void 0?void 0:it(c),"aria-orientation":j==="ltr"||j==="rtl"?"horizontal":"vertical",onMouseDown:Ge,onTouchStart:Ge,onFocus:be,onMouseEnter:$e,onKeyDown:ue,onKeyUp:Se}}var Rn=V.createElement("div",Hv({ref:l,className:lc(Qe,hi(hi(hi({},"".concat(Qe,"-").concat(p+1),p!==null&&se),"".concat(Qe,"-dragging"),T),"".concat(Qe,"-dragging-delete"),O),we.handle),style:Kr(Kr(Kr({},ye),w),oe.handle)},tt,U));return b&&(Rn=b(Rn,{index:p,prefixCls:o,value:c,dragging:T,draggingDelete:O})),Rn});process.env.NODE_ENV!=="production"&&(cb.displayName="Handle");var Vz=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],Q1=V.forwardRef(function(i,l){var o=i.prefixCls,c=i.style,p=i.onStartMove,h=i.onOffsetChange,m=i.values,w=i.handleRender,b=i.activeHandleRender,T=i.draggingIndex,O=i.draggingDelete,R=i.onFocus,D=Y1(i,Vz),L=V.useRef({}),M=V.useState(!1),U=Dr(M,2),P=U[0],N=U[1],z=V.useState(-1),j=Dr(z,2),q=j[0],$=j[1],se=function(re){$(re),N(!0)},le=function(re,oe){se(oe),R==null||R(re)},ve=function(re,oe){se(oe)};V.useImperativeHandle(l,function(){return{focus:function(re){var oe;(oe=L.current[re])===null||oe===void 0||oe.focus()},hideHelp:function(){Iz.flushSync(function(){N(!1)})}}});var ee=Kr({prefixCls:o,onStartMove:p,onOffsetChange:h,render:w,onFocus:le,onMouseEnter:ve},D);return V.createElement(V.Fragment,null,m.map(function(J,re){var oe=T===re;return V.createElement(cb,Hv({ref:function(Qe){Qe?L.current[re]=Qe:delete L.current[re]},dragging:oe,draggingDelete:oe&&O,style:nc(c,re),key:re,value:J,valueIndex:re},ee))}),b&&P&&V.createElement(cb,Hv({key:"a11y"},ee,{value:m[q],valueIndex:null,dragging:T!==-1,draggingDelete:O,render:b,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))});process.env.NODE_ENV!=="production"&&(Q1.displayName="Handles");var $z=function(l){var o=l.prefixCls,c=l.style,p=l.children,h=l.value,m=l.onClick,w=V.useContext(cc),b=w.min,T=w.max,O=w.direction,R=w.includedStart,D=w.includedEnd,L=w.included,M="".concat(o,"-text"),U=xb(O,h,b,T);return V.createElement("span",{className:lc(M,hi({},"".concat(M,"-active"),L&&R<=h&&h<=D)),style:Kr(Kr({},U),c),onMouseDown:function(N){N.stopPropagation()},onClick:function(){m(h)}},p)},Wz=function(l){var o=l.prefixCls,c=l.marks,p=l.onClick,h="".concat(o,"-mark");return c.length?V.createElement("div",{className:h},c.map(function(m){var w=m.value,b=m.style,T=m.label;return V.createElement($z,{key:w,prefixCls:h,style:b,value:w,onClick:p},T)})):null},Gz=function(l){var o=l.prefixCls,c=l.value,p=l.style,h=l.activeStyle,m=V.useContext(cc),w=m.min,b=m.max,T=m.direction,O=m.included,R=m.includedStart,D=m.includedEnd,L="".concat(o,"-dot"),M=O&&R<=c&&c<=D,U=Kr(Kr({},xb(T,c,w,b)),typeof p=="function"?p(c):p);return M&&(U=Kr(Kr({},U),typeof h=="function"?h(c):h)),V.createElement("span",{className:lc(L,hi({},"".concat(L,"-active"),M)),style:U})},Yz=function(l){var o=l.prefixCls,c=l.marks,p=l.dots,h=l.style,m=l.activeStyle,w=V.useContext(cc),b=w.min,T=w.max,O=w.step,R=V.useMemo(function(){var D=new Set;if(c.forEach(function(M){D.add(M.value)}),p&&O!==null)for(var L=b;L<=T;)D.add(L),L+=O;return Array.from(D)},[b,T,O,p,c]);return V.createElement("div",{className:"".concat(o,"-step")},R.map(function(D){return V.createElement(Gz,{prefixCls:o,key:D,value:D,style:h,activeStyle:m})}))},Qx=function(l){var o=l.prefixCls,c=l.style,p=l.start,h=l.end,m=l.index,w=l.onStartMove,b=l.replaceCls,T=V.useContext(cc),O=T.direction,R=T.min,D=T.max,L=T.disabled,M=T.range,U=T.classNames,P="".concat(o,"-track"),N=sb(p,R,D),z=sb(h,R,D),j=function(le){!L&&w&&w(le,-1)},q={};switch(O){case"rtl":q.right="".concat(N*100,"%"),q.width="".concat(z*100-N*100,"%");break;case"btt":q.bottom="".concat(N*100,"%"),q.height="".concat(z*100-N*100,"%");break;case"ttb":q.top="".concat(N*100,"%"),q.height="".concat(z*100-N*100,"%");break;default:q.left="".concat(N*100,"%"),q.width="".concat(z*100-N*100,"%")}var $=b||lc(P,hi(hi({},"".concat(P,"-").concat(m+1),m!==null&&M),"".concat(o,"-track-draggable"),w),U.track);return V.createElement("div",{className:$,style:Kr(Kr({},q),c),onMouseDown:j,onTouchStart:j})},qz=function(l){var o=l.prefixCls,c=l.style,p=l.values,h=l.startPoint,m=l.onStartMove,w=V.useContext(cc),b=w.included,T=w.range,O=w.min,R=w.styles,D=w.classNames,L=V.useMemo(function(){if(!T){if(p.length===0)return[];var U=h??O,P=p[0];return[{start:Math.min(U,P),end:Math.max(U,P)}]}for(var N=[],z=0;z<p.length-1;z+=1)N.push({start:p[z],end:p[z+1]});return N},[p,T,h,O]);if(!b)return null;var M=L!=null&&L.length&&(D.tracks||R.tracks)?V.createElement(Qx,{index:null,prefixCls:o,start:L[0].start,end:L[L.length-1].end,replaceCls:lc(D.tracks,"".concat(o,"-tracks")),style:R.tracks}):null;return V.createElement(V.Fragment,null,M,L.map(function(U,P){var N=U.start,z=U.end;return V.createElement(Qx,{index:P,prefixCls:o,style:Kr(Kr({},nc(c,P)),R.track),start:N,end:z,key:P,onStartMove:m})}))},Qz=130;function Xx(i){var l="targetTouches"in i?i.targetTouches[0]:i;return{pageX:l.pageX,pageY:l.pageY}}function Xz(i,l,o,c,p,h,m,w,b,T,O){var R=V.useState(null),D=Dr(R,2),L=D[0],M=D[1],U=V.useState(-1),P=Dr(U,2),N=P[0],z=P[1],j=V.useState(!1),q=Dr(j,2),$=q[0],se=q[1],le=V.useState(o),ve=Dr(le,2),ee=ve[0],J=ve[1],re=V.useState(o),oe=Dr(re,2),we=oe[0],Qe=oe[1],Ge=V.useRef(null),be=V.useRef(null),$e=V.useRef(null),ue=V.useContext(Hz),Se=ue.onDragStart,ye=ue.onDragChange;$1(function(){N===-1&&J(o)},[o,N]),V.useEffect(function(){return function(){document.removeEventListener("mousemove",Ge.current),document.removeEventListener("mouseup",be.current),$e.current&&($e.current.removeEventListener("touchmove",Ge.current),$e.current.removeEventListener("touchend",be.current))}},[]);var tt=function(nt,pt,zt){pt!==void 0&&M(pt),J(nt);var Bt=nt;zt&&(Bt=nt.filter(function(Dt,Et){return Et!==N})),m(Bt),ye&&ye({rawValues:nt,deleteIndex:zt?N:-1,draggingIndex:N,draggingValue:pt})},it=dd(function(bt,nt,pt){if(bt===-1){var zt=we[0],Bt=we[we.length-1],Dt=c-zt,Et=p-Bt,Kt=nt*(p-c);Kt=Math.max(Kt,Dt),Kt=Math.min(Kt,Et);var an=h(zt+Kt);Kt=an-zt;var Yt=we.map(function(dr){return dr+Kt});tt(Yt)}else{var Zt=(p-c)*nt,hn=_o(ee);hn[bt]=we[bt];var fr=b(hn,Zt,bt,"dist");tt(fr.values,fr.value,pt)}}),Rn=function(nt,pt,zt){nt.stopPropagation();var Bt=zt||o,Dt=Bt[pt];z(pt),M(Dt),Qe(Bt),J(Bt),se(!1);var Et=Xx(nt),Kt=Et.pageX,an=Et.pageY,Yt=!1;Se&&Se({rawValues:Bt,draggingIndex:pt,draggingValue:Dt});var Zt=function(dr){dr.preventDefault();var zn=Xx(dr),Mr=zn.pageX,mn=zn.pageY,On=Mr-Kt,Jt=mn-an,An=i.current.getBoundingClientRect(),ln=An.width,Hn=An.height,ir,lr;switch(l){case"btt":ir=-Jt/Hn,lr=On;break;case"ttb":ir=Jt/Hn,lr=On;break;case"rtl":ir=-On/ln,lr=Jt;break;default:ir=On/ln,lr=Jt}Yt=T?Math.abs(lr)>Qz&&O<ee.length:!1,se(Yt),it(pt,ir,Yt)},hn=function fr(dr){dr.preventDefault(),document.removeEventListener("mouseup",fr),document.removeEventListener("mousemove",Zt),$e.current&&($e.current.removeEventListener("touchmove",Ge.current),$e.current.removeEventListener("touchend",be.current)),Ge.current=null,be.current=null,$e.current=null,w(Yt),z(-1),se(!1)};document.addEventListener("mouseup",hn),document.addEventListener("mousemove",Zt),nt.currentTarget.addEventListener("touchend",hn),nt.currentTarget.addEventListener("touchmove",Zt),Ge.current=Zt,be.current=hn,$e.current=nt.currentTarget},Ht=V.useMemo(function(){var bt=_o(o).sort(function(Dt,Et){return Dt-Et}),nt=_o(ee).sort(function(Dt,Et){return Dt-Et}),pt={};nt.forEach(function(Dt){pt[Dt]=(pt[Dt]||0)+1}),bt.forEach(function(Dt){pt[Dt]=(pt[Dt]||0)-1});var zt=T?1:0,Bt=Object.values(pt).reduce(function(Dt,Et){return Dt+Math.abs(Et)},0);return Bt<=zt?ee:o},[o,ee,T]);return[N,L,$,Ht,Rn]}function Kz(i,l,o,c,p,h){var m=V.useCallback(function(L){return Math.max(i,Math.min(l,L))},[i,l]),w=V.useCallback(function(L){if(o!==null){var M=i+Math.round((m(L)-i)/o)*o,U=function(j){return(String(j).split(".")[1]||"").length},P=Math.max(U(o),U(l),U(i)),N=Number(M.toFixed(P));return i<=N&&N<=l?N:null}return null},[o,i,l,m]),b=V.useCallback(function(L){var M=m(L),U=c.map(function(z){return z.value});o!==null&&U.push(w(L)),U.push(i,l);var P=U[0],N=l-i;return U.forEach(function(z){var j=Math.abs(M-z);j<=N&&(P=z,N=j)}),P},[i,l,c,o,m,w]),T=function L(M,U,P){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof U=="number"){var z,j=M[P],q=j+U,$=[];c.forEach(function(J){$.push(J.value)}),$.push(i,l),$.push(w(j));var se=U>0?1:-1;N==="unit"?$.push(w(j+se*o)):$.push(w(q)),$=$.filter(function(J){return J!==null}).filter(function(J){return U<0?J<=j:J>=j}),N==="unit"&&($=$.filter(function(J){return J!==j}));var le=N==="unit"?j:q;z=$[0];var ve=Math.abs(z-le);if($.forEach(function(J){var re=Math.abs(J-le);re<ve&&(z=J,ve=re)}),z===void 0)return U<0?i:l;if(N==="dist")return z;if(Math.abs(U)>1){var ee=_o(M);return ee[P]=z,L(ee,U-se,P,N)}return z}else{if(U==="min")return i;if(U==="max")return l}},O=function(M,U,P){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",z=M[P],j=T(M,U,P,N);return{value:j,changed:j!==z}},R=function(M){return h===null&&M===0||typeof h=="number"&&M<h},D=function(M,U,P){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",z=M.map(b),j=z[P],q=T(z,U,P,N);if(z[P]=q,p===!1){var $=h||0;P>0&&z[P-1]!==j&&(z[P]=Math.max(z[P],z[P-1]+$)),P<z.length-1&&z[P+1]!==j&&(z[P]=Math.min(z[P],z[P+1]-$))}else if(typeof h=="number"||h===null){for(var se=P+1;se<z.length;se+=1)for(var le=!0;R(z[se]-z[se-1])&&le;){var ve=O(z,1,se);z[se]=ve.value,le=ve.changed}for(var ee=P;ee>0;ee-=1)for(var J=!0;R(z[ee]-z[ee-1])&&J;){var re=O(z,-1,ee-1);z[ee-1]=re.value,J=re.changed}for(var oe=z.length-1;oe>0;oe-=1)for(var we=!0;R(z[oe]-z[oe-1])&&we;){var Qe=O(z,-1,oe-1);z[oe-1]=Qe.value,we=Qe.changed}for(var Ge=0;Ge<z.length-1;Ge+=1)for(var be=!0;R(z[Ge+1]-z[Ge])&&be;){var $e=O(z,1,Ge+1);z[Ge+1]=$e.value,be=$e.changed}}return{value:z[P],values:z}};return[b,D]}function Zz(i){return Ie.useMemo(function(){if(i===!0||!i)return[!!i,!1,!1,0];var l=i.editable,o=i.draggableTrack,c=i.minCount,p=i.maxCount;return process.env.NODE_ENV!=="production"&&W1(!l||!o,"`editable` can not work with `draggableTrack`."),[!0,l,!l&&o,c||0,p]},[i])}var X1=V.forwardRef(function(i,l){var o=i.prefixCls,c=o===void 0?"rc-slider":o,p=i.className,h=i.style,m=i.classNames,w=i.styles,b=i.id,T=i.disabled,O=T===void 0?!1:T,R=i.keyboard,D=R===void 0?!0:R,L=i.autoFocus,M=i.onFocus,U=i.onBlur,P=i.min,N=P===void 0?0:P,z=i.max,j=z===void 0?100:z,q=i.step,$=q===void 0?1:q,se=i.value,le=i.defaultValue,ve=i.range,ee=i.count,J=i.onChange,re=i.onBeforeChange,oe=i.onAfterChange,we=i.onChangeComplete,Qe=i.allowCross,Ge=Qe===void 0?!0:Qe,be=i.pushable,$e=be===void 0?!1:be,ue=i.reverse,Se=i.vertical,ye=i.included,tt=ye===void 0?!0:ye,it=i.startPoint,Rn=i.trackStyle,Ht=i.handleStyle,bt=i.railStyle,nt=i.dotStyle,pt=i.activeDotStyle,zt=i.marks,Bt=i.dots,Dt=i.handleRender,Et=i.activeHandleRender,Kt=i.track,an=i.tabIndex,Yt=an===void 0?0:an,Zt=i.ariaLabelForHandle,hn=i.ariaLabelledByForHandle,fr=i.ariaRequired,dr=i.ariaValueTextFormatterForHandle,zn=V.useRef(null),Mr=V.useRef(null),mn=V.useMemo(function(){return Se?ue?"ttb":"btt":ue?"rtl":"ltr"},[ue,Se]),On=Zz(ve),Jt=Dr(On,5),An=Jt[0],ln=Jt[1],Hn=Jt[2],ir=Jt[3],lr=Jt[4],Pn=V.useMemo(function(){return isFinite(N)?N:0},[N]),Ee=V.useMemo(function(){return isFinite(j)?j:100},[j]),Ue=V.useMemo(function(){return $!==null&&$<=0?1:$},[$]),ot=V.useMemo(function(){return typeof $e=="boolean"?$e?Ue:!1:$e>=0?$e:!1},[$e,Ue]),ht=V.useMemo(function(){return Object.keys(zt||{}).map(function(Tt){var Ce=zt[Tt],Ne={value:Number(Tt)};return Ce&&Mu(Ce)==="object"&&!V.isValidElement(Ce)&&("label"in Ce||"style"in Ce)?(Ne.style=Ce.style,Ne.label=Ce.label):Ne.label=Ce,Ne}).filter(function(Tt){var Ce=Tt.label;return Ce||typeof Ce=="number"}).sort(function(Tt,Ce){return Tt.value-Ce.value})},[zt]),Vt=Kz(Pn,Ee,Ue,ht,Ge,ot),Bn=Dr(Vt,2),jt=Bn[0],Vn=Bn[1],en=kz(le,{value:se}),Ut=Dr(en,2),_t=Ut[0],Gi=Ut[1],$t=V.useMemo(function(){var Tt=_t==null?[]:Array.isArray(_t)?_t:[_t],Ce=Dr(Tt,1),Ne=Ce[0],Ct=Ne===void 0?Pn:Ne,tn=_t===null?[]:[Ct];if(An){if(tn=_o(Tt),ee||_t===void 0){var Lr=ee>=0?ee+1:2;for(tn=tn.slice(0,Lr);tn.length<Lr;){var pa;tn.push((pa=tn[tn.length-1])!==null&&pa!==void 0?pa:Pn)}}tn.sort(function(Jr,vr){return Jr-vr})}return tn.forEach(function(Jr,vr){tn[vr]=jt(Jr)}),tn},[_t,An,Pn,ee,jt]),Na=function(Ce){return An?Ce:Ce[0]},_l=dd(function(Tt){var Ce=_o(Tt).sort(function(Ne,Ct){return Ne-Ct});J&&!Nz(Ce,$t,!0)&&J(Na(Ce)),Gi(Ce)}),Lu=dd(function(Tt){Tt&&zn.current.hideHelp();var Ce=Na($t);oe==null||oe(Ce),ac(!oe,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),we==null||we(Ce)}),Nu=function(Ce){if(!(O||!ln||$t.length<=ir)){var Ne=_o($t);Ne.splice(Ce,1),re==null||re(Na(Ne)),_l(Ne);var Ct=Math.max(0,Ce-1);zn.current.hideHelp(),zn.current.focus(Ct)}},zu=Xz(Mr,mn,$t,Pn,Ee,jt,_l,Lu,Vn,ln,ir),mi=Dr(zu,5),Po=mi[0],gi=mi[1],Ga=mi[2],pr=mi[3],yi=mi[4],Ya=function(Ce,Ne){if(!O){var Ct=_o($t),tn=0,Lr=0,pa=Ee-Pn;$t.forEach(function(on,Uo){var pc=Math.abs(Ce-on);pc<=pa&&(pa=pc,tn=Uo),on<Ce&&(Lr=Uo)});var Jr=tn;ln&&pa!==0&&(!lr||$t.length<lr)?(Ct.splice(Lr+1,0,Ce),Jr=Lr+1):Ct[tn]=Ce,An&&!$t.length&&ee===void 0&&Ct.push(Ce);var vr=Na(Ct);if(re==null||re(vr),_l(Ct),Ne){var Dn,Si;(Dn=document.activeElement)===null||Dn===void 0||(Si=Dn.blur)===null||Si===void 0||Si.call(Dn),zn.current.focus(Jr),yi(Ne,Jr,Ct)}else oe==null||oe(vr),ac(!oe,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),we==null||we(vr)}},Yi=function(Ce){Ce.preventDefault();var Ne=Mr.current.getBoundingClientRect(),Ct=Ne.width,tn=Ne.height,Lr=Ne.left,pa=Ne.top,Jr=Ne.bottom,vr=Ne.right,Dn=Ce.clientX,Si=Ce.clientY,on;switch(mn){case"btt":on=(Jr-Si)/tn;break;case"ttb":on=(Si-pa)/tn;break;case"rtl":on=(vr-Dn)/Ct;break;default:on=(Dn-Lr)/Ct}var Uo=Pn+on*(Ee-Pn);Ya(jt(Uo),Ce)},qi=V.useState(null),Qi=Dr(qi,2),qa=Qi[0],Ml=Qi[1],jo=function(Ce,Ne){if(!O){var Ct=Vn($t,Ce,Ne);re==null||re(Na($t)),_l(Ct.values),Ml(Ct.value)}};V.useEffect(function(){if(qa!==null){var Tt=$t.indexOf(qa);Tt>=0&&zn.current.focus(Tt)}Ml(null)},[qa]);var Zr=V.useMemo(function(){return Hn&&Ue===null?(process.env.NODE_ENV!=="production"&&ac(!1,"`draggableTrack` is not supported when `step` is `null`."),!1):Hn},[Hn,Ue]),kn=dd(function(Tt,Ce){yi(Tt,Ce),re==null||re(Na($t))}),Au=Po!==-1;V.useEffect(function(){if(!Au){var Tt=$t.lastIndexOf(gi);zn.current.focus(Tt)}},[Au]);var Ll=V.useMemo(function(){return _o(pr).sort(function(Tt,Ce){return Tt-Ce})},[pr]),Pu=V.useMemo(function(){return An?[Ll[0],Ll[Ll.length-1]]:[Pn,Ll[0]]},[Ll,An,Pn]),ju=Dr(Pu,2),Uu=ju[0],Fu=ju[1];V.useImperativeHandle(l,function(){return{focus:function(){zn.current.focus(0)},blur:function(){var Ce,Ne=document,Ct=Ne.activeElement;(Ce=Mr.current)!==null&&Ce!==void 0&&Ce.contains(Ct)&&(Ct==null||Ct.blur())}}}),V.useEffect(function(){L&&zn.current.focus(0)},[]);var dc=V.useMemo(function(){return{min:Pn,max:Ee,direction:mn,disabled:O,keyboard:D,step:Ue,included:tt,includedStart:Uu,includedEnd:Fu,range:An,tabIndex:Yt,ariaLabelForHandle:Zt,ariaLabelledByForHandle:hn,ariaRequired:fr,ariaValueTextFormatterForHandle:dr,styles:w||{},classNames:m||{}}},[Pn,Ee,mn,O,D,Ue,tt,Uu,Fu,An,Yt,Zt,hn,fr,dr,w,m]);return V.createElement(cc.Provider,{value:dc},V.createElement("div",{ref:Mr,className:lc(c,p,hi(hi(hi(hi({},"".concat(c,"-disabled"),O),"".concat(c,"-vertical"),Se),"".concat(c,"-horizontal"),!Se),"".concat(c,"-with-marks"),ht.length)),style:h,onMouseDown:Yi,id:b},V.createElement("div",{className:lc("".concat(c,"-rail"),m==null?void 0:m.rail),style:Kr(Kr({},bt),w==null?void 0:w.rail)}),Kt!==!1&&V.createElement(qz,{prefixCls:c,style:Rn,values:$t,startPoint:it,onStartMove:Zr?kn:void 0}),V.createElement(Yz,{prefixCls:c,marks:ht,dots:Bt,style:nt,activeStyle:pt}),V.createElement(Q1,{ref:zn,prefixCls:c,style:Ht,values:pr,draggingIndex:Po,draggingDelete:Ga,onStartMove:kn,onOffsetChange:jo,onFocus:M,onBlur:U,handleRender:Dt,activeHandleRender:Et,onChangeComplete:Lu,onDelete:ln?Nu:void 0}),V.createElement(Wz,{prefixCls:c,marks:ht,onClick:Ya})))});process.env.NODE_ENV!=="production"&&(X1.displayName="Slider");const Jz=({block:i,...l})=>ge.jsx(X1,{className:ar(i,"range-slider"),...l,range:!0}),eA=(i,l,o)=>{if(!o||!l.trim())return i;const c=i.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return c.length>0?c:null},tA=({options:i,onClick:l,handleSelect:o,onClickToOptions:c,isOpen:p,value:h,onChange:m,block:w,id:b="select",name:T="select",disabled:O,hasSearch:R=!1,...D})=>{const L=Ie.useMemo(()=>eA(i,h,R),[i,h,R]),M=U=>{m(U),o(R)};return ge.jsxs(rc.Wrapper,{onClickOutside:o,isOpen:p,block:w,disabled:O,children:[ge.jsxs(rc.Block,{onClick:l,block:"select",children:[ge.jsx(rc.Input,{disabled:O,id:b,name:T,value:h,onChange:M,hasSearch:R,...D}),ge.jsx(rc.Arrow,{})]}),ge.jsx(rc.List,{options:L,onClick:c,value:h})]})},nA=({options:i,onClick:l,value:o})=>i?ge.jsx("ul",{className:"select__options",children:i.map(c=>{const p=c===o,h=()=>{l(c)};return ge.jsx(rc.Option,{isSelected:p,onOptionClick:h,option:c},c)})}):ge.jsx("ul",{className:"select__options",children:ge.jsx("li",{className:"select__option select__option_empty",children:"Nothing found"})}),rA=({isSelected:i,option:l,onOptionClick:o})=>ge.jsx("li",{className:ar("","select__option",{_selected:i}),onClick:o,children:l}),aA=({onChange:i,hasSearch:l,...o})=>ge.jsx(x1,{isReadOnly:!l,isTransparent:!0,onChange:i,...o}),iA=()=>ge.jsx(Dl.ArrowNarrowDown,{className:"select__arrow"}),lA=({children:i,onClick:l})=>ge.jsx("div",{onClick:l,className:"select__block",children:i}),oA="selectTestId",uA=c1(lA,"select"),sA=({children:i,isOpen:l,onClickOutside:o,block:c,disabled:p=!1})=>{const h=s1(o);return ge.jsx("div",{ref:h,"data-testid":oA,className:ar(c,"select",{_open:l,disabled:p}),children:i})},rc=Object.assign(tA,{List:nA,Option:rA,Input:aA,Arrow:iA,Wrapper:sA,Block:uA});function Kx(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function Rb(i,l){i===void 0&&(i={}),l===void 0&&(l={});const o=["__proto__","constructor","prototype"];Object.keys(l).filter(c=>o.indexOf(c)<0).forEach(c=>{typeof i[c]>"u"?i[c]=l[c]:Kx(l[c])&&Kx(i[c])&&Object.keys(l[c]).length>0&&Rb(i[c],l[c])})}const K1={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function fc(){const i=typeof document<"u"?document:{};return Rb(i,K1),i}const cA={document:K1,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function da(){const i=typeof window<"u"?window:{};return Rb(i,cA),i}function fA(i){return i===void 0&&(i=""),i.trim().split(" ").filter(l=>!!l.trim())}function dA(i){const l=i;Object.keys(l).forEach(o=>{try{l[o]=null}catch{}try{delete l[o]}catch{}})}function fb(i,l){return l===void 0&&(l=0),setTimeout(i,l)}function ty(){return Date.now()}function pA(i){const l=da();let o;return l.getComputedStyle&&(o=l.getComputedStyle(i,null)),!o&&i.currentStyle&&(o=i.currentStyle),o||(o=i.style),o}function vA(i,l){l===void 0&&(l="x");const o=da();let c,p,h;const m=pA(i);return o.WebKitCSSMatrix?(p=m.transform||m.webkitTransform,p.split(",").length>6&&(p=p.split(", ").map(w=>w.replace(",",".")).join(", ")),h=new o.WebKitCSSMatrix(p==="none"?"":p)):(h=m.MozTransform||m.OTransform||m.MsTransform||m.msTransform||m.transform||m.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),c=h.toString().split(",")),l==="x"&&(o.WebKitCSSMatrix?p=h.m41:c.length===16?p=parseFloat(c[12]):p=parseFloat(c[4])),l==="y"&&(o.WebKitCSSMatrix?p=h.m42:c.length===16?p=parseFloat(c[13]):p=parseFloat(c[5])),p||0}function Ig(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function hA(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function Wa(){const i=Object(arguments.length<=0?void 0:arguments[0]),l=["__proto__","constructor","prototype"];for(let o=1;o<arguments.length;o+=1){const c=o<0||arguments.length<=o?void 0:arguments[o];if(c!=null&&!hA(c)){const p=Object.keys(Object(c)).filter(h=>l.indexOf(h)<0);for(let h=0,m=p.length;h<m;h+=1){const w=p[h],b=Object.getOwnPropertyDescriptor(c,w);b!==void 0&&b.enumerable&&(Ig(i[w])&&Ig(c[w])?c[w].__swiper__?i[w]=c[w]:Wa(i[w],c[w]):!Ig(i[w])&&Ig(c[w])?(i[w]={},c[w].__swiper__?i[w]=c[w]:Wa(i[w],c[w])):i[w]=c[w])}}}return i}function Hg(i,l,o){i.style.setProperty(l,o)}function Z1(i){let{swiper:l,targetPosition:o,side:c}=i;const p=da(),h=-l.translate;let m=null,w;const b=l.params.speed;l.wrapperEl.style.scrollSnapType="none",p.cancelAnimationFrame(l.cssModeFrameID);const T=o>h?"next":"prev",O=(D,L)=>T==="next"&&D>=L||T==="prev"&&D<=L,R=()=>{w=new Date().getTime(),m===null&&(m=w);const D=Math.max(Math.min((w-m)/b,1),0),L=.5-Math.cos(D*Math.PI)/2;let M=h+L*(o-h);if(O(M,o)&&(M=o),l.wrapperEl.scrollTo({[c]:M}),O(M,o)){l.wrapperEl.style.overflow="hidden",l.wrapperEl.style.scrollSnapType="",setTimeout(()=>{l.wrapperEl.style.overflow="",l.wrapperEl.scrollTo({[c]:M})}),p.cancelAnimationFrame(l.cssModeFrameID);return}l.cssModeFrameID=p.requestAnimationFrame(R)};R()}function Mo(i,l){l===void 0&&(l="");const o=da(),c=[...i.children];return o.HTMLSlotElement&&i instanceof HTMLSlotElement&&c.push(...i.assignedElements()),l?c.filter(p=>p.matches(l)):c}function mA(i,l){const o=[l];for(;o.length>0;){const c=o.shift();if(i===c)return!0;o.push(...c.children,...c.shadowRoot?c.shadowRoot.children:[],...c.assignedElements?c.assignedElements():[])}}function gA(i,l){const o=da();let c=l.contains(i);return!c&&o.HTMLSlotElement&&l instanceof HTMLSlotElement&&(c=[...l.assignedElements()].includes(i),c||(c=mA(i,l))),c}function ny(i){try{console.warn(i);return}catch{}}function db(i,l){l===void 0&&(l=[]);const o=document.createElement(i);return o.classList.add(...Array.isArray(l)?l:fA(l)),o}function yA(i,l){const o=[];for(;i.previousElementSibling;){const c=i.previousElementSibling;l?c.matches(l)&&o.push(c):o.push(c),i=c}return o}function SA(i,l){const o=[];for(;i.nextElementSibling;){const c=i.nextElementSibling;l?c.matches(l)&&o.push(c):o.push(c),i=c}return o}function Du(i,l){return da().getComputedStyle(i,null).getPropertyValue(l)}function Zx(i){let l=i,o;if(l){for(o=0;(l=l.previousSibling)!==null;)l.nodeType===1&&(o+=1);return o}}function wA(i,l){const o=[];let c=i.parentElement;for(;c;)o.push(c),c=c.parentElement;return o}function Jx(i,l,o){const c=da();return i[l==="width"?"offsetWidth":"offsetHeight"]+parseFloat(c.getComputedStyle(i,null).getPropertyValue(l==="width"?"margin-right":"margin-top"))+parseFloat(c.getComputedStyle(i,null).getPropertyValue(l==="width"?"margin-left":"margin-bottom"))}function e1(i,l){l===void 0&&(l=""),typeof trustedTypes<"u"?i.innerHTML=trustedTypes.createPolicy("html",{createHTML:o=>o}).createHTML(l):i.innerHTML=l}let Iw;function bA(){const i=da(),l=fc();return{smoothScroll:l.documentElement&&l.documentElement.style&&"scrollBehavior"in l.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&l instanceof i.DocumentTouch)}}function J1(){return Iw||(Iw=bA()),Iw}let Hw;function EA(i){let{userAgent:l}=i===void 0?{}:i;const o=J1(),c=da(),p=c.navigator.platform,h=l||c.navigator.userAgent,m={ios:!1,android:!1},w=c.screen.width,b=c.screen.height,T=h.match(/(Android);?[\s\/]+([\d.]+)?/);let O=h.match(/(iPad).*OS\s([\d_]+)/);const R=h.match(/(iPod)(.*OS\s([\d_]+))?/),D=!O&&h.match(/(iPhone\sOS|iOS)\s([\d_]+)/),L=p==="Win32";let M=p==="MacIntel";const U=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!O&&M&&o.touch&&U.indexOf(`${w}x${b}`)>=0&&(O=h.match(/(Version)\/([\d.]+)/),O||(O=[0,1,"13_0_0"]),M=!1),T&&!L&&(m.os="android",m.android=!0),(O||D||R)&&(m.os="ios",m.ios=!0),m}function eR(i){return i===void 0&&(i={}),Hw||(Hw=EA(i)),Hw}let Bw;function TA(){const i=da(),l=eR();let o=!1;function c(){const w=i.navigator.userAgent.toLowerCase();return w.indexOf("safari")>=0&&w.indexOf("chrome")<0&&w.indexOf("android")<0}if(c()){const w=String(i.navigator.userAgent);if(w.includes("Version/")){const[b,T]=w.split("Version/")[1].split(" ")[0].split(".").map(O=>Number(O));o=b<16||b===16&&T<2}}const p=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),h=c(),m=h||p&&l.ios;return{isSafari:o||h,needPerspectiveFix:o,need3dFix:m,isWebView:p}}function tR(){return Bw||(Bw=TA()),Bw}function CA(i){let{swiper:l,on:o,emit:c}=i;const p=da();let h=null,m=null;const w=()=>{!l||l.destroyed||!l.initialized||(c("beforeResize"),c("resize"))},b=()=>{!l||l.destroyed||!l.initialized||(h=new ResizeObserver(R=>{m=p.requestAnimationFrame(()=>{const{width:D,height:L}=l;let M=D,U=L;R.forEach(P=>{let{contentBoxSize:N,contentRect:z,target:j}=P;j&&j!==l.el||(M=z?z.width:(N[0]||N).inlineSize,U=z?z.height:(N[0]||N).blockSize)}),(M!==D||U!==L)&&w()})}),h.observe(l.el))},T=()=>{m&&p.cancelAnimationFrame(m),h&&h.unobserve&&l.el&&(h.unobserve(l.el),h=null)},O=()=>{!l||l.destroyed||!l.initialized||c("orientationchange")};o("init",()=>{if(l.params.resizeObserver&&typeof p.ResizeObserver<"u"){b();return}p.addEventListener("resize",w),p.addEventListener("orientationchange",O)}),o("destroy",()=>{T(),p.removeEventListener("resize",w),p.removeEventListener("orientationchange",O)})}function xA(i){let{swiper:l,extendParams:o,on:c,emit:p}=i;const h=[],m=da(),w=function(O,R){R===void 0&&(R={});const D=m.MutationObserver||m.WebkitMutationObserver,L=new D(M=>{if(l.__preventObserver__)return;if(M.length===1){p("observerUpdate",M[0]);return}const U=function(){p("observerUpdate",M[0])};m.requestAnimationFrame?m.requestAnimationFrame(U):m.setTimeout(U,0)});L.observe(O,{attributes:typeof R.attributes>"u"?!0:R.attributes,childList:l.isElement||(typeof R.childList>"u"?!0:R).childList,characterData:typeof R.characterData>"u"?!0:R.characterData}),h.push(L)},b=()=>{if(l.params.observer){if(l.params.observeParents){const O=wA(l.hostEl);for(let R=0;R<O.length;R+=1)w(O[R])}w(l.hostEl,{childList:l.params.observeSlideChildren}),w(l.wrapperEl,{attributes:!1})}},T=()=>{h.forEach(O=>{O.disconnect()}),h.splice(0,h.length)};o({observer:!1,observeParents:!1,observeSlideChildren:!1}),c("init",b),c("destroy",T)}var RA={on(i,l,o){const c=this;if(!c.eventsListeners||c.destroyed||typeof l!="function")return c;const p=o?"unshift":"push";return i.split(" ").forEach(h=>{c.eventsListeners[h]||(c.eventsListeners[h]=[]),c.eventsListeners[h][p](l)}),c},once(i,l,o){const c=this;if(!c.eventsListeners||c.destroyed||typeof l!="function")return c;function p(){c.off(i,p),p.__emitterProxy&&delete p.__emitterProxy;for(var h=arguments.length,m=new Array(h),w=0;w<h;w++)m[w]=arguments[w];l.apply(c,m)}return p.__emitterProxy=l,c.on(i,p,o)},onAny(i,l){const o=this;if(!o.eventsListeners||o.destroyed||typeof i!="function")return o;const c=l?"unshift":"push";return o.eventsAnyListeners.indexOf(i)<0&&o.eventsAnyListeners[c](i),o},offAny(i){const l=this;if(!l.eventsListeners||l.destroyed||!l.eventsAnyListeners)return l;const o=l.eventsAnyListeners.indexOf(i);return o>=0&&l.eventsAnyListeners.splice(o,1),l},off(i,l){const o=this;return!o.eventsListeners||o.destroyed||!o.eventsListeners||i.split(" ").forEach(c=>{typeof l>"u"?o.eventsListeners[c]=[]:o.eventsListeners[c]&&o.eventsListeners[c].forEach((p,h)=>{(p===l||p.__emitterProxy&&p.__emitterProxy===l)&&o.eventsListeners[c].splice(h,1)})}),o},emit(){const i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let l,o,c;for(var p=arguments.length,h=new Array(p),m=0;m<p;m++)h[m]=arguments[m];return typeof h[0]=="string"||Array.isArray(h[0])?(l=h[0],o=h.slice(1,h.length),c=i):(l=h[0].events,o=h[0].data,c=h[0].context||i),o.unshift(c),(Array.isArray(l)?l:l.split(" ")).forEach(b=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(T=>{T.apply(c,[b,...o])}),i.eventsListeners&&i.eventsListeners[b]&&i.eventsListeners[b].forEach(T=>{T.apply(c,o)})}),i}};function OA(){const i=this;let l,o;const c=i.el;typeof i.params.width<"u"&&i.params.width!==null?l=i.params.width:l=c.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?o=i.params.height:o=c.clientHeight,!(l===0&&i.isHorizontal()||o===0&&i.isVertical())&&(l=l-parseInt(Du(c,"padding-left")||0,10)-parseInt(Du(c,"padding-right")||0,10),o=o-parseInt(Du(c,"padding-top")||0,10)-parseInt(Du(c,"padding-bottom")||0,10),Number.isNaN(l)&&(l=0),Number.isNaN(o)&&(o=0),Object.assign(i,{width:l,height:o,size:i.isHorizontal()?l:o}))}function kA(){const i=this;function l(J,re){return parseFloat(J.getPropertyValue(i.getDirectionLabel(re))||0)}const o=i.params,{wrapperEl:c,slidesEl:p,size:h,rtlTranslate:m,wrongRTL:w}=i,b=i.virtual&&o.virtual.enabled,T=b?i.virtual.slides.length:i.slides.length,O=Mo(p,`.${i.params.slideClass}, swiper-slide`),R=b?i.virtual.slides.length:O.length;let D=[];const L=[],M=[];let U=o.slidesOffsetBefore;typeof U=="function"&&(U=o.slidesOffsetBefore.call(i));let P=o.slidesOffsetAfter;typeof P=="function"&&(P=o.slidesOffsetAfter.call(i));const N=i.snapGrid.length,z=i.slidesGrid.length;let j=o.spaceBetween,q=-U,$=0,se=0;if(typeof h>"u")return;typeof j=="string"&&j.indexOf("%")>=0?j=parseFloat(j.replace("%",""))/100*h:typeof j=="string"&&(j=parseFloat(j)),i.virtualSize=-j,O.forEach(J=>{m?J.style.marginLeft="":J.style.marginRight="",J.style.marginBottom="",J.style.marginTop=""}),o.centeredSlides&&o.cssMode&&(Hg(c,"--swiper-centered-offset-before",""),Hg(c,"--swiper-centered-offset-after",""));const le=o.grid&&o.grid.rows>1&&i.grid;le?i.grid.initSlides(O):i.grid&&i.grid.unsetSlides();let ve;const ee=o.slidesPerView==="auto"&&o.breakpoints&&Object.keys(o.breakpoints).filter(J=>typeof o.breakpoints[J].slidesPerView<"u").length>0;for(let J=0;J<R;J+=1){ve=0;let re;if(O[J]&&(re=O[J]),le&&i.grid.updateSlide(J,re,O),!(O[J]&&Du(re,"display")==="none")){if(o.slidesPerView==="auto"){ee&&(O[J].style[i.getDirectionLabel("width")]="");const oe=getComputedStyle(re),we=re.style.transform,Qe=re.style.webkitTransform;if(we&&(re.style.transform="none"),Qe&&(re.style.webkitTransform="none"),o.roundLengths)ve=i.isHorizontal()?Jx(re,"width"):Jx(re,"height");else{const Ge=l(oe,"width"),be=l(oe,"padding-left"),$e=l(oe,"padding-right"),ue=l(oe,"margin-left"),Se=l(oe,"margin-right"),ye=oe.getPropertyValue("box-sizing");if(ye&&ye==="border-box")ve=Ge+ue+Se;else{const{clientWidth:tt,offsetWidth:it}=re;ve=Ge+be+$e+ue+Se+(it-tt)}}we&&(re.style.transform=we),Qe&&(re.style.webkitTransform=Qe),o.roundLengths&&(ve=Math.floor(ve))}else ve=(h-(o.slidesPerView-1)*j)/o.slidesPerView,o.roundLengths&&(ve=Math.floor(ve)),O[J]&&(O[J].style[i.getDirectionLabel("width")]=`${ve}px`);O[J]&&(O[J].swiperSlideSize=ve),M.push(ve),o.centeredSlides?(q=q+ve/2+$/2+j,$===0&&J!==0&&(q=q-h/2-j),J===0&&(q=q-h/2-j),Math.abs(q)<1/1e3&&(q=0),o.roundLengths&&(q=Math.floor(q)),se%o.slidesPerGroup===0&&D.push(q),L.push(q)):(o.roundLengths&&(q=Math.floor(q)),(se-Math.min(i.params.slidesPerGroupSkip,se))%i.params.slidesPerGroup===0&&D.push(q),L.push(q),q=q+ve+j),i.virtualSize+=ve+j,$=ve,se+=1}}if(i.virtualSize=Math.max(i.virtualSize,h)+P,m&&w&&(o.effect==="slide"||o.effect==="coverflow")&&(c.style.width=`${i.virtualSize+j}px`),o.setWrapperSize&&(c.style[i.getDirectionLabel("width")]=`${i.virtualSize+j}px`),le&&i.grid.updateWrapperSize(ve,D),!o.centeredSlides){const J=[];for(let re=0;re<D.length;re+=1){let oe=D[re];o.roundLengths&&(oe=Math.floor(oe)),D[re]<=i.virtualSize-h&&J.push(oe)}D=J,Math.floor(i.virtualSize-h)-Math.floor(D[D.length-1])>1&&D.push(i.virtualSize-h)}if(b&&o.loop){const J=M[0]+j;if(o.slidesPerGroup>1){const re=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/o.slidesPerGroup),oe=J*o.slidesPerGroup;for(let we=0;we<re;we+=1)D.push(D[D.length-1]+oe)}for(let re=0;re<i.virtual.slidesBefore+i.virtual.slidesAfter;re+=1)o.slidesPerGroup===1&&D.push(D[D.length-1]+J),L.push(L[L.length-1]+J),i.virtualSize+=J}if(D.length===0&&(D=[0]),j!==0){const J=i.isHorizontal()&&m?"marginLeft":i.getDirectionLabel("marginRight");O.filter((re,oe)=>!o.cssMode||o.loop?!0:oe!==O.length-1).forEach(re=>{re.style[J]=`${j}px`})}if(o.centeredSlides&&o.centeredSlidesBounds){let J=0;M.forEach(oe=>{J+=oe+(j||0)}),J-=j;const re=J>h?J-h:0;D=D.map(oe=>oe<=0?-U:oe>re?re+P:oe)}if(o.centerInsufficientSlides){let J=0;M.forEach(oe=>{J+=oe+(j||0)}),J-=j;const re=(o.slidesOffsetBefore||0)+(o.slidesOffsetAfter||0);if(J+re<h){const oe=(h-J-re)/2;D.forEach((we,Qe)=>{D[Qe]=we-oe}),L.forEach((we,Qe)=>{L[Qe]=we+oe})}}if(Object.assign(i,{slides:O,snapGrid:D,slidesGrid:L,slidesSizesGrid:M}),o.centeredSlides&&o.cssMode&&!o.centeredSlidesBounds){Hg(c,"--swiper-centered-offset-before",`${-D[0]}px`),Hg(c,"--swiper-centered-offset-after",`${i.size/2-M[M.length-1]/2}px`);const J=-i.snapGrid[0],re=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(oe=>oe+J),i.slidesGrid=i.slidesGrid.map(oe=>oe+re)}if(R!==T&&i.emit("slidesLengthChange"),D.length!==N&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),L.length!==z&&i.emit("slidesGridLengthChange"),o.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!b&&!o.cssMode&&(o.effect==="slide"||o.effect==="fade")){const J=`${o.containerModifierClass}backface-hidden`,re=i.el.classList.contains(J);R<=o.maxBackfaceHiddenSlides?re||i.el.classList.add(J):re&&i.el.classList.remove(J)}}function DA(i){const l=this,o=[],c=l.virtual&&l.params.virtual.enabled;let p=0,h;typeof i=="number"?l.setTransition(i):i===!0&&l.setTransition(l.params.speed);const m=w=>c?l.slides[l.getSlideIndexByData(w)]:l.slides[w];if(l.params.slidesPerView!=="auto"&&l.params.slidesPerView>1)if(l.params.centeredSlides)(l.visibleSlides||[]).forEach(w=>{o.push(w)});else for(h=0;h<Math.ceil(l.params.slidesPerView);h+=1){const w=l.activeIndex+h;if(w>l.slides.length&&!c)break;o.push(m(w))}else o.push(m(l.activeIndex));for(h=0;h<o.length;h+=1)if(typeof o[h]<"u"){const w=o[h].offsetHeight;p=w>p?w:p}(p||p===0)&&(l.wrapperEl.style.height=`${p}px`)}function _A(){const i=this,l=i.slides,o=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let c=0;c<l.length;c+=1)l[c].swiperSlideOffset=(i.isHorizontal()?l[c].offsetLeft:l[c].offsetTop)-o-i.cssOverflowAdjustment()}const t1=(i,l,o)=>{l&&!i.classList.contains(o)?i.classList.add(o):!l&&i.classList.contains(o)&&i.classList.remove(o)};function MA(i){i===void 0&&(i=this&&this.translate||0);const l=this,o=l.params,{slides:c,rtlTranslate:p,snapGrid:h}=l;if(c.length===0)return;typeof c[0].swiperSlideOffset>"u"&&l.updateSlidesOffset();let m=-i;p&&(m=i),l.visibleSlidesIndexes=[],l.visibleSlides=[];let w=o.spaceBetween;typeof w=="string"&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*l.size:typeof w=="string"&&(w=parseFloat(w));for(let b=0;b<c.length;b+=1){const T=c[b];let O=T.swiperSlideOffset;o.cssMode&&o.centeredSlides&&(O-=c[0].swiperSlideOffset);const R=(m+(o.centeredSlides?l.minTranslate():0)-O)/(T.swiperSlideSize+w),D=(m-h[0]+(o.centeredSlides?l.minTranslate():0)-O)/(T.swiperSlideSize+w),L=-(m-O),M=L+l.slidesSizesGrid[b],U=L>=0&&L<=l.size-l.slidesSizesGrid[b],P=L>=0&&L<l.size-1||M>1&&M<=l.size||L<=0&&M>=l.size;P&&(l.visibleSlides.push(T),l.visibleSlidesIndexes.push(b)),t1(T,P,o.slideVisibleClass),t1(T,U,o.slideFullyVisibleClass),T.progress=p?-R:R,T.originalProgress=p?-D:D}}function LA(i){const l=this;if(typeof i>"u"){const O=l.rtlTranslate?-1:1;i=l&&l.translate&&l.translate*O||0}const o=l.params,c=l.maxTranslate()-l.minTranslate();let{progress:p,isBeginning:h,isEnd:m,progressLoop:w}=l;const b=h,T=m;if(c===0)p=0,h=!0,m=!0;else{p=(i-l.minTranslate())/c;const O=Math.abs(i-l.minTranslate())<1,R=Math.abs(i-l.maxTranslate())<1;h=O||p<=0,m=R||p>=1,O&&(p=0),R&&(p=1)}if(o.loop){const O=l.getSlideIndexByData(0),R=l.getSlideIndexByData(l.slides.length-1),D=l.slidesGrid[O],L=l.slidesGrid[R],M=l.slidesGrid[l.slidesGrid.length-1],U=Math.abs(i);U>=D?w=(U-D)/M:w=(U+M-L)/M,w>1&&(w-=1)}Object.assign(l,{progress:p,progressLoop:w,isBeginning:h,isEnd:m}),(o.watchSlidesProgress||o.centeredSlides&&o.autoHeight)&&l.updateSlidesProgress(i),h&&!b&&l.emit("reachBeginning toEdge"),m&&!T&&l.emit("reachEnd toEdge"),(b&&!h||T&&!m)&&l.emit("fromEdge"),l.emit("progress",p)}const Vw=(i,l,o)=>{l&&!i.classList.contains(o)?i.classList.add(o):!l&&i.classList.contains(o)&&i.classList.remove(o)};function NA(){const i=this,{slides:l,params:o,slidesEl:c,activeIndex:p}=i,h=i.virtual&&o.virtual.enabled,m=i.grid&&o.grid&&o.grid.rows>1,w=R=>Mo(c,`.${o.slideClass}${R}, swiper-slide${R}`)[0];let b,T,O;if(h)if(o.loop){let R=p-i.virtual.slidesBefore;R<0&&(R=i.virtual.slides.length+R),R>=i.virtual.slides.length&&(R-=i.virtual.slides.length),b=w(`[data-swiper-slide-index="${R}"]`)}else b=w(`[data-swiper-slide-index="${p}"]`);else m?(b=l.find(R=>R.column===p),O=l.find(R=>R.column===p+1),T=l.find(R=>R.column===p-1)):b=l[p];b&&(m||(O=SA(b,`.${o.slideClass}, swiper-slide`)[0],o.loop&&!O&&(O=l[0]),T=yA(b,`.${o.slideClass}, swiper-slide`)[0],o.loop&&!T===0&&(T=l[l.length-1]))),l.forEach(R=>{Vw(R,R===b,o.slideActiveClass),Vw(R,R===O,o.slideNextClass),Vw(R,R===T,o.slidePrevClass)}),i.emitSlidesClasses()}const Gg=(i,l)=>{if(!i||i.destroyed||!i.params)return;const o=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,c=l.closest(o());if(c){let p=c.querySelector(`.${i.params.lazyPreloaderClass}`);!p&&i.isElement&&(c.shadowRoot?p=c.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{c.shadowRoot&&(p=c.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),p&&p.remove())})),p&&p.remove()}},$w=(i,l)=>{if(!i.slides[l])return;const o=i.slides[l].querySelector('[loading="lazy"]');o&&o.removeAttribute("loading")},pb=i=>{if(!i||i.destroyed||!i.params)return;let l=i.params.lazyPreloadPrevNext;const o=i.slides.length;if(!o||!l||l<0)return;l=Math.min(l,o);const c=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),p=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){const m=p,w=[m-l];w.push(...Array.from({length:l}).map((b,T)=>m+c+T)),i.slides.forEach((b,T)=>{w.includes(b.column)&&$w(i,T)});return}const h=p+c-1;if(i.params.rewind||i.params.loop)for(let m=p-l;m<=h+l;m+=1){const w=(m%o+o)%o;(w<p||w>h)&&$w(i,w)}else for(let m=Math.max(p-l,0);m<=Math.min(h+l,o-1);m+=1)m!==p&&(m>h||m<p)&&$w(i,m)};function zA(i){const{slidesGrid:l,params:o}=i,c=i.rtlTranslate?i.translate:-i.translate;let p;for(let h=0;h<l.length;h+=1)typeof l[h+1]<"u"?c>=l[h]&&c<l[h+1]-(l[h+1]-l[h])/2?p=h:c>=l[h]&&c<l[h+1]&&(p=h+1):c>=l[h]&&(p=h);return o.normalizeSlideIndex&&(p<0||typeof p>"u")&&(p=0),p}function AA(i){const l=this,o=l.rtlTranslate?l.translate:-l.translate,{snapGrid:c,params:p,activeIndex:h,realIndex:m,snapIndex:w}=l;let b=i,T;const O=L=>{let M=L-l.virtual.slidesBefore;return M<0&&(M=l.virtual.slides.length+M),M>=l.virtual.slides.length&&(M-=l.virtual.slides.length),M};if(typeof b>"u"&&(b=zA(l)),c.indexOf(o)>=0)T=c.indexOf(o);else{const L=Math.min(p.slidesPerGroupSkip,b);T=L+Math.floor((b-L)/p.slidesPerGroup)}if(T>=c.length&&(T=c.length-1),b===h&&!l.params.loop){T!==w&&(l.snapIndex=T,l.emit("snapIndexChange"));return}if(b===h&&l.params.loop&&l.virtual&&l.params.virtual.enabled){l.realIndex=O(b);return}const R=l.grid&&p.grid&&p.grid.rows>1;let D;if(l.virtual&&p.virtual.enabled&&p.loop)D=O(b);else if(R){const L=l.slides.find(U=>U.column===b);let M=parseInt(L.getAttribute("data-swiper-slide-index"),10);Number.isNaN(M)&&(M=Math.max(l.slides.indexOf(L),0)),D=Math.floor(M/p.grid.rows)}else if(l.slides[b]){const L=l.slides[b].getAttribute("data-swiper-slide-index");L?D=parseInt(L,10):D=b}else D=b;Object.assign(l,{previousSnapIndex:w,snapIndex:T,previousRealIndex:m,realIndex:D,previousIndex:h,activeIndex:b}),l.initialized&&pb(l),l.emit("activeIndexChange"),l.emit("snapIndexChange"),(l.initialized||l.params.runCallbacksOnInit)&&(m!==D&&l.emit("realIndexChange"),l.emit("slideChange"))}function PA(i,l){const o=this,c=o.params;let p=i.closest(`.${c.slideClass}, swiper-slide`);!p&&o.isElement&&l&&l.length>1&&l.includes(i)&&[...l.slice(l.indexOf(i)+1,l.length)].forEach(w=>{!p&&w.matches&&w.matches(`.${c.slideClass}, swiper-slide`)&&(p=w)});let h=!1,m;if(p){for(let w=0;w<o.slides.length;w+=1)if(o.slides[w]===p){h=!0,m=w;break}}if(p&&h)o.clickedSlide=p,o.virtual&&o.params.virtual.enabled?o.clickedIndex=parseInt(p.getAttribute("data-swiper-slide-index"),10):o.clickedIndex=m;else{o.clickedSlide=void 0,o.clickedIndex=void 0;return}c.slideToClickedSlide&&o.clickedIndex!==void 0&&o.clickedIndex!==o.activeIndex&&o.slideToClickedSlide()}var jA={updateSize:OA,updateSlides:kA,updateAutoHeight:DA,updateSlidesOffset:_A,updateSlidesProgress:MA,updateProgress:LA,updateSlidesClasses:NA,updateActiveIndex:AA,updateClickedSlide:PA};function UA(i){i===void 0&&(i=this.isHorizontal()?"x":"y");const l=this,{params:o,rtlTranslate:c,translate:p,wrapperEl:h}=l;if(o.virtualTranslate)return c?-p:p;if(o.cssMode)return p;let m=vA(h,i);return m+=l.cssOverflowAdjustment(),c&&(m=-m),m||0}function FA(i,l){const o=this,{rtlTranslate:c,params:p,wrapperEl:h,progress:m}=o;let w=0,b=0;const T=0;o.isHorizontal()?w=c?-i:i:b=i,p.roundLengths&&(w=Math.floor(w),b=Math.floor(b)),o.previousTranslate=o.translate,o.translate=o.isHorizontal()?w:b,p.cssMode?h[o.isHorizontal()?"scrollLeft":"scrollTop"]=o.isHorizontal()?-w:-b:p.virtualTranslate||(o.isHorizontal()?w-=o.cssOverflowAdjustment():b-=o.cssOverflowAdjustment(),h.style.transform=`translate3d(${w}px, ${b}px, ${T}px)`);let O;const R=o.maxTranslate()-o.minTranslate();R===0?O=0:O=(i-o.minTranslate())/R,O!==m&&o.updateProgress(i),o.emit("setTranslate",o.translate,l)}function IA(){return-this.snapGrid[0]}function HA(){return-this.snapGrid[this.snapGrid.length-1]}function BA(i,l,o,c,p){i===void 0&&(i=0),l===void 0&&(l=this.params.speed),o===void 0&&(o=!0),c===void 0&&(c=!0);const h=this,{params:m,wrapperEl:w}=h;if(h.animating&&m.preventInteractionOnTransition)return!1;const b=h.minTranslate(),T=h.maxTranslate();let O;if(c&&i>b?O=b:c&&i<T?O=T:O=i,h.updateProgress(O),m.cssMode){const R=h.isHorizontal();if(l===0)w[R?"scrollLeft":"scrollTop"]=-O;else{if(!h.support.smoothScroll)return Z1({swiper:h,targetPosition:-O,side:R?"left":"top"}),!0;w.scrollTo({[R?"left":"top"]:-O,behavior:"smooth"})}return!0}return l===0?(h.setTransition(0),h.setTranslate(O),o&&(h.emit("beforeTransitionStart",l,p),h.emit("transitionEnd"))):(h.setTransition(l),h.setTranslate(O),o&&(h.emit("beforeTransitionStart",l,p),h.emit("transitionStart")),h.animating||(h.animating=!0,h.onTranslateToWrapperTransitionEnd||(h.onTranslateToWrapperTransitionEnd=function(D){!h||h.destroyed||D.target===this&&(h.wrapperEl.removeEventListener("transitionend",h.onTranslateToWrapperTransitionEnd),h.onTranslateToWrapperTransitionEnd=null,delete h.onTranslateToWrapperTransitionEnd,h.animating=!1,o&&h.emit("transitionEnd"))}),h.wrapperEl.addEventListener("transitionend",h.onTranslateToWrapperTransitionEnd))),!0}var VA={getTranslate:UA,setTranslate:FA,minTranslate:IA,maxTranslate:HA,translateTo:BA};function $A(i,l){const o=this;o.params.cssMode||(o.wrapperEl.style.transitionDuration=`${i}ms`,o.wrapperEl.style.transitionDelay=i===0?"0ms":""),o.emit("setTransition",i,l)}function nR(i){let{swiper:l,runCallbacks:o,direction:c,step:p}=i;const{activeIndex:h,previousIndex:m}=l;let w=c;w||(h>m?w="next":h<m?w="prev":w="reset"),l.emit(`transition${p}`),o&&w==="reset"?l.emit(`slideResetTransition${p}`):o&&h!==m&&(l.emit(`slideChangeTransition${p}`),w==="next"?l.emit(`slideNextTransition${p}`):l.emit(`slidePrevTransition${p}`))}function WA(i,l){i===void 0&&(i=!0);const o=this,{params:c}=o;c.cssMode||(c.autoHeight&&o.updateAutoHeight(),nR({swiper:o,runCallbacks:i,direction:l,step:"Start"}))}function GA(i,l){i===void 0&&(i=!0);const o=this,{params:c}=o;o.animating=!1,!c.cssMode&&(o.setTransition(0),nR({swiper:o,runCallbacks:i,direction:l,step:"End"}))}var YA={setTransition:$A,transitionStart:WA,transitionEnd:GA};function qA(i,l,o,c,p){i===void 0&&(i=0),o===void 0&&(o=!0),typeof i=="string"&&(i=parseInt(i,10));const h=this;let m=i;m<0&&(m=0);const{params:w,snapGrid:b,slidesGrid:T,previousIndex:O,activeIndex:R,rtlTranslate:D,wrapperEl:L,enabled:M}=h;if(!M&&!c&&!p||h.destroyed||h.animating&&w.preventInteractionOnTransition)return!1;typeof l>"u"&&(l=h.params.speed);const U=Math.min(h.params.slidesPerGroupSkip,m);let P=U+Math.floor((m-U)/h.params.slidesPerGroup);P>=b.length&&(P=b.length-1);const N=-b[P];if(w.normalizeSlideIndex)for(let le=0;le<T.length;le+=1){const ve=-Math.floor(N*100),ee=Math.floor(T[le]*100),J=Math.floor(T[le+1]*100);typeof T[le+1]<"u"?ve>=ee&&ve<J-(J-ee)/2?m=le:ve>=ee&&ve<J&&(m=le+1):ve>=ee&&(m=le)}if(h.initialized&&m!==R&&(!h.allowSlideNext&&(D?N>h.translate&&N>h.minTranslate():N<h.translate&&N<h.minTranslate())||!h.allowSlidePrev&&N>h.translate&&N>h.maxTranslate()&&(R||0)!==m))return!1;m!==(O||0)&&o&&h.emit("beforeSlideChangeStart"),h.updateProgress(N);let z;m>R?z="next":m<R?z="prev":z="reset";const j=h.virtual&&h.params.virtual.enabled;if(!(j&&p)&&(D&&-N===h.translate||!D&&N===h.translate))return h.updateActiveIndex(m),w.autoHeight&&h.updateAutoHeight(),h.updateSlidesClasses(),w.effect!=="slide"&&h.setTranslate(N),z!=="reset"&&(h.transitionStart(o,z),h.transitionEnd(o,z)),!1;if(w.cssMode){const le=h.isHorizontal(),ve=D?N:-N;if(l===0)j&&(h.wrapperEl.style.scrollSnapType="none",h._immediateVirtual=!0),j&&!h._cssModeVirtualInitialSet&&h.params.initialSlide>0?(h._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{L[le?"scrollLeft":"scrollTop"]=ve})):L[le?"scrollLeft":"scrollTop"]=ve,j&&requestAnimationFrame(()=>{h.wrapperEl.style.scrollSnapType="",h._immediateVirtual=!1});else{if(!h.support.smoothScroll)return Z1({swiper:h,targetPosition:ve,side:le?"left":"top"}),!0;L.scrollTo({[le?"left":"top"]:ve,behavior:"smooth"})}return!0}const se=tR().isSafari;return j&&!p&&se&&h.isElement&&h.virtual.update(!1,!1,m),h.setTransition(l),h.setTranslate(N),h.updateActiveIndex(m),h.updateSlidesClasses(),h.emit("beforeTransitionStart",l,c),h.transitionStart(o,z),l===0?h.transitionEnd(o,z):h.animating||(h.animating=!0,h.onSlideToWrapperTransitionEnd||(h.onSlideToWrapperTransitionEnd=function(ve){!h||h.destroyed||ve.target===this&&(h.wrapperEl.removeEventListener("transitionend",h.onSlideToWrapperTransitionEnd),h.onSlideToWrapperTransitionEnd=null,delete h.onSlideToWrapperTransitionEnd,h.transitionEnd(o,z))}),h.wrapperEl.addEventListener("transitionend",h.onSlideToWrapperTransitionEnd)),!0}function QA(i,l,o,c){i===void 0&&(i=0),o===void 0&&(o=!0),typeof i=="string"&&(i=parseInt(i,10));const p=this;if(p.destroyed)return;typeof l>"u"&&(l=p.params.speed);const h=p.grid&&p.params.grid&&p.params.grid.rows>1;let m=i;if(p.params.loop)if(p.virtual&&p.params.virtual.enabled)m=m+p.virtual.slidesBefore;else{let w;if(h){const D=m*p.params.grid.rows;w=p.slides.find(L=>L.getAttribute("data-swiper-slide-index")*1===D).column}else w=p.getSlideIndexByData(m);const b=h?Math.ceil(p.slides.length/p.params.grid.rows):p.slides.length,{centeredSlides:T}=p.params;let O=p.params.slidesPerView;O==="auto"?O=p.slidesPerViewDynamic():(O=Math.ceil(parseFloat(p.params.slidesPerView,10)),T&&O%2===0&&(O=O+1));let R=b-w<O;if(T&&(R=R||w<Math.ceil(O/2)),c&&T&&p.params.slidesPerView!=="auto"&&!h&&(R=!1),R){const D=T?w<p.activeIndex?"prev":"next":w-p.activeIndex-1<p.params.slidesPerView?"next":"prev";p.loopFix({direction:D,slideTo:!0,activeSlideIndex:D==="next"?w+1:w-b+1,slideRealIndex:D==="next"?p.realIndex:void 0})}if(h){const D=m*p.params.grid.rows;m=p.slides.find(L=>L.getAttribute("data-swiper-slide-index")*1===D).column}else m=p.getSlideIndexByData(m)}return requestAnimationFrame(()=>{p.slideTo(m,l,o,c)}),p}function XA(i,l,o){l===void 0&&(l=!0);const c=this,{enabled:p,params:h,animating:m}=c;if(!p||c.destroyed)return c;typeof i>"u"&&(i=c.params.speed);let w=h.slidesPerGroup;h.slidesPerView==="auto"&&h.slidesPerGroup===1&&h.slidesPerGroupAuto&&(w=Math.max(c.slidesPerViewDynamic("current",!0),1));const b=c.activeIndex<h.slidesPerGroupSkip?1:w,T=c.virtual&&h.virtual.enabled;if(h.loop){if(m&&!T&&h.loopPreventsSliding)return!1;if(c.loopFix({direction:"next"}),c._clientLeft=c.wrapperEl.clientLeft,c.activeIndex===c.slides.length-1&&h.cssMode)return requestAnimationFrame(()=>{c.slideTo(c.activeIndex+b,i,l,o)}),!0}return h.rewind&&c.isEnd?c.slideTo(0,i,l,o):c.slideTo(c.activeIndex+b,i,l,o)}function KA(i,l,o){l===void 0&&(l=!0);const c=this,{params:p,snapGrid:h,slidesGrid:m,rtlTranslate:w,enabled:b,animating:T}=c;if(!b||c.destroyed)return c;typeof i>"u"&&(i=c.params.speed);const O=c.virtual&&p.virtual.enabled;if(p.loop){if(T&&!O&&p.loopPreventsSliding)return!1;c.loopFix({direction:"prev"}),c._clientLeft=c.wrapperEl.clientLeft}const R=w?c.translate:-c.translate;function D(z){return z<0?-Math.floor(Math.abs(z)):Math.floor(z)}const L=D(R),M=h.map(z=>D(z)),U=p.freeMode&&p.freeMode.enabled;let P=h[M.indexOf(L)-1];if(typeof P>"u"&&(p.cssMode||U)){let z;h.forEach((j,q)=>{L>=j&&(z=q)}),typeof z<"u"&&(P=U?h[z]:h[z>0?z-1:z])}let N=0;if(typeof P<"u"&&(N=m.indexOf(P),N<0&&(N=c.activeIndex-1),p.slidesPerView==="auto"&&p.slidesPerGroup===1&&p.slidesPerGroupAuto&&(N=N-c.slidesPerViewDynamic("previous",!0)+1,N=Math.max(N,0))),p.rewind&&c.isBeginning){const z=c.params.virtual&&c.params.virtual.enabled&&c.virtual?c.virtual.slides.length-1:c.slides.length-1;return c.slideTo(z,i,l,o)}else if(p.loop&&c.activeIndex===0&&p.cssMode)return requestAnimationFrame(()=>{c.slideTo(N,i,l,o)}),!0;return c.slideTo(N,i,l,o)}function ZA(i,l,o){l===void 0&&(l=!0);const c=this;if(!c.destroyed)return typeof i>"u"&&(i=c.params.speed),c.slideTo(c.activeIndex,i,l,o)}function JA(i,l,o,c){l===void 0&&(l=!0),c===void 0&&(c=.5);const p=this;if(p.destroyed)return;typeof i>"u"&&(i=p.params.speed);let h=p.activeIndex;const m=Math.min(p.params.slidesPerGroupSkip,h),w=m+Math.floor((h-m)/p.params.slidesPerGroup),b=p.rtlTranslate?p.translate:-p.translate;if(b>=p.snapGrid[w]){const T=p.snapGrid[w],O=p.snapGrid[w+1];b-T>(O-T)*c&&(h+=p.params.slidesPerGroup)}else{const T=p.snapGrid[w-1],O=p.snapGrid[w];b-T<=(O-T)*c&&(h-=p.params.slidesPerGroup)}return h=Math.max(h,0),h=Math.min(h,p.slidesGrid.length-1),p.slideTo(h,i,l,o)}function eP(){const i=this;if(i.destroyed)return;const{params:l,slidesEl:o}=i,c=l.slidesPerView==="auto"?i.slidesPerViewDynamic():l.slidesPerView;let p=i.clickedIndex,h;const m=i.isElement?"swiper-slide":`.${l.slideClass}`;if(l.loop){if(i.animating)return;h=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),l.centeredSlides?p<i.loopedSlides-c/2||p>i.slides.length-i.loopedSlides+c/2?(i.loopFix(),p=i.getSlideIndex(Mo(o,`${m}[data-swiper-slide-index="${h}"]`)[0]),fb(()=>{i.slideTo(p)})):i.slideTo(p):p>i.slides.length-c?(i.loopFix(),p=i.getSlideIndex(Mo(o,`${m}[data-swiper-slide-index="${h}"]`)[0]),fb(()=>{i.slideTo(p)})):i.slideTo(p)}else i.slideTo(p)}var tP={slideTo:qA,slideToLoop:QA,slideNext:XA,slidePrev:KA,slideReset:ZA,slideToClosest:JA,slideToClickedSlide:eP};function nP(i,l){const o=this,{params:c,slidesEl:p}=o;if(!c.loop||o.virtual&&o.params.virtual.enabled)return;const h=()=>{Mo(p,`.${c.slideClass}, swiper-slide`).forEach((D,L)=>{D.setAttribute("data-swiper-slide-index",L)})},m=o.grid&&c.grid&&c.grid.rows>1,w=c.slidesPerGroup*(m?c.grid.rows:1),b=o.slides.length%w!==0,T=m&&o.slides.length%c.grid.rows!==0,O=R=>{for(let D=0;D<R;D+=1){const L=o.isElement?db("swiper-slide",[c.slideBlankClass]):db("div",[c.slideClass,c.slideBlankClass]);o.slidesEl.append(L)}};if(b){if(c.loopAddBlankSlides){const R=w-o.slides.length%w;O(R),o.recalcSlides(),o.updateSlides()}else ny("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)");h()}else if(T){if(c.loopAddBlankSlides){const R=c.grid.rows-o.slides.length%c.grid.rows;O(R),o.recalcSlides(),o.updateSlides()}else ny("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)");h()}else h();o.loopFix({slideRealIndex:i,direction:c.centeredSlides?void 0:"next",initial:l})}function rP(i){let{slideRealIndex:l,slideTo:o=!0,direction:c,setTranslate:p,activeSlideIndex:h,initial:m,byController:w,byMousewheel:b}=i===void 0?{}:i;const T=this;if(!T.params.loop)return;T.emit("beforeLoopFix");const{slides:O,allowSlidePrev:R,allowSlideNext:D,slidesEl:L,params:M}=T,{centeredSlides:U,initialSlide:P}=M;if(T.allowSlidePrev=!0,T.allowSlideNext=!0,T.virtual&&M.virtual.enabled){o&&(!M.centeredSlides&&T.snapIndex===0?T.slideTo(T.virtual.slides.length,0,!1,!0):M.centeredSlides&&T.snapIndex<M.slidesPerView?T.slideTo(T.virtual.slides.length+T.snapIndex,0,!1,!0):T.snapIndex===T.snapGrid.length-1&&T.slideTo(T.virtual.slidesBefore,0,!1,!0)),T.allowSlidePrev=R,T.allowSlideNext=D,T.emit("loopFix");return}let N=M.slidesPerView;N==="auto"?N=T.slidesPerViewDynamic():(N=Math.ceil(parseFloat(M.slidesPerView,10)),U&&N%2===0&&(N=N+1));const z=M.slidesPerGroupAuto?N:M.slidesPerGroup;let j=z;j%z!==0&&(j+=z-j%z),j+=M.loopAdditionalSlides,T.loopedSlides=j;const q=T.grid&&M.grid&&M.grid.rows>1;O.length<N+j||T.params.effect==="cards"&&O.length<N+j*2?ny("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"):q&&M.grid.fill==="row"&&ny("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const $=[],se=[],le=q?Math.ceil(O.length/M.grid.rows):O.length,ve=m&&le-P<N&&!U;let ee=ve?P:T.activeIndex;typeof h>"u"?h=T.getSlideIndex(O.find(be=>be.classList.contains(M.slideActiveClass))):ee=h;const J=c==="next"||!c,re=c==="prev"||!c;let oe=0,we=0;const Ge=(q?O[h].column:h)+(U&&typeof p>"u"?-N/2+.5:0);if(Ge<j){oe=Math.max(j-Ge,z);for(let be=0;be<j-Ge;be+=1){const $e=be-Math.floor(be/le)*le;if(q){const ue=le-$e-1;for(let Se=O.length-1;Se>=0;Se-=1)O[Se].column===ue&&$.push(Se)}else $.push(le-$e-1)}}else if(Ge+N>le-j){we=Math.max(Ge-(le-j*2),z),ve&&(we=Math.max(we,N-le+P+1));for(let be=0;be<we;be+=1){const $e=be-Math.floor(be/le)*le;q?O.forEach((ue,Se)=>{ue.column===$e&&se.push(Se)}):se.push($e)}}if(T.__preventObserver__=!0,requestAnimationFrame(()=>{T.__preventObserver__=!1}),T.params.effect==="cards"&&O.length<N+j*2&&(se.includes(h)&&se.splice(se.indexOf(h),1),$.includes(h)&&$.splice($.indexOf(h),1)),re&&$.forEach(be=>{O[be].swiperLoopMoveDOM=!0,L.prepend(O[be]),O[be].swiperLoopMoveDOM=!1}),J&&se.forEach(be=>{O[be].swiperLoopMoveDOM=!0,L.append(O[be]),O[be].swiperLoopMoveDOM=!1}),T.recalcSlides(),M.slidesPerView==="auto"?T.updateSlides():q&&($.length>0&&re||se.length>0&&J)&&T.slides.forEach((be,$e)=>{T.grid.updateSlide($e,be,T.slides)}),M.watchSlidesProgress&&T.updateSlidesOffset(),o){if($.length>0&&re){if(typeof l>"u"){const be=T.slidesGrid[ee],ue=T.slidesGrid[ee+oe]-be;b?T.setTranslate(T.translate-ue):(T.slideTo(ee+Math.ceil(oe),0,!1,!0),p&&(T.touchEventsData.startTranslate=T.touchEventsData.startTranslate-ue,T.touchEventsData.currentTranslate=T.touchEventsData.currentTranslate-ue))}else if(p){const be=q?$.length/M.grid.rows:$.length;T.slideTo(T.activeIndex+be,0,!1,!0),T.touchEventsData.currentTranslate=T.translate}}else if(se.length>0&&J)if(typeof l>"u"){const be=T.slidesGrid[ee],ue=T.slidesGrid[ee-we]-be;b?T.setTranslate(T.translate-ue):(T.slideTo(ee-we,0,!1,!0),p&&(T.touchEventsData.startTranslate=T.touchEventsData.startTranslate-ue,T.touchEventsData.currentTranslate=T.touchEventsData.currentTranslate-ue))}else{const be=q?se.length/M.grid.rows:se.length;T.slideTo(T.activeIndex-be,0,!1,!0)}}if(T.allowSlidePrev=R,T.allowSlideNext=D,T.controller&&T.controller.control&&!w){const be={slideRealIndex:l,direction:c,setTranslate:p,activeSlideIndex:h,byController:!0};Array.isArray(T.controller.control)?T.controller.control.forEach($e=>{!$e.destroyed&&$e.params.loop&&$e.loopFix({...be,slideTo:$e.params.slidesPerView===M.slidesPerView?o:!1})}):T.controller.control instanceof T.constructor&&T.controller.control.params.loop&&T.controller.control.loopFix({...be,slideTo:T.controller.control.params.slidesPerView===M.slidesPerView?o:!1})}T.emit("loopFix")}function aP(){const i=this,{params:l,slidesEl:o}=i;if(!l.loop||!o||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();const c=[];i.slides.forEach(p=>{const h=typeof p.swiperSlideIndex>"u"?p.getAttribute("data-swiper-slide-index")*1:p.swiperSlideIndex;c[h]=p}),i.slides.forEach(p=>{p.removeAttribute("data-swiper-slide-index")}),c.forEach(p=>{o.append(p)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var iP={loopCreate:nP,loopFix:rP,loopDestroy:aP};function lP(i){const l=this;if(!l.params.simulateTouch||l.params.watchOverflow&&l.isLocked||l.params.cssMode)return;const o=l.params.touchEventsTarget==="container"?l.el:l.wrapperEl;l.isElement&&(l.__preventObserver__=!0),o.style.cursor="move",o.style.cursor=i?"grabbing":"grab",l.isElement&&requestAnimationFrame(()=>{l.__preventObserver__=!1})}function oP(){const i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var uP={setGrabCursor:lP,unsetGrabCursor:oP};function sP(i,l){l===void 0&&(l=this);function o(c){if(!c||c===fc()||c===da())return null;c.assignedSlot&&(c=c.assignedSlot);const p=c.closest(i);return!p&&!c.getRootNode?null:p||o(c.getRootNode().host)}return o(l)}function n1(i,l,o){const c=da(),{params:p}=i,h=p.edgeSwipeDetection,m=p.edgeSwipeThreshold;return h&&(o<=m||o>=c.innerWidth-m)?h==="prevent"?(l.preventDefault(),!0):!1:!0}function cP(i){const l=this,o=fc();let c=i;c.originalEvent&&(c=c.originalEvent);const p=l.touchEventsData;if(c.type==="pointerdown"){if(p.pointerId!==null&&p.pointerId!==c.pointerId)return;p.pointerId=c.pointerId}else c.type==="touchstart"&&c.targetTouches.length===1&&(p.touchId=c.targetTouches[0].identifier);if(c.type==="touchstart"){n1(l,c,c.targetTouches[0].pageX);return}const{params:h,touches:m,enabled:w}=l;if(!w||!h.simulateTouch&&c.pointerType==="mouse"||l.animating&&h.preventInteractionOnTransition)return;!l.animating&&h.cssMode&&h.loop&&l.loopFix();let b=c.target;if(h.touchEventsTarget==="wrapper"&&!gA(b,l.wrapperEl)||"which"in c&&c.which===3||"button"in c&&c.button>0||p.isTouched&&p.isMoved)return;const T=!!h.noSwipingClass&&h.noSwipingClass!=="",O=c.composedPath?c.composedPath():c.path;T&&c.target&&c.target.shadowRoot&&O&&(b=O[0]);const R=h.noSwipingSelector?h.noSwipingSelector:`.${h.noSwipingClass}`,D=!!(c.target&&c.target.shadowRoot);if(h.noSwiping&&(D?sP(R,b):b.closest(R))){l.allowClick=!0;return}if(h.swipeHandler&&!b.closest(h.swipeHandler))return;m.currentX=c.pageX,m.currentY=c.pageY;const L=m.currentX,M=m.currentY;if(!n1(l,c,L))return;Object.assign(p,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),m.startX=L,m.startY=M,p.touchStartTime=ty(),l.allowClick=!0,l.updateSize(),l.swipeDirection=void 0,h.threshold>0&&(p.allowThresholdMove=!1);let U=!0;b.matches(p.focusableElements)&&(U=!1,b.nodeName==="SELECT"&&(p.isTouched=!1)),o.activeElement&&o.activeElement.matches(p.focusableElements)&&o.activeElement!==b&&(c.pointerType==="mouse"||c.pointerType!=="mouse"&&!b.matches(p.focusableElements))&&o.activeElement.blur();const P=U&&l.allowTouchMove&&h.touchStartPreventDefault;(h.touchStartForcePreventDefault||P)&&!b.isContentEditable&&c.preventDefault(),h.freeMode&&h.freeMode.enabled&&l.freeMode&&l.animating&&!h.cssMode&&l.freeMode.onTouchStart(),l.emit("touchStart",c)}function fP(i){const l=fc(),o=this,c=o.touchEventsData,{params:p,touches:h,rtlTranslate:m,enabled:w}=o;if(!w||!p.simulateTouch&&i.pointerType==="mouse")return;let b=i;if(b.originalEvent&&(b=b.originalEvent),b.type==="pointermove"&&(c.touchId!==null||b.pointerId!==c.pointerId))return;let T;if(b.type==="touchmove"){if(T=[...b.changedTouches].find($=>$.identifier===c.touchId),!T||T.identifier!==c.touchId)return}else T=b;if(!c.isTouched){c.startMoving&&c.isScrolling&&o.emit("touchMoveOpposite",b);return}const O=T.pageX,R=T.pageY;if(b.preventedByNestedSwiper){h.startX=O,h.startY=R;return}if(!o.allowTouchMove){b.target.matches(c.focusableElements)||(o.allowClick=!1),c.isTouched&&(Object.assign(h,{startX:O,startY:R,currentX:O,currentY:R}),c.touchStartTime=ty());return}if(p.touchReleaseOnEdges&&!p.loop)if(o.isVertical()){if(R<h.startY&&o.translate<=o.maxTranslate()||R>h.startY&&o.translate>=o.minTranslate()){c.isTouched=!1,c.isMoved=!1;return}}else{if(m&&(O>h.startX&&-o.translate<=o.maxTranslate()||O<h.startX&&-o.translate>=o.minTranslate()))return;if(!m&&(O<h.startX&&o.translate<=o.maxTranslate()||O>h.startX&&o.translate>=o.minTranslate()))return}if(l.activeElement&&l.activeElement.matches(c.focusableElements)&&l.activeElement!==b.target&&b.pointerType!=="mouse"&&l.activeElement.blur(),l.activeElement&&b.target===l.activeElement&&b.target.matches(c.focusableElements)){c.isMoved=!0,o.allowClick=!1;return}c.allowTouchCallbacks&&o.emit("touchMove",b),h.previousX=h.currentX,h.previousY=h.currentY,h.currentX=O,h.currentY=R;const D=h.currentX-h.startX,L=h.currentY-h.startY;if(o.params.threshold&&Math.sqrt(D**2+L**2)<o.params.threshold)return;if(typeof c.isScrolling>"u"){let $;o.isHorizontal()&&h.currentY===h.startY||o.isVertical()&&h.currentX===h.startX?c.isScrolling=!1:D*D+L*L>=25&&($=Math.atan2(Math.abs(L),Math.abs(D))*180/Math.PI,c.isScrolling=o.isHorizontal()?$>p.touchAngle:90-$>p.touchAngle)}if(c.isScrolling&&o.emit("touchMoveOpposite",b),typeof c.startMoving>"u"&&(h.currentX!==h.startX||h.currentY!==h.startY)&&(c.startMoving=!0),c.isScrolling||b.type==="touchmove"&&c.preventTouchMoveFromPointerMove){c.isTouched=!1;return}if(!c.startMoving)return;o.allowClick=!1,!p.cssMode&&b.cancelable&&b.preventDefault(),p.touchMoveStopPropagation&&!p.nested&&b.stopPropagation();let M=o.isHorizontal()?D:L,U=o.isHorizontal()?h.currentX-h.previousX:h.currentY-h.previousY;p.oneWayMovement&&(M=Math.abs(M)*(m?1:-1),U=Math.abs(U)*(m?1:-1)),h.diff=M,M*=p.touchRatio,m&&(M=-M,U=-U);const P=o.touchesDirection;o.swipeDirection=M>0?"prev":"next",o.touchesDirection=U>0?"prev":"next";const N=o.params.loop&&!p.cssMode,z=o.touchesDirection==="next"&&o.allowSlideNext||o.touchesDirection==="prev"&&o.allowSlidePrev;if(!c.isMoved){if(N&&z&&o.loopFix({direction:o.swipeDirection}),c.startTranslate=o.getTranslate(),o.setTransition(0),o.animating){const $=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});o.wrapperEl.dispatchEvent($)}c.allowMomentumBounce=!1,p.grabCursor&&(o.allowSlideNext===!0||o.allowSlidePrev===!0)&&o.setGrabCursor(!0),o.emit("sliderFirstMove",b)}if(new Date().getTime(),p._loopSwapReset!==!1&&c.isMoved&&c.allowThresholdMove&&P!==o.touchesDirection&&N&&z&&Math.abs(M)>=1){Object.assign(h,{startX:O,startY:R,currentX:O,currentY:R,startTranslate:c.currentTranslate}),c.loopSwapReset=!0,c.startTranslate=c.currentTranslate;return}o.emit("sliderMove",b),c.isMoved=!0,c.currentTranslate=M+c.startTranslate;let j=!0,q=p.resistanceRatio;if(p.touchReleaseOnEdges&&(q=0),M>0?(N&&z&&c.allowThresholdMove&&c.currentTranslate>(p.centeredSlides?o.minTranslate()-o.slidesSizesGrid[o.activeIndex+1]-(p.slidesPerView!=="auto"&&o.slides.length-p.slidesPerView>=2?o.slidesSizesGrid[o.activeIndex+1]+o.params.spaceBetween:0)-o.params.spaceBetween:o.minTranslate())&&o.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),c.currentTranslate>o.minTranslate()&&(j=!1,p.resistance&&(c.currentTranslate=o.minTranslate()-1+(-o.minTranslate()+c.startTranslate+M)**q))):M<0&&(N&&z&&c.allowThresholdMove&&c.currentTranslate<(p.centeredSlides?o.maxTranslate()+o.slidesSizesGrid[o.slidesSizesGrid.length-1]+o.params.spaceBetween+(p.slidesPerView!=="auto"&&o.slides.length-p.slidesPerView>=2?o.slidesSizesGrid[o.slidesSizesGrid.length-1]+o.params.spaceBetween:0):o.maxTranslate())&&o.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:o.slides.length-(p.slidesPerView==="auto"?o.slidesPerViewDynamic():Math.ceil(parseFloat(p.slidesPerView,10)))}),c.currentTranslate<o.maxTranslate()&&(j=!1,p.resistance&&(c.currentTranslate=o.maxTranslate()+1-(o.maxTranslate()-c.startTranslate-M)**q))),j&&(b.preventedByNestedSwiper=!0),!o.allowSlideNext&&o.swipeDirection==="next"&&c.currentTranslate<c.startTranslate&&(c.currentTranslate=c.startTranslate),!o.allowSlidePrev&&o.swipeDirection==="prev"&&c.currentTranslate>c.startTranslate&&(c.currentTranslate=c.startTranslate),!o.allowSlidePrev&&!o.allowSlideNext&&(c.currentTranslate=c.startTranslate),p.threshold>0)if(Math.abs(M)>p.threshold||c.allowThresholdMove){if(!c.allowThresholdMove){c.allowThresholdMove=!0,h.startX=h.currentX,h.startY=h.currentY,c.currentTranslate=c.startTranslate,h.diff=o.isHorizontal()?h.currentX-h.startX:h.currentY-h.startY;return}}else{c.currentTranslate=c.startTranslate;return}!p.followFinger||p.cssMode||((p.freeMode&&p.freeMode.enabled&&o.freeMode||p.watchSlidesProgress)&&(o.updateActiveIndex(),o.updateSlidesClasses()),p.freeMode&&p.freeMode.enabled&&o.freeMode&&o.freeMode.onTouchMove(),o.updateProgress(c.currentTranslate),o.setTranslate(c.currentTranslate))}function dP(i){const l=this,o=l.touchEventsData;let c=i;c.originalEvent&&(c=c.originalEvent);let p;if(c.type==="touchend"||c.type==="touchcancel"){if(p=[...c.changedTouches].find($=>$.identifier===o.touchId),!p||p.identifier!==o.touchId)return}else{if(o.touchId!==null||c.pointerId!==o.pointerId)return;p=c}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(c.type)&&!(["pointercancel","contextmenu"].includes(c.type)&&(l.browser.isSafari||l.browser.isWebView)))return;o.pointerId=null,o.touchId=null;const{params:m,touches:w,rtlTranslate:b,slidesGrid:T,enabled:O}=l;if(!O||!m.simulateTouch&&c.pointerType==="mouse")return;if(o.allowTouchCallbacks&&l.emit("touchEnd",c),o.allowTouchCallbacks=!1,!o.isTouched){o.isMoved&&m.grabCursor&&l.setGrabCursor(!1),o.isMoved=!1,o.startMoving=!1;return}m.grabCursor&&o.isMoved&&o.isTouched&&(l.allowSlideNext===!0||l.allowSlidePrev===!0)&&l.setGrabCursor(!1);const R=ty(),D=R-o.touchStartTime;if(l.allowClick){const $=c.path||c.composedPath&&c.composedPath();l.updateClickedSlide($&&$[0]||c.target,$),l.emit("tap click",c),D<300&&R-o.lastClickTime<300&&l.emit("doubleTap doubleClick",c)}if(o.lastClickTime=ty(),fb(()=>{l.destroyed||(l.allowClick=!0)}),!o.isTouched||!o.isMoved||!l.swipeDirection||w.diff===0&&!o.loopSwapReset||o.currentTranslate===o.startTranslate&&!o.loopSwapReset){o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;return}o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;let L;if(m.followFinger?L=b?l.translate:-l.translate:L=-o.currentTranslate,m.cssMode)return;if(m.freeMode&&m.freeMode.enabled){l.freeMode.onTouchEnd({currentPos:L});return}const M=L>=-l.maxTranslate()&&!l.params.loop;let U=0,P=l.slidesSizesGrid[0];for(let $=0;$<T.length;$+=$<m.slidesPerGroupSkip?1:m.slidesPerGroup){const se=$<m.slidesPerGroupSkip-1?1:m.slidesPerGroup;typeof T[$+se]<"u"?(M||L>=T[$]&&L<T[$+se])&&(U=$,P=T[$+se]-T[$]):(M||L>=T[$])&&(U=$,P=T[T.length-1]-T[T.length-2])}let N=null,z=null;m.rewind&&(l.isBeginning?z=m.virtual&&m.virtual.enabled&&l.virtual?l.virtual.slides.length-1:l.slides.length-1:l.isEnd&&(N=0));const j=(L-T[U])/P,q=U<m.slidesPerGroupSkip-1?1:m.slidesPerGroup;if(D>m.longSwipesMs){if(!m.longSwipes){l.slideTo(l.activeIndex);return}l.swipeDirection==="next"&&(j>=m.longSwipesRatio?l.slideTo(m.rewind&&l.isEnd?N:U+q):l.slideTo(U)),l.swipeDirection==="prev"&&(j>1-m.longSwipesRatio?l.slideTo(U+q):z!==null&&j<0&&Math.abs(j)>m.longSwipesRatio?l.slideTo(z):l.slideTo(U))}else{if(!m.shortSwipes){l.slideTo(l.activeIndex);return}l.navigation&&(c.target===l.navigation.nextEl||c.target===l.navigation.prevEl)?c.target===l.navigation.nextEl?l.slideTo(U+q):l.slideTo(U):(l.swipeDirection==="next"&&l.slideTo(N!==null?N:U+q),l.swipeDirection==="prev"&&l.slideTo(z!==null?z:U))}}function r1(){const i=this,{params:l,el:o}=i;if(o&&o.offsetWidth===0)return;l.breakpoints&&i.setBreakpoint();const{allowSlideNext:c,allowSlidePrev:p,snapGrid:h}=i,m=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();const w=m&&l.loop;(l.slidesPerView==="auto"||l.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!w?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!m?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=p,i.allowSlideNext=c,i.params.watchOverflow&&h!==i.snapGrid&&i.checkOverflow()}function pP(i){const l=this;l.enabled&&(l.allowClick||(l.params.preventClicks&&i.preventDefault(),l.params.preventClicksPropagation&&l.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function vP(){const i=this,{wrapperEl:l,rtlTranslate:o,enabled:c}=i;if(!c)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-l.scrollLeft:i.translate=-l.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let p;const h=i.maxTranslate()-i.minTranslate();h===0?p=0:p=(i.translate-i.minTranslate())/h,p!==i.progress&&i.updateProgress(o?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function hP(i){const l=this;Gg(l,i.target),!(l.params.cssMode||l.params.slidesPerView!=="auto"&&!l.params.autoHeight)&&l.update()}function mP(){const i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}const rR=(i,l)=>{const o=fc(),{params:c,el:p,wrapperEl:h,device:m}=i,w=!!c.nested,b=l==="on"?"addEventListener":"removeEventListener",T=l;!p||typeof p=="string"||(o[b]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:w}),p[b]("touchstart",i.onTouchStart,{passive:!1}),p[b]("pointerdown",i.onTouchStart,{passive:!1}),o[b]("touchmove",i.onTouchMove,{passive:!1,capture:w}),o[b]("pointermove",i.onTouchMove,{passive:!1,capture:w}),o[b]("touchend",i.onTouchEnd,{passive:!0}),o[b]("pointerup",i.onTouchEnd,{passive:!0}),o[b]("pointercancel",i.onTouchEnd,{passive:!0}),o[b]("touchcancel",i.onTouchEnd,{passive:!0}),o[b]("pointerout",i.onTouchEnd,{passive:!0}),o[b]("pointerleave",i.onTouchEnd,{passive:!0}),o[b]("contextmenu",i.onTouchEnd,{passive:!0}),(c.preventClicks||c.preventClicksPropagation)&&p[b]("click",i.onClick,!0),c.cssMode&&h[b]("scroll",i.onScroll),c.updateOnWindowResize?i[T](m.ios||m.android?"resize orientationchange observerUpdate":"resize observerUpdate",r1,!0):i[T]("observerUpdate",r1,!0),p[b]("load",i.onLoad,{capture:!0}))};function gP(){const i=this,{params:l}=i;i.onTouchStart=cP.bind(i),i.onTouchMove=fP.bind(i),i.onTouchEnd=dP.bind(i),i.onDocumentTouchStart=mP.bind(i),l.cssMode&&(i.onScroll=vP.bind(i)),i.onClick=pP.bind(i),i.onLoad=hP.bind(i),rR(i,"on")}function yP(){rR(this,"off")}var SP={attachEvents:gP,detachEvents:yP};const a1=(i,l)=>i.grid&&l.grid&&l.grid.rows>1;function wP(){const i=this,{realIndex:l,initialized:o,params:c,el:p}=i,h=c.breakpoints;if(!h||h&&Object.keys(h).length===0)return;const m=fc(),w=c.breakpointsBase==="window"||!c.breakpointsBase?c.breakpointsBase:"container",b=["window","container"].includes(c.breakpointsBase)||!c.breakpointsBase?i.el:m.querySelector(c.breakpointsBase),T=i.getBreakpoint(h,w,b);if(!T||i.currentBreakpoint===T)return;const R=(T in h?h[T]:void 0)||i.originalParams,D=a1(i,c),L=a1(i,R),M=i.params.grabCursor,U=R.grabCursor,P=c.enabled;D&&!L?(p.classList.remove(`${c.containerModifierClass}grid`,`${c.containerModifierClass}grid-column`),i.emitContainerClasses()):!D&&L&&(p.classList.add(`${c.containerModifierClass}grid`),(R.grid.fill&&R.grid.fill==="column"||!R.grid.fill&&c.grid.fill==="column")&&p.classList.add(`${c.containerModifierClass}grid-column`),i.emitContainerClasses()),M&&!U?i.unsetGrabCursor():!M&&U&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(se=>{if(typeof R[se]>"u")return;const le=c[se]&&c[se].enabled,ve=R[se]&&R[se].enabled;le&&!ve&&i[se].disable(),!le&&ve&&i[se].enable()});const N=R.direction&&R.direction!==c.direction,z=c.loop&&(R.slidesPerView!==c.slidesPerView||N),j=c.loop;N&&o&&i.changeDirection(),Wa(i.params,R);const q=i.params.enabled,$=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),P&&!q?i.disable():!P&&q&&i.enable(),i.currentBreakpoint=T,i.emit("_beforeBreakpoint",R),o&&(z?(i.loopDestroy(),i.loopCreate(l),i.updateSlides()):!j&&$?(i.loopCreate(l),i.updateSlides()):j&&!$&&i.loopDestroy()),i.emit("breakpoint",R)}function bP(i,l,o){if(l===void 0&&(l="window"),!i||l==="container"&&!o)return;let c=!1;const p=da(),h=l==="window"?p.innerHeight:o.clientHeight,m=Object.keys(i).map(w=>{if(typeof w=="string"&&w.indexOf("@")===0){const b=parseFloat(w.substr(1));return{value:h*b,point:w}}return{value:w,point:w}});m.sort((w,b)=>parseInt(w.value,10)-parseInt(b.value,10));for(let w=0;w<m.length;w+=1){const{point:b,value:T}=m[w];l==="window"?p.matchMedia(`(min-width: ${T}px)`).matches&&(c=b):T<=o.clientWidth&&(c=b)}return c||"max"}var EP={setBreakpoint:wP,getBreakpoint:bP};function TP(i,l){const o=[];return i.forEach(c=>{typeof c=="object"?Object.keys(c).forEach(p=>{c[p]&&o.push(l+p)}):typeof c=="string"&&o.push(l+c)}),o}function CP(){const i=this,{classNames:l,params:o,rtl:c,el:p,device:h}=i,m=TP(["initialized",o.direction,{"free-mode":i.params.freeMode&&o.freeMode.enabled},{autoheight:o.autoHeight},{rtl:c},{grid:o.grid&&o.grid.rows>1},{"grid-column":o.grid&&o.grid.rows>1&&o.grid.fill==="column"},{android:h.android},{ios:h.ios},{"css-mode":o.cssMode},{centered:o.cssMode&&o.centeredSlides},{"watch-progress":o.watchSlidesProgress}],o.containerModifierClass);l.push(...m),p.classList.add(...l),i.emitContainerClasses()}function xP(){const i=this,{el:l,classNames:o}=i;!l||typeof l=="string"||(l.classList.remove(...o),i.emitContainerClasses())}var RP={addClasses:CP,removeClasses:xP};function OP(){const i=this,{isLocked:l,params:o}=i,{slidesOffsetBefore:c}=o;if(c){const p=i.slides.length-1,h=i.slidesGrid[p]+i.slidesSizesGrid[p]+c*2;i.isLocked=i.size>h}else i.isLocked=i.snapGrid.length===1;o.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),o.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),l&&l!==i.isLocked&&(i.isEnd=!1),l!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var kP={checkOverflow:OP},vb={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",spaceBetween: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};function DP(i,l){return function(c){c===void 0&&(c={});const p=Object.keys(c)[0],h=c[p];if(typeof h!="object"||h===null){Wa(l,c);return}if(i[p]===!0&&(i[p]={enabled:!0}),p==="navigation"&&i[p]&&i[p].enabled&&!i[p].prevEl&&!i[p].nextEl&&(i[p].auto=!0),["pagination","scrollbar"].indexOf(p)>=0&&i[p]&&i[p].enabled&&!i[p].el&&(i[p].auto=!0),!(p in i&&"enabled"in h)){Wa(l,c);return}typeof i[p]=="object"&&!("enabled"in i[p])&&(i[p].enabled=!0),i[p]||(i[p]={enabled:!1}),Wa(l,c)}}const Ww={eventsEmitter:RA,update:jA,translate:VA,transition:YA,slide:tP,loop:iP,grabCursor:uP,events:SP,breakpoints:EP,checkOverflow:kP,classes:RP},Gw={};let Ob=class Do{constructor(){let l,o;for(var c=arguments.length,p=new Array(c),h=0;h<c;h++)p[h]=arguments[h];p.length===1&&p[0].constructor&&Object.prototype.toString.call(p[0]).slice(8,-1)==="Object"?o=p[0]:[l,o]=p,o||(o={}),o=Wa({},o),l&&!o.el&&(o.el=l);const m=fc();if(o.el&&typeof o.el=="string"&&m.querySelectorAll(o.el).length>1){const O=[];return m.querySelectorAll(o.el).forEach(R=>{const D=Wa({},o,{el:R});O.push(new Do(D))}),O}const w=this;w.__swiper__=!0,w.support=J1(),w.device=eR({userAgent:o.userAgent}),w.browser=tR(),w.eventsListeners={},w.eventsAnyListeners=[],w.modules=[...w.__modules__],o.modules&&Array.isArray(o.modules)&&w.modules.push(...o.modules);const b={};w.modules.forEach(O=>{O({params:o,swiper:w,extendParams:DP(o,b),on:w.on.bind(w),once:w.once.bind(w),off:w.off.bind(w),emit:w.emit.bind(w)})});const T=Wa({},vb,b);return w.params=Wa({},T,Gw,o),w.originalParams=Wa({},w.params),w.passedParams=Wa({},o),w.params&&w.params.on&&Object.keys(w.params.on).forEach(O=>{w.on(O,w.params.on[O])}),w.params&&w.params.onAny&&w.onAny(w.params.onAny),Object.assign(w,{enabled:w.params.enabled,el:l,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return w.params.direction==="horizontal"},isVertical(){return w.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:w.params.allowSlideNext,allowSlidePrev:w.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:w.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:w.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),w.emit("_swiper"),w.params.init&&w.init(),w}getDirectionLabel(l){return this.isHorizontal()?l:{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"}[l]}getSlideIndex(l){const{slidesEl:o,params:c}=this,p=Mo(o,`.${c.slideClass}, swiper-slide`),h=Zx(p[0]);return Zx(l)-h}getSlideIndexByData(l){return this.getSlideIndex(this.slides.find(o=>o.getAttribute("data-swiper-slide-index")*1===l))}recalcSlides(){const l=this,{slidesEl:o,params:c}=l;l.slides=Mo(o,`.${c.slideClass}, swiper-slide`)}enable(){const l=this;l.enabled||(l.enabled=!0,l.params.grabCursor&&l.setGrabCursor(),l.emit("enable"))}disable(){const l=this;l.enabled&&(l.enabled=!1,l.params.grabCursor&&l.unsetGrabCursor(),l.emit("disable"))}setProgress(l,o){const c=this;l=Math.min(Math.max(l,0),1);const p=c.minTranslate(),m=(c.maxTranslate()-p)*l+p;c.translateTo(m,typeof o>"u"?0:o),c.updateActiveIndex(),c.updateSlidesClasses()}emitContainerClasses(){const l=this;if(!l.params._emitClasses||!l.el)return;const o=l.el.className.split(" ").filter(c=>c.indexOf("swiper")===0||c.indexOf(l.params.containerModifierClass)===0);l.emit("_containerClasses",o.join(" "))}getSlideClasses(l){const o=this;return o.destroyed?"":l.className.split(" ").filter(c=>c.indexOf("swiper-slide")===0||c.indexOf(o.params.slideClass)===0).join(" ")}emitSlidesClasses(){const l=this;if(!l.params._emitClasses||!l.el)return;const o=[];l.slides.forEach(c=>{const p=l.getSlideClasses(c);o.push({slideEl:c,classNames:p}),l.emit("_slideClass",c,p)}),l.emit("_slideClasses",o)}slidesPerViewDynamic(l,o){l===void 0&&(l="current"),o===void 0&&(o=!1);const c=this,{params:p,slides:h,slidesGrid:m,slidesSizesGrid:w,size:b,activeIndex:T}=c;let O=1;if(typeof p.slidesPerView=="number")return p.slidesPerView;if(p.centeredSlides){let R=h[T]?Math.ceil(h[T].swiperSlideSize):0,D;for(let L=T+1;L<h.length;L+=1)h[L]&&!D&&(R+=Math.ceil(h[L].swiperSlideSize),O+=1,R>b&&(D=!0));for(let L=T-1;L>=0;L-=1)h[L]&&!D&&(R+=h[L].swiperSlideSize,O+=1,R>b&&(D=!0))}else if(l==="current")for(let R=T+1;R<h.length;R+=1)(o?m[R]+w[R]-m[T]<b:m[R]-m[T]<b)&&(O+=1);else for(let R=T-1;R>=0;R-=1)m[T]-m[R]<b&&(O+=1);return O}update(){const l=this;if(!l||l.destroyed)return;const{snapGrid:o,params:c}=l;c.breakpoints&&l.setBreakpoint(),[...l.el.querySelectorAll('[loading="lazy"]')].forEach(m=>{m.complete&&Gg(l,m)}),l.updateSize(),l.updateSlides(),l.updateProgress(),l.updateSlidesClasses();function p(){const m=l.rtlTranslate?l.translate*-1:l.translate,w=Math.min(Math.max(m,l.maxTranslate()),l.minTranslate());l.setTranslate(w),l.updateActiveIndex(),l.updateSlidesClasses()}let h;if(c.freeMode&&c.freeMode.enabled&&!c.cssMode)p(),c.autoHeight&&l.updateAutoHeight();else{if((c.slidesPerView==="auto"||c.slidesPerView>1)&&l.isEnd&&!c.centeredSlides){const m=l.virtual&&c.virtual.enabled?l.virtual.slides:l.slides;h=l.slideTo(m.length-1,0,!1,!0)}else h=l.slideTo(l.activeIndex,0,!1,!0);h||p()}c.watchOverflow&&o!==l.snapGrid&&l.checkOverflow(),l.emit("update")}changeDirection(l,o){o===void 0&&(o=!0);const c=this,p=c.params.direction;return l||(l=p==="horizontal"?"vertical":"horizontal"),l===p||l!=="horizontal"&&l!=="vertical"||(c.el.classList.remove(`${c.params.containerModifierClass}${p}`),c.el.classList.add(`${c.params.containerModifierClass}${l}`),c.emitContainerClasses(),c.params.direction=l,c.slides.forEach(h=>{l==="vertical"?h.style.width="":h.style.height=""}),c.emit("changeDirection"),o&&c.update()),c}changeLanguageDirection(l){const o=this;o.rtl&&l==="rtl"||!o.rtl&&l==="ltr"||(o.rtl=l==="rtl",o.rtlTranslate=o.params.direction==="horizontal"&&o.rtl,o.rtl?(o.el.classList.add(`${o.params.containerModifierClass}rtl`),o.el.dir="rtl"):(o.el.classList.remove(`${o.params.containerModifierClass}rtl`),o.el.dir="ltr"),o.update())}mount(l){const o=this;if(o.mounted)return!0;let c=l||o.params.el;if(typeof c=="string"&&(c=document.querySelector(c)),!c)return!1;c.swiper=o,c.parentNode&&c.parentNode.host&&c.parentNode.host.nodeName===o.params.swiperElementNodeName.toUpperCase()&&(o.isElement=!0);const p=()=>`.${(o.params.wrapperClass||"").trim().split(" ").join(".")}`;let m=c&&c.shadowRoot&&c.shadowRoot.querySelector?c.shadowRoot.querySelector(p()):Mo(c,p())[0];return!m&&o.params.createElements&&(m=db("div",o.params.wrapperClass),c.append(m),Mo(c,`.${o.params.slideClass}`).forEach(w=>{m.append(w)})),Object.assign(o,{el:c,wrapperEl:m,slidesEl:o.isElement&&!c.parentNode.host.slideSlots?c.parentNode.host:m,hostEl:o.isElement?c.parentNode.host:c,mounted:!0,rtl:c.dir.toLowerCase()==="rtl"||Du(c,"direction")==="rtl",rtlTranslate:o.params.direction==="horizontal"&&(c.dir.toLowerCase()==="rtl"||Du(c,"direction")==="rtl"),wrongRTL:Du(m,"display")==="-webkit-box"}),!0}init(l){const o=this;if(o.initialized||o.mount(l)===!1)return o;o.emit("beforeInit"),o.params.breakpoints&&o.setBreakpoint(),o.addClasses(),o.updateSize(),o.updateSlides(),o.params.watchOverflow&&o.checkOverflow(),o.params.grabCursor&&o.enabled&&o.setGrabCursor(),o.params.loop&&o.virtual&&o.params.virtual.enabled?o.slideTo(o.params.initialSlide+o.virtual.slidesBefore,0,o.params.runCallbacksOnInit,!1,!0):o.slideTo(o.params.initialSlide,0,o.params.runCallbacksOnInit,!1,!0),o.params.loop&&o.loopCreate(void 0,!0),o.attachEvents();const p=[...o.el.querySelectorAll('[loading="lazy"]')];return o.isElement&&p.push(...o.hostEl.querySelectorAll('[loading="lazy"]')),p.forEach(h=>{h.complete?Gg(o,h):h.addEventListener("load",m=>{Gg(o,m.target)})}),pb(o),o.initialized=!0,pb(o),o.emit("init"),o.emit("afterInit"),o}destroy(l,o){l===void 0&&(l=!0),o===void 0&&(o=!0);const c=this,{params:p,el:h,wrapperEl:m,slides:w}=c;return typeof c.params>"u"||c.destroyed||(c.emit("beforeDestroy"),c.initialized=!1,c.detachEvents(),p.loop&&c.loopDestroy(),o&&(c.removeClasses(),h&&typeof h!="string"&&h.removeAttribute("style"),m&&m.removeAttribute("style"),w&&w.length&&w.forEach(b=>{b.classList.remove(p.slideVisibleClass,p.slideFullyVisibleClass,p.slideActiveClass,p.slideNextClass,p.slidePrevClass),b.removeAttribute("style"),b.removeAttribute("data-swiper-slide-index")})),c.emit("destroy"),Object.keys(c.eventsListeners).forEach(b=>{c.off(b)}),l!==!1&&(c.el&&typeof c.el!="string"&&(c.el.swiper=null),dA(c)),c.destroyed=!0),null}static extendDefaults(l){Wa(Gw,l)}static get extendedDefaults(){return Gw}static get defaults(){return vb}static installModule(l){Do.prototype.__modules__||(Do.prototype.__modules__=[]);const o=Do.prototype.__modules__;typeof l=="function"&&o.indexOf(l)<0&&o.push(l)}static use(l){return Array.isArray(l)?(l.forEach(o=>Do.installModule(o)),Do):(Do.installModule(l),Do)}};Object.keys(Ww).forEach(i=>{Object.keys(Ww[i]).forEach(l=>{Ob.prototype[l]=Ww[i][l]})});Ob.use([CA,xA]);const aR=["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 oc(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"&&!i.__swiper__}function pd(i,l){const o=["__proto__","constructor","prototype"];Object.keys(l).filter(c=>o.indexOf(c)<0).forEach(c=>{typeof i[c]>"u"?i[c]=l[c]:oc(l[c])&&oc(i[c])&&Object.keys(l[c]).length>0?l[c].__swiper__?i[c]=l[c]:pd(i[c],l[c]):i[c]=l[c]})}function iR(i){return i===void 0&&(i={}),i.navigation&&typeof i.navigation.nextEl>"u"&&typeof i.navigation.prevEl>"u"}function lR(i){return i===void 0&&(i={}),i.pagination&&typeof i.pagination.el>"u"}function oR(i){return i===void 0&&(i={}),i.scrollbar&&typeof i.scrollbar.el>"u"}function uR(i){i===void 0&&(i="");const l=i.split(" ").map(c=>c.trim()).filter(c=>!!c),o=[];return l.forEach(c=>{o.indexOf(c)<0&&o.push(c)}),o.join(" ")}function _P(i){return i===void 0&&(i=""),i?i.includes("swiper-wrapper")?i:`swiper-wrapper ${i}`:"swiper-wrapper"}function MP(i){let{swiper:l,slides:o,passedParams:c,changedParams:p,nextEl:h,prevEl:m,scrollbarEl:w,paginationEl:b}=i;const T=p.filter(ee=>ee!=="children"&&ee!=="direction"&&ee!=="wrapperClass"),{params:O,pagination:R,navigation:D,scrollbar:L,virtual:M,thumbs:U}=l;let P,N,z,j,q,$,se,le;p.includes("thumbs")&&c.thumbs&&c.thumbs.swiper&&!c.thumbs.swiper.destroyed&&O.thumbs&&(!O.thumbs.swiper||O.thumbs.swiper.destroyed)&&(P=!0),p.includes("controller")&&c.controller&&c.controller.control&&O.controller&&!O.controller.control&&(N=!0),p.includes("pagination")&&c.pagination&&(c.pagination.el||b)&&(O.pagination||O.pagination===!1)&&R&&!R.el&&(z=!0),p.includes("scrollbar")&&c.scrollbar&&(c.scrollbar.el||w)&&(O.scrollbar||O.scrollbar===!1)&&L&&!L.el&&(j=!0),p.includes("navigation")&&c.navigation&&(c.navigation.prevEl||m)&&(c.navigation.nextEl||h)&&(O.navigation||O.navigation===!1)&&D&&!D.prevEl&&!D.nextEl&&(q=!0);const ve=ee=>{l[ee]&&(l[ee].destroy(),ee==="navigation"?(l.isElement&&(l[ee].prevEl.remove(),l[ee].nextEl.remove()),O[ee].prevEl=void 0,O[ee].nextEl=void 0,l[ee].prevEl=void 0,l[ee].nextEl=void 0):(l.isElement&&l[ee].el.remove(),O[ee].el=void 0,l[ee].el=void 0))};p.includes("loop")&&l.isElement&&(O.loop&&!c.loop?$=!0:!O.loop&&c.loop?se=!0:le=!0),T.forEach(ee=>{if(oc(O[ee])&&oc(c[ee]))Object.assign(O[ee],c[ee]),(ee==="navigation"||ee==="pagination"||ee==="scrollbar")&&"enabled"in c[ee]&&!c[ee].enabled&&ve(ee);else{const J=c[ee];(J===!0||J===!1)&&(ee==="navigation"||ee==="pagination"||ee==="scrollbar")?J===!1&&ve(ee):O[ee]=c[ee]}}),T.includes("controller")&&!N&&l.controller&&l.controller.control&&O.controller&&O.controller.control&&(l.controller.control=O.controller.control),p.includes("children")&&o&&M&&O.virtual.enabled?(M.slides=o,M.update(!0)):p.includes("virtual")&&M&&O.virtual.enabled&&(o&&(M.slides=o),M.update(!0)),p.includes("children")&&o&&O.loop&&(le=!0),P&&U.init()&&U.update(!0),N&&(l.controller.control=O.controller.control),z&&(l.isElement&&(!b||typeof b=="string")&&(b=document.createElement("div"),b.classList.add("swiper-pagination"),b.part.add("pagination"),l.el.appendChild(b)),b&&(O.pagination.el=b),R.init(),R.render(),R.update()),j&&(l.isElement&&(!w||typeof w=="string")&&(w=document.createElement("div"),w.classList.add("swiper-scrollbar"),w.part.add("scrollbar"),l.el.appendChild(w)),w&&(O.scrollbar.el=w),L.init(),L.updateSize(),L.setTranslate()),q&&(l.isElement&&((!h||typeof h=="string")&&(h=document.createElement("div"),h.classList.add("swiper-button-next"),e1(h,l.hostEl.constructor.nextButtonSvg),h.part.add("button-next"),l.el.appendChild(h)),(!m||typeof m=="string")&&(m=document.createElement("div"),m.classList.add("swiper-button-prev"),e1(m,l.hostEl.constructor.prevButtonSvg),m.part.add("button-prev"),l.el.appendChild(m))),h&&(O.navigation.nextEl=h),m&&(O.navigation.prevEl=m),D.init(),D.update()),p.includes("allowSlideNext")&&(l.allowSlideNext=c.allowSlideNext),p.includes("allowSlidePrev")&&(l.allowSlidePrev=c.allowSlidePrev),p.includes("direction")&&l.changeDirection(c.direction,!1),($||le)&&l.loopDestroy(),(se||le)&&l.loopCreate(),l.update()}function LP(i,l){i===void 0&&(i={}),l===void 0&&(l=!0);const o={on:{}},c={},p={};pd(o,vb),o._emitClasses=!0,o.init=!1;const h={},m=aR.map(b=>b.replace(/_/,"")),w=Object.assign({},i);return Object.keys(w).forEach(b=>{typeof i[b]>"u"||(m.indexOf(b)>=0?oc(i[b])?(o[b]={},p[b]={},pd(o[b],i[b]),pd(p[b],i[b])):(o[b]=i[b],p[b]=i[b]):b.search(/on[A-Z]/)===0&&typeof i[b]=="function"?l?c[`${b[2].toLowerCase()}${b.substr(3)}`]=i[b]:o.on[`${b[2].toLowerCase()}${b.substr(3)}`]=i[b]:h[b]=i[b])}),["navigation","pagination","scrollbar"].forEach(b=>{o[b]===!0&&(o[b]={}),o[b]===!1&&delete o[b]}),{params:o,passedParams:p,rest:h,events:c}}function NP(i,l){let{el:o,nextEl:c,prevEl:p,paginationEl:h,scrollbarEl:m,swiper:w}=i;iR(l)&&c&&p&&(w.params.navigation.nextEl=c,w.originalParams.navigation.nextEl=c,w.params.navigation.prevEl=p,w.originalParams.navigation.prevEl=p),lR(l)&&h&&(w.params.pagination.el=h,w.originalParams.pagination.el=h),oR(l)&&m&&(w.params.scrollbar.el=m,w.originalParams.scrollbar.el=m),w.init(o)}function zP(i,l,o,c,p){const h=[];if(!l)return h;const m=b=>{h.indexOf(b)<0&&h.push(b)};if(o&&c){const b=c.map(p),T=o.map(p);b.join("")!==T.join("")&&m("children"),c.length!==o.length&&m("children")}return aR.filter(b=>b[0]==="_").map(b=>b.replace(/_/,"")).forEach(b=>{if(b in i&&b in l)if(oc(i[b])&&oc(l[b])){const T=Object.keys(i[b]),O=Object.keys(l[b]);T.length!==O.length?m(b):(T.forEach(R=>{i[b][R]!==l[b][R]&&m(b)}),O.forEach(R=>{i[b][R]!==l[b][R]&&m(b)}))}else i[b]!==l[b]&&m(b)}),h}const AP=i=>{!i||i.destroyed||!i.params.virtual||i.params.virtual&&!i.params.virtual.enabled||(i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.emit("_virtualUpdated"),i.parallax&&i.params.parallax&&i.params.parallax.enabled&&i.parallax.setTranslate())};function ry(){return ry=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},ry.apply(this,arguments)}function sR(i){return i.type&&i.type.displayName&&i.type.displayName.includes("SwiperSlide")}function cR(i){const l=[];return Ie.Children.toArray(i).forEach(o=>{sR(o)?l.push(o):o.props&&o.props.children&&cR(o.props.children).forEach(c=>l.push(c))}),l}function PP(i){const l=[],o={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return Ie.Children.toArray(i).forEach(c=>{if(sR(c))l.push(c);else if(c.props&&c.props.slot&&o[c.props.slot])o[c.props.slot].push(c);else if(c.props&&c.props.children){const p=cR(c.props.children);p.length>0?p.forEach(h=>l.push(h)):o["container-end"].push(c)}else o["container-end"].push(c)}),{slides:l,slots:o}}function jP(i,l,o){if(!o)return null;const c=O=>{let R=O;return O<0?R=l.length+O:R>=l.length&&(R=R-l.length),R},p=i.isHorizontal()?{[i.rtlTranslate?"right":"left"]:`${o.offset}px`}:{top:`${o.offset}px`},{from:h,to:m}=o,w=i.params.loop?-l.length:0,b=i.params.loop?l.length*2:l.length,T=[];for(let O=w;O<b;O+=1)O>=h&&O<=m&&T.push(l[c(O)]);return T.map((O,R)=>Ie.cloneElement(O,{swiper:i,style:p,key:O.props.virtualIndex||O.key||`slide-${R}`}))}function Iv(i,l){return typeof window>"u"?Ie.useEffect(i,l):Ie.useLayoutEffect(i,l)}const i1=Ie.createContext(null),UP=Ie.createContext(null),fR=Ie.forwardRef(function(i,l){let{className:o,tag:c="div",wrapperTag:p="div",children:h,onSwiper:m,...w}=i===void 0?{}:i,b=!1;const[T,O]=Ie.useState("swiper"),[R,D]=Ie.useState(null),[L,M]=Ie.useState(!1),U=Ie.useRef(!1),P=Ie.useRef(null),N=Ie.useRef(null),z=Ie.useRef(null),j=Ie.useRef(null),q=Ie.useRef(null),$=Ie.useRef(null),se=Ie.useRef(null),le=Ie.useRef(null),{params:ve,passedParams:ee,rest:J,events:re}=LP(w),{slides:oe,slots:we}=PP(h),Qe=()=>{M(!L)};Object.assign(ve.on,{_containerClasses(Se,ye){O(ye)}});const Ge=()=>{Object.assign(ve.on,re),b=!0;const Se={...ve};if(delete Se.wrapperClass,N.current=new Ob(Se),N.current.virtual&&N.current.params.virtual.enabled){N.current.virtual.slides=oe;const ye={cache:!1,slides:oe,renderExternal:D,renderExternalUpdate:!1};pd(N.current.params.virtual,ye),pd(N.current.originalParams.virtual,ye)}};P.current||Ge(),N.current&&N.current.on("_beforeBreakpoint",Qe);const be=()=>{b||!re||!N.current||Object.keys(re).forEach(Se=>{N.current.on(Se,re[Se])})},$e=()=>{!re||!N.current||Object.keys(re).forEach(Se=>{N.current.off(Se,re[Se])})};Ie.useEffect(()=>()=>{N.current&&N.current.off("_beforeBreakpoint",Qe)}),Ie.useEffect(()=>{!U.current&&N.current&&(N.current.emitSlidesClasses(),U.current=!0)}),Iv(()=>{if(l&&(l.current=P.current),!!P.current)return N.current.destroyed&&Ge(),NP({el:P.current,nextEl:q.current,prevEl:$.current,paginationEl:se.current,scrollbarEl:le.current,swiper:N.current},ve),m&&!N.current.destroyed&&m(N.current),()=>{N.current&&!N.current.destroyed&&N.current.destroy(!0,!1)}},[]),Iv(()=>{be();const Se=zP(ee,z.current,oe,j.current,ye=>ye.key);return z.current=ee,j.current=oe,Se.length&&N.current&&!N.current.destroyed&&MP({swiper:N.current,slides:oe,passedParams:ee,changedParams:Se,nextEl:q.current,prevEl:$.current,scrollbarEl:le.current,paginationEl:se.current}),()=>{$e()}}),Iv(()=>{AP(N.current)},[R]);function ue(){return ve.virtual?jP(N.current,oe,R):oe.map((Se,ye)=>Ie.cloneElement(Se,{swiper:N.current,swiperSlideIndex:ye}))}return Ie.createElement(c,ry({ref:P,className:uR(`${T}${o?` ${o}`:""}`)},J),Ie.createElement(UP.Provider,{value:N.current},we["container-start"],Ie.createElement(p,{className:_P(ve.wrapperClass)},we["wrapper-start"],ue(),we["wrapper-end"]),iR(ve)&&Ie.createElement(Ie.Fragment,null,Ie.createElement("div",{ref:$,className:"swiper-button-prev"}),Ie.createElement("div",{ref:q,className:"swiper-button-next"})),oR(ve)&&Ie.createElement("div",{ref:le,className:"swiper-scrollbar"}),lR(ve)&&Ie.createElement("div",{ref:se,className:"swiper-pagination"}),we["container-end"]))});fR.displayName="Swiper";const dR=Ie.forwardRef(function(i,l){let{tag:o="div",children:c,className:p="",swiper:h,zoom:m,lazy:w,virtualIndex:b,swiperSlideIndex:T,...O}=i===void 0?{}:i;const R=Ie.useRef(null),[D,L]=Ie.useState("swiper-slide"),[M,U]=Ie.useState(!1);function P(q,$,se){$===R.current&&L(se)}Iv(()=>{if(typeof T<"u"&&(R.current.swiperSlideIndex=T),l&&(l.current=R.current),!(!R.current||!h)){if(h.destroyed){D!=="swiper-slide"&&L("swiper-slide");return}return h.on("_slideClass",P),()=>{h&&h.off("_slideClass",P)}}}),Iv(()=>{h&&R.current&&!h.destroyed&&L(h.getSlideClasses(R.current))},[h]);const N={isActive:D.indexOf("swiper-slide-active")>=0,isVisible:D.indexOf("swiper-slide-visible")>=0,isPrev:D.indexOf("swiper-slide-prev")>=0,isNext:D.indexOf("swiper-slide-next")>=0},z=()=>typeof c=="function"?c(N):c,j=()=>{U(!0)};return Ie.createElement(o,ry({ref:R,className:uR(`${D}${p?` ${p}`:""}`),"data-swiper-slide-index":b,onLoad:j},O),m&&Ie.createElement(i1.Provider,{value:N},Ie.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof m=="number"?m:void 0},z(),w&&!M&&Ie.createElement("div",{className:"swiper-lazy-preloader"}))),!m&&Ie.createElement(i1.Provider,{value:N},z(),w&&!M&&Ie.createElement("div",{className:"swiper-lazy-preloader"})))});dR.displayName="SwiperSlide";const FP="sliderTestId",IP=({spaceBetween:i,slidesPerView:l,block:o,breakpoints:c,modules:p,children:h})=>ge.jsx(fR,{className:ar(o,"slider"),"data-testid":FP,modules:p,spaceBetween:i,slidesPerView:l,breakpoints:c,children:h}),HP=Object.assign(IP,{Slide:dR}),BP=Object.freeze({LEFT:"left",RIGHT:"right"}),VP="sliderNavigateTestId",$P="navigateButtonTestId",WP={left:ge.jsx(Dl.ArrowNarrowLeft,{}),right:ge.jsx(Dl.ArrowNarrowRight,{})},GP=({placement:i})=>ge.jsx("button",{"data-testid":$P,type:"button",className:"slider-navigate__button",children:WP[i]}),YP=()=>ge.jsx("div",{"data-testid":VP,className:"slider-navigate",children:Object.values(BP).map(i=>ge.jsx(GP,{placement:i},i))}),qP=({block:i,isOpen:l,textContent:o,title:c,onClick:p})=>ge.jsxs(ic.Layout,{isOpen:l,block:i,children:[ge.jsx(ic.Block,{title:c,onClick:p}),ge.jsx(ic.Content,{isOpen:l,children:o})]}),QP=({isOpen:i,children:l})=>{const{style:o,contentRef:c}=d1(i);return ge.jsx("div",{style:o,className:"accordion__content",children:ge.jsx("p",{className:"accordion__text",ref:c,children:l})})},XP=()=>ge.jsx(Dl.ArrowNarrowDown,{className:"accordion__arrow"}),KP=({title:i})=>ge.jsx("h3",{className:"accordion__title",children:i}),ZP=({onClick:i,title:l})=>ge.jsxs(ic.Button,{onClick:i,children:[ge.jsx(ic.Title,{title:l}),ge.jsx(ic.Arrow,{})]}),JP="accordionTestId",e3=({block:i,isOpen:l,children:o})=>ge.jsx("div",{"data-testid":JP,className:ar(i,"accordion",{_active:l}),children:o}),t3=({onClick:i,children:l})=>ge.jsx("button",{onClick:i,type:"button",className:"accordion__button",children:l}),ic=Object.assign(qP,{Content:QP,Arrow:XP,Title:KP,Block:ZP,Layout:e3,Button:t3});exports.Accordion=ic;exports.Button=hb;exports.ButtonWithIcon=p1;exports.Category=nL;exports.Checkbox=Bg;exports.Dropdown=Av;exports.FavButton=_L;exports.Field=Yw;exports.FilterAccordion=sd;exports.FilterButton=YL;exports.Gallery=IN;exports.Input=x1;exports.LinkWithIcon=oz;exports.NavLink=uz;exports.Pagination=Fv;exports.RangeSlider=Jz;exports.RouterLink=B1;exports.Select=rc;exports.Slider=HP;exports.SliderNavigate=YP;
191
+ You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}La.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_w,La.createPortal=WM,La.createRoot=YM,La.findDOMNode=IM,La.flushSync=QM,La.hydrate=HM,La.hydrateRoot=qM,La.render=BM,La.unmountComponentAtNode=$M,La.unstable_batchedUpdates=lw,La.unstable_renderSubtreeIntoContainer=GM,La.version=Tw,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),La}var qx;function Iz(){if(qx)return Ug.exports;qx=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(l){console.error(l)}}}return process.env.NODE_ENV==="production"?(i(),Ug.exports=Uz()):Ug.exports=Fz(),Ug.exports}var Hz=Iz();function sb(i,l,o){return(i-l)/(o-l)}function xb(i,l,o,c){var p=sb(l,o,c),h={};switch(i){case"rtl":h.right="".concat(p*100,"%"),h.transform="translateX(50%)";break;case"btt":h.bottom="".concat(p*100,"%"),h.transform="translateY(50%)";break;case"ttb":h.top="".concat(p*100,"%"),h.transform="translateY(-50%)";break;default:h.left="".concat(p*100,"%"),h.transform="translateX(-50%)";break}return h}function nc(i,l){return Array.isArray(i)?i[l]:i}var cr={BACKSPACE:8,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},cc=V.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),Bz=V.createContext({}),Vz=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],cb=V.forwardRef(function(i,l){var o=i.prefixCls,c=i.value,p=i.valueIndex,h=i.onStartMove,m=i.onDelete,w=i.style,b=i.render,T=i.dragging,O=i.draggingDelete,R=i.onOffsetChange,D=i.onChangeComplete,L=i.onFocus,M=i.onMouseEnter,U=Y1(i,Vz),P=V.useContext(cc),N=P.min,z=P.max,j=P.direction,q=P.disabled,$=P.keyboard,se=P.range,le=P.tabIndex,ve=P.ariaLabelForHandle,ee=P.ariaLabelledByForHandle,J=P.ariaRequired,re=P.ariaValueTextFormatterForHandle,oe=P.styles,we=P.classNames,Qe="".concat(o,"-handle"),Ge=function(bt){q||h(bt,p)},be=function(bt){L==null||L(bt,p)},$e=function(bt){M(bt,p)},ue=function(bt){if(!q&&$){var nt=null;switch(bt.which||bt.keyCode){case cr.LEFT:nt=j==="ltr"||j==="btt"?-1:1;break;case cr.RIGHT:nt=j==="ltr"||j==="btt"?1:-1;break;case cr.UP:nt=j!=="ttb"?1:-1;break;case cr.DOWN:nt=j!=="ttb"?-1:1;break;case cr.HOME:nt="min";break;case cr.END:nt="max";break;case cr.PAGE_UP:nt=2;break;case cr.PAGE_DOWN:nt=-2;break;case cr.BACKSPACE:case cr.DELETE:m(p);break}nt!==null&&(bt.preventDefault(),R(nt,p))}},Se=function(bt){switch(bt.which||bt.keyCode){case cr.LEFT:case cr.RIGHT:case cr.UP:case cr.DOWN:case cr.HOME:case cr.END:case cr.PAGE_UP:case cr.PAGE_DOWN:D==null||D();break}},ye=xb(j,c,N,z),tt={};if(p!==null){var it;tt={tabIndex:q?null:nc(le,p),role:"slider","aria-valuemin":N,"aria-valuemax":z,"aria-valuenow":c,"aria-disabled":q,"aria-label":nc(ve,p),"aria-labelledby":nc(ee,p),"aria-required":nc(J,p),"aria-valuetext":(it=nc(re,p))===null||it===void 0?void 0:it(c),"aria-orientation":j==="ltr"||j==="rtl"?"horizontal":"vertical",onMouseDown:Ge,onTouchStart:Ge,onFocus:be,onMouseEnter:$e,onKeyDown:ue,onKeyUp:Se}}var Rn=V.createElement("div",Hv({ref:l,className:lc(Qe,hi(hi(hi({},"".concat(Qe,"-").concat(p+1),p!==null&&se),"".concat(Qe,"-dragging"),T),"".concat(Qe,"-dragging-delete"),O),we.handle),style:Kr(Kr(Kr({},ye),w),oe.handle)},tt,U));return b&&(Rn=b(Rn,{index:p,prefixCls:o,value:c,dragging:T,draggingDelete:O})),Rn});process.env.NODE_ENV!=="production"&&(cb.displayName="Handle");var $z=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],Q1=V.forwardRef(function(i,l){var o=i.prefixCls,c=i.style,p=i.onStartMove,h=i.onOffsetChange,m=i.values,w=i.handleRender,b=i.activeHandleRender,T=i.draggingIndex,O=i.draggingDelete,R=i.onFocus,D=Y1(i,$z),L=V.useRef({}),M=V.useState(!1),U=Dr(M,2),P=U[0],N=U[1],z=V.useState(-1),j=Dr(z,2),q=j[0],$=j[1],se=function(re){$(re),N(!0)},le=function(re,oe){se(oe),R==null||R(re)},ve=function(re,oe){se(oe)};V.useImperativeHandle(l,function(){return{focus:function(re){var oe;(oe=L.current[re])===null||oe===void 0||oe.focus()},hideHelp:function(){Hz.flushSync(function(){N(!1)})}}});var ee=Kr({prefixCls:o,onStartMove:p,onOffsetChange:h,render:w,onFocus:le,onMouseEnter:ve},D);return V.createElement(V.Fragment,null,m.map(function(J,re){var oe=T===re;return V.createElement(cb,Hv({ref:function(Qe){Qe?L.current[re]=Qe:delete L.current[re]},dragging:oe,draggingDelete:oe&&O,style:nc(c,re),key:re,value:J,valueIndex:re},ee))}),b&&P&&V.createElement(cb,Hv({key:"a11y"},ee,{value:m[q],valueIndex:null,dragging:T!==-1,draggingDelete:O,render:b,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))});process.env.NODE_ENV!=="production"&&(Q1.displayName="Handles");var Wz=function(l){var o=l.prefixCls,c=l.style,p=l.children,h=l.value,m=l.onClick,w=V.useContext(cc),b=w.min,T=w.max,O=w.direction,R=w.includedStart,D=w.includedEnd,L=w.included,M="".concat(o,"-text"),U=xb(O,h,b,T);return V.createElement("span",{className:lc(M,hi({},"".concat(M,"-active"),L&&R<=h&&h<=D)),style:Kr(Kr({},U),c),onMouseDown:function(N){N.stopPropagation()},onClick:function(){m(h)}},p)},Gz=function(l){var o=l.prefixCls,c=l.marks,p=l.onClick,h="".concat(o,"-mark");return c.length?V.createElement("div",{className:h},c.map(function(m){var w=m.value,b=m.style,T=m.label;return V.createElement(Wz,{key:w,prefixCls:h,style:b,value:w,onClick:p},T)})):null},Yz=function(l){var o=l.prefixCls,c=l.value,p=l.style,h=l.activeStyle,m=V.useContext(cc),w=m.min,b=m.max,T=m.direction,O=m.included,R=m.includedStart,D=m.includedEnd,L="".concat(o,"-dot"),M=O&&R<=c&&c<=D,U=Kr(Kr({},xb(T,c,w,b)),typeof p=="function"?p(c):p);return M&&(U=Kr(Kr({},U),typeof h=="function"?h(c):h)),V.createElement("span",{className:lc(L,hi({},"".concat(L,"-active"),M)),style:U})},qz=function(l){var o=l.prefixCls,c=l.marks,p=l.dots,h=l.style,m=l.activeStyle,w=V.useContext(cc),b=w.min,T=w.max,O=w.step,R=V.useMemo(function(){var D=new Set;if(c.forEach(function(M){D.add(M.value)}),p&&O!==null)for(var L=b;L<=T;)D.add(L),L+=O;return Array.from(D)},[b,T,O,p,c]);return V.createElement("div",{className:"".concat(o,"-step")},R.map(function(D){return V.createElement(Yz,{prefixCls:o,key:D,value:D,style:h,activeStyle:m})}))},Qx=function(l){var o=l.prefixCls,c=l.style,p=l.start,h=l.end,m=l.index,w=l.onStartMove,b=l.replaceCls,T=V.useContext(cc),O=T.direction,R=T.min,D=T.max,L=T.disabled,M=T.range,U=T.classNames,P="".concat(o,"-track"),N=sb(p,R,D),z=sb(h,R,D),j=function(le){!L&&w&&w(le,-1)},q={};switch(O){case"rtl":q.right="".concat(N*100,"%"),q.width="".concat(z*100-N*100,"%");break;case"btt":q.bottom="".concat(N*100,"%"),q.height="".concat(z*100-N*100,"%");break;case"ttb":q.top="".concat(N*100,"%"),q.height="".concat(z*100-N*100,"%");break;default:q.left="".concat(N*100,"%"),q.width="".concat(z*100-N*100,"%")}var $=b||lc(P,hi(hi({},"".concat(P,"-").concat(m+1),m!==null&&M),"".concat(o,"-track-draggable"),w),U.track);return V.createElement("div",{className:$,style:Kr(Kr({},q),c),onMouseDown:j,onTouchStart:j})},Qz=function(l){var o=l.prefixCls,c=l.style,p=l.values,h=l.startPoint,m=l.onStartMove,w=V.useContext(cc),b=w.included,T=w.range,O=w.min,R=w.styles,D=w.classNames,L=V.useMemo(function(){if(!T){if(p.length===0)return[];var U=h??O,P=p[0];return[{start:Math.min(U,P),end:Math.max(U,P)}]}for(var N=[],z=0;z<p.length-1;z+=1)N.push({start:p[z],end:p[z+1]});return N},[p,T,h,O]);if(!b)return null;var M=L!=null&&L.length&&(D.tracks||R.tracks)?V.createElement(Qx,{index:null,prefixCls:o,start:L[0].start,end:L[L.length-1].end,replaceCls:lc(D.tracks,"".concat(o,"-tracks")),style:R.tracks}):null;return V.createElement(V.Fragment,null,M,L.map(function(U,P){var N=U.start,z=U.end;return V.createElement(Qx,{index:P,prefixCls:o,style:Kr(Kr({},nc(c,P)),R.track),start:N,end:z,key:P,onStartMove:m})}))},Xz=130;function Xx(i){var l="targetTouches"in i?i.targetTouches[0]:i;return{pageX:l.pageX,pageY:l.pageY}}function Kz(i,l,o,c,p,h,m,w,b,T,O){var R=V.useState(null),D=Dr(R,2),L=D[0],M=D[1],U=V.useState(-1),P=Dr(U,2),N=P[0],z=P[1],j=V.useState(!1),q=Dr(j,2),$=q[0],se=q[1],le=V.useState(o),ve=Dr(le,2),ee=ve[0],J=ve[1],re=V.useState(o),oe=Dr(re,2),we=oe[0],Qe=oe[1],Ge=V.useRef(null),be=V.useRef(null),$e=V.useRef(null),ue=V.useContext(Bz),Se=ue.onDragStart,ye=ue.onDragChange;$1(function(){N===-1&&J(o)},[o,N]),V.useEffect(function(){return function(){document.removeEventListener("mousemove",Ge.current),document.removeEventListener("mouseup",be.current),$e.current&&($e.current.removeEventListener("touchmove",Ge.current),$e.current.removeEventListener("touchend",be.current))}},[]);var tt=function(nt,pt,zt){pt!==void 0&&M(pt),J(nt);var Bt=nt;zt&&(Bt=nt.filter(function(Dt,Et){return Et!==N})),m(Bt),ye&&ye({rawValues:nt,deleteIndex:zt?N:-1,draggingIndex:N,draggingValue:pt})},it=dd(function(bt,nt,pt){if(bt===-1){var zt=we[0],Bt=we[we.length-1],Dt=c-zt,Et=p-Bt,Kt=nt*(p-c);Kt=Math.max(Kt,Dt),Kt=Math.min(Kt,Et);var an=h(zt+Kt);Kt=an-zt;var Yt=we.map(function(dr){return dr+Kt});tt(Yt)}else{var Zt=(p-c)*nt,hn=_o(ee);hn[bt]=we[bt];var fr=b(hn,Zt,bt,"dist");tt(fr.values,fr.value,pt)}}),Rn=function(nt,pt,zt){nt.stopPropagation();var Bt=zt||o,Dt=Bt[pt];z(pt),M(Dt),Qe(Bt),J(Bt),se(!1);var Et=Xx(nt),Kt=Et.pageX,an=Et.pageY,Yt=!1;Se&&Se({rawValues:Bt,draggingIndex:pt,draggingValue:Dt});var Zt=function(dr){dr.preventDefault();var zn=Xx(dr),Mr=zn.pageX,mn=zn.pageY,On=Mr-Kt,Jt=mn-an,An=i.current.getBoundingClientRect(),ln=An.width,Hn=An.height,ir,lr;switch(l){case"btt":ir=-Jt/Hn,lr=On;break;case"ttb":ir=Jt/Hn,lr=On;break;case"rtl":ir=-On/ln,lr=Jt;break;default:ir=On/ln,lr=Jt}Yt=T?Math.abs(lr)>Xz&&O<ee.length:!1,se(Yt),it(pt,ir,Yt)},hn=function fr(dr){dr.preventDefault(),document.removeEventListener("mouseup",fr),document.removeEventListener("mousemove",Zt),$e.current&&($e.current.removeEventListener("touchmove",Ge.current),$e.current.removeEventListener("touchend",be.current)),Ge.current=null,be.current=null,$e.current=null,w(Yt),z(-1),se(!1)};document.addEventListener("mouseup",hn),document.addEventListener("mousemove",Zt),nt.currentTarget.addEventListener("touchend",hn),nt.currentTarget.addEventListener("touchmove",Zt),Ge.current=Zt,be.current=hn,$e.current=nt.currentTarget},Ht=V.useMemo(function(){var bt=_o(o).sort(function(Dt,Et){return Dt-Et}),nt=_o(ee).sort(function(Dt,Et){return Dt-Et}),pt={};nt.forEach(function(Dt){pt[Dt]=(pt[Dt]||0)+1}),bt.forEach(function(Dt){pt[Dt]=(pt[Dt]||0)-1});var zt=T?1:0,Bt=Object.values(pt).reduce(function(Dt,Et){return Dt+Math.abs(Et)},0);return Bt<=zt?ee:o},[o,ee,T]);return[N,L,$,Ht,Rn]}function Zz(i,l,o,c,p,h){var m=V.useCallback(function(L){return Math.max(i,Math.min(l,L))},[i,l]),w=V.useCallback(function(L){if(o!==null){var M=i+Math.round((m(L)-i)/o)*o,U=function(j){return(String(j).split(".")[1]||"").length},P=Math.max(U(o),U(l),U(i)),N=Number(M.toFixed(P));return i<=N&&N<=l?N:null}return null},[o,i,l,m]),b=V.useCallback(function(L){var M=m(L),U=c.map(function(z){return z.value});o!==null&&U.push(w(L)),U.push(i,l);var P=U[0],N=l-i;return U.forEach(function(z){var j=Math.abs(M-z);j<=N&&(P=z,N=j)}),P},[i,l,c,o,m,w]),T=function L(M,U,P){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof U=="number"){var z,j=M[P],q=j+U,$=[];c.forEach(function(J){$.push(J.value)}),$.push(i,l),$.push(w(j));var se=U>0?1:-1;N==="unit"?$.push(w(j+se*o)):$.push(w(q)),$=$.filter(function(J){return J!==null}).filter(function(J){return U<0?J<=j:J>=j}),N==="unit"&&($=$.filter(function(J){return J!==j}));var le=N==="unit"?j:q;z=$[0];var ve=Math.abs(z-le);if($.forEach(function(J){var re=Math.abs(J-le);re<ve&&(z=J,ve=re)}),z===void 0)return U<0?i:l;if(N==="dist")return z;if(Math.abs(U)>1){var ee=_o(M);return ee[P]=z,L(ee,U-se,P,N)}return z}else{if(U==="min")return i;if(U==="max")return l}},O=function(M,U,P){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",z=M[P],j=T(M,U,P,N);return{value:j,changed:j!==z}},R=function(M){return h===null&&M===0||typeof h=="number"&&M<h},D=function(M,U,P){var N=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",z=M.map(b),j=z[P],q=T(z,U,P,N);if(z[P]=q,p===!1){var $=h||0;P>0&&z[P-1]!==j&&(z[P]=Math.max(z[P],z[P-1]+$)),P<z.length-1&&z[P+1]!==j&&(z[P]=Math.min(z[P],z[P+1]-$))}else if(typeof h=="number"||h===null){for(var se=P+1;se<z.length;se+=1)for(var le=!0;R(z[se]-z[se-1])&&le;){var ve=O(z,1,se);z[se]=ve.value,le=ve.changed}for(var ee=P;ee>0;ee-=1)for(var J=!0;R(z[ee]-z[ee-1])&&J;){var re=O(z,-1,ee-1);z[ee-1]=re.value,J=re.changed}for(var oe=z.length-1;oe>0;oe-=1)for(var we=!0;R(z[oe]-z[oe-1])&&we;){var Qe=O(z,-1,oe-1);z[oe-1]=Qe.value,we=Qe.changed}for(var Ge=0;Ge<z.length-1;Ge+=1)for(var be=!0;R(z[Ge+1]-z[Ge])&&be;){var $e=O(z,1,Ge+1);z[Ge+1]=$e.value,be=$e.changed}}return{value:z[P],values:z}};return[b,D]}function Jz(i){return Ie.useMemo(function(){if(i===!0||!i)return[!!i,!1,!1,0];var l=i.editable,o=i.draggableTrack,c=i.minCount,p=i.maxCount;return process.env.NODE_ENV!=="production"&&W1(!l||!o,"`editable` can not work with `draggableTrack`."),[!0,l,!l&&o,c||0,p]},[i])}var X1=V.forwardRef(function(i,l){var o=i.prefixCls,c=o===void 0?"rc-slider":o,p=i.className,h=i.style,m=i.classNames,w=i.styles,b=i.id,T=i.disabled,O=T===void 0?!1:T,R=i.keyboard,D=R===void 0?!0:R,L=i.autoFocus,M=i.onFocus,U=i.onBlur,P=i.min,N=P===void 0?0:P,z=i.max,j=z===void 0?100:z,q=i.step,$=q===void 0?1:q,se=i.value,le=i.defaultValue,ve=i.range,ee=i.count,J=i.onChange,re=i.onBeforeChange,oe=i.onAfterChange,we=i.onChangeComplete,Qe=i.allowCross,Ge=Qe===void 0?!0:Qe,be=i.pushable,$e=be===void 0?!1:be,ue=i.reverse,Se=i.vertical,ye=i.included,tt=ye===void 0?!0:ye,it=i.startPoint,Rn=i.trackStyle,Ht=i.handleStyle,bt=i.railStyle,nt=i.dotStyle,pt=i.activeDotStyle,zt=i.marks,Bt=i.dots,Dt=i.handleRender,Et=i.activeHandleRender,Kt=i.track,an=i.tabIndex,Yt=an===void 0?0:an,Zt=i.ariaLabelForHandle,hn=i.ariaLabelledByForHandle,fr=i.ariaRequired,dr=i.ariaValueTextFormatterForHandle,zn=V.useRef(null),Mr=V.useRef(null),mn=V.useMemo(function(){return Se?ue?"ttb":"btt":ue?"rtl":"ltr"},[ue,Se]),On=Jz(ve),Jt=Dr(On,5),An=Jt[0],ln=Jt[1],Hn=Jt[2],ir=Jt[3],lr=Jt[4],Pn=V.useMemo(function(){return isFinite(N)?N:0},[N]),Ee=V.useMemo(function(){return isFinite(j)?j:100},[j]),Ue=V.useMemo(function(){return $!==null&&$<=0?1:$},[$]),ot=V.useMemo(function(){return typeof $e=="boolean"?$e?Ue:!1:$e>=0?$e:!1},[$e,Ue]),ht=V.useMemo(function(){return Object.keys(zt||{}).map(function(Tt){var Ce=zt[Tt],Ne={value:Number(Tt)};return Ce&&Mu(Ce)==="object"&&!V.isValidElement(Ce)&&("label"in Ce||"style"in Ce)?(Ne.style=Ce.style,Ne.label=Ce.label):Ne.label=Ce,Ne}).filter(function(Tt){var Ce=Tt.label;return Ce||typeof Ce=="number"}).sort(function(Tt,Ce){return Tt.value-Ce.value})},[zt]),Vt=Zz(Pn,Ee,Ue,ht,Ge,ot),Bn=Dr(Vt,2),jt=Bn[0],Vn=Bn[1],en=Dz(le,{value:se}),Ut=Dr(en,2),_t=Ut[0],Gi=Ut[1],$t=V.useMemo(function(){var Tt=_t==null?[]:Array.isArray(_t)?_t:[_t],Ce=Dr(Tt,1),Ne=Ce[0],Ct=Ne===void 0?Pn:Ne,tn=_t===null?[]:[Ct];if(An){if(tn=_o(Tt),ee||_t===void 0){var Lr=ee>=0?ee+1:2;for(tn=tn.slice(0,Lr);tn.length<Lr;){var pa;tn.push((pa=tn[tn.length-1])!==null&&pa!==void 0?pa:Pn)}}tn.sort(function(Jr,vr){return Jr-vr})}return tn.forEach(function(Jr,vr){tn[vr]=jt(Jr)}),tn},[_t,An,Pn,ee,jt]),Na=function(Ce){return An?Ce:Ce[0]},_l=dd(function(Tt){var Ce=_o(Tt).sort(function(Ne,Ct){return Ne-Ct});J&&!zz(Ce,$t,!0)&&J(Na(Ce)),Gi(Ce)}),Lu=dd(function(Tt){Tt&&zn.current.hideHelp();var Ce=Na($t);oe==null||oe(Ce),ac(!oe,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),we==null||we(Ce)}),Nu=function(Ce){if(!(O||!ln||$t.length<=ir)){var Ne=_o($t);Ne.splice(Ce,1),re==null||re(Na(Ne)),_l(Ne);var Ct=Math.max(0,Ce-1);zn.current.hideHelp(),zn.current.focus(Ct)}},zu=Kz(Mr,mn,$t,Pn,Ee,jt,_l,Lu,Vn,ln,ir),mi=Dr(zu,5),Po=mi[0],gi=mi[1],Ga=mi[2],pr=mi[3],yi=mi[4],Ya=function(Ce,Ne){if(!O){var Ct=_o($t),tn=0,Lr=0,pa=Ee-Pn;$t.forEach(function(on,Uo){var pc=Math.abs(Ce-on);pc<=pa&&(pa=pc,tn=Uo),on<Ce&&(Lr=Uo)});var Jr=tn;ln&&pa!==0&&(!lr||$t.length<lr)?(Ct.splice(Lr+1,0,Ce),Jr=Lr+1):Ct[tn]=Ce,An&&!$t.length&&ee===void 0&&Ct.push(Ce);var vr=Na(Ct);if(re==null||re(vr),_l(Ct),Ne){var Dn,Si;(Dn=document.activeElement)===null||Dn===void 0||(Si=Dn.blur)===null||Si===void 0||Si.call(Dn),zn.current.focus(Jr),yi(Ne,Jr,Ct)}else oe==null||oe(vr),ac(!oe,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),we==null||we(vr)}},Yi=function(Ce){Ce.preventDefault();var Ne=Mr.current.getBoundingClientRect(),Ct=Ne.width,tn=Ne.height,Lr=Ne.left,pa=Ne.top,Jr=Ne.bottom,vr=Ne.right,Dn=Ce.clientX,Si=Ce.clientY,on;switch(mn){case"btt":on=(Jr-Si)/tn;break;case"ttb":on=(Si-pa)/tn;break;case"rtl":on=(vr-Dn)/Ct;break;default:on=(Dn-Lr)/Ct}var Uo=Pn+on*(Ee-Pn);Ya(jt(Uo),Ce)},qi=V.useState(null),Qi=Dr(qi,2),qa=Qi[0],Ml=Qi[1],jo=function(Ce,Ne){if(!O){var Ct=Vn($t,Ce,Ne);re==null||re(Na($t)),_l(Ct.values),Ml(Ct.value)}};V.useEffect(function(){if(qa!==null){var Tt=$t.indexOf(qa);Tt>=0&&zn.current.focus(Tt)}Ml(null)},[qa]);var Zr=V.useMemo(function(){return Hn&&Ue===null?(process.env.NODE_ENV!=="production"&&ac(!1,"`draggableTrack` is not supported when `step` is `null`."),!1):Hn},[Hn,Ue]),kn=dd(function(Tt,Ce){yi(Tt,Ce),re==null||re(Na($t))}),Au=Po!==-1;V.useEffect(function(){if(!Au){var Tt=$t.lastIndexOf(gi);zn.current.focus(Tt)}},[Au]);var Ll=V.useMemo(function(){return _o(pr).sort(function(Tt,Ce){return Tt-Ce})},[pr]),Pu=V.useMemo(function(){return An?[Ll[0],Ll[Ll.length-1]]:[Pn,Ll[0]]},[Ll,An,Pn]),ju=Dr(Pu,2),Uu=ju[0],Fu=ju[1];V.useImperativeHandle(l,function(){return{focus:function(){zn.current.focus(0)},blur:function(){var Ce,Ne=document,Ct=Ne.activeElement;(Ce=Mr.current)!==null&&Ce!==void 0&&Ce.contains(Ct)&&(Ct==null||Ct.blur())}}}),V.useEffect(function(){L&&zn.current.focus(0)},[]);var dc=V.useMemo(function(){return{min:Pn,max:Ee,direction:mn,disabled:O,keyboard:D,step:Ue,included:tt,includedStart:Uu,includedEnd:Fu,range:An,tabIndex:Yt,ariaLabelForHandle:Zt,ariaLabelledByForHandle:hn,ariaRequired:fr,ariaValueTextFormatterForHandle:dr,styles:w||{},classNames:m||{}}},[Pn,Ee,mn,O,D,Ue,tt,Uu,Fu,An,Yt,Zt,hn,fr,dr,w,m]);return V.createElement(cc.Provider,{value:dc},V.createElement("div",{ref:Mr,className:lc(c,p,hi(hi(hi(hi({},"".concat(c,"-disabled"),O),"".concat(c,"-vertical"),Se),"".concat(c,"-horizontal"),!Se),"".concat(c,"-with-marks"),ht.length)),style:h,onMouseDown:Yi,id:b},V.createElement("div",{className:lc("".concat(c,"-rail"),m==null?void 0:m.rail),style:Kr(Kr({},bt),w==null?void 0:w.rail)}),Kt!==!1&&V.createElement(Qz,{prefixCls:c,style:Rn,values:$t,startPoint:it,onStartMove:Zr?kn:void 0}),V.createElement(qz,{prefixCls:c,marks:ht,dots:Bt,style:nt,activeStyle:pt}),V.createElement(Q1,{ref:zn,prefixCls:c,style:Ht,values:pr,draggingIndex:Po,draggingDelete:Ga,onStartMove:kn,onOffsetChange:jo,onFocus:M,onBlur:U,handleRender:Dt,activeHandleRender:Et,onChangeComplete:Lu,onDelete:ln?Nu:void 0}),V.createElement(Gz,{prefixCls:c,marks:ht,onClick:Ya})))});process.env.NODE_ENV!=="production"&&(X1.displayName="Slider");const eA=({block:i,...l})=>ge.jsx(X1,{className:ar(i,"range-slider"),...l,range:!0}),tA=(i,l,o)=>{if(!o||!l.trim())return i;const c=i.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return c.length>0?c:null},nA=({options:i,onClick:l,handleSelect:o,onClickToOptions:c,isOpen:p,value:h,onChange:m,block:w,id:b="select",name:T="select",disabled:O,hasSearch:R=!1,...D})=>{const L=Ie.useMemo(()=>tA(i,h,R),[i,h,R]),M=U=>{m(U),o(R)};return ge.jsxs(rc.Wrapper,{onClickOutside:o,isOpen:p,block:w,disabled:O,children:[ge.jsxs(rc.Block,{onClick:l,block:"select",children:[ge.jsx(rc.Input,{disabled:O,id:b,name:T,value:h,onChange:M,hasSearch:R,...D}),ge.jsx(rc.Arrow,{})]}),ge.jsx(rc.List,{options:L,onClick:c,value:h})]})},rA=({options:i,onClick:l,value:o})=>i?ge.jsx("ul",{className:"select__options",children:i.map(c=>{const p=c===o,h=()=>{l(c)};return ge.jsx(rc.Option,{isSelected:p,onOptionClick:h,option:c},c)})}):ge.jsx("ul",{className:"select__options",children:ge.jsx("li",{className:"select__option select__option_empty",children:"Nothing found"})}),aA=({isSelected:i,option:l,onOptionClick:o})=>ge.jsx("li",{className:ar("","select__option",{_selected:i}),onClick:o,children:l}),iA=({onChange:i,hasSearch:l,...o})=>ge.jsx(x1,{isReadOnly:!l,isTransparent:!0,onChange:i,...o}),lA=()=>ge.jsx(Dl.ArrowNarrowDown,{className:"select__arrow"}),oA=({children:i,onClick:l})=>ge.jsx("div",{onClick:l,className:"select__block",children:i}),uA="selectTestId",sA=c1(oA,"select"),cA=({children:i,isOpen:l,onClickOutside:o,block:c,disabled:p=!1})=>{const h=s1(o);return ge.jsx("div",{ref:h,"data-testid":uA,className:ar(c,"select",{_open:l,disabled:p}),children:i})},rc=Object.assign(nA,{List:rA,Option:aA,Input:iA,Arrow:lA,Wrapper:cA,Block:sA});function Kx(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function Rb(i,l){i===void 0&&(i={}),l===void 0&&(l={});const o=["__proto__","constructor","prototype"];Object.keys(l).filter(c=>o.indexOf(c)<0).forEach(c=>{typeof i[c]>"u"?i[c]=l[c]:Kx(l[c])&&Kx(i[c])&&Object.keys(l[c]).length>0&&Rb(i[c],l[c])})}const K1={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function fc(){const i=typeof document<"u"?document:{};return Rb(i,K1),i}const fA={document:K1,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function da(){const i=typeof window<"u"?window:{};return Rb(i,fA),i}function dA(i){return i===void 0&&(i=""),i.trim().split(" ").filter(l=>!!l.trim())}function pA(i){const l=i;Object.keys(l).forEach(o=>{try{l[o]=null}catch{}try{delete l[o]}catch{}})}function fb(i,l){return l===void 0&&(l=0),setTimeout(i,l)}function ty(){return Date.now()}function vA(i){const l=da();let o;return l.getComputedStyle&&(o=l.getComputedStyle(i,null)),!o&&i.currentStyle&&(o=i.currentStyle),o||(o=i.style),o}function hA(i,l){l===void 0&&(l="x");const o=da();let c,p,h;const m=vA(i);return o.WebKitCSSMatrix?(p=m.transform||m.webkitTransform,p.split(",").length>6&&(p=p.split(", ").map(w=>w.replace(",",".")).join(", ")),h=new o.WebKitCSSMatrix(p==="none"?"":p)):(h=m.MozTransform||m.OTransform||m.MsTransform||m.msTransform||m.transform||m.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),c=h.toString().split(",")),l==="x"&&(o.WebKitCSSMatrix?p=h.m41:c.length===16?p=parseFloat(c[12]):p=parseFloat(c[4])),l==="y"&&(o.WebKitCSSMatrix?p=h.m42:c.length===16?p=parseFloat(c[13]):p=parseFloat(c[5])),p||0}function Ig(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function mA(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function Wa(){const i=Object(arguments.length<=0?void 0:arguments[0]),l=["__proto__","constructor","prototype"];for(let o=1;o<arguments.length;o+=1){const c=o<0||arguments.length<=o?void 0:arguments[o];if(c!=null&&!mA(c)){const p=Object.keys(Object(c)).filter(h=>l.indexOf(h)<0);for(let h=0,m=p.length;h<m;h+=1){const w=p[h],b=Object.getOwnPropertyDescriptor(c,w);b!==void 0&&b.enumerable&&(Ig(i[w])&&Ig(c[w])?c[w].__swiper__?i[w]=c[w]:Wa(i[w],c[w]):!Ig(i[w])&&Ig(c[w])?(i[w]={},c[w].__swiper__?i[w]=c[w]:Wa(i[w],c[w])):i[w]=c[w])}}}return i}function Hg(i,l,o){i.style.setProperty(l,o)}function Z1(i){let{swiper:l,targetPosition:o,side:c}=i;const p=da(),h=-l.translate;let m=null,w;const b=l.params.speed;l.wrapperEl.style.scrollSnapType="none",p.cancelAnimationFrame(l.cssModeFrameID);const T=o>h?"next":"prev",O=(D,L)=>T==="next"&&D>=L||T==="prev"&&D<=L,R=()=>{w=new Date().getTime(),m===null&&(m=w);const D=Math.max(Math.min((w-m)/b,1),0),L=.5-Math.cos(D*Math.PI)/2;let M=h+L*(o-h);if(O(M,o)&&(M=o),l.wrapperEl.scrollTo({[c]:M}),O(M,o)){l.wrapperEl.style.overflow="hidden",l.wrapperEl.style.scrollSnapType="",setTimeout(()=>{l.wrapperEl.style.overflow="",l.wrapperEl.scrollTo({[c]:M})}),p.cancelAnimationFrame(l.cssModeFrameID);return}l.cssModeFrameID=p.requestAnimationFrame(R)};R()}function Mo(i,l){l===void 0&&(l="");const o=da(),c=[...i.children];return o.HTMLSlotElement&&i instanceof HTMLSlotElement&&c.push(...i.assignedElements()),l?c.filter(p=>p.matches(l)):c}function gA(i,l){const o=[l];for(;o.length>0;){const c=o.shift();if(i===c)return!0;o.push(...c.children,...c.shadowRoot?c.shadowRoot.children:[],...c.assignedElements?c.assignedElements():[])}}function yA(i,l){const o=da();let c=l.contains(i);return!c&&o.HTMLSlotElement&&l instanceof HTMLSlotElement&&(c=[...l.assignedElements()].includes(i),c||(c=gA(i,l))),c}function ny(i){try{console.warn(i);return}catch{}}function db(i,l){l===void 0&&(l=[]);const o=document.createElement(i);return o.classList.add(...Array.isArray(l)?l:dA(l)),o}function SA(i,l){const o=[];for(;i.previousElementSibling;){const c=i.previousElementSibling;l?c.matches(l)&&o.push(c):o.push(c),i=c}return o}function wA(i,l){const o=[];for(;i.nextElementSibling;){const c=i.nextElementSibling;l?c.matches(l)&&o.push(c):o.push(c),i=c}return o}function Du(i,l){return da().getComputedStyle(i,null).getPropertyValue(l)}function Zx(i){let l=i,o;if(l){for(o=0;(l=l.previousSibling)!==null;)l.nodeType===1&&(o+=1);return o}}function bA(i,l){const o=[];let c=i.parentElement;for(;c;)o.push(c),c=c.parentElement;return o}function Jx(i,l,o){const c=da();return i[l==="width"?"offsetWidth":"offsetHeight"]+parseFloat(c.getComputedStyle(i,null).getPropertyValue(l==="width"?"margin-right":"margin-top"))+parseFloat(c.getComputedStyle(i,null).getPropertyValue(l==="width"?"margin-left":"margin-bottom"))}function e1(i,l){l===void 0&&(l=""),typeof trustedTypes<"u"?i.innerHTML=trustedTypes.createPolicy("html",{createHTML:o=>o}).createHTML(l):i.innerHTML=l}let Iw;function EA(){const i=da(),l=fc();return{smoothScroll:l.documentElement&&l.documentElement.style&&"scrollBehavior"in l.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&l instanceof i.DocumentTouch)}}function J1(){return Iw||(Iw=EA()),Iw}let Hw;function TA(i){let{userAgent:l}=i===void 0?{}:i;const o=J1(),c=da(),p=c.navigator.platform,h=l||c.navigator.userAgent,m={ios:!1,android:!1},w=c.screen.width,b=c.screen.height,T=h.match(/(Android);?[\s\/]+([\d.]+)?/);let O=h.match(/(iPad).*OS\s([\d_]+)/);const R=h.match(/(iPod)(.*OS\s([\d_]+))?/),D=!O&&h.match(/(iPhone\sOS|iOS)\s([\d_]+)/),L=p==="Win32";let M=p==="MacIntel";const U=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!O&&M&&o.touch&&U.indexOf(`${w}x${b}`)>=0&&(O=h.match(/(Version)\/([\d.]+)/),O||(O=[0,1,"13_0_0"]),M=!1),T&&!L&&(m.os="android",m.android=!0),(O||D||R)&&(m.os="ios",m.ios=!0),m}function eR(i){return i===void 0&&(i={}),Hw||(Hw=TA(i)),Hw}let Bw;function CA(){const i=da(),l=eR();let o=!1;function c(){const w=i.navigator.userAgent.toLowerCase();return w.indexOf("safari")>=0&&w.indexOf("chrome")<0&&w.indexOf("android")<0}if(c()){const w=String(i.navigator.userAgent);if(w.includes("Version/")){const[b,T]=w.split("Version/")[1].split(" ")[0].split(".").map(O=>Number(O));o=b<16||b===16&&T<2}}const p=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),h=c(),m=h||p&&l.ios;return{isSafari:o||h,needPerspectiveFix:o,need3dFix:m,isWebView:p}}function tR(){return Bw||(Bw=CA()),Bw}function xA(i){let{swiper:l,on:o,emit:c}=i;const p=da();let h=null,m=null;const w=()=>{!l||l.destroyed||!l.initialized||(c("beforeResize"),c("resize"))},b=()=>{!l||l.destroyed||!l.initialized||(h=new ResizeObserver(R=>{m=p.requestAnimationFrame(()=>{const{width:D,height:L}=l;let M=D,U=L;R.forEach(P=>{let{contentBoxSize:N,contentRect:z,target:j}=P;j&&j!==l.el||(M=z?z.width:(N[0]||N).inlineSize,U=z?z.height:(N[0]||N).blockSize)}),(M!==D||U!==L)&&w()})}),h.observe(l.el))},T=()=>{m&&p.cancelAnimationFrame(m),h&&h.unobserve&&l.el&&(h.unobserve(l.el),h=null)},O=()=>{!l||l.destroyed||!l.initialized||c("orientationchange")};o("init",()=>{if(l.params.resizeObserver&&typeof p.ResizeObserver<"u"){b();return}p.addEventListener("resize",w),p.addEventListener("orientationchange",O)}),o("destroy",()=>{T(),p.removeEventListener("resize",w),p.removeEventListener("orientationchange",O)})}function RA(i){let{swiper:l,extendParams:o,on:c,emit:p}=i;const h=[],m=da(),w=function(O,R){R===void 0&&(R={});const D=m.MutationObserver||m.WebkitMutationObserver,L=new D(M=>{if(l.__preventObserver__)return;if(M.length===1){p("observerUpdate",M[0]);return}const U=function(){p("observerUpdate",M[0])};m.requestAnimationFrame?m.requestAnimationFrame(U):m.setTimeout(U,0)});L.observe(O,{attributes:typeof R.attributes>"u"?!0:R.attributes,childList:l.isElement||(typeof R.childList>"u"?!0:R).childList,characterData:typeof R.characterData>"u"?!0:R.characterData}),h.push(L)},b=()=>{if(l.params.observer){if(l.params.observeParents){const O=bA(l.hostEl);for(let R=0;R<O.length;R+=1)w(O[R])}w(l.hostEl,{childList:l.params.observeSlideChildren}),w(l.wrapperEl,{attributes:!1})}},T=()=>{h.forEach(O=>{O.disconnect()}),h.splice(0,h.length)};o({observer:!1,observeParents:!1,observeSlideChildren:!1}),c("init",b),c("destroy",T)}var OA={on(i,l,o){const c=this;if(!c.eventsListeners||c.destroyed||typeof l!="function")return c;const p=o?"unshift":"push";return i.split(" ").forEach(h=>{c.eventsListeners[h]||(c.eventsListeners[h]=[]),c.eventsListeners[h][p](l)}),c},once(i,l,o){const c=this;if(!c.eventsListeners||c.destroyed||typeof l!="function")return c;function p(){c.off(i,p),p.__emitterProxy&&delete p.__emitterProxy;for(var h=arguments.length,m=new Array(h),w=0;w<h;w++)m[w]=arguments[w];l.apply(c,m)}return p.__emitterProxy=l,c.on(i,p,o)},onAny(i,l){const o=this;if(!o.eventsListeners||o.destroyed||typeof i!="function")return o;const c=l?"unshift":"push";return o.eventsAnyListeners.indexOf(i)<0&&o.eventsAnyListeners[c](i),o},offAny(i){const l=this;if(!l.eventsListeners||l.destroyed||!l.eventsAnyListeners)return l;const o=l.eventsAnyListeners.indexOf(i);return o>=0&&l.eventsAnyListeners.splice(o,1),l},off(i,l){const o=this;return!o.eventsListeners||o.destroyed||!o.eventsListeners||i.split(" ").forEach(c=>{typeof l>"u"?o.eventsListeners[c]=[]:o.eventsListeners[c]&&o.eventsListeners[c].forEach((p,h)=>{(p===l||p.__emitterProxy&&p.__emitterProxy===l)&&o.eventsListeners[c].splice(h,1)})}),o},emit(){const i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let l,o,c;for(var p=arguments.length,h=new Array(p),m=0;m<p;m++)h[m]=arguments[m];return typeof h[0]=="string"||Array.isArray(h[0])?(l=h[0],o=h.slice(1,h.length),c=i):(l=h[0].events,o=h[0].data,c=h[0].context||i),o.unshift(c),(Array.isArray(l)?l:l.split(" ")).forEach(b=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(T=>{T.apply(c,[b,...o])}),i.eventsListeners&&i.eventsListeners[b]&&i.eventsListeners[b].forEach(T=>{T.apply(c,o)})}),i}};function kA(){const i=this;let l,o;const c=i.el;typeof i.params.width<"u"&&i.params.width!==null?l=i.params.width:l=c.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?o=i.params.height:o=c.clientHeight,!(l===0&&i.isHorizontal()||o===0&&i.isVertical())&&(l=l-parseInt(Du(c,"padding-left")||0,10)-parseInt(Du(c,"padding-right")||0,10),o=o-parseInt(Du(c,"padding-top")||0,10)-parseInt(Du(c,"padding-bottom")||0,10),Number.isNaN(l)&&(l=0),Number.isNaN(o)&&(o=0),Object.assign(i,{width:l,height:o,size:i.isHorizontal()?l:o}))}function DA(){const i=this;function l(J,re){return parseFloat(J.getPropertyValue(i.getDirectionLabel(re))||0)}const o=i.params,{wrapperEl:c,slidesEl:p,size:h,rtlTranslate:m,wrongRTL:w}=i,b=i.virtual&&o.virtual.enabled,T=b?i.virtual.slides.length:i.slides.length,O=Mo(p,`.${i.params.slideClass}, swiper-slide`),R=b?i.virtual.slides.length:O.length;let D=[];const L=[],M=[];let U=o.slidesOffsetBefore;typeof U=="function"&&(U=o.slidesOffsetBefore.call(i));let P=o.slidesOffsetAfter;typeof P=="function"&&(P=o.slidesOffsetAfter.call(i));const N=i.snapGrid.length,z=i.slidesGrid.length;let j=o.spaceBetween,q=-U,$=0,se=0;if(typeof h>"u")return;typeof j=="string"&&j.indexOf("%")>=0?j=parseFloat(j.replace("%",""))/100*h:typeof j=="string"&&(j=parseFloat(j)),i.virtualSize=-j,O.forEach(J=>{m?J.style.marginLeft="":J.style.marginRight="",J.style.marginBottom="",J.style.marginTop=""}),o.centeredSlides&&o.cssMode&&(Hg(c,"--swiper-centered-offset-before",""),Hg(c,"--swiper-centered-offset-after",""));const le=o.grid&&o.grid.rows>1&&i.grid;le?i.grid.initSlides(O):i.grid&&i.grid.unsetSlides();let ve;const ee=o.slidesPerView==="auto"&&o.breakpoints&&Object.keys(o.breakpoints).filter(J=>typeof o.breakpoints[J].slidesPerView<"u").length>0;for(let J=0;J<R;J+=1){ve=0;let re;if(O[J]&&(re=O[J]),le&&i.grid.updateSlide(J,re,O),!(O[J]&&Du(re,"display")==="none")){if(o.slidesPerView==="auto"){ee&&(O[J].style[i.getDirectionLabel("width")]="");const oe=getComputedStyle(re),we=re.style.transform,Qe=re.style.webkitTransform;if(we&&(re.style.transform="none"),Qe&&(re.style.webkitTransform="none"),o.roundLengths)ve=i.isHorizontal()?Jx(re,"width"):Jx(re,"height");else{const Ge=l(oe,"width"),be=l(oe,"padding-left"),$e=l(oe,"padding-right"),ue=l(oe,"margin-left"),Se=l(oe,"margin-right"),ye=oe.getPropertyValue("box-sizing");if(ye&&ye==="border-box")ve=Ge+ue+Se;else{const{clientWidth:tt,offsetWidth:it}=re;ve=Ge+be+$e+ue+Se+(it-tt)}}we&&(re.style.transform=we),Qe&&(re.style.webkitTransform=Qe),o.roundLengths&&(ve=Math.floor(ve))}else ve=(h-(o.slidesPerView-1)*j)/o.slidesPerView,o.roundLengths&&(ve=Math.floor(ve)),O[J]&&(O[J].style[i.getDirectionLabel("width")]=`${ve}px`);O[J]&&(O[J].swiperSlideSize=ve),M.push(ve),o.centeredSlides?(q=q+ve/2+$/2+j,$===0&&J!==0&&(q=q-h/2-j),J===0&&(q=q-h/2-j),Math.abs(q)<1/1e3&&(q=0),o.roundLengths&&(q=Math.floor(q)),se%o.slidesPerGroup===0&&D.push(q),L.push(q)):(o.roundLengths&&(q=Math.floor(q)),(se-Math.min(i.params.slidesPerGroupSkip,se))%i.params.slidesPerGroup===0&&D.push(q),L.push(q),q=q+ve+j),i.virtualSize+=ve+j,$=ve,se+=1}}if(i.virtualSize=Math.max(i.virtualSize,h)+P,m&&w&&(o.effect==="slide"||o.effect==="coverflow")&&(c.style.width=`${i.virtualSize+j}px`),o.setWrapperSize&&(c.style[i.getDirectionLabel("width")]=`${i.virtualSize+j}px`),le&&i.grid.updateWrapperSize(ve,D),!o.centeredSlides){const J=[];for(let re=0;re<D.length;re+=1){let oe=D[re];o.roundLengths&&(oe=Math.floor(oe)),D[re]<=i.virtualSize-h&&J.push(oe)}D=J,Math.floor(i.virtualSize-h)-Math.floor(D[D.length-1])>1&&D.push(i.virtualSize-h)}if(b&&o.loop){const J=M[0]+j;if(o.slidesPerGroup>1){const re=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/o.slidesPerGroup),oe=J*o.slidesPerGroup;for(let we=0;we<re;we+=1)D.push(D[D.length-1]+oe)}for(let re=0;re<i.virtual.slidesBefore+i.virtual.slidesAfter;re+=1)o.slidesPerGroup===1&&D.push(D[D.length-1]+J),L.push(L[L.length-1]+J),i.virtualSize+=J}if(D.length===0&&(D=[0]),j!==0){const J=i.isHorizontal()&&m?"marginLeft":i.getDirectionLabel("marginRight");O.filter((re,oe)=>!o.cssMode||o.loop?!0:oe!==O.length-1).forEach(re=>{re.style[J]=`${j}px`})}if(o.centeredSlides&&o.centeredSlidesBounds){let J=0;M.forEach(oe=>{J+=oe+(j||0)}),J-=j;const re=J>h?J-h:0;D=D.map(oe=>oe<=0?-U:oe>re?re+P:oe)}if(o.centerInsufficientSlides){let J=0;M.forEach(oe=>{J+=oe+(j||0)}),J-=j;const re=(o.slidesOffsetBefore||0)+(o.slidesOffsetAfter||0);if(J+re<h){const oe=(h-J-re)/2;D.forEach((we,Qe)=>{D[Qe]=we-oe}),L.forEach((we,Qe)=>{L[Qe]=we+oe})}}if(Object.assign(i,{slides:O,snapGrid:D,slidesGrid:L,slidesSizesGrid:M}),o.centeredSlides&&o.cssMode&&!o.centeredSlidesBounds){Hg(c,"--swiper-centered-offset-before",`${-D[0]}px`),Hg(c,"--swiper-centered-offset-after",`${i.size/2-M[M.length-1]/2}px`);const J=-i.snapGrid[0],re=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(oe=>oe+J),i.slidesGrid=i.slidesGrid.map(oe=>oe+re)}if(R!==T&&i.emit("slidesLengthChange"),D.length!==N&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),L.length!==z&&i.emit("slidesGridLengthChange"),o.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!b&&!o.cssMode&&(o.effect==="slide"||o.effect==="fade")){const J=`${o.containerModifierClass}backface-hidden`,re=i.el.classList.contains(J);R<=o.maxBackfaceHiddenSlides?re||i.el.classList.add(J):re&&i.el.classList.remove(J)}}function _A(i){const l=this,o=[],c=l.virtual&&l.params.virtual.enabled;let p=0,h;typeof i=="number"?l.setTransition(i):i===!0&&l.setTransition(l.params.speed);const m=w=>c?l.slides[l.getSlideIndexByData(w)]:l.slides[w];if(l.params.slidesPerView!=="auto"&&l.params.slidesPerView>1)if(l.params.centeredSlides)(l.visibleSlides||[]).forEach(w=>{o.push(w)});else for(h=0;h<Math.ceil(l.params.slidesPerView);h+=1){const w=l.activeIndex+h;if(w>l.slides.length&&!c)break;o.push(m(w))}else o.push(m(l.activeIndex));for(h=0;h<o.length;h+=1)if(typeof o[h]<"u"){const w=o[h].offsetHeight;p=w>p?w:p}(p||p===0)&&(l.wrapperEl.style.height=`${p}px`)}function MA(){const i=this,l=i.slides,o=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let c=0;c<l.length;c+=1)l[c].swiperSlideOffset=(i.isHorizontal()?l[c].offsetLeft:l[c].offsetTop)-o-i.cssOverflowAdjustment()}const t1=(i,l,o)=>{l&&!i.classList.contains(o)?i.classList.add(o):!l&&i.classList.contains(o)&&i.classList.remove(o)};function LA(i){i===void 0&&(i=this&&this.translate||0);const l=this,o=l.params,{slides:c,rtlTranslate:p,snapGrid:h}=l;if(c.length===0)return;typeof c[0].swiperSlideOffset>"u"&&l.updateSlidesOffset();let m=-i;p&&(m=i),l.visibleSlidesIndexes=[],l.visibleSlides=[];let w=o.spaceBetween;typeof w=="string"&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*l.size:typeof w=="string"&&(w=parseFloat(w));for(let b=0;b<c.length;b+=1){const T=c[b];let O=T.swiperSlideOffset;o.cssMode&&o.centeredSlides&&(O-=c[0].swiperSlideOffset);const R=(m+(o.centeredSlides?l.minTranslate():0)-O)/(T.swiperSlideSize+w),D=(m-h[0]+(o.centeredSlides?l.minTranslate():0)-O)/(T.swiperSlideSize+w),L=-(m-O),M=L+l.slidesSizesGrid[b],U=L>=0&&L<=l.size-l.slidesSizesGrid[b],P=L>=0&&L<l.size-1||M>1&&M<=l.size||L<=0&&M>=l.size;P&&(l.visibleSlides.push(T),l.visibleSlidesIndexes.push(b)),t1(T,P,o.slideVisibleClass),t1(T,U,o.slideFullyVisibleClass),T.progress=p?-R:R,T.originalProgress=p?-D:D}}function NA(i){const l=this;if(typeof i>"u"){const O=l.rtlTranslate?-1:1;i=l&&l.translate&&l.translate*O||0}const o=l.params,c=l.maxTranslate()-l.minTranslate();let{progress:p,isBeginning:h,isEnd:m,progressLoop:w}=l;const b=h,T=m;if(c===0)p=0,h=!0,m=!0;else{p=(i-l.minTranslate())/c;const O=Math.abs(i-l.minTranslate())<1,R=Math.abs(i-l.maxTranslate())<1;h=O||p<=0,m=R||p>=1,O&&(p=0),R&&(p=1)}if(o.loop){const O=l.getSlideIndexByData(0),R=l.getSlideIndexByData(l.slides.length-1),D=l.slidesGrid[O],L=l.slidesGrid[R],M=l.slidesGrid[l.slidesGrid.length-1],U=Math.abs(i);U>=D?w=(U-D)/M:w=(U+M-L)/M,w>1&&(w-=1)}Object.assign(l,{progress:p,progressLoop:w,isBeginning:h,isEnd:m}),(o.watchSlidesProgress||o.centeredSlides&&o.autoHeight)&&l.updateSlidesProgress(i),h&&!b&&l.emit("reachBeginning toEdge"),m&&!T&&l.emit("reachEnd toEdge"),(b&&!h||T&&!m)&&l.emit("fromEdge"),l.emit("progress",p)}const Vw=(i,l,o)=>{l&&!i.classList.contains(o)?i.classList.add(o):!l&&i.classList.contains(o)&&i.classList.remove(o)};function zA(){const i=this,{slides:l,params:o,slidesEl:c,activeIndex:p}=i,h=i.virtual&&o.virtual.enabled,m=i.grid&&o.grid&&o.grid.rows>1,w=R=>Mo(c,`.${o.slideClass}${R}, swiper-slide${R}`)[0];let b,T,O;if(h)if(o.loop){let R=p-i.virtual.slidesBefore;R<0&&(R=i.virtual.slides.length+R),R>=i.virtual.slides.length&&(R-=i.virtual.slides.length),b=w(`[data-swiper-slide-index="${R}"]`)}else b=w(`[data-swiper-slide-index="${p}"]`);else m?(b=l.find(R=>R.column===p),O=l.find(R=>R.column===p+1),T=l.find(R=>R.column===p-1)):b=l[p];b&&(m||(O=wA(b,`.${o.slideClass}, swiper-slide`)[0],o.loop&&!O&&(O=l[0]),T=SA(b,`.${o.slideClass}, swiper-slide`)[0],o.loop&&!T===0&&(T=l[l.length-1]))),l.forEach(R=>{Vw(R,R===b,o.slideActiveClass),Vw(R,R===O,o.slideNextClass),Vw(R,R===T,o.slidePrevClass)}),i.emitSlidesClasses()}const Gg=(i,l)=>{if(!i||i.destroyed||!i.params)return;const o=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,c=l.closest(o());if(c){let p=c.querySelector(`.${i.params.lazyPreloaderClass}`);!p&&i.isElement&&(c.shadowRoot?p=c.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{c.shadowRoot&&(p=c.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),p&&p.remove())})),p&&p.remove()}},$w=(i,l)=>{if(!i.slides[l])return;const o=i.slides[l].querySelector('[loading="lazy"]');o&&o.removeAttribute("loading")},pb=i=>{if(!i||i.destroyed||!i.params)return;let l=i.params.lazyPreloadPrevNext;const o=i.slides.length;if(!o||!l||l<0)return;l=Math.min(l,o);const c=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),p=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){const m=p,w=[m-l];w.push(...Array.from({length:l}).map((b,T)=>m+c+T)),i.slides.forEach((b,T)=>{w.includes(b.column)&&$w(i,T)});return}const h=p+c-1;if(i.params.rewind||i.params.loop)for(let m=p-l;m<=h+l;m+=1){const w=(m%o+o)%o;(w<p||w>h)&&$w(i,w)}else for(let m=Math.max(p-l,0);m<=Math.min(h+l,o-1);m+=1)m!==p&&(m>h||m<p)&&$w(i,m)};function AA(i){const{slidesGrid:l,params:o}=i,c=i.rtlTranslate?i.translate:-i.translate;let p;for(let h=0;h<l.length;h+=1)typeof l[h+1]<"u"?c>=l[h]&&c<l[h+1]-(l[h+1]-l[h])/2?p=h:c>=l[h]&&c<l[h+1]&&(p=h+1):c>=l[h]&&(p=h);return o.normalizeSlideIndex&&(p<0||typeof p>"u")&&(p=0),p}function PA(i){const l=this,o=l.rtlTranslate?l.translate:-l.translate,{snapGrid:c,params:p,activeIndex:h,realIndex:m,snapIndex:w}=l;let b=i,T;const O=L=>{let M=L-l.virtual.slidesBefore;return M<0&&(M=l.virtual.slides.length+M),M>=l.virtual.slides.length&&(M-=l.virtual.slides.length),M};if(typeof b>"u"&&(b=AA(l)),c.indexOf(o)>=0)T=c.indexOf(o);else{const L=Math.min(p.slidesPerGroupSkip,b);T=L+Math.floor((b-L)/p.slidesPerGroup)}if(T>=c.length&&(T=c.length-1),b===h&&!l.params.loop){T!==w&&(l.snapIndex=T,l.emit("snapIndexChange"));return}if(b===h&&l.params.loop&&l.virtual&&l.params.virtual.enabled){l.realIndex=O(b);return}const R=l.grid&&p.grid&&p.grid.rows>1;let D;if(l.virtual&&p.virtual.enabled&&p.loop)D=O(b);else if(R){const L=l.slides.find(U=>U.column===b);let M=parseInt(L.getAttribute("data-swiper-slide-index"),10);Number.isNaN(M)&&(M=Math.max(l.slides.indexOf(L),0)),D=Math.floor(M/p.grid.rows)}else if(l.slides[b]){const L=l.slides[b].getAttribute("data-swiper-slide-index");L?D=parseInt(L,10):D=b}else D=b;Object.assign(l,{previousSnapIndex:w,snapIndex:T,previousRealIndex:m,realIndex:D,previousIndex:h,activeIndex:b}),l.initialized&&pb(l),l.emit("activeIndexChange"),l.emit("snapIndexChange"),(l.initialized||l.params.runCallbacksOnInit)&&(m!==D&&l.emit("realIndexChange"),l.emit("slideChange"))}function jA(i,l){const o=this,c=o.params;let p=i.closest(`.${c.slideClass}, swiper-slide`);!p&&o.isElement&&l&&l.length>1&&l.includes(i)&&[...l.slice(l.indexOf(i)+1,l.length)].forEach(w=>{!p&&w.matches&&w.matches(`.${c.slideClass}, swiper-slide`)&&(p=w)});let h=!1,m;if(p){for(let w=0;w<o.slides.length;w+=1)if(o.slides[w]===p){h=!0,m=w;break}}if(p&&h)o.clickedSlide=p,o.virtual&&o.params.virtual.enabled?o.clickedIndex=parseInt(p.getAttribute("data-swiper-slide-index"),10):o.clickedIndex=m;else{o.clickedSlide=void 0,o.clickedIndex=void 0;return}c.slideToClickedSlide&&o.clickedIndex!==void 0&&o.clickedIndex!==o.activeIndex&&o.slideToClickedSlide()}var UA={updateSize:kA,updateSlides:DA,updateAutoHeight:_A,updateSlidesOffset:MA,updateSlidesProgress:LA,updateProgress:NA,updateSlidesClasses:zA,updateActiveIndex:PA,updateClickedSlide:jA};function FA(i){i===void 0&&(i=this.isHorizontal()?"x":"y");const l=this,{params:o,rtlTranslate:c,translate:p,wrapperEl:h}=l;if(o.virtualTranslate)return c?-p:p;if(o.cssMode)return p;let m=hA(h,i);return m+=l.cssOverflowAdjustment(),c&&(m=-m),m||0}function IA(i,l){const o=this,{rtlTranslate:c,params:p,wrapperEl:h,progress:m}=o;let w=0,b=0;const T=0;o.isHorizontal()?w=c?-i:i:b=i,p.roundLengths&&(w=Math.floor(w),b=Math.floor(b)),o.previousTranslate=o.translate,o.translate=o.isHorizontal()?w:b,p.cssMode?h[o.isHorizontal()?"scrollLeft":"scrollTop"]=o.isHorizontal()?-w:-b:p.virtualTranslate||(o.isHorizontal()?w-=o.cssOverflowAdjustment():b-=o.cssOverflowAdjustment(),h.style.transform=`translate3d(${w}px, ${b}px, ${T}px)`);let O;const R=o.maxTranslate()-o.minTranslate();R===0?O=0:O=(i-o.minTranslate())/R,O!==m&&o.updateProgress(i),o.emit("setTranslate",o.translate,l)}function HA(){return-this.snapGrid[0]}function BA(){return-this.snapGrid[this.snapGrid.length-1]}function VA(i,l,o,c,p){i===void 0&&(i=0),l===void 0&&(l=this.params.speed),o===void 0&&(o=!0),c===void 0&&(c=!0);const h=this,{params:m,wrapperEl:w}=h;if(h.animating&&m.preventInteractionOnTransition)return!1;const b=h.minTranslate(),T=h.maxTranslate();let O;if(c&&i>b?O=b:c&&i<T?O=T:O=i,h.updateProgress(O),m.cssMode){const R=h.isHorizontal();if(l===0)w[R?"scrollLeft":"scrollTop"]=-O;else{if(!h.support.smoothScroll)return Z1({swiper:h,targetPosition:-O,side:R?"left":"top"}),!0;w.scrollTo({[R?"left":"top"]:-O,behavior:"smooth"})}return!0}return l===0?(h.setTransition(0),h.setTranslate(O),o&&(h.emit("beforeTransitionStart",l,p),h.emit("transitionEnd"))):(h.setTransition(l),h.setTranslate(O),o&&(h.emit("beforeTransitionStart",l,p),h.emit("transitionStart")),h.animating||(h.animating=!0,h.onTranslateToWrapperTransitionEnd||(h.onTranslateToWrapperTransitionEnd=function(D){!h||h.destroyed||D.target===this&&(h.wrapperEl.removeEventListener("transitionend",h.onTranslateToWrapperTransitionEnd),h.onTranslateToWrapperTransitionEnd=null,delete h.onTranslateToWrapperTransitionEnd,h.animating=!1,o&&h.emit("transitionEnd"))}),h.wrapperEl.addEventListener("transitionend",h.onTranslateToWrapperTransitionEnd))),!0}var $A={getTranslate:FA,setTranslate:IA,minTranslate:HA,maxTranslate:BA,translateTo:VA};function WA(i,l){const o=this;o.params.cssMode||(o.wrapperEl.style.transitionDuration=`${i}ms`,o.wrapperEl.style.transitionDelay=i===0?"0ms":""),o.emit("setTransition",i,l)}function nR(i){let{swiper:l,runCallbacks:o,direction:c,step:p}=i;const{activeIndex:h,previousIndex:m}=l;let w=c;w||(h>m?w="next":h<m?w="prev":w="reset"),l.emit(`transition${p}`),o&&w==="reset"?l.emit(`slideResetTransition${p}`):o&&h!==m&&(l.emit(`slideChangeTransition${p}`),w==="next"?l.emit(`slideNextTransition${p}`):l.emit(`slidePrevTransition${p}`))}function GA(i,l){i===void 0&&(i=!0);const o=this,{params:c}=o;c.cssMode||(c.autoHeight&&o.updateAutoHeight(),nR({swiper:o,runCallbacks:i,direction:l,step:"Start"}))}function YA(i,l){i===void 0&&(i=!0);const o=this,{params:c}=o;o.animating=!1,!c.cssMode&&(o.setTransition(0),nR({swiper:o,runCallbacks:i,direction:l,step:"End"}))}var qA={setTransition:WA,transitionStart:GA,transitionEnd:YA};function QA(i,l,o,c,p){i===void 0&&(i=0),o===void 0&&(o=!0),typeof i=="string"&&(i=parseInt(i,10));const h=this;let m=i;m<0&&(m=0);const{params:w,snapGrid:b,slidesGrid:T,previousIndex:O,activeIndex:R,rtlTranslate:D,wrapperEl:L,enabled:M}=h;if(!M&&!c&&!p||h.destroyed||h.animating&&w.preventInteractionOnTransition)return!1;typeof l>"u"&&(l=h.params.speed);const U=Math.min(h.params.slidesPerGroupSkip,m);let P=U+Math.floor((m-U)/h.params.slidesPerGroup);P>=b.length&&(P=b.length-1);const N=-b[P];if(w.normalizeSlideIndex)for(let le=0;le<T.length;le+=1){const ve=-Math.floor(N*100),ee=Math.floor(T[le]*100),J=Math.floor(T[le+1]*100);typeof T[le+1]<"u"?ve>=ee&&ve<J-(J-ee)/2?m=le:ve>=ee&&ve<J&&(m=le+1):ve>=ee&&(m=le)}if(h.initialized&&m!==R&&(!h.allowSlideNext&&(D?N>h.translate&&N>h.minTranslate():N<h.translate&&N<h.minTranslate())||!h.allowSlidePrev&&N>h.translate&&N>h.maxTranslate()&&(R||0)!==m))return!1;m!==(O||0)&&o&&h.emit("beforeSlideChangeStart"),h.updateProgress(N);let z;m>R?z="next":m<R?z="prev":z="reset";const j=h.virtual&&h.params.virtual.enabled;if(!(j&&p)&&(D&&-N===h.translate||!D&&N===h.translate))return h.updateActiveIndex(m),w.autoHeight&&h.updateAutoHeight(),h.updateSlidesClasses(),w.effect!=="slide"&&h.setTranslate(N),z!=="reset"&&(h.transitionStart(o,z),h.transitionEnd(o,z)),!1;if(w.cssMode){const le=h.isHorizontal(),ve=D?N:-N;if(l===0)j&&(h.wrapperEl.style.scrollSnapType="none",h._immediateVirtual=!0),j&&!h._cssModeVirtualInitialSet&&h.params.initialSlide>0?(h._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{L[le?"scrollLeft":"scrollTop"]=ve})):L[le?"scrollLeft":"scrollTop"]=ve,j&&requestAnimationFrame(()=>{h.wrapperEl.style.scrollSnapType="",h._immediateVirtual=!1});else{if(!h.support.smoothScroll)return Z1({swiper:h,targetPosition:ve,side:le?"left":"top"}),!0;L.scrollTo({[le?"left":"top"]:ve,behavior:"smooth"})}return!0}const se=tR().isSafari;return j&&!p&&se&&h.isElement&&h.virtual.update(!1,!1,m),h.setTransition(l),h.setTranslate(N),h.updateActiveIndex(m),h.updateSlidesClasses(),h.emit("beforeTransitionStart",l,c),h.transitionStart(o,z),l===0?h.transitionEnd(o,z):h.animating||(h.animating=!0,h.onSlideToWrapperTransitionEnd||(h.onSlideToWrapperTransitionEnd=function(ve){!h||h.destroyed||ve.target===this&&(h.wrapperEl.removeEventListener("transitionend",h.onSlideToWrapperTransitionEnd),h.onSlideToWrapperTransitionEnd=null,delete h.onSlideToWrapperTransitionEnd,h.transitionEnd(o,z))}),h.wrapperEl.addEventListener("transitionend",h.onSlideToWrapperTransitionEnd)),!0}function XA(i,l,o,c){i===void 0&&(i=0),o===void 0&&(o=!0),typeof i=="string"&&(i=parseInt(i,10));const p=this;if(p.destroyed)return;typeof l>"u"&&(l=p.params.speed);const h=p.grid&&p.params.grid&&p.params.grid.rows>1;let m=i;if(p.params.loop)if(p.virtual&&p.params.virtual.enabled)m=m+p.virtual.slidesBefore;else{let w;if(h){const D=m*p.params.grid.rows;w=p.slides.find(L=>L.getAttribute("data-swiper-slide-index")*1===D).column}else w=p.getSlideIndexByData(m);const b=h?Math.ceil(p.slides.length/p.params.grid.rows):p.slides.length,{centeredSlides:T}=p.params;let O=p.params.slidesPerView;O==="auto"?O=p.slidesPerViewDynamic():(O=Math.ceil(parseFloat(p.params.slidesPerView,10)),T&&O%2===0&&(O=O+1));let R=b-w<O;if(T&&(R=R||w<Math.ceil(O/2)),c&&T&&p.params.slidesPerView!=="auto"&&!h&&(R=!1),R){const D=T?w<p.activeIndex?"prev":"next":w-p.activeIndex-1<p.params.slidesPerView?"next":"prev";p.loopFix({direction:D,slideTo:!0,activeSlideIndex:D==="next"?w+1:w-b+1,slideRealIndex:D==="next"?p.realIndex:void 0})}if(h){const D=m*p.params.grid.rows;m=p.slides.find(L=>L.getAttribute("data-swiper-slide-index")*1===D).column}else m=p.getSlideIndexByData(m)}return requestAnimationFrame(()=>{p.slideTo(m,l,o,c)}),p}function KA(i,l,o){l===void 0&&(l=!0);const c=this,{enabled:p,params:h,animating:m}=c;if(!p||c.destroyed)return c;typeof i>"u"&&(i=c.params.speed);let w=h.slidesPerGroup;h.slidesPerView==="auto"&&h.slidesPerGroup===1&&h.slidesPerGroupAuto&&(w=Math.max(c.slidesPerViewDynamic("current",!0),1));const b=c.activeIndex<h.slidesPerGroupSkip?1:w,T=c.virtual&&h.virtual.enabled;if(h.loop){if(m&&!T&&h.loopPreventsSliding)return!1;if(c.loopFix({direction:"next"}),c._clientLeft=c.wrapperEl.clientLeft,c.activeIndex===c.slides.length-1&&h.cssMode)return requestAnimationFrame(()=>{c.slideTo(c.activeIndex+b,i,l,o)}),!0}return h.rewind&&c.isEnd?c.slideTo(0,i,l,o):c.slideTo(c.activeIndex+b,i,l,o)}function ZA(i,l,o){l===void 0&&(l=!0);const c=this,{params:p,snapGrid:h,slidesGrid:m,rtlTranslate:w,enabled:b,animating:T}=c;if(!b||c.destroyed)return c;typeof i>"u"&&(i=c.params.speed);const O=c.virtual&&p.virtual.enabled;if(p.loop){if(T&&!O&&p.loopPreventsSliding)return!1;c.loopFix({direction:"prev"}),c._clientLeft=c.wrapperEl.clientLeft}const R=w?c.translate:-c.translate;function D(z){return z<0?-Math.floor(Math.abs(z)):Math.floor(z)}const L=D(R),M=h.map(z=>D(z)),U=p.freeMode&&p.freeMode.enabled;let P=h[M.indexOf(L)-1];if(typeof P>"u"&&(p.cssMode||U)){let z;h.forEach((j,q)=>{L>=j&&(z=q)}),typeof z<"u"&&(P=U?h[z]:h[z>0?z-1:z])}let N=0;if(typeof P<"u"&&(N=m.indexOf(P),N<0&&(N=c.activeIndex-1),p.slidesPerView==="auto"&&p.slidesPerGroup===1&&p.slidesPerGroupAuto&&(N=N-c.slidesPerViewDynamic("previous",!0)+1,N=Math.max(N,0))),p.rewind&&c.isBeginning){const z=c.params.virtual&&c.params.virtual.enabled&&c.virtual?c.virtual.slides.length-1:c.slides.length-1;return c.slideTo(z,i,l,o)}else if(p.loop&&c.activeIndex===0&&p.cssMode)return requestAnimationFrame(()=>{c.slideTo(N,i,l,o)}),!0;return c.slideTo(N,i,l,o)}function JA(i,l,o){l===void 0&&(l=!0);const c=this;if(!c.destroyed)return typeof i>"u"&&(i=c.params.speed),c.slideTo(c.activeIndex,i,l,o)}function eP(i,l,o,c){l===void 0&&(l=!0),c===void 0&&(c=.5);const p=this;if(p.destroyed)return;typeof i>"u"&&(i=p.params.speed);let h=p.activeIndex;const m=Math.min(p.params.slidesPerGroupSkip,h),w=m+Math.floor((h-m)/p.params.slidesPerGroup),b=p.rtlTranslate?p.translate:-p.translate;if(b>=p.snapGrid[w]){const T=p.snapGrid[w],O=p.snapGrid[w+1];b-T>(O-T)*c&&(h+=p.params.slidesPerGroup)}else{const T=p.snapGrid[w-1],O=p.snapGrid[w];b-T<=(O-T)*c&&(h-=p.params.slidesPerGroup)}return h=Math.max(h,0),h=Math.min(h,p.slidesGrid.length-1),p.slideTo(h,i,l,o)}function tP(){const i=this;if(i.destroyed)return;const{params:l,slidesEl:o}=i,c=l.slidesPerView==="auto"?i.slidesPerViewDynamic():l.slidesPerView;let p=i.clickedIndex,h;const m=i.isElement?"swiper-slide":`.${l.slideClass}`;if(l.loop){if(i.animating)return;h=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),l.centeredSlides?p<i.loopedSlides-c/2||p>i.slides.length-i.loopedSlides+c/2?(i.loopFix(),p=i.getSlideIndex(Mo(o,`${m}[data-swiper-slide-index="${h}"]`)[0]),fb(()=>{i.slideTo(p)})):i.slideTo(p):p>i.slides.length-c?(i.loopFix(),p=i.getSlideIndex(Mo(o,`${m}[data-swiper-slide-index="${h}"]`)[0]),fb(()=>{i.slideTo(p)})):i.slideTo(p)}else i.slideTo(p)}var nP={slideTo:QA,slideToLoop:XA,slideNext:KA,slidePrev:ZA,slideReset:JA,slideToClosest:eP,slideToClickedSlide:tP};function rP(i,l){const o=this,{params:c,slidesEl:p}=o;if(!c.loop||o.virtual&&o.params.virtual.enabled)return;const h=()=>{Mo(p,`.${c.slideClass}, swiper-slide`).forEach((D,L)=>{D.setAttribute("data-swiper-slide-index",L)})},m=o.grid&&c.grid&&c.grid.rows>1,w=c.slidesPerGroup*(m?c.grid.rows:1),b=o.slides.length%w!==0,T=m&&o.slides.length%c.grid.rows!==0,O=R=>{for(let D=0;D<R;D+=1){const L=o.isElement?db("swiper-slide",[c.slideBlankClass]):db("div",[c.slideClass,c.slideBlankClass]);o.slidesEl.append(L)}};if(b){if(c.loopAddBlankSlides){const R=w-o.slides.length%w;O(R),o.recalcSlides(),o.updateSlides()}else ny("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)");h()}else if(T){if(c.loopAddBlankSlides){const R=c.grid.rows-o.slides.length%c.grid.rows;O(R),o.recalcSlides(),o.updateSlides()}else ny("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)");h()}else h();o.loopFix({slideRealIndex:i,direction:c.centeredSlides?void 0:"next",initial:l})}function aP(i){let{slideRealIndex:l,slideTo:o=!0,direction:c,setTranslate:p,activeSlideIndex:h,initial:m,byController:w,byMousewheel:b}=i===void 0?{}:i;const T=this;if(!T.params.loop)return;T.emit("beforeLoopFix");const{slides:O,allowSlidePrev:R,allowSlideNext:D,slidesEl:L,params:M}=T,{centeredSlides:U,initialSlide:P}=M;if(T.allowSlidePrev=!0,T.allowSlideNext=!0,T.virtual&&M.virtual.enabled){o&&(!M.centeredSlides&&T.snapIndex===0?T.slideTo(T.virtual.slides.length,0,!1,!0):M.centeredSlides&&T.snapIndex<M.slidesPerView?T.slideTo(T.virtual.slides.length+T.snapIndex,0,!1,!0):T.snapIndex===T.snapGrid.length-1&&T.slideTo(T.virtual.slidesBefore,0,!1,!0)),T.allowSlidePrev=R,T.allowSlideNext=D,T.emit("loopFix");return}let N=M.slidesPerView;N==="auto"?N=T.slidesPerViewDynamic():(N=Math.ceil(parseFloat(M.slidesPerView,10)),U&&N%2===0&&(N=N+1));const z=M.slidesPerGroupAuto?N:M.slidesPerGroup;let j=z;j%z!==0&&(j+=z-j%z),j+=M.loopAdditionalSlides,T.loopedSlides=j;const q=T.grid&&M.grid&&M.grid.rows>1;O.length<N+j||T.params.effect==="cards"&&O.length<N+j*2?ny("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"):q&&M.grid.fill==="row"&&ny("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const $=[],se=[],le=q?Math.ceil(O.length/M.grid.rows):O.length,ve=m&&le-P<N&&!U;let ee=ve?P:T.activeIndex;typeof h>"u"?h=T.getSlideIndex(O.find(be=>be.classList.contains(M.slideActiveClass))):ee=h;const J=c==="next"||!c,re=c==="prev"||!c;let oe=0,we=0;const Ge=(q?O[h].column:h)+(U&&typeof p>"u"?-N/2+.5:0);if(Ge<j){oe=Math.max(j-Ge,z);for(let be=0;be<j-Ge;be+=1){const $e=be-Math.floor(be/le)*le;if(q){const ue=le-$e-1;for(let Se=O.length-1;Se>=0;Se-=1)O[Se].column===ue&&$.push(Se)}else $.push(le-$e-1)}}else if(Ge+N>le-j){we=Math.max(Ge-(le-j*2),z),ve&&(we=Math.max(we,N-le+P+1));for(let be=0;be<we;be+=1){const $e=be-Math.floor(be/le)*le;q?O.forEach((ue,Se)=>{ue.column===$e&&se.push(Se)}):se.push($e)}}if(T.__preventObserver__=!0,requestAnimationFrame(()=>{T.__preventObserver__=!1}),T.params.effect==="cards"&&O.length<N+j*2&&(se.includes(h)&&se.splice(se.indexOf(h),1),$.includes(h)&&$.splice($.indexOf(h),1)),re&&$.forEach(be=>{O[be].swiperLoopMoveDOM=!0,L.prepend(O[be]),O[be].swiperLoopMoveDOM=!1}),J&&se.forEach(be=>{O[be].swiperLoopMoveDOM=!0,L.append(O[be]),O[be].swiperLoopMoveDOM=!1}),T.recalcSlides(),M.slidesPerView==="auto"?T.updateSlides():q&&($.length>0&&re||se.length>0&&J)&&T.slides.forEach((be,$e)=>{T.grid.updateSlide($e,be,T.slides)}),M.watchSlidesProgress&&T.updateSlidesOffset(),o){if($.length>0&&re){if(typeof l>"u"){const be=T.slidesGrid[ee],ue=T.slidesGrid[ee+oe]-be;b?T.setTranslate(T.translate-ue):(T.slideTo(ee+Math.ceil(oe),0,!1,!0),p&&(T.touchEventsData.startTranslate=T.touchEventsData.startTranslate-ue,T.touchEventsData.currentTranslate=T.touchEventsData.currentTranslate-ue))}else if(p){const be=q?$.length/M.grid.rows:$.length;T.slideTo(T.activeIndex+be,0,!1,!0),T.touchEventsData.currentTranslate=T.translate}}else if(se.length>0&&J)if(typeof l>"u"){const be=T.slidesGrid[ee],ue=T.slidesGrid[ee-we]-be;b?T.setTranslate(T.translate-ue):(T.slideTo(ee-we,0,!1,!0),p&&(T.touchEventsData.startTranslate=T.touchEventsData.startTranslate-ue,T.touchEventsData.currentTranslate=T.touchEventsData.currentTranslate-ue))}else{const be=q?se.length/M.grid.rows:se.length;T.slideTo(T.activeIndex-be,0,!1,!0)}}if(T.allowSlidePrev=R,T.allowSlideNext=D,T.controller&&T.controller.control&&!w){const be={slideRealIndex:l,direction:c,setTranslate:p,activeSlideIndex:h,byController:!0};Array.isArray(T.controller.control)?T.controller.control.forEach($e=>{!$e.destroyed&&$e.params.loop&&$e.loopFix({...be,slideTo:$e.params.slidesPerView===M.slidesPerView?o:!1})}):T.controller.control instanceof T.constructor&&T.controller.control.params.loop&&T.controller.control.loopFix({...be,slideTo:T.controller.control.params.slidesPerView===M.slidesPerView?o:!1})}T.emit("loopFix")}function iP(){const i=this,{params:l,slidesEl:o}=i;if(!l.loop||!o||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();const c=[];i.slides.forEach(p=>{const h=typeof p.swiperSlideIndex>"u"?p.getAttribute("data-swiper-slide-index")*1:p.swiperSlideIndex;c[h]=p}),i.slides.forEach(p=>{p.removeAttribute("data-swiper-slide-index")}),c.forEach(p=>{o.append(p)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var lP={loopCreate:rP,loopFix:aP,loopDestroy:iP};function oP(i){const l=this;if(!l.params.simulateTouch||l.params.watchOverflow&&l.isLocked||l.params.cssMode)return;const o=l.params.touchEventsTarget==="container"?l.el:l.wrapperEl;l.isElement&&(l.__preventObserver__=!0),o.style.cursor="move",o.style.cursor=i?"grabbing":"grab",l.isElement&&requestAnimationFrame(()=>{l.__preventObserver__=!1})}function uP(){const i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var sP={setGrabCursor:oP,unsetGrabCursor:uP};function cP(i,l){l===void 0&&(l=this);function o(c){if(!c||c===fc()||c===da())return null;c.assignedSlot&&(c=c.assignedSlot);const p=c.closest(i);return!p&&!c.getRootNode?null:p||o(c.getRootNode().host)}return o(l)}function n1(i,l,o){const c=da(),{params:p}=i,h=p.edgeSwipeDetection,m=p.edgeSwipeThreshold;return h&&(o<=m||o>=c.innerWidth-m)?h==="prevent"?(l.preventDefault(),!0):!1:!0}function fP(i){const l=this,o=fc();let c=i;c.originalEvent&&(c=c.originalEvent);const p=l.touchEventsData;if(c.type==="pointerdown"){if(p.pointerId!==null&&p.pointerId!==c.pointerId)return;p.pointerId=c.pointerId}else c.type==="touchstart"&&c.targetTouches.length===1&&(p.touchId=c.targetTouches[0].identifier);if(c.type==="touchstart"){n1(l,c,c.targetTouches[0].pageX);return}const{params:h,touches:m,enabled:w}=l;if(!w||!h.simulateTouch&&c.pointerType==="mouse"||l.animating&&h.preventInteractionOnTransition)return;!l.animating&&h.cssMode&&h.loop&&l.loopFix();let b=c.target;if(h.touchEventsTarget==="wrapper"&&!yA(b,l.wrapperEl)||"which"in c&&c.which===3||"button"in c&&c.button>0||p.isTouched&&p.isMoved)return;const T=!!h.noSwipingClass&&h.noSwipingClass!=="",O=c.composedPath?c.composedPath():c.path;T&&c.target&&c.target.shadowRoot&&O&&(b=O[0]);const R=h.noSwipingSelector?h.noSwipingSelector:`.${h.noSwipingClass}`,D=!!(c.target&&c.target.shadowRoot);if(h.noSwiping&&(D?cP(R,b):b.closest(R))){l.allowClick=!0;return}if(h.swipeHandler&&!b.closest(h.swipeHandler))return;m.currentX=c.pageX,m.currentY=c.pageY;const L=m.currentX,M=m.currentY;if(!n1(l,c,L))return;Object.assign(p,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),m.startX=L,m.startY=M,p.touchStartTime=ty(),l.allowClick=!0,l.updateSize(),l.swipeDirection=void 0,h.threshold>0&&(p.allowThresholdMove=!1);let U=!0;b.matches(p.focusableElements)&&(U=!1,b.nodeName==="SELECT"&&(p.isTouched=!1)),o.activeElement&&o.activeElement.matches(p.focusableElements)&&o.activeElement!==b&&(c.pointerType==="mouse"||c.pointerType!=="mouse"&&!b.matches(p.focusableElements))&&o.activeElement.blur();const P=U&&l.allowTouchMove&&h.touchStartPreventDefault;(h.touchStartForcePreventDefault||P)&&!b.isContentEditable&&c.preventDefault(),h.freeMode&&h.freeMode.enabled&&l.freeMode&&l.animating&&!h.cssMode&&l.freeMode.onTouchStart(),l.emit("touchStart",c)}function dP(i){const l=fc(),o=this,c=o.touchEventsData,{params:p,touches:h,rtlTranslate:m,enabled:w}=o;if(!w||!p.simulateTouch&&i.pointerType==="mouse")return;let b=i;if(b.originalEvent&&(b=b.originalEvent),b.type==="pointermove"&&(c.touchId!==null||b.pointerId!==c.pointerId))return;let T;if(b.type==="touchmove"){if(T=[...b.changedTouches].find($=>$.identifier===c.touchId),!T||T.identifier!==c.touchId)return}else T=b;if(!c.isTouched){c.startMoving&&c.isScrolling&&o.emit("touchMoveOpposite",b);return}const O=T.pageX,R=T.pageY;if(b.preventedByNestedSwiper){h.startX=O,h.startY=R;return}if(!o.allowTouchMove){b.target.matches(c.focusableElements)||(o.allowClick=!1),c.isTouched&&(Object.assign(h,{startX:O,startY:R,currentX:O,currentY:R}),c.touchStartTime=ty());return}if(p.touchReleaseOnEdges&&!p.loop)if(o.isVertical()){if(R<h.startY&&o.translate<=o.maxTranslate()||R>h.startY&&o.translate>=o.minTranslate()){c.isTouched=!1,c.isMoved=!1;return}}else{if(m&&(O>h.startX&&-o.translate<=o.maxTranslate()||O<h.startX&&-o.translate>=o.minTranslate()))return;if(!m&&(O<h.startX&&o.translate<=o.maxTranslate()||O>h.startX&&o.translate>=o.minTranslate()))return}if(l.activeElement&&l.activeElement.matches(c.focusableElements)&&l.activeElement!==b.target&&b.pointerType!=="mouse"&&l.activeElement.blur(),l.activeElement&&b.target===l.activeElement&&b.target.matches(c.focusableElements)){c.isMoved=!0,o.allowClick=!1;return}c.allowTouchCallbacks&&o.emit("touchMove",b),h.previousX=h.currentX,h.previousY=h.currentY,h.currentX=O,h.currentY=R;const D=h.currentX-h.startX,L=h.currentY-h.startY;if(o.params.threshold&&Math.sqrt(D**2+L**2)<o.params.threshold)return;if(typeof c.isScrolling>"u"){let $;o.isHorizontal()&&h.currentY===h.startY||o.isVertical()&&h.currentX===h.startX?c.isScrolling=!1:D*D+L*L>=25&&($=Math.atan2(Math.abs(L),Math.abs(D))*180/Math.PI,c.isScrolling=o.isHorizontal()?$>p.touchAngle:90-$>p.touchAngle)}if(c.isScrolling&&o.emit("touchMoveOpposite",b),typeof c.startMoving>"u"&&(h.currentX!==h.startX||h.currentY!==h.startY)&&(c.startMoving=!0),c.isScrolling||b.type==="touchmove"&&c.preventTouchMoveFromPointerMove){c.isTouched=!1;return}if(!c.startMoving)return;o.allowClick=!1,!p.cssMode&&b.cancelable&&b.preventDefault(),p.touchMoveStopPropagation&&!p.nested&&b.stopPropagation();let M=o.isHorizontal()?D:L,U=o.isHorizontal()?h.currentX-h.previousX:h.currentY-h.previousY;p.oneWayMovement&&(M=Math.abs(M)*(m?1:-1),U=Math.abs(U)*(m?1:-1)),h.diff=M,M*=p.touchRatio,m&&(M=-M,U=-U);const P=o.touchesDirection;o.swipeDirection=M>0?"prev":"next",o.touchesDirection=U>0?"prev":"next";const N=o.params.loop&&!p.cssMode,z=o.touchesDirection==="next"&&o.allowSlideNext||o.touchesDirection==="prev"&&o.allowSlidePrev;if(!c.isMoved){if(N&&z&&o.loopFix({direction:o.swipeDirection}),c.startTranslate=o.getTranslate(),o.setTransition(0),o.animating){const $=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});o.wrapperEl.dispatchEvent($)}c.allowMomentumBounce=!1,p.grabCursor&&(o.allowSlideNext===!0||o.allowSlidePrev===!0)&&o.setGrabCursor(!0),o.emit("sliderFirstMove",b)}if(new Date().getTime(),p._loopSwapReset!==!1&&c.isMoved&&c.allowThresholdMove&&P!==o.touchesDirection&&N&&z&&Math.abs(M)>=1){Object.assign(h,{startX:O,startY:R,currentX:O,currentY:R,startTranslate:c.currentTranslate}),c.loopSwapReset=!0,c.startTranslate=c.currentTranslate;return}o.emit("sliderMove",b),c.isMoved=!0,c.currentTranslate=M+c.startTranslate;let j=!0,q=p.resistanceRatio;if(p.touchReleaseOnEdges&&(q=0),M>0?(N&&z&&c.allowThresholdMove&&c.currentTranslate>(p.centeredSlides?o.minTranslate()-o.slidesSizesGrid[o.activeIndex+1]-(p.slidesPerView!=="auto"&&o.slides.length-p.slidesPerView>=2?o.slidesSizesGrid[o.activeIndex+1]+o.params.spaceBetween:0)-o.params.spaceBetween:o.minTranslate())&&o.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),c.currentTranslate>o.minTranslate()&&(j=!1,p.resistance&&(c.currentTranslate=o.minTranslate()-1+(-o.minTranslate()+c.startTranslate+M)**q))):M<0&&(N&&z&&c.allowThresholdMove&&c.currentTranslate<(p.centeredSlides?o.maxTranslate()+o.slidesSizesGrid[o.slidesSizesGrid.length-1]+o.params.spaceBetween+(p.slidesPerView!=="auto"&&o.slides.length-p.slidesPerView>=2?o.slidesSizesGrid[o.slidesSizesGrid.length-1]+o.params.spaceBetween:0):o.maxTranslate())&&o.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:o.slides.length-(p.slidesPerView==="auto"?o.slidesPerViewDynamic():Math.ceil(parseFloat(p.slidesPerView,10)))}),c.currentTranslate<o.maxTranslate()&&(j=!1,p.resistance&&(c.currentTranslate=o.maxTranslate()+1-(o.maxTranslate()-c.startTranslate-M)**q))),j&&(b.preventedByNestedSwiper=!0),!o.allowSlideNext&&o.swipeDirection==="next"&&c.currentTranslate<c.startTranslate&&(c.currentTranslate=c.startTranslate),!o.allowSlidePrev&&o.swipeDirection==="prev"&&c.currentTranslate>c.startTranslate&&(c.currentTranslate=c.startTranslate),!o.allowSlidePrev&&!o.allowSlideNext&&(c.currentTranslate=c.startTranslate),p.threshold>0)if(Math.abs(M)>p.threshold||c.allowThresholdMove){if(!c.allowThresholdMove){c.allowThresholdMove=!0,h.startX=h.currentX,h.startY=h.currentY,c.currentTranslate=c.startTranslate,h.diff=o.isHorizontal()?h.currentX-h.startX:h.currentY-h.startY;return}}else{c.currentTranslate=c.startTranslate;return}!p.followFinger||p.cssMode||((p.freeMode&&p.freeMode.enabled&&o.freeMode||p.watchSlidesProgress)&&(o.updateActiveIndex(),o.updateSlidesClasses()),p.freeMode&&p.freeMode.enabled&&o.freeMode&&o.freeMode.onTouchMove(),o.updateProgress(c.currentTranslate),o.setTranslate(c.currentTranslate))}function pP(i){const l=this,o=l.touchEventsData;let c=i;c.originalEvent&&(c=c.originalEvent);let p;if(c.type==="touchend"||c.type==="touchcancel"){if(p=[...c.changedTouches].find($=>$.identifier===o.touchId),!p||p.identifier!==o.touchId)return}else{if(o.touchId!==null||c.pointerId!==o.pointerId)return;p=c}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(c.type)&&!(["pointercancel","contextmenu"].includes(c.type)&&(l.browser.isSafari||l.browser.isWebView)))return;o.pointerId=null,o.touchId=null;const{params:m,touches:w,rtlTranslate:b,slidesGrid:T,enabled:O}=l;if(!O||!m.simulateTouch&&c.pointerType==="mouse")return;if(o.allowTouchCallbacks&&l.emit("touchEnd",c),o.allowTouchCallbacks=!1,!o.isTouched){o.isMoved&&m.grabCursor&&l.setGrabCursor(!1),o.isMoved=!1,o.startMoving=!1;return}m.grabCursor&&o.isMoved&&o.isTouched&&(l.allowSlideNext===!0||l.allowSlidePrev===!0)&&l.setGrabCursor(!1);const R=ty(),D=R-o.touchStartTime;if(l.allowClick){const $=c.path||c.composedPath&&c.composedPath();l.updateClickedSlide($&&$[0]||c.target,$),l.emit("tap click",c),D<300&&R-o.lastClickTime<300&&l.emit("doubleTap doubleClick",c)}if(o.lastClickTime=ty(),fb(()=>{l.destroyed||(l.allowClick=!0)}),!o.isTouched||!o.isMoved||!l.swipeDirection||w.diff===0&&!o.loopSwapReset||o.currentTranslate===o.startTranslate&&!o.loopSwapReset){o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;return}o.isTouched=!1,o.isMoved=!1,o.startMoving=!1;let L;if(m.followFinger?L=b?l.translate:-l.translate:L=-o.currentTranslate,m.cssMode)return;if(m.freeMode&&m.freeMode.enabled){l.freeMode.onTouchEnd({currentPos:L});return}const M=L>=-l.maxTranslate()&&!l.params.loop;let U=0,P=l.slidesSizesGrid[0];for(let $=0;$<T.length;$+=$<m.slidesPerGroupSkip?1:m.slidesPerGroup){const se=$<m.slidesPerGroupSkip-1?1:m.slidesPerGroup;typeof T[$+se]<"u"?(M||L>=T[$]&&L<T[$+se])&&(U=$,P=T[$+se]-T[$]):(M||L>=T[$])&&(U=$,P=T[T.length-1]-T[T.length-2])}let N=null,z=null;m.rewind&&(l.isBeginning?z=m.virtual&&m.virtual.enabled&&l.virtual?l.virtual.slides.length-1:l.slides.length-1:l.isEnd&&(N=0));const j=(L-T[U])/P,q=U<m.slidesPerGroupSkip-1?1:m.slidesPerGroup;if(D>m.longSwipesMs){if(!m.longSwipes){l.slideTo(l.activeIndex);return}l.swipeDirection==="next"&&(j>=m.longSwipesRatio?l.slideTo(m.rewind&&l.isEnd?N:U+q):l.slideTo(U)),l.swipeDirection==="prev"&&(j>1-m.longSwipesRatio?l.slideTo(U+q):z!==null&&j<0&&Math.abs(j)>m.longSwipesRatio?l.slideTo(z):l.slideTo(U))}else{if(!m.shortSwipes){l.slideTo(l.activeIndex);return}l.navigation&&(c.target===l.navigation.nextEl||c.target===l.navigation.prevEl)?c.target===l.navigation.nextEl?l.slideTo(U+q):l.slideTo(U):(l.swipeDirection==="next"&&l.slideTo(N!==null?N:U+q),l.swipeDirection==="prev"&&l.slideTo(z!==null?z:U))}}function r1(){const i=this,{params:l,el:o}=i;if(o&&o.offsetWidth===0)return;l.breakpoints&&i.setBreakpoint();const{allowSlideNext:c,allowSlidePrev:p,snapGrid:h}=i,m=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();const w=m&&l.loop;(l.slidesPerView==="auto"||l.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!w?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!m?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=p,i.allowSlideNext=c,i.params.watchOverflow&&h!==i.snapGrid&&i.checkOverflow()}function vP(i){const l=this;l.enabled&&(l.allowClick||(l.params.preventClicks&&i.preventDefault(),l.params.preventClicksPropagation&&l.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function hP(){const i=this,{wrapperEl:l,rtlTranslate:o,enabled:c}=i;if(!c)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-l.scrollLeft:i.translate=-l.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let p;const h=i.maxTranslate()-i.minTranslate();h===0?p=0:p=(i.translate-i.minTranslate())/h,p!==i.progress&&i.updateProgress(o?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function mP(i){const l=this;Gg(l,i.target),!(l.params.cssMode||l.params.slidesPerView!=="auto"&&!l.params.autoHeight)&&l.update()}function gP(){const i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}const rR=(i,l)=>{const o=fc(),{params:c,el:p,wrapperEl:h,device:m}=i,w=!!c.nested,b=l==="on"?"addEventListener":"removeEventListener",T=l;!p||typeof p=="string"||(o[b]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:w}),p[b]("touchstart",i.onTouchStart,{passive:!1}),p[b]("pointerdown",i.onTouchStart,{passive:!1}),o[b]("touchmove",i.onTouchMove,{passive:!1,capture:w}),o[b]("pointermove",i.onTouchMove,{passive:!1,capture:w}),o[b]("touchend",i.onTouchEnd,{passive:!0}),o[b]("pointerup",i.onTouchEnd,{passive:!0}),o[b]("pointercancel",i.onTouchEnd,{passive:!0}),o[b]("touchcancel",i.onTouchEnd,{passive:!0}),o[b]("pointerout",i.onTouchEnd,{passive:!0}),o[b]("pointerleave",i.onTouchEnd,{passive:!0}),o[b]("contextmenu",i.onTouchEnd,{passive:!0}),(c.preventClicks||c.preventClicksPropagation)&&p[b]("click",i.onClick,!0),c.cssMode&&h[b]("scroll",i.onScroll),c.updateOnWindowResize?i[T](m.ios||m.android?"resize orientationchange observerUpdate":"resize observerUpdate",r1,!0):i[T]("observerUpdate",r1,!0),p[b]("load",i.onLoad,{capture:!0}))};function yP(){const i=this,{params:l}=i;i.onTouchStart=fP.bind(i),i.onTouchMove=dP.bind(i),i.onTouchEnd=pP.bind(i),i.onDocumentTouchStart=gP.bind(i),l.cssMode&&(i.onScroll=hP.bind(i)),i.onClick=vP.bind(i),i.onLoad=mP.bind(i),rR(i,"on")}function SP(){rR(this,"off")}var wP={attachEvents:yP,detachEvents:SP};const a1=(i,l)=>i.grid&&l.grid&&l.grid.rows>1;function bP(){const i=this,{realIndex:l,initialized:o,params:c,el:p}=i,h=c.breakpoints;if(!h||h&&Object.keys(h).length===0)return;const m=fc(),w=c.breakpointsBase==="window"||!c.breakpointsBase?c.breakpointsBase:"container",b=["window","container"].includes(c.breakpointsBase)||!c.breakpointsBase?i.el:m.querySelector(c.breakpointsBase),T=i.getBreakpoint(h,w,b);if(!T||i.currentBreakpoint===T)return;const R=(T in h?h[T]:void 0)||i.originalParams,D=a1(i,c),L=a1(i,R),M=i.params.grabCursor,U=R.grabCursor,P=c.enabled;D&&!L?(p.classList.remove(`${c.containerModifierClass}grid`,`${c.containerModifierClass}grid-column`),i.emitContainerClasses()):!D&&L&&(p.classList.add(`${c.containerModifierClass}grid`),(R.grid.fill&&R.grid.fill==="column"||!R.grid.fill&&c.grid.fill==="column")&&p.classList.add(`${c.containerModifierClass}grid-column`),i.emitContainerClasses()),M&&!U?i.unsetGrabCursor():!M&&U&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(se=>{if(typeof R[se]>"u")return;const le=c[se]&&c[se].enabled,ve=R[se]&&R[se].enabled;le&&!ve&&i[se].disable(),!le&&ve&&i[se].enable()});const N=R.direction&&R.direction!==c.direction,z=c.loop&&(R.slidesPerView!==c.slidesPerView||N),j=c.loop;N&&o&&i.changeDirection(),Wa(i.params,R);const q=i.params.enabled,$=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),P&&!q?i.disable():!P&&q&&i.enable(),i.currentBreakpoint=T,i.emit("_beforeBreakpoint",R),o&&(z?(i.loopDestroy(),i.loopCreate(l),i.updateSlides()):!j&&$?(i.loopCreate(l),i.updateSlides()):j&&!$&&i.loopDestroy()),i.emit("breakpoint",R)}function EP(i,l,o){if(l===void 0&&(l="window"),!i||l==="container"&&!o)return;let c=!1;const p=da(),h=l==="window"?p.innerHeight:o.clientHeight,m=Object.keys(i).map(w=>{if(typeof w=="string"&&w.indexOf("@")===0){const b=parseFloat(w.substr(1));return{value:h*b,point:w}}return{value:w,point:w}});m.sort((w,b)=>parseInt(w.value,10)-parseInt(b.value,10));for(let w=0;w<m.length;w+=1){const{point:b,value:T}=m[w];l==="window"?p.matchMedia(`(min-width: ${T}px)`).matches&&(c=b):T<=o.clientWidth&&(c=b)}return c||"max"}var TP={setBreakpoint:bP,getBreakpoint:EP};function CP(i,l){const o=[];return i.forEach(c=>{typeof c=="object"?Object.keys(c).forEach(p=>{c[p]&&o.push(l+p)}):typeof c=="string"&&o.push(l+c)}),o}function xP(){const i=this,{classNames:l,params:o,rtl:c,el:p,device:h}=i,m=CP(["initialized",o.direction,{"free-mode":i.params.freeMode&&o.freeMode.enabled},{autoheight:o.autoHeight},{rtl:c},{grid:o.grid&&o.grid.rows>1},{"grid-column":o.grid&&o.grid.rows>1&&o.grid.fill==="column"},{android:h.android},{ios:h.ios},{"css-mode":o.cssMode},{centered:o.cssMode&&o.centeredSlides},{"watch-progress":o.watchSlidesProgress}],o.containerModifierClass);l.push(...m),p.classList.add(...l),i.emitContainerClasses()}function RP(){const i=this,{el:l,classNames:o}=i;!l||typeof l=="string"||(l.classList.remove(...o),i.emitContainerClasses())}var OP={addClasses:xP,removeClasses:RP};function kP(){const i=this,{isLocked:l,params:o}=i,{slidesOffsetBefore:c}=o;if(c){const p=i.slides.length-1,h=i.slidesGrid[p]+i.slidesSizesGrid[p]+c*2;i.isLocked=i.size>h}else i.isLocked=i.snapGrid.length===1;o.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),o.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),l&&l!==i.isLocked&&(i.isEnd=!1),l!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var DP={checkOverflow:kP},vb={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",spaceBetween: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};function _P(i,l){return function(c){c===void 0&&(c={});const p=Object.keys(c)[0],h=c[p];if(typeof h!="object"||h===null){Wa(l,c);return}if(i[p]===!0&&(i[p]={enabled:!0}),p==="navigation"&&i[p]&&i[p].enabled&&!i[p].prevEl&&!i[p].nextEl&&(i[p].auto=!0),["pagination","scrollbar"].indexOf(p)>=0&&i[p]&&i[p].enabled&&!i[p].el&&(i[p].auto=!0),!(p in i&&"enabled"in h)){Wa(l,c);return}typeof i[p]=="object"&&!("enabled"in i[p])&&(i[p].enabled=!0),i[p]||(i[p]={enabled:!1}),Wa(l,c)}}const Ww={eventsEmitter:OA,update:UA,translate:$A,transition:qA,slide:nP,loop:lP,grabCursor:sP,events:wP,breakpoints:TP,checkOverflow:DP,classes:OP},Gw={};let Ob=class Do{constructor(){let l,o;for(var c=arguments.length,p=new Array(c),h=0;h<c;h++)p[h]=arguments[h];p.length===1&&p[0].constructor&&Object.prototype.toString.call(p[0]).slice(8,-1)==="Object"?o=p[0]:[l,o]=p,o||(o={}),o=Wa({},o),l&&!o.el&&(o.el=l);const m=fc();if(o.el&&typeof o.el=="string"&&m.querySelectorAll(o.el).length>1){const O=[];return m.querySelectorAll(o.el).forEach(R=>{const D=Wa({},o,{el:R});O.push(new Do(D))}),O}const w=this;w.__swiper__=!0,w.support=J1(),w.device=eR({userAgent:o.userAgent}),w.browser=tR(),w.eventsListeners={},w.eventsAnyListeners=[],w.modules=[...w.__modules__],o.modules&&Array.isArray(o.modules)&&w.modules.push(...o.modules);const b={};w.modules.forEach(O=>{O({params:o,swiper:w,extendParams:_P(o,b),on:w.on.bind(w),once:w.once.bind(w),off:w.off.bind(w),emit:w.emit.bind(w)})});const T=Wa({},vb,b);return w.params=Wa({},T,Gw,o),w.originalParams=Wa({},w.params),w.passedParams=Wa({},o),w.params&&w.params.on&&Object.keys(w.params.on).forEach(O=>{w.on(O,w.params.on[O])}),w.params&&w.params.onAny&&w.onAny(w.params.onAny),Object.assign(w,{enabled:w.params.enabled,el:l,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return w.params.direction==="horizontal"},isVertical(){return w.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:w.params.allowSlideNext,allowSlidePrev:w.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:w.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:w.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),w.emit("_swiper"),w.params.init&&w.init(),w}getDirectionLabel(l){return this.isHorizontal()?l:{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"}[l]}getSlideIndex(l){const{slidesEl:o,params:c}=this,p=Mo(o,`.${c.slideClass}, swiper-slide`),h=Zx(p[0]);return Zx(l)-h}getSlideIndexByData(l){return this.getSlideIndex(this.slides.find(o=>o.getAttribute("data-swiper-slide-index")*1===l))}recalcSlides(){const l=this,{slidesEl:o,params:c}=l;l.slides=Mo(o,`.${c.slideClass}, swiper-slide`)}enable(){const l=this;l.enabled||(l.enabled=!0,l.params.grabCursor&&l.setGrabCursor(),l.emit("enable"))}disable(){const l=this;l.enabled&&(l.enabled=!1,l.params.grabCursor&&l.unsetGrabCursor(),l.emit("disable"))}setProgress(l,o){const c=this;l=Math.min(Math.max(l,0),1);const p=c.minTranslate(),m=(c.maxTranslate()-p)*l+p;c.translateTo(m,typeof o>"u"?0:o),c.updateActiveIndex(),c.updateSlidesClasses()}emitContainerClasses(){const l=this;if(!l.params._emitClasses||!l.el)return;const o=l.el.className.split(" ").filter(c=>c.indexOf("swiper")===0||c.indexOf(l.params.containerModifierClass)===0);l.emit("_containerClasses",o.join(" "))}getSlideClasses(l){const o=this;return o.destroyed?"":l.className.split(" ").filter(c=>c.indexOf("swiper-slide")===0||c.indexOf(o.params.slideClass)===0).join(" ")}emitSlidesClasses(){const l=this;if(!l.params._emitClasses||!l.el)return;const o=[];l.slides.forEach(c=>{const p=l.getSlideClasses(c);o.push({slideEl:c,classNames:p}),l.emit("_slideClass",c,p)}),l.emit("_slideClasses",o)}slidesPerViewDynamic(l,o){l===void 0&&(l="current"),o===void 0&&(o=!1);const c=this,{params:p,slides:h,slidesGrid:m,slidesSizesGrid:w,size:b,activeIndex:T}=c;let O=1;if(typeof p.slidesPerView=="number")return p.slidesPerView;if(p.centeredSlides){let R=h[T]?Math.ceil(h[T].swiperSlideSize):0,D;for(let L=T+1;L<h.length;L+=1)h[L]&&!D&&(R+=Math.ceil(h[L].swiperSlideSize),O+=1,R>b&&(D=!0));for(let L=T-1;L>=0;L-=1)h[L]&&!D&&(R+=h[L].swiperSlideSize,O+=1,R>b&&(D=!0))}else if(l==="current")for(let R=T+1;R<h.length;R+=1)(o?m[R]+w[R]-m[T]<b:m[R]-m[T]<b)&&(O+=1);else for(let R=T-1;R>=0;R-=1)m[T]-m[R]<b&&(O+=1);return O}update(){const l=this;if(!l||l.destroyed)return;const{snapGrid:o,params:c}=l;c.breakpoints&&l.setBreakpoint(),[...l.el.querySelectorAll('[loading="lazy"]')].forEach(m=>{m.complete&&Gg(l,m)}),l.updateSize(),l.updateSlides(),l.updateProgress(),l.updateSlidesClasses();function p(){const m=l.rtlTranslate?l.translate*-1:l.translate,w=Math.min(Math.max(m,l.maxTranslate()),l.minTranslate());l.setTranslate(w),l.updateActiveIndex(),l.updateSlidesClasses()}let h;if(c.freeMode&&c.freeMode.enabled&&!c.cssMode)p(),c.autoHeight&&l.updateAutoHeight();else{if((c.slidesPerView==="auto"||c.slidesPerView>1)&&l.isEnd&&!c.centeredSlides){const m=l.virtual&&c.virtual.enabled?l.virtual.slides:l.slides;h=l.slideTo(m.length-1,0,!1,!0)}else h=l.slideTo(l.activeIndex,0,!1,!0);h||p()}c.watchOverflow&&o!==l.snapGrid&&l.checkOverflow(),l.emit("update")}changeDirection(l,o){o===void 0&&(o=!0);const c=this,p=c.params.direction;return l||(l=p==="horizontal"?"vertical":"horizontal"),l===p||l!=="horizontal"&&l!=="vertical"||(c.el.classList.remove(`${c.params.containerModifierClass}${p}`),c.el.classList.add(`${c.params.containerModifierClass}${l}`),c.emitContainerClasses(),c.params.direction=l,c.slides.forEach(h=>{l==="vertical"?h.style.width="":h.style.height=""}),c.emit("changeDirection"),o&&c.update()),c}changeLanguageDirection(l){const o=this;o.rtl&&l==="rtl"||!o.rtl&&l==="ltr"||(o.rtl=l==="rtl",o.rtlTranslate=o.params.direction==="horizontal"&&o.rtl,o.rtl?(o.el.classList.add(`${o.params.containerModifierClass}rtl`),o.el.dir="rtl"):(o.el.classList.remove(`${o.params.containerModifierClass}rtl`),o.el.dir="ltr"),o.update())}mount(l){const o=this;if(o.mounted)return!0;let c=l||o.params.el;if(typeof c=="string"&&(c=document.querySelector(c)),!c)return!1;c.swiper=o,c.parentNode&&c.parentNode.host&&c.parentNode.host.nodeName===o.params.swiperElementNodeName.toUpperCase()&&(o.isElement=!0);const p=()=>`.${(o.params.wrapperClass||"").trim().split(" ").join(".")}`;let m=c&&c.shadowRoot&&c.shadowRoot.querySelector?c.shadowRoot.querySelector(p()):Mo(c,p())[0];return!m&&o.params.createElements&&(m=db("div",o.params.wrapperClass),c.append(m),Mo(c,`.${o.params.slideClass}`).forEach(w=>{m.append(w)})),Object.assign(o,{el:c,wrapperEl:m,slidesEl:o.isElement&&!c.parentNode.host.slideSlots?c.parentNode.host:m,hostEl:o.isElement?c.parentNode.host:c,mounted:!0,rtl:c.dir.toLowerCase()==="rtl"||Du(c,"direction")==="rtl",rtlTranslate:o.params.direction==="horizontal"&&(c.dir.toLowerCase()==="rtl"||Du(c,"direction")==="rtl"),wrongRTL:Du(m,"display")==="-webkit-box"}),!0}init(l){const o=this;if(o.initialized||o.mount(l)===!1)return o;o.emit("beforeInit"),o.params.breakpoints&&o.setBreakpoint(),o.addClasses(),o.updateSize(),o.updateSlides(),o.params.watchOverflow&&o.checkOverflow(),o.params.grabCursor&&o.enabled&&o.setGrabCursor(),o.params.loop&&o.virtual&&o.params.virtual.enabled?o.slideTo(o.params.initialSlide+o.virtual.slidesBefore,0,o.params.runCallbacksOnInit,!1,!0):o.slideTo(o.params.initialSlide,0,o.params.runCallbacksOnInit,!1,!0),o.params.loop&&o.loopCreate(void 0,!0),o.attachEvents();const p=[...o.el.querySelectorAll('[loading="lazy"]')];return o.isElement&&p.push(...o.hostEl.querySelectorAll('[loading="lazy"]')),p.forEach(h=>{h.complete?Gg(o,h):h.addEventListener("load",m=>{Gg(o,m.target)})}),pb(o),o.initialized=!0,pb(o),o.emit("init"),o.emit("afterInit"),o}destroy(l,o){l===void 0&&(l=!0),o===void 0&&(o=!0);const c=this,{params:p,el:h,wrapperEl:m,slides:w}=c;return typeof c.params>"u"||c.destroyed||(c.emit("beforeDestroy"),c.initialized=!1,c.detachEvents(),p.loop&&c.loopDestroy(),o&&(c.removeClasses(),h&&typeof h!="string"&&h.removeAttribute("style"),m&&m.removeAttribute("style"),w&&w.length&&w.forEach(b=>{b.classList.remove(p.slideVisibleClass,p.slideFullyVisibleClass,p.slideActiveClass,p.slideNextClass,p.slidePrevClass),b.removeAttribute("style"),b.removeAttribute("data-swiper-slide-index")})),c.emit("destroy"),Object.keys(c.eventsListeners).forEach(b=>{c.off(b)}),l!==!1&&(c.el&&typeof c.el!="string"&&(c.el.swiper=null),pA(c)),c.destroyed=!0),null}static extendDefaults(l){Wa(Gw,l)}static get extendedDefaults(){return Gw}static get defaults(){return vb}static installModule(l){Do.prototype.__modules__||(Do.prototype.__modules__=[]);const o=Do.prototype.__modules__;typeof l=="function"&&o.indexOf(l)<0&&o.push(l)}static use(l){return Array.isArray(l)?(l.forEach(o=>Do.installModule(o)),Do):(Do.installModule(l),Do)}};Object.keys(Ww).forEach(i=>{Object.keys(Ww[i]).forEach(l=>{Ob.prototype[l]=Ww[i][l]})});Ob.use([xA,RA]);const aR=["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 oc(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"&&!i.__swiper__}function pd(i,l){const o=["__proto__","constructor","prototype"];Object.keys(l).filter(c=>o.indexOf(c)<0).forEach(c=>{typeof i[c]>"u"?i[c]=l[c]:oc(l[c])&&oc(i[c])&&Object.keys(l[c]).length>0?l[c].__swiper__?i[c]=l[c]:pd(i[c],l[c]):i[c]=l[c]})}function iR(i){return i===void 0&&(i={}),i.navigation&&typeof i.navigation.nextEl>"u"&&typeof i.navigation.prevEl>"u"}function lR(i){return i===void 0&&(i={}),i.pagination&&typeof i.pagination.el>"u"}function oR(i){return i===void 0&&(i={}),i.scrollbar&&typeof i.scrollbar.el>"u"}function uR(i){i===void 0&&(i="");const l=i.split(" ").map(c=>c.trim()).filter(c=>!!c),o=[];return l.forEach(c=>{o.indexOf(c)<0&&o.push(c)}),o.join(" ")}function MP(i){return i===void 0&&(i=""),i?i.includes("swiper-wrapper")?i:`swiper-wrapper ${i}`:"swiper-wrapper"}function LP(i){let{swiper:l,slides:o,passedParams:c,changedParams:p,nextEl:h,prevEl:m,scrollbarEl:w,paginationEl:b}=i;const T=p.filter(ee=>ee!=="children"&&ee!=="direction"&&ee!=="wrapperClass"),{params:O,pagination:R,navigation:D,scrollbar:L,virtual:M,thumbs:U}=l;let P,N,z,j,q,$,se,le;p.includes("thumbs")&&c.thumbs&&c.thumbs.swiper&&!c.thumbs.swiper.destroyed&&O.thumbs&&(!O.thumbs.swiper||O.thumbs.swiper.destroyed)&&(P=!0),p.includes("controller")&&c.controller&&c.controller.control&&O.controller&&!O.controller.control&&(N=!0),p.includes("pagination")&&c.pagination&&(c.pagination.el||b)&&(O.pagination||O.pagination===!1)&&R&&!R.el&&(z=!0),p.includes("scrollbar")&&c.scrollbar&&(c.scrollbar.el||w)&&(O.scrollbar||O.scrollbar===!1)&&L&&!L.el&&(j=!0),p.includes("navigation")&&c.navigation&&(c.navigation.prevEl||m)&&(c.navigation.nextEl||h)&&(O.navigation||O.navigation===!1)&&D&&!D.prevEl&&!D.nextEl&&(q=!0);const ve=ee=>{l[ee]&&(l[ee].destroy(),ee==="navigation"?(l.isElement&&(l[ee].prevEl.remove(),l[ee].nextEl.remove()),O[ee].prevEl=void 0,O[ee].nextEl=void 0,l[ee].prevEl=void 0,l[ee].nextEl=void 0):(l.isElement&&l[ee].el.remove(),O[ee].el=void 0,l[ee].el=void 0))};p.includes("loop")&&l.isElement&&(O.loop&&!c.loop?$=!0:!O.loop&&c.loop?se=!0:le=!0),T.forEach(ee=>{if(oc(O[ee])&&oc(c[ee]))Object.assign(O[ee],c[ee]),(ee==="navigation"||ee==="pagination"||ee==="scrollbar")&&"enabled"in c[ee]&&!c[ee].enabled&&ve(ee);else{const J=c[ee];(J===!0||J===!1)&&(ee==="navigation"||ee==="pagination"||ee==="scrollbar")?J===!1&&ve(ee):O[ee]=c[ee]}}),T.includes("controller")&&!N&&l.controller&&l.controller.control&&O.controller&&O.controller.control&&(l.controller.control=O.controller.control),p.includes("children")&&o&&M&&O.virtual.enabled?(M.slides=o,M.update(!0)):p.includes("virtual")&&M&&O.virtual.enabled&&(o&&(M.slides=o),M.update(!0)),p.includes("children")&&o&&O.loop&&(le=!0),P&&U.init()&&U.update(!0),N&&(l.controller.control=O.controller.control),z&&(l.isElement&&(!b||typeof b=="string")&&(b=document.createElement("div"),b.classList.add("swiper-pagination"),b.part.add("pagination"),l.el.appendChild(b)),b&&(O.pagination.el=b),R.init(),R.render(),R.update()),j&&(l.isElement&&(!w||typeof w=="string")&&(w=document.createElement("div"),w.classList.add("swiper-scrollbar"),w.part.add("scrollbar"),l.el.appendChild(w)),w&&(O.scrollbar.el=w),L.init(),L.updateSize(),L.setTranslate()),q&&(l.isElement&&((!h||typeof h=="string")&&(h=document.createElement("div"),h.classList.add("swiper-button-next"),e1(h,l.hostEl.constructor.nextButtonSvg),h.part.add("button-next"),l.el.appendChild(h)),(!m||typeof m=="string")&&(m=document.createElement("div"),m.classList.add("swiper-button-prev"),e1(m,l.hostEl.constructor.prevButtonSvg),m.part.add("button-prev"),l.el.appendChild(m))),h&&(O.navigation.nextEl=h),m&&(O.navigation.prevEl=m),D.init(),D.update()),p.includes("allowSlideNext")&&(l.allowSlideNext=c.allowSlideNext),p.includes("allowSlidePrev")&&(l.allowSlidePrev=c.allowSlidePrev),p.includes("direction")&&l.changeDirection(c.direction,!1),($||le)&&l.loopDestroy(),(se||le)&&l.loopCreate(),l.update()}function NP(i,l){i===void 0&&(i={}),l===void 0&&(l=!0);const o={on:{}},c={},p={};pd(o,vb),o._emitClasses=!0,o.init=!1;const h={},m=aR.map(b=>b.replace(/_/,"")),w=Object.assign({},i);return Object.keys(w).forEach(b=>{typeof i[b]>"u"||(m.indexOf(b)>=0?oc(i[b])?(o[b]={},p[b]={},pd(o[b],i[b]),pd(p[b],i[b])):(o[b]=i[b],p[b]=i[b]):b.search(/on[A-Z]/)===0&&typeof i[b]=="function"?l?c[`${b[2].toLowerCase()}${b.substr(3)}`]=i[b]:o.on[`${b[2].toLowerCase()}${b.substr(3)}`]=i[b]:h[b]=i[b])}),["navigation","pagination","scrollbar"].forEach(b=>{o[b]===!0&&(o[b]={}),o[b]===!1&&delete o[b]}),{params:o,passedParams:p,rest:h,events:c}}function zP(i,l){let{el:o,nextEl:c,prevEl:p,paginationEl:h,scrollbarEl:m,swiper:w}=i;iR(l)&&c&&p&&(w.params.navigation.nextEl=c,w.originalParams.navigation.nextEl=c,w.params.navigation.prevEl=p,w.originalParams.navigation.prevEl=p),lR(l)&&h&&(w.params.pagination.el=h,w.originalParams.pagination.el=h),oR(l)&&m&&(w.params.scrollbar.el=m,w.originalParams.scrollbar.el=m),w.init(o)}function AP(i,l,o,c,p){const h=[];if(!l)return h;const m=b=>{h.indexOf(b)<0&&h.push(b)};if(o&&c){const b=c.map(p),T=o.map(p);b.join("")!==T.join("")&&m("children"),c.length!==o.length&&m("children")}return aR.filter(b=>b[0]==="_").map(b=>b.replace(/_/,"")).forEach(b=>{if(b in i&&b in l)if(oc(i[b])&&oc(l[b])){const T=Object.keys(i[b]),O=Object.keys(l[b]);T.length!==O.length?m(b):(T.forEach(R=>{i[b][R]!==l[b][R]&&m(b)}),O.forEach(R=>{i[b][R]!==l[b][R]&&m(b)}))}else i[b]!==l[b]&&m(b)}),h}const PP=i=>{!i||i.destroyed||!i.params.virtual||i.params.virtual&&!i.params.virtual.enabled||(i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.emit("_virtualUpdated"),i.parallax&&i.params.parallax&&i.params.parallax.enabled&&i.parallax.setTranslate())};function ry(){return ry=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var o=arguments[l];for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(i[c]=o[c])}return i},ry.apply(this,arguments)}function sR(i){return i.type&&i.type.displayName&&i.type.displayName.includes("SwiperSlide")}function cR(i){const l=[];return Ie.Children.toArray(i).forEach(o=>{sR(o)?l.push(o):o.props&&o.props.children&&cR(o.props.children).forEach(c=>l.push(c))}),l}function jP(i){const l=[],o={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return Ie.Children.toArray(i).forEach(c=>{if(sR(c))l.push(c);else if(c.props&&c.props.slot&&o[c.props.slot])o[c.props.slot].push(c);else if(c.props&&c.props.children){const p=cR(c.props.children);p.length>0?p.forEach(h=>l.push(h)):o["container-end"].push(c)}else o["container-end"].push(c)}),{slides:l,slots:o}}function UP(i,l,o){if(!o)return null;const c=O=>{let R=O;return O<0?R=l.length+O:R>=l.length&&(R=R-l.length),R},p=i.isHorizontal()?{[i.rtlTranslate?"right":"left"]:`${o.offset}px`}:{top:`${o.offset}px`},{from:h,to:m}=o,w=i.params.loop?-l.length:0,b=i.params.loop?l.length*2:l.length,T=[];for(let O=w;O<b;O+=1)O>=h&&O<=m&&T.push(l[c(O)]);return T.map((O,R)=>Ie.cloneElement(O,{swiper:i,style:p,key:O.props.virtualIndex||O.key||`slide-${R}`}))}function Iv(i,l){return typeof window>"u"?Ie.useEffect(i,l):Ie.useLayoutEffect(i,l)}const i1=Ie.createContext(null),FP=Ie.createContext(null),fR=Ie.forwardRef(function(i,l){let{className:o,tag:c="div",wrapperTag:p="div",children:h,onSwiper:m,...w}=i===void 0?{}:i,b=!1;const[T,O]=Ie.useState("swiper"),[R,D]=Ie.useState(null),[L,M]=Ie.useState(!1),U=Ie.useRef(!1),P=Ie.useRef(null),N=Ie.useRef(null),z=Ie.useRef(null),j=Ie.useRef(null),q=Ie.useRef(null),$=Ie.useRef(null),se=Ie.useRef(null),le=Ie.useRef(null),{params:ve,passedParams:ee,rest:J,events:re}=NP(w),{slides:oe,slots:we}=jP(h),Qe=()=>{M(!L)};Object.assign(ve.on,{_containerClasses(Se,ye){O(ye)}});const Ge=()=>{Object.assign(ve.on,re),b=!0;const Se={...ve};if(delete Se.wrapperClass,N.current=new Ob(Se),N.current.virtual&&N.current.params.virtual.enabled){N.current.virtual.slides=oe;const ye={cache:!1,slides:oe,renderExternal:D,renderExternalUpdate:!1};pd(N.current.params.virtual,ye),pd(N.current.originalParams.virtual,ye)}};P.current||Ge(),N.current&&N.current.on("_beforeBreakpoint",Qe);const be=()=>{b||!re||!N.current||Object.keys(re).forEach(Se=>{N.current.on(Se,re[Se])})},$e=()=>{!re||!N.current||Object.keys(re).forEach(Se=>{N.current.off(Se,re[Se])})};Ie.useEffect(()=>()=>{N.current&&N.current.off("_beforeBreakpoint",Qe)}),Ie.useEffect(()=>{!U.current&&N.current&&(N.current.emitSlidesClasses(),U.current=!0)}),Iv(()=>{if(l&&(l.current=P.current),!!P.current)return N.current.destroyed&&Ge(),zP({el:P.current,nextEl:q.current,prevEl:$.current,paginationEl:se.current,scrollbarEl:le.current,swiper:N.current},ve),m&&!N.current.destroyed&&m(N.current),()=>{N.current&&!N.current.destroyed&&N.current.destroy(!0,!1)}},[]),Iv(()=>{be();const Se=AP(ee,z.current,oe,j.current,ye=>ye.key);return z.current=ee,j.current=oe,Se.length&&N.current&&!N.current.destroyed&&LP({swiper:N.current,slides:oe,passedParams:ee,changedParams:Se,nextEl:q.current,prevEl:$.current,scrollbarEl:le.current,paginationEl:se.current}),()=>{$e()}}),Iv(()=>{PP(N.current)},[R]);function ue(){return ve.virtual?UP(N.current,oe,R):oe.map((Se,ye)=>Ie.cloneElement(Se,{swiper:N.current,swiperSlideIndex:ye}))}return Ie.createElement(c,ry({ref:P,className:uR(`${T}${o?` ${o}`:""}`)},J),Ie.createElement(FP.Provider,{value:N.current},we["container-start"],Ie.createElement(p,{className:MP(ve.wrapperClass)},we["wrapper-start"],ue(),we["wrapper-end"]),iR(ve)&&Ie.createElement(Ie.Fragment,null,Ie.createElement("div",{ref:$,className:"swiper-button-prev"}),Ie.createElement("div",{ref:q,className:"swiper-button-next"})),oR(ve)&&Ie.createElement("div",{ref:le,className:"swiper-scrollbar"}),lR(ve)&&Ie.createElement("div",{ref:se,className:"swiper-pagination"}),we["container-end"]))});fR.displayName="Swiper";const dR=Ie.forwardRef(function(i,l){let{tag:o="div",children:c,className:p="",swiper:h,zoom:m,lazy:w,virtualIndex:b,swiperSlideIndex:T,...O}=i===void 0?{}:i;const R=Ie.useRef(null),[D,L]=Ie.useState("swiper-slide"),[M,U]=Ie.useState(!1);function P(q,$,se){$===R.current&&L(se)}Iv(()=>{if(typeof T<"u"&&(R.current.swiperSlideIndex=T),l&&(l.current=R.current),!(!R.current||!h)){if(h.destroyed){D!=="swiper-slide"&&L("swiper-slide");return}return h.on("_slideClass",P),()=>{h&&h.off("_slideClass",P)}}}),Iv(()=>{h&&R.current&&!h.destroyed&&L(h.getSlideClasses(R.current))},[h]);const N={isActive:D.indexOf("swiper-slide-active")>=0,isVisible:D.indexOf("swiper-slide-visible")>=0,isPrev:D.indexOf("swiper-slide-prev")>=0,isNext:D.indexOf("swiper-slide-next")>=0},z=()=>typeof c=="function"?c(N):c,j=()=>{U(!0)};return Ie.createElement(o,ry({ref:R,className:uR(`${D}${p?` ${p}`:""}`),"data-swiper-slide-index":b,onLoad:j},O),m&&Ie.createElement(i1.Provider,{value:N},Ie.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof m=="number"?m:void 0},z(),w&&!M&&Ie.createElement("div",{className:"swiper-lazy-preloader"}))),!m&&Ie.createElement(i1.Provider,{value:N},z(),w&&!M&&Ie.createElement("div",{className:"swiper-lazy-preloader"})))});dR.displayName="SwiperSlide";const IP="sliderTestId",HP=({spaceBetween:i,slidesPerView:l,block:o,breakpoints:c,modules:p,children:h})=>ge.jsx(fR,{className:ar(o,"slider"),"data-testid":IP,modules:p,spaceBetween:i,slidesPerView:l,breakpoints:c,children:h}),BP=Object.assign(HP,{Slide:dR}),VP=Object.freeze({LEFT:"left",RIGHT:"right"}),$P="sliderNavigateTestId",WP="navigateButtonTestId",GP={left:ge.jsx(Dl.ArrowNarrowLeft,{}),right:ge.jsx(Dl.ArrowNarrowRight,{})},YP=({placement:i})=>ge.jsx("button",{"data-testid":WP,type:"button",className:"slider-navigate__button",children:GP[i]}),qP=()=>ge.jsx("div",{"data-testid":$P,className:"slider-navigate",children:Object.values(VP).map(i=>ge.jsx(YP,{placement:i},i))}),QP=({block:i,isOpen:l,textContent:o,title:c,onClick:p})=>ge.jsxs(ic.Layout,{isOpen:l,block:i,children:[ge.jsx(ic.Block,{title:c,onClick:p}),ge.jsx(ic.Content,{isOpen:l,children:o})]}),XP=({isOpen:i,children:l})=>{const{style:o,contentRef:c}=d1(i);return ge.jsx("div",{style:o,className:"accordion__content",children:ge.jsx("p",{className:"accordion__text",ref:c,children:l})})},KP=()=>ge.jsx(Dl.ArrowNarrowDown,{className:"accordion__arrow"}),ZP=({title:i})=>ge.jsx("h3",{className:"accordion__title",children:i}),JP=({onClick:i,title:l})=>ge.jsxs(ic.Button,{onClick:i,children:[ge.jsx(ic.Title,{title:l}),ge.jsx(ic.Arrow,{})]}),e3="accordionTestId",t3=({block:i,isOpen:l,children:o})=>ge.jsx("div",{"data-testid":e3,className:ar(i,"accordion",{_active:l}),children:o}),n3=({onClick:i,children:l})=>ge.jsx("button",{onClick:i,type:"button",className:"accordion__button",children:l}),ic=Object.assign(QP,{Content:XP,Arrow:KP,Title:ZP,Block:JP,Layout:t3,Button:n3});exports.Accordion=ic;exports.Button=hb;exports.ButtonWithIcon=p1;exports.Category=rL;exports.Checkbox=Bg;exports.Dropdown=Av;exports.FavButton=ML;exports.Field=Yw;exports.FilterAccordion=sd;exports.FilterButton=qL;exports.Gallery=HN;exports.Input=x1;exports.LinkWithIcon=uz;exports.NavLink=sz;exports.Pagination=Fv;exports.RangeSlider=eA;exports.RouterLink=B1;exports.Select=rc;exports.Slider=BP;exports.SliderNavigate=qP;
192
192
  //# sourceMappingURL=index.js.map