1var e,t,n,r,i,o,a,s,l,c,u,d,h,f,p,m,g,v,y,b,C,w,E,k,S,x,T,M,A,L,P,R,O,D,I,_,F,$,N,B,j,z,V,H,U,W,G,q,K,Y,Z,Q,X,J,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,de,he,fe,pe,me,ge,ve,ye,be,Ce,we,Ee,ke,Se,xe,Te,Me=Object.defineProperty,Ae=e=>{throw TypeError(e)},Le=(e,t,n)=>((e,t,n)=>t in e?Me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),Pe=(e,t,n)=>t.has(e)||Ae("Cannot "+n),Re=(e,t,n)=>(Pe(e,t,"read from private field"),n?n.call(e):t.get(e)),Oe=(e,t,n)=>t.has(e)?Ae("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),De=(e,t,n,r)=>(Pe(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ie=(e,t,n)=>(Pe(e,t,"access private method"),n),_e=(e,t,n,r)=>({set _(r){De(e,t,r,n)},get _(){return Re(e,t,r)}});function Fe(e,t){for(var n=0;n<t.length;n++){const r=t[n];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(r,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var $e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Ne(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Be,je,ze={exports:{}},Ve={},He=(je||(je=1,ze.exports=function(){if(Be)return Ve;Be=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==n.key&&(i=""+n.key),"key"in n)for(var o in r={},n)"key"!==o&&(r[o]=n[o]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:i,ref:void 0!==n?n:null,props:r}}return Ve.Fragment=t,Ve.jsx=n,Ve.jsxs=n,Ve}()),ze.exports),Ue=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},We=new(r=class extends Ue{constructor(){super(),Oe(this,e),Oe(this,t),Oe(this,n),De(this,n,e=>{if("undefined"!=typeof window&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}onSubscribe(){Re(this,t)||this.setEventListener(Re(this,n))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=Re(this,t))||e.call(this),De(this,t,void 0))}setEventListener(e){var r;De(this,n,e),null==(r=Re(this,t))||r.call(this),De(this,t,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(t){Re(this,e)!==t&&(De(this,e,t),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var t;return"boolean"==typeof Re(this,e)?Re(this,e):"hidden"!==(null==(t=globalThis.document)?void 0:t.visibilityState)}},e=new WeakMap,t=new WeakMap,n=new WeakMap,r),Ge={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},qe=new(a=class{constructor(){Oe(this,i,Ge),Oe(this,o,!1)}setTimeoutProvider(e){De(this,i,e)}setTimeout(e,t){return Re(this,i).setTimeout(e,t)}clearTimeout(e){Re(this,i).clearTimeout(e)}setInterval(e,t){return Re(this,i).setInterval(e,t)}clearInterval(e){Re(this,i).clearInterval(e)}},i=new WeakMap,o=new WeakMap,a),Ke="undefined"==typeof window||"Deno"in globalThis;function Ye(){}function Ze(e){return"number"==typeof e&&e>=0&&e!==1/0}function Qe(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Xe(e,t){return"function"==typeof e?e(t):e}function Je(e,t){return"function"==typeof e?e(t):e}function et(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:s}=e;if(a)if(r){if(t.queryHash!==nt(a,t.options))return!1}else if(!it(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||i&&i!==t.state.fetchStatus||o&&!o(t))}function tt(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(rt(t.options.mutationKey)!==rt(o))return!1}else if(!it(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function nt(e,t){return((null==t?void 0:t.queryKeyHashFn)||rt)(e)}function rt(e){return JSON.stringify(e,(e,t)=>ct(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function it(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(n=>it(e[n],t[n]))}var ot=Object.prototype.hasOwnProperty;function at(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=lt(e)&<(t);if(!(r||ct(e)&&ct(t)))return t;const i=(r?e:Object.keys(e)).length,o=r?t:Object.keys(t),a=o.length,s=r?new Array(a):{};let l=0;for(let c=0;c<a;c++){const a=r?c:o[c],u=e[a],d=t[a];if(u===d){s[a]=u,(r?c<i:ot.call(e,a))&&l++;continue}if(null===u||null===d||"object"!=typeof u||"object"!=typeof d){s[a]=d;continue}const h=at(u,d,n+1);s[a]=h,h===u&&l++}return i===a&&l===i?e:s}function st(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function lt(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ct(e){if(!ut(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!ut(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function ut(e){return"[object Object]"===Object.prototype.toString.call(e)}function dt(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?at(e,t):t}function ht(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function ft(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var pt=Symbol();function mt(e,t){return!e.queryFn&&(null==t?void 0:t.initialPromise)?()=>t.initialPromise:e.queryFn&&e.queryFn!==pt?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}function gt(e,t){return"function"==typeof e?e(...t):!!e}var vt=(()=>{let e=()=>Ke;return{isServer:()=>e(),setIsServer(t){e=t}}})();function yt(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}var bt=function(e){setTimeout(e,0)},Ct=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=bt;const o=r=>{t?e.push(r):i(()=>{n(r)})};return{batch:o=>{let a;t++;try{a=o()}finally{t--,t||(()=>{const t=e;e=[],t.length&&i(()=>{r(()=>
1{t.forEach(e=>{n(e)})})})})()}return a},batchCalls:e=>(...t)=>{o(()=>{e(...t)})},schedule:o,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}(),wt=new(u=class extends Ue{constructor(){super(),Oe(this,s,!0),Oe(this,l),Oe(this,c),De(this,c,e=>{if("undefined"!=typeof window&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}})}onSubscribe(){Re(this,l)||this.setEventListener(Re(this,c))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=Re(this,l))||e.call(this),De(this,l,void 0))}setEventListener(e){var t;De(this,c,e),null==(t=Re(this,l))||t.call(this),De(this,l,e(this.setOnline.bind(this)))}setOnline(e){Re(this,s)!==e&&(De(this,s,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return Re(this,s)}},s=new WeakMap,l=new WeakMap,c=new WeakMap,u);function Et(e){return Math.min(1e3*2**e,3e4)}function kt(e){return"online"!==(e??"online")||wt.isOnline()}var St=class extends Error{constructor(e){super("CancelledError"),this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}};function xt(e){let t,n=!1,r=0;const i=yt(),o=()=>"pending"!==i.status,a=()=>We.isFocused()&&("always"===e.networkMode||wt.isOnline())&&e.canRun(),s=()=>kt(e.networkMode)&&e.canRun(),l=e=>{o()||(null==t||t(),i.resolve(e))},c=e=>{o()||(null==t||t(),i.reject(e))},u=()=>new Promise(n=>{var r;t=e=>{(o()||a())&&n(e)},null==(r=e.onPause)||r.call(e)}).then(()=>{var n;t=void 0,o()||null==(n=e.onContinue)||n.call(e)}),d=()=>{if(o())return;let t;const i=0===r?e.initialPromise:void 0;try{t=i??e.fn()}catch(s){t=Promise.reject(s)}Promise.resolve(t).then(l).catch(t=>{var i;if(o())return;const s=e.retry??(vt.isServer()?0:3),l=e.retryDelay??Et,h="function"==typeof l?l(r,t):l,f=!0===s||"number"==typeof s&&r<s||"function"==typeof s&&s(r,t);var p;!n&&f?(r++,null==(i=e.onFail)||i.call(e,r,t),(p=h,new Promise(e=>{qe.setTimeout(e,p)})).then(()=>a()?void 0:u()).then(()=>{n?c(t):d()})):c(t)})};return{promise:i,status:()=>i.status,cancel:t=>{var n;if(!o()){const r=new St(t);c(r),null==(n=e.onCancel)||n.call(e,r)}},continue:()=>(null==t||t(),i),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:s,start:()=>(s()?d():u().then(d),i)}}var Tt=(h=class{constructor(){Oe(this,d)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ze(this.gcTime)&&De(this,d,qe.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(vt.isServer()?1/0:3e5))}clearGcTimeout(){void 0!==Re(this,d)&&(qe.clearTimeout(Re(this,d)),De(this,d,void 0))}},d=new WeakMap,h);function Mt(e){return{onFetch:(t,n)=>{var r,i,o,a,s;const l=t.options,c=null==(o=null==(i=null==(r=t.fetchOptions)?void 0:r.meta)?void 0:i.fetchMore)?void 0:o.direction,u=(null==(a=t.state.data)?void 0:a.pages)||[],d=(null==(s=t.state.data)?void 0:s.pageParams)||[];let h={pages:[],pageParams:[]},f=0;const p=async()=>{let n=!1;const r=e=>{!function(e,n,r){let i,o=!1;Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??(i=t.signal),o||(o=!0,i.aborted?r():i.addEventListener("abort",r,{once:!0})),i)})}(e,0,()=>n=!0)},i=mt(t.options,t.fetchOptions),o=async(e,o,a)=>
1{if(n)return Promise.reject(t.signal.reason);if(null==o&&e.pages.length)return Promise.resolve(e);const s=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:o,direction:a?"backward":"forward",meta:t.options.meta};return r(e),e})(),l=await i(s),{maxPages:c}=t.options,u=a?ft:ht;return{pages:u(e.pages,l,c),pageParams:u(e.pageParams,o,c)}};if(c&&u.length){const e="backward"===c,t={pages:u,pageParams:d},n=(e?Lt:At)(l,t);h=await o(t,n,e)}else{const t=e??u.length;do{const e=0===f?d[0]??l.initialPageParam:At(l,h);if(f>0&&null==e)break;h=await o(h,e),f++}while(f<t)}return h};t.options.persister?t.fetchFn=()=>{var e,r;return null==(r=(e=t.options).persister)?void 0:r.call(e,p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function At(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Lt(e,{pages:t,pageParams:n}){var r;return t.length>0?null==(r=e.getPreviousPageParam)?void 0:r.call(e,t[0],t,n[0],n):void 0}var Pt=(S=class extends Tt{constructor(e){super(),Oe(this,w),Oe(this,f),Oe(this,p),Oe(this,m),Oe(this,g),Oe(this,v),Oe(this,y),Oe(this,b),Oe(this,C),De(this,C,!1),De(this,b,e.defaultOptions),this.setOptions(e.options),this.observers=[],De(this,v,e.client),De(this,g,Re(this,v).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,De(this,p,Dt(this.options)),this.state=e.state??Re(this,p),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return Re(this,f)}get promise(){var e;return null==(e=Re(this,y))?void 0:e.promise}setOptions(e){if(this.options={...Re(this,b),...e},(null==e?void 0:e._type)&&De(this,f,e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=Dt(this.options);void 0!==e.data&&(this.setState(Ot(e.data,e.dataUpdatedAt)),De(this,p,e))}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||Re(this,g).remove(this)}setData(e,t){const n=dt(this.state.data,e,this.options);return Ie(this,w,k).call(this,{data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e){Ie(this,w,k).call(this,{type:"setState",state:e})}cancel(e){var t,n;const r=null==(t=Re(this,y))?void 0:t.promise;return null==(n=Re(this,y))||n.cancel(e),r?r.then(Ye).catch(Ye):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return Re(this,p)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==Je(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===pt||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===Xe(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!Qe(this.state.dataUpdatedAt,e))}onFocus(){var e;const t=this.observers.find(e=>e.shouldFetchOnWindowFocus());null==t||t.refetch({cancelRefetch:!1}),null==(e=Re(this,y))||e.continue()}onOnline(){var e;const t=this.observers.find(e=>e.shouldFetchOnReconnect());null==t||t.refetch({cancelRefetch:!1}),null==(e=Re(this,y))||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),Re(this,g).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(Re(this,y)&&(Re(this,C)||Ie(this,w,E).call(this)?Re(this,y).cancel({revert:!0}):Re(this,y).cancelRetry()),this.scheduleGc()),Re(this,g).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ie(this,w,k).call(this,{type:"invalidate"})}async fetch(e,t){var n,r,i,o,a,s,l,c,u,d,h;if("idle"!==this.state.fetchStatus&&"rejected"!==(null==(n=Re(this,y))?void 0:n.status()))if(void 0!==this.state.data&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(Re(this,y))return Re(this,y).continueRetry(),Re(this,y).promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const p=new AbortController,b=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(De(this,C,!0),p.signal)}
1)},E=()=>{const e=mt(this.options,t),n=(()=>{const e={client:Re(this,v),queryKey:this.queryKey,meta:this.meta};return b(e),e})();return De(this,C,!1),this.options.persister?this.options.persister(e,n,this):e(n)},S=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:Re(this,v),state:this.state,fetchFn:E};return b(e),e})(),x="infinite"===Re(this,f)?Mt(this.options.pages):this.options.behavior;null==x||x.onFetch(S,this),De(this,m,this.state),"idle"!==this.state.fetchStatus&&this.state.fetchMeta===(null==(r=S.fetchOptions)?void 0:r.meta)||Ie(this,w,k).call(this,{type:"fetch",meta:null==(i=S.fetchOptions)?void 0:i.meta}),De(this,y,xt({initialPromise:null==t?void 0:t.initialPromise,fn:S.fetchFn,onCancel:e=>{e instanceof St&&e.revert&&this.setState({...Re(this,m),fetchStatus:"idle"}),p.abort()},onFail:(e,t)=>{Ie(this,w,k).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{Ie(this,w,k).call(this,{type:"pause"})},onContinue:()=>{Ie(this,w,k).call(this,{type:"continue"})},retry:S.options.retry,retryDelay:S.options.retryDelay,networkMode:S.options.networkMode,canRun:()=>!0}));try{const e=await Re(this,y).start();if(void 0===e)throw new Error(`${this.queryHash} data is undefined`);return this.setData(e),null==(a=(o=Re(this,g).config).onSuccess)||a.call(o,e,this),null==(l=(s=Re(this,g).config).onSettled)||l.call(s,e,this.state.error,this),e}catch(T){if(T instanceof St){if(T.silent)return Re(this,y).promise;if(T.revert){if(void 0===this.state.data)throw T;return this.state.data}}throw Ie(this,w,k).call(this,{type:"error",error:T}),null==(u=(c=Re(this,g).config).onError)||u.call(c,T,this),null==(h=(d=Re(this,g).config).onSettled)||h.call(d,this.state.data,T,this),T}finally{this.scheduleGc()}}},f=new WeakMap,p=new WeakMap,m=new WeakMap,g=new WeakMap,v=new WeakMap,y=new WeakMap,b=new WeakMap,C=new WeakMap,w=new WeakSet,E=function(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status},k=function(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...Rt(t.data,this.options),fetchMeta:e.meta??null};case"success":const n={...t,...Ot(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return De(this,m,e.manual?n:void 0),n;case"error":const r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),Ct.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),Re(this,g).notify({query:this,type:"updated",action:e})})},S);function Rt(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:kt(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function Ot(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Dt(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var It=(Z=class extends Ue{constructor(e,t){super(),Oe(this,j),Oe(this,x),Oe(this,T),Oe(this,M),Oe(this,A),Oe(this,L),Oe(this,P),Oe(this,R),Oe(this,O),Oe(this,D),Oe(this,I),Oe(this,_),Oe(this,F),Oe(this,$),Oe(this,N),Oe(this,B,new Set),this.options=t,De(this,x,e),De(this,O,null),De(this,R,yt()),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(Re(this,T).addObserver(this),_t(Re(this,T),this.options)?Ie(this,j,z).call(this):this.updateResult(),Ie(this,j,W).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Ft(Re(this,T),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Ft(Re(this,T),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ie(this,j,G).call(this),Ie(this,j,q).call(this),Re(this,T).removeObserver(this)}setOptions(e){const t=this.options,n=Re(this,T);if(this.options=Re(this,x).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof Je(this.options.enabled,Re(this,T)))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ie(this,j,K).call(this),Re(this,T).setOptions(this.options),t._defaulted&&!st(this.options,t)&&Re(this,x).getQueryCache().notify({type:"observerOptionsUpdated",query:Re(this,T),observer:this});const r=this.hasListeners();r&&$t(Re(this,T),n,this.options,t)&&Ie(this,j,z).call(this),this.updateResult(),!r||Re(this,T)===n&&Je(this.options.enabled,Re(this,T))===Je(t.enabled,Re(this,T))&&Xe(this.options.staleTime,Re(this,T))===Xe(t.staleTime,Re(this,T))||Ie(this,j,V).call(this);const i=Ie(this,j,H).call(this);!r||Re(this,T)===n&&Je(this.options.enabled,Re(this,T))===Je(t.enabled,Re(this,T))&&i===Re(this,N)||Ie(this,j,U).call(this,i)}getOptimisticResult(e){const t=Re(this,x).getQueryCache().build(Re(this,x),e),n=this.createResult(t,e);return r=n,!st(this.getCurrentResult(),r)&&(De(this,A,n),De(this,P,this.options),De(this,L,Re(this,T).state)),n;var r}getCurrentResult(){return Re(this,A)}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),null==t||t(n),"promise"===n&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==Re(this,R).status||Re(this,R).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){Re(this,B).add(e)}getCurrentQuery(){return Re(this,T)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=Re(this,x).defaultQueryOptions(e),n=Re(this,x).getQueryCache().build(Re(this,x),t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return Ie(this,j,z).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),Re(this,A)))}createResult(e,t){var n;const r=Re(this,T),i=this.options,o=Re(this,A),a=Re(this,L),s=Re(this,P),l=e!==r?e.state:Re(this,M),{state:c}=e;let u,d={...c},h=!1;if(t._optimisticResults){const n=this.hasListeners(),o=!n&&_t(e,t),a=n&&$t(e,r,t,i);(o||a)&&(d={...d,...Rt(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(d.fetchStatus="idle")}let{error:f,errorUpdatedAt:p,status:m}=d;u=d.data;let g=!1;if(void 0!==t.placeholderData&&void 0===u&&"pending"===m){let e;(null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData)?(e=o.data,g=!0):e="function"==typeof t.placeholderData?t.placeholderData(null==(n=Re(this,_))?void 0:n.state.data,Re(this,_)):t.placeholderData,void 0!==e&&(m="success",u=dt(null==o?void 0:o.data,e,t),h=!0)}if(t.select&&void 0!==u&&!g)if(o&&u===(null==a?void 0:a.data)&&t.select===Re(this,D))u=Re(this,I);else try{De(this,D,t.select),u=t.select(u),u=dt(null==o?void 0:o.data,u,t),De(this,I,u),De(this,O,null)}catch(k){De(this,O,k)}Re(this,O)&&(f=Re(this,O),u=Re(this,I),p=Date.now(),m="error");const v="fetching"===d.fetchStatus,y="pending"===m,b="error"===m,C=y&&v,w=void 0!==u,E={status:m,fetchStatus:d.fetchStatus,isPending:y,isSuccess:"success"===m,isError:b,isInitialLoading:C,isLoading:C,data:u,dataUpdatedAt:d.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdate
1Count:d.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!y,isLoadingError:b&&!w,isPaused:"paused"===d.fetchStatus,isPlaceholderData:h,isRefetchError:b&&w,isStale:Nt(e,t),refetch:this.refetch,promise:Re(this,R),isEnabled:!1!==Je(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=void 0!==E.data,n="error"===E.status&&!t,i=e=>{n?e.reject(E.error):t&&e.resolve(E.data)},o=()=>{const e=De(this,R,E.promise=yt());i(e)},a=Re(this,R);switch(a.status){case"pending":e.queryHash===r.queryHash&&i(a);break;case"fulfilled":(n||E.data!==a.value)&&o();break;case"rejected":n&&E.error===a.reason||o()}}return E}updateResult(){const e=Re(this,A),t=this.createResult(Re(this,T),this.options);De(this,L,Re(this,T).state),De(this,P,this.options),void 0!==Re(this,L).data&&De(this,_,Re(this,T)),st(t,e)||(De(this,A,t),Ie(this,j,Y).call(this,{listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!Re(this,B).size)return!0;const r=new Set(n??Re(this,B));return this.options.throwOnError&&r.add("error"),Object.keys(Re(this,A)).some(t=>{const n=t;return Re(this,A)[n]!==e[n]&&r.has(n)})})()}))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ie(this,j,W).call(this)}},x=new WeakMap,T=new WeakMap,M=new WeakMap,A=new WeakMap,L=new WeakMap,P=new WeakMap,R=new WeakMap,O=new WeakMap,D=new WeakMap,I=new WeakMap,_=new WeakMap,F=new WeakMap,$=new WeakMap,N=new WeakMap,B=new WeakMap,j=new WeakSet,z=function(e){Ie(this,j,K).call(this);let t=Re(this,T).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(Ye)),t},V=function(){Ie(this,j,G).call(this);const e=Xe(this.options.staleTime,Re(this,T));if(vt.isServer()||Re(this,A).isStale||!Ze(e))return;const t=Qe(Re(this,A).dataUpdatedAt,e)+1;De(this,F,qe.setTimeout(()=>{Re(this,A).isStale||this.updateResult()},t))},H=function(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(Re(this,T)):this.options.refetchInterval)??!1},U=function(e){Ie(this,j,q).call(this),De(this,N,e),!vt.isServer()&&!1!==Je(this.options.enabled,Re(this,T))&&Ze(Re(this,N))&&0!==Re(this,N)&&De(this,$,qe.setInterval(()=>{(this.options.refetchIntervalInBackground||We.isFocused())&&Ie(this,j,z).call(this)},Re(this,N)))},W=function(){Ie(this,j,V).call(this),Ie(this,j,U).call(this,Ie(this,j,H).call(this))},G=function(){void 0!==Re(this,F)&&(qe.clearTimeout(Re(this,F)),De(this,F,void 0))},q=function(){void 0!==Re(this,$)&&(qe.clearInterval(Re(this,$)),De(this,$,void 0))},K=function(){const e=Re(this,x).getQueryCache().build(Re(this,x),this.options);if(e===Re(this,T))return;const t=Re(this,T);De(this,T,e),De(this,M,e.state),this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))},Y=function(e){Ct.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(Re(this,A))}),Re(this,x).getQueryCache().notify({query:Re(this,T),type:"observerResultsUpdated"})})},Z);function _t(e,t){return function(e,t){return!1!==Je(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===Je(t.retryOnMount,e))}(e,t)||void 0!==e.state.data&&Ft(e,t,t.refetchOnMount)}function Ft(e,t,n){if(!1!==Je(t.enabled,e)&&"static"!==Xe(t.staleTime,e)){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Nt(e,t)}return!1}function $t(e,t,n,r){return(e!==t||!1===Je(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&Nt(e,n)}function Nt(e,t){return!1!==Je(t.enabled,e)&&e.isStaleByTime(Xe(t.staleTime,e))}var Bt=(re=class extends Tt{constructor(e){super(),Oe(this,te),Oe(this,Q),Oe(this,X),Oe(this,J),Oe(this,ee),De(this,Q,e.client),this.mutationId=e.mutationId,De(this,J,e.mutationCache),De(this,X,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){Re(this,X).includes(e)||(Re(this,X).push(e),this.clearGcTimeout(),Re(this,J).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){De(this,X,Re(this,X).filter(t=>t!==e)),this.scheduleGc(),Re(this,J).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){Re(this,X).length||("pending"===this.state.status?this.scheduleGc():Re(this,J).remove(this))}continue(){var e;return(null==(e=Re(this,ee))?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var t,n,r,i,o,a,s,l,c,u,d,h,f,p,m,g,v,y;const b=()=>{Ie(this,te,ne).call(this,{type:"continue"})},C={client:Re(this,Q),meta:this.options.meta,mutationKey:this.options.mutationKey};De(this,ee,xt({fn:()=>this.options.mutationFn?this.options.mutationFn(e,C):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{Ie(this,te,ne).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{Ie(this,te,ne).call(this,{type:"pause"})},onContinue:b,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Re(this,J).canRun(this)}));const w="pending"===this.state.status,E=!Re(this,ee).canStart();try{if(w)b();else{Ie(this,te,ne).call(this,{type:"pending",variables:e,isPaused:E}),Re(this,J).config.onMutate&&await Re(this,J).config.onMutate(e,this,C);const r=await(null==(n=(t=this.options).onMutate)?void 0:n.call(t,e,C));r!==this.state.context&&Ie(this,te,ne).call(this,{type:"pending",context:r,variables:e,isPaused:E})}const d=await Re(this,ee).start();return await(null==(i=(r=Re(this,J).config).onSuccess)?void 0:i.call(r,d,e,this.state.context,this,C)),await(null==(a=(o=this.options).onSuccess)?void 0:a.call(o,d,e,this.state.context,C)),await(null==(l=(s=Re(this,J).config).onSettled)?void 0:l.call(s,d,null,this.state.variables,this.state.context,this,C)),await(null==(u=(c=this.options).onSettled)?void 0:u.call(c,d,null,e,this.state.context,C)),Ie(this,te,ne).call(this,{type:"success",data:d}),d}catch(k){try{await(null==(h=(d=Re(this,J).config).onError)?void 0:h.call(d,k,e,this.state.context,this,C))}catch(S){Promise.reject(S)}try{await(null==(p=(f=this.options).onError)?void 0:p.call(f,k,e,this.state.context,C))}catch(S){Promise.reject(S)}try{await(null==(g=(m=Re(this,J).config).onSettled)?void 0:g.call(m,void 0,k,this.state.variables,this.state.context,this,C))}catch(S){Promise.reject(S)}try{await(null==(y=(v=this.options).onSettled)?void 0:y.call(v,void 0,k,e,this.state.context,C))}catch(S){Promise.reject(S)}throw Ie(this,te,ne).call(this,{type:"error",error:k}),k}finally{Re(this,J).runNext(this)}}},Q=new WeakMap,X=new WeakMap,J=new WeakMap,ee=new WeakMap,te=new WeakSet,ne=function(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};
1case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),Ct.batch(()=>{Re(this,X).forEach(t=>{t.onMutationUpdate(e)}),Re(this,J).notify({mutation:this,type:"updated",action:e})})},re),jt=(se=class extends Ue{constructor(e={}){super(),Oe(this,ie),Oe(this,oe),Oe(this,ae),this.config=e,De(this,ie,new Set),De(this,oe,new Map),De(this,ae,0)}build(e,t,n){const r=new Bt({client:e,mutationCache:this,mutationId:++_e(this,ae)._,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){Re(this,ie).add(e);const t=zt(e);if("string"==typeof t){const n=Re(this,oe).get(t);n?n.push(e):Re(this,oe).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(Re(this,ie).delete(e)){const t=zt(e);if("string"==typeof t){const n=Re(this,oe).get(t);if(n)if(n.length>1){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&Re(this,oe).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=zt(e);if("string"==typeof t){const n=Re(this,oe).get(t),r=null==n?void 0:n.find(e=>"pending"===e.state.status);return!r||r===e}return!0}runNext(e){var t;const n=zt(e);if("string"==typeof n){const r=null==(t=Re(this,oe).get(n))?void 0:t.find(t=>
1t!==e&&t.state.isPaused);return(null==r?void 0:r.continue())??Promise.resolve()}return Promise.resolve()}clear(){Ct.batch(()=>{Re(this,ie).forEach(e=>{this.notify({type:"removed",mutation:e})}),Re(this,ie).clear(),Re(this,oe).clear()})}getAll(){return Array.from(Re(this,ie))}find(e){const t={exact:!0,...e};return this.getAll().find(e=>tt(t,e))}findAll(e={}){return this.getAll().filter(t=>tt(e,t))}notify(e){Ct.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return Ct.batch(()=>Promise.all(e.map(e=>e.continue().catch(Ye))))}},ie=new WeakMap,oe=new WeakMap,ae=new WeakMap,se);function zt(e){var t;return null==(t=e.options.scope)?void 0:t.id}var Vt,Ht,Ut=(me=class extends Ue{constructor(e,t){super(),Oe(this,he),Oe(this,le),Oe(this,ce),Oe(this,ue),Oe(this,de),De(this,le,e),this.setOptions(t),this.bindMethods(),Ie(this,he,fe).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=Re(this,le).defaultMutationOptions(e),st(this.options,n)||Re(this,le).getMutationCache().notify({type:"observerOptionsUpdated",mutation:Re(this,ue),observer:this}),(null==n?void 0:n.mutationKey)&&this.options.mutationKey&&rt(n.mutationKey)!==rt(this.options.mutationKey)?this.reset():"pending"===(null==(t=Re(this,ue))?void 0:t.state.status)&&Re(this,ue).setOptions(this.options)}onUnsubscribe(){var e;this.hasListeners()||null==(e=Re(this,ue))||e.removeObserver(this)}onMutationUpdate(e){Ie(this,he,fe).call(this),Ie(this,he,pe).call(this,e)}getCurrentResult(){return Re(this,ce)}reset(){var e;null==(e=Re(this,ue))||e.removeObserver(this),De(this,ue,void 0),Ie(this,he,fe).call(this),Ie(this,he,pe).call(this)}mutate(e,t){var n;return De(this,de,t),null==(n=Re(this,ue))||n.removeObserver(this),De(this,ue,Re(this,le).getMutationCache().build(Re(this,le),this.options)),Re(this,ue).addObserver(this),Re(this,ue).execute(e)}},le=new WeakMap,ce=new WeakMap,ue=new WeakMap,de=new WeakMap,he=new WeakSet,fe=function(){var e;const t=(null==(e=Re(this,ue))?void 0:e.state)??{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};De(this,ce,{...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset})},pe=function(e){Ct.batch(()=>{var t,n,r,i,o,a,s,l;if(Re(this,de)&&this.hasListeners()){const u=Re(this,ce).variables,d=Re(this,ce).context,h={client:Re(this,le),meta:this.options.meta,mutationKey:this.options.mutationKey};if("success"===(null==e?void 0:e.type)){try{null==(n=(t=Re(this,de)).onSuccess)||n.call(t,e.data,u,d,h)}catch(c){Promise.reject(c)}try{null==(i=(r=Re(this,de)).onSettled)||i.call(r,e.data,null,u,d,h)}catch(c){Promise.reject(c)}}else if("error"===(null==e?void 0:e.type)){try{null==(a=(o=Re(this,de)).onError)||a.call(o,e.error,u,d,h)}catch(c){Promise.reject(c)}try{null==(l=(s=Re(this,de)).onSettled)||l.call(s,void 0,e.error,u,d,h)}catch(c){Promise.reject(c)}}}this.listeners.forEach(e=>{e(Re(this,ce))})})},me),Wt=(ve=class extends Ue{constructor(e={}){super(),Oe(this,ge),this.config=e,De(this,ge,new Map)}build(e,t,n){const r=t.queryKey,i=t.queryHash??nt(r,t);let o=this.get(i);return o||(o=new Pt({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(o)),o}add(e){Re(this,ge).has(e.queryHash)||(Re(this,ge).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=Re(this,ge).get(e.queryHash);t&&(e.destroy(),t===e&&Re(this,ge).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Ct.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return Re(this,ge).get(e)}getAll(){return[...Re(this,ge).values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>et(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>et(e,t)):t}notify(e){Ct.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Ct.batch(()=>
1{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ct.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ge=new WeakMap,ve),Gt=(Te=class{constructor(e={}){Oe(this,ye),Oe(this,be),Oe(this,Ce),Oe(this,we),Oe(this,Ee),Oe(this,ke),Oe(this,Se),Oe(this,xe),De(this,ye,e.queryCache||new Wt),De(this,be,e.mutationCache||new jt),De(this,Ce,e.defaultOptions||{}),De(this,we,new Map),De(this,Ee,new Map),De(this,ke,0)}mount(){_e(this,ke)._++,1===Re(this,ke)&&(De(this,Se,We.subscribe(async e=>{e&&(await this.resumePausedMutations(),Re(this,ye).onFocus())})),De(this,xe,wt.subscribe(async e=>{e&&(await this.resumePausedMutations(),Re(this,ye).onOnline())})))}unmount(){var e,t;_e(this,ke)._--,0===Re(this,ke)&&(null==(e=Re(this,Se))||e.call(this),De(this,Se,void 0),null==(t=Re(this,xe))||t.call(this),De(this,xe,void 0))}isFetching(e){return Re(this,ye).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Re(this,be).findAll({...e,status:"pending"}).length}getQueryData(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null==(t=Re(this,ye).get(n.queryHash))?void 0:t.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=Re(this,ye).build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Xe(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return Re(this,ye).findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=Re(this,ye).get(r.queryHash),o=function(e,t){return"function"==typeof e?e(t):e}(t,null==i?void 0:i.state.data);if(void 0!==o)return Re(this,ye).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Ct.batch(()=>Re(this,ye).findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null==(t=Re(this,ye).get(n.queryHash))?void 0:t.state}removeQueries(e){const t=Re(this,ye);Ct.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const n=Re(this,ye);return Ct.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ct.batch(()=>Re(this,ye).findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(Ye).catch(Ye)}invalidateQueries(e,t={}){return Ct.batch(()=>(Re(this,ye).findAll(e).forEach(e=>{e.invalidate()}),"none"===(null==e?void 0:e.refetchType)?Promise.resolve():this.refetchQueries({...e,type:(null==e?void 0:e.refetchType)??(null==e?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ct.batch(()=>Re(this,ye).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(Ye)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(r).then(Ye)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=Re(this,ye).build(this,t);return n.isStaleByTime(Xe(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ye).catch(Ye)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ye).catch(Ye)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return wt.isOnline()?Re(this,be).resumePausedMutations():Promise.resolve()}getQueryCache(){return Re(this,ye)}getMutationCache(){return Re(this,be)}getDefaultOptions(){return Re(this,Ce)}setDefaultOptions(e){De(this,Ce,e)}setQueryDefaults(e,t){Re(this,we).set(rt(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Re(this,we).values()],n={};return t.forEach(t=>{it(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){Re(this,Ee).set(rt(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Re(this,Ee).values()],n={};return t.forEach(t=>{it(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Re(this,Ce).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=nt(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===pt&&(t.enabled=!1),t}defaultMutationOptions(e){return(null==e?void 0:e._defaulted)?e:{...Re(this,Ce).mutations,...(null==e?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Re(this,ye).clear(),Re(this,be).clear()}},ye=new WeakMap,be=new WeakMap,Ce=new WeakMap,we=new WeakMap,Ee=new WeakMap,ke=new WeakMap,Se=new WeakMap,xe=new WeakMap,Te),qt={exports:{}},Kt={};function Yt(){if(Vt)return Kt;Vt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),h=Symbol.iterator,f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||f}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||f}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var b=y.prototype=new v;b.constructor=y,p(b,g.prototype),b.isPureReactComponent=!0;var C=Array.isArray;function w(){}var E={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function S(t,n,r){var i=r.ref;return{$$typeof:e,type:t,key:n,ref:void 0!==i?i:null,props:r}}function x(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var T=/\/+/g;function M(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function A(n,r,i,o,a){var s=typeof n;"undefined"!==s&&"boolean"!==s||(n=null);var l,c,d=!1;if(null===n)d=!0;else switch(s){case"bigint":case"string":case"number":d=!0;break;case"object":switch(n.$$typeof){case e:case t:d=!0;break;case u:return A((d=n._init)(n._payload),r,i,o,a)}}if(d)return a=a(n),d=""===o?"."+M(n,0):o,C(a)?(i="",null!=d&&(i=d.replace(T,"$&/")+"/"),A(a,r,i,"",function(e){return e})):null!=a&&(x(a)&&(l=a,c=i+(null==a.key||n&&n.key===a.key?"":(""+a.key).replace(T,"$&/")+"/")+d,a=S(l.type,c,l.props)),r.push(a)),1;d=0;var f,p=""===o?".":o+":";if(C(n))for(var m=0;m<n.length;m++)d+=A(o=n[m],r,i,s=p+M(o,m),a);else if("function"==typeof(m=null===(f=n)||"object"!=typeof f?null:"function"==typeof(f=h&&f[h]||f["@@iterator"])?f:null))for(n=m.call(n),m=0;!(o=n.next()).done;)d+=A(o=o.value,r,i,s=p+M(o,m++),a);else if("object"===s){if("function"==typeof n.then)return A(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(w,w):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(n),r,i,o,a);throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return d}function L(e,t,n){if(null==e)return e;var r=[],i=0;return A(e,r,"","",function(e){return t.call(n,e,i++)}),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)},O={map:L,forEach:function(e,t,n){L(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return L(e,function(){t++}),t},toArray:function(e){return L(e,function(e){return e})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};return Kt.Activity=d,Kt.Children=O,Kt.Component=g,Kt.Fragment=n,Kt.Profiler=i,Kt.PureComponent=y,Kt.StrictMode=r,Kt.Suspense=l,Kt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,Kt.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},Kt.cache=function(e){return function(){return e.apply(null,arguments)}},Kt.cacheSignal=function(){return null},Kt.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=p({},e.props),i=e.key;if(null!=t)for(o in void 0!==t.key&&(i=""+t.key),t)!k.call(t,o)||"key"===o||"__self"===o||"__source"===o||"ref"===o&&void 0===t.ref||(r[o]=t[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var a=Array(o),s=0;s<o;s++)a[s]=arguments[s+2];r.children=a}return S(e.type,i,r)},Kt.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:o,_context:e},e},Kt.createElement=function(e,t,n){var r,i={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)k.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var a=arguments.length-2;if(1===a)i.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===i[r]&&(i[r]=a[r]);return S(e,o,i)},Kt.createRef=function(){return{current:null}},Kt.forwardRef=function(e){return{$$typeof:s,render:e}},Kt.isValidElement=x,Kt.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:P}},Kt.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},Kt.startTransition=function(e){var t=E.T,n={};E.T=n;try{var r=e(),i=E.S;null!==i&&i(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(w,R)}catch(o){R(o)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}},Kt.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},Kt.use=function(e){return E.H.use(e)},Kt.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},Kt.useCallback=function(e,t){return E.H.useCallback(e,t)},Kt.useContext=function(e){return E.H.useContext(e)},Kt.useDebugValue=function(){},Kt.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},Kt.useEffect=function(e,t){return E.H.useEffect(e,t)},Kt.useEffectEvent=function(e){return E.H.useEffectEvent(e)},Kt.useId=function(){return E.H.useId()},Kt.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},Kt.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},Kt.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},Kt.useMemo=function(e,t){return E.H.useMemo(e,t)},Kt.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},Kt.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},Kt.useRef=function(e){return E.H.useRef(e)},Kt.useState=function(e){return E.H.useState(e)},Kt.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},Kt.useTransition=function(){return E.H.useTransition()},Kt.version="19.2.7",Kt}
1function Zt(){return Ht||(Ht=1,qt.exports=Yt()),qt.exports}var Qt=Zt();const Xt=Ne(Qt),Jt=Fe({__proto__:null,default:Xt},[Qt]);var en=Qt.createContext(void 0),tn=e=>{const t=Qt.useContext(en);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},nn=({client:e,children:t})=>(Qt.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),He.jsx(en.Provider,{value:e,children:t})),rn=Qt.createContext(!1);rn.Provider;var on=Qt.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),an=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function sn(e,t){return function(e,t,n){var r,i,o,a;const s=Qt.useContext(rn),l=Qt.useContext(on),c=tn(n),u=c.defaultQueryOptions(e);null==(i=null==(r=c.getDefaultOptions().queries)?void 0:r._experimental_beforeQuery)||i.call(r,u);const d=c.getQueryCache().get(u.queryHash),h=!1!==e.subscribed;u._optimisticResults=s?"isRestoring":h?"optimistic":void 0,(e=>{if(e.suspense){const t=1e3,n=e=>"static"===e?e:Math.max(e??t,t),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>n(r(...e)):n(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,t))}})(u),((e,t,n)=>{const r=(null==n?void 0:n.state.error)&&"function"==typeof e.throwOnError?gt(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))})(u,l,d),(e=>{Qt.useEffect(()=>{e.clearReset()},[e])})(l);const f=!c.getQueryCache().get(u.queryHash),[p]=Qt.useState(()=>new t(c,u)),m=p.getOptimisticResult(u),g=!s&&h;if(Qt.useSyncExternalStore(Qt.useCallback(e=>{const t=g?p.subscribe(Ct.batchCalls(e)):Ye;return p.updateResult(),t},[p,g]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),Qt.useEffect(()=>{p.setOptions(u)},[u,p]),((e,t)=>(null==e?void 0:e.suspense)&&t.isPending)(u,m))throw an(u,p,l);if((({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&void 0===e.data||gt(n,[e.error,r])))({result:m,errorResetBoundary:l,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw m.error;if(null==(a=null==(o=c.getDefaultOptions().queries)?void 0:o._experimental_afterQuery)||a.call(o,u,m),u.experimental_prefetchInRender&&!vt.isServer()&&((e,t)=>e.isLoading&&e.isFetching&&!t)(m,s)){const e=f?an(u,p,l):null==d?void 0:d.promise;null==e||e.catch(Ye).finally(()=>{p.updateResult()})}return u.notifyOnChangeProps?m:p.trackResult(m)}(e,It,t)}function ln(e){return e}function cn(e,t){const n=tn(t),r=n.getQueryCache();return Qt.useSyncExternalStore(Qt.useCallback(e=>r.subscribe(Ct.batchCalls(e)),[r]),()=>n.isFetching(e),()=>n.isFetching(e))}function un(e,t){return function(e={},t){const n=tn(t).getMutationCache(),r=Qt.useRef(e),i=Qt.useRef(null);return null===i.current&&(i.current=dn(n,e)),Qt.useEffect(()=>{r.current=e}),Qt.useSyncExternalStore(Qt.useCallback(e=>n.subscribe(()=>{const t=at(i.current,dn(n,r.current));i.current!==t&&(i.current=t,Ct.schedule(e))}),[n]),()=>i.current,()=>i.current)}({filters:{...e,status:"pending"}},tn(t)).length}function dn(e,t){return e.findAll(t.filters).map(e=>t.select?t.select(e):e.state)}function hn(e,t){const n=tn(t),[r]=Qt.useState(()=>new Ut(n,e));Qt.useEffect(()=>{r.setOptions(e)},[r,e]);const i=Qt.useSyncExternalStore(Qt.useCallback(e=>r.subscribe(Ct.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),o=Qt.useCallback((e,t)=>{r.mutate(e,t).catch(Ye)},[r]);if(i.error&>(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:o,mutateAsync:i.mutate}}var fn=Qt.use,pn="undefined"!=typeof window?Qt.useLayoutEffect:Qt.useEffect;function mn(e){const t=Qt.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function gn(e){return e[e.length-1]}function vn(e,t){return"function"==typeof e?e(t):e}const yn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable;function Cn(e){for(const t in e)if(yn.call(e,t))return!0;return!1}const wn=()=>Object.create(null),En=(e,t)=>kn(e,t,wn);function kn(e,t,n=()=>({}),r=0){if(e===t)return e;if(r>500)return t;const i=t,o=Mn(e)&&Mn(i);if(!(o||xn(e)&&xn(i)))return i;const a=o?e:Sn(e);if(!a)return i;const s=o?i:Sn(i);if(!s)return i;const l=a.length,c=s.length,u=o?new Array(c):n();let d=0;for(let h=0;h<c;h++){const t=o?h:s[h],a=e[t],c=i[t];if(a===c){u[t]=a,(o?h<l:yn.call(e,t))&&d++;continue}if(null===a||null===c||"object"!=typeof a||"object"!=typeof c){u[t]=c;continue}const f=kn(a,c,n,r+1);u[t]=f,f===a&&d++}return l===c&&d===l?e:u}function Sn(e){const t=Object.getOwnPropertyNames(e);for(const i of t)if(!bn.call(e,i))return!1;const n=Object.getOwnPropertySymbols(e);if(0===n.length)return t;const r=t;for(const i of n){if(!bn.call(e,i))return!1;r.push(i)}return r}function xn(e){if(!Tn(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Tn(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Tn(e){return"[object Object]"===Object.prototype.toString.call(e)}function Mn(e){return Array.isArray(e)&&e.length===Object.keys(e).length}
1function An(e,t,n){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!An(e[r],t[r],n))return!1;return!0}if(xn(e)&&xn(t)){const r=(null==n?void 0:n.ignoreUndefined)??!0;if(null==n?void 0:n.partial){for(const i in t)if(!(r&&void 0===t[i]||An(e[i],t[i],n)))return!1;return!0}let i=0;if(r)for(const t in e)void 0!==e[t]&&i++;else i=Object.keys(e).length;let o=0;for(const a in t)if((!r||void 0!==t[a])&&(o++,o>i||!An(e[a],t[a],n)))return!1;return i===o}return!1}function Ln(e){let t,n;const r=new Promise((e,r)=>{t=e,n=r});return r.status="pending",r.resolve=n=>{r.status="resolved",r.value=n,t(n),null==e||e(n)},r.reject=e=>{r.status="rejected",n(e)},r}function Pn(e){return Boolean(e&&"object"==typeof e&&"function"==typeof e.then)}function Rn(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,e=>{try{return decodeURI(e)}catch{return e}})}return function(e){return e.replace(/[\x00-\x1f\x7f]/g,"")}(t)}const On=["http:","https:","mailto:","tel:"];function Dn(e,t){if(!e)return!1;try{const n=new URL(e);return!t.has(n.protocol)}catch{return!1}}const In={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},_n=/[&><\u2028\u2029]/g;function Fn(e){return e.replace(_n,e=>In[e])}function $n(e){if(!e)return{path:e,handledProtocolRelativeURL:!1};if(!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith("//"))return{path:e,handledProtocolRelativeURL:!1};const t=/%25|%5C/gi;let n,r=0,i="";for(;null!==(n=t.exec(e));)i+=Rn(e.slice(r,n.index))+n[0],r=t.lastIndex;i+=Rn(r?e.slice(r):e);let o=!1;return i.startsWith("//")&&(o=!0,i="/"+i.replace(/^\/+/,"")),{path:i,handledProtocolRelativeURL:o}}function Nn(){throw new Error("Invariant failed")}function Bn(e){const t=new Map;let n,r;const i=e=>{e.next&&(e.prev?(e.prev.next=e.next,e.next.prev=e.prev,e.next=void 0,r&&(r.next=e,e.prev=r)):(e.next.prev=void 0,n=e.next,e.next=void 0,r&&(e.prev=r,r.next=e)),r=e)};return{get(e){const n=t.get(e);if(n)return i(n),n.value},set(o,a){if(t.size>=e&&n){const e=n;t.delete(e.key),e.next&&(n=e.next,e.next.prev=void 0),e===r&&(r=void 0)}const s=t.get(o);if(s)s.value=a,i(s);else{const e={key:o,value:a,prev:r};r&&(r.next=e),r=e,n||(n=e),t.set(o,e)}},clear(){t.clear(),n=void 0,r=void 0}}}function jn(e,t,n=new Uint16Array(6)){const r=e.indexOf("/",t),i=-1===r?e.length:r,o=e.substring(t,i);if(!o||!o.includes("$"))return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n;if("$"===o){const r=e.length;return n[0]=2,n[1]=t,n[2]=t,n[3]=r,n[4]=r,n[5]=r,n}if(36===o.charCodeAt(0))return n[0]=1,n[1]=t,n[2]=t+1,n[3]=i,n[4]=i,n[5]=i,n;const a=function(e){const t=e.indexOf("{");if(-1===t)return null;const n=e.indexOf("}",t);return-1===n||t+1>=e.length?null:[t,n]}(o);if(a){const[r,s]=a,l=o.charCodeAt(r+1);if(45===l){if(r+2<o.length&&36===o.charCodeAt(r+2)){const e=r+3,o=s;if(e<o)return n[0]=3,n[1]=t+r,n[2]=t+e,n[3]=t+o,n[4]=t+s+1,n[5]=i,n}}else if(36===l){const o=r+1,a=r+2;return a===s?(n[0]=2,n[1]=t+r,n[2]=t+o,n[3]=t+a,n[4]=t+s+1,n[5]=e.length,n):(n[0]=1,n[1]=t+r,n[2]=t+a,n[3]=t+s,n[4]=t+s+1,n[5]=i,n)}}return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n}function zn(e,t,n,r,i,o,a){var s,l,c,u,d,h,f,p,m,g;null==a||a(n);let v=r;{const r=n.fullPath??n.from,a=r.length,y=(null==(s=n.options)?void 0:s.caseSensitive)??e,b=(null==(c=null==(l=n.options)?void 0:l.params)?void 0:c.parse)??(null==(u=n.options)?void 0:u.parseParams);for(;v<a;){const e=jn(r,v,t);let a;const s=v,l=e[5];switch(v=l+1,o++,e[0]){case 0:{const t=r.substring(e[2],e[3]);if(y){const e=null==(d=i.static)?void 0:d.get(t);if(e)a=e;else{i.static??(i.static=new Map);const e=Un(n.fullPath??n.from);e.parent=i,e.depth=o,a=e,i.static.set(t,e)}}else{const e=t.toLowerCase(),r=null==(h=i.staticInsensitive)?void 0:h.get(e);if(r)a=r;else{i.staticInsensitive??(i.staticInsensitive=new Map);const t=Un(n.fullPath??n.from);t.parent=i,t.depth=o,a=t,i.staticInsensitive.set(e,t)}}break}case 1:{const t=r.substring(s,e[1]),c=r.substring(e[4],l),u=y&&!(!t&&!c),d=t?u?t:t.toLowerCase():void 0,h=c?u?c:c.toLowerCase():void 0,p=!b&&(null==(f=i.dynamic)?void 0:f.find(e=>!e.parse&&e.caseSensitive===u&&e.prefix===d&&e.suffix===h));if(p)a=p;else{const e=Wn(1,n.fullPath??n.from,u,d,h);
1a=e,e.depth=o,e.parent=i,i.dynamic??(i.dynamic=[]),i.dynamic.push(e)}break}case 3:{const t=r.substring(s,e[1]),c=r.substring(e[4],l),u=y&&!(!t&&!c),d=t?u?t:t.toLowerCase():void 0,h=c?u?c:c.toLowerCase():void 0,f=!b&&(null==(p=i.optional)?void 0:p.find(e=>!e.parse&&e.caseSensitive===u&&e.prefix===d&&e.suffix===h));if(f)a=f;else{const e=Wn(3,n.fullPath??n.from,u,d,h);a=e,e.parent=i,e.depth=o,i.optional??(i.optional=[]),i.optional.push(e)}break}case 2:{const t=r.substring(s,e[1]),c=r.substring(e[4],l),u=y&&!(!t&&!c),d=t?u?t:t.toLowerCase():void 0,h=c?u?c:c.toLowerCase():void 0,f=Wn(2,n.fullPath??n.from,u,d,h);a=f,f.parent=i,f.depth=o,i.wildcard??(i.wildcard=[]),i.wildcard.push(f)}}i=a}if(b&&n.children&&!n.isRoot&&n.id&&95===n.id.charCodeAt(n.id.lastIndexOf("/")+1)){const e=Un(n.fullPath??n.from);e.kind=5,e.parent=i,o++,e.depth=o,i.pathless??(i.pathless=[]),i.pathless.push(e),i=e}const C=(n.path||!n.children)&&!n.isRoot;if(C&&r.endsWith("/")){const e=Un(n.fullPath??n.from);e.kind=4,e.parent=i,o++,e.depth=o,i.index=e,i=e}i.parse=b??null,i.priority=(null==(g=null==(m=n.options)?void 0:m.params)?void 0:g.priority)??0,C&&!i.route&&(i.route=n,i.fullPath=n.fullPath??n.from)}if(n.children)for(const y of n.children)zn(e,t,y,v,i,o,a)}function Vn(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function Hn(e){var t,n,r;if(e.pathless)for(const i of e.pathless)Hn(i);if(e.static)for(const i of e.static.values())Hn(i);if(e.staticInsensitive)for(const i of e.staticInsensitive.values())Hn(i);if(null==(t=e.dynamic)?void 0:t.length){e.dynamic.sort(Vn);for(const t of e.dynamic)Hn(t)}if(null==(n=e.optional)?void 0:n.length){e.optional.sort(Vn);for(const t of e.optional)Hn(t)}if(null==(r=e.wildcard)?void 0:r.length){e.wildcard.sort(Vn);for(const t of e.wildcard)Hn(t)}}function Un(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function Wn(e,t,n,r,i){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:n,prefix:r,suffix:i}}function Gn(e,t,n=!1){const r=e.split("/"),i=function(e,t,n,r){if("/"===e&&n.index)return{node:n.index,skipped:0};const i=!gn(t),o=i&&"/"!==e,a=t.length-(i?1:0),s=[{node:n,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}];let l=null,c=null;for(;s.length;){const n=s.pop(),{node:i,index:u,skipped:d,depth:h,statics:f,dynamics:p,optionals:m}=n;let{extract:g,rawParams:v}=n;if(2===i.kind&&i.route&&!Xn(c,n))continue;if(i.parse){if(!Qn(e,t,n))continue;v=n.rawParams,g=n.extract}r&&i.route&&4!==i.kind&&Xn(l,n)&&(l=n);const y=u===a;if(y&&(!i.route||o&&4!==i.kind&&2!==i.kind||!Xn(c,n)||(c=n),!(i.optional||i.wildcard||i.index||i.pathless)))continue;const b=y?void 0:t[u];let C;if(y&&i.index){const n={node:i.index,index:u,skipped:d,depth:h+1,statics:f,dynamics:p,optionals:m,extract:g,rawParams:v};let r=!0;if(i.index.parse&&(Qn(e,t,n)||(r=!1)),r){if(!p&&!m&&!d&&Zn(f,a))return n;Xn(c,n)&&(c=n)}}if(i.wildcard)for(let e=i.wildcard.length-1;e>=0;e--){const n=i.wildcard[e],{prefix:r,suffix:o}=n;if(r){if(y)continue;if(!(n.caseSensitive?b:C??(C=b.toLowerCase())).startsWith(r))continue}if(o){if(y)continue;const e=t.slice(u).join("/").slice(-o.length);if((n.caseSensitive?e:e.toLowerCase())!==o)continue}s.push({node:n,index:a,skipped:d,depth:h+1,statics:f,dynamics:p,optionals:m,extract:g,rawParams:v})}if(i.optional){const e=d|1<<h,t=h+1;for(let n=i.optional.length-1;n>=0;n--){const r=i.optional[n];s.push({node:r,index:u,skipped:e,depth:t,statics:f,dynamics:p,optionals:m,extract:g,rawParams:v})}if(!y)for(let n=i.optional.length-1;n>=0;n--){const e=i.optional[n],{prefix:r,suffix:o}=e;if(r||o){const t=e.caseSensitive?b:C??(C=b.toLowerCase());if(r&&!t.startsWith(r))continue;if(o&&!t.endsWith(o))continue}s.push({node:e,index:u+1,skipped:d,depth:t,statics:f,dynamics:p,optionals:m+Yn(a,u),extract:g,rawParams:v})}}if(!y&&i.dynamic&&b)for(let e=i.dynamic.length-1;e>=0;e--){const t=i.dynamic[e],{prefix:n,suffix:r}=t;if(n||r){const e=t.caseSensitive?b:C??(C=b.toLowerCase());if(n&&!e.startsWith(n))continue;if(r&&!e.endsWith(r))continue}s.push({node:t,index:u+1,skipped:d,depth:h+1,statics:f,dynamics:p+Yn(a,u),optionals:m,extract:g,rawParams:v})}if(!y&&i.staticInsensitive){const e=i.staticInsensitive.get(C??(C=b.toLowerCase()));e&&s.push({node:e,index:u+1,skipped:d,depth:h+1,statics:f+Yn(a,u),dynamics:p,optionals:m,extract:g,rawParams:v})}if(!y&&i.static){const e=i.static.get(b);e&&s.push({node:e,index:u+1,skipped:d,depth:h+1,statics:f+Yn(a,u),dynamics:p,optionals:m,extract:g,rawParams:v})}if(i.pathless){const e=h+1;for(let t=i.pathless.length-1;t>=0;t--){const n=i.pathless[t];s.push({node:n,index:u,skipped:d,depth:e,statics:f,dynamics:p,optionals:m,extract:g,rawParams:v})}}}if(c)return c;if(r&&l){let n=l.index;for(let e=0;e<l.index;e++)n+=t[e].length;const r=n===e.length?"/":e.slice(n);return l.rawParams??(l.rawParams=Object.create(null)),l.rawParams["**"]=decodeURIComponent(r),l}return null}(e,r,t,n);if(!i)return null;
1const[o]=qn(e,r,i);return{route:i.node.route,rawParams:o}}function qn(e,t,n){var r,i,o,a,s,l,c,u,d,h;const f=function(e){const t=Array(e.depth+1);do{t[e.depth]=e,e=e.parent}while(e);return t}(n.node);let p=null;const m=Object.create(null);let g=(null==(r=n.extract)?void 0:r.part)??0,v=(null==(i=n.extract)?void 0:i.node)??0,y=(null==(o=n.extract)?void 0:o.path)??0,b=(null==(a=n.extract)?void 0:a.segment)??0;for(;v<f.length;g++,v++,y++,b++){const r=f[v];if(4===r.kind)break;if(5===r.kind){b--,g--,y--;continue}const i=t[g],o=y;if(i&&(y+=i.length),1===r.kind){p??(p=n.node.fullPath.split("/"));const e=p[b],t=(null==(s=r.prefix)?void 0:s.length)??0;if(123===e.charCodeAt(t)){const n=(null==(l=r.suffix)?void 0:l.length)??0,o=e.substring(t+2,e.length-n-1),a=i.substring(t,i.length-n);m[o]=decodeURIComponent(a)}else m[e.substring(1)]=decodeURIComponent(i)}else if(3===r.kind){if(n.skipped&1<<v){g--,y=o-1;continue}p??(p=n.node.fullPath.split("/"));const e=p[b],t=(null==(c=r.prefix)?void 0:c.length)??0,a=(null==(u=r.suffix)?void 0:u.length)??0,s=e.substring(t+3,e.length-a-1),l=r.suffix||r.prefix?i.substring(t,i.length-a):i;l&&(m[s]=decodeURIComponent(l))}else if(2===r.kind){const t=r,n=e.substring(o+((null==(d=t.prefix)?void 0:d.length)??0),e.length-((null==(h=t.suffix)?void 0:h.length)??0)),i=decodeURIComponent(n);m["*"]=i,m._splat=i;break}}return n.rawParams&&Object.assign(m,n.rawParams),[m,{part:g,node:v,path:y,segment:b}]}function Kn(e){const t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function Yn(e,t){return 2**(e-t-1)}function Zn(e,t){return e===2**(t-1)-1}function Qn(e,t,n){let r,i;try{[r,i]=qn(e,t,n)}catch{return null}if(n.rawParams=r,n.extract=i,!n.node.parse)return!0;try{if(!1===n.node.parse(r))return null}catch{}return!0}function Xn(e,t){return!e||t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((4===t.node.kind)>(4===e.node.kind)||4===t.node.kind==(4===e.node.kind)&&t.depth>e.depth)))}function Jn(e){return er(e.filter(e=>void 0!==e).join("/"))}function er(e){return e.replace(/\/{2,}/g,"/")}function tr(e){return"/"===e?e:e.replace(/^\/{1,}/,"")}function nr(e){const t=e.length;return t>1&&"/"===e[t-1]?e.replace(/\/{1,}$/,""):e}function rr(e){return nr(tr(e))}function ir(e,t){return(null==e?void 0:e.endsWith("/"))&&"/"!==e&&e!==`${t}/`?e.slice(0,-1):e}function or(e,t,n){const r=t[e];return"string"!=typeof r?r:"_splat"===e?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split("/").map(e=>sr(e,n)).join("/"):sr(r,n)}function ar({path:e,params:t,decoder:n,...r}){let i=!1;const o=Object.create(null);if(!e||"/"===e)return{interpolatedPath:"/",usedParams:o,isMissingParams:i};if(!e.includes("$"))return{interpolatedPath:e,usedParams:o,isMissingParams:i};const a=e.length;let s,l=0,c="";for(;l<a;){const r=l;s=jn(e,r,s);const a=s[5];if(l=a+1,r===a)continue;const u=s[0];if(0!==u){if(2===u){const l=t._splat;o._splat=l,o["*"]=l;const u=e.substring(r,s[1]),d=e.substring(s[4],a);if(!l){i=!0,(u||d)&&(c+="/"+u+d);continue}c+="/"+u+or("_splat",t,n)+d;continue}if(1===u){const l=e.substring(s[2],s[3]);i||l in t||(i=!0),o[l]=t[l];const u=e.substring(r,s[1]),d=e.substring(s[4],a);c+="/"+u+(or(l,t,n)??"undefined")+d;continue}if(3===u){const i=e.substring(s[2],s[3]),l=t[i];if(null==l)continue;o[i]=l;const u=e.substring(r,s[1]),d=e.substring(s[4],a);c+="/"+u+(or(i,t,n)??"")+d;continue}}else c+="/"+e.substring(r,a)}return e.endsWith("/")&&(c+="/"),{usedParams:o,interpolatedPath:c||"/",isMissingParams:i}}function sr(e,t){const n=encodeURIComponent(e);return(null==t?void 0:t(n))??n}function lr(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function cr(e){return!0===(null==e?void 0:e.isNotFound)}function ur(e){return e?"false"!==e&&("true"===e||(0*+e==0&&+e+""===e?+e:e)):""}const dr=(hr=JSON.parse,e=>{"?"===e[0]&&(e=e.substring(1));const t=function(e){const t=new URLSearchParams(e),n=Object.create(null);for(const[r,i]of t.entries()){const e=n[r];null==e?n[r]=ur(i):Array.isArray(e)?e.push(ur(i)):n[r]=[e,ur(i)]}return n}(e);for(const r in t){const e=t[r];if("string"==typeof e)try{t[r]=hr(e)}catch(n){}}return t});var hr;
1const fr=function(e,t){const n="function"==typeof t;function r(r){if("object"==typeof r&&null!==r)try{return e(r)}catch(i){}else if(n&&"string"==typeof r)try{return t(r),e(r)}catch(i){}return r}return e=>{const t=function(e,t=String){const n=new URLSearchParams;for(const r in e){const i=e[r];void 0!==i&&n.set(r,t(i))}return n.toString()}(e,r);return t?`?${t}`:""}}(JSON.stringify,JSON.parse),pr="__root__";function mr(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&"string"==typeof e.href)try{new URL(e.href),e.reloadDocument=!0}catch{}const t=new Headers(e.headers);e.href&&null===t.get("Location")&&t.set("Location",e.href);const n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function gr(e){return e instanceof Response&&!!e.options}const vr=e=>{var t;if(!e.rendered)return e.rendered=!0,null==(t=e.onReady)?void 0:t.call(e)},yr=(e,t)=>!(!e.preload||e.router.stores.matchStores.has(t)),br=(e,t,n=!0)=>{const r={...e.router.options.context??{}},i=n?t:t-1;for(let o=0;o<=i;o++){const t=e.matches[o];if(!t)continue;const n=e.router.getMatch(t.id);
1n&&Object.assign(r,n.__routeContext,n.__beforeLoadContext)}return r},Cr=(e,t)=>{if(!e.matches.length)return;const n=t.routeId,r=e.matches.findIndex(t=>t.routeId===e.router.routeTree.id),i=r>=0?r:0;let o=n?e.matches.findIndex(e=>e.routeId===n):e.firstBadMatchIndex??e.matches.length-1;o<0&&(o=i);for(let a=o;a>=0;a--){const t=e.matches[a];if(e.router.looseRoutesById[t.routeId].options.notFoundComponent)return a}return n?o:i},wr=(e,t,n)=>{var r,i,o;if(gr(n)||cr(n)){if(gr(n)&&n.redirectHandled&&!n.options.reloadDocument)throw n;throw t&&(null==(r=t._nonReactive.beforeLoadPromise)||r.resolve(),null==(i=t._nonReactive.loaderPromise)||i.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,r=>({...r,status:gr(n)?"redirected":cr(n)?"notFound":"pending"===r.status?"success":r.status,context:br(e,t.index),isFetching:!1,error:n})),cr(n)&&!n.routeId&&(n.routeId=t.routeId),null==(o=t._nonReactive.loadPromise)||o.resolve()),gr(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n}},Er=(e,t)=>
1{const n=e.router.getMatch(t);return!n||!!n._nonReactive.dehydrated},kr=(e,t,n)=>{const r=br(e,n);e.updateMatch(t,e=>({...e,context:r}))},Sr=(e,t,n)=>{var r,i;const{id:o,routeId:a}=e.matches[t],s=e.router.looseRoutesById[a];if(n instanceof Promise)throw n;e.firstBadMatchIndex??(e.firstBadMatchIndex=t),wr(e,e.router.getMatch(o),n);try{null==(i=(r=s.options).onError)||i.call(r,n)}catch(l){n=l,wr(e,e.router.getMatch(o),n)}e.updateMatch(o,e=>{var t,r;return null==(t=e._nonReactive.beforeLoadPromise)||t.resolve(),e._nonReactive.beforeLoadPromise=void 0,null==(r=e._nonReactive.loadPromise)||r.resolve(),{...e,error:n,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController}}),e.preload||gr(n)||cr(n)||(e.serialError??(e.serialError=n))},xr=(e,t,n,r)=>{var i;if(void 0!==r._nonReactive.pendingTimeout)return;const o=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!yr(e,t)&&(n.options.loader||n.options.beforeLoad||Ir(n))&&"number"==typeof o&&o!==1/0&&(n.options.pendingComponent??(null==(i=e.router.options)?void 0:i.defaultPendingComponent))){const t=setTimeout(()=>{vr(e)},o);r._nonReactive.pendingTimeout=t}},Tr=(e,t)=>{const{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],o=()=>((e,t,n,r)=>{const i=e.router.getMatch(t);let o=i._nonReactive.loadPromise;i._nonReactive.loadPromise=Ln(()=>{null==o||o.resolve(),o=void 0});const{paramsError:a,searchError:s}=i;
1a&&Sr(e,n,a),s&&Sr(e,n,s),xr(e,t,r,i);const l=new AbortController;let c=!1;const u=()=>{c||(c=!0,e.updateMatch(t,e=>({...e,isFetching:"beforeLoad",fetchCount:e.fetchCount+1,abortController:l})))},d=()=>{var n;null==(n=i._nonReactive.beforeLoadPromise)||n.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,e=>({...e,isFetching:!1}))};if(!r.options.beforeLoad)return void e.router.batch(()=>{u(),d()});i._nonReactive.beforeLoadPromise=Ln();const h={...br(e,n,!1),...i.__routeContext},{search:f,params:p,cause:m}=i,g=yr(e,t),v={search:f,abortController:l,params:p,preload:g,context:h,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:g?"preload":m,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},y=r=>{void 0!==r?((gr(r)||cr(r))&&(u(),Sr(e,n,r)),e.router.batch(()=>{u(),e.updateMatch(t,e=>({...e,__beforeLoadContext:r})),d()})):e.router.batch(()=>{u(),d()})};let b;try{if(b=r.options.beforeLoad(v),Pn(b))return u(),b.catch(t=>{Sr(e,n,t)}).then(y)}catch(C){u(),Sr(e,n,C)}y(b)})(e,n,t,i);return(()=>{if(Er(e,n))return;const t=((e,t,n)=>{const r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;xr(e,t,n,r);const i=()=>{const n=e.router.getMatch(t);!n.preload||"redirected"!==n.status&&"notFound"!==n.status||wr(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()})(e,n,i);return Pn(t)?t.then(o):o()})()},Mr=(e,t,n)=>{var r,i,o,a,s,l;const c=e.router.getMatch(t);if(!c)return;if(!n.options.head&&!n.options.scripts&&!n.options.headers)return;const u={ssr:e.router.options.ssr,matches:e.matches,match:c,params:c.params,loaderData:c.loaderData};return Promise.all([null==(i=(r=n.options).head)?void 0:i.call(r,u),null==(a=(o=n.options).scripts)?void 0:a.call(o,u),null==(l=(s=n.options).headers)?void 0:l.call(s,u)]).then(([e,t,n])=>({meta:null==e?void 0:e.meta,links:null==e?void 0:e.links,headScripts:null==e?void 0:e.scripts,headers:n,scripts:t,styles:null==e?void 0:e.styles}))},Ar=(e,t,n,r,i)=>{const o=t[r-1],{params:a,loaderDeps:s,abortController:l,cause:c}=e.router.getMatch(n),u=br(e,r),d=yr(e,n);return{params:a,deps:s,preload:!!d,parentMatchPromise:o,abortController:l,context:u,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),cause:d?"preload":c,route:i,...e.router.options.additionalContext}},Lr=async(e,t,n,r,i)=>{var o,a,s,l,c;try{const h=e.router.getMatch(n);try{Dr(i);const o=i.options.loader,a="function"==typeof o?o:null==o?void 0:o.handler,s=null==a?void 0:a(Ar(e,t,n,r,i)),l=!!a&&Pn(s);if((l||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||h._nonReactive.minPendingPromise)&&e.updateMatch(n,e=>({...e,isFetching:"loader"})),a){const t=l?await s:s;wr(e,e.router.getMatch(n),t),void 0!==t&&e.updateMatch(n,e=>({...e,loaderData:t}))}i._lazyPromise&&await i._lazyPromise;const c=h._nonReactive.minPendingPromise;c&&await c,i._componentsPromise&&await i._componentsPromise,e.updateMatch(n,t=>({...t,error:void 0,context:br(e,r),status:"success",isFetching:!1,updatedAt:Date.now()}))}catch(u){let t=u;if("AbortError"===(null==t?void 0:t.name))return h.abortController.signal.aborted?(null==(o=h._nonReactive.loaderPromise)||o.resolve(),void(h._nonReactive.loaderPromise=void 0)):void e.updateMatch(n,t=>({...t,status:"pending"===t.status?"success":t.status,isFetching:!1,context:br(e,r)}));const f=h._nonReactive.minPendingPromise;f&&await f,cr(u)&&await(null==(s=null==(a=i.options.notFoundComponent)?void 0:a.preload)?void 0:s.call(a)),wr(e,e.router.getMatch(n),u);try{null==(c=(l=i.options).onError)||c.call(l,u)}catch(d){t=d,wr(e,e.router.getMatch(n),d)}gr(t)||cr(t)||await Dr(i,["errorComponent"]),e.updateMatch(n,n=>({...n,error:t,context:br(e,r),status:"error",isFetching:!1}))}}catch(h){const t=e.router.getMatch(n);t&&(t._nonReactive.loaderPromise=void 0),wr(e,t,h)}},Pr=async(e,t,n)=>{var r,i,o,a;async function s(r,i,o,a,s){const c=Date.now()-i.updatedAt,h=r?s.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:s.options.staleTime??e.router.options.defaultStaleTime??0,f=s.options.shouldReload,m="function"==typeof f?f(Ar(e,t,l,n,s)):f,{status:g,invali
1d:v}=a,y=c>=h&&(!!e.forceStaleReload||"enter"===a.cause||void 0!==o&&o!==a.id);u="success"===g&&(v||(m??y)),r&&!1===s.options.preload||(u&&!e.sync&&p?(d=!0,(async()=>{var r,i;try{await Lr(e,t,l,n,s);const o=e.router.getMatch(l);null==(r=o._nonReactive.loaderPromise)||r.resolve(),null==(i=o._nonReactive.loadPromise)||i.resolve(),o._nonReactive.loaderPromise=void 0,o._nonReactive.loadPromise=void 0}catch(o){gr(o)&&await e.router.navigate(o.options)}})()):"success"!==g||u?await Lr(e,t,l,n,s):kr(e,l,n))}const{id:l,routeId:c}=e.matches[n];let u=!1,d=!1;const h=e.router.looseRoutesById[c],f=h.options.loader,p="blocking"!==(("function"==typeof f||null==f?void 0:f.staleReloadMode)??e.router.options.defaultStaleReloadMode);if(Er(e,l)){if(!e.router.getMatch(l))return e.matches[n];kr(e,l,n)}else{const t=e.router.getMatch(l),o=e.router.stores.matchesId.get()[n],a=(null==(r=o&&e.router.stores.matchStores.get(o)||null)?void 0:r.routeId)===c?o:null==(i=e.router.stores.matches.get().find(e=>e.routeId===c))?void 0:i.id,u=yr(e,l);if(t._nonReactive.loaderPromise){if("success"===t.status&&!e.sync&&!t.preload&&p)return t;await t._nonReactive.loaderPromise;const n=e.router.getMatch(l),r=n._nonReactive.error||n.error;r&&wr(e,n,r),"pending"===n.status&&await s(u,t,a,n,h)}else{const n=u&&!e.router.stores.matchStores.has(l),r=e.router.getMatch(l);r._nonReactive.loaderPromise=Ln(),n!==r.preload&&e.updateMatch(l,e=>({...e,preload:n})),await s(u,t,a,r,h)}}const m=e.router.getMatch(l);d||(null==(o=m._nonReactive.loaderPromise)||o.resolve(),null==(a=m._nonReactive.loadPromise)||a.resolve(),m._nonReactive.loadPromise=void 0),clearTimeout(m._nonReactive.pendingTimeout),m._nonReactive.pendingTimeout=void 0,d||(m._nonReactive.loaderPromise=void 0),m._nonReactive.dehydrated=void 0;const g=!!d&&m.isFetching;return g!==m.isFetching||!1!==m.invalid?(e.updateMatch(l,e=>({...e,isFetching:g,invalid:!1})),e.router.getMatch(l)):m};async function Rr(e){var t,n;const r=e,i=[];var o;let a;(o=r.router).stores.matchesId.get().some(e=>{var t;return null==(t=o.stores.matchStores.get(e))?void 0:t.get()._forcePending})&&vr(r);for(let g=0;g<r.matches.length;g++){try{const e=Tr(r,g);Pn(e)&&await e}catch(m){if(gr(m))throw m;if(cr(m))a=m;else if(!r.preload)throw m;break}if(r.serialError||null!=r.firstBadMatchIndex)break}const s=r.firstBadMatchIndex??r.matches.length,l=a&&!r.preload?Cr(r,a):void 0,c=a&&r.preload?0:void 0!==l?Math.min(l+1,s):s;let u,d;for(let g=0;g<c;g++)i.push(Pr(r,i,g));try{await Promise.all(i)}catch{const e=await Promise.allSettled(i);for(const t of e){if("rejected"!==t.status)continue;const e=t.reason;if(gr(e))throw e;cr(e)?u??(u=e):d??(d=e)}if(void 0!==d)throw d}const h=u??(a&&!r.preload?a:void 0);let f=void 0!==r.firstBadMatchIndex?r.firstBadMatchIndex:r.matches.length-1;if(!h&&a&&r.preload)return r.matches;if(h){const e=Cr(r,h);void 0===e&&Nn();const n=r.matches[e],i=r.router.looseRoutesById[n.routeId],o=null==(t=r.router.options)?void 0:t.defaultNotFoundComponent;!i.options.notFoundComponent&&o&&(i.options.notFoundComponent=o),h.routeId=n.routeId;const a=n.routeId===r.router.routeTree.id;r.updateMatch(n.id,e=>({...e,...a?{status:"success",globalNotFound:!0,error:void 0}:{status:"notFound",error:h},isFetching:!1})),f=e,await Dr(i,["notFoundComponent"])}else if(!r.preload){const e=r.matches[0];e.globalNotFound||(null==(n=r.router.getMatch(e.id))?void 0:n.globalNotFound)&&r.updateMatch(e.id,e=>({...e,globalNotFound:!1,error:void 0}))}if(r.serialError&&void 0!==r.firstBadMatchIndex){const e=r.router.looseRoutesById[r.matches[r.firstBadMatchIndex].routeId];await Dr(e,["errorComponent"])}for(let g=0;g<=f;g++){const{id:e,routeId:t}=r.matches[g],n=r.router.looseRoutesById[t];try{const t=Mr(r,e,n);if(t){const n=await t;r.updateMatch(e,e=>({...e,...n}))}}catch(m){}}const p=vr(r);if(Pn(p)&&await p,h)throw h;if(r.serialError&&!r.preload&&!r.onReady)throw r.serialError;return r.matches}function Or(e,t){const n=t.map(t=>{var n,r;return null==(r=null==(n=e.options[t])?void 0:n.preload)?void 0:r.call(n)}).filter(Boolean);if(0!==n.length)return Promise.all(n)}
1function Dr(e,t=_r){e._lazyLoaded||void 0!==e._lazyPromise||(e.lazyFn?e._lazyPromise=e.lazyFn().then(t=>{const{id:n,...r}=t.options;Object.assign(e.options,r),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);const n=()=>e._componentsLoaded?void 0:t===_r?(()=>{if(void 0===e._componentsPromise){const t=Or(e,_r);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():Or(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function Ir(e){var t;for(const n of _r)if(null==(t=e.options[n])?void 0:t.preload)return!0;return!1}const _r=["component","errorComponent","pendingComponent","notFoundComponent"];function Fr(e,t){var n;const r=null==(n=null==e?void 0:e.input)?void 0:n.call(e,{url:t});if(r){if("string"==typeof r)return new URL(r);if(r instanceof URL)return r}return t}function $r(e,t){var n;const r=null==(n=null==e?void 0:e.output)?void 0:n.call(e,{url:t});if(r){if("string"==typeof r)return new URL(r);if(r instanceof URL)return r}return t}function Nr(e,t){const n=[];for(const r of t){const t=e.get(r);t&&n.push(t.get())}return n}function Br(e,t,n,r,i){const o=e.map(e=>e.id),a=new Set(o);i(()=>{for(const e of t.keys())a.has(e)||t.delete(e);for(const n of e){const e=t.get(n.id);if(!e){const e=r(n);e.routeId=n.routeId,t.set(n.id,e);continue}e.routeId=n.routeId,e.get()!==n&&e.set(n)}(function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0})(n.get(),o)||n.set(o)})}var jr="__TSR_index",zr="popstate",Vr="beforeunload";function Hr(e,t){t||(t={});const n=Wr();return{...t,key:n,__TSR_key:n,[jr]:e}}function Ur(e,t){const n=function(e){let t=e.replace(/[\x00-\x1f\x7f]/g,"");return t.startsWith("//")&&(t="/"+t.replace(/^\/+/,"")),t}(e),r=n.indexOf("#"),i=n.indexOf("?"),o=Wr();return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):"",search:i>-1?n.slice(i,-1===r?void 0:r):"",state:t||{[jr]:0,key:o,__TSR_key:o}}}function Wr(){return(Math.random()+1).toString(36).substring(7)}function Gr(e,t){const n=t,r=e;return{fromLocation:n,toLocation:r,pathChanged:(null==n?void 0:n.pathname)!==r.pathname,hrefChanged:(null==n?void 0:n.href)!==r.href,hashChanged:(null==n?void 0:n.hash)!==r.hash}}const qr=new WeakMap;var Kr=class{constructor(e,t){this.tempLocationKey=`${Math.round(1e7*Math.random())}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.startTransition=e=>e(),this.update=e=>{var t;const n=this.options,r=this.basepath??(null==n?void 0:n.basepath)??"/",i=void 0===this.basepath,o=null==n?void 0:n.rewrite;if(this.options={...n,...e},this.isServer=this.options.isServer??"undefined"==typeof document,this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=function(e){const t=new Map(e.map(e=>[encodeURIComponent(e),e])),n=Array.from(t.keys()).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),r=new RegExp(n,"g");return e=>e.replace(r,e=>t.get(e)??e)}(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=function(){var e,t;const n="undefined"!=typeof document?window:void 0,r=n.history.pushState,i=n.history.replaceState;let o=[];const a=()=>o,s=()=>Ur(`${n.location.pathname}${n.location.search}${n.location.hash}`,n.history.state);if(!(null==(e=n.history.state)?void 0:e.__TSR_key)&&!(null==(t=n.history.state)?void 0:t.key)){const e=Wr();n.history.replaceState({[jr]:0,key:e,__TSR_key:e},"")}let l,c,u,d=s(),h=!1,f=!1,p=!1,m=!1;const g=()=>{c&&(w._ignoreSubscribers=!0,(c.isPush?n.history.pushState:n.history.replaceState)(c.state,"",c.href),w._ignoreSubscribers=!1,c=void 0,u=void 0,l=void 0)},v=(e,t,n)=>{const r=t;u||(l=d),d=Ur(t,n),c={href:r,state:n,isPush:(null==c?void 0:c.isPush)||"push"===e},u||(u=Promise.resolve().then(()=>g()))},y=e=>{d=s(),w.notify({type:e})},b=async()=>
1{if(f)return void(f=!1);const e=s(),t=e.state[jr]-d.state[jr],r=-1===t,i=!(1===t)&&!r||h;h=!1;const o=i?"GO":r?"BACK":"FORWARD",l=i?{type:"GO",index:t}:{type:r?"BACK":"FORWARD"};if(p)p=!1;else{const t=a();if("undefined"!=typeof document&&t.length)for(const r of t)if(await r.blockerFn({currentLocation:d,nextLocation:e,action:o}))return f=!0,n.history.go(1),void w.notify(l)}d=s(),w.notify(l)},C=e=>{if(m)return void(m=!1);let t=!1;const n=a();if("undefined"!=typeof document&&n.length)for(const r of n){const e=r.enableBeforeUnload??!0;if(!0===e){t=!0;break}if("function"==typeof e&&!0===e()){t=!0;break}}return t?(e.preventDefault(),e.returnValue=""):void 0},w=function(e){let t=e.getLocation();const n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??1?r(n):t=e.getLocation()},o=async({task:n,navigateOpts:r,...i})=>{var o,a;if(null==r?void 0:r.ignoreBlocker)return void n();const s=(null==(o=e.getBlockers)?void 0:o.call(e))??[],l="PUSH"===i.type||"REPLACE"===i.type;if("undefined"!=typeof document&&s.length&&l)for(const c of s){const n=Ur(i.path,i.state);if(await c.blockerFn({currentLocation:t,nextLocation:n,action:i.type}))return void(null==(a=e.onBlocked)||a.call(e))}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,a)=>{const s=t.state[jr];i=Hr(s+1,i),o({task:()=>{e.pushState(n,i),r({type:"PUSH"})},navigateOpts:a,type:"PUSH",path:n,state:i})},replace:(n,i,a)=>{const s=t.state[jr];i=Hr(s,i),o({task:()=>{e.replaceState(n,i),r({type:"REPLACE"})},navigateOpts:a,type:"REPLACE",path:n,state:i})},go:(t,n)=>{o({task:()=>{e.go(t),i({type:"GO",index:t})},navigateOpts:n,type:"GO"})},back:t=>{o({task:()=>{e.back((null==t?void 0:t.ignoreBlocker)??!1),i({type:"BACK"})},navigateOpts:t,type:"BACK"})},forward:t=>{o({task:()=>{e.forward((null==t?void 0:t.ignoreBlocker)??!1),i({type:"FORWARD"})},navigateOpts:t,type:"FORWARD"})},canGoBack:()=>0!==t.state[jr],createHref:t=>e.createHref(t),block:t=>{var n;if(!e.setBlockers)return()=>{};const r=(null==(n=e.getBlockers)?void 0:n.call(e))??[];return e.setBlockers([...r,t]),()=>{var n,r;const i=(null==(n=e.getBlockers)?void 0:n.call(e))??[];null==(r=e.setBlockers)||r.call(e,i.filter(e=>e!==t))}},flush:()=>{var t;return null==(t=e.flush)?void 0:t.call(e)},destroy:()=>{var t;return null==(t=e.destroy)?void 0:t.call(e)},notify:r}}({getLocation:()=>d,getLength:()=>n.history.length,pushState:(e,t)=>v("push",e,t),replaceState:(e,t)=>v("replace",e,t),back:e=>(e&&(p=!0),m=!0,n.history.back()),forward:e=>{e&&(p=!0),m=!0,n.history.forward()},go:e=>{h=!0,n.history.go(e)},createHref:e=>e,flush:g,destroy:()=>{n.history.pushState=r,n.history.replaceState=i,n.removeEventListener(Vr,C,{capture:!0}),n.removeEventListener(zr,b)},onBlocked:()=>{l&&d!==l&&(d=l)},getBlockers:a,setBlockers:e=>o=e,notifyOnIndexChange:!1});return n.addEventListener(Vr,C,{capture:!0}),n.addEventListener(zr,b),n.history.pushState=function(...e){const t=r.apply(n.history,e);return w._ignoreSubscribers||y("PUSH"),t},n.history.replaceState=function(...e){const t=i.apply(n.history,e);return w._ignoreSubscribers||y("REPLACE"),t},w}()),this.origin=this.options.origin,this.origin||((null==window?void 0:window.origin)&&"null"!==window.origin?this.origin=window.origin:this.origin="http://localhost"),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){let e;this.routeTree=this.options.routeTree,this.resolvePathCache=Bn(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){const e=this.getStoreConfig(this);this.batch=e.batch,this.stores=function(e,t){const{createMutableStore:n,createReadonlyStore:r,batch:i,init:o}=t,a=new Map,s=new Map,l=new Map,c=n(e.status),u=n(e.loadedAt),d=n(e.isLoading),h=n(e.isTransitioning),f=n(e.location),p=n(e.resolvedLocation),m=n(e.statusCode),g=n(e.redirect),v=n([]),y=n([]),b=n([]),C=r(()=>Nr(a,v.get())),w=r(()=>Nr(s,y.get())),E=r(()=>Nr(l,b.get())),k=r(()=>v.get()[0]),S=r(()=>v.get().some(e=>{var t;return"pending"===(null==(t=a.get(e))?void 0:t.get().status)})),x=r(()=>{var e;return{locationHref:f.get().href,resolvedLocationHref:null==(e=p.get())?void 0:e.href,status:c.get()}}),T=r(()=>({status:c.get(),loadedAt:u.get(),isLoading:d.get(),isTransitioning:h.get(),matches:C.get(),location:f.get(),resolvedLocation:p.get(),statusCode:m.get(),redirect:g.get()})),M=Bn(64),A={status:c,loadedAt:u,isLoading:d,isTransitioning:h,location:f,resolvedLocation:p,statusCode:m,redirect:g,matchesId:v,pendingIds:y,cachedIds:b,matches:C,pendingMatches:w,cachedMatches:E,firstId:k,hasPending:S,matchRouteDeps:x,matchStores:a,pendingMatchStores:s,cachedMatchStores:l,__store:T,getRouteMatchStore:function(e){let t=M.get(e);return t||(t=r(()=>{const t=v.get();for(const n of t){const t=a.get(n);if(t&&t.routeId===e)return t.get()}}),M.set(e,t)),t},setMatches:L,setPending:function(e){Br(e,s,y,n,i)},setCached:function(e){Br(e,l,b,n,i)}};function L(e){Br(e,a,v,n,i)}return L(e.matches),null==o||o(A),A}({loadedAt:0,isLoading:!1,isTransitioning:!1,status:"idle",resolvedLocation:void 0,location:this.latestLocation,matches:[],statusCode:200},e),function(e){const t=e.options.scrollRestoration,n=e._scroll;t&&(n.restoring=!0);const r=e.options.getScrollRestorationKey||ii,i=new Map,o=(e,t,n)=>{const r=i.get(e)||{};r.scrollX=t,r.scrollY=n,i.set(e,r)},a=e=>{if(!n.restoring)return;const t=ni[e]||(ni[e]={});for(const[n,r]of i)n===si?t[si]=r:n.isConnected&&(t[oi(n)]=r)};t&&!n.restoration&&(n.restoration=!0,ai=!1,history.scrollRestoration="manual",document.addEventListener("scroll",e=>{if(!ai&&n.restoring)if(e.target===document)o(si,scrollX,scrollY);else{const t=e.target;o(t,t.scrollLeft,t.scrollTop)}},!0),e.subscribe("onBeforeLoad",e=>{e.fromLocation&&a(r(e.fromLocation)),i.clear()}),addEventListener("pagehide",()=>{a(r(e.stores.resolvedLocation.get()??e.stores.location.get())),function(){try{null==ei||ei.setItem(Jr,JSON.stringify(ni))}catch{}}()})),n.reset||(n.reset=!0,e.subscribe("onRendered",t=>{var o;const a=e.options.scrollRestorationBehavior,s=e.options.scrollToTopSelectors,l=n.next;
1let c;if(i.clear(),l||(n.next=!0),"function"==typeof e.options.scrollRestoration&&!e.options.scrollRestoration({location:e.latestLocation}))return;const u=r(t.toLocation),d=t.fromLocation&&r(t.fromLocation);if(n.restoring&&d&&d!==u){const e=ni[d];if(e){let t=ni[u];for(const n in e){if(n===si){if(l)continue}else{const e=li(n);if(!e)continue;if(l&&s&&(c??(c=ci(s)),c.includes(e)))continue}t||(t=ni[u]={}),t[n]??(t[n]=e[n])}}}ai=!0;try{const e=t.toLocation.hash,r=t.toLocation.state.__hashScrollIntoViewOptions??!0;let i=!1;if(l){const o=qr.get(t.toLocation),l=e&&r&&("PUSH"===o||"REPLACE"===o),d=n.restoring?ni[u]:void 0;if(d)for(const e in d){const{scrollX:t,scrollY:n}=d[e];if(e===si){if(l)continue;scrollTo({top:n,left:t,behavior:a}),i=!0}else{const r=li(e);r&&(r.scrollLeft=t,r.scrollTop=n)}}if(!i&&!e){const e={top:0,left:0,behavior:a};if(scrollTo(e),s){c??(c=ci(s));for(const t of c)t.scrollTo(e)}}}!i&&e&&r&&(null==(o=document.getElementById(e))||o.scrollIntoView(r))}finally{ai=!1}}))}(this)}let a=!1;const s=this.options.basepath??"/",l=this.options.rewrite;if(i||r!==s||o!==l){this.basepath=s;const e=[],t=rr(s);t&&"/"!==t&&e.push(function(e){const t=rr(e.basepath),n=`/${t}`,r=e.caseSensitive?n:n.toLowerCase(),i=`${r}/`;return{input:({url:t})=>{const o=e.caseSensitive?t.pathname:t.pathname.toLowerCase();return o===r?t.pathname="/":o.startsWith(i)&&(t.pathname=t.pathname.slice(n.length)),t},output:({url:e})=>(e.pathname=Jn(["/",t,e.pathname]),e)}}({basepath:s})),l&&e.push(l),this.rewrite=0===e.length?void 0:1===e.length?e[0]:function(e){return{input:({url:t})=>{for(const n of e)t=Fr(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=$r(e[n],t);return t}}}(e),this.history&&this.updateLatestLocation(),a=!0}a&&this.stores&&this.stores.location.set(this.latestLocation),"undefined"!=typeof window&&"CSS"in window&&"function"==typeof(null==(t=window.CSS)?void 0:t.supports)&&(this.isViewTransitionTypesSupported=window.CSS.supports("selector(:active-view-transition-type(a))"))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{const e=function(e,t=!1,n){const r=Un(e.fullPath),i=new Uint16Array(6),o={},a={};let s=0;return zn(t,i,e,1,r,0,e=>{if(null==n||n(e,s),e.id in o&&Nn(),o[e.id]=e,0!==s&&e.path){const n="/"===(t=e.fullPath)?t:t.replace(/\/{1,}$/,"");a[n]&&!e.fullPath.endsWith("/")||(a[n]=e)}var t;s++}),Hn(r),{processedTree:{segmentTree:r,singleCache:Bn(1e3),matchCache:Bn(1e3),flatCache:null,masksTree:null},routesById:o,routesByPath:a}}(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&function(e,t){const n=Un("/"),r=new Uint16Array(6);for(const i of e)zn(!1,r,i,1,n,0);Hn(n),t.masksTree=n,t.flatCache=Bn(1e3)}(this.options.routeMasks,e.processedTree),e},this.subscribe=(e,t)=>{const n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{this.subscribers.forEach(t=>{t.eventType===e.type&&t.fn(e)})},this.parseLocation=(e,t)=>{const n=({pathname:e,search:n,hash:r,href:i,state:o})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){const i=this.options.parseSearch(n),a=this.options.stringifySearch(i);return{href:e+a+r,publicHref:e+a+r,pathname:$n(e).path,external:!1,searchStr:a,search:En(null==t?void 0:t.search,i),hash:$n(r.slice(1)).path,state:kn(null==t?void 0:t.state,o)}}const a=new URL(i,this.origin),s=Fr(this.rewrite,a),l=this.options.parseSearch(s.search),c=this.options.stringifySearch(l);return s.search=c,{href:s.href.replace(s.origin,""),publicHref:i,pathname:$n(s.pathname).path,external:!!this.rewrite&&s.origin!==this.origin,searchStr:c,search:En(null==t?void 0:t.search,l),hash:$n(s.hash.slice(1)).path,state:kn(null==t?void 0:t.state,o)}},r=n(e),{__tempLocation:i,__tempKey:o}=r.state;if(i&&(!o||o===this.tempLocationKey)){const e=n(i);return e.state.key=r.state.key,e.state.__TSR_key=r.state.__TSR_key,delete e.state.__tempLocation,{...e,maskedLocation:r}}return r},this.resolvePathWithBase=(e,t)=>function({base:e,to:t,trailingSlash:n="never",cache:r}){const i=t.startsWith("/"),o=!i&&"."===t;let a,s;if(r){a=i?t:o?e:e+"\0"+t;const n=r.get(a);if(n)return n}if(o)s=e.split("/");else if(i)s=t.split("/");else{for(s=e.split("/");s.length>1&&""===gn(s);)s.pop();const n=t.split("/");for(let e=0,t=n.length;e<t;e++){const r=n[e];
1""===r?e?e===t-1&&s.push(r):s=[r]:".."===r?s.pop():"."===r||s.push(r)}}s.length>1&&(""===gn(s)?"never"===n&&s.pop():"always"===n&&s.push(""));const l=er(s.join("/"))||"/";return a&&r&&r.set(a,l),l}({base:e,to:t.includes("//")?er(t):t,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(e,t,n)=>"string"==typeof e?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>function({pathname:e,routesById:t,processedTree:n}){const r=Object.create(null);let i;const o=function(e,t,n=!1){const r=n?e:`nofuzz\0${e}`,i=t.matchCache.get(r);if(void 0!==i)return i;let o;e||(e="/");try{o=Gn(e,t.segmentTree,n)}catch(a){if(!(a instanceof URIError))throw a;o=null}return o&&(o.branch=Kn(o.route)),t.matchCache.set(r,o),o}(nr(e),n,!0);return o&&(i=o.route,Object.assign(r,o.rawParams)),{matchedRoutes:(null==o?void 0:o.branch)||[t.__root__],routeParams:r,foundRoute:i}}({pathname:e,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=e=>{const t=this.getMatch(e);t&&(t.abortController.abort(),clearTimeout(t._nonReactive.pendingTimeout),t._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(e=>{this.cancelMatch(e)}),this.stores.matchesId.get().forEach(e=>{var t;if(this.stores.pendingMatchStores.has(e))return;const n=null==(t=this.stores.matchStores.get(e))?void 0:t.get();n&&("pending"!==n.status&&"loader"!==n.isFetching||this.cancelMatch(e))})},this.buildLocation=e=>{const t=(t={})=>{var n,r;const i=t._fromLocation||this.pendingBuiltLocation||this.latestLocation,o=this.matchRoutesLightweight(i);t.from;const a="path"===t.unsafeRelative?i.pathname:t.from??o.fullPath,s=t.to?`${t.to}`:void 0,l=o.search,c=Object.assign(Object.create(null),o.params),u=47===(null==s?void 0:s.charCodeAt(0))?"/":this.resolvePathWithBase(a,"."),d=s?this.resolvePathWithBase(u,s):u,h=!1===t.params||null===t.params?Object.create(null):!0===(t.params??!0)?c:Object.assign(c,vn(t.params,c)),f=this.routesByPath[nr(d)];let p;if(f)p=this.getRouteBranch(f);else if(d.includes("$"))p=[];else{const e=this.getMatchedRoutes(d);p=e.matchedRoutes,this.options.notFoundRoute&&(!e.foundRoute||"/"!==e.foundRoute.path&&e.routeParams["**"])&&(p=[...p,this.options.notFoundRoute])}if(p.length&&Cn(h))for(const e of p){const t=(null==(n=e.options.params)?void 0:n.stringify)??e.options.stringifyParams;if(t)try{Object.assign(h,t(h))}catch{}}const m=e.leaveParams?d:$n(ar({path:d,params:h,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path;let g=l;if(e._includeValidateSearch&&(null==(r=this.options.search)?void 0:r.strict)){const e={};p.forEach(t=>{if(t.options.validateSearch)try{Object.assign(e,Qr(t.options.validateSearch,{...e,...g}))}catch{}}),g=e}g=function({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return function(e){var t;let n,r;const i=[];for(const a of e){const e=a.options;if("search"in e)(null==(t=e.search)?void 0:t.middlewares)&&i.push(...e.search.middlewares);else if(e.preSearchFilters||e.postSearchFilters){const t=({search:t,next:n})=>{const r=n(e.preSearchFilters?e.preSearchFilters.reduce((e,t)=>t(e),t):t);return e.postSearchFilters?e.postSearchFilters.reduce((e,t)=>t(e),r):r};i.push(t)}const n=e.validateSearch;if(n){const e=({search:e,next:t,meta:i})=>{const o=t(e);if(r)try{const e=Qr(n,o);if(i&&e)for(const t in e)t in o||(i.defaulted||(i.defaulted=new Map)).set(t,e[t]);return{...o,...e}}catch{}return o};i.push(e)}}const o=(e,t,r)=>{if(e>=i.length){if(!n.search)return{};if(!0===n.search)return t;const e=vn(n.search,t);return r&&(r.explicit=e),e}return i[e]({search:t,next:(t,n)=>{if(n){const n=r||{};return{search:o(e+1,t,n),meta:n}}return o(e+1,t,r)},meta:r})};return function(e,t,i){return n=t,r=i,o(0,e)}}(n)(e,t,r??!1)}({search:g,dest:t,destRoutes:p,_includeValidateSearch:e._includeValidateSearch}),g=En(l,g);const v=this.options.stringifySearch(g),y=!0===t.hash?i.hash:t.hash?vn(t.hash,i.hash):void 0,b=y?`#${y}`:"";let C=!0===t.state?i.state:t.state?vn(t.state,i.state):{};C=kn(i.state,C);const w=`${m}${v}${b}`;let E,k,S=!1;if(this.rewrite){const e=new URL(w,this.origin),t=$r(this.rewrite,e);E=e.href.replace(e.origin,""),t.origin!==this.origin?(k=t.href,S=!0):k=t.pathname+t.search+t.hash}else E=/\s|[^\u0000-\u007F]/.test(x=w)?x.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):x,k=E;var x;return{publicHref:k,href:E,pathname:m,search:g,searchStr:v,state:C,hash:y??"",external:S,unmaskOnReload:t.unmaskOnReload}},n=(n={},r)=>{const i=t(n);let o=r?t(r):void 0;if(!o){const n=Object.create(null);if(this.options.routeMasks){const a=function(e,t){e||(e="/");const n=t.flatCache.get(e);if(n)return n;const r=Gn(e,t.masksTree);return t.flatCache.set(e,r),r}(i.pathname,this.processedTree);if(a){Object.assign(n,a.rawParams);const{from:i,params:s,...l}=a.route,c=!1===s||null===s?Object.create(null):!0===(s??!0)?n:Object.assign(n,vn(s,n));r={from:e.from,...l,params:c},o=t(r)}}}return o&&(i.maskedLocation=o),i};return e.mask?n(e,{from:e.from,...e.mask}):n(e)},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r;const i=nr(this.latestLocation.href)===nr(n.href);let o=this.commitLocationPromise;if(this.commitLocationPromise=Ln(()=>{null==o||o.resolve(),o=void 0}),i&&(()=>{const e=["key","__TSR_key","__TSR_index","__hashScrollIntoViewOptions"];
1e.forEach(e=>{n.state[e]=this.latestLocation.state[e]});const t=An(n.state,this.latestLocation.state);return e.forEach(e=>{delete n.state[e]}),t})())this.load();else{let{maskedLocation:i,hashScrollIntoView:o,...a}=n;i&&(a={...i,state:{...i.state,__tempKey:void 0,__tempLocation:{...a,search:a.searchStr,state:{...a.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(a.unmaskOnReload??this.options.unmaskOnReload)&&(a.state.__tempKey=this.tempLocationKey)),a.state.__hashScrollIntoViewOptions=o??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=e,r=n.replace?"REPLACE":"PUSH",this.history["REPLACE"===r?"replace":"push"](a.publicHref,a.state,{ignoreBlocker:t})}return this._scroll.next=n.resetScroll??!0,this.history.subscribers.size||this.load(r?{action:{type:r}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,href:o,...a}={})=>{if(o){const t=this.history.location.state.__TSR_index,n=Ur(o,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);a.to=Fr(this.rewrite,r).pathname,a.search=this.options.parseSearch(n.search),a.hash=n.hash.slice(1)}const s=this.buildLocation({...a,_includeValidateSearch:!0});this.pendingBuiltLocation=s;const l=this.commitLocation({...s,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return Promise.resolve().then(()=>{this.pendingBuiltLocation===s&&(this.pendingBuiltLocation=void 0)}),l},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{var o,a;let s=!1;if(n)try{new URL(`${n}`),s=!0}catch{}if(s&&!t&&(t=!0),t){if(void 0!==e||!n){const t=this.buildLocation({to:e,...i});n=n??t.publicHref,r=r??t.publicHref}const t=!s&&r?r:n;if(Dn(t,this.protocolAllowlist))return Promise.resolve();if(!i.ignoreBlocker){const e=(null==(a=(o=this.history).getBlockers)?void 0:a.call(o))??[];for(const t of e)if((null==t?void 0:t.blockerFn)&&await t.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:"PUSH"}))return Promise.resolve()}return i.replace?window.location.replace(t):window.location.href=t,Promise.resolve()}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();const e=this.matchRoutes(this.latestLocation),t=this.stores.cachedMatches.get().filter(t=>!e.some(e=>e.id===t.id));this.batch(()=>{this.stores.status.set("pending"),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(e),this.stores.setCached(t)})},this.load=async e=>{var t;const n=null==(t=null==e?void 0:e.action)?void 0:t.type;let r,i,o;const a=this.stores.resolvedLocation.get()??this.stores.location.get();for(o=new Promise(t=>{this.startTransition(async()=>{var s;try{this.beforeLoad(),n?qr.set(this.latestLocation,n):qr.delete(this.latestLocation);const t=this.latestLocation,r=Gr(t,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:"onBeforeNavigate",...r}),this.emit({type:"onBeforeLoad",...r}),await Rr({router:this,sync:null==e?void 0:e.sync,forceStaleReload:a.href===t.href,matches:this.stores.pendingMatches.get(),location:t,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{var e,t;let n=null,r=null,i=null,o=null;this.batch(()=>{const e=this.stores.pendingMatches.get(),t=e.length,a=this.stores.matches.get();n=t?a.filter(e=>!this.stores.pendingMatchStores.has(e.id)):null;const s=new Set;for(const n of this.stores.pendingMatchStores.values())n.routeId&&s.add(n.routeId);const l=new Set;for(const n of this.stores.matchStores.values())n.routeId&&l.add(n.routeId);r=t?a.filter(e=>!s.has(e.routeId)):null,i=t?e.filter(e=>!l.has(e.routeId)):null,o=t?e.filter(e=>l.has(e.routeId)):a,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),t&&(this.stores.setMatches(e),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...n.filter(e=>"error"!==e.status&&"notFound"!==e.status&&"redirected"!==e.status)]),this.clearExpiredCache())});for(const[a,s]of[[r,"onLeave"],[i,"onEnter"],[o,"onStay"]])if(a)for(const n of a)null==(t=(e=this.looseRoutesById[n.routeId].options)[s])||t.call(e,n)})})}})}catch(l){gr(l)?(r=l,this.navigate({...r.options,replace:!0,ignoreBlocker:!0})):cr(l)&&(i=l);const e=r?r.status:i?404:this.stores.matches.get().some(e=>"error"===e.status)?500:200;this.batch(()=>{this.stores.statusCode.set(e),this.stores.redirect.set(r)})}this.latestLoadPromise===o&&(null==(s=this.commitLocationPromise)||s.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),t()})}),this.latestLoadPromise=o,await o;this.latestLoadPromise&&o!==this.latestLoadPromise;)await this.latestLoadPromise;let s;this.hasNotFoundMatch()?s=404:this.stores.matches.get().some(e=>"error"===e.status)&&(s=500),void 0!==s&&this.stores.statusCode.set(s)},this.startViewTransition=e=>{const t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&"undefined"!=typeof document&&"startViewTransition"in document&&"function"==typeof document.startViewTransition){let n;if("object"==typeof t&&this.isViewTransitionTypesSupported){const r=this.latestLocation,i=this.stores.resolvedLocation.get(),o="function"==typeof t.types?t.types(Gr(r,i)):t.types;if(!1===o)return void e();n={update:e,types:o}}else n=e;document.startViewTransition(n)}else e()},this.updateMatch=(e,t)=>{this.startTransition(()=>
1{const n=this.stores.pendingMatchStores.get(e);if(n)return void n.set(t);const r=this.stores.matchStores.get(e);if(r)return void r.set(t);const i=this.stores.cachedMatchStores.get(e);if(i){const n=t(i.get());"redirected"===n.status?this.stores.cachedMatchStores.delete(e)&&this.stores.cachedIds.set(t=>t.filter(t=>t!==e)):i.set(n)}})},this.getMatch=e=>{var t,n,r;return(null==(t=this.stores.cachedMatchStores.get(e))?void 0:t.get())??(null==(n=this.stores.pendingMatchStores.get(e))?void 0:n.get())??(null==(r=this.stores.matchStores.get(e))?void 0:r.get())},this.invalidate=e=>{const t=t=>{var n;return(null==(n=null==e?void 0:e.filter)?void 0:n.call(e,t))??1?{...t,invalid:!0,...(null==e?void 0:e.forcePending)||"error"===t.status||"notFound"===t.status?{status:"pending",error:void 0}:void 0}:t};return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(t)),this.stores.setCached(this.stores.cachedMatches.get().map(t)),this.stores.setPending(this.stores.pendingMatches.get().map(t))}),this.shouldViewTransition=!1,this.load({sync:null==e?void 0:e.sync})},this.getParsedLocationHref=e=>e.publicHref||"/",this.resolveRedirect=e=>{const t=e.headers.get("Location");if(!e.options.href||e.options._builtLocation){const t=e.options._builtLocation??this.buildLocation(e.options),n=this.getParsedLocationHref(t);e.options.href=n,e.headers.set("Location",n)}else if(t)try{const n=new URL(t);if(this.origin&&n.origin===this.origin){const t=n.pathname+n.search+n.hash;e.options.href=t,e.headers.set("Location",t)}}catch{}if(e.options.href&&!e.options._builtLocation&&Dn(e.options.href,this.protocolAllowlist))throw new Error("Redirect blocked: unsafe protocol");return e.headers.get("Location")||e.headers.set("Location",e.options.href),e},this.clearCache=e=>{const t=null==e?void 0:e.filter;void 0!==t?this.stores.setCached(this.stores.cachedMatches.get().filter(e=>!t(e))):this.stores.setCached([])},this.clearExpiredCache=()=>{const e=Date.now();this.clearCache({filter:t=>{const n=this.looseRoutesById[t.routeId];if(!n.options.loader)return!0;const r=(t.preload?n.options.preloadGcTime??this.options.defaultPreloadGcTime:n.options.gcTime??this.options.defaultGcTime)??3e5;return"error"===t.status||e-t.updatedAt>=r}})},this.loadRouteChunk=Dr,this.preloadRoute=async e=>{const t=e._builtLocation??this.buildLocation(e);let n=this.matchRoutes(t,{throwOnError:!0,preload:!0,dest:e});const r=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),i=new Set([...r,...this.stores.cachedIds.get()]),o=n.filter(e=>!i.has(e.id));if(o.length){const e=this.stores.cachedMatches.get();this.stores.setCached([...e,...o])}try{return n=await Rr({router:this,matches:n,location:t,preload:!0,updateMatch:(e,t)=>{r.has(e)?n=n.map(n=>n.id===e?t(n):n):this.updateMatch(e,t)}}),n}catch(a){if(gr(a)){if(a.options.reloadDocument)return;return await this.preloadRoute({...a.options,_fromLocation:t})}return void cr(a)}},this.matchRoute=(e,t)=>{const n={...e,to:e.to?this.resolvePathWithBase(e.from||"",e.to):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n);if((null==t?void 0:t.pending)&&"pending"!==this.stores.status.get())return!1;const i=(void 0===(null==t?void 0:t.pending)?!this.stores.isLoading.get():t.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),o=function(e,t,n,r,i){e||(e="/"),r||(r="/");const o=t?`case\0${e}`:e;let a=i.singleCache.get(o);return a||(a=Un("/"),zn(t,new Uint16Array(6),{from:e},1,a,0),i.singleCache.set(o,a)),Gn(r,a,n)}(r.pathname,(null==t?void 0:t.caseSensitive)??!1,(null==t?void 0:t.fuzzy)??!1,i.pathname,this.processedTree);return!!o&&!(e.params&&!An(o.rawParams,e.params,{partial:!0}))&&((null==t?void 0:t.includeSearch)??1?!!An(i.search,r.search,{partial:!0})&&o.rawParams:o.rawParams)},this.hasNotFoundMatch=()=>this.stores.matches.get().some(e=>"notFound"===e.status||e.globalNotFound),this.getStoreConfig=t,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??fr,parseSearch:e.parseSearch??dr,protocolAllowlist:e.protocolAllowlist??On}),"undefined"!=typeof document&&(self.__TSR_ROUTER__=this)}
1isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;const r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=Kn(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return(null==e?void 0:e.id)?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){var n,r;const i=this.getMatchedRoutes(e.pathname),{foundRoute:o,routeParams:a}=i;let{matchedRoutes:s}=i,l=!1;(o?"/"!==o.path&&a["**"]:nr(e.pathname))&&(this.options.notFoundRoute?s=[...s,this.options.notFoundRoute]:l=!0);const c=l?function(e,t){if("root"!==e)for(let n=t.length-1;n>=0;n--){const e=t[n];if(e.children)return e.id}return pr}(this.options.notFoundMode,s):void 0,u=new Array(s.length),d=new Map;for(const f of this.stores.matchStores.values())f.routeId&&d.set(f.routeId,f.get());for(let f=0;f<s.length;f++){const i=s[f],o=u[f-1];let l,p,m;{const n=(null==o?void 0:o.search)??e.search,r=(null==o?void 0:o._strictSearch)??void 0;try{const e=Qr(i.options.validateSearch,{...n})??void 0;l={...n,...e},p={...r,...e},m=void 0}catch(h){let e=h;if(h instanceof Yr||(e=new Yr(h.message,{cause:h})),null==t?void 0:t.throwOnError)throw e;l=n,p={},m=e}}const g=(null==(r=(n=i.options).loaderDeps)?void 0:r.call(n,{search:l}))??"",v=g?JSON.stringify(g):"",{interpolatedPath:y,usedParams:b}=ar({path:i.fullPath,params:a,decoder:this.pathParamsDecoder,server:this.isServer}),C=i.id+y+v,w=this.getMatch(C),E=d.get(i.id),k=(null==w?void 0:w._strictParams)??b;let S;if(!w)try{Xr(i,k)}catch(h){if(S=cr(h)||gr(h)?h:new Zr(h.message,{cause:h}),null==t?void 0:t.throwOnError)throw S}Object.assign(a,k);const x=E?"stay":"enter";let T;if(w)T={...w,cause:x,params:(null==E?void 0:E.params)??a,_strictParams:k,search:En(E?E.search:w.search,l),_strictSearch:p};else{const e=i.options.loader||i.options.beforeLoad||i.lazyFn||Ir(i)?"pending":"success";T={id:C,ssr:i.options.ssr,index:f,routeId:i.id,params:(null==E?void 0:E.params)??a,_strictParams:k,pathname:y,updatedAt:Date.now(),search:E?En(E.search,l):l,_strictSearch:p,searchError:void 0,status:e,isFetching:!1,error:void 0,paramsError:S,__routeContext:void 0,_nonReactive:{loadPromise:Ln()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:x,loaderDeps:E?kn(E.loaderDeps,g):g,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:i.options.staticData||{},fullPath:i.fullPath}}(null==t?void 0:t.preload)||(T.globalNotFound=c===i.id),T.searchError=m;const M=this.getParentContext(o);T.context={...M,...T.__routeContext,...T.__beforeLoadContext},u[f]=T}for(let f=0;f<u.length;f++){const t=u[f],n=this.looseRoutesById[t.routeId],r=this.getMatch(t.id),i=d.get(t.routeId);if(t.params=i?En(i.params,a):a,!r){const r=u[f-1],i=this.getParentContext(r);if(n.options.context){const r={deps:t.loaderDeps,params:t.params,context:i??{},location:e,navigate:t=>this.navigate({...t,_fromLocation:e}),buildLocation:this.buildLocation,cause:t.cause,abortController:t.abortController,preload:!!t.preload,matches:u,routeId:n.id};t.__routeContext=n.options.context(r)??void 0}t.context={...i,...t.__routeContext,...t.__beforeLoadContext}}}return u}matchRoutesLightweight(e){var t;const{matchedRoutes:n,routeParams:r}=this.getMatchedRoutes(e.pathname),i=gn(n),o={...e.search};for(const c of n)try{Object.assign(o,Qr(c.options.validateSearch,o))}catch{}const a=gn(this.stores.matchesId.get()),s=a&&(null==(t=this.stores.matchStores.get(a))?void 0:t.get());let l;if(s&&s.routeId===i.id&&s.pathname===e.pathname)l=s.params;else{const e=Object.assign(Object.create(null),r);for(const t of n)try{Xr(t,e)}catch{}l=e}return{matchedRoutes:n,fullPath:i.fullPath,search:o,params:l}}},Yr=class extends Error{},Zr=class extends Error{};function Qr(e,t){if(null==e)return{};if("~standard"in e){const n=e["~standard"].validate(t);if(n instanceof Promise)throw new Yr("Async validation not supported");if(n.issues)throw new Yr(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return"parse"in e?e.parse(t):"function"==typeof e?e(t):{}}function Xr(e,t){var n;const r=(null==(n=e.options.params)?void 0:n.parse)??e.options.parseParams;if(r){const e=r(t);if(!1===e)throw new Error("Route params.parse returned false for a matched route");Object.assign(t,e)}}const Jr="tsr-scroll-restoration-v1_3",ei=function(){try{return sessionStorage}catch{return}}();function ti(){try{return JSON.parse((null==ei?void 0:ei.getItem("tsr-scroll-restoration-v1_3"))||"{}")}catch{return{}}}const ni=ti(),ri="data-scroll-restoration-id",ii=e=>e.state.__TSR_key||e.href;function oi(e){const t=e.getAttribute(ri);if(t)return`[${ri}="${t}"]`;let n,r="",i=e;for(;n=i.parentNode;){let e=1,t=i;for(;t=t.previousElementSibling;)e++;const o=`${i.localName}:nth-child(${e})`;r=r?`${o} > ${r}`:o,i=n}return r}let ai=!1;const si="window";function li(e){try{return"function"==typeof e?e():document.querySelector(e)}catch{}}function ci(e){const t=[];for(const n of e){if(n===si)continue;const e=li(n);e&&t.push(e)}return t}function ui(e,t){if(e)return"string"==typeof e?e:e[t]}function di(e){return(null==e?void 0:e.scriptFormat)??"module"}function hi(e,t,n){const r=function(e){return"string"==typeof e?{href:e,crossOrigin:void 0}:e}(t),i=ui(n,"script")??r.crossOrigin;return{..."iife"===di(e)?{rel:"preload",as:"script"}:{rel:"modulepreload"},href:r.href,...i?{crossOrigin:i}:{}}}function fi(e,t){if(0===t.length)return;if(1===t.length)return void e.push(t[0]);const n=new Set;for(const r of t){const t=JSON.stringify(r);n.has(t)||(n.add(t),e.push(r))}}var pi=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{var t,n;this.originalIndex=e.originalIndex;const r=this.options,i=!(null==r?void 0:r.path)&&!(null==r?void 0:r.id);this.parentRoute=null==(n=(t=this.options).getParentRoute)?void 0:n.call(t),i?this._path=pr:this.parentRoute||Nn();let o=i?pr:null==r?void 0:r.path;o&&"/"!==o&&(o=tr(o));const a=(null==r?void 0:r.id)||o;let s=i?pr:Jn(["__root__"===this.parentRoute.id?"":this.parentRoute.id,a]);"__root__"===o&&(o="/"),"__root__"!==s&&(s=Jn(["/",s]));const l="__root__"===s?"/":Jn([this.parentRoute.fullPath,o]);this._path=o,this._id=s,this._fullPath=l,this._to=nr(l)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),"object"==typeof e&&null!==e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>mr({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!(null==e?void 0:e.getParentRoute),(null==e?void 0:e.id)&&(null==e?void 0:e.path))throw new Error("Route cannot have both an 'id' and a 'path' option.")}},mi=class extends pi{constructor(e){super(e)}};function gi(e){const t=e.errorComponent??yi;return He.jsx(vi,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?Qt.createElement(t,{error:n,reset:r}):e.children})}var vi=class extends Qt.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){const n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function yi({error:e}){const[t,n]=Qt.useState(!1);return He.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[He.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[He.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),He.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>n(e=>!e),children:t?"Hide Error":"Show Error"})]}),He.jsx("div",{style:{height:".25rem"}}),t?He.jsx("div",{children:He.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?He.jsx("code",{children:e.message}):null})}):null]})}function bi({children:e,fallback:t=null}){return Ci()?He.jsx(Xt.Fragment,{children:e}):He.jsx(Xt.Fragment,{children:t})}function Ci(){return Xt.useSyncExternalStore(wi,()=>!0,()=>!1)}function wi(){return()=>{}}var Ei=Qt.createContext(null);function ki(e){return Qt.useContext(Ei)}var Si=Qt.createContext(void 0),xi=Qt.createContext(void 0),Ti=(e=>(e[e.None=0]="None",e[e.Mutable=1]="Mutable",e[e.Watching=2]="Watching",e[e.RecursedCheck=4]="RecursedCheck",e[e.Recursed=8]="Recursed",e[e.Dirty=16]="Dirty",e[e.Pending=32]="Pending",e))(Ti||{});function Mi({update:e,notify:t,unwatched:n}){return{link:function(e,t,n){const r=t.depsTail;if(void 0!==r&&r.dep===e)return;const i=void 0!==r?r.nextDep:t.deps;if(void 0!==i&&i.dep===e)return i.version=n,void(t.depsTail=i);const o=e.subsTail;if(void 0!==o&&o.version===n&&o.sub===t)return;const a=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:o,nextSub:void 0};void 0!==i&&(i.prevDep=a),void 0!==r?r.nextDep=a:t.deps=a,void 0!==o?o.nextSub=a:e.subs=a},unlink:function(e,t=e.sub){const r=e.dep,i=e.prevDep,o=e.nextDep,a=e.nextSub,s=e.prevSub;return void 0!==o?o.prevDep=i:t.depsTail=i,void 0!==i?i.nextDep=o:t.deps=o,void 0!==a?a.prevSub=s:r.subsTail=s,void 0!==s?s.nextSub=a:void 0===(r.subs=a)&&n(r),o},propagate:function(e){let n,r=e.nextSub;e:for(;;){const o=e.sub;let a=o.flags;if(60&a?12&a?4&a?48&a||!i(e,o)?a=0:(o.flags=40|a,a&=1):o.flags=-9&a|32:a=0:o.flags=32|a,2&a&&t(o),1&a){const t=o.subs;if(void 0!==t){const i=(e=t).nextSub;void 0!==i&&(n={value:r,prev:n},r=i);continue}}if(void 0===(e=r)){for(;void 0!==n;
1)if(e=n.value,n=n.prev,void 0!==e){r=e.nextSub;continue e}break}r=e.nextSub}},checkDirty:function(t,n){let i,o=0,a=!1;e:for(;;){const s=t.dep,l=s.flags;if(16&n.flags)a=!0;else if(17&~l){if(!(33&~l)){void 0===t.nextSub&&void 0===t.prevSub||(i={value:t,prev:i}),t=s.deps,n=s,++o;continue}}else if(e(s)){const e=s.subs;void 0!==e.nextSub&&r(e),a=!0}if(!a){const e=t.nextDep;if(void 0!==e){t=e;continue}}for(;o--;){const o=n.subs,s=void 0!==o.nextSub;if(s?(t=i.value,i=i.prev):t=o,a){if(e(n)){s&&r(o),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;const l=t.nextDep;if(void 0!==l){t=l;continue e}}return a}},shallowPropagate:r};function r(e){do{const n=e.sub,r=n.flags;32==(48&r)&&(n.flags=16|r,2==(6&r)&&t(n))}while(void 0!==(e=e.nextSub))}function i(e,t){let n=t.depsTail;for(;void 0!==n;){if(n===e)return!0;n=n.prevDep}return!1}}const Ai=[];let Li=0;const{link:Pi,unlink:Ri,propagate:Oi,checkDirty:Di,shallowPropagate:Ii}=Mi({update:e=>e._update(),notify(e){Ai[$i++]=e,e.flags&=~Ti.Watching},unwatched(e){void 0!==e.depsTail&&(e.depsTail=void 0,e.flags=Ti.Mutable|Ti.Dirty,ji(e))}});let _i,Fi=0,$i=0,Ni=0;function Bi(e){try{++Ni,e()}finally{--Ni||zi()}}function ji(e){const t=e.depsTail;let n=void 0!==t?t.nextDep:e.deps;for(;void 0!==n;)n=Ri(n,e)}function zi(){if(!(Ni>0)){for(;Fi<$i;){const e=Ai[Fi];Ai[Fi++]=void 0,e.notify()}Fi=0,$i=0}}function Vi(e,t){const n="function"==typeof e,r=e,i={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?Ti.None:Ti.Mutable,get:()=>(void 0!==_i&&Pi(i,_i,Li),i._snapshot),subscribe(e){const t=function(e){var t,n,r;const i="object"==typeof e,o=i?e:void 0;return{next:null==(t=i?e.next:e)?void 0:t.bind(o),error:null==(n=i?e.error:void 0)?void 0:n.bind(o),complete:null==(r=i?e.complete:void 0)?void 0:r.bind(o)}}(e),n={current:!1},r=function(){const e=()=>{const e=_i;_i=r,++Li,r.depsTail=void 0,r.flags=Ti.Watching|Ti.RecursedCheck;try{return i.get(),void(n.current?null==(o=t.next)||o.call(t,i._snapshot):n.current=!0)}finally{_i=e,r.flags&=~Ti.RecursedCheck,ji(r)}var o},r={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:Ti.Watching|Ti.RecursedCheck,notify(){const t=this.flags;t&Ti.Dirty||t&Ti.Pending&&Di(this.deps,this)?e():this.flags=Ti.Watching},stop(){this.flags=Ti.None,this.depsTail=void 0,ji(this)}};return e(),r}();return{unsubscribe:()=>{r.stop()}}},_update(e){const o=_i,a=(null==t?void 0:t.compare)??Object.is;if(n)_i=i,++Li,i.depsTail=void 0;else if(void 0===e)return!1;n&&(i.flags=Ti.Mutable|Ti.RecursedCheck);try{const t=i._snapshot,o="function"==typeof e?e(t):void 0===e&&n?r(t):e;return!(void 0!==t&&a(t,o)||(i._snapshot=o,0))}finally{_i=o,n&&(i.flags&=~Ti.RecursedCheck),ji(i)}}};return n?(i.flags=Ti.Mutable|Ti.Dirty,i.get=function(){const e=i.flags;if(e&Ti.Dirty||e&Ti.Pending&&Di(i.deps,i)){if(i._update()){const e=i.subs;void 0!==e&&Ii(e)}}else e&Ti.Pending&&(i.flags=e&~Ti.Pending);return void 0!==_i&&Pi(i,_i,Li),i._snapshot}):i.set=function(e){if(i._update(e)){const e=i.subs;void 0!==e&&(Oi(e),Ii(e),zi())}},i}var Hi,Ui,Wi,Gi,qi={exports:{}},Ki={},Yi={exports:{}},Zi={};var Qi=(Gi||(Gi=1,qi.exports=function(){if(Wi)return Ki;Wi=1;var e=Zt(),t=(Ui||(Ui=1,Yi.exports=function(){if(Hi)return Zi;Hi=1;var e=Zt(),t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,r=e.useEffect,i=e.useLayoutEffect,o=e.useDebugValue;function a(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(i){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var s=t(),l=n({inst:{value:s,getSnapshot:t}}),c=l[0].inst,u=l[1];return i(function(){c.value=s,c.getSnapshot=t,a(c)&&u({inst:c})},[e,s,t]),r(function(){return a(c)&&u({inst:c}),e(function(){a(c)&&u({inst:c})})},[e]),o(s),s};return Zi.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:s,Zi}()),Yi.exports),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=t.useSyncExternalStore,i=e.useRef,o=e.useEffect,a=e.useMemo,s=e.useDebugValue;return Ki.useSyncExternalStoreWithSelector=function(e,t,l,c,u){var d=i(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;d=a(function(){function e(e){if(!o){if(o=!0,r=e,e=c(e),void 0!==u&&h.hasValue){var t=h.value;if(u(t,e))return i=t}return i=e}if(t=i,n(r,e))return t;var a=c(e);return void 0!==u&&u(t,a)?(r=e,t):(r=e,i=a)}var r,i,o=!1,a=void 0===l?null:l;return[function(){return e(t())},null===a?void 0:function(){return e(a())}]},[t,l,c,u]);var f=r(e,d[0],d[1]);return o(function(){h.hasValue=!0,h.value=f},[f]),s(f),f},Ki}
1()),qi.exports);function Xi(e,t){return e===t}function Ji(e,t,n=Xi){const r=Qt.useCallback(t=>{if(!e)return()=>{};const{unsubscribe:n}=e.subscribe(t);return n},[e]),i=Qt.useCallback(()=>null==e?void 0:e.get(),[e]);return Qi.useSyncExternalStoreWithSelector(r,i,i,t,n)}var eo={get(){},subscribe:()=>({unsubscribe(){}})};function to(e,t){const n=Qt.useRef();return r=>{const i=(null==e?void 0:e.select)?e.select(r):r;return(null==e?void 0:e.structuralSharing)??t.options.defaultStructuralSharing?n.current=kn(n.current,i):i}}function no(e){const t=ki(),n=Qt.useContext(e.from?xi:Si),r=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(n),i=to(e,t),o=Ji(r??eo,e=>e?i(e):eo);if(o!==eo)return o;(e.shouldThrow??1)&&Nn()}function ro(e){return no({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function io(e){const{select:t,...n}=e;return no({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function oo(e){return no({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{const n=!1===e.strict?t.params:t._strictParams;return e.select?e.select(n):n}})}function ao(e){return no({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function so(e){const t=ki();return Qt.useCallback(n=>t.navigate({...n,from:n.from??(null==e?void 0:e.from)}),[null==e?void 0:e.from,t])}function lo(e){return no({...e,select:t=>e.select?e.select(t.context):t.context})}var co,uo,ho={exports:{}},fo={};function po(){return uo||(uo=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),ho.exports=function(){if(co)return fo;co=1;var e=Zt();function t(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},i=Symbol.for("react.portal"),o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function a(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return fo.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,fo.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(t(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:i,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,n,null,r)},fo.flushSync=function(e){var t=o.T,n=r.p;try{if(o.T=null,r.p=2,e)return e()}finally{o.T=t,r.p=n,r.d.f()}},fo.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,r.d.C(e,t))},fo.prefetchDNS=function(e){"string"==typeof e&&r.d.D(e)},fo.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,i=a(n,t.crossOrigin),o="string"==typeof t.integrity?t.integrity:void 0,s="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?r.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:i,integrity:o,fetchPriority:s}):"script"===n&&r.d.X(e,{crossOrigin:i,integrity:o,fetchPriority:s,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},fo.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=a(t.as,t.crossOrigin);r.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&r.d.M(e)},fo.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,i=a(n,t.crossOrigin);r.d.L(e,n,{crossOrigin:i,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"str
1ing"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},fo.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=a(t.as,t.crossOrigin);r.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else r.d.m(e)},fo.requestFormReset=function(e){r.d.r(e)},fo.unstable_batchedUpdates=function(e,t){return e(t)},fo.useFormState=function(e,t,n){return o.H.useFormState(e,t,n)},fo.useFormStatus=function(){return o.H.useHostTransitionStatus()},fo.version="19.2.7",fo}()),ho.exports}var mo=po();const go=Ne(mo);var vo={},yo={className:"active"},bo={role:"link","aria-disabled":!0},Co={"data-status":"active","aria-current":"page"},wo={"data-transitioning":"transitioning"},Eo=new WeakMap,ko={rootMargin:"100px"},So=e=>t=>{for(const n of e)if(n){if(t.defaultPrevented)return;n(t)}},xo=Qt.forwardRef((e,t)=>{const{_asChild:n,...r}=e,{type:i,...o}=function(e,t){const n=ki(),r=function(e){const t=Qt.useRef(null);return Qt.useImperativeHandle(e,()=>t.current,[]),t}(t),{activeProps:i,inactiveProps:o,activeOptions:a,to:s,preload:l,preloadDelay:c,preloadIntentProximity:u,hashScrollIntoView:d,replace:h,startTransition:f,resetScroll:p,viewTransition:m,children:g,target:v,disabled:y,style:b,className:C,onClick:w,onBlur:E,onFocus:k,onMouseEnter:S,onMouseLeave:x,onTouchStart:T,ignoreBlocker:M,params:A,search:L,hash:P,state:R,mask:O,reloadDocument:D,unsafeRelative:I,from:_,_fromLocation:F,...$}=e,N=Ci(),B=Qt.useMemo(()=>e,[n,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),j=Ji(n.stores.location,e=>e,(e,t)=>e.href===t.href),z=Qt.useMemo(()=>{const e={_fromLocation:j,...B};return n.buildLocation(e)},[n,j,B]),V=z.maskedLocation?z.maskedLocation.publicHref:z.publicHref,H=z.maskedLocation?z.maskedLocation.external:z.external,U=Qt.useMemo(()=>function(e,t,n,r){return r?void 0:t?{href:e,external:!0}:{href:n.createHref(e)||"/",external:!1}}(V,H,n.history,y),[y,H,V,n.history]),W=Qt.useMemo(()=>{if(null==U?void 0:U.external){if(Dn(U.href,n.protocolAllowlist))return;return U.href}if(!function(e){if("string"!=typeof e)return!1;const t=e.charCodeAt(0);return 47===t?47!==e.charCodeAt(1):46===t}(s)&&"string"==typeof s&&-1!==s.indexOf(":"))try{return new URL(s),Dn(s,n.protocolAllowlist)?void 0:s}catch{}},[s,U,n.protocolAllowlist]),G=Qt.useMemo(()=>{if(W)return!1;if(null==a?void 0:a.exact){if(e=j.pathname,t=z.pathname,ir(e,r=n.basepath)!==ir(t,r))return!1}else{const e=ir(j.pathname,n.basepath),t=ir(z.pathname,n.basepath);if(!e.startsWith(t)||e.length!==t.length&&"/"!==e[t.length])return!1}var e,t,r;return!(((null==a?void 0:a.includeSearch)??1)&&!An(j.search,z.search,{partial:!(null==a?void 0:a.exact),ignoreUndefined:!(null==a?void 0:a.explicitUndefined)}))&&(!(null==a?void 0:a.includeHash)||N&&j.hash===z.hash)},[null==a?void 0:a.exact,null==a?void 0:a.explicitUndefined,null==a?void 0:a.includeHash,null==a?void 0:a.includeSearch,j,W,N,z.hash,z.pathname,z.search,n.basepath]),q=G?vn(i,{})??yo:vo,K=G?vo:vn(o,{})??vo,Y=[C,q.className,K.className].filter(Boolean).join(" "),Z=(b||q.style||K.style)&&{...b,...q.style,...K.style},[Q,X]=Qt.useState(!1),J=Qt.useRef(!1),ee=!e.reloadDocument&&!W&&(l??n.options.defaultPreload),te=c??n.options.defaultPreloadDelay??0,ne=Qt.useCallback(()=>{n.preloadRoute({...B,_builtLocation:z}).catch(e=>{})},[n,B,z]);if(function(e,t,n={},r={}){Qt.useEffect(()=>{if(!e.current||r.disabled||"function"!=typeof IntersectionObserver)return;const i=new IntersectionObserver(([e])=>{t(e)},n);return i.observe(e.current),()=>{i.disconnect()}},[t,n,r.disabled,e])}(r,Qt.useCallback(e=>{(null==e?void 0:e.isIntersecting)&&ne()},[ne]),ko,{disabled:!(!y&&"viewport"===ee)}),Qt.useEffect(()=>{J.current||y||"render"!==ee||(ne(),J.current=!0)},[y,ne,ee]),W)return{...$,ref:r,href:W,...g&&{children:g},...v&&{target:v},...y&&{disabled:y},...b&&{style:b},...C&&{className:C},...w&&{onClick:w},...E&&{onBlur:E},...k&&{onFocus:k},...S&&{onMouseEnter:S},...x&&{onMouseLeave:x},...T&&{onTouchStart:T}};const re=e=>{if(y||"intent"!==ee)return;if(!te)return void ne();const t=e.currentTarget;if(Eo.has(t))return;const n=setTimeout(()=>{Eo.delete(t),ne()},te);Eo.set(t,n)},ie=e=>{if(y||!ee||!te)return;const t=e.currentTarget,n=Eo.get(t);n&&(clearTimeout(n),Eo.delete(t))};return{...$,...q,...K,href:null==U?void 0:U.href,ref:r,onClick:So([w,e=>{const t=e.currentTarget.getAttribute("target"),r=void 0!==v?v:t;if(!(y||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||e.defaultPrevented||r&&"_self"!==r||0!==e.button)){e.preventDefault(),mo.flushSync(()=>{X(!0)});const t=n.subscribe("onResolved",()=>{t(),X(!1)});n.navigate({...B,replace:h,resetScroll:p,hashScrollIntoView:d,startTransition:f,viewTransition:m,ignoreBlocker:M})}}]),onBlur:So([E,ie]),onFocus:So([k,re]),onMouseEnter:So([S,re]),onMouseLeave:So([x,ie]),onTouchStart:So([T,e=>{y||"intent"!==ee||ne()}]),disabled:!!y,target:v,...Z&&{style:Z},...Y&&{className:Y},...y&&bo,...G&&Co,...N&&Q&&wo}}(r,t),a="function"==typeof r.children?r.children({isActive:"active"===o["data-status"]}):r.children;if(!n){const{disabled:e,...t}=o;return Qt.createElement("a",t,a)}return Qt.createElement(n,o,a)}),To=class extends pi{constructor(e){super(e),this.useMatch=e=>no({select:null==e?void 0:e.select,from:this.id,structuralSharing:null==e?void 0:e.structuralSharing}),this.useRouteContext=e=>lo({...e,from:this.id}),this.useSearch=e=>ao({select:null==e?void 0:e.select,structuralSharing:null==e?void 0:e.structuralSharing,from:this.id}),this.useParams=e=>oo({select:null==e?void 0:e.select,structuralSharing:null==e?void 0:e.structuralSharing,from:this.id}),this.useLoaderDeps=e=>io({...e,from:this.id}),this.useLoaderData=e=>ro({...e,from:this.id}),this.useNavigate=()=>so({from:this.fullPath}),this.Link=Xt.forwardRef((e,t)=>
1He.jsx(xo,{ref:t,from:this.fullPath,...e}))}};function Mo(){return e=>function(e){return new Ao(e)}(e)}var Ao=class extends mi{constructor(e){super(e),this.useMatch=e=>no({select:null==e?void 0:e.select,from:this.id,structuralSharing:null==e?void 0:e.structuralSharing}),this.useRouteContext=e=>lo({...e,from:this.id}),this.useSearch=e=>ao({select:null==e?void 0:e.select,structuralSharing:null==e?void 0:e.structuralSharing,from:this.id}),this.useParams=e=>oo({select:null==e?void 0:e.select,structuralSharing:null==e?void 0:e.structuralSharing,from:this.id}),this.useLoaderDeps=e=>io({...e,from:this.id}),this.useLoaderData=e=>ro({...e,from:this.id}),this.useNavigate=()=>so({from:this.fullPath}),this.Link=Xt.forwardRef((e,t)=>He.jsx(xo,{ref:t,from:this.fullPath,...e}))}};function Lo(e){return new Po(e,{silent:!0}).createRoute}var Po=class{constructor(e,t){this.path=e,this.createRoute=e=>{const t=function(e){return new To(e)}(e);return t.isRoot=!1,t},this.silent=null==t?void 0:t.silent}};function Ro(e,t){let n,r,i,o;const a=()=>(n||(n=e().then(e=>{n=void 0,r=e[t]}).catch(e=>{if(i=e,function(e){return"string"==typeof(null==e?void 0:e.message)&&(e.message.startsWith("Failed to fetch dynamically imported module")||e.message.startsWith("error loading dynamically imported module")||e.message.startsWith("Importing a module script failed"))}(i)&&i instanceof Error&&"undefined"!=typeof window&&"undefined"!=typeof sessionStorage){const e=`tanstack_router_reload:${i.message}`;sessionStorage.getItem(e)||(sessionStorage.setItem(e,"1"),o=!0)}})),n),s=function(e){if(o)throw window.location.reload(),new Promise(()=>{});if(i)throw i;if(!r){if(!fn)throw a();fn(a())}return Qt.createElement(r,e)};return s.preload=a,s}function Oo(e){const t=ki(),n=`not-found-${Ji(t.stores.location,e=>e.pathname)}-${Ji(t.stores.status,e=>e)}`;return He.jsx(gi,{getResetKey:()=>n,onCatch:(t,n)=>{var r;if(!cr(t))throw t;null==(r=e.onCatch)||r.call(e,t,n)},errorComponent:({error:t})=>{var n;if(cr(t))return null==(n=e.fallback)?void 0:n.call(e,t);throw t},children:e.children})}function Do(){return He.jsx("p",{children:"Not Found"})}function Io(e){return He.jsx(He.Fragment,{children:e.children})}function _o(e,t,n){return t.options.notFoundComponent?He.jsx(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?He.jsx(e.options.defaultNotFoundComponent,{...n}):He.jsx(Do,{})}var Fo=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,$o=(e,t)=>e[0]===t[0]&&e[1]===t[1],No=Qt.memo(function({matchId:e}){const t=ki(),n=t.stores.matchStores.get(e);n||Nn();const r=Ji(t.stores.loadedAt,e=>e),i=Ji(n,e=>e,Fo);return He.jsx(Bo,{router:t,matchId:e,resetKey:r,matchState:Qt.useMemo(()=>{var e;const n=i.routeId,r=null==(e=t.routesById[n].parentRoute)?void 0:e.id;return{routeId:n,ssr:i.ssr,_displayPending:i._displayPending,parentRouteId:r}},[i._displayPending,i.routeId,i.ssr,t.routesById])})});function Bo({router:e,matchId:t,resetKey:n,matchState:r}){var i,o;const a=e.routesById[r.routeId],s=a.options.pendingComponent??e.options.defaultPendingComponent,l=s?He.jsx(s,{}):null,c=a.options.errorComponent??e.options.defaultErrorComponent,u=a.options.onCatch??e.options.defaultOnCatch,d=a.isRoot?a.options.notFoundComponent??(null==(i=e.options.notFoundRoute)?void 0:i.options.component):a.options.notFoundComponent,h=!1===r.ssr||"data-only"===r.ssr,f=(!a.isRoot||a.options.wrapInSuspense||h)&&(a.options.wrapInSuspense??s??((null==(o=a.options.errorComponent)?void 0:o.preload)||h))?Qt.Suspense:Io,p=c?gi:Io,m=d?Oo:Io;return He.jsxs(a.isRoot?a.options.shellComponent??Io:Io,{children:[He.jsx(Si.Provider,{value:t,children:He.jsx(f,{fallback:l,children:He.jsx(p,{getResetKey:()=>n,errorComponent:c||yi,onCatch:(e,t)=>{if(cr(e))throw e.routeId??(e.routeId=r.routeId),e;null==u||u(e,t)},children:He.jsx(m,{fallback:e=>{if(e.routeId??(e.routeId=r.routeId),!d||e.routeId&&e.routeId!==r.routeId||!e.routeId&&!a.isRoot)throw e;return Qt.createElement(d,e)},children:h||r._displayPending?He.jsx(bi,{fallback:l,children:He.jsx(zo,{matchId:t})}):He.jsx(zo,{matchId:t})})})})}),r.parentRouteId===pr?He.jsxs(He.Fragment,{children:[He.jsx(jo,{}),(e.options.scrollRestoration,null)]}):null]})}function jo(){const e=ki(),t=Qt.useRef();return pn(()=>{const n=e.stores.resolvedLocation.get(),r=t.current;!n||r&&r.href===n.href||e.emit({type:"onRendered",...Gr(e.stores.location.get(),r??n)}),t.current=n},[Ji(e.stores.resolvedLocation,e=>null==e?void 0:e.state.__TSR_key),e]),null}
1var zo=Qt.memo(function({matchId:e}){const t=ki(),n=(e,n)=>{var r;return(null==(r=t.getMatch(e.id))?void 0:r._nonReactive[n])??e._nonReactive[n]},r=t.stores.matchStores.get(e);r||Nn();const i=Ji(r,e=>e),o=i.routeId,a=t.routesById[o],s=Qt.useMemo(()=>{var e;const n=null==(e=t.routesById[o].options.remountDeps??t.options.defaultRemountDeps)?void 0:e({routeId:o,loaderDeps:i.loaderDeps,params:i._strictParams,search:i._strictSearch});return n?JSON.stringify(n):void 0},[o,i.loaderDeps,i._strictParams,i._strictSearch,t.options.defaultRemountDeps,t.routesById]),l=Qt.useMemo(()=>{const e=a.options.component??t.options.defaultComponent;return e?He.jsx(e,{},s):He.jsx(Vo,{})},[s,a.options.component,t.options.defaultComponent]);if(i._displayPending)throw n(i,"displayPendingPromise");if(i._forcePending)throw n(i,"minPendingPromise");if("pending"===i.status){const e=a.options.pendingMinMs??t.options.defaultPendingMinMs;if(e){const n=t.getMatch(i.id);if(n&&!n._nonReactive.minPendingPromise){const t=Ln();n._nonReactive.minPendingPromise=t,setTimeout(()=>{t.resolve(),n._nonReactive.minPendingPromise=void 0},e)}}throw n(i,"loadPromise")}if("notFound"===i.status)return cr(i.error)||Nn(),_o(t,a,i.error);if("redirected"===i.status)throw gr(i.error)||Nn(),n(i,"loadPromise");if("error"===i.status)throw i.error;return l}),Vo=Qt.memo(function(){const e=ki(),t=Qt.useContext(Si);let n,r,i=!1;{const o=t?e.stores.matchStores.get(t):void 0;[n,i]=Ji(o,e=>[null==e?void 0:e.routeId,(null==e?void 0:e.globalNotFound)??!1],$o),r=Ji(e.stores.matchesId,e=>e[e.findIndex(e=>e===t)+1])}const o=n?e.routesById[n]:void 0,a=e.options.defaultPendingComponent?He.jsx(e.options.defaultPendingComponent,{}):null;if(i)return o||Nn(),_o(e,o,void 0);if(!r)return null;const s=He.jsx(No,{matchId:r});return n===pr?He.jsx(Qt.Suspense,{fallback:a,children:s}):s});function Ho(){const e=ki(),t=Qt.useRef({router:e,mounted:!1}),[n,r]=Qt.useState(!1),i=Ji(e.stores.isLoading,e=>e),o=Ji(e.stores.hasPending,e=>e),a=mn(i),s=i||n||o,l=mn(s),c=i||o,u=mn(c);return e.startTransition=e=>{r(!0),Qt.startTransition(()=>{e(),r(!1)})},Qt.useEffect(()=>{const t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return nr(e.latestLocation.publicHref)!==nr(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),pn(()=>{"undefined"!=typeof window&&e.ssr||t.current.router===e&&t.current.mounted||(t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(t){}})())},[e]),pn(()=>{a&&!i&&e.emit({type:"onLoad",...Gr(e.stores.location.get(),e.stores.resolvedLocation.get())})},[a,e,i]),pn(()=>{u&&!c&&e.emit({type:"onBeforeRouteMount",...Gr(e.stores.location.get(),e.stores.resolvedLocation.get())})},[c,u,e]),pn(()=>
1{if(l&&!s){const t=Gr(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:"onResolved",...t}),Bi(()=>{e.stores.status.set("idle"),e.stores.resolvedLocation.set(e.stores.location.get())})}},[s,l,e]),null}function Uo(){const e=ki(),t=e.routesById[pr].options.pendingComponent??e.options.defaultPendingComponent,n=t?He.jsx(t,{}):null,r=He.jsxs("undefined"!=typeof document&&e.ssr?Io:Qt.Suspense,{fallback:n,children:[He.jsx(Ho,{}),He.jsx(Wo,{})]});return e.options.InnerWrap?He.jsx(e.options.InnerWrap,{children:r}):r}function Wo(){const e=ki(),t=Ji(e.stores.firstId,e=>e),n=Ji(e.stores.loadedAt,e=>e),r=t?He.jsx(No,{matchId:t}):null;return He.jsx(Si.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:He.jsx(gi,{getResetKey:()=>n,errorComponent:yi,onCatch:void 0,children:r})})}var Go=e=>({createMutableStore:Vi,createReadonlyStore:Vi,batch:Bi}),qo=e=>new Ko(e),Ko=class extends Kr{constructor(e){super(e,Go)}};function Yo({router:e,children:t,...n}){Cn(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});const r=He.jsx(Ei.Provider,{value:e,children:t});return e.options.Wrap?He.jsx(e.options.Wrap,{children:r}):r}function Zo({router:e,...t}){return He.jsx(Yo,{router:e,...t,children:He.jsx(Uo,{})})}function Qo(e,t){const{shouldBlockFn:n,enableBeforeUnload:r=!0,disabled:i=!1,withResolver:o=!1}=function(e){if(void 0===e)return{shouldBlockFn:()=>!0,withResolver:!1};if("shouldBlockFn"in e)return e;if("function"==typeof e){const t=Boolean(!0);return{shouldBlockFn:async()=>!!t&&await e(),enableBeforeUnload:t,withResolver:!1}}const t=Boolean(e.condition??!0),n=e.blockerFn;return{shouldBlockFn:async()=>t&&void 0!==n?await n():t,enableBeforeUnload:t,withResolver:void 0===n}}(e),a=ki(),{history:s}=a,[l,c]=Qt.useState({status:"idle",current:void 0,next:void 0,action:void 0,proceed:void 0,reset:void 0});return Qt.useEffect(()=>i?void 0:s.block({blockerFn:async e=>{function t(e){const t=a.parseLocation(e),n=a.getMatchedRoutes(t.pathname);return void 0===n.foundRoute?{routeId:"__notFound__",fullPath:t.pathname,pathname:t.pathname,params:n.routeParams,search:a.options.parseSearch(e.search)}:{routeId:n.foundRoute.id,fullPath:n.foundRoute.fullPath,pathname:t.pathname,params:n.routeParams,search:a.options.parseSearch(e.search)}}const r=t(e.currentLocation),i=t(e.nextLocation);if("__notFound__"===r.routeId&&"__notFound__"!==i.routeId)return!1;const s=await n({action:e.action,current:r,next:i});if(!o)return s;if(!s)return!1;const l=await new Promise(t=>{c({status:"blocked",current:r,next:i,action:e.action,proceed:()=>t(!1),reset:()=>t(!0)})});return c({status:"idle",current:void 0,next:void 0,action:void 0,proceed:void 0,reset:void 0}),l},enableBeforeUnload:r}),[n,r,i,o,s,a]),l}function Xo(e){const t=ki(null==e||e.router),n=(null==e?void 0:e.router)||t;return Ji(n.stores.__store,to(e,n))}function Jo(e){const t=ki();return Ji(t.stores.location,to(e,t))}function ea(e,t){if(t)for(const[n,r]of Object.entries(t))"suppressHydrationWarning"!==n&&void 0!==r&&!1!==r&&e.setAttribute(n,"boolean"==typeof r?"":String(r))}function ta(e){const{attrs:t,children:n,nonce:r,preventScriptHoist:i}=e;switch(e.tag){case"title":return He.jsx("title",{...t,suppressHydrationWarning:!0,children:n});case"meta":return He.jsx("meta",{...t,suppressHydrationWarning:!0});case"link":return He.jsx("link",{...t,precedence:(null==t?void 0:t.precedence)??("stylesheet"===(null==t?void 0:t.rel)?"default":void 0),nonce:r,suppressHydrationWarning:!0});case"style":return e.inlineCss,He.jsx("style",{...t,dangerouslySetInnerHTML:{__html:n},nonce:r});case"script":return He.jsx(na,{attrs:t,preventScriptHoist:i,children:n});default:return null}}function na({attrs:e,children:t,preventScriptHoist:n}){ki();const r=Ci(),i="string"==typeof(null==e?void 0:e.type)&&""!==e.type&&"text/javascript"!==e.type&&"module"!==e.type;if(Qt.useEffect(()=>{if(!i){if(null==e?void 0:e.src){const t=(()=>{try{const t=document.baseURI||window.location.href;return new URL(e.src,t).href}catch{return e.src}})();for(const e of document.querySelectorAll("script[src]"))if(e.src===t)return;const n=document.createElement("script");return ea(n,e),document.head.appendChild(n),()=>n.remove()}if("string"==typeof t){const n="string"==typeof(null==e?void 0:e.type)?e.type:"text/javascript",r="string"==typeof(null==e?void 0:e.nonce)?e.nonce:void 0;for(const e of document.querySelectorAll("script:not([src])")){if(!(e instanceof HTMLScriptElement))continue;const i=e.getAttribute("type")??"text/javascript",o=e.getAttribute("nonce")??void 0;if(e.textContent===t&&i===n&&o===r)return}const i=document.createElement("script");return i.textContent=t,ea(i,e),document.head.appendChild(i),()=>i.remove()}}},[e,t,i]),i&&"string"==typeof t)return He.jsx("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!r){if(null==e?void 0:e.src)return He.jsx("script",{...e,suppressHydrationWarning:!0});if("string"==typeof t)return He.jsx("script",{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}function ra(e){var t;const n=(e=>{var t;const n=ki(),r=null==(t=n.options.ssr)?void 0:t.nonce,i=Ji(n.stores.matches,e=>e.map(e=>e.meta).filter(e=>void 0!==e),An),o=Qt.useMemo(()=>{const e=[],t={};let n;for(let o=i.length-1;o>=0;o--){const a=i[o];for(let i=a.length-1;i>=0;i--){const o=a[i];if(o)if(o.title)n||(n={tag:"title",children:o.title});else if("script:ld+json"in o)try{const t=JSON.stringify(o["script:ld+json"]);e.push({tag:"script",attrs:{type:"application/ld+json"},children:Fn(t)})}catch{}else{const n=o.name??o.property;if(n){if(t[n])continue;t[n]=!0}e.push({tag:"meta",attrs:{...o,nonce:r}})}}}return n&&e.push(n),r&&e.push({tag:"meta",attrs:{property:"csp-nonce",content:r}}),e.reverse(),e},[i,r]),a=Ji(n.stores.matches,e=>e.flatMap(e=>e.links??[]).filter(e=>void 0!==e).map(e=>({tag:"link",attrs:{...e,nonce:r}})),An),s=Ji(n.stores.matches,t=>{var i;const o=null==(i=n.ssr)?void 0:i.manifest,a=[];return o?(t.forEach(t=>{var n,i;
1null==(i=null==(n=o.routes[t.routeId])?void 0:n.css)||i.forEach(t=>{const n=function(e){return"string"==typeof e?{href:e,crossOrigin:void 0}:e}(t);a.push({tag:"link",attrs:{rel:"stylesheet",...n,crossOrigin:ui(e,"stylesheet")??n.crossOrigin,suppressHydrationWarning:!0,nonce:r}})})}),o.inlineStyle&&a.push({tag:"style",attrs:{...o.inlineStyle.attrs,nonce:r},children:o.inlineStyle.children,inlineCss:!0}),a):a},An),l=Ji(n.stores.matches,t=>{var i;const o=[],a=null==(i=n.ssr)?void 0:i.manifest;return a?(t.forEach(t=>{var n,i;null==(i=null==(n=a.routes[t.routeId])?void 0:n.preloads)||i.forEach(t=>{o.push({tag:"link",attrs:{...hi(a,t,e),nonce:r}})})}),o):o},An),c=Ji(n.stores.matches,e=>e.flatMap(e=>e.styles??[]).filter(e=>void 0!==e).map(({children:e,...t})=>({tag:"style",attrs:{...t,nonce:r},children:e})),An),u=Ji(n.stores.matches,e=>e.flatMap(e=>e.headScripts??[]).filter(e=>void 0!==e).map(({children:e,...t})=>({tag:"script",attrs:{...t,nonce:r},children:e})),An),d=[];return fi(d,o),d.push(...l),fi(d,a),d.push(...s),fi(d,c),fi(d,u),d})(e.assetCrossOrigin),r=null==(t=ki().options.ssr)?void 0:t.nonce;return He.jsx(He.Fragment,{children:n.map(e=>Qt.createElement(ta,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:r}))})}var ia,oa,aa,sa,la={exports:{}},ca={},ua={exports:{}},da={};var ha=(sa||(sa=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),la.exports=function(){if(aa)return ca;aa=1;var e=(oa||(oa=1,ua.exports=(ia||(ia=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,n))c<o&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,d=null,h=3,f=!1,p=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function C(e){for(var i=n(c);null!==i;){if(null===i.callback)r(c);else{if(!(i.startTime<=e))break;r(c),i.sortIndex=i.expirationTime,t(l,i)}i=n(c)}}function w(e){if(m=!1,C(e),!p)if(null!==n(l))p=!0,k||(k=!0,E());else{var t=n(c);null!==t&&R(w,t.startTime-e)}}var E,k=!1,S=-1,x=5,T=-1;function M(){return!(!g&&e.unstable_now()-T<x)}function A(){if(g=!1,k){var t=e.unstable_now();T=t;var i=!0;try{e:{p=!1,m&&(m=!1,y(S),S=-1),f=!0;var o=h;try{t:{for(C(t),d=n(l);null!==d&&!(d.expirationTime>t&&M());){var a=d.callback;if("function"==typeof a){d.callback=null,h=d.priorityLevel;var s=a(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof s){d.callback=s,C(t),i=!0;break t}d===n(l)&&r(l),C(t)}else r(l);d=n(l)}if(null!==d)i=!0;else{var u=n(c);null!==u&&R(w,u.startTime-t),i=!1}}break e}finally{d=null,h=o,f=!1}i=void 0}}finally{i?E():k=!1}}}if("function"==typeof b)E=function(){b(A)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,P=L.port2;L.port1.onmessage=A,E=function(){P.postMessage(null)}}else E=function(){v(A,0)};function R(t,n){S=v(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e||(x=0<e?Math.floor(1e3/e):5)},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},e.unstable_scheduleCallback=function(r,i,o){var a=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return r={id:u++,callback:i,priorityLevel:r,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(r.sortIndex=o,t(c,r),null===n(l)&&r===n(c)&&(m?(y(S),S=-1):m=!0,R(w,o-a))):(r.sortIndex=s,t(l,r),p||f||(p=!0,k||
vendor: 4,172 bytes, line 1
1(k=!0,E()))),r},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}}(da)),da)),ua.exports),t=Zt(),n=po();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function a(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function s(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(r(188))}function c(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=c(e)))return t;e=e.sibling}return null}var u=Object.assign,d=Symbol.for("react.element"),h=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),v=Symbol.for("react.consumer"),y=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),x=Symbol.for("react.memo_cache_sentinel"),T=Symbol.iterator;function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=T&&e[T]||e["@@iterator"])?e:null}var A=Symbol.for("react.client.reference");function L(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===A?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"Fragment";case g:return"Profiler";case m:return"StrictMode";case C:return"Suspense";case w:return"SuspenseList";case S:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case f:return"Portal";case y:return e.displayName||"Context";case v:return(e._context.displayName||"Context")+".Consumer";case b:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case E:return null!==(t=e.displayName||null)?t:L(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return L(e(t))}catch(n){}}return null}var P=Array.isArray,R=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D={pending:!1,data:null,method:null,action:null},I=[],_=-1;function F(e){return{current:e}}function $(e){0>_||(e.current=I[_],I[_]=null,_--)}function N(e,t){_++,I[_]=e.current,e.current=t}var B,j,z=F(null),V=F(null),H=F(null),U=F(null);function W(e,t){switch(N(H,t),N(V,e),N(z,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ed(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=kd(t=Ed(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}$(z),N(z,e)}function G(){$(z),$(V),$(H)}function q(e){null!==e.memoizedState&&N(U,e);var t=z.current,n=kd(t,e.type);t!==n&&(N(V,e),N(z,n))}function K(e){V.current===e&&($(z),$(V)),U.current===e&&($(U),mh._currentValue=D)}function Y(e){if(void 0===B)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);B=t&&t[1]||"",j=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+B+e+j}var Z=!1;function Q(e,t){if(!e||Z)return"";Z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(i){var r=i}Reflect.construct(e,[],n)}
vendor: 5,911 bytes, line 1
1else{try{n.call()}catch(o){r=o}e.call(n.prototype)}}else{try{throw Error()}catch(a){r=a}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"==typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=i);break}}}finally{Z=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Y(n):""}function X(e,t){switch(e.tag){case 26:case 27:case 5:return Y(e.type);case 16:return Y("Lazy");case 13:return e.child!==t&&null!==t?Y("Suspense Fallback"):Y("Suspense");case 19:return Y("SuspenseList");case 0:case 15:return Q(e.type,!1);case 11:return Q(e.type.render,!1);case 1:return Q(e.type,!0);case 31:return Y("Activity");default:return""}}function J(e){try{var t="",n=null;do{t+=X(e,n),n=e,e=e.return}while(e);return t}catch(r){return"\nError generating stack: "+r.message+"\n"+r.stack}}var ee=Object.prototype.hasOwnProperty,te=e.unstable_scheduleCallback,ne=e.unstable_cancelCallback,re=e.unstable_shouldYield,ie=e.unstable_requestPaint,oe=e.unstable_now,ae=e.unstable_getCurrentPriorityLevel,se=e.unstable_ImmediatePriority,le=e.unstable_UserBlockingPriority,ce=e.unstable_NormalPriority,ue=e.unstable_LowPriority,de=e.unstable_IdlePriority,he=e.log,fe=e.unstable_setDisableYieldValue,pe=null,me=null;function ge(e){if("function"==typeof he&&fe(e),me&&"function"==typeof me.setStrictMode)try{me.setStrictMode(pe,e)}catch(t){}}var ve=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ye(e)/be|0)|0},ye=Math.log,be=Math.LN2,Ce=256,we=262144,Ee=4194304;function ke(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Se(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var i=0,o=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~o)?i=ke(r):0!==(a&=s)?i=ke(a):n||0!==(n=s&~e)&&(i=ke(n)):0!==(s=r&~o)?i=ke(s):0!==a?i=ke(a):n||0!==(n=r&~e)&&(i=ke(n)),0===i?0:0!==t&&t!==i&&0===(t&o)&&((o=i&-i)>=(n=t&-t)||32===o&&4194048&n)?t:i}function xe(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Te(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Me(){var e=Ee;return!(62914560&(Ee<<=1))&&(Ee=4194304),e}function Ae(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Le(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Pe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ve(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|261930&n}function Re(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ve(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Oe(e,t){var n=t&-t;return 0!==((n=42&n?1:De(n))&(e.suspendedLanes|t))?0:n}function De(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ie(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function _e(){var e=O.p;return 0!==e?e:void 0===(e=window.event)?32:Rh(e.type)}function Fe(e,t){var n=O.p;try{return O.p=e,t()}finally{O.p=n}}var $e=Math.random().toString(36).slice(2),Ne="__reactFiber$"+$e,Be="__reactProps$"+$e,je="__reactContainer$"+$e,ze="__reactEvents$"+$e,Ve="__reactListeners$"+$e,He="__reactHandles$"+$e,Ue="__reactResources$"+$e,We="__reactMarker$"+$e;function Ge(e){delete e[Ne],delete e[Be],delete e[ze],delete e[Ve],delete e[He]}function qe(e){var t=e[Ne];if(t)return t;for(var n=e.parentNode;n;){if(t=n[je]||n[Ne]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=zd(e);null!==e;){if(n=e[Ne])return n;e=zd(e)}return t}n=(e=n).parentNode}return null}function Ke(e){if(e=e[Ne]||e[je]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function Ye(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(r(33))}function Ze(e){var t=e[Ue];return t||(t=e[Ue]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Qe(e){e[We]=!0}var Xe=new Set,Je={};function et(e,t){tt(e,t),tt(e+"Capture",t)}function tt(e,t){for(Je[e]=t,e=0;e<t.length;e++)Xe.add(t[e])}var nt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
1037D\\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]*$"),rt={},it={};function ot(e,t,n){if(i=t,ee.call(it,i)||!ee.call(rt,i)&&(nt.test(i)?it[i]=!0:(rt[i]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var i}function at(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function st(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function lt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ct(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ut(e){if(!e._valueTracker){var t=ct(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function dt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ct(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ht(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var ft=/[\n"\\]/g;function pt(e){return e.replace(ft,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function mt(e,t,n,r,i,o,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+lt(t)):e.value!==""+lt(t)&&(e.value=""+lt(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?vt(e,a,lt(t)):null!=n?vt(e,a,lt(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=o&&(e.defaultChecked=!!o),null!=i&&(e.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+lt(s):e.removeAttribute("name")}
vendor: 5,543 bytes, line 1
1function gt(e,t,n,r,i,o,a,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return void ut(e);n=null!=n?""+lt(n):"",t=null!=t?""+lt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:i)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a),ut(e)}function vt(e,t,n){"number"===t&&ht(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function yt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+lt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function bt(e,t,n){null==t||((t=""+lt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+lt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Ct(e,t,n,i){if(null==t){if(null!=i){if(null!=n)throw Error(r(92));if(P(i)){if(1<i.length)throw Error(r(93));i=i[0]}n=i}null==n&&(n=""),t=n}n=lt(t),e.defaultValue=n,(i=e.textContent)===n&&""!==i&&null!==i&&(e.value=i),ut(e)}function wt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Et=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function kt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Et.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function St(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(r(62));if(e=e.style,null!=n){for(var i in n)!n.hasOwnProperty(i)||null!=t&&t.hasOwnProperty(i)||(0===i.indexOf("--")?e.setProperty(i,""):"float"===i?e.cssFloat="":e[i]="");for(var o in t)i=t[o],t.hasOwnProperty(o)&&n[o]!==i&&kt(e,o,i)}else for(var a in t)t.hasOwnProperty(a)&&kt(e,a,t[a])}function xt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Tt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
1-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Mt=/^[\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;function At(e){return Mt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Lt(){}var Pt=null;function Rt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ot=null,Dt=null;function It(e){var t=Ke(e);if(t&&(e=t.stateNode)){var n=e[Be]||null;e:switch(e=t.stateNode,t.type){case"input":if(mt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+pt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=i[Be]||null;if(!o)throw Error(r(90));mt(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(i=n[t]).form===e.form&&dt(i)}break e;case"textarea":bt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&yt(e,!!n.multiple,t,!1)}}}var _t=!1;function Ft(e,t,n){if(_t)return e(t,n);_t=!0;try{return e(t)}finally{if(_t=!1,(null!==Ot||null!==Dt)&&(iu(),Ot&&(t=Ot,e=Dt,Dt=Ot=null,It(t),e)))for(t=0;t<e.length;t++)It(e[t])}}function $t(e,t){var n=e.stateNode;if(null===n)return null;var i=n[Be]||null;if(null===i)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var Nt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Bt=!1;if(Nt)try{var jt={};Object.defineProperty(jt,"passive",{get:function(){Bt=!0}}),window.addEventListener("test",jt,jt),window.removeEventListener("test",jt,jt)}catch(nf){Bt=!1}var zt=null,Vt=null,Ht=null;function Ut(){if(Ht)return Ht;var e,t,n=Vt,r=n.length,i="value"in zt?zt.value:zt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Ht=i.slice(e,1<t?1-t:void 0)}function Wt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Gt(){return!0}function qt(){return!1}function Kt(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Gt:qt,this.isPropagationStopped=qt,this}return u(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Gt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Gt)},persist:function(){},isPersistent:Gt}),t}var Yt,Qt,Xt,Jt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},en=Kt(Jt),tn=u({},Jt,{view:0,detail:0}),nn=Kt(tn),rn=u({},tn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 97,444 bytes, line 1
1Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Xt&&(Xt&&"mousemove"===e.type?(Yt=e.screenX-Xt.screenX,Qt=e.screenY-Xt.screenY):Qt=Yt=0,Xt=e),Yt)},movementY:function(e){return"movementY"in e?e.movementY:Qt}}),on=Kt(rn),an=Kt(u({},rn,{dataTransfer:0})),sn=Kt(u({},tn,{relatedTarget:0})),ln=Kt(u({},Jt,{animationName:0,elapsedTime:0,pseudoElement:0})),cn=Kt(u({},Jt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),un=Kt(u({},Jt,{data:0})),dn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=fn[e])&&!!t[e]}function mn(){return pn}var gn=Kt(u({},tn,{key:function(e){if(e.key){var t=dn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Wt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?hn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mn,charCode:function(e){return"keypress"===e.type?Wt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Wt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),vn=Kt(u({},rn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),yn=Kt(u({},tn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mn})),bn=Kt(u({},Jt,{propertyName:0,elapsedTime:0,pseudoElement:0})),Cn=Kt(u({},rn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),wn=Kt(u({},Jt,{newState:0,oldState:0})),En=[9,13,27,32],kn=Nt&&"CompositionEvent"in window,Sn=null;Nt&&"documentMode"in document&&(Sn=document.documentMode);var xn=Nt&&"TextEvent"in window&&!Sn,Tn=Nt&&(!kn||Sn&&8<Sn&&11>=Sn),Mn=String.fromCharCode(32),An=!1;function Ln(e,t){switch(e){case"keyup":return-1!==En.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Rn=!1,On={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Dn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!On[e.type]:"textarea"===t}function In(e,t,n,r){Ot?Dt?Dt.push(r):Dt=[r]:Ot=r,0<(t=ld(t,"onChange")).length&&(n=new en("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var _n=null,Fn=null;function $n(e){ed(e,0)}function Nn(e){if(dt(Ye(e)))return e}function Bn(e,t){if("change"===e)return t}var jn=!1;if(Nt){var zn;if(Nt){var Vn="oninput"in document;if(!Vn){var Hn=document.createElement("div");Hn.setAttribute("oninput","return;"),Vn="function"==typeof Hn.oninput}zn=Vn}else zn=!1;jn=zn&&(!document.documentMode||9<document.documentMode)}function Un(){_n&&(_n.detachEvent("onpropertychange",Wn),Fn=_n=null)}function Wn(e){if("value"===e.propertyName&&Nn(Fn)){var t=[];In(t,Fn,e,Rt(e)),Ft($n,t)}}function Gn(e,t,n){"focusin"===e?(Un(),Fn=n,(_n=t).attachEvent("onpropertychange",Wn)):"focusout"===e&&Un()}function qn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Nn(Fn)}function Kn(e,t){if("click"===e)return Nn(t)}function Yn(e,t){if("input"===e||"change"===e)return Nn(t)}var Zn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Qn(e,t){if(Zn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ee.call(t,i)||!Zn(e[i],t[i]))return!1}return!0}function Xn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jn(e,t){var n,r=Xn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Xn(r)}}function er(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?er(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function tr(e){for(var t=ht((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=ht((e=t.contentWindow).document)}return t}function nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var rr=Nt&&"documentMode"in document&&11>=document.documentMode,ir=null,or=null,ar=null,sr=!1;function lr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;sr||null==ir||ir!==ht(r)||(r="selectionStart"in(r=ir)&&nr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},ar&&Qn(ar,r)||(ar=r,0<(r=ld(or,"onSelect")).length&&(t=new en("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ir)))}function cr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ur={animationend:cr("Animation","AnimationEnd"),animationiteration:cr("Animation","AnimationIteration"),animationstart:cr("Animation","AnimationStart"),transitionrun:cr("Transition","TransitionRun"),transitionstart:cr("Transition","TransitionStart"),transitioncancel:cr("Transition","TransitionCancel"),transitionend:cr("Transition","TransitionEnd")},dr={},hr={};function fr(e){if(dr[e])return dr[e];if(!ur[e])return e;var t,n=ur[e];for(t in n)if(n.hasOwnProperty(t)&&t in hr)return dr[e]=n[t];return e}Nt&&(hr=document.createElement("div").style,"AnimationEvent"in window||(delete ur.animationend.animation,delete ur.animationiteration.animation,delete ur.animationstart.animation),"TransitionEvent"in window||delete ur.transitionend.transition);var pr=fr("animationend"),mr=fr("animationiteration"),gr=fr("animationstart"),vr=fr("transitionrun"),yr=fr("transitionstart"),br=fr("transitioncancel"),Cr=fr("transitionend"),wr=new Map,Er="abort auxClick beforeToggle 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".split(" ");function kr(e,t){wr.set(e,t),et(t,[e])}Er.push("scrollEnd");var Sr="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)},xr=[],Tr=0,Mr=0;function Ar(){for(var e=Tr,t=Mr=Tr=0;t<e;){var n=xr[t];xr[t++]=null;var r=xr[t];xr[t++]=null;var i=xr[t];xr[t++]=null;var o=xr[t];if(xr[t++]=null,null!==r&&null!==i){var a=r.pending;null===a?i.next=i:(i.next=a.next,a.next=i),r.pending=i}0!==o&&Or(n,i,o)}}function Lr(e,t,n,r){xr[Tr++]=e,xr[Tr++]=t,xr[Tr++]=n,xr[Tr++]=r,Mr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Pr(e,t,n,r){return Lr(e,t,n,r),Dr(e)}function Rr(e,t){return Lr(e,null,null,t),Dr(e)}function Or(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(i=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,i&&null!==t&&(i=31-ve(n),null===(r=(e=o.hiddenUpdates)[i])?e[i]=[t]:r.push(t),t.lane=536870912|n),o):null}function Dr(e){if(50<Yc)throw Yc=0,Zc=null,Error(r(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Ir={};function _r(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Fr(e,t,n,r){return new _r(e,t,n,r)}function $r(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Nr(e,t){var n=e.alternate;return null===n?((n=Fr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Br(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function jr(e,t,n,i,o,a){var s=0;if(i=e,"function"==typeof e)$r(e)&&(s=1);else if("string"==typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,z.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case S:return(e=Fr(31,n,t,o)).elementType=S,e.lanes=a,e;case p:return zr(n.children,o,a,t);case m:s=8,o|=24;break;case g:return(e=Fr(12,n,t,2|o)).elementType=g,e.lanes=a,e;case C:return(e=Fr(13,n,t,o)).elementType=C,e.lanes=a,e;case w:return(e=Fr(19,n,t,o)).elementType=w,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case y:s=10;break e;case v:s=9;break e;case b:s=11;break e;case E:s=14;break e;case k:s=16,i=null;break e}s=29,n=Error(r(130,null===e?"null":typeof e,"")),i=null}return(t=Fr(s,n,t,o)).elementType=e,t.type=i,t.lanes=a,t}function zr(e,t,n,r){return(e=Fr(7,e,r,t)).lanes=n,e}function Vr(e,t,n){return(e=Fr(6,e,null,t)).lanes=n,e}function Hr(e){var t=Fr(18,null,null,0);return t.stateNode=e,t}function Ur(e,t,n){return(t=Fr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Wr=new WeakMap;function Gr(e,t){if("object"==typeof e&&null!==e){var n=Wr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:J(t)},Wr.set(e,t),t)}return{value:e,source:t,stack:J(t)}}var qr=[],Kr=0,Yr=null,Zr=0,Qr=[],Xr=0,Jr=null,ei=1,ti="";function ni(e,t){qr[Kr++]=Zr,qr[Kr++]=Yr,Yr=e,Zr=t}function ri(e,t,n){Qr[Xr++]=ei,Qr[Xr++]=ti,Qr[Xr++]=Jr,Jr=e;var r=ei;e=ti;var i=32-ve(r)-1;r&=~(1<<i),n+=1;var o=32-ve(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,ei=1<<32-ve(t)+i|n<<i|r,ti=o+e}else ei=1<<o|n<<i|r,ti=e}function ii(e){null!==e.return&&(ni(e,1),ri(e,1,0))}function oi(e){for(;e===Yr;)Yr=qr[--Kr],qr[Kr]=null,Zr=qr[--Kr],qr[Kr]=null;for(;e===Jr;)Jr=Qr[--Xr],Qr[Xr]=null,ti=Qr[--Xr],Qr[Xr]=null,ei=Qr[--Xr],Qr[Xr]=null}function ai(e,t){Qr[Xr++]=ei,Qr[Xr++]=ti,Qr[Xr++]=Jr,ei=t.id,ti=t.overflow,Jr=e}var si=null,li=null,ci=!1,ui=null,di=!1,hi=Error(r(519));function fi(e){throw bi(Gr(Error(r(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML","")),e)),hi}function pi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Ne]=e,t[Be]=r,n){case"dialog":td("cancel",t),td("close",t);break;case"iframe":case"object":case"embed":td("load",t);break;case"video":case"audio":for(n=0;n<Xu.length;n++)td(Xu[n],t);break;case"source":td("error",t);break;case"img":case"image":case"link":td("error",t),td("load",t);break;case"details":td("toggle",t);break;case"input":td("invalid",t),gt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":td("invalid",t);break;case"textarea":td("invalid",t),Ct(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||pd(t.textContent,n)?(null!=r.popover&&(td("beforetoggle",t),td("toggle",t)),null!=r.onScroll&&td("scroll",t),null!=r.onScrollEnd&&td("scrollend",t),null!=r.onClick&&(t.onclick=Lt),t=!0):t=!1,t||fi(e,!0)}function mi(e){for(si=e.return;si;)switch(si.tag){case 5:case 31:case 13:return void(di=!1);case 27:case 3:return void(di=!0);default:si=si.return}}function gi(e){if(e!==si)return!1;if(!ci)return mi(e),ci=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||Sd(e.type,e.memoizedProps)),t=!t),t&&li&&fi(e),mi(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));li=jd(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));li=jd(e)}else 27===n?(n=li,Rd(e.type)?(e=Bd,Bd=null,li=e):li=n):li=si?Nd(e.stateNode.nextSibling):null;return!0}function vi(){li=si=null,ci=!1}function yi(){var e=ui;return null!==e&&(null===_c?_c=e:_c.push.apply(_c,e),ui=null),e}function bi(e){null===ui?ui=[e]:ui.push(e)}var Ci=F(null),wi=null,Ei=null;function ki(e,t,n){N(Ci,t._currentValue),t._currentValue=n}function Si(e){e._currentValue=Ci.current,$(Ci)}function xi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ti(e,t,n,i){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var s=o.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=o;for(var c=0;c<t.length;c++)if(l.context===t[c]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),xi(a.return,n,e),i||(s=null);break e}a=l.next}}else if(18===o.tag){if(null===(s=o.return))throw Error(r(341));s.lanes|=n,null!==(a=s.alternate)&&(a.lanes|=n),xi(s,n,e),s=null}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===e){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}}function Mi(e,t,n,i){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(524288&o.flags)a=!0;else if(262144&o.flags)break;if(10===o.tag){var s=o.alternate;if(null===s)throw Error(r(387));if(null!==(s=s.memoizedProps)){var l=o.type;Zn(o.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(o===U.current){if(null===(s=o.alternate))throw Error(r(387));s.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(mh):e=[mh])}o=o.return}null!==e&&Ti(t,e,n,i),t.flags|=262144}function Ai(e){for(e=e.firstContext;null!==e;){if(!Zn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Li(e){wi=e,Ei=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Pi(e){return Oi(wi,e)}function Ri(e,t){return null===wi&&Li(e),Oi(e,t)}function Oi(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===Ei){if(null===e)throw Error(r(308));Ei=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ei=Ei.next=t;return n}var Di="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Ii=e.unstable_scheduleCallback,_i=e.unstable_NormalPriority,Fi={$$typeof:y,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function $i(){return{controller:new Di,data:new Map,refCount:0}}function Ni(e){e.refCount--,0===e.refCount&&Ii(_i,function(){e.controller.abort()})}var Bi=null,ji=0,zi=0,Vi=null;function Hi(){if(0===--ji&&null!==Bi){null!==Vi&&(Vi.status="fulfilled");var e=Bi;Bi=null,zi=0,Vi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Ui=R.S;R.S=function(e,t){Nc=oe(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Bi){var n=Bi=[];ji=0,zi=qu(),Vi={status:"pending",value:void 0,then:function(e){n.push(e)}}}ji++,t.then(Hi,Hi)}(0,t),null!==Ui&&Ui(e,t)};var Wi=F(null);function Gi(){var e=Wi.current;return null!==e?e:bc.pooledCache}function qi(e,t){N(Wi,null===t?Wi.current:t.pool)}function Ki(){var e=Gi();return null===e?null:{parent:Fi._currentValue,pool:e}}var Yi=Error(r(460)),Zi=Error(r(474)),Qi=Error(r(542)),Xi={then:function(){}};function Ji(e){return"fulfilled"===(e=e.status)||"rejected"===e}function eo(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Lt,Lt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw io(e=t.reason),e;default:if("string"==typeof t.status)t.then(Lt,Lt);else{if(null!==(e=bc)&&100<e.shellSuspendCounter)throw Error(r(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw io(e=t.reason),e}throw no=t,Yi}}function to(e){try{return(0,e._init)(e._payload)}catch(t){if(null!==t&&"object"==typeof t&&"function"==typeof t.then)throw no=t,Yi;throw t}}var no=null;function ro(){if(null===no)throw Error(r(459));var e=no;return no=null,e}function io(e){if(e===Yi||e===Qi)throw Error(r(483))}var oo=null,ao=0;function so(e){var t=ao;return ao+=1,null===oo&&(oo=[]),eo(oo,e,t)}function lo(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function co(e,t){if(t.$$typeof===d)throw Error(r(525));throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function uo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function i(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(e,t){return(e=Nr(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Vr(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===p?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===k&&to(i)===t.type)?(lo(t=o(t,n.props),n),t.return=e,t):(lo(t=jr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ur(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=zr(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function m(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Vr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return lo(n=jr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case f:return(t=Ur(t,e.mode,n)).return=e,t;case k:return m(e,t=to(t),n)}if(P(t)||M(t))return(t=zr(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return m(e,so(t),n);if(t.$$typeof===y)return m(e,Ri(e,t),n);co(e,t)}return null}function g(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case h:return n.key===i?c(e,t,n,r):null;case f:return n.key===i?u(e,t,n,r):null;case k:return g(e,t,n=to(n),r)}if(P(n)||M(n))return null!==i?null:d(e,t,n,r,null);if("function"==typeof n.then)return g(e,t,so(n),r);if(n.$$typeof===y)return g(e,t,Ri(e,n),r);co(e,n)}return null}function v(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case h:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case f:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case k:return v(e,t,n,r=to(r),i)}if(P(r)||M(r))return d(t,e=e.get(n)||null,r,i,null);if("function"==typeof r.then)return v(e,t,n,so(r),i);if(r.$$typeof===y)return v(e,t,n,Ri(t,r),i);co(t,r)}return null}function b(l,c,u,d){if("object"==typeof u&&null!==u&&u.type===p&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case h:e:{for(var C=u.key;null!==c;){if(c.key===C){if((C=u.type)===p){if(7===c.tag){n(l,c.sibling),(d=o(c,u.props.children)).return=l,l=d;break e}}else if(c.elementType===C||"object"==typeof C&&null!==C&&C.$$typeof===k&&to(C)===c.type){n(l,c.sibling),lo(d=o(c,u.props),u),d.return=l,l=d;break e}n(l,c);break}t(l,c),c=c.sibling}u.type===p?((d=zr(u.props.children,l.mode,d,u.key)).return=l,l=d):(lo(d=jr(u.type,u.key,u.props,null,l.mode,d),u),d.return=l,l=d)}return s(l);case f:e:{for(C=u.key;null!==c;){if(c.key===C){if(4===c.tag&&c.stateNode.containerInfo===u.containerInfo&&c.stateNode.implementation===u.implementation){n(l,c.sibling),(d=o(c,u.children||[])).return=l,l=d;break e}n(l,c);break}t(l,c),c=c.sibling}(d=Ur(u,l.mode,d)).return=l,l=d}return s(l);case k:return b(l,c,u=to(u),d)}if(P(u))return function(r,o,s,l){for(var c=null,u=null,d=o,h=o=0,f=null;null!==d&&h<s.length;h++){d.index>h?(f=d,d=null):f=d.sibling;var p=g(r,d,s[h],l);if(null===p){null===d&&(d=f);break}e&&d&&null===p.alternate&&t(r,d),o=a(p,o,h),null===u?c=p:u.sibling=p,u=p,d=f}if(h===s.length)return n(r,d),ci&&ni(r,h),c;if(null===d){for(;h<s.length;h++)null!==(d=m(r,s[h],l))&&(o=a(d,o,h),null===u?c=d:u.sibling=d,u=d);return ci&&ni(r,h),c}for(d=i(d);h<s.length;h++)null!==(f=v(d,r,h,s[h],l))&&(e&&null!==f.alternate&&d.delete(null===f.key?h:f.key),o=a(f,o,h),null===u?c=f:u.sibling=f,u=f);return e&&d.forEach(function(e){return t(r,e)}),ci&&ni(r,h),c}(l,c,u,d);if(M(u)){if("function"!=typeof(C=M(u)))throw Error(r(150));return function(o,s,l,c){if(null==l)throw Error(r(151));for(var u=null,d=null,h=s,f=s=0,p=null,y=l.next();null!==h&&!y.done;f++,y=l.next()){h.index>f?(p=h,h=null):p=h.sibling;var b=g(o,h,y.value,c);if(null===b){null===h&&(h=p);break}e&&h&&null===b.alternate&&t(o,h),s=a(b,s,f),null===d?u=b:d.sibling=b,d=b,h=p}if(y.done)return n(o,h),ci&&ni(o,f),u;if(null===h){for(;!y.done;f++,y=l.next())null!==(y=m(o,y.value,c))&&(s=a(y,s,f),null===d?u=y:d.sibling=y,d=y);return ci&&ni(o,f),u}for(h=i(h);!y.done;f++,y=l.next())null!==(y=v(h,o,f,y.value,c))&&(e&&null!==y.alternate&&h.delete(null===y.key?f:y.key),s=a(y,s,f),null===d?u=y:d.sibling=y,d=y);return e&&h.forEach(function(e){return t(o,e)}),ci&&ni(o,f),u}(l,c,u=C.call(u),d)}if("function"==typeof u.then)return b(l,c,so(u),d);if(u.$$typeof===y)return b(l,c,Ri(l,u),d);co(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(d=o(c,u)).return=l,l=d):(n(l,c),(d=Vr(u,l.mode,d)).return=l,l=d),s(l)):n(l,c)}return function(e,t,n,r){try{ao=0;var i=b(e,t,n,r);return oo=null,i}catch(a){if(a===Yi||a===Qi)throw a;var o=Fr(29,a,null,e.mode);return o.lanes=r,o.return=e,o}}}var ho=uo(!0),fo=uo(!1),mo=!1;function go(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function yo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&yc){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Dr(e),Or(e,null,n),t}return Lr(e,r,t,n),Dr(e)}function Co(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Re(e,n)}}function wo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Eo=!1;function ko(){if(Eo&&null!==Vi)throw Vi}function So(e,t,n,r){Eo=!1;var i=e.updateQueue;mo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var d=e.alternate;null!==d&&(s=(d=d.updateQueue).lastBaseUpdate)!==a&&(null===s?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l)}if(null!==o){var h=i.baseState;for(a=0,d=c=l=null,s=o;;){var f=-536870913&s.lane,p=f!==s.lane;if(p?(wc&f)===f:(r&f)===f){0!==f&&f===zi&&(Eo=!0),null!==d&&(d=d.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var m=e,g=s;f=t;var v=n;switch(g.tag){case 1:if("function"==typeof(m=g.payload)){h=m.call(v,h,f);break e}h=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(f="function"==typeof(m=g.payload)?m.call(v,h,f):m))break e;h=u({},h,f);break e;case 2:mo=!0}}null!==(f=s.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=i.callbacks)?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(c=d=p,l=h):d=d.next=p,a|=f;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(p=s).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}null===d&&(l=h),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=d,null===o&&(i.shared.lanes=0),Lc|=a,e.lanes=a,e.memoizedState=h}}function xo(e,t){if("function"!=typeof e)throw Error(r(191,e));e.call(t)}function To(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)xo(n[e],t)}var Mo=F(null),Ao=F(0);function Lo(e,t){N(Ao,e=Mc),N(Mo,t),Mc=e|t.baseLanes}function Po(){N(Ao,Mc),N(Mo,Mo.current)}function Ro(){Mc=Ao.current,$(Mo),$(Ao)}var Oo=F(null),Do=null;function Io(e){var t=e.alternate;N(Bo,1&Bo.current),N(Oo,e),null===Do&&(null===t||null!==Mo.current||null!==t.memoizedState)&&(Do=e)}function _o(e){N(Bo,Bo.current),N(Oo,e),null===Do&&(Do=e)}function Fo(e){22===e.tag?(N(Bo,Bo.current),N(Oo,e),null===Do&&(Do=e)):$o()}function $o(){N(Bo,Bo.current),N(Oo,Oo.current)}function No(e){$(Oo),Do===e&&(Do=null),$(Bo)}var Bo=F(0);function jo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||Fd(n)||$d(n)))return t}else if(19!==t.tag||"forwards"!==t.memoizedProps.revealOrder&&"backwards"!==t.memoizedProps.revealOrder&&"unstable_legacy-backwards"!==t.memoizedProps.revealOrder&&"together"!==t.memoizedProps.revealOrder){if(null!==t.child){t.child.return=t,t=t.child;continue}}else if(128&t.flags)return t;if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zo=0,Vo=null,Ho=null,Uo=null,Wo=!1,Go=!1,qo=!1,Ko=0,Yo=0,Zo=null,Qo=0;function Xo(){throw Error(r(321))}function Jo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Zn(e[n],t[n]))return!1;return!0}function ea(e,t,n,r,i,o){return zo=o,Vo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=null===e||null===e.memoizedState?ws:Es,qo=!1,o=n(r,i),qo=!1,Go&&(o=na(t,n,r,i)),ta(e),o}function ta(e){R.H=Cs;var t=null!==Ho&&null!==Ho.next;if(zo=0,Uo=Ho=Vo=null,Wo=!1,Yo=0,Zo=null,t)throw Error(r(300));null===e||Ns||null!==(e=e.dependencies)&&Ai(e)&&(Ns=!0)}function na(e,t,n,i){Vo=e;var o=0;do{if(Go&&(Zo=null),Yo=0,Go=!1,25<=o)throw Error(r(301));if(o+=1,Uo=Ho=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}R.H=ks,a=t(n,i)}while(Go);return a}function ra(){var e=R.H,t=e.useState()[0];return t="function"==typeof t.then?ma(t):t,e=e.useState()[0],(null!==Ho?Ho.memoizedState:null)!==e&&(Vo.flags|=1024),t}function sa(){var e=0!==Ko;return Ko=0,e}function la(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ha(e){if(Wo){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Wo=!1}zo=0,Uo=Ho=Vo=null,Go=!1,Yo=Ko=0,Zo=null}function fa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Uo?Vo.memoizedState=Uo=e:Uo=Uo.next=e,Uo}function pa(){if(null===Ho){var e=Vo.alternate;e=null!==e?e.memoizedState:null}else e=Ho.next;var t=null===Uo?Vo.memoizedState:Uo.next;if(null!==t)Uo=t,Ho=e;else{if(null===e){if(null===Vo.alternate)throw Error(r(467));throw Error(r(310))}e={memoizedState:(Ho=e).memoizedState,baseState:Ho.baseState,baseQueue:Ho.baseQueue,queue:Ho.queue,next:null},null===Uo?Vo.memoizedState=Uo=e:Uo=Uo.next=e}return Uo}function ma(e){var t=Yo;return Yo+=1,null===Zo&&(Zo=[]),e=eo(Zo,e,t),t=Vo,null===(null===Uo?t.memoizedState:Uo.next)&&(t=t.alternate,R.H=null===t||null===t.memoizedState?ws:Es),e}function ga(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return ma(e);if(e.$$typeof===y)return Pi(e)}throw Error(r(438,String(e)))}function va(e){var t=null,n=Vo.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Vo.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},Vo.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=x;return t.index++,n}function ya(e,t){return"function"==typeof t?t(e):t}function ba(e){return Ca(pa(),Ho,e)}function Ca(e,t,n){var i=e.queue;if(null===i)throw Error(r(311));i.lastRenderedReducer=n;var o=e.baseQueue,a=i.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}t.baseQueue=o=a,i.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var l=s=null,c=null,u=t=o.next,d=!1;do{var h=-536870913&u.lane;if(h!==u.lane?(wc&h)===h:(zo&h)===h){var f=u.revertLane;if(0===f)null!==c&&(c=c.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),h===zi&&(d=!0);else{if((zo&f)===f){u=u.next,f===zi&&(d=!0);continue}h={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=h,s=a):c=c.next=h,Vo.lanes|=f,Lc|=f}h=u.action,qo&&n(a,h),a=u.hasEagerState?u.eagerState:n(a,h)}else f={lane:h,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=f,s=a):c=c.next=f,Vo.lanes|=h,Lc|=h;u=u.next}while(null!==u&&u!==t);if(null===c?s=a:c.next=l,!Zn(a,e.memoizedState)&&(Ns=!0,d&&null!==(n=Vi)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=c,i.lastRenderedState=a}return null===o&&(i.lanes=0),[e.memoizedState,i.dispatch]}function wa(e){var t=pa(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);Zn(a,t.memoizedState)||(Ns=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,i]}function Ea(e,t,n){var i=Vo,o=pa(),a=ci;if(a){if(void 0===n)throw Error(r(407));n=n()}else n=t();var s=!Zn((Ho||o).memoizedState,n);if(s&&(o.memoizedState=n,Ns=!0),o=o.queue,qa(xa.bind(null,i,o,e),[e]),o.getSnapshot!==t||s||null!==Uo&&1&Uo.memoizedState.tag){if(i.flags|=2048,Va(9,{destroy:void 0},Sa.bind(null,i,o,n,t),null),null===bc)throw Error(r(349));a||127&zo||ka(i,t,n)}return n}function ka(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Vo.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},Vo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Sa(e,t,n,r){t.value=n,t.getSnapshot=r,Ta(t)&&Ma(e)}function xa(e,t,n){return n(function(){Ta(t)&&Ma(e)})}function Ta(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Zn(e,n)}catch(r){return!0}}function Ma(e){var t=Rr(e,2);null!==t&&Jc(t,0,2)}function Aa(e){var t=fa();if("function"==typeof e){var n=e;if(e=n(),qo){ge(!0);try{n()}finally{ge(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:e},t}function La(e,t,n,r){return e.baseState=n,Ca(e,Ho,"function"==typeof r?r:ya)}function Pa(e,t,n,i,o){if(vs(e))throw Error(r(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==R.T?n(!0):a.isTransition=!1,i(a),null===(n=t.pending)?(a.next=t.pending=a,Ra(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Ra(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var o=R.T,a={};R.T=a;try{var s=n(i,r),l=R.S;null!==l&&l(a,s),Oa(e,t,s)}catch(c){Ia(e,t,c)}finally{null!==o&&null!==a.types&&(o.types=a.types),R.T=o}}else try{Oa(e,t,o=n(i,r))}catch(u){Ia(e,t,u)}}function Oa(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){Da(e,t,n)},function(n){return Ia(e,t,n)}):Da(e,t,n)}function Da(e,t,n){t.status="fulfilled",t.value=n,_a(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Ra(e,n)))}function Ia(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,_a(t),t=t.next}while(t!==r)}e.action=null}function _a(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Fa(e,t){return t}function $a(e,t){if(ci){var n=bc.formState;if(null!==n){e:{var r=Vo;if(ci){if(li){t:{for(var i=li,o=di;8!==i.nodeType;){if(!o){i=null;break t}if(null===(i=Nd(i.nextSibling))){i=null;break t}}i="F!"===(o=i.data)||"F"===o?i:null}if(i){li=Nd(i.nextSibling),r="F!"===i.data;break e}}fi(r)}r=!1}r&&(t=n[0])}}return(n=fa()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fa,lastRenderedState:t},n.queue=r,n=ps.bind(null,Vo,r),r.dispatch=n,r=Aa(!1),o=gs.bind(null,Vo,!1,r.queue),i={state:t,dispatch:null,action:e,pending:null},(r=fa()).queue=i,n=Pa.bind(null,Vo,i,o,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Na(e){return Ba(pa(),Ho,e)}function Ba(e,t,n){if(t=Ca(e,t,Fa)[0],e=ba(ya)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=ma(t)}catch(a){if(a===Yi)throw Qi;throw a}else r=t;var i=(t=pa()).queue,o=i.dispatch;return n!==t.memoizedState&&(Vo.flags|=2048,Va(9,{destroy:void 0},ja.bind(null,i,n),null)),[r,o,e]}function ja(e,t){e.action=t}function za(e){var t=pa(),n=Ho;if(null!==n)return Ba(t,n,e);pa(),t=t.memoizedState;var r=(n=pa()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Va(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=Vo.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},Vo.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ha(){return pa().memoizedState}function Ua(e,t,n,r){var i=fa();Vo.flags|=e,i.memoizedState=Va(1|t,{destroy:void 0},n,void 0===r?null:r)}function Wa(e,t,n,r){var i=pa();r=void 0===r?null:r;var o=i.memoizedState.inst;null!==Ho&&null!==r&&Jo(r,Ho.memoizedState.deps)?i.memoizedState=Va(t,o,n,r):(Vo.flags|=e,i.memoizedState=Va(1|t,o,n,r))}function Ga(e,t){Ua(8390656,8,e,t)}function qa(e,t){Wa(2048,8,e,t)}function Ka(e){var t=pa().memoizedState;return function(e){Vo.flags|=4;var t=Vo.updateQueue;if(null===t)t={lastEffect:null,events:null,stores:null,memoCache:null},Vo.updateQueue=t,t.events=[e];else{var n=t.events;null===n?t.events=[e]:n.push(e)}}({ref:t,nextImpl:e}),function(){if(2&yc)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function Ya(e,t){return Wa(4,2,e,t)}function Za(e,t){return Wa(4,4,e,t)}function Qa(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Xa(e,t,n){n=null!=n?n.concat([e]):null,Wa(4,4,Qa.bind(null,t,e),n)}function Ja(){}function es(e,t){var n=pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Jo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ts(e,t){var n=pa();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Jo(t,r[1]))return r[0];if(r=e(),qo){ge(!0);try{e()}finally{ge(!1)}}return n.memoizedState=[r,t],r}function ns(e,t,n){return void 0===n||1073741824&zo&&!(261930&wc)?e.memoizedState=t:(e.memoizedState=n,e=Xc(),Vo.lanes|=e,Lc|=e,n)}function rs(e,t,n,r){return Zn(n,t)?n:null!==Mo.current?(e=ns(e,n,r),Zn(e,t)||(Ns=!0),e):42&zo&&(!(1073741824&zo)||261930&wc)?(e=Xc(),Vo.lanes|=e,Lc|=e,t):(Ns=!0,e.memoizedState=n)}function is(e,t,n,r,i){var o=O.p;O.p=0!==o&&8>o?o:8;var a,s,l,c=R.T,u={};R.T=u,gs(e,!1,t,n);try{var d=i(),h=R.S;null!==h&&h(u,d),null!==d&&"object"==typeof d&&"function"==typeof d.then?ms(e,t,(a=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},d.then(function(){l.status="fulfilled",l.value=a;for(var e=0;e<s.length;e++)(0,s[e])(a)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l),Qc()):ms(e,t,r,Qc())}catch(f){ms(e,t,{then:function(){},status:"rejected",reason:f},Qc())}finally{O.p=o,null!==c&&null!==u.types&&(c.types=u.types),R.T=c}}function os(){}function as(e,t,n,i){if(5!==e.tag)throw Error(r(476));var o=ss(e).queue;is(e,o,t,D,null===n?os:function(){return ls(e),n(i)})}function ss(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:D,baseState:D,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:D},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ya,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function ls(e){var t=ss(e);null===t.next&&(t=e.alternate.memoizedState),ms(e,t.next.queue,{},Qc())}function cs(){return Pi(mh)}function us(){return pa().memoizedState}function ds(){return pa().memoizedState}function hs(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Qc(),r=bo(t,e=yo(n),n);return null!==r&&(Jc(r,0,n),Co(r,t,n)),t={cache:$i()},void(e.payload=t)}t=t.return}}function fs(e,t,n){var r=Qc();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},vs(e)?ys(t,n):null!==(n=Pr(e,t,n,r))&&(Jc(n,0,r),bs(n,t,r))}function ps(e,t,n){ms(e,t,n,Qc())}function ms(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(vs(e))ys(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Zn(s,a))return Lr(e,t,i,0),null===bc&&Ar(),!1}catch(l){}if(null!==(n=Pr(e,t,i,r)))return Jc(n,0,r),bs(n,t,r),!0}return!1}function gs(e,t,n,i){if(i={lane:2,revertLane:qu(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},vs(e)){if(t)throw Error(r(479))}else null!==(t=Pr(e,n,i,2))&&Jc(t,0,2)}function vs(e){var t=e.alternate;return e===Vo||null!==t&&t===Vo}function ys(e,t){Go=Wo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function bs(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Re(e,n)}}var Cs={readContext:Pi,use:ga,useCallback:Xo,useContext:Xo,useEffect:Xo,useImperativeHandle:Xo,useLayoutEffect:Xo,useInsertionEffect:Xo,useMemo:Xo,useReducer:Xo,useRef:Xo,useState:Xo,useDebugValue:Xo,useDeferredValue:Xo,useTransition:Xo,useSyncExternalStore:Xo,useId:Xo,useHostTransitionStatus:Xo,useFormState:Xo,useActionState:Xo,useOptimistic:Xo,useMemoCache:Xo,useCacheRefresh:Xo};Cs.useEffectEvent=Xo;var ws={readContext:Pi,use:ga,useCallback:function(e,t){return fa().memoizedState=[e,void 0===t?null:t],e},useContext:Pi,useEffect:Ga,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,Ua(4194308,4,Qa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ua(4194308,4,e,t)},useInsertionEffect:function(e,t){Ua(4,2,e,t)},useMemo:function(e,t){var n=fa();t=void 0===t?null:t;var r=e();if(qo){ge(!0);try{e()}finally{ge(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=fa();if(void 0!==n){var i=n(t);if(qo){ge(!0);try{n(t)}finally{ge(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=fs.bind(null,Vo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},fa().memoizedState=e},useState:function(e){var t=(e=Aa(e)).queue,n=ps.bind(null,Vo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ja,useDeferredValue:function(e,t){return ns(fa(),e,t)},useTransition:function(){var e=Aa(!1);return e=is.bind(null,Vo,e.queue,!0,!1),fa().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=Vo,o=fa();if(ci){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===bc)throw Error(r(349));127&wc||ka(i,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ga(xa.bind(null,i,a,e),[e]),i.flags|=2048,Va(9,{destroy:void 0},Sa.bind(null,i,a,n,t),null),n},useId:function(){var e=fa(),t=bc.identifierPrefix;if(ci){var n=ti;t="_"+t+"R_"+(n=(ei&~(1<<32-ve(ei)-1)).toString(32)+n),0<(n=Ko++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=Qo++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:cs,useFormState:$a,useActionState:$a,useOptimistic:function(e){var t=fa();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=gs.bind(null,Vo,!0,n),n.dispatch=t,[e,t]},useMemoCache:va,useCacheRefresh:function(){return fa().memoizedState=hs.bind(null,Vo)},useEffectEvent:function(e){var t=fa(),n={impl:e};return t.memoizedState=n,function(){if(2&yc)throw Error(r(440));return n.impl.apply(void 0,arguments)}}},Es={readContext:Pi,use:ga,useCallback:es,useContext:Pi,useEffect:qa,useImperativeHandle:Xa,useInsertionEffect:Ya,useLayoutEffect:Za,useMemo:ts,useReducer:ba,useRef:Ha,useState:function(){return ba(ya)},useDebugValue:Ja,useDeferredValue:function(e,t){return rs(pa(),Ho.memoizedState,e,t)},useTransition:function(){var e=ba(ya)[0],t=pa().memoizedState;return["boolean"==typeof e?e:ma(e),t]},useSyncExternalStore:Ea,useId:us,useHostTransitionStatus:cs,useFormState:Na,useActionState:Na,useOptimistic:function(e,t){return La(pa(),0,e,t)},useMemoCache:va,useCacheRefresh:ds};Es.useEffectEvent=Ka;var ks={readContext:Pi,use:ga,useCallback:es,useContext:Pi,useEffect:qa,useImperativeHandle:Xa,useInsertionEffect:Ya,useLayoutEffect:Za,useMemo:ts,useReducer:wa,useRef:Ha,useState:function(){return wa(ya)},useDebugValue:Ja,useDeferredValue:function(e,t){var n=pa();return null===Ho?ns(n,e,t):rs(n,Ho.memoizedState,e,t)},useTransition:function(){var e=wa(ya)[0],t=pa().memoizedState;return["boolean"==typeof e?e:ma(e),t]},useSyncExternalStore:Ea,useId:us,useHostTransitionStatus:cs,useFormState:za,useActionState:za,useOptimistic:function(e,t){var n=pa();return null!==Ho?La(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:va,useCacheRefresh:ds};function Ss(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:u({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}ks.useEffectEvent=Ka;var xs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Qc(),i=yo(r);i.payload=t,null!=n&&(i.callback=n),null!==(t=bo(e,i,r))&&(Jc(t,0,r),Co(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Qc(),i=yo(r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=bo(e,i,r))&&(Jc(t,0,r),Co(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Qc(),r=yo(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=bo(e,r,n))&&(Jc(t,0,n),Co(t,e,n))}};function Ts(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&Qn(n,r)&&Qn(i,o))}function Ms(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&xs.enqueueReplaceState(t,t.state,null)}function As(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=u({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}function Ls(e){Sr(e)}function Ps(e){}function Rs(e){Sr(e)}function Os(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Ds(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Is(e,t,n){return(n=yo(n)).tag=3,n.payload={element:null},n.callback=function(){Os(e,t)},n}function _s(e){return(e=yo(e)).tag=3,e}function Fs(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"==typeof i){var o=r.value;e.payload=function(){return i(o)},e.callback=function(){Ds(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){Ds(t,n,r),"function"!=typeof i&&(null===zc?zc=new Set([this]):zc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var $s=Error(r(461)),Ns=!1;function Bs(e,t,n,r){t.child=null===e?fo(t,null,n,r):ho(t,e.child,n,r)}function js(e,t,n,r,i){n=n.render;var o=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return Li(t),r=ea(e,t,n,a,o,i),s=sa(),null===e||Ns?(ci&&s&&ii(t),t.flags|=1,Bs(e,t,r,i),t.child):(la(e,t,i),cl(e,t,i))}function zs(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||$r(o)||void 0!==o.defaultProps||null!==n.compare?((e=jr(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Vs(e,t,o,r,i))}if(o=e.child,!ul(e,i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:Qn)(a,r)&&e.ref===t.ref)return cl(e,t,i)}return t.flags|=1,(e=Nr(o,r)).ref=t.ref,e.return=t,t.child=e}function Vs(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(Qn(o,r)&&e.ref===t.ref){if(Ns=!1,t.pendingProps=r=o,!ul(e,i))return t.lanes=e.lanes,cl(e,t,i);131072&e.flags&&(Ns=!0)}}return Ys(e,t,n,r,i)}function Hs(e,t,n,r){var i=r.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(128&t.flags){if(o=null!==o?o.baseLanes|n:n,null!==e){for(r=t.child=e.child,i=0;null!==r;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~o}else r=0,t.child=null;return Ws(e,t,o,n,r)}if(!(536870912&n))return r=t.lanes=536870912,Ws(e,t,null!==o?o.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&qi(0,null!==o?o.cachePool:null),null!==o?Lo(t,o):Po(),Fo(t)}else null!==o?(qi(0,o.cachePool),Lo(t,o),$o(),t.memoizedState=null):(null!==e&&qi(0,null),Po(),$o());return Bs(e,t,i,n),t.child}function Us(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ws(e,t,n,r,i){var o=Gi();return o=null===o?null:{parent:Fi._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},null!==e&&qi(0,null),Po(),Fo(t),null!==e&&Mi(e,t,r,!0),t.childLanes=i,null}function Gs(e,t){return(t=il({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function qs(e,t,n){return ho(t,e.child,null,n),(e=Gs(t,t.pendingProps)).flags|=2,No(t),t.memoizedState=null,e}function Ks(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(r(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Ys(e,t,n,r,i){return Li(t),n=ea(e,t,n,r,void 0,i),r=sa(),null===e||Ns?(ci&&r&&ii(t),t.flags|=1,Bs(e,t,n,i),t.child):(la(e,t,i),cl(e,t,i))}function Zs(e,t,n,r,i,o){return Li(t),t.updateQueue=null,n=na(t,r,n,i),ta(e),r=sa(),null===e||Ns?(ci&&r&&ii(t),t.flags|=1,Bs(e,t,n,o),t.child):(la(e,t,o),cl(e,t,o))}function Qs(e,t,n,r,i){if(Li(t),null===t.stateNode){var o=Ir,a=n.contextType;"object"==typeof a&&null!==a&&(o=Pi(a)),o=new n(r,o),t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=xs,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},go(t),a=n.contextType,o.context="object"==typeof a&&null!==a?Pi(a):Ir,o.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(Ss(t,n,a,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(a=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),a!==o.state&&xs.enqueueReplaceState(o,o.state,null),So(t,r,o,i),ko(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=As(n,s);o.props=l;var c=o.context,u=n.contextType;a=Ir,"object"==typeof u&&null!==u&&(a=Pi(u));var d=n.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,u||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||c!==a)&&Ms(t,o,r,a),mo=!1;var h=t.memoizedState;o.state=h,So(t,r,o,i),ko(),c=t.memoizedState,s||h!==c||mo?("function"==typeof d&&(Ss(t,n,d,r),c=t.memoizedState),(l=mo||Ts(t,n,l,r,h,c,a))?(u||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=a,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,vo(e,t),u=As(n,a=t.memoizedProps),o.props=u,d=t.pendingProps,h=o.context,c=n.contextType,l=Ir,"object"==typeof c&&null!==c&&(l=Pi(c)),(c="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==d||h!==l)&&Ms(t,o,r,l),mo=!1,h=t.memoizedState,o.state=h,So(t,r,o,i),ko();var f=t.memoizedState;a!==d||h!==f||mo||null!==e&&null!==e.dependencies&&Ai(e.dependencies)?("function"==typeof s&&(Ss(t,n,s,r),f=t.memoizedState),(u=mo||Ts(t,n,u,r,h,f,l)||null!==e&&null!==e.dependencies&&Ai(e.dependencies))?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,f,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),o.props=r,o.state=f,o.context=l,r=u):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,Ks(e,t),r=!!(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=ho(t,e.child,null,i),t.child=ho(t,null,n,i)):Bs(e,t,n,i),t.memoizedState=o.state,e=t.child):e=cl(e,t,i),e}function Xs(e,t,n,r){return vi(),t.flags|=256,Bs(e,t,n,r),t.child}var Js={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function el(e){return{baseLanes:e,cachePool:Ki()}}function tl(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=Oc),e}function nl(e,t,n){var i,o=t.pendingProps,a=!1,s=!!(128&t.flags);if((i=s)||(i=(null===e||null!==e.memoizedState)&&!!(2&Bo.current)),i&&(a=!0,t.flags&=-129),i=!!(32&t.flags),t.flags&=-33,null===e){if(ci){if(a?Io(t):$o(),(e=li)?null!==(e=null!==(e=_d(e,di))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Jr?{id:ei,overflow:ti}:null,retryLane:536870912,hydrationErrors:null},(n=Hr(e)).return=t,t.child=n,si=t,li=null):e=null,null===e)throw fi(t);return $d(e)?t.lanes=32:t.lanes=536870912,null}var l=o.children;return o=o.fallback,a?($o(),l=il({mode:"hidden",children:l},a=t.mode),o=zr(o,a,n,null),l.return=t,o.return=t,l.sibling=o,t.child=l,(o=t.child).memoizedState=el(n),o.childLanes=tl(e,i,n),t.memoizedState=Js,Us(null,o)):(Io(t),rl(t,l))}var c=e.memoizedState;if(null!==c&&null!==(l=c.dehydrated)){if(s)256&t.flags?(Io(t),t.flags&=-257,t=ol(e,t,n)):null!==t.memoizedState?($o(),t.child=e.child,t.flags|=128,t=null):($o(),l=o.fallback,a=t.mode,o=il({mode:"visible",children:o.children},a),(l=zr(l,a,n,null)).flags|=2,o.return=t,l.return=t,o.sibling=l,t.child=o,ho(t,e.child,null,n),(o=t.child).memoizedState=el(n),o.childLanes=tl(e,i,n),t.memoizedState=Js,t=Us(null,o));else if(Io(t),$d(l)){if(i=l.nextSibling&&l.nextSibling.dataset)var u=i.dgst;i=u,(o=Error(r(419))).stack="",o.digest=i,bi({value:o,source:null,stack:null}),t=ol(e,t,n)}else if(Ns||Mi(e,t,n,!1),i=0!==(n&e.childLanes),Ns||i){if(null!==(i=bc)&&0!==(o=Oe(i,n))&&o!==c.retryLane)throw c.retryLane=o,Rr(e,o),Jc(i,0,o),$s;Fd(l)||du(),t=ol(e,t,n)}else Fd(l)?(t.flags|=192,t.child=e.child,t=null):(e=c.treeContext,li=Nd(l.nextSibling),si=t,ci=!0,ui=null,di=!1,null!==e&&ai(t,e),(t=rl(t,o.children)).flags|=4096);return t}return a?($o(),l=o.fallback,a=t.mode,u=(c=e.child).sibling,(o=Nr(c,{mode:"hidden",children:o.children})).subtreeFlags=65011712&c.subtreeFlags,null!==u?l=Nr(u,l):(l=zr(l,a,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,Us(null,o),o=t.child,null===(l=e.child.memoizedState)?l=el(n):(null!==(a=l.cachePool)?(c=Fi._currentValue,a=a.parent!==c?{parent:c,pool:c}:a):a=Ki(),l={baseLanes:l.baseLanes|n,cachePool:a}),o.memoizedState=l,o.childLanes=tl(e,i,n),t.memoizedState=Js,Us(e.child,o)):(Io(t),e=(n=e.child).sibling,(n=Nr(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(i=t.deletions)?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=n,t.memoizedState=null,n)}function rl(e,t){return(t=il({mode:"visible",children:t},e.mode)).return=e,e.child=t}function il(e,t){return(e=Fr(22,e,null,t)).lanes=0,e}function ol(e,t,n){return ho(t,e.child,null,n),(e=rl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function al(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),xi(e.return,t,n)}function sl(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i,a.treeForkCount=o)}function ll(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;r=r.children;var a=Bo.current,s=!!(2&a);if(s?(a=1&a|2,t.flags|=128):a&=1,N(Bo,a),Bs(e,t,r,n),r=ci?Zr:0,!s&&null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&al(e,n,t);else if(19===e.tag)al(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===jo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),sl(t,!1,i,n,o,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===jo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}sl(t,!0,n,null,o,r);break;case"together":sl(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function cl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Lc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Mi(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=Nr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Nr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ul(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!Ai(e))}function dl(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Ns=!0;else{if(!(ul(e,n)||128&t.flags))return Ns=!1,function(e,t,n){switch(t.tag){case 3:W(t,t.stateNode.containerInfo),ki(0,Fi,e.memoizedState.cache),vi();break;case 27:case 5:q(t);break;case 4:W(t,t.stateNode.containerInfo);break;case 10:ki(0,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,_o(t),null;break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(Io(t),t.flags|=128,null):0!==(n&t.child.childLanes)?nl(e,t,n):(Io(t),null!==(e=cl(e,t,n))?e.sibling:null);Io(t);break;case 19:var i=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(Mi(e,t,n,!1),r=0!==(n&t.childLanes)),i){if(r)return ll(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),N(Bo,Bo.current),r)break;return null;case 22:return t.lanes=0,Hs(e,t,n,t.pendingProps);case 24:ki(0,Fi,e.memoizedState.cache)}return cl(e,t,n)}(e,t,n);Ns=!!(131072&e.flags)}else Ns=!1,ci&&1048576&t.flags&&ri(t,Zr,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=to(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){var o=e.$$typeof;if(o===b){t.tag=11,t=js(null,t,e,i,n);break e}if(o===E){t.tag=14,t=zs(null,t,e,i,n);break e}}throw t=L(e)||e,Error(r(306,t,""))}$r(e)?(i=As(e,i),t.tag=1,t=Qs(null,t,e,i,n)):(t.tag=0,t=Ys(null,t,e,i,n))}return t;case 0:return Ys(e,t,t.type,t.pendingProps,n);case 1:return Qs(e,t,i=t.type,o=As(i,t.pendingProps),n);case 3:e:{if(W(t,t.stateNode.containerInfo),null===e)throw Error(r(387));i=t.pendingProps;var a=t.memoizedState;o=a.element,vo(e,t),So(t,i,null,n);var s=t.memoizedState;if(i=s.cache,ki(0,Fi,i),i!==a.cache&&Ti(t,[Fi],n,!0),ko(),i=s.element,a.isDehydrated){if(a={element:i,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Xs(e,t,i,n);break e}if(i!==o){bi(o=Gr(Error(r(424)),t)),t=Xs(e,t,i,n);break e}for(e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,li=Nd(e.firstChild),si=t,ci=!0,ui=null,di=!0,n=fo(t,null,i,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(vi(),i===o){t=cl(e,t,n);break e}Bs(e,t,i,n)}t=t.child}return t;case 26:return Ks(e,t),null===e?(n=Zd(t.type,null,t.pendingProps,null))?t.memoizedState=n:ci||(n=t.type,e=t.pendingProps,(i=wd(H.current).createElement(n))[Ne]=t,i[Be]=e,vd(i,n,e),Qe(i),t.stateNode=i):t.memoizedState=Zd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return q(t),null===e&&ci&&(i=t.stateNode=Vd(t.type,t.pendingProps,H.current),si=t,di=!0,o=li,Rd(t.type)?(Bd=o,li=Nd(i.firstChild)):li=o),Bs(e,t,t.pendingProps.children,n),Ks(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&ci&&((o=i=li)&&(null!==(i=function(e,t,n,r){for(;1===e.nodeType;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[We])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(o!==i.rel||e.getAttribute("href")!==(null==i.href||""===i.href?null:i.href)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||e.getAttribute("title")!==(null==i.title?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==i.src?null:i.src)||e.getAttribute("type")!==(null==i.type?null:i.type)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var o=null==i.name?null:""+i.name;if("hidden"===i.type&&e.getAttribute("name")===o)return e}if(null===(e=Nd(e.nextSibling)))break}return null}(i,t.type,t.pendingProps,di))?(t.stateNode=i,si=t,li=Nd(i.firstChild),di=!1,o=!0):o=!1),o||fi(t)),q(t),o=t.type,a=t.pendingProps,s=null!==e?e.memoizedProps:null,i=a.children,Sd(o,a)?i=null:null!==s&&Sd(o,s)&&(t.flags|=32),null!==t.memoizedState&&(o=ea(e,t,ra,null,null,n),mh._currentValue=o),Ks(e,t),Bs(e,t,i,n),t.child;case 6:return null===e&&ci&&((e=n=li)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=Nd(e.nextSibling)))return null}return e}(n,t.pendingProps,di))?(t.stateNode=n,si=t,li=null,e=!0):e=!1),e||fi(t)),null;case 13:return nl(e,t,n);case 4:return W(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=ho(t,null,i,n):Bs(e,t,i,n),t.child;case 11:return js(e,t,t.type,t.pendingProps,n);case 7:return Bs(e,t,t.pendingProps,n),t.child;case 8:case 12:return Bs(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.pendingProps,ki(0,t.type,i.value),Bs(e,t,i.children,n),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,Li(t),i=i(o=Pi(o)),t.flags|=1,Bs(e,t,i,n),t.child;case 14:return zs(e,t,t.type,t.pendingProps,n);case 15:return Vs(e,t,t.type,t.pendingProps,n);case 19:return ll(e,t,n);case 31:return function(e,t,n){var i=t.pendingProps,o=!!(128&t.flags);if(t.flags&=-129,null===e){if(ci){if("hidden"===i.mode)return e=Gs(t,i),t.lanes=536870912,Us(null,e);if(_o(t),(e=li)?null!==(e=null!==(e=_d(e,di))&&"&"===e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==Jr?{id:ei,overflow:ti}:null,retryLane:536870912,hydrationErrors:null},(n=Hr(e)).return=t,t.child=n,si=t,li=null):e=null,null===e)throw fi(t);return t.lanes=536870912,null}return Gs(t,i)}var a=e.memoizedState;if(null!==a){var s=a.dehydrated;if(_o(t),o)if(256&t.flags)t.flags&=-257,t=qs(e,t,n);else{if(null===t.memoizedState)throw Error(r(558));t.child=e.child,t.flags|=128,t=null}else if(Ns||Mi(e,t,n,!1),o=0!==(n&e.childLanes),Ns||o){if(null!==(i=bc)&&0!==(s=Oe(i,n))&&s!==a.retryLane)throw a.retryLane=s,Rr(e,s),Jc(i,0,s),$s;du(),t=qs(e,t,n)}else e=a.treeContext,li=Nd(s.nextSibling),si=t,ci=!0,ui=null,di=!1,null!==e&&ai(t,e),(t=Gs(t,i)).flags|=4096;return t}return(e=Nr(e.child,{mode:i.mode,children:i.children})).ref=t.ref,t.child=e,e.return=t,e}(e,t,n);case 22:return Hs(e,t,n,t.pendingProps);case 24:return Li(t),i=Pi(Fi),null===e?(null===(o=Gi())&&(o=bc,a=$i(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:i,cache:o},go(t),ki(0,Fi,o)):(0!==(e.lanes&n)&&(vo(e,t),So(t,null,null,n),ko()),o=e.memoizedState,a=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),ki(0,Fi,i)):(i=a.cache,ki(0,Fi,i),i!==o.cache&&Ti(t,[Fi],n,!0))),Bs(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function hl(e){e.flags|=4}function fl(e,t,n,r,i){if((t=!!(32&e.mode))&&(t=!1),t){if(e.flags|=16777216,(335544128&i)===i)if(e.stateNode.complete)e.flags|=8192;else{if(!lu())throw no=Xi,Zi;e.flags|=8192}}else e.flags&=-16777217}function pl(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!ch(t)){if(!lu())throw no=Xi,Zi;e.flags|=8192}}function ml(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Me():536870912,e.lanes|=t,Dc|=t)}function gl(e,t){if(!ci)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function vl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=65011712&i.subtreeFlags,r|=65011712&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function yl(e,t,n){var i=t.pendingProps;switch(oi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return vl(t),null;case 3:return n=t.stateNode,i=null,null!==e&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Si(Fi),G(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(gi(t)?hl(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,yi())),vl(t),null;case 26:var o=t.type,a=t.memoizedState;return null===e?(hl(t),null!==a?(vl(t),pl(t,a)):(vl(t),fl(t,o,0,0,n))):a?a!==e.memoizedState?(hl(t),vl(t),pl(t,a)):(vl(t),t.flags&=-16777217):((e=e.memoizedProps)!==i&&hl(t),vl(t),fl(t,o,0,0,n)),null;case 27:if(K(t),n=H.current,o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==i&&hl(t);else{if(!i){if(null===t.stateNode)throw Error(r(166));return vl(t),null}e=z.current,gi(t)?pi(t):(e=Vd(o,i,n),t.stateNode=e,hl(t))}return vl(t),null;case 5:if(K(t),o=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==i&&hl(t);else{if(!i){if(null===t.stateNode)throw Error(r(166));return vl(t),null}if(a=z.current,gi(t))pi(t);else{var s=wd(H.current);switch(a){case 1:a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":a=s.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":a=s.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":(a=s.createElement("div")).innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof i.is?s.createElement("select",{is:i.is}):s.createElement("select"),i.multiple?a.multiple=!0:i.size&&(a.size=i.size);break;default:a="string"==typeof i.is?s.createElement(o,{is:i.is}):s.createElement(o)}}a[Ne]=t,a[Be]=i;e:for(s=t.child;null!==s;){if(5===s.tag||6===s.tag)a.appendChild(s.stateNode);else if(4!==s.tag&&27!==s.tag&&null!==s.child){s.child.return=s,s=s.child;continue}if(s===t)break e;for(;null===s.sibling;){if(null===s.return||s.return===t)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=a;e:switch(vd(a,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&hl(t)}}return vl(t),fl(t,t.type,null===e||e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==i&&hl(t);else{if("string"!=typeof i&&null===t.stateNode)throw Error(r(166));if(e=H.current,gi(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,null!==(o=si))switch(o.tag){case 27:case 5:i=o.memoizedProps}e[Ne]=t,(e=!!(e.nodeValue===n||null!==i&&!0===i.suppressHydrationWarning||pd(e.nodeValue,n)))||fi(t,!0)}else(e=wd(e).createTextNode(i))[Ne]=t,t.stateNode=e}return vl(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(i=gi(t),null!==n){if(null===e){if(!i)throw Error(r(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(r(557));e[Ne]=t}else vi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;vl(t),e=!1}else n=yi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return 256&t.flags?(No(t),t):(No(t),null);if(128&t.flags)throw Error(r(558))}return vl(t),null;case 13:if(i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=gi(t),null!==i&&null!==i.dehydrated){if(null===e){if(!o)throw Error(r(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(r(317));o[Ne]=t}else vi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;vl(t),o=!1}else o=yi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(No(t),t):(No(t),null)}return No(t),128&t.flags?(t.lanes=n,t):(n=null!==i,e=null!==e&&null!==e.memoizedState,n&&(o=null,null!==(i=t.child).alternate&&null!==i.alternate.memoizedState&&null!==i.alternate.memoizedState.cachePool&&(o=i.alternate.memoizedState.cachePool.pool),a=null,null!==i.memoizedState&&null!==i.memoizedState.cachePool&&(a=i.memoizedState.cachePool.pool),a!==o&&(i.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),ml(t,t.updateQueue),vl(t),null);case 4:return G(),null===e&&id(t.stateNode.containerInfo),vl(t),null;case 10:return Si(t.type),vl(t),null;case 19:if($(Bo),null===(i=t.memoizedState))return vl(t),null;if(o=!!(128&t.flags),null===(a=i.rendering))if(o)gl(i,!1);else{if(0!==Ac||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=jo(e))){for(t.flags|=128,gl(i,!1),e=a.updateQueue,t.updateQueue=e,ml(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Br(n,e),n=n.sibling;return N(Bo,1&Bo.current|2),ci&&ni(t,i.treeForkCount),t.child}e=e.sibling}null!==i.tail&&oe()>Bc&&(t.flags|=128,o=!0,gl(i,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=jo(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,ml(t,e),gl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!ci)return vl(t),null}else 2*oe()-i.renderingStartTime>Bc&&536870912!==n&&(t.flags|=128,o=!0,gl(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=i.last)?e.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=oe(),e.sibling=null,n=Bo.current,N(Bo,o?1&n|2:1&n),ci&&ni(t,i.treeForkCount),e):(vl(t),null);case 22:case 23:return No(t),Ro(),i=null!==t.memoizedState,null!==e?null!==e.memoizedState!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?!!(536870912&n)&&!(128&t.flags)&&(vl(t),6&t.subtreeFlags&&(t.flags|=8192)):vl(t),null!==(n=t.updateQueue)&&ml(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),i=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),null!==e&&$(Wi),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Si(Fi),vl(t),null;case 25:case 30:return null}throw Error(r(156,t.tag))}function bl(e,t){switch(oi(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Si(Fi),G(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return K(t),null;case 31:if(null!==t.memoizedState){if(No(t),null===t.alternate)throw Error(r(340));vi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(No(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));vi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return $(Bo),null;case 4:return G(),null;case 10:return Si(t.type),null;case 22:case 23:return No(t),Ro(),null!==e&&$(Wi),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Si(Fi),null;default:return null}}function Cl(e,t){switch(oi(t),t.tag){case 3:Si(Fi),G();break;case 26:case 27:case 5:K(t);break;case 4:G();break;case 31:null!==t.memoizedState&&No(t);break;case 13:No(t);break;case 19:$(Bo);break;case 10:Si(t.type);break;case 22:case 23:No(t),Ro(),null!==e&&$(Wi);break;case 24:Si(Fi)}}function wl(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var o=n.create,a=n.inst;r=o(),a.destroy=r}n=n.next}while(n!==i)}}catch(s){Au(t,t.return,s)}}function El(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var o=i.next;r=o;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,i=t;var l=n,c=s;try{c()}catch(u){Au(i,l,u)}}}r=r.next}while(r!==o)}}catch(u){Au(t,t.return,u)}}function kl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{To(t,n)}catch(r){Au(e,e.return,r)}}}function Sl(e,t,n){n.props=As(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){Au(e,t,r)}}function xl(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(i){Au(e,t,i)}}function Tl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(i){Au(e,t,i)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(o){Au(e,t,o)}else n.current=null}function Ml(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(i){Au(e,e.return,i)}}function Al(e,t,n){try{var i=e.stateNode;!function(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,s=null,l=null,c=null,u=null,d=null;for(p in n){var h=n[p];if(n.hasOwnProperty(p)&&null!=h)switch(p){case"checked":case"value":break;case"defaultValue":c=h;default:i.hasOwnProperty(p)||md(e,t,p,null,i,h)}}for(var f in i){var p=i[f];if(h=n[f],i.hasOwnProperty(f)&&(null!=p||null!=h))switch(f){case"type":a=p;break;case"name":o=p;break;case"checked":u=p;break;case"defaultChecked":d=p;break;case"value":s=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(r(137,t));break;default:p!==h&&md(e,t,f,p,i,h)}}return void mt(e,s,l,c,u,d,a,o);case"select":for(a in p=s=l=f=null,n)if(c=n[a],n.hasOwnProperty(a)&&null!=c)switch(a){case"value":break;case"multiple":p=c;default:i.hasOwnProperty(a)||md(e,t,a,null,i,c)}for(o in i)if(a=i[o],c=n[o],i.hasOwnProperty(o)&&(null!=a||null!=c))switch(o){case"value":f=a;break;case"defaultValue":l=a;break;case"multiple":s=a;default:a!==c&&md(e,t,o,a,i,c)}return t=l,n=s,i=p,void(null!=f?yt(e,!!n,f,!1):!!i!=!!n&&(null!=t?yt(e,!!n,t,!0):yt(e,!!n,n?[]:"",!1)));case"textarea":for(l in p=f=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!i.hasOwnProperty(l))switch(l){case"value":case"children":break;default:md(e,t,l,null,i,o)}for(s in i)if(o=i[s],a=n[s],i.hasOwnProperty(s)&&(null!=o||null!=a))switch(s){case"value":f=o;break;case"defaultValue":p=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(r(91));break;default:o!==a&&md(e,t,s,o,i,a)}return void bt(e,f,p);case"option":for(var m in n)f=n[m],n.hasOwnProperty(m)&&null!=f&&!i.hasOwnProperty(m)&&("selected"===m?e.selected=!1:md(e,t,m,null,i,f));for(c in i)f=i[c],p=n[c],!i.hasOwnProperty(c)||f===p||null==f&&null==p||("selected"===c?e.selected=f&&"function"!=typeof f&&"symbol"!=typeof f:md(e,t,c,f,i,p));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)f=n[g],n.hasOwnProperty(g)&&null!=f&&!i.hasOwnProperty(g)&&md(e,t,g,null,i,f);for(u in i)if(f=i[u],p=n[u],i.hasOwnProperty(u)&&f!==p&&(null!=f||null!=p))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(r(137,t));break;default:md(e,t,u,f,i,p)}return;default:if(xt(t)){for(var v in n)f=n[v],n.hasOwnProperty(v)&&void 0!==f&&!i.hasOwnProperty(v)&&gd(e,t,v,void 0,i,f);for(d in i)f=i[d],p=n[d],!i.hasOwnProperty(d)||f===p||void 0===f&&void 0===p||gd(e,t,d,f,i,p);return}}for(var y in n)f=n[y],n.hasOwnProperty(y)&&null!=f&&!i.hasOwnProperty(y)&&md(e,t,y,null,i,f);for(h in i)f=i[h],p=n[h],!i.hasOwnProperty(h)||f===p||null==f&&null==p||md(e,t,h,f,i,p)}(i,e.type,n,t),i[Be]=t}catch(o){Au(e,e.return,o)}}function Ll(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&Rd(e.type)||4===e.tag}function Pl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ll(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&Rd(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Rl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Lt));else if(4!==r&&(27===r&&Rd(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(Rl(e,t,n),e=e.sibling;null!==e;)Rl(e,t,n),e=e.sibling}function Ol(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&Rd(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(Ol(e,t,n),e=e.sibling;null!==e;)Ol(e,t,n),e=e.sibling}function Dl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);vd(t,r,n),t[Ne]=e,t[Be]=n}catch(o){Au(e,e.return,o)}}var Il=!1,_l=!1,Fl=!1,$l="function"==typeof WeakSet?WeakSet:Set,Nl=null;function Bl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Jl(e,n),4&r&&wl(5,n);break;case 1:if(Jl(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(a){Au(n,n.return,a)}else{var i=As(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){Au(n,n.return,s)}}64&r&&kl(n),512&r&&xl(n,n.return);break;case 3:if(Jl(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{To(e,t)}catch(a){Au(n,n.return,a)}}break;case 27:null===t&&4&r&&Dl(n);case 26:case 5:Jl(e,n),null===t&&4&r&&Ml(n),512&r&&xl(n,n.return);break;case 12:Jl(e,n);break;case 31:Jl(e,n),4&r&&Wl(e,n);break;case 13:Jl(e,n),4&r&&Gl(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=Ou.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||Il)){t=null!==t&&null!==t.memoizedState||_l,i=Il;var o=_l;Il=r,(_l=t)&&!o?tc(e,n,!!(8772&n.subtreeFlags)):Jl(e,n),Il=i,_l=o}break;case 30:break;default:Jl(e,n)}}function jl(e){var t=e.alternate;null!==t&&(e.alternate=null,jl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&Ge(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var zl=null,Vl=!1;function Hl(e,t,n){for(n=n.child;null!==n;)Ul(e,t,n),n=n.sibling}function Ul(e,t,n){if(me&&"function"==typeof me.onCommitFiberUnmount)try{me.onCommitFiberUnmount(pe,n)}catch(o){}switch(n.tag){case 26:_l||Tl(n,t),Hl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:_l||Tl(n,t);var r=zl,i=Vl;Rd(n.type)&&(zl=n.stateNode,Vl=!1),Hl(e,t,n),Hd(n.stateNode),zl=r,Vl=i;break;case 5:_l||Tl(n,t);case 6:if(r=zl,i=Vl,zl=null,Hl(e,t,n),Vl=i,null!==(zl=r))if(Vl)try{(9===zl.nodeType?zl.body:"HTML"===zl.nodeName?zl.ownerDocument.body:zl).removeChild(n.stateNode)}catch(a){Au(n,t,a)}else try{zl.removeChild(n.stateNode)}catch(a){Au(n,t,a)}break;case 18:null!==zl&&(Vl?(Od(9===(e=zl).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Yh(e)):Od(zl,n.stateNode));break;case 4:r=zl,i=Vl,zl=n.stateNode.containerInfo,Vl=!0,Hl(e,t,n),zl=r,Vl=i;break;case 0:case 11:case 14:case 15:El(2,n,t),_l||El(4,n,t),Hl(e,t,n);break;case 1:_l||(Tl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&Sl(n,t,r)),Hl(e,t,n);break;case 21:Hl(e,t,n);break;case 22:_l=(r=_l)||null!==n.memoizedState,Hl(e,t,n),_l=r;break;default:Hl(e,t,n)}}function Wl(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{Yh(e)}catch(n){Au(t,t.return,n)}}}function Gl(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{Yh(e)}catch(n){Au(t,t.return,n)}}function ql(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new $l),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new $l),t;default:throw Error(r(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Du.bind(null,e,t);t.then(r,r)}})}function Kl(e,t){var n=t.deletions;if(null!==n)for(var i=0;i<n.length;i++){var o=n[i],a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(Rd(l.type)){zl=l.stateNode,Vl=!1;break e}break;case 5:zl=l.stateNode,Vl=!1;break e;case 3:case 4:zl=l.stateNode.containerInfo,Vl=!0;break e}l=l.return}if(null===zl)throw Error(r(160));Ul(a,s,o),zl=null,Vl=!1,null!==(a=o.alternate)&&(a.return=null),o.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)Zl(t,e),t=t.sibling}var Yl=null;function Zl(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Kl(t,e),Ql(e),4&i&&(El(3,e,e.return),wl(3,e),El(5,e,e.return));break;case 1:Kl(t,e),Ql(e),512&i&&(_l||null===n||Tl(n,n.return)),64&i&&Il&&null!==(e=e.updateQueue)&&null!==(i=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?i:n.concat(i));break;case 26:var o=Yl;if(Kl(t,e),Ql(e),512&i&&(_l||null===n||Tl(n,n.return)),4&i){var a=null!==n?n.memoizedState:null;if(i=e.memoizedState,null===n)if(null===i)if(null===e.stateNode){e:{i=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(i){case"title":(!(a=o.getElementsByTagName("title")[0])||a[We]||a[Ne]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=o.createElement(i),o.head.insertBefore(a,o.querySelector("head > title"))),vd(a,i,n),a[Ne]=e,Qe(a),i=a;break e;case"link":var s=sh("link","href",o).get(i+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((a=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&a.getAttribute("rel")===(null==n.rel?null:n.rel)&&a.getAttribute("title")===(null==n.title?null:n.title)&&a.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}vd(a=o.createElement(i),i,n),o.head.appendChild(a);break;case"meta":if(s=sh("meta","content",o).get(i+(n.content||"")))for(l=0;l<s.length;l++)if((a=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&a.getAttribute("name")===(null==n.name?null:n.name)&&a.getAttribute("property")===(null==n.property?null:n.property)&&a.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&a.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}vd(a=o.createElement(i),i,n),o.head.appendChild(a);break;default:throw Error(r(468,i))}a[Ne]=e,Qe(a),i=a}e.stateNode=i}else lh(o,e.type,e.stateNode);else e.stateNode=nh(o,i,e.memoizedProps);else a!==i?(null===a?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):a.count--,null===i?lh(o,e.type,e.stateNode):nh(o,i,e.memoizedProps)):null===i&&null!==e.stateNode&&Al(e,e.memoizedProps,n.memoizedProps)}break;case 27:Kl(t,e),Ql(e),512&i&&(_l||null===n||Tl(n,n.return)),null!==n&&4&i&&Al(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Kl(t,e),Ql(e),512&i&&(_l||null===n||Tl(n,n.return)),32&e.flags){o=e.stateNode;try{wt(o,"")}catch(m){Au(e,e.return,m)}}4&i&&null!=e.stateNode&&Al(e,o=e.memoizedProps,null!==n?n.memoizedProps:o),1024&i&&(Fl=!0);break;case 6:if(Kl(t,e),Ql(e),4&i){if(null===e.stateNode)throw Error(r(162));i=e.memoizedProps,n=e.stateNode;try{n.nodeValue=i}catch(m){Au(e,e.return,m)}}break;case 3:if(ah=null,o=Yl,Yl=Gd(t.containerInfo),Kl(t,e),Yl=o,Ql(e),4&i&&null!==n&&n.memoizedState.isDehydrated)try{Yh(t.containerInfo)}catch(m){Au(e,e.return,m)}Fl&&(Fl=!1,Xl(e));break;case 4:i=Yl,Yl=Gd(e.stateNode.containerInfo),Kl(t,e),Ql(e),Yl=i;break;case 12:default:Kl(t,e),Ql(e);break;case 31:case 19:Kl(t,e),Ql(e),4&i&&null!==(i=e.updateQueue)&&(e.updateQueue=null,ql(e,i));break;case 13:Kl(t,e),Ql(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&($c=oe()),4&i&&null!==(i=e.updateQueue)&&(e.updateQueue=null,ql(e,i));break;case 22:o=null!==e.memoizedState;var c=null!==n&&null!==n.memoizedState,u=Il,d=_l;if(Il=u||o,_l=d||c,Kl(t,e),_l=d,Il=u,Ql(e),8192&i)e:for(t=e.stateNode,t._visibility=o?-2&t._visibility:1|t._visibility,o&&(null===n||c||Il||_l||ec(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){c=n=t;try{if(a=c.stateNode,o)"function"==typeof(s=a.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=c.stateNode;var h=c.memoizedProps.style,f=null!=h&&h.hasOwnProperty("display")?h.display:null;l.style.display=null==f||"boolean"==typeof f?"":(""+f).trim()}}catch(m){Au(c,c.return,m)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=o?"":c.memoizedProps}catch(m){Au(c,c.return,m)}}}else if(18===t.tag){if(null===n){c=t;try{var p=c.stateNode;o?Dd(p,!0):Dd(c.stateNode,!1)}catch(m){Au(c,c.return,m)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&i&&null!==(i=e.updateQueue)&&null!==(n=i.retryQueue)&&(i.retryQueue=null,ql(e,n));case 30:case 21:}}function Ql(e){var t=e.flags;if(2&t){try{for(var n,i=e.return;null!==i;){if(Ll(i)){n=i;break}i=i.return}if(null==n)throw Error(r(160));switch(n.tag){case 27:var o=n.stateNode;Ol(e,Pl(e),o);break;case 5:var a=n.stateNode;32&n.flags&&(wt(a,""),n.flags&=-33),Ol(e,Pl(e),a);break;case 3:case 4:var s=n.stateNode.containerInfo;Rl(e,Pl(e),s);break;default:throw Error(r(161))}}catch(l){Au(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Xl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Xl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Jl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Bl(e,t.alternate,t),t=t.sibling}function ec(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:El(4,t,t.return),ec(t);break;case 1:Tl(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&Sl(t,t.return,n),ec(t);break;case 27:Hd(t.stateNode);case 26:case 5:Tl(t,t.return),ec(t);break;case 22:null===t.memoizedState&&ec(t);break;default:ec(t)}e=e.sibling}}function tc(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,i=e,o=t,a=o.flags;switch(o.tag){case 0:case 11:case 15:tc(i,o,n),wl(4,o);break;case 1:if(tc(i,o,n),"function"==typeof(i=(r=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(c){Au(r,r.return,c)}if(null!==(i=(r=o).updateQueue)){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)xo(l[i],s)}catch(c){Au(r,r.return,c)}}n&&64&a&&kl(o),xl(o,o.return);break;case 27:Dl(o);case 26:case 5:tc(i,o,n),n&&null===r&&4&a&&Ml(o),xl(o,o.return);break;case 12:tc(i,o,n);break;case 31:tc(i,o,n),n&&4&a&&Wl(i,o);break;case 13:tc(i,o,n),n&&4&a&&Gl(i,o);break;case 22:null===o.memoizedState&&tc(i,o,n),xl(o,o.return);break;case 30:break;default:tc(i,o,n)}t=t.sibling}}function nc(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Ni(n))}function rc(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Ni(e))}function ic(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)oc(e,t,n,r),t=t.sibling}function oc(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:ic(e,t,n,r),2048&i&&wl(9,t);break;case 1:case 31:case 13:default:ic(e,t,n,r);break;case 3:ic(e,t,n,r),2048&i&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Ni(e)));break;case 12:if(2048&i){ic(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,a=o.id,s=o.onPostCommit;"function"==typeof s&&s(a,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){Au(t,t.return,l)}}else ic(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,a=t.alternate,null!==t.memoizedState?2&o._visibility?ic(e,t,n,r):sc(e,t):2&o._visibility?ic(e,t,n,r):(o._visibility|=2,ac(e,t,n,r,!!(10256&t.subtreeFlags)||!1)),2048&i&&nc(a,t);break;case 24:ic(e,t,n,r),2048&i&&rc(t.alternate,t)}}function ac(e,t,n,r,i){for(i=i&&(!!(10256&t.subtreeFlags)||!1),t=t.child;null!==t;){var o=e,a=t,s=n,l=r,c=a.flags;switch(a.tag){case 0:case 11:case 15:ac(o,a,s,l,i),wl(8,a);break;case 23:break;case 22:var u=a.stateNode;null!==a.memoizedState?2&u._visibility?ac(o,a,s,l,i):sc(o,a):(u._visibility|=2,ac(o,a,s,l,i)),i&&2048&c&&nc(a.alternate,a);break;case 24:ac(o,a,s,l,i),i&&2048&c&&rc(a.alternate,a);break;default:ac(o,a,s,l,i)}t=t.sibling}}function sc(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:sc(n,r),2048&i&&nc(r.alternate,r);break;case 24:sc(n,r),2048&i&&rc(r.alternate,r);break;default:sc(n,r)}t=t.sibling}}var lc=8192;function cc(e,t,n){if(e.subtreeFlags&lc)for(e=e.child;null!==e;)uc(e,t,n),e=e.sibling}function uc(e,t,n){switch(e.tag){case 26:cc(e,t,n),e.flags&lc&&null!==e.memoizedState&&function(e,t,n,r){if(!("stylesheet"!==n.type||"string"==typeof r.media&&!1===matchMedia(r.media).matches||4&n.state.loading)){if(null===n.instance){var i=Qd(r.href),o=t.querySelector(Xd(i));if(o)return null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=dh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,void Qe(o);o=t.ownerDocument||t,r=Jd(r),(i=Ud.get(i))&&ih(r,i),Qe(o=o.createElement("link"));var a=o;a._p=new Promise(function(e,t){a.onload=e,a.onerror=t}),vd(o,"link",r),n.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(3&n.state.loading)&&(e.count++,n=dh.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,Yl,e.memoizedState,e.memoizedProps);break;case 5:default:cc(e,t,n);break;case 3:case 4:var r=Yl;Yl=Gd(e.stateNode.containerInfo),cc(e,t,n),Yl=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=lc,lc=16777216,cc(e,t,n),lc=r):cc(e,t,n))}}function dc(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function hc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Nl=r,mc(r,e)}dc(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)fc(e),e=e.sibling}function fc(e){switch(e.tag){case 0:case 11:case 15:hc(e),2048&e.flags&&El(9,e,e.return);break;case 3:case 12:default:hc(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,pc(e)):hc(e)}}function pc(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];Nl=r,mc(r,e)}dc(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:El(8,t,t.return),pc(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,pc(t));break;default:pc(t)}e=e.sibling}}function mc(e,t){for(;null!==Nl;){var n=Nl;switch(n.tag){case 0:case 11:case 15:El(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Ni(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,Nl=r;else e:for(n=e;null!==Nl;){var i=(r=Nl).sibling,o=r.return;if(jl(r),r===n){Nl=null;break e}if(null!==i){i.return=o,Nl=i;break e}Nl=o}}}var gc={getCacheForType:function(e){var t=Pi(Fi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Pi(Fi).controller.signal}},vc="function"==typeof WeakMap?WeakMap:Map,yc=0,bc=null,Cc=null,wc=0,Ec=0,kc=null,Sc=!1,xc=!1,Tc=!1,Mc=0,Ac=0,Lc=0,Pc=0,Rc=0,Oc=0,Dc=0,Ic=null,_c=null,Fc=!1,$c=0,Nc=0,Bc=1/0,jc=null,zc=null,Vc=0,Hc=null,Uc=null,Wc=0,Gc=0,qc=null,Kc=null,Yc=0,Zc=null;function Qc(){return 2&yc&&0!==wc?wc&-wc:null!==R.T?qu():_e()}function Xc(){if(0===Oc)if(536870912&wc&&!ci)Oc=536870912;else{var e=we;!(3932160&(we<<=1))&&(we=262144),Oc=e}return null!==(e=Oo.current)&&(e.flags|=32),Oc}function Jc(e,t,n){(e!==bc||2!==Ec&&9!==Ec)&&null===e.cancelPendingCommit||(au(e,0),ru(e,wc,Oc,!1)),Le(e,n),2&yc&&e===bc||(e===bc&&(!(2&yc)&&(Pc|=n),4===Ac&&ru(e,wc,Oc,!1)),ju(e))}function eu(e,t,n){if(6&yc)throw Error(r(327));for(var i=!n&&!(127&t)&&0===(t&e.expiredLanes)||xe(e,t),o=i?function(e,t){var n=yc;yc|=2;var i=cu(),o=uu();bc!==e||wc!==t?(jc=null,Bc=oe()+500,au(e,t)):xc=xe(e,t);e:for(;;)try{if(0!==Ec&&null!==Cc){t=Cc;var a=kc;t:switch(Ec){case 1:Ec=0,kc=null,vu(e,t,a,1);break;case 2:case 9:if(Ji(a)){Ec=0,kc=null,gu(t);break}t=function(){2!==Ec&&9!==Ec||bc!==e||(Ec=7),ju(e)},a.then(t,t);break e;case 3:Ec=7;break e;case 4:Ec=5;break e;case 7:Ji(a)?(Ec=0,kc=null,gu(t)):(Ec=0,kc=null,vu(e,t,a,7));break;case 5:var s=null;switch(Cc.tag){case 26:s=Cc.memoizedState;case 5:case 27:var l=Cc;if(s?ch(s):l.stateNode.complete){Ec=0,kc=null;var c=l.sibling;if(null!==c)Cc=c;else{var u=l.return;null!==u?(Cc=u,yu(u)):Cc=null}break t}}Ec=0,kc=null,vu(e,t,a,5);break;case 6:Ec=0,kc=null,vu(e,t,a,6);break;case 8:ou(),Ac=6;break e;default:throw Error(r(462))}}pu();break}catch(d){su(e,d)}return Ei=wi=null,R.H=i,R.A=o,yc=n,null!==Cc?0:(bc=null,wc=0,Ar(),Ac)}(e,t):hu(e,t,!0),a=i;;){if(0===o){xc&&!i&&ru(e,t,0,!1);break}if(n=e.current.alternate,!a||nu(n)){if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=0!=(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;o=Ic;var c=l.current.memoizedState.isDehydrated;if(c&&(au(l,s).flags|=256),2!==(s=hu(l,s,!1))){if(Tc&&!c){l.errorRecoveryDisabledLanes|=a,Pc|=a,o=4;break e}a=_c,_c=o,null!==a&&(null===_c?_c=a:_c.push.apply(_c,a))}o=s}if(a=!1,2!==o)continue}}if(1===o){au(e,0),ru(e,t,0,!0);break}e:{switch(i=e,a=o){case 0:case 1:throw Error(r(345));case 4:if((4194048&t)!==t)break;case 6:ru(i,t,Oc,!Sc);break e;case 2:_c=null;break;case 3:case 5:break;default:throw Error(r(329))}if((62914560&t)===t&&10<(o=$c+300-oe())){if(ru(i,t,Oc,!Sc),0!==Se(i,0,!0))break e;Wc=t,i.timeoutHandle=Td(tu.bind(null,i,n,_c,jc,Fc,t,Oc,Pc,Dc,Sc,a,"Throttled",-0,0),o)}else tu(i,n,_c,jc,Fc,t,Oc,Pc,Dc,Sc,a,null,-0,0)}break}o=hu(e,t,!1),a=!1}ju(e)}function tu(e,t,n,r,i,o,a,s,l,c,u,d,h,f){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||!(16785408&~d)){uc(t,o,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Lt});var p=(62914560&o)===o?$c-oe():(4194048&o)===o?Nc-oe():0;if(null!==(p=function(e,t){return e.stylesheets&&0===e.count&&fh(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&fh(e,e.stylesheets),e.unsu
vendor: 4,556 bytes, line 1
1spend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&0===uh&&(uh=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var i=n[r],o=i.transferSize,a=i.initiatorType,s=i.duration;if(o&&s&&yd(a)){for(a=0,s=i.responseEnd,r+=1;r<n.length;r++){var l=n[r],c=l.startTime;if(c>s)break;var u=l.transferSize,d=l.initiatorType;u&&yd(d)&&(a+=u*((l=l.responseEnd)<s?1:(s-c)/(l-c)))}if(--r,t+=8*(o+a)/(i.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var i=setTimeout(function(){if(e.waitingForImages=!1,0===e.count&&(e.stylesheets&&fh(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>uh?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}(d,p)))return Wc=o,e.cancelPendingCommit=p(Cu.bind(null,e,t,o,n,r,i,a,s,l,u,d,null,h,f)),void ru(e,o,a,!c)}Cu(e,t,o,n,r,i,a,s,l)}function nu(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Zn(o(),i))return!1}catch(a){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ru(e,t,n,r){t&=~Rc,t&=~Pc,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var o=31-ve(i),a=1<<o;r[o]=-1,i&=~a}0!==n&&Pe(e,n,t)}function iu(){return!!(6&yc)||(zu(0),!1)}function ou(){if(null!==Cc){if(0===Ec)var e=Cc.return;else Ei=wi=null,ha(e=Cc),oo=null,ao=0,e=Cc;for(;null!==e;)Cl(e.alternate,e),e=e.return;Cc=null}}function au(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,Md(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Wc=0,ou(),bc=e,Cc=n=Nr(e.current,null),wc=t,Ec=0,kc=null,Sc=!1,xc=xe(e,t),Tc=!1,Dc=Oc=Rc=Pc=Lc=Ac=0,_c=Ic=null,Fc=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-ve(r),o=1<<i;t|=e[i],r&=~o}return Mc=t,Ar(),n}function su(e,t){Vo=null,R.H=Cs,t===Yi||t===Qi?(t=ro(),Ec=3):t===Zi?(t=ro(),Ec=4):Ec=t===$s?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,kc=t,null===Cc&&(Ac=1,Os(e,Gr(t,e.current)))}function lu(){var e=Oo.current;return null===e||((4194048&wc)===wc?null===Do:!!((62914560&wc)===wc||536870912&wc)&&e===Do)}function cu(){var e=R.H;return R.H=Cs,null===e?Cs:e}function uu(){var e=R.A;return R.A=gc,e}function du(){Ac=4,Sc||(4194048&wc)!==wc&&null!==Oo.current||(xc=!0),!(134217727&Lc)&&!(134217727&Pc)||null===bc||ru(bc,wc,Oc,!1)}function hu(e,t,n){var r=yc;yc|=2;var i=cu(),o=uu();bc===e&&wc===t||(jc=null,au(e,t)),t=!1;var a=Ac;e:for(;;)try{if(0!==Ec&&null!==Cc){var s=Cc,l=kc;switch(Ec){case 8:ou(),a=6;break e;case 3:case 2:case 9:case 6:null===Oo.current&&(t=!0);var c=Ec;if(Ec=0,kc=null,vu(e,s,l,c),n&&xc){a=0;break e}break;default:c=Ec,Ec=0,kc=null,vu(e,s,l,c)}}fu(),a=Ac;break}catch(u){su(e,u)}return t&&e.shellSuspendCounter++,Ei=wi=null,yc=r,R.H=i,R.A=o,null===Cc&&(bc=null,wc=0,Ar()),a}function fu(){for(;null!==Cc;)mu(Cc)}function pu(){for(;null!==Cc&&!re();)mu(Cc)}function mu(e){var t=dl(e.alternate,e,Mc);e.memoizedProps=e.pendingProps,null===t?yu(e):Cc=t}function gu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Zs(n,t,t.pendingProps,t.type,void 0,wc);break;case 11:t=Zs(n,t,t.pendingProps,t.type.render,t.ref,wc);break;case 5:ha(t);default:Cl(n,t),t=dl(n,t=Cc=Br(t,Mc),Mc)}e.memoizedProps=e.pendingProps,null===t?yu(e):Cc=t}function vu(e,t,n,i){Ei=wi=null,ha(t),oo=null,ao=0;var o=t.return;try{if(function(e,t,n,i,o){if(n.flags|=32768,null!==i&&"object"==typeof i&&"function"==typeof i.then){if(null!==(t=n.alternate)&&Mi(t,n,o,!0),null!==(n=Oo.current)){switch(n.tag){case 31:case 13:return null===Do?du():null===n.alternate&&0===Ac&&(Ac=3),n.flags&=-257,n.flags|=65536,n.lanes=o,i===Xi?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([i]):t.add(i),Lu(e,i,o)),!1;case 22:return n.flags|=65536,i===Xi?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([i]):n.add(i),Lu(e,i,o)),!1}throw Error(r(435,n.tag))}return Lu(e,i,o),du(),!1}if(ci)return null!==(t=Oo.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==
vendor: 4,154 bytes, line 1
1hi&&bi(Gr(e=Error(r(422),{cause:i}),n))):(i!==hi&&bi(Gr(t=Error(r(423),{cause:i}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,i=Gr(i,n),wo(e,o=Is(e.stateNode,i,o)),4!==Ac&&(Ac=2)),!1;var a=Error(r(520),{cause:i});if(a=Gr(a,n),null===Ic?Ic=[a]:Ic.push(a),4!==Ac&&(Ac=2),null===t)return!0;i=Gr(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,wo(n,e=Is(n.stateNode,i,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==zc&&zc.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,Fs(o=_s(o),e,n,i),wo(n,o),!1}n=n.return}while(null!==n);return!1}(e,o,t,n,wc))return Ac=1,Os(e,Gr(n,e.current)),void(Cc=null)}catch(a){if(null!==o)throw Cc=o,a;return Ac=1,Os(e,Gr(n,e.current)),void(Cc=null)}32768&t.flags?(ci||1===i?e=!0:xc||536870912&wc?e=!1:(Sc=e=!0,(2===i||9===i||3===i||6===i)&&null!==(i=Oo.current)&&13===i.tag&&(i.flags|=16384)),bu(t,e)):yu(t)}function yu(e){var t=e;do{if(32768&t.flags)return void bu(t,Sc);e=t.return;var n=yl(t.alternate,t,Mc);if(null!==n)return void(Cc=n);if(null!==(t=t.sibling))return void(Cc=t);Cc=t=e}while(null!==t);0===Ac&&(Ac=5)}function bu(e,t){do{var n=bl(e.alternate,e);if(null!==n)return n.flags&=32767,void(Cc=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(Cc=e);Cc=e=n}while(null!==e);Ac=6,Cc=null}function Cu(e,t,n,i,o,a,s,l,c){e.cancelPendingCommit=null;do{xu()}while(0!==Vc);if(6&yc)throw Error(r(327));if(null!==t){if(t===e.current)throw Error(r(177));if(a=t.lanes|t.childLanes,function(e,t,n,r,i,o){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=a&~n;0<n;){var u=31-ve(n),d=1<<u;s[u]=0,l[u]=-1;var h=c[u];if(null!==h)for(c[u]=null,u=0;u<h.length;u++){var f=h[u];null!==f&&(f.lane&=-536870913)}n&=~d}0!==r&&Pe(e,r,0),0!==o&&0===i&&0!==e.tag&&(e.suspendedLanes|=o&~(a&~t))}(e,n,a|=Mr,s,l,c),e===bc&&(Cc=bc=null,wc=0),Uc=t,Hc=e,Wc=n,Gc=a,qc=o,Kc=i,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,te(ce,function(){return Tu(),null})):(e.callbackNode=null,e.callbackPriority=0),i=!!(13878&t.flags),13878&t.subtreeFlags||i){i=R.T,R.T=null,o=O.p,O.p=2,s=yc,yc|=4;try{!function(e,t){if(e=e.containerInfo,bd=Sh,nr(e=tr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var i=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(i&&0!==i.rangeCount){n=i.anchorNode;var o=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{n.nodeType,a.nodeType}catch(g){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,h=e,f=null;t:for(;;){for(var p;h!==n||0!==o&&3!==h.nodeType||(l=s+o),h!==a||0!==i&&3!==h.nodeType||(c=s+i),3===h.nodeType&&(s+=h.nodeValue.length),null!==(p=h.firstChild);)f=h,h=p;for(;;){if(h===e)break t;if(f===n&&++u===o&&(l=s),f===a&&++d===i&&(c=s),null!==(p=h.nextSibling))break;f=(h=f).parentNode}h=p}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Cd={focusedElem:e,selectionRange:n},Sh=!1,Nl=t;null!==Nl;)if(e=(t=Nl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Nl=e;else for(;null!==Nl;){switch(a=(t=Nl).alternate,e=t.flags,t.tag){case 0:if(4&e&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(o=e[n]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==a){e=void 0,n=t,o=a.memoizedProps,a=a.memoizedState,i=n.stateNode;try{var m=As(n.type,o);e=i.getSnapshotBeforeUpdate(m,a),i.__reactInternalSnapshotBeforeUpdate=e}catch(v){Au(n,n.return,v)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))Id(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Id(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(r(163))}if(null!==(e=t.sibling)){e.return=t.return,Nl=e;break}Nl=t.return}}(e,t)}finally{yc=s,O.p=o,R.T=i}}Vc=1,wu(),Eu(),ku()}}
vendor: 9,104 bytes, line 1
1function wu(){if(1===Vc){Vc=0;var e=Hc,t=Uc,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=R.T,R.T=null;var r=O.p;O.p=2;var i=yc;yc|=4;try{Zl(t,e);var o=Cd,a=tr(e.containerInfo),s=o.focusedElem,l=o.selectionRange;if(a!==s&&s&&s.ownerDocument&&er(s.ownerDocument.documentElement,s)){if(null!==l&&nr(s)){var c=l.start,u=l.end;if(void 0===u&&(u=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,h=d&&d.defaultView||window;if(h.getSelection){var f=h.getSelection(),p=s.textContent.length,m=Math.min(l.start,p),g=void 0===l.end?m:Math.min(l.end,p);!f.extend&&m>g&&(a=g,g=m,m=a);var v=Jn(s,m),y=Jn(s,g);if(v&&y&&(1!==f.rangeCount||f.anchorNode!==v.node||f.anchorOffset!==v.offset||f.focusNode!==y.node||f.focusOffset!==y.offset)){var b=d.createRange();b.setStart(v.node,v.offset),f.removeAllRanges(),m>g?(f.addRange(b),f.extend(y.node,y.offset)):(b.setEnd(y.node,y.offset),f.addRange(b))}}}}for(d=[],f=s;f=f.parentNode;)1===f.nodeType&&d.push({element:f,left:f.scrollLeft,top:f.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var C=d[s];C.element.scrollLeft=C.left,C.element.scrollTop=C.top}}Sh=!!bd,Cd=bd=null}finally{yc=i,O.p=r,R.T=n}}e.current=t,Vc=2}}function Eu(){if(2===Vc){Vc=0;var e=Hc,t=Uc,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=R.T,R.T=null;var r=O.p;O.p=2;var i=yc;yc|=4;try{Bl(e,t.alternate,t)}finally{yc=i,O.p=r,R.T=n}}Vc=3}}function ku(){if(4===Vc||3===Vc){Vc=0,ie();var e=Hc,t=Uc,n=Wc,r=Kc;10256&t.subtreeFlags||10256&t.flags?Vc=5:(Vc=0,Uc=Hc=null,Su(e,e.pendingLanes));var i=e.pendingLanes;if(0===i&&(zc=null),Ie(n),t=t.stateNode,me&&"function"==typeof me.onCommitFiberRoot)try{me.onCommitFiberRoot(pe,t,void 0,!(128&~t.current.flags))}catch(l){}if(null!==r){t=R.T,i=O.p,O.p=2,R.T=null;try{for(var o=e.onRecoverableError,a=0;a<r.length;a++){var s=r[a];o(s.value,{componentStack:s.stack})}}finally{R.T=t,O.p=i}}3&Wc&&xu(),ju(e),i=e.pendingLanes,261930&n&&42&i?e===Zc?Yc++:(Yc=0,Zc=e):Yc=0,zu(0)}}function Su(e,t){0===(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,Ni(t))}function xu(){return wu(),Eu(),ku(),Tu()}function Tu(){if(5!==Vc)return!1;var e=Hc,t=Gc;Gc=0;var n=Ie(Wc),i=R.T,o=O.p;try{O.p=32>n?32:n,R.T=null,n=qc,qc=null;var a=Hc,s=Wc;if(Vc=0,Uc=Hc=null,Wc=0,6&yc)throw Error(r(331));var l=yc;if(yc|=4,fc(a.current),oc(a,a.current,s,n),yc=l,zu(0),me&&"function"==typeof me.onPostCommitFiberRoot)try{me.onPostCommitFiberRoot(pe,a)}catch(c){}return!0}finally{O.p=o,R.T=i,Su(e,t)}}function Mu(e,t,n){t=Gr(n,t),null!==(e=bo(e,t=Is(e.stateNode,t,2),2))&&(Le(e,2),ju(e))}function Au(e,t,n){if(3===e.tag)Mu(e,e,n);else for(;null!==t;){if(3===t.tag){Mu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===zc||!zc.has(r))){e=Gr(n,e),null!==(r=bo(t,n=_s(2),2))&&(Fs(n,r,t,e),Le(r,2),ju(r));break}}t=t.return}}function Lu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new vc;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(Tc=!0,i.add(n),e=Pu.bind(null,e,t,n),t.then(e,e))}function Pu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,bc===e&&(wc&n)===n&&(4===Ac||3===Ac&&(62914560&wc)===wc&&300>oe()-$c?!(2&yc)&&au(e,0):Rc|=n,Dc===wc&&(Dc=0)),ju(e)}function Ru(e,t){0===t&&(t=Me()),null!==(e=Rr(e,t))&&(Le(e,t),ju(e))}function Ou(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ru(e,n)}function Du(e,t){var n=0;switch(e.tag){case 31:case 13:var i=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(r(314))}null!==i&&i.delete(t),Ru(e,n)}var Iu=null,_u=null,Fu=!1,$u=!1,Nu=!1,Bu=0;function ju(e){e!==_u&&null===e.next&&(null===_u?Iu=_u=e:_u=_u.next=e),$u=!0,Fu||(Fu=!0,Ld(function(){6&yc?te(se,Vu):Hu()}))}function zu(e,t){if(!Nu&&$u){Nu=!0;do{for(var n=!1,r=Iu;null!==r;){if(0!==e){var i=r.pendingLanes;if(0===i)var o=0;else{var a=r.suspendedLanes,s=r.pingedLanes;o=(1<<31-ve(42|e)+1)-1,o=201326741&(o&=i&~(a&~s))?201326741&o|1:o?2|o:0}0!==o&&(n=!0,Gu(r,o))}else o=wc,!(3&(o=Se(r,r===bc?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||xe(r,o)||(n=!0,Gu(r,o));r=r.next}}while(n);Nu=!1}}function Vu(){Hu()}function Hu(){$u=Fu=!1;var e,t=0;0!==Bu&&((e=window.event)&&"popstate"===e.type?e!==xd&&(xd=e,1):(xd=null,0))&&(t=Bu);for(var n=oe(),r=null,i=Iu;null!==i;){var o=i.next,a=Uu(i,n);0===a?(i.next=null,null===r?Iu=o:r.next=o,null===o&&(_u=r)):(r=i,(0!==t||3&a)&&($u=!0)),i=o}0!==Vc&&5!==Vc||zu(t),0!==Bu&&(Bu=0)}function Uu(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=-62914561&e.pendingLanes;0<o;){var a=31-ve(o),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=Te(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(n=wc,n=Se(e,e===(t=bc)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===Ec||9===Ec)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ne(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||xe(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ne(r),Ie(n)){case 2:case 8:n=le;break;case 32:default:n=ce;break;case 268435456:n=de}return r=Wu.bind(null,e),n=te(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ne(r),e.callbackPriority=2,e.callbackNode=null,2}function Wu(e,t){if(0!==Vc&&5!==Vc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(xu()&&e.callbackNode!==n)return null;var r=wc;return 0===(r=Se(e,e===bc?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(eu(e,r,t),Uu(e,oe()),null!=e.callbackNode&&e.callbackNode===n?Wu.bind(null,e):null)}function Gu(e,t){if(xu())return null;eu(e,t,!0)}function qu(){if(0===Bu){var e=zi;0===e&&(e=Ce,!(261888&(Ce<<=1))&&(Ce=256)),Bu=e}return Bu}function Ku(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:At(""+e)}function Yu(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Zu=0;Zu<Er.length;Zu++){var Qu=Er[Zu];kr(Qu.toLowerCase(),"on"+(Qu[0].toUpperCase()+Qu.slice(1)))}kr(pr,"onAnimationEnd"),kr(mr,"onAnimationIteration"),kr(gr,"onAnimationStart"),kr("dblclick","onDoubleClick"),kr("focusin","onFocus"),kr("focusout","onBlur"),kr(vr,"onTransitionRun"),kr(yr,"onTransitionStart"),kr(br,"onTransitionCancel"),kr(Cr,"onTransitionEnd"),tt("onMouseEnter",["mouseout","mouseover"]),tt("onMouseLeave",["mouseout","mouseover"]),tt("onPointerEnter",["pointerout","pointerover"]),tt("onPointerLeave",["pointerout","pointerover"]),et("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),et("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),et("onBeforeInput",["compositionend","keypress","textInput","paste"]),et("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),et("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),et("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ju=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xu));function ed(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=c;try{o(i)}catch(u){Sr(u)}i.currentTarget=null,o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=c;try{o(i)}catch(u){Sr(u)}i.currentTarget=null,o=l}}}}function td(e,t){var n=t[ze];void 0===n&&(n=t[ze]=new Set);var r=e+"__bubble";n.has(r)||(od(t,e,2,!1),n.add(r))}function nd(e,t,n){var r=0;t&&(r|=4),od(n,e,r,t)}var rd="_reactListening"+Math.random().toString(36).slice(2);function id(e){if(!e[rd]){e[rd]=!0,Xe.forEach(function(t){"selectionchange"!==t&&(Ju.has(t)||nd(t,!1,e),nd(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[rd]||(t[rd]=!0,nd("selectionchange",!1,t))}}function od(e,t,n,r){switch(Rh(t)){case 2:var i=xh;break;case 8:i=Th;break;default:i=Mh}n=i.bind(null,t,n,e),i=void 0,!Bt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function ad(e,t,n,r,i){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var l=r.stateNode.containerInfo;
vendor: 6,173 bytes, line 1
1if(l===i)break;if(4===s)for(s=r.return;null!==s;){var c=s.tag;if((3===c||4===c)&&s.stateNode.containerInfo===i)return;s=s.return}for(;null!==l;){if(null===(s=qe(l)))return;if(5===(c=s.tag)||6===c||26===c||27===c){r=a=s;continue e}l=l.parentNode}}r=r.return}Ft(function(){var r=a,i=Rt(n),s=[];e:{var l=wr.get(e);if(void 0!==l){var c=en,u=e;switch(e){case"keypress":if(0===Wt(n))break e;case"keydown":case"keyup":c=gn;break;case"focusin":u="focus",c=sn;break;case"focusout":u="blur",c=sn;break;case"beforeblur":case"afterblur":c=sn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=on;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=an;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=yn;break;case pr:case mr:case gr:c=ln;break;case Cr:c=bn;break;case"scroll":case"scrollend":c=nn;break;case"wheel":c=Cn;break;case"copy":case"cut":case"paste":c=cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=vn;break;case"toggle":case"beforetoggle":c=wn}var d=!!(4&t),h=!d&&("scroll"===e||"scrollend"===e),f=d?null!==l?l+"Capture":null:l;d=[];for(var p,m=r;null!==m;){var g=m;if(p=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===p||null===f||null!=(g=$t(m,f))&&d.push(sd(m,g,p)),h)break;m=m.return}0<d.length&&(l=new c(l,u,null,n,i),s.push({event:l,listeners:d}))}}if(!(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Pt||!(u=n.relatedTarget||n.fromElement)||!qe(u)&&!u[je])&&(c||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,c?(c=r,null!==(u=(u=n.relatedTarget||n.toElement)?qe(u):null)&&(h=o(u),d=u.tag,u!==h||5!==d&&27!==d&&6!==d)&&(u=null)):(c=null,u=r),c!==u)){if(d=on,g="onMouseLeave",f="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(d=vn,g="onPointerLeave",f="onPointerEnter",m="pointer"),h=null==c?l:Ye(c),p=null==u?l:Ye(u),(l=new d(g,m+"leave",c,n,i)).target=h,l.relatedTarget=p,g=null,qe(i)===r&&((d=new d(f,m+"enter",u,n,i)).target=p,d.relatedTarget=h,g=d),h=g,c&&u)e:{for(d=cd,m=u,p=0,g=f=c;g;g=d(g))p++;g=0;for(var v=m;v;v=d(v))g++;for(;0<p-g;)f=d(f),p--;for(;0<g-p;)m=d(m),g--;for(;p--;){if(f===m||null!==m&&f===m.alternate){d=f;break e}f=d(f),m=d(m)}d=null}else d=null;null!==c&&ud(s,l,c,d,!1),null!==u&&null!==h&&ud(s,h,u,d,!0)}if("select"===(c=(l=r?Ye(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===c&&"file"===l.type)var y=Bn;else if(Dn(l))if(jn)y=Yn;else{y=qn;var b=Gn}else!(c=l.nodeName)||"input"!==c.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&xt(r.elementType)&&(y=Bn):y=Kn;switch(y&&(y=y(e,r))?In(s,y,n,i):(b&&b(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&vt(l,"number",l.value)),b=r?Ye(r):window,e){case"focusin":(Dn(b)||"true"===b.contentEditable)&&(ir=b,or=r,ar=null);break;case"focusout":ar=or=ir=null;break;case"mousedown":sr=!0;break;case"contextmenu":case"mouseup":case"dragend":sr=!1,lr(s,n,i);break;case"selectionchange":if(rr)break;case"keydown":case"keyup":lr(s,n,i)}var C;if(kn)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else Rn?Ln(e,n)&&(w="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(w="onCompositionStart");w&&(Tn&&"ko"!==n.locale&&(Rn||"onCompositionStart"!==w?"onCompositionEnd"===w&&Rn&&(C=Ut()):(Vt="value"in(zt=i)?zt.value:zt.textContent,Rn=!0)),0<(b=ld(r,w)).length&&(w=new un(w,e,null,n,i),s.push({event:w,listeners:b}),(C||null!==(C=Pn(n)))&&(w.data=C))),(C=xn?function(e,t){switch(e){case"compositionend":return Pn(t);case"keypress":return 32!==t.which?null:(An=!0,Mn);case"textInput":return(e=t.data)===Mn&&An?null:e;default:return null}}(e,n):function(e,t){if(Rn)return"compositionend"===e||!kn&&Ln(e,t)?(e=Ut(),Ht=Vt=zt=null,Rn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Tn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(w=ld(r,"onBeforeInput")).length&&(b=new un("onBeforeInput","beforeinput",null,n,i),s.push({event:b,listeners:w}),b.data=C),function(e,t,n,r,i){if("submit"===t&&n&&n.stateNode===i){var o=Ku((i[Be]||null).action),a=r.submitter;a&&null!==(t=(t=a[Be]||null)?Ku(t.formAction):a.getAttribute("formAction"))&&(o=t,a=null);var s=new en("action","action",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==Bu){var e=a?Yu(i,a):new FormData(i);as(n,{pending:!0,data:e,method:i.method,action:o},null,e)}}else"function"==typeof o&&(s.preventDefault(),e=a?Yu(i,a):new FormData(i),as(n,{pending:!0,data:e,method:i.method,action:o},o,e))},currentTarget:i}]})}}(s,e,r,n,i)}ed(s,t)})}function sd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ld(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===o||(null!=(i=$t(e,n))&&r.unshift(sd(e,i,o)),null!=(i=$t(e,t))&&r.push(sd(e,i,o))),3===e.tag)return r;e=e.return}return[]}function cd(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function ud(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===c||(l=c,i?null!=(c=$t(n,o))&&a.unshift(sd(n,c,l)):i||null!=(c=$t(n,o))&&a.push(sd(n,c,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var dd=/\r\n?/g,hd=/\u0000|\uFFFD/g;function fd(e){return("string"==typeof e?e:""+e).replace(dd,"\n").replace(hd,"")}function pd(e,t){return t=fd(t),fd(e)===t}function md(e,t,n,i,o,a){switch(n){case"children":"string"==typeof i?"body"===t||"textarea"===t&&""===i||wt(e,i):("number"==typeof i||"bigint"==typeof i)&&"body"!==t&&wt(e,""+i);break;
vendor: 6,024 bytes, line 1
1case"className":at(e,"class",i);break;case"tabIndex":at(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":at(e,n,i);break;case"style":St(e,i,a);break;case"data":if("object"!==t){at(e,"data",i);break}case"src":case"href":if(""===i&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==i||"function"==typeof i||"symbol"==typeof i||"boolean"==typeof i){e.removeAttribute(n);break}i=At(""+i),e.setAttribute(n,i);break;case"action":case"formAction":if("function"==typeof i){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&md(e,t,"name",o.name,o,null),md(e,t,"formEncType",o.formEncType,o,null),md(e,t,"formMethod",o.formMethod,o,null),md(e,t,"formTarget",o.formTarget,o,null)):(md(e,t,"encType",o.encType,o,null),md(e,t,"method",o.method,o,null),md(e,t,"target",o.target,o,null))),null==i||"symbol"==typeof i||"boolean"==typeof i){e.removeAttribute(n);break}i=At(""+i),e.setAttribute(n,i);break;case"onClick":null!=i&&(e.onclick=Lt);break;case"onScroll":null!=i&&td("scroll",e);break;case"onScrollEnd":null!=i&&td("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=i){if("object"!=typeof i||!("__html"in i))throw Error(r(61));if(null!=(n=i.__html)){if(null!=o.children)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=i&&"function"!=typeof i&&"symbol"!=typeof i;break;case"muted":e.muted=i&&"function"!=typeof i&&"symbol"!=typeof i;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==i||"function"==typeof i||"boolean"==typeof i||"symbol"==typeof i){e.removeAttribute("xlink:href");break}n=At(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,""+i):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===i?e.setAttribute(n,""):!1!==i&&null!=i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":null==i||"function"==typeof i||"symbol"==typeof i||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":td("beforetoggle",e),td("toggle",e),ot(e,"popover",i);break;case"xlinkActuate":st(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":st(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":st(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":st(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":st(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":st(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":st(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":st(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":st(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":ot(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&ot(e,n=Tt.get(n)||n,i)}}function gd(e,t,n,i,o,a){switch(n){case"style":St(e,i,a);break;case"dangerouslySetInnerHTML":if(null!=i){if("object"!=typeof i||!("__html"in i))throw Error(r(61));if(null!=(n=i.__html)){if(null!=o.children)throw Error(r(60));e.innerHTML=n}}break;case"children":"string"==typeof i?wt(e,i):("number"==typeof i||"bigint"==typeof i)&&wt(e,""+i);break;case"onScroll":null!=i&&td("scroll",e);break;case"onScrollEnd":null!=i&&td("scrollend",e);break;case"onClick":null!=i&&(e.onclick=Lt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Je.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(a=null!=(a=e[Be]||null)?a[n]:null)&&e.removeEventListener(t,a,o),"function"!=typeof i)?n in e?e[n]=i:!0===i?e.setAttribute(n,""):ot(e,n,i):("function"!=typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,i,o)))}}function vd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":td("error",e),td("load",e);var i,o=!1,a=!1;for(i in n)if(n.hasOwnProperty(i)){var s=n[i];if(null!=s)switch(i){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:md(e,t,i,s,n,null)}}return a&&md(e,t,"srcSet",n.srcSet,n,null),void(o&&md(e,t,"src",n.src,n,null));case"input":td("invalid",e);var l=i=s=a=null,c=null,u=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":a=d;break;case"type":s=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":i=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(r(137,t));break;default:md(e,t,o,d,n,null)}}
vendor: 10,080 bytes, line 1
1return void gt(e,i,l,c,u,s,a,!1);case"select":for(a in td("invalid",e),o=s=i=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]))switch(a){case"value":i=l;break;case"defaultValue":s=l;break;case"multiple":o=l;default:md(e,t,a,l,n,null)}return t=i,n=s,e.multiple=!!o,void(null!=t?yt(e,!!o,t,!1):null!=n&&yt(e,!!o,n,!0));case"textarea":for(s in td("invalid",e),i=a=o=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":o=l;break;case"defaultValue":a=l;break;case"children":i=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(r(91));break;default:md(e,t,s,l,n,null)}return void Ct(e,o,a,i);case"option":for(c in n)n.hasOwnProperty(c)&&null!=(o=n[c])&&("selected"===c?e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o:md(e,t,c,o,n,null));return;case"dialog":td("beforetoggle",e),td("toggle",e),td("cancel",e),td("close",e);break;case"iframe":case"object":td("load",e);break;case"video":case"audio":for(o=0;o<Xu.length;o++)td(Xu[o],e);break;case"image":td("error",e),td("load",e);break;case"details":td("toggle",e);break;case"embed":case"source":case"link":td("error",e),td("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:md(e,t,u,o,n,null)}return;default:if(xt(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(o=n[d])&&gd(e,t,d,o,n,void 0);return}}for(l in n)n.hasOwnProperty(l)&&null!=(o=n[l])&&md(e,t,l,o,n,null)}function yd(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var bd=null,Cd=null;function wd(e){return 9===e.nodeType?e:e.ownerDocument}function Ed(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function kd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function Sd(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var xd=null,Td="function"==typeof setTimeout?setTimeout:void 0,Md="function"==typeof clearTimeout?clearTimeout:void 0,Ad="function"==typeof Promise?Promise:void 0,Ld="function"==typeof queueMicrotask?queueMicrotask:void 0!==Ad?function(e){return Ad.resolve(null).then(e).catch(Pd)}:Td;function Pd(e){setTimeout(function(){throw e})}function Rd(e){return"head"===e}function Od(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)||"/&"===n){if(0===r)return e.removeChild(i),void Yh(t);r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)Hd(e.ownerDocument.documentElement);else if("head"===n){Hd(n=e.ownerDocument.head);for(var o=n.firstChild;o;){var a=o.nextSibling,s=o.nodeName;o[We]||"SCRIPT"===s||"STYLE"===s||"LINK"===s&&"stylesheet"===o.rel.toLowerCase()||n.removeChild(o),o=a}}else"body"===n&&Hd(e.ownerDocument.body);n=i}while(n);Yh(t)}function Dd(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===e)break;e--}else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function Id(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Id(n),Ge(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function _d(e,t){for(;8!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=Nd(e.nextSibling)))return null}return e}function Fd(e){return"$?"===e.data||"$~"===e.data}function $d(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function Nd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var Bd=null;function jd(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return Nd(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function zd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function Vd(e,t,n){switch(t=wd(n),e){case"html":if(!(e=t.documentElement))throw Error(r(452));return e;case"head":if(!(e=t.head))throw Error(r(453));return e;case"body":if(!(e=t.body))throw Error(r(454));return e;default:throw Error(r(451))}}function Hd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ge(e)}var Ud=new Map,Wd=new Set;function Gd(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var qd=O.d;O.d={f:function(){var e=qd.f(),t=iu();return e||t},r:function(e){var t=Ke(e);null!==t&&5===t.tag&&"form"===t.type?ls(t):qd.r(e)},D:function(e){qd.D(e),Yd("dns-prefetch",e,null)},C:function(e,t){qd.C(e,t),Yd("preconnect",e,t)},L:function(e,t,n){qd.L(e,t,n);var r=Kd;if(r&&e&&t){var i='link[rel="preload"][as="'+pt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(i+='[imagesrcset="'+pt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(i+='[imagesizes="'+pt(n.imageSizes)+'"]')):i+='[href="'+pt(e)+'"]';var o=i;switch(t){case"style":o=Qd(e);break;case"script":o=eh(e)}Ud.has(o)||(e=u({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Ud.set(o,e),null!==r.querySelector(i)||"style"===t&&r.querySelector(Xd(o))||"script"===t&&r.querySelector(th(o))||(vd(t=r.createElement("link"),"link",e),Qe(t),r.head.appendChild(t)))}},m:function(e,t){qd.m(e,t);var n=Kd;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",i='link[rel="modulepreload"][as="'+pt(r)+'"][href="'+pt(e)+'"]',o=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=eh(e)}if(!Ud.has(o)&&(e=u({rel:"modulepreload",href:e},t),Ud.set(o,e),null===n.querySelector(i))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(th(o)))return}vd(r=n.createElement("link"),"link",e),Qe(r),n.head.appendChild(r)}}},X:function(e,t){qd.X(e,t);var n=Kd;if(n&&e){var r=Ze(n).hoistableScripts,i=eh(e),o=r.get(i);o||((o=n.querySelector(th(i)))||(e=u({src:e,async:!0},t),(t=Ud.get(i))&&oh(e,t),Qe(o=n.createElement("script")),vd(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}},S:function(e,t,n){qd.S(e,t,n);var r=Kd;if(r&&e){var i=Ze(r).hoistableStyles,o=Qd(e);t=t||"default";var a=i.get(o);if(!a){var s={loading:0,preload:null};if(a=r.querySelector(Xd(o)))s.loading=5;else{e=u({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ud.get(o))&&ih(e,n);var l=a=r.createElement("link");Qe(l),vd(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,rh(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:s},i.set(o,a)}}},M:function(e,t){qd.M(e,t);var n=Kd;if(n&&e){var r=Ze(n).hoistableScripts,i=eh(e),o=r.get(i);o||((o=n.querySelector(th(i)))||(e=u({src:e,async:!0,type:"module"},t),(t=Ud.get(i))&&oh(e,t),Qe(o=n.createElement("script")),vd(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}}};var Kd="undefined"==typeof document?null:document;function Yd(e,t,n){var r=Kd;if(r&&"string"==typeof t&&t){var i=pt(t);i='link[rel="'+e+'"][href="'+i+'"]',"string"==typeof n&&(i+='[crossorigin="'+n+'"]'),Wd.has(i)||(Wd.add(i),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(i)&&(vd(t=r.createElement("link"),"link",e),Qe(t),r.head.appendChild(t)))}}function Zd(e,t,n,i){var o,a,s,l,c=(c=H.current)?Gd(c):null;if(!c)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Qd(n.href),(i=(n=Ze(c).hoistableStyles).get(t))||(i={type:"style",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Qd(n.href);var u=Ze(c).hoistableStyles,d=u.get(e);if(d||(c=c.ownerDocument||c,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=c.querySelector(Xd(e)))&&!u._p&&(d.instance=u,d.state.loading=5),Ud.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ud.set(e,n),u||(o=c,a=e,s=n,l=d.state,o.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=o.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),vd(a,"link",s),Qe(a),o.head.appendChild(a))))),t&&null===i)throw Error(r(528,""));return d}if(t&&null!==i)throw Error(r(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=eh(n),(i=(n=Ze(c).hoistableScripts).get(t))||(i={type:"script",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Qd(e){return'href="'+pt(e)+'"'}function Xd(e){return'link[rel="stylesheet"]['+e+"]"}function Jd(e){return u({},e,{"data-precedence":e.precedence,precedence:null})}
vendor: 4,605 bytes, line 1
1function eh(e){return'[src="'+pt(e)+'"]'}function th(e){return"script[async]"+e}function nh(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+pt(n.href)+'"]');if(i)return t.instance=i,Qe(i),i;var o=u({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Qe(i=(e.ownerDocument||e).createElement("style")),vd(i,"style",o),rh(i,n.precedence,e),t.instance=i;case"stylesheet":o=Qd(n.href);var a=e.querySelector(Xd(o));if(a)return t.state.loading|=4,t.instance=a,Qe(a),a;i=Jd(n),(o=Ud.get(o))&&ih(i,o),Qe(a=(e.ownerDocument||e).createElement("link"));var s=a;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),vd(a,"link",i),t.state.loading|=4,rh(a,n.precedence,e),t.instance=a;case"script":return a=eh(n.src),(o=e.querySelector(th(a)))?(t.instance=o,Qe(o),o):(i=n,(o=Ud.get(a))&&oh(i=u({},n),o),Qe(o=(e=e.ownerDocument||e).createElement("script")),vd(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(r(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(i=t.instance,t.state.loading|=4,rh(i,n.precedence,e));return t.instance}function rh(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,o=i,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)o=s;else if(o!==i)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function ih(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function oh(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var ah=null;function sh(e,t,n){if(null===ah){var r=new Map,i=ah=new Map;i.set(n,r)}else(r=(i=ah).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var o=n[i];if(!(o[We]||o[Ne]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var a=o.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(o):r.set(a,[o])}}return r}function lh(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function ch(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var uh=0;function dh(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages))if(this.stylesheets)fh(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var hh=null;function fh(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,hh=new Map,t.forEach(ph,e),hh=null,dh.call(e))}function ph(e,t){if(!(4&t.state.loading)){var n=hh.get(e);if(n)var r=n.get(null);else{n=new Map,hh.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<i.length;o++){var a=i[o];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(i=t.instance).getAttribute("data-precedence"),(o=n.get(a)||r)===r&&n.set(null,i),n.set(a,i),this.count++,r=dh.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),o?o.parentNode.insertBefore(i,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var mh={$$typeof:y,Provider:null,Consumer:null,_currentValue:D,_currentValue2:D,_threadCount:0};function gh(e,t,n,r,i,o,a,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ae(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ae(0),this.hiddenUpdates=Ae(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=o,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function vh(e,t,n,r,i,o,a,s,l,c,u,d){return e=new gh(e,t,n,a,l,c,u,d,s),t=1,!0===o&&(t|=24),o=Fr(3,null,null,t),e.current=o,o.stateNode=e,(t=$i()).refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},go(o),e}function yh(e){return e?e=Ir:Ir}function bh(e,t,n,r,i,o){i=yh(i),null===r.context?r.context=i:r.pendingContext=i,(r=yo(t)).payload={element:n}
vendor: 4,243 bytes, line 1
1,null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=bo(e,r,t))&&(Jc(n,0,t),Co(n,e,t))}function Ch(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function wh(e,t){Ch(e,t),(e=e.alternate)&&Ch(e,t)}function Eh(e){if(13===e.tag||31===e.tag){var t=Rr(e,67108864);null!==t&&Jc(t,0,67108864),wh(e,67108864)}}function kh(e){if(13===e.tag||31===e.tag){var t=Qc(),n=Rr(e,t=De(t));null!==n&&Jc(n,0,t),wh(e,t)}}var Sh=!0;function xh(e,t,n,r){var i=R.T;R.T=null;var o=O.p;try{O.p=2,Mh(e,t,n,r)}finally{O.p=o,R.T=i}}function Th(e,t,n,r){var i=R.T;R.T=null;var o=O.p;try{O.p=8,Mh(e,t,n,r)}finally{O.p=o,R.T=i}}function Mh(e,t,n,r){if(Sh){var i=Ah(r);if(null===i)ad(e,t,r,Lh,n),jh(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Dh=zh(Dh,e,t,n,r,i),!0;case"dragenter":return Ih=zh(Ih,e,t,n,r,i),!0;case"mouseover":return _h=zh(_h,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Fh.set(o,zh(Fh.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,$h.set(o,zh($h.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(jh(e,r),4&t&&-1<Bh.indexOf(e)){for(;null!==i;){var o=Ke(i);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var a=ke(o.pendingLanes);if(0!==a){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-ve(a);s.entanglements[1]|=l,a&=~l}ju(o),!(6&yc)&&(Bc=oe()+500,zu(0))}}break;case 31:case 13:null!==(s=Rr(o,2))&&Jc(s,0,2),iu(),wh(o,2)}if(null===(o=Ah(r))&&ad(e,t,r,Lh,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else ad(e,t,r,null,n)}}function Ah(e){return Ph(e=Rt(e))}var Lh=null;function Ph(e){if(Lh=null,null!==(e=qe(e))){var t=o(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=a(t)))return e;e=null}else if(31===n){if(null!==(e=s(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Lh=e,null}function Rh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ae()){case se:return 2;case le:return 8;case ce:case ue:return 32;case de:return 268435456;default:return 32}default:return 32}}var Oh=!1,Dh=null,Ih=null,_h=null,Fh=new Map,$h=new Map,Nh=[],Bh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function jh(e,t){switch(e){case"focusin":case"focusout":Dh=null;break;case"dragenter":case"dragleave":Ih=null;break;case"mouseover":case"mouseout":_h=null;break;case"pointerover":case"pointerout":Fh.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":$h.delete(t.pointerId)}}function zh(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=Ke(t))&&Eh(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Vh(e){var t=qe(e.target);if(null!==t){var n=o(t);
vendor: 5,619 bytes, line 1
1if(null!==n)if(13===(t=n.tag)){if(null!==(t=a(n)))return e.blockedOn=t,void Fe(e.priority,function(){kh(n)})}else if(31===t){if(null!==(t=s(n)))return e.blockedOn=t,void Fe(e.priority,function(){kh(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Hh(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ah(e.nativeEvent);if(null!==n)return null!==(t=Ke(n))&&Eh(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Pt=r,n.target.dispatchEvent(r),Pt=null,t.shift()}return!0}function Uh(e,t,n){Hh(e)&&n.delete(t)}function Wh(){Oh=!1,null!==Dh&&Hh(Dh)&&(Dh=null),null!==Ih&&Hh(Ih)&&(Ih=null),null!==_h&&Hh(_h)&&(_h=null),Fh.forEach(Uh),$h.forEach(Uh)}function Gh(t,n){t.blockedOn===n&&(t.blockedOn=null,Oh||(Oh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Wh)))}var qh=null;function Kh(t){qh!==t&&(qh=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){qh===t&&(qh=null);for(var e=0;e<t.length;e+=3){var n=t[e],r=t[e+1],i=t[e+2];if("function"!=typeof r){if(null===Ph(r||n))continue;break}var o=Ke(n);null!==o&&(t.splice(e,3),e-=3,as(o,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Yh(e){function t(t){return Gh(t,e)}null!==Dh&&Gh(Dh,e),null!==Ih&&Gh(Ih,e),null!==_h&&Gh(_h,e),Fh.forEach(t),$h.forEach(t);for(var n=0;n<Nh.length;n++){var r=Nh[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Nh.length&&null===(n=Nh[0]).blockedOn;)Vh(n),null===n.blockedOn&&Nh.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],o=n[r+1],a=i[Be]||null;if("function"==typeof o)a||Kh(n);else if(a){var s=null;if(o&&o.hasAttribute("formAction")){if(i=o,a=o[Be]||null)s=a.formAction;else if(null!==Ph(i))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Kh(n)}}}function Zh(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==i&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==i&&(i(),i=null)}}}function Qh(e){this._internalRoot=e}function Xh(e){this._internalRoot=e}Xh.prototype.render=Qh.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));bh(t.current,Qc(),e,t,null,null)},Xh.prototype.unmount=Qh.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;bh(e.current,2,null,e,null,null),iu(),t[je]=null}},Xh.prototype.unstable_scheduleHydration=function(e){if(e){var t=_e();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nh.length&&0!==t&&t<Nh[n].priority;n++);Nh.splice(n,0,e),0===n&&Vh(e)}};var Jh=t.version;if("19.2.7"!==Jh)throw Error(r(527,Jh,"19.2.7"));O.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=o(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,i=t;;){var a=n.return;if(null===a)break;var s=a.alternate;if(null===s){if(null!==(i=a.return)){n=i;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===i)return l(a),t;s=s.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,i=s;break}if(u===i){c=!0,i=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,i=a;break}if(u===i){c=!0,i=s,n=a;break}u=u.sibling}if(!c)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(t),null===(e=null!==e?c(e):null)?null:e.stateNode};var ef={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.7"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tf.isDisabled&&tf.supportsFiber)try{pe=tf.inject(ef),me=tf}catch(rf){}}return ca.createRoot=function(e,t){if(!i(e))throw Error(r(299));var n=!1,o="",a=Ls,s=Ps,l=Rs;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError)),t=vh(e,1,!1,null,0,n,o,null,a,s,l,Zh),e[je]=t.current,id(e),new Qh(t)},ca.hydrateRoot=function(e,t,n){if(!i(e))throw Error(r(299));var o=!1,a="",s=Ls,l=Ps,c=Rs,u=null;return null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onUncaughtError&&(s=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.formState&&(u=n.formState)),(t=vh(e,1,!0,t,0,o,a,u,s,l,c,Zh)).context=yh(null),n=t.current,(a=yo(o=De(o=Qc()))).callback=null,bo(n,a,o),n=o,t.current.lanes=n,Le(t,n),ju(t),e[je]=t.current,id(e),new Xh(t)},ca.version="19.2.7",ca}
1()),la.exports);const fa=Ne(ha);var pa=(e,t,n,r,i,o,a,s)=>{let l=document.documentElement,c=["light","dark"];function u(t){(Array.isArray(e)?e:[e]).forEach(e=>{let n="class"===e,r=n&&o?i.map(e=>o[e]||e):i;n?(l.classList.remove(...r),l.classList.add(o&&o[t]?o[t]:t)):l.setAttribute(e,t)}),function(e){s&&c.includes(e)&&(l.style.colorScheme=e)}(t)}if(r)u(r);else try{let e=localStorage.getItem(t)||n;u(a&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e)}catch(d){}},ma=["light","dark"],ga="(prefers-color-scheme: dark)",va="undefined"==typeof window,ya=Qt.createContext(void 0),ba={setTheme:e=>{},themes:[]},Ca=()=>{var e;return null!=(e=Qt.useContext(ya))?e:ba},wa=e=>Qt.useContext(ya)?Qt.createElement(Qt.Fragment,null,e.children):Qt.createElement(ka,{...e}),Ea=["light","dark"],ka=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i="theme",themes:o=Ea,defaultTheme:a=(n?"system":"light"),attribute:s="data-theme",value:l,children:c,nonce:u,scriptProps:d})=>{let[h,f]=Qt.useState(()=>xa(i,a)),[p,m]=Qt.useState(()=>"system"===h?Ma():h),g=l?Object.values(l):o,v=Qt.useCallback(e=>{let i=e;if(!i)return;"system"===e&&n&&(i=Ma());let o=l?l[i]:i,c=t?Ta(u):null,d=document.documentElement,h=e=>{"class"===e?(d.classList.remove(...g),o&&d.classList.add(o)):e.startsWith("data-")&&(o?d.setAttribute(e,o):d.removeAttribute(e))};if(Array.isArray(s)?s.forEach(h):h(s),r){let e=ma.includes(a)?a:null,t=ma.includes(i)?i:e;d.style.colorScheme=t}null==c||c()},[u]),y=Qt.useCallback(e=>{let t="function"==typeof e?e(h):e;f(t);try{localStorage.setItem(i,t)}catch(n){}},[h]),b=Qt.useCallback(t=>{let r=Ma(t);m(r),"system"===h&&n&&!e&&v("system")},[h,e]);Qt.useEffect(()=>{let e=window.matchMedia(ga);return e.addListener(b),b(e),()=>e.removeListener(b)},[b]),Qt.useEffect(()=>{let e=e=>{e.key===i&&(e.newValue?f(e.newValue):y(a))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[y]),Qt.useEffect(()=>{v(null!=e?e:h)},[e,h]);let C=Qt.useMemo(()=>({theme:h,setTheme:y,forcedTheme:e,resolvedTheme:"system"===h?p:h,themes:n?[...o,"system"]:o,systemTheme:n?p:void 0}),[h,y,e,p,n,o]);return Qt.createElement(ya.Provider,{value:C},Qt.createElement(Sa,{forcedTheme:e,storageKey:i,attribute:s,enableSystem:n,enableColorScheme:r,defaultTheme:a,value:l,themes:o,nonce:u,scriptProps:d}),c)},Sa=Qt.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:o,value:a,themes:s,nonce:l,scriptProps:c})=>{let u=JSON.stringify([n,t,o,e,s,a,r,i]).slice(1,-1);return Qt.createElement("script",{...c,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(${pa.toString()})(${u})`}})}),xa=(e,t)=>{if(va)return;let n;try{n=localStorage.getItem(e)||void 0}catch(r){}return n||t},Ta=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},Ma=e=>(e||(e=window.matchMedia(ga)),e.matches?"dark":"light");const Aa=Array(12).fill(0),La=({visible:e,className:t})=>Xt.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},Xt.createElement("div",{className:"sonner-spinner"},Aa.map((e,t)=>Xt.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),Pa=Xt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Xt.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Ra=Xt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Xt.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Oa=Xt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Xt.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),Da=Xt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Xt.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),Ia=Xt.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},Xt.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Xt.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}));let _a=1;const Fa=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>
vendor: 1,078 bytes, line 1
1{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;const{message:n,...r}=e,i="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:_a++,o=this.toasts.find(e=>e.id===i),a=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(t=>t.id===i?(this.publish({...t,...e,id:i,title:n}),{...t,...e,id:i,dismissible:a,title:n}):t):this.addToast({title:n,...r,dismissible:a,id:i}),i},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
1this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));const r=Promise.resolve(e instanceof Function?e():e);let i,o=void 0!==n;const a=r.then(async e=>{if(i=["resolve",e],Xt.isValidElement(e))o=!1,this.create({id:n,type:"default",message:e});else if($a(e)&&!e.ok){o=!1;const r="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,i="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description,a="object"!=typeof r||Xt.isValidElement(r)?{message:r}:r;this.create({id:n,type:"error",description:i,...a})}else if(e instanceof Error){o=!1;const r="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description,a="object"!=typeof r||Xt.isValidElement(r)?{message:r}:r;this.create({id:n,type:"error",description:i,...a})}else if(void 0!==t.success){o=!1;const r="function"==typeof t.success?await t.success(e):t.success,i="function"==typeof t.description?await t.description(e):t.description,a="object"!=typeof r||Xt.isValidElement(r)?{message:r}:r;this.create({id:n,type:"success",description:i,...a})}}).catch(async e=>{if(i=["reject",e],void 0!==t.error){o=!1;const r="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description,a="object"!=typeof r||Xt.isValidElement(r)?{message:r}:r;this.create({id:n,type:"error",description:i,...a})}}).finally(()=>{o&&(this.dismiss(n),n=void 0),null==t.finally||t.finally.call(t)}),s=()=>new Promise((e,t)=>a.then(()=>"reject"===i[0]?t(i[1]):e(i[1])).catch(t));return"string"!=typeof n&&"number"!=typeof n?{unwrap:s}:Object.assign(n,{unwrap:s})},this.custom=(e,t)=>{const n=(null==t?void 0:t.id)||_a++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},$a=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,Na=Object.assign((e,t)=>{const n=(null==t?void 0:t.id)||_a++;return Fa.addToast({title:e,...t,id:n}),n},{success:Fa.success,info:Fa.info,warning:Fa.warning,error:Fa.error,custom:Fa.custom,message:Fa.message,promise:Fa.promise,dismiss:Fa.dismiss,loading:Fa.loading},{getHistory:()=>Fa.toasts,getToasts:()=>Fa.getActiveToasts()});function Ba(e){return void 0!==e.label}!function(e){if("undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}
vendor: 14,864 bytes, line 1
1("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
vendor: 5,566 bytes, line 1
1const ja=3,za=14;function Va(...e){return e.filter(Boolean).join(" ")}const Ha=e=>{var t,n,r,i,o,a,s,l,c;const{invert:u,toast:d,unstyled:h,interacting:f,setHeights:p,visibleToasts:m,heights:g,index:v,toasts:y,expanded:b,removeToast:C,defaultRichColors:w,closeButton:E,style:k,cancelButtonStyle:S,actionButtonStyle:x,className:T="",descriptionClassName:M="",duration:A,position:L,gap:P,expandByDefault:R,classNames:O,icons:D,closeButtonAriaLabel:I="Close toast"}=e,[_,F]=Xt.useState(null),[$,N]=Xt.useState(null),[B,j]=Xt.useState(!1),[z,V]=Xt.useState(!1),[H,U]=Xt.useState(!1),[W,G]=Xt.useState(!1),[q,K]=Xt.useState(!1),[Y,Z]=Xt.useState(0),[Q,X]=Xt.useState(0),J=Xt.useRef(d.duration||A||4e3),ee=Xt.useRef(null),te=Xt.useRef(null),ne=0===v,re=v+1<=m,ie=d.type,oe=!1!==d.dismissible,ae=d.className||"",se=d.descriptionClassName||"",le=Xt.useMemo(()=>g.findIndex(e=>e.toastId===d.id)||0,[g,d.id]),ce=Xt.useMemo(()=>{var e;return null!=(e=d.closeButton)?e:E},[d.closeButton,E]),ue=Xt.useMemo(()=>d.duration||A||4e3,[d.duration,A]),de=Xt.useRef(0),he=Xt.useRef(0),fe=Xt.useRef(0),pe=Xt.useRef(null),[me,ge]=L.split("-"),ve=Xt.useMemo(()=>g.reduce((e,t,n)=>n>=le?e:e+t.height,0),[g,le]),ye=(()=>{const[e,t]=Xt.useState(document.hidden);return Xt.useEffect(()=>{const e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e})(),be=d.invert||u,Ce="loading"===ie;he.current=Xt.useMemo(()=>le*P+ve,[le,ve]),Xt.useEffect(()=>{J.current=ue},[ue]),Xt.useEffect(()=>{j(!0)},[]),Xt.useEffect(()=>{const e=te.current;if(e){const t=e.getBoundingClientRect().height;return X(t),p(e=>[{toastId:d.id,height:t,position:d.position},...e]),()=>p(e=>e.filter(e=>e.toastId!==d.id))}},[p,d.id]),Xt.useLayoutEffect(()=>{if(!B)return;const e=te.current,t=e.style.height;e.style.height="auto";const n=e.getBoundingClientRect().height;e.style.height=t,X(n),p(e=>e.find(e=>e.toastId===d.id)?e.map(e=>e.toastId===d.id?{...e,height:n}:e):[{toastId:d.id,height:n,position:d.position},...e])},[B,d.title,d.description,p,d.id,d.jsx,d.action,d.cancel]);const we=Xt.useCallback(()=>{V(!0),Z(he.current),p(e=>e.filter(e=>e.toastId!==d.id)),setTimeout(()=>{C(d)},200)},[d,C,p,he]);Xt.useEffect(()=>{if(d.promise&&"loading"===ie||d.duration===1/0||"loading"===d.type)return;let e;return b||f||ye?(()=>{if(fe.current<de.current){const e=(new Date).getTime()-de.current;J.current=J.current-e}fe.current=(new Date).getTime()})():J.current!==1/0&&(de.current=(new Date).getTime(),e=setTimeout(()=>{null==d.onAutoClose||d.onAutoClose.call(d,d),we()},J.current)),()=>clearTimeout(e)},[b,f,d,ie,ye,we]),Xt.useEffect(()=>{d.delete&&(we(),null==d.onDismiss||d.onDismiss.call(d,d))},[we,d.delete]);const Ee=d.icon||(null==D?void 0:D[ie])||(e=>{switch(e){case"success":return Pa;case"info":return Oa;case"warning":return Ra;case"error":return Da;default:return null}})(ie);var ke,Se,xe,Te;return Xt.createElement("li",{tabIndex:0,ref:te,className:Va(T,ae,null==O?void 0:O.toast,null==d||null==(t=d.classNames)?void 0:t.toast,null==O?void 0:O.default,null==O?void 0:O[ie],null==d||null==(n=d.classNames)?void 0:n[ie]),"data-sonner-toast":"","data-rich-colors":null!=(ke=d.richColors)?ke:w,"data-styled":!Boolean(d.jsx||d.unstyled||h),"data-mounted":B,"data-promise":Boolean(d.promise),"data-swiped":q,"data-removed":z,"data-visible":re,"data-y-position":me,"data-x-position":ge,"data-index":v,"data-front":ne,"data-swiping":H,"data-dismissible":oe,"data-type":ie,"data-invert":be,"data-swipe-out":W,"data-swipe-direction":$,"data-expanded":Boolean(b||R&&B),"data-testid":d.testId,style:{"--index":v,"--toasts-before":v,"--z-index":y.length-v,"--offset":`${z?Y:he.current}px`,"--initial-height":R?"auto":`${Q}px`,...k,...d.style},onDragEnd:()=>{U(!1),F(null),pe.current=null},onPointerDown:e=>{2!==e.button&&!Ce&&oe&&(ee.current=new Date,Z(he.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(U(!0),pe.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n;if(W||!oe)return;pe.current=null;const r=Number((null==(e=te.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),i=Number((null==(t=te.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),o=(new Date).getTime()-(null==(n=ee.current)?void 0:n.getTime()),a="x"===_?r:i,s=Math.abs(a)/o;if(Math.abs(a)>=45||s>.11)return Z(he.current),null==d.onDismiss||d.onDismiss.call(d,d),N("x"===_?r>0?"right":"left":i>0?"down":"up"),we(),void G(!0);var l,c;null==(l=te.current)||l.style.setProperty("--swipe-amount-x","0px"),null==(c=te.current)||c.style.setProperty("--swipe-amount-y","0px"),K(!1),U(!1),F(null)},onPointerMove:t=>{var n,r,i;if(!pe.current||!oe)return;if((null==(n=window.getSelection())?void 0:n.toString().length)>0)return;const o=t.clientY-pe.current.y,a=t.clientX-pe.current.x;var s;const l=null!=(s=e.swipeDirections)?s:function(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}(L);!_&&(Math.abs(a)>1||Math.abs(o)>1)&&F(Math.abs(a)>Math.abs(o)?"x":"y");let c={x:0,y:0};const u=e=>1/(1.5+Math.abs(e)/20);if("y"===_){if(l.includes("top")||l.includes("bottom"))if(l.includes("top")&&o<0||l.includes("bottom")&&o>0)c.y=o;else{const e=o*u(o);c.y=Math.abs(e)<Math.abs(o)?e:o}}else if("x"===_&&(l.includes("left")||l.includes("right")))if(l.includes("left")&&a<0||l.includes("right")&&a>0)c.x=a;else{const e=a*u(a);c.x=Math.abs(e)<Math.abs(a)?e:a}(Math.abs(c.x)>0||Math.abs(c.y)>0)&&K(!0),null==(r=te.current)||r.style.setProperty("--swipe-amount-x",`${c.x}
1px`),null==(i=te.current)||i.style.setProperty("--swipe-amount-y",`${c.y}px`)}},ce&&!d.jsx&&"loading"!==ie?Xt.createElement("button",{"aria-label":I,"data-disabled":Ce,"data-close-button":!0,onClick:Ce||!oe?()=>{}:()=>{we(),null==d.onDismiss||d.onDismiss.call(d,d)},className:Va(null==O?void 0:O.closeButton,null==d||null==(r=d.classNames)?void 0:r.closeButton)},null!=(Se=null==D?void 0:D.close)?Se:Ia):null,(ie||d.icon||d.promise)&&null!==d.icon&&(null!==(null==D?void 0:D[ie])||d.icon)?Xt.createElement("div",{"data-icon":"",className:Va(null==O?void 0:O.icon,null==d||null==(i=d.classNames)?void 0:i.icon)},d.promise||"loading"===d.type&&!d.icon?d.icon||((null==D?void 0:D.loading)?Xt.createElement("div",{className:Va(null==O?void 0:O.loader,null==d||null==(Te=d.classNames)?void 0:Te.loader,"sonner-loader"),"data-visible":"loading"===ie},D.loading):Xt.createElement(La,{className:Va(null==O?void 0:O.loader,null==d||null==(xe=d.classNames)?void 0:xe.loader),visible:"loading"===ie})):null,"loading"!==d.type?Ee:null):null,Xt.createElement("div",{"data-content":"",className:Va(null==O?void 0:O.content,null==d||null==(o=d.classNames)?void 0:o.content)},Xt.createElement("div",{"data-title":"",className:Va(null==O?void 0:O.title,null==d||null==(a=d.classNames)?void 0:a.title)},d.jsx?d.jsx:"function"==typeof d.title?d.title():d.title),d.description?Xt.createElement("div",{"data-description":"",className:Va(M,se,null==O?void 0:O.description,null==d||null==(s=d.classNames)?void 0:s.description)},"function"==typeof d.description?d.description():d.description):null),Xt.isValidElement(d.cancel)?d.cancel:d.cancel&&Ba(d.cancel)?Xt.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||S,onClick:e=>{Ba(d.cancel)&&oe&&(null==d.cancel.onClick||d.cancel.onClick.call(d.cancel,e),we())},className:Va(null==O?void 0:O.cancelButton,null==d||null==(l=d.classNames)?void 0:l.cancelButton)},d.cancel.label):null,Xt.isValidElement(d.action)?d.action:d.action&&Ba(d.action)?Xt.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||x,onClick:e=>{Ba(d.action)&&(null==d.action.onClick||d.action.onClick.call(d.action,e),e.defaultPrevented||we())},className:Va(null==O?void 0:O.actionButton,null==d||null==(c=d.classNames)?void 0:c.actionButton)},d.action.label):null)};function Ua(){if("undefined"==typeof window)return"ltr";if("undefined"==typeof document)return"ltr";const e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}function Wa(e,t){const n={};return[e,t].forEach((e,t)=>{const r=1===t,i=r?"--mobile-offset":"--offset",o=r?"16px":"24px";function a(e){["top","right","bottom","left"].forEach(t=>{n[`${i}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?a(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?n[`${i}-${t}`]=o:n[`${i}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):a(o)}),n}const Ga=Xt.forwardRef(function(e,t){const{id:n,invert:r,position:i="bottom-right",hotkey:o=["altKey","KeyT"],expand:a,closeButton:s,className:l,offset:c,mobileOffset:u,theme:d="light",richColors:h,duration:f,style:p,visibleToasts:m=ja,toastOptions:g,dir:v=Ua(),gap:y=za,icons:b,containerAriaLabel:C="Notifications"}=e,[w,E]=Xt.useState([]),k=Xt.useMemo(()=>n?w.filter(e=>e.toasterId===n):w.filter(e=>!e.toasterId),[w,n]),S=Xt.useMemo(()=>Array.from(new Set([i].concat(k.filter(e=>e.position).map(e=>e.position)))),[k,i]),[x,T]=Xt.useState([]),[M,A]=Xt.useState(!1),[L,P]=Xt.useState(!1),[R,O]=Xt.useState("system"!==d?d:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),D=Xt.useRef(null),I=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=Xt.useRef(null),F=Xt.useRef(!1),$=Xt.useCallback(e=>{E(t=>{var n;return(null==(n=t.find(t=>t.id===e.id))?void 0:n.delete)||Fa.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return Xt.useEffect(()=>Fa.subscribe(e=>{e.dismiss?requestAnimationFrame(()=>{E(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))}):setTimeout(()=>{go.flushSync(()=>{E(t=>{const n=t.findIndex(t=>t.id===e.id);return-1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[w]),Xt.useEffect(()=>{if("system"!==d)return void O(d);if("system"===d&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?O("dark"):O("light")),"undefined"==typeof window)return;const e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{O(e?"dark":"light")})}catch(t){e.addListener(({matches:e})=>{try{O(e?"dark":"light")}catch(t){}})}},[d]),Xt.useEffect(()=>{w.length<=1&&A(!1)},[w]),Xt.useEffect(()=>{const e=e=>{var t,n;o.every(t=>e[t]||e.code===t)&&(A(!0),null==(n=D.current)||n.focus()),"Escape"!==e.code||document.activeElement!==D.current&&!(null==(t=D.current)?void 0:t.contains(document.activeElement))||A(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),Xt.useEffect(()=>{if(D.current)return()=>{_.current&&(_.current.focus({preventScroll:!0}),_.current=null,F.current=!1)}},[D.current]),Xt.createElement("section",{ref:t,"aria-label":`${C} ${I}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},S.map((t,n)=>{var i;const[o,d]=t.split("-");return k.length?Xt.createElement("ol",{key:t,dir:"auto"===v?Ua():v,tabIndex:-1,ref:D,className:l,"data-sonner-toaster":!0,"data-sonner-theme":R,"data-y-position":o,"data-x-position":d,style:{"--front-toast-height":`${(null==(i=x[0])?void 0:i.height)||0}px`,"--width":"356px","--gap":`${y}px`,...p,...Wa(c,u)},onBlur:e=>{F.current&&!e.currentTarget.contains(e.relatedTarget)&&(F.current=!1,_.current&&(_.current.focus({preventScroll:!0}),_.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||F.current||(F.current=!0,_.current=e.relatedTarget)},onMouseEnter:()=>A(!0),onMouseMove:()=>A(!0),onMouseLeave:()=>{L||A(!1)},onDragEnd:()=>A(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||P(!0)},onPointerUp:()=>P(!1)},k.filter(e=>!e.position&&0===n||e.position===t).map((n,i)=>{var o,l;return Xt.createElement(Ha,{key:n.id,icons:b,index:i,toast:n,defaultRichColors:h,duration:null!=(o=null==g?void 0:g.duration)?o:f,className:null==g?void 0:g.className,descriptionClassName:null==g?void 0:g.descriptionClassName,invert:r,visibleToasts:m,closeButton:null!=(l=null==g?void 0:g.closeButton)?l:s,interacting:L,position:t,style:null==g?void 0:g.style,unstyled:null==g?void 0:g.unstyled,classNames:null==g?void 0:g.classNames,cancelButtonStyle:null==g?void 0:g.cancelButtonStyle,actionButtonStyle:null==g?void 0:g.actionButtonStyle,closeButtonAriaLabel:null==g?void 0:g.closeButtonAriaLabel,removeToast:$,toasts:k.filter(e=>e.position==n.position),heights:x.filter(e=>e.position==n.position),setHeights:T,expandByDefault:a,gap:y,expanded:M,swipeDirections:e.swipeDirections})})):null}))});function qa(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function Ka(...e){return t=>{let n=!1;const r=e.map(e=>{const r=qa(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():qa(e[t],null)}}}}function Ya(...e){return Qt.useCallback(Ka(...e),e)}
1function Za(e){const t=Qt.forwardRef((t,n)=>{let{children:r,...i}=t,o=null,a=!1;const s=[];ns(r)&&"function"==typeof os&&(r=os(r._payload)),Qt.Children.forEach(r,e=>{var t,n;if(n=e,Qt.isValidElement(n)&&"function"==typeof n.type&&"__radixId"in n.type&&n.type.__radixId===Xa){a=!0;const n=e;let r="child"in n.props?n.props.child:n.props.children;ns(r)&&"function"==typeof os&&(r=os(r._payload)),o=es(n,r),s.push(null==(t=null==o?void 0:o.props)?void 0:t.children)}else s.push(e)}),o?o=Qt.cloneElement(o,void 0,s):!a&&1===Qt.Children.count(r)&&Qt.isValidElement(r)&&(o=r);const l=o?function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}(o):void 0,c=Ya(n,l);if(!o){if(r||0===r)throw new Error(a?is(e):rs(e));return r}const u=function(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{const t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,o.props??{});return o.type!==Qt.Fragment&&(u.ref=n?c:l),Qt.cloneElement(o,u)});return t.displayName=`${e}.Slot`,t}var Qa=Za("Slot"),Xa=Symbol.for("radix.slottable");function Ja(e){const t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=Xa,t}var es=(e,t)=>{if("child"in e.props){const t=e.props.child;return Qt.isValidElement(t)?Qt.cloneElement(t,void 0,e.props.children(t.props.children)):null}return Qt.isValidElement(t)?t:null},ts=Symbol.for("react.lazy");function ns(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===ts&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t;var t}var rs=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,is=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,os=Jt[" use ".trim().toString()];function as(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=as(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ss(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=as(e))&&(r&&(r+=" "),r+=t);return r}const ls=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,cs=ss,us=(e,t)=>n=>{var r;if(null==(null==t?void 0:t.variants))return cs(e,null==n?void 0:n.class,null==n?void 0:n.className);const{variants:i,defaultVariants:o}=t,a=Object.keys(i).map(e=>{const t=null==n?void 0:n[e],r=null==o?void 0:o[e];if(null===t)return null;const a=ls(t)||ls(r);return i[e][a]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{}),l=null==t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...o,...s}[t]):{...o,...s}[t]===n})?[...e,n,r]:e},[]);return cs(e,a,l,null==n?void 0:n.class,null==n?void 0:n.className)};function ds(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}const hs={},fs={};function ps(e,t){try{const n=(hs[e]||(hs[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(t).split("GMT")[1];return n in fs?fs[n]:gs(n,n.split(":"))}catch{if(e in fs)return fs[e];const t=null==e?void 0:e.match(ms);return t?gs(e,t.slice(1)):NaN}}const ms=/([+-]\d\d):?(\d\d)?/;function gs(e,t){const n=+(t[0]||0),r=+(t[1]||0),i=+(t[2]||0)/60;return fs[e]=60*n+r>0?60*n+r+i:60*n-r-i}class vs extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(ps(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),Cs(this,e)):this.setTime(Date.now())}static tz(e,...t){return t.length?new vs(...t,e):new vs(Date.now(),e)}withTimeZone(e){return new vs(+this,e)}getTimezoneOffset(){const e=-ps(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),bs(this),+this}[Symbol.for("constructDateFrom")](e){return new vs(+new Date(e),this.timeZone)}}const ys=/^(get|set)(?!UTC)/;function bs(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(60*-ps(e.timeZone,e)))}function Cs(e,t){const n=Array.isArray(t)?(r=t,Date.UTC(r[0],r.length>1?r[1]:0,r.length>2?r[2]:1,...r.slice(3))):+e.internal;var r;const i=ps(e.timeZone,e),o=i>0?Math.floor(i):Math.ceil(i),a=new Date(+e);a.setUTCHours(a.getUTCHours()-1);const s=-new Date(+e).getTimezoneOffset(),l=-new Date(+a).getTimezoneOffset();let c=s;if(s-l&&s!==o&&Date.prototype.getHours.apply(e)!==(Array.isArray(t)?t[3]||0:e.internal.getUTCHours())){const t=new Date(+e),n=s-o;n&&t.setUTCMinutes(t.getUTCMinutes()+n);const r=ps(e.timeZone,t);(r>0?Math.floor(r):Math.ceil(r))===o&&(c=l)}const u=c-o;u&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+u);const d=new Date(+e);d.setUTCSeconds(0);const h=s>0?d.getSeconds():(d.getSeconds()-60)%60,f=Math.round(-60*ps(e.timeZone,e))%60;(f||h)&&Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+f+h);const p=ps(e.timeZone,e),m=p>0?Math.floor(p):Math.ceil(p),g=m!==o,v=-new Date(+e).getTimezoneOffset()-m-u,y=m-o,b=n-60*m*1e3,C=y>0&&ws(e)-n===60*y*1e3&&ws(e,b)!==n;if(g&&v&&!C){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+v);const t=ps(e.timeZone,e),n=m-(t>0?Math.floor(t):Math.ceil(t));n&&v<0&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+n)}bs(e);const w=(t?n:n+1e3*f)-+e.internal;w&&Math.abs(w)<18e5&&(Date.prototype.setTime.call(e,+e+w),bs(e))}function ws(e,t){const n=new Date(t??+e);return n.setUTCSeconds(n.getUTCSeconds()-Math.round(60*-ps(e.timeZone,n))),+n}
1Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!ys.test(e))return;const t=e.replace(ys,"$1UTC");vs.prototype[t]&&(e.startsWith("get")?vs.prototype[e]=function(){return this.internal[t]()}:(vs.prototype[e]=function(){var e;return Date.prototype[t].apply(this.internal,arguments),e=this,Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),Cs(e),+this},vs.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),bs(this),+this}))});class Es extends vs{static tz(e,...t){return t.length?new Es(...t,e):new Es(Date.now(),e)}toISOString(){const[e,t,n]=this.tzComponents(),r=`${e}${t}:${n}`;return this.internal.toISOString().slice(0,-1)+r}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[e,t,n,r]=this.internal.toUTCString().split(" ");return`${null==e?void 0:e.slice(0,-1)} ${n} ${t} ${r}`}toTimeString(){const e=this.internal.toUTCString().split(" ")[4],[t,n,r]=this.tzComponents();return`${e} GMT${t}${n}${r} (${ds(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}tzComponents(){const e=this.getTimezoneOffset();return[e>0?"-":"+",String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),String(Math.abs(e)%60).padStart(2,"0")]}withTimeZone(e){return new Es(+this,e)}[Symbol.for("constructDateFrom")](e){return new Es(+new Date(e),this.timeZone)}}const ks=e=>t=>Es.tz(e,+new Date(t));class Ss extends Date{constructor(){super(),this.setTime(0===arguments.length?Date.now():1===arguments.length?"string"==typeof arguments[0]?+new Date(arguments[0]):arguments[0]:Date.UTC(...arguments))}getTimezoneOffset(){return 0}}const xs=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(xs.test(e)){const t=Date.prototype[e.replace(xs,"$1UTC")];t&&(Ss.prototype[e]=t)}});class Ts extends Ss{toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){return`${Ms.format(this)} ${As.format(this)} ${this.getFullYear()}`}
1toTimeString(){return`${Ls.format(this)} GMT+0000 (Coordinated Universal Time)`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{timeZone:"UTC",...t})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{timeZone:"UTC",...t})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{timeZone:"UTC",...t})}}var Ms=new Intl.DateTimeFormat("en-US",{weekday:"short",timeZone:"UTC"}),As=new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",timeZone:"UTC"}),Ls=new Intl.DateTimeFormat("en-GB",{hour12:!1,hour:"numeric",minute:"numeric",second:"numeric",timeZone:"UTC"});const Ps=e=>new Ts(+new Date(e)),Rs=6048e5,Os=6e4,Ds=36e5,Is=525600,_s=Symbol.for("constructDateFrom");function Fs(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&_s in e?e[_s](t):e instanceof Date?new e.constructor(t):new Date(t)}function $s(e,t){return Fs(t||e,e)}function Ns(e,t,n){const r=$s(e,null==n?void 0:n.in);return isNaN(t)?Fs((null==n?void 0:n.in)||e,NaN):t?(r.setDate(r.getDate()+t),r):r}function Bs(e,t,n){const r=$s(e,null==n?void 0:n.in);if(isNaN(t))return Fs(e,NaN);if(!t)return r;const i=r.getDate(),o=Fs(e,r.getTime());return o.setMonth(r.getMonth()+t+1,0),i>=o.getDate()?o:(r.setFullYear(o.getFullYear(),o.getMonth(),i),r)}function js(e,t,n){const{years:r=0,months:i=0,weeks:o=0,days:a=0,hours:s=0,minutes:l=0,seconds:c=0}=t,u=$s(e,null==n?void 0:n.in),d=i||r?Bs(u,i+12*r):u;return Fs(e,+(a||o?Ns(d,a+7*o):d)+1e3*(c+60*(l+60*s)))}function zs(e,t,n){return Fs(e,+$s(e)+t)}function Vs(e,t,n){return zs(e,t*Ds)}let Hs={};function Us(){return Hs}function Ws(e,t){var n,r,i,o;const a=Us(),s=(null==t?void 0:t.weekStartsOn)??(null==(r=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:r.weekStartsOn)??a.weekStartsOn??(null==(o=null==(i=a.locale)?void 0:i.options)?void 0:o.weekStartsOn)??0,l=$s(e,null==t?void 0:t.in),c=l.getDay(),u=(c<s?7:0)+c-s;return l.setDate(l.getDate()-u),l.setHours(0,0,0,0),l}function Gs(e,t){return Ws(e,{...t,weekStartsOn:1})}function qs(e,t){const n=$s(e,null==t?void 0:t.in),r=n.getFullYear(),i=Fs(n,0);i.setFullYear(r+1,0,4),i.setHours(0,0,0,0);const o=Gs(i),a=Fs(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=Gs(a);return n.getTime()>=o.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Ks(e){const t=$s(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Ys(e,...t){const n=Fs.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}function Zs(e,t){const n=$s(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}function Qs(e,t,n){const[r,i]=Ys(null==n?void 0:n.in,e,t),o=Zs(r),a=Zs(i),s=+o-Ks(o),l=+a-Ks(a);return Math.round((s-l)/864e5)}function Xs(e,t,n){const r=$s(e,null==n?void 0:n.in);return r.setTime(r.getTime()+t*Os),r}function Js(e,t,n){return zs(e,1e3*t)}function el(e,t){let n,r=null==t?void 0:t.in;return e.forEach(e=>{r||"object"!=typeof e||(r=Fs.bind(null,e));const t=$s(e,r);(!n||n<t||isNaN(+t))&&(n=t)}),Fs(r,n||NaN)}function tl(e,t){let n,r=null==t?void 0:t.in;return e.forEach(e=>{r||"object"!=typeof e||(r=Fs.bind(null,e));const t=$s(e,r);(!n||n>t||isNaN(+t))&&(n=t)}),Fs(r,n||NaN)}function nl(e,t,n){const[r,i,o]=Ys(null==n?void 0:n.in,e,t.start,t.end);return tl([el([r,i],n),o],n)}function rl(e,t){const n=+$s(e)-+$s(t);return n<0?-1:n>0?1:n}function il(e){return Fs(e,Date.now())}function ol(e,t,n){const[r,i]=Ys(null==n?void 0:n.in,e,t);return+Zs(r)===+Zs(i)}function al(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function sl(e){return!(!al(e)&&"number"!=typeof e||isNaN(+$s(e)))}function ll(e,t,n){const[r,i]=Ys(null==n?void 0:n.in,e,t);return 12*(r.getFullYear()-i.getFullYear())+(r.getMonth()-i.getMonth())}function cl(e,t,n){const[r,i]=Ys(null==n?void 0:n.in,e,t),o=ul(r,i),a=Math.abs(Qs(r,i));r.setDate(r.getDate()-o*a);const s=o*(a-Number(ul(r,i)===-o));return 0===s?0:s}function ul(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function dl(e){return t=>{const n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}function hl(e,t,n){const[r,i]=Ys(null==n?void 0:n.in,e,t),o=(+r-+i)/Ds;return dl(null==n?void 0:n.roundingMethod)(o)}function fl(e,t){return+$s(e)-+$s(t)}function pl(e,t){const n=$s(e,null==t?void 0:t.in);return n.setHours(23,59,59,999),n}function ml(e,t){const n=$s(e,null==t?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function gl(e,t,n){const r=fl(e,t)/1e3;return dl(null==n?void 0:n.roundingMethod)(r)}function vl(e,t){const[n,r]=Ys(e,t.start,t.end);return{start:n,end:r}}function yl(e,t){const n=$s(e,null==t?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}function bl(e,t){const n=$s(e,null==t?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Cl(e,t){const n=$s(e,null==t?void 0:t.in);return n.setMinutes(59,59,999),n}function wl(e,t){var n,r,i,o;const a=Us(),s=(null==t?void 0:t.weekStartsOn)??(null==(r=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:r.weekStartsOn)??a.weekStartsOn??(null==(o=null==(i=a.locale)?void 0:i.options)?void 0:o.weekStartsOn)??0,l=$s(e,null==t?void 0:t.in),c=l.getDay(),u=6+(c<s?-7:0)-(c-s);return l.setDate(l.getDate()+u),l.setHours(23,59,59,999),l}function El(e,t){const n=$s(e,null==t?void 0:t.in);return n.setSeconds(59,999),n}const kl={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Sl(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const xl={date:Sl({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Sl({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Sl({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Tl={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Ml(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{const t=e.defaultWidth,i=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}const Al={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Ml({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Ml({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ml({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Ml({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:Ml({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function Ll(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;const a=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(s,e=>e.test(a)):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(a));let c;return c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c,{value:c,rest:t.slice(a.length)}}}const Pl={ordinalNumber:(Rl={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const n=e.match(Rl.matchPattern);if(!n)return null;const r=n[0],i=e.match(Rl.parsePattern);if(!i)return null;let o=Rl.valueCallback?Rl.valueCallback(i[0]):i[0];return o=t.valueCallback?t.valueCallback(o):o,{value:o,rest:e.slice(r.length)}}),era:Ll({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Ll({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ll({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Ll({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Ll({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};var Rl;const Ol={code:"en-US",formatDistance:(e,t,n)=>{let r;const i=kl[e];return r="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),(null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:xl,formatRelative:(e,t,n,r)=>Tl[e],localize:Al,match:Pl,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Dl(e,t){const n=$s(e,null==t?void 0:t.in),r=+Gs(n)-+function(e){const t=qs(e,void 0),n=Fs(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),Gs(n)}(n);return Math.round(r/Rs)+1}function Il(e,t){var n,r,i,o;const a=$s(e,null==t?void 0:t.in),s=a.getFullYear(),l=Us(),c=(null==t?void 0:t.firstWeekContainsDate)??(null==(r=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:r.firstWeekContainsDate)??l.firstWeekContainsDate??(null==(o=null==(i=l.locale)?void 0:i.options)?void 0:o.firstWeekContainsDate)??1,u=Fs((null==t?void 0:t.in)||e,0);u.setFullYear(s+1,0,c),u.setHours(0,0,0,0);const d=Ws(u,t),h=Fs((null==t?void 0:t.in)||e,0);h.setFullYear(s,0,c),h.setHours(0,0,0,0);const f=Ws(h,t);return+a>=+d?s+1:+a>=+f?s:s-1}function _l(e,t){const n=$s(e,null==t?void 0:t.in),r=+Ws(n,t)-+function(e,t){var n,r,i,o;const a=Us(),s=(null==t?void 0:t.firstWeekContainsDate)??(null==(r=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:r.firstWeekContainsDate)??a.firstWeekContainsDate??(null==(o=null==(i=a.locale)?void 0:i.options)?void 0:o.firstWeekContainsDate)??1,l=Il(e,t),c=Fs((null==t?void 0:t.in)||e,0);return c.setFullYear(l,0,s),c.setHours(0,0,0,0),Ws(c,t)}(n,t);return Math.round(r/Rs)+1}function Fl(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const $l={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Fl("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):Fl(n+1,2)},d:(e,t)=>Fl(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];
vendor: 4,839 bytes, line 1
1default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>Fl(e.getHours()%12||12,t.length),H:(e,t)=>Fl(e.getHours(),t.length),m:(e,t)=>Fl(e.getMinutes(),t.length),s:(e,t)=>Fl(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return Fl(Math.trunc(r*Math.pow(10,n-3)),t.length)}},Nl={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return $l.y(e,t)},Y:function(e,t,n,r){const i=Il(e,r),o=i>0?i:1-i;return"YY"===t?Fl(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):Fl(o,t.length)},R:function(e,t){return Fl(qs(e),t.length)},u:function(e,t){return Fl(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Fl(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Fl(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return $l.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Fl(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=_l(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):Fl(i,t.length)},I:function(e,t,n){const r=Dl(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):Fl(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):$l.d(e,t)},D:function(e,t,n){const r=function(e){const t=$s(e,void 0);return Qs(t,bl(t))+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):Fl(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return Fl(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return Fl(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return Fl(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(i=12===r?"noon":0===r?"midnight":r/12>
vendor: 4,480 bytes, line 1
1=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(i=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return $l.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):$l.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):Fl(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):Fl(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):$l.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):$l.s(e,t)},S:function(e,t){return $l.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return jl(r);case"XXXX":case"XX":return zl(r);default:return zl(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return jl(r);case"xxxx":case"xx":return zl(r);default:return zl(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Bl(r,":");default:return"GMT"+zl(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Bl(r,":");default:return"GMT"+zl(r,":")}},t:function(e,t,n){return Fl(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return Fl(+e,t.length)}};function Bl(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+Fl(o,2)}function jl(e,t){return e%60==0?(e>0?"-":"+")+Fl(Math.abs(e)/60,2):zl(e,t)}function zl(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+Fl(Math.trunc(r/60),2)+t+Fl(r%60,2)}const Vl=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Hl=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Ul={p:Hl,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return Vl(e,t);let o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",Vl(r,t)).replace("{{time}}",Hl(i,t))}},Wl=/^D+$/,Gl=/^Y+$/,ql=["D","DD","YY","YYYY"];function Kl(e){return Wl.test(e)}function Yl(e){return Gl.test(e)}function Zl(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(ql.includes(e))throw new RangeError(r)}const Ql=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Xl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Jl=/^'([^]*?)'?$/,ec=/''/g,tc=/[a-zA-Z]/;function nc(e,t,n){var r,i,o,a,s,l,c,u;const d=Us(),h=(null==n?void 0:n.locale)??d.locale??Ol,f=(null==n?void 0:n.firstWeekContainsDate)??(null==(i=null==(r=null==n?void 0:n.locale)?void 0:r.options)?void 0:i.firstWeekContainsDate)??d.firstWeekContainsDate??(null==(a=null==(o=d.locale)?void 0:o.options)?void 0:a.firstWeekContainsDate)??1,p=(null==n?void 0:n.weekStartsOn)??(null==(l=null==(s=null==n?void 0:n.locale)?void 0:s.options)?void 0:l.weekStartsOn)??d.weekStartsOn??(null==(u=null==(c=d.locale)?void 0:c.options)?void 0:u.weekStartsOn)??0,m=$s(e,null==n?void 0:n.in);if(!sl(m))throw new RangeError("Invalid time value");let g=t.match(Xl).map(e=>{const t=e[0];return"p"===t||"P"===t?(0,Ul[t])(e,h.formatLong):e}).join("").match(Ql).map(e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:rc(e)};if(Nl[t])return{isToken:!0,value:e};
1if(t.match(tc))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});h.localize.preprocessor&&(g=h.localize.preprocessor(m,g));const v={firstWeekContainsDate:f,weekStartsOn:p,locale:h};return g.map(r=>{if(!r.isToken)return r.value;const i=r.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&Yl(i)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&Kl(i))&&Zl(i,t,String(e)),(0,Nl[i[0]])(m,i,h.localize,v)}).join("")}function rc(e){const t=e.match(Jl);return t?t[1].replace(ec,"'"):e}function ic(e,t){return function(e,t,n){const r=Us(),i=(null==n?void 0:n.locale)??r.locale??Ol,o=rl(e,t);if(isNaN(o))throw new RangeError("Invalid time value");const a=Object.assign({},n,{addSuffix:null==n?void 0:n.addSuffix,comparison:o}),[s,l]=Ys(null==n?void 0:n.in,...o>0?[t,e]:[e,t]),c=dl((null==n?void 0:n.roundingMethod)??"round"),u=l.getTime()-s.getTime(),d=u/Os,h=(u-(Ks(l)-Ks(s)))/Os,f=null==n?void 0:n.unit;let p;if(p=f||(d<1?"second":d<60?"minute":d<1440?"hour":h<43200?"day":h<Is?"month":"year"),"second"===p){const e=c(u/1e3);return i.formatDistance("xSeconds",e,a)}if("minute"===p){const e=c(d);return i.formatDistance("xMinutes",e,a)}if("hour"===p){const e=c(d/60);return i.formatDistance("xHours",e,a)}if("day"===p){const e=c(h/1440);return i.formatDistance("xDays",e,a)}if("month"===p){const e=c(h/43200);return 12===e&&"month"!==f?i.formatDistance("xYears",1,a):i.formatDistance("xMonths",e,a)}{const e=c(h/Is);return i.formatDistance("xYears",e,a)}}(e,il(e),t)}const oc=["years","months","weeks","days","hours","minutes","seconds"];function ac(e,t){const n=Us().locale??Ol,r=oc;return n.formatDistance?r.reduce((t,r)=>{const i=`x${r.replace(/(^.)/,e=>e.toUpperCase())}`,o=e[r];return void 0!==o&&e[r]?t.concat(n.formatDistance(i,o)):t},[]).join(" "):""}function sc(e,t){return $s(e,null==t?void 0:t.in).getFullYear()}function lc(e,t){const{start:n,end:r}=vl(null==t?void 0:t.in,e),i={},o=function(e,t,n){const[r,i]=Ys(null==n?void 0:n.in,e,t),o=rl(r,i),a=Math.abs(function(e,t){const[n,r]=Ys(void 0,e,t);return n.getFullYear()-r.getFullYear()}(r,i));r.setFullYear(1584),i.setFullYear(1584);const s=o*(a-+(rl(r,i)===-o));return 0===s?0:s}(r,n);o&&(i.years=o);const a=js(n,{years:i.years}),s=function(e,t,n){const[r,i,o]=Ys(null==n?void 0:n.in,e,e,t),a=rl(i,o),s=Math.abs(ll(i,o));if(s<1)return 0;1===i.getMonth()&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-a*s);let l=rl(i,o)===-a;(function(e,t){const n=$s(e,void 0);return+pl(n,t)===+ml(n,t)})(r)&&1===s&&1===rl(r,o)&&(l=!1);const c=a*(s-+l);return 0===c?0:c}(r,a);s&&(i.months=s);const l=js(a,{months:i.months}),c=cl(r,l);c&&(i.days=c);const u=js(l,{days:i.days}),d=hl(r,u);d&&(i.hours=d);const h=js(u,{hours:i.hours}),f=function(e,t){const n=fl(e,t)/Os;return dl(void 0)(n)}(r,h);f&&(i.minutes=f);const p=gl(r,js(h,{minutes:i.minutes}));return p&&(i.seconds=p),i}function cc(e,t){return+$s(e)>+$s(t)}function uc(e,t){return+$s(e)<+$s(t)}function dc(e){return+$s(e)>Date.now()}class hc{constructor(){Le(this,"subPriority",0)}validate(e,t){return!0}}class fc extends hc{constructor(e,t,n,r,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}}class pc extends hc{constructor(e,t){super(),Le(this,"priority",10),Le(this,"subPriority",-1),this.context=e||(e=>Fs(t,e))}set(e,t){return t.timestampIsSet?e:Fs(e,function(e,t){const n=function(e){var t;return"function"==typeof e&&(null==(t=e.prototype)?void 0:t.constructor)===e}(t)?new t(0):Fs(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}(e,this.context))}}class mc{run(e,t,n,r){const i=this.parse(e,t,n,r);return i?{setter:new fc(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}}const gc=/^(1[0-2]|0?\d)/,vc=/^(3[0-1]|[0-2]?\d)/,yc=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,bc=/^(5[0-3]|[0-4]?\d)/,Cc=/^(2[0-3]|[0-1]?\d)/,wc=/^(2[0-4]|[0-1]?\d)/,Ec=/^(1[0-1]|0?\d)/,kc=/^(1[0-2]|0?\d)/,Sc=/^[0-5]?\d/,xc=/^[0-5]?\d/,Tc=/^\d/,Mc=/^\d{1,2}/,Ac=/^\d{1,3}/,Lc=/^\d{1,4}/,Pc=/^-?\d+/,Rc=/^-?\d/,Oc=/^-?\d{1,2}/,Dc=/^-?\d{1,3}/,Ic=/^-?\d{1,4}
1/,_c=/^([+-])(\d{2})(\d{2})?|Z/,Fc=/^([+-])(\d{2})(\d{2})|Z/,$c=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Nc=/^([+-])(\d{2}):(\d{2})|Z/,Bc=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function jc(e,t){return e?{value:t(e.value),rest:e.rest}:e}function zc(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Vc(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};const r="+"===n[1]?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(i*Ds+o*Os+1e3*a),rest:t.slice(n[0].length)}}function Hc(e){return zc(Pc,e)}function Uc(e,t){switch(e){case 1:return zc(Tc,t);case 2:return zc(Mc,t);case 3:return zc(Ac,t);case 4:return zc(Lc,t);default:return zc(new RegExp("^\\d{1,"+e+"}"),t)}}function Wc(e,t){switch(e){case 1:return zc(Rc,t);case 2:return zc(Oc,t);case 3:return zc(Dc,t);case 4:return zc(Ic,t);default:return zc(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Gc(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function qc(e,t){const n=t>0,r=n?t:1-t;let i;if(r<=50)i=e||100;else{const t=r+50;i=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?i:1-i}function Kc(e){return e%400==0||e%4==0&&e%100!=0}const Yc=[31,28,31,30,31,30,31,31,30,31,30,31],Zc=[31,29,31,30,31,30,31,31,30,31,30,31];function Qc(e,t,n){var r,i,o,a;const s=Us(),l=(null==n?void 0:n.weekStartsOn)??(null==(i=null==(r=null==n?void 0:n.locale)?void 0:r.options)?void 0:i.weekStartsOn)??s.weekStartsOn??(null==(a=null==(o=s.locale)?void 0:o.options)?void 0:a.weekStartsOn)??0,c=$s(e,null==n?void 0:n.in),u=c.getDay(),d=7-l;return Ns(c,t<0||t>6?t-(u+d)%7:((t%7+7)%7+d)%7-(u+d)%7,n)}const Xc={G:new class extends mc{constructor(){super(...arguments),Le(this,"priority",140),Le(this,"incompatibleTokens",["R","u","t","T"])}parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}},y:new class extends mc{constructor(){super(...arguments),Le(this,"priority",130),Le(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return jc(Uc(4,e),r);case"yo":return jc(n.ordinalNumber(e,{unit:"year"}),r);default:return jc(Uc(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const r=e.getFullYear();if(n.isTwoDigitYear){const t=qc(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}},Y:new class extends mc{constructor(){super(...arguments),Le(this,"priority",130),Le(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return jc(Uc(4,e),r);case"Yo":return jc(n.ordinalNumber(e,{unit:"year"}),r);default:return jc(Uc(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,r){const i=Il(e,r);if(n.isTwoDigitYear){const t=qc(n.year,i);return e.setFullYear(t,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),Ws(e,r)}const o="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(o,0,r.firstWeekContainsDate),e.setHours(0,0,0,0),Ws(e,r)}},R:new class extends mc{constructor(){super(...arguments),Le(this,"priority",130),Le(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,t){return Wc("R"===t?4:t.length,e)}set(e,t,n){const r=Fs(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Gs(r)}},u:new class extends mc{constructor(){super(...arguments),Le(this,"priority",130),Le(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,t){return Wc("u"===t?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}},Q:new class extends mc{constructor(){super(...arguments),Le(this,"priority",120),Le(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"Q":case"QQ":return Uc(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}}
1,q:new class extends mc{constructor(){super(...arguments),Le(this,"priority",120),Le(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"q":case"qq":return Uc(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}},M:new class extends mc{constructor(){super(...arguments),Le(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),Le(this,"priority",110)}parse(e,t,n){const r=e=>e-1;switch(t){case"M":return jc(zc(gc,e),r);case"MM":return jc(Uc(2,e),r);case"Mo":return jc(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},L:new class extends mc{constructor(){super(...arguments),Le(this,"priority",110),Le(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,t,n){const r=e=>e-1;switch(t){case"L":return jc(zc(gc,e),r);case"LL":return jc(Uc(2,e),r);case"Lo":return jc(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}},w:new class extends mc{constructor(){super(...arguments),Le(this,"priority",100),Le(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,t,n){switch(t){case"w":return zc(bc,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return Uc(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,r){return Ws(function(e,t,n){const r=$s(e,null==n?void 0:n.in),i=_l(r,n)-t;return r.setDate(r.getDate()-7*i),$s(r,null==n?void 0:n.in)}(e,n,r),r)}},I:new class extends mc{constructor(){super(...arguments),Le(this,"priority",100),Le(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,t,n){switch(t){case"I":return zc(bc,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return Uc(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return Gs(function(e,t,n){const r=$s(e,void 0),i=Dl(r,n)-t;return r.setDate(r.getDate()-7*i),r}(e,n))}},d:new class extends mc{constructor(){super(...arguments),Le(this,"priority",90),Le(this,"subPriority",1),Le(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"d":return zc(vc,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return Uc(t.length,e)}}validate(e,t){const n=Kc(e.getFullYear()),r=e.getMonth();return n?t>=1&&t<=Zc[r]:t>=1&&t<=Yc[r]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}},D:new class extends mc{constructor(){super(...arguments),Le(this,"priority",90),Le(this,"subpriority",1),Le(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,t,n){switch(t){case"D":case"DD":return zc(yc,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return Uc(t.length,e)}}validate(e,t){return Kc(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}}
1,E:new class extends mc{constructor(){super(...arguments),Le(this,"priority",90),Le(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=Qc(e,n,r)).setHours(0,0,0,0),e}},e:new class extends mc{constructor(){super(...arguments),Le(this,"priority",90),Le(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,t,n,r){const i=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return jc(Uc(t.length,e),i);case"eo":return jc(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=Qc(e,n,r)).setHours(0,0,0,0),e}},c:new class extends mc{constructor(){super(...arguments),Le(this,"priority",90),Le(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,t,n,r){const i=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return jc(Uc(t.length,e),i);case"co":return jc(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,r){return(e=Qc(e,n,r)).setHours(0,0,0,0),e}},i:new class extends mc{constructor(){super(...arguments),Le(this,"priority",90),Le(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,t,n){const r=e=>0===e?7:e;switch(t){case"i":case"ii":return Uc(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return jc(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return jc(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return jc(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return jc(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=function(e,t,n){const r=$s(e,null==n?void 0:n.in),i=function(e,t){const n=$s(e,null==t?void 0:t.in).getDay();return 0===n?7:n}(r,n);return Ns(r,t-i,n)}(e,n)).setHours(0,0,0,0),e}},a:new class extends mc{constructor(){super(...arguments),Le(this,"priority",80),Le(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(Gc(n),0,0,0),e}}
1,b:new class extends mc{constructor(){super(...arguments),Le(this,"priority",80),Le(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(Gc(n),0,0,0),e}},B:new class extends mc{constructor(){super(...arguments),Le(this,"priority",80),Le(this,"incompatibleTokens",["a","b","t","T"])}parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(Gc(n),0,0,0),e}},h:new class extends mc{constructor(){super(...arguments),Le(this,"priority",70),Le(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,t,n){switch(t){case"h":return zc(kc,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return Uc(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}},H:new class extends mc{constructor(){super(...arguments),Le(this,"priority",70),Le(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,t,n){switch(t){case"H":return zc(Cc,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return Uc(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}},K:new class extends mc{constructor(){super(...arguments),Le(this,"priority",70),Le(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,t,n){switch(t){case"K":return zc(Ec,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return Uc(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}},k:new class extends mc{constructor(){super(...arguments),Le(this,"priority",70),Le(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,t,n){switch(t){case"k":return zc(wc,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return Uc(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}},m:new class extends mc{constructor(){super(...arguments),Le(this,"priority",60),Le(this,"incompatibleTokens",["t","T"])}parse(e,t,n){switch(t){case"m":return zc(Sc,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return Uc(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}},s:new class extends mc{constructor(){super(...arguments),Le(this,"priority",50),Le(this,"incompatibleTokens",["t","T"])}parse(e,t,n){switch(t){case"s":return zc(xc,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return Uc(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}},S:new class extends mc{constructor(){super(...arguments),Le(this,"priority",30),Le(this,"incompatibleTokens",["t","T"])}parse(e,t){return jc(Uc(t.length,e),e=>Math.trunc(e*Math.pow(10,3-t.length)))}set(e,t,n){return e.setMilliseconds(n),e}},X:new class extends mc{constructor(){super(...arguments),Le(this,"priority",10),Le(this,"incompatibleTokens",["t","T","x"])}parse(e,t){switch(t){case"X":return Vc(_c,e);case"XX":return Vc(Fc,e);case"XXXX":return Vc($c,e);case"XXXXX":return Vc(Bc,e);default:return Vc(Nc,e)}}set(e,t,n){return t.timestampIsSet?e:Fs(e,e.getTime()-Ks(e)-n)}},x:new class extends mc{constructor(){super(...arguments),Le(this,"priority",10),Le(this,"incompatibleTokens",["t","T","X"])}parse(e,t){switch(t){case"x":return Vc(_c,e);case"xx":return Vc(Fc,e);case"xxxx":return Vc($c,e);case"xxxxx":return Vc(Bc,e);default:return Vc(Nc,e)}}set(e,t,n){return t.timestampIsSet?e:Fs(e,e.getTime()-Ks(e)-n)}}
1,t:new class extends mc{constructor(){super(...arguments),Le(this,"priority",40),Le(this,"incompatibleTokens","*")}parse(e){return Hc(e)}set(e,t,n){return[Fs(e,1e3*n),{timestampIsSet:!0}]}},T:new class extends mc{constructor(){super(...arguments),Le(this,"priority",20),Le(this,"incompatibleTokens","*")}parse(e){return Hc(e)}set(e,t,n){return[Fs(e,n),{timestampIsSet:!0}]}}},Jc=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eu=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,tu=/^'([^]*?)'?$/,nu=/''/g,ru=/\S/,iu=/[a-zA-Z]/;function ou(e,t,n,r){var i,o,a,s;const l=()=>Fs(n,NaN),c=Object.assign({},Us()),u=c.locale??Ol,d=c.firstWeekContainsDate??(null==(o=null==(i=c.locale)?void 0:i.options)?void 0:o.firstWeekContainsDate)??1,h=c.weekStartsOn??(null==(s=null==(a=c.locale)?void 0:a.options)?void 0:s.weekStartsOn)??0;if(!t)return e?l():$s(n,null==r?void 0:r.in);const f={firstWeekContainsDate:d,weekStartsOn:h,locale:u},p=[new pc(null==r?void 0:r.in,n)],m=t.match(eu).map(e=>{const t=e[0];return t in Ul?(0,Ul[t])(e,u.formatLong):e}).join("").match(Jc),g=[];for(let C of m){Yl(C)&&Zl(C,t,e),Kl(C)&&Zl(C,t,e);const n=C[0],r=Xc[n];if(r){const{incompatibleTokens:t}=r;if(Array.isArray(t)){const e=g.find(e=>t.includes(e.token)||e.token===n);if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${C}\` at the same time`)}else if("*"===r.incompatibleTokens&&g.length>0)throw new RangeError(`The format string mustn't contain \`${C}\` and any other token at the same time`);g.push({token:n,fullToken:C});const i=r.run(e,C,u.match,f);if(!i)return l();p.push(i.setter),e=i.rest}else{if(n.match(iu))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===C?C="'":"'"===n&&(C=au(C)),0!==e.indexOf(C))return l();e=e.slice(C.length)}}if(e.length>0&&ru.test(e))return l();const v=p.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>p.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]);let y=$s(n,null==r?void 0:r.in);if(isNaN(+y))return l();const b={};for(const C of v){if(!C.validate(y,f))return l();const e=C.set(y,b,f);Array.isArray(e)?(y=e[0],Object.assign(b,e[1])):y=e}return y}function au(e){return e.match(tu)[1].replace(nu,"'")}function su(e,t){const n=$s(e,null==t?void 0:t.in);return n.setMinutes(0,0,0),n}function lu(e,t){const n=$s(e,null==t?void 0:t.in);return n.setSeconds(0,0),n}function cu(e,t){return ol(Fs((null==t?void 0:t.in)||e,e),il((null==t?void 0:t.in)||e))}function uu(e,t,n){const r=+$s(e,null==n?void 0:n.in),[i,o]=[+$s(t.start,null==n?void 0:n.in),+$s(t.end,null==n?void 0:n.in)].sort((e,t)=>e-t);return r>=i&&r<=o}function du(e,t,n){return Ns(e,-t,n)}function hu(e,t){const n=()=>Fs(null==t?void 0:t.in,NaN),r=function(e){const t={},n=e.split(fu.dateTimeDelimiter);let r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],fu.timeZoneDelimiter.test(t.date)&&(t.date=e.split(fu.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){const e=fu.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let i;if(r.date){const e=function(e){const t=new RegExp("^(?:(\\d{4}|[+-]\\d{6})|(\\d{2}|[+-]\\d{4})$)"),n=e.match(t);if(!n)return{year:NaN,restDateString:""};const r=n[1]?parseInt(n[1]):null,i=n[2]?parseInt(n[2]):null;return{year:null===i?r:100*i,restDateString:e.slice((n[1]||n[2]).length)}}(r.date);i=function(e,t){if(null===t)return new Date(NaN);const n=e.match(pu);if(!n)return new Date(NaN);const r=!!n[4],i=vu(n[1]),o=vu(n[2])-1,a=vu(n[3]),s=vu(n[4]),l=vu(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const i=7*(t-1)+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}(t,s,l):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(bu[t]||(Cu(e)?29:28))}(t,o,a)&&function(e,t){return t>=1&&t<=(Cu(e)?366:365)}(t,i)?(e.setUTCFullYear(t,o,Math.max(i,a)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!i||isNaN(+i))return n();const o=+i;let a,s=0;if(r.time&&(s=function(e){const t=e.match(mu);if(!t)return NaN;const n=yu(t[1]),r=yu(t[2]),i=yu(t[3]);return function(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,i)?n*Ds+r*Os+1e3*i:NaN}(r.time),isNaN(s)))return n();if(!r.timezone){const e=new Date(o+s),n=$s(0,null==t?void 0:t.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return a=function(e){if("Z"===e)return 0;const t=e.match(gu);if(!t)return 0;const n="+"===t[1]?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return function(e,t){return t>=0&&t<=59}(0,i)?n*(r*Ds+i*Os):NaN}(r.timezone),isNaN(a)?n():$s(o+s+a,null==t?void 0:t.in)}
1const fu={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},pu=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,mu=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,gu=/^([+-])(\d{2})(?::?(\d{2}))?$/;function vu(e){return e?parseInt(e):1}function yu(e){return e&&parseFloat(e.replace(",","."))||0}const bu=[31,null,31,30,31,30,31,31,30,31,30,31];function Cu(e){return e%400==0||e%4==0&&e%100!=0}function wu(e,t,n){const r=$s(e,null==n?void 0:n.in);return r.setHours(t),r}function Eu(e,t,n){const r=$s(e,null==n?void 0:n.in);return r.setMilliseconds(t),r}function ku(e,t,n){const r=$s(e,null==n?void 0:n.in);return r.setMinutes(t),r}function Su(e,t,n){const r=$s(e,null==n?void 0:n.in);return r.setSeconds(t),r}function xu(e,t,n){return Vs(e,-t)}const Tu=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Mu="-",Au=[],Lu=e=>{const t=Ou(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return Ru(e);const n=e.split(Mu),r=""===n[0]&&n.length>1?1:0;return Pu(n,r,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=r[e],i=n[e];return t?i?((e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n})(i,t):t:i||Au}return n[e]||Au}}}
vendor: 13,528 bytes, line 1
1,Pu=(e,t,n)=>{if(0===e.length-t)return n.classGroupId;const r=e[t],i=n.nextPart.get(r);if(i){const n=Pu(e,t+1,i);if(n)return n}const o=n.validators;if(null===o)return;const a=0===t?e.join(Mu):e.slice(t).join(Mu),s=o.length;for(let l=0;l<s;l++){const e=o[l];if(e.validator(a))return e.classGroupId}},Ru=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?"arbitrary.."+r:void 0})(),Ou=e=>{const{theme:t,classGroups:n}=e;return Du(n,t)},Du=(e,t)=>{const n=Tu();for(const r in e){const i=e[r];Iu(i,n,r,t)}return n},Iu=(e,t,n,r)=>{const i=e.length;for(let o=0;o<i;o++){const i=e[o];_u(i,t,n,r)}},_u=(e,t,n,r)=>{"string"!=typeof e?"function"!=typeof e?Nu(e,t,n,r):$u(e,t,n,r):Fu(e,t,n)},Fu=(e,t,n)=>{(""===e?t:Bu(t,e)).classGroupId=n},$u=(e,t,n,r)=>{ju(e)?Iu(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(n,e)))},Nu=(e,t,n,r)=>{const i=Object.entries(e),o=i.length;for(let a=0;a<o;a++){const[e,o]=i[a];Iu(o,Bu(t,e),n,r)}},Bu=(e,t)=>{let n=e;const r=t.split(Mu),i=r.length;for(let o=0;o<i;o++){const e=r[o];let t=n.nextPart.get(e);t||(t=Tu(),n.nextPart.set(e,t)),n=t}return n},ju=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,zu=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const i=(i,o)=>{n[i]=o,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(i(e,t),t):void 0},set(e,t){e in n?n[e]=t:i(e,t)}}},Vu=[],Hu=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Uu=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;const a=e.length;for(let u=0;u<a;u++){const a=e[u];if(0===r&&0===i){if(":"===a){t.push(e.slice(o,u)),o=u+1;continue}if("/"===a){n=u;continue}}"["===a?r++:"]"===a?r--:"("===a?i++:")"===a&&i--}const s=0===t.length?e:e.slice(o);let l=s,c=!1;return s.endsWith("!")?(l=s.slice(0,-1),c=!0):s.startsWith("!")&&(l=s.slice(1),c=!0),Hu(t,c,l,n&&n>o?n-o:void 0)};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Hu(Vu,!1,t,void 0,!0)}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},Wu=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{const n=[];let r=[];for(let i=0;i<e.length;i++){const o=e[i],a="["===o[0],s=t.has(o);a||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(o)):r.push(o)}return r.length>0&&(r.sort(),n.push(...r)),n}},Gu=e=>{const t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let r=0;r<n.length;r++)t[n[r]]=!0;return t},qu=/\s+/,Ku=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Ku(e[r]))&&(n&&(n+=" "),n+=t);return n},Yu=(e,...t)=>{let n,r,i,o;const a=e=>{const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o,postfixLookupClassGroupIds:a}=t,s=[],l=e.trim().split(qu);let c="";for(let u=l.length-1;u>=0;u-=1){const e=l[u],{isExternal:t,modifiers:d,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:p}=n(e);if(t){c=e+(c.length>0?" "+c:c);continue}let m,g=!!p;if(g){m=r(f.substring(0,p));const e=m&&a[m]?r(f):void 0;e&&e!==m&&(m=e,g=!1)}else m=r(f);if(!m){if(!g){c=e+(c.length>0?" "+c:c);continue}if(m=r(f),!m){c=e+(c.length>0?" "+c:c);continue}g=!1}const v=0===d.length?"":1===d.length?d[0]:o(d).join(":"),y=h?v+"!":v,b=y+m;if(s.indexOf(b)>-1)continue;s.push(b);const C=i(m,g);for(let n=0;n<C.length;++n){const e=C[n];s.push(y+e)}c=e+(c.length>0?" "+c:c)}return c})(e,n);return i(e,o),o};return o=s=>{const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:zu(e.cacheSize),parseClassName:Uu(e),sortModifiers:Wu(e),postfixLookupClassGroupIds:Gu(e),...Lu(e)}))(l),r=n.cache.get,i=n.cache.set,o=a,a(s)},(...e)=>o(((...e)=>{let t,n,r=0,i="";for(;r<e.length;)(t=e[r++])&&(n=Ku(t))&&(i&&(i+=" "),i+=n);return i})(...e))},Zu=[],Qu=e=>{const t=t=>t[e]||Zu;return t.isThemeGetter=!0,t},Xu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ju=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ed=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,td=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,nd=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rd=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,id=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,od=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ad=e=>ed.test(e),sd=e=>!!e&&!Number.isNaN(Number(e)),ld=e=>!!e&&Number.isInteger(Number(e)),cd=e=>e.endsWith("%")&&sd(e.slice(0,-1)),ud=e=>td.test(e),dd=()=>!0,hd=e=>nd.test(e)&&!rd.test(e),fd=()=>!1,pd=e=>id.test(e),md=e=>od.test(e),gd=e=>!bd(e)&&!Md(e),vd=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),yd=e=>_d(e,Bd,fd),bd=e=>Xu.test(e),Cd=e=>_d(e,jd,hd),wd=e=>_d(e,zd,sd),Ed=e=>_d(e,Hd,dd),kd=e=>_d(e,Vd,fd),Sd=e=>_d(e,$d,fd),xd=e=>_d(e,Nd,md),Td=e=>_d(e,Ud,pd),Md=e=>Ju.test(e),Ad=e=>Fd(e,jd),Ld=e=>Fd(e,Vd),Pd=e=>Fd(e,$d),Rd=e=>Fd(e,Bd),Od=e=>Fd(e,Nd),Dd=e=>Fd(e,Ud,!0),Id=e=>Fd(e,Hd,!0),_d=(e,t,n)=>{const r=Xu.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Fd=(e,t,n=!1)=>{const r=Ju.exec(e);return!!r&&(r[1]?t(r[1]):n)},$d=e=>"position"===e||"percentage"===e,Nd=e=>"image"===e||"url"===e,Bd=e=>"length"===e||"size"===e||"bg-size"===e,jd=e=>"length"===e,zd=e=>"number"===e,Vd=e=>"family-name"===e,Hd=e=>"number"===e||"weight"===e,Ud=e=>"shadow"===e,Wd=Yu(()=>{const e=Qu("color"),t=Qu("font"),n=Qu("text"),r=Qu("font-weight"),i=Qu("tracking"),o=Qu("leading"),a=Qu("breakpoint"),s=Qu("container"),l=Qu("spacing"),c=Qu("radius"),u=Qu("shadow"),d=Qu("inset-shadow"),h=Qu("text-shadow"),f=Qu("drop-shadow"),p=Qu("blur"),m=Qu("perspective"),g=Qu("aspect"),v=Qu("ease"),y=Qu("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Md,bd],C=()=>[Md,bd,l],w=()=>[ad,"full","auto",...C()],E=()=>[ld,"none","subgrid",Md,bd],k=()=>["auto",{span:["full",ld,Md,bd]},ld,Md,bd],S=()=>[ld,"auto",Md,bd],x=()=>["auto","min","max","fr",Md,bd],T=()=>["auto",...C()],M=()=>[ad,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],A=()=>[ad,"screen","full","dvw","lvw","svw","min","max","fit",...C()],L=()=>[ad,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],P=()=>[e,Md,bd],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Pd,Sd,{position:[Md,bd]}],O=()=>["auto","cover","contain",Rd,yd,{size:[Md,bd]}],D=()=>[cd,Ad,Cd],I=()=>["","none","full",c,Md,bd],_=()=>["",sd,Ad,Cd],F=()=>[sd,cd,Pd,Sd],$=()=>["","none",p,Md,bd],N=()=>["none",sd,Md,bd],B=()=>["none",sd,Md,bd],j=()=>[sd,Md,bd],z=()=>[ad,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ud],breakpoint:[ud],color:[dd],container:[ud],"drop-shadow":[ud],ease:["in","out","in-out"],font:[gd],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ud],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ud],shadow:[ud],spacing:["px",sd],text:[ud],"text-shadow":[ud],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ad,bd,Md,g]}],container:["container"],"container-type":[{"@container":["","normal","size",Md,bd]}],"container-named":[vd],columns:[{columns:[sd,bd,Md,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:b()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[ld,"auto",Md,bd]}],basis:[{basis:[ad,"full","auto",s,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[sd,ad,"auto","initial","none",bd]}],grow:[{grow:["",sd,Md,bd]}],shrink:[{shrink:["",sd,Md,bd]}],order:[{order:[ld,"first","last","none",Md,bd]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":S()}],"row-end":[{"row-end":S()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":x()}],"auto-rows":[{"auto-rows":x()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:M()}],"inline-size":[{inline:["auto",...A()]}],"min-inline-size":[{"min-inline":["auto",...A()]}],"max-inline-size":[{"max-inline":["none",...A()]}],"block-size":[{block:["auto",...L()]}],"min-block-size":[{"min-block":["auto",...L()]}],"max-block-size":[{"max-block":["none",...L()]}],w:[{w:[s,"screen",...M()]}],"min-w":[{"min-w":[s,"screen","none",...M()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...M()]}],h:[{h:["screen","lh",...M()]}],"min-h":[{"min-h":["screen","lh","none",...M()]}],"max-h":[{"max-h":["screen","lh",...M()]}],"font-size":[{text:["base",n,Ad,Cd]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Id,Ed]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",cd,bd]}],"font-family":[{font:[Ld,kd,t]}],"font-features":[{"font-features":[bd]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,Md,bd]}],"line-clamp":[{"line-clamp":[sd,"none",Md,wd]}],leading:[{leading:[o,...C()]}],"list-image":[{"list-image":["none",Md,bd]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Md,bd]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","
1wavy"]}],"text-decoration-thickness":[{decoration:[sd,"from-font","auto",Md,Cd]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[sd,"auto",Md,bd]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"tab-size":[{tab:[ld,Md,bd]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Md,bd]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Md,bd]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ld,Md,bd],radial:["",Md,bd],conic:[ld,Md,bd]},Od,xd]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:D()}],"gradient-via-pos":[{via:D()}],"gradient-to-pos":[{to:D()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:_()}],"border-w-x":[{"border-x":_()}],"border-w-y":[{"border-y":_()}],"border-w-s":[{"border-s":_()}],"border-w-e":[{"border-e":_()}],"border-w-bs":[{"border-bs":_()}],"border-w-be":[{"border-be":_()}],"border-w-t":[{"border-t":_()}],"border-w-r":[{"border-r":_()}],"border-w-b":[{"border-b":_()}],"border-w-l":[{"border-l":_()}],"divide-x":[{"divide-x":_()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":_()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}
vendor: 6,520 bytes, line 1
1],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[sd,Md,bd]}],"outline-w":[{outline:["",sd,Ad,Cd]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,Dd,Td]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,Dd,Td]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[sd,Cd]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":_()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",h,Dd,Td]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[sd,Md,bd]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[sd]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[Md,bd]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[sd]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Md,bd]}],filter:[{filter:["","none",Md,bd]}],blur:[{blur:$()}],brightness:[{brightness:[sd,Md,bd]}],contrast:[{contrast:[sd,Md,bd]}],"drop-shadow":[{"drop-shadow":["","none",f,Dd,Td]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",sd,Md,bd]}],"hue-rotate":[{"hue-rotate":[sd,Md,bd]}],invert:[{invert:["",sd,Md,bd]}],saturate:[{saturate:[sd,Md,bd]}],sepia:[{sepia:["",sd,Md,bd]}],"backdrop-filter":[{"backdrop-filter":["","none",Md,bd]}],"backdrop-blur":[{"backdrop-blur":$()}],"backdrop-brightness":[{"backdrop-brightness":[sd,Md,bd]}],"backdrop-contrast":[{"backdrop-contrast":[sd,Md,bd]}],"backdrop-grayscale":[{"backdrop-grayscale":["",sd,Md,bd]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[sd,Md,bd]}],"backdrop-invert":[{"backdrop-invert":["",sd,Md,bd]}],"backdrop-opacity":[{"backdrop-opacity":[sd,Md,bd]}],"backdrop-saturate":[{"backdrop-saturate":[sd,Md,bd]}],"backdrop-sepia":[{"backdrop-sepia":["",sd,Md,bd]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Md,bd]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[sd,"initial",Md,bd]}],ease:[{ease:["linear","initial",v,Md,bd]}],delay:[{delay:[sd,Md,bd]}],animate:[{animate:["none",y,Md,bd]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,Md,bd]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:N()}],"rotate-x":[{"rotate-x":N()}],"rotate-y":[{"rotate-y":N()}],"rotate-z":[{"rotate-z":N()}],scale:[{scale:B()}],"scale-x":[{"scale-x":B()}],"scale-y":[{"scale-y":B()}],"scale-z":[{"scale-z":B()}],"scale-3d":["scale-3d"],skew:[{skew:j()}],"skew-x":[{"skew-x":j()}],"skew-y":[{"skew-y":j()}],transform:[{transform:[Md,bd,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:z()}],"translate-x":[{"translate-x":z()}],"translate-y":[{"translate-y":z()}],"translate-z":[{"translate-z":z()}],"translate-none":["translate-none"],zoom:[{zoom:[ld,Md,bd]}],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Md,bd]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":P()}],"scrollbar-track-color":[{"scrollbar-track":P()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Md,bd]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[sd,Ad,Cd,wd]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});var Gd,qd,Kd,Yd,Zd,Qd,Xd,Jd,eh,th,nh,rh,ih,oh,ah,sh,lh,ch,uh,dh,hh,fh,ph,mh,gh,vh,yh,bh,Ch,wh,Eh,kh,Sh,xh,Th,Mh,Ah,Lh,Ph,Rh,Oh,Dh,Ih,_h,Fh,$h,Nh,Bh,jh,zh,Vh,Hh,Uh,Wh,Gh,qh,Kh,Yh,Zh,Qh,Xh,Jh,ef,tf,nf,rf,of,af,sf,lf,cf,uf,df,hf,ff,pf,mf,gf,vf,yf,bf,Cf,wf,Ef,kf,Sf,xf,Tf,Mf,Af,Lf,Pf,Rf,Of,Df,If,_f,Ff,$f,Nf,Bf,jf,zf,Vf;function Hf(){if(qd)return Gd;qd=1;var e=Array.isArray;return Gd=e}function Uf(){if(Yd)return Kd;Yd=1;var e="object"==typeof $e&&$e&&$e.Object===Object&&$e;return Kd=e}function Wf(){if(Qd)return Zd;Qd=1;var e=Uf(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Zd=n}function Gf(){if(Jd)return Xd;Jd=1;var e=Wf().Symbol;return Xd=e}
vendor: 7,149 bytes, line 1
1function qf(){if(oh)return ih;oh=1;var e=Gf(),t=function(){if(th)return eh;th=1;var e=Gf(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,i=e?e.toStringTag:void 0;return eh=function(e){var t=n.call(e,i),o=e[i];try{e[i]=void 0;var a=!0}catch(l){}var s=r.call(e);return a&&(t?e[i]=o:delete e[i]),s}}(),n=function(){if(rh)return nh;rh=1;var e=Object.prototype.toString;return nh=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return ih=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function Kf(){return sh?ah:(sh=1,ah=function(e){return null!=e&&"object"==typeof e})}function Yf(){if(ch)return lh;ch=1;var e=qf(),t=Kf();return lh=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function Zf(){if(dh)return uh;dh=1;var e=Hf(),t=Yf(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return uh=function(i,o){if(e(i))return!1;var a=typeof i;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=i&&!t(i))||r.test(i)||!n.test(i)||null!=o&&i in Object(o)}}function Qf(){return fh?hh:(fh=1,hh=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)})}function Xf(){if(mh)return ph;mh=1;var e=qf(),t=Qf();return ph=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function Jf(){if(wh)return Ch;wh=1;var e=Function.prototype.toString;return Ch=function(t){if(null!=t){try{return e.call(t)}catch(n){}try{return t+""}catch(n){}}return""}}function ep(){if(Mh)return Th;Mh=1;var e=function(){if(kh)return Eh;kh=1;var e=Xf(),t=function(){if(bh)return yh;bh=1;var e,t=function(){if(vh)return gh;vh=1;var e=Wf()["__core-js_shared__"];return gh=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return yh=function(e){return!!n&&n in e}}(),n=Qf(),r=Jf(),i=/^\[object .+?Constructor\]$/,o=Function.prototype,a=Object.prototype,s=o.toString,l=a.hasOwnProperty,c=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Eh=function(o){return!(!n(o)||t(o))&&(e(o)?c:i).test(r(o))}}(),t=xh?Sh:(xh=1,Sh=function(e,t){return null==e?void 0:e[t]});return Th=function(n,r){var i=t(n,r);return e(i)?i:void 0}}function tp(){if(Lh)return Ah;Lh=1;var e=ep()(Object,"create");return Ah=e}function np(){return Wh?Uh:(Wh=1,Uh=function(e,t){return e===t||e!=e&&t!=t})}function rp(){if(qh)return Gh;qh=1;var e=np();return Gh=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}}function ip(){if(rf)return nf;rf=1;var e=Hh?Vh:(Hh=1,Vh=function(){this.__data__=[],this.size=0}),t=function(){if(Yh)return Kh;Yh=1;var e=rp(),t=Array.prototype.splice;return Kh=function(n){var r=this.__data__,i=e(r,n);return!(i<0||(i==r.length-1?r.pop():t.call(r,i,1),--this.size,0))}}(),n=function(){if(Qh)return Zh;Qh=1;var e=rp();return Zh=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}}(),r=function(){if(Jh)return Xh;Jh=1;var e=rp();return Xh=function(t){return e(this.__data__,t)>-1}}(),i=function(){if(tf)return ef;tf=1;var e=rp();return ef=function(t,n){var r=this.__data__,i=e(r,t);return i<0?(++this.size,r.push([t,n])):r[i][1]=n,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,nf=o}function op(){if(af)return of;af=1;var e=ep()(Wf(),"Map");return of=e}function ap(){if(hf)return df;hf=1;var e=uf?cf:(uf=1,cf=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return df=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map}}function sp(){if(Ef)return wf;Ef=1;var e=function(){if(lf)return sf;lf=1;var e=function(){if(zh)return jh;zh=1;var e=function(){if(Rh)return Ph;Rh=1;var e=tp();return Ph=function(){this.__data__=e?e(null):{},this.size=0}}(),t=Dh?Oh:(Dh=1,Oh=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(_h)return Ih;_h=1;var e=tp(),t=Object.prototype.hasOwnProperty;return Ih=function(n){var r=this.__data__;if(e){var i=r[n];return"__lodash_hash_undefined__"===i?void 0:i}return t.call(r,n)?r[n]:void 0}}(),r=function(){if($h)return Fh;$h=1;var e=tp(),t=Object.prototype.hasOwnProperty;return Fh=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),i=function(){if(Bh)return Nh;Bh=1;var e=tp();return Nh=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,jh=o}(),t=ip(),n=op();return sf=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(pf)return ff;pf=1;var e=ap();return ff=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(gf)return mf;gf=1;var e=ap();return mf=function(t){return e(this,t).get(t)}}(),r=function(){if(yf)return vf;yf=1;var e=ap();return vf=function(t){return e(this,t).has(t)}}(),i=function(){if(Cf)return bf;Cf=1;var e=ap();return bf=function(t,n){var r=e(this,t),i=r.size;return r.set(t,n),this.size+=r.size==i?0:1,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=i,wf=o}function lp(){if(Sf)return kf;Sf=1;var e=sp();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var i=function(){var e=arguments,t=r?r.apply(this,e):e[0],o=i.cache;if(o.has(t))return o.get(t);var a=n.apply(this,e);return i.cache=o.set(t,a)||o,a};return i.cache=new(t.Cache||e),i}return t.Cache=e,kf=t}function cp(){return Pf?Lf:(Pf=1,Lf=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i})}function up(){if(If)return Df;If=1;var e=function(){if(Of)return Rf;Of=1;var e=Gf(),t=cp(),n=Hf(),r=Yf(),i=e?e.prototype:void 0,o=i?i.toString:void 0;return Rf=function e(i){if("string"==typeof i)return i;if(n(i))return t(i,e)+"";if(r(i))return o?o.call(i):"";var a=i+"";return"0"==a&&1/i==-1/0?"-0":a},Rf}();return Df=function(t){return null==t?"":e(t)}}function dp(){if(Ff)return _f;Ff=1;var e=Hf(),t=Zf(),n=function(){if(Af)return Mf;Af=1;var e=function(){if(Tf)return xf;Tf=1;var e=lp();return xf=function(t){var n=e(t,function(e){return 500===r.size&&r.clear(),e}),r=n.cache;return n}}(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e(function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,function(e,t,i,o){r.push(i?o.replace(n,"$1"):t||e)}),r});return Mf=r}(),r=up();return _f=function(i,o){return e(i)?i:t(i,o)?[i]:n(r(i))}}function hp(){if(Nf)return $f;Nf=1;var e=Yf();
1return $f=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function fp(){if(jf)return Bf;jf=1;var e=dp(),t=hp();return Bf=function(n,r){for(var i=0,o=(r=e(r,n)).length;null!=n&&i<o;)n=n[t(r[i++])];return i&&i==o?n:void 0}}function pp(){if(Vf)return zf;Vf=1;var e=fp();return zf=function(t,n,r){var i=null==t?void 0:e(t,n);return void 0===i?r:i}}const mp=Ne(pp());var gp,vp;const yp=Ne(vp?gp:(vp=1,gp=function(e){return null==e}));var bp,Cp;const wp=Ne(function(){if(Cp)return bp;Cp=1;var e=qf(),t=Hf(),n=Kf();return bp=function(r){return"string"==typeof r||!t(r)&&n(r)&&"[object String]"==e(r)}}()),Ep=Ne(Xf()),kp=Ne(Qf());var Sp,xp,Tp,Mp,Ap,Lp,Pp={exports:{}},Rp={},Op=(xp||(xp=1,Pp.exports=function(){if(Sp)return Rp;Sp=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case r:case o:case i:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case s:case c:case f:case h:case a:return e;default:return p}}case n:return p}}}return e=Symbol.for("react.module.reference"),Rp.ContextConsumer=s,Rp.ContextProvider=a,Rp.Element=t,Rp.ForwardRef=c,Rp.Fragment=r,Rp.Lazy=f,Rp.Memo=h,Rp.Portal=n,Rp.Profiler=o,Rp.StrictMode=i,Rp.Suspense=u,Rp.SuspenseList=d,Rp.isAsyncMode=function(){return!1},Rp.isConcurrentMode=function(){return!1},Rp.isContextConsumer=function(e){return m(e)===s},Rp.isContextProvider=function(e){return m(e)===a},Rp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Rp.isForwardRef=function(e){return m(e)===c},Rp.isFragment=function(e){return m(e)===r},Rp.isLazy=function(e){return m(e)===f},Rp.isMemo=function(e){return m(e)===h},Rp.isPortal=function(e){return m(e)===n},Rp.isProfiler=function(e){return m(e)===o},Rp.isStrictMode=function(e){return m(e)===i},Rp.isSuspense=function(e){return m(e)===u},Rp.isSuspenseList=function(e){return m(e)===d},Rp.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===o||t===i||t===u||t===d||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===h||t.$$typeof===a||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Rp.typeOf=m,Rp}
1()),Pp.exports);function Dp(){if(Mp)return Tp;Mp=1;var e=qf(),t=Kf();return Tp=function(n){return"number"==typeof n||t(n)&&"[object Number]"==e(n)}}const Ip=Ne(function(){if(Lp)return Ap;Lp=1;var e=Dp();return Ap=function(t){return e(t)&&t!=+t}}()),_p=Ne(Dp());var Fp=function(e){return 0===e?0:e>0?1:-1},$p=function(e){return wp(e)&&e.indexOf("%")===e.length-1},Np=function(e){return _p(e)&&!Ip(e)},Bp=function(e){return Np(e)||wp(e)},jp=0,zp=function(e){var t=++jp;return"".concat(e||"").concat(t)},Vp=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!Np(e)&&!wp(e))return r;if($p(e)){var o=e.indexOf("%");n=t*parseFloat(e.slice(0,o))/100}else n=+e;return Ip(n)&&(n=r),i&&n>t&&(n=t),n},Hp=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},Up=function(e,t){return Np(e)&&Np(t)?function(n){return e+n*(t-e)}:function(){return t}};function Wp(e,t,n){return e&&e.length?e.find(function(e){return e&&("function"==typeof t?t(e):mp(e,t))===n}):null}var Gp=function(e,t){return Np(e)&&Np(t)?e-t:wp(e)&&wp(t)?e.localeCompare(t):e instanceof Date&&t instanceof Date?e.getTime()-t.getTime():String(e).localeCompare(String(t))};function qp(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function Kp(e){return(Kp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Yp=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Zp=["points","pathLength"],Qp={svg:["viewBox","children"],polygon:Zp,pol
vendor: 4,463 bytes, line 1
1yline:Zp},Xp=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],Jp=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if(Qt.isValidElement(e)&&(n=e.props),!kp(n))return null;var r={};return Object.keys(n).forEach(function(e){Xp.includes(e)&&(r[e]=t||function(t){return n[e](n,t)})}),r},em=function(e,t,n){if(!kp(e)||"object"!==Kp(e))return null;var r=null;return Object.keys(e).forEach(function(i){var o=e[i];Xp.includes(i)&&"function"==typeof o&&(r||(r={}),r[i]=function(e,t,n){return function(r){return e(t,n,r),null}}(o,t,n))}),r},tm=["children"],nm=["children"];function rm(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function im(e){return(im="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var om={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},am=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},sm=null,lm=null,cm=function e(t){if(t===sm&&Array.isArray(lm))return lm;var n=[];
1return Qt.Children.forEach(t,function(t){yp(t)||(Op.isFragment(t)?n=n.concat(e(t.props.children)):n.push(t))}),lm=n,sm=t,n};function um(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map(function(e){return am(e)}):[am(t)],cm(e).forEach(function(e){var t=mp(e,"type.displayName")||mp(e,"type.name");-1!==r.indexOf(t)&&n.push(e)}),n}function dm(e,t){var n=um(e,t);return n&&n[0]}var hm=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!Np(n)||n<=0||!Np(r)||r<=0)},fm=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],pm=function(e,t,n){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if(Qt.isValidElement(e)&&(r=e.props),!kp(r))return null;var i={};return Object.keys(r).forEach(function(e){var o;(function(e,t,n,r){var i,o=null!==(i=null==Qp?void 0:Qp[r])&&void 0!==i?i:[];return t.startsWith("data-")||!Ep(e)&&(r&&o.includes(t)||Yp.includes(t))||n&&Xp.includes(t)})(null===(o=r)||void 0===o?void 0:o[e],e,t,n)&&(i[e]=r[e])}),i},mm=function e(t,n){if(t===n)return!0;var r=Qt.Children.count(t);if(r!==Qt.Children.count(n))return!1;if(0===r)return!0;if(1===r)return gm(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var i=0;i<r;i++){var o=t[i],a=n[i];if(Array.isArray(o)||Array.isArray(a)){if(!e(o,a))return!1}else if(!gm(o,a))return!1}return!0},gm=function(e,t){if(yp(e)&&yp(t))return!0;if(!yp(e)&&!yp(t)){var n=e.props||{},r=n.children,i=rm(n,tm),o=t.props||{},a=o.children,s=rm(o,nm);return r&&a?qp(i,s)&&mm(r,a):!r&&!a&&qp(i,s)}return!1},vm=function(e,t){var n=[],r={};return cm(e).forEach(function(e,i){if(function(e){return e&&e.type&&wp(e.type)&&fm.indexOf(e.type)>=0}(e))n.push(e);else if(e){var o=am(e.type),a=t[o]||{},s=a.handler,l=a.once;if(s&&(!l||!r[o])){var c=s(e,o,i);n.push(c),r[o]=!0}}}),n},ym=["children","width","height","viewBox","className","style","title","desc"];function bm(){return bm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bm.apply(this,arguments)}function Cm(e){var t=e.children,n=e.width,r=e.height,i=e.viewBox,o=e.className,a=e.style,s=e.title,l=e.desc,c=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,ym),u=i||{width:n,height:r,x:0,y:0},d=ss("recharts-surface",o);return Xt.createElement("svg",bm({},pm(c,!0,"svg"),{className:d,width:n,height:r,style:a,viewBox:"".concat(u.x," ").concat(u.y," ").concat(u.width," ").concat(u.height)}),Xt.createElement("title",null,s),Xt.createElement("desc",null,l),t)}var wm=["children","className"];function Em(){return Em=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Em.apply(this,arguments)}var km,Sm,xm,Tm,Mm,Am,Lm,Pm,Rm,Om,Dm,Im,_m,Fm,$m,Nm,Bm=Xt.forwardRef(function(e,t){var n=e.children,r=e.className,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,wm),o=ss("recharts-layer",r);return Xt.createElement("g",Em({className:o},pm(i,!0),{ref:t}),n)}),jm=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i]};function zm(){if(Am)return Mm;Am=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return Mm=function(t){return e.test(t)}}const Vm=Ne(function(){if(Nm)return $m;Nm=1;var e=function(){if(Fm)return _m;Fm=1;var e=function(){if(Tm)return xm;Tm=1;var e=Sm?km:(Sm=1,km=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}
vendor: 15,292 bytes, line 1
1);return xm=function(t,n,r){var i=t.length;return r=void 0===r?i:r,!n&&r>=i?t:e(t,n,r)}}(),t=zm(),n=function(){if(Im)return Dm;Im=1;var e=Pm?Lm:(Pm=1,Lm=function(e){return e.split("")}),t=zm(),n=function(){if(Om)return Rm;Om=1;var e="\\ud800-\\udfff",t="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",c=l+s+"(?:\\u200d(?:"+[i,o,a].join("|")+")"+l+s+")*",u="(?:"+[i+n+"?",n,o,a,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+u+c,"g");return Rm=function(e){return e.match(d)||[]}}();return Dm=function(r){return t(r)?n(r):e(r)}}(),r=up();return _m=function(i){return function(o){o=r(o);var a=t(o)?n(o):void 0,s=a?a[0]:o.charAt(0),l=a?e(a,1).join(""):o.slice(1);return s[i]()+l}}}()("toUpperCase");return $m=e}());function Hm(e){return function(){return e}}const Um=Math.cos,Wm=Math.sin,Gm=Math.sqrt,qm=Math.PI,Km=2*qm,Ym=Math.PI,Zm=2*Ym,Qm=1e-6,Xm=Zm-Qm;function Jm(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}let eg=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Jm:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Jm;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,o){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,(i=+i)<0)throw new Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,s=n-e,l=r-t,c=o-e,u=a-t,d=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Qm)if(Math.abs(u*s-l*c)>Qm&&i){let h=n-o,f=r-a,p=s*s+l*l,m=h*h+f*f,g=Math.sqrt(p),v=Math.sqrt(d),y=i*Math.tan((Ym-Math.acos((p+d-m)/(2*g*v)))/2),b=y/v,C=y/g;Math.abs(b-1)>Qm&&this._append`L${e+b*c},${t+b*u}`,this._append`A${i},${i},0,0,${+(u*h>c*f)},${this._x1=e+C*s},${this._y1=t+C*l}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,r,i,o){if(e=+e,t=+t,o=!!o,(n=+n)<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),l=e+a,c=t+s,u=1^o,d=o?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Qm||Math.abs(this._y1-c)>Qm)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%Zm+Zm),d>Xm?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:d>Qm&&this._append`A${n},${n},0,${+(d>=Ym)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function tg(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new eg(t)}function ng(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function rg(e){this._context=e}function ig(e){return new rg(e)}function og(e){return e[0]}function ag(e){return e[1]}function sg(e,t){var n=Hm(!0),r=null,i=ig,o=null,a=tg(s);function s(s){var l,c,u,d=(s=ng(s)).length,h=!1;for(null==r&&(o=i(u=a())),l=0;l<=d;++l)!(l<d&&n(c=s[l],l,s))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+e(c,l,s),+t(c,l,s));if(u)return o=null,u+""||null}return e="function"==typeof e?e:void 0===e?og:Hm(e),t="function"==typeof t?t:void 0===t?ag:Hm(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:Hm(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:Hm(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:Hm(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),s):i},s.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),s):r},s}function lg(e,t,n){var r=null,i=Hm(!0),o=null,a=ig,s=null,l=tg(c);function c(c){var u,d,h,f,p,m=(c=ng(c)).length,g=!1,v=new Array(m),y=new Array(m);for(null==o&&(s=a(p=l())),u=0;u<=m;++u){if(!(u<m&&i(f=c[u],u,c))===g)if(g=!g)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),h=u-1;h>=d;--h)s.point(v[h],y[h]);s.lineEnd(),s.areaEnd()}g&&(v[u]=+e(f,u,c),y[u]=+t(f,u,c),s.point(r?+r(f,u,c):v[u],n?+n(f,u,c):y[u]))}if(p)return s=null,p+""||null}function u(){return sg().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?og:Hm(+e),t="function"==typeof t?t:Hm(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?ag:Hm(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:Hm(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:Hm(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Hm(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:Hm(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:Hm(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:Hm(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(i="function"==typeof e?e:Hm(!!e),c):i},c.curve=function(e){return arguments.length?(a=e,null!=o&&(s=a(o)),c):a},c.context=function(e){return arguments.length?(null==e?o=s=null:s=a(o=e),c):o},c}rg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};class cg{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}const ug={draw(e,t){const n=Gm(t/qm);e.moveTo(n,0),e.arc(0,0,n,0,Km)}},dg={draw(e,t){const n=Gm(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},hg=Gm(1/3),fg=2*hg,pg={draw(e,t){const n=Gm(t/fg),r=n*hg;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},mg={draw(e,t){const n=Gm(t),r=-n/2;e.rect(r,r,n,n)}},gg=Wm(qm/10)/Wm(7*qm/10),vg=Wm(Km/10)*gg,yg=-Um(Km/10)*gg,bg={draw(e,t){const n=Gm(.8908130915292852*t),r=vg*n,i=yg*n;e.moveTo(0,-n),e.lineTo(r,i);for(let o=1;o<5;++o){const t=Km*o/5,a=Um(t),s=Wm(t);e.lineTo(s*n,-a*n),e.lineTo(a*r-s*i,s*r+a*i)}e.closePath()}},Cg=Gm(3),wg={draw(e,t){const n=-Gm(t/(3*Cg));e.moveTo(0,2*n),e.lineTo(-Cg*n,-n),e.lineTo(Cg*n,-n),e.closePath()}},Eg=-.5,kg=Gm(3)/2,Sg=1/Gm(12),xg=3*(Sg/2+1),Tg={draw(e,t){const n=Gm(t/xg),r=n/2,i=n*Sg,o=r,a=n*Sg+n,s=-o,l=a;e.moveTo(r,i),e.lineTo(o,a),e.lineTo(s,l),e.lineTo(Eg*r-kg*i,kg*r+Eg*i),e.lineTo(Eg*o-kg*a,kg*o+Eg*a),e.lineTo(Eg*s-kg*l,kg*s+Eg*l),e.lineTo(Eg*r+kg*i,Eg*i-kg*r),e.lineTo(Eg*o+kg*a,Eg*a-kg*o),e.lineTo(Eg*s+kg*l,Eg*l-kg*s),e.closePath()}};function Mg(){}function Ag(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Lg(e){this._context=e}function Pg(e){this._context=e}function Rg(e){this._context=e}function Og(e){this._context=e}function Dg(e){return e<0?-1:1}function Ig(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(Dg(o)+Dg(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function _g(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Fg(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function $g(e){this._context=e}function Ng(e){this._context=new Bg(e)}function Bg(e){this._context=e}function jg(e){this._context=e}function zg(e){var t,n,r=e.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/o[t-1],o[t]-=n,a[t]-=n*a[t-1];for(i[r-1]=a[r-1]/o[r-1],t=r-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function Vg(e,t){this._context=e,this._t=t}function Hg(e,t){if((i=e.length)>1)for(var n,r,i,o=1,a=e[t[0]],s=a.length;o<i;++o)for(r=a,a=e[t[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Ug(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Wg(e,t){return e[t]}function Gg(e){const t=[];return t.key=e,t}function qg(e){return(qg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Lg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ag(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ag(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Pg.prototype={areaStart:Mg,areaEnd:Mg,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:Ag(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Rg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Ag(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Og.prototype={areaStart:Mg,areaEnd:Mg,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},$g.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Fg(this,this._t0,_g(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Fg(this,_g(this,n=Ig(this,e,t)),n);break;default:Fg(this,this._t0,n=Ig(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Ng.prototype=Object.create($g.prototype)).point=function(e,t){$g.prototype.point.call(this,t,e)},Bg.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}},jg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=zg(e),i=zg(t),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},Vg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var Kg=["type","size","sizeType"];function Yg(){return Yg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yg.apply(this,arguments)}function Zg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Qg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Zg(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=qg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=qg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==qg(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zg(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Xg={symbolCircle:ug,symbolCross:dg,symbolDiamond:pg,symbolSquare:mg,symbolStar:bg,symbolTriangle:wg,symbolWye:Tg},Jg=Math.PI/180,ev=function(e){var t,n,r=e.type,i=void 0===r?"circle":r,o=e.size,a=void 0===o?64:o,s=e.sizeType,l=void 0===s?"area":s,c=Qg(Qg({},function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Kg)),{},{type:i,size:a,sizeType:l}),u=c.className,d=c.cx,h=c.cy,f=pm(c,!0);return d===+d&&h===+h&&a===+a?Xt.createElement("path",Yg({}
1,f,{className:ss("recharts-symbols",u),transform:"translate(".concat(d,", ").concat(h,")"),d:(t=function(e){var t="symbol".concat(Vm(e));return Xg[t]||ug}(i),n=function(e,t){let n=null,r=tg(i);function i(){let i;if(n||(n=i=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+""||null}return e="function"==typeof e?e:Hm(e||ug),t="function"==typeof t?t:Hm(void 0===t?64:+t),i.type=function(t){return arguments.length?(e="function"==typeof t?t:Hm(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:Hm(+e),i):t},i.context=function(e){return arguments.length?(n=null==e?null:e,i):n},i}().type(t).size(function(e,t,n){if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var r=18*Jg;return 1.25*e*e*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(a,l,i)),n())})):null};function tv(e){return(tv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nv(){return nv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nv.apply(this,arguments)}function rv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function iv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iv=function(){return!!e})()}function ov(e){return(ov=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function av(e,t){return(av=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function sv(e,t,n){return(t=lv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lv(e){var t=function(e){if("object"!=tv(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=tv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tv(t)?t:t+""}ev.registerSymbol=function(e,t){Xg["symbol".concat(Vm(e))]=t};var cv,uv,dv,hv,fv,pv,mv,gv,vv,yv,bv,Cv,wv,Ev,kv,Sv,xv,Tv,Mv,Av,Lv,Pv,Rv,Ov,Dv,Iv,_v,Fv,$v,Nv,Bv,jv,zv,Vv,Hv,Uv,Wv,Gv,qv,Kv,Yv,Zv,Qv,Xv,Jv,ey,ty,ny,ry=32,iy=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=arguments,n=ov(n=e),function(e,t){if(t&&("object"===tv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,iv()?Reflect.construct(n,r||[],ov(t).constructor):n.apply(t,r));var t,n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&av(e,t)}(e,Qt.PureComponent),t=e,n=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,n=16,r=ry/6,i=ry/3,o=e.inactive?t:e.color;if("plainline"===e.type)return Xt.createElement("line",{strokeWidth:4,fill:"none",stroke:o,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:n,x2:ry,y2:n,className:"recharts-legend-icon"});if("line"===e.type)return Xt.createElement("path",{strokeWidth:4,fill:"none",stroke:o,d:"M0,".concat(n,"h").concat(i,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*i,",").concat(n,"\n H").concat(ry,"M").concat(2*i,",").concat(n,"\n A").concat(r,",").concat(r,",0,1,1,").concat(i,",").concat(n),className:"recharts-legend-icon"});if("rect"===e.type)return Xt.createElement("path",{stroke:"none",fill:o,d:"M0,".concat(4,"h").concat(ry,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(Xt.isValidElement(e.legendIcon)){var a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?rv(Object(n),!0).forEach(function(t){sv(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e);return delete a.legendIcon,Xt.cloneElement(e.legendIcon,a)}return Xt.createElement(ev,{fill:o,cx:n,cy:n,size:ry,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,n=t.payload,r=t.iconSize,i=t.layout,o=t.formatter,a=t.inactiveColor,s={x:0,y:0,width:ry,height:ry},l={display:"horizontal"===i?"inline-block":"block",marginRight:10},c={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map(function(t,n){var i=t.formatter||o,u=ss(sv(sv({"recharts-legend-item":!0},"legend-item-".concat(n),!0),"inactive",t.inactive));if("none"===t.type)return null;var d=Ep(t.value)?null:t.value;jm(!Ep(t.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var h=t.inactive?a:t.color;return Xt.createElement("li",nv({className:u,style:l,key:"legend-item-".concat(n)},em(e.props,t,n)),Xt.createElement(Cm,{width:r,height:r,viewBox:s,style:c},e.renderIcon(t)),Xt.createElement("span",{className:"recharts-legend-item-text",style:{color:h}},i?i(d,t,n):d))})}},{key:"render",value:function(){var e=this.props,t=e.payload,n=e.layout,r=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===n?r:"left"};return Xt.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lv(r.key),r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}();function oy(){if(Cv)return bv;Cv=1;var e=ip(),t=function(){if(uv)return cv;uv=1;var e=ip();return cv=function(){this.__data__=new e,this.size=0}}(),n=hv?dv:(hv=1,dv=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=pv?fv:(pv=1,fv=function(e){return this.__data__.get(e)}),i=gv?mv:(gv=1,mv=function(e){return this.__data__.has(e)}),o=function(){if(yv)return vv;yv=1;var e=ip(),t=op(),n=sp();return vv=function(r,i){var o=this.__data__;if(o instanceof e){var a=o.__data__;if(!t||a.length<199)return a.push([r,i]),this.size=++o.size,this;o=this.__data__=new n(a)}return o.set(r,i),this.size=o.size,this}}();function a(t){var n=this.__data__=new e(t);this.size=n.size}return a.prototype.clear=t,a.prototype.delete=n,a.prototype.get=r,a.prototype.has=i,a.prototype.set=o,bv=a}function ay(){if(Tv)return xv;Tv=1;var e=sp(),t=Ev?wv:(Ev=1,wv=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=Sv?kv:(Sv=1,kv=function(e){return this.__data__.has(e)});function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,xv=r}function sy(){return Av?Mv:(Av=1,Mv=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1})}function ly(){return Pv?Lv:(Pv=1,Lv=function(e,t){return e.has(t)})}function cy(){if(Ov)return Rv;Ov=1;var e=ay(),t=sy(),n=ly();return Rv=function(r,i,o,a,s,l){var c=1&o,u=r.length,d=i.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(r),f=l.get(i);if(h&&f)return h==i&&f==r;var p=-1,m=!0,g=2&o?new e:void 0;for(l.set(r,i),l.set(i,r);++p<u;){var v=r[p],y=i[p];if(a)var b=c?a(y,v,p,i,r,l):a(v,y,p,r,i,l);if(void 0!==b){if(b)continue;m=!1;break}if(g){if(!t(i,function(e,t){if(!n(g,t)&&(v===e||s(v,e,o,a,l)))return g.push(t)})){m=!1;break}}else if(v!==y&&!s(v,y,o,a,l)){m=!1;break}}return l.delete(r),l.delete(i),m}}function uy(){return Nv?$v:(Nv=1,$v=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n})}function dy(){return Vv?zv:(Vv=1,zv=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e})}function hy(){if(ny)return ty;ny=1;var e=function(){if(ey)return Jv;ey=1;var e=qf(),t=Kf();return Jv=function(n){return t(n)&&"[object Arguments]"==e(n)}}
1(),t=Kf(),n=Object.prototype,r=n.hasOwnProperty,i=n.propertyIsEnumerable,o=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!i.call(e,"callee")};return ty=o}sv(iy,"displayName","Legend"),sv(iy,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var fy,py,my,gy,vy,yy,by,Cy,wy,Ey,ky,Sy={exports:{}};function xy(){return my||(my=1,e=Sy,t=Sy.exports,n=Wf(),r=py?fy:(py=1,fy=function(){return!1}),s=((a=(o=(i=t&&!t.nodeType&&t)&&e&&!e.nodeType&&e)&&o.exports===i?n.Buffer:void 0)?a.isBuffer:void 0)||r,e.exports=s),Sy.exports;var e,t,n,r,i,o,a,s}function Ty(){if(vy)return gy;vy=1;var e=/^(?:0|[1-9]\d*)$/;return gy=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}}function My(){return by?yy:(by=1,yy=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991})}function Ay(){return ky?Ey:(ky=1,Ey=function(e){return function(t){return e(t)}})}var Ly,Py,Ry,Oy,Dy,Iy,_y,Fy,$y,Ny,By,jy,zy,Vy,Hy,Uy,Wy,Gy,qy,Ky,Yy,Zy,Qy,Xy,Jy,eb,tb,nb,rb,ib,ob,ab,sb,lb,cb,ub,db,hb,fb,pb,mb,gb,vb,yb,bb,Cb,wb,Eb,kb,Sb,xb,Tb,Mb,Ab,Lb,Pb,Rb,Ob,Db,Ib,_b,Fb,$b,Nb,Bb,jb,zb,Vb,Hb,Ub,Wb,Gb,qb,Kb,Yb,Zb,Qb,Xb,Jb,eC,tC,nC,rC,iC={exports:{}};function oC(){if(Ry)return Py;Ry=1;var e=function(){if(wy)return Cy;wy=1;var e=qf(),t=My(),n=Kf(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,Cy=function(i){return n(i)&&t(i.length)&&!!r[e(i)]}}(),t=Ay(),n=function(){return Ly||(Ly=1,e=iC,t=iC.exports,n=Uf(),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,a=function(){try{return i&&i.require&&i.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}(),e.exports=a),iC.exports;var e,t,n,r,i,o,a}(),r=n&&n.isTypedArray,i=r?t(r):e;return Py=i}function aC(){return $y?Fy:($y=1,Fy=function(e,t){return function(n){return e(t(n))}})}function sC(){if(Hy)return Vy;Hy=1;var e=Xf(),t=My();return Vy=function(n){return null!=n&&t(n.length)&&!e(n)}}function lC(){if(Wy)return Uy;Wy=1;var e=function(){if(Dy)return Oy;Dy=1;var e=Xv?Qv:(Xv=1,Qv=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),t=hy(),n=Hf(),r=xy(),i=Ty(),o=oC(),a=Object.prototype.hasOwnProperty;return Oy=function(s,l){var c=n(s),u=!c&&t(s),d=!c&&!u&&r(s),h=!c&&!u&&!d&&o(s),f=c||u||d||h,p=f?e(s.length,String):[],m=p.length;for(var g in s)!l&&!a.call(s,g)||f&&("length"==g||d&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||i(g,m))||p.push(g);return p}}(),t=function(){if(zy)return jy;zy=1;var e=function(){if(_y)return Iy;_y=1;var e=Object.prototype;return Iy=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}(),t=function(){if(By)return Ny;By=1;var e=aC()(Object.keys,Object);return Ny=e}(),n=Object.prototype.hasOwnProperty;return jy=function(r){if(!e(r))return t(r);var i=[];for(var o in Object(r))n.call(r,o)&&"constructor"!=o&&i.push(o);return i}}(),n=sC();return Uy=function(r){return n(r)?e(r):t(r)}}function cC(){if(qy)return Gy;qy=1;var e=function(){if(Uv)return Hv;Uv=1;var e=dy(),t=Hf();return Hv=function(n,r,i){var o=r(n);return t(n)?o:e(o,i(n))}}(),t=function(){if(Zv)return Yv;Zv=1;var e=Gv?Wv:(Gv=1,Wv=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}),t=Kv?qv:(Kv=1,qv=function(){return[]}),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;return Yv=r?function(t){return null==t?[]:(t=Object(t),e(r(t),function(e){return n.call(t,e)}))}:t}(),n=lC();return Gy=function(r){return e(r,n,t)}}function uC(){if(tb)return eb;tb=1;var e=ep()(Wf(),"Set");return eb=e}function dC(){if(sb)return ab;sb=1;var e=oy(),t=cy(),n=function(){if(jv)return Bv;jv=1;var e=Gf(),t=function(){if(Iv)return Dv;Iv=1;var e=Wf().Uint8Array;return Dv=e}(),n=np(),r=cy(),i=Fv?_v:(Fv=1,_v=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}
vendor: 2,612 bytes, line 1
1),o=uy(),a=e?e.prototype:void 0,s=a?a.valueOf:void 0;return Bv=function(e,a,l,c,u,d,h){switch(l){case"[object DataView]":if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=a.byteLength||!d(new t(e),new t(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+a);case"[object Error]":return e.name==a.name&&e.message==a.message;case"[object RegExp]":case"[object String]":return e==a+"";case"[object Map]":var f=i;case"[object Set]":var p=1&c;if(f||(f=o),e.size!=a.size&&!p)return!1;var m=h.get(e);if(m)return m==a;c|=2,h.set(e,a);var g=r(f(e),f(a),c,u,d,h);return h.delete(e),g;case"[object Symbol]":if(s)return s.call(e)==s.call(a)}return!1}}(),r=function(){if(Yy)return Ky;Yy=1;var e=cC(),t=Object.prototype.hasOwnProperty;return Ky=function(n,r,i,o,a,s){var l=1&i,c=e(n),u=c.length;if(u!=e(r).length&&!l)return!1;for(var d=u;d--;){var h=c[d];if(!(l?h in r:t.call(r,h)))return!1}var f=s.get(n),p=s.get(r);if(f&&p)return f==r&&p==n;var m=!0;s.set(n,r),s.set(r,n);for(var g=l;++d<u;){var v=n[h=c[d]],y=r[h];if(o)var b=l?o(y,v,h,r,n,s):o(v,y,h,n,r,s);if(!(void 0===b?v===y||a(v,y,i,o,s):b)){m=!1;break}g||(g="constructor"==h)}if(m&&!g){var C=n.constructor,w=r.constructor;C==w||!("constructor"in n)||!("constructor"in r)||"function"==typeof C&&C instanceof C&&"function"==typeof w&&w instanceof w||(m=!1)}return s.delete(n),s.delete(r),m}}(),i=function(){if(ob)return ib;ob=1;var e=function(){if(Qy)return Zy;Qy=1;var e=ep()(Wf(),"DataView");return Zy=e}(),t=op(),n=function(){if(Jy)return Xy;Jy=1;var e=ep()(Wf(),"Promise");return Xy=e}(),r=uC(),i=function(){if(rb)return nb;rb=1;var e=ep()(Wf(),"WeakMap");return nb=e}(),o=qf(),a=Jf(),s="[object Map]",l="[object Promise]",c="[object Set]",u="[object WeakMap]",d="[object DataView]",h=a(e),f=a(t),p=a(n),m=a(r),g=a(i),v=o;return(e&&v(new e(new ArrayBuffer(1)))!=d||t&&v(new t)!=s||n&&v(n.resolve())!=l||r&&v(new r)!=c||i&&v(new i)!=u)&&(v=function(e){var t=o(e),n="[object Object]"==t?e.constructor:void 0,r=n?a(n):"";if(r)switch(r){case h:return d;case f:return s;case p:return l;case m:return c;case g:return u}return t}),ib=v}(),o=Hf(),a=xy(),s=oC(),l="[object Arguments]",c="[object Array]",u="[object Object]",d=Object.prototype.hasOwnProperty;return ab=function(h,f,p,m,g,v){var y=o(h),b=o(f),C=y?c:i(h),w=b?c:i(f),E=(C=C==l?u:C)==u,k=(w=w==l?u:w)==u,S=C==w;if(S&&a(h)){if(!a(f))return!1;y=!0,E=!1}if(S&&!E)return v||(v=new e),y||s(h)?t(h,f,p,m,g,v):n(h,f,C,p,m,g,v);if(!(1&p)){var x=E&&d.call(h,"__wrapped__"),T=k&&d.call(f,"__wrapped__");
1if(x||T){var M=x?h.value():h,A=T?f.value():f;return v||(v=new e),g(M,A,p,m,v)}}return!!S&&(v||(v=new e),r(h,f,p,m,g,v))}}function hC(){if(cb)return lb;cb=1;var e=dC(),t=Kf();return lb=function n(r,i,o,a,s){return r===i||(null==r||null==i||!t(r)&&!t(i)?r!=r&&i!=i:e(r,i,o,a,n,s))}}function fC(){if(fb)return hb;fb=1;var e=Qf();return hb=function(t){return t==t&&!e(t)}}function pC(){return vb?gb:(vb=1,gb=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}})}function mC(){return Lb?Ab:(Lb=1,Ab=function(e){return e})}function gC(){if($b)return Fb;$b=1;var e=function(){if(bb)return yb;bb=1;var e=function(){if(db)return ub;db=1;var e=oy(),t=hC();return ub=function(n,r,i,o){var a=i.length,s=a,l=!o;if(null==n)return!s;for(n=Object(n);a--;){var c=i[a];if(l&&c[2]?c[1]!==n[c[0]]:!(c[0]in n))return!1}for(;++a<s;){var u=(c=i[a])[0],d=n[u],h=c[1];if(l&&c[2]){if(void 0===d&&!(u in n))return!1}else{var f=new e;if(o)var p=o(d,h,u,n,r,f);if(!(void 0===p?t(h,d,3,o,f):p))return!1}}return!0}}(),t=function(){if(mb)return pb;mb=1;var e=fC(),t=lC();return pb=function(n){for(var r=t(n),i=r.length;i--;){var o=r[i],a=n[o];r[i]=[o,a,e(a)]}return r}}(),n=pC();return yb=function(r){var i=t(r);return 1==i.length&&i[0][2]?n(i[0][0],i[0][1]):function(t){return t===r||e(t,r,i)}}}(),t=function(){if(Mb)return Tb;Mb=1;var e=hC(),t=pp(),n=function(){if(xb)return Sb;xb=1;var e=wb?Cb:(wb=1,Cb=function(e,t){return null!=e&&t in Object(e)}),t=function(){if(kb)return Eb;kb=1;var e=dp(),t=hy(),n=Hf(),r=Ty(),i=My(),o=hp();return Eb=function(a,s,l){for(var c=-1,u=(s=e(s,a)).length,d=!1;++c<u;){var h=o(s[c]);if(!(d=null!=a&&l(a,h)))break;a=a[h]}return d||++c!=u?d:!!(u=null==a?0:a.length)&&i(u)&&r(h,u)&&(n(a)||t(a))}}();return Sb=function(n,r){return null!=n&&t(n,r,e)}}(),r=Zf(),i=fC(),o=pC(),a=hp();return Tb=function(s,l){return r(s)&&i(l)?o(a(s),l):function(r){var i=t(r,s);return void 0===i&&i===l?n(r,s):e(l,i,3)}}}(),n=mC(),r=Hf(),i=function(){if(_b)return Ib;_b=1;var e=Rb?Pb:(Rb=1,Pb=function(e){return function(t){return null==t?void 0:t[e]}}),t=function(){if(Db)return Ob;Db=1;var e=fp();return Ob=function(t){return function(n){return e(n,t)}}}(),n=Zf(),r=hp();return Ib=function(i){return n(i)?e(r(i)):t(i)}}();return Fb=function(o){return"function"==typeof o?o:null==o?n:"object"==typeof o?r(o)?t(o[0],o[1]):e(o):i(o)}}function vC(){return Bb?Nb:(Bb=1,Nb=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1})}function yC(){if(tC)return eC;tC=1;var e=ay(),t=function(){if(qb)return Gb;qb=1;var e=function(){if(Wb)return Ub;Wb=1;var e=vC(),t=zb?jb:(zb=1,jb=function(e){return e!=e}),n=Hb?Vb:(Hb=1,Vb=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1});return Ub=function(r,i,o){return i==i?n(r,i,o):e(r,t,o)}}();return Gb=function(t,n){return!(null==t||!t.length)&&e(t,n,0)>-1}}(),n=Yb?Kb:(Yb=1,Kb=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}),r=ly(),i=function(){if(Jb)return Xb;Jb=1;var e=uC(),t=Qb?Zb:(Qb=1,Zb=function(){}),n=uy(),r=e&&1/n(new e([,-0]))[1]==1/0?function(t){return new e(t)}:t;return Xb=r}(),o=uy();return eC=function(a,s,l){var c=-1,u=t,d=a.length,h=!0,f=[],p=f;if(l)h=!1,u=n;else if(d>=200){var m=s?null:i(a);if(m)return o(m);h=!1,u=r,p=new e}else p=s?[]:f;e:for(;++c<d;){var g=a[c],v=s?s(g):g;if(g=l||0!==g?g:0,h&&v==v){for(var y=p.length;y--;)if(p[y]===v)continue e;s&&p.push(v),f.push(g)}else u(p,v,l)||(p!==f&&p.push(v),f.push(g))}return f}}const bC=Ne(function(){if(rC)return nC;rC=1;var e=gC(),t=yC();return nC=function(n,r){return n&&n.length?t(n,e(r,2)):[]}}());function CC(e,t,n){return!0===t?bC(e,n):Ep(t)?bC(e,t):e}function wC(e){return(wC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var EC=["ref"];function kC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function SC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?kC(Object(n),!0).forEach(function(t){LC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xC(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,PC(r.key),r)}}function TC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TC=function(){return!!e})()}function MC(e){return(MC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function AC(e,t){return(AC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function LC(e,t,n){return(t=PC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PC(e){var t=function(e){if("object"!=wC(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=wC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==wC(t)?t:t+""}function RC(e){return e.value}var OC,DC,IC,_C,FC,$C,NC,BC,jC,zC,VC,HC,UC,WC,GC,qC,KC,YC,ZC,QC,XC,JC,ew,tw,nw,rw,iw,ow,aw,sw,lw,cw,uw,dw,hw,fw,pw,mw,gw,vw,yw,bw,Cw,ww,Ew=function(){function e(){var t,n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return LC((n=this,r=e,i=[].concat(a),r=MC(r),t=function(e,t){if(t&&("object"===wC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(n,TC()?Reflect.construct(r,i||[],MC(n).constructor):r.apply(n,i))),"lastBoundingBox",{width:-1,height:-1}),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&AC(e,t)}(e,Qt.PureComponent),t=e,r=[{key:"getWithHeight",value:function(e,t){var n=SC(SC({},this.defaultProps),e.props).layout;return"vertical"===n&&Np(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):-1===this.lastBoundingBox.width&&-1===this.lastBoundingBox.height||(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?SC({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,i=r.layout,o=r.align,a=r.verticalAlign,s=r.margin,l=r.chartWidth,c=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===o&&"vertical"===i?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===o?{right:s&&s.right||0}:{left:s&&s.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((c||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),SC(SC({},t),n)}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.width,i=t.height,o=t.wrapperStyle,a=t.payloadUniqBy,s=t.payload,l=SC(SC({position:"absolute",width:r||"auto",height:i||"auto"},this.getDefaultPosition(o)),o);return Xt.createElement("div",{className:"recharts-legend-wrapper",style:l,ref:function(t){e.wrapperNode=t}},function(e,t){if(Xt.isValidElement(e))return Xt.cloneElement(e,t);if("function"==typeof e)return Xt.createElement(e,t);t.ref;var n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,EC);return Xt.createElement(iy,n)}(n,SC(SC({},this.props),{},{payload:CC(s,a,RC)})))}}])&&xC(t.prototype,n),r&&xC(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();function kw(){if(_C)return IC;_C=1;var e=dy(),t=function(){if(DC)return OC;DC=1;var e=Gf(),t=hy(),n=Hf(),r=e?e.isConcatSpreadable:void 0;return OC=function(e){return n(e)||t(e)||!!(r&&e&&e[r])}}();return IC=function n(r,i,o,a,s){var l=-1,c=r.length;for(o||(o=t),s||(s=[]);++l<c;){var u=r[l];i>0&&o(u)?i>1?n(u,i-1,o,a,s):e(s,u):a||(s[s.length]=u)}return s}}function Sw(){if(zC)return jC;zC=1;var e=function(){if(BC)return NC;BC=1;var e=($C?FC:($C=1,FC=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r
1(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}))();return NC=e}(),t=lC();return jC=function(n,r){return n&&e(n,r,t)}}function xw(){if(WC)return UC;WC=1;var e=Sw(),t=function(){if(HC)return VC;HC=1;var e=sC();return VC=function(t,n){return function(r,i){if(null==r)return r;if(!e(r))return t(r,i);for(var o=r.length,a=n?o:-1,s=Object(r);(n?a--:++a<o)&&!1!==i(s[a],a,s););return r}}}()(e);return UC=t}function Tw(){if(qC)return GC;qC=1;var e=xw(),t=sC();return GC=function(n,r){var i=-1,o=t(n)?Array(n.length):[];return e(n,function(e,t,n){o[++i]=r(e,t,n)}),o}}function Mw(){if(tw)return ew;tw=1;var e=cp(),t=fp(),n=gC(),r=Tw(),i=YC?KC:(YC=1,KC=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}),o=Ay(),a=function(){if(JC)return XC;JC=1;var e=function(){if(QC)return ZC;QC=1;var e=Yf();return ZC=function(t,n){if(t!==n){var r=void 0!==t,i=null===t,o=t==t,a=e(t),s=void 0!==n,l=null===n,c=n==n,u=e(n);if(!l&&!u&&!a&&t>n||a&&s&&c&&!l&&!u||i&&s&&c||!r&&c||!o)return 1;if(!i&&!a&&!u&&t<n||u&&r&&o&&!i&&!a||l&&r&&o||!s&&o||!c)return-1}return 0}}();return XC=function(t,n,r){for(var i=-1,o=t.criteria,a=n.criteria,s=o.length,l=r.length;++i<s;){var c=e(o[i],a[i]);if(c)return i>=l?c:c*("desc"==r[i]?-1:1)}return t.index-n.index}}(),s=mC(),l=Hf();return ew=function(c,u,d){u=u.length?e(u,function(e){return l(e)?function(n){return t(n,1===e.length?e[0]:e)}:e}):[s];var h=-1;u=e(u,o(n));var f=r(c,function(t,n,r){return{criteria:e(u,function(e){return e(t)}),index:++h,value:t}});return i(f,function(e,t){return a(e,t,d)})}}function Aw(){if(cw)return lw;cw=1;var e=ep(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(n){}}();return lw=t}function Lw(){if(mw)return pw;mw=1;var e=function(){if(dw)return uw;dw=1;var e=sw?aw:(sw=1,aw=function(e){return function(){return e}}),t=Aw(),n=mC();return uw=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:n}(),t=function(){if(fw)return hw;fw=1;var e=Date.now;return hw=function(t){var n=0,r=0;return function(){var i=e(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}},hw}(),n=t(e);return pw=n}function Pw(){if(bw)return yw;bw=1;var e=np(),t=sC(),n=Ty(),r=Qf();return yw=function(i,o,a){if(!r(a))return!1;var s=typeof o;return!!("number"==s?t(a)&&n(o,a.length):"string"==s&&o in a)&&e(a[o],i)}}LC(Ew,"displayName","Legend"),LC(Ew,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});const Rw=Ne(function(){if(ww)return Cw;ww=1;var e=kw(),t=Mw(),n=function(){if(vw)return gw;vw=1;var e=mC(),t=function(){if(ow)return iw;ow=1;var e=(rw||(rw=1,nw=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}),nw),t=Math.max;return iw=function(n,r,i){return r=t(void 0===r?n.length-1:r,0),function(){for(var o=arguments,a=-1,s=t(o.length-r,0),l=Array(s);++a<s;)l[a]=o[r+a];a=-1;for(var c=Array(r+1);++a<r;)c[a]=o[a];return c[r]=i(l),e(n,this,c)}},iw}(),n=Lw();return gw=function(r,i){return n(t(r,i,e),r+"")}}(),r=Pw(),i=n(function(n,i){if(null==n)return[];var o=i.length;return o>1&&r(n,i[0],i[1])?i=[]:o>2&&r(i[0],i[1],i[2])&&(i=[i[0]]),t(n,e(i,1),[])});return Cw=i}());function Ow(e){return(Ow="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Dw(){return Dw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dw.apply(this,arguments)}function Iw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?_w(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=Ow(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Ow(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==Ow(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_w(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $w(e){return Array.isArray(e)&&Bp(e[0])&&Bp(e[1])?e.join(" ~ "):e}var Nw=function(e){var t=e.separator,n=void 0===t?" : ":t,r=e.contentStyle,i=void 0===r?{}:r,o=e.itemStyle,a=void 0===o?{}:o,s=e.labelStyle,l=void 0===s?{}:s,c=e.payload,u=e.formatter,d=e.itemSorter,h=e.wrapperClassName,f=e.labelClassName,p=e.label,m=e.labelFormatter,g=e.accessibilityLayer,v=void 0!==g&&g,y=Fw({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),b=Fw({margin:0},l),C=!yp(p),w=C?p:"",E=ss("recharts-default-tooltip",h),k=ss("recharts-tooltip-label",f);C&&m&&null!=c&&(w=m(p,c));var S=v?{role:"status","aria-live":"assertive"}:{};return Xt.createElement("div",Dw({className:E,style:y},S),Xt.createElement("p",{className:k,style:b},Xt.isValidElement(w)?w:"".concat(w)),function(){if(c&&c.length){var e=(d?Rw(c,d):c).map(function(e,t){if("none"===e.type)return null;var r=Fw({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},a),i=e.formatter||u||$w,o=e.value,s=e.name,l=o,d=s;if(i&&null!=l&&null!=d){var h=i(o,s,e,t,c);if(Array.isArray(h)){var f=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Iw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Iw(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(h,2);l=f[0],d=f[1]}else l=h}return Xt.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:r},Bp(d)?Xt.createElement("span",{className:"recharts-tooltip-item-name"},d):null,Bp(d)?Xt.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,Xt.createElement("span",{className:"recharts-tooltip-item-value"},l),Xt.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))});return Xt.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function Bw(e){return(Bw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jw(e,t,n){var r;return r=function(e,t){if("object"!=Bw(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Bw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t,"string"),(t="symbol"==Bw(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zw="recharts-tooltip-wrapper",Vw={visibility:"hidden"};function Hw(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return ss(zw,jw(jw(jw(jw({},"".concat(zw,"-right"),Np(n)&&t&&Np(t.x)&&n>=t.x),"".concat(zw,"-left"),Np(n)&&t&&Np(t.x)&&n<t.x),"".concat(zw,"-bottom"),Np(r)&&t&&Np(t.y)&&r>=t.y),"".concat(zw,"-top"),Np(r)&&t&&Np(t.y)&&r<t.y))}function Uw(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,i=e.offsetTopLeft,o=e.position,a=e.reverseDirection,s=e.tooltipDimension,l=e.viewBox,c=e.viewBoxDimension;if(o&&Np(o[r]))return o[r];var u=n[r]-s-i,d=n[r]+i;return t[r]?a[r]?u:d:a[r]?u<l[r]?Math.max(d,l[r]):Math.max(u,l[r]):d+s>l[r]+c?Math.max(u,l[r]):Math.max(d,l[r])}function Ww(e){return(Ww="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Gw(Object(n),!0).forEach(function(t){Qw(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Kw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kw=function(){return!!e})()}function Yw(e){return(Yw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zw(e,t){return(Zw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Qw(e,t,n){return(t=Xw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xw(e){var t=function(e){if("object"!=Ww(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ww(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ww(t)?t:t+""}var Jw=function(){function e(){var t,n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return Qw((n=this,r=e,i=[].concat(a),r=Yw(r),t=function(e,t){if(t&&("object"===Ww(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(n,Kw()?Reflect.construct(r,i||[],Yw(n).constructor):r.apply(n,i))),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),Qw(t,"handleKeyDown",function(e){var n,r,i,o;"Escape"===e.key&&t.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(n=null===(r=t.props.coordinate)||void 0===r?void 0:r.x)&&void 0!==n?n:0,y:null!==(i=null===(o=t.props.coordinate)||void 0===o?void 0:o.y)&&void 0!==i?i:0}})}),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zw(e,t)}(e,Qt.PureComponent),t=e,(n=[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else-1===this.state.lastBoundingBox.width&&-1===this.state.lastBoundingBox.height||this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)===this.state.dismissedAtCoordinate.x&&(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)===this.state.dismissedAtCoordinate.y||(this.state.dismissed=!1))}},{key:"render",value:function(){var e=this,t=this.props,n=t.active,r=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.children,s=t.coordinate,l=t.hasPayload,c=t.isAnimationActive,u=t.offset,d=t.position,h=t.reverseDirection,f=t.useTranslate3d,p=t.viewBox,m=t.wrapperStyle,g=function(e){var t,n,r=e.allowEscapeViewBox,i=e.coordinate,o=e.offsetTopLeft,a=e.position,s=e.reverseDirection,l=e.tooltipBox,c=e.useTranslate3d,u=e.viewBox;return{cssProperties:l.height>0&&l.width>0&&i?function(e){var t=e.translateX,n=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}({translateX:t=Uw({allowEscapeViewBox:r,coordinate:i,key:"x",offsetTopLeft:o,position:a,reverseDirection:s,tooltipDimension:l.width,viewBox:u,viewBoxDimension:u.width}),translateY:n=Uw({allowEscapeViewBox:r,coordinate:i,key:"y",offsetTopLeft:o,position:a,reverseDirection:s,tooltipDimension:l.height,viewBox:u,viewBoxDimension:u.he
1ight}),useTranslate3d:c}):Vw,cssClasses:Hw({translateX:t,translateY:n,coordinate:i})}}({allowEscapeViewBox:r,coordinate:s,offsetTopLeft:u,position:d,reverseDirection:h,tooltipBox:this.state.lastBoundingBox,useTranslate3d:f,viewBox:p}),v=g.cssClasses,y=g.cssProperties,b=qw(qw({transition:c&&n?"transform ".concat(i,"ms ").concat(o):void 0},y),{},{pointerEvents:"none",visibility:!this.state.dismissed&&n&&l?"visible":"hidden",position:"absolute",top:0,left:0},m);return Xt.createElement("div",{tabIndex:-1,className:v,style:b,ref:function(t){e.wrapperNode=t}},a)}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Xw(r.key),r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}(),eE=!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout);function tE(e){return(tE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nE(Object(n),!0).forEach(function(t){sE(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iE=function(){return!!e})()}function oE(e){return(oE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function aE(e,t){return(aE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function sE(e,t,n){return(t=lE(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lE(e){var t=function(e){if("object"!=tE(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=tE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tE(t)?t:t+""}function cE(e){return e.dataKey}var uE,dE,hE,fE,pE,mE,gE,vE,yE,bE,CE,wE,EE=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=arguments,n=oE(n=e),function(e,t){if(t&&("object"===tE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,iE()?Reflect.construct(n,r||[],oE(t).constructor):n.apply(t,r));var t,n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&aE(e,t)}(e,Qt.PureComponent),t=e,(n=[{key:"render",value:function(){var e=this,t=this.props,n=t.active,r=t.allowEscapeViewBox,i=t.animationDuration,o=t.animationEasing,a=t.content,s=t.coordinate,l=t.filterNull,c=t.isAnimationActive,u=t.offset,d=t.payload,h=t.payloadUniqBy,f=t.position,p=t.reverseDirection,m=t.useTranslate3d,g=t.viewBox,v=t.wrapperStyle,y=null!=d?d:[];l&&y.length&&(y=CC(d.filter(function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)}),h,cE));var b=y.length>0;return Xt.createElement(Jw,{allowEscapeViewBox:r,animationDuration:i,animationEasing:o,isAnimationActive:c,active:n,coordinate:s,hasPayload:b,offset:u,position:f,reverseDirection:p,useTranslate3d:m,viewBox:g,wrapperStyle:v},function(e,t){return Xt.isValidElement(e)?Xt.cloneElement(e,t):"function"==typeof e?Xt.createElement(e,t):Xt.createElement(Nw,t)}(a,rE(rE({},this.props),{},{payload:y})))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lE(r.key),r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}();function kE(){if(vE)return gE;vE=1;var e=function(){if(mE)return pE;mE=1;var e=function(){if(fE)return hE;fE=1;var e=/\s/;return hE=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}}(),t=/^\s+/;return pE=function(n){return n?n.slice(0,e(n)+1).replace(t,""):n}}(),t=Qf(),n=Yf(),r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt;return gE=function(s){if("number"==typeof s)return s;if(n(s))return NaN;if(t(s)){var l="function"==typeof s.valueOf?s.valueOf():s;s=t(l)?l+"":l}if("string"!=typeof s)return 0===s?s:+s;s=e(s);var c=i.test(s);return c||o.test(s)?a(s.slice(2),c?2:8):r.test(s)?NaN:+s}}sE(EE,"displayName","Tooltip"),sE(EE,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!eE,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var SE=function(){if(wE)return CE;wE=1;var e=function(){if(bE)return yE;bE=1;var e=Qf(),t=function(){if(dE)return uE;dE=1;var e=Wf();return uE=function(){return e.Date.now()}}
1(),n=kE(),r=Math.max,i=Math.min;return yE=function(o,a,s){var l,c,u,d,h,f,p=0,m=!1,g=!1,v=!0;if("function"!=typeof o)throw new TypeError("Expected a function");function y(e){var t=l,n=c;return l=c=void 0,p=e,d=o.apply(n,t)}function b(e){var t=e-f;return void 0===f||t>=a||t<0||g&&e-p>=u}function C(){var e=t();if(b(e))return w(e);h=setTimeout(C,function(e){var t=a-(e-f);return g?i(t,u-(e-p)):t}(e))}function w(e){return h=void 0,v&&l?y(e):(l=c=void 0,d)}function E(){var e=t(),n=b(e);if(l=arguments,c=this,f=e,n){if(void 0===h)return function(e){return p=e,h=setTimeout(C,a),m?y(e):d}(f);if(g)return clearTimeout(h),h=setTimeout(C,a),y(f)}return void 0===h&&(h=setTimeout(C,a)),d}return a=n(a)||0,e(s)&&(m=!!s.leading,u=(g="maxWait"in s)?r(n(s.maxWait)||0,a):u,v="trailing"in s?!!s.trailing:v),E.cancel=function(){void 0!==h&&clearTimeout(h),p=0,l=f=c=h=void 0},E.flush=function(){return void 0===h?d:w(t())},E},yE}(),t=Qf();return CE=function(n,r,i){var o=!0,a=!0;if("function"!=typeof n)throw new TypeError("Expected a function");return t(i)&&(o="leading"in i?!!i.leading:o,a="trailing"in i?!!i.trailing:a),e(n,r,{leading:o,maxWait:r,trailing:a})},CE}();const xE=Ne(SE);function TE(e){return(TE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ME(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function AE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ME(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=TE(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=TE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==TE(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ME(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function LE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var PE=Qt.forwardRef(function(e,t){var n=e.aspect,r=e.initialDimension,i=void 0===r?{width:-1,height:-1}:r,o=e.width,a=void 0===o?"100%":o,s=e.height,l=void 0===s?"100%":s,c=e.minWidth,u=void 0===c?0:c,d=e.minHeight,h=e.maxHeight,f=e.children,p=e.debounce,m=void 0===p?0:p,g=e.id,v=e.className,y=e.onResize,b=e.style,C=void 0===b?{}:b,w=Qt.useRef(null),E=Qt.useRef();E.current=y,Qt.useImperativeHandle(t,function(){return Object.defineProperty(w.current,"current",{get:function(){return w.current},configurable:!0})});var k,S,x=(k=Qt.useState({containerWidth:i.width,containerHeight:i.height}),S=2,function(e){if(Array.isArray(e))return e}(k)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(k,S)||function(e,t){if(e){if("string"==typeof e)return LE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?LE(e,t):void 0}}(k,S)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),T=x[0],M=x[1],A=Qt.useCallback(function(e,t){M(function(n){var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]);Qt.useEffect(function(){var e=function(e){var t,n=e[0].contentRect,r=n.width,i=n.height;A(r,i),null===(t=E.current)||void 0===t||t.call(E,r,i)};m>0&&(e=xE(e,m,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),n=w.current.getBoundingClientRect(),r=n.width,i=n.height;return A(r,i),t.observe(w.current),function(){t.disconnect()}},[A,m]);var L=Qt.useMemo(function(){var e=T.containerWidth,t=T.containerHeight;if(e<0||t<0)return null;jm($p(a)||$p(l),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,l),jm(!n||n>0,"The aspect(%s) must be greater than zero.",n);var r=$p(a)?e:a,i=$p(l)?t:l;n&&n>0&&(r?i=r/n:i&&(r=i*n),h&&i>h&&(i=h)),jm(r>0||i>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",r,i,a,l,u,d,n);var o=!Array.isArray(f)&&am(f.type).endsWith("Chart");return Xt.Children.map(f,function(e){return Xt.isValidElement(e)?Qt.cloneElement(e,AE({width:r,height:i},o?{style:AE({height:"100%",width:"100%",maxHeight:i,maxWidth:r},e.props.style)}:{})):e})},[n,f,l,h,d,u,T,a]);return Xt.createElement("div",{id:g?"".concat(g):void 0,className:ss("recharts-responsive-container",v),style:AE(A
1E({},C),{},{width:a,height:l,minWidth:u,minHeight:d,maxHeight:h}),ref:w},L)}),RE=function(e){return null};function OE(e){return(OE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function DE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function IE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?DE(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=OE(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=OE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==OE(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}RE.displayName="Cell";var _E={widthCache:{},cacheCount:0},FE={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},$E="recharts_measurement_span",NE=function(e){if(null==e||eE)return{width:0,height:0};var t,n=(t=IE({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),Object.keys(t).forEach(function(e){t[e]||delete t[e]}),t),r=JSON.stringify({text:e,copyStyle:n});if(_E.widthCache[r])return _E.widthCache[r];try{var i=document.getElementById($E);i||((i=document.createElement("span")).setAttribute("id",$E),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var o=IE(IE({},FE),n);Object.assign(i.style,o),i.textContent="".concat(e);var a=i.getBoundingClientRect(),s={width:a.width,height:a.height};return _E.widthCache[r]=s,++_E.cacheCount>2e3&&(_E.cacheCount=0,_E.widthCache={}),s}catch(l){return{width:0,height:0}}};function BE(e){return(BE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return zE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zE(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function VE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,HE(r.key),r)}}function HE(e){var t=function(e){if("object"!=BE(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=BE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==BE(t)?t:t+""}var UE=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,WE=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,GE=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,qE=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,KE={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},YE=Object.keys(KE),ZE="NaN",QE=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),""===n||GE.test(n)||(this.num=NaN,this.unit=""),YE.includes(n)&&(this.num=function(e,t){return e*KE[t]}(t,n),this.unit="px")}return t=e,r=[{key:"parse",value:function(t){var n,r=jE(null!==(n=qE.exec(t))&&void 0!==n?n:[],3),i=r[1],o=r[2];return new e(parseFloat(i),null!=o?o:"")}}],(n=[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}])&&VE(t.prototype,n),r&&VE(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();function XE(e){if(e.includes(ZE))return ZE;for(var t=e;t.includes("*")||t.includes("/");){var n,r=jE(null!==(n=UE.exec(t))&&void 0!==n?n:[],4),i=r[1],o=r[2],a=r[3],s=QE.parse(null!=i?i:""),l=QE.parse(null!=a?a:""),c="*"===o?s.multiply(l):s.divide(l);if(c.isNaN())return ZE;t=t.replace(UE,c.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var u,d=jE(null!==(u=WE.exec(t))&&void 0!==u?u:[],4),h=d[1],f=d[2],p=d[3],m=QE.parse(null!=h?h:""),g=QE.parse(null!=p?p:""),v="+"===f?m.add(g):m.subtract(g);if(v.isNaN())return ZE;t=t.replace(WE,v.toString())}return t}var JE=/\(([^()]*)\)/;function ek(e){var t=function(e){try{return function(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var n=jE(JE.exec(t),2)[1];t=t.replace(JE,XE(n))}return t}(t),XE(t)}(e)}catch(t){return ZE}}(e.slice(5,-1));return t===ZE?"":t}var tk=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],nk=["dx","dy","angle","className","breakAll"];function rk(){return rk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rk.apply(this,arguments)}function ik(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ok(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}
vendor: 9,177 bytes, line 1
1finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ak(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ak(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ak(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var sk=/[ \f\n\r\t\v\u2028\u2029]+/,lk=function(e){var t=e.children,n=e.breakAll,r=e.style;try{var i=[];return yp(t)||(i=n?t.toString().split(""):t.toString().split(sk)),{wordsWithComputedWidth:i.map(function(e){return{word:e,width:NE(e,r).width}}),spaceWidth:n?0:NE(" ",r).width}}catch(o){return null}},ck=function(e){return[{words:yp(e)?[]:e.toString().split(sk)}]},uk="#808080",dk=function(e){var t=e.x,n=void 0===t?0:t,r=e.y,i=void 0===r?0:r,o=e.lineHeight,a=void 0===o?"1em":o,s=e.capHeight,l=void 0===s?"0.71em":s,c=e.scaleToFit,u=void 0!==c&&c,d=e.textAnchor,h=void 0===d?"start":d,f=e.verticalAnchor,p=void 0===f?"end":f,m=e.fill,g=void 0===m?uk:m,v=ik(e,tk),y=Qt.useMemo(function(){return function(e){var t=e.width,n=e.scaleToFit,r=e.children,i=e.style,o=e.breakAll,a=e.maxLines;if((t||n)&&!eE){var s=lk({breakAll:o,children:r,style:i});return s?function(e,t,n,r,i){var o=e.maxLines,a=e.children,s=e.style,l=e.breakAll,c=Np(o),u=a,d=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(e,t){var o=t.word,a=t.width,s=e[e.length-1];if(s&&(null==r||i||s.width+a+n<Number(r)))s.words.push(o),s.width+=a+n;else{var l={words:[o],width:a};e.push(l)}return e},[])},h=d(t);if(!c)return h;for(var f,p=function(e){var t=u.slice(0,e),n=lk({breakAll:l,style:s,children:t+"â¦"}).wordsWithComputedWidth,i=d(n),a=i.length>o||function(e){return e.reduce(function(e,t){return e.width>t.width?e:t})}(i).width>Number(r);return[a,i]},m=0,g=u.length-1,v=0;m<=g&&v<=u.length-1;){var y=Math.floor((m+g)/2),b=ok(p(y-1),2),C=b[0],w=b[1],E=ok(p(y),1)[0];if(C||E||(m=y+1),C&&E&&(g=y-1),!C&&E){f=w;break}v++}return f||h}({breakAll:o,children:r,maxLines:a,style:i},s.wordsWithComputedWidth,s.spaceWidth,t,n):ck(r)}return ck(r)}({breakAll:v.breakAll,children:v.children,maxLines:v.maxLines,scaleToFit:u,style:v.style,width:v.width})},[v.breakAll,v.children,v.maxLines,u,v.style,v.width]),b=v.dx,C=v.dy,w=v.angle,E=v.className,k=v.breakAll,S=ik(v,nk);if(!Bp(n)||!Bp(i))return null;var x,T=n+(Np(b)?b:0),M=i+(Np(C)?C:0);switch(p){case"start":x=ek("calc(".concat(l,")"));break;case"middle":x=ek("calc(".concat((y.length-1)/2," * -").concat(a," + (").concat(l," / 2))"));break;default:x=ek("calc(".concat(y.length-1," * -").concat(a,")"))}var A=[];if(u){var L=y[0].width,P=v.width;A.push("scale(".concat((Np(P)?P/L:1)/L,")"))}return w&&A.push("rotate(".concat(w,", ").concat(T,", ").concat(M,")")),A.length&&(S.transform=A.join(" ")),Xt.createElement("text",rk({},pm(S,!0),{x:T,y:M,className:ss("recharts-text",E),textAnchor:h,fill:g.includes("url")?uk:g}),y.map(function(e,t){var n=e.words.join(k?"":" ");return Xt.createElement("tspan",{x:T,dy:0===t?x:a,key:"".concat(n,"-").concat(t)},n)}))};function hk(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function fk(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function pk(e){let t,n,r;function i(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<0?i=t+1:o=t}while(i<o)}return i}return 2!==e.length?(t=hk,n=(t,n)=>hk(e(t),n),r=(t,n)=>e(t)-n):(t=e===hk||e===fk?e:mk,n=e,r=e),{left:i,center:function(e,t,n=0,o=e.length){const a=i(e,t,n,o-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,i=0,o=e.length){if(i<o){if(0!==t(r,r))return o;do{const t=i+o>>>1;n(e[t],r)<=0?i=t+1:o=t}while(i<o)}return i}}}function mk(){return 0}function gk(e){return null===e?NaN:+e}const vk=pk(hk).right;pk(gk).center;class yk extends Map{constructor(e,t=Ck){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[n,r]of e)this.set(n,r)}get(e){return super.get(bk(this,e))}has(e){return super.has(bk(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function bk({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Ck(e){return null!==e&&"object"==typeof e?e.valueOf():e}function wk(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}const Ek=Math.sqrt(50),kk=Math.sqrt(10),Sk=Math.sqrt(2);function xk(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=Ek?10:o>=kk?5:o>=Sk?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/a,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,i)*a,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=n&&n<2?xk(e,t,2*n):[s,l,c]}function Tk(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[i,o,a]=r?xk(t,e,n):xk(e,t,n);if(!(o>=i))return[];const s=o-i+1,l=new Array(s);if(r)if(a<0)for(let c=0;c<s;++c)l[c]=(o-c)/-a;else for(let c=0;c<s;++c)l[c]=(o-c)*a;else if(a<0)for(let c=0;c<s;++c)l[c]=(i+c)/-a;else for(let c=0;c<s;++c)l[c]=(i+c)*a;return l}function Mk(e,t,n){return xk(e=+e,t=+t,n=+n)[2]}function Ak(e,t,n){n=+n;const r=(t=+t)<(e=+e),i=r?Mk(t,e,n):Mk(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function Lk(e,t){let n;for(const r of e)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);return n}function Pk(e,t){let n;for(const r of e)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);return n}function Rk(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=void 0===i?wk:function(e=hk){if(e===hk)return wk;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}(i);r>n;){if(r-n>600){const o=r-n+1,a=t-n+1,s=Math.log(o),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(o-l)/o)*(a-o/2<0?-1:1);Rk(e,t,Math.max(n,Math.floor(t-a*l/o+c)),Math.min(r,Math.floor(t+(o-a)*l/o+c)),i)}const o=e[t];let a=n,s=r;for(Ok(e,n,t),i(e[r],o)>0&&Ok(e,n,r);a<s;){for(Ok(e,a,s),++a,--s;i(e[a],o)<0;)++a;for(;i(e[s],o)>0;)--s}0===i(e[n],o)?Ok(e,n,s):(++s,Ok(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function Ok(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Dk(e,t,n=gk){if((r=e.length)&&!isNaN(t=+t)){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),a=+n(e[o],o,e);return a+(+n(e[o+1],o+1,e)-a)*(i-o)}}function Ik(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function _k(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}const Fk=Symbol("implicit");function $k(){var e=new yk,t=[],n=[],r=Fk;function i(i){let o=e.get(i);if(void 0===o){if(r!==Fk)return r;e.set(i,o=t.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new yk;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return $k(t,n).unknown(r)},Ik.apply(i,arguments),i}function Nk(){var e,t,n=$k().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,l=0,c=0,u=.5;function d(){var n=r().length,d=a<o,h=d?a:o,f=d?o:a;e=(f-h)/Math.max(1,n-l+2*c),s&&(e=Math.floor(e)),h+=(f-h-e*(n-l))*u,t=e*(1-l),s&&(h=Math.round(h),t=Math.round(t));var p=function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),o=new Array(i);++r<i;)o[r]=e+r*n;return o}(n).map(function(t){return h+e*t});return i(d?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),d()):r()},n.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,d()):[o,a]},n.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,s=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(s=!!e,d()):s},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),d()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),d()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},n.copy=function(){return Nk(r(),[o,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},Ik.apply(d(),arguments)}function Bk(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Bk(t())},e}function jk(){return Bk(Nk.apply(null,arguments).paddingInner(1))}
vendor: 4,955 bytes, line 1
1function zk(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Vk(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Hk(){}var Uk=.7,Wk=1/Uk,Gk="\\s*([+-]?\\d+)\\s*",qk="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Kk="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Yk=/^#([0-9a-f]{3,8})$/,Zk=new RegExp(`^rgb\\(${Gk},${Gk},${Gk}\\)$`),Qk=new RegExp(`^rgb\\(${Kk},${Kk},${Kk}\\)$`),Xk=new RegExp(`^rgba\\(${Gk},${Gk},${Gk},${qk}\\)$`),Jk=new RegExp(`^rgba\\(${Kk},${Kk},${Kk},${qk}\\)$`),eS=new RegExp(`^hsl\\(${qk},${Kk},${Kk}\\)$`),tS=new RegExp(`^hsla\\(${qk},${Kk},${Kk},${qk}\\)$`),nS={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function rS(){return this.rgb().formatHex()}function iS(){return this.rgb().formatRgb()}function oS(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Yk.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?aS(t):3===n?new uS(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?sS(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?sS(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Zk.exec(e))?new uS(t[1],t[2],t[3],1):(t=Qk.exec(e))?new uS(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Xk.exec(e))?sS(t[1],t[2],t[3],t[4]):(t=Jk.exec(e))?sS(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=eS.exec(e))?gS(t[1],t[2]/100,t[3]/100,1):(t=tS.exec(e))?gS(t[1],t[2]/100,t[3]/100,t[4]):nS.hasOwnProperty(e)?aS(nS[e]):"transparent"===e?new uS(NaN,NaN,NaN,0):null}function aS(e){return new uS(e>>16&255,e>>8&255,255&e,1)}function sS(e,t,n,r){return r<=0&&(e=t=n=NaN),new uS(e,t,n,r)}function lS(e){return e instanceof Hk||(e=oS(e)),e?new uS((e=e.rgb()).r,e.g,e.b,e.opacity):new uS}function cS(e,t,n,r){return 1===arguments.length?lS(e):new uS(e,t,n,null==r?1:r)}function uS(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function dS(){return`#${mS(this.r)}${mS(this.g)}${mS(this.b)}`}function hS(){const e=fS(this.opacity);return`${1===e?"rgb(":"rgba("}${pS(this.r)}, ${pS(this.g)}, ${pS(this.b)}${1===e?")":`, ${e})`}`}function fS(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function pS(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function mS(e){return((e=pS(e))<16?"0":"")+e.toString(16)}function gS(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new bS(e,t,n,r)}
vendor: 4,435 bytes, line 1
1function vS(e){if(e instanceof bS)return new bS(e.h,e.s,e.l,e.opacity);if(e instanceof Hk||(e=oS(e)),!e)return new bS;if(e instanceof bS)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+6*(n<r):n===o?(r-t)/s+2:(t-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new bS(a,s,l,e.opacity)}function yS(e,t,n,r){return 1===arguments.length?vS(e):new bS(e,t,n,null==r?1:r)}function bS(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function CS(e){return(e=(e||0)%360)<0?e+360:e}function wS(e){return Math.max(0,Math.min(1,e||0))}function ES(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}zk(Hk,oS,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:rS,formatHex:rS,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return vS(this).formatHsl()},formatRgb:iS,toString:iS}),zk(uS,cS,Vk(Hk,{brighter(e){return e=null==e?Wk:Math.pow(Wk,e),new uS(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Uk:Math.pow(Uk,e),new uS(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new uS(pS(this.r),pS(this.g),pS(this.b),fS(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:dS,formatHex:dS,formatHex8:function(){return`#${mS(this.r)}${mS(this.g)}${mS(this.b)}${mS(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:hS,toString:hS})),zk(bS,yS,Vk(Hk,{brighter(e){return e=null==e?Wk:Math.pow(Wk,e),new bS(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Uk:Math.pow(Uk,e),new bS(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new uS(ES(e>=240?e-240:e+120,i,r),ES(e,i,r),ES(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new bS(CS(this.h),wS(this.s),wS(this.l),fS(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=fS(this.opacity);return`${1===e?"hsl(":"hsla("}${CS(this.h)}, ${100*wS(this.s)}%, ${100*wS(this.l)}%${1===e?")":`, ${e})`}`}}));const kS=Math.PI/180,SS=180/Math.PI,xS=.96422,TS=.82521,MS=4/29,AS=6/29,LS=3*AS*AS,PS=AS*AS*AS;function RS(e){if(e instanceof DS)return new DS(e.l,e.a,e.b,e.opacity);if(e instanceof BS)return jS(e);e instanceof uS||(e=lS(e));var t,n,r=$S(e.r),i=$S(e.g),o=$S(e.b),a=IS((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?t=n=a:(t=IS((.4360747*r+.3850649*i+.1430804*o)/xS),n=IS((.0139322*r+.0971045*i+.7141733*o)/TS)),new DS(116*a-16,500*(t-a),200*(a-n),e.opacity)}function OS(e,t,n,r){return 1===arguments.length?RS(e):new DS(e,t,n,null==r?1:r)}function DS(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function IS(e){return e>PS?Math.pow(e,1/3):e/LS+MS}function _S(e){return e>AS?e*e*e:LS*(e-MS)}function FS(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function $S(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function NS(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof BS)return new BS(e.h,e.c,e.l,e.opacity);if(e instanceof DS||(e=RS(e)),0===e.a&&0===e.b)return new BS(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*SS;return new BS(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new BS(e,t,n,null==r?1:r)}function BS(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function jS(e){if(isNaN(e.h))return new DS(e.l,0,0,e.opacity);var t=e.h*kS;return new DS(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}zk(DS,OS,Vk(Hk,{brighter(e){return new DS(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new DS(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new uS(FS(3.1338561*(t=xS*_S(t))-1.6168667*(e=1*_S(e))-.4906146*(n=TS*_S(n))),FS(-.9787684*t+1.9161415*e+.033454*n),FS(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),zk(BS,NS,Vk(Hk,{brighter(e){return new BS(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new BS(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return jS(this).rgb()}}));var zS=-.14861,VS=1.78277,HS=-.29227,US=-.90649,WS=1.97294,GS=WS*US,qS=WS
vendor: 4,459 bytes, line 1
1*VS,KS=VS*HS-US*zS;function YS(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof ZS)return new ZS(e.h,e.s,e.l,e.opacity);e instanceof uS||(e=lS(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(KS*r+GS*t-qS*n)/(KS+GS-qS),o=r-i,a=(WS*(n-i)-HS*o)/US,s=Math.sqrt(a*a+o*o)/(WS*i*(1-i)),l=s?Math.atan2(a,o)*SS-120:NaN;return new ZS(l<0?l+360:l,s,i,e.opacity)}(e):new ZS(e,t,n,null==r?1:r)}function ZS(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}zk(ZS,YS,Vk(Hk,{brighter(e){return e=null==e?Wk:Math.pow(Wk,e),new ZS(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Uk:Math.pow(Uk,e),new ZS(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*kS,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new uS(255*(t+n*(zS*r+VS*i)),255*(t+n*(HS*r+US*i)),255*(t+n*(WS*r)),this.opacity)}}));const QS=e=>()=>e;function XS(e,t){return function(n){return e+n*t}}function JS(e,t){var n=t-e;return n?XS(e,n>180||n<-180?n-360*Math.round(n/360):n):QS(isNaN(e)?t:e)}function ex(e,t){var n=t-e;return n?XS(e,n):QS(isNaN(e)?t:e)}const tx=function e(t){var n=function(e){return 1===(e=+e)?ex:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):QS(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=cS(e)).r,(t=cS(t)).r),i=n(e.g,t.g),o=n(e.b,t.b),a=ex(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function nx(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}}function rx(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=ux(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<i;++n)a[n]=o[n](e);return a}}function ix(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function ox(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function ax(e,t){var n,r={},i={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=ux(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}var sx=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,lx=new RegExp(sx.source,"g");function cx(e,t){var n,r,i,o=sx.lastIndex=lx.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=sx.exec(e))&&(r=lx.exec(t));)(i=r.index)>o&&(i=t.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:ox(n,r)})),o=lx.lastIndex;return o<t.length&&(i=t.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function ux(e,t){var n,r,i=typeof t;return null==t||"boolean"===i?QS(t):("number"===i?ox:"string"===i?(n=oS(t))?(t=n,tx):cx:t instanceof oS?tx:t instanceof Date?ix:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?rx:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?ax:ox:nx))(e,t)}function dx(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function hx(e){return function(t,n){var r=e((t=yS(t)).h,(n=yS(n)).h),i=ex(t.s,n.s),o=ex(t.l,n.l),a=ex(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=i(e),t.l=o(e),t.opacity=a(e),t+""}}}const fx=hx(JS);var px=hx(ex);function mx(e,t){var n=ex((e=OS(e)).l,(t=OS(t)).l),r=ex(e.a,t.a),i=ex(e.b,t.b),o=ex(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=i(t),e.opacity=o(t),e+""}}function gx(e){return function(t,n){var r=e((t=NS(t)).h,(n=NS(n)).h),i=ex(t.c,n.c),o=ex(t.l,n.l),a=ex(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=o(e),t.opacity=a(e),t+""}}}const vx=gx(JS);var yx=gx(ex);function bx(e){return function t(n){function r(t,r){var i=e((t=YS(t)).h,(r=YS(r)).h),o=ex(t.s,r.s),a=ex(t.l,r.l),s=ex(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}const Cx=bx(JS);var wx=bx(ex);function Ex(e){return+e}var kx=[0,1];function Sx(e){return e}function xx(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function Tx(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i<r?(r=xx(i,r),o=n(a,o)):(r=xx(r,i),o=n(o,a)),function(e){return o(r(e))}}
vendor: 6,282 bytes, line 1
1function Mx(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),o=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)i[a]=xx(e[a],e[a+1]),o[a]=n(t[a],t[a+1]);return function(t){var n=vk(e,t,1,r)-1;return o[n](i[n](t))}}function Ax(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Lx(){var e,t,n,r,i,o,a=kx,s=kx,l=ux,c=Sx;function u(){var e,t,n,l=Math.min(a.length,s.length);return c!==Sx&&(e=a[0],t=a[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?Mx:Tx,i=o=null,d}function d(t){return null==t||isNaN(t=+t)?n:(i||(i=r(a.map(e),s,l)))(e(c(t)))}return d.invert=function(n){return c(t((o||(o=r(s,a.map(e),ox)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,Ex),u()):a.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=dx,u()},d.clamp=function(e){return arguments.length?(c=!!e||Sx,u()):c!==Sx},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function Px(){return Lx()(Sx,Sx)}function Rx(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Ox(e){return(e=Rx(Math.abs(e)))?e[1]:NaN}var Dx,Ix=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _x(e){if(!(t=Ix.exec(e)))throw new Error("invalid format: "+e);var t;return new Fx({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Fx(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function $x(e,t){var n=Rx(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}_x.prototype=Fx.prototype,Fx.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Nx={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>$x(100*e,t),r:$x,s:function(e,t){var n=Rx(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(Dx=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Rx(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Bx(e){return e}var jx,zx,Vx,Hx=Array.prototype.map,Ux=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Wx(e,t,n,r){var i,o=Ak(e,t,n);switch((r=_x(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ox(t)/3)))-Ox(Math.abs(e)))}(o,a))||(r.precision=i),Vx(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Ox(t)-Ox(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(e){return Math.max(0,-Ox(Math.abs(e)))}(o))||(r.precision=i-2*("%"===r.type))}return zx(r)}function Gx(e){var t=e.domain;return e.ticks=function(e){var n=t();return Tk(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Wx(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i,o=t(),a=0,s=o.length-1,l=o[a],c=o[s],u=10;for(c<l&&(i=l,l=c,c=i,i=a,a=s,s=i);u-- >0;){if((i=Mk(l,c,n))===r)return o[a]=l,o[s]=c,t(o);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return e},e}function qx(){var e=Px();return e.copy=function(){return Ax(e,qx())},Ik.apply(e,arguments),Gx(e)}function Kx(e,t){var n,r=0,i=(e=e.slice()).length-1,o=e[r],a=e[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),e[r]=t.floor(o),e[i]=t.ceil(a),e}function Yx(e){return Math.log(e)}function Zx(e){return Math.exp(e)}function Qx(e){return-Math.log(-e)}function Xx(e){return-Math.exp(-e)}function Jx(e){return isFinite(e)?+("1e"+e):e<0?0:e}function eT(e){return(t,n)=>-e(-t,n)}function tT(e){const t=e(Yx,Zx),n=t.domain;let r,i,o=10;function a(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(o),i=function(e){return 10===e?Jx:e===Math.E?Math.exp:t=>Math.pow(e,t)}(o),n()[0]<0?(r=eT(r),i=eT(i),e(Qx,Xx)):e(Yx,Zx),t}return t.base=function(e){return arguments.length?(o=+e,a()):o},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const l=s<a;l&&([a,s]=[s,a]);let c,u,d=r(a),h=r(s);const f=null==e?10:+e;let p=[];if(!(o%1)&&h-d<f){if(d=Math.floor(d),h=Math.ceil(h),a>0){for(;d<=h;++d)for(c=1;c<o;++c)if(u=d<0?c/i(-d):c*i(d),!(u<a)){if(u>s)break;p.push(u)}}else for(;d<=h;++d)for(c=o-1;c>=1;--c)if(u=d>0?c/i(-d):c*i(d),!(u<a)){if(u>s)break;p.push(u)}2*p.length<f&&(p=Tk(a,s,f))}else p=Tk(d,h,Math.min(h-d,f)).map(i);return l?p.reverse():p},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===o?"s":","),"function"!=typeof n&&(o%1||null!=(n=_x(n)).precision||(n.trim=!0),n=zx(n)),e===1/0)return n;const a=Math.max(1,o*e/t.ticks().length);return e=>{let t=e/i(Math.round(r(e)));return t*o<o-.5&&(t*=o),t<=a?n(e):""}},t.nice=()=>n(Kx(n(),{floor:e=>i(Math.floor(r(e))),ceil:e=>i(Math.ceil(r(e)))})),t}
vendor: 8,347 bytes, line 1
1function nT(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function rT(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function iT(e){var t=1,n=e(nT(t),rT(t));return n.constant=function(n){return arguments.length?e(nT(t=+n),rT(t)):t},Gx(n)}function oT(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function aT(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function sT(e){return e<0?-e*e:e*e}function lT(e){var t=e(Sx,Sx),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(Sx,Sx):.5===n?e(aT,sT):e(oT(n),oT(1/n)):n},Gx(t)}function cT(){var e=lT(Lx());return e.copy=function(){return Ax(e,cT()).exponent(e.exponent())},Ik.apply(e,arguments),e}function uT(e){return Math.sign(e)*e*e}jx=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Bx:(t=Hx.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(e.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(n)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?Bx:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(Hx.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"â":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=_x(e)).fill,n=e.align,d=e.sign,h=e.symbol,f=e.zero,p=e.width,m=e.comma,g=e.precision,v=e.trim,y=e.type;"n"===y?(m=!0,y="g"):Nx[y]||(void 0===g&&(g=12),v=!0,y="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var b="$"===h?i:"#"===h&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",C="$"===h?o:/[%p]/.test(y)?l:"",w=Nx[y],E=/[defgprs%]/.test(y);function k(e){var i,o,l,h=b,k=C;if("c"===y)k=w(e)+k,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:w(Math.abs(e),g),v&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),S&&0===+e&&"+"!==d&&(S=!1),h=(S?"("===d?d:c:"-"===d||"("===d?"":d)+h,k=("s"===y?Ux[8+Dx/3]:"")+k+(S&&"("===d?")":""),E)for(i=-1,o=e.length;++i<o;)if(48>(l=e.charCodeAt(i))||l>57){k=(46===l?a+e.slice(i+1):e.slice(i))+k,e=e.slice(0,i);break}}m&&!f&&(e=r(e,1/0));var x=h.length+e.length+k.length,T=x<p?new Array(p-x+1).join(t):"";switch(m&&f&&(e=r(T+e,T.length?p-k.length:1/0),T=""),n){case"<":e=h+e+k+T;break;case"=":e=h+T+e+k;break;case"^":e=T.slice(0,x=T.length>>1)+h+e+k+T.slice(x);break;default:e=T+h+e+k}return s(e)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=_x(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Ox(t)/3))),i=Math.pow(10,-r),o=Ux[8+r/3];return function(e){return n(i*e)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),zx=jx.format,Vx=jx.formatPrefix;const dT=new Date,hT=new Date;function fT(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{const t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),i.range=(n,r,o)=>{const a=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return a;let s;do{a.push(s=new Date(+n)),t(n,o),e(n)}while(s<n&&n<r);return a},i.filter=n=>fT(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(dT.setTime(+t),hT.setTime(+r),e(dT),e(hT),Math.floor(n(dT,hT))),i.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i:null)),i}const pT=fT(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);pT.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?fT(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):pT:null),pT.range;const mT=1e3,gT=6e4,vT=36e5,yT=864e5,bT=6048e5,CT=31536e6,wT=fT(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*mT)},(e,t)=>(t-e)/mT,e=>e.getUTCSeconds());wT.range;const ET=fT(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*mT)},(e,t)=>{e.setTime(+e+t*gT)},(e,t)=>(t-e)/gT,e=>e.getMinutes());ET.range;const kT=fT(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*gT)},(e,t)=>(t-e)/gT,e=>e.getUTCMinutes());kT.range;const ST=fT(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*mT-e.getMinutes()*gT)},(e,t)=>{e.setTime(+e+t*vT)},(e,t)=>(t-e)/vT,e=>e.getHours());ST.range;const xT=fT(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*vT)},(e,t)=>(t-e)/vT,e=>e.getUTCHours());xT.range;const TT=fT(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*gT)/yT,e=>e.getDate()-1);TT.range;const MT=fT(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/yT,e=>e.getUTCDate()-1);MT.range;const AT=fT(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/yT,e=>Math.floor(e/yT));function LT(e){return fT(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+7*t)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*gT)/bT)}AT.range;const PT=LT(0),RT=LT(1),OT=LT(2),DT=LT(3),IT=LT(4),_T=LT(5),FT=LT(6);function $T(e){return fT(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)},(e,t)=>(t-e)/bT)}PT.range,RT.range,OT.range,DT.range,IT.range,_T.range,FT.range;const NT=$T(0),BT=$T(1),jT=$T(2),zT=$T(3),VT=$T(4),HT=$T(5),UT=$T(6);NT.range,BT.range,jT.range,zT.range,VT.range,HT.range,UT.range;const WT=fT(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear()),e=>e.getMonth());WT.range;const GT=fT(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear()),e=>e.getUTCMonth());GT.range;const qT=fT(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());qT.every=e=>isFinite(e=Math.floor(e))&&e>0?fT(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}):null,qT.range;const KT=fT(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());function YT(e,t,n,r,i,o){const a=[[wT,1,mT],[wT,5,5e3],[wT,15,15e3],[wT,30,3e4],[o,1,gT],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,vT],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,yT],[r,2,1728e5],[n,1,bT],[t,1,2592e6],[t,3,7776e6],[e,1,CT]];function s(t,n,r){const i=Math.abs(n-t)/r,o=pk(([,,e])=>e).right(a,i);if(o===a.length)return e.every(Ak(t/CT,n/CT,r));if(0===o)return pT.every(Math.max(Ak(t,n,r),1));const[s,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const i=n&&"function"==typeof n.range?n:s(e,t,n),o=i?i.range(e,+t+1):[];return r?o.reverse():o},s]}KT.every=e=>isFinite(e=Math.floor(e))&&e>0?fT(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null,KT.range;const[ZT,QT]=YT(KT,GT,NT,AT,xT,kT),[XT,JT]=YT(qT,WT,PT,TT,ST,ET);function eM(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function tM(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function nM(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var rM,iM,oM,aM={"-":"",_:" ",0:"0"},sM=/^\s*\d+/,lM=/^%/,cM=/[\\^$*+?|[\]().{}]/g;function uM(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(t)+i:i)}function dM(e){return e.replace(cM,"\\$&")}function hM(e){return new RegExp("^(?:"+e.map(dM).join("|")+")","i")}function fM(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}
vendor: 4,352 bytes, line 1
1function pM(e,t,n){var r=sM.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function mM(e,t,n){var r=sM.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function gM(e,t,n){var r=sM.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function vM(e,t,n){var r=sM.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function yM(e,t,n){var r=sM.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function bM(e,t,n){var r=sM.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function CM(e,t,n){var r=sM.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function wM(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function EM(e,t,n){var r=sM.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function kM(e,t,n){var r=sM.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function SM(e,t,n){var r=sM.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function xM(e,t,n){var r=sM.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function TM(e,t,n){var r=sM.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function MM(e,t,n){var r=sM.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function AM(e,t,n){var r=sM.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function LM(e,t,n){var r=sM.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function PM(e,t,n){var r=sM.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function RM(e,t,n){var r=lM.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function OM(e,t,n){var r=sM.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function DM(e,t,n){var r=sM.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function IM(e,t){return uM(e.getDate(),t,2)}function _M(e,t){return uM(e.getHours(),t,2)}function FM(e,t){return uM(e.getHours()%12||12,t,2)}function $M(e,t){return uM(1+TT.count(qT(e),e),t,3)}function NM(e,t){return uM(e.getMilliseconds(),t,3)}function BM(e,t){return NM(e,t)+"000"}function jM(e,t){return uM(e.getMonth()+1,t,2)}function zM(e,t){return uM(e.getMinutes(),t,2)}function VM(e,t){return uM(e.getSeconds(),t,2)}function HM(e){var t=e.getDay();return 0===t?7:t}function UM(e,t){return uM(PT.count(qT(e)-1,e),t,2)}function WM(e){var t=e.getDay();return t>=4||0===t?IT(e):IT.ceil(e)}function GM(e,t){return e=WM(e),uM(IT.count(qT(e),e)+(4===qT(e).getDay()),t,2)}function qM(e){return e.getDay()}function KM(e,t){return uM(RT.count(qT(e)-1,e),t,2)}function YM(e,t){return uM(e.getFullYear()%100,t,2)}function ZM(e,t){return uM((e=WM(e)).getFullYear()%100,t,2)}function QM(e,t){return uM(e.getFullYear()%1e4,t,4)}function XM(e,t){var n=e.getDay();return uM((e=n>=4||0===n?IT(e):IT.ceil(e)).getFullYear()%1e4,t,4)}function JM(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+uM(t/60|0,"0",2)+uM(t%60,"0",2)}function eA(e,t){return uM(e.getUTCDate(),t,2)}function tA(e,t){return uM(e.getUTCHours(),t,2)}function nA(e,t){return uM(e.getUTCHours()%12||12,t,2)}function rA(e,t){return uM(1+MT.count(KT(e),e),t,3)}function iA(e,t){return uM(e.getUTCMilliseconds(),t,3)}function oA(e,t){return iA(e,t)+"000"}function aA(e,t){return uM(e.getUTCMonth()+1,t,2)}function sA(e,t){return uM(e.getUTCMinutes(),t,2)}function lA(e,t){return uM(e.getUTCSeconds(),t,2)}function cA(e){var t=e.getUTCDay();return 0===t?7:t}function uA(e,t){return uM(NT.count(KT(e)-1,e),t,2)}function dA(e){var t=e.getUTCDay();return t>=4||0===t?VT(e):VT.ceil(e)}function hA(e,t){return e=dA(e),uM(VT.count(KT(e),e)+(4===KT(e).getUTCDay()),t,2)}function fA(e){return e.getUTCDay()}function pA(e,t){return uM(BT.count(KT(e)-1,e),t,2)}function mA(e,t){return uM(e.getUTCFullYear()%100,t,2)}function gA(e,t){return uM((e=dA(e)).getUTCFullYear()%100,t,2)}function vA(e,t){return uM(e.getUTCFullYear()%1e4,t,4)}function yA(e,t){var n=e.getUTCDay();return uM((e=n>=4||0===n?VT(e):VT.ceil(e)).getUTCFullYear()%1e4,t,4)}function bA(){return"+0000"}function CA(){return"%"}function wA(e){return+e}function EA(e){return Math.floor(+e/1e3)}function kA(e){return new Date(e)}function SA(e){return e instanceof Date?+e:+new Date(+e)}function xA(e,t,n,r,i,o,a,s,l,c){var u=Px(),d=u.invert,h=u.domain,f=c(".%L"),p=c(":%S"),m=c("%I:%M"),g=c("%I %p"),v=c("%a %d"),y=c("%b %
1d"),b=c("%B"),C=c("%Y");function w(e){return(l(e)<e?f:s(e)<e?p:a(e)<e?m:o(e)<e?g:r(e)<e?i(e)<e?v:y:n(e)<e?b:C)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?h(Array.from(e,SA)):h().map(kA)},u.ticks=function(t){var n=h();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?w:c(t)},u.nice=function(e){var n=h();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?h(Kx(n,e)):u},u.copy=function(){return Ax(u,xA(e,t,n,r,i,o,a,s,l,c))},u}function TA(){return Ik.apply(xA(XT,JT,qT,WT,PT,TT,ST,ET,wT,iM).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function MA(){var e,t,n,r,i,o=0,a=1,s=Sx,l=!1;function c(t){return null==t||isNaN(t=+t)?i:s(0===n?.5:(t=(r(t)-e)*n,l?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,s=e(n,r),c):[s(0),s(1)]}}return c.domain=function(i){return arguments.length?([o,a]=i,e=r(o=+o),t=r(a=+a),n=e===t?0:1/(t-e),c):[o,a]},c.clamp=function(e){return arguments.length?(l=!!e,c):l},c.interpolator=function(e){return arguments.length?(s=e,c):s},c.range=u(ux),c.rangeRound=u(dx),c.unknown=function(e){return arguments.length?(i=e,c):i},function(i){return r=i,e=i(o),t=i(a),n=e===t?0:1/(t-e),c}}function AA(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function LA(){var e=lT(MA());return e.copy=function(){return AA(e,LA()).exponent(e.exponent())},_k.apply(e,arguments)}function PA(){var e,t,n,r,i,o,a,s=0,l=.5,c=1,u=1,d=Sx,h=!1;function f(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(u*e<u*t?r:i),d(h?Math.max(0,Math.min(1,e)):e))}function p(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,d=function(e,t){void 0===t&&(t=e,e=ux);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return o[t](e-t)}}(e,[n,r,i]),f):[d(0),d(.5),d(1)]}}return f.domain=function(a){return arguments.length?([s,l,c]=a,e=o(s=+s),t=o(l=+l),n=o(c=+c),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),u=t<e?-1:1,f):[s,l,c]},f.clamp=function(e){return arguments.length?(h=!!e,f):h},f.interpolator=function(e){return arguments.length?(d=e,f):d},f.range=p(ux),f.rangeRound=p(dx),f.unknown=function(e){return arguments.length?(a=e,f):a},function(a){return o=a,e=a(s),t=a(l),n=a(c),r=e===t?0:.5/(t-e),i=t===n?0:.5/(n-t),u=t<e?-1:1,f}}function RA(){var e=lT(PA());return e.copy=function(){return AA(e,RA()).exponent(e.exponent())},_k.apply(e,arguments)}rM=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=hM(i),u=fM(i),d=hM(o),h=fM(o),f=hM(a),p=fM(a),m=hM(s),g=fM(s),v=hM(l),y=fM(l),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:IM,e:IM,f:BM,g:ZM,G:XM,H:_M,I:FM,j:$M,L:NM,m:jM,M:zM,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:wA,s:EA,S:VM,u:HM,U:UM,V:GM,w:qM,W:KM,x:null,X:null,y:YM,Y:QM,Z:JM,"%":CA},C={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:eA,e:eA,f:oA,g:gA,G:yA,H:tA,I:nA,j:rA,L:iA,m:aA,M:sA,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:wA,s:EA,S:lA,u:cA,U:uA,V:hA,w:fA,W:pA,x:null,X:null,y:mA,Y:vA,Z:bA,"%":CA},w={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return S(e,t,n,r)},d:SM,e:SM,f:PM,g:CM,G:bM,H:TM,I:TM,j:xM,L:LM,m:kM,M:MM,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:EM,Q:OM,s:DM,S:AM,u:mM,U:gM,V:vM,w:pM,W:yM,x:function(e,t,r){return S(e,n,t,r)},X:function(e,t,n){return S(e,r,t,n)},y:CM,Y:bM,Z:wM,"%":RM};function E(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(i=aM[r=e.charAt(++s)])?r=e.charAt(++s):i="e"===r?" ":"0",(o=t[r])&&(r=o(n,i)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function k(e,t){return function(n){var r,i,o=nM(1900,void 0,1);if(S(o,e,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(t&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){
vendor: 8,808 bytes, line 1
1if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=tM(nM(o.y,0,1))).getUTCDay(),r=i>4||0===i?BT.ceil(r):BT(r),r=MT.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=eM(nM(o.y,0,1))).getDay(),r=i>4||0===i?RT.ceil(r):RT(r),r=TT.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?tM(nM(o.y,0,1)).getUTCDay():eM(nM(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,tM(o)):eM(o)}}function S(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=w[i in aM?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=E(n,b),b.X=E(r,b),b.c=E(t,b),C.x=E(n,C),C.X=E(r,C),C.c=E(t,C),{format:function(e){var t=E(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=E(e+="",C);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),iM=rM.format,rM.parse,oM=rM.utcFormat,rM.utcParse;const OA=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:Nk,scaleDiverging:function e(){var t=Gx(PA()(Sx));return t.copy=function(){return AA(t,e())},_k.apply(t,arguments)},scaleDivergingLog:function e(){var t=tT(PA()).domain([.1,1,10]);return t.copy=function(){return AA(t,e()).base(t.base())},_k.apply(t,arguments)},scaleDivergingPow:RA,scaleDivergingSqrt:function(){return RA.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function e(){var t=iT(PA());return t.copy=function(){return AA(t,e()).constant(t.constant())},_k.apply(t,arguments)},scaleIdentity:function e(t){var n;function r(e){return null==e||isNaN(e=+e)?n:e}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,Ex),r):t.slice()},r.unknown=function(e){return arguments.length?(n=e,r):n},r.copy=function(){return e(t).unknown(n)},t=arguments.length?Array.from(t,Ex):[0,1],Gx(r)},scaleImplicit:Fk,scaleLinear:qx,scaleLog:function e(){const t=tT(Lx()).domain([1,10]);return t.copy=()=>Ax(t,e()).base(t.base()),Ik.apply(t,arguments),t},scaleOrdinal:$k,scalePoint:jk,scalePow:cT,scaleQuantile:function e(){var t,n=[],r=[],i=[];function o(){var e=0,t=Math.max(1,r.length);for(i=new Array(t-1);++e<t;)i[e-1]=Dk(n,e/t);return a}function a(e){return null==e||isNaN(e=+e)?t:r[vk(i,e)]}return a.invertExtent=function(e){var t=r.indexOf(e);return t<0?[NaN,NaN]:[t>0?i[t-1]:n[0],t<i.length?i[t]:n[n.length-1]]},a.domain=function(e){if(!arguments.length)return n.slice();n=[];for(let t of e)null==t||isNaN(t=+t)||n.push(t);return n.sort(hk),o()},a.range=function(e){return arguments.length?(r=Array.from(e),o()):r.slice()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.quantiles=function(){return i.slice()},a.copy=function(){return e().domain(n).range(r).unknown(t)},Ik.apply(a,arguments)},scaleQuantize:function e(){var t,n=0,r=1,i=1,o=[.5],a=[0,1];function s(e){return null!=e&&e<=e?a[vk(o,e,0,i)]:t}function l(){var e=-1;for(o=new Array(i);++e<i;)o[e]=((e+1)*r-(e-i)*n)/(i+1);return s}return s.domain=function(e){return arguments.length?([n,r]=e,n=+n,r=+r,l()):[n,r]},s.range=function(e){return arguments.length?(i=(a=Array.from(e)).length-1,l()):a.slice()},s.invertExtent=function(e){var t=a.indexOf(e);return t<0?[NaN,NaN]:t<1?[n,o[0]]:t>=i?[o[i-1],r]:[o[t-1],o[t]]},s.unknown=function(e){return arguments.length?(t=e,s):s},s.thresholds=function(){return o.slice()},s.copy=function(){return e().domain([n,r]).range(a).unknown(t)},Ik.apply(Gx(s),arguments)},scaleRadial:function e(){var t,n=Px(),r=[0,1],i=!1;function o(e){var r=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(n(e));return isNaN(r)?t:i?Math.round(r):r}return o.invert=function(e){return n.invert(uT(e))},o.domain=function(e){return arguments.length?(n.domain(e),o):n.domain()},o.range=function(e){return arguments.length?(n.range((r=Array.from(e,Ex)).map(uT)),o):r.slice()},o.rangeRound=function(e){return o.range(e).round(!0)},o.round=function(e){return arguments.length?(i=!!e,o):i},o.clamp=function(e){return arguments.length?(n.clamp(e),o):n.clamp()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e(n.domain(),r).round(i).clamp(n.clamp()).unknown(t)},Ik.apply(o,arguments),Gx(o)},scaleSequential:function e(){var t=Gx(MA()(Sx));return t.copy=function(){return AA(t,e())},_k.apply(t,arguments)},scaleSequentialLog:function e(){var t=tT(MA()).domain([1,10]);return t.copy=function(){return AA(t,e()).base(t.base())},_k.apply(t,arguments)},scaleSequentialPow:LA,scaleSequentialQuantile:function e(){var t=[],n=Sx;function r(e){if(null!=e&&!isNaN(e=+e))return n((vk(t,e,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort(hk),r},r.interpolator=function(e){return arguments.length?(n=e,r):n},r.range=function(){return t.map((e,r)=>n(r/(t.length-1)))},r.quantiles=function(e){return Array.from({length:e+1},(n,r)=>function(e,t){if((n=(e=Float64Array.from(function*(e){for(let t of e)null!=t&&(t=+t)>=t&&(yield t)}(e))).length)&&!isNaN(t=+t)){if(t<=0||n<2)return Pk(e);if(t>=1)return Lk(e);var n,r=(n-1)*t,i=Math.floor(r),o=Lk(Rk(e,i).subarray(0,i+1));return o+(Pk(e.subarray(i+1))-o)*(r-i)}}(t,r/e))},r.copy=function(){return e(n).domain(t)},_k.apply(r,arguments)},scaleSequentialSqrt:function(){return LA.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function e(){var t=iT(MA());return t.copy=function(){return AA(t,e()).constant(t.constant())},_k.apply(t,arguments)},scaleSqrt:function(){return cT.apply(null,arguments).exponent(.5)},scaleSymlog:function e(){var t=iT(Lx());return t.copy=function(){return Ax(t,e()).constant(t.constant())},Ik.apply(t,arguments)},scaleThreshold:function e(){var t,n=[.5],r=[0,1],i=1;function o(e){return null!=e&&e<=e?r[vk(n,e,0,i)]:t}return o.domain=function(e){return arguments.length?(n=Array.from(e),i=Math.min(n.length,r.length-1),o):n.slice()},o.range=function(e){return arguments.length?(r=Array.from(e),i=Math.min(n.length,r.length-1),o):r.slice()},o.invertExtent=function(e){var t=r.indexOf(e);return[n[t-1],n[t]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return e().domain(n).range(r).unknown(t)},Ik.apply(o,arguments)},scaleTime:TA,scaleUtc:function(){return Ik.apply(xA(ZT,QT,KT,GT,NT,MT,xT,kT,wT,oM).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:Wx},Symbol.toStringTag,{value:"Module"}));var DA,IA,_A,FA,$A,NA;function BA(){if(IA)return DA;IA=1;var e=Yf();return DA=function(t,n,r){for(var i=-1,o=t.length;++i<o;){var a=t[i],s=n(a);if(null!=s&&(void 0===l?s==s&&!e(s):r(s,l)))var l=s,c=a}return c}}function jA(){return FA?_A:(FA=1,_A=function(e,t){return e>t})}const zA=Ne(function(){if(NA)return $A;NA=1;var e=BA(),t=jA(),n=mC();return $A=function(r){return r&&r.length?e(r,n,t):void 0}}());var VA,HA,UA,WA;function GA(){return HA?VA:(HA=1,VA=function(e,t){return e<t})}const qA=Ne(function(){if(WA)return UA;WA=1;var e=BA(),t=GA(),n=mC();return UA=function(r){return r&&r.length?e(r,n,t):void 0}}());var KA,YA,ZA,QA;const XA=Ne(function(){if(QA)return ZA;QA=1;var e=kw(),t=function(){if(YA)return KA;YA=1;var e=cp(),t=gC(),n=Tw(),r=Hf();return KA=function(i,o){return(r(i)?e:n)(i,t(o,3))}}();return ZA=function(n,r){return e(t(n,r),1)}}());var JA,eL;const tL=Ne(function(){if(eL)return JA;eL=1;var e=hC();return JA=function(t,n){return e(t,n)}}());var nL,rL=1e9,iL=!0,oL="[DecimalError] ",aL=oL+"Invalid argument: ",sL=oL+"Exponent out of range: ",lL=Math.floor,cL=Math.pow,uL=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,dL=1e7,hL=lL(1286742750677284.5),fL={};function pL(e,t){var n,r,i,o,a,s,l,c,u=e.constructor,d=u.precision;if(!e.s||!t.s)return t.s||(t=new u(e)),iL?SL(t,d):t;if(l=e.d,c=t.d,a=e.e,i=t.e,l=l.slice(),o=a-i){for(o<0?(r=l,o=-o,s=c.length):(r=c,i=a,s=l.length),o>(s=(a=Math.ceil(d/7))>s?a+1:s+1)&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for((s=l.length)-(o=c.length)<0&&(o=s,r=c,c=l,l=r),n=0;o;)n=(l[--o]=l[o]+c[o]+n)/dL|0,l[o]%=dL;for(n&&(l.unshift(n),++i),s=l.length;0==l[--s];)l.pop();return t.d=l,t.e=i,iL?SL(t,d):t}
vendor: 5,740 bytes, line 1
1function mL(e,t,n){if(e!==~~e||e<t||e>n)throw Error(aL+e)}function gL(e){var t,n,r,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)(n=7-(r=e[t]+"").length)&&(o+=wL(n)),o+=r;(n=7-(r=(a=e[t])+"").length)&&(o+=wL(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}fL.absoluteValue=fL.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},fL.comparedTo=fL.cmp=function(e){var t,n,r,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,n=(r=o.d.length)<(i=e.d.length)?r:i;t<n;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1},fL.decimalPlaces=fL.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},fL.dividedBy=fL.div=function(e){return vL(this,new this.constructor(e))},fL.dividedToIntegerBy=fL.idiv=function(e){var t=this.constructor;return SL(vL(this,new t(e),0,1),t.precision)},fL.equals=fL.eq=function(e){return!this.cmp(e)},fL.exponent=function(){return bL(this)},fL.greaterThan=fL.gt=function(e){return this.cmp(e)>0},fL.greaterThanOrEqualTo=fL.gte=function(e){return this.cmp(e)>=0},fL.isInteger=fL.isint=function(){return this.e>this.d.length-2},fL.isNegative=fL.isneg=function(){return this.s<0},fL.isPositive=fL.ispos=function(){return this.s>0},fL.isZero=function(){return 0===this.s},fL.lessThan=fL.lt=function(e){return this.cmp(e)<0},fL.lessThanOrEqualTo=fL.lte=function(e){return this.cmp(e)<1},fL.logarithm=fL.log=function(e){var t,n=this,r=n.constructor,i=r.precision,o=i+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(nL))throw Error(oL+"NaN");if(n.s<1)throw Error(oL+(n.s?"NaN":"-Infinity"));return n.eq(nL)?new r(0):(iL=!1,t=vL(EL(n,o),EL(e,o),o),iL=!0,SL(t,i))},fL.minus=fL.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?xL(t,e):pL(t,(e.s=-e.s,e))},fL.modulo=fL.mod=function(e){var t,n=this,r=n.constructor,i=r.precision;if(!(e=new r(e)).s)throw Error(oL+"NaN");return n.s?(iL=!1,t=vL(n,e,0,1).times(e),iL=!0,n.minus(t)):SL(new r(n),i)},fL.naturalExponential=fL.exp=function(){return yL(this)},fL.naturalLogarithm=fL.ln=function(){return EL(this)},fL.negated=fL.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},fL.plus=fL.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?pL(t,e):xL(t,(e.s=-e.s,e))},fL.precision=fL.sd=function(e){var t,n,r,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(aL+e);if(t=bL(i)+1,n=7*(r=i.d.length-1)+1,r=i.d[r]){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},fL.squareRoot=fL.sqrt=function(){var e,t,n,r,i,o,a,s=this,l=s.constructor;if(s.s<1){if(!s.s)return new l(0);throw Error(oL+"NaN")}for(e=bL(s),iL=!1,0==(i=Math.sqrt(+s))||i==1/0?(((t=gL(s.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=lL((e+1)/2)-(e<0||e%2),r=new l(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new l(i.toString()),i=a=(n=l.precision)+3;;)if(r=(o=r).plus(vL(s,o,a+2)).times(.5),gL(o.d).slice(0,a)===(t=gL(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(SL(o,n+1,0),o.times(o).eq(s)){r=o;break}}else if("9999"!=t)break;a+=4}return iL=!0,SL(r,n)},fL.times=fL.mul=function(e){var t,n,r,i,o,a,s,l,c,u=this,d=u.constructor,h=u.d,f=(e=new d(e)).d;if(!u.s||!e.s)return new d(0);for(e.s*=u.s,n=u.e+e.e,(l=h.length)<(c=f.length)&&(o=h,h=f,f=o,a=l,l=c,c=a),o=[],r=a=l+c;r--;)o.push(0);for(r=c;--r>=0;){for(t=0,i=l+r;i>r;)s=o[i]+f[r]*h[i-r-1]+t,o[i--]=s%dL|0,t=s/dL|0;o[i]=(o[i]+t)%dL|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,iL?SL(e,d.precision):e},fL.toDecimalPlaces=fL.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(mL(e,0,rL),void 0===t?t=r.rounding:mL(t,0,8),SL(n,e+bL(n)+1,t))},fL.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=TL(r,!0):(mL(e,0,rL),void 0===t?t=i.rounding:mL(t,0,8),n=TL(r=SL(new i(r),e+1,t),!0,e+1)),n},fL.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?TL(i):(mL(e,0,rL),void 0===t?t=o.rounding:mL(t,0,8),n=TL((r=SL(new o(i),e+bL(i)+1,t)).abs(),!1,e+bL(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)},fL.toInteger=fL.toint=function(){var e=this,t=e.constructor;return SL(new t(e),bL(e)+1,t.rounding)},fL.toNumber=function(){return+this},fL.toPower=fL.pow=function(e){var t,n,r,i,o,a,s=this,l=s.constructor,c=+(e=new l(e));if(!e.s)return new l(nL);if(!(s=new l(s)).s){if(e.s<1)throw Error(oL+"Infinity");return s}if(s.eq(nL))return s;if(r=l.precision,e.eq(nL))return SL(s,r);if(a=(t=e.e)>=(n=e.d.length-1),o=s.s,a){if((n=c<0?-c:c)<=9007199254740991){for(i=new l(nL),t=Math.ceil(r/7+4),iL=!1;n%2&&ML((i=i.times(s)).d,t),0!==(n=lL(n/2));)ML((s=s.times(s)).d,t);return iL=!0,e.s<0?new l(nL).div(i):SL(i,r)}}else if(o<0)throw Error(oL+"NaN");return o=o<0&&1&e.d[Math.max(t,n)]?-1:1,s.s=1,iL=!1,i=e.times(EL(s,r+12)),iL=!0,(i=yL(i)).s=o,i},fL.toPrecision=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?r=TL(i,(n=bL(i))<=o.toExpNeg||n>=o.toExpPos):(mL(e,1,rL),void 0===t?t=o.rounding:mL(t,0,8),r=TL(i=SL(new o(i),e,t),e<=(n=bL(i))||n<=o.toExpNeg,e)),r},fL.toSignificantDigits=fL.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(mL(e,1,rL),void 0===t?t=n.rounding:mL(t,0,8)),SL(new n(this),e,t)},fL.toString=fL.valueOf=fL.val=fL.toJSON=fL[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=bL(e),n=e.constructor;return TL(e,t<=n.toExpNeg||t>=n.toExpPos)};var vL=function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%dL|0,r=n/dL|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function n(e,t,n){for(var r=0;n--;
vendor: 4,674 bytes, line 1
1)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*dL+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,a){var s,l,c,u,d,h,f,p,m,g,v,y,b,C,w,E,k,S,x=r.constructor,T=r.s==i.s?1:-1,M=r.d,A=i.d;if(!r.s)return new x(r);if(!i.s)throw Error(oL+"Division by zero");for(l=r.e-i.e,k=A.length,w=M.length,p=(f=new x(T)).d=[],c=0;A[c]==(M[c]||0);)++c;if(A[c]>(M[c]||0)&&--l,(y=null==o?o=x.precision:a?o+(bL(r)-bL(i))+1:o)<0)return new x(0);if(y=y/7+2|0,c=0,1==k)for(u=0,A=A[0],y++;(c<w||u)&&y--;c++)b=u*dL+(M[c]||0),p[c]=b/A|0,u=b%A|0;else{for((u=dL/(A[0]+1)|0)>1&&(A=e(A,u),M=e(M,u),k=A.length,w=M.length),C=k,g=(m=M.slice(0,k)).length;g<k;)m[g++]=0;(S=A.slice()).unshift(0),E=A[0],A[1]>=dL/2&&++E;do{u=0,(s=t(A,m,k,g))<0?(v=m[0],k!=g&&(v=v*dL+(m[1]||0)),(u=v/E|0)>1?(u>=dL&&(u=dL-1),1==(s=t(d=e(A,u),m,h=d.length,g=m.length))&&(u--,n(d,k<h?S:A,h))):(0==u&&(s=u=1),d=A.slice()),(h=d.length)<g&&d.unshift(0),n(m,d,g),-1==s&&(s=t(A,m,k,g=m.length))<1&&(u++,n(m,k<g?S:A,g)),g=m.length):0===s&&(u++,m=[0]),p[c++]=u,s&&m[0]?m[g++]=M[C]||0:(m=[M[C]],g=1)}while((C++<w||void 0!==m[0])&&y--)}return p[0]||p.shift(),f.e=l,SL(f,a?o+bL(f)+1:o)}}();function yL(e,t){var n,r,i,o,a,s=0,l=0,c=e.constructor,u=c.precision;if(bL(e)>16)throw Error(sL+bL(e));if(!e.s)return new c(nL);for(iL=!1,a=u,o=new c(.03125);e.abs().gte(.1);)e=e.times(o),l+=5;for(a+=Math.log(cL(2,l))/Math.LN10*2+5|0,n=r=i=new c(nL),c.precision=a;;){if(r=SL(r.times(e),a),n=n.times(++s),gL((o=i.plus(vL(r,n,a))).d).slice(0,a)===gL(i.d).slice(0,a)){for(;l--;)i=SL(i.times(i),a);return c.precision=u,null==t?(iL=!0,SL(i,u)):i}i=o}}function bL(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function CL(e,t,n){if(t>e.LN10.sd())throw iL=!0,n&&(e.precision=n),Error(oL+"LN10 precision limit exceeded");return SL(new e(e.LN10),t)}function wL(e){for(var t="";e--;)t+="0";return t}function EL(e,t){var n,r,i,o,a,s,l,c,u,d=1,h=e,f=h.d,p=h.constructor,m=p.precision;if(h.s<1)throw Error(oL+(h.s?"NaN":"-Infinity"));if(h.eq(nL))return new p(0);if(null==t?(iL=!1,c=m):c=t,h.eq(10))return null==t&&(iL=!0),CL(p,c);if(c+=10,p.precision=c,r=(n=gL(f)).charAt(0),o=bL(h),!(Math.abs(o)<15e14))return l=CL(p,c+2,m).times(o+""),h=EL(new p(r+"."+n.slice(1)),c-10).plus(l),p.precision=m,null==t?(iL=!0,SL(h,m)):h;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=gL((h=h.times(e)).d)).charAt(0),d++;for(o=bL(h),r>1?(h=new p("0."+n),o++):h=new p(r+"."+n.slice(1)),s=a=h=vL(h.minus(nL),h.plus(nL),c),u=SL(h.times(h),c),i=3;;){if(a=SL(a.times(u),c),gL((l=s.plus(vL(a,new p(i),c))).d).slice(0,c)===gL(s.d).slice(0,c))return s=s.times(2),0!==o&&(s=s.plus(CL(p,c+2,m).times(o+""))),s=vL(s,new p(d),c),p.precision=m,null==t?(iL=!0,SL(s,m)):s;s=l,i+=2}}function kL(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(r,i)){if(i-=r,n=n-r-1,e.e=lL(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=7;r<i;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=i;for(;r--;)t+="0";if(e.d.push(+t),iL&&(e.e>hL||e.e<-hL))throw Error(sL+n)}else e.s=0,e.e=0,e.d=[0];return e}function SL(e,t,n){var r,i,o,a,s,l,c,u,d=e.d;for(a=1,o=d[0];o>=10;o/=10)a++;if((r=t-a)<0)r+=7,i=t,c=d[u=0];else{if((u=Math.ceil((r+1)/7))>=(o=d.length))return e;for(c=o=d[u],a=1;o>=10;o/=10)a++;i=(r%=7)-7+a}if(void 0!==n&&(s=c/(o=cL(10,a-i-1))%10|0,l=t<0||void 0!==d[u+1]||c%o,l=n<4?(s||l)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||l||6==n&&(r>0?i>0?c/cL(10,a-i):0:d[u-1])%10&1||n==(e.s<0?8:7))),t<1||!d[0])return l?(o=bL(e),d.length=1,t=t-o-1,d[0]=cL(10,(7-t%7)%7),e.e=lL(-t/7)||0):(d.length=1,d[0]=e.e=e.s=0),e;if(0==r?(d.length=u,o=1,u--):(d.length=u+1,o=cL(10,7-r),d[u]=i>0?(c/cL(10,a-i)%cL(10,i)|0)*o:0),l)for(;;){if(0==u){(d[0]+=o)==dL&&(d[0]=1,++e.e);break}if(d[u]+=o,d[u]!=dL)break;d[u--]=0,o=1}for(r=d.length;0===d[--r];)d.pop();if(iL&&(e.e>hL||e.e<-hL))throw Error(sL+bL(e));return e}function xL(e,t){var n,r,i,o,a,s,l,c,u,d,h=e.constructor,f=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),iL?SL(t,f):t;if(l=e.d,d=t.d,r=t.e,c=e.e,l=l.slice(),a=c-r){for((u=a<0)?(n=l,a=-a,s=d.length):(n=d,r=c,s=l.length),a>(i=Math.max(Math.ceil(f/7),s)+2)&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for((u=(i=l.length)<(s=d.length))&&(s=i),i=0;i<s;i++)if(l[i]!=d[i]){u=l[i]<d[i];break}a=0}for(u&&(n=l,l=d,d=n,t.s=-t.s),s=l.length,i=d.length-s;i>0;--i)l[s++]=0;for(i=d.length;i>a;){if(l[--i]<d[i]){for(o=i;o&&0===l[--o];)l[o]=dL-1;--l[o],l[i]+=dL}l[i]-=d[i]}for(;0===l[--s];)l.pop();for(;0===l[0];l.shift())--r;return l[0]?(t.d=l,t.e=r,iL?SL(t,f):t):new h(0)}
vendor: 4,852 bytes, line 1
1function TL(e,t,n){var r,i=bL(e),o=gL(e.d),a=o.length;return t?(n&&(r=n-a)>0?o=o.charAt(0)+"."+o.slice(1)+wL(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+wL(-i-1)+o,n&&(r=n-a)>0&&(o+=wL(r))):i>=a?(o+=wL(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+wL(r))):((r=i+1)<a&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-a)>0&&(i+1===a&&(o+="."),o+=wL(r))),e.s<0?"-"+o:o}function ML(e,t){if(e.length>t)return e.length=t,!0}function AL(e){if(!e||"object"!=typeof e)throw Error(oL+"Object expected");var t,n,r,i=["precision",1,rL,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(r=e[n=i[t]])){if(!(lL(r)===r&&r>=i[t+1]&&r<=i[t+2]))throw Error(aL+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(aL+n+": "+r);this[n]=new this(r)}return this}var LL=function e(t){var n,r,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(aL+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):kL(t,e.toString())}if("string"!=typeof e)throw Error(aL+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!uL.test(e))throw Error(aL+e);kL(t,e)}if(o.prototype=fL,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=AL,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<i.length;)t.hasOwnProperty(r=i[n++])||(t[r]=this[r]);return o.config(t),o}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});nL=new LL(1);const PL=LL;function RL(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var OL=function(e){return e},DL={},IL=function(e){return e===DL},_L=function(e){return function t(){return 0===arguments.length||1===arguments.length&&IL(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},FL=function e(t,n){return 1===t?n:_L(function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.filter(function(e){return e!==DL}).length;return a>=t?n.apply(void 0,i):e(t-a,_L(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o,a=i.map(function(e){return IL(e)?t.shift():e});return n.apply(void 0,(o=a,function(e){if(Array.isArray(e))return RL(e)}(o)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return RL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?RL(e,t):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat(t))}))})},$L=function(e){return FL(e.length,e)},NL=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n},BL=$L(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(e){return t[e]}).map(e)}),jL=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},zL=function(e){var t=null,n=null;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return t&&i.every(function(e,n){return e===t[n]})?n:(t=i,n=e.apply(void 0,i))}};const VL=function(e,t,n){for(var r=new PL(e),i=0,o=[];r.lt(t)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o},HL=function(e){return 0===e?1:Math.floor(new PL(e).abs().log(10).toNumber())+1};$L(function(e,t,n){var r=+e;return r+n*(+t-r)}),$L(function(e,t,n){var r=t-+e;return(n-e)/(r||1/0)}),$L(function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))});function UL(e){return function(e){if(Array.isArray(e))return qL(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||GL(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function WL(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){i=!0,o=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||GL(e,t)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function GL(e,t){if(e){if("string"==typeof e)return qL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qL(e,t):void 0}}function qL(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function KL(e){var t=WL(e,2),n=t[0],r=t[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function YL(e,t,n){if(e.lte(0))return new PL(0);var r=HL(e.toNumber()),i=new PL(10).pow(r),o=e.div(i),a=1!==r?.05:.1,s=new PL(Math.ceil(o.div(a).toNumber())).add(n).mul(a).mul(i);return t?s:new PL(Math.ceil(s))}function ZL(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new PL(0),tickMin:new PL(0),tickMax:new PL(0)};var o,a=YL(new PL(t).sub(e).div(n-1),r,i);o=e<=0&&t>=0?new PL(0):(o=new PL(e).add(t).div(2)).sub(new PL(o).mod(a));var s=Math.ceil(o.sub(e).div(a).toNumber()),l=Math.ceil(new PL(t).sub(o).div(a).toNumber()),c=s+l+1;return c>n?ZL(e,t,n,r,i+1):(c<n&&(l=t>0?l+(n-c):l,s=t>0?s:s+(n-c)),{step:a,tickMin:o.sub(new PL(s).mul(a)),tickMax:o.add(new PL(l).mul(a))})}var QL=zL(function(e){var t=WL(e,2),n=t[0],r=t[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),s=WL(KL([n,r]),2),l=s[0],c=s[1];if(l===-1/0||c===1/0){var u=c===1/0?[l].concat(UL(NL(0,i-1).map(function(){return 1/0}))):[].concat(UL(NL(0,i-1).map(function(){return-1/0})),[c]);return n>r?jL(u):u}if(l===c)return function(e,t,n){var r=1,i=new PL(e);if(!i.isint()&&n){var o=Math.abs(e);o<1?(r=new PL(10).pow(HL(e)-1),i=new PL(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new PL(Math.floor(e)))}else 0===e?i=new PL(Math.floor((t-1)/2)):n||(i=new PL(Math.floor(e)));var a=Math.floor((t-1)/2),s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return OL;var r=t.reverse(),i=r[0],o=r.slice(1);return function(){return o.reduce(function(e,t){return t(e)},i.apply(void 0,arguments))}}(BL(function(e){return i.add(new PL(e-a).mul(r)).toNumber()}),NL);return s(0,t)}(l,i,o);var d=ZL(l,c,a,o),h=d.step,f=d.tickMin,p=d.tickMax,m=VL(f,p.add(new PL(.1).mul(h)),h);return n>r?jL(m):m}),XL=zL(function(e,t){var n=WL(e,2),r=n[0],i=n[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=WL(KL([r,i]),2),s=a[0],l=a[1];if(s===-1/0||l===1/0)return[r,i];if(s===l)return[s];var c=Math.max(t,2),u=YL(new PL(l).sub(s).div(c-1),o,0),d=[].concat(UL(VL(new PL(s),new PL(l).sub(new PL(.99).mul(u)),u)),[l]);return r>i?jL(d):d});function JL(e,t){throw new Error("Invariant failed")}var eP=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function tP(e){return(tP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nP(){return nP=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nP.apply(this,arguments)}function rP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(iP=function(){return!!e})()}function oP(e){return(oP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function aP(e,t){return(aP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function sP(e,t,n){return(t=lP(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lP(e){var t=function(e){if("object"!=tP(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=tP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tP(t)?t:t+""}var cP=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=arguments,n=oP(n=e),function(e,t){if(t&&("object"===tP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,iP()?Reflect.construct(n,r||[],oP(t).constructor):n.apply(t,r));var t,n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&aP(e,t)}(e,Xt.Component),t=e,n=[{key:"render",value:function(){var e=this.props,t=e.offset,n=e.layout,r=e.width,i=e.dataKey,o=e.data,a=e.dataPointFormatter,s=e.xAxis,l=e.yAxis,c=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,eP),u=pm(c,!1);"x"===this.props.direction&&"number"!==s.type&&JL();var d=o.map(function(e){var o=a(e,i),c=o.x,d=o.y,h=o.value,f=o.errorVal;if(!f)return null;var p,m,g,v,y=[];if(Array.isArray(f)){var b=(v=2,function(e){if(Array.isArray(e))return e}(g=f)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}
1finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(g,v)||function(e,t){if(e){if("string"==typeof e)return rP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rP(e,t):void 0}}(g,v)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());p=b[0],m=b[1]}else p=m=f;if("vertical"===n){var C=s.scale,w=d+t,E=w+r,k=w-r,S=C(h-p),x=C(h+m);y.push({x1:x,y1:E,x2:x,y2:k}),y.push({x1:S,y1:w,x2:x,y2:w}),y.push({x1:S,y1:E,x2:S,y2:k})}else if("horizontal"===n){var T=l.scale,M=c+t,A=M-r,L=M+r,P=T(h-p),R=T(h+m);y.push({x1:A,y1:R,x2:L,y2:R}),y.push({x1:M,y1:P,x2:M,y2:R}),y.push({x1:A,y1:P,x2:L,y2:P})}return Xt.createElement(Bm,nP({className:"recharts-errorBar",key:"bar-".concat(y.map(function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))},u),y.map(function(e){return Xt.createElement("line",nP({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))}))});return Xt.createElement(Bm,{className:"recharts-errorBars"},d)}}],n&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lP(r.key),r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}();function uP(e){return(uP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dP(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=uP(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=uP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==uP(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}sP(cP,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),sP(cP,"displayName","ErrorBar");var fP=function(e){var t=e.children,n=e.formattedGraphicalItems,r=e.legendWidth,i=e.legendContent,o=dm(t,Ew);if(!o)return null;var a,s=Ew.defaultProps,l=void 0!==s?hP(hP({},s),o.props):{};return a=o.props&&o.props.payload?o.props&&o.props.payload:"children"===i?(n||[]).reduce(function(e,t){var n=t.item,r=t.props,i=r.sectors||r.data||[];return e.concat(i.map(function(e){return{type:o.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}}))},[]):(n||[]).map(function(e){var t=e.item,n=t.type.defaultProps,r=void 0!==n?hP(hP({},n),t.props):{},i=r.dataKey,o=r.name,a=r.legendType;return{inactive:r.hide,dataKey:i,type:l.iconType||a||"square",color:EP(t),value:o||i,payload:r}}),hP(hP(hP({},l),Ew.getWithHeight(o,r)),{},{payload:a,item:o})};function pP(e){return(pP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mP(e){return function(e){if(Array.isArray(e))return gP(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return gP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gP(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 15,493 bytes, line 1
1t%2?vP(Object(n),!0).forEach(function(t){bP(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function bP(e,t,n){var r;return r=function(e,t){if("object"!=pP(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=pP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t,"string"),(t="symbol"==pP(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CP(e,t,n){return yp(e)||yp(t)?n:Bp(t)?mp(e,t,n):Ep(t)?t(e):n}function wP(e,t,n,r){var i=XA(e,function(e){return CP(e,t)});if("number"===n){var o=i.filter(function(e){return Np(e)||parseFloat(e)});return o.length?[qA(o),zA(o)]:[1/0,-1/0]}return(r?i.filter(function(e){return!yp(e)}):i).map(function(e){return Bp(e)||e instanceof Date?e:""})}var EP=function(e){var t,n,r=e.type.displayName,i=null!==(t=e.type)&&void 0!==t&&t.defaultProps?yP(yP({},e.type.defaultProps),e.props):e.props,o=i.stroke,a=i.fill;switch(r){case"Line":n=o;break;case"Area":case"Radar":n=o&&"none"!==o?o:a;break;default:n=a}return n},kP=function(e,t,n,r,i){var o=um(t.props.children,cP).filter(function(e){return function(e,t,n){return!!yp(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===n?"xAxis"===t:"y"!==n||"yAxis"===t)}(r,i,e.props.direction)});if(o&&o.length){var a=o.map(function(e){return e.props.dataKey});return e.reduce(function(e,t){var r=CP(t,n);if(yp(r))return e;var i=Array.isArray(r)?[qA(r),zA(r)]:[r,r],o=a.reduce(function(e,n){var r=CP(t,n,0),o=i[0]-Math.abs(Array.isArray(r)?r[0]:r),a=i[1]+Math.abs(Array.isArray(r)?r[1]:r);return[Math.min(o,e[0]),Math.max(a,e[1])]},[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]},[1/0,-1/0])}return null},SP=function(e,t,n,r,i){var o=t.map(function(t){var o=t.props.dataKey;return"number"===n&&o&&kP(e,t,o,r)||wP(e,o,n,i)});if("number"===n)return o.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]);var a={};return o.reduce(function(e,t){for(var n=0,r=t.length;n<r;n++)a[t[n]]||(a[t[n]]=!0,e.push(t[n]));return e},[])},xP=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},TP=function(e,t,n,r){if(r)return e.map(function(e){return e.coordinate});var i,o,a=e.map(function(e){return e.coordinate===t&&(i=!0),e.coordinate===n&&(o=!0),e.coordinate});return i||a.push(t),o||a.push(n),a},MP=function(e,t,n){if(!e)return null;var r=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,s="scaleBand"===e.realScaleType?r.bandwidth()/2:2,l=(t||n)&&"category"===o&&r.bandwidth?r.bandwidth()/s:0;return l="angleAxis"===e.axisType&&(null==a?void 0:a.length)>=2?2*Fp(a[0]-a[1])*l:l,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map(function(e){var t=i?i.indexOf(e):e;return{coordinate:r(t)+l,value:e,offset:l}}).filter(function(e){return!Ip(e.coordinate)}):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(e,t){return{coordinate:r(e)+l,value:e,index:t,offset:l}}):r.ticks&&!n?r.ticks(e.tickCount).map(function(e){return{coordinate:r(e)+l,value:e,offset:l}}):r.domain().map(function(e,t){return{coordinate:r(e)+l,value:i?i[e]:e,index:t,offset:l}})},AP=new WeakMap,LP=function(e,t){if("function"!=typeof t)return e;AP.has(e)||AP.set(e,new WeakMap);var n=AP.get(e);if(n.has(t))return n.get(t);var r=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return n.set(t,r),r},PP=function(e,t,n){var r=e.scale,i=e.type,o=e.layout,a=e.axisType;if("auto"===r)return"radial"===o&&"radiusAxis"===a?{scale:Nk(),realScaleType:"band"}:"radial"===o&&"angleAxis"===a?{scale:qx(),realScaleType:"linear"}:"category"===i&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!n)?{scale:jk(),realScaleType:"point"}:"category"===i?{scale:Nk(),realScaleType:"band"}:{scale:qx(),realScaleType:"linear"};if(wp(r)){var s="scale".concat(Vm(r));return{scale:(OA[s]||jk)(),realScaleType:OA[s]?s:"point"}}return Ep(r)?{scale:r}:{scale:jk(),realScaleType:"point"}},RP=1e-4,OP=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),i=Math.min(r[0],r[1])-RP,o=Math.max(r[0],r[1])+RP,a=e(t[0]),s=e(t[n-1]);(a<i||a>o||s<i||s>o)&&e.domain([t[0],t[n-1]])}},DP={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var i=0,o=0,a=0;a<t;++a){var s=Ip(e[a][n][1])?e[a][n][0]:e[a][n][1];s>=0?(e[a][n][0]=i,e[a][n][1]=i+s,i=e[a][n][1]):(e[a][n][0]=o,e[a][n][1]=o+s,o=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,i,o=0,a=e[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=e[n][o][1]||0;if(i)for(n=0;n<r;++n)e[n][o][1]/=i}Hg(e,t)}},none:Hg,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,i=e[t[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=e[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}Hg(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,l=0,c=0;s<i;++s){for(var u=e[t[s]],d=u[a][1]||0,h=(d-(u[a-1][1]||0))/2,f=0;f<s;++f){var p=e[t[f]];h+=(p[a][1]||0)-(p[a-1][1]||0)}l+=d,c+=h*d}n[a-1][1]+=n[a-1][0]=o,l&&(o-=c/l)}n[a-1][1]+=n[a-1][0]=o,Hg(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var i=0,o=0;o<t;++o){var a=Ip(e[o][n][1])?e[o][n][0]:e[o][n][1];a>=0?(e[o][n][0]=i,e[o][n][1]=i+a,i=e[o][n][1]):(e[o][n][0]=0,e[o][n][1]=0)}}},IP=function(e,t,n){var r=t.map(function(e){return e.props.dataKey}),i=DP[n],o=function(){var e=Hm([]),t=Ug,n=Hg,r=Wg;function i(i){var o,a,s=Array.from(e.apply(this,arguments),Gg),l=s.length,c=-1;for(const e of i)for(o=0,++c;o<l;++o)(s[o][c]=[0,+r(e,s[o].key,c,i)]).data=e;for(o=0,a=ng(t(s));o<l;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:Hm(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r="function"==typeof e?e:Hm(+e),i):r},i.order=function(e){return arguments.length?(t=null==e?Ug:"function"==typeof e?e:Hm(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=null==e?Hg:e,i):n},i}().keys(r).value(function(e,t){return+CP(e,t,0)}).order(Ug).offset(i);return o(e)},_P=function(e,t){var n=t.realScaleType,r=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,s=n||t.scale;if("auto"!==s&&"linear"!==s)return null;if(i&&"number"===r&&o&&("auto"===o[0]||"auto"===o[1])){var l=e.domain();if(!l.length)return null;var c=QL(l,i,a);return e.domain([qA(c),zA(c)]),{niceTicks:c}}if(i&&"number"===r){var u=e.domain();return{niceTicks:XL(u,i,a)}}return null};function FP(e){var t=e.axis,n=e.ticks,r=e.bandSize,i=e.entry,o=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!yp(i[t.dataKey])){var s=Wp(n,"value",i[t.dataKey]);if(s)return s.coordinate+r/2}return n[o]?n[o].coordinate+r/2:null}var l=CP(i,yp(a)?t.dataKey:a);return yp(l)?null:t.scale(l)}var $P=function(e){var t=e.axis,n=e.ticks,r=e.offset,i=e.bandSize,o=e.entry,a=e.index;if("category"===t.type)return n[a]?n[a].coordinate+r:null;var s=CP(o,t.dataKey,t.domain[a]);return yp(s)?null:t.scale(s)-i/2+r},NP=function(e,t,n){return Object.keys(e).reduce(function(r,i){var o=e[i].stackedData.reduce(function(e,r){var i=r.slice(t,n+1).reduce(function(e,t){return[qA(t.concat([e[0]]).filter(Np)),zA(t.concat([e[1]]).filter(Np))]},[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]},[1/0,-1/0]).map(function(e){return e===1/0||e===-1/0?0:e})},BP=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,jP=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,zP=function(e,t,n){if(Ep(e))return e(t,n);if(!Array.isArray(e))return t;var r=[];if(Np(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(BP.test(e[0])){var i=+BP.exec(e[0])[1];r[0]=t[0]-i}else Ep(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(Np(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(jP.test(e[1])){var o=+jP.exec(e[1])[1];r[1]=t[1]+o}else Ep(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},VP=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=Rw(t,function(e){return e.coordinate}),o=1/0,a=1,s=i.length;a<s;a++){var l=i[a],c=i[a-1];o=Math.min((l.coordinate||0)-(c.coordinate||0),o)}return o===1/0?0:o}return n?void 0:0},HP=function(e,t,n){return e&&e.length?tL(e,mp(n,"type.defaultProps.domain"))?t:e:t},UP=function(e,t){var n=e.type.defaultProps?yP(yP({},e.type.defaultProps),e.props):e.props,r=n.dataKey,i=n.name,o=n.unit,a=n.formatter,s=n.tooltipType,l=n.chartType,c=n.hide;return yP(yP({},pm(e,!1)),{},{dataKey:r,unit:o,formatter:a,name:i||r,color:EP(e),value:CP(t,r),type:s,payload:t,chartType:l,hide:c})};function WP(e){return(WP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function GP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GP(Object(n),!0).forEach(function(t){KP(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function KP(e,t,n){var r;return r=function(e,t){if("object"!=WP(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=WP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t,"string"),(t="symbol"==WP(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ZP=Math.PI/180,QP=function(e){return 180*e/Math.PI},XP=function(e,t,n,r){return{x:e+Math.cos(-ZP*r)*n,y:t+Math.sin(-ZP*r)*n}},JP=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},eR=function(e,t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),o=Math.floor(r/360);return e+360*Math.min(i,o)},tR=function(e,t){var n=function(e,t){var n=e.x,r=e.y,i=t.cx,o=t.cy,a=function(e,t){var n=e.x,r=e.y,i=t.x,o=t.y;return Math.sqrt(Math.pow(n-i,2)+Math.pow(r-o,2))}({x:n,y:r},{x:i,y:o});if(a<=0)return{radius:a};var s=(n-i)/a,l=Math.acos(s);return r>o&&(l=2*Math.PI-l),{radius:a,angle:QP(l),angleInRadian:l}}({x:e.x,y:e.y},t),r=n.radius,i=n.angle,o=t.innerRadius,a=t.outerRadius;if(r<o||r>a)return!1;if(0===r)return!0;var s,l=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),i=Math.floor(n/360),o=Math.min(r,i);return{startAngle:t-360*o,endAngle:n-360*o}}(t),c=l.startAngle,u=l.endAngle,d=i;if(c<=u){for(;d>u;)d-=360;for(;d<c;)d+=360;s=d>=c&&d<=u}else{for(;d>c;)d-=360;for(;d<u;)d+=360;s=d>=u&&d<=c}return s?qP(qP({},t),{},{radius:r,angle:eR(d,t)}):null},nR=function(e){return Qt.isValidElement(e)||Ep(e)||"boolean"==typeof e?"":e.className};function rR(e){return(rR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var iR=["offset"];function oR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function aR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aR(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=rR(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=rR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==rR(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function lR(){return lR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lR.apply(this,arguments)}function cR(e){var t,n=e.offset,r=sR({offset:void 0===n?5:n},function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,iR)),i=r.viewBox,o=r.position,a=r.value,s=r.children,l=r.content,c=r.className,u=void 0===c?"":c,d=r.textBreakAll;if(!i||yp(a)&&yp(s)&&!Qt.isValidElement(l)&&!Ep(l))return null;if(Qt.isValidElement(l))return Qt.cloneElement(l,r);if(Ep(l)){if(t=Qt.createElement(l,r),Qt.isValidElement(t))return t}else t=function(e){var t=e.value,n=e.formatter,r=yp(e.children)?t:e.children;return Ep(n)?n(r):r}(r);var h=function(e){return"cx"in e&&Np(e.cx)}(i),f=pm(r,!0);if(h&&("insideStart"===o||"insideEnd"===o||"end"===o))return function(e,t,n){var r,i,o=e.position,a=e.viewBox,s=e.offset,l=e.className,c=a,u=c.cx,d=c.cy,h=c.innerRadius,f=c.outerRadius,p=c.startAngle,m=c.endAngle,g=c.clockWise,v=(h+f)/2,y=function(e,t){return Fp(t-e)*Math.min(Math.abs(t-e),360)}(p,m),b=y>=0?1:-1;"insideStart"===o?(r=p+b*s,i=g):"insideEnd"===o?(r=m-b*s,i=!g):"end"===o&&(r=m+b*s,i=g),i=y<=0?i:!i;var C=XP(u,d,v,r),w=XP(u,d,v,r+359*(i?1:-1)),E="M".concat(C.x,",").concat(C.y,"\n A").concat(v,",").concat(v,",0,1,").concat(i?0:1,",\n ").concat(w.x,",").concat(w.y),k=yp(e.id)?zp("recharts-radial-line-"):e.id;return Xt.createElement("text",lR({},n,{dominantBaseline:"central",className:ss("recharts-radial-bar-label",l)}),Xt.createElement("defs",null,Xt.createElement("path",{id:k,d:E})),Xt.createElement("textPath",{xlinkHref:"#".concat(k)},t))}(r,t,f);var p=h?function(e){var t=e.viewBox,n=e.offset,r=e.position,i=t,o=i.cx,a=i.cy,s=i.innerRadius,l=i.outerRadius,c=(i.startAngle+i.endAngle)/2;if("outside"===r){var u=XP(o,a,l+n,c),d=u.x;return{x:d,y:u.y,textAnchor:d>=o?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var h=XP(o,a,(s+l)/2,c);return{x:h.x,y:h.y,textAnchor:"middle",verticalAnchor:"middle"}}(r):function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,i=e.position,o=t,a=o.x,s=o.y,l=o.width,c=o.height,u=c>=0?1:-1,d=u*r,h=u>0?"end":"start",f=u>0?"start":"end",p=l>
1=0?1:-1,m=p*r,g=p>0?"end":"start",v=p>0?"start":"end";if("top"===i)return sR(sR({},{x:a+l/2,y:s-u*r,textAnchor:"middle",verticalAnchor:h}),n?{height:Math.max(s-n.y,0),width:l}:{});if("bottom"===i)return sR(sR({},{x:a+l/2,y:s+c+d,textAnchor:"middle",verticalAnchor:f}),n?{height:Math.max(n.y+n.height-(s+c),0),width:l}:{});if("left"===i){var y={x:a-m,y:s+c/2,textAnchor:g,verticalAnchor:"middle"};return sR(sR({},y),n?{width:Math.max(y.x-n.x,0),height:c}:{})}if("right"===i){var b={x:a+l+m,y:s+c/2,textAnchor:v,verticalAnchor:"middle"};return sR(sR({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:c}:{})}var C=n?{width:l,height:c}:{};return"insideLeft"===i?sR({x:a+m,y:s+c/2,textAnchor:v,verticalAnchor:"middle"},C):"insideRight"===i?sR({x:a+l-m,y:s+c/2,textAnchor:g,verticalAnchor:"middle"},C):"insideTop"===i?sR({x:a+l/2,y:s+d,textAnchor:"middle",verticalAnchor:f},C):"insideBottom"===i?sR({x:a+l/2,y:s+c-d,textAnchor:"middle",verticalAnchor:h},C):"insideTopLeft"===i?sR({x:a+m,y:s+d,textAnchor:v,verticalAnchor:f},C):"insideTopRight"===i?sR({x:a+l-m,y:s+d,textAnchor:g,verticalAnchor:f},C):"insideBottomLeft"===i?sR({x:a+m,y:s+c-d,textAnchor:v,verticalAnchor:h},C):"insideBottomRight"===i?sR({x:a+l-m,y:s+c-d,textAnchor:g,verticalAnchor:h},C):kp(i)&&(Np(i.x)||$p(i.x))&&(Np(i.y)||$p(i.y))?sR({x:a+Vp(i.x,l),y:s+Vp(i.y,c),textAnchor:"end",verticalAnchor:"end"},C):sR({x:a+l/2,y:s+c/2,textAnchor:"middle",verticalAnchor:"middle"},C)}(r);return Xt.createElement(dk,lR({className:ss("recharts-label",u)},f,p,{breakAll:d}),t)}cR.displayName="Label";var uR,dR,hR=function(e){var t=e.cx,n=e.cy,r=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,s=e.radius,l=e.innerRadius,c=e.outerRadius,u=e.x,d=e.y,h=e.top,f=e.left,p=e.width,m=e.height,g=e.clockWise,v=e.labelViewBox;if(v)return v;if(Np(p)&&Np(m)){if(Np(u)&&Np(d))return{x:u,y:d,width:p,height:m};if(Np(h)&&Np(f))return{x:h,y:f,width:p,height:m}}return Np(u)&&Np(d)?{x:u,y:d,width:0,height:0}:Np(t)&&Np(n)?{cx:t,cy:n,startAngle:i||r||0,endAngle:o||r||0,innerRadius:l||0,outerRadius:c||s||a||0,clockWise:g}:e.viewBox?e.viewBox:{}};cR.parseViewBox=hR,cR.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=hR(e),o=um(r,cR).map(function(e,n){return Qt.cloneElement(e,{viewBox:t||i,key:"label-".concat(n)})});if(!n)return o;var a,s=function(e,t){return e?!0===e?Xt.createElement(cR,{key:"label-implicit",viewBox:t}):Bp(e)?Xt.createElement(cR,{key:"label-implicit",viewBox:t,value:e}):Qt.isValidElement(e)?e.type===cR?Qt.cloneElement(e,{key:"label-implicit",viewBox:t}):Xt.createElement(cR,{key:"label-implicit",content:e,viewBox:t}):Ep(e)?Xt.createElement(cR,{key:"label-implicit",content:e,viewBox:t}):kp(e)?Xt.createElement(cR,lR({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i);return[s].concat(function(e){if(Array.isArray(e))return oR(e)}(a=o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return oR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oR(e,t):void 0}}(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())};const fR=Ne(dR?uR:(dR=1,uR=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}));function pR(e){return(pR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var mR=["valueAccessor"],gR=["data","dataKey","clockWise","id","textBreakAll"];function vR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yR(){return yR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yR.apply(this,arguments)}function bR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function CR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?bR(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=pR(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=pR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==pR(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wR(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var ER=function(e){return Array.isArray(e.value)?fR(e.value):e.value};function kR(e){var t=e.valueAccessor,n=void 0===t?ER:t,r=wR(e,mR),i=r.data,o=r.dataKey,a=r.clockWise,s=r.id,l=r.textBreakAll,c=wR(r,gR);return i&&i.length?Xt.createElement(Bm,{className:"recharts-label-list"},i.map(function(e,t){var r=yp(o)?n(e,t):CP(e&&e.payload,o),i=yp(s)?{}:{id:"".concat(s,"-").concat(t)};return Xt.createElement(cR,yR({},pm(e,!0),c,i,{parentViewBox:e.parentViewBox,value:r,textBreakAll:l,viewBox:cR.parseViewBox(yp(a)?e:CR(CR({},e),{},{clockWise:a})),key:"label-".concat(t),index:t}))})):null}function SR(e){return(SR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xR(){return xR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xR.apply(this,arguments)}function TR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function MR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TR(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=SR(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=SR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==SR(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}kR.displayName="LabelList",kR.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r,i=um(e.children,kR).map(function(e,n){return Qt.cloneElement(e,{data:t,key:"labelList-".concat(n)})});return n?[function(e,t){return e?!0===e?Xt.createElement(kR,{key:"labelList-implicit",data:t}):Xt.isValidElement(e)||Ep(e)?Xt.createElement(kR,{key:"labelList-implicit",data:t,content:e}):kp(e)?Xt.createElement(kR,yR({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t)].concat(function(e){if(Array.isArray(e))return vR(e)}(r=i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return vR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vR(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):i};
vendor: 4,195 bytes, line 1
1var AR=function(e){var t=e.cx,n=e.cy,r=e.radius,i=e.angle,o=e.sign,a=e.isExternal,s=e.cornerRadius,l=e.cornerIsExternal,c=s*(a?1:-1)+r,u=Math.asin(s/c)/ZP,d=l?i:i+o*u,h=l?i-o*u:i;return{center:XP(t,n,c,d),circleTangency:XP(t,n,r,d),lineTangency:XP(t,n,c*Math.cos(u*ZP),h),theta:u}},LR=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return Fp(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),s=o+a,l=XP(t,n,i,o),c=XP(t,n,i,s),u="M ".concat(l.x,",").concat(l.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>s),",\n ").concat(c.x,",").concat(c.y,"\n ");if(r>0){var d=XP(t,n,r,o),h=XP(t,n,r,s);u+="L ".concat(h.x,",").concat(h.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=s),",\n ").concat(d.x,",").concat(d.y," Z")}else u+="L ".concat(t,",").concat(n," Z");return u},PR={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},RR=function(e){var t=MR(MR({},PR),e),n=t.cx,r=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,s=t.forceCornerRadius,l=t.cornerIsExternal,c=t.startAngle,u=t.endAngle,d=t.className;if(o<i||c===u)return null;var h,f=ss("recharts-sector",d),p=o-i,m=Vp(a,p,0,!0);return h=m>0&&Math.abs(c-u)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,s=e.cornerIsExternal,l=e.startAngle,c=e.endAngle,u=Fp(c-l),d=AR({cx:t,cy:n,radius:i,angle:l,sign:u,cornerRadius:o,cornerIsExternal:s}),h=d.circleTangency,f=d.lineTangency,p=d.theta,m=AR({cx:t,cy:n,radius:i,angle:c,sign:-u,cornerRadius:o,cornerIsExternal:s}),g=m.circleTangency,v=m.lineTangency,y=m.theta,b=s?Math.abs(l-c):Math.abs(l-c)-p-y;if(b<0)return a?"M ".concat(f.x,",").concat(f.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):LR({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:l,endAngle:c});var C="M ".concat(f.x,",").concat(f.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(h.x,",").concat(h.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(u<0),",").concat(g.x,",").concat(g.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(v.x,",").concat(v.y,"\n ");if(r>0){var w=AR({cx:t,cy:n,radius:r,angle:l,sign:u,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),E=w.circleTangency,k=w.lineTangency,S=w.theta,x=AR({cx:t,cy:n,radius:r,angle:c,sign:-u,isExternal:!0,cornerRadius:o,cornerIsExternal:s}),T=x.circleTangency,M=x.lineTangency,A=x.theta,L=s?Math.abs(l-c):Math.abs(l-c)-S-A;if(L<0&&0===o)return"".concat(C,"L").concat(t,",").concat(n,"Z");C+="L".concat(M.x,",").concat(M.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(T.x,",").concat(T.y,"\n A").concat(r,",").concat(r,",0,").concat(+(L>180),",").concat(+(u>0),",").concat(E.x,",").concat(E.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(u<0),",").concat(k.x,",").concat(k.y,"Z")}else C+="L".concat(t,",").concat(n,"Z");return C}({cx:n,cy:r,innerRadius:i,outerRadius:o,cornerRadius:Math.min(m,p/2),forceCornerRadius:s,cornerIsExternal:l,startAngle:c,endAngle:u}):LR({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:c,endAngle:u}),Xt.createElement("path",xR({},pm(t,!0),{className:f,d:h,role:"img"}))};function OR(e){return(OR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function DR(){return DR=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DR.apply(this,arguments)}function IR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?IR(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=OR(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=OR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==OR(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IR(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var FR,$R,NR,BR,jR,zR={curveBasisClosed:function(e){return new Pg(e)},curveBasisOpen:function(e){return new Rg(e)},curveBasis:function(e){return new Lg(e)},curveBumpX:function(e){return new cg(e,!0)},curveBumpY:function(e){return new cg(e,!1)},curveLinearClosed:function(e){return new Og(e)},curveLinear:ig,curveMonotoneX:function(e){return new $g(e)},curveMonotoneY:function(e){return new Ng(e)},curveNatural:function(e){return new jg(e)},curveStep:function(e){return new Vg(e,.5)},curveStepAfter:function(e){return new Vg(e,1)},curveStepBefore:function(e){return new Vg(e,0)}},VR=function(e){return e.x===+e.x&&e.y===+e.y},HR=function(e){return e.x},UR=function(e){return e.y},WR=function(e){var t=e.className,n=e.points,r=e.path,i=e.pathRef;if(!(n&&n.length||r))return null;var o=n&&n.length?function(e){var t,n=e.type,r=void 0===n?"linear":n,i=e.points,o=void 0===i?[]:i,a=e.baseLine,s=e.layout,l=e.connectNulls,c=void 0!==l&&l,u=function(e,t){if(Ep(e))return e;var n="curve".concat(Vm(e));return"curveMonotone"!==n&&"curveBump"!==n||!t?zR[n]||ig:zR["".concat(n).concat("vertical"===t?"Y":"X")]}(r,s),d=c?o.filter(function(e){return VR(e)}):o;if(Array.isArray(a)){var h=c?a.filter(function(e){return VR(e)}):a,f=d.map(function(e,t){return _R(_R({},e),{},{base:h[t]})});return(t="vertical"===s?lg().y(UR).x1(HR).x0(function(e){return e.base.x}):lg().x(HR).y1(UR).y0(function(e){return e.base.y})).defined(VR).curve(u),t(f)}return(t="vertical"===s&&Np(a)?lg().y(UR).x1(HR).x0(a):Np(a)?lg().x(HR).y1(UR).y0(a):sg().x(HR).y(UR)).defined(VR).curve(u),t(d)}(e):r;return Qt.createElement("path",DR({},pm(e,!1),Jp(e),{className:ss("recharts-curve",t),d:o,ref:i}))},GR={exports:{}};function qR(){return $R?FR:($R=1,FR="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function KR(){if(BR)return NR;BR=1;var e=qR();function t(){}function n(){}return n.resetWarningCache=t,NR=function(){function r(t,n,r,i,o,a){if(a!==e){var s=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 s.name="Invariant Violation",s}}function i(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}function YR(){return jR||(jR=1,GR.exports=KR()()),GR.exports}const ZR=Ne(YR()),{getOwnPropertyNames:QR,getOwnPropertySymbols:XR}=Object,{hasOwnProperty:JR}=Object.prototype;function eO(e,t){return function(n,r,i){return e(n,r,i)&&t(n,r,i)}}function tO(e){return function(t,n,r){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,r);const{cache:i}=r,o=i.get(t),a=i.get(n);if(o&&a)return o===n&&a===t;i.set(t,n),i.set(n,t);const s=e(t,n,r);return i.delete(t),i.delete(n),s}}function nO(e){return QR(e).concat(XR(e))}const rO=Object.hasOwn||((e,t)=>JR.call(e,t));function iO(e,t){return e===t||!e&&!t&&e!=e&&t!=t}const{getOwnPropertyDescriptor:oO,keys:aO}=Object;function sO(e,t){return e.byteLength===t.byteLength&&CO(new Uint8Array(e),new Uint8Array(t))}function lO(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function cO(e,t){return e.byteLength===t.byteLength&&CO(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function uO(e,t){return iO(e.getTime(),t.getTime())}function dO(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function hO(e,t){return e===t}function fO(e,t,n){const r=e.size;if(r!==t.size)return!1;if(!r)return!0;const i=new Array(r),o=e.entries();let a,s,l=0;for(;(a=o.next())&&!a.done;){const r=t.entries();let o=!1,c=0;for(;(s=r.next())&&!s.done;){if(i[c]){c++;continue}const r=a.value,u=s.value;if(n.equals(r[0],u[0],l,c,e,t,n)&&n.equals(r[1],u[1],r[0],u[0],e,t,n)){o=i[c]=!0;break}c++}if(!o)return!1;l++}return!0}const pO=iO;function mO(e,t,n){const r=aO(e);let i=r.length;if(aO(t).length!==i)return!1;for(;i-- >0;)if(!EO(e,t,n,r[i]))return!1;return!0}function gO(e,t,n){const r=nO(e);let i,o,a,s=r.length;if(nO(t).length!==s)return!1;for(;s-- >0;){if(i=r[s],!EO(e,t,n,i))return!1;if(o=oO(e,i),a=oO(t,i),(o||a)&&(!o||!a||o.configurable!==a.configurable||o.enumerable!==a.enumerable||o.writable!==a.writable))return!1}return!0}function vO(e,t){return iO(e.valueOf(),t.valueOf())}function yO(e,t){return e.source===t.source&&e.flags===t.flags}function bO(e,t,n){const r=e.size;if(r!==t.size)return!1;if(!r)return!0;const i=new Array(r),o=e.values();let a,s;for(;(a=o.next())&&!a.done;){const r=t.values();let o=!1,l=0;for(;(s=r.next())&&!s.done;){if(!i[l]&&n.equals(a.value,s.value,a.value,s.value,e,t,n)){o=i[l]=!0;break}l++}if(!o)return!1}return!0}function CO(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function wO(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function EO(e,t,n,r){return!("_owner"!==r&&"__o"!==r&&"__v"!==r||!e.$$typeof&&!t.$$typeof)||rO(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}const kO={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array
1]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},SO=Object.prototype.toString;const xO=TO();function TO(e={}){const{circular:t=!1,createInternalComparator:n,createState:r,strict:i=!1}=e,o=function({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:sO,areArraysEqual:n?gO:lO,areDataViewsEqual:cO,areDatesEqual:uO,areErrorsEqual:dO,areFunctionsEqual:hO,areMapsEqual:n?eO(fO,gO):fO,areNumbersEqual:pO,areObjectsEqual:n?gO:mO,arePrimitiveWrappersEqual:vO,areRegExpsEqual:yO,areSetsEqual:n?eO(bO,gO):bO,areTypedArraysEqual:n?eO(CO,gO):CO,areUrlsEqual:wO,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){const e=tO(r.areArraysEqual),t=tO(r.areMapsEqual),n=tO(r.areObjectsEqual),i=tO(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:e,areMapsEqual:t,areObjectsEqual:n,areSetsEqual:i})}return r}(e),a=function({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:i,areFunctionsEqual:o,areMapsEqual:a,areNumbersEqual:s,areObjectsEqual:l,arePrimitiveWrappersEqual:c,areRegExpsEqual:u,areSetsEqual:d,areTypedArraysEqual:h,areUrlsEqual:f,unknownTagComparators:p}){return function(m,g,v){if(m===g)return!0;if(null==m||null==g)return!1;const y=typeof m;if(y!==typeof g)return!1;if("object"!==y)return"number"===y?s(m,g,v):"function"===y&&o(m,g,v);const b=m.constructor;if(b!==g.constructor)return!1;if(b===Object)return l(m,g,v);if(Array.isArray(m))return t(m,g,v);if(b===Date)return r(m,g,v);if(b===RegExp)return u(m,g,v);if(b===Map)return a(m,g,v);if(b===Set)return d(m,g,v);const C=SO.call(m);if("[object Date]"===C)return r(m,g,v);if("[object RegExp]"===C)return u(m,g,v);if("[object Map]"===C)return a(m,g,v);if("[object Set]"===C)return d(m,g,v);if("[object Object]"===C)return"function"!=typeof m.then&&"function"!=typeof g.then&&l(m,g,v);if("[object URL]"===C)return f(m,g,v);if("[object Error]"===C)return i(m,g,v);if("[object Arguments]"===C)return l(m,g,v);if(kO[C])return h(m,g,v);if("[object ArrayBuffer]"===C)return e(m,g,v);if("[object DataView]"===C)return n(m,g,v);if("[object Boolean]"===C||"[object Number]"===C||"[object String]"===C)return c(m,g,v);if(p){let e=p[C];if(!e){const t=null!=(w=m)?w[Symbol.toStringTag]:void 0;t&&(e=p[t])}if(e)return e(m,g,v)}var w;return!1}}(o);var s;return function({circular:e,comparator:t,createState:n,equals:r,strict:i}){if(n)return function(o,a){const{cache:s=(e?new WeakMap:void 0),meta:l}=n();return t(o,a,{cache:s,equals:r,meta:l,strict:i})};if(e)return function(e,n){return t(e,n,{cache:new WeakMap,equals:r,meta:void 0,strict:i})};const o={cache:void 0,equals:r,meta:void 0,strict:i};return function(e,n){return t(e,n,o)}}({circular:t,comparator:a,createState:r,equals:n?n(a):(s=a,function(e,t,n,r,i,o,a){return s(e,t,a)}),strict:i})}function MO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;requestAnimationFrame(function r(i){n<0&&(n=i),i-n>t?(e(i),n=-1):function(e){"undefined"!=typeof requestAnimationFrame&&requestAnimationFrame(e)}(r)})}function AO(e){return(AO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function LO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function PO(){var e=function(){return null},t=!1,n=function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var i=function(e){if(Array.isArray(e))return e}(s=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return LO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?LO(e,t):void 0}}(s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i[0],a=i.slice(1);return"number"==typeof o?void MO(n.bind(null,a),o):(n(o),void MO(n.bind(null,a)))}"object"===AO(r)&&e(r),"function"==typeof r&&r()}var s};return{stop:function(){t=!0},start:function(e){t=!1,n(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function RO(e){return(RO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function OO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function DO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?OO(Object(n),!0).forEach(function(t){IO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):OO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function IO(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==RO(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!==RO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===RO(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}TO({strict:!0}),TO({circular:!0}),TO({circular:!0,strict:!0}),TO({createInternalComparator:()=>iO}),TO({strict:!0,createInternalComparator:()=>iO}),TO({circular:!0,createInternalComparator:()=>iO}),TO({circular:!0,createInternalComparator:()=>iO,strict:!0});var _O=function(e){return e},FO=function(e,t){return Object.keys(t).reduce(function(n,r){return DO(DO({},n),{},IO({},r,e(r,t[r])))},{})},$O=function(e,t,n){return e.map(function(e){return"".concat((r=e,r.replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())}))," ").concat(t,"ms ").concat(n);var r}).join(",")};function NO(e,t){if(e){if("string"==typeof e)return BO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?BO(e,t):void 0}}function BO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var jO=1e-4,zO=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},VO=function(e,t){return e.map(function(e,n){return e*Math.pow(t,n)}).reduce(function(e,t){return e+t})},HO=function(e,t){return function(n){var r=zO(e,t);return VO(r,n)}},UO=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i,o=t[0],a=t[1],s=t[2],l=t[3];if(1===t.length)switch(t[0]){case"linear":o=0,a=0,s=1,l=1;break;case"ease":o=.25,a=.1,s=.25,l=1;break;case"ease-in":o=.42,a=0,s=1,l=1;break;case"ease-out":o=.42,a=0,s=.58,l=1;break;case"ease-in-out":o=0,a=0,s=.58,l=1;break;default:var c=t[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=(r=c[1].split(")")[0].split(",").map(function(e){return parseFloat(e)}),i=4,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(r,i)||NO(r,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());o=u[0],a=u[1],s=u[2],l=u[3]}}var d,h,f=HO(o,s),p=HO(a,l),m=(d=o,h=s,function(e){var t=zO(d,h),n=[].concat(function(e){return function(e){if(Array.isArray(e))return BO(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||NO(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.map(function(e,t){return e*t}).slice(1)),[0]);return VO(n,e)}),g=function(e){return e>1?1:e<0?0:e},v=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var i=f(n)-t,o=m(n);if(Math.abs(i-t)<jO||o<jO)return p(n);n=g(n-i/o)}return p(n)};return v.isStepper=!1,v};function WO(e){return(WO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function GO(e){return function(e){if(Array.isArray(e))return QO(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ZO(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function KO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?qO(Object(n),!0).forEach(function(t){YO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function YO(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==WO(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!==WO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===WO(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZO(e,t){if(e){if("string"==typeof e)return QO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?QO(e,t):void 0}}function QO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var XO=function(e,t,n){return e+(t-e)*n},JO=function(e){return e.from!==e.to},eD=function e(t,n,r){var i=FO(function(e,n){if(JO(n)){var r=(a=t(n.from,n.to,n.velocity),s=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(a,s)||ZO(a,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=r[0],o=r[1];return KO(KO({},n),{},{from:i,velocity:o})}var a,s;return n},n);return r<1?FO(function(e,t){return JO(t)?KO(KO({},t),{},{velocity:XO(t.velocity,i[e].velocity,r),from:XO(t.from,i[e].from,r)}):t},n):e(t,i,r-1)};function tD(e){return(tD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var nD=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function rD(e){return function(e){if(Array.isArray(e))return iD(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return iD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iD(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function oD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function aD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oD(Object(n),!0).forEach(function(t){sD(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oD(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sD(e,t,n){return(t=lD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lD(e){var t=function(e,t){if("object"!==tD(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!==tD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===tD(t)?t:String(t)}
vendor: 17,536 bytes, line 1
1function cD(e,t){return(cD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function uD(e,t){if(t&&("object"===tD(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return dD(e)}function dD(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hD(e){return(hD=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fD=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cD(e,t)}(o,Qt.PureComponent);var e,t,n,r,i=(e=o,t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var n,r=hD(e);if(t){var i=hD(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return uD(this,n)});function o(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var r=(n=i.call(this,e,t)).props,a=r.isActive,s=r.attributeName,l=r.from,c=r.to,u=r.steps,d=r.children,h=r.duration;if(n.handleStyleChange=n.handleStyleChange.bind(dD(n)),n.changeStyle=n.changeStyle.bind(dD(n)),!a||h<=0)return n.state={style:{}},"function"==typeof d&&(n.state={style:c}),uD(n);if(u&&u.length)n.state={style:u[0].style};else if(l){if("function"==typeof d)return n.state={style:l},uD(n);n.state={style:s?sD({},s,l):l}}else n.state={style:{}};return n}return n=o,r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,n=e.canBegin;this.mounted=!0,t&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isActive,r=t.canBegin,i=t.attributeName,o=t.shouldReAnimate,a=t.to,s=t.from,l=this.state.style;if(r)if(n){if(!(xO(e.to,a)&&e.canBegin&&e.isActive)){var c=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var u=c||o?s:e.to;if(this.state&&l){var d={style:i?sD({},i,u):u};(i&&l[i]!==u||!i&&l!==u)&&this.setState(d)}this.runAnimation(aD(aD({},this.props),{},{from:u,begin:0}))}}else{var h={style:i?sD({},i,a):a};this.state&&l&&(i&&l[i]!==a||!i&&l!==a)&&this.setState(h)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,n=e.from,r=e.to,i=e.duration,o=e.easing,a=e.begin,s=e.onAnimationEnd,l=e.onAnimationStart,c=function(e,t,n,r,i){var o,a,s,l,c=(o=e,a=t,[Object.keys(o),Object.keys(a)].reduce(function(e,t){return e.filter(function(e){return t.includes(e)})})),u=c.reduce(function(n,r){return KO(KO({},n),{},YO({},r,[e[r],t[r]]))},{}),d=c.reduce(function(n,r){return KO(KO({},n),{},YO({},r,{from:e[r],velocity:0,to:t[r]}))},{}),h=-1,f=function(){return null};return f=n.isStepper?function(r){s||(s=r);var o=(r-s)/n.dt;d=eD(n,d,o),i(KO(KO(KO({},e),t),FO(function(e,t){return t.from},d))),s=r,Object.values(d).filter(JO).length&&(h=requestAnimationFrame(f))}:function(o){l||(l=o);var a=(o-l)/r,s=FO(function(e,t){return XO.apply(void 0,GO(t).concat([n(a)]))},u);if(i(KO(KO(KO({},e),t),s)),a<1)h=requestAnimationFrame(f);else{var c=FO(function(e,t){return XO.apply(void 0,GO(t).concat([n(1)]))},u);i(KO(KO(KO({},e),t),c))}},function(){return requestAnimationFrame(f),function(){cancelAnimationFrame(h)}}}(n,r,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if("string"==typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return UO(r);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,i=void 0===r?8:r,o=e.dt,a=void 0===o?17:o,s=function(e,t,r){var o=r+(-(e-t)*n-r*i)*a/1e3,s=r*a/1e3+e;return Math.abs(s-t)<jO&&Math.abs(o)<jO?[t,0]:[s,o]};return s.isStepper=!0,s.dt=a,s}();default:if("cubic-bezier"===r.split("(")[0])return UO(r)}return"function"==typeof r?r:null}(o),i,this.changeStyle);this.manager.start([l,a,function(){t.stopJSAnimation=c()},i,s])}},{key:"runStepAnimation",value:function(e){var t=this,n=e.steps,r=e.begin,i=e.onAnimationStart,o=n[0],a=o.style,s=o.duration,l=void 0===s?0:s;return this.manager.start([i].concat(rD(n.reduce(function(e,r,i){if(0===i)return e;var o=r.duration,a=r.easing,s=void 0===a?"ease":a,l=r.style,c=r.properties,u=r.onAnimationEnd,d=i>0?n[i-1]:r,h=c||Object.keys(l);if("function"==typeof s||"spring"===s)return[].concat(rD(e),[t.runJSAnimation.bind(t,{from:d.style,to:l,duration:o,easing:s}),o]);var f=$O(h,o,s),p=aD(aD(aD({},d.style),l),{},{transition:f});return[].concat(rD(e),[p,o,u]).filter(_O)},[a,Math.max(l,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=PO());var t=e.begin,n=e.duration,r=e.attributeName,i=e.to,o=e.easing,a=e.onAnimationStart,s=e.onAnimationEnd,l=e.steps,c=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof c&&"spring"!==o)if(l.length>1)this.runStepAnimation(e);else{var d=r?sD({},r,i):i,h=$O(Object.keys(d),n,o);u.start([a,t,aD(aD({},d),{},{transition:h}),n,s])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,t=e.children;e.begin;var n=e.duration;e.attributeName,e.easing;var r=e.isActive;e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart;var i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,nD),o=Qt.Children.count(t),a=this.state.style;if("function"==typeof t)return t(a);if(!r||0===o||n<=0)return t;var s=function(e){var t=e.props,n=t.style,r=void 0===n?{}:n,o=t.className;return Qt.cloneElement(e,aD(aD({},i),{},{style:aD(aD({},r),a),className:o}))};return 1===o?s(Qt.Children.only(t)):Xt.createElement("div",null,Qt.Children.map(t,function(e){return s(e)}))}}],r&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lD(r.key),r)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),o}();function pD(e){return(pD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mD(){return mD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mD.apply(this,arguments)}function gD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vD(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=pD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=pD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==pD(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vD(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}fD.displayName="Animate",fD.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},fD.propTypes={from:ZR.oneOfType([ZR.object,ZR.string]),to:ZR.oneOfType([ZR.object,ZR.string]),attributeName:ZR.string,duration:ZR.number,begin:ZR.number,easing:ZR.oneOfType([ZR.string,ZR.func]),steps:ZR.arrayOf(ZR.shape({duration:ZR.number.isRequired,style:ZR.object.isRequired,easing:ZR.oneOfType([ZR.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),ZR.func]),properties:ZR.arrayOf("string"),onAnimationEnd:ZR.func})),children:ZR.oneOfType([ZR.node,ZR.func]),isActive:ZR.bool,canBegin:ZR.bool,onAnimationEnd:ZR.func,shouldReAnimate:ZR.bool,onAnimationStart:ZR.func,onAnimationReStart:ZR.func};var bD=function(e,t,n,r,i){var o,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),s=r>=0?1:-1,l=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&i instanceof Array){for(var u=[0,0,0,0],d=0;d<4;d++)u[d]=i[d]>a?a:i[d];o="M".concat(e,",").concat(t+s*u[0]),u[0]>0&&(o+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(c,",").concat(e+l*u[0],",").concat(t)),o+="L ".concat(e+n-l*u[1],",").concat(t),u[1]>0&&(o+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(c,",\n ").concat(e+n,",").concat(t+s*u[1])),o+="L ".concat(e+n,",").concat(t+r-s*u[2]),u[2]>0&&(o+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(c,",\n ").concat(e+n-l*u[2],",").concat(t+r)),o+="L ".concat(e+l*u[3],",").concat(t+r),u[3]>0&&(o+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(c,",\n ").concat(e,",").concat(t+r-s*u[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var h=Math.min(a,i);o="M ".concat(e,",").concat(t+s*h,"\n A ").concat(h,",").concat(h,",0,0,").concat(c,",").concat(e+l*h,",").concat(t,"\n L ").concat(e+n-l*h,",").concat(t,"\n A ").concat(h,",").concat(h,",0,0,").concat(c,",").concat(e+n,",").concat(t+s*h,"\n L ").concat(e+n,",").concat(t+r-s*h,"\n A ").concat(h,",").concat(h,",0,0,").concat(c,",").concat(e+n-l*h,",").concat(t+r,"\n L ").concat(e+l*h,",").concat(t+r,"\n A ").concat(h,",").concat(h,",0,0,").concat(c,",").concat(e,",").concat(t+r-s*h," Z")}else o="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return o},CD=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,i=t.x,o=t.y,a=t.width,s=t.height;if(Math.abs(a)>0&&Math.abs(s)>0){var l=Math.min(i,i+a),c=Math.max(i,i+a),u=Math.min(o,o+s),d=Math.max(o,o+s);return n>=l&&n<=c&&r>=u&&r<=d}return!1},wD={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},ED=function(e){var t,n,r=yD(yD({},wD),e),i=Qt.useRef(),o=(t=Qt.useState(-1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return gD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gD(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],s=o[1];Qt.useEffect(function(){if(i.current&&i.current.getTotalLength)try{var e=i.current.getTotalLength();e&&s(e)}catch(t){}},[]);var l=r.x,c=r.y,u=r.width,d=r.height,h=r.radius,f=r.className,p=r.animationEasing,m=r.animationDuration,g=r.animationBegin,v=r.isAnimationActive,y=r.isUpdateAnimationActive;if(l!==+l||c!==+c||u!==+u||d!==+d||0===u||0===d)return null;var b=ss("recharts-rectangle",f);return y?Xt.createElement(fD,{canBegin:a>0,from:{width:u,height:d,x:l,y:c},to:{width:u,height:d,x:l,y:c},duration:m,animationEasing:p,isActive:y},function(e){var t=e.width,n=e.height,o=e.x,s=e.y;return Xt.createElement(fD,{canBegin:a>0,from:"0px ".concat(-1===a?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:m,isActive:v,easing:p},Xt.createElement("path",mD({},pm(r,!0),{className:b,d:bD(o,s,t,n,h),ref:i})))}):Xt.createElement("path",mD({},pm(r,!0),{className:b,d:bD(l,c,u,d,h)}))},kD=["points","className","baseLinePoints","connectNulls"];function SD(){return SD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SD.apply(this,arguments)}function xD(e){return function(e){if(Array.isArray(e))return TD(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return TD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?TD(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function TD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var MD=function(e){return e&&e.x===+e.x&&e.y===+e.y},AD=function(e,t){var n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[[]];return e.forEach(function(e){MD(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])}),MD(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t}(e);t&&(n=[n.reduce(function(e,t){return[].concat(xD(e),xD(t))},[])]);var r=n.map(function(e){return e.reduce(function(e,t,n){return"".concat(e).concat(0===n?"M":"L").concat(t.x,",").concat(t.y)},"")}).join("");return 1===n.length?"".concat(r,"Z"):r},LD=function(e){var t=e.points,n=e.className,r=e.baseLinePoints,i=e.connectNulls,o=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,kD);if(!t||!t.length)return null;var a=ss("recharts-polygon",n);if(r&&r.length){var s=o.stroke&&"none"!==o.stroke,l=function(e,t,n){var r=AD(e,n);return"".concat("Z"===r.slice(-1)?r.slice(0,-1):r,"L").concat(AD(t.reverse(),n).slice(1))}(t,r,i);return Xt.createElement("g",{className:a},Xt.createElement("path",SD({},pm(o,!0),{fill:"Z"===l.slice(-1)?o.fill:"none",stroke:"none",d:l})),s?Xt.createElement("path",SD({},pm(o,!0),{fill:"none",d:AD(t,i)})):null,s?Xt.createElement("path",SD({},pm(o,!0),{fill:"none",d:AD(r,i)})):null)}var c=AD(t,i);return Xt.createElement("path",SD({},pm(o,!0),{fill:"Z"===c.slice(-1)?o.fill:"none",className:a,d:c}))};function PD(){return PD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PD.apply(this,arguments)}var RD=function(e){var t=e.cx,n=e.cy,r=e.r,i=ss("recharts-dot",e.className);return t===+t&&n===+n&&r===+r?Qt.createElement("circle",PD({},pm(e,!1),Jp(e),{className:i,cx:t,cy:n,r:r})):null};function OD(e){return(OD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var DD=["x","y","top","left","width","height","className"];function ID(){return ID=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ID.apply(this,arguments)}function _D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var FD,$D,ND=function(e,t,n,r,i,o){return"M".concat(e,",").concat(i,"v").concat(r,"M").concat(o,",").concat(t,"h").concat(n)},BD=function(e){var t=e.x,n=void 0===t?0:t,r=e.y,i=void 0===r?0:r,o=e.top,a=void 0===o?0:o,s=e.left,l=void 0===s?0:s,c=e.width,u=void 0===c?0:c,d=e.height,h=void 0===d?0:d,f=e.className,p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?_D(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=OD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=OD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==OD(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_D(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({x:n,y:i,top:a,left:l,width:u,height:h},function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,DD));return Np(n)&&Np(i)&&Np(u)&&Np(h)&&Np(a)&&Np(l)?Xt.createElement("path",ID({},pm(p,!0),{className:ss("recharts-cross",f),d:ND(n,i,u,h,a,l)})):null};const jD=Ne(function(){if($D)return FD;$D=1;var e=BA(),t=jA(),n=gC();return FD=function(r,i){return r&&r.length?e(r,n(i,2),t):void 0}}());var zD,VD;const HD=Ne(function(){if(VD)return zD;VD=1;var e=BA(),t=gC(),n=GA();return zD=function(r,i){return r&&r.length?e(r,t(i,2),n):void 0}}());var UD=["cx","cy","angle","ticks","axisLine"],WD=["ticks","tick","angle","tickFormatter","stroke"];function GD(e){return(GD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qD(){return qD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qD.apply(this,arguments)}function KD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function YD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?KD(Object(n),!0).forEach(function(t){tI(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):KD(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ZD(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function QD(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,nI(r.key),r)}}function XD(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(XD=function(){return!!e})()}function JD(e){return(JD=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function eI(e,t){return(eI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tI(e,t,n){return(t=nI(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nI(e){var t=function(e){if("object"!=GD(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=GD(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==GD(t)?t:t+""}var rI=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=arguments,n=JD(n=e),function(e,t){if(t&&("object"===GD(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,XD()?Reflect.construct(n,r||[],JD(t).constructor):n.apply(t,r));var t,n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&eI(e,t)}(e,Qt.PureComponent),t=e,r=[{key:"renderTickItem",value:function(e,t,n){return Xt.isValidElement(e)?Xt.cloneElement(e,t):Ep(e)?e
vendor: 4,243 bytes, line 1
1(t):Xt.createElement(dk,qD({},t,{className:"recharts-polar-radius-axis-tick-value"}),n)}}],(n=[{key:"getTickValueCoord",value:function(e){var t=e.coordinate,n=this.props,r=n.angle,i=n.cx,o=n.cy;return XP(i,o,t,r)}},{key:"getTickTextAnchor",value:function(){var e;switch(this.props.orientation){case"left":e="end";break;case"right":e="start";break;default:e="middle"}return e}},{key:"getViewBox",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.angle,i=e.ticks,o=jD(i,function(e){return e.coordinate||0});return{cx:t,cy:n,startAngle:r,endAngle:r,innerRadius:HD(i,function(e){return e.coordinate||0}).coordinate||0,outerRadius:o.coordinate||0}}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.angle,i=e.ticks,o=e.axisLine,a=ZD(e,UD),s=i.reduce(function(e,t){return[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)]},[1/0,-1/0]),l=XP(t,n,s[0],r),c=XP(t,n,s[1],r),u=YD(YD(YD({},pm(a,!1)),{},{fill:"none"},pm(o,!1)),{},{x1:l.x,y1:l.y,x2:c.x,y2:c.y});return Xt.createElement("line",qD({className:"recharts-polar-radius-axis-line"},u))}},{key:"renderTicks",value:function(){var t=this,n=this.props,r=n.ticks,i=n.tick,o=n.angle,a=n.tickFormatter,s=n.stroke,l=ZD(n,WD),c=this.getTickTextAnchor(),u=pm(l,!1),d=pm(i,!1),h=r.map(function(n,r){var l=t.getTickValueCoord(n),h=YD(YD(YD(YD({textAnchor:c,transform:"rotate(".concat(90-o,", ").concat(l.x,", ").concat(l.y,")")},u),{},{stroke:"none",fill:s},d),{},{index:r},l),{},{payload:n});return Xt.createElement(Bm,qD({className:ss("recharts-polar-radius-axis-tick",nR(i)),key:"tick-".concat(n.coordinate)},em(t.props,n,r)),e.renderTickItem(i,h,a?a(n.value,r):n.value))});return Xt.createElement(Bm,{className:"recharts-polar-radius-axis-ticks"},h)}},{key:"render",value:function(){var e=this.props,t=e.ticks,n=e.axisLine,r=e.tick;return t&&t.length?Xt.createElement(Bm,{className:ss("recharts-polar-radius-axis",this.props.className)},n&&this.renderAxisLine(),r&&this.renderTicks(),cR.renderCallByParent(this.props,this.getViewBox())):null}}])&&QD(t.prototype,n),r&&QD(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();function iI(e){return(iI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oI(){return oI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oI.apply(this,arguments)}function aI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aI(Object(n),!0).forEach(function(t){hI(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aI(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function lI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,fI(r.key),r)}}function cI(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cI=function(){return!!e})()}function uI(e){return(uI=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function dI(e,t){return(dI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function hI(e,t,n){return(t=fI(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fI(e){var t=function(e){if("object"!=iI(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=iI(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==iI(t)?t:t+""}tI(rI,"displayName","PolarRadiusAxis"),tI(rI,"axisType","radiusAxis"),tI(rI,"defaultProps",{type:"number",radiu
1sAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var pI,mI,gI,vI,yI=Math.PI/180,bI=1e-5,CI=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=arguments,n=uI(n=e),function(e,t){if(t&&("object"===iI(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,cI()?Reflect.construct(n,r||[],uI(t).constructor):n.apply(t,r));var t,n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dI(e,t)}(e,Qt.PureComponent),t=e,r=[{key:"renderTickItem",value:function(e,t,n){return Xt.isValidElement(e)?Xt.cloneElement(e,t):Ep(e)?e(t):Xt.createElement(dk,oI({},t,{className:"recharts-polar-angle-axis-tick-value"}),n)}}],(n=[{key:"getTickLineCoord",value:function(e){var t=this.props,n=t.cx,r=t.cy,i=t.radius,o=t.orientation,a=t.tickSize||8,s=XP(n,r,i,e.coordinate),l=XP(n,r,i+("inner"===o?-1:1)*a,e.coordinate);return{x1:s.x,y1:s.y,x2:l.x,y2:l.y}}},{key:"getTickTextAnchor",value:function(e){var t=this.props.orientation,n=Math.cos(-e.coordinate*yI);return n>bI?"outer"===t?"start":"end":n<-bI?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.radius,i=e.axisLine,o=e.axisLineType,a=sI(sI({},pm(this.props,!1)),{},{fill:"none"},pm(i,!1));if("circle"===o)return Xt.createElement(RD,oI({className:"recharts-polar-angle-axis-line"},a,{cx:t,cy:n,r:r}));var s=this.props.ticks.map(function(e){return XP(t,n,r,e.coordinate)});return Xt.createElement(LD,oI({className:"recharts-polar-angle-axis-line"},a,{points:s}))}},{key:"renderTicks",value:function(){var t=this,n=this.props,r=n.ticks,i=n.tick,o=n.tickLine,a=n.tickFormatter,s=n.stroke,l=pm(this.props,!1),c=pm(i,!1),u=sI(sI({},l),{},{fill:"none"},pm(o,!1)),d=r.map(function(n,r){var d=t.getTickLineCoord(n),h=sI(sI(sI({textAnchor:t.getTickTextAnchor(n)},l),{},{stroke:"none",fill:s},c),{},{index:r,payload:n,x:d.x2,y:d.y2});return Xt.createElement(Bm,oI({className:ss("recharts-polar-angle-axis-tick",nR(i)),key:"tick-".concat(n.coordinate)},em(t.props,n,r)),o&&Xt.createElement("line",oI({className:"recharts-polar-angle-axis-tick-line"},u,d)),i&&e.renderTickItem(i,h,a?a(n.value,r):n.value))});return Xt.createElement(Bm,{className:"recharts-polar-angle-axis-ticks"},d)}},{key:"render",value:function(){var e=this.props,t=e.ticks,n=e.radius,r=e.axisLine;return n<=0||!t||!t.length?null:Xt.createElement(Bm,{className:ss("recharts-polar-angle-axis",this.props.className)},r&&this.renderAxisLine(),this.renderTicks())}}])&&lI(t.prototype,n),r&&lI(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();hI(CI,"displayName","PolarAngleAxis"),hI(CI,"axisType","angleAxis"),hI(CI,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});const wI=Ne(function(){if(vI)return gI;vI=1;var e=qf(),t=function(){if(mI)return pI;mI=1;var e=aC()(Object.getPrototypeOf,Object);return pI=e}(),n=Kf(),r=Function.prototype,i=Object.prototype,o=r.toString,a=i.hasOwnProperty,s=o.call(Object);return gI=function(r){if(!n(r)||"[object Object]"!=e(r))return!1;var i=t(r);if(null===i)return!0;var l=a.call(i,"constructor")&&i.constructor;return"function"==typeof l&&l instanceof l&&o.call(l)==s}}());var EI,kI;const SI=Ne(function(){if(kI)return EI;kI=1;var e=qf(),t=Kf();return EI=function(n){return!0===n||!1===n||t(n)&&"[object Boolean]"==e(n)}}());function xI(e){return(xI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function TI(){return TI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TI.apply(this,arguments)}function MI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function AI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function LI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?AI(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=xI(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=xI(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==xI(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AI(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var PI,RI=function(e,t,n,r,i){var o,a=n-r;return o="M ".concat(e,",").concat(t),o+="L ".concat(e+n,",").concat(t),o+="L ".concat(e+n-a/2,",").concat(t+i),(o+="L ".concat(e+n-a/2-r,",").concat(t+i))+"L ".concat(e,",").concat(t," Z")},OI={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},DI=function(e){var t,n,r=LI(LI({},OI),e),i=Qt.useRef(),o=(t=Qt.useState(-1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return MI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?MI(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],s=o[1];Qt.useEffect(function(){if(i.current&&i.current.getTotalLength)try{var e=i.current.getTotalLength();e&&s(e)}catch(t){}},[]);var l=r.x,c=r.y,u=r.upperWidth,d=r.lowerWidth,h=r.height,f=r.className,p=r.animationEasing,m=r.animationDuration,g=r.animationBegin,v=r.isUpdateAnimationActive;if(l!==+l||c!==+c||u!==+u||d!==+d||h!==+h||0===u&&0===d||0===h)return null;var y=ss("recharts-trapezoid",f);return v?Xt.createElement(fD,{canBegin:a>0,from:{upperWidth:0,lowerWidth:0,height:h,x:l,y:c},to:{upperWidth:u,lowerWidth:d,height:h,x:l,y:c},duration:m,animationEasing:p,isActive:v},function(e){var t=e.upperWidth,n=e.lowerWidth,o=e.height,s=e.x,l=e.y;return Xt.createElement(fD,{canBegin:a>0,from:"0px ".concat(-1===a?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:m,easing:p},Xt.createElement("path",TI({},pm(r,!0),{className:y,d:RI(s,l,t,n,o),ref:i})))}):Xt.createElement("g",null,Xt.createElement("path",TI({},pm(r,!0),{className:y,d:RI(l,c,u,d,h)})))},II=["option","shapeType","propTransformer","activeClassName","isActive"];function _I(e){return(_I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function FI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FI(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=_I(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=_I(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==_I(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FI(Object(n)).forEac
vendor: 12,841 bytes, line 1
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function NI(e,t){return $I($I({},t),e)}function BI(e){var t=e.shapeType,n=e.elementProps;switch(t){case"rectangle":return Xt.createElement(ED,n);case"trapezoid":return Xt.createElement(DI,n);case"sector":return Xt.createElement(RR,n);case"symbols":if(function(e){return"symbols"===e}(t))return Xt.createElement(ev,n);break;default:return null}}function jI(e){var t,n=e.option,r=e.shapeType,i=e.propTransformer,o=void 0===i?NI:i,a=e.activeClassName,s=void 0===a?"recharts-active-shape":a,l=e.isActive,c=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,II);if(Qt.isValidElement(n))t=Qt.cloneElement(n,$I($I({},c),function(e){return Qt.isValidElement(e)?e.props:e}(n)));else if(Ep(n))t=n(c);else if(wI(n)&&!SI(n)){var u=o(n,c);t=Xt.createElement(BI,{shapeType:r,elementProps:u})}else{var d=c;t=Xt.createElement(BI,{shapeType:r,elementProps:d})}return l?Xt.createElement(Bm,{className:s},t):t}function zI(e,t){return null!=t&&"trapezoids"in e.props}function VI(e,t){return null!=t&&"sectors"in e.props}function HI(e,t){return null!=t&&"points"in e.props}function UI(e,t){var n,r,i=e.x===(null==t||null===(n=t.labelViewBox)||void 0===n?void 0:n.x)||e.x===t.x,o=e.y===(null==t||null===(r=t.labelViewBox)||void 0===r?void 0:r.y)||e.y===t.y;return i&&o}function WI(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function GI(e,t){var n=e.x===t.x,r=e.y===t.y,i=e.z===t.z;return n&&r&&i}function qI(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,i=function(e,t){var n;return zI(e,t)?n="trapezoids":VI(e,t)?n="sectors":HI(e,t)&&(n="points"),n}(n,t),o=function(e,t){var n,r;return zI(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:VI(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:HI(e,t)?t.payload:{}}(n,t),a=r.filter(function(e,r){var a=tL(o,e),s=n.props[i].filter(function(e){var r=function(e,t){var n;return zI(e,t)?n=UI:VI(e,t)?n=WI:HI(e,t)&&(n=GI),n}(n,t);return r(e,t)}),l=n.props[i].indexOf(s[s.length-1]);return a&&r===l});return r.indexOf(a[a.length-1])}function KI(e){return(KI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function YI(){return YI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YI.apply(this,arguments)}function ZI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function QI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ZI(Object(n),!0).forEach(function(t){n_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZI(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function XI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r_(r.key),r)}}function JI(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(JI=function(){return!!e})()}function e_(e){return(e_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function t_(e,t){return(t_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function n_(e,t,n){return(t=r_(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r_(e){var t=function(e){if("object"!=KI(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=KI(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==KI(t)?t:t+""}var i_,o_,a_,s_,l_,c_,u_,d_,h_=function(){function e(t){var n,r,i,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n_((r=this,o=[t],i=e_(i=e),n=function(e,t){if(t&&("object"===KI(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(r,JI()?Reflect.construct(i,o||[],e_(r).constructor):i.apply(r,o))),"pieRef",null),n_(n,"sectorRefs",[]),n_(n,"id",zp("recharts-pie-")),n_(n,"handleAnimationEnd",function(){var e=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),Ep(e)&&e()}),n_(n,"handleAnimationStart",function(){var e=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),Ep(e)&&e()}),n.state={isAnimationFinished:!t.isAnimationActive,prevIsAnimationActive:t.isAnimationActive,prevAnimationId:t.animationId,sectorToFocus:0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&t_(e,t)}(e,Qt.PureComponent),t=e,r=[{key:"getDerivedStateFromProps",value:function(e,t){return t.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}:e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors!==t.curSectors?{curSectors:e.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(e,t){return e>t?"start":e<t?"end":"middle"}},{key:"renderLabelLineItem",value:function(e,t,n){if(Xt.isValidElement(e))return Xt.cloneElement(e,t);if(Ep(e))return e(t);var r=ss("recharts-pie-label-line","boolean"!=typeof e?e.className:"");return Xt.createElement(WR,YI({},t,{key:n,type:"linear",className:r}))}},{key:"renderLabelItem",value:function(e,t,n){if(Xt.isValidElement(e))return Xt.cloneElement(e,t);var r=n;if(Ep(e)&&(r=e(t),Xt.isValidElement(r)))return r;var i=ss("recharts-pie-label-text","boolean"==typeof e||Ep(e)?"":e.className);return Xt.createElement(dk,YI({},t,{alignmentBaseline:"middle",className:i}),r)}}],(n=[{key:"isActiveIndex",value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?-1!==t.indexOf(e):e===t}},{key:"hasActiveIndex",value:function(){var e=this.props.activeIndex;return Array.isArray(e)?0!==e.length:e||0===e}},{key:"renderLabels",value:function(t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.label,i=n.labelLine,o=n.dataKey,a=n.valueKey,s=pm(this.props,!1),l=pm(r,!1),c=pm(i,!1),u=r&&r.offsetRadius||20,d=t.map(function(t,n){var d=(t.startAngle+t.endAngle)/2,h=XP(t.cx,t.cy,t.outerRadius+u,d),f=QI(QI(QI(QI({},s),t),{},{stroke:"none"},l),{},{index:n,textAnchor:e.getTextAnchor(h.x,t.cx)},h),p=QI(QI(QI(QI({},s),t),{},{fill:"none",stroke:t.fill},c),{},{index:n,points:[XP(t.cx,t.cy,t.outerRadius,d),h]}),m=o;return yp(o)&&yp(a)?m="value":yp(o)&&(m=a),Xt.createElement(Bm,{key:"label-".concat(t.startAngle,"-").concat(t.endAngle,"-").concat(t.midAngle,"-").concat(n)},i&&e.renderLabelLineItem(i,p,"line"),e.renderLabelItem(r,f,CP(t,m)))});return Xt.createElement(Bm,{className:"recharts-pie-labels"},d)}},{key:"renderSectorsStatically",value:function(e){var t=this,n=this.props,r=n.activeShape,i=n.blendStroke,o=n.inactiveShape;return e.map(function(n,a){if(0===(null==n?void 0:n.startAngle)&&0===(null==n?void 0:n.endAngle)&&1!==e.length)return null;var s=t.isActiveIndex(a),l=o&&t.hasActiveIndex()?o:null,c=s?r:l,u=QI(QI({},n),{},{stroke:i?n.fill:n.stroke,tabIndex:-1});return Xt.createElement(Bm,YI({ref:function(e){e&&!t.sectorRefs.includes(e)&&t.sectorRefs.push(e)},tabIndex:-1,className:"recharts-pie-sector"},em(t.props,n,a),{key:"sector-".concat(null==n?void 0:n.startAngle,"-").concat(null==n?void 0:n.endAngle,"-").concat(n.midAngle,"-").concat(a)}),Xt.createElement(jI,YI({option:c,isActive:s,shapeType:"sector"},u)))})}},{key:"renderSectorsWithAnimation",value:function(){var e=this,t=this.props,n=t.sectors,r=t.isAnimationActive,i=t.animationBegin,o=t.animationDuration,a=t.animationEasing,s=t.animationId,l=this.state,c=l.prevSectors,u=l.prevIsAnimationActive;return Xt.createElement(fD,{begin:i,duration:o,isActive:r,easing:a,from:{t:0},to:{t:1},key:"pie-".concat(s,"-").concat(u),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},function(t){var r=t.t,i=[],o=(n&&n[0]).startAngle;return n.forEach(function(e,t){var n=c&&c[t],a=t>0?mp(e,"paddingAngle",0):0;if(n){var s=Up(n.endAngle-n.startAngle,e.endAngle-e.startAngle),l=QI(QI({},e),{},{startAngle:o+a,endAngle:o+s(r)+a});i.push(l),o=l.endAngle}else{var u=e.endAngle,d=e.startAngle,h=Up(0,u-d)(r),f=QI(QI({},e),{},{startAngle:o+a,endAngle:o+h+a});i.push(f),o=f.endAngle}}),Xt.createElement(Bm,null,e.renderSectorsStatically(i))})}},{key:"attachKeyboardHandlers",value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case"ArrowLeft":var n=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case"ArrowRight":var r=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[r].focus(),t.setState({sectorToFocus:r});break;case"Escape":t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return!(n&&t&&t.length)||r&&tL(r,t)?this.renderSectorsStatically(t):this.renderSectorsWithAnimation()}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hide,r=t.sectors,i=t.className,o=t.label,a=t.cx,s=t.cy,l=t.innerRadius,c=t.outerRadius,u=t.isAnimationActive,d=this.state.isAnimationFinished;if(n||!r||!r.length||!Np(a)||!Np(s)||!Np(l)||!Np(c))return null;var h=ss("recharts-pie",i);return Xt.createElement(Bm,{tabIndex:this.props.rootTabIndex,className:h,ref:function(t){e.pieRef=t}},this.renderSectors(),o&&this.renderLabels(r),cR.renderCallByParent(this.props,null,!1),(!u||d)&&kR.renderCallByParent(this.props,r,!1))}}])&&XI(t.prototype,n),r&&XI(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();function f_(){if(s_)return a_;s_=1;var e=kE(),t=1/0;return a_=function(n){return n?(n=e(n))===t||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}}PI=h_,n_(h_,"displayName","Pie"),n_(h_,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!eE,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),n_(h_,"parseDeltaAngle",function(e,t){return Fp(t-e)*Math.min(Math.abs(t-e),360)}),n_(h_,"getRealPieData",function(e){var t=e.data,n=e.children,r=pm(e,!1),i=um(n,RE);return t&&t.length?t.map(function(e,t){return QI(QI(QI({payload:e},r),e),i&&i[t]&&i[t].props)}):i&&i.length?i.map(function(e){return QI(QI({},r),e.props)}):[]}),n_(h_,"parseCoordinateOfPie",function(e,t){var n=t.top,r=t.left,i=t.width,o=t.height,a=JP(i,o);return{cx:r+Vp(e.cx,i,i/2),cy:n+Vp(e.cy,o,o/2),innerRadius:Vp(e.innerRadius,a,0),outerRadius:Vp(e.outerRadius,a,.8*a),maxRadius:e.maxRadius||Math.sqrt(i*i+o*o)/2}}),n_(h_,"getComposedData",function(e){var t=e.item,n=e.offset,r=void 0!==t.type.defaultProps?QI(QI({},t.type.defaultProps),t.props):t.props,i=PI.getRealPieData(r);if(!i||!i.length)return null;var o=r.cornerRadius,a=r.startAngle,s=r.endAngle,l=r.paddingAngle,c=r.dataKey,u=r.nameKey,d=r.valueKey,h=r.tooltipType,f=Math.abs(r.minAngle),p=PI.parseCoordinateOfPie(r,n),m=PI.parseDeltaAngle(a,s),g=Math.abs(m),v=c;yp(c)&&yp(d)?(jm(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated
1in 1.1.0'),v="value"):yp(c)&&(jm(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),v=d);var y,b,C=i.filter(function(e){return 0!==CP(e,v,0)}).length,w=g-C*f-(g>=360?C:C-1)*l,E=i.reduce(function(e,t){var n=CP(t,v,0);return e+(Np(n)?n:0)},0);return E>0&&(y=i.map(function(e,t){var n,r=CP(e,v,0),i=CP(e,u,t),s=(Np(r)?r:0)/E,c=(n=t?b.endAngle+Fp(m)*l*(0!==r?1:0):a)+Fp(m)*((0!==r?f:0)+s*w),d=(n+c)/2,g=(p.innerRadius+p.outerRadius)/2,y=[{name:i,value:r,payload:e,dataKey:v,type:h}],C=XP(p.cx,p.cy,g,d);return b=QI(QI(QI({percent:s,cornerRadius:o,name:i,tooltipPayload:y,midAngle:d,middleRadius:g,tooltipPosition:C},e),p),{},{value:CP(e,v),startAngle:n,endAngle:c,payload:e,paddingAngle:Fp(m)*l})})),QI(QI({},p),{},{sectors:y,data:i})});const p_=Ne(function(){if(d_)return u_;d_=1;var e=function(){if(c_)return l_;c_=1;var e=function(){if(o_)return i_;o_=1;var e=Math.ceil,t=Math.max;return i_=function(n,r,i,o){for(var a=-1,s=t(e((r-n)/(i||1)),0),l=Array(s);s--;)l[o?s:++a]=n,n+=i;return l}}(),t=Pw(),n=f_();return l_=function(r){return function(i,o,a){return a&&"number"!=typeof a&&t(i,o,a)&&(o=a=void 0),i=n(i),void 0===o?(o=i,i=0):o=n(o),a=void 0===a?i<o?1:-1:n(a),e(i,o,a,r)}}}()();return u_=e}());function m_(e){return(m_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g_(Object(n),!0).forEach(function(t){y_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y_(e,t,n){var r;return r=function(e,t){if("object"!=m_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=m_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t,"string"),(t="symbol"==m_(r)?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b_=["Webkit","Moz","O","ms"];function C_(e){return(C_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w_(){return w_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w_.apply(this,arguments)}function E_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function k_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E_(Object(n),!0).forEach(function(t){A_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function S_(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,L_(r.key),r)}}function x_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(x_=function(){return!!e})()}function T_(e){return(T_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M_(e,t){return(M_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function A_(e,t,n){return(t=L_(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L_(e){var t=function(e){if("object"!=C_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=C_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==C_(t)?t:t+""}var P_,R_,O_,D_,I_=function(e){return e.changedTouches&&!!e.changedTouches.length},__=function(){function e(t){var n,r,i,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}
vendor: 6,119 bytes, line 1
1(this,e),A_((r=this,o=[t],i=T_(i=e),n=function(e,t){if(t&&("object"===C_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(r,x_()?Reflect.construct(i,o||[],T_(r).constructor):i.apply(r,o))),"handleDrag",function(e){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(e):n.state.isSlideMoving&&n.handleSlideDrag(e)}),A_(n,"handleTouchMove",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleDrag(e.changedTouches[0])}),A_(n,"handleDragEnd",function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var e=n.props,t=e.endIndex,r=e.onDragEnd,i=e.startIndex;null==r||r({endIndex:t,startIndex:i})}),n.detachDragEndListener()}),A_(n,"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),A_(n,"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),A_(n,"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),A_(n,"handleSlideDragStart",function(e){var t=I_(e)?e.changedTouches[0]:e;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,"startX"),endX:n.handleTravellerDragStart.bind(n,"endX")},n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&M_(e,t)}(e,Qt.PureComponent),t=e,r=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o=e.stroke,a=Math.floor(n+i/2)-1;return Xt.createElement(Xt.Fragment,null,Xt.createElement("rect",{x:t,y:n,width:r,height:i,fill:o,stroke:"none"}),Xt.createElement("line",{x1:t+1,y1:a,x2:t+r-1,y2:a,fill:"none",stroke:"#fff"}),Xt.createElement("line",{x1:t+1,y1:a+2,x2:t+r-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,n){return Xt.isValidElement(t)?Xt.cloneElement(t,n):Ep(t)?t(n):e.renderDefaultTraveller(n)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,s=e.startIndex,l=e.endIndex;if(n!==t.prevData||a!==t.prevUpdateId)return k_({prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r},n&&n.length?function(e){var t=e.data,n=e.startIndex,r=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var s=t.length,l=jk().domain(p_(0,s)).range([i,i+o-a]),c=l.domain().map(function(e){return l(e)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(n),endX:l(r),scale:l,scaleValues:c}}({data:n,width:r,x:i,travellerWidth:o,startIndex:s,endIndex:l}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+r-o]);var c=t.scale.domain().map(function(e){return t.scale(e)});return{prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:c}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var i=Math.floor((n+r)/2);e[i]>t?r=i:n=i}return t>=e[r]?r:n}}],(n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var n=t.startX,r=t.endX,i=this.state.scaleValues,o=this.props,a=o.gap,s=o.data.length-1,l=Math.min(n,r),c=Math.max(n,r),u=e.getIndexInRange(i,l),d=e.getIndexInRange(i,c);return{startIndex:u-u%a,endIndex:d===s?s:d-d%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,i=t.dataKey,o=CP(n[e],i,e);return Ep(r)?r(o,e):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,i=t.endX,o=this.props,a=o.x,s=o.width,l=o.travellerWidth,c=o.startIndex,u=o.endIndex,d=o.onChange,h=e.pageX-n;h>0?h=Math.min(h,a+s-l-i,a+s-l-r):h<0&&(h=Math.max(h,a-r,a-i));var f=this.getIndex({startX:r+h,endX:i+h});f.startIndex===c&&f.endIndex===u||!d||d(f),this.setState({startX:r+h,endX:i+h,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=I_(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,n=t.brushMoveStartX,r=t.movingTravellerId,i=t.endX,o=t.startX,a=this.state[r],s=this.props,l=s.x,c=s.width,u=s.travellerWidth,d=s.onChange,h=s.gap,f=s.data,p={startX:this.state.startX,endX:this.state.endX},m=e.pageX-n;m>0?m=Math.min(m,l+c-u-a):m<0&&(m=Math.max(m,l-a)),p[r]=a+m;var g=this.getIndex(p),v=g.startIndex,y=g.endIndex;this.setState(A_(A_({},r,a+m),"brushMoveStartX",e.pageX),function(){var e;d&&(e=f.length-1,("startX"===r&&(i>o?v%h===0:y%h===0)||i<o&&y===e||"endX"===r&&(i>o?y%h===0:v%h===0)||i>o&&y===e)&&d(g))})}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var n=this,r=this.state,i=r.scaleValues,o=r.startX,a=r.endX,s=this.state[t],l=i.indexOf(s);if(-1!==l){var c=l+e;if(!(-1===c||c>=i.length)){var u=i[c];"startX"===t&&u>=a||"endX"===t&&u<=o||this.setState(A_({},t,u),function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))})}}}}
1,{key:"renderBackground",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,o=e.fill,a=e.stroke;return Xt.createElement("rect",{stroke:a,fill:o,x:t,y:n,width:r,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,o=e.data,a=e.children,s=e.padding,l=Qt.Children.only(a);return l?Xt.cloneElement(l,{x:t,y:n,width:r,height:i,margin:s,compact:!0,data:o}):null}},{key:"renderTravellerLayer",value:function(t,n){var r,i,o=this,a=this.props,s=a.y,l=a.travellerWidth,c=a.height,u=a.traveller,d=a.ariaLabel,h=a.data,f=a.startIndex,p=a.endIndex,m=Math.max(t,this.props.x),g=k_(k_({},pm(this.props,!1)),{},{x:m,y:s,width:l,height:c}),v=d||"Min value: ".concat(null===(r=h[f])||void 0===r?void 0:r.name,", Max value: ").concat(null===(i=h[p])||void 0===i?void 0:i.name);return Xt.createElement(Bm,{tabIndex:0,role:"slider","aria-label":v,"aria-valuenow":t,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[n],onTouchStart:this.travellerDragStartHandlers[n],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),o.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,n))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(u,g))}},{key:"renderSlide",value:function(e,t){var n=this.props,r=n.y,i=n.height,o=n.stroke,a=n.travellerWidth,s=Math.min(e,t)+a,l=Math.max(Math.abs(t-e)-a,0);return Xt.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:o,fillOpacity:.2,x:s,y:r,width:l,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,r=e.y,i=e.height,o=e.travellerWidth,a=e.stroke,s=this.state,l=s.startX,c=s.endX,u={pointerEvents:"none",fill:a};return Xt.createElement(Bm,{className:"recharts-brush-texts"},Xt.createElement(dk,w_({textAnchor:"end",verticalAnchor:"middle",x:Math.min(l,c)-5,y:r+i/2},u),this.getTextOfTick(t)),Xt.createElement(dk,w_({textAnchor:"start",verticalAnchor:"middle",x:Math.max(l,c)+o+5,y:r+i/2},u),this.getTextOfTick(n)))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.className,r=e.children,i=e.x,o=e.y,a=e.width,s=e.height,l=e.alwaysShowText,c=this.state,u=c.startX,d=c.endX,h=c.isTextActive,f=c.isSlideMoving,p=c.isTravellerMoving,m=c.isTravellerFocused;if(!t||!t.length||!Np(i)||!Np(o)||!Np(a)||!Np(s)||a<=0||s<=0)return null;var g,v,y,b,C=ss("recharts-brush",n),w=1===Xt.Children.count(r),E=(v="none",y=(g="userSelect").replace(/(\w)/,function(e){return e.toUpperCase()}),(b=b_.reduce(function(e,t){return v_(v_({},e),{},y_({},t+y,v))},{}))[g]=v,b);return Xt.createElement(Bm,{className:C,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:E},this.renderBackground(),w&&this.renderPanorama(),this.renderSlide(u,d),this.renderTravellerLayer(u,"startX"),this.renderTravellerLayer(d,"endX"),(h||f||p||m||l)&&this.renderText())}}])&&S_(t.prototype,n),r&&S_(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();A_(__,"displayName","Brush"),A_(__,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});const F_=Ne(function(){if(D_)return O_;D_=1;var e=sy(),t=gC(),n=function(){if(R_)return P_;R_=1;var e=xw();return P_=function(t,n){var r;return e(t,function(e,t,i){return!(r=n(e,t,i))}),!!r}}(),r=Hf(),i=Pw();return O_=function(o,a,s){var l=r(o)?e:n;return s&&i(o,a,s)&&(a=void 0),l(o,t(a,3))}}());var $_,N_,B_,j_,z_=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t};const V_=Ne(function(){if(j_)return B_;j_=1;var e=function(){if(N_)return $_;N_=1;var e=Aw();return $_=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}}(),t=Sw(),n=gC();return B_=function(r,i){var o={};
1return i=n(i,3),t(r,function(t,n,r){e(o,n,i(t,n,r))}),o}}());var H_,U_,W_,G_,q_,K_;const Y_=Ne(function(){if(K_)return q_;K_=1;var e=U_?H_:(U_=1,H_=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}),t=function(){if(G_)return W_;G_=1;var e=xw();return W_=function(t,n){var r=!0;return e(t,function(e,t,i){return r=!!n(e,t,i)}),r}}(),n=gC(),r=Hf(),i=Pw();return q_=function(o,a,s){var l=r(o)?e:t;return s&&i(o,a,s)&&(a=void 0),l(o,n(a,3))}}());var Z_=["x","y"];function Q_(e){return(Q_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function X_(){return X_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X_.apply(this,arguments)}function J_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J_(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=Q_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Q_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==Q_(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tF(e,t){var n=e.x,r=e.y,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Z_),o="".concat(n),a=parseInt(o,10),s="".concat(r),l=parseInt(s,10),c="".concat(t.height||i.height),u=parseInt(c,10),d="".concat(t.width||i.width),h=parseInt(d,10);return eF(eF(eF(eF(eF({},t),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:u,width:h,name:t.name,radius:t.radius})}function nF(e){return Xt.createElement(jI,X_({shapeType:"rectangle",propTransformer:tF,activeClassName:"recharts-active-bar"},e))}var rF,iF=["value","background"];function oF(e){return(oF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function aF(){return aF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aF.apply(this,arguments)}function sF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function lF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sF(Object(n),!0).forEach(function(t){fF(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sF(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pF(r.key),r)}}function uF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(uF=function(){return!!e})()}
1function dF(e){return(dF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function hF(e,t){return(hF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function fF(e,t,n){return(t=pF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pF(e){var t=function(e){if("object"!=oF(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=oF(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oF(t)?t:t+""}var mF=function(){function e(){var t,n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return fF((n=this,r=e,i=[].concat(a),r=dF(r),t=function(e,t){if(t&&("object"===oF(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(n,uF()?Reflect.construct(r,i||[],dF(n).constructor):r.apply(n,i))),"state",{isAnimationFinished:!1}),fF(t,"id",zp("recharts-bar-")),fF(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()}),fF(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()}),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hF(e,t)}(e,Qt.PureComponent),t=e,r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}],(n=[{key:"renderRectanglesStatically",value:function(e){var t=this,n=this.props,r=n.shape,i=n.dataKey,o=n.activeIndex,a=n.activeBar,s=pm(this.props,!1);return e&&e.map(function(e,n){var l=n===o,c=l?a:r,u=lF(lF(lF({},s),e),{},{isActive:l,option:c,index:n,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return Xt.createElement(Bm,aF({className:"recharts-bar-rectangle"},em(t.props,e,n),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value,"-").concat(n)}),Xt.createElement(nF,u))})}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,n=t.data,r=t.layout,i=t.isAnimationActive,o=t.animationBegin,a=t.animationDuration,s=t.animationEasing,l=t.animationId,c=this.state.prevData;return Xt.createElement(fD,{begin:o,duration:a,isActive:i,easing:s,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(t){var i=t.t,o=n.map(function(e,t){var n=c&&c[t];if(n){var o=Up(n.x,e.x),a=Up(n.y,e.y),s=Up(n.width,e.width),l=Up(n.height,e.height);return lF(lF({},e),{},{x:o(i),y:a(i),width:s(i),height:l(i)})}if("horizontal"===r){var u=Up(0,e.height)(i);return lF(lF({},e),{},{y:e.y+e.height-u,height:u})}var d=Up(0,e.width)(i);return lF(lF({},e),{},{width:d})});return Xt.createElement(Bm,null,e.renderRectanglesStatically(o))})}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,n=e.isAnimationActive,r=this.state.prevData;return!(n&&t&&t.length)||r&&tL(r,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props,n=t.data,r=t.dataKey,i=t.activeIndex,o=pm(this.props.background,!1);return n.map(function(t,n){t.value;var a=t.background,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,iF);if(!a)return null;var l=lF(lF(lF(lF(lF({},s),{},{fill:"#eee"},a),o),em(e.props,t,n)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:r,index:n,className:"recharts-bar-background-rectangle"});
vendor: 4,528 bytes, line 1
1return Xt.createElement(nF,aF({key:"background-bar-".concat(n),option:e.props.background,isActive:n===i},l))})}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var n=this.props,r=n.data,i=n.xAxis,o=n.yAxis,a=n.layout,s=um(n.children,cP);if(!s)return null;var l="vertical"===a?r[0].height/2:r[0].width/2,c=function(e,t){var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:CP(e,t)}},u={clipPath:e?"url(#clipPath-".concat(t,")"):null};return Xt.createElement(Bm,u,s.map(function(e){return Xt.cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:r,xAxis:i,yAxis:o,layout:a,offset:l,dataPointFormatter:c})}))}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.data,r=e.className,i=e.xAxis,o=e.yAxis,a=e.left,s=e.top,l=e.width,c=e.height,u=e.isAnimationActive,d=e.background,h=e.id;if(t||!n||!n.length)return null;var f=this.state.isAnimationFinished,p=ss("recharts-bar",r),m=i&&i.allowDataOverflow,g=o&&o.allowDataOverflow,v=m||g,y=yp(h)?this.id:h;return Xt.createElement(Bm,{className:p},m||g?Xt.createElement("defs",null,Xt.createElement("clipPath",{id:"clipPath-".concat(y)},Xt.createElement("rect",{x:m?a:a-l/2,y:g?s:s-c/2,width:m?l:2*l,height:g?c:2*c}))):null,Xt.createElement(Bm,{className:"recharts-bar-rectangles",clipPath:v?"url(#clipPath-".concat(y,")"):null},d?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(v,y),(!u||f)&&kR.renderCallByParent(this.props,n))}}])&&cF(t.prototype,n),r&&cF(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();function gF(e){return(gF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vF(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wF(r.key),r)}}function yF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yF(Object(n),!0).forEach(function(t){CF(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yF(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function CF(e,t,n){return(t=wF(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wF(e){var t=function(e,t){if("object"!=gF(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=gF(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==gF(t)?t:t+""}rF=mF,fF(mF,"displayName","Bar"),fF(mF,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!eE,animationBegin:0,animationDuration:400,animationEasing:"ease"}),fF(mF,"getComposedData",function(e){var t=e.props,n=e.item,r=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,s=e.xAxisTicks,l=e.yAxisTicks,c=e.stackedData,u=e.dataStartIndex,d=e.displayedData,h=e.offset,f=function(e,t){if(!e)return null;for(var n=0,r=e.length;n<r;n++)if(e[n].item===t)return e[n].position;return null}(r,n);if(!f)return null;var p=t.layout,m=n.type.defaultProps,g=void 0!==m?lF(lF({},m),n.props):n.props,v=g.dataKey,y=g.children,b=g.minPointSize,C="horizontal"===p?a:o,w=c?C.scale.domain():null,E=function(e){var t=e.numericAxis,n=t.scale.domain();if("number"===t.type){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]}({numericAxis:C}),k=um(y,RE),S=d.map(function(e,t){var r,d,h,m,g,y;c?r=function(e,t){if(!t||2!==t.length||!Np(t[0])||!Np(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!Np(e[0])||e[0]<n)&&(i[0]=n),(!Np(e[1])||e[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i}(c[u+t],w):(r=CP(e,v),Array.isArray(r)||(r=[E,r]));var C=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n,r){if("number"==typeof e)return e;var i=Np(n)||function(e){return yp(e)}(n);return i?e(n,r):(i||JL(),t)}}(b,rF.defaultProps.minPointSize)(r[1],t);
1if("horizontal"===p){var S,x=[a.scale(r[0]),a.scale(r[1])],T=x[0],M=x[1];d=$P({axis:o,ticks:s,bandSize:i,offset:f.offset,entry:e,index:t}),h=null!==(S=null!=M?M:T)&&void 0!==S?S:void 0,m=f.size;var A=T-M;if(g=Number.isNaN(A)?0:A,y={x:d,y:a.y,width:m,height:a.height},Math.abs(C)>0&&Math.abs(g)<Math.abs(C)){var L=Fp(g||C)*(Math.abs(C)-Math.abs(g));h-=L,g+=L}}else{var P=[o.scale(r[0]),o.scale(r[1])],R=P[0],O=P[1];d=R,h=$P({axis:a,ticks:l,bandSize:i,offset:f.offset,entry:e,index:t}),m=O-R,g=f.size,y={x:o.x,y:h,width:o.width,height:g},Math.abs(C)>0&&Math.abs(m)<Math.abs(C)&&(m+=Fp(m||C)*(Math.abs(C)-Math.abs(m)))}return lF(lF(lF({},e),{},{x:d,y:h,width:m,height:g,value:c?r:r[1],payload:e,background:y},k&&k[t]&&k[t].props),{},{tooltipPayload:[UP(n,e)],tooltipPosition:{x:d+m/2,y:h+g/2}})});return lF({data:S,layout:p},h)});var EF=function(e,t){var n=e.x,r=e.y,i=t.x,o=t.y;return{x:Math.min(n,i),y:Math.min(r,o),width:Math.abs(i-n),height:Math.abs(o-r)}},kF=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=t}return t=e,n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){case"start":default:return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],r=[{key:"create",value:function(t){return new e(t)}}],n&&vF(t.prototype,n),r&&vF(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();CF(kF,"EPS",1e-4);var SF,xF,TF,MF,AF,LF,PF,RF,OF=function(e){var t=Object.keys(e).reduce(function(t,n){return bF(bF({},t),{},CF({},n,kF.create(e[n])))},{});return bF(bF({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,i=n.position;return V_(e,function(e,n){return t[n].apply(e,{bandAware:r,position:i})})},isInRange:function(e){return Y_(e,function(e,n){return t[n].isInRange(e)})}})};const DF=Ne(function(){if(RF)return PF;RF=1;var e=function(){if(xF)return SF;xF=1;var e=gC(),t=sC(),n=lC();return SF=function(r){return function(i,o,a){var s=Object(i);if(!t(i)){var l=e(o,3);i=n(i),o=function(e){return l(s[e],e,s)}}var c=r(i,o,a);return c>-1?s[l?i[c]:c]:void 0}}}()(function(){if(LF)return AF;LF=1;var e=vC(),t=gC(),n=function(){if(MF)return TF;MF=1;var e=f_();return TF=function(t){var n=e(t),r=n%1;return n==n?r?n-r:n:0}}(),r=Math.max;return AF=function(i,o,a){var s=null==i?0:i.length;if(!s)return-1;var l=null==a?0:n(a);return l<0&&(l=r(s+l,0)),e(i,t(o,3),l)}}());return PF=e}()),IF=Ne(lp());var _F=IF(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}),FF=Qt.createContext(void 0),$F=Qt.createContext(void 0),NF=Qt.createContext(void 0),BF=Qt.createContext({}),jF=Qt.createContext(void 0),zF=Qt.createContext(0),VF=Qt.createContext(0),HF=function(e){var t=e.state,n=t.xAxisMap,r=t.yAxisMap,i=t.offset,o=e.clipPathId,a=e.children,s=e.width,l=e.height,c=_F(i);return Xt.createElement(FF.Provider,{value:n},Xt.createElement($F.Provider,{value:r},Xt.createElement(BF.Provider,{value:i},Xt.createElement(NF.Provider,{value:c},Xt.createElement(jF.Provider,{value:o},Xt.createElement(zF.Provider,{value:l},Xt.createElement(VF.Provider,{value:s},a)))))))},UF=function(e){var t=Qt.useContext(FF);null==t&&JL();var n=t[e];return null==n&&JL(),n},WF=function(e){var t=Qt.useContext($F);null==t&&JL();var n=t[e];return null==n&&JL(),n},GF=function(){return Qt.useContext(VF)},qF=function(){return Qt.useContext(zF)};function KF(e){return(KF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function YF(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(YF=function(){return!!e})()}
1function ZF(e){return(ZF=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function QF(e,t){return(QF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function XF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function JF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XF(Object(n),!0).forEach(function(t){e$(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XF(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function e$(e,t,n){return(t=t$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t$(e){var t=function(e){if("object"!=KF(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=KF(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==KF(t)?t:t+""}function n$(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r$(){return r$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r$.apply(this,arguments)}function i$(e){var t=e.x,n=e.y,r=e.segment,i=e.xAxisId,o=e.yAxisId,a=e.shape,s=e.className,l=e.alwaysShow,c=Qt.useContext(jF),u=UF(i),d=WF(o),h=Qt.useContext(NF);if(!c||!h)return null;jm(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=function(e,t,n,r,i,o,a,s,l){var c=i.x,u=i.y,d=i.width,h=i.height;if(n){var f=l.y,p=e.y.apply(f,{position:o});if(z_(l,"discard")&&!e.y.isInRange(p))return null;var m=[{x:c+d,y:p},{x:c,y:p}];return"left"===s?m.reverse():m}if(t){var g=l.x,v=e.x.apply(g,{position:o});if(z_(l,"discard")&&!e.x.isInRange(v))return null;var y=[{x:v,y:u+h},{x:v,y:u}];return"top"===a?y.reverse():y}if(r){var b=l.segment.map(function(t){return e.apply(t,{position:o})});return z_(l,"discard")&&F_(b,function(t){return!e.isInRange(t)})?null:b}return null}(OF({x:u.scale,y:d.scale}),Bp(t),Bp(n),r&&2===r.length,h,e.position,u.orientation,d.orientation,e);if(!f)return null;var p,m,g,v=(m=2,function(e){if(Array.isArray(e))return e}(p=f)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(p,m)||function(e,t){if(e){if("string"==typeof e)return n$(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?n$(e,t):void 0}}(p,m)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),y=v[0],b=y.x,C=y.y,w=v[1],E=w.x,k=w.y,S=JF(JF({clipPath:z_(e,"hidden")?"url(#".concat(c,")"):void 0},pm(e,!0)),{},{x1:b,y1:C,x2:E,y2:k});return Xt.createElement(Bm,{className:ss("recharts-reference-line",s)},function(e,t){return Xt.isValidElement(e)?Xt.cloneElement(e,t):Ep(e)?e(t):Xt.createElement("line",r$({},t,{className:"recharts-reference-line-line"}))}(a,S),cR.renderCallByParent(e,EF({x:(g={x1:b,y1:C,x2:E,y2:k}).x1,y:g.y1},{x:g.x2,y:g.y2})))}var o$=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=arguments,n=ZF(n=e),function(e,t){if(t&&("object"===KF(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,YF()?Reflect.construct(n,r||[],ZF(t).constructor):n.apply(t,r));var t,n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&QF(e,t)}(e,Xt.Component),t=e,(n=[{key:"render",value:function(){return Xt.createElement(i$,this.props)}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,t$(r.key),r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}();function a$(){return a$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a$.apply(this,arguments)}function s$(e){return(s$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?l$(Object(n),!0).forEach(function(t){f$(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(u$=function(){return!!e})()}function d$(e){return(d$=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h$(e,t){return(h$=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f$(e,t,n){return(t=p$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p$(e){var t=function(e){if("object"!=s$(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=s$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s$(t)?t:t+""}e$(o$,"displayName","ReferenceLine"),e$(o$,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var m$=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=arguments,n=d$(n=e),function(e,t){if(t&&("object"===s$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,u$()?Reflect.construct(n,r||[],d$(t).constructor):n.apply(t,r));var t,n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h$(e,t)}(e,Xt.Component),t=e,(n=[{key:"render",value:function(){var t=this.props,n=t.x,r=t.y,i=t.r,o=t.alwaysShow,a=t.clipPathId,s=Bp(n),l=Bp(r);if(jm(void 0===o,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!s||!l)return null;var c=function(e){var t=e.x,n=e.y,r=e.xAxis,i=e.yAxis,o=OF({x:r.scale,y:i.scale}),a=o.apply({x:t,y:n},{bandAware:!0});return z_(e,"discard")&&!o.isInRange(a)?null:a}(this.props);if(!c)return null;var u=c.x,d=c.y,h=this.props,f=h.shape,p=h.className,m=c$(c$({clipPath:z_(this.props,"hidden")?"url(#".concat(a,")"):void 0},pm(this.props,!0)),{},{cx:u,cy:d});return Xt.createElement(Bm,{className:ss("recharts-reference-dot",p)},e.renderDot(f,m),cR.renderCallByParent(this.props,{x:u-i,y:d-i,width:2*i,height:2*i}))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p$(r.key),r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}();function g$(){return g$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g$.apply(this,arguments)}function v$(e){return(v$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function b$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y$(Object(n),!0).forEach(function(t){k$(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(C$=function(){return!!e})()}function w$(e){return(w$=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E$(e,t){return(E$=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function k$(e,t,n){return(t=S$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S$(e){var t=function(e){if("object"!=v$(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=v$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==v$(t)?t:t+""}f$(m$,"displayName","ReferenceDot"),f$(m$,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),f$(m$,"renderDot",function(e,t){return Xt.isValidElement(e)?Xt.cloneElement(e,t):Ep(e)?e
1(t):Xt.createElement(RD,a$({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))});var x$=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=arguments,n=w$(n=e),function(e,t){if(t&&("object"===v$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,C$()?Reflect.construct(n,r||[],w$(t).constructor):n.apply(t,r));var t,n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E$(e,t)}(e,Xt.Component),t=e,(n=[{key:"render",value:function(){var t=this.props,n=t.x1,r=t.x2,i=t.y1,o=t.y2,a=t.className,s=t.alwaysShow,l=t.clipPathId;jm(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var c=Bp(n),u=Bp(r),d=Bp(i),h=Bp(o),f=this.props.shape;if(!(c||u||d||h||f))return null;var p=function(e,t,n,r,i){var o=i.x1,a=i.x2,s=i.y1,l=i.y2,c=i.xAxis,u=i.yAxis;if(!c||!u)return null;var d=OF({x:c.scale,y:u.scale}),h={x:e?d.x.apply(o,{position:"start"}):d.x.rangeMin,y:n?d.y.apply(s,{position:"start"}):d.y.rangeMin},f={x:t?d.x.apply(a,{position:"end"}):d.x.rangeMax,y:r?d.y.apply(l,{position:"end"}):d.y.rangeMax};return!z_(i,"discard")||d.isInRange(h)&&d.isInRange(f)?EF(h,f):null}(c,u,d,h,this.props);if(!p&&!f)return null;var m=z_(this.props,"hidden")?"url(#".concat(l,")"):void 0;return Xt.createElement(Bm,{className:ss("recharts-reference-area",a)},e.renderRect(f,b$(b$({clipPath:m},pm(this.props,!0)),p)),cR.renderCallByParent(this.props,p))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,S$(r.key),r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}();function T$(e,t,n){if(t<1)return[];if(1===t&&void 0===n)return e;for(var r=[],i=0;i<e.length;i+=t)r.push(e[i]);return r}function M$(e,t,n,r,i){if(e*t<e*r||e*t>e*i)return!1;var o=n();return e*(t-e*o/2-r)>=0&&e*(t+e*o/2-i)<=0}function A$(e){return(A$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function P$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L$(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=A$(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=A$(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==A$(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R$(e,t,n){var r=e.tick,i=e.ticks,o=e.viewBox,a=e.minTickGap,s=e.orientation,l=e.interval,c=e.tickFormatter,u=e.unit,d=e.angle;if(!i||!i.length||!r)return[];if(Np(l)||eE)return function(e,t){return T$(e,t+1)}(i,"number"==typeof l&&Np(l)?l:0);var h=[],f="top"===s||"bottom"===s?"width":"height",p=u&&"width"===f?NE(u,{fontSize:t,letterSpacing:n}):{width:0,height:0},m=function(e,r){var i=Ep(c)?c(e.value,r):e.value;return"width"===f?function(e,t,n){return function(e){var t=e.width,n=e.height,r=function(e){return(e%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),i=r*Math.PI/180,o=Math.atan(n/t),a=i>o&&i<Math.PI-o?n/Math.sin(i):t/Math.cos(i);return Math.abs(a)}({width:e.width+t.width,height:e.height+t.height},n)}(NE(i,{fontSize:t,letterSpacing:n}),p,d):NE(i,{fontSize:t,letterSpacing:n})[f]},g=i.length>=2?Fp(i[1].coordinate-i[0].coordinate):1,v=function(e,t,n){var r="width"===n,i=e.x,o=e.y,a=e.width,s=e.he
vendor: 25,386 bytes, line 1
1ight;return 1===t?{start:r?i:o,end:r?i+a:o+s}:{start:r?i+a:o+s,end:r?i:o}}(o,g,f);return"equidistantPreserveStart"===l?function(e,t,n,r,i){for(var o,a=(r||[]).slice(),s=t.start,l=t.end,c=0,u=1,d=s,h=function(){var t=null==r?void 0:r[c];if(void 0===t)return{v:T$(r,u)};var o,a=c,h=function(){return void 0===o&&(o=n(t,a)),o},f=t.coordinate,p=0===c||M$(e,f,h,d,l);p||(c=0,d=s,u+=1),p&&(d=f+e*(h()/2+i),c+=u)};u<=a.length;)if(o=h())return o.v;return[]}(g,v,m,i,a):(h="preserveStart"===l||"preserveStartEnd"===l?function(e,t,n,r,i,o){var a=(r||[]).slice(),s=a.length,l=t.start,c=t.end;if(o){var u=r[s-1],d=n(u,s-1),h=e*(u.coordinate+e*d/2-c);a[s-1]=u=P$(P$({},u),{},{tickCoord:h>0?u.coordinate-h*e:u.coordinate}),M$(e,u.tickCoord,function(){return d},l,c)&&(c=u.tickCoord-e*(d/2+i),a[s-1]=P$(P$({},u),{},{isShow:!0}))}for(var f=o?s-1:s,p=function(t){var r,o=a[t],s=function(){return void 0===r&&(r=n(o,t)),r};if(0===t){var u=e*(o.coordinate-e*s()/2-l);a[t]=o=P$(P$({},o),{},{tickCoord:u<0?o.coordinate-u*e:o.coordinate})}else a[t]=o=P$(P$({},o),{},{tickCoord:o.coordinate});M$(e,o.tickCoord,s,l,c)&&(l=o.tickCoord+e*(s()/2+i),a[t]=P$(P$({},o),{},{isShow:!0}))},m=0;m<f;m++)p(m);return a}(g,v,m,i,a,"preserveStartEnd"===l):function(e,t,n,r,i){for(var o=(r||[]).slice(),a=o.length,s=t.start,l=t.end,c=function(t){var r,c=o[t],u=function(){return void 0===r&&(r=n(c,t)),r};if(t===a-1){var d=e*(c.coordinate+e*u()/2-l);o[t]=c=P$(P$({},c),{},{tickCoord:d>0?c.coordinate-d*e:c.coordinate})}else o[t]=c=P$(P$({},c),{},{tickCoord:c.coordinate});M$(e,c.tickCoord,u,s,l)&&(l=c.tickCoord-e*(u()/2+i),o[t]=P$(P$({},c),{},{isShow:!0}))},u=a-1;u>=0;u--)c(u);return o}(g,v,m,i,a),h.filter(function(e){return e.isShow}))}k$(x$,"displayName","ReferenceArea"),k$(x$,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),k$(x$,"renderRect",function(e,t){return Xt.isValidElement(e)?Xt.cloneElement(e,t):Ep(e)?e(t):Xt.createElement(ED,g$({},t,{className:"recharts-reference-area-rect"}))});var O$=["viewBox"],D$=["viewBox"],I$=["ticks"];function _$(e){return(_$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F$(){return F$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F$.apply(this,arguments)}function $$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function N$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$$(Object(n),!0).forEach(function(t){U$(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function B$(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function j$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,W$(r.key),r)}}function z$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(z$=function(){return!!e})()}function V$(e){return(V$=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function H$(e,t){return(H$=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function U$(e,t,n){return(t=W$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W$(e){var t=function(e){if("object"!=_$(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=_$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_$(t)?t:t+""}var G$=function(){function e(t){var n,r,i,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(r=this,i=e,o=[t],i=V$(i),n=function(e,t){if(t&&("object"===_$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(r,z$()?Reflect.construct(i,o||[],V$(r).constructor):i.apply(r,o))).state={fontSize:"",letterSpacing:""},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&H$(e,t)}(e,Qt.Component),t=e,r=[{key:"renderTickItem",value:function(e,t,n){var r=ss(t.className,"recharts-cartesian-axis-tick-value");return Xt.isValidElement(e)?Xt.cloneElement(e,N$(N$({},t),{},{className:r})):Ep(e)?e(N$(N$({},t),{},{className:r})):Xt.createElement(dk,F$({},t,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(n=[{key:"shouldComponentUpdate",value:function(e,t){var n=e.viewBox,r=B$(e,O$),i=this.props,o=i.viewBox,a=B$(i,D$);return!qp(n,o)||!qp(r,a)||!qp(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,n,r,i,o,a,s=this.props,l=s.x,c=s.y,u=s.width,d=s.height,h=s.orientation,f=s.tickSize,p=s.mirror,m=s.tickMargin,g=p?-1:1,v=e.tickSize||f,y=Np(e.tickCoord)?e.tickCoord:e.coordinate;switch(h){case"top":t=n=e.coordinate,a=(r=(i=c+ +!p*d)-g*v)-g*m,o=y;break;case"left":r=i=e.coordinate,o=(t=(n=l+ +!p*u)-g*v)-g*m,a=y;break;case"right":r=i=e.coordinate,o=(t=(n=l+ +p*u)+g*v)+g*m,a=y;break;default:t=n=e.coordinate,a=(r=(i=c+ +p*d)+g*v)+g*m,o=y}return{line:{x1:t,y1:r,x2:n,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,n=t.orientation,r=t.mirror;switch(n){case"left":e=r?"start":"end";break;case"right":e=r?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,n=e.mirror,r="end";switch(t){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,o=e.orientation,a=e.mirror,s=e.axisLine,l=N$(N$(N$({},pm(this.props,!1)),pm(s,!1)),{},{fill:"none"});if("top"===o||"bottom"===o){var c=+("top"===o&&!a||"bottom"===o&&a);l=N$(N$({},l),{},{x1:t,y1:n+c*i,x2:t+r,y2:n+c*i})}else{var u=+("left"===o&&!a||"right"===o&&a);l=N$(N$({},l),{},{x1:t+u*r,y1:n,x2:t+u*r,y2:n+i})}return Xt.createElement("line",F$({},l,{className:ss("recharts-cartesian-axis-line",mp(s,"className"))}))}},{key:"renderTicks",value:function(t,n,r){var i=this,o=this.props,a=o.tickLine,s=o.stroke,l=o.tick,c=o.tickFormatter,u=o.unit,d=R$(N$(N$({},this.props),{},{ticks:t}),n,r),h=this.getTickTextAnchor(),f=this.getTickVerticalAnchor(),p=pm(this.props,!1),m=pm(l,!1),g=N$(N$({},p),{},{fill:"none"},pm(a,!1)),v=d.map(function(t,n){var r=i.getTickLineCoord(t),o=r.line,v=r.tick,y=N$(N$(N$(N$({textAnchor:h,verticalAnchor:f},p),{},{stroke:"none",fill:s},m),v),{},{index:n,payload:t,visibleTicksCount:d.length,tickFormatter:c});return Xt.createElement(Bm,F$({className:"recharts-cartesian-axis-tick",key:"tick-".concat(t.value,"-").concat(t.coordinate,"-").concat(t.tickCoord)},em(i.props,t,n)),a&&Xt.createElement("line",F$({},g,o,{className:ss("recharts-cartesian-axis-tick-line",mp(a,"className"))})),l&&e.renderTickItem(l,y,"".concat(Ep(c)?c(t.value,n):t.value).concat(u||"")))});return Xt.createElement("g",{className:"recharts-cartesian-axis-ticks"},v)}},{key:"render",value:function(){var e=this,t=this.props,n=t.axisLine,r=t.width,i=t.height,o=t.ticksGenerator,a=t.className;if(t.hide)return null;var s=this.props,l=s.ticks,c=B$(s,I$),u=l;return Ep(o)&&(u=l&&l.length>0?o(this.props):o(c)),r<=0||i<=0||!u||!u.length?null:Xt.createElement(Bm,{className:ss("recharts-cartesian-axis",a),ref:function(t){e.layerReference=t}},n&&this.renderAxisLine(),this.renderTicks(u,this.state.fontSize,this.state.letterSpacing),cR.renderCallByParent(this.props))}}])&&j$(t.prototype,n),r&&j$(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();U$(G$,"displayName","CartesianAxis"),U$(G$,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var q$=["x1","y1","x2","y2","key"],K$=["offset"];function Y$(e){return(Y$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Z$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Q$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z$(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=Y$(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Y$(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==Y$(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function X$(){return X$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X$.apply(this,arguments)}function J$(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var eN=function(e){var t=e.fill;if(!t||"none"===t)return null;var n=e.fillOpacity,r=e.x,i=e.y,o=e.width,a=e.height,s=e.ry;return Xt.createElement("rect",{x:r,y:i,ry:s,width:o,height:a,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function tN(e,t){var n;if(Xt.isValidElement(e))n=Xt.cloneElement(e,t);else if(Ep(e))n=e(t);else{var r=t.x1,i=t.y1,o=t.x2,a=t.y2,s=t.key,l=J$(t,q$),c=pm(l,!1);c.offset;var u=J$(c,K$);n=Xt.createElement("line",X$({},u,{x1:r,y1:i,x2:o,y2:a,fill:"none",key:s}))}return n}function nN(e){var t=e.x,n=e.width,r=e.horizontal,i=void 0===r||r,o=e.horizontalPoints;if(!i||!o||!o.length)return null;var a=o.map(function(r,o){var a=Q$(Q$({},e),{},{x1:t,y1:r,x2:t+n,y2:r,key:"line-".concat(o),index:o});return tN(i,a)});return Xt.createElement("g",{className:"recharts-cartesian-grid-horizontal"},a)}function rN(e){var t=e.y,n=e.height,r=e.vertical,i=void 0===r||r,o=e.verticalPoints;if(!i||!o||!o.length)return null;var a=o.map(function(r,o){var a=Q$(Q$({},e),{},{x1:r,y1:t,x2:r,y2:t+n,key:"line-".concat(o),index:o});return tN(i,a)});return Xt.createElement("g",{className:"recharts-cartesian-grid-vertical"},a)}function iN(e){var t=e.horizontalFill,n=e.fillOpacity,r=e.x,i=e.y,o=e.width,a=e.height,s=e.horizontalPoints,l=e.horizontal;if(void 0!==l&&!l||!t||!t.length)return null;var c=s.map(function(e){return Math.round(e+i-i)}).sort(function(e,t){return e-t});i!==c[0]&&c.unshift(0);var u=c.map(function(e,s){var l=c[s+1]?c[s+1]-e:i+a-e;if(l<=0)return null;var u=s%t.length;return Xt.createElement("rect",{key:"react-".concat(s),y:e,x:r,height:l,width:o,stroke:"none",fill:t[u],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return Xt.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},u)}function oN(e){var t=e.vertical,n=void 0===t||t,r=e.verticalFill,i=e.fillOpacity,o=e.x,a=e.y,s=e.width,l=e.height,c=e.verticalPoints;if(!n||!r||!r.length)return null;var u=c.map(function(e){return Math.round(e+o-o)}).sort(function(e,t){return e-t});o!==u[0]&&u.unshift(0);var d=u.map(function(e,t){var n=u[t+1]?u[t+1]-e:o+s-e;if(n<=0)return null;var c=t%r.length;return Xt.createElement("rect",{key:"react-".concat(t),x:e,y:a,width:n,height:l,stroke:"none",fill:r[c],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return Xt.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},d)}var aN=function(e,t){var n=e.xAxis,r=e.width,i=e.height,o=e.offset;return TP(R$(Q$(Q$(Q$({},G$.defaultProps),n),{},{ticks:MP(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.left,o.left+o.width,t)},sN=function(e,t){var n=e.yAxis,r=e.width,i=e.height,o=e.offset;return TP(R$(Q$(Q$(Q$({},G$.defaultProps),n),{},{ticks:MP(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),o.top,o.top+o.height,t)},lN={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function cN(e){var t,n,r,i,o,a,s,l,c=GF(),u=qF(),d=Qt.useContext(BF),h=Q$(Q$({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:lN.stroke,fill:null!==(n=e.fill)&&void 0!==n?n:lN.fill,horizontal:null!==(r=e.horizontal)&&void 0!==r?r:lN.horizontal,horizontalFill:null!==(i=e.horizontalFill)&&void 0!==i?i:lN.horizontalFill,vertical:null!==(o=e.vertical)&&void 0!==o?o:lN.vertical,verticalFill:null!==(a=e.verticalFill)&&void 0!==a?a:lN.verticalFill,x:Np(e.x)?e.x:d.left,y:Np(e.y)?e.y:d.top,width:Np(e.width)?e.width:d.width,height:Np(e.height)?e.height:d.height}),f=h.x,p=h.y,m=h.width,g=h.height,v=h.syncWithTicks,y=h.horizontalValues,b=h.verticalValues,C=(s=Qt.useContext(FF),Hp(s)),w=(l=Qt.useContext($F),DF(l,function(e){return Y_(e.domain,Number.isFinite)})||Hp(l));if(!Np(m)||m<=0||!Np(g)||g<=0||!Np(f)||f!==+f||!Np(p)||p!==+p)return null;var E=h.verticalCoordinatesGenerator||aN,k=h.horizontalCoordinatesGenerator||sN,S=h.horizontalPoints,x=h.verticalPoints;if((!S||!S.length)&&Ep(k)){var T=y&&y.length,M=k({yAxis:w?Q$(Q$({},w),{},{ticks:T?y:w.ticks}):void 0,width:c,height:u,offset:d},!!T||v);jm(Array.isArray(M),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(Y$(M),"]")),Array.isArray(M)&&(S=M)}if((!x||!x.length)&&Ep(E)){var A=b&&b.length,L=E({xAxis:C?Q$(Q$({},C),{},{ticks:A?b:C.ticks}):void 0,width:c,height:u,offset:d},!!A||v);jm(Array.isArray(L),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(Y$(L),"]")),Array.isArray(L)&&(x=L)}return Xt.createElement("g",{className:"recharts-cartesian-grid"},Xt.createElement(eN,{fill:h.fill,fillOpacity:h.fillOpacity,x:h.x,y:h.y,width:h.width,height:h.height,ry:h.ry}),Xt.createElement(nN,X$({},h,{offset:d,horizontalPoints:S,xAxis:C,yAxis:w})),Xt.createElement(rN,X$({},h,{offset:d,verticalPoints:x,xAxis:C,yAxis:w})),Xt.createElement(iN,X$({},h,{horizontalPoints:S})),Xt.createElement(oN,X$({},h,{verticalPoints:x})))}cN.displayName="CartesianGrid";var uN,dN=["layout","type","stroke","connectNulls","isRange","ref"],hN=["key"];function fN(e){return(fN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pN(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function mN(){return mN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mN.apply(this,arguments)}function gN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function vN(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gN(Object(n),!0).forEach(function(t){EN(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gN(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kN(r.key),r)}}function bN(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(bN=function(){return!!e})()}function CN(e){return(CN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wN(e,t){return(wN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function EN(e,t,n){return(t=kN(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kN(e){var t=function(e){if("object"!=fN(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=fN(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fN(t)?t:t+""}var SN=function(){function e(){var t,n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return EN((n=this,r=e,i=[].concat(a),r=CN(r),t=function(e,t){if(t&&("object"===fN(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(n,bN()?Reflect.construct(r,i||[],CN(n).constructor):r.apply(n,i))),"state",{isAnimationFinished:!0}),EN(t,"id",zp("recharts-area-")),EN(t,"handleAnimationEnd",function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),Ep(e)&&e()}),EN(t,"handleAnimationStart",function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),Ep(e)&&e()}),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wN(e,t)}(e,Qt.PureComponent),t=e,r=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],(n=[{key:"renderDots",value:function(t,n,r){var i=this.props.isAnimationActive,o=this.state.isAnimationFinished;if(i&&!o)return null;var a=this.props,s=a.dot,l=a.points,c=a.dataKey,u=pm(this.props,!1),d=pm(s,!0),h=l.map(function(t,n){var r=vN(vN(vN({key:"dot-".concat(n),r:3},u),d),{},{index:n,cx:t.x,cy:t.y,dataKey:c,value:t.value,payload:t.payload,points:l});return e.renderDotItem(s,r)}),f={clipPath:t?"url(#clipPath-".concat(n?"":"dots-").concat(r,")"):null};return Xt.createElement(Bm,mN({className:"recharts-area-dots"},f),h)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,n=t.baseLine,r=t.points,i=t.strokeWidth,o=r[0].x,a=r[r.length-1].x,s=e*Math.abs(o-a),l=zA(r.map(function(e){return e.y||0}));return Np(n)&&"number"==typeof n?l=Math.max(n,l):n&&Array.isArray(n)&&n.length&&(l=Math.max(zA(n.map(function(e){return e.y||0})),l)),Np(l)?Xt.createElement("rect",{x:o<a?o:o-s,y:0,width:s,height:Math.floor(l+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,n=t.baseLine,r=t.points,i=t.strokeWidth,o=r[0].y,a=r[r.length-1].y,s=e*Math.abs(o-a),l=zA(r.map(function(e){return e.x||0}));return Np(n)&&"number"==typeof n?l=Math.max(n,l):n&&Array.isArray(n)&&n.length&&(l=Math.max(zA(n.map(function(e){return e.x||0})),l)),Np(l)?Xt.createElement("rect",{x:0,y:o<a?o:o-s,width:l+(i?parseInt("".concat(i),10):1),height:Math.floor(s)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,n,r){var i=this.props,o=i.layout,a=i.type,s=i.stroke,l=i.connectNulls,c=i.isRange;i.ref;var u=pN(i,dN);return Xt.createElement(Bm,{clipPath:n?"url(#clipPath-".concat(r,")"):null},Xt.createElement(WR,mN({},pm(u,!0),{points:e,connectNulls:l,type:a,baseLine:t,layout:o,stroke:"none",className:"recharts-area-area"})),"none"!==s&&Xt.createElement(WR,mN({},pm(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:e})),"none"!==s&&c&&Xt.createElement(WR,mN({},pm(this.props,!1),{className:"recharts-area-curve",layout:o,type:a,connectNulls:l,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var n=this,r=this.props,i=r.points,o=r.baseLine,a=r.isAnimationActive,s=r.animationBegin,l=r.animationDuration,c=r.animationEasing,u=r.animationId,d=this.state,h=d.prevPoints,f=d.prevBaseLine;return Xt.createElement(fD,{begin:s,duration:l,isActive:a,easing:c,from:{t:0},to:{t:1},key:"area-".concat(u),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(r){var a=r.t;if(h){var s,l=h.length/i.length,c=i.map(function(e,t){var n=Math.floor(t*l);if(h[n]){var r=h[n],i=Up(r.x,e.x),o=Up(r.y,e.y);return vN(vN({},e),{},{x:i(a),y:o(a)})}return e});return s=Np(o)&&"number"==typeof o?Up(f,o)(a):yp(o)||Ip(o)?Up(f,0)(a):o.map(function(e,t){var n=Math.floor(t*l);if(f[n]){var r=f[n],i=Up(r.x,e.x),o=Up(r.y,e.y);return vN(vN({},e),{},{x:i(a),y:o(a)})}return e}),n.renderAreaStatically(c,s,e,t)}return Xt.createElement(Bm,null,Xt.createElement("defs",null,Xt.createElement("clipPath",{id:"animationClipPath-".concat(t)},n.renderClipRect(a))),Xt.createElement(Bm,{clipPath:"url(#animationClipPath-".concat(t,")")},n.renderAreaStatically(i,o,e,t)))})}},{key:"renderArea",value:function(e,t){var n=this.props,r=n.points,i=n.baseLine,o=n.isAnimationActive,a=this.state,s=a.prevPoints,l=a.prevBaseLine,c=a.totalLength;return o&&r&&r.length&&(!s&&c>0||!tL(s,r)||!tL(l,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,i,e,t)}},{key:"render",value:function(){var e,t=this.props,n=t.hide,r=t.dot,i=t.points,o=t.className,a=t.top,s=t.left,l=t.xAxis,c=t.yAxis,u=t.width,d=t.height,h=t.isAnimationActive,f=t.id;if(n||!i||!i.length)return null;var p=this.state.isAnimationFinished,m=1===i.length,g=ss("recharts-area",o),v=l&&l.allowDataOverflow,y=c&&c.allowDataOverflow,b=v||y,C=yp(f)?this.id:f,w=null!==(e=pm(r,!1))&&void 0!==e?e:{r:3,strokeWidth:2},E=w.r,k=void 0===E?3:E,S=w.strokeWidth,x=void 0===S?2:S,T=(function(e){return e&&"object"===im(e)&&"clipDot"in e}(r)?r:{}).clipDot,M=void 0===T||T,A=2*k+x;return Xt.createElement(Bm,{className:g},v||y?Xt.createElement("defs",null,Xt.createElement("clipPath",{id:"clipPath-".concat(C)},Xt.createElement("rect",{x:v?s:s-u/2,y:y?a:a-d/2,width:v?u:2*u,height:y?d:2*d})),!M&&Xt.createElement("clipPath",{id:"clipPath-dots-".concat(C)},Xt.createElement("rect",{x:s-A/2,y:a-A/2,width:u+A,height:d+A}))):null,m?null:this.renderArea(b,C),(r||m)&&this.renderDots(b,M,C),(!h||p)&&kR.renderCallByParent(this.props,i))}}])&&yN(t.prototype,n),r&&yN(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}();function xN(e){return(xN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function TN(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(TN=function(){return!!e})()}function MN(e){return(MN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}
1function AN(e,t){return(AN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function LN(e,t,n){return(t=PN(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PN(e){var t=function(e){if("object"!=xN(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=xN(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==xN(t)?t:t+""}function RN(){return RN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RN.apply(this,arguments)}function ON(e){var t=e.xAxisId,n=GF(),r=qF(),i=UF(t);return null==i?null:Qt.createElement(G$,RN({},i,{className:ss("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:n,height:r},ticksGenerator:function(e){return MP(e,!0)}}))}uN=SN,EN(SN,"displayName","Area"),EN(SN,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!eE,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),EN(SN,"getBaseValue",function(e,t,n,r){var i=e.layout,o=e.baseValue,a=t.props.baseValue,s=null!=a?a:o;if(Np(s)&&"number"==typeof s)return s;var l="horizontal"===i?r:n,c=l.scale.domain();if("number"===l.type){var u=Math.max(c[0],c[1]),d=Math.min(c[0],c[1]);return"dataMin"===s?d:"dataMax"===s||u<0?u:Math.max(Math.min(c[0],c[1]),0)}return"dataMin"===s?c[0]:"dataMax"===s?c[1]:c[0]}),EN(SN,"getComposedData",function(e){var t,n=e.props,r=e.item,i=e.xAxis,o=e.yAxis,a=e.xAxisTicks,s=e.yAxisTicks,l=e.bandSize,c=e.dataKey,u=e.stackedData,d=e.dataStartIndex,h=e.displayedData,f=e.offset,p=n.layout,m=u&&u.length,g=uN.getBaseValue(n,r,i,o),v="horizontal"===p,y=!1,b=h.map(function(e,t){var n;m?n=u[d+t]:(n=CP(e,c),Array.isArray(n)?y=!0:n=[g,n]);var r=null==n[1]||m&&null==CP(e,c);return v?{x:FP({axis:i,ticks:a,bandSize:l,entry:e,index:t}),y:r?null:o.scale(n[1]),value:n,payload:e}:{x:r?null:i.scale(n[1]),y:FP({axis:o,ticks:s,bandSize:l,entry:e,index:t}),value:n,payload:e}});return t=m||y?b.map(function(e){var t=Array.isArray(e.value)?e.value[0]:null;return v?{x:e.x,y:null!=t&&null!=e.y?o.scale(t):null}:{x:null!=t?i.scale(t):null,y:e.y}}):v?o.scale(g):i.scale(g),vN({points:b,baseLine:t,layout:p,isRange:y},f)}),EN(SN,"renderDotItem",function(e,t){var n;if(Xt.isValidElement(e))n=Xt.cloneElement(e,t);else if(Ep(e))n=e(t);else{var r=ss("recharts-area-dot","boolean"!=typeof e?e.className:""),i=t.key,o=pN(t,hN);n=Xt.createElement(RD,mN({},o,{key:i,className:r}))}return n});var DN=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=arguments,n=MN(n=e),function(e,t){if(t&&("object"===xN(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,TN()?Reflect.construct(n,r||[],MN(t).constructor):n.apply(t,r));var t,n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&AN(e,t)}(e,Qt.Component),t=e,(n=[{key:"render",value:function(){return Qt.createElement(ON,this.props)}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,PN(r.key),r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}();function IN(e){return(IN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _N(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_N=function(){return!!e})()}
1function FN(e){return(FN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $N(e,t){return($N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function NN(e,t,n){return(t=BN(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function BN(e){var t=function(e){if("object"!=IN(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=IN(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==IN(t)?t:t+""}function jN(){return jN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jN.apply(this,arguments)}LN(DN,"displayName","XAxis"),LN(DN,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});var zN=function(e){var t=e.yAxisId,n=GF(),r=qF(),i=WF(t);return null==i?null:Qt.createElement(G$,jN({},i,{className:ss("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:n,height:r},ticksGenerator:function(e){return MP(e,!0)}}))},VN=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r=arguments,n=FN(n=e),function(e,t){if(t&&("object"===IN(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(t,_N()?Reflect.construct(n,r||[],FN(t).constructor):n.apply(t,r));var t,n,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$N(e,t)}(e,Qt.Component),t=e,(n=[{key:"render",value:function(){return Qt.createElement(zN,this.props)}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,BN(r.key),r)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}();function HN(e){return function(e){if(Array.isArray(e))return UN(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return UN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?UN(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function UN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}NN(VN,"displayName","YAxis"),NN(VN,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});var WN,GN=function(e,t,n,r,i){var o=um(e,o$),a=um(e,m$),s=[].concat(HN(o),HN(a)),l=um(e,x$),c="".concat(r,"Id"),u=r[0],d=t;if(s.length&&(d=s.reduce(function(e,t){if(t.props[c]===n&&z_(t.props,"extendDomain")&&Np(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e},d)),l.length){var h="".concat(u,"1"),f="".concat(u,"2");d=l.reduce(function(e,t){if(t.props[c]===n&&z_(t.props,"extendDomain")&&Np(t.props[h])&&Np(t.props[f])){var r=t.props[h],i=t.props[f];return[Math.min(e[0],r,i),Math.max(e[1],r,i)]}return e},d)}return i&&i.length&&(d=i.reduce(function(e,t){return Np(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e},d)),d}
vendor: 4,949 bytes, line 1
1,qN={exports:{}},KN=(WN||(WN=1,function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,i),!0;case 5:return u.fn.call(u.context,t,r,i,o),!0;case 6:return u.fn.call(u.context,t,r,i,o,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var h,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,i);break;default:if(!l)for(h=1,l=new Array(d-1);h<d;h++)l[h-1]=arguments[h];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||i&&!s[l].once||r&&s[l].context!==r)&&c.push(s[l]);c.length?this._events[o]=1===c.length?c[0]:c:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s}(qN)),qN.exports),YN=new(Ne(KN)),ZN="recharts.syncMouseEvents";function QN(e){return(QN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function XN(e,t,n){return(t=JN(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JN(e){var t=function(e){if("object"!=QN(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=QN(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==QN(t)?t:t+""}var eB=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),XN(this,"activeIndex",0),XN(this,"coordinateList",[]),XN(this,"layout","horizontal")},(t=[{key:"setDetails",value:function(e){var t,n=e.coordinateList,r=void 0===n?null:n,i=e.container,o=void 0===i?null:i,a=e.layout,s=void 0===a?null:a,l=e.offset,c=void 0===l?null:l,u=e.mouseHandlerCallback,d=void 0===u?null:u;this.coordinateList=null!==(t=null!=r?r:this.coordinateList)&&void 0!==t?t:[],this.container=null!=o?o:this.container,this.layout=null!=s?s:this.layout,this.offset=null!=c?c:this.offset,this.mouseHandlerCallback=null!=d?d:this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var n=this.container.getBoundingClientRect(),r=n.x,i=n.y,o=n.height,a=this.coordinateList[this.activeIndex].coordinate,
1s=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,l=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,c=r+a+s,u=i+this.offset.top+o/2+l;this.mouseHandlerCallback({pageX:c,pageY:u})}}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,JN(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function tB(e){var t=e.cx,n=e.cy,r=e.radius,i=e.startAngle,o=e.endAngle;return{points:[XP(t,n,r,i),XP(t,n,r,o)],cx:t,cy:n,radius:r,startAngle:i,endAngle:o}}function nB(e,t,n){var r,i,o,a;if("horizontal"===e)o=r=t.x,i=n.top,a=n.top+n.height;else if("vertical"===e)a=i=t.y,r=n.left,o=n.left+n.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return tB(t);var s=t.cx,l=t.cy,c=t.innerRadius,u=t.outerRadius,d=t.angle,h=XP(s,l,c,d),f=XP(s,l,u,d);r=h.x,i=h.y,o=f.x,a=f.y}return[{x:r,y:i},{x:o,y:a}]}function rB(e){return(rB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function iB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iB(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=rB(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=rB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==rB(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function aB(e){var t,n,r,i=e.element,o=e.tooltipEventType,a=e.isActive,s=e.activeCoordinate,l=e.activePayload,c=e.offset,u=e.activeTooltipIndex,d=e.tooltipAxisBandSize,h=e.layout,f=e.chartName,p=null!==(t=i.props.cursor)&&void 0!==t?t:null===(n=i.type.defaultProps)||void 0===n?void 0:n.cursor;if(!i||!p||!a||!s||"ScatterChart"!==f&&"axis"!==o)return null;var m=WR;if("ScatterChart"===f)r=s,m=BD;else if("BarChart"===f)r=function(e,t,n,r){var i=r/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-i:n.left+.5,y:"horizontal"===e?n.top+.5:t.y-i,width:"horizontal"===e?r:n.width-1,height:"horizontal"===e?n.height-1:r}}(h,s,c,d),m=ED;else if("radial"===h){var g=tB(s),v=g.cx,y=g.cy,b=g.radius;r={cx:v,cy:y,startAngle:g.startAngle,endAngle:g.endAngle,innerRadius:b,outerRadius:b},m=RR}else r={points:nB(h,s,c)},m=WR;var C=oB(oB(oB(oB({stroke:"#ccc",pointerEvents:"none"},c),r),pm(p,!1)),{},{payload:l,payloadIndex:u,className:ss("recharts-tooltip-cursor",p.className)});return Qt.isValidElement(p)?Qt.cloneElement(p,C):Qt.createElement(m,C)}var sB=["item"],lB=["children","className","width","height","style","compact","title","desc"];function cB(e){return(cB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function uB(){return uB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uB.apply(this,arguments)}function dB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||vB(e,t)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hB(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function fB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(fB=function(){return!!e})()}function pB(e){return(pB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mB(e,t){return(mB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function gB(e){return function(e){if(Array.isArray(e))return yB(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||vB(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vB(e,t){if(e){if("string"==typeof e)return yB(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yB(e,t):void 0}}function yB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function CB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bB(Object(n),!0).forEach(function(t){wB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wB(e,t,n){return(t=EB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function EB(e){var t=function(e,t){if("object"!=cB(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=cB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==cB(t)?t:t+""}var kB={xAxis:["bottom","top"],yAxis:["left","right"]},SB={width:"100%",height:"100%"},xB={x:0,y:0};function TB(e){return e}var MB=function(e,t){var n=t.graphicalItems,r=t.dataStartIndex,i=t.dataEndIndex,o=(null!=n?n:[]).reduce(function(e,t){var n=t.props.data;return n&&n.length?[].concat(gB(e),gB(n)):e},[]);return o.length>0?o:e&&e.length&&Np(r)&&Np(i)?e.slice(r,i+1):[]};function AB(e){return"number"===e?[0,"auto"]:void 0}var LB=function(e,t,n,r){var i=e.graphicalItems,o=e.tooltipAxis,a=MB(t,e);return n<0||!i||!i.length||n>=a.length?null:i.reduce(function(i,s){var l,c,u=null!==(l=s.props.data)&&void 0!==l?l:t;return u&&e.dataStartIndex+e.dataEndIndex!==0&&e.dataEndIndex-e.dataStartIndex>=n&&(u=u.slice(e.dataStartIndex,e.dataEndIndex+1)),(c=o.dataKey&&!o.allowDuplicatedCategory?Wp(void 0===u?a:u,o.dataKey,r):u&&u[n]||a[n])?[].concat(gB(i),[UP(s,c)]):i},[])},PB=function(e,t,n,r){var i=r||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(i,n),a=e.orderedTooltipTicks,s=e.tooltipAxis,l=e.tooltipTicks,c=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==n?void 0:n.length)&&void 0!==t?t:0;if(a<=1)return 0;if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var s=i.range,l=0;l<a;l++){var c=l>0?r[l-1].coordinate:r[a-1].coordinate,u=r[l].coordinate,d=l>=a-1?r[0].coordinate:r[l+1].coordinate,h=void 0;if(Fp(u-c)!==Fp(d-u)){var f=[];if(Fp(d-u)===Fp(s[1]-s[0])){h=d;var p=u+s[1]-s[0];f[0]=Math.min(p,(p+c)/2),f[1]=Math.max(p,(p+c)/2)}else{h=c;var m=d+s[1]-s[0];f[0]=Math.min(u,(m+u)/2),f[1]=Math.max(u,(m+u)/2)}var g=[Math.min(u,(h+u)/2),Math.max(u,(h+u)/2)];if(e>g[0]&&e<=g[1]||e>=f[0]&&e<=f[1]){o=r[l].index;break}}else{var v=Math.min(c,d),y=Math.max(c,d);if(e>(v+u)/2&&e<=(y+u)/2){o=r[l].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2){o=n[b].index;break}return o}(o,a,l,s);if(c>=0&&l){var u=l[c]&&l[c].value,d=LB(e,t,c,u),h=function(e,t,n,r){var i=t.find(function(e){return e&&e.index===n});if(i){if("horizontal"===e)return{x:i.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=r.radius;return CB(CB(CB({},r),XP(r.cx,r.cy,a,o)),{},{angle:o,radius:a})}var s=i.coordinate,l=r.angle;return CB(CB(CB({},r),XP(r.cx,r.cy,s,l)),{},{angle:l,radius:s})}return xB}(n,a,c,i);return{activeTooltipIndex:c,activeLabel:u,activePayload:d,activeCoordinate:h}}return null},RB=function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,c=e.children,u="".concat(r,"Id"),d=um(c,i),h={};return d&&d.length?h=function(e,t){var n=t.axes,r=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,c=e.layout,u=e.children,d=e.stackOffset,h=xP(c,i);
vendor: 28,573 bytes, line 1
1return n.reduce(function(t,n){var f,p=void 0!==n.type.defaultProps?CB(CB({},n.type.defaultProps),n.props):n.props,m=p.type,g=p.dataKey,v=p.allowDataOverflow,y=p.allowDuplicatedCategory,b=p.scale,C=p.ticks,w=p.includeHidden,E=p[o];if(t[E])return t;var k,S,x,T=MB(e.data,{graphicalItems:r.filter(function(e){var t;return(o in e.props?e.props[o]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[o])===E}),dataStartIndex:s,dataEndIndex:l}),M=T.length;(function(e,t,n){if("number"===n&&!0===t&&Array.isArray(e)){var r=null==e?void 0:e[0],i=null==e?void 0:e[1];if(r&&i&&Np(r)&&Np(i))return!0}return!1})(p.domain,v,m)&&(k=zP(p.domain,null,v),!h||"number"!==m&&"auto"===b||(x=wP(T,g,"category")));var A=AB(m);if(!k||0===k.length){var L,P=null!==(L=p.domain)&&void 0!==L?L:A;if(g){if(k=wP(T,g,m),"category"===m&&h){var R=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++){if(n[e[r]])return!0;n[e[r]]=!0}return!1}(k);y&&R?(S=k,k=p_(0,M)):y||(k=HP(P,k,n).reduce(function(e,t){return e.indexOf(t)>=0?e:[].concat(gB(e),[t])},[]))}else if("category"===m)k=y?k.filter(function(e){return""!==e&&!yp(e)}):HP(P,k,n).reduce(function(e,t){return e.indexOf(t)>=0||""===t||yp(t)?e:[].concat(gB(e),[t])},[]);else if("number"===m){var O=function(e,t,n,r,i){var o=t.map(function(t){return kP(e,t,n,i,r)}).filter(function(e){return!yp(e)});return o&&o.length?o.reduce(function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]},[1/0,-1/0]):null}(T,r.filter(function(e){var t,n,r=o in e.props?e.props[o]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[o],i="hide"in e.props?e.props.hide:null===(n=e.type.defaultProps)||void 0===n?void 0:n.hide;return r===E&&(w||!i)}),g,i,c);O&&(k=O)}!h||"number"!==m&&"auto"===b||(x=wP(T,g,"category"))}else k=h?p_(0,M):a&&a[E]&&a[E].hasStack&&"number"===m?"expand"===d?[0,1]:NP(a[E].stackGroups,s,l):SP(T,r.filter(function(e){var t=o in e.props?e.props[o]:e.type.defaultProps[o],n="hide"in e.props?e.props.hide:e.type.defaultProps.hide;return t===E&&(w||!n)}),m,c,!0);if("number"===m)k=GN(u,k,E,i,C),P&&(k=zP(P,k,v));else if("category"===m&&P){var D=P;k.every(function(e){return D.indexOf(e)>=0})&&(k=D)}}return CB(CB({},t),{},wB({},E,CB(CB({},p),{},{axisType:i,domain:k,categoricalDomain:x,duplicateDomain:S,originalDomain:null!==(f=p.domain)&&void 0!==f?f:A,isCategorical:h,layout:c})))},{})}(e,{axes:d,graphicalItems:o,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:l}):o&&o.length&&(h=function(e,t){var n=t.graphicalItems,r=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,c=e.layout,u=e.children,d=MB(e.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:l}),h=d.length,f=xP(c,i),p=-1;return n.reduce(function(e,t){var m,g=(void 0!==t.type.defaultProps?CB(CB({},t.type.defaultProps),t.props):t.props)[o],v=AB("number");return e[g]?e:(p++,f?m=p_(0,h):a&&a[g]&&a[g].hasStack?(m=NP(a[g].stackGroups,s,l),m=GN(u,m,g,i)):(m=zP(v,SP(d,n.filter(function(e){var t,n,r=o in e.props?e.props[o]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[o],i="hide"in e.props?e.props.hide:null===(n=e.type.defaultProps)||void 0===n?void 0:n.hide;return r===g&&!i}),"number",c),r.defaultProps.allowDataOverflow),m=GN(u,m,g,i)),CB(CB({},e),{},wB({},g,CB(CB({axisType:i},r.defaultProps),{},{hide:!0,orientation:mp(kB,"".concat(i,".").concat(p%2),null),domain:m,originalDomain:v,isCategorical:f,layout:c}))))},{})}(e,{Axis:i,graphicalItems:o,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:l})),h},OB=function(e){var t=e.children,n=e.defaultShowTooltip,r=dm(t,__),i=0,o=0;return e.data&&0!==e.data.length&&(o=e.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(i=r.props.startIndex),r.props.endIndex>=0&&(o=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:Boolean(n)}},DB=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},IB=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},_B=function(e){var t=e.chartName,n=e.GraphicalChild,r=e.defaultTooltipEventType,i=void 0===r?"axis":r,o=e.validateTooltipEventTypes,a=void 0===o?["axis"]:o,s=e.axisComponents,l=e.legendContent,c=e.formatAxisMap,u=e.defaultProps,d=function(e,r){var i=e.props,o=e.dataStartIndex,a=e.dataEndIndex,l=e.updateId;if(!hm({props:i}))return null;var u=i.children,d=i.layout,h=i.stackOffset,f=i.data,p=i.reverseStackOrder,m=DB(d),g=m.numericAxisName,v=m.cateAxisName,y=um(u,n),b=function(e,t,n,r,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce(function(e,t){var i,o=null!==(i=t.type)&&void 0!==i&&i.defaultProps?yP(yP({},t.type.defaultProps),t.props):t.props,a=o.stackId;if(o.hide)return e;var s=o[n],l=e[s]||{hasStack:!1,stackGroups:{}};if(Bp(a)){var c=l.stackGroups[a]||{numericAxisId:n,cateAxisId:r,items:[]};c.items.push(t),l.hasStack=!0,l.stackGroups[a]=c}else l.stackGroups[zp("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return yP(yP({},e),{},bP({},s,l))},{});return Object.keys(a).reduce(function(t,o){var s=a[o];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce(function(t,o){var a=s.stackGroups[o];return yP(yP({},t),{},bP({},o,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:IP(e,a.items,i)}))},{})),yP(yP({},t),{},bP({},o,s))},{})}(f,y,"".concat(g,"Id"),"".concat(v,"Id"),h,p),C=s.reduce(function(e,t){var n="".concat(t.axisType,"Map");return CB(CB({},e),{},wB({},n,RB(i,CB(CB({},t),{},{graphicalItems:y,stackGroups:t.axisType===g&&b,dataStartIndex:o,dataEndIndex:a}))))},{}),w=function(e,t){var n=e.props,r=(e.graphicalItems,e.xAxisMap),i=void 0===r?{}:r,o=e.yAxisMap,a=void 0===o?{}:o,s=n.width,l=n.height,c=n.children,u=n.margin||{},d=dm(c,__),h=dm(c,Ew),f=Object.keys(a).reduce(function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:CB(CB({},e),{},wB({},r,e[r]+n.width))},{left:u.left||0,right:u.right||0}),p=Object.keys(i).reduce(function(e,t){var n=i[t],r=n.orientation;return n.mirror||n.hide?e:CB(CB({},e),{},wB({},r,mp(e,"".concat(r))+n.height))},{top:u.top||0,bottom:u.bottom||0}),m=CB(CB({},p),f),g=m.bottom;d&&(m.bottom+=d.props.height||__.defaultProps.height),h&&t&&(m=function(e,t,n,r){var i=n.children,o=n.width,a=n.margin,s=o-(a.left||0)-(a.right||0),l=fP({children:i,legendWidth:s});if(l){var c=r||{},u=c.width,d=c.height,h=l.align,f=l.verticalAlign,p=l.layout;if(("vertical"===p||"horizontal"===p&&"middle"===f)&&"center"!==h&&Np(e[h]))return yP(yP({},e),{},bP({},h,e[h]+(u||0)));if(("horizontal"===p||"vertical"===p&&"center"===h)&&"middle"!==f&&Np(e[f]))return yP(yP({},e),{},bP({},f,e[f]+(d||0)))}return e}(m,0,n,t));var v=s-m.left-m.right,y=l-m.top-m.bottom;return CB(CB({brushBottom:g},m),{},{width:Math.max(v,0),height:Math.max(y,0)})}(CB(CB({},C),{},{props:i,graphicalItems:y}),null==r?void 0:r.legendBBox);Object.keys(C).forEach(function(e){C[e]=c(i,C[e],w,e.replace("Map",""),t)});var E,k,S=C["".concat(v,"Map")],x=(E=Hp(S),{tooltipTicks:k=MP(E,!1,!0),orderedTooltipTicks:Rw(k,function(e){return e.coordinate}),tooltipAxis:E,tooltipAxisBandSize:VP(E,k)}),T=function(e,t){var n=t.graphicalItems,r=t.stackGroups,i=t.offset,o=t.updateId,a=t.dataStartIndex,l=t.dataEndIndex,c=e.barSize,u=e.layout,d=e.barGap,h=e.barCategoryGap,f=e.maxBarSize,p=DB(u),m=p.numericAxisName,g=p.cateAxisName,v=function(e){return!(!e||!e.length)&&e.some(function(e){var t=am(e&&e.type);return t&&t.indexOf("Bar")>=0})}(n),y=[];return n.forEach(function(n,p){var b=MB(e.data,{graphicalItems:[n],dataStartIndex:a,dataEndIndex:l}),C=void 0!==n.type.defaultProps?CB(CB({},n.type.defaultProps),n.props):n.props,w=C.dataKey,E=C.maxBarSize,k=C["".concat(m,"Id")],S=C["".concat(g,"Id")],x=s.reduce(function(e,n){var r=t["".concat(n.axisType,"Map")],i=C["".concat(n.axisType,"Id")];r&&r[i]||"zAxis"===n.axisType||JL();var o=r[i];return CB(CB({},e),{},wB(wB({},n.axisType,o),"".concat(n.axisType,"Ticks"),MP(o)))},{}),T=x[g],M=x["".concat(g,"Ticks")],A=r&&r[k]&&r[k].hasStack&&function(e,t){var n,r=(null!==(n=e.type)&&void 0!==n&&n.defaultProps?yP(yP({},e.type.defaultProps),e.props):e.props).stackId;if(Bp(r)){var i=t[r];if(i){var o=i.items.indexOf(e);return o>=0?i.stackedData[o]:null}}return null}(n,r[k].stackGroups),L=am(n.type).indexOf("Bar")>=0,P=VP(T,M),R=[],O=v&&function(e){var t=e.barSize,n=e.totalSize,r=e.stackGroups,i=void 0===r?{}:r;if(!i)return{};for(var o={},a=Object.keys(i),s=0,l=a.length;s<l;s++)for(var c=i[a[s]].stackGroups,u=Object.keys(c),d=0,h=u.length;d<h;d++){var f=c[u[d]],p=f.items,m=f.cateAxisId,g=p.filter(function(e){return am(e.type).indexOf("Bar")>=0});if(g&&g.length){var v=g[0].type.defaultProps,y=void 0!==v?yP(yP({},v),g[0].props):g[0].props,b=y.barSize,C=y[m];o[C]||(o[C]=[]);var w=yp(b)?t:b;o[C].push({item:g[0],stackList:g.slice(1),barSize:yp(w)?void 0:Vp(w,n,0)})}}return o}({barSize:c,stackGroups:r,totalSize:IB(x,g)});if(L){var D,I,_=yp(E)?f:E,F=null!==(D=null!==(I=VP(T,M,!0))&&void 0!==I?I:_)&&void 0!==D?D:0;R=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,s=o.length;if(s<1)return null;var l,c=Vp(t,r,0,!0),u=[];if(o[0].barSize===+o[0].barSize){var d=!1,h=r/s,f=o.reduce(function(e,t){return e+t.barSize||0},0);(f+=(s-1)*c)>=r&&(f-=(s-1)*c,c=0),f>=r&&h>0&&(d=!0,f=s*(h*=.9));var p={offset:((r-f)/2|0)-c,size:0};l=o.reduce(function(e,t){var n={item:t.item,position:{offset:p.offset+p.size+c,size:d?h:t.barSize}},r=[].concat(mP(e),[n]);return p=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){r.push({item:e,position:p})}),r},u)}else{var m=Vp(n,r,0,!0);r-2*m-(s-1)*c<=0&&(c=0);var g=(r-2*m-(s-1)*c)/s;g>1&&(g>>=0);var v=a===+a?Math.min(g,a):g;l=o.reduce(function(e,t,n){var r=[].concat(mP(e),[{item:t.item,position:{offset:m+(g+c)*n+(g-v)/2,size:v}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach(function(e){r.push({item:e,position:r[r.length-1].position})}),r},u)}return l}({barGap:d,barCategoryGap:h,bandSize:F!==P?F:P,sizeList:O[S],maxBarSize:_}),F!==P&&(R=R.map(function(e){return CB(CB({},e),{},{position:CB(CB({},e.position),{},{offset:e.position.offset-F/2})})}))}var $,N,B=n&&n.type&&n.type.getComposedData;B&&y.push({props:CB(CB({},B(CB(CB({},x),{},{displayedData:b,props:e,dataKey:w,item:n,bandSize:P,barPosition:R,offset:i,stackedData:A,layout:u,dataStartIndex:a,dataEndIndex:l}))),{},wB(wB(wB({key:n.key||"item-".concat(p)},m,x[m]),g,x[g]),"animationId",o)),childIndex:($=n,N=e.children,cm(N).indexOf($)),item:n})}),y}(i,CB(CB({},C),{},{dataStartIndex:o,dataEndIndex:a,updateId:l,graphicalItems:y,stackGroups:b,offset:w}));return CB(CB({formattedGraphicalItems:T,graphicalItems:y,offset:w,stackGroups:b},x),C)},h=function(){function e(n){var r,i,o,a,s,c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),wB((a=this,c=[n],s=pB(s=e),o=function(e,t){if(t&&("object"===cB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(a,fB()?Reflect.construct(s,c||[],pB(a).constructor):s.apply(a,c))),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),wB(o,"accessibilityManager",new eB),wB(o,"handleLegendBBoxUpdate",function(e){if(e){var t=o.state,n=t.dataStartIndex,r=t.dataEndIndex,i=t.updateId;o.setState(CB({legendBBox:e},d({props:o.props,dataStartIndex:n,dataEndIndex:r,updateId:i},CB(CB({},o.state),{},{legendBBox:e}))))}}),wB(o,"handleReceiveSyncEvent",function(e,t,n){if(o.props.syncId===e){if(n===o.eventEmitterSymbol&&"function"!=typeof o.props.syncMethod)return;o.applySyncEvent(t)}}),wB(o,"handleBrushChange",function(e){var t=e.startIndex,n=e.endIndex;if(t!==o.state.dataStartIndex||n!==o.state.dataEndIndex){var r=o.state.updateId;o.setState(function(){return CB({dataStartIndex:t,dataEndIndex:n},d({props:o.props,dataStartIndex:t,dataEndIndex:n,updateId:r},o.state))}),o.triggerSyncEvent({dataStartIndex:t,dataEndIndex:n})}}),wB(o,"handleMouseEnter",function(e){var t=o.getMouseInfo(e);if(t){var n=CB(CB({},t),{},{isTooltipActive:!0});o.setState(n),o.triggerSyncEvent(n);var r=o.props.onMouseEnter;Ep(r)&&r(n,e)}}),wB(o,"triggeredAfterMouseMove",function(e){var t=o.getMouseInfo(e),n=t?CB(CB({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};o.setState(n),o.triggerSyncEvent(n);var r=o.props.onMouseMove;Ep(r)&&r(n,e)}),wB(o,"handleItemMouseEnter",function(e){o.setState(function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}})}),wB(o,"handleItemMouseLeave",function(){o.setState(function(){return{isTooltipActive:!1}})}),wB(o,"handleMouseMove",function(e){e.persist(),o.throttleTriggeredAfterMouseMove(e)}),wB(o,"handleMouseLeave",function(e){o.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};o.setState(t),o.triggerSyncEvent(t);var n=o.props.onMouseLeave;Ep(n)&&n(t,e)}),wB(o,"handleOuterEvent",function(e){var t,n=function(e){var t=e&&e.type;return t&&om[t]?om[t]:null}(e),r=mp(o.props,"".concat(n));n&&Ep(r)&&r(null!==(t=/.*touch.*/i.test(n)?o.getMouseInfo(e.changedTouches[0]):o.getMouseInfo(e))&&void 0!==t?t:{},e)}),wB(o,"handleClick",function(e){var t=o.getMouseInfo(e);if(t){var n=CB(CB({},t),{},{isTooltipActive:!0});o.setState(n),o.triggerSyncEvent(n);var r=o.props.onClick;Ep(r)&&r(n,e)}}),wB(o,"handleMouseDown",function(e){var t=o.props.onMouseDown;Ep(t)&&t(o.getMouseInfo(e),e)}),wB(o,"handleMouseUp",function(e){var t=o.props.onMouseUp;Ep(t)&&t(o.getMouseInfo(e),e)}),wB(o,"handleTouchMove",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.throttleTriggeredAfterMouseMove(e.changedTouches[0])}),wB(o,"handleTouchStart",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseDown(e.changedTouches[0])}),wB(o,"handleTouchEnd",function(e){null!=e.changedTouches&&e.changedTouches.length>0&&o.handleMouseUp(e.changedTouches[0])}),wB(o,"handleDoubleClick",function(e){var t=o.props.onDoubleClick;Ep(t)&&t(o.getMouseInfo(e),e)}),wB(o,"handleContextMenu",function(e){var t=o.props.onContextMenu;Ep(t)&&t(o.getMouseInfo(e),e)}),wB(o,"triggerSyncEvent",function(e){void 0!==o.props.syncId&&YN.emit(ZN,o.props.syncId,e,o.eventEmitterSymbol)}),wB(o,"applySyncEvent",function(e){var t=o.props,n=t.layout,r=t.syncMethod,i=o.state.updateId,a=e.dataStartIndex,s=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)o.setState(CB({dataStartIndex:a,dataEndIndex:s},d({props:o.props,dataStartIndex:a,dataEndIndex:s,updateId:i},o.state)));else if(void 0!==e.activeTooltipIndex){var l=e.chartX,c=e.chartY,u=e.activeTooltipIndex,h=o.state,f=h.offset,p=h.tooltipTicks;if(!f)return;if("function"==typeof r)u=r(p,e);else if("value"===r){u=-1;for(var m=0;m<p.length;m++)if(p[m].value===e.activeLabel){u=m;break}}var g=CB(CB({},f),{},{x:f.left,y:f.top}),v=Math.min(l,g.x+g.width),y=Math.min(c,g.y+g.height),b=p[u]&&p[u].value,C=LB(o.state,o.props.data,u),w=p[u]?{x:"horizontal"===n?p[u].coordinate:v,y:"horizontal"===n?y:p[u].coordinate}:xB;o.setState(CB(CB({},e),{},{activeLabel:b,activeCoordinate:w,activePayload:C,activeTooltipIndex:u}))}else o.setState(e)}),wB(o,"renderCursor",function(e){var n,r=o.state,i=r.isTooltipActive,a=r.activeCoordinate,s=r.activePayload,l=r.offset,c=r.activeTooltipIndex,u=r.tooltipAxisBandSize,d=o.getTooltipEventType(),h=null!==(n=e.props.active)&&void 0!==n?n:i,f=o.props.layout,p=e.key||"_recharts-cursor";return Xt.createElement(aB,{key:p,activeCoordinate:a,activePayload:s,activeTooltipIndex:c,chartName:t,element:e,isActive:h,layout:f,offset:l,tooltipAxisBandSize:u,tooltipEventType:d})}),wB(o,"renderPolarAxis",function(e,t,n){var r=mp(e,"type.axisType"),i=mp(o.state,"".concat(r,"Map")),a=e.type.defaultProps,s=void 0!==a?CB(CB({},a),e.props):e.props,l=i&&i[s["".concat(r,"Id")]];return Qt.cloneElement(e,CB(CB({},l),{},{className:ss(r,l.className),key:e.key||"".concat(t,"-").concat(n),ticks:MP(l,!0)}))}),wB(o,"renderPolarGrid",function(e){var t=e.props,n=t.radialLines,r=t.polarAngles,i=t.polarRadius,a=o.state,s=a.radiusAxisMap,l=a.angleAxisMap,c=Hp(s),u=Hp(l),d=u.cx,h=u.cy,f=u.innerRadius,p=u.outerRadius;return Qt.cloneElement(e,{polarAngles:Array.isArray(r)?r:MP(u,!0).map(function(e){return e.coordinate}),polarRadius:Array.isArray(i)?i:MP(c,!0).map(function(e){return e.coordinate}),cx:d,cy:h,innerRadius:f,outerRadius:p,key:e.key||"polar-grid",radialLines:n})}),wB(o,"renderLegend",function(){var e=o.state.formattedGraphicalItems,t=o.props,n=t.children,r=t.width,i=t.height,a=o.props.margin||{},s=r-(a.left||0)-(a.right||0),c=fP({children:n,formattedGraphicalItems:e,legendWidth:s,legendContent:l});if(!c)return null;var u=c.item,d=hB(c,sB);return Qt.cloneElement(u,CB(CB({},d),{},{chartWidth:r,chartHeight:i,margin:a,onBBoxUpdate:o.handleLegendBBoxUpdate}))}),wB(o,"renderTooltip",function(){var e,t=o.props,n=t.children,r=t.accessibilityLayer,i=dm(n,EE);if(!i)return null;var a=o.state,s=a.isTooltipActive,l=a.activeCoordinate,c=a.activePayload,u=a.activeLabel,d=a.offset,h=null!==(e=i.props.active)&&void 0!==e?e:s;return Qt.cloneElement(i,{viewBox:CB(CB({},d),{},{x:d.left,y:d.top}),active:h,label:u,payload:h?c:[],coordinate:l,accessibilityLayer:r})}),wB(o,"renderBrush",function(e){var t=o.props,n=t.margin,r=t.data,i=o.state,a=i.offset,s=i.dataStartIndex,l=i.dataEndIndex,c=i.updateId;return Qt.cloneElement(e,{key:e.key||"_recharts-brush",onChange:LP(o.handleBrushChange,e.props.onChange),data:r,x:Np(e.props.x)?e.props.x:a.left,y:Np(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(n.bottom||0),width:Np(e.props.width)?e.props.width:a.width,startIndex:s,endIndex:l,updateId:"brush-".concat(c)})}),wB(o,"renderReferenceElement",function(e,t,n){if(!e)return null;var r=o.clipPathId,i=o.state,a=i.xAxisMap,s=i.yAxisMap,l=i.offset,c=e.type.defaultProps||{},u=e.props,d=u.xAxisId,h=void 0===d?c.xAxisId:d,f=u.yAxisId,p=void 0===f?c.yAxisId:f;return Qt.cloneElement(e,{key:e.key||"".concat(t,"-").concat(n),xAxis:a[h],yAxis:s[p],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:r})}),wB(o,"renderActivePoints",function(t){var n=t.item,r=t.activePoint,i=t.basePoint,o=t.childIndex,a=t.isRange,s=[],l=n.props.key,c=void 0!==n.item.type.defaultProps?CB(CB({},n.item.type.defaultProps),n.item.props):n.item.props,u=c.activeDot,d=CB(CB({index:o,dataKey:c.dataKey,cx:r.x,cy:r.y,r:4,fill:EP(n.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value},pm(u,!1)),Jp(u));return s.push(e.renderActiveDot(u,d,"".concat(l,"-activePoint-").concat(o))),i?s.push(e.renderActiveDot(u,CB(CB({},d),{},{cx:i.x,cy:i.y}),"".concat(l,"-basePoint-").concat(o))):a&&s.push(null),s}),wB(o,"renderGraphicChild",function(e,t,n){var r=o.filterFormatItem(e,t,n);if(!r)return null;var i=o.getTooltipEventType(),a=o.state,s=a.isTooltipActive,l=a.tooltipAxis,c=a.activeTooltipIndex,u=a.activeLabel,d=dm(o.props.children,EE),h=r.props,f=h.points,p=h.isRange,m=h.baseLine,g=void 0!==r.item.type.defaultProps?CB(CB({},r.item.type.defaultProps),r.item.props):r.item.props,v=g.activeDot,y=g.hide,b=g.activeBar,C=g.activeShape,w=Boolean(!y&&s&&d&&(v||b||C)),E={};"axis"!==i&&d&&"click"===d.props.trigger?E={onClick:LP(o.handleItemMouseEnter,e.props.onClick)}:"axis"!==i&&(E={onMouseLeave:LP(o.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:LP(o.handleItemMouseEnter,e.props.onMouseEnter)});var k=Qt.cloneElement(e,CB(CB({},r.props),E));if(w){if(!(c>=0)){var S,x=(null!==(S=o.getItemByXY(o.state.activeCoordinate))&&void 0!==S?S:{graphicalItem:k}).graphicalItem,T=x.item,M=void 0===T?e:T,A=x.childIndex,L=CB(CB(CB({},r.props),E),{},{activeIndex:A});return[Qt.cloneElement(M,L),null,null]}var P,R;if(l.dataKey&&!l.allowDuplicatedCategory){var O="function"==typeof l.dataKey?function(e){return"function"==typeof l.dataKey?l.dataKey(e.payload):null}:"payload.".concat(l.dataKey.toString());P=Wp(f,O,u),R=p&&m&&Wp(m,O,u)}else P=null==f?void 0:f[c],R=p&&m&&m[c];if(C||b){var D=void 0!==e.props.activeIndex?e.props.activeIndex:c;return[Qt.cloneElement(e,CB(CB(CB({},r.props),E),{},{activeIndex:D})),null,null]}if(!yp(P))return[k].concat(gB(o.renderActivePoints({item:r,activePoint:P,basePoint:R,childIndex:c,isRange:p})))}return p?[k,null,null]:[k,null]}),wB(o,"renderCustomized",function(e,t,n){return Qt.cloneElement(e,CB(CB({key:"recharts-customized-".concat(n)},o.props),o.state))}),wB(o,"renderMap",{CartesianGrid:{handler:TB,once:!0},ReferenceArea:{handler:o.renderReferenceElement},ReferenceLine:{handler:TB},ReferenceDot:{handler:o.renderReferenceElement},XAxis:{handler:TB},YAxis:{handler:TB},Brush:{handler:o.renderBrush,once:!0},Bar:{handler:o.renderGraphicChild},Line:{handler:o.renderGraphicChild},Area:{handler:o.renderGraphicChild},Radar:{handler:o.renderGraphicChild},RadialBar:{handler:o.renderGraphicChild},Scatter:{handler:o.renderGraphicChild},Pie:{handler:o.renderGraphicChild},Funnel:{handler:o.renderGraphicChild},Tooltip:{handler:o.renderCursor,once:!0},PolarGrid:{handler:o.renderPolarGrid,once:!0},PolarAngleAxis:{handler:o.renderPolarAxis},PolarRadiusAxis:{handler:o.renderPolarAxis},Customized:{handler:o.renderCustomized}}),o.clipPathId="".concat(null!==(r=n.id)&&void 0!==r?r:zp("recharts"),"-clip"),o.throttleTriggeredAfterMouseMove=xE(o.triggeredAfterMouseMove,null!==(i=n.throttleDelay)&&void 0!==i?i:1e3/60),o.state={},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mB(e,t)}(e,Qt.Component),n=e,r=[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,n=e.data,r=e.height,i=e.layout,o=dm(t,EE);if(o){var a=o.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length-1)){var s=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=LB(this.state,n,a,s),c=this.state.tooltipTicks[a].coordinate,u=(this.state.offset.top+r)/2,d="horizontal"===i?{x:c,y:u}:{y:c,x:u},h=this.state.formattedGraphicalItems.find(function(e){return"Scatter"===e.item.type.name});h&&(d=CB(CB({},d),h.props.points[a].tooltipPosition),l=h.props.points[a].tooltipPayload);var f={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:s,activePayload:l,activeCoordinate:d};this.setState(f),this.renderCursor(o),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){return this.props.accessibilityLayer?(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(n=this.props.margin.left)&&void 0!==n?n:0,top:null!==(r=this.props.margin.top)&&void 0!==r?r:0}}),null):null;var n,r}},{key:"componentDidUpdate",value:function(e){mm([dm(e.children,EE)],[dm(this.props.children,EE)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=dm(this.props.children,EE);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return a.indexOf(t)>=0?t:i}return i}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,n=this.container,r=n.getBoundingClientRect(),i=(t=r).top+window.scrollY-document.documentElement.clientTop,o=t.left+window.scrollX-document.documentElement.clientLeft,a={chartX:Math.round(e.pageX-o),chartY:Math.round(e.pageY-i)},s=r.width/n.offsetWidth||1,l=this.inRange(a.chartX,a.chartY,s);if(!l)return null;var c=this.state,u=c.xAxisMap,d=c.yAxisMap,h=this.getTooltipEventType(),f=PB(this.state,this.props.data,this.props.layout,l);if("axis"!==h&&u&&d){var p=Hp(u).scale,m=Hp(d).scale,g=p&&p.invert?p.invert(a.chartX):null,v=m&&m.invert?m.invert(a.chartY):null;return CB(CB({},a),{},{xValue:g,yValue:v},f)}return f?CB(CB({},a),f):null}},{key:"inRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=this.props.layout,i=e/n,o=t/n;if("horizontal"===r||"vertical"===r){var a=this.state.offset;return i>=a.left&&i<=a.left+a.width&&o>=a.top&&o<=a.top+a.height?{x:i,y:o}:null}var s=this.state,l=s.angleAxisMap,c=s.radiusAxisMap;if(l&&c){var u=Hp(l);return tR({x:i,y:o},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=dm(e,EE),r={};return n&&"axis"===t&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu}),CB(CB({},Jp(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){YN.on(ZN,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){YN.removeListener(ZN,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formattedGraphicalItems,i=0,o=r.length;i<o;i++){var a=r[i];if(a.item===e||a.props.key===e.key||t===am(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,n=t.left,r=t.top,i=t.height,o=t.width;return Xt.createElement("defs",null,Xt.createElement("clipPath",{id:e},Xt.createElement("rect",{x:n,y:r,height:i,width:o})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce(function(e,t){var n=dB(t,2),r=n[0],i=n[1];return CB(CB({},e),{},wB({},r,i.scale))},{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce(function(e,t){var n=dB(t,2),r=n[0],i=n[1];return CB(CB({},e),{},wB({},r,i.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,n=t.formattedGraphicalItems,r=t.activeItem;if(n&&n.length)for(var i=0,o=n.length;i<o;i++){var a=n[i],s=a.props,l=a.item,c=void 0!==l.type.defaultProps?CB(CB({},l.type.defaultProps),l.props):l.props,u=am(l.type);if("Bar"===u){var d=(s.data||[]).find(function(t){return CD(e,t)});if(d)return{graphicalItem:a,payload:d}}else if("RadialBar"===u){var h=(s.data||[]).find(function(t){return tR(e,t)});if(h)return{graphicalItem:a,payload:h}}else if(zI(a,r)||VI(a,r)||HI(a,r)){var f=qI({graphicalItem:a,activeTooltipItem:r,itemData:c.data}),p=void 0===c.activeIndex?f:c.activeIndex;return{graphicalItem:CB(CB({},a),{},{childIndex:p}),payload:HI(a,r)?c.data[f]:a.props.data[f]}}}return null}},{key:"render",value:function(){var e=this;if(!hm(this))return null;var t,n,r=this.props,i=r.children,o=r.className,a=r.width,s=r.height,l=r.style,c=r.compact,u=r.title,d=r.desc,h=hB(r,lB),f=pm(h,!1);if(c)return Xt.createElement(HF,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Xt.createElement(Cm,uB({},f,{width:a,height:s,title:u,desc:d}),this.renderClipPath(),vm(i,this.renderMap)));this.props.accessibilityLayer&&(f.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,f.role=null!==(n=this.props.role)&&void 0!==n?n:"application",f.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},f.onFocus=function(){e.accessibilityManager.focus()});var p=this.parseEventsOfWrapper();return Xt.createElement(HF,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},Xt.createElement("div",uB({className:ss("recharts-wrapper",o),style:CB({position:"relative",curs
1or:"default",width:a,height:s},l)},p,{ref:function(t){e.container=t}}),Xt.createElement(Cm,uB({},f,{width:a,height:s,title:u,desc:d,style:SB}),this.renderClipPath(),vm(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}],r&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,EB(r.key),r)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}();wB(h,"displayName",t),wB(h,"defaultProps",CB({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},u)),wB(h,"getDerivedStateFromProps",function(e,t){var n=e.dataKey,r=e.data,i=e.children,o=e.width,a=e.height,s=e.layout,l=e.stackOffset,c=e.margin,u=t.dataStartIndex,h=t.dataEndIndex;if(void 0===t.updateId){var f=OB(e);return CB(CB(CB({},f),{},{updateId:0},d(CB(CB({props:e},f),{},{updateId:0}),t)),{},{prevDataKey:n,prevData:r,prevWidth:o,prevHeight:a,prevLayout:s,prevStackOffset:l,prevMargin:c,prevChildren:i})}if(n!==t.prevDataKey||r!==t.prevData||o!==t.prevWidth||a!==t.prevHeight||s!==t.prevLayout||l!==t.prevStackOffset||!qp(c,t.prevMargin)){var p=OB(e),m={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},g=CB(CB({},PB(t,r,s)),{},{updateId:t.updateId+1}),v=CB(CB(CB({},p),m),g);return CB(CB(CB({},v),d(CB({props:e},v),t)),{},{prevDataKey:n,prevData:r,prevWidth:o,prevHeight:a,prevLayout:s,prevStackOffset:l,prevMargin:c,prevChildren:i})}if(!mm(i,t.prevChildren)){var y,b,C,w,E=dm(i,__),k=E&&null!==(y=null===(b=E.props)||void 0===b?void 0:b.startIndex)&&void 0!==y?y:u,S=E&&null!==(C=null===(w=E.props)||void 0===w?void 0:w.endIndex)&&void 0!==C?C:h,x=k!==u||S!==h,T=yp(r)||x?t.updateId+1:t.updateId;return CB(CB({updateId:T},d(CB(CB({props:e},t),{},{updateId:T,dataStartIndex:k,dataEndIndex:S}),t)),{},{prevChildren:i,dataStartIndex:k,dataEndIndex:S})}return null}),wB(h,"renderActiveDot",function(e,t,n){var r;return r=Qt.isValidElement(e)?Qt.cloneElement(e,t):Ep(e)?e(t):Xt.createElement(RD,t),Xt.createElement(Bm,{className:"recharts-active-dot",key:n},r)});var f=Qt.forwardRef(function(e,t){return Xt.createElement(h,uB({},e,{ref:t}))});return f.displayName=h.displayName,f},FB=_B({chartName:"PieChart",GraphicalChild:h_,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:CI},{axisType:"radiusAxis",AxisComp:rI}],formatAxisMap:function(e,t,n,r,i){var o=e.width,a=e.height,s=e.startAngle,l=e.endAngle,c=Vp(e.cx,o,o/2),u=Vp(e.cy,a,a/2),d=JP(o,a,n),h=Vp(e.innerRadius,d,0),f=Vp(e.outerRadius,d,.8*d);return Object.keys(t).reduce(function(e,n){var o,a,d,p=t[n],m=p.domain,g=p.reversed;if(yp(p.range))"angleAxis"===r?o=[s,l]:"radiusAxis"===r&&(o=[h,f]),g&&(o=[o[1],o[0]]);else{var v=(a=o=p.range,d=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(a,d)||function(e,t){if(e){if("string"==typeof e)return YP(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?YP(e,t):void 0}}(a,d)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());s=v[0],l=v[1]}var y=PP(p,i),b=y.realScaleType,C=y.scale;C.domain(m).range(o),OP(C);var w=_P(C,qP(qP({},p),{},{realScaleType:b})),E=qP(qP(qP({},p),w),{},{range:o,radius:f,realScaleType:b,scale:C,cx:c,cy:u,innerRadius:h,outerRadius:f,startAngle:s,endAngle:l});return qP(qP({},e),{},KP({},n,E))},{})},defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}
vendor: 4,434 bytes, line 1
1),$B=_B({chartName:"AreaChart",GraphicalChild:SN,axisComponents:[{axisType:"xAxis",AxisComp:DN},{axisType:"yAxis",AxisComp:VN}],formatAxisMap:function(e,t,n,r,i){var o=e.width,a=e.height,s=e.layout,l=e.children,c=Object.keys(t),u={left:n.left,leftMirror:n.left,right:o-n.right,rightMirror:o-n.right,top:n.top,topMirror:n.top,bottom:a-n.bottom,bottomMirror:a-n.bottom},d=!!dm(l,mF);return c.reduce(function(o,a){var l,c,h,f,p,m=t[a],g=m.orientation,v=m.domain,y=m.padding,b=void 0===y?{}:y,C=m.mirror,w=m.reversed,E="".concat(g).concat(C?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var k=v[1]-v[0],S=1/0,x=m.categoricalDomain.sort(Gp);if(x.forEach(function(e,t){t>0&&(S=Math.min((e||0)-(x[t-1]||0),S))}),Number.isFinite(S)){var T=S/k,M="vertical"===m.layout?n.height:n.width;if("gap"===m.padding&&(l=T*M/2),"no-gap"===m.padding){var A=Vp(e.barCategoryGap,T*M),L=T*M/2;l=L-A-(L-A)/M*A}}}c="xAxis"===r?[n.left+(b.left||0)+(l||0),n.left+n.width-(b.right||0)-(l||0)]:"yAxis"===r?"horizontal"===s?[n.top+n.height-(b.bottom||0),n.top+(b.top||0)]:[n.top+(b.top||0)+(l||0),n.top+n.height-(b.bottom||0)-(l||0)]:m.range,w&&(c=[c[1],c[0]]);var P=PP(m,i,d),R=P.scale,O=P.realScaleType;R.domain(v).range(c),OP(R);var D=_P(R,bF(bF({},m),{},{realScaleType:O}));"xAxis"===r?(p="top"===g&&!C||"bottom"===g&&C,h=n.left,f=u[E]-p*m.height):"yAxis"===r&&(p="left"===g&&!C||"right"===g&&C,h=u[E]-p*m.width,f=n.top);var I=bF(bF(bF({},m),D),{},{realScaleType:O,x:h,y:f,scale:R,width:"xAxis"===r?n.width:m.width,height:"yAxis"===r?n.height:m.height});return I.bandSize=VP(I,D),m.hide||"xAxis"!==r?m.hide||(u[E]+=(p?-1:1)*I.width):u[E]+=(p?-1:1)*I.height,bF(bF({},o),{},CF({},a,I))},{})}});const NB=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V16M16 12H8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],BB=[["path",{d:"M2.5 12.0001C2.5 7.52171 2.5 5.28254 3.89124 3.8913C5.28249 2.50005 7.52166 2.50005 12 2.50005C16.4783 2.50005 18.7175 2.50005 20.1088 3.8913C21.5 5.28254 21.5 7.52171 21.5 12.0001C21.5 16.4784 21.5 18.7176 20.1088 20.1088C18.7175 21.5001 16.4783 21.5001 12 21.5001C7.52166 21.5001 5.28249 21.5001 3.89124 20.1088C2.5 18.7176 2.5 16.4784 2.5 12.0001Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8.00005V16.0001M16 12.0001L8 12.0001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],jB=[["path",{d:"M9 22C9.35984 22 10.6908 21.3926 12.0494 20.1778M12.0494 20.1778C13.2078 19.1419 14.3863 17.6643 15 15.7452C16.3333 11.5753 8.33333 15.7452 11 19.2201C11.3281 19.6476 11.6815 19.9601 12.0494 20.1778ZM12.0494 20.1778C13.6521 21.1259 15.5311 20.274 16.8041 19.2944C17.1932 18.995 17.3877 18.8453 17.5038 18.8919C17.62 18.9385 17.6878 19.2064 17.8236 19.7422C18.2581 21.4569 19.5415 22.841 21 20.6105",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20 13L20 7.89072C20 6.17637 20 5.31919 19.732 4.63459C19.3013 3.53399 18.3902 2.66585 17.2352 2.25535C16.5168 2 15.6173 2 13.8182 2C10.6698 2 9.09563 2 7.83836 2.44686C5.81714 3.16523 4.22281 4.68448 3.46894 6.61052C3 7.80859 3 9.30864 3 12.3088L3 14.8859C3 17.9936 3 19.5474 3.8477 20.6265C4.09058 20.9356 4.37862 21.2101 4.70307 21.4416C5.07016 21.7034 5.48961 21.8804 6 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 12C3 10.159 4.49238 8.66667 6.33333 8.66667C6.99912 8.66667 7.78404 8.78333 8.43137 8.60988C9.00652 8.45576 9.45576 8.00652 9.60988 7.43136C9.78333 6.78404 9.66667 5.99912 9.66667 5.33333C9.66667 3.49238 11.1591 2 13 2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],zB=[["path",{d:"M10 7L9.48415 8.39405C8.80774 10.222 8.46953 11.136 7.80278 11.8028C7.13603 12.4695 6.22204 12.8077 4.39405 13.4842L3 14L4.39405 14.5158C6.22204 15.1923 7.13603 15.5305 7.80278 16.1972C8.46953 16.864 8.80774 17.778 9.48415 19.6059L10 21L10.5158 19.6059C11.1923 17.778 11.5305 16.864 12.1972 16.1972C12.864 15.5305 13.778 15.1923 15.6059 14.5158L17 14L15.6059 13.4842C13.778 12.8077 12.864 12.4695 12.1972 11.8028C11.5305 11.
1136 11.1923 10.222 10.5158 8.39405L10 7Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 3L17.7789 3.59745C17.489 4.38087 17.3441 4.77259 17.0583 5.05833C16.7726 5.34408 16.3809 5.48903 15.5975 5.77892L15 6L15.5975 6.22108C16.3809 6.51097 16.7726 6.65592 17.0583 6.94167C17.3441 7.22741 17.489 7.61913 17.7789 8.40255L18 9L18.2211 8.40255C18.511 7.61913 18.6559 7.22741 18.9417 6.94166C19.2274 6.65592 19.6191 6.51097 20.4025 6.22108L21 6L20.4025 5.77892C19.6191 5.48903 19.2274 5.34408 18.9417 5.05833C18.6559 4.77259 18.511 4.38087 18.2211 3.59745L18 3Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],VB=[["path",{d:"M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 17V12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 8.99828V8.98828",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8",key:"2"}]],HB=[["path",{d:"M13.9248 21H10.0752C5.44476 21 3.12955 21 2.27636 19.4939C1.42317 17.9879 2.60736 15.9914 4.97574 11.9985L6.90057 8.75333C9.17559 4.91778 10.3131 3 12 3C13.6869 3 14.8244 4.91777 17.0994 8.75332L19.0243 11.9985C21.3926 15.9914 22.5768 17.9879 21.7236 19.4939C20.8704 21 18.5552 21 13.9248 21Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 9V13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 16.9922V17.0022",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8",key:"2"}]],UB=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V12.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 15.9883V15.9983",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8",key:"2"}]],WB=[["path",{d:"M7 17L7 13",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 17L12 7",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M17 17L17 11",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],GB=[["path",{d:"M6.5 9.5C6.5 6.46243 8.96243 4 12 4C15.0376 4 17.5 6.46243 17.5 9.5V16C17.5 17.4142 17.5 18.1213 17.0607 18.5607C16.6213 19 15.9142 19 14.5 19H9.5C8.08579 19 7.37868 19 6.93934 18.5607C6.5 18.1213 6.5 17.4142 6.5 16V9.5Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M20 11V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15 19V22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M9 19V22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M4 11V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M10 4L8.5 2M14 4L15.5 2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M6.5 10H17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"6"}]],qB=[["path",{d:"M12 5.75C12 3.75 13.5 1.75 15.5 1.75C15.5 3.75 14 5.75 12 5.75Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.5 8.09001C11.9851 8.09001 11.5867 7.92646 11.1414 7.74368C10.5776 7.51225 9.93875 7.25 8.89334 7.25C7.02235 7.25 4 8.74945 4 12.7495C4 17.4016 7.10471 22.25 9.10471 22.25C9.77426 22.25 10.3775 21.9871 10.954 21.7359C11.4815 21.5059 11.9868 21.2857 12.5 21.2857C13.0132 21.2857 13.5185 21.5059 14.046 21.7359C14.6225 21.9871 15.2257 22.25 15.8953 22.25C17.2879 22.25 18.9573 19.8992 20 16.9008C18.3793 16.2202 17.338 14.618 17.338 12.75C17.338 11.121 18.2036 10.0398 19.5 9.25C18.5 7.75 17.0134 7.25 15.9447 7.25C14.8993 7.25 14.2604 7.51225 13.6966 7.74368C13.2514 7.92646 13.0149 8.09001 12.5 8.09001Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],KB=[["path",{d:"M20 8V15C20 17.8284 20 19.2426 19.1213 20.1213C18.2426 21 16.8284 21 14 21H10C7.17157 21 5.75736 21 4.87868 20.1213C4 19.2426 4 17.8284 4 15V8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19.5 3H4.5C3.56538 3 3.09808 3 2.75 3.20096C2.52197 3.33261 2.33261 3.52197 2.20096 3.75C2 4.09808 2 4.56538 2 5.5C2 6.43462 2 6.90192 2.20096 7.25C2.33261 7.47803 2.52197 7.66739 2.75 7.79904C3.09808 8 3.56538 8 4.5 8H19.5C20.4346 8 20.9019 8 21.25 7.79904C21.478 7.66
1739 21.6674 7.47803 21.799 7.25C22 6.90192 22 6.43462 22 5.5C22 4.56538 22 4.09808 21.799 3.75C21.6674 3.52197 21.478 3.33261 21.25 3.20096C20.9019 3 20.4346 3 19.5 3Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 11H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],YB=[["path",{d:"M19 9H6.65856C5.65277 9 5.14987 9 5.02472 8.69134C4.89957 8.38268 5.25517 8.01942 5.96637 7.29289L8.21091 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5 15H17.3414C18.3472 15 18.8501 15 18.9753 15.3087C19.1004 15.6173 18.7448 15.9806 18.0336 16.7071L15.7891 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],ZB=[["path",{d:"M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],QB=[["path",{d:"M12 18.502V5.00195",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 13.002C18 13.002 13.5811 19.0019 12 19.002C10.4188 19.002 6 13.002 6 13.002",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],XB=[["path",{d:"M16.4999 3.26621C17.3443 3.25421 20.1408 2.67328 20.7337 3.26621C21.3266 3.85913 20.7457 6.65559 20.7337 7.5M20.5059 3.49097L13.5021 10.4961",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3.26637 16.5001C3.25437 17.3445 2.67344 20.141 3.26637 20.7339C3.85929 21.3268 6.65575 20.7459 7.50016 20.7339M10.502 13.4976L3.49825 20.5027",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],JB=[["path",{d:"M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],ej=[["path",{d:"M11.5 18C11.5 18 5.50001 13.5811 5.5 12C5.49999 10.4188 11.5 6 11.5 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18.5 18C18.5 18 12.5 13.5811 12.5 12C12.5 10.4188 18.5 6 18.5 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],tj=[["path",{d:"M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],nj=[["path",{d:"M18.5 12L4.99997 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 18C13 18 19 13.5811 19 12C19 10.4188 13 6 13 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],rj=[["path",{d:"M12.5 18C12.5 18 18.5 13.5811 18.5 12C18.5 10.4188 12.5 6 12.5 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M5.50005 18C5.50005 18 11.5 13.5811 11.5 12C11.5 10.4188 5.5 6 5.5 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],ij=[["path",{d:"M17.9998 15C17.9998 15 13.5809 9.00001 11.9998 9C10.4187 8.99999 5.99985 15 5.99985 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],oj=[["path",{d:"M12 5.5V19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 11C18 11 13.5811 5.00001 12 5C10.4188 4.99999 6 11 6 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],aj=[["path",{d:"M18 4L5.99997 4",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15.9999 12C15.9999 12 13.054 8.00001 11.9999 8C10.9458 7.99999 7.99994 12 7.99994 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],sj=[["path",{d:"M7 4V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 19L17 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 6.99998C10 6.99998 7.79053 4.00001 6.99998 4C6.20942 3.99999 4 7 4 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M20 17C20 17 17.7905 20 17 20C16.2094 20 14 17 14 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],lj=[["path",{d:"M9 6.65032C9 6.65032 15.9383 6.10759 16.9154 7.08463C17.8924 8.06167 17.3496 15 17.3496 15M16.5 7.5L6.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],cj=[["path",{d:"M19 11V10C19 6.22876 19 4.34315 17.8284 3.17157C16.6569 2 14.7712 2
111 2C7.22876 2 5.34315 2 4.17157 3.17157C3 4.34315 3 6.22876 3 10V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21 22L19.2857 20.2857M19.8571 17.4286C19.8571 19.3221 18.3221 20.8571 16.4286 20.8571C14.535 20.8571 13 19.3221 13 17.4286C13 15.535 14.535 14 16.4286 14C18.3221 14 19.8571 15.535 19.8571 17.4286Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M7 7H15M7 11H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],uj=[["path",{d:"M3 4V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7.5 4V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 4V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M16.5 4V17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M21 4V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M7.49981 20H7.50879",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"5"}],["path",{d:"M11.9998 20H12.0088",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"6"}],["path",{d:"M16.4998 20H16.5088",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"7"}]],dj=[["path",{d:"M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.52514 13.4744C10.1585 14.1078 11.0335 14.4995 12 14.4995C13.933 14.4995 15.5 12.9324 15.5 10.9995C15.5 10.033 15.1083 9.15801 14.4749 8.52464M9.52514 13.4744C8.89175 12.841 8.5 11.966 8.5 10.9995C8.5 9.06651 10.067 7.49951 12 7.49951C12.9665 7.49951 13.8415 7.89126 14.4749 8.52464M9.52514 13.4744L14.4749 8.52464",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],hj=[["path",{d:"M8 2V18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20 22H6C4.89543 22 4 21.1046 4 20M4 20C4 18.8954 4.89543 18 6 18H20V6C20 4.11438 20 3.17157 19.4142 2.58579C18.8284 2 17.8856 2 16 2H10C7.17157 2 5.75736 2 4.87868 2.87868C4 3.75736 4 5.17157 4 8V20Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M19.5 18C19.5 18 18.5 18.7628 18.5 20C18.5 21.2372 19.5 22 19.5 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],fj=[["path",{d:"M12 2H6C3.518 2 3 2.518 3 5V22H15V5C15 2.518 14.482 2 12 2Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 8H15V22H21V11C21 8.518 20.482 8 18 8Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M8 6L10 6M8 9L10 9M8 12L10 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M11.5 22V18C11.5 17.0572 11.5 16.5858 11.2071 16.2929C10.9142 16 10.4428 16 9.5 16H8.5C7.55719 16 7.08579 16 6.79289 16.2929C6.5 16.5858 6.5 17.0572 6.5 18V22",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],pj=[["path",{d:"M3 22H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 22V2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M7 4C12.6754 4.96101 17 9.94287 17 15.9442C17 18.1502 16.4156 20.2185 15.3946 22",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M5 9H17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M7 13H11M7 17H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],mj=[["path",{d:"M21.5 12.95V11.05C21.5 7.01949 21.5 5.00424 20.1088 3.75212C18.7175 2.5 16.4783 2.5 12 2.5C7.52166 2.5 5.28249 2.5 3.89124 3.75212C2.5 5.00424 2.5 7.01949 2.5 11.05V12.95C2.5 16.9805 2.5 18.9958 3.89124 20.2479C5.28249 21.5 7.52166 21.5 12 21.5C16.4783 21.5 18.7175 21.5 20.1088 20.2479C21.5 18.9958 21.5 16.9805 21.5 12.95Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 8H14M16 6L16 10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 17.5H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18 14.5H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M10 17.5L8.25 15.75M8.25 15.75L6.5 14M8.25 15.75L10 14M8.25 15.75L6.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M10 8H6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]],gj=[["path",{d:"M16 2V6M8 2V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3 10H21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M11.9955 14H12.0045M11.9955 18H12.0045M15.991 14H16M8 14H8.00897M8 18H8.00897",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"3"}]],vj=[["path",{d:"M9.1585 5.71217L8.75584 4.80619C8.49256 4.21382 8.36092 3.91762 8.16405 3.69095C7.91732 3.40688 7.59571 3.19788 7.23592 3.08779C6.94883 2.99994 6.6247 2.99994 5.97645 2.99994C5.02815 2.99994 4.554 2.99994 4.15597 3.18223C3.68711 3.39696 3.26368 3.86322 3.09497 4.35054C2.95175 4.76423 2.99278 5.18937 3.07482 6.03964C3.94815 15.0901 8.91006 20.052 17.9605 20.9254C18.8108 21.0074 19.236 21.0484 19.6496 20.9052C20.137 20.7365 20.6032 20.3131 20.818 19.8442C21.0002 19.4462 21.0002 18.972 21.0002 18.0237C21.0002 17.3755 21.0002 17.0514 20.9124 16.7643C20.8023 16.4045 20.5933 16.0829 20.3092 15.8361C20.0826 15.6393 19.7864 15.5076 19.194 15.2443L18.288 14.8417C17.6465 14.5566 17.3257 14.414 16.9998 14.383C16.6878 14.3533 16.3733 14.3971 16.0813 14.5108C15.7762 14.6296 15.5066 14.8543 14.9672 15.3038C14.4304 15.7511 14.162 15.9748 13.834 16.0946C13.5432 16.2009
113.1588 16.2402 12.8526 16.1951C12.5071 16.1442 12.2426 16.0028 11.7135 15.7201C10.0675 14.8404 9.15977 13.9327 8.28011 12.2867C7.99738 11.7576 7.85602 11.4931 7.80511 11.1476C7.75998 10.8414 7.79932 10.457 7.90554 10.1662C8.02536 9.83822 8.24905 9.5698 8.69643 9.03294C9.14586 8.49362 9.37058 8.22396 9.48939 7.91885C9.60309 7.62688 9.64686 7.31234 9.61719 7.00042C9.58618 6.67446 9.44362 6.3537 9.1585 5.71217Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}]],yj=[["path",{d:"M12.6974 3.5H11.303C10.5884 3.5 10.2311 3.5 9.91067 3.612C9.71499 3.68039 9.53113 3.77879 9.36568 3.90367C9.09474 4.10816 8.89655 4.40544 8.50018 5L8.50017 5.00001C8.29717 5.30453 7.99794 5.75337 7.87867 5.87871C7.58314 6.18927 7.19563 6.39666 6.77329 6.47029C6.60284 6.5 6.41985 6.5 6.05387 6.5C5.07379 6.5 4.58376 6.5 4.18307 6.61342C3.18074 6.89716 2.39734 7.68055 2.1136 8.68289C2.00018 9.08357 2.00018 9.57361 2.00018 10.5537V14.5C2.00018 17.3284 2.00018 18.7426 2.87886 19.6213C3.75754 20.5 5.17176 20.5 8.00018 20.5H16.0002C18.8286 20.5 20.2428 20.5 21.1215 19.6213C22.0002 18.7426 22.0002 17.3284 22.0002 14.5V10.5537C22.0002 9.57361 22.0002 9.08357 21.8868 8.68289C21.603 7.68055 20.8196 6.89716 19.8173 6.61342C19.4166 6.5 18.9266 6.5 17.9465 6.5C17.5805 6.5 17.3975 6.5 17.2271 6.47029C16.8047 6.39666 16.4172 6.18927 16.1217 5.87871C16.0024 5.75336 15.7032 5.30451 15.5002 5C15.1038 4.40544 14.9056 4.10816 14.6347 3.90367C14.4692 3.77879 14.2854 3.68039 14.0897 3.612C13.7693 3.5 13.412 3.5 12.6974 3.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.0002 13C16.0002 15.2091 14.2093 17 12.0002 17C9.79104 17 8.00018 15.2091 8.00018 13C8.00018 10.7909 9.79104 9 12.0002 9C14.2093 9 16.0002 10.7909 16.0002 13Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M19.0002 9.5V9.51",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"2"}]],bj=[["path",{d:"M18 6L6.00081 17.9992M17.9992 18L6 6.00085",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Cj=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.9994 15L9 9M9.00064 15L15 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],wj=[["path",{d:"M9.13432 2.5C6.46805 2.56075 4.9107 2.81456 3.84664 3.87493C2.91537 4.80297 2.60406 6.10756 2.5 8.2M14.8657 2.5C17.532 2.56075 19.0893 2.81456 20.1534 3.87493C21.0846 4.80297 21.3959 6.10756 21.5 8.2M14.8657 21.5C17.532 21.4392 19.0893 21.1854 20.1534 20.1251C21.0846 19.197 21.3959 17.8924 21.5 15.8M9.13432 21.5C6.46805 21.4392 4.9107 21.1854 3.84664 20.1251C2.91537 19.197 2.60406 17.8924 2.5 15.8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Ej=[["path",{d:"M16 2H12C9.17157 2 7.75736 2 6.87868 2.94627C6 3.89254 6 5.41554 6 8.46154V9.53846C6 12.5845 6 14.1075 6.87868 15.0537C7.75736 16 9.17157 16 12 16H16C18.8284 16 20.2426 16 21.1213 15.0537C22 14.1075 22 12.5845 22 9.53846V8.46154C22 5.41554 22 3.89254 21.1213 2.94627C20.2426 2 18.8284 2 16 2Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 16.6082C17.9879 18.9537 17.8914 20.2239 17.123 21.0525C16.2442 22 14.8298 22 12.0011 22H8.00065C5.17192 22 3.75755 22 2.87878 21.0525C2 20.1049 2 18.5799 2 15.5298V14.4515C2 11.4014 2 9.87638 2.87878 8.92885C3.52015 8.2373 4.44682 8.05047 6.00043 8",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],kj=[["path",{d:"M11 6L21 6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11 12L21 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11 18L21 18",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 7.39286C3 7.39286 4 8.04466 4.5 9C4.5 9 6 5.25 8 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M3 18.3929C3 18.3929 4 19.0447 4.5 20C4.5 20 6 16.25 8 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],Sj=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 12.75C8 12.75 9.6 13.6625 10.4 15C10.4 15 12.8 9.75 16 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],xj=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 12.5L10.5 15L16 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Tj=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Mj=[["path",{d:"M14 8H10C7.518 8 7 8.518 7 11V22H17V11C17 8.518 16.482 8 14 8Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11 12L13 12M11 15H13M11 18H13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 22V8.18564C21 6.95735 21 6.3432 20.7013 5.84966C20.4026 5.35612 19.8647 5.08147 18.7889 4.53216L14.4472 2.31536C13.2868 1.72284 13 1.93166 13 3.22873V7.7035",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M3 22V13C3 12.1727 3.17267 12 4 12H7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M22 22H2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],Aj=[["path",{d:"M21 3L13 11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.44573 11.0854C6.96539 12.0368 4.98269 11.8736 3 11.
10885C3.50059 17.531 6.50414 20.0089 10.5089 21C10.5089 21 13.5261 18.8664 13.961 13.8074C14.0081 13.2595 14.0317 12.9856 13.9178 12.6769C13.8038 12.3682 13.5802 12.1468 13.1329 11.704C12.3973 10.9757 12.0295 10.6116 11.5929 10.5204C11.1564 10.4293 10.5862 10.648 9.44573 11.0854Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4.5 16.4464C4.5 16.4464 7 16.9286 9.5 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M8.5 7.25C8.5 7.94036 7.94036 8.5 7.25 8.5C6.55964 8.5 6 7.94036 6 7.25C6 6.55964 6.55964 6 7.25 6C7.94036 6 8.5 6.55964 8.5 7.25Z",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M11 4V4.1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"4"}]],Lj=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 8V12L14 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Pj=[["path",{d:"M12 17H8C5.17157 17 3.75736 17 2.87868 16.1213C2 15.2426 2 13.8284 2 11V9C2 6.17157 2 4.75736 2.87868 3.87868C3.75736 3 5.17157 3 8 3H16C18.8284 3 20.2426 3 21.1213 3.87868C21.9466 4.70398 21.9968 6.00173 21.9998 8.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16 14V18C16 19.4142 16 20.1213 16.4393 20.5607C16.8787 21 17.5858 21 19 21C20.4142 21 21.1213 21 21.5607 20.5607C22 20.1213 22 19.4142 22 18V14C22 12.5858 22 11.8787 21.5607 11.4393C21.1213 11 20.4142 11 19 11C17.5858 11 16.8787 11 16.4393 11.4393C16 11.8787 16 12.5858 16 14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 21H8M10 21C10.8284 21 11.5 20.3284 11.5 19.5V17L12 17M10 21H12.5V17L12 17M12 17V21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Rj=[["path",{d:"M2.25607 15.6322C2.29003 15.309 2.52424 15.0485 2.99267 14.5276L4.02374 13.3749C4.27577 13.0558 4.45462 12.5 4.45462 11.9998C4.45462 11.5 4.27571 10.944 4.02371 10.625L2.99267 9.47231C2.52424 8.95137 2.29002 8.6909 2.25607 8.36768C2.22211 8.04446 2.39707 7.74083 2.74698 7.13358L3.24056 6.27698C3.61386 5.62915 3.8005 5.30523 4.11808 5.17607C4.43566 5.0469 4.79482 5.14883 5.51316 5.35267L6.73339 5.69637C7.192 5.80212 7.67315 5.74213 8.0919 5.52698L8.42878 5.33261C8.78786 5.10262 9.06406 4.76352 9.21694 4.36493L9.5509 3.36754C9.77047 2.70753 9.88026 2.37752 10.1416 2.18876C10.403 2 10.7502 2 11.4445 2H12.5593C13.2537 2 13.6009 2 13.8622 2.18876C14.1236 2.37752 14.2334 2.70753 14.453 3.36754L14.7869 4.36493C14.9398 4.76352 15.216 5.10262 15.5751 5.33261L15.912 5.52698C16.3307 5.74213 16.8119 5.80212 17.2705 5.69637L18.4907 5.35267C19.209 5.14883 19.5682 5.0469 19.8858 5.17607C20.2034 5.30523 20.39 5.62915 20.7633 6.27698L21.2569 7.13358C21.6068 7.74083 21.7817 8.04446 21.7478 8.36768C21.7138 8.6909 21.4796 8.95137 21.0112 9.47231L19.9801 10.625C19.7282 10.944 19.5492 11.5 19.5492 11.9998C19.5492 12.5 19.7281 13.0558 19.9801 13.3749L21.0112 14.5276C21.4796 15.0485 21.7138 15.309 21.7478 15.6322C21.7817 15.9555 21.6068 16.2591 21.2569 16.8663L20.7633 17.7229C20.39 18.3707 20.2034 18.6947 19.8858 18.8238C19.5682 18.953 19.209 18.8511 18.4907 18.6472L17.2705 18.3035C16.8118 18.1977 16.3306 18.2578 15.9118 18.473L15.575 18.6674C15.2159 18.8974 14.9398 19.2364 14.787 19.635L14.453 20.6325C14.2334 21.2925 14.1236 21.6225 13.8622 21.8112C13.6009 22 13.2537 22 12.5593 22H11.4445C10.7502 22 10.403 22 10.1416 21.8112C9.88026 21.6225 9.77047 21.2925 9.5509 20.6325",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.73696 18.7798C3.81696 17.6998 7.48896 14.0638 7.84896 13.6438C8.22953 13.1998 7.92096 12.5998 8.10456 10.7398C8.1934 9.8398 8.38699 9.16555 8.94096 8.6638C9.60096 8.0398 10.141 8.0398 12.001 7.99781C13.621 8.0398 13.813 7.8598 13.981 8.27981C14.101 8.57981 13.741 8.7598 13.309 9.23981C12.349 10.1998 11.785 10.6798 11.731 10.9798C11.341 12.2998 12.877 13.0798 13.717 12.2398C14.0346 11.9221 15.505 10.4398 15.649 10.3198C15.757 10.2238 16.0155 10.2284 16.141 10.3798C16.249 10.4859 16.261 10.4998 16.249 10.9798C16.2379 11.4241 16.2428 12.062 16.2442 12.7198C16.2459 13.5721 16.201 14.5198 15.841 14.9998C15.121 16.0798 13.921 16.1398 12.841 16.1878C11.821 16.2478 10.981 16.1398 10.717 16.3318C10.501 16.4398 9.36096 17.6398 7.98096 19.0198L5.52096 21.4798C3.48096 23.0998 1.23696 20.5798 2.73696 18.7798Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],Oj=[["path",{d:"M8.73047 21.499C10.0226 19.276 12.9819 19.0139 14.6673 20.7126C15.0441 21.0924 15.2325 21.2824 15.3996 21.3051C15.5667 21.3278 16.6152 20.7265 16.9874 20.5131C17.3668 20.2956 18.4187 19.6922 18.4848 19.5344C18.5509 19.3765 18.4817 19.1074 18.3433 18.5692C17.8399 16.6121 19.0606 14.5524 21.011 14.0212C21.5329 13.879 21.7938 13.8079 21.89
169 13.672C22 13.5361 22 12.3409 22 11.9036C22 11.4664 22 10.2711 21.8969 10.1352C21.7938 9.9993 21.5329 9.92819 21.011 9.78607C19.0603 9.25481 17.8386 7.19517 18.3418 5.23798C18.4801 4.69968 18.5493 4.43053 18.4832 4.27271C18.4171 4.1149 17.3652 3.51159 16.9859 3.29406C16.6136 3.0806 15.5651 2.47932 15.3981 2.50204C15.231 2.52478 15.0426 2.71467 14.6657 3.09447C13.2064 4.56489 10.792 4.56495 9.33276 3.09456C8.95585 2.71477 8.76739 2.52487 8.60035 2.50215C8.4333 2.47942 7.38483 3.08071 7.0126 3.29418C6.63327 3.51172 5.58126 4.11501 5.51516 4.27285C5.44907 4.43069 5.51829 4.6998 5.65672 5.23805C6.16008 7.19518 4.9394 9.25477 2.98902 9.78605C2.46711 9.92819 2.20615 9.9993 2.10308 10.1353C2 10.2711 2 11.4664 2 11.9036C2 12.3409 2 13.5361 2.10308 13.6721C2.20617 13.808 2.467 13.879 2.98866 14.0211C2.99478 14.0228 3.00089 14.0245 3.007 14.0261",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.48891 18.1828C3.56891 17.1033 7.24091 13.4688 7.60091 13.0489C7.98148 12.6051 7.67291 12.0054 7.85651 10.1461C7.94535 9.24652 8.13895 8.57254 8.69291 8.071C9.35291 7.44726 9.89291 7.44726 11.7529 7.40527C13.3729 7.44726 13.5649 7.26733 13.7329 7.68716C13.8529 7.98704 13.4929 8.16696 13.0609 8.64677C12.1009 9.60637 11.5369 10.0862 11.4829 10.3861C11.0929 11.7055 12.6289 12.4852 13.4689 11.6455C13.7866 11.328 15.2569 9.84627 15.4009 9.72632C15.5089 9.63036 15.7674 9.635 15.8929 9.78629C16.0009 9.89235 16.0129 9.90624 16.0009 10.386C15.9898 10.8302 15.9948 11.4678 15.9961 12.1253C15.9979 12.9773 15.9529 13.9246 15.5929 14.4044C14.8729 15.4839 13.6729 15.5439 12.5929 15.5919C11.5729 15.6519 10.7329 15.5439 10.4689 15.7358C10.2529 15.8438 9.11291 17.0433 7.73291 18.4227L5.27291 20.8817C3.23291 22.5011 0.988911 19.9821 2.48891 18.1828Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],Dj=[["path",{d:"M9 15C9 12.1716 9 10.7574 9.87868 9.87868C10.7574 9 12.1716 9 15 9L16 9C18.8284 9 20.2426 9 21.1213 9.87868C22 10.7574 22 12.1716 22 15V16C22 18.8284 22 20.2426 21.1213 21.1213C20.2426 22 18.8284 22 16 22H15C12.1716 22 10.7574 22 9.87868 21.1213C9 20.2426 9 18.8284 9 16L9 15Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.9999 9C16.9975 6.04291 16.9528 4.51121 16.092 3.46243C15.9258 3.25989 15.7401 3.07418 15.5376 2.90796C14.4312 2 12.7875 2 9.5 2C6.21252 2 4.56878 2 3.46243 2.90796C3.25989 3.07417 3.07418 3.25989 2.90796 3.46243C2 4.56878 2 6.21252 2 9.5C2 12.7875 2 14.4312 2.90796 15.5376C3.07417 15.7401 3.25989 15.9258 3.46243 16.092C4.51121 16.9528 6.04291 16.9975 9 16.9999",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Ij=[["path",{d:"M16.9637 8.98209C16.9613 6.03194 16.9167 4.50384 16.0578 3.45753C15.892 3.25546 15.7067 3.07019 15.5047 2.90436C14.4008 1.99854 12.7609 1.99854 9.48087 1.99854C6.20089 1.99854 4.5609 1.99854 3.45708 2.90436C3.255 3.07018 3.06971 3.25546 2.90387 3.45753C1.99799 4.56128 1.99799 6.20116 1.99799 9.48091C1.99799 12.7607 1.99799 14.4005 2.90387 15.5043C3.0697 15.7063 3.255 15.8916 3.45708 16.0574C4.50346 16.9162 6.03167 16.9608 8.98201 16.9632",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.0283 9.02455L16.994 8.98193M14.0143 22.0013L16.9799 21.9586M21.9716 14.0221L21.9436 16.9818M9.01033 14.0357L8.98236 16.9953M11.4873 9.02455C10.6545 9.17371 9.31781 9.32713 9.01033 11.0488M19.4946 21.9586C20.3296 21.8223 21.6685 21.6894 22.0025 19.9726M19.4946 9.02455C20.3274 9.17371 21.6641 9.32713 21.9716 11.0488M11.5 21.9573C10.6672 21.8086 9.33039 21.6559 9.02197 19.9344",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],_j=[["path",{d:"M12.5 20H10.5C6.74142 20 4.86213 20 3.60746 19.0091C3.40678 18.8506 3.22119 18.676 3.0528 18.4871C2 17.3062 2 15.5375 2 12C2 8.46252 2 6.69377 3.0528 5.5129C3.22119 5.32403 3.40678 5.14935 3.60746 4.99087C4.86213 4 6.74142 4 10.5 4H13.5C17.2586 4 19.1379 4 20.3925 4.99087C20.5932 5.14935 20.7788 5.32403 20.9472 5.5129C21.8957 6.57684 21.9897 8.11799 21.999 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 9H22",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M22 14L16 20M22 20L16 14",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]],Fj=[["path",{d:"M13.5 13L17 9M14 15C14 16.1046 13.1046 17 12 17C10.8954 17 10 16.
11046 10 15C10 13.8954 10.8954 13 12 13C13.1046 13 14 13.8954 14 15Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6 12C6 8.68629 8.68629 6 12 6C13.0929 6 14.1175 6.29218 15 6.80269",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M2.50006 12.0001C2.50006 7.52172 2.50006 5.28255 3.8913 3.8913C5.28255 2.50006 7.52172 2.50006 12.0001 2.50006C16.4784 2.50006 18.7176 2.50006 20.1088 3.8913C21.5001 5.28255 21.5001 7.52172 21.5001 12.0001C21.5001 16.4784 21.5001 18.7176 20.1088 20.1088C18.7176 21.5001 16.4784 21.5001 12.0001 21.5001C7.52172 21.5001 5.28255 21.5001 3.8913 20.1088C2.50006 18.7176 2.50006 16.4784 2.50006 12.0001Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}]],$j=[["ellipse",{cx:"11",cy:"5",rx:"8",ry:"3",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M6 10.8418C6.60158 11.0226 7.27434 11.1716 8 11.2817",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M11 15C6.58172 15 3 13.6569 3 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6 17.8418C6.60158 18.0226 7.27434 18.1716 8 18.2817",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M11 22C6.58172 22 3 20.6569 3 19V5M19 5V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M19 16.6735L17.8258 15.1869C17.2008 14.3956 16.8883 14 16.5 14C16.1117 14 15.7992 14.3956 15.1742 15.1869L14 16.6735M16.5 14.0872V22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]],Nj=[["ellipse",{cx:"12",cy:"5",rx:"8",ry:"3",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 10.8418C7.60158 11.0226 8.27434 11.1716 9 11.2817",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 15C7.58172 15 4 13.6569 4 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M7 17.8418C7.60158 18.0226 8.27434 18.1716 9 18.2817",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M12 22C7.58172 22 4 20.6569 4 19V5M20 5V12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M20 19.3265L18.8258 20.8131C18.2008 21.6044 17.8883 22 17.5 22C17.1117 22 16.7992 21.6044 16.1742 20.8131L15 19.3265M17.5 21.9128V14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}]],Bj=[["path",{d:"M19.5 5.5L18.8803 15.5251C18.7219 18.0864 18.6428 19.3671 18.0008 20.2879C17.6833 20.7431 17.2747 21.1273 16.8007 21.416C15.8421 22 14.559 22 11.9927 22C9.42312 22 8.1383 22 7.17905 21.4149C6.7048 21.1257 6.296 20.7408 5.97868 20.2848C5.33688 19.3626 5.25945 18.0801 5.10461 15.5152L4.5 5.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 5.5H21M16.0557 5.5L15.3731 4.09173C14.9196 3.15626 14.6928 2.68852 14.3017 2.39681C14.215 2.3321 14.1231 2.27454 14.027 2.2247C13.5939 2 13.0741 2 12.0345 2C10.9688 2 10.436 2 9.99568 2.23412C9.8981 2.28601 9.80498 2.3459 9.71729 2.41317C9.32164 2.7167 9.10063 3.20155 8.65861 4.17126L8.05292 5.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M9.5 16.5L9.5 10.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M14.5 16.5L14.5 10.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}]],jj=[["path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.7102 10.0611C14.6111 9.29844 13.7354 8.06622 12.1608 8.06619C10.3312 8.06616 9.56136 9.07946 9.40515 9.58611C9.16145 10.2638 9.21019 11.6571 11.3547 11.809C14.0354 11.999 15.1093 12.3154 14.9727 13.956C14.836 15.5965 13.3417 15.951 12.1608 15.9129C10.9798 15.875 9.04764 15.3325 8.97266 13.8733M11.9734 6.99805V8.06982M11.9734 15.9031V16.998",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],zj=[["path",{d:"M2.99969 17.0002C2.99969 17.9302 2.99969 18.3952 3.10192 18.7767C3.37932 19.8119 4.18796 20.6206 5.22324 20.898C5.60474 21.0002 6.06972 21.0002 6.99969 21.0002L16.9997 21.0002C17.9297 21.0002 18.3947 21.0002 18.7762 20.898C19.8114 20.6206 20.6201 19.8119 20.8975 18.7767C20.9997 18.3952 20.9997 17.9302 20.9997 17.0002",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.4998 11.5002C16.4998 11.5002 13.1856 16.0002 11.9997 16.0002C10.8139 16.0002 7.49976 11.5002 7.49976 11.5002M11.9997 15.0002V3.00016",
1stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Vj=[["path",{d:"M3.78181 16.3092L3 21L7.69086 20.2182C8.50544 20.0825 9.25725 19.6956 9.84119 19.1116L20.4198 8.53288C21.1934 7.75922 21.1934 6.5049 20.4197 5.73126L18.2687 3.58024C17.495 2.80658 16.2406 2.80659 15.4669 3.58027L4.88841 14.159C4.30447 14.7429 3.91757 15.4947 3.78181 16.3092Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14 6L18 10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Hj=[["path",{d:"M14 8.5C14 5.73858 11.7614 3.5 9 3.5C6.23858 3.5 4 5.73858 4 8.5C4 11.2614 6.23858 13.5 9 13.5C11.7614 13.5 14 11.2614 14 8.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16 20.5C16 16.634 12.866 13.5 9 13.5C5.13401 13.5 2 16.634 2 20.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21.6887 7.93395L21.0661 7.31132C20.651 6.89623 19.978 6.89623 19.5629 7.31131L16.4211 10.564C16.151 10.8437 16 11.2173 16 11.6061V13H17.3939C17.7827 13 18.1563 12.849 18.436 12.5789L21.6887 9.43711C22.1038 9.02202 22.1038 8.34903 21.6887 7.93395Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Uj=[["path",{d:"M16.9767 19.5C19.4017 17.8876 21 15.1305 21 12C21 7.02944 16.9706 3 12 3C11.3126 3 10.6432 3.07706 10 3.22302M16.9767 19.5V16M16.9767 19.5H20.5M7 4.51555C4.58803 6.13007 3 8.87958 3 12C3 16.9706 7.02944 21 12 21C12.6874 21 13.3568 20.9229 14 20.777M7 4.51555V8M7 4.51555H3.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Wj=[["path",{d:"M8 17H16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 13H12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Gj=[["path",{d:"M4 12.0004L4 14.5446C4 17.7896 4 19.4121 4.88607 20.5111C5.06508 20.7331 5.26731 20.9354 5.48933 21.1144C6.58831 22.0004 8.21082 22.0004 11.4558 22.0004C12.1614 22.0004 12.5141 22.0004 12.8372 21.8864C12.9044 21.8627 12.9702 21.8354 13.0345 21.8047C13.3436 21.6569 13.593 21.4074 14.0919 20.9085L18.8284 16.172C19.4065 15.5939 19.6955 15.3049 19.8478 14.9374C20 14.5698 20 14.1611 20 13.3436V10.0004C20 6.22919 20 4.34358 18.8284 3.172C17.7693 2.11284 16.1265 2.01122 13.0345 2.00146M13 21.5004V21.0004C13 18.172 13 16.7578 13.8787 15.8791C14.7574 15.0004 16.1716 15.0004 19 15.0004H19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 8.23028V5.46105C4 3.54929 5.567 1.99951 7.5 1.99951C9.433 1.99951 11 3.54929 11 5.46105V9.26874C11 10.2246 10.2165 10.9995 9.25 10.9995C8.2835 10.9995 7.5 10.2246 7.5 9.26874V5.46105",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],qj=[["path",{d:"M13 20.8268V22H14.1734C14.5827 22 14.7874 22 14.9715 21.9238C15.1555 21.8475 15.3003 21.7028 15.5897 21.4134L20.4133 16.5894C20.6864 16.3164 20.8229 16.1799 20.8959 16.0327C21.0347 15.7525 21.0347 15.4236 20.8959 15.1434C20.8229 14.9961 20.6864 14.8596 20.4133 14.5866C20.1403 14.3136 20.0038 14.1771 19.8565 14.1041C19.5763 13.9653 19.2473 13.9653 18.9671 14.1041C18.8198 14.1771 18.6833 14.3136 18.4103 14.5866L18.4103 14.5866L13.5867 19.4106C13.2972 19.7 13.1525 19.8447 13.0762 20.0287C13 20.2128 13 20.4174 13 20.8268Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 11C19 11 19 9.4306 18.8478 9.06306C18.6955 8.69552 18.4065 8.40649 17.8284 7.82843L13.0919 3.09188C12.593 2.593 12.3436 2.34355 12.0345 2.19575C11.9702 2.165 11.9
1044 2.13772 11.8372 2.11401C11.5141 2 11.1614 2 10.4558 2C7.21082 2 5.58831 2 4.48933 2.88607C4.26731 3.06508 4.06508 3.26731 3.88607 3.48933C3 4.58831 3 6.21082 3 9.45584V14C3 17.7712 3 19.6569 4.17157 20.8284C5.23467 21.8915 6.8857 21.99 10 21.9991M12 2.5V3C12 5.82843 12 7.24264 12.8787 8.12132C13.7574 9 15.1716 9 18 9H18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Kj=[["path",{d:"M20 14V10.6569C20 9.83935 20 9.4306 19.8478 9.06306C19.6955 8.69552 19.4065 8.40649 18.8284 7.82843L14.0919 3.09188C13.593 2.593 13.3436 2.34355 13.0345 2.19575C12.9702 2.165 12.9044 2.13772 12.8372 2.11401C12.5141 2 12.1614 2 11.4558 2C8.21082 2 6.58831 2 5.48933 2.88607C5.26731 3.06508 5.06508 3.26731 4.88607 3.48933C4 4.58831 4 6.21082 4 9.45584V14C4 17.7712 4 19.6569 5.17157 20.8284C6.34315 22 8.22876 22 12 22M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 22C17.6068 21.4102 20 19.8403 20 19C20 18.1597 17.6068 16.5898 17 16M19 19H12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Yj=[["path",{d:"M3 4V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21 4V20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15.6216 9L16.5002 9.87868C17.5002 10.8787 18.0002 11.3787 18.0002 12C18.0002 12.6213 17.5002 13.1213 16.5002 14.1213L15.6216 15M8.37892 9L7.50024 9.87868C6.50024 10.8787 6.00024 11.3787 6.00024 12C6.00024 12.6213 6.50024 13.1213 7.50024 14.1213L8.37892 15M6.37892 12H17.6216",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Zj=[["path",{d:"M15.5 21C16.8956 21 17.5933 21 18.1611 20.8278C19.4395 20.44 20.44 19.4395 20.8278 18.1611C21 17.5933 21 16.8956 21 15.5M21 8.5C21 7.10444 21 6.40666 20.8278 5.83886C20.44 4.56046 19.4395 3.56004 18.1611 3.17224C17.5933 3 16.8956 3 15.5 3M8.5 21C7.10444 21 6.40666 21 5.83886 20.8278C4.56046 20.44 3.56004 19.4395 3.17224 18.1611C3 17.5933 3 16.8956 3 15.5M3 8.5C3 7.10444 3 6.40666 3.17224 5.83886C3.56004 4.56046 4.56046 3.56004 5.83886 3.17224C6.40666 3 7.10444 3 8.5 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Qj=[["path",{d:"M20.5137 12C20.5137 16.6944 16.7081 20.5 12.0137 20.5C7.31925 20.5 3.51367 16.6944 3.51367 12C3.51367 7.30558 7.31925 3.5 12.0137 3.5C16.7081 3.5 20.5137 7.30558 20.5137 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M22.5 12H20.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3.5 12H1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12 1.5L12 3.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M12 20.5V22.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M15 12C15 13.6569 13.6568 15 12 15C10.3431 15 8.99995 13.6569 8.99995 12C8.99995 10.3431 10.3431 9 12 9C13.6568 9 15 10.3431 15 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"5"}]],Xj=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.5 9.5C9.5 8.11929 10.6193 7 12 7C13.3807 7 14.5 8.11929 14.5 9.5C14.5 10.3569 14.0689 11.1131 13.4117 11.5636C12.7283 12.0319 12 12.6716 12 13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12.0001 17H12.009",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8",key:"2"}]],Jj=[["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 16V11.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 8.01172V8.00172",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8",key:"2"}]],ez=[["path",{d:"M8.64298 3.14559L6.93816 3.93362C4.31272 5.14719 3 5.75397 3 6.75C3 7.74603 4.31272 8.35281 6.93817 9.56638L8.64298 10.3544C10.2952 11.1181 11.1214 11.5 12 11.5C12.8786 11.5 13.7048 11.1181 15.357 10.3544L17.0618 9.56638C19.6873 8.35281 21 7.74603 21 6.75C21 5.75397 19.6873 5.14719 17.0618 3.93362L15.357 3.14559C13.7048 2.38186 12.8786 2 12 2C11.1214 2 10.2952 2.38186 8.64298 3.14559Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M20.788 11.0972C20.9293 11.2959 21 11.5031 21 11.7309C21 12.7127 19.6873 13.3109 17.0618 14.5072L15.357 15.284C13.7048 16.0368 12.8786 16.4133 12 16.4133C11.1214 16.4133 10.2952 16.0368 8.64298 15.284L6.93817 14.5072C4.31272 13.3109 3 12.7127 3 11.7309C3 11.5031 3.07067 11.2959 3.212 11.0972",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20.3767 16.2661C20.7922 16.5971 21 16.927 21 17.3176C21 18.2995 19.6873 18.8976 17.0618 20.0939L15.357 20.8707C13.7048 21.6236 12.8786 22 12 22C11.1214 22 10.2952 21.6236 8.64298 20.8707L6.93817 20.0939C4.31272 18.8976 3 18.2995 3 17.3176C3 16.927 3.20778 16.5971 3.62334 16.2661",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],tz=[["path",{d:"M20.1069 20.1088C18.7156 21.5001 16.4765 21.5001 11.9981 21.5001C7.51976 21.5001 5.28059 21.5001 3.88935 20.1088C2.49811 18.7176 2.49811 16.4784 2.49811 12.0001C2.49811 7.52172 2.49811 5.28255 3.88935 3.89131C5.28059 2.50006 7.51976 2.50006 11.9981 2.50006C16.4764 2.50006 18.7156 2.50006 20.1069 3.8913C21.4981 5.28255 21.4981 7.52172 21.4981 12.0001C21.4981 16.4784 21.4981 18.7176 20.1069 20.1088Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8.99811 21.5001L8.99811 2.50006",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M21.4981 8.00006L2.49811 8.00006",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M21.4981 16.0001H2.49811",stroke:"currentColor",strokeWidth:"1.5",key:"3"}]],nz=[["path",{d:"M8 5L20 5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 5H4.00898",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"1"}],["path",{d:"M4 12H4.00898",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"2"}],["path",{d:"M4 19H4.00898",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"3"}],["path",{d:"M8 12L20 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M8 19L20 19",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}]],rz=[["path",{d:"M10 13.229C10.1416 13.4609 10.3097 13.6804 10.5042 13.8828C11.7117 15.1395 13.5522 15.336 14.9576 14.4722C15.218 14.3121 15.4634 14.1157 15.6872 13.8828L18.9266 10.5114C20.3578 9.02184 20.3578 6.60676 18.9266 5.11718C17.4953 3.6276 15.1748 3.62761 13.7435 5.11718L13.03 5.85978",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10.9703 18.14L10.2565 18.8828C8.82526 20.3724 6.50471 20.3724 5.07345 18.8828C3.64218 17.3932 3.64218 14.9782 5.07345 13.4886L8.31287 10.1172C9.74413 8.62761 12.0647 8.6276 13.4959 10.1172C13.6904 10.3195 13.8584 10.539 14 10.7708",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],iz=[["path",{d:"M11.0991 3.00012C7.45013 3.00669 5.53932 3.09629 4.31817 4.31764C3.00034 5.63568 3.00034 7.75704 3.00034 11.9997C3.00034 16.2424 3.00034 18.3638 4.31817 19.6818C5.63599 20.9999 7.75701 20.9999 11.9991 20.9999C16.241 20.9999 18.3621 20.9999 19.6799 19.6818C20.901 18.4605 20.9906 16.5493 20.9972 12.8998",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}
1],["path",{d:"M20.556 3.49612L11.0487 13.0586M20.556 3.49612C20.062 3.00151 16.7343 3.04761 16.0308 3.05762M20.556 3.49612C21.05 3.99074 21.0039 7.32273 20.9939 8.02714",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],oz=[["path",{d:"M2 11.4C2 10.2417 2.24173 10 3.4 10H20.6C21.7583 10 22 10.2417 22 11.4V12.6C22 13.7583 21.7583 14 20.6 14H3.4C2.24173 14 2 13.7583 2 12.6V11.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2 3.4C2 2.24173 2.24173 2 3.4 2H20.6C21.7583 2 22 2.24173 22 3.4V4.6C22 5.75827 21.7583 6 20.6 6H3.4C2.24173 6 2 5.75827 2 4.6V3.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M2 19.4C2 18.2417 2.24173 18 3.4 18H20.6C21.7583 18 22 18.2417 22 19.4V20.6C22 21.7583 21.7583 22 20.6 22H3.4C2.24173 22 2 21.7583 2 20.6V19.4Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]],az=[["path",{d:"M12 3V6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 18V21",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 12L18 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6 12L3 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M18.3635 5.63672L16.2422 7.75804",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M7.75804 16.2422L5.63672 18.3635",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M18.3635 18.3635L16.2422 16.2422",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}],["path",{d:"M7.75804 7.75804L5.63672 5.63672",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"7"}]],sz=[["path",{d:"M14.5 9C14.5 10.3807 13.3807 11.5 12 11.5C10.6193 11.5 9.5 10.3807 9.5 9C9.5 7.61929 10.6193 6.5 12 6.5C13.3807 6.5 14.5 7.61929 14.5 9Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M18.2222 17C19.6167 18.9885 20.2838 20.0475 19.8865 20.8999C19.8466 20.9854 19.7999 21.0679 19.7469 21.1467C19.1724 22 17.6875 22 14.7178 22H9.28223C6.31251 22 4.82765 22 4.25311 21.1467C4.20005 21.0679 4.15339 20.9854 4.11355 20.8999C3.71619 20.0475 4.38326 18.9885 5.77778 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M13.2574 17.4936C12.9201 17.8184 12.4693 18 12.0002 18C11.531 18 11.0802 17.8184 10.7429 17.4936C7.6543 14.5008 3.51519 11.1575 5.53371 6.30373C6.6251 3.67932 9.24494 2 12.0002 2C14.7554 2 17.3752 3.67933 18.4666 6.30373C20.4826 11.1514 16.3536 14.5111 13.2574 17.4936Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}]],lz=[["path",{d:"M15.5 11C15.5 12.933 13.933 14.5 12 14.5C10.067 14.5 8.5 12.933 8.5 11C8.5 9.067 10.067 7.5 12 7.5C13.933 7.5 15.5 9.067 15.5 11Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 2C16.8706 2 21 6.03298 21 10.9258C21 15.8965 16.8033 19.3847 12.927 21.7567C12.6445 21.9162 12.325 22 12 22C11.675 22 11.3555 21.9162 11.073 21.7567C7.2039 19.3616 3 15.9137 3 10.9258C3 6.03298 7.12944 2 12 2Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],cz=[["path",{d:"M12.8083 16.6835C12.5915 16.8865 12.3017 17 12.0001 17C11.6985 17 11.4087 16.8865 11.1919 16.6835C9.20634 14.813 6.54548 12.7235 7.8431 9.68983C8.54471 8.04958 10.2289 7 12.0001 7C13.7713 7 15.4555 8.04958 16.1571 9.68983C17.4531 12.7196 14.7988 14.8194 12.8083 16.6835Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 11.5H12.009",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"1"}],["path",{d:"M20 11L22 12C22 6.47715 17.5228 2 12 2C7.89936 2 4.3752 4.46819 2.83209 8M4 13L2 12C2 17.5228 6.47715 22 12 22C16.1006 22 19.6248 19.5318 21.1679 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],uz=[["path",{d:"M4.39267 4.00087C4 4.61597 4 5.41166 4 7.00304V16.997C4 18.5883 4 19.384 4.39267 19.9991C4.46279 20.109 4.5414 20.2132 4.62777 20.3108C5.11144 20.8572 5.87666 21.0758 7.4071 21.513C8.9414 21.9513 9.70856 22.1704 10.264 21.8417C10.3604 21.7847 10.45 21.7171 10.5313 21.6402C11 21.1965 11 20.3988 11 18.8034V5.19662C11 3.60122
111 2.80351 10.5313 2.35982C10.45 2.28288 10.3604 2.21527 10.264 2.15827C9.70856 1.82956 8.9414 2.0487 7.4071 2.48699C5.87666 2.92418 5.11144 3.14278 4.62777 3.68925C4.5414 3.78684 4.46279 3.89103 4.39267 4.00087Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11 4H13.0171C14.9188 4 15.8696 4 16.4604 4.58579C16.7898 4.91238 16.9355 5.34994 17 6M11 20H13.0171C14.9188 20 15.8696 20 16.4604 19.4142C16.7898 19.0876 16.9355 18.6501 17 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 12H14M19.5 9.49994C19.5 9.49994 22 11.3412 22 12C22 12.6588 19.5 14.4999 19.5 14.4999",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],dz=[["path",{d:"M2 6L8.91302 9.91697C11.4616 11.361 12.5384 11.361 15.087 9.91697L22 6",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.01577 13.4756C2.08114 16.5412 2.11383 18.0739 3.24496 19.2094C4.37608 20.3448 5.95033 20.3843 9.09883 20.4634C11.0393 20.5122 12.9607 20.5122 14.9012 20.4634C18.0497 20.3843 19.6239 20.3448 20.7551 19.2094C21.8862 18.0739 21.9189 16.5412 21.9842 13.4756C22.0053 12.4899 22.0053 11.5101 21.9842 10.5244C21.9189 7.45886 21.8862 5.92609 20.7551 4.79066C19.6239 3.65523 18.0497 3.61568 14.9012 3.53657C12.9607 3.48781 11.0393 3.48781 9.09882 3.53656C5.95033 3.61566 4.37608 3.65521 3.24495 4.79065C2.11382 5.92608 2.08114 7.45885 2.01576 10.5244C1.99474 11.5101 1.99475 12.4899 2.01577 13.4756Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],hz=[["path",{d:"M22 10V9.21749C22 7.27787 22 6.30807 21.4142 5.7055C20.8284 5.10294 19.8856 5.10294 18 5.10294H15.9214C15.004 5.10294 14.9964 5.10116 14.1715 4.68834L10.8399 3.02114C9.44884 2.32504 8.75332 1.97699 8.01238 2.00118C7.27143 2.02537 6.59877 2.41808 5.25345 3.20351L4.02558 3.92037C3.03739 4.49729 2.54329 4.78576 2.27164 5.26564C2 5.74553 2 6.32993 2 7.49873V15.7157C2 17.2514 2 18.0193 2.34226 18.4467C2.57001 18.731 2.88916 18.9222 3.242 18.9856C3.77226 19.0808 4.42148 18.7018 5.71987 17.9437C6.60156 17.429 7.45011 16.8944 8.50487 17.0394C9.38869 17.1608 10.21 17.7185 11 18.1138",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 2L8 17",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15 5V9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18.3083 21.6835C18.0915 21.8865 17.8017 22 17.5001 22C17.1985 22 16.9087 21.8865 16.6919 21.6835C14.7063 19.813 12.0455 17.7235 13.3431 14.6898C14.0447 13.0496 15.7289 12 17.5001 12C19.2713 12 20.9555 13.0496 21.6571 14.6898C22.9531 17.7196 20.2988 19.8194 18.3083 21.6835Z",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M17.5 16.5H17.509",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"4"}]],fz=[["path",{d:"M22 10.5V9.71749C22 7.77787 22 6.80807 21.4142 6.2055C20.8284 5.60294 19.8856 5.60294 18 5.60294H15.9214C15.004 5.60294 14.9964 5.60116 14.1715 5.18834L10.8399 3.52114C9.44884 2.82504 8.75332 2.47699 8.01238 2.50118C7.27143 2.52537 6.59877 2.91808 5.25345 3.70351L4.02558 4.42037C3.03739 4.99729 2.54329 5.28576 2.27164 5.76564C2 6.24553 2 6.82993 2 7.99873V16.2157C2 17.7514 2 18.5193 2.34226 18.9467C2.57001 19.231 2.88916 19.4222 3.242 19.4856C3.77226 19.5808 4.42148 19.2018 5.71987 18.4437C6.60156 17.929 7.45011 17.3944 8.50487 17.5394C9.38869 17.6608 10.21 18.2185 11 18.6138",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M8 2.5L8 17.5",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15 5.5V9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M17.5 12C19.9353 12 22 14.0165 22 16.4629C22 18.9482 19.9017 20.6924 17.9635 21.8783C17.8223 21.9581 17.6625 22 17.5 22C17.3375 22 17.1777 21.9581 17.0365 21.8783C15.1019 20.6808 13 18.9568 13 16.4629C13 14.0165 15.0647 12 17.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M17.5 16.5H17.509",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"4"}]],pz=[["path",{d:"M17 7V11C17 13.7614 14.7614 16 12 16C9.23858 16 7 13.7614 7 11V7C7 4.23858 9.23858 2 12 2C14.7614 2 17 4.23858 17 7Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M20 11C20 15.4183 16.4183 19 12 19M12 19C7.58172 19 4 15.4183 4 11M12 19V22M12 22H15M12 22H9",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],mz=[["path",{d:"M2 2L22 22",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 11C4 15.4183 7.58172 19 12 19M12 19C13.9545 19 15.7454 18.2991 17.1348 17.1348M12 19V22M12 22H15M12 22H9M20 11C20 12.6514 19.4996 14.1859 18.6422 15.4603",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M7 6.98V11C7 13.7614 9.23858 16 12 16C13.1354 16 14.1647 15.6096 15.004 14.972M16.4387 13.244C16.7973 12.5545 17 11.8309 17 11V6.98C17 4.21858 14.7614 2 12 2C10.1312 2 8.53009 2.96527 7.672 4.484",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}]],gz=[["path",{d:"M20 12L4 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],vz=[["path",{d:"M21.5 14.0784C20.3003 14.7189 18.9301 15.0821 17.4751 15.0821C12.7491 15.0821 8.91792 11.2509 8.91792 6.52485C8.91792 5.06986 9.28
1105 3.69968 9.92163 2.5C5.66765 3.49698 2.5 7.31513 2.5 11.8731C2.5 17.1899 6.8101 21.5 12.1269 21.5C16.6849 21.5 20.503 18.3324 21.5 14.0784Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],yz=[["path",{d:"M11.9959 12H12.0049",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",key:"0"}],["path",{d:"M17.9998 12H18.0088",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",key:"1"}],["path",{d:"M5.99981 12H6.00879",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",key:"2"}]],bz=[["path",{d:"M11.992 12H12.001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",key:"0"}],["path",{d:"M11.9842 18H11.9932",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",key:"1"}],["path",{d:"M11.9998 6H12.0088",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",key:"2"}]],Cz=[["path",{d:"M12 3.00006V9.00006",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 12.0001H9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 12.0001H15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M12 21.0001V14.5001",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M9 6L10.705 4.04824C11.3155 3.34941 11.6207 3 12 3C12.3793 3 12.6845 3.34941 13.295 4.04824L15 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M15 18L13.295 19.9518C12.6845 20.6506 12.3793 21 12 21C11.6207 21 11.3155 20.6506 10.705 19.9518L9 18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M18 9L19.9518 10.705C20.6506 11.3155 21 11.6207 21 12C21 12.3793 20.6506 12.6845 19.9518 13.295L18 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"6"}
1],["path",{d:"M6 15L4.04824 13.295C3.34941 12.6845 3 12.3793 3 12C3 11.6207 3.34941 11.3155 4.04824 10.705L6 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"7"}]],wz=[["path",{d:"M11.922 4.79004C16.6963 3.16245 19.0834 2.34866 20.3674 3.63261C21.6513 4.91656 20.8375 7.30371 19.21 12.078L18.1016 15.3292C16.8517 18.9958 16.2267 20.8291 15.1964 20.9808C14.9195 21.0216 14.6328 20.9971 14.3587 20.9091C13.3395 20.5819 12.8007 18.6489 11.7231 14.783C11.4841 13.9255 11.3646 13.4967 11.0924 13.1692C11.0134 13.0742 10.9258 12.9866 10.8308 12.9076C10.5033 12.6354 10.0745 12.5159 9.21705 12.2769C5.35111 11.1993 3.41814 10.6605 3.0909 9.64127C3.00292 9.36724 2.97837 9.08053 3.01916 8.80355C3.17088 7.77332 5.00419 7.14834 8.6708 5.89838L11.922 4.79004Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}]],Ez=[["path",{d:"M15.5 2V5M6.5 2V5M11 2V5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 12V10.5C19 7.20017 19 5.55025 17.9749 4.52512C16.9497 3.5 15.2998 3.5 12 3.5H10C6.70017 3.5 5.05025 3.5 4.02513 4.52513C3 5.55025 3 7.20017 3 10.5V15C3 18.2998 3 19.9497 4.02513 20.9749C5.05025 22 6.70017 22 10 22H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M7 15H11M7 11H15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M15.7367 21.6527L14 22L14.3473 20.2633C14.4179 19.9106 14.5913 19.5866 14.8456 19.3323L18.9111 15.2668C19.2668 14.9111 19.8437 14.9111 20.1995 15.2668L20.7332 15.8005C21.0889 16.1563 21.0889 16.7332 20.7332 17.0889L16.6677 21.1544C16.4134 21.4087 16.0894 21.5821 15.7367 21.6527Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],kz=[["path",{d:"M22 14V10C22 6.22876 22 4.34315 20.8284 3.17157C19.6569 2 17.7712 2 14 2H12C8.22876 2 6.34315 2 5.17157 3.17157C4 4.34315 4 6.22876 4 10V14C4 17.7712 4 19.6569 5.17157 20.8284C6.34315 22 8.22876 22 12 22H14C17.7712 22 19.6569 22 20.8284 20.8284C22 19.6569 22 17.7712 22 14Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M5 6L2 6M5 12H2M5 18H2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M17.5 7L13.5 7M15.5 11H13.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M9 22L9 2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],Sz=[["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C12.8417 22 14 22.1163 14 21C14 20.391 13.6832 19.9212 13.3686 19.4544C12.9082 18.7715 12.4523 18.0953 13 17C13.6667 15.6667 14.7778 15.6667 16.4815 15.6667C17.3334 15.6667 18.3334 15.6667 19.5 15.5C21.601 15.1999 22 13.9084 22 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 15.002L7.00868 14.9996",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"1"}],["circle",{cx:"9.5",cy:"8.5",r:"1.5",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["circle",{cx:"16.5",cy:"9.5",r:"1.5",stroke:"currentColor",strokeWidth:"1.5",key:"3"}]],xz=[["path",{d:"M20 13V10.6569C20 9.83935 20 9.4306 19.8478 9.06306C19.6955 8.69552 19.4065 8.40649 18.8284 7.82843L14.0919 3.09188C13.593 2.593 13.3436 2.34355 13.0345 2.19575C12.9702 2.165 12.9044 2.13772 12.8372 2.11401C12.5141 2 12.1614 2 11.4558 2C8.21082 2 6.58831 2 5.48933 2.88607C5.26731 3.06508 5.06508 3.26731 4.88607 3.48933C4 4.58831 4 6.21082 4 9.45584V13M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19.75 16H17.25C16.6977 16 16.25 16.4477 16.25 17V19M16.25 19V22M16.25 19H19.25M4.25 22V19.5M4.25 19.5V16H6C6.9665 16 7.75 16.7835 7.75 17.75C7.75 18.7165 6.9665 19.5 6 19.5H4.25ZM10.25 16H11.75C12.8546 16 13.75 16.8954 13.75 18V20C13.75 21.1046 12.8546 22 11.75 22H10.25V16Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Tz=[["path",{d:"M19 11C19 10.1825 19 9.4306 18.8478 9.06306C18.6955 8.69552 18.4065 8.40649 17.8284 7.82843L13.0919 3.09188C12.593 2.593 12.3436 2.34355 12.0345 2.19575C11.9702 2.165 11.9
1044 2.13772 11.8372 2.11401C11.5141 2 11.1614 2 10.4558 2C7.21082 2 5.58831 2 4.48933 2.88607C4.26731 3.06508 4.06508 3.26731 3.88607 3.48933C3 4.58831 3 6.21082 3 9.45584V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H19M12 2.5V3C12 5.82843 12 7.24264 12.8787 8.12132C13.7574 9 15.1716 9 18 9H18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M21 14H19C18.4477 14 18 14.4477 18 15V16.5M18 16.5V19M18 16.5H20.5M7 19V17M7 17V14H8.5C9.32843 14 10 14.6716 10 15.5C10 16.3284 9.32843 17 8.5 17H7ZM12.5 14H13.7857C14.7325 14 15.5 14.7462 15.5 15.6667V17.3333C15.5 18.2538 14.7325 19 13.7857 19H12.5V14Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Mz=[["path",{d:"M12 8V16M16 12H8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],Az=[["path",{d:"M12 4V20M20 12H4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Lz=[["path",{d:"M4.26759 4.32782C5.95399 3.02741 8.57337 2 12 2C15.4266 2 18.046 3.02741 19.7324 4.32782C19.9693 4.51048 20.0877 4.60181 20.1849 4.76366C20.2665 4.89952 20.3252 5.10558 20.3275 5.26404C20.3302 5.4528 20.2672 5.62069 20.1413 5.95648C19.8305 6.78539 19.6751 7.19984 19.6122 7.61031C19.533 8.12803 19.5322 8.25474 19.6053 8.77338C19.6632 9.18457 19.9795 10.0598 20.6121 11.8103C20.844 12.452 21 13.1792 21 14C21 17 18.5 19.375 16 20C13.8082 20.548 12.6667 21.3333 12 22C11.3333 21.3333 10.1918 20.548 8 20C5.5 19.375 3 17 3 14C3 13.1792 3.15595 12.452 3.38785 11.8103C4.0205 10.0598 4.33682 9.18457 4.39473 8.77338C4.46777 8.25474 4.46702 8.12803 4.38777 7.61031C4.32494 7.19984 4.16952 6.78539 3.85868 5.95648C3.73276 5.62069 3.6698 5.4528 3.67252 5.26404C3.6748 5.10558 3.73351 4.89952 3.81509 4.76366C3.91227 4.60181 4.03071 4.51048 4.26759 4.32782Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.6911 7.57767L13.395 8.99715C13.491 9.19475 13.7469 9.38428 13.9629 9.42057L15.2388 9.6343C16.0547 9.77141 16.2467 10.3682 15.6587 10.957L14.6668 11.9571C14.4989 12.1265 14.4069 12.4531 14.4589 12.687L14.7428 13.925C14.9668 14.9049 14.4509 15.284 13.591 14.7718L12.3951 14.0581C12.1791 13.929 11.8232 13.929 11.6032 14.0581L10.4073 14.7718C9.5514 15.284 9.03146 14.9009 9.25543 13.925L9.5394 12.687C9.5914 12.4531 9.49941 12.1265 9.33143 11.9571L8.33954 10.957C7.7556 10.3682 7.94358 9.77141 8.75949 9.6343L10.0353 9.42057C10.2473 9.38428 10.5033 9.19475 10.5993 8.99715L11.3032 7.57767C11.6872 6.80744 12.3111 6.80744 12.6911 7.57767Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Pz=[["path",{d:"M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M11 7L17 7",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M7 7L8 7",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M7 12L8 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M7 17L8 17",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M11 12L17 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M11 17L17 17",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}]],Rz=[["path",{d:"M8.99396 2C6.19709 2.06395 4.56347 2.33111 3.44729 3.44729C2.33111 4.56347 2.06395 6.19709 2 8.99396M15.006 2C17.8029 2.06395 19.4365 2.33111 20.5527 3.44729C21.6689 4.56347 21.9361 6.19709 22 8.99396M15.006 22C17.8029 21.9361 19.4365 21.6689 20.5527 20.5527C21.6689 19.4365 21.9361 17.8029 22 15.006M8.99396 22C6.19709 21.9361 4.56347 21.6689 3.44729 20.5527C2.33111 19.4365 2.06395 17.8029 2 15.006",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.9998 7H17.0088",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"1"}],["path",{d:"M13 6V9C13 10.8856 13 11.8284 12.4142 12.4142C11.8284 13 10.8856 13 9 13H6",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6.29289 6.29289C6 6.58579 6 7.05719 6 8C6 8.94281 6 9.41421 6.29289 9.70711M6.29289 6.29289C6.58579 6 7.05719 6 8 6C8.94281 6 9.41421 6 9.70711 6.29289M6.29289 6.29289C6.29289 6.29289 6.29289 6.29289 6.29289 6.29289ZM6.29289 9.70711C6.58579 10 7.05719 10 8 10C8.94281 10 9.41421 10 9.70711 9.70711M6.29289 9.70711C6.29289 9.70711 6.29289 9.70711 6.29289 9.70711ZM9.70711 9.70711C10 9.41421 10 8.94281 10 8C10 7.05719 10 6.58579 9.70711 6.29289M9.70711 9.70711C9.70711 9.70711 9.70711 9.70711 9.70711 9.70711ZM9.70711 6.29289C9.70711 6.29289 9.70711 6.29289 9.70711 6.29289Z",stroke:"currentColor",strokeWidth:"1.5",key:"3"}],["path",{d:"M17 15C17.4714 15 17.7071 15 17.8536 15.1464C18 15.2929 18 15.5286 18 16V17C18 17.4714 18 17.7071 17.8536 17.8536C17.7071 18 17.4714 18 17 18H15C14.5286 18 14.2929 18 14.1464 17.8536C14 17.7071 14 17.4714 14 17L14 16C14 15.5286 14 15.2929 14.1464 15.1464C14.2929 15 14.5286 15 15 15L17 15Z",stroke:"currentColor",strokeWidth:"1.5",key:"4"}],["path",{d:"M6 18H11",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M17 10L17 12",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"6"}]],Oz=[["path",{d:"M12 7.5H13.5C14.3284 7.5 15 8.17157 15 9M12 7.5H10.5C9.67157 7.5 9 8.17157 9 9V9.5C9 10.3284 9.67157 11 10.5 11H13.5C14.3284 11 15 11.6716 15 12.5V13C15 13.8284 14.3284 14.5 13.5 14.5H12M12 7.5V6M12 14.5H10.5C9.67157 14.5 9 13.8284 9 13M12 14.5V16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}
1],["path",{d:"M10.94 21.5124L9.02913 20.3073C8.54415 20.0014 8.30166 19.8485 8.03253 19.8397C7.74172 19.8301 7.49493 19.9768 6.97087 20.3073C6.38395 20.6774 5.21687 21.6971 4.46195 21.2108C4 20.9133 4 20.1575 4 18.6458V8.00002C4 5.17158 4 3.75736 4.82699 2.87868C5.65399 2 6.98501 2 9.64706 2H14.3529C17.015 2 18.346 2 19.173 2.87868C20 3.75736 20 5.17158 20 8.00002V18.6458C20 20.1575 20 20.9133 19.538 21.2108C18.7831 21.6971 17.6161 20.6774 17.0291 20.3073C16.5441 20.0014 16.3017 19.8485 16.0325 19.8397C15.7417 19.8301 15.4949 19.9768 14.9709 20.3073L13.06 21.5124C12.5445 21.8374 12.2868 22 12 22C11.7132 22 11.4554 21.8374 10.94 21.5124Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Dz=[["path",{d:"M20.0092 2V5.13219C20.0092 5.42605 19.6418 5.55908 19.4537 5.33333C17.6226 3.2875 14.9617 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Iz=[["path",{d:"M15.1667 0.999756L15.7646 2.11753C16.1689 2.87322 16.371 3.25107 16.2374 3.41289C16.1037 3.57471 15.6635 3.44402 14.7831 3.18264C13.9029 2.92131 12.9684 2.78071 12 2.78071C6.75329 2.78071 2.5 6.90822 2.5 11.9998C2.5 13.6789 2.96262 15.2533 3.77093 16.6093M8.83333 22.9998L8.23536 21.882C7.83108 21.1263 7.62894 20.7484 7.7626 20.5866C7.89627 20.4248 8.33649 20.5555 9.21689 20.8169C10.0971 21.0782 11.0316 21.2188 12 21.2188C17.2467 21.2188 21.5 17.0913 21.5 11.9998C21.5 10.3206 21.0374 8.74623 20.2291 7.39023",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],_z=[["path",{d:"M21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C6.75334 21.5 2.5 17.2467 2.5 12C2.5 6.75329 6.75334 2.5 12 2.5C15.8956 2.5 19.2436 4.84478 20.7095 8.2M21.5 5.5L21.025 8.675L18 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M10 11V9.5C10 8.39543 10.8954 7.5 12 7.5C13.1046 7.5 14 8.39543 14 9.5V11M11.25 16.5H12.75C13.9228 16.5 14.5092 16.5 14.9131 16.19C15.0171 16.1102 15.1102 16.0171 15.19 15.9131C15.5 15.5092 15.5 14.9228 15.5 13.75C15.5 12.5772 15.5 11.9908 15.19 11.5869C15.1102 11.4829 15.0171 11.3898 14.9131 11.31C14.5092 11 13.9228 11 12.75 11H11.25C10.0772 11 9.49082 11 9.08686 11.31C8.98286 11.3898 8.88977 11.4829 8.80997 11.5869C8.5 11.9908 8.5 12.5772 8.5 13.75C8.5 14.9228 8.5 15.5092 8.80997 15.9131C8.88977 16.0171 8.98286 16.1102 9.08686 16.19C9.49082 16.5 10.0772 16.5 11.25 16.5Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Fz=[["path",{d:"M20.8284 5.17157C19.6569 4 17.7712 4 14 4L10 4C6.22877 4 4.34315 4 3.17157 5.17157M20.8284 5.17157C22 6.34315 22 8.22876 22 12C22 15.7712 22 17.6569 20.8284 18.8284M20.8284 5.17157C20.8284 5.17157 20.8284 5.17157 20.8284 5.17157ZM3.17157 5.17157C2 6.34315 2 8.22876 2 12C2 15.7712 2 17.6569 3.17157 18.8284M3.17157 5.17157C3.17157 5.17157 3.17157 5.17157 3.17157 5.17157ZM3.17157 18.8284C4.34315 20 6.22876 20 10 20H14C17.7712 20 19.6569 20 20.8284 18.8284M3.17157 18.8284C3.17157 18.8284 3.17157 18.8284 3.17157 18.8284ZM20.8284 18.8284C20.8284 18.8284 20.8284 18.8284 20.8284 18.8284Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M13 12L11 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18.5 12L16.5 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M7.5 12L5.5 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],$z=[["path",{d:"M4 2V5.13219C4 5.42605 4.36724 5.55908 4.55527 5.33333C6.3854 3.2875 9.04499 2 12.0051 2C17.5251 2 22 6.47715 22 12C22 15.9582 19.7015 19.3793 16.367 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.7347 22.0001C12.2016 22.0001 12.6611 21.9688 13.1111 21.9084M2.26537 8.66675C2.15297 9.06394 2.06477 9.46536 2 9.86901M2.03457 13.5381C2.10487 13.9381 2.19644 14.3343 2.30852 14.7245M3.83292 17.9963C4.07124 18.3497 4.3296 18.69 4.6071 19.0147M7.42857 21.3607C7.78228 21.5632 8.15042 21.7464 8.53228 21.9084",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Nz=[["path",{d:"M13.5 19H13.51",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"0"}],["path",{d:"M7 17C7 19.357 7 20.5355 7.73223 21.2678C8.46447 22 9.64298 22 12 22H15C17.357 22 18.5355 22 19.2678 21.2678C20 20.5355 20 19.357 20 17V7C20 4.64298 20 3.46447 19.2678 2.73223C18.5355 2 17.357 2 15 2H12C9.64298 2 8.46447 2 7.73223 2.73223C7.11182 3.35264 7.01708 4.29344 7.00261 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M6 9H11V14M10.5 9.5L4 16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Bz=[["path",{d:"M17 17L21 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],jz=[["path",{d:"M21.0477 3.05293C18.8697 0.707363 2.48648 6.4532 2.50001 8.551C2.51535 10.9299 8.89809 11.6617 10.6672 12.1581C11.7311 12.4565 12.016 12.7625 12.2613 13.8781C13.3723 18.9305 13.9301 21.4435 15.2014 21.4996C17.2278 21.5892 23.1733 5.342 21.0477 3.05293Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.5 12.5L15 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],zz=[["path",{d:"M9.588 19.68C9.192 20.04 8.7831 20.4841 8.616 20.5066C8.4489 20.5291 8.2745 20.4234 7.9023 20.2121L6 19.14C5.52 18.9 5.496 18.72 5.496 18.66C5.496 18.6 5.496 18.346 5.652 17.8244C6.15179 15.9 4.98 13.86 2.989 13.3399C2.4671 13.1992 2.2062 13.1288 2.1031 12.9942C2 12.8597 2 12.6432 2 12.2103V10.2868C2 9.85391 2 9.63741 2.1031 9.50281C2.2062 9.36831 2.4671 9.29791 2.989 9.15721C4.9397 8.63124 6.1614 6.64936 5.6582 4.71166C5.5199 4.17873 5.4507 3.91226 5.5168 3.75601C5.5829 3.59977 5.7725 3.49209 6.1518 3.27673L7.8765 2.29749C8.2488 2.08615 8.4349 1.98048 8.6019 2.00298C8.769 2.02549 8.9574 2.21349 9.3343 2.5895C10.7936 4.04528 13.208 4.04534 14.6672 2.58959C15.0442 2.21359 15.2326 2.02558 15.3996 2.00308C15.5667 1.98058 15.7528 2.08625 16.1251 2.29759L17.8498 3.27682C18.2291 3.4922 18.4187 3.59988 18.4848 3.75615C18.5509 3.91242 18.4817 4.17885 18.3433 4.71173C17.8399 6.64937 19.0606 8.64201 21.011 9.168C21.5329 9.30872 21.7938 9.3814 21.8969 9.516C22 9.6505 22 10.0791 22 10.512",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15 17.22C15 17.22 16 17.504 16.5 18.504C16.5 18.504 17.5962 16.004 19.008 15.504",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M22 17C22 19.7614 19.7614 22 17 22C14.2386 22 12 19.7614 12 17C12 14.2386 14.2386 12 17 12C19.7614 12 22 14.2386 22 17Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M14.8795 9.2998C14.0995 8.2198 12.9235 7.7998 11.9635 7.7998C10.1635 7.82381 8.51953 9.3108 8.51953 11.2438C8.51953 12.3095 8.81953 13.0798 9.65953 13.9198",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"3"}]],Vz=[["path",{d:"M21.3175 7.14139L20.8239 6.28479C20.4506 5.63696 20.264 5.31305 19.9464 5.18388C19.6288 5.05472 19.2696 5.15664 18.5513 5.36048L17.3311 5.70418C16.8725 5.80994 16.3913 5.74994 15.9726 5.53479L15.6357 5.34042C15.2766 5.11043 15.0004 4.77133 14.8475 4.37274L14.5136 3.37536C14.294 2.71534 14.1842 2.38533 13.9228 2.19657C13.6615 2.00781 13.3143 2.00781 12.6199 2.00781H11.5051C10.8108 2.00781 10.4636 2.00781 10.2022 2.19657C9.94085 2.38533 9.83106 2.71534 9.61149 3.37536L9.27753 4.37274C9.12465 4.77133 8.84845 5.11043 8.48937 5.34042L8.15249 5.53479C7.73374 5.74994 7.25259 5.80994 6.79398 5.70418L5.57375 5.36048C4.85541 5.15664 4.49625 5.05472 4.17867 5.18388C3.86109 5.31305 3.67445 5.63696 3.30115 6.28479L2.80757 7.14139C2.45766 7.74864 2.2827 8.05227 2.31666 8.37549C2.35061 8.69871 2.58483 8.95918 3.05326 9.48012L4.0843 10.6328C4.3363 10.9518 4.51521 11.5078 4.51521 12.0077C4.51521 12.5078 4.33636 13.0636 4.08433 13.3827L3.05326 14.5354C2.58483 15.0564 2.35062 15.3168 2.31666 15.6401C2.2827 15.9633 2.45766 16.2669 2.80757 16.8741L3.3
10114 17.7307C3.67443 18.3785 3.86109 18.7025 4.17867 18.8316C4.49625 18.9608 4.85542 18.8589 5.57377 18.655L6.79394 18.3113C7.25263 18.2055 7.73387 18.2656 8.15267 18.4808L8.4895 18.6752C8.84851 18.9052 9.12464 19.2442 9.2775 19.6428L9.61149 20.6403C9.83106 21.3003 9.94085 21.6303 10.2022 21.8191C10.4636 22.0078 10.8108 22.0078 11.5051 22.0078H12.6199C13.3143 22.0078 13.6615 22.0078 13.9228 21.8191C14.1842 21.6303 14.294 21.3003 14.5136 20.6403L14.8476 19.6428C15.0004 19.2442 15.2765 18.9052 15.6356 18.6752L15.9724 18.4808C16.3912 18.2656 16.8724 18.2055 17.3311 18.3113L18.5513 18.655C19.2696 18.8589 19.6288 18.9608 19.9464 18.8316C20.264 18.7025 20.4506 18.3785 20.8239 17.7307L21.3175 16.8741C21.6674 16.2669 21.8423 15.9633 21.8084 15.6401C21.7744 15.3168 21.5402 15.0564 21.0718 14.5354L20.0407 13.3827C19.7887 13.0636 19.6098 12.5078 19.6098 12.0077C19.6098 11.5078 19.7888 10.9518 20.0407 10.6328L21.0718 9.48012C21.5402 8.95918 21.7744 8.69871 21.8084 8.37549C21.8423 8.05227 21.6674 7.74864 21.3175 7.14139Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15.5195 12C15.5195 13.933 13.9525 15.5 12.0195 15.5C10.0865 15.5 8.51953 13.933 8.51953 12C8.51953 10.067 10.0865 8.5 12.0195 8.5C13.9525 8.5 15.5195 10.067 15.5195 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],Hz=[["path",{d:"M15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M21.011 14.0965C21.5329 13.9558 21.7939 13.8854 21.8969 13.7508C22 13.6163 22 13.3998 22 12.9669V11.0332C22 10.6003 22 10.3838 21.8969 10.2493C21.7938 10.1147 21.5329 10.0443 21.011 9.90358C19.0606 9.37759 17.8399 7.33851 18.3433 5.40087C18.4817 4.86799 18.5509 4.60156 18.4848 4.44529C18.4187 4.28902 18.2291 4.18134 17.8497 3.96596L16.125 2.98673C15.7528 2.77539 15.5667 2.66972 15.3997 2.69222C15.2326 2.71472 15.0442 2.90273 14.6672 3.27873C13.208 4.73448 10.7936 4.73442 9.33434 3.27864C8.95743 2.90263 8.76898 2.71463 8.60193 2.69212C8.43489 2.66962 8.24877 2.77529 7.87653 2.98663L6.15184 3.96587C5.77253 4.18123 5.58287 4.28891 5.51678 4.44515C5.45068 4.6014 5.51987 4.86787 5.65825 5.4008C6.16137 7.3385 4.93972 9.37763 2.98902 9.9036C2.46712 10.0443 2.20617 10.1147 2.10308 10.2492C2 10.3838 2 10.6003 2 11.0332V12.9669C2 13.3998 2 13.6163 2.10308 13.7508C2.20615 13.8854 2.46711 13.9558 2.98902 14.0965C4.9394 14.6225 6.16008 16.6616 5.65672 18.5992C5.51829 19.1321 5.44907 19.3985 5.51516 19.5548C5.58126 19.7111 5.77092 19.8188 6.15025 20.0341L7.87495 21.0134C8.24721 21.2247 8.43334 21.3304 8.6004 21.3079C8.76746 21.2854 8.95588 21.0973 9.33271 20.7213C10.7927 19.2644 13.2088 19.2643 14.6689 20.7212C15.0457 21.0973 15.2341 21.2853 15.4012 21.3078C15.5682 21.3303 15.7544 21.2246 16.1266 21.0133L17.8513 20.034C18.2307 19.8187 18.4204 19.711 18.4864 19.5547C18.5525 19.3984 18.4833 19.132 18.3448 18.5991C17.8412 16.6616 19.0609 14.6226 21.011 14.0965Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],Uz=[["path",{d:"M18.7088 3.49534C16.8165 2.55382 14.5009 2 12 2C9.4991 2 7.1835 2.55382 5.29116 3.49534C4.36318 3.95706 3.89919 4.18792 3.4496 4.91378C3 5.63965 3 6.34248 3 7.74814V11.2371C3 16.9205 7.54236 20.0804 10.173 21.4338C10.9067 21.8113 11.2735 22 12 22C12.7265 22 13.0933 21.8113 13.8269 21.4338C16.4576 20.0804 21 16.9205 21 11.2371L21 7.74814C21 6.34249 21 5.63966 20.5504 4.91378C20.1008 4.18791 19.6368 3.95706 18.7088 3.49534Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Wz=[["path",{d:"M19.5 17.5C19.5 18.8807 18.3807 20 17 20C15.6193 20 14.5 18.8807 14.5 17.5C14.5 16.1193 15.6193 15 17 15C18.3807 15 19.5 16.1193 19.5 17.5Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.5 17.5C9.5 18.8807 8.38071 20 7 20C5.61929 20 4.5 18.8807 4.5 17.5C4.5 16.1193 5.61929 15 7 15C8.38071 15 9.5 16.1193 9.5 17.5Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5 17.5H9.5M19.5 17.5H20.2632C20.4831 17.5 20.5931 17.5 20.6855 17.4885C21.3669 17.4036 21.9036 16.8669 21.9885 16.
11855C22 16.0931 22 15.9831 22 15.7632V13C22 9.41015 19.0899 6.5 15.5 6.5M15 15.5V7C15 5.58579 15 4.87868 14.5607 4.43934C14.1213 4 13.4142 4 12 4H5C3.58579 4 2.87868 4 2.43934 4.43934C2 4.87868 2 5.58579 2 7V15C2 15.9346 2 16.4019 2.20096 16.75C2.33261 16.978 2.52197 17.1674 2.75 17.299C3.09808 17.5 3.56538 17.5 4.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Gz=[["path",{d:"M19.5 17.5C19.5 18.8807 18.3807 20 17 20C15.6193 20 14.5 18.8807 14.5 17.5C14.5 16.1193 15.6193 15 17 15C18.3807 15 19.5 16.1193 19.5 17.5Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.5 17.5C9.5 18.8807 8.38071 20 7 20C5.61929 20 4.5 18.8807 4.5 17.5C4.5 16.1193 5.61929 15 7 15C8.38071 15 9.5 16.1193 9.5 17.5Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5 17.5H9.5M15 15.5V7C15 5.58579 15 4.87868 14.5607 4.43934C14.1213 4 13.4142 4 12 4H5C3.58579 4 2.87868 4 2.43934 4.43934C2 4.87868 2 5.58579 2 7V15C2 15.9346 2 16.4019 2.20096 16.75C2.33261 16.978 2.52197 17.1674 2.75 17.299C3.09808 17.5 3.56538 17.5 4.5 17.5M15.5 6.5H17.3014C18.1311 6.5 18.5459 6.5 18.8898 6.6947C19.2336 6.8894 19.4471 7.2451 19.8739 7.95651L21.5725 10.7875C21.7849 11.1415 21.8911 11.3186 21.9456 11.5151C22 11.7116 22 11.918 22 12.331V15C22 15.9346 22 16.4019 21.799 16.75C21.6674 16.978 21.478 17.1674 21.25 17.299C20.9019 17.5 20.4346 17.5 19.5 17.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],qz=[["path",{d:"M2 12C2 8.31087 2 6.4663 2.81382 5.15877C3.1149 4.67502 3.48891 4.25427 3.91891 3.91554C5.08116 3 6.72077 3 10 3H14C17.2792 3 18.9188 3 20.0811 3.91554C20.5111 4.25427 20.8851 4.67502 21.1862 5.15877C22 6.4663 22 8.31087 22 12C22 15.6891 22 17.5337 21.1862 18.8412C20.8851 19.325 20.5111 19.7457 20.0811 20.0845C18.9188 21 17.2792 21 14 21H10C6.72077 21 5.08116 21 3.91891 20.0845C3.48891 19.7457 3.1149 19.325 2.81382 18.8412C2 17.5337 2 15.6891 2 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.5 3L9.5 21",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M5 7H6M5 10H6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Kz=[["path",{d:"M22 12.6344C18 16.1465 17.4279 10.621 15.3496 11.0165C13 11.4637 11.5 16.4445 13 16.4445C14.5 16.4445 12.5 10.5 10.5 12.5556C8.5 14.6111 7.85936 17.2946 6.23526 15.3025C-1.5 5.81446 4.99998 -1.14994 8.16322 3.45685C10.1653 6.37256 6.5 16.9769 2 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9 21H19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],Yz=[["path",{d:"M21 14.25L20.1689 13.591C19.223 12.841 18.75 12.466 18.75 12C18.75 11.534 19.223 11.159 20.1689 10.409L21 9.75M3 9.75L3.83115 10.409C4.77705 11.159 5.25 11.534 5.25 12C5.25 12.466 4.77705 12.841 3.83115 13.591L3 14.25",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.5718 21L14.7282 19.9412C14.9062 18.7362 14.9951 18.1337 15.4019 17.8986C15.8087 17.6635 16.3744 17.8876 17.5058 18.3358L18.5 18.7296M9.4282 3L9.27182 4.0588C9.09384 5.26379 9.00486 5.86629 8.59808 6.10139C8.1913 6.3365 7.62558 6.1124 6.49416 5.6642L5.5 5.27038",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M5 18.7317L6.07032 18.3375C7.2884 17.8889 7.89747 17.6645 8.33521 17.8994C8.77295 18.1343 8.86844 18.7367 9.05941 19.9414L9.22722 21M19 5.26825L17.9297 5.66249C16.7116 6.11115 16.1025 6.33548 15.6648 6.1006C15.2271 5.86571 15.1316 5.26333 14.9406 4.05859L14.7728 3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M19 12.0003H5M15.5 17.9998L8.5 6M15.5 6.00025L8.5 18",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],Zz=[["path",{d:"M2.5 12L21.5002 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],Qz=[["path",{d:"M12 16.5V14.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4.2678 18.8447C4.49268 20.515 5.87612 21.8235 7.55965 21.9009C8.97626 21.966 10.4153 22 12 22C13.5847 22 15.0237 21.966 16.4403 21.9009C18.1239 21.8235 19.5073 20.515 19.7322 18.8447C19.8789 17.7547 20 16.6376 20 15.5C20 14.3624 19.8789 13.2453 19.7322 12.1553C19.5073 10.485 18.1239 9.17649 16.4403 9.09909C15.0237 9.03397 13.5847 9 12 9C10.4153 9 8.97626 9.03397 7.55965 9.09909C5.87612 9.17649 4.49268 10.485 4.2678
112.1553C4.12104 13.2453 3.99999 14.3624 3.99999 15.5C3.99999 16.6376 4.12104 17.7547 4.2678 18.8447Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M7.5 9V6.5C7.5 4.01472 9.51472 2 12 2C14.4853 2 16.5 4.01472 16.5 6.5V9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Xz=[["path",{d:"M12 16.5V14.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4.26781 18.8447C4.49269 20.515 5.87613 21.8235 7.55966 21.9009C8.97627 21.966 10.4153 22 12 22C13.5847 22 15.0237 21.966 16.4403 21.9009C18.1239 21.8235 19.5073 20.515 19.7322 18.8447C19.879 17.7547 20 16.6376 20 15.5C20 14.3624 19.879 13.2453 19.7322 12.1553C19.5073 10.485 18.1239 9.17649 16.4403 9.09909C15.0237 9.03397 13.5847 9 12 9C10.4153 9 8.97627 9.03397 7.55966 9.09909C5.87613 9.17649 4.49269 10.485 4.26781 12.1553C4.12105 13.2453 4 14.3624 4 15.5C4 16.6376 4.12105 17.7547 4.26781 18.8447Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M7.5 9V6.5C7.5 4.01472 9.51472 2 12 2C13.9593 2 15.5 3.5 16 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],Jz=[["path",{d:"M13.7276 3.44418L15.4874 6.99288C15.7274 7.48687 16.3673 7.9607 16.9073 8.05143L20.0969 8.58575C22.1367 8.92853 22.6167 10.4206 21.1468 11.8925L18.6671 14.3927C18.2471 14.8161 18.0172 15.6327 18.1471 16.2175L18.8571 19.3125C19.417 21.7623 18.1271 22.71 15.9774 21.4296L12.9877 19.6452C12.4478 19.3226 11.5579 19.3226 11.0079 19.6452L8.01827 21.4296C5.8785 22.71 4.57865 21.7522 5.13859 19.3125L5.84851 16.2175C5.97849 15.6327 5.74852 14.8161 5.32856 14.3927L2.84884 11.8925C1.389 10.4206 1.85895 8.92853 3.89872 8.58575L7.08837 8.05143C7.61831 7.9607 8.25824 7.48687 8.49821 6.99288L10.258 3.44418C11.2179 1.51861 12.7777 1.51861 13.7276 3.44418Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],eV=[["path",{d:"M18.0104 7.48959L19.5 6M20.5 13.5C20.5 18.1944 16.6944 22 12 22C7.30558 22 3.5 18.1944 3.5 13.5C3.5 8.80558 7.30558 5 12 5C16.6944 5 20.5 8.80558 20.5 13.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.5 2H9.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M12 13.5L15.5 10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],tV=[["path",{d:"M3.50003 9.99988V14.9999C3.50003 17.8283 3.50003 19.2425 4.37871 20.1212C5.25739 20.9999 6.6716 20.9999 9.50003 20.9999H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 7.50171C17 8.88243 15.8807 9.99985 14.5 9.99985C13.1193 9.99985 12 8.88056 12 7.49985C12 8.88056 10.8807 9.99985 9.50003 9.99985C8.11932 9.99985 7.00003 8.88056 7.00003 7.49985C7.00003 8.88056 5.82657 9.99985 4.37903 9.99985C3.59986 9.99985 2.9001 9.67555 2.42002 9.16075C1.59464 8.27567 2.12562 6.97391 2.81449 5.9883L3.20203 5.45839C4.08387 4.25258 4.52479 3.64968 5.16494 3.32482C5.8051 2.99996 6.55203 3.00005 8.04589 3.00025L15.9551 3.00131C17.4485 3.00151 18.1952 3.00161 18.8351 3.32646C19.4751 3.65131 19.9158 4.25402 20.7974 5.45945L21.1855 5.99017C21.8744 6.97577 22.4054 8.27754 21.58 9.16261C21.0999 9.67742 20.4002 10.0017 19.621 10.0017C18.1735 10.0017 17 8.88243 17 7.50171Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 12.4999C16.067 12.4999 14.5 14.0375 14.5 15.9342C14.5 17.0187 14.9375 17.862 15.8125 18.6152C16.4292 19.1461 17.5514 20.2851 18 20.9999C18.4713 20.2993 19.5708 19.1461 20.1875 18.6152C21.0625 17.862 21.5 17.0187 21.5 15.9342C21.5 14.0375 19.933 12.4999 18 12.4999Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18 15.9999H18.009",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",key:"3"}]],nV=[["path",{d:"M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M12 2C11.6227 2.33333 11.0945 3.2 12 4M12 20C12.3773 20.3333 12.9055 21.2 12 22M19.5 4.50271C18.9685 4.46982 17.9253 4.72293 18.0042 5.99847M5.49576 17.5C5.52865 18.0315 5.27555 19.0747 4 18.9958M5.00271 4.5C4.96979 5.03202 5.22315 6.0763 6.5 5.99729M18 17.5026C18.5315 17.4715 19.5747 17.7108 19.4958 18.9168M22 12C21.6667 11.6227 20.8 11.0945 20 12M4 11.5C3.66667 11.8773 2.8 12.4055 2 11.5",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],rV=[["path",{d:"M12.5 16L11.5 18M17 16L16 18M13.5 20L12.5 22M8 16L7 18M9 20L8 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.4776 8.89801L17.5 8.89795C19.9853 8.89795 22 10.8784 22 13.3214C22 14.8551 21.206 16.2065 20 17
1M17.4776 8.89801C17.4924 8.73611 17.5 8.57216 17.5 8.40646C17.5 5.42055 15.0376 3 12 3C9.12324 3 6.76233 5.17106 6.52042 7.93728M17.4776 8.89801C17.3753 10.0132 16.9286 11.0307 16.2428 11.8469M6.52042 7.93728C3.98398 8.17454 2 10.2745 2 12.8299C2 14.4378 2.78565 15.8652 4 16.7619M6.52042 7.93728C6.67826 7.92251 6.83823 7.91496 7 7.91496C8.12582 7.91496 9.16474 8.28072 10.0005 8.89795",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M9 3.65468C8.30552 2.65451 7.15088 2 5.84388 2C3.72096 2 2 3.72674 2 5.85679C2 7.15354 2.63783 8.30081 3.61588 9",stroke:"currentColor",strokeWidth:"1.5",key:"2"}]],iV=[["path",{d:"M5 14.5C5 14.5 6.5 14.5 8.5 18C8.5 18 14.0588 8.83333 19 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],oV=[["path",{d:"M5 14L8.5 17.5L19 6.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],aV=[["path",{d:"M16 12H12L12 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18.8475 4.17041C19.0217 4.3242 19.1911 4.48354 19.3555 4.648C19.5199 4.81246 19.6791 4.98203 19.8328 5.15629M15 2C15.4821 2.14255 15.9548 2.32634 16.4134 2.54664M21.4375 7.55457C21.6647 8.02313 21.8539 8.50663 22 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],sV=[["path",{d:"M15 2H10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 13.5C4 8.80558 7.80558 5 12.5 5C14.8472 5 16.9722 5.95139 18.5104 7.48959M18.5104 7.48959C20.0486 9.02779 21 11.1528 21 13.5C21 18.1944 17.1944 22 12.5 22H3M18.5104 7.48959L20 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M8 19H3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M6 16H3",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M12.5 13.5L16 10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],lV=[["path",{d:"M19 10.5V9.99995C19 6.22876 18.9999 4.34311 17.8284 3.17154C16.6568 2 14.7712 2 11 2C7.22889 2 5.34326 2.00006 4.17169 3.17159C3.00015 4.34315 3.00013 6.22872 3.0001 9.99988L3.00006 14.5C3.00003 17.7874 3.00002 19.4312 3.90794 20.5375C4.07418 20.7401 4.25992 20.9258 4.46249 21.0921C5.56883 22 7.21255 22 10.5 22",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 7H15M7 11H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 18.5L16.5 17.95V15.5M12 17.5C12 19.9853 14.0147 22 16.5 22C18.9853 22 21 19.9853 21 17.5C21 15.0147 18.9853 13 16.5 13C14.0147 13 12 15.0147 12 17.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],cV=[["path",{d:"M19 11C19 10.1825 19 9.4306 18.8478 9.06306C18.6955 8.69552 18.4065 8.40649 17.8284 7.82843L13.0919 3.09188C12.593 2.593 12.3436 2.34355 12.0345 2.19575C11.9702 2.165 11.9044 2.13772 11.8372 2.11401C11.5141 2 11.1614 2 10.4558 2C7.21082 2 5.58831 2 4.48933 2.88607C4.26731 3.06508 4.06508 3.26731 3.88607 3.48933C3 4.58831 3 6.21082 3 9.45584V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H19M12 2.5V3C12 5.82843 12 7.24264 12.8787 8.12132C13.7574 9 15.1716 9 18 9H18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 14H19.5M19.5 14H21M19.5 14V19M7 14H8.5M8.5 14H10M8.5 14V19M12.5 14L14 16.5M14 16.5L15.5 19M14 16.5L15.5 14M14 16.5L12.5 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],uV=[["path",{d:"M5.25 5L19.25 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M22.25 12C22.25 6.47715 17.7728 2 12.25 2C6.72715 2 2.25 6.47715 2.25 12C2.25 17.5228 6.72715 22 12.25 22C17.7728 22 22.25 17.5228 22.25 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],dV=[["path",{d:"M17.9999 14C17.9999 14 13.581 19 11.9999 19C10.4188 19 5.99994 14 5.99994 14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17.9999 9.99996C17.9999 9.99996 13.581 5.00001 11.9999 5C10.4188 4.99999 5.99994 10 5.99994 10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],hV=[["path",{d:"M2.99995 17C2.99995 17.93 2.99995 18.395 3.10217 18.7765C3.37957 19.8117 4.18821 20.6204 5.22349 20.8978C5.60499 21 6.06997 21 6.99995 21L16.9999 21C17.9299 21 18.3949 21 18.7764 20.8978C19.8117 20.6204 20.6203 19.8117 20.8977 18.7765C20.9999 18.395 20.9999 17.93 20.9999 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.5 7.49993C16.5 7.49993 13.1858 2.99997 12 2.99996C10.8142 2.99995 7.50002 7.49996 7.50002 7.49996M12 3.99996V16",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],fV=[["path",{d:"M15 9C15 7.34315 13.6569 6 12 6C10.3431 6 9 7.34315 9 9C9 10.6569 10.3431 12 12 12C13.6569 12 15 10.6569 15 9Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M17 17C17 14.2386 14.7614 12 12 12C9.23858 12 7 14.2386 7 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],pV=[["path",{d:"M14.502 8.00003C14.502 5.23861 12.2634 3.00003 9.50195 3.00003C6.74053 3.00003 4.50195 5.23861 4.50195 8.00003C4.50195 10.7615 6.74053 13 9.50195 13C12.2634 13 14.502 10.7615 14.502 8.00003Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M16.2374 15.6742V14.2523C16.2374 13.2846 17.0219 12.5 17.9897 12.5C18.9575 12.5 19.742 13.2846 19.742 14.2523V15.6742M16.3069 20.9995H19.6929C20.6898 20.9995 21.4979 20.1929 21.4979 19.198V17.6942C21.4979 16.6992 20.6898 15.8926 19.6929 15.8926H16.3069C15.3101 15.8926 14.502 16.6992 14.502 17.6942L14.502 19.198C14.502 20.1929 15.3101 20.9995 16.3069 20.9995Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M2.50195 20C2.50195 16.134 5.63596 13 9.50195 13C10.9892 13 12.3681 13.4638 13.502 14.2547",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],mV=[["path",{d:"M13 11C13 8.79086 11.2091 7 9 7C6.79086 7 5 8.79086 5 11C5 13.2091 6.79086 15 9 15C11.2091 15 13 13.2091 13 11Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M11.0386 7.55773C11.0131 7.37547 11 7.18927 11 7C11 4.79086 12.7909 3 15 3C17.2091 3 19 4.79086 19 7C19 9.20914 17.2091 11 15 11C14.2554 11 13.5584 10.7966 12.9614 10.4423",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M15 21C15 17.6863 12.3137 15 9 15C5.68629 15 3 17.6863 3 21",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M21 17C21 13.6863 18.3137 11 15 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],gV=[["path",{d:"M17 17C15.6193 17 14.5 15.8807 14.5 14.5C14.5 13.1193 15.6193 12 17 12C18.3807 12 19.5 13.1193 19.5 14.5C19.5 15.8807 18.3807 17 17 17ZM17 17C19.4853 17 21.5 19.0147 21.5 21.5M17 17C14.5147 17 12.5 19.0147 12.5 21.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M7 7.5C5.61929 7.5 4.5 6.38071 4.5 5C4.5 3.61929 5.61929 2.5 7 2.5C8.38071 2.5 9.5 3.61929 9.5 5C9.5 6.38071 8.38071 7.5 7 7.5ZM7 7.5C9.48528 7.5 11.5 9.51472 11.5 12M7 7.5C4.51472 7.5 2.5 9.51472 2.5 12",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M3.5 15.5C3.5 18.2643 5.73571 20.5 8.5 20.5L8 18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M18.5 8.5C18.5 5.73571 16.2643 3.5 13.5 3.5L14 5.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}]],vV=[["path",{d:"M18.9737 15.0215C18.9795 14.9928 19.0205 14.9928 19.0263 15.0215C19.3302 16.5081 20.4919 17.6698 21.9785 17.9737C22.0072 17.9795 22.0072 18.0205 21.9785 18.0263C20.4919 18.3302 19.3302 19.4919 19.0263 20.9785C19.0205 21.00
172 18.9795 21.0072 18.9737 20.9785C18.6698 19.4919 17.5081 18.3302 16.0215 18.0263C15.9928 18.0205 15.9928 17.9795 16.0215 17.9737C17.5081 17.6698 18.6698 16.5081 18.9737 15.0215Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M14.6469 12.6727C15.3884 12.1531 15.7591 11.8934 15.9075 11.5158C16.0308 11.2021 16.0308 10.7979 15.9075 10.4842C15.7591 10.1066 15.3884 9.84685 14.6469 9.3273C14.1274 8.9633 13.5894 8.60214 13.1167 8.3165C12.7229 8.07852 12.2589 7.82314 11.7929 7.57784C11.005 7.16312 10.6111 6.95576 10.2297 7.00792C9.91348 7.05115 9.58281 7.25237 9.38829 7.5199C9.1536 7.84266 9.12432 8.30677 9.06577 9.23497C9.02725 9.84551 9 10.4661 9 11C9 11.5339 9.02725 12.1545 9.06577 12.765C9.12432 13.6932 9.1536 14.1573 9.38829 14.4801C9.58281 14.7476 9.91348 14.9489 10.2297 14.9921C10.6111 15.0442 11.005 14.8369 11.7929 14.4221C12.2589 14.1768 12.7229 13.9215 13.1167 13.6835C13.5894 13.3978 14.1274 13.0367 14.6469 12.6727Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M21.872 14.8357C22 13.9227 22 12.7279 22 11C22 8.19974 22 6.79961 21.455 5.73005C20.9757 4.78924 20.2108 4.02433 19.27 3.54497C18.2004 3 16.8003 3 14 3H10C7.19974 3 5.79961 3 4.73005 3.54497C3.78924 4.02433 3.02433 4.78924 2.54497 5.73005C2 6.79961 2 8.19974 2 11C2 13.8003 2 15.2004 2.54497 16.27C3.02433 17.2108 3.78924 17.9757 4.73005 18.455C5.79961 19 7.19974 19 10 19H13.4257",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],yV=[["path",{d:"M21.544 11.045C21.848 11.4713 22 11.6845 22 12C22 12.3155 21.848 12.5287 21.544 12.955C20.1779 14.8706 16.6892 19 12 19C7.31078 19 3.8221 14.8706 2.45604 12.955C2.15201 12.5287 2 12.3155 2 12C2 11.6845 2.15201 11.4713 2.45604 11.045C3.8221 9.12944 7.31078 5 12 5C16.6892 5 20.1779 9.12944 21.544 11.045Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],bV=[["path",{d:"M14 14.8135V9.18646C14 6.04126 14 4.46866 13.0747 4.0773C12.1494 3.68593 11.0603 4.79793 8.88232 7.02192C7.75439 8.17365 7.11085 8.42869 5.50604 8.42869C4.10257 8.42869 3.40084 8.42869 2.89675 8.77262C1.85035 9.48655 2.00852 10.882 2.00852 12C2.00852 13.118 1.85035 14.5134 2.89675 15.2274C3.40084 15.5713 4.10257 15.5713 5.50604 15.5713C7.11085 15.5713 7.75439 15.8264 8.88232 16.9781C11.0603 19.2021 12.1494 20.3141 13.0747 19.9227C14 19.5313 14 17.9587 14 14.8135Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 9C17.6254 9.81968 18 10.8634 18 12C18 13.1366 17.6254 14.1803 17 15",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M20 7C21.2508 8.36613 22 10.1057 22 12C22 13.8943 21.2508 15.6339 20 17",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],CV=[["path",{d:"M18 14.8135V9.18646C18 6.04126 18 4.46866 17.074 4.0773C16.1481 3.68593 15.0583 4.79793 12.8787 7.02192C11.7499 8.17365 11.1059 8.42869 9.5 8.42869C8.3879 8.42869 7.02749 8.28131 6.33706 9.33566C6 9.85038 6 10.5669 6 12C6 13.4331 6 14.1496 6.33706 14.6643C7.02749 15.7187 8.3879 15.5713 9.5 15.5713C11.106 15.5713 11.7499 15.8264 12.8787 16.9781C15.0583 19.2021 16.1481 20.3141 17.074 19.9227C18 19.5313 18 17.9587 18 14.8135Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}]],wV=[["path",{d:"M11.0065 21H9.60546C6.02021 21 4.22759 21 3.11379 19.865C2 18.7301 2 16.9034 2 13.25C2 9.59661 2 7.76992 3.11379 6.63496C4.22759 5.5 6.02021 5.5 9.60546 5.5H13.4082C16.9934 5.5 18.7861 5.5 19.8999 6.63496C20.7568 7.50819 20.9544 8.7909 21 11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M18.85 18.85L17.5 17.95V15.7M13 17.5C13 19.9853 15.0147 22 17.5 22C19.9853 22 22 19.9853 22 17.5C22 15.0147 19.9853 13 17.5 13C15.0147 13 13 15.0147 13 17.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M16 5.5L15.9007 5.19094C15.4056 3.65089 15.1581 2.88087 14.5689 2.44043C13.9796 2 13.197 2 11.6316 2H11.3684C9.80304 2 9.02036 2 8.43111 2.44043C7.84186 2.88087 7.59436 3.65089 7.
109934 5.19094L7 5.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],EV=[["path",{d:"M19 11C19 10.1825 19 9.4306 18.8478 9.06306C18.6955 8.69552 18.4065 8.40649 17.8284 7.82843L13.0919 3.09188C12.593 2.593 12.3436 2.34355 12.0345 2.19575C11.9702 2.165 11.9044 2.13772 11.8372 2.11401C11.5141 2 11.1614 2 10.4558 2C7.21082 2 5.58831 2 4.48933 2.88607C4.26731 3.06508 4.06508 3.26731 3.88607 3.48933C3 4.58831 3 6.21082 3 9.45584V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H19M12 2.5V3C12 5.82843 12 7.24264 12.8787 8.12132C13.7574 9 15.1716 9 18 9H18.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M12.5 19V14L14.5 16.5L16.5 14V19M19 14V17C19 17.9428 19 18.4142 19.2929 18.7071C19.5858 19 20.0572 19 21 19M7 14L8.5 16.5M8.5 16.5L10 19M8.5 16.5L10 14M8.5 16.5L7 19",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}]],kV=[["path",{d:"M6 16H10L6 20H10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M4 4H11L4 12H11",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M14 9H20L14 15H20",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}]],SV={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},xV=Qt.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n,absoluteStrokeWidth:r=!1,className:i="",altIcon:o,showAlt:a=!1,icon:s,primaryColor:l,secondaryColor:c,disableSecondaryOpacity:u=!1,...d},h)=>{const f=void 0!==n?r?24*Number(n)/Number(t):n:void 0,p=void 0!==f?{strokeWidth:f,stroke:"currentColor"}:{},m={ref:h,...SV,width:t,height:t,color:l||e,className:i,...p,...d},g=[...a&&o?o:s].sort(([,e],[,t])=>{const n=void 0!==e.opacity;return void 0!==t.opacity?1:n?-1:0}).map(([t,n])=>{const r=void 0!==n.opacity,i=r&&!u?n.opacity:void 0,o=c?{...void 0!==n.stroke?{stroke:r?c:l||e}:{fill:r?c:l||e}}:{};return Qt.createElement(t,{...n,...p,...o,opacity:i,key:n.key})});return Qt.createElement("svg",m,g)});xV.displayName="HugeiconsIcon";const TV=[["path",{d:"M11.9999 3.24992C17.1085 3.24996 21.2499 7.39131 21.2499 12.4999C21.2499 14.7002 20.4801 16.7197 19.1972 18.3075L20.9521 20.04L21.0214 20.1161C21.3439 20.5068 21.3245 21.0857 20.9609 21.454C20.5969 21.8222 20.0177 21.8493 19.623 21.5312L19.5468 21.4638L17.7792 19.7187C16.1956 20.9881 14.1874 21.7499 11.9999 21.7499C9.8219 21.7499 7.82155 20.9948 6.24114 19.7353L4.44524 21.4726C4.04825 21.8562 3.415 21.8448 3.03117 21.4482C2.64748 21.0511 2.65776 20.4179 3.05461 20.0341L4.81926 18.329C3.52614 16.738 2.74992 14.71 2.74992 12.4999C2.74992 7.39129 6.89129 3.24992 11.9999 3.24992ZM11.9999 6.99992C11.4476 6.99992 10.9999 7.44764 10.9999 7.99992V12.4999C10.9999 12.7651 11.1054 13.0194 11.2929 13.207L13.2929 15.207L13.3691 15.2753C13.7618 15.5957 14.3408 15.5731 14.707 15.207C15.0731 14.8408 15.0957 14.2618 14.7753 13.8691L14.707 13.7929L12.9999 12.0859V7.99992C12.9999 7.44764 12.5522 6.99992 11.9999 6.99992ZM4.54289 2.54289C4.93342 2.15237 5.56643 2.15237 5.95696 2.54289C6.3474 2.93342 6.34746 3.56646 5.95696 3.95696L2.95696 6.95696C2.56646 7.34746 1.93342 7.3474 1.54289 6.95696C1.15237 6.56643 1.15237 5.93342 1.54289 5.54289L4.54289 2.54289ZM18.0429 2.54289C18.409 2.17679 18.988 2.15423 19.3808 2.47453L19.457 2.54289L22.457 5.54289L22.5253 5.61907C22.8457 6.01184 22.8231 6.59084 22.457 6.95696C22.0908 7.32282 21.5117 7.34559 21.1191 7.02532L21.0429 6.95696L18.0429 3.95696L17.9745 3.88078C17.6543 3.4881 17.677 2.90902 18.0429 2.54289Z",fill:"currentColor",key:"0"}]],MV=[["path",{d:"M20.1129 7.78312C19.6979 7.36808 19.0964 7.11438 17.8757 6.9943L18.0715 5.00391C19.4675 5.14123 20.6275 5.46925 21.5272 6.36891C22.3335 7.1752 22.6805 8.19058 22.8428 9.39768C22.9992 10.5606 22.9991 12.0394 22.9991 13.8748V14.0212C22.9991 15.8567 22.9992 17.3355 22.8428 18.4984C22.6805 19.7055 22.3335 20.7209 21.5272 21.5272C20.7209 22.3335 19.7055 22.6805 18.4984 22.8428C17.3355 22.9992 15.8567 22.9991 14.0212 22.9991H13.8748C12.0394 22.9991 10.5606 22.9992 9.39768 22.8428C8.19058 22.6805 7.1752 22.3335 6.36891 21.5272C5.46925 20.6275 5.14123 19.4675 5.00391 18.0715L6.9943 17.8757C7.11438 19.0964 7.36808 19.6979 7.78312 20.1129C8.15588 20.4857 8.67885 20.7282 9.66417 20.8606C10.6783 20.997 12.0221 20.9991 13.948 20.9991C15.874 20.9991 17.2178 20.997 18.2319 20.8606C19.2172 20.7282 19.7402 20.4857 20.1129 20.1129C20.4857 19.7402 20.7282 19.2172 20.8606 18.2319C20.997 17.2178 20.9991 15.874 20.9991 13.948C20.9991 12.0221 20.997 10.6783 20.8606 9.66417C20.7282 8.67885 20.4857 8.15588 20.1129 7.78312Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M9.92684 1H10.0732C11.8966 0.999973 13.3664 0.999951 14.5223 1.15537C15.7225 1.31672 16.733 1.66191 17.5355 2.46447C18.3381 3.26702 18.6833 4.27752 18.8446 5.47767C19.0001 6.63362 19 8.10336 19 9.9268V10.0732C19 11.8966 19.0001 13.3664 18.8446 14.5223C18.6833 15.7225 18.3381 16.733 17.5355 17.5355C16.733 18.3381 15.7225 18.6833 14.5223 18.8446C13.3664 19.0001 11.8966 19 10.0732 19H9.9268C8.10336 19 6.63362 19.0001 5.47767 18.8446C4.27752 18.6833 3.26702 18.3381 2.46447 17.5355C1.
166191 16.733 1.31672 15.7225 1.15537 14.5223C0.999951 13.3664 0.999973 11.8966 1 10.0732V9.92684C0.999973 8.10338 0.999951 6.63362 1.15537 5.47767C1.31672 4.27752 1.66191 3.26702 2.46447 2.46447C3.26702 1.66191 4.27752 1.31672 5.47767 1.15537C6.63362 0.999951 8.10338 0.999973 9.92684 1ZM5.74416 3.13753C4.76579 3.26907 4.2477 3.50966 3.87868 3.87868C3.50966 4.2477 3.26907 4.76579 3.13753 5.74416C3.00213 6.7513 3 8.08611 3 10C3 11.9139 3.00213 13.2487 3.13753 14.2558C3.26907 15.2342 3.50966 15.7523 3.87868 16.1213C4.2477 16.4903 4.76579 16.7309 5.74416 16.8625C6.7513 16.9979 8.08611 17 10 17C11.9139 17 13.2487 16.9979 14.2558 16.8625C15.2342 16.7309 15.7523 16.4903 16.1213 16.1213C16.4903 15.7523 16.7309 15.2342 16.8625 14.2558C16.9979 13.2487 17 11.9139 17 10C17 8.08611 16.9979 6.7513 16.8625 5.74416C16.7309 4.76579 16.4903 4.2477 16.1213 3.87868C15.7523 3.50966 15.2342 3.26907 14.2558 3.13753C13.2487 3.00213 11.9139 3 10 3C8.08611 3 6.7513 3.00213 5.74416 3.13753Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M18.4763 11.0957C16.9498 9.8379 15.4766 9.23918 14.0438 9.21191C12.6137 9.18469 11.3327 9.72898 10.1932 10.5492C8.18996 11.991 6.45291 14.4242 4.90945 16.5863C4.73406 16.832 4.56116 17.0742 4.39066 17.311L3.73438 18.2226L4.8279 18.4793C6.00098 18.7548 7.47329 18.7533 9.47458 18.7514C9.64549 18.7513 9.82056 18.7511 9.99934 18.7511H10.0557C11.8935 18.7511 13.3491 18.7511 14.4884 18.5979C15.6608 18.4403 16.6097 18.1082 17.3581 17.3598C17.9845 16.7335 18.3235 15.9715 18.5101 15.0439C18.6921 14.1389 18.7372 13.032 18.7493 11.6813L18.7525 11.3233L18.4763 11.0957Z",fill:"currentColor",key:"2"}]],AV=[["path",{d:"M13.998 21.75C16.253 21.75 18.0331 21.75 19.3515 21.5537C20.6903 21.3543 21.7763 20.9217 22.3759 19.8633L22.4795 19.6641C22.9508 18.6611 22.7579 17.5714 22.2763 16.3945C21.8927 15.4569 21.277 14.3483 20.499 13.0195L19.6689 11.6162L17.7441 8.37109L17.6982 8.29297C16.5955 6.4338 15.7229 4.96328 14.9111 3.96484C14.0828 2.94615 13.1844 2.25 12 2.25C10.8155 2.25004 9.91711 2.94615 9.08883 3.96484C8.47155 4.72408 7.81868 5.7561 7.0566 7.02441L6.25582 8.37109L4.33102 11.6162L4.28317 11.6963C3.13452 13.6328 2.22816 15.1614 1.7236 16.3945C1.21 17.6498 1.02504 18.8058 1.62399 19.8633L1.74215 20.0547C2.36044 20.9749 3.39339 21.3668 4.6484 21.5537C5.96685 21.75 7.74695 21.75 10.0019 21.75L13.998 21.75ZM12 14.5C11.4477 14.4999 11 14.0522 11 13.5V9C11 8.44776 11.4477 8.00007 12 8C12.5522 8 13 8.44771 13 9V13.5C13 14.0523 12.5522 14.5 12 14.5ZM12 18.002C11.4477 18.0019 11 17.5542 11 17.002V16.9922C11 16.4399 11.4477 15.9923 12 15.9922C12.5522 15.9922 13 16.4399 13 16.9922V17.002C13 17.5542 12.5522 18.002 12 18.002Z",fill:"currentColor",key:"0"}]],LV=[["path",{d:"M12 1.25C17.9371 1.25 22.75 6.06294 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12C1.25 6.06294 6.06294 1.25 12 1.25ZM12 14.9883C11.4477 14.9883 11 15.436 11 15.9883V15.998C11 16.5503 11.4477 16.998 12 16.998C12.5523 16.998 13 16.5503 13 15.998V15.9883C13 15.436 12.5523 14.9883 12 14.9883ZM12 7C11.4477 7 11 7.44772 11 8V12.5C11 13.0523 11.4477 13.5 12 13.5C12.5523 13.5 13 13.0523 13 12.5V8C13 7.44772 12.5523 7 12 7Z",fill:"currentColor",key:"0"}]],PV=[["path",{d:"M20 10C20.5523 10 21 10.4477 21 11V17C21 17.5523 20.5523 18 20 18C19.4477 18 19 17.5523 19 17V11C19 10.4477 19.4477 10 20 10Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M15 18C15.5523 18 16 18.4477 16 19V22C16 22.5523 15.5523 23 15 23C14.4477 23 14 22.5523 14 22V19C14 18.4477 14.4477 18 15 18Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M9 18C9.55228 18 10 18.4477 10 19V22C10 22.5523 9.55228 23 9 23C8.44772 23 8 22.5523 8 22V19C8 18.4477 8.44772 18 9 18Z",fill:"currentColor",fillRule:"evenodd",key:"2"}],["path",{d:"M4 10C4.55228 10 5 10.4477 5 11V17C5 17.5523 4.55228 18 4 18C3.44772 18 3 17.5523 3 17V11C3 10.4477 3.44772 10 4 10Z",fill:"currentColor",fillRule:"evenodd",key:"3"}],["path",{d:"M7.9 1.20006C8.34183 0.868688 8.96863 0.958231 9.3 1.40006L10.8 3.40006C11.1314 3.84189 11.0418 4.46869 10.6 4.80006C10.1582 5.13143 9.53137 5.04189 9.2 4.60006L7.7 2.60006C7.36863 2.15823 7.45817 1.53143 7.9 1.20006ZM16.1 1.20006C16.5418 1.53143 16.6314 2.15823 16.3 2.60006L14.8 4.60006C14.4686 5.04189 13.8418 5.13143 13.4 4.80006C12.9582 4.46869 12.8686 3.84189 13.2 3.40006L14.7 1.40006C15.0314 0.958231 15.6582 0.868688 16.1 1.20006Z",fill:"currentColor",fillRule:"evenodd",key:"4"}],["path",{d:"M6.7956 9.25C6.29466 9.25 6.04419 9.25 5.89412 9.06543C5.74405 8.88087 5.79006 8.66007 5.88208 8.21847C6.4733 5.38139 8.98803 3.25 12.0006 3.25C15.0131 3.25 17.5279 5.38139 18.1191 8.21847C18.2111 8.66007 18.2571 8.88087 18.107 9.06543C17.957 9.25 17.7065 9.25 17.2056 9.25H6.7956Z",fill:"currentColor",key:"5"}],["path",{d:"M6.75001 10.75C6.2786 10.75 6.0429 10.75 5.89645 10.8964C5.75001 11.0429 5.75001 11.2786 5.75001 11.75L5.75 16.0494C5.74997 16.7142 5.74994 17.2871 5.81161 17.7458C5.87771 18.2375 6.02677 18.7087 6.40902 19.091C6.79126 19.4732 7.26253 19.6223 7.75416 19.6884C8.21289 19.7501 8.78573 19.75 9.45057 19.75L14.5494 19.75C15.2142 19.75 15.7871 19.7501 16.2459 19.6884C16.7375 19.6223 17.2088 19.4732 17.591 19.091C17.9732 18.7087 18.1223 18.2375 18.1884 17.7458C18.2501 17.2871 18.25 16.7143 18.25 16.0494L18.25 11.75C18.25 11.2786 18.25 11.0429 18.1036 10.8964C17.9571 10.75 17.7214 10.75 17.25 10.75H6.75001Z",fill:"currentColor",key:"6"}]],RV=[["path",{d:"M12 6.25C12 4.25 13.5 2.25 15.5 2.25C15.5 4.25 14 6.25 12 6.25Z",fill:"currentColor",key:"0"}],["path",{d:"M12.5 7.59001C11.9851 7.59001 11.5867 7.42646 11.1414 7.24368C10.5776 7.01225 9.93875 6.75 8.89334 6.75C7.02235 6.75 4 8.24945 4 12.2495C4 16.9016 7.10471 21.75 9.10471 21.75C9.77426 21.75 10.3775 21.4871 10.954 21.2359C11.4815 21.0059 11.9868 20.7857 12.5 20.7857C13.0132 20.7857 13.5185 21.0059 14.046 21.2359C14.6225 21.4871 15.2257 21.75 15.8953 21.75C17.2879 21.75 18.9573 19.3992 20 16.4008C18.3793 15.7202 17.338 14.118 17.338 12.25C17.338 10.621 18.2036 9.53982 19.5 8.75C18.5 7.25 17.0134 6.75 15.9447 6.75C14.8993 6.75 14.2604 7.01225 13.6966 7.24368C13.2514 7.42646 13.0149 7.59001 12.5 7.59001Z",fill:"currentColor",key:"1"}]],OV=[["path",{d:"M19 8.00019C19.5523 8.00019 20 8.44791 20 9.00019C20 9.55248 19.5523 10.0002 19 10.0002L6.7395 9.99999C6.26801 10.0001 5.80423 10.0002 5.44568 9.94429C5.10422 9.891 4.39991 9.72174 4.10522 8.93662C3.81502 8.16345 4.19563 7.51278 4.39925 7.21405C4.61518 6.89727 4.94149 6.53733 5.27604 6.1683L5.27605 6.16829L5.92887 5.44786C6.27177 5.06928 6.60453 4.7019 6.89751 4.45822C7.16831 4.23298 7.78044 3.79078 8.51516 4.1146C9.24988 4.43843 9.40097 5.217 9.44863 5.5826C9.5002 5.97814 9.5001 6.49214 9.49999 7.0218L9.49998 8.00019H19Z",fill:"currentColor",key:"0"}],["path",{d:"M4.99999 15.9998C4.4477 15.9998 3.99999 15.5521 3.99999 14.9998C3.99999 14.4475 4.4477 13.9998 4.99999 13.9998L17.2605 14C17.732 13.9999 18.1958 13.9998 18.5543 14.0557C18.8958 14.109 19.6001 14.2783 19.8948 15.0634C20.185 15.8365 19.8044 16.4872 19.6008 16.7859C19.3848 17.1027 19.0585 17.4627 18.724 17.8317L18.724 17.8317L18.0711 18.5521C17.7282 18.9307 17.3955 19.2981 17.1025 19.5418C16.8317 19.767 16.2196 20.2092 15.4848 19.8854C14.7501 19.5616 14.599 18.783 14.5514 18.4174C14.4998 18.0219 14.4999 17.5079 14.5 16.9782L14.5 15.9998H4.99999Z",fill:"currentColor",key:"1"}]],DV=[["path",{d:"M18.593 8.19486C19.0376 8.52237 19.1326 9.14837 18.8051 9.59306C18.5507 9.93847 18.2963 10.2668 18.0731 10.5528C17.6276 11.1236 17.0143 11.8882 16.3479 12.6556C15.6859 13.4181 14.9518 14.2064 14.2666 14.8119C13.9251 15.1136 13.5721 15.3911 13.2279 15.5986C12.9112 15.7895 12.476 16 11.9999 16C11.5238 16 11.0885 15.7895 10.7718 15.5986C10.4276 15.3911 10.0747 15.1136 9.7332 14.8119C9.04791 14.2064 8.31387 13.4181 7.65183 12.6556C6.98548 11.8882 6.37216 11.1236 5.92664 10.5528C5.70347 10.2668 5.44902 9.93847 5.19463 9.59307C4.86712 9.14837 4.96211 8.52237 5.4068 8.19486C5.58556 8.0632 5.79362 7.99983 5.99982 8L11.9999 8L17.9999 8C18.2061 7.99983 18.4142 8.0632 18.593 8.19486Z",fill:"currentColor",key:"0"}]],IV=[["path",{d:"M15.8051 5.40705C15.4776 4.96235 14.8516 4.86736 14.4069 5.19488C14.0615 5.44927 13.7332 5.70372 13.4472 5.92689C12.8764 6.3724 12.1118 6.98572 11.3444 7.65208C10.5819 8.31412 9.79361 9.04815 9.18811 9.73344C8.88637 10.0749 8.60888 10.4279 8.4014 10.7721C8.21046 11.0888 8 11.524 8 12.0001C8 12.4762 8.21046 12.9115 8.4014 13.2282C8.60888 13.5724 8.88637 13.9253 9.18811 14.2668C9.79361 14.9521 10.5819 15.6861 11.3444 16.3482C12.1118 17.0145 12.8764 17.6278 13.4472 18.0734C13.7332 18.2965 14.0615 18.551 14.4069 18.8054C14.8516 19.1329 15.4776 19.0379 15.8051 18.5932C15.9368 18.4144 16.0002 18.2064 16 18.0002V12.0001V6.00007C16.0002 5.79387 15.9368 5.58581 15.8051 5.40705Z",fill:"currentColor",key:"0"}]],_V=[["path",{d:"M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.1948
16 5.40705Z",fill:"currentColor",key:"0"}]],FV=[["path",{d:"M20.875 12.0027C20.875 11.478 20.6067 11.0834 20.3138 10.7767C20.041 10.4911 19.6117 10.153 19.175 9.80903L18.1612 9.01041C17.4187 8.42543 16.7971 7.93577 16.2799 7.63564C15.7596 7.33377 15.1199 7.08851 14.4567 7.38216C13.7754 7.68382 13.5533 8.33593 13.4631 8.92273C13.3806 9.45953 13.3753 10.1675 13.375 11L4.125 11C3.57272 11 3.125 11.4477 3.125 12C3.125 12.5523 3.57272 13 4.125 13L13.375 13C13.3753 13.834 13.3805 14.5432 13.4631 15.0807C13.5533 15.6675 13.7754 16.3196 14.4567 16.6213C15.1199 16.9149 15.7596 16.6696 16.2799 16.3678C16.7971 16.0677 17.4187 15.578 18.1612 14.993L19.175 14.1944C19.6117 13.8504 20.041 13.5123 20.3138 13.2267C20.6067 12.9201 20.875 12.5274 20.875 12.0027Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],$V=[["path",{d:"M7.75001 19.9999C7.75001 20.5522 7.30229 20.9999 6.75001 20.9999C6.19773 20.9999 5.75001 20.5522 5.75001 19.9999V7.99999L4.56829 8L4.53443 8.00003H4.53442C4.39798 8.00025 4.19919 8.00056 4.02998 7.9746C3.84511 7.94624 3.36011 7.83812 3.11374 7.32267C2.86919 6.81104 3.08093 6.36183 3.17545 6.19364C3.26004 6.04314 3.38325 5.88606 3.46679 5.77954L3.48764 5.75295C3.83845 5.3042 4.34774 4.67868 4.85106 4.15775C5.10066 3.89942 5.3718 3.64263 5.63789 3.44332C5.77108 3.34356 5.92353 3.24258 6.08808 3.16319C6.24265 3.08862 6.47491 3 6.74999 3C7.02506 3 7.25731 3.08862 7.41188 3.16319C7.57642 3.24258 7.72888 3.34356 7.86206 3.44332C8.12815 3.64263 8.3993 3.89941 8.6489 4.15774C9.15222 4.67866 9.66152 5.30417 10.0123 5.75291L10.0332 5.77951L10.0332 5.77952C10.1167 5.88603 10.24 6.04311 10.3245 6.19361C10.4191 6.36179 10.6308 6.811 10.3863 7.32264C10.1399 7.83809 9.65489 7.94621 9.47003 7.97458C9.30081 8.00054 9.10202 8.00023 8.96557 8.00002L8.93172 7.99998L7.75001 7.99998V19.9999Z",fill:"currentColor",key:"0"}],["path",{d:"M18.25 4.00006C18.25 3.44778 17.8023 3.00006 17.25 3.00006C16.6977 3.00006 16.25 3.44778 16.25 4.00006V16L15.0683 16L15.0344 16H15.0344C14.898 15.9998 14.6992 15.9994 14.53 16.0254C14.3451 16.0538 13.8601 16.1619 13.6137 16.6773C13.3692 17.189 13.5809 17.6382 13.6755 17.8064C13.76 17.9569 13.8832 18.1139 13.9668 18.2205L13.9876 18.2471C14.3385 18.6958 14.8477 19.3213 15.3511 19.8422C15.6007 20.1006 15.8718 20.3574 16.1379 20.5567C16.2711 20.6564 16.4235 20.7574 16.5881 20.8368C16.7426 20.9114 16.9749 21 17.25 21C17.5251 21 17.7573 20.9114 17.9119 20.8368C18.0764 20.7574 18.2289 20.6564 18.3621 20.5567C18.6282 20.3574 18.8993 20.1006 19.1489 19.8423C19.6522 19.3213 20.1615 18.6958 20.5123 18.2471L20.5332 18.2205L20.5332 18.2205C20.6167 18.114 20.74 17.9569 20.8245 17.8064C20.9191 17.6382 21.1308 17.189 20.8863 16.6774C20.6399 16.1619 20.1549 16.0538 19.97 16.0254C19.8008 15.9995 19.602 15.9998 19.4656 16L19.4317 16L18.25 16V4.00006Z",fill:"currentColor",key:"1"}]],NV=[["path",{d:"M1.25 12C1.25 6.06294 6.06294 1.25 12 1.25C17.9371 1.25 22.75 6.06294 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12ZM13.7104 7.07485C13.3713 6.8272 13.0512 6.59346 12.7767 6.44949C12.4937 6.30114 12.0275 6.12344 11.5403 6.37968C11.06 6.63228 10.9351 7.11069 10.8898 7.42555C10.8452 7.73486 10.8453 8.13462 10.8453 8.56217V8.56219L10.8453 10.3711L9.48781 9.20875C9.17318 8.93935 8.69972 8.97601 8.43032 9.29065C8.16091 9.60528 8.19758 10.0787 8.51222 10.3481L10.4422 12.0007L8.51222 13.6532C8.19758 13.9226 8.16091 14.3961 8.43032 14.7107C8.69972 15.0253 9.17318 15.062 9.48781 14.7926L10.8453 13.6302L10.8453 15.4391V15.4392C10.8453 15.8667 10.8452 16.2665 10.8898 16.5758C10.9351 16.8906 11.06 17.3691 11.5403 17.6217C12.0275 17.8779 12.4937 17.7002 12.7767 17.5518C13.0512 17.4079 13.3713 17.1742 13.7104 16.9265L14.6333 16.2527C14.8835 16.0702 15.1338 15.8876 15.3147 15.7098C15.5179 15.51 15.75 15.2056 15.75 14.7713C15.75 14.337 15.5179 14.0326 15.3147 13.8328C15.1338 13.655 14.8835 13.4724 14.6334 13.2899L12.8673 12.0007L14.6334 10.7115C14.8835 10.5289 15.1338 10.3463 15.3147 10.1685C15.5179 9.96872 15.75 9.66432 15.75 9.23004C15.75 8.79576 15.5179 8.49136 15.3147 8.29155C15.1338 8.11373 14.8835 7.93115 14.6334 7.74862L13.7104 7.07485ZM12.3452 8.61292V10.1309C12.3452 10.303 12.3452 10.3891 12.3999 10.4169C12.4546 10.4447 12.5241 10.3939 12.6631 10.2925L13.713 9.5260
17C13.7843 9.47396 13.8494 9.42638 13.9083 9.38288C14.0006 9.31458 14.0468 9.28043 14.0468 9.23001C14.0468 9.17958 14.0006 9.14543 13.9083 9.07714C13.8494 9.03363 13.7843 8.98605 13.713 8.93395L12.8677 8.31686C12.7881 8.25881 12.7154 8.2058 12.6486 8.15745C12.52 8.06446 12.4558 8.01797 12.4014 8.0456C12.3469 8.07324 12.3465 8.15251 12.3458 8.31105C12.3453 8.40214 12.3452 8.50237 12.3452 8.61292ZM12.3452 15.3884V13.8704C12.3452 13.6982 12.3452 13.6122 12.3999 13.5844C12.4546 13.5566 12.5241 13.6073 12.6631 13.7088L13.713 14.4752C13.7843 14.5273 13.8494 14.5749 13.9083 14.6184C14.0006 14.6867 14.0468 14.7208 14.0468 14.7713C14.0468 14.8217 14.0006 14.8558 13.9083 14.9241C13.8494 14.9676 13.7843 15.0152 13.713 15.0673L12.8677 15.6844C12.7881 15.7425 12.7154 15.7955 12.6486 15.8438C12.52 15.9368 12.4558 15.9833 12.4014 15.9557C12.3469 15.928 12.3465 15.8488 12.3458 15.6902C12.3453 15.5991 12.3452 15.4989 12.3452 15.3884Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],BV=[["path",{d:"M3.29289 3.29289C3.68342 2.90237 4.31658 2.90237 4.70711 3.29289L20.7071 19.2929C21.0976 19.6834 21.0976 20.3166 20.7071 20.7071C20.3166 21.0976 19.6834 21.0976 19.2929 20.7071L3.29289 4.70711C2.90237 4.31658 2.90237 3.68342 3.29289 3.29289Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M16.1182 4.10087C16.4049 4.30476 16.6954 4.5114 16.9841 4.71669C17.487 5.07427 17.9498 5.40332 18.2777 5.71598C18.6309 6.05287 19 6.52953 19 7.19976C19 7.64788 18.7462 8.03969 18.4766 8.37741C18.2493 8.66216 17.9503 8.9768 17.6349 9.28441C17.0005 9.9031 16.2204 10.5696 15.6087 11.0389C15.1706 11.3751 14.5428 11.2925 14.2066 10.8543C13.8704 10.4161 13.9531 9.78837 14.3913 9.45218C14.9442 9.02794 15.6641 8.4128 16.2386 7.85258C16.4488 7.64755 16.6293 7.45984 16.771 7.29885C16.8402 7.22027 16.8325 7.10165 16.7521 7.0345C16.5389 6.85626 16.2295 6.63422 15.7704 6.30775L15.0204 5.77434C14.2082 5.19666 13.6884 4.83005 13.297 4.62834C13.1363 4.5455 13.0951 4.49952 13.066 4.68767C13.0029 5.09518 13 5.69953 13 6.66635V7.33342C13 7.88571 12.5523 8.33342 12 8.33342C11.4477 8.33342 11 7.88571 11 7.33342V6.66635C11 5.77117 10.9971 4.97903 11.0895 4.38182C11.183 3.77793 11.4231 3.04016 12.1935 2.67491C12.9423 2.31987 13.6681 2.56959 14.2132 2.85053C14.7478 3.12604 15.3855 3.57963 16.1182 4.10087Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M12.4581 11.1108C12.7911 11.2822 13.0005 11.6254 13.0005 12V17.3341C13.0005 18.2989 13.0031 18.9087 13.0632 19.3216C13.0787 19.4281 13.0764 19.4363 13.1721 19.3839C13.753 19.0658 14.2695 18.6267 14.7992 18.2333L16.9105 16.6923C17.3566 16.3667 17.9822 16.4644 18.3078 16.9104C18.6334 17.3565 18.5357 17.9821 18.0896 18.3077L15.985 19.8439C15.3868 20.296 14.7924 20.7769 14.1326 21.1382C13.6165 21.4208 12.8886 21.6943 12.1359 21.3151C11.3863 20.9375 11.1689 20.1925 11.0841 19.6099C10.9979 19.0181 11.0005 18.2314 11.0005 17.3341V13.9431L5.58129 17.8138C5.13187 18.1347 4.50733 18.0306 4.18633 17.5812C3.86533 17.1318 3.96944 16.5073 4.41886 16.1863L11.4193 11.1863C11.7241 10.9685 12.125 10.9394 12.4581 11.1108Z",fill:"currentColor",fillRule:"evenodd",key:"2"}]],jV=[["path",{d:"M15.9293 4.11572C15.9496 4.13112 15.9701 4.14658 15.9906 4.16209L16.6965 4.6955C16.7141 4.70877 16.7316 4.72201 16.749 4.73521C17.2213 5.09194 17.6594 5.42294 17.9701 5.73771C18.3103 6.08248 18.6465 6.55322 18.6465 7.20025C18.6465 7.84728 18.3103 8.31802 17.9701 8.66279C17.6594 8.97756 17.2213 9.30856 16.749 9.6653C16.7316 9.6785 16.714 9.69173 16.6965 9.705L13.6582 12.001L16.6965 14.297C16.7141 14.3102 16.7316 14.3235 16.7491 14.3367C17.2213 14.6934 17.6594 15.0244 17.9701 15.3392C18.3103 15.6839 18.6465 16.1547 18.6465 16.8017C18.6465 17.4487 18.3103 17.9195 17.9701 18.2643C17.6594 18.579 17.2213 18.91 16.749 19.2668C16.7316 19.28 16.7141 19.2932 16.6965 19.3065L15.9293 19.8862C15.2428 20.4051 14.6394 20.8611 14.1316 21.1392C13.6155 21.4218 12.8877 21.6953 12.1349 21.3161C11.3853 20.9385 11.1679 20.1935 11.0831 19.6108C10.9993 19.0359 10.9994 18.2769 10.9995 17.4114L10.9995 14.0101L6.24943 17.5995C5.80881 17.9325 5.18168 17.8452 4.84872 17.4046C4.51575 16.964 4.60302 16.3369 5.04365 16.0039L10.3408
112.001L5.04365 7.99807C4.60302 7.66511 4.51575 7.03798 4.84872 6.59736C5.18168 6.15673 5.80881 6.06946 6.24943 6.40243L10.9995 9.9919V6.66684C10.9995 6.64132 10.9995 6.61589 10.9995 6.59056C10.9994 5.72503 10.9993 4.9661 11.0831 4.39111C11.1679 3.80851 11.3853 3.0635 12.1349 2.68591C12.8877 2.30667 13.6155 2.5802 14.1316 2.8628C14.6394 3.14087 15.2428 3.59687 15.9293 4.11572ZM12.9995 14.4119C12.9995 14.1019 13.0727 14.0654 13.3201 14.2523L15.4907 15.8926C15.8188 16.1405 16.1818 16.3798 16.4783 16.6728C16.5958 16.789 16.5958 16.8144 16.4783 16.9306C16.1818 17.2236 15.8188 17.4629 15.4907 17.7108L14.7848 18.2442C14.3239 18.5925 13.804 19.0352 13.2814 19.3468C13.0621 19.4776 12.9993 19.4318 12.9993 19.18C12.9994 18.706 12.9995 17.8226 12.9995 17.3351V14.4119ZM13.3201 9.74965C13.0727 9.93655 12.9995 9.9001 12.9995 9.59008V6.66684C12.9995 6.19821 12.9994 5.36382 12.9993 4.87889C12.9993 4.58526 13.0691 4.54815 13.3111 4.71467C13.7156 4.99295 14.4132 5.47688 14.7848 5.75773L15.4907 6.29115C15.8188 6.53905 16.1818 6.77834 16.4783 7.07135C16.5958 7.18753 16.5958 7.21297 16.4783 7.32915C16.1818 7.62216 15.8188 7.86146 15.4907 8.10935L13.3201 9.74965Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M18 12C18 11.4477 18.4457 11 18.9955 11H19.0045C19.5543 11 20 11.4477 20 12C20 12.5523 19.5543 13 19.0045 13H18.9955C18.4457 13 18 12.5523 18 12Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M4 12C4 11.4477 4.44571 11 4.99553 11H5.00447C5.55429 11 6 11.4477 6 12C6 12.5523 5.55429 13 5.00447 13H4.99553C4.44571 13 4 12.5523 4 12Z",fill:"currentColor",fillRule:"evenodd",key:"2"}]],zV=[["path",{d:"M12 12.7734C12 12.2211 12.4478 11.7734 13.0001 11.7734L15.2001 11.7736C15.9183 11.7737 16.5 12.356 16.5 13.0737C16.5 13.2091 16.4788 13.3438 16.4372 13.4727L16.4372 13.4727L14.9517 18.0787C14.7822 18.6043 14.2187 18.893 13.693 18.7234C13.1674 18.5539 12.8788 17.9904 13.0483 17.4648L14.2388 13.7735L12.9999 13.7734C12.4476 13.7734 12 13.3256 12 12.7734ZM8 12.7736C8 12.2214 8.44772 11.7736 9 11.7736H9.69458C10.5322 11.7736 11 12.5012 11 13.1209L11 17.7736C11 18.3259 10.5523 18.7736 10 18.7736C9.44772 18.7736 9 18.3259 9 17.7736L8.99999 13.7736C8.44771 13.7736 8 13.3259 8 12.7736Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M8.35 1.25C8.88848 1.25 9.325 1.68754 9.325 2.22727V3.21284C9.9029 3.20453 10.5284 3.20453 11.2037 3.20454H13.2963C13.9716 3.20453 14.5971 3.20453 15.175 3.21284V2.22727C15.175 1.68754 15.6115 1.25 16.15 1.25C16.6885 1.25 17.125 1.68754 17.125 2.22727V3.29947C17.3013 3.31556 17.471 3.33437 17.6343 3.35638C18.8044 3.51407 19.7897 3.85141 20.5721 4.63573C21.3546 5.42004 21.6912 6.40758 21.8485 7.58045C22 8.71014 22 10.1465 22 11.9285V14.026C22 15.808 22 17.2444 21.8485 18.3741C21.6912 19.547 21.3546 20.5345 20.5721 21.3188C19.7897 22.1031 18.8044 22.4405 17.6343 22.5982C16.5072 22.75 15.0742 22.75 13.2963 22.75H11.2037C9.42581 22.75 7.99279 22.75 6.86573 22.5982C5.69558 22.4405 4.71035 22.1031 3.92786 21.3188C3.14537 20.5345 2.8088 19.547 2.65148 18.3741C2.49995 17.2444 2.49998 15.8081 2.5 14.0261V11.9285C2.49998 10.1465 2.49995 8.71012 2.65148 7.58045C2.8088 6.40758 3.14537 5.42004 3.92786 4.63573C4.71035 3.85141 5.69558 3.51407 6.86573 3.35638C7.02902 3.33437 7.19874 3.31556 7.375 3.29947V2.22727C7.375 1.68754 7.81152 1.25 8.35 1.25ZM4.46386 9.75C4.45045 10.3958 4.45001 11.1378 4.45001 12V13.9545C4.45001 15.8249 4.45208 17.1294 4.5841 18.1137C4.71235 19.0698 4.94693 19.5761 5.30673 19.9367C5.66652 20.2974 6.17166 20.5325 7.12557 20.6611C8.10752 20.7934 9.40897 20.7955 11.275 20.7955H13.225C15.0911 20.7955 16.3925 20.7934 17.3745 20.6611C18.3284 20.5325 18.8335 20.2974 19.1933 19.9367C19.5531 19.5761 19.7877 19.0698 19.9159 18.1137C20.0479 17.1294 20.05 15.8249 20.05 13.9545V12C20.05 11.1378 20.0496 10.3958 20.0362 9.75H4.46386Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],VV=[["path",{d:"M8.1 1.25C8.63848 1.25 9.075 1.68754 9.075 2.22727V3.21284C9.6529 3.20453 10.2784 3.20453 10.9537 3.20454H13.0463C13.7216 3.20453 14.3471 3.20453 14.925 3.21284V2.22727C14.925 1.68754 15.3615 1.25 15.9 1.25C16.4385 1.25 16.875 1.68754 16.875 2.22727V3.29947C17.0513 3.31556 17.221 3.33437 17.3843 3.35638C18.5544 3.51407 19.5397 3.85141 20.3221 4.63573C21.1046 5.42004 21.4412 6.40758 21.5985 7.58045C21.75 8.71014 21.75 10.1465 21.75 11.9285V14.026C21.75 15.808 21.75 17.2444 21.5985 18.3741C21.4412 19.547 21.1046 20.5345 20.3221 21.3188C19.5397 22.1031 18.5544 22.4405 17.3843 22.5982C16.2572 22.75 14.8242 22.7
15 13.0463 22.75H10.9537C9.17581 22.75 7.74279 22.75 6.61573 22.5982C5.44558 22.4405 4.46035 22.1031 3.67786 21.3188C2.89537 20.5345 2.5588 19.547 2.40148 18.3741C2.24995 17.2444 2.24998 15.8081 2.25 14.0261V11.9285C2.24998 10.1465 2.24995 8.71012 2.40148 7.58045C2.5588 6.40758 2.89537 5.42004 3.67786 4.63573C4.46035 3.85141 5.44558 3.51407 6.61573 3.35638C6.77902 3.33437 6.94874 3.31556 7.125 3.29947V2.22727C7.125 1.68754 7.56152 1.25 8.1 1.25ZM4.21386 9.75C4.20045 10.3958 4.20001 11.1378 4.20001 12V13.9545C4.20001 15.8249 4.20208 17.1294 4.3341 18.1137C4.46235 19.0698 4.69693 19.5761 5.05673 19.9367C5.41652 20.2974 5.92166 20.5325 6.87557 20.6611C7.85752 20.7934 9.15897 20.7955 11.025 20.7955H12.975C14.8411 20.7955 16.1425 20.7934 17.1245 20.6611C18.0784 20.5325 18.5835 20.2974 18.9433 19.9367C19.3031 19.5761 19.5377 19.0698 19.6659 18.1137C19.7979 17.1294 19.8 15.8249 19.8 13.9545V12C19.8 11.1378 19.7996 10.3958 19.7862 9.75H4.21386Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M7 13.2734C7 12.7212 7.44772 12.2734 8 12.2734H8.00897C8.56126 12.2734 9.00897 12.7212 9.00897 13.2734C9.00897 13.8257 8.56126 14.2734 8.00897 14.2734H8C7.44772 14.2734 7 13.8257 7 13.2734ZM10.9955 13.2734C10.9955 12.7212 11.4432 12.2734 11.9955 12.2734H12.0045C12.5568 12.2734 13.0045 12.7212 13.0045 13.2734C13.0045 13.8257 12.5568 14.2734 12.0045 14.2734H11.9955C11.4432 14.2734 10.9955 13.8257 10.9955 13.2734ZM14.991 13.2734C14.991 12.7212 15.4387 12.2734 15.991 12.2734H16C16.5523 12.2734 17 12.7212 17 13.2734C17 13.8257 16.5523 14.2734 16 14.2734H15.991C15.4387 14.2734 14.991 13.8257 14.991 13.2734ZM7 17.2734C7 16.7212 7.44772 16.2734 8 16.2734H8.00897C8.56126 16.2734 9.00897 16.7212 9.00897 17.2734C9.00897 17.8257 8.56126 18.2734 8.00897 18.2734H8C7.44772 18.2734 7 17.8257 7 17.2734ZM10.9955 17.2734C10.9955 16.7212 11.4432 16.2734 11.9955 16.2734H12.0045C12.5568 16.2734 13.0045 16.7212 13.0045 17.2734C13.0045 17.8257 12.5568 18.2734 12.0045 18.2734H11.9955C11.4432 18.2734 10.9955 17.8257 10.9955 17.2734Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],HV=[["path",{d:"M16.1172 9.39975L16.1275 9.46503C16.2478 10.2281 16.308 10.6096 16.4949 10.9179C16.5506 11.0096 16.614 11.0956 16.6844 11.1748C16.921 11.4408 17.2531 11.5913 17.9173 11.8922C18.9156 12.3443 19.4147 12.5704 19.8935 12.4804C20.0341 12.4539 20.1709 12.408 20.3005 12.3438C20.7419 12.1251 21.0352 11.6291 21.6219 10.6369C22.2338 9.60219 22.5397 9.08483 22.4959 8.49439C22.486 8.36207 22.4539 8.19426 22.4144 8.06849C22.2379 7.50729 21.8231 7.20265 20.9935 6.59336C15.3777 2.46871 8.62234 2.46873 3.00648 6.59336C2.17691 7.20265 1.76212 7.50729 1.58563 8.06849C1.54607 8.19426 1.51397 8.36207 1.50414 8.4944C1.46027 9.08483 1.76621 9.60219 2.37809 10.6369C2.96479 11.6291 3.25814 12.1251 3.69947 12.3438C3.82907 12.408 3.96588 12.4539 4.10648 12.4804C4.58527 12.5704 5.0844 12.3443 6.08265 11.8922C6.74691 11.5913 7.07904 11.4408 7.31564 11.1748C7.38603 11.0956 7.44944 11.0096 7.50506 10.9179C7.69198 10.6096 7.75215 10.2281 7.87248 9.46503L7.88277 9.39975C8.00698 8.61211 8.06908 8.21829 8.34146 7.85715C8.37956 7.80663 8.44892 7.72641 8.49302 7.68185C8.80822 7.36338 9.08637 7.2896 9.64267 7.14205C11.141 6.74464 12.859 6.74464 14.3573 7.14205C14.9136 7.2896 15.1918 7.36338 15.507 7.68185C15.5511 7.72641 15.6204 7.80663 15.6585 7.85715C15.9309 8.21829 15.993 8.61211 16.1172 9.39975Z",fill:"currentColor",key:"0"}],["path",{d:"M12 10.9999C12.5523 10.9999 13 11.4476 13 11.9999V17.0857L13.7929 16.2928C14.1834 15.9022 14.8166 15.9022 15.2071 16.2928C15.5976 16.6833 15.5976 17.3165 15.2071 17.707L12.7071 20.207C12.3166 20.5975 11.6834 20.5975 11.2929 20.207L8.79289 17.707C8.40237 17.3165 8.40237 16.6833 8.79289 16.2928C9.18342 15.9022 9.81658 15.9022 10.2071 16.2928L11 17.0857V11.9999C11 11.4476 11.4477 10.9999 12 10.9999Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],UV=[["path",{d:"M11.5 3.5C11.5 2.94772 11.9477 2.5 12.5 2.5C17.4706 2.5 21.5 6.52944 21.5 11.5C21.5 12.0523 21.0523 12.5 20.5 12.5C19.9477 12.5 19.5 12.0523 19.5 11.5C19.5 7.63401 16.366 4.5 12.5 4.5C11.9477 4.5 11.5 4.05228 11.5 3.5ZM12 7C12 6.44772 12.4477 6 13 6C15.7614 6 18 8.23858 18 11C18 11.5523 17.5523 12 17 12C16.4477 12 16 11.5523 16 11C16 9.34315 14.6569 8 13 8C12.4477 8 12 7.55228 12 7Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M9.09121 5.05609L8.83795 4.48626C8.49683 3.71873 8.32626 3.33496 8.04556 3.06369C7.86027 2.88463 7.64223 2.74293 7.40335 2.64634C7.04146 2.5 6.6215 2.5 5.78157 2.5C4.53091 2.5 3.90558 2.5 3.41836 2.80363C3.11954 2.98986 2.83374 3.30601 2.67852 3.62206C2.42545 4.13735 2.48286 4.70507 2.59768 5.84052C3.55041 15.2623 8.73768 20.4496 18.1595 21.4023C19.2949 21.5171 19.8626 21.5745 20.3779 21.3215C20.694 21.1663 21.0101 20.8805 21.1964 20.5816C21.5 20.0944 21.5 19.4691 21.5 18.2184C21.5 17.3785 21.5 16.9585 21.3537 16.5966C21.2571 16.3578 21.1154 16.1397 20.9363 15.9544C20.665 15.6737 20.2813 15.5032 19.5137 15.162L18.9439 14.9088C18.2714 14.6099 17.9351 14.4604 17.5978 14.432C17.239 14.4018 16.8786 14.4687 16.5546 14.6257C16.2499 14.7733 15.9897 15.0335 15.4693 15.5539C14.9573 16.0659 14.7013 16.3219 14.3679 16.4727C14.0435 16.6194
113.5876 16.6818 13.2357 16.6276C12.874 16.5719 12.6082 16.4219 12.0767 16.1221C10.1922 15.0593 8.94074 13.8078 7.87787 11.9233C7.57805 11.3918 7.42815 11.126 7.37245 10.7643C7.31825 10.4124 7.38061 9.9565 7.52731 9.63208C7.67807 9.29869 7.93406 9.04269 8.44605 8.5307C8.96647 8.01029 9.22668 7.75008 9.37427 7.44543C9.53126 7.12138 9.59817 6.76105 9.56797 6.40224C9.53957 6.06491 9.39012 5.72863 9.09121 5.05609Z",fill:"currentColor",key:"1"}]],WV=[["path",{d:"M17.293 5.29295C17.6835 4.90243 18.3165 4.90243 18.707 5.29295C19.0976 5.68348 19.0976 6.31649 18.707 6.70702L13.4131 12L18.7061 17.293L18.7754 17.3691C19.0954 17.7619 19.0721 18.341 18.7061 18.707C18.3399 19.0731 17.7609 19.0958 17.3682 18.7754L17.292 18.707L11.999 13.414L6.70802 18.706C6.3175 19.0966 5.68449 19.0965 5.29396 18.706C4.90344 18.3155 4.90344 17.6825 5.29396 17.292L10.585 12L5.29298 6.70799L5.22462 6.63182C4.90423 6.23907 4.92691 5.66007 5.29298 5.29393C5.65897 4.92794 6.23811 4.9046 6.63087 5.22459L6.70705 5.29393L11.999 10.5859L17.293 5.29295Z",fill:"currentColor",key:"0"}]],GV=[["path",{d:"M12 1.25C17.9371 1.25 22.75 6.06294 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12C1.25 6.06294 6.06294 1.25 12 1.25ZM9.63086 8.22461C9.2381 7.90427 8.65909 7.92689 8.29297 8.29297C7.92698 8.65909 7.90429 9.23813 8.22461 9.63086L8.29297 9.70703L10.5859 12L8.29395 14.293C7.90357 14.6835 7.90344 15.3166 8.29395 15.707C8.68447 16.0972 9.31758 16.0974 9.70801 15.707L12 13.4141L14.292 15.707L14.3682 15.7754C14.7608 16.0957 15.3399 16.0729 15.7061 15.707C16.0721 15.3411 16.0954 14.7619 15.7754 14.3691L15.7061 14.293L13.4131 12L15.707 9.70703L15.7754 9.63086C16.0957 9.23812 16.073 8.65909 15.707 8.29297C15.3409 7.92689 14.7619 7.90427 14.3691 8.22461L14.293 8.29297L12 10.5859L9.70703 8.29297L9.63086 8.22461Z",fill:"currentColor",key:"0"}]],qV=[["path",{d:"M12.677 6.25H10.323H10.323C9.41935 6.24999 8.68242 6.24998 8.08091 6.31391C7.45264 6.38069 6.90581 6.52238 6.40153 6.8471C5.89724 7.17181 5.54198 7.611 5.2212 8.15532C4.91409 8.67645 4.60916 9.34732 4.23526 10.1699L4.23525 10.1699L4.23525 10.1699L3.70339 11.3401L2.44998 10.4C2.11861 10.1515 1.64851 10.2186 1.39998 10.55C1.15145 10.8814 1.21861 11.3515 1.54998 11.6L2.98239 12.6743L2.65643 13.1632L2.65643 13.1632C2.04984 14.0727 1.65801 14.6602 1.4538 15.3346C1.24958 16.0091 1.24975 16.829 1.24998 17.9222L1.24998 21.75C1.24998 22.3023 1.6977 22.75 2.24998 22.75H3.99994C4.55222 22.75 4.99994 22.3023 4.99994 21.75V20.75C4.99994 20.1977 5.44765 19.75 5.99994 19.75H16.9999C17.5522 19.75 17.9999 20.1977 17.9999 20.75V21.75C17.9999 22.3023 18.4477 22.75 18.9999 22.75H20.75C21.3023 22.75 21.75 22.3023 21.75 21.75V17.8085C21.7502 16.7153 21.7504 16.0091 21.5462 15.3346C21.342 14.6602 20.9501 14.0727 20.3435 13.1632L20.0176 12.6743L21.45 11.6C21.7814 11.3515 21.8485 10.8814 21.6 10.55C21.3515 10.2186 20.8814 10.1515 20.55 10.4L19.2966 11.3401L18.7647 10.1699L18.7646 10.1697L18.7646 10.1696C18.3908 9.34723 18.0858 8.67636 17.7788 8.15532C17.458 7.611 17.1027 7.17181 16.5984 6.8471C16.0942 6.52238 15.5473 6.38069 14.9191 6.31391C14.3176 6.24998 13.5806 6.24999 12.677 6.25H12.677ZM6.24552 12.25L5.05463 11.9907L5.58336 10.8275C5.97809 9.95913 6.25089 9.36134 6.51281 8.91688C6.76565 8.48785 6.97538 8.26122 7.21293 8.10826C7.45048 7.9553 7.74358 7.85815 8.23878 7.80551C8.75179 7.75098 9.40887 7.75 10.3628 7.75H12.6358C13.5897 7.75 14.2468 7.75098 14.7598 7.80551C15.255 7.85815 15.5481 7.9553 15.7857 8.10826C16.0232 8.26122 16.233 8.48785 16.4858 8.91688C16.7477 9.36134 17.0205 9.95912 17.4152 10.8275L17.944 11.9907L16.7531 12.25H6.24552ZM16.9999 15C17.5522 15 17.9999 15.4477 17.9999 16V16.01C17.9999 16.5623 17.5522 17.01 16.9999 17.01C16.4477 17.01 15.9999 16.5623 15.9999 16.01V16C15.9999 15.4477 16.4477 15 16.9999 15ZM6.99994 16C6.99994 15.4477 6.55222 15 5.99994 15C5.44765 15 4.99994 15.4477 4.99994 16V16.01C4.99994 16.5623 5.44765 17.01 5.99994 17.01C6.55222 17.01 6.99994 16.5623 6.99994 16.01V16Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M16.25 5C16.25 4.58579 16.5858 4.25 17 4.25C18.5188 4.25 19.75 5.48122 19.75 7C19.75 7.41421 19.4142 7.75 19 7.75C18.5858 7.75 18.25 7.41421 18.25 7C18.25 6.30964 17.6904 5.75 17 5.75C16.5858 5.75 16.25 5.41421 16.25 5Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M16.25 2C16.25 1.58579 16.5858 1.25 17 1.25C20.1756 1.25 22.75 3.82436 22.75 7C22.75 7.41421 22.4142 7.75 22 7.75C21.5858 7.75 21.25 7.41421 21.25 7C21.25 4.65279 19.3472 2.75 17 2.75C16.5858 2.75 16.25 2.41421 16.25 2Z",fill:"currentColor",fillRule:"evenodd",key:"2"}]],KV=[["path",{d:"M1.25 12C1.25 6.06294 6.06294 1.25 12 1.25C17.9371 1.25 22.75 6.06294 22.7
15 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],YV=[["path",{d:"M10.3287 21.728C10.5402 21.7803 10.764 21.7381 10.9419 21.6123C11.0581 21.5302 11.3471 21.2821 11.5075 21.1276C11.8281 20.8187 12.2521 20.3567 12.6881 19.7283C13.5624 18.4679 14.4855 16.4641 14.7154 13.7893C14.7566 13.3186 14.7944 12.8862 14.6214 12.4172C14.4484 11.9483 14.1093 11.6138 13.7341 11.2435C13.3879 10.9007 12.9908 10.5078 12.7233 10.2908C12.4399 10.0609 12.1298 9.86627 11.7462 9.78618C11.3466 9.70273 10.9516 9.77552 10.5755 9.88401C10.2047 9.99094 9.75202 10.1646 9.20853 10.3731C6.91712 11.252 5.09785 11.1125 3.27614 10.3911C3.03559 10.2959 2.76292 10.3313 2.55473 10.4849C2.34654 10.6385 2.23222 10.8886 2.25226 11.1465C2.5108 14.4739 3.42352 16.8707 4.86851 18.5737C6.31516 20.2786 8.22723 21.2079 10.3287 21.728ZM10.0077 15.5527C10.3129 15.2727 10.3334 14.7983 10.0534 14.493C9.7734 14.1878 9.29896 14.1673 8.99372 14.4473C7.88485 15.4645 6.41711 15.7718 5.14988 15.8C4.52419 15.8139 3.97118 15.759 3.57527 15.7004C3.4122 15.6763 3.27701 15.6517 3.17578 15.6316C3.3963 16.219 3.65161 16.7588 3.93997 17.2545C4.30407 17.2885 4.72604 17.3098 5.18325 17.2996C6.62644 17.2675 8.51861 16.9187 10.0077 15.5527Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M21.4774 3.93537C21.8559 3.53319 21.8367 2.90032 21.4345 2.5218C21.0324 2.14329 20.3995 2.16246 20.021 2.56464L13.5957 9.39149C13.9138 9.66306 14.3674 10.1119 14.6624 10.404C14.7723 10.5121 14.9003 10.6378 15.0323 10.7832L21.4774 3.93537Z",fill:"currentColor",key:"1"}],["path",{d:"M9 7.5C9 8.32843 8.32843 9 7.5 9C6.67157 9 6 8.32843 6 7.5C6 6.67157 6.67157 6 7.5 6C8.32843 6 9 6.67157 9 7.5Z",fill:"currentColor",key:"2"}],["path",{d:"M11 3C11.5523 3 12 3.4264 12 3.95238V4.04762C12 4.5736 11.5523 5 11 5C10.4477 5 10 4.5736 10 4.04762V3.95238C10 3.4264 10.4477 3 11 3Z",fill:"currentColor",fillRule:"evenodd",key:"3"}]],ZV=[["path",{d:"M20.4253 3.28231C19.6271 2.95101 18.5745 2.67059 17.2694 2.32287L16.2094 2.04043C14.9041 1.69265 13.8516 1.4122 12.9939 1.30229C12.1033 1.18818 11.3124 1.241 10.5821 1.66025C9.85117 2.07986 9.40864 2.73583 9.06207 3.5614C8.72864 4.35566 8.44647 5.40287 8.09691 6.70016L7.04517 10.6032L7.04517 10.6032C6.69559 11.9004 6.41338 12.9476 6.30275 13.8013C6.18777 14.6885 6.24094 15.4779 6.66391 16.2064C7.08651 16.9342 7.74618 17.3737 8.57474 17.7176C9.3729 18.0489 10.4255 18.3293 11.7306 18.677L12.7907 18.9595C14.0959 19.3073 15.1484 19.5877 16.0061 19.6976C16.8967 19.8117 17.6877 19.7589 18.4179 19.3396C19.1488 18.92 19.5914 18.2641 19.9379 17.4385C20.2714 16.6442 20.5535 15.597 20.9031 14.2997L21.9548 10.3967C22.3044 9.09953 22.5866 8.05231 22.6973 7.19861C22.8122 6.31139 22.7591 5.52199 22.3361 4.79352C21.9135 4.06567 21.2538 3.62623 20.4253 3.28231ZM15.5 8.5C16.3284 8.5 17 7.82843 17 7C17 6.17157 16.3284 5.5 15.5 5.5C14.6716 5.5 14 6.17157 14 7C14 7.82843 14.6716 8.5 15.5 8.5Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M6.42476 5.96656C6.58145 6.49615 6.27914 7.05249 5.74955 7.20917C4.16184 7.67891 3.67122 7.99964 3.43 8.4151C3.27585 8.68059 3.19912 9.0304 3.28691 9.72268C3.37843 10.4444 3.62427 11.3754 3.9895 12.7462L5.00185 16.5459C5.36709 17.9168 5.61705 18.8466 5.89654 19.5175C6.16472 20.1613 6.40448 20.424 6.66771 20.5751C6.93178 20.7267 7.28263 20.8022 7.97972 20.7109C8.70497 20.616 9.64091 20.366 11.0171 19.9951L11.4898 19.8678C12.0231 19.7241 12.5719 20.0399 12.7155 20.5731C12.8592 21.1064 12.5434 21.6552 12.0102 21.7989L11.4697 21.9445C10.1785 22.2925 9.11292 22.5796 8.23931 22.694C7.32231 22.814 6.46842 22.7668 5.67196 22.3096C4.87467 21.8519 4.40521 21.1385 4.05034 20.2866C3.71275 19.4763 3.42985 18.4143 3.08748 17.1292L2.03873 13.1929C1.69626 11.9076 1.41331 10.8457 1.3028 9.97429C1.18661 9.05805 1.23879 8.20589 1.7004 7.41087C2.38641 6.22933 3.65434 5.74336 5.18215 5.29135C5.71174 5.13467 6.26808 5.43697 6.42476 5.96656Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],QV=[["path",{d:"M12 1.25C6.06294 1.25 1.25 6.06294 1.25 12C1.25 17.9371 6.06294 22.75 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25ZM13 8C13 7.44772 12.5523 7 12 7C11.4477 7 11 7.44772 11 8V12C11 12.2652 11.1054 12.5196 11.2929 12.7071L13.2929 14.7071C13.6834 15.0976 14.3166 15.0976 14.7071 14.7071C15.0976 14.3166 15.0976 13.6834 14.7071 13.2929L13 11.5858V8Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],XV=[["path",{d:"M7.93707 10.9819C7.50512 10.55 6.96007 10.259 6.34472 10.2502C5.72436 10.2413 5.15975 10.521 4.69883 10.9819L3.97297 11.7078C1.91672 13.764 1.70097 16.9638 3.32572 19.2601L1.54289 21.0429C1.15237 21.4334 1.15237 22.0666 1.54289 22.4571C1.93342 22.8476 2.56658 22.8476 2.95711 22.4571L4.73993 20.6743C7.03616 22.299 10.236 22.0833 12.2922 20.027L13.0181 19.3012C13.45 18.8692 13.741 18.3242 13.7498 17.7088C13.7587 17.0885 13.479 16.5239 13.0181 16.0629L7.93707 10.9819Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M22.4571 2.95711L20.6743 4.73993C22.299 7.03616 22.0833 10.236 20.027 12.2922L19.3012 13.0181C18.8692 13.45 18.3242 13.741 17.7088 13.7498C17.0885 13.7587 16.5239 13.479 16.0629 13.0181L16.0491 13.0042L15.0766 13.9766C14.7121 14.3411 14.1212 14.3411 13.7567 13.9766C13.3922 13.6121 13.3922 13.0212 13.7567 12.6567L14.7291 11.6843L12.3157 9.27087L11.3433 10.2433
1C10.9788 10.6078 10.3879 10.6078 10.0234 10.2433C9.65888 9.87881 9.65888 9.28786 10.0234 8.92337L10.9958 7.95094L10.9819 7.93707C10.55 7.50512 10.259 6.96007 10.2502 6.34472C10.2413 5.72436 10.521 5.15975 10.9819 4.69883L11.7078 3.97297C13.764 1.91672 16.9638 1.70097 19.2601 3.32572L21.0429 1.54289C21.4334 1.15237 22.0666 1.15237 22.4571 1.54289C22.8476 1.93342 22.8476 2.56658 22.4571 2.95711Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],JV=[["path",{d:"M13.5476 3.25C15.3866 3.24999 16.8308 3.24998 17.9694 3.3786C19.1316 3.50988 20.074 3.78362 20.8574 4.40228C21.0919 4.58749 21.3093 4.79205 21.507 5.0138C22.1732 5.76101 22.4707 6.66669 22.6124 7.77785C22.6287 7.9057 22.6368 7.96963 22.6222 8.02578C22.5987 8.11553 22.5299 8.19375 22.4438 8.22835C22.39 8.25 22.3226 8.25 22.1878 8.25H1.81224H1.81223C1.67746 8.25 1.61007 8.25 1.55622 8.22835C1.47015 8.19375 1.40128 8.11553 1.37784 8.02578C1.36318 7.96963 1.37133 7.9057 1.38764 7.77785C1.52933 6.66669 1.82682 5.76101 2.49299 5.0138C2.69069 4.79205 2.90812 4.58749 3.14264 4.40228C3.92602 3.78362 4.86843 3.50988 6.03059 3.3786C7.16918 3.24998 8.61347 3.24999 10.4525 3.25H13.5476ZM22.75 12.0527C22.75 13.7768 22.75 15.1427 22.6124 16.2222C22.4707 17.3333 22.1732 18.239 21.507 18.9862C21.3093 19.2079 21.0919 19.4125 20.8574 19.5977C20.074 20.2164 19.1316 20.4901 17.9694 20.6214C16.8308 20.75 15.3866 20.75 13.5475 20.75H10.4525C8.61345 20.75 7.16917 20.75 6.03058 20.6214C4.86842 20.4901 3.926 20.2164 3.14263 19.5977C2.90811 19.4125 2.69068 19.2079 2.49298 18.9862C1.82681 18.239 1.52932 17.3333 1.38763 16.2222C1.24998 15.1427 1.24999 13.7767 1.25 12.0527V11.9473C1.25 11.3715 1.24999 10.8357 1.25512 10.3371C1.25795 10.0614 1.25937 9.92356 1.34704 9.83678C1.43472 9.75 1.57361 9.75 1.85139 9.75H22.1486C22.4264 9.75 22.5653 9.75 22.653 9.83678C22.7406 9.92356 22.7421 10.0614 22.7449 10.3371C22.75 10.8355 22.75 11.3712 22.75 11.9467V11.9468V11.947V11.9471V11.9472V12.0527ZM10.25 16C10.25 15.5858 10.5858 15.25 11 15.25H12.5C12.9142 15.25 13.25 15.5858 13.25 16C13.25 16.4142 12.9142 16.75 12.5 16.75H11C10.5858 16.75 10.25 16.4142 10.25 16ZM15.5 15.25C15.0858 15.25 14.75 15.5858 14.75 16C14.75 16.4142 15.0858 16.75 15.5 16.75H19C19.4142 16.75 19.75 16.4142 19.75 16C19.75 15.5858 19.4142 15.25 19 15.25H15.5Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],eH=[["path",{d:"M17.312 1.93066C15.9686 1.75004 14.2479 1.75005 12.0572 1.75006H12.0572H11.9429H11.9429C9.75218 1.75005 8.0315 1.75004 6.68808 1.93066C5.31143 2.11574 4.21917 2.50278 3.36097 3.36097C2.50278 4.21917 2.11574 5.31143 1.93066 6.68808C1.75004 8.0315 1.75005 9.75218 1.75006 11.9429V11.9429V12.0572V12.0572C1.75005 14.2479 1.75004 15.9686 1.93066 17.312C2.11574 18.6887 2.50278 19.781 3.36097 20.6391C4.21917 21.4973 5.31143 21.8844 6.68808 22.0695C8.0315 22.2501 9.7522 22.2501 11.9429 22.2501H12.0573C14.248 22.2501 15.9686 22.2501 17.312 22.0695C18.6887 21.8844 19.781 21.4973 20.6391 20.6391C21.4973 19.781 21.8844 18.6887 22.0695 17.312C22.2501 15.9686 22.2501 14.2479 22.2501 12.0572V11.9429C22.2501 9.75217 22.2501 8.0315 22.0695 6.68808C21.8844 5.31143 21.4973 4.21917 20.6391 3.36097C19.781 2.50278 18.6887 2.11574 17.312 1.93066ZM17.5645 9.49395C17.8373 9.18222 17.8057 8.7084 17.4939 8.43564C17.1822 8.16288 16.7084 8.19447 16.4356 8.50619L12.9968 12.4363C12.6878 12.316 12.3516 12.2501 12.0001 12.2501C10.4813 12.2501 9.25006 13.4813 9.25006 15.0001C9.25006 16.5189 10.4813 17.7501 12.0001 17.7501C13.5188 17.7501 14.7501 16.5189 14.7501 15.0001C14.7501 14.3783 14.5437 13.8047 14.1957 13.344L17.5645 9.49395ZM12.0001 6.75006C9.10057 6.75006 6.75006 9.10057 6.75006 12.0001C6.75006 12.4143 6.41427 12.7501 6.00006 12.7501C5.58585 12.7501 5.25006 12.4143 5.25006 12.0001C5.25006 8.27214 8.27214 5.25006 12.0001 5.25006C13.2283 5.25006 14.382 5.57878 15.3756 6.15355C15.7342 6.36096 15.8567 6.81975 15.6493 7.1783C15.4419 7.53684 14.9831 7.65937 14.6245 7.45196C13.8531 7.0057 12.9576 6.75006 12.0001 6.75006Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],tH=[["path",{d:"M12.7461 21.75C12.7461 21.1977 13.1938 20.75 13.7461 20.75L21.7461 20.75C22.2984 20.75 22.7461 21.1977 22.7461 21.75C22.7461 22.3
1023 22.2984 22.75 21.7461 22.75L13.7461 22.75C13.1938 22.75 12.7461 22.3023 12.7461 21.75Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M19.0517 1.7366C17.8469 1.06772 16.3859 1.0898 15.2014 1.79431C14.8253 2.01799 14.478 2.35124 14.0409 2.81506C13.855 3.01232 13.762 3.11094 13.7638 3.2326C13.7656 3.35426 13.8624 3.45109 14.0561 3.64476L20.4474 10.036C20.6451 10.2338 20.744 10.3327 20.8679 10.3329C20.9918 10.3332 21.0898 10.236 21.2859 10.0416C21.7067 9.62443 22.0117 9.28622 22.2192 8.92206C22.9029 7.72256 22.924 6.24777 22.2754 5.02866C22.005 4.52051 21.5497 4.05569 20.8694 3.36116L20.6853 3.17307C20.0073 2.48005 19.5515 2.01406 19.0517 1.7366Z",fill:"currentColor",key:"1"}],["path",{d:"M18.9827 12.2642C19.1899 12.0646 19.2935 11.9648 19.2947 11.8389C19.2959 11.713 19.1942 11.6113 18.9907 11.4078L12.7326 5.14972C12.5252 4.94228 12.4215 4.83856 12.2937 4.84112C12.1659 4.84367 12.0664 4.95146 11.8675 5.16704L4.14154 13.5377C3.02147 14.7509 2.33498 15.4944 1.93314 16.4194C1.53206 17.3425 1.45308 18.3582 1.32393 20.019L1.32371 20.0219C1.32348 20.0248 1.23822 21.1155 1.25138 21.3517C1.26628 21.6191 1.32998 21.9442 1.57819 22.2259C1.82863 22.5101 2.1452 22.6123 2.41173 22.6568C2.64357 22.6955 3.68775 22.7227 3.68986 22.7227C5.587 22.7727 6.75977 22.8036 7.83824 22.3823C8.91518 21.9617 9.76624 21.1417 11.1471 19.8112L18.9827 12.2642Z",fill:"currentColor",key:"2"}]],nH=[["path",{d:"M12.0983 3.24076C8.49627 1.40591 5.58549 2.46876 4.09436 3.62736C3.87777 3.79513 3.60744 4.00454 3.4284 4.3704C3.24819 4.73864 3.24921 5.09828 3.25013 5.42129L3.25 20.7505C3.25 21.3028 3.69772 21.7505 4.25 21.7505C4.80229 21.7505 5.25 21.3028 5.25 20.7505L5.25 14.9583C5.25 14.7996 5.25 14.7202 5.28978 14.6509C5.32955 14.5815 5.39264 14.5446 5.51882 14.4708C6.73777 13.758 8.8104 13.2493 11.4174 14.5773C15.1323 16.4697 18.3455 15.704 19.9297 14.838C20.0869 14.7538 20.3963 14.5879 20.5754 14.2858C20.7559 13.9815 20.7522 13.5956 20.7503 13.4013L20.7503 5.83419C20.7503 5.45456 20.7503 5.10916 20.7212 4.84205C20.695 4.60284 20.6267 4.1657 20.2569 3.88447C20.0487 3.72616 19.8203 3.68039 19.6469 3.67004C19.4763 3.65985 19.305 3.68077 19.1532 3.70766C18.862 3.75922 18.4501 3.87345 18.0201 3.99272C16.603 4.38564 14.5003 4.46434 12.0983 3.24076Z",fill:"currentColor",key:"0"}]],rH=[["path",{d:"M11.9999 4.5C11.4477 4.5 10.9999 4.05228 10.9999 3.5V1.5C10.9999 0.947715 11.4477 0.5 11.9999 0.5C12.5522 0.5 12.9999 0.947715 12.9999 1.5V3.5C12.9999 4.05228 12.5522 4.5 11.9999 4.5ZM1.49994 11C0.947654 11 0.499939 11.4477 0.499939 12C0.499939 12.5523 0.947654 13 1.49994 13H3.49994C4.05222 13 4.49994 12.5523 4.49994 12C4.49994 11.4477 4.05222 11 3.49994 11H1.49994ZM20.4999 11C19.9477 11 19.4999 11.4477 19.4999 12C19.4999 12.5523 19.9477 13 20.4999 13H22.4999C23.0522 13 23.4999 12.5523 23.4999 12C23.4999 11.4477 23.0522 11 22.4999 11H20.4999ZM10.9999 22.5C10.9999 23.0523 11.4477 23.5 11.9999 23.5C12.5522 23.5 12.9999 23.0523 12.9999 22.5V20.5C12.9999 19.9477 12.5522 19.5 11.9999 19.5C11.4477 19.5 10.9999 19.9477 10.9999 20.5V22.5Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M8.24994 12C8.24994 9.92893 9.92887 8.25 11.9999 8.25C14.071 8.25 15.7499 9.92893 15.7499 12C15.7499 14.0711 14.071 15.75 11.9999 15.75C9.92887 15.75 8.24994 14.0711 8.24994 12Z",fill:"currentColor",key:"1"}],["path",{d:"M12.0136 4.5C7.87148 4.5 4.51361 7.85786 4.51361 12C4.51361 16.1421 7.87148 19.5 12.0136 19.5C16.1557 19.5 19.5136 16.1421 19.5136 12C19.5136 7.85786 16.1557 4.5 12.0136 4.5ZM2.51361 12C2.51361 6.75329 6.76691 2.5 12.0136 2.5C17.2603 2.5 21.5136 6.75329 21.5136 12C21.5136 17.2467 17.2603 21.5 12.0136 21.5C6.76691 21.5 2.51361 17.2467 2.51361 12Z",fill:"currentColor",fillRule:"evenodd",key:"2"}]],iH=[["path",{d:"M12 1.25C17.9371 1.25 22.75 6.06294 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12C1.25 6.06294 6.06294 1.25 12 1.25ZM12 16C11.4477 16 11 16.4477 11 17C11 17.5523 11.4477 18 12 18H12.0088L12.1113 17.9951C12.6155 17.9439 13.0088 17.5177 13.0088 17C13.0088 16.4823 12.6155 16.0561 12.1113 16.0049L12.0088 16H12ZM12 6C10.067 6 8.5 7.567 8.5 9.5C8.5 10.0523 8.94772 10.5 9.5 10.5C10.0523 10.5 10.5 10.0523 10.5 9.5C10.5 8.67158 11.1716 8 12 8C12.8284 8 13.5 8.67158 13.5 9.5C13.5 9.9492 13.3034 10.3529 12.9883 10.6289L12.8467 10.7383C12.4769 10.9917 12.0355 11.3308 11.6807 11.7578C11.322 12.1896 11 12.7754 11 13.5C11 14.0523 11.4477 14.5 12 14.5C12.5523 14.5 13 14.0523 13 13.5C13 13.3962 13.0426 13.2483 13.2188 13.0361C13.3989 12.8193 13.6632 12.6035 13.9766 12.3887L14.1455 12.2656C14.9681 11.6267 15.5 10.6255 15.5 9.5C15.5 7.567 13.933 6 12 6Z",fill:"currentColor",key:"0"}]],oH=[["path",{d:"M18.489 2.90314C17.3498 2.74997 15.8942 2.74998 14.0564 2.75H14.0564H9.94358H9.94357C8.10582 2.74998 6.65019 2.74997 5.51098 2.90314C4.33856 3.06076 3.38961 3.39288 2.64124 4.14124C1.89288 4.88961 1.56076 5.83856 1.40314 7.01098C1.24997 8.15019 1.24998 9.60582 1.25 11.4436V11.4436V12.5
1564V12.5564C1.24998 14.3942 1.24997 15.8498 1.40314 16.989C1.56076 18.1614 1.89288 19.1104 2.64124 19.8588C3.38961 20.6071 4.33856 20.9392 5.51098 21.0969C6.65018 21.25 8.1058 21.25 9.94354 21.25H9.94359H14.0564H14.0565C15.8942 21.25 17.3498 21.25 18.489 21.0969C19.6614 20.9392 20.6104 20.6071 21.3588 19.8588C22.1071 19.1104 22.4392 18.1614 22.5969 16.989C22.75 15.8498 22.75 14.3942 22.75 12.5565V12.5564V11.4436V11.4435C22.75 9.6058 22.75 8.15018 22.5969 7.01098C22.4392 5.83856 22.1071 4.88961 21.3588 4.14124C20.6104 3.39288 19.6614 3.06076 18.489 2.90314ZM11.6961 15.721C10.3232 12.2997 5.5742 12.5554 4.30395 15.721C4.21122 15.9521 4.23923 16.2142 4.37872 16.4204C4.51822 16.6267 4.75099 16.7503 5 16.7503H11C11.249 16.7503 11.4818 16.6267 11.6213 16.4204C11.7608 16.2142 11.7888 15.9521 11.6961 15.721ZM6 9.75C6 8.64543 6.89543 7.75 8 7.75C9.10457 7.75 10 8.64543 10 9.75C10 10.8546 9.10457 11.75 8 11.75C6.89543 11.75 6 10.8546 6 9.75ZM14 7.75C13.5858 7.75 13.25 8.08579 13.25 8.5C13.25 8.91421 13.5858 9.25 14 9.25H19C19.4142 9.25 19.75 8.91421 19.75 8.5C19.75 8.08579 19.4142 7.75 19 7.75H14ZM14 11.25C13.5858 11.25 13.25 11.5858 13.25 12C13.25 12.4142 13.5858 12.75 14 12.75H19C19.4142 12.75 19.75 12.4142 19.75 12C19.75 11.5858 19.4142 11.25 19 11.25H14ZM14 14.75C13.5858 14.75 13.25 15.0858 13.25 15.5C13.25 15.9142 13.5858 16.25 14 16.25H16.5C16.9142 16.25 17.25 15.9142 17.25 15.5C17.25 15.0858 16.9142 14.75 16.5 14.75H14Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],aH=[["path",{d:"M12.0652 1.75C14.0744 1.74998 15.6717 1.74997 16.934 1.90331C18.2327 2.06106 19.3071 2.39345 20.1968 3.15334C20.4301 3.35261 20.6474 3.56991 20.8467 3.80323C21.6065 4.69294 21.9389 5.76729 22.0967 7.06598C22.25 8.32829 22.25 10.0561 22.25 12.0653C22.25 14.0744 22.25 15.6717 22.0967 16.934C21.9389 18.2327 21.6065 19.3071 20.8467 20.1968C20.6474 20.4301 20.4301 20.6474 20.1968 20.8467C19.3071 21.6065 18.2327 21.9389 16.934 22.0967C15.6717 22.25 13.9439 22.25 11.9347 22.25C9.92558 22.25 8.32829 22.25 7.06598 22.0967C5.76729 21.9389 4.69294 21.6065 3.80323 20.8467C3.56991 20.6474 3.35261 20.4301 3.15334 20.1968C2.39345 19.3071 2.06106 18.2327 1.90331 16.934C1.74997 15.6717 1.74998 14.0744 1.75 12.0652V12.0652C1.74998 10.
10561 1.74997 8.3283 1.90331 7.06598C2.06106 5.76729 2.39345 4.69294 3.15334 3.80323C3.35261 3.56991 3.56991 3.35261 3.80323 3.15334C4.69294 2.39345 5.76729 2.06106 7.06598 1.90331C8.3283 1.74997 10.0561 1.74998 12.0652 1.75H12.0652ZM3.84153 16.6986C3.97614 17.8067 4.22847 18.4493 4.63803 18.9288C4.77088 19.0843 4.91575 19.2292 5.0713 19.3621C5.55084 19.7716 6.19337 20.024 7.3015 20.1586C8.43237 20.2959 9.91094 20.2976 12.0001 20.2976C14.0892 20.2976 15.5678 20.2959 16.6987 20.1586C17.8068 20.024 18.4493 19.7716 18.9289 19.3621C19.0844 19.2292 19.2293 19.0843 19.3622 18.9288C19.7717 18.4493 20.024 17.8067 20.1587 16.6986C20.2103 16.2738 20.2427 15.7999 20.2631 15.263L18.5304 13.5303C18.1909 13.1908 17.7303 13 17.2501 13C16.7699 13 16.3093 13.1908 15.9698 13.5303L14.0001 15.5L10.0304 11.5303C9.69086 11.1908 9.23031 11 8.75009 11C8.26988 11 7.80933 11.1908 7.46976 11.5303L3.73706 15.263C3.75747 15.7999 3.78993 16.2738 3.84153 16.6986ZM15.5 6.25C14.8096 6.25 14.25 6.80964 14.25 7.5C14.25 8.19036 14.8096 8.75 15.5 8.75C16.1904 8.75 16.75 8.19036 16.75 7.5C16.75 6.80964 16.1904 6.25 15.5 6.25Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],sH=[["path",{d:"M14.0553 1.25H9.9447H9.94469C8.57748 1.24998 7.47477 1.24996 6.60736 1.36764C5.70602 1.48992 4.94761 1.75161 4.34597 2.35869C3.74526 2.96484 3.48716 3.72735 3.36641 4.63362C3.24997 5.50753 3.24998 6.61904 3.25 7.99973V7.99974L3.25 18.7008C3.24996 19.4095 3.24992 20.0198 3.3149 20.4869C3.38152 20.9658 3.54247 21.5107 4.05585 21.8414C4.81435 22.3299 5.65501 21.9917 6.12709 21.7447C6.39744 21.6033 7.16019 21.0865 7.37096 20.9417C7.64377 20.7696 7.7948 20.678 7.90791 20.6249C7.9296 20.6016 8.0012 20.5706 8.11405 20.6327C8.22825 20.6899 8.37416 20.7809 8.62906 20.9417L10.5667 22.1636C10.8013 22.3116 11.0235 22.4518 11.2239 22.5507C11.4476 22.6611 11.7007 22.75 12 22.75C12.2993 22.75 12.5524 22.6611 12.7761 22.5507C12.9764 22.4518 13.1986 22.3117 13.4331 22.1638L13.4332 22.1637L13.4333 22.1636L15.371 20.9417C15.6438 20.7696 15.7948 20.678 15.9079 20.6249C15.933 20.6036 16.0093 20.5753 16.114 20.6327C16.1851 20.6683 16.4654 20.8523 16.7285 21.0249C16.8882 21.1297 17.0415 21.2303 17.1378 21.2911C17.3485 21.4359 17.6026 21.6033 17.8729 21.7447C18.345 21.9917 19.1857 22.3299 19.9442 21.8414C20.4575 21.5107 20.6185 20.9658 20.6851 20.4869C20.7501 20.0198 20.75 19.4095 20.75 18.7008L20.75 7.99979C20.75 6.61907 20.75 5.50754 20.6336 4.63362C20.5128 3.72735 20.2547 2.96484 19.654 2.35869C19.0524 1.75161 18.294 1.48992 17.3926 1.36764C16.5252 1.24996 15.4225 1.24998 14.0553 1.25H14.0553ZM12 11C12 11.5523 11.5523 12 11 12H8C7.44772 12 7 11.5523 7 11C7 10.4477 7.44772 10 8 10H11C11.5523 10 12 10.4477 12 11ZM14 8C14.5523 8 15 7.55229 15 7C15 6.44772 14.5523 6 14 6H8C7.44772 6 7 6.44772 7 7C7 7.55229 7.44772 8 8 8H14Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],lH=[["path",{d:"M21.8177 17.25H2.18283L0.910363 19.3935C0.902701 19.4065 0.895427 19.4196 0.888553 19.4329C0.443179 20.2975 1.10916 21.25 2.01603 21.25H21.9844C22.89
113 21.25 23.5573 20.2975 23.1119 19.4329C23.1051 19.4196 23.0978 19.4065 23.0901 19.3935L21.8177 17.25Z",fill:"currentColor",key:"0"}],["path",{d:"M15.5538 2.75C16.6865 2.74998 17.6121 2.75041 18.3429 2.84863C19.1068 2.95134 19.7693 3.17346 20.298 3.70215C20.8267 4.23084 21.0488 4.89328 21.1515 5.65723C21.2497 6.38803 21.2501 7.31363 21.2501 8.44629V15.75H2.75012V8.44629C2.7501 7.31362 2.75053 6.38804 2.84876 5.65723C2.95147 4.89328 3.17358 4.23084 3.70227 3.70215C4.23096 3.17346 4.8934 2.95134 5.65735 2.84863C6.38815 2.75041 7.31375 2.74998 8.44641 2.75H15.5538ZM12.0001 4.75C11.4479 4.7501 11.0001 5.19778 11.0001 5.75V6.4209C10.6533 6.54358 10.3354 6.72799 10.0607 6.96094L9.50403 6.63574C9.02708 6.35774 8.41511 6.51928 8.13684 6.99609C7.85856 7.47315 8.01916 8.08598 8.49622 8.36426L9.05286 8.68848C9.01829 8.87063 9.00012 9.05839 9.00012 9.25C9.00012 9.44161 9.01829 9.62937 9.05286 9.81152L8.49622 10.1357C8.01916 10.414 7.85856 11.0269 8.13684 11.5039C8.41511 11.9807 9.02708 12.1423 9.50403 11.8643L10.0607 11.5391C10.3354 11.772 10.6533 11.9564 11.0001 12.0791V12.75C11.0001 13.3022 11.4479 13.7499 12.0001 13.75C12.5524 13.75 13.0001 13.3023 13.0001 12.75V12.0791C13.347 11.9564 13.6648 11.772 13.9396 11.5391L14.4962 11.8643C14.9733 12.1425 15.5861 11.9809 15.8644 11.5039C16.1426 11.0269 15.981 10.414 15.504 10.1357L14.9474 9.81152C14.982 9.62936 15.0001 9.44163 15.0001 9.25C15.0001 9.05837 14.982 8.87065 14.9474 8.68848L15.504 8.36426C15.981 8.086 16.1426 7.47313 15.8644 6.99609C15.5861 6.51906 14.9733 6.35751 14.4962 6.63574L13.9396 6.96094C13.6648 6.72796 13.347 6.54357 13.0001 6.4209V5.75C13.0001 5.19772 12.5524 4.75001 12.0001 4.75ZM12.0001 8.25C12.3674 8.25 12.6894 8.44774 12.8644 8.74707C12.9503 8.89405 13.0001 9.06459 13.0001 9.25C13.0001 9.43541 12.9503 9.60595 12.8644 9.75293C12.6894 10.0523 12.3674 10.25 12.0001 10.25C11.6329 10.2499 11.3108 10.0522 11.1359 9.75293C11.05 9.60598 11.0001 9.43535 11.0001 9.25C11.0001 9.06465 11.05 8.89402 11.1359 8.74707C11.3108 8.44779 11.6329 8.25006 12.0001 8.25Z",fill:"currentColor",key:"1"}]],cH=[["path",{d:"M12 2C12.5523 2 13 2.44772 13 3V6C13 6.55228 12.5523 7 12 7C11.4477 7 11 6.55228 11 6V3C11 2.44772 11.4477 2 12 2Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M12 17C12.5523 17 13 17.4477 13 18V21C13 21.5523 12.5523 22 12 22C11.4477 22 11 21.5523 11 21V18C11 17.4477 11.4477 17 12 17Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M17 12C17 11.4477 17.4477 11 18 11L21 11C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H18C17.4477 13 17 12.5523 17 12Z",fill:"currentColor",fillRule:"evenodd",key:"2"}],["path",{d:"M2 12C2 11.4477 2.44772 11 3 11L6 11C6.55228 11 7 11.4477 7 12C7 12.5523 6.55228 13 6 13H3C2.44772 13 2 12.5523 2 12Z",fill:"currentColor",fillRule:"evenodd",key:"3"}],["path",{d:"M19.0706 4.92961C19.4611 5.32014 19.4611 5.9533 19.0706 6.34383L16.9493 8.46515C16.5588 8.85567 15.9256 8.85567 15.5351 8.46515C15.1446 8.07462 15.1446 7.44146 15.5351 7.05093L17.6564 4.92961C18.0469 4.53909 18.6801 4.53909 19.0706 4.92961Z",fill:"currentColor",fillRule:"evenodd",key:"4"}],["path",{d:"M8.46515 15.5351C8.85567 15.9256 8.85567 16.5588 8.46515 16.9493L6.34383 19.0706C5.9533 19.4611 5.32014 19.4611 4.92961 19.0706C4.53909 18.6801 4.53909 18.0469 4.92961 17.6564L7.05093 15.5351C7.44146 15.1446 8.07462 15.1446 8.46515 15.5351Z",fill:"currentColor",fillRule:"evenodd",key:"5"}],["path",{d:"M15.5351 15.5351C15.9256 15.1446 16.5588 15.1446 16.9493 15.5351L19.0706 17.6564C19.4611 18.0469 19.4611 18.6801 19.0706 19.0706C18.6801 19.4611 18.0469 19.4611 17.6564 19.0706L15.5351 16.9493C15.1446 16.5588 15.1446 15.9256 15.5351 15.5351Z",fill:"currentColor",fillRule:"evenodd",key:"6"}],["path",{d:"M4.92961 4.92961C5.32014 4.53909 5.9533 4.53909 6.34383 4.92961L8.46515 7.05093C8.85567 7.44146 8.85567 8.07462 8.46515 8.46515C8.07462 8.85567 7.44146 8.85567 7.05093 8.46515L4.92961 6.34383C4.53909 5.9533 4.53909 5.32014 4.92961 4.92961Z",fill:"currentColor",fillRule:"evenodd",key:"7"}]],uH=[["path",{d:"M5.99794 16.4272C6.45239 16.7411 6.56638 17.3639 6.25254 17.8183C5.67012 18.6617 5.30838 19.2384 5.12382 19.6748C4.9515 20.0822 5.00571 20.1969 5.01938 20.2258L5.02019 20.2276C5.03784 20.2654 5.05874 20.3025 5.08287 20.3383C5.11863 20.3914 5.25287 20.5541 5.99963 20.6519C6.73331 20.748 7.76785 20.7501 9.2825 20.7501H14.718C16.2327 20.7501 17.2672 20.748 18.0009 20.6519C18.7477 20.5541 18.8819 20.3914 18.9177 20.3383L18.9804 20.2276L18.9812 20.2258C18.9948 20.1969 19.049 20.0822 18.8767 19.6748C18.6922 19.2384 18.3304 18.6617 17.748 17.8183C17.4342 17.3639 17.5482 16.7411 18.0026 16.4272C18.4571 16.1134 19.0799 16.2274 19.3937 16.6818C19.9658 17.5103 20.4433 18.2445 20.7187 18.8957C21.0028 19.5672 21.1437 20.3204 20.7931 21.0725C20.7311 21.2056 20.6586 21.3336 20.5766 21.4554C20.0379 22.2555 19.1424 22.5195 18.2607 22.635C17.3813 22.7502 16.2141 22.7501 14.793 22.7501H9.20757H9.20757C7.78644 22.7501 6.61928 22.7502 5.73987 22.635C4.85814 22.5195 3.96267 22.2555 3.4239 21.4554C3.34191 21.3336 3.26949 21.2056 3.20744 21.0725C2.85686 20.3204 2.99778 19.5672 3.2818 18.8957C3.55721 18.2445 4.03474 17.5103 4.60683 16.6818C4.92067 16.2274 5.54349 16.1134 5.99794 16.4272Z",fill:"currentColor",key:"0"}],["path",{d:"M12.0005 1.25C8.94965 1.25 6.05208 3.10493 4.84158 6.01574C3.71464 8.72562 4.32729 11.035 5.59274 13.0023C6.62554 14.6079 8.13245 16.0411 9.47688 17.3198C9.73237 17.5628 9.98199 17.8002 10.2214 18.0322L10.223 18.0338C10.7003 18.4935 11.3377 18.75 12.0005 18.75C12.6633 18.75 13.3008 18.4935 13.7781 18.0337C14.0042 17.8159 14.2392 17.5932 14.4795 17.3655L14.4802 17.3648L14.4806 17.3645C15.8394 16.0769 17.367 14.6292 18.4106 13.0032C19.6745 11.034 20.285 8.72228 19.1595 6.01574C17.949 3.10493 15.0514 1.25 12.0005 1.25ZM12 6C10.3431 6 9 7.34315 9 9C9 10.6569 10.3431 12 12 12C13.6569 12 15 10.6569 15 9C15 7.34315 13.6569 6 12 6Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],dH=[["path",{d:"M12 1.25C6.72451 1.25 2.25 5.60954 2.25 10.9258C2.25 13.6482 3.40187 15.9241 5.01689 17.8025C6.62496 19.6728 8.71834 21.1811 10.6782 22.3944L10.6911 22.4024L10.7043 22.4098C11.0996 22.6329 11.546 22.75 12 22.75C12.454 22.75 12.9004 22.6329 13.2957 22.4098L13.3072 22.4033L13.3185 22.3964C15.2855 21.1928 17.3793 19.6796 18.9866 17.8038C20.6003 15.9206 21.75 13.6392 21.75 10.9258C21.75 5.60954 17.2755 1.25 12 1.25ZM12 7C9.79086 7 8 8.79086 8 11C8 13.2091 9.79086 15 12 15C14.2091 15 16 13.2091 16 11C16 8.79086 14.2091 7 12 7Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],hH=[["path",{d:"M5.29559 17.4027C5.76357 17.6959 5.9052 18.3131 5.61192 18.781C5.28558 19.3
1018 5.11277 19.6548 5.03909 19.9071C4.97423 20.1293 5.00667 20.1989 5.0199 20.2273C5.03755 20.2652 5.05853 20.3024 5.08266 20.3382C5.11843 20.3913 5.25267 20.554 5.99942 20.6518C6.7331 20.7479 7.76765 20.75 9.2823 20.75H14.7178C16.2325 20.75 17.267 20.7479 18.0007 20.6518C18.7475 20.554 18.8817 20.3913 18.9175 20.3382C18.9416 20.3024 18.9626 20.2652 18.9802 20.2273C18.9935 20.1989 19.0259 20.1293 18.961 19.9071C18.8874 19.6548 18.7146 19.3018 18.3882 18.781C18.0949 18.3131 18.2366 17.6959 18.7045 17.4027C19.1725 17.1094 19.7896 17.251 20.0829 17.719C20.4331 18.2778 20.7274 18.8209 20.8809 19.3467C21.0431 19.9022 21.063 20.493 20.7929 21.0724C20.7309 21.2055 20.6584 21.3335 20.5764 21.4553C20.0377 22.2554 19.1422 22.5194 18.2605 22.6349C17.3811 22.7501 16.2139 22.75 14.7928 22.75H9.20737H9.20737C7.78624 22.75 6.61907 22.7501 5.73967 22.6349C4.85794 22.5194 3.96247 22.2554 3.4237 21.4553C3.34171 21.3335 3.26929 21.2056 3.20724 21.0724C2.93714 20.493 2.95707 19.9022 3.11922 19.3467C3.27271 18.8209 3.567 18.2778 3.91721 17.719C4.21049 17.251 4.82761 17.1094 5.29559 17.4027Z",fill:"currentColor",key:"0"}],["path",{d:"M12 1.25C7.52225 1.25 3.75 5.01857 3.75 9.5869C3.75 14.2671 7.60753 17.3945 10.8271 19.4273L10.84 19.4355L10.8533 19.4431C11.2022 19.644 11.5974 19.75 12 19.75C12.4026 19.75 12.7978 19.644 13.1467 19.4431L13.1583 19.4365L13.1696 19.4294C16.4018 17.4121 20.25 14.2513 20.25 9.5869C20.25 5.01857 16.4778 1.25 12 1.25ZM12 6C10.067 6 8.5 7.567 8.5 9.5C8.5 11.433 10.067 13 12 13C13.933 13 15.5 11.433 15.5 9.5C15.5 7.567 13.933 6 12 6Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],fH=[["path",{d:"M12 1.25C6.72451 1.25 2.25 5.60954 2.25 10.9258C2.25 13.6482 3.40187 15.9241 5.01689 17.8025C6.62496 19.6728 8.71834 21.1811 10.6782 22.3944L10.6911 22.4024L10.7043 22.4098C11.0996 22.6329 11.546 22.75 12 22.75C12.454 22.75 12.9004 22.6329 13.2957 22.4098L13.3072 22.4033L13.3185 22.3964C15.2855 21.1928 17.3793 19.6796 18.9866 17.8038C20.6003 15.9206 21.75 13.6392 21.75 10.9258C21.75 5.60954 17.2755 1.25 12 1.25ZM16.3338 8.9429C16.8544 8.75852 17.127 8.18702 16.9426 7.66643C16.7582 7.14583 16.1868 6.87327 15.6662 7.05765C14.788 7.36865 13.9486 7.96179 13.212 8.60781C12.465 9.26292 11.7666 10.0235 11.1733 10.7347C10.734 11.2613 10.3456 11.7689 10.0304 12.1997C9.74163 11.8538 9.45398 11.6011 9.1797 11.4182C8.9053 11.2353 8.55228 11.0003 8 11.0003C7.44772 11.0003 7 11.448 7 12.0003C7 12.521 7.39799 12.9487 7.90638 12.9959C8.11042 13.0149 8.66489 13.5661 9.10557 14.4475C9.26675 14.7698 9.58893 14.9805 9.94886 14.999C10.3087 15.0174 10.6508 14.8406 10.8441 14.5365C10.8441 14.5365 11.1922 14.0141 11.3574 13.7801C11.6885 13.3111 12.1572 12.6774 12.7091 12.0159C13.2628 11.3521 13.888 10.6751 14.5307 10.1115C15.1837 9.53876 15.8002 9.1319 16.3338 8.9429Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],pH=[["path",{d:"M14.6823 2.78681C12.7265 2.73773 11.2735 2.73774 9.3177 2.78681L9.24285 2.78869C7.73349 2.82652 6.49161 2.85765 5.49064 3.03175C4.42828 3.21654 3.53876 3.57641 2.78536 4.33174C2.0359 5.08311 1.67705 5.9586 1.49526 7.00416C1.32465 7.98538 1.29883 9.19623 1.26758 10.6617L1.26597 10.7371C1.24467 11.7351 1.24468 12.265 1.26599 13.2629L1.2676 13.3383C1.29884 14.8038 1.32466 16.0146 1.49527 16.9959C1.67707 18.0414 2.03592 18.9169 2.78537 19.6683C3.53878 20.4236 4.42829 20.7835 5.49066 20.9683C6.49162 21.1424 7.7335 21.1735 9.24286 21.2113L9.31772 21.2132C11.2735 21.2623 12.7265 21.2623 14.6823 21.2132L14.7571 21.2113C16.2665 21.1735 17.5084 21.1423 18.5094 20.9682C19.5717 20.7835 20.4612 20.4236 21.2146 19.6683C21.9641 18.9169 22.323 18.0414 22.5047 16.9958C22.6754 16.0146 22.7012 14.8038 22.7324 13.3383L22.734 13.2629C22.7553 12.2649 22.7553 11.7351 22.734 10.7371L22.7324 10.6618C22.7012 9.19627 22.6753 7.98538 22.5047 7.00416C22.3229 5.9586 21.9641 5.08311 21.2146 4.33174C20.7913 3.90728 20.3249 3.6077 19.809 3.39389C19.7305 3.35104 19.6464 3.31873 19.5587 3.29811C19.2289 3.18184 18.8796 3.09616 18.5093 3.03176C17.5084 2.85765 16.2665 2.82652 14.7571 2.78868L14.6823 2.78681ZM20.6798 8.8503C20.6604 8.44479 20.6507 8.24204 20.5039 8.16109C20.3571 8.08014 20.1765 8.18242 19.8155 8.38697L15.5798 10.787C14.2801 11.5234 13.181 12 11.9998 12C10.8186 12 9.71946 11.5234 8.41985 10.787L4.18445 8.38719C3.82343 8.18263 3.64292 8.08035 3.49608 8.1613C3.34924 8.24225 3.33957 8.44501 3.32023 8.85053C3.29416 9.39704 3.28003 10.0306 3.26403 10.7797C3.24333 11.7492 3.24334 12.2508 3.26405 13.2203C3.29736 14.7803 3.32261 15.8393 3.46432 16.6543C3.59776 17.4218 3.82038 17.8777 4.20122 18.2595C4.5781 18.6374 5.04027 18.8638 5.83355 19.0018C6.67174 19.1476 7.76497 19.1776 9.36791 19.2178C11.2902 19.266 12.7098 19.266 14.6321 19.2178C16.235 19.1776 17.3283 19.1476 18.1665 19.0018C18.9597 18.8638 19.4219 18.6374 19.7988 18.2595C20.1796 17.8777 20.4023 17.4218 20.5357 16.6543C20.6774 15.8393 20.7027 14.7803 20.736 13.2203C20.7567 12.2508 20.7567 11.7492 20.736 10.7797C20.72 10.0305 20.7058 9.39687 20.6798 8.8503Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],mH=[["path",{d:"M7.25 3.03992C7.25 2.71239 7.25 2.54862 7.13415 2.45854C7.1208 2.44816 7.10282 2.43665 7.08779 2.42889C6.95744 2.36148 6.81999 2.42497 6.54509 2.55193C6.08426 2.76476 5.55431 3.07219 4.90724 3.44758L3.6187 4.19506L3.61869 4.19506C3.15062 4.46657 2.75247 4.69752 2.44084 4.92255C2.10848 5.16254 1.82705 5.42805 1.61998 5.79153C1.4134 6.15414 1.32728 6.53278 1.28746 6.94308C1.24997 7.32945 1.24999 7.79579 1.25 8.34695V8.34697V8.347V16.586V16.586V16.5861C1.24999 17.3152 1.24998 17.918 1.29639 18.3895C1.34327 18.8656 1.44676 19.3439 1.75833 19.7304C2.09802 20.1519 2.57688 20.4384 3.11024 20.5336C3.60335 20.6216 4.0707 20.4736 4.5015 20.2791C4.92742 20.0869 5.49919 19.7552 6.11822 19.396C6.40134 19.2318 6.6546 19.0849 6.89091 18.9628C7.07195 18.8692 7.16247 18.8225 7.20624 18.7506C7.25 18.6787 7.25 18.5841 7.25 18.395L7.25 3.03992ZM8.75 18.2663C8.75 18.4689 8.75 18.5702 8.7977 18.6444C8.84539 18.7185 8.94451 18.7637 9.14275 18.854C9.36402 18.9548 9.6448 19.0928 10.0237 19.2812L13.8376 21.1776C14.0293 21.273 14.25 21.1336 14.25 20.9194L14.25 5.16234C14.25 4.98149 14.25 4.89107 14.205 4.81847C14.16 4.74587 14.0791 4.70561 13.9171 4.62509L11.1426 3.2455L11.1425 3.24549C10.4736 2.91284 9.92553 2.64033 9.45232 2.45775C9.16027 2.34507 9.01425 2.28873 8.88544 2.37324C8.88226 2.37533 8.87831 2.37804 8.87522 2.38025C8.75 2.47001 8.75 2.639 8.75 2.97699L8.75 18.2663ZM15.9214 5.25112C15.8268 5.25112 15.75 5.32766 15.75 5.42219L15.75 21.5584C15.75 21.6189 15.799 21.668 15.8595 21.668L18.0529 21.668C18.9506 21.668 19.7008 21.668 20.2966 21.5861C20.9275 21.4995 21.4955 21.3086 21.9503 20.8437C22.4028 20.3812 22.5866 19.8073 22.6704 19.1705C22.7501 18.5647 22.75 17.8008 22.75 16.8809V10.0382C22.75 9.11823 22.7501 8.35436 22.6704 7.74862C22.5866 7.11175 22.4028 6.53786 21.9503 6.07533C21.4955 5.61052 20.9275 5.41963 20.2966 5.33294C19.7008 5.25106 18.9506 5.25109 18.0529 5.25112L15.9214 5.25112Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],gH=[["path",{d:"M10.5163 2.04296C10.6958 2.27649 10.722 2.59345 10.5832 2.85326C9.99927 3.9469 9.66792 5.19607 9.66792 6.52485C9.66792 10.8367 13.1633 14.3321 17.4751 14.3321C18.8039 14.3321 20.0531 14.0007 21.1467 13.4168C21.4065 13.278 21.7235 13.3042 21.957 13.4837C22.1906 13.6632 22.2974 13.9627 22.2302 14.2495C21.1556 18.8349 17.0409 22.25 12.1269 22.25C6.39589 22.25 1.75 17.6041 1.75 11.8731C1.75 6.95906 5.16505 2.84445 9.7505 1.76979C10.0373 1.70258 10.3368 1.80944 10.5163 2.04296Z",fill:"currentColor",key:"0"}]],vH=[["path",{d:"M20.4155 3.66085C22.3012 5.52939 19.2842 20.7253 16.1883 20.9931C13.5911 21.2177 12.7819 16.0954 12.2348 14.4719C11.695 12.8696 11.0943 12.2927 9.50513 11.767C5.46811 10.4315 3.4496 9.76374 3.04996 8.70639C1.99171 5.90649 18.0071 1.27438 20.4155 3.66085Z",fill:"currentColor",key:"0"}]],yH=[["path",{d:"M4.25012 1.99988C4.80241 1.99988 5.25012 2.44759 5.25012 2.99988L5.25012 20.9999C5.25012 21.5522 4.80241 21.9999 4.25012 21.9999C3.69784 21.9999 3.25012 21.5522 3.25012 20.9999L3.25012 2.99988C3.25012 2.44759 3.69784 1.99988 4.25012 1.99988Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M19.7501 1.99988C20.3024 1.99988 20.7501 2.44759 20.7501 2.99988L20.7501 20.9999C20.7501 21.5522 20.3024 21.9999 19.7501 21.9999C19.1978 21.9999 18.7501 21.5522 18.7501 20.9999L18.7501 2.99988C18.7501 2.44759 19.1978 1.99988 19.7501 1.99988Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M10.3882 14.9584C10.7721 14.4461 11.2713 13.9999 12.0001 13.9999C12.729 13.9999 13.2281 14.4461 13.612 14.9584C13.9818 15.4518 14.3616 16.1657 14.8156 17.0187L15.5188 18.3401C15.8666 18.9935 16.
11581 19.5413 16.3236 19.9672C16.4087 20.1861 16.4823 20.4252 16.4973 20.6643C16.5134 20.9193 16.464 21.214 16.2576 21.4704C16.1148 21.6479 15.9332 21.7864 15.7324 21.8817C15.4627 22.0097 15.1853 22.0163 14.9475 21.9824C14.714 21.9491 14.4739 21.8704 14.2379 21.7756C13.7782 21.591 13.1892 21.2841 12.4691 20.909C12.3213 20.832 12.203 20.7707 12.1242 20.734C12.0918 20.7188 12.0755 20.7113 12.0594 20.7059C12.0433 20.7005 12.0428 20.7004 12.0417 20.7001C12.0095 20.6933 11.965 20.6931 11.9168 20.7156C11.8415 20.7478 11.7071 20.8173 11.5311 20.909C10.811 21.2841 10.2221 21.591 9.76232 21.7756C9.52635 21.8704 9.28627 21.9491 9.05271 21.9824C8.81494 22.0163 8.53754 22.0097 8.26781 21.8817C8.06704 21.7864 7.88542 21.6479 7.74263 21.4704C7.53626 21.214 7.48689 20.9193 7.50292 20.6643C7.51795 20.4252 7.59151 20.1861 7.67661 19.9672C7.84216 19.5413 8.13368 18.9936 8.48145 18.3401L9.18469 17.0187C9.63861 16.1657 10.0185 15.4518 10.3882 14.9584Z",fill:"currentColor",key:"2"}],["path",{d:"M12.0001 1.99988C12.5524 1.99988 13.0001 2.44759 13.0001 2.99988L13.0001 4.99988C13.0001 5.55216 12.5524 5.99988 12.0001 5.99988C11.4478 5.99988 11.0001 5.55216 11.0001 4.99988L11.0001 2.99988C11.0001 2.44759 11.4478 1.99988 12.0001 1.99988Z",fill:"currentColor",fillRule:"evenodd",key:"3"}],["path",{d:"M12.0001 7.99988C12.5524 7.99988 13.0001 8.44759 13.0001 8.99988L13.0001 10.9999C13.0001 11.5522 12.5524 11.9999 12.0001 11.9999C11.4478 11.9999 11.0001 11.5522 11.0001 10.9999L11.0001 8.99988C11.0001 8.44759 11.4478 7.99988 12.0001 7.99988Z",fill:"currentColor",fillRule:"evenodd",key:"4"}]],bH=[["path",{d:"M11.8547 6.89164L11.944 6.94907C13.2606 7.79546 14.307 8.46813 15.0505 9.0836C15.8069 9.70969 16.3649 10.3669 16.5441 11.2201C16.652 11.734 16.652 12.266 16.5441 12.7799C16.3649 13.6331 15.8069 14.2903 15.0505 14.9164C14.307 15.5319 13.2606 16.2045 11.9441 17.0509L11.8547 17.1083C10.4211 18.03 9.2858 18.7599 8.35942 19.2074C7.42728 19.6578 6.54123 19.9077 5.66621 19.6401C5.1501 19.4823 4.67749 19.2057 4.28265 18.8332C3.62188 18.21 3.36562 17.3146 3.24511 16.257C3.12498 15.2028 3.12499 13.8137 3.125 12.0508V11.9492C3.12499 10.1863 3.12498 8.79722 3.24511 7.74303C3.36562 6.68539 3.62188 5.79 4.28265 5.16675C4.67749 4.79434 5.1501 4.51766 5.66621 4.35985C6.54123 4.09228 7.42727 4.3422 8.35942 4.79254C9.2858 5.2401 10.4211 5.97001 11.8547 6.89164Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M19.875 3C19.3227 3 18.875 3.44772 18.875 4L18.875 20C18.875 20.5523 19.3227 21 19.875 21C20.4273 21 20.875 20.5523 20.875 20L20.875 4C20.875 3.44772 20.4273 3 19.875 3Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],CH=[["path",{d:"M15.75 20C15.0345 21.3387 13.624 22.25 12 22.25C10.376 22.25 8.96548 21.3387 8.25 20H15.75ZM12 1.75C16.2802 1.75 19.75 5.21979 19.75 9.5V12.2559C19.75 12.8526 19.9872 13.4247 20.4092 13.8467L21.0127 14.4502C21.4849 14.9225 21.75 15.5635 21.75 16.2314C21.7498 17.6223 20.6223 18.7498 19.2314 18.75H4.76855C3.37767 18.7498 2.25017 17.6223 2.25 16.2314C2.25 15.5635 2.51512 14.9225 2.9873 14.4502L3.59082 13.8467L3.74023 13.6816C4.06829 13.2813 4.24999 12.778 4.25 12.2559V9.5C4.25 5.21979 7.71979 1.75 12 1.75Z",fill:"currentColor",key:"0"}]],wH=[["path",{d:"M16.9506 3.25L17 3.25L17.0494 3.25H17.0494C17.7143 3.24996 18.2871 3.24993 18.7458 3.31161C19.2375 3.37771 19.7087 3.52677 20.091 3.90901C20.4732 4.29126 20.6223 4.76252 20.6884 5.25416C20.7501 5.71291 20.75 6.28577 20.75 6.95064V17.0494C20.75 17.7142 20.7501 18.2871 20.6884 18.7458C20.6223 19.2375 20.4732 19.7087 20.091 20.091C19.7087 20.4732 19.2375 20.6223 18.7458 20.6884C18.2871 20.7501 17.7142 20.75 17.0494 20.75H16.9506C16.2858 20.75 15.7129 20.7501 15.2542 20.6884C14.7625 20.6223 14.2913 20.4732 13.909 20.091C13.5268 19.7087 13.3777 19.2375 13.3116 18.7458C13.2499 18.2871 13.25 17.7143 13.25 17.0494V17.0494V6.95063V6.95058C13.25 6.28574 13.2499 5.71289 13.3116 5.25416C13.3777 4.76252 13.5268 4.29126 13.909 3.90901C14.2913 3.52677 14.7625 3.37771 15.2542 3.31161C15.7129 3.24993 16.2857 3.24996 16.9506 3.25H16.9506Z",fill:"currentColor",key:"0"}],["path",{d:"M6.95072 3.25L7.00009 3.25L7.04947 3.25H7.04952C7.71436 3.24996 8.28721 3.24993 8.74594 3.31161C9.23758 3.37771 9.70884 3.52677 10.0911 3.90901C10.4733 4.29126 10.6224 4.76252 10.6885 5.25416C10.7502 5.71291 10.7501 6.28577 10.7501 6.95064V17.0494C10.7501 17.7142 10.7502 18.2871 10.6885 18.7458C10.6224 19.2375 10.4733 19.7087 10.0911 20.091C9.70884 20.4732 9.23758 20.6223 8.74594 20.6884C8.28719 20.7501 7.71433 20.75 7.04946 20.75H6.95073C6.28586 20.75 5.713 20.7501 5.25425 20.6884C4.76261 20.6223 4.29135 20.4732 3.9091 20.091C3.52686 19.7087 3.3778 19.2375 3.3117 18.7458C3.25003 18.2871 3.25006 17.7143 3.25009 17.0494V17.0494V6.95063V6.95058C3.25006 6.28574 3.25003 5.71289 3.3117 5.25416C3.3778 4.76252 3.52686 4.29126 3.9091 3.90901C4.29135 3.52677 4.76261 3.37771 5.25425 3.31161C5.71298 3.24993 6.28583 3.24996 6.95067 3.25H6.95072Z",fill:"currentColor",key:"1"}]],EH=[["path",{d:"M16.8846 3.08477C17.9976 1.97174 19.8022 1.97174 20.9152 3.08477C22.0283 4.1978 22.0283 6.00237 20.9152 7.1154L20.4556 7.57505L16.425 3.54442L16.8846 3.08477ZM15.3643 4.60508L19.3949 8.63571L13.2659 14.7647C12.6623 15.3684 11.9059 15.7966 11.0778 16.0036L8.18192 16.7276C7.92634 16.7915 7.65597 16.7166 7.46969 16.5303C7.2834 16.344 7.20851 16.0737 7.27241 15.8181L7.99638 12.9222C8.20342 12.0941 8.63164 11.3377 9.23526 10.7341L15.3643 4.60508ZM10.5138 4.25L10.4522 4.25C8.90646 4.24998 7.66026 4.24996 6.66959 4.36706C5.64431 4.48825 4.76696 4.74633 4.02722 5.3534C3.78107 5.55542 3.55536 5.78112 3.35335 6.02728C2.74627 6.76701 2.48819 7.64436 2.367 8.66963C2.2499 9.6603 2.24992 10.9065 2.24994 12.4522V12.4522V13.0709V13.0709C2.24991 14.8438 2.24989 16.2728 2.401 17.3967C2.55788 18.5635 2.8935 19.546 3.67375 20.3262C4.45402 21.1065 5.43644 21.4421 6.60324 21.599C7.72709 21.75 9.15603 21.75 10.9288 21.75H11.5477C13.0934 21.75 14.3396 21.75 15.3303 21.6329C16.3556 21.5117 17.2329 21.2537 17.9727 20.6466C18.2188 20.4446 18.4445 20.2189 18.6465 19.9727C19.2536 19.233 19.5117 18.3557 19.6329 17.3304C19.75 16.3397 19.75 15.0935 19.7499 13.5479V13.5478V13.4861C19.7499 12.9492 19.3147 12.5139 18.7777 12.5139C18.2408 12.5139 17.8055 12.9492 17.8055 13.4861C17.8055 15.108 17.8039 16.239 17.7019 17.1021C17.6024 17.9438 17.4191 18.4033 17.1434 18.7392C17.0222 18.8869 16.8868 19.0223 16.7391 19.1435C16.4032 19.4192 15.9438 19.6024 15.102 19.7019C14.2389 19.804 13.1079 19.8056 11.486 19.8056H10.9999C9.13922 19.8056 7.84149 19.8035 6.86234 19.6718C5.91115 19.544 5.40745 19.3101 5.04868 18.9513C4.68992 18.5925 4.456 18.0888 4.32811 17.1376C4.19646 16.1585 4.19439 14.8607 4.19439 13V12.5139C4.19439 10.892 4.19598 9.76104 4.29801 8.89788C4.3975 8.05618 4.58079 7.59669 4.85644 7.26081C4.97764 7.11312 5.11307 6.97769 5.26076 6.85649C5.59664 6.58084 6.05613 6.39756 6.89784 6.29806C7.761 6.19604 8.89194 6.19445 10.5138 6.19445C11.0508 6.19445 11.4861 5.75917 11.4861 5.22222C11.4861 4.68528 11.0508 4.25 10.5138 4.25Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],kH=[["path",{d:"M12 1.25C6.06294 1.25 1.25 6.06294 1.25 12C1.25 17.9371 6.06294 22.7
15 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25ZM13.3719 14.6859C15.281 13.6736 16.2355 13.1675 16.4375 12.4512C16.5208 12.1555 16.5208 11.8445 16.4375 11.5488C16.2355 10.8325 15.281 10.3264 13.3719 9.31409C11.5263 8.33551 10.6035 7.84621 9.85991 8.04289C9.55246 8.12421 9.27234 8.27864 9.04642 8.49137C8.5 9.00592 8.5 10.0039 8.5 12C8.5 13.9961 8.5 14.9941 9.04642 15.5086C9.27234 15.7214 9.55246 15.8758 9.85991 15.9571C10.6035 16.1538 11.5263 15.6645 13.3719 14.6859L13.3719 14.6859Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],SH=[["path",{d:"M13.9405 6.337C15.5735 7.26468 16.8567 7.99369 17.7709 8.66148C18.6913 9.33386 19.3721 10.0366 19.6159 10.9632C19.7947 11.6426 19.7947 12.3574 19.6159 13.0368C19.3721 13.9634 18.6913 14.6661 17.7709 15.3385C16.8567 16.0063 15.5735 16.7353 13.9406 17.663L13.9406 17.663C12.3632 18.5591 11.033 19.3148 10.0232 19.7444C9.0053 20.1773 8.07729 20.3968 7.17536 20.1412C6.51252 19.9533 5.90941 19.5968 5.42356 19.1066C4.76419 18.4414 4.49951 17.5219 4.37429 16.4154C4.24998 15.3169 4.24999 13.879 4.25 12.0501V12.0501V11.9499V11.9499C4.24999 10.121 4.24998 8.68309 4.37429 7.58464C4.49951 6.4781 4.76419 5.55861 5.42356 4.89335C5.90941 4.40317 6.51252 4.04666 7.17536 3.85883C8.07729 3.60325 9.0053 3.82269 10.0232 4.25565C11.033 4.68516 12.3632 5.44084 13.9405 6.337Z",fill:"currentColor",key:"0"}]],xH=[["path",{d:"M12 1.25C8.42386 1.25 5.6395 2.32282 3.8096 3.73389C3.6078 3.88881 3.34391 4.09144 3.1721 4.37757C3.02239 4.62691 2.92678 4.96245 2.92259 5.25324C2.91777 5.5883 3.02986 5.88482 3.13254 6.15644C3.4549 7.01607 3.59815 7.40856 3.6464 7.72379C3.68582 7.98131 3.69777 8.09469 3.69837 8.19599C3.69898 8.29729 3.68839 8.4108 3.65206 8.66878C3.63436 8.79442 3.56466 9.05168 3.39635 9.54931C3.23404 10.0292 3.00002 10.6768 2.6825 11.5554C2.42494 12.2681 2.25 13.0815 2.25 14C2.25 17.4259 5.07073 20.0408 7.8181 20.7276C9.89753 21.2475 10.9124 21.973 11.4697 22.5303C11.7626 22.8232 12.2374 22.8232 12.5303 22.5303C13.0876 21.973 14.1025 21.2475 16.1819 20.7276C18.9293 20.0408 21.75 17.4259 21.75 14C21.75 13.0815 21.5751 12.2681 21.3175 11.5554C21 10.6768 20.766 10.0292 20.6036 9.54931C20.4353 9.05168 20.3656 8.79442 20.3479 8.66878C20.3116 8.4108 20.301 8.29729 20.3016 8.19599C20.3022 8.09469 20.3142 7.98131 20.3536 7.72379C20.4018 7.40856 20.5451 7.01607 20.8675 6.15644C20.9701 5.88482 21.0822 5.58829 21.0774 5.25324C21.0732 4.96245 20.9776 4.62691 20.8279 4.37757C20.6561 4.09144 20.3922 3.88881 20.1904 3.73389C18.3605 2.32282 15.5761 1.25 12 1.25ZM13.5693 8.74679L12.7774 7.14988C12.35 6.28337 11.6481 6.28337 11.2161 7.14988L10.4242 8.74679C10.3162 8.96909 10.0282 9.18232 9.78977 9.22315L8.35443 9.46359C7.43653 9.61784 7.22505 10.2893 7.88198 10.9516L8.99785 12.0767C9.18683 12.2673 9.29032 12.6347 9.23183 12.8979L8.91236 14.2906C8.66039 15.3885 9.24533 15.8195 10.2082 15.2433L11.5536 14.4403C11.801 14.2952 12.2015 14.2952 12.4445 14.4403L13.7898 15.2433C14.7572 15.8195 15.3377 15.393 15.0857 14.2906L14.7662 12.8979C14.7077 12.6347 14.8112 12.2673 15.0002 12.0767L16.1161 10.9516C16.7775 10.2893 16.5615 9.61784 15.6436 9.46359L14.2083 9.22315C13.9653 9.18232 13.6773 8.96909 13.5693 8.74679Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],TH=[["path",{d:"M12.1453 6.89166L12.056 6.94908C10.7394 7.79548 9.69302 8.46815 8.9495 9.08361C8.19314 9.70971 7.63505 10.3669 7.45592 11.2202C7.34803 11.734 7.34803 12.266 7.45592 12.7799C7.63505 13.6331 8.19314 14.2903 8.9495 14.9164C9.69302 15.5319 10.7394 16.2045 12.0559 17.0509L12.1453 17.1083C13.5789 18.03 14.7142 18.7599 15.6406 19.2075C16.5727 19.6578 17.4588 19.9077 18.3338 19.6402C18.8499 19.4823 19.3225 19.2057 19.7173 18.8333C20.3781 18.21 20.6344 17.3146 20.7549 16.257C20.875 15.2028 20.875 13.8137 20.875 12.0509V11.9492C20.875 10.1863 20.875 8.79723 20.7549 7.74304C20.6344 6.6854 20.3781 5.79002 19.7173 5.16677C19.3225 4.79435 18.8499 4.51767 18.3338 4.35986C17.4588 4.0923 16.5727 4.34221 15.6406 4.79256C14.7142 5.24012 13.5789 5.97002 12.1453 6.89166Z",fill:"currentColor",fillRule:"evenodd",key:"0"}
1],["path",{d:"M4.125 3C4.67728 3 5.125 3.44772 5.125 4L5.125 20C5.125 20.5523 4.67728 21 4.125 21C3.57271 21 3.125 20.5523 3.125 20L3.125 4C3.125 3.44772 3.57272 3 4.125 3Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],MH=[["path",{d:"M18.0005 1.25C16.1373 1.25 14.3603 2.36363 13.6145 4.12898C12.9165 5.78117 13.305 7.19785 14.0715 8.37081C14.6855 9.31037 15.5816 10.1488 16.3489 10.8667C16.4929 11.0014 16.6323 11.1318 16.7644 11.2578L16.7661 11.2594C17.0996 11.5756 17.5424 11.75 18.0005 11.75C18.4586 11.75 18.9014 11.5756 19.235 11.2594C19.3604 11.1404 19.4922 11.0176 19.6281 10.8909C20.403 10.1685 21.3107 9.32241 21.931 8.37106C22.6965 7.19704 23.0836 5.77916 22.3865 4.12898C21.6407 2.36363 19.8637 1.25 18.0005 1.25ZM17.9922 4.25C17.03 4.25 16.25 5.0335 16.25 6C16.25 6.9665 17.03 7.75 17.9922 7.75H18.0078C18.97 7.75 19.75 6.9665 19.75 6C19.75 5.0335 18.97 4.25 18.0078 4.25H17.9922Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M1.25 19C1.25 16.9289 2.92893 15.25 5 15.25C7.07107 15.25 8.75 16.9289 8.75 19C8.75 21.0711 7.07107 22.75 5 22.75C2.92893 22.75 1.25 21.0711 1.25 19Z",fill:"currentColor",key:"1"}],["path",{d:"M5 10C5 7.65179 7.16489 6 9.5 6H11C11.5523 6 12 6.44772 12 7C12 7.55228 11.5523 8 11 8H9.5C7.96911 8 7 9.0345 7 10C7 10.9655 7.96911 12 9.5 12H12.5C14.8351 12 17 13.6518 17 16C17 18.3482 14.8351 20 12.5 20H11C10.4477 20 10 19.5523 10 19C10 18.4477 10.4477 18 11 18H12.5C14.0309 18 15 16.9655 15 16C15 15.0345 14.0309 14 12.5 14H9.5C7.16489 14 5 12.3482 5 10Z",fill:"currentColor",fillRule:"evenodd",key:"2"}]],AH=[["path",{d:"M14.5246 1.52483C14.8907 1.15871 15.4843 1.15871 15.8504 1.52483L18 3.67442L20.1496 1.52483C20.5157 1.15871 21.1093 1.15871 21.4754 1.52483C21.8415 1.89095 21.8415 2.48454 21.4754 2.85066L19.3258 5.00024L21.4754 7.14983C21.8415 7.51595 21.8415 8.10954 21.4754 8.47566C21.1093 8.84177 20.5157 8.84177 20.1496 8.47566L18 6.32607L15.8504 8.47566C15.4843 8.84177 14.8907 8.84177 14.5246 8.47566C14.1585 8.10954 14.1585 7.51595 14.5246 7.14983L16.6742 5.00024L14.5246 2.85066C14.1585 2.48454 14.1585 1.89095 14.5246 1.52483Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M2.25 19C2.25 16.9289 3.92893 15.25 6 15.25C8.07107 15.25 9.75 16.9289 9.75 19C9.75 21.0711 8.07107 22.75 6 22.75C3.92893 22.75 2.25 21.0711 2.25 19Z",fill:"currentColor",key:"1"}],["path",{d:"M4 8.5C4 6.01472 6.01472 4 8.5 4H12C12.5523 4 13 4.44772 13 5C13 5.55228 12.5523 6 12 6H8.5C7.11929 6 6 7.11929 6 8.5C6 9.88071 7.11929 11 8.5 11H15.5C17.9853 11 20 13.0147 20 15.5C20 17.9853 17.9853 20 15.5 20H12C11.4477 20 11 19.5523 11 19C11 18.4477 11.4477 18 12 18H15.5C16.8807 18 18 16.8807 18 15.5C18 14.1193 16.8807 13 15.5 13H8.5C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor",fillRule:"evenodd",key:"2"}]],LH=[["path",{d:"M11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C13.125 20 15.078 19.2635 16.6177 18.0319L20.2929 21.7071C20.6834 22.0976 21.3166 22.0976 21.7071 21.7071C22.0976 21.3166 22.0976 20.6834 21.7071 20.2929L18.0319 16.6177C19.2635 15.078 20 13.125 20 11C20 6.02944 15.9706 2 11 2ZM4 11C4 7.13401 7.13401 4 11 4C14.866 4 18 7.13401 18 11C18 14.866 14.866 18 11 18C7.13401 18 4 14.866 4 11Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],PH=[["path",{d:"M11.9999 1.25C14.6087 1.25 17.0399 1.8277 19.0428 2.82422C19.9633 3.28218 20.6143 3.59174 21.1884 4.51855C21.7718 5.46059 21.7499 6.40064 21.7499 7.74805V11.2373C21.7497 17.3739 16.8465 20.7234 14.1698 22.1006L14.1337 22.1191C13.4159 22.4886 12.908 22.75 11.9999 22.75C11.0919 22.75 10.5848 22.4885 9.86707 22.1191L9.82996 22.1006C7.15319 20.7234 2.25001 17.3737 2.24988 11.2373V7.74805C2.24988 6.40069 2.22798 5.46055 2.8114 4.51855C3.38547 3.59173 4.03653 3.28215 4.95691 2.82422C6.95982 1.82767 9.39102 1.25003 11.9999 1.25ZM11.9999 5.75C10.4812 5.75013 9.24988 6.9813 9.24988 8.5V9.38086C8.37656 9.69005 7.74988 10.5208 7.74988 11.5V13C7.74988 14.2426 8.75735 15.2499 9.99988 15.25H13.9999C15.2425 15.25 16.2499 14.2426 16.2499 13V11.5C16.2499 10.5206 15.6234 9.68993 14.7499 9.38086V8.5C14.7499 6.98122 13.5187 5.75 11.9999 5.75ZM11.9999 7.25C12.6902 7.25 13.2499 7.80964 13.2499 8.5V9.25H10.7499V8.5C10.7499 7.80973 11.3096 7.25013 11.9999 7.25Z",fill:"currentColor",key:"0"}]],RH=[["path",{d:"M12.0602 3.25H5.09888C4.45963 3.24994 3.88527 3.24989 3.42037 3.31207C2.91282 3.37996 2.39212 3.53758 1.9656 3.9619C1.53908 4.38622 1.38063 4.90423 1.31239 5.40916C1.24989 5.87165 1.24994 6.44304 1.25 7.079L1.25001 14.9558C1.24998 15.3766 1.24995 15.7551 1.27855 16.069C1.30924 16.4059 1.37895 16.7623 1.57733 17.1042C1.79176 17.4737 2.10019 17.7805 2.4716 17.9938C2.81521 18.1912 3.49351 18.2799 3.83216 18.3105C4.24976 19.7207 5.56086 20.75 7.11363 20.75C8.6631 20.75 9.97194 19.725 10.3924 18.3194H13.6075C14.028 19.725 15.3369 20.75 16.8863 20.75C18.4358 20.75 19.7446 19.7251 20.1651 18.3195C21.2749 18.1819 22.5929 17.2935 22.7312 16.1895C22.7502 16.0375 22.7501 15.8713 22.75 15.7016V15.7015V15.7015L22.75 12.9722C22.75 9.09762 19.7122 5.92886 15.8768 5.69447C15.8085 5.18953 15.62 4.38622 15.1935 3.9619C14.767 3.53758 14.2463 3.37996 13.7387 3.31207C13.2738 3.24989 12.6994 3.24994 12.0602 3.25ZM15.9098 14.085C16.2194 13.9934 16.5475 13.9441 16.887 13.9441C18.4365 13.9441 19.7453 14.9691 20.1658 16.3746C20.608 16.3746 20.7961 16.
11892 20.7961 15.8886V12.9719C20.7961 10.1826 18.6493 7.89208 15.9098 7.64648V14.085ZM7.11434 15.8886C6.30475 15.8886 5.64844 16.5415 5.64844 17.3469C5.64844 18.1523 6.30475 18.8052 7.11434 18.8052C7.92394 18.8052 8.58025 18.1523 8.58025 17.3469C8.58025 16.5415 7.92394 15.8886 7.11434 15.8886ZM15.4211 17.3469C15.4211 16.5415 16.0774 15.8886 16.887 15.8886C17.6966 15.8886 18.353 16.5415 18.353 17.3469C18.353 18.1523 17.6966 18.8052 16.887 18.8052C16.0774 18.8052 15.4211 18.1523 15.4211 17.3469Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],OH=[["path",{d:"M4.95526 13.25C4.97013 13.25 4.98505 13.25 5.00001 13.25C5.01496 13.25 5.02988 13.25 5.04476 13.25C5.47757 13.25 5.8744 13.2499 6.19721 13.2933C6.55269 13.3411 6.92842 13.4535 7.23744 13.7626C7.54647 14.0716 7.65891 14.4473 7.70671 14.8028C7.75011 15.1256 7.75006 15.5224 7.75001 15.9553C7.75001 15.9701 7.75001 15.9851 7.75001 16V17C7.75001 17.015 7.75001 17.0299 7.75001 17.0448C7.75006 17.4776 7.75011 17.8744 7.70671 18.1972C7.65891 18.5527 7.54647 18.9284 7.23744 19.2374C6.92842 19.5465 6.55269 19.6589 6.19721 19.7067C5.8744 19.7501 5.47757 19.7501 5.04475 19.75C5.02988 19.75 5.01496 19.75 5.00001 19.75C4.98505 19.75 4.97014 19.75 4.95526 19.75C4.52245 19.7501 4.12561 19.7501 3.8028 19.7067C3.44732 19.6589 3.07159 19.5465 2.76257 19.2374C2.45355 18.9284 2.3411 18.5527 2.29331 18.1972C2.24991 17.8744 2.24995 17.4776 2.25 17.0448C2.25001 17.0299 2.25001 17.015 2.25001 17V16C2.25001 15.985 2.25001 15.9701 2.25 15.9553C2.24995 15.5224 2.24991 15.1256 2.29331 14.8028C2.3411 14.4473 2.45355 14.0716 2.76257 13.7626C3.07159 13.4535 3.44732 13.3411 3.8028 13.2933C4.12561 13.2499 4.52244 13.25 4.95526 13.25Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M11.9553 9.25C11.9701 9.25001 11.985 9.25001 12 9.25001C12.015 9.25001 12.0299 9.25001 12.0448 9.25C12.4776 9.24995 12.8744 9.24991 13.1972 9.29331C13.5527 9.3411 13.9284 9.45355 14.2374 9.76257C14.5465 10.0716 14.6589 10.4473 14.7067 10.8028C14.7501 11.1256 14.7501 11.5224 14.75 11.9553C14.75 11.9701 14.75 11.9851 14.75 12V17C14.75 17.015 14.75 17.0299 14.75 17.0448C14.7501 17.4776 14.7501 17.8744 14.7067 18.1972C14.6589 18.5527 14.5465 18.9284 14.2374 19.2374C13.9284 19.5465 13.5527 19.6589 13.1972 19.7067C12.8744 19.7501 12.4776 19.7501 12.0448 19.75C12.0299 19.75 12.015 19.75 12 19.75C11.9851 19.75 11.9701 19.75 11.9553 19.75C11.5224 19.7501 11.1256 19.7501 10.8028 19.7067C10.4473 19.6589 10.0716 19.5465 9.76257 19.2374C9.45355 18.9284 9.3411 18.5527 9.29331 18.1972C9.24991 17.8744 9.24995 17.4776 9.25 17.0448C9.25001 17.0299 9.25001 17.015 9.25001 17V12C9.25001 11.985 9.25001 11.9701 9.25 11.9553C9.24995 11.5224 9.24991 11.1256 9.29331 10.8028C9.3411 10.4473 9.45355 10.0716 9.76257 9.76257C10.0716 9.45355 10.4473 9.3411 10.8028 9.29331C11.1256 9.24991 11.5224 9.24995 11.9553 9.25Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M18.9553 5.25L19 5.25001L19.0448 5.25C19.4776 5.24995 19.8744 5.24991 20.1972 5.29331C20.5527 5.3411 20.9284 5.45355 21.2374 5.76257C21.5465 6.07159 21.6589 6.44732 21.7067 6.8028C21.7501 7.12561 21.7501 7.52244 21.75 7.95525V7.95526L21.75 8.00001L21.75 17.0448V17.0448C21.7501 17.4776 21.7501 17.8744 21.7067 18.1972C21.6589 18.5527 21.5465 18.9284 21.2374 19.2374C20.9284 19.5465 20.5527 19.6589 20.1972 19.7067C19.8744 19.7501 19.4776 19.7501 19.0448 19.75H19.0448H18.9553H18.9553C18.5224 19.7501 18.1256 19.7501 17.8028 19.7067C17.4473 19.6589 17.0716 19.5465 16.7626 19.2374C16.4535 18.9284 16.3411 18.5527 16.2933 18.1972C16.2499 17.8744 16.25 17.4776 16.25 17.0448L16.25 8.00001L16.25 7.95526C16.25 7.52244 16.2499 7.12561 16.2933 6.8028C16.3411 6.44732 16.4535 6.07159 16.7626 5.76257C17.0716 5.45355 17.4473 5.3411 17.8028 5.29331C18.1256 5.24991 18.5224 5.24995 18.9553 5.25Z",fill:"currentColor",key:"2"}]],DH=[["path",{d:"M3 18C2.44772 18 2 18.4477 2 19C2 19.5523 2.44772 20 3 20H6C6.55229 20 7 19.5523 7 19C7 18.4477 6.55229 18 6 18H3Z",fill:"currentColor",key:"0"}],["path",{d:"M9.5 19C9.5 18.4477 9.94772 18 10.5 18H13.5C14.0523 18 14.5 18.4477 14.5 19C14.5 19.5523 14.0523 20 13.5 20L10.5 20C9.94772 20 9.5 19.5523 9.5 19Z",fill:"currentColor",key:"1"}],["path",{d:"M17 19C17 18.4477 17.4477 18 18 18H21C21.5523 18 22 18.4477 22 19C22 19.5523 21.5523 20 21 20L18 20C17.4477 20 17 19.5523 17 19Z",fill:"currentColor",key:"2"}],["path",{d:"M6.79289 4.29289C7.18342 3.90237 7.81658 3.90237 8.20711 4.29289L11.5 7.58579L14.7929 4.29289C15.1834 3.90237 15.8166 3.90237 16.2071 4.29289C16.5976 4.68342 16.5976 5.31658 16.2071 5.70711L12.9142 9L16.2071 12.2929C16.5976 12.6834 16.5976 13.3166 16.2071 13.7071C15.8166 14.0976 15.1834 14.0976 14.7929 13.7071L11.5 10.4142L8.20711 13.7071C7.81658 14.0976 7.18342 14.0976 6.79289 13.7071C6.40237 13.3166 6.40237 12.6834 6.79289 12.2929L10.0858 9L6.79289 5.70711C6.40237 5.31658 6.40237 4.68342 6.79289 4.29289Z",fill:"currentColor",fillRule:"evenodd",key:"3"}]],IH=[["path",{d:"M10 6L4.00004 6.00024C3.44776 6.00027 3.00002 5.55257 3 5.00029C2.99998 4.448 3.44767 4.00027 3.99996 4.00024L9.99996 4C10.5522 3.99998 11 4.44767 11 4.99996C11 5.55224 10.5523 5.99998 10 6Z",fill:"currentColor",fillRule:"evenodd",key:"0"}
1],["path",{d:"M12 5C12 4.44772 12.4477 4 13 4L20 4C20.5523 4 21 4.44772 21 5C21 5.55229 20.5523 6 20 6L13 6C12.4477 6 12 5.55228 12 5Z",fill:"currentColor",fillRule:"evenodd",key:"1"}],["path",{d:"M16 8C16.5523 8 17 8.44772 17 9L17 15C17 15.5523 16.5523 16 16 16C15.4477 16 15 15.5523 15 15L15 9C15 8.44772 15.4477 8 16 8Z",fill:"currentColor",fillRule:"evenodd",key:"2"}],["path",{d:"M10 1C10.5523 1 11 1.44772 11 2L11 8C11 8.55228 10.5523 9 10 9C9.44772 9 9 8.55228 9 8L9 2C9 1.44772 9.44772 1 10 1Z",fill:"currentColor",fillRule:"evenodd",key:"3"}],["path",{d:"M12 15C12.5523 15 13 15.4477 13 16L13 22C13 22.5523 12.5523 23 12 23C11.4477 23 11 22.5523 11 22L11 16C11 15.4477 11.4477 15 12 15Z",fill:"currentColor",fillRule:"evenodd",key:"4"}],["path",{d:"M15 11.9999C15 11.4477 15.4478 11 16.0001 11L20.0001 11.0002C20.5523 11.0003 21 11.448 21 12.0003C21 12.5526 20.5522 13.0003 19.9999 13.0002L15.9999 13C15.4477 13 15 12.5522 15 11.9999Z",fill:"currentColor",fillRule:"evenodd",key:"5"}],["path",{d:"M13 13L4.00003 13.0002C3.44774 13.0003 3.00002 12.5526 3 12.0003C2.99998 11.448 3.44769 11.0003 3.99997 11.0002L13 11C13.5523 11 14 11.4477 14 12C14 12.5523 13.5523 13 13 13Z",fill:"currentColor",fillRule:"evenodd",key:"6"}],["path",{d:"M11 19C11 18.4477 11.4477 18 12 18L20 18C20.5523 18 21 18.4477 21 19C21 19.5523 20.5523 20 20 20L12 20C11.4477 20 11 19.5523 11 19Z",fill:"currentColor",fillRule:"evenodd",key:"7"}],["path",{d:"M9.00005 20L4.00005 20.0002C3.44776 20.0003 3.00003 19.5526 3 19.0003C2.99997 18.448 3.44767 18.0003 3.99995 18.0002L8.99995 18C9.55224 18 9.99997 18.4477 10 19C10 19.5522 9.55233 20 9.00005 20Z",fill:"currentColor",fillRule:"evenodd",key:"8"}]],_H=[["path",{d:"M11.9961 1.25C13.0454 1.25 13.8719 2.04253 14.3995 3.11191L16.1616 6.66516C16.215 6.77513 16.3417 6.92998 16.5321 7.07164C16.7223 7.21315 16.9086 7.29121 17.0311 7.3118L20.2207 7.84613C21.3729 8.03973 22.3386 8.60449 22.6521 9.5879C22.9653 10.5705 22.5064 11.5916 21.6778 12.4216L21.677 12.4225L19.1991 14.9209C19.1009 15.0199 18.9909 15.2064 18.9219 15.4494C18.8534 15.6908 18.8473 15.9107 18.8784 16.0527L18.8788 16.0547L19.5877 19.1454C19.8818 20.4317 19.7843 21.7073 18.8771 22.3742C17.9667 23.0433 16.7227 22.7467 15.5925 22.0736L12.6026 20.289C12.477 20.214 12.2614 20.1532 12.0011 20.1532C11.7427 20.1532 11.5226 20.2132 11.3888 20.291L11.3869 20.2921L8.40288 22.0732C7.27405 22.7487 6.03154 23.04 5.12111 22.3702C4.21449 21.7032 4.11214 20.43 4.40711 19.1447L5.1159 16.0547L5.11633 16.0527C5.14741 15.9107 5.14133 15.6908 5.0728 15.4494C5.0038 15.2064 4.89379 15.0199 4.79558 14.9209L2.31585 12.4206C1.49265 11.5906 1.03521 10.5704 1.34595 9.58925C1.65759 8.60525 2.62143 8.0398 3.77433 7.84606L6.96132 7.31219L6.96233 7.31202C7.07917 7.29175 7.2627 7.21456 7.45248 7.07268C7.64261 6.93054 7.76959 6.77535 7.82312 6.66516L7.82582 6.65967L9.58562 3.11097L9.58632 3.10957C10.119 2.04108 10.948 1.25 11.9961 1.25Z",fill:"currentColor",key:"0"}]],FH=[["path",{d:"M12 2.25C12.4142 2.25 12.75 2.58579 12.75 3C12.75 5.00608 13.7606 7.07493 15.3428 8.65717C16.9251 10.2394 18.9939 11.25 21 11.25C21.4142 11.25 21.75 11.5858 21.75 12C21.75 12.4142 21.4142 12.75 21 12.75C18.9939 12.75 16.9251 13.7606 15.3428 15.3428C13.7606 16.9251 12.75 18.9939 12.75 21C12.75 21.4142 12.4142 21.75 12 21.75C11.5858 21.75 11.25 21.4142 11.25 21C11.25 18.9939 10.2394 16.9251 8.65717 15.3428C7.07493 13.7606 5.00608 12.75 3 12.75C2.58579 12.75 2.25 12.4142 2.25 12C2.25 11.5858 2.58579 11.25 3 11.25C5.00608 11.25 7.07493 10.2394 8.65717 8.65717C10.2394 7.07493 11.25 5.00608 11.25 3C11.25 2.58579 11.5858 2.25 12 2.25Z",fill:"currentColor",key:"0"}],["path",{d:"M19.25 1.25C19.4635 1.25 19.6484 1.39794 19.6954 1.6062L19.9296 2.64601C20.0895 3.35601 20.644 3.91047 21.354 4.07041L22.3938 4.30464C22.6021 4.35155 22.75 4.53652 22.75 4.75C22.75 4.96348 22.6021 5.14845 22.3938 5.19536L21.354 5.42959C20.644 5.58953 20.0895 6.14398 19.9296 6.85398L19.6954 7.8938C19.6484 8.10206 19.4635 8.25 19.25 8.25C19.0365 8.25 18.8516 8.10206 18.8046 7.8938L18.5704 6.85398C18.4105 6.14398 17.856 5.58953 17.146 5.42959L16.1062 5.19536C15.8979 5.14845 15.75 4.96348 15.75 4.75C15.75 4.53652 15.8979 4.35155 16.1062 4.30464L17.146 4.07041C17.856 3.91047 18.4105 3.35602 18.5704 2.64601L18.8046 1.6062C18.8516 1.39794 19.0365 1.25 19.25 1.25Z",fill:"currentColor",key:"1"}],["path",{d:"M4.75 15.75C4.96348 15.75 5.14845 15.8979 5.19536 16.1062L5.42959 17.146C5.58953 17.856 6.14398 18.4105 6.85398 18.5704L7.8938 18.8046C8.10206 18.8516 8.25 19.0365 8.25 19.25C8.25 19.4635 8.10206 19.6484 7.8938 19.6954L6.85398 19.9296C6.14398 20.0895 5.58953 20.644 5.42959 21.354L5.19536 22.3938C5.14845 22.6021 4.96348 22.75 4.75 22.75C4.53652 22.75 4.35155 22.6021 4.30464 22.3938L4.07041 21.354C3.91047 20.644 3.35602 20.0895 2.64601 19.9296L1.6062 19.6954C1.39794 19.6484 1.25 19.4635 1.25 19.25C1.25 19.0365 1.39794 18.8516 1.6062 18.8046L2.64601 18.5704C3.35602 18.4105 3.91047 17.856 4.07041 17.146L4.30464 16.1062C4.35155 15.8979 4.53652 15.75 4.75 15.75Z",fill:"currentColor",key:"2"}]],$H=[["path",{d:"M12 1.25C6.06294 1.25 1.25 6.06294 1.25 12C1.25 17.9371 6.06294 22.7
15 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25ZM12 16C10.3949 16 9.59235 16 9.01584 15.6148C8.76626 15.448 8.55198 15.2337 8.38521 14.9842C8 14.4076 8 13.6051 8 12C8 10.3949 8 9.59235 8.38521 9.01584C8.55198 8.76626 8.76626 8.55197 9.01584 8.38521C9.59235 8 10.3949 8 12 8C13.6051 8 14.4076 8 14.9842 8.38521C15.2337 8.55197 15.448 8.76626 15.6148 9.01584C16 9.59235 16 10.3949 16 12C16 13.6051 16 14.4076 15.6148 14.9842C15.448 15.2337 15.2337 15.448 14.9842 15.6148C14.4076 16 13.6051 16 12 16Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],NH=[["path",{d:"M14.5 1.25C15.0523 1.25 15.5 1.69772 15.5 2.25C15.5 2.80228 15.0523 3.25 14.5 3.25H9.5C8.94772 3.25 8.5 2.80228 8.5 2.25C8.5 1.69772 8.94772 1.25 9.5 1.25H14.5Z",fill:"currentColor",key:"0"}],["path",{d:"M12 4.25C14.2033 4.25 16.2256 5.02159 17.8145 6.30762L18.6143 5.50879C18.9945 5.12864 19.611 5.12858 19.9912 5.50879C20.3714 5.889 20.3714 6.50549 19.9912 6.88574L19.1914 7.68457C20.478 9.27354 21.25 11.2962 21.25 13.5C21.25 18.6086 17.1086 22.75 12 22.75C6.89137 22.75 2.75 18.6086 2.75 13.5C2.75 8.39137 6.89137 4.25 12 4.25ZM16.207 9.29297C15.8409 8.92685 15.2619 8.90426 14.8691 9.22461L14.793 9.29297L11.293 12.793C10.9026 13.1835 10.9025 13.8165 11.293 14.207C11.6835 14.5974 12.3165 14.5974 12.707 14.207L16.207 10.707L16.2754 10.6309C16.5957 10.2381 16.573 9.65909 16.207 9.29297Z",fill:"currentColor",key:"1"}]],BH=[["path",{d:"M6.5 12C6.5 8.96243 8.96243 6.5 12 6.5C15.0376 6.5 17.5 8.96243 17.5 12C17.5 15.0376 15.0376 17.5 12 17.5C8.96243 17.5 6.5 15.0376 6.5 12Z",fill:"currentColor",key:"0"}],["path",{d:"M10.7455 3C10.7455 2.30964 11.3052 1.75 11.9955 1.75H12.0045C12.6948 1.75 13.2545 2.30964 13.2545 3C13.2545 3.69036 12.6948 4.25 12.0045 4.25H11.9955C11.3052 4.25 10.7455 3.69036 10.7455 3ZM17.1088 5.63599C17.1088 4.94563 17.6684 4.38599 18.3588 4.38599H18.3678C19.0581 4.38599 19.6178 4.94563 19.6178 5.63599C19.6178 6.32634 19.0581 6.88599 18.3678 6.88599H18.3588C17.6684 6.88599 17.1088 6.32634 17.1088 5.63599ZM4.38409 5.63647C4.38409 4.94612 4.94373 4.38647 5.63409 4.38647H5.64307C6.33342 4.38647 6.89307 4.94612 6.89307 5.63647C6.89307 6.32683 6.33342 6.88647 5.64307 6.88647H5.63409C4.94373 6.88647 4.38409 6.32683 4.38409 5.63647ZM1.75 12.0006C1.75 11.3102 2.30964 10.7506 3 10.7506H3.00898C3.69933 10.7506 4.25898 11.3102 4.25898 12.0006C4.25898 12.6909 3.69933 13.2506 3.00898 13.2506H3C2.30964 13.2506 1.75 12.6909 1.75 12.0006ZM19.741 12.0006C19.741 11.3102 20.3007 10.7506 20.991 10.7506H21C21.6904 10.7506 22.25 11.3102 22.25 12.0006C22.25 12.6909 21.6904 13.2506 21 13.2506H20.991C20.3007 13.2506 19.741 12.6909 19.741 12.0006ZM4.38409 18.364C4.38409 17.6737 4.94373 17.114 5.63409 17.114H5.64307C6.33342 17.114 6.89307 17.6737 6.89307 18.364C6.89307 19.0544 6.33342 19.614 5.64307 19.614H5.63409C4.94373 19.614 4.38409 19.0544 4.38409 18.364ZM17.1082 18.3645C17.1082 17.6741 17.6679 17.1145 18.3582 17.1145H18.3672C19.0575 17.1145 19.6172 17.6741 19.6172 18.3645C19.6172 19.0549 19.0575 19.6145 18.3672 19.6145H18.3582C17.6679 19.6145 17.1082 19.0549 17.1082 18.3645ZM10.7461 21C10.7461 20.3096 11.3057 19.75 11.9961 19.75H12.0051C12.6954 19.75 13.2551 20.3096 13.2551 21C13.2551 21.6904 12.6954 22.25 12.0051 22.25H11.9961C11.3057 22.25 10.7461 21.6904 10.7461 21Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],jH=[["path",{d:"M14.7041 19.6345L14.7041 19.6344L12.0442 16.6103C10.7274 15.1131 10.5714 14.4552 10.6581 14.3134L11.6564 13.5094L15.7027 10.3444C16.029 10.0892 16.0866 9.61786 15.8314 9.29159C15.5762 8.96533 15.1048 8.90772 14.7785 9.16292L10.728 12.3311L9.50989 13.3253C9.22553 13.6305 9.04418 14.1524 9.24197 14.8946C9.42654 15.5872 9.94427 16.5026 11.0466 17.7593L10.6395 18.5622C10.376
15 18.9277 10.1324 19.2671 9.90771 19.4997C9.68445 19.7308 9.27877 20.0705 8.71374 19.9581C8.15614 19.8472 7.90592 19.3862 7.78203 19.0904C7.65621 18.7899 7.54964 18.3824 7.43402 17.9404L6.93252 16.0239C6.65396 14.9594 6.55777 14.6534 6.37651 14.4282C6.35363 14.3998 6.3298 14.3723 6.30509 14.3459C6.11372 14.141 5.84345 14.0149 4.8535 13.6181L4.79927 13.5963C3.82368 13.2053 3.02006 12.8832 2.45798 12.5667C1.91344 12.2601 1.3254 11.8144 1.25775 11.0623C1.24724 10.9454 1.24742 10.8278 1.25829 10.7109C1.32825 9.95901 1.91775 9.51516 2.46325 9.21037C3.02632 8.89576 3.83094 8.57633 4.80773 8.18854L16.7918 3.43052C18.0177 2.94379 19.02 2.54579 19.8076 2.36434C20.6106 2.17935 21.4401 2.15976 22.0901 2.76101C22.7273 3.35039 22.8036 4.18068 22.7242 5.01747C22.6454 5.8477 22.3864 6.92742 22.0669 8.2593L19.6472 18.3463L19.6472 18.3464C19.4436 19.1954 19.2717 19.9121 19.0655 20.4321C18.8573 20.9575 18.5233 21.5216 17.8484 21.7001C17.1654 21.8807 16.6009 21.544 16.1719 21.1809C15.7505 20.8243 15.2699 20.2779 14.7041 19.6345Z",fill:"currentColor",key:"0"}]],zH=[["path",{d:"M19.9375 6.15241C20.1297 6.6702 19.8657 7.2457 19.3479 7.43782C18.289 7.83068 17.1274 8.64841 15.9514 9.72885C14.7866 10.799 13.6641 12.074 12.6793 13.3107C11.6965 14.5449 10.8631 15.7254 10.2751 16.5981C9.98143 17.0339 9.74984 17.3917 9.59237 17.6394C9.51365 17.7632 9.45351 17.8594 9.41344 17.924L9.36861 17.9966L9.35785 18.0142L9.35545 18.0182C9.17177 18.3209 8.84114 18.5048 8.48701 18.5002C8.13282 18.4956 7.8075 18.304 7.63176 17.9964C6.68252 16.3352 5.89836 15.5873 5.42654 15.257C5.19208 15.0929 5.03257 15.0302 4.96242 15.0079C4.94586 15.0026 4.93369 14.9994 4.92605 14.9976C4.4083 14.9597 4 14.5277 4 14.0003C4 13.448 4.44772 13.0003 5 13.0003C5.118 13.0082 5.39696 13.0397 5.56883 13.102C5.84243 13.1891 6.18292 13.3452 6.57346 13.6185C7.13325 14.0104 7.79014 14.6389 8.5059 15.6453C8.54176 15.5916 8.57862 15.5367 8.61646 15.4805C9.22514 14.5772 10.0902 13.3515 11.1148 12.0648C12.1374 10.7807 13.3311 9.42028 14.5983 8.25607C15.8543 7.10213 17.2404 6.08653 18.6521 5.56272C19.1699 5.37061 19.7454 5.63462 19.9375 6.15241Z",fill:"currentColor",key:"0"}]],VH=[["path",{d:"M10.25 20.75C10.8023 20.75 11.25 21.1977 11.25 21.75C11.25 22.3023 10.8023 22.75 10.25 22.75H3.25C2.69772 22.75 2.25 22.3023 2.25 21.75C2.25 21.1977 2.69772 20.75 3.25 20.75H10.25ZM12.5 4.25C14.7033 4.25 16.7256 5.02159 18.3145 6.30762L19.1143 5.50879C19.4945 5.12864 20.111 5.12858 20.4912 5.50879C20.8714 5.889 20.8714 6.50549 20.4912 6.88574L19.6914 7.68457C20.978 9.27354 21.75 11.2962 21.75 13.5C21.75 18.6086 17.6086 22.75 12.5 22.75C12.4216 22.75 12.3435 22.7461 12.2656 22.7441C12.4139 22.444 12.5 22.1074 12.5 21.75C12.5 20.5464 11.5548 19.5664 10.3662 19.5059C10.4507 19.2693 10.5 19.0156 10.5 18.75C10.5 17.5464 9.55477 16.5664 8.36621 16.5059C8.45072 16.2693 8.5 16.0156 8.5 15.75C8.5 14.5074 7.49264 13.5 6.25 13.5H3.25C3.25 8.39137 7.39137 4.25 12.5 4.25ZM8.25 17.75C8.80228 17.75 9.25 18.1977 9.25 18.75C9.25 19.3023 8.80228 19.75 8.25 19.75H3.25C2.69772 19.75 2.25 19.3023 2.25 18.75C2.25 18.1977 2.69772 17.75 3.25 17.75H8.25ZM6.25 14.75C6.80228 14.75 7.25 15.1977 7.25 15.75C7.25 16.3023 6.80228 16.75 6.25 16.75H3.25C2.69772 16.75 2.25 16.3023 2.25 15.75C2.25 15.1977 2.69772 14.75 3.25 14.75H6.25ZM16.707 9.29297C16.3409 8.92685 15.7619 8.90426 15.3691 9.22461L15.293 9.29297L11.793 12.793C11.4026 13.1835 11.4025 13.8165 11.793 14.207C12.1835 14.5974 12.8165 14.5974 13.207 14.207L16.707 10.707L16.7754 10.6309C17.0957 10.2381 17.073 9.65909 16.707 9.29297ZM15 1.25C15.5523 1.25 16 1.69772 16 2.25C16 2.80228 15.5523 3.25 15 3.25H10C9.44772 3.25 9 2.80228 9 2.25C9 1.69772 9.44772 1.25 10 1.25H15Z",fill:"currentColor",key:"0"}]],HH=[["path",{d:"M5.08836 10.411C5.24998 10.7695 5.60674 11 6.00001 11L18 11C18.3933 11 18.75 10.7694 18.9117 10.4109C19.0733 10.0524 19.0097 9.63241 18.7493 9.33773L18.7477 9.33596C18.7121 9.29609 18.6106 9.18259 18.548 9.11355C18.4209 8.97338 18.2384 8.77403 18.0147 8.53517C17.5682 8.05838 16.9534 7.41974 16.2853 6.77852C15.6215 6.14138 14.885 5.48226 14.1974 4.97599C13.8543 4.72332 13.5018 4.49266 13.1606 4.32127C12.84 4.16021 12.4305 4 12 4C11.5694 4 11.1599 4.1602 10.8393 4.32126C10.4981 4.49265 10.1457 4.72332 9.80251 4.97599C9.11493 5.48226 8.37843 6.1414 7.71461 6.77854C7.04653 7.41977 6.43175 8.05841 5.98524 8.53521C5.76155 8.77408 5.57906 8.97343 5.45202 9.11359C5.38919 9.18292 5.28755 9.29656 5.25229 9.33599L5.25113 9.33729C4.9907 9.63198 4.92673 10.0524 5.08836 10.411Z",fill:"currentColor",key:"0"}],["path",{d:"M5.08836 13.589C5.24998 13.2305 5.60674 13 6.00001 13L18 13C18.3933 13 18.75 13.2306 18.9117 13.5891C19.0733 13.9476 19.0097 14.3676 18.7493 14.6623L18.7477 14.664C18.7121 14.7039 18.6106 14.8174 18.548 14.8865C18.4209 15.0266 18.2384 15.226 18.0147 15.4648C17.5682 15.9416 16.9534 16.5803 16.2853 17.2215C15.6215 17.8586 14.885 18.5177 14.1974 19.024C13.8543 19.2767 13.5018 19.5073 13.1606 19.6787C12.84 19.8398 12.4305 20 12 20C11.5694 20 11.
11599 19.8398 10.8393 19.6787C10.4981 19.5073 10.1457 19.2767 9.80251 19.024C9.11493 18.5177 8.37843 17.8586 7.71461 17.2215C7.04653 16.5802 6.43175 15.9416 5.98524 15.4648C5.76155 15.2259 5.57906 15.0266 5.45202 14.8864C5.38919 14.8171 5.28755 14.7034 5.25229 14.664L5.25113 14.6627C4.9907 14.368 4.92673 13.9476 5.08836 13.589Z",fill:"currentColor",key:"1"}]],UH=[["path",{d:"M7.25 7C7.25 4.37665 9.37665 2.25 12 2.25C14.6234 2.25 16.75 4.37665 16.75 7C16.75 9.62335 14.6234 11.75 12 11.75C9.37665 11.75 7.25 9.62335 7.25 7Z",fill:"currentColor",key:"0"}],["path",{d:"M4.25 19C4.25 15.8244 6.82436 13.25 10 13.25H14C17.1756 13.25 19.75 15.8244 19.75 19C19.75 20.5188 18.5188 21.75 17 21.75H7C5.48122 21.75 4.25 20.5188 4.25 19Z",fill:"currentColor",key:"1"}]],WH=[["path",{d:"M4.25 7C4.25 4.37665 6.37665 2.25 9 2.25C11.6234 2.25 13.75 4.37665 13.75 7C13.75 9.62335 11.6234 11.75 9 11.75C6.37665 11.75 4.25 9.62335 4.25 7Z",fill:"currentColor",key:"0"}],["path",{d:"M1.25 19C1.25 15.8244 3.82436 13.25 7 13.25H11C14.1756 13.25 16.75 15.8244 16.75 19C16.75 20.5188 15.5188 21.75 14 21.75H4C2.48122 21.75 1.25 20.5188 1.25 19Z",fill:"currentColor",key:"1"}],["path",{d:"M13.374 11.4644C13.8812 11.6492 14.4288 11.75 15 11.75C17.6233 11.75 19.75 9.62335 19.75 7C19.75 4.37665 17.6233 2.25 15 2.25C14.4288 2.25 13.8812 2.35081 13.374 2.5356C14.5317 3.67 15.25 5.25111 15.25 7C15.25 8.74889 14.5317 10.33 13.374 11.4644Z",fill:"currentColor",key:"2"}],["path",{d:"M17.24 21.75H19.9995C21.5183 21.75 22.7495 20.5188 22.7495 19C22.7495 15.8244 20.1752 13.25 16.9995 13.25H15.416C17.1391 14.5754 18.2495 16.658 18.2495 19C18.2495 20.0488 17.8697 21.0088 17.24 21.75Z",fill:"currentColor",key:"3"}]],GH=[["path",{d:"M6.75 8C6.75 5.1005 9.1005 2.75 12 2.75C14.8995 2.75 17.25 5.1005 17.25 8C17.25 10.8995 14.8995 13.25 12 13.25C9.1005 13.25 6.75 10.8995 6.75 8Z",fill:"currentColor",key:"0"}],["path",{d:"M4.25 20.5C4.25 16.2198 7.71979 12.75 12 12.75C16.2802 12.75 19.75 16.2198 19.75 20.5C19.75 20.9142 19.4142 21.25 19 21.25H5C4.58579 21.25 4.25 20.9142 4.25 20.5Z",fill:"currentColor",key:"1"}]],qH=[["path",{d:"M17.9933 9.38334C17.9826 8.47732 17.9515 7.69419 17.8619 7.02777C17.8573 6.99366 17.8526 6.95971 17.8477 6.92591C18.3059 6.56563 18.7204 6.26203 19.0944 6.03609C19.7947 5.61301 20.6822 5.25874 21.5929 5.71019C22.4895 6.15463 22.7673 7.06553 22.8829 7.88282C22.9991 8.70445 22.9991 9.81011 22.999 11.1382V12.8645C22.9991 14.1926 22.9991 15.2982 22.8829 16.1198C22.7673 16.9371 22.4895 17.848 21.5929 18.2925C20.6822 18.7439 19.7947 18.3896 19.0944 17.9666C18.7204 17.7406 18.3059 17.437 17.8477 17.0768C17.8526 17.0431 17.8574 17.0092 17.8619 16.9752C17.9515 16.3087 17.9826 15.5255 17.9933 14.6193C18.951 15.4085 19.6124 15.9429 20.1285 16.2547C20.3999 16.4186 20.5637 16.4778 20.6531 16.4955C20.6728 16.4994 20.6863 16.5007 20.6942 16.5012C20.6982 16.5014 20.7027 16.5013 20.7027 16.5013L20.7047 16.5005C20.709 16.4984 20.7108 16.4966 20.7108 16.4966C20.7136 16.4936 20.7286 16.4774 20.7499 16.4358C20.7977 16.3422 20.8567 16.1641 20.9026 15.8397C20.9966 15.1754 20.999 14.2135 20.999 12.7832V11.2194C20.999 9.78915 20.9966 8.82725 20.9026 8.16294C20.8567 7.83855 20.7977 7.66044 20.7499 7.56691C20.7286 7.52522 20.714 7.50949 20.7112 7.50653C20.7112 7.50653 20.709 7.50427 20.7047 7.50211L20.7032 7.50139C20.7032 7.50139 20.6982 7.5013 20.6942 7.5015C20.6863 7.50191 20.6728 7.50322 20.6531 7.50713C20.5637 7.52483 20.3999 7.58402 20.1285 7.74796C19.6124 8.05977 18.951 8.59417 17.9933 9.38334Z",fill:"currentColor",key:"0"}],["path",{d:"M8.92797 3H10.072H10.0721C11.6607 2.99997 12.9539 2.99995 13.9737 3.13706C15.0377 3.28011 15.9527 3.58869 16.682 4.31802C17.4113 5.04736 17.7199 5.96232 17.8629 7.0263C18.0001 8.04616 18 9.33933 18 10.928V13.072C18 14.6607 18.0001 15.9538 17.8629 16.9737C17.7199 18.0377 17.4113 18.9527 16.682 19.682C15.9527 20.4113 15.0377 20.7199 13.9737 20.8629C12.9538 21.0001 11.6607 21 10.072 21H8.928C7.33933 21 6.04616 21.0001 5.0263 20.8629C3.96232 20.7199 3.04736 20.4113 2.31802 19.682C1.58869 18.9527 1.28011 18.0377 1.13706 16.9737C0.999948 15.9539 0.999972 14.6607 1 13.0721V13.072V10.9279V10.9279C0.999972 9.33929 0.999948 8.04614 1.13706 7.0263C1.28011 5.96232 1.58869 5.04736 2.31802 4.31802C3.04736 3.58869 3.96232 3.28011 5.0263 3.13706C6.04614 2.99995 7.33931 2.99997 8.92795 3H8.92797ZM11 7C10.4477 7 10 7.44772 10 8C10 8.55229 10.4477 9 11 9L13 9C13.5523 9 14 8.55229 14 8C14 7.44772 13.5523 7 13 7L11 7Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],KH=[["path",{d:"M12 4.25C11.0058 4.25 10.0648 4.41965 9.18654 4.70497C8.93836 4.78559 8.74992 4.98943 8.689 5.243
117C8.62807 5.49691 8.70342 5.76408 8.88794 5.9486L18.9086 15.9693C19.2008 16.2614 19.6741 16.2623 19.9673 15.9713C20.9298 15.016 21.7239 13.9948 22.2078 13.3163C22.461 12.9642 22.75 12.5622 22.75 12C22.75 11.4378 22.4077 10.9616 22.1546 10.6095C21.4487 9.61974 20.1869 8.04576 18.4797 6.71298C16.774 5.38141 14.5706 4.25 12 4.25ZM7.27775 6.21709C7.02388 5.96322 6.62572 5.92487 6.32806 6.12561C4.20574 7.55694 2.60227 9.54781 1.79219 10.6837C1.53904 11.0358 1.25 11.4378 1.25 12C1.25 12.5622 1.59226 13.0384 1.84541 13.3905C2.55126 14.3803 3.81313 15.9542 5.52031 17.287C7.22595 18.6186 9.42944 19.75 12 19.75C14.1829 19.75 16.1016 18.9335 17.6719 17.8744C17.8576 17.7491 17.9776 17.5475 17.9991 17.3245C18.0206 17.1015 17.9413 16.8806 17.7829 16.7223L7.27775 6.21709ZM9.52944 9.5C8.8934 10.136 8.5 11.0147 8.5 11.9853C8.5 13.9264 10.0736 15.5 12.0147 15.5C12.9853 15.5 13.864 15.1066 14.5 14.4706L9.52944 9.5Z",fill:"currentColor",fillRule:"evenodd",key:"0"}],["path",{d:"M2.29289 2.29289C2.68342 1.90237 3.31658 1.90237 3.70711 2.29289L21.7071 20.2929C22.0976 20.6834 22.0976 21.3166 21.7071 21.7071C21.3166 22.0976 20.6834 22.0976 20.2929 21.7071L2.29289 3.70711C1.90237 3.31658 1.90237 2.68342 2.29289 2.29289Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],YH=[["path",{d:"M1.44541 7.16806C1.90493 6.8617 2.5258 6.98588 2.83216 7.44541C2.85837 7.48285 2.93295 7.58911 2.98827 7.66407C3.099 7.81408 3.26659 8.03284 3.48708 8.29742C3.92916 8.82792 4.57785 9.53538 5.4009 10.2408C7.06276 11.6653 9.33801 13.0001 12.0001 13.0001C14.6622 13.0001 16.9371 11.6653 18.599 10.2408C19.422 9.53538 20.0707 8.82792 20.5128 8.29742C20.7333 8.03284 20.9009 7.81408 21.0116 7.66407C21.0669 7.58911 21.1415 7.48285 21.1677 7.44541C21.4741 6.98588 22.095 6.8617 22.5545 7.16806C23.014 7.47441 23.1382 8.09528 22.8318 8.55481L22.8262 8.56282C22.786 8.62027 22.6834 8.76696 22.6208 8.85177C22.4893 9.02988 22.2975 9.27987 22.0493 9.57779C21.5538 10.1723 20.8275 10.9648 19.9006 11.7594C18.0624 13.3349 15.338 15.0001 12.0001 15.0001C8.6622 15.0001 5.93746 13.3349 4.09931 11.7594C3.17236 10.9648 2.44606 10.1723 1.95064 9.57779C1.70237 9.27987 1.51059 9.02988 1.37913 8.85177C1.31336 8.76267 1.20337 8.60526 1.16806 8.55481C0.861704 8.09528 0.985877 7.47441 1.44541 7.16806Z",fill:"currentColor",key:"0"}],["path",{d:"M4.70711 10.2929C5.09763 10.6834 5.09763 11.3166 4.70711 11.7071L2.70711 13.7071C2.31658 14.0976 1.68342 14.0976 1.29289 13.7071C0.902369 13.3166 0.902369 12.6834 1.29289 12.2929L3.29289 10.2929C3.68342 9.90237 4.31658 9.90237 4.70711 10.2929ZM19.2929 10.2929C19.6834 9.90237 20.3166 9.90237 20.7071 10.2929L22.7071 12.2929C23.0976 12.6834 23.0976 13.3166 22.7071 13.7071C22.3166 14.0976 21.6834 14.0976 21.2929 13.7071L19.2929 11.7071C18.9024 11.3166 18.9024 10.6834 19.2929 10.2929ZM9.5145 12.6425C9.98808 12.9267 10.1416 13.5409 9.85749 14.0145L8.35749 16.5145C8.07334 16.9881 7.45908 17.1416 6.9855 16.8575C6.51192 16.5733 6.35836 15.9591 6.64251 15.4855L8.14251 12.9855C8.42666 12.5119 9.04092 12.3584 9.5145 12.6425ZM14.4855 12.6425C14.9591 12.3584 15.5733 12.5119 15.8575 12.9855L17.3575 15.4855C17.6416 15.9591 17.4881 16.5733 17.0145 16.8575C16.5409 17.1416 15.9267 16.9881 15.6425 16.5145L14.1425 14.0145C13.8584 13.5409 14.0119 12.9267 14.4855 12.6425Z",fill:"currentColor",fillRule:"evenodd",key:"1"}]],ZH=[["path",{d:"M5.52031 6.71298C7.22595 5.38141 9.42944 4.25 12 4.25C14.5706 4.25 16.774 5.38141 18.4797 6.71298C20.1869 8.04576 21.4487 9.61974 22.1546 10.6095L22.2078 10.6837C22.461 11.0358 22.75 11.4378 22.75 12C22.75 12.5622 22.461 12.9642 22.2078 13.3163L22.1546 13.3905C21.4487 14.3803 20.1869 15.9542 18.4797 17.287C16.774 18.6186 14.5706 19.75 12 19.75C9.42944 19.75 7.22595 18.6186 5.52031 17.287C3.81313 15.9542 2.55126 14.3803 1.84541 13.3905L1.79219 13.3163C1.53904 12.9642 1.25 12.5622 1.25 12C1.25 11.4378 1.53904 11.0358 1.79219 10.6837L1.84541 10.6095C2.55126 9.61974 3.81313 8.04576 5.52031 6.71298ZM8.5 12C8.5 13.933 10.067 15.5 12 15.5C13.933 15.5 15.5 13.933 15.5 12C15.5 10.067 13.933 8.5 12 8.5C10.067 8.5 8.5 10.067 8.5 12Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],QH=[["path",{d:"M10.5 1.75C12.8211 1.75 14.7064 3.61072 14.748 5.92188H6.25195C6.29363 3.61072 8.17889 1.75 10.5 1.75Z",fill:"currentColor",key:"0"}],["path",{d:"M6.37891 2.75C5.95579 3.28609 5.63541 3.9064 5.44629 4.58203H5.36133C4.71537 4.5823 4.19176 5.10602 4.19141 5.75195C4.19141 6.39819 4.71516 6.92259 5.36133 6.92285H16.7979C16.7979 6.60664 16.7981 6.44818 16.7803 6.31543C16.6852 5.6099 16.2256 5.02445 15.5967 4.75C15.4161 4.01087 15.0804 3.33324 14.624 2.75391C15.1114 2.76059 15.5119 2.7839
11 15.8721 2.875L16.1201 2.94629C17.3402 3.33885 18.2806 4.2817 18.6172 5.46777L18.6641 5.65723C18.7376 6.01686 18.7475 6.4243 18.749 6.92383C19.4938 7.06409 20.2403 7.44248 20.7607 7.96289C21.2855 8.54535 21.5203 9.26466 21.6338 10.1084C21.6976 10.5833 21.7243 11.129 21.7373 11.75H19C18.6354 11.75 18.1995 11.7727 17.918 11.8271C17.19 12.0222 16.611 12.5672 16.3701 13.2744C16.2871 13.5845 16.25 14.0834 16.25 14.5C16.25 14.9165 16.2871 15.4154 16.3701 15.7256C16.6109 16.4329 17.19 16.9777 17.918 17.1729C18.1995 17.2273 18.6354 17.25 19 17.25H21.7373C21.7243 17.8711 21.6976 18.4167 21.6338 18.8916C21.5203 19.7354 21.2855 20.4546 20.7607 21.0371C20.1588 21.639 19.2917 22.0128 18.3916 22.1338C17.5267 22.2501 16.4275 22.25 15.0645 22.25H8.93555C7.57249 22.25 6.47331 22.2501 5.6084 22.1338C4.76457 22.0203 3.93114 21.6762 3.34863 21.1514C2.74681 20.5495 2.48722 19.7916 2.36621 18.8916C2.24998 18.0267 2.24997 16.9274 2.25 15.5645V5.5C2.25017 3.98137 3.5541 2.75 5.16211 2.75H6.37891Z",fill:"currentColor",key:"1"}],["path",{d:"M21.75 15.75H19C18.6148 15.75 18.3721 15.7363 18.3721 15.7363C18.1575 15.7499 17.7754 15.4498 17.7754 15.1943C17.7753 15.1205 17.75 15.0128 17.75 14.5C17.75 13.9869 17.7563 13.877 17.7754 13.8057C17.7756 13.6013 18.129 13.2638 18.3721 13.2637C18.457 13.2538 18.6148 13.25 19 13.25H21.75V15.75Z",fill:"currentColor",key:"2"}]],XH=[["path",{d:"M6.69674 3.27174C8.35573 2.93356 10.1414 2.75 12 2.75C13.8586 2.75 15.6443 2.93356 17.3032 3.27174L17.4305 3.29766C19.3251 3.68329 20.5875 3.94024 21.6754 5.33892C22.7516 6.72258 22.751 8.3272 22.75 10.8124V13.1876C22.751 15.6728 22.7516 17.2774 21.6754 18.6611C20.5875 20.0598 19.3251 20.3167 17.4305 20.7023L17.3032 20.7283C15.6443 21.0664 13.8586 21.25 12 21.25C10.1414 21.25 8.35573 21.0664 6.69674 20.7283L6.56946 20.7023C4.67483 20.3167 3.41243 20.0598 2.32458 18.6611C1.2484 17.2774 1.249 15.6728 1.24993 13.1876L1.24993 10.8124C1.249 8.3272 1.2484 6.72258 2.32458 5.33892C3.41243 3.94024 4.67483 3.68329 6.56946 3.29766L6.69674 3.27174ZM11.2945 8.25224C11.813 8.46986 12.4429 8.82163 13.213 9.25173C13.3144 9.30834 13.4163 9.36458 13.5183 9.42088C14.0217 9.69878 14.528 9.9783 14.9949 10.314C15.4145 10.6157 15.8126 10.9896 15.9444 11.5349C16.0184 11.841 16.0184 12.159 15.9444 12.4651C15.8126 13.0104 15.4145 13.3843 14.9949 13.686C14.528 14.0217 14.0216 14.3013 13.5182 14.5792C13.4162 14.6355 13.3144 14.6917 13.213 14.7483C12.4429 15.1784 11.8131 15.5301 11.2945 15.7478C10.4515 16.1015 9.55759 16.1302 8.82288 15.5282C8.36304 15.1514 8.20049 14.6119 8.12917 14.0683C7.95682 12.7544 7.95674 11.2462 8.12917 9.93172C8.20049 9.38806 8.36304 8.84858 8.82288 8.47181C9.55759 7.86983 10.4515 7.89845 11.2945 8.25224Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]],JH=[["path",{d:"M3.00002 4C3.00002 3.44772 3.44773 3 4.00002 3H11C11.3924 3 11.7485 3.22947 11.9106 3.58678C12.0728 3.9441 12.011 4.36321 11.7526 4.6585L6.20378 11H11C11.5523 11 12 11.4477 12 12C12 12.5523 11.5523 13 11 13H4.00002C3.60764 13 3.25152 12.7705 3.08938 12.4132C2.92725 12.0559 2.98906 11.6368 3.24744 11.3415L8.79625 5H4.00002C3.44773 5 3.00002 4.55228 3.00002 4ZM6.00003 17C5.44774 17 5.00003 16.5523 5.00003 16C5.00003 15.4477 5.44774 15 6.00003 15H10C10.4045 15 10.7691 15.2436 10.9239 15.6173C11.0787 15.991 10.9931 16.4211 10.7071 16.7071L8.41424 19H10C10.5523 19 11 19.4477 11 20C11 20.5523 10.5523 21 10 21H6.00003C5.59557 21 5.23093 20.7564 5.07615 20.3827C4.92137 20.009 5.00692 19.5789 5.29292 19.2929L7.58582 17H6.00003ZM13 9C13 9.55228 13.4477 10 14 10H17.5858L13.2929 14.2929C13.0069 14.5789 12.9214 15.009 13.0761 15.3827C13.2309 15.7564 13.5956 16 14 16H20C20.5523 16 21 15.5523 21 15C21 14.4477 20.5523 14 20 14H16.4142L20.7071 9.70711C20.9931 9.42111 21.0787 8.99099 20.9239 8.61732C20.7691 8.24364 20.4045 8 20 8H14C13.4477 8 13 8.44772 13 9Z",fill:"currentColor",fillRule:"evenodd",key:"0"}]];function eU(e,t){const n=t.startOfMonth(e),r=n.getDay();return 1===r?n:0===r?t.addDays(n,-6):t.addDays(n,-1*(r-1))}const tU={...Ol,labels:{labelDayButton:(e,t,n,r)=>{let i;i=r&&"function"==typeof r.format?r.format.bind(r):(e,t)=>nc(e,t,{locale:Ol,...n});let o=i(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>{let r;return r=n&&"function"==typeof n.format?n.format.bind(n):(e,n)=>nc(e,n,{locale:Ol,...t}),r(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let i;i=r&&"function"==typeof r.format?r.format.bind(r):(e,t)=>nc(e,t,{locale:Ol,...n});let o=i(e,"PPPP");return(null==t?void 0:t.today)&&(o=`Today, ${o}`),o},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>{let r;return r=n&&"function"==typeof n.format?n.format.bind(n):(e,n)=>nc(e,n,{locale:Ol,...t}),r(e,"cccc")}}};
1class nU{constructor(e,t){this.Date=Date,this.today=()=>{var e;return(null==(e=this.overrides)?void 0:e.today)?this.overrides.today():this.options.timeZone?Es.tz(this.options.timeZone):new this.Date},this.newDate=(e,t,n)=>{var r;return(null==(r=this.overrides)?void 0:r.newDate)?this.overrides.newDate(e,t,n):this.options.timeZone?new Es(e,t,n,this.options.timeZone):new Date(e,t,n)},this.addDays=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.addDays)?this.overrides.addDays(e,t):Ns(e,t)},this.addMonths=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.addMonths)?this.overrides.addMonths(e,t):Bs(e,t)},this.addWeeks=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.addWeeks)?this.overrides.addWeeks(e,t):function(e,t){return Ns(e,7*t,void 0)}(e,t)},this.addYears=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.addYears)?this.overrides.addYears(e,t):function(e,t){return Bs(e,12*t,void 0)}(e,t)},this.differenceInCalendarDays=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.differenceInCalendarDays)?this.overrides.differenceInCalendarDays(e,t):Qs(e,t)},this.differenceInCalendarMonths=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.differenceInCalendarMonths)?this.overrides.differenceInCalendarMonths(e,t):ll(e,t)},this.eachMonthOfInterval=e=>{var t;return(null==(t=this.overrides)?void 0:t.eachMonthOfInterval)?this.overrides.eachMonthOfInterval(e):function(e){const{start:t,end:n}=vl(void 0,e);let r=+t>+n;const i=r?+t:+n,o=r?n:t;o.setHours(0,0,0,0),o.setDate(1);const a=[];for(;+o<=i;)a.push(Fs(t,o)),o.setMonth(o.getMonth()+1);return r?a.reverse():a}(e)},this.eachYearOfInterval=e=>{var t;const n=(null==(t=this.overrides)?void 0:t.eachYearOfInterval)?this.overrides.eachYearOfInterval(e):function(e){const{start:t,end:n}=vl(void 0,e);let r=+t>+n;const i=r?+t:+n,o=r?n:t;o.setHours(0,0,0,0),o.setMonth(0,1);const a=[];for(;+o<=i;)a.push(Fs(t,o)),o.setFullYear(o.getFullYear()+1);return r?a.reverse():a}(e),r=new Set(n.map(e=>this.getYear(e)));if(r.size===n.length)return n;const i=[];return r.forEach(e=>{i.push(new Date(e,0,1))}),i},this.endOfBroadcastWeek=e=>{var t;return(null==(t=this.overrides)?void 0:t.endOfBroadcastWeek)?this.overrides.endOfBroadcastWeek(e):function(e,t){const n=eU(e,t),r=function(e,t){const n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,i=t.addDays(e,1-r),o=t.addDays(i,34);return t.getMonth(e)===t.getMonth(o)?5:4}(e,t);return t.addDays(n,7*r-1)}(e,this)},this.endOfISOWeek=e=>{var t;return(null==(t=this.overrides)?void 0:t.endOfISOWeek)?this.overrides.endOfISOWeek(e):function(e){return wl(e,{weekStartsOn:1})}(e)},this.endOfMonth=e=>{var t;return(null==(t=this.overrides)?void 0:t.endOfMonth)?this.overrides.endOfMonth(e):ml(e)},this.endOfWeek=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.endOfWeek)?this.overrides.endOfWeek(e,t):wl(e,this.options)},this.endOfYear=e=>{var t;return(null==(t=this.overrides)?void 0:t.endOfYear)?this.overrides.endOfYear(e):function(e){const t=$s(e,void 0),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}(e)},this.format=(e,t,n)=>{var r;const i=(null==(r=this.overrides)?void 0:r.format)?this.overrides.format(e,t,this.options):nc(e,t,this.options);return this.options.numerals&&"latn"!==this.options.numerals?this.replaceDigits(i):i},this.getISOWeek=e=>{var t;return(null==(t=this.overrides)?void 0:t.getISOWeek)?this.overrides.getISOWeek(e):Dl(e)},this.getMonth=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.getMonth)?this.overrides.getMonth(e,this.options):function(e,t){return $s(e,null==t?void 0:t.in).getMonth()}(e,this.options)},this.getYear=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.getYear)?this.overrides.getYear(e,this.options):sc(e,this.options)},this.getWeek=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.getWeek)?this.overrides.getWeek(e,this.options):_l(e,this.options)},this.isAfter=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.isAfter)?this.overrides.isAfter(e,t):cc(e,t)},this.isBefore=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.isBefore)?this.overrides.isBefore(e,t):uc(e,t)},this.isDate=e=>{var t;return(null==(t=this.overrides)?void 0:t.isDate)?this.overrides.isDate(e):al(e)},this.isSameDay=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.isSameDay)?this.overrides.isSameDay(e,t):ol(e,t)},this.isSameMonth=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.isSameMonth)?this.overrides.isSameMonth(e,t):function(e,t){const[n,r]=Ys(void 0,e,t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}(e,t)},this.isSameYear=(e,t)=>
1{var n;return(null==(n=this.overrides)?void 0:n.isSameYear)?this.overrides.isSameYear(e,t):function(e,t){const[n,r]=Ys(void 0,e,t);return n.getFullYear()===r.getFullYear()}(e,t)},this.max=e=>{var t;return(null==(t=this.overrides)?void 0:t.max)?this.overrides.max(e):el(e)},this.min=e=>{var t;return(null==(t=this.overrides)?void 0:t.min)?this.overrides.min(e):tl(e)},this.setMonth=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.setMonth)?this.overrides.setMonth(e,t):function(e,t,n){const r=$s(e,null==n?void 0:n.in),i=r.getFullYear(),o=r.getDate(),a=Fs(e,0);a.setFullYear(i,t,15),a.setHours(0,0,0,0);const s=function(e){const t=$s(e,void 0),n=t.getFullYear(),r=t.getMonth(),i=Fs(t,0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}(a);return r.setMonth(t,Math.min(o,s)),r}(e,t)},this.setYear=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.setYear)?this.overrides.setYear(e,t):function(e,t){const n=$s(e,void 0);return isNaN(+n)?Fs(e,NaN):(n.setFullYear(t),n)}(e,t)},this.startOfBroadcastWeek=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.startOfBroadcastWeek)?this.overrides.startOfBroadcastWeek(e,this):eU(e,this)},this.startOfDay=e=>{var t;return(null==(t=this.overrides)?void 0:t.startOfDay)?this.overrides.startOfDay(e):Zs(e)},this.startOfISOWeek=e=>{var t;return(null==(t=this.overrides)?void 0:t.startOfISOWeek)?this.overrides.startOfISOWeek(e):Gs(e)},this.startOfMonth=e=>{var t;return(null==(t=this.overrides)?void 0:t.startOfMonth)?this.overrides.startOfMonth(e):yl(e)},this.startOfWeek=(e,t)=>{var n;return(null==(n=this.overrides)?void 0:n.startOfWeek)?this.overrides.startOfWeek(e,this.options):Ws(e,this.options)},this.startOfYear=e=>{var t;return(null==(t=this.overrides)?void 0:t.startOfYear)?this.overrides.startOfYear(e):bl(e)},this.options={locale:tU,...e},this.overrides=t}getDigitMap(){const{numerals:e="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:e}),n={};for(let r=0;r<10;r++)n[r.toString()]=t.format(r);return n}replaceDigits(e){const t=this.getDigitMap();return e.replace(/\d/g,e=>t[e]||e)}formatNumber(e){return this.replaceDigits(e.toString())}getMonthYearOrder(){var e;const t=null==(e=this.options.locale)?void 0:e.code;return t&&nU.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(e){const{locale:t,timeZone:n,numerals:r}=this.options,i=null==t?void 0:t.code;if(i&&nU.yearFirstLocales.has(i))try{return new Intl.DateTimeFormat(i,{month:"long",year:"numeric",timeZone:n,numberingSystem:r}).format(e)}catch{}const o="year-first"===this.getMonthYearOrder()?"y LLLL":"LLLL y";return this.format(e,o)}}nU.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);const rU=new nU;class iU{constructor(e,t,n=rU){this.date=e,this.displayMonth=t,this.outside=Boolean(t&&!n.isSameMonth(e,t)),this.dateLib=n,this.isoDate=n.format(e,"yyyy-MM-dd"),this.displayMonthId=n.format(t,"yyyy-MM"),this.dateMonthId=n.format(e,"yyyy-MM")}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class oU{constructor(e,t){this.date=e,this.weeks=t}}class aU{constructor(e,t){this.days=t,this.weekNumber=e}}var sU,lU,cU,uU,dU,hU,fU,pU;(lU=sU||(sU={})).Root="root",lU.Chevron="chevron",lU.Day="day",lU.DayButton="day_button",lU.CaptionLabel="caption_label",lU.Dropdowns="dropdowns",lU.Dropdown="dropdown",lU.DropdownRoot="dropdown_root",lU.Footer="footer",lU.MonthGrid="month_grid",lU.MonthCaption="month_caption",lU.MonthsDropdown="months_dropdown",lU.Month="month",lU.Months="months",lU.Nav="nav",lU.NextMonthButton="button_next",lU.PreviousMonthButton="button_previous",lU.Week="week",lU.Weeks="weeks",lU.Weekday="weekday",lU.Weekdays="weekdays",lU.WeekNumber="week_number",lU.WeekNumberHeader="week_number_header",lU.YearsDropdown="years_dropdown",(uU=cU||(cU={})).disabled="disabled",uU.hidden="hidden",uU.outside="outside",uU.focused="focused",uU.today="today",(hU=dU||(dU={})).range_end="range_end",hU.range_middle="range_middle",hU.range_start="range_start",hU.selected="selected",(pU=fU||(fU={})).weeks_before_enter="weeks_before_enter",pU.weeks_before_exit="weeks_before_exit",pU.weeks_after_enter="weeks_after_enter",pU.weeks_after_exit="weeks_after_exit",pU.caption_after_enter="caption_after_enter",pU.caption_after_exit="caption_after_exit",pU.caption_before_enter="caption_before_enter",pU.caption_before_exit="caption_before_exit";const mU=Qt.createContext(void 0);function gU(){const e=Qt.useContext(mU);if(void 0===e)throw new Error("useDayPicker() must be used within a custom component.");return e}const vU=Object.freeze(Object.defineProperty({__proto__:null,Button:function(e){return Xt.createElement("button",{...e})},CaptionLabel:function(e){return Xt.createElement("span",{...e})},Chevron:function(e){const{size:t=24,orientation:n="left",className:r}=e;return Xt.createElement("svg",{className:r,width:t,height:t,viewBox:"0 0 24 24"},"up"===n&&Xt.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),"down"===n&&Xt.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),"left"===n&&Xt.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),"right"===n&&Xt.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))},Day:function(e){const{day:t,modifiers:n,...r}=e;return Xt.createElement("td",{...r})},DayButton:function(e){const{day:t,modifiers:n,...r}=e,i=Xt.useRef(null);return Xt.useEffect(()=>{var e;n.focused&&(null==(e=i.current)||e.focus())},[n.focused]),Xt.createElement("button",{ref:i,...r})},Dropdown:function(e){const{options:t,className:n,components:r,classNames:i,...o}=e,a=[i[sU.Dropdown],n].join(" "),s=null==t?void 0:t.find(({value:e})=>e===o.value);return Xt.createElement("span",{"data-disabled":o.disabled,className:i[sU.DropdownRoot]},Xt.createElement(r.Select,{className:a,...o},null==t?void 0:t.map(({value:e,label:t,disabled:n})=>Xt.createElement(r.Option,{key:e,value:e,disabled:n},t))),Xt.createElement("span",{className:i[sU.CaptionLabel],"aria-hidden":!0},null==s?void 0:s.label,Xt.createElement(r.Chevron,{orientation:"down",size:18,className:i[sU.Chevron]}
1)))},DropdownNav:function(e){return Xt.createElement("div",{...e})},Footer:function(e){return Xt.createElement("div",{...e})},Month:function(e){const{calendarMonth:t,displayIndex:n,...r}=e;return Xt.createElement("div",{...r},e.children)},MonthCaption:function(e){const{calendarMonth:t,displayIndex:n,...r}=e;return Xt.createElement("div",{...r})},MonthGrid:function(e){return Xt.createElement("table",{...e})},Months:function(e){return Xt.createElement("div",{...e})},MonthsDropdown:function(e){const{components:t}=gU();return Xt.createElement(t.Dropdown,{...e})},Nav:function(e){const{onPreviousClick:t,onNextClick:n,previousMonth:r,nextMonth:i,...o}=e,{components:a,classNames:s,labels:{labelPrevious:l,labelNext:c}}=gU(),u=Qt.useCallback(e=>{i&&(null==n||n(e))},[i,n]),d=Qt.useCallback(e=>{r&&(null==t||t(e))},[r,t]);return Xt.createElement("nav",{...o},Xt.createElement(a.PreviousMonthButton,{type:"button",className:s[sU.PreviousMonthButton],tabIndex:r?void 0:-1,"aria-disabled":!r||void 0,"aria-label":l(r),onClick:d},Xt.createElement(a.Chevron,{disabled:!r||void 0,className:s[sU.Chevron],orientation:"left"})),Xt.createElement(a.NextMonthButton,{type:"button",className:s[sU.NextMonthButton],tabIndex:i?void 0:-1,"aria-disabled":!i||void 0,"aria-label":c(i),onClick:u},Xt.createElement(a.Chevron,{disabled:!i||void 0,orientation:"right",className:s[sU.Chevron]})))},NextMonthButton:function(e){const{components:t}=gU();return Xt.createElement(t.Button,{...e})},Option:function(e){return Xt.createElement("option",{...e})},PreviousMonthButton:function(e){const{components:t}=gU();return Xt.createElement(t.Button,{...e})},Root:function(e){const{rootRef:t,...n}=e;return Xt.createElement("div",{...n,ref:t})},Select:function(e){return Xt.createElement("select",{...e})},Week:function(e){const{week:t,...n}=e;return Xt.createElement("tr",{...n})},WeekNumber:function(e){const{week:t,...n}=e;return Xt.createElement("th",{...n})},WeekNumberHeader:function(e){return Xt.createElement("th",{...e})},Weekday:function(e){return Xt.createElement("th",{...e})},Weekdays:function(e){return Xt.createElement("thead",{"aria-hidden":!0},Xt.createElement("tr",{...e}))},Weeks:function(e){return Xt.createElement("tbody",{...e})},YearsDropdown:function(e){const{components:t}=gU();return Xt.createElement(t.Dropdown,{...e})}},Symbol.toStringTag,{value:"Module"}));function yU(e,t,n=!1,r=rU){let{from:i,to:o}=e;const{differenceInCalendarDays:a,isSameDay:s}=r;return i&&o?(a(o,i)<0&&([i,o]=[o,i]),a(t,i)>=(n?1:0)&&a(o,t)>=(n?1:0)):!n&&o?s(o,t):!(n||!i)&&s(i,t)}function bU(e){return Boolean(e&&"object"==typeof e&&"before"in e&&"after"in e)}function CU(e){return Boolean(e&&"object"==typeof e&&"from"in e)}function wU(e){return Boolean(e&&"object"==typeof e&&"after"in e)}function EU(e){return Boolean(e&&"object"==typeof e&&"before"in e)}function kU(e){return Boolean(e&&"object"==typeof e&&"dayOfWeek"in e)}function SU(e,t){return Array.isArray(e)&&e.every(t.isDate)}function xU(e,t,n=rU){const r=Array.isArray(t)?t:[t],{isSameDay:i,differenceInCalendarDays:o,isAfter:a}=n;return r.some(t=>{if("boolean"==typeof t)return t;if(n.isDate(t))return i(e,t);if(SU(t,n))return t.some(t=>i(e,t));if(CU(t))return yU(t,e,!1,n);if(kU(t))return Array.isArray(t.dayOfWeek)?t.dayOfWeek.includes(e.getDay()):t.dayOfWeek===e.getDay();if(bU(t)){const n=o(t.before,e)>0,r=o(t.after,e)<0;return a(t.before,t.after)?r&&n:n||r}return wU(t)?o(e,t.after)>0:EU(t)?o(t.before,e)>0:"function"==typeof t&&t(e)})}function TU(){const e={};for(const t in sU)e[sU[t]]=`rdp-${sU[t]}`;for(const t in cU)e[cU[t]]=`rdp-${cU[t]}`;for(const t in dU)e[dU[t]]=`rdp-${dU[t]}`;for(const t in fU)e[fU[t]]=`rdp-${fU[t]}`;return e}function MU(e,t,n){return(n??new nU(t)).formatMonthYear(e)}const AU=MU;function LU(e,t=rU){return t.format(e,"yyyy")}const PU=LU,RU=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:MU,formatDay:function(e,t,n){return(n??new nU(t)).format(e,"d")},formatMonthCaption:AU,formatMonthDropdown:function(e,t=rU){return t.format(e,"LLLL")},formatWeekNumber:function(e,t=rU){return e<10?t.formatNumber(`0${e.toLocaleStr
1ing()}`):t.formatNumber(`${e.toLocaleString()}`)},formatWeekNumberHeader:function(){return""},formatWeekdayName:function(e,t,n){return(n??new nU(t)).format(e,"cccccc")},formatYearCaption:PU,formatYearDropdown:LU},Symbol.toStringTag,{value:"Module"}));function OU(e,t,n,r){let i=(r??new nU(n)).format(e,"PPPP");return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i}const DU=OU;function IU(e,t,n){return(n??new nU(t)).formatMonthYear(e)}const _U=IU;function FU(e,t,n,r){let i=(r??new nU(n)).format(e,"PPPP");return(null==t?void 0:t.today)&&(i=`Today, ${i}`),i}function $U(e){return"Choose the Month"}function NU(){return""}function BU(e,t){return"Go to the Next Month"}function jU(e){return"Go to the Previous Month"}function zU(e,t,n){return(n??new nU(t)).format(e,"cccc")}function VU(e,t){return`Week ${e}`}function HU(e){return"Week Number"}function UU(e){return"Choose the Year"}const WU=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:_U,labelDay:DU,labelDayButton:OU,labelGrid:IU,labelGridcell:FU,labelMonthDropdown:$U,labelNav:NU,labelNext:BU,labelPrevious:jU,labelWeekNumber:VU,labelWeekNumberHeader:HU,labelWeekday:zU,labelYearDropdown:UU},Symbol.toStringTag,{value:"Module"})),GU=(e,t,n)=>t||(n?"function"==typeof n?n:(...e)=>n:e);function qU(e,t){var n;const r=(null==(n=t.locale)?void 0:n.labels)??{};return{...WU,...e??{},labelDayButton:GU(OU,null==e?void 0:e.labelDayButton,r.labelDayButton),labelMonthDropdown:GU($U,null==e?void 0:e.labelMonthDropdown,r.labelMonthDropdown),labelNext:GU(BU,null==e?void 0:e.labelNext,r.labelNext),labelPrevious:GU(jU,null==e?void 0:e.labelPrevious,r.labelPrevious),labelWeekNumber:GU(VU,null==e?void 0:e.labelWeekNumber,r.labelWeekNumber),labelYearDropdown:GU(UU,null==e?void 0:e.labelYearDropdown,r.labelYearDropdown),labelGrid:GU(IU,null==e?void 0:e.labelGrid,r.labelGrid),labelGridcell:GU(FU,null==e?void 0:e.labelGridcell,r.labelGridcell),labelNav:GU(NU,null==e?void 0:e.labelNav,r.labelNav),labelWeekNumberHeader:GU(HU,null==e?void 0:e.labelWeekNumberHeader,r.labelWeekNumberHeader),labelWeekday:GU(zU,null==e?void 0:e.labelWeekday,r.labelWeekday)}}function KU(e,t,n,r,i){const{startOfMonth:o,startOfYear:a,endOfYear:s,eachMonthOfInterval:l,getMonth:c}=i;return l({start:a(e),end:s(e)}).map(e=>{const a=r.formatMonthDropdown(e,i);return{value:c(e),label:a,disabled:t&&e<o(t)||n&&e>o(n)||!1}})}function YU(e,t,n,r,i=!1){if(!e)return;if(!t)return;const{startOfYear:o,endOfYear:a,eachYearOfInterval:s,getYear:l}=r,c=s({start:o(e),end:a(t)});return i&&c.reverse(),c.map(e=>{const t=n.formatYearDropdown(e,r);return{value:l(e),label:t,disabled:!1}})}const ZU=e=>e instanceof HTMLElement?e:null,QU=e=>[...e.querySelectorAll("[data-animated-month]")??[]],XU=e=>ZU(e.querySelector("[data-animated-caption]")),JU=e=>ZU(e.querySelector("[data-animated-weeks]"));function eW(e,t,n,r){const{month:i,defaultMonth:o,today:a=r.today(),numberOfMonths:s=1}=e;let l=i||o||a;const{differenceInCalendarMonths:c,addMonths:u,startOfMonth:d}=r;return n&&c(n,l)<s-1&&(l=u(n,-1*(s-1))),t&&c(l,t)<0&&(l=t),d(l)}function tW(e,t){const[n,r]=Qt.useState(e);return[void 0===t?n:t,r]}var nW,rW;function iW(e){return!e[cU.disabled]&&!e[cU.hidden]&&!e[cU.outside]}function oW(e,t,n,r,i,o,a,s=0){if(s>365)return;const l=function(e,t,n,r,i,o,a){const{ISOWeek:s,broadcastCalendar:l}=o,{addDays:c,addMonths:u,addWeeks:d,addYears:h,endOfBroadcastWeek:f,endOfISOWeek:p,endOfWeek:m,max:g,min:v,startOfBroadcastWeek:y,startOfISOWeek:b,startOfWeek:C}=a;let w={day:c,week:d,month:u,year:h,startOfWeek:e=>l?y(e,a):s?b(e):C(e),endOfWeek:e=>l?f(e):s?p(e):m(e)}[e](n,"after"===t?1:-1);return"before"===t&&r?w=g([r,w]):"after"===t&&i&&(w=v([i,w])),w}(e,t,n.date,r,i,o,a),c=Boolean(o.disabled&&xU(l,o.disabled,a)),u=Boolean(o.hidden&&xU(l,o.hidden,a)),d=new iU(l,l,a);return c||u?oW(e,t,d,r,i,o,a,s+1):d}function aW(e,t,n,r,i){const{autoFocus:o}=e,[a,s]=Qt.useState(),l=function(e,t,n,r){let i,o=-1;for(const a of e){const e=t(a);iW(e)&&(e[cU.focused]&&o<nW.FocusedModifier?(i=a,o=nW.FocusedModifier):(null==r?void 0:r.isEqualTo(a))&&o<nW.LastFocused?(i=a,o=nW.LastFocused):n(a.date)&&o<nW.Selected?(i=a,o=nW.Selected):e[cU.today]&&o<nW.Today&&(i=a,o=nW.Today))}
1return i||(i=e.find(e=>iW(t(e)))),i}(t.days,n,r||(()=>!1),a),[c,u]=Qt.useState(o?l:void 0);return{isFocusTarget:e=>Boolean(null==l?void 0:l.isEqualTo(e)),setFocused:u,focused:c,blur:()=>{s(c),u(void 0)},moveFocus:(n,r)=>{if(!c)return;const o=oW(n,r,c,t.navStart,t.navEnd,e,i);if(o){if(e.disableNavigation&&!t.days.some(e=>e.isEqualTo(o)))return;t.goToDay(o),u(o)}}}}function sW(e,t,n=rU){return yU(e,t.from,!1,n)||yU(e,t.to,!1,n)||yU(t,e.from,!1,n)||yU(t,e.to,!1,n)}function lW(e,t){const{disabled:n,excludeDisabled:r,resetOnSelect:i,selected:o,required:a,onSelect:s}=e,[l,c]=tW(o,s?o:void 0),u=s?o:l;return{selected:u,select:(o,l,d)=>{const{min:h,max:f}=e;let p;if(o){const e=null==u?void 0:u.from,n=null==u?void 0:u.to,r=!!e&&!!n,s=!!e&&!!n&&t.isSameDay(e,n)&&t.isSameDay(o,e);p=!i||!r&&(null==u?void 0:u.from)?function(e,t,n=0,r=0,i=!1,o=rU){const{from:a,to:s}=t||{},{isSameDay:l,isAfter:c,isBefore:u}=o;let d;if(a||s){if(a&&!s)d=l(a,e)?0===n?{from:a,to:e}:i?{from:a,to:void 0}:void 0:u(e,a)?{from:e,to:a}:{from:a,to:e};else if(a&&s)if(l(a,e)&&l(s,e))d=i?{from:a,to:s}:void 0;else if(l(a,e))d={from:a,to:n>0?void 0:e};else if(l(s,e))d={from:e,to:n>0?void 0:e};else if(u(e,a))d={from:e,to:s};else if(c(e,a))d={from:a,to:e};else{if(!c(e,s))throw new Error("Invalid range");d={from:a,to:e}}}else d={from:e,to:n>0?void 0:e};if((null==d?void 0:d.from)&&(null==d?void 0:d.to)){const t=o.differenceInCalendarDays(d.to,d.from);(r>0&&t>r||n>1&&t<n)&&(d={from:e,to:void 0})}return d}(o,u,h,f,a,t):!a&&s?void 0:{from:o,to:void 0}}return r&&n&&(null==p?void 0:p.from)&&p.to&&function(e,t,n=rU){const r=Array.isArray(t)?t:[t];if(r.filter(e=>"function"!=typeof e).some(t=>"boolean"==typeof t?t:n.isDate(t)?yU(e,t,!1,n):SU(t,n)?t.some(t=>yU(e,t,!1,n)):CU(t)?!(!t.from||!t.to)&&sW(e,{from:t.from,to:t.to},n):kU(t)?function(e,t,n=rU){const r=Array.isArray(t)?t:[t];let i=e.from;const o=n.differenceInCalendarDays(e.to,e.from),a=Math.min(o,6);for(let s=0;s<=a;s++){if(r.includes(i.getDay()))return!0;i=n.addDays(i,1)}return!1}(e,t.dayOfWeek,n):bU(t)?n.isAfter(t.before,t.after)?sW(e,{from:n.addDays(t.after,1),to:n.addDays(t.before,-1)},n):xU(e.from,t,n)||xU(e.to,t,n):!(!wU(t)&&!EU(t))&&(xU(e.from,t,n)||xU(e.to,t,n))))return!0;const i=r.filter(e=>"function"==typeof e);if(i.length){let t=e.from;const r=n.differenceInCalendarDays(e.to,e.from);for(let e=0;e<=r;e++){if(i.some(e=>e(t)))return!0;t=n.addDays(t,1)}}return!1}({from:p.from,to:p.to},n,t)&&(p.from=o,p.to=void 0),s||c(p),null==s||s(p,o,l,d),p},isSelected:e=>u&&yU(u,e,!1,t)}}function cW(e,t){return e instanceof Es&&e.timeZone===t?e:new Es(e,t)}function uW(e,t,n){return cW(e,t)}function dW(e,t,n){return"boolean"==typeof e||"function"==typeof e?e:e instanceof Date?uW(e,t):Array.isArray(e)?e.map(e=>e instanceof Date?uW(e,t):e):CU(e)?{...e,from:e.from?cW(e.from,t):e.from,to:e.to?cW(e.to,t):e.to}:bU(e)?{before:uW(e.before,t),after:uW(e.after,t)}:wU(e)?{after:uW(e.after,t)}:EU(e)?{before:uW(e.before,t)}:e}function hW(e,t,n){return e?Array.isArray(e)?e.map(e=>dW(e,t)):dW(e,t):e}function fW(e){var t;let n=e;const r=n.timeZone;if(r&&(n={...e,timeZone:r},n.today&&(n.today=cW(n.today,r)),n.month&&(n.month=cW(n.month,r)),n.defaultMonth&&(n.defaultMonth=cW(n.defaultMonth,r)),n.startMonth&&(n.startMonth=cW(n.startMonth,r)),n.endMonth&&(n.endMonth=cW(n.endMonth,r)),"single"===n.mode&&n.selected?n.selected=cW(n.selected,r):"multiple"===n.mode&&n.selected?n.selected=null==(t=n.selected)?void 0:t.map(e=>cW(e,r)):"range"===n.mode&&n.selected&&(n.selected={from:n.selected.from?cW(n.selected.from,r):n.selected.from,to:n.selected.to?cW(n.selected.to,r):n.selected.to}),void 0!==n.disabled&&(n.disabled=hW(n.disabled,r)),void 0!==n.hidden&&(n.hidden=hW(n.hidden,r)),n.modifiers)){const e={};Object.keys(n.modifiers).forEach(t=>{var i;e[t]=hW(null==(i=n.modifiers)?void 0:i[t],r)}),n.modifiers=e}const{components:i,formatters:o,labels:a,dateLib:s,locale:l,classNames:c}=Qt.useMemo(()=>{const e={...tU,...n.locale},t=n.broadcastCalendar?1:n.weekStartsOn,r=n.noonSafe&&n.timeZone?function(e,t={}){var n;const{weekStartsOn:r,locale:i}=t,o=r??(null==(n=null==i?void 0:i.options)?void 0:n.weekStartsOn)??0,a=t=>{const n="number"==typeof t||"string"==typeof t?new Date(t):t;return new Es(n.getFullYear(),n.getMonth(),n.getDate(),12,0,0,e)},s=e=>{const t=a(e);return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)};return{today:()=>
1a(Es.tz(e)),newDate:(t,n,r)=>new Es(t,n,r,12,0,0,e),startOfDay:e=>a(e),startOfWeek:(e,t)=>{const n=a(e),r=(null==t?void 0:t.weekStartsOn)??o,i=(n.getDay()-r+7)%7;return n.setDate(n.getDate()-i),n},startOfISOWeek:e=>{const t=a(e),n=(t.getDay()-1+7)%7;return t.setDate(t.getDate()-n),t},startOfMonth:e=>{const t=a(e);return t.setDate(1),t},startOfYear:e=>{const t=a(e);return t.setMonth(0,1),t},endOfWeek:(e,t)=>{const n=a(e),r=((((null==t?void 0:t.weekStartsOn)??o)+6)%7-n.getDay()+7)%7;return n.setDate(n.getDate()+r),n},endOfISOWeek:e=>{const t=a(e),n=(7-t.getDay())%7;return t.setDate(t.getDate()+n),t},endOfMonth:e=>{const t=a(e);return t.setMonth(t.getMonth()+1,0),t},endOfYear:e=>{const t=a(e);return t.setMonth(11,31),t},eachMonthOfInterval:t=>{const n=a(t.start),r=a(t.end),i=[],o=new Es(n.getFullYear(),n.getMonth(),1,12,0,0,e),s=12*r.getFullYear()+r.getMonth();for(;12*o.getFullYear()+o.getMonth()<=s;)i.push(new Es(o,e)),o.setMonth(o.getMonth()+1,1);return i},addDays:(e,t)=>{const n=a(e);return n.setDate(n.getDate()+t),n},addWeeks:(e,t)=>{const n=a(e);return n.setDate(n.getDate()+7*t),n},addMonths:(e,t)=>{const n=a(e);return n.setMonth(n.getMonth()+t),n},addYears:(e,t)=>{const n=a(e);return n.setFullYear(n.getFullYear()+t),n},eachYearOfInterval:t=>{const n=a(t.start),r=a(t.end),i=[],o=new Es(n.getFullYear(),0,1,12,0,0,e);for(;o.getFullYear()<=r.getFullYear();)i.push(new Es(o,e)),o.setFullYear(o.getFullYear()+1,0,1);return i},getWeek:(e,t)=>{var n;return _l(s(e),{weekStartsOn:(null==t?void 0:t.weekStartsOn)??o,firstWeekContainsDate:(null==t?void 0:t.firstWeekContainsDate)??(null==(n=null==i?void 0:i.options)?void 0:n.firstWeekContainsDate)??1})},getISOWeek:e=>Dl(s(e)),differenceInCalendarDays:(e,t)=>Qs(s(e),s(t)),differenceInCalendarMonths:(e,t)=>ll(s(e),s(t))}}(n.timeZone,{weekStartsOn:t,locale:e}):void 0,i=n.dateLib&&r?{...r,...n.dateLib}:n.dateLib??r,o=new nU({locale:e,weekStartsOn:t,firstWeekContainsDate:n.firstWeekContainsDate,useAdditionalWeekYearTokens:n.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:n.useAdditionalDayOfYearTokens,timeZone:n.timeZone,numerals:n.numerals},i);return{dateLib:o,components:(s=n.components,{...vU,...s}),formatters:(a=n.formatters,(null==a?void 0:a.formatMonthCaption)&&!a.formatCaption&&(a.formatCaption=a.formatMonthCaption),(null==a?void 0:a.formatYearCaption)&&!a.formatYearDropdown&&(a.formatYearDropdown=a.formatYearCaption),{...RU,...a}),labels:qU(n.labels,o.options),locale:e,classNames:{...TU(),...n.classNames}};var a,s},[n.locale,n.broadcastCalendar,n.weekStartsOn,n.firstWeekContainsDate,n.useAdditionalWeekYearTokens,n.useAdditionalDayOfYearTokens,n.timeZone,n.numerals,n.dateLib,n.noonSafe,n.components,n.formatters,n.labels,n.classNames]);n.today||(n={...n,today:s.today()});const{captionLayout:u,mode:d,navLayout:h,numberOfMonths:f=1,onDayBlur:p,onDayClick:m,onDayFocus:g,onDayKeyDown:v,onDayMouseEnter:y,onDayMouseLeave:b,onNextClick:C,onPrevClick:w,showWeekNumber:E,styles:k}=n,{formatCaption:S,formatDay:x,formatMonthDropdown:T,formatWeekNumber:M,formatWeekNumberHeader:A,formatWeekdayName:L,formatYearDropdown:P}=o,R=function(e,t){var n;const[r,i]=function(e,t){let{startMonth:n,endMonth:r}=e;const{startOfYear:i,startOfDay:o,startOfMonth:a,endOfMonth:s,addYears:l,endOfYear:c,newDate:u,today:d}=t,{fromYear:h,toYear:f,fromMonth:p,toMonth:m}=e;!n&&p&&(n=p),!n&&h&&(n=t.newDate(h,0,1)),!r&&m&&(r=m),!r&&f&&(r=u(f,11,31));const g="dropdown"===e.captionLayout||"dropdown-years"===e.captionLayout;return n?n=a(n):h?n=u(h,0,1):!n&&g&&(n=i(l(e.today??d(),-100))),r?r=s(r):f?r=u(f,11,31):!r&&g&&(r=c(e.today??d())),[n?o(n):n,r?o(r):r]}(e,t),{startOfMonth:o,endOfMonth:a}=t,s=eW(e,r,i,t),[l,c]=tW(s,e.month?s:void 0);Qt.useEffect(()=>{const n=eW(e,r,i,t);c(n)},[e.timeZone]);const{months:u,weeks:d,days:h,previousMonth:f,nextMonth:p}=Qt.useMemo(()=>{const n=function(e,t,n,r){const{numberOfMonths:i=1}=n,o=[];for(let a=0;a<i;a++){const n=r.addMonths(e,a);if(t&&n>t)break;o.push(n)}return o}(l,i,{numberOfMonths:e.numberOfMonths},t),o=function(e,t,n,r){const i=e[0],o=e[e.length-1],{ISOWeek:a,fixedWeeks:s,broadcastCalendar:l}=n??{}
1,{addDays:c,differenceInCalendarDays:u,differenceInCalendarMonths:d,endOfBroadcastWeek:h,endOfISOWeek:f,endOfMonth:p,endOfWeek:m,isAfter:g,startOfBroadcastWeek:v,startOfISOWeek:y,startOfWeek:b}=r,C=l?v(i,r):a?y(i):b(i),w=l?h(o):a?f(p(o)):m(p(o)),E=t&&(l?h(t):a?f(t):m(t)),k=u(E&&g(w,E)?E:w,C),S=d(o,i)+1,x=[];for(let M=0;M<=k;M++){const e=c(C,M);x.push(e)}const T=(l?35:42)*S;if(s&&x.length<T){const e=T-x.length;for(let t=0;t<e;t++){const e=c(x[x.length-1],1);x.push(e)}}return x}(n,e.endMonth?a(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),s=function(e,t,n,r){const{addDays:i,endOfBroadcastWeek:o,endOfISOWeek:a,endOfMonth:s,endOfWeek:l,getISOWeek:c,getWeek:u,startOfBroadcastWeek:d,startOfISOWeek:h,startOfWeek:f}=r,p=e.reduce((e,p)=>{const m=n.broadcastCalendar?d(p,r):n.ISOWeek?h(p):f(p),g=n.broadcastCalendar?o(p):n.ISOWeek?a(s(p)):l(s(p)),v=t.filter(e=>e>=m&&e<=g),y=n.broadcastCalendar?35:42;if(n.fixedWeeks&&v.length<y){const e=t.filter(e=>{const t=y-v.length;return e>g&&e<=i(g,t)});v.push(...e)}const b=v.reduce((e,t)=>{const i=n.ISOWeek?c(t):u(t),o=e.find(e=>e.weekNumber===i),a=new iU(t,p,r);return o?o.days.push(a):e.push(new aU(i,[a])),e},[]),C=new oU(p,b);return e.push(C),e},[]);return n.reverseMonths?p.reverse():p}(n,o,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),c=function(e){return e.reduce((e,t)=>e.concat(t.weeks.slice()),[].slice())}(s),u=function(e){const t=[];return e.reduce((e,n)=>{const r=n.weeks.reduce((e,t)=>e.concat(t.days.slice()),t.slice());return e.concat(r.slice())},t.slice())}(s),d=function(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:i,numberOfMonths:o}=n,{startOfMonth:a,addMonths:s,differenceInCalendarMonths:l}=r,c=i?o??1:1,u=a(e);return t&&l(u,t)<=0?void 0:s(u,-c)}(l,r,e,t),h=function(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:i,numberOfMonths:o=1}=n,{startOfMonth:a,addMonths:s,differenceInCalendarMonths:l}=r,c=i?o:1,u=a(e);return t&&l(t,e)<o?void 0:s(u,c)}(l,i,e,t);return{months:s,weeks:c,days:u,previousMonth:d,nextMonth:h}},[t,l.getTime(),null==i?void 0:i.getTime(),null==r?void 0:r.getTime(),e.disableNavigation,e.broadcastCalendar,null==(n=e.endMonth)?void 0:n.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:m,onMonthChange:g}=e,v=e=>{if(m)return;let t=o(e);r&&t<o(r)&&(t=o(r)),i&&t>o(i)&&(t=o(i)),c(t),null==g||g(t)};return{months:u,weeks:d,days:h,navStart:r,navEnd:i,previousMonth:f,nextMonth:p,goToMonth:v,goToDay:e=>{(e=>d.some(t=>t.days.some(t=>t.isEqualTo(e))))(e)||v(e.date)}}}(n,s),{days:O,months:D,navStart:I,navEnd:_,previousMonth:F,nextMonth:$,goToMonth:N}=R,B=function(e,t,n,r,i){const{disabled:o,hidden:a,modifiers:s,showOutsideDays:l,broadcastCalendar:c,today:u=i.today()}=t,{isSameDay:d,isSameMonth:h,startOfMonth:f,isBefore:p,endOfMonth:m,isAfter:g}=i,v=n&&f(n),y=r&&m(r),b={[cU.focused]:[],[cU.outside]:[],[cU.disabled]:[],[cU.hidden]:[],[cU.today]:[]},C={};for(const w of e){const{date:e,displayMonth:t}=w,n=Boolean(t&&!h(e,t)),r=Boolean(v&&p(e,v)),f=Boolean(y&&g(e,y)),m=Boolean(o&&xU(e,o,i)),E=Boolean(a&&xU(e,a,i))||r||f||!c&&!l&&n||c&&!1===l&&n,k=d(e,u);n&&b.outside.push(w),m&&b.disabled.push(w),E&&b.hidden.push(w),k&&b.today.push(w),s&&Object.keys(s).forEach(t=>{const n=null==s?void 0:s[t];n&&xU(e,n,i)&&(C[t]?C[t].push(w):C[t]=[w])})}return e=>{const t={[cU.focused]:!1,[cU.disabled]:!1,[cU.hidden]:!1,[cU.outside]:!1,[cU.today]:!1},n={};for(const r in b){const n=b[r];t[r]=n.some(t=>t===e)}for(const r in C)n[r]=C[r].some(t=>t===e);return{...t,...n}}}(O,n,I,_,s),{isSelected:j,select:z,selected:V}=function(e,t){const n=function(e,t){const{selected:n,required:r,onSelect:i}=e,[o,a]=tW(n,i?n:void 0),s=i?n:o,{isSameDay:l}=t;return{selected:s,select:(e,t,n)=>{let o=e;return!r&&s&&s&&l(e,s)&&(o=void 0),i||a(o),null==i||i(o,e,t,n),o},isSelected:e=>!!s&&l(s,e)}}(e,t),r=function(e,t){const{selected:n,required:r,onSelect:i}=e,[o,a]=tW(n,i?n:void 0),s=i?n:o,{isSameDay:l}=t,c=e=>(null==s?void 0:s.some(t=>l(t,e)))??!1,{min:u,max:d}=e;
1return{selected:s,select:(e,t,n)=>{let o=[...s??[]];if(c(e)){if((null==s?void 0:s.length)===u)return;if(r&&1===(null==s?void 0:s.length))return;o=null==s?void 0:s.filter(t=>!l(t,e))}else o=(null==s?void 0:s.length)===d?[e]:[...o,e];return i||a(o),null==i||i(o,e,t,n),o},isSelected:c}}(e,t),i=lW(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return i;default:return}}(n,s)??{},{blur:H,focused:U,isFocusTarget:W,moveFocus:G,setFocused:q}=aW(n,R,B,j??(()=>!1),s),{labelDayButton:K,labelGridcell:Y,labelGrid:Z,labelMonthDropdown:Q,labelNav:X,labelPrevious:J,labelNext:ee,labelWeekday:te,labelWeekNumber:ne,labelWeekNumberHeader:re,labelYearDropdown:ie}=a,oe=Qt.useMemo(()=>function(e,t,n,r){const i=r??e.today(),o=n?e.startOfBroadcastWeek(i,e):t?e.startOfISOWeek(i):e.startOfWeek(i),a=[];for(let s=0;s<7;s++){const t=e.addDays(o,s);a.push(t)}return a}(s,n.ISOWeek,n.broadcastCalendar,n.today),[s,n.ISOWeek,n.broadcastCalendar,n.today]),ae=void 0!==d||void 0!==m,se=Qt.useCallback(()=>{F&&(N(F),null==w||w(F))},[F,N,w]),le=Qt.useCallback(()=>{$&&(N($),null==C||C($))},[N,$,C]),ce=Qt.useCallback((e,t)=>n=>{n.preventDefault(),n.stopPropagation(),q(e),t.disabled||(null==z||z(e.date,t,n),null==m||m(e.date,t,n))},[z,m,q]),ue=Qt.useCallback((e,t)=>n=>{q(e),null==g||g(e.date,t,n)},[g,q]),de=Qt.useCallback((e,t)=>n=>{H(),null==p||p(e.date,t,n)},[H,p]),he=Qt.useCallback((e,t)=>r=>{const i={ArrowLeft:[r.shiftKey?"month":"day","rtl"===n.dir?"after":"before"],ArrowRight:[r.shiftKey?"month":"day","rtl"===n.dir?"before":"after"],ArrowDown:[r.shiftKey?"year":"week","after"],ArrowUp:[r.shiftKey?"year":"week","before"],PageUp:[r.shiftKey?"year":"month","before"],PageDown:[r.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(i[r.key]){r.preventDefault(),r.stopPropagation();const[e,t]=i[r.key];G(e,t)}null==v||v(e.date,t,r)},[G,v,n.dir]),fe=Qt.useCallback((e,t)=>n=>{null==y||y(e.date,t,n)},[y]),pe=Qt.useCallback((e,t)=>n=>{null==b||b(e.date,t,n)},[b]),me=Qt.useCallback(e=>t=>{const n=Number(t.target.value),r=s.setMonth(s.startOfMonth(e),n);N(r)},[s,N]),ge=Qt.useCallback(e=>t=>{const n=Number(t.target.value),r=s.setYear(s.startOfMonth(e),n);N(r)},[s,N]),{className:ve,style:ye}=Qt.useMemo(()=>({className:[c[sU.Root],n.className].filter(Boolean).join(" "),style:{...null==k?void 0:k[sU.Root],...n.style}}),[c,n.className,n.style,k]),be=function(e){const t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([e,n])=>{e.startsWith("data-")&&(t[e]=n)}),t}(n),Ce=Qt.useRef(null);!function(e,t,{classNames:n,months:r,focused:i,dateLib:o}){const a=Qt.useRef(null),s=Qt.useRef(r),l=Qt.useRef(!1);Qt.useLayoutEffect(()=>{const c=s.current;if(s.current=r,!(t&&e.current&&e.current instanceof HTMLElement&&0!==r.length&&0!==c.length&&r.length===c.length))return;const u=o.isSameMonth(r[0].date,c[0].date),d=o.isAfter(r[0].date,c[0].date),h=d?n[fU.caption_after_enter]:n[fU.caption_before_enter],f=d?n[fU.weeks_after_enter]:n[fU.weeks_before_enter],p=a.current,m=e.current.cloneNode(!0);if(m instanceof HTMLElement?(QU(m).forEach(e=>{if(!(e instanceof HTMLElement))return;const t=ZU(e.querySelector("[data-animated-month]"));t&&e.contains(t)&&e.removeChild(t);const n=XU(e);n&&n.classList.remove(h);const r=JU(e);r&&r.classList.remove(f)}),a.current=m):a.current=null,l.current||u||i)return;const g=p instanceof HTMLElement?QU(p):[],v=QU(e.current);if((null==v?void 0:v.every(e=>e instanceof HTMLElement))&&g&&g.every(e=>e instanceof HTMLElement)){l.current=!0,e.current.style.isolation="isolate";const t=(y=e.current,ZU(y.querySelector("[data-animated-nav]")));t&&(t.style.zIndex="1"),v.forEach((r,i)=>{const o=g[i];if(!o)return;r.style.position="relative",r.style.overflow="hidden";const a=XU(r);a&&a.classList.add(h);const s=JU(r);s&&s.classList.add(f),o.style.pointerEvents="none",o.style.position="absolute",o.style.overflow="hidden",o.setAttribute("aria-hidden","true");const c=(e=>ZU(e.querySelector("[data-animated-weekdays]")))(o);c&&(c.style.opacity="0");const u=XU(o);u&&(u.classList.add(d?n[fU.caption_before_exit]:n[fU.caption_after_exit]),u.addEventListener("animationend",()=>{l.current=!1,e.current&&(e.current.style.isolation=""),t&&(t.style.zIndex=""),a&&a.classList.remove(h),s&&s.classList.remove(f),r.style.position="",r.style.overflow="",r.contains(o)&&r.removeChild(o)}));const p=JU(o);p&&p.classList.add(d?n[fU.weeks_before_exit]:n[fU.weeks_after_exit]),r.insertBefore(o,r.firstChild)})}var y})}(Ce,Boolean(n.animate),{classNames:c,months:D,focused:U,dateLib:s});const we={dayPickerProps:n,selected:V,select:z,isSelected:j,months:D,nextMonth:$,previousMonth:F,goToMonth:N,getModifiers:B,components:i,classNames:c,styles:k,labels:a,formatters:o};return Xt.createElement(mU.Provider,{value:we},Xt.createElement(i.Root,{rootRef:n.animate?Ce:void 0,className:ve,style:ye,dir:n.dir,id:n.id,lang:n.lang??l.code,nonce:n.nonce,title:n.title,role:n.role,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],...be},Xt.createElement(i.Months,{className:c[sU.Months],style:null==k?void 0:k[sU.Months]},!n.hideNavigation&&!h&&Xt.createElement(i.Nav,{"data-animated-nav":n.animate?"true":void 0,className:c[sU.Nav],style:null==k?void 0:k[sU.Nav],"aria-label":X(),onPreviousClick:se,onNextClick:le,previousMonth:F,nextMonth:$}),D.map((e,t)=>Xt.createElement(i.Month,{"data-animated-month":n.animate?"true":void 0,className:c[sU.Month],style:null==k?void 0:k[sU.Month],key:t,displayIndex:t,calendarMonth:e},"around"===h&&!n.hideNavigation&&0===t&&Xt.createElement(i.PreviousMonthButton,{type:"button",className:c[sU.PreviousMonthButton],tabIndex:F?void 0:-1,"aria-disabled":!F||void 0,"aria-label":J(F),onClick:se,"data-animated-button":n.animate?"true":void 0},Xt.createElement(i.Chevron,{disabled:!F||void 0,className:c[sU.Chevron],orientation:"rtl"===n.dir?"right":"left"})),Xt.createElement(i.MonthCaption,{"data-animated-caption":n.animate?"true":void 0,className:c[sU.MonthCaption],style:null==k?void 0:k[sU.MonthCaption],calendarMonth:e,displayIndex:t},(null==u?void 0:u.startsWith("dropdown"))?Xt.createElement(i.DropdownNav,{className:c[sU.Dropdowns],style:null==k?void 0:k[sU.Dropdowns]},(()=>{const t="dropdown"===u||"dropdown-months"===u?Xt.createElement(i.MonthsDropdown,{key:"month",className:c[sU.MonthsDropdown],"aria-label":Q(),classNames:c,components:i,disabled:Boolean(n.disableNavigation),onChange:me(e.date),options:KU(e.date,I,_,o,s),style:null==k?void 0:k[sU.Dropdown],value:s.getMonth(e.date)}):Xt.createElement("span",{key:"month"},T(e.date,s)),r="dropdown"===u||"dropdown-years"===u?Xt.createElement(i.Years
1Dropdown,{key:"year",className:c[sU.YearsDropdown],"aria-label":ie(s.options),classNames:c,components:i,disabled:Boolean(n.disableNavigation),onChange:ge(e.date),options:YU(I,_,o,s,Boolean(n.reverseYears)),style:null==k?void 0:k[sU.Dropdown],value:s.getYear(e.date)}):Xt.createElement("span",{key:"year"},P(e.date,s));return"year-first"===s.getMonthYearOrder()?[r,t]:[t,r]})(),Xt.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},S(e.date,s.options,s))):Xt.createElement(i.CaptionLabel,{className:c[sU.CaptionLabel],role:"status","aria-live":"polite"},S(e.date,s.options,s))),"around"===h&&!n.hideNavigation&&t===f-1&&Xt.createElement(i.NextMonthButton,{type:"button",className:c[sU.NextMonthButton],tabIndex:$?void 0:-1,"aria-disabled":!$||void 0,"aria-label":ee($),onClick:le,"data-animated-button":n.animate?"true":void 0},Xt.createElement(i.Chevron,{disabled:!$||void 0,className:c[sU.Chevron],orientation:"rtl"===n.dir?"left":"right"})),t===f-1&&"after"===h&&!n.hideNavigation&&Xt.createElement(i.Nav,{"data-animated-nav":n.animate?"true":void 0,className:c[sU.Nav],style:null==k?void 0:k[sU.Nav],"aria-label":X(),onPreviousClick:se,onNextClick:le,previousMonth:F,nextMonth:$}),Xt.createElement(i.MonthGrid,{role:"grid","aria-multiselectable":"multiple"===d||"range"===d,"aria-label":Z(e.date,s.options,s)||void 0,className:c[sU.MonthGrid],style:null==k?void 0:k[sU.MonthGrid]},!n.hideWeekdays&&Xt.createElement(i.Weekdays,{"data-animated-weekdays":n.animate?"true":void 0,className:c[sU.Weekdays],style:null==k?void 0:k[sU.Weekdays]},E&&Xt.createElement(i.WeekNumberHeader,{"aria-label":re(s.options),className:c[sU.WeekNumberHeader],style:null==k?void 0:k[sU.WeekNumberHeader],scope:"col"},A()),oe.map(e=>Xt.createElement(i.Weekday,{"aria-label":te(e,s.options,s),className:c[sU.Weekday],key:String(e),style:null==k?void 0:k[sU.Weekday],scope:"col"},L(e,s.options,s)))),Xt.createElement(i.Weeks,{"data-animated-weeks":n.animate?"true":void 0,className:c[sU.Weeks],style:null==k?void 0:k[sU.Weeks]},e.weeks.map(e=>Xt.createElement(i.Week,{className:c[sU.Week],key:e.weekNumber,style:null==k?void 0:k[sU.Week],week:e},E&&Xt.createElement(i.WeekNumber,{week:e,style:null==k?void 0:k[sU.WeekNumber],"aria-label":ne(e.weekNumber,{locale:l}),className:c[sU.WeekNumber],scope:"row",role:"rowheader"},M(e.weekNumber,s)),e.days.map(e=>{const{date:t}=e,r=B(e);if(r[cU.focused]=!r.hidden&&Boolean(null==U?void 0:U.isEqualTo(e)),r[dU.selected]=(null==j?void 0:j(t))||r.selected,CU(V)){const{from:e,to:n}=V;r[dU.range_start]=Boolean(e&&n&&s.isSameDay(t,e)),r[dU.range_end]=Boolean(e&&n&&s.isSameDay(t,n)),r[dU.range_middle]=yU(V,t,!0,s)}const o=function(e,t={},n={}){let r={...null==t?void 0:t[sU.Day]};return Object.entries(e).filter(([,e])=>!0===e).forEach(([e])=>{r={...r,...null==n?void 0:n[e]}}),r}(r,k,n.modifiersStyles),a=function(e,t,n={}){return Object.entries(e).filter(([,e])=>!0===e).reduce((e,[r])=>(n[r]?e.push(n[r]):t[cU[r]]?e.push(t[cU[r]]):t[dU[r]]&&e.push(t[dU[r]]),e),[t[sU.Day]])}(r,c,n.modifiersClassNames),l=ae||r.hidden?void 0:Y(t,r,s.options,s);return Xt.createElement(i.Day,{key:`${e.isoDate}_${e.displayMonthId}`,day:e,modifiers:r,className:a.join(" "),style:o,role:"gridcell","aria-selected":r.selected||void 0,"aria-label":l,"data-day":e.isoDate,"data-month":e.outside?e.dateMonthId:void 0,"data-selected":r.selected||void 0,"data-disabled":r.disabled||void 0,"data-hidden":r.hidden||void 0,"data-outside":e.outside||void 0,"data-focused":r.focused||void 0,"data-today":r.today||void 0},!r.hidden&&ae?Xt.createElement(i.DayButton,{className:c[sU.DayButton],style:null==k?void 0:k[sU.DayButton],type:"button",day:e,modifiers:r,disabled:!r.focused&&r.disabled||void 0,"aria-disabled":r.focused&&r.disabled||void 0,tabIndex:W(e)?0:-1,"aria-label":K(t,r,s.options,s),onClick:ce(e,r),onBlur:de(e,r),onFocus:ue(e,r),onKeyDown:he(e,r),onMouseEnter:fe(e,r),onMouseLeave:pe(e,r)},x(t,s.options,s)):!r.hidden&&x(e.date,s.options,s))})))))))),n.footer&&Xt.createElement(i.Footer,{className:c[sU.Footer],style:null==k?void 0:k[sU.Footer],role:"status","aria-live":"polite"},n.footer)))}function pW(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function mW(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>Qt.createContext(e));return function(n){const r=(null==n?void 0:n[e])||t;return Qt.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const i=Qt.createContext(r);i.displayName=t+"Context";const o=n.length;n=[...n,r];const a=t=>{var n;const{scope:r,children:a,...s}=t,l=(null==(n=null==r?void 0:r[e])?void 0:n[o])||i,c=Qt.useMemo(()=>s,Object.values(s));return He.jsx(l.Provider,{value:c,children:a})};return a.displayName=t+"Provider",[a,function(n,a){var s;const l=(null==(s=null==a?void 0:a[e])?void 0:s[o])||i,c=Qt.useContext(l);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},gW(r,...t)]}function gW(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return Qt.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(rW=nW||(nW={}))[rW.Today=0]="Today",rW[rW.Selected=1]="Selected",rW[rW.LastFocused=2]="LastFocused",rW[rW.FocusedModifier=3]="FocusedModifier";var vW=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{const n=Za(`Primitive.${t}`),r=Qt.forwardRef((e,r)=>{const{asChild:i,...o}=e,a=i?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),He.jsx(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function yW(e,t){e&&mo.flushSync(()=>e.dispatchEvent(t))}function bW(e){const t=Qt.useRef(e);return Qt.useEffect(()=>{t.current=e}),Qt.useMemo(()=>(...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)},[])}var CW,wW="dismissableLayer.update",EW=Qt.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),kW=Qt.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...c}=e,u=Qt.useContext(EW),[d,h]=Qt.useState(null),f=(null==d?void 0:d.ownerDocument)??(null==globalThis?void 0:globalThis.document),[,p]=Qt.useState({}),m=Ya(t,e=>h(e)),g=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=g.indexOf(v),b=d?g.indexOf(d):-1,C=u.layersWithOutsidePointerEventsDisabled.size>0,w=b>=y,E=Qt.useRef(!1),k=function(e,t){const{ownerDocument:n=(null==globalThis?void 0:globalThis.document),deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:o}=t,a=bW(e),s=Qt.useRef(!1),l=Qt.useRef(!1),c=Qt.useRef(new Map),u=Qt.useRef(()=>{});return Qt.useEffect(()=>{function e(){l.current=!1,i.current=!1,c.current.clear()}function t(e){if(!l.current)return;const t=e.target;t instanceof Node&&[...o].some(e=>e.contains(t))||c.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{l.current&&u.current()},0)}function d(e){l.current&&c.current.set(e.type,!1)}const h=t=>{if(t.target&&!s.current){let o=function(){n.removeEventListener("click",u.current);const t=Array.from(c.current.values()).some(Boolean);e(),t||xW("dismissableLayer.pointerDownOutside",a,s,{discrete:!0})};const s={originalEvent:t};l.current=!0,i.current=r&&0===t.button,c.current.clear(),r&&0===t.button?(n.removeEventListener("click",u.current),u.current=o,n.addEventListener("click",u.current,{once:!0})):o()}else n.removeEventListener("click",u.current),e();s.current=!1},f=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const r of f)n.addEventListener(r,t,!0),n.addEventListener(r,d);const p=window.setTimeout(()=>{n.addEventListener("pointerdown",h)},0);return()=>{window.clearTimeout(p),n.removeEventListener("pointerdown",h),n.removeEventListener("click",u.current);for(const e of f)n.removeEventListener(e,t,!0),n.removeEventListener(e,d)}},[n,a,r,i,o]),{onPointerDownCapture:()=>s.current=!0}}(e=>{const t=e.target;if(!(t instanceof Node))return;const n=[...u.branches].some(e=>e.contains(t));w&&!n&&(null==o||o(e),null==s||s(e),e.defaultPrevented||null==l||l())},{ownerDocument:f,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:E,dismissableSurfaces:u.dismissableSurfaces}),S=function(e,t=(null==globalThis?void 0:globalThis.document)){const n=bW(e),r=Qt.useRef(!1);return Qt.useEffect(()=>{const e=e=>{e.target&&!r.current&&xW("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{if(r&&E.current)return;const t=e.target;[...u.branches].some(e=>e.contains(t))||(null==a||a(e),null==s||s(e),e.defaultPrevented||null==l||l())},f);return function(e,t=(null==globalThis?void 0:globalThis.document)){const n=bW(e);Qt.useEffect(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{b===u.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},f),Qt.useEffect(()=>{if(d)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(CW=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),SW(),()=>
1{n&&(u.layersWithOutsidePointerEventsDisabled.delete(d),0===u.layersWithOutsidePointerEventsDisabled.size&&(f.body.style.pointerEvents=CW))}},[d,f,n,u]),Qt.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),SW())},[d,u]),Qt.useEffect(()=>{const e=()=>p({});return document.addEventListener(wW,e),()=>document.removeEventListener(wW,e)},[]),He.jsx(vW.div,{...c,ref:m,style:{pointerEvents:C?w?"auto":"none":void 0,...e.style},onFocusCapture:pW(e.onFocusCapture,S.onFocusCapture),onBlurCapture:pW(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:pW(e.onPointerDownCapture,k.onPointerDownCapture)})});function SW(){const e=new CustomEvent(wW);document.dispatchEvent(e)}function xW(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?yW(i,o):i.dispatchEvent(o)}kW.displayName="DismissableLayer",Qt.forwardRef((e,t)=>{const n=Qt.useContext(EW),r=Qt.useRef(null),i=Ya(t,r);return Qt.useEffect(()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),He.jsx(vW.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var TW=0,MW=null;function AW(){Qt.useEffect(()=>{MW||(MW={start:LW(),end:LW()});const{start:e,end:t}=MW;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),TW++,()=>{1===TW&&(null==MW||MW.start.remove(),null==MW||MW.end.remove(),MW=null),TW=Math.max(0,TW-1)}},[])}function LW(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var PW="focusScope.autoFocusOnMount",RW="focusScope.autoFocusOnUnmount",OW={bubbles:!1,cancelable:!0},DW=Qt.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=Qt.useState(null),c=bW(i),u=bW(o),d=Qt.useRef(null),h=Ya(t,e=>l(e)),f=Qt.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Qt.useEffect(()=>{if(r){let e=function(e){if(f.paused||!s)return;const t=e.target;s.contains(t)?d.current=t:$W(d.current,{select:!0})},t=function(e){if(f.paused||!s)return;const t=e.relatedTarget;null!==t&&(s.contains(t)||$W(d.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&$W(s)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[r,s,f.paused]),Qt.useEffect(()=>{if(s){NW.add(f);const e=document.activeElement;if(!s.contains(e)){const t=new CustomEvent(PW,OW);s.addEventListener(PW,c),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if($W(r,{select:t}),document.activeElement!==n)return}(IW(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&$W(s))}return()=>{s.removeEventListener(PW,c),setTimeout(()=>{const t=new CustomEvent(RW,OW);s.addEventListener(RW,u),s.dispatchEvent(t),t.defaultPrevented||$W(e??document.body,{select:!0}),s.removeEventListener(RW,u),NW.remove(f)},0)}}},[s,c,u,f]);const p=Qt.useCallback(e=>{if(!n&&!r)return;if(f.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){const t=e.currentTarget,[r,o]=function(e){const t=IW(e);return[_W(t,e),_W(t.reverse(),e)]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&$W(o,{select:!0})):(e.preventDefault(),n&&$W(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,f.paused]);return He.jsx(vW.div,{tabIndex:-1,...a,ref:h,onKeyDown:p})});function IW(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function _W(e,t){for(const n of e)if(!FW(n,{upTo:t}))return n}function FW(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function $W(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}DW.displayName="FocusScope";var NW=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=BW(e,t),e.unshift(t)},remove(t){var n;e=BW(e,t),null==(n=e[0])||n.resume()}}}();function BW(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}var jW=(null==globalThis?void 0:globalThis.document)?Qt.useLayoutEffect:()=>{},zW=Jt[" useId ".trim().toString()]||(()=>{}),VW=0;function HW(e){const[t,n]=Qt.useState(zW());return jW(()=>{n(e=>e??String(VW++))},[e]),e||(t?`radix-${t}`:"")}const UW=["top","right","bottom","left"],WW=Math.min,GW=Math.max,qW=Math.round,KW=Math.floor,YW=e=>({x:e,y:e}
vendor: 4,716 bytes, line 1
1),ZW={left:"right",right:"left",bottom:"top",top:"bottom"};function QW(e,t,n){return GW(e,WW(t,n))}function XW(e,t){return"function"==typeof e?e(t):e}function JW(e){return e.split("-")[0]}function eG(e){return e.split("-")[1]}function tG(e){return"x"===e?"y":"x"}function nG(e){return"y"===e?"height":"width"}function rG(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function iG(e){return tG(rG(e))}function oG(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const aG=["left","right"],sG=["right","left"],lG=["top","bottom"],cG=["bottom","top"];function uG(e){const t=JW(e);return ZW[t]+e.slice(t.length)}function dG(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function hG(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function fG(e,t,n){let{reference:r,floating:i}=e;const o=rG(t),a=iG(t),s=nG(a),l=JW(t),c="y"===o,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let f;switch(l){case"top":f={x:u,y:r.y-i.height};break;case"bottom":f={x:u,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-i.width,y:d};break;default:f={x:r.x,y:r.y}}switch(eG(t)){case"start":f[a]-=h*(n&&c?-1:1);break;case"end":f[a]+=h*(n&&c?-1:1)}return f}async function pG(e,t){var n;void 0===t&&(t={});const{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=XW(t,e),p=dG(f),m=s[h?"floating"===d?"reference":"floating":d],g=hG(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await(null==o.isElement?void 0:o.isElement(y))&&await(null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},C=hG(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-C.top+p.top)/b.y,bottom:(C.bottom-g.bottom+p.bottom)/b.y,left:(g.left-C.left+p.left)/b.x,right:(C.right-g.right+p.right)/b.x}}function mG(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gG(e){return UW.some(t=>e[t]>=0)}const vG=new Set(["left","top"]);function yG(){return"undefined"!=typeof window}function bG(e){return EG(e)?(e.nodeName||"").toLowerCase():"#document"}function CG(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function wG(e){var t;return null==(t=(EG(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function EG(e){return!!yG()&&(e instanceof Node||e instanceof CG(e).Node)}function kG(e){return!!yG()&&(e instanceof Element||e instanceof CG(e).Element)}function SG(e){return!!yG()&&(e instanceof HTMLElement||e instanceof CG(e).HTMLElement)}function xG(e){return!(!yG()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof CG(e).ShadowRoot)}function TG(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=FG(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function MG(e){return/^(table|td|th)$/.test(bG(e))}function AG(e){try{if(e.matches(":popover-open"))return!0}catch(t){}try{return e.matches(":modal")}catch(t){return!1}}const LG=/transform|translate|scale|rotate|perspective|filter/,PG=/paint|layout|strict|content/,RG=e=>!!e&&"none"!==e;let OG;function DG(e){const t=kG(e)?FG(e):e;return RG(t.transform)||RG(t.translate)||RG(t.scale)||RG(t.rotate)||RG(t.perspective)||!IG()&&(RG(t.backdropFilter)||RG(t.filter))||LG.test(t.willChange||"")||PG.test(t.contain||"")}function IG(){return null==OG&&(OG="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),OG}function _G(e){return/^(html|body|#document)$/.test(bG(e))}function FG(e){return CG(e).getComputedStyle(e)}function $G(e){return kG(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function NG(e){if("html"===bG(e))return e;const t=e.assignedSlot||e.parentNode||xG(e)&&e.host||wG(e);return xG(t)?t.host:t}function BG(e){const t=NG(e);return _G(t)?e.ownerDocument?e.ownerDocument.body:e.body:SG(t)&&TG(t)?t:BG(t)}function jG(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=BG(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=CG(i);if(o){const e=zG(a);
vendor: 4,092 bytes, line 1
1return t.concat(a,a.visualViewport||[],TG(i)?i:[],e&&n?jG(e):[])}return t.concat(i,jG(i,[],n))}function zG(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function VG(e){const t=FG(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=SG(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=qW(n)!==o||qW(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function HG(e){return kG(e)?e:e.contextElement}function UG(e){const t=HG(e);if(!SG(t))return YW(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=VG(t);let a=(o?qW(n.width):n.width)/r,s=(o?qW(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const WG=YW(0);function GG(e){const t=CG(e);return IG()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:WG}function qG(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const i=e.getBoundingClientRect(),o=HG(e);let a=YW(1);t&&(r?kG(r)&&(a=UG(r)):a=UG(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==CG(e))&&t}(o,n,r)?GG(o):YW(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=CG(o),t=r&&kG(r)?CG(r):r;let n=e,i=zG(n);for(;i&&r&&t!==n;){const e=UG(i),t=i.getBoundingClientRect(),r=FG(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,n=CG(i),i=zG(n)}}return hG({width:u,height:d,x:l,y:c})}function KG(e,t){const n=$G(e).scrollLeft;return t?t.left+n:qG(wG(e)).left+n}function YG(e,t){const n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-KG(e,n),y:n.top+t.scrollTop}}function ZG(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=CG(e),r=wG(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=IG();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}const c=KG(r);if(c<=0){const e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else c<=25&&(o+=c);return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=wG(e),n=$G(e),r=e.ownerDocument.body,i=GW(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=GW(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+KG(e);const s=-n.scrollTop;return"rtl"===FG(r).direction&&(a+=GW(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(wG(e));else if(kG(t))r=function(e,t){const n=qG(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=SG(e)?UG(e):YW(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{const n=GG(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return hG(r)}function QG(e,t){const n=NG(e);return!(n===t||!kG(n)||_G(n))&&("fixed"===FG(n).position||QG(n,t))}function XG(e,t,n){const r=SG(t),i=wG(t),o="fixed"===n,a=qG(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const l=YW(0);function c(){l.x=KG(i)}if(r||!r&&!o)if(("body"!==bG(t)||TG(i))&&(s=$G(t)),r){const e=qG(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&c();o&&!r&&i&&c();const u=!i||r||o?YW(0):YG(i,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}function JG(e){return"static"===FG(e).position}function eq(e,t){if(!SG(e)||"fixed"===FG(e).position)return null;if(t)return t(e);let n=e.offsetParent;return wG(e)===n&&(n=n.ownerDocument.body),n}function tq(e,t){const n=CG(e);if(AG(e))return n;if(!SG(e)){let t=NG(e);for(;t&&!_G(t);){if(kG(t)&&!JG(t))return t;t=NG(t)}return n}let r=eq(e,t);for(;r&&MG(r)&&JG(r);)r=eq(r,t);return r&&_G(r)&&JG(r)&&!DG(r)?n:r||function(e){let t=NG(e);for(;SG(t)&&!_G(t);){if(DG(t))return t;if(AG(t))return null;t=NG(t)}return null}(e)||n}const nq={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o="fixed"===i,a=wG(r),s=!!t&&AG(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=YW(1);const u=YW(0),d=SG(r);
vendor: 9,267 bytes, line 1
1if((d||!d&&!o)&&(("body"!==bG(r)||TG(a))&&(l=$G(r)),d)){const e=qG(r);c=UG(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const h=!a||d||o?YW(0):YG(a,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-l.scrollTop*c.y+u.y+h.y}},getDocumentElement:wG,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[..."clippingAncestors"===n?AG(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=jG(e,[],!1).filter(e=>kG(e)&&"body"!==bG(e)),i=null;const o="fixed"===FG(e).position;let a=o?NG(e):e;for(;kG(a)&&!_G(a);){const t=FG(a),n=DG(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||TG(a)&&!n&&QG(e,a))?r=r.filter(e=>e!==a):i=t,a=NG(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=ZG(t,o[0],i);let s=a.top,l=a.right,c=a.bottom,u=a.left;for(let d=1;d<o.length;d++){const e=ZG(t,o[d],i);s=GW(e.top,s),l=WW(e.right,l),c=WW(e.bottom,c),u=GW(e.left,u)}return{width:l-u,height:c-s,x:u,y:s}},getOffsetParent:tq,getElementRects:async function(e){const t=this.getOffsetParent||tq,n=this.getDimensions,r=await n(e.floating);return{reference:XG(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=VG(e);return{width:t,height:n}},getScale:UG,isElement:kG,isRTL:function(e){return"rtl"===FG(e).direction}};function rq(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}const iq=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=XW(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const v=JW(i),y=rG(s),b=JW(s)===s,C=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=h||(b||!m?[uG(s)]:function(e){const t=uG(e);return[oG(e),t,oG(t)]}(s)),E="none"!==p;!h&&E&&w.push(...function(e,t,n,r){const i=eG(e);let o=function(e,t,n){switch(e){case"top":case"bottom":return n?t?sG:aG:t?aG:sG;case"left":case"right":return t?lG:cG;default:return[]}}(JW(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(oG)))),o}(s,m,p,C));const k=[s,...w],S=await l.detectOverflow(t,g),x=[];let T=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&x.push(S[v]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=eG(e),i=iG(e),o=nG(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=uG(a)),[a,uG(a)]}(i,a,C);x.push(S[e[0]],S[e[1]])}if(T=[...T,{placement:i,overflows:x}],!x.every(e=>e<=0)){var M,A;const e=((null==(M=o.flip)?void 0:M.index)||0)+1,t=k[e];if(t&&("alignment"!==d||y===rG(t)||T.every(e=>rG(e.placement)!==y||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(A=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:A.placement;if(!n)switch(f){case"bestFit":{var L;const e=null==(L=T.filter(e=>{if(E){const t=rG(e.placement);return t===y||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:L[0];e&&(n=e);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}},oq=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=XW(e,t)||{};if(null==c)return{};const d=dG(u),h={x:n,y:r},f=iG(i),p=nG(f),m=await a.getDimensions(c),g="y"===f,v=g?"top":"left",y=g?"bottom":"right",b=g?"clientHeight":"clientWidth",C=o.reference[p]+o.reference[f]-h[f]-o.floating[p],w=h[f]-o.reference[f],E=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let k=E?E[b]:0;k&&await(null==a.isElement?void 0:a.isElement(E))||(k=s.floating[b]||o.floating[p]);const S=C/2-w/2,x=k/2-m[p]/2-1,T=WW(d[v],x),M=WW(d[y],x),A=T,L=k-m[p]-M,P=k/2-m[p]/2+S,R=QW(A,P,L),O=!l.arrow&&null!=eG(i)&&P!==R&&o.reference[p]/2-(P<A?T:M)-m[p]/2<0,D=O?P<A?P-A:P-L:0;return{[f]:h[f]+D,data:{[f]:R,centerOffset:P-R-D,...O&&{alignmentOffset:D}},reset:O}}}),aq=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=XW(e,t),u={x:n,y:r},d=rG(i),h=tG(d);let f=u[h],p=u[d];const m=XW(s,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+g.mainAxis,n=o.reference[h]+o.reference[e]-g.mainAxis;f<t?f=t:f>n&&(f=n)}if(c){var v,y;const e="y"===h?"width":"height",t=vG.has(JW(i)),n=o.reference[d]-o.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);p<n?p=n:p>r&&(p=r)}return{[h]:f,[d]:p}}}};var sq="undefined"!=typeof document?Qt.useLayoutEffect:function(){};function lq(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!lq(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!==r--;){const n=i[r];if(!("_owner"===n&&e.$$typeof||lq(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function cq(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function uq(e,t){const n=cq(e);return Math.round(t*n)/n}function dq(e){const t=Qt.useRef(e);return sq(()=>{t.current=e}),t}const hq=(e,t)=>{const n=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:i}=e,o=await(null==r.isRTL?void 0:r.isRTL(i.floating)),a=JW(n),s=eG(n),l="y"===rG(n),c=vG.has(a)?-1:1,u=o&&l?-1:1,d=XW(t,e);let{mainAxis:h,crossAxis:f,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(f="end"===s?-1*p:p),l?{x:f*u,y:h*c}:{x:h*c,y:f*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}},fq=(e,t)=>{const n=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i,platform:o}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=XW(e,t),u={x:n,y:r},d=await o.detectOverflow(t,c),h=rG(JW(i)),f=tG(h);let p=u[f],m=u[h];if(a){const e="y"===f?"bottom":"right";p=QW(p+d["y"===f?"top":"left"],p,p-d[e])}if(s){const e="y"===h?"bottom":"right";m=QW(m+d["y"===h?"top":"left"],m,m-d[e])}const g=l.fn({...t,[f]:p,[h]:m});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:a,[h]:s}}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}},pq=(e,t)=>({fn:aq(e).fn,options:[e,t]}),mq=(e,t)=>{const n=iq(e);return{name:n.name,fn:n.fn,options:[e,t]}},gq=(e,t)=>{const n=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:a,elements:s}=t,{apply:l=()=>{},...c}=XW(e,t),u=await a.detectOverflow(t,c),d=JW(i),h=eG(i),f="y"===rG(i),{width:p,height:m}=o.floating;let g,v;"top"===d||"bottom"===d?(g=d,v=h===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(v=d,g="end"===h?"top":"bottom");const y=m-u.top-u.bottom,b=p-u.left-u.right,C=WW(m-u[g],y),w=WW(p-u[v],b),E=!t.middlewareData.shift;let k=C,S=w;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(S=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(k=y),E&&!h){const e=GW(u.left,0),t=GW(u.right,0),n=GW(u.top,0),r=GW(u.bottom,0);f?S=p-2*(0!==e||0!==t?e+t:GW(u.left,u.right)):k=m-2*(0!==n||0!==r?n+r:GW(u.top,u.bottom))}await l({...t,availableWidth:S,availableHeight:k});const x=await a.getDimensions(s.floating);return p!==x.width||m!==x.height?{reset:{rects:!0}}:{}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}},vq=(e,t)=>{const n=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=XW(e,t);switch(i){case"referenceHidden":{const e=mG(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:gG(e)}}}case"escaped":{const e=mG(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:gG(e)}}}default:return{}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}},yq=(e,t)=>{const n=(e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(i=n,{}.hasOwnProperty.call(i,"current"))?null!=n.current?oq({element:n.current,padding:r}).fn(t):{}:n?oq({element:n,padding:r}).fn(t):{};var i}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}};var bq=Qt.forwardRef((e,t)=>
1{const{children:n,width:r=10,height:i=5,...o}=e;return He.jsx(vW.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:He.jsx("polygon",{points:"0,0 30,0 15,10"})})});bq.displayName="Arrow";var Cq=bq;function wq(e){const[t,n]=Qt.useState(void 0);return jW(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver(t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let i,o;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,o=t.blockSize}else i=e.offsetWidth,o=e.offsetHeight;n({width:i,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}var Eq="Popper",[kq,Sq]=mW(Eq),[xq,Tq]=kq(Eq),Mq=e=>{const{__scopePopper:t,children:n}=e,[r,i]=Qt.useState(null),[o,a]=Qt.useState(void 0);return He.jsx(xq,{scope:t,anchor:r,onAnchorChange:i,placementState:o,setPlacementState:a,children:n})};Mq.displayName=Eq;var Aq="PopperAnchor",Lq=Qt.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Tq(Aq,n),a=Qt.useRef(null),s=o.onAnchorChange,l=Ya(t,Qt.useCallback(e=>{a.current=e,e&&s(e)},[s])),c=Qt.useRef(null);Qt.useEffect(()=>{if(!r)return;const e=c.current;c.current=r.current,e!==c.current&&s(c.current)});const u=o.placementState&&Bq(o.placementState),d=null==u?void 0:u[0],h=null==u?void 0:u[1];return r?null:He.jsx(vW.div,{"data-radix-popper-side":d,"data-radix-popper-align":h,...i,ref:l})});Lq.displayName=Aq;var Pq="PopperContent",[Rq,Oq]=kq(Pq),Dq=Qt.forwardRef((e,t)=>{var n,r,i,o,a,s;const{__scopePopper:l,side:c="bottom",sideOffset:u=0,align:d="center",alignOffset:h=0,arrowPadding:f=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:g=0,sticky:v="partial",hideWhenDetached:y=!1,updatePositionStrategy:b="optimized",onPlaced:C,...w}=e,E=Tq(Pq,l),[k,S]=Qt.useState(null),x=Ya(t,e=>S(e)),[T,M]=Qt.useState(null),A=wq(T),L=(null==A?void 0:A.width)??0,P=(null==A?void 0:A.height)??0,R=c+("center"!==d?"-"+d:""),O="number"==typeof g?g:{top:0,right:0,bottom:0,left:0,...g},D=Array.isArray(m)?m:[m],I=D.length>0,_={padding:O,boundary:D.filter($q),altBoundary:I},{refs:F,floatingStyles:$,placement:N,isPositioned:B,middlewareData:j}=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:l,open:c}=e,[u,d]=Qt.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,f]=Qt.useState(r);lq(h,r)||f(r);const[p,m]=Qt.useState(null),[g,v]=Qt.useState(null),y=Qt.useCallback(e=>{e!==E.current&&(E.current=e,m(e))},[]),b=Qt.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),C=o||p,w=a||g,E=Qt.useRef(null),k=Qt.useRef(null),S=Qt.useRef(u),x=null!=l,T=dq(l),M=dq(i),A=dq(c),L=Qt.useCallback(()=>{if(!E.current||!k.current)return;const e={placement:t,strategy:n,middleware:h};M.current&&(e.platform=M.current),((e,t,n)=>{const r=new Map,i={platform:nq,...n},o={...i.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=a.detectOverflow?a:{...a,detectOverflow:pG},l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=fG(c,r,l),h=r,f=0;const p={};for(let m=0;m<o.length;m++){const n=o[m];if(!n)continue;const{name:g,fn:v}=n,{x:y,y:b,data:C,reset:w}=await v({x:u,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=y?y:u,d=null!=b?b:d,p[g]={...p[g],...C},w&&f<50&&(f++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(c=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):w.rects),({x:u,y:d}=fG(c,h,l))),m=-1)}return{x:u,y:d,placement:h,strategy:i,middlewareData:p}})(e,t,{...i,platform:o})})(E.current,k.current,e).then(e=>{const t={...e,isPositioned:!1!==A.current};P.current&&!lq(S.current,t)&&(S.current=t,mo.flushSync(()=>{d(t)}))})},[h,t,n,M,A]);sq(()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);const P=Qt.useRef(!1);sq(()=>(P.current=!0,()=>{P.current=!1}),[]),sq(()=>
vendor: 4,805 bytes, line 1
1{if(C&&(E.current=C),w&&(k.current=w),C&&w){if(T.current)return T.current(C,w,L);L()}},[C,w,L,T,x]);const R=Qt.useMemo(()=>({reference:E,floating:k,setReference:y,setFloating:b}),[y,b]),O=Qt.useMemo(()=>({reference:C,floating:w}),[C,w]),D=Qt.useMemo(()=>{const e={position:n,left:0,top:0};if(!O.floating)return e;const t=uq(O.floating,u.x),r=uq(O.floating,u.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...cq(O.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,O.floating,u.x,u.y]);return Qt.useMemo(()=>({...u,update:L,refs:R,elements:O,floatingStyles:D}),[u,L,R,O,D])}({strategy:"fixed",placement:R,whileElementsMounted:(...e)=>function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,u=HG(e),d=i||o?[...u?jG(u):[],...t?jG(t):[]]:[];d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const h=u&&l?function(e,t){let n,r=null;const i=wG(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),o();const u=e.getBoundingClientRect(),{left:d,top:h,width:f,height:p}=u;if(l||t(),!f||!p)return;const m={rootMargin:-KW(h)+"px "+-KW(i.clientWidth-(d+f))+"px "+-KW(i.clientHeight-(h+p))+"px "+-KW(d)+"px",threshold:GW(0,WW(1,c))||1};let g=!0;function v(t){const r=t[0].intersectionRatio;if(r!==c){if(!g)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||rq(u,e.getBoundingClientRect())||s(),g=!1}try{r=new IntersectionObserver(v,{...m,root:i.ownerDocument})}catch(a){r=new IntersectionObserver(v,m)}r.observe(e)}(!0),o}(u,n):null;let f,p=-1,m=null;s&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&m&&t&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),u&&!c&&m.observe(u),t&&m.observe(t));let g=c?qG(e):null;return c&&function t(){const r=qG(e);g&&!rq(g,r)&&n(),g=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=m)||e.disconnect(),m=null,c&&cancelAnimationFrame(f)}}(...e,{animationFrame:"always"===b}),elements:{reference:E.anchor},middleware:[hq({mainAxis:u+P,alignmentAxis:h}),p&&fq({mainAxis:!0,crossAxis:!1,limiter:"partial"===v?pq():void 0,..._}),p&&mq({..._}),gq({..._,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),T&&yq({element:T,padding:f}),Nq({arrowWidth:L,arrowHeight:P}),y&&vq({strategy:"referenceHidden",..._,boundary:I?_.boundary:void 0})]}),z=E.setPlacementState;jW(()=>(z(N),()=>{z(void 0)}),[N,z]);const[V,H]=Bq(N),U=bW(C);jW(()=>{B&&(null==U||U())},[B,U]);const W=null==(n=j.arrow)?void 0:n.x,G=null==(r=j.arrow)?void 0:r.y,q=0!==(null==(i=j.arrow)?void 0:i.centerOffset),[K,Y]=Qt.useState();return jW(()=>{k&&Y(window.getComputedStyle(k).zIndex)},[k]),He.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:B?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:K,"--radix-popper-transform-origin":[null==(o=j.transformOrigin)?void 0:o.x,null==(a=j.transformOrigin)?void 0:a.y].join(" "),...(null==(s=j.hide)?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:He.jsx(Rq,{scope:l,placedSide:V,placedAlign:H,onArrowChange:M,arrowX:W,arrowY:G,shouldHideArrow:q,children:He.jsx(vW.div,{"data-side":V,"data-align":H,...w,ref:x,style:{...w.style,animation:B?void 0:"none"}})})})});Dq.displayName=Pq;var Iq="PopperArrow",_q={top:"bottom",right:"left",bottom:"top",left:"right"},Fq=Qt.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,i=Oq(Iq,n),o=_q[i.placedSide];return He.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:He.jsx(Cq,{...r,ref:t,style:{...r.style,display:"block"}})})});function $q(e){return null!==e}Fq.displayName=Iq;var Nq=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i;const{placement:o,rects:a,middlewareData:s}=t,l=0!==(null==(n=s.arrow)?void 0:n.centerOffset),c=l?0:e.arrowWidth,u=l?0:e.arrowHeight,[d,h]=Bq(o
1),f={start:"0%",center:"50%",end:"100%"}[h],p=((null==(r=s.arrow)?void 0:r.x)??0)+c/2,m=((null==(i=s.arrow)?void 0:i.y)??0)+u/2;let g="",v="";return"bottom"===d?(g=l?f:`${p}px`,v=-u+"px"):"top"===d?(g=l?f:`${p}px`,v=`${a.floating.height+u}px`):"right"===d?(g=-u+"px",v=l?f:`${m}px`):"left"===d&&(g=`${a.floating.width+u}px`,v=l?f:`${m}px`),{data:{x:g,y:v}}}});function Bq(e){const[t,n="center"]=e.split("-");return[t,n]}var jq=Mq,zq=Lq,Vq=Dq,Hq=Fq,Uq=Qt.forwardRef((e,t)=>{var n;const{container:r,...i}=e,[o,a]=Qt.useState(!1);jW(()=>a(!0),[]);const s=r||o&&(null==(n=null==globalThis?void 0:globalThis.document)?void 0:n.body);return s?mo.createPortal(He.jsx(vW.div,{...i,ref:t}),s):null});Uq.displayName="Portal";var Wq=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=Qt.useState(),r=Qt.useRef(null),i=Qt.useRef(e),o=Qt.useRef("none"),a=e?"mounted":"unmounted",[s,l]=function(e,t){return Qt.useReducer((e,n)=>t[e][n]??e,e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Qt.useEffect(()=>{const e=qq(r.current);o.current="mounted"===s?e:"none"},[s]),jW(()=>{const t=r.current,n=i.current;if(n!==e){const r=o.current,a=qq(t);e?l("MOUNT"):"none"===a||"none"===(null==t?void 0:t.display)?l("UNMOUNT"):l(n&&r!==a?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),jW(()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,a=o=>{const a=qq(r.current).includes(CSS.escape(o.animationName));if(o.target===t&&a&&(l("ANIMATION_END"),!i.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},s=e=>{e.target===t&&(o.current=qq(r.current))};return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",a),t.addEventListener("animationend",a),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",a),t.removeEventListener("animationend",a)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Qt.useCallback(e=>{r.current=e?getComputedStyle(e):null,n(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):Qt.Children.only(n),o=function(...e){const t=Qt.useRef(e);return t.current=e,Qt.useCallback(e=>{const n=t.current;let r=!1;const i=n.map(t=>{const n=Gq(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){const t=i[e];"function"==typeof t?t():Gq(n[e],null)}}},[])}(r.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?e.props.ref:e.props.ref||e.ref)}(i));return"function"==typeof n||r.isPresent?Qt.cloneElement(i,{ref:o}):null};function Gq(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function qq(e){return(null==e?void 0:e.animationName)||"none"}Wq.displayName="Presence";var Kq=Jt[" useInsertionEffect ".trim().toString()]||jW;function Yq({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,a]=function({defaultProp:e,onChange:t}){const[n,r]=Qt.useState(e),i=Qt.useRef(n),o=Qt.useRef(t);return Kq(()=>{o.current=t},[t]),Qt.useEffect(()=>{var e;i.current!==n&&(null==(e=o.current)||e.call(o,n),i.current=n)},[n,i]),[n,r,o]}({defaultProp:t,onChange:n}),s=void 0!==e,l=s?e:i;{const t=Qt.useRef(void 0!==e);Qt.useEffect(()=>{t.current;t.current=s},[s,r])}const c=Qt.useCallback(t=>{var n;if(s){const r=function(e){return"function"==typeof e}(t)?t(e):t;r!==e&&(null==(n=a.current)||n.call(a,r))}else o(t)},[s,e,o,a]);return[l,c]}var Zq=new WeakMap,Qq=new WeakMap,Xq={},Jq=0,eK=function(e){return e&&(e.host||eK(e.parentNode))},tK=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=eK(t);return n&&e.contains(n)?n:null}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);Xq[n]||(Xq[n]=new WeakMap);var o=Xq[n],a=[],s=new Set,l=new Set(i),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};
vendor: 2,910 bytes, line 1
1i.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(Zq.get(e)||0)+1,c=(o.get(e)||0)+1;Zq.set(e,l),o.set(e,c),a.push(e),1===l&&i&&Qq.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(d){}})};return u(t),s.clear(),Jq++,function(){a.forEach(function(e){var t=Zq.get(e)-1,i=o.get(e)-1;Zq.set(e,t),o.set(e,i),t||(Qq.has(e)||e.removeAttribute(r),Qq.delete(e)),i||e.removeAttribute(n)}),--Jq||(Zq=new WeakMap,Zq=new WeakMap,Qq=new WeakMap,Xq={})}}(r,i,n,"aria-hidden")):function(){return null}},nK=function(){return nK=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},nK.apply(this,arguments)};function rK(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}"function"==typeof SuppressedError&&SuppressedError;var iK="right-scroll-bar-position",oK="width-before-scroll-bar";function aK(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var sK="undefined"!=typeof window?Qt.useLayoutEffect:Qt.useEffect,lK=new WeakMap;function cK(e){return e}var uK=function(e){var t=e.sideCar,n=rK(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return Qt.createElement(r,nK({},n))};uK.isSideCarExport=!0;var dK=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=cK);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}();return t.options=nK({async:!0,ssr:!1},e),t}(),hK=function(){},fK=Qt.forwardRef(function(e,t){var n=Qt.useRef(null),r=Qt.useState({onScrollCapture:hK,onWheelCapture:hK,onTouchMoveCapture:hK}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,h=e.sideCar,f=e.noRelative,p=e.noIsolation,m=e.inert,g=e.allowPinchZoom,v=e.as,y=void 0===v?"div":v,b=e.ga
vendor: 5,462 bytes, line 1
1pMode,C=rK(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=h,E=function(e){var t,n,r=(t=function(t){return e.forEach(function(e){return aK(e,t)})},(n=Qt.useState(function(){return{value:null,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0]).callback=t,n.facade);return sK(function(){var t=lK.get(r);if(t){var n=new Set(t),i=new Set(e),o=r.current;n.forEach(function(e){i.has(e)||aK(e,null)}),i.forEach(function(e){n.has(e)||aK(e,o)})}lK.set(r,e)},[e]),r}([n,t]),k=nK(nK({},C),i);return Qt.createElement(Qt.Fragment,null,u&&Qt.createElement(w,{sideCar:dK,removeScrollBar:c,shards:d,noRelative:f,noIsolation:p,inert:m,setCallbacks:o,allowPinchZoom:!!g,lockRef:n,gapMode:b}),a?Qt.cloneElement(Qt.Children.only(s),nK(nK({},k),{ref:E})):Qt.createElement(y,nK({},k,{className:l,ref:E}),s))});fK.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},fK.classNames={fullWidth:oK,zeroRight:iK};var pK=function(){var e=0,t=null;return{add:function(n){var r,i;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}())&&(i=n,(r=t).styleSheet?r.styleSheet.cssText=i:r.appendChild(document.createTextNode(i)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},mK=function(){var e,t=(e=pK(),function(t,n){Qt.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},gK={left:0,top:0,right:0,gap:0},vK=function(e){return parseInt(e||"",10)||0},yK=mK(),bK="data-scroll-locked",CK=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(bK,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(iK," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(oK," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(iK," .").concat(iK," {\n right: 0 ").concat(r,";\n }\n \n .").concat(oK," .").concat(oK," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(bK,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},wK=function(){var e=parseInt(document.body.getAttribute(bK)||"0",10);return isFinite(e)?e:0},EK=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;Qt.useEffect(function(){return document.body.setAttribute(bK,(wK()+1).toString()),function(){var e=wK()-1;e<=0?document.body.removeAttribute(bK):document.body.setAttribute(bK,e.toString())}},[]);var o=Qt.useMemo(function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return gK;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[vK(n),vK(r),vK(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}}(i)},[i]);return Qt.createElement(yK,{styles:CK(o,!t,i,n?"":"!important")})},kK=!1;if("undefined"!=typeof window)try{var SK=Object.defineProperty({},"passive",{get:function(){return kK=!0,!0}});window.addEventListener("test",SK,SK),window.removeEventListener("test",SK,SK)}catch(DDe){kK=!1}var xK=!!kK&&{passive:!1},TK=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},MK=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),AK(e,r)){var i=LK(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},AK=function(e,t){return"v"===e?function(e){return TK(e,"overflowY")}(t):function(e){return TK(e,"overflowX")}(t)},LK=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},PK=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},RK=function(e){return[e.deltaX,e.deltaY]},OK=function(e){return e&&"current"in e?e.current:e},DK=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},IK=0,_K=[];function FK(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const $K=(NK=function(e){var t=Qt.useRef([]),n=Qt.useRef([0,0]),r=Qt.useRef(),i=Qt.useState(IK++)[0],o=Qt.useState(mK)[
vendor: 4,308 bytes, line 1
10],a=Qt.useRef(e);Qt.useEffect(function(){a.current=e},[e]),Qt.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(OK),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=Qt.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=PK(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-o[0],c="deltaY"in e?e.deltaY:s[1]-o[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var h=window.getSelection(),f=h&&h.anchorNode;if(f&&(f===u||f.contains(u)))return!1;var p=MK(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=MK(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=i),!i)return!0;var m=r.current||i;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,s=t.contains(a),l=!1,c=o>0,u=0,d=0;do{if(!a)break;var h=LK(e,a),f=h[0],p=h[1]-h[2]-i*f;(f||p)&&AK(e,a)&&(u+=p,d+=f);var m=a.parentNode;a=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return(c&&Math.abs(u)<1||!c&&Math.abs(d)<1)&&(l=!0),l}(m,t,e,"h"===m?l:c)},[]),l=Qt.useCallback(function(e){var n=e;if(_K.length&&_K[_K.length-1]===o){var r="deltaY"in n?RK(n):PK(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var l=(a.current.shards||[]).map(OK).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?s(n,l[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),c=Qt.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:FK(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),u=Qt.useCallback(function(e){n.current=PK(e),r.current=void 0},[]),d=Qt.useCallback(function(t){c(t.type,RK(t),t.target,s(t,e.lockRef.current))},[]),h=Qt.useCallback(function(t){c(t.type,PK(t),t.target,s(t,e.lockRef.current))},[]);Qt.useEffect(function(){return _K.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,xK),document.addEventListener("touchmove",l,xK),document.addEventListener("touchstart",u,xK),function(){_K=_K.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,xK),document.removeEventListener("touchmove",l,xK),document.removeEventListener("touchstart",u,xK)}},[]);var f=e.removeScrollBar,p=e.inert;return Qt.createElement(Qt.Fragment,null,p?Qt.createElement(o,{styles:DK(i)}):null,f?Qt.createElement(EK,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},dK.useMedium(NK),uK);var NK,BK=Qt.forwardRef(function(e,t){return Qt.createElement(fK,nK({},e,{ref:t,sideCar:$K}))});BK.classNames=fK.classNames;var jK="Popover",[zK]=mW(jK,[Sq]),VK=Sq(),[HK,UK]=zK(jK),WK=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!1}=e,s=VK(t),l=Qt.useRef(null),[c,u]=Qt.useState(!1),[d,h]=Yq({prop:r,defaultProp:i??!1,onChange:o,caller:jK});return He.jsx(jq,{...s,children:He.jsx(HK,{scope:t,contentId:HW(),triggerRef:l,open:d,onOpenChange:h,onOpenToggle:Qt.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:c,onCustomAnchorAdd:Qt.useCallback(()=>u(!0),[]),onCustomAnchorRemove:Qt.useCallback(()=>u(!1),[]),modal:a,children:n})})};WK.displayName=jK;var GK="PopoverAnchor",qK=Qt.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=UK(GK,n),o=VK(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=i;return Qt.useEffect(()=>(a(),()=>s()),[a,s]),He.jsx(zq,{...o,...r,ref:t})});qK.displayName=GK;var KK="PopoverTrigger",YK=Qt.forwardRef((e,t)=>
vendor: 27,511 bytes, line 1
1{const{__scopePopover:n,...r}=e,i=UK(KK,n),o=VK(n),a=Ya(t,i.triggerRef),s=He.jsx(vW.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":sY(i.open),...r,ref:a,onClick:pW(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?s:He.jsx(zq,{asChild:!0,...o,children:s})});YK.displayName=KK;var ZK="PopoverPortal",[QK,XK]=zK(ZK,{forceMount:void 0}),JK=e=>{const{__scopePopover:t,forceMount:n,children:r,container:i}=e,o=UK(ZK,t);return He.jsx(QK,{scope:t,forceMount:n,children:He.jsx(Wq,{present:n||o.open,children:He.jsx(Uq,{asChild:!0,container:i,children:r})})})};JK.displayName=ZK;var eY="PopoverContent",tY=Qt.forwardRef((e,t)=>{const n=XK(eY,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=UK(eY,e.__scopePopover);return He.jsx(Wq,{present:r||o.open,children:o.modal?He.jsx(rY,{...i,ref:t}):He.jsx(iY,{...i,ref:t})})});tY.displayName=eY;var nY=Za("PopoverContent.RemoveScroll"),rY=Qt.forwardRef((e,t)=>{const n=UK(eY,e.__scopePopover),r=Qt.useRef(null),i=Ya(t,r),o=Qt.useRef(!1);return Qt.useEffect(()=>{const e=r.current;if(e)return tK(e)},[]),He.jsx(BK,{as:nY,allowPinchZoom:!0,children:He.jsx(oY,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:pW(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),o.current||null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:pW(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;o.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:pW(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),iY=Qt.forwardRef((e,t)=>{const n=UK(eY,e.__scopePopover),r=Qt.useRef(!1),i=Qt.useRef(!1);return He.jsx(oY,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;null==(o=e.onCloseAutoFocus)||o.call(e,t),t.defaultPrevented||(r.current||null==(a=n.triggerRef.current)||a.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null==(o=e.onInteractOutside)||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const s=t.target;(null==(a=n.triggerRef.current)?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),oY=Qt.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onInteractOutside:u,...d}=e,h=UK(eY,n),f=VK(n);return AW(),He.jsx(DW,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:He.jsx(kW,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:u,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:c,onDismiss:()=>h.onOpenChange(!1),deferPointerDownOutside:!0,children:He.jsx(Vq,{"data-state":sY(h.open),role:"dialog",id:h.contentId,...f,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),aY="PopoverClose";function sY(e){return e?"open":"closed"}Qt.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=UK(aY,n);return He.jsx(vW.button,{type:"button",...r,ref:t,onClick:pW(e.onClick,()=>i.onOpenChange(!1))})}).displayName=aY,Qt.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=VK(n);return He.jsx(Hq,{...i,...r,ref:t})}).displayName="PopoverArrow";var lY=WK,cY=qK,uY=YK,dY=JK,hY=tY,fY=Qt.createContext(void 0);function pY(e){const t=Qt.useContext(fY);return e||t||"ltr"}function mY(e,[t,n]){return Math.min(n,Math.max(t,e))}var gY="ScrollArea",[vY]=mW(gY),[yY,bY]=vY(gY),CY=Qt.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:i,scrollHideDelay:o=600,...a}=e,[s,l]=Qt.useState(null),[c,u]=Qt.useState(null),[d,h]=Qt.useState(null),[f,p]=Qt.useState(null),[m,g]=Qt.useState(null),[v,y]=Qt.useState(0),[b,C]=Qt.useState(0),[w,E]=Qt.useState(!1),[k,S]=Qt.useState(!1),x=Ya(t,e=>l(e)),T=pY(i);return He.jsx(yY,{scope:n,type:r,dir:T,scrollHideDelay:o,scrollArea:s,viewport:c,onViewportChange:u,content:d,onContentChange:h,scrollbarX:f,onScrollbarXChange:p,scrollbarXEnabled:w,onScrollbarXEnabledChange:E,scrollbarY:m,onScrollbarYChange:g,scrollbarYEnabled:k,onScrollbarYEnabledChange:S,onCornerWidthChange:y,onCornerHeightChange:C,children:He.jsx(vW.div,{dir:T,...a,ref:x,style:{position:"relative","--radix-scroll-area-corner-width":v+"px","--radix-scroll-area-corner-height":b+"px",...e.style}})})});CY.displayName=gY;var wY="ScrollAreaViewport",EY=Qt.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:i,...o}=e,a=bY(wY,n),s=Ya(t,Qt.useRef(null),a.onViewportChange);return He.jsxs(He.Fragment,{children:[He.jsx(kY,{nonce:i}),He.jsx(vW.div,{"data-radix-scroll-area-viewport":"",...o,ref:s,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...e.style},children:He.jsx("div",{ref:a.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});EY.displayName=wY;var kY=Qt.memo(({nonce:e})=>He.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:e}),(e,t)=>e.nonce===t.nonce),SY="ScrollAreaScrollbar",xY=Qt.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=bY(SY,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:a}=i,s="horizontal"===e.orientation;return Qt.useEffect(()=>(s?o(!0):a(!0),()=>{s?o(!1):a(!1)}),[s,o,a]),"hover"===i.type?He.jsx(TY,{...r,ref:t,forceMount:n}):"scroll"===i.type?He.jsx(MY,{...r,ref:t,forceMount:n}):"auto"===i.type?He.jsx(AY,{...r,ref:t,forceMount:n}):"always"===i.type?He.jsx(LY,{...r,ref:t,"data-state":"visible"}):null});xY.displayName=SY;var TY=Qt.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=bY(SY,e.__scopeScrollArea),[o,a]=Qt.useState(!1);return Qt.useEffect(()=>{const e=i.scrollArea;let t=0;if(e){const n=()=>{window.clearTimeout(t),a(!0)},r=()=>{t=window.setTimeout(()=>a(!1),i.scrollHideDelay)};return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",r),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",r)}}},[i.scrollArea,i.scrollHideDelay]),He.jsx(Wq,{present:n||o,children:He.jsx(AY,{"data-state":o?"visible":"hidden",...r,ref:t})})}),MY=Qt.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=bY(SY,e.__scopeScrollArea),o="horizontal"===e.orientation,a=KY(()=>l("SCROLL_END"),100),[s,l]=(c={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},Qt.useReducer((e,t)=>c[e][t]??e,"hidden"));var c;return Qt.useEffect(()=>{if("idle"===s){const e=window.setTimeout(()=>l("HIDE"),i.scrollHideDelay);return()=>window.clearTimeout(e)}},[s,i.scrollHideDelay,l]),Qt.useEffect(()=>{const e=i.viewport,t=o?"scrollLeft":"scrollTop";if(e){let n=e[t];const r=()=>{const r=e[t];n!==r&&(l("SCROLL"),a()),n=r};return e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[i.viewport,o,l,a]),He.jsx(Wq,{present:n||"hidden"!==s,children:He.jsx(LY,{"data-state":"hidden"===s?"hidden":"visible",...r,ref:t,onPointerEnter:pW(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:pW(e.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),AY=Qt.forwardRef((e,t)=>{const n=bY(SY,e.__scopeScrollArea),{forceMount:r,...i}=e,[o,a]=Qt.useState(!1),s="horizontal"===e.orientation,l=KY(()=>{if(n.viewport){const e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;a(s?e:t)}},10);return YY(n.viewport,l),YY(n.content,l),He.jsx(Wq,{present:r||o,children:He.jsx(LY,{"data-state":o?"visible":"hidden",...i,ref:t})})}),LY=Qt.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,i=bY(SY,e.__scopeScrollArea),o=Qt.useRef(null),a=Qt.useRef(0),[s,l]=Qt.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=VY(s.viewport,s.content),u={...r,sizes:s,onSizesChange:l,hasThumb:Boolean(c>0&&c<1),onThumbChange:e=>o.current=e,onThumbPointerUp:()=>a.current=0,onThumbPointerDown:e=>a.current=e};function d(e,t){return function(e,t,n,r="ltr"){const i=HY(n),o=t||i/2,a=i-o,s=n.scrollbar.paddingStart+o,l=n.scrollbar.size-n.scrollbar.paddingEnd-a,c=n.content-n.viewport;return WY([s,l],"ltr"===r?[0,c]:[-1*c,0])(e)}(e,a.current,s,t)}return"horizontal"===n?He.jsx(PY,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&o.current){const e=UY(i.viewport.scrollLeft,s,i.dir);o.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=d(e,i.dir))}}):"vertical"===n?He.jsx(RY,{...u,ref:t,onThumbPositionChange:()=>{if(i.viewport&&o.current){const e=UY(i.viewport.scrollTop,s);o.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=d(e))}}):null}),PY=Qt.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,o=bY(SY,e.__scopeScrollArea),[a,s]=Qt.useState(),l=Qt.useRef(null),c=Ya(t,l,o.onScrollbarXChange);return Qt.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),He.jsx(IY,{"data-orientation":"horizontal",...i,ref:c,sizes:n,style:{bottom:0,left:"rtl"===o.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===o.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":HY(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(o.viewport){const r=o.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),GY(r,n)&&t.preventDefault()}},onResize:()=>{l.current&&o.viewport&&a&&r({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:zY(a.paddingLeft),paddingEnd:zY(a.paddingRight)}})}})}),RY=Qt.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,o=bY(SY,e.__scopeScrollArea),[a,s]=Qt.useState(),l=Qt.useRef(null),c=Ya(t,l,o.onScrollbarYChange);return Qt.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),He.jsx(IY,{"data-orientation":"vertical",...i,ref:c,sizes:n,style:{top:0,right:"ltr"===o.dir?0:void 0,left:"rtl"===o.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":HY(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(o.viewport){const r=o.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),GY(r,n)&&t.preventDefault()}},onResize:()=>{l.current&&o.viewport&&a&&r({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:zY(a.paddingTop),paddingEnd:zY(a.paddingBottom)}})}})}),[OY,DY]=vY(SY),IY=Qt.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:o,onThumbPointerUp:a,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:c,onWheelScroll:u,onResize:d,...h}=e,f=bY(SY,n),[p,m]=Qt.useState(null),g=Ya(t,e=>m(e)),v=Qt.useRef(null),y=Qt.useRef(""),b=f.viewport,C=r.content-r.viewport,w=bW(u),E=bW(l),k=KY(d,10);function S(e){if(v.current){const t=e.clientX-v.current.left,n=e.clientY-v.current.top;c({x:t,y:n})}}return Qt.useEffect(()=>{const e=e=>{const t=e.target;(null==p?void 0:p.contains(t))&&w(e,C)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[b,p,C,w]),Qt.useEffect(E,[r,E]),YY(p,k),YY(f.content,k),He.jsx(OY,{scope:n,scrollbar:p,hasThumb:i,onThumbChange:bW(o),onThumbPointerUp:bW(a),onThumbPositionChange:E,onThumbPointerDown:bW(s),children:He.jsx(vW.div,{...h,ref:g,style:{position:"absolute",...h.style},onPointerDown:pW(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),v.current=p.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),S(e))}),onPointerMove:pW(e.onPointerMove,S),onPointerUp:pW(e.onPointerUp,e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=y.current,f.viewport&&(f.viewport.style.scrollBehavior=""),v.current=null})})})}),_Y="ScrollAreaThumb",FY=Qt.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=DY(_Y,e.__scopeScrollArea);return He.jsx(Wq,{present:n||i.hasThumb,children:He.jsx($Y,{ref:t,...r})})}),$Y=Qt.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...i}=e,o=bY(_Y,n),a=DY(_Y,n),{onThumbPositionChange:s}=a,l=Ya(t,e=>a.onThumbChange(e)),c=Qt.useRef(void 0),u=KY(()=>{c.current&&(c.current(),c.current=void 0)},100);return Qt.useEffect(()=>{const e=o.viewport;if(e){const t=()=>{if(u(),!c.current){const t=qY(e,s);c.current=t,s()}};return s(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[o.viewport,u,s]),He.jsx(vW.div,{"data-state":a.hasThumb?"visible":"hidden",...i,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:pW(e.onPointerDownCapture,e=>{const t=e.target.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;a.onThumbPointerDown({x:n,y:r})}),onPointerUp:pW(e.onPointerUp,a.onThumbPointerUp)})});FY.displayName=_Y;var NY="ScrollAreaCorner",BY=Qt.forwardRef((e,t)=>{const n=bY(NY,e.__scopeScrollArea),r=Boolean(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&r?He.jsx(jY,{...e,ref:t}):null});BY.displayName=NY;var jY=Qt.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,i=bY(NY,n),[o,a]=Qt.useState(0),[s,l]=Qt.useState(0),c=Boolean(o&&s);return YY(i.scrollbarX,()=>{var e;const t=(null==(e=i.scrollbarX)?void 0:e.offsetHeight)||0;i.onCornerHeightChange(t),l(t)}),YY(i.scrollbarY,()=>{var e;const t=(null==(e=i.scrollbarY)?void 0:e.offsetWidth)||0;i.onCornerWidthChange(t),a(t)}),c?He.jsx(vW.div,{...r,ref:t,style:{width:o,height:s,position:"absolute",right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:0,...e.style}}):null});function zY(e){return e?parseInt(e,10):0}function VY(e,t){const n=e/t;return isNaN(n)?0:n}function HY(e){const t=VY(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function UY(e,t,n="ltr"){const r=HY(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-i,a=t.content-t.viewport,s=o-r,l=mY(e,"ltr"===n?[0,a]:[-1*a,0]);return WY([0,a],[0,s])(l)}function WY(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function GY(e,t){return e>0&&e<t}var qY=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function i(){const o={left:e.scrollLeft,top:e.scrollTop},a=n.left!==o.left,s=n.top!==o.top;(a||s)&&t(),n=o,r=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(r)};function KY(e,t){const n=bW(e),r=Qt.useRef(0);return Qt.useEffect(()=>()=>window.clearTimeout(r.current),[]),Qt.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function YY(e,t){const n=bW(t);jW(()=>{let t=0;if(e){const r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}var ZY=CY,QY=EY,XY=BY,JY=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),eZ=Qt.forwardRef((e,t)=>He.jsx(vW.span,{...e,ref:t,style:{...JY,...e.style}}));eZ.displayName="VisuallyHidden";var tZ=eZ,[nZ]=mW("Tooltip",[Sq]),rZ=Sq(),iZ="TooltipProvider",oZ=700,aZ="tooltip.open",[sZ,lZ]=nZ(iZ),cZ=e=>{const{__scopeTooltip:t,delayDuration:n=oZ,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,a=Qt.useRef(!0),s=Qt.useRef(!1),l=Qt.useRef(0);return Qt.useEffect(()=>{const e=l.current;return()=>window.clearTimeout(e)},[]),He.jsx(sZ,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:Qt.useCallback(()=>{r<=0||(window.clearTimeout(l.current),a.current=!1)},[r]),onClose:Qt.useCallback(()=>{r<=0||(window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,r))},[r]),isPointerInTransitRef:s,onPointerInTransitChange:Qt.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:o})};cZ.displayName=iZ;var uZ="Tooltip",[dZ,hZ]=nZ(uZ),fZ=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:o,disableHoverableContent:a,delayDuration:s}=e,l=lZ(uZ,e.__scopeTooltip),c=rZ(t),[u,d]=Qt.useState(null),h=HW(),f=Qt.useRef(0),p=a??l.disableHoverableContent,m=s??l.delayDuration,g=Qt.useRef(!1),[v,y]=Yq({prop:r,defaultProp:i??!1,onChange:e=>{e?(l.onOpen(),document.dispatchEvent(new CustomEvent(aZ))):l.onClose(),null==o||o(e)},caller:uZ}),b=Qt.useMemo(()=>v?g.current?"delayed-open":"instant-open":"closed",[v]),C=Qt.useCallback(()=>{window.clearTimeout(f.current),f.current=0,g.current=!1,y(!0)},[y]),w=Qt.useCallback(()=>{window.clearTimeout(f.current),f.current=0,y(!1)},[y]),E=Qt.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{g.current=!0,y(!0),f.current=0},m)},[m,y]);return Qt.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),He.jsx(jq,{...c,children:He.jsx(dZ,{scope:t,contentId:h,open:v,stateAttribute:b,trigger:u,onTriggerChange:d,onTriggerEnter:Qt.useCallback(()=>{l.isOpenDelayedRef.current?E():C()},[l.isOpenDelayedRef,E,C]),onTriggerLeave:Qt.useCallback(()=>{p?w():(window.clearTimeout(f.current),f.current=0)},[w,p]),onOpen:C,onClose:w,disableHoverableContent:p,children:n})})};fZ.displayName=uZ;var pZ="TooltipTrigger",mZ=Qt.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=hZ(pZ,n),o=lZ(pZ,n),a=rZ(n),s=Ya(t,Qt.useRef(null),i.onTriggerChange),l=Qt.useRef(!1),c=Qt.useRef(!1),u=Qt.useCallback(()=>l.current=!1,[]);return Qt.useEffect(()=>()=>document.removeEventListener("pointerup",u),[u]),He.jsx(zq,{asChild:!0,...a,children:He.jsx(vW.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:s,onPointerMove:pW(e.onPointerMove,e=>{"touch"!==e.pointerType&&(c.current||o.isPointerInTransitRef.current||(i.onTriggerEnter(),c.current=!0))}),onPointerLeave:pW(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:pW(e.onPointerDown,()=>{i.open&&i.onClose(),l.current=!0,document.addEventListener("pointerup",u,{once:!0})}),onFocus:pW(e.onFocus,()=>{l.current||i.onOpen()}),onBlur:pW(e.onBlur,i.onClose),onClick:pW(e.onClick,i.onClose)})})});mZ.displayName=pZ;var gZ="TooltipPortal",[vZ,yZ]=nZ(gZ,{forceMount:void 0}),bZ=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=hZ(gZ,t);return He.jsx(vZ,{scope:t,forceMount:n,children:He.jsx(Wq,{present:n||o.open,children:He.jsx(Uq,{asChild:!0,container:i,children:r})})})};bZ.displayName=gZ;var CZ="TooltipContent",wZ=Qt.forwardRef((e,t)=>{const n=yZ(CZ,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,a=hZ(CZ,e.__scopeTooltip);return He.jsx(Wq,{present:r||a.open,children:a.disableHoverableContent?He.jsx(TZ,{side:i,...o,ref:t}):He.jsx(EZ,{side:i,...o,ref:t})})}),EZ=Qt.forwardRef((e,t)=>{const n=hZ(CZ,e.__scopeTooltip),r=lZ(CZ,e.__scopeTooltip),i=Qt.useRef(null),o=Ya(t,i),[a,s]=Qt.useState(null),{trigger:l,onClose:c}=n,u=i.current,{onPointerInTransitChange:d}=r,h=Qt.useCallback(()=>{s(null),d(!1)},[d]),f=Qt.useCallback((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}(r,n.getBoundingClientRect())),o=function(e){const t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const n=e[r];for(;t.length>=2;){const e=t[t.length-1],r=t[t.length-2];if(!((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x)))break;t.pop()}t.push(n)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const t=e[r];for(;n.length>=2;){const e=n[n.length-1],r=n[n.length-2];if(!((e.x-r.x)*(t.y-r.y)>=(e.y-r.y)*(t.x-r.x)))break;n.pop()}n.push(t)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...i,...function(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect())]);s(o),d(!0)},[d]);return Qt.useEffect(()=>()=>h(),[h]),Qt.useEffect(()=>{if(l&&u){const e=e=>f(e,u),t=e=>f(e,l);return l.addEventListener("pointerleave",e),u.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),u.removeEventListener("pointerleave",t)}}},[l,u,f,h]),Qt.useEffect(()=>{if(a){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=(null==l?void 0:l.contains(t))||(null==u?void 0:u.contains(t)),i=!function(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;o<t.length;a=o++){const e=t[o],s=t[a],l=e.x,c=e.y,u=s.x,d=s.y;c>r!=d>r&&n<(u-l)*(r-c)/(d-c)+l&&(i=!i)}return i}(n,a);r?h():i&&(h(),c())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[l,u,a,c,h]),He.jsx(TZ,{...e,ref:o})}),[kZ,SZ]=nZ(uZ,{isInside:!1}),xZ=Ja("TooltipContent"),TZ=Qt.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:a,...s}=e,l=hZ(CZ,n),c=rZ(n),{onClose:u}=l;return Qt.useEffect(()=>(document.addEventListener(aZ,u),()=>document.removeEventListener(aZ,u)),[u]),Qt.useEffect(()=>{if(l.trigger){const e=e=>{e.target instanceof Node&&e.target.contains(l.trigger)&&u()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[l.trigger,u]),He.jsx(kW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:u,children:He.jsxs(Vq,{"data-state":l.stateAttribute,...c,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[He.jsx(xZ,{children:r}),He.jsx(kZ,{scope:n,isInside:!0,children:He.jsx(tZ,{id:l.contentId,role:"tooltip",children:i||r})})]})})});wZ.displayName=CZ;var MZ="TooltipArrow",AZ=Qt.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=rZ(n);return SZ(MZ,n).isInside?null:He.jsx(Hq,{...i,...r,ref:t})});AZ.displayName=MZ;var LZ=cZ,PZ=fZ,RZ=mZ,OZ=bZ,DZ=wZ,IZ=AZ,_Z="Dialog",[FZ]=mW(_Z),[$Z,NZ]=FZ(_Z),BZ=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,s=Qt.useRef(null),l=Qt.useRef(null),[c,u]=Yq({prop:r,defaultProp:i??!1,onChange:o,caller:_Z});return He.jsx($Z,{scope:t,triggerRef:s,contentRef:l,contentId:HW(),titleId:HW(),descriptionId:HW(),open:c,onOpenChange:u,onOpenToggle:Qt.useCallback(()=>u(e=>!e),[u]),modal:a,children:n})};BZ.displayName=_Z;var jZ="DialogTrigger",zZ=Qt.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=NZ(jZ,n),o=Ya(t,i.triggerRef);return He.jsx(vW.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":sQ(i.open),...r,ref:o,onClick:pW(e.onClick,i.onOpenToggle)})});zZ.displayName=jZ;var VZ="DialogPortal",[HZ,UZ]=FZ(VZ,{forceMount:void 0}),WZ=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=NZ(VZ,t);return He.jsx(HZ,{scope:t,forceMount:n,children:Qt.Children.map(r,e=>He.jsx(Wq,{present:n||o.open,children:He.jsx(Uq,{asChild:!0,container:i,children:e})}))})};WZ.displayName=VZ;var GZ="DialogOverlay",qZ=Qt.forwardRef((e,t)=>{const n=UZ(GZ,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=NZ(GZ,e.__scopeDialog);return o.modal?He.jsx(Wq,{present:r||o.open,children:He.jsx(YZ,{...i,ref:t})}):null});qZ.displayName=GZ;var KZ=Za("DialogOverlay.RemoveScroll"),YZ=Qt.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=NZ(GZ,n),o=function(){const e=Qt.useContext(EW),[t,n]=Qt.useState(null);return Qt.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}(),a=Ya(t,o);return He.jsx(BK,{as:KZ,allowPinchZoom:!0,shards:[i.contentRef],children:He.jsx(vW.div,{"data-state":sQ(i.open),...r,ref:a,style:{pointerEvents:"auto",...r.style}})})}),ZZ="DialogContent",QZ=Qt.forwardRef((e,t)=>{const n=UZ(ZZ,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=NZ(ZZ,e.__scopeDialog);return He.jsx(Wq,{present:r||o.open,children:o.modal?He.jsx(XZ,{...i,ref:t}):He.jsx(JZ,{...i,ref:t})})});QZ.displayName=ZZ;var XZ=Qt.forwardRef((e,t)=>{const n=NZ(ZZ,e.__scopeDialog),r=Qt.useRef(null),i=Ya(t,n.contentRef,r);return Qt.useEffect(()=>{const e=r.current;if(e)return tK(e)},[]),He.jsx(eQ,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:pW(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:pW(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:pW(e.onFocusOutside,e=>e.preventDefault())})}),JZ=Qt.forwardRef((e,t)=>{const n=NZ(ZZ,e.__scopeDialog),r=Qt.useRef(!1),i=Qt.useRef(!1);return He.jsx(eQ,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;null==(o=e.onCloseAutoFocus)||o.call(e,t),t.defaultPrevented||(r.current||null==(a=n.triggerRef.current)||a.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null==(o=e.onInteractOutside)||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const s=t.target;(null==(a=n.triggerRef.current)?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),eQ=Qt.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,s=NZ(ZZ,n);return AW(),He.jsx(He.Fragment,{children:He.jsx(DW,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:He.jsx(kW,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":sQ(s.open),...a,ref:t,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})}),tQ="DialogTitle",nQ=Qt.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=NZ(tQ,n);return He.jsx(vW.h2,{id:i.titleId,...r,ref:t})});nQ.displayName=tQ;var rQ="DialogDescription",iQ=Qt.forwardRef((e,t)=>
vendor: 4,141 bytes, line 1
1{const{__scopeDialog:n,...r}=e,i=NZ(rQ,n);return He.jsx(vW.p,{id:i.descriptionId,...r,ref:t})});iQ.displayName=rQ;var oQ="DialogClose",aQ=Qt.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=NZ(oQ,n);return He.jsx(vW.button,{type:"button",...r,ref:t,onClick:pW(e.onClick,()=>i.onOpenChange(!1))})});function sQ(e){return e?"open":"closed"}aQ.displayName=oQ;var lQ="horizontal",cQ=["horizontal","vertical"],uQ=Qt.forwardRef((e,t)=>{const{decorative:n,orientation:r=lQ,...i}=e,o=function(e){return cQ.includes(e)}(r)?r:lQ,a=n?{role:"none"}:{"aria-orientation":"vertical"===o?o:void 0,role:"separator"};return He.jsx(vW.div,{"data-orientation":o,...a,...i,ref:t})});uQ.displayName="Separator";var dQ=uQ;function hQ(e){const t=Qt.useRef({value:e,previous:e});return Qt.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var fQ="Checkbox",[pQ]=mW(fQ),[mQ,gQ]=pQ(fQ);function vQ(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:i,disabled:o,form:a,name:s,onCheckedChange:l,required:c,value:u="on",internal_do_not_use_render:d}=e,[h,f]=Yq({prop:n,defaultProp:i??!1,onChange:l,caller:fQ}),[p,m]=Qt.useState(null),[g,v]=Qt.useState(null),y=Qt.useRef(!1),b=!p||!!a||!!p.closest("form"),C={checked:h,disabled:o,setChecked:f,control:p,setControl:m,name:s,form:a,value:u,hasConsumerStoppedPropagationRef:y,required:c,defaultChecked:!TQ(i)&&i,isFormControl:b,bubbleInput:g,setBubbleInput:v};return He.jsx(mQ,{scope:t,...C,children:xQ(d)?d(C):r})}var yQ="CheckboxTrigger",bQ=Qt.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},i)=>{const{control:o,value:a,disabled:s,checked:l,required:c,setControl:u,setChecked:d,hasConsumerStoppedPropagationRef:h,isFormControl:f,bubbleInput:p}=gQ(yQ,e),m=Ya(i,u),g=Qt.useRef(l);return Qt.useEffect(()=>{const e=null==o?void 0:o.form;if(e){const t=()=>d(g.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[o,d]),He.jsx(vW.button,{type:"button",role:"checkbox","aria-checked":TQ(l)?"mixed":l,"aria-required":c,"data-state":MQ(l),"data-disabled":s?"":void 0,disabled:s,value:a,...r,ref:m,onKeyDown:pW(t,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:pW(n,e=>{d(e=>!!TQ(e)||!e),p&&f&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())})})});bQ.displayName=yQ;var CQ=Qt.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:i,defaultChecked:o,required:a,disabled:s,value:l,onCheckedChange:c,form:u,...d}=e;return He.jsx(vQ,{__scopeCheckbox:n,checked:i,defaultChecked:o,disabled:s,required:a,onCheckedChange:c,name:r,form:u,value:l,internal_do_not_use_render:({isFormControl:e})=>He.jsxs(He.Fragment,{children:[He.jsx(bQ,{...d,ref:t,__scopeCheckbox:n}),e&&He.jsx(SQ,{__scopeCheckbox:n})]})})});CQ.displayName=fQ;var wQ="CheckboxIndicator",EQ=Qt.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...i}=e,o=gQ(wQ,n);return He.jsx(Wq,{present:r||TQ(o.checked)||!0===o.checked,children:He.jsx(vW.span,{"data-state":MQ(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});EQ.displayName=wQ;var kQ="CheckboxBubbleInput",SQ=Qt.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:i,checked:o,defaultChecked:a,required:s,disabled:l,name:c,value:u,form:d,bubbleInput:h,setBubbleInput:f}=gQ(kQ,e),p=Ya(n,f),m=hQ(o),g=wq(r);Qt.useEffect(()=>{const e=h;if(!e)return;const t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set,r=!i.current;if(m!==o&&n){const t=new Event("click",{bubbles:r});e.indeterminate=TQ(o),n.call(e,!TQ(o)&&o),e.dispatchEvent(t)}},[h,m,o,i]);const v=Qt.useRef(!TQ(o)&&o);return He.jsx(vW.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a??v.current,required:s,disabled:l,name:c,value:u,form:d,...t,tabIndex:-1,ref:p,style:{...t.style,...g,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function xQ(e){return"function"==typeof e}function TQ(e){return"indeterminate"===e}function MQ(e){return TQ(e)?"indeterminate":e?"checked":"unchecked"}SQ.displayName=kQ;var AQ=Qt.forwardRef((e,t)=>
1He.jsx(vW.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null==(n=e.onMouseDown)||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));AQ.displayName="Label";var LQ=AQ;const PQ=Xt.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),RQ=()=>{const e=Xt.useContext(PQ);if(!e)throw new Error("useDrawerContext must be used within a Drawer.Root");return e};function OQ(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function DQ(){return IQ(/^iPhone/)||IQ(/^iPad/)||IQ(/^Mac/)&&navigator.maxTouchPoints>1}function IQ(e){return"undefined"!=typeof window&&null!=window.navigator?e.test(window.navigator.platform):void 0}!function(e){if("undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}("[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(\n[data-state=closed]\n){opacity:0}
1[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}");const _Q="undefined"!=typeof window?Qt.useLayoutEffect:Qt.useEffect;function FQ(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}const $Q="undefined"!=typeof document&&window.visualViewport;function NQ(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function BQ(e){for(NQ(e)&&(e=e.parentElement);e&&!NQ(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}const jQ=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let zQ,VQ=0;function HQ(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function UQ(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let t=BQ(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let n=t.getBoundingClientRect().top,r=e.getBoundingClientRect().top;e.getBoundingClientRect().bottom>t.getBoundingClientRect().bottom+24&&(t.scrollTop+=r-n)}e=t.parentElement}}function WQ(e){return e instanceof HTMLInputElement&&!jQ.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function GQ(...e){return Qt.useCallback(function(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}(...e),e)}const qQ=new WeakMap;function KQ(e,t,n=!1){if(!(e&&e instanceof HTMLElement))return;let r={};Object.entries(t).forEach(([t,n])=>{t.startsWith("--")?e.style.setProperty(t,n):(r[t]=e.style[t],e.style[t]=n)}),n||qQ.set(e,r)}const YQ=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function ZQ(e,t){if(!e)return null;const n=window.getComputedStyle(e),r=n.transform||n.webkitTransform||n.mozTransform;let i=r.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(", ")[YQ(t)?13:12]):(i=r.match(/^matrix\((.+)\)$/),i?parseFloat(i[1].split(", ")[YQ(t)?5:4]):null)}function QQ(e,t){if(!e)return()=>{};const n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}const XQ={DURATION:.5,EASE:[.32,.72,0,1]},JQ="vaul-dragging";function eX(e){const t=Xt.useRef(e);return Xt.useEffect(()=>{t.current=e}),Xt.useMemo(()=>(...e)=>null==t.current?void 0:t.current.call(t,...e),[])}function tX({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=function({defaultProp:e,onChange:t}){const n=Xt.useState(e),[r]=n,i=Xt.useRef(r),o=eX(t);return Xt.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,a=o?e:r,s=eX(n);return[a,Xt.useCallback(t=>{if(o){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[o,e,i,s])]}let nX=null;const rX=Xt.forwardRef(function({...e},t){const{overlayRef:n,snapPoints:r,onRelease:i,shouldFade:o,isOpen:a,modal:s,shouldAnimate:l}=RQ(),c=GQ(t,n),u=r&&r.length>0;if(!s)return null;const d=Xt.useCallback(e=>i(e),[i]);return Xt.createElement(qZ,{onMouseUp:d,ref:c,"data-vaul-overlay":"","data-vaul-snap-points":a&&u?"true":"false","data-vaul-snap-points-overlay":a&&o?"true":"false","data-vaul-animate":(null==l?void 0:l.current)?"true":"false",...e})});rX.displayName="Drawer.Overlay";const iX=Xt.forwardRef(function({onPointerDownOutside:e,style:t,onOpenAutoFocus:n,...r},i){const{drawerRef:o,onPress:a,onRelease:s,onDrag:l,keyboardIsOpen:c,snapPointsOffset:u,activeSnapPointIndex:d,modal:h,isOpen:f,direction:p,snapPoints:m,container:g,handleOnly:v,shouldAnimate:y,autoFocus:b}=RQ(),[C,w]=Xt.useState(!1),E=GQ(i,o),k=Xt.useRef(null),S=Xt.useRef(null),x=Xt.useRef(!1),T=m&&m.length>0;function M(e){k.current=null,x.current=!1,s(e)}return function(){const{direction:e,isOpen:t,shouldScaleBackgroun
1d:n,setBackgroundColorOnScale:r,noBodyStyles:i}=RQ(),o=Xt.useRef(null),a=Qt.useMemo(()=>document.body.style.backgroundColor,[]);function s(){return(window.innerWidth-26)/window.innerWidth}Xt.useEffect(()=>{if(t&&n){o.current&&clearTimeout(o.current);const t=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!t)return;r&&!i&&QQ(document.body,{background:"black"}),QQ(t,{transformOrigin:YQ(e)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${XQ.DURATION}s`,transitionTimingFunction:`cubic-bezier(${XQ.EASE.join(",")})`});const n=QQ(t,{borderRadius:"8px",overflow:"hidden",...YQ(e)?{transform:`scale(${s()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${s()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{n(),o.current=window.setTimeout(()=>{a?document.body.style.background=a:document.body.style.removeProperty("background")},1e3*XQ.DURATION)}}},[t,n,a])}(),Xt.useEffect(()=>{T&&window.requestAnimationFrame(()=>{w(!0)})},[]),Xt.createElement(QZ,{"data-vaul-drawer-direction":p,"data-vaul-drawer":"","data-vaul-delayed-snap-points":C?"true":"false","data-vaul-snap-points":f&&T?"true":"false","data-vaul-custom-container":g?"true":"false","data-vaul-animate":(null==y?void 0:y.current)?"true":"false",...r,ref:E,style:u&&u.length>0?{"--snap-point-height":`${u[null!=d?d:0]}px`,...t}:t,onPointerDown:e=>{v||(null==r.onPointerDown||r.onPointerDown.call(r,e),k.current={x:e.pageX,y:e.pageY},a(e))},onOpenAutoFocus:e=>{null==n||n(e),b||e.preventDefault()},onPointerDownOutside:t=>{null==e||e(t),h&&!t.defaultPrevented?c.current&&(c.current=!1):t.preventDefault()},onFocusOutside:e=>{h||e.preventDefault()},onPointerMove:e=>{if(S.current=e,v)return;if(null==r.onPointerMove||r.onPointerMove.call(r,e),!k.current)return;const t=e.pageY-k.current.y,n=e.pageX-k.current.x,i="touch"===e.pointerType?10:2;((e,t,n=0)=>
1{if(x.current)return!0;const r=Math.abs(e.y),i=Math.abs(e.x),o=i>r,a=["bottom","right"].includes(t)?1:-1;if("left"===t||"right"===t){if(!(e.x*a<0)&&i>=0&&i<=n)return o}else if(!(e.y*a<0)&&r>=0&&r<=n)return!o;return x.current=!0,!0})({x:n,y:t},p,i)?l(e):(Math.abs(n)>i||Math.abs(t)>i)&&(k.current=null)},onPointerUp:e=>{null==r.onPointerUp||r.onPointerUp.call(r,e),k.current=null,x.current=!1,s(e)},onPointerOut:e=>{null==r.onPointerOut||r.onPointerOut.call(r,e),M(S.current)},onContextMenu:e=>{null==r.onContextMenu||r.onContextMenu.call(r,e),S.current&&M(S.current)}})});iX.displayName="Drawer.Content",Xt.forwardRef(function({preventCycle:e=!1,children:t,...n},r){const{closeDrawer:i,isDragging:o,snapPoints:a,activeSnapPoint:s,setActiveSnapPoint:l,dismissible:c,handleOnly:u,isOpen:d,onPress:h,onDrag:f}=RQ(),p=Xt.useRef(null),m=Xt.useRef(!1);function g(){p.current&&window.clearTimeout(p.current),m.current=!1}return Xt.createElement("div",{onClick:function(){m.current?g():window.setTimeout(()=>{!function(){if(o||e||m.current)return void g();if(g(),!a||0===a.length)return void(c||i());if(s===a[a.length-1]&&c)return void i();const t=a.findIndex(e=>e===s);if(-1===t)return;const n=a[t+1];l(n)}()},120)},onPointerCancel:g,onPointerDown:e=>{u&&h(e),p.current=window.setTimeout(()=>{m.current=!0},250)},onPointerMove:e=>{u&&f(e)},ref:r,"data-vaul-drawer-visible":d?"true":"false","data-vaul-handle":"","aria-hidden":"true",...n},Xt.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},t))}).displayName="Drawer.Handle";const oX={Root:function({open:e,onOpenChange:t,children:n,onDrag:r,onRelease:i,snapPoints:o,shouldScaleBackground:a=!1,setBackgroundColorOnScale:s=!0,closeThreshold:l=.25,scrollLockTimeout:c=100,dismissible:u=!0,handleOnly:d=!1,fadeFromIndex:h=o&&o.length-1,activeSnapPoint:f,setActiveSnapPoint:p,fixed:m,modal:g=!0,onClose:v,nested:y,noBodyStyles:b=!1,direction:C="bottom",defaultOpen:w=!1,disablePreventScroll:E=!0,snapToSequentialPoint:k=!1,preventScrollRestoration:S=!1,repositionInputs:x=!0,onAnimationEnd:T,container:M,autoFocus:A=!1}){var L,P;const[R=!1,O]=tX({defaultProp:w,prop:e,onChange:e=>{null==t||t(e),e||y||ce(),setTimeout(()=>{null==T||T(e)},1e3*XQ.DURATION),e&&!g&&"undefined"!=typeof window&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),e||(document.body.style.pointerEvents="auto")}}),[D,I]=Xt.useState(!1),[_,F]=Xt.useState(!1),[$,N]=Xt.useState(!1),B=Xt.useRef(null),j=Xt.useRef(null),z=Xt.useRef(null),V=Xt.useRef(null),H=Xt.useRef(null),U=Xt.useRef(!1),W=Xt.useRef(null),G=Xt.useRef(0),q=Xt.useRef(!1),K=Xt.useRef(!w),Y=Xt.useRef(0),Z=Xt.useRef(null),Q=Xt.useRef((null==(L=Z.current)?void 0:L.getBoundingClientRect().height)||0),X=Xt.useRef((null==(P=Z.current)?void 0:P.getBoundingClientRect().width)||0),J=Xt.useRef(0),ee=Xt.useCallback(e=>{o&&e===oe.length-1&&(j.current=new Date)},[]),{activeSnapPoint:te,activeSnapPointIndex:ne,setActiveSnapPoint:re,onRelease:ie,snapPointsOffset:oe,onDrag:ae,shouldFade:se,getPercentageDragged:le}=function({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:n,drawerRef:r,overlayRef:i,fadeFromIndex:o,onSnapPointChange:a,direction:s="bottom",container:l,snapToSequentialPoint:c}){const[u,d]=tX({prop:e,defaultProp:null==n?void 0:n[0],onChange:t}),[h,f]=Xt.useState("undefined"!=typeof window?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);Xt.useEffect(()=>{function e(){f({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const p=Xt.useMemo(()=>u===(null==n?void 0:n[n.length-1])||null,[n,u]),m=Xt.useMemo(()=>{var e;return null!=(e=null==n?void 0:n.findIndex(e=>e===u))?e:null},[n,u]),g=n&&n.length>0&&(o||0===o)&&!Number.isNaN(o)&&n[o]===u||!n,v=Xt.useMemo(()=>{const e=l?{width:l.getBoundingClientRect().width,height:l.getBoundingClientRect().height}:"undefined"!=typeof window?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};var t;return null!=(t=null==n?void 0:n.map(t=>{const n="string"==typeof t;let r=0;if(n&&(r=parseInt(t,10)),YQ(s)){const i=n?r:h?t*e.height:0;return h?"bottom"===s?e.height-i:-e.height+i:i}const i=n?r:h?t*e.width:0;return h?"right"===s?e.width-i:-e.width+i:i}))?t:[]},[n,h,l]),y=Xt.useMemo(()=>null!==m?null==v?void 0:v[m]:null,[v,m]),b=Xt.useCallback(e=>{var t;const l=null!=(t=null==v?void 0:v.findIndex(t=>t===e))?t:null;a(l),KQ(r.current,{transition:`transform ${XQ.DURATION}s cubic-bezier(${XQ.EASE.join(",")})`,transform:YQ(s)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`}
1),v&&l!==v.length-1&&void 0!==o&&l!==o&&l<o?KQ(i.current,{transition:`opacity ${XQ.DURATION}s cubic-bezier(${XQ.EASE.join(",")})`,opacity:"0"}):KQ(i.current,{transition:`opacity ${XQ.DURATION}s cubic-bezier(${XQ.EASE.join(",")})`,opacity:"1"}),d(null==n?void 0:n[Math.max(l,0)])},[r.current,n,v,o,i,d]);return Xt.useEffect(()=>{if(u||e){var t;const r=null!=(t=null==n?void 0:n.findIndex(t=>t===e||t===u))?t:-1;v&&-1!==r&&"number"==typeof v[r]&&b(v[r])}},[u,e,n,v,b]),{isLastSnapPoint:p,activeSnapPoint:u,shouldFade:g,getPercentageDragged:function(e,t){if(!n||"number"!=typeof m||!v||void 0===o)return null;const r=m===o-1;if(m>=o&&t)return 0;if(r&&!t)return 1;if(!g&&!r)return null;const i=r?m+1:m-1,a=r?v[i]-v[i-1]:v[i+1]-v[i],s=e/Math.abs(a);return r?1-s:s},setActiveSnapPoint:d,activeSnapPointIndex:m,onRelease:function({draggedDistance:e,closeDrawer:t,velocity:r,dismissible:a}){if(void 0===o)return;const l="bottom"===s||"right"===s?(null!=y?y:0)-e:(null!=y?y:0)+e,u=0===m,d=e>0;if(m===o-1&&KQ(i.current,{transition:`opacity ${XQ.DURATION}s cubic-bezier(${XQ.EASE.join(",")})`}),!c&&r>2&&!d)return void(a?t():b(v[0]));if(!c&&r>2&&d&&v&&n)return void b(v[n.length-1]);const h=null==v?void 0:v.reduce((e,t)=>"number"!=typeof e||"number"!=typeof t?e:Math.abs(t-l)<Math.abs(e-l)?t:e),f=YQ(s)?window.innerHeight:window.innerWidth;if(r>.4&&Math.abs(e)<.4*f){const e=d?1:-1;if(e>0&&p&&n)return void b(v[n.length-1]);if(u&&e<0&&a&&t(),null===m)return;return void b(v[m+e])}b(h)},onDrag:function({draggedDistance:e}){if(null===y)return;const t="bottom"===s||"right"===s?y-e:y+e;("bottom"===s||"right"===s)&&t<v[v.length-1]||("top"===s||"left"===s)&&t>v[v.length-1]||KQ(r.current,{transform:YQ(s)?`translate3d(0, ${t}px, 0)`:`translate3d(${t}px, 0, 0)`})},snapPointsOffset:v}}({snapPoints:o,activeSnapPointProp:f,setActiveSnapPointProp:p,drawerRef:Z,fadeFromIndex:h,overlayRef:B,onSnapPointChange:ee,direction:C,container:M,snapToSequentialPoint:k});!function(e={}){let{isDisabled:t}=e;_Q(()=>{if(!t)return VQ++,1===VQ&&DQ()&&(zQ=function(){let e,t=0,n=window.pageXOffset,r=window.pageYOffset,i=FQ(function(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}(document.documentElement,"paddingRight",window.innerWidth-document.documentElement.clientWidth+"px"));window.scrollTo(0,0);let o=FQ(HQ(document,"touchstart",n=>{e=BQ(n.target),e===document.documentElement&&e===document.body||(t=n.changedTouches[0].pageY)},{passive:!1,capture:!0}),HQ(document,"touchmove",n=>{if(!e||e===document.documentElement||e===document.body)return void n.preventDefault();let r=n.changedTouches[0].pageY,i=e.scrollTop,o=e.scrollHeight-e.clientHeight;0!==o&&((i<=0&&r>t||i>=o&&r<t)&&n.preventDefault(),t=r)},{passive:!1,capture:!0}),HQ(document,"touchend",e=>{let t=e.target;WQ(t)&&t!==document.activeElement&&(e.preventDefault(),t.style.transform="translateY(-2000px)",t.focus(),requestAnimationFrame(()=>{t.style.transform=""}))},{passive:!1,capture:!0}),HQ(document,"focus",e=>{let t=e.target;WQ(t)&&(t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",$Q&&($Q.height<window.innerHeight?requestAnimationFrame(()=>{UQ(t)}):$Q.addEventListener("resize",()=>UQ(t),{once:!0}))}))},!0),HQ(window,"scroll",()=>{window.scrollTo(0,0)}));return()=>{i(),o(),window.scrollTo(n,r)}}()),()=>{VQ--,0===VQ&&(null==zQ||zQ())}},[t])}({isDisabled:!R||_||!g||$||!D||!x||!E});const{restorePositionSetting:ce}=function({isOpen:e,modal:t,nested:n,hasBeenOpened:r,preventScrollRestoration:i,noBodyStyles:o}){const[a,s]=Xt.useState(()=>"undefined"!=typeof window?window.location.href:""),l=Xt.useRef(0),c=Xt.useCallback(()=>{if(OQ()&&null===nX&&e&&!o){nX={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};const{scrollX:e,innerHeight:t}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:-l.current+"px",left:-e+"px",right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{const e=t-window.innerHeight;e&&l.current>=t&&(document.body.style.top=-(l.current+e)+"px")}),300)}},[e]),u=Xt.useCallback(()=>
1{if(OQ()&&null!==nX&&!o){const e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);Object.assign(document.body.style,nX),window.requestAnimationFrame(()=>{i&&a!==window.location.href?s(window.location.href):window.scrollTo(t,e)}),nX=null}},[a]);return Xt.useEffect(()=>{function e(){l.current=window.scrollY}return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),Xt.useEffect(()=>{if(t)return()=>{"undefined"!=typeof document&&(document.querySelector("[data-vaul-drawer]")||u())}},[t,u]),Xt.useEffect(()=>{!n&&r&&(e?(!window.matchMedia("(display-mode: standalone)").matches&&c(),t||window.setTimeout(()=>{u()},500)):u())},[e,r,a,t,n,c,u]),{restorePositionSetting:u}}({isOpen:R,modal:g,nested:null!=y&&y,hasBeenOpened:D,preventScrollRestoration:S,noBodyStyles:b});function ue(){return(window.innerWidth-26)/window.innerWidth}function de(e,t){var n;let r=e;const i=null==(n=window.getSelection())?void 0:n.toString(),o=Z.current?ZQ(Z.current,C):null,a=new Date;if("SELECT"===r.tagName)return!1;if(r.hasAttribute("data-vaul-no-drag")||r.closest("[data-vaul-no-drag]"))return!1;if("right"===C||"left"===C)return!0;if(j.current&&a.getTime()-j.current.getTime()<500)return!1;if(null!==o&&("bottom"===C?o>0:o<0))return!0;if(i&&i.length>0)return!1;if(H.current&&a.getTime()-H.current.getTime()<c&&0===o)return H.current=a,!1;if(t)return H.current=a,!1;for(;r;){if(r.scrollHeight>r.clientHeight){if(0!==r.scrollTop)return H.current=new Date,!1;if("dialog"===r.getAttribute("role"))return!0}r=r.parentNode}return!0}function he(e){_&&Z.current&&(Z.current.classList.remove(JQ),U.current=!1,F(!1),V.current=new Date),null==v||v(),e||O(!1),setTimeout(()=>{o&&re(o[0])},1e3*XQ.DURATION)}function fe(){if(!Z.current)return;const e=document.querySelector("[data-vaul-drawer-wrapper]"),t=ZQ(Z.current,C);KQ(Z.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${XQ.DURATION}s cubic-bezier(${XQ.EASE.join(",")})`}),KQ(B.current,{transition:`opacity ${XQ.DURATION}s cubic-bezier(${XQ.EASE.join(",")})`,opacity:"1"}),a&&t&&t>0&&R&&KQ(e,{borderRadius:"8px",overflow:"hidden",...YQ(C)?{transform:`scale(${ue()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${ue()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${XQ.DURATION}s`,transitionTimingFunction:`cubic-bezier(${XQ.EASE.join(",")})`},!0)}return Xt.useEffect(()=>{window.requestAnimationFrame(()=>{K.current=!0})},[]),Xt.useEffect(()=>{var e;function t(){if(Z.current&&x&&(WQ(document.activeElement)||q.current)){var e;const t=(null==(e=window.visualViewport)?void 0:e.height)||0,n=window.innerHeight;let r=n-t;const i=Z.current.getBoundingClientRect().height||0,a=i>.8*n;J.current||(J.current=i);const s=Z.current.getBoundingClientRect().top;if(Math.abs(Y.current-r)>60&&(q.current=!q.current),o&&o.length>0&&oe&&ne&&(r+=oe[ne]||0),Y.current=r,i>t||q.current){const e=Z.current.getBoundingClientRect().height;let n=e;e>t&&(n=t-(a?s:26)),Z.current.style.height=m?e-Math.max(r,0)+"px":`${Math.max(n,t-s)}px`}else(function(){const e=navigator.userAgent;return"undefined"!=typeof window&&(/Firefox/.test(e)&&/Mobile/.test(e)||/FxiOS/.test(e))})()||(Z.current.style.height=`${J.current}px`);o&&o.length>0&&!q.current?Z.current.style.bottom="0px":Z.current.style.bottom=`${Math.max(r,0)}px`}}return null==(e=window.visualViewport)||e.addEventListener("resize",t),()=>{var e;return null==(e=window.visualViewport)?void 0:e.removeEventListener("resize",t)}},[ne,o,oe]),Xt.useEffect(()=>(R&&(KQ(document.documentElement,{scrollBehavior:"auto"}),j.current=new Date),()=>{!function(e,t){if(!(e&&e instanceof HTMLElement))return;let n=qQ.get(e);n&&(e.style[t]=n[t])}(document.documentElement,"scrollBehavior")}),[R]),Xt.useEffect(()=>{g||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[g]),Xt.createElement(BZ,{defaultOpen:w,onOpenChange:e=>{(u||e)&&(e?I(!0):he(!0),O(e))},open:R}
1,Xt.createElement(PQ.Provider,{value:{activeSnapPoint:te,snapPoints:o,setActiveSnapPoint:re,drawerRef:Z,overlayRef:B,onOpenChange:t,onPress:function(e){var t,n;(u||o)&&(Z.current&&!Z.current.contains(e.target)||(Q.current=(null==(t=Z.current)?void 0:t.getBoundingClientRect().height)||0,X.current=(null==(n=Z.current)?void 0:n.getBoundingClientRect().width)||0,F(!0),z.current=new Date,DQ()&&window.addEventListener("touchend",()=>U.current=!1,{once:!0}),e.target.setPointerCapture(e.pointerId),G.current=YQ(C)?e.pageY:e.pageX))},onRelease:function(e){if(!_||!Z.current)return;Z.current.classList.remove(JQ),U.current=!1,F(!1),V.current=new Date;const t=ZQ(Z.current,C);if(!e||!de(e.target,!1)||!t||Number.isNaN(t))return;if(null===z.current)return;const n=V.current.getTime()-z.current.getTime(),r=G.current-(YQ(C)?e.pageY:e.pageX),a=Math.abs(r)/n;if(a>.05&&(N(!0),setTimeout(()=>{N(!1)},200)),o)return ie({draggedDistance:r*("bottom"===C||"right"===C?1:-1),closeDrawer:he,velocity:a,dismissible:u}),void(null==i||i(e,!0));if("bottom"===C||"right"===C?r>0:r<0)return fe(),void(null==i||i(e,!0));if(a>.4)return he(),void(null==i||i(e,!1));var s;const c=Math.min(null!=(s=Z.current.getBoundingClientRect().height)?s:0,window.innerHeight);var d;const h=Math.min(null!=(d=Z.current.getBoundingClientRect().width)?d:0,window.innerWidth),f="left"===C||"right"===C;if(Math.abs(t)>=(f?h:c)*l)return he(),void(null==i||i(e,!1));null==i||i(e,!0),fe()},onDrag:function(e){var t;if(Z.current&&_){const n="bottom"===C||"right"===C?1:-1,i=(G.current-(YQ(C)?e.pageY:e.pageX))*n,s=i>0,l=o&&!u&&!s;if(l&&0===ne)return;const c=Math.abs(i),d=document.querySelector("[data-vaul-drawer-wrapper]");let f=c/("bottom"===C||"top"===C?Q.current:X.current);const p=le(c,s);if(null!==p&&(f=p),l&&f>=1)return;if(!U.current&&!de(e.target,s))return;if(Z.current.classList.add(JQ),U.current=!0,KQ(Z.current,{transition:"none"}),KQ(B.current,{transition:"none"}),o&&ae({draggedDistance:i}),s&&!o){const e=(t=i,8*(Math.log(t+1)-2)),r=Math.min(-1*e,0)*n;return void KQ(Z.current,{transform:YQ(C)?`translate3d(0, ${r}px, 0)`:`translate3d(${r}px, 0, 0)`})}const m=1-f;if((se||h&&ne===h-1)&&(null==r||r(e,f),KQ(B.current,{opacity:`${m}`,transition:"none"},!0)),d&&B.current&&a){const e=Math.min(ue()+f*(1-ue()),1),t=8-8*f,n=Math.max(0,14-14*f);KQ(d,{borderRadius:`${t}px`,transform:YQ(C)?`scale(${e}) translate3d(0, ${n}px, 0)`:`scale(${e}) translate3d(${n}px, 0, 0)`,transition:"none"},!0)}if(!o){const e=c*n;KQ(Z.current,{transform:YQ(C)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})}}},dismissible:u,shouldAnimate:K,handleOnly:d,isOpen:R,isDragging:_,shouldFade:se,closeDrawer:he,onNestedDrag:function(e,t){if(t<0)return;const n=(window.innerWidth-16)/window.innerWidth,r=n+t*(1-n),i=16*t-16;KQ(Z.current,{transform:YQ(C)?`scale(${r}) translate3d(0, ${i}px, 0)`:`scale(${r}) translate3d(${i}px, 0, 0)`,transition:"none"})},onNestedOpenChange:function(e){const t=e?(window.innerWidth-16)/window.innerWidth:1,n=e?-16:0;W.current&&window.clearTimeout(W.current),KQ(Z.current,{transition:`transform ${XQ.DURATION}s cubic-bezier(${XQ.EASE.join(",")})`,transform:YQ(C)?`scale(${t}) translate3d(0, ${n}px, 0)`:`scale(${t}) translate3d(${n}px, 0, 0)`}),!e&&Z.current&&(W.current=setTimeout(()=>{const e=ZQ(Z.current,C);KQ(Z.current,{transition:"none",transform:YQ(C)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})},500))},onNestedRelease:function(e,t){const n=YQ(C)?window.innerHeight:window.innerWidth,r=t?(n-16)/n:1,i=t?-16:0;t&&KQ(Z.current,{transition:`transform ${XQ.DURATION}s cubic-bezier(${XQ.EASE.join(",")})`,transform:YQ(C)?`scale(${r}) translate3d(0, ${i}px, 0)`:`scale(${r}) translate3d(${i}px, 0, 0)`})},keyboardIsOpen:q,modal:g,snapPointsOffset:oe,activeSnapPointIndex:ne,direction:C,shouldScaleBackground:a,setBackgroundColorOnScale:s,noBodyStyles:b,container:M,autoFocus:A}},n))},Content:iX,Overlay:rX,Trigger:zZ,Portal:function(e){const t=RQ(),{container:n=t.container,...r}=e;return Xt.createElement(WZ,{container:n,...r})},Close:aQ,Title:nQ,Description:iQ};function aX(e){const t=e+"CollectionProvider",[n,r]=mW(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{const{scope:t,children:n}=e,r=Qt.useRef(null),o=Qt.useRef(new Map).current;return He.jsx(i,{scope:t,itemMap:o,collectionRef:r,children:n})};a.displayName=t;const s=e+"CollectionSlot",l=Za(s),c=Qt.forwardRef((e,t)=>
1{const{scope:n,children:r}=e,i=Ya(t,o(s,n).collectionRef);return He.jsx(l,{ref:i,children:r})});c.displayName=s;const u=e+"CollectionItemSlot",d="data-radix-collection-item",h=Za(u),f=Qt.forwardRef((e,t)=>{const{scope:n,children:r,...i}=e,a=Qt.useRef(null),s=Ya(t,a),l=o(u,n);return Qt.useEffect(()=>(l.itemMap.set(a,{ref:a,...i}),()=>{l.itemMap.delete(a)})),He.jsx(h,{[d]:"",ref:s,children:r})});return f.displayName=u,[{Provider:a,Slot:c,ItemSlot:f},function(t){const n=o(e+"CollectionConsumer",t);return Qt.useCallback(()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var sX=["PageUp","PageDown"],lX=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],cX={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},uX="Slider",[dX,hX,fX]=aX(uX),[pX]=mW(uX,[fX]),[mX,gX]=pX(uX),vX=Qt.forwardRef((e,t)=>{const{name:n,min:r=0,max:i=100,step:o=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:c=[r],value:u,onValueChange:d=()=>{},onValueCommit:h=()=>{},inverted:f=!1,form:p,...m}=e,g=Qt.useRef(new Set),v=Qt.useRef(0),y=Qt.useRef(!1),b="horizontal"===a?CX:wX,[C=[],w]=Yq({prop:u,defaultProp:c,onChange:e=>{var t;null==(t=[...g.current][v.current])||t.focus({preventScroll:!0,focusVisible:y.current}),y.current=!1,d(e)}}),E=Qt.useRef(C);function k(e,t,{commit:n}={commit:!1}){const a=function(e){if(!Number.isFinite(e))return 0;const t=e.toString();if(t.includes("e")){const[e,n]=t.split("e"),r=e.split(".")[1]||"",i=Number(n);return Math.max(0,r.length-i)}const n=t.split(".")[1];return n?n.length:0}(o),s=function(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}(Math.round((e-r)/o)*o+r,a),c=mY(s,[r,i]);w((e=[])=>{const r=function(e=[],t,n){const r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}(e,c,t);if(function(e,t){if(t>0){const n=function(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}(e);return Math.min(...n)>=t}return!0}(r,l*o)){v.current=r.indexOf(c);const t=String(r)!==String(e);return t&&n&&h(r),t?r:e}return e})}return He.jsx(mX,{scope:e.__scopeSlider,name:n,disabled:s,min:r,max:i,valueIndexToChangeRef:v,thumbs:g.current,values:C,orientation:a,form:p,children:He.jsx(dX.Provider,{scope:e.__scopeSlider,children:He.jsx(dX.Slot,{scope:e.__scopeSlider,children:He.jsx(b,{"aria-disabled":s,"data-disabled":s?"":void 0,...m,ref:t,onPointerDown:pW(m.onPointerDown,()=>{s||(E.current=C,y.current=!1)}),min:r,max:i,inverted:f,onSlideStart:s?void 0:function(e){const t=function(e,t){if(1===e.length)return 0;const n=e.map(e=>Math.abs(e-t)),r=Math.min(...n);return n.indexOf(r)}(C,e);k(e,t)},onSlideMove:s?void 0:function(e){k(e,v.current)},onSlideEnd:s?void 0:function(){const e=E.current[v.current];C[v.current]!==e&&h(C)},onHomeKeyDown:()=>{s||(y.current=!0,k(r,0,{commit:!0}))},onEndKeyDown:()=>{s||(y.current=!0,k(i,C.length-1,{commit:!0}))},onStepKeyDown:({event:e,direction:t})=>{if(!s){y.current=!0;const n=sX.includes(e.key)||e.shiftKey&&lX.includes(e.key)?10:1,r=v.current;k(C[r]+o*n*t,r,{commit:!0})}}})})})})});vX.displayName=uX;var[yX,bX]=pX(uX,{startEdge:"left",endEdge:"right",size:"width",direction:1}),CX=Qt.forwardRef((e,t)=>{const{min:n,max:r,dir:i,inverted:o,onSlideStart:a,onSlideMove:s,onSlideEnd:l,onStepKeyDown:c,...u}=e,[d,h]=Qt.useState(null),f=Ya(t,e=>h(e)),p=Qt.useRef(void 0),m=pY(i),g="ltr"===m,v=g&&!o||!g&&o;function y(e){const t=p.current||d.getBoundingClientRect(),i=NX([0,t.width],v?[n,r]:[r,n]);return p.current=t,i(e-t.left)}return He.jsx(yX,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width",children:He.jsx(EX,{dir:m,"data-orientation":"horizontal",...u,ref:f,style:{...u.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{const t=y(e.clientX);null==a||a(t)},onSlideMove:e=>{const t=y(e.clientX);null==s||s(t)},onSlideEnd:()=>{p.current=void 0,null==l||l()},onStepKeyDown:e=>
1{const t=cX[v?"from-left":"from-right"].includes(e.key);null==c||c({event:e,direction:t?-1:1})}})})}),wX=Qt.forwardRef((e,t)=>{const{min:n,max:r,inverted:i,onSlideStart:o,onSlideMove:a,onSlideEnd:s,onStepKeyDown:l,...c}=e,u=Qt.useRef(null),d=Ya(t,u),h=Qt.useRef(void 0),f=!i;function p(e){const t=h.current||u.current.getBoundingClientRect(),i=NX([0,t.height],f?[r,n]:[n,r]);return h.current=t,i(e-t.top)}return He.jsx(yX,{scope:e.__scopeSlider,startEdge:f?"bottom":"top",endEdge:f?"top":"bottom",size:"height",direction:f?1:-1,children:He.jsx(EX,{"data-orientation":"vertical",...c,ref:d,style:{...c.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{const t=p(e.clientY);null==o||o(t)},onSlideMove:e=>{const t=p(e.clientY);null==a||a(t)},onSlideEnd:()=>{h.current=void 0,null==s||s()},onStepKeyDown:e=>{const t=cX[f?"from-bottom":"from-top"].includes(e.key);null==l||l({event:e,direction:t?-1:1})}})})}),EX=Qt.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:i,onSlideEnd:o,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...c}=e,u=gX(uX,n);return He.jsx(vW.span,{...c,ref:t,onKeyDown:pW(e.onKeyDown,e=>{"Home"===e.key?(a(e),e.preventDefault()):"End"===e.key?(s(e),e.preventDefault()):sX.concat(lX).includes(e.key)&&(l(e),e.preventDefault())}),onPointerDown:pW(e.onPointerDown,e=>{const t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),u.thumbs.has(t)?t.focus({preventScroll:!0,focusVisible:!1}):r(e)}),onPointerMove:pW(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&i(e)}),onPointerUp:pW(e.onPointerUp,e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),o(e))})})}),kX="SliderTrack",SX=Qt.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,i=gX(kX,n);return He.jsx(vW.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...r,ref:t})});SX.displayName=kX;var xX="SliderRange",TX=Qt.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,i=gX(xX,n),o=bX(xX,n),a=Ya(t,Qt.useRef(null)),s=i.values.length,l=i.values.map(e=>$X(e,i.min,i.max)),c=s>1?Math.min(...l):0,u=100-Math.max(...l);return He.jsx(vW.span,{"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,...r,ref:a,style:{...e.style,[o.startEdge]:c+"%",[o.endEdge]:u+"%"}})});TX.displayName=xX;var MX="SliderThumb",[AX,LX]=pX(MX),PX="SliderThumbProvider";function RX(e){const{__scopeSlider:t,name:n,children:r,internal_do_not_use_render:i}=e,o=gX(PX,t),a=hX(t),[s,l]=Qt.useState(null),c=Qt.useMemo(()=>s?a().findIndex(e=>e.ref.current===s):-1,[a,s]),u=wq(s),d=!s||!!o.form||!!s.closest("form"),h=o.values[c],f=n??(o.name?o.name+(o.values.length>1?"[]":""):void 0),p=void 0===h?0:$X(h,o.min,o.max);Qt.useEffect(()=>{if(s)return o.thumbs.add(s),()=>{o.thumbs.delete(s)}},[s,o.thumbs]);const m={value:h,name:f,form:o.form,isFormControl:d,index:c,thumb:s,onThumbChange:l,percent:p,size:u};return He.jsx(AX,{scope:t,...m,children:BX(i)?i(m):r})}RX.displayName=PX;var OX="SliderThumbTrigger",DX=Qt.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,i=gX(OX,n),o=bX(OX,n),{index:a,value:s,percent:l,size:c,onThumbChange:u}=LX(OX,n),d=Ya(t,e=>u(e)),h=function(e,t){return t>2?`Value ${e+1} of ${t}`:2===t?["Minimum","Maximum"][e]:void 0}(a,i.values.length),f=null==c?void 0:c[o.size],p=f?function(e,t,n){const r=e/2;return(r-NX([0,50],[0,r])(t)*n)*n}(f,l,o.direction):0;return He.jsx("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[o.startEdge]:`calc(${l}% + ${p}px)`},children:He.jsx(dX.ItemSlot,{scope:n,children:He.jsx(vW.span,{role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":s,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0,...r,ref:d,style:void 0===s?{display:"none"}:e.style,onFocus:pW(e.onFocus,()=>{i.valueIndexToChangeRef.current=a})})})})});DX.displayName=OX;var IX=Qt.forwardRef((e,t)=>{const{__scopeSlider:n,name:r,...i}=e;return He.jsx(RX,{__scopeSlider:n,name:r,internal_do_not_use_render:({index:e,isFormControl:r})=>He.jsxs(He.Fragment,{children:[He.jsx(DX,{...i,ref:t,__scopeSlider:n}),r?He.jsx(FX,{__scopeSlider:n},e):null]})})});IX.displayName=MX;var _X="SliderBubbleInput",FX=Qt.forwardRef(({__scopeSlider:e,...t},n)=>{const{value:r,name:i,form:o}=LX(_X,e),a=Qt.useRef(null),s=Ya(a,n),l=hQ(r);return Qt.useEffect(()=>{const e=a.current;if(!e)return;const t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"value").set;if(l!==r&&n){const t=new Event("input",{bubbles:!0});n.call(e,r),e.dispatchEvent(t)}},[l,r]),He.jsx(vW.input,{style:{display:"none"},name:i,form:o,...t,ref:s,defaultValue:r})});
1function $X(e,t,n){return mY(100/(n-t)*(e-t),[0,100])}function NX(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function BX(e){return"function"==typeof e}FX.displayName=_X;var jX=.999,zX=/[\\\/_+.#"@\[\(\{&]/,VX=/[\\\/_+.#"@\[\(\{&]/g,HX=/[\s-]/,UX=/[\s-]/g;function WX(e,t,n,r,i,o,a){if(o===t.length)return i===e.length?1:.99;var s=`${i},${o}`;if(void 0!==a[s])return a[s];for(var l,c,u,d,h=r.charAt(o),f=n.indexOf(h,i),p=0;f>=0;)(l=WX(e,t,n,r,f+1,o+1,a))>p&&(f===i?l*=1:zX.test(e.charAt(f-1))?(l*=.8,(u=e.slice(i,f-1).match(VX))&&i>0&&(l*=Math.pow(jX,u.length))):HX.test(e.charAt(f-1))?(l*=.9,(d=e.slice(i,f-1).match(UX))&&i>0&&(l*=Math.pow(jX,d.length))):(l*=.17,i>0&&(l*=Math.pow(jX,f-i))),e.charAt(f)!==t.charAt(o)&&(l*=.9999)),(l<.1&&n.charAt(f-1)===r.charAt(o+1)||r.charAt(o+1)===r.charAt(o)&&n.charAt(f-1)!==r.charAt(o))&&.1*(c=WX(e,t,n,r,f+1,o+2,a))>l&&(l=.1*c),l>p&&(p=l),f=n.indexOf(h,f+1);return a[s]=p,p}function GX(e){return e.toLowerCase().replace(UX," ")}function qX(e,t,n){return WX(e=n&&n.length>0?e+" "+n.join(" "):e,t,GX(e),GX(t),0,0,{})}var KX='[cmdk-group=""]',YX='[cmdk-group-items=""]',ZX='[cmdk-item=""]',QX=`${ZX}:not([aria-disabled="true"])`,XX="cmdk-item-select",JX="data-value",eJ=(e,t,n)=>qX(e,t,n),tJ=Qt.createContext(void 0),nJ=()=>Qt.useContext(tJ),rJ=Qt.createContext(void 0),iJ=()=>Qt.useContext(rJ),oJ=Qt.createContext(void 0),aJ=Qt.forwardRef((e,t)=>{let n=CJ(()=>{var t,n;return{search:"",value:null!=(n=null!=(t=e.value)?t:e.defaultValue)?n:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=CJ(()=>new Set),i=CJ(()=>new Map),o=CJ(()=>new Map),a=CJ(()=>new Set),s=yJ(e),{label:l,children:c,value:u,onValueChange:d,filter:h,shouldFilter:f,loop:p,disablePointerSelection:m=!1,vimBindings:g=!0,...v}=e,y=HW(),b=HW(),C=HW(),w=Qt.useRef(null),E=kJ();bJ(()=>{if(void 0!==u){let e=u.trim();n.current.value=e,k.emit()}},[u]),bJ(()=>{E(6,L)},[]);let k=Qt.useMemo(()=>({subscribe:e=>(a.current.add(e),()=>a.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var i,o,a,l;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)A(),T(),E(1,M);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(C);e?e.focus():null==(i=document.getElementById(y))||i.focus()}if(E(7,()=>{var e;n.current.selectedItemId=null==(e=P())?void 0:e.id,k.emit()}),r||E(5,L),void 0!==(null==(o=s.current)?void 0:o.value)){let e=null!=t?t:"";return void(null==(l=(a=s.current).onValueChange)||l.call(a,e))}}k.emit()}},emit:()=>{a.current.forEach(e=>e())}}),[]),S=Qt.useMemo(()=>({value:(e,t,r)=>{var i;t!==(null==(i=o.current.get(e))?void 0:i.value)&&(o.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,x(t,r)),E(2,()=>{T(),k.emit()}))},item:(e,t)=>(r.current.add(e),t&&(i.current.has(t)?i.current.get(t).add(e):i.current.set(t,new Set([e]))),E(3,()=>{A(),T(),n.current.value||M(),k.emit()}),()=>{o.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=P();E(4,()=>{A(),(null==t?void 0:t.getAttribute("id"))===e&&M(),k.emit()})}),group:e=>(i.current.has(e)||i.current.set(e,new Set),()=>{o.current.delete(e),i.current.delete(e)}),filter:()=>s.current.shouldFilter,label:l||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:y,inputId:C,labelId:b,listInnerRef:w}),[]);function x(e,t){var r,i;let o=null!=(i=null==(r=s.current)?void 0:r.filter)?i:eJ;return e?o(e,n.current.search,t):0}function T(){if(!n.current.search||!1===s.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(n=>{let r=i.current.get(n),o=0;r.forEach(t=>{let n=e.get(t);o=Math.max(n,o)}),t.push([n,o])});let r=w.current;R().sort((t,n)=>{var r,i;let o=t.getAttribute("id"),a=n.getAttribute("id");return(null!=(r=e.get(a))?r:0)-(null!=(i=e.get(o))?i:0)}).forEach(e=>{let t=e.closest(YX);t?t.appendChild(e.parentElement===t?e:e.closest(`${YX} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${YX} > *`))}),t.sort((e,t)=>
1t[1]-e[1]).forEach(e=>{var t;let n=null==(t=w.current)?void 0:t.querySelector(`${KX}[${JX}="${encodeURIComponent(e[0])}"]`);null==n||n.parentElement.appendChild(n)})}function M(){let e=R().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(JX);k.setState("value",t||void 0)}function A(){var e,t,a,l;if(!n.current.search||!1===s.current.shouldFilter)return void(n.current.filtered.count=r.current.size);n.current.filtered.groups=new Set;let c=0;for(let i of r.current){let r=x(null!=(t=null==(e=o.current.get(i))?void 0:e.value)?t:"",null!=(l=null==(a=o.current.get(i))?void 0:a.keywords)?l:[]);n.current.filtered.items.set(i,r),r>0&&c++}for(let[r,o]of i.current)for(let e of o)if(n.current.filtered.items.get(e)>0){n.current.filtered.groups.add(r);break}n.current.filtered.count=c}function L(){var e,t,n;let r=P();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(KX))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function P(){var e;return null==(e=w.current)?void 0:e.querySelector(`${ZX}[aria-selected="true"]`)}function R(){var e;return Array.from((null==(e=w.current)?void 0:e.querySelectorAll(QX))||[])}function O(e){let t=R()[e];t&&k.setState("value",t.getAttribute(JX))}function D(e){var t;let n=P(),r=R(),i=r.findIndex(e=>e===n),o=r[i+e];null!=(t=s.current)&&t.loop&&(o=i+e<0?r[r.length-1]:i+e===r.length?r[0]:r[i+e]),o&&k.setState("value",o.getAttribute(JX))}function I(e){let t,n=P(),r=null==n?void 0:n.closest(KX);for(;r&&!t;)r=e>0?gJ(r,KX):vJ(r,KX),t=null==r?void 0:r.querySelector(QX);t?k.setState("value",t.getAttribute(JX)):D(e)}let _=()=>O(R().length-1),F=e=>{e.preventDefault(),e.metaKey?_():e.altKey?I(1):D(1)},$=e=>{e.preventDefault(),e.metaKey?O(0):e.altKey?I(-1):D(-1)};return Qt.createElement(vW.div,{ref:t,tabIndex:-1,...v,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=v.onKeyDown)||t.call(v,e);let n=e.nativeEvent.isComposing||229===e.keyCode;if(!e.defaultPrevented&&!n)switch(e.key){case"n":case"j":g&&e.ctrlKey&&F(e);break;case"ArrowDown":F(e);break;case"p":case"k":g&&e.ctrlKey&&$(e);break;case"ArrowUp":$(e);break;case"Home":e.preventDefault(),O(0);break;case"End":e.preventDefault(),_();break;case"Enter":{e.preventDefault();let t=P();if(t){let e=new Event(XX);t.dispatchEvent(e)}}}}},Qt.createElement("label",{"cmdk-label":"",htmlFor:S.inputId,id:S.labelId,style:xJ},l),SJ(e,e=>Qt.createElement(rJ.Provider,{value:k},Qt.createElement(tJ.Provider,{value:S},e))))}),sJ=Qt.forwardRef((e,t)=>{var n,r;let i=HW(),o=Qt.useRef(null),a=Qt.useContext(oJ),s=nJ(),l=yJ(e),c=null!=(r=null==(n=l.current)?void 0:n.forceMount)?r:null==a?void 0:a.forceMount;bJ(()=>{if(!c)return s.item(i,null==a?void 0:a.id)},[c]);let u=EJ(i,o,[e.value,e.children,o],e.keywords),d=iJ(),h=wJ(e=>e.value&&e.value===u.current),f=wJ(e=>!(!c&&!1!==s.filter())||!e.search||e.filtered.items.get(i)>0);function p(){var e,t;m(),null==(t=(e=l.current).onSelect)||t.call(e,u.current)}function m(){d.setState("value",u.current,!0)}if(Qt.useEffect(()=>{let t=o.current;if(t&&!e.disabled)return t.addEventListener(XX,p),()=>t.removeEventListener(XX,p)},[f,e.onSelect,e.disabled]),!f)return null;let{disabled:g,value:v,onSelect:y,forceMount:b,keywords:C,...w}=e;return Qt.createElement(vW.div,{ref:Ka(o,t),...w,id:i,"cmdk-item":"",role:"option","aria-disabled":!!g,"aria-selected":!!h,"data-disabled":!!g,"data-selected":!!h,onPointerMove:g||s.getDisablePointerSelection()?void 0:m,onClick:g?void 0:p},e.children)}),lJ=Qt.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:i,...o}=e,a=HW(),s=Qt.useRef(null),l=Qt.useRef(null),c=HW(),u=nJ(),d=wJ(e=>!(!i&&!1!==u.filter())||!e.search||e.filtered.groups.has(a));bJ(()=>u.group(a),[]),EJ(a,s,[e.value,e.heading,l]);let h=Qt.useMemo(()=>({id:a,forceMount:i}),[i]);return Qt.createElement(vW.div,{ref:Ka(s,t),...o,"cmdk-group":"",role:"presentation",hidden:!d||void 0},n&&Qt.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:c},n),SJ(e,e=>Qt.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?c:void 0},Qt.createElement(oJ.Provider,{value:h},e))))}),cJ=Qt.forwardRef((e,t)=>
1{let{alwaysRender:n,...r}=e,i=Qt.useRef(null),o=wJ(e=>!e.search);return n||o?Qt.createElement(vW.div,{ref:Ka(i,t),...r,"cmdk-separator":"",role:"separator"}):null}),uJ=Qt.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,i=null!=e.value,o=iJ(),a=wJ(e=>e.search),s=wJ(e=>e.selectedItemId),l=nJ();return Qt.useEffect(()=>{null!=e.value&&o.setState("search",e.value)},[e.value]),Qt.createElement(vW.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":s,id:l.inputId,type:"text",value:i?e.value:a,onChange:e=>{i||o.setState("search",e.target.value),null==n||n(e.target.value)}})}),dJ=Qt.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...i}=e,o=Qt.useRef(null),a=Qt.useRef(null),s=wJ(e=>e.selectedItemId),l=nJ();return Qt.useEffect(()=>{if(a.current&&o.current){let e,t=a.current,n=o.current,r=new ResizeObserver(()=>{e=requestAnimationFrame(()=>{let e=t.offsetHeight;n.style.setProperty("--cmdk-list-height",e.toFixed(1)+"px")})});return r.observe(t),()=>{cancelAnimationFrame(e),r.unobserve(t)}}},[]),Qt.createElement(vW.div,{ref:Ka(o,t),...i,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":s,"aria-label":r,id:l.listId},SJ(e,e=>Qt.createElement("div",{ref:Ka(a,l.listInnerRef),"cmdk-list-sizer":""},e)))}),hJ=Qt.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:i,contentClassName:o,container:a,...s}=e;return Qt.createElement(BZ,{open:n,onOpenChange:r},Qt.createElement(WZ,{container:a},Qt.createElement(qZ,{"cmdk-overlay":"",className:i}),Qt.createElement(QZ,{"aria-label":e.label,"cmdk-dialog":"",className:o},Qt.createElement(aJ,{ref:t,...s}))))}),fJ=Qt.forwardRef((e,t)=>wJ(e=>0===e.filtered.count)?Qt.createElement(vW.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),pJ=Qt.forwardRef((e,t)=>{let{progress:n,children:r,label:i="Loading...",...o}=e;return Qt.createElement(vW.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},SJ(e,e=>Qt.createElement("div",{"aria-hidden":!0},e)))}),mJ=Object.assign(aJ,{List:dJ,Item:sJ,Input:uJ,Group:lJ,Separator:cJ,Dialog:hJ,Empty:fJ,Loading:pJ});function gJ(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function vJ(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function yJ(e){let t=Qt.useRef(e);return bJ(()=>{t.current=e}),t}var bJ="undefined"==typeof window?Qt.useEffect:Qt.useLayoutEffect;function CJ(e){let t=Qt.useRef();return void 0===t.current&&(t.current=e()),t}function wJ(e){let t=iJ(),n=()=>e(t.snapshot());return Qt.useSyncExternalStore(t.subscribe,n,n)}function EJ(e,t,n,r=[]){let i=Qt.useRef(),o=nJ();return bJ(()=>{var a;let s=(()=>{var e;for(let t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():i.current}})(),l=r.map(e=>e.trim());o.value(e,s,l),null==(a=t.current)||a.setAttribute(JX,s),i.current=s}),i}var kJ=()=>{let[e,t]=Qt.useState(),n=CJ(()=>new Map);return bJ(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function SJ({asChild:e,children:t},n){return e&&Qt.isValidElement(t)?Qt.cloneElement(function(e){let t=e.type;return"function"==typeof t?t(e.props):"render"in t?t.render(e.props):e}(t),{ref:t.ref},n(t.props.children)):n(t)}var xJ={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},TJ=e=>"checkbox"===e.type,MJ=e=>e instanceof Date,AJ=e=>null==e;const LJ=e=>"object"==typeof e;var PJ=e=>!AJ(e)&&!Array.isArray(e)&&LJ(e)&&!MJ(e),RJ=e=>PJ(e)&&e.target?TJ(e.target)?e.target.checked:e.target.value:e,OJ=(e,t)=>t.split(".").some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join("."))),DJ=e=>{const t=e.constructor&&e.constructor.prototype;return PJ(t)&&t.hasOwnProperty("isPrototypeOf")},IJ="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function _J(e){if(e instanceof Date)return new Date(e);const t="undefined"!=typeof FileList&&e instanceof FileList;if(IJ&&(e instanceof Blob||t))return e;const n=Array.isArray(e);if(!(n||PJ(e)&&DJ(e)))return e;const r=n?[]:Object.create(Object.getPrototypeOf(e));for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=_J(e[i]));return r}const FJ="blur",$J="trigger",NJ="onChange",BJ="onSubmit",jJ="all",zJ="pattern",VJ="required",HJ="validate",UJ="root",WJ=["__proto__","constructor","prototype"],GJ=/^\w*$/;var qJ=e=>GJ.test(e),KJ=e=>void 0===e;const YJ=/[.[\]'"]/;var ZJ=e=>
vendor: 4,335 bytes, line 1
1e.split(YJ).filter(Boolean),QJ=(e,t,n)=>{if(!t||!PJ(e))return n;const r=qJ(t)?[t]:ZJ(t);if(r.some(e=>WJ.includes(e)))return n;const i=r.reduce((e,t)=>AJ(e)?void 0:e[t],e);return KJ(i)||i===e?KJ(e[t])?n:e[t]:i},XJ=e=>"boolean"==typeof e,JJ=e=>"function"==typeof e,e1=(e,t,n)=>{let r=-1;const i=qJ(t)?[t]:ZJ(t),o=i.length,a=o-1;for(;++r<o;){const t=i[r];let o=n;if(r!==a){const n=e[t];o=PJ(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if(WJ.includes(t))return;e[t]=o,e=e[t]}};const t1=Xt.createContext(null);t1.displayName="HookFormControlContext";const n1=()=>Xt.useContext(t1);var r1=(e,t,n,r=!0)=>{const i={};for(const o in e)Object.defineProperty(i,o,{get:()=>{const i=o;return t._proxyFormState[i]!==jJ&&(t._proxyFormState[i]=!r||jJ),n&&(n[i]=!0),e[i]}});return i};const i1=IJ?Xt.useLayoutEffect:Xt.useEffect;function o1(e){const t=n1(),{control:n=t,disabled:r,name:i,exact:o}=e||{},[a,s]=Xt.useState(()=>({...n._formState,defaultValues:n._defaultValues})),l=Xt.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return i1(()=>n._subscribe({name:i,formState:l.current,exact:o,callback:e=>{!r&&s({...n._formState,...e,defaultValues:n._defaultValues})}}),[i,r,o]),Xt.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),Xt.useMemo(()=>r1(a,n,l.current,!1),[a,n])}var a1=e=>"string"==typeof e,s1=(e,t,n,r,i)=>a1(e)?(r&&t.watch.add(e),QJ(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),QJ(n,e))):(r&&(t.watchAll=!0),n),l1=e=>AJ(e)||!LJ(e);const c1=(e,t)=>0===t.length&&!Array.isArray(e)&&!DJ(e);function u1(e,t,n=new WeakMap){if(e===t)return!0;if(l1(e)||l1(t))return Object.is(e,t);if(MJ(e)&&MJ(t))return Object.is(e.getTime(),t.getTime());const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(c1(e,r)||c1(t,i))return Object.is(e,t);if(!r.length&&Array.isArray(e)!==Array.isArray(t))return!1;const o=n.get(e);if(o&&o.has(t))return!0;if(o)o.add(t);else{const r=new WeakSet;r.add(t),n.set(e,r)}for(const a of r){const r=e[a];if(!(a in t))return!1;if("ref"!==a){const e=t[a];if(MJ(r)&&MJ(e)||(PJ(r)||Array.isArray(r))&&(PJ(e)||Array.isArray(e))?!u1(r,e,n):!Object.is(r,e))return!1}}return!0}function d1(e){const t=n1(),{control:n=t,name:r,defaultValue:i,disabled:o,exact:a,compute:s}=e||{},l=Xt.useRef(i),c=Xt.useRef(s),u=Xt.useRef(void 0),d=Xt.useRef(n),h=Xt.useRef(r);c.current=s;const[f,p]=Xt.useState(()=>{const e=n._getWatch(r,l.current);return c.current?c.current(e):e}),m=Xt.useCallback(e=>{const t=s1(r,n._names,e||n._formValues,!1,l.current);return c.current?c.current(t):t},[n._formValues,n._names,r]),g=Xt.useCallback(e=>{if(!o){const t=s1(r,n._names,e||n._formValues,!1,l.current);if(c.current){const e=c.current(t);u1(e,u.current)||(p(e),u.current=e)}else p(t)}},[n._formValues,n._names,o,r]);i1(()=>(d.current===n&&u1(h.current,r)||(d.current=n,h.current=r,g()),n._subscribe({name:r,formState:{values:!0},exact:a,callback:e=>{g(e.values)}})),[n,a,r,g]),Xt.useEffect(()=>n._removeUnmounted());const v=d.current!==n,y=h.current,b=Xt.useMemo(()=>{if(o)return null;const e=!v&&!u1(y,r);return v||e?m():null},[o,v,r,y,m]);return null!==b?b:f}const h1=e=>e.render(function(e){const t=n1(),{name:n,disabled:r,control:i=t,shouldUnregister:o,defaultValue:a,exact:s=!0}=e,l=OJ(i._names.array,n),c=Xt.useMemo(()=>QJ(i._formValues,n,QJ(i._defaultValues,n,a)),[i,n,a]),u=d1({control:i,name:n,defaultValue:c,exact:s}),d=o1({control:i,name:n,exact:s}),h=Xt.useRef(e),f=Xt.useRef(null),p=Xt.useRef(i.register(n,{...e.rules,value:u,...XJ(e.disabled)?{disabled:e.disabled}:{}}));h.current=e;const m=Xt.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!QJ(d.errors,n)},isDirty:{enumerable:!0,get:()=>!!QJ(d.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!QJ(d.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!QJ(d.validatingFields,n)},error:{enumerable:!0,get:()=>QJ(d.errors,n)}}),[d,n]),g=Xt.useCallback(e=>{const t=RJ(e);return QJ(i._fields,n)||(p.current=i.register(n,{...h.current.rules,value:t})),p.current.onChange({target:{value:RJ(e),name:n},type:"change"})},[n,i]),v=Xt.useCallback(()=>p.current.onBlur({target:{value:QJ(i._formValues,n),name:n},type:FJ}),[n,i._formValues]),y=Xt.useCallback(e=>{e&&(f.current={focus:()=>JJ(e.focus)&&e.focus(),select:()=>JJ(e.select)&&e.select(),setCustomValidity:t=>
1JJ(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>JJ(e.reportValidity)&&e.reportValidity()});const t=QJ(i._fields,n);t&&t._f&&e&&(t._f.ref=f.current)},[i._fields,n]),b=Xt.useMemo(()=>({name:n,value:u,...XJ(r)||d.disabled?{disabled:d.disabled||r}:{},onChange:g,onBlur:v,ref:y}),[n,r,d.disabled,g,v,y,u]);return Xt.useEffect(()=>{const e=i._options.shouldUnregister||o;i.register(n,{...h.current.rules,...XJ(h.current.disabled)?{disabled:h.current.disabled}:{}});const t=(e,t)=>{const n=QJ(i._fields,e);n&&n._f&&(n._f.mount=t)};if(t(n,!0),e){const e=_J(QJ(o?i._defaultValues:i._options.values||i._defaultValues,n,QJ(i._options.defaultValues,n,h.current.defaultValue)));e1(i._defaultValues,n,e),KJ(QJ(i._formValues,n))&&e1(i._formValues,n,e)}if(!l&&i.register(n),f.current){const e=QJ(i._fields,n);e&&e._f&&(e._f.ref=f.current)}return()=>{(l?e&&!i._state.action:e)?i.unregister(n):t(n,!1)}},[n,i,l,o]),Xt.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),Xt.useMemo(()=>({field:b,formState:d,fieldState:m}),[b,d,m])}(e)),f1=Xt.createContext(null);f1.displayName="HookFormContext";const p1=()=>Xt.useContext(f1),m1=({children:e,watch:t,getValues:n,getFieldState:r,setError:i,clearErrors:o,setValue:a,setValues:s,trigger:l,formState:c,resetField:u,reset:d,handleSubmit:h,unregister:f,control:p,register:m,setFocus:g,subscribe:v})=>{const y=Xt.useMemo(()=>({watch:t,getValues:n,getFieldState:r,setError:i,clearErrors:o,setValue:a,setValues:s,trigger:l,formState:c,resetField:u,reset:d,handleSubmit:h,unregister:f,control:p,register:m,setFocus:g,subscribe:v}),[o,p,c,r,n,h,m,d,u,i,g,a,s,v,l,f,t]);return Xt.createElement(f1.Provider,{value:y},Xt.createElement(t1.Provider,{value:y.control},e))};var g1=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},v1=e=>Array.isArray(e)?e.filter(Boolean):[],y1=e=>Array.isArray(e)?e:[e],b1=()=>{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function C1(e,t){const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r],o=t[r];if(i&&PJ(i)&&o){const e=C1(i,o);PJ(e)&&(n[r]=e)}else e[r]&&(n[r]=o)}return n}var w1=e=>PJ(e)&&!Object.keys(e).length,E1=e=>"file"===e.type,k1=e=>{if(!IJ)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},S1=e=>"select-multiple"===e.type,x1=e=>"radio"===e.type,T1=e=>k1(e)&&e.isConnected;function M1(e,t){if(a1(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;const n=Array.isArray(t)?t:qJ(t)?[t]:ZJ(t),r=1===n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;){if(AJ(e)){e=void 0;break}e=e[t[r]],r++}return e}(e,n),i=n.length-1,o=n[i];return r&&delete r[o],0!==i&&(PJ(r)&&w1(r)||Array.isArray(r)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!KJ(e[t]))return!1;return!0}(r))&&M1(e,n.slice(0,-1)),e}function A1(e){return Array.isArray(e)||PJ(e)&&!(e=>{for(const t in e)if(JJ(e[t]))return!0;return!1})(e)}function L1(e,t={}){for(const n in e){const r=e[n];A1(r)?(t[n]=Array.isArray(r)?[]:{},L1(r,t[n])):KJ(r)||(t[n]=!0)}return t}function P1(e){if(!1!==e){if(!0===e)return!0;if(Array.isArray(e)){const t=e.map(e=>P1(e));return t.some(e=>void 0!==e)?t:void 0}if(PJ(e)){const t={};for(const n in e){const r=P1(e[n]);KJ(r)||(t[n]=r)}return Object.keys(t).length?t:void 0}}}function R1(e,t,n){n||(n=L1(t));for(const r in e){const i=e[r];if(A1(i))KJ(t)||l1(n[r])?n[r]=L1(i,Array.isArray(i)?[]:{}):R1(i,AJ(t)?{}:t[r],n[r]);else{const e=t[r];n[r]=!u1(i,e)}}return P1(n)||{}}const O1={value:!1,isValid:!1},D1={value:!0,isValid:!0};var I1=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!KJ(e[0].attributes.value)?KJ(e[0].value)||""===e[0].value?D1:{value:e[0].value,isValid:!0}:D1:O1}return O1},_1=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>KJ(e)?e:t?""===e?NaN:e?+e:e:n&&a1(e)?new Date(e):r?r(e):e;const F1={isValid:!1,value:null};var $1=e=>Array.isArray(e)?e.reduce((e,t)=>
1t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,F1):F1;function N1(e){const t=e.ref;return E1(t)?t.files:x1(t)?$1(e.refs).value:S1(t)?[...t.selectedOptions].map(({value:e})=>e):TJ(t)?I1(e.refs).value:_1(KJ(t.value)?e.ref.value:t.value,e)}var B1=e=>e instanceof RegExp,j1=e=>KJ(e)?e:B1(e)?e.source:PJ(e)?B1(e.value)?e.value.source:e.value:e,z1=e=>({isOnSubmit:!e||e===BJ,isOnBlur:"onBlur"===e,isOnChange:e===NJ,isOnAll:e===jJ,isOnTouch:"onTouched"===e});const V1="AsyncFunction";var H1=e=>{if(!e||!e.validate)return!1;if(JJ(e.validate))return e.validate.constructor.name===V1;if(PJ(e.validate))for(const t in e.validate)if(e.validate[t].constructor.name===V1)return!0;return!1},U1=(e,t,n)=>{if(n)return!1;if(t.watchAll||t.watch.has(e))return!0;for(const r of t.watch)if(e.startsWith(r)&&"."===e.charAt(r.length))return!0;return!1};const W1=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const n=QJ(e,i);if(n){const{_f:e,...o}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(W1(o,t))break}else if(PJ(o)&&W1(o,t))break}}};function G1(e,t,n){const r=QJ(e,n);if(r||qJ(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const r=i.join("."),o=QJ(t,r),a=QJ(e,r);if(o&&!Array.isArray(o)&&n!==r)return{name:n};if(a&&a.type)return{name:r,error:a};if(a&&a.root&&a.root.type)return{name:`${r}.root`,error:a.root};i.pop()}return{name:n}}var q1=(e,t,n)=>{const r=QJ(e,n),i=Array.isArray(r)?r:[];return e1(i,UJ,t[n]),e1(e,n,i),e};function K1(e,t,n="validate"){if(a1(e)||Array.isArray(e)&&e.every(a1)||XJ(e)&&!e)return{type:n,message:a1(e)?e:"",ref:t}}var Y1=e=>PJ(e)&&!B1(e)?e:{value:e,message:""},Z1=async(e,t,n,r,i,o)=>{const{ref:a,refs:s,required:l,maxLength:c,minLength:u,min:d,max:h,pattern:f,validate:p,name:m,valueAsNumber:g,mount:v}=e._f,y=QJ(n,m);if(!v||t.has(m))return{};const b=s?s[0]:a,C=e=>{if(i&&b.reportValidity){const t=XJ(e)?"":e||"";s?s.forEach(e=>e.setCustomValidity(t)):b.setCustomValidity(t),b.reportValidity()}},w={},E=x1(a),k=TJ(a),S=E||k,x=(g||E1(a))&&KJ(a.value)&&KJ(y)||k1(a)&&""===a.value||""===y||Array.isArray(y)&&!y.length,T=g1.bind(null,m,r,w),M=(e,t,n,r="maxLength",i="minLength")=>{const o=e?t:n;w[m]={type:e?r:i,message:o,ref:a,...T(e?r:i,o)}};if(o?!Array.isArray(y)||!y.length:l&&(!S&&(x||AJ(y))||XJ(y)&&!y||k&&!I1(s).isValid||E&&!$1(s).isValid)){const{value:e,message:t}=a1(l)?{value:!!l,message:l}:Y1(l);if(e&&(w[m]={type:VJ,message:t,ref:b,...T(VJ,t)},!r))return C(t),w}if(!(x||AJ(d)&&AJ(h))){let e,t;const n=Y1(h),i=Y1(d);if(AJ(y)||isNaN(y)){const r=a.valueAsDate||new Date(y),o=e=>new Date((new Date).toDateString()+" "+e),s="time"==a.type,l="week"==a.type;a1(n.value)&&y&&(e=s?o(y)>o(n.value):l?y>n.value:r>new Date(n.value)),a1(i.value)&&y&&(t=s?o(y)<o(i.value):l?y<i.value:r<new Date(i.value))}else{const r=a.valueAsNumber||(y?+y:y);AJ(n.value)||(e=r>n.value),AJ(i.value)||(t=r<i.value)}if((e||t)&&(M(!!e,n.message,i.message,"max","min"),!r))return C(w[m].message),w}if((c||u)&&!x&&(a1(y)||o&&Array.isArray(y))){const e=Y1(c),t=Y1(u),n=!AJ(e.value)&&y.length>+e.value,i=!AJ(t.value)&&y.length<+t.value;if((n||i)&&(M(n,e.message,t.message),!r))return C(w[m].message),w}if(f&&!x&&a1(y)){const{value:e,message:t}=Y1(f);if(B1(e)&&!y.match(e)&&(w[m]={type:zJ,message:t,ref:a,...T(zJ,t)},!r))return C(t),w}if(p)if(JJ(p)){const e=K1(await p(y,n),b);if(e&&(w[m]={...e,...T(HJ,e.message)},!r))return C(e.message),w}else if(PJ(p)){let e={};for(const t in p){if(!w1(e)&&!r)break;const i=K1(await p[t](y,n),b,t);i&&(e={...i,...T(t,i.message)},C(i.message),r&&(w[m]=e))}if(!w1(e)&&(w[m]={ref:b,...e},!r))return w}return C(!0),w};const Q1={mode:BJ,reValidateMode:NJ,shouldFocusError:!0},X1="form",J1={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function e0(e={}){let t,n={...Q1,...e},r={..._J(J1),isLoading:JJ(n.defaultValues),errors:n.errors||{},disabled:n.disabled||!1},i={},o=(PJ(n.defaultValues)||PJ(n.values))&&_J(n.defaultValues||n.values)||{},a=n.shouldUnregister?{}:_J(o),s={action:!1,mount:!1,watch:!1,keepIsValid:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},c=0,u=0,d=z1(n.mode),h=z1(n.reValidateMode);const f={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},p={...f};let m={...p};const g={array:b1(),state:b1()},v=n.criteriaMode===jJ,y=async e=>{if(!s.keepIsValid&&!n.disabled&&(p.isValid||m.isValid||e)){let e;n.resolver?(e=w1((await k()).errors),b()):e=await x({fields:i,onlyCheckValid:!0,eventType:"valid"}),e!==r.isValid&&g.state.next({isValid:e})}},b=(e,t)=>
vendor: 11,911 bytes, line 1
1{!n.disabled&&(p.isValidating||p.validatingFields||m.isValidating||m.validatingFields)&&((e||Array.from(l.mount)).forEach(e=>{e&&(t?e1(r.validatingFields,e,t):M1(r.validatingFields,e))}),g.state.next({validatingFields:r.validatingFields,isValidating:!w1(r.validatingFields)}))},C=()=>{r.dirtyFields=R1(o,a)},w=(t,n,c,u)=>{const d=QJ(i,t);if(d){if((e=>{const t=qJ(e)?[e]:ZJ(e);let n=a,r=o;for(let i=0;i<t.length-1;i++){const e=t[i];if(n=AJ(n)?n:n[e],r=AJ(r)?r:r[e],null===n&&null!==r)return!0}return!1})(t))return;const i=KJ(QJ(a,t)),h=QJ(a,t,KJ(c)?QJ(o,t):c);KJ(h)||u&&u.defaultChecked||n?e1(a,t,n?h:N1(d._f)):A(t,h),s.mount&&!s.action&&(y(),i&&r.isDirty&&(p.isDirty||m.isDirty)&&(T()||(r.isDirty=!1,g.state.next({...r}))),e.shouldUnregister&&i&&!KJ(QJ(a,t))&&U1(t,l)&&(s.watch=!0))}},E=(e,t,i,s,l)=>{let c=!1,u=!1;const d={name:e};if(!n.disabled){if(!i||s){const n=u1(QJ(o,e),t);(p.isDirty||m.isDirty)&&(u=r.isDirty,r.isDirty=d.isDirty=!n||T(),c=u!==d.isDirty),u=!!QJ(r.dirtyFields,e),n!==r.isDirty?r.dirtyFields=R1(o,a):n?M1(r.dirtyFields,e):e1(r.dirtyFields,e,!0),d.dirtyFields=r.dirtyFields,c=c||(p.dirtyFields||m.dirtyFields)&&u!==!n}if(i){const t=QJ(r.touchedFields,e);t||(e1(r.touchedFields,e,i),d.touchedFields=r.touchedFields,c=c||(p.touchedFields||m.touchedFields)&&t!==i)}c&&l&&g.state.next(d)}return c?d:{}},k=async e=>(b(e,!0),await n.resolver(a,n.context,((e,t,n,r)=>{const i={};for(const o of e){const e=QJ(t,o);e&&e1(i,o,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}})(e||l.mount,i,n.criteriaMode,n.shouldUseNativeValidation))),S=async({name:t,eventType:n})=>{if(e.validate){const i=await e.validate({formValues:a,formState:r,name:t,eventType:n});if(PJ(i))for(const e in i){const t=i[e];t&&$(`${X1}.${e}`,{message:a1(t.message)?t.message:"",type:t.type||HJ})}else a1(i)||!i?$(X1,{message:i||"",type:HJ}):F(X1);return i}return!0},x=async({fields:t,onlyCheckValid:i,name:o,eventType:s,context:c={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(c.runRootValidation=!0,!(await S({name:o,eventType:s}))&&(c.valid=!1,i)))return c.valid;for(const u in t){const o=t[u];if(o){const{_f:t,...d}=o;if(t){const s=l.array.has(t.name),u=o._f&&H1(o._f),d=p.validatingFields||p.isValidating||m.validatingFields||m.isValidating;u&&d&&b([t.name],!0);const h=await Z1(o,l.disabled,a,v,n.shouldUseNativeValidation&&!i,s);if(u&&d&&b([t.name]),h[t.name]&&(c.valid=!1,i))break;if(!i&&(QJ(h,t.name)?s?q1(r.errors,h,t.name):e1(r.errors,t.name,h[t.name]):M1(r.errors,t.name)),e.shouldUseNativeValidation&&h[t.name])break}!w1(d)&&await x({context:c,onlyCheckValid:i,fields:d,name:u,eventType:s})}}return c.valid},T=(e,t)=>!n.disabled&&(e&&t&&e1(a,e,t),!u1(s.mount?a:o,o)),M=(e,t,n)=>s1(e,l,{...s.mount?a:KJ(t)?o:a1(e)?{[e]:t}:t},n,t),A=(e,t,n={},r=!1,o=!1)=>{const s=QJ(i,e);let l=t;if(s){const n=s._f;n&&(!n.disabled&&e1(a,e,_1(t,n)),l=k1(n.ref)&&AJ(t)?"":t,S1(n.ref)?[...n.ref.options].forEach(e=>e.selected=l.includes(e.value)):n.refs?TJ(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(l)?e.checked=!!l.find(t=>t===e.value):e.checked=l===e.value||!!l)}):n.refs.forEach(e=>e.checked=e.value===l):E1(n.ref)?n.ref.value="":(n.ref.value=l,n.ref.type||o||g.state.next({name:e,values:r?a:_J(a)})))}(n.shouldDirty||n.shouldTouch)&&E(e,l,n.shouldTouch,n.shouldDirty,!o),n.shouldValidate&&I(e)},L=(e,t,n,r=!1,o=!1)=>{for(const a in t){if(!t.hasOwnProperty(a))return;const s=t[a],c=e+"."+a,u=QJ(i,c);(l.array.has(e)||PJ(s)||u&&!u._f)&&!MJ(s)?L(c,s,n,r,o):A(c,s,n,r,o)}},P=(e,t,n,o,c=!1)=>{const u=QJ(i,e),d=l.array.has(e),h=o?t:_J(t),f=u1(QJ(a,e),h);if(f||e1(a,e,h),d)g.array.next({name:e,values:o?a:_J(a)}),(p.isDirty||p.dirtyFields||m.isDirty||m.dirtyFields)&&n.shouldDirty&&(C(),c||g.state.next({name:e,dirtyFields:r.dirtyFields,isDirty:T(e,h)}));else{const t=Array.isArray(h)&&!h.length||w1(h);!u||u._f||AJ(h)||t?A(e,h,n,o,c):L(e,h,n,o,c)}if(!f&&!c){const t=U1(e,l),n=o?a:_J(a);g.state.next({...t&&r,name:s.mount||t?e:void 0,values:n})}},R=(e,t,n={})=>P(e,t,n,!1),O=async o=>{s.mount=!0;const f=o.target;let C=f.name,w=!0;const T=QJ(i,C),M=e=>{w=Number.isNaN(e)||MJ(e)&&isNaN(e.getTime())||u1(e,QJ(a,C,e))};if(T){let s,A;const L=f.type?N1(T._f):RJ(o),P=o.type===FJ||"focusout"===o.type,R=!((e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate))(T._f)||e.validate||n.resolver||QJ(r.errors,C)||T._f.deps),O=R||((e,t,n,r,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e))(P,QJ(r.touchedFields,C),r.isSubmitted,h,d),D=U1(C,l,P);e1(a,C,L),P?f&&f.readOnly||(T._f.onBlur&&T._f.onBlur(o),t&&t(0)):T._f.onChange&&T._f.onChange(o);const _=E(C,L,P),F=!w1(_)||D;if(!P&&g.state.next({name:C,type:o.type,...u?{values:_J(a)}:{}}),O)return R&&r.isValid||!p.isValid&&!m.isValid||("onBlur"===n.mode?P&&y():P||y()),F&&g.state.next({name:C,...D?{}:_});if(!n.resolver&&e.validate&&await S({name:C,eventType:o.type}),!P&&D&&g.state.next({...r}),n.resolver){const{errors:e}=await k([C]);if(b([C]),M(L),!w)return void(!w1(_)&&g.state.next(_));const t=G1(r.errors,i,C),n=G1(e,i,t.name||C);s=n.error,C=n.name,A=w1(e)}else b([C],!0),s=(await Z1(T,l.disabled,a,v,n.shouldUseNativeValidation))[C],b([C]),M(L),w&&(s?A=!1:(p.isValid||m.isValid)&&(A=await x({fields:i,onlyCheckValid:!0,name:C,eventType:o.type})));w&&(T._f.deps&&(!Array.isArray(T._f.deps)||T._f.deps.length>0)&&I(T._f.deps),((e,i,o,a)=>{const s=QJ(r.errors,e),l=(p.isValid||m.isValid)&&XJ(i)&&r.isValid!==i;var u;if(n.delayError&&o?(u=()=>((e,t)=>{e1(r.errors,e,t),r.errors={...r.errors},g.state.next({errors:r.errors})})(e,o),t=e=>{clearTimeout(c),c=setTimeout(u,e)},t(n.delayError)):(clearTimeout(c),t=null,o?e1(r.errors,e,o):M1(r.errors,e),r.errors={...r.errors}),(o?!u1(s,o):s)||!w1(a)||l){const t={...a,...l&&XJ(i)?{isValid:i}:{},errors:r.errors,name:e};r={...r,...t},g.state.next(t)}})(C,A,s,_))}},D=(e,t)=>{if(QJ(r.errors,t)&&e.focus)return e.focus(),1},I=async(e,t={})=>{let o,a;const s=y1(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await k(e);if(b(e),e){for(const n of e){const e=QJ(t,n);e?l.array.has(n)&&PJ(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e)))?q1(r.errors,{[n]:e},n):e1(r.errors,n,e):M1(r.errors,n)}r.errors={...r.errors}}else r.errors=t;return t})(KJ(e)?e:s);o=w1(t),a=e?!s.some(e=>QJ(t,e)):o}else e?(a=(await Promise.all(s.map(async e=>{const t=QJ(i,e);return await x({fields:t&&t._f?{[e]:t}:t,eventType:$J})}))).every(Boolean),(a||r.isValid)&&y()):a=o=await x({fields:i,name:e,eventType:$J});return g.state.next({...!a1(e)||(p.isValid||m.isValid)&&o!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:o}:{},errors:r.errors}),t.shouldFocus&&!a&&W1(i,D,e?s:l.mount),a},_=(e,t)=>({invalid:!!QJ((t||r).errors,e),isDirty:!!QJ((t||r).dirtyFields,e),error:QJ((t||r).errors,e),isValidating:!!QJ(r.validatingFields,e),isTouched:!!QJ((t||r).touchedFields,e)}),F=e=>{const t=e?y1(e):void 0;null==t||t.forEach(e=>M1(r.errors,e)),t?t.forEach(e=>{g.state.next({name:e,errors:r.errors})}):g.state.next({errors:{}})},$=(e,t,n)=>{const o=(QJ(i,e,{_f:{}})._f||{}).ref,a=QJ(r.errors,e)||{},{ref:s,message:l,type:c,...u}=a;e1(r.errors,e,{...u,...t,ref:o}),g.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&o&&o.focus&&o.focus()},N=e=>{var t;const n=!!(null===(t=e.formState)||void 0===t?void 0:t.values);n&&u++;const{unsubscribe:i}=g.state.subscribe({next:t=>{if(n=e.name,i=t.name,s=e.exact,(!n||!i||n===i||y1(n).some(e=>e&&(s?e===i:e.startsWith(i)||i.startsWith(e))))&&((e,t,n,r)=>{n(e);const{name:i,...o}=e,a=Object.keys(o);return!a.length||r&&a.length>=Object.keys(t).length||a.find(e=>t[e]===(!r||jJ))})(t,e.formState||p,G,e.reRenderRoot)){const n={...a};e.callback({values:n,...r,...t,defaultValues:o})}var n,i,s}});if(!n)return i;let s=!1;return()=>{s||(s=!0,u--,i())}},B=(e,t={})=>{for(const s of e?y1(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(M1(i,s),M1(a,s)),!t.keepError&&M1(r.errors,s),!t.keepDirty&&M1(r.dirtyFields,s),!t.keepTouched&&M1(r.touchedFields,s),!t.keepIsValidating&&M1(r.validatingFields,s),!n.shouldUnregister&&!t.keepDefaultValue&&M1(o,s);g.state.next({values:_J(a)}),g.state.next({...r,...t.keepDirty?{isDirty:T()}:{}}),!t.keepIsValid&&y()},j=({disabled:e,name:t})=>{if(XJ(e)&&s.mount||e||l.disabled.has(t)){const n=l.disabled.has(t)!==!!e;e?l.disabled.add(t):l.disabled.delete(t),n&&s.mount&&!s.action&&y()}},z=(e,t={})=>{let r=QJ(i,e);const a=XJ(t.disabled)||XJ(n.disabled),c=!l.registerName.has(e)&&r&&r._f&&!r._f.mount;return e1(i,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),r&&!c?j({disabled:XJ(t.disabled)?t.disabled:n.disabled,name:e}):w(e,!0,t.value),{...a?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:j1(t.min),max:j1(t.max),minLength:j1(t.minLength),maxLength:j1(t.maxLength),pattern:j1(t.pattern)}:{},name:e,onChange:O,onBlur:O,ref:a=>{if(a){l.registerName.add(e),z(e,t),l.registerName.delete(e),r=QJ(i,e);const n=KJ(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,s=(e=>x1(e)||TJ(e))(n),c=r._f.refs||[];if(s?c.find(e=>e===n):n===r._f.ref)return;e1(i,e,{_f:{...r._f,...s?{refs:[...c.filter(T1),n,...Array.isArray(QJ(o,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),w(e,!1,void 0,n)}else r=QJ(i,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!OJ(l.array,e)||!s.action)&&l.unMount.add(e)}}},V=()=>n.shouldFocusError&&!n.shouldUseNativeValidation&&W1(i,D,l.mount),H=(e,t)=>async o=>{let s;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let c=_J(a);if(g.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await k();b(),r.errors=e,c=_J(t)}else await x({fields:i,eventType:"submit"});if(l.disabled.size)for(const e of l.disabled)M1(c,e);if(M1(r.errors,UJ),w1(r.errors)){g.state.next({errors:{}});try{await e(c,o)}catch(u){s=u}}else t&&await t({...r.errors},o),V(),setTimeout(V);if(g.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:w1(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},U=(e,t={})=>{const c=e?_J(e):o,u=_J(c),d=w1(e),h=u;if(t.keepDefaultValues||(o=c),!t.keepValues){if(t.keepDirtyValues){const e=new Set([...l.mount,...Object.keys(R1(o,a))]);for(const t of Array.from(e)){const e=QJ(r.dirtyFields,t),n=QJ(a,t),i=QJ(h,t);e&&!KJ(n)?e1(h,t,n):e||KJ(i)||R(t,i)}}else{if(IJ&&KJ(e))for(const e of l.mount){const t=QJ(i,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(k1(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(const e of l.mount)R(e,QJ(h,e));else i={}}if(n.shouldUnregister){if(a=t.keepDefaultValues?_J(o):{},t.keepFieldsRef)for(const e of l.mount)e1(a,e,QJ(h,e))}else a=_J(h);g.array.next({values:{...h}}),g.state.next({values:{...h}})}l={mount:t.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!p.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!n.shouldUnregister&&!w1(h),s.watch=!!n.shouldUnregister,s.keepIsValid=!!t.keepIsValid,s.action=!1,t.keepErrors||(r.errors={}),g.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!d&&(t.keepDirty?r.isDirty:t.keepValues?T():!(!t.keepDefaultValues||u1(e,o))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:d?{}:t.keepDirtyValues?t.keepDefaultValues&&a?R1(o,a):r.dirtyFields:t.keepDefaultValues&&e?R1(o,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:o})},W=(e,t)=>U(JJ(e)?e(a):e,{...n.resetOptions,...t}),G=e=>{r={...r,...e}},q={control:{register:z,unregister:B,getFieldState:_,handleSubmit:H,setError:$,_subscribe:N,_runSchema:k,_updateIsValidating:b,_focusError:V,_getWatch:M,_getDirty:T,_setValid:y,_setFieldArray:(e,t=[],o,l,c=!0,u=!0)=>
1{if(l&&o&&!n.disabled){if(s.action=!0,u&&Array.isArray(QJ(i,e))){const t=o(QJ(i,e),l.argA,l.argB);c&&e1(i,e,t)}if(u&&Array.isArray(QJ(r.errors,e))){const t=o(QJ(r.errors,e),l.argA,l.argB);c&&e1(r.errors,e,t),((e,t)=>{!v1(QJ(e,t)).length&&M1(e,t)})(r.errors,e)}if((p.touchedFields||m.touchedFields)&&u&&Array.isArray(QJ(r.touchedFields,e))){const t=o(QJ(r.touchedFields,e),l.argA,l.argB);c&&e1(r.touchedFields,e,t)}(p.dirtyFields||m.dirtyFields)&&C(),g.state.next({name:e,isDirty:T(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else e1(a,e,t)},_setDisabledField:j,_setErrors:e=>{r.errors=e,g.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>v1(QJ(s.mount?a:o,e,n.shouldUnregister?QJ(o,e,[]):[])),_reset:U,_resetDefaultValues:()=>JJ(n.defaultValues)&&n.defaultValues().then(e=>{W(e,n.resetOptions),g.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const e of l.unMount){const t=QJ(i,e);t&&(t._f.refs?t._f.refs.every(e=>!T1(e)):!T1(t._f.ref))&&B(e)}l.unMount=new Set},_disableForm:e=>{XJ(e)&&(g.state.next({disabled:e}),W1(i,(t,n)=>{const r=QJ(i,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:g,_proxyFormState:p,get _fields(){return i},get _formValues(){return a},get _state(){return s},set _state(e){s=e},get _defaultValues(){return o},get _names(){return l},set _names(e){l=e},get _formState(){return r},get _options(){return n},set _options(e){n={...n,...e},d=z1(n.mode),h=z1(n.reValidateMode)}},subscribe:e=>(s.mount=!0,m={...m,...e.formState},N({...e,formState:{...f,...e.formState}})),trigger:I,register:z,handleSubmit:H,watch:(e,t)=>{if(JJ(e)){u++;const{unsubscribe:n}=g.state.subscribe({next:n=>"values"in n&&e(n.values||M(void 0,t),n)});let r=!1;return{unsubscribe:()=>{r||(r=!0,u--,n())}}}return M(e,t,!0)},setValue:R,setValues:(e,t={})=>{const n=JJ(e)?e(a):e;if(!u1(a,n)){a={...a,...n};for(const e of l.mount)P(e,QJ(n,e),t,!0,!0);g.state.next({...r,name:void 0,type:void 0,...u?{values:a}:{}}),t.shouldValidate&&y()}},getValues:(e,t)=>{let n={...s.mount?a:o};return t&&(n=C1(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),KJ(e)?n:a1(e)?QJ(n,e):e.map(e=>QJ(n,e))},reset:W,resetField:(e,t={})=>{QJ(i,e)&&(KJ(t.defaultValue)?R(e,_J(QJ(o,e))):(R(e,t.defaultValue),e1(o,e,_J(t.defaultValue))),t.keepTouched||M1(r.touchedFields,e),t.keepDirty||(M1(r.dirtyFields,e),r.isDirty=t.defaultValue?T(e,_J(QJ(o,e))):T()),t.keepError||(M1(r.errors,e),p.isValid&&y()),g.state.next({...r}))},resetDefaultValues:(e,t={})=>{if(o=_J(e),!t.keepDirty){const e=R1(o,a);r.dirtyFields=e,r.isDirty=!w1(e)}t.keepIsValid||y(),g.state.next({...r,defaultValues:o})},clearErrors:F,unregister:B,setError:$,setFocus:(e,t={})=>{const n=QJ(i,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&JJ(e.select)&&e.select()})}},getFieldState:_};return{...q,formControl:q}}var t0=()=>{if("undefined"!=typeof crypto&&crypto.randomUUID)return crypto.randomUUID();const e="undefined"==typeof performance?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=(16*Math.random()+e)%16|0;return("x"==t?n:3&n|8).toString(16)})},n0=(e,t,n={})=>n.shouldFocus||KJ(n.shouldFocus)?n.focusName||`${e}.${KJ(n.focusIndex)?t:n.focusIndex}.`:"",r0=(e,t)=>[...e,...y1(t)],i0=e=>Array.isArray(e)?e.map(()=>{}):void 0;function o0(e,t,n){return[...e.slice(0,t),...y1(n),...e.slice(t)]}var a0=(e,t,n)=>Array.isArray(e)?(KJ(e[n])&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]),e):[],s0=(e,t)=>[...y1(t),...y1(e)],l0=(e,t)=>KJ(t)?[]:function(e,t){let n=0;const r=[...e];for(const i of t)r.splice(i-n,1),n++;return v1(r).length?r:[]}(e,y1(t).sort((e,t)=>e-t)),c0=(e,t,n)=>{[e[t],e[n]]=[e[n],e[t]]},u0=(e,t,n)=>(e[t]=n,e);function d0(e){const t=n1(),{control:n=t,name:r,keyName:i="id",disabled:o,shouldUnregister:a,rules:s}=e,[l,c]=Xt.useState(n._getFieldArray(r)),u=Xt.useRef(n._getFieldArray(r).map(t0)),d=Xt.useRef(!1);o||n._names.array.add(r),Xt.useMemo(()=>!o&&s&&l.length>=0&&n.register(r,s),[n,r,l.length,s,o]),i1(()=>{if(!o)return n._subjects.array.subscribe({next:({values:e,name:t})=>{if(t===r||!t){const n=QJ(e,r);Array.isArray(n)?(c(n),u.current=n.map(t0)):t||(c([]),u.current=[])}}}).unsubscribe},[n,r,o]);const h=Xt.useCallback(e=>{d.current=!0,n._setFieldArray(r,e)},[n,r]);return Xt.useEffect(()=>{if(o)return;n._state.action=!1,U1(r,n._names)&&n._subjects.state.next({...n._formState});const e=z1(n._options.mode);if(d.current&&(!e.isOnSubmit||n._formState.isSubmitted)&&!z1(n._options.reValidateMode).isOnSubmit&&!e.isOnBlur)if(n._options.resolver)n._runSchema([r]).then(e=>{n._updateIsValidating([r]);const t=QJ(e.errors,r),i=QJ(n._formState.errors,r);(i?!t&&i.type||t&&(i.type!==t.type||i.message!==t.message):t&&t.type)&&(t?e1(n._formState.errors,r,t):M1(n._formState.errors,r),n._subjects.state.next({errors:n._formState.errors}))});else{const e=QJ(n._fields,r);!e||!e._f||z1(n._options.reValidateMode).isOnSubmit&&z1(n._options.mode).isOnSubmit||Z1(e,n._names.disabled,n._formValues,n._options.criteriaMode===jJ,n._options.shouldUseNativeValidation,!0).then(e=>!w1(e)&&n._subjects.state.next({errors:q1(n._formState.errors,e,r)}))}n._subjects.state.next({name:r,values:_J(n._formValues)}
1),n._names.focus&&W1(n._fields,(e,t)=>{if(n._names.focus&&t.startsWith(n._names.focus)&&e.focus)return e.focus(),1}),n._names.focus="",n._setValid(),d.current=!1},[l,r,n,o]),Xt.useEffect(()=>(o||!QJ(n._formValues,r)&&n._setFieldArray(r),()=>{if(o)return;const e=!(n._options.shouldUnregister||a);d.current&&e&&n._subjects.state.next({name:r,values:_J(n._formValues)}),e?(e=>{const t=QJ(n._fields,e);t&&t._f&&(t._f.mount=!1)})(r):n.unregister(r)}),[r,n,i,a,o]),{swap:Xt.useCallback((e,t)=>{if(o)return;const i=n._getFieldArray(r);c0(i,e,t),c0(u.current,e,t),h(i),c(i),n._setFieldArray(r,i,c0,{argA:e,argB:t},!1)},[h,r,n,o]),move:Xt.useCallback((e,t)=>{if(o)return;const i=n._getFieldArray(r);a0(i,e,t),a0(u.current,e,t),h(i),c(i),n._setFieldArray(r,i,a0,{argA:e,argB:t},!1)},[h,r,n,o]),prepend:Xt.useCallback((e,t)=>{if(o)return;const i=y1(_J(e)),a=s0(n._getFieldArray(r),i);n._names.focus=n0(r,0,t),u.current=s0(u.current,i.map(t0)),h(a),c(a),n._setFieldArray(r,a,s0,{argA:i0(e)})},[h,r,n,o]),append:Xt.useCallback((e,t)=>{if(o)return;const i=y1(_J(e)),a=r0(n._getFieldArray(r),i);n._names.focus=n0(r,a.length-1,t),u.current=r0(u.current,i.map(t0)),h(a),c(a),n._setFieldArray(r,a,r0,{argA:i0(e)})},[h,r,n,o]),remove:Xt.useCallback(e=>{if(o)return;const t=l0(n._getFieldArray(r),e);u.current=l0(u.current,e),h(t),c(t),!Array.isArray(QJ(n._fields,r))&&e1(n._fields,r,void 0),n._setFieldArray(r,t,l0,{argA:e})},[h,r,n,o]),insert:Xt.useCallback((e,t,i)=>{if(o)return;const a=y1(_J(t)),s=o0(n._getFieldArray(r),e,a);n._names.focus=n0(r,e,i),u.current=o0(u.current,e,a.map(t0)),h(s),c(s),n._setFieldArray(r,s,o0,{argA:e,argB:i0(t)})},[h,r,n,o]),update:Xt.useCallback((e,t)=>{if(o)return;const i=_J(t),a=u0(n._getFieldArray(r),e,i);u.current=[...a].map((t,n)=>t&&n!==e?u.current[n]:t0()),h(a),c([...a]),n._setFieldArray(r,a,u0,{argA:e,argB:i},!0,!1)},[h,r,n,o]),replace:Xt.useCallback(e=>{if(o)return;const t=y1(_J(e));u.current=t.map(t0),h([...t]),c([...t]),n._setFieldArray(r,[...t],e=>e,{},!0,!1)},[h,r,n,o]),fields:Xt.useMemo(()=>l.map((e,t)=>({...e,...XJ(o)?{disabled:o}:{},[i]:u.current[t]||t0()})),[l,i,o])}}function h0(e={}){const t=Xt.useRef(void 0),n=Xt.useRef(void 0),r=Xt.useRef(e.formControl),[i,o]=Xt.useState(()=>({..._J(J1),isLoading:JJ(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:JJ(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&r.current!==e.formControl)if(r.current=e.formControl,e.formControl)t.current={...e.formControl,formState:i},e.defaultValues&&!JJ(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:n,...r}=e0(e);t.current={...r,formState:i}}const a=t.current.control;return a._options=e,i1(()=>{const e=a._subscribe({formState:a._proxyFormState,callback:()=>o({...a._formState,defaultValues:a._defaultValues}),reRenderRoot:!0});return o(e=>({...e,isReady:!0})),a._formState.isReady=!0,e},[a]),Xt.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),Xt.useEffect(()=>{e.mode&&(a._options.mode=e.mode),e.reValidateMode&&(a._options.reValidateMode=e.reValidateMode)},[a,e.mode,e.reValidateMode]),Xt.useEffect(()=>{e.errors&&(a._setErrors(e.errors),a._focusError())},[a,e.errors]),Xt.useEffect(()=>{e.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,e.shouldUnregister]),Xt.useEffect(()=>{if(a._proxyFormState.isDirty){const e=a._getDirty();e!==i.isDirty&&a._subjects.state.next({isDirty:e})}},[a,i.isDirty]),Xt.useEffect(()=>{var t;e.values&&!u1(e.values,n.current)?(a._reset(e.values,{keepFieldsRef:!0,...a._options.resetOptions}),(null===(t=a._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||a._setValid(),n.current=e.values,o(e=>({...e}))):a._resetDefaultValues()},[a,e.values]),Xt.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=Xt.useMemo(()=>r1(i,a),[a,i]),t.current}var f0=[" ","Enter","ArrowUp","ArrowDown"],p0=[" ","Enter"],m0="Select",[g0,v0,y0]=aX(m0),[b0]=mW(m0,[y0,Sq]),C0=Sq(),[w0,E0]=b0(m0),[k0,S0]=b0(m0);function x0(e){const{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:o,value:a,defaultValue:s,onValueChange:l,dir:c,name:u,autoComplete:d,disabled:h,required:f,form:p,internal_do_not_use_render:m}=e,g=C0(t),[v,y]=Qt.useState(null),[b,C]=Qt.useState(null),[w,E]=Qt.useState(!1),k=pY(c),[S,x]=Yq({prop:r,defaultProp:i??!1,onChange:o,caller:m0}),[T,M]=Yq({prop:a,defaultProp:s,onChange:l,caller:m0}),A=Qt.useRef(null),L=!v||!!p||!!v.closest("form"),[P,R]=Qt.useState(new Set),O=HW(),D=Array.from(P).map(e=>e.props.value).join(";"),I=Qt.useCallback(e=>{R(t=>new Set(t).add(e))},[]),_=Qt.useCallback(e=>{R(t=>{const n=new Set(t);return n.delete(e),n})},[]),F={required:f,trigger:v,onTriggerChange:y,valueNode:b,onValueNodeChange:C,valueNodeHasChildren:w,onValueNodeHasChildrenChange:E,contentId:O,value:T,onValueChange:M,open:S,onOpenChange:x,dir:k,triggerPointerDownPosRef:A,disabled:h,name:u,autoComplete:d,form:p,nativeOptions:P,
1nativeSelectKey:D,isFormControl:L};return He.jsx(jq,{...g,children:He.jsx(w0,{scope:t,...F,children:He.jsx(g0.Provider,{scope:t,children:He.jsx(k0,{scope:t,onNativeOptionAdd:I,onNativeOptionRemove:_,children:g2(m)?m(F):n})})})})}x0.displayName="SelectProvider";var T0=e=>{const{__scopeSelect:t,children:n,...r}=e;return He.jsx(x0,{__scopeSelect:t,...r,internal_do_not_use_render:({isFormControl:e})=>He.jsxs(He.Fragment,{children:[n,e?He.jsx(m2,{__scopeSelect:t}):null]})})};T0.displayName=m0;var M0="SelectTrigger",A0=Qt.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...i}=e,o=C0(n),a=E0(M0,n),s=a.disabled||r,l=Ya(t,a.onTriggerChange),c=v0(n),u=Qt.useRef("touch"),[d,h,f]=y2(e=>{const t=c().filter(e=>!e.disabled),n=t.find(e=>e.value===a.value),r=b2(t,e,n);void 0!==r&&a.onValueChange(r.value)}),p=e=>{s||(a.onOpenChange(!0),f()),e&&(a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return He.jsx(zq,{asChild:!0,...o,children:He.jsx(vW.button,{type:"button",role:"combobox","aria-controls":a.open?a.contentId:void 0,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":v2(a.value)?"":void 0,...i,ref:l,onClick:pW(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==u.current&&p(e)}),onPointerDown:pW(i.onPointerDown,e=>{u.current=e.pointerType;const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(p(e),e.preventDefault())}),onKeyDown:pW(i.onKeyDown,e=>{const t=""!==d.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||h(e.key),t&&" "===e.key||f0.includes(e.key)&&(p(),e.preventDefault())})})})});A0.displayName=M0;var L0="SelectValue",P0=Qt.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,children:o,placeholder:a="",...s}=e,l=E0(L0,n),{onValueNodeHasChildrenChange:c}=l,u=void 0!==o,d=Ya(t,l.onValueNodeChange);jW(()=>{c(u)},[c,u]);const h=v2(l.value);return He.jsx(vW.span,{...s,asChild:!h&&s.asChild,ref:d,style:{pointerEvents:"none"},children:He.jsx(Qt.Fragment,{children:h?a:o},h?"placeholder":"value")})});P0.displayName=L0;var R0=Qt.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return He.jsx(vW.span,{"aria-hidden":!0,...i,ref:t,children:r||"â¼"})});R0.displayName="SelectIcon";var O0="SelectPortal",[D0,I0]=b0(O0,{forceMount:void 0}),_0=e=>{const{__scopeSelect:t,forceMount:n,...r}=e;return He.jsx(D0,{scope:e.__scopeSelect,forceMount:n,children:He.jsx(Uq,{asChild:!0,...r})})};_0.displayName=O0;var F0="SelectContent",$0=Qt.forwardRef((e,t)=>{const n=I0(F0,e.__scopeSelect),{forceMount:r=n.forceMount,...i}=e,o=E0(F0,e.__scopeSelect),[a,s]=Qt.useState();return jW(()=>{s(new DocumentFragment)},[]),He.jsx(Wq,{present:r||o.open,children:({present:e})=>e?He.jsx(H0,{...i,ref:t}):He.jsx(N0,{...i,fragment:a})})});$0.displayName=F0;var N0=Qt.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,fragment:i}=e;return i?mo.createPortal(He.jsx(j0,{scope:n,children:He.jsx(g0.Slot,{scope:n,children:He.jsx("div",{ref:t,children:r})})}),i):null});N0.displayName="SelectContentFragment";var B0=10,[j0,z0]=b0(F0),V0=Za("SelectContent.RemoveScroll"),H0=Qt.forwardRef((e,t)=>{const{__scopeSelect:n}=e,{position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:a,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:d,collisionBoundary:h,collisionPadding:f,sticky:p,hideWhenDetached:m,avoidCollisions:g,...v}=e,y=E0(F0,n),[b,C]=Qt.useState(null),[w,E]=Qt.useState(null),k=Ya(t,e=>C(e)),[S,x]=Qt.useState(null),[T,M]=Qt.useState(null),A=v0(n),[L,P]=Qt.useState(!1),R=Qt.useRef(!1);Qt.useEffect(()=>{if(b)return tK(b)},[b]),AW();const O=Qt.useCallback(e=>{const[t,...n]=A().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(const o of e){if(o===i)return;if(null==o||o.scrollIntoView({block:"nearest"}),o===t&&w&&(w.scrollTop=0),o===r&&w&&(w.scrollTop=w.scrollHeight),null==o||o.focus(),document.activeElement!==i)return}},[A,w]),D=Qt.useCallback(()=>O([S,b]),[O,S,b]);Qt.useEffect(()=>{L&&D()},[L,D]);const{onOpenChange:I,triggerPointerDownPosRef:_}=y;Qt.useEffect(()=>{if(b){let e={x:0,y:0};const t=t=>{var n,r;e={x:Math.abs(Math.round(t.pageX)-((null==(n=_.current)?void 0:n.x)??0)),y:Math.abs(Math.round(t.pageY)-((null==(r=_.current)?void 0:r.y
1)??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():n.composedPath().includes(b)||I(!1),document.removeEventListener("pointermove",t),_.current=null};return null!==_.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[b,I,_]),Qt.useEffect(()=>{const e=()=>I(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[I]);const[F,$]=y2(e=>{const t=A().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=b2(t,e,n);r&&setTimeout(()=>{var e;return null==(e=r.ref.current)?void 0:e.focus()})}),N=Qt.useCallback((e,t,n)=>{const r=!R.current&&!n;(void 0!==y.value&&y.value===t||r)&&(x(e),r&&(R.current=!0))},[y.value]),B=Qt.useCallback(()=>null==b?void 0:b.focus(),[b]),j=Qt.useCallback((e,t,n)=>{const r=!R.current&&!n;(void 0!==y.value&&y.value===t||r)&&M(e)},[y.value]),z="popper"===r?W0:U0,V=z===W0?{side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:d,collisionBoundary:h,collisionPadding:f,sticky:p,hideWhenDetached:m,avoidCollisions:g}:{};return He.jsx(j0,{scope:n,content:b,viewport:w,onViewportChange:E,itemRefCallback:N,selectedItem:S,onItemLeave:B,itemTextRefCallback:j,focusSelectedItem:D,selectedItemText:T,position:r,isPositioned:L,searchRef:F,children:He.jsx(BK,{as:V0,allowPinchZoom:!0,children:He.jsx(DW,{asChild:!0,trapped:y.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:pW(i,e=>{var t;null==(t=y.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:He.jsx(kW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:He.jsx(z,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:e=>e.preventDefault(),...v,...V,onPlaced:()=>P(!0),ref:k,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:pW(v.onKeyDown,e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||$(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=A().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>O(t)),e.preventDefault()}})})})})})})});H0.displayName="SelectContentImpl";var U0=Qt.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...i}=e,o=E0(F0,n),a=z0(F0,n),[s,l]=Qt.useState(null),[c,u]=Qt.useState(null),d=Ya(t,e=>u(e)),h=v0(n),f=Qt.useRef(!1),p=Qt.useRef(!0),{viewport:m,selectedItem:g,selectedItemText:v,focusSelectedItem:y}=a,b=Qt.useCallback(()=>{if(o.trigger&&o.valueNode&&s&&c&&m&&g&&v){const e=o.trigger.getBoundingClientRect(),t=c.getBoundingClientRect(),n=o.valueNode.getBoundingClientRect(),i=v.getBoundingClientRect();if("rtl"!==o.dir){const r=i.left-t.left,o=n.left-r,a=e.left-o,l=e.width+a,c=Math.max(l,t.width),u=window.innerWidth-B0,d=mY(o,[B0,Math.max(B0,u-c)]);s.style.minWidth=l+"px",s.style.left=d+"px"}else{const r=t.right-i.right,o=window.innerWidth-n.right-r,a=window.innerWidth-e.right-o,l=e.width+a,c=Math.max(l,t.width),u=window.innerWidth-B0,d=mY(o,[B0,Math.max(B0,u-c)]);s.style.minWidth=l+"px",s.style.right=d+"px"}const a=h(),l=window.innerHeight-2*B0,u=m.scrollHeight,d=window.getComputedStyle(c),p=parseInt(d.borderTopWidth,10),y=parseInt(d.paddingTop,10),b=parseInt(d.borderBottomWidth,10),C=p+y+u+parseInt(d.paddingBottom,10)+b,w=Math.min(5*g.offsetHeight,C),E=window.getComputedStyle(m),k=parseInt(E.paddingTop,10),S=parseInt(E.paddingBottom,10),x=e.top+e.height/2-B0,T=l-x,M=g.offsetHeight/2,A=p+y+(g.offsetTop+M),L=C-A;if(A<=x){const e=a.length>0&&g===a[a.length-1].ref.current;s.style.bottom="0px";const t=c.clientHeight-m.offsetTop-m.offsetHeight,n=A+Math.max(T,M+(e?S:0)+t+b);s.style.height=n+"px"}else{const e=a.length>0&&g===a[0].ref.current;s.style.top="0px";const t=Math.max(x,p+m.offsetTop+(e?k:0)+M)+L;s.style.height=t+"px",m.scrollTop=A-x+m.offsetTop}s.style.margin=`${B0}px 0`,s.style.minHeight=w+"px",s.style.maxHeight=l+"px",null==r||r(),requestAnimationFrame(()=>f.current=!0)}},[h,o.trigger,o.valueNode,s,c,m,g,v,o.dir,r]);jW(()=>b(),[b]);const[C,w]=Qt.useState();jW(()=>{c&&w(window.getComputedStyle(c).zIndex)},[c]);const E=Qt.useCallback(e=>{e&&!0===p.current&&(b(),null==y||y(),p.current=!1)},[b,y]);return He.jsx(G0,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:f,onScrollButtonChange:E,children:He.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:He.jsx(vW.div,{...i,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});U0.displayName="SelectItemAlignedPosition";var W0=Qt.forwardRef((e,t)=>
1{const{__scopeSelect:n,align:r="start",collisionPadding:i=B0,...o}=e,a=C0(n);return He.jsx(Vq,{...a,...o,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});W0.displayName="SelectPopperPosition";var[G0,q0]=b0(F0,{}),K0="SelectViewport",Y0=Qt.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...i}=e,o=z0(K0,n),a=q0(K0,n),s=Ya(t,o.onViewportChange),l=Qt.useRef(0);return He.jsxs(He.Fragment,{children:[He.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),He.jsx(g0.Slot,{scope:n,children:He.jsx(vW.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:pW(i.onScroll,e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=a;if((null==r?void 0:r.current)&&n){const e=Math.abs(l.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*B0,i=parseFloat(n.style.minHeight),o=parseFloat(n.style.height),a=Math.max(i,o);if(a<r){const i=a+e,o=Math.min(r,i),s=i-o;n.style.height=o+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}l.current=t.scrollTop})})})]})});Y0.displayName=K0;var Z0="SelectGroup",[Q0,X0]=b0(Z0);Qt.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=HW();return He.jsx(Q0,{scope:n,id:i,children:He.jsx(vW.div,{role:"group","aria-labelledby":i,...r,ref:t})})}).displayName=Z0;var J0="SelectLabel";Qt.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=X0(J0,n);return He.jsx(vW.div,{id:i.id,...r,ref:t})}).displayName=J0;var e2="SelectItem",[t2,n2]=b0(e2),r2=Qt.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:o,...a}=e,s=E0(e2,n),l=z0(e2,n),c=s.value===r,[u,d]=Qt.useState(o??""),[h,f]=Qt.useState(!1),p=Ya(t,e=>{var t;return null==(t=l.itemRefCallback)?void 0:t.call(l,e,r,i)}),m=HW(),g=Qt.useRef("touch"),v=()=>{i||(s.onValueChange(r),s.onOpenChange(!1))};return He.jsx(t2,{scope:n,value:r,disabled:i,textId:m,isSelected:c,onItemTextChange:Qt.useCallback(e=>{d(t=>t||((null==e?void 0:e.textContent)??"").trim())},[]),children:He.jsx(g0.ItemSlot,{scope:n,value:r,disabled:i,textValue:u,children:He.jsx(vW.div,{role:"option","aria-labelledby":m,"data-highlighted":h?"":void 0,"aria-selected":c&&h,"data-state":c?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...a,ref:p,onFocus:pW(a.onFocus,()=>f(!0)),onBlur:pW(a.onBlur,()=>f(!1)),onClick:pW(a.onClick,()=>{"mouse"!==g.current&&v()}),onPointerUp:pW(a.onPointerUp,()=>{"mouse"===g.current&&v()}),onPointerDown:pW(a.onPointerDown,e=>{g.current=e.pointerType}),onPointerMove:pW(a.onPointerMove,e=>{var t;g.current=e.pointerType,i?null==(t=l.onItemLeave)||t.call(l):"mouse"===g.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:pW(a.onPointerLeave,e=>{var t;e.currentTarget===document.activeElement&&(null==(t=l.onItemLeave)||t.call(l))}),onKeyDown:pW(a.onKeyDown,e=>{var t;""!==(null==(t=l.searchRef)?void 0:t.current)&&" "===e.key||(p0.includes(e.key)&&v()," "===e.key&&e.preventDefault())})})})})});r2.displayName=e2;var i2="SelectItemText",o2=Qt.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,...o}=e,a=E0(i2,n),s=z0(i2,n),l=n2(i2,n),c=S0(i2,n),[u,d]=Qt.useState(null),h=Ya(t,e=>d(e),l.onItemTextChange,e=>{var t;return null==(t=s.itemTextRefCallback)?void 0:t.call(s,e,l.value,l.disabled)}),f=null==u?void 0:u.textContent,p=Qt.useMemo(()=>He.jsx("option",{value:l.value,disabled:l.disabled,children:f},l.value),[l.disabled,l.value,f]),{onNativeOptionAdd:m,onNativeOptionRemove:g}=c;return jW(()=>(m(p),()=>g(p)),[m,g,p]),He.jsxs(He.Fragment,{children:[He.jsx(vW.span,{id:l.textId,...o,ref:h}),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren&&!v2(a.value)?mo.createPortal(o.children,a.valueNode):null]})});o2.displayName=i2;var a2="SelectItemIndicator",s2=Qt.forwardRef((e,t)=>
1{const{__scopeSelect:n,...r}=e;return n2(a2,n).isSelected?He.jsx(vW.span,{"aria-hidden":!0,...r,ref:t}):null});s2.displayName=a2;var l2="SelectScrollUpButton",c2=Qt.forwardRef((e,t)=>{const n=z0(l2,e.__scopeSelect),r=q0(l2,e.__scopeSelect),[i,o]=Qt.useState(!1),a=Ya(t,r.onScrollButtonChange);return jW(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollTop>0;o(e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?He.jsx(h2,{...e,ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});c2.displayName=l2;var u2="SelectScrollDownButton",d2=Qt.forwardRef((e,t)=>{const n=z0(u2,e.__scopeSelect),r=q0(u2,e.__scopeSelect),[i,o]=Qt.useState(!1),a=Ya(t,r.onScrollButtonChange);return jW(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,n=Math.ceil(t.scrollTop)<e;o(n)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?He.jsx(h2,{...e,ref:a,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});d2.displayName=u2;var h2=Qt.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=e,o=z0("SelectScrollButton",n),a=Qt.useRef(null),s=v0(n),l=Qt.useCallback(()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)},[]);return Qt.useEffect(()=>()=>l(),[l]),jW(()=>{var e;const t=s().find(e=>e.ref.current===document.activeElement);null==(e=null==t?void 0:t.ref.current)||e.scrollIntoView({block:"nearest"})},[s]),He.jsx(vW.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:pW(i.onPointerDown,()=>{null===a.current&&(a.current=window.setInterval(r,50))}),onPointerMove:pW(i.onPointerMove,()=>{var e;null==(e=o.onItemLeave)||e.call(o),null===a.current&&(a.current=window.setInterval(r,50))}),onPointerLeave:pW(i.onPointerLeave,()=>{l()})})});Qt.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return He.jsx(vW.div,{"aria-hidden":!0,...r,ref:t})}).displayName="SelectSeparator";var f2="SelectArrow";Qt.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=C0(n);return"popper"===z0(f2,n).position?He.jsx(Hq,{...i,...r,ref:t}):null}).displayName=f2;var p2="SelectBubbleInput",m2=Qt.forwardRef(({__scopeSelect:e,...t},n)=>{const r=E0(p2,e),{value:i,onValueChange:o,required:a,disabled:s,name:l,autoComplete:c,form:u}=r,{nativeOptions:d,nativeSelectKey:h}=r,f=Qt.useRef(null),p=Ya(n,f),m=i??"",g=hQ(m),v=Array.from(d).some(e=>""===(e.props.value??""));return Qt.useEffect(()=>{const e=f.current;if(!e)return;const t=window.HTMLSelectElement.prototype,n=Object.getOwnPropertyDescriptor(t,"value").set;if(g!==m&&n){const t=new Event("change",{bubbles:!0});n.call(e,m),e.dispatchEvent(t)}},[g,m]),He.jsxs(vW.select,{"aria-hidden":!0,required:a,tabIndex:-1,name:l,autoComplete:c,disabled:s,form:u,onChange:e=>o(e.target.value),...t,style:{...JY,...t.style},ref:p,defaultValue:m,children:[v2(i)&&!v?He.jsx("option",{value:""}):null,Array.from(d)]},h)});function g2(e){return"function"==typeof e}function v2(e){return""===e||void 0===e}function y2(e){const t=bW(e),n=Qt.useRef(""),r=Qt.useRef(0),i=Qt.useCallback(e=>{const i=n.current+e;t(i),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(i)},[t]),o=Qt.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return Qt.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,o]}function b2(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let o=(a=e,s=Math.max(i,0),a.map((e,t)=>a[(s+t)%a.length]));var a,s;1===r.length&&(o=o.filter(e=>e!==n));const l=o.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}m2.displayName=p2;const C2=Qt.createContext({});function w2(e){const t=Qt.useRef(null);return null===t.current&&(t.current=e()),t.current}const E2="undefined"!=typeof window?Qt.useLayoutEffect:Qt.useEffect,k2=Qt.createContext(null);function S2(e,t){-1===e.indexOf(t)&&e.push(t)}function x2(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const T2=(e,t,n)=>n>t?t:n<e?e:n,M2={},A2=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),L2=e=>"object"==typeof e&&null!==e,P2=e=>/^0[^.\s]+$/u.test(e);function R2(e){let t;return()=>(void 0===t&&(t=e()),t)}const O2=e=>e,D2=(...e)=>e.reduce((e,t)=>
vendor: 2,808 bytes, line 1
1n=>t(e(n))),I2=(e,t,n)=>{const r=t-e;return r?(n-e)/r:1};class _2{constructor(){this.subscriptions=[]}add(e){return S2(this.subscriptions,e),()=>x2(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const F2=e=>1e3*e,$2=e=>e/1e3,N2=(e,t)=>t?e*(1e3/t):0,B2=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function j2(e,t,n,r){if(e===t&&n===r)return O2;return i=>0===i||1===i?i:B2(function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=B2(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(i,0,1,e,n),t,r)}const z2=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,V2=e=>t=>1-e(1-t),H2=j2(.33,1.53,.69,.99),U2=V2(H2),W2=z2(U2),G2=e=>e>=1?1:(e*=2)<1?.5*U2(e):.5*(2-Math.pow(2,-10*(e-1))),q2=e=>1-Math.sin(Math.acos(e)),K2=V2(q2),Y2=z2(q2),Z2=j2(.42,0,1,1),Q2=j2(0,0,.58,1),X2=j2(.42,0,.58,1),J2=e=>Array.isArray(e)&&"number"!=typeof e[0],e5=e=>Array.isArray(e)&&"number"==typeof e[0],t5={linear:O2,easeIn:Z2,easeInOut:X2,easeOut:Q2,circIn:q2,circInOut:Y2,circOut:K2,backIn:U2,backInOut:W2,backOut:H2,anticipate:G2},n5=e=>{if(e5(e)){e.length;const[t,n,r,i]=e;return j2(t,n,r,i)}return"string"==typeof e?t5[e]:e},r5=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function i5(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=r5.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function s(t){o.has(t)&&(l.schedule(t),e()),t(a)}const l={schedule:(e,i=!1,a=!1)=>{const s=a&&r?t:n;return i&&o.add(e),s.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(a=e,r)return void(i=!0);r=!0;const o=t;t=n,n=o,t.forEach(s),t.clear(),r=!1,i&&(i=!1,l.process(e))}};return l}(o),e),{}),{setup:s,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:h,render:f,postRender:p}=a,m=()=>{const o=M2.useManualTiming,a=o?i.timestamp:performance.now();n=!1,o||(i.delta=r?1e3/60:Math.max(Math.min(a-i.timestamp,40),1)),i.timestamp=a,i.isProcessing=!0,s.process(i),l.process(i),c.process(i),u.process(i),d.process(i),h.process(i),f.process(i),p.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))};return{schedule:r5.reduce((t,o)=>{const s=a[o];return t[o]=(t,o=!1,a=!1)=>(n||(n=!0,r=!0,i.isProcessing||e(m)),s.schedule(t,o,a)),t},{}),cancel:e=>{for(let t=0;t<r5.length;t++)a[r5[t]].cancel(e)},state:i,steps:a}}const{schedule:o5,cancel:a5,state:s5,steps:l5}=i5("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:O2,!0);let c5;function u5(){c5=void 0}const d5={now:()=>(void 0===c5&&d5.set(s5.isProcessing||M2.useManualTiming?s5.timestamp:performance.now()),c5),set
1:e=>{c5=e,queueMicrotask(u5)}},h5=e=>t=>"string"==typeof t&&t.startsWith(e),f5=h5("--"),p5=h5("var(--"),m5=e=>!!p5(e)&&g5.test(e.split("/*")[0].trim()),g5=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function v5(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}const y5={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},b5={...y5,transform:e=>T2(0,1,e)},C5={...y5,default:1},w5=e=>Math.round(1e5*e)/1e5,E5=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,k5=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,S5=(e,t)=>n=>Boolean("string"==typeof n&&k5.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),x5=(e,t,n)=>r=>{if("string"!=typeof r)return r;const[i,o,a,s]=r.match(E5);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},T5={...y5,transform:e=>Math.round((e=>T2(0,255,e))(e))},M5={test:S5("rgb","red"),parse:x5("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+T5.transform(e)+", "+T5.transform(t)+", "+T5.transform(n)+", "+w5(b5.transform(r))+")"},A5={test:S5("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:M5.transform},L5=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),P5=L5("deg"),R5=L5("%"),O5=L5("px"),D5=L5("vh"),I5=L5("vw"),_5=(()=>({...R5,parse:e=>R5.parse(e)/100,transform:e=>R5.transform(100*e)}))(),F5={test:S5("hsl","hue"),parse:x5("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+R5.transform(w5(t))+", "+R5.transform(w5(n))+", "+w5(b5.transform(r))+")"},$5={test:e=>M5.test(e)||A5.test(e)||F5.test(e),parse:e=>M5.test(e)?M5.parse(e):F5.test(e)?F5.parse(e):A5.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?M5.transform(e):F5.transform(e),getAnimatableNone:e=>{const t=$5.parse(e);return t.alpha=0,$5.transform(t)}},N5=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,B5="number",j5="color",z5=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function V5(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(z5,e=>($5.test(e)?(r.color.push(o),i.push(j5),n.push($5.parse(e))):e.startsWith("var(")?(r.var.push(o),i.push("var"),n.push(e)):(r.number.push(o),i.push(B5),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:a,indexes:r,types:i}}function H5({split:e,types:t}){const n=e.length;return r=>{let i="";for(let o=0;o<n;o++)if(i+=e[o],void 0!==r[o]){const e=t[o];i+=e===B5?w5(r[o]):e===j5?$5.transform(r[o]):r[o]}return i}}const U5={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null==(t=e.match(E5))?void 0:t.length)||0)+((null==(n=e.match(N5))?void 0:n.length)||0)>0},parse:function(e){return V5(e).values},createTransformer:function(e){return H5(V5(e))},getAnimatableNone:function(e){const t=V5(e);return H5(t)(t.values.map((e,n)=>((e,t)=>{return"number"==typeof e?(null==t?void 0:t.trim().endsWith("/"))?e:0:"number"==typeof(n=e)?0:$5.test(n)?$5.getAnimatableNone(n):n;var n})(e,t.split[n])))}};function W5(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function G5(e,t){return n=>n>0?t:e}const q5=(e,t,n)=>e+(t-e)*n,K5=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Y5=[A5,M5,F5];function Z5(e){const t=(n=e,Y5.find(e=>e.test(n)));var n;if(!Boolean(t))return!1;let r=t.parse(e);return t===F5&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=W5(s,r,e+1/3),o=W5(s,r,e),a=W5(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const Q5=(e,t)=>{const n=Z5(e),r=Z5(t);if(!n||!r)return G5(e,t);const i={...n};return e=>(i.red=K5(n.red,r.red,e),i.green=K5(n.green,r.green,e),i.blue=K5(n.blue,r.blue,e),i.alpha=q5(n.alpha,r.alpha,e),M5.transform(i))},X5=new Set(["none","hidden"]);function J5(e,t){return n=>q5(e,t,n)}
vendor: 8,798 bytes, line 1
1function e3(e){return"number"==typeof e?J5:"string"==typeof e?m5(e)?G5:$5.test(e)?Q5:r3:Array.isArray(e)?t3:"object"==typeof e?$5.test(e)?Q5:n3:G5}function t3(e,t){const n=[...e],r=n.length,i=e.map((e,n)=>e3(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function n3(e,t){const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=e3(e[i])(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const r3=(e,t)=>{const n=U5.createTransformer(t),r=V5(e),i=V5(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?X5.has(e)&&!i.values.length||X5.has(t)&&!r.values.length?function(e,t){return X5.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):D2(t3(function(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],a=e.indexes[o][r[o]],s=e.values[a]??0;n[i]=s,r[o]++}return n}(r,i),i.values),n):G5(e,t)};function i3(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?q5(e,t,n):e3(e)(e,t)}const o3=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>o5.update(t,e),stop:()=>a5(t),now:()=>s5.isProcessing?s5.timestamp:d5.now()}},a3=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o<i;o++)r+=Math.round(1e4*e(o/(i-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},s3=2e4;function l3(e){let t=0,n=e.next(t);for(;!n.done&&t<s3;)t+=50,n=e.next(t);return t>=s3?1/0:t}const c3=.01,u3=2,d3=.005,h3=.5;function f3(e,t){return e*Math.sqrt(1-t*t)}const p3=["duration","bounce"],m3=["stiffness","damping","mass"];function g3(e,t){return t.some(t=>void 0!==e[t])}function v3(e=.3,t=.3){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:o},{stiffness:l,damping:c,mass:u,duration:d,velocity:h,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!g3(e,m3)&&g3(e,p3))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),i=r*r,o=2*T2(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:1,stiffness:i,damping:o}}else{const n=function({duration:e=800,bounce:t=.3,velocity:n=0,mass:r=1}){let i,o,a=1-t;a=T2(.05,1,a),e=T2(.01,10,$2(e)),a<1?(i=t=>{const r=t*a,i=r*e;return.001-(r-n)/f3(t,a)*Math.exp(-i)},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=f3(Math.pow(t,2),a);return(.001-i(t)>0?-1:1)*((o-s)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let i=1;i<12;i++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=F2(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-$2(n.velocity||0)}),p=h||0,m=c/(2*Math.sqrt(l*u)),g=a-o,v=$2(Math.sqrt(l/u)),y=Math.abs(g)<5;let b,C,w,E,k,S;if(r||(r=y?c3:u3),i||(i=y?d3:h3),m<1)w=f3(v,m),E=(p+m*v*g)/w,b=e=>{const t=Math.exp(-m*v*e);return a-t*(E*Math.sin(w*e)+g*Math.cos(w*e))},k=m*v*E+g*w,S=m*v*g-E*w,C=e=>Math.exp(-m*v*e)*(k*Math.sin(w*e)+S*Math.cos(w*e));else if(1===m){b=e=>a-Math.exp(-v*e)*(g+(p+v*g)*e);const e=p+v*g;C=t=>Math.exp(-v*t)*(v*e*t-p)}else{const e=v*Math.sqrt(m*m-1);b=t=>{const n=Math.exp(-m*v*t),r=Math.min(e*t,300);return a-n*((p+m*v*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};const t=(p+m*v*g)/e,n=m*v*t-g*e,r=m*v*g-t*e;C=t=>{const i=Math.exp(-m*v*t),o=Math.min(e*t,300);return i*(n*Math.sinh(o)+r*Math.cosh(o))}}const x={calculatedDuration:f&&d||null,velocity:e=>F2(C(e)),next:e=>{if(!f&&m<1){const t=Math.exp(-m*v*e),n=Math.sin(w*e),o=Math.cos(w*e),l=a-t*(E*n+g*o),c=F2(t*(k*n+S*o));return s.done=Math.abs(c)<=r&&Math.abs(a-l)<=i,s.value=s.done?a:l,s}const t=b(e);if(f)s.done=e>=d;else{const n=F2(C(e));s.done=Math.abs(n)<=r&&Math.abs(a-t)<=i}return s.value=s.done?a:t,s},toString:()=>{const e=Math.min(l3(x),s3),t=a3(t=>x.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return x}function y3(e,t,n){const r=Math.max(t-5,0);return N2(n-e(r),t-r)}function b3({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],h={done:!1,value:d},f=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let p=n*t;const m=d+p,g=void 0===a?m:a(m);g!==m&&(p=g-d);const v=e=>-p*Math.exp(-e/r),y=e=>g+v(e),b=e=>{const t=v(e),n=y(e);h.done=Math.abs(t)<=c,h.value=h.done?g:n};let C,w;const E=e=>{var t;t=h.value,(void 0!==s&&t<s||void 0!==l&&t>l)&&(C=e,w=v3({keyframes:[h.value,f(h.value)],velocity:y3(y,e,h.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return E(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==C||(t=!0,b(e),E(e)),void 0!==C&&e>=C?w.next(e-C):(!t&&b(e),h)}}}function C3(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(t.length,1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=function(e,t,n){const r=[],i=n||M2.mix||i3,o=e.length-1;for(let a=0;a<o;a++){let n=i(e[a],e[a+1]);if(t){const e=Array.isArray(t)?t[a]||O2:t;n=D2(e,n)}r.push(n)}return r}(t,r,i),l=s.length,c=n=>{if(a&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const i=I2(e[r],e[r+1],n);return s[r](i)};return n?t=>c(T2(e[0],e[o-1],t)):c}function w3({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=J2(r)?r.map(n5):n5(r),o={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:function(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=I2(0,t,r);e.push(q5(n,1,i))}}(t,e.length-1),t}(t),e),s=C3(a,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||X2).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}v3.applyToOptions=e=>{const t=function(e,t=100){const n=v3({...e,keyframes:[0,t]}),r=Math.min(l3(n),s3);return{type:"keyframes",ease:e=>n.next(r*e).value/t,duration:$2(r)}}(e,100);return e.ease=t.ease,e.duration=F2(t.duration),e.type="keyframes",e};const E3=e=>null!==e;function k3(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(E3),a=i<0||t&&"loop"!==n&&t%2==1?0:o.length-1;return a&&void 0!==r?r:o[a]}const S3={decay:b3,inertia:b3,tween:w3,keyframes:w3,spring:v3};function x3(e){"string"==typeof e.type&&(e.type=S3[e.type])}class T3{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const M3=e=>e/100;class A3 extends T3{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var e,t;const{motionValue:n}=this.options;n&&n.updatedAt!==d5.now()&&this.tick(d5.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),null==(t=(e=this.options).onStop)||t.call(e))},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;x3(e);const{type:t=w3,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=e;let{keyframes:a}=e;const s=t||w3;s!==w3&&"number"!=typeof a[0]&&(this.mixKeyframes=D2(M3,i3(a[0],a[1])),a=[0,100]);const l=s({...e,keyframes:a});"mirror"===i&&(this.mirroredGenerator=s({...e,keyframes:[...a].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=l3(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:s}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:c,repeat:u,repeatType:d,repeatDelay:h,type:f,onUpdate:p,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let y,b=this.currentTime,C=n;if(u){const e=Math.min(this.currentTime,r)/a;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,u+1),Boolean(t%2)&&("reverse"===d?(n=1-n,h&&(n-=h
1/a)):"mirror"===d&&(C=o)),b=T2(0,1,n)*a}v?(this.delayState.value=c[0],y=this.delayState):y=C.next(b),i&&!v&&(y.value=i(y.value));let{done:w}=y;v||null===s||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return E&&f!==b3&&(y.value=k3(c,this.options,m,this.speed)),p&&p(y.value),E&&this.finish(),y}then(e,t){return this.finished.then(e,t)}get duration(){return $2(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+$2(e)}get time(){return $2(this.currentTime)}set time(e){e=F2(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){const e=this.currentTime;return e<=0?this.options.velocity||0:this.generator.velocity?this.generator.velocity(e):y3(e=>this.generator.next(e).value,e,this.generator.next(e).value)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(d5.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=$2(this.currentTime))}play(){var e,t;if(this.isStopped)return;const{driver:n=o3,startTime:r}=this.options;this.driver||(this.driver=n(e=>this.tick(e))),null==(t=(e=this.options).onPlay)||t.call(e);const i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=r??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(d5.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,t;this.notifyFinished(),this.teardown(),this.state="finished",null==(t=(e=this.options).onComplete)||t.call(e)}cancel(){var e,t;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),null==(t=(e=this.options).onCancel)||t.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var t;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),null==(t=this.driver)||t.stop(),e.observe(this)}}const L3=e=>180*e/Math.PI,P3=e=>{const t=L3(Math.atan2(e[1],e[0]));return O3(t)},R3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:P3,rotateZ:P3,skewX:e=>L3(Math.atan(e[1])),skewY:e=>L3(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},O3=e=>((e%=360)<0&&(e+=360),e),D3=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),I3=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),_3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:D3,scaleY:I3,scale:e=>(D3(e)+I3(e))/2,rotateX:e=>O3(L3(Math.atan2(e[6],e[5]))),rotateY:e=>O3(L3(Math.atan2(-e[2],e[0]))),rotateZ:P3,rotate:P3,skewX:e=>L3(Math.atan(e[4])),skewY:e=>L3(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function F3(e){return e.includes("scale")?1:0}function $3(e,t){if(!e||"none"===e)return F3(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=_3,i=n;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=R3,i=t}if(!i)return F3(t);const o=r[t],a=i[1].split(",").map(N3);return"function"==typeof o?o(a):a[o]}function N3(e){return parseFloat(e.trim())}const B3=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],j3=(()=>new Set([...B3,"pathRotation"]))(),z3=e=>e===y5||e===O5,V3=new Set(["x","y","z"]),H3=B3.filter(e=>!V3.has(e)),U3={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const i=e.max-e.min;return"border-box"===r?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const i=e.max-e.min;return"border-box"===r?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>$3(t,"x"),y:(e,{transform:t})=>$3(t,"y")};U3.translateX=U3.x,U3.translateY=U3.y;const W3=new Set;let G3=!1,q3=!1,K3=!1;function Y3(){if(q3){const e=Array.from(W3).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;
1t.forEach(e=>{const t=function(e){const t=[];return H3.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=n.get(e);t&&t.forEach(([t,n])=>{var r;null==(r=e.getValue(t))||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}q3=!1,G3=!1,W3.forEach(e=>e.complete(K3)),W3.clear()}function Z3(){W3.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(q3=!0)})}class Q3{constructor(e,t,n,r,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(W3.add(this),G3||(G3=!0,o5.read(Z3),o5.resolveKeyframes(Y3))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){const i=null==r?void 0:r.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){const r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),W3.delete(this)}cancel(){"scheduled"===this.state&&(W3.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function X3(e,t,n){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,n):e.style[t]=n}const J3={};function e4(e,t){const n=R2(e);return()=>J3[t]??n()}const t4=e4(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),n4=e4(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),r4=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,i4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:r4([0,.65,.55,1]),circOut:r4([.55,0,1,.45]),backIn:r4([.31,.01,.66,-.59]),backOut:r4([.33,1.53,.69,.99])};function o4(e,t){return e?"function"==typeof e?n4()?a3(e,t):"ease-out":e5(e)?r4(e):Array.isArray(e)?e.map(e=>o4(e,t)||i4.easeOut):i4[e]:void 0}function a4(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const d=o4(s,i);Array.isArray(d)&&(u.easing=d);const h={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"};return c&&(h.pseudoElement=c),e.animate(u,h)}function s4(e){return"function"==typeof e&&"applyToOptions"in e}class l4 extends T3{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:a,onComplete:s}=e;this.isPseudoElement=Boolean(i),this.allowFlatten=o,this.options=e,e.type;const l=function({type:e,...t}){return s4(e)&&n4()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=a4(t,n,r,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const e=k3(r,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(e),X3(t,n,e),this.animation.cancel()}null==s||s(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,t;null==(t=(e=this.animation).finish)||t.call(e)}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,t,n;const r=null==(e=this.options)?void 0:e.element;!this.isPseudoElement&&(null==r?void 0:r.isConnected)&&(null==(n=(t=this.animation).commitStyles)||n.call(t))}get duration(){var e,t;const n=(null==(t=null==(e=this.animation.effect)?void 0:e.getComputedTiming)?void 0:t.call(e).duration)||0;return $2(Number(n))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+$2(e)}get time(){return $2(Number(this.animation.currentTime)||0)}set time(e){const t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=F2(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){var i;return this.allowFlatten&&(null==(i=this.animation.effect)||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&t4()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),O2):r(this)}}const c4={anticipate:G2,backInOut:W2,circInOut:Y2};class u4 extends l4{constructor(e){var t;"string"==typeof(t=e).ease&&t.ease in c4&&(t.ease=c4[t.ease]),x3(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const a=new A3({...o,autoplay:!1}),s=Math.max(10,d5.now()-this.startTime),l=T2(0,10,s-10),c=a.sample(s).value,{name:u}=this.options;i&&u&&X3(i,u,c),t.setWithVelocity(a.sample(Math.max(0,s-l)).value,c,l),a.stop()}}const d4=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!U5.test(e)&&"0"!==e||e.startsWith("url(")));function h4(e){e.duration=0,e.type="keyframes"}const f4=new Set(["opacity","clipPath","filter","transform"]),p4=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,m4=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),g4=R2(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class v4 extends T3{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:
1o="loop",keyframes:a,name:s,motionValue:l,element:c,...u}){var d;super(),this.stop=()=>{var e,t;this._animation&&(this._animation.stop(),null==(e=this.stopTimeline)||e.call(this)),null==(t=this.keyframeResolver)||t.cancel()},this.createdAt=d5.now();const h={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,name:s,motionValue:l,element:c,...u},f=(null==c?void 0:c.KeyframeResolver)||Q3;this.keyframeResolver=new f(a,(e,t,n)=>this.onKeyframesResolved(e,t,h,!n),s,l,c),null==(d=this.keyframeResolver)||d.scheduleResolve()}onKeyframesResolved(e,t,n,r){var i,o;this.keyframeResolver=void 0;const{name:a,type:s,velocity:l,delay:c,isHandoff:u,onUpdate:d}=n;this.resolvedAt=d5.now();let h=!0;(function(e,t,n,r){const i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;const o=e[e.length-1],a=d4(i,t),s=d4(o,t);return!(!a||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||s4(n))&&r)})(e,a,s,l)||(h=!1,!M2.instantAnimations&&c||null==d||d(k3(e,n,t)),e[0]=e[e.length-1],h4(n),n.repeat=0);const f={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},p=h&&!u&&function(e){var t;const{motionValue:n,name:r,repeatDelay:i,repeatType:o,damping:a,type:s,keyframes:l}=e;if(!((null==(t=null==n?void 0:n.owner)?void 0:t.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=n.owner.getProps();return g4()&&r&&(f4.has(r)||m4.has(r)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&p4.test(e[t]))return!0;return!1}(l))&&("transform"!==r||!u)&&!c&&!i&&"mirror"!==o&&0!==a&&"inertia"!==s}(f),m=null==(o=null==(i=f.motionValue)?void 0:i.owner)?void 0:o.current;let g;if(p)try{g=new u4({...f,element:m})}catch{g=new A3(f)}else g=new A3(f);g.finished.then(()=>{this.notifyFinished()}).catch(O2),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||(null==(e=this.keyframeResolver)||e.resume(),K3=!0,Z3(),Y3(),K3=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),null==(e=this.keyframeResolver)||e.cancel()}}function y4(e,t,n,r=0,i=1){const o=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),a=e.size,s=(a-1)*r;return"function"==typeof n?n(o,a):1===i?o*r:s-o*r}const b4={current:void 0};class C4{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{var t;const n=d5.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(null==(t=this.events.change)||t.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=d5.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new _2);const n=this.events[e].add(t);return"change"===e?()=>{n(),o5.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}
1setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;null==(e=this.events.change)||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return b4.current&&b4.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=d5.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return N2(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,t;null==(e=this.dependents)||e.clear(),null==(t=this.events.destroy)||t.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function w4(e,t){return new C4(e,t)}function E4(e,t){if((null==e?void 0:e.inherit)&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function k4(e,t){const n=(null==e?void 0:e[t])??(null==e?void 0:e.default)??e;return n!==e?E4(n,e):n}const S4={type:"spring",stiffness:500,damping:25,restSpeed:10},x4={type:"keyframes",duration:.8},T4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},M4=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),A4=(e,t,n,r={},i,o)=>a=>{const s=k4(r,e)||{},l=s.delay||r.delay||0;let{elapsed:c=0}=r;c-=F2(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:i};(function(e){for(const t in e)if(!M4.has(t))return!0;return!1})(s)||Object.assign(u,((e,{keyframes:t})=>t.length>2?x4:j3.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:S4:T4)(e,u)),u.duration&&(u.duration=F2(u.duration)),u.repeatDelay&&(u.repeatDelay=F2(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(h4(u),0===u.delay&&(d=!0)),(M2.instantAnimations||M2.skipAnimations||(null==i?void 0:i.shouldSkipAnimations)||s.skipAnimations)&&(d=!0,h4(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!o&&void 0!==t.get()){const e=k3(u.keyframes,s);if(void 0!==e)return void o5.update(()=>{u.onUpdate(e),u.onComplete()})}return s.isSync?new A3(u):new v4(u)},L4=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function P4(e,t,n=1){const[r,i]=function(e){const t=L4.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const e=o.trim();return A2(e)?parseFloat(e):e}return m5(i)?P4(i,t,n+1):i}function R4(e){const t=[{},{}];return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function O4(e,t,n,r){if("function"==typeof t){const[i,o]=R4(r);t=t(void 0!==n?n:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[i,o]=R4(r);t=t(void 0!==n?n:e.custom,i,o)}return t}function D4(e,t,n){const r=e.getProps();return O4(r,t,void 0!==n?n:r.custom,e)}const I4=new Set(["width","height","top","left","right","bottom",...B3]),_4=e=>Array.isArray(e);function F4(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,w4(n))}function $4(e){return _4(e)?e[e.length-1]||0:e}const N4=e=>Boolean(e&&e.getVelocity);function B4(e,t){const n=e.getValue("willChange");if(r=n,Boolean(N4(r)&&r.add))return n.add(t);if(!n&&M2.WillChange){const n=new M2.WillChange("auto");e.addValue("willChange",n),n.add(t)}var r}function j4(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const z4="data-"+j4("framerAppearId");function V4(e){return e.props[z4]}function H4({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function U4(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:a,...s}=t;const l=e.getDefaultTransition();o=o?E4(o,l):l;const c=null==o?void 0:o.reduceMotion,u=null==o?void 0:o.skipAnimations;r&&(o=r);const d=[],h=i&&e.animationState&&e.animationState.getState()[i],f=null==o?void 0:o.path;f&&f.animateVisualElement(e,s,o,n,d);for(const p in s){const t=e.getValue(p,e.latestValues[p]??null),r=s[p];if(void 0===r||h&&H4(h,p))continue;const i={delay:n,...k4(o||{},p)};u&&(i.skipAnimations=!0);const a=t.get();if(void 0!==a&&!t.isAnimating()&&!Array.isArray(r)&&r===a&&!i.velocity){o5.update(()=>t.set(r));continue}let l=!1;if(window.MotionHandoffAnimation){const t=V4(e);
1if(t){const e=window.MotionHandoffAnimation(t,p,o5);null!==e&&(i.startTime=e,l=!0)}}B4(e,p);const f=c??e.shouldReduceMotion;t.start(A4(p,t,r,f&&I4.has(p)?{type:!1}:i,e,l));const m=t.animation;m&&d.push(m)}if(a){const t=()=>o5.update(()=>{a&&function(e,t){const n=D4(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const a in o)F4(e,a,$4(o[a]))}(e,a)});d.length?Promise.all(d).then(t):t()}return d}function W4(e,t,n={}){var r;const i=D4(e,t,"exit"===n.type?null==(r=e.presenceContext)?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const a=i?()=>Promise.all(U4(e,i,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,i=0,o=1,a){const s=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),s.push(W4(l,t,{...a,delay:n+("function"==typeof r?0:r)+y4(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}(e,t,r,i,a,s,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then(()=>t())}return Promise.all([a(),s(n.delay)])}const G4=e=>t=>t.test(e),q4=[y5,O5,R5,P5,I5,D5,{test:e=>"auto"===e,parse:e=>e}],K4=e=>q4.find(G4(e));function Y4(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||P2(e)}const Z4=new Set(["brightness","contrast","saturate","opacity"]);function Q4(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(E5)||[];if(!r)return e;const i=n.replace(r,"");let o=Z4.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const X4=/\b([a-z-]*)\(.*?\)/gu,J4={...U5,getAnimatableNone:e=>{const t=e.match(X4);return t?t.map(Q4).join(" "):e}},e9={...U5,getAnimatableNone:e=>{const t=U5.parse(e);return U5.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},t9={...y5,transform:Math.round},n9={borderWidth:O5,borderTopWidth:O5,borderRightWidth:O5,borderBottomWidth:O5,borderLeftWidth:O5,borderRadius:O5,borderTopLeftRadius:O5,borderTopRightRadius:O5,borderBottomRightRadius:O5,borderBottomLeftRadius:O5,width:O5,maxWidth:O5,height:O5,maxHeight:O5,top:O5,right:O5,bottom:O5,left:O5,inset:O5,insetBlock:O5,insetBlockStart:O5,insetBlockEnd:O5,insetInline:O5,insetInlineStart:O5,insetInlineEnd:O5,padding:O5,paddingTop:O5,paddingRight:O5,paddingBottom:O5,paddingLeft:O5,paddingBlock:O5,paddingBlockStart:O5,paddingBlockEnd:O5,paddingInline:O5,paddingInlineStart:O5,paddingInlineEnd:O5,margin:O5,marginTop:O5,marginRight:O5,marginBottom:O5,marginLeft:O5,marginBlock:O5,marginBlockStart:O5,marginBlockEnd:O5,marginInline:O5,marginInlineStart:O5,marginInlineEnd:O5,fontSize:O5,backgroundPositionX:O5,backgroundPositionY:O5,rotate:P5,pathRotation:P5,rotateX:P5,rotateY:P5,rotateZ:P5,scale:C5,scaleX:C5,scaleY:C5,scaleZ:C5,skew:P5,skewX:P5,skewY:P5,distance:O5,translateX:O5,translateY:O5,translateZ:O5,x:O5,y:O5,z:O5,perspective:O5,transformPerspective:O5,opacity:b5,originX:_5,originY:_5,originZ:O5,zIndex:t9,fillOpacity:b5,strokeOpacity:b5,numOctaves:t9},r9={...n9,color:$5,backgroundColor:$5,outlineColor:$5,fill:$5,stroke:$5,borderColor:$5,borderTopColor:$5,borderRightColor:$5,borderBottomColor:$5,borderLeftColor:$5,filter:J4,WebkitFilter:J4,mask:e9,WebkitMask:e9},i9=e=>r9[e],o9=new Set([J4,e9]);function a9(e,t){let n=i9(e);return o9.has(n)||(n=U5),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const s9=new Set(["auto","none","0"]);class l9 extends Q3{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let s=0;s<e.length;s++){let n=e[s];if("string"==typeof n&&(n=n.trim(),m5(n))){const r=P4(n,t.current);void 0!==r&&(e[s]=r),s===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!I4.has(n)||2!==e.length)return;const[r,i]=e,o=K4(r),a=K4(i);if(v5(r)!==v5(i)&&U3[n])this.needsMeasurement=!0;else if(o!==a)if(z3(o)&&z3(a))for(let s=0;s<e.length;s++){const t=e[s];"string"==typeof t&&(e[s]=parseFloat(t))}else U3[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let r=0;r<e.length;r++)(null===e[r]||Y4(e[r]))&&n.push(r);n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){const t=e[i];"string"==typeof t&&!s9.has(t)&&V5(t).values.length&&(r=e[i]),i++}if(r&&n)for(const o of t)e[o]=a9(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=U3[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=r.length-1,a=r[o];r[o]=U3[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null==(e=this.removedTransforms)?void 0:e.length)&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}function c9(e,t,n){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document;const r=(null==n?void 0:n[e])??t.querySelectorAll(e);return r?Array.from(r):[]}return Array.from(e).filter(e=>null!=e)}const u9=(e,t)=>t&&"number"==typeof e?t.transform(e):e;function d9(e){return L2(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:h9}=i5(queueMicrotask,!1),f9={x:!1,y:!1};function p9(){return f9.x||f9.y}function m9(e,t){const n=c9(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}const g9=(e,t)=>!!t&&(e===t||g9(e,t.parentElement)),v9=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,y9=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),b9=new Set(["INPUT","SELECT","TEXTAREA"]),C9=new WeakSet;function w9(e){return t=>{"Enter"===t.key&&e(t)}}function E9(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function k9(e){return v9(e)&&!p9()}const S9=new WeakSet;function x9(e){return L2(e)&&"ownerSVGElement"in e}const T9=new WeakMap;let M9;
1const A9=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:x9(r)&&"getBBox"in r?r.getBBox()[t]:r[n],L9=A9("inline","width","offsetWidth"),P9=A9("block","height","offsetHeight");function R9({target:e,borderBoxSize:t}){var n;null==(n=T9.get(e))||n.forEach(n=>{n(e,{get width(){return L9(e,t)},get height(){return P9(e,t)}})})}function O9(e){e.forEach(R9)}const D9=new Set;let I9;function _9(e,t){return"function"==typeof e?(n=e,D9.add(n),I9||(I9=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};D9.forEach(t=>t(e))},window.addEventListener("resize",I9)),()=>{D9.delete(n),D9.size||"function"!=typeof I9||(window.removeEventListener("resize",I9),I9=void 0)}):function(e,t){M9||"undefined"!=typeof ResizeObserver&&(M9=new ResizeObserver(O9));const n=c9(e);return n.forEach(e=>{let n=T9.get(e);n||(n=new Set,T9.set(e,n)),n.add(t),null==M9||M9.observe(e)}),()=>{n.forEach(e=>{const n=T9.get(e);null==n||n.delete(t),(null==n?void 0:n.size)||null==M9||M9.unobserve(e)})}}(e,t);var n}function F9(e,t){return t?e+t:e}function $9(e){return"number"==typeof e?e:parseFloat(e)}const N9=[...q4,$5,U5],B9=()=>({x:{min:0,max:0},y:{min:0,max:0}}),j9=new WeakMap;function z9(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function V9(e){return"string"==typeof e||Array.isArray(e)}const H9=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],U9=["initial",...H9];function W9(e){return z9(e.animate)||U9.some(t=>V9(e[t]))}function G9(e){return Boolean(W9(e)||e.variants)}const q9={current:null},K9={current:!1},Y9="undefined"!=typeof window,Z9=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Q9={};function X9(e){Q9=e}class J9{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:o,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Q3,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=d5.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,o5.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=W9(t),this.isVariantNode=G9(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const h in d){const e=d[h];void 0!==l[h]&&N4(e)&&e.set(l[h])}}mount(e){var t,n;if(this.hasBeenMounted)for(const r in this.initialValues)null==(t=this.values.get(r))||t.jump(this.initialValues[r]),this.latestValues[r]=this.initialValues[r];this.current=e,j9.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(K9.current||function(){if(K9.current=!0,Y9)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>q9.current=e.matches;e.addEventListener("change",t),t()}else q9.current=!1}(),this.shouldReduceMotion=q9.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,null==(n=this.parent)||n.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var e;this.projection&&this.projection.unmount(),a5(this.notifyUpdate),a5(this.render),this.valueSubscriptions.forEach(e
vendor: 6,806 bytes, line 1
1=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null==(e=this.parent)||e.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&f4.has(e)&&this.current instanceof HTMLElement){const{factory:n,keyframes:r,times:i,ease:o,duration:a}=t.accelerate,s=new l4({element:this.current,name:e,keyframes:r,times:i,ease:o,duration:F2(a)}),l=n(s);return void this.valueSubscriptions.set(e,()=>{l(),s.cancel()})}const n=j3.has(e);n&&this.onBindTransform&&this.onBindTransform();const r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&o5.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in Q9){const t=Q9[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;n<Z9.length;n++){const t=Z9[n];this.propEventSubscriptions[t]&&(this.propEventSubscriptions[t](),delete this.propEventSubscriptions[t]);const r=e["on"+t];r&&(this.propEventSubscriptions[t]=this.on(t,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const i=t[r],o=n[r];if(N4(i))e.addValue(r,i);else if(N4(o))e.addValue(r,w4(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{const t=e.getStaticValue(r);e.addValue(r,w4(void 0!==t?t:i,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=w4(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var r;return null!=n&&("string"==typeof n&&(A2(n)||P2(n))?n=parseFloat(n):(r=n,!N9.find(G4(r))&&U5.test(t)&&(n=a9(e,t))),this.setBaseTarget(e,N4(n)?n.get():n)),N4(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let r;if("string"==typeof n||"object"==typeof n){const i=O4(this.props,n,null==(t=this.presenceContext)?void 0:t.custom);i&&(r=i[e])}if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||N4(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new _2),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){h9.render(this.render)}}class e7 extends J9{constructor(){super(...arguments),this.KeyframeResolver=l9}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){const n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;N4(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class t7{constructor(e){this.isMounted=!1,this.node=e}update(){}}function n7({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function r7(e){return void 0===e||1===e}function i7({scale:e,scaleX:t,scaleY:n}){return!r7(e)||!r7(t)||!r7(n)}function o7(e){return i7(e)||a7(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function a7(e){return s7(e.x)||s7(e.y)}function s7(e){return e&&"0%"!==e}function l7(e,t,n){return n+t*(e-n)}function c7(e,t,n,r,i){return void 0!==i&&(e=l7(e,i,r)),l7(e,n,r)+t}function u7(e,t=0,n=1,r,i){e.min=c7(e.min,t,n,r,i),e.max=c7(e.max,t,n,r,i)}function d7(e,{x:t,y:n}){u7(e.x,t.translate,t.scale,t.originPoint),u7(e.y,n.translate,n.scale,n.originPoint)}const h7=.999999999999,f7=1.0000000000001;function p7(e,t){e.min+=t,e.max+=t}function m7(e,t,n,r,i=.5){u7(e,t,n,q5(e.min,e.max,i),r)}function g7(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function v7(e,t,n){const r=n??e;m7(e.x,g7(t.x,r.x),t.scaleX,t.scale,t.originX),m7(e.y,g7(t.y,r.y),t.scaleY,t.scale,t.originY)}function y7(e,t){return n7(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const b7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},C7=B3.length;
1function w7(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let a=!1,s=!1;for(const l in t){const e=t[l];if(j3.has(l))a=!0;else if(f5(l))i[l]=e;else{const t=u9(e,n9[l]);l.startsWith("origin")?(s=!0,o[l]=t):r[l]=t}}if(t.transform||(a||n?r.transform=function(e,t,n){let r="",i=!0;for(let a=0;a<C7;a++){const o=B3[a],s=e[o];if(void 0===s)continue;let l=!0;if("number"==typeof s)l=s===(o.startsWith("scale")?1:0);else{const e=parseFloat(s);l=o.startsWith("scale")?1===e:0===e}if(!l||n){const e=u9(s,n9[o]);l||(i=!1,r+=`${b7[o]||o}(${e}) `),n&&(t[o]=e)}}const o=e.pathRotation;return o&&(i=!1,r+=`rotate(${u9(o,n9.pathRotation)}) `),r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:e="50%",originY:t="50%",originZ:n=0}=o;r.transformOrigin=`${e} ${t} ${n}`}}function E7(e,{style:t,vars:n},r,i){const o=e.style;let a;for(a in t)o[a]=t[a];for(a in null==i||i.applyProjectionStyles(o,r),n)o.setProperty(a,n[a])}function k7(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const S7={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!O5.test(e))return e;e=parseFloat(e)}return`${k7(e,t.target.x)}% ${k7(e,t.target.y)}%`}},x7={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=U5.parse(e);if(i.length>5)return r;const o=U5.createTransformer(e),a="number"!=typeof i[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=q5(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}},T7={borderRadius:{...S7,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:S7,borderTopRightRadius:S7,borderBottomLeftRadius:S7,borderBottomRightRadius:S7,boxShadow:x7};function M7(e,{layout:t,layoutId:n}){return j3.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!T7[e]||"opacity"===e)}function A7(e,t,n){var r;const i=e.style,o=null==t?void 0:t.style,a={};if(!i)return a;for(const s in i)(N4(i[s])||o&&N4(o[s])||M7(s,e)||void 0!==(null==(r=null==n?void 0:n.getValue(s))?void 0:r.liveStyle))&&(a[s]=i[s]);return a}class L7 extends e7{constructor(){super(...arguments),this.type="html",this.renderInstance=E7}readValueFromInstance(e,t){var n,r;if(j3.has(t))return(null==(n=this.projection)?void 0:n.isProjecting)?F3(t):((e,t)=>{const{transform:n="none"}=getComputedStyle(e);return $3(n,t)})(e,t);{const n=(r=e,window.getComputedStyle(r)),i=(f5(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return y7(e,t)}build(e,t,n){w7(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return A7(e,t,n)}}const P7={offset:"stroke-dashoffset",array:"stroke-dasharray"},R7={offset:"strokeDashoffset",array:"strokeDasharray"},O7=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function D7(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:a=0,...s},l,c,u){if(w7(e,s,c),l)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=(null==u?void 0:u.transformBox)??"fill-box",delete d.transformBox);for(const f of O7)void 0!==d[f]&&(h[f]=d[f],delete d[f]);void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==r&&(d.scale=r),void 0!==i&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?P7:R7;e[o.offset]=""+-r,e[o.array]=`${t} ${n}`}(d,i,o,a,!1)}const I7=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),_7=e=>"string"==typeof e&&"svg"===e.toLowerCase();function F7(e,t,n){const r=A7(e,t,n);for(const i in e)(N4(e[i])||N4(t[i]))&&(r[-1!==B3.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return r}class $7 extends e7{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=B9}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(j3.has(t)){const e=i9(t);return e&&e.default||0}return t=I7.has(t)?t:j4(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return F7(e,t,n)}
vendor: 4,582 bytes, line 1
1build(e,t,n){D7(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){!function(e,t,n,r){E7(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(I7.has(i)?i:j4(i),t.attrs[i])}(e,t,0,r)}mount(e){this.isSVGTag=_7(e.tagName),super.mount(e)}}const N7=U9.length;function B7(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&B7(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<N7;n++){const r=U9[n],i=e.props[r];(V9(i)||!1===i)&&(t[r]=i)}return t}function j7(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const z7=[...H9].reverse(),V7=H9.length;function H7(e){let t=function(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const i=t.map(t=>W4(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=W4(e,t,n);else{const i="function"==typeof t?D4(e,t,n.custom):t;r=Promise.all(U4(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}(e,t,n)))}(e),n=G7(),r=!0,i=!1;const o=t=>(n,r)=>{var i;const o=D4(e,r,"exit"===t?null==(i=e.presenceContext)?void 0:i.custom:void 0);if(o){const{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function a(a){const{props:s}=e,l=B7(e.parent)||{},c=[],u=new Set;let d={},h=1/0;for(let t=0;t<V7;t++){const f=z7[t],p=n[f],m=void 0!==s[f]?s[f]:l[f],g=V9(m),v=f===a?p.isActive:null;!1===v&&(h=t);let y=m===l[f]&&m!==s[f]&&g;if(y&&(r||i)&&e.manuallyAnimateOnMount&&(y=!1),p.protectedKeys={...d},!p.isActive&&null===v||!m&&!p.prevProp||z9(m)||"boolean"==typeof m)continue;if("exit"===f&&p.isActive&&!0!==v){p.prevResolvedValues&&(d={...d,...p.prevResolvedValues});continue}const b=U7(p.prevProp,m);let C=b||f===a&&p.isActive&&!y&&g||t>h&&g,w=!1;const E=Array.isArray(m)?m:[m];let k=E.reduce(o(f),{});!1===v&&(k={});const{prevResolvedValues:S={}}=p,x={...S,...k},T=t=>{C=!0,u.has(t)&&(w=!0,u.delete(t)),p.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in x){const t=k[e],n=S[e];if(d.hasOwnProperty(e))continue;let r=!1;r=_4(t)&&_4(n)?!j7(t,n)||b:t!==n,r?null!=t?T(e):u.add(e):void 0!==t&&u.has(e)?T(e):p.protectedKeys[e]=!0}p.prevProp=m,p.prevResolvedValues=k,p.isActive&&(d={...d,...k}),(r||i)&&e.blockInitialAnimation&&(C=!1);const M=y&&b;C&&(!M||w)&&c.push(...E.map(t=>{const n={type:f};if("string"==typeof t&&(r||i)&&!M&&e.manuallyAnimateOnMount&&e.parent){const{parent:r}=e,i=D4(r,t);if(r.enteringChildren&&i){const{delayChildren:t}=i.transition||{};n.delay=y4(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){const t={};if("boolean"!=typeof s.initial){const n=D4(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{const r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),c.push({animation:t})}let f=Boolean(c.length);return!r||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(f=!1),r=!1,i=!1,f?t(c):Promise.resolve()}return{animateChanges:a,setActive:function(t,r){var i;if(n[t].isActive===r)return Promise.resolve();null==(i=e.variantChildren)||i.forEach(e=>{var n;return null==(n=e.animationState)?void 0:n.setActive(t,r)}),n[t].isActive=r;const o=a(t);for(const e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=G7(),i=!0}}}function U7(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!j7(t,e)}function W7(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function G7(){return{animate:W7(!0),whileInView:W7(),whileHover:W7(),whileTap:W7(),whileDrag:W7(),whileFocus:W7(),exit:W7()}}function q7(e,t){e.min=t.min,e.max=t.max}function K7(e,t){q7(e.x,t.x),q7(e.y,t.y)}function Y7(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Z7(e){return e.max-e.min}function Q7(e,t,n,r=.5){e.origin=r,e.originPoint=q5(t.min,t.max,e.origin),e.scale=Z7(n)/Z7(t),e.translate=q5(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function X7(e,t,n,r){Q7(e.x,t.x,n.x,r?r.originX:void 0),Q7(e.y,t.y,n.y,r?r.originY:void 0)}function J7(e,t,n,r=0){const i=r?q5(n.min,n.max,r):n.min;e.min=i+t.min,e.max=e.min+Z7(t)}function e8(e,t,n,r=0){const i=r?q5(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Z7(t)}function t8(e,t,n,r){e8(e.x,t.x,n.x,null==r?void 0:r.x),e8(e.y,t.y,n.y,null==r?void 0:r.y
1)}function n8(e,t,n,r,i){return e=l7(e-=t,1/n,r),void 0!==i&&(e=l7(e,1/i,r)),e}function r8(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){if(R5.test(t)&&(t=parseFloat(t),t=q5(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=q5(o.min,o.max,r);e===o&&(s-=t),e.min=n8(e.min,t,n,s,i),e.max=n8(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}const i8=["x","scaleX","originX"],o8=["y","scaleY","originY"];function a8(e,t,n,r){r8(e.x,t,i8,n?n.x:void 0,r?r.x:void 0),r8(e.y,t,o8,n?n.y:void 0,r?r.y:void 0)}function s8(e){return 0===e.translate&&1===e.scale}function l8(e){return s8(e.x)&&s8(e.y)}function c8(e,t){return e.min===t.min&&e.max===t.max}function u8(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function d8(e,t){return u8(e.x,t.x)&&u8(e.y,t.y)}function h8(e){return Z7(e.x)/Z7(e.y)}function f8(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function p8(e){return[e("x"),e("y")]}const m8=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],g8=m8.length,v8=e=>"string"==typeof e?parseFloat(e):e,y8=e=>"number"==typeof e||O5.test(e);function b8(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const C8=E8(0,.5,K2),w8=E8(.5,.95,O2);function E8(e,t,n){return r=>r<e?0:r>t?1:n(I2(e,t,r))}function k8(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const S8=(e,t)=>e.depth-t.depth;class x8{constructor(){this.children=[],this.isDirty=!1}add(e){S2(this.children,e),this.isDirty=!0}remove(e){x2(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(S8),this.isDirty=!1,this.children.forEach(e)}}function T8(e){return N4(e)?e.get():e}class M8{constructor(){this.members=[]}add(e){S2(this.members,e);for(let t=this.members.length-1;t>=0;t--){const n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;const r=n.instance;r&&!1!==r.isConnected||n.snapshot||(x2(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(x2(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){var t;for(let n=this.members.indexOf(e)-1;n>=0;n--){const e=this.members[n];if(!1!==e.isPresent&&!1!==(null==(t=e.instance)?void 0:t.isConnected))return this.promote(e),!0}return!1}promote(e,t){var n;const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();const{layoutDependency:i}=r.options,{layoutDependency:o}=e.options;void 0!==i&&i===o||(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),(null==(n=e.root)?void 0:n.isUpdating)&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{var t,n,r,i,o;null==(n=(t=e.options).onExitComplete)||n.call(t),null==(o=null==(r=e.resumingFrom)?void 0:(i=r.options).onExitComplete)||o.call(i)})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){var e;(null==(e=this.lead)?void 0:e.snapshot)&&(this.lead.snapshot=void 0)}}const A8={hasAnimatedSinceResize:!0,hasEverUpdated:!1},L8=["","X","Y","Z"];let P8=0;function R8(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function O8(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=V4(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",o5,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&O8(r)}function D8({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=P8++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 4,109 bytes, line 1
1{this.projectionUpdateScheduled=!1,this.nodes.forEach(F8),this.nodes.forEach(W8),this.nodes.forEach(G8),this.nodes.forEach($8)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new x8)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new _2),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;var n;this.isSVG=x9(t)&&!(x9(n=t)&&"svg"===n.tagName),this.instance=t;const{layoutId:r,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||r)&&(this.isLayoutDirty=!0),e){let n,r=0;const i=()=>this.root.updateBlockedByResize=!1;o5.read(()=>{r=window.innerWidth}),e(t,()=>{const e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=function(e){const t=d5.now(),n=({timestamp:r})=>{const i=r-t;i>=250&&(a5(n),e(i-250))};return o5.setup(n,!0),()=>a5(n)}(i),A8.hasAnimatedSinceResize&&(A8.hasAnimatedSinceResize=!1,this.nodes.forEach(U8)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||o.getDefaultTransition()||X8,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=o.getProps(),l=!this.targetLayout||!d8(this.targetLayout,r),c=!t&&n;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...k4(i,"layout"),onPlay:a,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c,t.path)}else t||U8(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),a5(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(q8),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&O8(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let i=0;i<this.path.length;i++){const e=this.path[i];e.shouldResetTransform=!0,"string"!=typeof e.latestValues.x&&"string"!=typeof e.latestValues.y||(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const e=this.updateBlockedByResize;return this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEac
1h(j8),void this.nodes.forEach(B8)}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(z8);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(V8),this.nodes.forEach(H8),this.nodes.forEach(I8),this.nodes.forEach(_8)):this.nodes.forEach(z8),this.clearAllSnapshots();const e=d5.now();s5.delta=T2(0,1e3/60,e-s5.timestamp),s5.timestamp=e,s5.isProcessing=!0,l5.update.process(s5),l5.preRender.process(s5),l5.render.process(s5),s5.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,h9.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(N8),this.sharedNodes.forEach(K8)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,o5.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){o5.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Z7(this.snapshot.measuredBox.x)||Z7(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++)this.path[n].updateScroll();const e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}}),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){const t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!l8(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||o7(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),t6((r=n).x),t6(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!(null==(e=this.scroll)?void 0:e.wasRoot)&&!this.path.some(r6)){const{scroll:e}=this.root;e&&(p7(n.x,e.offset.x),p7(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(K7(n,e),null==(t=this.scroll)?void 0:t.wasRoot)return n;for(let r=0;r<this.path.length;r++){const t=this.path[r],{scroll:i,options:o}=t;t!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&K7(n,e),p7(n.x,i.offset.x),p7(n.y,i.offset.y))}return n}applyTransform(e,t=!1,n){var r,i;const o=n||{x:{min:0,max:0},y:{min:0,max:0}};K7(o,e);for(let a=0;a<this.path.length;a++){const e=this.path[a];!t&&e.options.layoutScroll&&e.scroll&&e!==e.root&&(p7(o.x,-e.scroll.offset.x),p7(o.y,-e.scroll.offset.y)),o7(e.latestValues)&&v7(o,e.latestValues,null==(r=e.layout)?void 0:r.layoutBox)}return o7(this.latestValues)&&v7(o,this.latestValues,null==(i=this.layout)?void 0:i.layoutBox),o}removeTransform(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};K7(n,e);for(let r=0;r<this.path.length;r++){const e=this.path[r];if(!o7(e.latestValues))continue;let i;e.instance&&(i7(e.latestValues)&&e.updateSnapshot(),i=B9(),K7(i,e.measurePageBox())),a8(n,e.latestValues,null==(t=e.snapshot)?void 0:t.layoutBox,i)}return o7(this.latestValues)&&a8(n,this.latestValues),n}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==s5.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
1haredProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:i,layoutId:o}=this.options;if(!this.layout||!i&&!o)return;this.resolvedRelativeTargetAt=s5.timestamp;const a=this.getClosestProjectingParent();var s,l,c,u;a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,l=this.relativeTarget,c=this.relativeParent.target,u=this.options.layoutAnchor||void 0,J7(s.x,l.x,c.x,null==u?void 0:u.x),J7(s.y,l.y,c.y,null==u?void 0:u.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.applyTransform(this.layout.layoutBox,!1,this.target):K7(this.target,this.layout.layoutBox),d7(this.target,this.targetDelta)):K7(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&a&&Boolean(a.resumingFrom)===Boolean(this.resumingFrom)&&!a.options.layoutScroll&&a.target&&1!==this.animationProgress?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(this.parent&&!i7(this.parent.latestValues)&&!a7(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},t8(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),K7(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===s5.timestamp&&(r=!1),r)return;const{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!o)return;K7(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){var i;const o=n.length;if(!o)return;let a,s;t.x=t.y=1;for(let l=0;l<o;l++){a=n[l],s=a.projectionDelta;const{visualElement:o}=a.options;o&&o.props.style&&"contents"===o.props.style.display||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(p7(e.x,-a.scroll.offset.x),p7(e.y,-a.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,d7(e,s)),r&&o7(a.latestValues)&&v7(e,a.latestValues,null==(i=a.layout)?void 0:i.layoutBox))}t.x<f7&&t.x>h7&&(t.x=1),t.y<f7&&t.y>h7&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(Y7(this.prevProjectionDelta.x,this.projectionDelta.x),Y7(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),X7(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===s&&f8(this.projectionDelta.x,this.prevProjectionDelta.x)&&f8(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l))):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null==(t=this.options.visualElement)||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1,n){const r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,d=Boolean(l&&!u&&!0===this.options.crossfade&&!this.path.some(Q8));let h;this.animationProgress=0;const f=null==n?void 0:n.interpolateProjection(e);this.mixTargetDelta=t=>{const n=t/1e3,r=null==f?void 0:f(n);var c,p,m,g,v,y;r?(a.x.translate=r.x,a.x.scale=q5(e.x.scale,1,n),a.x.origin=e.x.origin,a.x.originPoint=e.x.originPoint,a.y.translate=r.y,a.y.scale=q5(e.y.scale,1,n),a.y.origin=e.y.origin,a.y.originPoint=e.y.originPoint):(Y8(a.x,e.x,n),Y8(a.y,e.y,n)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(t8(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,g=this.relativeTargetOrigin,v=s,y=n,Z8(m.x,g.x,v.x,y),Z8(m.y,g.y,v.y,y),h&&(c=this.relativeTarget,p=h,c8(c.x,p.x)&&c8(c.y,p.y))&&(this.isProjectionDirty=!1),h||(h={x:{min:0,max:0},y:{min:0,max:0}}),K7(h,this.relativeTarget)),l&&(this.animationValues=o,function(e,t,n,r,i,o){i?(e.opacity=q5(0,n.opacity??1,C8(r)),e.o
1pacityExit=q5(t.opacity??1,0,w8(r))):o&&(e.opacity=q5(t.opacity??1,n.opacity??1,r));for(let a=0;a<g8;a++){const i=m8[a];let o=b8(t,i),s=b8(n,i);void 0===o&&void 0===s||(o||(o=0),s||(s=0),0===o||0===s||y8(o)===y8(s)?(e[i]=Math.max(q5(v8(o),v8(s),r),0),(R5.test(s)||R5.test(o))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=q5(t.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,n,d,u)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){var t,n,r;this.notifyListeners("animationStart"),null==(t=this.currentAnimation)||t.stop(),null==(r=null==(n=this.resumingFrom)?void 0:n.currentAnimation)||r.stop(),this.pendingAnimation&&(a5(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=o5.update(()=>{A8.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=w4(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(e,t,n){const r=N4(e)?e:w4(e);return r.start(A4("",r,[0,1e3],n)),r.animation}(this.motionValue,0,{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&n6(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Z7(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Z7(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}K7(t,n),v7(t,i),X7(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new M8),this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null==(e=this.getStack())?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null==(e=this.getStack())?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&R8("z",e,r,this.animationValues);for(let i=0;i<L8.length;i++)R8(`rotate${L8[i]}`,e,r,this.animationValues),R8(`skew${L8[i]}`,e,r,this.animationValues);e.render();for(const i in r)e.setStaticValue(i,r[i]),this.animationValues&&(this.animationValues[i]=r[i]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(e.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=T8(null==t?void 0:t.pointerEvents)||"",void(e.transform=n?n(this.latestValues,""):"none");const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target)return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=T8(null==t?void 0:t.pointerEvents)||""),void(this.hasProjected&&!o7(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1));e.visibility="";const i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let o=function(e,t,n){let r="";
vendor: 4,082 bytes, line 1
1const i=e.x.translate/t.x,o=e.y.translate/t.y,a=(null==n?void 0:n.z)||0;if((i||o||a)&&(r=`translate3d(${i}px, ${o}px, ${a}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,pathRotation:i,rotateX:o,rotateY:a,skewX:s,skewY:l}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),o&&(r+=`rotateX(${o}deg) `),a&&(r+=`rotateY(${a}deg) `),s&&(r+=`skewX(${s}deg) `),l&&(r+=`skewY(${l}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);n&&(o=n(i,o)),e.transform=o;const{x:a,y:s}=this.projectionDelta;e.transformOrigin=`${100*a.origin}% ${100*s.origin}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0;for(const l in T7){if(void 0===i[l])continue;const{correct:t,applyTo:n,isCSSVariable:a}=T7[l],s="none"===o?i[l]:t(i[l],r);if(n){const t=n.length;for(let r=0;r<t;r++)e[n[r]]=s}else a?this.options.visualElement.renderState.vars[l]=s:e[l]=s}this.options.layoutId&&(e.pointerEvents=r===this?T8(null==t?void 0:t.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null==(t=e.currentAnimation)?void 0:t.stop()}),this.root.nodes.forEach(B8),this.root.sharedNodes.clear()}}}function I8(e){e.updateLayout()}function _8(e){var t;const n=(null==(t=e.resumeFrom)?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;if("size"===i)p8(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=Z7(r);r.min=t[e].min,r.max=r.min+i});else if("x"===i||"y"===i){const e="x"===i?"y":"x";q7(o?n.measuredBox[e]:n.layoutBox[e],t[e])}else n6(i,n.layoutBox,t)&&p8(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=Z7(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};X7(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?X7(s,e.applyTransform(r,!0),n.measuredBox):X7(s,t,n.layoutBox);const l=!l8(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a=e.options.layoutAnchor||void 0,s={x:{min:0,max:0},y:{min:0,max:0}};t8(s,n.layoutBox,i.layoutBox,a);const l={x:{min:0,max:0},y:{min:0,max:0}};t8(l,t,o.layoutBox,a),d8(s,l)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function F8(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function $8(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function N8(e){e.clearSnapshot()}function B8(e){e.clearMeasurements()}function j8(e){e.isLayoutDirty=!0,e.updateLayout()}function z8(e){e.isLayoutDirty=!1}function V8(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function H8(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function U8(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function W8(e){e.resolveTargetDelta()}function G8(e){e.calcProjection()}
1function q8(e){e.resetSkewAndRotation()}function K8(e){e.removeLeadSnapshot()}function Y8(e,t,n){e.translate=q5(t.translate,0,n),e.scale=q5(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Z8(e,t,n,r){e.min=q5(t.min,n.min,r),e.max=q5(t.max,n.max,r)}function Q8(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const X8={duration:.45,ease:[.4,0,.1,1]},J8=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),e6=J8("applewebkit/")&&!J8("chrome/")?Math.round:O2;function t6(e){e.min=e6(e.min),e.max=e6(e.max)}function n6(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=h8(t),i=h8(n),!(Math.abs(r-i)<=.2));var r,i}function r6(e){var t;return e!==e.root&&(null==(t=e.scroll)?void 0:t.wasRoot)}const i6=D8({attachResizeListener:(e,t)=>k8(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||(null==(e=document.body)?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||(null==(t=document.body)?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),o6={current:void 0},a6=D8({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!o6.current){const e=new i6({});e.mount(window),e.setOptions({layoutScroll:!0}),o6.current=e}return o6.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),s6=Qt.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function l6(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class c6 extends Qt.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(d9(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const e=t.offsetParent,n=d9(e)&&e.offsetWidth||0,r=d9(e)&&e.offsetHeight||0,i=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(i.height),o.width=parseFloat(i.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=n-o.width-o.left,o.bottom=r-o.height-o.top,o.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function u6({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:o}){var a;const s=Qt.useId(),l=Qt.useRef(null),c=Qt.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:u}=Qt.useContext(s6),d=(null==(a=e.props)?void 0:a.ref)??(null==e?void 0:e.ref),h=function(...e){return Qt.useCallback(function(...e){return t=>{let n=!1;const r=e.map(e=>{const r=l6(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():l6(e[t],null)}}}}(...e),e)}(l,d);return Qt.useInsertionEffect(()=>{const{width:e,height:a,top:d,left:h,right:f,bottom:p,direction:m}=c.current;if(t||!1===o||!l.current||!e||!a)return;const g="rtl"===m,v="left"===n?g?`right: ${f}`:`left: ${h}`:g?`left: ${h}`:`right: ${f}`,y="bottom"===r?`bottom: ${p}`:`top: ${d}`;l.current.dataset.motionPopId=s;const b=document.createElement("style");u&&(b.nonce=u);const C=i??document.head;return C.appendChild(b),b.sheet&&b.sheet.insertRule(`\n [data-motion-pop-id="${s}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${a}px !important;\n ${v}px !important;\n ${y}px !important;\n }\n `),()=>{var e;null==(e=l.current)||e.removeAttribute("data-motion-pop-id"),C.contains(b)&&C.removeChild(b)}},[t]),He.jsx(c6,{isPresent:t,childRef:l,sizeRef:c,pop:o,children:!1===o?e:Qt.cloneElement(e,{ref:h})})}const d6=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a,anchorX:s,anchorY:l,root:c})=>{const u=w2(h6),d=Qt.useId();let h=!0,f=Qt.useMemo(()=>(h=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(const t of u.values())if(!t)return;r&&r()},register:e=>(u.set(e,!1),()=>u.delete(e))}),[n,u,r]);return o&&h&&(f={...f}),Qt.useMemo(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),Qt.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=He.jsx(u6,{pop:"popLayout"===a,isPresent:n,anchorX:s,anchorY:l,root:c,children:e}),He.jsx(k2.Provider,{value:f,children:e})};function h6(){return new Map}function f6(e=!0){const t=Qt.useContext(k2);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=Qt.useId();Qt.useEffect(()=>{if(e)return i(o)},[e]);const a=Qt.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,a]:[!0]}const p6=e=>e.key||"";function m6(e){const t=[];
1return Qt.Children.forEach(e,e=>{Qt.isValidElement(e)&&t.push(e)}),t}const g6=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:a=!1,anchorX:s="left",anchorY:l="top",root:c})=>{const[u,d]=f6(a),h=Qt.useMemo(()=>m6(e),[e]),f=a&&!u?[]:h.map(p6),p=Qt.useRef(!0),m=Qt.useRef(h),g=w2(()=>new Map),v=Qt.useRef(new Set),[y,b]=Qt.useState(h),[C,w]=Qt.useState(h);E2(()=>{p.current=!1,m.current=h;for(let e=0;e<C.length;e++){const t=p6(C[e]);f.includes(t)?(g.delete(t),v.current.delete(t)):!0!==g.get(t)&&g.set(t,!1)}},[C,f.length,f.join("-")]);const E=[];if(h!==y){let e=[...h];for(let t=0;t<C.length;t++){const n=C[t],r=p6(n);f.includes(r)||(e.splice(t,0,n),E.push(n))}return"wait"===o&&E.length&&(e=E),w(m6(e)),b(h),null}const{forceRender:k}=Qt.useContext(C2);return He.jsx(He.Fragment,{children:C.map(e=>{const y=p6(e),b=!(a&&!u)&&(h===C||f.includes(y));return He.jsx(d6,{isPresent:b,initial:!(p.current&&!n)&&void 0,custom:t,presenceAffectsLayout:i,mode:o,root:c,onExitComplete:b?void 0:()=>{if(v.current.has(y))return;if(!g.has(y))return;v.current.add(y),g.set(y,!0);let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(null==k||k(),w(m.current),a&&(null==d||d()),r&&r())},anchorX:s,anchorY:l,children:e},y)})})},v6=Qt.createContext({strict:!1}),y6={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let b6=!1;function C6(){return function(){if(b6)return;const e={};for(const t in y6)e[t]={isEnabled:e=>y6[t].some(t=>!!e[t])};X9(e),b6=!0}(),Q9}const w6=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function E6(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||w6.has(e)}let k6=e=>!E6(e);function S6(e){"function"==typeof e&&(k6=t=>t.startsWith("on")?!E6(t):e(t))}try{S6(require("@emotion/is-prop-valid").default)}catch{}function x6({children:e,isValidProp:t,...n}){t&&S6(t);const r=Qt.useContext(s6);(n={...r,...n}).transition=E4(n.transition,r.transition),n.isStatic=w2(()=>n.isStatic);const i=Qt.useMemo(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion,n.skipAnimations]);return He.jsx(s6.Provider,{value:i,children:e})}const T6=Qt.createContext({});function M6(e){return Array.isArray(e)?e.join(" "):e}function A6(e,t,n){for(const r in t)N4(t[r])||M7(r,n)||(e[r]=t[r])}function L6(e,t){const n={},r=function(e,t){const n={};return A6(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return Qt.useMemo(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return w7(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function P6(e,t,n,r){const i=Qt.useMemo(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return D7(n,t,_7(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};A6(t,e.style,e),i.style={...t,...i.style}}return i}const R6=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function O6(e){return"string"==typeof e&&!e.includes("-")&&!!(R6.indexOf(e)>-1||/[A-Z]/u.test(e))}function D6(e,t,n,{latestValues:r},i,o=!1,a){const s=(a??O6(e)?P6:L6)(t,r,i,e),l=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||N4(e[i])||
1(k6(i)||!0===n&&E6(i)||!t&&!E6(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(t,"string"==typeof e,o),c=e!==Qt.Fragment?{...l,...s,ref:n}:{},{children:u}=t,d=Qt.useMemo(()=>N4(u)?u.get():u,[u]);return Qt.createElement(e,{...c,children:d})}function I6(e,t,n,r){const i={},o=r(e,{});for(const h in o)i[h]=T8(o[h]);let{initial:a,animate:s}=e;const l=W9(e),c=G9(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!z9(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const r=O4(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const r in n){let e=n[r];Array.isArray(e)&&(e=e[u?e.length-1:0]),null!==e&&(i[r]=e)}for(const r in e)i[r]=e[r]}}}return i}const _6=e=>(t,n)=>{const r=Qt.useContext(T6),i=Qt.useContext(k2),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:I6(n,r,i,e),renderState:t()}}(e,t,r,i);return n?o():w2(o)},F6=_6({scrapeMotionValuesFromProps:A7,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})}),$6=_6({scrapeMotionValuesFromProps:F7,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}})}),N6=Symbol.for("motionComponentSymbol");function B6(e,t,n){const r=Qt.useRef(n);Qt.useInsertionEffect(()=>{r.current=n});const i=Qt.useRef(null);return Qt.useCallback(n=>{var o;n&&(null==(o=e.onMount)||o.call(e,n)),t&&(n?t.mount(n):t.unmount());const a=r.current;if("function"==typeof a)if(n){const e=a(n);"function"==typeof e&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n)},[t])}const j6=Qt.createContext({});function z6(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function V6(e,t,n,r,i,o){var a,s;const{visualElement:l}=Qt.useContext(T6),c=Qt.useContext(v6),u=Qt.useContext(k2),d=Qt.useContext(s6),h=d.reducedMotion,f=d.skipAnimations,p=Qt.useRef(null),m=Qt.useRef(!1);r=r||c.renderer,!p.current&&r&&(p.current=r(e,{visualState:t,parent:l,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:h,skipAnimations:f,isSVG:o}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));const g=p.current,v=Qt.useContext(j6);!g||g.projection||!i||"html"!==g.type&&"svg"!==g.type||function(e,t,n,r){const{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:H6(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:Boolean(a)||s&&z6(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}(p.current,n,i,v);const y=Qt.useRef(!1);Qt.useInsertionEffect(()=>{g&&y.current&&g.update(n,u)});const b=n[z4],C=Qt.useRef(Boolean(b)&&"undefined"!=typeof window&&!(null==(a=window.MotionHandoffIsComplete)?void 0:a.call(window,b))&&(null==(s=window.MotionHasOptimisedAnimation)?void 0:s.call(window,b)));return E2(()=>{m.current=!0,g&&(y.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),C.current&&g.animationState&&g.animationState.animateChanges())}),Qt.useEffect(()=>{g&&(!C.current&&g.animationState&&g.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var e;null==(e=window.MotionHandoffMarkAsComplete)||e.call(window,b)}),C.current=!1),g.enteringChildren=void 0)}),g}function H6(e){if(e)return!1!==e.options.allowProjection?e.projection:H6(e.parent)}function U6(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&function(e){const t=C6();for(const n in e)t[n]={...t[n],...e[n]};X9(t)}(r);const o=n?"svg"===n:O6(e),a=o?$6:F6;function s(n,r){let s;const l={...Qt.useContext(s6),...n,layoutId:W6(n)},{isStatic:c}=l,u=function(e){const{initial:t,animate:n}=function(e,t){if(W9(e)){const{initial:t,animate:n}=e;return{initial:!1===t||V9(t)?t:void 0,animate:V9(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,Qt.useContext(T6));return Qt.useMemo(()=>({initial:t,animate:n}),[M6(t),M6(n)])}(n),d=a(n,c);if(!c&&"undefined"!=typeof window){Qt.useContext(v6).strict;const t=function(e){const t=C6(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:(null==n?void 0:n.isEnabled(e))||(null==r?void 0:r.isEnabled(e))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}
vendor: 19,009 bytes, line 1
1(l);s=t.MeasureLayout,u.visualElement=V6(e,d,l,i,t.ProjectionNode,o)}return He.jsxs(T6.Provider,{value:u,children:[s&&u.visualElement?He.jsx(s,{visualElement:u.visualElement,...l}):null,D6(e,n,B6(d,u.visualElement,r),d,c,t,o)]})}s.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;const l=Qt.forwardRef(s);return l[N6]=e,l}function W6({layoutId:e}){const t=Qt.useContext(C2).id;return t&&void 0!==e?t+"-"+e:e}function G6(e,t){if("undefined"==typeof Proxy)return U6;const n=new Map,r=(n,r)=>U6(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,o)=>"create"===o?r:(n.has(o)||n.set(o,U6(o,void 0,e,t)),n.get(o))})}const q6=(e,t)=>t.isSVG??O6(e)?new $7(t):new L7(t,{allowProjection:e!==Qt.Fragment});let K6=0;const Y6={animation:{Feature:class extends t7{constructor(e){super(e),e.animationState||(e.animationState=H7(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();z9(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null==(e=this.unmountControls)||e.call(this)}}},exit:{Feature:class extends t7{constructor(){super(...arguments),this.id=K6++,this.isExitComplete=!1}update(){var e;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&!1===r){if(this.isExitComplete){const{initial:t,custom:n}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){const r=D4(this.node,t,n);if(r){const{transition:t,transitionEnd:n,...i}=r;for(const r in i)null==(e=this.node.getValue(r))||e.jump(i[r])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function Z6(e){return{point:{x:e.pageX,y:e.pageY}}}function Q6(e,t,n,r){return k8(e,t,(e=>t=>v9(t)&&e(t,Z6(t)))(n),r)}const X6=({current:e})=>e?e.ownerDocument.defaultView:null,J6=(e,t)=>Math.abs(e-t),eee=new Set(["auto","scroll"]);class tee{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=nee(this.lastRawMoveEventInfo,this.transformPagePoint));const e=iee(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=J6(e.x,t.x),r=J6(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=s5;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=nee(t,this.transformPagePoint),o5.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||i&&i(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=iee("pointercancel"===e.type?this.lastMoveEventInfo:nee(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!v9(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=r||window;const s=nee(Z6(e),this.transformPagePoint),{point:l}=s,{timestamp:c}=s5;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=t;u&&u(e,iee(s,this.history)),this.removeListeners=D2(Q6(this.contextWindow,"pointermove",this.handlePointerMove),Q6(this.contextWindow,"pointerup",this.handlePointerUp),Q6(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){const e=getComputedStyle(t);(eee.has(e.overflowX)||eee.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const t=this.scrollPositions.get(e);if(!t)return;const n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i=r.x-t.x,o=r.y-t.y;0===i&&0===o||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i,this.lastMoveEventInfo.point.y+=o):this.history.length>0&&(this.history[0].x-=i,this.history[0].y-=o),this.scrollPositions.set(e,r),o5.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),a5(this.updatePoint)}}function nee(e,t){return t?{point:t(e.point)}:e}function ree(e,t){return{x:e.x-t.x,y:e.y-t.y}}function iee({point:e},t){return{point:e,delta:ree(e,aee(t)),offset:ree(e,oee(t)),velocity:see(t,.1)}}function oee(e){return e[0]}function aee(e){return e[e.length-1]}function see(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=aee(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>F2(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>2*F2(t)&&(r=e[1]);const o=$2(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function lee(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function cee(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const uee=.35;function dee(e,t,n){return{min:hee(e,t),max:hee(e,n)}}function hee(e,t){return"number"==typeof e?e:e[t]||0}const fee=new WeakMap;class pee{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new tee(e,{onSessionStart:e=>{t&&this.snapToCursor(Z6(e).point),this.stopAnimation()},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?f9[o]?null:(f9[o]=!0,()=>{f9[o]=!1}):f9.x||f9.y?null:(f9.x=f9.y=!0,()=>{f9.x=f9.y=!1}),!this.openDragLock))return;var o;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),p8(e=>{let t=this.getAxisMotionValue(e).get()||0;if(R5.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];r&&(t=Z7(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&o5.update(()=>i(e,t),!1,!0),B4(this.visualElement,"transform");const{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o5.update(()=>o(e,t),!1,!0)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,distanceThreshold:n,contextWindow:X6(this.visualElement),element:this.visualElement.current})}stop(e,t){const n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;const{velocity:o}=r;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&o5.postRender(()=>a(n,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!gee(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?q5(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?q5(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(e=this.visualElement.projection)?void 0:e.layout,i=this.constraints;t&&z6(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:lee(e.x,n,i),y:lee(e.y,t,r)}}(r.layoutBox,t),this.elastic=function(e=uee){return!1===e?e=0:!0===e&&(e=uee),{x:dee(e,"left","right"),y:dee(e,"top","bottom")}}(n),i!==this.constraints&&!z6(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&p8(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!z6(e))return!1;const n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());const i=function(e,t,n){const r=y7(e,n),{scroll:i}=t;return i&&(p7(r.x,i.offset.x),p7(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:cee(e.x,t.x),y:cee(e.y,t.y)}}(r.layout.layoutBox,i);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=n7(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=p8(a=>{if(!gee(a,t,this.currentDirection))return;let l=s&&s[a]||{};!0!==o&&o!==a||(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return B4(this.visualElement,e),n.start(A4(e,n,0,t,this.visualElement,!1))}stopAnimation(){p8(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){p8(t=>{const{drag:n}=this.getProps();if(!gee(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[t],a=i.get()||0;i.set(e[t]-q5(n,o,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!z6(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};p8(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=Z7(e),i=Z7(t);return i>r?n=I2(t.min,t.max-r,e.min):r>i&&(n=I2(e.min,e.max-i,t.min)),T2(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),p8(t=>{if(!gee(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(q5(i,o,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;fee.set(this.visualElement,this);const e=this.visualElement.current,t=Q6(e,"pointerdown",t=>{const{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,o=i!==e&&function(e){return b9.has(e.tagName)||!0===e.isContentEditable}(i);n&&r&&!o&&this.start(t)});let n;const r=()=>{const{dragConstraints:t}=this.getProps();z6(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(e,t,n){const r=_9(e,mee(n)),i=_9(t,mee(n));return()=>{r(),i()}}(e,t.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),o5.read(r);const a=k8(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(p8(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),t(),o(),s&&s(),n&&n()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=uee,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function mee(e){let t=!0;return()=>{t?t=!1:e()}}function gee(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const vee=e=>(t,n)=>{e&&o5.update(()=>e(t,n),!1,!0)};let yee=!1;class bee extends Qt.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),yee&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),A8.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:o}=n;return o?(o.isPresent=i,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),yee=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||o5.postRender(()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),h9.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;yee=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Cee(e){const[t,n]=f6(),r=Qt.useContext(C2);return He.jsx(bee,{...e,layoutGroup:r,switchLayoutGroup:Qt.useContext(j6),isPresent:t,safeToRemove:n})}const wee={pan:{Feature:class extends t7{constructor(){super(...arguments),this.removePointerDownListener=O2}onPointerDown(e){this.session=new tee(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:X6(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:vee(e),onStart:vee(t),onMove:vee(n),onEnd:(e,t)=>{delete this.session,r&&o5.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Q6(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends t7{constructor(e){super(e),this.removeGroupControls=O2,this.removeListeners=O2,this.controls=new pee(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||O2}update(){const{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:a6,MeasureLayout:Cee}};function Eee(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const i=r["onHover"+n];i&&o5.postRender(()=>i(t,Z6(t)))}function kee(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const i=r["onTap"+("End"===n?"":n)];i&&o5.postRender(()=>i(t,Z6(t)))}const See=new WeakMap,xee=new WeakMap,Tee=e=>{const t=See.get(e.target);t&&t(e)},Mee=e=>{e.forEach(Tee)};const Aee={some:0,all:1},Lee={inView:{Feature:class extends t7{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;null==(e=this.stopObserver)||e.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:Aee[i]};this.stopObserver=function(e,t,n){const r=function({root:e,...t}){const n=e||document;
1xee.has(n)||xee.set(n,{});const r=xee.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Mee,{root:e,...t})),r[i]}(t);return See.set(e,n),r.observe(e),()=>{See.delete(e),r.unobserve(e)}}(this.node.current,a,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){var e;null==(e=this.stopObserver)||e.call(this),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends t7{mount(){const{current:e}=this.node;if(!e)return;const{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=function(e,t,n={}){const[r,i,o]=m9(e,n),a=e=>{const r=e.currentTarget;if(!k9(e))return;if(S9.has(e))return;C9.add(r),n.stopPropagation&&S9.add(e);const o=t(r,e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),C9.has(r)&&C9.delete(r),k9(e)&&"function"==typeof o&&o(e,{success:t})},s=e=>{a(e,r===window||r===document||n.useGlobalTarget||g9(r,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{var t;(n.useGlobalTarget?window:e).addEventListener("pointerdown",a,i),d9(e)&&(e.addEventListener("focus",e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const r=w9(()=>{if(C9.has(n))return;E9(n,"down");const e=w9(()=>{E9(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>E9(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,i)),t=e,y9.has(t.tagName)||!0===t.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(kee(this.node,t,"Start"),(e,{success:t})=>kee(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:!1===(null==n?void 0:n.tap)})}unmount(){}}},focus:{Feature:class extends t7{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=D2(k8(this.node.current,"focus",()=>this.onFocus()),k8(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends t7{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[r,i,o]=m9(e,n);return r.forEach(e=>{let n,r=!1,o=!1;const a=t=>{n&&(n(t),n=void 0),e.removeEventListener("pointerleave",l)},s=e=>{r=!1,window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",s),o&&(o=!1,a(e))},l=e=>{"touch"!==e.pointerType&&(r?o=!0:a(e))};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||p9())return;o=!1;const a=t(e,r);"function"==typeof a&&(n=a,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",s,i)},i)}),o}(e,(e,t)=>(Eee(this.node,t,"Start"),e=>Eee(this.node,e,"End"))))}unmount(){}}}},Pee=G6({...Y6,...Lee,...wee,layout:{ProjectionNode:a6,MeasureLayout:Cee}},q6);function Ree(e,t,n){Qt.useInsertionEffect(()=>e.on(t,n),[e,t,n])}function Oee(e){const t=w2(()=>w4(e)),{isStatic:n}=Qt.useContext(s6);if(n){const[,n]=Qt.useState(e);Qt.useEffect(()=>t.on("change",n),[])}return t}function Dee(e,t){const n=Oee(t()),r=()=>n.set(t());return r(),E2(()=>{const t=()=>o5.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),a5(r)}}),n}function Iee(e,t,n,r){if("function"==typeof e)return function(e){b4.current=[],e();const t=Dee(b4.current,e);return b4.current=void 0,t}(e);const i="function"==typeof t?t:function(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=C3(e[1+n],e[2+n],e[3+n]);return t?i(r):i}(t,n,r),o=Array.isArray(e)?_ee(e,i):_ee([e],([e])=>i(e)),a=Array.isArray(e)?void 0:e.accelerate;return a&&!a.isTransformed&&"function"!=typeof t&&Array.isArray(n)&&!1!==(null==r?void 0:r.clamp)&&(o.accelerate={...a,times:t,keyframes:n,isTransformed:!0}),o}function _ee(e,t){const n=w2(()=>[]);return Dee(e,()=>{n.length=0;const r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function Fee(e,t={}){return function(e,t={}){const{isStatic:n}=Qt.useContext(s6),r=()=>N4(e)?e.get():e;if(n)return Iee(r);const i=Oee(r());return Qt.useInsertionEffect(()=>function(e,t,n={}){const r=e.get();let i,o=null,a=r;const s="string"==typeof r?r.replace(/[\d.-]/g,""):void 0,l=()=>{o&&(o.stop(),o=null),e.animation=void 0},c=()=>{var t;(()=>{const t=$9(e.get()),r=$9(a);if(t===r)return void l();const s=o?o.getGeneratorVelocity():e.getVelocity();l(),o=new A3({keyframes:[t,r],velocity:s,type:"spring",restDelta:.001,restSpeed:.01,...n,onUp
1date:i})})(),e.animation=o??void 0,null==(t=e.events.animationStart)||t.notify(),null==o||o.then(()=>{var t;e.animation=void 0,null==(t=e.events.animationComplete)||t.notify()})};if(e.attach((e,t)=>{a=e,i=e=>t(F9(e,s)),o5.postRender(c)},l),N4(t)){let r=!0===n.skipInitialAnimation;const i=t.on("change",t=>{r?(r=!1,e.jump(F9(t,s),!1)):e.set(F9(t,s))}),o=e.on("destroy",i);return()=>{i(),o()}}return l}(i,e,t),[i,JSON.stringify(t)]),i}(e,{type:"spring",...t})}const $ee=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},Nee=Number.isSafeInteger||function(e){return"number"==typeof e&&Math.abs(e)<=Bee},Bee=Number.MAX_SAFE_INTEGER||9007199254740991;let jee=function(e){return e.NETWORK_ERROR="networkError",e.MEDIA_ERROR="mediaError",e.KEY_SYSTEM_ERROR="keySystemError",e.MUX_ERROR="muxError",e.OTHER_ERROR="otherError",e}({}),zee=function(e){return e.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",e.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",e.KEY_SYSTEM_NO_SESSION="keySystemNoSession",e.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",e.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",e.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",e.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",e.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",e.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",e.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",e.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",e.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",e.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",e.MANIFEST_LOAD_ERROR="manifestLoadError",e.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",e.MANIFEST_PARSING_ERROR="manifestParsingError",e.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",e.LEVEL_EMPTY_ERROR="levelEmptyError",e.LEVEL_LOAD_ERROR="levelLoadError",e.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",e.LEVEL_PARSING_ERROR="levelParsingError",e.LEVEL_SWITCH_ERROR="levelSwitchError",e.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",e.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",e.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",e.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",e.FRAG_LOAD_ERROR="fragLoadError",e.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",e.FRAG_DECRYPT_ERROR="fragDecryptError",e.FRAG_PARSING_ERROR="fragParsingError",e.FRAG_GAP="fragGap",e.REMUX_ALLOC_ERROR="remuxAllocError",e.KEY_LOAD_ERROR="keyLoadError",e.KEY_LOAD_TIMEOUT="keyLoadTimeOut",e.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",e.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",e.BUFFER_APPEND_ERROR="bufferAppendError",e.BUFFER_APPENDING_ERROR="bufferAppendingError",e.BUFFER_STALLED_ERROR="bufferStalledError",e.BUFFER_FULL_ERROR="bufferFullError",e.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",e.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",e.ASSET_LIST_LOAD_ERROR="assetListLoadError",e.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",e.ASSET_LIST_PARSING_ERROR="assetListParsingError",e.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",e.INTERNAL_EXCEPTION="internalException",e.INTERNAL_ABORTED="aborted",e.ATTACH_MEDIA_ERROR="attachMediaError",e.UNKNOWN="unknown",e}({}),Vee=function(e){return e.MEDIA_ATTACHING="hlsMediaAttaching",e.MEDIA_ATTACHED="hlsMediaAttached",e.MEDIA_DETACHING="hlsMediaDetaching",e.MEDIA_DETACHED="hlsMediaDetached",e.MEDIA_ENDED="hlsMediaEnded",e.STALL_RESOLVED="hlsStallResolved",e.BUFFER_RESET="hlsBufferReset",e.BUFFER_CODECS="hlsBufferCodecs",e.BUFFER_CREATED="hlsBufferCreated",e.BUFFER_APPENDING="hlsBufferAppending",e.BUFFER_APPENDED="hlsBufferAppended",e.BUFFER_EOS="hlsBufferEos",e.BUFFERED_TO_END="hlsBufferedToEnd",e.BUFFER_FLUSHING="hlsBufferFlushing",e.BUFFER_FLUSHED="hlsBufferFlushed",e.MANIFEST_LOADING="hlsManifestLoading",e.MANIFEST_LOADED="hlsManifestLoaded",e.MANIFEST_PARSED="hlsManifestParsed",e.LEVEL_SWITCHING="hlsLevelSwitching",e.LEVEL_SWITCHED="hlsLevelSwitched",e.LEVEL_LOADING="hlsLevelLoading",e.LEVEL_LOADED="hlsLevelLoaded",e.LEVEL_UPDATED="hlsLevelUpdated",e.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",e.LEVELS_UPDATED="hlsLevelsUpdated",e.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",e.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",e.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",e.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",e.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",e.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",e.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUp
1dated",e.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",e.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",e.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",e.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",e.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",e.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",e.CUES_PARSED="hlsCuesParsed",e.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",e.INIT_PTS_FOUND="hlsInitPtsFound",e.FRAG_LOADING="hlsFragLoading",e.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",e.FRAG_LOADED="hlsFragLoaded",e.FRAG_DECRYPTED="hlsFragDecrypted",e.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",e.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",e.FRAG_PARSING_METADATA="hlsFragParsingMetadata",e.FRAG_PARSED="hlsFragParsed",e.FRAG_BUFFERED="hlsFragBuffered",e.FRAG_CHANGED="hlsFragChanged",e.FPS_DROP="hlsFpsDrop",e.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",e.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",e.ERROR="hlsError",e.DESTROYING="hlsDestroying",e.KEY_LOADING="hlsKeyLoading",e.KEY_LOADED="hlsKeyLoaded",e.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",e.BACK_BUFFER_REACHED="hlsBackBufferReached",e.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",e.ASSET_LIST_LOADING="hlsAssetListLoading",e.ASSET_LIST_LOADED="hlsAssetListLoaded",e.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",e.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",e.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",e.INTERSTITIAL_STARTED="hlsInterstitialStarted",e.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",e.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",e.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",e.INTERSTITIAL_ENDED="hlsInterstitialEnded",e.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",e.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",e.EVENT_CUE_ENTER="hlsEventCueEnter",e}({});var Hee="manifest",Uee="level",Wee="audioTrack",Gee="subtitleTrack",qee="main",Kee="audio",Yee="subtitle";class Zee{constructor(e,t=0,n=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=e,this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=t,this.totalWeight_=n}sample(e,t){const n=Math.pow(this.alpha_,e);this.estimate_=t*(1-n)+n*this.estimate_,this.totalWeight_+=e}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const e=1-Math.pow(this.alpha_,this.totalWeight_);if(e)return this.estimate_/e}return this.estimate_}}class Qee{constructor(e,t,n,r=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=n,this.minWeight_=.001,this.minDelayMs_=50,this.slow_
vendor: 8,826 bytes, line 1
1=new Zee(e),this.fast_=new Zee(t),this.defaultTTFB_=r,this.ttfb_=new Zee(e)}update(e,t){const{slow_:n,fast_:r,ttfb_:i}=this;n.halfLife!==e&&(this.slow_=new Zee(e,n.getEstimate(),n.getTotalWeight())),r.halfLife!==t&&(this.fast_=new Zee(t,r.getEstimate(),r.getTotalWeight())),i.halfLife!==e&&(this.ttfb_=new Zee(e,i.getEstimate(),i.getTotalWeight()))}sample(e,t){const n=(e=Math.max(e,this.minDelayMs_))/1e3,r=8*t/n;this.fast_.sample(n,r),this.slow_.sample(n,r)}sampleTTFB(e){const t=e/1e3,n=Math.sqrt(2)*Math.exp(-Math.pow(t,2)/2);this.ttfb_.sample(n,Math.max(e,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}get defaultEstimate(){return this.defaultEstimate_}destroy(){}}function Xee(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jee(){return Jee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jee.apply(null,arguments)}function ete(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tte(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ete(Object(n),!0).forEach(function(t){Xee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ete(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}class nte{constructor(e,t){this.trace=void 0,this.debug=void 0,this.log=void 0,this.warn=void 0,this.info=void 0,this.error=void 0;const n=`[${e}]:`;this.trace=rte,this.debug=t.debug.bind(null,n),this.log=t.log.bind(null,n),this.warn=t.warn.bind(null,n),this.info=t.info.bind(null,n),this.error=t.error.bind(null,n)}}const rte=function(){},ite={trace:rte,debug:rte,log:rte,warn:rte,info:rte,error:rte};function ote(){return Jee({},ite)}function ate(e,t,n){return t[e]?t[e].bind(t):function(e,t){const n=self.console[e];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${e}] >`):rte}(e,n)}const ste=ote(),lte=ste;function cte(e=!0){if("undefined"!=typeof self)return(e||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ute(e,t){const n=Object.keys(e),r=Object.keys(t),i=n.length,o=r.length;return!i||!o||i===o&&!n.some(e=>-1===r.indexOf(e))}function dte(e,t=!1){if("undefined"!=typeof TextDecoder){const n=new TextDecoder("utf-8").decode(e);if(t){const e=n.indexOf("\0");return-1!==e?n.substring(0,e):n}return n.replace(/\0/g,"")}const n=e.length;let r,i,o,a="",s=0;for(;s<n;){if(r=e[s++],0===r&&t)return a;if(0!==r&&3!==r)switch(r>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:a+=String.fromCharCode(r);break;case 12:case 13:i=e[s++],a+=String.fromCharCode((31&r)<<6|63&i);break;case 14:i=e[s++],o=e[s++],a+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&o)}}return a}function hte(e){let t="";for(let n=0;n<e.length;n++){let r=e[n].toString(16);r.length<2&&(r="0"+r),t+=r}return t}function fte(e){return Uint8Array.from(e.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}function pte(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mte,gte,vte,yte,bte,Cte,wte={exports:{}},Ete=mte?wte.exports:(mte=1,gte=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,vte=/^(?=([^\/?#]*))\1([^]*)$/,yte=/(?:\/|^)\.(?=\/)/g,bte=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,wte.exports=Cte={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var r=Cte.parseURL(e);if(!r)throw new Error("Error trying to parse base URL.");return r.path=Cte.normalizePath(r.path),Cte.buildURLFromParts(r)}var i=Cte.parseURL(t);if(!i)throw new Error("Error trying to parse relative URL.");if(i.scheme)return n.alwaysNormalize?(i.path=Cte.normalizePath(i.path),Cte.buildURLFromParts(i)):t;var o=Cte.parseURL(e);if(!o)throw new Error("Error trying to parse base URL.");if(!o.netLoc&&o.path&&"/"!==o.path[0]){var a=vte.exec(o.path);o.netLoc=a[1],o.path=a[2]}o.netLoc&&!o.path&&(o.path="/");var s={scheme:o.scheme,netLoc:i.netLoc,path:null,params:i.params,query:i.query,fragment:i.fragment};if(!i.netLoc&&(s.netLoc=o.netLoc,"/"!==i.path[0]))if(i.path){var l=o.path,c=l.substring(0,l.lastIndexOf("/")+1)+i.path;s.path=Cte.normalizePath(c)}else s.path=o.path,i.params||(s.params=o.params,i.query||(s.query=o.query));return null===s.path&&(s.path=n.alwaysNormalize?Cte.normalizePath(i.path):i.path),Cte.buildURLFromParts(s)},parseURL:function(e){var t=gte.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(yte,"");e.length!==(e=e.replace(bte,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}});class kte{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var Ste="audio",xte="video",Tte="audiovideo";class Mte{constructor(e){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,"string"==typeof e&&(e={url:e}),this.base=e,function(e,t){const n=Rte(e,t);n&&(n.enumerable=!0,Object.defineProperty(e,t,n))}(this,"stats")}setByteRange(e,t){const n=e.split("@",2);let r;r=1===n.length?(null==t?void 0:t.byteRangeEndOffset)||0:parseInt(n[1]),this._byteRange=[r,parseInt(n[0])+r]}get baseurl(){return this.base.url}get byteRange(){return null===this._byteRange?[]:this._byteRange}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get elementaryStreams(){return null===this._streams&&(this._streams={[Ste]:null,[xte]:null,[Tte]:null}),this._streams}set elementaryStreams(e){this._streams=e}get hasStats(){return null!==this._stats}get hasStreams(){return null!==this._streams}get stats(){return null===this._stats&&(this._stats=new kte),this._stats}set stats(e){this._stats=e}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=Ete.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(e){this._url=e}clearElementaryStreamInfo(){const{elementaryStreams:e}=this;e[Ste]=null,e[xte]=null,e[Tte]=null}}function Ate(e){return"initSegment"!==e.sn}class Lte extends Mte{constructor(e,t){super(t),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=e}get byteLength(){if(this.hasStats){const e=this.stats.total;if(e)return e}if(this.byteRange.length){const e=this.byteRange[0],t=this.byteRange[1];if($ee(e)&&$ee(t))return t-e}return null}get bitrate(){return this.byteLength?8*this.byteLength/this.duration:this._bitrate?this._bitrate:null}set bitrate(e){this._bitrate=e}get decryptdata(){var e;const{levelkeys:t}=this;if(!t||t.NONE)return null;if(t.identity)this._decryptdata||(this._decryptdata=t.identity.getDecryptData(this.sn));else if(null==(e=this._decryptdata)||!e.keyId){const e=Object.keys(t);if(1===e.length){const n=this._decryptdata=t[e[0]]||null;n&&(this._decryptdata=n.getDecryptData(this.sn,t))}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(null===this.programDateTime)return null;const e=$ee(this.duration)?this.duration:0;return this.programDateTime+1e3*e}get encrypted(){var e;if(null!=(e=this._decryptdata)&&e.encrypted)return!0;
vendor: 4,628 bytes, line 1
1if(this.levelkeys){var t;const e=Object.keys(this.levelkeys),n=e.length;if(n>1||1===n&&null!=(t=this.levelkeys[e[0]])&&t.encrypted)return!0}return!1}get programDateTime(){return null===this._programDateTime&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(e){$ee(e)?this._programDateTime=e:this._programDateTime=this.rawProgramDateTime=null}get ref(){return Ate(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(e){this.setStart(this.start+e)}setStart(e){this.start=e,this._ref&&(this._ref.start=e)}setDuration(e){this.duration=e,this._ref&&(this._ref.duration=e)}setKeyFormat(e){const t=this.levelkeys;if(t){var n;const r=t[e];!r||null!=(n=this._decryptdata)&&n.keyId||(this._decryptdata=r.getDecryptData(this.sn,t))}}abortRequests(){var e,t;null==(e=this.loader)||e.abort(),null==(t=this.keyLoader)||t.abort()}setElementaryStreamInfo(e,t,n,r,i,o=!1){const{elementaryStreams:a}=this,s=a[e];s?(s.startPTS=Math.min(s.startPTS,t),s.endPTS=Math.max(s.endPTS,n),s.startDTS=Math.min(s.startDTS,r),s.endDTS=Math.max(s.endDTS,i)):a[e]={startPTS:t,endPTS:n,startDTS:r,endDTS:i,partial:o}}}class Pte extends Mte{constructor(e,t,n,r,i){super(n),this.fragOffset=0,this.duration=0,this.gap=!1,this.independent=!1,this.relurl=void 0,this.fragment=void 0,this.index=void 0,this.duration=e.decimalFloatingPoint("DURATION"),this.gap=e.bool("GAP"),this.independent=e.bool("INDEPENDENT"),this.relurl=e.enumeratedString("URI"),this.fragment=t,this.index=r;const o=e.enumeratedString("BYTERANGE");o&&this.setByteRange(o,i),i&&(this.fragOffset=i.fragOffset+i.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:e}=this;return!!(e.audio||e.video||e.audiovideo)}}function Rte(e,t){const n=Object.getPrototypeOf(e);if(n){return Object.getOwnPropertyDescriptor(n,t)||Rte(n,t)}}const Ote=Math.pow(2,32)-1,Dte=[].push,Ite={video:1,audio:2,id3:3,text:4};function _te(e){return String.fromCharCode.apply(null,e)}function Fte(e,t){const n=e[t]<<8|e[t+1];return n<0?65536+n:n}function $te(e,t){const n=Bte(e,t);return n<0?4294967296+n:n}function Nte(e,t){let n=$te(e,t);return n*=Math.pow(2,32),n+=$te(e,t+4),n}function Bte(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}function jte(e,t){const n=[];if(!t.length)return n;const r=e.byteLength;for(let i=0;i<r;){const o=$te(e,i),a=o>1?i+o:r;if(_te(e.subarray(i+4,i+8))===t[0])if(1===t.length)n.push(e.subarray(i+8,a));else{const r=jte(e.subarray(i+8,a),t.slice(1));r.length&&Dte.apply(n,r)}i=a}return n}function zte(e){const t=[],n=e[0];let r=8;const i=$te(e,r);r+=4;let o=0,a=0;0===n?(o=$te(e,r),a=$te(e,r+4),r+=8):(o=Nte(e,r),a=Nte(e,r+8),r+=16),r+=2;let s=e.length+a;const l=Fte(e,r);r+=2;for(let c=0;c<l;c++){let n=r;const o=$te(e,n);n+=4;const a=2147483647&o;if(1==(2147483648&o)>>>31)return lte.warn("SIDX has hierarchical references (not supported)"),null;const l=$te(e,n);n+=4,t.push({referenceSize:a,subsegmentDuration:l,info:{duration:l/i,start:s,end:s+a-1}}),s+=a,n+=4,r=n}return{earliestPresentationTime:o,timescale:i,version:n,referencesCount:l,references:t}}function Vte(e){const t=[],n=jte(e,["moov","trak"]);for(let r=0;r<n.length;r++){const e=n[r],i=jte(e,["tkhd"])[0];if(i){let n=i[0];const r=$te(i,0===n?12:20),o=jte(e,["mdia","mdhd"])[0];if(o){n=o[0];const i=$te(o,0===n?12:20),a=jte(e,["mdia","hdlr"])[0];if(a){const n=_te(a.subarray(8,12)),o={soun:Ste,vide:xte}[n],s=Hte(jte(e,["mdia","minf","stbl","stsd"])[0]);o?(t[r]={timescale:i,type:o,stsd:s},t[o]=tte({timescale:i,id:r},s)):t[r]={timescale:i,type:n,stsd:s}}}}}return jte(e,["moov","mvex","trex"]).forEach(e=>{const n=$te(e,4),r=t[n];r&&(r.default={duration:$te(e,12),flags:$te(e,20)})}),t}function Hte(e){const t=e.subarray(8),n=t.subarray(86),r=_te(t.subarray(4,8));let i,o=r;const a="enca"===r||"encv"===r;if(a){const e=jte(t,[r])[0];jte(e.subarray("enca"===r?28:78),["sinf"]).forEach(e=>{const t=jte(e,["schm"])[0];if(t){const n=_te(t.subarray(4,8));if("cbcs"===n||"cenc"===n){const t=jte(e,["frma"])[0];t&&(o=_te(t))}}})}const s=o;switch(o){case"avc1":case"avc2":case"avc3":case"avc4":{const e=jte(n,["avcC"])[0];e&&e.length>3&&(o+="."+Gte(e[1])+Gte(e[2])+Gte(e[3]),i=Ute("avc1"===s?"dva1":"dvav",n));break}case"mp4a":{const e=jte(t,[r])[0],n=jte(e.subarray(28),["esds"])[0];if(n&&n.length>7){let e=4;if(3!==n[e++])break;e=Wte(n,e),e+=2;const t=n[e++];if(128&t&&(e+=2),64&t&&(e+=n[e++]),4!==n[e++])break;e=Wte(n,e);const r=n[e++];if(64!==r)break;
vendor: 1,673 bytes, line 1
1if(o+="."+Gte(r),e+=12,5!==n[e++])break;e=Wte(n,e);const i=n[e++];let a=(248&i)>>3;31===a&&(a+=1+((7&i)<<3)+((224&n[e])>>5)),o+="."+a}break}case"hvc1":case"hev1":{const e=jte(n,["hvcC"])[0];if(e&&e.length>12){const t=e[1],n=["","A","B","C"][t>>6],r=31&t,i=$te(e,2),a=(32&t)>>5?"H":"L",s=e[12],l=e.subarray(6,12);o+="."+n+r,o+="."+function(e){let t=0;for(let n=0;n<32;n++)t|=(e>>n&1)<<31-n;return t>>>0}(i).toString(16).toUpperCase(),o+="."+a+s;let c="";for(let e=l.length;e--;){const t=l[e];(t||c)&&(c="."+t.toString(16).toUpperCase()+c)}o+=c}i=Ute("hev1"==s?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":o=Ute(o,n)||o;break;case"vp09":{const e=jte(n,["vpcC"])[0];if(e&&e.length>6){const t=e[4],n=e[5],r=e[6]>>4&15;o+="."+qte(t)+"."+qte(n)+"."+qte(r)}break}case"av01":{const e=jte(n,["av1C"])[0];if(e&&e.length>2){const t=e[1]>>>5,r=31&e[1],a=e[2]>>>7?"H":"M",s=(64&e[2])>>6,l=(32&e[2])>>5,c=2===t&&s?l?12:10:s?10:8,u=(16&e[2])>>4,d=(8&e[2])>>3,h=(4&e[2])>>2,f=3&e[2],p=1,m=1,g=1,v=0;o+="."+t+"."+qte(r)+a+"."+qte(c)+"."+u+"."+d+h+f+"."+qte(p)+"."+qte(m)+"."+qte(g)+"."+v,i=Ute("dav1",n)}break}}return{codec:o,encrypted:a,supplemental:i}}function Ute(e,t){const n=jte(t,["dvvC"]),r=n.length?n[0]:jte(t,["dvcC"])[0];if(r){const t=r[2]>>1&127,n=r[2]<<5&32|r[3]>>3&31;return e+"."+qte(t)+"."+qte(n)}}function Wte(e,t){const n=t+5;for(;128&e[t++]&&t<n;);return t}function Gte(e){return("0"+e.toString(16).toUpperCase()).slice(-2)}function qte(e){return(e<10?"0":"")+e}function Kte(e,t){jte(e,["moov","trak"]).forEach(e=>{const n=jte(e,["mdia","minf","stbl","stsd"])[0];if(!n)return;const r=n.subarray(8);let i=jte(r,["enca"]);const o=i.length>0;
vendor: 8,438 bytes, line 1
1o||(i=jte(r,["encv"])),i.forEach(e=>{jte(o?e.subarray(28):e.subarray(78),["sinf"]).forEach(e=>{const n=Yte(e);n&&t(n,o)})})})}function Yte(e){const t=jte(e,["schm"])[0];if(t){const n=_te(t.subarray(4,8));if("cbcs"===n||"cenc"===n){const t=jte(e,["schi","tenc"])[0];if(t)return t}}}function Zte(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function Qte(e,t){const n=[],r=t.samples,i=t.timescale,o=t.id;let a=!1;return jte(r,["moof"]).map(s=>{const l=s.byteOffset-8;jte(s,["traf"]).map(s=>{const c=jte(s,["tfdt"]).map(e=>{const t=e[0];let n=$te(e,4);return 1===t&&(n*=Math.pow(2,32),n+=$te(e,8)),n/i})[0];return void 0!==c&&(e=c),jte(s,["tfhd"]).map(c=>{const u=$te(c,4),d=16777215&$te(c,0);let h=0;const f=!!(16&d);let p=0;const m=!!(32&d);let g=8;u===o&&(!!(1&d)&&(g+=8),!!(2&d)&&(g+=4),!!(8&d)&&(h=$te(c,g),g+=4),f&&(p=$te(c,g),g+=4),m&&(g+=4),"video"===t.type&&(a=Xte(t.codec)),jte(s,["trun"]).map(o=>{const s=o[0],c=16777215&$te(o,0),u=!!(1&c);let d=0;const f=!!(4&c),m=!!(256&c);let g=0;const v=!!(512&c);let y=0;const b=!!(1024&c),C=!!(2048&c);let w=0;const E=$te(o,4);let k=8;u&&(d=$te(o,k),k+=4),f&&(k+=4);let S=d+l;for(let l=0;l<E;l++){if(m?(g=$te(o,k),k+=4):g=h,v?(y=$te(o,k),k+=4):y=p,b&&(k+=4),C&&(w=0===s?$te(o,k):Bte(o,k),k+=4),t.type===xte){let t=0;for(;t<y;){const o=$te(r,S);S+=4,Jte(a,r[S])&&ene(r.subarray(S,S+o),a?2:1,e+w/i,n),S+=o,t+=o+4}}e+=g/i}}))})})}),n}function Xte(e){if(!e)return!1;const t=e.substring(0,4);return"hvc1"===t||"hev1"===t||"dvh1"===t||"dvhe"===t}function Jte(e,t){if(e){const e=t>>1&63;return 39===e||40===e}return 6==(31&t)}function ene(e,t,n,r){const i=tne(e);let o=0;o+=t;let a=0,s=0,l=0;for(;o<i.length;){a=0;do{if(o>=i.length)break;l=i[o++],a+=l}while(255===l);s=0;do{if(o>=i.length)break;l=i[o++],s+=l}while(255===l);const e=i.length-o;let t=o;if(s<e)o+=s;else if(s>e){lte.error(`Malformed SEI payload. ${s} is too small, only ${e} bytes left to parse.`);break}if(4===a){if(181===i[t++]){const e=Fte(i,t);if(t+=2,49===e){const e=$te(i,t);if(t+=4,1195456820===e){const e=i[t++];if(3===e){const o=i[t++],s=64&o,l=s?2+3*(31&o):0,c=new Uint8Array(l);if(s){c[0]=o;for(let e=1;e<l;e++)c[e]=i[t++]}r.push({type:e,payloadType:a,pts:n,bytes:c})}}}}}else if(5===a&&s>16){const e=[];for(let n=0;n<16;n++){const r=i[t++].toString(16);e.push(1==r.length?"0"+r:r),3!==n&&5!==n&&7!==n&&9!==n||e.push("-")}const o=s-16,l=new Uint8Array(o);for(let n=0;n<o;n++)l[n]=i[t++];r.push({payloadType:a,pts:n,uuid:e.join(""),userData:dte(l),userDataBytes:l})}}}function tne(e){const t=e.byteLength,n=[];let r=1;for(;r<t-2;)0===e[r]&&0===e[r+1]&&3===e[r+2]?(n.push(r+2),r+=2):r++;if(0===n.length)return e;const i=t-n.length,o=new Uint8Array(i);let a=0;for(r=0;r<i;a++,r++)a===n[0]&&(a++,n.shift()),o[r]=e[a];return o}function nne(e){const t=e.getUint32(0),n=e.byteOffset,r=e.byteLength;if(r<t)return{offset:n,size:r};if(1886614376!==e.getUint32(4))return{offset:n,size:t};const i=e.getUint32(8)>>>24;if(0!==i&&1!==i)return{offset:n,size:t};const o=e.buffer,a=hte(new Uint8Array(o,n+12,16));let s=null,l=null,c=0;if(0===i)c=28;else{const i=e.getUint32(28);if(!i||r<32+16*i)return{offset:n,size:t};s=[];for(let e=0;e<i;e++)s.push(new Uint8Array(o,n+32+16*e,16));c=32+16*i}if(!c)return{offset:n,size:t};const u=e.getUint32(c);return t-32<u?{offset:n,size:t}:(l=new Uint8Array(o,n+c+4,u),{version:i,systemId:a,kids:s,data:l,offset:n,size:t})}const rne=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),ine={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,dav1:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function one(e,t){const n=ine[t];return!!n&&!!n[e.slice(0,4)]}function ane(e,t,n=!0){return!e.split(",").some(e=>!sne(e,t,n))}function sne(e,t,n=!0){var r;const i=cte(n);return null!=(r=null==i?void 0:i.isTypeSupported(lne(e,t)))&&r}function lne(e,t){return`${t}/mp4;codecs=${e}`}function cne(e){if(e){const t=e.substring(0,4);return ine.video[t]}return 2}function une(e){const t=rne();return e.split(",").reduce((e,n)=>{const r=t&&Xte(n)?9:ine.video[n];return r?(2*r+e)/(e?3:2):(ine.audio[n]+e)/(e?2:1)},0)}const dne={},hne=/flac|opus|mp4a\.40\.34/i;function fne(e,t=!0){return e.replace(hne,e=>function(e,t=!0){if(dne[e])return dne[e];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[e];for(let i=0;i<n.length;i++){var r;if(sne(n[i],"audio",t))return dne[e]=n[i],n[i];if("mp3"===n[i]&&null!=(r=cte(t))&&r.isTypeSupported("audio/mpeg"))return""}return e}(e.toLowerCase(),t))}function pne(e,t){if(e&&(e.length>4||-1!==["ac-3","ec-3","alac","fLaC","Opus"].indexOf(e))&&(mne(e,"audio")||mne(e,"video")))return e;if(t){const n=t.split(",");if(n.length>1){if(e)for(let t=n.length;t--;)if(n[t].substring(0,4)===e.substring(0,4))return n[t];return n[0]}}return t||e}function mne(e,t){return one(e,t)&&sne(e,t)}function gne(e){if(e.startsWith("av01.")){const t=e.split("."),n=["0","111","01","01","01","0"];for(let e=t.length;e>4&&e<10;e++)t[e]=n[e-4];return t.join(".")}return e}function vne(e){const t=cte(e)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function yne(e){return e.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const bne={supported:!1,smooth:!1,powerEfficient:!1},Cne={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function wne(e,t){return{supported:!1,configurations:t,decodingInfoResults:[bne],error:e}}function Ene(e,t,n,r,i,o){const a=e.videoCodec,s=e.audioCodec?e.audioGroups:null,l=null==o?void 0:o.audioCodec,c=null==o?void 0:o.channels,u=c?parseInt(c):l?1/0:2;let d=null;if(null!=s&&s.length)try{d=1===s.length&&s[0]?t.groups[s[0]].channels:s.reduce((e,n)=>{if(n){const r=t.groups[n];if(!r)throw new Error(`Audio track group ${n} not found`);Object.keys(r.channels).forEach(t=>{e[t]=(e[t]||0)+r.channels[t]})}return e},{2:0})}catch(h){return!0}return void 0!==a&&(a.split(",").some(e=>Xte(e))||e.width>1920&&e.height>1088||e.height>1920&&e.width>1088||e.frameRate>Math.max(r,30)||"SDR"!==e.videoRange&&e.videoRange!==n||e.bitrate>Math.max(i,8e6))||!!d&&$ee(u)&&Object.keys(d).some(e=>parseInt(e)>u)}function kne(e,t,n,r={}){const i=e.videoCodec;if(!i&&!e.audioCodec||!n)return Promise.resolve(Cne);const o=[],a=function(e){var t;const n=null==(t=e.videoCodec)?void 0:t.split(","),r=xne(e),i=e.width||640,o=e.height||480,a=e.frameRate||30,s=e.videoRange.toLowerCase();return n?n.map(e=>{const t={contentType:lne(gne(e),"video"),width:i,height:o,bitrate:r,framerate:a};return"sdr"!==s&&(t.transferFunction=s),t}):[]}(e),s=a.length,l=function(e,t,n){var r;const i=null==(r=e.audioCodec)?void 0:r.split(","),o=xne(e);return i&&e.audioGroups?e.audioGroups.reduce((e,r)=>{var a;const s=r?null==(a=t.groups[r])?void 0:a.tracks:null;return s?s.reduce((e,t)=>{if(t.groupId===r){const r=parseFloat(t.channels||"");i.forEach(t=>{const i={contentType:lne(t,"audio"),bitrate:n?Sne(t,o):o};r&&(i.channels=""+r),e.push(i)})}return e},e):e},[]):[]}(e,t,s>0),c=l.length;for(let u=s||1*c||1;u--;){const e={type:"media-source"};if(s&&(e.video=a[u%s]),c){e.audio=l[u%c];const t=e.audio.bitrate;e.video&&t&&(e.video.bitrate-=t)}o.push(e)}if(i){const e=navigator.userAgent;if(i.split(",").some(e=>Xte(e))&&rne())return Promise.resolve(wne(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent string: (${e})`),o))}return Promise.all(o.map(e=>{const t=function(e){let t="";const{audio:n,video:r}=e;return r&&(t+=`${yne(r.contentType)}_r${r.height}x${r.width}f${Math.ceil(r.framerate)}${r.transferFunction||"sd"}_${Math.ceil(r.bitrate/1e5)}`),n&&(t+=`${r?"_":""}${yne(n.contentType)}_c${n.channels}`),t}(e);return r[t]||(r[t]=n.decodingInfo(e))})).then(e=>({supported:!e.some(e=>!e.supported),configurations:o,decodingInfoResults:e})).catch(e=>({supported:!1,configurations:o,decodingInfoResults:[],error:e}))}function Sne(e,t){if(t<=1)return 1;let n=128e3;return"ec-3"===e?n=768e3:"ac-3"===e&&(n=64e4),Math.min(t/2,n)}
vendor: 5,490 bytes, line 1
1function xne(e){return 1e3*Math.ceil(Math.max(.9*e.bitrate,e.averageBitrate)/1e3)||1}const Tne=["NONE","TYPE-0","TYPE-1",null],Mne=["SDR","PQ","HLG"];function Ane(e){const{canSkipUntil:t,canSkipDateRanges:n,age:r}=e;return t&&r<t/2?n?"v2":"YES":""}class Lne{constructor(e,t,n){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=e,this.part=t,this.skip=n}addDirectives(e){const t=new self.URL(e);return void 0!==this.msn&&t.searchParams.set("_HLS_msn",this.msn.toString()),void 0!==this.part&&t.searchParams.set("_HLS_part",this.part.toString()),this.skip&&t.searchParams.set("_HLS_skip",this.skip),t.href}}class Pne{constructor(e){if(this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.url=void 0,this.frameRate=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.supplemental=void 0,this.videoCodec=void 0,this.width=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.supportedPromise=void 0,this.supportedResult=void 0,this._avgBitrate=0,this._audioGroups=void 0,this._subtitleGroups=void 0,this._urlId=0,this.url=[e.url],this._attrs=[e.attrs],this.bitrate=e.bitrate,e.details&&(this.details=e.details),this.id=e.id||0,this.name=e.name,this.width=e.width||0,this.height=e.height||0,this.frameRate=e.attrs.optionalFloat("FRAME-RATE",0),this._avgBitrate=e.attrs.decimalInteger("AVERAGE-BANDWIDTH"),this.audioCodec=e.audioCodec,this.videoCodec=e.videoCodec,this.codecSet=[e.videoCodec,e.audioCodec].filter(e=>!!e).map(e=>e.substring(0,4)).join(","),"supplemental"in e){var t;this.supplemental=e.supplemental;const n=null==(t=e.supplemental)?void 0:t.videoCodec;n&&n!==e.videoCodec&&(this.codecSet+=`,${n.substring(0,4)}`)}this.addGroupId("audio",e.attrs.AUDIO),this.addGroupId("text",e.attrs.SUBTITLES)}get maxBitrate(){return Math.max(this.realBitrate,this.bitrate)}get averageBitrate(){return this._avgBitrate||this.realBitrate||this.bitrate}get attrs(){return this._attrs[0]}get codecs(){return this.attrs.CODECS||""}get pathwayId(){return this.attrs["PATHWAY-ID"]||"."}get videoRange(){return this.attrs["VIDEO-RANGE"]||"SDR"}get score(){return this.attrs.optionalFloat("SCORE",0)}get uri(){return this.url[0]||""}hasAudioGroup(e){return Rne(this._audioGroups,e)}hasSubtitleGroup(e){return Rne(this._subtitleGroups,e)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(e,t){if(t)if("audio"===e){let e=this._audioGroups;e||(e=this._audioGroups=[]),-1===e.indexOf(t)&&e.push(t)}else if("text"===e){let e=this._subtitleGroups;e||(e=this._subtitleGroups=[]),-1===e.indexOf(t)&&e.push(t)}}get urlId(){return 0}set urlId(e){}get audioGroupIds(){return this.audioGroups?[this.audioGroupId]:void 0}get textGroupIds(){return this.subtitleGroups?[this.textGroupId]:void 0}get audioGroupId(){var e;return null==(e=this.audioGroups)?void 0:e[0]}get textGroupId(){var e;return null==(e=this.subtitleGroups)?void 0:e[0]}addFallback(){}}function Rne(e,t){return!(!t||!e)&&-1!==e.indexOf(t)}const One=(e,t)=>JSON.stringify(e,(e=>{const t=new WeakSet;return(n,r)=>{if(e&&(r=e(n,r)),"object"==typeof r&&null!==r){if(t.has(r))return;t.add(r)}return r}})(t));function Dne(e,t){lte.log(`[abr] start candidates with "${e}" ignored because ${t}`)}function Ine(e){return e.reduce((e,t)=>{let n=e.groups[t.groupId];n||(n=e.groups[t.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),n.tracks.push(t);const r=t.channels||"2";return n.channels[r]=(n.channels[r]||0)+1,n.hasDefault=n.hasDefault||t.default,n.hasAutoSelect=n.hasAutoSelect||t.autoselect,n.hasDefault&&(e.hasDefaultAudio=!0),n.hasAutoSelect&&(e.hasAutoSelectAudio=!0),e},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function _ne(e){if(!e)return e;const{lang:t,assocLang:n,characteristics:r,channels:i,audioCodec:o}=e;return{lang:t,assocLang:n,characteristics:r,channels:i,audioCodec:o}}function Fne(e,t,n){if("attrs"in e){const n=t.indexOf(e);if(-1!==n)return n}for(let r=0;r<t.length;r++)if($ne(e,t[r],n))return r;return-1}function $ne(e,t,n){const{groupId:r,name:i,lang:o,assocLang:a,default:s}=e,l=e.forced;return(void 0===r||t.groupId===r)&&(void 0===i||t.name===i)&&(void 0===o||function(e,t="--"){return e.length===t.length?e===t:e.startsWith(t)||t.startsWith(e)}(o,t.lang))&&(void 0===o||t.assocLang===a)&&(void 0===s||t.default===s)&&(void 0===l||t.forced===l)&&(!("characteristics"in e)||function(e,t=""){const n=e.split(","),r=t.split(",");return n.length===r.length&&!n.some(e=>-1===r.indexOf(e))}(e.characteristics||"",t.characteristics))&&(void 0===n||n(e,t))}function Nne(e,t){const{audioCodec:n,channels:r}=e;return!(void 0!==n&&(t.audioCodec||"").substring(0,4)!==n.substring(0,4)||void 0!==r&&r!==(t.channels||"2"))}function Bne(e,t,n){for(let r=t;r>-1;r--)if(n(e[r]))return r;for(let r=t+1;r<e.length;r++)if(n(e[r]))return r;return-1}function jne(e,t){var n;return!!e&&e!==(null==(n=t.loadLevelObj)?void 0:n.uri)}const zne=function(e,t){let n=0,r=e.length-1,i=null,o=null;for(;n<=r;){i=(n+r)/2|0,o=e[i];const a=t(o);if(a>0)n=i+1;else{if(!(a<0))return o;r=i-1}}return null};function Vne(e,t,n=0,r=0,i=.005){let o=null;if(e){o=t[1+e.sn-t[0].sn]||null;const r=e.endDTS-n;r>0&&r<15e-7&&(n+=15e-7),o&&e.level!==o.level&&o.end<=e.end&&(o=t[2+e.sn-t[0].sn]||null)}else 0===n&&0===t[0].start&&(o=t[0]);if(o&&((!e||e.level===o.level)&&0===Hne(n,r,o)||function(e,t,n){if(t&&0===t.start&&t.level<e.level&&(t.endPTS||0)>0){const r=t.tagList.reduce((e,t)=>
vendor: 9,374 bytes, line 1
1("INF"===t[0]&&(e+=parseFloat(t[1])),e),n);return e.start<=r}return!1}(o,e,Math.min(i,r))))return o;const a=zne(t,Hne.bind(null,n,r));return!a||a===e&&o?o:a}function Hne(e=0,t=0,n){if(n.start<=e&&n.start+n.duration>e)return 0;const r=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-r<=e?1:n.start-r>e&&n.start?-1:0}function Une(e,t,n){const r=1e3*Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return(n.endProgramDateTime||0)-r>e}function Wne(e,t,n){if(e&&e.startCC<=t&&e.endCC>=t){let r=e.fragments;const{fragmentHint:i}=e;let o;return i&&(r=r.concat(i)),zne(r,e=>e.cc<t?1:e.cc>t?-1:(o=e,e.end<=n?1:e.start>n?-1:0)),o||null}return null}function Gne(e){switch(e.details){case zee.FRAG_LOAD_TIMEOUT:case zee.KEY_LOAD_TIMEOUT:case zee.LEVEL_LOAD_TIMEOUT:case zee.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function qne(e){return e.details.startsWith("key")}function Kne(e){return qne(e)&&!!e.frag&&!e.frag.decryptdata}function Yne(e,t){const n=Gne(t);return e.default[(n?"timeout":"error")+"Retry"]}function Zne(e,t){const n="linear"===e.backoff?1:Math.pow(2,t);return Math.min(n*e.retryDelayMs,e.maxRetryDelayMs)}function Qne(e){return tte(tte({},e),{errorRetry:null,timeoutRetry:null})}function Xne(e,t,n,r){if(!e)return!1;const i=null==r?void 0:r.code,o=t<e.maxNumRetry&&(function(e){return Jne(e)||!!e&&(e<400||e>499)}(i)||!!n);return e.shouldRetry?e.shouldRetry(e,t,n,r,o):o}function Jne(e){return 0===e&&!1===navigator.onLine}function ere(e){const t={action:0,flags:0};return e&&(t.resolved=!0),t}var tre="NOT_LOADED",nre="APPENDING",rre="PARTIAL",ire="OK";class ore{constructor(e){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=e,this._registerListeners()}_registerListeners(){const{hls:e}=this;e&&(e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.BUFFER_APPENDED,this.onBufferAppended,this),e.on(Vee.FRAG_BUFFERED,this.onFragBuffered,this),e.on(Vee.FRAG_LOADED,this.onFragLoaded,this))}_unregisterListeners(){const{hls:e}=this;e&&(e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.BUFFER_APPENDED,this.onBufferAppended,this),e.off(Vee.FRAG_BUFFERED,this.onFragBuffered,this),e.off(Vee.FRAG_LOADED,this.onFragLoaded,this))}destroy(){this._unregisterListeners(),this.hls=this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(e,t){const n=this.activePartLists[t];if(n)for(let r=n.length;r--;){const t=n[r];if(!t)break;if(t.start<=e&&e<=t.end&&t.loaded)return t}return this.getBufferedFrag(e,t)}getBufferedFrag(e,t){return this.getFragAtPos(e,t,!0)}getFragAtPos(e,t,n){const{fragments:r}=this,i=Object.keys(r);for(let o=i.length;o--;){const a=r[i[o]];if((null==a?void 0:a.body.type)===t&&(!n||a.buffered)){const t=a.body;if(t.start<=e&&e<=t.end)return t}}return null}detectEvictedFragments(e,t,n,r,i){this.timeRanges&&(this.timeRanges[e]=t);const o=(null==r?void 0:r.fragment.sn)||-1;Object.keys(this.fragments).forEach(r=>{const a=this.fragments[r];if(!a)return;if(o>=a.body.sn)return;if(!a.buffered&&(!a.loaded||i))return void(a.body.type===n&&this.removeFragment(a.body));const s=a.range[e];s&&(0!==s.time.length?s.time.some(e=>{const n=!this.isTimeBuffered(e.startPTS,e.endPTS,t);return n&&this.removeFragment(a.body),n}):this.removeFragment(a.body))})}detectPartialFragments(e){const t=this.timeRanges;if(!t||"initSegment"===e.frag.sn)return;const n=e.frag,r=sre(n),i=this.fragments[r];if(!i||i.buffered&&n.gap)return;const o=!n.relurl;Object.keys(t).forEach(r=>{const a=n.elementaryStreams[r];if(!a)return;const s=t[r],l=o||!0===a.partial;i.range[r]=this.getBufferedTimes(n,e.part,l,s)}),i.loaded=null,Object.keys(i.range).length?(this.bufferedEnd(i,n),are(i)||this.removeParts(n.sn-1,n.type)):this.removeFragment(i.body)}bufferedEnd(e,t){e.buffered=!0,(e.body.endList=t.endList||e.body.endList)&&(this.endListFragments[e.body.type]=e)}removeParts(e,t){const n=this.activePartLists[t];n&&(this.activePartLists[t]=lre(n,t=>t.fragment.sn>=e))}fragBuffered(e,t){const n=sre(e);let r=this.fragments[n];!r&&t&&(r=this.fragments[n]={body:e,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},e.gap&&(this.hasGaps=!0)),r&&(r.loaded=null,this.bufferedEnd(r,e))}getBufferedTimes(e,t,n,r){const i={time:[],partial:n},o=e.start,a=e.end,s=e.minEndPTS||a,l=e.maxStartPTS||o;for(let c=0;c<r.length;c++){const e=r.start(c)-this.bufferPadding,t=r.end(c)+this.bufferPadding;if(l>=e&&s<=t){i.time.push({startPTS:Math.max(o,r.start(c)),endPTS:Math.min(a,r.end(c))});break}if(o<t&&a>e){const e=Math.max(o,r.start(c)),t=Math.min(a,r.end(c));t>e&&(i.partial=!0,i.time.push({startPTS:e,endPTS:t}))}else if(a<=e)break}return i}getPartialFragment(e){let t,n,r,i=null,o=0;const{bufferPadding:a,fragments:s}=this;return Object.keys(s).forEach(l=>{const c=s[l];c&&are(c)&&(n=c.body.start-a,r=c.body.end+a,e>=n&&e<=r&&(t=Math.min(e-n,r-e),o<=t&&(i=c.body,o=t)))}),i}isEndListAppended(e){const t=this.endListFragments[e];return void 0!==t&&(t.buffered||are(t))}getState(e){const t=sre(e),n=this.fragments[t];return n?n.buffered?are(n)?rre:ire:nre:tre}isTimeBuffered(e,t,n){let r,i;for(let o=0;o<n.length;o++){if(r=n.start(o)-this.bufferPadding,i=n.end(o)+this.bufferPadding,e>=r&&t<=i)return!0;if(t<=r)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(e,t){if("initSegment"===t.frag.sn||t.frag.bitrateTest)return;const n=t.frag,r=t.part?null:t,i=sre(n);this.fragments[i]={body:n,appendedPTS:null,loaded:r,buffered:!1,range:Object.create(null)}}onBufferAppended(e,t){const{frag:n,part:r,timeRanges:i,type:o}=t;if("initSegment"===n.sn)return;const a=n.type;if(r){let e=this.activePartLists[a];e||(this.activePartLists[a]=e=[]),e.push(r)}this.timeRanges=i;const s=i[o];this.detectEvictedFragments(o,s,a,r)}onFragBuffered(e,t){this.detectPartialFragments(t)}hasFragment(e){const t=sre(e);return!!this.fragments[t]}hasFragments(e){const{fragments:t}=this,n=Object.keys(t);if(!e)return n.length>0;for(let r=n.length;r--;){const i=t[n[r]];if((null==i?void 0:i.body.type)===e)return!0}return!1}hasParts(e){var t;return!(null==(t=this.activePartLists[e])||!t.length)}removeFragmentsInRange(e,t,n,r,i){r&&!this.hasGaps||Object.keys(this.fragments).forEach(o=>{const a=this.fragments[o];if(!a)return;const s=a.body;s.type!==n||r&&!s.gap||s.start<t&&s.end>e&&(a.buffered||i)&&this.removeFragment(s)})}removeFragment(e){const t=sre(e);e.clearElementaryStreamInfo();const n=this.activePartLists[e.type];if(n){const t=e.sn;this.activePartLists[e.type]=lre(n,e=>e.fragment.sn!==t)}delete this.fragments[t],e.endList&&delete this.endListFragments[e.type]}removeAllFragments(){var e;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const t=null==(e=this.hls)||null==(e=e.latestLevelDetails)?void 0:e.partList;t&&t.forEach(e=>e.clearElementaryStreamInfo())}}function are(e){var t,n,r;return e.buffered&&!!(e.body.gap||null!=(t=e.range.video)&&t.partial||null!=(n=e.range.audio)&&n.partial||null!=(r=e.range.audiovideo)&&r.partial)}function sre(e){return`${e.type}_${e.level}_${e.sn}`}function lre(e,t){return e.filter(e=>{const n=t(e);return n||e.clearElementaryStreamInfo(),n})}class cre{constructor(e,t,n){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=e,this.aesIV=t,this.aesMode=n}decrypt(e,t){switch(this.aesMode){case 0:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e);case 1:return this.subtle.decrypt({name:"AES-CTR",counter:this.aesIV,length:64},t,e);default:throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`)}}}class ure{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(e){const t=new DataView(e),n=new Uint32Array(4);for(let r=0;r<4;r++)n[r]=t.getUint32(4*r);return n}initTable(){const e=this.sBox,t=this.invSBox,n=this.subMix,r=n[0],i=n[1],o=n[2],a=n[3],s=this.invSubMix,l=s[0],c=s[1],u=s[2],d=s[3],h=new Uint32Array(256);let f=0,p=0,m=0;for(m=0;m<256;m++)h[m]=m<128?m<<1:m<<1^283;for(m=0;m<256;m++){let n=p^p<<1^p<<2^p<<3^p<<4;n=n>>>8^255&n^99,e[f]=n,t[n]=f;const s=h[f],m=h[s],g=h[m];let v=257*h[n]^16843008*n;r[f]=v<<24|v>>>8,i[f]=v<<16|v>>>16,o[f]=v<<8|v>>>24,a[f]=v,v=16843009*g^65537*m^257*s^16843008*f,l[n]=v<<24|v>>>8,c[n]=v<<16|v>>>16,u[n]=v<<8|v>>>24,d[n]=v,f?(f=s^h[h[h[g^s]]],p^=h[h[p]]):f=p=1}}expandKey(e){const t=this.uint8ArrayToUint32Array_(e);let n=!0,r=0;for(;r<t.length&&n;)n=t[r]===this.key[r],r++;if(n)return;this.key=t;const i=this.keySize=t.length;if(4!==i&&6!==i&&8!==i)throw new Error("Invalid aes key size="+i);const o=this.ksRows=4*(i+6+1);let a,s;const l=this.keySchedule=new Uint32Array(o),c=this.invKeySchedule=new Uint32Array(o),u=this.sBox,d=this.rcon,h=this.invSubMix,f=h[0],p=h[1],m=h[2],g=h[3];let v,y;for(a=0;a<o;a++)a<i?v=l[a]=t[a]:(y=v,a%i===0?(y=y<<8|y>>>24,y=u[y>>>24]<<24|u[y>>>16&255]<<16|u[y>>>
vendor: 4,092 bytes, line 1
18&255]<<8|u[255&y],y^=d[a/i|0]<<24):i>6&&a%i===4&&(y=u[y>>>24]<<24|u[y>>>16&255]<<16|u[y>>>8&255]<<8|u[255&y]),l[a]=v=(l[a-i]^y)>>>0);for(s=0;s<o;s++)a=o-s,y=3&s?l[a]:l[a-4],c[s]=s<4||a<=4?y:f[u[y>>>24]]^p[u[y>>>16&255]]^m[u[y>>>8&255]]^g[u[255&y]],c[s]=c[s]>>>0}networkToHostOrderSwap(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24}decrypt(e,t,n){const r=this.keySize+6,i=this.invKeySchedule,o=this.invSBox,a=this.invSubMix,s=a[0],l=a[1],c=a[2],u=a[3],d=this.uint8ArrayToUint32Array_(n);let h=d[0],f=d[1],p=d[2],m=d[3];const g=new Int32Array(e),v=new Int32Array(g.length);let y,b,C,w,E,k,S,x,T,M,A,L,P,R;const O=this.networkToHostOrderSwap;for(;t<g.length;){for(T=O(g[t]),M=O(g[t+1]),A=O(g[t+2]),L=O(g[t+3]),E=T^i[0],k=L^i[1],S=A^i[2],x=M^i[3],P=4,R=1;R<r;R++)y=s[E>>>24]^l[k>>16&255]^c[S>>8&255]^u[255&x]^i[P],b=s[k>>>24]^l[S>>16&255]^c[x>>8&255]^u[255&E]^i[P+1],C=s[S>>>24]^l[x>>16&255]^c[E>>8&255]^u[255&k]^i[P+2],w=s[x>>>24]^l[E>>16&255]^c[k>>8&255]^u[255&S]^i[P+3],E=y,k=b,S=C,x=w,P+=4;y=o[E>>>24]<<24^o[k>>16&255]<<16^o[S>>8&255]<<8^o[255&x]^i[P],b=o[k>>>24]<<24^o[S>>16&255]<<16^o[x>>8&255]<<8^o[255&E]^i[P+1],C=o[S>>>24]<<24^o[x>>16&255]<<16^o[E>>8&255]<<8^o[255&k]^i[P+2],w=o[x>>>24]<<24^o[E>>16&255]<<16^o[k>>8&255]<<8^o[255&S]^i[P+3],v[t]=O(y^h),v[t+1]=O(w^f),v[t+2]=O(C^p),v[t+3]=O(b^m),h=T,f=M,p=A,m=L,t+=4}return v.buffer}}class dre{constructor(e,t,n){this.subtle=void 0,this.key=void 0,this.aesMode=void 0,this.subtle=e,this.key=t,this.aesMode=n}expandKey(){const e=function(e){switch(e){case 0:return"AES-CBC";case 1:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${e}`)}}(this.aesMode);return this.subtle.importKey("raw",this.key,{name:e},!1,["encrypt","decrypt"])}}class hre{constructor(e,{removePKCS7Padding:t=!0}={}){if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.enableSoftwareAES=void 0,this.enableSoftwareAES=e.enableSoftwareAES,this.removePKCS7Padding=t,t)try{const e=self.crypto;e&&(this.subtle=e.subtle||e.webkitSubtle)}catch(n){}this.useSoftware=!this.subtle}destroy(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null}isSync(){return this.useSoftware}flush(){const{currentResult:e,remainderData:t}=this;if(!e||t)return this.reset(),null;const n=new Uint8Array(e);return this.reset(),this.removePKCS7Padding?function(e){const t=e.byteLength,n=t&&new DataView(e.buffer).getUint8(t-1);return n?e.slice(0,t-n):e}(n):n}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(e,t,n,r){return this.useSoftware?new Promise((i,o)=>{const a=ArrayBuffer.isView(e)?e:new Uint8Array(e);this.softwareDecrypt(a,t,n,r);const s=this.flush();s?i(s.buffer):o(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(e),t,n,r)}softwareDecrypt(e,t,n,r){const{currentIV:i,currentResult:o,remainderData:a}=this;if(0!==r||16!==t.byteLength)return lte.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),a&&(e=Zte(a,e),this.remainderData=null);const s=this.getValidChunk(e);if(!s.length)return null;i&&(n=i);let l=this.softwareDecrypter;l||(l=this.softwareDecrypter=new ure),l.expandKey(t);const c=o;return this.currentResult=l.decrypt(s.buffer,0,n),this.currentIV=s.slice(-16).buffer,c||null}webCryptoDecrypt(e,t,n,r){if(this.key!==t||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(e,t,n,r));this.key=t,this.fastAesKey=new dre(this.subtle,t,r)}return this.fastAesKey.expandKey().then(t=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new cre(this.subtle,new Uint8Array(n),r).decrypt(e.buffer,t)):Promise.reject(new Error("web crypto not initialized"))).catch(i=>(lte.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${i.name}: ${i.message}`),this.onWebCryptoError(e,t,n,r)))}
vendor: 18,588 bytes, line 1
1onWebCryptoError(e,t,n,r){const i=this.enableSoftwareAES;if(i){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(e,t,n,r);const i=this.flush();if(i)return i.buffer}throw new Error("WebCrypto"+(i?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(e){let t=e;const n=e.length-e.length%16;return n!==e.length&&(t=e.slice(0,n),this.remainderData=e.slice(n)),t}logOnce(e){this.logEnabled&&(lte.log(`[decrypter]: ${e}`),this.logEnabled=!1)}}const fre=Math.pow(2,17);class pre{constructor(e){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=e}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(e,t){const n=e.url;if(!n)return Promise.reject(new vre({type:jee.NETWORK_ERROR,details:zee.FRAG_LOAD_ERROR,fatal:!1,frag:e,error:new Error("Fragment does not have a "+(n?"part list":"url")),networkDetails:null}));this.abort();const r=this.config,i=r.fLoader,o=r.loader;return new Promise((a,s)=>{if(this.loader&&this.loader.destroy(),e.gap){if(e.tagList.some(e=>"GAP"===e[0]))return void s(gre(e));e.gap=!1}const l=this.loader=i?new i(r):new o(r),c=mre(e);e.loader=l;const u=Qne(r.fragLoadPolicy.default),d={loadPolicy:u,timeout:u.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:"initSegment"===e.sn?1/0:fre};e.stats=l.stats;const h={onSuccess:(t,n,r,i)=>{this.resetLoader(e,l);let o=t.data;r.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(o.slice(0,16)),o=o.slice(16)),a({frag:e,part:null,payload:o,networkDetails:i})},onError:(t,r,i,o)=>{this.resetLoader(e,l),s(new vre({type:jee.NETWORK_ERROR,details:zee.FRAG_LOAD_ERROR,fatal:!1,frag:e,response:tte({url:n,data:void 0},t),error:new Error(`HTTP Error ${t.code} ${t.text}`),networkDetails:i,stats:o}))},onAbort:(t,n,r)=>{this.resetLoader(e,l),s(new vre({type:jee.NETWORK_ERROR,details:zee.INTERNAL_ABORTED,fatal:!1,frag:e,error:new Error("Aborted"),networkDetails:r,stats:t}))},onTimeout:(t,n,r)=>{this.resetLoader(e,l),s(new vre({type:jee.NETWORK_ERROR,details:zee.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,error:new Error(`Timeout after ${d.timeout}ms`),networkDetails:r,stats:t}))}};t&&(h.onProgress=(n,r,i,o)=>t({frag:e,part:null,payload:i,networkDetails:o})),l.load(c,d,h)})}loadPart(e,t,n){this.abort();const r=this.config,i=r.fLoader,o=r.loader;return new Promise((a,s)=>{if(this.loader&&this.loader.destroy(),e.gap||t.gap)return void s(gre(e,t));const l=this.loader=i?new i(r):new o(r),c=mre(e,t);e.loader=l;const u=Qne(r.fragLoadPolicy.default),d={loadPolicy:u,timeout:u.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:fre};t.stats=l.stats,l.load(c,d,{onSuccess:(r,i,o,s)=>{this.resetLoader(e,l),this.updateStatsFromPart(e,t);const c={frag:e,part:t,payload:r.data,networkDetails:s};n(c),a(c)},onError:(n,r,i,o)=>{this.resetLoader(e,l),s(new vre({type:jee.NETWORK_ERROR,details:zee.FRAG_LOAD_ERROR,fatal:!1,frag:e,part:t,response:tte({url:c.url,data:void 0},n),error:new Error(`HTTP Error ${n.code} ${n.text}`),networkDetails:i,stats:o}))},onAbort:(n,r,i)=>{e.stats.aborted=t.stats.aborted,this.resetLoader(e,l),s(new vre({type:jee.NETWORK_ERROR,details:zee.INTERNAL_ABORTED,fatal:!1,frag:e,part:t,error:new Error("Aborted"),networkDetails:i,stats:n}))},onTimeout:(n,r,i)=>{this.resetLoader(e,l),s(new vre({type:jee.NETWORK_ERROR,details:zee.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,part:t,error:new Error(`Timeout after ${d.timeout}ms`),networkDetails:i,stats:n}))}})})}updateStatsFromPart(e,t){const n=e.stats,r=t.stats,i=r.total;if(n.loaded+=r.loaded,i){const r=Math.round(e.duration/t.duration),o=Math.min(Math.round(n.loaded/i),r),a=(r-o)*Math.round(n.loaded/o);n.total=n.loaded+a}else n.total=Math.max(n.loaded,n.total);const o=n.loading,a=r.loading;o.start?o.first+=a.first-a.start:(o.start=a.start,o.first=a.first),o.end=a.end}resetLoader(e,t){e.loader=null,this.loader===t&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),t.destroy()}}function mre(e,t=null){const n=t||e,r={frag:e,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},i=n.byteRangeStartOffset,o=n.byteRangeEndOffset;if($ee(i)&&$ee(o)){var a;let t=i,n=o;if("initSegment"===e.sn&&("AES-128"===(s=null==(a=e.decryptdata)?void 0:a.method)||"AES-256"===s)){const e=o-i;e%16&&(n=o+(16-e%16)),0!==i&&(r.resetIV=!0,t=i-16)}r.rangeStart=t,r.rangeEnd=n}var s;return r}function gre(e,t){const n=new Error(`GAP ${e.gap?"tag":"attribute"} found`),r={type:jee.MEDIA_ERROR,details:zee.FRAG_GAP,fatal:!1,frag:e,error:n,networkDetails:null};return t&&(r.part=t),(t||e).stats.aborted=!0,new vre(r)}class vre extends Error{constructor(e){super(e.error.message),this.data=void 0,this.data=e}}class yre extends nte{constructor(e,t){super(e,t),this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}destroy(){this.onHandlerDestroying(),this.onHandlerDestroyed()}onHandlerDestroying(){this.clearNextTick(),this.clearInterval()}onHandlerDestroyed(){}hasInterval(){return!!this._tickInterval}hasNextTick(){return!!this._tickTimer}setInterval(e){return!this._tickInterval&&(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,e),!0)}clearInterval(){return!!this._tickInterval&&(self.clearInterval(this._tickInterval),this._tickInterval=null,!0)}clearNextTick(){return!!this._tickTimer&&(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0)}tick(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)}tickImmediate(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)}doTick(){}}class bre{constructor(e,t,n,r=0,i=-1,o=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing={start:0,executeStart:0,executeEnd:0,end:0},this.buffering={audio:{start:0,executeStart:0,executeEnd:0,end:0},video:{start:0,executeStart:0,executeEnd:0,end:0},audiovideo:{start:0,executeStart:0,executeEnd:0,end:0}},this.level=e,this.sn=t,this.id=n,this.size=r,this.part=i,this.partial=o}}const Cre={length:0,start:()=>0,end:()=>0};class wre{static isBuffered(e,t){if(e){const n=wre.getBuffered(e);for(let e=n.length;e--;)if(t>=n.start(e)&&t<=n.end(e))return!0}return!1}static bufferedRanges(e){if(e){const t=wre.getBuffered(e);return wre.timeRangesToArray(t)}return[]}static timeRangesToArray(e){const t=[];for(let n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t}static bufferInfo(e,t,n){if(e){const r=wre.bufferedRanges(e);if(r.length)return wre.bufferedInfo(r,t,n)}return{len:0,start:t,end:t,bufferedIndex:-1}}static bufferedInfo(e,t,n){t=Math.max(0,t),e.length>1&&e.sort((e,t)=>e.start-t.start||t.end-e.end);let r=-1,i=[];if(n)for(let c=0;c<e.length;c++){t>=e[c].start&&t<=e[c].end&&(r=c);const o=i.length;if(o){const t=i[o-1].end;e[c].start-t<n?e[c].end>t&&(i[o-1].end=e[c].end):i.push(e[c])}else i.push(e[c])}else i=e;let o,a=0,s=t,l=t;for(let c=0;c<i.length;c++){const e=i[c].start,u=i[c].end;if(-1===r&&t>=e&&t<=u&&(r=c),t+n>=e&&t<u)s=e,l=u,a=l-t;else if(t+n<e){o=e;break}}return{len:a,start:s||0,end:l||0,nextStart:o,buffered:e,bufferedIndex:r}}static getBuffered(e){try{return e.buffered||Cre}catch(t){return lte.log("failed to get media.buffered",t),Cre}}}const Ere=/\{\$([a-zA-Z0-9-_]+)\}/g;function kre(e){return Ere.test(e)}function Sre(e,t){if(null!==e.variableList||e.hasVariableRefs){const n=e.variableList;return t.replace(Ere,t=>{const r=t.substring(2,t.length-1),i=null==n?void 0:n[r];return void 0===i?(e.playlistParsingError||(e.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${r}"`)),t):i})}return t}function xre(e,t,n){let r,i,o=e.variableList;if(o||(e.variableList=o={}),"QUERYPARAM"in t){r=t.QUERYPARAM;try{const e=new self.URL(n).searchParams;if(!e.has(r))throw new Error(`"${r}" does not match any query parameter in URI: "${n}"`);i=e.get(r)}catch(a){e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${a.message}`))}}else r=t.NAME,i=t.VALUE;r in o?e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${r}"`)):o[r]=i||""}function Tre(e,t,n){const r=t.IMPORT;if(n&&r in n){let t=e.variableList;t||(e.variableList=t={}),t[r]=n[r]}else e.playlistParsingError||(e.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${r}"`))}const Mre=/^(\d+)x(\d+)$/,Are=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Lre{constructor(e,t){"string"==typeof e&&(e=Lre.parseAttrList(e,t)),Jee(this,e)}get clientAttrs(){return Object.keys(this).filter(e=>"X-"===e.substring(0,2))}decimalInteger(e){const t=parseInt(this[e],10);return t>Number.MAX_SAFE_INTEGER?1/0:t}hexadecimalInteger(e){if(this[e]){let t=(this[e]||"0x").slice(2);t=(1&t.length?"0":"")+t;const n=new Uint8Array(t.length/2);for(let e=0;e<t.length/2;e++)n[e]=parseInt(t.slice(2*e,2*e+2),16);return n}return null}hexadecimalIntegerAsNumber(e){const t=parseInt(this[e],16);return t>Number.MAX_SAFE_INTEGER?1/0:t}decimalFloatingPoint(e){return parseFloat(this[e])}optionalFloat(e,t){const n=this[e];return n?parseFloat(n):t}enumeratedString(e){return this[e]}enumeratedStringList(e,t){const n=this[e];return(n?n.split(/[ ,]+/):[]).reduce((e,t)=>(e[t.toLowerCase()]=!0,e),t)}bool(e){return"YES"===this[e]}decimalResolution(e){const t=Mre.exec(this[e]);if(null!==t)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}static parseAttrList(e,t){let n;const r={};for(Are.lastIndex=0;null!==(n=Are.exec(e));){const i=n[1].trim();let o=n[2];const a=0===o.indexOf('"')&&o.lastIndexOf('"')===o.length-1;let s=!1;if(a)o=o.slice(1,-1);else switch(i){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":s=!0}if(t&&(a||s))o=Sre(t,o);else if(!s&&!a)switch(i){case"CLOSED-CAPTIONS":if("NONE"===o)break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":lte.warn(`${e}: attribute ${i} is missing quotes`)}r[i]=o}return r}}function Pre(e){return"ID"!==e&&"CLASS"!==e&&"CUE"!==e&&"START-DATE"!==e&&"DURATION"!==e&&"END-DATE"!==e&&"END-ON-NEXT"!==e}function Rre(e){return"SCTE35-OUT"===e||"SCTE35-IN"===e||"SCTE35-CMD"===e}class Ore{constructor(e,t,n=0){var r;if(this.attr=void 0,this.tagAnchor=void 0,this.tagOrder=void 0,this._startDate=void 0,this._endDate=void 0,this._dateAtEnd=void 0,this._cue=void 0,this._badValueForSameId=void 0,this.tagAnchor=(null==t?void 0:t.tagAnchor)||null,this.tagOrder=null!=(r=null==t?void 0:t.tagOrder)?r:n,t){const n=t.attr;for(const t in n)if(Object.prototype.hasOwnProperty.call(e,t)&&e[t]!==n[t]){lte.warn(`DATERANGE tag attribute: "${t}" does not match for tags with ID: "${e.ID}"`),this._badValueForSameId=t;break}e=Jee(new Lre({}),n,e)}if(this.attr=e,t?(this._startDate=t._startDate,this._cue=t._cue,this._endDate=t._endDate,this._dateAtEnd=t._dateAtEnd):this._startDate=new Date(e["START-DATE"]),"END-DATE"in this.attr){const e=(null==t?void 0:t.endDate)||new Date(this.attr["END-DATE"]);$ee(e.getTime())&&(this._endDate=e)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const e=this._cue;return void 0===e?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):e}get startTime(){const{tagAnchor:e}=this;return null===e||null===e.programDateTime?(lte.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${e}`),NaN):e.start+(this.startDate.getTime()-e.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const e=this._endDate||this._dateAtEnd;if(e)return e;const t=this.duration;return null!==t?this._dateAtEnd=new Date(this._startDate.getTime()+1e3*t):null}get duration(){if("DURATION"in this.attr){const e=this.attr.decimalFloatingPoint("DURATION");if($ee(e))return e}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return"com.apple.hls.interstitial"===this.class}get isValid(){return!!this.id&&!this._badValueForSameId&&$ee(this.startDate.getTime())&&(null===this.duration||this.duration>=0)&&(!this.endOnNext||!!this.class)&&(!this.attr.CUE||!this.cue.pre&&!this.cue.post||this.cue.pre!==this.cue.post)&&(!this.isInterstitial||"X-ASSET-URI"in this.attr||"X-ASSET-LIST"in this.attr)}}class Dre{constructor(e){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.dateRangeTagCount=0,this.live=!0,this.requestScheduled=-1,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.appliedTimelineOffset=void 0,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=e}reloaded(e){if(!e)return this.advanced=!0,void(this.updated=!0);const t=this.lastPartSn-e.lastPartSn,n=this.lastPartIndex-e.lastPartIndex;this.updated=this.endSN!==e.endSN||!!n||!!t||!this.live,this.advanced=this.endSN>e.endSN||t>0||0===t&&n>0,this.updated||this.advanced?this.misses=Math.floor(.6*e.misses):this.misses=e.misses+1}hasKey(e){return this.encryptedFragments.some(t=>{let n=t.decryptdata;return n||(t.setKeyFormat(e.keyFormat),n=t.decryptdata),!!n&&e.matches(n)})}get hasProgramDateTime(){return!!this.fragments.length&&$ee(this.fragments[this.fragments.length-1].programDateTime)}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||10}get drift(){const e=this.driftEndTime-this.driftStartTime;return e>0?1e3*(this.driftEnd-this.driftStart)/e:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){return this.fragments.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){return this.fragments.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const e=this.partList;if(e){const t=this.lastPartIndex;if(-1!==t){for(let n=e.length;n--;)if(e[n].index>t)return e[n].index;return t}}return 0}get lastPartSn(){var e;return null!=(e=this.partList)&&e.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}get expired(){if(this.live&&this.age&&this.misses<3){const e=this.partEnd-this.fragmentStart;return this.age>Math.max(e,this.totalduration)+this.levelTargetDuration}return!1}}function Ire(e,t){return e.length===t.length&&!e.some((e,n)=>e!==t[n])}function _re(e,t){return!e&&!t||!(!e||!t)&&Ire(e,t)}function Fre(e){return"AES-128"===e||"AES-256"===e||"AES-256-CTR"===e}function $re(e){switch(e){case"AES-128":case"AES-256":return 0;case"AES-256-CTR":return 1;default:throw new Error(`invalid full segment method ${e}`)}}function Nre(e){return Uint8Array.from(atob(e),e=>e.charCodeAt(0))}function Bre(e){return Uint8Array.from(unescape(encodeURIComponent(e)),e=>e.charCodeAt(0))}function jre(e){const t=function(e,t,n){const r=e[t];e[t]=e[n],e[n]=r};t(e,0,3),t(e,1,2),t(e,4,5),t(e,6,7)}function zre(e){const t=e.split(":");let n=null;if("data"===t[0]&&2===t.length){const e=t[1].split(";"),r=e[e.length-1].split(",");if(2===r.length){const t="base64"===r[0],i=r[1];t?(e.splice(-1,1),n=Nre(i)):n=function(e){const t=Bre(e).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}(i)}}return n}const Vre="undefined"!=typeof self?self:void 0;var Hre={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},Ure="org.w3.clearkey",Wre="com.apple.streamingkeydelivery",Gre="com.microsoft.playready",qre="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";function Kre(e){switch(e){case Wre:return Hre.FAIRPLAY;case Gre:return Hre.PLAYREADY;case qre:return Hre.WIDEVINE;case Ure:return Hre.CLEARKEY}}function Yre(e){switch(e){case Hre.FAIRPLAY:return Wre;case Hre.PLAYREADY:return Gre;case Hre.WIDEVINE:return qre;case Hre.CLEARKEY:return Ure}}function Zre(e){const{drmSystems:t,widevineLicenseUrl:n}=e,r=t?[Hre.FAIRPLAY,Hre.WIDEVINE,Hre.PLAYREADY,Hre.CLEARKEY].filter(e=>!!t[e]):[];return!r[Hre.WIDEVINE]&&n&&r.push(Hre.WIDEVINE),r}const Qre=null!=Vre&&null!=(Xre=Vre.navigator)&&Xre.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null;var Xre;function Jre(e){const t=new Uint16Array(e.buffer,e.byteOffset,e.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),r=n.substring(n.indexOf("<"),n.length),i=(new DOMParser).parseFromString(r,"text/xml").getElementsByTagName("KID")[0];if(i){const e=i.childNodes[0]?i.childNodes[0].nodeValue:i.getAttribute("VALUE");if(e){const t=Nre(e).subarray(0,16);return jre(t),t}}return null}let eie={};class tie{static clearKeyUriToKeyIdMap(){eie={}}static setKeyIdForUri(e,t){eie[e]=t}static addKeyIdForUri(e){const t=Object.keys(eie).length%Number.MAX_SAFE_INTEGER,n=new Uint8Array(16);return new DataView(n.buffer,12,4).setUint32(0,t),eie[e]=n,n}constructor(e,t,n,r=[1],i=null,o){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pss
vendor: 5,200 bytes, line 1
1h=null,this.method=e,this.uri=t,this.keyFormat=n,this.keyFormatVersions=r,this.iv=i,this.encrypted=!!e&&"NONE"!==e,this.isCommonEncryption=this.encrypted&&!Fre(e),null!=o&&o.startsWith("0x")&&(this.keyId=new Uint8Array(fte(o)))}matches(e){return e.uri===this.uri&&e.method===this.method&&e.encrypted===this.encrypted&&e.keyFormat===this.keyFormat&&Ire(e.keyFormatVersions,this.keyFormatVersions)&&_re(e.iv,this.iv)&&_re(e.keyId,this.keyId)}isSupported(){if(this.method){if(Fre(this.method)||"NONE"===this.method)return!0;if("identity"===this.keyFormat)return"SAMPLE-AES"===this.method;switch(this.keyFormat){case Wre:case qre:case Gre:case Ure:return-1!==["SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)}}return!1}getDecryptData(e,t){if(!this.encrypted||!this.uri)return null;if(Fre(this.method)){let t=this.iv;return t||("number"!=typeof e&&(lte.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),e=0),t=function(e){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=e>>8*(15-n)&255;return t}(e)),new tie(this.method,this.uri,"identity",this.keyFormatVersions,t)}if(this.keyId){const e=eie[this.uri];if(e&&!Ire(this.keyId,e)&&tie.setKeyIdForUri(this.uri,this.keyId),this.pssh)return this}const n=zre(this.uri);if(n)switch(this.keyFormat){case qre:if(this.pssh=n,!this.keyId){const e=function(e){const t=[];if(e instanceof ArrayBuffer){const n=e.byteLength;let r=0;for(;r+32<n;){const n=nne(new DataView(e,r));t.push(n),r+=n.size}}return t}(n.buffer);if(e.length){var r;const t=e[0];this.keyId=null!=(r=t.kids)&&r.length?t.kids[0]:null}}this.keyId||(this.keyId=nie(t));break;case Gre:{const e=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=function(e,t,n){if(16!==e.byteLength)throw new RangeError("Invalid system id");let r,i,o;r=0,i=new Uint8Array,o=new Uint8Array;const a=new Uint8Array(4);return n.byteLength>0&&new DataView(a.buffer).setUint32(0,n.byteLength,!1),function(e,...t){const n=t.length;let r=8,i=n;for(;i--;)r+=t[i].byteLength;const o=new Uint8Array(r);for(o[0]=r>>24&255,o[1]=r>>16&255,o[2]=r>>8&255,o[3]=255&r,o.set(e,4),i=0,r=8;i<n;i++)o.set(t[i],r),r+=t[i].byteLength;return o}([112,115,115,104],new Uint8Array([0,0,0,0]),e,o,i,a,n)}(e,0,n),this.keyId=Jre(n);break}default:{let e=n.subarray(0,16);if(16!==e.length){const t=new Uint8Array(16);t.set(e,16-e.length),e=t}this.keyId=e;break}}if(!this.keyId||16!==this.keyId.byteLength){let e;e=function(e){const t=null==e?void 0:e[qre];return t?t.keyId:null}(t),e||(e=nie(t),e||(e=eie[this.uri])),e&&(this.keyId=e,tie.setKeyIdForUri(this.uri,e))}return this}}function nie(e){const t=null==e?void 0:e[Gre];if(t){const e=zre(t.uri);if(e)return Jre(e)}return null}const rie=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,iie=/#EXT-X-MEDIA:(.*)/g,oie=/^#EXT(?:INF|-X-TARGETDURATION):/m,aie=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),sie=new RegExp([/#EXT-X-(PROGRAM-DATE-TIME|BYTERANGE|DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class lie{static findGroup(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(r.id===t)return r}}static resolve(e,t){return Ete.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}static isMediaPlaylist(e){return oie.test(e)}static parseMasterPlaylist(e,t){const n={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:kre(e)},r=[];if(rie.lastIndex=0,!e.startsWith("#EXTM3U"))return n.playlistParsingError=new Error("no EXTM3U delimiter"),n;let i;for(;null!=(i=rie.exec(e));)if(i[1]){var o;const e=new Lre(i[1],n),a=Sre(n,i[2]),s={attrs:e,bitrate:e.decimalInteger("BANDWIDTH")||e.decimalInteger("AVERAGE-BANDWIDTH"),name:e.NAME,url:lie.resolve(a,t)},l=e.decimalResolution("RESOLUTION");l&&(s.width=l.width,s.height=l.height),fie(e.CODECS,s);const c=e["SUPPLEMENTAL-CODECS"];c&&(s.supplemental={},fie(c,s.supplemental)),null!=(o=s.unknownCodecs)&&o.length||r.push(s),n.levels.push(s)}else if(i[3]){const e=i[3],r=i[4];switch(e){case"SESSION-DATA":{const e=new Lre(r,n),t=e["DATA-ID"];t&&(null===n.sessionData&&(n.sessionData={}),n.sessionData[t]=e);break}case"SESSION-KEY":{const e=die(r,t,n);e.encrypted&&e.isSupported()?(null===n.sessionKeys&&(n.sessionKeys=[]),n.sessionKeys.push(e)):lte.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${r}"`);break}case"DEFINE":xre(n,new Lre(r,n),t);break;case"CONTENT-STEERING":{const e=new Lre(r,n);n.contentSteering={uri:lie.resolve(e["SERVER-URI"],t),pathwayId:e["PATHWAY-ID"]||"."};break}case"START":n.startTimeOffset=hie(r)}}const a=r.length>0&&r.length<n.levels.length;return n.levels=a?r:n.levels,0===n.levels.length&&(n.playlistParsingError=new Error("no levels found in manifest")),n}
vendor: 10,331 bytes, line 1
1static parseMasterPlaylistMedia(e,t,n){let r;const i={},o=n.levels,a={AUDIO:o.map(e=>({id:e.attrs.AUDIO,audioCodec:e.audioCodec})),SUBTITLES:o.map(e=>({id:e.attrs.SUBTITLES,textCodec:e.textCodec})),"CLOSED-CAPTIONS":[]};let s=0;for(iie.lastIndex=0;null!==(r=iie.exec(e));){const e=new Lre(r[1],n),o=e.TYPE;if(o){const n=a[o],r=i[o]||[];i[o]=r;const l=e.LANGUAGE,c=e["ASSOC-LANGUAGE"],u=e.CHANNELS,d=e.CHARACTERISTICS,h=e["INSTREAM-ID"],f={attrs:e,bitrate:0,id:s++,groupId:e["GROUP-ID"]||"",name:e.NAME||l||"",type:o,default:e.bool("DEFAULT"),autoselect:e.bool("AUTOSELECT"),forced:e.bool("FORCED"),lang:l,url:e.URI?lie.resolve(e.URI,t):""};if(c&&(f.assocLang=c),u&&(f.channels=u),d&&(f.characteristics=d),h&&(f.instreamId=h),null!=n&&n.length){const e=lie.findGroup(n,f.groupId)||n[0];pie(f,e,"audioCodec"),pie(f,e,"textCodec")}r.push(f)}}return i}static parseLevelPlaylist(e,t,n,r,i,o){var a;const s={url:t},l=new Dre(t),c=l.fragments,u=[];let d,h,f,p,m=null,g=0,v=0,y=0,b=0,C=0,w=null,E=new Lte(r,s),k=-1,S=!1,x=null;if(aie.lastIndex=0,l.m3u8=e,l.hasVariableRefs=kre(e),"#EXTM3U"!==(null==(a=aie.exec(e))?void 0:a[0]))return l.playlistParsingError=new Error("Missing format identifier #EXTM3U"),l;for(;null!==(d=aie.exec(e));){S&&(S=!1,E=new Lte(r,s),E.playlistOffset=y,E.setStart(y),E.sn=g,E.cc=b,C&&(E.bitrate=C),E.level=n,m&&(E.initSegment=m,m.rawProgramDateTime&&(E.rawProgramDateTime=m.rawProgramDateTime,m.rawProgramDateTime=null),x&&(E.setByteRange(x),x=null)));const e=d[1];if(e){E.duration=parseFloat(e);const t=(" "+d[2]).slice(1);E.title=t||null,E.tagList.push(t?["INF",e,t]:["INF",e])}else if(d[3]){if($ee(E.duration)){E.playlistOffset=y,E.setStart(y),f&&vie(E,f,l),E.sn=g,E.level=n,E.cc=b,c.push(E);const e=(" "+d[3]).slice(1);E.relurl=Sre(l,e),mie(E,w,u),w=E,y+=E.duration,g++,v=0,S=!0}}else{if(d=d[0].match(sie),!d){lte.warn("No matches on slow regex match for level playlist!");continue}for(h=1;h<d.length&&void 0===d[h];h++);const e=(" "+d[h]).slice(1),i=(" "+d[h+1]).slice(1),a=d[h+2]?(" "+d[h+2]).slice(1):null;switch(e){case"BYTERANGE":w?E.setByteRange(i,w):E.setByteRange(i);break;case"PROGRAM-DATE-TIME":E.rawProgramDateTime=i,E.tagList.push(["PROGRAM-DATE-TIME",i]),-1===k&&(k=c.length);break;case"PLAYLIST-TYPE":l.type&&yie(l,e,d),l.type=i.toUpperCase();break;case"MEDIA-SEQUENCE":0!==l.startSN?yie(l,e,d):c.length>0&&bie(l,e,d),g=l.startSN=parseInt(i);break;case"SKIP":{l.skippedSegments&&yie(l,e,d);const t=new Lre(i,l),n=t.decimalInteger("SKIPPED-SEGMENTS");if($ee(n)){l.skippedSegments+=n;for(let e=n;e--;)c.push(null);g+=n}const r=t.enumeratedString("RECENTLY-REMOVED-DATERANGES");r&&(l.recentlyRemovedDateranges=(l.recentlyRemovedDateranges||[]).concat(r.split("\t")));break}case"TARGETDURATION":0!==l.targetduration&&yie(l,e,d),l.targetduration=Math.max(parseInt(i),1);break;case"VERSION":null!==l.version&&yie(l,e,d),l.version=parseInt(i);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":l.live||yie(l,e,d),l.live=!1;break;case"#":(i||a)&&E.tagList.push(a?[i,a]:[i]);break;case"DISCONTINUITY":b++,E.tagList.push(["DIS"]);break;case"GAP":E.gap=!0,E.tagList.push([e]);break;case"BITRATE":E.tagList.push([e,i]),C=1e3*parseInt(i),$ee(C)?E.bitrate=C:C=0;break;case"DATERANGE":{const e=new Lre(i,l),t=new Ore(e,l.dateRanges[e.ID],l.dateRangeTagCount);l.dateRangeTagCount++,t.isValid||l.skippedSegments?l.dateRanges[t.id]=t:lte.warn(`Ignoring invalid DATERANGE tag: "${i}"`),E.tagList.push(["EXT-X-DATERANGE",i]);break}case"DEFINE":{const e=new Lre(i,l);"IMPORT"in e?Tre(l,e,o):xre(l,e,t)}break;case"DISCONTINUITY-SEQUENCE":0!==l.startCC?yie(l,e,d):c.length>0&&bie(l,e,d),l.startCC=b=parseInt(i);break;case"KEY":{const e=die(i,t,l);if(e.isSupported()){if("NONE"===e.method){f=void 0;break}f||(f={});const t=f[e.keyFormat];null!=t&&t.matches(e)||(t&&(f=Jee({},f)),f[e.keyFormat]=e)}else lte.warn(`[Keys] Ignoring unsupported EXT-X-KEY tag: "${i}"`);break}case"START":l.startTimeOffset=hie(i);break;case"MAP":{const e=new Lre(i,l);if(E.duration){const t=new Lte(r,s);gie(t,e,n,f),m=t,E.initSegment=m,m.rawProgramDateTime&&!E.rawProgramDateTime&&(E.rawProgramDateTime=m.rawProgramDateTime)}else{const t=E.byteRangeEndOffset;if(t){const e=E.byteRangeStartOffset;x=`${t-e}@${e}`}else x=null;gie(E,e,n,f),m=E,S=!0}m.cc=b;break}case"SERVER-CONTROL":p&&yie(l,e,d),p=new Lre(i),l.canBlockReload=p.bool("CAN-BLOCK-RELOAD"),l.canSkipUntil=p.optionalFloat("CAN-SKIP-UNTIL",0),l.canSkipDateRanges=l.canSkipUntil>0&&p.bool("CAN-SKIP-DATERANGES"),l.partHoldBack=p.optionalFloat("PART-HOLD-BACK",0),l.holdBack=p.optionalFloat("HOLD-BACK",0);break;case"PART-INF":{l.partTarget&&yie(l,e,d);const t=new Lre(i);l.partTarget=t.decimalFloatingPoint("PART-TARGET");break}case"PART":{let e=l.partList;e||(e=l.partList=[]);const t=v>0?e[e.length-1]:void 0,n=v++,r=new Lre(i,l),o=new Pte(r,E,s,n,t);e.push(o),E.duration+=o.duration;break}case"PRELOAD-HINT":{const e=new Lre(i,l);l.preloadHint=e;break}case"RENDITION-REPORT":{const e=new Lre(i,l);l.renditionReports=l.renditionReports||[],l.renditionReports.push(e);break}default:lte.warn(`line parsed but not handled: ${d}`)}}}w&&!w.relurl?(c.pop(),y-=w.duration,l.partList&&(l.fragmentHint=w)):l.partList&&(mie(E,w,u),E.cc=b,l.fragmentHint=E,f&&vie(E,f,l)),l.targetduration||(l.playlistParsingError=new Error("Missing Target Duration"));const T=c.length,M=c[0],A=c[T-1];if(y+=l.skippedSegments*l.targetduration,y>0&&T&&A){l.averagetargetduration=y/T;const e=A.sn;l.endSN="initSegment"!==e?e:0,l.live||(A.endList=!0),k>0&&(function(e,t){let n=e[t];for(let r=t;r--;){const t=e[r];if(!t)return;t.programDateTime=n.programDateTime-1e3*t.duration,n=t}}(c,k),M&&u.unshift(M))}return l.fragmentHint&&(y+=l.fragmentHint.duration),l.totalduration=y,u.length&&l.dateRangeTagCount&&M&&cie(u,l),l.endCC=b,l}}function cie(e,t){let n=e.length;if(!n){if(!t.hasProgramDateTime)return;{const r=t.fragments[t.fragments.length-1];e.push(r),n++}}const r=e[n-1],i=t.live?1/0:t.totalduration,o=Object.keys(t.dateRanges);for(let s=o.length;s--;){const l=t.dateRanges[o[s]],c=l.startDate.getTime();l.tagAnchor=r.ref;for(let r=n;r--;){var a;if((null==(a=e[r])?void 0:a.sn)<t.startSN)break;const n=uie(t,c,e,r,i);if(-1!==n){l.tagAnchor=t.fragments[n].ref;break}}}}function uie(e,t,n,r,i){const o=n[r];if(o){const s=o.programDateTime;var a;if(t>=s||0===r)if(t<=s+1e3*(((null==(a=n[r+1])?void 0:a.start)||i)-o.start)){const i=n[r].sn-e.startSN;if(i<0)return-1;const o=e.fragments;if(o.length>n.length)for(let a=(n[r+1]||o[o.length-1]).sn-e.startSN;a>i;a--){const e=o[a].programDateTime;if(t>=e&&t<e+1e3*o[a].duration)return a}return i}}return-1}function die(e,t,n){var r,i;const o=new Lre(e,n),a=null!=(r=o.METHOD)?r:"",s=o.URI,l=o.hexadecimalInteger("IV"),c=o.KEYFORMATVERSIONS,u=null!=(i=o.KEYFORMAT)?i:"identity";s&&o.IV&&!l&<e.error(`Invalid IV: ${o.IV}`);const d=s?lie.resolve(s,t):"",h=(c||"1").split("/").map(Number).filter(Number.isFinite);return new tie(a,d,u,h,l,o.KEYID)}function hie(e){const t=new Lre(e).decimalFloatingPoint("TIME-OFFSET");return $ee(t)?t:null}function fie(e,t){let n=(e||"").split(/[ ,]+/).filter(e=>e);["video","audio","text"].forEach(e=>{const r=n.filter(t=>one(t,e));r.length&&(t[`${e}Codec`]=r.map(e=>e.split("/")[0]).join(","),n=n.filter(e=>-1===r.indexOf(e)))}),t.unknownCodecs=n}function pie(e,t,n){const r=t[n];r&&(e[n]=r)}function mie(e,t,n){e.rawProgramDateTime?n.push(e):null!=t&&t.programDateTime&&(e.programDateTime=t.endProgramDateTime)}function gie(e,t,n,r){e.relurl=t.URI,t.BYTERANGE&&e.setByteRange(t.BYTERANGE),e.level=n,e.sn="initSegment",r&&(e.levelkeys=r),e.initSegment=null}function vie(e,t,n){e.levelkeys=t;const{encryptedFragments:r}=n;r.length&&r[r.length-1].levelkeys===t||!Object.keys(t).some(e=>t[e].isCommonEncryption)||r.push(e)}function yie(e,t,n){e.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function bie(e,t,n){e.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function Cie(e,t){const n=t.startPTS;if($ee(n)){let r,i=0;t.sn>e.sn?(i=n-e.start,r=e):(i=e.start-n,r=t),r.duration!==i&&r.setDuration(i)}else t.sn>e.sn?e.cc===t.cc&&e.minEndPTS?t.setStart(e.start+(e.minEndPTS-e.start)):t.setStart(e.start+e.duration):t.setStart(Math.max(e.start-t.duration,0))}function wie(e,t,n,r,i,o,a){r-n<=0&&(a.warn("Fragment should have a positive duration",t),r=n+t.duration,o=i+t.duration);let s=n,l=r;const c=t.startPTS,u=t.endPTS;if($ee(c)){const d=Math.abs(c-n);e&&d>e.totalduration?a.warn(`media timestamps and playlist times differ by ${d}s for level ${t.level} ${e.url}`):$ee(t.deltaPTS)?t.deltaPTS=Math.max(d,t.deltaPTS):t.deltaPTS=d,s=Math.max(n,c),n=Math.min(n,c),i=void 0!==t.startDTS?Math.min(i,t.startDTS):i,l=Math.min(r,u),r=Math.max(r,u),o=void 0!==t.endDTS?Math.max(o,t.endDTS):o}const d=n-t.start;0!==t.start&&t.setStart(n),t.setDuration(r-t.start),t.startPTS=n,t.maxStartPTS=s,t.startDTS=i,t.endPTS=r,t.minEndPTS=l,t.endDTS=o;const h=t.sn;if(!e||h<e.startSN||h>e.endSN)return 0;let f;const p=h-e.startSN,m=e.fragments;for(m[p]=t,f=p;f>0;f--)Cie(m[f],m[f-1]);for(f=p;f<m.length-1;f++)Cie(m[f],m[f+1]);return e.fragmentHint&&Cie(m[m.length-1],e.fragmentHint),e.PTSKnown=e.alignedSliding=!0,d}function Eie(e,t,n,r,i){return new Error(`${e} ${i.url}\nPlaylist starting @${t.startSN}\n${t.m3u8}\n\nPlaylist starting @${n.startSN}\n${n.m3u8}`)}function kie(e,t,n=!0){const r=t.startSN+t.skippedSegments-e.startSN,i=e.fragments,o=r>=0;let a=0;if(o&&r<i.length)a=i[r].start;else if(o&&t.startSN===e.endSN+1)a=e.fragmentEnd;else if(o&&n)a=e.fragmentStart+r*t.levelTargetDuration;else{if(t.skippedSegments||0!==t.fragmentStart)return;a=e.fragmentStart}Sie(t,a)}function Sie(e,t){if(t){const n=e.fragments;for(let r=e.skippedSegments;r<n.length;r++)n[r].addStart(t);e.fragmentHint&&e.fragmentHint.addStart(t)}}function xie(e,t=1/0){let n=1e3*e.targetduration;if(e.updated){const r=e.fragments,i=4;if(r.length&&n*i>t){const e=1e3*r[r.length-1].duration;e<n&&(n=e)}}else n/=2;return Math.round(n)}function Tie(e,t,n){if(!e)return null;let r=e.fragments[t-e.startSN];return r||(r=e.fragmentHint,r&&r.sn===t?r:t<e.startSN&&n&&n.sn===t?n:null)}function Mie(e,t,n){return e?Aie(e.partList,t,n):null}function Aie(e,t,n){if(e)for(let r=e.length;r--;){const i=e[r];if(i.index===n&&i.fragment.sn===t)return i}return null}function Lie(e){e.forEach((e,t)=>{var n;
vendor: 4,664 bytes, line 1
1null==(n=e.details)||n.fragments.forEach(e=>{e.level=t,e.initSegment&&(e.initSegment.level=t)})})}function Pie(e,t){return!(e===t||!t)&&Rie(e)!==Rie(t)}function Rie(e){return e.replace(/\?[^?]*$/,"")}function Oie(e,t){for(let r=0,i=e.length;r<i;r++){var n;if((null==(n=e[r])?void 0:n.cc)===t)return e[r]}return null}function Die(e,t){const n=e.start+t;e.startPTS=n,e.setStart(n),e.endPTS=n+e.duration}function Iie(e,t){const n=t.fragments;for(let r=0,i=n.length;r<i;r++)Die(n[r],e);t.fragmentHint&&Die(t.fragmentHint,e),t.alignedSliding=!0}function _ie(e,t){if(!function(e,t){return!!(e&&t.startCC<e.endCC&&t.endCC>e.startCC)}(t,e))return;const n=Math.min(t.endCC,e.endCC),r=Oie(t.fragments,n),i=Oie(e.fragments,n);r&&i&&(lte.log(`Aligning playlist at start of dicontinuity sequence ${n}`),Iie(r.start-i.start,e))}function Fie(e,t){if(!e.hasProgramDateTime||!t.hasProgramDateTime)return;const n=e.fragments,r=t.fragments;if(!n.length||!r.length)return;let i,o;const a=Math.min(t.endCC,e.endCC);t.startCC<a&&e.startCC<a&&(i=Oie(r,a),o=Oie(n,a)),i&&o||(i=r[Math.floor(r.length/2)],o=Oie(n,i.cc)||n[Math.floor(n.length/2)]);const s=i.programDateTime,l=o.programDateTime;s&&l&&Iie((l-s)/1e3-(o.start-i.start),e)}function $ie(e,t,n){Nie(e,t,n),e.addEventListener(t,n)}function Nie(e,t,n){e.removeEventListener(t,n)}const Bie="STOPPED",jie="IDLE",zie="KEY_LOADING",Vie="FRAG_LOADING",Hie="FRAG_LOADING_WAITING_RETRY",Uie="WAITING_TRACK",Wie="PARSING",Gie="PARSED",qie="ENDED",Kie="ERROR",Yie="WAITING_INIT_PTS",Zie="WAITING_LEVEL";class Qie extends yre{constructor(e,t,n,r,i){super(r,e.logger),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=Bie,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.buffering=!0,this.loadingParts=!1,this.loopSn=void 0,this.onMediaSeeking=()=>{const{config:e,fragCurrent:t,media:n,mediaBuffer:r,state:i}=this,o=n?n.currentTime:0,a=wre.bufferInfo(r||n,o,e.maxBufferHole),s=!a.len;if(this.log(`Media seeking to ${$ee(o)?o.toFixed(3):o}, state: ${i}, ${s?"out of":"in"} buffer`),this.state===qie)this.resetLoadingState();else if(t){const n=e.maxFragLookUpTolerance,r=t.start-n,i=t.start+t.duration+n;if(s||i<a.start||r>a.end){const e=o>i;(o<r||e)&&(e&&t.loader&&(this.log(`Cancelling fragment load for seek (sn: ${t.sn})`),t.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(n&&(this.fragmentTracker.removeFragmentsInRange(o,1/0,this.playlistType,!0),o>this.lastCurrentTime&&(this.lastCurrentTime=o),!this.loadingParts)){const e=Math.max(a.end,o),t=this.shouldLoadParts(this.getLevelDetails(),e);t&&(this.log(`LL-Part loading ON after seeking to ${o.toFixed(2)} with buffer @${e.toFixed(2)}`),this.loadingParts=t)}this.hls.hasEnoughToStart||(this.log(`Setting ${s?"startPosition":"nextLoadPosition"} to ${o} for seek without enough to start`),this.nextLoadPosition=o,s&&(this.startPosition=o)),s&&this.state===jie&&this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=i,this.hls=e,this.fragmentLoader=new pre(e.config),this.keyLoader=n,this.fragmentTracker=t,this.config=e.config,this.decrypter=new hre(e.config)}registerListeners(){const{hls:e}=this;e.on(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(Vee.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(Vee.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(e){}stopLoad(){if(this.state===Bie)return;this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);const e=this.fragCurrent;null!=e&&e.loader&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=Bie}get startPositionValue(){const{nextLoadPosition:e,startPosition:t}=this;return-1===t&&e?e:t}get bufferingEnabled(){return this.buffering}
vendor: 4,577 bytes, line 1
1pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}get inFlightFrag(){return{frag:this.fragCurrent,state:this.state}}_streamEnded(e,t){if(t.live||!this.media)return!1;const n=e.end||0,r=this.config.timelineOffset||0;if(n<=r)return!1;const i=e.buffered;this.config.maxBufferHole&&i&&i.length>1&&(e=wre.bufferedInfo(i,e.start,0));const o=e.nextStart;if(o&&o>r&&o<t.edge)return!1;if(this.media.currentTime<e.start)return!1;const a=t.partList;if(null!=a&&a.length){const e=a[a.length-1];return wre.isBuffered(this.media,e.start+e.duration/2)}const s=t.fragments[t.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(s)}getLevelDetails(){if(this.levels&&null!==this.levelLastLoaded)return this.levelLastLoaded.details}get timelineOffset(){const e=this.config.timelineOffset;var t;return e?(null==(t=this.getLevelDetails())?void 0:t.appliedTimelineOffset)||e:0}onMediaAttached(e,t){const n=this.media=this.mediaBuffer=t.media;$ie(n,"seeking",this.onMediaSeeking),$ie(n,"ended",this.onMediaEnded);const r=this.config;this.levels&&r.autoStartLoad&&this.state===Bie&&this.startLoad(r.startPosition)}onMediaDetaching(e,t){const n=!!t.transferMedia,r=this.media;if(null!==r){if(r.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),Nie(r,"seeking",this.onMediaSeeking),Nie(r,"ended",this.onMediaEnded),this.keyLoader&&!n&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loopSn=void 0,n)return this.resetLoadingState(),void this.resetTransmuxer();this.loadingParts=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}}onManifestLoading(){this.initPTS=[],this.levels=this.levelLastLoaded=this.fragCurrent=null,this.lastCurrentTime=this.startPosition=0,this.startFragRequested=!1}onError(e,t){}onManifestLoaded(e,t){this.startTimeOffset=t.startTimeOffset}onHandlerDestroying(){this.stopLoad(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),super.onHandlerDestroying(),this.hls=this.onMediaSeeking=this.onMediaEnded=null}onHandlerDestroyed(){this.state=Bie,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,super.onHandlerDestroyed()}loadFragment(e,t,n){this.startFragRequested=!0,this._loadFragForPlayback(e,t,n)}_loadFragForPlayback(e,t,n){this._doFragLoad(e,t,n,e=>{const t=e.frag;if(this.fragContextChanged(t))return this.warn(`${t.type} sn: ${t.sn}${e.part?" part: "+e.part.index:""} of ${this.fragInfo(t,!1,e.part)}) was dropped during download.`),void this.fragmentTracker.removeFragment(t);t.stats.chunkCount++,this._handleFragmentLoadProgress(e)}).then(e=>{if(!e)return;const t=this.state,n=e.frag;this.fragContextChanged(n)?(t===Vie||!this.fragCurrent&&t===Wie)&&(this.fragmentTracker.removeFragment(n),this.state=jie):("payload"in e&&(this.log(`Loaded ${n.type} sn: ${n.sn} of ${this.playlistLabel()} ${n.level}`),this.hls.trigger(Vee.FRAG_LOADED,e)),this._handleFragmentLoadComplete(e))}).catch(t=>{this.state!==Bie&&this.state!==Kie&&(this.warn(`Frag error: ${(null==t?void 0:t.message)||t}`),this.resetFragmentLoading(e))})}clearTrackerIfNeeded(e){var t;const{fragmentTracker:n}=this;if(n.getState(e)===nre){const t=e.type,r=this.getFwdBufferInfo(this.mediaBuffer,t),i=Math.max(e.duration,r?r.len:this.config.maxBufferLength),o=this.backtrackFragment;(1===(o?e.sn-o.sn:0)||this.reduceMaxBufferLength(i,e.duration))&&n.removeFragment(e)}else 0===(null==(t=this.mediaBuffer)?void 0:t.buffered.length)?n.removeAllFragments():n.hasParts(e.type)&&(n.detectPartialFragments({frag:e,part:null,stats:e.stats,id:e.type}),n.getState(e)===rre&&n.removeFragment(e))}checkLiveUpdate(e){if(e.updated&&!e.live){const t=e.fragments[e.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type})}e.fragments[0]||(e.deltaUpdateFailed=!0)}waitForLive(e){const t=e.details;return(null==t?void 0:t.live)&&"EVENT"!==t.type&&(this.levelLastLoaded!==e||t.expired)}flushMainBuffer(e,t,n=null){if(!(e-t))return;const r={startOffset:e,endOffset:t,type:n};this.hls.trigger(Vee.BUFFER_FLUSHING,r)}_loadInitSegment(e,t){this._doFragLoad(e,t).then(e=>{const t=null==e?void 0:e.frag;if(!t||this.fragContextChanged(t)||!this.levels)throw new Error("init load aborted");return e}).then(e=>{const{hls:t}=this,{frag:n,payload:r}=e,i=n.decryptdata;if(r&&r.byteLength>0&&null!=i&&i.key&&i.iv&&Fre(i.method)){const o=self.performance.now();
vendor: 10,924 bytes, line 1
1return this.decrypter.decrypt(new Uint8Array(r),i.key.buffer,i.iv.buffer,$re(i.method)).catch(e=>{throw t.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.FRAG_DECRYPT_ERROR,fatal:!1,error:e,reason:e.message,frag:n}),e}).then(r=>{const i=self.performance.now();return t.trigger(Vee.FRAG_DECRYPTED,{frag:n,payload:r,stats:{tstart:o,tdecrypt:i}}),e.payload=r,this.completeInitSegmentLoad(e)})}return this.completeInitSegmentLoad(e)}).catch(t=>{this.state!==Bie&&this.state!==Kie&&(this.warn(t),this.resetFragmentLoading(e))})}completeInitSegmentLoad(e){const{levels:t}=this;if(!t)throw new Error("init load aborted, missing levels");const n=e.frag.stats;this.state!==Bie&&(this.state=jie),e.frag.data=new Uint8Array(e.payload),n.parsing.start=n.buffering.start=self.performance.now(),n.parsing.end=n.buffering.end=self.performance.now(),this.tick()}unhandledEncryptionError(e,t){var n,r;const i=e.tracks;if(i&&!t.encrypted&&(null!=(n=i.audio)&&n.encrypted||null!=(r=i.video)&&r.encrypted)&&(!this.config.emeEnabled||!this.keyLoader.emeController)){const e=this.media,n=new Error(`Encrypted track with no key in ${this.fragInfo(t)} (media ${e?"attached mediaKeys: "+e.mediaKeys:"detached"})`);return this.warn(n.message),!(!e||e.mediaKeys)&&(this.hls.trigger(Vee.ERROR,{type:jee.KEY_SYSTEM_ERROR,details:zee.KEY_SYSTEM_NO_KEYS,fatal:!1,error:n,frag:t}),this.resetTransmuxer(),!0)}return!1}fragContextChanged(e){const{fragCurrent:t}=this;return!e||!t||e.sn!==t.sn||e.level!==t.level}fragBufferedComplete(e,t){const n=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)} > buffer:${n?function(e){let t="";const n=e.length;for(let r=0;r<n;r++)t+=`[${e.start(r).toFixed(3)}-${e.end(r).toFixed(3)}]`;return t}(wre.getBuffered(n)):"(detached)"})`),Ate(e)){var r;if(e.type!==Yee){const t=e.elementaryStreams;if(!Object.keys(t).some(e=>!!t[e]))return void(this.state=jie)}const t=null==(r=this.levels)?void 0:r[e.level];null!=t&&t.fragmentError&&(this.log(`Resetting level fragment error count of ${t.fragmentError} on frag buffered`),t.fragmentError=0)}this.state=jie}_handleFragmentLoadComplete(e){const{transmuxer:t}=this;if(!t)return;const{frag:n,part:r,partsLoaded:i}=e,o=!i||0===i.length||i.some(e=>!e),a=new bre(n.level,n.sn,n.stats.chunkCount+1,0,r?r.index:-1,!o);t.flush(a)}_handleFragmentLoadProgress(e){}_doFragLoad(e,t,n=null,r){var i;this.fragCurrent=e;const o=t.details;if(!this.levels||!o)throw new Error(`frag load aborted, missing level${o?"":" detail"}s`);let a=null;if(!e.encrypted||null!=(i=e.decryptdata)&&i.key)e.encrypted||(a=this.keyLoader.loadClear(e,o.encryptedFragments,this.startFragRequested),a&&this.log("[eme] blocking frag load until media-keys acquired"));else if(this.log(`Loading key for ${e.sn} of [${o.startSN}-${o.endSN}], ${this.playlistLabel()} ${e.level}`),this.state=zie,this.fragCurrent=e,a=this.keyLoader.load(e).then(e=>{if(!this.fragContextChanged(e.frag))return this.hls.trigger(Vee.KEY_LOADED,e),this.state===zie&&(this.state=jie),e}),this.hls.trigger(Vee.KEY_LOADING,{frag:e}),null===this.fragCurrent)return this.log("context changed in KEY_LOADING"),Promise.resolve(null);const s=this.fragPrevious;if(Ate(e)&&(!s||e.sn!==s.sn)){const n=this.shouldLoadParts(t.details,e.end);n!==this.loadingParts&&(this.log(`LL-Part loading ${n?"ON":"OFF"} loading sn ${null==s?void 0:s.sn}->${e.sn}`),this.loadingParts=n)}if(n=Math.max(e.start,n||0),this.loadingParts&&Ate(e)){const i=o.partList;if(i&&r){n>o.fragmentEnd&&o.fragmentHint&&(e=o.fragmentHint);const s=this.getNextPart(i,e,n);if(s>-1){const l=i[s];let c;return e=this.fragCurrent=l.fragment,this.log(`Loading ${e.type} sn: ${e.sn} part: ${l.index} (${s}/${i.length-1}) of ${this.fragInfo(e,!1,l)}) cc: ${e.cc} [${o.startSN}-${o.endSN}], target: ${parseFloat(n.toFixed(3))}`),this.nextLoadPosition=l.start+l.duration,this.state=Vie,c=a?a.then(n=>!n||this.fragContextChanged(n.frag)?null:this.doFragPartsLoad(e,l,t,r)).catch(e=>this.handleFragLoadError(e)):this.doFragPartsLoad(e,l,t,r).catch(e=>this.handleFragLoadError(e)),this.hls.trigger(Vee.FRAG_LOADING,{frag:e,part:l,targetBufferTime:n}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):c}if(!e.url||this.loadedEndOfParts(i,n))return Promise.resolve(null)}}var l;if(Ate(e)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${n.toFixed(2)} Check buffer at sn: ${e.sn} loaded parts: ${null==(l=o.partList)?void 0:l.filter(e=>e.loaded).map(e=>`[${e.start}-${e.end}]`)}`),this.loadingParts=!1;else if(!e.url)return Promise.resolve(null);this.log(`Loading ${e.type} sn: ${e.sn} of ${this.fragInfo(e,!1)}) cc: ${e.cc} ${"["+o.startSN+"-"+o.endSN+"]"}, target: ${parseFloat(n.toFixed(3))}`),$ee(e.sn)&&!this.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),this.state=Vie;const c=this.config.progressive&&e.type!==Yee;let u;return u=c&&a?a.then(t=>!t||this.fragContextChanged(t.frag)?null:this.fragmentLoader.load(e,r)).catch(e=>this.handleFragLoadError(e)):Promise.all([this.fragmentLoader.load(e,c?r:void 0),a]).then(([e])=>(!c&&r&&r(e),e)).catch(e=>this.handleFragLoadError(e)),this.hls.trigger(Vee.FRAG_LOADING,{frag:e,targetBufferTime:n}),null===this.fragCurrent?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):u}doFragPartsLoad(e,t,n,r){return new Promise((i,o)=>{var a;const s=[],l=null==(a=n.details)?void 0:a.partList,c=t=>{this.fragmentLoader.loadPart(e,t,r).then(r=>{s[t.index]=r;const o=r.part;this.hls.trigger(Vee.FRAG_LOADED,r);const a=Mie(n.details,e.sn,t.index+1)||Aie(l,e.sn,t.index+1);if(!a)return i({frag:e,part:o,partsLoaded:s});c(a)}).catch(o)};c(t)})}handleFragLoadError(e){if("data"in e){const t=e.data;t.frag&&t.details===zee.INTERNAL_ABORTED?this.handleFragLoadAborted(t.frag,t.part):t.frag&&t.type===jee.KEY_SYSTEM_ERROR?(t.frag.abortRequests(),this.resetStartWhenNotLoaded(),this.resetFragmentLoading(t.frag)):this.hls.trigger(Vee.ERROR,t)}else this.hls.trigger(Vee.ERROR,{type:jee.OTHER_ERROR,details:zee.INTERNAL_EXCEPTION,err:e,error:e,fatal:!0});return null}_handleTransmuxerFlush(e){const t=this.getCurrentContext(e);if(!t||this.state!==Wie)return void(this.fragCurrent||this.state===Bie||this.state===Kie||(this.state=jie));const{frag:n,part:r,level:i}=t,o=self.performance.now();n.stats.parsing.end=o,r&&(r.stats.parsing.end=o);const a=this.getLevelDetails(),s=a&&n.sn>a.endSN||this.shouldLoadParts(a,n.end);s!==this.loadingParts&&(this.log(`LL-Part loading ${s?"ON":"OFF"} after parsing segment ending @${n.end.toFixed(2)}`),this.loadingParts=s),this.updateLevelTiming(n,r,i,e.partial)}shouldLoadParts(e,t){if(this.config.lowLatencyMode){if(!e)return this.loadingParts;if(e.partList){var n;const i=e.partList[0];if(i.fragment.type===Yee)return!1;var r;if(t>=i.end+((null==(n=e.fragmentHint)?void 0:n.duration)||0))if((this.hls.hasEnoughToStart?(null==(r=this.media)?void 0:r.currentTime)||this.lastCurrentTime:this.getLoadPosition())>i.start-i.fragment.duration)return!0}}return!1}getCurrentContext(e){const{levels:t,fragCurrent:n}=this,{level:r,sn:i,part:o}=e;if(null==t||!t[r])return this.warn(`Levels object was unset while buffering fragment ${i} of ${this.playlistLabel()} ${r}. The current chunk will not be buffered.`),null;const a=t[r],s=a.details,l=o>-1?Mie(s,i,o):null,c=l?l.fragment:Tie(s,i,n);return c?(n&&n!==c&&(c.stats=n.stats),{frag:c,part:l,level:a}):null}bufferFragmentData(e,t,n,r,i){if(this.state!==Wie)return;const{data1:o,data2:a}=e;let s=o;if(a&&(s=Zte(o,a)),!s.length)return;const l=this.initPTS[t.cc],c=l?-l.baseTime/l.timescale:void 0,u={type:e.type,frag:t,part:n,chunkMeta:r,offset:c,parent:t.type,data:s};if(this.hls.trigger(Vee.BUFFER_APPENDING,u),e.dropped&&e.independent&&!n){if(i)return;this.flushBufferGap(t)}}flushBufferGap(e){const t=this.media;if(!t)return;if(!wre.isBuffered(t,t.currentTime))return void this.flushMainBuffer(0,e.start);const n=t.currentTime,r=wre.bufferInfo(t,n,0),i=e.duration,o=Math.min(2*this.config.maxFragLookUpTolerance,.25*i),a=Math.max(Math.min(e.start-o,r.end-o),n+o);e.start-a>o&&this.flushMainBuffer(a,e.start)}getFwdBufferInfo(e,t){var n;const r=this.getLoadPosition();if(!$ee(r))return null;const i=this.lastCurrentTime>r||null!=(n=this.media)&&n.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(e,r,t,i)}getFwdBufferInfoAtPos(e,t,n,r){const i=wre.bufferInfo(e,t,r);if(0===i.len&&void 0!==i.nextStart){const o=this.fragmentTracker.getBufferedFrag(t,n);if(o&&(i.nextStart<=o.end||o.gap)){const n=Math.max(Math.min(i.nextStart,o.end)-t,r);return wre.bufferInfo(e,t,n)}}return i}getMaxBufferLength(e){const{config:t}=this;let n;return n=e?Math.max(8*t.maxBufferSize/e,t.maxBufferLength):t.maxBufferLength,Math.min(n,t.maxMaxBufferLength)}exceedsMaxBuffer(e,t,n){const r=e.nextStart;if(r&&n.start>r){const r=e.buffered;if(r){let i=e.len;const o=e.bufferedIndex;for(let e=r.length-1;e>o;e--)r[e].start<n.start&&(i+=r[e].end-r[e].start);return i>=t}}return!1}reduceMaxBufferLength(e,t){const n=this.config,r=Math.max(Math.min(e-t,n.maxBufferLength),t),i=Math.max(e-3*t,n.maxMaxBufferLength/2,r);return i>=r&&(n.maxMaxBufferLength=i,this.warn(`Reduce max buffer length to ${i}s`),!0)}getAppendedFrag(e,t=qee){const n=this.fragmentTracker?this.fragmentTracker.getAppendedFrag(e,t):null;return n&&"fragment"in n?n.fragment:n}getNextFragment(e,t){const n=t.fragments,r=n.length;if(!r)return null;const{config:i}=this,o=t.fragmentStart,a=i.lowLatencyMode&&!!t.partList;let s=null;if(t.live){const n=i.initialLiveManifestSize;if(r<n)return this.warn(`Not enough fragments to start playback (have: ${r}, need: ${n})`),null;if(!t.PTSKnown&&!this.startFragRequested&&-1===this.startPosition||e<o){var l;a&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),s=this.getInitialLiveFragment(t);const n=this.config.startPosition,r=this.hls.startPosition,i=this.hls.liveSyncPosition,c=(null==(l=s)?void 0:l.start)||0;let u,d;-1!==r&&r>=o?(u=r,d=r===n?"config":"next load start"):null!==i?(u=i,d="live edge"):(u=e,d="buffer pos"),u<c&&(u=c,d="live frag start"),u<o&&(u=o,d="playlist start"),this.startPosition==u&&this.nextLoadPosition==u||(this.log(`Setting startPosition to ${u.toFixed(3)} ${-1===r?"":`(from ${n}) `}based on ${d}. live edge: ${i} live frag start: ${c.toFixed(3)} playlist start: ${o.toFixed(3)} buffer pos: ${e}`),this.startPosition=this.nextLoadPosition=u)}}else e<=o&&(s=n[0]);if(!s){const n=this.loadingParts?t.partEnd:t.fragmentEnd;s=this.getFragmentAtPosition(e,n,t)}let c=this.filterReplacedPrimary(s,t);if(!c&&s){const e=s.sn-t.startSN;c=this.filterReplacedPrimary(n[e+1]||null,t)}return this.mapToInitFragWhenRequired(c)}isLoopLoading(e,t){if(this.nextLoadPosition<=t)return!1;const n=this.fragmentTracker.getState(e);return n===ire||n===rre&&!!e.gap}getNextFragmentLoopLoading(e,t,n,r,i){let o=null;
vendor: 7,305 bytes, line 1
1if(e.gap&&(o=this.getNextFragment(this.nextLoadPosition,t),o&&!o.gap&&n.nextStart)){const e=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,n.nextStart,r,0);if(null!==e&&n.len+e.len>=i){const e=o.sn;return this.loopSn!==e&&(this.log(`buffer full after gaps in "${r}" playlist starting at sn: ${e}`),this.loopSn=e),null}}return this.loopSn=void 0,o}get primaryPrefetch(){var e;if(Xie(this.config)&&(null==(e=this.hls.interstitialsManager)||null==(e=e.playingItem)?void 0:e.event))return!0;return!1}filterReplacedPrimary(e,t){if(!e)return e;if(Xie(this.config)&&e.type!==Yee){const n=this.hls.interstitialsManager,r=null==n?void 0:n.bufferingItem;if(r){const n=r.event;if(n){if(n.appendInPlace||Math.abs(e.start-r.start)>1||0===r.start)return null}else{if(e.end<=r.start&&!1===(null==t?void 0:t.live))return null;if(e.start>r.end&&r.nextEvent&&(r.nextEvent.appendInPlace||e.start-r.end>1))return null}}const i=null==n?void 0:n.playerQueue;if(i)for(let t=i.length;t--;){const n=i[t].interstitial;if(n.appendInPlace&&e.start>=n.startTime&&e.end<=n.resumeTime)return null}}return e}mapToInitFragWhenRequired(e){return null==e||!e.initSegment||e.initSegment.data||this.bitrateTest?e:e.initSegment}getNextPart(e,t,n){let r=-1,i=!1,o=!0;for(let a=0,s=e.length;a<s;a++){const s=e[a];if(o=o&&!s.independent,r>-1&&n<s.start)break;const l=s.loaded;l?r=-1:(i||(s.independent||o)&&s.fragment===t)&&(s.fragment!==t&&this.warn(`Need buffer at ${n} but next unloaded part starts at ${s.start}`),r=a),i=l}return r}loadedEndOfParts(e,t){let n;for(let r=e.length;r--;){if(n=e[r],!n.loaded)return!1;if(t>n.start)return!0}return!1}getInitialLiveFragment(e){const t=e.fragments,n=this.fragPrevious;let r=null;if(n){if(e.hasProgramDateTime&&(r=function(e,t,n){if(null===t||!Array.isArray(e)||!e.length||!$ee(t))return null;if(t<(e[0].programDateTime||0))return null;if(t>=(e[e.length-1].endProgramDateTime||0))return null;for(let r=0;r<e.length;++r){const i=e[r];if(Une(t,n,i))return i}return null}(t,n.endProgramDateTime,this.config.maxFragLookUpTolerance),r&&this.log(`Live playlist, switching playlist, load frag with same PDT: ${n.programDateTime}`)),!r){const i=n.sn+1;if(i>=e.startSN&&i<=e.endSN){const o=t[i-e.startSN];n.cc===o.cc&&(r=o,this.log(`Live playlist, switching playlist, load frag with next SN: ${r.sn}`))}r||(r=Wne(e,n.cc,n.end),r&&this.log(`Live playlist, switching playlist, load frag with same CC: ${r.sn}`))}}else{const t=this.hls.liveSyncPosition;null!==t&&(r=this.getFragmentAtPosition(t,this.bitrateTest?e.fragmentEnd:e.edge,e))}return r}getFragmentAtPosition(e,t,n){const{config:r}=this;let{fragPrevious:i}=this,{fragments:o,endSN:a}=n;const{fragmentHint:s}=n,{maxFragLookUpTolerance:l}=r,c=n.partList,u=!!(this.loadingParts&&null!=c&&c.length&&s);let d;var h;(u&&!this.bitrateTest&&c[c.length-1].fragment.sn===s.sn&&(o=o.concat(s),a=s.sn),e<t)?d=Vne(i,o,e,e<this.lastCurrentTime||e>t-l||null!=(h=this.media)&&h.paused||!this.startFragRequested?0:l):d=o[o.length-1];if(d){const e=d.sn-n.startSN,t=this.fragmentTracker.getState(d);if((t===ire||t===rre&&d.gap)&&(i=d),i&&d.sn===i.sn&&(!u||c[0].fragment.sn>d.sn||!n.live)&&d.level===i.level){const t=o[e+1];d=d.sn<a&&this.fragmentTracker.getState(t)!==ire?t:null}}return d}alignPlaylists(e,t,n){const r=e.fragments.length;if(!r)return this.warn("No fragments in live playlist"),0;const i=e.fragmentStart,o=!t,a=e.alignedSliding&&$ee(i);if(o||!a&&!i){!function(e,t){e&&(_ie(t,e),t.alignedSliding||Fie(t,e),t.alignedSliding||t.skippedSegments||kie(e,t,!1))}(n,e);const i=e.fragmentStart;return this.log(`Live playlist sliding: ${i.toFixed(2)} start-sn: ${t?t.startSN:"na"}->${e.startSN} fragments: ${r}`),i}return i}waitForCdnTuneIn(e){return e.live&&e.canBlockReload&&e.partTarget&&e.tuneInGoal>Math.max(e.partHoldBack,3*e.partTarget)}setStartPosition(e,t){let n=this.startPosition;n<t&&(n=-1);const r=this.timelineOffset;if(-1===n){const i=null!==this.startTimeOffset,o=i?this.startTimeOffset:e.startTimeOffset;null!==o&&$ee(o)?(n=t+o,o<0&&(n+=e.edge),n=Math.min(Math.max(t,n),t+e.totalduration),this.log(`Setting startPosition to ${n} for start time offset ${o} found in ${i?"multivariant":"media"} playlist`),this.startPosition=n):e.live?(n=this.hls.liveSyncPosition||t,this.log(`Setting startPosition to -1 to start at live edge ${n}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=n=0),this.lastCurrentTime=n+r}this.nextLoadPosition=n+r}getLoadPosition(){var e;const{media:t}=this;let n=0;return null!=(e=this.hls)&&e.hasEnoughToStart&&t?n=t.currentTime:this.nextLoadPosition>=0&&(n=this.nextLoadPosition),n}handleFragLoadAborted(e,t){this.transmuxer&&e.type===this.playlistType&&Ate(e)&&e.stats.aborted&&(this.log(`Fragment ${e.sn}${t?" part "+t.index:""} of ${this.playlistLabel()} ${e.level} was aborted`),this.resetFragmentLoading(e))}resetFragmentLoading(e){this.fragCurrent&&(this.fragContextChanged(e)||this.state===Hie)||(this.state=jie)}onFragmentOrKeyLoadError(e,t){var n;if(t.chunkMeta&&!t.frag){const e=this.getCurrentContext(t.chunkMeta);e&&(t.frag=e.frag)}const r=t.frag;if(!r||r.type!==e||!this.levels)return;var i;if(this.fragContextChanged(r))return void this.warn(`Frag load error must match current frag to retry ${r.url} > ${null==(i=this.fragCurrent)?void 0:i.url}`);const o=t.details===zee.FRAG_GAP;o&&this.fragmentTracker.fragBuffered(r,!0);const a=t.errorAction;if(!a)return void(this.state=Kie);const{action:s,flags:l,retryCount:c=0,retryConfig:u}=a,d=!!u,h=d&&5===s,f=d&&!a.resolved&&1===l,p=null==(n=this.hls.latestLevelDetails)?void 0:n.live;if(!h&&f&&Ate(r)&&!r.endList&&p&&!Kne(t))this.resetFragmentErrors(e),this.treatAsGap(r),a.resolved=!0;else if((h||f)&&c<u.maxNumRetry){var m;const n=Jne(null==(m=t.response)?void 0:m.code),i=Zne(u,c);if(this.resetStartWhenNotLoaded(),this.retryDate=self.performance.now()+i,this.state=Hie,a.resolved=!0,n)return this.log("Waiting for connection (offline)"),this.retryDate=1/0,void(t.reason="offline");this.warn(`Fragment ${r.sn} of ${e} ${r.level} errored with ${t.details}, retrying loading ${c+1}/${u.maxNumRetry} in ${i}ms`)}else if(u){if(this.resetFragmentErrors(e),!(c<u.maxNumRetry))return void this.warn(`${t.details} reached or exceeded max retry (${c})`);o||3===s||(a.resolved=!0)}else this.state=2===s?Zie:Kie;this.tickImmediate()}checkRetryDate(){const e=self.performance.now(),t=this.retryDate,n=t===1/0;(!t||e>=t||n&&!Jne(0))&&(n&&this.log("Connection restored (online)"),this.resetStartWhenNotLoaded(),this.state=jie)}reduceLengthAndFlushBuffer(e){if(this.state===Wie||this.state===Gie){const t=e.frag,n=e.parent,r=this.getFwdBufferInfo(this.mediaBuffer,n),i=r&&r.len>.5;i&&this.reduceMaxBufferLength(r.len,(null==t?void 0:t.duration)||10);const o=!i;return o&&this.warn(`Buffer full error while media.currentTime (${this.getLoadPosition()}) is not buffered, flush ${n} buffer`),t&&(this.fragmentTracker.removeFragment(t),this.nextLoadPosition=t.start),this.resetLoadingState(),o}return!1}resetFragmentErrors(e){e===Kee&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==Bie&&(this.state=jie)}afterBufferFlushed(e,t,n){if(!e)return;const r=wre.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,r,n),this.state===qie&&this.resetLoadingState()}
vendor: 8,052 bytes, line 1
1resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==Bie&&(this.state=jie)}resetStartWhenNotLoaded(){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const e=this.levelLastLoaded,t=e?e.details:null;null!=t&&t.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(t,t.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(e){this.log(`Loading context changed while buffering sn ${e.sn} of ${this.playlistLabel()} ${-1===e.level?"<removed>":e.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(),this.resetLoadingState()}removeUnbufferedFrags(e=0){this.fragmentTracker.removeFragmentsInRange(e,1/0,this.playlistType,!1,!0)}updateLevelTiming(e,t,n,r){const i=n.details;if(i){if(!Object.keys(e.elementaryStreams).reduce((t,o)=>{const a=e.elementaryStreams[o];if(a){const s=a.endPTS-a.startPTS;if(s<=0)return this.warn(`Could not parse fragment ${e.sn} ${o} duration reliably (${s})`),t||!1;const l=r?0:wie(i,e,a.startPTS,a.endPTS,a.startDTS,a.endDTS,this);return this.hls.trigger(Vee.LEVEL_PTS_UPDATED,{details:i,level:n,drift:l,type:o,frag:e,start:a.startPTS,end:a.endPTS}),!0}return t},!1)){var o;const t=null===(null==(o=this.transmuxer)?void 0:o.error);if((0===n.fragmentError||t&&(n.fragmentError<2||e.endList))&&this.treatAsGap(e,n),t){const t=new Error(`Found no media in fragment ${e.sn} of ${this.playlistLabel()} ${e.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(t.message),this.hls.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.FRAG_PARSING_ERROR,fatal:!1,error:t,frag:e,reason:`Found no media in msn ${e.sn} of ${this.playlistLabel()} "${n.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=Gie,this.log(`Parsed ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)})`),this.hls.trigger(Vee.FRAG_PARSED,{frag:e,part:t})}else this.warn("level.details undefined")}playlistLabel(){return this.playlistType===qee?"level":"track"}fragInfo(e,t=!0,n){var r,i;return`${this.playlistLabel()} ${e.level} (${n?"part":"frag"}:[${(null!=(r=t&&!n?e.startPTS:(n||e).start)?r:NaN).toFixed(3)}-${(null!=(i=t&&!n?e.endPTS:(n||e).end)?i:NaN).toFixed(3)}]${n&&"main"===e.type?"INDEPENDENT="+(n.independent?"YES":"NO"):""}`}treatAsGap(e,t){t&&t.fragmentError++,e.gap=!0,this.fragmentTracker.removeFragment(e),this.fragmentTracker.fragBuffered(e,!0)}resetTransmuxer(){var e;null==(e=this.transmuxer)||e.reset()}recoverWorkerError(e){"demuxerWorker"===e.event&&(this.fragmentTracker.removeAllFragments(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),this.resetStartWhenNotLoaded(),this.resetLoadingState())}set state(e){const t=this._state;t!==e&&(this._state=e,this.log(`${t}->${e}`))}get state(){return this._state}}function Xie(e){return!!e.interstitialsController&&!1!==e.enableInterstitialPlayback}class Jie{constructor(){this.chunks=[],this.dataLength=0}push(e){this.chunks.push(e),this.dataLength+=e.length}flush(){const{chunks:e,dataLength:t}=this;let n;return e.length?(n=1===e.length?e[0]:function(e,t){const n=new Uint8Array(t);let r=0;for(let i=0;i<e.length;i++){const t=e[i];n.set(t,r),r+=t.length}return n}(e,t),this.reset(),n):new Uint8Array(0)}reset(){this.chunks.length=0,this.dataLength=0}}var eoe,toe={exports:{}},noe=(eoe||(eoe=1,function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,i),!0;case 5:return u.fn.call(u.context,t,r,i,o),!0;case 6:return u.fn.call(u.context,t,r,i,o,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var h,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,i);break;default:if(!l)for(h=1,l=new Array(d-1);h<d;h++)l[h-1]=arguments[h];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||i&&!s[l].once||r&&s[l].context!==r)&&c.push(s[l]);c.length?this._events[o]=1===c.length?c[0]:c:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s}(toe)),toe.exports),roe=pte(noe);const ioe="1.6.16",ooe={};function aoe(e,t){return t+10<=e.length&&51===e[t]&&68===e[t+1]&&73===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128}function soe(e,t){return t+10<=e.length&&73===e[t]&&68===e[t+1]&&51===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128}function loe(e,t){let n=0;return n=(127&e[t])<<21,n|=(127&e[t+1])<<14,n|=(127&e[t+2])<<7,n|=127&e[t+3],n}function coe(e,t){const n=t;let r=0;for(;soe(e,t);)r+=10,r+=loe(e,t+6),aoe(e,t+10)&&(r+=10),t+=r;if(r>0)return e.subarray(n,n+r)}function uoe(e,t){return 255===e[t]&&240==(246&e[t+1])}function doe(e,t){return 1&e[t+1]?7:9}function hoe(e,t){return(3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5}function foe(e,t){return t+1<e.length&&uoe(e,t)}function poe(e,t){if(foe(e,t)){const n=doe(e,t);if(t+n>=e.length)return!1;const r=hoe(e,t);if(r<=n)return!1;const i=t+r;return i===e.length||foe(e,i)}return!1}function moe(e,t,n,r,i){if(!e.samplerate){const o=function(e,t,n,r){const i=t[n+2],o=i>>2&15;if(o>12){const t=new Error(`invalid ADTS sampling index:${o}`);return void e.emit(Vee.ERROR,Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.FRAG_PARSING_ERROR,fatal:!0,error:t,reason:t.message})}const a=1+(i>>6&3),s=t[n+3]>>6&3|(1&i)<<2,l="mp4a.40."+a,c=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350][o];let u=o;5!==a&&29!==a||(u-=3);const d=[a<<3|(14&u)>>1,(1&u)<<7|s<<3];return lte.log(`manifest codec:${r}, parsed codec:${l}, channels:${s}, rate:${c} (ADTS object type:${a} sampling index:${o})`),{config:d,samplerate:c,channelCount:s,codec:l,parsedCodec:l,manifestCodec:r}}(t,n,r,i);if(!o)return;Jee(e,o)}}function goe(e){return 9216e4/e}function voe(e,t,n,r,i){const o=r+i*goe(e.samplerate),a=function(e,t){const n=doe(e,t);if(t+n<=e.length){const r=hoe(e,t)-n;if(r>0)return{headerLength:n,frameLength:r}}}
vendor: 4,482 bytes, line 1
1(t,n);let s;if(a){const{frameLength:r,headerLength:i}=a,l=i+r,c=Math.max(0,n+l-t.length);c?(s=new Uint8Array(l-i),s.set(t.subarray(n+i,t.length),0)):s=t.subarray(n+i,n+l);const u={unit:s,pts:o};return c||e.samples.push(u),{sample:u,length:l,missing:c}}const l=t.length-n;return s=new Uint8Array(l),s.set(t.subarray(n,t.length),0),{sample:{unit:s,pts:o},length:l,missing:-1}}function yoe(e,t){return soe(e,t)&&loe(e,t+6)+10<=e.length-t}function boe(e,t=0,n=1/0){return function(e,t,n,r){const i=(o=e)instanceof ArrayBuffer?o:o.buffer;var o;let a=1;"BYTES_PER_ELEMENT"in r&&(a=r.BYTES_PER_ELEMENT);const s=(d=e)&&d.buffer instanceof ArrayBuffer&&void 0!==d.byteLength&&void 0!==d.byteOffset?e.byteOffset:0,l=(s+e.byteLength)/a,c=(s+t)/a,u=Math.floor(Math.max(0,Math.min(c,l)));var d;return new r(i,u,Math.floor(Math.min(u+Math.max(n,0),l))-u)}(e,t,n,Uint8Array)}function Coe(e){return"PRIV"===e.type?function(e){if(e.size<2)return;const t=dte(e.data,!0),n=new Uint8Array(e.data.subarray(t.length+1));return{key:e.type,info:t,data:n.buffer}}(e):"W"===e.type[0]?function(e){if("WXXX"===e.type){if(e.size<2)return;let t=1;const n=dte(e.data.subarray(t),!0);t+=n.length+1;const r=dte(e.data.subarray(t));return{key:e.type,info:n,data:r}}const t=dte(e.data);return{key:e.type,info:"",data:t}}(e):"APIC"===e.type?function(e){const t={key:e.type,description:"",data:"",mimeType:null,pictureType:null};if(e.size<2)return;if(3!==e.data[0])return;const n=e.data.subarray(1).indexOf(0);if(-1===n)return;const r=dte(boe(e.data,1,n)),i=e.data[2+n],o=e.data.subarray(3+n).indexOf(0);if(-1===o)return;const a=dte(boe(e.data,3+n,o));let s;var l;return s="--\x3e"===r?dte(boe(e.data,4+n+o)):(l=e.data.subarray(4+n+o))instanceof ArrayBuffer?l:0==l.byteOffset&&l.byteLength==l.buffer.byteLength?l.buffer:new Uint8Array(l).buffer,t.mimeType=r,t.pictureType=i,t.description=a,t.data=s,t}(e):function(e){if(e.size<2)return;if("TXXX"===e.type){let t=1;const n=dte(e.data.subarray(t),!0);t+=n.length+1;const r=dte(e.data.subarray(t));return{key:e.type,info:n,data:r}}const t=dte(e.data.subarray(1));return{key:e.type,info:"",data:t}}(e)}function woe(e){const t=String.fromCharCode(e[0],e[1],e[2],e[3]),n=loe(e,4);return{type:t,size:n,data:e.subarray(10,10+n)}}function Eoe(e){let t=0;const n=[];for(;soe(e,t);){const r=loe(e,t+6);e[t+5]>>6&1&&(t+=10),t+=10;const i=t+r;for(;t+10<i;){const r=woe(e.subarray(t)),i=Coe(r);i&&n.push(i),t+=r.size+10}aoe(e,t)&&(t+=10)}return n}function koe(e){return e&&"PRIV"===e.key&&"com.apple.streaming.transportStreamTimestamp"===e.info}function Soe(e){if(8===e.data.byteLength){const t=new Uint8Array(e.data),n=1&t[3];let r=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return r/=45,n&&(r+=47721858.84),Math.round(r)}}function xoe(e){const t=Eoe(e);for(let n=0;n<t.length;n++){const e=t[n];if(koe(e))return Soe(e)}}let Toe=function(e){return e.audioId3="org.id3",e.dateRange="com.apple.quicktime.HLS",e.emsg="https://aomedia.org/emsg/ID3",e.misbklv="urn:misb:KLV:bin:1910.1",e}({});function Moe(e="",t=9e4){return{type:e,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class Aoe{constructor(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}resetInitSegment(e,t,n,r){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}}resetTimeStamp(e){this.initPTS=e,this.resetContiguity()}resetContiguity(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0}canParse(e,t){return!1}appendFrame(e,t,n){}demux(e,t){this.cachedData&&(e=Zte(this.cachedData,e),this.cachedData=null);let n,r=coe(e,0),i=r?r.length:0;const o=this._audioTrack,a=this._id3Track,s=r?xoe(r):void 0,l=e.length;for((null===this.basePTS||0===this.frameIndex&&$ee(s))&&(this.basePTS=Loe(s,t,this.initPTS),this.lastPTS=this.basePTS),null===this.lastPTS&&(this.lastPTS=this.basePTS),r&&r.length>0&&a.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:r,type:Toe.audioId3,duration:Number.POSITIVE_INFINITY});i<l;){if(this.canParse(e,i)){const t=this.appendFrame(o,e,i);t?(this.frameIndex++,this.lastPTS=t.sample.pts,i+=t.length,n=i):i=l}else yoe(e,i)?(r=coe(e,i),a.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:r,type:Toe.audioId3,duration:Number.POSITIVE_INFINITY}),i+=r.length,n=i):i++;if(i===l&&n!==l){const t=e.slice(n);this.cachedData?this.cachedData=Zte(this.cachedData,t):this.cachedData=t}}return{audioTrack:o,videoTrack:Moe(),id3Track:a,textTrack:Moe()}}
vendor: 5,511 bytes, line 1
1demuxSampleAes(e,t,n){return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`))}flush(e){const t=this.cachedData;return t&&(this.cachedData=null,this.demux(t,0)),{audioTrack:this._audioTrack,videoTrack:Moe(),id3Track:this._id3Track,textTrack:Moe()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const Loe=(e,t,n)=>$ee(e)?90*e:9e4*t+(n?9e4*n.baseTime/n.timescale:0);let Poe=null;const Roe=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],Ooe=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Doe=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Ioe=[0,1,1,4];function _oe(e,t,n,r,i){if(n+24>t.length)return;const o=Foe(t,n);if(o&&n+o.frameLength<=t.length){const a=r+i*(9e4*o.samplesPerFrame/o.sampleRate),s={unit:t.subarray(n,n+o.frameLength),pts:a,dts:a};return e.config=[],e.channelCount=o.channelCount,e.samplerate=o.sampleRate,e.samples.push(s),{sample:s,length:o.frameLength,missing:0}}}function Foe(e,t){const n=e[t+1]>>3&3,r=e[t+1]>>1&3,i=e[t+2]>>4&15,o=e[t+2]>>2&3;if(1!==n&&0!==i&&15!==i&&3!==o){const a=e[t+2]>>1&1,s=e[t+3]>>6,l=1e3*Roe[14*(3===n?3-r:3===r?3:4)+i-1],c=Ooe[3*(3===n?0:2===n?1:2)+o],u=3===s?1:2,d=Doe[n][r],h=Ioe[r],f=8*d*h,p=Math.floor(d*l/c+a)*h;if(null===Poe){const e=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Poe=e?parseInt(e[1]):0}return!!Poe&&Poe<=87&&2===r&&l>=224e3&&0===s&&(e[t+3]=128|e[t+3]),{sampleRate:c,channelCount:u,frameLength:p,samplesPerFrame:f}}}function $oe(e,t){return!(255!==e[t]||224&~e[t+1]||!(6&e[t+1]))}function Noe(e,t){return t+1<e.length&&$oe(e,t)}function Boe(e,t){if(t+1<e.length&&$oe(e,t)){const n=4,r=Foe(e,t);let i=n;null!=r&&r.frameLength&&(i=r.frameLength);const o=t+i;return o===e.length||Noe(e,o)}return!1}const joe=(e,t)=>{let n=0,r=5;t+=r;const i=new Uint32Array(1),o=new Uint32Array(1),a=new Uint8Array(1);for(;r>0;){a[0]=e[t];const s=Math.min(r,8),l=8-s;o[0]=4278190080>>>24+l<<l,i[0]=(a[0]&o[0])>>l,n=n?n<<s|i[0]:i[0],t+=1,r-=s}return n};function zoe(e,t,n,r,i){if(n+8>t.length)return-1;if(11!==t[n]||119!==t[n+1])return-1;const o=t[n+4]>>6;if(o>=3)return-1;const a=[48e3,44100,32e3][o],s=63&t[n+4],l=2*[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][3*s+o];if(n+l>t.length)return-1;const c=t[n+6]>>5;let u=0;2===c?u+=2:(1&c&&1!==c&&(u+=2),4&c&&(u+=2));const d=(t[n+6]<<8|t[n+7])>>12-u&1,h=[2,1,2,3,3,4,4,5][c]+d,f=t[n+5]>>3,p=7&t[n+5],m=new Uint8Array([o<<6|f<<1|p>>2,(3&p)<<6|c<<3|d<<2|s>>4,s<<4&224]),g=r+i*(1536/a*9e4),v=t.subarray(n,n+l);return e.config=m,e.channelCount=h,e.samplerate=a,e.samples.push({unit:v,pts:g}),l}const Voe=/\/emsg[-/]ID3/i;function Hoe(e,t){return $ee(e.presentationTime)?e.presentationTime/e.timeScale:t+e.presentationTimeDelta/e.timeScale}class Uoe{constructor(e,t,n){this.keyData=void 0,this.decrypter=void 0,this.keyData=n,this.decrypter=new hre(t,{removePKCS7Padding:!1})}decryptBuffer(e){return this.decrypter.decrypt(e,this.keyData.key.buffer,this.keyData.iv.buffer,0)}decryptAacSample(e,t,n){const r=e[t].unit;if(r.length<=16)return;const i=r.subarray(16,r.length-r.length%16),o=i.buffer.slice(i.byteOffset,i.byteOffset+i.length);this.decryptBuffer(o).then(i=>{const o=new Uint8Array(i);r.set(o,16),this.decrypter.isSync()||this.decryptAacSamples(e,t+1,n)}).catch(n)}decryptAacSamples(e,t,n){for(;;t++){if(t>=e.length)return void n();if(!(e[t].unit.length<32||(this.decryptAacSample(e,t,n),this.decrypter.isSync())))return}}getAvcEncryptedData(e){const t=16*Math.floor((e.length-48)/160)+16,n=new Int8Array(t);let r=0;for(let i=32;i<e.length-16;i+=160,r+=16)n.set(e.subarray(i,i+16),r);return n}getAvcDecryptedUnit(e,t){const n=new Uint8Array(t);let r=0;for(let i=32;i<e.length-16;i+=160,r+=16)e.set(n.subarray(r,r+16),i);return e}decryptAvcSample(e,t,n,r,i){const o=tne(i.data),a=this.getAvcEncryptedData(o);this.decryptBuffer(a.buffer).then(a=>{i.data=this.getAvcDecryptedUnit(o,a),this.decrypter.isSync()||this.decryptAvcSamples(e,t,n+1,r)}).catch(r)}decryptAvcSamples(e,t,n,r){if(e instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;t++,n=0){if(t>=e.length)return void r();const i=e[t].units;for(;!(n>=i.length);n++){const o=i[n];if(!(o.data.length<=48||1!==o.type&&5!==o.type||(this.decryptAvcSample(e,t,n,r,o),this.decrypter.isSync())))return}}}}class Woe{constructor(){this.VideoSample=null}createVideoSample(e,t,n){return{key:e,frame:!1,pts:t,dts:n,units:[],length:0}}getLastNalUnit(e){var t;let n,r=this.VideoSample;if(r&&0!==r.units.length||(r=e[e.length-1]),null!=(t=r)&&t.units){const e=r.units;n=e[e.length-1]}return n}pushAccessUnit(e,t){if(e.units.length&&e.frame){if(void 0===e.pts){const n=t.samples,r=n.length;if(!r)return void t.dropped++;{const t=n[r-1];e.pts=t.pts,e.dts=t.dts}}t.samples.push(e)}}parseNALu(e,t,n){const r=t.byteLength;let i=e.naluState||0;const o=i,a=[];let s,l,c,u=0,d=-1,h=0;for(-1===i&&(d=0,h=this.getNALuType(t,0),i=0,u=1);u<r;
vendor: 11,929 bytes, line 1
1)if(s=t[u++],i)if(1!==i)if(s)if(1===s){if(l=u-i-1,d>=0){const e={data:t.subarray(d,l),type:h};a.push(e)}else{const n=this.getLastNalUnit(e.samples);n&&(o&&u<=4-o&&n.state&&(n.data=n.data.subarray(0,n.data.byteLength-o)),l>0&&(n.data=Zte(n.data,t.subarray(0,l)),n.state=0))}u<r?(c=this.getNALuType(t,u),d=u,h=c,i=0):i=-1}else i=0;else i=3;else i=s?0:2;else i=s?0:1;if(d>=0&&i>=0){const e={data:t.subarray(d,r),type:h,state:i};a.push(e)}if(0===a.length){const n=this.getLastNalUnit(e.samples);n&&(n.data=Zte(n.data,t))}return e.naluState=i,a}}class Goe{constructor(e){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const e=this.data,t=this.bytesAvailable,n=e.byteLength-t,r=new Uint8Array(4),i=Math.min(4,t);if(0===i)throw new Error("no bytes available");r.set(e.subarray(n,n+i)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=8*i,this.bytesAvailable-=i}skipBits(e){let t;e=Math.min(e,8*this.bytesAvailable+this.bitsAvailable),this.bitsAvailable>e?(this.word<<=e,this.bitsAvailable-=e):(t=(e-=this.bitsAvailable)>>3,e-=t<<3,this.bytesAvailable-=t,this.loadWord(),this.word<<=e,this.bitsAvailable-=e)}readBits(e){let t=Math.min(this.bitsAvailable,e);const n=this.word>>>32-t;if(e>32&<e.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=t,this.bitsAvailable>0)this.word<<=t;else{if(!(this.bytesAvailable>0))throw new Error("no bits available");this.loadWord()}return t=e-t,t>0&&this.bitsAvailable?n<<t|this.readBits(t):n}skipLZ(){let e;for(e=0;e<this.bitsAvailable;++e)if(this.word&2147483648>>>e)return this.word<<=e,this.bitsAvailable-=e,e;return this.loadWord(),e+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const e=this.skipLZ();return this.readBits(e+1)-1}readEG(){const e=this.readUEG();return 1&e?1+e>>>1:-1*(e>>>1)}readBoolean(){return 1===this.readBits(1)}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class qoe extends Woe{parsePES(e,t,n,r){const i=this.parseNALu(e,n.data,r);let o,a=this.VideoSample,s=!1;n.data=null,a&&i.length&&!e.audFound&&(this.pushAccessUnit(a,e),a=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),i.forEach(r=>{var i,l;switch(r.type){case 1:{let t=!1;o=!0;const i=r.data;if(s&&i.length>4){const e=this.readSliceType(i);2!==e&&4!==e&&7!==e&&9!==e||(t=!0)}var c;t&&null!=(c=a)&&c.frame&&!a.key&&(this.pushAccessUnit(a,e),a=this.VideoSample=null),a||(a=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),a.frame=!0,a.key=t;break}case 5:o=!0,null!=(i=a)&&i.frame&&!a.key&&(this.pushAccessUnit(a,e),a=this.VideoSample=null),a||(a=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),a.key=!0,a.frame=!0;break;case 6:o=!0,ene(r.data,1,n.pts,t.samples);break;case 7:{var u,d;o=!0,s=!0;const t=r.data,n=this.readSPS(t);if(!e.sps||e.width!==n.width||e.height!==n.height||(null==(u=e.pixelRatio)?void 0:u[0])!==n.pixelRatio[0]||(null==(d=e.pixelRatio)?void 0:d[1])!==n.pixelRatio[1]){e.width=n.width,e.height=n.height,e.pixelRatio=n.pixelRatio,e.sps=[t];const r=t.subarray(1,4);let i="avc1.";for(let e=0;e<3;e++){let t=r[e].toString(16);t.length<2&&(t="0"+t),i+=t}e.codec=i}break}case 8:o=!0,e.pps=[r.data];break;case 9:o=!0,e.audFound=!0,null!=(l=a)&&l.frame&&(this.pushAccessUnit(a,e),a=null),a||(a=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts));break;case 12:o=!0;break;default:o=!1}a&&o&&a.units.push(r)}),r&&a&&(this.pushAccessUnit(a,e),this.VideoSample=null)}getNALuType(e,t){return 31&e[t]}readSliceType(e){const t=new Goe(e);return t.readUByte(),t.readUEG(),t.readUEG()}skipScalingList(e,t){let n,r=8,i=8;for(let o=0;o<e;o++)0!==i&&(n=t.readEG(),i=(r+n+256)%256),r=0===i?r:i}readSPS(e){const t=new Goe(e);let n,r,i,o=0,a=0,s=0,l=0;const c=t.readUByte.bind(t),u=t.readBits.bind(t),d=t.readUEG.bind(t),h=t.readBoolean.bind(t),f=t.skipBits.bind(t),p=t.skipEG.bind(t),m=t.skipUEG.bind(t),g=this.skipScalingList.bind(this);c();const v=c();if(u(5),f(3),c(),m(),100===v||110===v||122===v||244===v||44===v||83===v||86===v||118===v||128===v){const e=d();if(3===e&&f(1),m(),m(),f(1),h())for(r=3!==e?8:12,i=0;i<r;i++)h()&&g(i<6?16:64,t)}m();const y=d();if(0===y)d();else if(1===y)for(f(1),p(),p(),n=d(),i=0;i<n;i++)p();m(),f(1);const b=d(),C=d(),w=u(1);0===w&&f(1),f(1),h()&&(o=d(),a=d(),s=d(),l=d());let E=[1,1];if(h()&&h())switch(c()){case 1:E=[1,1];break;case 2:E=[12,11];break;case 3:E=[10,11];break;case 4:E=[16,11];break;case 5:E=[40,33];break;case 6:E=[24,11];break;case 7:E=[20,11];break;case 8:E=[32,11];break;case 9:E=[80,33];break;case 10:E=[18,11];break;case 11:E=[15,11];break;case 12:E=[64,33];break;case 13:E=[160,99];break;case 14:E=[4,3];break;case 15:E=[3,2];break;case 16:E=[2,1];break;case 255:E=[c()<<8|c(),c()<<8|c()]}return{width:Math.ceil(16*(b+1)-2*o-2*a),height:(2-w)*(C+1)*16-(w?2:4)*(s+l),pixelRatio:E}}}class Koe extends Woe{constructor(...e){super(...e),this.initVPS=null}parsePES(e,t,n,r){const i=this.parseNALu(e,n.data,r);let o,a=this.VideoSample,s=!1;n.data=null,a&&i.length&&!e.audFound&&(this.pushAccessUnit(a,e),a=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),i.forEach(r=>{var i,l;switch(r.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:a||(a=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),a.frame=!0,o=!0;break;case 16:case 17:case 18:case 21:var c;o=!0,s&&null!=(c=a)&&c.frame&&!a.key&&(this.pushAccessUnit(a,e),a=this.VideoSample=null),a||(a=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),a.key=!0,a.frame=!0;break;case 19:case 20:o=!0,null!=(i=a)&&i.frame&&!a.key&&(this.pushAccessUnit(a,e),a=this.VideoSample=null),a||(a=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),a.key=!0,a.frame=!0;break;case 39:o=!0,ene(r.data,2,n.pts,t.samples);break;case 32:o=!0,e.vps||("object"!=typeof e.params&&(e.params={}),e.params=Jee(e.params,this.readVPS(r.data)),this.initVPS=r.data),e.vps=[r.data];break;case 33:if(o=!0,s=!0,void 0===e.vps||e.vps[0]===this.initVPS||void 0===e.sps||this.matchSPS(e.sps[0],r.data)||(this.initVPS=e.vps[0],e.sps=e.pps=void 0),!e.sps){const t=this.readSPS(r.data);e.width=t.width,e.height=t.height,e.pixelRatio=t.pixelRatio,e.codec=t.codecString,e.sps=[],"object"!=typeof e.params&&(e.params={});for(const n in t.params)e.params[n]=t.params[n]}this.pushParameterSet(e.sps,r.data,e.vps),a||(a=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),a.key=!0;break;case 34:if(o=!0,"object"==typeof e.params){if(!e.pps){e.pps=[];const t=this.readPPS(r.data);for(const n in t)e.params[n]=t[n]}this.pushParameterSet(e.pps,r.data,e.vps)}break;case 35:o=!0,e.audFound=!0,null!=(l=a)&&l.frame&&(this.pushAccessUnit(a,e),a=null),a||(a=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts));break;default:o=!1}a&&o&&a.units.push(r)}),r&&a&&(this.pushAccessUnit(a,e),this.VideoSample=null)}pushParameterSet(e,t,n){(n&&n[0]===this.initVPS||!n&&!e.length)&&e.push(t)}getNALuType(e,t){return(126&e[t])>>>1}ebsp2rbsp(e){const t=new Uint8Array(e.byteLength);let n=0;for(let r=0;r<e.byteLength;r++)r>=2&&3===e[r]&&0===e[r-1]&&0===e[r-2]||(t[n]=e[r],n++);return new Uint8Array(t.buffer,0,n)}pushAccessUnit(e,t){super.pushAccessUnit(e,t),this.initVPS&&(this.initVPS=null)}readVPS(e){const t=new Goe(e);return t.readUByte(),t.readUByte(),t.readBits(4),t.skipBits(2),t.readBits(6),{numTemporalLayers:t.readBits(3)+1,temporalIdNested:t.readBoolean()}}readSPS(e){const t=new Goe(this.ebsp2rbsp(e));t.readUByte(),t.readUByte(),t.readBits(4);const n=t.readBits(3);t.readBoolean();const r=t.readBits(2),i=t.readBoolean(),o=t.readBits(5),a=t.readUByte(),s=t.readUByte(),l=t.readUByte(),c=t.readUByte(),u=t.readUByte(),d=t.readUByte(),h=t.readUByte(),f=t.readUByte(),p=t.readUByte(),m=t.readUByte(),g=t.readUByte(),v=[],y=[];for(let W=0;W<n;W++)v.push(t.readBoolean()),y.push(t.readBoolean());if(n>0)for(let W=n;W<8;W++)t.readBits(2);for(let W=0;W<n;W++)v[W]&&(t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte()),y[W]&&t.readUByte();t.readUEG();const b=t.readUEG();3==b&&t.skipBits(1);const C=t.readUEG(),w=t.readUEG(),E=t.readBoolean();let k=0,S=0,x=0,T=0;E&&(k+=t.readUEG(),S+=t.readUEG(),x+=t.readUEG(),T+=t.readUEG());const M=t.readUEG(),A=t.readUEG(),L=t.readUEG();for(let W=t.readBoolean()?0:n;W<=n;W++)t.skipUEG(),t.skipUEG(),t.skipUEG();if(t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.readBoolean()&&t.readBoolean())for(let W=0;W<4;W++)for(let e=0;e<(3===W?2:6);e++)if(t.readBoolean()){const e=Math.min(64,1<<4+(W<<1));W>1&&t.readEG();for(let n=0;n<e;n++)t.readEG()}else t.readUEG();t.readBoolean(),t.readBoolean(),t.readBoolean()&&(t.readUByte(),t.skipUEG(),t.skipUEG(),t.readBoolean());const P=t.readUEG();let R=0;for(let W=0;W<P;W++){let e=!1;if(0!==W&&(e=t.readBoolean()),e){W===P&&t.readUEG(),t.readBoolean(),t.readUEG();let e=0;for(let n=0;n<=R;n++){const n=t.readBoolean();let r=!1;n||(r=t.readBoolean()),(n||r)&&e++}R=e}else{const e=t.readUEG(),n=t.readUEG();R=e+n;for(let r=0;r<e;r++)t.readUEG(),t.readBoolean();for(let r=0;r<n;r++)t.readUEG(),t.readBoolean()}}if(t.readBoolean()){const e=t.readUEG();for(let n=0;n<e;n++){for(let e=0;e<L+4;e++)t.readBits(1);t.readBits(1)}}let O=0,D=1,I=1,_=!0,F=1,$=0;t.readBoolean(),t.readBoolean();let N=!1;if(t.readBoolean()){if(t.readBoolean()){const e=t.readUByte();e>0&&e<16?(D=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][e-1],I=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][e-1]):255===e&&(D=t.readBits(16),I=t.readBits(16))}if(t.readBoolean()&&t.readBoolean(),t.readBoolean()&&(t.readBits(3),t.readBoolean(),t.readBoolean()&&(t.readUByte(),t.readUByte(),t.readUByte())),t.readBoolean()&&(t.readUEG(),t.readUEG()),t.readBoolean(),t.readBoolean(),t.readBoolean(),N=t.readBoolean(),N&&(t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG()),t.readBoolean()&&(F=t.readBits(32),$=t.readBits(32),t.readBoolean()&&t.readUEG(),t.readBoolean())){const e=t.readBoolean(),r=t.readBoolean();let i=!1;(e||r)&&(i=t.readBoolean(),i&&(t.readUByte(),t.readBits(5),t.readBoolean(),t.readBits(5)),t.readBits(4),t.readBits(4),i&&t.readBits(4),t.readBits(5),t.readBits(5),t.readBits(5));for(let o=0;o<=n;o++){_=t.readBoolean();let n=!1;_||t.readBoolean()?t.readEG():n=t.readBoolean();const o=n?1:t.readUEG()+1;if(e)for(let e=0;e<o;e++)t.readUEG(),t.readUEG(),i&&(t.readUEG(),t.readUEG()),t.skipBits(1);if(r)for(let e=0;e<o;e++)t.readUEG(),t.readUEG(),i&&(t.readUEG(),t.readUEG()),t.skipBits(1)}}t.readBoolean()&&(t.readBoolean(),t.readBoolean(),t.readBoolean(),O=t.readUEG())}let B=C,j=w;if(E){let e=1,t=1;1===b?e=t=2:2==b&&(e=2),B=C-e*S-e*k,j=w-t*T-t*x}const z=r?["A","B","C"][r]:"",V=a<<24|s<<16|l<<8|c;let H=0;for(let W=0;W<32;W++)H=(H|(V>>W&1)<<31-W)>>>0;let U=H.toString(16);return 1===o&&"2"===U&&(U="6"),{codecString:`hvc1.${z}${o}.${U}.${i?"H":"L"}${g}.B0`,params:{general_tier_flag:i,general_profile_idc:o,general_profile_space:r,general_profile_compatibility_flags:[a,s,l,c],general_constraint_indicator_flags:[u,d,h,f,p,m],general_level_idc:g,bit_depth:M+8,bit_depth_luma_minus8:M,bit_depth_chroma_minus8:A,min_spatial_segmentation_idc:O,chroma_format_idc:b,frame_rate:{fixed:_,fps:$/F}},width:B,height:j,pixelRatio:[D,I]}}readPPS(e){const t=new Goe(this.ebsp2rbsp(e));t.readUByte(),t.readUByte(),t.skipUEG(),t.skipUEG(),t.skipBits(2),t.skipBits(3),t.skipBits(2),t.skipUEG(),t.skipUEG(),t.skipEG(),t.skipBits(2),t.readBoolean()&&t.skipUEG(),t.skipEG(),t.skipEG(),t.skipBits(4);const n=t.readBoolean(),r=t.readBoolean();let i=1;return r&&n?i=0:r?i=3:n&&(i=2),{parallelismType:i}}matchSPS(e,t){return String.fromCharCode.apply(null,e).substr(3)===String.fromCharCode.apply(null,t).substr(3)}}const Yoe=188;class Zoe{constructor(e,t,n,r){this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupp
vendor: 4,634 bytes, line 1
1orted=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._pmtId=-1,this._videoTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.remainderData=null,this.videoParser=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.logger=r,this.videoParser=null}static probe(e,t){const n=Zoe.syncOffset(e);return n>0&&t.warn(`MPEG2-TS detected but first sync word found @ offset ${n}`),-1!==n}static syncOffset(e){const t=e.length;let n=Math.min(940,t-Yoe)+1,r=0;for(;r<n;){let i=!1,o=-1,a=0;for(let s=r;s<t;s+=Yoe){if(71!==e[s]||t-s!==Yoe&&71!==e[s+Yoe]){if(a)return-1;break}if(a++,-1===o&&(o=s,0!==o&&(n=Math.min(o+18612,e.length-Yoe)+1)),i||(i=0===Qoe(e,s)),i&&a>1&&(0===o&&a>2||s+Yoe>n))return o}r++}return-1}static createTrack(e,t){return{container:"video"===e||"audio"===e?"video/mp2t":void 0,type:e,id:Ite[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:"audio"===e?t:void 0}}resetInitSegment(e,t,n,r){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=Zoe.createTrack("video"),this._videoTrack.duration=r,this._audioTrack=Zoe.createTrack("audio",r),this._id3Track=Zoe.createTrack("id3"),this._txtTrack=Zoe.createTrack("text"),this._audioTrack.segmentCodec="aac",this.videoParser=null,this.aacOverFlow=null,this.remainderData=null,this.audioCodec=t,this.videoCodec=n}resetTimeStamp(){}resetContiguity(){const{_audioTrack:e,_videoTrack:t,_id3Track:n}=this;e&&(e.pesData=null),t&&(t.pesData=null),n&&(n.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(e,t,n=!1,r=!1){let i;n||(this.sampleAes=null);const o=this._videoTrack,a=this._audioTrack,s=this._id3Track,l=this._txtTrack;let c=o.pid,u=o.pesData,d=a.pid,h=s.pid,f=a.pesData,p=s.pesData,m=null,g=this.pmtParsed,v=this._pmtId,y=e.length;if(this.remainderData&&(y=(e=Zte(this.remainderData,e)).length,this.remainderData=null),y<Yoe&&!r)return this.remainderData=e,{audioTrack:a,videoTrack:o,id3Track:s,textTrack:l};const b=Math.max(0,Zoe.syncOffset(e));y-=(y-b)%Yoe,y<e.byteLength&&!r&&(this.remainderData=new Uint8Array(e.buffer,y,e.buffer.byteLength-y));let C=0;for(let E=b;E<y;E+=Yoe)if(71===e[E]){const t=!!(64&e[E+1]),r=Qoe(e,E);let y;if((48&e[E+3])>>4>1){if(y=E+5+e[E+4],y===E+Yoe)continue}else y=E+4;switch(r){case c:t&&(u&&(i=nae(u,this.logger))&&(this.readyVideoParser(o.segmentCodec),null!==this.videoParser&&this.videoParser.parsePES(o,l,i,!1)),u={data:[],size:0}),u&&(u.data.push(e.subarray(y,E+Yoe)),u.size+=E+Yoe-y);break;case d:if(t){if(f&&(i=nae(f,this.logger)))switch(a.segmentCodec){case"aac":this.parseAACPES(a,i);break;case"mp3":this.parseMPEGPES(a,i);break;case"ac3":this.parseAC3PES(a,i)}f={data:[],size:0}}f&&(f.data.push(e.subarray(y,E+Yoe)),f.size+=E+Yoe-y);break;case h:t&&(p&&(i=nae(p,this.logger))&&this.parseID3PES(s,i),p={data:[],size:0}),p&&(p.data.push(e.subarray(y,E+Yoe)),p.size+=E+Yoe-y);break;case 0:t&&(y+=e[y]+1),v=this._pmtId=Xoe(e,y);break;case v:{t&&(y+=e[y]+1);const r=Joe(e,y,this.typeSupported,n,this.observer,this.logger);c=r.videoPid,c>0&&(o.pid=c,o.segmentCodec=r.segmentVideoCodec),d=r.audioPid,d>0&&(a.pid=d,a.segmentCodec=r.segmentAudioCodec),h=r.id3Pid,h>0&&(s.pid=h),null===m||g||(this.logger.warn(`MPEG-TS PMT found at ${E} after unknown PID '${m}'. Backtracking to sync byte @${b} to parse all TS packets.`),m=null,E=b-188),g=this.pmtParsed=!0;break}case 17:case 8191:break;default:m=r}}else C++;C>0&&eae(this.observer,new Error(`Found ${C} TS packet/s that do not start with 0x47`),void 0,this.logger),o.pesData=u,a.pesData=f,s.pesData=p;const w={audioTrack:a,videoTrack:o,id3Track:s,textTrack:l};return r&&this.extractRemainingSamples(w),w}flush(){const{remainderData:e}=this;let t;return this.remainderData=null,t=e?this.demux(e,-1,!1,!0):{videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(t),this.sampleAes?this.decrypt(t,this.sampleAes):t}extractRemainingSamples(e){const{audioTrack:t,videoTrack:n,id3Track:r,textTrack:i}=e,o=n.pesData,a=t.pesData,s=r.pesData;let l;if(o&&(l=nae(o,this.logger))?(this.readyVideoParser(n.segmentCodec),null!==this.videoParser&&(this.videoParser.parsePES(n,i,l,!0),n.pesData=null)):n.pesData=o,a&&(l=nae(a,this.logger))){switch(t.segmentCodec){case"aac":this.parseAACPES(t,l);break;case"mp3":this.parseMPEGPES(t,l);break;case"ac3":this.parseAC3PES(t,l)}t.pesData=null}else null!=a&&a.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),t.pesData=a;s&&(l=nae(s,this.logger))?(this.parseID3PES(r,l),r.pesData=null):r.pesData=s}
vendor: 6,578 bytes, line 1
1demuxSampleAes(e,t,n){const r=this.demux(e,n,!0,!this.config.progressive),i=this.sampleAes=new Uoe(this.observer,this.config,t);return this.decrypt(r,i)}readyVideoParser(e){null===this.videoParser&&("avc"===e?this.videoParser=new qoe:"hevc"===e&&(this.videoParser=new Koe))}decrypt(e,t){return new Promise(n=>{const{audioTrack:r,videoTrack:i}=e;r.samples&&"aac"===r.segmentCodec?t.decryptAacSamples(r.samples,0,()=>{i.samples?t.decryptAvcSamples(i.samples,0,0,()=>{n(e)}):n(e)}):i.samples&&t.decryptAvcSamples(i.samples,0,0,()=>{n(e)})})}destroy(){this.observer&&this.observer.removeAllListeners(),this.config=this.logger=this.observer=null,this.aacOverFlow=this.videoParser=this.remainderData=this.sampleAes=null,this._videoTrack=this._audioTrack=this._id3Track=this._txtTrack=void 0}parseAACPES(e,t){let n=0;const r=this.aacOverFlow;let i,o,a,s=t.data;if(r){this.aacOverFlow=null;const t=r.missing,i=r.sample.unit.byteLength;if(-1===t)s=Zte(r.sample.unit,s);else{const o=i-t;r.sample.unit.set(s.subarray(0,t),o),e.samples.push(r.sample),n=r.missing}}for(i=n,o=s.length;i<o-1&&!foe(s,i);i++);if(i!==n){let e;const t=i<o-1;if(e=t?`AAC PES did not start with ADTS header,offset:${i}`:"No ADTS header found in AAC PES",eae(this.observer,new Error(e),t,this.logger),!t)return}if(moe(e,this.observer,s,i,this.audioCodec),void 0!==t.pts)a=t.pts;else{if(!r)return void this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");{const t=goe(e.samplerate);a=r.sample.pts+t}}let l,c=0;for(;i<o;){if(l=voe(e,s,i,a,c),i+=l.length,l.missing){this.aacOverFlow=l;break}for(c++;i<o-1&&!foe(s,i);i++);}}parseMPEGPES(e,t){const n=t.data,r=n.length;let i=0,o=0;const a=t.pts;if(void 0!==a)for(;o<r;)if(Noe(n,o)){const t=_oe(e,n,o,a,i);if(!t)break;o+=t.length,i++}else o++;else this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS")}parseAC3PES(e,t){{const n=t.data,r=t.pts;if(void 0===r)return void this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");const i=n.length;let o,a=0,s=0;for(;s<i&&(o=zoe(e,n,s,r,a++))>0;)s+=o}}parseID3PES(e,t){if(void 0===t.pts)return void this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");const n=Jee({},t,{type:this._videoTrack?Toe.emsg:Toe.audioId3,duration:Number.POSITIVE_INFINITY});e.samples.push(n)}}function Qoe(e,t){return((31&e[t+1])<<8)+e[t+2]}function Xoe(e,t){return(31&e[t+10])<<8|e[t+11]}function Joe(e,t,n,r,i,o){const a={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},s=t+3+((15&e[t+1])<<8|e[t+2])-4;for(t+=12+((15&e[t+10])<<8|e[t+11]);t<s;){const s=Qoe(e,t),l=(15&e[t+3])<<8|e[t+4];switch(e[t]){case 207:if(!r){tae("ADTS AAC",o);break}case 15:-1===a.audioPid&&(a.audioPid=s);break;case 21:-1===a.id3Pid&&(a.id3Pid=s);break;case 219:if(!r){tae("H.264",o);break}case 27:-1===a.videoPid&&(a.videoPid=s);break;case 3:case 4:n.mpeg||n.mp3?-1===a.audioPid&&(a.audioPid=s,a.segmentAudioCodec="mp3"):o.log("MPEG audio found, not supported in this browser");break;case 193:if(!r){tae("AC-3",o);break}case 129:n.ac3?-1===a.audioPid&&(a.audioPid=s,a.segmentAudioCodec="ac3"):o.log("AC-3 audio found, not supported in this browser");break;case 6:if(-1===a.audioPid&&l>0){let r=t+5,i=l;for(;i>2;){106===e[r]&&(!0!==n.ac3?o.log("AC-3 audio found, not supported in this browser for now"):(a.audioPid=s,a.segmentAudioCodec="ac3"));const t=e[r+1]+2;r+=t,i-=t}}break;case 194:case 135:return eae(i,new Error("Unsupported EC-3 in M2TS found"),void 0,o),a;case 36:-1===a.videoPid&&(a.videoPid=s,a.segmentVideoCodec="hevc",o.log("HEVC in M2TS found"))}t+=l+5}return a}function eae(e,t,n,r){r.warn(`parsing error: ${t.message}`),e.emit(Vee.ERROR,Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function tae(e,t){t.log(`${e} with AES-128-CBC encryption found in unencrypted stream`)}function nae(e,t){let n,r,i,o,a,s=0;const l=e.data;if(!e||0===e.size)return null;for(;l[0].length<19&&l.length>1;)l[0]=Zte(l[0],l[1]),l.splice(1,1);if(n=l[0],1===(n[0]<<16)+(n[1]<<8)+n[2]){if(r=(n[4]<<8)+n[5],r&&r>e.size-6)return null;const c=n[7];192&c&&(o=536870912*(14&n[9])+4194304*(255&n[10])+16384*(254&n[11])+128*(255&n[12])+(254&n[13])/2,64&c?(a=536870912*(14&n[14])+4194304*(255&n[15])+16384*(254&n[16])+128*(255&n[17])+(254&n[18])/2,o-a>54e5&&(t.warn(`${Math.round((o-a)/9e4)}s delta between PTS and DTS, align them`),o=a)):a=o),i=n[8];let u=i+9;if(e.size<=u)return null;e.size-=u;const d=new Uint8Array(e.size);for(let e=0,t=l.length;e<t;e++){n=l[e];let t=n.byteLength;if(u){if(u>t){u-=t;continue}n=n.subarray(u),t-=u,u=0}d.set(n,s),s+=t}return r&&(r-=i+3),{data:d,pts:o,dts:a,len:r}}return null}class rae{static getSilentFrame(e,t){if("mp4a.40.2"===e){if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(1===t)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}}}const iae=Math.pow(2,32)-1;class oae{static init(){let e;for(e in oae.types={avc1:[],avcC:[],hvc1:[],hvcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],dac3:[],"ac-3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]},oae.types)oae.types.hasOwnProperty(e)&&(oae.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);const t=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),n=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);oae.HDLR_TYPES={video:t,audio:n};
vendor: 4,516 bytes, line 1
1const r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),i=new Uint8Array([0,0,0,0,0,0,0,0]);oae.STTS=oae.STSC=oae.STCO=i,oae.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),oae.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),oae.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),oae.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const o=new Uint8Array([105,115,111,109]),a=new Uint8Array([97,118,99,49]),s=new Uint8Array([0,0,0,1]);oae.FTYP=oae.box(oae.types.ftyp,o,s,o,a),oae.DINF=oae.box(oae.types.dinf,oae.box(oae.types.dref,r))}static box(e,...t){let n=8,r=t.length;const i=r;for(;r--;)n+=t[r].byteLength;const o=new Uint8Array(n);for(o[0]=n>>24&255,o[1]=n>>16&255,o[2]=n>>8&255,o[3]=255&n,o.set(e,4),r=0,n=8;r<i;r++)o.set(t[r],n),n+=t[r].byteLength;return o}static hdlr(e){return oae.box(oae.types.hdlr,oae.HDLR_TYPES[e])}static mdat(e){return oae.box(oae.types.mdat,e)}static mdhd(e,t){t*=e;const n=Math.floor(t/(iae+1)),r=Math.floor(t%(iae+1));return oae.box(oae.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24,n>>16&255,n>>8&255,255&n,r>>24,r>>16&255,r>>8&255,255&r,85,196,0,0]))}static mdia(e){return oae.box(oae.types.mdia,oae.mdhd(e.timescale||0,e.duration||0),oae.hdlr(e.type),oae.minf(e))}static mfhd(e){return oae.box(oae.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))}static minf(e){return"audio"===e.type?oae.box(oae.types.minf,oae.box(oae.types.smhd,oae.SMHD),oae.DINF,oae.stbl(e)):oae.box(oae.types.minf,oae.box(oae.types.vmhd,oae.VMHD),oae.DINF,oae.stbl(e))}static moof(e,t,n){return oae.box(oae.types.moof,oae.mfhd(e),oae.traf(n,t))}static moov(e){let t=e.length;const n=[];for(;t--;)n[t]=oae.trak(e[t]);return oae.box.apply(null,[oae.types.moov,oae.mvhd(e[0].timescale||0,e[0].duration||0)].concat(n).concat(oae.mvex(e)))}static mvex(e){let t=e.length;const n=[];for(;t--;)n[t]=oae.trex(e[t]);return oae.box.apply(null,[oae.types.mvex,...n])}static mvhd(e,t){t*=e;const n=Math.floor(t/(iae+1)),r=Math.floor(t%(iae+1)),i=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24,n>>16&255,n>>8&255,255&n,r>>24,r>>16&255,r>>8&255,255&r,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return oae.box(oae.types.mvhd,i)}static sdtp(e){const t=e.samples||[],n=new Uint8Array(4+t.length);let r,i;for(r=0;r<t.length;r++)i=t[r].flags,n[r+4]=i.dependsOn<<4|i.isDependedOn<<2|i.hasRedundancy;return oae.box(oae.types.sdtp,n)}static stbl(e){return oae.box(oae.types.stbl,oae.stsd(e),oae.box(oae.types.stts,oae.STTS),oae.box(oae.types.stsc,oae.STSC),oae.box(oae.types.stsz,oae.STSZ),oae.box(oae.types.stco,oae.STCO))}static avc1(e){let t,n,r,i=[],o=[];for(t=0;t<e.sps.length;t++)n=e.sps[t],r=n.byteLength,i.push(r>>>8&255),i.push(255&r),i=i.concat(Array.prototype.slice.call(n));for(t=0;t<e.pps.length;t++)n=e.pps[t],r=n.byteLength,o.push(r>>>8&255),o.push(255&r),o=o.concat(Array.prototype.slice.call(n));const a=oae.box(oae.types.avcC,new Uint8Array([1,i[3],i[4],i[5],255,224|e.sps.length].concat(i).concat([e.pps.length]).concat(o))),s=e.width,l=e.height,c=e.pixelRatio[0],u=e.pixelRatio[1];return oae.box(oae.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,s>>8&255,255&s,l>>8&255,255&l,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),a,oae.box(oae.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),oae.box(oae.types.pasp,new Uint8Array([c>>24,c>>16&255,c>>8&255,255&c,u>>24,u>>16&255,u>>8&255,255&u])))}static esds(e){const t=e.config;return new Uint8Array([0,0,0,0,3,25,0,1,0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,...t,6,1,2])}static audioStsd(e){const t=e.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount||0,0,16,0,0,0,0,t>>8&255,255&t,0,0])}static mp4a(e){return oae.box(oae.types.mp4a,oae.audioStsd(e),oae.box(oae.types.esds,oae.esds(e)))}static mp3(e){return oae.box(oae.types[".mp3"],oae.audioStsd(e))}static ac3(e){return oae.box(oae.types["ac-3"],oae.audioStsd(e),oae.box(oae.types.dac3,e.config))}static stsd(e){const{segmentCodec:t}=e;if("audio"===e.type){if("aac"===t)return oae.box(oae.types.stsd,oae.STSD,oae.mp4a(e));if("ac3"===t&&e.config)return oae.box(oae.types.stsd,oae.STSD,oae.ac3(e));if("mp3"===t&&"mp3"===e.codec)return oae.box(oae.types.stsd,oae.STSD,oae.mp3(e))}
vendor: 4,528 bytes, line 1
1else{if(!e.pps||!e.sps)throw new Error("video track missing pps or sps");if("avc"===t)return oae.box(oae.types.stsd,oae.STSD,oae.avc1(e));if("hevc"===t&&e.vps)return oae.box(oae.types.stsd,oae.STSD,oae.hvc1(e))}throw new Error(`unsupported ${e.type} segment codec (${t}/${e.codec})`)}static tkhd(e){const t=e.id,n=(e.duration||0)*(e.timescale||0),r=e.width||0,i=e.height||0,o=Math.floor(n/(iae+1)),a=Math.floor(n%(iae+1));return oae.box(oae.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,255&t,0,0,0,0,o>>24,o>>16&255,o>>8&255,255&o,a>>24,a>>16&255,a>>8&255,255&a,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,r>>8&255,255&r,0,0,i>>8&255,255&i,0,0]))}static traf(e,t){const n=oae.sdtp(e),r=e.id,i=Math.floor(t/(iae+1)),o=Math.floor(t%(iae+1));return oae.box(oae.types.traf,oae.box(oae.types.tfhd,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,255&r])),oae.box(oae.types.tfdt,new Uint8Array([1,0,0,0,i>>24,i>>16&255,i>>8&255,255&i,o>>24,o>>16&255,o>>8&255,255&o])),oae.trun(e,n.length+16+20+8+16+8+8),n)}static trak(e){return e.duration=e.duration||4294967295,oae.box(oae.types.trak,oae.tkhd(e),oae.mdia(e))}static trex(e){const t=e.id;return oae.box(oae.types.trex,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(e,t){const n=e.samples||[],r=n.length,i=12+16*r,o=new Uint8Array(i);let a,s,l,c,u,d;for(t+=8+i,o.set(["video"===e.type?1:0,0,15,1,r>>>24&255,r>>>16&255,r>>>8&255,255&r,t>>>24&255,t>>>16&255,t>>>8&255,255&t],0),a=0;a<r;a++)s=n[a],l=s.duration,c=s.size,u=s.flags,d=s.cts,o.set([l>>>24&255,l>>>16&255,l>>>8&255,255&l,c>>>24&255,c>>>16&255,c>>>8&255,255&c,u.isLeading<<2|u.dependsOn,u.isDependedOn<<6|u.hasRedundancy<<4|u.paddingValue<<1|u.isNonSync,61440&u.degradPrio,15&u.degradPrio,d>>>24&255,d>>>16&255,d>>>8&255,255&d],12+16*a);return oae.box(oae.types.trun,o)}static initSegment(e){oae.types||oae.init();const t=oae.moov(e);return Zte(oae.FTYP,t)}static hvc1(e){const t=e.params,n=[e.vps,e.sps,e.pps],r=new Uint8Array([1,t.general_profile_space<<6|(t.general_tier_flag?32:0)|t.general_profile_idc,t.general_profile_compatibility_flags[0],t.general_profile_compatibility_flags[1],t.general_profile_compatibility_flags[2],t.general_profile_compatibility_flags[3],t.general_constraint_indicator_flags[0],t.general_constraint_indicator_flags[1],t.general_constraint_indicator_flags[2],t.general_constraint_indicator_flags[3],t.general_constraint_indicator_flags[4],t.general_constraint_indicator_flags[5],t.general_level_idc,240|t.min_spatial_segmentation_idc>>8,255&t.min_spatial_segmentation_idc,252|t.parallelismType,252|t.chroma_format_idc,248|t.bit_depth_luma_minus8,248|t.bit_depth_chroma_minus8,0,parseInt(t.frame_rate.fps),3|t.temporal_id_nested<<2|t.num_temporal_layers<<3|(t.frame_rate.fixed?64:0),n.length]);let i=r.length;for(let h=0;h<n.length;h+=1){i+=3;for(let e=0;e<n[h].length;e+=1)i+=2+n[h][e].length}const o=new Uint8Array(i);o.set(r,0),i=r.length;const a=n.length-1;for(let h=0;h<n.length;h+=1){o.set(new Uint8Array([32+h|(h===a?128:0),0,n[h].length]),i),i+=3;for(let e=0;e<n[h].length;e+=1)o.set(new Uint8Array([n[h][e].length>>8,255&n[h][e].length]),i),i+=2,o.set(n[h][e],i),i+=n[h][e].length}const s=oae.box(oae.types.hvcC,o),l=e.width,c=e.height,u=e.pixelRatio[0],d=e.pixelRatio[1];return oae.box(oae.types.hvc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,l>>8&255,255&l,c>>8&255,255&c,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),s,oae.box(oae.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),oae.box(oae.types.pasp,new Uint8Array([u>>24,u>>16&255,u>>8&255,255&u,d>>24,d>>16&255,d>>8&255,255&d])))}}function aae(e,t,n=1,r=!1){const i=e*t*n;return r?Math.round(i):i}function sae(e,t=!1){return aae(e,1e3,1/9e4,t)}function lae(e){const{baseTime:t,timescale:n,trackId:r}=e;return`${t/n} (${t}/${n}) trackId: ${r}`}oae.types=void 0,oae.HDLR_TYPES=void 0,oae.STTS=void 0,oae.STSC=void 0,oae.STCO=void 0,oae.STSZ=void 0,oae.VMHD=void 0,oae.SMHD=void 0,oae.STSD=void 0,oae.FTYP=void 0,oae.DINF=void 0;let cae,uae=null,dae=null;function hae(e,t,n,r){return{duration:t,size:n,cts:r,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:e?2:1,isNonSync:e?0:1}}}class fae extends nte{constructor(e,t,n,r){if(super("mp4-remuxer",r),this.observer=void 0,this.config=void 0,this.typeSupp
vendor: 8,983 bytes, line 1
1orted=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextVideoTs=null,this.nextAudioTs=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.ISGenerated=!1,null===uae){const e=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);uae=e?parseInt(e[1]):0}if(null===dae){const e=navigator.userAgent.match(/Safari\/(\d+)/i);dae=e?parseInt(e[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(e){const t=this._initPTS;t&&e&&e.trackId===t.trackId&&e.baseTime===t.baseTime&&e.timescale===t.timescale||this.log(`Reset initPTS: ${t?lae(t):t} > ${e?lae(e):e}`),this._initPTS=this._initDTS=e}resetNextTimestamp(){this.log("reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.log("ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(e){let t=!1;const n=e[0].pts,r=e.reduce((e,r)=>{let i=r.pts,o=i-e;return o<-4294967296&&(t=!0,i=pae(i,n),o=i-e),o>0?e:i},n);return t&&this.debug("PTS rollover detected"),r}remux(e,t,n,r,i,o,a,s){let l,c,u,d,h,f,p=i,m=i;const g=e.pid>-1,v=t.pid>-1,y=t.samples.length,b=e.samples.length>0,C=a&&y>0||y>1;if((!g||b)&&(!v||C)||this.ISGenerated||a){if(this.ISGenerated){var w,E,k,S;const e=this.videoTrackConfig;(e&&(t.width!==e.width||t.height!==e.height||(null==(w=t.pixelRatio)?void 0:w[0])!==(null==(E=e.pixelRatio)?void 0:E[0])||(null==(k=t.pixelRatio)?void 0:k[1])!==(null==(S=e.pixelRatio)?void 0:S[1]))||!e&&C||null===this.nextAudioTs&&b)&&this.resetInitSegment()}this.ISGenerated||(u=this.generateIS(e,t,i,o));const n=this.isVideoContiguous;let r,a=-1;if(C&&(a=function(e){for(let t=0;t<e.length;t++)if(e[t].key)return t;return-1}(t.samples),!n&&this.config.forceKeyFrameOnDiscontinuity))if(f=!0,a>0){this.warn(`Dropped ${a} out of ${y} video samples due to a missing keyframe`);const e=this.getVideoStartPts(t.samples);t.samples=t.samples.slice(a),t.dropped+=a,m+=(t.samples[0].pts-e)/t.inputTimeScale,r=m}else-1===a&&(this.warn(`No keyframe found out of ${y} video samples`),f=!1);if(this.ISGenerated){if(b&&C){const n=this.getVideoStartPts(t.samples),r=(pae(e.samples[0].pts,n)-n)/t.inputTimeScale;p+=Math.max(0,r),m+=Math.max(0,-r)}if(b){if(e.samplerate||(this.warn("regenerate InitSegment as audio detected"),u=this.generateIS(e,t,i,o)),c=this.remuxAudio(e,p,this.isAudioContiguous,o,v||C||s===Kee?m:void 0),C){const r=c?c.endPTS-c.startPTS:0;t.inputTimeScale||(this.warn("regenerate InitSegment as video detected"),u=this.generateIS(e,t,i,o)),l=this.remuxVideo(t,m,n,r)}}else C&&(l=this.remuxVideo(t,m,n,0));l&&(l.firstKeyFrame=a,l.independent=-1!==a,l.firstKeyFramePTS=r)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(n.samples.length&&(h=mae(n,i,this._initPTS,this._initDTS)),r.samples.length&&(d=gae(r,i,this._initPTS))),{audio:c,video:l,initSegment:u,independent:f,text:d,id3:h}}computeInitPts(e,t,n,r){const i=Math.round(n*t);let o=pae(e,i);if(o<i+t)for(this.log(`Adjusting PTS for rollover in timeline near ${(i-o)/t} ${r}`);o<i+t;)o+=8589934592;return o-i}generateIS(e,t,n,r){const i=e.samples,o=t.samples,a=this.typeSupported,s={},l=this._initPTS;let c,u,d,h=!l||r,f="audio/mp4",p=-1;if(h&&(c=u=1/0),e.config&&i.length){switch(e.timescale=e.samplerate,e.segmentCodec){case"mp3":a.mpeg?(f="audio/mpeg",e.codec=""):a.mp3&&(e.codec="mp3");break;case"ac3":e.codec="ac-3"}s.audio={id:"audio",container:f,codec:e.codec,initSegment:"mp3"===e.segmentCodec&&a.mpeg?new Uint8Array(0):oae.initSegment([e]),metadata:{channelCount:e.channelCount}},h&&(p=e.id,d=e.inputTimeScale,l&&d===l.timescale?h=!1:c=u=this.computeInitPts(i[0].pts,d,n,"audio"))}if(t.sps&&t.pps&&o.length){if(t.timescale=t.inputTimeScale,s.video={id:"main",container:"video/mp4",codec:t.codec,initSegment:oae.initSegment([t]),metadata:{width:t.width,height:t.height}},h)if(p=t.id,d=t.inputTimeScale,l&&d===l.timescale)h=!1;else{const e=this.getVideoStartPts(o),t=pae(o[0].dts,e),r=this.computeInitPts(t,d,n,"video"),i=this.computeInitPts(e,d,n,"video");u=Math.min(u,r),c=Math.min(c,i)}this.videoTrackConfig={width:t.width,height:t.height,pixelRatio:t.pixelRatio}}if(Object.keys(s).length)return this.ISGenerated=!0,h?(l&&this.warn(`Timestamps at playlist time: ${r?"":"~"}${n} ${c/d} != initPTS: ${l.baseTime/l.timescale} (${l.baseTime}/${l.timescale}) trackId: ${l.trackId}`),this.log(`Found initPTS at playlist time: ${n} offset: ${c/d} (${c}/${d}) trackId: ${p}`),this._initPTS={baseTime:c,timescale:d,trackId:p},this._initDTS={baseTime:u,timescale:d,trackId:p}):c=d=void 0,{tracks:s,initPTS:c,timescale:d,trackId:p}}remuxVideo(e,t,n,r){const i=e.inputTimeScale,o=e.samples,a=[],s=o.length,l=this._initPTS,c=l.baseTime*i/l.timescale;let u,d,h=this.nextVideoTs,f=8,p=this.videoSampleDuration,m=Number.POSITIVE_INFINITY,g=Number.NEGATIVE_INFINITY,v=!1;if(!n||null===h){const e=c+t*i,r=o[0].pts-pae(o[0].dts,o[0].pts);uae&&null!==h&&Math.abs(e-r-(h+c))<15e3?n=!0:h=e-r-c}const y=h+c;for(let I=0;I<s;I++){const e=o[I];e.pts=pae(e.pts,y),e.dts=pae(e.dts,y),e.dts<o[I>0?I-1:I].dts&&(v=!0)}v&&o.sort(function(e,t){const n=e.dts-t.dts,r=e.pts-t.pts;return n||r}),u=o[0].dts,d=o[o.length-1].dts;const b=d-u,C=b?Math.round(b/(s-1)):p||e.inputTimeScale/30;if(n){const n=u-y,r=n>C,i=n<-1;if((r||i)&&(r?this.warn(`${(e.segmentCodec||"").toUpperCase()}: ${sae(n,!0)} ms (${n}dts) hole between fragments detected at ${t.toFixed(3)}`):this.warn(`${(e.segmentCodec||"").toUpperCase()}: ${sae(-n,!0)} ms (${n}dts) overlapping between fragments detected at ${t.toFixed(3)}`),!i||y>=o[0].pts||uae)){u=y;const e=o[0].pts-n;if(r)o[0].dts=u,o[0].pts=e;else{let t=!0;for(let r=0;r<o.length&&!(o[r].dts>e&&t);r++){const e=o[r].pts;if(o[r].dts-=n,o[r].pts-=n,r<o.length-1){const n=o[r+1].pts;t=n<=o[r].pts==n<=e}}}this.log(`Video: Initial PTS/DTS adjusted: ${sae(e,!0)}/${sae(u,!0)}, delta: ${sae(n,!0)} ms`)}}u=Math.max(0,u);let w=0,E=0,k=u;for(let I=0;I<s;I++){const e=o[I],t=e.units,n=t.length;let r=0;for(let i=0;i<n;i++)r+=t[i].data.length;E+=r,w+=n,e.length=r,e.dts<k?(e.dts=k,k+=C/4|0||1):k=e.dts,m=Math.min(e.pts,m),g=Math.max(e.pts,g)}d=o[s-1].dts;const S=E+4*w+8;let x;try{x=new Uint8Array(S)}catch(DDe){return void this.observer.emit(Vee.ERROR,Vee.ERROR,{type:jee.MUX_ERROR,details:zee.REMUX_ALLOC_ERROR,fatal:!1,error:DDe,bytes:S,reason:`fail allocating video mdat ${S}`})}const T=new DataView(x.buffer);T.setUint32(0,S),x.set(oae.types.mdat,4);let M=!1,A=Number.POSITIVE_INFINITY,L=Number.POSITIVE_INFINITY,P=Number.NEGATIVE_INFINITY,R=Number.NEGATIVE_INFINITY;for(let I=0;I<s;I++){const e=o[I],t=e.units;let n,l=0;for(let r=0,i=t.length;r<i;r++){const e=t[r],n=e.data,i=e.data.byteLength;T.setUint32(f,i),f+=4,x.set(n,f),f+=i,l+=4+i}if(I<s-1)p=o[I+1].dts-e.dts,n=o[I+1].pts-e.pts;else{const t=this.config,a=I>0?e.dts-o[I-1].dts:C;if(n=I>0?e.pts-o[I-1].pts:C,t.stretchShortVideoTrack&&null!==this.nextAudioTs){const n=Math.floor(t.maxBufferHole*i),o=(r?m+r*i:this.nextAudioTs+c)-e.pts;o>n?(p=o-a,p<0?p=a:M=!0,this.log(`It is approximately ${o/90} ms to the next segment; using duration ${p/90} ms for the last video frame.`)):p=a}else p=a}const u=Math.round(e.pts-e.dts);A=Math.min(A,p),P=Math.max(P,p),L=Math.min(L,n),R=Math.max(R,n),a.push(hae(e.key,p,l,u))}if(a.length)if(uae){if(uae<70){const e=a[0].flags;e.dependsOn=2,e.isNonSync=0}}else if(dae&&R-L<P-A&&C/P<.025&&0===a[0].cts){this.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let e=u;for(let t=0,n=a.length;t<n;t++){const r=e+a[t].duration,i=e+a[t].cts;if(t<n-1){const e=r+a[t+1].cts;a[t].duration=e-i}else a[t].duration=t?a[t-1].duration:C;a[t].cts=0,e=r}}p=M||!p?C:p;const O=d+p;this.nextVideoTs=h=O-c,this.videoSampleDuration=p,this.isVideoContiguous=!0;const D={data1:oae.moof(e.sequenceNumber++,u,Jee(e,{samples:a})),data2:x,startPTS:(m-c)/i,endPTS:(g+p-c)/i,startDTS:(u-c)/i,endDTS:h/i,type:"video",hasAudio:!1,hasVideo:!0,nb:a.length,dropped:e.dropped};return e.samples=[],e.dropped=0,D}getSamplesPerFrame(e){switch(e.segmentCodec){case"mp3":return 1152;case"ac3":return 1536;default:return 1024}}remuxAudio(e,t,n,r,i){const o=e.inputTimeScale,a=o/(e.samplerate?e.samplerate:o),s=this.getSamplesPerFrame(e),l=s*a,c=this._initPTS,u="mp3"===e.segmentCodec&&this.typeSupported.mpeg,d=[],h=void 0!==i;let f=e.samples,p=u?0:8,m=this.nextAudioTs||-1;const g=c.baseTime*o/c.timescale,v=g+t*o;if(this.isAudioContiguous=n=n||f.length&&m>0&&(r&&Math.abs(v-(m+g))<9e3||Math.abs(pae(f[0].pts,v)-(m+g))<20*l),f.forEach(function(e){e.pts=pae(e.pts,v)}),!n||m<0){const e=f.length;if(f=f.filter(e=>e.pts>=0),e!==f.length&&this.warn(`Removed ${f.length-e} of ${e} samples (initPTS ${g} / ${o})`),!f.length)return;m=0===i?0:r&&!h?Math.max(0,v-g):f[0].pts-g}if("aac"===e.segmentCodec){const t=this.config.maxAudioFramesDrift;for(let n=0,r=m+g;n<f.length;n++){const i=f[n],a=i.pts,s=a-r,c=Math.abs(1e3*s/o);
vendor: 4,567 bytes, line 1
1if(s<=-t*l&&h)0===n&&(this.warn(`Audio frame @ ${(a/o).toFixed(3)}s overlaps marker by ${Math.round(1e3*s/o)} ms.`),this.nextAudioTs=m=a-g,r=a);else if(s>=t*l&&c<1e4&&h){let t=Math.round(s/l);for(r=a-t*l;r<0&&t&&l;)t--,r+=l;0===n&&(this.nextAudioTs=m=r-g),this.warn(`Injecting ${t} audio frames @ ${((r-g)/o).toFixed(3)}s due to ${Math.round(1e3*s/o)} ms gap.`);for(let o=0;o<t;o++){let t=rae.getSilentFrame(e.parsedCodec||e.manifestCodec||e.codec,e.channelCount);t||(this.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),t=i.unit.subarray()),f.splice(n,0,{unit:t,pts:r}),r+=l,n++}}i.pts=r,r+=l}}let y,b=null,C=null,w=0,E=f.length;for(;E--;)w+=f[E].unit.byteLength;for(let L=0,P=f.length;L<P;L++){const t=f[L],r=t.unit;let i=t.pts;if(null!==C)d[L-1].duration=Math.round((i-C)/a);else{if(n&&"aac"===e.segmentCodec&&(i=m+g),b=i,!(w>0))return;w+=p;try{y=new Uint8Array(w)}catch(DDe){return void this.observer.emit(Vee.ERROR,Vee.ERROR,{type:jee.MUX_ERROR,details:zee.REMUX_ALLOC_ERROR,fatal:!1,error:DDe,bytes:w,reason:`fail allocating audio mdat ${w}`})}u||(new DataView(y.buffer).setUint32(0,w),y.set(oae.types.mdat,4))}y.set(r,p);const o=r.byteLength;p+=o,d.push(hae(!0,s,o,0)),C=i}const k=d.length;if(!k)return;const S=d[d.length-1];m=C-g,this.nextAudioTs=m+a*S.duration;const x=u?new Uint8Array(0):oae.moof(e.sequenceNumber++,b/a,Jee({},e,{samples:d}));e.samples=[];const T=(b-g)/o,M=this.nextAudioTs/o,A={data1:x,data2:y,startPTS:T,endPTS:M,startDTS:T,endDTS:M,type:"audio",hasAudio:!0,hasVideo:!1,nb:k};return this.isAudioContiguous=!0,A}}function pae(e,t){let n;if(null===t)return e;for(n=t<e?-8589934592:8589934592;Math.abs(e-t)>4294967296;)e+=n;return e}function mae(e,t,n,r){const i=e.samples.length;if(!i)return;const o=e.inputTimeScale;for(let s=0;s<i;s++){const i=e.samples[s];i.pts=pae(i.pts-n.baseTime*o/n.timescale,t*o)/o,i.dts=pae(i.dts-r.baseTime*o/r.timescale,t*o)/o}const a=e.samples;return e.samples=[],{samples:a}}function gae(e,t,n){const r=e.samples.length;if(!r)return;const i=e.inputTimeScale;for(let a=0;a<r;a++){const r=e.samples[a];r.pts=pae(r.pts-n.baseTime*i/n.timescale,t*i)/i}e.samples.sort((e,t)=>e.pts-t.pts);const o=e.samples;return e.samples=[],{samples:o}}function vae(e,t,n=!1){return void 0!==(null==e?void 0:e.start)?(e.start+(n?e.duration:0))/e.timescale:t}function yae(e,t,n){const r=e.codec;return r&&r.length>4?r:t===Ste?"ec-3"===r||"ac-3"===r||"alac"===r?r:"fLaC"===r||"Opus"===r?fne(r,!1):(n.warn(`Unhandled audio codec "${r}" in mp4 MAP`),r||"mp4a"):(n.warn(`Unhandled video codec "${r}" in mp4 MAP`),r||"avc1")}try{cae=self.performance.now.bind(self.performance)}catch(DDe){cae=Date.now}const bae=[{demux:class{constructor(e,t){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=t}resetTimeStamp(){}resetInitSegment(e,t,n,r){const i=this.videoTrack=Moe("video",1),o=this.audioTrack=Moe("audio",1),a=this.txtTrack=Moe("text",1);if(this.id3Track=Moe("id3",1),this.timeOffset=0,null==e||!e.byteLength)return;const s=Vte(e);if(s.video){const{id:e,timescale:t,codec:n,supplemental:r}=s.video;i.id=e,i.timescale=a.timescale=t,i.codec=n,i.supplemental=r}if(s.audio){const{id:e,timescale:t,codec:n}=s.audio;o.id=e,o.timescale=t,o.codec=n}a.id=Ite.text,i.sampleDuration=0,i.duration=o.duration=r}resetContiguity(){this.remainderData=null}static probe(e){return function(e){const t=e.byteLength;for(let n=0;n<t;){const r=$te(e,n);if(r>8&&109===e[n+4]&&111===e[n+5]&&111===e[n+6]&&102===e[n+7])return!0;n=r>1?n+r:t}return!1}(e)}demux(e,t){this.timeOffset=t;let n=e;const r=this.videoTrack,i=this.txtTrack;if(this.config.progressive){this.remainderData&&(n=Zte(this.remainderData,e));const t=function(e){const t={valid:null,remainder:null},n=jte(e,["moof"]);if(n.length<2)return t.remainder=e,t;const r=n[n.length-1];return t.valid=e.slice(0,r.byteOffset-8),t.remainder=e.slice(r.byteOffset-8),t}(n);this.remainderData=t.remainder,r.samples=t.valid||new Uint8Array}else r.samples=n;const o=this.extractID3Track(r,t);return i.samples=Qte(t,r),{videoTrack:r,audioTrack:this.audioTrack,id3Track:o,textTrack:this.txtTrack}}flush(){const e=this.timeOffset,t=this.videoTrack,n=this.txtTrack;t.samples=this.remainderData||new Uint8Array,this.remainderData=null;const r=this.extractID3Track(t,this.timeOffset);return n.samples=Qte(e,t),{videoTrack:t,audioTrack:Moe(),id3Track:r,textTrack:Moe()}}extractID3Track(e,t){const n=this.id3Track;if(e.samples.length){const r=jte(e.samples,["emsg"]);
vendor: 14,248 bytes, line 1
1r&&r.forEach(e=>{const r=function(e){const t=e[0];let n="",r="",i=0,o=0,a=0,s=0,l=0,c=0;if(0===t){for(;"\0"!==_te(e.subarray(c,c+1));)n+=_te(e.subarray(c,c+1)),c+=1;for(n+=_te(e.subarray(c,c+1)),c+=1;"\0"!==_te(e.subarray(c,c+1));)r+=_te(e.subarray(c,c+1)),c+=1;r+=_te(e.subarray(c,c+1)),c+=1,i=$te(e,12),o=$te(e,16),s=$te(e,20),l=$te(e,24),c=28}else if(1===t){c+=4,i=$te(e,c),c+=4;const t=$te(e,c);c+=4;const o=$te(e,c);for(c+=4,a=2**32*t+o,Nee(a)||(a=Number.MAX_SAFE_INTEGER,lte.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),s=$te(e,c),c+=4,l=$te(e,c),c+=4;"\0"!==_te(e.subarray(c,c+1));)n+=_te(e.subarray(c,c+1)),c+=1;for(n+=_te(e.subarray(c,c+1)),c+=1;"\0"!==_te(e.subarray(c,c+1));)r+=_te(e.subarray(c,c+1)),c+=1;r+=_te(e.subarray(c,c+1)),c+=1}return{schemeIdUri:n,value:r,timeScale:i,presentationTime:a,presentationTimeDelta:o,eventDuration:s,id:l,payload:e.subarray(c,e.byteLength)}}(e);if(Voe.test(r.schemeIdUri)){const e=Hoe(r,t);let i=4294967295===r.eventDuration?Number.POSITIVE_INFINITY:r.eventDuration/r.timeScale;i<=.001&&(i=Number.POSITIVE_INFINITY);const o=r.payload;n.samples.push({data:o,len:o.byteLength,dts:e,pts:e,type:Toe.emsg,duration:i})}else if(this.config.enableEmsgKLVMetadata&&r.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const e=Hoe(r,t);n.samples.push({data:r.payload,len:r.payload.byteLength,dts:e,pts:e,type:Toe.misbklv,duration:Number.POSITIVE_INFINITY})}})}return n}demuxSampleAes(e,t,n){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){this.config=null,this.remainderData=null,this.videoTrack=this.audioTrack=this.id3Track=this.txtTrack=void 0}},remux:class extends nte{constructor(e,t,n,r){super("passthrough-remuxer",r),this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.isVideoContiguous=!1}destroy(){}resetTimeStamp(e){this.lastEndTime=null;const t=this.initPTS;t&&e&&t.baseTime===e.baseTime&&t.timescale===e.timescale||(this.initPTS=e)}resetNextTimestamp(){this.isVideoContiguous=!1,this.lastEndTime=null}resetInitSegment(e,t,n,r){this.audioCodec=t,this.videoCodec=n,this.generateInitSegment(e,r),this.emitInitSegment=!0}generateInitSegment(e,t){let{audioCodec:n,videoCodec:r}=this;if(null==e||!e.byteLength)return this.initTracks=void 0,void(this.initData=void 0);const{audio:i,video:o}=this.initData=Vte(e);if(t)!function(e,t){if(!e||!t)return;const n=t.keyId;n&&t.isCommonEncryption&&Kte(e,(e,t)=>{const r=e.subarray(8,24);r.some(e=>0!==e)||(lte.log(`[eme] Patching keyId in 'enc${t?"a":"v"}>sinf>>tenc' box: ${hte(r)} -> ${hte(n)}`),e.set(n,8))})}(e,t);else{const e=i||o;null!=e&&e.encrypted&&this.warn(`Init segment with encrypted track with has no key ("${e.codec}")!`)}i&&(n=yae(i,Ste,this)),o&&(r=yae(o,xte,this));const a={};i&&o?a.audiovideo={container:"video/mp4",codec:n+","+r,supplemental:o.supplemental,encrypted:o.encrypted,initSegment:e,id:"main"}:i?a.audio={container:"audio/mp4",codec:n,encrypted:i.encrypted,initSegment:e,id:"audio"}:o?a.video={container:"video/mp4",codec:r,supplemental:o.supplemental,encrypted:o.encrypted,initSegment:e,id:"main"}:this.warn("initSegment does not contain moov or trak boxes."),this.initTracks=a}remux(e,t,n,r,i,o){var a,s;let{initPTS:l,lastEndTime:c}=this;const u={audio:void 0,video:void 0,text:r,id3:n,initSegment:void 0};$ee(c)||(c=this.lastEndTime=i||0);const d=t.samples;if(!d.length)return u;const h={initPTS:void 0,timescale:void 0,trackId:void 0};let f=this.initData;if(null!=(a=f)&&a.length||(this.generateInitSegment(d),f=this.initData),null==(s=f)||!s.length)return this.warn("Failed to generate initSegment."),u;this.emitInitSegment&&(h.tracks=this.initTracks,this.emitInitSegment=!1);const p=function(e,t,n){const r={},i=jte(e,["moof","traf"]);for(let o=0;o<i.length;o++){const e=i[o],a=jte(e,["tfhd"])[0],s=$te(a,4),l=t[s];if(!l)continue;r[s]||(r[s]={start:NaN,duration:0,sampleCount:0,timescale:l.timescale,type:l.type});const c=r[s],u=jte(e,["tfdt"])[0];if(u){const e=u[0];let t=$te(u,4);1===e&&(t===Ote?n.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):(t*=Ote+1,t+=$te(u,8))),$ee(t)&&(!$ee(c.start)||t<c.start)&&(c.start=t)}const d=l.default,h=$te(a,0)|(null==d?void 0:d.flags);let f=(null==d?void 0:d.duration)||0;8&h&&(f=$te(a,2&h?12:8));const p=jte(e,["trun"]);let m=c.start||0,g=0,v=f;for(let t=0;t<p.length;t++){const e=p[t],n=$te(e,4),r=c.sampleCount;c.sampleCount+=n;const i=1&e[3],o=4&e[3],a=1&e[2],s=2&e[2],l=4&e[2],u=8&e[2];let d=8,h=n;for(i&&(d+=4),o&&n&&(1&e[d+1]||void 0!==c.keyFrameIndex||(c.keyFrameIndex=r),d+=4,a?(v=$te(e,d),d+=4):v=f,s&&(d+=4),u&&(d+=4),m+=v,g+=v,h--);h--;)a?(v=$te(e,d),d+=4):v=f,s&&(d+=4),l&&(1&e[d+1]||void 0===c.keyFrameIndex&&(c.keyFrameIndex=c.sampleCount-(h+1),c.keyFrameStart=m),d+=4),u&&(d+=4),m+=v,g+=v;!g&&f&&(g+=f*n)}c.duration+=g}if(!Object.keys(r).some(e=>r[e].duration)){let t=1/0,n=0;const i=jte(e,["sidx"]);for(let e=0;e<i.length;e++){const r=zte(i[e]);if(null!=r&&r.references){t=Math.min(t,r.earliestPresentationTime/r.timescale);const e=r.references.reduce((e,t)=>e+t.info.duration||0,0);n=Math.max(n,e+r.earliestPresentationTime/r.timescale)}}n&&$ee(n)&&Object.keys(r).forEach(e=>{r[e].duration||(r[e].duration=n*r[e].timescale-r[e].start)})}return r}(d,f,this),m=f.audio?p[f.audio.id]:null,g=f.video?p[f.video.id]:null,v=vae(g,1/0),y=vae(m,1/0),b=vae(g,0,!0),C=vae(m,0,!0);let w=i,E=0;const k=m&&(!g||!l&&y<v||l&&l.trackId===f.audio.id),S=k?m:g;if(S){const e=S.timescale,t=S.start-i*e,n=k?f.audio.id:f.video.id;w=S.start/e,E=k?C-y:b-v,!o&&l||!function(e,t,n,r){if(null===e)return!0;const i=Math.max(r,1),o=t-e.baseTime/e.timescale;return Math.abs(o-n)>i}(l,w,i,E)&&e===l.timescale||(l&&this.warn(`Timestamps at playlist time: ${o?"":"~"}${i} ${t/e} != initPTS: ${l.baseTime/l.timescale} (${l.baseTime}/${l.timescale}) trackId: ${l.trackId}`),this.log(`Found initPTS at playlist time: ${i} offset: ${w-i} (${t}/${e}) trackId: ${n}`),l=null,h.initPTS=t,h.timescale=e,h.trackId=n)}else this.warn(`No audio or video samples found for initPTS at playlist time: ${i}`);l?(h.initPTS=l.baseTime,h.timescale=l.timescale,h.trackId=l.trackId):(h.timescale&&void 0!==h.trackId&&void 0!==h.initPTS||(this.warn("Could not set initPTS"),h.initPTS=w,h.timescale=1,h.trackId=-1),this.initPTS=l={baseTime:h.initPTS,timescale:h.timescale,trackId:h.trackId});const x=w-l.baseTime/l.timescale,T=x+E;E>0?this.lastEndTime=T:(this.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const M=!!f.audio,A=!!f.video;let L="";M&&(L+="audio"),A&&(L+="video");const P={data1:d,startPTS:x,startDTS:x,endPTS:T,endDTS:T,type:L,hasAudio:M,hasVideo:A,nb:1,dropped:0,encrypted:!!f.audio&&f.audio.encrypted||!!f.video&&f.video.encrypted};u.audio=M&&!A?P:void 0,u.video=A?P:void 0;const R=null==g?void 0:g.sampleCount;if(R){const e=g.keyFrameIndex,t=-1!==e;P.nb=R,P.dropped=0===e||this.isVideoContiguous?0:t?e:R,P.independent=t,P.firstKeyFrame=e,t&&g.keyFrameStart&&(P.firstKeyFramePTS=(g.keyFrameStart-l.baseTime)/l.timescale),this.isVideoContiguous||(u.independent=t),this.isVideoContiguous||(this.isVideoContiguous=t),P.dropped&&this.warn(`fmp4 does not start with IDR: firstIDR ${e}/${R} dropped: ${P.dropped} start: ${P.firstKeyFramePTS||"NA"}`)}return u.initSegment=h,u.id3=mae(n,i,l,l),r.samples.length&&(u.text=gae(r,i,l)),u}}},{demux:Zoe,remux:fae},{demux:class extends Aoe{constructor(e,t){super(),this.observer=void 0,this.config=void 0,this.observer=e,this.config=t}resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e,t){if(!e)return!1;const n=coe(e,0);let r=(null==n?void 0:n.length)||0;if(Boe(e,r))return!1;for(let i=e.length;r<i;r++)if(poe(e,r))return t.log("ADTS sync word found !"),!0;return!1}canParse(e,t){return function(e,t){return function(e,t){return t+5<e.length}(e,t)&&uoe(e,t)&&hoe(e,t)<=e.length-t}(e,t)}appendFrame(e,t,n){moe(e,this.observer,t,n,e.manifestCodec);const r=voe(e,t,n,this.basePTS,this.frameIndex);if(r&&0===r.missing)return r}},remux:fae},{demux:class extends Aoe{resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e){if(!e)return!1;const t=coe(e,0);let n=(null==t?void 0:t.length)||0;if(t&&11===e[n]&&119===e[n+1]&&void 0!==xoe(t)&&joe(e,n)<=16)return!1;for(let r=e.length;n<r;n++)if(Boe(e,n))return lte.log("MPEG Audio sync word found !"),!0;return!1}canParse(e,t){return function(e,t){return $oe(e,t)&&4<=e.length-t}(e,t)}appendFrame(e,t,n){if(null!==this.basePTS)return _oe(e,t,n,this.basePTS,this.frameIndex)}},remux:fae}];bae.splice(2,0,{demux:class extends Aoe{constructor(e){super(),this.observer=void 0,this.observer=e}resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/ac-3",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"ac3",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}canParse(e,t){return t+64<e.length}appendFrame(e,t,n){const r=zoe(e,t,n,this.basePTS,this.frameIndex);if(-1!==r)return{sample:e.samples[e.samples.length-1],length:r,missing:0}}static probe(e){if(!e)return!1;const t=coe(e,0);if(!t)return!1;const n=t.length;return 11===e[n]&&119===e[n+1]&&void 0!==xoe(t)&&joe(e,n)<16}},remux:fae});class Cae{constructor(e,t,n,r,i,o){this.asyncResult=!1,this.logger=void 0,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=e,this.typeSupported=t,this.config=n,this.id=i,this.logger=o}configure(e){this.transmuxConfig=e,this.decrypter&&this.decrypter.reset()}push(e,t,n,r){const i=n.transmuxing;i.executeStart=cae();let o=new Uint8Array(e);const{currentTransmuxState:a,transmuxConfig:s}=this;r&&(this.currentTransmuxState=r);const{contiguous:l,discontinuity:c,trackSwitch:u,accurateTimeOffset:d,timeOffset:h,initSegmentChange:f}=r||a,{audioCodec:p,videoCodec:m,defaultInitPts:g,duration:v,initSegmentData:y}=s,b=function(e,t){let n=null;return e.byteLength>0&&null!=(null==t?void 0:t.key)&&null!==t.iv&&null!=t.method&&(n=t),n}(o,t);if(b&&Fre(b.method)){const e=this.getDecrypter(),t=$re(b.method);if(!e.isSync())return this.asyncResult=!0,this.decryptionPromise=e.webCryptoDecrypt(o,b.key.buffer,b.iv.buffer,t).then(e=>{const t=this.push(e,null,n);return this.decryptionPromise=null,t}),this.decryptionPromise;{let r=e.softwareDecrypt(o,b.key.buffer,b.iv.buffer,t);if(n.part>-1){const t=e.flush();r=t?t.buffer:t}if(!r)return i.executeEnd=cae(),wae(n);o=new Uint8Array(r)}}const C=this.needsProbing(c,u);if(C){const e=this.configureTransmuxer(o);if(e)return this.logger.warn(`[transmuxer] ${e.message}`),this.observer.emit(Vee.ERROR,Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.FRAG_PARSING_ERROR,fatal:!1,error:e,reason:e.message}),i.executeEnd=cae(),wae(n)}(c||u||f||C)&&this.resetInitSegment(y,p,m,v,t),(c||f||C)&&this.resetInitialTimestamp(g),l||this.resetContiguity();const w=this.transmux(o,b,h,d,n);this.asyncResult=Eae(w);const E=this.currentTransmuxState;return E.contiguous=!0,E.discontinuity=!1,E.trackSwitch=!1,i.executeEnd=cae(),w}flush(e){const t=e.transmuxing;t.executeStart=cae();const{decrypter:n,currentTransmuxState:r,decryptionPromise:i}=this;if(i)return this.asyncResult=!0,i.then(()=>this.flush(e));const o=[],{timeOffset:a}=r;if(n){const t=n.flush();t&&o.push(this.push(t.buffer,null,e))}const{demuxer:s,remuxer:l}=this;if(!s||!l){t.executeEnd=cae();const n=[wae(e)];return this.asyncResult?Promise.resolve(n):n}const c=s.flush(a);return Eae(c)?(this.asyncResult=!0,c.then(t=>(this.flushRemux(o,t,e),o))):(this.flushRemux(o,c,e),this.asyncResult?Promise.resolve(o):o)}flushRemux(e,t,n){const{audioTrack:r,videoTrack:i,id3Track:o,textTrack:a}=t,{accurateTimeOffset:s,timeOffset:l}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${n.sn}${n.part>-1?" part: "+n.part:""} of ${this.id===qee?"level":"track"} ${n.level}`);const c=this.remuxer.remux(r,i,o,a,l,s,!0,this.id);e.push({remuxResult:c,chunkMeta:n}),n.transmuxing.executeEnd=cae()}resetInitialTimestamp(e){const{demuxer:t,remuxer:n}=this;t&&n&&(t.resetTimeStamp(e),n.resetTimeStamp(e))}resetContiguity(){const{demuxer:e,remuxer:t}=this;e&&t&&(e.resetContiguity(),t.resetNextTimestamp())}resetInitSegment(e,t,n,r,i){const{demuxer:o,remuxer:a}=this;o&&a&&(o.resetInitSegment(e,t,n,r),a.resetInitSegment(e,t,n,i))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(e,t,n,r,i){let o;return o=t&&"SAMPLE-AES"===t.method?this.transmuxSampleAes(e,t,n,r,i):this.transmuxUnencrypted(e,n,r,i),o}transmuxUnencrypted(e,t,n,r){const{audioTrack:i,videoTrack:o,id3Track:a,textTrack:s}=this.demuxer.demux(e,t,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(i,o,a,s,t,n,!1,this.id),chunkMeta:r}}transmuxSampleAes(e,t,n,r,i){return this.demuxer.demuxSampleAes(e,t,n).then(e=>({remuxResult:this.remuxer.remux(e.audioTrack,e.videoTrack,e.id3Track,e.textTrack,n,r,!1,this.id),chunkMeta:i}))}configureTransmuxer(e){const{config:t,observer:n,typeSupported:r}=this;let i;for(let u=0,d=bae.length;u<d;u++){var o;if(null!=(o=bae[u].demux)&&o.probe(e,this.logger)){i=bae[u];break}}if(!i)return new Error("Failed to find demuxer by probing fragment data");const a=this.demuxer,s=this.remuxer,l=i.remux,c=i.demux;s&&s instanceof l||(this.remuxer=new l(n,t,r,this.logger)),a&&a instanceof c||(this.demuxer=new c(n,t,r,this.logger),this.probe=c.probe)}needsProbing(e,t){return!this.demuxer||!this.remuxer||e||t}getDecrypter(){let e=this.decrypter;return e||(e=this.decrypter=new hre(this.config)),e}}const wae=e=>({remuxResult:{},chunkMeta:e});function Eae(e){return"then"in e&&e.then instanceof Function}
vendor: 3,693 bytes, line 1
1class kae{constructor(e,t,n,r,i){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=e,this.videoCodec=t,this.initSegmentData=n,this.duration=r,this.defaultInitPts=i||null}}class Sae{constructor(e,t,n,r,i,o){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=e,this.contiguous=t,this.accurateTimeOffset=n,this.trackSwitch=r,this.timeOffset=i,this.initSegmentChange=o}}let xae=0;class Tae{constructor(e,t,n,r){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=xae++,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.onWorkerMessage=e=>{const t=e.data,n=this.hls;if(n&&null!=t&&t.event&&t.instanceNo===this.instanceNo)switch(t.event){case"init":{var r;const e=null==(r=this.workerContext)?void 0:r.objectURL;e&&self.URL.revokeObjectURL(e);break}case"transmuxComplete":this.handleTransmuxComplete(t.data);break;case"flush":this.onFlush(t.data);break;case"workerLog":n.logger[t.data.logType]&&n.logger[t.data.logType](t.data.message);break;default:t.data=t.data||{},t.data.frag=this.frag,t.data.part=this.part,t.data.id=this.id,n.trigger(t.event,t.data)}},this.onWorkerError=e=>{if(!this.hls)return;const t=new Error(`${e.message} (${e.filename}:${e.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(Vee.ERROR,{type:jee.OTHER_ERROR,details:zee.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:t})};const i=e.config;this.hls=e,this.id=t,this.useWorker=!!i.enableWorker,this.onTransmuxComplete=n,this.onFlush=r;const o=(e,t)=>{(t=t||{}).frag=this.frag||void 0,e===Vee.ERROR&&(t.parent=this.id,t.part=this.part,this.error=t.error),this.hls.trigger(e,t)};this.observer=new roe,this.observer.on(Vee.FRAG_DECRYPTED,o),this.observer.on(Vee.ERROR,o);const a=vne(i.preferManagedMediaSource);if(this.useWorker&&"undefined"!=typeof Worker){const n=this.hls.logger;if(i.workerPath||"function"==typeof __HLS_WORKER_BUNDLE__){try{i.workerPath?(n.log(`loading Web Worker ${i.workerPath} for "${t}"`),this.workerContext=function(e){const t=ooe[e];if(t)return t.clientCount++,t;const n=new self.URL(e,self.location.href).href,r={worker:new self.Worker(n),scriptURL:n,clientCount:1};return ooe[e]=r,r}(i.workerPath)):(n.log(`injecting Web Worker for "${t}"`),this.workerContext=function(){const e=ooe[ioe];if(e)return e.clientCount++,e;const t=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),n=self.URL.createObjectURL(t),r={worker:new self.Worker(n),objectURL:n,clientCount:1};return ooe[ioe]=r,r}());const{worker:e}=this.workerContext;e.addEventListener("message",this.onWorkerMessage),e.addEventListener("error",this.onWorkerError),e.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:a,id:t,config:One(i)})}catch(DDe){n.warn(`Error setting up "${t}" Web Worker, fallback to inline`,DDe),this.terminateWorker(),this.error=null,this.transmuxer=new Cae(this.observer,a,i,"",t,e.logger)}return}}this.transmuxer=new Cae(this.observer,a,i,"",t,e.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const e=this.instanceNo;this.instanceNo=xae++;const t=this.hls.config,n=vne(t.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:e,typeSupported:n,id:this.id,c
vendor: 21,513 bytes, line 1
1onfig:One(t)})}}terminateWorker(){if(this.workerContext){const{worker:e}=this.workerContext;this.workerContext=null,e.removeEventListener("message",this.onWorkerMessage),e.removeEventListener("error",this.onWorkerError),function(e){const t=ooe[e||ioe];if(t&&1===t.clientCount--){const{worker:n,objectURL:r}=t;delete ooe[e||ioe],r&&self.URL.revokeObjectURL(r),n.terminate()}}(this.hls.config.workerPath)}}destroy(){if(this.workerContext)this.terminateWorker(),this.onWorkerMessage=this.onWorkerError=null;else{const e=this.transmuxer;e&&(e.destroy(),this.transmuxer=null)}const e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.part=null,this.observer=null,this.hls=null}push(e,t,n,r,i,o,a,s,l,c){var u,d;l.transmuxing.start=self.performance.now();const{instanceNo:h,transmuxer:f}=this,p=o?o.start:i.start,m=i.decryptdata,g=this.frag,v=!(g&&i.cc===g.cc),y=!(g&&l.level===g.level),b=g?l.sn-g.sn:-1,C=this.part?l.part-this.part.index:-1,w=0===b&&l.id>1&&l.id===(null==g?void 0:g.stats.chunkCount),E=!y&&(1===b||0===b&&(1===C||w&&C<=0)),k=self.performance.now();(y||b||0===i.stats.parsing.start)&&(i.stats.parsing.start=k),!o||!C&&E||(o.stats.parsing.start=k);const S=!(g&&(null==(u=i.initSegment)?void 0:u.url)===(null==(d=g.initSegment)?void 0:d.url)),x=new Sae(v,E,s,y,p,S);if(!E||v||S){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${i.type} sn: ${l.sn}${l.part>-1?" part: "+l.part:""} ${this.id===qee?"level":"track"}: ${l.level} id: ${l.id}\n discontinuity: ${v}\n trackSwitch: ${y}\n contiguous: ${E}\n accurateTimeOffset: ${s}\n timeOffset: ${p}\n initSegmentChange: ${S}`);const e=new kae(n,r,t,a,c);this.configureTransmuxer(e)}if(this.frag=i,this.part=o,this.workerContext)this.workerContext.worker.postMessage({instanceNo:h,cmd:"demux",data:e,decryptdata:m,chunkMeta:l,state:x},e instanceof ArrayBuffer?[e]:[]);else if(f){const t=f.push(e,m,l,x);Eae(t)?t.then(e=>{this.handleTransmuxComplete(e)}).catch(e=>{this.transmuxerError(e,l,"transmuxer-interface push error")}):this.handleTransmuxComplete(t)}}flush(e){e.transmuxing.start=self.performance.now();const{instanceNo:t,transmuxer:n}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:t,cmd:"flush",chunkMeta:e});else if(n){const t=n.flush(e);Eae(t)?t.then(t=>{this.handleFlushResult(t,e)}).catch(t=>{this.transmuxerError(t,e,"transmuxer-interface flush error")}):this.handleFlushResult(t,e)}}transmuxerError(e,t,n){this.hls&&(this.error=e,this.hls.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.FRAG_PARSING_ERROR,chunkMeta:t,frag:this.frag||void 0,part:this.part||void 0,fatal:!1,error:e,err:e,reason:n}))}handleFlushResult(e,t){e.forEach(e=>{this.handleTransmuxComplete(e)}),this.onFlush(t)}configureTransmuxer(e){const{instanceNo:t,transmuxer:n}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:t,cmd:"configure",config:e}):n&&n.configure(e)}handleTransmuxComplete(e){e.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(e)}}class Mae extends nte{constructor(e,t){super(t,e.logger),this.hls=void 0,this.canLoad=!1,this.timer=-1,this.hls=e}destroy(){this.clearTimer(),this.hls=this.log=this.warn=null}clearTimer(){-1!==this.timer&&(self.clearTimeout(this.timer),this.timer=-1)}startLoad(){this.canLoad=!0,this.loadPlaylist()}stopLoad(){this.canLoad=!1,this.clearTimer()}switchParams(e,t,n){const r=null==t?void 0:t.renditionReports;if(r){let o=-1;for(let n=0;n<r.length;n++){const a=r[n];let s;try{s=new self.URL(a.URI,t.url).href}catch(i){this.warn(`Could not construct new URL for Rendition Report: ${i}`),s=a.URI||""}if(s===e){o=n;break}s===e.substring(0,s.length)&&(o=n)}if(-1!==o){const e=r[o],i=parseInt(e["LAST-MSN"])||t.lastPartSn;let a=parseInt(e["LAST-PART"])||t.lastPartIndex;if(this.hls.config.lowLatencyMode){const e=Math.min(t.age-t.partTarget,t.targetduration);a>=0&&e>t.partTarget&&(a+=1)}const s=n&&Ane(n);return new Lne(i,a>=0?a:void 0,s)}}}loadPlaylist(e){this.clearTimer()}loadingPlaylist(e,t){this.clearTimer()}shouldLoadPlaylist(e){return this.canLoad&&!!e&&!!e.url&&(!e.details||e.details.live)}getUrlWithDirectives(e,t){if(t)try{return t.addDirectives(e)}catch(n){this.warn(`Could not construct new URL with HLS Delivery Directives: ${n}`)}return e}playlistLoaded(e,t,n){const{details:r,stats:i}=t,o=self.performance.now(),a=i.loading.first?Math.max(0,o-i.loading.first):0;r.advancedDateTime=Date.now()-a;const s=this.hls.config.timelineOffset;if(s!==r.appliedTimelineOffset){const e=Math.max(s||0,0);r.appliedTimelineOffset=e,r.fragments.forEach(t=>{t.setStart(t.playlistOffset+e)})}if(r.live||null!=n&&n.live){const s="levelInfo"in t?t.levelInfo:t.track;if(r.reloaded(n),n&&r.fragments.length>0){!function(e,t,n){if(e===t)return;let r=null;const i=e.fragments;for(let u=i.length-1;u>=0;u--){const e=i[u].initSegment;if(e){r=e;break}}let o;e.fragmentHint&&delete e.fragmentHint.endPTS,function(e,t,n){const r=t.skippedSegments,i=Math.max(e.startSN,t.startSN)-t.startSN,o=(e.fragmentHint?1:0)+(r?t.endSN:Math.min(e.endSN,t.endSN))-t.startSN,a=t.startSN-e.startSN,s=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,l=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments;for(let c=i;c<=o;c++){const i=l[a+c];let o=s[c];if(r&&!o&&i&&(o=t.fragments[c]=i),i&&o){n(i,o,c,s);const r=i.relurl,a=o.relurl;if(r&&Pie(r,a))return void(t.playlistParsingError=Eie(`media sequence mismatch ${o.sn}:`,e,t,0,o));if(i.cc!==o.cc)return void(t.playlistParsingError=Eie(`discontinuity sequence mismatch (${i.cc}!=${o.cc})`,e,t,0,o))}}}(e,t,(e,n,i,a)=>{if((!t.startCC||t.skippedSegments)&&n.cc!==e.cc){const r=e.cc-n.cc;for(let e=i;e<a.length;e++)a[e].cc+=r;t.endCC=a[a.length-1].cc}$ee(e.startPTS)&&$ee(e.endPTS)&&(n.setStart(n.startPTS=e.startPTS),n.startDTS=e.startDTS,n.maxStartPTS=e.maxStartPTS,n.endPTS=e.endPTS,n.endDTS=e.endDTS,n.minEndPTS=e.minEndPTS,n.setDuration(e.endPTS-e.startPTS),n.duration&&(o=n),t.PTSKnown=t.alignedSliding=!0),e.hasStreams&&(n.elementaryStreams=e.elementaryStreams),n.loader=e.loader,e.hasStats&&(n.stats=e.stats),e.initSegment&&(n.initSegment=e.initSegment,r=e.initSegment)});const a=t.fragments,s=t.fragmentHint?a.concat(t.fragmentHint):a;if(r&&s.forEach(e=>{var t;!e||e.initSegment&&e.initSegment.relurl!==(null==(t=r)?void 0:t.relurl)||(e.initSegment=r)}),t.skippedSegments){if(t.deltaUpdateFailed=a.some(e=>!e),t.deltaUpdateFailed){n.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let e=t.skippedSegments;e--;)a.shift();t.startSN=a[0].sn}else{t.canSkipDateRanges&&(t.dateRanges=function(e,t,n){const{dateRanges:r,recentlyRemovedDateranges:i}=t,o=Jee({},e);i&&i.forEach(e=>{delete o[e]});const a=Object.keys(o).length;return a?(Object.keys(r).forEach(e=>{const t=o[e],i=new Ore(r[e].attr,t);i.isValid?(o[e]=i,t||(i.tagOrder+=a)):n.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${One(r[e].attr)}"`)}),o):r}(e.dateRanges,t,n));const r=e.fragments.filter(e=>e.rawProgramDateTime);if(e.hasProgramDateTime&&!t.hasProgramDateTime)for(let e=1;e<s.length;e++)null===s[e].programDateTime&&mie(s[e],s[e-1],r);cie(r,t)}t.endCC=a[a.length-1].cc}if(!t.startCC){var l;const n=Tie(e,t.startSN-1);t.startCC=null!=(l=null==n?void 0:n.cc)?l:a[0].cc}!function(e,t,n){if(e&&t){let r=0;for(let i=0,o=e.length;i<=o;i++){const o=e[i],a=t[i+r];o&&a&&o.index===a.index&&o.fragment.sn===a.fragment.sn?n(o,a):r--}}}(e.partList,t.partList,(e,t)=>{t.elementaryStreams=e.elementaryStreams,t.stats=e.stats}),o?wie(t,o,o.startPTS,o.endPTS,o.startDTS,o.endDTS,n):kie(e,t),a.length&&(t.totalduration=t.edge-a[0].start),t.driftStartTime=e.driftStartTime,t.driftStart=e.driftStart;const c=t.advancedDateTime;if(t.advanced&&c){const e=t.edge;t.driftStart||(t.driftStartTime=c,t.driftStart=e),t.driftEndTime=c,t.driftEnd=e}else t.driftEndTime=e.driftEndTime,t.driftEnd=e.driftEnd,t.advancedDateTime=e.advancedDateTime;-1===t.requestScheduled&&(t.requestScheduled=e.requestScheduled)}(n,r,this);const e=r.playlistParsingError;if(e){this.warn(e);const n=this.hls;if(!n.config.ignorePlaylistParsingErrors){var l;const{networkDetails:o}=t;return void n.trigger(Vee.ERROR,{type:jee.NETWORK_ERROR,details:zee.LEVEL_PARSING_ERROR,fatal:!1,url:r.url,error:e,reason:e.message,level:t.level||void 0,parent:null==(l=r.fragments[0])?void 0:l.type,networkDetails:o,stats:i})}r.playlistParsingError=null}}-1===r.requestScheduled&&(r.requestScheduled=i.loading.start);const c=this.hls.mainForwardBufferInfo,u=c?c.end-c.len:0,d=xie(r,1e3*(r.edge-u));if(r.requestScheduled+d<o?r.requestScheduled=o:r.requestScheduled+=d,this.log(`live playlist ${e} ${r.advanced?"REFRESHED "+r.lastPartSn+"-"+r.lastPartIndex:r.updated?"UPDATED":"MISSED"}`),!this.canLoad||!r.live)return;let h,f,p;if(r.canBlockReload&&r.endSN&&r.advanced){const e=this.hls.config.lowLatencyMode,i=r.lastPartSn,a=r.endSN,l=r.lastPartIndex,c=i===a;-1!==l?c?(f=a+1,p=e?0:l):(f=i,p=e?l+1:r.maxPartIndex):f=a+1;const u=r.age,d=u+r.ageHeader;let m=Math.min(d-r.partTarget,1.5*r.targetduration);if(m>0){if(d>3*r.targetduration)this.log(`Playlist last advanced ${u.toFixed(2)}s ago. Omitting segment and part directives.`),f=void 0,p=void 0;else if(null!=n&&n.tuneInGoal&&d-r.partTarget>n.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${n.tuneInGoal} to: ${m} with playlist age: ${r.age}`),m=0;else{const e=Math.floor(m/r.targetduration);f+=e,void 0!==p&&(p+=Math.round(m%r.targetduration/r.partTarget)),this.log(`CDN Tune-in age: ${r.ageHeader}s last advanced ${u.toFixed(2)}s goal: ${m} skip sn ${e} to part ${p}`)}r.tuneInGoal=m}if(h=this.getDeliveryDirectives(r,t.deliveryDirectives,f,p),e||!c)return r.requestScheduled=o,void this.loadingPlaylist(s,h)}else(r.canBlockReload||r.canSkipUntil)&&(h=this.getDeliveryDirectives(r,t.deliveryDirectives,f,p));h&&void 0!==f&&r.canBlockReload&&(r.requestScheduled=i.loading.first+Math.max(d-2*a,d/2)),this.scheduleLoading(s,h,r)}else this.clearTimer()}scheduleLoading(e,t,n){const r=n||e.details;if(!r)return void this.loadingPlaylist(e,t);const i=self.performance.now(),o=r.requestScheduled;if(i>=o)return void this.loadingPlaylist(e,t);const a=o-i;this.log(`reload live playlist ${e.name||e.bitrate+"bps"} in ${Math.round(a)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(e,t),a)}getDeliveryDirectives(e,t,n,r){let i=Ane(e);return null!=t&&t.skip&&e.deltaUpdateFailed&&(n=t.msn,r=t.part,i=""),new Lne(n,r,i)}checkRetry(e){const t=e.details,n=Gne(e),r=e.errorAction,{action:i,retryCount:o=0,retryConfig:a}=r||{},s=!!r&&!!a&&(5===i||!r.resolved&&2===i);if(s){var l;if(o>=a.maxNumRetry)return!1;if(n&&null!=(l=e.context)&&l.deliveryDirectives)this.warn(`Retrying playlist loading ${o+1}/${a.maxNumRetry} after "${t}" without delivery-directives`),this.loadPlaylist();else{const e=Zne(a,o);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),e),this.warn(`Retrying playlist loading ${o+1}/${a.maxNumRetry} after "${t}" in ${e}ms`)}e.levelRetry=!0,r.resolved=!0}return s}}function Aae(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!Lae(e[n].attrs,t[n].attrs))return!1;return!0}function Lae(e,t,n){const r=e["STABLE-RENDITION-ID"];return r&&!n?r===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(n=>e[n]!==t[n])}function Pae(e,t){return t.label.toLowerCase()===e.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(e.lang||"").toLowerCase())}class Rae{constructor(e){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=e}destroy(){this.tracks=this.queues=null}append(e,t,n){if(null===this.queues||null===this.tracks)return;const r=this.queues[t];r.push(e),1!==r.length||n||this.executeNext(t)}appendBlocker(e){return new Promise(t=>{const n={label:"async-blocker",execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(n,e)})}prependBlocker(e){return new Promise(t=>{if(this.queues){const n={label:"async-blocker-prepend",execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[e].unshift(n)}})}removeBlockers(){null!==this.queues&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(e=>{var t;const n=null==(t=e[0])?void 0:t.label;"async-blocker"!==n&&"async-blocker-prepend"!==n||(e[0].execute(),e.splice(0,1))})}unblockAudio(e){null!==this.queues&&this.queues.audio[0]===e&&this.shiftAndExecuteNext("audio")}executeNext(e){if(null===this.queues||null===this.tracks)return;const t=this.queues[e];if(t.length){const i=t[0];try{i.execute()}catch(r){var n;if(i.onError(r),null===this.queues||null===this.tracks)return;const t=null==(n=this.tracks[e])?void 0:n.buffer;null!=t&&t.updating||this.shiftAndExecuteNext(e)}}}shiftAndExecuteNext(e){null!==this.queues&&(this.queues[e].shift(),this.executeNext(e))}current(e){var t;return(null==(t=this.queues)?void 0:t[e][0])||null}toString(){const{queues:e,tracks:t}=this;return null===e||null===t?"<destroyed>":`\n${this.list("video")}\n${this.list("audio")}\n${this.list("audiovideo")}}`}list(e){var t,n;return null!=(t=this.queues)&&t[e]||null!=(n=this.tracks)&&n[e]?`${e}: (${this.listSbInfo(e)}) ${this.listOps(e)}`:""}listSbInfo(e){var t;const n=null==(t=this.tracks)?void 0:t[e],r=null==n?void 0:n.buffer;return r?`SourceBuffer${r.updating?" updating":""}${n.ended?" ended":""}${n.ending?" ending":""}`:"none"}listOps(e){var t;return(null==(t=this.queues)?void 0:t[e].map(e=>e.label).join(", "))||""}}const Oae=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,Dae="HlsJsTrackRemovedError";class Iae extends Error{constructor(e){super(e),this.name=Dae}}function _ae(e){const t=e.querySelectorAll("source");[].slice.call(t).forEach(t=>{e.removeChild(t)})}function Fae(e){return"audio"===e?1:0}class $ae{constructor(e){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=e,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(e){this.streamController=e}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:e}=this;e.on(Vee.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.on(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.on(Vee.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(Vee.BUFFER_CODECS,this.onBufferCodecs,this),e.on(Vee.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:e}=this;e.off(Vee.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.off(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.off(Vee.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(Vee.BUFFER_CODECS,this.onBufferCodecs,this),e.off(Vee.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(e,t){const n=this.hls.levels[t.droppedLevel];this.isLevelAllowed(n)&&this.restrictedLevels.push({bitrate:n.bitrate,height:n.height,width:n.width})}onMediaAttaching(e,t){this.media=t.media instanceof HTMLVideoElement?t.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(e,t){const n=this.hls;this.restrictedLevels=[],this.firstLevel=t.firstLevel,n.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onLevelsUpdated(e,t){this.timer&&$ee(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(e,t){this.hls.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onMediaDetaching(){this.stopCapping(),this.media=null}detectPlayerSize(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0)return void(this.clientRect=null);const e=this.hls.levels;if(e.length){const t=this.hls,n=this.getMaxLevel(e.length-1);n!==this.autoLevelCapping&&t.logger.log(`Setting autoLevelCapping to ${n}: ${e[n].height}p@${e[n].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),t.autoLevelCapping=n,t.autoLevelEnabled&&t.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}}getMaxLevel(e){const t=this.hls.levels;if(!t.length)return-1;const n=t.filter((t,n)=>this.isLevelAllowed(t)&&n<=e);return this.clientRect=null,$ae.getMaxLevelByMediaSize(n,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const e=this.media,t={width:0,height:0};if(e){const n=e.getBoundingClientRect();t.width=n.width,t.height=n.height,t.width||t.height||(t.width=n.right-n.left||e.width||0,t.height=n.bottom-n.top||e.height||0)}return this.clientRect=t,t}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let e=1;if(!this.hls.config.ignoreDevicePixelRatio)try{e=self.devicePixelRatio}catch(t){}return Math.min(e,this.hls.config.maxDevicePixelRatio)}isLevelAllowed(e){return!this.restrictedLevels.some(t=>e.bitrate===t.bitrate&&e.width===t.width&&e.height===t.height)}static getMaxLevelByMediaSize(e,t,n){if(null==e||!e.length)return-1;const r=(e,t)=>!t||e.width!==t.width||e.height!==t.height;let i=e.length-1;const o=Math.max(t,n);for(let a=0;a<e.length;a+=1){const t=e[a];if((t.width>=o||t.height>=o)&&r(t,e[a+1])){i=a;break}}return i}}const Nae="m",Bae="a",jae="v",zae="av",Vae="i",Hae="tt",Uae="h";class Wae{constructor(e,t){Array.isArray(e)&&(e=e.map(e=>e instanceof Wae?e:new Wae(e))),this.value=e,this.params=t}}function Gae(e,t,n){return function(e,t,n,r){return new Error(`failed to ${e} "${i=t,Array.isArray(i)?JSON.stringify(i):i instanceof Map?"Map{}":i instanceof Set?"Set{}":"object"==typeof i?JSON.stringify(i):String(i)}" as ${n}`,{cause:r});var i}("serialize",e,t,n)}class qae{constructor(e){this.description=e}}const Kae="Bare Item";function Yae(e){if(function(e){return e<-999999999999999||999999999999999<e}(e))throw Gae(e,"Integer");return e.toString()}function Zae(e,t){if(e<0)return-Zae(-e,t);const n=Math.pow(10,t);if(Math.abs(e*n%1-.5)<Number.EPSILON){const t=Math.floor(e*n);return(t%2==0?t:t+1)/n}return Math.round(e*n)/n}function Qae(e){const t=Zae(e,3);if(Math.floor(Math.abs(t)).toString().length>12)throw Gae(e,"Decimal");const n=t.toString();return n.includes(".")?n:`${n}.0`}const Xae=/[\x00-\x1f\x7f]+/;function Jae(e){const t=(n=e).description||n.toString().slice(7,-1);var n;if(!1===/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t))throw Gae(t,"Token");return t}function ese(e){switch(typeof e){case"number":if(!$ee(e))throw Gae(e,Kae);return Number.isInteger(e)?Yae(e):Qae(e);case"string":return function(e){if(Xae.test(e))throw Gae(e,"String");return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}(e);case"symbol":return Jae(e);case"boolean":return function(e){if("boolean"!=typeof e)throw Gae(e,"Boolean");return e?"?1":"?0"}(e);case"object":if(e instanceof Date)return function(e){return`@${Yae(e.getTime()/1e3)}`}(e);if(e instanceof Uint8Array)return function(e){if(!1===ArrayBuffer.isView(e))throw Gae(e,"Byte Sequence");return`:${t=e,btoa(String.fromCharCode(...t))}:`;var t}(e);if(e instanceof qae)return Jae(e);default:throw Gae(e,Kae)}}function tse(e){if(!1===/^[a-z*][a-z0-9\-_.*]*$/.test(e))throw Gae(e,"Key");return e}function nse(e){return null==e?"":Object.entries(e).map(([e,t])=>!0===t?`;${tse(e)}`:`;${tse(e)}=${ese(t)}`).join("")}function rse(e){return e instanceof Wae?`${ese(e.value)}${nse(e.params)}`:ese(e)}function ise(e,t){return function(e,t={whitespace:!0}){if("object"!=typeof e||null==e)throw Gae(e,"Dict");const n=e instanceof Map?e.entries():Object.entries(e),r=(null==t?void 0:t.whitespace)?" ":"";return Array.from(n).map(([e,t])=>{t instanceof Wae==0&&(t=new Wae(t));let n=tse(e);var r;return!0===t.value?n+=nse(t.params):(n+="=",Array.isArray(t.value)?n+=`(${(r=t).value.map(rse).join(" ")})${nse(r.params)}`:n+=rse(t)),n}).join(`,${r}`)}(e,t)}const ose="CMCD-Object",ase="CMCD-Request",sse="CMCD-Session",lse="CMCD-Status",cse={br:ose,ab:ose,d:ose,ot:ose,tb:ose,tpb:ose,lb:ose,tab:ose,lab:ose,url:ose,pb:ase,bl:ase,tbl:ase,dl:ase,ltc:ase,mtp:ase,nor:ase,nrr:ase,rc:ase,sn:ase,sta:ase,su:ase,ttfb:ase,ttfbb:ase,ttlb:ase,cmsdd:ase,cmsds:ase,smrt:ase,df:ase,cs:ase,ts:ase,cid:sse,pr:sse,sf:sse,sid:sse,st:sse,v:sse,msd:sse,bs:lse,bsd:lse,cdn:lse,rtp:lse,bg:lse,pt:lse,ec:lse,e:lse},use=ase;const dse="event",hse=e=>Math.round(e),fse=(e,t)=>Array.isArray(e)?e.map(e=>fse(e,t)):e instanceof Wae&&"string"==typeof e.value?new Wae(fse(e.value,t),e.params):(t.baseUrl&&(e=function(e,t){const n=new URL(e),r=new URL(t);if(n.origin!==r.origin)return e;const i=n.pathname.split("/").slice(1),o=r.pathname.split("/").slice(1,-1);for(;i[0]===o[0];)i.shift(),o.shift();for(;o.length;)o.shift(),i.unshift("..");return i.join("/")+n.search+n.hash}(e,t.baseUrl)),1===t.version?encodeURIComponent(e):e),pse=e=>100*hse(e/100),mse={br:hse,d:hse,bl:pse,dl:pse,mtp:pse,nor:(e,t)=>
1{let n=e;return t.version>=2&&(e instanceof Wae&&"string"==typeof e.value?n=new Wae([e]):"string"==typeof e&&(n=[e])),fse(n,t)},rtp:pse,tb:hse},gse="request",vse="response",yse=["ab","bg","bl","br","bs","bsd","cdn","cid","cs","df","ec","lab","lb","ltc","msd","mtp","pb","pr","pt","sf","sid","sn","st","sta","tab","tb","tbl","tpb","ts","v"],bse=["e"],Cse=/^[a-zA-Z0-9-.]+-[a-zA-Z0-9-.]+$/;function wse(e){return Cse.test(e)}const Ese=["d","dl","nor","ot","rtp","su"],kse=["cmsdd","cmsds","rc","smrt","ttfb","ttfbb","ttlb","url"],Sse=["bl","br","bs","cid","d","dl","mtp","nor","nrr","ot","pr","rtp","sf","sid","st","su","tb","v"];function xse(e){return Sse.includes(e)||wse(e)}const Tse={[vse]:function(e){return yse.includes(e)||Ese.includes(e)||kse.includes(e)||wse(e)},[dse]:function(e){return yse.includes(e)||bse.includes(e)||wse(e)},[gse]:function(e){return yse.includes(e)||Ese.includes(e)||wse(e)}};function Mse(e,t={}){const n={};if(null==e||"object"!=typeof e)return n;const r=t.version||e.v||1,i=t.reportingMode||gse,o=1===r?xse:Tse[i];let a=Object.keys(e).filter(o);const s=t.filter;"function"==typeof s&&(a=a.filter(s));const l=i===vse||i===dse;l&&!a.includes("ts")&&a.push("ts"),r>1&&!a.includes("v")&&a.push("v");const c=Jee({},mse,t.formatters),u={version:r,reportingMode:i,baseUrl:t.baseUrl};return a.sort().forEach(t=>{let i=e[t];const o=c[t];if("function"==typeof o&&(i=o(i,u)),"v"===t){if(1===r)return;i=r}"pr"==t&&1===i||(l&&"ts"===t&&!$ee(i)&&(i=Date.now()),function(e){return"number"==typeof e?$ee(e):null!=e&&""!==e&&!1!==e}(i)&&(function(e){return["ot","sf","st","e","sta"].includes(e)}(t)&&"string"==typeof i&&(i=new qae(i)),n[t]=i))}),n}function Ase(e,t,n){return Jee(e,function(e,t={}){const n={};if(!e)return n;const r=function(e,t){const n={};if(!e)return n;const r=Object.keys(e),i=t?(o=t,Object.keys(o).reduce((e,t)=>{var n;return null===(n=o[t])||void 0===n||n.forEach(n=>e[n]=t),e},{})):{};var o;return r.reduce((t,n)=>{var r;const o=cse[n]||i[n]||use;return(null!==(r=t[o])&&void 0!==r?r:t[o]={})[n]=e[n],t},n)}(Mse(e,t),null==t?void 0:t.customHeaderMap);return Object.entries(r).reduce((e,[t,n])=>{const r=ise(n,{whitespace:!1});return r&&(e[t]=r),e},n)}(t,n))}const Lse=/CMCD=[^&#]+/;function Pse(e,t,n){const r=function(e,t={}){return e?`CMCD=${function(e,t={}){if(!e)return"";const n=function(e,t={}){return e?ise(Mse(e,t),{whitespace:!1}):""}(e,t);return encodeURIComponent(n)}(e,t)}`:""}(t,n);if(!r)return e;if(Lse.test(e))return e.replace(Lse,r);const i=e.includes("?")?"&":"?";return`${e}${i}${r}`}function Rse(e,t,n,r){e&&Object.keys(t).forEach(i=>{const o=e.filter(e=>e.groupId===i).map(e=>{const o=Jee({},e);return o.details=void 0,o.attrs=new Lre(o.attrs),o.url=o.attrs.URI=Ose(e.url,e.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),o.groupId=o.attrs["GROUP-ID"]=t[i],o.attrs["PATHWAY-ID"]=r,o});e.push(...o)})}function Ose(e,t,n,r){const{HOST:i,PARAMS:o,[n]:a}=r;let s;t&&(s=null==a?void 0:a[t],s&&(e=s));const l=new self.URL(e);return i&&!s&&(l.host=i),o&&Object.keys(o).sort().forEach(e=>{e&&l.searchParams.set(e,o[e])}),l.href}class Dse extends nte{constructor(e){super("eme",e.logger),this.hls=void 0,this.config=void 0,this.media=null,this.mediaResolved=void 0,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.mediaKeys=null,this.setMediaKeysQueue=Dse.CDMCleanupPromise?[Dse.CDMCleanupPromise]:[],this.bannedKeyIds={},this.onMediaEncrypted=e=>{const{initDataType:t,initData:n}=e,r=`"${e.type}" event: init data type: "${t}"`;if(this.debug(r),null!==n){if(!this.keyFormatPromise){let e=Object.keys(this.keySystemAccessPromises);e.length||(e=Zre(this.config));const t=e.map(Yre).filter(e=>!!e);this.keyFormatPromise=this.getKeyFormatPromise(t)}this.keyFormatPromise.then(i=>{const o=Kre(i);if("sinf"!==t||o!==Hre.FAIRPLAY)return void this.log(`Ignoring "${e.type}" event with init data type: "${t}" for selected key-system ${o}`);let a;try{const e=_te(new Uint8Array(n)),t=Yte(Nre(JSON.parse(e).sinf));if(!t)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");a=new Uint8Array(t.subarray(8,24))}catch(d){return void this.warn(`${r} Failed to parse sinf: ${d}`)}const s=hte(a),{keyIdToKeySessionPromise:l,mediaKeySessions:c}=this;let u=l[s];for(let e=0;e<c.length;e++){const r=c[e],i=r.decryptdata;if(!i.keyId)continue;const o=hte(i.keyId);if(Ire(a,i.keyId)||-1!==i.uri.replace(/-/g,"").indexOf(s)){if(u=l[o],!u)continue;if(i.pssh)break;delete l[o],i.pssh=new Uint8Array(n),i.keyId=a,u=l[s]=u.then(()=>this.generateRequestWithPreferredKeySession(r,t,n,"encrypted-event-key-match")),u.catch(e=>this.handleError(e));break}}u||this.handleError(new Error(`Key ID ${s} not encountered in playlist. Key-system sessions ${c.length}.`))}).catch(e=>this.handleError(e))}},this.onWaitingForKey=e=>{this.log(`"${e.type}" event`)},this.hls=e,this.config=e.config,this.registerListeners()}destroy(){this.onDestroying(),this.onMediaDetached();const e=this.config;e.requestMediaKeySystemAccessFunc=null,e.licenseXhrSetup=e.licenseResponseCallback=void 0,e.drmSystems=e.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}
1registerListeners(){this.hls.on(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(Vee.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(Vee.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.on(Vee.DESTROYING,this.onDestroying,this)}unregisterListeners(){this.hls.off(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(Vee.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(Vee.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.off(Vee.DESTROYING,this.onDestroying,this)}getLicenseServerUrl(e){const{drmSystems:t,widevineLicenseUrl:n}=this.config,r=null==t?void 0:t[e];return r?r.licenseUrl:e===Hre.WIDEVINE&&n?n:void 0}getLicenseServerUrlOrThrow(e){const t=this.getLicenseServerUrl(e);if(void 0===t)throw new Error(`no license server URL configured for key-system "${e}"`);return t}getServerCertificateUrl(e){const{drmSystems:t}=this.config,n=null==t?void 0:t[e];if(n)return n.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${e}"]`)}attemptKeySystemAccess(e){const t=this.hls.levels,n=(e,t,n)=>!!e&&n.indexOf(e)===t,r=t.map(e=>e.audioCodec).filter(n),i=t.map(e=>e.videoCodec).filter(n);return r.length+i.length===0&&i.push("avc1.42e01e"),new Promise((t,n)=>{const o=e=>{const a=e.shift();this.getMediaKeysPromise(a,r,i).then(e=>t({keySystem:a,mediaKeys:e})).catch(t=>{e.length?o(e):n(t instanceof Fse?t:new Fse({type:jee.KEY_SYSTEM_ERROR,details:zee.KEY_SYSTEM_NO_ACCESS,error:t,fatal:!0},t.message))})};o(e)})}requestMediaKeySystemAccess(e,t){const{requestMediaKeySystemAccessFunc:n}=this.config;if("function"!=typeof n){let e=`Configured requestMediaKeySystemAccess is not a function ${n}`;return null===Qre&&"http:"===self.location.protocol&&(e=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(e))}return n(e,t)}getMediaKeysPromise(e,t,n){var r;const i=function(e,t,n,r){let i;switch(e){case Hre.FAIRPLAY:i=["cenc","sinf"];break;case Hre.WIDEVINE:case Hre.PLAYREADY:i=["cenc"];break;case Hre.CLEARKEY:i=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${e}`)}return function(e,t,n,r){return[{initDataTypes:e,persistentState:r.persistentState||"optional",distinctiveIdentifier:r.distinctiveIdentifier||"optional",sessionTypes:r.sessionTypes||[r.sessionType||"temporary"],audioCapabilities:t.map(e=>({contentType:`audio/mp4; codecs=${e}`,robustness:r.audioRobustness||"",encryptionScheme:r.audioEncryptionScheme||null})),videoCapabilities:n.map(e=>({contentType:`video/mp4; codecs=${e}`,robustness:r.videoRobustness||"",encryptionScheme:r.videoEncryptionScheme||null}))}]}(i,t,n,r)}(e,t,n,this.config.drmSystemOptions||{});let o=this.keySystemAccessPromises[e],a=null==(r=o)?void 0:r.keySystemAccess;if(!a){this.log(`Requesting encrypted media "${e}" key-system access with config: ${One(i)}`),a=this.requestMediaKeySystemAccess(e,i);const t=o=this.keySystemAccessPromises[e]={keySystemAccess:a};return a.catch(t=>{this.log(`Failed to obtain access to key-system "${e}": ${t}`)}),a.then(n=>{this.log(`Access for key-system "${n.keySystem}" obtained`);const r=this.fetchServerCertificate(e);this.log(`Create media-keys for "${e}"`);const i=t.mediaKeys=n.createMediaKeys().then(n=>(this.log(`Media-keys created for "${e}"`),t.hasMediaKeys=!0,r.then(t=>t?this.setMediaKeysServerCertificate(n,e,t):n)));return i.catch(t=>{this.error(`Failed to create media-keys for "${e}"}: ${t}`)}),i})}return a.then(()=>o.mediaKeys)}createMediaKeySessionContext({decryptdata:e,keySystem:t,mediaKeys:n}){this.log(`Creating key-system session "${t}" keyId: ${hte(e.keyId||[])} keyUri: ${e.uri}`);const r=n.createSession(),i={decryptdata:e,keySystem:t,mediaKeys:n,mediaKeysSession:r,keyStatus:"status-pending"};return this.mediaKeySessions.push(i),i}renewKeySession(e){const t=e.decryptdata;if(t.pssh){const n=this.createMediaKeySessionContext(e),r=Ise(t),i="cenc";this.keyIdToKeySessionPromise[r]=this.generateRequestWithPreferredKeySession(n,i,t.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(e)}updateKeySession(e,t){const n=e.mediaKeysSession;return this.log(`Updating key-session "${n.sessionId}" for keyId ${hte(e.decryptdata.keyId||[])}\n } (data length: ${t.byteLength})`),n.update(t)}getSelectedKeySystemFormats(){return Object.keys(this.keySystemAccessPromises).map(e=>({keySystem:e,hasMediaKeys:this.keySystemAccessPromises[e].hasMediaKeys})).filter(({hasMediaKeys:e})=>!!e).map(({keySystem:e})=>Yre(e)).filter(e=>!!e)}getKeySystemAccess(e){return this.getKeySystemSelectionPromise(e).then(({keySystem:e,mediaKeys:t})=>this.attemptSetMediaKeys(e,t))}selectKeySystem(e){return new Promise((t,n)=>{this.getKeySystemSelectionPromise(e).then(({keySystem:e})=>{const r=Yre(e);r?t(r):n(new Error(`Unable to find format for key-system "${e}"`))}).catch(n)})}selectKeySystemFormat(e){const t=Object.keys(e.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${e.sn} ${e.type}: ${e.level}) key formats ${t.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(t)),this.keyFormatPromise}getKeyFormatPromise(e){const t=Zre(this.config),n=e.map(Kre).filter(e=>!!e&&-1!==t.indexOf(e));return this.selectKeySystem(n)}getKeyStatus(e){const{mediaKeySessions:t}=this;for(let n=0;n<t.length;n++){const r=_se(e,t[n]);if(r)return r}}loadKey(e){const t=e.keyInfo.decryptdata,n=Ise(t),r=this.bannedKeyIds[n];if(r||"internal-error"===this.getKeyStatus(t)){const n=$se(r||"internal-error",t);return this.handleError(n,e.frag),Promise.reject(n)}const i=`(keyId: ${n} format: "${t.keyFormat}" method: ${t.method} uri: ${t.uri})`;this.log(`Starting session for key ${i}`);const o=this.keyIdToKeySessionPromise[n];if(!o){const r=this.getKeySystemForKeyPromise(t).then(({keySystem:n,mediaKeys:r})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${e.frag.sn} ${e.frag.type}: ${e.frag.level} using key ${i}`),this.attemptSetMediaKeys(n,r).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:n,mediaKeys:r,decryptdata:t}))))).then(e=>{const n=t.pssh?t.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(e,"cenc",n,"playlist-key")});return r.catch(t=>this.handleError(t,e.frag)),this.keyIdToKeySessionPromise[n]=r,r}return o.catch(n=>{if(n instanceof Fse){const r=tte({},n.data);"internal-error"===this.getKeyStatus(t)&&(r.decryptdata=t);const i=new Fse(r,n.message);this.handleError(i,e.frag)}}),o}throwIfDestroyed(e="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(e,t){if(this.hls)if(e instanceof Fse){t&&(e.data.frag=t);const n=e.data.decryptdata;this.error(`${e.message}${n?` (${hte(n.keyId||[])})`:""}`),this.hls.trigger(Vee.ERROR,e.data)}else this.error(e.message),this.hls.trigger(Vee.ERROR,{type:jee.KEY_SYSTEM_ERROR,details:zee.KEY_SYSTEM_NO_KEYS,error:e,fatal:!0})}
1getKeySystemForKeyPromise(e){const t=Ise(e),n=this.keyIdToKeySessionPromise[t];if(!n){const t=Kre(e.keyFormat),n=t?[t]:Zre(this.config);return this.attemptKeySystemAccess(n)}return n}getKeySystemSelectionPromise(e){if(e.length||(e=Zre(this.config)),0===e.length)throw new Fse({type:jee.KEY_SYSTEM_ERROR,details:zee.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${One({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(e)}attemptSetMediaKeys(e,t){if(this.mediaResolved=void 0,this.mediaKeys===t)return Promise.resolve();const n=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${e}"`);const r=Promise.all(n).then(()=>this.media?this.media.setMediaKeys(t):new Promise((e,n)=>{this.mediaResolved=()=>{if(this.mediaResolved=void 0,!this.media)return n(new Error("Attempted to set mediaKeys without media element attached"));this.mediaKeys=t,this.media.setMediaKeys(t).then(e).catch(n)}}));return this.mediaKeys=t,this.setMediaKeysQueue.push(r),r.then(()=>{this.log(`Media-keys set for "${e}"`),n.push(r),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(e=>-1===n.indexOf(e))})}generateRequestWithPreferredKeySession(e,t,n,r){var i;const o=null==(i=this.config.drmSystems)||null==(i=i[e.keySystem])?void 0:i.generateRequest;if(o)try{const r=o.call(this.hls,t,n,e);if(!r)throw new Error("Invalid response from configured generateRequest filter");t=r.initDataType,n=r.initData?r.initData:null,e.decryptdata.pssh=n?new Uint8Array(n):null}catch(f){if(this.warn(f.message),this.hls&&this.hls.config.debug)throw f}if(null===n)return this.log(`Skipping key-session request for "${r}" (no initData)`),Promise.resolve(e);const a=Ise(e.decryptdata),s=e.decryptdata.uri;this.log(`Generating key-session request for "${r}" keyId: ${a} URI: ${s} (init data type: ${t} length: ${n.byteLength})`);const l=new roe,c=e._onmessage=t=>{const n=e.mediaKeysSession;if(!n)return void l.emit("error",new Error("invalid state"));const{messageType:r,message:i}=t;this.log(`"${r}" message event for session "${n.sessionId}" message size: ${i.byteLength}`),"license-request"===r||"license-renewal"===r?this.renewLicense(e,i).catch(e=>{l.eventNames().length?l.emit("error",e):this.handleError(e)}):"license-release"===r?e.keySystem===Hre.FAIRPLAY&&this.updateKeySession(e,Bre("acknowledged")).then(()=>this.removeSession(e)).catch(e=>this.handleError(e)):this.warn(`unhandled media key message type "${r}"`)},u=(e,t)=>{let n;t.keyStatus=e,e.startsWith("usable")?l.emit("resolved"):"internal-error"===e||"output-restricted"===e||"output-downscaled"===e?n=$se(e,t.decryptdata):"expired"===e?n=new Error(`key expired (keyId: ${a})`):"released"===e?n=new Error("key released"):"status-pending"===e||this.warn(`unhandled key status change "${e}" (keyId: ${a})`),n&&(l.eventNames().length?l.emit("error",n):this.handleError(n))},d=e._onkeystatuseschange=t=>{if(!e.mediaKeysSession)return void l.emit("error",new Error("invalid state"));const n=this.getKeyStatuses(e);if(!Object.keys(n).some(e=>"status-pending"!==n[e]))return;if("expired"===n[a])return this.log(`Expired key ${One(n)} in key-session "${e.mediaKeysSession.sessionId}"`),void this.renewKeySession(e);let r=n[a];if(r)u(r,e);else{var i;const t=1e3;e.keyStatusTimeouts||(e.keyStatusTimeouts={}),(i=e.keyStatusTimeouts)[a]||(i[a]=self.setTimeout(()=>{if(!e.mediaKeysSession||!this.mediaKeys)return;const n=this.getKeyStatus(e.decryptdata);if(n&&"status-pending"!==n)return this.log(`No status for keyId ${a} in key-session "${e.mediaKeysSession.sessionId}". Using session key-status ${n} from other session.`),u(n,e);this.log(`key status for ${a} in key-session "${e.mediaKeysSession.sessionId}" timed out after ${t}ms`),r="internal-error",u(r,e)},t)),this.log(`No status for keyId ${a} (${One(n)}).`)}};$ie(e.mediaKeysSession,"message",c),$ie(e.mediaKeysSession,"keystatuseschange",d);const h=new Promise((e,t)=>{l.on("error",t),l.on("resolved",e)});return e.mediaKeysSession.generateRequest(t,n).then(()=>{this.log(`Request generated for key-session "${e.mediaKeysSession.sessionId}" keyId: ${a} URI: ${s}`)}).catch(t=>{throw new Fse({type:jee.KEY_SYSTEM_ERROR,details:zee.KEY_SYSTEM_NO_SESSION,error:t,decryptdata:e.decryptdata,fatal:!1},`Error generating key-session request: ${t}`)}).then(()=>h).catch(t=>(l.removeAllListeners(),this.removeSession(e).then(()=>{throw t}))).then(()=>(l.removeAllListeners(),e))}getKeyStatuses(e){const t={};
1return e.mediaKeysSession.keyStatuses.forEach((n,r)=>{if("string"==typeof r&&"object"==typeof n){const e=r;r=n,n=e}const i="buffer"in r?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):new Uint8Array(r);if(e.keySystem===Hre.PLAYREADY&&16===i.length){const e=hte(i);t[e]=n,jre(i)}const o=hte(i);"internal-error"===n&&(this.bannedKeyIds[o]=n),this.log(`key status change "${n}" for keyStatuses keyId: ${o} key-session "${e.mediaKeysSession.sessionId}"`),t[o]=n}),t}fetchServerCertificate(e){const t=this.config,n=new(0,t.loader)(t),r=this.getServerCertificateUrl(e);return r?(this.log(`Fetching server certificate for "${e}"`),new Promise((i,o)=>{const a={responseType:"arraybuffer",url:r},s=t.certLoadPolicy.default,l={loadPolicy:s,timeout:s.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},c={onSuccess:(e,t,n,r)=>{i(e.data)},onError:(t,n,i,s)=>{o(new Fse({type:jee.KEY_SYSTEM_ERROR,details:zee.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:i,response:tte({url:a.url,data:void 0},t)},`"${e}" certificate request failed (${r}). Status: ${t.code} (${t.text})`))},onTimeout:(t,n,i)=>{o(new Fse({type:jee.KEY_SYSTEM_ERROR,details:zee.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:i,response:{url:a.url,data:void 0}},`"${e}" certificate request timed out (${r})`))},onAbort:(e,t,n)=>{o(new Error("aborted"))}};n.load(a,l,c)})):Promise.resolve()}setMediaKeysServerCertificate(e,t,n){return new Promise((r,i)=>{e.setServerCertificate(n).then(i=>{this.log(`setServerCertificate ${i?"success":"not supported by CDM"} (${n.byteLength}) on "${t}"`),r(e)}).catch(e=>{i(new Fse({type:jee.KEY_SYSTEM_ERROR,details:zee.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:e,fatal:!0},e.message))})})}renewLicense(e,t){return this.requestLicense(e,new Uint8Array(t)).then(t=>this.updateKeySession(e,new Uint8Array(t)).catch(t=>{throw new Fse({type:jee.KEY_SYSTEM_ERROR,details:zee.KEY_SYSTEM_SESSION_UPDATE_FAILED,decryptdata:e.decryptdata,error:t,fatal:!1},t.message)}))}unpackPlayReadyKeyMessage(e,t){const n=String.fromCharCode.apply(null,new Uint16Array(t.buffer));if(!n.includes("PlayReadyKeyMessage"))return e.setRequestHeader("Content-Type","text/xml; charset=utf-8"),t;const r=(new DOMParser).parseFromString(n,"application/xml"),i=r.querySelectorAll("HttpHeader");if(i.length>0){let t;for(let n=0,r=i.length;n<r;n++){var o,a;t=i[n];const r=null==(o=t.querySelector("name"))?void 0:o.textContent,s=null==(a=t.querySelector("value"))?void 0:a.textContent;r&&s&&e.setRequestHeader(r,s)}}const s=r.querySelector("Challenge"),l=null==s?void 0:s.textContent;if(!l)throw new Error("Cannot find <Challenge> in key message");return Bre(atob(l))}setupLicenseXHR(e,t,n,r){const i=this.config.licenseXhrSetup;return i?Promise.resolve().then(()=>{if(!n.decryptdata)throw new Error("Key removed");return i.call(this.hls,e,t,n,r)}).catch(o=>{if(!n.decryptdata)throw o;return e.open("POST",t,!0),i.call(this.hls,e,t,n,r)}).then(n=>(e.readyState||e.open("POST",t,!0),{xhr:e,licenseChallenge:n||r})):(e.open("POST",t,!0),Promise.resolve({xhr:e,licenseChallenge:r}))}requestLicense(e,t){const n=this.config.keyLoadPolicy.default;return new Promise((r,i)=>{const o=this.getLicenseServerUrlOrThrow(e.keySystem);this.log(`Sending license request to URL: ${o}`);const a=new XMLHttpRequest;a.responseType="arraybuffer",a.onreadystatechange=()=>{if(!this.hls||!e.mediaKeysSession)return i(new Error("invalid state"));if(4===a.readyState)if(200===a.status){this._requestLicenseFailureCount=0;let t=a.response;this.log(`License received ${t instanceof ArrayBuffer?t.byteLength:t}`);const n=this.config.licenseResponseCallback;if(n)try{t=n.call(this.hls,a,o,e)}catch(s){this.error(s)}r(t)}else{const s=n.errorRetry,l=s?s.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>l||a.status>=400&&a.status<500)i(new Fse({type:jee.KEY_SYSTEM_ERROR,details:zee.KEY_SYSTEM_LICENSE_REQUEST_FAILED,decryptdata:e.decryptdata,fatal:!0,networkDetails:a,response:{url:o,data:void 0,code:a.status,text:a.statusText}},`License Request XHR failed (${o}). Status: ${a.status} (${a.statusText})`));else{const n=l-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${n} attempts left`),this.requestLicense(e,t).then(r,i)}}},e.licenseXhr&&e.licenseXhr.readyState!==XMLHttpRequest.DONE&&e.licenseXhr.abort(),e.licenseXhr=a,this.setupLicenseXHR(a,o,e,t).then(({xhr:t,licenseChallenge:n})=>{e.keySystem==Hre.PLAYREADY&&(n=this.unpackPlayReadyKeyMessage(t,n)),t.send(n)}).catch(i)})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(e,t){if(!this.config.emeEnabled)return;const n=t.media;this.media=n,$ie(n,"encrypted",this.onMediaEncrypted),$ie(n,"waitingforkey",this.onWaitingForKey);const r=this.mediaResolved;r?r():this.mediaKeys=n.mediaKeys}onMediaDetached(){const e=this.media;e&&(Nie(e,"encrypted",this.onMediaEncrypted),Nie(e,"waitingforkey",this.onWaitingForKey),this.media=null,this.mediaKeys=null)}_clear(){var e;this._requestLicenseFailureCount=0,this.keyIdToKeySessionPromise={},this.bannedKeyIds={};const t=this.mediaResolved;if(t&&t(),!this.mediaKeys&&!this.mediaKeySessions.length)return;const n=this.media,r=this.mediaKeySessions.slice();this.mediaKeySessions=[],this.mediaKeys=null,tie.clearKeyUriToKeyIdMap();const i=r.length;Dse.CDMCleanupPromise=Promise.all(r.map(e=>this.removeSession(e)).concat((null==n||null==(e=n.setMediaKeys(null))?void 0:e.catch(e=>
1{this.log(`Could not clear media keys: ${e}`),this.hls&&this.hls.trigger(Vee.ERROR,{type:jee.OTHER_ERROR,details:zee.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${e}`)})}))||Promise.resolve())).catch(e=>{this.log(`Could not close sessions and clear media keys: ${e}`),this.hls&&this.hls.trigger(Vee.ERROR,{type:jee.OTHER_ERROR,details:zee.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${e}`)})}).then(()=>{i&&this.log("finished closing key sessions and clearing media keys")})}onManifestLoading(){this._clear()}onManifestLoaded(e,{sessionKeys:t}){if(t&&this.config.emeEnabled&&!this.keyFormatPromise){const e=t.reduce((e,t)=>(-1===e.indexOf(t.keyFormat)&&e.push(t.keyFormat),e),[]);this.log(`Selecting key-system from session-keys ${e.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(e)}}removeSession(e){const{mediaKeysSession:t,licenseXhr:n,decryptdata:r}=e;if(t){this.log(`Remove licenses and keys and close session "${t.sessionId}" keyId: ${hte((null==r?void 0:r.keyId)||[])}`),e._onmessage&&(t.removeEventListener("message",e._onmessage),e._onmessage=void 0),e._onkeystatuseschange&&(t.removeEventListener("keystatuseschange",e._onkeystatuseschange),e._onkeystatuseschange=void 0),n&&n.readyState!==XMLHttpRequest.DONE&&n.abort(),e.mediaKeysSession=e.decryptdata=e.licenseXhr=void 0;const i=this.mediaKeySessions.indexOf(e);i>-1&&this.mediaKeySessions.splice(i,1);const{keyStatusTimeouts:o}=e;o&&Object.keys(o).forEach(e=>self.clearTimeout(o[e]));const{drmSystemOptions:a}=this.config,s=function(e){var t;return!(!e||"persistent-license"!==e.sessionType&&(null==(t=e.sessionTypes)||!t.some(e=>"persistent-license"===e)))}(a)?new Promise((e,n)=>{self.setTimeout(()=>n(new Error("MediaKeySession.remove() timeout")),8e3),t.remove().then(e).catch(n)}):Promise.resolve();return s.catch(e=>{this.log(`Could not remove session: ${e}`),this.hls&&this.hls.trigger(Vee.ERROR,{type:jee.OTHER_ERROR,details:zee.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${e}`)})}).then(()=>t.close()).catch(e=>{this.log(`Could not close session: ${e}`),this.hls&&this.hls.trigger(Vee.ERROR,{type:jee.OTHER_ERROR,details:zee.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${e}`)})})}return Promise.resolve()}}function Ise(e){if(!e)throw new Error("Could not read keyId of undefined decryptdata");if(null===e.keyId)throw new Error("keyId is null");return hte(e.keyId)}function _se(e,t){return e.keyId&&t.mediaKeysSession.keyStatuses.has(e.keyId)?t.mediaKeysSession.keyStatuses.get(e.keyId):e.matches(t.decryptdata)?t.keyStatus:void 0}Dse.CDMCleanupPromise=void 0;class Fse extends Error{constructor(e,t){super(t),this.data=void 0,e.error||(e.error=new Error(t)),this.data=e,e.err=e.error}}function $se(e,t){const n="output-restricted"===e,r=n?zee.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:zee.KEY_SYSTEM_STATUS_INTERNAL_ERROR;return new Fse({type:jee.KEY_SYSTEM_ERROR,details:r,fatal:!1,decryptdata:t},n?"HDCP level output restricted":`key status changed to "${e}"`)}function Nse(e,t){let n;try{n=new Event("addtrack")}catch(DDe){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=e,t.dispatchEvent(n)}function Bse(e,t){const n=e.mode;if("disabled"===n&&(e.mode="hidden"),e.cues&&!e.cues.getCueById(t.id))try{if(e.addCue(t),!e.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(DDe){lte.debug(`[texttrack-utils]: ${DDe}`);try{const n=new self.TextTrackCue(t.startTime,t.endTime,t.text);n.id=t.id,e.addCue(n)}catch(r){lte.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${r}`)}}"disabled"===n&&(e.mode=n)}function jse(e,t){const n=e.mode;if("disabled"===n&&(e.mode="hidden"),e.cues)for(let r=e.cues.length;r--;)t&&e.cues[r].removeEventListener("enter",t),e.removeCue(e.cues[r]);"disabled"===n&&(e.mode=n)}function zse(e,t,n,r){const i=e.mode;if("disabled"===i&&(e.mode="hidden"),e.cues&&e.cues.length>0){const i=function(e,t,n){const r=[],i=function(e,t){if(t<=e[0].startTime)return 0;const n=e.length-1;if(t>e[n].endTime)return-1;let r,i=0,o=n;for(;i<=o;)if(r=Math.floor((o+i)/2),t<e[r].startTime)o=r-1;else{if(!(t>e[r].startTime&&i<n))return r;i=r+1}return e[i].startTime-t<t-e[o].startTime?i:o}(e,t);if(i>-1)for(let o=i,a=e.length;o<a;o++){const i=e[o];if(i.startTime>=t&&i.endTime<=n)r.push(i);else if(i.startTime>n)return r}return r}(e.cues,t,n);for(let t=0;t<i.length;t++)r&&!r(i[t])||e.removeCue(i[t])}"disabled"===i&&(e.mode=i)}function Vse(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];"subtitles"!==r.kind&&"captions"!==r.kind||!r.label||t.push(e[n])}return t}function Hse(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0).toString()}const Use=.025;let Wse=function(e){return e[e.Point=0]="Point",e[e.Range=1]="Range",e}({});function Gse(e,t,n){return`${e.identifier}-${n+1}-${Hse(t)}`}class qse{constructor(e,t){this.base=void 0,this._duration=null,this._timelineStart=null,this.appendInPlaceDisabled=void 0,this.appendInPlaceStarted=void 0,this.dateRange=void 0,this.hasPlayed=!1,this.cumulativeDuration=0,this.resumeOffset=NaN,this.playoutLimit=NaN,this.restrictions={skip:!1,jump:!1},this.snapOptions={out:!1,in:!1},this.assetList=[],this.assetListLoader=void 0,this.assetListResponse=null,this.resumeAnchor=void 0,this.error=void 0,this.resetOnResume=void 0,this.base=t,this.dateRange=e,this.setDateRange(e)}setDateRange(e){this.dateRange=e,this.resumeOffset=e.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=e.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=e.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=e.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var e;this.appendInPlaceStarted=!1,null==(e=this.assetListLoader)||e.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(e){var t;if(e>0&&e>=this.assetList.length)return!0;const n=this.playoutLimit;return!(e<=0||isNaN(n))&&(0===n||((null==(t=this.assetList[e])?void 0:t.startOffset)||0)>n)}findAssetIndex(e){return this.assetList.indexOf(e)}get identifier(){return this.dateRange.id}get startDate(){return this.dateRange.startDate}get startTime(){const e=this.dateRange.startTime;if(this.snapOptions.out){const t=this.dateRange.tagAnchor;if(t)return Kse(e,t)}return e}get startOffset(){return this.cue.pre?0:this.startTime}get startIsAligned(){if(0===this.startTime||this.snapOptions.out)return!0;const e=this.dateRange.tagAnchor;if(e){const t=this.dateRange.startTime;return t-Kse(t,e)<.1}return!1}get resumptionOffset(){const e=this.resumeOffset,t=$ee(e)?e:this.duration;return this.cumulativeDuration+t}get resumeTime(){const e=this.startOffset+this.resumptionOffset;if(this.snapOptions.in){const t=this.resumeAnchor;if(t)return Kse(e,t)}return e}get appendInPlace(){return!!this.appendInPlaceStarted||!this.appendInPlaceDisabled&&!(this.cue.once||this.cue.pre||!this.startIsAligned||!(isNaN(this.playoutLimit)&&isNaN(this.resumeOffset)||this.resumeOffset&&this.duration&&Math.abs(this.resumeOffset-this.duration)<Use))}set appendInPlace(e){this.appendInPlaceStarted?this.resetOnResume=!e:this.appendInPlaceDisabled=!e}get timelineStart(){return null!==this._timelineStart?this._timelineStart:this.startTime}set timelineStart(e){this._timelineStart=e}get duration(){const e=this.playoutLimit;let t;return t=null!==this._duration?this._duration:this.dateRange.duration?this.dateRange.duration:this.dateRange.plannedDuration||0,!isNaN(e)&&e<t&&(t=e),t}set duration(e){this._duration=e}get cue(){return this.dateRange.cue}get timelineOccupancy(){return"RANGE"===this.dateRange.attr["X-TIMELINE-OCCUPIES"]?Wse.Range:Wse.Point}get supplementsPrimary(){return"PRIMARY"===this.dateRange.attr["X-TIMELINE-STYLE"]}get contentMayVary(){return"NO"!==this.dateRange.attr["X-CONTENT-MAY-VARY"]}get assetUrl(){return this.dateRange.attr["X-ASSET-URI"]}get assetListUrl(){return this.dateRange.attr["X-ASSET-LIST"]}get baseUrl(){return this.base.url}get assetListLoaded(){return this.assetList.length>0||null!==this.assetListResponse}toString(){return`["${(e=this).identifier}" ${e.cue.pre?"<pre>":e.cue.post?"<post>":""}${e.timelineStart.toFixed(2)}-${e.resumeTime.toFixed(2)}]`;var e}}function Kse(e,t){return e-t.start<t.duration/2&&!(Math.abs(e-(t.start+t.duration))<Use)?t.start:t.start+t.duration}function Yse(e,t,n){const r=new self.URL(e,n);return"data:"!==r.protocol&&r.searchParams.set("_HLS_primary_id",t),r}function Zse(e,t){for(;null!=(n=e.assetList[++t])&&n.error;)var n;return t}function Qse(e){const t=e.timelineStart,n=e.duration||0;return`["${e.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class Xse{constructor(e,t,n,r){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetail
1s=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{this.reachedPlayout(this.currentTime)&&this.hls&&this.hls.trigger(Vee.PLAYOUT_LIMIT_REACHED,{})};const i=this.hls=new e(t);this.interstitial=n,this.assetItem=r;const o=()=>{this.hasDetails=!0};i.once(Vee.LEVEL_LOADED,o),i.once(Vee.AUDIO_TRACK_LOADED,o),i.once(Vee.SUBTITLE_TRACK_LOADED,o),i.on(Vee.MEDIA_ATTACHING,(e,{media:t})=>{this.removeMediaListeners(),this.mediaAttached=t,this.interstitial.playoutLimit&&(t.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&i.on(Vee.BUFFER_APPENDED,()=>{const e=this.bufferedEnd;this.reachedPlayout(e)&&(this._bufferedEosTime=e,i.trigger(Vee.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){return this.interstitial.appendInPlace}loadSource(){const e=this.hls;if(e)if(e.url)e.levels.length&&!e.started&&e.startLoad(-1,!0);else{let n=this.assetItem.uri;try{n=Yse(n,e.config.primarySessionId||"").href}catch(t){}e.loadSource(n)}}bufferedInPlaceToEnd(e){var t;if(!this.appendInPlace)return!1;if(null!=(t=this.hls)&&t.bufferedToEnd)return!0;if(!e)return!1;const n=Math.min(this._bufferedEosTime||1/0,this.duration),r=this.timelineOffset,i=wre.bufferInfo(e,r,0);return this.getAssetTime(i.end)>=n-.02}reachedPlayout(e){const t=this.interstitial.playoutLimit;return this.startOffset+e>=t}get destroyed(){var e;return!(null!=(e=this.hls)&&e.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var e;return(null==(e=this.hls)?void 0:e.media)||null}get bufferedEnd(){const e=this.media||this.mediaAttached;if(!e)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const t=wre.bufferInfo(e,e.currentTime,.001);return this.getAssetTime(t.end)}get currentTime(){const e=this.media||this.mediaAttached;return e?this.getAssetTime(e.currentTime):this._currentTime||0}get duration(){const e=this.assetItem.duration;if(!e)return 0;const t=this.interstitial.playoutLimit;if(t){const n=t-this.startOffset;if(n>0&&n<e)return n}return e}get remaining(){const e=this.duration;return e?Math.max(0,e-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var e;return(null==(e=this.hls)?void 0:e.config.timelineOffset)||0}set timelineOffset(e){const t=this.timelineOffset;if(e!==t){const n=e-t;if(Math.abs(n)>1/9e4&&this.hls){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=e}}}getAssetTime(e){const t=this.timelineOffset,n=this.duration;return Math.min(Math.max(0,e-t),n)}removeMediaListeners(){const e=this.mediaAttached;e&&(this._currentTime=e.currentTime,this.bufferSnapShot(),e.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){var e;this.mediaAttached&&null!=(e=this.hls)&&e.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}destroy(){this.removeMediaListeners(),this.hls&&this.hls.destroy(),this.hls=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(e){var t;this.loadSource(),null==(t=this.hls)||t.attachMedia(e)}detachMedia(){var e;this.removeMediaListeners(),this.mediaAttached=null,null==(e=this.hls)||e.detachMedia()}resumeBuffering(){var e;null==(e=this.hls)||e.resumeBuffering()}pauseBuffering(){var e;null==(e=this.hls)||e.pauseBuffering()}transferMedia(){var e;return this.bufferSnapShot(),(null==(e=this.hls)?void 0:e.transferMedia())||null}resetDetails(){const e=this.hls;if(e&&this.hasDetails){e.stopLoad();const t=e=>delete e.details;e.levels.forEach(t),e.allAudioTracks.forEach(t),e.allSubtitleTracks.forEach(t),this.hasDetails=!1}}on(e,t,n){var r;null==(r=this.hls)||r.on(e,t)}once(e,t,n){var r;null==(r=this.hls)||r.once(e,t)}off(e,t,n){var r;null==(r=this.hls)||r.off(e,t)}toString(){var e;return`HlsAssetPlayer: ${Qse(this.assetItem)} ${null==(e=this.hls)?void 0:e.sessionId} ${this.appendInPlace?"append-in-place":""}`}}class Jse extends nte{constructor(e,t){super("interstitials-sched",t),this.onScheduleUpdate=void 0,this.eventMap={},this.events=null,this.items=null,this.durations={primary:0,playout:0,integrated:0},this.onScheduleUpdate=e}destroy(){this.reset(),this.onScheduleUpdate=null}reset(){this.eventMap={}
1,this.setDurations(0,0,0),this.events&&this.events.forEach(e=>e.reset()),this.events=this.items=null}resetErrorsInRange(e,t){return this.events?this.events.reduce((n,r)=>e<=r.startOffset&&t>r.startOffset?(delete r.error,n+1):n,0):0}get duration(){const e=this.items;return e?e[e.length-1].end:0}get length(){return this.items?this.items.length:0}getEvent(e){return e&&this.eventMap[e]||null}hasEvent(e){return e in this.eventMap}findItemIndex(e,t){if(e.event)return this.findEventIndex(e.event.identifier);let n=-1;e.nextEvent?n=this.findEventIndex(e.nextEvent.identifier)-1:e.previousEvent&&(n=this.findEventIndex(e.previousEvent.identifier)+1);const r=this.items;if(r)for(r[n]||(void 0===t&&(t=e.start),n=this.findItemIndexAtTime(t));n>=0&&null!=(i=r[n])&&i.event;){var i;n--}return n}findItemIndexAtTime(e,t){const n=this.items;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(t&&"primary"!==t&&(i=i[t]),e===i.start||e>i.start&&e<i.end)return r}return-1}findJumpRestrictedIndex(e,t){const n=this.items;if(n)for(let r=e;r<=t&&n[r];r++){const e=n[r].event;if(null!=e&&e.restrictions.jump&&!e.appendInPlace)return r}return-1}findEventIndex(e){const t=this.items;if(t)for(let r=t.length;r--;){var n;if((null==(n=t[r].event)?void 0:n.identifier)===e)return r}return-1}findAssetIndex(e,t){const n=e.assetList,r=n.length;if(r>1)for(let i=0;i<r;i++){const e=n[i];if(!e.error){const n=e.timelineStart;if(t===n||t>n&&(t<n+(e.duration||0)||i===r-1))return i}}return 0}get assetIdAtEnd(){var e;const t=null==(e=this.items)||null==(e=e[this.length-1])?void 0:e.event;if(t){const e=t.assetList,n=e[e.length-1];if(n)return n.identifier}return null}parseInterstitialDateRanges(e,t){const n=e.main.details,{dateRanges:r}=n,i=this.events,o=this.parseDateRanges(r,{url:n.url},t),a=Object.keys(r),s=i?i.filter(e=>!a.includes(e.identifier)):[];o.length&&o.sort((e,t)=>{const n=e.cue.pre,r=e.cue.post,i=t.cue.pre,o=t.cue.post;if(n&&!i)return-1;if(i&&!n)return 1;if(r&&!o)return 1;if(o&&!r)return-1;if(!(n||i||r||o)){const n=e.startTime,r=t.startTime;if(n!==r)return n-r}return e.dateRange.tagOrder-t.dateRange.tagOrder}),this.events=o,s.forEach(e=>{this.removeEvent(e)}),this.updateSchedule(e,s)}updateSchedule(e,t=[],n=!1){const r=this.events||[];
1if(r.length||t.length||this.length<2){const i=this.items,o=this.parseSchedule(r,e);(n||t.length||(null==i?void 0:i.length)!==o.length||o.some((e,t)=>Math.abs(e.playout.start-i[t].playout.start)>.005||Math.abs(e.playout.end-i[t].playout.end)>.005))&&(this.items=o,this.onScheduleUpdate(t,i))}}parseDateRanges(e,t,n){const r=[],i=Object.keys(e);for(let o=0;o<i.length;o++){const a=i[o],s=e[a];if(s.isInterstitial){let e=this.eventMap[a];e?e.setDateRange(s):(e=new qse(s,t),this.eventMap[a]=e,!1===n&&(e.appendInPlace=n)),r.push(e)}}return r}parseSchedule(e,t){const n=[],r=t.main.details,i=r.live?1/0:r.edge;let o=0;if((e=e.filter(e=>!(e.error||e.cue.once&&e.hasPlayed))).length){this.resolveOffsets(e,t);let r=0,s=0;if(e.forEach((t,a)=>{const l=t.cue.pre,c=t.cue.post,u=e[a-1]||null,d=t.appendInPlace,h=c?i:t.startOffset,f=t.duration,p=t.timelineOccupancy===Wse.Range?f:0,m=t.resumptionOffset,g=(null==u?void 0:u.startTime)===h,v=h+t.cumulativeDuration;let y=d?v+f:h+m;if(l||!c&&h<=0){const e=s;s+=p,t.timelineStart=v;const r=o;o+=f,n.push({event:t,start:v,end:y,playout:{start:r,end:o},integrated:{start:e,end:s}})}else{if(!(h<=i))return;{if(!g){const i=h-r;if(i>.033){const l=r,c=s;s+=i;const u=o;o+=i;const d={previousEvent:e[a-1]||null,nextEvent:t,start:l,end:l+i,playout:{start:u,end:o},integrated:{start:c,end:s}};n.push(d)}else i>0&&u&&(u.cumulativeDuration+=i,n[n.length-1].end=h)}c&&(y=v),t.timelineStart=v;const i=s;s+=p;const l=o;o+=f,n.push({event:t,start:v,end:y,playout:{start:l,end:o},integrated:{start:i,end:s}})}}const b=t.resumeTime;r=c||b>i?i:b}),r<i){var a;const e=r,t=s,l=i-r;s+=l;const c=o;o+=l,n.push({previousEvent:(null==(a=n[n.length-1])?void 0:a.event)||null,nextEvent:null,start:r,end:e+l,playout:{start:c,end:o},integrated:{start:t,end:s}})}this.setDurations(i,o,s)}else{const e=0;n.push({previousEvent:null,nextEvent:null,start:e,end:i,playout:{start:e,end:i},integrated:{start:e,end:i}}),this.setDurations(i,i,i)}return n}setDurations(e,t,n){this.durations={primary:e,playout:t,integrated:n}}resolveOffsets(e,t){const n=t.main.details,r=n.live?1/0:n.edge;let i=0,o=-1;e.forEach((a,s)=>{const l=a.cue.pre,c=a.cue.post,u=l?0:c?r:a.startTime;this.updateAssetDurations(a),o===u?a.cumulativeDuration=i:(i=0,o=u),!c&&a.snapOptions.in&&(a.resumeAnchor=Vne(null,n.fragments,a.startOffset+a.resumptionOffset,0,0)||void 0),a.appendInPlace&&!a.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(a,t)||(a.appendInPlace=!1)),!a.appendInPlace&&s+1<e.length&&e[s+1].startTime-e[s].resumeTime<.033&&(e[s+1].appendInPlace=!1,e[s+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${a}`));const d=$ee(a.resumeOffset)?a.resumeOffset:a.duration;i+=d})}primaryCanResumeInPlaceAt(e,t){const n=e.resumeTime,r=e.startTime+e.resumptionOffset;return Math.abs(n-r)>Use?(this.log(`"${e.identifier}" resumption ${n} not aligned with estimated timeline end ${r}`),!1):!Object.keys(t).some(r=>{const i=t[r].details,o=i.edge;if(n>=o)return this.log(`"${e.identifier}" resumption ${n} past ${r} playlist end ${o}`),!1;const a=Vne(null,i.fragments,n);if(!a)return this.log(`"${e.identifier}" resumption ${n} does not align with any fragments in ${r} playlist (${i.fragStart}-${i.fragmentEnd})`),!0;const s="audio"===r?.175:0;return!(Math.abs(a.start-n)<Use+s||Math.abs(a.end-n)<Use+s||(this.log(`"${e.identifier}" resumption ${n} not aligned with ${r} fragment bounds (${a.start}-${a.end} sn: ${a.sn} cc: ${a.cc})`),0))})}updateAssetDurations(e){if(!e.assetListLoaded)return;const t=e.timelineStart;let n=0,r=!1,i=!1;for(let o=0;o<e.assetList.length;o++){const a=e.assetList[o],s=t+n;a.startOffset=n,a.timelineStart=s,r||(r=null===a.duration),i||(i=!!a.error),n+=a.error?0:a.duration||0}e.duration=r&&!i?Math.max(n,e.duration):n}removeEvent(e){e.reset(),delete this.eventMap[e.identifier]}}function ele(e){return`[${e.event?'"'+e.event.identifier+'"':"primary"}: ${e.start.toFixed(2)}-${e.end.toFixed(2)}]`}class tle{constructor(e){this.hls=void 0,this.hls=e}destroy(){this.hls=null}loadAssetList(e,t){const n=e.assetListUrl;let r;try{r=Yse(n,this.hls.sessionId,e.baseUrl)}catch(u){const t=this.assignAssetListError(e,zee.ASSET_LIST_LOAD_ERROR,u,n);return void this.hls.trigger(Vee.ERROR,t)}t&&"data:"!==r.protocol&&r.searchParams.set("_HLS_start_offset",""+t);const i=this.hls.config,o=new(0,i.loader)(i),a={responseType:"json",url:r.href},s=i.interstitialAssetListLoadPolicy.default,l={loadPolicy:s,timeout:s.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},c={onSuccess:(t,n,r,i)=>{const o=t.data,a=null==o?void 0:o.ASSETS;if(!Array.isArray(a)){const t=this.assignAssetListError(e,zee.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),r.url,n,i);return void this.hls.trigger(Vee.ERROR,t)}e.assetListResponse=o,this.hls.trigger(Vee.ASSET_LIST_LOADED,{event:e,assetListResponse:o,networkDetails:i}
1)},onError:(t,n,r,i)=>{const o=this.assignAssetListError(e,zee.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${t.code} ${t.text} (${n.url})`),n.url,i,r);this.hls.trigger(Vee.ERROR,o)},onTimeout:(t,n,r)=>{const i=this.assignAssetListError(e,zee.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${n.url})`),n.url,t,r);this.hls.trigger(Vee.ERROR,i)}};return o.load(a,l,c),this.hls.trigger(Vee.ASSET_LIST_LOADING,{event:e}),o}assignAssetListError(e,t,n,r,i,o){return e.error=n,{type:jee.NETWORK_ERROR,details:t,fatal:!1,interstitial:e,url:r,error:n,networkDetails:o,stats:i}}}function nle(e){var t;null==e||null==(t=e.play())||t.catch(()=>{})}function rle(e,t){return`[${e}] Advancing timeline position to ${t}`}class ile{constructor(e){this.buffered=void 0;const t=(t,n,r)=>{if((n>>>=0)>r-1)throw new DOMException(`Failed to execute '${t}' on 'TimeRanges': The index provided (${n}) is greater than the maximum bound (${r})`);return e[n][t]};this.buffered={get length(){return e.length},end:n=>t("end",n,e.length),start:n=>t("start",n,e.length)}}}const ole={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},ale=e=>String.fromCharCode(ole[e]||e),sle=15,lle=100,cle={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},ule={17:2,18:4,21:6,22:8,23:10,19:13,20:15},dle={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},hle={25:2,26:4,29:6,30:8,31:10,27:13,28:15},fle=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class ple{constructor(){this.time=null,this.verboseLevel=0}log(e,t){if(this.verboseLevel>=e){const n="function"==typeof t?t():t;lte.log(`${this.time} [${e}] ${n}`)}}}const mle=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n].toString(16));return t};class gle{constructor(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}reset(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}setStyles(e){const t=["foreground","underline","italics","background","flash"];for(let n=0;n<t.length;n++){const r=t[n];e.hasOwnProperty(r)&&(this[r]=e[r])}}isDefault(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash}equals(e){return this.foreground===e.foreground&&this.underline===e.underline&&this.italics===e.italics&&this.background===e.background&&this.flash===e.flash}copy(e){this.foreground=e.foreground,this.underline=e.underline,this.italics=e.italics,this.background=e.background,this.flash=e.flash}toString(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}class vle{constructor(){this.uchar=" ",this.penState=new gle}reset(){this.uchar=" ",this.penState.reset()}setChar(e,t){this.uchar=e,this.penState.copy(t)}setPenState(e){this.penState.copy(e)}equals(e){return this.uchar===e.uchar&&this.penState.equals(e.penState)}copy(e){this.uchar=e.uchar,this.penState.copy(e.penState)}isEmpty(){return" "===this.uchar&&this.penState.isDefault()}}class yle{constructor(e){this.chars=[],this.pos=0,this.currPenState=new gle,this.cueStartTime=null,this.logger=void 0;for(let t=0;t<lle;t++)this.chars.push(new vle);this.logger=e}equals(e){for(let t=0;t<lle;t++)if(!this.chars[t].equals(e.chars[t]))return!1;return!0}copy(e){for(let t=0;t<lle;t++)this.chars[t].copy(e.chars[t])}isEmpty(){let e=!0;for(let t=0;t<lle;t++)if(!this.chars[t].isEmpty()){e=!1;break}return e}
vendor: 5,682 bytes, line 1
1setCursor(e){this.pos!==e&&(this.pos=e),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>lle&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=lle)}moveCursor(e){const t=this.pos+e;if(e>1)for(let n=this.pos+1;n<t+1;n++)this.chars[n].setPenState(this.currPenState);this.setCursor(t)}backSpace(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}insertChar(e){e>=144&&this.backSpace();const t=ale(e);this.pos>=lle?this.logger.log(0,()=>"Cannot insert "+e.toString(16)+" ("+t+") at position "+this.pos+". Skipping it!"):(this.chars[this.pos].setChar(t,this.currPenState),this.moveCursor(1))}clearFromPos(e){let t;for(t=e;t<lle;t++)this.chars[t].reset()}clear(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}clearToEndOfRow(){this.clearFromPos(this.pos)}getTextString(){const e=[];let t=!0;for(let n=0;n<lle;n++){const r=this.chars[n].uchar;" "!==r&&(t=!1),e.push(r)}return t?"":e.join("")}setPenStyles(e){this.currPenState.setStyles(e),this.chars[this.pos].setPenState(this.currPenState)}}class ble{constructor(e){this.rows=[],this.currRow=14,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let t=0;t<sle;t++)this.rows.push(new yle(e));this.logger=e}reset(){for(let e=0;e<sle;e++)this.rows[e].clear();this.currRow=14}equals(e){let t=!0;for(let n=0;n<sle;n++)if(!this.rows[n].equals(e.rows[n])){t=!1;break}return t}copy(e){for(let t=0;t<sle;t++)this.rows[t].copy(e.rows[t])}isEmpty(){let e=!0;for(let t=0;t<sle;t++)if(!this.rows[t].isEmpty()){e=!1;break}return e}backSpace(){this.rows[this.currRow].backSpace()}clearToEndOfRow(){this.rows[this.currRow].clearToEndOfRow()}insertChar(e){this.rows[this.currRow].insertChar(e)}setPen(e){this.rows[this.currRow].setPenStyles(e)}moveCursor(e){this.rows[this.currRow].moveCursor(e)}setCursor(e){this.logger.log(2,"setCursor: "+e),this.rows[this.currRow].setCursor(e)}setPAC(e){this.logger.log(2,()=>"pacData = "+One(e));let t=e.row-1;if(this.nrRollUpRows&&t<this.nrRollUpRows-1&&(t=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==t){for(let t=0;t<sle;t++)this.rows[t].clear();const e=this.currRow+1-this.nrRollUpRows,n=this.lastOutputScreen;if(n){const r=n.rows[e].cueStartTime,i=this.logger.time;if(null!==r&&null!==i&&r<i)for(let o=0;o<this.nrRollUpRows;o++)this.rows[t-this.nrRollUpRows+o+1].copy(n.rows[e+o])}}this.currRow=t;const n=this.rows[this.currRow];if(null!==e.indent){const t=e.indent,r=Math.max(t-1,0);n.setCursor(e.indent),e.color=n.chars[r].penState.foreground}const r={foreground:e.color,underline:e.underline,italics:e.italics,background:"black",flash:!1};this.setPen(r)}setBkgData(e){this.logger.log(2,()=>"bkgData = "+One(e)),this.backSpace(),this.setPen(e),this.insertChar(32)}setRollUpRows(e){this.nrRollUpRows=e}rollUp(){if(null===this.nrRollUpRows)return void this.logger.log(3,"roll_up but nrRollUpRows not set yet");this.logger.log(1,()=>this.getDisplayText());const e=this.currRow+1-this.nrRollUpRows,t=this.rows.splice(e,1)[0];t.clear(),this.rows.splice(this.currRow,0,t),this.logger.log(2,"Rolling up")}getDisplayText(e){e=e||!1;const t=[];let n="",r=-1;for(let i=0;i<sle;i++){const n=this.rows[i].getTextString();n&&(r=i+1,e?t.push("Row "+r+": '"+n+"'"):t.push(n.trim()))}return t.length>0&&(n=e?"["+t.join(" | ")+"]":t.join("\n")),n}getTextAndFormat(){return this.rows}}class Cle{constructor(e,t,n){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=e,this.outputFilter=t,this.mode=null,this.verbose=0,this.displayedMemory=new ble(n),this.nonDisplayedMemory=new ble(n),this.lastOutputScreen=new ble(n),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=n}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(e){this.outputFilter=e}setPAC(e){this.writeScreen.setPAC(e)}setBkgData(e){this.writeScreen.setBkgData(e)}setMode(e){e!==this.mode&&(this.mode=e,this.logger.log(2,()=>"MODE="+e),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=e)}insertChars(e){for(let n=0;n<e.length;n++)this.writeScreen.insertChar(e[n]);const t=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,()=>t+": "+this.writeScreen.getDisplayText(!0)),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(this.logger.log(1,()=>"DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())}ccRCL(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}ccBS(){this.logger.log(2,"BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}ccAOF(){}ccAON(){}ccDER(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}ccRU(e){this.logger.log(2,"RU("+e+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(e)}ccFON(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}
1ccRDC(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}ccTR(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")}ccRTD(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")}ccEDM(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}ccCR(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}ccENM(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}ccEOC(){if(this.logger.log(2,"EOC - End Of Caption"),"MODE_POP-ON"===this.mode){const e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,()=>"DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)}ccTO(e){this.logger.log(2,"TO("+e+") - Tab Offset"),this.writeScreen.moveCursor(e)}ccMIDROW(e){const t={flash:!1};if(t.underline=e%2==1,t.italics=e>=46,t.italics)t.foreground="white";else{const n=Math.floor(e/2)-16,r=["white","green","blue","cyan","red","yellow","magenta"];t.foreground=r[n]}this.logger.log(2,"MIDROW: "+One(t)),this.writeScreen.setPen(t)}outputDataUpdate(e=!1){const t=this.logger.time;null!==t&&this.outputFilter&&(null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,t,this.lastOutputScreen),e&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:t):this.cueStartTime=t,this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(e){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,e,this.displayedMemory),this.cueStartTime=e))}}class wle{constructor(e,t,n){this.channels=void 0,this.currentChannel=0,this.cmdHistory={a:null,b:null},this.logger=void 0;const r=this.logger=new ple;this.channels=[null,new Cle(e,t,r),new Cle(e+1,n,r)]}getHandler(e){return this.channels[e].getHandler()}setHandler(e,t){this.channels[e].setHandler(t)}addData(e,t){this.logger.time=e;for(let n=0;n<t.length;n+=2){const e=127&t[n],r=127&t[n+1];let i=!1,o=null;if(0===e&&0===r)continue;this.logger.log(3,()=>"["+mle([t[n],t[n+1]])+"] -> ("+mle([e,r])+")");const a=this.cmdHistory;if(e>=16&&e<=31){if(kle(e,r,a)){Ele(null,null,a),this.logger.log(3,()=>"Repeated command ("+mle([e,r])+") is dropped");continue}Ele(e,r,this.cmdHistory),i=this.parseCmd(e,r),i||(i=this.parseMidrow(e,r)),i||(i=this.parsePAC(e,r)),i||(i=this.parseBackgroundAttributes(e,r))}else Ele(null,null,a);if(!i&&(o=this.parseChars(e,r),o)){const e=this.currentChannel;e&&e>0?this.channels[e].insertChars(o):this.logger.log(2,"No channel found yet. TEXT-MODE?")}i||o||this.logger.log(2,()=>"Couldn't parse cleaned data "+mle([e,r])+" orig: "+mle([t[n],t[n+1]]))}}parseCmd(e,t){if(!((20===e||28===e||21===e||29===e)&&t>=32&&t<=47||(23===e||31===e)&&t>=33&&t<=35))return!1;const n=20===e||21===e||23===e?1:2,r=this.channels[n];return 20===e||21===e||28===e||29===e?32===t?r.ccRCL():33===t?r.ccBS():34===t?r.ccAOF():35===t?r.ccAON():36===t?r.ccDER():37===t?r.ccRU(2):38===t?r.ccRU(3):39===t?r.ccRU(4):40===t?r.ccFON():41===t?r.ccRDC():42===t?r.ccTR():43===t?r.ccRTD():44===t?r.ccEDM():45===t?r.ccCR():46===t?r.ccENM():47===t&&r.ccEOC():r.ccTO(t-32),this.currentChannel=n,!0}parseMidrow(e,t){let n=0;if((17===e||25===e)&&t>=32&&t<=47){if(n=17===e?1:2,n!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const r=this.channels[n];return!!r&&(r.ccMIDROW(t),this.logger.log(3,()=>"MIDROW ("+mle([e,t])+")"),!0)}return!1}parsePAC(e,t){let n;if(!((e>=17&&e<=23||e>=25&&e<=31)&&t>=64&&t<=127||(16===e||24===e)&&t>=64&&t<=95))return!1;const r=e<=23?1:2;n=t>=64&&t<=95?1===r?cle[e]:dle[e]:1===r?ule[e]:hle[e];const i=this.channels[r];return!!i&&(i.setPAC(this.interpretPAC(n,t)),this.currentChannel=r,!0)}interpretPAC(e,t){let n;const r={color:null,italics:!1,indent:null,underline:!1,row:e};return n=t>
vendor: 7,798 bytes, line 1
195?t-96:t-64,r.underline=!(1&~n),n<=13?r.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(n/2)]:n<=15?(r.italics=!0,r.color="white"):r.indent=4*Math.floor((n-16)/2),r}parseChars(e,t){let n,r=null,i=null;if(e>=25?(n=2,i=e-8):(n=1,i=e),i>=17&&i<=19){let e;e=17===i?t+80:18===i?t+112:t+144,this.logger.log(2,()=>"Special char '"+ale(e)+"' in channel "+n),r=[e]}else e>=32&&e<=127&&(r=0===t?[e]:[e,t]);return r&&this.logger.log(3,()=>"Char codes = "+mle(r).join(",")),r}parseBackgroundAttributes(e,t){if(!((16===e||24===e)&&t>=32&&t<=47||(23===e||31===e)&&t>=45&&t<=47))return!1;let n;const r={};16===e||24===e?(n=Math.floor((t-32)/2),r.background=fle[n],t%2==1&&(r.background=r.background+"_semi")):45===t?r.background="transparent":(r.foreground="black",47===t&&(r.underline=!0));const i=e<=23?1:2;return this.channels[i].setBkgData(r),!0}reset(){for(let e=0;e<Object.keys(this.channels).length;e++){const t=this.channels[e];t&&t.reset()}Ele(null,null,this.cmdHistory)}cueSplitAtTime(e){for(let t=0;t<this.channels.length;t++){const n=this.channels[t];n&&n.cueSplitAtTime(e)}}}function Ele(e,t,n){n.a=e,n.b=t}function kle(e,t,n){return n.a===e&&n.b===t}var Sle=function(){if(null!=Vre&&Vre.VTTCue)return self.VTTCue;const e=["","lr","rl"],t=["start","middle","end","left","right"];function n(e,t){if("string"!=typeof t)return!1;if(!Array.isArray(e))return!1;const n=t.toLowerCase();return!!~e.indexOf(n)&&n}function r(e){return n(t,e)}function i(e,...t){let n=1;for(;n<arguments.length;n++){const t=arguments[n];for(const n in t)e[n]=t[n]}return e}function o(t,o,a){const s=this,l={enumerable:!0};s.hasBeenReset=!1;let c="",u=!1,d=t,h=o,f=a,p=null,m="",g=!0,v="auto",y="start",b=50,C="middle",w=50,E="middle";Object.defineProperty(s,"id",i({},l,{get:function(){return c},set:function(e){c=""+e}})),Object.defineProperty(s,"pauseOnExit",i({},l,{get:function(){return u},set:function(e){u=!!e}})),Object.defineProperty(s,"startTime",i({},l,{get:function(){return d},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");d=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",i({},l,{get:function(){return h},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");h=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",i({},l,{get:function(){return f},set:function(e){f=""+e,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",i({},l,{get:function(){return p},set:function(e){p=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",i({},l,{get:function(){return m},set:function(t){const r=function(t){return n(e,t)}(t);if(!1===r)throw new SyntaxError("An invalid or illegal string was specified.");m=r,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",i({},l,{get:function(){return g},set:function(e){g=!!e,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",i({},l,{get:function(){return v},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("An invalid number or illegal string was specified.");v=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",i({},l,{get:function(){return y},set:function(e){const t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",i({},l,{get:function(){return b},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");b=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",i({},l,{get:function(){return C},set:function(e){const t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");C=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",i({},l,{get:function(){return w},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");w=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",i({},l,{get:function(){return E},set:function(e){const t=r(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");E=t,this.hasBeenReset=!0}})),s.displayState=void 0}return o.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},o}();class xle{decode(e,t){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}function Tle(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+parseFloat(r||0)}const n=e.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return n?parseFloat(n[2])>59?t(n[2],n[3],0,n[4]):t(n[1],n[2],n[3],n[4]):null}class Mle{constructor(){this.values=Object.create(null)}set(e,t){this.get(e)||""===t||(this.values[e]=t)}get(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t}has(e){return e in this.values}alt(e,t,n){for(let r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}}integer(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))}percent(e,t){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(t)){const n=parseFloat(t);if(n>=0&&n<=100)return this.set(e,n),!0}return!1}}function Ale(e,t,n,r){const i=r?e.split(r):[e];for(const o in i){if("string"!=typeof i[o])continue;const e=i[o].split(n);2===e.length&&t(e[0],e[1])}}const Lle=new Sle(0,0,""),Ple="middle"===Lle.align?"middle":"center";function Rle(e,t,n){const r=e;function i(){const t=Tle(e);if(null===t)throw new Error("Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function o(){e=e.replace(/^\s+/,"")}if(o(),t.startTime=i(),o(),"--\x3e"!==e.slice(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.slice(3),o(),t.endTime=i(),o(),function(e,t){const r=new Mle;Ale(e,function(e,t){let i;switch(e){case"region":for(let i=n.length-1;i>=0;i--)if(n[i].id===t){r.set(e,n[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":i=t.split(","),r.integer(e,i[0]),r.percent(e,i[0])&&r.set("snapToLines",!1),r.alt(e,i[0],["auto"]),2===i.length&&r.alt("lineAlign",i[1],["start",Ple,"end"]);break;case"position":i=t.split(","),r.percent(e,i[0]),2===i.length&&r.alt("positionAlign",i[1],["start",Ple,"end","line-left","line-right","auto"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start",Ple,"end","left","right"])}},/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");let i=r.get("line","auto");"auto"===i&&-1===Lle.line&&(i=-1),t.line=i,t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100),t.align=r.get("align",Ple);let o=r.get("position","auto");"auto"===o&&50===Lle.position&&(o="start"===t.align||"left"===t.align?0:"end"===t.align||"right"===t.align?100:50),t.position=o}(e,t)}function Ole(e){return e.replace(/<br(?: \/)?>/gi,"\n")}class Dle{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new xle,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(e){const t=this;function n(){let e=t.buffer,n=0;for(e=Ole(e);n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;const r=e.slice(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.slice(n),r}function r(e){Ale(e,function(e,t){},/:/)}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{let e="";if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;e=n();const r=e.match(/^()?WEBVTT([ \t].*)?$/);if(null==r||!r[0])throw new Error("Malformed WebVTT signature.");t.state="HEADER"}let o=!1;for(;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(o?o=!1:e=n(),t.state){case"HEADER":/:/.test(e)?r(e):e||(t.state="ID");continue;case"NOTE":e||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(e)){t.state="NOTE";break}if(!e)continue;if(t.cue=new Sle(0,0,""),t.state="CUE",-1===e.indexOf("--\x3e")){t.cue.id=e;continue}case"CUE":if(!t.cue){t.state="BADCUE";continue}
1try{Rle(e,t.cue,t.regionList)}catch(i){t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":{const n=-1!==e.indexOf("--\x3e");if(!e||n&&(o=!0)){t.oncue&&t.cue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}if(null===t.cue)continue;t.cue.text&&(t.cue.text+="\n"),t.cue.text+=e}continue;case"BADCUE":e||(t.state="ID")}}}catch(i){"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this}flush(){const e=this;try{if((e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state||"BADWEBVTT"===e.state)throw new Error("Malformed WebVTT signature.")}catch(t){e.onparsingerror&&e.onparsingerror(t)}return e.onflush&&e.onflush(),this}}const Ile=/\r\n|\n\r|\n|\r/g,_le=function(e,t,n=0){return e.slice(n,n+t.length)===t};function Fle(e,t,n){return Hse(e.toString())+Hse(t.toString())+Hse(n)}const $le="stpp.ttml.im1t",Nle=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Ble=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,jle={left:"start",center:"center",right:"end",start:"start",end:"end"};function zle(e,t,n,r){const i=jte(new Uint8Array(e),["mdat"]);if(0===i.length)return void r(new Error("Could not parse IMSC1 mdat"));const o=i.map(e=>dte(e)),a=function(e,t,n=1,r=!1){return aae(e,t,1/n,r)}(t.baseTime,1,t.timescale);try{o.forEach(e=>n(function(e,t){const n=(new DOMParser).parseFromString(e,"text/xml").getElementsByTagName("tt")[0];if(!n)throw new Error("Invalid ttml");const r={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},i=Object.keys(r).reduce((e,t)=>(e[t]=n.getAttribute(`ttp:${t}`)||r[t],e),{}),o="preserve"!==n.getAttribute("xml:space"),a=Hle(Vle(n,"styling","style")),s=Hle(Vle(n,"layout","region")),l=Vle(n,"body","[begin]");return[].map.call(l,e=>{const n=Ule(e,o);if(!n||!e.hasAttribute("begin"))return null;const r=qle(e.getAttribute("begin"),i),l=qle(e.getAttribute("dur"),i);let c=qle(e.getAttribute("end"),i);if(null===r)throw Gle(e);if(null===c){if(null===l)throw Gle(e);c=r+l}const u=new Sle(r-t,c-t,n);u.id=Fle(u.startTime,u.endTime,u.text);const d=function(e,t,n){const r="http://www.w3.org/ns/ttml#styling";let i=null;const o=null!=e&&e.hasAttribute("style")?e.getAttribute("style"):null;return o&&n.hasOwnProperty(o)&&(i=n[o]),["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"].reduce((n,o)=>{const a=Wle(t,r,o)||Wle(e,r,o)||Wle(i,r,o);return a&&(n[o]=a),n},{})}(s[e.getAttribute("region")],a[e.getAttribute("style")],a),{textAlign:h}=d;if(h){const e=jle[h];e&&(u.lineAlign=e),u.align=h}return Jee(u,d),u}).filter(e=>null!==e)}(e,a)))}catch(s){r(s)}}function Vle(e,t,n){const r=e.getElementsByTagName(t)[0];return r?[].slice.call(r.querySelectorAll(n)):[]}function Hle(e){return e.reduce((e,t)=>{const n=t.getAttribute("xml:id");return n&&(e[n]=t),e},{})}function Ule(e,t){return[].slice.call(e.childNodes).reduce((e,n,r)=>{var i;return"br"===n.nodeName&&r?e+"\n":null!=(i=n.childNodes)&&i.length?Ule(n,t):t?e+n.textContent.trim().replace(/\s+/g," "):e+n.textContent},"")}function Wle(e,t,n){return e&&e.hasAttributeNS(t,n)?e.getAttributeNS(t,n):null}function Gle(e){return new Error(`Could not parse ttml timestamp ${e}`)}function qle(e,t){if(!e)return null;let n=Tle(e);return null===n&&(Nle.test(e)?n=function(e,t){const n=Nle.exec(e),r=(0|n[4])+(0|n[5])/t.subFrameRate;return 3600*(0|n[1])+60*(0|n[2])+(0|n[3])+r/t.frameRate}(e,t):Ble.test(e)&&(n=function(e,t){const n=Ble.exec(e),r=Number(n[1]);switch(n[2]){case"h":return 3600*r;case"m":return 60*r;case"ms":return 1e3*r;case"f":return r/t.frameRate;case"t":return r/t.tickRate}return r}(e,t))),n}class Kle{constructor(e,t){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=e,this.trackName=t}dispatchCue(){null!==this.startTime&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(e,t,n){(null===this.startTime||this.startTime>e)&&(this.startTime=e),this.endTime=t,this.screen=n,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}function Yle(e){return e.characteristics&&/transcribes-spoken-dialog/gi.test(e.characteristics)&&/describes-music-and-sound/gi.test(e.characteristics)?"captions":"subtitles"}function Zle(e,t){return!!e&&e.kind===Yle(t)&&Pae(t,e)}function Qle(e,t,n,r){return Math.min(t,r)-Math.max(e,n)}const Xle=/\s/,Jle={newCue(e,t,n,r){const i=[];let o,a,s,l,c;const u=self.VTTCue||self.TextTrackCue;for(let h=0;h<r.rows.length;h++)if(o=r.rows[h],s=!0,l=0,c="",!o.isEmpty()){var d;for(let e=0;e<o.chars.length;e++)Xle.test(o.chars[e].uchar)&&s?l++:(c+=o.chars[e].uchar,s=!1);o.cueStartTime=t,t===n&&(n+=1e-4),l>=16?l--:l++;const r=Ole(c.trim()),f=Fle(t,n,r);null!=e&&null!=(d=e.cues)&&d.getCueById(f)||(a=new u(t,n,r),a.id=f,a.line=h+1,a.align="left",a.position=10+Math.min(80,10*Math.floor(8*l/32)),i.push(a))}return e&&i.length&&(i.sort((e,t)=>
1"auto"===e.line||"auto"===t.line?0:e.line>8&&t.line>8?t.line-e.line:e.line-t.line),i.forEach(t=>Bse(e,t))),i}},ece=/(\d+)-(\d+)\/(\d+)/;class tce{constructor(e){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=e.fetchSetup||nce,this.controller=new self.AbortController,this.stats=new kte}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var e;this.abortInternal(),null!=(e=this.callbacks)&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(e,t,n){const r=this.stats;if(r.loading.start)throw new Error("Loader can only be used once.");r.loading.start=self.performance.now();const i=function(e,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(Jee({},e.headers))};return e.rangeEnd&&n.headers.set("Range","bytes="+e.rangeStart+"-"+String(e.rangeEnd-1)),n}(e,this.controller.signal),o="arraybuffer"===e.responseType,a=o?"byteLength":"length",{maxTimeToFirstByteMs:s,maxLoadTimeMs:l}=t.loadPolicy;this.context=e,this.config=t,this.callbacks=n,this.request=this.fetchSetup(e,i),self.clearTimeout(this.requestTimeout),t.timeout=s&&$ee(s)?s:l,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(r,e,this.response))},t.timeout),(Eae(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(n=>{var i;this.response=this.loader=n;const a=Math.max(self.performance.now(),r.loading.start);if(self.clearTimeout(this.requestTimeout),t.timeout=l,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(r,e,this.response))},l-(a-r.loading.start)),!n.ok){const{status:e,statusText:t}=n;throw new rce(t||"fetch, bad network response",e,n)}r.loading.first=a,r.total=function(e){const t=e.get("Content-Range");if(t){const e=function(e){const t=ece.exec(e);if(t)return parseInt(t[2])-parseInt(t[1])+1}(t);if($ee(e))return e}const n=e.get("Content-Length");if(n)return parseInt(n)}(n.headers)||r.total;const s=null==(i=this.callbacks)?void 0:i.onProgress;return s&&$ee(t.highWaterMark)?this.loadProgressively(n,r,e,t.highWaterMark,s):o?n.arrayBuffer():"json"===e.responseType?n.json():n.text()}).then(n=>{var i,o;const s=this.response;if(!s)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),r.loading.end=Math.max(self.performance.now(),r.loading.first);const l=n[a];l&&(r.loaded=r.total=l);const c={url:s.url,data:n,code:s.status},u=null==(i=this.callbacks)?void 0:i.onProgress;u&&!$ee(t.highWaterMark)&&u(r,e,n,s),null==(o=this.callbacks)||o.onSuccess(c,r,e,s)}).catch(t=>{var n;if(self.clearTimeout(this.requestTimeout),r.aborted)return;const i=t&&t.code||0,o=t?t.message:null;null==(n=this.callbacks)||n.onError({code:i,text:o},e,t?t.details:null,r)})}getCacheAge(){let e=null;if(this.response){const t=this.response.headers.get("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.response?this.response.headers.get(e):null}loadProgressively(e,t,n,r=0,i){const o=new Jie,a=e.body.getReader(),s=()=>a.read().then(a=>{if(a.done)return o.dataLength&&i(t,n,o.flush().buffer,e),Promise.resolve(new ArrayBuffer(0));const l=a.value,c=l.length;return t.loaded+=c,c<r||o.dataLength?(o.push(l),o.dataLength>=r&&i(t,n,o.flush().buffer,e)):i(t,n,l.buffer,e),s()}).catch(()=>Promise.reject());return s()}}function nce(e,t){return new self.Request(e.url,t)}class rce extends Error{constructor(e,t,n){super(e),this.code=void 0,this.details=void 0,this.code=t,this.details=n}}const ice=/^age:\s*[\d.]+\s*$/im;class oce{constructor(e){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=e&&e.xhrSetup||null,this.stats=new kte,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const e=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),e&&(e.onreadystatechange=null,e.onprogress=null,4!==e.readyState&&(this.stats.aborted=!0,e.abort()))}abort(){var e;this.abortInternal(),null!=(e=this.callbacks)&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(e,t,n){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=e,this.config=t,this.callbacks=n,this.loadInternal()}loadInternal(){const{config:e,context:t}=this;if(!e||!t)return;const n=this.loader=new self.XMLHttpRequest,r=this.stats;r.loading.first=0,r.loaded=0,r.aborted=!1;const i=this.xhrSetup;i?Promise.resolve().then(()=>
vendor: 12,741 bytes, line 1
1{if(this.loader===n&&!this.stats.aborted)return i(n,t.url)}).catch(e=>{if(this.loader===n&&!this.stats.aborted)return n.open("GET",t.url,!0),i(n,t.url)}).then(()=>{this.loader!==n||this.stats.aborted||this.openAndSendXhr(n,t,e)}).catch(e=>{var i;null==(i=this.callbacks)||i.onError({code:n.status,text:e.message},t,n,r)}):this.openAndSendXhr(n,t,e)}openAndSendXhr(e,t,n){e.readyState||e.open("GET",t.url,!0);const r=t.headers,{maxTimeToFirstByteMs:i,maxLoadTimeMs:o}=n.loadPolicy;if(r)for(const a in r)e.setRequestHeader(a,r[a]);t.rangeEnd&&e.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),e.onreadystatechange=this.readystatechange.bind(this),e.onprogress=this.loadprogress.bind(this),e.responseType=t.responseType,self.clearTimeout(this.requestTimeout),n.timeout=i&&$ee(i)?i:o,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),n.timeout),e.send()}readystatechange(){const{context:e,loader:t,stats:n}=this;if(!e||!t)return;const r=t.readyState,i=this.config;if(!n.aborted&&r>=2&&(0===n.loading.first&&(n.loading.first=Math.max(self.performance.now(),n.loading.start),i.timeout!==i.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),i.timeout=i.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),i.loadPolicy.maxLoadTimeMs-(n.loading.first-n.loading.start)))),4===r)){self.clearTimeout(this.requestTimeout),t.onreadystatechange=null,t.onprogress=null;const r=t.status,l="text"===t.responseType?t.responseText:null;if(r>=200&&r<300){const i=null!=l?l:t.response;if(null!=i){var o,a;n.loading.end=Math.max(self.performance.now(),n.loading.first);const s="arraybuffer"===t.responseType?i.byteLength:i.length;n.loaded=n.total=s,n.bwEstimate=8e3*n.total/(n.loading.end-n.loading.first);const l=null==(o=this.callbacks)?void 0:o.onProgress;l&&l(n,e,i,t);const c={url:t.responseURL,data:i,code:r};return void(null==(a=this.callbacks)||a.onSuccess(c,n,e,t))}}const c=i.loadPolicy.errorRetry;var s;Xne(c,n.retry,!1,{url:e.url,data:void 0,code:r})?this.retry(c):(lte.error(`${r} while loading ${e.url}`),null==(s=this.callbacks)||s.onError({code:r,text:t.statusText},e,t,n))}}loadtimeout(){if(!this.config)return;const e=this.config.loadPolicy.timeoutRetry;if(Xne(e,this.stats.retry,!0))this.retry(e);else{var t;lte.warn(`timeout while loading ${null==(t=this.context)?void 0:t.url}`);const e=this.callbacks;e&&(this.abortInternal(),e.onTimeout(this.stats,this.context,this.loader))}}retry(e){const{context:t,stats:n}=this;this.retryDelay=Zne(e,n.retry),n.retry++,lte.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${null==t?void 0:t.url}, retrying ${n.retry}/${e.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(e){const t=this.stats;t.loaded=e.loaded,e.lengthComputable&&(t.total=e.total)}getCacheAge(){let e=null;if(this.loader&&ice.test(this.loader.getAllResponseHeaders())){const t=this.loader.getResponseHeader("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.loader&&new RegExp(`^${e}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(e):null}}const ace=tte(tte({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:6e7,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:oce,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:class extends nte{constructor(e){super("abr",e.logger),this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=-1,this.firstSelection=-1,this._nextAutoLevel=-1,this.nextAutoLevelKey="",this.audioTracksByGroup=null,this.codecTiers=null,this.timer=-1,this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.rebufferNotice=-1,this.supportedCache={},this.bwEstimator=void 0,this._abandonRulesCheck=e=>{var t;const{fragCurrent:n,partCurrent:r,hls:i}=this,{autoLevelEnabled:o,media:a}=i;if(!n||!a)return;const s=performance.now(),l=r?r.stats:n.stats,c=r?r.duration:n.duration,u=s-l.loading.start,d=i.minAutoLevel,h=n.level,f=this._nextAutoLevel;if(l.aborted||l.loaded&&l.loaded===l.total||h<=d)return this.clearTimer(),void(this._nextAutoLevel=-1);if(!o)return;const p=f>-1&&f!==h,m=!!e||p;if(!m&&(a.paused||!a.playbackRate||!a.readyState))return;const g=i.mainForwardBufferInfo;if(!m&&null===g)return;const v=this.bwEstimator.getEstimateTTFB(),y=Math.abs(a.playbackRate);if(u<=Math.max(v,c/(2*y)*1e3))return;const b=g?g.len/y:0,C=l.loading.first?l.loading.first-l.loading.start:-1,w=l.loaded&&C>-1,E=this.getBwEstimate(),k=i.levels,S=k[h],x=Math.max(l.loaded,Math.round(c*(n.bitrate||S.averageBitrate)/8));let T=w?u-C:u;T<1&&w&&(T=Math.min(u,8*l.loaded/E));const M=w?1e3*l.loaded/T:0,A=v/1e3,L=M?(x-l.loaded)/M:8*x/E+A;if(L<=b)return;const P=M?8*M:E,R=!0===(null==(t=(null==e?void 0:e.details)||this.hls.latestLevelDetails)?void 0:t.live),O=this.hls.config.abrBandWidthUpFactor;let D,I=Number.POSITIVE_INFINITY;for(D=h-1;D>d;D--){const e=k[D].maxBitrate,t=!k[D].details||R;if(I=this.getTimeToLoadFrag(A,P,c*e,t),I<Math.min(b,c+A))break}if(I>=L)return;if(I>10*c)return;w?this.bwEstimator.sample(u-Math.min(v,C),l.loaded):this.bwEstimator.sampleTTFB(u);const _=k[D].maxBitrate;this.getBwEstimate()*O>_&&this.resetEstimator(_);const F=this.findBestLevel(_,d,D,0,b,1,1);F>-1&&(D=F),this.warn(`Fragment ${n.sn}${r?" part "+r.index:""} of level ${h} is loading too slowly;\n Fragment duration: ${n.duration.toFixed(3)}\n Time to underbuffer: ${b.toFixed(3)} s\n Estimated load time for current fragment: ${L.toFixed(3)} s\n Estimated load time for down switch fragment: ${I.toFixed(3)} s\n TTFB estimate: ${0|C} ms\n Current BW estimate: ${$ee(E)?0|E:"Unknown"} bps\n New BW estimate: ${0|this.getBwEstimate()} bps\n Switching to level ${D} @ ${0|_} bps`),i.nextLoadLevel=i.nextAutoLevel=D,this.clearTimer();const $=()=>{if(this.clearTimer(),this.fragCurrent===n&&this.hls.loadLevel===D&&D>0){const e=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${D>0?"and switching down":""}\n Fragment duration: ${n.duration.toFixed(3)} s\n Time to underbuffer: ${e.toFixed(3)} s`),n.abortRequests(),this.fragCurrent=this.partCurrent=null,D>d){let t=this.findBestLevel(this.hls.levels[d].bitrate,d,D,0,e,1,1);-1===t&&(t=d),this.hls.nextLoadLevel=this.hls.nextAutoLevel=t,this.resetEstimator(this.hls.levels[t].bitrate)}}};p||L>2*I?$():this.timer=self.setInterval($,1e3*I),i.trigger(Vee.FRAG_LOAD_EMERGENCY_ABORTED,{frag:n,part:r,stats:l})},this.hls=e,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(e){e&&(this.log(`setting initial bwe to ${e}`),this.hls.config.abrEwmaDefaultEstimate=e),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const e=this.hls.config;return new Qee(e.abrEwmaSlowVoD,e.abrEwmaFastVoD,e.abrEwmaDefaultEstimate)}registerListeners(){const{hls:e}=this;e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.FRAG_LOADING,this.onFragLoading,this),e.on(Vee.FRAG_LOADED,this.onFragLoaded,this),e.on(Vee.FRAG_BUFFERED,this.onFragBuffered,this),e.on(Vee.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(Vee.LEVEL_LOADED,this.onLevelLoaded,this),e.on(Vee.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(Vee.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.on(Vee.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e&&(e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.FRAG_LOADING,this.onFragLoading,this),e.off(Vee.FRAG_LOADED,this.onFragLoaded,this),e.off(Vee.FRAG_BUFFERED,this.onFragBuffered,this),e.off(Vee.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(Vee.LEVEL_LOADED,this.onLevelLoaded,this),e.off(Vee.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(Vee.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.off(Vee.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=this.supportedCache=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(e,t){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.supportedCache={},this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(e,t){const n=t.frag;var r;this.ignoreFragment(n)||(n.bitrateTest||(this.fragCurrent=n,this.partCurrent=null!=(r=t.part)?r:null),this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100))}onLevelSwitching(e,t){this.clearTimer()}onError(e,t){if(!t.fatal)switch(t.details){case zee.BUFFER_ADD_CODEC_ERROR:case zee.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case zee.FRAG_LOAD_TIMEOUT:{const e=t.frag,{fragCurrent:n,partCurrent:r}=this;if(e&&n&&e.sn===n.sn&&e.level===n.level){const t=performance.now(),n=r?r.stats:e.stats,i=t-n.loading.start,o=n.loading.first?n.loading.first-n.loading.start:-1;if(n.loaded&&o>-1){const e=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(i-Math.min(e,o),n.loaded)}else this.bwEstimator.sampleTTFB(i)}break}}}getTimeToLoadFrag(e,t,n,r){return e+n/t+(r?e+this.lastLevelLoadSec:0)}onLevelLoaded(e,t){const n=this.hls.config,{loading:r}=t.stats,i=r.end-r.first;$ee(i)&&(this.lastLevelLoadSec=i/1e3),t.details.live?this.bwEstimator.update(n.abrEwmaSlowLive,n.abrEwmaFastLive):this.bwEstimator.update(n.abrEwmaSlowVoD,n.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(t.levelInfo)}onFragLoaded(e,{frag:t,part:n}){const r=n?n.stats:t.stats;if(t.type===qee&&this.bwEstimator.sampleTTFB(r.loading.first-r.loading.start),!this.ignoreFragment(t)){if(this.clearTimer(),t.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const e=n?n.duration:t.duration,i=this.hls.levels[t.level],o=(i.loaded?i.loaded.bytes:0)+r.loaded,a=(i.loaded?i.loaded.duration:0)+e;i.loaded={bytes:o,duration:a},i.realBitrate=Math.round(8*o/a)}if(t.bitrateTest){const e={stats:r,frag:t,part:n,id:t.type};this.onFragBuffered(Vee.FRAG_BUFFERED,e),t.bitrateTest=!1}else this.lastLoadedFragLevel=t.level}}onFragBuffered(e,t){const{frag:n,part:r}=t,i=null!=r&&r.stats.loaded?r.stats:n.stats;if(i.aborted)return;if(this.ignoreFragment(n))return;const o=i.parsing.end-i.loading.start-Math.min(i.loading.first-i.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(o,i.loaded),i.bwEstimate=this.getBwEstimate(),n.bitrateTest?this.bitrateTestDelay=o/1e3:this.bitrateTestDelay=0}ignoreFragment(e){return e.type!==qee||"initSegment"===e.sn}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:e,minAutoLevel:t}=this.hls,n=this.getBwEstimate(),r=this.hls.config.maxStarvationDelay,i=this.findBestLevel(n,t,e,0,r,1,1);if(i>-1)return i;const o=this.hls.firstLevel,a=Math.min(Math.max(o,t),e);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${o} clamped to ${a}`),a}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const e=this.forcedAutoLevel,t=this.bwEstimator.canEstimate(),n=this.lastLoadedFragLevel>-1;if(!(-1===e||t&&n&&this.nextAutoLevelKey!==this.getAutoLevelKey()))return e;const r=t&&n?this.getNextABRAutoLevel():this.firstAutoLevel;if(-1!==e){const t=this.hls.levels;if(t.length>Math.max(e,r)&&t[e].loadError<=t[r].loadError)return e}return this._nextAutoLevel=r,this.nextAutoLevelKey=this.getAutoLevelKey(),r}getAutoLevelKey(){return`${this.getBwEstimate()}
1_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:e,partCurrent:t,hls:n}=this;if(n.levels.length<=1)return n.loadLevel;const{maxAutoLevel:r,config:i,minAutoLevel:o}=n,a=t?t.duration:e?e.duration:0,s=this.getBwEstimate(),l=this.getStarvationDelay();let c=i.abrBandWidthFactor,u=i.abrBandWidthUpFactor;if(l){const e=this.findBestLevel(s,o,r,l,0,c,u);if(e>=0)return this.rebufferNotice=-1,e}let d=a?Math.min(a,i.maxStarvationDelay):i.maxStarvationDelay;if(!l){const e=this.bitrateTestDelay;e&&(d=(a?Math.min(a,i.maxLoadingDelay):i.maxLoadingDelay)-e,this.info(`bitrate test took ${Math.round(1e3*e)}ms, set first fragment max fetchDuration to ${Math.round(1e3*d)} ms`),c=u=1)}const h=this.findBestLevel(s,o,r,l,d,c,u);if(this.rebufferNotice!==h&&(this.rebufferNotice=h,this.info(`${l?"rebuffering expected":"buffer is empty"}, optimal quality level ${h}`)),h>-1)return h;const f=n.levels[o],p=n.loadLevelObj;return p&&(null==f?void 0:f.bitrate)<p.bitrate?o:n.loadLevel}getStarvationDelay(){const e=this.hls,t=e.media;if(!t)return 1/0;const n=t&&0!==t.playbackRate?Math.abs(t.playbackRate):1,r=e.mainForwardBufferInfo;return(r?r.len:0)/n}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(e,t,n,r,i,o,a){var s;const l=r+i,c=this.lastLoadedFragLevel,u=-1===c?this.hls.firstLevel:c,{fragCurrent:d,partCurrent:h}=this,{levels:f,allAudioTracks:p,loadLevel:m,config:g}=this.hls;if(1===f.length)return 0;const v=f[u],y=!(null==(s=this.hls.latestLevelDetails)||!s.live),b=-1===m||-1===c;let C,w="SDR",E=(null==v?void 0:v.frameRate)||0;const{audioPreference:k,videoPreference:S}=g,x=this.audioTracksByGroup||(this.audioTracksByGroup=Ine(p));let T=-1;if(b){if(-1!==this.firstSelection)return this.firstSelection;const r=this.codecTiers||(this.codecTiers=function(e,t,n,r){return e.slice(n,r+1).reduce((e,n,r)=>{if(!n.codecSet)return e;const i=n.audioGroups;let o=e[n.codecSet];o||(e[n.codecSet]=o={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:r,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!i,fragmentError:0}),o.minBitrate=Math.min(o.minBitrate,n.bitrate);const a=Math.min(n.height,n.width);return o.minHeight=Math.min(o.minHeight,a),o.minFramerate=Math.min(o.minFramerate,n.frameRate),o.minIndex=Math.min(o.minIndex,r),o.maxScore=Math.max(o.maxScore,n.score),o.fragmentError+=n.fragmentError,o.videoRanges[n.videoRange]=(o.videoRanges[n.videoRange]||0)+1,i&&i.forEach(e=>{if(!e)return;const n=t.groups[e];n&&(o.hasDefaultAudio=o.hasDefaultAudio||t.hasDefaultAudio?n.hasDefault:n.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(n.channels).forEach(e=>{o.channels[e]=(o.channels[e]||0)+n.channels[e]}))}),e},{})}(f,x,t,n)),i=function(e,t,n,r,i){const o=Object.keys(e),a=null==r?void 0:r.channels,s=null==r?void 0:r.audioCodec,l=null==i?void 0:i.videoCodec,c=a&&2===parseInt(a);let u=!1,d=!1,h=1/0,f=1/0,p=1/0,m=1/0,g=0,v=[];const{preferHDR:y,allowedVideoRanges:b}=function(e,t){let n=!1,r=[];if(e&&(n="SDR"!==e,r=[e]),t){r=t.allowedVideoRanges||Mne.slice(0);const e="SDR"!==r.join("")&&!t.videoCodec;n=void 0!==t.preferHDR?t.preferHDR:e&&function(){if("function"==typeof matchMedia){const e=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(e.media!==t.media)return!0===e.matches}return!1}(),n||(r=["SDR"])}return{preferHDR:n,allowedVideoRanges:r}}(t,i);for(let k=o.length;k--;){const t=e[o[k]];u||(u=t.channels[2]>0),h=Math.min(h,t.minHeight),f=Math.min(f,t.minFramerate),p=Math.min(p,t.minBitrate),b.filter(e=>t.videoRanges[e]>0).length>0&&(d=!0)}h=$ee(h)?h:0,f=$ee(f)?f:0;const C=Math.max(1080,h),w=Math.max(30,f);p=$ee(p)?p:n,n=Math.max(p,n),d||(t=void 0);const E=o.length>1;return{codecSet:o.reduce((t,r)=>{const i=e[r];if(r===t)return t;if(v=d?b.filter(e=>i.videoRanges[e]>0):[],E){if(i.minBitrate>n)return Dne(r,`min bitrate of ${i.minBitrate} > current estimate of ${n}`),t;if(!i.hasDefaultAudio)return Dne(r,"no renditions with default or auto-select sound found"),t;if(s&&r.indexOf(s.substring(0,4))%5!=0)return Dne(r,`audio codec preference "${s}" not found`),t;if(a&&!c){if(!i.channels[a])return Dne(r,`no renditions with ${a} channel sound found (channels options: ${Object.keys(i.channels)})`),t}else if((!s||c)&&u&&0===i.channels[2])return Dne(r,"no renditions with stereo sound found"),t;if(i.minHeight>C)return Dne(r,`min resolution of ${i.minHeight} > maximum of ${C}`),t;if(i.minFramerate>w)return Dne(r,`min framerate of ${i.minFramerate} > maximum of ${w}`),t;if(!v.some(e=>i.videoRanges[e]>0))return Dne(r,`no variants with VIDEO-RANGE of ${One(v)} found`),t;if(l&&r.indexOf(l.substring(0,4))%5!=0)return Dne(r,`video codec preference "${l}" not found`),t;if(i.maxScore<g)return Dne(r,`max score of ${i.maxScore} < selected max of ${g}`),t}return t&&(une(r)>=une(t)||i.fragmentError>e[t].fragmentError)?t:(m=i.minIndex,g=i.maxScore,r)},void 0),videoRanges:v,preferHDR:y,minFramerate:f,minBitrate:p,minIndex:m}}(r,w,e,k,S),{codecSet:o,videoRanges:a,minFramerate:s,minBitrate:l,minIndex:c,preferHDR:u}=i;T=c,C=o,w=u?a[a.length-1]:a[0],E=s,e=Math.max(e,l),this.log(`picked start tier ${One(i)}`)}else C=null==v?void 0:v.codecSet,w=null==v?void 0:v.videoRange;const M=h?h.duration:d?d.duration:0,A=this.bwEstimator.getEstimateTTFB()/1e3,L=[];for(let R=n;R>=t;R--){var P;const t=f[R],s=R>u;if(!t)continue;
1if(g.useMediaCapabilities&&!t.supportedResult&&!t.supportedPromise){const n=navigator.mediaCapabilities;"function"==typeof(null==n?void 0:n.decodingInfo)&&Ene(t,x,w,E,e,k)?(t.supportedPromise=kne(t,x,n,this.supportedCache),t.supportedPromise.then(e=>{if(!this.hls)return;t.supportedResult=e;const n=this.hls.levels,r=n.indexOf(t);e.error?this.warn(`MediaCapabilities decodingInfo error: "${e.error}" for level ${r} ${One(e)}`):e.supported?e.decodingInfoResults.some(e=>!1===e.smooth||!1===e.powerEfficient)&&this.log(`MediaCapabilities decodingInfo for level ${r} not smooth or powerEfficient: ${One(e)}`):(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${r} ${One(e)}`),r>-1&&n.length>1&&(this.log(`Removing unsupported level ${r}`),this.hls.removeLevel(r),-1===this.hls.loadLevel&&(this.hls.nextLoadLevel=0)))}).catch(e=>{this.warn(`Error handling MediaCapabilities decodingInfo: ${e}`)})):t.supportedResult=Cne}if((C&&t.codecSet!==C||w&&t.videoRange!==w||s&&E>t.frameRate||!s&&E>0&&E<t.frameRate||null!=(P=t.supportedResult)&&null!=(P=P.decodingInfoResults)&&P.some(e=>!1===e.smooth))&&(!b||R!==T)){L.push(R);continue}const d=t.details,p=(h?null==d?void 0:d.partTarget:null==d?void 0:d.averagetargetduration)||M;let v;v=s?a*e:o*e;const S=M&&r>=2*M&&0===i?t.averageBitrate:t.maxBitrate,O=this.getTimeToLoadFrag(A,v,S*p,void 0===d);if(v>=S&&(R===c||0===t.loadError&&0===t.fragmentError)&&(O<=A||!$ee(O)||y&&!this.bitrateTestDelay||O<l)){const e=this.forcedAutoLevel;return R===m||-1!==e&&e===m||(L.length&&this.trace(`Skipped level(s) ${L.join(",")} of ${n} max with CODECS and VIDEO-RANGE:"${f[L[0]].codecs}" ${f[L[0]].videoRange}; not compatible with "${C}" ${w}`),this.info(`switch candidate:${u}->${R} adjustedbw(${Math.round(v)})-bitrate=${Math.round(v-S)} ttfb:${A.toFixed(1)} avgDuration:${p.toFixed(1)} maxFetchDuration:${l.toFixed(1)} fetchDuration:${O.toFixed(1)} firstSelection:${b} codecSet:${t.codecSet} videoRange:${t.videoRange} hls.loadLevel:${m}`)),b&&(this.firstSelection=R),R}}return-1}set nextAutoLevel(e){const t=this.deriveNextAutoLevel(e);this._nextAutoLevel!==t&&(this.nextAutoLevelKey="",this._nextAutoLevel=t)}deriveNextAutoLevel(e){const{maxAutoLevel:t,minAutoLevel:n}=this.hls;return Math.min(Math.max(e,n),t)}},bufferController:class extends nte{constructor(e,t){var n;super("buffer-controller",e.logger),this.hls=void 0,this.fragmentTracker=void 0,this.details=null,this._objectUrl=null,this.operationQueue=null,this.bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.blockedAudioAppend=null,this.lastVideoAppendEnd=0,this.appendSource=void 0,this.transferData=void 0,this.overrides=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.sourceBuffers=[[null,null],[null,null]],this._onEndStreaming=e=>{var t;this.hls&&"open"===(null==(t=this.mediaSource)?void 0:t.readyState)&&this.hls.pauseBuffering()},this._onStartStreaming=e=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=e=>{const{media:t,mediaSource:n}=this;e&&this.log("Media source opened"),t&&n&&(n.removeEventListener("sourceopen",this._onMediaSourceOpen),t.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(Vee.MEDIA_ATTACHED,{media:t,mediaSource:n}),null!==this.mediaSource&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:e,_objectUrl:t}=this;e!==t&&this.error(`Media element src was set while attaching MediaSource (${t} > ${e})`)},this.hls=e,this.fragmentTracker=t,this.appendSource=(n=cte(e.config.preferManagedMediaSource),"undefined"!=typeof self&&n===self.ManagedMediaSource),this.initTracks(),this.registerListeners()}hasSourceTypes(){return Object.keys(this.tracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.transferData=this.overrides=void 0,this.operationQueue&&(this.operationQueue.destroy(),this.operationQueue=null),this.hls=this.fragmentTracker=null,this._onMediaSourceOpen=this._onMediaSourceClose=null,this._onMediaSourceEnded=null,this._onStartStreaming=this._onEndStreaming=null}registerListeners(){const{hls:e}=this;
vendor: 4,293 bytes, line 1
1e.on(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.on(Vee.BUFFER_RESET,this.onBufferReset,this),e.on(Vee.BUFFER_APPENDING,this.onBufferAppending,this),e.on(Vee.BUFFER_CODECS,this.onBufferCodecs,this),e.on(Vee.BUFFER_EOS,this.onBufferEos,this),e.on(Vee.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(Vee.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(Vee.FRAG_PARSED,this.onFragParsed,this),e.on(Vee.FRAG_CHANGED,this.onFragChanged,this),e.on(Vee.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.off(Vee.BUFFER_RESET,this.onBufferReset,this),e.off(Vee.BUFFER_APPENDING,this.onBufferAppending,this),e.off(Vee.BUFFER_CODECS,this.onBufferCodecs,this),e.off(Vee.BUFFER_EOS,this.onBufferEos,this),e.off(Vee.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(Vee.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(Vee.FRAG_PARSED,this.onFragParsed,this),e.off(Vee.FRAG_CHANGED,this.onFragChanged,this),e.off(Vee.ERROR,this.onError,this)}transferMedia(){const{media:e,mediaSource:t}=this;if(!e)return null;const n={};if(this.operationQueue){const e=this.isUpdating();e||this.operationQueue.removeBlockers();const t=this.isQueued();(e||t)&&this.warn(`Transfering MediaSource with${t?" operations in queue":""}${e?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const r=this.transferData;return!this.sourceBufferCount&&r&&r.mediaSource===t?Jee(n,r.tracks):this.sourceBuffers.forEach(e=>{const[t]=e;t&&(n[t]=Jee({},this.tracks[t]),this.removeBuffer(t)),e[0]=e[1]=null}),{media:e,mediaSource:t,tracks:n}}initTracks(){this.sourceBuffers=[[null,null],[null,null]],this.tracks={},this.resetQueue(),this.resetAppendErrors(),this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.lastVideoAppendEnd=0}onManifestLoading(){this.bufferCodecEventsTotal=0,this.details=null}onManifestParsed(e,t){var n;let r=2;(t.audio&&!t.video||!t.altAudio)&&(r=1),this.bufferCodecEventsTotal=r,this.log(`${r} bufferCodec event(s) expected.`),null!=(n=this.transferData)&&n.mediaSource&&this.sourceBufferCount&&r&&this.bufferCreated()}onMediaAttaching(e,t){const n=this.media=t.media;this.transferData=this.overrides=void 0;const r=cte(this.appendSource);if(r){const e=!!t.mediaSource;(e||t.overrides)&&(this.transferData=t,this.overrides=t.overrides);const o=this.mediaSource=t.mediaSource||new r;if(this.assignMediaSource(o),e)this._objectUrl=n.src,this.attachTransferred();else{const e=this._objectUrl=self.URL.createObjectURL(o);if(this.appendSource)try{n.removeAttribute("src");const t=self.ManagedMediaSource;n.disableRemotePlayback=n.disableRemotePlayback||t&&o instanceof t,_ae(n),function(e,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,e.appendChild(n)}(n,e),n.load()}catch(i){n.src=e}else n.src=e}n.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(e){var t,n;this.log(`${(null==(t=this.transferData)?void 0:t.mediaSource)===e?"transferred":"created"} media source: ${null==(n=e.constructor)?void 0:n.name}`),e.addEventListener("sourceopen",this._onMediaSourceOpen),e.addEventListener("sourceended",this._onMediaSourceEnded),e.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(e.addEventListener("startstreaming",this._onStartStreaming),e.addEventListener("endstreaming",this._onEndStreaming))}attachTransferred(){const e=this.media,t=this.transferData;if(!t||!e)return;const n=this.tracks,r=t.tracks,i=r?Object.keys(r):null,o=i?i.length:0,a=()=>{Promise.resolve().then(()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()})};if(r&&i&&o){if(!this.tracksReady)return this.hls.config.startFragPrefetch=!0,void this.log("attachTransferred: waiting for SourceBuffer track info");if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})\nrequired tracks: ${One(n,(e,t)=>"initSegment"===e?void 0:t)};\ntransfer tracks: ${One(r,(e,t)=>"initSegment"===e?void 0:t)}}
1`),!ute(r,n)){t.mediaSource=null,t.tracks=void 0;const i=e.currentTime,o=this.details,a=Math.max(i,(null==o?void 0:o.fragments[0].start)||0);return a-i>1?void this.log(`attachTransferred: waiting for playback to reach new tracks start time ${i} -> ${a}`):(this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(r)}"->"${Object.keys(n)}") start time: ${a} currentTime: ${i}`),this.onMediaDetaching(Vee.MEDIA_DETACHING,{}),this.onMediaAttaching(Vee.MEDIA_ATTACHING,t),void(e.currentTime=a))}this.transferData=void 0,i.forEach(e=>{const t=e,n=r[t];if(n){const e=n.buffer;if(e){const r=this.fragmentTracker,i=n.id;if(r.hasFragments(i)||r.hasParts(i)){const n=wre.getBuffered(e);r.detectEvictedFragments(t,n,i,null,!0)}const o=Fae(t),a=[t,e];this.sourceBuffers[o]=a,e.updating&&this.operationQueue&&this.operationQueue.prependBlocker(t),this.trackSourceBuffer(t,n)}}}),a(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),a()}get mediaSourceOpenOrEnded(){var e;const t=null==(e=this.mediaSource)?void 0:e.readyState;return"open"===t||"ended"===t}onMediaDetaching(e,t){const n=!!t.transferMedia;this.transferData=this.overrides=void 0;const{media:r,mediaSource:i,_objectUrl:o}=this;if(i){if(this.log("media source "+(n?"transferring":"detaching")),n)this.sourceBuffers.forEach(([e])=>{e&&this.removeBuffer(e)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const e="open"===i.readyState;try{const t=i.sourceBuffers;for(let n=t.length;n--;)e&&t[n].abort(),i.removeSourceBuffer(t[n]);e&&i.endOfStream()}catch(DDe){this.warn(`onMediaDetaching: ${DDe.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}i.removeEventListener("sourceopen",this._onMediaSourceOpen),i.removeEventListener("sourceended",this._onMediaSourceEnded),i.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(i.removeEventListener("startstreaming",this._onStartStreaming),i.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}r&&(r.removeEventListener("emptied",this._onMediaEmptied),n||(o&&self.URL.revokeObjectURL(o),this.mediaSrc===o?(r.removeAttribute("src"),this.appendSource&&_ae(r),r.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(Vee.MEDIA_DETACHED,t)}onBufferReset(){this.sourceBuffers.forEach(([e])=>{e&&this.resetBuffer(e)}),this.initTracks()}resetBuffer(e){var t;const n=null==(t=this.tracks[e])?void 0:t.buffer;if(this.removeBuffer(e),n)try{var r;null!=(r=this.mediaSource)&&r.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(n)}catch(DDe){this.warn(`onBufferReset ${e}`,DDe)}delete this.tracks[e]}removeBuffer(e){this.removeBufferListeners(e),this.sourceBuffers[Fae(e)]=[null,null];const t=this.tracks[e];t&&(t.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new Rae(this.tracks)}onBufferCodecs(e,t){var n;const r=this.tracks,i=Object.keys(t);this.log(`BUFFER_CODECS: "${i}" (current SB count ${this.sourceBufferCount})`);const o="audiovideo"in t&&(r.audio||r.video)||r.audiovideo&&("audio"in t||"video"in t),a=!o&&this.sourceBufferCount&&this.media&&i.some(e=>!r[e]);o||a?this.warn(`Unsupported transition between "${Object.keys(r)}" and "${i}" SourceBuffers`):(i.forEach(e=>{var n,i;const o=t[e],{id:a,codec:s,levelCodec:l,container:c,metadata:u,supplemental:d}=o;let h=r[e];const f=null==(n=this.transferData)||null==(n=n.tracks)?void 0:n[e],p=null!=f&&f.buffer?f:h,m=(null==p?void 0:p.pendingCodec)||(null==p?void 0:p.codec),g=null==p?void 0:p.levelCodec;h||(h=r[e]={buffer:void 0,listeners:[],codec:s,supplemental:d,container:c,levelCodec:l,metadata:u,id:a});const v=pne(m,g),y=null==v?void 0:v.replace(Oae,"$1");let b=pne(s,l);const C=null==(i=b)?void 0:i.replace(Oae,"$1");b&&v&&y!==C&&("audio"===e.slice(0,5)&&(b=fne(b,this.appendSource)),this.log(`switching codec ${m} to ${b}`),b!==(h.pendingCodec||h.codec)&&(h.pendingCodec=b),h.container=c,this.appendChangeType(e,c,b))}),(this.tracksReady||this.sourceBufferCount)&&(t.tracks=this.sourceBufferTracks),this.sourceBufferCount||(this.bufferCodecEventsTotal>1&&!this.tracks.video&&!t.video&&"main"===(null==(n=t.audio)?void 0:n.id)&&(this.log("Main audio-only"),this.bufferCodecEventsTotal=1),this.mediaSourceOpenOrEnded&&this.checkPendingTracks()))}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((e,t)=>
vendor: 3,639 bytes, line 1
1{const n=this.tracks[t];return e[t]={id:n.id,container:n.container,codec:n.codec,levelCodec:n.levelCodec},e},{})}appendChangeType(e,t,n){const r=`${t};codecs=${n}`,i={label:`change-type=${r}`,execute:()=>{const i=this.tracks[e];if(i){const o=i.buffer;null!=o&&o.changeType&&(this.log(`changing ${e} sourceBuffer type to ${r}`),o.changeType(r),i.codec=n,i.container=t)}this.shiftAndExecuteNext(e)},onStart:()=>{},onComplete:()=>{},onError:t=>{this.warn(`Failed to change ${e} SourceBuffer type`,t)}};this.append(i,e,this.isPending(this.tracks[e]))}blockAudio(e){var t;const n=e.start,r=n+.05*e.duration;if(!0===(null==(t=this.fragmentTracker.getAppendedFrag(n,qee))?void 0:t.gap))return;const i={label:"block-audio",execute:()=>{var e;const t=this.tracks.video;(this.lastVideoAppendEnd>r||null!=t&&t.buffer&&wre.isBuffered(t.buffer,r)||!0===(null==(e=this.fragmentTracker.getAppendedFrag(r,qee))?void 0:e.gap))&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:e=>{this.warn("Error executing block-audio operation",e)}};this.blockedAudioAppend={op:i,frag:e},this.append(i,"audio",!0)}unblockAudio(){const{blockedAudioAppend:e,operationQueue:t}=this;e&&t&&(this.blockedAudioAppend=null,t.unblockAudio(e.op))}onBufferAppending(e,t){const{tracks:n}=this,{data:r,type:i,parent:o,frag:a,part:s,chunkMeta:l,offset:c}=t,u=l.buffering[i],{sn:d,cc:h}=a,f=self.performance.now();u.start=f;const p=a.stats.buffering,m=s?s.stats.buffering:null;0===p.start&&(p.start=f),m&&0===m.start&&(m.start=f);const g=n.audio;let v=!1;"audio"===i&&"audio/mpeg"===(null==g?void 0:g.container)&&(v=!this.lastMpegAudioChunk||1===l.id||this.lastMpegAudioChunk.sn!==l.sn,this.lastMpegAudioChunk=l);const y=n.video,b=null==y?void 0:y.buffer;if(b&&"initSegment"!==d){const e=s||a,t=this.blockedAudioAppend;if("audio"!==i||"main"===o||this.blockedAudioAppend||y.ending||y.ended){if("video"===i){const n=e.end;if(t){const e=t.frag.start;(n>e||n<this.lastVideoAppendEnd||wre.isBuffered(b,e))&&this.unblockAudio()}this.lastVideoAppendEnd=n}}else{const t=e.start+.05*e.duration,n=b.buffered,r=this.currentOp("video");n.length||r?!r&&!wre.isBuffered(b,t)&&this.lastVideoAppendEnd<t&&this.blockAudio(e):this.blockAudio(e)}}const C=(s||a).start,w={label:`append-${i}`,execute:()=>{var e;u.executeStart=self.performance.now();const t=null==(e=this.tracks[i])?void 0:e.buffer;t&&(v?this.updateTimestampOffset(t,C,.1,i,d,h):void 0!==c&&$ee(c)&&this.updateTimestampOffset(t,c,1e-6,i,d,h)),this.appendExecutor(r,i)},onStart:()=>{},onComplete:()=>{const e=self.performance.now();u.executeEnd=u.end=e,0===p.first&&(p.first=e),m&&0===m.first&&(m.first=e);const t={};this.sourceBuffers.forEach(([e,n])=>{e&&(t[e]=wre.getBuffered(n))}),this.appendErrors[i]=0,"audio"===i||"video"===i?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(Vee.BUFFER_APPENDED,{type:i,frag:a,part:s,chunkMeta:l,parent:a.type,timeRanges:t})},onError:e=>{var t;const n={type:jee.MEDIA_ERROR,parent:a.type,details:zee.BUFFER_APPEND_ERROR,sourceBufferName:i,frag:a,part:s,chunkMeta:l,error:e,err:e,fatal:!1},r=null==(t=this.media)?void 0:t.error;if(e.code===DOMException.QUOTA_EXCEEDED_ERR||"QuotaExceededError"==e.name||"quota"in e)n.details=zee.BUFFER_FULL_ERROR;else if(e.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!r)n.errorAction=ere(!0);else if(e.name===Dae&&0===this.sourceBufferCount)n.errorAction=ere(!0);else{const e=++this.appendErrors[i];this.warn(`Failed ${e}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${i}" sourceBuffer (${r||"no media error"}
1)`),(e>=this.hls.config.appendErrorMaxRetry||r)&&(n.fatal=!0)}this.hls.trigger(Vee.ERROR,n)}};this.log(`queuing "${i}" append sn: ${d}${s?" p: "+s.index:""} of ${a.type===qee?"level":"track"} ${a.level} cc: ${h}`),this.append(w,i,this.isPending(this.tracks[i]))}getFlushOp(e,t,n){return this.log(`queuing "${e}" remove ${t}-${n}`),{label:"remove",execute:()=>{this.removeExecutor(e,t,n)},onStart:()=>{},onComplete:()=>{this.hls.trigger(Vee.BUFFER_FLUSHED,{type:e})},onError:r=>{this.warn(`Failed to remove ${t}-${n} from "${e}" SourceBuffer`,r)}}}onBufferFlushing(e,t){const{type:n,startOffset:r,endOffset:i}=t;n?this.append(this.getFlushOp(n,r,i),n):this.sourceBuffers.forEach(([e])=>{e&&this.append(this.getFlushOp(e,r,i),e)})}onFragParsed(e,t){const{frag:n,part:r}=t,i=[],o=r?r.elementaryStreams:n.elementaryStreams;o[Tte]?i.push("audiovideo"):(o[Ste]&&i.push("audio"),o[xte]&&i.push("video")),0===i.length&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${n.type} level: ${n.level} sn: ${n.sn}`),this.blockBuffers(()=>{const e=self.performance.now();n.stats.buffering.end=e,r&&(r.stats.buffering.end=e);const t=r?r.stats:n.stats;this.hls.trigger(Vee.FRAG_BUFFERED,{frag:n,part:r,stats:t,id:n.type})},i).catch(e=>{this.warn(`Fragment buffered callback ${e}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(e,t){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([e])=>{if(e){const t=this.tracks[e];if(t)return!t.ended||t.ending}return!1})}onBufferEos(e,t){var n;this.sourceBuffers.forEach(([e])=>{if(e){const n=this.tracks[e];t.type&&t.type!==e||(n.ending=!0,n.ended||(n.ended=!0,this.log(`${e} buffer reached EOS`)))}});const r=!1!==(null==(n=this.overrides)?void 0:n.endOfStream);this.sourceBufferCount>0&&!this.sourceBuffers.some(([e])=>{var t;return e&&!(null!=(t=this.tracks[e])&&t.ended)})?r?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:e}=this;e&&"open"===e.readyState?(this.log("Calling mediaSource.endOfStream()"),e.endOfStream(),this.hls.trigger(Vee.BUFFERED_TO_END,void 0)):e&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${e.readyState}`)})):(this.tracksEnded(),this.hls.trigger(Vee.BUFFERED_TO_END,void 0)):"video"===t.type&&this.unblockAudio()}tracksEnded(){this.sourceBuffers.forEach(([e])=>{if(null!==e){const t=this.tracks[e];t&&(t.ending=!1)}})}onLevelUpdated(e,{details:t}){t.fragments.length&&(this.details=t,this.updateDuration())}updateDuration(){this.blockUntilOpen(()=>{const e=this.getDurationAndRange();e&&this.updateMediaSource(e)})}onError(e,t){if(t.details===zee.BUFFER_APPEND_ERROR&&t.frag){var n;const e=null==(n=t.errorAction)?void 0:n.nextAutoLevel;$ee(e)&&e!==t.frag.level&&this.resetAppendErrors()}}resetAppendErrors(){this.appendErrors={audio:0,video:0,audiovideo:0}}trimBuffers(){const{hls:e,details:t,media:n}=this;if(!n||null===t)return;if(!this.sourceBufferCount)return;const r=e.config,i=n.currentTime,o=t.levelTargetDuration,a=t.live&&null!==r.liveBackBufferLength?r.liveBackBufferLength:r.backBufferLength;if($ee(a)&&a>=0){const e=Math.max(a,o),t=Math.floor(i/o)*o-e;this.flushBackBuffer(i,o,t)}const s=r.frontBufferFlushThreshold;if($ee(s)&&s>0){const e=Math.max(r.maxBufferLength,s),t=Math.max(e,o),n=Math.floor(i/o)*o+t;this.flushFrontBuffer(i,o,n)}}flushBackBuffer(e,t,n){this.sourceBuffers.forEach(([e,t])=>{if(t){const i=wre.getBuffered(t);if(i.length>0&&n>i.start(0)){var r;this.hls.trigger(Vee.BACK_BUFFER_REACHED,{bufferEnd:n});const t=this.tracks[e];if(null!=(r=this.details)&&r.live)this.hls.trigger(Vee.LIVE_BACK_BUFFER_REACHED,{bufferEnd:n});else if(null!=t&&t.ended)return void this.log(`Cannot flush ${e} back buffer while SourceBuffer is in ended state`);this.hls.trigger(Vee.BUFFER_FLUSHING,{startOffset:0,endOffset:n,type:e})}}})}flushFrontBuffer(e,t,n){this.sourceBuffers.forEach(([t,r])=>{if(r){const i=wre.getBuffered(r),o=i.length;if(o<2)return;const a=i.start(o-1),s=i.end(o-1);if(n>a||e>=a&&e<=s)return;this.hls.trigger(Vee.BUFFER_FLUSHING,{startOffset:a,endOffset:1/0,type:t})}})}getDurationAndRange(){var e;const{details:t,mediaSource:n}=this;if(!t||!this.media||"open"!==(null==n?void 0:n.readyState))return null;const r=t.edge;
vendor: 5,353 bytes, line 1
1if(t.live&&this.hls.config.liveDurationInfinity){if(t.fragments.length&&n.setLiveSeekableRange){const e=Math.max(0,t.fragmentStart);return{duration:1/0,start:e,end:Math.max(e,r)}}return{duration:1/0}}const i=null==(e=this.overrides)?void 0:e.duration;if(i)return $ee(i)?{duration:i}:null;const o=this.media.duration;return r>($ee(n.duration)?n.duration:0)&&r>o||!$ee(o)?{duration:r}:null}updateMediaSource({duration:e,start:t,end:n}){const r=this.mediaSource;this.media&&r&&"open"===r.readyState&&(r.duration!==e&&($ee(e)&&this.log(`Updating MediaSource duration to ${e.toFixed(3)}`),r.duration=e),void 0!==t&&void 0!==n&&(this.log(`MediaSource duration is set to ${r.duration}. Setting seekable range to ${t}-${n}.`),r.setLiveSeekableRange(t,n)))}get tracksReady(){const e=this.pendingTrackCount;return e>0&&(e>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:e,pendingTrackCount:t,tracks:n}=this;if(this.log(`checkPendingTracks (pending: ${t} codec events expected: ${e}) ${One(n)}`),this.tracksReady){var r;const e=null==(r=this.transferData)?void 0:r.tracks;e&&Object.keys(e).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const e={};this.sourceBuffers.forEach(([t,n])=>{if(t){const r=this.tracks[t];e[t]={buffer:n,container:r.container,codec:r.codec,supplemental:r.supplemental,levelCodec:r.levelCodec,id:r.id,metadata:r.metadata}}}),this.hls.trigger(Vee.BUFFER_CREATED,{tracks:e}),this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`),this.sourceBuffers.forEach(([e])=>{this.executeNext(e)})}else{const e=new Error("could not create source buffer for media codec(s)");this.hls.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:e,reason:e.message})}}createSourceBuffers(){const{tracks:e,sourceBuffers:t,mediaSource:n}=this;if(!n)throw new Error("createSourceBuffers called when mediaSource was null");for(const o in e){const a=o,s=e[a];if(this.isPending(s)){const e=this.getTrackCodec(s,a),o=`${s.container};codecs=${e}`;s.codec=e,this.log(`creating sourceBuffer(${o})${this.currentOp(a)?" Queued":""} ${One(s)}`);try{const e=n.addSourceBuffer(o),r=Fae(a),i=[a,e];t[r]=i,s.buffer=e}catch(i){var r;return this.error(`error while trying to add sourceBuffer: ${i.message}`),this.shiftAndExecuteNext(a),null==(r=this.operationQueue)||r.removeBlockers(),delete this.tracks[a],void this.hls.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:i,sourceBufferName:a,mimeType:o,parent:s.id})}this.trackSourceBuffer(a,s)}}this.bufferCreated()}getTrackCodec(e,t){const n=e.supplemental;let r=e.codec;n&&("video"===t||"audiovideo"===t)&&ane(n,"video")&&(r=function(e,t){const n=[];if(e){const t=e.split(",");for(let e=0;e<t.length;e++)one(t[e],"video")||n.push(t[e])}return t&&n.push(t),n.join(",")}(r,n));const i=pne(r,e.levelCodec);return i?"audio"===t.slice(0,5)?fne(i,this.appendSource):i:""}trackSourceBuffer(e,t){const n=t.buffer;if(!n)return;const r=this.getTrackCodec(t,e);this.tracks[e]={buffer:n,codec:r,container:t.container,levelCodec:t.levelCodec,supplemental:t.supplemental,metadata:t.metadata,id:t.id,listeners:[]},this.removeBufferListeners(e),this.addBufferListener(e,"updatestart",this.onSBUpdateStart),this.addBufferListener(e,"updateend",this.onSBUpdateEnd),this.addBufferListener(e,"error",this.onSBUpdateError),this.appendSource&&this.addBufferListener(e,"bufferedchange",(e,t)=>{const n=t.removedRanges;null!=n&&n.length&&this.hls.trigger(Vee.BUFFER_FLUSHED,{type:e})})}get mediaSrc(){var e,t;const n=(null==(e=this.media)||null==(t=e.querySelector)?void 0:t.call(e,"source"))||this.media;return null==n?void 0:n.src}onSBUpdateStart(e){const t=this.currentOp(e);t&&t.onStart()}onSBUpdateEnd(e){var t;if("closed"===(null==(t=this.mediaSource)?void 0:t.readyState))return void this.resetBuffer(e);const n=this.currentOp(e);n&&(n.onComplete(),this.shiftAndExecuteNext(e))}onSBUpdateError(e,t){var n;const r=new Error(`${e} SourceBuffer error. MediaSource readyState: ${null==(n=this.mediaSource)?void 0:n.readyState}`);this.error(`${r}`,t),this.hls.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.BUFFER_APPENDING_ERROR,sourceBufferName:e,error:r,fatal:!1});const i=this.currentOp(e);i&&i.onError(r)}updateTimestampOffset(e,t,n,r,i,o){const a=t-e.timestampOffset;Math.abs(a)>=n&&(this.log(`Updating ${r} SourceBuffer timestampOffset to ${t} (sn: ${i} cc: ${o})`),e.timestampOffset=t)}removeExecutor(e,t,n){const{media:r,mediaSource:i}=this,o=this.tracks[e],a=null==o?void 0:o.buffer;if(!r||!i||!a)return this.warn(`Attempting to remove from the ${e} SourceBuffer, but it does not exist`),void this.shiftAndExecuteNext(e);const s=$ee(r.duration)?r.duration:1/0,l=$ee(i.duration)?i.duration:1/0,c=Math.max(0,t),u=Math.min(n,s,l);u>c&&(!o.ending||o.ended)?(o.ended=!1,this.log(`Removing [${c},${u}] from the ${e} SourceBuffer`),a.remove(c,u)):this.shiftAndExecuteNext(e)}appendExecutor(e,t){const n=this.tracks[t],r=null==n?void 0:n.buffer;if(!r)throw new Iae(`Attempting to append to the ${t} SourceBuffer, but it does not exist`);n.ending=!1,n.ended=!1,r.appendBuffer(e)}blockUntilOpen(e){if(this.isUpdating()||this.isQueued())this.blockBuffers(e).catch(e=>{this.warn(`SourceBuffer blocked callback ${e}
1`),this.stepOperationQueue(this.sourceBufferTypes)});else try{e()}catch(t){this.warn(`Callback run without blocking ${this.operationQueue} ${t}`)}}isUpdating(){return this.sourceBuffers.some(([e,t])=>e&&t.updating)}isQueued(){return this.sourceBuffers.some(([e])=>e&&!!this.currentOp(e))}isPending(e){return!!e&&!e.buffer}blockBuffers(e,t=this.sourceBufferTypes){if(!t.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(e);const{operationQueue:n}=this,r=t.map(e=>this.appendBlocker(e));return t.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(r).then(t=>{n===this.operationQueue&&(e(),this.stepOperationQueue(this.sourceBufferTypes))})}stepOperationQueue(e){e.forEach(e=>{var t;const n=null==(t=this.tracks[e])?void 0:t.buffer;n&&!n.updating&&this.shiftAndExecuteNext(e)})}append(e,t,n){this.operationQueue&&this.operationQueue.append(e,t,n)}appendBlocker(e){if(this.operationQueue)return this.operationQueue.appendBlocker(e)}currentOp(e){return this.operationQueue?this.operationQueue.current(e):null}executeNext(e){e&&this.operationQueue&&this.operationQueue.executeNext(e)}shiftAndExecuteNext(e){this.operationQueue&&this.operationQueue.shiftAndExecuteNext(e)}get pendingTrackCount(){return Object.keys(this.tracks).reduce((e,t)=>e+(this.isPending(this.tracks[t])?1:0),0)}get sourceBufferCount(){return this.sourceBuffers.reduce((e,[t])=>e+(t?1:0),0)}get sourceBufferTypes(){return this.sourceBuffers.map(([e])=>e).filter(e=>!!e)}addBufferListener(e,t,n){const r=this.tracks[e];if(!r)return;const i=r.buffer;if(!i)return;const o=n.bind(this,e);r.listeners.push({event:t,listener:o}),i.addEventListener(t,o)}removeBufferListeners(e){const t=this.tracks[e];if(!t)return;const n=t.buffer;n&&(t.listeners.forEach(e=>{n.removeEventListener(e.event,e.listener)}),t.listeners.length=0)}},capLevelController:$ae,errorController:class extends nte{constructor(e){super("error-controller",e.logger),this.hls=void 0,this.playlistError=0,this.hls=e,this.registerListeners()}registerListeners(){const e=this.hls;e.on(Vee.ERROR,this.onError,this),e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const e=this.hls;e&&(e.off(Vee.ERROR,this.onError,this),e.off(Vee.ERROR,this.onErrorOut,this),e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null}startLoad(e){}stopLoad(){this.playlistError=0}getVariantLevelIndex(e){return(null==e?void 0:e.type)===qee?e.level:this.getVariantIndex()}getVariantIndex(){var e;const t=this.hls,n=t.currentLevel;return null!=(e=t.loadLevelObj)&&e.details||-1===n?t.loadLevel:n}variantHasKey(e,t){if(e){var n;if(null!=(n=e.details)&&n.hasKey(t))return!0;const r=e.audioGroups;if(r)return this.hls.allAudioTracks.filter(e=>r.indexOf(e.groupId)>=0).some(e=>{var n;return null==(n=e.details)?void 0:n.hasKey(t)})}return!1}onManifestLoading(){this.playlistError=0}onLevelUpdated(){this.playlistError=0}onError(e,t){var n;if(t.fatal)return;const r=this.hls,i=t.context;switch(t.details){case zee.FRAG_LOAD_ERROR:case zee.FRAG_LOAD_TIMEOUT:case zee.KEY_LOAD_ERROR:case zee.KEY_LOAD_TIMEOUT:return void(t.errorAction=this.getFragRetryOrSwitchAction(t));case zee.FRAG_PARSING_ERROR:if(null!=(n=t.frag)&&n.gap)return void(t.errorAction=ere());case zee.FRAG_GAP:case zee.FRAG_DECRYPT_ERROR:return t.errorAction=this.getFragRetryOrSwitchAction(t),void(t.errorAction.action=2);case zee.LEVEL_EMPTY_ERROR:case zee.LEVEL_PARSING_ERROR:{var o;const e=t.parent===qee?t.level:r.loadLevel;t.details===zee.LEVEL_EMPTY_ERROR&&null!=(o=t.context)&&null!=(o=o.levelDetails)&&o.live?t.errorAction=this.getPlaylistRetryOrSwitchAction(t,e):(t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,e))}return;case zee.LEVEL_LOAD_ERROR:case zee.LEVEL_LOAD_TIMEOUT:return void("number"==typeof(null==i?void 0:i.level)&&(t.errorAction=this.getPlaylistRetryOrSwitchAction(t,i.level)));case zee.AUDIO_TRACK_LOAD_ERROR:case zee.AUDIO_TRACK_LOAD_TIMEOUT:case zee.SUBTITLE_LOAD_ERROR:case zee.SUBTITLE_TRACK_LOAD_TIMEOUT:if(i){const e=r.loadLevelObj;if(e&&(i.type===Wee&&e.hasAudioGroup(i.groupId)||i.type===Gee&&e.hasSubtitleGroup(i.groupId)))return t.errorAction=this.getPlaylistRetryOrSwitchAction(t,r.loadLevel),t.errorAction.action=2,void(t.errorAction.flags=1)}return;case zee.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:return void(t.errorAction={action:2,flags:2});case zee.KEY_SYSTEM_SESSION_UPDATE_FAILED:case zee.KEY_SYSTEM_STATUS_INTERNAL_ERROR:case zee.KEY_SYSTEM_NO_SESSION:return void(t.errorAction={action:2,flags:4});
1case zee.BUFFER_ADD_CODEC_ERROR:case zee.REMUX_ALLOC_ERROR:case zee.BUFFER_APPEND_ERROR:var a;return void(t.errorAction||(t.errorAction=this.getLevelSwitchAction(t,null!=(a=t.level)?a:r.loadLevel)));case zee.INTERNAL_EXCEPTION:case zee.BUFFER_APPENDING_ERROR:case zee.BUFFER_FULL_ERROR:case zee.LEVEL_SWITCH_ERROR:case zee.BUFFER_STALLED_ERROR:case zee.BUFFER_SEEK_OVER_HOLE:case zee.BUFFER_NUDGE_ON_STALL:return void(t.errorAction=ere())}t.type===jee.KEY_SYSTEM_ERROR&&(t.levelRetry=!1,t.errorAction=ere())}getPlaylistRetryOrSwitchAction(e,t){const n=Yne(this.hls.config.playlistLoadPolicy,e),r=this.playlistError++;if(Xne(n,r,Gne(e),e.response))return{action:5,flags:0,retryConfig:n,retryCount:r};const i=this.getLevelSwitchAction(e,t);return n&&(i.retryConfig=n,i.retryCount=r),i}getFragRetryOrSwitchAction(e){const t=this.hls,n=this.getVariantLevelIndex(e.frag),r=t.levels[n],{fragLoadPolicy:i,keyLoadPolicy:o}=t.config,a=Yne(qne(e)?o:i,e),s=t.levels.reduce((e,t)=>e+t.fragmentError,0);if(r&&(e.details!==zee.FRAG_GAP&&r.fragmentError++,!Kne(e))&&Xne(a,s,Gne(e),e.response))return{action:5,flags:0,retryConfig:a,retryCount:s};const l=this.getLevelSwitchAction(e,n);return a&&(l.retryConfig=a,l.retryCount=s),l}getLevelSwitchAction(e,t){const n=this.hls;null==t&&(t=n.loadLevel);const r=this.hls.levels[t];if(r){var i,o;const t=e.details;r.loadError++,t===zee.BUFFER_APPEND_ERROR&&r.fragmentError++;let l=-1;const{levels:c,loadLevel:u,minAutoLevel:d,maxAutoLevel:h}=n;n.autoLevelEnabled||n.config.preserveManualLevelOnError||(n.loadLevel=-1);const f=null==(i=e.frag)?void 0:i.type,p=(f===Kee&&t===zee.FRAG_PARSING_ERROR||"audio"===e.sourceBufferName&&(t===zee.BUFFER_ADD_CODEC_ERROR||t===zee.BUFFER_APPEND_ERROR))&&c.some(({audioCodec:e})=>r.audioCodec!==e),m="video"===e.sourceBufferName&&(t===zee.BUFFER_ADD_CODEC_ERROR||t===zee.BUFFER_APPEND_ERROR)&&c.some(({codecSet:e,audioCodec:t})=>r.codecSet!==e&&r.audioCodec===t),{type:g,groupId:v}=null!=(o=e.context)?o:{};for(let n=c.length;n--;){const i=(n+u)%c.length;if(i!==u&&i>=d&&i<=h&&0===c[i].loadError){var a,s;const n=c[i];if(t===zee.FRAG_GAP&&f===qee&&e.frag){const t=c[i].details;if(t){const n=Vne(e.frag,t.fragments,e.frag.start);if(null!=n&&n.gap)continue}}else{if(g===Wee&&n.hasAudioGroup(v)||g===Gee&&n.hasSubtitleGroup(v))continue;if(f===Kee&&null!=(a=r.audioGroups)&&a.some(e=>n.hasAudioGroup(e))||f===Yee&&null!=(s=r.subtitleGroups)&&s.some(e=>n.hasSubtitleGroup(e))||p&&r.audioCodec===n.audioCodec||m&&r.codecSet===n.codecSet||!p&&r.codecSet!==n.codecSet)continue}l=i;break}}if(l>-1&&n.loadLevel!==l)return e.levelRetry=!0,this.playlistError=0,{action:2,flags:0,nextAutoLevel:l}}return{action:2,flags:1}}onErrorOut(e,t){var n;switch(null==(n=t.errorAction)?void 0:n.action){case 0:break;case 2:this.sendAlternateToPenaltyBox(t),t.errorAction.resolved||t.details===zee.FRAG_GAP?/MediaSource readyState: ended/.test(t.error.message)&&(this.warn(`MediaSource ended after "${t.sourceBufferName}" sourceBuffer append error. Attempting to recover from media error.`),this.hls.recoverMediaError()):t.fatal=!0}t.fatal&&this.hls.stopLoad()}sendAlternateToPenaltyBox(e){const t=this.hls,n=e.errorAction;if(!n)return;const{flags:r}=n,i=n.nextAutoLevel;switch(r){case 0:this.switchLevel(e,i);break;case 2:{const r=this.getVariantLevelIndex(e.frag),i=t.levels[r],o=null==i?void 0:i.attrs["HDCP-LEVEL"];if(n.hdcpLevel=o,"NONE"===o)this.warn("HDCP policy resticted output with HDCP-LEVEL=NONE");else if(o){t.maxHdcpLevel=Tne[Tne.indexOf(o)-1],n.resolved=!0,this.warn(`Restricting playback to HDCP-LEVEL of "${t.maxHdcpLevel}" or lower`);break}}case 4:{const t=e.decryptdata;if(t){const r=this.hls.levels,i=r.length;for(let n=i;n--;){var o,a;this.variantHasKey(r[n],t)&&(this.log(`Banned key found in level ${n} (${r[n].bitrate}bps) or audio group "${null==(o=r[n].audioGroups)?void 0:o.join(",")}" (${null==(a=e.frag)?void 0:a.type} fragment) ${hte(t.keyId||[])}`),r[n].fragmentError++,r[n].loadError++,this.log(`Removing level ${n} with key error (${e.error})`),this.hls.removeLevel(n))}const s=e.frag;if(this.hls.levels.length<i)n.resolved=!0;else if(s&&s.type!==qee){const e=s.decryptdata;e&&!t.matches(e)&&(n.resolved=!0)}}break}}n.resolved||this.switchLevel(e,i)}switchLevel(e,t){if(void 0!==t&&e.errorAction&&(this.warn(`switching to level ${t} after ${e.details}`),this.hls.nextAutoLevel=t,e.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel,e.details===zee.BUFFER_ADD_CODEC_ERROR&&e.mimeType&&"audiovideo"!==e.sourceBufferName)){const t=yne(e.mimeType),n=this.hls.levels;for(let r=n.length;r--;)n[r][`${e.sourceBufferName}Codec`]===t&&(this.log(`Removing level ${r} for ${e.details} ("${t}" not supported)`),this.hls.removeLevel(r))}}},fpsController:class{constructor(e){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=e,this.registerListeners()}setStreamController(e){this.streamController=e}
vendor: 4,672 bytes, line 1
1registerListeners(){this.hls.on(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(Vee.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(Vee.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(e,t){const n=this.hls.config;if(n.capLevelOnFPSDrop){const e=t.media instanceof self.HTMLVideoElement?t.media:null;this.media=e,e&&"function"==typeof e.getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),n.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(e,t,n){const r=performance.now();if(t){if(this.lastTime){const e=r-this.lastTime,i=n-this.lastDroppedFrames,o=t-this.lastDecodedFrames,a=1e3*i/e,s=this.hls;if(s.trigger(Vee.FPS_DROP,{currentDropped:i,currentDecoded:o,totalDroppedFrames:n}),a>0&&i>s.config.fpsDroppedMonitoringThreshold*o){let e=s.currentLevel;s.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+e),e>0&&(-1===s.autoLevelCapping||s.autoLevelCapping>=e)&&(e-=1,s.trigger(Vee.FPS_DROP_LEVEL_CAPPING,{level:e,droppedLevel:s.currentLevel}),s.autoLevelCapping=e,this.streamController.nextLevelSwitch())}}this.lastTime=r,this.lastDroppedFrames=n,this.lastDecodedFrames=t}}checkFPSInterval(){const e=this.media;if(e)if(this.isVideoPlaybackQualityAvailable){const t=e.getVideoPlaybackQuality();this.checkFPS(e,t.totalVideoFrames,t.droppedVideoFrames)}else this.checkFPS(e,e.webkitDecodedFrameCount,e.webkitDroppedFrameCount)}},stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:Qre,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null}},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},{cueHandler:Jle,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}),{},{subtitleStreamController:class extends Qie{constructor(e,t,n){super(e,t,n,"subt
1itle-stream-controller",Yee),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(Vee.LEVEL_LOADED,this.onLevelLoaded,this),e.on(Vee.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(Vee.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(Vee.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(Vee.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.on(Vee.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(Vee.LEVEL_LOADED,this.onLevelLoaded,this),e.off(Vee.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(Vee.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(Vee.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(Vee.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.off(Vee.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(e,t){this.stopLoad(),this.state=jie,this.setInterval(500),this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}onManifestLoading(){super.onManifestLoading(),this.mainDetails=null}onMediaDetaching(e,t){this.tracksBuffered=[],super.onMediaDetaching(e,t)}onLevelLoaded(e,t){this.mainDetails=t.details}onSubtitleFragProcessed(e,t){const{frag:n,success:r}=t;if(this.fragContextChanged(n)||(Ate(n)&&(this.fragPrevious=n),this.state=jie),!r)return;const i=this.tracksBuffered[this.currentTrackId];if(!i)return;let o;const a=n.start;for(let l=0;l<i.length;l++)if(a>=i[l].start&&a<=i[l].end){o=i[l];break}const s=n.start+n.duration;o?o.end=s:(o={start:a,end:s},i.push(o)),this.fragmentTracker.fragBuffered(n),this.fragBufferedComplete(n,null),this.media&&this.tick()}onBufferFlushing(e,t){const{startOffset:n,endOffset:r}=t;if(0===n&&r!==Number.POSITIVE_INFINITY){const e=r-1;if(e<=0)return;t.endOffsetSubtitles=Math.max(0,e),this.tracksBuffered.forEach(t=>{for(let n=0;n<t.length;)if(t[n].end<=e)t.shift();else{if(!(t[n].start<e))break;t[n].start=e,n++}}),this.fragmentTracker.removeFragmentsInRange(n,e,Yee)}}onError(e,t){const n=t.frag;(null==n?void 0:n.type)===Yee&&(t.details===zee.FRAG_GAP&&this.fragmentTracker.fragBuffered(n,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==Bie&&(this.state=jie))}onSubtitleTracksUpdated(e,{subtitleTracks:t}){this.levels&&Aae(this.levels,t)?this.levels=t.map(e=>new Pne(e)):(this.tracksBuffered=[],this.levels=t.map(e=>{const t=new Pne(e);return this.tracksBuffered[t.id]=[],t}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,Yee),this.fragPrevious=null,this.mediaBuffer=null)}onSubtitleTrackSwitch(e,t){var n;if(this.currentTrackId=t.id,null==(n=this.levels)||!n.length||-1===this.currentTrackId)return void this.clearInterval();const r=this.levels[this.currentTrackId];null!=r&&r.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,r&&this.state!==Bie&&this.setInterval(500)}onSubtitleTrackLoaded(e,t){var n;const{currentTrackId:r,levels:i}=this,{details:o,id:a}=t;if(!i)return void this.warn(`Subtitle tracks were reset while loading level ${a}`);const s=i[a];if(a>=i.length||!s)return;this.log(`Subtitle track ${a} loaded [${o.startSN},${o.endSN}]${o.lastPartSn?`[part-${o.lastPartSn}-${o.lastPartIndex}]`:""},duration:${o.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let l=0;if(o.live||null!=(n=s.details)&&n.live){if(o.deltaUpdateFailed)return;const e=this.mainDetails;if(!e)return void(this.startFragRequested=!1);const t=e.fragments[0];var c;s.details?(l=this.alignPlaylists(o,s.details,null==(c=this.levelLastLoaded)?void 0:c.details),0===l&&t&&(l=t.start,Sie(o,l))):o.hasProgramDateTime&&e.hasProgramDateTime?(Fie(o,e),l=o.fragmentStart):t&&(l=t.start,Sie(o,l)),e&&!this.startFragRequested&&this.setStartPosition(e,l)}s.details=o,this.levelLastLoaded=s,a===r&&(this.hls.trigger(Vee.SUBTITLE_TRACK_UPDATED,{details:o,id:a,groupId:t.groupId}),this.tick(),o.live&&!this.fragCurrent&&this.media&&this.state===jie)&&(Vne(null,o.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),s.details=void 0))}_handleFragmentLoadComplete(e){const{frag:t,payload:n}=e,r=t.decryptdata,i=this.hls;if(!this.fragContextChanged(t)&&n&&n.byteLength>
10&&null!=r&&r.key&&r.iv&&Fre(r.method)){const e=performance.now();this.decrypter.decrypt(new Uint8Array(n),r.key.buffer,r.iv.buffer,$re(r.method)).catch(e=>{throw i.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.FRAG_DECRYPT_ERROR,fatal:!1,error:e,reason:e.message,frag:t}),e}).then(n=>{const r=performance.now();i.trigger(Vee.FRAG_DECRYPTED,{frag:t,payload:n,stats:{tstart:e,tdecrypt:r}})}).catch(e=>{this.warn(`${e.name}: ${e.message}`),this.state=jie})}}doTick(){if(this.media){if(this.state===jie){const{currentTrackId:e,levels:t}=this,n=null==t?void 0:t[e];if(!n||!t.length||!n.details)return;if(this.waitForLive(n))return;const{config:r}=this,i=this.getLoadPosition(),o=wre.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],i,r.maxBufferHole),{end:a,len:s}=o,l=n.details;if(s>this.hls.maxBufferLength+l.levelTargetDuration)return;const c=l.fragments,u=c.length,d=l.edge;let h=null;const f=this.fragPrevious;if(a<d){const e=r.maxFragLookUpTolerance,t=a>d-e?0:e;h=Vne(f,c,Math.max(c[0].start,a),t),!h&&f&&f.start<c[0].start&&(h=c[0])}else h=c[u-1];if(h=this.filterReplacedPrimary(h,n.details),!h)return;const p=c[h.sn-l.startSN-1];if(p&&p.cc===h.cc&&this.fragmentTracker.getState(p)===tre&&(h=p),this.fragmentTracker.getState(h)===tre){const e=this.mapToInitFragWhenRequired(h);e&&this.loadFragment(e,n,a)}}}else this.state=jie}loadFragment(e,t,n){Ate(e)?super.loadFragment(e,t,n):this._loadInitSegment(e,t)}get mediaBufferTimeRanges(){return new ile(this.tracksBuffered[this.currentTrackId]||[])}},subtitleTrackController:class extends Mae{constructor(e){super(e,"subtitle-track-controller"),this.media=null,this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.queuedDefaultTrack=-1,this.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.asyncPollTrackChange=()=>this.pollTrackChange(0),this.onTextTracksChanged=()=>{if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let e=null;const t=Vse(this.media.textTracks);for(let r=0;r<t.length;r++)if("hidden"===t[r].mode)e=t[r];else if("showing"===t[r].mode){e=t[r];break}const n=this.findTrackForTextTrack(e);this.subtitleTrack!==n&&this.setSubtitleTrack(n)},this.registerListeners()}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,this.onTextTracksChanged=this.asyncPollTrackChange=null,super.destroy()}get subtitleDisplay(){return this._subtitleDisplay}set subtitleDisplay(e){this._subtitleDisplay=e,this.trackId>-1&&this.toggleTrackModes()}registerListeners(){const{hls:e}=this;e.on(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.on(Vee.LEVEL_LOADING,this.onLevelLoading,this),e.on(Vee.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(Vee.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(Vee.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.off(Vee.LEVEL_LOADING,this.onLevelLoading,this),e.off(Vee.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(Vee.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(Vee.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))}pollTrackChange(e){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.onTextTracksChanged,e)}onMediaDetaching(e,t){const n=this.media;if(!n)return;const r=!!t.transferMedia;self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||n.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,r||Vse(n.textTracks).forEac
1h(e=>{jse(e)})}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.subtitleTracks}onSubtitleTrackLoaded(e,t){const{id:n,groupId:r,details:i}=t,o=this.tracksInGroup[n];if(!o||o.groupId!==r)return void this.warn(`Subtitle track with id:${n} and group:${r} not found in active group ${null==o?void 0:o.groupId}`);const a=o.details;o.details=t.details,this.log(`Subtitle track ${n} "${o.name}" lang:${o.lang} group:${r} loaded [${i.startSN}-${i.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,a)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const n=t.subtitleGroups||null,r=this.groupIds;let i=this.currentTrack;if(!n||(null==r?void 0:r.length)!==(null==n?void 0:n.length)||null!=n&&n.some(e=>-1===(null==r?void 0:r.indexOf(e)))){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const e=this.tracks.filter(e=>!n||-1!==n.indexOf(e.groupId));if(e.length)this.selectDefaultTrack&&!e.some(e=>e.default)&&(this.selectDefaultTrack=!1),e.forEach((e,t)=>{e.id=t});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=e;const t=this.hls.config.subtitlePreference;if(!i&&t){this.selectDefaultTrack=!1;const n=Fne(t,e);if(n>-1)i=e[n];else{const e=Fne(t,this.tracks);i=this.tracks[e]}}let r=this.findTrackId(i);-1===r&&i&&(r=this.findTrackId(null));const o={subtitleTracks:e};this.log(`Updating subtitle tracks, ${e.length} track(s) found in "${null==n?void 0:n.join(",")}" group-id`),this.hls.trigger(Vee.SUBTITLE_TRACKS_UPDATED,o),-1!==r&&-1===this.trackId&&this.setSubtitleTrack(r)}}findTrackId(e){const t=this.tracksInGroup,n=this.selectDefaultTrack;for(let r=0;r<t.length;r++){const i=t[r];if((!n||i.default)&&(n||e)&&(!e||$ne(i,e)))return r}if(e){for(let n=0;n<t.length;n++){const r=t[n];if(Lae(e.attrs,r.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return n}for(let n=0;n<t.length;n++){const r=t[n];if(Lae(e.attrs,r.attrs,["LANGUAGE"]))return n}}return-1}findTrackForTextTrack(e){if(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++)if(Pae(t[n],e))return n}return-1}onError(e,t){!t.fatal&&t.context&&(t.context.type!==Gee||t.context.id!==this.trackId||this.groupIds&&-1===this.groupIds.indexOf(t.context.groupId)||this.checkRetry(t))}get allSubtitleTracks(){return this.tracks}get subtitleTracks(){return this.tracksInGroup}get subtitleTrack(){return this.trackId}set subtitleTrack(e){this.selectDefaultTrack=!1,this.setSubtitleTrack(e)}setSubtitleOption(e){if(this.hls.config.subtitlePreference=e,e){if(-1===e.id)return this.setSubtitleTrack(-1),null;const t=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,t.length){const n=this.currentTrack;if(n&&$ne(e,n))return n;const r=Fne(e,this.tracksInGroup);if(r>-1){const e=this.tracksInGroup[r];return this.setSubtitleTrack(r),e}if(n)return null;{const n=Fne(e,t);if(n>-1)return t[n]}}}return null}loadPlaylist(e){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=e.id,r=e.groupId,i=this.getUrlWithDirectives(e.url,t),o=e.details,a=null==o?void 0:o.age;this.log(`Loading subtitle ${n} "${e.name}" lang:${e.lang} group:${r}${void 0!==(null==t?void 0:t.msn)?" at sn "+t.msn+" part "+t.part:""}${a&&o.live?" age "+a.toFixed(1)+(o.type&&" "+o.type||""):""} ${i}`),this.hls.trigger(Vee.SUBTITLE_TRACK_LOADING,{url:i,id:n,groupId:r,deliveryDirectives:t||null,track:e})}toggleTrackModes(){const{media:e}=this;if(!e)return;const t=Vse(e.textTracks),n=this.currentTrack;let r;if(n&&(r=t.filter(e=>Pae(n,e))[0],r||this.warn(`Unable to find subtitle TextTrack with name "${n.name}" and language "${n.lang}"`)),[].slice.call(t).forEach(e=>{"disabled"!==e.mode&&e!==r&&(e.mode="disabled")}),r){const e=this.subtitleDisplay?"showing":"hidden";r.mode!==e&&(r.mode=e)}}setSubtitleTrack(e){const t=this.tracksInGroup;if(!this.media)return void(this.queuedDefaultTrack=e);if(e<-1||e>=t.length||!$ee(e))return void this.warn(`Invalid subtitle track id: ${e}`);this.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e]||null;if(this.trackId=e,this.currentTrack=r,this.toggleTrackModes(),!r)return void this.hls.trigger(Vee.SUBTITLE_TRACK_SWITCH,{id:e});const i=!!r.details&&!r.details.live;if(e===this.trackId&&r===n&&i)return;this.log(`Switching to subtitle-track ${e}`+(r?` "${r.name}" lang:${r.lang} group:${r.groupId}`:""));const{id:o,groupId:a="",name:s,type:l,url:c}=r;this.hls.trigger(Vee.SUBTITLE_TRACK_SWITCH,{id:o,groupId:a,name:s,type:l,url:c});const u=this.switchParams(r.url,null==n?void 0:n.details,r.details);this.loadPlaylist(u)}},timelineController:class{constructor(e){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this.captionsProperties=void 0,this.hls=e,this.config=e.config,this.Cues=e.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}}
vendor: 4,210 bytes, line 1
1,e.on(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(Vee.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(Vee.FRAG_LOADING,this.onFragLoading,this),e.on(Vee.FRAG_LOADED,this.onFragLoaded,this),e.on(Vee.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.on(Vee.FRAG_DECRYPTED,this.onFragDecrypted,this),e.on(Vee.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(Vee.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.on(Vee.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:e}=this;e.off(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(Vee.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(Vee.FRAG_LOADING,this.onFragLoading,this),e.off(Vee.FRAG_LOADED,this.onFragLoaded,this),e.off(Vee.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.off(Vee.FRAG_DECRYPTED,this.onFragDecrypted,this),e.off(Vee.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(Vee.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.off(Vee.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const e=new Kle(this,"textTrack1"),t=new Kle(this,"textTrack2"),n=new Kle(this,"textTrack3"),r=new Kle(this,"textTrack4");this.cea608Parser1=new wle(1,e,t),this.cea608Parser2=new wle(3,n,r)}addCues(e,t,n,r,i){let o=!1;for(let a=i.length;a--;){const e=i[a],r=Qle(e[0],e[1],t,n);if(r>=0&&(e[0]=Math.min(e[0],t),e[1]=Math.max(e[1],n),o=!0,r/(n-t)>.5))return}if(o||i.push([t,n]),this.config.renderTextTracksNatively){const i=this.captionsTracks[e];this.Cues.newCue(i,t,n,r)}else{const i=this.Cues.newCue(null,t,n,r);this.hls.trigger(Vee.CUES_PARSED,{type:"captions",cues:i,track:e})}}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i,trackId:o}){const{unparsedVttFrags:a}=this;n===qee&&(this.initPTS[t.cc]={baseTime:r,timescale:i,trackId:o}),a.length&&(this.unparsedVttFrags=[],a.forEach(e=>{this.initPTS[e.frag.cc]?this.onFragLoaded(Vee.FRAG_LOADED,e):this.hls.trigger(Vee.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(e,t){const{media:n}=this;if(n)for(let r=0;r<n.textTracks.length;r++){const i=n.textTracks[r];if(Zle(i,{name:e,lang:t,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return i}return null}createCaptionsTrack(e){this.config.renderTextTracksNatively?this.createNativeTrack(e):this.createNonNativeTrack(e)}createNativeTrack(e){if(this.captionsTracks[e])return;const{captionsProperties:t,captionsTracks:n,media:r}=this,{label:i,languageCode:o}=t[e],a=this.getExistingTrack(i,o);if(a)n[e]=a,jse(n[e]),Nse(n[e],r);else{const t=this.createTextTrack("captions",i,o);t&&(t[e]=!0,n[e]=t)}}createNonNativeTrack(e){if(this.nonNativeCaptionsTracks[e])return;const t=this.captionsProperties[e];if(!t)return;const n={_id:e,label:t.label,kind:"captions",default:!!t.media&&!!t.media.default,closedCaptions:t.media};this.nonNativeCaptionsTracks[e]=n,this.hls.trigger(Vee.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[n]})}createTextTrack(e,t,n){const r=this.media;if(r)return r.addTextTrack(e,t,n)}onMediaAttaching(e,t){this.media=t.media,t.mediaSource||this._cleanTracks()}onMediaDetaching(e,t){const n=!!t.transferMedia;if(this.media=null,n)return;const{captionsTracks:r}=this;Object.keys(r).forEach(e=>{jse(r[e]),delete r[e]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}},this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:e}=this;if(!e)return;const t=e.textTracks;
1if(t)for(let n=0;n<t.length;n++)jse(t[n])}onSubtitleTracksUpdated(e,t){const n=t.subtitleTracks||[],r=n.some(e=>e.textCodec===$le);if(this.config.enableWebVTT||r&&this.config.enableIMSC1){if(Aae(this.tracks,n))return void(this.tracks=n);if(this.textTracks=[],this.tracks=n,this.config.renderTextTracksNatively){const e=this.media,t=e?Vse(e.textTracks):null;if(this.tracks.forEach((e,n)=>{let r;if(t){let n=null;for(let r=0;r<t.length;r++)if(t[r]&&Zle(t[r],e)){n=t[r],t[r]=null;break}n&&(r=n)}if(r)jse(r);else{const t=Yle(e);r=this.createTextTrack(t,e.name,e.lang),r&&(r.mode="disabled")}r&&this.textTracks.push(r)}),null!=t&&t.length){const e=t.filter(e=>null!==e).map(e=>e.label);e.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${e.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const e=this.tracks.map(e=>({label:e.name,kind:e.type.toLowerCase(),default:e.default,subtitleTrack:e}));this.hls.trigger(Vee.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:e})}}}onManifestLoaded(e,t){this.config.enableCEA708Captions&&t.captions&&t.captions.forEach(e=>{const t=/(?:CC|SERVICE)([1-4])/.exec(e.instreamId);if(!t)return;const n=`textTrack${t[1]}`,r=this.captionsProperties[n];r&&(r.label=e.name,e.lang&&(r.languageCode=e.lang),r.media=e)})}closedCaptionsForLevel(e){const t=this.hls.levels[e.level];return null==t?void 0:t.attrs["CLOSED-CAPTIONS"]}onFragLoading(e,t){if(this.enabled&&t.frag.type===qee){var n,r;const{cea608Parser1:e,cea608Parser2:i,lastSn:o}=this,{cc:a,sn:s}=t.frag,l=null!=(n=null==(r=t.part)?void 0:r.index)?n:-1;e&&i&&(s!==o+1||s===o&&l!==this.lastPartIndex+1||a!==this.lastCc)&&(e.reset(),i.reset()),this.lastCc=a,this.lastSn=s,this.lastPartIndex=l}}onFragLoaded(e,t){const{frag:n,payload:r}=t;if(n.type===Yee)if(r.byteLength){const e=n.decryptdata,i="stats"in t;if(null==e||!e.encrypted||i){const e=this.tracks[n.level],i=this.vttCCs;i[n.cc]||(i[n.cc]={start:n.start,prevCC:this.prevCC,new:!0},this.prevCC=n.cc),e&&e.textCodec===$le?this._parseIMSC1(n,r):this._parseVTTs(t)}}else this.hls.trigger(Vee.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:new Error("Empty subtitle payload")})}_parseIMSC1(e,t){const n=this.hls;zle(t,this.initPTS[e.cc],t=>{this._appendCues(t,e.level),n.trigger(Vee.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})},t=>{n.logger.log(`Failed to parse IMSC1: ${t}`),n.trigger(Vee.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e,error:t})})}_parseVTTs(e){var t;const{frag:n,payload:r}=e,{initPTS:i,unparsedVttFrags:o}=this,a=i.length-1;if(!i[n.cc]&&-1===a)return void o.push(e);const s=this.hls;!function(e,t,n,r,i,o,a){const s=new Dle,l=dte(new Uint8Array(e)).trim().replace(Ile,"\n").split("\n"),c=[],u=t?function(e,t=1){return aae(e,9e4,1/t)}(t.baseTime,t.timescale):0;let d,h="00:00.000",f=0,p=0,m=!0;s.oncue=function(e){const o=n[r];let a=n.ccOffset;const s=(f-u)/9e4;if(null!=o&&o.new&&(void 0!==p?a=n.ccOffset=o.start:function(e,t,n){let r=e[t],i=e[r.prevCC];if(!i||!i.new&&r.new)return e.ccOffset=e.presentationOffset=r.start,void(r.new=!1);for(;null!=(o=i)&&o.new;){var o;e.ccOffset+=r.start-i.start,r.new=!1,r=i,i=e[r.prevCC]}e.presentationOffset=n}(n,r,s)),s){if(!t)return void(d=new Error("Missing initPTS for VTT MPEGTS"));a=s-n.presentationOffset}const l=e.endTime-e.startTime,h=pae(9e4*(e.startTime+a-p),9e4*i)/9e4;e.startTime=Math.max(h,0),e.endTime=Math.max(h+l,0);const m=e.text.trim();e.text=decodeURIComponent(encodeURIComponent(m)),e.id||(e.id=Fle(e.startTime,e.endTime,m)),e.endTime>0&&c.push(e)},s.onparsingerror=function(e){d=e},s.onflush=function(){d?a(d):o(c)},l.forEach(e=>{if(m){if(_le(e,"X-TIMESTAMP-MAP=")){m=!1,e.slice(16).split(",").forEach(e=>{_le(e,"LOCAL:")?h=e.slice(6):_le(e,"MPEGTS:")&&(f=parseInt(e.slice(7)))});try{p=function(e){let t=parseInt(e.slice(-3));const n=parseInt(e.slice(-6,-4)),r=parseInt(e.slice(-9,-7)),i=e.length>9?parseInt(e.substring(0,e.indexOf(":"))):0;if(!($ee(t)&&$ee(n)&&$ee(r)&&$ee(i)))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${e}`);return t+=1e3*n,t+=6e4*r,t+=36e5*i,t}(h)/1e3}catch(t){d=t}return}""===e&&(m=!1)}s.parse(e+"\n")}),s.flush()}(null!=(t=n.initSegment)&&t.data?Zte(n.initSegment.data,new Uint8Array(r)).buffer:r,this.initPTS[n.cc],this.vttCCs,n.cc,n.start,e=>{this._appendCues(e,n.level),s.trigger(Vee.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:n})},t=>{const i="Missing initPTS for VTT MPEGTS"===t.message;i?o.push(e):this._fallbackToIMSC1(n,r),s.logger.log(`Failed to parse VTT cue: ${t}`),i&&a>n.cc||s.trigger(Vee.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:t})})}_fallbackToIMSC1(e,t){const n=this.tracks[e.level];
1n.textCodec||zle(t,this.initPTS[e.cc],()=>{n.textCodec=$le,this._parseIMSC1(e,t)},()=>{n.textCodec="wvtt"})}_appendCues(e,t){const n=this.hls;if(this.config.renderTextTracksNatively){const n=this.textTracks[t];if(!n||"disabled"===n.mode)return;e.forEach(e=>Bse(n,e))}else{const r=this.tracks[t];if(!r)return;const i=r.default?"default":"subtitles"+t;n.trigger(Vee.CUES_PARSED,{type:"subtitles",cues:e,track:i})}}onFragDecrypted(e,t){const{frag:n}=t;n.type===Yee&&this.onFragLoaded(Vee.FRAG_LOADED,t)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(e,t){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:n,samples:r}=t;if(n.type!==qee||"NONE"!==this.closedCaptionsForLevel(n))for(let i=0;i<r.length;i++){const e=r[i].bytes;if(e){this.cea608Parser1||this.initCea608Parsers();const t=this.extractCea608Data(e);this.cea608Parser1.addData(r[i].pts,t[0]),this.cea608Parser2.addData(r[i].pts,t[1])}}}onBufferFlushing(e,{startOffset:t,endOffset:n,endOffsetSubtitles:r,type:i}){const{media:o}=this;if(o&&!(o.currentTime<n)){if(!i||"video"===i){const{captionsTracks:e}=this;Object.keys(e).forEach(r=>zse(e[r],t,n))}if(this.config.renderTextTracksNatively&&0===t&&void 0!==r){const{textTracks:e}=this;Object.keys(e).forEach(n=>zse(e[n],t,r))}}}extractCea608Data(e){const t=[[],[]],n=31&e[0];let r=2;for(let i=0;i<n;i++){const n=e[r++],i=127&e[r++],o=127&e[r++];if((0!==i||0!==o)&&4&n){const e=3&n;0!==e&&1!==e||(t[e].push(i),t[e].push(o))}}return t}},audioStreamController:class extends Qie{constructor(e,t,n){super(e,t,n,"audio-stream-controller",Kee),this.mainAnchor=null,this.mainFragLoading=null,this.audioOnly=!1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.flushing=!1,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.resetItem()}resetItem(){this.mainDetails=this.mainAnchor=this.mainFragLoading=this.bufferedTrack=this.switchingTrack=this.waitingData=this.cachedTrackLoadedData=null}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(Vee.LEVEL_LOADED,this.onLevelLoaded,this),e.on(Vee.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.on(Vee.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(Vee.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(Vee.BUFFER_RESET,this.onBufferReset,this),e.on(Vee.BUFFER_CREATED,this.onBufferCreated,this),e.on(Vee.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(Vee.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(Vee.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(Vee.FRAG_LOADING,this.onFragLoading,this),e.on(Vee.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:e}=this;e&&(super.unregisterListeners(),e.off(Vee.LEVEL_LOADED,this.onLevelLoaded,this),e.off(Vee.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.off(Vee.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(Vee.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(Vee.BUFFER_RESET,this.onBufferReset,this),e.off(Vee.BUFFER_CREATED,this.onBufferCreated,this),e.off(Vee.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(Vee.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(Vee.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(Vee.FRAG_LOADING,this.onFragLoading,this),e.off(Vee.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i,trackId:o}){if(n===qee){const e=t.cc,n=this.fragCurrent;if(this.initPTS[e]={baseTime:r,timescale:i,trackId:o},this.log(`InitPTS for cc: ${e} found from main: ${r/i} (${r}/${i}) trackId: ${o}`),this.mainAnchor=t,this.state===Yie){const n=this.waitingData;(!n&&!this.loadingParts||n&&n.frag.cc!==e)&&this.syncWithAnchor(t,null==n?void 0:n.frag)}else!this.hls.hasEnoughToStart&&n&&n.cc!==e?(n.abortRequests(),this.syncWithAnchor(t,n)):this.state===jie&&this.tick()}}getLoadPosition(){return!this.startFragRequested&&this.nextLoadPosition>=0?this.nextLoadPosition:super.getLoadPosition()}syncWithAnchor(e,t){var n;const r=(null==(n=this.mainFragLoading)?void 0:n.frag)||null;if(t&&(null==r?void 0:r.cc)===t.cc)return;const i=(r||e).cc,o=Wne(this.getLevelDetails(),i,this.getLoadPosition());o&&(this.log(`Syncing with main frag at ${o.start} cc ${o.cc}`),this.startFragRequested=!1,this.nextLoadPosition=o.start,this.resetLoadingState(),this.state===jie&&this.doTickIdle())}
1startLoad(e,t){if(!this.levels)return this.startPosition=e,void(this.state=Bie);const n=this.lastCurrentTime;this.stopLoad(),this.setInterval(100),n>0&&-1===e?(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n,this.state=jie):this.state=Uie,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}doTick(){switch(this.state){case jie:this.doTickIdle();break;case Uie:{const{levels:e,trackId:t}=this,n=null==e?void 0:e[t],r=null==n?void 0:n.details;if(r&&!this.waitForLive(n)){if(this.waitForCdnTuneIn(r))break;this.state=Yie}break}case Hie:this.checkRetryDate();break;case Yie:{const e=this.waitingData;if(e){const{frag:t,part:n,cache:r,complete:i}=e,o=this.mainAnchor;if(void 0!==this.initPTS[t.cc]){this.waitingData=null,this.state=Vie;const e={frag:t,part:n,payload:r.flush().buffer,networkDetails:null};this._handleFragmentLoadProgress(e),i&&super._handleFragmentLoadComplete(e)}else o&&o.cc!==e.frag.cc&&this.syncWithAnchor(o,e.frag)}else this.state=jie}}this.onTickEnd()}resetLoadingState(){const e=this.waitingData;e&&(this.fragmentTracker.removeFragment(e.frag),this.waitingData=null),super.resetLoadingState()}onTickEnd(){const{media:e}=this;null!=e&&e.readyState&&(this.lastCurrentTime=e.currentTime)}doTickIdle(){var e;const{hls:t,levels:n,media:r,trackId:i}=this,o=t.config;if(!this.buffering||!r&&!this.primaryPrefetch&&(this.startFragRequested||!o.startFragPrefetch)||null==n||!n[i])return;const a=n[i],s=a.details;if(!s||this.waitForLive(a)||this.waitForCdnTuneIn(s))return this.state=Uie,void(this.startFragRequested=!1);const l=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&l&&(this.bufferFlushed=!1,this.afterBufferFlushed(l,Ste,Kee));const c=this.getFwdBufferInfo(l,Kee);if(null===c)return;if(!this.switchingTrack&&this._streamEnded(c,s))return t.trigger(Vee.BUFFER_EOS,{type:"audio"}),void(this.state=qie);const u=c.len,d=t.maxBufferLength,h=s.fragments,f=h[0].start,p=this.getLoadPosition(),m=this.flushing?p:c.end;if(this.switchingTrack&&r){const e=p;s.PTSKnown&&e<f&&(c.end>f||c.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),r.currentTime=f+.05)}if(u>=d&&!this.switchingTrack&&m<h[h.length-1].start)return;let g=this.getNextFragment(m,s);if(g&&this.isLoopLoading(g,m)&&(g=this.getNextFragmentLoopLoading(g,s,c,qee,d)),!g)return void(this.bufferFlushed=!0);if(this.exceedsMaxBuffer(c,d,g))return;let v=(null==(e=this.mainFragLoading)?void 0:e.frag)||null;if(!this.audioOnly&&this.startFragRequested&&v&&Ate(g)&&!g.endList&&(!s.live||!this.loadingParts&&m<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(v)===ire&&(this.mainFragLoading=v=null),v&&Ate(v))){if(g.start>v.end){const e=this.fragmentTracker.getFragAtPos(m,qee);e&&e.end>v.end&&(v=e,this.mainFragLoading={frag:e,targetBufferTime:null})}if(g.start>v.end)return}this.loadFragment(g,a,m)}onMediaDetaching(e,t){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(e,t)}onAudioTracksUpdated(e,{audioTracks:t}){this.resetTransmuxer(),this.levels=t.map(e=>new Pne(e))}onAudioTrackSwitching(e,t){const n=!!t.url;this.trackId=t.id;const{fragCurrent:r}=this;r&&(r.abortRequests(),this.removeUnbufferedFrags(r.start)),this.resetLoadingState(),n?(this.switchingTrack=t,this.flushAudioIfNeeded(t),this.state!==Bie&&(this.setInterval(100),this.state=jie,this.tick())):(this.resetTransmuxer(),this.switchingTrack=null,this.bufferedTrack=t,this.clearInterval())}onManifestLoading(){super.onManifestLoading(),this.bufferFlushed=this.flushing=this.audioOnly=!1,this.resetItem(),this.trackId=-1}onLevelLoaded(e,t){this.mainDetails=t.details;const n=this.cachedTrackLoadedData;n&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(Vee.AUDIO_TRACK_LOADED,n))}onAudioTrackLoaded(e,t){var n;const{levels:r}=this,{details:i,id:o,groupId:a,track:s}=t;if(!r)return void this.warn(`Audio tracks reset while loading track ${o} "${s.name}" of "${a}"`);const l=this.mainDetails;if(!l||i.endCC>l.endCC||l.expired)return this.cachedTrackLoadedData=t,void(this.state!==Bie&&(this.state=Uie));this.cachedTrackLoadedData=null,this.log(`Audio track ${o} "${s.name}" of "${a}" loaded [${i.startSN},${i.endSN}]${i.lastPartSn?`[part-${i.lastPartSn}-${i.lastPartIndex}]`:""},duration:${i.totalduration}`);const c=r[o];let u=0;if(i.live||null!=(n=c.details)&&n.live){if(this.checkLiveUpdate(i),i.deltaUpdateFailed)return;var d;c.details&&(u=this.alignPlaylists(i,c.details,null==(d=this.levelLastLoaded)?void 0:d.details)),i.alignedSliding||(_ie(i,l),i.alignedSliding||Fie(i,l),u=i.fragmentStart)}c.details=i,this.levelLastLoaded=c,this.startFragRequested||this.setStartPosition(l,u),this.hls.trigger(Vee.AUDIO_TRACK_UPDATED,{details:i,id:o,groupId:t.groupId}),this.state!==Uie||this.waitForCdnTuneIn(i)||(this.state=jie),this.tick()}_handleFragmentLoadProgress(e){var t;const n=e.frag,{part:r,payload:i}=e,{config:o,trackId:a,levels:s}=this;if(!s)return void this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);const l=s[a];if(!l)return void this.warn("Audio track is undefined on fragment load progress");const c=l.details;if(!c)return this.warn("Audio track details undefined on fragment load progress"),void this.removeUnbufferedFrags(n.start);const u=o.defaultAudioCodec||l.audioCodec||"mp4a.40.2";let d=this.transmuxer;
1d||(d=this.transmuxer=new Tae(this.hls,Kee,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const h=this.initPTS[n.cc],f=null==(t=n.initSegment)?void 0:t.data;if(void 0!==h){const e=!1,t=r?r.index:-1,o=-1!==t,a=new bre(n.level,n.sn,n.stats.chunkCount,i.byteLength,t,o);d.push(i,f,u,"",n,r,c.totalduration,e,a,h)}else{this.log(`Unknown video PTS for cc ${n.cc}, waiting for video PTS before demuxing audio frag ${n.sn} of [${c.startSN} ,${c.endSN}],track ${a}`);const{cache:e}=this.waitingData=this.waitingData||{frag:n,part:r,cache:new Jie,complete:!1};e.push(new Uint8Array(i)),this.state!==Bie&&(this.state=Yie)}}_handleFragmentLoadComplete(e){this.waitingData?this.waitingData.complete=!0:super._handleFragmentLoadComplete(e)}onBufferReset(){this.mediaBuffer=null}onBufferCreated(e,t){this.bufferFlushed=this.flushing=!1;const n=t.tracks.audio;n&&(this.mediaBuffer=n.buffer||null)}onFragLoading(e,t){!this.audioOnly&&t.frag.type===qee&&Ate(t.frag)&&(this.mainFragLoading=t,this.state===jie&&this.tick())}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n.type===Kee)if(this.fragContextChanged(n))this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);else{if(Ate(n)){this.fragPrevious=n;const e=this.switchingTrack;e&&(this.bufferedTrack=e,this.switchingTrack=null,this.hls.trigger(Vee.AUDIO_TRACK_SWITCHED,tte({},e)))}this.fragBufferedComplete(n,r),this.media&&this.tick()}else this.audioOnly||n.type!==qee||n.elementaryStreams.video||n.elementaryStreams.audiovideo||(this.audioOnly=!0,this.mainFragLoading=null)}onError(e,t){var n;if(t.fatal)this.state=Kie;else switch(t.details){case zee.FRAG_GAP:case zee.FRAG_PARSING_ERROR:case zee.FRAG_DECRYPT_ERROR:case zee.FRAG_LOAD_ERROR:case zee.FRAG_LOAD_TIMEOUT:case zee.KEY_LOAD_ERROR:case zee.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(Kee,t);break;case zee.AUDIO_TRACK_LOAD_ERROR:case zee.AUDIO_TRACK_LOAD_TIMEOUT:case zee.LEVEL_PARSING_ERROR:t.levelRetry||this.state!==Uie||(null==(n=t.context)?void 0:n.type)!==Wee||(this.state=jie);break;case zee.BUFFER_ADD_CODEC_ERROR:case zee.BUFFER_APPEND_ERROR:if("audio"!==t.parent)return;this.reduceLengthAndFlushBuffer(t)||this.resetLoadingState();break;case zee.BUFFER_FULL_ERROR:if("audio"!==t.parent)return;this.reduceLengthAndFlushBuffer(t)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case zee.INTERNAL_EXCEPTION:this.recoverWorkerError(t)}}onBufferFlushing(e,{type:t}){t!==xte&&(this.flushing=!0)}onBufferFlushed(e,{type:t}){if(t!==xte){this.flushing=!1,this.bufferFlushed=!0,this.state===qie&&(this.state=jie);const e=this.mediaBuffer||this.media;e&&(this.afterBufferFlushed(e,t,Kee),this.tick())}}_handleTransmuxComplete(e){var t;const n="audio",{hls:r}=this,{remuxResult:i,chunkMeta:o}=e,a=this.getCurrentContext(o);if(!a)return void this.resetWhenMissingContext(o);const{frag:s,part:l,level:c}=a,{details:u}=c,{audio:d,text:h,id3:f,initSegment:p}=i;if(!this.fragContextChanged(s)&&u){if(this.state=Wie,this.switchingTrack&&d&&this.completeAudioSwitch(this.switchingTrack),null!=p&&p.tracks){const e=s.initSegment||s;if(this.unhandledEncryptionError(p,s))return;this._bufferInitSegment(c,p.tracks,e,o),r.trigger(Vee.FRAG_PARSING_INIT_SEGMENT,{frag:e,id:n,tracks:p.tracks})}if(d){const{startPTS:e,endPTS:t,startDTS:n,endDTS:r}=d;l&&(l.elementaryStreams[Ste]={startPTS:e,endPTS:t,startDTS:n,endDTS:r}),s.setElementaryStreamInfo(Ste,e,t,n,r),this.bufferFragmentData(d,s,l,o)}if(null!=f&&null!=(t=f.samples)&&t.length){const e=Jee({id:n,frag:s,details:u},f);r.trigger(Vee.FRAG_PARSING_METADATA,e)}if(h){const e=Jee({id:n,frag:s,details:u},h);r.trigger(Vee.FRAG_PARSING_USERDATA,e)}}else this.fragmentTracker.removeFragment(s)}_bufferInitSegment(e,t,n,r){if(this.state!==Wie)return;if(t.video&&delete t.video,t.audiovideo&&delete t.audiovideo,!t.audio)return;const i=t.audio;i.id=Kee;const o=e.audioCodec;this.log(`Init audio buffer, container:${i.container}, codecs[level/parsed]=[${o}/${i.codec}]`),o&&1===o.split(",").length&&(i.levelCodec=o),this.hls.trigger(Vee.BUFFER_CODECS,t);const a=i.initSegment;if(null!=a&&a.byteLength){const e={type:"audio",frag:n,part:null,chunkMeta:r,parent:n.type,data:a};this.hls.trigger(Vee.BUFFER_APPENDING,e)}this.tickImmediate()}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);var i;if(this.switchingTrack||r===tre||r===rre)if(Ate(e))if(null!=(i=t.details)&&i.live&&!this.initPTS[e.cc]){this.log(`Waiting for video PTS in continuity counter ${e.cc} of live stream before loading audio fragment ${e.sn} of level ${this.trackId}`),this.state=Yie;const n=this.mainDetails;n&&n.fragmentStart!==t.details.fragmentStart&&Fie(t.details,n)}else super.loadFragment(e,t,n);else this._loadInitSegment(e,t);else this.clearTrackerIfNeeded(e)}flushAudioIfNeeded(e){if(this.media&&this.bufferedTrack){const{name:t,lang:n,assocLang:r,characteristics:i,audioCodec:o,channels:a}=this.bufferedTrack;$ne({name:t,lang:n,assocLang:r,characteristics:i,audioCodec:o,channels:a},e,Nne)||(jne(e.url,this.hls)?(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null):this.bufferedTrack=e)}}completeAudioSwitch(e){const{hls:t}=this;this.flushAudioIfNeeded(e),this.bufferedTrack=e,this.switchingTrack=null,t.trigger(Vee.AUDIO_TRACK_SWITCHED,tte({},e))}},audioTrackController:class extends Mae{constructor(e){super(e,"audio-track-controller"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:e}=this;e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.on(Vee.LEVEL_LOADING,this.onLevelLoading,this),e.on(Vee.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(Vee.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(Vee.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.off(Vee.LEVEL_LOADING,this.onLevelLoading,this),e.off(Vee.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(Vee.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(Vee.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.audioTracks||[]}onAudioTrackLoaded(e,t){const{id:n,groupId:r,details:i}=t,o=this.tracksInGroup[n];if(!o||o.groupId!==r)return void this.warn(`Audio track with id:${n} and group:${r} not found in active group ${null==o?void 0:o.groupId}`);const a=o.details;o.details=t.details,this.log(`Audio track ${n} "${o.name}" lang:${o.lang} group:${r} loaded [${i.startSN}-${i.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,a)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const n=t.audioGroups||null,r=this.groupIds;let i=this.currentTrack;if(!n||(null==r?void 0:r.length)!==(null==n?void 0:n.length)||null!=n&&n.some(e=>-1===(null==r?void 0:r.indexOf(e)))){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const e=this.tracks.filter(e=>!n||-1!==n.indexOf(e.groupId));if(e.length)this.selectDefaultTrack&&!e.some(e=>e.default)&&(this.selectDefaultTrack=!1),e.forEach((e,t)=>
1{e.id=t});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=e;const t=this.hls.config.audioPreference;if(!i&&t){const n=Fne(t,e,Nne);if(n>-1)i=e[n];else{const e=Fne(t,this.tracks);i=this.tracks[e]}}let r=this.findTrackId(i);-1===r&&i&&(r=this.findTrackId(null));const a={audioTracks:e};this.log(`Updating audio tracks, ${e.length} track(s) found in group(s): ${null==n?void 0:n.join(",")}`),this.hls.trigger(Vee.AUDIO_TRACKS_UPDATED,a);const s=this.trackId;if(-1!==r&&-1===s)this.setAudioTrack(r);else if(e.length&&-1===s){var o;const t=new Error(`No audio track selected for current audio group-ID(s): ${null==(o=this.groupIds)?void 0:o.join(",")} track count: ${e.length}`);this.warn(t.message),this.hls.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:t})}}}onError(e,t){!t.fatal&&t.context&&(t.context.type!==Wee||t.context.id!==this.trackId||this.groupIds&&-1===this.groupIds.indexOf(t.context.groupId)||this.checkRetry(t))}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(e){this.selectDefaultTrack=!1,this.setAudioTrack(e)}setAudioOption(e){const t=this.hls;if(t.config.audioPreference=e,e){const n=this.allAudioTracks;
1if(this.selectDefaultTrack=!1,n.length){const r=this.currentTrack;if(r&&$ne(e,r,Nne))return r;const i=Fne(e,this.tracksInGroup,Nne);if(i>-1){const e=this.tracksInGroup[i];return this.setAudioTrack(i),e}if(r){let r=t.loadLevel;-1===r&&(r=t.firstAutoLevel);const i=function(e,t,n,r,i){const o=t[r],a=t.reduce((e,t,n)=>{const r=t.uri;return(e[r]||(e[r]=[])).push(n),e},{})[o.uri];a.length>1&&(r=Math.max.apply(Math,a));const s=o.videoRange,l=o.frameRate,c=o.codecSet.substring(0,4),u=Bne(t,r,t=>{if(t.videoRange!==s||t.frameRate!==l||t.codecSet.substring(0,4)!==c)return!1;const r=t.audioGroups,o=n.filter(e=>!r||-1!==r.indexOf(e.groupId));return Fne(e,o,i)>-1});return u>-1?u:Bne(t,r,t=>{const r=t.audioGroups,o=n.filter(e=>!r||-1!==r.indexOf(e.groupId));return Fne(e,o,i)>-1})}(e,t.levels,n,r,Nne);if(-1===i)return null;t.nextLoadLevel=i}if(e.channels||e.audioCodec){const t=Fne(e,n);if(t>-1)return n[t]}}}return null}setAudioTrack(e){const t=this.tracksInGroup;if(e<0||e>=t.length)return void this.warn(`Invalid audio track id: ${e}`);this.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e],i=r.details&&!r.details.live;if(e===this.trackId&&r===n&&i)return;if(this.log(`Switching to audio-track ${e} "${r.name}" lang:${r.lang} group:${r.groupId} channels:${r.channels}`),this.trackId=e,this.currentTrack=r,this.hls.trigger(Vee.AUDIO_TRACK_SWITCHING,tte({},r)),i)return;const o=this.switchParams(r.url,null==n?void 0:n.details,r.details);this.loadPlaylist(o)}findTrackId(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++){const r=t[n];if((!this.selectDefaultTrack||r.default)&&(!e||$ne(e,r,Nne)))return n}if(e){const{name:n,lang:r,assocLang:i,characteristics:o,audioCodec:a,channels:s}=e;for(let e=0;e<t.length;e++)if($ne({name:n,lang:r,assocLang:i,characteristics:o,audioCodec:a,channels:s},t[e],Nne))return e;for(let l=0;l<t.length;l++){const n=t[l];if(Lae(e.attrs,n.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return l}for(let l=0;l<t.length;l++){const n=t[l];if(Lae(e.attrs,n.attrs,["LANGUAGE"]))return l}}return-1}loadPlaylist(e){super.loadPlaylist();const t=this.currentTrack;this.shouldLoadPlaylist(t)&&jne(t.url,this.hls)&&this.scheduleLoading(t,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=e.id,r=e.groupId,i=this.getUrlWithDirectives(e.url,t),o=e.details,a=null==o?void 0:o.age;this.log(`Loading audio-track ${n} "${e.name}" lang:${e.lang} group:${r}${void 0!==(null==t?void 0:t.msn)?" at sn "+t.msn+" part "+t.part:""}${a&&o.live?" age "+a.toFixed(1)+(o.type&&" "+o.type||""):""} ${i}`),this.hls.trigger(Vee.AUDIO_TRACK_LOADING,{url:i,id:n,groupId:r,deliveryDirectives:t||null,track:e})}},emeController:Dse,cmcdController:class{constructor(e){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.includeKeys=void 0,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=e=>{try{this.apply(e,{ot:Nae,su:!this.initialized})}catch(t){this.hls.logger.warn("Could not generate manifest CMCD data.",t)}},this.applyFragmentData=e=>{try{const{frag:t,part:n}=e,r=this.hls.levels[t.level],i=this.getObjectType(t),o={d:1e3*(n||t).duration,ot:i};i!==jae&&i!==Bae&&i!=zae||(o.br=r.bitrate/1e3,o.tb=this.getTopBandwidth(i)/1e3,o.bl=this.getBufferLength(i));const a=n?this.getNextPart(n):this.getNextFrag(t);null!=a&&a.url&&a.url!==t.url&&(o.nor=a.url),this.apply(e,o)}catch(t){this.hls.logger.warn("Could not generate segment CMCD data.",t)}},this.hls=e;const t=this.config=e.config,{cmcd:n}=t;null!=n&&(t.pLoader=this.createPlaylistLoader(),t.fLoader=this.createFragmentLoader(),this.sid=n.sessionId||e.sessionId,this.cid=n.contentId,this.useHeaders=!0===n.useHeaders,this.includeKeys=n.includeKeys,this.registerListeners())}registerListeners(){const e=this.hls;e.on(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(Vee.MEDIA_DETACHED,this.onMediaDetached,this),e.on(Vee.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const e=this.hls;
1e.off(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(Vee.MEDIA_DETACHED,this.onMediaDetached,this),e.off(Vee.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=this.media=null}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(e,t){var n,r;this.audioBuffer=null==(n=t.tracks.audio)?void 0:n.buffer,this.videoBuffer=null==(r=t.tracks.video)?void 0:r.buffer}createData(){var e;return{v:1,sf:Uae,sid:this.sid,cid:this.cid,pr:null==(e=this.media)?void 0:e.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(e,t={}){Jee(t,this.createData());const n=t.ot===Vae||t.ot===jae||t.ot===zae;this.starved&&n&&(t.bs=!0,t.su=!0,this.starved=!1),null==t.su&&(t.su=this.buffering);const{includeKeys:r}=this;r&&(t=Object.keys(t).reduce((e,n)=>(r.includes(n)&&(e[n]=t[n]),e),{}));const i={baseUrl:e.url};this.useHeaders?(e.headers||(e.headers={}),Ase(e.headers,t,i)):e.url=Pse(e.url,t,i)}getNextFrag(e){var t;const n=null==(t=this.hls.levels[e.level])?void 0:t.details;if(n){const t=e.sn-n.startSN;return n.fragments[t+1]}}getNextPart(e){var t;const{index:n,fragment:r}=e,i=null==(t=this.hls.levels[r.level])||null==(t=t.details)?void 0:t.partList;if(i){const{sn:e}=r;for(let t=i.length-1;t>=0;t--){const r=i[t];if(r.index===n&&r.fragment.sn===e)return i[t+1]}}}getObjectType(e){const{type:t}=e;return"subtitle"===t?Hae:"initSegment"===e.sn?Vae:"audio"===t?Bae:"main"===t?this.hls.audioTracks.length?jae:zae:void 0}getTopBandwidth(e){let t,n=0;const r=this.hls;if(e===Bae)t=r.audioTracks;else{const e=r.maxAutoLevel,n=e>-1?e+1:r.levels.length;t=r.levels.slice(0,n)}return t.forEach(e=>{e.bitrate>n&&(n=e.bitrate)}),n>0?n:NaN}getBufferLength(e){const t=this.media,n=e===Bae?this.audioBuffer:this.videoBuffer;return n&&t?1e3*wre.bufferInfo(n,t.currentTime,this.config.maxBufferHole).len:NaN}createPlaylistLoader(){const{pLoader:e}=this.config,t=this.applyPlaylistData,n=e||this.config.loader;return class{constructor(e){this.loader=void 0,this.loader=new n(e)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(e,n,r){t(e),this.loader.load(e,n,r)}}}createFragmentLoader(){const{fLoader:e}=this.config,t=this.applyFragmentData,n=e||this.config.loader;return class{constructor(e){this.loader=void 0,this.loader=new n(e)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(e,n,r){t(e),this.loader.load(e,n,r)}}}},contentSteeringController:class extends nte{constructor(e){super("content-steering",e.logger),this.hls=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this._pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=e,this.registerListeners()}registerListeners(){const e=this.hls;e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.on(Vee.ERROR,this.onError,this)}unregisterListeners(){const e=this.hls;e&&(e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.off(Vee.ERROR,this.onError,this))}pathways(){return(this.levels||[]).reduce((e,t)=>(-1===e.indexOf(t.pathwayId)&&e.push(t.pathwayId),e),[])}get pathwayPriority(){return this._pathwayPriority}set pathwayPriority(e){this.updatePathwayPriority(e)}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const e=1e3*this.timeToLoad-(performance.now()-this.updated);if(e>0)return void this.scheduleRefresh(this.uri,e)}this.loadSteeringManifest(this.uri)}}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()}clearTimeout(){-1!==this.reloadTimer&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(e){const t=this.levels;t&&(this.levels=t.filter(t=>t!==e))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(e,t){const{contentSteering:n}=t;null!==n&&(this.pathwayId=n.pathwayId,this.uri=n.uri,this.started&&this.startLoad())}onManifestParsed(e,t){this.audioTracks=t.audioTracks,this.subtitleTracks=t.subtitleTracks}onError(e,t){const{errorAction:n}=t;if(2===(null==n?void 0:n.action)&&1===n.flags){const e=this.levels;let r=this._pathwayPriority,i=this.pathwayId;if(t.context){const{groupId:n,pathwayId:r,type:o}=t.context;n&&e?i=this.getPathwayForGroupId(n,o,i):r&&(i=r)}i in this.penalizedPathways||(this.penalizedPathways[i]=performance.now()),!r&&e&&(r=this.pathways()),r&&r.length>1&&(this.updatePathwayPriority(r),n.resolved=this.pathwayId!==i),t.details!==zee.BUFFER_APPEND_ERROR||t.fatal?n.resolved||this.warn(`Could not resolve ${t.details} ("${t.error.message}") with content-steering for Pathway: ${i} levels: ${e?e.length:e}
vendor: 5,232 bytes, line 1
1 priorities: ${One(r)} penalized: ${One(this.penalizedPathways)}`):n.resolved=!0}}filterParsedLevels(e){this.levels=e;let t=this.getLevelsForPathway(this.pathwayId);if(0===t.length){const n=e[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${n}"`),t=this.getLevelsForPathway(n),this.pathwayId=n}return t.length!==e.length&&this.log(`Found ${t.length}/${e.length} levels in Pathway "${this.pathwayId}"`),t}getLevelsForPathway(e){return null===this.levels?[]:this.levels.filter(t=>e===t.pathwayId)}updatePathwayPriority(e){let t;this._pathwayPriority=e;const n=this.penalizedPathways,r=performance.now();Object.keys(n).forEach(e=>{r-n[e]>3e5&&delete n[e]});for(let i=0;i<e.length;i++){const r=e[i];if(r in n)continue;if(r===this.pathwayId)return;const o=this.hls.nextLoadLevel,a=this.hls.levels[o];if(t=this.getLevelsForPathway(r),t.length>0){this.log(`Setting Pathway to "${r}"`),this.pathwayId=r,Lie(t),this.hls.trigger(Vee.LEVELS_UPDATED,{levels:t});const e=this.hls.levels[o];a&&e&&this.levels&&(e.attrs["STABLE-VARIANT-ID"]!==a.attrs["STABLE-VARIANT-ID"]&&e.bitrate!==a.bitrate&&this.log(`Unstable Pathways change from bitrate ${a.bitrate} to ${e.bitrate}`),this.hls.nextLoadLevel=o);break}}}getPathwayForGroupId(e,t,n){const r=this.getLevelsForPathway(n).concat(this.levels||[]);for(let i=0;i<r.length;i++)if(t===Wee&&r[i].hasAudioGroup(e)||t===Gee&&r[i].hasSubtitleGroup(e))return r[i].pathwayId;return n}clonePathways(e){const t=this.levels;if(!t)return;const n={},r={};e.forEach(e=>{const{ID:i,"BASE-ID":o,"URI-REPLACEMENT":a}=e;if(t.some(e=>e.pathwayId===i))return;const s=this.getLevelsForPathway(o).map(e=>{const t=new Lre(e.attrs);t["PATHWAY-ID"]=i;const o=t.AUDIO&&`${t.AUDIO}_clone_${i}`,s=t.SUBTITLES&&`${t.SUBTITLES}_clone_${i}`;o&&(n[t.AUDIO]=o,t.AUDIO=o),s&&(r[t.SUBTITLES]=s,t.SUBTITLES=s);const l=Ose(e.uri,t["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",a),c=new Pne({attrs:t,audioCodec:e.audioCodec,bitrate:e.bitrate,height:e.height,name:e.name,url:l,videoCodec:e.videoCodec,width:e.width});if(e.audioGroups)for(let n=1;n<e.audioGroups.length;n++)c.addGroupId("audio",`${e.audioGroups[n]}_clone_${i}`);if(e.subtitleGroups)for(let n=1;n<e.subtitleGroups.length;n++)c.addGroupId("text",`${e.subtitleGroups[n]}_clone_${i}`);return c});t.push(...s),Rse(this.audioTracks,n,a,i),Rse(this.subtitleTracks,r,a,i)})}loadSteeringManifest(e){const t=this.hls.config,n=t.loader;let r;this.loader&&this.loader.destroy(),this.loader=new n(t);try{r=new self.URL(e)}catch(c){return this.enabled=!1,void this.log(`Failed to parse Steering Manifest URI: ${e}`)}if("data:"!==r.protocol){const e=0|(this.hls.bandwidthEstimate||t.abrEwmaDefaultEstimate);r.searchParams.set("_HLS_pathway",this.pathwayId),r.searchParams.set("_HLS_throughput",""+e)}const i={responseType:"json",url:r.href},o=t.steeringManifestLoadPolicy.default,a=o.errorRetry||o.timeoutRetry||{},s={loadPolicy:o,timeout:o.maxLoadTimeMs,maxRetry:a.maxNumRetry||0,retryDelay:a.retryDelayMs||0,maxRetryDelay:a.maxRetryDelayMs||0},l={onSuccess:(e,t,n,i)=>{this.log(`Loaded steering manifest: "${r}"`);const o=e.data;if(1!==(null==o?void 0:o.VERSION))return void this.log(`Steering VERSION ${o.VERSION} not supported!`);this.updated=performance.now(),this.timeToLoad=o.TTL;const{"RELOAD-URI":a,"PATHWAY-CLONES":s,"PATHWAY-PRIORITY":l}=o;if(a)try{this.uri=new self.URL(a,r).href}catch(c){return this.enabled=!1,void this.log(`Failed to parse Steering Manifest RELOAD-URI: ${a}`)}this.scheduleRefresh(this.uri||n.url),s&&this.clonePathways(s);const u={steeringManifest:o,url:r.toString()};this.hls.trigger(Vee.STEERING_MANIFEST_LOADED,u),l&&this.updatePathwayPriority(l)},onError:(e,t,n,r)=>{if(this.log(`Error loading steering manifest: ${e.code} ${e.text} (${t.url})`),this.stopLoad(),410===e.code)return this.enabled=!1,void this.log(`Steering manifest ${t.url} no longer available`);let i=1e3*this.timeToLoad;if(429===e.code){const e=this.loader;if("function"==typeof(null==e?void 0:e.getResponseHeader)){const t=e.getResponseHeader("Retry-After");t&&(i=1e3*parseFloat(t))}return void this.log(`Steering manifest ${t.url} rate limited`)}this.scheduleRefresh(this.uri||t.url,i)},onTimeout:(e,t,n)=>{this.log(`Timeout loading steering manifest (${t.url})`),this.scheduleRefresh(this.uri||t.url)}};this.log(`Requesting steering manifest: ${r}`),this.loader.load(i,s,l)}scheduleRefresh(e,t=1e3*this.timeToLoad){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var t;const n=null==(t=this.hls)?void 0:t.media;!n||n.ended?this.scheduleRefresh(e,1e3*this.timeToLoad):this.loadSteeringManifest(e)},t)}},interstitialsController:class extends nte{constructor(e,t){super("interstitials",e.logger),this.HlsPlayerClass=void 0,this.hls=void 0,this.assetListLoader=void 0,this.mediaSelection=null,this.altSelection=null,this.media=null,this.detachedData=null,this.requiredTracks=null,this.manager=null,this.playerQueue=[],this.bufferedPos=-1,this.timelinePos=-1,this.schedule=void 0,this.playingItem=null,this.bufferingItem=null,this.waitingItem=null,this.endedItem=null,this.playingAsset=null,this.endedAsset=null,this.bufferingAsset=null,this.shouldPlay=!1,this.onPlay=()=>{this.shouldPlay=!0},this.onPause=()=>{this.shouldPlay=!1}
1,this.onSeeking=()=>{const e=this.currentTime;if(void 0===e||this.playbackDisabled||!this.schedule)return;const t=e-this.timelinePos;if(Math.abs(t)<1/7056e5)return;const n=t<=-.01;-1!==this.timelinePos||this.effectivePlayingItem||this.checkStart(),this.timelinePos=e,this.bufferedPos=e;const r=this.playingItem;if(!r)return void this.checkBuffer();if(n&&this.schedule.resetErrorsInRange(e,e-t)&&this.updateSchedule(!0),this.checkBuffer(),n&&e<r.start||e>=r.end){var i;const t=this.findItemIndex(r);let o=this.schedule.findItemIndexAtTime(e);if(-1===o&&(o=t+(n?-1:1),this.log(`seeked ${n?"back ":""}to position not covered by schedule ${e} (resolving from ${t} to ${o})`)),!this.isInterstitial(r)&&null!=(i=this.media)&&i.paused&&(this.shouldPlay=!1),!n&&o>t){const e=this.schedule.findJumpRestrictedIndex(t+1,o);if(e>t)return void this.setSchedulePosition(e)}return void this.setSchedulePosition(o)}const o=this.playingAsset;if(!o){if(this.playingLastItem&&this.isInterstitial(r)){const t=r.event.assetList[0];t&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(e,t))}return}const a=o.timelineStart,s=o.duration||0;var l;(n&&e<a||e>=a+s)&&(null!=(l=r.event)&&l.appendInPlace&&(this.clearAssetPlayers(r.event,r),this.flushFrontBuffer(e)),this.setScheduleToAssetAtTime(e,o))},this.onTimeupdate=()=>{const e=this.currentTime;if(void 0===e||this.playbackDisabled)return;if(-1!==this.timelinePos||this.effectivePlayingItem||this.checkStart(),!(e>this.timelinePos))return;this.timelinePos=e,e>this.bufferedPos&&this.checkBuffer();const t=this.playingItem;if(!t||this.playingLastItem)return;if(e>=t.end){this.timelinePos=t.end;const e=this.findItemIndex(t);this.setSchedulePosition(e+1)}const n=this.playingAsset;n&&e>=n.timelineStart+(n.duration||0)&&this.setScheduleToAssetAtTime(e,n)},this.onScheduleUpdate=(e,t)=>{const n=this.schedule;if(!n)return;const r=this.playingItem,i=n.events||[],o=n.items||[],a=n.durations,s=e.map(e=>e.identifier),l=!(!i.length&&!s.length);(l||t)&&this.log(`INTERSTITIALS_UPDATED (${i.length}): ${i}\nSchedule: ${o.map(e=>ele(e))} pos: ${this.timelinePos}`),s.length&&this.log(`Removed events ${s}`);let c=null,u=null;r&&(c=this.updateItem(r,this.timelinePos),this.itemsMatch(r,c)?this.playingItem=c:this.waitingItem=this.endedItem=null),this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const d=this.bufferingItem;if(d&&(u=this.updateItem(d,this.bufferedPos),this.itemsMatch(d,u)?this.bufferingItem=u:d.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(d.event,null))),e.forEach(e=>{e.assetList.forEach(e=>{this.clearAssetPlayer(e.identifier,null)})}),this.playerQueue.forEach(e=>{if(e.interstitial.appendInPlace){const n=e.assetItem.timelineStart,r=e.timelineOffset-n;if(r)try{e.timelineOffset=n}catch(t){Math.abs(r)>Use&&this.warn(`${t} ("${e.assetId}" ${e.timelineOffset}->${n})`)}}}),l||t){if(this.hls.trigger(Vee.INTERSTITIALS_UPDATED,{events:i.slice(0),schedule:o.slice(0),durations:a,removedIds:s}),this.isInterstitial(r)&&s.includes(r.event.identifier))return this.warn(`Interstitial "${r.event.identifier}" removed while playing`),void this.primaryFallback(r.event);r&&this.trimInPlace(c,r),d&&u!==c&&this.trimInPlace(u,d),this.checkBuffer()}},this.hls=e,this.HlsPlayerClass=t,this.assetListLoader=new tle(e),this.schedule=new Jse(this.onScheduleUpdate,e.logger),this.registerListeners()}registerListeners(){const e=this.hls;e&&(e.on(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(Vee.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(Vee.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.on(Vee.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(Vee.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.on(Vee.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.on(Vee.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.on(Vee.BUFFER_APPENDED,this.onBufferAppended,this),e.on(Vee.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(Vee.BUFFERED_TO_END,this.onBufferedToEnd,this),e.on(Vee.MEDIA_ENDED,this.onMediaEnded,this),e.on(Vee.ERROR,this.onError,this),e.on(Vee.DESTROYING,this.onDestroying,this))}unregisterListeners(){const e=this.hls;
1e&&(e.off(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(Vee.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(Vee.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.off(Vee.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(Vee.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.off(Vee.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.off(Vee.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.off(Vee.BUFFER_CODECS,this.onBufferCodecs,this),e.off(Vee.BUFFER_APPENDED,this.onBufferAppended,this),e.off(Vee.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(Vee.BUFFERED_TO_END,this.onBufferedToEnd,this),e.off(Vee.MEDIA_ENDED,this.onMediaEnded,this),e.off(Vee.ERROR,this.onError,this),e.off(Vee.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var e;null==(e=this.getBufferingPlayer())||e.resumeBuffering()}pauseBuffering(){var e;null==(e=this.getBufferingPlayer())||e.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.schedule=this.manager=null,this.hls=this.HlsPlayerClass=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const e=this.primaryMedia||this.media;e&&this.removeMediaListeners(e)}removeMediaListeners(e){Nie(e,"play",this.onPlay),Nie(e,"pause",this.onPause),Nie(e,"seeking",this.onSeeking),Nie(e,"timeupdate",this.onTimeupdate)}onMediaAttaching(e,t){const n=this.media=t.media;$ie(n,"seeking",this.onSeeking),$ie(n,"timeupdate",this.onTimeupdate),$ie(n,"play",this.onPlay),$ie(n,"pause",this.onPause)}onMediaAttached(e,t){const n=this.effectivePlayingItem,r=this.detachedData;if(this.detachedData=null,null===n)this.checkStart();else if(!r){this.clearScheduleState();const e=this.findItemIndex(n);this.setSchedulePosition(e)}}clearScheduleState(){this.log("clear schedule state"),this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(e,t){const n=!!t.transferMedia,r=this.media;if(this.media=null,!n&&(r&&this.removeMediaListeners(r),this.detachedData)){const e=this.getBufferingPlayer();e&&(this.log(`Removing schedule state for detachedData and ${e}`),this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,e.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.hls)return null;if(this.manager)return this.manager;const e=this,t=()=>e.bufferingItem||e.waitingItem,n=t=>t?e.getAssetPlayer(t.identifier):t,r=(t,r,o,a,s)=>{if(t){let l=t[r].start;const c=t.event;if(c){if("playout"===r||c.timelineOccupancy!==Wse.Point){const e=n(o);(null==e?void 0:e.interstitial)===c&&(l+=e.assetItem.startOffset+e[s])}}else l+=("bufferedPos"===a?i():e[a])-t.start;return l}return 0},i=()=>{const t=e.bufferedPos;return t===Number.MAX_VALUE?o("primary"):Math.max(t,0)},o=t=>{var n,r;return null!=(n=e.primaryDetails)&&n.live?e.primaryDetails.edge:(null==(r=e.schedule)?void 0:r.durations[t])||0},a=(t,i)=>{var o,a;const s=e.effectivePlayingItem;if(null!=s&&null!=(o=s.event)&&o.restrictions.skip||!e.schedule)return;e.log(`seek to ${t} "${i}"`);const l=e.effectivePlayingItem,c=e.schedule.findItemIndexAtTime(t,i),u=null==(a=e.schedule.items)?void 0:a[c],d=e.getBufferingPlayer(),h=null==d?void 0:d.interstitial,f=null==h?void 0:h.appendInPlace,p=l&&e.itemsMatch(l,u);if(l&&(f||p)){const o=n(e.playingAsset),a=(null==o?void 0:o.media)||e.primaryMedia;if(a){const n="primary"===i?a.currentTime:r(l,i,e.playingAsset,"timelinePos","currentTime"),s=t-n,c=(f?n:a.currentTime)+s;if(c>=0&&(!o||f||c<=o.duration))return void(a.currentTime=c)}}if(u){let n=t;if("primary"!==i){const e=t-u[i].start;n=u.start+e}const r=!e.isInterstitial(u);if(e.isInterstitial(l)&&!l.event.appendInPlace||!r&&!u.event.appendInPlace){if(l){const o=e.findItemIndex(l);if(c>o){const t=e.schedule.findJumpRestrictedIndex(o+1,c);if(t>o)return void e.setSchedulePosition(t)}let a=0;if(r)e.timelinePos=n,e.checkBuffer();else{const e=u.event.assetList,n=t-(u[i]||u).start;for(let t=e.length;t--;){const r=e[t];if(r.duration&&n>=r.startOffset&&n<r.startOffset+r.duration){a=t;break}}}e.setSchedulePosition(c,a)}}else{const t=e.media||(f?null==d?void 0:d.media:null);t&&(t.currentTime=n)}}},s=()=>{const n=e.effectivePlayingItem;if(e.isInterstitial(n))return n;const r=t();return e.isInterstitial(r)?r:null},l={get bufferedEnd(){const n=t(),i=e.bufferingItem;var o;return i&&i===n&&(r(i,"playout",e.bufferingAsset,"bufferedPos","bufferedEnd")-i.playout.start||(null==(o=e.bufferingAsset)?void 0:o.startOffset))||0},get currentTime(){const t=s(),n=e.effectivePlayingItem;return n&&n===t?r(n,"playout",e.effectivePlayingAsset,"timelinePos","currentTime")-n.playout.start:0},set currentTime(t){const n=s(),r=e.effectivePlayingItem;r&&r===n&&a(t+r.playout.start,"playout")},get duration(){const e=s();return e?e.playout.end-e.playout.start:0},get assetPlayers(){var t;const n=null==(t=s())?void 0:t.event.assetList;return n?n.map(t=>e.getAssetPlayer(t.identifier)):[]},get playingIndex(){var t;const n=null==(t=s())?void 0:t.event;return n&&e.effectivePlayingAsset?n.findAssetIndex(e.effectivePlayingAsset):-1},get scheduleItem(){return s()}};return this.manager={get events(){var t;return(null==(t=e.schedule)||null==(t=t.events)?void 0:t.slice(0))||[]},get schedule(){var t;return(null==(t=e.schedule)||null==(t=t.items)?void 0:t.slice(0))||[]},get interstitialPlayer(){return s()?l:null},get playerQueue(){return e.playerQueue.slice(0)},get bufferingAsset(){return e.bufferingAsset},get bufferingItem(){return t()},get bufferingIndex(){const n=t();return e.findItemIndex(n)},get playingAsset(){return e.effectivePlayingAsset},get playingItem(){return e.effectivePlayingItem},get playingIndex(){const t=e.effectivePlayingItem;return e.findItemIndex(t)},primary:{get bufferedEnd(){return i()},get currentTime(){const t=e.timelinePos;return t>0?t:0},set currentTime(e){a(e,"primary")},get duration(){return o("primary")},get seekableStart(){var t;return(null==(t=e.primaryDetails)?void 0:t.fragmentStart)||0}},integrated:{get bufferedEnd(){return r(t(),"integrated",e.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return r(e.effectivePlayingItem,"integrated",e.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(e){a(e,"integrated")},get duration(){return o("integrated")},get seekableStart(){var t;return((t,n)=>{var r;if(0!==t&&null!=(r=e.schedule)&&r.length){var i;const r=e.schedule.findItemIndexAtTime(t),o=null==(i=e.schedule.items)?void 0:i[r];if(o)return t+(o[n].start-o.start)}return t})((null==(t=e.primaryDetails)?void 0:t.fragmentStart)||0,"integrated")}},skip:()=>{const t=e.effectivePlayingItem,n=null==t?void 0:t.event;if(n&&!n.restrictions.skip){const r=e.findItemIndex(t);if(n.appendInPlace){const e=t.playout.start+t.event.duration;a(e+.001,"playout")}else e.advanceAfterAssetEnded(n,r,1/0)}}}}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var e;const t=this.playingItem,n=null==(e=this.schedule)?void 0:e.items;return!!(this.playbackStarted&&t&&n)&&this.findItemIndex(t)===n.length-1}get playbackStarted(){return null!==this.effectivePlayingItem}get currentTime(){var e,t;if(null===this.mediaSelection)return;const n=this.waitingItem||this.playingItem;if(this.isInterstitial(n)&&!n.event.appendInPlace)return;let r=this.media;!r&&null!=(e=this.bufferingItem)&&null!=(e=e.event)&&e.appendInPlace&&(r=this.primaryMedia);const i=null==(t=r)?void 0:t.currentTime;return void 0!==i&&$ee(i)?i:void 0}get primaryMedia(){var e;return this.media||(null==(e=this.detachedData)?void 0:e.media)||null}isInterstitial(e){return!(null==e||!e.event)}retreiveMediaSource(e,t){const n=this.getAssetPlayer(e);n&&this.transferMediaFromPlayer(n,t)}transferMediaFromPlayer(e,t){const n=e.interstitial.appendInPlace,r=e.media;if(n&&r===this.primaryMedia){if(this.bufferingAsset=null,(!t||this.isInterstitial(t)&&!t.event.appendInPlace)&&t&&r)return void(this.detachedData={media:r});const n=e.transferMedia();this.log(`transfer MediaSource from ${e} ${One(n)}`),this.detachedData=n}else t&&r&&(this.shouldPlay||(this.shouldPlay=!r.paused))}transferMediaTo(e,t){var n,r;if(e.media===t)return;let i=null;const o=this.hls,a=e!==o,s=a&&e.interstitial.appendInPlace,l=null==(n=this.detachedData)?void 0:n.mediaSource;let c;if(o.media)s&&(i=o.transferMedia(),this.detachedData=i),c="Primary";
1else if(l){const e=this.getBufferingPlayer();e?(i=e.transferMedia(),c=`${e}`):c="detached MediaSource"}else c="detached media";if(!i)if(l)i=this.detachedData,this.log(`using detachedData: MediaSource ${One(i)}`);else if(!this.detachedData||o.media===t){const e=this.playerQueue;e.length>1&&e.forEach(e=>{if(a&&e.interstitial.appendInPlace!==s){const t=e.interstitial;this.clearInterstitial(e.interstitial,null),t.appendInPlace=!1,t.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${t}`)}}),this.hls.detachMedia(),this.detachedData={media:t}}const u=i&&"mediaSource"in i&&"closed"!==(null==(r=i.mediaSource)?void 0:r.readyState),d=u&&i?i:t;this.log(`${u?"transfering MediaSource":"attaching media"} to ${a?e:"Primary"} from ${c} (media.currentTime: ${t.currentTime})`);const h=this.schedule;if(d===i&&h){const t=a&&e.assetId===h.assetIdAtEnd;d.overrides={duration:h.duration,endOfStream:!a||t,cueRemoval:!a}}e.attachMedia(d)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const e=this.schedule,t=null==e?void 0:e.events;if(!t||this.playbackDisabled||!this.media)return;-1===this.bufferedPos&&(this.bufferedPos=0);const n=this.timelinePos,r=this.effectivePlayingItem;if(-1===n){const n=this.hls.startPosition;if(this.timelinePos=n,0===t.length)this.setSchedulePosition(0);else if(t[0].cue.pre){this.log(rle("checkStart (preroll)",n));const r=e.findEventIndex(t[0].identifier);this.setSchedulePosition(r)}else if(n>=0||!this.primaryLive){this.log(rle("checkStart",n));const t=this.timelinePos=n>0?n:0,r=e.findItemIndexAtTime(t);this.setSchedulePosition(r)}else 0===this.hls.liveSyncPosition?this.setSchedulePosition(0):this.log("[checkStart] waiting for live start")}else if(r&&!this.playingItem){this.log(rle("checkStart (playing item)",r.start));const t=e.findItemIndex(r);this.setSchedulePosition(t)}}advanceAssetBuffering(e,t){const n=e.event,r=n.findAssetIndex(t),i=Zse(n,r);if(n.isAssetPastPlayoutLimit(i)){if(this.schedule){var o;const t=null==(o=this.schedule.items)?void 0:o[this.findItemIndex(e)+1];t&&this.bufferedToItem(t)}}else this.bufferedToEvent(e,i)}advanceAfterAssetEnded(e,t,n){const r=Zse(e,n);if(e.isAssetPastPlayoutLimit(r)){if(this.schedule){const n=this.schedule.items;if(n){const r=t+1;if(r>=n.length)return void this.setSchedulePosition(-1);const i=e.resumeTime;this.timelinePos<i&&(this.log(rle("advanceAfterAssetEnded",i)),this.timelinePos=i,e.appendInPlace&&this.advanceInPlace(i),this.checkBuffer(this.bufferedPos<i)),this.setSchedulePosition(r)}}}else{if(e.appendInPlace){const t=e.assetList[r];t&&this.advanceInPlace(t.timelineStart)}this.setSchedulePosition(t,r)}}setScheduleToAssetAtTime(e,t){const n=this.schedule;if(!n)return;const r=t.parentIdentifier,i=n.getEvent(r);if(i){const t=n.findEventIndex(r),o=n.findAssetIndex(i,e);this.advanceAfterAssetEnded(i,t,o-1)}}setSchedulePosition(e,t){var n;const r=null==(n=this.schedule)?void 0:n.items;if(!r||this.playbackDisabled)return;const i=e>=0?r[e]:null;this.log(`setSchedulePosition ${e}, ${t} (${i?ele(i):i}) pos: ${this.timelinePos}`);const o=this.waitingItem||this.playingItem,a=this.playingLastItem;if(this.isInterstitial(o)){const n=o.event,c=this.playingAsset,u=null==c?void 0:c.identifier,d=u?this.getAssetPlayer(u):null;if(d&&u&&(!this.eventItemsMatch(o,i)||void 0!==t&&u!==n.assetList[t].identifier)){var s;const t=n.findAssetIndex(c);if(this.log(`INTERSTITIAL_ASSET_ENDED ${t+1}/${n.assetList.length} ${Qse(c)}`),this.endedAsset=c,this.playingAsset=null,this.hls.trigger(Vee.INTERSTITIAL_ASSET_ENDED,{asset:c,assetListIndex:t,event:n,schedule:r.slice(0),scheduleIndex:e,player:d}),o!==this.playingItem)return void(this.itemsMatch(o,this.playingItem)&&!this.playingAsset&&this.advanceAfterAssetEnded(n,this.findItemIndex(this.playingItem),t));this.retreiveMediaSource(u,i),!d.media||null!=(s=this.detachedData)&&s.mediaSource||d.detachMedia()}if(!this.eventItemsMatch(o,i)&&(this.endedItem=o,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${n} ${ele(o)}`),n.hasPlayed=!0,this.hls.trigger(Vee.INTERSTITIAL_ENDED,{event:n,schedule:r.slice(0),scheduleIndex:e}),n.cue.once)){var l;this.updateSchedule();const e=null==(l=this.schedule)?void 0:l.items;if(i&&e){const n=this.findItemIndex(i);this.advanceSchedule(n,e,t,o,a)}return}}this.advanceSchedule(e,r,t,o,a)}advanceSchedule(e,t,n,r,i){const o=this.schedule;if(!o)return;const a=t[e]||null,s=this.primaryMedia,l=this.playerQueue;if(l.length&&l.forEach(t=>{const n=t.interstitial,r=o.findEventIndex(n.identifier);(r<e||r>e+1)&&this.clearInterstitial(n,a)}),this.isInterstitial(a)){this.timelinePos=Math.min(Math.max(this.timelinePos,a.start),a.end);const i=a.event;if(void 0===n){const t=Zse(i,(n=o.findAssetIndex(i,this.timelinePos))-1);if(i.isAssetPastPlayoutLimit(t)||i.appendInPlace&&this.timelinePos===a.end)return void this.advanceAfterAssetEnded(i,e,n);n=t}const l=this.waitingItem;
1this.assetsBuffered(a,s)||this.setBufferingItem(a);let c=this.preloadAssets(i,n);if(this.eventItemsMatch(a,l||r)||(this.waitingItem=a,this.log(`INTERSTITIAL_STARTED ${ele(a)} ${i.appendInPlace?"append in place":""}`),this.hls.trigger(Vee.INTERSTITIAL_STARTED,{event:i,schedule:t.slice(0),scheduleIndex:e})),!i.assetListLoaded)return void this.log(`Waiting for ASSET-LIST to complete loading ${i}`);if(i.assetListLoader&&(i.assetListLoader.destroy(),i.assetListLoader=void 0),!s)return void this.log(`Waiting for attachMedia to start Interstitial ${i}`);this.waitingItem=this.endedItem=null,this.playingItem=a;const u=i.assetList[n];if(!u)return void this.advanceAfterAssetEnded(i,e,n||0);if(c||(c=this.getAssetPlayer(u.identifier)),null===c||c.destroyed){const e=i.assetList.length;this.warn(`asset ${n+1}/${e} player destroyed ${i}`),c=this.createAssetPlayer(i,u,n),c.loadSource()}if(!this.eventItemsMatch(a,this.bufferingItem)&&i.appendInPlace&&this.isAssetBuffered(u))return;this.startAssetPlayer(c,n,t,e,s),this.shouldPlay&&nle(c.media)}else a?(this.resumePrimary(a,e,r),this.shouldPlay&&nle(this.hls.media)):i&&this.isInterstitial(r)&&(this.endedItem=null,this.playingItem=r,r.event.appendInPlace||this.attachPrimary(o.durations.primary,null))}get playbackDisabled(){return!1===this.hls.config.enableInterstitialPlayback}get primaryDetails(){var e;return null==(e=this.mediaSelection)?void 0:e.main.details}get primaryLive(){var e;return!(null==(e=this.primaryDetails)||!e.live)}resumePrimary(e,t,n){var r,i;if(this.playingItem=e,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(e),this.log(`resuming ${ele(e)}`),null==(r=this.detachedData)||!r.mediaSource){let n=this.timelinePos;(n<e.start||n>=e.end)&&(n=this.getPrimaryResumption(e,t),this.log(rle("resumePrimary",n)),this.timelinePos=n),this.attachPrimary(n,e)}if(!n)return;const o=null==(i=this.schedule)?void 0:i.items;o&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${ele(e)}`),this.hls.trigger(Vee.INTERSTITIALS_PRIMARY_RESUMED,{schedule:o.slice(0),scheduleIndex:t}),this.checkBuffer())}getPrimaryResumption(e,t){const n=e.start;if(this.primaryLive){const e=this.primaryDetails;if(0===t)return this.hls.startPosition;if(e&&(n<e.fragmentStart||n>e.edge))return this.hls.liveSyncPosition||-1}return n}isAssetBuffered(e){const t=this.getAssetPlayer(e.identifier);return null!=t&&t.hls?t.hls.bufferedToEnd:wre.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=e.timelineStart+(e.duration||0)}attachPrimary(e,t,n){t?this.setBufferingItem(t):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const r=this.primaryMedia;if(!r)return;const i=this.hls;i.media?this.checkBuffer():(this.transferMediaTo(i,r),n&&this.startLoadingPrimaryAt(e,n)),n||(this.log(rle("attachPrimary",e)),this.timelinePos=e,this.startLoadingPrimaryAt(e,n))}startLoadingPrimaryAt(e,t){var n;const r=this.hls;!r.loadingEnabled||!r.media||Math.abs(((null==(n=r.mainForwardBufferInfo)?void 0:n.start)||r.media.currentTime)-e)>.5?r.startLoad(e,t):r.bufferingEnabled||r.resumeBuffering()}onManifestLoading(){var e;this.stopLoad(),null==(e=this.schedule)||e.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(Vee.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(Vee.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(e,t){if(-1===t.level||!this.schedule)return;const n=this.hls.levels[t.level];if(!n.details)return;const r=tte(tte({},this.mediaSelection||this.altSelection),{},{main:n});this.mediaSelection=r,this.schedule.parseInterstitialDateRanges(r,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(e,t){const n=this.hls.audioTracks[t.id],r=this.mediaSelection;if(!r)return void(this.altSelection=tte(tte({},this.altSelection),{},{audio:n}));const i=tte(tte({},r),{},{audio:n});this.mediaSelection=i}onSubtitleTrackUpdated(e,t){const n=this.hls.subtitleTracks[t.id],r=this.mediaSelection;if(!r)return void(this.altSelection=tte(tte({},this.altSelection),{},{subtitles:n}));const i=tte(tte({},r),{},{subtitles:n});this.mediaSelection=i}onAudioTrackSwitching(e,t){const n=_ne(t);this.playerQueue.forEach(({hls:e})=>e&&(e.setAudioOption(t)||e.setAudioOption(n)))}onSubtitleTrackSwitch(e,t){const n=_ne(t);this.playerQueue.forEach(({hls:e})=>e&&(e.setSubtitleOption(t)||-1!==t.id&&e.setSubtitleOption(n)))}onBufferCodecs(e,t){const n=t.tracks;n&&(this.requiredTracks=n)}onBufferAppended(e,t){this.checkBuffer()}onBufferFlushed(e,t){const n=this.playingItem;if(n&&!this.itemsMatch(n,this.bufferingItem)&&!this.isInterstitial(n)){const e=this.timelinePos;this.bufferedPos=e,this.checkBuffer()}}onBufferedToEnd(e){if(!this.schedule)return;const t=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&t){for(let e=0;e<t.length;e++){const r=t[e];if(r.cue.post){var n;const e=this.schedule.findEventIndex(r.identifier),t=null==(n=this.schedule.items)?void 0:n[e];this.isInterstitial(t)&&this.eventItemsMatch(t,this.bufferingItem)&&this.bufferedToItem(t,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(e){const t=this.playingItem;if(!this.playingLastItem&&t){const e=this.findItemIndex(t);this.setSchedulePosition(e+1)}else this.shouldPlay=!1}
1updateItem(e,t){var n;const r=null==(n=this.schedule)?void 0:n.items;return e&&r&&r[this.findItemIndex(e,t)]||null}trimInPlace(e,t){if(this.isInterstitial(e)&&e.event.appendInPlace&&t.end-e.end>.25){e.event.assetList.forEach((t,n)=>{e.event.isAssetPastPlayoutLimit(n)&&this.clearAssetPlayer(t.identifier,null)});const n=e.end+.25,r=wre.bufferInfo(this.primaryMedia,n,0);if(r.end>n||(r.nextStart||0)>n){this.log(`trim buffered interstitial ${ele(e)} (was ${ele(t)})`);const r=!0;this.attachPrimary(n,null,r),this.flushFrontBuffer(n)}}}itemsMatch(e,t){return!!t&&(e===t||e.event&&t.event&&this.eventItemsMatch(e,t)||!e.event&&!t.event&&this.findItemIndex(e)===this.findItemIndex(t))}eventItemsMatch(e,t){var n;return!!t&&(e===t||e.event.identifier===(null==(n=t.event)?void 0:n.identifier))}findItemIndex(e,t){return e&&this.schedule?this.schedule.findItemIndex(e,t):-1}updateSchedule(e=!1){var t;const n=this.mediaSelection;n&&(null==(t=this.schedule)||t.updateSchedule(n,[],e))}checkBuffer(e){var t;const n=null==(t=this.schedule)?void 0:t.items;if(!n)return;const r=wre.bufferInfo(this.primaryMedia,this.timelinePos,0);e&&(this.bufferedPos=this.timelinePos),e||(e=r.len<1),this.updateBufferedPos(r.end,n,e)}updateBufferedPos(e,t,n){const r=this.schedule,i=this.bufferingItem;if(this.bufferedPos>e||!r)return;if(1===t.length&&this.itemsMatch(t[0],i))return void(this.bufferedPos=e);const o=this.playingItem,a=this.findItemIndex(o);let s=r.findItemIndexAtTime(e);if(this.bufferedPos<e){var l;const n=this.findItemIndex(i),r=Math.min(n+1,t.length-1),o=t[r];if((-1===s&&i&&e>=i.end||null!=(l=o.event)&&l.appendInPlace&&e+.01>=o.start)&&(s=r),this.isInterstitial(i)){const e=i.event;if(r-a>1&&!1===e.appendInPlace)return;if(0===e.assetList.length&&e.assetListLoader)return}if(this.bufferedPos=e,s>n&&s>a)this.bufferedToItem(o);else{const t=this.primaryDetails;this.primaryLive&&t&&e>t.edge-t.targetduration&&o.start<t.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(o)&&this.preloadAssets(o.event,0)}}else n&&o&&!this.itemsMatch(o,i)&&(s===a?this.bufferedToItem(o):s===a+1&&this.bufferedToItem(t[s]))}assetsBuffered(e,t){return 0!==e.event.assetList.length&&!e.event.assetList.some(e=>{const n=this.getAssetPlayer(e.identifier);return!(null!=n&&n.bufferedInPlaceToEnd(t))})}setBufferingItem(e){const t=this.bufferingItem,n=this.schedule;if(!this.itemsMatch(e,t)&&n){const{items:r,events:i}=n;if(!r||!i)return t;const o=this.isInterstitial(e),a=this.getBufferingPlayer();this.bufferingItem=e,this.bufferedPos=Math.max(e.start,Math.min(e.end,this.timelinePos));const s=a?a.remaining:t?t.end-this.timelinePos:0;if(this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${ele(e)}`+(t?` (${s.toFixed(2)} remaining)`:"")),!this.playbackDisabled)if(o){const t=n.findAssetIndex(e.event,this.bufferedPos);e.event.assetList.forEach((e,n)=>{const r=this.getAssetPlayer(e.identifier);r&&(n===t&&r.loadSource(),r.resumeBuffering())})}else this.hls.resumeBuffering(),this.playerQueue.forEach(e=>e.pauseBuffering());this.hls.trigger(Vee.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:i.slice(0),schedule:r.slice(0),bufferingIndex:this.findItemIndex(e),playingIndex:this.findItemIndex(this.playingItem)})}else this.bufferingItem!==e&&(this.bufferingItem=e);return t}bufferedToItem(e,t=0){const n=this.setBufferingItem(e);if(!this.playbackDisabled)if(this.isInterstitial(e))this.bufferedToEvent(e,t);else if(null!==n){this.bufferingAsset=null;const t=this.detachedData;if(t)if(t.mediaSource){const t=!0;this.attachPrimary(e.start,e,t)}else this.preloadPrimary(e);else this.preloadPrimary(e)}}preloadPrimary(e){const t=this.findItemIndex(e),n=this.getPrimaryResumption(e,t);this.startLoadingPrimaryAt(n)}bufferedToEvent(e,t){const n=e.event,r=0===n.assetList.length&&!n.assetListLoader,i=n.cue.once;if(r||!i){const e=this.preloadAssets(n,t);if(null!=e&&e.interstitial.appendInPlace){const t=this.primaryMedia;t&&this.bufferAssetPlayer(e,t)}}}preloadAssets(e,t){const n=e.assetUrl,r=e.assetList.length,i=0===r&&!e.assetListLoader,o=e.cue.once;if(i){const i=e.timelineStart;if(e.appendInPlace){var a;const t=this.playingItem;this.isInterstitial(t)||(null==t||null==(a=t.nextEvent)?void 0:a.identifier)!==e.identifier||this.flushFrontBuffer(i+.25)}let o,s=0;if(!this.playingItem&&this.primaryLive&&(s=this.hls.startPosition,-1===s&&(s=this.hls.liveSyncPosition||0)),s&&!e.cue.pre&&!e.cue.post){const e=s-i;e>0&&(o=Math.round(1e3*e)/1e3)}if(this.log(`Load interstitial asset ${t+1}/${n?1:r} ${e}${o?` live-start: ${s} start-offset: ${o}`:""}`),n)return this.createAsset(e,0,0,i,e.duration,n);const l=this.assetListLoader.loadAssetList(e,o);l&&(e.assetListLoader=l)}else if(!o&&r){for(let i=t;i<r;i++){const t=e.assetList[i],n=this.getAssetPlayerQueueIndex(t.identifier);-1!==n&&!this.playerQueue[n].destroyed||t.error||this.createAssetPlayer(e,t,i)}const n=e.assetList[t];if(n){const e=this.getAssetPlayer(n.identifier);return e&&e.loadSource(),e}}return null}flushFrontBuffer(e){const t=this.requiredTracks;t&&(this.log(`Removing front buffer starting at ${e}`),Object.keys(t).forEach(t=>{this.hls.trigger(Vee.BUFFER_FLUSHING,{startOffset:e,endOffset:1/0,type:t})}))}getAssetPlayerQueueIndex(e){const t=this.playerQueue;for(let n=0;n<t.length;n++)if(e===t[n].assetId)return n;return-1}getAssetPlayer(e){const t=this.getAssetPlayerQueueIndex(e);return this.playerQueue[t]||null}
1getBufferingPlayer(){const{playerQueue:e,primaryMedia:t}=this;if(t)for(let n=0;n<e.length;n++)if(e[n].media===t)return e[n];return null}createAsset(e,t,n,r,i,o){const a={parentIdentifier:e.identifier,identifier:Gse(e,o,t),duration:i,startOffset:n,timelineStart:r,uri:o};return this.createAssetPlayer(e,a,t)}createAssetPlayer(e,t,n){const r=this.hls,i=r.userConfig;let o=i.videoPreference;const a=r.loadLevelObj||r.levels[r.currentLevel];(o||a)&&(o=Jee({},o),a.videoCodec&&(o.videoCodec=a.videoCodec),a.videoRange&&(o.allowedVideoRanges=[a.videoRange]));const s=r.audioTracks[r.audioTrack],l=r.subtitleTracks[r.subtitleTrack];let c=0;if(this.primaryLive||e.appendInPlace){const e=this.timelinePos-t.timelineStart;if(e>1){const n=t.duration;n&&e<n&&(c=e)}}const u=t.identifier,d=tte(tte({},i),{},{maxMaxBufferLength:Math.min(180,r.config.maxMaxBufferLength),autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:r.sessionId,assetPlayerId:u,abrEwmaDefaultEstimate:r.bandwidthEstimate,interstitialsController:void 0,startPosition:c,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:o,audioPreference:s||i.audioPreference,subtitlePreference:l||i.subtitlePreference});e.appendInPlace&&(e.appendInPlaceStarted=!0,t.timelineStart&&(d.timelineOffset=t.timelineStart));const h=d.cmcd;null!=h&&h.sessionId&&h.contentId&&(d.cmcd=Jee({},h,{contentId:Hse(t.uri)})),this.getAssetPlayer(u)&&this.warn(`Duplicate date range identifier ${e} and asset ${u}`);const f=new Xse(this.HlsPlayerClass,d,e,t);this.playerQueue.push(f),e.assetList[n]=t;let p=!0;const m=r=>{if(r.live){var i;const t=new Error(`Interstitials MUST be VOD assets ${e}`),r={fatal:!0,type:jee.OTHER_ERROR,details:zee.INTERSTITIAL_ASSET_ITEM_ERROR,error:t},o=(null==(i=this.schedule)?void 0:i.findEventIndex(e.identifier))||-1;return void this.handleAssetItemError(r,e,o,n,t.message)}const o=r.edge-r.fragmentStart,a=t.duration;(p||null===a||o>a)&&(p=!1,this.log(`Interstitial asset "${u}" duration change ${a} > ${o}`),t.duration=o,this.updateSchedule())};f.on(Vee.LEVEL_UPDATED,(e,{details:t})=>m(t)),f.on(Vee.LEVEL_PTS_UPDATED,(e,{details:t})=>m(t)),f.on(Vee.EVENT_CUE_ENTER,()=>this.onInterstitialCueEnter());const g=(e,t)=>{const n=this.getAssetPlayer(u);if(n&&t.tracks){n.off(Vee.BUFFER_CODECS,g),n.tracks=t.tracks;const e=this.primaryMedia;this.bufferingAsset===n.assetItem&&e&&!n.media&&this.bufferAssetPlayer(n,e)}};f.on(Vee.BUFFER_CODECS,g),f.on(Vee.BUFFERED_TO_END,()=>{var n;const r=this.getAssetPlayer(u);if(this.log(`buffered to end of asset ${r}`),!r||!this.schedule)return;const i=this.schedule.findEventIndex(e.identifier),o=null==(n=this.schedule.items)?void 0:n[i];this.isInterstitial(o)&&this.advanceAssetBuffering(o,t)});const v=t=>()=>{if(!this.getAssetPlayer(u)||!this.schedule)return;this.shouldPlay=!0;const n=this.schedule.findEventIndex(e.identifier);this.advanceAfterAssetEnded(e,n,t)};return f.once(Vee.MEDIA_ENDED,v(n)),f.once(Vee.PLAYOUT_LIMIT_REACHED,v(1/0)),f.on(Vee.ERROR,(t,r)=>{if(!this.schedule)return;const i=this.getAssetPlayer(u);if(r.details===zee.BUFFER_STALLED_ERROR)return null!=i&&i.appendInPlace?void this.handleInPlaceStall(e):(this.onTimeupdate(),void this.checkBuffer(!0));this.handleAssetItemError(r,e,this.schedule.findEventIndex(e.identifier),n,`Asset player error ${r.error} ${e}`)}),f.on(Vee.DESTROYING,()=>{if(!this.getAssetPlayer(u)||!this.schedule)return;const t=new Error(`Asset player destroyed unexpectedly ${u}`),r={fatal:!0,type:jee.OTHER_ERROR,details:zee.INTERSTITIAL_ASSET_ITEM_ERROR,error:t};this.handleAssetItemError(r,e,this.schedule.findEventIndex(e.identifier),n,t.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${Qse(t)}`),this.hls.trigger(Vee.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:t,assetListIndex:n,event:e,player:f}),f}clearInterstitial(e,t){this.clearAssetPlayers(e,t),e.reset()}clearAssetPlayers(e,t){e.assetList.forEach(e=>{this.clearAssetPlayer(e.identifier,t)})}resetAssetPlayer(e){const t=this.getAssetPlayerQueueIndex(e);if(-1!==t){this.log(`reset asset player "${e}" after error`);const n=this.playerQueue[t];this.transferMediaFromPlayer(n,null),n.resetDetails()}}clearAssetPlayer(e,t){const n=this.getAssetPlayerQueueIndex(e);if(-1!==n){const e=this.playerQueue[n];this.log(`clear ${e} toSegment: ${t?ele(t):t}`),this.transferMediaFromPlayer(e,t),this.playerQueue.splice(n,1),e.destroy()}}emptyPlayerQueue(){let e;for(;e=this.playerQueue.pop();)e.destroy();this.playerQueue=[]}startAssetPlayer(e,t,n,r,i){const{interstitial:o,assetItem:a,assetId:s}=e,l=o.assetList.length,c=this.playingAsset;this.endedAsset=null,this.playingAsset=a,c&&c.identifier===s||(c&&(this.clearAssetPlayer(c.identifier,n[r]),delete c.error),this.log(`INTERSTITIAL_ASSET_STARTED ${t+1}/${l} ${Qse(a)}`),this.hls.trigger(Vee.INTERSTITIAL_ASSET_STARTED,{asset:a,assetListIndex:t,event:o,schedule:n.slice(0),scheduleIndex:r,player:e})),this.bufferAssetPlayer(e,i)}bufferAssetPlayer(e,t){var n,r;if(!this.schedule)return;const{interstitial:i,assetItem:o}=e,a=this.schedule.findEventIndex(i.identifier),s=null==(n=this.schedule.items)?void 0:n[a];if(!s)return;e.loadSource(),this.setBufferingItem(s),this.bufferingAsset=o;
1const l=this.getBufferingPlayer();if(l===e)return;const c=i.appendInPlace;if(c&&!1===(null==l?void 0:l.interstitial.appendInPlace))return;const u=(null==l?void 0:l.tracks)||(null==(r=this.detachedData)?void 0:r.tracks)||this.requiredTracks;if(c&&o!==this.playingAsset){if(!e.tracks)return void this.log(`Waiting for track info before buffering ${e}`);if(u&&!ute(u,e.tracks)){const t=new Error(`Asset ${Qse(o)} SourceBuffer tracks ('${Object.keys(e.tracks)}') are not compatible with primary content tracks ('${Object.keys(u)}')`),n={fatal:!0,type:jee.OTHER_ERROR,details:zee.INTERSTITIAL_ASSET_ITEM_ERROR,error:t},r=i.findAssetIndex(o);return void this.handleAssetItemError(n,i,a,r,t.message)}}this.transferMediaTo(e,t)}handleInPlaceStall(e){const t=this.schedule,n=this.primaryMedia;if(!t||!n)return;const r=n.currentTime,i=t.findAssetIndex(e,r),o=e.assetList[i];if(o){const a=this.getAssetPlayer(o.identifier);if(a){const s=a.currentTime||r-o.timelineStart,l=a.duration-s;if(this.warn(`Stalled at ${s} of ${s+l} in ${a} ${e} (media.currentTime: ${r})`),s&&(l/n.playbackRate<.5||a.bufferedInPlaceToEnd(n))&&a.hls){const n=t.findEventIndex(e.identifier);this.advanceAfterAssetEnded(e,n,i)}}}}advanceInPlace(e){const t=this.primaryMedia;t&&t.currentTime<e&&(t.currentTime=e)}handleAssetItemError(e,t,n,r,i){if(e.details===zee.BUFFER_STALLED_ERROR)return;const o=t.assetList[r]||null;if(this.warn(`INTERSTITIAL_ASSET_ERROR ${o?Qse(o):o} ${e.error}`),!this.schedule)return;const a=(null==o?void 0:o.identifier)||"",s=this.getAssetPlayerQueueIndex(a),l=this.playerQueue[s]||null,c=this.schedule.items,u=Jee({},e,{fatal:!1,errorAction:ere(!0),asset:o,assetListIndex:r,event:t,schedule:c,scheduleIndex:n,player:l});if(this.hls.trigger(Vee.INTERSTITIAL_ASSET_ERROR,u),!e.fatal)return;const d=this.playingAsset,h=this.bufferingAsset,f=new Error(i);if(o&&(this.clearAssetPlayer(a,null),o.error=f),t.assetList.some(e=>!e.error))for(let p=r;p<t.assetList.length;p++)this.resetAssetPlayer(t.assetList[p].identifier);else t.error=f;this.updateSchedule(!0),t.error?this.primaryFallback(t):d&&d.identifier===a?this.advanceAfterAssetEnded(t,n,r):h&&h.identifier===a&&this.isInterstitial(this.bufferingItem)&&this.advanceAssetBuffering(this.bufferingItem,h)}primaryFallback(e){const t=e.timelineStart,n=this.effectivePlayingItem;let r=this.timelinePos;if(n){this.log(`Fallback to primary from event "${e.identifier}" start: ${t} pos: ${r} playing: ${ele(n)} error: ${e.error}`),-1===r&&(r=this.hls.startPosition);const i=this.updateItem(n,r);this.itemsMatch(n,i)&&this.clearInterstitial(e,null),e.appendInPlace&&(this.attachPrimary(t,null),this.flushFrontBuffer(t))}else if(-1===r)return void this.checkStart();if(!this.schedule)return;const i=this.schedule.findItemIndexAtTime(r);this.setSchedulePosition(i)}onAssetListLoaded(e,t){var n,r;const i=t.event,o=i.identifier,a=t.assetListResponse.ASSETS;if(null==(n=this.schedule)||!n.hasEvent(o))return;const s=i.timelineStart,l=i.duration;let c=0;a.forEach((e,t)=>{const n=parseFloat(e.DURATION);this.createAsset(i,t,c,s+c,n,e.URI),c+=n}),i.duration=c,this.log(`Loaded asset-list with duration: ${c} (was: ${l}) ${i}`);const u=this.waitingItem,d=(null==u?void 0:u.event.identifier)===o;this.updateSchedule();const h=null==(r=this.bufferingItem)?void 0:r.event;if(d){var f;const e=this.schedule.findEventIndex(o),t=null==(f=this.schedule.items)?void 0:f[e];if(t){if(!this.playingItem&&this.timelinePos>t.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==e)return i.error=new Error(`Interstitial ${a.length?"no longer within playback range":"asset-list is empty"} ${this.timelinePos} ${i}`),this.log(i.error.message),this.updateSchedule(!0),void this.primaryFallback(i);this.setBufferingItem(t)}this.setSchedulePosition(e)}else if((null==h?void 0:h.identifier)===o){const e=i.assetList[0];if(e){const t=this.getAssetPlayer(e.identifier);if(h.appendInPlace){const e=this.primaryMedia;t&&e&&this.bufferAssetPlayer(t,e)}else t&&t.loadSource()}}}onError(e,t){if(this.schedule)switch(t.details){case zee.ASSET_LIST_PARSING_ERROR:case zee.ASSET_LIST_LOAD_ERROR:case zee.ASSET_LIST_LOAD_TIMEOUT:{const e=t.interstitial;e&&(this.updateSchedule(!0),this.primaryFallback(e));break}case zee.BUFFER_STALLED_ERROR:{const e=this.endedItem||this.waitingItem||this.playingItem;if(this.isInterstitial(e)&&e.event.appendInPlace)return void this.handleInPlaceStall(e.event);this.log(`Primary player stall @${this.timelinePos} bufferedPos: ${this.bufferedPos}`),this.onTimeupdate(),this.checkBuffer(!0);break}}}}});function sce(e){return e&&"object"==typeof e?Array.isArray(e)?e.map(sce):Object.keys(e).reduce((t,n)=>(t[n]=sce(e[n]),t),{}):e}class lce extends yre{constructor(e,t){super("gap-controller",e.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var e;null!=(e=this.media)&&e.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{var e;this.hls&&(this.ended=(null==(e=this.media)?void 0:e.currentTime)||1,this.hls.trigger(Vee.MEDIA_ENDED,{stalled:!1}))},this.hls=e,this.fragmentTracker=t,this.registerListeners()}registerListeners(){const{hls:e}=this;
vendor: 7,324 bytes, line 1
1e&&(e.on(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(Vee.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(Vee.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(e,t){this.setInterval(100),this.mediaSource=t.mediaSource;const n=this.media=t.media;$ie(n,"playing",this.onMediaPlaying),$ie(n,"waiting",this.onMediaWaiting),$ie(n,"ended",this.onMediaEnded)}onMediaDetaching(e,t){this.clearInterval();const{media:n}=this;n&&(Nie(n,"playing",this.onMediaPlaying),Nie(n,"waiting",this.onMediaWaiting),Nie(n,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(e,t){this.buffered=t.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var e;if(null==(e=this.media)||!e.readyState||!this.hasBuffered)return;const t=this.media.currentTime;this.poll(t,this.lastCurrentTime),this.lastCurrentTime=t}poll(e,t){var n,r;const i=null==(n=this.hls)?void 0:n.config;if(!i)return;const o=this.media;if(!o)return;const{seeking:a}=o,s=this.seeking&&!a,l=!this.seeking&&a,c=o.paused&&!a||o.ended||0===o.playbackRate;if(this.seeking=a,e!==t)return t&&(this.ended=0),this.moved=!0,a||(this.nudgeRetry=0,i.nudgeOnVideoHole&&!c&&e>t&&this.nudgeOnVideoHole(e,t)),void(0===this.waiting&&this.stallResolved(e));if(l||s)return void(s&&this.stallResolved(e));if(c)return this.nudgeRetry=0,this.stallResolved(e),void(!this.ended&&o.ended&&this.hls&&(this.ended=e||1,this.hls.trigger(Vee.MEDIA_ENDED,{stalled:!1})));if(!wre.getBuffered(o).length)return void(this.nudgeRetry=0);const u=wre.bufferInfo(o,e,0),d=u.nextStart||0,h=this.fragmentTracker;if(a&&h&&this.hls){const t=cce(this.hls.inFlightFragments,e),n=u.len>2,r=!d||t||d-e>2&&!h.getPartialFragment(e);if(n||r)return;this.moved=!1}const f=null==(r=this.hls)?void 0:r.latestLevelDetails;if(!this.moved&&null!==this.stalled&&h){if(!(u.len>0||d))return;const t=Math.max(d,u.start||0)-e,n=null!=f&&f.live?2*f.targetduration:2,r=dce(e,h);if(t>0&&(t<=n||r))return void(o.paused||this._trySkipBufferHole(r))}const p=i.detectStallWithCurrentTimeMs,m=self.performance.now(),g=this.waiting;let v=this.stalled;if(null===v){if(!(g>0&&m-g<p))return void(this.stalled=m);v=this.stalled=g}const y=m-v;if(!a&&(y>=p||g)&&this.hls){var b;if("ended"===(null==(b=this.mediaSource)?void 0:b.readyState)&&(null==f||!f.live)&&Math.abs(e-((null==f?void 0:f.edge)||0))<1){if(this.ended)return;return this.ended=e||1,void this.hls.trigger(Vee.MEDIA_ENDED,{stalled:!0})}if(this._reportStall(u),!this.media||!this.hls)return}const C=wre.bufferInfo(o,e,i.maxBufferHole);this._tryFixBufferStall(C,y,e)}stallResolved(e){const t=this.stalled;if(t&&this.hls&&(this.stalled=null,this.stallReported)){const n=self.performance.now()-t;this.log(`playback not stuck anymore @${e}, after ${Math.round(n)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(Vee.STALL_RESOLVED,{})}}nudgeOnVideoHole(e,t){var n;const r=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&null!=(n=this.buffered.audio)&&n.length&&r&&r.length>1&&e>r.end(0)){const n=wre.bufferedInfo(wre.timeRangesToArray(this.buffered.audio),e,0);if(n.len>1&&t>=n.start){const n=wre.timeRangesToArray(r),i=wre.bufferedInfo(n,t,0).bufferedIndex;if(i>-1&&i<n.length-1){const t=wre.bufferedInfo(n,e,0).bufferedIndex,r=n[i].end,o=n[i+1].start;if((-1===t||t>i)&&o-r<1&&e-r<2){const n=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${e} hole: ${r} -> ${o} buffered index: ${t}`);this.warn(n.message),this.media.currentTime+=1e-6;let i=dce(e,this.fragmentTracker);i&&"fragment"in i?i=i.fragment:i||(i=void 0);const a=wre.bufferInfo(this.media,e,0);this.hls.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:n,reason:n.message,frag:i,buffer:a.len,bufferInfo:a})}}}}}_tryFixBufferStall(e,t,n){var r,i;const{fragmentTracker:o,media:a}=this,s=null==(r=this.hls)?void 0:r.config;if(!a||!o||!s)return;const l=null==(i=this.hls)?void 0:i.latestLevelDetails,c=dce(n,o);if((c||null!=l&&l.live&&n<l.fragmentStart)&&(this._trySkipBufferHole(c)||!this.media))return;const u=e.buffered,d=this.adjacentTraversal(e,n);(u&&u.length>1&&e.len>s.maxBufferHole||e.nextStart&&(e.nextStart-n<s.maxBufferHole||d))&&(t>1e3*s.highBufferWatchdogPeriod||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(e))}adjacentTraversal(e,t){const n=this.fragmentTracker,r=e.nextStart;if(n&&r){const e=n.getFragAtPos(t,qee),i=n.getFragAtPos(r,qee);if(e&&i)return i.sn-e.sn<2}return!1}_reportStall(e){const{hls:t,media:n,stallReported:r,stalled:i}=this;if(!r&&null!==i&&n&&t){this.stallReported=!0;const r=new Error(`Playback stalling at @${n.currentTime} due to low buffer (${One(e)})`);this.warn(r.message),t.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.BUFFER_STALLED_ERROR,fatal:!1,error:r,buffer:e.len,bufferInfo:e,stalled:{start:i}})}}_trySkipBufferHole(e){var t;const{fragmentTracker:n,media:r}=this,i=null==(t=this.hls)?void 0:t.config;if(!r||!n||!i)return 0;const o=r.currentTime,a=wre.bufferInfo(r,o,0),s=o<a.start?a.start:a.nextStart;if(s&&this.hls){const t=a.len<=i.maxBufferHole,c=a.len>0&&a.len<1&&r.readyState<3,u=s-o;if(u>0&&(t||c)){if(u>i.maxBufferHole){let t=!1;if(0===o){const e=n.getAppendedFrag(0,qee);e&&s<e.end&&(t=!0)}if(!t&&e){var l;if(null==(l=this.hls.loadLevelObj)||!l.details)return 0;if(cce(this.hls.inFlightFragments,s))return 0;let t=!1,r=e.end;for(;r<s;){const e=dce(r,n);if(!e){t=!0;break}r+=e.duration}if(t)return 0}}const t=Math.max(s+.05,o+.1);if(this.warn(`skipping hole, adjusting currentTime from ${o} to ${t}`),this.moved=!0,r.currentTime=t,null==e||!e.gap){const n=new Error(`fragment loaded with buffer holes, seeking from ${o} to ${t}`),r={type:jee.MEDIA_ERROR,details:zee.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:n,reason:n.message,buffer:a.len,bufferInfo:a};e&&("fragment"in e?r.part=e:r.frag=e),this.hls.trigger(Vee.ERROR,r)}return t}}return 0}_tryNudgeBuffer(e){const{hls:t,media:n,nudgeRetry:r}=this,i=null==t?void 0:t.config;if(!n||!i)return 0;const o=n.currentTime;if(this.nudgeRetry++,r<i.nudgeMaxRetry){const a=o+(r+1)*i.nudgeOffset,s=new Error(`Nudging 'currentTime' from ${o} to ${a}`);this.warn(s.message),n.currentTime=a,t.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.BUFFER_NUDGE_ON_STALL,error:s,fatal:!1,buffer:e.len,bufferInfo:e})}else{const n=new Error(`Playhead still not moving while enough data buffered @${o} after ${i.nudgeMaxRetry} nudges`);this.error(n.message),t.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.BUFFER_STALLED_ERROR,error:n,fatal:!0,buffer:e.len,bufferInfo:e})}}}function cce(e,t){const n=uce(e.main);if(n&&n.start<=t)return n;const r=uce(e.audio);return r&&r.start<=t?r:null}function uce(e){if(!e)return null;switch(e.state){case jie:case Bie:case qie:case Kie:return null}return e.frag}function dce(e,t){return t.getAppendedFrag(e,qee)||t.getPartialFragment(e)}function hce(){if("undefined"!=typeof self)return self.VTTCue||self.TextTrackCue}function fce(e,t,n,r,i){let o=new e(t,n,"");
1try{o.value=r,i&&(o.type=i)}catch(a){o=new e(t,n,One(i?tte({type:i},r):r))}return o}const pce=(()=>{const e=hce();try{e&&new e(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class mce{constructor(e){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(Vee.EVENT_CUE_ENTER,{})},this.hls=e,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:e}=this;e&&(e.on(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.on(Vee.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(Vee.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(Vee.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:e}=this;e&&(e.off(Vee.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.off(Vee.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(Vee.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(Vee.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(e,t){var n;this.media=t.media,!1===(null==(n=t.overrides)?void 0:n.cueRemoval)&&(this.removeCues=!1)}onMediaAttached(){var e;const t=null==(e=this.hls)?void 0:e.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(e,t){this.media=null,t.transferMedia||(this.id3Track&&(this.removeCues&&jse(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(e){const t=this.getID3Track(e.textTracks);return t.mode="hidden",t}getID3Track(e){if(this.media){for(let t=0;t<e.length;t++){const n=e[t];if("metadata"===n.kind&&"id3"===n.label)return Nse(n,this.media),n}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(e,t){if(!this.media||!this.hls)return;const{enableEmsgMetadataCues:n,enableID3MetadataCues:r}=this.hls.config;if(!n&&!r)return;const{samples:i}=t;this.id3Track||(this.id3Track=this.createTrack(this.media));const o=hce();if(o)for(let a=0;a<i.length;a++){const e=i[a].type;if(e===Toe.emsg&&!n||!r)continue;const t=Eoe(i[a].data),s=i[a].pts;let l=s+i[a].duration;l>pce&&(l=pce),l-s<=0&&(l=s+.25);for(let n=0;n<t.length;n++){const r=t[n];if(!koe(r)){this.updateId3CueEnds(s,e);const t=fce(o,s,l,r,e);t&&this.id3Track.addCue(t)}}}}updateId3CueEnds(e,t){var n;const r=null==(n=this.id3Track)?void 0:n.cues;if(r)for(let i=r.length;i--;){const n=r[i];n.type===t&&n.startTime<e&&n.endTime===pce&&(n.endTime=e)}}onBufferFlushing(e,{startOffset:t,endOffset:n,type:r}){const{id3Track:i,hls:o}=this;if(!o)return;const{config:{enableEmsgMetadataCues:a,enableID3MetadataCues:s}}=o;if(i&&(a||s)){let e;e="audio"===r?e=>e.type===Toe.audioId3&&s:"video"===r?e=>e.type===Toe.emsg&&a:e=>e.type===Toe.audioId3&&s||e.type===Toe.emsg&&a,zse(i,t,n,e)}}onLevelUpdated(e,{details:t}){this.updateDateRangeCues(t,!0)}onLevelPtsUpdated(e,t){Math.abs(t.drift)>.01&&this.updateDateRangeCues(t.details)}updateDateRangeCues(e,t){if(!this.hls||!this.media)return;const{assetPlayerId:n,timelineOffset:r,enableDateRangeMetadataCues:i,interstitialsController:o}=this.hls.config;if(!i)return;const a=hce();if(n&&r&&!o){const{fragmentStart:t,fragmentEnd:r}=e;let i=this.assetCue;i?(i.startTime=t,i.endTime=r):a&&(i=this.assetCue=fce(a,t,r,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),i&&(i.id=n,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(i),i.addEventListener("enter",this.onEventCueEnter)))}if(!e.hasProgramDateTime)return;const{id3Track:s}=this,{dateRanges:l}=e,c=Object.keys(l);let u=this.dateRangeCuesAppended;var d;if(s&&t)if(null!=(d=s.cues)&&d.length){const e=Object.keys(u).filter(e=>!c.includes(e));for(let t=e.length;t--;){var h;const n=e[t],r=null==(h=u[n])?void 0:h.cues;
vendor: 6,525 bytes, line 1
1delete u[n],r&&Object.keys(r).forEach(e=>{const t=r[e];if(t){t.removeEventListener("enter",this.onEventCueEnter);try{s.removeCue(t)}catch(n){}}})}}else u=this.dateRangeCuesAppended={};const f=e.fragments[e.fragments.length-1];if(0!==c.length&&$ee(null==f?void 0:f.programDateTime)){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let e=0;e<c.length;e++){const t=c[e],n=l[t],r=n.startTime,i=u[t],s=(null==i?void 0:i.cues)||{};let d=(null==i?void 0:i.durationKnown)||!1,h=pce;const{duration:f,endDate:p}=n;if(p&&null!==f)h=r+f,d=!0;else if(n.endOnNext&&!d){const e=c.reduce((e,t)=>{if(t!==n.id){const r=l[t];if(r.class===n.class&&r.startDate>n.startDate&&(!e||n.startDate<e.startDate))return r}return e},null);e&&(h=e.startTime,d=!0)}const m=Object.keys(n.attr);for(let e=0;e<m.length;e++){const l=m[e];if(!Pre(l))continue;const c=s[l];if(c)!d||null!=i&&i.durationKnown?Math.abs(c.startTime-r)>.01&&(c.startTime=r,c.endTime=h):c.endTime=h;else if(a){let e=n.attr[l];Rre(l)&&(e=fte(e));const i=fce(a,r,h,{key:l,data:e},Toe.dateRange);i&&(i.id=t,this.id3Track.addCue(i),s[l]=i,o&&("X-ASSET-LIST"!==l&&"X-ASSET-URL"!==l||i.addEventListener("enter",this.onEventCueEnter)))}}u[t]={cues:s,dateRange:n,durationKnown:d}}}}}class gce{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:e}=this,t=this.levelDetails;if(!e||!t)return;this.currentTime=e.currentTime;const n=this.computeLatency();if(null===n)return;this._latency=n;const{lowLatencyMode:r,maxLiveSyncPlaybackRate:i}=this.config;if(!r||1===i||!t.live)return;const o=this.targetLatency;if(null===o)return;const a=n-o;if(a<Math.min(this.maxLatency,o+t.targetduration)&&a>.05&&this.forwardBufferLength>1){const t=Math.min(2,Math.max(1,i)),n=Math.round(2/(1+Math.exp(-.75*a-this.edgeStalled))*20)/20,r=Math.min(t,Math.max(1,n));this.changeMediaPlaybackRate(e,r)}else 1!==e.playbackRate&&0!==e.playbackRate&&this.changeMediaPlaybackRate(e,1)},this.hls=e,this.config=e.config,this.registerListeners()}get levelDetails(){var e;return(null==(e=this.hls)?void 0:e.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:e}=this;if(void 0!==e.liveMaxLatencyDuration)return e.liveMaxLatencyDuration;const t=this.levelDetails;return t?e.liveMaxLatencyDurationCount*t.targetduration:0}get targetLatency(){const e=this.levelDetails;if(null===e||null===this.hls)return null;const{holdBack:t,partHoldBack:n,targetduration:r}=e,{liveSyncDuration:i,liveSyncDurationCount:o,lowLatencyMode:a}=this.config,s=this.hls.userConfig;let l=a&&n||t;(this._targetLatencyUpdated||s.liveSyncDuration||s.liveSyncDurationCount||0===l)&&(l=void 0!==i?i:o*r);const c=r;return l+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,c)}set targetLatency(e){this.stallCount=0,this.config.liveSyncDuration=e,this._targetLatencyUpdated=!0}get liveSyncPosition(){const e=this.estimateLiveEdge(),t=this.targetLatency;if(null===e||null===t)return null;const n=this.levelDetails;if(null===n)return null;const r=n.edge,i=e-t-this.edgeStalled,o=r-n.totalduration,a=r-(this.config.lowLatencyMode&&n.partTarget||n.targetduration);return Math.min(Math.max(o,i),a)}get drift(){const e=this.levelDetails;return null===e?1:e.drift}get edgeStalled(){const e=this.levelDetails;if(null===e)return 0;const t=3*(this.config.lowLatencyMode&&e.partTarget||e.targetduration);return Math.max(e.age-t,0)}get forwardBufferLength(){const{media:e}=this,t=this.levelDetails;if(!e||!t)return 0;const n=e.buffered.length;return(n?e.buffered.end(n-1):t.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:e}=this;e&&(e.on(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(Vee.ERROR,this.onError,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(Vee.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(Vee.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(Vee.ERROR,this.onError,this))}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(e,{details:t}){t.advanced&&this.onTimeupdate(),!t.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(e,t){var n;t.details===zee.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&null!=(n=this.levelDetails)&&n.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(e,t){var n,r;e.playbackRate!==t&&(null==(n=this.hls)||n.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${null==(r=this.targetLatency)?void 0:r.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${e.playbackRate} to ${t}`),e.playbackRate=t)}estimateLiveEdge(){const e=this.levelDetails;return null===e?null:e.edge+e.age}computeLatency(){const e=this.estimateLiveEdge();return null===e?null:e-this.currentTime}}class vce extends Mae{constructor(e,t){super(e,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=t,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(Vee.LEVEL_LOADED,this.onLevelLoaded,this),e.on(Vee.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(Vee.FRAG_BUFFERED,this.onFragBuffered,this),e.on(Vee.ERROR,this.onError,this)}_unregisterListeners(){const{hls:e}=this;e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(Vee.LEVEL_LOADED,this.onLevelLoaded,this),e.off(Vee.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(Vee.FRAG_BUFFERED,this.onFragBuffered,this),e.off(Vee.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}
1stopLoad(){this._levels.forEach(e=>{e.loadError=0,e.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(e,t){this.resetLevels()}onManifestLoaded(e,t){const n=this.hls.config.preferManagedMediaSource,r=[],i={},o={};let a=!1,s=!1,l=!1;t.levels.forEach(e=>{const t=e.attrs;let{audioCodec:c,videoCodec:u}=e;c&&(e.audioCodec=c=fne(c,n)||void 0),u&&(u=e.videoCodec=function(e){const t=e.split(",");for(let n=0;n<t.length;n++){const e=t[n].split(".");e.length>2&&"avc1"===e[0]&&(t[n]=`avc1.${parseInt(e[1]).toString(16)}${("000"+parseInt(e[2]).toString(16)).slice(-4)}`)}return t.join(",")}(u));const{width:d,height:h,unknownCodecs:f}=e,p=(null==f?void 0:f.length)||0;if(a||(a=!(!d||!h)),s||(s=!!u),l||(l=!!c),p||c&&!this.isAudioSupported(c)||u&&!this.isVideoSupported(u))return void this.log(`Some or all CODECS not supported "${t.CODECS}"`);const{CODECS:m,"FRAME-RATE":g,"HDCP-LEVEL":v,"PATHWAY-ID":y,RESOLUTION:b,"VIDEO-RANGE":C}=t,w=`${y||"."}-${e.bitrate}-${b}-${g}-${m}-${C}-${v}`;if(i[w])if(i[w].uri===e.url||e.attrs["PATHWAY-ID"])i[w].addGroupId("audio",t.AUDIO),i[w].addGroupId("text",t.SUBTITLES);else{const t=o[w]+=1;e.attrs["PATHWAY-ID"]=new Array(t+1).join(".");const n=this.createLevel(e);i[w]=n,r.push(n)}else{const t=this.createLevel(e);i[w]=t,o[w]=1,r.push(t)}}),this.filterAndSortMediaOptions(r,t,a,s,l)}createLevel(e){const t=new Pne(e),n=e.supplemental;if(null!=n&&n.videoCodec&&!this.isVideoSupported(n.videoCodec)){const e=new Error(`SUPPLEMENTAL-CODECS not supported "${n.videoCodec}"`);this.log(e.message),t.supportedResult=wne(e,[])}return t}isAudioSupported(e){return ane(e,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(e){return ane(e,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(e,t,n,r,i){var o;let a=[],s=[],l=e;const c=(null==(o=t.stats)?void 0:o.parsing)||{};if((n||r)&&i&&(l=l.filter(({videoCodec:e,videoRange:t,width:n,height:r})=>{return(!!e||!(!n||!r))&&!!(i=t)&&Mne.indexOf(i)>-1;var i})),0===l.length)return Promise.resolve().then(()=>{if(this.hls){let e="no level with compatible codecs found in manifest",n=e;t.levels.length&&(n=`one or more CODECS in variant not supported: ${One(t.levels.map(e=>e.attrs.CODECS).filter((e,t,n)=>n.indexOf(e)===t))}`,this.warn(n),e+=` (${n})`);const r=new Error(e);this.hls.trigger(Vee.ERROR,{type:jee.MEDIA_ERROR,details:zee.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:t.url,error:r,reason:n})}}),void(c.end=performance.now());t.audioTracks&&(a=t.audioTracks.filter(e=>!e.audioCodec||this.isAudioSupported(e.audioCodec)),yce(a)),t.subtitles&&(s=t.subtitles,yce(s));const u=l.slice(0);l.sort((e,t)=>{if(e.attrs["HDCP-LEVEL"]!==t.attrs["HDCP-LEVEL"])return(e.attrs["HDCP-LEVEL"]||"")>(t.attrs["HDCP-LEVEL"]||"")?1:-1;if(n&&e.height!==t.height)return e.height-t.height;if(e.frameRate!==t.frameRate)return e.frameRate-t.frameRate;if(e.videoRange!==t.videoRange)return Mne.indexOf(e.videoRange)-Mne.indexOf(t.videoRange);if(e.videoCodec!==t.videoCodec){const n=cne(e.videoCodec),r=cne(t.videoCodec);if(n!==r)return r-n}if(e.uri===t.uri&&e.codecSet!==t.codecSet){const n=une(e.codecSet),r=une(t.codecSet);if(n!==r)return r-n}return e.averageBitrate!==t.averageBitrate?e.averageBitrate-t.averageBitrate:0});let d=u[0];if(this.steering&&(l=this.steering.filterParsedLevels(l),l.length!==u.length))for(let v=0;v<u.length;v++)if(u[v].pathwayId===l[0].pathwayId){d=u[v];break}this._levels=l;for(let v=0;v<l.length;v++)if(l[v]===d){var h;this._firstLevel=v;const e=d.bitrate,t=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${l.length} level(s) found, first bitrate: ${e}`),void 0===(null==(h=this.hls.userConfig)?void 0:h.abrEwmaDefaultEstimate)){const n=Math.min(e,this.hls.config.abrEwmaDefaultEstimateMax);n>t&&t===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=n)}break}const f=i&&!r,p=this.hls.config,m=!(!p.audioStreamController||!p.audioTrackController),g={levels:l,audioTracks:a,subtitleTracks:s,sessionData:t.sessionData,sessionKeys:t.sessionKeys,firstLevel:this._firstLevel,stats:t.stats,audio:i,video:r,altAudio:m&&!f&&a.some(e=>!!e.url)};c.end=performance.now(),this.hls.trigger(Vee.MANIFEST_PARSED,g)}get levels(){return 0===this._levels.length?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(e){const t=this._levels;if(0===t.length)return;if(e<0||e>=t.length){const n=new Error("invalid level idx"),r=e<0;
vendor: 25,399 bytes, line 1
1if(this.hls.trigger(Vee.ERROR,{type:jee.OTHER_ERROR,details:zee.LEVEL_SWITCH_ERROR,level:e,fatal:r,error:n,reason:n.message}),r)return;e=Math.min(e,t.length-1)}const n=this.currentLevelIndex,r=this.currentLevel,i=r?r.attrs["PATHWAY-ID"]:void 0,o=t[e],a=o.attrs["PATHWAY-ID"];if(this.currentLevelIndex=e,this.currentLevel=o,n===e&&r&&i===a)return;this.log(`Switching to level ${e} (${o.height?o.height+"p ":""}${o.videoRange?o.videoRange+" ":""}${o.codecSet?o.codecSet+" ":""}@${o.bitrate})${a?" with Pathway "+a:""} from level ${n}${i?" with Pathway "+i:""}`);const s={level:e,attrs:o.attrs,details:o.details,bitrate:o.bitrate,averageBitrate:o.averageBitrate,maxBitrate:o.maxBitrate,realBitrate:o.realBitrate,width:o.width,height:o.height,codecSet:o.codecSet,audioCodec:o.audioCodec,videoCodec:o.videoCodec,audioGroups:o.audioGroups,subtitleGroups:o.subtitleGroups,loaded:o.loaded,loadError:o.loadError,fragmentError:o.fragmentError,name:o.name,id:o.id,uri:o.uri,url:o.url,urlId:0,audioGroupIds:o.audioGroupIds,textGroupIds:o.textGroupIds};this.hls.trigger(Vee.LEVEL_SWITCHING,s);const l=o.details;if(!l||l.live){const e=this.switchParams(o.uri,null==r?void 0:r.details,l);this.loadPlaylist(e)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(e){this.manualLevelIndex=e,void 0===this._startLevel&&(this._startLevel=e),-1!==e&&(this.level=e)}get firstLevel(){return this._firstLevel}set firstLevel(e){this._firstLevel=e}get startLevel(){if(void 0===this._startLevel){const e=this.hls.config.startLevel;return void 0!==e?e:this.hls.firstAutoLevel}return this._startLevel}set startLevel(e){this._startLevel=e}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(e){if(this.steering){const t=this.steering.pathways(),n=e.filter(e=>-1!==t.indexOf(e));if(e.length<1)return void this.warn(`pathwayPriority ${e} should contain at least one pathway from list: ${t}`);this.steering.pathwayPriority=n}}onError(e,t){!t.fatal&&t.context&&t.context.type===Uee&&t.context.level===this.level&&this.checkRetry(t)}onFragBuffered(e,{frag:t}){if(void 0!==t&&t.type===qee){const e=t.elementaryStreams;if(!Object.keys(e).some(t=>!!e[t]))return;const n=this._levels[t.level];null!=n&&n.loadError&&(this.log(`Resetting level error count of ${n.loadError} on frag buffered`),n.loadError=0)}}onLevelLoaded(e,t){var n;const{level:r,details:i}=t,o=t.levelInfo;var a;if(!o)return this.warn(`Invalid level index ${r}`),void(null!=(a=t.deliveryDirectives)&&a.skip&&(i.deltaUpdateFailed=!0));if(o===this.currentLevel||t.withoutMultiVariant){0===o.fragmentError&&(o.loadError=0);let e=o.details;e===t.details&&e.advanced&&(e=void 0),this.playlistLoaded(r,t,e)}else null!=(n=t.deliveryDirectives)&&n.skip&&(i.deltaUpdateFailed=!0)}loadPlaylist(e){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=this.getUrlWithDirectives(e.uri,t),r=this.currentLevelIndex,i=e.attrs["PATHWAY-ID"],o=e.details,a=null==o?void 0:o.age;this.log(`Loading level index ${r}${void 0!==(null==t?void 0:t.msn)?" at sn "+t.msn+" part "+t.part:""}${i?" Pathway "+i:""}${a&&o.live?" age "+a.toFixed(1)+(o.type&&" "+o.type||""):""} ${n}`),this.hls.trigger(Vee.LEVEL_LOADING,{url:n,level:r,levelInfo:e,pathwayId:e.attrs["PATHWAY-ID"],id:0,deliveryDirectives:t||null})}get nextLoadLevel(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(e){this.level=e,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=e)}removeLevel(e){var t;if(1===this._levels.length)return;const n=this._levels.filter((t,n)=>n!==e||(this.steering&&this.steering.removeLevel(t),t===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,t.details&&t.details.fragments.forEach(e=>e.level=-1)),!1));Lie(n),this._levels=n,this.currentLevelIndex>-1&&null!=(t=this.currentLevel)&&t.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const r=n.length-1;this._firstLevel=Math.min(this._firstLevel,r),this._startLevel&&(this._startLevel=Math.min(this._startLevel,r)),this.hls.trigger(Vee.LEVELS_UPDATED,{levels:n})}onLevelsUpdated(e,{levels:t}){this._levels=t}checkMaxAutoUpdated(){const{autoLevelCapping:e,maxAutoLevel:t,maxHdcpLevel:n}=this.hls;this._maxAutoLevel!==t&&(this._maxAutoLevel=t,this.hls.trigger(Vee.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:e,levels:this.levels,maxAutoLevel:t,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:n}))}}function yce(e){const t={};e.forEach(e=>{const n=e.groupId||"";e.id=t[n]=t[n]||0,t[n]++})}function bce(){return self.SourceBuffer||self.WebKitSourceBuffer}function Cce(){if(!cte())return!1;const e=bce();return!e||e.prototype&&"function"==typeof e.prototype.appendBuffer&&"function"==typeof e.prototype.remove}class wce extends Qie{constructor(e,t,n){super(e,t,n,"stream-controller",qee),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const e=this.media,t=e?e.currentTime:null;if(null===t||!$ee(t))return;if(this.log(`Media seeked to ${t.toFixed(3)}`),!this.getBufferedFrag(t))return;const n=this.getFwdBufferInfoAtPos(e,t,qee,0);null!==n&&0!==n.len?this.tick():this.warn(`Main forward buffer length at ${t} on "seeked" event ${n?n.len:"empty"})`)},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.on(Vee.LEVEL_LOADING,this.onLevelLoading,this),e.on(Vee.LEVEL_LOADED,this.onLevelLoaded,this),e.on(Vee.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.on(Vee.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(Vee.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(Vee.BUFFER_CREATED,this.onBufferCreated,this),e.on(Vee.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(Vee.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(Vee.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(Vee.MANIFEST_PARSED,this.onManifestParsed,this),e.off(Vee.LEVEL_LOADED,this.onLevelLoaded,this),e.off(Vee.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.off(Vee.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(Vee.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(Vee.BUFFER_CREATED,this.onBufferCreated,this),e.off(Vee.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(Vee.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(Vee.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(e,t){if(this.levels){const{lastCurrentTime:n,hls:r}=this;if(this.stopLoad(),this.setInterval(100),this.level=-1,!this.startFragRequested){let e=r.startLevel;-1===e&&(r.config.testBandwidth&&this.levels.length>1?(e=0,this.bitrateTest=!0):e=r.firstAutoLevel),r.nextLoadLevel=e,this.level=r.loadLevel,this._hasEnoughToStart=!!t}n>0&&-1===e&&!t&&(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n),this.state=jie,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}else this._forceStartLoad=!0,this.state=Bie}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Zie:{const{levels:e,level:t}=this,n=null==e?void 0:e[t],r=null==n?void 0:n.details;if(r&&(!r.live||this.levelLastLoaded===n&&!this.waitForLive(n))){if(this.waitForCdnTuneIn(r))break;this.state=jie;break}if(this.hls.nextLoadLevel!==this.level){this.state=jie;break}break}case Hie:this.checkRetryDate()}this.state===jie&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var e;super.onTickEnd(),null!=(e=this.media)&&e.readyState&&!1===this.media.seeking&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:e,levelLastLoaded:t,levels:n,media:r}=this;if(null===t||!r&&!this.primaryPrefetch&&(this.startFragRequested||!e.config.startFragPrefetch))return;if(this.altAudio&&this.audioOnly)return;const i=this.buffering?e.nextLoadLevel:e.loadLevel;if(null==n||!n[i])return;const o=n[i],a=this.getMainFwdBufferInfo();if(null===a)return;const s=this.getLevelDetails();if(s&&this._streamEnded(a,s)){const e={};return 2===this.altAudio&&(e.type="video"),this.hls.trigger(Vee.BUFFER_EOS,e),void(this.state=qie)}if(!this.buffering)return;e.loadLevel!==i&&-1===e.manualLevel&&this.log(`Adapting to level ${i} from level ${this.level}`),this.level=e.nextLoadLevel=i;const l=o.details;if(!l||this.state===Zie||this.waitForLive(o))return this.level=i,this.state=Zie,void(this.startFragRequested=!1);const c=a.len,u=this.getMaxBufferLength(o.maxBitrate);if(c>=u)return;this.backtrackFragment&&this.backtrackFragment.start>a.end&&(this.backtrackFragment=null);const d=this.backtrackFragment?this.backtrackFragment.start:a.end;let h=this.getNextFragment(d,l);if(this.couldBacktrack&&!this.fragPrevious&&h&&Ate(h)&&this.fragmentTracker.getState(h)!==ire){var f;const e=(null!=(f=this.backtrackFragment)?f:h).sn-l.startSN,t=l.fragments[e-1];t&&h.cc===t.cc&&(h=t,this.fragmentTracker.removeFragment(t))}else this.backtrackFragment&&a.len&&(this.backtrackFragment=null);if(h&&this.isLoopLoading(h,d)){if(!h.gap){const e=this.audioOnly&&!this.altAudio?Ste:xte,t=(e===xte?this.videoBuffer:this.mediaBuffer)||this.media;t&&this.afterBufferFlushed(t,e,qee)}h=this.getNextFragmentLoopLoading(h,l,a,qee,u)}h&&(this.exceedsMaxBuffer(a,u,h)||(!h.initSegment||h.initSegment.data||this.bitrateTest||(h=h.initSegment),this.loadFragment(h,o,d)))}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);r===tre||r===rre?Ate(e)?this.bitrateTest?(this.log(`Fragment ${e.sn} of level ${e.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(e,t)):super.loadFragment(e,t,n):this._loadInitSegment(e,t):this.clearTrackerIfNeeded(e)}getBufferedFrag(e){return this.fragmentTracker.getBufferedFrag(e,qee)}followingBufferedFrag(e){return e?this.getBufferedFrag(e.end+.5):null}immediateLevelSwitch(){var e;(this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY),0!==this.altAudio)&&(((null==(e=this.getLevelDetails())?void 0:e.fragmentStart)||0)>this.lastCurrentTime&&super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"))}nextLevelSwitch(){const{levels:e,media:t}=this;if(null!=t&&t.readyState){let n;const r=this.getAppendedFrag(t.currentTime);r&&r.start>1&&this.flushMainBuffer(0,r.start-1);const i=this.getLevelDetails();if(null!=i&&i.live){const e=this.getMainFwdBufferInfo();if(!e||e.len<2*i.targetduration)return}if(!t.paused&&e){const t=e[this.hls.nextLoadLevel],r=this.fragLastKbps;n=r&&this.fragCurrent?this.fragCurrent.duration*t.maxBitrate/(1e3*r)+1:0}else n=0;const o=this.getBufferedFrag(t.currentTime+n);if(o){const e=this.followingBufferedFrag(o);if(e){this.abortCurrentFrag();const t=e.maxStartPTS?e.maxStartPTS:e.start,n=e.duration,r=Math.max(o.end,t+Math.min(Math.max(n-this.config.maxFragLookUpTolerance,n*(this.couldBacktrack?.5:.125)),n*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(r,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const e=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,e&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.state){case zie:case Vie:case Hie:case Wie:case Gie:this.state=jie}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(e,t){super.flushMainBuffer(e,t,2===this.altAudio?"video":null)}onMediaAttached(e,t){super.onMediaAttached(e,t);const n=t.media;$ie(n,"playing",this.onMediaPlaying),$ie(n,"seeked",this.onMediaSeeked)}onMediaDetaching(e,t){const{media:n}=this;n&&(Nie(n,"playing",this.onMediaPlaying),Nie(n,"seeked",this.onMediaSeeked)),this.videoBuffer=null,this.fragPlaying=null,super.onMediaDetaching(e,t),t.transferMedia||(this._hasEnoughToStart=!1)}onManifestLoading(){super.onManifestLoading(),this.log("Trigger BUFFER_RESET"),this.hls.trigger(Vee.BUFFER_RESET,void 0),this.couldBacktrack=!1,this.fragLastKbps=0,this.fragPlaying=this.backtrackFragment=null,this.altAudio=0,this.audioOnly=!1}onManifestParsed(e,t){let n=!1,r=!1;for(let i=0;i<t.levels.length;i++){const e=t.levels[i].audioCodec;e&&(n=n||-1!==e.indexOf("mp4a.40.2"),r=r||-1!==e.indexOf("mp4a.40.5"))}this.audioCodecSwitch=n&&r&&!function(){var e;const t=bce();return"function"==typeof(null==t||null==(e=t.prototype)?void 0:e.changeType)}(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=t.levels,this.startFragRequested=!1}onLevelLoading(e,t){const{levels:n}=this;if(!n||this.state!==jie)return;const r=t.levelInfo;(!r.details||r.details.live&&(this.levelLastLoaded!==r||r.details.expired)||this.waitForCdnTuneIn(r.details))&&(this.state=Zie)}onLevelLoaded(e,t){var n;const{levels:r,startFragRequested:i}=this,o=t.level,a=t.details,s=a.totalduration;if(!r)return void this.warn(`Levels were reset while loading level ${o}`);this.log(`Level ${o} loaded [${a.startSN},${a.endSN}]${a.lastPartSn?`[part-${a.lastPartSn}-${a.lastPartIndex}]`:""}, cc [${a.startCC}, ${a.endCC}] duration:${s}`);const l=t.levelInfo,c=this.fragCurrent;!c||this.state!==Vie&&this.state!==Hie||c.level!==t.level&&c.loader&&this.abortCurrentFrag();let u=0;if(a.live||null!=(n=l.details)&&n.live){var d;if(this.checkLiveUpdate(a),a.deltaUpdateFailed)return;u=this.alignPlaylists(a,l.details,null==(d=this.levelLastLoaded)?void 0:d.details)}if(l.details=a,this.levelLastLoaded=l,i||this.setStartPosition(a,u),this.hls.trigger(Vee.LEVEL_UPDATED,{details:a,level:o}),this.state===Zie){if(this.waitForCdnTuneIn(a))return;this.state=jie}i&&a.live&&this.synchronizeToLiveEdge(a),this.tick()}synchronizeToLiveEdge(e){const{config:t,media:n}=this;if(!n)return;const r=this.hls.liveSyncPosition,i=this.getLoadPosition(),o=e.fragmentStart,a=e.edge,s=i>=o-t.maxFragLookUpTolerance&&i<=a;if(null!==r&&n.duration>r&&(i<r||!s)){const o=void 0!==t.liveMaxLatencyDuration?t.liveMaxLatencyDuration:t.liveMaxLatencyDurationCount*e.targetduration;if((!s&&n.readyState<4||i<a-o)&&(this._hasEnoughToStart||(this.nextLoadPosition=r),n.readyState))if(this.warn(`Playback: ${i.toFixed(3)} is located too far from the end of live sliding playlist: ${a}, reset currentTime to : ${r.toFixed(3)}`),"buffered"===this.config.liveSyncMode){var l;const e=wre.bufferInfo(n,r,0);if(null==(l=e.buffered)||!l.length)return void(n.currentTime=r);if(e.start<=i)return void(n.currentTime=r);const{nextStart:t}=wre.bufferedInfo(e.buffered,i,0);t&&(n.currentTime=t)}else n.currentTime=r}}_handleFragmentLoadProgress(e){var t;const n=e.frag,{part:r,payload:i}=e,{levels:o}=this;if(!o)return void this.warn(`Levels were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);const a=o[n.level];if(!a)return void this.warn(`Level ${n.level} not found on progress`);const s=a.details;if(!s)return this.warn(`Dropping fragment ${n.sn} of level ${n.level} after level details were reset`),void this.fragmentTracker.removeFragment(n);const l=a.videoCodec,c=s.PTSKnown||!s.live,u=null==(t=n.initSegment)?void 0:t.data,d=this._getAudioCodec(a),h=this.transmuxer=this.transmuxer||new Tae(this.hls,qee,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),f=r?r.index:-1,p=-1!==f,m=new bre(n.level,n.sn,n.stats.chunkCount,i.byteLength,f,p),g=this.initPTS[n.cc];h.push(i,u,d,l,n,r,s.totalduration,c,m,g)}onAudioTrackSwitching(e,t){const n=this.hls,r=0!==this.altAudio;if(jne(t.url,n))this.altAudio=1;else{if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const e=this.fragCurrent;e&&(this.log("Switching to main audio track, cancel main fragment load"),e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(r)return this.altAudio=0,this.fragmentTracker.removeAllFragments(),n.once(Vee.BUFFER_FLUSHED,()=>{this.hls&&this.hls.trigger(Vee.AUDIO_TRACK_SWITCHED,t)}),void n.trigger(Vee.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});n.trigger(Vee.AUDIO_TRACK_SWITCHED,t)}}onAudioTrackSwitched(e,t){const n=jne(t.url,this.hls);if(n){const e=this.videoBuffer;e&&this.mediaBuffer!==e&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=e)}this.altAudio=n?2:0,this.tick()}onBufferCreated(e,t){const n=t.tracks;let r,i,o=!1;for(const a in n){const e=n[a];if("main"===e.id){if(i=a,r=e,"video"===a){const e=n[a];e&&(this.videoBuffer=e.buffer)}}else o=!0}o&&r?(this.log(`Alternate track found, use ${i}.buffered to schedule main fragment loading`),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media}onFragBuffered(e,t){const{frag:n,part:r}=t,i=n.type===qee;if(i){if(this.fragContextChanged(n))return this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}`),void(this.state===Gie&&(this.state=jie));const e=r?r.stats:n.stats;this.fragLastKbps=Math.round(8*e.total/(e.buffering.end-e.loading.first)),Ate(n)&&(this.fragPrevious=n),this.fragBufferedComplete(n,r)}const o=this.media;o&&(!this._hasEnoughToStart&&wre.getBuffered(o).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),i&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(e,t){var n;if(t.fatal)this.state=Kie;else switch(t.details){case zee.FRAG_GAP:case zee.FRAG_PARSING_ERROR:case zee.FRAG_DECRYPT_ERROR:case zee.FRAG_LOAD_ERROR:case zee.FRAG_LOAD_TIMEOUT:case zee.KEY_LOAD_ERROR:case zee.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(qee,t);break;case zee.LEVEL_LOAD_ERROR:case zee.LEVEL_LOAD_TIMEOUT:case zee.LEVEL_PARSING_ERROR:t.levelRetry||this.state!==Zie||(null==(n=t.context)?void 0:n.type)!==Uee||(this.state=jie);break;case zee.BUFFER_ADD_CODEC_ERROR:case zee.BUFFER_APPEND_ERROR:if("main"!==t.parent)return;this.reduceLengthAndFlushBuffer(t)&&this.resetLoadingState();break;case zee.BUFFER_FULL_ERROR:if("main"!==t.parent)return;this.reduceLengthAndFlushBuffer(t)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case zee.INTERNAL_EXCEPTION:this.recoverWorkerError(t)}}onFragLoadEmergencyAborted(){this.state=jie,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(e,{type:t}){if(t!==Ste||!this.altAudio){const e=(t===xte?this.videoBuffer:this.mediaBuffer)||this.media;e&&(this.afterBufferFlushed(e,t,qee),this.tick())}}onLevelsUpdated(e,t){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,-1===this.level&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=t.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:e}=this;if(!e)return;const t=e.currentTime;let n=this.startPosition;if(n>=0&&t<n){if(e.seeking)return void this.log(`could not seek to ${n}, already seeking at ${t}`);const r=this.timelineOffset;r&&n&&(n+=r);const i=this.getLevelDetails(),o=wre.getBuffered(e),a=o.length?o.start(0):0,s=a-n,l=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||s>0&&(s<l||this.loadingParts&&s<2*((null==i?void 0:i.partTarget)||0)))&&(this.log(`adjusting start position by ${s} to match buffer start`),n+=s,this.startPosition=n),t<n&&(this.log(`seek to target start position ${n} from current time ${t} buffer start ${a}`),e.currentTime=n)}}_getAudioCodec(e){let t=this.config.defaultAudioCodec||e.audioCodec;return this.audioCodecSwap&&t&&(this.log("Swapping audio codec"),t=-1!==t.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),t}_loadBitrateTestFrag(e,t){e.bitrateTest=!0,this._doFragLoad(e,t).then(e=>{const{hls:n}=this,r=null==e?void 0:e.frag;if(!r||this.fragContextChanged(r))return;t.fragmentError=0,this.state=jie,this.startFragRequested=!1,this.bitrateTest=!1;const i=r.stats;i.parsing.start=i.parsing.end=i.buffering.start=i.buffering.end=self.performance.now(),n.trigger(Vee.FRAG_LOADED,e),r.bitrateTest=!1}).catch(t=>{this.state!==Bie&&this.state!==Kie&&(this.warn(t),this.resetFragmentLoading(e))})}_handleTransmuxComplete(e){const t=this.playlistType,{hls:n}=this,{remuxResult:r,chunkMeta:i}=e,o=this.getCurrentContext(i);if(!o)return void this.resetWhenMissingContext(i);const{frag:a,part:s,level:l}=o,{video:c,text:u,id3:d,initSegment:h}=r,{details:f}=l,p=this.altAudio?void 0:r.audio;if(this.fragContextChanged(a))this.fragmentTracker.removeFragment(a);else{if(this.state=Wie,h){const e=h.tracks;if(e){const r=a.initSegment||a;if(this.unhandledEncryptionError(h,a))return;this._bufferInitSegment(l,e,r,i),n.trigger(Vee.FRAG_PARSING_INIT_SEGMENT,{frag:r,id:t,tracks:e})}const r=h.initPTS,o=h.timescale,s=this.initPTS[a.cc];if($ee(r)&&(!s||s.baseTime!==r||s.timescale!==o)){const e=h.trackId;this.initPTS[a.cc]={baseTime:r,timescale:o,trackId:e},n.trigger(Vee.INIT_PTS_FOUND,{frag:a,id:t,initPTS:r,timescale:o,trackId:e})}}if(c&&f){p&&"audiovideo"===c.type&&this.logMuxedErr(a);const e=f.fragments[a.sn-1-f.startSN],t=a.sn===f.startSN,n=!e||a.cc>e.cc;if(!1!==r.independent){const{startPTS:e,endPTS:r,startDTS:o,endDTS:l}=c;if(s)s.elementaryStreams[c.type]={startPTS:e,endPTS:r,startDTS:o,endDTS:l};else if(c.firstKeyFrame&&c.independent&&1===i.id&&!n&&(this.couldBacktrack=!0),c.dropped&&c.independent){const i=this.getMainFwdBufferInfo(),o=(i?i.end:this.getLoadPosition())+this.config.maxBufferHole,s=c.firstKeyFramePTS?c.firstKeyFramePTS:e;if(!t&&o<s-this.config.maxBufferHole&&!n)return void this.backtrack(a);n&&(a.gap=!0),a.setElementaryStreamInfo(c.type,a.start,r,a.start,l,!0)}else t&&e-(f.appliedTimelineOffset||0)>2&&(a.gap=!0);a.setElementaryStreamInfo(c.type,e,r,o,l),this.backtrackFragment&&(this.backtrackFragment=a),this.bufferFragmentData(c,a,s,i,t||n)}else{if(!t&&!n)return void this.backtrack(a);a.gap=!0}}if(p){const{startPTS:e,endPTS:t,startDTS:n,endDTS:r}=p;s&&(s.elementaryStreams[Ste]={startPTS:e,endPTS:t,startDTS:n,endDTS:r}),a.setElementaryStreamInfo(Ste,e,t,n,r),this.bufferFragmentData(p,a,s,i)}if(f&&null!=d&&d.samples.length){const e={id:t,frag:a,details:f,samples:d.samples};n.trigger(Vee.FRAG_PARSING_METADATA,e)}if(f&&u){const e={id:t,frag:a,details:f,samples:u.samples};n.trigger(Vee.FRAG_PARSING_USERDATA,e)}}}logMuxedErr(e){this.warn(`${Ate(e)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${e.url}`)}_bufferInitSegment(e,t,n,r){if(this.state!==Wie)return;this.audioOnly=!!t.audio&&!t.video,this.altAudio&&!this.audioOnly&&(delete t.audio,t.audiovideo&&this.logMuxedErr(n));const{audio:i,video:o,audiovideo:a}=t;if(i){const n=e.audioCodec;let r=pne(i.codec,n);"mp4a"===r&&(r="mp4a.40.5");const o=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){r&&(r=-1!==r.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5");const e=i.metadata;e&&"channelCount"in e&&1!==(e.channelCount||1)&&-1===o.indexOf("firefox")&&(r="mp4a.40.5")}r&&-1!==r.indexOf("mp4a.40.5")&&-1!==o.indexOf("android")&&"audio/mpeg"!==i.container&&(r="mp4a.40.2",this.log(`Android: force audio codec to ${r}`)),n&&n!==r&&this.log(`Swapping manifest audio codec "${n}" for "${r}"`),i.levelCodec=r,i.id=qee,this.log(`Init audio buffer, container:${i.container}, codecs[selected/level/parsed]=[${r||""}/${n||""}/${i.codec}]`),delete t.audiovideo}if(o){o.levelCodec=e.videoCodec,o.id=qee;const n=o.codec;if(4===(null==n?void 0:n.length))switch(n){case"hvc1":case"hev1":o.codec="hvc1.1.6.L120.90";break;case"av01":o.codec="av01.0.04M.08";break;case"avc1":o.codec="avc1.42e01e"}this.log(`Init video buffer, container:${o.container}, codecs[level/parsed]=[${e.videoCodec||""}/${n}]${o.codec!==n?" parsed-corrected="+o.codec:""}${o.supplemental?" supplemental="+o.supplemental:""}`),delete t.audiovideo}a&&(this.log(`Init audiovideo buffer, container:${a.container}, codecs[level/parsed]=[${e.codecs}/${a.codec}]`),delete t.video,delete t.audio);const s=Object.keys(t);if(s.length){if(this.hls.trigger(Vee.BUFFER_CODECS,t),!this.hls)return;s.forEach(e=>{const i=t[e].initSegment;null!=i&&i.byteLength&&this.hls.trigger(Vee.BUFFER_APPENDING,{type:e,data:i,frag:n,part:null,chunkMeta:r,parent:n.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const e=this.mediaBuffer&&2===this.altAudio?this.mediaBuffer:this.media;return this.getFwdBufferInfo(e,qee)}get maxBufferLength(){const{levels:e,level:t}=this,n=null==e?void 0:e[t];return n?this.getMaxBufferLength(n.maxBitrate):this.config.maxBufferLength}backtrack(e){this.couldBacktrack=!0,this.backtrackFragment=e,this.resetTransmuxer(),this.flushBufferGap(e),this.fragmentTracker.removeFragment(e),this.fragPrevious=null,this.nextLoadPosition=e.start,this.state=jie}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&!1===e.seeking){const n=e.currentTime;if(wre.isBuffered(e,n)?t=this.getAppendedFrag(n):wre.isBuffered(e,n+.1)&&
1(t=this.getAppendedFrag(n+.1)),t){this.backtrackFragment=null;const e=this.fragPlaying,n=t.level;e&&t.sn===e.sn&&e.level===n||(this.fragPlaying=t,this.hls.trigger(Vee.FRAG_CHANGED,{frag:t}),e&&e.level===n||this.hls.trigger(Vee.LEVEL_SWITCHED,{level:n}))}}}get nextLevel(){const e=this.nextBufferedFrag;return e?e.level:-1}get currentFrag(){var e;if(this.fragPlaying)return this.fragPlaying;const t=(null==(e=this.media)?void 0:e.currentTime)||this.lastCurrentTime;return $ee(t)?this.getAppendedFrag(t):null}get currentProgramDateTime(){var e;const t=(null==(e=this.media)?void 0:e.currentTime)||this.lastCurrentTime;if($ee(t)){const e=this.getLevelDetails(),n=this.currentFrag||(e?Vne(null,e.fragments,t):null);if(n){const e=n.programDateTime;if(null!==e){const r=e+1e3*(t-n.start);return new Date(r)}}}return null}get currentLevel(){const e=this.currentFrag;return e?e.level:-1}get nextBufferedFrag(){const e=this.currentFrag;return e?this.followingBufferedFrag(e):null}get forceStartLoad(){return this._forceStartLoad}}class Ece extends nte{constructor(e,t){super("key-loader",t),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=e}abort(e){for(const n in this.keyIdToKeyInfo){const r=this.keyIdToKeyInfo[n].loader;if(r){var t;if(e&&e!==(null==(t=r.context)?void 0:t.frag.type))return;r.abort()}}}detach(){for(const e in this.keyIdToKeyInfo){const t=this.keyIdToKeyInfo[e];(t.mediaKeySessionContext||t.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[e]}}destroy(){this.detach();for(const e in this.keyIdToKeyInfo){const t=this.keyIdToKeyInfo[e].loader;t&&t.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(e,t=zee.KEY_LOAD_ERROR,n,r,i){return new vre({type:jee.NETWORK_ERROR,details:t,fatal:!1,frag:e,response:i,error:n,networkDetails:r})}loadClear(e,t,n){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(t.length)for(let r=0,i=t.length;r<i;r++){const o=t[r];if(e.cc<=o.cc&&(!Ate(e)||!Ate(o)||e.sn<o.sn)||!n&&r==i-1)return this.emeController.selectKeySystemFormat(o).then(e=>{if(!this.emeController)return;o.setKeyFormat(e);const t=Kre(e);return t?this.emeController.getKeySystemAccess([t]):void 0})}if(this.config.requireKeySystemAccessOnStart){const e=Zre(this.config);if(e.length)return this.emeController.getKeySystemAccess(e)}}return null}load(e){return!e.decryptdata&&e.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(e).then(t=>this.loadInternal(e,t)):this.loadInternal(e)}loadInternal(e,t){var n,r;t&&e.setKeyFormat(t);const i=e.decryptdata;if(!i){const n=new Error(t?`Expected frag.decryptdata to be defined after setting format ${t}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(e,zee.KEY_LOAD_ERROR,n))}const o=i.uri;if(!o)return Promise.reject(this.createKeyLoadError(e,zee.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${o}"`)));const a=kce(i);let s=this.keyIdToKeyInfo[a];if(null!=(n=s)&&n.decryptdata.key)return i.key=s.decryptdata.key,Promise.resolve({frag:e,keyInfo:s});if(this.emeController&&null!=(r=s)&&r.keyLoadPromise)switch(this.emeController.getKeyStatus(s.decryptdata)){case"usable":case"usable-in-future":return s.keyLoadPromise.then(t=>{const{keyInfo:n}=t;return i.key=n.decryptdata.key,{frag:e,keyInfo:n}})}switch(this.log(`${this.keyIdToKeyInfo[a]?"Rel":"L"}oading${i.keyId?" keyId: "+hte(i.keyId):""} URI: ${i.uri} from ${e.type} ${e.level}`),s=this.keyIdToKeyInfo[a]={decryptdata:i,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},i.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return"identity"===i.keyFormat?this.loadKeyHTTP(s,e):this.loadKeyEME(s,e);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(s,e);default:return Promise.reject(this.createKeyLoadError(e,zee.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${i.method}"`)))}}loadKeyEME(e,t){const n={frag:t,keyInfo:e};if(this.emeController&&this.config.emeEnabled){var r;if(!e.decryptdata.keyId&&null!=(r=t.initSegment)&&r.data){const n=function(e){const t=[];return Kte(e,e=>t.push(e.subarray(8,24))),t}
1(t.initSegment.data);if(n.length){let t=n[0];t.some(e=>0!==e)?(this.log(`Using keyId found in init segment ${hte(t)}`),tie.setKeyIdForUri(e.decryptdata.uri,t)):(t=tie.addKeyIdForUri(e.decryptdata.uri),this.log(`Generating keyId to patch media ${hte(t)}`)),e.decryptdata.keyId=t}}if(!e.decryptdata.keyId&&!Ate(t))return Promise.resolve(n);const i=this.emeController.loadKey(n);return(e.keyLoadPromise=i.then(t=>(e.mediaKeySessionContext=t,n))).catch(n=>{throw e.keyLoadPromise=null,"data"in n&&(n.data.frag=t),n})}return Promise.resolve(n)}loadKeyHTTP(e,t){const n=this.config,r=new(0,n.loader)(n);return t.keyLoader=e.loader=r,e.keyLoadPromise=new Promise((i,o)=>{const a={keyInfo:e,frag:t,responseType:"arraybuffer",url:e.decryptdata.uri},s=n.keyLoadPolicy.default,l={loadPolicy:s,timeout:s.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},c={onSuccess:(e,t,n,r)=>{const{frag:a,keyInfo:s}=n,l=kce(s.decryptdata);if(!a.decryptdata||s!==this.keyIdToKeyInfo[l])return o(this.createKeyLoadError(a,zee.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),r));s.decryptdata.key=a.decryptdata.key=new Uint8Array(e.data),a.keyLoader=null,s.loader=null,i({frag:a,keyInfo:s})},onError:(e,n,r,i)=>{this.resetLoader(n),o(this.createKeyLoadError(t,zee.KEY_LOAD_ERROR,new Error(`HTTP Error ${e.code} loading key ${e.text}`),r,tte({url:a.url,data:void 0},e)))},onTimeout:(e,n,r)=>{this.resetLoader(n),o(this.createKeyLoadError(t,zee.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),r))},onAbort:(e,n,r)=>{this.resetLoader(n),o(this.createKeyLoadError(t,zee.INTERNAL_ABORTED,new Error("key loading aborted"),r))}};r.load(a,l,c)})}resetLoader(e){const{frag:t,keyInfo:n,url:r}=e,i=n.loader;t.keyLoader===i&&(t.keyLoader=null,n.loader=null);const o=kce(n.decryptdata)||r;delete this.keyIdToKeyInfo[o],i&&i.destroy()}}function kce(e){if(e.keyFormat!==Wre){const t=e.keyId;if(t)return hte(t)}return e.uri}function Sce(e){const{type:t}=e;switch(t){case Wee:return Kee;case Gee:return Yee;default:return qee}}function xce(e,t){let n=e.url;return void 0!==n&&0!==n.indexOf("data:")||(n=t.url),n}class Tce{constructor(e){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=e,this.registerListeners()}startLoad(e){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:e}=this;e.on(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.on(Vee.LEVEL_LOADING,this.onLevelLoading,this),e.on(Vee.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.on(Vee.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.on(Vee.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:e}=this;e.off(Vee.MANIFEST_LOADING,this.onManifestLoading,this),e.off(Vee.LEVEL_LOADING,this.onLevelLoading,this),e.off(Vee.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.off(Vee.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.off(Vee.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(e){const t=this.hls.config,n=t.pLoader,r=t.loader,i=new(n||r)(t);return this.loaders[e.type]=i,i}getInternalLoader(e){return this.loaders[e.type]}resetInternalLoader(e){this.loaders[e]&&delete this.loaders[e]}destroyInternalLoaders(){for(const e in this.loaders){const t=this.loaders[e];t&&t.destroy(),this.resetInternalLoader(e)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(e,t){const{url:n}=t;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:Hee,url:n,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(e,t){const{id:n,level:r,pathwayId:i,url:o,deliveryDirectives:a,levelInfo:s}=t;this.load({id:n,level:r,pathwayId:i,responseType:"text",type:Uee,url:o,deliveryDirectives:a,levelOrTrack:s})}onAudioTrackLoading(e,t){const{id:n,groupId:r,url:i,deliveryDirectives:o,track:a}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:Wee,url:i,deliveryDirectives:o,levelOrTrack:a})}onSubtitleTrackLoading(e,t){const{id:n,groupId:r,url:i,deliveryDirectives:o,track:a}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:Gee,url:i,deliveryDirectives:o,levelOrTrack:a})}onLevelsUpdated(e,t){const n=this.loaders[Uee];if(n){const e=n.context;e&&!t.levels.some(t=>t===e.levelOrTrack)&&(n.abort(),delete this.loaders[Uee])}}load(e){var t;const n=this.hls.config;let r,i=this.getInternalLoader(e);if(i){const t=this.hls.logger,n=i.context;if(n&&n.levelOrTrack===e.levelOrTrack&&(n.url===e.url||n.deliveryDirectives&&!e.deliveryDirectives))return void(n.url===e.url?t.log(`[playlist-loader]: ignore ${e.url} ongoing request`):t.log(`[playlist-loader]: ignore ${e.url} in favor of ${n.url}`));t.log(`[playlist-loader]: aborting previous loader for type: ${e.type}`),i.abort()}
vendor: 4,253 bytes, line 1
1if(r=e.type===Hee?n.manifestLoadPolicy.default:Jee({},n.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),i=this.createInternalLoader(e),$ee(null==(t=e.deliveryDirectives)?void 0:t.part)){let t;if(e.type===Uee&&null!==e.level?t=this.hls.levels[e.level].details:e.type===Wee&&null!==e.id?t=this.hls.audioTracks[e.id].details:e.type===Gee&&null!==e.id&&(t=this.hls.subtitleTracks[e.id].details),t){const e=t.partTarget,n=t.targetduration;if(e&&n){const t=1e3*Math.max(3*e,.8*n);r=Jee({},r,{maxTimeToFirstByteMs:Math.min(t,r.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(t,r.maxTimeToFirstByteMs)})}}}const o=r.errorRetry||r.timeoutRetry||{},a={loadPolicy:r,timeout:r.maxLoadTimeMs,maxRetry:o.maxNumRetry||0,retryDelay:o.retryDelayMs||0,maxRetryDelay:o.maxRetryDelayMs||0},s={onSuccess:(e,t,n,r)=>{const i=this.getInternalLoader(n);this.resetInternalLoader(n.type);const o=e.data;t.parsing.start=performance.now(),lie.isMediaPlaylist(o)||n.type!==Hee?this.handleTrackOrLevelPlaylist(e,t,n,r||null,i):this.handleMasterPlaylist(e,t,n,r)},onError:(e,t,n,r)=>{this.handleNetworkError(t,n,!1,e,r)},onTimeout:(e,t,n)=>{this.handleNetworkError(t,n,!0,void 0,e)}};i.load(e,a,s)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:e,startPosition:t},forceStartLoad:n}=this.hls;(e||n)&&(this.hls.logger.log(`${e?"auto":"force"} startLoad with configured startPosition ${t}`),this.hls.startLoad(t))}handleMasterPlaylist(e,t,n,r){const i=this.hls,o=e.data,a=xce(e,n),s=lie.parseMasterPlaylist(o,a);if(s.playlistParsingError)return t.parsing.end=performance.now(),void this.handleManifestParsingError(e,n,s.playlistParsingError,r,t);const{contentSteering:l,levels:c,sessionData:u,sessionKeys:d,startTimeOffset:h,variableList:f}=s;this.variableList=f,c.forEach(e=>{const{unknownCodecs:t}=e;if(t){const{preferManagedMediaSource:n}=this.hls.config;let{audioCodec:r,videoCodec:i}=e;for(let o=t.length;o--;){const a=t[o];ane(a,"audio",n)?(e.audioCodec=r=r?`${r},${a}`:a,ine.audio[r.substring(0,4)]=2,t.splice(o,1)):ane(a,"video",n)&&(e.videoCodec=i=i?`${i},${a}`:a,ine.video[i.substring(0,4)]=2,t.splice(o,1))}}});const{AUDIO:p=[],SUBTITLES:m,"CLOSED-CAPTIONS":g}=lie.parseMasterPlaylistMedia(o,a,s);p.length&&(p.some(e=>!e.url)||!c[0].audioCodec||c[0].attrs.AUDIO||(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),p.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Lre({}),bitrate:0,url:""}))),i.trigger(Vee.MANIFEST_LOADED,{levels:c,audioTracks:p,subtitles:m,captions:g,contentSteering:l,url:a,stats:t,networkDetails:r,sessionData:u,sessionKeys:d,startTimeOffset:h,variableList:f})}handleTrackOrLevelPlaylist(e,t,n,r,i){const o=this.hls,{id:a,level:s,type:l}=n,c=xce(e,n),u=$ee(s)?s:$ee(a)?a:0,d=Sce(n),h=lie.parseLevelPlaylist(e.data,c,u,d,0,this.variableList);if(l===Hee){const e={attrs:new Lre({}),bitrate:0,details:h,name:"",url:c};h.requestScheduled=t.loading.start+xie(h,0),o.trigger(Vee.MANIFEST_LOADED,{levels:[e],audioTracks:[],url:c,stats:t,networkDetails:r,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}t.parsing.end=performance.now(),n.levelDetails=h,this.handlePlaylistLoaded(h,e,t,n,r,i)}handleManifestParsingError(e,t,n,r,i){this.hls.trigger(Vee.ERROR,{type:jee.NETWORK_ERROR,details:zee.MANIFEST_PARSING_ERROR,fatal:t.type===Hee,url:e.url,err:n,error:n,reason:n.message,response:e,context:t,networkDetails:r,stats:i})}handleNetworkError(e,t,n=!1,r,i){let o=`A network ${n?"timeout":"error"+(r?" (status "+r.code+")":"")} occurred while loading ${e.type}`;e.type===Uee?o+=`: ${e.level} id: ${e.id}`:e.type!==Wee&&e.type!==Gee||(o+=` id: ${e.id} group-id: "${e.groupId}"`);const a=new Error(o);this.hls.logger.warn(`[playlist-loader]: ${o}`);let s=zee.UNKNOWN,l=!1;const c=this.getInternalLoader(e);switch(e.type){case Hee:s=n?zee.MANIFEST_LOAD_TIMEOUT:zee.MANIFEST_LOAD_ERROR,l=!0;break;case Uee:s=n?zee.LEVEL_LOAD_TIMEOUT:zee.LEVEL_LOAD_ERROR,l=!1;break;case Wee:s=n?zee.AUDIO_TRACK_LOAD_TIMEOUT:zee.AUDIO_TRACK_LOAD_ERROR,l=!1;break;case Gee:s=n?zee.SUBTITLE_TRACK_LOAD_TIMEOUT:zee.SUBTITLE_LOAD_ERROR,l=!1}c&&this.resetInternalLoader(e.type);
1const u={type:jee.NETWORK_ERROR,details:s,fatal:l,url:e.url,loader:c,context:e,error:a,networkDetails:t,stats:i};if(r){const n=(null==t?void 0:t.url)||e.url;u.response=tte({url:n,data:void 0},r)}this.hls.trigger(Vee.ERROR,u)}handlePlaylistLoaded(e,t,n,r,i,o){const a=this.hls,{type:s,level:l,levelOrTrack:c,id:u,groupId:d,deliveryDirectives:h}=r,f=xce(t,r),p=Sce(r);let m="number"==typeof r.level&&p===qee?l:void 0;const g=e.playlistParsingError;if(g){if(this.hls.logger.warn(`${g} ${e.url}`),!a.config.ignorePlaylistParsingErrors)return void a.trigger(Vee.ERROR,{type:jee.NETWORK_ERROR,details:zee.LEVEL_PARSING_ERROR,fatal:!1,url:f,error:g,reason:g.message,response:t,context:r,level:m,parent:p,networkDetails:i,stats:n});e.playlistParsingError=null}if(!e.fragments.length){const o=e.playlistParsingError=new Error("No Segments found in Playlist");return void a.trigger(Vee.ERROR,{type:jee.NETWORK_ERROR,details:zee.LEVEL_EMPTY_ERROR,fatal:!1,url:f,error:o,reason:o.message,response:t,context:r,level:m,parent:p,networkDetails:i,stats:n})}switch(e.live&&o&&(o.getCacheAge&&(e.ageHeader=o.getCacheAge()||0),o.getCacheAge&&!isNaN(e.ageHeader)||(e.ageHeader=0)),s){case Hee:case Uee:if(m)if(c){if(c!==a.levels[m]){const e=a.levels.indexOf(c);e>-1&&(m=e)}}else m=0;a.trigger(Vee.LEVEL_LOADED,{details:e,levelInfo:c||a.levels[0],level:m||0,id:u||0,stats:n,networkDetails:i,deliveryDirectives:h,withoutMultiVariant:s===Hee});break;case Wee:a.trigger(Vee.AUDIO_TRACK_LOADED,{details:e,track:c,id:u||0,groupId:d||"",stats:n,networkDetails:i,deliveryDirectives:h});break;case Gee:a.trigger(Vee.SUBTITLE_TRACK_LOADED,{details:e,track:c,id:u||0,groupId:d||"",stats:n,networkDetails:i,deliveryDirectives:h})}}}class Mce{static get version(){return ioe}static isMSESupported(){return Cce()}static isSupported(){return function(){if(!Cce())return!1;const e=cte();return"function"==typeof(null==e?void 0:e.isTypeSupported)&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>e.isTypeSupported(lne(t,"video")))||["mp4a.40.2","fLaC"].some(t=>e.isTypeSupported(lne(t,"audio"))))}()}static getMediaSource(){return cte()}static get Events(){return Vee}static get MetadataSchema(){return Toe}static get ErrorTypes(){return jee}static get ErrorDetails(){return zee}static get DefaultConfig(){return Mce.defaultConfig?Mce.defaultConfig:ace}static set DefaultConfig(e){Mce.defaultConfig=e}constructor(e={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new roe,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const t=this.logger=function(e,t,n){const r=ote();if("object"==typeof console&&!0===e||"object"==typeof e){const t=["debug","log","info","warn","error"];t.forEach(t=>{r[t]=ate(t,e,n)});try{r.log('Debug logs enabled for "Hls instance" in hls.js version 1.6.16')}catch(i){return ote()}t.forEach(t=>{ste[t]=ate(t,e)})}else Jee(ste,r);return r}(e.debug||!1,0,e.assetPlayerId),n=this.config=function(e,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(void 0!==t.liveMaxLatencyDurationCount&&(void 0===t.liveSyncDurationCount||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(void 0!==t.liveMaxLatencyDuration&&(void 0===t.liveSyncDuration||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const r=sce(e),i=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];
1return["manifest","level","frag"].forEach(e=>{const o=`${"level"===e?"playlist":e}LoadPolicy`,a=void 0===t[o],s=[];i.forEach(n=>{const i=`${e}Loading${n}`,l=t[i];if(void 0!==l&&a){s.push(i);const e=r[o].default;switch(t[o]={default:e},n){case"TimeOut":e.maxLoadTimeMs=l,e.maxTimeToFirstByteMs=l;break;case"MaxRetry":e.errorRetry.maxNumRetry=l,e.timeoutRetry.maxNumRetry=l;break;case"RetryDelay":e.errorRetry.retryDelayMs=l,e.timeoutRetry.retryDelayMs=l;break;case"MaxRetryTimeout":e.errorRetry.maxRetryDelayMs=l,e.timeoutRetry.maxRetryDelayMs=l}}}),s.length&&n.warn(`hls.js config: "${s.join('", "')}" setting(s) are deprecated, use "${o}": ${One(t[o])}`)}),tte(tte({},r),t)}(Mce.DefaultConfig,e,t);this.userConfig=e,n.progressive&&function(e,t){const n=e.loader;n!==tce&&n!==oce?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),e.progressive=!1):function(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(e){}return!1}()&&(e.loader=tce,e.progressive=!0,e.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}(n,t);const{abrController:r,bufferController:i,capLevelController:o,errorController:a,fpsController:s}=n,l=new a(this),c=this.abrController=new r(this),u=new ore(this),d=n.interstitialsController,h=d?this.interstitialsController=new d(this,Mce):null,f=this.bufferController=new i(this,u),p=this.capLevelController=new o(this),m=new s(this),g=new Tce(this),v=n.contentSteeringController,y=v?new v(this):null,b=this.levelController=new vce(this,y),C=new mce(this),w=new Ece(this.config,this.logger),E=this.streamController=new wce(this,u,w),k=this.gapController=new lce(this,u);p.setStreamController(E),m.setStreamController(E);const S=[g,b,E];h&&S.splice(1,0,h),y&&S.splice(1,0,y),this.networkControllers=S;const x=[c,f,k,p,m,C,u];this.audioTrackController=this.createController(n.audioTrackController,S);const T=n.audioStreamController;T&&S.push(this.audioStreamController=new T(this,u,w)),this.subtitleTrackController=this.createController(n.subtitleTrackController,S);const M=n.subtitleStreamController;M&&S.push(this.subtititleStreamController=new M(this,u,w)),this.createController(n.timelineController,x),w.emeController=this.emeController=this.createController(n.emeController,x),this.cmcdController=this.createController(n.cmcdController,x),this.latencyController=this.createController(gce,x),this.coreComponents=x,S.push(l);const A=l.onErrorOut;"function"==typeof A&&this.on(Vee.ERROR,A,l),this.on(Vee.MANIFEST_LOADED,g.onManifestLoaded,g)}createController(e,t){if(e){const n=new e(this);return t&&t.push(n),n}return null}on(e,t,n=this){this._emitter.on(e,t,n)}once(e,t,n=this){this._emitter.once(e,t,n)}removeAllListeners(e){this._emitter.removeAllListeners(e)}off(e,t,n=this,r){this._emitter.off(e,t,n,r)}listeners(e){return this._emitter.listeners(e)}emit(e,t,n){return this._emitter.emit(e,t,n)}trigger(e,t){if(this.config.debug)return this.emit(e,e,t);try{return this.emit(e,e,t)}catch(n){if(this.logger.error("An internal error happened while handling event "+e+'. Error message: "'+n.message+'". Here is a stacktrace:',n),!this.triggeringException){this.triggeringException=!0;const t=e===Vee.ERROR;this.trigger(Vee.ERROR,{type:jee.OTHER_ERROR,details:zee.INTERNAL_EXCEPTION,fatal:t,event:e,error:n}),this.triggeringException=!1}}return!1}listenerCount(e){return this._emitter.listenerCount(e)}destroy(){this.logger.log("destroy"),this.trigger(Vee.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(e=>e.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(e=>e.destroy()),this.coreComponents.length=0;const e=this.config;e.xhrSetup=e.fetchSetup=void 0,this.userConfig=null}attachMedia(e){if(!e||"media"in e&&!e.media){const t=new Error(`attachMedia failed: invalid argument (${e})`);return void this.trigger(Vee.ERROR,{type:jee.OTHER_ERROR,details:zee.ATTACH_MEDIA_ERROR,fatal:!0,error:t})}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const t="media"in e,n=t?e.media:e,r=t?e:{media:n};
vendor: 6,044 bytes, line 1
1this._media=n,this.trigger(Vee.MEDIA_ATTACHING,r)}detachMedia(){this.logger.log("detachMedia"),this.trigger(Vee.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const e=this.bufferController.transferMedia();return this.trigger(Vee.MEDIA_DETACHING,{transferMedia:e}),e}loadSource(e){this.stopLoad();const t=this.media,n=this._url,r=this._url=Ete.buildAbsoluteURL(self.location.href,e,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${r}`),t&&n&&(n!==r||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(t)),this.trigger(Vee.MANIFEST_LOADING,{url:e})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(e=-1,t){this.logger.log(`startLoad(${e+(t?", <skip seek to start>":"")})`),this.started=!0,this.resumeBuffering();for(let n=0;n<this.networkControllers.length&&(this.networkControllers[n].startLoad(e,t),this.started&&this.networkControllers);n++);}stopLoad(){this.logger.log("stopLoad"),this.started=!1;for(let e=0;e<this.networkControllers.length&&(this.networkControllers[e].stopLoad(),!this.started&&this.networkControllers);e++);}get loadingEnabled(){return this.started}get bufferingEnabled(){return this.streamController.bufferingEnabled}resumeBuffering(){this.bufferingEnabled||(this.logger.log("resume buffering"),this.networkControllers.forEach(e=>{e.resumeBuffering&&e.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(e=>{e.pauseBuffering&&e.pauseBuffering()}))}get inFlightFragments(){const e={[qee]:this.streamController.inFlightFrag};return this.audioStreamController&&(e[Kee]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(e[Yee]=this.subtititleStreamController.inFlightFrag),e}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const e=this._media,t=null==e?void 0:e.currentTime;this.detachMedia(),e&&(this.attachMedia(e),t&&this.startLoad(t))}removeLevel(e){this.levelController.removeLevel(e)}get sessionId(){let e=this._sessionId;return e||(e=this._sessionId=function(){try{return crypto.randomUUID()}catch(e){try{const e=URL.createObjectURL(new Blob),t=e.toString();return URL.revokeObjectURL(e),t.slice(t.lastIndexOf("/")+1)}catch(t){let e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?n:3&n|8).toString(16)})}}}()),e}get levels(){return this.levelController.levels||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(e){this.logger.log(`set currentLevel:${e}`),this.levelController.manualLevel=e,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(e){this.logger.log(`set nextLevel:${e}`),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(e){this.logger.log(`set loadLevel:${e}`),this.levelController.manualLevel=e}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(e){this.levelController.nextLoadLevel=e}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(e){this.logger.log(`set firstLevel:${e}`),this.levelController.firstLevel=e}get startLevel(){const e=this.levelController.startLevel;return-1===e&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:e}set startLevel(e){this.logger.log(`set startLevel:${e}`),-1!==e&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(e){const t=!!e;t!==this.config.capLevelToPlayerSize&&(t?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=t)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimate():NaN}set bandwidthEstimate(e){this.abrController.resetEstimator(e)}get abrEwmaDefaultEstimate(){const{bwEstimator:e}=this.abrController;return e?e.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimateTTFB():NaN}set autoLevelCapping(e){this._autoLevelCapping!==e&&(this.logger.log(`set autoLevelCapping:${e}`),this._autoLevelCapping=e,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(e){(function(e){return Tne.indexOf(e)>-1})(e)&&this._maxHdcpLevel!==e&&(this._maxHdcpLevel=e,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return-1===this.levelController.manualLevel}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:e,config:{minAutoBitrate:t}}=this;if(!e)return 0;const n=e.length;for(let r=0;r<n;r++)if(e[r].maxBitrate>=t)return r;return 0}get maxAutoLevel(){const{levels:e,autoLevelCapping:t,maxHdcpLevel:n}=this;let r;if(r=-1===t&&null!=e&&e.length?e.length-1:t,n)for(let i=r;i--;){const t=e[i].attrs["HDCP-LEVEL"];if(t&&t<=n)return i}return r}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(e){this.abrController.nextAutoLevel=e}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(e){var t;return(null==(t=this.audioTrackController)?void 0:t.setAudioOption(e))||null}
1setSubtitleOption(e){var t;return(null==(t=this.subtitleTrackController)?void 0:t.setSubtitleOption(e))||null}get allAudioTracks(){const e=this.audioTrackController;return e?e.allAudioTracks:[]}get audioTracks(){const e=this.audioTrackController;return e?e.audioTracks:[]}get audioTrack(){const e=this.audioTrackController;return e?e.audioTrack:-1}set audioTrack(e){const t=this.audioTrackController;t&&(t.audioTrack=e)}get allSubtitleTracks(){const e=this.subtitleTrackController;return e?e.allSubtitleTracks:[]}get subtitleTracks(){const e=this.subtitleTrackController;return e?e.subtitleTracks:[]}get subtitleTrack(){const e=this.subtitleTrackController;return e?e.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(e){const t=this.subtitleTrackController;t&&(t.subtitleTrack=e)}get subtitleDisplay(){const e=this.subtitleTrackController;return!!e&&e.subtitleDisplay}set subtitleDisplay(e){const t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(e){this.config.lowLatencyMode=e}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(e){this.latencyController.targetLatency=e}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(e){this.levelController.pathwayPriority=e}get bufferedToEnd(){var e;return!(null==(e=this.bufferController)||!e.bufferedToEnd)}get interstitialsManager(){var e;return(null==(e=this.interstitialsController)?void 0:e.interstitialsManager)||null}getMediaDecodingInfo(e,t=this.allAudioTracks){return kne(e,Ine(t),navigator.mediaCapabilities)}}Mce.defaultConfig=void 0;var Ace="Switch",[Lce]=mW(Ace),[Pce,Rce]=Lce(Ace);function Oce(e){const{__scopeSwitch:t,checked:n,children:r,defaultChecked:i,disabled:o,form:a,name:s,onCheckedChange:l,required:c,value:u="on",internal_do_not_use_render:d}=e,[h,f]=Yq({prop:n,defaultProp:i??!1,onChange:l,caller:Ace}),[p,m]=Qt.useState(null),[g,v]=Qt.useState(null),y=Qt.useRef(!1),b=!p||!!a||!!p.closest("form"),C={checked:h,setChecked:f,disabled:o,control:p,setControl:m,name:s,form:a,value:u,hasConsumerStoppedPropagationRef:y,required:c,defaultChecked:i,isFormControl:b,bubbleInput:g,setBubbleInput:v};return He.jsx(Pce,{scope:t,...C,children:jce(d)?d(C):r})}var Dce="SwitchTrigger",Ice=Qt.forwardRef(({__scopeSwitch:e,onClick:t,...n},r)=>{const{value:i,disabled:o,checked:a,required:s,setControl:l,setChecked:c,hasConsumerStoppedPropagationRef:u,isFormControl:d,bubbleInput:h}=Rce(Dce,e),f=Ya(r,l);return He.jsx(vW.button,{type:"button",role:"switch","aria-checked":a,"aria-required":s,"data-state":zce(a),"data-disabled":o?"":void 0,disabled:o,value:i,...n,ref:f,onClick:pW(t,e=>{c(e=>!e),h&&d&&(u.current=e.isPropagationStopped(),u.current||e.stopPropagation())})})});Ice.displayName=Dce;var _ce=Qt.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:i,defaultChecked:o,required:a,disabled:s,value:l,onCheckedChange:c,form:u,...d}=e;return He.jsx(Oce,{__scopeSwitch:n,checked:i,defaultChecked:o,disabled:s,required:a,onCheckedChange:c,name:r,form:u,value:l,internal_do_not_use_render:({isFormControl:e})=>He.jsxs(He.Fragment,{children:[He.jsx(Ice,{...d,ref:t,__scopeSwitch:n}),e&&He.jsx(Bce,{__scopeSwitch:n})]})})});_ce.displayName=Ace;var Fce="SwitchThumb",$ce=Qt.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,i=Rce(Fce,n);return He.jsx(vW.span,{"data-state":zce(i.checked),"data-disabled":i.disabled?"":void 0,...r,ref:t})});$ce.displayName=Fce;var Nce="SwitchBubbleInput",Bce=Qt.forwardRef(({__scopeSwitch:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:i,checked:o,defaultChecked:a,required:s,disabled:l,name:c,value:u,form:d,bubbleInput:h,setBubbleInput:f}=Rce(Nce,e),p=Ya(n,f),m=hQ(o),g=wq(r);Qt.useEffect(()=>{const e=h;if(!e)return;const t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set,r=!i.current;if(m!==o&&n){const t=new Event("click",{bubbles:r});n.call(e,o),e.dispatchEvent(t)}},[h,m,o,i]);const v=Qt.useRef(o);return He.jsx(vW.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a??v.current,required:s,disabled:l,name:c,value:u,form:d,...t,tabIndex:-1,ref:p,style:{...t.style,...g,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function jce(e){return"function"==typeof e}function zce(e){return e?"checked":"unchecked"}Bce.displayName=Nce;var Vce="rovingFocusGroup.onEntryFocus",Hce={bubbles:!1,cancelable:!0},Uce="RovingFocusGroup",[Wce,Gce,qce]=aX(Uce),[Kce,Yce]=mW(Uce,[qce]),[Zce,Qce]=Kce(Uce),Xce=Qt.forwardRef((e,t)=>
vendor: 17,742 bytes, line 1
1He.jsx(Wce.Provider,{scope:e.__scopeRovingFocusGroup,children:He.jsx(Wce.Slot,{scope:e.__scopeRovingFocusGroup,children:He.jsx(Jce,{...e,ref:t})})}));Xce.displayName=Uce;var Jce=Qt.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:c,preventScrollOnEntryFocus:u=!1,...d}=e,h=Qt.useRef(null),f=Ya(t,h),p=pY(o),[m,g]=Yq({prop:a,defaultProp:s??null,onChange:l,caller:Uce}),[v,y]=Qt.useState(!1),b=bW(c),C=Gce(n),w=Qt.useRef(!1),[E,k]=Qt.useState(0);return Qt.useEffect(()=>{const e=h.current;if(e)return e.addEventListener(Vce,b),()=>e.removeEventListener(Vce,b)},[b]),He.jsx(Zce,{scope:n,orientation:r,dir:p,loop:i,currentTabStopId:m,onItemFocus:Qt.useCallback(e=>g(e),[g]),onItemShiftTab:Qt.useCallback(()=>y(!0),[]),onFocusableItemAdd:Qt.useCallback(()=>k(e=>e+1),[]),onFocusableItemRemove:Qt.useCallback(()=>k(e=>e-1),[]),children:He.jsx(vW.div,{tabIndex:v||0===E?-1:0,"data-orientation":r,...d,ref:f,style:{outline:"none",...e.style},onMouseDown:pW(e.onMouseDown,()=>{w.current=!0}),onFocus:pW(e.onFocus,e=>{const t=!w.current;if(e.target===e.currentTarget&&t&&!v){const t=new CustomEvent(Vce,Hce);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=C().filter(e=>e.focusable);rue([e.find(e=>e.active),e.find(e=>e.id===m),...e].filter(Boolean).map(e=>e.ref.current),u)}}w.current=!1}),onBlur:pW(e.onBlur,()=>y(!1))})})}),eue="RovingFocusGroupItem",tue=Qt.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:o,children:a,...s}=e,l=HW(),c=o||l,u=Qce(eue,n),d=u.currentTabStopId===c,h=Gce(n),{onFocusableItemAdd:f,onFocusableItemRemove:p,currentTabStopId:m}=u;return Qt.useEffect(()=>{if(r)return f(),()=>p()},[r,f,p]),He.jsx(Wce.ItemSlot,{scope:n,id:c,focusable:r,active:i,children:He.jsx(vW.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:pW(e.onMouseDown,e=>{r?u.onItemFocus(c):e.preventDefault()}),onFocus:pW(e.onFocus,()=>u.onItemFocus(c)),onKeyDown:pW(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void u.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:nue[r]}(e,u.orientation,u.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=h().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){"prev"===t&&i.reverse();const o=i.indexOf(e.currentTarget);i=u.loop?(r=o+1,(n=i).map((e,t)=>n[(r+t)%n.length])):i.slice(o+1)}setTimeout(()=>rue(i))}var n,r}),children:"function"==typeof a?a({isCurrentTabStop:d,hasTabStop:null!=m}):a})})});tue.displayName=eue;var nue={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function rue(e,t=!1){const n=document.activeElement;for(const r of e){if(r===n)return;if(r.focus({preventScroll:t}),document.activeElement!==n)return}}var iue=Xce,oue=tue,aue=["Enter"," "],sue=["ArrowUp","PageDown","End"],lue=["ArrowDown","PageUp","Home",...sue],cue={ltr:[...aue,"ArrowRight"],rtl:[...aue,"ArrowLeft"]},uue={ltr:["ArrowLeft"],rtl:["ArrowRight"]},due="Menu",[hue,fue,pue]=aX(due),[mue,gue]=mW(due,[pue,Sq,Yce]),vue=Sq(),yue=Yce(),[bue,Cue]=mue(due),[wue,Eue]=mue(due),kue=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:a=!0}=e,s=vue(t),[l,c]=Qt.useState(null),u=Qt.useRef(!1),d=bW(o),h=pY(i);return Qt.useEffect(()=>{const e=()=>{u.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>u.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),Qt.useEffect(()=>{if(!n)return;const e=()=>d(!1);return window.addEventListener("blur",e),()=>window.removeEventListener("blur",e)},[n,d]),He.jsx(jq,{...s,children:He.jsx(bue,{scope:t,open:n,onOpenChange:d,content:l,onContentChange:c,children:He.jsx(wue,{scope:t,onClose:Qt.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:u,dir:h,modal:a,children:r})})})};kue.displayName=due;var Sue=Qt.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=vue(n);return He.jsx(zq,{...i,...r,ref:t})});Sue.displayName="MenuAnchor";var xue="MenuPortal",[Tue,Mue]=mue(xue,{forceMount:void 0}),Aue=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,o=Cue(xue,t);return He.jsx(Tue,{scope:t,forceMount:n,children:He.jsx(Wq,{present:n||o.open,children:He.jsx(Uq,{asChild:!0,container:i,children:r})})})};Aue.displayName=xue;var Lue="MenuContent",[Pue,Rue]=mue(Lue),Oue=Qt.forwardRef((e,t)=>{const n=Mue(Lue,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,o=Cue(Lue,e.__scopeMenu),a=Eue(Lue,e.__scopeMenu);return He.jsx(hue.Provider,{scope:e.__scopeMenu,children:He.jsx(Wq,{present:r||o.open,children:He.jsx(hue.Slot,{scope:e.__scopeMenu,children:a.modal?He.jsx(Due,{...i,ref:t}):He.jsx(Iue,{...i,ref:t})})})})}),Due=Qt.forwardRef((e,t)=>{const n=Cue(Lue,e.__scopeMenu),r=Qt.useRef(null),i=Ya(t,r);return Qt.useEffect(()=>{const e=r.current;if(e)return tK(e)},[]),He.jsx(Fue,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:pW(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Iue=Qt.forwardRef((e,t)=>{const n=Cue(Lue,e.__scopeMenu);return He.jsx(Fue,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),_ue=Za("MenuContent.ScrollLock"),Fue=Qt.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:f,disableOutsideScroll:p,...m}=e,g=Cue(Lue,n),v=Eue(Lue,n),y=vue(n),b=yue(n),C=fue(n),[w,E]=Qt.useState(null),k=Qt.useRef(null),S=Ya(t,k,g.onContentChange),x=Qt.useRef(0),T=Qt.useRef(""),M=Qt.useRef(0),A=Qt.useRef(null),L=Qt.useRef("right"),P=Qt.useRef(0),R=p?BK:Qt.Fragment,O=p?{as:_ue,allowPinchZoom:!0}:void 0;Qt.useEffect(()=>()=>window.clearTimeout(x.current),[]),AW();const D=Qt.useCallback(e=>{var t,n;return L.current===(null==(t=A.current)?void 0:t.side)&&function(e,t){if(!t)return!1;return function(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,a=t.length-1;o<t.length;a=o++){const e=t[o],s=t[a],l=e.x,c=e.y,u=s.x,d=s.y;c>r!=d>r&&n<(u-l)*(r-c)/(d-c)+l&&(i=!i)}return i}({x:e.clientX,y:e.clientY},t)}(e,null==(n=A.current)?void 0:n.area)},[]);return He.jsx(Pue,{scope:n,searchRef:T,onItemEnter:Qt.useCallback(e=>{D(e)&&e.preventDefault()},[D]),onItemLeave:Qt.useCallback(e=>{var t;D(e)||(null==(t=k.current)||t.focus(),E(null))},[D]),onTriggerLeave:Qt.useCallback(e=>{D(e)&&e.preventDefault()},[D]),pointerGraceTimerRef:M,onPointerGraceIntentChange:Qt.useCallback(e=>{A.current=e},[]),children:He.jsx(R,{...O,children:He.jsx(DW,{asChild:!0,trapped:i,onMountAutoFocus:pW(o,e=>{var t;e.preventDefault(),null==(t=k.current)||t.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:He.jsx(kW,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:h,onDismiss:f,children:He.jsx(iue,{asChild:!0,...b,dir:v.dir,orientation:"vertical",loop:r,currentTabStopId:w,onCurrentTabStopIdChange:E,onEntryFocus:pW(l,e=>{v.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:He.jsx(Vq,{role:"menu","aria-orientation":"vertical","data-state":ude(g.open),"data-radix-menu-content":"",dir:v.dir,...y,...m,ref:S,style:{outline:"none",...m.style},onKeyDown:pW(m.onKeyDown,e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&(e=>{var t,n;const r=T.current+e,i=C().filter(e=>!e.disabled),o=document.activeElement,a=null==(t=i.find(e=>e.ref.current===o))?void 0:t.textValue,s=function(e,t,n){const r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let o=(a=e,s=Math.max(i,0),a.map((e,t)=>a[(s+t)%a.length]));var a,s;1===r.length&&(o=o.filter(e=>e!==n));const l=o.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}(i.map(e=>e.textValue),r,a),l=null==(n=i.find(e=>e.textValue===s))?void 0:n.ref.current;!function e(t){T.current=t,window.clearTimeout(x.current),""!==t&&(x.current=window.setTimeout(()=>e(""),1e3))}(r),l&&setTimeout(()=>l.focus())})(e.key));const i=k.current;if(e.target!==i)return;if(!lue.includes(e.key))return;e.preventDefault();const o=C().filter(e=>!e.disabled).map(e=>e.ref.current);sue.includes(e.key)&&o.reverse(),function(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}(o)}),onBlur:pW(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(x.current),T.current="")}),onPointerMove:pW(e.onPointerMove,fde(e=>{const t=e.target,n=P.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>P.current?"right":"left";L.current=t,P.current=e.clientX}}))})})})})})})});Oue.displayName=Lue;var $ue=Qt.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return He.jsx(vW.div,{role:"group",...r,ref:t})});$ue.displayName="MenuGroup";var Nue=Qt.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return He.jsx(vW.div,{...r,ref:t})});Nue.displayName="MenuLabel";var Bue="MenuItem",jue="menu.itemSelect",zue=Qt.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,o=Qt.useRef(null),a=Eue(Bue,e.__scopeMenu),s=Rue(Bue,e.__scopeMenu),l=Ya(t,o),c=Qt.useRef(!1);return He.jsx(Vue,{...i,ref:l,disabled:n,onClick:pW(e.onClick,()=>{const e=o.current;if(!n&&e){const t=new CustomEvent(jue,{bubbles:!0,cancelable:!0});e.addEventListener(jue,e=>null==r?void 0:r(e),{once:!0}),yW(e,t),t.defaultPrevented?c.current=!1:a.onClose()}}),onPointerDown:t=>{var n;null==(n=e.onPointerDown)||n.call(e,t),c.current=!0},onPointerUp:pW(e.onPointerUp,e=>{var t;c.current||null==(t=e.currentTarget)||t.click()}),onKeyDown:pW(e.onKeyDown,e=>{const t=""!==s.searchRef.current;n||t&&" "===e.key||aue.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});zue.displayName=Bue;var Vue=Qt.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...o}=e,a=Rue(Bue,n),s=yue(n),l=Qt.useRef(null),c=Ya(t,l),[u,d]=Qt.useState(!1),[h,f]=Qt.useState("");return Qt.useEffect(()=>{const e=l.current;e&&f((e.textContent??"").trim())},[o.children]),He.jsx(hue.ItemSlot,{scope:n,disabled:r,textValue:i??h,children:He.jsx(oue,{asChild:!0,...s,focusable:!r,children:He.jsx(vW.div,{role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...o,ref:c,onPointerMove:pW(e.onPointerMove,fde(e=>{r?a.onItemLeave(e):(a.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:pW(e.onPointerLeave,fde(e=>a.onItemLeave(e))),onFocus:pW(e.onFocus,()=>d(!0)),onBlur:pW(e.onBlur,()=>d(!1))})})})}),Hue=Qt.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return He.jsx(Que,{scope:e.__scopeMenu,checked:n,children:He.jsx(zue,{role:"menuitemcheckbox","aria-checked":dde(n)?"mixed":n,...i,ref:t,"data-state":hde(n),onSelect:pW(i.onSelect,()=>null==r?void 0:r(!!dde(n)||!n),{checkForDefaultPrevented:!1})})})});Hue.displayName="MenuCheckboxItem";var Uue="MenuRadioGroup",[Wue,Gue]=mue(Uue,{value:void 0,onValueChange:()=>{}}),que=Qt.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,o=bW(r);return He.jsx(Wue,{scope:e.__scopeMenu,value:n,onValueChange:o,children:He.jsx($ue,{...i,ref:t})})});que.displayName=Uue;var Kue="MenuRadioItem",Yue=Qt.forwardRef((e,t)=>{const{value:n,...r}=e,i=Gue(Kue,e.__scopeMenu),o=n===i.value;return He.jsx(Que,{scope:e.__scopeMenu,checked:o,children:He.jsx(zue,{role:"menuitemradio","aria-checked":o,...r,ref:t,"data-state":hde(o),onSelect:pW(r.onSelect,()=>{var e;return null==(e=i.onValueChange)?void 0:e.call(i,n)},{checkForDefaultPrevented:!1})})})});Yue.displayName=Kue;var Zue="MenuItemIndicator",[Que,Xue]=mue(Zue,{checked:!1}),Jue=Qt.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,o=Xue(Zue,n);return He.jsx(Wq,{present:r||dde(o.checked)||!0===o.checked,children:He.jsx(vW.span,{...i,ref:t,"data-state":hde(o.checked)})})});Jue.displayName=Zue;var ede=Qt.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return He.jsx(vW.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});ede.displayName="MenuSeparator";var tde=Qt.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=vue(n);return He.jsx(Hq,{...i,...r,ref:t})});tde.displayName="MenuArrow";var nde="MenuSub",[rde,ide]=mue(nde),ode=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:i}=e,o=Cue(nde,t),a=vue(t),[s,l]=Qt.useState(null),[c,u]=Qt.useState(null),d=bW(i);return Qt.useEffect(()=>(!1===o.open&&d(!1),()=>d(!1)),[o.open,d]),He.jsx(jq,{...a,children:He.jsx(bue,{scope:t,open:r,onOpenChange:d,content:c,onContentChange:u,children:He.jsx(rde,{scope:t,contentId:HW(),triggerId:HW(),trigger:s,onTriggerChange:l,children:n})})})};ode.displayName=nde;var ade="MenuSubTrigger",sde=Qt.forwardRef((e,t)=>{const n=Cue(ade,e.__scopeMenu),r=Eue(ade,e.__scopeMenu),i=ide(ade,e.__scopeMenu),o=Rue(ade,e.__scopeMenu),a=Qt.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=o,c={__scopeMenu:e.__scopeMenu},u=Qt.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return Qt.useEffect(()=>u,[u]),Qt.useEffect(()=>{const e=s.current;return()=>{window.clearTimeout(e),l(null)}},[s,l]),He.jsx(Sue,{asChild:!0,...c,children:He.jsx(Vue,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":n.open?i.contentId:void 0,"data-state":ude(n.open),...e,ref:Ka(t,i.onTriggerChange),onClick:t=>{var r;null==(r=e.onClick)||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:pW(e.onPointerMove,fde(t=>{o.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||a.current||(o.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:pW(e.onPointerLeave,fde(e=>{var t,r;u();const i=null==(t=n.content)?void 0:t.getBoundingClientRect();if(i){const t=null==(r=n.content)?void 0:r.dataset.side,a="right"===t,l=a?-5:5,c=i[a?"left":"right"],u=i[a?"right":"left"];o.onPointerGraceIntentChange({area:[{x:e.clientX+l,y:e.clientY},{x:c,y:i.top},{x:u,y:i.top},{x:u,y:i.bottom},{x:c,y:i.bottom}],side:t}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>o.onPointerGraceIntentChange(null),300)}else{if(o.onTriggerLeave(e),e.defaultPrevented)return;o.onPointerGraceIntentChange(null)}})),onKeyDown:pW(e.onKeyDown,t=>{var i;const a=""!==o.searchRef.current;e.disabled||a&&" "===t.key||cue[r.dir].includes(t.key)&&(n.onOpenChange(!0),null==(i=n.content)||i.focus(),t.preventDefault())})})})});sde.displayName=ade;var lde="MenuSubContent",cde=Qt.forwardRef((e,t)=>{const n=Mue(Lue,e.__scopeMenu),{forceMount:r=n.forceMount,align:i="start",...o}=e,a=Cue(Lue,e.__scopeMenu),s=Eue(Lue,e.__scopeMenu),l=ide(lde,e.__scopeMenu),c=Qt.useRef(null),u=Ya(t,c);return He.jsx(hue.Provider,{scope:e.__scopeMenu,children:He.jsx(Wq,{present:r||a.open,children:He.jsx(hue.Slot,{scope:e.__scopeMenu,children:He.jsx(Fue,{id:l.contentId,"aria-labelledby":l.triggerId,...o,ref:u,align:i,side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;s.isUsingKeyboardRef.current&&(null==(t=c.current)||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:pW(e.onFocusOutside,e=>{e.target!==l.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:pW(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:pW(e.onKeyDown,e=>{var t;const n=e.currentTarget.contains(e.target),r=uue[s.dir].includes(e.key);n&&r&&(a.onOpenChange(!1),null==(t=l.trigger)||t.focus(),e.preventDefault())})})})})})});function ude(e){return e?"open":"closed"}function dde(e){return"indeterminate"===e}function hde(e){return dde(e)?"indeterminate":e?"checked":"unchecked"}function fde(e){return t=>"mouse"===t.pointerType?e(t):void 0}cde.displayName=lde;var pde=kue,mde=Sue,gde=Aue,vde=Oue,yde=$ue,bde=Nue,Cde=zue,wde=Hue,Ede=que,kde=Yue,Sde=Jue,xde=ede,Tde=tde,Mde=ode,Ade=sde,Lde=cde,Pde="DropdownMenu",[Rde]=mW(Pde,[gue]),Ode=gue(),[Dde,Ide]=Rde(Pde),_de=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:o,onOpenChange:a,modal:s=!0}=e,l=Ode(t),c=Qt.useRef(null),[u,d]=Yq({prop:i,defaultProp:o??!1,onChange:a,caller:Pde});return He.jsx(Dde,{scope:t,triggerId:HW(),triggerRef:c,contentId:HW(),open:u,onOpenChange:d,onOpenToggle:Qt.useCallback(()=>d(e=>!e),[d]),modal:s,children:He.jsx(pde,{...l,open:u,onOpenChange:d,dir:r,modal:s,children:n})})};_de.displayName=Pde;var Fde="DropdownMenuTrigger",$de=Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,o=Ide(Fde,n),a=Ode(n);return He.jsx(mde,{asChild:!0,...a,children:He.jsx(vW.button,{type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:Ka(t,o.triggerRef),onPointerDown:pW(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(o.onOpenToggle(),o.open||e.preventDefault())}),onKeyDown:pW(e.onKeyDown,e=>
1{r||(["Enter"," "].includes(e.key)&&o.onOpenToggle(),"ArrowDown"===e.key&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});$de.displayName=Fde;var Nde=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ode(t);return He.jsx(gde,{...r,...n})};Nde.displayName="DropdownMenuPortal";var Bde="DropdownMenuContent",jde=Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ide(Bde,n),o=Ode(n),a=Qt.useRef(!1);return He.jsx(vde,{id:i.contentId,"aria-labelledby":i.triggerId,...o,...r,ref:t,onCloseAutoFocus:pW(e.onCloseAutoFocus,e=>{var t;a.current||null==(t=i.triggerRef.current)||t.focus(),a.current=!1,e.preventDefault()}),onInteractOutside:pW(e.onInteractOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;i.modal&&!r||(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});jde.displayName=Bde;var zde=Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(yde,{...i,...r,ref:t})});zde.displayName="DropdownMenuGroup";var Vde=Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(bde,{...i,...r,ref:t})});Vde.displayName="DropdownMenuLabel";var Hde=Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(Cde,{...i,...r,ref:t})});Hde.displayName="DropdownMenuItem",Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(wde,{...i,...r,ref:t})}).displayName="DropdownMenuCheckboxItem",Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(Ede,{...i,...r,ref:t})}).displayName="DropdownMenuRadioGroup",Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(kde,{...i,...r,ref:t})}).displayName="DropdownMenuRadioItem",Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(Sde,{...i,...r,ref:t})}).displayName="DropdownMenuItemIndicator";var Ude=Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(xde,{...i,...r,ref:t})});Ude.displayName="DropdownMenuSeparator",Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(Tde,{...i,...r,ref:t})}).displayName="DropdownMenuArrow",Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(Ade,{...i,...r,ref:t})}).displayName="DropdownMenuSubTrigger",Qt.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ode(n);return He.jsx(Lde,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";var Wde=_de,Gde=$de,qde=Nde,Kde=jde,Yde=zde,Zde=Vde,Qde=Hde,Xde=Ude;function Jde(e,t){return"function"==typeof e?e(t):e}function ehe(e,t){return n=>{t.setState(t=>({...t,[e]:Jde(n,t[e])}))}}function the(e){return e instanceof Function}function nhe(e,t,n){let r,i=[];return o=>{let a;n.key&&n.debug&&(a=Date.now());const s=e(o);if(s.length===i.length&&!s.some((e,t)=>i[t]!==e))return r;let l;return i=s,n.key&&n.debug&&(l=Date.now()),r=t(...s),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()&&(Math.round(100*(Date.now()-a)),Math.round(100*(Date.now()-l))),r}}function rhe(e,t,n,r){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:!1,onChange:r}}const ihe="debugHeaders";function ohe(e,t,n){var r;let i={id:null!=(r=n.id)?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(i),e},getContext:()=>({table:e,header:i,column:t})};
1return e._features.forEach(t=>{null==t.createHeader||t.createHeader(i,e)}),i}const ahe={createTable:e=>{e.getHeaderGroups=nhe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>{var o,a;const s=null!=(o=null==r?void 0:r.map(e=>n.find(t=>t.id===e)).filter(Boolean))?o:[],l=null!=(a=null==i?void 0:i.map(e=>n.find(t=>t.id===e)).filter(Boolean))?a:[];return she(t,[...s,...n.filter(e=>!(null!=r&&r.includes(e.id)||null!=i&&i.includes(e.id))),...l],e)},rhe(e.options,ihe)),e.getCenterHeaderGroups=nhe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,i)=>she(t,n=n.filter(e=>!(null!=r&&r.includes(e.id)||null!=i&&i.includes(e.id))),e,"center"),rhe(e.options,ihe)),e.getLeftHeaderGroups=nhe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var i;return she(t,null!=(i=null==r?void 0:r.map(e=>n.find(t=>t.id===e)).filter(Boolean))?i:[],e,"left")},rhe(e.options,ihe)),e.getRightHeaderGroups=nhe(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var i;return she(t,null!=(i=null==r?void 0:r.map(e=>n.find(t=>t.id===e)).filter(Boolean))?i:[],e,"right")},rhe(e.options,ihe)),e.getFooterGroups=nhe(()=>[e.getHeaderGroups()],e=>[...e].reverse(),rhe(e.options,ihe)),e.getLeftFooterGroups=nhe(()=>[e.getLeftHeaderGroups()],e=>[...e].reverse(),rhe(e.options,ihe)),e.getCenterFooterGroups=nhe(()=>[e.getCenterHeaderGroups()],e=>[...e].reverse(),rhe(e.options,ihe)),e.getRightFooterGroups=nhe(()=>[e.getRightHeaderGroups()],e=>[...e].reverse(),rhe(e.options,ihe)),e.getFlatHeaders=nhe(()=>[e.getHeaderGroups()],e=>e.map(e=>e.headers).flat(),rhe(e.options,ihe)),e.getLeftFlatHeaders=nhe(()=>[e.getLeftHeaderGroups()],e=>e.map(e=>e.headers).flat(),rhe(e.options,ihe)),e.getCenterFlatHeaders=nhe(()=>[e.getCenterHeaderGroups()],e=>e.map(e=>e.headers).flat(),rhe(e.options,ihe)),e.getRightFlatHeaders=nhe(()=>[e.getRightHeaderGroups()],e=>e.map(e=>e.headers).flat(),rhe(e.options,ihe)),e.getCenterLeafHeaders=nhe(()=>[e.getCenterFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),rhe(e.options,ihe)),e.getLeftLeafHeaders=nhe(()=>[e.getLeftFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),rhe(e.options,ihe)),e.getRightLeafHeaders=nhe(()=>[e.getRightFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),rhe(e.options,ihe)),e.getLeafHeaders=nhe(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(e,t,n)=>{var r,i,o,a,s,l;return[...null!=(r=null==(i=e[0])?void 0:i.headers)?r:[],...null!=(o=null==(a=t[0])?void 0:a.headers)?o:[],...null!=(s=null==(l=n[0])?void 0:l.headers)?s:[]].map(e=>e.getLeafHeaders()).flat()},rhe(e.options,ihe))}};function she(e,t,n,r){var i,o;let a=0;const s=function(e,t){void 0===t&&(t=1),a=Math.max(a,t),e.filter(e=>e.getIsVisible()).forEach(e=>{var n;null!=(n=e.columns)&&n.length&&s(e.columns,t+1)},0)};s(e);let l=[];const c=(e,t)=>{const i={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},o=[];e.forEach(e=>{const a=[...o].reverse()[0];let s,l=!1;if(e.column.depth===i.depth&&e.column.parent?s=e.column.parent:(s=e.column,l=!0),a&&(null==a?void 0:a.column)===s)a.subHeaders.push(e);else{const i=ohe(n,s,{id:[r,t,s.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:l,placeholderId:l?`${o.filter(e=>e.column===s).length}`:void 0,depth:t,index:o.length});i.subHeaders.push(e),o.push(i)}i.headers.push(e),e.headerGroup=i}),l.push(i),t>0&&c(o,t-1)},u=t.map((e,t)=>ohe(n,e,{depth:a,index:t}));c(u,a-1),l.reverse();const d=e=>e.filter(e=>e.column.getIsVisible()).map(e=>{let t=0,n=0,r=[0];return e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach(e=>{let{colSpan:n,rowSpan:i}=e;t+=n,r.push(i)})):t=1,n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}});return d(null!=(i=null==(o=l[0])?void 0:o.headers)?i:[]),l}const lhe=(e,t,n,r,i,o,a)=>{let s={id:t,index:r,original:n,depth:i,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(s._valuesCache.hasOwnProperty(t))return s._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(s._valuesCache[t]=n.accessorFn(s.original,r),s._valuesCache[t]):void 0},getUniqueValues:t=>{if(s._uniqueValuesCache.hasOwnProperty(t))return s._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(s._uniqueValuesCache[t]=n.columnDef.getUniqueValues(s.original,r),s._uniqueValuesCache[t]):(s._uniqueValuesCache[t]=[s.getValue(t)],s._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=s.getValue(t))?n:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>function(e){const t=[],n=e=>
1{e.forEach(e=>{t.push(e);const r=e.subRows;null!=r&&r.length&&n(r)})};return n(e),t}(s.subRows),getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let e=[],t=s;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:nhe(()=>[e.getAllLeafColumns()],t=>t.map(t=>function(e,t,n,r){const i={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:()=>{var t;return null!=(t=i.getValue())?t:e.options.renderFallbackValue},getContext:nhe(()=>[e,n,t,i],(e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue}),rhe(e.options,"debugCells"))};return e._features.forEach(r=>{null==r.createCell||r.createCell(i,n,t,e)},{}),i}(e,s,t,t.id)),rhe(e.options,"debugRows")),_getAllCellsByColumnId:nhe(()=>[s.getAllCells()],e=>e.reduce((e,t)=>(e[t.column.id]=t,e),{}),rhe(e.options,"debugRows"))};for(let l=0;l<e._features.length;l++){const t=e._features[l];null==t||null==t.createRow||t.createRow(s,e)}return s},che={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.i
1d),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},uhe=(e,t,n)=>{var r,i;const o=null==n||null==(r=n.toString())?void 0:r.toLowerCase();return Boolean(null==(i=e.getValue(t))||null==(i=i.toString())||null==(i=i.toLowerCase())?void 0:i.includes(o))};uhe.autoRemove=e=>Che(e);const dhe=(e,t,n)=>{var r;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};dhe.autoRemove=e=>Che(e);const hhe=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};hhe.autoRemove=e=>Che(e);const fhe=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};fhe.autoRemove=e=>Che(e);const phe=(e,t,n)=>!n.some(n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))});phe.autoRemove=e=>Che(e)||!(null!=e&&e.length);const mhe=(e,t,n)=>n.some(n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)});mhe.autoRemove=e=>Che(e)||!(null!=e&&e.length);const ghe=(e,t,n)=>e.getValue(t)===n;ghe.autoRemove=e=>Che(e);const vhe=(e,t,n)=>e.getValue(t)==n;vhe.autoRemove=e=>Che(e);const yhe=(e,t,n)=>{let[r,i]=n;const o=e.getValue(t);return o>=r&&o<=i};yhe.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,i="number"!=typeof n?parseFloat(n):n,o=null===t||Number.isNaN(r)?-1/0:r,a=null===n||Number.isNaN(i)?1/0:i;if(o>a){const e=o;o=a,a=e}return[o,a]},yhe.autoRemove=e=>Che(e)||Che(e[0])&&Che(e[1]);const bhe={includesString:uhe,includesStringSensitive:dhe,equalsString:hhe,arrIncludes:fhe,arrIncludesAll:phe,arrIncludesSome:mhe,equals:ghe,weakEquals:vhe,inNumberRange:yhe};function Che(e){return null==e||""===e}const whe={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:ehe("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?bhe.includesString:"number"==typeof r?bhe.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?bhe.equals:Array.isArray(r)?bhe.arrIncludes:bhe.weakEquals},e.getFilterFn=()=>{var n,r;return the(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:bhe[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,i;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(i=t.options.enableFilters)||i)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find(t=>t.id===e.id))?void 0:n.value},e.getFilterIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex(t=>t.id===e.id))?n:-1},e.setFilterValue=n=>{t.setColumnFilters(t=>{const r=e.getFilterFn(),i=null==t?void 0:t.find(t=>t.id===e.id),o=Jde(n,i?i.value:void 0);var a;if(Ehe(r,o,e))return null!=(a=null==t?void 0:t.filter(t=>t.id!==e.id))?a:[];const s={id:e.id,value:o};var l;return i?null!=(l=null==t?void 0:t.map(t=>t.id===e.id?s:t))?l:[]:null!=t&&t.length?[...t,s]:[s]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange(e=>{var r;return null==(r=Jde(t,e))?void 0:r.filter(e=>{const t=n.find(t=>t.id===e.id);return!t||!Ehe(t.getFilterFn(),e.value,t)})})},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function Ehe(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}
1const khe={sum:(e,t,n)=>n.reduce((t,n)=>{const r=n.getValue(e);return t+("number"==typeof r?r:0)},0),min:(e,t,n)=>{let r;return n.forEach(t=>{const n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)}),r},max:(e,t,n)=>{let r;return n.forEach(t=>{const n=t.getValue(e);null!=n&&(r<n||void 0===r&&n>=n)&&(r=n)}),r},extent:(e,t,n)=>{let r,i;return n.forEach(t=>{const n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=i=n):(r>n&&(r=n),i<n&&(i=n)))}),[r,i]},mean:(e,t)=>{let n=0,r=0;if(t.forEach(t=>{let i=t.getValue(e);null!=i&&(i=+i)>=i&&(++n,r+=i)}),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map(t=>t.getValue(e));if(r=n,!Array.isArray(r)||!r.every(e=>"number"==typeof e))return;var r;if(1===n.length)return n[0];const i=Math.floor(n.length/2),o=n.sort((e,t)=>e-t);return n.length%2!=0?o[i]:(o[i-1]+o[i])/2},unique:(e,t)=>Array.from(new Set(t.map(t=>t.getValue(e))).values()),uniqueCount:(e,t)=>new Set(t.map(t=>t.getValue(e))).size,count:(e,t)=>t.length},She={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:ehe("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(t=>null!=t&&t.includes(e.id)?t.filter(t=>t!==e.id):[...null!=t?t:[],e.id])},e.getCanGroup=()=>{var n,r;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?khe.sum:"[object Date]"===Object.prototype.toString.call(r)?khe.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return the(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:khe[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}},xhe={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:ehe("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=nhe(e=>[Rhe(t,e)],t=>t.findIndex(t=>t.id===e.id),rhe(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var r;return(null==(r=Rhe(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const i=Rhe(t,n);return(null==(r=i[i.length-1])?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=nhe(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(e,t,n)=>r=>{let i=[];if(null!=e&&e.length){const t=[...e],n=[...r];for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex(t=>t.id===e);r>-1&&i.push(n.splice(r,1)[0])}i=[...i,...n]}else i=r;return function(e,t,n){if(null==t||!t.length||!n)return e;const r=e.filter(e=>!t.includes(e.id));return"remove"===n?r:[...t.map(t=>e.find(e=>
1e.id===t)).filter(Boolean),...r]}(i,t,n)},rhe(e.options,"debugTable"))}},The={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:ehe("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map(e=>e.id).filter(Boolean);t.setColumnPinning(e=>{var t,i,o,a,s,l;return"right"===n?{left:(null!=(o=null==e?void 0:e.left)?o:[]).filter(e=>!(null!=r&&r.includes(e))),right:[...(null!=(a=null==e?void 0:e.right)?a:[]).filter(e=>!(null!=r&&r.includes(e))),...r]}:"left"===n?{left:[...(null!=(s=null==e?void 0:e.left)?s:[]).filter(e=>!(null!=r&&r.includes(e))),...r],right:(null!=(l=null==e?void 0:e.right)?l:[]).filter(e=>!(null!=r&&r.includes(e)))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter(e=>!(null!=r&&r.includes(e))),right:(null!=(i=null==e?void 0:e.right)?i:[]).filter(e=>!(null!=r&&r.includes(e)))}})},e.getCanPin=()=>e.getLeafColumns().some(e=>{var n,r,i;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(i=t.options.enableColumnPinning)?i:t.options.enablePinning)||r)}),e.getIsPinned=()=>{const n=e.getLeafColumns().map(e=>e.id),{left:r,right:i}=t.getState().columnPinning,o=n.some(e=>null==r?void 0:r.includes(e)),a=n.some(e=>null==i?void 0:i.includes(e));return o?"left":!!a&&"right"},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();return i?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[i])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=nhe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter(e=>!r.includes(e.column.id))},rhe(t.options,"debugRows")),e.getLeftVisibleCells=nhe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"left"})),rhe(t.options,"debugRows")),e.getRightVisibleCells=nhe(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"right"})),rhe(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;var i,o;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(i=r.left)?void 0:i.length)||(null==(o=r.right)?void 0:o.length))},e.getLeftLeafColumns=nhe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),rhe(e.options,"debugColumns")),e.getRightLeafColumns=nhe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),rhe(e.options,"debugColumns")),e.getCenterLeafColumns=nhe(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter(e=>!r.includes(e.id))},rhe(e.options,"debugColumns"))}},Mhe={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Ahe={getDefaultColumnDef:()=>Mhe,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:ehe("columnSizing",e),onColumnSizingInfoChange:ehe("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,i;const o=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:Mhe.minSize,null!=(r=null!=o?o:e.columnDef.size)?r:Mhe.size),null!=(i=e.columnDef.maxSize)?i:Mhe.maxSize)},e.getStart=nhe(e=>[e,Rhe(t,e),t.getState().columnSizing],(t,n)=>n.slice(0,e.getIndex(t)).reduce((e,t)=>e+t.getSize(),0),rhe(t.options,"debugColumns")),e.getAfter=nhe(e=>
1[e,Rhe(t,e),t.getState().columnSizing],(t,n)=>n.slice(e.getIndex(t)+1).reduce((e,t)=>e+t.getSize(),0),rhe(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing(t=>{let{[e.id]:n,...r}=t;return r})},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var r;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(r=e.column.getSize())?r:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),i=null==r?void 0:r.getCanResize();return o=>{if(!r||!i)return;if(null==o.persist||o.persist(),Phe(o)&&o.touches&&o.touches.length>1)return;const a=e.getSize(),s=e?e.getLeafHeaders().map(e=>[e.column.id,e.column.getSize()]):[[r.id,r.getSize()]],l=Phe(o)?Math.round(o.touches[0].clientX):o.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo(e=>{var r,i;const o="rtl"===t.options.columnResizeDirection?-1:1,a=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*o,s=Math.max(a/(null!=(i=null==e?void 0:e.startSize)?i:0),-.999999);return e.columnSizingStart.forEach(e=>{let[t,n]=e;c[t]=Math.round(100*Math.max(n+n*s,0))/100}),{...e,deltaOffset:a,deltaPercentage:s}}),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing(e=>({...e,...c})))},d=e=>u("move",e),h=e=>{u("end",e),t.setColumnSizingInfo(e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},f=n||("undefined"!=typeof document?document:null),p={moveHandler:e=>d(e.clientX),upHandler:e=>{null==f||f.removeEventListener("mousemove",p.moveHandler),null==f||f.removeEventListener("mouseup",p.upHandler),h(e.clientX)}},m={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==f||f.removeEventListener("touchmove",m.moveHandler),null==f||f.removeEventListener("touchend",m.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}},g=!!function(){if("boolean"==typeof Lhe)return Lhe;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch(DDe){e=!1}return Lhe=e,Lhe}()&&{passive:!1};Phe(o)?(null==f||f.addEventListener("touchmove",m.moveHandler,g),null==f||f.addEventListener("touchend",m.upHandler,g)):(null==f||f.addEventListener("mousemove",p.moveHandler,g),null==f||f.addEventListener("mouseup",p.upHandler,g)),t.setColumnSizingInfo(e=>({...e,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0}}};let Lhe=null;function Phe(e){return"touchstart"===e.type}function Rhe(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Ohe={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:ehe("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}
1),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const r={...n},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach(e=>{e.getCanSelect()&&(r[e.id]=!0)}):i.forEach(e=>{delete r[e.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),i={...n};return e.getRowModel().rows.forEach(t=>{Dhe(i,t.id,r,!0,e)}),i}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=nhe(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?Ihe(e,n):{rows:[],flatRows:[],rowsById:{}},rhe(e.options,"debugTable")),e.getFilteredSelectedRowModel=nhe(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?Ihe(e,n):{rows:[],flatRows:[],rowsById:{}},rhe(e.options,"debugTable")),e.getGroupedSelectedRowModel=nhe(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?Ihe(e,n):{rows:[],flatRows:[],rowsById:{}},rhe(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=Boolean(t.length&&Object.keys(n).length);return r&&t.some(e=>e.getCanSelect()&&!n[e.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter(e=>e.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(e=>!n[e.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter(e=>e.getCanSelect()).some(e=>e.getIsSelected()||e.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const i=e.getIsSelected();t.setRowSelection(o=>{var a;if(n=void 0!==n?n:!i,e.getCanSelect()&&i===n)return o;const s={...o};return Dhe(s,e.id,n,null==(a=null==r?void 0:r.selectChildren)||a,t),s})},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return _he(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Fhe(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Fhe(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},Dhe=(e,t,n,r,i)=>{var o;const a=i.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach(t=>delete e[t]),a.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(o=a.subRows)&&o.length&&a.getCanSelectSubRows()&&a.subRows.forEach(t=>Dhe(e,t.id,n,r,i))};function Ihe(e,t){const n=e.getState().rowSelection,r=[],i={},o=function(e,t){return e.map(e=>{var t;const a=_he(e,n);if(a&&(r.push(e),i[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:o(e.subRows)}),a)return e}).filter(Boolean)};return{rows:o(t.rows),flatRows:r,rowsById:i}}function _he(e,t){var n;return null!=(n=t[e.id])&&n}function Fhe(e,t,n){var r;
1if(null==(r=e.subRows)||!r.length)return!1;let i=!0,o=!1;return e.subRows.forEach(e=>{if((!o||i)&&(e.getCanSelect()&&(_he(e,t)?o=!0:i=!1),e.subRows&&e.subRows.length)){const n=Fhe(e,t);"all"===n?o=!0:"some"===n?(o=!0,i=!1):i=!1}}),i?"all":!!o&&"some"}const $he=/([0-9]+)/gm;function Nhe(e,t){return e===t?0:e>t?1:-1}function Bhe(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function jhe(e,t){const n=e.split($he).filter(Boolean),r=t.split($he).filter(Boolean);for(;n.length&&r.length;){const e=n.shift(),t=r.shift(),i=parseInt(e,10),o=parseInt(t,10),a=[i,o].sort();if(isNaN(a[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(a[1]))return isNaN(i)?-1:1;if(i>o)return 1;if(o>i)return-1}}return n.length-r.length}const zhe={alphanumeric:(e,t,n)=>jhe(Bhe(e.getValue(n)).toLowerCase(),Bhe(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>jhe(Bhe(e.getValue(n)),Bhe(t.getValue(n))),text:(e,t,n)=>Nhe(Bhe(e.getValue(n)).toLowerCase(),Bhe(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Nhe(Bhe(e.getValue(n)),Bhe(t.getValue(n))),datetime:(e,t,n)=>{const r=e.getValue(n),i=t.getValue(n);return r>i?1:r<i?-1:0},basic:(e,t,n)=>Nhe(e.getValue(n),t.getValue(n))},Vhe=[ahe,{getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:ehe("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;const i=e.columns;return null==(n=i.length?i.some(e=>e.getIsVisible()):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=nhe(()=>[e.getAllCells(),t.getState().columnVisibility],e=>e.filter(e=>e.column.getIsVisible()),rhe(t.options,"debugRows")),e.getVisibleCells=nhe(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(e,t,n)=>[...e,...t,...n],rhe(t.options,"debugRows"))},createTable:e=>{const t=(t,n)=>nhe(()=>[n(),n().filter(e=>e.getIsVisible()).map(e=>e.id).join("_")],e=>e.filter(e=>null==e.getIsVisible?void 0:e.getIsVisible()),rhe(e.options,"debugColumns"));e.getVisibleFlatColumns=t(0,()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t(0,()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t(0,()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t(0,()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t(0,()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(e=>!(null!=e.getIsVisible&&e.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(e=>null==e.getIsVisible?void 0:e.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}},xhe,The,che,whe,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:ehe("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,i,o;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(i=t.options.enableFilters)||i)&&(null==(o=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||o)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>bhe.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return the(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:bhe[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)}
1,e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:ehe("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return zhe.datetime;if("string"==typeof n&&(r=!0,n.split($he).length>1))return zhe.alphanumeric}return r?zhe.text:zhe.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return the(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:zhe[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const i=e.getNextSortingOrder(),o=null!=n;t.setSorting(a=>{const s=null==a?void 0:a.find(t=>t.id===e.id),l=null==a?void 0:a.findIndex(t=>t.id===e.id);let c,u=[],d=o?n:"desc"===i;var h;return c=null!=a&&a.length&&e.getCanMultiSort()&&r?s?"toggle":"add":null!=a&&a.length&&l!==a.length-1?"replace":s?"toggle":"replace","toggle"===c&&(o||i||(c="remove")),"add"===c?(u=[...a,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(h=t.options.maxMultiSortColCount)?h:Number.MAX_SAFE_INTEGER))):u="toggle"===c?a.map(t=>t.id===e.id?{...t,desc:d}:t):"remove"===c?a.filter(t=>t.id!==e.id):[{id:e.id,desc:d}],u})},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,i;const o=e.getFirstSortDir(),a=e.getIsSorted();return a?!!(a===o||null!=(r=t.options.enableSortingRemoval)&&!r||n&&null!=(i=t.options.enableMultiRemove)&&!i)&&("desc"===a?"asc":"desc"):o},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=null==(n=t.getState().sorting)?void 0:n.find(t=>t.id===e.id);return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.findIndex(t=>t.id===e.id))?n:-1},e.clearSorting=()=>{t.setSorting(t=>null!=t&&t.length?t.filter(t=>t.id!==e.id):[])},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},She,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:ehe("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,i;if(t){if(null!=(r=null!=(i=e.options.autoResetAll)?i:e.options.autoResetExpanded)?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}}else e._queue(()=>{t=!0})},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(e=>e.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some(e=>!e.getIsExpanded())},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEac
1h(e=>{const n=e.split(".");t=Math.max(t,n.length)}),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var i;const o=!0===r||!(null==r||!r[e.id]);let a={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach(e=>{a[e]=!0}):a=r,n=null!=(i=n)?i:!o,!o&&n)return{...a,[e.id]:!0};if(o&&!n){const{[e.id]:t,...n}=a;return n}return r})},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,i;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!(null==(i=e.subRows)||!i.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:ehe("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,i;if(t){if(null!=(r=null!=(i=e.options.autoResetAll)?i:e.options.autoResetPageIndex)?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}}else e._queue(()=>{t=!0})},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange(e=>Jde(t,e)),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination(n=>{let r=Jde(t,n.pageIndex);const i=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.max(0,Math.min(r,i)),{...n,pageIndex:r}})},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination(e=>{const n=Math.max(1,Jde(t,e.pageSize)),r=e.pageSize*e.pageIndex,i=Math.floor(r/n);return{...e,pageIndex:i,pageSize:n}})},e.setPageCount=t=>e.setPagination(n=>{var r;let i=Jde(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof i&&(i=Math.max(-1,i)),{...n,pageCount:i}}),e.getPageOptions=nhe(()=>[e.getPageCount()],e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map((e,t)=>t)),t},rhe(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();
1return-1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex(e=>e-1),e.nextPage=()=>e.setPageIndex(e=>e+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},{getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:ehe("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,i)=>{const o=r?e.getLeafRows().map(e=>{let{id:t}=e;return t}):[],a=i?e.getParentRows().map(e=>{let{id:t}=e;return t}):[],s=new Set([...a,e.id,...o]);t.setRowPinning(e=>{var t,r,i,o,a,l;return"bottom"===n?{top:(null!=(i=null==e?void 0:e.top)?i:[]).filter(e=>!(null!=s&&s.has(e))),bottom:[...(null!=(o=null==e?void 0:e.bottom)?o:[]).filter(e=>!(null!=s&&s.has(e))),...Array.from(s)]}:"top"===n?{top:[...(null!=(a=null==e?void 0:e.top)?a:[]).filter(e=>!(null!=s&&s.has(e))),...Array.from(s)],bottom:(null!=(l=null==e?void 0:e.bottom)?l:[]).filter(e=>!(null!=s&&s.has(e)))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter(e=>!(null!=s&&s.has(e))),bottom:(null!=(r=null==e?void 0:e.bottom)?r:[]).filter(e=>!(null!=s&&s.has(e)))}})},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:i}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:i)||n},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:i}=t.getState().rowPinning,o=n.some(e=>null==r?void 0:r.includes(e)),a=n.some(e=>null==i?void 0:i.includes(e));return o?"top":!!a&&"bottom"},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();if(!i)return-1;const o=null==(n="top"===i?t.getTopRows():t.getBottomRows())?void 0:n.map(e=>{let{id:t}=e;return t});return null!=(r=null==o?void 0:o.indexOf(e.id))?r:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var i,o;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(i=r.top)?void 0:i.length)||(null==(o=r.bottom)?void 0:o.length))},e._getPinnedRows=(t,n,r)=>{var i;return(null==(i=e.options.keepPinnedRows)||i?(null!=n?n:[]).map(t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null}):(null!=n?n:[]).map(e=>t.find(t=>t.id===e))).filter(Boolean).map(e=>({...e,position:r}))},e.getTopRows=nhe(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),rhe(e.options,"debugRows")),e.getBottomRows=nhe(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),rhe(e.options,"debugRows")),e.getCenterRows=nhe(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(e,t,n)=>{const r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter(e=>!r.has(e.id))},rhe(e.options,"debugRows"))}},Ohe,Ahe];function Hhe(e){var t,n;const r=[...Vhe,...null!=(t=e._features)?t:[]];let i={_features:r};const o=i._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(i)),{});let a={...null!=(n=e.initialState)?n:{}};i._features.forEach(e=>{var t;a=null!=(t=null==e.getInitialState?void 0:e.getInitialState(a))?t:a});const s=[];let l=!1;const c={_features:r,options:{...o,...e},initialState:a,_queue:e=>{s.push(e),l||(l=!0,Promise.resolve().then(()=>{for(;s.length;)s.shift()();l=!1}).catch(e=>setTimeout(()=>{throw e})))},reset:()=>{i.setState(i.initialState)},setOptions:e=>{const t=Jde(e,i.options);var n;i.options=(n=t,i.options.mergeOptions?i.options.mergeOptions(o,n):{...o,...n})},getState:()=>i.options.state,setState:e=>{null==i.options.onStateChange||i.options.onStateChange(e)},_getRowId:(e,t,n)=>{var r;return null!=(r=null==i.options.getRowId?void 0:i.options.getRowId(e,t,n))?r:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(i._getCoreRowModel||(i._getCoreRowModel=i.options.getCoreRowModel(i)),i._getCoreRowModel()),getRowModel:()=>i.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?i.getPrePaginationRowModel():i.getRowModel()).rowsById[e];if(!n&&(n=i.getCoreRowModel().rowsById[e],!n))throw new Error;return n},_getDefaultColumnDef:nhe(()=>[i.options.defaultColumn],e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...i._features.reduce((e,t)=>
1Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef()),{}),...e}},rhe(e,"debugColumns")),_getColumnDefs:()=>i.options.columns,getAllColumns:nhe(()=>[i._getColumnDefs()],e=>{const t=function(e,n,r){return void 0===r&&(r=0),e.map(e=>{const o=function(e,t,n,r){var i,o;const a={...e._getDefaultColumnDef(),...t},s=a.accessorKey;let l,c=null!=(i=null!=(o=a.id)?o:s?"function"==typeof String.prototype.replaceAll?s.replaceAll(".","_"):s.replace(/\./g,"_"):void 0)?i:"string"==typeof a.header?a.header:void 0;if(a.accessorFn?l=a.accessorFn:s&&(l=s.includes(".")?e=>{let t=e;for(const r of s.split(".")){var n;t=null==(n=t)?void 0:n[r]}return t}:e=>e[a.accessorKey]),!c)throw new Error;let u={id:`${String(c)}`,accessorFn:l,parent:r,depth:n,columnDef:a,columns:[],getFlatColumns:nhe(()=>[!0],()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap(e=>e.getFlatColumns())]},rhe(e.options,"debugColumns")),getLeafColumns:nhe(()=>[e._getOrderColumnsFn()],e=>{var t;return null!=(t=u.columns)&&t.length?e(u.columns.flatMap(e=>e.getLeafColumns())):[u]},rhe(e.options,"debugColumns"))};for(const d of e._features)null==d.createColumn||d.createColumn(u,e);return u}(i,e,r,n),a=e;return o.columns=a.columns?t(a.columns,o,r+1):[],o})};return t(e)},rhe(e,"debugColumns")),getAllFlatColumns:nhe(()=>[i.getAllColumns()],e=>e.flatMap(e=>e.getFlatColumns()),rhe(e,"debugColumns")),_getAllFlatColumnsById:nhe(()=>[i.getAllFlatColumns()],e=>e.reduce((e,t)=>(e[t.id]=t,e),{}),rhe(e,"debugColumns")),getAllLeafColumns:nhe(()=>[i.getAllColumns(),i._getOrderColumnsFn()],(e,t)=>t(e.flatMap(e=>e.getLeafColumns())),rhe(e,"debugColumns")),getColumn:e=>i._getAllFlatColumnsById()[e]};Object.assign(i,c);for(let u=0;u<i._features.length;u++){const e=i._features[u];null==e||null==e.createTable||e.createTable(i)}return i}function Uhe(){return e=>nhe(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(t,i,o){void 0===i&&(i=0);const a=[];for(let l=0;l<t.length;l++){const c=lhe(e,e._getRowId(t[l],l,o),t[l],l,i,0,null==o?void 0:o.id);var s;n.flatRows.push(c),n.rowsById[c.id]=c,a.push(c),e.options.getSubRows&&(c.originalSubRows=e.options.getSubRows(t[l],l),null!=(s=c.originalSubRows)&&s.length&&(c.subRows=r(c.originalSubRows,i+1,c)))}return a};return n.rows=r(t),n},rhe(e.options,"debugTable",0,()=>e._autoResetPageIndex()))}function Whe(){return e=>nhe(()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows],(e,t,n)=>!t.rows.length||!0!==e&&!Object.keys(null!=e?e:{}).length?t:n?function(e){const t=[],n=e=>{var r;t.push(e),null!=(r=e.subRows)&&r.length&&e.getIsExpanded()&&e.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}(t):t,rhe(e.options,"debugTable"))}function Ghe(){return e=>nhe(()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter],(t,n,r)=>{if(!t.rows.length||(null==n||!n.length)&&!r){for(let e=0;e<t.flatRows.length;e++)t.flatRows[e].columnFilters={},t.flatRows[e].columnFiltersMeta={};return t}const i=[],o=[];(null!=n?n:[]).forEach(t=>{var n;const r=e.getColumn(t.id);if(!r)return;const o=r.getFilterFn();o&&i.push({id:t.id,filterFn:o,resolvedValue:null!=(n=null==o.resolveFilterValue?void 0:o.resolveFilterValue(t.value))?n:t.value})});const a=(null!=n?n:[]).map(e=>e.id),s=e.getGlobalFilterFn(),l=e.getAllLeafColumns().filter(e=>e.getCanGlobalFilter());let c,u;r&&s&&l.length&&(a.push("__global__"),l.forEach(e=>{var t;o.push({id:e.id,filterFn:s,resolvedValue:null!=(t=null==s.resolveFilterValue?void 0:s.resolveFilterValue(r))?t:r})}));for(let e=0;e<t.flatRows.length;e++){const n=t.flatRows[e];if(n.columnFilters={},i.length)for(let e=0;e<i.length;e++){c=i[e];const t=c.id;n.columnFilters[t]=c.filterFn(n,t,c.resolvedValue,e=>{n.columnFiltersMeta[t]=e})}if(o.length){for(let e=0;e<o.length;e++){u=o[e];const t=u.id;if(u.filterFn(n,t,u.resolvedValue,e=>{n.columnFiltersMeta[t]=e})){n.columnFilters.__global__=!0;break}}!0!==n.columnFilters.__global__&&(n.columnFilters.__global__=!1)}}return function(e,t,n){return n.options.filterFromLeafRows?function(e,t,n){var r;const i=[],o={},a=null!=(r=n.options.maxLeafRowFilterDepth)?r:100,s=function(e,r){void 0===r&&(r=0);const l=[];for(let u=0;u<e.length;u++){var c;let d=e[u];const h=lhe(n,d.id,d.original,d.index,d.depth,0,d.parentId);if(h.columnFilters=d.columnFilters,null!=(c=d.subRows)&&c.length&&r<a){if(h.subRows=s(d.subRows,r+1),d=h,t(d)&&!h.subRows.length){l.push(d),o[d.id]=d,i.push(d);continue}if(t(d)||h.subRows.length){l.push(d),o[d.id]=d,i.push(d);continue}}else d=h,t(d)&&(l.push(d),o[d.id]=d,i.push(d))}return l};return{rows:s(e),flatRows:i,rowsById:o}}
1(e,t,n):function(e,t,n){var r;const i=[],o={},a=null!=(r=n.options.maxLeafRowFilterDepth)?r:100,s=function(e,r){void 0===r&&(r=0);const l=[];for(let u=0;u<e.length;u++){let d=e[u];if(t(d)){var c;if(null!=(c=d.subRows)&&c.length&&r<a){const e=lhe(n,d.id,d.original,d.index,d.depth,0,d.parentId);e.subRows=s(d.subRows,r+1),d=e}l.push(d),i.push(d),o[d.id]=d}}return l};return{rows:s(e),flatRows:i,rowsById:o}}(e,t,n)}(t.rows,e=>{for(let t=0;t<a.length;t++)if(!1===e.columnFilters[a[t]])return!1;return!0},e)},rhe(e.options,"debugTable",0,()=>e._autoResetPageIndex()))}function qhe(){return e=>nhe(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||null==t||!t.length)return n;const r=e.getState().sorting,i=[],o=r.filter(t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()}),a={};o.forEach(t=>{const n=e.getColumn(t.id);n&&(a[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})});const s=e=>{const t=e.map(e=>({...e}));return t.sort((e,t)=>{for(let r=0;r<o.length;r+=1){var n;const i=o[r],s=a[i.id],l=s.sortUndefined,c=null!=(n=null==i?void 0:i.desc)&&n;let u=0;if(l){const n=void 0===e.getValue(i.id),r=void 0===t.getValue(i.id);if(n||r){if("first"===l)return n?-1:1;if("last"===l)return n?1:-1;u=n&&r?0:n?l:-l}}if(0===u&&(u=s.sortingFn(e,t,i.id)),0!==u)return c&&(u*=-1),s.invertSorting&&(u*=-1),u}return e.index-t.index}),t.forEach(e=>{var t;i.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=s(e.subRows))}),t};return{rows:s(n.rows),flatRows:i,rowsById:n.rowsById}},rhe(e.options,"debugTable",0,()=>e._autoResetPageIndex()))}function Khe(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(n=e)||"function"==typeof n||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(n)?Qt.createElement(e,t):e:null;var n}function Yhe(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=Qt.useState(()=>({current:Hhe(t)})),[r,i]=Qt.useState(()=>n.current.initialState);return n.current.setOptions(t=>({...t,...e,state:{...r,...e.state},onStateChange:t=>{i(t),null==e.onStateChange||e.onStateChange(t)}})),n.current}const Zhe=e=>{let t;const n=new Set,r=(e,r)=>{const i="function"==typeof e?e(t):e;if(!Object.is(i,t)){const e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e))},a=t=e(r,i,o);return o},Qhe=e=>e,Xhe=e=>{const t=(e=>e?Zhe(e):Zhe)(e),n=e=>function(e,t=Qhe){const n=Xt.useSyncExternalStore(e.subscribe,Xt.useCallback(()=>t(e.getState()),[e,t]),Xt.useCallback(()=>t(e.getInitialState()),[e,t]));return Xt.useDebugValue(n),n}(t,e);return Object.assign(n,t),n},Jhe=e=>e?Xhe(e):Xhe,efe={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,TSS_INLINE_CSS_ENABLED:"false",VITE_ENDPOINT_URL:"https://test.drivehos.app/api",VITE_MAPBOX_TOKEN:"pk.eyJ1IjoibHVjaWRlbGQiLCJhIjoiY204bmYxNXRwMDAxZzJwcjQxd205MHFkMiJ9.VuJw0gZiZ9xZr86U2v6QzQ",VITE_PROD_ENDPOINT_URL:"https://api.drivehos.app/api",VITE_PUBLIC_POSTHOG_HOST:"https://us.i.posthog.com",VITE_PUBLIC_POSTHOG_KEY:"phc_JxaYmFbl2mnQm5KYqArnfWLGUOBuu7G2XZOhPO85Zid",VITE_RECAPTCHA_PROD_KEY:"6Lc87xssAAAAAHzX5_CqEmXNT5WGd3peg2IshEWl",VITE_RECAPTCHA_TEST_KEY:"6Lfqeg0sAAAAAEc1GGixJSm6sYaL4PpqgeJJ_IOe",VITE_RYBBIT_ID:"8bebafd5a5b7",VITE_STRIPE_PROD_KEY:"pk_test_51MqhtUBVfaFRHBirSVGgrYZdfgTKvfXfMONYmpKYBAbvFEPIwk3jGdT7yo3RQkg79kgJhHA1uQX3IEwhI9QWBq9R00rVDECH78",VITE_STRIPE_TEST_KEY:"pk_test_51MqhtUBVfaFRHBirSVGgrYZdfgTKvfXfMONYmpKYBAbvFEPIwk3jGdT7yo3RQkg79kgJhHA1uQX3IEwhI9QWBq9R00rVDECH78",VITE_TENANT_ID:"f9eec940-83cb-45f6-8c2d-d6272c4d0c1d",VITE_WEATHER_API:"7qyGcCBbNfnwF85DUYmqTBlQ0C8culwdF9AXQZq1",VITE_WEATHER_ID:"jSO6YxjrXFSj6TFrUc4JI"},tfe=e=>!!e.dispatchFromDevtools&&"function"==typeof e.dispatch,nfe=new Map,rfe=e=>{const t=nfe.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},ife=/.+ (.+) .+/,ofe=/^([^@]+)@/;function afe(e){var t,n,r;if(!e)return;const i=e.split("\n"),o=i.findIndex(e=>e.includes("api.setState"));if(o<0)return;const a=(null==(t=i[o+1])?void 0:t.trim())||"";return(null==(n=ife.exec(a))?void 0:n[1])||(null==(r=ofe.exec(a))?void 0:r[1])}const sfe=(e,t={})=>(n,r,i)=>{const{enabled:o,anonymousActionType:a,store:s,...l}=t;
1let c;try{c=(null!=o?o:"production"!==(efe?"production":void 0))&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(m){}if(!c)return e(n,r,i);const{connection:u,...d}=((e,t,n)=>{if(void 0===e)return{type:"untracked",connection:t.connect(n)};const r=nfe.get(n.name);if(r)return{type:"tracked",store:e,...r};const i={connection:t.connect(n),stores:{}};return nfe.set(n.name,i),{type:"tracked",store:e,...i}})(s,c,l);let h=!0;i.setState=(e,t,o)=>{const c=n(e,t);if(!h)return c;const d=void 0===o?{type:a||afe((new Error).stack)||"anonymous"}:"string"==typeof o?{type:o}:o;return void 0===s?(null==u||u.send(d,r()),c):(null==u||u.send({...d,type:`${s}/${d.type}`},{...rfe(l.name),[s]:i.getState()}),c)},i.devtools={cleanup:()=>{u&&"function"==typeof u.unsubscribe&&u.unsubscribe(),((e,t)=>{if(void 0===t)return;const n=nfe.get(e);n&&(delete n.stores[t],0===Object.keys(n.stores).length&&nfe.delete(e))})(l.name,s)}};const f=(...e)=>{const t=h;h=!1,n(...e),h=t},p=e(i.setState,r,i);if("untracked"===d.type?null==u||u.init(p):(d.stores[d.store]=i,null==u||u.init(Object.fromEntries(Object.entries(d.stores).map(([e,t])=>[e,e===d.store?p:t.getState()])))),tfe(i)){let e=!1;const t=i.dispatch;i.dispatch=(...n)=>{"production"===(efe?"production":void 0)||"__setState"!==n[0].type||e||(e=!0),t(...n)}}return u.subscribe(e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload)return;return lfe(e.payload,e=>{if("__setState"===e.type){if(void 0===s)return void f(e.state);Object.keys(e.state).length;const t=e.state[s];if(null==t)return;return void(JSON.stringify(i.getState())!==JSON.stringify(t)&&f(t))}tfe(i)&&i.dispatch(e)});case"DISPATCH":switch(e.payload.type){case"RESET":return f(p),void 0===s?null==u?void 0:u.init(i.getState()):null==u?void 0:u.init(rfe(l.name));case"COMMIT":return void 0===s?void(null==u||u.init(i.getState())):null==u?void 0:u.init(rfe(l.name));case"ROLLBACK":return lfe(e.state,e=>{if(void 0===s)return f(e),void(null==u||u.init(i.getState()));f(e[s]),null==u||u.init(rfe(l.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return lfe(e.state,e=>{void 0!==s?JSON.stringify(i.getState())!==JSON.stringify(e[s])&&f(e[s]):f(e)});case"IMPORT_STATE":{const{nextLiftedState:n}=e.payload,r=null==(t=n.computedStates.slice(-1)[0])?void 0:t.state;if(!r)return;return f(void 0===s?r:r[s]),void(null==u||u.send(null,n))}case"PAUSE_RECORDING":return h=!h}return}}),p},lfe=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){}void 0!==n&&t(n)};function cfe(e,t){return(...n)=>Object.assign({},e,t(...n))}function ufe(e,t){let n;try{n=e()}catch(r){return}return{getItem:e=>{var t;const r=e=>null===e?null:JSON.parse(e,void 0),i=null!=(t=n.getItem(e))?t:null;return i instanceof Promise?i.then(r):r(i)},setItem:(e,t)=>n.setItem(e,JSON.stringify(t,void 0)),removeItem:e=>n.removeItem(e)}}const dfe=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then:e=>dfe(e)(n),catch(e){return this}}}catch(n){return{then(e){return this},catch:e=>dfe(e)(n)}}},hfe=(e,t)=>(n,r,i)=>{let o={storage:ufe(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},a=!1,s=0;const l=new Set,c=new Set;let u=o.storage;if(!u)return e((...e)=>{n(...e)},r,i);const d=()=>{const e=o.partialize({...r()});return u.setItem(o.name,{state:e,version:o.version})},h=i.setState;i.setState=(e,t)=>(h(e,t),d());const f=e((...e)=>(n(...e),d()),r,i);let p;i.getInitialState=()=>f;const m=()=>{var e,t;if(!u)return;const i=++s;a=!1,l.forEach(e=>{var t;return e(null!=(t=r())?t:f)});const h=(null==(t=o.onRehydrateStorage)?void 0:t.call(o,null!=(e=r())?e:f))||void 0;return dfe(u.getItem.bind(u))(o.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===o.version)return[!1,e.state];if(o.migrate){const t=o.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}}return[!1,void 0]}).then(e=>{var t;if(i!==s)return;const[a,l]=e;return p=o.merge(l,null!=(t=r())?t:f),n(p,!0),a?d():void 0}).then(()=>{i===s&&(null==h||h(r(),void 0),p=r(),a=!0,c.forEach(e=>e(p)))}).catch(e=>{i===s&&(null==h||h(void 0,e))})};return i.persist={setOptions:e=>{o={...o,...e},e.storage&&(u=e.storage)},clearStorage:()=>{null==u||u.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>m(),hasHydrated:()=>a,onHydrate:e=>(l.add(e),()=>{l.delete(e)}),onFinishHydration:e=>(c.add(e),()=>{c.delete(e)})},o.skipHydration||m(),p||f};var ffe=Symbol.for("immer-nothing"),pfe=Symbol.for("immer-draftable"),mfe=Symbol.for("immer-state");function gfe(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var vfe=Object.getPrototypeOf;function yfe(e){return!!e&&!!e[mfe]}function bfe(e){var t;return!!e&&(Efe(e)||Array.isArray(e)||!!e[pfe]||!!(null==(t=e.constructor)?void 0:t[pfe])||Mfe(e)||Afe(e))}var Cfe=Object.prototype.constructor.toString(),wfe=new WeakMap;function Efe(e){if(!e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);if(null===t||t===Object.prototype)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(n===Object)return!0;
vendor: 7,650 bytes, line 1
1if("function"!=typeof n)return!1;let r=wfe.get(n);return void 0===r&&(r=Function.toString.call(n),wfe.set(n,r)),r===Cfe}function kfe(e,t,n=!0){0===Sfe(e)?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Sfe(e){const t=e[mfe];return t?t.type_:Array.isArray(e)?1:Mfe(e)?2:Afe(e)?3:0}function xfe(e,t){return 2===Sfe(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Tfe(e,t,n){const r=Sfe(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function Mfe(e){return e instanceof Map}function Afe(e){return e instanceof Set}function Lfe(e){return e.copy_||e.base_}function Pfe(e,t){if(Mfe(e))return new Map(e);if(Afe(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Efe(e);if(!0===t||"class_only"===t&&!n){const t=Object.getOwnPropertyDescriptors(e);delete t[mfe];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){const i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(vfe(e),t)}{const t=vfe(e);if(null!==t&&n)return{...e};const r=Object.create(t);return Object.assign(r,e)}}function Rfe(e,t=!1){return Dfe(e)||yfe(e)||!bfe(e)||(Sfe(e)>1&&Object.defineProperties(e,{set:Ofe,add:Ofe,clear:Ofe,delete:Ofe}),Object.freeze(e),t&&Object.values(e).forEach(e=>Rfe(e,!0))),e}var Ofe={value:function(){gfe(2)}};function Dfe(e){return null===e||"object"!=typeof e||Object.isFrozen(e)}var Ife,_fe={};function Ffe(e){const t=_fe[e];return t||gfe(0),t}function $fe(){return Ife}function Nfe(e,t){t&&(Ffe("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Bfe(e){jfe(e),e.drafts_.forEach(Vfe),e.drafts_=null}function jfe(e){e===Ife&&(Ife=e.parent_)}function zfe(e){return Ife={drafts_:[],parent_:Ife,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Vfe(e){const t=e[mfe];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function Hfe(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return void 0!==e&&e!==n?(n[mfe].modified_&&(Bfe(t),gfe(4)),bfe(e)&&(e=Ufe(t,e),t.parent_||Gfe(t,e)),t.patches_&&Ffe("Patches").generateReplacementPatches_(n[mfe].base_,e,t.patches_,t.inversePatches_)):e=Ufe(t,n,[]),Bfe(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ffe?e:void 0}function Ufe(e,t,n){if(Dfe(t))return t;const r=e.immer_.shouldUseStrictIteration(),i=t[mfe];if(!i)return kfe(t,(r,o)=>Wfe(e,i,t,r,o,n),r),t;if(i.scope_!==e)return t;if(!i.modified_)return Gfe(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;const t=i.copy_;let o=t,a=!1;3===i.type_&&(o=new Set(t),t.clear(),a=!0),kfe(o,(r,o)=>Wfe(e,i,t,r,o,n,a),r),Gfe(e,t,!1),n&&e.patches_&&Ffe("Patches").generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function Wfe(e,t,n,r,i,o,a){if(null==i)return;if("object"!=typeof i&&!a)return;const s=Dfe(i);if(!s||a){if(yfe(i)){const a=Ufe(e,i,o&&t&&3!==t.type_&&!xfe(t.assigned_,r)?o.concat(r):void 0);if(Tfe(n,r,a),!yfe(a))return;e.canAutoFreeze_=!1}else a&&n.add(i);if(bfe(i)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;if(t&&t.base_&&t.base_[r]===i&&s)return;Ufe(e,i),t&&t.scope_.parent_||"symbol"==typeof r||!(Mfe(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))||Gfe(e,i)}}}function Gfe(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Rfe(t,n)}var qfe={get(e,t){if(t===mfe)return e;const n=Lfe(e);if(!xfe(n,t))return function(e,t,n){var r;const i=Zfe(t,n);return i?"value"in i?i.value:null==(r=i.get)?void 0:r.call(e.draft_):void 0}(e,n,t);const r=n[t];return e.finalized_||!bfe(r)?r:r===Yfe(e.base_,t)?(Xfe(e),e.copy_[t]=Jfe(r,e)):r},has:(e,t)=>t in Lfe(e),ownKeys:e=>Reflect.ownKeys(Lfe(e)),set(e,t,n){const r=Zfe(Lfe(e),t);if(null==r?void 0:r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const r=Yfe(Lfe(e),t),a=null==r?void 0:r[mfe];if(a&&a.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(((i=n)===(o=r)?0!==i||1/i==1/o:i!=i&&o!=o)&&(void 0!==n||xfe(e.base_,t)))return!0;Xfe(e),Qfe(e)}var i,o;return e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty:(e,t)=>(void 0!==Yfe(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,Xfe(e),Qfe(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){const n=Lfe(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty(){gfe(11)},getPrototypeOf:e=>vfe(e.base_),setPrototypeOf(){gfe(12)}},Kfe={};function Yfe(e,t){const n=e[mfe];return(n?Lfe(n):e)[t]}function Zfe(e,t){if(!(t in e))return;let n=vfe(e);for(;n;){const e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=vfe(n)}}function Qfe(e){e.modified_||(e.modified_=!0,e.parent_&&Qfe(e.parent_))}function Xfe(e){e.copy_||(e.copy_=Pfe(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function Jfe(e,t){const n=Mfe(e)?Ffe("MapSet").proxyMap_(e,t):Afe(e)?Ffe("MapSet").proxySet_(e,t):function(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:$fe(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=qfe;n&&(i=[r],o=Kfe);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return r.draft_=s,r.revoke_=a,s}(e,t);return(t?t.scope_:$fe()).drafts_.push(n),n}function epe(e){if(!bfe(e)||Dfe(e))return e;const t=e[mfe];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Pfe(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Pfe(e,!0);return kfe(n,(e,t)=>{Tfe(n,e,epe(t))},r),t&&(t.finalized_=!1),n}kfe(qfe,(e,t)=>{Kfe[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Kfe.deleteProperty=function(e,t){return Kfe.set.call(this,e,t,void 0)},Kfe.set=function(e,t,n){return qfe.set.call(this,e[0],t,n,e[0])};var tpe=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if("function"==typeof e&&"function"!=typeof t){const n=t;t=e;const r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}let r;if("function"!=typeof t&&gfe(6),void 0!==n&&"function"!=typeof n&&gfe(7),bfe(e)){const i=zfe(this),o=Jfe(e,void 0);let a=!0;try{r=t(o),a=!1}finally{a?Bfe(i):jfe(i)}return Nfe(i,n),Hfe(r,i)}if(!e||"object"!=typeof e){if(r=t(e),void 0===r&&(r=e),r===ffe&&(r=void 0),this.autoFreeze_&&Rfe(r,!0),n){const t=[],i=[];Ffe("Patches").generateReplacementPatches_(e,r,t,i),n(t,i)}return r}gfe(1)},this.produceWithPatches=(e,t)=>{if("function"==typeof e)return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof(null==e?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),"boolean"==typeof(null==e?void 0:e.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){var t;bfe(e)||gfe(8),yfe(e)&&(yfe(t=e)||gfe(10),e=epe(t));const n=zfe(this),r=Jfe(e,void 0);return r[mfe].isManual_=!0,jfe(n),r}finishDraft(e,t){const n=e&&e[mfe];n&&n.isManual_||gfe(9);const{scope_:r}=n;return Nfe(r,t),Hfe(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>
1-1&&(t=t.slice(n+1));const r=Ffe("Patches").applyPatches_;return yfe(e)?r(e,t):this.produce(e,e=>r(e,t))}},npe=tpe.produce;const rpe=e=>(t,n,r)=>(r.setState=(e,n,...r)=>{const i="function"==typeof e?npe(e):e;return t(i,n,...r)},e(r.setState,n,r));var ipe="Tabs",[ope]=mW(ipe,[Yce]),ape=Yce(),[spe,lpe]=ope(ipe),cpe=Qt.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:o,orientation:a="horizontal",dir:s,activationMode:l="automatic",...c}=e,u=pY(s),[d,h]=Yq({prop:r,onChange:i,defaultProp:o??"",caller:ipe});return He.jsx(spe,{scope:n,baseId:HW(),value:d,onValueChange:h,orientation:a,dir:u,activationMode:l,children:He.jsx(vW.div,{dir:u,"data-orientation":a,...c,ref:t})})});cpe.displayName=ipe;var upe="TabsList",dpe=Qt.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,o=lpe(upe,n),a=ape(n);return He.jsx(iue,{asChild:!0,...a,orientation:o.orientation,dir:o.dir,loop:r,children:He.jsx(vW.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:t})})});dpe.displayName=upe;var hpe="TabsTrigger",fpe=Qt.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...o}=e,a=lpe(hpe,n),s=ape(n),l=gpe(a.baseId,r),c=vpe(a.baseId,r),u=r===a.value;return He.jsx(oue,{asChild:!0,...s,focusable:!i,active:u,children:He.jsx(vW.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":c,"data-state":u?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:l,...o,ref:t,onMouseDown:pW(e.onMouseDown,e=>{i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(r)}),onKeyDown:pW(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&a.onValueChange(r)}),onFocus:pW(e.onFocus,()=>{const e="manual"!==a.activationMode;u||i||!e||a.onValueChange(r)})})})});fpe.displayName=hpe;var ppe="TabsContent",mpe=Qt.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:i,children:o,...a}=e,s=lpe(ppe,n),l=gpe(s.baseId,r),c=vpe(s.baseId,r),u=r===s.value,d=Qt.useRef(u);return Qt.useEffect(()=>{const e=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(e)},[]),He.jsx(Wq,{present:i||u,children:({present:n})=>He.jsx(vW.div,{"data-state":u?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!n,id:c,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:n&&o})})});function gpe(e,t){return`${e}-trigger-${t}`}function vpe(e,t){return`${e}-content-${t}`}mpe.displayName=ppe;var ype=cpe,bpe=dpe,Cpe=fpe,wpe=mpe,Epe="Collapsible",[kpe,Spe]=mW(Epe),[xpe,Tpe]=kpe(Epe),Mpe=Qt.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:o,onOpenChange:a,...s}=e,[l,c]=Yq({prop:r,defaultProp:i??!1,onChange:a,caller:Epe});return He.jsx(xpe,{scope:n,disabled:o,contentId:HW(),open:l,onOpenToggle:Qt.useCallback(()=>c(e=>!e),[c]),children:He.jsx(vW.div,{"data-state":Dpe(l),"data-disabled":o?"":void 0,...s,ref:t})})});Mpe.displayName=Epe;var Ape="CollapsibleTrigger",Lpe=Qt.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=Tpe(Ape,n);return He.jsx(vW.button,{type:"button","aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":Dpe(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:pW(e.onClick,i.onOpenToggle)})});Lpe.displayName=Ape;var Ppe="CollapsibleContent",Rpe=Qt.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=Tpe(Ppe,e.__scopeCollapsible);return He.jsx(Wq,{present:n||i.open,children:({present:e})=>He.jsx(Ope,{...r,ref:t,present:e})})});Rpe.displayName=Ppe;var Ope=Qt.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...o}=e,a=Tpe(Ppe,n),[s,l]=Qt.useState(r),c=Qt.useRef(null),u=Ya(t,c),d=Qt.useRef(0),h=d.current,f=Qt.useRef(0),p=f.current,m=a.open||s,g=Qt.useRef(m),v=Qt.useRef(void 0);return Qt.useEffect(()=>{const e=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(e)},[]),jW(()=>{const e=c.current;if(e){v.current=v.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";const t=e.getBoundingClientRect();d.current=t.height,f.current=t.width,g.current||(e.style.transitionDuration=v.current.transitionDuration,e.style.animationName=v.current.animationName),l(r)}},[a.open,r]),He.jsx(vW.div,{"data-state":Dpe(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!m,...o,ref:u,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":p?`${p}px`:void 0,...e.style},children:m&&i})});function Dpe(e){return e?"open":"closed"}var Ipe=Mpe,_pe=Lpe,Fpe=Rpe,$pe="Accordion",Npe=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Bpe,jpe,zpe]=aX($pe),[Vpe]=mW($pe,[zpe,Spe]),Hpe=Spe(),Upe=Qt.forwardRef((e,t)=>
vendor: 4,364 bytes, line 1
1{const{type:n,...r}=e,i=r,o=r;return He.jsx(Bpe.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?He.jsx(Zpe,{...o,ref:t}):He.jsx(Ype,{...i,ref:t})})});Upe.displayName=$pe;var[Wpe,Gpe]=Vpe($pe),[qpe,Kpe]=Vpe($pe,{collapsible:!1}),Ype=Qt.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:o=!1,...a}=e,[s,l]=Yq({prop:n,defaultProp:r??"",onChange:i,caller:$pe});return He.jsx(Wpe,{scope:e.__scopeAccordion,value:Qt.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:Qt.useCallback(()=>o&&l(""),[o,l]),children:He.jsx(qpe,{scope:e.__scopeAccordion,collapsible:o,children:He.jsx(Jpe,{...a,ref:t})})})}),Zpe=Qt.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},...o}=e,[a,s]=Yq({prop:n,defaultProp:r??[],onChange:i,caller:$pe}),l=Qt.useCallback(e=>s((t=[])=>[...t,e]),[s]),c=Qt.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return He.jsx(Wpe,{scope:e.__scopeAccordion,value:a,onItemOpen:l,onItemClose:c,children:He.jsx(qpe,{scope:e.__scopeAccordion,collapsible:!0,children:He.jsx(Jpe,{...o,ref:t})})})}),[Qpe,Xpe]=Vpe($pe),Jpe=Qt.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:i,orientation:o="vertical",...a}=e,s=Ya(Qt.useRef(null),t),l=jpe(n),c="ltr"===pY(i),u=pW(e.onKeyDown,e=>{var t;if(!Npe.includes(e.key))return;const n=e.target,r=l().filter(e=>{var t;return!(null==(t=e.ref.current)?void 0:t.disabled)}),i=r.findIndex(e=>e.ref.current===n),a=r.length;if(-1===i)return;e.preventDefault();let s=i;const u=a-1,d=()=>{s=i+1,s>u&&(s=0)},h=()=>{s=i-1,s<0&&(s=u)};switch(e.key){case"Home":s=0;break;case"End":s=u;break;case"ArrowRight":"horizontal"===o&&(c?d():h());break;case"ArrowDown":"vertical"===o&&d();break;case"ArrowLeft":"horizontal"===o&&(c?h():d());break;case"ArrowUp":"vertical"===o&&h()}null==(t=r[s%a].ref.current)||t.focus()});return He.jsx(Qpe,{scope:n,disabled:r,direction:i,orientation:o,children:He.jsx(Bpe.Slot,{scope:n,children:He.jsx(vW.div,{...a,"data-orientation":o,ref:s,onKeyDown:r?void 0:u})})})}),eme="AccordionItem",[tme,nme]=Vpe(eme),rme=Qt.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...i}=e,o=Xpe(eme,n),a=Gpe(eme,n),s=Hpe(n),l=HW(),c=r&&a.value.includes(r)||!1,u=o.disabled||e.disabled;return He.jsx(tme,{scope:n,open:c,disabled:u,triggerId:l,children:He.jsx(Ipe,{"data-orientation":o.orientation,"data-state":ume(c),...s,...i,ref:t,disabled:u,open:c,onOpenChange:e=>{e?a.onItemOpen(r):a.onItemClose(r)}})})});rme.displayName=eme;var ime="AccordionHeader",ome=Qt.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=Xpe($pe,n),o=nme(ime,n);return He.jsx(vW.h3,{"data-orientation":i.orientation,"data-state":ume(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});ome.displayName=ime;var ame="AccordionTrigger",sme=Qt.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=Xpe($pe,n),o=nme(ame,n),a=Kpe(ame,n),s=Hpe(n);return He.jsx(Bpe.ItemSlot,{scope:n,children:He.jsx(_pe,{"aria-disabled":o.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...s,...r,ref:t})})});sme.displayName=ame;var lme="AccordionContent",cme=Qt.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=Xpe($pe,n),o=nme(lme,n),a=Hpe(n);return He.jsx(Fpe,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ume(e){return e?"open":"closed"}cme.displayName=lme;var dme=Upe,hme=rme,fme=ome,pme=sme,mme=cme,gme=Qt.forwardRef((e,t)=>{const{ratio:n=1,style:r,...i}=e;return He.jsx("div",{style:{position:"relative",width:"100%",paddingBottom:100/n+"%"},"data-radix-aspect-ratio-wrapper":"",children:He.jsx(vW.div,{...i,ref:t,style:{...r,position:"absolute",top:0,right:0,bottom:0,left:0}})})});gme.displayName="AspectRatio";var vme=gme,yme="Avatar",[bme]=mW(yme),Cme=[0,()=>{}],[wme,Eme]=bme(yme),kme=Qt.forwardRef((e,t)=>{const{__scopeAvatar:n,...r}=e,[i,o]=Qt.useState("idle"),[a,s]=function(){let e=Cme;{e=Qt.useState(0);const[t]=e,n=Qt.useRef(!1);Qt.useEffect(()=>{t>1&&!n.current&&(n.current=!0)},[t])}return e}();return He.jsx(wme,{scope:n,imageLoadingStatus:i,setImageLoadingStatus:o,imageCount:a,setImageCount:s,children:He.jsx(vW.span,{...r,ref:t})})});kme.displayName=yme;var Sme="AvatarImage";Qt.forwardRef((e,t)=>
1{const{__scopeAvatar:n,src:r,onLoadingStatusChange:i,...o}=e,a=Eme(Sme,n);var s;s=a.setImageCount,Qt.useEffect(()=>(s(e=>e+1),()=>{s(e=>e-1)}),[s]);const l=function(e,{loadingStatus:t,setLoadingStatus:n,referrerPolicy:r,crossOrigin:i}){return jW(()=>{if(!e)return void n("error");const t=new window.Image,o=e=>{const t=e.currentTarget;n(Mme(t))},a=()=>n("error");return t.addEventListener("load",o),t.addEventListener("error",a),r&&(t.referrerPolicy=r),t.crossOrigin=i??null,t.src=e,n(Mme(t)),()=>{t.removeEventListener("load",o),t.removeEventListener("error",a),n("idle")}},[e,i,r,n]),t}(r,{referrerPolicy:o.referrerPolicy,crossOrigin:o.crossOrigin,loadingStatus:a.imageLoadingStatus,setLoadingStatus:a.setImageLoadingStatus}),c=bW(e=>{null==i||i(e)}),u=Qt.useRef(l);return jW(()=>{const e=u.current;u.current=l,l!==e&&c(l)},[l,c]),"loaded"===l?He.jsx(vW.img,{...o,ref:t,src:r}):null}).displayName=Sme;var xme="AvatarFallback",Tme=Qt.forwardRef((e,t)=>{const{__scopeAvatar:n,delayMs:r,...i}=e,o=Eme(xme,n),[a,s]=Qt.useState(void 0===r);return Qt.useEffect(()=>{if(void 0!==r){const e=window.setTimeout(()=>s(!0),r);return()=>window.clearTimeout(e)}},[r]),a&&"loaded"!==o.imageLoadingStatus?He.jsx(vW.span,{...i,ref:t}):null});function Mme(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}Tme.displayName=xme;var Ame="ContextMenu",[Lme]=mW(Ame,[gue]),Pme=gue(),[Rme,Ome]=Lme(Ame),Dme=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,open:i,dir:o,modal:a=!0}=e,s=Qt.useRef(!1);{const e=Qt.useRef(!1);Qt.useEffect(()=>{!0!==i||s.current||e.current||(e.current=!0)},[i])}const[l,c]=Yq({prop:i,defaultProp:!1,onChange:r,caller:Ame}),u=Pme(t);return He.jsx(Rme,{scope:t,open:l,onOpenChange:c,modal:a,hasInteractedRef:s,children:He.jsx(pde,{...u,dir:o,open:l,onOpenChange:c,modal:a,children:n})})};Dme.displayName=Ame;var Ime="ContextMenuTrigger",_me=Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,disabled:r=!1,...i}=e,o=Ome(Ime,n),a=Pme(n),s=Qt.useRef({x:0,y:0}),l=Qt.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...s.current})}),c=Qt.useRef(0),u=Qt.useCallback(()=>window.clearTimeout(c.current),[]),d=e=>{o.hasInteractedRef.current=!0,s.current={x:e.clientX,y:e.clientY},o.onOpenChange(!0)};return Qt.useEffect(()=>u,[u]),Qt.useEffect(()=>{r&&u()},[r,u]),He.jsxs(He.Fragment,{children:[He.jsx(mde,{...a,virtualRef:l}),He.jsx(vW.span,{"data-state":o.open?"open":"closed","data-disabled":r?"":void 0,...i,ref:t,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:r?e.onContextMenu:pW(e.onContextMenu,e=>{u(),d(e),e.preventDefault()}),onPointerDown:r?e.onPointerDown:pW(e.onPointerDown,qme(e=>{u(),o.open&&o.onOpenChange(!1),c.current=window.setTimeout(()=>d(e),700)})),onPointerMove:r?e.onPointerMove:pW(e.onPointerMove,qme(u)),onPointerCancel:r?e.onPointerCancel:pW(e.onPointerCancel,qme(u)),onPointerUp:r?e.onPointerUp:pW(e.onPointerUp,qme(u))})]})});_me.displayName=Ime;var Fme=e=>{const{__scopeContextMenu:t,...n}=e,r=Pme(t);return He.jsx(gde,{...r,...n})};Fme.displayName="ContextMenuPortal";var $me="ContextMenuContent",Nme=Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Ome($me,n),o=Pme(n),a=Qt.useRef(!1);return He.jsx(vde,{...o,...r,ref:t,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:t=>{var n;null==(n=e.onCloseAutoFocus)||n.call(e,t),!t.defaultPrevented&&a.current&&t.preventDefault(),a.current=!1},onInteractOutside:t=>{var n;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||i.modal||(a.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Nme.displayName=$me;var Bme=Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(yde,{...i,...r,ref:t})});Bme.displayName="ContextMenuGroup";var jme=Qt.forwardRef((e,t)=>
1{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(bde,{...i,...r,ref:t})});jme.displayName="ContextMenuLabel";var zme=Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(Cde,{...i,...r,ref:t})});zme.displayName="ContextMenuItem",Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(wde,{...i,...r,ref:t})}).displayName="ContextMenuCheckboxItem",Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(Ede,{...i,...r,ref:t})}).displayName="ContextMenuRadioGroup",Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(kde,{...i,...r,ref:t})}).displayName="ContextMenuRadioItem",Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(Sde,{...i,...r,ref:t})}).displayName="ContextMenuItemIndicator";var Vme=Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(xde,{...i,...r,ref:t})});Vme.displayName="ContextMenuSeparator",Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(Tde,{...i,...r,ref:t})}).displayName="ContextMenuArrow";var Hme="ContextMenuSub",Ume=e=>{const{__scopeContextMenu:t,children:n,onOpenChange:r,open:i,defaultOpen:o}=e,a=Pme(t),[s,l]=Yq({prop:i,defaultProp:o??!1,onChange:r,caller:Hme});return He.jsx(Mde,{...a,open:s,onOpenChange:l,children:n})};Ume.displayName=Hme;var Wme=Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(Ade,{...i,...r,ref:t})});Wme.displayName="ContextMenuSubTrigger";var Gme=Qt.forwardRef((e,t)=>{const{__scopeContextMenu:n,...r}=e,i=Pme(n);return He.jsx(Lde,{...i,...r,ref:t,style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});function qme(e){return t=>"mouse"!==t.pointerType?e(t):void 0}Gme.displayName="ContextMenuSubContent";var Kme,Yme=Dme,Zme=_me,Qme=Fme,Xme=Nme,Jme=Bme,ege=jme,tge=zme,nge=Vme,rge=Ume,ige=Wme,oge=Gme,age="HoverCard",[sge]=mW(age,[Sq]),lge=Sq(),[cge,uge]=sge(age),dge=e=>{const{__scopeHoverCard:t,children:n,open:r,defaultOpen:i,onOpenChange:o,openDelay:a=700,closeDelay:s=300}=e,l=lge(t),c=Qt.useRef(0),u=Qt.useRef(0),d=Qt.useRef(!1),h=Qt.useRef(!1),[f,p]=Yq({prop:r,defaultProp:i??!1,onChange:o,caller:age}),m=Qt.useCallback(()=>{clearTimeout(u.current),c.current=window.setTimeout(()=>p(!0),a)},[a,p]),g=Qt.useCallback(()=>{clearTimeout(c.current),d.current||h.current||(u.current=window.setTimeout(()=>p(!1),s))},[s,p]),v=Qt.useCallback(()=>p(!1),[p]);return Qt.useEffect(()=>()=>{clearTimeout(c.current),clearTimeout(u.current)},[]),He.jsx(cge,{scope:t,open:f,onOpenChange:p,onOpen:m,onClose:g,onDismiss:v,hasSelectionRef:d,isPointerDownOnContentRef:h,children:He.jsx(jq,{...l,children:n})})};dge.displayName=age;var hge="HoverCardTrigger",fge=Qt.forwardRef((e,t)=>{const{__scopeHoverCard:n,...r}=e,i=uge(hge,n),o=lge(n);return He.jsx(zq,{asChild:!0,...o,children:He.jsx(vW.a,{"data-state":i.open?"open":"closed",...r,ref:t,onPointerEnter:pW(e.onPointerEnter,wge(i.onOpen)),onPointerLeave:pW(e.onPointerLeave,wge(i.onClose)),onFocus:pW(e.onFocus,i.onOpen),onBlur:pW(e.onBlur,i.onClose),onTouchStart:pW(e.onTouchStart,e=>e.preventDefault())})})});fge.displayName=hge;var pge="HoverCardPortal",[mge,gge]=sge(pge,{forceMount:void 0}),vge=e=>{const{__scopeHoverCard:t,forceMount:n,children:r,container:i}=e,o=uge(pge,t);return He.jsx(mge,{scope:t,forceMount:n,children:He.jsx(Wq,{present:n||o.open,children:He.jsx(Uq,{asChild:!0,container:i,children:r})})})};vge.displayName=pge;var yge="HoverCardContent",bge=Qt.forwardRef((e,t)=>{const n=gge(yge,e.__scopeHoverCard),{forceMount:r=n.forceMount,...i}=e,o=uge(yge,e.__scopeHoverCard);return He.jsx(Wq,{present:r||o.open,children:He.jsx(Cge,{"data-state":o.open?"open":"closed",...i,onPointerEnter:pW(e.onPointerEnter,wge(o.onOpen)),onPointerLeave:pW(e.onPointerLeave,wge(o.onClose)),ref:t})})});bge.displayName=yge;var Cge=Qt.forwardRef((e,t)=>
1{const{__scopeHoverCard:n,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:a,...s}=e,l=uge(yge,n),c=lge(n),u=Qt.useRef(null),d=Ya(t,u),[h,f]=Qt.useState(!1);return Qt.useEffect(()=>{if(h){const e=document.body;return Kme=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=Kme,e.style.webkitUserSelect=Kme}}},[h]),Qt.useEffect(()=>{if(u.current){const e=()=>{f(!1),l.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;""!==(null==(e=document.getSelection())?void 0:e.toString())&&(l.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),l.hasSelectionRef.current=!1,l.isPointerDownOnContentRef.current=!1}}},[l.isPointerDownOnContentRef,l.hasSelectionRef]),Qt.useEffect(()=>{u.current&&function(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t}(u.current).forEach(e=>e.setAttribute("tabindex","-1"))}),He.jsx(kW,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:a,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:pW(o,e=>{e.preventDefault()}),onDismiss:l.onDismiss,children:He.jsx(Vq,{...c,...s,onPointerDown:pW(s.onPointerDown,e=>{e.currentTarget.contains(e.target)&&f(!0),l.hasSelectionRef.current=!1,l.isPointerDownOnContentRef.current=!0}),ref:d,style:{...s.style,userSelect:h?"text":void 0,WebkitUserSelect:h?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})});function wge(e){return t=>"touch"===t.pointerType?void 0:e()}Qt.forwardRef((e,t)=>{const{__scopeHoverCard:n,...r}=e,i=lge(n);return He.jsx(Hq,{...i,...r,ref:t})}).displayName="HoverCardArrow";var Ege=dge,kge=fge,Sge=vge,xge=bge,Tge="Progress",[Mge]=mW(Tge),[Age,Lge]=Mge(Tge),Pge=Qt.forwardRef((e,t)=>{const{__scopeProgress:n,value:r=null,max:i,getValueLabel:o=Dge,...a}=e;(i||0===i)&&Fge(i);const s=Fge(i)?i:100;null!==r&&$ge(r,s);const l=$ge(r,s)?r:null,c=_ge(l)?o(l,s):void 0;return He.jsx(Age,{scope:n,value:l,max:s,children:He.jsx(vW.div,{"aria-valuemax":s,"aria-valuemin":0,"aria-valuenow":_ge(l)?l:void 0,"aria-valuetext":c,role:"progressbar","data-state":Ige(l,s),"data-value":l??void 0,"data-max":s,...a,ref:t})})});Pge.displayName=Tge;var Rge="ProgressIndicator",Oge=Qt.forwardRef((e,t)=>{const{__scopeProgress:n,...r}=e,i=Lge(Rge,n);return He.jsx(vW.div,{"data-state":Ige(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...r,ref:t})});function Dge(e,t){return`${Math.round(e/t*100)}%`}function Ige(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function _ge(e){return"number"==typeof e}function Fge(e){return _ge(e)&&!isNaN(e)&&e>0}function $ge(e,t){return _ge(e)&&!isNaN(e)&&e<=t&&e>=0}Oge.displayName=Rge;var Nge=Pge,Bge=Oge,jge="Radio",[zge,Vge]=mW(jge),[Hge,Uge]=zge(jge);function Wge(e){const{__scopeRadio:t,checked:n=!1,children:r,disabled:i,form:o,name:a,onCheck:s,required:l,value:c="on",internal_do_not_use_render:u}=e,[d,h]=Qt.useState(null),[f,p]=Qt.useState(null),m=Qt.useRef(!1),g=!d||!!o||!!d.closest("form"),v={checked:n,disabled:i,required:l,name:a,form:o,value:c,control:d,setControl:h,hasConsumerStoppedPropagationRef:m,isFormControl:g,bubbleInput:f,setBubbleInput:p,onCheck:()=>null==s?void 0:s()};return He.jsx(Hge,{scope:t,...v,children:Xge(u)?u(v):r})}var Gge="RadioTrigger",qge=Qt.forwardRef(({__scopeRadio:e,onClick:t,...n},r)=>{const{checked:i,disabled:o,value:a,setControl:s,onCheck:l,hasConsumerStoppedPropagationRef:c,isFormControl:u,bubbleInput:d}=Uge(Gge,e),h=Ya(r,s);return He.jsx(vW.button,{type:"button",role:"radio","aria-checked":i,"data-state":Jge(i),"data-disabled":o?"":void 0,disabled:o,value:a,...n,ref:h,onClick:pW(t,e=>{i||l(),d&&u&&(c.current=e.isPropagationStopped(),c.current||e.stopPropagation())})})});qge.displayName=Gge,Qt.forwardRef((e,t)=>
1{const{__scopeRadio:n,name:r,checked:i,required:o,disabled:a,value:s,onCheck:l,form:c,...u}=e;return He.jsx(Wge,{__scopeRadio:n,checked:i,disabled:a,required:o,onCheck:l,name:r,form:c,value:s,internal_do_not_use_render:({isFormControl:e})=>He.jsxs(He.Fragment,{children:[He.jsx(qge,{...u,ref:t,__scopeRadio:n}),e&&He.jsx(Qge,{__scopeRadio:n})]})})}).displayName=jge;var Kge="RadioIndicator",Yge=Qt.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...i}=e,o=Uge(Kge,n);return He.jsx(Wq,{present:r||o.checked,children:He.jsx(vW.span,{"data-state":Jge(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:t})})});Yge.displayName=Kge;var Zge="RadioBubbleInput",Qge=Qt.forwardRef(({__scopeRadio:e,...t},n)=>{const{control:r,checked:i,required:o,disabled:a,name:s,value:l,form:c,bubbleInput:u,setBubbleInput:d,hasConsumerStoppedPropagationRef:h}=Uge(Zge,e),f=Ya(n,d),p=hQ(i),m=wq(r);Qt.useEffect(()=>{const e=u;if(!e)return;const t=window.HTMLInputElement.prototype,n=Object.getOwnPropertyDescriptor(t,"checked").set,r=!h.current;if(p!==i&&n){const t=new Event("click",{bubbles:r});n.call(e,i),e.dispatchEvent(t)}},[u,p,i,h]);const g=Qt.useRef(i);return He.jsx(vW.input,{type:"radio","aria-hidden":!0,defaultChecked:g.current,required:o,disabled:a,name:s,value:l,form:c,...t,tabIndex:-1,ref:f,style:{...t.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function Xge(e){return"function"==typeof e}function Jge(e){return e?"checked":"unchecked"}Qge.displayName=Zge;var eve=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],tve="RadioGroup",[nve]=mW(tve,[Yce,Vge]),rve=Yce(),ive=Vge(),[ove,ave]=nve(tve),sve=Qt.forwardRef((e,t)=>{const{__scopeRadioGroup:n,name:r,defaultValue:i,value:o,required:a=!1,disabled:s=!1,orientation:l,dir:c,loop:u=!0,onValueChange:d,...h}=e,f=rve(n),p=pY(c),[m,g]=Yq({prop:o,defaultProp:i??null,onChange:d,caller:tve});return He.jsx(ove,{scope:n,name:r,required:a,disabled:s,value:m,onValueChange:g,children:He.jsx(iue,{asChild:!0,...f,orientation:l,dir:p,loop:u,children:He.jsx(vW.div,{role:"radiogroup","aria-required":a,"aria-orientation":l,"data-disabled":s?"":void 0,dir:p,...h,ref:t})})})});sve.displayName=tve;var lve="RadioGroupItemTrigger";function cve(e){const{__scopeRadioGroup:t,value:n,disabled:r,children:i,internal_do_not_use_render:o}=e,a=ave("RadioGroupItemProvider",t),s=ive(t),l=a.disabled||r;return He.jsx(Wge,{...s,checked:a.value===n,disabled:l,required:a.required,name:a.name,value:n,onCheck:()=>a.onValueChange(n),internal_do_not_use_render:o,children:i})}var uve=Qt.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,i=rve(n),o=ive(n),{checked:a,disabled:s}=Uge(lve,o.__scopeRadio),l=Qt.useRef(null),c=Ya(t,l),u=Qt.useRef(!1);return Qt.useEffect(()=>{const e=e=>{eve.includes(e.key)&&(u.current=!0)},t=()=>u.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),He.jsx(oue,{asChild:!0,...i,focusable:!s,active:a,children:He.jsx(qge,{...o,...r,ref:c,onKeyDown:pW(r.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:pW(r.onFocus,()=>{var e;u.current&&(null==(e=l.current)||e.click())})})})});uve.displayName=lve;var dve=Qt.forwardRef((e,t)=>{const{__scopeRadioGroup:n,value:r,disabled:i,...o}=e;return He.jsx(cve,{__scopeRadioGroup:n,value:r,disabled:i,internal_do_not_use_render:({isFormControl:e})=>He.jsxs(He.Fragment,{children:[He.jsx(uve,{...o,ref:t,__scopeRadioGroup:n}),e&&He.jsx(hve,{__scopeRadioGroup:n})]})})});dve.displayName="RadioGroupItem";var hve=Qt.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,i=ive(n);return He.jsx(Qge,{...i,...r,ref:t})});hve.displayName="RadioGroupItemBubbleInput";var fve=Qt.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,i=ive(n);return He.jsx(Yge,{...i,...r,ref:t})});fve.displayName="RadioGroupIndicator";var pve="Toggle",mve=Qt.forwardRef((e,t)=>{const{pressed:n,defaultPressed:r,onPressedChange:i,...o}=e,[a,s]=Yq({prop:n,onChange:i,defaultProp:r??!1,caller:pve});return He.jsx(vW.button,{type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":e.disabled?"":void 0,...o,ref:t,onClick:pW(e.onClick,()=>{e.disabled||s(!a)})})});mve.displayName=pve;var gve=mve;
1const vve={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46
vendor: 10,172 bytes, line 1
1])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[024-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}
vendor: 15,256 bytes, line 1
1|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-57
1-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])
1))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","[235]\\d{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6
vendor: 18,172 bytes, line 1
1]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["20"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["20"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["11|2[16]"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-37-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-
179]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["3[289]|4[246-8]|61|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[013]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|9[2-9]"]],["(\\d)(\\d{7})","$1 $2",["[267]|904"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[346-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[3689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4}
1)","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[0-79]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:274[27]|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{6,7}|7\\d{6}",[7,8,9,10],[["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?:0[0-467]|15|5[0-4]|6\\d|[78]0))\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4}
1)","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|5[12]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};var yve,bve,Cve={exports:{}};const wve=Ne((yve||(yve=1,bve=Cve,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=r(e,n(i)))}return e}
1function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var i="";for(var o in n)e.call(n,o)&&n[o]&&(i=r(i,o));return i}function r(e,t){return t?e?e+" "+t:e+t:e}bve.exports?(t.default=t,bve.exports=t):window.classNames=t}()),Cve.exports));function Eve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kve(e,t){for(var n,r=0,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Eve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eve(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.split(""));!(n=i()).done;)n.value===e&&r++;return r}function Sve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",n=arguments.length>2?arguments[2]:void 0;if(!e)return function(e){return{text:e}};var r=kve(t,e);return function(i){if(!i)return{text:"",template:e};for(var o,a=0,s="",l=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Sve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sve(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(o=l()).done;){var c=o.value;if(c===t){if(s+=i[a],++a===i.length&&i.length<r)break}else s+=c}return n&&(s=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:" ",i=e.length,o=kve("(",e)-kve(")",e);o>0&&i<t.length;)e+=t[i].replace(n,r),")"===t[i]&&o--,i++;return e}(s,e)),{text:s,template:e}}}function Tve(e,t){void 0!==t&&(function(){if("undefined"!=typeof navigator)return Mve.test(navigator.userAgent)}()?setTimeout(function(){return e.setSelectionRange(t,t)},0):e.setSelectionRange(t,t))}var Mve=/Android/i;function Ave(e,t,n,r,i){var o=function(e,t,n){for(var r={},i="",o=0,a=0;a<e.length;){var s=n(e[a],i,r);void 0!==s&&(i+=s,void 0!==t&&(t===a?o=i.length-1:t>a&&(o=i.length))),a++}return void 0===t&&(o=i.length),{value:i,caret:o}}(e.value,e.selectionStart,t),a=o.value,s=o.caret;if(r){var l=function(e,t,n){switch(n){case"Backspace":t>0&&(e=e.slice(0,t-1)+e.slice(t),t--);break;case"Delete":e=e.slice(0,t)+e.slice(t+1)}return{value:e,caret:t}}(a,s,r);a=l.value,s=l.caret}var c=function(e,t,n){"string"==typeof n&&(n=xve(n));var r=n(e)||{},i=r.text,o=r.template;if(void 0===i&&(i=e),o)if(void 0===t)t=i.length;else{for(var a=0,s=!1,l=-1;a<i.length&&a<o.length;){if(i[a]!==o[a]){if(0===t){s=!0,t=a;break}l=a,t--}a++}s||(t=l+1)}return{text:i,caret:t}}(a,s,n),u=c.text;s=c.caret,e.value=u,Tve(e,s),i&&i(a)}var Lve=["ref","parse","format","value","defaultValue","controlled","onChange","onKeyDown"];function Pve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Rve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Pve(Object(n),!0).forEach(function(t){Ove(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pve(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ove(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dve(e){var t=e.ref,n=e.parse,r=e.format,i=e.value,o=e.defaultValue,a=e.controlled,s=void 0===a||a,l=e.onChange,c=e.onKeyDown,u=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Lve),d=Qt.useRef(),h=Qt.useCallback(function(e){d.current=e,t&&("function"==typeof t?t(e):t.current=e)},[t]),f=Qt.useCallback(function(e){Ave(d.current,n,r,void 0,l)},[d,n,r,l]),p=Qt.useCallback(function(e){if(c&&c(e),!e.defaultPrevented)return function(e,t,n,r,i){if(!t.hasAttribute("readonly")){var o=function(e){switch(e.keyCode){case 8:return"Backspace";case 46:return"Delete"}}(e);switch(o){case"Delete":case"Backspace":e.preventDefault();var a=function(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}(t);return a?(function(e,t){var n=e.value;n=n.slice(0,t.start)+n.slice(t.end),e.value=n,Tve(e,t.start)}(t,a),Ave(t,n,r,void 0,i)):Ave(t,n,r,o,i)}}}(e,d.current,n,r,l)},[d,n,r,l,c]),m=Rve(Rve({},u),{},{ref:h,onChange:f,onKeyDown:p});return Rve(Rve({},m),{},s?{value:r(Ive(i)?"":i).text}:{defaultValue:r(Ive(o)?"":o).text})}function Ive(e){return null==e}var _ve=["inputComponent","parse","format","value","defaultValue","onChange","controlled","onKeyDown","type"];function Fve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nve(e,t){var n=e.inputComponent,r=void 0===n?"input":n,i=e.parse,o=e.format,a=e.value,s=e.defaultValue,l=e.onChange,c=e.controlled,u=e.onKeyDown,d=e.type,h=Dve(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fve(Object(n),!0).forEach(function(t){$ve(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fve(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({ref:t,parse:i,format:o,value:a,defaultValue:s,onChange:l,controlled:c,onKeyDown:u,type:void 0===d?"text":d},function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,_ve)));return Xt.createElement(r,h)}function Bve(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[0].split("."),i=0;i<3;i++){var o=Number(n[i]),a=Number(r[i]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}(Nve=Xt.forwardRef(Nve)).propTypes={parse:ZR.func.isRequired,format:ZR.func.isRequired,inputComponent:ZR.elementType,type:ZR.string,value:ZR.string,defaultValue:ZR.string,onChange:ZR.func,controlled:ZR.bool,onKeyDown:ZR.func,onCut:ZR.func,onPaste:ZR.func};var jve={}.constructor;function zve(e){return null!=e&&e.constructor===jve}var Vve=/^\d+$/;function Hve(e){return(Hve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Uve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wve(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gve(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gve(e){var t=function(e){if("object"!=Hve(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Hve(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hve(t)?t:t+""}var qve=" ext. ",Kve=function(){return Wve(function e(t){Uve(this,e),eye(t),this.metadata=t,iye.call(this,t)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(e){return"001"!==e})}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;
vendor: 6,473 bytes, line 1
1if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){var n,r,i;if(e&&(i=e,Vve.test(i)?r=e:n=e),t&&(r=t),n&&"001"!==n){var o=this.getCountryMetadata(n);if(!o)throw new Error("Unknown country: ".concat(n));this.numberingPlan=new Yve(o,this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new Yve(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];if(r&&1===r.length&&"001"===r[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}])}(),Yve=function(){return Wve(function e(t,n){Uve(this,e),this.globalMetadataObject=n,this.metadata=t,iye.call(this,n.metadata)},[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[]).map(function(t){return new Zve(t,e)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return!(this.types()&&0===this.types().length||!this.types())}},{key:"type",value:function(e){if(this.hasTypes()&&Jve(this.types(),e))return new Xve(Jve(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?qve:this.metadata[13]||qve}}])}(),Zve=function(){return Wve(function e(t,n){Uve(this,e),this._format=t,this.metadata=n},[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||Qve.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])}(),Qve=/^\(?\$1\)?$/,Xve=function(){return Wve(function e(t,n){Uve(this,e),this.type=t,this.metadata=n},[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
vendor: 6,587 bytes, line 1
1ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])}();function Jve(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function eye(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!zve(e)||!zve(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(zve(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+tye(e)+": "+e,"."))}var tye=function(e){return Hve(e)};function nye(e,t){var n=new Kve(t);if(n.hasCountry(e))return n.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function rye(e,t){return t.countries.hasOwnProperty(e)}function iye(e){var t=e.version;"number"==typeof t?(this.v1=1===t,this.v2=2===t,this.v3=3===t,this.v4=4===t):t?-1===Bve(t,"1.2.0")?this.v2=!0:-1===Bve(t,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}function oye(e,t,n){return function(e,t,n,r){n&&(r=new Kve(r.metadata)).selectNumberingPlan(n);var i=r.type(void 0),o=i&&i.possibleLengths()||r.possibleLengths();if(!o)return"IS_POSSIBLE";var a=e.length,s=o[0];return s===a?"IS_POSSIBLE":s>a?"TOO_SHORT":o[o.length-1]<a?"TOO_LONG":o.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(e,0,t,n)}function aye(e,t){return"IS_POSSIBLE"===oye(e,void 0,t)}function sye(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function lye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var cye=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function uye(e,t,n){if(t=t||{},e.country||e.countryCallingCode){var r=new Kve(n);r.selectNumberingPlan(e.country||e.countryCallingCode);var i=t.v2?e.nationalNumber:e.phone;if(sye(i,r.nationalNumberPattern())){if(dye(i,"FIXED_LINE",r))return r.type("MOBILE")&&""===r.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":r.type("MOBILE")?dye(i,"MOBILE",r)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var o,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return lye(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lye(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(cye);!(o=a()).done;){var s=o.value;if(dye(i,s,r))return s}}}}function dye(e,t,n){var r=n.type(t);return!(!r||!r.pattern())&&!(r.possibleLengths()&&r.possibleLengths().indexOf(e.length)<0)&&sye(e,r.pattern())}var hye=/^[A-Z]{2}$/;var fye="0-9ï¼-ï¼Ù -Ù©Û°-Û¹",pye="".concat("-â-ââã¼ï¼").concat("ï¼/").concat("ï¼.").concat("  Âââ ã").concat("()ï¼ï¼ï¼»ï¼½\\[\\]").concat("~ââ¼ï½"),mye=new RegExp("(["+fye+"])");function gye(e,t,n,r){if(t){var i=new Kve(r);i.selectNumberingPlan(t||n);var o=new RegExp(i.IDDPrefix());if(0===e.search(o)){var a=(e=e.slice(e.match(o)[0].length)).match(mye);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return e}}}function vye(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var i,o,a,s=r.length-1,l=s>0&&r[s];if(t.nationalPrefixTransformRule()&&l)i=e.replace(n,t.nationalPrefixTransformRule()),s>1&&(o=r[1]);else{var c=r[0];i=e.slice(c.length),l&&(o=r[1])}if(l){var u=e.indexOf(r[1]);e.slice(0,u)===t.numberingPlan.nationalPrefix()&&(a=t.numberingPlan.nationalPrefix())}else a=r[0];return{nationalNumber:i,nationalPrefix:a,carrierCode:o}}}return{nationalNumber:e}}function yye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function bye(e,t,n){for(var r,i=new Kve(n),o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return yye(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yye(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(r=o()).done;){var a=r.value;if(i.selectNumberingPlan(a),i.leadingDigits()){if(e&&0===e.search(i.leadingDigits()))return a}else if(uye({phone:e,country:a},void 0,i.metadata))return a}}function Cye(e,t){var n=t.nationalNumber,r=t.metadata,i=r.getCountryCodesForCallingCode(e);if(i)return 1===i.length?i[0]:bye(n,i,r.metadata)}function wye(e,t,n){var r=vye(e,n),i=r.carrierCode,o=r.nationalNumber;if(o!==e){if(!function(e,t,n){return!(sye(e,n.nationalNumberPattern())&&!sye(t,n.nationalNumberPattern()))}(e,o,n))return{nationalNumber:e};if(n.numberingPlan.possibleLengths()&&(t||(t=Cye(n.numberingPlan.callingCode(),{nationalNumber:o,metadata:n})),!function(e,t,n){switch(oye(e,t,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(o,t,n)))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:i}}function Eye(e,t,n,r,i){if(!(t||n||r))return{number:e};var o=t||n?nye(t||n,i):r;if(0===e.indexOf(o)){var a=new Kve(i);a.selectNumberingPlan(t||n||r);var s=e.slice(o.length),l=wye(s,void 0,a).nationalNumber,c=wye(e,void 0,a).nationalNumber;if(!sye(c,a.nationalNumberPattern())&&sye(l,a.nationalNumberPattern())||"TOO_LONG"===oye(c,void 0,a))return{countryCallingCode:o,number:s}}return{number:e}}function kye(e,t,n,r,i){if(!e)return{};var o;if("+"!==e[0]){var a=gye(e,t||n,r,i);if(!a||a===e){if(t||n||r){var s=Eye(e,t,n,r,i),l=s.countryCallingCode,c=s.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:c}}return{number:e}}
1o=!0,e="+"+a}if("0"===e[1])return{};for(var u=new Kve(i),d=2;d-1<=3&&d<=e.length;){var h=e.slice(1,d);if(u.hasCallingCode(h))return u.selectNumberingPlan(h),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:h,number:e.slice(d)};d++}return{}}function Sye(e){return e.replace(new RegExp("[".concat(pye,"]+"),"g")," ").trim()}var xye=/(\$\d)/;function Tye(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var o=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(xye,t.nationalPrefixFormattingRule()):t.format());return r?Sye(o):o}var Mye=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/,Aye=function(e){return"([".concat(fye,"]{1,").concat(e,"})")};function Lye(e){var t="[  \\t,]*",n="[:\\.ï¼]?[  \\t,-]*",r="#?",i="[  \\t]*";return";ext="+Aye("20")+"|"+t+"(?:e?xt(?:ensi(?:oÌ?|ó))?n?|ï½
?ï½ï½ï½?|доб|anexo)"+n+Aye("20")+"#?|"+t+"(?:[xï½#ï¼~ï½]|int|ï½ï½ï½)"+n+Aye("9")+"#?|[- ]+"+Aye("6")+"#|"+i+"(?:,{2}|;)"+n+Aye("15")+"#?|"+i+"(?:,)+"+n+Aye("9")+r}var Pye="["+fye+"]{2}",Rye="[+ï¼]{0,1}(?:["+pye+"]*["+fye+"]){3,}["+pye+fye+"]*",Oye=new RegExp("^[+ï¼]{0,1}(?:["+pye+"]*["+fye+"]){1,2}$","i"),Dye=Rye+"(?:"+Lye()+")?",Iye=new RegExp("^"+Pye+"$|^"+Dye+"$","i"),_ye={formatExtension:function(e,t,n){return"".concat(e).concat(n.ext()).concat(t)}};function Fye(e,t,n,r,i){var o,a,s=(o=r.formats(),a=e,function(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}(o,function(e){if(e.leadingDigitsPatterns().length>0){var t=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];if(0!==a.search(t))return!1}return sye(a,e.pattern())}));return s?Tye(e,s,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!s.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix,carrierCode:t,metadata:r}):e}function $ye(e,t,n,r){return t?r(e,t,n):e}function Nye(e){return(Nye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Bye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bye(Object(n),!0).forEach(function(t){zye(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bye(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zye(e,t,n){return(t=Vye(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vye(e){var t=function(e){if("object"!=Nye(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Nye(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Nye(t)?t:t+""}var Hye=function(){return e=function e(t,n,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw new TypeError("First argument is required");if("string"!=typeof t)throw new TypeError("First argument must be a string");if("+"===t[0]&&!n)throw new TypeError("`metadata` argument not passed");if(zve(n)&&zve(n.countries)){r=n;var i=t;if(!Uye.test(i))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var o=kye(i,void 0,void 0,void 0,r);if(t=o.countryCallingCode,!(n=o.number))throw new Error("Invalid `number` argument passed: too short")}if(!n)throw new TypeError("`nationalNumber` argument is required");if("string"!=typeof n)throw new TypeError("`nationalNumber` argument must be a string");eye(r);var a=function(e,t){var n,r,i,o=new Kve(t);return i=e,hye.test(i)?(n=e,o.selectNumberingPlan(n),r=o.countryCallingCode()):r=e,{country:n,callingCode:r}}(t,r),s=a.country,l=a.callingCode;this.country=s,this.countryCallingCode=l,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}},t=[{key:"setExt",value:function(e){this.ext=e}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:(e=this.countryCallingCode,t
1=this.nationalNumber,n=this.getMetadata(),(r=new Kve(n).getCountryCodesForCallingCode(e))?r.filter(function(e){return function(e,t,n){var r=new Kve(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}(t,e,n)}):[]);var e,t,n,r}},{key:"isPossible",value:function(){return function(e,t,n){void 0===t&&(t={});var r=new Kve(n);if(t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.country||e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.countryCallingCode)}}if(r.possibleLengths())return aye(e.phone||e.nationalNumber,r);if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return function(e,t,n){t=t||{};var r=new Kve(n);return r.selectNumberingPlan(e.country||e.countryCallingCode),r.hasTypes()?void 0!==uye(e,t,r.metadata):sye(t.v2?e.nationalNumber:e.phone,r.nationalNumberPattern())}(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){return new Kve(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return uye(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(e,t){return function(e,t,n,r){n=n?function(){for(var e=1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;e<n.length;){if(n[e])for(var i in n[e])n[0][i]=n[e][i];e++}return n[0]}({},_ye,n):_ye;var i=new Kve(r);if(e.country&&"001"!==e.country){if(!i.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));i.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)return e.phone||"";i.selectNumberingPlan(e.countryCallingCode)}var o,a=i.countryCallingCode(),s=n.v2?e.nationalNumber:e.phone;switch(t){case"NATIONAL":return s?$ye(o=Fye(s,e.carrierCode,"NATIONAL",i,n),e.ext,i,n.formatExtension):"";case"INTERNATIONAL":return s?(o=Fye(s,null,"INTERNATIONAL",i,n),$ye(o="+".concat(a," ").concat(o),e.ext,i,n.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(s);case"RFC3966":return function(e){var t=e.number,n=e.ext;if(!t)return"";if("+"!==t[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}({number:"+".concat(a).concat(s),ext:e.ext});case"IDD":if(!n.fromCountry)return;var l=function(e,t,n,r,i){if(nye(r,i.metadata)===n){var o=Fye(e,t,"NATIONAL",i);return"1"===n?n+" "+o:o}var a=function(e,t,n){var r=new Kve(n);return r.selectNumberingPlan(e||void 0),r.defaultIDDPrefix()?r.defaultIDDPrefix():Mye.test(r.IDDPrefix())?r.IDDPrefix():void 0}(r,0,i.metadata);if(a)return"".concat(a," ").concat(n," ").concat(Fye(e,null,"INTERNATIONAL",i))}(s,e.carrierCode,a,n.fromCountry,i);if(!l)return;return $ye(l,e.ext,i,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}(this,e,t?jye(jye({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}],t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Vye(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),Uye=/^\+\d+$/;function Wye(e){return(Wye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Gye(e){var t="function"==typeof Map?new Map:void 0;return Gye=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(qye())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&Kye(i,n.prototype),i}(e,arguments,Yye(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Kye(n,e)},Gye(e)}function qye(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qye=function(){return!!e})()}function Kye(e,t){return(Kye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Yye(e){return(Yye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zye=function(){function e(t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n=function(e,t,n){return t=Yye(t),function(e,t){if(t&&("object"==Wye(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}
vendor: 10,213 bytes, line 1
1(e,qye()?Reflect.construct(t,n||[],Yye(e).constructor):t.apply(e,n))}(this,e,[t]),Object.setPrototypeOf(n,e.prototype),n.name=n.constructor.name,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kye(e,t)}(e,Gye(Error)),t=e,Object.defineProperty(t,"prototype",{writable:!1}),t;var t}(),Qye=new RegExp("(?:"+Lye()+")$","i");function Xye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Jye={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","ï¼":"0","ï¼":"1","ï¼":"2","ï¼":"3","ï¼":"4","ï¼":"5","ï¼":"6","ï¼":"7","ï¼":"8","ï¼":"9","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9"};function ebe(e){return Jye[e]}function tbe(e){for(var t,n="",r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Xye(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xye(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(t=r()).done;){var i=ebe(t.value);i&&(n+=i)}return n}function nbe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rbe(e){for(var t,n="",r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nbe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nbe(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(t=r()).done;)n+=ibe(t.value,n)||"";return n}function ibe(e,t,n){return"+"===e?t?void("function"==typeof n&&n("end")):"+":ebe(e)}var obe="(["+fye+"]|[\\-\\.\\(\\)]?)",abe=new RegExp("^\\+"+obe+"*["+fye+"]"+obe+"*$","g"),sbe=new RegExp("^(["+fye+"]+((\\-)*["+fye+"])*\\.)*[a-zA-Z]+((\\-)*["+fye+"])*\\.?$","g"),lbe=";phone-context=";var cbe=new RegExp("[+ï¼"+fye+"]"),ube=new RegExp("[^"+fye+"#]+$");function dbe(e,t,n){t=t||{};var r=new Kve(n);if(t.defaultCountry&&!r.hasCountry(t.defaultCountry)){if(t.v2)throw new Zye("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(t.defaultCountry))}var i=function(e,t,n){var r=function(e,t){var n,r=t.extractFormattedPhoneNumber,i=function(e){var t=e.indexOf(lbe);if(t<0)return null;var n=t+15;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}(e);if(!function(e){return null===e||0!==e.length&&(abe.test(e)||sbe.test(e))}(i))throw new Zye("NOT_A_NUMBER");if(null===i)n=r(e)||"";else{n="","+"===i.charAt(0)&&(n+=i);var o,a=e.indexOf("tel:");o=a>=0?a+4:0;var s=e.indexOf(lbe);n+=e.substring(o,s)}var l=n.indexOf(";isub=");if(l>0&&(n=n.substring(0,l)),""!==n)return n}(e,{extractFormattedPhoneNumber:function(e){return function(e,t,n){if(e)if(e.length>250){if(n)throw new Zye("TOO_LONG")}else{if(!1===t)return e;var r=e.search(cbe);if(!(r<0))return e.slice(r).replace(ube,"")}}(e,n,t)}});if(!r)return{};if(!function(e){return e.length>=2&&Iye.test(e)}(r))return function(e){return Oye.test(e)}(r)?{error:"TOO_SHORT"}:{};var i=function(e){var t=e.search(Qye);if(t<0)return{};for(var n=e.slice(0,t),r=e.match(Qye),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}(r);return i.ext?i:{number:r}}(e,t.v2,t.extract),o=i.number,a=i.ext,s=i.error;if(!o){if(t.v2){if("TOO_SHORT"===s)throw new Zye("TOO_SHORT");throw new Zye("NOT_A_NUMBER")}return{}}var l=function(e,t,n,r){var i,o=kye(rbe(e),void 0,t,n,r.metadata),a=o.countryCallingCodeSource,s=o.countryCallingCode,l=o.number;if(s)r.selectNumberingPlan(s);else{if(!l||!t&&!n)return{};t?(i=t,r.selectNumberingPlan(t),s=r.numberingPlan.callingCode()):(r.selectNumberingPlan(n),s=n)}if(!l)return{countryCallingCodeSource:a,countryCallingCode:s};var c=wye(rbe(l),void 0,r),u=c.nationalNumber,d=c.carrierCode,h=Cye(s,{nationalNumber:u,metadata:r});return h&&(i=h,"001"===h||r.selectNumberingPlan(i)),{country:i,countryCallingCode:s,countryCallingCodeSource:a,nationalNumber:u,carrierCode:d}}(o,t.defaultCountry,t.defaultCallingCode,r),c=l.country,u=l.nationalNumber,d=l.countryCallingCode,h=l.countryCallingCodeSource,f=l.carrierCode;if(!r.hasSelectedNumberingPlan()){if(t.v2)throw new Zye("INVALID_COUNTRY");return{}}if(!u||u.length<2){if(t.v2)throw new Zye("TOO_SHORT");return{}}if(u.length>17){if(t.v2)throw new Zye("TOO_LONG");return{}}if(t.v2){var p=new Hye(d,u,r.metadata);return c&&(p.country=c),f&&(p.carrierCode=f),a&&(p.ext=a),p.__countryCallingCodeSource=h,p}var m=!!(t.extended?r.hasSelectedNumberingPlan():c)&&sye(u,r.nationalNumberPattern());return t.extended?{country:c,countryCallingCode:d,carrierCode:f,valid:m,possible:!!m||!(!0!==t.extended||!r.possibleLengths()||!aye(u,r)),phone:u,ext:a}:m?function(e,t,n){var r={country:e,phone:t};return n&&(r.ext=n),r}(c,u,a):{}}function hbe(e){return(hbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fbe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pbe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fbe(Object(n),!0).forEach(function(t){mbe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fbe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mbe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=hbe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=hbe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==hbe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gbe(e){return(gbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vbe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ybe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=gbe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=gbe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==gbe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bbe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Cbe(e){var t,n,r,i,o,a=(i=Array.prototype.slice.call(e),o=4,function(e){if(Array.isArray(e))return e}(i)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(i,o)||function(e,t){if(e){if("string"==typeof e)return bbe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bbe(e,t):void 0}}(i,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=a[0],l=a[1],c=a[2],u=a[3];if("string"!=typeof s)throw new TypeError("A text for parsing must be a string.");if(t=s,l&&"string"!=typeof l){if(!zve(l))throw new Error("Invalid second argument: ".concat(l));c?(n=l,r=c):r=l}else u?(n=c,r=u):(n=void 0,r=c),l&&(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vbe(Object(n),!0).forEach(function(t){ybe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vbe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({defaultCountry:l},n));return{text:t,options:n,metadata:r}}function wbe(e){return(wbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ebe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kbe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
vendor: 8,170 bytes, line 1
1t%2?Ebe(Object(n),!0).forEach(function(t){Sbe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ebe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Sbe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=wbe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=wbe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==wbe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xbe(e,t,n){t&&t.defaultCountry&&!rye(t.defaultCountry,n)&&(t=kbe(kbe({},t),{},{defaultCountry:void 0}));try{return function(e,t,n){return dbe(e,pbe(pbe({},t),{},{v2:!0}),n)}(e,t,n)}catch(r){if(!(r instanceof Zye))throw r}}function Tbe(e){return(Tbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mbe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Abe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mbe(Object(n),!0).forEach(function(t){Lbe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mbe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Lbe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Tbe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Tbe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==Tbe(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pbe(){var e=Cbe(arguments),t=e.text,n=e.options,r=e.metadata,i=xbe(t,n=Abe(Abe({},n),{},{extract:!1}),r);return i&&i.isValid()||!1}function Rbe(e){return(Rbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Obe(e){var t=function(e){if("object"!=Rbe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Rbe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Rbe(t)?t:t+""}var Dbe=function(){return e=function e(t){var n=t.onCountryChange,r=t.onCallingCodeChange;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onCountryChange=n,this.onCallingCodeChange=r},(t=[{key:"reset",value:function(e){var t=e.country,n=e.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(t,n)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberIsModified=!1,this.nationalPrefix=void 0,this.carrierCode=void 0,this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix=void 0}},{key:"update",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this[r]=e[r]}}},{key:"initCountryAndCallingCode",value:function(e,t){this.setCountry(e),this.setCallingCode(t)}},{key:"setCountry",value:function(e){this.country=e,this.onCountryChange(e)}},{key:"setCallingCode",value:function(e){this.callingCode=e,this.onCallingCodeChange(e,this.country)}},{key:"startInternationalNumber",value:function(e,t){this.international=!0,this.initCountryAndCallingCode(e,t)}},{key:"appendDigits",value:function(e){this.digits+=e}},{key:"appendNationalSignificantNumberDigits",value:function(e){this.nationalSignificantNumber+=e}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Obe(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function Ibe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var _be="x",Fbe=new RegExp(_be);function $be(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e}function Nbe(e,t){return")"===e[t]&&t++,function(e){for(var t=[],n=0;n<e.length;)"("===e[n]?t.push(n):")"===e[n]&&t.pop(),n++;var r=0,i="";t.push(e.length);for(var o=0,a=t;o<a.length;o++){var s=a[o];i+=e.slice(r,s),r=s+1}return i}(e.slice(0,t))}function Bbe(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,o=n.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(t.pattern(),")$")).test(e.nationalSignificantNumber))return function(e,t,n){var r=n.metadata,i=n.shouldTryNationalPrefixFormattingRule,o=n.getSeparatorAfterNationalPrefix;if(e.nationalSignificantNumber,e.international,e.nationalPrefix,e.carrierCode,i(t)){var a=jbe(e,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:o,metadata:r});if(a)return a}return jbe(e,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:o,metadata:r})}(e,t,{metadata:r,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:o})}function jbe(e,t,n){var r=n.metadata,i=n.useNationalPrefixFormattingRule,o=n.getSeparatorAfterNationalPrefix,a=Tye(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:i,metadata:r});if(i||(e.nationalPrefix?a=e.nationalPrefix+o(t)+a:e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix&&(a=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix+" "+a)),function(e,t){return tbe(e)===t.getNationalDigits()}(a,e))return a}function zbe(e){return(zbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Vbe(e){var t=function(e){if("object"!=zbe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=zbe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zbe(t)?t:t+""}var Hbe=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"parse",value:function(e){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(e),1!==this.context.length)throw new Error("Non-finalized contexts left when pattern parse ended");var t=this.context[0],n=t.branches,r=t.instructions;if(n)return{op:"|",args:n.concat([qbe(r)])};if(0===r.length)throw new Error("Pattern is required");return 1===r.length?r[0]:r}},{key:"startContext",value:function(e){this.context.push(e)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(e){if(!e)throw new Error("Pattern is required");var t=e.match(Gbe);if(t){var n=t[1],r=e.slice(0,t.index),i=e.slice(t.index+n.length);switch(n){case"(?:":r&&this.parsePattern(r),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(r&&this.parsePattern(r),0===this.getContext().instructions.length)throw new Error('No instructions foun
1d after "|" operator in an "or" group');var o=this.getContext().branches;o.push(qbe(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:o});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(r&&this.parsePattern(r),!this.getContext().branches){if(1!==this.context.length)throw new Error('"branches" not found in an "or" group context');this.getContext().branches=[]}this.getContext().branches.push(qbe(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":r&&this.parsePattern(r),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:Ube(r)});break;default:throw new Error("Unknown operator: ".concat(n))}i&&this.parsePattern(i)}else{if(Wbe.test(e))throw new Error("Illegal characters found in a pattern: ".concat(e));this.getContext().instructions=this.getContext().instructions.concat(e.split(""))}}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Vbe(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function Ube(e){for(var t=[],n=0;n<e.length;){if("-"===e[n]){if(0===n||n===e.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(e));for(var r=e[n-1].charCodeAt(0)+1,i=e[n+1].charCodeAt(0)-1,o=r;o<=i;)t.push(String.fromCharCode(o)),o++}else t.push(e[n]);n++}return t}var Wbe=/[\(\)\[\]\?\:\|]/,Gbe=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function qbe(e){return 1===e.length?e[0]:e}function Kbe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ybe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ybe(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ybe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Zbe(e){return(Zbe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Qbe(e){var t=function(e){if("object"!=Zbe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Zbe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zbe(t)?t:t+""}var Xbe=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.matchTree=(new Hbe).parse(t)},t=[{key:"match",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).allowOverflow;if(!e)throw new Error("String is required");var n=Jbe(e.split(""),this.matchTree,!0);if(n&&n.match&&delete n.matchedChars,!n||!n.overflow||t)return n}}],t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Qbe(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function Jbe(e,t,n){if("string"==typeof t){var r=e.join("");return 0===t.indexOf(r)?e.length===t.length?{match:!0,matchedChars:e}:{partialMatch:!0}:0===r.indexOf(t)?n&&e.length>t.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,t.length)}:void 0}if(Array.isArray(t)){for(var i=e.slice(),o=0;o<t.length;){var a=Jbe(i,t[o],n&&o===t.length-1);if(!a)return;if(a.overflow)return a;
vendor: 14,597 bytes, line 1
1if(!a.match){if(a.partialMatch)return{partialMatch:!0};throw new Error("Unsupported match result:\n".concat(JSON.stringify(a,null,2)))}if(0===(i=i.slice(a.matchedChars.length)).length)return o===t.length-1?{match:!0,matchedChars:e}:{partialMatch:!0};o++}return n?{overflow:!0}:{match:!0,matchedChars:e.slice(0,e.length-i.length)}}switch(t.op){case"|":for(var s,l,c=Kbe(t.args);!(l=c()).done;){var u=Jbe(e,l.value,n);if(u){if(u.overflow)return u;if(u.match)return{match:!0,matchedChars:u.matchedChars};if(!u.partialMatch)throw new Error("Unsupported match result:\n".concat(JSON.stringify(u,null,2)));s=!0}}return s?{partialMatch:!0}:void 0;case"[]":for(var d,h=Kbe(t.args);!(d=h()).done;){var f=d.value;if(e[0]===f)return 1===e.length?{match:!0,matchedChars:e}:n?{overflow:!0}:{match:!0,matchedChars:[f]}}return;default:throw new Error("Unsupported instruction tree: ".concat(t))}}function eCe(e){return(eCe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tCe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nCe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nCe(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nCe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rCe(e){var t=function(e){if("object"!=eCe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=eCe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==eCe(t)?t:t+""}var iCe=$be("9",15),oCe=/[- ]/,aCe=new RegExp("["+pye+"]*\\$1["+pye+"]*(\\$\\d["+pye+"]*)*$"),sCe=function(){return e=function e(t){t.state;var n=t.metadata;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.metadata=n,this.resetFormat()},t=[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(e,t){this.resetFormat(),e?(this.isNANP="1"===e.callingCode(),this.matchingFormats=e.formats(),t.nationalSignificantNumber&&this.narrowDownMatchingFormats(t)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(e,t){var n=this;if("IS_POSSIBLE"===oye(t.nationalSignificantNumber,void 0,this.metadata))for(var r,i=tCe(this.matchingFormats);!(r=i()).done;){var o=r.value,a=Bbe(t,o,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(e){return n.shouldTryNationalPrefixFormattingRule(e,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:function(e){return n.getSeparatorAfterNationalPrefix(e)}});if(a)return this.resetFormat(),this.chosenFormat=o,this.setNationalNumberTemplate(a.replace(/\d/g,_be),t),this.populatedNationalNumberTemplate=a,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(_be),a}return this.formatNationalNumberWithNextDigits(e,t)}},{key:"formatNationalNumberWithNextDigits",value:function(e,t){var n=this.chosenFormat,r=this.chooseFormat(t);if(r)return r===n?this.formatNextNationalNumberDigits(e):this.formatNextNationalNumberDigits(t.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(e){var t=this,n=e.nationalSignificantNumber,r=e.nationalPrefix,i=e.international,o=n,a=o.length-3;a<0&&(a=0),this.matchingFormats=this.matchingFormats.filter(function(e){return t.formatSuits(e,i,r)&&t.formatMatches(e,o,a)}),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(e,t,n){return!(n&&!e.usesNationalPrefix()&&!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!t&&!n&&e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(e,t,n){var r=e.leadingDigitsPatterns().length;if(0===r)return!0;n=Math.min(n,r-1);var i=e.leadingDigitsPatterns()[n];if(t.length<3)try{return void 0!==new Xbe(i).match(t,{allowOverflow:!0})}catch(o){return!0}return new RegExp("^(".concat(i,")")).test(t)}},{key:"getFormatFormat",value:function(e,t){return t?e.internationalFormat():e.format()}},{key:"chooseFormat",value:function(e){for(var t,n=this,r=function(){var r=t.value;return n.chosenFormat===r?0:aCe.test(n.getFormatFormat(r,e.international))?n.createTemplateForFormat(r,e)?(n.chosenFormat=r,0):(n.matchingFormats=n.matchingFormats.filter(function(e){return e!==r}),1):1},i=tCe(this.matchingFormats.slice());!(t=i()).done&&0!==r(););return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(e,t){if(!(e.pattern().indexOf("|")>=0)){var n=this.getTemplateForFormat(e,t);return n?(this.setNationalNumberTemplate(n,t),!0):void 0}}},{key:"getSeparatorAfterNationalPrefix",value:function(e){return this.isNANP||e&&e.nationalPrefixFormattingRule()&&oCe.test(e.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(e,t){var n=e.IDDPrefix,r=e.missingPlus;return n?t&&!1===t.spacing?n:n+" ":r?"":"+"}},{key:"getTemplate",value:function(e){if(this.template){for(var t=-1,n=0,r=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e,{spacing:!1}):"";n<r.length+e.getDigitsWithoutInternationalPrefix().length;)t=this.template.indexOf(_be,t+1),n++;return Nbe(this.template,t+1)}}},{key:"setNationalNumberTemplate",value:function(e,t){this.nationalNumberTemplate=e,this.populatedNationalNumberTemplate=e,this.populatedNationalNumberTemplatePosition=-1,t.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(t).replace(/[\d\+]/g,_be)+$be(_be,t.callingCode.length)+" "+e:this.template=e}},{key:"getTemplateForFormat",value:function(e,t){var n=t.nationalSignificantNumber,r=t.international,i=t.nationalPrefix,o=t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,a=e.pattern();a=a.replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d");var s=iCe.match(a)[0];if(!(n.length>s.length)){var l=new RegExp("^"+a+"$"),c=n.replace(/\d/g,"9");l.test(c)&&(s=c);var u,d=this.getFormatFormat(e,r);if(this.shouldTryNationalPrefixFormattingRule(e,{international:r,nationalPrefix:i})){var h=d.replace(xye,e.nationalPrefixFormattingRule());if(tbe(e.nationalPrefixFormattingRule())===(i||"")+tbe("$1")&&(d=h,u=!0,i))for(var f=i.length;f>0;)d=d.replace(/\d/,_be),f--}var p=s.replace(new RegExp(a),d).replace(new RegExp("9","g"),_be);return u||(o?p=$be(_be,o.length)+" "+p:i&&(p=$be(_be,i.length)+this.getSeparatorAfterNationalPrefix(e)+p)),r&&(p=Sye(p)),p}}},{key:"formatNextNationalNumberDigits",value:function(e){var t=function(e,t,n){for(var r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ibe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ibe(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n.split(""));!(r=i()).done;){var o=r.value;if(e.slice(t+1).search(Fbe)<0)return;t=e.search(Fbe),e=e.replace(Fbe,o)}return[e,t]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,e);if(t)return this.populatedNationalNumberTemplate=t[0],this.populatedNationalNumberTemplatePosition=t[1],Nbe(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(e,t){var n=t.international,r=t.nationalPrefix;if(e.nationalPrefixFormattingRule()){var i=e.usesNationalPrefix();if(i&&r||!i&&!n)return!0}}}],t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,rCe(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function lCe(e){return(lCe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cCe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return uCe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uCe(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function uCe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function dCe(e){var t=function(e){if("object"!=lCe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=lCe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lCe(t)?t:t+""}var hCe=new RegExp("^["+pye+fye+"]+$","i"),fCe="(?:[+ï¼]["+pye+fye+"]*|["+pye+fye+"]+)",pCe=new RegExp("[^"+pye+fye+"]+.*$"),mCe=/[^\d\[\]]/,gCe=function(){return e=function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,i=t.metadata,o=t.onNationalSignificantNumberChange;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=i,this.onNationalSignificantNumberChange=o},(t=[{key:"input",value:function(e,t){var n,r=function(e){var t=function(e){var t=function(e){var t,n=e.search(fCe);if(!(n<0))return"+"===(e=e.slice(n))[0]&&(t=!0,e=e.slice(1)),e=e.replace(pCe,""),t&&(e="+"+e),e}(e)||"";return"+"===t[0]?[t.slice(1),!0]:[t]}(e),n=cCe(t,2),r=n[0],i=n[1];return hCe.test(r)||(r=""),[r,i]}(e),i=cCe(r,2),o=i[0],a=i[1],s=tbe(o);return a&&(t.digits||(t.startInternationalNumber(void 0,void 0),s||(n=!0))),s&&this.inputDigits(s,t),{digits:s,justLeadingPlus:n}}},{key:"inputDigits",value:function(e,t){var n=t.digits,r=n.length<3&&n.length+e.length>=3;if(t.appendDigits(e),r&&this.extractIddPrefix(t),this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t))return}else t.appendNationalSignificantNumberDigits(e);t.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(t.getNationalDigits(),function(e){return t.update(e)})}},{key:"isWaitingForCountryCallingCode",value:function(e){var t=e.international,n=e.callingCode;return t&&!n}},{key:"extractCountryCallingCode",value:function(e){var t=kye("+"+e.getDigitsWithoutInternationalPrefix(),e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode,r=t.number;if(n)return e.setCallingCode(n),e.update({nationalSignificantNumber:r}),!0}},{key:"reset",value:function(e){if(e){this.hasSelectedNumberingPlan=!0;var t=e._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&mCe.test(t)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(e,t){if(this.hasSelectedNumberingPlan){var n=vye(e,this.metadata),r=n.nationalPrefix,i=n.nationalNumber,o=n.carrierCode;if(i!==e)return this.onExtractedNationalNumber(r,o,i,e,t),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(e,t,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(e,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=vye(e,this.metadata),i=r.nationalPrefix,o=r.nationalNumber,a=r.carrierCode;if(o!==t)return this.onExtractedNationalNumber(i,a,o,e,n),!0}}},{key:"onExtractedNationalNumber",value:function(e,t,n,r,i){var o,a=!1,s=r.lastIndexOf(n);if(s<0||s!==r.length-n.length)a=!0;else{var l=r.slice(0,s);l&&l!==e&&(o=l)}i({nationalPrefix:e,carrierCode:t,nationalSignificantNumber:n,nationalSignificantNumberIsModified:a,prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix:o}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(e){return!!this.extractAnotherNationalSignificantNumber(e.getNationalDigits(),e.nationalSignificantNumber,function(t){return e.update(t)})||(this.extractIddPrefix(e)||this.fixMissingPlus(e)?(this.extractCallingCodeAndNationalSignificantNumber(e),!0):void 0)}},{key:"extractIddPrefix",value:function(e){var t=e.international,n=e.IDDPrefix,r=e.digits;if(e.nationalSignificantNumber,!t&&!n){var i=gye(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);return void 0!==i&&i!==r?(e.update({IDDPrefix:r.slice(0,r.length-i.length)}),this.startInternationalNumber(e,{country:void 0,callingCode:void 0}),!0):void 0}}},{key:"fixMissingPlus",value:function(e){if(!e.international){var t=Eye(e.digits,e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode;if(t)return e.update({missingPlus:!0}),this.startInternationalNumber(e,{country:e.country,callingCode:t}),!0}}},{key:"startInternationalNumber",value:function(e,t){var n=t.country,r
1=t.callingCode;e.startInternationalNumber(n,r),e.nationalSignificantNumber&&(e.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(e){this.extractCountryCallingCode(e)&&this.extractNationalSignificantNumber(e.getNationalDigits(),function(t){return e.update(t)})}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,dCe(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function vCe(e){return(vCe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yCe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function bCe(e){var t=function(e){if("object"!=vCe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=vCe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==vCe(t)?t:t+""}var CCe=function(){return e=function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.metadata=new Kve(n);var r,i,o=(r=this.getCountryAndCallingCode(t),i=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(r,i)||function(e,t){if(e){if("string"==typeof e)return yCe(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yCe(e,t):void 0}}(r,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=o[0],s=o[1];this.defaultCountry=a,this.defaultCallingCode=s,this.reset()},(t=[{key:"getCountryAndCallingCode",value:function(e){var t,n;return e&&(zve(e)?(t=e.defaultCountry,n=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),[t,n]}},{key:"input",value:function(e){var t=this.parser.input(e,this.state),n=t.digits;if(t.justLeadingPlus)this.formattedOutput="+";else if(n){var r;if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(n,this.state)),void 0===r&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var i=this.state.getNationalDigits();i&&(r=this.formatter.format(i,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var e=this;return this.state=new Dbe({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,n){e.metadata.selectNumberingPlan(n||t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new sCe({state:this.state,metadata:this.metadata}),this.parser=new gCe({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){if(this.state.digits)return this._getCountry()}},{key:"_getCountry",value:function(){return this.state.country}},{key:"determineTheCountryIfNeeded",value:function(){this.state.country&&!this.isCountryCallingCodeAmbiguous()||this.determineTheCountry()}},{key:"getFullNumber",value:function(e){var t,n=this;if(this.isInternational()){var r=this.state.callingCode;return t=r?e?"".concat(r," ").concat(e):r:"".concat(this.state.getDigitsWithoutInternationalPrefix()),n.formatter.getInternationalPrefixBeforeCountryCallingCode(n.state,{spacing:!!t})+t}return e}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,r=e.nationalPrefix,i=t,o=n||r;return o&&(i=o+i),i}},{key:"getNonFormattedNumber",value:function(){var e=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(e?this.state.getNationalDigits():this.getNon
1FormattedNationalNumberWithPrefix())}},{key:"getNonFormattedTemplate",value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,_be)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:"determineTheCountry",value:function(){var e=Cye(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata});e!==this.state.country&&(this.state.setCountry(e),e&&this.metadata.selectNumberingPlan(e))}},{key:"getNumberValue",value:function(){var e=this.state,t=e.digits,n=e.callingCode,r=e.country,i=e.nationalSignificantNumber;if(t)return this.isInternational()?n?"+"+n+i:"+"+t:r||n?"+"+(r?this.metadata.countryCallingCode():n)+i:void 0}},{key:"getNumber",value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.carrierCode,r=e.callingCode;if(t){var i=this._getCountry();if(i||r){if(i&&i===this.defaultCountry){var o=function(e,t,n){var r=n.getCountryCodesForCallingCode(e);if(r.length>1)return bye(t,r,n.metadata)}(this.metadata.numberingPlan.callingCode(),t,this.metadata);o&&(i=o)}var a=new Hye(i||r,t,this.metadata.metadata);return n&&(a.carrierCode=n),a}}}},{key:"isPossible",value:function(){var e=this.getNumber();return!!e&&e.isPossible()}},{key:"isValid",value:function(){var e=this.getNumber();return!!e&&e.isValid()}},{key:"validateLength",value:function(){var e=this.state,t=e.digits,n=e.nationalSignificantNumber;if(!t)return"NOT_A_NUMBER";if(!this.metadata.numberingPlan)return"INVALID_COUNTRY";if(!n)return"TOO_SHORT";var r=oye(n,void 0,this.metadata);return"IS_POSSIBLE"!==r?r:void 0}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,bCe(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function wCe(e){return new Kve(e).getCountries()}function ECe(e){var t=e.inputFormat,n=e.country,r=e.metadata;return"NATIONAL_PART_OF_INTERNATIONAL"===t?"+".concat(nye(n,r)):""}function kCe(e,t){return t&&" "===(e=e.slice(t.length))[0]&&(e=e.slice(1)),e}function SCe(e,t,n){if(!n||!n.ignoreRest)return ibe(e,t,function(e){n&&"end"===e&&(n.ignoreRest=!0)})}function xCe(e){var t=e.onKeyDown,n=e.inputFormat;return Qt.useCallback(function(e){e.keyCode===TCe&&"INTERNATIONAL"===n&&e.target instanceof HTMLInputElement&&e.target.selectionStart===MCe.length?e.preventDefault():t&&t(e)},[t,n])}var TCe=8,MCe="+",ACe=["onKeyDown","country","inputFormat","metadata","international","withCountryCallingCode"];function LCe(){return LCe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LCe.apply(this,arguments)}const PCe=function(){function e(e,t){var n=e.onKeyDown,r=e.country,i=e.inputFormat,o=e.metadata,a=void 0===o?void 0:o;e.international,e.withCountryCallingCode;var s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,ACe),l=Qt.useCallback(function(e){var t=new CCe(r,a),n=ECe({inputFormat:i,country:r,metadata:a}),o=t.input(n+e),s=t.getTemplate();return n&&(o=kCe(o,n),s&&(s=kCe(s,n))),{text:o,template:s}},[r,a]),c=xCe({onKeyDown:n,inputFormat:i});return Xt.createElement(Nve,LCe({},s,{ref:t,parse:SCe,format:l,onKeyDown:c}))}return(e=Xt.forwardRef(e)).propTypes={value:ZR.string.isRequired,onChange:ZR.func.isRequired,onKeyDown:ZR.func,country:ZR.string,inputFormat:ZR.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:ZR.object},e}();var RCe=["value","onChange","onKeyDown","country","inputFormat","metadata","inputComponent","international","withCountryCallingCode"];function OCe(){return OCe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OCe.apply(this,arguments)}const DCe=function(){function e(e,t){var n=e.value,r=e.onChange,i=e.onKeyDown,o=e.country,a=e.inputFormat,s=e.metadata,l=void 0===s?void 0:s,c=e.inputComponent,u=void 0===c?"input":c;e.international,e.withCountryCallingCode;var d=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,RCe),h=ECe({inputFormat:a,country:o,metadata:l}),f=Qt.useCallback(function(e){var t=rbe(e.target.value);
1t===n&&0===ICe(h,t,o,l).indexOf(e.target.value)&&(t=t.slice(0,-1)),r(t)},[h,n,r,o,l]),p=xCe({onKeyDown:i,inputFormat:a});return Xt.createElement(u,OCe({},d,{ref:t,value:ICe(h,n,o,l),onChange:f,onKeyDown:p}))}return(e=Xt.forwardRef(e)).propTypes={value:ZR.string.isRequired,onChange:ZR.func.isRequired,onKeyDown:ZR.func,country:ZR.string,inputFormat:ZR.oneOf(["INTERNATIONAL","NATIONAL_PART_OF_INTERNATIONAL","NATIONAL","INTERNATIONAL_OR_NATIONAL"]).isRequired,metadata:ZR.object,inputComponent:ZR.elementType},e}();function ICe(e,t,n,r){return kCe(function(e,t,n){return n||(n=t,t=void 0),new CCe(t,n).input(e)}(e+t,n,r),e)}function _Ce(e){return String.fromCodePoint(127397+e.toUpperCase().charCodeAt(0))}var FCe=["value","onChange","options","disabled","readOnly"],$Ce=["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"];function NCe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function BCe(){return BCe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BCe.apply(this,arguments)}function jCe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function zCe(e){var t=e.value,n=e.onChange,r=e.options,i=e.disabled,o=e.readOnly,a=jCe(e,FCe),s=Qt.useCallback(function(e){var t=e.target.value;n("ZZ"===t?void 0:t)},[n]);return Qt.useMemo(function(){return WCe(r,t)},[r,t]),Xt.createElement("select",BCe({},a,{disabled:i||o,readOnly:o,value:t||"ZZ",onChange:s}),r.map(function(e){var t=e.value,n=e.label,r=e.divider;return Xt.createElement("option",{key:r?"|":t||"ZZ",value:r?"|":t||"ZZ",disabled:!!r,style:r?VCe:void 0},n)}))}zCe.propTypes={value:ZR.string,onChange:ZR.func.isRequired,options:ZR.arrayOf(ZR.shape({value:ZR.string,label:ZR.string,divider:ZR.bool})).isRequired,disabled:ZR.bool,readOnly:ZR.bool};var VCe={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function HCe(e){var t=e.value,n=e.options,r=e.className,i=e.iconComponent;e.getIconAspectRatio;var o,a=e.arrowComponent,s=void 0===a?UCe:a,l=e.unicodeFlags,c=jCe(e,$Ce),u=Qt.useMemo(function(){return WCe(n,t)},[n,t]);return Xt.createElement("div",{className:"PhoneInputCountry"},Xt.createElement(zCe,BCe({},c,{value:t,options:n,className:wve("PhoneInputCountrySelect",r)})),u&&(l&&t?Xt.createElement("div",{className:"PhoneInputCountryIconUnicode"},_Ce((o=t)[0])+_Ce(o[1])):Xt.createElement(i,{"aria-hidden":!0,country:t,label:u.label,aspectRatio:l?1:void 0})),Xt.createElement(s,null))}function UCe(){return Xt.createElement("div",{className:"PhoneInputCountrySelectArrow"})}function WCe(e,t){for(var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return NCe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?NCe(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(n=r()).done;){var i=n.value;if(!i.divider&&GCe(i.value,t))return i}}function GCe(e,t){return null==e?null==t:e===t}HCe.propTypes={iconComponent:ZR.elementType,arrowComponent:ZR.elementType,unicodeFlags:ZR.bool};var qCe=["country","countryName","flags","flagUrl"];function KCe(){return KCe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KCe.apply(this,arguments)}function YCe(e){var t=e.country,n=e.countryName,r=e.flags,i=e.flagUrl,o=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,qCe);return r&&r[t]?r[t]({title:n}):Xt.createElement("img",KCe({},o,{alt:n,role:n?void 0:"presentation",src:i.replace("{XX}",t).replace("{xx}",t.toLowerCase())}))}
1YCe.propTypes={country:ZR.string.isRequired,countryName:ZR.string.isRequired,flags:ZR.objectOf(ZR.elementType),flagUrl:ZR.string.isRequired};var ZCe=["aspectRatio"],QCe=["title"],XCe=["title"];function JCe(){return JCe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JCe.apply(this,arguments)}function ewe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function twe(e){var t=e.aspectRatio,n=ewe(e,ZCe);return 1===t?Xt.createElement(rwe,n):Xt.createElement(nwe,n)}function nwe(e){var t=e.title,n=ewe(e,QCe);return Xt.createElement("svg",JCe({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),Xt.createElement("title",null,t),Xt.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},Xt.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),Xt.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),Xt.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),Xt.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),Xt.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),Xt.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),Xt.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}function rwe(e){var t=e.title,n=ewe(e,XCe);return Xt.createElement("svg",JCe({},n,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),Xt.createElement("title",null,t),Xt.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},Xt.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),Xt.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),Xt.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),Xt.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),Xt.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),Xt.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),Xt.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}function iwe(e){!function(e){if(e.length<2)return!1;if("+"!==e[0])return!1;for(var t=1;t<e.length;){var n=e.charCodeAt(t);if(!(n>=48&&n<=57))return!1;t++}}(e)}function owe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function awe(e,t){return!!rye(e,t)}function swe(e,t){return e&&0===(e=e.filter(function(e){return awe(e,t)})).length&&(e=void 0),e}twe.propTypes={title:ZR.string.isRequired,aspectRatio:ZR.number},nwe.propTypes={title:ZR.string.isRequired},rwe.propTypes={title:ZR.string.isRequired};
1var lwe=["country","label","aspectRatio"];function cwe(){return cwe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cwe.apply(this,arguments)}function uwe(e){var t=e.flags,n=e.flagUrl,r=e.flagComponent,i=e.internationalIcon;function o(e){var o=e.country,a=e.label,s=e.aspectRatio,l=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,lwe),c=i===twe?s:void 0;return Xt.createElement("div",cwe({},l,{className:wve("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":1===c,"PhoneInputCountryIcon--border":o})}),o?Xt.createElement(r,{country:o,countryName:a,flags:t,flagUrl:n,className:"PhoneInputCountryIconImg"}):Xt.createElement(i,{title:a,aspectRatio:c,className:"PhoneInputCountryIconImg"}))}return o.propTypes={country:ZR.string,label:ZR.string.isRequired,aspectRatio:ZR.number},o}function dwe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hwe(e,t){"function"==typeof e?e(t):e.current=t}uwe({flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",flagComponent:YCe,internationalIcon:twe});var fwe=ZR.shape({country_calling_codes:ZR.object.isRequired,countries:ZR.object.isRequired}),pwe=ZR.objectOf(ZR.string);function mwe(e,t){return"+"+nye(e,t)}function gwe(e,t){return function(){var e=Cbe(arguments);return xbe(e.text,e.options,e.metadata)}(e||"",t)}function vwe(e,t,n){if(e){if("+"===e[0]){if("+"===e)return;var r=new CCe(t,n);return r.input(e),r.getNumberValue()}if(t){var i=wwe(e,t,n);return"+".concat(nye(t,n)).concat(i||"")}}}function ywe(e,t){var n=t.country,r=t.countries,i=t.defaultCountry,o=t.latestCountrySelectedByUser,a=t.required,s=t.metadata;if("+"===e)return n;var l=function(e,t){var n=new CCe(null,t);return n.input(e),n.getCountry()}(e,s);if(l)return!r||r.indexOf(l)>=0?l:void 0;if(n)if(Ewe(e,n,s)){if(o&&Ewe(e,o,s))return o;if(i&&Ewe(e,i,s))return i;if(!a)return}else if(!a)return;return n}function bwe(e,t,n){if(0===e.indexOf(mwe(t,n))){var r=new CCe(t,n);r.input(e);var i=r.getNumber();return i?i.formatNational().replace(/\D/g,""):""}return e.replace(/\D/g,"")}function Cwe(e,t,n){return String.prototype.localeCompare?e.localeCompare(t,n):e<t?-1:e>t?1:0}function wwe(e,t,n){var r=new CCe(t,n);r.input(e);var i=r.getNumber();return i&&i.nationalNumber}function Ewe(e,t,n){for(var r=mwe(t,n),i=0;i<e.length&&i<r.length;){if(e[i]!==r[i])return!1;i++}return!0}function kwe(e){var t=e.value,n=e.phoneNumber,r=e.defaultCountry,i=e.international,o=e.useNationalFormat,a=e.metadata;return(!1===i||o)&&n&&n.country?function(e){return e.formatNational().replace(/\D/g,"")}(n):!t&&i&&r?mwe(r,a):t}function Swe(e){return(Swe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xwe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Twe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xwe(Object(n),!0).forEach(function(t){var r,i,o,a;r=e,i=t,o=n[t],a=function(e,t){if("object"!=Swe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Swe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i,"string"),(i="symbol"==Swe(a)?a:a+"")in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xwe(Object(n)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Mwe(e,t){return null===e&&(e=void 0),null===t&&(t=void 0),e===t}var Awe=["name","disabled","readOnly","autoComplete","style","className","inputRef","inputComponent","numberInputProps","smartCaret","countrySelectComponent","countrySelectProps","containerComponent","containerComponentProps","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"];function Lwe(e){return(Lwe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Pwe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Rwe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pwe(Object(n),!0).forEach(function(t){$we(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pwe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Owe(){return Owe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Owe.apply(this,arguments)}function Dwe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Nwe(r.key),r)}}function Iwe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Iwe=function(){return!!e})()}function _we(e){return(_we=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Fwe(e,t){return(Fwe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function $we(e,t,n){return(t=Nwe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nwe(e){var t=function(e,t){if("object"!=Lwe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Lwe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==Lwe(t)?t:t+""}var Bwe=function(){function e(t){var n,r,i,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),$we((r=this,o=[t],i=_we(i=e),n=function(e,t){if(t&&("object"===Lwe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(r,Iwe()?Reflect.construct(i,o||[],_we(r).constructor):i.apply(r,o))),"setInputRef",function(e){!function(e,t){for(var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return dwe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dwe(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(n=r()).done;){var i=n.value;i&&hwe(i,t)}}([n.props.inputRef,n.inputRef],e)}),$we(n,"isCountrySupportedWithError",function(e){return awe(e,n.props.metadata)}),$we(n,"onCountryChange",function(e){var t=n.props,r=t.international,i=t.metadata,o=t.onChange,a=t.focusInputOnCountrySelection,s=n.state,l=function(e,t){var n=t.prevCountry,r
1=t.newCountry,i=t.metadata,o=t.useNationalFormat;if(n===r)return e;if(!e)return o?"":r?mwe(r,i):"";if(r){if("+"===e[0]){if(o)return 0===e.indexOf("+"+nye(r,i))?function(e,t,n){if(t){var r="+"+nye(t,n);if(e.length<r.length){if(0===r.indexOf(e))return""}else if(0===e.indexOf(r))return e.slice(r.length)}for(var i=0,o=Object.keys(n.country_calling_codes);i<o.length;i++){var a=o[i];if(1===e.indexOf(a))return e.slice(1+a.length)}return""}(e,r,i):"";if(n){var a=mwe(r,i);return 0===e.indexOf(a)?e:a}var s=mwe(r,i);return 0===e.indexOf(s)?e:s}}else if("+"!==e[0])return vwe(e,n,i)||"";return e}(s.phoneDigits,{prevCountry:s.country,newCountry:e,metadata:i,useNationalFormat:!r}),c=vwe(l,e,i);a&&n.inputRef.current.focus(),n.setState({country:e,latestCountrySelectedByUser:e,hasUserSelectedACountry:!0,phoneDigits:l,value:c},function(){o(c)})}),$we(n,"onChange",function(e){var t=n.props,r=t.defaultCountry,i=t.onChange,o=t.addInternationalOption,a=t.international,s=t.limitMaxLength,l=t.countryCallingCodeEditable,c=t.metadata,u=n.state,d=u.countries,h=u.phoneDigits,f=u.country,p=u.latestCountrySelectedByUser,m=function(e,t){var n,r=t.prevPhoneDigits,i=t.country,o=t.defaultCountry,a=t.latestCountrySelectedByUser,s=t.countryRequired,l=t.getAnyCountry,c=t.countries,u=t.international,d=t.limitMaxLength,h=t.metadata;if(u&&!1===t.countryCallingCodeEditable&&i){var f,p=mwe(i,h);if(0!==e.indexOf(p))return e&&"+"!==e[0]?f=vwe(e=p+e,i,h):e=p,{phoneDigits:e,value:f,country:i}}return!1===u&&i&&e&&"+"===e[0]&&(e=bwe(e,i,h)),e&&i&&d&&(e=function(e,t,n){var r=wwe(e,t,n);if(r){var i=r.length-function(e,t){return(t=new Kve(t)).selectNumberingPlan(e),t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length-1]}(t,n);if(i>0)return e.slice(0,e.length-i)}return e}(e,i,h)),!e||"+"===e[0]||i&&!u||(e="+"+e),!e&&r&&"+"===r[0]&&(i=u?void 0:o),"+"===e&&r&&"+"===r[0]&&r.length>1&&(i=void 0),e&&(n="+"===e[0]&&("+"===e||i&&0===mwe(i,h).indexOf(e))?void 0:vwe(e,i,h)),n&&(i=ywe(n,{country:i,countries:c,defaultCountry:o,latestCountrySelectedByUser:a,required:!1,metadata:h}),!1===u&&i&&e&&"+"===e[0]&&(n=vwe(e=bwe(e,i,h),i,h))),!i&&s&&(i=o||l()),{phoneDigits:e,country:i,value:n}}(e,{prevPhoneDigits:h,country:f,countryRequired:!o,defaultCountry:r,latestCountrySelectedByUser:p,getAnyCountry:function(){return n.getFirstSupportedCountry({countries:d})},countries:d,international:a,limitMaxLength:s,countryCallingCodeEditable:l,metadata:c}),g=m.phoneDigits,v=m.country,y=m.value,b={phoneDigits:g,value:y,country:v};p&&y&&!Ewe(y,p,c)&&(b.latestCountrySelectedByUser=void 0),!1===l&&(y||g!==n.state.phoneDigits||(b.forceRerender={})),n.setState(b,function(){return i(y)})}),$we(n,"_onFocus",function(){return n.setState({isFocused:!0})}),$we(n,"_onBlur",function(){return n.setState({isFocused:!1})}),$we(n,"onFocus",function(e){n._onFocus();var t=n.props.onFocus;t&&t(e)}),$we(n,"onBlur",function(e){var t=n.props.onBlur;n._onBlur(),t&&t(e)}),$we(n,"onCountryFocus",function(e){n._onFocus();var t=n.props.countrySelectProps;if(t){var r=t.onFocus;r&&r(e)}}),$we(n,"onCountryBlur",function(e){n._onBlur();var t=n.props.countrySelectProps;if(t){var r=t.onBlur;r&&r(e)}}),n.inputRef=Xt.createRef();var a=n.props,s=a.value;a.labels;var l=a.international,c=a.addInternationalOption,u=a.displayInitialValueAsLocalNumber,d=a.initialValueFormat,h=a.metadata,f=n.props,p=f.defaultCountry,m=f.countries;p&&(n.isCountrySupportedWithError(p)||(p=void 0)),s&&iwe(s),m=swe(m,h);var g=gwe(s,h);n.CountryIcon=uwe(n.props);var v=function(e){var t,n=e.value,r=e.phoneNumber,i=e.defaultCountry,o=e.getAnyCountry,a=e.countries,s=e.required,l=e.metadata;return r&&r.country?t=r.country:i&&(n&&!Ewe(n,i,l)||(t=i)),a&&a.indexOf(t)<0&&(t=void 0),!t&&s&&a&&a.length>0&&(t=o()),t}({value:s,phoneNumber:g,defaultCountry:p,required:!c,countries:m||wCe(h),getAnyCountry:function(){return n.getFirstSupportedCountry({countries:m})},metadata:h});return n.state={props:n.props,country:v,countries:m,phoneDigits:kwe({value:s,phoneNumber:g,defaultCountry:p,international:l,useNationalFormat:u||"national"===d,metadata:h}),value:s},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fwe(e,t)}(e,Xt.PureComponent),t=e,n=[{key:"componentDidMount",value:function(){var e=this.props.onCountryChange,t=this.props.defaultCountry,n=this.state.country;e&&(t&&(this.isCountrySupportedWithError(t)||(t=void 0)),n!==t&&e(n))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.onCountryChange,r=this.state.country;n&&r!==t.country&&n(r)}},{key:"getCountrySelectOptions",value:function(e){var t=e.countries,n=this.props,r=n.international,i=n.countryCallingCodeEditable,o=n.countryOptionsOrder,a=n.addInternationalOption,s=n.labels,l=n.locales,c=n.metadata;return this.useMemoCountrySelectOptions(function(){return function(e,t){if(!t)return e;for(var n,r=[],i=[],o=r,a=function(){var t=n.value;if("|"===t)o.push({divider:!0});else if("..."===t||"â¦"===t)o=i;else{var r;r="ð"===t?void 0:t;var a=e.indexOf(e.filter(function(e){return e.value===r})[0]),s=e[a];e.splice(a,1),o.push(s)}},s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return owe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?owe(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t);!(n=s()).done;)a();return r.concat(e).concat(i)}(function(e){var t=e.countryNames,n=e.addInternationalOption,r=e.compareStringsLocales,i=e.compareStrings;i||(i=Cwe);var o=e.countries.map(function(e){return{value:e,label:t[e]||e}});return o.sort(function(e,t){return i(e.label,t.label,r)}),n&&o.unshift({label:t.ZZ}),o}({countries:t||wCe(c),countryNames:s,addInternationalOption:(!r||!1!==i)&&a,compareStringsLocales:l}),function(e,t){if(e&&(e=e.filter(function(e){switch(e){case"ð":case"|":case"...":case"â¦":return!0;default:return awe(e,t)}})).length>0)return e}(o,c))},[t,o,a,s,c])}},{key:"useMemoCountrySelectOptions",value:function(e,t){return this.countrySelectOptionsMemoDependencies&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;){if(e[n]!==t[n])return!1;n++}return!0}(t,this.countrySelectOptionsMemoDependencies)||(this.countrySelectOptionsMemo=e(),this.countrySelectOptionsMemoDependencies=t),this.countrySelectOptionsMemo}},{key:"getFirstSupportedCountry",value:function(e){var t=e.countries;return this.getCountrySelectOptions({countries:t})[0].value}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.disabled,r=e.readOnly,i=e.autoComplete,o=e.style,a=e.className;e.inputRef;var s=e.inputComponent,l=e.numberInputProps,c=e.smartCaret,u=e.countrySelectComponent,d=e.countrySelectProps,h=e.containerComponent,f=e.containerComponentProps;e.defaultCountry,e.countries,e.countryOptionsOrder;var p=e.labels;e.flags,e.flagComponent,e.flagUrl,e.addInternationalOption,e.internationalIcon,e.displayInitialValueAsLocalNumber,e.initialValueFormat,e.onCountryChange,e.limitMaxLength,e.countryCallingCodeEditable,e.focusInputOnCountrySelection,e.reset;var m=e.metadata,g=e.international;e.locales;var v=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,Awe),y=this.state,b=y.country,C=y.countries,w=y.phoneDigits,E=y.isFocused,k=c?PCe:DCe,S=this.getCountrySelectOptions({countries:C});return Xt.createElement(h,Owe({style:o,className:wve(a,"PhoneInput",{"PhoneInput--focus":E,"PhoneInput--disabled":n,"PhoneInput--readOnly":r})},f),Xt.createElement(u,Owe({name:t?"".concat(t,"Country"):void 0,"aria-label":p.country},d,{value:b,options:S,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:n||d&&d.disabled,readOnly:r||d&&d.readOnly,iconComponent:this.CountryIcon})),Xt.createElement(k,Owe({ref:this.setInputRef,type:"tel",autoComplete:i},l,v,{inputFormat:!0===g?"INTERNATIONAL":!1===g?"NATIONAL":"INTERNATIONAL_OR_NATIONAL",international:!!g||void 0,withCountryCallingCode:!!g||void 0,name:t,metadata:m,country:b,value:w||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:n,readOnly:r,inputComponent:s,className:wve("PhoneInputInput",l&&l.className,v.className)})))}}],r=[{key:"getDerivedStateFromProps",value:function(e,t){return Rwe({props:e},function(e,t,n){var r=e.metadata,i=e.countries,o=e.defaultCountry,a=e.value,s=e.reset,l=e.international,c=e.displayInitialValueAsLocalNumber,u=e.initialValueFormat,d=t.defaultCountry,h=t.value,f=t.reset;n.country;var p=n.value,m=n.hasUserSelectedACountry,g=n.latestCountrySelectedByUser,v=function(e){return kwe(Twe(Twe({},e),{}
1,{international:l,useNationalFormat:c||"national"===u,metadata:r}))};if(s!==f)return{phoneDigits:v({value:void 0,defaultCountry:o}),value:void 0,country:o,latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0};if(o!==d){var y=!o||awe(o,r),b=!p||l&&p===v({value:void 0,defaultCountry:d});if(!m&&y&&!a&&b)return{country:o,phoneDigits:v({value:void 0,defaultCountry:o}),value:void 0}}if(!Mwe(a,h)&&!Mwe(a,p)){var C,w,E;if(a){a&&iwe(a),C=gwe(a,r);var k=swe(i,r);C&&C.country?(!k||k.indexOf(C.country)>=0)&&(w=C.country):(w=ywe(a,{country:void 0,countries:k,metadata:r}))||o&&0===a.indexOf(mwe(o,r))&&(w=o)}return a?g&&((w?g===w:Ewe(a,g,r))?w||(w=g):E={latestCountrySelectedByUser:void 0}):E={latestCountrySelectedByUser:void 0,hasUserSelectedACountry:void 0},Twe(Twe({},E),{},{phoneDigits:v({phoneNumber:C,value:a,defaultCountry:o}),value:a,country:a?w:o})}}(e,t.props,t))}}],n&&Dwe(t.prototype,n),r&&Dwe(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,r}(),jwe=Xt.forwardRef(function(e,t){return Xt.createElement(Bwe,Owe({},function(e){for(var t in e=Rwe({},e),zwe)void 0===e[t]&&(e[t]=zwe[t]);return e}(e),{inputRef:t}))});jwe.propTypes={value:ZR.string,onChange:ZR.func.isRequired,onFocus:ZR.func,onBlur:ZR.func,disabled:ZR.bool,readOnly:ZR.bool,autoComplete:ZR.string,initialValueFormat:ZR.oneOf(["national"]),displayInitialValueAsLocalNumber:ZR.bool,defaultCountry:ZR.string,countries:ZR.arrayOf(ZR.string),labels:pwe,locales:ZR.oneOfType([ZR.string,ZR.arrayOf(ZR.string)]),flagUrl:ZR.string,flags:ZR.objectOf(ZR.elementType),flagComponent:ZR.elementType,addInternationalOption:ZR.bool,internationalIcon:ZR.elementType,countryOptionsOrder:ZR.arrayOf(ZR.string),style:ZR.object,className:ZR.string,countrySelectComponent:ZR.elementType,countrySelectProps:ZR.object,inputComponent:ZR.elementType,numberInputProps:ZR.object,containerComponent:ZR.elementType,containerComponentProps:ZR.object,smartCaret:ZR.bool,international:ZR.bool,limitMaxLength:ZR.bool,countryCallingCodeEditable:ZR.bool,metadata:fwe,onCountryChange:ZR.func,focusInputOnCountrySelection:ZR.bool};var zwe={autoComplete:"tel",countrySelectComponent:HCe,flagComponent:YCe,flagUrl:"https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",internationalIcon:twe,inputComponent:"input",containerComponent:"div",reset:ZR.any,smartCaret:!0,addInternationalOption:!0,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0};const Vwe={ext:"ext.",country:"Phone number country",phone:"Phone",AC:"Ascension Island",AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Ã
land Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Congo, Democratic Republic of the",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Cote d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"
1Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin (French Part)",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome and Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Swaziland",TA:"Tristan da Cunha",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See (Vatican City State)",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XA:"Abkhazia",XK:"Kosovo",XO:"South Ossetia",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"International"};var Hwe=["metadata","labels"];function Uwe(){return Uwe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uwe.apply(this,arguments)}function Wwe(e){var t=Xt.forwardRef(function(t,n){var r=t.metadata,i=void 0===r?e:r,o=t.labels,a=void 0===o?Vwe:o,s=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,Hwe);return Xt.createElement(jwe,Uwe({},s,{ref:n,metadata:i,labels:a}))});return t.propTypes={metadata:fwe,labels:pwe},t}function Gwe(e,t){var n=Array.prototype.slice.call(t);return n.push(vve),e.apply(this,n)}Wwe();const qwe=Wwe(vve);function Kwe(){return Gwe(Pbe,arguments)}function Ywe(){return Gwe(nye,arguments)}var Zwe=["title"],Qwe=["title"],Xwe=["title"],Jwe=["title"],eEe=["title"],tEe=["title"],nEe=["title"],rEe=["title"],iEe=["title"],oEe=["title"],aEe=["title"],sEe=["title"],lEe=["title"],cEe=["title"],uEe=["title"],dEe=["title"],hEe=["title"],fEe=["title"],pEe=["title"],mEe=["title"],gEe=["title"],vEe=["title"],yEe=["title"],bEe=["title"],CEe=["title"],wEe=["title"],EEe=["title"],kEe=["title"],SEe=["title"],xEe=["title"],TEe=["title"],MEe=["title"],AEe=["title"],LEe=["title"],PEe=["title"],REe=["title"],OEe=["title"],DEe=["title"],IEe=["title"],_Ee=["title"],FEe=["title"],$Ee=["title"],NEe=["title"],BEe=["title"],jEe=["title"],zEe=["title"],VEe=["title"],HEe=["title"],UEe=["title"],WEe=["title"],GEe=["title"],qEe=["title"],KEe=["title"],YEe=["title"],ZEe=["title"],QEe=["title"],XEe=["title"],JEe=["title"],eke=["title"],tke=["title"],nke=["title"],rke=["title"],ike=["title"],oke=["title"],ake=["title"],ske=["title"],lke=["title"],cke=["title"],uke=["title"],dke=["title"],hke=["title"],fke=["title"],pke=["title"],mke=["title"],gke=["title"],vke=["title"],yke=["title"],bke=["title"],Cke=["title"],wke=["title"],Eke=["title"],kke=["title"],Ske=["title"],xke=["title"],Tke=["title"],Mke=["title"],Ake=["title"],Lke=["title"],Pke=["title"],Rke=["title"],Oke=["title"],Dke=["title"],Ike=["title"],_ke=["title"],Fke=["title"],$ke=["title"],Nke=["title"],Bke=["title"],jke=["title"],zke=["title"],Vke=["title"],Hke=["title"],Uke=["title"],Wke=["title"],Gke=["title"],qke=["title"],Kke=["title"],Yke=["title"],Zke=["title"],Qke=["title"],Xke=["title"],Jke=["title"],eSe=["title"],tSe=["title"],nSe=["title"],rSe=["title"],iSe=["title"],oSe=["title"],aSe=["title"],sSe=["title"],lSe=["title"],cSe=["title"],uSe=["title"],dSe=["title"],hSe=["title"],fSe=["title"],pSe=["title"],mSe=["title"],gSe=["title"],vSe=["title"],ySe=["title"],bSe=["title"],CSe=["title"],wSe=["title"],ESe=["title"],kSe=["title"],SSe=["title"],xSe
vendor: 4,688 bytes, line 1
1=["title"],TSe=["title"],MSe=["title"],ASe=["title"],LSe=["title"],PSe=["title"],RSe=["title"],OSe=["title"],DSe=["title"],ISe=["title"],_Se=["title"],FSe=["title"],$Se=["title"],NSe=["title"],BSe=["title"],jSe=["title"],zSe=["title"],VSe=["title"],HSe=["title"],USe=["title"],WSe=["title"],GSe=["title"],qSe=["title"],KSe=["title"],YSe=["title"],ZSe=["title"],QSe=["title"],XSe=["title"],JSe=["title"],exe=["title"],txe=["title"],nxe=["title"],rxe=["title"],ixe=["title"],oxe=["title"],axe=["title"],sxe=["title"],lxe=["title"],cxe=["title"],uxe=["title"],dxe=["title"],hxe=["title"],fxe=["title"],pxe=["title"],mxe=["title"],gxe=["title"],vxe=["title"],yxe=["title"],bxe=["title"],Cxe=["title"],wxe=["title"],Exe=["title"],kxe=["title"],Sxe=["title"],xxe=["title"],Txe=["title"],Mxe=["title"],Axe=["title"],Lxe=["title"],Pxe=["title"],Rxe=["title"],Oxe=["title"],Dxe=["title"],Ixe=["title"],_xe=["title"],Fxe=["title"],$xe=["title"],Nxe=["title"],Bxe=["title"],jxe=["title"],zxe=["title"],Vxe=["title"],Hxe=["title"],Uxe=["title"],Wxe=["title"],Gxe=["title"],qxe=["title"],Kxe=["title"],Yxe=["title"],Zxe=["title"],Qxe=["title"],Xxe=["title"],Jxe=["title"],eTe=["title"],tTe=["title"],nTe=["title"],rTe=["title"],iTe=["title"],oTe=["title"],aTe=["title"],sTe=["title"],lTe=["title"],cTe=["title"],uTe=["title"],dTe=["title"],hTe=["title"],fTe=["title"],pTe=["title"],mTe=["title"],gTe=["title"],vTe=["title"],yTe=["title"],bTe=["title"],CTe=["title"],wTe=["title"],ETe=["title"],kTe=["title"],STe=["title"],xTe=["title"],TTe=["title"],MTe=["title"],ATe=["title"],LTe=["title"],PTe=["title"],RTe=["title"],OTe=["title"],DTe=["title"],ITe=["title"],_Te=["title"],FTe=["title"],$Te=["title"],NTe=["title"],BTe=["title"],jTe=["title"],zTe=["title"],VTe=["title"],HTe=["title"],UTe=["title"];function WTe(){return WTe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WTe.apply(this,arguments)}function GTe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const qTe={AC:function(e){var t=e.title,n=GTe(e,Zwe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z"}),Xt.createElement("path",{fill:"#1B81B6",d:"M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9"}),Xt.createElement("path",{fill:"#FFF",d:"M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4"}),Xt.createElement("path",{fill:"#1B81B6",d:"M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53"}),Xt.createElement("path",{fill:"#FFF",d:"M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1"}),Xt.createElement("path",{fill:"#1B81B6",d:"M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5"}),Xt.createElement("path",{fill:"#288549",d:"M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z"}),Xt.createElement("path",{d:"M275.9 223.6c3.6-26.7 13.5-47.3 22.1-46.2s12.6 23.7 9 50.4-13.5 47.3-22.1 46.2c-8.6-1.2-12.6-23.7-9-50.4zm191.2-45.9c8.6-1.2 18.5 19.5 22.1 46.2s-.4 49.2-9 50.4-18.5-19.6-22.2-46.3c-3.6-26.6.5-49.2 9.1-50.3z",fill:"#F0955D"}),Xt.createElement("path",{d:"M296.4 162c2.4-6 7.4-9.7 11-8.2 3.7 1.5 4.7 7.5 2.3 13.5s-7.4 9.7-11 8.2c-3.6-1.5-4.7-7.5-2.3-13.5zm-8 109.2c.9-6.2 3.1-11.1 4.9-10.8s2.5 5.5 1.6 11.8c-.9 6.2-3.1 11.1-4.9 10.8s-2.5-5.5-1.6-11.8zm10.6-12.8c1.8-.1 3.6 4.7 3.9 10.8s-.9 11.1-2.7 11.2c-1.8.1-3.6-4.7-3.9-10.8-.3-6.1.9-11.1 2.7-11.2zm10.5-70c2.1-.8 6.1 4.2 8.8 11.2 2.8 7 3.3 13.4 1.2 14.2-2.1.8-6.1-4.2-8.8-11.2-2.8-7-3.3-13.4-1.2-14.2zm6.5-14.1c7-2.8 13.4-3.3 14.2-1.2.8 2.1-4.2 6.1-11.2 8.8-7 2.8-13.4 3.3-14.2 1.2-.9-2.1 4.2-6 11.2-8.8zm141.6-20.2c3.7-1.5 8.6 2.2 11 8.2 2.4 6 1.4 12.1-2.3 13.5-3.7 1.5-8.6-2.2-11-8.2-2.4-6-1.3-12.1 2.3-13.5zm14.2 106.5c1.8-.3 4 4.6 4.9 10.8.9 6.2.2 11.5-1.6 11.8-1.8.3-4-4.6-4.9-10.8-1-6.3-.2-11.5 1.6-11.8zm-9.6 8.8c.3-6.1 2.1-10.9 3.9-10.8 1.8.1 3 5.1 2.7 11.2-.3 6.1-2.1 10.9-3.9 10.8-1.8-.1-3-5.1-2.7-11.2zm-15.5-69.7c2.8-7 6.7-12.1 8.8-11.2 2.1.8 1.6 7.2-1.2 14.2-2.8 7-6.7 12.1-8.8 11.2s-1.6-7.2 1.2
1-14.2zm-11.8-26.5c.8-2.1 7.2-1.6 14.2 1.2 7 2.8 12.1 6.7 11.2 8.8-.8 2.1-7.2 1.6-14.2-1.2-7-2.7-12.1-6.7-11.2-8.8z",fill:"#EADFD5"}),Xt.createElement("path",{fill:"#B0C6CC",d:"M373.3 130.3 356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},AD:function(e){var t=e.title,n=GTe(e,Qwe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z"}),Xt.createElement("path",{d:"M267.6 113.6v64.7m16.6-64.7v64.7m16.6-64.7v64.7",stroke:"#D80027",strokeWidth:7}),Xt.createElement("path",{d:"M247.4 178.4v64.7m-13.3-64.7v64.7m-13.3-64.6v53.9m-13.7-53.9v47.1",stroke:"#D80027",strokeWidth:5}),Xt.createElement("path",{fill:"#FFDA44",d:"m199.9 146 27.6-32.4 28.5 32.3-28.1 32.4z"}),Xt.createElement("path",{fill:"#BC8B00",d:"M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z"}),Xt.createElement("path",{fill:"#D80027",d:"M264.4 188.9h29.5v8.6h-29.5zm0 17.6h29.5v8.6h-29.5z"}))},AE:function(e){var t=e.title,n=GTe(e,Xwe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#009e49",d:"M0 0h513v114H0z"}),Xt.createElement("path",{d:"M0 228h513v114H0z"}),Xt.createElement("path",{fill:"#ce1126",d:"M0 0h171v342H0z"}))},AF:function(e){var t=e.title,n=GTe(e,Jwe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#DB3E00",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#479900",d:"M331 0h182v342H331z"}),Xt.createElement("path",{d:"M0 0h181.8v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z"}),Xt.createElement("path",{fill:"#FFF",d:"M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z"}))},AG:function(e){var t=e.title,n=GTe(e,eEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#0072c6",d:"M88.8 136.5c-2.2 12.9-3.4 26.2-3.4 39.8 0 13.6 1.2 27 3.4 39.8L256 228.3l167.2-12.1c2.2-12.9 3.4-26.2 3.4-39.8s-1.2-27-3.4-39.8"}),Xt.createElement("path",{fill:"#FFF",d:"M423.2 219H88.8c15.8 69.8 84.7 122.3 167.2 122.3S407.4 288.8 423.2 219z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M365.9 136.5H146.1l44.9-21.1-23.9-43.5 48.8 9.4L222 32l34 36.2L290 32l6.1 49.3 48.8-9.4-23.9 43.5z"}),Xt.createElement("g",{fill:"#ce1126"},Xt.createElement("path",{d:"M256.5 342 0 0v342z"}),Xt.createElement("path",{d:"M513 342V0L256 342z"})))},AI:function(e){var t=e.title,n=GTe(e,tEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M454.8 265.38c7.94-10.93 13.24-24.27 13.24-40.42V104.89a59.754 59.754 0 0 1-36.02 12.01c-19.64 0-37.07-9.43-48.03-24.01-10.95 14.58-28.39 24.01-48.03 24.01-13.52 0-25.99-4.47-36.02-12v120.06c0 16.16 5.3 29.5 13.24 40.42H454.8z"}),Xt.createElement("path",{fill:"#9cf",d:"M310.23 260.98C332.65 296.96 384 309 384 309s51.35-12.04 73.77-48.02H310.23z"}),Xt.createElement("g",{fill:"#f90"},Xt.createElement("path",{d:"M396.66 172.21c.32 1.42 8.72 10.17 17.56 20.15 1.39 1.57-8.74 12.63-6.91 12.59 4.75-.12 19.27-17.26 19.34 6.65.05 15.94-30 27.51-30 27.51h17.47l.65 14.96s4.97-13.34 7.59-16.57c8.1-9.97 20.18-30.07 34.59-27.1 14.41 2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3-1.68-.65-3.88-2.32-3.36 0z"}),Xt.createElement("path",{d:"M359.69 198.69c1.07-.99 4.46-12.63 8.69-25.28.67-1.99 15.31 1.27 14.35-.3-2.47-4.06-24.58-8.08-3.9-20.08 13.79-8 38.82 12.27 38.82 12.27l-8.72-15.14 12.64-8.03s-14.05 2.35-18.14 1.69c-12.68
1-2.04-36.13-2.48-40.75-16.45-4.62-13.97-5.25 18.79-5.25 18.79s-10.56 12.08-6.4 22.88c3.66 9.5 4.96 13.64 6.97 26.73.29 1.79-.06 4.53 1.69 2.92z"}),Xt.createElement("path",{d:"M395.67 219.87c-1.39-.43-13.16 2.49-26.22 5.18-2.06.42-6.59-13.88-7.47-12.26-2.27 4.17 5.36 25.31-15.41 13.45-13.84-7.91-8.89-39.73-8.89-39.73l-8.71 15.14-13.29-6.9s9.09 10.96 10.57 14.84c4.6 11.99 16 32.49 6.24 43.49-9.76 11.01 18.88-4.9 18.88-4.9s15.76 3.07 23-5.96c6.38-7.94 9.3-11.14 19.61-19.45 1.43-1.12 3.97-2.19 1.69-2.9z"})),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},AL:function(e){var t=e.title,n=GTe(e,nEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 60"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#ED2024",d:"M0 0h90v60H0z"}),Xt.createElement("path",{fill:"#212121",d:"M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z"}),Xt.createElement("path",{d:"M26.2 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM57.4 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM53.4 36.1h6.4V38h-6.4zm-23.2 0h6.4V38h-6.4z",fill:"#212121"}))},AM:function(e){var t=e.title,n=GTe(e,rEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#FF9811",d:"M0 228h513v114H0z"}))},AO:function(e){var t=e.title,n=GTe(e,iEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 171h513v171H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v171H0z"}),Xt.createElement("g",{fill:"#FFDA44"},Xt.createElement("path",{d:"m332.7 135.6 17.5-8.6-7.4-19-18.7 6.2zm-45.6-56 5.5-18.8-19.1-7.2-8 18zm29.4 23.2 12.2-15.3-14.9-13.9-14.2 13.6zm19.4 68.9 19.5-.8v-21.3l-22.9.2zm-12.6 38.1 18.8 5.5 7.3-19-18-8zm-29 32.4 14.9 12.7 14.4-14.4-13.1-14.7zm-47-147.7 9.8 19.9 21.9 3.3-15.9 15.5 3.6 21.9-19.6-10.4-19.7 10.2 3.8-21.9-15.8-15.5 22-3.1z"}),Xt.createElement("path",{d:"m250.8 61.3-2.7 18.3c43.1 3.2 77 39.2 77 83.1 0 46-37.3 82.9-83.4 83.4-29.2.3-51.3-14.8-67-33.7l-13.9 12.3c15 19 40.8 39.9 80.9 39.9 56.3 0 101.9-45.6 101.9-101.9.1-53.2-40.7-96.9-92.8-101.4z"}),Xt.createElement("path",{fill:"#000",d:"m291.9 223.4-11.8 14s51.9 38.9 53.6 40.4c1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-2-1.5-51.8-42-51.8-42z"}),Xt.createElement("path",{d:"M206.1 157.2c-7.7 10.3-7.5 23.1 2.8 30.9 0 0 135.2 101.5 136.9 103 1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-1.9-1.5-149.7-121.5-149.7-121.5zm47.7 99.1 7.3 18.2 19.5-6-4.8-19.1zm-40.4-3.7-2 19.5 20.1 3.6 4.5-19.1zm-35.7-21.2L167.4 248l16.4 12.1 12.5-15.2z"})))},AQ:function(e){var t=e.title,n=GTe(e,oEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 744 496"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#3A7DCE",d:"M0 0h744v496H0V0z"}),Xt.createElement("path",{fill:"#fff",d:"m120 125 90 63 54-14 23-81 61-36 92 14 105 55 6 90 34 12v92l-65 115-78 24-72-17 18-30-8-32-10 9-162-25-49-85 20-4
16-49-62z"}))},AR:function(e){var t=e.title,n=GTe(e,aEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),Xt.createElement("path",{fill:"#338AF3",d:"M0 0h512v114H0zm0 228h512v114H0z"}),Xt.createElement("circle",{fill:"#FFDA44",stroke:"#d6ab00",strokeWidth:5,cx:256.5,cy:171,r:40}))},AS:function(e){var t=e.title,n=GTe(e,sEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#10338c",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M513 33 95.3 171 513 310.76V342L0 171 513 0z"}),Xt.createElement("path",{fill:"#FFF",d:"M513 287.18v24.58L81.72 171 513 30v24.16"}),Xt.createElement("path",{fill:"#A2001D",d:"m476.98 140.21-21.89 10.68-3.18-15.32 31.19-29.77s-9.42-40.65-13.75-44.98l-112.32 55.82-6.84 36.76-31.9 28.59-.4 34.2 34.29-22.76 67.23-2.66-1.51 38.11h22.23l11.9-44.64 31.55-24.61-6.6-19.42z"}),Xt.createElement("path",{fill:"#EFC100",stroke:"#231F20",strokeMiterlimit:10,d:"m317.89 238.41-22.24-11.11 22.24-11.11h144.46v22.22z"}))},AT:function(e){var t=e.title,n=GTe(e,lEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0zm0 228h513v114H0z"}))},AU:function(e){var t=e.title,n=GTe(e,cEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#00008b",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"m188 212.6 11 22.9 24.7-5.7-11 22.8 19.9 15.8-24.8 5.6.1 25.4-19.9-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zm197.9 28.5 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zm-48.6-116 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9L332 136zm48.6-66.2 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zm42.5 49.7 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.4-7.6-9.5 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM398 166.5l4.1 12.7h13.3l-10.8 7.8 4.2 12.7-10.8-7.9-10.8 7.9 4.1-12.7-10.7-7.8h13.3z",fill:"#FFF"}),Xt.createElement("path",{fill:"#00008b",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"red"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},AW:function(e){var t=e.title,n=GTe(e,uEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 363 242"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#338AF3",d:"M0 0h363v242H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M57 96.9 14.7 78.2 57 59.6l18.6-42.2 18.6 42.2 42.3 18.6-42.3 18.7-18.6 42.2z"}),Xt.createElement("path",{fill:"#f30028",d:"m75.6 40.6 11.5 26.1 26.1 11.5-26.1 11.5-11.5 26.1-11.5-26.1L38 78.2l26.1-11.5z"}),Xt.createElement("path",{d:"M0 152.2h363v15.7H0zm0 31.4h363v15.7H0z",fill:"#FFDA44"}))},AX:function(e){var t=e.title,n=GTe(e,dEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M513 210.9H202.2V342h-79.8V210.9H0v-79.8h122.4V0h79.8v131.1H513v61.2z"}),Xt.createElement("path",{fill:"#D80027",d:"M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z"}))},AZ:function(e){var t=e.title,n=GTe(e,hEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#ef3340",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#00b5e2",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#509e2f",d:"M0 228h513v114H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M265.6 212.6c-23 0-41.6-18.6-41.6-41.6s18.6-41.6 41.6-41.6c7.2 0 13.9 1.8 19.8 5-9.2-9-21.9-14.6-35.8-14.6-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2c13.9 0 26.6-5.6 35.8-14.6-5.9 3.2-12.6 5-19.8 5z"}),Xt.createElement("path",{d:"m297.6 142.2 5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z"})))},BA:function(e){var t=e.title,n=GTe(e,fEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#10338C",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#F6C500",d:"M99.9 0h342v342"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M19.9 21.1 40.3 6.2 60.9 21 54 0H26.7z"}),Xt.createElement("path",{d:"M92.3 25.5 84.4 1.3l-7.8 24.2H51.3l20.5 14.8-7.8 24 20.4-14.8L105 64.3l-7.9-24 20.5-14.9z"}),Xt.createElement("path",{d:"m136.3 69.2-7.8-24-7.8 24H95.5l20.4 14.9-7.8 24 20.4-14.8 20.6 14.8-7.8-24 20.4-14.9z"}),Xt.createElement("path",{d:"m179.4 112.3-7.8-24.1-7.8 24.1h-25.3l20.5 14.9-7.8 24 20.4-14.8 20.6 14.8-7.9-24 20.5-1
15z"}),Xt.createElement("path",{d:"m222.5 155.3-7.8-24-7.8 24h-25.4l20.6 15-7.8 24 20.4-14.9 20.4 14.9-7.8-24 20.6-15z"}),Xt.createElement("path",{d:"m265.6 198.4-7.8-24-7.8 24h-25.4l20.6 14.9-7.8 24.1 20.4-14.9 20.4 14.9-7.8-24.2 20.5-14.8z"}),Xt.createElement("path",{d:"m308.7 241.5-7.9-24-7.8 24h-25.3l20.5 14.8-7.9 24.2 20.6-14.9 20.4 14.8-7.8-24.1 20.5-14.8z"}),Xt.createElement("path",{d:"m351.7 284.6-7.8-24.2-7.8 24.2h-25.3l20.4 14.8-7.8 24.1 20.5-14.9 20.5 14.9-7.8-24.1 20.4-14.8z"}),Xt.createElement("path",{d:"m387 303.5-7.9 24.1-25.3.1 19.8 14.3h26.6l19.9-14.4h-25.3z"})))},BB:function(e){var t=e.title,n=GTe(e,pEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#ffc726",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#00267f"}),Xt.createElement("path",{d:"m325.74 101.02-31.97 12.4c-.68 1.35-5.79 7.54-8.18 53.06h-17.05v-60.42L256 78.68l-12.54 27v60.8H226.4c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c.15.31 15.4 31.34 15.4 78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54c0-24.13 4.17-44.02 7.68-56.46 3.82-13.57 7.7-21.49 7.74-21.57l-.03.03z"}))},BD:function(e){var t=e.title,n=GTe(e,mEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#2d6e41",d:"M0 85.331h513v342H0z"}),Xt.createElement("circle",{fill:"#F40B32",cx:218.902,cy:256.5,r:115}))},BE:function(e){var t=e.title,n=GTe(e,gEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#fdda25",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#ef3340",d:"M342 0h171v342H342z"}))},BF:function(e){var t=e.title,n=GTe(e,vEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#3d944f",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#ef2b2d",d:"M0 0h513v171H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"m256 102.6 16.9 52h54.7l-44.2 32.2 16.8 52-44.2-32.1-44.2 32.1 16.8-52-44.2-32.2h54.7z"}))},BG:function(e){var t=e.title,n=GTe(e,yEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#00966e",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#d62612",d:"M0 228h513v114H0z"}))},BH:function(e){var t=e.title,n=GTe(e,bEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"m222.8 34.3-85.2 34.2 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.8H0V0h137.6z"}))},BI:function(e){var t=e.title,n=GTe(e,CEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M215.9 170.7 0 314.6V26.8zM513 26.8v287.8L297.1 170.7z",fill:"#47a644"}),Xt.createElement("path",{fill:"#0052B4",d:"M513 26.8 296.1 170.7 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"}),Xt.createElement("path",{fill:"#FFF",d:"M513 26.8 297.1 170.7 513 314.6V342h-40L256 197.4 39 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"}),Xt.createElement("circle",{fill:"#FFF",cx:251.6,cy:170.7,r:100.2}),Xt.createElement("path",{d:"m251.4 103.6 7.4 12.9h14.8l-7.4 12.8 7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8H244zm38.8 66.7 7.4 12.9h14.8L305 196l7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.9l7.4-12.8-7.4-12.8h14.9zm-77.2 0 7.4 12.9h14.9l-7.4 12.8 7.4 12.8h-14.9l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8h14.8z",fill:"#D80027",stroke:"#47a644",strokeWidth:3}))},BJ:function(e){var t=e.title,n=GTe(e,wEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#008751",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#fcd116",d:"M197 0h316v171H197z"}),Xt.createElement("path",{fill:"#e8112d",d:"M197 171h316v171H197z"}))},BL:function(e){var t=e.title,n=GTe(e,EEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M157.3 199.8s-9 43.9-19.3 40.4c-10.6-3.5-17.5-18.8-17.5-18.8L106 242.6s38.2 8.5 41 5.5c1.2-1.1 8.2-15.1 10.3-26.1v-22.2zm-56.1 60.5s-2.5 20.2-1.1 22.7c1.2 2.3 39.5 11.3 39.5 11.3s-25 16.5-29.7 20.5l-18.1-29.9-.7-24.6h10.1zm11.3-165.7s39.7 41.6 40.4 45.5c.7 3.7-4.2 3.2-4.2 3.2s-44.8-37.5-49.9-41.1c-5.4-3.5 13.7-7.6 13.7-7.6zm246.7 106.7s9 42.4 19.2 38.9c10.6-3.5 17.5-18.8 17.5-18.8l14.5 21.2s-37 8.5-39.8 5.5c-1.2-1.1-9.3-13.8-11.5-24.7l.1-22.1zm56 59s2.5 20.2 1.1 22.7c-1.2 2.3-39.5 11.3-39.5 11.3s25 16.5 29.7 20.5l18.1-29.9.7-24.6h-10.1zM403.9 94.6s-39.6 41.6-40.4 45.5c-.7 3.7 4.2 3.2 4.2 3.2s44.8-37.5 49.9-41.1c5.2-3.5-13.7-7.6-13.7-7.6z",fill:"#E6BC00"}),Xt.createElement("path",{d:"M99.4 104.7s17-.7 16.6-11.5c-.4-10.6-11.2-14.9-19.1-12.4-8 2.3-23 13.4-13.6 35.1 9.4 21.4 23.4 29.4 26.2 47.8 0 0-5.5 9.9-19.1.4-16.9-11.8-6.2-38.2-10.4-45-4.2-7.1-41-38.9-41-38.9s-30.2 39.4-18 74.9c17 49.2 51.7 32 64.6 36.8 0 0-42.1 62-49.6 67.1 0 0 24.1 8.3 47.8-18.8 0 0 5.8 9.7 7.1 20.2h10.3c4.8-26.2 51.5-64.3 49.9-82.3-1.8-21.3-49.2-49.5-51.7-73.4zM365.1 178c-1.6 18.1 45.1 56.1 49.9 82.3h10.3c1.2-10.4 7.1-20.2 7.1-20.2 23.7 27.1 47.8 18.8 47.8 18.8-7.4-5.1-49.6-67.1-49.6-67.1 12.9-4.8 47.7 12.4 64.6-36.8 12.2-35.6-18-74.9-18-74.9s-36.7 31.8-41 38.9c-4.2
16.7 6.5 33.2-10.4 45-13.7 9.5-19.1-.4-19.1-.4 2.8-18.4 16.8-26.4 26.2-47.8 9.4-21.6-5.7-32.8-13.6-35.1-8-2.5-18.8 1.8-19.1 12.4-.4 10.8 16.6 11.5 16.6 11.5-2.5 24-49.9 52.2-51.7 73.4z",fill:"#ADADAD"}),Xt.createElement("path",{fill:"#125ECC",d:"M157.3 87.1h201.8v145.5c0 16.1-9.7 21.4-21.9 31.8l-45.9 39.4c-18.2 15.6-47.9 15.6-66.1 0l-46-39.4c-12.1-10.4-21.9-15.7-21.9-31.8V87.1z"}),Xt.createElement("path",{fill:"#FFE600",d:"M200.6 147.7c-8 0-14.4-6.4-14.4-14.4s6.4-14.4 14.4-14.4 14.4 6.4 14.4 14.4-6.5 14.4-14.4 14.4zm57.6-3c-8 0-14.4-6.4-14.4-14.4s6.4-14.4 14.4-14.4 14.4 6.4 14.4 14.4-6.4 14.4-14.4 14.4zm57.7 3c-8 0-14.4-6.4-14.4-14.4s6.5-14.4 14.4-14.4 14.4 6.4 14.4 14.4-6.5 14.4-14.4 14.4zM215 274.4c-8 0-14.4-6.5-14.4-14.4 0-8 6.4-14.4 14.4-14.4s14.4 6.4 14.4 14.4-6.5 14.4-14.4 14.4zm43.2 14.5c-8 0-14.4-6.5-14.4-14.4s6.4-14.4 14.4-14.4 14.4 6.5 14.4 14.4-6.4 14.4-14.4 14.4zm43.2-14.5c-8 0-14.4-6.5-14.4-14.4 0-8 6.5-14.4 14.4-14.4s14.4 6.4 14.4 14.4c.1 8-6.4 14.4-14.4 14.4z"}),Xt.createElement("path",{fill:"#D60537",d:"M157.3 175.4h201.8V233H157.3v-57.6z"}),Xt.createElement("path",{fill:"#EACE00",d:"M142.9 43.8s57.6-14.4 115.3-14.4 115.3 14.4 115.3 14.4l-14.4 57.7s-50.5-14.4-100.9-14.4-100.9 14.4-100.9 14.4l-14.4-57.7z"}),Xt.createElement("path",{fill:"#7A6920",d:"M258.2 72.7c-8 0-14.4-6.4-14.4-14.4s6.4-14.4 14.4-14.4 14.4 6.5 14.4 14.4-6.4 14.4-14.4 14.4zm57.7 5c-8 0-14.4-6.4-14.4-14.4s6.5-14.4 14.4-14.4 14.4 6.5 14.4 14.4-6.5 14.4-14.4 14.4zm-115.3 0c-8 0-14.4-6.4-14.4-14.4s6.4-14.4 14.4-14.4S215 55.3 215 63.2s-6.5 14.5-14.4 14.5z"}),Xt.createElement("circle",{fill:"#FFF",cx:258.2,cy:204.2,r:16.9}))},BM:function(e){var t=e.title,n=GTe(e,kEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#c8102e",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#fff",stroke:"#000",strokeWidth:2,d:"M303.9 94.94v99.69c0 59.81 79.75 99.69 79.75 99.69s79.75-39.88 79.75-99.69V94.94H303.9z"}),Xt.createElement("path",{fill:"#2F8F22",d:"M436.37 254.44H330.93c23.13 25.08 52.72 39.88 52.72 39.88s29.59-14.8 52.72-39.88z"}),Xt.createElement("circle",{fill:"#65B5D2",cx:383.65,cy:214.56,r:39.88}),Xt.createElement("circle",{fill:"#c8102e",cx:343.77,cy:194.63,r:19.94}),Xt.createElement("circle",{fill:"#c8102e",cx:423.52,cy:194.63,r:19.94}),Xt.createElement("circle",{fill:"#c8102e",cx:383.65,cy:154.75,r:19.94}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#c8102e"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},BN:function(e){var t=e.title,n=GTe(e,SEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"m0 193.74 513 127.19V214.26L0 97.08z"}),Xt.createElement("path",{fill:"#FFF",d:"M513 234.26v-86.67L0 20.41v86.67"}),Xt.createElement("g",{fill:"#D80027",stroke:"#231F20",strokeWidth:3,strokeMiterlimit:10},Xt.createElement("path",{d:"M306.4 134.01a50.28 50.28 0 0 1 6.07 24.02c0 21.55-13.51 39.94-32.52 47.19v-59.51c5.7-1.19 10-6.37 10-12.59 6.9 0 12.5-5.75 12.5-12.85h-.42c6.9 0 12.91-5.75 12.91-12.85h-34.99V76.58l-14.99-27.71-15 27.71v30.84h-34.99c0 7.1 6.01 12.85 12.91 12.85h-.42c0 7.1 5.6 12.85 12.5 12.85 0 6.22 4.29 11.4 9.99 12.59v61.37c-22.09-5.39-38.48-25.3-38.48-49.05 0-8.7 2.2-16.88 6.07-24.02-10.96 11.21-17.72 26.53-17.72 43.44 0 34.32 27.82 62.15 62.15 62.15s62.15-27.83 62.15-62.15c0-16.91-6.77-32.24-17.72-43.44z"}),Xt.createElement("path",{d:"M198.46 226.81s20.69 27.71 66.5 27.71 66.5-27.71 66.5-27.71l13.47 28.37s-21.03 27.71-79.97 27.71-79.97-27.71-79.97-27.71l13.47-28.37zm-69.22-93.63h20.88l24.93 27.26v73.45h-26.28v-68.37zm270.76 0h-20.88l-24.93 27.26v73.45h26.27v-68.37z"})))},BO:function(e){var t=e.title,n=GTe(e,xEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#d52b1e",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#f9e300",d:"M0 114h513v114H0z"}),Xt.createElement("path",{fill:"#007934",d:"M0 228h513v114H0z"}))},BQ_BO:function(e){var t=e.title,n=GTe(e,TEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#012a87",d:"M0 342h513V0z"}),Xt.createElement("path",{fill:"#f9d90f",d:"M250.4 0H0v166.9z"}),Xt.createElement("path",{fill:"#dc171d",d:"m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"}),Xt.createElement("circle",{fill:"none",stroke:"#000",strokeWidth:9,strokeMiterlimit:10,cx:140.4,cy:160.6,r:57.7}))},BQ_SA:function(e){var t=e.title,n=GTe(e,MEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#DC171D",d:"M512 342H0V.7h512V342z"}),Xt.createElement("path",{fill:"#012A87",d:"M512 342H0V171.3h512V342z"}),Xt.createElement("path",{fill:"#FFF",d:"M256 342 0 171.3 256 .7l256 170.7L256 342z"}),Xt.createElement("path",{fill:"#F9D90F",d:"m199.2 249.5 21.7-66.8-56.8-41.2h70.5L256 74.7l21.7 66.8h70.2l-56.8 41.2 21.7 66.8-56.8-41.3z"}))},BQ_SE:function(e){var t=e.title,n=GTe(e,AEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",width:900,height:600},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 0h900v600H0z",f
1ill:"#dc171d"}),Xt.createElement("path",{d:"M450 168.787 215.691 300 450 431.213 684.309 300z",fill:"#fff"}),Xt.createElement("path",{d:"M281.477 336.852V376h69.961l290.727-52.4V376h-93.668z",fill:"#dc171f"}),Xt.createElement("path",{d:"M188 288H20V20h418v128zm524 0h168V20H462v128zm-524 24H20v268h418V452zm524 0h168v268H462V452z",fill:"#012a87"}),Xt.createElement("path",{d:"m450 199.5 8.068 24.827h26.105l-21.12 15.346 8.067 24.827L450 249.157 428.88 264.5l8.066-24.827-21.119-15.345 26.105-.001z",fill:"#f9d90f"}),Xt.createElement("path",{d:"M281.477 336.852c2.712-8.848 8.614-12.77 16.594-10.995 4.94-18.73 27.739-22.07 36.786-12.857l22.273 22.37c4.837 2.251 12.207 3.095 17.326 3.095 6.33.1 5.621 3.005 10.91 3.106 14.096.27 51.143.458 57.857 0 2.75-.187 64.134-67.857 64.134-67.857 5.12-6.31 18.453-8.333 25.714-3.214 6.786 6.429 13.929 7.143 18.929 2.857 4.405-6.547 14.392-7.309 20.714-3.571l69.45 53.815L548.497 376H351.438l-69.96-39.148z",fill:"#008830"}))},BQ:function(e){var t=e.title,n=GTe(e,LEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#012a87",d:"M0 342h513V0z"}),Xt.createElement("path",{fill:"#f9d90f",d:"M250.4 0H0v166.9z"}),Xt.createElement("path",{fill:"#dc171d",d:"m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"}),Xt.createElement("circle",{fill:"none",stroke:"#000",strokeWidth:9,strokeMiterlimit:10,cx:140.4,cy:160.6,r:57.7}))},BR:function(e){var t=e.title,n=GTe(e,PEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#009b3a",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#fedf00",d:"m256.5 19.3 204.9 151.4L256.5 322 50.6 170.7z"}),Xt.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:80.4}),Xt.createElement("path",{fill:"#002776",d:"M215.9 165.7c-13.9 0-27.4 2.1-40.1 6 .6 43.9 36.3 79.3 80.3 79.3 27.2 0 51.3-13.6 65.8-34.3-24.9-31-63.2-51-106-51zm119 20.3c.9-5 1.5-10.1 1.5-15.4 0-44.4-36-80.4-80.4-80.4-33.1 0-61.5 20.1-73.9 48.6 10.9-2.2 22.1-3.4 33.6-3.4 46.8.1 89 19.5 119.2 50.6z"}))},BS:function(e){var t=e.title,n=GTe(e,REe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#ffc72c",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#00778b"}),Xt.createElement("path",{d:"M256 171 0 342V0z"}))},BT:function(e){var t=e.title,n=GTe(e,OEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FF7415",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M513 0H0v342"}),Xt.createElement("path",{fill:"none",stroke:"#FFF",strokeWidth:42,strokeMiterlimit:10,d:"M128.7 255.5s35 54 67.3 32.4c56.9-37.9-68.9-108.6-2.9-152.6 58.3-38.8 76.6 103.5 137.6 62.8 59-39.3-64.7-111.4-9.2-148.4 33.4-22.2 67.1 32.6 67.1 32.6"}))},BV:function(e){var t=e.title,n=GTe(e,DEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#EF2B2D",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",className:"prefix__st1",d:"M139.9 0h93.3v342h-93.3z"}),Xt.createElement("path",{fill:"#FFF",className:"prefix__st1",d:"M0 119h513v104.1H0z"}),Xt.createElement("path",{fill:"#002868",d:"M163.2 0h46.6v342h-46.6z"}),Xt.createElement("path",{fill:"#002868",d:"M0 145h513v52H0z"}))},BW:function(e){var t=e.title,n=GTe(e,IEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 238h513v104H0zM0 0h513v104H0z",fill:"#6da9d2"}),Xt.createElement("path",{d:"M0 125.5h513v89.656H0z"}))},BY:function(e){var t=e.title,n=GTe(e,_Ee);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#007C30",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#CE1720",d:"M0 230h513V0H0"}),Xt.createElement("path",{fill:"#FFF",d:"M100 230V0H0v342h513-413z"}),Xt.createElement("path",{d:"M28 159.6 8.6 128.2 28 97.4l19.3 30.8zm44.6 0-19.3-31.4 19.3-30.8L92 128.2zM28 241.2 8.6 209.8 28 179l19.3 30.8zm44.6 0-19.3-31.4L72.6 179 92 209.8z",fill:"#CE1720"}),Xt.createElement("path",{d:"m28 73.8-16.1-26L28 22.2l16 25.6zm44.6 0-16-26 16-25.6 16.1 25.6zM28 318l-16.1-26.1L28 266.3l16 25.6zm44.6 0-16-26.1 16-25.6 16.1 25.6z",fill:"none",stroke:"#CE1720",strokeWidth:7}))},BZ:function(e){var t=e.title,n=GTe(e,FEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#003e87",d:"M0 0h513v342H0z"}
1),Xt.createElement("circle",{fill:"#FFF",cx:260.9,cy:170.9,r:118.9}),Xt.createElement("circle",{fill:"none",stroke:"#6DA544",strokeWidth:18,strokeMiterlimit:10,cx:261.9,cy:173.1,r:94.5}),Xt.createElement("g",{stroke:"#000"},Xt.createElement("path",{fill:"#003e87",d:"m261.9 151.5-50.6 23.4v20c0 11.8 6.1 22.8 16.2 28.9L262 239l34.5-15.2c10-6.2 16.2-17.1 16.2-28.9v-20l-50.8-23.4z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M211.3 128.1h101.3v46.7H211.3z"})),Xt.createElement("path",{d:"M0 0h513v35H0zm0 306h513v35H0z",fill:"#ce1127"}))},CA:function(e){var t=e.title,n=GTe(e,$Ee);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h142v342H0zm371 0h142v342H371zm-64.5 206 50.4-25.2-25.2-12.6V143l-50.4 25.2 25.2-50.4h-25.2L256.1 80l-25.2 37.8h-25.2l25.2 50.4-50.4-25.2v25.2l-25.2 12.6 50.4 25.2-12.6 25.2h50.4V269h25.2v-37.8h50.4z",fill:"red"}))},CC:function(e){var t=e.title,n=GTe(e,NEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"green",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"m422.7 252.4 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.2V301l-11.1-8.9-11.1 8.9v-14.2l-13.8-3.2 11.1-8.8-6.2-12.8 13.9 3.2zm-46.6-136.3 6.2 12.9 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.1v14.3l-11.1-8.9-11.1 8.9.1-14.3-13.9-3.1 11.1-8.8-6.2-12.8L370 129zm37-77.8 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.9-13.9 3.1v14.2L413.1 78 402 86.9l.1-14.2-13.9-3.1 11.1-8.9-6.2-12.8 13.9 3.2zm51.8 58.4 6.2 12.8 13.9-3.2-6.3 12.8 11.2 8.9-13.9 3.1.1 14.2-11.2-8.9-11.1 8.9.1-14.2L440 128l11.2-8.9-6.3-12.8 13.9 3.2zm-28 68.1 4.9 14.8h15.6l-12.6 9.2 4.8 14.9-12.7-9.2-12.6 9.2 4.8-14.9-12.6-9.2h15.6zM306.8 254.7c-49.2 0-89.1-39.9-89.1-89.1s39.9-89.1 89.1-89.1c15.3 0 29.8 3.9 42.4 10.7C329.4 67.9 302.3 56 272.5 56c-60.5 0-109.6 49.1-109.6 109.6S212 275.3 272.5 275.3c29.8 0 56.9-11.9 76.6-31.3-12.6 6.8-27 10.7-42.3 10.7zM140.4 59.5C129.7 41 109.7 28.6 86.8 28.6S44 41 33.3 59.5h107.1zm.2.4-53.8 53.8-53.7-53.8C28 68.9 25 79.3 25 90.5c0 34.2 27.7 61.9 61.9 61.9s61.9-27.7 61.9-61.9c-.1-11.2-3.1-21.6-8.2-30.6z",fill:"#FFDA44"}),Xt.createElement("path",{fill:"#A2001D",d:"M71.4 98.2v52.2c4.9 1.3 10.1 1.9 15.5 1.9s10.5-.7 15.5-1.9V98.2h-31z"}))},CD:function(e){var t=e.title,n=GTe(e,BEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M513 66.9V0H411.7L0 274.4V342h100.3z"}),Xt.createElement("path",{fill:"#D80027",d:"M513 0v40.1L60.2 342H0v-40.8L451.8 0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"m93.6 31.2 16.3 50.4H163l-42.9 31.2 16.4 50.5-42.9-31.2-43 31.2L67 112.8 24.1 81.6h53.1z"}))},CF:function(e){var t=e.title,n=GTe(e,jEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#d21034",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 171h211.5v85.3H0zm300.5 0H512v85.3H300.5z",fill:"#3a9927"}),Xt.createElement("path",{fill:"#003082",d:"M0 0v85.3h211.5V0h89v85.3H513V0z"}),Xt.createElement("path",{d:"M300.5 85.3H512v85.3H300.5zM0 85.3h211.5v85.3H0z",fill:"#FFF"}),Xt.createElement("path",{d:"M300.5 342h-89v-86H0v86h513v-86H300.5zM105.7 8.6l8.6 26.2h27.5L119.5 51l8.6 26.2L105.7 61 83.4 77.2 91.9 51 69.6 34.8h27.6z",fill:"#ffce00"}))},CG:function(e){var t=e.title,n=GTe(e,zEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#009739",d:"M0 0h900v600H0z"}),Xt.createElement("path",{d:"M0 600 600 0h300v600z",fill:"#ffd100"}),Xt.createElement("path",{d:"M900 0v600H300z",fill:"#dc241f"}))},CH:function(e){var t=e.title,n=GTe(e,VEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 768 512"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"red",d:"M0 0h768v512H0V0z"}),Xt.createElement("path",{fill:"#FFF",d:"M336 96h96v112h112v96H432v112h-96V304H224v-96h112V96z"}))},CI:function(e){var t=e.title,n=GTe(e,HEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#009e60",d:"M342 0h171v342H342z"}),Xt.createElement("path",{fill:"#f77f00",d:"M0 0h171v342H0z"}))},CK:function(e){var t=e.title,n=GTe(e,UEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"m384 71.4 5.3 16.2h17.1l-13.9 10.1 5.3 16.2-13.8-10-13.8 10 5.3-16.2-13.9-10.1h17.1zm-70.2 29.1 15.2 7.7 12.1-12.1-2.7 16.9 15.3 7.8-16.9 2.6-2.7 16.9-7.8-15.2-16.8 2.7 12.1-12.1zm-29.1 70.2 16.3-5.3v-17.1l10 13.8 16.3-5.3-10.1 13.9 10.1 13.8-16.3-5.3-10 13.8v-17.1zm29.1 70.2 7.7-15.3-12-12 16.8 2.6 7.8-15.2 2.7 16.9 16.9 2.7-15.3 7.7 2.7 16.9-12.1-12.1zM384 270l-5.3-16.3h-17.1l13.9-10-5.3-16.3 13.8 10 13.8-10-5.3 16.3 13.9 10h-17.1zm70.2-29.1-15.2-7.8-12.1 12.1 2.7-16.9-15.3-7.7 16.9-2.7 2.7-16.9 7.8 15.2 16.8-2.6-12.1 12zm29.1-70.2-16.3 5.2V193l-10-13.8-16.3 5.3 10.1-13.8-10.1-13.9 16.3 5.3 10-13.8v17.1zm-29.1-70.2-7.7 15.2 12 12.1-16.8-2.7-7.8 15.2-2.7-16.9-16.9-2.6 15.3-7.8-2.7-16.9 12.1 12.1z",fill:"#FFF"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},CL:function(e){var t=e.title,n=GTe(e,WEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M196 0h317v171H196z"}),Xt.createElement("path",{fill:"#0037A1",d:"M0 0h196v171H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M98 24.5 113.1 71H162l-39.6 28.7 15.2 46.5L98 117.5l-39.6 28.7 15.2-46.5L34 71h48.9z"}))},CM:function(e){var t=e.title,n=GTe(e,GEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#ce1126",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#007a5e",d:"M0 0h171v342H0z"}),Xt.createElement("path",{d:"M342 0h171v342H342zm-86 102.2 17.2 53H329L283.9 188l17.2 53-45.1-32.7-45.1 32.7 17.2-53-45.1-32.8h55.8z",fill:"#fcd116"}))},CN:function(e){var t=e.title,n=GTe(e,qEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zm-54.4-56.6-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zm56.6 136.4-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z",fill:"#FFDA44"}))},CO:function(e){var t=e.title,n=GTe(e,KEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 256.5h513V342H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 171h513v85.5H0z"}))},CR:function(e){var t=e.title,n=GTe(e,YEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 114h513v114H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 285h513v57H0zM0 0h513v57H0z"}))},CU:function(e){var t=e.title,n=GTe(e,ZEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FF9811",d:"M0-40.8v422.9-211.4z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v68.3H0zm0 136.5h513v68.3H0zm0 136.6h513v68.3H0z",fill:"#0052B4"}),Xt.createElement("path",{fill:"#D80027",d:"M256 170.7 0 342V0z"}),Xt.createElement("path",{fill:"#FFF",d:"m86.5 111.4 12.7 39.2h41.3l-33.4 24.2 12.8 39.3-33.4-24.2-33.4 24.2 12.8-39.3-33.4-24.2h41.2z"}))},CV:function(e){var t=e.title,n=GTe(e,QEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#003893",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#cf2027",d:"M0 182.2h513v41.4H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 140.8h513v41.4H0zm0 82.8h513V265H0z"}),Xt.createElement("path",{d:"m150.4 70 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13.1-17.9 13.1 6.8-21.1-17.9-13.1h22.2zm0 209.7 6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13h22.2zm-97.6-70.9 6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13H46zM90.1 91l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-18-13h22.3zm-66.3 71H46l6.8-21.1 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13-17.9 13 6.8-21.1zm48.4 148.9 6.8-21.1-18-13h22.3l6.8-21.2 6.9 21.2h22.2l-18 13 6.9 21.1-18-13zM248 208.8l-6.9 21.1h-22.2l18 13-6.9 21.2 18-13.1 18 13.1-6.9-21.2 18-13h-22.2zM210.7 91l-6.8 21.1h-22.2l17.9 13-6.8 21.2 17.9-13.1 18 13.1-6.9-21.2 18-13h-22.2zm66.4 71h-22.2l-6.9-21.1-6.9 21.1h-22.2l18 13.1-6.9 21.1 18-13 18 13-6.9-21.1zm-48.4 148.9-6.9-21.1 18-13h-22.2l-6.9-21.2-6.8 21.2h-22.2l17.9 13-6.8 21.1 17.9-13z",fill:"#f7d116",stroke:"#000"}))},CW:function(e){var t=e.title,n=GTe(e,XEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#002b7f",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#f9e814",d:"M0 233.5h513v51H0z"}),Xt.createElement("path",{d:"m168.7 86.5 12.9 39.8h41.8l-33.8 24.5 12.9 39.7-33.8-24.5-33.8 24.5 12.9-39.7-33.8-24.5h41.8zm-83.3-54 7.8 23.9h25L97.9 71.1l7.8 23.8-20.3-14.7-20.3 14.7 7.8-23.8-20.3-14.7h25.1z",fill:"#FFF"}))},CX:function(e){var t=e.title,n=GTe(e,JEe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0021ad",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#1c8a42",d:"M0 0h513v342"}),Xt.createElement("path",{d:"m77.6 272 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9V317l-10.3-8.3-10.2 8.3v-13.2l-12.8-2.9 10.3-8.1-5.8-11.9 12.9 3zm-37.1-98.9 5.7 11.9 12.8-3-5.7 11.8 10.3 8.2-12.9 2.9.1 13.2-10.3-8.3-10.3 8.3.1-13.2-12.9-2.9 10.4-8.2L22 182l12.8 3zm37.1-80.9 5.7 11.8 12.8-2.9-5.7 11.8 10.3 8.2-12.8 2.9v13.1l-10.3-8.2-10.2 8.2V124l-12.8-2.9 10.3-8.2-5.8-11.8L72 104zm46.1 62.9 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9v13.2l-10.3-8.2-10.2 8.2v-13.2l-12.8-2.9 10.3-8.1-5.7-11.9 12.8 3zm-32.9 54 4.4 13.7h14.5L98 231.3l4.5 13.7-11.7-8.4-11.7 8.4 4.5-13.7-11.7-8.5h14.4z",fill:"#FFF"}),Xt.createElement("circle",{fill:"#ffc639",cx:267.1,cy:170.7,r:74.5}),Xt.createElement("path",{fill:"#1c8a42",d:"M267.1 220.3h24.8s10.8-19 0-37.2l24.8-24.8-12.4-24.8h-12.4s-6.2 18.6-31 18.6-31-18.6-31-18.6h-12.4l12.4 24.8-12.4 24.8 12.4 12.4s12.4-24.8 37.2-12.4c0 0 10.5 15.5 0 37.2z"}),Xt.createElement("path",{fill:"#ffc639",d:"M464.4 92.2c.6-2.9-.2-17.6-.2-20.7 0-21.3-13.9-39.4-33.2-45.7 5.9 12 9.2 25.4 9.2 39.7 0 4.8-.4 9.5-1.1 14.1-2.9-4.7-6.6-8.9-11.2-12.6-17.1-13.6-40.6-14-57.9-2.5 13.4 2.9 26.3 8.9 37.7 18 9 7.1 16.2 16.8 21.7 26.1 0 0-17.8 10.9-31 15.1s-42.3 7.9-42.3 7.9c72 12 132-36 132-36-6.5-13.4-15.8-4-23.7-3.4z"}))},CY:function(e){var t=e.title,n=GTe(e,eke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#DB7D00",d:"M141.7 154.7s.2 67.1 74.7 65.3l4.5 13.9h8.9s-7.4-41.1 60.1-41.5c0 0 0-27.6 27.6-27.6H359s-66-51.8 58.9-118l1.8-13.1s-129.9 71-198.9 57.2c0 0 10.7 42.5-10.8 42.5-10.8 0-9.7-8.1-32.3-8.1-18.7 0-17.3 19.7-26.3 19.5-8.9-.2-18.8-12.3-19.6-10.2-.7 2.1 9.9 20.1 9.9 20.1z"}),Xt.createElement("g",{fill:"#006651"},Xt.createElement("path",{d:"M237.2 308.1c6.9-5 13-6.6 22.4-8.3s19.4-4.4 24.6-5.8-17.7 6.6-23.5 8.3c-5.8 1.6-23.5 5.8-23.5 5.8zm37.9-14.7c-1.9-11.9 2.8-24.3 13.5-29.3 2.5 8.6-5.2 23.2-13.5 29.3zm18.2-6.2c-5.8-9.8 4-22.6 11.
11-28.8 3.3 6-2.5 23.7-11.1 28.8zm16.9-7.6c-6.2-8.4 1.1-23.2 8.8-29 3.1 8.2.1 23.2-8.8 29zm16.9-10.6c-5.6-8-1.7-20.4 6.3-28.4 5.8 6.6.9 21-6.3 28.4zm13.5-10.7c-4.7-7.5 1.1-25.4 8.6-30.4 3.3 6.6.8 25.4-8.6 30.4zm10.8-2.8c-1.4-10.8 17.4-22.7 25.2-22.4-.9 8.9-8.9 18.6-25.2 22.4zm-10.5 12.2c8.8-9.1 26-9.1 32.1-7.2-1.7 5.3-21.9 16.9-32.1 7.2z"}),Xt.createElement("path",{d:"M328.7 276.8c12.4-3.3 20.5-6.1 27.9 1.7-5.2 6.6-25.4 4.7-27.9-1.7zm-17.7 8c11.9-6.4 26.3 3 28.5 8.6-13.3 5.5-28.7-7.2-28.5-8.6zm-16.3 9.2c10.8-4.1 23.2 1.4 28.2 7.5-5.8 2.7-21 5.7-28.2-7.5zm-14.9 4.7c12.4-1.4 24.4 8 27 13.4-15.9 1.5-22-3.2-27-13.4zm-4 9.4c-6.9-5-13-6.6-22.4-8.3-9.4-1.7-19.4-4.4-24.6-5.8-5.3-1.4 17.7 6.6 23.5 8.3 5.8 1.6 23.5 5.8 23.5 5.8zm-37.9-14.7c1.9-11.9-2.8-24.3-13.5-29.3-2.5 8.6 5.2 23.2 13.5 29.3zm-18.2-6.2c5.8-9.8-4-22.6-11.1-28.8-3.3 6 2.5 23.7 11.1 28.8zm-16.9-7.6c6.2-8.4-1.1-23.2-8.8-29-3.1 8.2-.1 23.2 8.8 29zM185.9 269c5.6-8 1.7-20.4-6.3-28.4-5.8 6.6-.9 21 6.3 28.4zm-13.5-10.7c4.7-7.5-1.1-25.4-8.6-30.4-3.3 6.6-.8 25.4 8.6 30.4zm-10.8-2.8c1.4-10.8-17.4-22.7-25.2-22.4.9 8.9 8.9 18.6 25.2 22.4zm10.5 12.2c-8.8-9.1-26-9.1-32.1-7.2 1.7 5.3 21.9 16.9 32.1 7.2z"}),Xt.createElement("path",{d:"M184.3 276.8c-12.4-3.3-20.5-6.1-27.9 1.7 5.2 6.6 25.4 4.7 27.9-1.7zm17.7 8c-11.9-6.4-26.3 3-28.5 8.6 13.3 5.5 28.7-7.2 28.5-8.6zm16.3 9.2c-10.8-4.1-23.2 1.4-28.2 7.5 5.8 2.7 21 5.7 28.2-7.5zm14.9 4.7c-12.4-1.4-24.4 8-27 13.4 15.9 1.5 22-3.2 27-13.4z"})))},CZ:function(e){var t=e.title,n=GTe(e,tke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#11457e",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#d7141a",d:"M513 171v171H0l256.5-171z"}),Xt.createElement("path",{fill:"#FFF",d:"M513 0v171H256.5L0 0z"}))},DE:function(e){var t=e.title,n=GTe(e,nke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M0 228h513v114H0z"}))},DJ:function(e){var t=e.title,n=GTe(e,rke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#12ad2b",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#6ab2e7",d:"M513 0v166.7L0 170.8V0z"}),Xt.createElement("path",{fill:"#FFF",d:"M256 170.7 0 342V0z"}),Xt.createElement("path",{fill:"#d7141a",d:"m89.8 92.5 17 52.4H162l-44.6 32.5 17 52.4-44.6-32.4-44.6 32.4 17-52.4-44.6-32.5h55.2z"}))},DK:function(e){var t=e.title,n=GTe(e,ike);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#c60c30",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M190 0h-60v140H0v60h130v142h60V200h323v-60H190z"}))},DM:function(e){var t=e.title,n=GTe(e,oke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#496E2D",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 110.7v120h513v-120z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M0 110.7h513v40H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 190.7h513v40H0z"}),Xt.createElement("path",{d:"M196 0h120v342H196z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M196 0h40v342h-40z"}),Xt.createElement("path",{fill:"#FFF",d:"M274.7 0h40v342h-40z"}),Xt.createElement("circle",{fill:"#D80027",cx:256,cy:170.7,r:123.1}),Xt.createElement("path",{d:"m256 58.6 4.6 14.2h15l-12.1 8.9 4.6 14.2-12.1-8.8-12.1 8.8 4.6-14.2-12.1-8.9h15zM190.1 80l12.2 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15l-4.6 14.2-4.7-14.2h-15l12.1-8.8zm-40.7 56h15l4.6-14.2 4.7 14.2h15l-12.2 8.8 4.7 14.3-12.2-8.8-12.1 8.8 4.6-14.3zm0 69.3 12.1-8.8-4.6-14.3L169 191l12.2-8.8-4.7 14.3 12.2 8.8h-15l-4.7 14.3-4.6-14.3zm40.7 56.1 4.6-14.3-12.1-8.8h15l4.7-14.3 4.6 14.3h15l-12.1 8.8 4.6 14.3-12.1-8.9zm65.9 21.4-4.6-14.3h-15l12.1-8.8-4.6-14.3 12.1 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15zm65.9-21.4-12.2-8.9-12.1 8.9 4.6-14.3-12.1-8.8h15l4.6-14.3 4.7 14.3h15l-12.1 8.8zm40.7-56.1h-15l-4.6 14.3-4.7-14.3h-15l12.2-8.8-4.7-14.3L343 191l12.1-8.8-4.6 14.3zm0-69.3-12.1 8.8 4.6 14.3-12.1-8.8-12.2 8.8 4.7-14.3-12.2-8.8h15l4.7-14.2 4.6 14.2zm-40.7-56-4.6 14.3 12.1 8.8h-15l-4.7 14.2-4.6-14.2h-15l12.1-8.8-4.6-14.3 12.1 8.8zM279.3 168.7c-11-21.1-14.5-25.
11-14.5-25.1s.4-9.7.4-15.6c0-8.8-7.4-15.8-16.5-15.8-8.6 0-15.7 2.9-16.5 11-4.2.9-8.6 4.1-8.6 10.7 0 4.8 1 7.3 5.2 9.3 2.1-4.6 4.3-4.8 9.3-6.4.8.6 1.7 3 2.6 3.4l.3 1s-13.3 6.6-13.3 30.9c0 29.5 22 45.4 22 45.4l-1.8.3-1.9 7.1h22v-7.2l11 17.5c.3-.3 10.2-47.6.3-66.5z",fill:"#496E2D"}))},DO:function(e){var t=e.title,n=GTe(e,ake);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 216h211v126H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h211v126H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M302 0h211v126H302z"}),Xt.createElement("path",{fill:"#0052B4",d:"M302 216h211v126H302z"}),Xt.createElement("g",{stroke:"#FFF",strokeWidth:5,strokeMiterlimit:10},Xt.createElement("path",{fill:"#0052B4",d:"M256 130h-49.9v49.4s19.5 6 49.9 6V130z"}),Xt.createElement("path",{fill:"#D80027",d:"M206.1 179.4v6c0 27.5 22.3 49.9 49.9 49.9v-49.9c-30.4 0-49.9-6-49.9-6z"}),Xt.createElement("path",{fill:"#0052B4",d:"M256 235.3c27.5 0 49.9-22.3 49.9-49.9v-6s-19.5 6-49.9 6v49.9z"}),Xt.createElement("path",{fill:"#D80027",d:"M256 130v55.4c30.4 0 49.9-6 49.9-6V130H256z"})))},DZ:function(e){var t=e.title,n=GTe(e,ske);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#41662E",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M256.5 0H513v342H256.5z"}),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"m341.5 105.3-29.4 40.4-47.5-15.4 29.4 40.4-29.4 40.4 47.5-15.4 29.4 40.4v-50l47.5-15.5-47.5-15.4z"}),Xt.createElement("path",{d:"M309.9 276.7c-58.5 0-106-47.5-106-106s47.5-106 106-106c18.3 0 35.4 4.6 50.4 12.7-23.5-23-55.7-37.2-91.2-37.2-72 0-130.4 58.4-130.4 130.4S197.1 301 269.1 301c35.5 0 67.7-14.2 91.2-37.2-14.9 8.2-32.1 12.9-50.4 12.9z"})))},EC:function(e){var t=e.title,n=GTe(e,lke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 170.7h513V256H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 256h513v85.3H0z"}),Xt.createElement("circle",{fill:"#FFDA44",cx:256,cy:171,r:60}),Xt.createElement("path",{fill:"#4C1F00",d:"M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"}),Xt.createElement("path",{fill:"#57BA17",d:"M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"}),Xt.createElement("path",{fill:"#338AF3",d:"M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"}))},EE:function(e){var t=e.title,n=GTe(e,cke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#111",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#368FD8",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 228h513v114H0z"}))},EG:function(e){var t=e.title,n=GTe(e,uke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),Xt.createElement("path",{d:"M0 228h513v114H0z"}),Xt.createElement("path",{fill:"#C09300",d:"M220.3 204.4s0-58.4 4.5-64.7c3.1-4.3 16.8 5.2 22.7 4.5 0 0 4.2-7.5 4.5-12 .3-4.6-1.1-7.6-4.9-6.2 0 0-1.2-2.1.5-3.3 1.6-1.2 5.6.1 5.6.1s-.5-1 1.6-.9c2.9.2 7.2 1.4 7.4 5.6.2 3.1.3 7.7.4 8.7.7 6.8 2.7 8.7 2.7 8.7s18.4-9.2 22-5.2c3.3 3.8 4.5 64.7 4.5 64.7l-18.1-16.8 12.1 29.5s-14.4 2.4-28.9 2.4c-14.5 0-31.1-4.2-31.1-4.2l13.8-28.2-19.3 17.3z"}))},EH:function(e){var t=e.title,n=GTe(e,dke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#428823",d:"M0 228h513v114H0z"}),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M256 171 0 342V0zm53.1 0c0-22.9 13.1-42.1 34.6-46.8-3.3-.7-6.7-1.1-10.3-1.1-26.4 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9c3.5 0 7-.4 10.3-1.
11-21.5-5.1-34.6-24.2-34.6-46.8z"}),Xt.createElement("path",{d:"m365 129.2 10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z"})))},ER:function(e){var t=e.title,n=GTe(e,hke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#56AF35",d:"M0 0h513v171H0z"}),Xt.createElement("path",{fill:"#D80027",d:"m0 342 513-171L0 0v342z"}),Xt.createElement("g",{fill:"#ffc945"},Xt.createElement("path",{d:"M134.7 231.5c33.6 0 60.8-27.2 60.8-60.8s-27.2-60.8-60.8-60.8-60.8 27.2-60.8 60.8 27.2 60.8 60.8 60.8zm0 24.3c-47 0-85.2-38.1-85.2-85.2s38.1-85.2 85.2-85.2 85.2 38.1 85.2 85.2-38.2 85.2-85.2 85.2z"}),Xt.createElement("circle",{cx:119.5,cy:148.3,r:17.5}),Xt.createElement("circle",{cx:148.9,cy:158.5,r:17.5}),Xt.createElement("circle",{cx:134.7,cy:135.2,r:17.5}),Xt.createElement("circle",{cx:119.5,cy:172.7,r:17.5}),Xt.createElement("circle",{cx:149.9,cy:182.8,r:17.5}),Xt.createElement("circle",{cx:122.5,cy:198,r:17.5}),Xt.createElement("circle",{cx:145.9,cy:205.2,r:17.5})))},ES_CT:function(e){var t=e.title,n=GTe(e,fke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",width:810,height:540},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FCDD09",d:"M0 0h810v540H0z"}),Xt.createElement("path",{stroke:"#DA121A",strokeWidth:60,d:"M0 90h810m0 120H0m0 120h810m0 120H0"}))},ES:function(e){var t=e.title,n=GTe(e,pke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h22.5v15H0V0z"}),Xt.createElement("path",{fill:"#D03433",d:"M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"}),Xt.createElement("path",{fill:"#FBCA46",d:"M0 4h22.5v7H0V4z"}),Xt.createElement("path",{fill:"#FFF",d:"M7.8 7h1v.5h-1V7z"}),Xt.createElement("path",{fill:"#A41517",d:"M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"}),Xt.createElement("path",{fill:"#A41517",d:"M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"}))},ET:function(e){var t=e.title,n=GTe(e,mke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#20AA46",d:"M0 0h22.5v5H0V0z"}),Xt.createElement("path",{fill:"#E92F3B",d:"M0 10h22.5v5H0v-5z"}),Xt.createElement("path",{fill:"#FADF50",d:"M0 5h22.5v5H0V5z"}),Xt.createElement("circle",{fill:"#205CCA",cx:11.3,cy:7.5,r:5.2}),Xt.createElement("g",{stroke:"#FFDB3D",fill:"none"},Xt.createElement("path",{d:"m11.3 8.8-2.1 1.5.8-2.4-2-1.5h2.5l.8-2.3.8 2.3h2.6l-2.1 1.5.8 2.4-2.1-1.5zm-1-2.4h1.9M9.9 7.8l1.3 1m.8-2.6.7 1.8M10 7.9l.6-1.8M11 9l1.6-1.1",strokeWidth:.5}),Xt.createElement("path",{d:"m8.7 3.9 1.1 1.6m4-1.7-1 1.6m-1.5 4.7V12M8.9 8.3 7.1 9m8.4 0-1.8-.7",strokeWidth:.25})))},EU:function(e){var t=e.title,n=GTe(e,gke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 810 540"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#039",d:"M0 0h810v540H0z"}),Xt.createElement("path",{fill:"#FC0",d:"m404.951 59.865 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-90 24 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-66 66 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-24 89.999 6.735 20.719h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm24 9
10.001 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm66 66 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm180-312 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm66 66 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm24 90 6.735 20.718h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm-24 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm-156 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm90-24.001 6.735 20.719h21.894l-17.633 12.812 6.639 20.74-17.635-12.812-17.633 12.812 6.735-20.73-17.633-12.811h21.797z"}))},FI:function(e){var t=e.title,n=GTe(e,vke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#2E52B2",d:"M513 129.3V212H203.7v130H121V212H0v-82.7h121V0h82.7v129.3z"}))},FJ:function(e){var t=e.title,n=GTe(e,yke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#62B5E5",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#F3F3F3",d:"M307.1 127.1v92c0 61.6 80.5 80.5 80.5 80.5s80.4-19 80.4-80.6v-92l-80.5-23-80.4 23.1z"}),Xt.createElement("path",{fill:"#c8102e",d:"M468 132.8V98.3H307.1v34.5h69v69h-69v23h69V296c6.9 2.5 11.5 3.5 11.5 3.5s4.6-1.1 11.5-3.5v-71.2h69v-23h-69v-69H468z"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},FK:function(e){var t=e.title,n=GTe(e,bke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})),Xt.createElement("path",{fill:"#2a7fff",d:"M311.2 190.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3z"}),Xt.createElement("path",{fill:"#FFF",d:"M311.2 190.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3zm79.6 86.3c7.9-4.5 15.9-10 23.2-16.7 20.5-18.5 32.6-41.4 32.6-69.7v-90c0-.3-120.4-.3-120.4-.3v90.3c0 28.3 12.1 51.2 32.6 69.7 8.3 7.5 17.6 13.9 27.6 19 1.4-.6 2.8-1.4 4.4-2.3z"}),Xt.createElement("path",{fill:"#3e6d1e",d:"M346.1 189.4c-2.6-7.9 1.7-14.3 10.1-14.3h60.5c8.2 0 12.8 6.3 10.1 14.3l-5.5 16.5c-2.6 7.9-8.9 9.2-15.8 4 0 0 2.6-4.8-19.1-4.8s-19.1 4.8-19.1 4.8c-6.1 5.7-13.1 4-15.8-4 .1.1-5.4-16.5-5.4-16.5z"}),Xt.createElement("path",{fill:"#e5e5e5",d:"M356.4 175.1c8.1 1.6 17.8-15 30.1-15 13.1 0 21.8 17.1 30.1 15 7.4-1.8 15-22.2 15-30.1 0-16.6-20.2-30.1-45.1-30.1s-45.1 13.5-45.1 30.1c-.1 8.5 6.6 28.5 15 30.1z"}),Xt.createElement("path",{fill:"#FFF",d:"M355 266.7c6.2.4 12.5-1.8 17.2-6.5l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c4.7 4.7 11 6.9 17.1 6.5 5.3-.3 32.5-33.5 25.7-32.6-4.6.6-9.1 2.8-12.7 6.3l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.
11l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3-6.7-1.1 20.1 32.2 25.3 32.5zM321.1 206c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0 0 0 5.5-14.8 2.5-15.9-7.9-2.9-17.2-1.2-23.5 5.2l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-6.2-6.2-15.1-8-22.8-5.5-3.1 1.1 1.9 16.1 1.9 16.1z"}))},FM:function(e){var t=e.title,n=GTe(e,Cke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"m256 37.9 10.1 31.2H299l-26.6 19.3 10.2 31.2-26.6-19.3-26.6 19.3 10.2-31.2L213 69.1h32.9zM123.2 170.7l31.2-10.2v-32.8l19.3 26.6 31.2-10.2-19.3 26.6 19.3 26.5-31.2-10.1-19.3 26.5v-32.8zM256 303.5l-10.1-31.2H213l26.6-19.3-10.2-31.3L256 241l26.6-19.3-10.2 31.3 26.6 19.3h-32.9zm132.8-132.8-31.2 10.1v32.8l-19.3-26.5-31.2 10.1 19.3-26.5-19.3-26.6 31.2 10.2 19.3-26.6v32.8z",fill:"#FFF"}))},FO:function(e){var t=e.title,n=GTe(e,wke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#0F61A5",d:"M513 214.5H206.2V342h-87.8V214.5H0v-87.7h118.4V0h87.8v126.8H513V192z"}),Xt.createElement("path",{fill:"#E50E3D",d:"M513 149.3V192H183.7v150H141V192H0v-42.7h141V0h42.7v149.3z"}))},FR:function(e){var t=e.title,n=GTe(e,Eke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},GA:function(e){var t=e.title,n=GTe(e,kke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}))},GB_ENG:function(e){var t=e.title,n=GTe(e,Ske);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 136h513v70H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M221.5 0h70v342h-70z"}))},GB_NIR:function(e){var t=e.title,n=GTe(e,xke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 136h513v70H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M221.5 0h70v342h-70z"}),Xt.createElement("path",{fill:"#FFF",stroke:"#231F20",strokeMiterlimit:10,d:"m256.5 87.8-24 41.4h-48.8l24.7 42.1-24.7 42.1h48.8l24 42.1 24-42.1h48.8l-24.7-42.1 24.7-42.1h-48.8l-24-41.4z"}),Xt.createElement("path",{fill:"#D80027",d:"M258.6 130.6c-3.3 0-3.3 3.3-3.3 3.3V160h-2v-22s0-4-3.3-4c-4 0-4 4-4 4v23.4l-2 .7v-16.7s0-4-3.3-4c-4 0-4 4-4 4V174c0 6.7 3.3 13.4 8 17.4v14h24V194c6-3.3 10.7-9.4 12-16.7 0-4 1.3-7.3 2.7-10.7l2.7-9.4s.7-3.3-2.7-4.7-4.7 2-4.7 2l-5.3 12.7h-2v-31.4s0-3.3-3.3-3.3c-4 0-4 3.3-4 3.3v24h-1.3v-26.1c-.2.2-.2-3.1-4.2-3.1z"}),Xt.createElement("path",{fill:"#FFDA44",stroke:"#231F20",strokeMiterlimit:10,d:"M249.2 25.7V33h-7.3v14.7h7.3v14c-4-4-9.4-6-14.7-6-12.2-.1-22.1 9.6-22.3 21.8-.1 6.1 2.4 12 6.9 16.3v13.4h74.8V93.8c4-4.7 6.7-10 6.7-16-.2-12.2-10.3-21.9-22.4-21.6-5.3.1-10.4 2.1-14.3 5.6v-14h7.3V33.1h-7.3v-7.3l-14.7-.1z"}))},GB_SCT:function(e){var t=e.title,n=GTe(e,Tke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#005EB8",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 302.1V342h59.9l196.6-131.1L453.1 342H513v-39.9L316.4 171 513 39.9V0h-59.9L256.5 131.1 59.9 0H0v39.9L196.7 171z"}))},GB_WLS:function(e){var t=e.title,n=GTe(e,Mke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v171H0z"}),Xt.createElement("path",{fill:"#529E3C",d:"M0 171h513v171H0z"}),Xt.createElement("path",{fill:"#D11C1C",d:"m201 259.8 28.2-4.8-21.8-10.3 14.9-8.4s25.2 21.2 25.2 14.4c0-7.3 23.7-4.1 22.7-14.4-1.3-14.1-26.2-1-30.6-18.7-2.5-9.9-10.3-8.6-10.3-8.6l-25.1 8.6-12.5 18.7-6.2-18.7s-14.6 11.9-19.5 18.7c-5.2 7.3-10.7 23.5-10.7 23.5l25.6 10.7-37.3-6.6-27.2 6.6-16.7 4.6 7.3-7.7-15-7.6 15-9-7.3-6.1 32.3 6.1s11.8-1.2 16.3-6.1c5.6-6.2 10.1-27.1 10.1-27.1l-14.8-8.6-11.6 21s-8-19.9-15.6-31c-5.7-8.3-24.3-27.3-24.3-27.3l-24 12.6 13.4-26.7s10.6-9.3 3.9-18.8c-6.8-9.5-12.4-30.9-12.4-30.9s14.1 24.4 19.2 22.5c7.2-2.7-9-25 0-28.9 6.5-2.9 7.6 25.5 7.6 25.5l7.3-13.9v17.3s-4.3 20.7 3 33c7.2 12.3 28.7 20.9 28.7 20.9s-5.6-12.3 0-36c3.8-16 17.2-43.4 23.6-52.1 3.3-4.6-26.7 17-26.7 17v-17l-28.6-2.9-7.3 8.3-18.3-30L104 83.1h34.6l-6.7-8.3H104s5.9-12.1 34.6-12.1l13.6-9.2s18.6.5 29 .9c9.3.4 26.1-11.5 26.1-11.5l4.7 11.5-11 17.3 11.1 11.4-4.7 7 8.1 11.5H201l11.1 17.9-11.1-6.3 6.4 17.3-6.4 17.8 28.2-9.5s0-25.6 10.3-37.2C271.1 69.2 322.6 43 322.6 43s-2.7 23.5 4.9 25.4c11.1 2.7 59.4-19.4 59.4-19.4s-29 31.3-23.1 34.1c3.2 1.5 8.5 7 8.5 7s-25.1 20.5-29.3 29.3c-4.2 8.8 6.1 19.4 6.1 19.4s-21.7 0-32.5 9.5c32.5 0 59.1 15.4 74.8 4 10.5-7.6-37.7-2.9-31.4-21.9 2.4-7.1 8.5-15.2 22.6-17.3s19.1 6.3 19.1 6.3l7.6-11.5h-22.4l40.6-39.6 5.3 51.1-13.7-11.4-6.2 19.2c14.6 44.6-52.8 54.1-52.8 54.1l41.6 27.8-14.8 4.2-4.2 41.7 19.1 15.5-25-6.6-49.2 11.2 9.8-15.3-20.6 4.1 13.7-13.1-13.7-6.1 17.6-4.9 22.1 15.2s11-14.2 12.2-21.7c1.3-7.8-4.8-24.2-4.8-24.2s-32.6-.7-44.1-3.5-18.2-11.9-18.2-11.9l-13.1 15.4s45.5 17.1 34.1 24.2c-2.6 1.7-15.7-3.2-15.7-3.2s-22.4 26.2-36.8 29.7c-6.5 1.6 18.3 10.7 18.3 10.7s-21.2-3.4-32-6.6c-11.3-3.4-44.4 6.6-44.4 6.6l-11-10.7zM383.9 138c3.1 0 5.7-2.6 5.7-5.7s-2.6-5.7-5.7-5.7-5.7 2.6-5.7 5.7 2.5 5.7 5.7 5.7z"}))},GB:function(e){var t=e.title,n=GTe(e,Ake);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M0 0h513v341.3H0V0z"}),Xt.createElement("path",{d:"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z"})),Xt.createElement("path",{d:"M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zm-82.1-132.9L0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zm368.3 111.3L513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z",fill:"#012169"}),Xt.createElement("g",{fill:"#c8102e"},Xt.createElement("path",{d:"M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z"}),Xt.createElement("path",{d:"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zm-168 0L0 309.9v31.5L200.3 230h-56.6zm56.6-118.7L0 0v31.5l143.7 79.8h56.6zm168 0L513 31.5V0L311.7 111.3h56.6z"})))},GD:function(e){var t=e.title,n=GTe(e,Lke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#c60a0a",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#3E8446",d:"m256.5 170.7-212 126.1V44.5z"}),Xt.createElement("path",{d:"m256.5 170.7 211 126.1h-423zm211-126.2-211 126.2-212-126.2z",fill:"#FFDA44"}),Xt.createElement("path",{fill:"#3E8446",d:"M467.5 44.5v252.3l-211-126.1z"}),Xt.createElement("path",{d:"m256.5 10.4 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zm-86.4 0 3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm171.8 0 3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm-85.4 293.8 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zm-86.4 0 3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm171.8 0 3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7z",fill:"#FFDA44"}
1),Xt.createElement("circle",{fill:"#c60a0a",cx:244.5,cy:170.7,r:76.2}),Xt.createElement("path",{fill:"#FFDA44",d:"m244.5 110.1 13.6 41.8h44l-35.6 25.8 13.6 41.8-35.6-25.8-35.5 25.8 13.6-41.8-35.6-25.8h44zm-136.8 57.7c4.4 6.9 2.3 16.1-4.6 20.5s-16.1 2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33s20.4 4.6 28.4 17.1z"}),Xt.createElement("circle",{fill:"#A2001D",cx:99.1,cy:182.1,r:7.4}))},GE:function(e){var t=e.title,n=GTe(e,Pke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#fff",d:"M0 0h22.5v15H0z"}),Xt.createElement("path",{fill:"#eb000e",d:"M9.8 6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3v6z"}),Xt.createElement("path",{fill:"#eb000e",d:"m17.3 2.7-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm-12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm0 9-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2z"}))},GF:function(e){var t=e.title,n=GTe(e,Rke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 60"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FDEB01",d:"m0 0 90 60H0z"}),Xt.createElement("path",{fill:"#58A846",d:"M90 0v60L0 0z"}),Xt.createElement("path",{fill:"#ED3D24",d:"m50.7 33.3 9.3-6.7H48.5L45 15.7l-3.5 10.9H30l9.3 6.7-3.6 11 9.3-6.7 9.3 6.7z"}))},GG:function(e){var t=e.title,n=GTe(e,Oke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M308 0H204v118.7H0v104h204V342h104V222.7h205v-104H308z"}),Xt.createElement("path",{fill:"#FFDA44",d:"m368.6 188 26 17.3V136l-26 17.3h-95.3V58.1l17.3-26h-69.2l17.3 26v95.2h-95.3l-26-17.3v69.3l26-17.3h95.3v95.2l-17.3 26h69.2l-17.3-26V188z"}))},GH:function(e){var t=e.title,n=GTe(e,Dke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#496E2D",d:"M0 228h513v114H0z"}),Xt.createElement("path",{d:"m255.9 113.8 14.1 43.4 40.4 3.2-37 26.9 19.5 40.3-37-26.9-37 26.9 14.1-43.5-36.9-26.9h45.7z"}))},GI:function(e){var t=e.title,n=GTe(e,Ike);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 230h513v112H0z"}),Xt.createElement("path",{fill:"#D80027",stroke:"#000",strokeMiterlimit:10,d:"M363.1 131.8V99.1H374V77.3h-21.9v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7h-21.8V55.5h10.9V33.7h-21.8v10.9h-10.9V33.7H254v10.9h-10.9V33.7h-21.8v21.8h10.9v76.3h-21.8V99.1h10.9V77.3h-21.8v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7H145V219h239.9v-87.2z"}),Xt.createElement("path",{fill:"#FFDA44",stroke:"#000",strokeMiterlimit:10,d:"m264.9 235.5-24.2 18.2 19.1 14.3v31.3h-23.2v9h23v7.9h-23v9.3H270V268l19.1-14.3-24.2-18.2zm0 25.3-10.1-7.1 10.1-7.1 10.1 7.1-10.1 7.1z"}),Xt.createElement("path",{d:"M239.6 209.7v-27.9s.1-22.3 25-22.3c24.8 0 25.7 22 25.7 22v28.2h-50.7zm-69.1 0v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8z"}),Xt.createElement("path",{d:"M169.1 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zm151.8 0v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zm8.4-77.7v-15.7s.1-12.1 11.3-12.1c11.3 0 11.7 11.9 11.7 11.9V132h-23zm-78.8 0v-23.7s.1-18.3 14.3-18.3c14.2 0 14.7 18 14.7 18v24h-29zm-73 0v-15.7s.1-12.1 11.3-12.1 11.7 11.9 11.7 11.9V132h-23z"}))},GL:function(e){var t=e.title,n=GTe(e,_ke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M513 0v171H0V0z"}
1),Xt.createElement("circle",{fill:"#FFF",cx:185.8,cy:171.2,r:117.8}),Xt.createElement("path",{fill:"#D80027",d:"M68 171c0-65.1 52.8-117.8 117.8-117.8 65.1 0 117.8 52.8 117.8 117.8"}))},GM:function(e){var t=e.title,n=GTe(e,Fke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#cf0d19",d:"M0 0h513v100H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 121h513v100H0z"}),Xt.createElement("path",{fill:"#1a7e25",d:"M0 242h513v100H0z"}))},GN:function(e){var t=e.title,n=GTe(e,$ke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h512v342H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M342 0h171v342H342z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h171v342H0z"}))},GP:function(e){var t=e.title,n=GTe(e,Nke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},GQ:function(e){var t=e.title,n=GTe(e,Bke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 0h513v113.8H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 227.6h513V342H0z"}),Xt.createElement("path",{fill:"#0070C8",d:"M126 171 0 342V0z"}),Xt.createElement("path",{fill:"none",stroke:"#000",strokeMiterlimit:10,d:"M233.8 139.4v40.4c0 35.6 35.6 35.6 35.6 35.6s35.6 0 35.6-35.6v-40.4h-71.2z"}),Xt.createElement("path",{fill:"#786145",d:"M264.5 179.8h9.8l4 25.8h-17.8z"}),Xt.createElement("path",{fill:"#6DA544",d:"M287.2 162c0-9.8-8-14.8-17.8-14.8s-17.8 5-17.8 14.8c-4.9 0-8.9 4-8.9 8.9s4 8.9 8.9 8.9h35.6c4.9 0 8.9-4 8.9-8.9s-4-8.9-8.9-8.9z"}),Xt.createElement("path",{d:"m230.7 120 1.9 3.3h3.8l-1.9 3.3 1.9 3.2h-3.8l-1.9 3.3-1.9-3.3H225l1.9-3.2-1.9-3.3h3.8zm15.3 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zm15.3 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zm15.8 0 1.9 3.3h3.8l-1.9 3.3 1.9 3.2H279l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zm16 0 1.9 3.3h3.8l-1.9 3.3 1.9 3.2H295l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zm15 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2H310l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8z",fill:"#FFDA00",stroke:"#000",strokeMiterlimit:10}))},GR:function(e){var t=e.title,n=GTe(e,jke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("g",{fill:"#0d5eaf"},Xt.createElement("path",{d:"M0 0h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z"}),Xt.createElement("path",{d:"M0 0h190v190H0z"})),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M0 76h190v38H0z"}),Xt.createElement("path",{d:"M76 0h38v190H76z"})))},GS:function(e){var t=e.title,n=GTe(e,zke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"}
1)),Xt.createElement("ellipse",{fill:"#FFF",cx:443.4,cy:233.6,rx:29,ry:43.5}),Xt.createElement("ellipse",{fill:"#FFCE00",cx:406.9,cy:317.7,rx:22,ry:9.3}),Xt.createElement("ellipse",{fill:"#FFCE00",cx:364,cy:317.7,rx:22,ry:9.3}),Xt.createElement("path",{fill:"#39B200",d:"m342 190.1 43.4 86.9 43.5-86.9z"}),Xt.createElement("ellipse",{fill:"#9B9B9B",cx:327.5,cy:233.6,rx:29,ry:43.5}),Xt.createElement("path",{fill:"#757575",d:"m371 175.6-14.5 14.5h57.9l-14.5-14.5 14.5-43.5s-13-29-29-29-29 29-29 29l14.6 43.5z"}),Xt.createElement("circle",{fill:"#C6B56F",cx:385.4,cy:67,r:29}),Xt.createElement("circle",{fill:"#923f00",cx:386,cy:88.7,r:29}),Xt.createElement("circle",{fill:"#FFF",cx:443.4,cy:117.7,r:29}),Xt.createElement("circle",{fill:"#0049FF",cx:342.2,cy:146.7,r:29}),Xt.createElement("circle",{fill:"#0041F9",cx:429.8,cy:146.7,r:29}),Xt.createElement("circle",{fill:"#F7D71E",cx:386,cy:233.6,r:29}),Xt.createElement("circle",{fill:"#CEC851",cx:457.9,cy:190.1,r:29}),Xt.createElement("circle",{fill:"#FFF",cx:385.4,cy:289.5,r:29}),Xt.createElement("path",{fill:"#7C0B29",d:"m371 135.7 14.5-3.5 14.5 3.5c0 7.5-14.5 11-14.5 11s-14.5-3.5-14.5-11z"}),Xt.createElement("circle",{fill:"#FFF",cx:327.5,cy:117.4,r:29}))},GT:function(e){var t=e.title,n=GTe(e,Vke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#338AF3"}),Xt.createElement("circle",{fill:"#DCC26D",cx:256,cy:155.8,r:25.5}),Xt.createElement("path",{fill:"#628A40",d:"M194.2 155.9c0 22.1 11.8 42.5 30.8 53.5 5.9 3.4 13.5 1.4 16.9-4.5 3.4-5.9 1.4-13.5-4.5-16.9-11.5-6.6-18.5-18.9-18.5-32.1 0-6.8-5.5-12.4-12.4-12.4s-12.3 5.5-12.3 12.4zm95.1 52.1c17.8-11.4 28.6-31 28.5-52.1 0-6.8-5.5-12.4-12.4-12.4-6.8 0-12.4 5.5-12.4 12.4 0 12.7-6.5 24.5-17.1 31.3-5.8 3.6-7.7 11.2-4.1 17 3.6 5.8 11.2 7.7 17 4.1.2-.1.3-.2.5-.3z"}))},GU:function(e){var t=e.title,n=GTe(e,Hke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M11.1 11.1h489.7v319.1H11.1z"}),Xt.createElement("path",{fill:"#7DBEF1",d:"M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"}),Xt.createElement("path",{fill:"#1C8AE6",d:"M179.8 180.7h152.6l-29.3 64.9h-95.2z"}),Xt.createElement("path",{fill:"#FFF042",d:"M192.3 205.9s40.5 38.2 51 38.2c12.4 0 12.6-18.4 25.5-25.5 20.2-11.1 51-12.7 51-12.7L297 248.7l-41 36.6-46.8-39.7-16.9-39.7z"}),Xt.createElement("path",{fill:"#259C7B",d:"m256 157.5-22.5 15.6 7.9-26.2-21.8-16.5 27.4-.5 9-25.9 9 25.9 27.4.5-21.8 16.6 7.9 26.2-22.5-15.7z"}),Xt.createElement("path",{fill:"#8E5715",d:"M249.7 144.6c-.9 9.2-1.5 18.4-1.7 27.6-.3 11.9.3 20.7 2 26 2.2 6.6 7.2 12.9 14.2 18.9 5.3 4.6 10.6 8.1 14.2 10.1 3.1 1.7 7 .6 8.7-2.4 1.7-3.1.6-7-2.4-8.7-4.3-2.5-8.4-5.4-12.2-8.7-5.4-4.6-9.1-9.2-10.4-13.3-1.1-3.4-1.6-11.3-1.4-21.7.2-8.9.8-17.8 1.7-26.6.4-3.5-2.2-6.6-5.7-7-3.6-.3-6.7 2.3-7 5.8z"}),Xt.createElement("path",{fill:"#FFF",d:"m217.8 170.7 25.5 38.2h-25.5v-38.2z"}),Xt.createElement("path",{fill:"none",stroke:"#D80027",strokeWidth:12,strokeMiterlimit:10,d:"M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"}))},GW:function(e){var t=e.title,n=GTe(e,Uke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#6DA544",d:"M0 0h512v342H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h512v171H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h182v342H0z"}),Xt.createElement("path",{d:"m98.3 109.8 15.1 46.5h48.9L122.8 185l15.1 46.5-39.6-28.7-39.5 28.7L73.9 185l-39.6-28.7h48.9z"}))},GY:function(e){var t=e.title,n=GTe(e,Wke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#009E49",d:"M0 0h900v600H0V0z"}),Xt.createElement("path",{fill:"#FFF",d:"m0 0 947 300L0 600V0z"}),Xt.createElement("path",{fill:"#FFD00D",d:"M0 26.1 870 300 0 573.9V26.1z"}),Xt.createElement("path",{fill:"#2D2D2D",d:"m0 0 450 300L0 600V0z"}),Xt.createElement("path",{fill:"#D3132F",d:"m0 35 397.5 265L0 565V35z"}))},HK:function(e){var t=e.title,n=GTe(e,Gke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 14"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h21v14H0V0z"}),Xt.createElement("path",{fill:"#EE1C25",d:"M0 0h21v14H0V0z"}),Xt.createElement("path",{fill:"#FFF",d:"M12 6.7c-.8-.5-1 .4-1 0 0-.8.9-1.5 2-1.5s2 .7 2 1.5c-.9 0-1 .5-1.5.5-.6 0-.7 0-1.5-.5zm1.2-.2c.1 0 .2-.1.2-.2s0-.3-.2-.3-.2.1-.2.2.1.3.2.3zm-1.8 2c.2-.9-.7-.8-.3-.9.8-.3 1.7.4 2 1.4.3 1.1 0 2.1-.8 2.4-.3-.9-.8-.8-.9-1.3-.1-.6-.2-.7 0-1.6zm.6 1.1c0 .1.2.2.3.2.1 0 .2-.2.2-.3s-.2-.2-.3-.2c-.2
10-.2.2-.2.3zM9.6 8.5c.9-.1.6-.9.8-.6.5.7.2 1.7-.7 2.4-.9.6-2 .6-2.5 0 .8-.6.6-1 .9-1.3.4-.4.5-.5 1.5-.5zm-.9.9c-.1 0-.2.2-.1.3s.3.2.4.1.1-.3 0-.4-.2-.1-.3 0zM9 6.7c.3.9 1 .3.8.6-.5.7-1.6.7-2.5 0-.9-.6-1.2-1.7-.7-2.4.8.6 1.1.2 1.5.5.4.4.5.4.9 1.3zm-1.1-.6c-.1-.1-.3 0-.4.1s-.1.3 0 .4c.1.1.3 0 .3-.1.2-.1.2-.3.1-.4zm2.6-.5c-.7.6.1 1.1-.3 1-.8-.3-1.2-1.4-.8-2.4.3-1 1.3-1.7 2-1.4-.3.9.2 1.1 0 1.6-.1.5-.2.6-.9 1.2zm.2-1.2c0-.1 0-.3-.1-.3s-.3 0-.3.1 0 .3.2.3c0 .1.1 0 .2-.1z"}))},HM:function(e){var t=e.title,n=GTe(e,qke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})),Xt.createElement("path",{d:"m189.2 212.6 11 22.9 24.7-5.7-11.1 22.8 19.9 15.8L209 274v25.4l-19.8-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zm197.9 28.5 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.9-2.6 9.5-7.5-5.3-10.9 11.9 2.7zm-48.6-116 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6v-12.1l-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zm48.6-66.2 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9 11.9 2.7zm42.4 49.7 5.3 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.5-7.6-9.4 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zm-30.3 57.9 4.1 12.7h13.3l-10.8 7.8 4.1 12.6-10.7-7.8-10.8 7.8 4.1-12.6-10.7-7.8h13.3z",fill:"#FFF"}))},HN:function(e){var t=e.title,n=GTe(e,Kke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0zm203.5-110.1 6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zm105 0 6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM256 147.6l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zm-52.5 29.7 6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1zm105 0 6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1z",fill:"#338AF3"}))},HR:function(e){var t=e.title,n=GTe(e,Yke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}),Xt.createElement("path",{d:"M309.3 113.2v-44l17.5-14.4 17.7 14.4v44zm-105.6 0v-44l-17.3-14.4-17.9 14.4v44zm35.2 0v-44l17.6-14.4 17.6 14.4v44z",fill:"#338AF3"}),Xt.createElement("path",{d:"M309.3 113.2h-35.2v-44l17.5-14.4 17.7 14.4zm-70.4 0h-35.2v-44l17.5-14.4 17.7 14.4z",fill:"#0052B4"}),Xt.createElement("path",{stroke:"#D80027",fill:"#FFF",d:"M168.5 113.2v101.9c0 24.3 14.4 46.2 35.4 59.4 21.3 13.4 42.1 14.7 52.6 14.7s31.4-1.7 52.6-14.8c21-13 35.4-35.1 35.4-59.3V113.2h-176z"}),Xt.createElement("path",{d:"M168.5 113.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm35.2 35.2h35.2V254h-35.2zm35.2-35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-35.2 35.2h35.2V254h-35.2zm35.2 55.5c8.6-5.4 16.2-12.3 22-20.3h-22v20.3zM181.7 254c5.8 8 13.3 14.9 22 20.4V254h-22zm57.2 0v33.7c7.2 1.2 13.3 1.5 17.6 1.5 4.3 0 10.4-.3 17.6-1.6V254h-35.2z",fill:"#D80027"}))},HT:function(e){var t=e.title,n=GTe(e,Zke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#A2001D",d:"M0 0h513v172H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 172h513v172H0z"}),Xt.createElement("path",{fill:"#FFF",d:"m381.4 251.5-110.7-13.8-110.8 13.8V85.4h221.5z"}),Xt.createElement("circle",{fill:"#0052B4",cx:270.7,cy:182.3,r:55.4}),Xt.createElement("circle",{fill:"#A2001D",cx:270.7,cy:182.3,r:27.7}),Xt.createElement("path",{fill:"#6DA544",d:"M229.1 113.1h83.1l-41.5 41.5z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M256.8 140.8h27.7v83h-27.7z"}),Xt.createElement("path",{fill:"#6DA544",d:"M314.9 215.5h-88.5l-66.5 36h221.5z"}))},HU:function(e){var t=e.title,n=GTe(e,Qke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}))},IC:function(e){var t=e.title,n=GTe(e,Xke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 300 200"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#fc0",d:"M0 0h300v200H0z"}),Xt.createElement("path",{fill:"#0768a9",d:"M0 0h200v200H0z"}),Xt.createElement("path",{fill:"#fff",d:"M0 0h100v200H0z"}))},ID:function(e){var t=e.title,n=GTe(e,Jke);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#E00",d:"M0 0h513v171H0z"}))},IE:function(e){var t=e.title,n=GTe(e,eSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#FF9811",d:"M342 0h171v342H342z"}))},IL:function(e){var t=e.title,n=GTe(e,tSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M340.6 122.4h-56.1l-28-48.6-28 48.6h-56.1l28 48.6-28 48.6h56.1l28 48.6 28-48.6h56.1l-28-48.6 28-48.6zM293.2 171 276 204.2h-38.9L219.8 171l17.2-33.2h38.9l17.3 33.2zm-36.7-71.8 11.9 23.3h-23.9l12-23.3zm-58.3 38.6h23.9l-10.8 21-13.1-21zm0 66.4 13-22.1 11.9 22.1h-24.9zm58.3 37.5-11.9-22.1h23.9l-12 22.1zm59.4-37.5h-25l11.9-22.1 13.1 22.1zm-26.1-66.4h26.1l-13 22.1-13.1-22.1zM0 21.3h512V64H0zm0 256h512V320H0z",fill:"#2E52B2"}))},IM:function(e){var t=e.title,n=GTe(e,nSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#E52D42",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M393.3 68.2h-45.8l-33.8 80.2-34.4-22.9s-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-.6-48.9 7.8-29.6 8.4-30.8 18.7-42.2 18.7-4.8 0-19.9-17.5-27.7-22.3-12.1-7.8-16.9-4.2-13.9 7.2 1.2 4.8 10.9 10.9 16.9 19.9 7.8 11.5 12.7 25.9 12.7 25.9s10.9-10.3 16.9-12.1c9-2.4 19.3 1.8 31.4 0 15.1-2.4 31.4-10.9 31.4-10.9l4.2 43.4s-54.3 50.7-49.5 70.6 56.1 44.6 68.2 62.7c12.1 17.5-7.2 24.1-7.2 32.6s-1.8 19.9 7.2 16.3c9-3.6 10.3-18.1 18.7-31.4 6-9 10.3-13.9 11.5-17.5 1.8-9-23.5-32-37.4-48.9-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6s67.6 27.7 82.6 18.7c15.1-9 19.3-98.3 19.3-98.3l47-11.5-12.1-11.7z"}),Xt.createElement("path",{fill:"#F8DD4E",d:"M279.3 262.4c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.8-182.8c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm0 91.1c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6 0 11.5 4.8 11.5 11.5-.6 6.7-5.5 11.5-11.5 11.5zm-136.9 45.8c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.2-136.9c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-4.8 11.5-11.5 11.5zm22.9 91.1c-6 0-11.5-10.3-11.5-22.9s4.8-22.9 11.5-22.9c6 0 11.5 10.3 11.5 22.9s-4.8 22.9-11.5 22.9zm-114-45.2c-6 0-11.5-4.8-11.5-11.5 0-6.6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5 0 6.6-4.8 11.5-11.5 11.5z"}))},IN:function(e){var t=e.title,n=GTe(e,rSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#ff6820",d:"M0 0h513v114H0V0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0V114z"}
1),Xt.createElement("path",{fill:"#046a38",d:"M0 228h513v114H0V228z"}),Xt.createElement("path",{fill:"none",stroke:"#07038d",strokeWidth:4,d:"M256.5 136.8c18.9 0 34.2 15.3 34.2 34.2s-15.3 34.2-34.2 34.2-34.2-15.3-34.2-34.2 15.3-34.2 34.2-34.2z"}),Xt.createElement("path",{d:"m265.3 138.2-17.6 65.7m17.6-65.7-17.6 65.7m25.8-62.3-34 58.9m41-53.5-48 48m53.4-41L227 188m62.3-25.8-65.7 17.6m66.9-8.8h-68m66.8 8.8-65.7-17.6m62.3 25.8L227 154m53.5 41-48-48m41 53.4-34-58.9m25.8 62.3-17.6-65.7m8.8 66.9v-68m-8.8 66.8 17.6-65.7m-25.8 62.3 34-58.9m-41 53.5 48.1-48.1M227.1 188l58.9-34m-62.3 25.8 65.7-17.6m-66.9 8.8h68m-66.8-8.8 65.7 17.6M227.1 154l58.9 34m-53.5-41 48.1 48.1m-41.1-53.5 34 58.9m-25.8-62.3 17.6 65.7",stroke:"#07038d",strokeWidth:2}))},IO:function(e){var t=e.title,n=GTe(e,iSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0-.3h513V342H0V-.3z"}),Xt.createElement("path",{fill:"#012169",d:"M462.9 198.1c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zM0 31.7l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 1-20 6-30.1 12-7 4-16 9-20 9s-14-5-21-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-11-30.1-12v22zm462.9 55.2c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 3.9-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 1 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-8 19-9v-23zm-50.1 133.3c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23
1c4 0 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-9 19-9v-23z"}),Xt.createElement("g",{strokeWidth:2,strokeMiterlimit:10},Xt.createElement("path",{d:"M389.8 119.9H408v78.8h-18.3l.1-78.8zm0 117.8H408v75.1h-18.3l.1-75.1z",fill:"#a24300",stroke:"#000"}),Xt.createElement("path",{fill:"#006d00",stroke:"#004100",d:"M462.8 91.5h-29.1l25.7-25.7c4.5-4.4 4.5-11.4 0-15.8l-3.4-3.4c-4.4-4.4-11.4-4.4-15.8 0l-25.9 25.9V37.4c0-6.2-5.1-11.3-11.3-11.3h-4.7c-6.2 0-11.3 5.1-11.3 11.3v31.7l-23.5-23.8c-4.7-4.7-12.2-4.7-16.9 0l-3.6 3.6c-4.7 4.7-4.7 12.4 0 17.2l25 25.4h-30.6c-6 0-10.9 4.9-10.9 10.9v4.6c0 6 4.9 10.9 10.9 10.9H369l-20.7 20.7c-4.4 4.4-4.4 11.4 0 15.8l3.4 3.4c4.4 4.4 11.4 4.4 15.8 0l19.6-19.6V167c0 6.1 5.1 11.1 11.3 11.3h4.7c6.2 0 11.3-5.1 11.3-11.3v-28.3l22.2 22.6c4.7 4.7 12.4 4.7 17.1 0l3.6-3.6c4.7-4.7 4.7-12.4 0-17.2L435.2 118h27.6c5.9 0 10.7-4.9 10.9-10.9v-4.6c0-6.1-4.9-11-10.9-11z"}),Xt.createElement("path",{fill:"#fed100",stroke:"#525625",d:"M439.2 249.1h-79.8s-.9-13.4-6-21.8c-6.2-10.4-13.9-28.1-1.4-36.7 15.9-10.9 33.7.8 48.2.8 11.8.1 26.9-14 45-.8 12.2 8.9 3.9 28.2-1.3 36.7-7 11.5-4.7 21.8-4.7 21.8z"})),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},IQ:function(e){var t=e.title,n=GTe(e,oSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#CE1126",d:"M0 0h513v114H0z"}),Xt.createElement("path",{d:"M0 228h513v114H0z"}),Xt.createElement("path",{d:"M219.2 160.7h-29.3c1.5-5.7 6.6-9.9 12.8-9.9v-19.9c-18.3 0-33.1 14.9-33.1 33.1v16.5h49.6c1.8 0 3.3 1.5 3.3 3.3v6.6h-66.2v19.9h86.1v-26.5c0-12.7-10.4-23.1-23.2-23.1zm49.6 29.8v-59.6H249v79.5h33.1v-19.9zm66.2 0v-59.6h-19.8v59.6h-6.6v-19.8h-19.9v39.7h59.6v-19.9z",fill:"#547C31"}))},IR:function(e){var t=e.title,n=GTe(e,aSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),Xt.createElement("path",{d:"M0 227.9h513v114H0zm278.8-93.1c.1 2 8.7 26.2 4.4 39.4-6.6 20.3-15.8 21.8-19.8 24.5V134l-6.9-4.2-6.9 4.2v64.7c-4-2.7-12.4-2.4-19.8-24.5-4.3-12.7 5.7-37.3 5.8-39.2 0 0-9.5 8.1-15.8 24-5.9 14.8 1.9 49.6 29.5 54.8 2.3.4 4.7 5.6 7.2 5.6 2.1 0 4.1-5.2 6-5.5 28.4-4.6 35-41.7 29.9-55.6-5.4-14.6-13.6-23.5-13.6-23.5z",fill:"#D80027"}),Xt.createElement("path",{d:"M44.6 98.9h22.3v24.4H44.6zM0 98.9h22.3v24.4H0zm89.2 0h22.3v24.4H89.2zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4H223zm44.7 0H290v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0H513v24.4h-22.3zm-446.1 118h22.3v25.5H44.6zm-44.6 0h22.3v25.5H0zm89.2 0h22.3v25.5H89.2zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5H223zm44.7 0H290v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0H513v25.5h-22.3z",fill:"#FFF",opacity:.5}))},IS:function(e){var t=e.title,n=GTe(e,sSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M513 210.6H202.2v130.7h-79.8V210.6H0v-79.8h122.4V0h79.8v130.8H513v18.5l-1 42.7z"}),Xt.createElement("path",{fill:"#D80027",d:"M513 149.3V192H183.7v149.3H141V192H0v-42.7h141V0h42.7v149.3z"}))},IT:function(e){var t=e.title,n=GTe(e,lSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#F4F5F0",d:"M342 0H0v341.3h512V0z"}),Xt.createElement("path",{fill:"#008C45",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#CD212A",d:"M342 0h171v342H342z"}))},JE:function(e){var t=e.title,n=GTe(e,cSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M301.8 171 513 30.2V0h-45.3L256.5 140.8 45.3 0H0v30.2L211.2 171 0 311.8V342h45.3l211.2-140.8L467.7 342H513v-30.2z"}),Xt.createElement("path",{fill:"#FFDA44",d:"m233.7 44.6 22.3 5.6 22.3-5.6 4-2
10.9-14.9 6.5L256 14.8l-11.4 15.4-14.9-6.5z"}),Xt.createElement("path",{fill:"#D80027",d:"M233.7 44.6s-4 12.9-4 29.9c0 27.9 26.3 41.3 26.3 41.3s26.3-15.5 26.3-41.3c0-15.4-4-29.9-4-29.9s-8.1-5-22.3-5-22.3 5-22.3 5z"}))},JM:function(e){var t=e.title,n=GTe(e,uSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#6DA544",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M215.9 171 0 314.6V26.8zM513 26.8v287.8L296.1 171z"}),Xt.createElement("path",{fill:"#0052B4",d:"M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"}))},JO:function(e){var t=e.title,n=GTe(e,dSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M256.5 170.7 0 341.3V0z"}),Xt.createElement("path",{fill:"#FFF",d:"m77.9 139.5 7.9 16.4 17.8-4.1-8 16.5 14.3 11.3-17.8 4 .1 18.3-14.3-11.5-14.2 11.5v-18.3l-17.8-4 14.3-11.3-7.9-16.5 17.7 4.1z"}))},JP:function(e){var t=e.title,n=GTe(e,hSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),Xt.createElement("circle",{fill:"#D80027",cx:256.5,cy:171,r:96}))},KE:function(e){var t=e.title,n=GTe(e,fSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h512v90.579H0z"}),Xt.createElement("path",{fill:"#496E2D",d:"M0 251h513v91H0z"}),Xt.createElement("path",{fill:"#A2001D",d:"M0 114h513v114H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"m323.3 54.5-25.6-11.8L256 137l-41.7-94.3-25.6 11.8 51.8 116.2-51.8 116.2 25.6 11.8 41.7-94.4 41.7 94.4 25.6-11.8-51.8-116.2z"}),Xt.createElement("path",{d:"M273.4 65.6c-9.9-10.8-17.4-17-17.4-17s-7.5 6.2-17.4 17v210.1c9.9 10.8 17.4 17 17.4 17s7.5-6.2 17.4-17V65.6z"})),Xt.createElement("path",{d:"M209 105.9v129.5c10.5 18.5 23.3 33.7 32.9 43.8V62.1c-9.6 10.1-22.4 25.3-32.9 43.8zm94 0c-10.5-18.5-23.3-33.7-32.9-43.8v217.2c9.6-10.1 22.4-25.3 32.9-43.8V105.9z",fill:"#A2001D"}),Xt.createElement("path",{d:"M303 105.9v129.5c10.6-18.8 18.8-41 18.8-64.8s-8.2-45.9-18.8-64.7zm-94 0v129.5c-10.6-18.8-18.8-41-18.8-64.8s8.2-45.9 18.8-64.7z"}))},KG:function(e){var t=e.title,n=GTe(e,pSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M0 0h513v342H0z"}),Xt.createElement("circle",{cx:256,cy:171,r:171})),Xt.createElement("path",{fill:"#FFDA44",d:"M382.4 170.7 330.8 195l27.5 50-56.1-10.7-7.1 56.6-39.1-41.7-39.1 41.7-7.1-56.6-56.1 10.7 27.5-50-51.6-24.3 51.6-24.3-27.5-50.1 56.1 10.8 7.1-56.7L256 92.1l39.1-41.7 7.1 56.7 56.1-10.8-27.5 50.1z"}),Xt.createElement("circle",{fill:"#D80027",cx:257.4,cy:170.7,r:71.6}),Xt.createElement("path",{d:"M214.2 170.7c-2.1 0-4.1.1-6.2.3.1 12 4.4 22.9 11.6 31.5 3.8-10.3 9.5-19.6 16.7-27.7-6.9-2.7-14.3-4.1-22.1-4.1zm26.6 46.5c5.2 1.9 10.8 2.9 16.6 2.9 5.8 0 11.4-1 16.6-2.9-2.8-11.1-8.7-21-16.6-28.8-7.9 7.8-13.8 17.7-16.6 28.8zm59.4-71.2c-8.5-14.8-24.5-24.7-42.8-24.7-18.3 0-34.2 9.9-42.8 24.7 15.6.1 30.2 4.3 42.8 11.6 12.6-7.3 27.2-11.6 42.8-11.6zm-21.7 28.8c7.2 8 12.9 17.4 16.7 27.7 7.2-8.5 11.5-19.5 11.6-31.5-2-.2-4.1-.3-6.2-.3-7.7 0-15.2 1.4-22.1 4.1z",fill:"#FFDA44"}))},KH:function(e){var t=e.title,n=GTe(e,mSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#0052B4"}),Xt.createElement("path",{fill:"#FFF",d:"M303.5 196.6v-17.8h-11.9v-23.7l-11.9-11.9-11.8 11.9v-23.8L256 119.5l-11.9 11.8v23.8l-11.8-11.9-11.9 11.9v23.7h-11.9v17.8h-11.9v17.8h118.8v-17.8z"}))},KI:function(e){var t=e.title,n=GTe(e,gSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 450 300"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#CE1126",d:"M0 0h450v300H0V0z"}),Xt.createElement("g",{fill:"#FCD116"},Xt.createElement("circle",{cx:227.6,cy:161.2,r:56.2}),Xt.createElement("path",{d:"m254.1 73.4-23.7 26 28.6 6.5zm-51.5.2-4.8 33.1 28.5-8zm94.3 26.7-34.7 8.5 20.1 23.7zm-138.3-1.8 15.5 32.7 20.2-22.7zm159 45.3-34.4-9.9 5.6 29.5zm-182-2.6 31.9 19.8 5.2-27.7z"})),Xt.createElement("path",{fill:"#003F87",d:"M0 175h450v125H0V175z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 267c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21z"}),Xt.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#FCD116",d:"m183.2 48.3-1.1-5.3 22.4-3.7s-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7 11 64.8 11c4.3 0 12.8 10.7 12.8 10.7s14.8-14.9 21.9-15.4c32.1-2.3 66.6-6.4 66.6-6.4s-10 6.7-16 8.5c-16.2 4.9-50.6 11.7-50.6 11.7l-4.8 7.5H277l-14.4 4.3 7.4 6.9s-7.8-4.1-18.1-2.1c-7.1 1.3-15.4 6-22.9 8-18.7 4.8-29.9-12.8-29.9-12.8l-15.9-.1z"}))},KM:function(e){var t=e.title,n=GTe(e,vSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v85.5H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 85.5h513V171H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 171h513v85.5H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M256.5 171 0 342V0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M68.6 170.7c0-24.9 17.5-45.6 40.8-50.7-3.6-.8-7.3-1.2-11.1-1.2-28.7 0-51.9 23.3-51.9 51.9s23.3 51.9 51.9 51.9c3.8 0 7.5-.4 11.1-1.2-23.3-5.1-40.8-25.9-40.8-50.7z"}),Xt.createElement("path",{d:"m108.9 126.1 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2
1-5.3h8.9zm0 22.3 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"}),Xt.createElement("path",{d:"m108.9 170.7 2.7 8.5h9l-7.3 5.2 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.2h8.9zm0 22.2 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"})))},KN:function(e){var t=e.title,n=GTe(e,ySe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M512 0H0v342"}),Xt.createElement("path",{fill:"#FFDA44",d:"M307.7 0 0 194.5V342h206.9L513 148.5V0z"}),Xt.createElement("path",{d:"M513 0H385.2L0 249.4V341l126.2 1L513 91.6z"}),Xt.createElement("path",{d:"m141.1 187 31.2 24 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.3-22.2zM310.6 70.8l31.2 23.9 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.4-22.2z",fill:"#FFF"}))},KP:function(e){var t=e.title,n=GTe(e,bSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#91DC5A",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v57.188H0zm0 284.1h513v57.177H0z",fill:"#0052B4"}),Xt.createElement("path",{fill:"#D80027",d:"M0 79.9h513v181.582H0z"}),Xt.createElement("circle",{fill:"#FFF",cx:190.33,cy:171,r:65.668}),Xt.createElement("path",{fill:"#D80027",d:"m190.3 105 14.8 45.3h47.7l-38.6 28.1 14.8 45.5-38.7-28.2-38.6 28.1 14.8-45.4-38.6-28.1h47.7z"}))},KR:function(e){var t=e.title,n=GTe(e,CSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M84.6 107.8 132 36.6m-29.7 83 47.4-71.1m-29.6 83 47.4-71.1m177.9 221.3 47.4-71.1m-29.6 82.9 47.4-71.1m-29.6 83 47.4-71.1M132 305.4l-47.4-71.1m65.2 59.2-47.4-71.1m65.2 59.3-47.4-71.1m272.6-79.1-47.4-71.1m65.2 59.2-47.4-71.1m65.2 59.3L381 36.6",stroke:"#000",strokeWidth:14.25}),Xt.createElement("path",{d:"m357.3 238.2 59.3 39.5m-299.4-13.8L135 252m222.3-148.2L378 90m17.8-11.9 17.8-11.9",stroke:"#FFF",strokeWidth:12.5}),Xt.createElement("circle",{fill:"#CA163A",cx:256.5,cy:171,r:85.5}),Xt.createElement("path",{fill:"#0E4896",d:"M185.3 123.6c-13.1 19.6-7.8 46.2 11.9 59.3s46.2 7.8 59.3-11.9 39.6-24.9 59.3-11.9c19.6 13.1 24.9 39.6 11.9 59.3-26.2 39.3-79.3 49.9-118.6 23.7s-49.9-79.3-23.8-118.5z"}))},KW:function(e){var t=e.title,n=GTe(e,wSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 228h513v114H0z"}),Xt.createElement("path",{d:"M167 227.6 0 341.3V0l167 113.8z"}))},KY:function(e){var t=e.title,n=GTe(e,ESe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("g",{stroke:"#fff"},Xt.createElement("circle",{fill:"#059334",cx:384,cy:96.5,r:29.7}),Xt.createElement("path",{fill:"#c8102e",d:"M332.1 89H436v44.5H332.1z"}),Xt.createElement("path",{fill:"#fcea83",d:"M332.1 200.3V230h15.6c9.4 9.2 22.2 14.8 36.3 14.8 14.1 0 27-5.7 36.3-14.8h15.6v-29.7H332.1z"}),Xt.createElement("path",{fill:"#004b9e",d:"M332.1 126.1v44.5c0 39.8 51.9 51.9 51.9 51.9s51.9-12.2 51.9-51.9v-44.5H332.1z"}),Xt.createElement("path",{d:"M384 149.9c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9zm0-41.6c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9z",fill:"#F3F3F3"})),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},KZ:function(e){var t=e.title,n=GTe(e,kSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#36B6CC",d:"M0 0h513v342H0V0z"}),Xt.createElement("circle",{fill:"#FFD400",cx:256.5,cy:170.9,r:68.4}),Xt.createElement("path",{fill:"#FFD400",d:"m256.5 251.5-27.9 41.7-7.1-49.7-43.2 25.5 15.2-47.8-50 4.2 34.4-36.5-46.9-18 46.8-18-34.4-36.5 50 4.2-15.2-47.8 43.2 25.4 7.1-49.7 27.9 41.7 27.9-41.7 7.1 49.7 43.2-25.4-15.2 47.8 50-4.2-34.3 36.6 46.8 17.9-46.8 18 34.4 36.5-50-4.2 15.2 47.8-43.2-25.4-7.1 49.7c0-.1-27.9-41.8-27.9-41.8zm0-.8c44.1 0 79.9-35.8 79.9-79.9S300.6 91 256.5 91s-
179.9 35.8-79.9 79.9 35.8 79.8 79.9 79.8zM22.8 28.3c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V28.3zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V74zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm22.8-22.8c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7V245c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V188zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V96.8zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V51.2z"}))},LA:function(e){var t=e.title,n=GTe(e,SSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 .1h513v90.7H0zm0 251.2h513V342H0z",fill:"#D80027"}),Xt.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:65.9}))},LB:function(e){var t=e.title,n=GTe(e,xSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 .2h513v90.7H0zm.5 251.1H513V342H.5z",fill:"#D80027"}),Xt.createElement("path",{fill:"#6DA544",d:"M290.3 193.5 256 130.7l-34.3 62.8h25.7v17.2h17.2v-17.2z"}),Xt.createElement("path",{fill:"#14AF5A",d:"M241.3 213.1c4.4-4.4 4.4-11.6-.1-16l4.7 4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5 5.9c-6.1 1.5-6.8-.4-1.8-4.2l27.1-20.3c5.1-3.8 4.2-6.9-2.3-6.9h-11c-6.4 0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8 5.1-5.1-1.5-5.1h-11c-6.4 0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8 12.9-3.8 18.5 0l27.1 20.3c5.1 3.8 4.2 6.9-2.3 6.9h-11c-6.4 0-7 2.3-1.5 5.1l25.3 12.7c5.6 2.8 5.1 5.1-1.5 5.1h-11c-6.4 0-7.4 3.1-2.3 6.9l27.1 20.3c5.1 3.8 4.4 5.7-1.8 4.2l-23.5-5.9c-6.8-1.3-13.9.6-19.1 5.3l4.7-4.7c-4.4 4.4-4.5 11.5-.1 16l6.8 6.8c4.4 4.4 3.1 8-3.3 8h-45.8c-6.2 0-7.7-3.6-3.3-8 .1.1 6.9-6.8 6.9-6.8z"}))},LC:function(e){var t=e.title,n=GTe(e,TSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#55B2FF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#F3F3F3",d:"M148.5 298.1h216l-108-254.2z"}),Xt.createElement("path",{fill:"#333",d:"m186 272.7 70.5-160.3L327 272.7z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M148.5 298.1h216l-108-101.7z"}))},LI:function(e){var t=e.title,n=GTe(e,MSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h513v171H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M149.3 98.1c0-14-11.3-25.3-25.3-25.3-6.5 0-12.4 2.4
1-16.9 6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9h8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4-14 0-25.3 11.3-25.3 25.3 0 7.5 3.3 14.2 8.4 18.8v14.9h84.3V117c5.3-4.7 8.5-11.5 8.5-18.9z"}))},LK:function(e){var t=e.title,n=GTe(e,ASe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#A2001D",d:"M222.6 22.3h267.1v296.8H222.6z"}),Xt.createElement("path",{fill:"#D80027",d:"M22.3 22.3h200.3v296.8H22.3z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M200.3 0h22.3v342h-22.3z"}),Xt.createElement("path",{fill:"#6DA544",d:"M22.3 22.3h89v296.8h-89z"}),Xt.createElement("path",{fill:"#FF9811",d:"M111.3 22.3h89v296.8h-89z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M368.2 156.8c-1.4-2 0-37.9 0-37.9.9-7.4.1-8.4 1-11.4.9-2.9 5.4-11.6 5.4-11.6s-6-2.3-10.3-.6c-4.3 1.7-24.7-7.5-31.2 3.4-4.4 7-23.6 16.2-24.6 14-1-2.2-5.9-5-6.9-2.9s-.7 13.9 0 16c.8 2.6 9.8 2 12.3 3.1 3.7 1.8 12.2 8.2 11.9 10.7-.3 2.5-22.5-6-24.2-4.5-1.4 1.2-1.9 13.2-.4 15 1.8 2.1 23.4 5.6 25 7.5 1.6 1.9-13.1 7.4-12.3 25 .7 14.7 8 17.4 8 17.4s-2.4 3.6-7.8 3.1c-6.2-.6-27.4-17.7-27.4-17.7s-3.5-109 3.6-121.4c4.9-8.5-22.7 10.1-22.7 50.8V151c0 6.6-1.4 22.4 2.6 34 0 0-.4 46.9 1.5 49.6s12.7 2.2 14.8 0 0-30 0-30c7.7.2 18.3 17.5 32.5 16.4 20.6-1.6 28.7-9.9 34.3-5 8.1 7.1 5.5 23.2.4 31.5-2.2 3.5-14.3 4.7-15.7 7.6-1.4 2.9.5 5.4.5 5.4h29.7s1.4-20.5 2.7-26.1c1.3-5.7-.6-10.7 5.9-10.4 23.5 1.1 39.8-15.3 45.5-8 3.2 4.1 5.6 29.9 3.3 33.3-2.2 3.4-13.8 2.8-15.2 6.7-1.4 4 .8 4.4.8 4.4h29.7s-.4-21.2 2.5-27.7 4.9-10.4 9.3-17.2c4.4-6.8 11.3-15.7 11.3-36.2 0-14.2-8.1-22.8-8.1-22.8H417c-14.1.2-47.4 2.3-48.8.3zm-136-124.5c10.7-10.6 20.2-2.7 22.2 2.1 1.9 4.8 2.1 8.2 2.8 13.6.9 6.9 4.9 14 4.9 14s-7.1-3.8-14.7-4.2c-4.7-.3-9-.6-13.6-2.5-5.7-2.3-11.7-12.9-1.6-23zm248.4-.1c10.7 10.6 2.8 20.2-2 22.2s-8.2 2.1-13.6 2.8c-6.9.9-14 5-14 5s3.7-7.1 4.2-14.7c.3-4.7.6-9.1 2.4-13.6 2.2-5.7 12.8-11.8 23-1.7zm.1 276.9c-10.7 10.6-20.2 2.6-22.2-2.2-1.9-4.8-2.1-8.2-2.7-13.6-.8-6.9-4.9-14.1-4.9-14.1s7 3.8 14.7 4.3c4.7.3 9 .6 13.6 2.5 5.7 2.4 11.7 13.1 1.5 23.1zm-248.2-.1c-10.6-10.7-2.7-20.2 2.1-22.2 4.8-1.9 8.2-2.1 13.6-2.8 6.9-.9 14-4.9 14-4.9s-3.8 7.1-4.2 14.7c-.3 4.7-.6 9-2.5 13.6-2.3 5.7-12.9 11.8-23 1.6z"}),Xt.createElement("path",{fill:"none",stroke:"#FFDA44",strokeWidth:6,strokeMiterlimit:10,d:"M446.9 162.4s7.5-2.6 8.4-16.1c.6-8.6-19.8-16-39-11.5-19.7 4.6-34-3.1-34-14.6 0-22.9 29.7-16.2 38.9-11.3 9.1 4.9 29.7 23.5 35.1 9.4"}))},LR:function(e){var t=e.title,n=GTe(e,LSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v31.1H0zm0 62.2h513v31.1H0zm0 62.3h513v31.1H0zm0 62.3h513v31.1H0zm0 62.5h513v31.1H0zm0 61.6h513V342H0z",fill:"#bf0a30"}),Xt.createElement("path",{fill:"#002868",d:"M0 0h155.6v155.6H0z"}),Xt.createElement("path",{fill:"#FFF",d:"m77.8 30.2 10.7 32.9h34.6l-28 20.4 10.7 32.9-28-20.3-28 20.3 10.7-32.9-28-20.4h34.6z"}))},LS:function(e){var t=e.title,n=GTe(e,PSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 227.6h513v114H0z"}),Xt.createElement("path",{d:"m245.2 171 7.7-23.1c2-5.9 5.1-6 7.1 0l7.7 23.1 19.4 29.1c1.7 2.6 1.3 6.3-1.2 8 0 0-6.9 8-29.5 8s-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8l19.5-29.1z"}),Xt.createElement("path",{d:"M256.5 171c-12.5 0-22.6-10.1-22.6-22.6 0-12.5 10.1-22.6 22.6-22.6s22.6 10.1 22.6 22.6c0 12.5-10.2 22.6-22.6 22.6zm0 0c6.2 0 11.3-16.3 11.3-22.6 0-6.2-5.1-11.3-11.3-11.3-6.2 0-11.3 5.1-11.3 11.3 0 6.3 5 22.6 11.3 22.6z"}))},LT:function(e){var t=e.title,n=GTe(e,RSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#6DA544",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 228h513v114H0z"}))},LU:function(e){var t=e.title,n=GTe(e,OSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#338AF3",d:"M0 228h513v114H0z"}))},LV:function(e){var t=e.title,n=GTe(e,DSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{className:"prefix__st1",d:"M0 0h513v127.6H0zm0 214.4h513V342H0z",fill:"#A2001D"}))},LY:function(e){var t=e.title,n=GTe(e,ISe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#496E2D",d:"M0 228h513v114H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"m281.4 150.7 9 12.3 14.5-4.7-9 12.4 9 12.3-14.5-4.7-9 12.3v-15.2l-14.5-4.7 14.5-4.7z"}),Xt.createElement("path",{d:"M257 201.5c-17 0-30.9-13.8-30.9-30.9s13.8-30.9 30.9-30.9c5.3 0 10.3 1.3 14.7 3.7-6.9-6.7-16.2-10.8-26.6-10.8-21 0-38 17-38 38s17 38 38 38c10.3 0 19.7-4.1 26.6-10.8-4.4 2.4
1-9.4 3.7-14.7 3.7z"})))},MA:function(e){var t=e.title,n=GTe(e,_Se);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#d12a46",d:"M0 .3V342h513V.3z"}),Xt.createElement("path",{fill:"#316525",d:"M359.8 148.9h-73.3l-22.7-69.7-22.7 69.7h-73.3l59.3 43.1-22.7 69.7 59.3-43.1 59.3 43.1-22.5-69.7 59.3-43.1zm-116.1 37.7 7.7-23.6h24.8l7.7 23.6-20.1 14.6-20.1-14.6zm27.9-37.7H256l7.8-24 7.8 24zm24.3 29-4.8-14.9h25.3l-20.5 14.9zM236.6 163l-4.8 14.9-20.5-14.9h25.3zm-5.3 61.8 7.8-24 12.6 9.2-20.4 14.8zm44.5-14.9 12.6-9.2 7.8 24-20.4-14.8z"}))},MC:function(e){var t=e.title,n=GTe(e,FSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 171h513v171H0z"}),Xt.createElement("path",{fill:"#ce1126",d:"M0 0h513v171H0z"}))},MD:function(e){var t=e.title,n=GTe(e,$Se);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#AF7F59",stroke:"#231F20",strokeWidth:3,strokeMiterlimit:10,d:"m240.4 105.7 9.7 11.6-7.5 17.4-26.1-24.3-12.7 13.2v106.1l24.6-36 20.6 12.4-18 27.8 25.2 15.8 26.5-15.8-19.7-27.8 22.3-12.4 23.9 33.8v-106l-12.4-12-26.8 24.7-6.5-16.5 3.5-12.3-11.7-7.5z"}))},ME:function(e){var t=e.title,n=GTe(e,NSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#ffc000",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#e30000",d:"M20 20h473v302H20z"}),Xt.createElement("path",{fill:"#ffc000",d:"M248.5 112.9c4.4 4.4 11.6 4.4 16 0l-4.7 4.7 22.7-22.7c4.9-4.5 12.1-5.6 18.2-2.8l2.1 1c5.7 2.9 6.7 8.7 2.3 13.1l4.7-4.7-22.8 22.8c-4.5 4.9-5.6 12.1-2.8 18.2l1 2.1c2.9 5.7 5.1 15.4 5.1 21.6v-11.3c0 6.2 4.4 9.1 10.2 6.2l2.1-1c5.7-2.9 6.7-8.7 2.3-13.1l4.7 4.7c-4.4-4.4-4.4-11.6 0-16l-4.7 4.7c5.2-5.5 9.6-11.6 13.1-18.2l1-2.1c2.9-5.7 6.3-15.1 7.9-21.2l5.8-23.3c1.5-6 5.9-6.8 9.6-1.8l20.2 26.9c3.8 5.1 6.9 14 6.9 20.6v22.4c0 6.3-2.2 15.8-5.1 21.7l-1 2.1c-3.5 6.6-7.9 12.7-13.1 18.2l-6.8 6.8c-5.4 5.2-11.5 9.6-18.2 13.1l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.2 0-6.9 2.2-1.1 5.1l2.1 1c5.7 2.9 13.8 8.7 18.2 13.1l-4.7-4.7c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L339 226c4.6 4.9 5.7 12.1 2.9 18.2l-1 2.1c-2.9 5.7-10.4 10.2-16.4 10.2-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7c-4.4 4.7-5.2 11.8-1.8 17.3l10.3 15.4c3.4 5.1 2 12.1-3.1 15.5L266 284.4c-5.7 3.4-12.8 3.4-18.6 0L232 274.1c-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5 2.6-12.6-1.8-17.3l4.7 4.7c-4.4-4.4-10.2-3.6-13.1 2.3l-1 2.1c-2.9 5.7-9.5 12.4-15.4 15.4l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.9-.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3 2.9-18.2l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L181 226c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c5.5-5.2 11.6-9.6 18.2-13.1l2.1-1c5.7-2.9 5-5.1-1.1-5.1-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1c-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3 3.1-15.6 6.9-20.6l20.2-26.9c3.8-5.1 8.1-4.3 9.6 1.8l5.8 23.3c2 7.3 4.6 14.4 7.9 21.2l1 2.1c2.9 5.7 8.7 13.8 13.1 18.2l-4.7-4.7c4.4 4.4 4.4 11.6 0 16l4.7-4.7c-4.4 4.4-3.6 10.2 2.3 13.1l2.1 1c5.7 2.9 10.2 0 10.2-6.2v11.3c0-6.2 2.2-15.7 5.1-21.6l1-2.1c2.8-6.1 1.7-13.2-2.8-18.2l-22.7-22.7 4.7 4.7c-4.4-4.4-3.6-10.2 2.3-13.1l2.1-1c6.1-2.8 13.2-1.7 18.2 2.8l22.7 22.7-4.8-4.5zm-18-40.7c-4.4-4.4-3.2-9.5 2.8-11.5l12.4-4.2c3-1 6.9-7.5 10.8-7.5 3.9 0 7.8 6.5 10.8 7.5l12.4 4.2c6 2 7.2 7.1 2.8 11.5l-6.8 6.8c-5.3 4.7-12.1 7.5-19.2 7.9-6.2 0-14.8-3.5-19.2-7.9l-6.8-6.8z"}),Xt.createElement("path",{fill:"#0371ba",d:"M275 201.3h-37c-4.9 0-8.8-3.9-8.8-8.8v-34.2c0-4.9 3.9-8.8 8.8-8.8h37c4.9 0 8.8 3.9 8.8 8.8v34.2c0 4.8-3.9 8.8-8.8 8.8z"}),Xt.createElement("path",{fill:"#39B54A",d:"m230.8 212.8 24.4 17.9c.8.6 1.8.6 2.6 0l24.4
1-17.9c2.1-1.6 1.2-5.4-1.3-5.4h-48.8c-2.5 0-3.4 3.9-1.3 5.4z"}),Xt.createElement("path",{fill:"#ffc000",d:"M262.8 186.5h-12.5c-3.3 0-5.9-2.6-5.9-5.9V170c0-3.3 2.6-5.9 5.9-5.9h12.5c3.3 0 5.9 2.6 5.9 5.9v10.6c-.1 3.3-2.7 5.9-5.9 5.9z"}))},MF:function(e){var t=e.title,n=GTe(e,BSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 108 72"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 0h108v72H0z",fill:"#003787"}),Xt.createElement("path",{d:"M0 0h108L60 48v24H48V48z",fill:"#fff"}),Xt.createElement("circle",{cx:54,cy:30,r:8,fill:"#f9d90f"}),Xt.createElement("path",{d:"M44 30h20L54 48z",fill:"#fff"}),Xt.createElement("path",{d:"M54 48 38 33h32z",fill:"#cf142b"}))},MG:function(e){var t=e.title,n=GTe(e,jSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#f9423a",d:"M0 0h513v171H0z"}),Xt.createElement("path",{fill:"#00843d",d:"M0 171h513v171H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 0h171v342H0z"}))},MH:function(e){var t=e.title,n=GTe(e,zSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#1E509C",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M513 176.1V81.3L0 342l513-165.9z"}),Xt.createElement("path",{fill:"#F18D36",d:"M513 0v81.3L0 342 513 0z"}),Xt.createElement("path",{fill:"#FFF",d:"m126.7 99.3-7.8-54.1-7.7 54.1-20.8-23.7 10.7 31.6-31.5-10.7 23.6 20.8-54.1 7.7 54.1 7.7-23.6 20.8 31.5-10.7-10.7 31.6 20.8-23.7 7.7 54.1 7.8-54.1 20.7 23.7-10.6-31.6 31.5 10.7-23.6-20.8 54-7.7-54-7.7 23.6-20.8-31.5 10.7 10.6-31.6z"}))},MK:function(e){var t=e.title,n=GTe(e,VSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M384.6 342 256.5 167.3 283.4 342zM133.8 0l122.7 167.3L230.8 0zm95.8 342 26.9-174.7L128.4 342zM0 0v127.8l256.5 39.5L28.4 0zm0 342h18.2l238.3-174.7L0 206.7zm256.5-174.7L513 127.8V0h-28.4zM282.2 0l-25.7 167.3L379.2 0z"}),Xt.createElement("path",{d:"M513 342V206.7l-256.5-39.4L494.8 342z"}),Xt.createElement("circle",{cx:256.5,cy:171,r:59.5})),Xt.createElement("circle",{fill:"#FFDA44",cx:256.5,cy:171,r:44.5}))},ML:function(e){var t=e.title,n=GTe(e,HSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#14b53a",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#fcd116",d:"M171 0h171v342H171z"}),Xt.createElement("path",{fill:"#ce1126",d:"M342 0h171v342H342z"}))},MM:function(e){var t=e.title,n=GTe(e,USe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#fecb00",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#34b233",d:"M0 114h513v114H0z"}),Xt.createElement("path",{fill:"#ea2839",d:"M0 228h513v114H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M384.8 142.2h-98L256.5 49l-30.3 93.2h-98l79.3 57.6-30.3 93.2 79.3-56.9 79.3 56.9-30.3-93.2 79.3-57.6z"}))},MN:function(e){var t=e.title,n=GTe(e,WSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0066b2",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M342 0h171v342H342zM0 0h171v342H0z",fill:"#da2031"}),Xt.createElement("g",{fill:"#ffd300"},Xt.createElement("path",{d:"M108.3 166.3h14.8v74.2h-14.8zm-59.4 0h14.8v74.2H48.9z"}),Xt.createElement("circle",{cx:86,cy:203.4,r:14.8}),Xt.createElement("path",{d:"M71.2 225.7h29.7v14.8H71.2zm0-59.4h29.7v14.8H71.2z"}),Xt.createElement("circle",{cx:86,cy:144,r:14.8}),Xt.createElement("path",{d:"M76.3 123.9h19.5L86 108.3z"})))},MO:function(e){var t=e.title,n=GTe(e,GSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0F7562",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M286.2 168.5c-4.2 0-8.2.8-11.9 2.2 2-4.5 3.4-9.5 3.4-14.9 0-21.2-21.2-37.1-21.2-37.1s-21.2
115.9-21.2 37.1c0 5.4 1.4 10.4 3.4 14.9-3.7-1.3-7.7-2.2-11.9-2.2-25.6 0-37.1 11.2-37.1 11.2s15.9 31.2 37.1 31.2c12.4 0 23-7.3 29.7-13.3 6.6 6 17.3 13.3 29.7 13.3 21.2 0 37.1-31.2 37.1-31.2s-10.8-11.2-37.1-11.2zm-29.7-96.8 4.4 13.5h14.2l-11.5 8.3L268 107l-11.5-8.3L245 107l4.4-13.5-11.5-8.3h14.2zm-53.9 23.6 8.4 7.6 9.9-5.7-4.7 10.4 8.5 7.6-11.3-1.2-4.6 10.3-2.4-11.1-11.3-1.1 9.9-5.7zm-39.4 39.5 11.1 2.3 5.6-9.8 1.2 11.3 11.1 2.3-10.4 4.6 1.2 11.3-7.6-8.4-10.3 4.6 5.6-9.8zm147.2-39.5-8.4 7.6-9.9-5.7 4.7 10.4-8.5 7.6 11.3-1.2 4.6 10.3 2.4-11.1 11.3-1.1-9.9-5.7zm39.4 39.5-11.1 2.3-5.6-9.8-1.2 11.3-11.1 2.3 10.4 4.6-1.2 11.3 7.6-8.4 10.3 4.6-5.6-9.8z",fill:"#FFDA44"}),Xt.createElement("path",{d:"M256.5 270.3c16.8 0 32.4-5.6 44.8-15.1h-89.6c12.4 9.4 28 15.1 44.8 15.1zm-68-44.6c2.4 5.4 5.3 10.4 8.9 15.1H238c13.9 0 18.5-7 18.5-7s5.3 7 18.6 7h40.6c3.5-4.6 6.5-9.7 8.9-15.1h-49.5c-15.5 0-18.6-10-18.6-10s-5.3 10-18.5 10h-49.5z",fill:"#FFF"}))},MP:function(e){var t=e.title,n=GTe(e,qSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 750 500"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0071BC",d:"M0 0h750v500H0V0z"}),Xt.createElement("g",{fill:"#FFF",stroke:"#000",strokeWidth:1.9},Xt.createElement("circle",{cx:375,cy:245,r:225,fill:"#fff"}),Xt.createElement("circle",{cx:375,cy:245,r:165,fill:"#0071BC"})),Xt.createElement("g",{stroke:"#000"},Xt.createElement("path",{fill:"#8C8A8C",strokeWidth:1.9,d:"M444.7 450c.7 11-7.8 20-18.8 20H323.6c-11 0-19.5-9-19-20l16.7-325c.6-11 10-20 21-20h61.4c11 0 20.5 9 21.2 20l19.8 325z"}),Xt.createElement("path",{fill:"#FFF",strokeWidth:2,strokeLinejoin:"round",d:"m373 114 30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z"})))},MQ:function(e){var t=e.title,n=GTe(e,KSe);return Xt.createElement("svg",WTe({viewBox:"0 0 900 600",xmlns:"http://www.w3.org/2000/svg"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#231f1e",d:"M0 0h900v600H0z"}),Xt.createElement("path",{fill:"#00a650",d:"M0 0h900v300H0z"}),Xt.createElement("path",{fill:"#ef1923",d:"m0 0 450 300L0 600z"}))},MR:function(e){var t=e.title,n=GTe(e,YSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#00a95c",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#d01c1f",d:"M0 0h513v46H0zm0 296h513v46H0z"}),Xt.createElement("path",{fill:"gold",d:"M256 213.9c-46 0-84.3-32.3-93.8-75.4-1.4 6.6-2.2 13.5-2.2 20.6 0 53 43 96 96 96s96-43 96-96c0-7.1-.8-13.9-2.2-20.6-9.5 43.1-47.8 75.4-93.8 75.4z"}),Xt.createElement("path",{fill:"gold",d:"m256 87 8.9 27.5h29l-23.4 17 8.9 27.5-23.4-17-23.4 17 8.9-27.5-23.4-17h29z"}))},MS:function(e){var t=e.title,n=GTe(e,ZSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#00A2B8",stroke:"#FFF",strokeWidth:3,d:"M318.2 106.7v106.5c0 51.9 67.8 67.8 67.8 67.8s67.8-15.9 67.8-67.8V106.7H318.2z"}),Xt.createElement("path",{fill:"#A35023",d:"M319.7 212.7c0 50.8 66.3 66.3 66.3 66.3s66.3-15.6 66.3-66.3H319.7z"}),Xt.createElement("path",{fill:"#510",d:"M415.1 155.1h-19.4v-19.4h-19.4v19.4H357v19.4h19.3v58.1h19.4v-58.1h19.4z"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},MT:function(e){var t=e.title,n=GTe(e,QSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#cf142b",d:"M256 0h256.5v342H256z"}),Xt.createElement("path",{stroke:"#cf142b",strokeWidth:10,d:"M101.2 68.2V33H66v35.2H30.8v35.2H66v35.2h35.2v-35.2h35.2V68.2z"}),Xt.createElement("path",{fill:"#fff",stroke:"#acacac",strokeWidth:5,d:"M101.2 68.2V33H66v35.2H30.8v35.2H66v35.2h35.2v-35.2h35.2V68.2z"}),Xt.createElement("circle",{cx:85,cy:85,r:26,fill:"none",stroke:"#acacac",strokeWidth:5}),Xt.createElement("circle",{cx:85,cy:85,r:18,fill:"#dedede",stroke:"#acacac",strokeWidth:5}))},MU:function(e){var t=e.title,n=GTe(e,XSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#d01c1f",d:"M0 0h513v85.5H0z"}),Xt.createElement("path",{fill:"#2d3359",d:"M0 85.5h513V171H0z"}),Xt.createElement("path",{fill:"#f7b718",d:"M0 171h513v85.5H0z"}),Xt.createElement("path",{fill:"#008658",d:"M0 256.5h513V342H0z"}))},MV:function(e){var t=e.title,n=GTe(e,JSe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 720 480"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#007E3A",stroke:"#D21034",strokeWidth:120,d:"M60 60h600v360H60z"}
1),Xt.createElement("circle",{fill:"#FFF",cx:390,cy:240,r:80}),Xt.createElement("circle",{fill:"#007E3A",cx:420,cy:240,r:80}))},MW:function(e){var t=e.title,n=GTe(e,exe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#ce1126",d:"M0 114h513v114H0z"}),Xt.createElement("path",{fill:"#339e35",d:"M0 228h513v114H0z"}),Xt.createElement("circle",{fill:"#ce1126",cx:256.5,cy:125,r:95}),Xt.createElement("path",{d:"M0 100h513v14H0z"}))},MX:function(e){var t=e.title,n=GTe(e,txe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#dc2339",d:"M342 0H0v341.3h513V0z"}),Xt.createElement("path",{fill:"#11865d",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M171 0h171v342H171z"}),Xt.createElement("path",{fill:"#8C9157",d:"M195.8 171.2c0 21.6 11.5 41.7 30.3 52.5 5.8 3.4 13.2 1.4 16.6-4.4 3.4-5.8 1.4-13.2-4.4-16.6-11.3-6.5-18.2-18.5-18.2-31.5 0-6.7-5.4-12.1-12.1-12.1-6.7 0-12.2 5.4-12.2 12.1zm93.4 51.1c17.5-11.1 28-30.4 28-51.1 0-6.7-5.4-12.1-12.1-12.1s-12.1 5.4-12.1 12.1c0 12.4-6.3 24-16.8 30.7-5.7 3.5-7.5 10.9-4.1 16.7s10.9 7.5 16.7 4.1c0-.2.2-.3.4-.4z"}),Xt.createElement("ellipse",{fill:"#C59262",cx:256.5,cy:159.1,rx:24.3,ry:36.4}))},MY:function(e){var t=e.title,n=GTe(e,nxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0zm0 48.9h513V171H0zm0 48.8h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0z",fill:"#c00"}),Xt.createElement("path",{fill:"#006",d:"M0 0h256.5v195.4H0z"}),Xt.createElement("path",{d:"M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z",fill:"#fc0"}))},MZ:function(e){var t=e.title,n=GTe(e,rxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#006d66",d:"M0 0h513v104H0z"}),Xt.createElement("path",{d:"M0 119h513v104H0z"}),Xt.createElement("path",{fill:"#f4d900",d:"M0 238h513v104H0z"}),Xt.createElement("path",{fill:"#cb0f31",d:"M256 171 0 342V0z"}),Xt.createElement("path",{fill:"#f4d900",d:"m83.5 109.8 15.1 46.5h48.9L107.9 185l15.1 46.5-39.5-28.7-39.6 28.7L59 185l-39.5-28.7h48.9z"}))},NA:function(e){var t=e.title,n=GTe(e,ixe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#009a44",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#002f6c",d:"M0 342V0h513"}),Xt.createElement("path",{fill:"#FFF",d:"M513 67V0H412.5L0 275v67h100.5z"}),Xt.createElement("path",{fill:"#c8102e",d:"M513 0v40.2L60.3 342H0v-40.2L452.7 0z"}),Xt.createElement("path",{fill:"#ffcd00",d:"m188.1 104.1-22.8 10.7 12.2 22.1-24.8-4.8-3.1 25-17.3-18.4-17.2 18.4-3.1-25-24.8 4.8 12.2-22.1-22.8-10.7 22.8-10.7-12.2-22.1L112 76l3.1-25 17.2 18.4L149.6 51l3.1 25 24.8-4.7-12.2 22.1z"}))},NC:function(e){var t=e.title,n=GTe(e,oxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#009543",d:"M0 234.8h513V342H0V234.8z"}),Xt.createElement("path",{fill:"#ED4135",d:"M0 105.8h513v129.3H0V105.8z"}),Xt.createElement("path",{fill:"#0035AD",d:"M0 0h513v106.8H0V0z"}),Xt.createElement("circle",{fill:"#FAE600",stroke:"#000",strokeWidth:5.3,cx:192.4,cy:171,r:126.1}),Xt.createElement("path",{d:"m246.8 284.1-25.5 9.6-28.9 3.4-30.3-1.9-28.8-12.4s22.9-23.5 32.6-26.9c6.9-2.4 18-3 18-3V97.8l-.2-52.9h13.5l-.4 54.1v153.7s12.3 1 17.7 3.3c9 3.8 32.3 28.1 32.3 28.1z"}),Xt.createElement("path",{d:"m168.3 80.8 39.5-19.7 5.1 10.3-39.5 19.7-5.1-10.3z"}),Xt.createElement("ellipse",{cx:190.6,cy:224.8,rx:13.5,ry:21.2}),Xt.createElement("circle",{cx:190.3,cy:114.9,r:16.8}),Xt.createElement("ellipse",{cx:191.1,cy:169.2,rx:16,ry:9.7}),Xt.createElement("path",{d:"M171.4 146.7h37.7v8h-37.7zm0 36h37.7v8h-37.7z"}),Xt.createElement("g",{fill:"none",stroke:"#000",strokeWidth:10,strokeMiterlimit:10},Xt.createElement("path",{d:"M163.4 112.2s.8 26.8 27.3 26.8 26.5-26.8 26.5-26.8"}),Xt.createElement("path",{className:"prefix__st4",d:"M163.4 224.8s1.9-26.6 27.3-26.6 26.5 26.6 26.5 26.6"})))},NE:function(e){var t=e.title,n=GTe(e,axe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#e05206",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#0db02b",d:"M0 228h513v114H0z"}),Xt.createElement("circle",{fill:"#e05206",cx:256.5,cy:171,r:32}))},NF:function(e){var t=e.title,n=GTe(e,sxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342zm-38 227L256 75l-48 152h41v40h14v-40z",fill:"#007934"}))},NG:function(e){var t=e.title,n=GTe(e,lxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#008751"}))},NI:function(e){var t=e.title,n=GTe(e,cxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#0067c6"}),Xt.createElement("circle",{fill:"none",stroke:"#FFDA44",strokeWidth:5,cx:256.5,cy:171,r:50}),Xt.createElement("path",{fill:"#0a47a5",d:"M285.7 176.7h-58.4l-9.8 16.9h78z"}),Xt.createElement("path",{fill:"#6fd8f3",d:"m256.5 126.1-29.2 50.6h58.4z"}),Xt.createElement("path",{fill:"#97c924",d:"M221.7 186.4h69.6l-8-13.9h-53.6z"}),Xt.createElement("circle",{fill:"red",cx:256.5,cy:161,r:5}))},NL:function(e){var t=e.title,n=GTe(e,uxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0z"}),Xt.createElement("path",{fill:"#cd1f2a",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#1d4185",d:"M0 228h513v114H0z"}))},NO:function(e){var t=e.title,n=GTe(e,dxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M513 211H202.6v131h-79.9V211H0v-80h122.7V0h79.9v131H513v61.4z"}),Xt.createElement("path",{fill:"#1f3f7a",d:"M513 149.6v42.8H184V342h-42.7V192.4H0v-42.8h141.3V0H184v149.6z"}))},NP:function(e){var t=e.title,n=GTe(e,hxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 342V-.2L281.1 175H87.8l184 167z"}),Xt.createElement("path",{fill:"#D80027",d:"M243.4 164.8 9.2 19.3v313.5h235.2l-184.1-168z"}),Xt.createElement("path",{fill:"#FFF",d:"m62.4 204.1 7.9 16.2 14.9-10.1-1.3 18 18-1.3-10.1 14.9 16.2 7.9-16.2 7.8 10.1 15-18-1.3 1.3 17.9L70.3 279l-7.9 16.2-7.8-16.2-14.9 10.1 1.3-17.9-18 1.3 10.1-15-16.2-7.8 16.2-7.9L23 226.9l18 1.3-1.3-18 14.9 10.1zm-5.3-103.7 5.3 7.7 5.4-7.7 2 9.1 7.9-5-1.7 9.2 9.3-1.7-5.1 7.9 9.2 2-7.8 5.4 7.8 5.3-9.2 2 5.1 7.9-9.3-1.7 1.7 9.3-7.9-5.1-2 9.2-5.4-7.7-5.3 7.7-2-9.2-7.9 5.1 1.7-9.3-9.3 1.7 5.1-7.9-9.2-2 7.7-5.3-7.7-5.4 9.2-2-5.1-7.9 9.3 1.7-1.7-9.2 7.9 5z"}),Xt.createElement("path",{fill:"#FFF",d:"M18.5 108.7s4.8 27.7 44 27.7 44-27.7 44-27.7c0 9.4-6 46.5-44 46.5s-44-38.2-44-46.5z"}))},NR:function(e){var t=e.title,n=GTe(e,fxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#ffc72c",d:"M0 155h513v32H0z"}),Xt.createElement("path",{fill:"#FFF",d:"m164.2 189 7.9 27.7 20.7-20-7 27.9 28-7-20.1 20.7 27.8 7.9-27.8 7.9 20.1 20.7-28-7 7 28-20.7-20.1-7.9 27.8-7.9-27.8-20.7 20.1 7-28-27.9 7 20-20.7-27.7-7.9 27.7-7.9-20-20.7 27.9 7-7-27.9 20.7 20z"}))},NU:function(e){var t=e.title,n=GTe(e,pxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#fedd00",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})),Xt.createElement("circle",{fill:"#012169",cx:126.8,cy:85.7,r:29.9}),Xt.createElement("path",{d:"m128.3 128.6 3.5 10.9h11.5l-9.3 6.7 3.5 10.9-9.2-6.7-9.3 6.7 3.5-10.9-9.2-6.7h11.4zm-.1-115.4 3.6 10.9h11.4l-9.2 6.7 3.5 10.9-9.3-6.7-9.2 6.7 3.5-10.9-9.3-6.7h11.5zm76.4 58.1 3.5 10.9h11.5l-9.3 6.7 3.5 10.9-9.2-6.7-9.3 6.7 3.5-10.9-9.2-6.7H201zm-151.8.1 3.6 10.9h11.4l-9.3 6.8 3.6 10.8-9.3-6.7-9.3 6.7 3.6-10.8-9.3-6.8h11.5zm74-15.6 6.7 20.7h21.8l-17.7 12.8 6.8 20.6-17.6-12.7-17.7 12.7 6.8-20.6-17.6-12.8H120z",fill:"#fedd00"}))},NZ:function(e){var t=e.title,n=GTe(e,mxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"m448.9 107.7 4.2 13.1h13.8l-11.1 8.1L460 142l-11.1-8.1-11.1 8.1 4.2-13.1-11.1-8.1h13.7zm-64.2 145.9 5.1 15.6h16.4l-13.2 9.7 5 15.6-13.3-9.7-13.2 9.7 5-15.6-13.3-9.7h16.5zm.1-210.2 4.7 14.6h15.3l-12.4 8.9 4.7 14.6-12.3-9-12.4 9 4.7-14.6-12.3-8.9H380zm-64.2 86 4.7 14.5h15.3l-12.3 9 4.7 14.5-12.4-8.9-12.3 8.9 4.7-14.5-12.4-9h15.3z",fill:"#D80027",stroke:"#FFF",strokeWidth:2,strokeMiterlimit:10}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},OM:function(e){var t=e.title,n=GTe(e,gxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M138 0h377v114H138z"}),Xt.createElement("path",{fill:"#4A7C3A",d:"M138 230h377v114H138z"}),Xt.createElement("g",{fill:"none",stroke:"#FFF",strokeWidth:10,strokeMiterlimit:2},Xt.createElement("path",{d:"M40.3 35.2s37.1 48 50.8 54.5c13.7 6.5 17.1 5.7 17.1 5.7"}),Xt.createElement("path",{d:"M100 35.2S62.9 80.6 53.3 87.6c-9.6 7-18.7 7.8-18.7 7.8m17.1-30.1h37.9M70.7 35.2v30.1"})))},PA:function(e){var t=e.title,n=GTe(e,vxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#da121a",d:"M256.5 0H513v171H256.5z"}),Xt.createElement("path",{fill:"#072357",d:"M0 171h256.5v171H0zM128 37.9l11.8 36.4h38.3l-31 22.4 11.9 36.4-31-22.5-31 22.5 11.9-36.4-31-22.4h38.3z"}),Xt.createElement("path",{fill:"#da121a",d:"m384 208.9 11.8 36.4h38.3l-31 22.4 11.9 36.4-31-22.5-31 22.5 11.9-36.4-31-22.4h38.3z"}))},PE:function(e){var t=e.title,n=GTe(e,yxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#D80027"}),Xt.createElement("path",{fill:"#00A854",d:"M224.3 119c4.3 7.6-17.1 71.9-6.5 87.8s21.9 22.4 38.2 22.4c16.3 0 30.7-6.8 39.6-24.7s-14.2-76.3-6.8-85.4c7.4-9.1 29.3 8.5 35.5 35.2 6.2 26.7-8.4 60.2-20.7 70-12.3 9.7-20.3 9.7-47.6 9.7s-32.4-1.4-45-10.7c-12.5-9.4-28.9-35.8-22.7-67.3 6.2-31.7 31.7-44.6 36-37z"}),Xt.createElement("path",{fill:"#D91023",stroke:"#E7CA00",strokeWidth:2,d:"M272.6 218.9H240c-7.5 0-13.6-6.1-13.6-13.6v-45c0-7.5 6.1-13.6 13.6-13.6h32.6c7.5 0 13.6 6.1 13.6 13.6v45c.1 7.5-6 13.6-13.6 13.6z"}),Xt.createElement("ellipse",{fill:"#E7CA00",cx:256.4,cy:200.9,rx:25,ry:13.2}),Xt.createElement("path",{fill:"#FFF",d:"M256.4 147.6v35.1h28.9c0-38.3 3.9-35.1-28.9-35.1z"}),Xt.createElement("path",{fill:"#007EA8",d:"M256.4 147.6v35.1h-28.9c0-37.9-3.7-35.1 28.9-35.1z"}),Xt.createElement("path",{fill:"#947245",d:"M270.1 158.1h1.6v21.5h-1.6z"}
1),Xt.createElement("circle",{fill:"#D18219",stroke:"#FFF",cx:241.8,cy:165.2,r:8.1}),Xt.createElement("ellipse",{fill:"none",stroke:"#00A854",strokeWidth:6,cx:256.4,cy:122.2,rx:20.5,ry:16.5}),Xt.createElement("ellipse",{fill:"none",stroke:"#E7CA00",strokeWidth:3,cx:256.4,cy:122.2,rx:20.5,ry:16.5}),Xt.createElement("circle",{fill:"#E7CA00",cx:270.9,cy:163.1,r:8.9}))},PF:function(e){var t=e.title,n=GTe(e,bxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v85H0zm0 257h513v85H0z",fill:"#D80027"}),Xt.createElement("path",{fill:"#1481DB",d:"M329.5 171c0 40.3-32.7 73-73 73s-73-32.7-73-73"}),Xt.createElement("path",{fill:"#FFAB50",d:"M256.5 98c-40.3 0-73 32.7-73 73h146c0-40.3-32.7-73-73-73z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M181.9 169.3h150.5v4.5H181.9z"}),Xt.createElement("path",{d:"M222.4 162.9h66.5v10.9h-66.5z"})),Xt.createElement("path",{d:"M212.8 131.1H223s-1.6 55.5.1 57.4c11.9 13.5 25.3 0 25.3 0s-2.7 18.9-17.8 18.9-17.8-18.7-17.8-18.7v-57.6zm85.6 0h-10.2s1.6 55.5-.1 57.4c-11.9 13.5-25.3 0-25.3 0s2.7 18.9 17.8 18.9c15.1 0 17.8-18.7 17.8-18.7v-57.6zM242.6 156l25.9 6.9v-36.4s-14-3.8-14-16.8 14-9.6 14-9.6-25.9-4.6-25.9 8.1V156z",fill:"#D80027",stroke:"#630810",strokeWidth:2}))},PG:function(e){var t=e.title,n=GTe(e,Cxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#C8102E",d:"M0 0h513v342"}),Xt.createElement("path",{d:"m153.7 225 2.7 8.5h9l-7.2 5.2 2.7 8.6-7.2-5.3-7.3 5.3 2.8-8.6-7.3-5.2h9zm-25.3-120 5.2 16h16.8l-13.6 9.9 5.2 16-13.6-9.9-13.6 9.9 5.2-16-13.6-9.9h16.8zm0 160.3 5.2 16h16.8l-13.6 9.9 5.2 16-13.6-9.9-13.6 9.9 5.2-16-13.6-9.9h16.8zm50.7-96.1 5.2 16h16.8l-13.6 9.9 5.2 16-13.6-9.9-13.6 9.9 5.2-16-13.6-9.9h16.8zm-107.3 4.1 5.2 16h16.8l-13.6 9.9 5.2 15.9-13.6-9.8-13.6 9.8 5.2-15.9-13.6-9.9h16.8z",fill:"#FFF"}),Xt.createElement("g",{fill:"#FFCD00"},Xt.createElement("path",{d:"M288 79.9s33 13.8 30 19.7c-2.9 5.9-17.4-7.1-30-3.5-12.7 3.5-28.6 32.4-28.6 32.4s18.6 2.7 34.2 1.5c15.6-1.2 19.7-7.4 19.7-7.4s.7 15.3 12.7 24.3c18.2 13.6 56.2 22.3 56.2 22.3s.6-6.5-2.7-20.7-8-21.4-8-21.4 55.7 38.3 51.2 59.3-30.1 19.6-30.1 19.6 28.4 12.5 37.4-13.5c12.4-35.6-42.4-65.2-42.4-65.2s6.5 3.1 17.1 4.6 20.3-.3 20.3-.3-13.8-43.6-29.2-52.1c-15.3-8.5-37.1-.9-37.1-.9s9.1-5.9 10-15.9c.9-10-3.5-24.1-3.5-24.1-50.1 21.2-21.2 41.2-33 49.2-2 1.4-9.5-9.9-18.8-8.2-11.5 1.8-25.4.3-25.4.3z"}),Xt.createElement("path",{d:"M404.7 131.8s15.3 17.7 8.2 35.9c-7.1 18.3-37.7 13.5-37.7 13.5s24.7 13.9 40.6-5.3-2.4-43.6-2.4-43.6l-8.7-.5z"})))},PH:function(e){var t=e.title,n=GTe(e,wxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#0038A8",d:"M513 0v171H256.5L0 0z"}),Xt.createElement("path",{fill:"#CE1126",d:"M513 171v171H0l256.5-171z"}),Xt.createElement("g",{fill:"#FCD116"},Xt.createElement("path",{d:"m22.1 33.8 8.5 11.9 13.8-4.5-8.6 11.7 8.5 11.8-13.8-4.6-8.6 11.7V57.2L8.2 52.7 22 48.4zm0 236.4 8.5 11.8 13.8-4.4-8.6 11.7 8.5 11.8-13.8-4.6-8.6 11.7v-14.6l-13.7-4.5 13.8-4.3zM210.5 152l-8.5 11.8-13.8-4.4 8.6 11.7-8.4 11.8 13.7-4.6 8.6 11.7v-14.6l13.7-4.5-13.8-4.3z"}),Xt.createElement("circle",{cx:95,cy:171,r:32}),Xt.createElement("path",{d:"m95 171 11.2 56.5-3.4 3.4-3.7 3.5-4.2 4.2-4.2-4.2-3.7-3.5-3.4-3.4L95 171zm0 0-11.2-56.5 3.4-3.4 3.7-3.5 4.2-4.2 4.2 4.2 3.7 3.5 3.4 3.4L95 171zm0 0 56.5-11.2 3.4 3.4 3.5 3.7 4.2 4.2-4.2 4.2-3.5 3.7-3.4 3.4L95 171zm0 0-56.5 11.2-3.4-3.4-3.5-3.7-4.2-4.2 4.2-4.2 3.5-3.7 3.4-3.4L95 171zm0 0 32-47.9h4.8l5.1.2h5.9v5.9l.2 5.1v4.8L95 171zm0 0-32 47.9h-4.8l-5.1-.2h-5.9v-5.9l-.2-5.1v-4.8L95 171zm0 0 47.9 32v4.8l-.2 5.1v5.9h-5.9l-5.1.2h-4.8L95 171zm0 0-47.9-32v-4.8l.2-5.1v-5.9h5.9l5.1-.2h4.8L95 171z"})))},PK:function(e){var t=e.title,n=GTe(e,Exe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h900v600H0z"}),Xt.createElement("path",{fill:"#01411C",d:"M225 0h675v600H225z"}
1),Xt.createElement("path",{fill:"#FFF",d:"M562.5 120c99.4 0 180 80.6 180 180s-80.6 180-180 180-180-80.6-180-180 80.6-180 180-180z"}),Xt.createElement("path",{fill:"#01411C",d:"M498.9 135.8c68.1-60.5 172.4-54.4 232.9 13.7s54.4 172.4-13.7 232.9-172.4 54.4-232.9-13.7-54.4-172.4 13.7-232.9z"}),Xt.createElement("path",{fill:"#FFF",d:"m628.1 165.3 75.8 85.3-111.5-24.4L697 180.4l-57.7 98.5-11.2-113.6z"}))},PL:function(e){var t=e.title,n=GTe(e,kxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#dc143c",d:"M0 171h513v171H0z"}))},PM:function(e){var t=e.title,n=GTe(e,Sxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},PN:function(e){var t=e.title,n=GTe(e,xxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("g",{stroke:"#000"},Xt.createElement("path",{fill:"#96877d",d:"m400.7 134.5-16.7 5.6-16.7-5.6-5.6-13.9 5.6-13.9h33.4l-5.6 13.9z"}),Xt.createElement("path",{fill:"#006ec7",d:"M345 134.5v61.2c0 29.8 39 39 39 39s39-9.1 39-39v-61.2h-78z"}),Xt.createElement("path",{fill:"#337321",d:"M348.6 210.2c9.6 18.4 35.4 24.5 35.4 24.5s25.9-6.1 35.4-24.5l-35.4-59-35.4 59z"}),Xt.createElement("path",{fill:"#f7e017",d:"m423 195.1-39-60.6-39 60.6v.6c0 5.5 1.3 10.3 3.5 14.5l35.4-55.1 35.4 55.1c2.2-4.2 3.5-9 3.5-14.5v-.6z"})),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})),Xt.createElement("path",{fill:"#f7e017",d:"M375 189.5h18.3l.1 5.5h-5.8v25.2l12.3-6.1 3 5-18.9 9.7-18.4-9.8 2.9-5.1 12.6 6.3V195H375z"}))},PR:function(e){var t=e.title,n=GTe(e,Txe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v68.4H0zm0 136.8h513v68.4H0zm0 136.8h513V342H0z",fill:"#E00"}),Xt.createElement("path",{fill:"#04F",d:"M256.5 171 0 342V0z"}),Xt.createElement("path",{fill:"#FFF",d:"m84 110.1 15.1 46.5H148l-39.6 28.8 15.1 46.5L84 203.1l-39.6 28.8 15.1-46.5L20 156.6h48.9z"}))},PS:function(e){var t=e.title,n=GTe(e,Mxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#007A3D",d:"M0 228h513v114H0z"}),Xt.createElement("path",{fill:"#CE1126",d:"M256.5 171 0 342V0z"}))},PT:function(e){var t=e.title,n=GTe(e,Axe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"red",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#060",d:"M197 0v342H0V0z"}),Xt.createElement("circle",{fill:"#FF0",cx:197.1,cy:171,r:64}),Xt.createElement("path",{fill:"red",d:"M161.1 139v40c0 19.9 16.1 36 36 36s36-16.1 36-36v-40h-72z"}),Xt.createElement("path",{fill:"#FFF",d:"M197.1 191c-6.6 0-12-5.4-12-12v-16h24v16c0 6.6-5.3 12-12 12z"}))},PW:function(e){var t=e.title,n=GTe(e,Lxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#09f",d:"M0 0h513v342H0z"}),Xt.createElement("circle",{fill:"#ff0",cx:220,cy:171,r:74}))},PY:function(e){var t=e.title,n=GTe(e,Pxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#D52B1E",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#0038A8",d:"M0 228h513v114H0z"}),Xt.createElement("path",{fill:"#009B3A",d:"m279.7 148-8.7 8.7c3.7 3.7 6 8.8 6 14.5 0 11.3-9.2 20.5-20.5 20.5s-20.5-9.2-20.5-20.5c0-5.7 2.3-10.8 6-14.5l-8.7-8.7c-5.9 5.9-9.6 14.1-9.6 23.2 0 18.1 14.7 32.8 32.8 32.8s32.8-14.7 32.8-32.8c0-9.1-3.7-17.3-9.6-23.2z"}),Xt.createElement("path",{fill:"#FEDF00",stroke:"#000",d:"m256.5 157.2 3.2 9.9h10.5l-8.5 6.2 3.2 9.9-8.4-6.2-8.4 6.2 3.2-9.9-8.5-6.2h10.5z"}),Xt.createElement("circle",{fill:"none",stroke:"#000",strokeWidth:2,cx:256.5,cy:171,r:45}))},QA:function(e){var t=e.title,n=GTe(e,Rxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#8a1538",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 0v342h150.3l37.7-19.6-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19 37.7-18.9-37.7-19 37.7-19-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19L188 57l-37.7-19L188 19.1 150.3 0z"}))},RE:function(e){var t=e.title,n=GTe(e,Oxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},RO:function(e){var t=e.title,n=GTe(e,Dxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#002b7f",d:"M0 0h171v342H0z"}),Xt.createElement("path",{fill:"#fcd116",d:"M171 0h171v342H171z"}),Xt.createElement("path",{fill:"#ce1126",d:"M342 0h171v342H342z"}))},RS:function(e){var t=e.title,n=GTe(e,Ixe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#c6363c",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#0c4076",d:"M0 114h513v114H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 228h513v114H0z"}),Xt.createElement("path",{fill:"#c6363c",d:"M120 96.8v85.1c0 48.4 63.3 63.3 63.3 63.3s63.3-14.8 63.3-63.3V96.8H120z"}
1),Xt.createElement("path",{d:"M146.1 111.6h74.2V82l-14.8 7.4-22.3-22.3L161 89.4 146.1 82zm85.6 82.2-48.3-48.2-48.2 48.2 15.7 15.7 32.5-32.5 32.5 32.5z",fill:"#edb92e"}),Xt.createElement("path",{fill:"#FFF",d:"M231.7 148.7h-22.5c1.3-2.2 2-4.7 2-7.4 0-8.2-6.6-14.8-14.8-14.8-5.7 0-10.6 3.2-13.1 7.8-2.5-4.7-7.4-7.8-13.1-7.8-8.2 0-14.8 6.6-14.8 14.8 0 2.7.7 5.2 2 7.4h-22.1c0 8.2 7.1 14.8 15.3 14.8h-.6c0 8.2 6.6 14.8 14.8 14.8 0 7.3 5.2 13.3 12.1 14.6l-11.7 26.4c5.6 2.3 11.7 3.5 18.1 3.5s12.5-1.3 18.1-3.5L189.9 193c6.9-1.3 12.1-7.3 12.1-14.6 8.2 0 14.8-6.6 14.8-14.8h-.5c8.2 0 15.4-6.7 15.4-14.9z"}))},RU:function(e){var t=e.title,n=GTe(e,_xe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v114H0z"}),Xt.createElement("path",{fill:"#0039a6",d:"M0 114h513v114H0z"}),Xt.createElement("path",{fill:"#d52b1e",d:"M0 228h513v114H0z"}))},RW:function(e){var t=e.title,n=GTe(e,Fxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#00A5E0",d:"M0 0h513v171H0z"}),Xt.createElement("path",{fill:"#F9D202",d:"M0 171h513v85.5H0z"}),Xt.createElement("path",{fill:"#1E5F3D",d:"M0 256.5h513V342H0z"}),Xt.createElement("path",{fill:"#F9D202",d:"m420.6 36.1 2.3 35.9 11.6-34.1-7 35.3 19.9-29.9-15.8 32.2 27-23.7-23.7 27L467.1 63l-29.9 19.9 35.3-7-34.1 11.6 35.9 2.3-35.9 2.3 34.1 11.6-35.3-7 29.9 19.9-32.2-15.8 23.7 27-27-23.7 15.8 32.2-19.9-29.9 7 35.3-11.6-34.1-2.3 35.9-2.3-35.9-11.6 34.1 7-35.3-19.9 29.9 15.8-32.2-27 23.7 23.7-27-32.2 15.8L404 96.7l-35.3 7 34.1-11.6-35.9-2.3 35.9-2.3-34.1-11.6 35.3 7L374.1 63l32.2 15.8-23.7-27 27 23.7-15.8-32.2 19.9 29.9-7-35.3L418.3 72z"}),Xt.createElement("circle",{fill:"#F9D202",stroke:"#00A5E0",strokeWidth:2,cx:420.6,cy:89.8,r:15.9}))},SA:function(e){var t=e.title,n=GTe(e,$xe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 0h513v342H0z",fill:"#fff"}),Xt.createElement("g",{fill:"#055e1c"},Xt.createElement("path",{d:"M0 0v342h513V0zm218 76q1 2-2 5-3 2-1 4 3 4 0 6-2 1-5-1-6-6 0-14 6-4 8 0m-102 2 1 6q0 4-2 4-5 1-5-6l2-4zm39 1 1 2q-1 4-5 4-5 0-6-4c0-4 7-6 10-2m47 2q3 4 2 9c-1 2-22 19-24 19q-3 0-4-4l6-6 6-5v-3c-5-10 7-18 14-10m35-3q3 1 0 7-2 8-6 6c-3-1-3 14 0 19q2 4 7-1c2-3 2-5 2-15 0-12 0-13 2-13q5-2 5 13 1 11 3 13 3 6 6 3 3-2-1-12-3-12 1-16h9q2-2 9 1l6 2 1-2q4-4 6-1l3 17c3 16 3 16 7 24l15 30q1 6-4 5l-8-14-6-12 1 20c1 21 1 23-4 23q-4 2-4-15l-1-27-1-16-9-13c-8-12-8-13-11-13q-6-1-2 6l2 7q0 4 3 2 6-2 6 3-1 4-8 5l-5 2-5 2q-6 0-10-3-2-3-5 1-5 5-12 2-5-1-7-10l-1-3-1 3q-3 7-9 8-7 0-9-11-3-10 2-10 4-1 5 7l2 6q1 0 4-7 6-17 13-12h1c-1-1 2-10 4-11zm-97 10 2 16 1 9h4q5 2 6-1c2-1 2-2-1-11l-3-12 3-1 11 5V82q4-2 6 1l3 23 1 20h2q5 0 5 5 1 6 3 0 3-9 8-2 1 3 2 0 3-7 4-6c5 0 6 7 1 13q-3 3-7 3l-6 1q-5 4-10 0l-2-2v5c0 21-16 42-33 42q-21-1-23-21 0-5 2-6 4-1 6 6 1 12 12 13 14 2 24-15 6-11 1-5-12 18-28 11-7-5-9-17-2-6 1-7 5-3 6 6 1 12 10 12 7 0 13-8 5-8-1-7-11-1-8-12 8-11 17-5l3 2-1-12-4-22q-3 1 0 7c2 6 2 6 0 10l-5 5q-3 3-7 1h-5l-1 16c-1 19-1 20-4 21-4 1-4-2-4-19l1-15-3 1q-3 1-6-2c-2-2-2-2-3-14l-1-12q-2-1-2 10l-1 13q-3 6-8 4c-3-2-4-4-7-15q-4-15 2-14 4-1 5 8l1 5 1-6q0-13 9-12l6 2c2 3 2 4 2 14l1 11 2-1 1-8-2-16q-3-12 2-11 3-1 5 7m163-3q4 10 1 13-4 3-7-7-3-11 2-10zm12-3 3 7q2 6 1 8v16l2 27c2 22 2 21 6 21h3l-1-5-2-23-3-33c-2-16-1-19 3-19 3 0 8 14 6 16v24c5 47 5 48 0 47q-3-2-1 4l2 6q2 1 5-9 7-18 10-16 3 0 7 5 4 7 7 7 4-1 1-33l-1-21-10-12-9-15q0-5 8-1 5 2 6 6l2 6q3 4 1-4 0-10 3-10c4 0 9 10 7 13l-1 8q1 8 4 12l3 3-2-15c-2-16-2-19 1-20q3 0 5 4l4 5h2q6-4 8 9 0 8-4 8-3 0-4-6 1-8-3-5c-1 2-1 3 1 19l2 17 5 7c6 10 12 21 11 22q-2 3-5 2l-5-8-5-8 1 8c0 11 0 11-3 11q-5 3-5-7l-1-16c0-8-1-10-4-15l-4-5v19c1 21 0 25-5 28q-6 5-13-3l-4-5-4 9q-6 14-11 15-9-1-11-16-1-8-5-1c-3 5-12 13-19 17q-8 4-8-2-1-2 6-6c9-5 17-14 17-18l-5-78q2-4 5-1m89 5 4 6q1 1-2 3l-2 2 4 24q4 25 4 35c0 10 0 11-3 17q-7 13-19 14-8 0-7-2-2-4 7-6 15-2 14-23a708 708 0 0 0-8-75c3-2 3-1 8 5m-211 19 1 4q0 3 2 2 5 0 5 4c0 4-9 6-13 2-4-5 0-17 5-12m108 1h2l4-1q4 2 0 7-7 6-11-1v-5q3-2 5 0m55 2q3 4-1 6-2 0-1 5t-1 6q-1 2-10-6-8-7-6-9 3-4 7 0l2 2 2-3q5-3 8-1m-131 13c3 2 6 14 6 17q-1 6 6 1l10-4q5-1 7-4 4-9 10-12 10 0 11 9 0 7-16 13l-2 1 13 1c16 0 16 0 13 9q-2 7-4 7l-10 2q-19 3-17 9 1 2 4 3 6 3 3 7l-7 1q-13-2-21-10l-3-3-2 3q-7 10-19 13-10 2-15-10l-5 2q-18 10-19 8l-2-3c0-2 1-2 15-11l9-6q1-3 5-4c3 1 10-5 12-9q3-6-1-15l-2-8q1-5 6-6c3 0 8 5 8 7q-1 4-4 3v1l1 10c1 9-1 13-10 21l-7 6 2 3q5 9 15-2 10-8 10-23 0-10-6-24v-4q3-4 6 1m17 2q2 3 4 0 11-3 5 5c-4 5-12 5-15-1v-4zm118 5 1 2q1 2-7 8c-8 6-9 7-11 5q-5-4 6-10c8-6 8-6 11-5m-229 3q3 2-10 10-12 8-13 3-5-3 9-10 13-8 14-3m229 10c3 2 4 9 3 11q-3 3-6 1c-2-2-3-11-1-13q1-2 4 1m-172 7q3 3 2 7 1 5-3 5-3 1-3-3l-2-4q-3-3-1-6 4-2 7 1m-79 9 1 8q0 9 3 6 4-1 4 3-1 7-7 7-7-1-7-14-1-9 2-10zm168 12q0 4 3 2t4 3q-2 6-8 8l-4-2q-3-3-4-2-4 0-5-4l5-6q7-6 7-4 3 1 2 5m102 3q4 4 1 9-7 7-7-4t6-5m-42 73c0 2 1 2 12 2q24-1 22 11 0 7-6 10c-4 1-31 2-34 0q-2-1-2-6v-4h-82l-74-1c-16 0-28-10-28-10h92c91 0 92
1-1 92-2q-1-3 4-5c5-2 4 4 4 5"}),Xt.createElement("path",{d:"m195 86 1 1 1-1-1-1q-2 0-1 1m84 5q-2 2 1 5l3 3-1-4-1-5zm-125 45q-3 3-1 4 5-1 6-4zm110-7q-4 5 0 3 6-4 2-4zm-31 30q0 6 4 8l5 4q3 2 2-3 0-3 4-7 4-3 2-4l-13-3h-5zm104 101q-1 3 13 2c11 0 13 0 14-2l-13-1z"})))},SB:function(e){var t=e.title,n=GTe(e,Nxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#496E2D",d:"M0 85.334h512v341.337H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.329h512"}),Xt.createElement("path",{fill:"#FFDA44",d:"M0 396.494v30.169h45.255L512 115.499v-30.17h-45.255z"}),Xt.createElement("path",{d:"m85.688 108.787 5.12 15.756h16.566l-13.403 9.737 5.12 15.757-13.403-9.738-13.405 9.738 5.12-15.757L64 124.543h16.567zm84.624 0 5.121 15.756H192l-13.403 9.737 5.12 15.757-13.405-9.738-13.403 9.738 5.12-15.757-13.403-9.737h16.566zm-84.624 82.502 5.12 15.756h16.566l-13.403 9.738 5.12 15.757-13.403-9.739-13.405 9.739 5.12-15.757L64 207.045h16.567zm84.624 0 5.121 15.756H192l-13.403 9.738 5.12 15.757-13.405-9.739-13.403 9.739 5.12-15.757-13.403-9.738h16.566zM128 150.037l5.12 15.756h16.568l-13.405 9.738 5.12 15.758L128 181.55l-13.403 9.739 5.12-15.758-13.405-9.738h16.568z",fill:"#FFF"}))},SC:function(e){var t=e.title,n=GTe(e,Bxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M235.454 85.337 0 426.663 427.345 85.337z"}),Xt.createElement("path",{fill:"#6DA544",d:"M512 329.393 0 426.663h512z"}),Xt.createElement("path",{fill:"#D80027",d:"M512 85.337h-84.655L0 426.663l512-204.512z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 85.337v341.326L235.454 85.337z"}))},SD:function(e){var t=e.title,n=GTe(e,jxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),Xt.createElement("path",{d:"M0 312.888h512v113.775H0z"}),Xt.createElement("path",{fill:"#496E2D",d:"M0 426.668V85.331l256 170.675z"}))},SE:function(e){var t=e.title,n=GTe(e,zxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"}))},SG:function(e){var t=e.title,n=GTe(e,Vxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 85.337h512V256H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M83.478 170.666c0-24.865 17.476-45.637 40.812-50.734a52.059 52.059 0 0 0-11.13-1.208c-28.688 0-51.942 23.254-51.942 51.941s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.336-5.095-40.812-25.867-40.812-50.733zm66.783-48.231 3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921z"}),Xt.createElement("path",{d:"m121.344 144.696 3.683 11.337h11.921l-9.645 7.007 3.684 11.337-9.643-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921zm57.834 0 3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.685-11.337-9.645-7.007h11.921zm-11.131 33.391 3.684 11.337h11.921l-9.644 7.007 3.684 11.337-9.645-7.006-9.643 7.006 3.684-11.337-9.644-7.007h11.92zm-35.573 0 3.683 11.337h11.921l-9.644 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.684-11.337-9.644-7.007h11.92z"})))},SH:function(e){var t=e.title,n=GTe(e,Hxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#5f7dbd",d:"M449 139.7c-.1 44.4-7.2 92.1-65 114.9-57.8-22.8-64.9-70.5-65-114.9h130z"}),Xt.createElement("path",{fill:"#f2d049",d:"M449 139.7c0-16.7-.9-32.9-.5-47.1C426.9 83 398.4 81 383.9 81s-42.9 2-64.6 11.6c.4 14.2-.5 30.4-.5 47.1H449z"}),Xt.createElement("path",{fill:"#b38c79",d:"m369.5 204.5.3 10.3-12.8.2 4.9 13.2h-17.3c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7 8.3 14.3 10.8-12.8 7 7.8.8 15.7 13.8 29.1z"}),Xt.createElement("path",{fill:"#5c5568",d:"m436.6 192.5-8.6 18.3h-47l-29.2-19.5 25.7 10.5h25.1l3.7-6.5 7.2.2 2-3z"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},SI:function(e){var t=e.title,n=GTe(e,Uxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 199.112h512v113.775H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 312.888h512v113.775H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522
1-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),Xt.createElement("path",{fill:"#0052B4",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),Xt.createElement("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z"}))},SJ:function(e){var t=e.title,n=GTe(e,Wxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 85.334h512v341.337H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M512 295.883H202.195v130.783h-79.76V295.883H0v-79.772h122.435V85.329h79.76v130.782H512v61.218z"}),Xt.createElement("path",{fill:"#2E52B2",d:"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"}))},SK:function(e){var t=e.title,n=GTe(e,Gxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 196.641h512v118.717H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 315.359h512v111.304H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z"}),Xt.createElement("path",{fill:"#D80027",d:"M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z"}),Xt.createElement("path",{fill:"#FFF",d:"M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z"}),Xt.createElement("path",{fill:"#0052B4",d:"M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 0 0-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 0 0-5.682-.657 24.88 24.88 0 0 0-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z"}))},SL:function(e){var t=e.title,n=GTe(e,qxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 85.337h512v113.775H0z"}),Xt.createElement("path",{fill:"#338AF3",d:"M0 312.888h512v113.775H0z"}))},SM:function(e){var t=e.title,n=GTe(e,Kxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#338AF3",d:"M0 85.34h512v341.326H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M512 85.334v166.69L0 256.175V85.334z"}),Xt.createElement("path",{fill:"#6DA544",d:"M323.744 203.099 256 270.843l-67.744-67.744a81.156 81.156 0 0 0-13.879 45.483v22.261c0 35.744 23.097 66.193 55.148 77.213-4.277 8.385-3.556 18.848 2.712 26.671l24.258-19.439 24.258 19.439c6.342-7.915 7.011-18.534 2.564-26.968 31.614-11.261 54.308-41.485 54.308-76.916v-22.261a81.174 81.174 0 0 0-13.881-45.483z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M256 330.206c-32.732 0-59.362-26.63-59.362-59.362v-22.261c0-32.733 26.63-59.363 59.362-59.363s59.362 26.63 59.362 59.362v22.261c0 32.733-26.63 59.363-59.362 59.363z"}),Xt.createElement("path",{fill:"#338AF3",d:"M293.101 270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101 16.643-37.101 37.101v22.261L256 278.264l37.101-7.421z"}),Xt.createElement("path",{fill:"#6DA544",d:"M218.899 270.843c0 20.458 16.643 37.101 37.101 37.101s37.101-16.643 37.101-37.101h-74.202z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M300.522 189.22c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 0 0-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.177 22.177 0 0 0-14.841-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.552-4.077 7.419-9.997 7.419-16.589z"}))},SN:function(e){var t=e.title,n=GTe(e,Yxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M330.207 85.331H512v341.337H330.207z"}),Xt.createElement("path",{d:"M0 85.331h181.793v341.337H0zm255.999 111.301 14.733 45.347h47.685l-38.576 28.029 14.734 45.348-38.576-28.026-38.577 28.026 14.737-45.348-38.576-28.029h47.681z",fill:"#496E2D"}))},SO:function(e){var t=e.title,n=GTe(e,Zxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),Xt.createElement("path",{fill:"#FFF",d:"m256 157.273 22.663 69.748H352l-59.332 43.106 22.664 69.749L256 296.769l-59.332 43.107 22.664-69.749L160 227.021h73.337z"}))},SR:function(e){var t=e.title,n=GTe(e,Qxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.331h512v341.337H0z"}),Xt.createElement("path",{fill:"#A2001D",d:"M0 196.636h512v118.728H0z"}),Xt.createElement("path",{d:"M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z",fill:"#6DA544"}),Xt.createElement("path",{fill:"#FFDA44",d:"m256.742 218.003 9.43 29.021h30.518L272 264.963l9.431 29.023-24.689-17.937-24.689 17.937 9.431-29.023-24.69-17.939h30.518z"}))},SS:function(e){var t=e.title,n=GTe(e,Xxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#496E2D",d:"M0 322.783h512v103.88H0z"}),Xt.createElement("path",{d:"M0 85.337h512v104.515H0z"}),Xt.createElement("path",{fill:"#A2001D",d:"M0 210.877h512v89.656H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M256 256.006 0 426.668V85.331z"}),Xt.createElement("path",{fill:"#FFDA44",d:"m73.178 209.188 20.831 29.067 34.084-10.83-21.207 28.795 20.83 29.069-33.939-11.271-21.208 28.794.234-35.762-33.94-11.273 34.083-10.83z"}))},ST:function(e){var t=e.title,n=GTe(e,Jxe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#6DA544"}),Xt.createElement("path",{fill:"#D80027",d:"M256 256.006 0 426.668V85.331z"}),Xt.createElement("path",{d:"m302.049 226.318 7.368 22.674h23.842l-19.288 14.016 7.366 22.674-19.288-14.015-19.287 14.015 7.366-22.674-19.288-14.016h23.842zm74.203 0 7.367 22.674h23.842l-19.288 14.016 7.367 22.674-19.288-14.015-19.288 14.015 7.367-22.674-19.288-14.016h23.842z"}))},SV:function(e){var t=e.title,n=GTe(e,eTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#0052B4"}),Xt.createElement("path",{fill:"#FFDA44",d:"M228.582 261.936 256 214.447l27.418 47.489z"}),Xt.createElement("path",{fill:"#6DA544",d:"M291.616 277.616 256 295.425l-35.616-17.809v-23.744h71.232z"}),Xt.createElement("path",{fill:"#FFDA44",d:"m289.579 216.485-12.592 12.592c5.37 5.372 8.693 12.791 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.114-5.316-24.987-13.91-33.579z"}))},SX:function(e){var t=e.title,n=GTe(e,tTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M512 85.331v166.69L0 256.173V85.331z"}),Xt.createElement("path",{fill:"#FFF",d:"M256 256.006 0 426.668V85.331z"}),Xt.createElement("g",{fill:"#FFDA44"},Xt.createElement("path",{d:"M59.621 256a59.546 59.546 0 0 0-.193 4.57c0 32.821 26.607 59.429 59.429 59.429s59.429-26.607 59.429-59.429c0-1.539-.078-3.061-.193-4.57H59.621z"}),Xt.createElement("circle",{cx:118.862,cy:210.287,r:18.286}
1)),Xt.createElement("path",{fill:"#D80027",d:"M77.715 205.714v59.429c0 31.494 41.144 41.143 41.144 41.143s41.144-9.649 41.144-41.143v-59.429H77.715z"}),Xt.createElement("path",{fill:"#338AF3",d:"M118.877 287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144c-.001 12.28-15.244 19.283-22.839 22.006z"}),Xt.createElement("path",{fill:"#F3F3F3",d:"M128.001 246.856v-9.142l-9.144-4.571-9.142 4.571v9.142l-4.571 4.573v18.285h27.428v-18.285z"}))},SY:function(e){var t=e.title,n=GTe(e,nTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 0h900v600H0z",fill:"#0f0f0f"}),Xt.createElement("path",{d:"M0 0h900v400H0z",fill:"#fff"}),Xt.createElement("path",{d:"M0 0h900v200H0z",fill:"#047a3f"}),Xt.createElement("path",{d:"m176.26 375 48.738-150 48.738 150-127.6-92.705h157.72M626.256 375l48.738-150 48.738 150-127.6-92.705h157.72M401.252 375l48.738-150 48.738 150-127.6-92.705h157.72",fill:"#ce1126"}))},SZ:function(e){var t=e.title,n=GTe(e,rTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#2B5DEA",d:"M0 0h900v600H0V0z"}),Xt.createElement("path",{fill:"#FFDF29",d:"M0 100h900v400H0V100z"}),Xt.createElement("path",{fill:"#D70000",d:"M0 150h900v300H0V150z"}),Xt.createElement("path",{fill:"#FFF",d:"M450 171.4v257.2c114.3 0 171.4-85.7 214.3-128.6-42.9-42.9-100-128.6-214.3-128.6z"}),Xt.createElement("path",{d:"M450 171.4c-100 0-171.4 85.7-214.3 128.6C278.6 342.9 350 428.6 450 428.6V171.4z"}),Xt.createElement("path",{fill:"#FFF",d:"M346.3 254.3h21v91.3h-21zm51.9 0h21v91.3h-21z"}),Xt.createElement("path",{d:"M477.8 254.3h21v91.3h-21zm51.9 0h21v91.3h-21z"}))},TA:function(e){var t=e.title,n=GTe(e,iTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})),Xt.createElement("path",{fill:"#1799f8",d:"M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z"}),Xt.createElement("path",{fill:"#FFF",d:"M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9"}),Xt.createElement("path",{fill:"#1799f8",d:"m385.4 251.7-22.9-43h45.8z"}),Xt.createElement("path",{fill:"#FFF",d:"m385.4 165.8-22.9 42.9h45.8z"}),Xt.createElement("ellipse",{fill:"#dcb072",cx:474.8,cy:236.8,rx:16.8,ry:43.3}),Xt.createElement("ellipse",{fill:"#dcb072",cx:295.3,cy:236.8,rx:16.8,ry:43.3}),Xt.createElement("path",{fill:"#FFF",d:"m385.4 31.5-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z"}),Xt.createElement("ellipse",{fill:"#A5A5A5",cx:386.3,cy:104.3,rx:34.3,ry:23.3}))},TC:function(e){var t=e.title,n=GTe(e,oTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFDA44",stroke:"#fff",strokeWidth:4,d:"M332.1 106.7v78.2c0 38.1 51.9 49.8 51.9 49.8s51.9-11.7 51.9-49.8v-78.2H332.1z"}),Xt.createElement("path",{fill:"#fcad56",d:"M376.6 135.1c0 7.9-6.6 28.4-14.8 28.4S347 142.9 347 135.1c0-7.9 14.8-14.2 14.8-14.2s14.8 6.4 14.8 14.2z"}),Xt.createElement("path",{fill:"#9e540a",d:"M416 150.6c2.4-5.6 4.3-13.8 4.3-17.9 0-6.5-8.9-11.9-8.9-11.9s-8.9 5.3-8.9 11.9c0 4.1 1.9 12.3 4.3 17.9l-5.1 11.1c3 1.2 6.3 1.8 9.8 1.8 3.5 0 6.8-.7 9.8-1.8l-5.3-11.1z"}),Xt.createElement("path",{fill:"#009e49",d:"M372.9 184.9s-7.4 14.2-7.4 28.4h37.1c0-14.2-7.4-28.4-7.4-28.4l-11.1-7.1-11.2 7.1z"}),Xt.createElement("path",{fill:"#ce1126",d:"M395.1 184.9v-3.6c0-5.9-5-10.7-11.1-10.7s-11.1 4.8-11.1 10.7v3.6h22.2z"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},TD:function(e){var t=e.title,n=GTe(e,aTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},TF:function(e){var t=e.title,n=GTe(e,sTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h21v15H0V0z"}),Xt.createElement("path",{fill:"#0A388A",d:"M0 0h22.5v15H0V0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 0h11.3v7.5H0V0z"}),Xt.createElement("path",{fill:"#D80027",d:"M7.1 0h3.6v7H7.1V0z"}),Xt.createElement("path",{fill:"#0A388A",d:"M0 0h3.6v7H0V0z"}),Xt.createElement("path",{fill:"#FFF",d:"M3.6 0h3.6v7H3.6V0zm10.9 6h5L19 7h-1.5v.5h1l-.5 1h-.5V10h-1V7H15l
1-.5-1zm4 2.5 1 1.5h-2l1-1.5zm-3 0 1 1.5h-2l1-1.5zm1.5 3L16 10h2l-1 1.5zM20 8c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-6 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm1 4c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm4 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-2 1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5z"}))},TG:function(e){var t=e.title,n=GTe(e,lTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{d:"M0 85.337h512V153.6H0zM0 358.4h512v68.263H0zm0-136.537h512v68.263H0z",fill:"#496E2D"}),Xt.createElement("path",{fill:"#D80027",d:"M0 85.337h204.054v204.054H0z"}),Xt.createElement("path",{fill:"#FFF",d:"m102.026 133.938 13.26 40.812h42.916l-34.718 25.226 13.26 40.814-34.718-25.224-34.719 25.224 13.263-40.814-34.718-25.226h42.913z"}))},TH:function(e){var t=e.title,n=GTe(e,cTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.334h512V426.66H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 194.056h512v123.882H0z"}),Xt.createElement("path",{d:"M0 85.334h512v54.522H0zm0 286.809h512v54.522H0z",fill:"#D80027"}))},TJ:function(e){var t=e.title,n=GTe(e,uTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 312.888h512v113.775H0z"}),Xt.createElement("path",{d:"M226.318 300.522h59.364v-25.23l-11.873 5.937L256 263.421l-17.809 17.808-11.873-5.937zm-33.963-29.682 2.763 8.504h8.94l-7.233 5.255 2.763 8.502-7.233-5.255-7.234 5.255 2.763-8.502-7.233-5.255h8.94zm8.566-29.68 2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zm24.488-22.261 2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zm94.236 51.941-2.763 8.504h-8.94l7.233 5.255-2.763 8.502 7.233-5.255 7.234 5.255-2.763-8.502 7.233-5.255h-8.94zm-8.566-29.68-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zm-24.488-22.261-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM256 207.767l2.763 8.503h8.941l-7.234 5.256 2.763 8.502-7.233-5.254-7.233 5.254 2.763-8.502-7.234-5.256h8.941z",fill:"#FFDA44"}))},TK:function(e){var t=e.title,n=GTe(e,dTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{d:"m210.715 174.377 3.684 11.338h11.919l-9.643 7.006 3.684 11.337-9.644-7.007-9.644 7.007 3.684-11.337-9.645-7.006h11.921zm-93.899 107.594 4.605 14.172h14.9l-12.055 8.757 4.606 14.173-12.056-8.76-12.055 8.76 4.604-14.173-12.054-8.757h14.899zm27.88-162.292 4.604 14.172h14.901l-12.056 8.758 4.606 14.171-12.055-8.759-12.056 8.759 4.606-14.171-12.055-8.758h14.9zm-75.157 55.652 4.604 14.172h14.9l-12.055 8.758 4.606 14.171-12.055-8.758-12.056 8.758 4.606-14.171-12.055-8.758h14.9z",fill:"#FFF"}),Xt.createElement("path",{d:"M483.386 354.503H117.801s109.234-88.562 310.593-220.938c.001 0-88.443 128.935 54.992 220.938zm-365.585 11.586c-11.177 0-11.195 17.37 0 17.37h365.585c11.177 0 11.195-17.37 0-17.37H117.801z",fill:"#FFDA44"}))},TL:function(e){var t=e.title,n=GTe(e,hTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M256 256 0 90.691v44.242L155.826 256 0 377.067v44.242z"}),Xt.createElement("path",{d:"M0 90.691v330.618L189.217 256z"}),Xt.createElement("path",{fill:"#FFF",d:"m44.184 213.36 24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 3
101.63l-6.296-33.716-34.012-4.43 30.119-16.408z"}))},TM:function(e){var t=e.title,n=GTe(e,fTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#496E2D",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M357.208 183.679c8.397-23.404-1.036-48.858-21.281-61.536a52.131 52.131 0 0 1 10.884 2.621c27.002 9.688 41.038 39.428 31.35 66.431s-39.428 41.038-66.431 31.35a52.182 52.182 0 0 1-10.069-4.895c23.686 3.084 47.15-10.566 55.547-33.971zm-46.571-67.95-7.297 9.427-11.22-4.026 6.712 9.852-7.296 9.427 11.443-3.338 6.712 9.852.361-11.914 11.444-3.339-11.221-4.025z"}),Xt.createElement("path",{d:"m330.338 146.448-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.443-3.339 6.712 9.853.36-11.915 11.445-3.34-11.221-4.024zM275.9 126.916l-7.296 9.427-11.219-4.024 6.711 9.851-7.296 9.426 11.443-3.338 6.712 9.852.361-11.915 11.444-3.337-11.221-4.027zm-.799 35.189-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.444-3.338 6.711 9.852.362-11.915 11.443-3.338-11.22-4.026zm33.484 12.013-7.296 9.427-11.22-4.026 6.712 9.853-7.297 9.426 11.444-3.338 6.712 9.852.36-11.915 11.443-3.338-11.219-4.025z"})),Xt.createElement("path",{fill:"#D80027",d:"M83.478 85.337h89.043v341.326H83.478z"}),Xt.createElement("path",{fill:"#FFF",d:"m117.458 175.191-14.908-11.105v-15.705l14.908-11.105h21.084l14.908 11.105v15.705l-14.908 11.105z"}),Xt.createElement("path",{d:"M128 137.276h-10.542l-14.908 11.105v7.678H128zm0 37.915h10.542l14.908-11.105v-8.012H128z",fill:"#FF9811"}),Xt.createElement("path",{fill:"#FFF",d:"m117.458 374.725-14.908-11.106v-15.704l14.908-11.105h21.084l14.908 11.105v15.704l-14.908 11.106z"}),Xt.createElement("path",{d:"M128 336.81h-10.542l-14.908 11.105v7.678H128zm0 37.915h10.542l14.908-11.106v-8.011H128z",fill:"#FF9811"}),Xt.createElement("path",{d:"m117.458 274.957-14.908-11.105v-15.703l14.908-11.106h21.084l14.908 11.106v15.703l-14.908 11.105zm36.513 24.434h-6.493v-6.493h-11.411l-8.068-8.068-8.067 8.068h-11.41v6.493h-6.493v12.986h6.493v6.492h11.41l8.068 8.069 8.068-8.069h11.41v-6.492h6.493zm0-99.768h-6.493v-6.492h-11.411l-8.068-8.069-8.067 8.069h-11.41v6.492h-6.493v12.986h6.493v6.492h11.41l8.068 8.07 8.068-8.07h11.41v-6.492h6.493z",fill:"#496E2D"}),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M120.576 248.576h14.84v14.84h-14.84z"}),Xt.createElement("circle",{cx:128,cy:206.113,r:7.421}),Xt.createElement("circle",{cx:128,cy:305.887,r:7.421})))},TN:function(e){var t=e.title,n=GTe(e,pTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),Xt.createElement("circle",{fill:"#FFF",cx:256,cy:255.994,r:96}),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"m267.826 219.291 16.47 22.695 26.673-8.649-16.496 22.676 16.468 22.695-26.664-8.681-16.495 22.676.017-28.04-26.664-8.682 26.674-8.648z"}),Xt.createElement("path",{d:"M277.818 312.724c-31.33 0-56.727-25.397-56.727-56.727s25.397-56.727 56.727-56.727c9.769 0 18.96 2.47 26.985 6.819-12.589-12.31-29.804-19.909-48.803-19.909-38.558 0-69.818 31.259-69.818 69.818s31.26 69.818 69.818 69.818c18.999 0 36.215-7.599 48.803-19.909-8.026 4.347-17.216 6.817-26.985 6.817z"})))},TO:function(e){var t=e.title,n=GTe(e,mTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 85.331h256v170.663H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z"}))},TR:function(e){var t=e.title,n=GTe(e,gTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#E30A17",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c
15.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"}))},TT:function(e){var t=e.title,n=GTe(e,vTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#FFF",d:"m6.066 85.337 207.961 212.636 131.584 128.69h160.323L297.973 214.027 166.389 85.337z"}),Xt.createElement("path",{d:"M43.364 85.337 384.69 426.663h83.946L127.31 85.337z"}))},TV:function(e){var t=e.title,n=GTe(e,yTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#00B2EE",d:"M0 171h256.5V0H513v342H0V171z"}),Xt.createElement("path",{d:"m196.8 274.1 16.8 51.6-43.9-31.9H224l-43.9 31.9 16.7-51.6zm205.8-80.3 16.8 51.6-43.9-31.9h54.3l-43.9 31.9 16.7-51.6zm60.7-44.7 16.8 51.6-43.9-31.9h54.3l-43.9 31.9 16.7-51.6zm0-127.8L480.1 73l-44-32h54.3l-43.9 32 16.8-51.7zm-53 53.7 16.8 51.6-43.9-31.9h54.3l-43.9 31.9L410.3 75zm-77.4 32 16.8 51.6-43.9-31.9H360l-43.9 31.9 16.8-51.6zM350 245.4l16.8 51.6-43.9-31.9h54.3L333.3 297l16.7-51.6zm-71.8-56.2 16.8 51.6-44-31.8h54.3l-43.9 31.9 16.8-51.7zm0 75.3 16.8 51.6-44-31.9h54.3l-43.9 31.9 16.8-51.6z",fill:"#FFDA44"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},TW:function(e){var t=e.title,n=GTe(e,bTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 85.337h256V256H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"}),Xt.createElement("circle",{fill:"#0052B4",cx:128,cy:170.674,r:29.006}),Xt.createElement("path",{fill:"#FFF",d:"M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"}))},TZ:function(e){var t=e.title,n=GTe(e,CTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M0 426.663V85.337h512"}),Xt.createElement("path",{fill:"#FFDA44",d:"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"}),Xt.createElement("path",{d:"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"}))},UA:function(e){var t=e.title,n=GTe(e,wTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#338AF3",d:"M0 85.337h512V256H0z"}))},UG:function(e){var t=e.title,n=GTe(e,ETe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#232323",d:"M0 0h512v341.3H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M0 56.9h512v56.9H0z"}),Xt.createElement("path",{fill:"#D32300",d:"M0 113.8h512v56.9H0z"}),Xt.createElement("path",{fill:"#FFDA44",d:"M0 227.6h512v56.9H0z"}),Xt.createElement("path",{fill:"#D32300",d:"M0 284.4h512v56.9H0z"}
1),Xt.createElement("circle",{fill:"#FFF",cx:256,cy:170.7,r:80.7}),Xt.createElement("path",{d:"M234.5 127.5c.9-1.4-19.6-2-19.6-2 1.7-2.5 18.4-10.5 18.4-10.5s-.9-6 2.7-9.8l-4.5-9.8s7-3.4 18.4-3.4 19.9 7 21 13.1l-6.4 3.4c-.1 4.7 1.7 11.6-4.3 17.3-5.9 5.7-8.3 6.9-8.5 18.8 0 3.9 2.3 8.2 8.8 11.7 17.4 9.3 38.6 28.2 44.6 33.9 6.1 5.7 5.1 19.2 2.6 25.2s-12.1 14.3-14.3 13.6c-2.2-.6 1.2-9.2-3.5-11.6 0 0-8.9-7.6-16.8.6s-.2 25.2 3.9 28c4.1 2.8 1.7 5-1.9 5H247c-3.8 0-5.4-2.3-1.9-5 7.6-3.8 12.4-15.3 7.4-20.3-4.9-4.9-18.3 1.5-21.5 6.3-2.8 2.8-8.8 3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8 0 0 .1-.1 0 0 11.9-8.6 29.9-9 3.9 0 4.8-2.2 2.2-4.8 0 0-30.9-27.4-28.1-44.2 3-18.3 20-26.3 13.4-32.5-1.3-1.8 0 0 0 0z"}))},UM:function(e){var t=e.title,n=GTe(e,kTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),Xt.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),Xt.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))},US:function(e){var t=e.title,n=GTe(e,STe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),Xt.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),Xt.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))},UY:function(e){var t=e.title,n=GTe(e,xTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 38h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z",fill:"#0038a8"}),Xt.createElement("path",{fill:"#FFF",d:"M0 0h256.5v190H0z"}),Xt.createElement("path",{fill:"#FED443",d:"m128.3 138.7-15.1 22.6-3.8-26.9L86 148.2l8.2-25.9-27.2 2.2 18.6-19.8L60.3 95l25.4-9.7L67 65.5l27.1 2.3-8.2-25.9 23.4 13.8 3.9-26.9 15.1 22.6 15.1-22.6 3.8 26.9 23.4-13.8-8.2 25.9 27.1-2.2-18.6 19.8 25.4 9.7-25.4 9.7 18.6 19.8-27.1-2.2 8.2 25.9-23.4-13.8-3.9 26.9-15-22.7zm0-.5c23.9.9 44-17.6 44.9-41.5.9-23.9-17.6-44-41.5-44.9h-3.4c-23.9.8-42.6 20.8-41.8 44.6.6 22.8 19 41.1 41.8 41.8zm0-10.6c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.3 34-34 34z"}))},UZ:function(e){var t=e.title,n=GTe(e,TTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#3081f7",d:"M0 0h513v108H0z"}),Xt.createElement("path",{fill:"#ee162e",d:"M0 108h513v9H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M0 117h513v108H0z"}),Xt.createElement("path",{fill:"#ee162e",d:"M0 225h513v9H0z"}),Xt.createElement("path",{fill:"#308738",d:"M0 233h513v108H0z"}),Xt.createElement("path",{d:"M53.5 54c0-23.1 16.4-35 34.3-38.9-2.7-.6-
15.6-.9-8.5-.9-22 0-39.8 17.8-39.8 39.8s17.8 39.8 39.8 39.8c2.9 0 5.8-.3 8.5-.9C69.9 89 53.5 77.1 53.5 54zm57.9 21.3 1.8 5.9h6.2l-5 3.6 1.9 5.8-4.9-3.6-5 3.6 1.9-5.8-4.9-3.6h6.1zm27.8 0 1.9 5.9h6.1l-5 3.6 1.9 5.8-4.9-3.6-5 3.6 1.9-5.8-4.9-3.6h6.1zm27.8 0 1.9 5.9h6.1l-4.9 3.6 1.9 5.8-5-3.6-4.9 3.6 1.9-5.8-5-3.6h6.1zm27.9 0 1.9 5.9h6.1l-5 3.6 1.9 5.8-4.9-3.6-5 3.6 1.9-5.8-4.9-3.6h6.1zm27.8 0 1.9 5.9h6.1l-4.9 3.6 1.9 5.8-5-3.6-4.9 3.6 1.9-5.8-5-3.6h6.1zm-83.5-28.9 1.9 5.8h6.1l-5 3.6 1.9 5.8-4.9-3.6-5 3.6 1.9-5.8-4.9-3.6h6.1zm27.8 0 1.9 5.8h6.1l-4.9 3.6 1.9 5.8-5-3.6-4.9 3.6 1.9-5.8-5-3.6h6.1zm27.9 0 1.9 5.8h6.1l-5 3.6 1.9 5.8-4.9-3.6-5 3.6 1.9-5.8-4.9-3.6h6.1zm27.8 0 1.9 5.8h6.1l-4.9 3.6 1.9 5.8-5-3.6-4.9 3.6 1.9-5.8-5-3.6h6.1zm-55.7-29 1.9 5.8h6.1l-4.9 3.6 1.9 5.9-5-3.6-4.9 3.6 1.9-5.9-5-3.6h6.1zm27.9 0 1.9 5.8h6.1l-5 3.6 1.9 5.9-4.9-3.6-5 3.6 1.9-5.9-4.9-3.6h6.1zm27.8 0 1.9 5.8h6.1l-4.9 3.6 1.9 5.9-5-3.6-4.9 3.6 1.9-5.9-5-3.6h6.1z",fill:"#FFF"}))},VA:function(e){var t=e.title,n=GTe(e,MTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M256 85.331h256v341.337H256z"}),Xt.createElement("path",{fill:"#ACABB1",d:"m321.353 233.837 32.073 42.43c-5.053 7.651-5.026 17.961.817 25.692 7.414 9.807 21.374 11.748 31.182 4.335 9.807-7.414 11.748-21.374 4.334-31.182-5.843-7.731-15.756-10.568-24.495-7.795l-49.988-66.129-11.838 8.949-17.759 13.424 17.899 23.677 17.775-13.401zm46.175 48.78a7.421 7.421 0 1 1 8.95 11.84 7.421 7.421 0 0 1-8.95-11.84z"}),Xt.createElement("path",{fill:"#FFDA44",d:"m376.367 247.24 17.899-23.677-17.759-13.424-11.838-8.949-49.988 66.129c-8.74-2.775-18.651.063-24.495 7.795-7.414 9.808-5.473 23.768 4.334 31.182 9.808 7.414 23.768 5.473 31.182-4.335 5.845-7.731 5.871-18.041.817-25.692l32.073-42.43 17.775 13.401zm-62.504 45.771a7.42 7.42 0 1 1-11.84-8.95 7.42 7.42 0 0 1 11.84 8.95z"}))},VC:function(e){var t=e.title,n=GTe(e,ATe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),Xt.createElement("path",{fill:"#338AF3",d:"M0 85.331h170.663v341.337H0z"}),Xt.createElement("path",{d:"M341.337 85.331H512v341.337H341.337zM214.261 283.82l-33.393-50.086 33.392-50.087 33.392 50.087zm83.478 0-33.391-50.086 33.391-50.087 33.393 50.087zM256 350.603l-33.391-50.087L256 250.429l33.391 50.087z",fill:"#6DA544"}))},VE:function(e){var t=e.title,n=GTe(e,LTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFCE00",d:"M0 0h22.5v5H0z"}),Xt.createElement("path",{fill:"#203899",d:"M0 5h22.5v5H0z"}),Xt.createElement("path",{fill:"#D82B2B",d:"M0 10h22.5v5H0z"}),Xt.createElement("path",{fill:"#FFF",d:"m12.13 5.38.14.46.45.14-.39.27.01.48-.38-.29-.45.15.15-.44-.28-.38h.47zm-1.77 0 .27.39h.47l-.28.38.15.45-.45-.16-.38.28.01-.47-.39-.28.45-.13zm3.44.56-.01.48.39.27-.46.14-.14.45-.27-.38h-.48l.29-.38-.15-.45.45.16zm-5.11.02.4.27.44-.18-.13.46.3.36-.47.02-.26.4-.16-.44-.46-.12.37-.3zm6.55 1.17-.2.44.25.4-.47-.05-.31.36-.1-.46-.43-.18.41-.24.03-.47.35.31zm.19 1.12.21.43.47.07-.34.33.08.46-.42-.22-.42.22.08-.46-.34-.33.47-.07zM7 8.2l.21.43.47.06-.34.33.08.47L7 9.27l-.42.22.08-.47-.34-.33.47-.06zm.31-1.15.45.14.38-.29v.48l.39.26-.45.15-.13.46-.28-.38-.47.01.27-.38z"}))},VG:function(e){var t=e.title,n=GTe(e,PTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#012169",d:"M0 0h513v342H0z"}),Xt.createElement("path",{fill:"#ffc72c",d:"m384.8 174.7-46.2 46.2c8.7 16.7 26.1 28.1 46.2 28.1s37.6-11.4 46.2-28.1l-46.2-46.2z"}),Xt.createElement("path",{fill:"#006129",stroke:"#fff",strokeWidth:3,d:"M332.7 93v81.8c0 39.8 52 52 52 52s52-12.2 52-52V93h-104z"}),Xt.createElement("path",{fill:"#FFF",d:"M373.6 130.1h22.3v59.5h-22.3z"}),Xt.createElement("circle",{fill:"#9c4c00",cx:384.8,cy:130.1,r:11.2}),Xt.createElement("path",{d:"M347.6 107.8h14.9v14.9h-14.9zm0 33.5h14.9v14.9h-14.9zm0 33.4h14.9v14.9h-14.9zm59.5-66.9H422v14.9h-14.9zm0 33.5H422v14.9h-14.9zm0 33.4H422v14.9h-14.9z",fill:"#ffc72c"}),Xt.createElement("path",{fill:"#012169",d:"M0 0h256.5v171H0z"}),Xt.createElement("g",{fill:"#FFF"},Xt.createElement("path",{d:"M256.5 0v30.6l-45.3 25.2h45.3v59.4h-59.2l59.2 32.9V171h-26.7l-73.7-40.9V171h-55.7v-48.7L12.8 171H0v-30.6l45.3-25.2H0V55.8h59.2L0 22.9V0h26.7l73.7 40.9V0h55.7v48.7L243.7 0z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-55.7-59.4L0 0v15.8l72 40z"})),Xt.createElement("g",{fill:"#D80027"},Xt.createElement("path",{d:"M144.3 0h-32.1v69.5H0v32h112.2V171h32.1v-69.5h112.2v-32H144.3z"}),Xt.createElement("path",{d:"M156.1 115.2 256.5 171v-15.8l-72-40zm-84.1 0-72 40V171l100.4-55.8zm28.4-59.4L0 0v15.8l72 40zm84.1 0 72-40V0L156.1 55.8z"})))},VI:function(e){var t=e.title,n=GTe(e,RTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h512v341.3H0z"}),Xt.createElement("path",{fill:"#1583C4",d:"m397.7 166.3-51 97.7c-1.1 2-.3 4.5 1.8 5.6 2 1.1 4.5.3 5.6-1.8l51-97.7c1-2.1.1-4.6-2-5.5-2-.9-4.3-.2-5.4 1.7z"}),Xt.createElement("path",{fill:"#1583C4",d:"m404.9 188-57.8 75.4c-1.3 1.9-.8 4.5 1.1 5.8 1.7 1.2 4.1.9 5.5-.7l57.8-75.4c1.4-1.8 1.1-4.4-.8-5.8-1.8-1.5-4.4-1.1-5.8.7z"}),Xt.createElement("path",{fill:"#1583C4",d:"m379 181.3-32.5 83.1c-.8 2.1.2 4.6 2.4 5.4 2.1.8 4.6-.2 5.4-2.4l32.5-83.1c.7-2.2-.4-4.5-2.6-5.3-2.1-.6-4.3.4-5.2 2.3z"}),Xt.createElement("path",{fill:"#409347",d:"M122.1 171.9c.4 1.7 1.2 4.7 2.2 8.5 1.7 6.4 3.6 12.8 5.6 18.7 2.3 6.9 14.7 31.4 20.2 39.1 6.9 9.7 14.1 19.3 21.5 28.6 1.6 1.9 4.5 2.1 6.4.5 1.8-1.6 2.1-4.3.7-6.2-7.3-9.2-14.4-18.6-21.2-28.2-4.2-5.8-17.2-31.1-19-36.7-2.9-8.7-5.4-17.6-7.6-26.5-.5-2.4-2.9-4-5.3-3.5s-4 2.9-3.5 5.3c-.1.2 0 .3 0 .4z"}),Xt.createElement("g",{fill:"#FFD836",stroke:"#231F20",strokeMiterlimit:10},Xt.createElement("path",{d:"M297.1 114.9S279.5 42.8 261 42.8c-6.9 0-11.9-.6-15.4 6.4-.9 1.7-20.7-1.
16-19.1 20.8.5 6.9 1.1-9.8 14.9-3.4 6.3 3-16.4 48.2-16.4 48.2h72.1z"}),Xt.createElement("path",{d:"m466.1 48.4-90.9 22c-75.3 18.3-42.1 44.4-42.1 44.4l-72.1 12-72.1-12s33.2-26.1-42.1-44.4l-90.9-22C43.1 45.3 38.1 51.8 45.3 63c0 0 106.6 104 126.8 112 20.2 8.1 40.8 0 40.8 0s-14.9 8.7-24 24c-9.2 15.3-4.6 34.7-38.9 40.2-5.5 6.6-5 14 2.9 19.9 7.9 5.8 72.1-48.1 72.1-48.1s-24 24.4-24 36.1c0 5.1 44.1 53.8 60.1 53.8s60.1-48.7 60.1-53.8c0-11.7-24-36.1-24-36.1s64.2 53.9 72.1 48.1 11.4-19.3 2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2-9.2-15.3-24-24-24-24s20.6 8.1 40.8 0S476.7 63 476.7 63c7.2-11.2 2.3-17.7-10.6-14.6z"})),Xt.createElement("path",{fill:"#FFF",stroke:"#231F20",strokeMiterlimit:10,d:"M201.3 111.8v80.3c0 45.7 59.7 59.7 59.7 59.7s59.7-14 59.7-59.7v-80.3H201.3z"}),Xt.createElement("path",{d:"M225.2 137.7V235c8.2 6 17 10.2 23.9 12.9V137.7h-23.9zm71.6 0V235c-8.2 6-17 10.2-23.9 12.9V137.7h23.9z",fill:"#D80027"}),Xt.createElement("path",{fill:"#0052B4",d:"M201.3 111.8h119.4v37.9H201.3z"}),Xt.createElement("path",{fill:"#1583C4",d:"m60.1 210.5-21.9-58.1H15.7l31.8 80.8h25.2l31.5-80.8H81.7zm391.4-58.6h18.9v81.7h-18.9z"}))},VN:function(e){var t=e.title,n=GTe(e,OTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M196.641 85.337H0v341.326h512V85.337z"}),Xt.createElement("path",{fill:"#FFDA44",d:"m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"}))},VU:function(e){var t=e.title,n=GTe(e,DTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#6DA544",d:"M512 256v170.663H0L215.185 256z"}),Xt.createElement("path",{fill:"#D80027",d:"M512 85.337V256H215.185L0 85.337z"}),Xt.createElement("path",{d:"M221.001 239.304 26.868 85.337H8.956l208.168 165.098H512v-11.131zM8.956 426.663h17.912l194.133-153.967H512v-11.131H217.124zM0 92.44v14.206L188.317 256 0 405.354v14.205L206.229 256z"}),Xt.createElement("g",{fill:"#FFDA44"},Xt.createElement("path",{d:"M8.956 85.337H0v7.103L206.229 256 0 419.559v7.104h8.956l208.168-165.098H512v-11.13H217.124z"}),Xt.createElement("path",{d:"M63.718 292.382v-14.295c14.265 0 25.87-11.606 25.87-25.869 0-10.092-8.211-18.303-18.304-18.303-6.875 0-12.469 5.593-12.469 12.469 0 4.397 3.577 7.974 7.974 7.974a4.514 4.514 0 0 0 4.508-4.508h14.295c0 10.368-8.435 18.804-18.802 18.804-12.279-.002-22.269-9.993-22.269-22.271 0-14.758 12.006-26.764 26.764-26.764 17.975 0 32.599 14.623 32.599 32.599 0 22.145-18.018 40.164-40.166 40.164z"})))},WF:function(e){var t=e.title,n=GTe(e,ITe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 100"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80B30",d:"M0 0h150v100H0z"}),Xt.createElement("path",{fill:"#00318A",d:"M0 0h20v44.33H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M20 0h20v44.33H20z"}),Xt.createElement("path",{fill:"none",stroke:"#FFF",strokeWidth:3,d:"M0 44.33h62.75V0"}),Xt.createElement("path",{fill:"#FFF",d:"M108.08 43.29 87.96 23.17h40.25l-20.13 20.12zm-6.7 6.71L81.25 29.88v40.25L101.38 50zm6.7 6.71L87.96 76.83h40.25l-20.13-20.12zm6.71-6.71 20.13-20.13v40.25L114.79 50z"}))},WS:function(e){var t=e.title,n=GTe(e,_Te);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),Xt.createElement("path",{fill:"#0052B4",d:"M0 85.331h256v170.663H0z"}),Xt.createElement("path",{d:"m165.483 181.79 2.764 8.504h8.939l-7.232 5.254 2.763 8.503-7.234-5.255-7.233 5.255 2.763-8.503-7.233-5.254h8.94zm-44.904-66.783 4.606 14.173h14.9l-12.055 8.757 4.605 14.171-12.056-8.758-12.054 8.758 4.605-14.171-12.056-8.757h14.901zm44.522 14.841 4.606 14.172h14.9l-12.055 8.757 4.604 14.173-12.055-8.76-12.054 8.76 4.604-14.173-12.055-8.757h14.9zm-35.192 59.363 4.606 14.172h14.9l-12.055 8.758 4.604 14.171-12.055-8.759-12.054 8.759 4.604-14.171-12.055-8.758h14.9zm-39.01-37.103 4.605 14.173h14.9l-12.055 8.757 4.604 14.173-12.054-8.76-12.055 8.76 4.604-14.173-12.055-8.757h14.9z",fill:"#FFF"}))},XA:function(e){var t=e.title,n=GTe(e,FTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),Xt.createElement("path",{d:"M0 0h513v48.8H0zm0 97.5h513v48.8H0zM0 195h513v48.8H0zm0 97.6h513v48.8H0z",fill:"#6DA544"}),Xt.createElement("path",{fill:"#D80027",d:"M0 0h256.5v146.3H0z"}),Xt.createElement("path",{fill:"#FFF",d:"m116.9 114.4-7.5-14.8V69.9L128 59l18.6 10.9v22.3l7.4-7.4 4.2 3-4.2 11.8-14.9 14.8z"}
1),Xt.createElement("circle",{fill:"#FFF",cx:82,cy:82.8,r:5.4}),Xt.createElement("circle",{fill:"#FFF",cx:90.8,cy:61.7,r:5.4}),Xt.createElement("circle",{fill:"#FFF",cx:106.6,cy:46.2,r:5.4}),Xt.createElement("circle",{fill:"#FFF",cx:128,cy:40.8,r:5.4}),Xt.createElement("circle",{fill:"#FFF",cx:149.4,cy:46.2,r:5.4}),Xt.createElement("circle",{fill:"#FFF",cx:165.2,cy:61.7,r:5.4}),Xt.createElement("circle",{fill:"#FFF",cx:174,cy:82.8,r:5.4}))},XC:function(e){var t=e.title,n=GTe(e,$Te);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600",fill:"#e30a17"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 0h900v600H0z",fill:"#fff"}),Xt.createElement("circle",{cx:300,cy:300,r:150}),Xt.createElement("circle",{cx:337.5,cy:300,r:120,fill:"#fff"}),Xt.createElement("path",{d:"M0 60h900v60H0zm0 420h900v60H0zm417.5-180 135.676-44.084-83.852 115.413V228.671l83.852 115.413z"}))},XK:function(e){var t=e.title,n=GTe(e,NTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.33"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.34H0z"}),Xt.createElement("path",{d:"m220.72 42.63 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.36-15.9 8.36 3.03-17.7-12.86-12.54 17.78-2.58zm70.56-.06 7.95 16.1 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59zm62.08 11.36 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.87-12.54 17.78-2.58zm63.01 18.3 7.95 16.11 17.77 2.59-12.86 12.53 3.04 17.71-15.9-8.36-15.9 8.36 3.03-17.71-12.86-12.53 17.78-2.59zm-257.73-18.3 7.95 16.11 17.78 2.58-12.87 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.86-12.54 17.77-2.58zm-63.01 18.3 7.95 16.11 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59z",fill:"#FFF"}),Xt.createElement("path",{fill:"#FFDA44",d:"m217.53 259.33-27.22-13.61-27.22-54.43h27.22l27.22-27.22 13.61-27.22 27.22-13.61 13.61 13.61 27.22 13.61v13.61l13.61 13.61 40.83 27.22L340 245.73l-40.83 40.83-13.61-27.22-40.83 27.22v27.22l-13.61-13.61-13.59-40.84z"}))},XO:function(e){var t=e.title,n=GTe(e,BTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 450 300"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h450v300H0z"}),Xt.createElement("path",{fill:"red",d:"M0 100h450v200H0z"}),Xt.createElement("path",{fill:"#FFDF00",d:"M0 200h450v100H0z"}))},YE:function(e){var t=e.title,n=GTe(e,jTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),Xt.createElement("path",{d:"M0 312.888h512v113.775H0z"}))},YT:function(e){var t=e.title,n=GTe(e,zTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 60"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 0h90v60H0z"}),Xt.createElement("path",{stroke:"#7f7f7f",strokeWidth:.25,fill:"#ABABAB",d:"M75.6 39.6c-1.1.7 0 1.8-.6 1.9-.6.1-1.5-1.4-.2-2.5 1.6-1.5 5.8 0 5.9 4.3 0 2.2-.9 6.8-7.2 6.8-7.6 0-11.4-5.7-11.4-11.4 0-4.8 3.7-13.5 6.5-14.6 3.1-1.2 6.7-3.5 6.8-5 0-.5-1.4-.1-3.3.9-3.1 1.7-6.6 2.5-6.6 1.4s2.9-3.1 4-4.6c1.2-1.6.9-5.5 3-5.5 7.6 0 9.9 7.7 7 11.7-1.9 2.6 4.3 1 4.3 1s0 5.3-3.2 7.3c-3 1.8-4.8 3.9-4.8 3.9s.2-4.6-.5-3.9c-.6.7-11.1 4.5-10.3 12 .3 3 4.5 5.4 8.5 5.2s5.7-2.4 5.8-4.9c.1-3.9-3-4.4-3.7-4zm-64.9 4c.1 2.5 1.8 4.7 5.8 4.9s8.2-2.2 8.5-5.2c.8-7.5-9.7-11.3-10.3-12-.7-.7-.5 3.9-.5 3.9s-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2 1.6 4.3-1c-2.9-4-.6-11.7 7-11.7 2.1 0 1.8 3.9 3 5.5 1.1 1.5 4 3.5 4 4.6s-3.5.3-6.6-1.4c-1.9-1-3.3-1.4-3.3-.9.1 1.5 3.7 3.8 6.8 5 2.8 1.1 6.5 9.8 6.5 14.6 0 5.7-3.8 11.4-11.4 11.4-6.3 0-7.2-4.6-7.2-6.8.1-4.3 4.3-5.8 5.9-4.3 1.2 1.1.4 2.7-.2 2.5-.6-.1.6-1.2-.6-1.9-.6-.4-3.7.1-3.7 4z"}),Xt.createElement("path",{fill:"#DE393A",d:"M31 28.8v14c0 1.9 2.1 1.6 2.1 1.6h9.3c1.2 0 2.6 2.3 2.6 2.3s1.4-2.3 2.5-2.3h9.6s2 .2 2-1.8V28.7H31z"}),Xt.createElement("path",{fill:"#3951A3",d:"M31 13.1h28v15.7H31z"}),Xt.createElement("path",{fill:"#FFF",d:"M50.1 16.5c-.4 2.4-2.5 4.2-5.1 4.2-2.5 0-4.6-1.8-5.1-4.2-.5.9-.8 1.9-.8 3 0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-1.1-.3-2.1-.8-3z"}),Xt.createElement("circle",{fill:"#FEE05F",cx:39.1,cy:36.5,r:3}),Xt.createElement("circle",{fill:"#FEE05F",cx:50.9,cy:36.5,r:3}))},ZA:function(e){var t=e.title,n=GTe(e,VTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),Xt.createElement("path",{d:"M114.024 256.001 0 141.926v228.17z"}),Xt.createElement("path",{fill:"#ffb915",d:"M161.192 256 0 94.7v47.226l114.024 114.075L0 370.096v47.138z"}),Xt.createElement("path",{fill:"#007847",d:"M509.833 289.391c.058
1-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z"}),Xt.createElement("path",{fill:"#000c8a",d:"M503.181 322.783H236.433l-103.881 103.88H512v-103.88z"}),Xt.createElement("path",{fill:"#e1392d",d:"M503.181 189.217H512V85.337H132.552l103.881 103.88z"}))},ZM:function(e){var t=e.title,n=GTe(e,HTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{fill:"#496E2D",d:"M0 85.331h512v341.337H0z"}),Xt.createElement("path",{fill:"#FF9811",d:"M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z"}),Xt.createElement("path",{fill:"#D80027",d:"M341.337 255.994h56.888v170.663h-56.888z"}),Xt.createElement("path",{fill:"#FF9811",d:"M455.112 255.994H512v170.663h-56.888z"}),Xt.createElement("path",{d:"M398.225 255.994h56.888v170.663h-56.888z"}))},ZW:function(e){var t=e.title,n=GTe(e,UTe);return Xt.createElement("svg",WTe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&Xt.createElement("title",null,t),Xt.createElement("path",{d:"M0 85.333h512V426.67H0z"}),Xt.createElement("path",{d:"M0 134.196h512v48.868H0zm0 195.472h512v48.868H0z",fill:"#FFDA44"}),Xt.createElement("path",{fill:"#057f44",d:"M0 85.333h512v48.868H0z"}),Xt.createElement("path",{d:"M0 183.069h512v48.868H0zm0 97.737h512v48.868H0z",fill:"#D80027"}),Xt.createElement("path",{fill:"#057f44",d:"M0 378.542h512v48.128H0z"}),Xt.createElement("path",{fill:"#FFF",d:"M276.992 255.996 106.329 426.659H0V85.333h106.329z"}),Xt.createElement("path",{d:"M256 255.996 85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z"}),Xt.createElement("path",{fill:"#D80027",d:"m102.465 202.57 13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z"}),Xt.createElement("path",{fill:"#FFDA44",d:"m138.94 259.335-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 0 0 1.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z"}))}};var KTe=[["All","*","*"," ",0,"All"],["AllReadable","*","r"," ",0,"All Readable"],["AllCreatable","*","w"," ",0,"All Creatable"],["AllLinear","*","l"," ",0,"All Linear"],["AllMatrix","*","m"," ",0,"All Matrix"],["AllGS1","*","G"," ",0,"All GS1"],["AllRetail","*","R"," ",0,"All Retail"],["AllIndustrial","*","I"," ",0,"All Industrial"],["Codabar","F"," ","lrw ",18,"Codabar"],["Code39","A"," ","lrw I",8,"Code 39"],["Code39Std","A","s","lrw I",8,"Code 39 Standard"],["Code39Ext","A","e","lr I",9,"Code 39 Extended"],["Code32","A","2","lr I",129,"Code 32"],["PZN","A","p","lr I",52,"Pharmazentralnummer"],["Code93","G"," ","lrw I",25,"Code 93"],["Code128","C"," ","lrwGI",20,"Code 128"],["ITF","I"," ","lrw I",3,"ITF"],["ITF14","I","4","lr I",89,"ITF-14"],["DataBar","e"," ","lr GR",29,"DataBar"],["DataBarOmni","e","o","lr GR",29,"DataBar Omni"],["DataBarStk","e","s","lr GR",79,"DataBar Stacked"],["DataBarStkOmni","e","O","lr GR",80,"DataBar Stacked Omni"],["DataBarLtd","e","l","lr GR",30,"DataBar Limited"],["DataBarExp","e","e","lr GR",31,"DataBar Expanded"],["DataBarExpStk","e","E","lr GR",81,"DataBar Expanded Stacked"],["EANUPC","E"," ","lr R",15,"EAN/UPC"],["EAN13","E","1","lrw R",15,"EAN-13"],["EAN8","E","8","lrw R",10,"EAN-8"],["EAN5","E","5","l R",12,"EAN-5"],["EAN2","E","2","l R",11,"EAN-2"],["ISBN","E","i","lr R",69,"ISBN"],["UPCA","E","a","lrw R",34,"UPC-A"],["UPCE","E","e","lrw R",37,"UPC-E"],["Telepen","B"," ","lr I",32,"Telepen"],["TelepenAlpha","B","0","lr I",32,"Telepen Alpha"],["TelepenNumeric","B","1","lr I",87,"Telepen Numeric"],["OtherBarcode","X"," "," r ",0,"Other barcode"],["DXFilmEdge","X","x","lr ",147,"DX Film Edge"],["PDF417","L"," ","mrw ",55,"PDF417"],["CompactPDF417","L","c","mr ",56,"Compact PDF417"],["MicroPDF417","L","m","mr ",84,"MicroPDF417"],["Aztec","z"," ","mr G ",92,"Aztec"],["AztecCode","z","c","mrwG ",92,"Aztec Code"],["AztecRune","z","r","mr ",128,"Aztec Rune"],["QRCode","Q"," ","mrwG ",58,"QR Code"],["QRCodeModel1","Q","1","mr ",0,"QR Code Model 1"],["QRCodeModel2","Q","2","mr ",58,"QR Code Model 2"],["MicroQRCode","Q","m","mr ",97,"Micro QR Code"],["RMQRCode","Q","r","mr G ",145,"rMQR Code"],["DataMatrix","d"," ","mrwG ",71,"Data Matrix"],["MaxiCode","U"," ","mr ",57,"MaxiCode"]],YTe={DataBarE
1xpanded:"DataBarExp",DataBarLimited:"DataBarLtd","Linear-Codes":"AllLinear","Matrix-Codes":"AllMatrix",Any:"All",rMQRCode:"RMQRCode"};function ZTe(e){var t;return null==(t=YTe[e])?e:t}function QTe(e){return e.map(ZTe).join(",")}KTe.map(e=>e[5]),KTe.filter(e=>"*"===e[1]).map(e=>e[0]),KTe.filter(e=>"*"!==e[1]).map(e=>e[0]),KTe.filter(e=>" "===e[2]).map(e=>e[0]),KTe.filter(e=>"l"===e[3][0]).map(e=>e[0]),KTe.filter(e=>"m"===e[3][0]).map(e=>e[0]),KTe.filter(e=>"r"===e[3][1]).map(e=>e[0]),KTe.filter(e=>"w"===e[3][2]||0!==e[4]).map(e=>e[0]),KTe.filter(e=>"G"===e[3][3]).map(e=>e[0]),KTe.filter(e=>"R"===e[3][4]).map(e=>e[0]),KTe.filter(e=>"I"===e[3][4]).map(e=>e[0]);var XTe=["LocalAverage","GlobalHistogram","FixedThreshold","BoolCast"];function JTe(e){return XTe.indexOf(e)}var eMe="Unknown.ASCII.ISO8859_1.ISO8859_2.ISO8859_3.ISO8859_4.ISO8859_5.ISO8859_6.ISO8859_7.ISO8859_8.ISO8859_9.ISO8859_10.ISO8859_11.ISO8859_13.ISO8859_14.ISO8859_15.ISO8859_16.Cp437.Cp1250.Cp1251.Cp1252.Cp1256.Shift_JIS.Big5.GB2312.GB18030.EUC_JP.EUC_KR.UTF16BE.UTF8.UTF16LE.UTF32BE.UTF32LE.BINARY".split(".");function tMe(e){return"UnicodeBig"===e?eMe.indexOf("UTF16BE"):eMe.indexOf(e)}var nMe=["Text","Binary","Mixed","GS1","ISO15434","UnknownECI"];function rMe(e){return nMe[e]}var iMe=["Ignore","Read","Require"];function oMe(e){return iMe.indexOf(e)}var aMe=["Plain","ECI","HRI","Escaped","Hex","HexECI"];function sMe(e){return aMe.indexOf(e)}var lMe={formats:[],tryHarder:!0,tryRotate:!0,tryInvert:!0,tryDownscale:!0,tryDenoise:!1,binarizer:"LocalAverage",isPure:!1,downscaleFactor:3,downscaleThreshold:500,minLineCount:2,maxNumberOfSymbols:255,validateOptionalChecksum:!1,returnErrors:!1,eanAddOnSymbol:"Ignore",textMode:"HRI",characterSet:"Unknown",tryCode39ExtendedMode:!0};function cMe(e){var t;return{...e,formats:QTe(e.formats),binarizer:JTe(e.binarizer),eanAddOnSymbol:oMe(e.eanAddOnSymbol),textMode:sMe(e.textMode),characterSet:tMe(e.characterSet),tryCode39ExtendedMode:null==(t=e.tryCode39ExtendedMode)||t}}function uMe(e){return{...e,format:e.format,symbology:e.symbology,contentType:rMe(e.contentType)}}var dMe={locateFile:(e,t)=>{let n=e.match(/_(.+?)\.wasm$/);return n?`https://fastly.jsdelivr.net/npm/[email protected]/dist/${n[1]}/${e}`:t+e}},hMe=new WeakMap;function fMe(e,t){return Object.is(e,t)||Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(n=>Object.hasOwn(t,n)&&e[n]===t[n])}function pMe(e,{overrides:t,equalityFn:n=fMe,fireImmediately:r=!1}={}){var i,o;let a,[s,l]=null==(i=hMe.get(e))?[dMe]:i,c=null==t?s:t;if(r){if(l&&(a=n(s,c)))return l;let t=e({...c});return hMe.set(e,[c,t]),t}(null==(o=a)?n(s,c):o)||hMe.set(e,[c])}async function mMe(e={}){var t,n,r=e,i=!!globalThis.window,o=typeof Bun<"u",a=!!globalThis.WorkerGlobalScope;null!=(t=globalThis.process)&&null!=(t=t.versions)&&t.node&&(null==(n=globalThis.process)||n.type);var s,l,c="./this.program",u="";if(i||a||o){try{u=new URL(".",void 0).href}catch{}a&&(l=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),s=async e=>{var t=await fetch(e,{credentials:"same-origin"});if(t.ok)return t.arrayBuffer();throw Error(t.status+" : "+t.url)}}var d,h,f,p,m=(()=>{}).bind(console),g=(()=>{}).bind(console),v=!1,y=!1;function b(){var e=qe.buffer;S=new Int8Array(e),E=new Int16Array(e),r.HEAPU8=L=new Uint8Array(e),M=new Uint16Array(e),k=new Int32Array(e),A=new Uint32Array(e),x=new Float32Array(e),T=new Float64Array(e)}function C(e){var t,n;null==(t=r.onAbort)||t.call(r,e),g(e="Aborted("+e+")"),v=!0,e+=". Build with -sASSERTIONS for more info.";var i=new WebAssembly.RuntimeError(e);throw null==(n=f)||n(i),i}async function w(e,t,n){if(!e&&WebAssembly.instantiateStreaming)try{var r=fetch(t,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,n)}catch(i){g(`wasm streaming compile failed: ${i}`),g("falling back to ArrayBuffer instantiation")}return async function(e,t){try{var n=await async function(e){if(!d)try{var t=await s(e);return new Uint8Array(t)}catch{}return function(e){if(e==p&&d)return new Uint8Array(d);if(l)return l(e);throw"both async and sync fetching of the wasm failed"}(e)}(e);return await WebAssembly.instantiate(n,t)}catch(i){g(`failed to asynchronously prepare wasm: ${i}`),C(i)}}(t,n)}var E,k,S,x,T,M,A,L,P=e=>{for(;e.length>0;)e.shift()(r)},R=[],O=e=>R.push(e),D=[],I=e=>D.push(e),_=e=>Be(e),F=()=>je(),$=[],N=0,B=0;class j{constructor(e){this.excPtr=e,this.ptr=e-24}set_type(e){A[this.ptr+4>>2]=e}get_type(){return A[this.ptr+4>>2]}set_destructor(e){A[this.ptr+8>>2]=e}get_destructor(){return A[this.ptr+8>>2]}set_caught(e){e=+!!e,S[this.ptr+12]=e}get_caught(){return 0!=S[this.ptr+12]}set_rethrown(e){e=+!!e,S[this.ptr+13]=e}get_rethrown(){return 0!=S[this.ptr+13]}init(e,t){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(t)}set_adjusted_ptr(e){A[this.ptr+16>>2]=e}get_adjusted_ptr(){return A[this.ptr+16>>2]}}var z=e=>Ne(e),V=e=>{var t=B;if(!t)return z(0),0;var n=new j(t);n.set_adjusted_ptr(t);var r=n.get_type();if(!r)return z(0),t;for(var i of e){if(0===i||i===r)break;var o=n.ptr+16;if(He(i,r,o))return z(i),t}return z(r),t},H={},U=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function W(e){return this.fromWireType(A[e>>2])}var G={},q={},K={}
1,Y=class extends Error{constructor(e){super(e),this.name="InternalError"}},Z=e=>{throw new Y(e)},Q=(e,t,n)=>{function r(t){var r=n(t);r.length!==e.length&&Z("Mismatched type converter count");for(var i=0;i<e.length;++i)te(e[i],r[i])}e.forEach(e=>K[e]=t);var i=Array(t.length),o=[],a=0;{let e=t;for(let t=0;t<e.length;++t){let n=e[t];q.hasOwnProperty(n)?i[t]=q[n]:(o.push(n),G.hasOwnProperty(n)||(G[n]=[]),G[n].push(()=>{i[t]=q[n],++a===o.length&&r(i)}))}}0===o.length&&r(i)},X=e=>{for(var t="";;){var n=L[e++];if(!n)return t;t+=String.fromCharCode(n)}},J=class extends Error{constructor(e){super(e),this.name="BindingError"}},ee=e=>{throw new J(e)};function te(e,t){return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var r=t.name;if(e||ee(`type "${r}" must have a positive integer typeid pointer`),q.hasOwnProperty(e)){if(n.ignoreDuplicateRegistrations)return;ee(`Cannot register type '${r}' twice`)}if(q[e]=t,delete K[e],G.hasOwnProperty(e)){var i=G[e];delete G[e],i.forEach(e=>e())}}(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})}var ne=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),re=e=>{ee(e.$$.ptrType.registeredClass.name+" instance already deleted")},ie=!1,oe=e=>{},ae=e=>{--e.count.value,0===e.count.value&&(e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)})(e)},se=e=>globalThis.FinalizationRegistry?(ie=new FinalizationRegistry(e=>{ae(e.$$)}),oe=e=>ie.unregister(e),(se=e=>{var t=e.$$;if(t.smartPtr){var n={$$:t};ie.register(e,n,e)}return e})(e)):(se=e=>e,e);function le(){}var ce=(e,t)=>Object.defineProperty(t,"name",{value:e}),ue={},de=(e,t,n)=>{if(void 0===e[t].overloadTable){var r=e[t];e[t]=function(){var r=[...arguments];return e[t].overloadTable.hasOwnProperty(r.length)||ee(`Function '${n}' called with an invalid number of arguments (${r.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[r.length].apply(this,r)},e[t].overloadTable=[],e[t].overloadTable[r.argCount]=r}},he=(e,t,n)=>{r.hasOwnProperty(e)?((void 0===n||void 0!==r[e].overloadTable&&void 0!==r[e].overloadTable[n])&&ee(`Cannot register public name '${e}' twice`),de(r,e,e),r[e].overloadTable.hasOwnProperty(n)&&ee(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),r[e].overloadTable[n]=t):(r[e]=t,r[e].argCount=n)};function fe(e,t,n,r,i,o,a,s){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=r,this.baseClass=i,this.getActualType=o,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}var pe=(e,t,n)=>{for(;t!==n;)t.upcast||ee(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e},me=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e};function ge(e,t){if(null===t)return this.isReference&&ee(`null is not a valid ${this.name}`),0;t.$$||ee(`Cannot pass "${me(t)}" as a ${this.name}`),t.$$.ptr||ee(`Cannot pass deleted object as a pointer of type ${this.name}`);var n=t.$$.ptrType.registeredClass;return pe(t.$$.ptr,n,this.registeredClass)}function ve(e,t){var n;if(null===t)return this.isReference&&ee(`null is not a valid ${this.name}`),this.isSmartPointer?(n=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,n),n):0;(!t||!t.$$)&&ee(`Cannot pass "${me(t)}" as a ${this.name}`),t.$$.ptr||ee(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&ee(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var r=t.$$.ptrType.registeredClass;if(n=pe(t.$$.ptr,r,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&ee("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?n=t.$$.smartPtr:ee(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:n=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)n=t.$$.smartPtr;else{var i=t.clone();n=this.rawShare(n,Je.toHandle(()=>i.delete())),null!==e&&e.push(this.rawDestructor,n)}break;default:ee("Unsupported sharing policy")}return n}function ye(e,t){if(null===t)return this.isReference&&ee(`null is not a valid ${this.name}`),0;t.$$||ee(`Cannot pass "${me(t)}" as a ${this.name}`),t.$$.ptr||ee(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&ee(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass;return pe(t.$$.ptr,n,this.registeredClass)}
1var be=(e,t,n)=>{if(t===n)return e;if(void 0===n.baseClass)return null;var r=be(e,t,n.baseClass);return null===r?null:n.downcast(r)},Ce={},we=(e,t)=>((!t.ptrType||!t.ptr)&&Z("makeClassHandle requires ptr and ptrType"),!!t.smartPtrType!=!!t.smartPtr&&Z("Both smartPtrType and smartPtr must be specified"),t.count={value:1},se(Object.create(e,{$$:{value:t,writable:!0}})));function Ee(e,t,n,r,i,o,a,s,l,c,u){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=r,this.isSmartPointer=i,this.pointeeType=o,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=l,this.rawShare=c,this.rawDestructor=u,i||void 0!==t.baseClass?this.toWireType=ve:r?(this.toWireType=ge,this.destructorFunction=null):(this.toWireType=ye,this.destructorFunction=null)}var ke=(e,t,n)=>{r.hasOwnProperty(e)||Z("Replacing nonexistent public symbol"),void 0!==r[e].overloadTable&&void 0!==n?r[e].overloadTable[n]=t:(r[e]=t,r[e].argCount=n)},Se={},xe=[],Te=e=>{var t=xe[e];return t||(xe[e]=t=Ke.get(e)),t},Me=function(e,t){var n=(e=X(e)).includes("j")?function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(){return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return e.includes("j")?((e,t,n)=>(e=e.replace(/p/g,"i"),(0,Se[e])(t,...n)))(e,t,n):Te(t)(...n)}(e,t,[...arguments],n)}}(e,t):Te(t);return"function"!=typeof n&&ee(`unknown function pointer with signature ${e}: ${t}`),n};class Ae extends Error{}var Le=e=>{var t=De(e),n=X(t);return Ie(t),n},Pe=(e,t)=>{var n=[],r={};throw t.forEach(function e(t){if(!r[t]&&!q[t]){if(K[t])return void K[t].forEach(e);n.push(t),r[t]=!0}}),new Ae(`${e}: `+n.map(Le).join([", "]))},Re=(e,t)=>{for(var n=[],r=0;r<e;r++)n.push(A[t+4*r>>2]);return n};function Oe(e,t,n,r,i,o){var a=t.length;a<2&&ee("argTypes array size mismatch! Must at least get return value and 'this' types!");var s=null!==t[1]&&null!==n,l=function(e){for(var t=1;t<e.length;++t)if(null!==e[t]&&void 0===e[t].destructorFunction)return!0;return!1}(t),c=!t[0].isVoid,u=a-2,d=Array(u),h=[],f=[];return ce(e,function(){var e;f.length=0,h.length=s?2:1,h[0]=i,s&&(e=t[1].toWireType(f,this),h[1]=e);for(var n=0;n<u;++n)d[n]=t[n+2].toWireType(f,n<0||arguments.length<=n?void 0:arguments[n]),h.push(d[n]);return function(n){if(l)U(f);else for(var r=s?1:2;r<t.length;r++){var i=1===r?e:d[r-2];null!==t[r].destructorFunction&&t[r].destructorFunction(i)}if(c)return t[0].fromWireType(n)}(r(...h))})}var De,Ie,_e,Fe,$e,Ne,Be,je,ze,Ve,He,Ue,We,Ge,qe,Ke,Ye=e=>{let t=(e=e.trim()).indexOf("(");return-1===t?e:e.slice(0,t)},Ze=[],Qe=[0,1,,1,null,1,!0,1,!1,1],Xe=e=>{e>9&&0===--Qe[e+1]&&(Qe[e]=void 0,Ze.push(e))},Je={toValue:e=>(e||ee(`Cannot use deleted val. handle = ${e}`),Qe[e]),toHandle:e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{let t=Ze.pop()||Qe.length;return Qe[t]=e,Qe[t+1]=1,t}}}},et={name:"emscripten::val",fromWireType:e=>{var t=Je.toValue(e);return Xe(e),t},toWireType:(e,t)=>Je.toHandle(t),readValueFromPointer:W,destructorFunction:null},tt=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType(x[e>>2])};case 8:return function(e){return this.fromWireType(T[e>>3])};default:throw TypeError(`invalid float width (${t}): ${e}`)}},nt=(e,t,n)=>{switch(t){case 1:return n?e=>S[e]:e=>L[e];case 2:return n?e=>E[e>>1]:e=>M[e>>1];case 4:return n?e=>k[e>>2]:e=>A[e>>2];default:throw TypeError(`invalid integer width (${t}): ${e}`)}},rt=(e,t,n)=>{let r=(e,t)=>{let n=0;return{next(){if(n>=e)return{done:!0};let r=n;return n++,{value:t(r),done:!1}},[Symbol.iterator](){return this}}};e[Symbol.iterator]||(e[Symbol.iterator]=function(){return r(this[t](),e=>this[n](e))})},it=Object.assign({optional:!0},et),ot=(e,t,n)=>((e,t,n,r)=>{if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a<e.length;++a){var s=e.codePointAt(a);if(s<=127){if(n>=o)break;t[n++]=s}else if(s<=2047){if(n+1>=o)break;t[n++]=192|s>>6,t[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;t[n++]=224|s>>12,t[n++]=128|s>>6&63,t[n++]=128|63&s}else{if(n+3>=o)break;t[n++]=240|s>>18,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|63&s,a++}}return t[n]=0,n-i})(e,L,t,n),at=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);r<=127?t++:r<=2047?t+=2:r>=55296&&r<=57343?(t+=4,++n):t+=3}return t},st=globalThis.TextDecoder&&new TextDecoder,lt=(e,t,n,r)=>{var i=t+n;if(r)return i;for(;e[t]&&!(t>=i);)++t;return t},ct=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var n=lt(e,t,arguments.length>2?arguments[2]:void 0,arguments.length>3?arguments[3]:void 0);if(n-t>16&&e.buffer&&st)return st.decode(e.subarray(t,n));for(var r="";t<n;){var i=e[t++];if(128&i){var o=63&e[t++];if(192!=(224&i)){var a=63&e[t++];if((i=224==(240&i)?(15&i)<<12|o<<6|a:(7&i)<<18|o<<12|a<<6|63&e[t++])<65536)r+=String.fromCharCode(i);else{var s=i-65536;r+=String.fromCharCode(55296|s>>10,56320|1023&s)}}else r+=String.fromCharCode((31&i)<<6|o)}else r+=String.fromCharCode(i)}return r},ut=globalThis.TextDecoder?new TextDecoder("utf-16le"):void 0,dt=(e,t,n
1)=>{var r=e>>1,i=lt(M,r,t/2,n);if(i-r>16&&ut)return ut.decode(M.subarray(r,i));for(var o="",a=r;a<i;++a){var s=M[a];o+=String.fromCharCode(s)}return o},ht=(e,t,n)=>{if(null!=n||(n=2147483647),n<2)return 0;for(var r=t,i=(n-=2)<2*e.length?n/2:e.length,o=0;o<i;++o){var a=e.charCodeAt(o);E[t>>1]=a,t+=2}return E[t>>1]=0,t-r},ft=e=>2*e.length,pt=(e,t,n)=>{for(var r="",i=e>>2,o=0;!(o>=t/4);o++){var a=A[i+o];if(!a&&!n)break;r+=String.fromCodePoint(a)}return r},mt=(e,t,n)=>{if(null!=n||(n=2147483647),n<4)return 0;for(var r=t,i=r+n-4,o=0;o<e.length;++o){var a=e.codePointAt(o);if(a>65535&&o++,k[t>>2]=a,(t+=4)+4>i)break}return k[t>>2]=0,t-r},gt=e=>{for(var t=0,n=0;n<e.length;++n)e.codePointAt(n)>65535&&n++,t+=4;return t},vt=[],yt=(e,t)=>{var n=q[e];return void 0===n&&ee(`${t} has unknown type ${Le(e)}`),n},bt={},Ct=e=>{var t=bt[e];return void 0===t?X(e):t},wt=(e,t)=>Math.ceil(e/t)*t,Et=e=>{var t=(e-qe.buffer.byteLength+65535)/65536|0;try{return qe.grow(t),b(),1}catch{}},kt={},St=()=>{if(!St.strings){var e,t,n={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(null==(e=null==(t=globalThis.navigator)?void 0:t.language)?"C":e).replace("-","_")+".UTF-8",_:c||"./this.program"};for(var r in kt)void 0===kt[r]?delete n[r]:n[r]=kt[r];var i=[];for(var r in n)i.push(`${r}=${n[r]}`);St.strings=i}return St.strings},xt=[null,[],[]],Tt=(e,t)=>{var n=xt[e];0===t||10===t?((1===e?m:g)(ct(n)),n.length=0):n.push(t)};if((()=>{let e=le.prototype;Object.assign(e,{isAliasOf(e){if(!(this instanceof le&&e instanceof le))return!1;var t=this.$$.ptrType.registeredClass,n=this.$$.ptr;e.$$=e.$$;for(var r=e.$$.ptrType.registeredClass,i=e.$$.ptr;t.baseClass;)n=t.upcast(n),t=t.baseClass;for(;r.baseClass;)i=r.upcast(i),r=r.baseClass;return t===r&&n===i},clone(){if(this.$$.ptr||re(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=se(Object.create(Object.getPrototypeOf(this),{$$:{value:ne(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||re(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ee("Object already scheduled for deletion"),oe(this),ae(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||re(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&ee("Object already scheduled for deletion"),this.$$.deleteScheduled=!0,this}});let t=Symbol.dispose;t&&(e[t]=e.delete)})(),Object.assign(Ee.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;null==(t=this.rawDestructor)||t.call(this,e)},readValueFromPointer:W,fromWireType:function(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var n=((e,t)=>(t=((e,t)=>{for(void 0===t&&ee("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t})(e,t),Ce[t]))(this.registeredClass,t);if(void 0!==n){if(0===n.$$.count.value)return n.$$.ptr=t,n.$$.smartPtr=e,n.clone();var r=n.clone();return this.destructor(e),r}function i(){return this.isSmartPointer?we(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):we(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var o=ue[this.registeredClass.getActualType(t)];if(!o)return i.call(this);var a=this.isConst?o.constPointerType:o.pointerType,s=be(t,this.registeredClass,a.registeredClass);return null===s?i.call(this):this.isSmartPointer?we(a.registeredClass.instancePrototype,{ptrType:a,ptr:s,smartPtrType:this,smartPtr:e}):we(a.registeredClass.instancePrototype,{ptrType:a,ptr:s})}}),r.noExitRuntime&&r.noExitRuntime,r.print&&(m=r.print),r.printErr&&(g=r.printErr),r.wasmBinary&&(d=r.wasmBinary),r.arguments&&r.arguments,r.thisProgram&&(c=r.thisProgram),r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);r.preInit.length>0;)r.preInit.shift()();var Mt={r:e=>{var t=new j(e);return t.get_caught()||(t.set_caught(!0),N--),t.set_rethrown(!1),$.push(t),Fe(e)},x:()=>{$e(0,0);var e=$.pop();ze(e.excPtr),B=0},a:()=>V([]),i:e=>V([e]),m:(e,t)=>
1V([e,t]),S:()=>{var e=$.pop();e||C("no exception to throw");var t=e.excPtr;throw e.get_rethrown()||($.push(e),e.set_rethrown(!0),e.set_caught(!1),N++),Ve(t),B=t},p:(e,t,n)=>{throw new j(e).init(t,n),Ve(e),N++,B=e},ha:()=>N,d:e=>{throw B||(B=e),B},da:()=>C(""),xa:e=>{var t=H[e];delete H[e];var n=t.rawConstructor,r=t.rawDestructor,i=t.fields,o=i.map(e=>e.getterReturnType).concat(i.map(e=>e.setterArgumentType));Q([e],o,e=>{var o={};{let t=i;for(let n=0;n<t.length;++n){let r=t[n],a=e[n],s=r.getter,l=r.getterContext,c=e[n+i.length],u=r.setter,d=r.setterContext;o[r.fieldName]={read:e=>a.fromWireType(s(l,e)),write:(e,t)=>{var n=[];u(d,e,c.toWireType(n,t)),U(n)},optional:a.optional}}}return[{name:t.name,fromWireType:e=>{var t={};for(var n in o)t[n]=o[n].read(e);return r(e),t},toWireType:(e,t)=>{for(var i in o)if(!(i in t)&&!o[i].optional)throw TypeError(`Missing field: "${i}"`);var a=n();for(i in o)o[i].write(a,t[i]);return null!==e&&e.push(r,a),a},readValueFromPointer:W,destructorFunction:r}]})},ca:(e,t,n,r,i)=>{},ra:(e,t,n,r)=>{te(e,{name:t=X(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:r},readValueFromPointer:function(e){return this.fromWireType(L[e])},destructorFunction:null})},va:(e,t,n,r,i,o,a,s,l,c,u,d,h)=>{u=X(u),o=Me(i,o),s&&(s=Me(a,s)),c&&(c=Me(l,c)),h=Me(d,h);var f=(e=>{var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?`_${e}`:e})(u);he(f,function(){Pe(`Cannot construct ${u} due to unbound types`,[r])}),Q([e,t,n],r?[r]:[],t=>{var n,i;t=t[0],i=r?(n=t.registeredClass).instancePrototype:le.prototype;var a=ce(u,function(){if(Object.getPrototypeOf(this)!==l)throw new J(`Use 'new' to construct ${u}`);if(void 0===p.constructor_body)throw new J(`${u} has no accessible constructor`);var e=[...arguments],t=p.constructor_body[e.length];if(void 0===t)throw new J(`Tried to invoke ctor of ${u} with invalid number of parameters (${e.length}) - expected (${Object.keys(p.constructor_body).toString()}) parameters instead!`);return t.apply(this,e)}),l=Object.create(i,{constructor:{value:a}});a.prototype=l;var d,p=new fe(u,a,l,h,n,o,s,c);p.baseClass&&(null!=(d=p.baseClass).__derivedClasses||(d.__derivedClasses=[]),p.baseClass.__derivedClasses.push(p));var m=new Ee(u,p,!0,!1,!1),g=new Ee(u+"*",p,!1,!1,!1),v=new Ee(u+" const*",p,!1,!0,!1);return ue[e]={pointerType:g,constPointerType:v},ke(f,a),[m,g,v]})},ua:(e,t,n,r,i,o)=>{var a=Re(t,n);i=Me(r,i),Q([],[e],e=>{var n=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new J(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[t-1]=()=>{Pe(`Cannot construct ${e.name} due to unbound types`,a)},Q([],a,r=>(r.splice(1,0,null),e.registeredClass.constructor_body[t-1]=Oe(n,r,null,i,o),[])),[]})},H:(e,t,n,r,i,o,a,s,l,c)=>{var u=Re(n,r);t=X(t),t=Ye(t),o=Me(i,o),Q([],[e],e=>{var r=`${(e=e[0]).name}.${t}`;function i(){Pe(`Cannot call ${r} due to unbound types`,u)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);var l=e.registeredClass.instancePrototype,c=l[t];return void 0===c||void 0===c.overloadTable&&c.className!==e.name&&c.argCount===n-2?(i.argCount=n-2,i.className=e.name,l[t]=i):(de(l,t,r),l[t].overloadTable[n-2]=i),Q([],u,i=>{var s=Oe(r,i,e,o,a);return void 0===l[t].overloadTable?(s.argCount=n-2,l[t]=s):l[t].overloadTable[n-2]=s,[]}),[]})},pa:e=>te(e,et),Y:(e,t,n)=>{te(e,{name:t=X(t),fromWireType:e=>e,toWireType:(e,t)=>t,readValueFromPointer:tt(t,n),destructorFunction:null})},Z:(e,t,n,r,i,o,a,s)=>{var l=Re(t,n);e=X(e),e=Ye(e),i=Me(r,i),he(e,function(){Pe(`Cannot call ${e} due to unbound types`,l)},t-1),Q([],l,n=>{var r=[n[0],null].concat(n.slice(1));return ke(e,Oe(e,r,null,i,o),t-1),[]})},A:(e,t,n,r,i)=>{t=X(t);let o=e=>e;if(0===r){var a=32-8*n;o=e=>e<<a>>>a,i=o(i)}te(e,{name:t,fromWireType:o,toWireType:(e,t)=>t,readValueFromPointer:nt(t,n,0!==r),destructorFunction:null})},ta:(e,t,n,r)=>{n=X(n),r=X(r),Q([],[e,t],e=>{let t=e[0];return rt(t.registeredClass.instancePrototype,n,r),[]})}
1,u:(e,t,n)=>{var r=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function i(e){var t=A[e>>2],n=A[e+4>>2];return new r(S.buffer,n,t)}te(e,{name:n=X(n),fromWireType:i,readValueFromPointer:i},{ignoreDuplicateRegistrations:!0})},wa:(e,t)=>{te(e,it)},qa:(e,t)=>{te(e,{name:t=X(t),fromWireType(e){var t;return t=((e,t)=>e?ct(L,e,t,!0):"")(e+4,A[e>>2]),Ie(e),t},toWireType(e,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var n,r="string"==typeof t;r||ArrayBuffer.isView(t)&&1==t.BYTES_PER_ELEMENT||ee("Cannot pass non-string to std::string"),n=r?at(t):t.length;var i=_e(4+n+1),o=i+4;return A[i>>2]=n,r?ot(t,o,n+1):L.set(t,o),null!==e&&e.push(Ie,i),i},readValueFromPointer:W,destructorFunction(e){Ie(e)}})},T:(e,t,n)=>{var r,i,o;n=X(n),2===t?(r=dt,i=ht,o=ft):(r=pt,i=mt,o=gt),te(e,{name:n,fromWireType:e=>{var n=A[e>>2],i=r(e+4,n*t,!0);return Ie(e),i},toWireType:(e,r)=>{"string"!=typeof r&&ee(`Cannot pass non-string to C++ string type ${n}`);var a=o(r),s=_e(4+a+t);return A[s>>2]=a/t,i(r,s+4,a+t),null!==e&&e.push(Ie,s),s},readValueFromPointer:W,destructorFunction(e){Ie(e)}})},I:(e,t,n,r,i,o)=>{H[e]={name:X(t),rawConstructor:Me(n,r),rawDestructor:Me(i,o),fields:[]}},ya:(e,t,n,r,i,o,a,s,l,c)=>{H[e].fields.push({fieldName:X(t),getterReturnType:n,getter:Me(r,i),getterContext:o,setterArgumentType:a,setter:Me(s,l),setterContext:c})},sa:(e,t)=>{te(e,{isVoid:!0,name:t=X(t),fromWireType:()=>{},toWireType:(e,t)=>{}})},O:(e,t,n)=>{var[r,...i]=((e,t)=>{for(var n=Array(e),r=0;r<e;++r)n[r]=yt(A[t+4*r>>2],`parameter ${r}`);return n})(e,t),o=r.toWireType.bind(r),a=i.map(e=>e.readValueFromPointer.bind(e));e--;var s=Array(e);return(e=>{var t=vt.length;return vt.push(e),t})(ce(`methodCaller<(${i.map(e=>e.name)}) => ${r.name}>`,(t,r,i,l)=>{for(var c=0,u=0;u<e;++u)s[u]=a[u](l+c),c+=8;var d;switch(n){case 0:d=Je.toValue(t).apply(null,s);break;case 2:d=Reflect.construct(Je.toValue(t),s);break;case 3:d=s[0];break;case 1:d=Je.toValue(t)[Ct(r)](...s)}return((e,t,n)=>{var r=[],i=e(r,n);return r.length&&(A[t>>2]=Je.toHandle(r)),i})(o,i,d)}))},za:Xe,E:e=>e?(e=Ct(e),Je.toHandle(globalThis[e])):Je.toHandle(globalThis),U:e=>{e>9&&(Qe[e+1]+=1)},N:(e,t,n,r,i)=>vt[e](t,n,r,i),la:e=>{U(Je.toValue(e)),Xe(e)},ea:(e,t,n,r)=>{var i=(new Date).getFullYear(),o=new Date(i,0,1),a=new Date(i,6,1),s=o.getTimezoneOffset(),l=a.getTimezoneOffset(),c=Math.max(s,l);A[e>>2]=60*c,k[t>>2]=Number(s!=l);var u=e=>{var t=e>=0?"-":"+",n=Math.abs(e);return`UTC${t}${String(Math.floor(n/60)).padStart(2,"0")}${String(n%60).padStart(2,"0")}`},d=u(s),h=u(l);l<s?(ot(d,n,17),ot(h,r,17)):(ot(d,r,17),ot(h,n,17))},ia:e=>{var t=L.length,n=2147483648;if((e>>>=0)>n)return!1;for(var r=1;r<=4;r*=2){var i=t*(1+.2/r);if(i=Math.min(i,e+100663296),Et(Math.min(n,wt(Math.max(e,i),65536))))return!0}return!1},fa:(e,t)=>{var n=0,r=0;for(var i of St()){var o=t+n;A[e+r>>2]=o,n+=ot(i,o,1/0)+1,r+=4}return 0},ga:(e,t)=>{var n=St();A[e>>2]=n.length;var r=0;for(var i of n)r+=at(i)+1;return A[t>>2]=r,0},ja:e=>52,$:function(e,t,n,r,i){return 70},W:(e,t,n,r)=>{for(var i=0,o=0;o<n;o++){var a=A[t>>2],s=A[t+4>>2];t+=8;for(var l=0;l<s;l++)Tt(e,L[a+l]);i+=s}return A[r>>2]=i,0},na:function(e,t,n){var r=F();try{return Te(e)(t,n)}catch(i){if(_(r),i!==i+0)throw i;$e(1,0)}},M:function(e,t,n,r){var i=F();try{return Te(e)(t,n,r)}catch(o){if(_(i),o!==o+0)throw o;$e(1,0)}},B:function(e,t,n,r,i,o){var a=F();try{return Te(e)(t,n,r,i,o)}catch(s){if(_(a),s!==s+0)throw s;$e(1,0)}},P:function(e,t,n,r,i,o){var a=F();try{return Te(e)(t,n,r,i,o)}catch(s){if(_(a),s!==s+0)throw s;$e(1,0)}},V:function(e,t,n,r){var i=F();try{return Te(e)(t,n,r)}catch(o){if(_(i),o!==o+0)throw o;$e(1,0)}},q:function(e){var t=F();try{return Te(e)()}catch(n){if(_(t),n!==n+0)throw n;$e(1,0)}},b:function(e,t){var n=F();try{return Te(e)(t)}catch(r){if(_(n),r!==r+0)throw r;$e(1,0)}},F:function(e,t,n,r){var i=F();try{return Te(e)(t,n,r)}catch(o){if(_(i),o!==o+0)throw o;$e(1,0)}},ka:function(e,t,n){var r=F();try{return Te(e)(t,n)}catch(i){if(_(r),i!==i+0)throw i;$e(1,0)}},c:function(e,t,n){var r=F();try{return Te(e)(t,n)}catch(i){if(_(r),i!==i+0)throw i;$e(1,0)}},Q:function(e,t,n,r,i){var o=F();try{return Te(e)(t,n,r,i)}catch(a){if(_(o),a!==a+0)throw a;$e(1,0)}},h:function(e,t,n,r){var i=F();try{return Te(e)(t,n,r)}catch(o){if(_(i),o!==o+0)throw o;$e(1,0)}},j:function(e,t,n,r,i){var o=F();try{return Te(e)(t,n,r,i)}catch(a){if(_(o),a!==a+0)throw a;$e(1,0)}},s:function(e,t,n,r,i,o){var a=F();try{return Te(e)(t,n,r,i,o)}catch(s){if(_(a),s!==s+0)throw s;$e(1,0)}},R:function(e,t,n,r,i,o,a){var s=F();try{return Te(e)(t,n,r,i,o,a)}catch(l){if(_(s),l!==l+0)throw l;$e(1,0)}},t:function(e,t,n,r,i,o,a){var s=F();try{return Te(e)(t,n,r,i,o,a)}catch(l){if(_(s),l!==l+0)throw l;$e(1,0)}},G:function(e,t,n,r,i,o,a,s){var l=F();try{return Te(e)(t,n,r,i,o,a,s)}catch(c){if(_(l),c!==c+0)throw c;$e(1,0)}},C:function(e,t,n,r,i,o,a,s,l){var c=F();try{return Te(e)(t,n,r,i,o,a,s,l)}catch(u){if(_(c),u!==u+0)throw u;$e(1,0)}},K:function(e,t,n,r,i,o,a,s,l,c,u,d){var h=F();try{return Te(e)(t,n,r,i,o,a,s,l,c,u,d)}catch(f){if(_(h),f!==f+0)throw f;$e(1,0)}},aa:function(e,t,n,r,i,o,a){var s=F();try{return We(e,t,n,r,i,o,a)}catch(l){if(_(s),l!==l+0)throw l;$e(1,0)}},_:function(e,t,n,r,i){var o=F();try{return Ge(e,t,n,r,i)}catch(a){if(_(o),a!==a+0)throw a;$e(1,0)}},f:function(e){var t=F();try{Te(e)()}catch(n){if(_(t),n!==n+0)throw n;$e(1,0)}},l:function(e,t){var n=F();try{Te(e)(t)}catch(r){if(_(n),r!==r+0)throw r;$e(1,0)}},e:function(e,t,n){var r=F();try{Te(e)(t,n)}catch(i){if(_(r),i!==i+0)throw i;$e(1,0)}},X:function(e,t,n,r,i,o,a,s,l){var c=F();try{Te(e)(t,n,r,i,o,a,s,l)}catch(u){if(_(c),u!==u+0)throw u;$e(1,0)}},g:function(e,t,n,r){var i=F();try{Te(e)(t,n,r)}catch(o){if(_(i),o!==o+0)throw o;$e(1,0)}},L:function(e,t,n,r,i,o,a){var s=F();try{Te(e)(t,n,r,i,o,a)}catch(l){if(_(s),l!==l+0)throw l;$e(1,0)}},k:function(e,t,n,r,i){var o=F();try{Te(e)(t,n,r,i)}catch(a){if(_(o),a!==a+0)throw a;$e(1,0)}},ma:function(e,t,n,r,i,o,a,s){var l=F();try{Te(e)(t,n,r,i,o,a,s)}catch(c){if(_(l),c!==c+0)throw c;$e(1,0)}},o:function(e,t,n,r,i,o){var a=F();try{Te(e)(t,n,r,i,o)}catch(s){if(_(a),s!==s+0)throw s;$e(1,0)}},y:function(e,t,n,r,i,o,a){var s=F();try{Te(e)(t,n,r,i,o,a)}catch(l){if(_(s),l!==l+0)throw l;$e(1,0)}},v:function(e,t,n,r,i,o,a,s){var l=F();try{Te(e)(t,n,r,i,o,a,s)}catch(c){if(_(l),c!==c+0)throw c;$e(1,0)}},D:function(e,t,n,r,i,o,a,s,l){var c=F();try{Te(e)(t,n,r,i,o,a,s,l)}catch(u){if(_(c),u!==u+0)throw u;$e(1,0)}},w:function(e,t,n,r,i,o,a,s,l,c){var u=F();try{Te(e)(t,n,r,i,o,a,s,l,c)}catch(d){if(_(u),d!==d+0)throw d;$e(1,0)}},n:function(e,t,n,r,i,o,a,s,l,c,u){var d=F();try{Te(e)(t,n,r,i,o,a,s,l,c,u)}catch(h){if(_(d),h!==h+0)throw h;$e(1,0)}},J:function(e,t,n,r,i,o,a,s,l,c,u,d,h,f,p,m){var g=F();try{Te(e)(t,n,r,i,o,a,s,l,c,u,d,h,f,p,m)}catch(v){if(_(g),v!==v+0)throw v;$e(1,0)}},oa:function(e,t,n,r,i,o,a,s,l,c,u,d,h,f,p,m,g){var v=F();try{Te(e)(t,n,r,i,o,a,s,l,c,u,d,h,f,p,m,g)}catch(y){if(_(v),y!==y+0)throw y;$e(1,0)}},ba:function(e,t,n,r,i,o,a,s,l,c,u,d,h,f,p,m,g,v,y,b){var C=F();try{Ue(e,t,n,r,i,o,a,s,l,c,u,d,h,f,p,m,g,v,y,b)}catch(w){if(_(C),w!==w+0)throw w;$e(1,0)}},z:e=>e},At=await async function(){function e(e,t){return function(e){De=e.Ca,Ie=r._free=e.Da,_e=r._malloc=e.Fa,Fe=e.Ga,$e=e.Ha,Ne=e.Ia,Be=e.Ja,je=e.Ka,ze=e.La,Ve=e.Ma,He=e.Na,Se.viijii=e.Oa,Ue=Se.viijjijjjjjj=e.Pa,We=Se.iiijj=e.Qa,Se.jiji=e.Ra,Ge=Se.jiiii=e.Sa,Se.iiiiij=e.Ta,Se.iiiiijj=e.Ua,Se.iiiiiijj=e.Va,qe=e.Aa,Ke=e.Ea}(At=e.exports),b(),At}var t={a:Mt};return r.instantiateWasm?new Promise((n,i)=>{r.instantiateWasm(t,(t,r)=>{n(e(t))})}):(null!=p||(p=function(){return e="zxing_reader.wasm",r.locateFile?r.locateFile(e,u):u+e;var e}()),e((await w(d,p,t)).instance))}();return function(){function e(){var e,t;r.calledRun=!0,!v&&(y=!0,At.Ba(),null==(e=h)||e(r),null==(t=r.onRuntimeInitialized)||t.call(r),function(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)O(r.postRun.shift());P(R)}())}!function(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)I(r.preRun.shift());P(D)}(),r.setStatus?(r.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>r.setStatus(""),1),e()},1)):e()}(),y?r:new Promise((e,t)=>
1{h=e,f=t})}var gMe=[["aztec","Aztec"],["aztec_code","AztecCode"],["aztec_rune","AztecRune"],["code_128","Code128"],["code_39","Code39"],["code_39_standard","Code39Std"],["code_39_extended","Code39Ext"],["code_32","Code32"],["pzn","PZN"],["code_93","Code93"],["codabar","Codabar"],["databar","DataBar"],["databar_omni","DataBarOmni"],["databar_stacked","DataBarStk"],["databar_stacked_omni","DataBarStkOmni"],["databar_expanded","DataBarExp"],["databar_expanded_stacked","DataBarExpStk"],["databar_limited","DataBarLtd"],["data_matrix","DataMatrix"],["dx_film_edge","DXFilmEdge"],["ean_13","EAN13"],["ean_upc","EANUPC"],["isbn","ISBN"],["ean_8","EAN8"],["itf","ITF"],["itf_14","ITF14"],["maxi_code","MaxiCode"],["micro_qr_code","MicroQRCode"],["pdf417","PDF417"],["compact_pdf417","CompactPDF417"],["micro_pdf417","MicroPDF417"],["qr_code","QRCode"],["qr_code_model_1","QRCodeModel1"],["qr_code_model_2","QRCodeModel2"],["rm_qr_code","RMQRCode"],["upc_a","UPCA"],["upc_e","UPCE"],["telepen","Telepen"],["telepen_alpha","TelepenAlpha"],["telepen_numeric","TelepenNumeric"],["other_barcode","OtherBarcode"],["linear_codes","AllLinear"],["matrix_codes","AllMatrix"],["gs1_codes","AllGS1"],["retail_codes","AllRetail"],["industrial_codes","AllIndustrial"],["any","All"]],vMe=[...gMe,["unknown"]].map(e=>e[0]),yMe=new Map(gMe);function bMe(e){for(let[t,n]of yMe)if(e===n)return t;return"unknown"}function CMe(e){try{var t;return e instanceof(null==e||null==(t=e.ownerDocument)||null==(t=t.defaultView)?void 0:t.HTMLImageElement)}catch{return!1}}function wMe(e){try{var t;return e instanceof(null==e||null==(t=e.ownerDocument)||null==(t=t.defaultView)?void 0:t.SVGImageElement)}catch{return!1}}function EMe(e){try{var t;return e instanceof(null==e||null==(t=e.ownerDocument)||null==(t=t.defaultView)?void 0:t.HTMLVideoElement)}catch{return!1}}function kMe(e){try{var t;return e instanceof(null==e||null==(t=e.ownerDocument)||null==(t=t.defaultView)?void 0:t.HTMLCanvasElement)}catch{return!1}}function SMe(e){try{return e instanceof ImageBitmap||"[object ImageBitmap]"===Object.prototype.toString.call(e)}catch{return!1}}function xMe(e){try{return e instanceof OffscreenCanvas||"[object OffscreenCanvas]"===Object.prototype.toString.call(e)}catch{return!1}}function TMe(e){try{return e instanceof VideoFrame||"[object VideoFrame]"===Object.prototype.toString.call(e)}catch{return!1}}async function MMe(e){if(CMe(e)&&!(await async function(e){try{return await e.decode(),!0}catch{return!1}}(e)))throw new DOMException("Failed to load or decode HTMLImageElement.","InvalidStateError");if(wMe(e)&&!(await async function(e){try{var t;return await(null==(t=e.decode)?void 0:t.call(e)),!0}catch{return!1}}(e)))throw new DOMException("Failed to load or decode SVGImageElement.","InvalidStateError");if(TMe(e)&&function(e){return null===e.format}(e))throw new DOMException("VideoFrame is closed.","InvalidStateError");if(EMe(e)&&(0===e.readyState||1===e.readyState))throw new DOMException("Invalid element or state.","InvalidStateError");if(SMe(e)&&function(e){return 0===e.width&&0===e.height}(e))throw new DOMException("The image source is detached.","InvalidStateError");let{width:t,height:n}=function(e){if(CMe(e))return{width:e.naturalWidth,height:e.naturalHeight};if(wMe(e))return{width:e.width.baseVal.value,height:e.height.baseVal.value};if(EMe(e))return{width:e.videoWidth,height:e.videoHeight};if(SMe(e))return{width:e.width,height:e.height};if(TMe(e))return{width:e.displayWidth,height:e.displayHeight};if(kMe(e)||xMe(e))return{width:e.width,height:e.height};throw TypeError("The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.")}(e);if(0===t||0===n)return null;let r=function(e,t){try{let n=new OffscreenCanvas(e,t);if(n.getContext("2d")instanceof OffscreenCanvasRenderingContext2D)return n;throw void 0}catch{let n=document.createElement("canvas");return n.width=e,n.height=t,n}}(t,n).getContext("2d");r.drawImage(e,0,0);try{return r.getImageData(0,0,t,n)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}function AMe(e,t){return function(e){return e instanceof DOMException||"[object DOMException]"===Object.prototype.toString.call(e)}(e)?new DOMException(`${t}: ${e.message}`,e.name):function(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}(e)?new e.constructor(`${t}: ${e.message}`):Error(`${t}: ${e}`)}function LMe(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError("Private element is not present on this object")}function PMe(e,t){return e.get(LMe(e,t))}var RMe=new WeakMap,OMe=class{constructor(e={}){!function(e,t,n){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}(this,RMe,void 0);try{var t;let n=null==e||null==(t=e.formats)?void 0:t.filter(e=>"unknown"!==e);if(0===(null==n?void 0:n.length))throw TypeError("Hint option provided, but is empty.");for(let e of null==n?[]:n)if(!yMe.has(e))throw TypeError(`Failed to read the 'formats' property from 'BarcodeDetectorOptions': The provided value '${e}' is not a valid enum value of type BarcodeFormat.`);(function(e,t,n){e.set(LMe(e,t),n)})(RMe,this,null==n?[]:n),pMe(mMe,{fireImmediately:!0}).catch(()=>{})}catch(n){throw AMe(n,"Failed to construct 'BarcodeDetector'")}}
1static async getSupportedFormats(){return vMe.filter(e=>"unknown"!==e)}async detect(e){try{let n=await async function(e){if(function(e){try{return e instanceof Blob||"[object Blob]"===Object.prototype.toString.call(e)}catch{return!1}}(e))return await async function(e){let t;try{t=await createImageBitmap(e)}catch{try{if(!globalThis.Image)return e;{t=new Image;let n="";try{n=URL.createObjectURL(e),t.src=n,await t.decode()}finally{URL.revokeObjectURL(n)}}}catch{throw new DOMException("Failed to load or decode Blob.","InvalidStateError")}}return await MMe(t)}(e);if(function(e){try{return e instanceof ImageData||"[object ImageData]"===Object.prototype.toString.call(e)}catch{return!1}}(e)){if(function(e){return 0===e.data.buffer.byteLength}(e))throw new DOMException("The image data has been detached.","InvalidStateError");return e}return kMe(e)||xMe(e)?function(e){let{width:t,height:n}=e;if(0===t||0===n)return null;let r=e.getContext("2d");try{return r.getImageData(0,0,t,n)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}(e):await MMe(e)}(e);if(null===n)return[];let r,i={textMode:"Plain",formats:PMe(RMe,this).map(e=>yMe.get(e))};try{r=await async function(e,t){return async function(e,t,n=lMe){let r,i,o={...lMe,...n},a=await pMe(e,{fireImmediately:!0});if("width"in t&&"height"in t&&"data"in t){let{data:e,width:n,height:s}=t,l=function(e){let t=e.byteLength>>2,n=new Uint8Array(t);for(let r=0;r<t;r++){let t=r<<2;n[r]=306*e[t]+601*e[t+1]+117*e[t+2]+512>>10}return n}(e),c=l.byteLength;if(i=a._malloc(c),!i)throw Error(`Failed to allocate ${c} bytes in WASM memory`);try{a.HEAPU8.set(l,i),r=a.readBarcodesFromPixmap(i,n,s,cMe(o))}finally{a._free(i)}}else{let e,n;if("buffer"in t)[e,n]=[t.byteLength,t];else if("byteLength"in t)[e,n]=[t.byteLength,new Uint8Array(t)];else{if(!("size"in t))throw TypeError("Invalid input type");[e,n]=[t.size,new Uint8Array(await t.arrayBuffer())]}if(i=a._malloc(e),!i)throw Error(`Failed to allocate ${e} bytes in WASM memory`);try{a.HEAPU8.set(n,i),r=a.readBarcodesFromImage(i,e,cMe(o))}finally{a._free(i)}}let s=[];for(let l=0;l<r.size();++l)s.push(uMe(r.get(l)));return s}(mMe,e,t)}(n,i)}catch(t){throw new DOMException("Barcode detection service unavailable.","NotSupportedError")}return r.map(e=>{let{topLeft:{x:t,y:n},topRight:{x:r,y:i},bottomLeft:{x:o,y:a},bottomRight:{x:s,y:l}}=e.position,c=Math.min(t,r,o,s),u=Math.min(n,i,a,l),d=Math.max(t,r,o,s),h=Math.max(n,i,a,l);return{boundingBox:new DOMRectReadOnly(c,u,d-c,h-u),rawValue:e.text,format:bMe(e.format),cornerPoints:[{x:t,y:n},{x:r,y:i},{x:s,y:l},{x:o,y:a}]}})}catch(t){throw AMe(t,"Failed to execute 'detect' on 'BarcodeDetector'")}}};let DMe=!0,IMe=!0;function _Me(e,t,n){const r=e.match(t);return r&&r.length>=n&&parseFloat(r[n],10)}function FMe(e,t,n){if(!e.RTCPeerConnection)return;if(!Object.getOwnPropertyDescriptor(EventTarget.prototype,"addEventListener").writable)return void BMe();const r=e.RTCPeerConnection.prototype,i=r.addEventListener;r.addEventListener=function(e,r){if(e!==t)return i.apply(this,arguments);const o=e=>{const t=n(e);t&&(r.handleEvent?r.handleEvent(t):r(t))};return this._eventMap=this._eventMap||{},this._eventMap[t]||(this._eventMap[t]=new Map),this._eventMap[t].set(r,o),i.apply(this,[e,o])};const o=r.removeEventListener;r.removeEventListener=function(e,n){if(e!==t||!this._eventMap||!this._eventMap[t])return o.apply(this,arguments);if(!this._eventMap[t].has(n))return o.apply(this,arguments);const r=this._eventMap[t].get(n);return this._eventMap[t].delete(n),0===this._eventMap[t].size&&delete this._eventMap[t],0===Object.keys(this._eventMap).length&&delete this._eventMap,o.apply(this,[e,r])},Object.defineProperty(r,"on"+t,{get(){return this["_on"+t]},set(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})}function $Me(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(DMe=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function NMe(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(IMe=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}
vendor: 8,587 bytes, line 1
1function BMe(){if("object"==typeof window){if(DMe)return;"undefined"!=typeof console&&console.log}}function jMe(e,t){}function zMe(e){return"[object Object]"===Object.prototype.toString.call(e)}function VMe(e){return zMe(e)?Object.keys(e).reduce(function(t,n){const r=zMe(e[n]),i=r?VMe(e[n]):e[n],o=r&&!Object.keys(i).length;return void 0===i||o?t:Object.assign(t,{[n]:i})},{}):e}function HMe(e,t,n){t&&!n.has(t.id)&&(n.set(t.id,t),Object.keys(t).forEach(r=>{r.endsWith("Id")?HMe(e,e.get(t[r]),n):r.endsWith("Ids")&&t[r].forEach(t=>{HMe(e,e.get(t),n)})}))}function UMe(e,t,n){const r=n?"outbound-rtp":"inbound-rtp",i=new Map;if(null===t)return i;const o=[];return e.forEach(e=>{"track"===e.type&&e.trackIdentifier===t.id&&o.push(e)}),o.forEach(t=>{e.forEach(n=>{n.type===r&&n.trackId===t.id&&HMe(e,n,i)})}),i}const WMe=BMe;function GMe(e,t){if(t.version>=64)return;const n=e&&e.navigator;if(!n.mediaDevices)return;const r=function(e){if("object"!=typeof e||e.mandatory||e.optional)return e;const t={};return Object.keys(e).forEach(n=>{if("require"===n||"advanced"===n||"mediaSource"===n)return;const r="object"==typeof e[n]?e[n]:{ideal:e[n]};void 0!==r.exact&&"number"==typeof r.exact&&(r.min=r.max=r.exact);const i=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==r.ideal){t.optional=t.optional||[];let e={};"number"==typeof r.ideal?(e[i("min",n)]=r.ideal,t.optional.push(e),e={},e[i("max",n)]=r.ideal,t.optional.push(e)):(e[i("",n)]=r.ideal,t.optional.push(e))}void 0!==r.exact&&"number"!=typeof r.exact?(t.mandatory=t.mandatory||{},t.mandatory[i("",n)]=r.exact):["min","max"].forEach(e=>{void 0!==r[e]&&(t.mandatory=t.mandatory||{},t.mandatory[i(e,n)]=r[e])})}),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},i=function(e,i){if(t.version>=61)return i(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"==typeof e.audio){const t=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])};t((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),t(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=r(e.audio)}if(e&&"object"==typeof e.video){let o=e.video.facingMode;o=o&&("object"==typeof o?o:{ideal:o});const a=t.version<66;if(o&&("user"===o.exact||"environment"===o.exact||"user"===o.ideal||"environment"===o.ideal)&&(!n.mediaDevices.getSupportedConstraints||!n.mediaDevices.getSupportedConstraints().facingMode||a)){let t;if(delete e.video.facingMode,"environment"===o.exact||"environment"===o.ideal?t=["back","rear"]:"user"!==o.exact&&"user"!==o.ideal||(t=["front"]),t)return n.mediaDevices.enumerateDevices().then(n=>{let a=(n=n.filter(e=>"videoinput"===e.kind)).find(e=>t.some(t=>e.label.toLowerCase().includes(t)));return!a&&n.length&&t.includes("back")&&(a=n[n.length-1]),a&&(e.video.deviceId=o.exact?{exact:a.deviceId}:{ideal:a.deviceId}),e.video=r(e.video),WMe("chrome: "+JSON.stringify(e)),i(e)})}e.video=r(e.video)}return WMe("chrome: "+JSON.stringify(e)),i(e)},o=function(e){return t.version>=64?e:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString(){return this.name+(this.message&&": ")+this.message}}};if(n.getUserMedia=function(e,t,r){i(e,e=>{n.webkitGetUserMedia(e,t,e=>{r&&r(o(e))})})}.bind(n),n.mediaDevices.getUserMedia){const e=n.mediaDevices.getUserMedia.bind(n.mediaDevices);n.mediaDevices.getUserMedia=function(t){return i(t,t=>e(t).then(e=>{if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach(e=>{e.stop()}),new DOMException("","NotFoundError");return e},e=>Promise.reject(o(e))))}}}function qMe(e){e.MediaStream=e.MediaStream||e.webkitMediaStream}function KMe(e,t){if(!(t.version>102))if("object"==typeof e&&e.RTCPeerConnection&&!("ontrack"in e.RTCPeerConnection.prototype)){Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get(){return this._ontrack},set(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)},enumerable:!0,configurable:!0});const t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){return this._ontrackpoly||(this._ontrackpoly=t=>{t.stream.addEventListener("addtrack",n=>{let r;r=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(e=>e.track&&e.track.id===n.track.id):{track:n.track};const i=new Event("track");i.track=n.track,i.receiver=r,i.transceiver={receiver:r},i.streams=[t.stream],this.dispatchEvent(i)}),t.stream.getTracks().forEach(n=>{let r;r=e.RTCPeerConnection.prototype.getReceivers?this.getReceivers().find(e=>e.track&&e.track.id===n.id):{track:n};const i=new Event("track");i.track=n,i.receiver=r,i.transceiver={receiver:r},i.streams=[t.stream],this.dispatchEvent(i)})},this.addEventListener("addstream",this._ontrackpoly)),t.apply(this,arguments)}}else FMe(e,"track",e=>(e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e))}function YMe(e){if("object"==typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){const t=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};const n=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,r){let i=n.apply(this,arguments);return i||(i=t(this,e),this._senders.push(i)),i};const r=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){r.apply(this,arguments);const t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}const n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._senders=this._senders||[],n.apply(this,[e]),e.getTracks().forEach(e=>{this._senders.push(t(this,e))})};const r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){this._senders=this._senders||[],r.apply(this,[e]),e.getTracks().forEach(e=>{const t=this._senders.find(t=>t.track===e);t&&this._senders.splice(this._senders.indexOf(t),1)})}}else if("object"==typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){const t=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){const e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function ZMe(e,t){if(t.version>=67)return;if(!("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver))return;if(!("getStats"in e.RTCRtpSender.prototype)){const t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){const e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e});const n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){const e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){const e=this;return this._pc.getStats().then(t=>UMe(t,e.track,!0))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){const t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){const e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e}),FMe(e,"track",e=>(e.receiver._pc=e.srcElement,e)),e.RTCRtpReceiver.prototype.getStats=function(){const e=this;return this._pc.getStats().then(t=>UMe(t,e.track,!1))}}if(!("getStats"in e.RTCRtpSender.prototype)||!("getStats"in e.RTCRtpReceiver.prototype))return;const n=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){const e=arguments[0];let t,n,r;
vendor: 4,339 bytes, line 1
1return this.getSenders().forEach(n=>{n.track===e&&(t?r=!0:t=n)}),this.getReceivers().forEach(t=>(t.track===e&&(n?r=!0:n=t),t.track===e)),r||t&&n?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):t?t.getStats():n?n.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return n.apply(this,arguments)}}function QMe(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(e=>this._shimmedLocalStreams[e][0])};const t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,n){if(!n)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};const r=t.apply(this,arguments);return this._shimmedLocalStreams[n.id]?-1===this._shimmedLocalStreams[n.id].indexOf(r)&&this._shimmedLocalStreams[n.id].push(r):this._shimmedLocalStreams[n.id]=[n,r],r};const n=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach(e=>{if(this.getSenders().find(t=>t.track===e))throw new DOMException("Track already exists.","InvalidAccessError")});const t=this.getSenders();n.apply(this,arguments);const r=this.getSenders().filter(e=>-1===t.indexOf(e));this._shimmedLocalStreams[e.id]=[e].concat(r)};const r=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],r.apply(this,arguments)};const i=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},e&&Object.keys(this._shimmedLocalStreams).forEach(t=>{const n=this._shimmedLocalStreams[t].indexOf(e);-1!==n&&this._shimmedLocalStreams[t].splice(n,1),1===this._shimmedLocalStreams[t].length&&delete this._shimmedLocalStreams[t]}),i.apply(this,arguments)}}function XMe(e,t){if(!e.RTCPeerConnection)return;if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return QMe(e);const n=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){const e=n.apply(this);return this._reverseStreams=this._reverseStreams||{},e.map(e=>this._reverseStreams[e.id])};const r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(t){if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},t.getTracks().forEach(e=>{if(this.getSenders().find(t=>t.track===e))throw new DOMException("Track already exists.","InvalidAccessError")}),!this._reverseStreams[t.id]){const n=new e.MediaStream(t.getTracks());this._streams[t.id]=n,this._reverseStreams[n.id]=t,t=n}r.apply(this,[t])};const i=e.RTCPeerConnection.prototype.removeStream;function o(e,t){let n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach(t=>{const r=e._reverseStreams[t],i=e._streams[r.id];n=n.replace(new RegExp(i.id,"g"),r.id)}),new RTCSessionDescription({type:t.type,sdp:n})}e.RTCPeerConnection.prototype.removeStream=function(e){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},i.apply(this,[this._streams[e.id]||e]),delete this._reverseStreams[this._streams[e.id]?this._streams[e.id].id:e.id],delete this._streams[e.id]},e.RTCPeerConnection.prototype.addTrack=function(t,n){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");const r=[].slice.call(arguments,1);if(1!==r.length||!r[0].getTracks().find(e=>e===t))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");if(this.getSenders().find(e=>e.track===t))throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};const i=this._streams[n.id];if(i)i.addTrack(t),Promise.resolve().then(()=>{this.dispatchEvent(new Event("negotiationneeded"))});else{const r=new e.MediaStream([t]);this._streams[n.id]=r,this._reverseStreams[r.id]=n,this.addStream(r)}
vendor: 9,778 bytes, line 1
1return this.getSenders().find(e=>e.track===t)},["createOffer","createAnswer"].forEach(function(t){const n=e.RTCPeerConnection.prototype[t],r={[t](){const e=arguments;return arguments.length&&"function"==typeof arguments[0]?n.apply(this,[t=>{const n=o(this,t);e[0].apply(null,[n])},t=>{e[1]&&e[1].apply(null,t)},arguments[2]]):n.apply(this,arguments).then(e=>o(this,e))}};e.RTCPeerConnection.prototype[t]=r[t]});const a=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type?(arguments[0]=function(e,t){let n=t.sdp;return Object.keys(e._reverseStreams||[]).forEach(t=>{const r=e._reverseStreams[t],i=e._streams[r.id];n=n.replace(new RegExp(r.id,"g"),i.id)}),new RTCSessionDescription({type:t.type,sdp:n})}(this,arguments[0]),a.apply(this,arguments)):a.apply(this,arguments)};const s=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get(){const e=s.get.apply(this);return""===e.type?e:o(this,e)}}),e.RTCPeerConnection.prototype.removeTrack=function(e){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!e._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(e._pc!==this)throw new DOMException("Sender was not created by this connection.","InvalidAccessError");let t;this._streams=this._streams||{},Object.keys(this._streams).forEach(n=>{this._streams[n].getTracks().find(t=>e.track===t)&&(t=this._streams[n])}),t&&(1===t.getTracks().length?this.removeStream(this._reverseStreams[t.id]):t.removeTrack(e.track),this.dispatchEvent(new Event("negotiationneeded")))}}function JMe(e,t){!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),e.RTCPeerConnection&&t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(t){const n=e.RTCPeerConnection.prototype[t],r={[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}};e.RTCPeerConnection.prototype[t]=r[t]})}function eAe(e,t){t.version>102||FMe(e,"negotiationneeded",e=>{const n=e.target;if(!(t.version<72||n.getConfiguration&&"plan-b"===n.getConfiguration().sdpSemantics)||"stable"===n.signalingState)return e})}const tAe=Object.freeze(Object.defineProperty({__proto__:null,fixNegotiationNeeded:eAe,shimAddTrackRemoveTrack:XMe,shimAddTrackRemoveTrackWithNative:QMe,shimGetSendersWithDtmf:YMe,shimGetUserMedia:GMe,shimMediaStream:qMe,shimOnTrack:KMe,shimPeerConnection:JMe,shimSenderReceiverGetStats:ZMe},Symbol.toStringTag,{value:"Module"}));function nAe(e,t){const n=e&&e.navigator;if(!n.mediaDevices)return;const r=e&&e.MediaStreamTrack;if(n.getUserMedia=function(e,t,r){n.mediaDevices.getUserMedia(e).then(t,r)},!(t.version>55&&"autoGainControl"in n.mediaDevices.getSupportedConstraints())){const e=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])},t=n.mediaDevices.getUserMedia.bind(n.mediaDevices);if(n.mediaDevices.getUserMedia=function(n){return"object"==typeof n&&"object"==typeof n.audio&&(n=JSON.parse(JSON.stringify(n)),e(n.audio,"autoGainControl","mozAutoGainControl"),e(n.audio,"noiseSuppression","mozNoiseSuppression")),t(n)},r&&r.prototype.getSettings){const t=r.prototype.getSettings;r.prototype.getSettings=function(){const n=t.apply(this,arguments);return e(n,"mozAutoGainControl","autoGainControl"),e(n,"mozNoiseSuppression","noiseSuppression"),n}}if(r&&r.prototype.applyConstraints){const t=r.prototype.applyConstraints;r.prototype.applyConstraints=function(n){return"audio"===this.kind&&"object"==typeof n&&(n=JSON.parse(JSON.stringify(n)),e(n,"autoGainControl","mozAutoGainControl"),e(n,"noiseSuppression","mozNoiseSuppression")),t.apply(this,[n])}}}}function rAe(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function iAe(e,t){"object"==typeof e&&(e.RTCPeerConnection||e.mozRTCPeerConnection)&&(!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection),t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(t){const n=e.RTCPeerConnection.prototype[t],r={[t](){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),n.apply(this,arguments)}};e.RTCPeerConnection.prototype[t]=r[t]}))}function oAe(e,t){if("object"!=typeof e||!e.RTCPeerConnection&&!e.mozRTCPeerConnection)return;if(t.version>=151)return;const n={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},r=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){const[e,i,o]=arguments;return"closed"===this.signalingState?Promise.resolve(new Map):r.apply(this,[e||null]).then(e=>{if(t.version<53&&!i)try{e.forEach(e=>{e.type=n[e.type]||e.type})}catch(r){if("TypeError"!==r.name)throw r;e.forEach((t,r)=>{e.set(r,Object.assign({},t,{type:n[t.type]||t.type}))})}return e}).then(i,o)}}function aAe(e){if("object"!=typeof e||!e.RTCPeerConnection||!e.RTCRtpSender)return;if(e.RTCRtpSender&&"getStats"in e.RTCRtpSender.prototype)return;const t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){const e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e});const n=e.RTCPeerConnection.prototype.addTrack;n&&(e.RTCPeerConnection.prototype.addTrack=function(){const e=n.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}function sAe(e){if("object"!=typeof e||!e.RTCPeerConnection||!e.RTCRtpSender)return;if(e.RTCRtpSender&&"getStats"in e.RTCRtpReceiver.prototype)return;const t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){const e=t.apply(this,[]);return e.forEach(e=>e._pc=this),e}),FMe(e,"track",e=>(e.receiver._pc=e.srcElement,e)),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}function lAe(e){e.RTCPeerConnection&&!("removeStream"in e.RTCPeerConnection.prototype)&&(e.RTCPeerConnection.prototype.removeStream=function(e){this.getSenders().forEach(t=>{t.track&&e.getTracks().includes(t.track)&&this.removeTrack(t)})})}function cAe(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)}function uAe(e,t){if("object"!=typeof e||!e.RTCPeerConnection)return;if(t.version>=110)return;const n=e.RTCPeerConnection.prototype.addTransceiver;n&&(e.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];let e=arguments[1]&&arguments[1].sendEncodings;void 0===e&&(e=[]),e=[...e];const t=e.length>0;t&&e.forEach(e=>{if("rid"in e&&!/^[a-z0-9]{0,16}$/i.test(e.rid))throw new TypeError("Invalid RID value provided.");if("scaleResolutionDownBy"in e&&!(parseFloat(e.scaleResolutionDownBy)>=1))throw new RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in e&&!(parseFloat(e.maxFramerate)>=0))throw new RangeError("max_framerate must be >= 0.0")});const r=n.apply(this,arguments);if(t){const{sender:t}=r,n=t.getParameters();(!("encodings"in n)||1===n.encodings.length&&0===Object.keys(n.encodings[0]).length)&&(n.encodings=e,t.sendEncodings=e,this.setParametersPromises.push(t.setParameters(n).then(()=>{delete t.sendEncodings}).catch(()=>{delete t.sendEncodings})))}return r})}function dAe(e,t){if("object"!=typeof e||!e.RTCRtpSender)return;if(t.version>=110)return;const n=e.RTCRtpSender.prototype.getParameters;n&&(e.RTCRtpSender.prototype.getParameters=function(){const e=n.apply(this,arguments);return"encodings"in e||(e.encodings=[].concat(this.sendEncodings||[{}])),e})}function hAe(e,t){if("object"!=typeof e||!e.RTCPeerConnection)return;if(t.version>=110)return;const n=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>n.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):n.apply(this,arguments)}}function fAe(e,t){if("object"!=typeof e||!e.RTCPeerConnection)return;if(t.version>=110)return;const n=e.RTCPeerConnection.prototype.createAnswer;e.RTCPeerConnection.prototype.createAnswer=function(){return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(()=>n.apply(this,arguments)).finally(()=>{this.setParametersPromises=[]}):n.apply(this,arguments)}}const pAe=Object.freeze(Object.defineProperty({__proto__:null,shimAddTransceiver:uAe,shimCreateAnswer:fAe,shimCreateOffer:hAe,shimGetDisplayMedia:function(e,t){e.navigator.mediaDevices&&(e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||(e.navigator.mediaDevices.getDisplayMedia=function(n){if(!n||!n.video){const e=new DOMException("getDisplayMedia without video constraints is undefined");return e.name="NotFoundError",e.code=8,Promise.reject(e)}return!0===n.video?n.video={mediaSource:t}:n.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(n)}))},shimGetParameters:dAe,shimGetStats:oAe,shimGetUserMedia:nAe,shimOnTrack:rAe,shimPeerConnection:iAe,shimRTCDataChannel:cAe,shimReceiverGetStats:sAe,shimRemoveStream:lAe,shimSenderGetStats:aAe},Symbol.toStringTag,{value:"Module"}));function mAe(e){if("object"==typeof e&&e.RTCPeerConnection){if("getL
1ocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){const t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach(n=>t.call(this,n,e)),e.getVideoTracks().forEach(n=>t.call(this,n,e))},e.RTCPeerConnection.prototype.addTrack=function(e,...n){return n&&n.forEach(e=>{this._localStreams?this._localStreams.includes(e)||this._localStreams.push(e):this._localStreams=[e]}),t.apply(this,arguments)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){this._localStreams||(this._localStreams=[]);const t=this._localStreams.indexOf(e);if(-1===t)return;this._localStreams.splice(t,1);const n=e.getTracks();this.getSenders().forEach(e=>{n.includes(e.track)&&this.removeTrack(e)})})}}function gAe(e){if("object"==typeof e&&e.RTCPeerConnection&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in e.RTCPeerConnection.prototype))){Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get(){return this._onaddstream},set(e){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=e=>{e.streams.forEach(e=>{if(this._remoteStreams||(this._remoteStreams=[]),this._remoteStreams.includes(e))return;this._remoteStreams.push(e);const t=new Event("addstream");t.stream=e,this.dispatchEvent(t)})})}});const t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){const e=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(t){t.streams.forEach(t=>{if(e._remoteStreams||(e._remoteStreams=[]),e._remoteStreams.indexOf(t)>=0)return;e._remoteStreams.push(t);const n=new Event("addstream");n.stream=t,e.dispatchEvent(n)})}),t.apply(e,arguments)}}}function vAe(e){if("object"!=typeof e||!e.RTCPeerConnection)return;const t=e.RTCPeerConnection.prototype,n=t.createOffer,r=t.createAnswer,i=t.setLocalDescription,o=t.setRemoteDescription,a=t.addIceCandidate;t.createOffer=function(e,t){const r=arguments.length>=2?arguments[2]:arguments[0],i=n.apply(this,[r]);return t?(i.then(e,t),Promise.resolve()):i},t.createAnswer=function(e,t){const n=arguments.length>=2?arguments[2]:arguments[0],i=r.apply(this,[n]);return t?(i.then(e,t),Promise.resolve()):i};let s=function(e,t,n){const r=i.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r};t.setLocalDescription=s,s=function(e,t,n){const r=o.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.setRemoteDescription=s,s=function(e,t,n){const r=a.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.addIceCandidate=s}function yAe(e){const t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){const e=t.mediaDevices,n=e.getUserMedia.bind(e);t.mediaDevices.getUserMedia=e=>n(bAe(e))}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=function(e,n,r){t.mediaDevices.getUserMedia(e).then(n,r)}.bind(t))}function bAe(e){return e&&void 0!==e.video?Object.assign({},e,{video:VMe(e.video)}):e}function CAe(e){if(!e.RTCPeerConnection)return;const t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,n){if(e&&e.iceServers){const t=[];for(let n=0;n<e.iceServers.length;n++){let r=e.iceServers[n];void 0===r.urls&&r.url?(jMe(),r=JSON.parse(JSON.stringify(r)),r.urls=r.url,delete r.url,t.push(r)):t.push(e.iceServers[n])}e.iceServers=t}return new t(e,n)},e.RTCPeerConnection.prototype=t.prototype,"generateCertificate"in t&&Object.defineProperty(e.RTCPeerConnection,"generateCertificate",{get:()=>t.generateCertificate})}function wAe(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get(){return{receiver:this.receiver}}})}function EAe(e){const t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){void 0!==e.offerToReceiveAudio&&(e.offerToReceiveAudio=!!e.offerToReceiveAudio);const t=this.getTransceivers().find(e=>"audio"===e.receiver.track.kind);!1===e.offerToReceiveAudio&&t?"sendrecv"===t.direction?t.setDirection?t.setDirection("sendonly"):t.direction="sendonly":"recvonly"===t.direction&&(t.setDirection?t.setDirection("inactive"):t.direction="inactive"):!0!==e.offerToReceiveAudio||t||this.addTransceiver("audio",{direction:"recvonly"}),void 0!==e.offerToReceiveVideo&&(e.offerToReceiveVideo=!!e.offerToReceiveVideo);const n=this.getTransceivers().find(e=>"video"===e.receiver.track.kind);!1===e.offerToReceiveVideo&&n?"sendrecv"===n.direction?n.setDirection?n.setDirection("sendonly"):n.direction="sendonly":"recvonly"===n.direction&&(n.setDirection?n.setDirection("inactive"):n.direction="inactive"):!0!==e.offerToReceiveVideo||n||this.addTransceiver("video",{direction:"recvonly"})}return t.apply(this,arguments)}}function kAe(e){"object"!=typeof e||e.AudioContext||(e.AudioContext=e.webkitAudioContext)}const SAe=Object.freeze(Object.defineProperty({__proto__:null,shimAudioContext:kAe,shimCallbacksAPI:vAe,shimConstraints:bAe,shimCreateOfferLegacy:EAe,shimGetUserMedia:yAe,shimLocalStreamsAPI:mAe,shimRTCIceServerUrls:CAe,shimRemoteStreamsAPI:gAe,shimTrackEventTransceiver:wAe},Symbol.toStringTag,{value:"Module"}));var xAe,TAe={exports:{}},MAe=(xAe||(xAe=1,function(e){const t={generateIdentifier:function(){return Math.random().toString(36).substring(2,12)}};t.localCName=t.generateIdentifier(),t.splitLines=function(e){return e.trim().split("\n").map(e=>e.trim())},t.splitSections=function(e){return e.split("\nm=").map((e,t)=>(t>0?"m="+e:e).trim()+"\r\n")},t.getDescription=function(e){const n=t.splitSections(e);return n&&n[0]},t.getMediaSections=function(e){const n=t.splitSections(e);return n.shift(),n},t.matchPrefix=function(e,n){return t.splitLines(e).filter(e=>0===e.indexOf(n))},t.parseCandidate=function(e){let t;t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" ");const n={foundation:t[0],component:{1:"rtp",2:"rtcp"}[t[1]]||t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]};for(let r=8;r<t.length;r+=2)switch(t[r]){case"raddr":n.relatedAddress=t[r+1];break;case"rport":n.relatedPort=parseInt(t[r+1],10);break;case"tcptype":n.tcpType=t[r+1];break;case"ufrag":n.ufrag=t[r+1],n.usernameFragment=t[r+1];break;default:void 0===n[t[r]]&&(n[t[r]]=t[r+1])}return n},t.writeCandidate=function(e){const t=[];t.push(e.foundation);const n=e.component;"rtp"===n?t.push(1):"rtcp"===n?t.push(2):t.push(n),t.push(e.protocol.toUpperCase()),t.push(e.priority),t.push(e.address||e.ip),t.push(e.port);const r=e.type;return t.push("typ"),t.push(r),"host"!==r&&e.relatedAddress&&void 0!==e.relatedPort&&(t.push("raddr"),t.pu
vendor: 4,603 bytes, line 1
1sh(e.relatedAddress),t.push("rport"),t.push(e.relatedPort)),e.tcpType&&"tcp"===e.protocol.toLowerCase()&&(t.push("tcptype"),t.push(e.tcpType)),(e.usernameFragment||e.ufrag)&&(t.push("ufrag"),t.push(e.usernameFragment||e.ufrag)),"candidate:"+t.join(" ")},t.parseIceOptions=function(e){return e.substring(14).split(" ")},t.parseRtpMap=function(e){let t=e.substring(9).split(" ");const n={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),n.name=t[0],n.clockRate=parseInt(t[1],10),n.channels=3===t.length?parseInt(t[2],10):1,n.numChannels=n.channels,n},t.writeRtpMap=function(e){let t=e.payloadType;void 0!==e.preferredPayloadType&&(t=e.preferredPayloadType);const n=e.channels||e.numChannels||1;return"a=rtpmap:"+t+" "+e.name+"/"+e.clockRate+(1!==n?"/"+n:"")+"\r\n"},t.parseExtmap=function(e){const t=e.substring(9).split(" ");return{id:parseInt(t[0],10),direction:t[0].indexOf("/")>0?t[0].split("/")[1]:"sendrecv",uri:t[1],attributes:t.slice(2).join(" ")}},t.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+(e.attributes?" "+e.attributes:"")+"\r\n"},t.parseFmtp=function(e){const t={};let n;const r=e.substring(e.indexOf(" ")+1).split(";");for(let i=0;i<r.length;i++)n=r[i].trim().split("="),t[n[0].trim()]=n[1];return t},t.writeFmtp=function(e){let t="",n=e.payloadType;if(void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.parameters&&Object.keys(e.parameters).length){const r=[];Object.keys(e.parameters).forEach(t=>{void 0!==e.parameters[t]?r.push(t+"="+e.parameters[t]):r.push(t)}),t+="a=fmtp:"+n+" "+r.join(";")+"\r\n"}return t},t.parseRtcpFb=function(e){const t=e.substring(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},t.writeRtcpFb=function(e){let t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach(e=>{t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"}),t},t.parseSsrcMedia=function(e){const t=e.indexOf(" "),n={ssrc:parseInt(e.substring(7,t),10)},r=e.indexOf(":",t);return r>-1?(n.attribute=e.substring(t+1,r),n.value=e.substring(r+1)):n.attribute=e.substring(t+1),n},t.parseSsrcGroup=function(e){const t=e.substring(13).split(" ");return{semantics:t.shift(),ssrcs:t.map(e=>parseInt(e,10))}},t.getMid=function(e){const n=t.matchPrefix(e,"a=mid:")[0];if(n)return n.substring(6)},t.parseFingerprint=function(e){const t=e.substring(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1].toUpperCase()}},t.getDtlsParameters=function(e,n){return{role:"auto",fingerprints:t.matchPrefix(e+n,"a=fingerprint:").map(t.parseFingerprint)}},t.writeDtlsParameters=function(e,t){let n="a=setup:"+t+"\r\n";return e.fingerprints.forEach(e=>{n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),n},t.parseCryptoLine=function(e){const t=e.substring(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},t.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"==typeof e.keyParams?t.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},t.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;const t=e.substring(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},t.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},t.getCryptoParameters=function(e,n){return t.matchPrefix(e+n,"a=crypto:").map(t.parseCryptoLine)},t.getIceParameters=function(e,n){const r=t.matchPrefix(e+n,"a=ice-ufrag:")[0],i=t.matchPrefix(e+n,"a=ice-pwd:")[0];return r&&i?{usernameFragment:r.substring(12),password:i.substring(10)}:null},t.writeIceParameters=function(e){let t="a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n";return e.iceLite&&(t+="a=ice-lite\r\n"),t},t.parseRtpParameters=function(e){const n={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},r=t.splitLines(e)[0].split(" ");n.profile=r[2];for(let o=3;o<r.length;o++){const i=r[o],a=t.matchPrefix(e,"a=rtpmap:"+i+" ")[0];if(a){const r=t.parseRtpMap(a),o=t.matchPrefix(e,"a=fmtp:"+i+" ");switch(r.parameters=o.length?t.parseFmtp(o[0]):{},r.rtcpFeedback=t.matchPrefix(e,"a=rtcp-fb:"+i+" ").map(t.parseRtcpFb),n.codecs.push(r),r.name.toUpperCase()){case"RED":case"ULPFEC":n.fecMechanisms.push(r.name.toUpperCase())}}}
vendor: 5,649 bytes, line 1
1t.matchPrefix(e,"a=extmap:").forEach(e=>{n.headerExtensions.push(t.parseExtmap(e))});const i=t.matchPrefix(e,"a=rtcp-fb:* ").map(t.parseRtcpFb);return n.codecs.forEach(e=>{i.forEach(t=>{e.rtcpFeedback.find(e=>e.type===t.type&&e.parameter===t.parameter)||e.rtcpFeedback.push(t)})}),n},t.writeRtpDescription=function(e,n){let r="";r+="m="+e+" ",r+=n.codecs.length>0?"9":"0",r+=" "+(n.profile||"UDP/TLS/RTP/SAVPF")+" ",r+=n.codecs.map(e=>void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType).join(" ")+"\r\n",r+="c=IN IP4 0.0.0.0\r\n",r+="a=rtcp:9 IN IP4 0.0.0.0\r\n",n.codecs.forEach(e=>{r+=t.writeRtpMap(e),r+=t.writeFmtp(e),r+=t.writeRtcpFb(e)});let i=0;return n.codecs.forEach(e=>{e.maxptime>i&&(i=e.maxptime)}),i>0&&(r+="a=maxptime:"+i+"\r\n"),n.headerExtensions&&n.headerExtensions.forEach(e=>{r+=t.writeExtmap(e)}),r},t.parseRtpEncodingParameters=function(e){const n=[],r=t.parseRtpParameters(e),i=-1!==r.fecMechanisms.indexOf("RED"),o=-1!==r.fecMechanisms.indexOf("ULPFEC"),a=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute),s=a.length>0&&a[0].ssrc;let l;const c=t.matchPrefix(e,"a=ssrc-group:FID").map(e=>e.substring(17).split(" ").map(e=>parseInt(e,10)));c.length>0&&c[0].length>1&&c[0][0]===s&&(l=c[0][1]),r.codecs.forEach(e=>{if("RTX"===e.name.toUpperCase()&&e.parameters.apt){let t={ssrc:s,codecPayloadType:parseInt(e.parameters.apt,10)};s&&l&&(t.rtx={ssrc:l}),n.push(t),i&&(t=JSON.parse(JSON.stringify(t)),t.fec={ssrc:s,mechanism:o?"red+ulpfec":"red"},n.push(t))}}),0===n.length&&s&&n.push({ssrc:s});let u=t.matchPrefix(e,"b=");return u.length&&(u=0===u[0].indexOf("b=TIAS:")?parseInt(u[0].substring(7),10):0===u[0].indexOf("b=AS:")?1e3*parseInt(u[0].substring(5),10)*.95-16e3:void 0,n.forEach(e=>{e.maxBitrate=u})),n},t.parseRtcpParameters=function(e){const n={},r=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"cname"===e.attribute)[0];r&&(n.cname=r.value,n.ssrc=r.ssrc);const i=t.matchPrefix(e,"a=rtcp-rsize");n.reducedSize=i.length>0,n.compound=0===i.length;const o=t.matchPrefix(e,"a=rtcp-mux");return n.mux=o.length>0,n},t.writeRtcpParameters=function(e){let t="";return e.reducedSize&&(t+="a=rtcp-rsize\r\n"),e.mux&&(t+="a=rtcp-mux\r\n"),void 0!==e.ssrc&&e.cname&&(t+="a=ssrc:"+e.ssrc+" cname:"+e.cname+"\r\n"),t},t.parseMsid=function(e){let n;const r=t.matchPrefix(e,"a=msid:");if(1===r.length)return n=r[0].substring(7).split(" "),{stream:n[0],track:n[1]};const i=t.matchPrefix(e,"a=ssrc:").map(e=>t.parseSsrcMedia(e)).filter(e=>"msid"===e.attribute);return i.length>0?(n=i[0].value.split(" "),{stream:n[0],track:n[1]}):void 0},t.parseSctpDescription=function(e){const n=t.parseMLine(e),r=t.matchPrefix(e,"a=max-message-size:");let i;r.length>0&&(i=parseInt(r[0].substring(19),10)),isNaN(i)&&(i=65536);const o=t.matchPrefix(e,"a=sctp-port:");if(o.length>0)return{port:parseInt(o[0].substring(12),10),protocol:n.fmt,maxMessageSize:i};const a=t.matchPrefix(e,"a=sctpmap:");if(a.length>0){const e=a[0].substring(10).split(" ");return{port:parseInt(e[0],10),protocol:e[1],maxMessageSize:i}}},t.writeSctpDescription=function(e,t){let n=[];return n="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&n.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),n.join("")},t.generateSessionId=function(){return Math.random().toString().substr(2,22)},t.writeSessionBoilerplate=function(e,n,r){let i;const o=void 0!==n?n:2;return i=e||t.generateSessionId(),"v=0\r\no="+(r||"thisisadapterortc")+" "+i+" "+o+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},t.getDirection=function(e,n){const r=t.splitLines(e);for(let t=0;t<r.length;t++)switch(r[t]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return r[t].substring(2)}return n?t.getDirection(n):"sendrecv"},t.getKind=function(e){return t.splitLines(e)[0].split(" ")[0].substring(2)},t.isRejected=function(e){return"0"===e.split(" ",2)[1]},t.parseMLine=function(e){const n=t.splitLines(e)[0].substring(2).split(" ");return{kind:n[0],port:parseInt(n[1],10),protocol:n[2],fmt:n.slice(3).join(" ")}},t.parseOLine=function(e){const n=t.matchPrefix(e,"o=")[0].substring(2).split(" ");return{username:n[0],sessionId:n[1],sessionVersion:parseInt(n[2],10),netType:n[3],addressType:n[4],address:n[5]}},t.isValidSDP=function(e){if("string"!=typeof e||0===e.length)return!1;const n=t.splitLines(e);for(let t=0;t<n.length;t++)if(n[t].length<2||"="!==n[t].charAt(1))return!1;return!0},e.exports=t}(TAe)),TAe.exports);const AAe=Ne(MAe),LAe=Fe({__proto__:null,default:AAe},[MAe]);function PAe(e){if(!e.RTCIceCandidate||e.RTCIceCandidate&&"foundation"in e.RTCIceCandidate.prototype)return;const t=e.RTCIceCandidate;e.RTCIceCandidate=function(e){if("object"==typeof e&&e.candidate&&0===e.candidate.indexOf("a=")&&((e=JSON.parse(JSON.stringify(e))).candidate=e.candidate.substring(2)),e.candidate&&e.candidate.length){const n=new t(e),r=AAe.parseCandidate(e.candidate);for(const e in r)e in n||Object.defineProperty(n,e,{value:r[e]});return n.toJSON=function(){return{candidate:n.candidate,sdpMid:n.sdpMid,sdpMLineIndex:n.sdpMLineIndex,usernameFragment:n.usernameFragment}},n}return new t(e)},e.RTCIceCandidate.prototype=t.prototype,FMe(e,"icecandidate",t=>(t.candidate&&Object.defineProperty(t,"candidate",{value:new e.RTCIceCandidate(t.candidate),writable:"false"}),t))}function RAe(e){!e.RTCIceCandidate||e.RTCIceCandidate&&"relayProtocol"in e.RTCIceCandidate.prototype||FMe(e,"icecandidate",e=>
vendor: 6,366 bytes, line 1
1{if(e.candidate){const t=AAe.parseCandidate(e.candidate.candidate);"relay"===t.type&&(e.candidate.relayProtocol={0:"tls",1:"tcp",2:"udp"}[t.priority>>24])}return e})}function OAe(e,t){if(!e.RTCPeerConnection)return;if("chrome"===t.browser&&t.version>102)return;if("firefox"===t.browser&&t.version>=113)return;"sctp"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"sctp",{get(){return void 0===this._sctp?null:this._sctp}});const n=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===t.browser&&t.version>=76){const{sdpSemantics:e}=this.getConfiguration();"plan-b"===e&&Object.defineProperty(this,"sctp",{get(){return void 0===this._sctp?null:this._sctp},enumerable:!0,configurable:!0})}if(function(e){if(!e||!e.sdp)return!1;const t=AAe.splitSections(e.sdp);return t.shift(),t.some(e=>{const t=AAe.parseMLine(e);return t&&"application"===t.kind&&-1!==t.protocol.indexOf("SCTP")})}(arguments[0])){const e=function(e){const t=e.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===t||t.length<2)return-1;const n=parseInt(t[1],10);return n!=n?-1:n}(arguments[0]),n=function(e){let n=65536;return"firefox"===t.browser&&(n=t.version<57?-1===e?16384:2147483637:t.version<60?57===t.version?65535:65536:2147483637),n}(e),r=function(e,n){let r=65536;"firefox"===t.browser&&57===t.version&&(r=65535);const i=AAe.matchPrefix(e.sdp,"a=max-message-size:");return i.length>0?r=parseInt(i[0].substring(19),10):"firefox"===t.browser&&-1!==n&&(r=2147483637),r}(arguments[0],e);let i;i=0===n&&0===r?Number.POSITIVE_INFINITY:0===n||0===r?Math.max(n,r):Math.min(n,r);const o={};Object.defineProperty(o,"maxMessageSize",{get:()=>i}),this._sctp=o}return n.apply(this,arguments)}}function DAe(e,t){if(!e.RTCPeerConnection||!("createDataChannel"in e.RTCPeerConnection.prototype))return;if("chrome"===t.browser&&t.version>=149)return;if("firefox"===t.browser&&t.version>60)return;function n(e,t){const n=e.send;e.send=function(){const r=arguments[0],i=r.length||r.size||r.byteLength;if("open"===e.readyState&&t.sctp&&i>t.sctp.maxMessageSize)throw new TypeError("Message too large (can send a maximum of "+t.sctp.maxMessageSize+" bytes)");return n.apply(e,arguments)}}const r=e.RTCPeerConnection.prototype.createDataChannel;e.RTCPeerConnection.prototype.createDataChannel=function(){const e=r.apply(this,arguments);return n(e,this),e},FMe(e,"datachannel",e=>(n(e.channel,e.target),e))}function IAe(e){if(!e.RTCPeerConnection||"connectionState"in e.RTCPeerConnection.prototype)return;const t=e.RTCPeerConnection.prototype;Object.defineProperty(t,"connectionState",{get(){return{completed:"connected",checking:"connecting"}[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t,"onconnectionstatechange",{get(){return this._onconnectionstatechange||null},set(e){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),e&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=e)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach(e=>{const n=t[e];t[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=e=>{const t=e.target;if(t._lastConnectionState!==t.connectionState){t._lastConnectionState=t.connectionState;const n=new Event("connectionstatechange",e);t.dispatchEvent(n)}return e},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),n.apply(this,arguments)}})}function _Ae(e,t){if(!e.RTCPeerConnection)return;if("chrome"===t.browser&&t.version>=71)return;if("safari"===t.browser&&t._safariVersion>=13.1)return;const n=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(t){if(t&&t.sdp&&-1!==t.sdp.indexOf("\na=extmap-allow-mixed")){const n=t.sdp.split("\n").filter(e=>"a=extmap-allow-mixed"!==e.trim()).join("\n");e.RTCSessionDescription&&t instanceof e.RTCSessionDescription?arguments[0]=new e.RTCSessionDescription({type:t.type,sdp:n}):t.sdp=n}return n.apply(this,arguments)}}function FAe(e,t){if(!e.RTCPeerConnection||!e.RTCPeerConnection.prototype)return;const n=e.RTCPeerConnection.prototype.addIceCandidate;n&&0!==n.length&&(e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?("chrome"===t.browser&&t.version<78||"firefox"===t.browser&&t.version<68||"safari"===t.browser)&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():n.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}function $Ae(e,t){if(!e.RTCPeerConnection||!e.RTCPeerConnection.prototype)return;const n=e.RTCPeerConnection.prototype.setLocalDescription;n&&0!==n.length&&(e.RTCPeerConnection.prototype.setLocalDescription=function(){let e=arguments[0]||{};if("object"!=typeof e||e.type&&e.sdp)return n.apply(this,arguments);if(e={type:e.type,sdp:e.sdp},!e.type)switch(this.signalingState){case"stable":case"have-local-offer":case"have-remote-pranswer":e.type="offer";break;default:e.type="answer"}return e.sdp||"offer"!==e.type&&"answer"!==e.type?n.apply(this,[e]):("offer"===e.type?this.createOffer:this.createAnswer).apply(this).then(e=>n.apply(this,[e]))})}const NAe=Object.freeze(Object.defineProperty({__proto__:null,removeExtmapAllowMixed:_Ae,shimAddIceCandidateNullOrEmpty:FAe,shimConnectionState:IAe,shimMaxMessageSize:OAe,shimParameterlessSetLocalDescription:$Ae,shimRTCIceCandidate:PAe,shimRTCIceCandidateRelayProtocol:RAe,shimSendThrowTypeError:DAe},Symbol.toStringTag,{value:"Module"}));!function({window:e}={},t={shimChrome:!0,shimFirefox:!0,shimSafari:!0}){const n=BMe,r=function(e){const t={browser:null,version:null};if(void 0===e||!e.navigator||!e.navigator.userAgent)return t.browser="Not a browser.",t;const{navigator:n}=e;if(n.userAgentData&&n.userAgentData.brands){const e=n.userAgentData.brands.find(e=>"Chromium"===e.brand);if(e){const t=parseInt(e.version,10);if(t>=90)return{browser:"chrome",version:t}}}if(n.mozGetUserMedia)t.browser="firefox",t.version=parseInt(_Me(n.userAgent,/Firefox\/(\d+)\./,1));else if(n.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection)t.browser="chrome",t.version=parseInt(_Me(n.userAgent,/Chrom(e|ium)\/(\d+)\./,2))||null;
1else{if(!e.RTCPeerConnection||!n.userAgent.match(/AppleWebKit\/(\d+)\./))return t.browser="Not a supported browser.",t;t.browser="safari",t.version=parseInt(_Me(n.userAgent,/AppleWebKit\/(\d+)\./,1)),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype,t._safariVersion=_Me(n.userAgent,/Version\/(\d+(\.?\d+))/,1)}return t}(e),i={browserDetails:r,commonShim:NAe,extractVersion:_Me,disableLog:$Me,disableWarnings:NMe,sdp:LAe};switch(r.browser){case"chrome":if(!tAe||!JMe||!t.shimChrome)return n("Chrome shim is not included in this adapter release."),i;if(null===r.version)return n("Chrome shim can not determine version, not shimming."),i;n("adapter.js shimming chrome."),i.browserShim=tAe,FAe(e,r),$Ae(e),GMe(e,r),qMe(e),JMe(e,r),KMe(e,r),XMe(e,r),YMe(e),ZMe(e,r),eAe(e,r),PAe(e),RAe(e),IAe(e),OAe(e,r),DAe(e,r),_Ae(e,r);break;case"firefox":if(!pAe||!iAe||!t.shimFirefox)return n("Firefox shim is not included in this adapter release."),i;n("adapter.js shimming firefox."),i.browserShim=pAe,FAe(e,r),$Ae(e),nAe(e,r),iAe(e,r),oAe(e,r),rAe(e),lAe(e),aAe(e),sAe(e),cAe(e),uAe(e,r),dAe(e,r),hAe(e,r),fAe(e,r),PAe(e),IAe(e),OAe(e,r),DAe(e,r);break;case"safari":if(!SAe||!t.shimSafari)return n("Safari shim is not included in this adapter release."),i;n("adapter.js shimming safari."),i.browserShim=SAe,FAe(e,r),$Ae(e),CAe(e),EAe(e),vAe(e),mAe(e),gAe(e),wAe(e),yAe(e),kAe(e),PAe(e),RAe(e),OAe(e,r),DAe(e,r),_Ae(e,r);break;default:n("Unsupported browser!")}}({window:"undefined"==typeof window?void 0:window});const BAe=3e3,jAe=500,zAe={NotAllowedError:"permission-denied",PermissionDeniedError:"permission-denied",NotFoundError:"no-camera",DevicesNotFoundError:"no-camera",NotReadableError:"in-use",TrackStartError:"in-use",OverconstrainedError:"overconstrained",ConstraintNotSatisfiedError:"overconstrained",AbortError:"aborted",SecurityError:"security",TypeError:"type-error"};function VAe(e){if(e instanceof DOMException||e instanceof Error){const t=e.name??"",n=e.message??String(e);return n.includes("secure context")?{kind:"insecure-context",message:n,cause:e}:n.includes("Stream API")?{kind:"unsupported",message:n,cause:e}:{kind:zAe[t]??"unknown",message:n,cause:e}}return{kind:"unknown",message:"string"==typeof e?e:"Unknown scanner error",cause:e}}const HAe=[],UAe={finder:!0,torch:!0,tracker:void 0,onOff:!1,zoom:!1},WAe={facingMode:"environment",width:{min:640,ideal:720,max:1920},height:{min:640,ideal:720,max:1080}},GAe={width:"100%",height:"100%",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",aspectRatio:"1/1"},qAe={width:"100%",height:"100%",objectFit:"cover",overflow:"hidden"};var KAe=e=>e instanceof Date,YAe=e=>null==e;const ZAe=e=>"object"==typeof e;var QAe=e=>!YAe(e)&&!Array.isArray(e)&&ZAe(e)&&!KAe(e),XAe=e=>YAe(e)||!ZAe(e);function JAe(e,t){if(XAe(e)||XAe(t))return e===t;if(KAe(e)&&KAe(t))return e.getTime()===t.getTime();if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!JAe(e[n],t[n]))return!1;return!0}if(!QAe(e)||!QAe(t))return!1;const n=e,r=t,i=Object.keys(n),o=Object.keys(r);if(i.length!==o.length)return!1;const a=new Set(o);for(const s of i){if(!a.has(s))return!1;if("ref"===s)continue;const e=n[s],t=r[s],i=QAe(e)&&QAe(t),o=Array.isArray(e)&&Array.isArray(t),l=KAe(e)&&KAe(t);if(i||o||l){if(!JAe(e,t))return!1}else if(e!==t)return!1}return!0}function eLe(e){const{disabled:t=!1,className:n,style:r}=e,i={stroke:t?"grey":"yellow",fill:"none",strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:1.5,...r};return He.jsx("svg",{"aria-hidden":"true",focusable:"false",className:n,style:i,width:"28px",height:"28px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:He.jsx("path",{d:"M3 3L6.00007 6.00007M21 21L19.8455 19.8221M9.74194 4.06811C9.83646 4.04279 9.93334 4.02428 10.0319 4.01299C10.1453 4 10.2683 4 10.5141 4H13.5327C13.7786 4 13.9015 4 14.015 4.01299C14.6068 4.08078 15.1375 4.40882 15.4628 4.90782C15.5252 5.00345 15.5802 5.11345 15.6901 5.33333C15.7451 5.44329 15.7726 5.49827 15.8037 5.54609C15.9664 5.79559 16.2318 5.95961 16.5277 5.9935C16.5844 6 16.6459 6 16.7688 6H17.8234C18.9435 6 19.5036 6 19.9314 6.21799C20.3077 6.40973 20.6137 6.71569 20.8055 7.09202C21.0234 7.51984 21.0234 8.0799 21.0234 9.2V15.3496M19.8455 19.8221C19.4278 20 18.8702 20 17.8234 20H6.22344C5.10333 20 4.54328 20 4.11546 19.782C3.73913 19.5903 3.43317 19.2843 3.24142 18.908C3.02344 18.4802 3.02344 17.9201 3.02344 16.8V9.2C3.02344 8.0799 3.02344 7.51984 3.24142 7.09202C3.43317 6.71569 3.73913 6.40973 4.11546 6.21799C4.51385 6.015 5.0269 6.00103 6.00007 6.00007M19.8455 19.8221L14.5619 14.5619M14.5619 14.5619C14.0349 15.4243 13.0847 16 12 16C10.3431 16 9 14.6569 9 13C9 11.9153 9.57566 10.9651 10.4381 10.4381M14.5619 14.5619L10.4381 10.4381M10.4381 10.4381L6.00007 6.00007"})})}function tLe(e){const{disabled:t=!1,className:n,style:r}=e,i={stroke:t?"grey":"yellow",fill:"none",strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:1.5,...r};return He.jsxs("svg",{"aria-hidden":"true",focusable:"false",className:n,style:i,width:"28px",height:"28px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[He.jsx("path",{d:"M12 16C13.6569 16 15 14.6569 15 13C15 11.3431 13.6569 10 12 10C10.3431 10 9 11.3431 9 13C9 14.6569 10.3431 16 12 16Z"}),He.jsx("path",{d:"M3 16.8V9.2C3 8.0799 3 7.51984 3.21799 7.09202C3.40973 6.71569 3.71569 6.40973 4.09202 6.21799C4.51984 6 5.0799 6 6.2 6H7.25464C7.37758 6 7.43905 6 7.49576 5.9935C7.79166 5.95961 8.05705 5.79559 8.21969 5.54609C8.25086 5.49827 8.27836 5.44328 8.33333 5.33333C8.44329 5.11342 8.49827 5.00346 8.56062 4.90782C8.8859 4.40882 9.41668 4.08078 10.0085 4.01299C10.1219 4 10.2448 4 10.4907 4H13.5093C13.7552 4 13.8781 4 13.9915 4.01299C14.5833 4.08078 15.1141 4.40882 15.4394 4.90782C15.5017 5.00345 15.5567 5.11345 15.6667 5.33333C15.7216 5.44329 15.7491 5.49827 15.7803 5.54609C15.943 5.79559 16.2083 5.95961 16.5042 5.9935C16.561 6 16.6224 6 16.7454 6H17.8C18.9201 6 19.4802 6 19.908 6.21799C20.2843 6.40973 20.5903 6.71569 20.782 7.09202C21 7.51984 21 8.0799 21 9.2V16.8C21 17.9201 21 18.4802 20.782 18.908C20.5903 19.2843 20.2843 19.5903 19.908 19.782C19.4802 20 18.9201 20 17.8 20H6.2C5.0799 20 4.51984 20 4.09202 19.782C3.71569 19.5903 3.40973 19.2843 3.21799 18.908C3 18.4802 3 17.9201 3 16.8Z"})]})}const nLe={bottom:85,right:8,position:"absolute",zIndex:2,background:"transparent",border:0,padding:4,margin:0,display:"inline-flex",alignItems:"center",justifyContent:"center"};function rLe(e){const{scanning:t,startScanning:n,stopScanning:r}=e,[i,o]=Qt.useState(!1),a=Qt.useRef(null);Qt.useEffect(()=>()=>{null!==a.current&&clearTimeout(a.current)},[]);const s=t?"Turn camera off":"Turn camera on";return He.jsx("button",{type:"button","aria-label":s,"aria-pressed":t,disabled:i,onClick:function(){i||(o(!0),t?r():n(),null!==a.current&&clearTimeout(a.current),a.current=setTimeout(()=>{o(!1),a.current=null},1e3))},style:{...nLe,cursor:i?"default":"pointer"},children:t?He.jsx(eLe,{disabled:i}):He.jsx(tLe,{disabled:i})})}function iLe(e){const{className:t,style:n}=e;return He.jsx("svg",{"aria-hidden":"true",focusable:"false",width:"30px",height:"30px",viewBox:"0 0 24 24",className:t,style:n,xmlns:"http://www.w3.org/2000/svg",children:He.jsx("path",{strokeWidth:.2,stroke:"yellow",fill:"yellow",d:"M14.516 15.158l.714.714-4.595 6.14-.75-.364L12.337 13H6.978L8.22 8.861l.803.803L8.322 12h3.036l1.793 1.792-1.475 5.16zm5.984 4.05L4.793 3.5l.707-.707 3.492 3.492L10.278 2h7.972l-5.025 7h7.149l-3.71 4.957 4.543 4.543zM12.707 10l3.243 3.243L18.376 10zM9.795 7.088l2.079 2.079L16.3 3h-5.278z"})})}function oLe(e){const{className:t,style:n}=e;return He.jsx("svg",{"aria-hidden":"true",focusable:"false",width:"30px",height:"30px",viewBox:"0 0 24 24",className:t,style:n,xmlns:"http://www.w3.org/2000/svg",children:He.jsx("path",{strokeWidth:.2,stroke:"yellow",fill:"yellow",d:"M13.225 9l5.025-7h-7.972l-3.3 11h5.359l-2.452 8.648.75.364L20.374 9zm.438 3H8.322l2.7-9H16.3l-5.025 7h7.101l-6.7 8.953z"})})}const aLe={bottom:35,right:8,position:"absolute",zIndex:2,background:"transparent",border:0,padding:4,margin:0,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center"};function sLe(e){const{status:t,scanning:n,torchToggle:r}=e;if(!n)return null;const i=t?"Turn flashlight off":"Turn flashlight on";return He.jsx("button",{type:"button","aria-label":i,"aria-pressed":t,onClick:()=>r(!t),style:aLe,children:t?He.jsx(iLe,{}):He.jsx(oLe,{})})}function lLe(e){const{className:t,disabled:n=!1,style:r}=e,i={stroke:n?"grey":"yellow",fill:n?"grey":"yellow",...r};return He.jsx("svg",{"aria-hidden":"true",focusable:"false",width:"30px",height:"30px",viewBox:"0 0 24 24",className:t,style:i,xmlns:"http://www.w3.org/2000/svg",children:He.jsx("path",{strokeWidth:.3,d:"M16.279,17.039c-1.39
16,1.209 -3.216,1.941 -5.206,1.941c-4.393,0 -7.96,-3.567 -7.96,-7.96c-0,-4.393 3.567,-7.96 7.96,-7.96c4.393,0 7.96,3.567 7.96,7.96c-0,2.044 -0.772,3.909 -2.04,5.319l0.165,0.165c1.194,1.194 2.388,2.388 3.583,3.582c0.455,0.456 -0.252,1.163 -0.707,0.708l-3.755,-3.755Zm1.754,-6.019c-0,-3.841 -3.119,-6.96 -6.96,-6.96c-3.842,0 -6.96,3.119 -6.96,6.96c-0,3.841 3.118,6.96 6.96,6.96c3.841,0 6.96,-3.119 6.96,-6.96Zm-7.46,0.5l-1.5,0c-0.645,0 -0.643,-1 -0,-1l1.5,0l-0,-1.5c-0,-0.645 1,-0.643 1,0l-0,1.5l1.5,0c0.645,0 0.643,1 -0,1l-1.5,0l-0,1.5c-0,0.645 -1,0.643 -1,0l-0,-1.5Z"})})}function cLe(e){const{className:t,disabled:n=!1,style:r}=e,i={stroke:n?"grey":"yellow",fill:n?"grey":"yellow",...r};return He.jsx("svg",{"aria-hidden":"true",focusable:"false",width:"30px",height:"30px",viewBox:"0 0 24 24",className:t,style:i,xmlns:"http://www.w3.org/2000/svg",children:He.jsx("path",{strokeWidth:.3,d:"M16.279,17.039c-1.396,1.209 -3.216,1.941 -5.206,1.941c-4.393,0 -7.96,-3.567 -7.96,-7.96c-0,-4.393 3.567,-7.96 7.96,-7.96c4.393,0 7.96,3.567 7.96,7.96c-0,2.044 -0.772,3.909 -2.04,5.319l0.165,0.165c1.194,1.194 2.388,2.388 3.583,3.582c0.455,0.456 -0.252,1.163 -0.707,0.708l-3.755,-3.755Zm1.754,-6.019c-0,-3.841 -3.119,-6.96 -6.96,-6.96c-3.842,0 -6.96,3.119 -6.96,6.96c-0,3.841 3.118,6.96 6.96,6.96c3.841,0 6.96,-3.119 6.96,-6.96Zm-4.96,-0.5c0.645,0 0.643,1 -0,1l-4,0c-0.
1645,0 -0.643,-1 -0,-1l4,0Z"})})}const uLe={bottom:130,right:8,position:"absolute",zIndex:2,background:"transparent",border:0,padding:4,margin:0,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center"},dLe={...uLe,bottom:180};function hLe(e){const{scanning:t,capabilities:n,onZoom:r,value:i}=e;if(!t)return null;const o=n.step>0?n.step:1,a=i<=n.min,s=i>=n.max;return He.jsxs(Qt.Fragment,{children:[He.jsx("button",{type:"button","aria-label":"Zoom out",disabled:a,onClick:function(){r(Math.max(i-o,n.min))},style:{...uLe,cursor:a?"default":"pointer"},children:He.jsx(cLe,{disabled:a})}),He.jsx("button",{type:"button","aria-label":"Zoom in",disabled:s,onClick:function(){r(Math.min(i+o,n.max))},style:{...dLe,cursor:s?"default":"pointer"},children:He.jsx(lLe,{disabled:s})})]})}const fLe={fullContainer:{width:"100%",height:"100%",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},innerContainer:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},overlay:{position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center"},borderBox:{position:"relative",width:"70%",aspectRatio:"1 / 1",border:"2px dashed rgba(239, 68, 68, 0.4)",borderRadius:"0.5rem"},cornerTopLeft:{position:"absolute",width:"15%",height:"15%",border:"4px solid #ef4444",top:0,left:0,borderBottomColor:"transparent",borderRightColor:"transparent",borderTopLeftRadius:"0.5rem"},cornerTopRight:{position:"absolute",width:"15%",height:"15%",border:"4px solid #ef4444",top:0,right:0,borderBottomColor:"transparent",borderLeftColor:"transparent",borderTopRightRadius:"0.5rem"},cornerBottomLeft:{position:"absolute",width:"15%",height:"15%",border:"4px solid #ef4444",bottom:0,left:0,borderTopColor:"transparent",borderRightColor:"transparent",borderBottomLeftRadius:"0.5rem"},cornerBottomRight:{position:"absolute",width:"15%",height:"15%",border:"4px solid #ef4444",bottom:0,right:0,borderTopColor:"transparent",borderLeftColor:"transparent",borderBottomRightRadius:"0.5rem"}};function pLe(e){const{scanning:t,capabilities:n,onOff:r,torch:i,zoom:o,startScanning:a,stopScanning:s}=e;return He.jsx("div",{style:fLe.fullContainer,children:He.jsxs("div",{style:fLe.innerContainer,children:[He.jsx("div",{style:fLe.overlay,children:He.jsxs("div",{style:fLe.borderBox,children:[He.jsx("div",{style:fLe.cornerTopLeft}),He.jsx("div",{style:fLe.cornerTopRight}),He.jsx("div",{style:fLe.cornerBottomLeft}),He.jsx("div",{style:fLe.cornerBottomRight})]})}),r&&He.jsx(rLe,{scanning:t,startScanning:a,stopScanning:s}),i&&n.torch&&He.jsx(sLe,{scanning:t,status:i.status,torchToggle:i.toggle}),o&&n.zoom&&He.jsx(hLe,{scanning:t,capabilities:n.zoom,value:o.value,onZoom:o.onChange})]})})}const mLe={position:"absolute",width:"100%",height:"100%"},gLe={position:"absolute",width:"100%",height:"100%"},vLe={position:"absolute",width:"100%",height:"100%"};function yLe(e){if(null===e)return;const t=e.getContext("2d");null!==t&&t.clearRect(0,0,e.width,e.height)}const bLe=Qt.forwardRef(function(e,t){const{onScan:n,constraints:r,formats:i=["any"],paused:o=!1,components:a,tracker:s,children:l,styles:c,classNames:u,allowMultiple:d,scanDelay:h,retryDelay:f,onError:p,sound:m,startTimeoutMs:g,settleDelayMs:v}
1=e,y=Qt.useRef(null),b=Qt.useRef(null),C=Qt.useRef(null),w=Qt.useMemo(()=>{const e={...WAe,...r};return(null==r?void 0:r.deviceId)&&delete e.facingMode,e},[r]),E=Qt.useMemo(()=>({...UAe,...a}),[a]),k=s??E.tracker,[S,x]=Qt.useState(!1),[T,M]=Qt.useState(!1),[A,L]=Qt.useState(w),P=function(e={}){const{startTimeoutMs:t=BAe,settleDelayMs:n=jAe}=e,r=Qt.useRef(Promise.resolve({type:"stop",data:{}})),i=Qt.useRef(null),o=Qt.useRef(null),[a,s]=Qt.useState({}),[l,c]=Qt.useState({}),u=Qt.useCallback(async(e,r)=>{var a,l;if(!window.isSecureContext)throw new Error("camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.");if(void 0===(null==(a=null==navigator?void 0:navigator.mediaDevices)?void 0:a.getUserMedia))throw new Error("this browser has no Stream API support");const u=await navigator.mediaDevices.getUserMedia({audio:!1,video:r});let d;e.srcObject=u;try{await Promise.race([e.play(),new Promise((e,n)=>{d=setTimeout(()=>n(new Error(`Loading camera stream timed out after ${t} ms.`)),t)}
1)])}finally{void 0!==d&&clearTimeout(d)}n>0&&await new Promise(e=>setTimeout(e,n));const[h]=u.getVideoTracks();return c(h.getSettings()),s((null==(l=h.getCapabilities)?void 0:l.call(h))??{}),i.current=u,o.current=h,{type:"start",data:{videoEl:e,stream:u,constraints:r}}},[t,n]),d=Qt.useCallback(async(e,t)=>{e.srcObject=null,e.removeAttribute("src"),e.load();for(const n of t.getTracks())t.removeTrack(n),n.stop();return i.current=null,o.current=null,c({}),{type:"stop",data:{}}},[]),h=Qt.useCallback(async(e,{constraints:t,restart:n=!1})=>{let i=null;r.current=r.current.then(r=>{if("start"===r.type){const{data:{videoEl:i,stream:o,constraints:a}}=r;return n||e!==i||t!==a?d(i,o).then(()=>u(e,t)):r}return u(e,t)}).catch(e=>(i=e,{type:"stop",data:{}}));const o=await r.current;if(i)throw i;if("stop"===o.type)throw new Error("Something went wrong with the camera task queue (start task).")},[u,d]),f=Qt.useCallback(async()=>{if(r.current=r.current.then(e=>{if("stop"===e.type)return e;const{data:{videoEl:t,stream:n}}=e;return d(t,n)}),"start"===(await r.current).type)throw new Error("Something went wrong with the camera task queue (stop task).")},[d]),p=Qt.useCallback(async e=>{let t=null;if(r.current=r.current.then(async n=>{var r,i;const a=o.current;if(!a||"start"!==n.type)return t=new Error("No active video track found."),n;try{(null==(i=null==(r=e.advanced)?void 0:r[0])?void 0:i.zoom)&&a.getCapabilities().torch&&(await a.applyConstraints({advanced:[{torch:!1}]}),c(a.getSettings())),await a.applyConstraints(e),s(a.getCapabilities()),c(a.getSettings())}catch(DDe){t=DDe}return n}),await r.current,t)throw t},[]),m=Qt.useCallback(async()=>{try{await r.current}catch{}},[]);return Qt.useEffect(()=>()=>{f()},[f]),{capabilities:a,settings:l,startCamera:h,stopCamera:f,updateConstraints:p,flush:m,getStream:()=>i.current}}({startTimeoutMs:g,settleDelayMs:v}),R=Qt.useRef(P),O=Qt.useRef(n),D=Qt.useRef(p),I=Qt.useRef(k);Qt.useEffect(()=>{R.current=P},[P]),Qt.useEffect(()=>{O.current=n},[n]),Qt.useEffect(()=>{D.current=p},[p]),Qt.useEffect(()=>{I.current=k},[k]);const _=Qt.useCallback(e=>{var t;null==(t=O.current)||t.call(O,e)},[]),F=Qt.useCallback(e=>{var t;null==(t=D.current)||t.call(D,e)},[]),$=Qt.useCallback(e=>{!function(e,t,n,r){if(null===n||null===t)return;if(0===e.length||void 0===r)return void yLe(n);const i=t.offsetWidth,o=t.offsetHeight,a=t.videoWidth,s=t.videoHeight;if(0===a||0===s)return void yLe(n);const l=Math.max(i/a,o/s),c=a*l,u=s*l,d=c/a,h=u/s,f=(i-c)/2,p=(o-u)/2,m=({x:e,y:t})=>({x:Math.floor(e*d),y:Math.floor(t*h)}),g=({x:e,y:t})=>({x:Math.floor(e+f),y:Math.floor(t+p)}),v=e.map(e=>{const{boundingBox:t,cornerPoints:n}=e,{x:r,y:i}=g(m({x:t.x,y:t.y})),{x:o,y:a}=m({x:t.width,y:t.height});return{...e,cornerPoints:n.map(e=>g(m(e))),boundingBox:DOMRectReadOnly.fromRect({x:r,y:i,width:o,height:a})}});n.width=i,n.height=o;const y=n.getContext("2d");null!==y&&r(v,y)}(e,y.current,C.current,I.current)},[]),N=f??(void 0===k?500:33),{startScanning:B,stopScanning:j}=function(e){const{videoElementRef:t,onScan:n,onFound:r,onError:i,retryDelay:o=100,scanDelay:a=0,formats:s=HAe,allowMultiple:l=!1,sound:c=!0}=e,u=Qt.useMemo(()=>[...s].sort().join("|"),[s]),d=Qt.useRef(null),h=Qt.useRef(null),f=Qt.useRef(null);"undefined"!=typeof window&&null===d.current&&(d.current=new OMe({formats:s})),Qt.useEffect(()=>{"undefined"!=typeof window&&(d.current=new OMe({formats:s}))},[u]),Qt.useEffect(()=>{if("undefined"!=typeof window&&c)return h.current=new Audio("string"==typeof c?c:"data:audio/mp3;base64,//PkZAAhghE0AKToAJra/n0FQygAAAGIkYJgmCYXBMAAGCTJz3zhCEM//z//1hz//8MMMMN08ssV6e5DDWIQreAgCvFKy8bXgIKMkUDDBgzJwIBtkRMQAocxIFdxghQGKDoEziAzQxOBOdH92i/iGi+zDCAEIX46a73HrSybZw1x3JZjXp7dSNy/P68rjcbt7p7fakMP5LVMyzCaj1pjvejYYAIDgDGzECjEAk1Jl3559HIon8hzlfPVTCvGJZzfcKSxXfyMWM88//9VKSxXdtnb9vomOuuRyiWVYbf+X8zp6fKGHIdycuWMMMMMMKSnp+6wsYc/9f/7z7rPPWHN556p6fP8MMMP///PPP/7+GHK9PT6p7f/unldP2np7YeHjweiYA4GLNAgAiI7u57n5//oc5/yfk6znOcPhwOBwggHCMpA4HA4KEyHOc5znO+hPIc5//+fqJh8XQPh90JU5xQinOf//87/zvP+ggAYuhCKHxdA+Hxd0EA4KKHA4ciB3kOXfXB/gmf8p/B96lAMKAgAADU+BujARHgwdisgHMfAUHAiceBg4ASBgZBiBIBH4ZaHOJsLhf8R+HYEciIgYSwj/+Bi7EqBh+AcBn5P6Bh4TuBmrAMBiZH7gaLEWgew//PkZFMlyek60MpYAShzqqZhm6gCUWeEUWAewEWYGN4X4GDEPwGE8S4GDoOIGAYKgIQOkz//gGARAUB+CwGxTwMAACAEgyAwdAlAxKhzAxXiZ///AxcEwAwJjDAziCAAwQgdAwRgdAsJQDAmAcGzYDwAhZIAKAcIQB4GT9TQMJ9/4Gi1Fv/AcAYUqKBAwGgNAwVBAAwGhwAwdBlAxFg1AwlgzAwNBuAkJQDBgEEDEqGECgChFgBgL//CIswYYH//+HKCpk4K0C9AaKKCAOBeMcR4X9C44BwABCgGAsGYCgTwHAcAwXAiAwSAQV///CJP9lwMBQAwAAAWGo5lVLCcaeneVhJAVGai3//ioaUEf//gaTAYGCj8BnEwfrIqDcsIQb/vmhU/8fAs0G8YGGwKST8Igj4GCATipksVzY8p//90FWJwh45AkX//4fCF9wMEgkL3uQc+gbGJ8t4MBAMBP/hEXf9FRuWBcAfIFjYzQdoLCBwh7IWVlxaX/w8oMCP/+EQT5poGB1Ir90DhiV6af/jFYBpT2BgoQyyt2M0ToBdEaZyzt8nTo3xdNDCTSd//o6F06CjooxRr4jVF/0bOKD6OMUNDRxiMUVFR0FFQPhGXRjDpr4MAEA4wIQUhYOIw//PkZE4nrg08sOx4ACQ0CopD2aAAlwTTBxQeMcwd8w8gZTAgABXwGABOkzpI0wAQAExnWfP4x8ZjKunWdZ1o1Qe6lFGKCNULORQCELAAPnRUf/GIx/0FHGfo3SdZ0qP2cukXKLlRtBKFgAQwCkwJgFRYBEEATmDsLSY2QiQYCEnEra+UZo6F1aKMRr6GhoaP/+j//ov+i+hjLqBgMkYoqChoo1GqCjoY06TpRqjjLOYzRRmMuizmgdKhdF8kjTAAAPMCwGswzglgwAJfzqxmioKH///
1//////////+ijLOAwFmN0f/////////Q///8ZjP/9DGYyFwIDBeB3MA4AlBWidKM5spykAUAQOCakK+udGqN8VDYjTRuN//0bVX//6Kio4xQFv//nf//kKOoAEIB6SY6hcxenp85///4/DEPf/84Xvl4vF4dwtxfEJgCYQHMSgKCROp4+fn////L4tQf0unz89OecLxeL0ul09y6enzp4dIhKAQFA5hKfLu1nU7/Wr71rRKJUBQSUVt////l08GUPVWgAAYAeNKsxbQNAAhQx3/oKGMM6dZ1Yy6sajMbfKio7lNcv0sScZ47lNcw32ekVFMP9fp/f+mklI6at6u/dBMQuW6y+C5BcgwAA//PkZEomGg1HYGe0riWsCqbEwiY0BJFJMxrCcxGgQ2VK8xxCF1wsABgQBBgQBAYAFCkYCgALkK4fJ00E5ctJN1Uxy5au3XoGcM4dSN0EYZwzhW0WCh1PZwzhnFFQxtnbO2d0Kt6CdXbruggkTEX5Rs4TEQUVsdVXaCcuWXIBQUGmwmgoAGcJiM4dSioHQdBnEY+hjcbov//jcb/43G43G/jCRibfxugdBnDqULO2duvQumztncbo4xGKKNxugooxGIxQULoOgFgUMTA/jbrxiMDmETL+eLhcPThzOeeOZfL5fIcBYuXD/OHv8t//LJFxjxQYHHKDGFkZMtlmKM0RgQfbVtxFIHbQBDRuzRguEI1c9XZ/rWmrZfVU3Oc/9utNNygRQkCoHlAYstNN6DJ1IINpoINppv+WG/+g2mmnUmmmpBAoJIJhnwB5xkymn606Df/t000xhU03UXC5Ol8uFyXy+Xy/l8v5w4cLk4XAvwAYUvl/QL5fTdlKZkEEEEGumaKaX00zIOemf6CH///ywI3LKpiQ2Ef4xYWMSDyI0XwzikpL0ajVHZ3j9DGIjeuXcNfjn96/S/TUz/X/vX////5K/r+v7Jn+LlAoGZOIQIwMKBQM/yppKYURmhGZkR2b//PkZE0mHg1HEG8wyiD7mlwAyDU8nJHi5htakZmZGNiRcpkJhBmUmZYQcM1VDEEBggNDV/ASEZRYKFZIhkXKLlKmk7IVTKmZNJ5KhiqVUqpX+k7+qlVKyV/ZIqZDFDWTJlFyi5TJpKhiXKBQyZzIS5JhBoayV/AQWVpGWkcYTV5O/rIVSv8/0nkr+v6/vyR/X9f1/ZN8kf5/n99/n+f5/lTKmf9/mRP8yFUqpWSv4yJUqpX9kj/MmZNJ5K/z/P9J5P/v6yFUz/CEoywgUMqZkz/FssECIsVq0aPRrRRatFFFykQZJ2Ukl///5KjmksOaA7ALROJLDnEsLbq3GTMVrwb/0dGzmM0DlfBlHQOmrdR0MYi92TX6b/cmDHLclyUVYO/4O8sFTKFTKFf8yhUyhUyhXzKlDKlCsr/+ZUoVlSsr/+ZQqZUoZUoceMfcoZUoZUoVlfOPGcmDHKcpynKg9yXJcr3JclyXJclyYO+DXJclyfgxFZVb3KcqD/g2MxzsY72L9LubPR0dCyf5K5NNd+Tv9GXRdV0XJclyfcl/n+k8kf6SX/iVynvXf///4Mg/1OkxguYzmM5jMcLHMxwwGhgNCwXMLAcwMXTLi1MD7w7tmTdBvMmE0xQFzCwHMDAd//PkZGMpigkmAGOUvCfTgcgAuC+ITswMFzC4oMLhYMByn0xvU+p9Tr0xUxf/0xv///1PBYDhgNTFTFTGTGTGTGTGTGTGTGC4GTFMDAcLAdMVMVMULAcMBpgYDhcDGFwsYXFBikLGFwMGA4MBxgcDKfTEMUoAx2BisD+mKp5Tv1OkxkxkxkxkxkxkxkxlO0xVPJi/6nv////U7CwHTFTFTGTGTGTGU+p71PpjJipihYDpipi/6n1Ov//C4GC4GTGTGTGTFU8WBSZdLhWB//yKlotyLZFiLf8tyyRUipFSKkVGRBZQMiWC3yx//wxUGKsSvDFQGHUAL3QMsHDFIYpCYy2Bmagy6BjLgy6Bh3od58DCLAizBgRb+EQiyEQiwGBFuDAi3/////20QqSBJf/qcumv/////wMZdGXAYMu1gYy6MuBEZdBgy4BjLgy6BjLgy6BjLgy6BjLQy6DBlz2cJDLgRGXAMZdGXAYMuhMZcCIy6sJGaoGMuppwNRl3WBjLgy63wiEWAwIt/+EQi0IhFsDCLAi0GBFkGBFgMJCqaqYAgAYIhBBvwf7kwcqRq7V3IctacvlN6NxqgooxRRuNRiijEZjMGRuMvz9FGozQ+1X2qe1T1S//+VhaWAtKwtML//PkZEIkbgcaAHc1xCJrjeAAtfuUAtLAWf///mWePH95ZFgsyssvM88+jzO6K+z7OM48sH+WDiweZx5YOK+zxWLGJWsa6xadAv02fTZLSpsFpvLSga0tMgWgUgWmwgUmyWl8tMgWWmLSoFJsoFlpSwsmyBg4HhEdgwHAYPBwGDgeBg8HwMHg4DB4PBgOAwcOwMHLwDn5lAwcDgiDgYDwMHA/4MB3//+EQeDAdwiDwYLPhEWQYLODBYERZBgt8Ii34GLBaB5pfAZ0FvEAQ/UfwxULlx+IXx+8f5CELH8fxKhAIDFoHBEDRc3////gwHgaRXgMHYMB2EU/gwZ/gYbw3gY3QbgYNgbgYiAbgwN3/+EQbBEG4MBuDAbAwG4RBtAwbg2////+B9B6F//////////hEdD//////////8DRahEQGCInMNg3LBElgNjDciCwG/lgNiwGxWG///mG4bf/+WA3Kw3KyIMNw2Kw3MNg3MNg3MNiIMiQ2OK0xMiA3KyJLAEZgRARmBEDEYFwBBgEgEeomowol5YAJKwCDAIAJ8sAE+gGBgCJYAQUZ/13LubMu5dyiYOAhKwEFGf9AOoz/g4CFAIol/lgAjysAgsAElYBP////lgJksBM//lgRUxF//PkZGApggsIAHt2wiNLoggAqCz8RFSwIqYioipkjEjHCCSN/+WJg5iYOYmPK5krmTmZk5mZ8sTJYmf8yJiNiIisi/ywRmRkZkZGZGRmRERkREZERGRERkREZERGxEf///hETIMEyBiZEyBiZEzwiJgDEwU4DV2gQGFOBgmP8GAiAwRAiBgIgYCIGAi/4MBHAwRgjAwRgjwMEQIgMcgY8DBGCMDBGCMDEyJn///+BiYQIBlObj4eYLIwsjAOBGFkYBoEQ84eULIw88LIA88PKHnw8sPKFkeHlANAiAaFUDAiMYPIHmDzBZBhZB///8GBOA1sH/Awni7AwnhPCITwYE/CKzBgt8Ig8GA4Ig6EQdww4Yb+F1sIgtwYCwGAsAwWAsBgLAYCwDBYCwDBaHUDF+VEDKgC2BgtBaDAWgYLQW////gYLAWQMFgLAMFoLcGAt////4RMABmBSj4NgwMOGHBsHhdcLrwbB4XXC6+F14YcLrww4Ng8MOGHBsHww4Ng8AUC4AoMQMC4fgw3wutV4QIsAgFYIBWCCVgHeVgHeWABCwAIVgH+YBwB5aRAstKgV6Ba1oMg9avtUVN/qdLWciD/cqD3Jg6DFPuTB/////lYAn//mC8C+YLwL5gvgvGC//PkZFEpLgMKYXt2xB5LogAArbdc+C8VgvlYL/mC8C+YLwL5YBfMNgNkwXixDWoHPMc4VUxVA2TBeDZPYXzXl815fK14sLxYXvK1//NeXzXl815fMtdDLSw3UsMtLCstMtLDLSwsFhWWlgt//8sFhW6f/////+WF7zXl8sL5ry+Vrxry+WF/wMLwX4MC+EQv/AwvBfAxsjYAyqpKA0lpLAwvBfBgXv///4RA2DANAYGgNgYGgNgYGwN+EQvf/BgXwYF//8DC+F4Dd6NgGBf4AgFwbB0MMF1wuuDYMBsGwusDYOBsHA2Dvg2DQuuDYOhdcMMF14YYDGYDEGwfhhgbB0MN///4RBaEQWgZByoYRWYMFvwiDsGwaF1gbB34GDwdC64XW/w1aKxDVgatir4YcLrQbBwNg7////////////+ESfgZPyff/////////4MFmBvvMAERZ8CC5adNj02E2S0qbCBSBZaYtN///oFlpU2QMXIFAYuQK9AtAo7IxLTpsIFJs/5aZRxQawaxGfIg9CsrI+PUqkWdOHp7ODsOl6cOHZ4dsulfLI9/8BAAgMBACsBLACVgBjoAWAE5OTM6WDAR0zodMdHCsJLASWAjzCQgsBJhASWAjysI8wkJMICU//PkZFkeqgcaYDd1th6DogAAqCuIxQwtDA5MdMULgyY6YqnXqdep5TpMdMVRNRL/UT9AN6jCiSjKAZRNRhAMomgFQDfCIJwYCQiCAiCMGAkGAgDBJUA3eVAMEgj////8SrDFIYqh5g8kPMHkDzB
15OFkYeYPJ+HlDzB5+AYVQDibCyIPLLEZIsjIliWS0WywWyyWuWCyWJaLZbLJYDHgLAItFvy3///4eYPKBlQTh5QYEODBb//hhoNg7/C62DYPFUKwKsVgNWBq8VkVcVkVUVYrH//hGff/8Iz8GT7//////wiX4ML3gwvgwvf4ML3gZeqoHVGyBl4vgZfL2F1oNg4Lrg2DcLrg2DQw0Lrhh8Lr4YcMNBsGhdcGBcMOGGAFGAGMQsF1guuGG4XXV/4uQXOLmF1kL/8lCXkuSk4O8/FzHzuP0hIucf/CIFAMCgFPgYFAKAwCgGBQCgGHYO4GBVM4GgQI4RCMEQKQOtQjUI1CNcI14MqDKwDIAGQDzh5wsjDyw8uHmDzYeUPN+DEYRRhFEIowYgDQgIhWDApgwKAwKQYFAYFQMKkYDOxHAzsRgMKBUGBX/h5v+Hm4ecPNh5A8wBwjhZHhZAHlDzBZAFkAeQPKHnCyILIAsih5QsgDz//PkZLQgIgsMAFp1xCGLogAAA2rkB5w8oeYLIQ8kPMHkCyGHnAMKoGmAgFkUPMHmDYAtfHPHNkr/JYl8c8lCWHPHMkqSo5onMAkBDnfJX//8IgDBgBhEdAaxSQMHUGAEIgAV4risCcipBOMVRVBO////hEvAxsAwvf////8MPDDww4XWC64XXDDww4YcMPC6wYb/wYGgiGwMplMDYhTCIaCIaBga/////8GA+EQdgYPB4MB4GDwdhEH8Ig8Ig8GA6EQcEQf8DBxlBjoAweDuFwgCQXiL//iLiKCKCL4XCiKRFwEgoRT4iqpMQU1FMy4xMDCqqqqqqqr////xuDd8fv/DVwrArEIg6EQdhEHAYPBwMB+ERYBi0WAwWAZ0FoGLYOB+JfgZ0FoGdBaDBYbn+WHm9xW7/Nzzc83PLDzc8reWlA7S0oHamx//6BflpU2C0qbBaf/8yk/ysn+VkMhTKQrKVk8yE8rIVkKyYsAn/5WC+YICmCApWCGTkxtKMcVWlgFMEBTBAX////0C0C0C/////////LTFpvTZLTlpv/0Ci0xaYtOgWmymyWkAxcWmTZTYTY8tMmygUWmLTIFpsFpv9NnywLmLCx2RgWmQKTZ98UjnzZ1/++D4M6/////3//PkZOgjIg8IAFcbxCaTogAAoCuIzfJ8vfJ8Wcs5fBnD5//++L5f////////6nCKv//+o0o0FUYwqDNGCwgUMKC0VVGkVv//4Yf8LrxVCriqDVoasDVuKsNWw1bisBqwVkVkVX//gy/4YYMMGGhhgwwNg4LrhdcLrAYWGAA0zBsH4Ng3C6/////4MAoGBQIDAKBgUCAwCgYEAsDAoEAwKBAYBYMAoGBQIBgUCYGBQIBgUCwiBAYBYMAoRAgRAoGBBMBooCAYFAkIgTEUxFv/EWxFxFhFoi0LhQuFiLCL/EWqTEFNRTMuMTAwqqqq//////8TWJriV/hERAwRgYiEYGIhGBmIRgYiEYMEQMEcDMSiA1GYwMR+UDMTkA7KIgMRGIGGM0SIrRGjRlhEV4jxov8rR/5YRFhEdQSViCsR5iRJWIKxPlgQYgSViSsR5WJMQJLC78IiKERF4REeERGEREERHwMRGOBmIRhERhERAwRAYiEQGIhGBmIRAajkgG5TEEREDBHwYIwYI4REXCIV/4MCmDArgwKAYUO/gYVCkGBUGBTgYUCsGBUIhUDCoUCIVBgVBgVBgUhEKQMKhUDCoUBgVAwoFAYFcGBQDI6oA5+qQiFAMjBUGBXCyEPIFkOH//PkZPMj6gr6AFdVwifkBdwAoC2Ilh5/8PPh5Qsih5IeUA0TAZrE8PP////wMRiIIqID8piAxEIwMxCMDEQjCIj//BiIDRo8Iogii/4MKwYVhEoESkDEiIGJEgYlfBgmDBIMEAYgSBiBIREAwSERH/8I7wPfuCO4I7v/8GBvAw3Bv/////gwN34RBuBg2BuBg2BuBg2BuEQbhEG+EQbAwG4MBtwiDaDAbhEGwMBuDAbAwG4GDYG8DBsDcDBuNwDRWDcIg2AwbA34RBv///CINvCINgMRIN/////wiG4DDeG+TEFNRTMuMTAwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq/zB4OLAP8rBxWDisHlYOKxb5WLTFgsMWiw18LDOnjPxZoxadDOgsLAtLAbKymVhsrDZWG/LAb8w2GywGysNlgNFgNGFwuBQuWnTZLToFFpisLJsFp0Cy0voFAQLFZkMCAQwIBCsC/5WBCwBCwBCwBCsCeVgUwIBCwBDEwEMCAQrAhgUClgCFgTlgCGJgJ5gQTGJwKWAKYFApgQTGBQL5kY0HMjQYnAhWJvKwIWAIVgQrApYAhWBPBgECIEBgE/8IgXhECQiBAMCkcDEwEwMCAQGAQIhoIhsGBsIhvgwN//PkZN4irgr2AAOVqiUThegAnCtMgwNwiG/8IhuDA1hENhENgYbKYHb2IBhoNhENAwN////8IhsDKZS////8IhuBhspgc0KQRDWEQ3///CNf4GAIMDAwgAwAAwhAwAwYAIgwiHBgAMAYGAAGHv///CIBqBqESDEIgRYGoGHBiDEIgGoGgMAYgxgwgxCIETwYFYMCoMCuDApBgU8DCoU//gY3G//wYFOBhUKBEKQYFfBgV8IhSEQoBkYK8IhT/wMKhXBgUCIU4RCoRCvgYVCsDCp3A1SqAYFAiFP////gY3G1TEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVgwCAwCBEC///////8IgUIgWEQIBgUCAwTQMCAQDAoEhECAYFIwGaRMBotWAasdwH/KqBmhFgaKI4GRgKVpjCBTCBPMJHNMFMIFKwnlgJ5hUxhUwGWlpAMuMuWLTFpvQKQLQKLTIFJsoFIFFZb/8woQwoT///MIF8rC+WAphAphAppgpYClgsmwBC6bHoFFpUCi0wGXFguWCwFLgUsgX6BZaVNj0Ci03//+EQKEQKEQLCIFAxMBcDAgFAwIBQYBODAKBgUCAYEAuDAKBgUCAYFAgRAngwCgwCwiBIRAmE//PkZN4iogj2AFdVxiUrhewAhOkwQIBgQ0gbOI4GRhOBiYCgYEAv////CIFAyMBQYBf///CIF8IgUDAgFBgEAwIRwMCCcDEwFAwIBf///CIEQGMDGEXCKBpCIDCEQDCAsYInDFQMMAuYSoTQMVfBlf//+DKfBgAiGDAQMIMIgCIQYADAEGAgwP////8ItgNu2/8DAAAiABgHhECBgQGEQARA8GAeEQIMABECEQIMAwYBBgCDAARA4GAAgYACDAARAwiAgwDhED4RABEBCIGBgDoH2dgZwCBgAP//BhX/+DCiTEFNRTMuMTAwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqF1ww////////hdeGGDDBhwjeF102E2fTYAowMLjE0zTDfyyMYjEDJTwMLSwFi0/gQLoFIFpsegWmyBQsWlQL9ApNgtIWn8tMgX6BaBX+WmQL9Nn02f9NktIgUgWmwWl9Avy06bCBSbJaUtImyWkQKLTIFgYWoFFpAKFwMLzZgwAwvLTIFlpU2fQLQK///4Yf4YaF1sLrg2DAuuDYNDDQw4NgwLrhh4XXC64Ng3C60MNwbB4XWC64YcMODYPCJYDlMQBlwRLg2DOF1v/////PkZM0eKgz0AE+UuCnLFfAAk3Fsg2DAYX/ww//4YaGGDDhdbDDACFwMuXA2DADlygusDYOBsGhhv//wNU/CKQusF1oXX+F1wuuGGC6wXWDDBdbC6wXXhHv//4AHIFgC0BZAA4Ba4FkADwFsC3AtQAOcC0BYAtgAcAA9+BYAsgW4FvgWOABwC1oq+it4RT0VVG0VFGkVywo1/RWU4U59TlFb1GvRX////QK9Nj/9AtNn02fTY9NhNlAr/QK//TYTZLSJsIFemx///oF/5aZNj02U2C0yBaBfoFAS6bKBfoFVTEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVQiA8GAO/4RAf//////wYA4GAO+EQHAwB4GDoB4GA4HQRB0BhlDIBpEAcBgPDIBgPAeDAHIFAYuLTpspsJsFpi0haRApAtAstIYKClgF/ysF/ysE/ysF//LAJ6plTlYC1ZUypmqtWVK1VqyplSFgBaqqcwAAVIqcrEBAAKmMBERCQhwD5iICIQEyABMAABBVGXF4gIA4DLAAWAEQgLVSsBaq1ZUv+YKClgELAJ////5YBP//LAL5WC+Vgn+WAX/LT+gW//PkZMIhLgrsAFt1yiD7FiB6A9qwmwViybCbCbCBSBabCBSBabPpsegWmwWn9ApApApNgCGBmEwWlLSpsf////hEHgYOB3////4GDkiBxMHhEdgYOB4GDwcBg4HW23gooFYHd/+BnAz8O8Vv//FaBm4rBWh38es2zbAtD1m2PVBqBrBqBrAF7AF3/5el84MkuHTgyy+dL0dRnEajMIyOn8RsZ5HGG/kbIpHIkYUiD0y2WctlZaWSwrKx6FZbxnL54ul04eLhw9Ol84dl86cOHT3Ipb5Z8qKpVx6/j0EkLctVTEFNRTMuMTAwgWQLQAHgLf/////4Fn+EQESEcIgInCIRW9TkrCzH0YIjjWtI+YeCD0woLCBQwsKRWUaRVCBZFZRtRtFRTlTlThRtAr0C0C//02E2fTZQK/0Ck2f9TlFRTlTlFT/9TlFVFRFb/9ThThynIQbWkAREue5S11rKdlkDEVABh61ExYPU+tOD4MQgcn4iwigivxFRFoXDcRQLhoiwioXCeAkF
1BcNiL8RURQBIKEVEWiLBcKIqIpEXC4QReIoIpCIKAQMxFAFAsIuIr/4YYLr//ww4XWBgwC64XX/hhgw3hhwuv8MNhhguvhdcAUYgaYTAAoWDDg2DQbBg//PkZPYe6gzuADd1uDKsBhBAe89cYYdGjtDT2hDmlD2leaOv9oX0OX/0NNLplNf8ewakNWGrTfTRpphNJtfaeh7T1/tStdtTpqN532lpX/1/kmQ5eaf2hoaV9paGleJAvd0rer2pWu1ar2vk56vVrV5Hj1Nop+/lfv5Zpkem5kX/2vtata2rq783nbvtbW6VjW6a2rq13+rO6VysV58K7tbp0ru6Vrtqa1a67tr6sau1ulYrnfa2v927Vrt21NSuN5X927/D4diAQANh4gEIfxB+IQG/D/4gDw/iGIRD+HRATEFNRTMuMTAwqqqqqqqqqqqqqqqqqiIEK/ititFX///8VcVuK38VsVhXBOQTpq/qm8QCAcBmIxgdfFZCHECpxFBFAuFEUC4cLhsRTEVEUDVoDQD+KrFYirFX+KwKoVgVUVUVeKwGrhWRWBViqFYDV4rMViKyGroauBg/A0YThVgNAEVQqw1fisis4quKxxWYrAatxWIqoqg1dFYxVxWIrAavAaAArIrAqoqhWYrIqvxWMVYrARCADhcKoVYavDVgqhV4qorIrHFWKuKxFViscVUVYasAaAfFY/4YcMNhdfwuuGGC64YfDDA2DwusANygbBwAxhAECwNg8MOF1hD4//PkZOkc4g7yBjd1sDNkDhgqYwtcYoUyiQ0NCkxQ0NCQkSIbGKIyRGEo5mUaNEhGKEHMmaGhI0UokORvMmZmZSZSiMZQkRnKKZkzRoSNCQpQ0NEZoaNFJkhh3KOUJEhIcoSJCQkIzlDlEjMDMyMpQ0JCQzNCRGaNCRISEZoZihoaIwlEHKNGiMzFEjRmSIwlHMyZmcyiGyMxRyhIkIxRSZokSEYGBkiRojAPESNGjQxvKHMmMoSKTJCQkIwlFKLDYWGhoZhYWAAUGBsAwsMDYUAcK4XDPhQVwwLAH/DfgHC6TEFNRaqqBgjwYI//wYI/8GCL///+DBFhERgwRcIiPAzGYgMRKIDcskBgjAxEIwYI4GiRwNEjhFH4MRwYjA0aOEUf8Io/BiLgxGEUYRRQij/BiKDEYMR+DBGBiMRQiIgYIwiIwYIgiIgMRGIDUSjhEReEREBiIRAwR/wYI/8IiP4MEcGCIIiOERH8GCIIiMIiIIiODBHBgjBgjwiIoREcIiOEREDBFCKiAxHJcIiMGCMGCLwYI8IiPhERgwRAwRAYjEUIiIGCP/AxGIgiIsGCL//4REYMEXhERBERhExhExAzyAZiEWDBGERGeKsVsVRVFcVwTnFcVxVgnYqipFUV//PkZPkcfgzeAFaVxDgUBgAgatvIYrgnYqgnQJyK4riqK4rwTsVor4rQAjABAgnQritFSKoqQTsE5C1haxfF7F4XQtULSFqC1i4LwWkXIWkXRdF+LwqAnME4iqCdwToVuK+HAERWAkAlgJB0OB3Doc8OYc8VCsVgIB3DuHAERUAkAkHMOBwOAIisO4dwEAEAEg6AkAl4CeHA4AkKhXioBIOiv8OB3F+LgWkXxeF8XouxcF0XBeF8XBdF8XhdAdouC8AEsXYWsXOKsVBU/FaKmK/FTxXFbFUVPiv/8VfxXitVTEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVAXX/8MN/wwwYf//DDBh4Yf/+DYODDfCIFAwKBQiaANFgUDAgFAwIBcADwFuBY/At8C1wLfgAdAtwLGBawLcC3AsgWeBYwLX4XW8LrBhgiFgMlhYLrhh4XWhdb8MOGGhdcMP4YaF1gw8LrwuvhhoYYLrYXWDDBdcGwfC60MN/ww8GwZ4XXC64GZQsF1wbBnDD4XXg2DcLrBdaDYPhhgusF1uGGC64YfhhoNg0LrQwwYcMNC62F1/g2DYXW4XXC6+GH8DTIW4YeB/wR/wjwR+DP/y06bJaRAtAtAtAs//PkZNwY2grqBFW1xDhTRegABLBstL6BRaVAstN5aYtN/psIFf5aQtIgWgUWk8tImyWkQL9Avy0qbKbKbJaf02f/0CkCy05adAsC3K7+mx5aVAv0C/TZ8tOmymwB2pspsFpPLSlpy0qbCBSBXlpk2E2E2C0paUtP6Bfpslp0CkCy0ibJaZAosWQLLTJsemwgUmz6BZaYtOgUWmLTpsJsoFJslpPLT+mwmz//6Bfpsf6BSBSbCBXoFeWk9NhNhAr0Cy0/+WnTZ8tJ/oFf6bP+myWn//8tMmz/lpf//////8sPTEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVBgJwiCYMBP//gwE//////wiCAMEgkIggIqIDKpUCIIgwE8IzA4j+EYhGAZMIyDJA5gGRhG
1cIyDIhEQiIGAgwIRDwiAGAAwYMHBghGAZMGRCMhGYRgGRA5gIyDIwZPBk/wZIRmEY/gyOBxIMgIzCMgcTgwRBgjwYJBgngwTwYJhEQBiBGERMIrwOouAxAgGCQYIhERhEQDBGDBAREgwTCIgGCQYJgwSDBHwiI4MEAwSBiRHCIkGCYGJEQiI/Bgn4REYREeBiBIH6XhERhETwogoy04mpZibFmJuWYmx8n//PkZN4ZrgrkAFZUyDcjofgAA9qc0HafZ8HwNrjaG3xtjaDtJwTo+D55Ow7fxNRNSyLPlqJsAr/lmA/FmWYm5acTQVgTkVQTnBOQTgVxVBOBVFWK4J3FUE7gBABOwToVQTsVhUFcVRXBOhUBORWiuKkVYrCqK+KoqgnQrAnEV+K8E7FQE5xWBOQToVQTsVRW8V4qRUFYVgTsVhXioKgrCqKwqAnYqCtBOhUioK+CcisK8VRUFSKnirFQVBVFcE6FcVoJwKoqCrFXFUE7gnAqiuCcQTsE7xU8VP8VYrgnYrCuTEFNRTMuMTAwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqn3/l/J/8vHL5f/BhwCETgGpIDOATgEIOFoDcHzgEIDgC+pG7eve1S/6tat7rXupDXSStWoIpGS4TSMQNIySMwpIyAaRkkZ8GJGdBtbwYkZ63tCKRkoIpGWDEjLCKRmEkjOvsEUjJOsIpGa6bOrgxIzsEkjIGJGYUkZVKCKRmqoDkgEjMJJGSYMSMAikZJ3qhp0dq9ru3X1I36FujPbXuxwKbr//waABfg0AC6DUDUDXBqBoAmQawJiGrhqDUGoN//PkZL8USgKcAAblrroTgfQAbhtQAag1QawaYNIAuQa12Lv9si7F2NnXa2Vsi7i/DZl2tlL9l+vL8tlUTUTUTUYQDIBlGUAyifqJKJqJ+p5Mf/U7TETEU7CxkxVO1PKdqeU8u4vq2ddnrsbM2Zs/tl9s67V2NlbIu5sgaA1Q14ExAmAaA0BrDVDXhpgTPDQGuBMA0gTKGgCYgTHDQGrDUGgNcNQaw1hoAmcNIaRIAtALVEgC1gteI8FpBaBIAtcRwkAWgFpBaILVBaIkAWgRwjhIiPEeDXwa/4NUGr+DRwaKBgX/8IhP//wiF8GBMGBP/wYEhEKEQmEQuDAoGFTAwLgwLhG/4MvCM8GSDJCNwZQOXg2DwbB8MPDDhhuGGBsHhh8Lrf4MCQYFCIUGJgiE8GBQMIFhELDDhdaGHhdYGwaGGDDhhuDYMBsHg2D8MMGHBsH8GwYDYMhEKEQgMCeDAsIhAiFBgQIhAYFhEKDAkGBMIhYG
1EC4GFCBELgYUKDAuEQsGBQMKEwiEBgUGBcIhQYFwYFAwgWDAoRC8GBAYE4RCgwKEQvhEJgYUIBhQkIhAiECIUGBIMC4RCgwJCIUGBAiFgaYLwiEA5cGXCNhGBGwZAw4Ng0MPBkqNqcoqorlh//PkZP8cygrkAFI0wjo7lfAAjhq4SnPor//psoFemygWmwWm/0C0Ci05adApNn/TZQLU5RU9FRFVFdTn1OFG1Gywv/UbUa9Ff0VoFgCwBbAtQLUCzAtgAchHAN8ImAbgBvwDd4RwjQDeAN8I0ImEQEQAbwRgiQjBHhHAN0A3vgG6Ab/CIhEgG5AN6EQESAbmEYI4RABvYRoRABuYRgDehEQiAiIRABvcA3QiQDfwjwDfCICPCJCJCJ4RwiYRwjBEwDehEYRgDfCNCOEQEQEcI+BagAd4FrAscCxAswLfwLAFgC1wLNVMQU1FMy4xMDBVVVVVVVVVBlBkwO3wZAZMIz//////+DJwO0IwI0DsA7cGUI34Rn4RgMuEZgywZQjAZP/hGAcmDKEYDIB28GQGQGXhGgcgRoMgRoHYBywZAZYMmBygyQYFCIUDChQYE4MCgaYJ/gwKEQsGBAiEBgXAwgQLrhdcGwcGHBsGA2Dgw4YYGwZC6/hdYMMF14YcLrYYcMPDDhdYGweF1oYb4MCwYEwYEgwJBgTCIQGBIRC/BgQDCBcIhAMKFhEKDAsGBQYFAwgTgwKDAoMCQiEgwIBhAnCIUGBQiFwiEBicIhAiFhEIgIoBooGieDPA+4GeDPCP//PkZOobXgrkAEY0jjazieQgBKKIBGgyBGhGhGgyAdoMmEaDIB2gyhGwZYMsI0GSDIEaDKB2QOWEaDKB2hGgygcoHYBygdkDtgygcngyAyhG4MgMgRgRmDJCNBkA7QjAZIRoRoMuByhGgyAyAyhGwZYHKByAcgMgRoHIEbCNCNA7fCNA7AZAO0GSEYEaDLA7cDthGgyAyAyQjAOwGUIyDKEYEaEYEYEaEbA5AZQZAZAZIMgRkGXBlBkCMgyAyQZYMngcmEb8GUGQIyDIBywZAZOEZhGBGwO2EbwjcI3hGYMqTEFNRTMuMTAwqqqqqqqqqqqqqqqqqqqqquDqz8GMDQIvBj///+DGDEGAMAifBj8IuEThFCIEQGPCLwiQYBFCKESDCETBhhGAZGEZ4MjgcSEY4GoRQigxCIEQGPCKBiBrgxwiBEwMIRAY4MQNMIkImDEGIRYMIRYRAYhFBjwYwNQYgwBgBh4GAMQiwYgxA0gahFBgBjgYBFhFhFCKEWBgEWEUGEIgMQYQMYRAMQigxhFBh4GkIgRIRYRAY4RIMQYgYhFA18IoMQYQihFhEgwhFCIDEGIRQieBiEUIoRQYhEwYDAFwGrBog0waAaQawacGsGiDQp9MZMVT3piJjJjK//PkZOYZBgjoaUJQ0DprofQgbhq0dep71PqeU69TpMdMVT6n1OlPKdJjpiKdFZkxlPKdJiJj+mKp/0xFPBoAmYaw0BpwJhDSBMQ1BqAmIEzDSGgNXDRDRhp+GsNMNAEyAmYagJkBMA1BpDXAmECZhoDXhqAmYawJjgTICZBrDSGsNAExDVDQGqGgNHDWBMIaQ0BrAmcCYgTHAmIEzDWGgNYaOBMw0BqDSBMYaA04aA1hqwJhw0ATKGqBM8NYEz4aQJkGoNMNIag1+GsCY+BMQJlDVw0cCYfDXw1ho4aQ0gTCTEFNRTMuMTAwqqoD37wjuhHf/////hGf////hHf/gycEZwRn4MnYMncIzsGTwOdOA507A507hGeEZ8GTuDJ4Rn4HPn4Mn4RnhGcDJwM3YM3gzdBm6DNwR3QjvA927Bm//Bm7Bm/Bm8GbgZvBm4GboR3gzeEd+DN8GbvBm6EZ+Bzp4Mn4HOnBGfA588IzsDnTgZPCM8Iz+EZ/CM4DnTgOdPBk8Iz4RJwGTidBi7AycTgiT4RJ8GE6ESdhEngZPJwGTieDCcESfwYToMJ3AycTwiTsDJ5OhEnwibwYb+ETdwibwibvCJuwYb/4RN/Btf/jYGyNv8bHLUtSzE0/LQBW//PkZPQcHgjQAFKVrjfDmgAge1eMLITcshNy1LX8si0LUTQtCyLQTUteWQmvLItSz4mgmnTJops0umEymDSPsnR9HwfB8k7Pvn0fAvwtcLXF/F+L4vQtQWuFoC0BaReF7AeBfwtcXBdF4XheFwXAtAui9C1haRdi6LwvirgnUE6FcVBVisKgrCvioK+KoqiqAhh3AQFXhwVYrFYCWHMOioVAI4dFWHPDgCAdDgdDmHcBIBEO+HRWAiKsBMO4dFQCAdATw6HBWHBWAgHBUHMOf/gICsOCoV4qw7+KxWHA6KhVTEFNRTMuMTAwVVVVVVVVVVVVVVVVVVVVC11Fz1+NP+/Xkqpr9OfuhQ6lZNWf+XsZc/si+KNoOj/Ntai9j7IISgZAklTqQhjToNTeQoreRdaSDODWvYAVFaWWkQmVuZPP8bRUzq896vc+XS6mm5gnnW7JLnV4z9N5XnW4k86x+uyHyxnWkmdborzraff2SvOtvljOtjd/5XRW8MivOsry/K3gUzrFPS1eFTOttTsul1+lLGdbV3c53h51mdbK7xPOr1SpnWlM63kedZnV4XPK86onnW7myrnWTmRTOqascoabXd/L+yuzS95dv1efjhl92ntYyTuIb6wuWRZFmWRa//PkZOcb/gqMACDf1LTLofggA9qc/gKRZiblqWYm3E24moSQnR9BJj6JwfBaFqWZZFoWvLUshNPxNuWn6bTZHgozRTSaNAY5oGjFQVgTkE6FUVorioK8VBXBO8VRUioAhxVioK4qAnIrYrCqKsVRVBORXBORVFcVcVwTgVBUBORUisK4rCoKwrxXFYE4FYVATjFcVhX4rcVBVFQV4rxVFSKwqCpFcV+K8VhXFYV4qivFUE4FaCdivBORUBOfBOgToE6FUVYqisKgqCtxWFbFQVxXisKgqRU4qioKuKwqCvxVBkH/4Mgf4Rg4RgfgxZBizhFYEVuDFvhFbBi3CKyEVsGLf/4MgAxaDFoGsWYMWgaxYBrFngxaDFnCKwIrAYswNas+DFgRWYGtWYMWBFZgxbgaxbgxZCKwGLIRWgxZCK2EVmDFmDFgMW4GtW8IrAYtBi3Bi0GLAYsCK0IrQit4MWeEVgRW+DFsI9cDW9AYtgxZhFaBrVgMWgxaDFvCKwIrIGtWhFaBrFuEVvBi3hFZA1i0IrYMWYMWAxaEVkGLAisCKzBizCK0DWrIRg+EYIRgQjABkHwODABkDhGDwODBgyAEYIRoRvww4YcKILYKILfhRg5htjY4OQbQ2hNAH8su//PkZP8cRgjWAFAUYjwDofQAi9pcJry1E1LUsuWvE2E0LQTcB+E2LMTctQFEEcWnFYVwTkAI4rRWFYE6BOhWwToBBAQgnIrisETANwIiAb/COEQEbgG+EcA38A3wjhGCMEeEaEeKoJwK4J2KoARBVBOIJ1FWKoJ0CcCuCdRWFcV4rioK4rAnYJ2K0V8VYr8E4xWFUVBVFQE6FXBORWFSKorxVFcVwToE5wTvBOoqwToVIJziuKwJxAQgnUVBUgnAqQCaCdxWirFaKwrRWFcE7FfFeK4rgnIrAnYrCoKoqgnAqCrip4qgnCr/////8Iu8BjvP4Ry5/8Izggc4Zw4RnD/hGcP8GThBk4eDJwgycIMnDwjOD4MnBA3eu9hF3kGO8gx3vBjvAN3jvMGO8CLvAY72DHeAbvXe+DHehF3kGO8gbvHeBF3oG713gG713vgx3oMd5BjvAi7wGO9A3eu8BjvMDd470Iu9wN3jvQY7wGO9wN3jvIRd4Bu9d6Bu9d6DHeAbvHewi7yEXecGO9BjvQN3rvIG7zykGO9A3eO9CLvYMd6EXegx3gG7x3kDd470Dd472DHewY7yDHeAKomwmhZFkAof8tCy4m5aCbcTUswFYsy0/LQTX9NBqBgJgYaY//PkZPcaTdCuAFgWlkI0DfQAe9r8Jxz6CShr8++JsArgjxNBNC0LQsyyLMsgRxallyyLIsi0LUTUtS0AVwFPia8si0LMTXiacsxNizLMTYTcsi1LMsy0E2LUsuJqJvxNyy/E1LMteWgm4mpZlkJuWRZFmWnLQTfgncVATkVcVQTsVIqQToVxWFeK4rwTmATCsCcAnQJyKoriqKwrxWiqKoqwToVRWBORWBOBVFSKgq4qAnAqAnArRVgnIJ3FYVQAgCriqK4qYqivBOsVoJwKgJ3FYVBWFfBOIqCoCcivipxUFSCd4qRV4rCvFaCc/BOhW8VxWFUVhX4r1eX/+DHgaYMOEX/CJgwwYQY8GODH/wYf4RAiQiAxCKBj4GAMYRQiwYcGEGMIoMfhECIBgEXA
1wCJhEA1BjhF+BhCIDEGARYGoRAYgxCLwYeESEUGMDEIoGAMAiAwBiBrCJ8GMGGEWEUGIRYMAYAxCKBiBgBqDDA1wiBEBiDAIsGIMANANMIoMAYhEBh4GMGMGARfAxBj8GAMANYRAYBFAwCIBhgYhEwNQMYGIRAMAiwNYRQi4RQYwYgahEBiBqBgESEUIqa6Z6bTBpGkmUwmkwaZpJlNCkifmkaaaBymgm0wmRPxSDTTa//PkZOYYTgboZUAQIkCEFgAAe898YTZpJtMJhNilphNdMJhMGgmemDSNJNmkaX6aNJN9MJhMc0E2mzSNJMpg0umU2mDS5oJlNJtNJnpg0DSTBoml0wmzTE8TRpGgm00mkzzRNNMJg0jQTSb/NFNdNGl02KTzRTfTPTSbTKZNLphNJpNmgmUymkwaaaTKZ/TSYTBoJr/ifptMpr9MJlNptMpg0kymumEwmf+mEwmOmkymTT5ppv80eaHTCYTHTSaNBNJtN80/0yaBoJo0k2aPTPNA0OaSaTJoplMJv9MgBAB4MBUGwbwVwUBkFAYDAU4NBoMBqhAELk//h/y1/vz6/6zMnEglwqnIsVSHBzAMMIqXiLgxS8ucoLCKl7VwipeupwYpeAxS8Z22hSl4U+qE1L2goKUva1GUJqXqwkpeAxS81IQpS8smBqXql6E1LyEVLxdEJqXoSUvAmpeJhFS8rpH3CKl6EVLxPWFKXgDUvVL1LCal4kuDFL2EVLxFlPClLyEVL2FKXhdwYpeswGpeqXkGKXqLAxS8wYpeqWk8KUvATUvQYpehJS9Bil6yoUpegipeZT2x1vN5NR2X3KrRuXjFmaS0AUCyE1BHflmWZacTYsvy05ZgAIs+WQCqJoWZ//PkZOwZ+gaYBgbm6EQMAfQAe9r8ZCbiaFkWv5ZibialoArlryyDtCSnyfR8hrE7PpNmiaIxDTGKafTJalqJoJoWQm4mnLUtSzE1LUsxNyy4mpZlqJpy14mgD8WpagKvLIEcJuWnLItBNhNhNxNgH8tSyLMTflmA/iaCaFqJqWf4mxZFmCdCvFWKwqivgnQJzFfwToAIwqgnOKgqCoK4J2KwqisKwJwKwqCqKgJwK4rYqirgnIJ2K8VhVwTmKorYrioK4JwKwrRWFQE5FUE6BOwTgV4qYqiuCdAnYqAnMVBVFUVATkVBVirioKoqCviuK8VwTjxWFfivFUVxXBOcVuKvFaKoqiuCdeEW3Bjb/gxvhFvCLYGN8GNwi3CLf8DbtuEW//CM7+DG+EW+DG8DbNgi3CLfA2zYItwY3gbZuDG8GT/Bk+DJ+DJ/hGdCM+EZwMnQZP8GT8GToRngc6dBk4IzwZOBk8GTvhGdBk+DG8Dbt8DbtgY2CLbBjYGNwi2A2zYDbN4RbhFtA2zcDbNwNu3CLaEW4RbeEW2DG8DbNwY3BjYDbNgY3A2zYItwi3CLbgbdvA27YGN/CLaDG4RbgxsDG4Rb8ItsI7oR3cGb00m0wmTT6aTZoJgUpMc0kwaa//PkZNcYqeLUAAAUHjw8DgQAe88cYTXTXNBpXiQdfLVpLJoaCSJs0TQNAbRpJpDWleaGlDmlfQ9fQ7tBZoa0IeOw3Ccq44TcHgrufDVzQNA0Om0wmDTNE0EymkymumU2mU0aSY6ZE8NFMmiaaYNDptMGn+aJpdNptNps0OmU0J50wNtMGmmEz/zQTJpppNplMJlM9M8FAYCoKAAApgqDIMACwAQbBsAMGQAQaCkGg0GgyCkGeCgNABwAAUgrwA+CoAQNAeHCAOAeAyIQHBwgDg4QYDAGgMEEOEAeA0Q4DxAHh0PEMGYMBsFQYDPgoDMGQV4NBqryAZfhGfwjMDl4Rv/wjcGT/4R/CPBH//hH4H3gzv4M7A+/gzoR4GdBnAf+DPBnwj4M7BnwivA1QIpCKcIpgaqDFgaqBogMWBqgGqgxQinA0XBi8IqEUCKBFcD7/CPwj0I+DPA/8GfBnQZ8I+EeCPwZ4R6EfhGcI0GSDIDJCNCMBkgdsIwGQDkBk4HIEZgy4RoHZwZQjcDtCMgcoRgRoRgHKDJBl4RgHIDKDIEYEaEZgyYMoRsIwGQGQIwGUGUI3A5AZMI2EaDLBlwjQZQjAjAZQoqIqqN+pypx/qNIqoqqNKNKcqchwGrCAPqN//PkZOsaCgjiBUZRnkhEBfAgw9tw+iu1RUqp2qNUNalOVG1GkV/U58sLU48sLLCiwFU4hAYA+qQQgasVhVIYQNWKwmAKpvasNoHIDm4OQHIDlGwNgbH4D+JuWQm4mhZFoJsWgm4I4TcbA2xtA5ODnGyNoHJ+NgHKDl/LMBXLUtS04mvLQteAqCaCbFoWQmha8bQ2Acg2ht8bI2RsjaGyNrjYGwNvjbByja/GxFYE4ipBOIrwTiK4J2KuK8BAK4rAnAJwKkE4FYE7FUVgEIqgIRVBO4qRXFQVBVBOMVwCcE5itBOoqAnQqCpBOIrxVBOoJ0KwJxgnQrCuKsVBXioCcCqCdAnYJyKsVYqipBOgjwiAj/8InhH4RMIkIioAC4RiJCMRP////CNk//Blkv4M6F8I9C/8GWT/8I2SwjZOEbJQZZIGWShGyYMsnwj0P///CPQ/hGyQRsn8I2SCNkgOyVkoMsnhGyQMslCNkoMsl4MsnhGyXCNk4MsmEbJ/wZZP8I2SA7JWTgyyQMiKDIieEYiAcRIihGIkIxFwZEUIxEA4iREgcRYihGIoHESIkDiJEUIxFwjEQIxEwZEWDIihGIoRiKEYiHcYJRIr9kzDmO5cIaApXE/NA0TTTKZGym/0//PkZMQWjdCsAwAWCsQ8Cfwoe89cyaXTKZACgKxsmybQFQCyPQPUbRtA9x6QAoegHKmRtClpk0RSkwaCYE/GyaaZ6ZFJTaaTCbTabTBomgmk2mxS0x0waSaTI2gcgOcT0T5MiedM9M9NCfCeGgNhMJlNJoT1MdNJhMjaNPptNGkmhtpnmgmv+KQmRSE0aaY6ZTKZTRoJg0U0aBopg0emU1/xPzTTaa5o80DRTZoJs0TRNEUhMikJs0P0x0wmkwmUymkwaKb5pppNJg0OaInhpGgmeaSbTBp9N/ptNJo0DTNAbOCkGAwGABgA4NgwAAAMAPBgAQKAyDAZgoCkFINAABWAEDAUBTAABgMBTgqACDcGAAQYDAUqLUlVt///+Bj4MIRcGH/hE//hEwY/wi8GPBj8GH8IgRcIv4RYMQi+DAIsIsIn8GHCLCJCJ/BhBgBpgwwifhFhEhF/gwCIDAGIMIMAMQYBFhFBgDH4GAMQiQNAYAwwYBECIAMIAMAAiHBgAMIAiAIg4MABgABhADAhEAGAARCBhCEQhEIMABh6EQAwIMABgCEQwMAQYD4MDCIcGACIQiHwYGDAhEOEQ4MAENB8hJD7PsnXJ0fZ98+D6LItQR3PgnZHmgPYYRopk0xj//PkZMkU/gLsKkITrkL0CfzIetvgJtNdNGkmkwCPLITf8s+WpaFmApAjgFUsyz49jSTCaGMmkyaRZlkJsWpaiagKBZlmWomh8c+CdcnROj4Pk+Akh9E6DsJ0fJ8c+OTs+idk4J2Tg+j7Pr8nB9nwfAa59k7598+D74Sk+eEkFQdDmKsOhwBEVYCeAiAmAiHcBEV4CYCIWmCHF6FqC0haRcF4XYvxfF2LwvC+FqC0xcC0C/FwLSFoF0XBfi7C0xei8LwvcLQLoWoXheC0BaIWoXBdiNiMY6cZ8RkZxnjqOojAz4zx0HUdBGozjoMw6iMjpxdi+L4uC5F/xd/haIui/bZ/+DGBp4RYMQYgw8Ivgw/CJ4RfBh/hECKBgEUGODH8InhFwY4GoMcIgRIMcInCIBrBhCIESESBp+DEGARfhEA1gxBjBj4RAYQYgxgYwiYRcIgMAiAwBjCJgYAawYYRQMQMAYhFgagYhEA0AxA1A1CJBhBgEXwMQNAihFhFAxwYAwgaYMPCJA1hEBiBrwYQiwYwiBFwYhFgxgawihFCLA0gYAwCKESBoBpCJ4MIRcGOEVB9ALR8BJj7/PonB9HyEoJwfZ9E4Dt5OeTnlqJtxNAH7nwfHPonJ8E759E6PoJI//PkZOAWKgjoZUAQYka0Ffgge9VcfZOCdE7J0To+Cc8JWTo+D7J0EqPoO0+T5PsJSfJ9n0TkJUfJOeTknPPo+z6J2Ts+ycE759/k7Pg+z5J2TonBOeTkJUTg+T5DtJ0Tvk5Pjk5DXPg+idH2HYfR9E6PgnR9k5JyfZ9cnR9cNYJSfROidE6Ps+Cdn0fB8E6DtPs+CdHwfH5OAlR8nyfB98+SdE4J0ff5OidH2TknfPkJMfYSg+Cd8+D6PsnP/JwTk++fYSQO0+D5J0fZ8HwTjn2AWDgdAL8ApALQCkO8GACwMgyAVBiAVhzwY4BeDIMgFMOh0ArDgc4BeAV4cgFsOhz/wP225HGw7wCsO4M8AqHP/+DEGQ7/8OgzgFoM4Bf4MhwO4BT4cDmHcGfDnw78GcVhUFTFXFeKoqYJ3isKuKkVgTsVoqCsKwrCoKsVQTqKorYWoXhfxeF/xdi58XOL4WmLnFYVQToE4FXiuK0VwTnFQVRVFcVhU4JzFfDgdhzBnDuHfALgyDAMQZBgGQCgBUAoDAMh3BkAsDMGcGAYgxBn+HAC0ArwCwMAS5adAry0yBSBfoFBVaKqKwVUVrRXUa9FUOEqVUjV3ySPLkvkzlNlNn02E2S06pvVKWACECpW//PkZN8VDgj+zymq5krb1ewAxJvkqe1XysDVFSqlVIo2o0ispyFVoqKNIrKcqNKcKcFhSjaKiKyKhYWiv6nCnCKijajSnPorKNKcKcqcIrqNoqKNqcKNoqKNKNqNKcIqKN//orf6BSbKbK
1BSBXlp0CvQKTYTZ/0C/LTxFxFoigioigCLC4cRYRWItEXC4cRcI0IoFwwXCiKwjQXC8LhRFcRcRQRSFwoikRcLhxFRFguHiKRF8E7FYVhVBOgCYVRUACKKgqgE0E6ACJFYVoJ0CcgnQrAnMVwTgE6ioKoRwDdhHhG4RARgDcCMEaEYIiAbwRIRuESEcIwRwiYRwjQjBEgWoFuBa4FngWkIQQigwhEwigx/CL/4RfCKEQGP/wYiEUwYHwYGDAwYAGA4RCEQBEGB0rCNcGU4RrBlcIsGGDCESBiEWDCBhCIEWBiDAGHCKEUGEGEGMIgMAiwigxCIDADQGIRfCIEQDXgYYRfBgBoESEXwY/CJCKEQIsGIRODEGIRQYgw8IgRYMMGAGGDEDGDAIoMcDQIkGMGGBrgwCKDAIsIkDUDWDGDDA1hE4RQMQYgwBhhFBhBh4MAMYRMIoRAiAxBjhF4mhZFpxNBNy0LQTUTXhKglR9FqWpaAP5Zi//PkZNYXkgTkGEJwlkXcDfQAe9r8bCa/k5JwTriacsizBHE6CSH1w7efHLPgjuJqWnLITYTX8tRNAH/ialqJuJuWZaFkCO4m5aE7J2TonB8E559nyEnJyfB8FmJrxNxNhNS1E3LT8sxNC0E0LTlqJuWQm3E15ZiaFqWRZiaCagP5aCblkKoqCsCdioKoqwToE6FcVwAhRWBOIrCpFbgnEVRVFUVIJ2K4rAnIqioKgrcV4riuK0E4FcVQTsVxUBOoJ3FUE7itFYE7FYVRXFUVwTkVoqAnYJxBO4rReF4XYWsLWLoui4LwuC9AdsLQL0LQA9C8Lgvi6LguBahfFwXAtIvQQ4vCqKwrxX/8E5xXit4JwKzBnwj+DF+F1guvBiQYkDRIR8I/gz8Gd4R/wYsGLBi8I8DPBneDPBnwZ/8I8DP8I8B/0Gd+DPA+8I/+Ef+DOgzvwj4R/hHoM+Ee4M4D74M+Ef/A/7gfcDPBn4R7BnfCPgz4M7Bngf8DPwjwR6B/3CPwj0Gfgz+EfBnhH8GfwioRQGIBqgRUDVAYoGiBFcIoBqoMWEUA1UDRYRUIqEUA1WBooGiAaqBogRUGJwigM8I/gz+DOCPwj/Bnwj3BnBHgZ4M4I+DOhHhNCz5aiaCb//PkZM0YugrgAAASBEUEBfQAe9rclmWompZ8shNyzLMsy1LMBUAfhNxNicBJCcE5J0JpyyLMTcBVLXloCO5aCagKACiAqflqWYmvE3E3BHlmArFnxNRNC1LUBS5aFoWhZFmWR8k5CTnxz4PonZ8E5Pg+j4LUshNQH4TYtSzLMshNBNhNSyAViyE0FQE4FYVoJ0CcRUgnYqisKoJxFWAhiuKgrCtFUE7FQE5iqKgqRVFWKorwTsVxVFYE7FTFTBOxVgnAqRXBOPisK4BOK0VoriuK0E5BOxUivFcE5FYE5FQVBXFQE6FQVBVFYVxWioCcCoLovi4LoWiL0LSL+LouBaIvBahdi6LoWgEMFoC1hacXxdC14uipiqKn8VPFbiqKsVb//Bm/+EXgx4RdhFb///hE1/8GLP//CKwIrQjoGa/wPewZqEdYM1wZqDNAetgzWEd8GagzYM2DN4M1wjoI7Bm+DNhHcD3rA9awZuEdwZvCOwjsGaA964M1A978I7hHQR0DNge98I6hHYR1wZrBmwPWgPWwZsI7wjqB63COvgzQR3BmwZsGaget8D3rCOgZoGa4R1gzYM0EdwZsI6CO+DN4R1wZsD3oGaBmwjqEdAzXCO/4R0DNAzYR0WgI8TQT//PkZL4XFgTcAE6Tekf8EfQAe9t8YTXiagKwCsJuWXLMTUtC1LMTT8TYTUJP+fAdomomoD8JuWoCgWoI7iaFkJqJqfZ8hrk4CSE5Pk+Cdk5PgnBOT7JwTg+uWZaiaCbcsgFAsy0LPlmJsWYmom5ZFmWpaibiaAjy15ZFkWQm5Zll+JsJqJvy1E0CThJz65OQlJ8H2TknZOT759k6J3z4PgTQTcsy0LITflmWfLUsiyLITYTcTT8syzLQsi0LMEcWZa8tSyE1LTibibFqWYI/8shNCyE1LQsy1LUTUBTLLloWXLUsiyLUtBN+JqJvy1E05Z8TcsxNeWn/LTnxydHwfZ9n1ydk4PsnHJyfR9E4JwTgnB8k4588nB9cnR8c+D7PjxV4q4r8VsVgTgE4/itFShX/xV4rirxVFWKoq4qfxX8E6xVxUBOYrCtwTvwTj/xV8E5/irBOsVuKwqRXFTFQVorCrFf/xWioKwrCtioCcxUFUVAToE4FUVxWFQVhUBO4rgnUVIJyKkVgToE4ipFUVoq4qisKsE64qCoCdxUFUVxXFUE78VxWFQV4qiuKgqiuK4CCK2KoqirBOATsE4FWK4qxVFUVhVFYE4gnIriuCcQTiK4rCoCdCtirBORUiqK2//PkZLAWsgzuADQNNkZj/fjIe9r8K/FXFUVwSE5aiaAKgmhaFpxNQkp8n3z5PsJOGsffLQsyyE1LItS1E1Af+CPLMTUTfibFmJoWQmxanzydHwTsnASknBaCalqWom5ZcsxNyc8nASsnHDt59BrhJgkpOicBKg7D7JyfZ8E5Pk+Cd8EeWXE0LQsiyLQtSyLIsi0LUTYsy0E3LITQshNiyLUsiy4I78shNy0LMVcE6ipgnArRVgncE4wTsVIrCqCcCtBOYrwTgE7iuKwqCoKwrcE7BOQTqKgqiqFpBEC1gPYD3F0X4WoLTF0Xxei6FqC0BaAtQWgXxdwtWFqC0haBW/FQVRUBOBUFcE6ioCcAnEVRX4rYrxWFUVBViuLsXgtAuC6FoBDBaYvi7F8XxexdF8XhcFyI//gx//CJBhgxhEwY/+EXwYgx8ImDH8GPhE8GPhEwigwhFwNQNQNfhE+DGDAGHCIBrhEhEBh4RQMAY/gYBFBhhEAxCIDCEUDEDHBiEUIoRQY+DCBp4McGEIgGgMcGIGMGIGIGgRQYgxCKBiBjBgDGESDADWBgEUDEIuDADWBpBiEUDEDDgYgwBgDEDQDUGIGgRAYQYAxCKBhCKEThEBgBiEUGIRQMQiQiwNAY//PkZKwWNgjoZUAQREakFfQAe9t8YMfwi4GBaFoJsWpaFlyyBHctCzE25ZiaFoAocsy1E24Sk+idk6LMTYTYTQsyyLUtCyLQTUswFYJMGuTg+CdHwErPotAFAsuJtxNCz4m4mvBHiafloWZZ8YppBqzTNI0jTNBMpg0jTTZZFqWfE3Af/xNf+WomhZ8suWZZCb8tC1LQtS14m/LQtBNhNOfR8hKCc8nHJ2EqCUE5CSHxydk6Pg+D7Ps+Sdk6LUTQTcTcTctSz4mwmha8TXlmJvyy5ZiaFl+WpZFoWZa8TQshNCz4mhalmJsWfLQsuWRactBNRNC1E1LLlly0E2PgJWfR8h2H2fJOSdnx+fXPs+T5PgNbnzz6Po+T7JwTk+z4PonROglJ84qCvxXxUirFX4q4qeCd1f8InCI/4R/CP//4RMI/CMEYI4RAR8I8IjCJ4REI/gG8ESEfCOERCP4R/+EaERCPCNCNCI4BvQjYRMHINobIOfjZBzDZG3xtja42gcw2PwcvG2Nng5+NgbY2wcn42htDYGwNrjYGwNsbX42vxscbI2gc3Bzg5Qcg2uNvjaGwNgbI2+Dl4OUbI2Qc42RsjbBy//g5eAboR4RwjQDeCP+EcI8IwBuwjwjBEBEA//PkZKoZMgrqADXt9EV8FfQAe9scG+EThEBGCMESESEbhEQjwjwjwjBHCIwiQDcCNCI/hHE0/LQBSLITf/lqWoSvk7LT8BWLMtRNAk58E7Po+CyLQTcsyyLUsi0Afi1LUTUTUtBNS05aFkWpZHzwkoSgnB9HwfQSsTYsizLQtRNRNgFf/8NcJWEmAWCdn0To+T4CUHyGtxNiyLT/lmJqJqJqWgmpZFqJsWgmwmwmwmv5ZiaibiactBNv/yyLTiaFkWZagKgCmJqWQmgmom3E0LTibAKfE0LLiuKgrYqipBO4JzFUE5BORXBOhVioKwqRWBOYJyKkE6BOIrYqCqCcxVxVFUV8E4FSCdcVgAgCuKkLTBDC6CHi+LwuRfha4uC+FpF8XQtAWgB2wtAWoXBchaBfwtQWnFSCdxVxXFUVhUFYV4rgnOK3wTiKir//1eDCsf//7/+wOYd///ei/f6lmiqGXpyOlCSRm+yP3UtDhFIzqBhwCFHAGFHABYGcAnAAMOAAYcAAw4BYKOAIROANgicAQYcABE4AAzgE4B+1wmcAwYcAK+sDOADgFLCJwAlWBnABwABnABwDWraETgEDOADgDBiRkgoJpGaP+64RSMoRSMGBiRkkwMSMlq7AxIy4//PkZJUYEgieBFw3fkL8FgAied8AROAAicA8DOATgAGHAAROAFwM4BOAGBhwADDgAGHANQUcAgicAYROAfgw4AIkbPNNNpo0TSNBNJgUs0l7lomEwmRSOaRp80zQFK4nvTInnTEGgwGwAwYmOmkyaInppJpMJg0k1+KUaaaTCb42U0mBsGiaSaNNNpo0OaKZNE0jTTSY5oGmaZpJrphM9MGkmDQTCZBzpg0OKR+mBtdMJobfTSbTfG2KSaBpGgaZomiaBomn02mOmkwmjSNPpjmmaKZNA0zSNFNCeClJkT40DTTCY5oJk0kyaJpdMppMdMdN80TR6ZTXTfNJNmimumem+aKZTKaTaaTRops0kwaZppk0+aSa6ZTKYTfTfTPTHTKa5omgmEyaJo9NmkaRp/pnmmaf6aNNMplMplMdMpv8TxMJlNplNJn9MdM1OM6hWa/EjiRiRiO/x
1IcSP+GgCZQ1+GvDRDV//4aP///4I8EwTwTBLwS/4AHgnBHBHgiwR4JgAgS4IwAYPA8ADg+AAAAFwfB4L4WADC2AGAGFwsFwuD2FgAcAPC+F/B8L4X/B7B4L4WwuD+AGDwXACAAC2D2AEFgfCwAAAAXB8LhcLeDwXCwPYPA+ACACD+AH4XwA//PkZJMVIgb2ejVLxkBMEgTIe898vwv4X/ACB/C4WwtgBg/gA4PA9gBeFhLRTXTRomkmP0yJ6J+mPy0NA0OvibNDQmfzTNNMjaFKNATxMiemiaRoGkmE2mkwmTRTHNBMGiaCZTSZTZomh0PaV9fX2hoX14kzSmOaCY5pJr80U0aPTfNFMps0jSNJMmiaSaTKb6aTKYNLphMpg0eaJoGkJ8aBoppMppMJg00xzTTabNFNJpNJpNpnpg0DT6bTRoppoJMWrSh/690NQ5paV5D2le/LND2hoQxDF/rzR1/r/aWhfaWleQxfXmheaevNDS0tLQ0ryGoch/X15D+vLy+0oc0ry/19DUOXuvIc0oav9oXkNX1/r3X18QCGHQGQHB8PiAPAaHgPDsBgcH+Hqv//+DJ0GNuEW4MbQY2wZO4Rn///4R34R3Qjv//8Gbv//8GbgZuwZvCO4GbsD37+Ed3A586DJ4Rn8DnToRn8GTsGT8GToRn4HOngyf4HOnBGeDJ0IzgjOCM8DnTwjOgydwOdP4RnYMncDbtwY2A27cItgNs3CLeDGwMbwY3CLaEWwRbQi3A27eDG0GN4G2bBFvA2zcItgY3A27YGN4G2bAxtA58/gc6eDJwHOnAyfCM7A588//PkZLMYngTSAFAUhEYcDfggw9V8DnzwOdOBk8IzuEZ4MnAyfgychsy7F3oE13Nl9sy7myrsL6qqOU5anCqkHqNDI3KVUTEU8GNU7U6gxyHKchyVV/Xa2Zspfds3rubK2VsjZmztk9djZi/TZV2NnXYu0vsm0yaBoDZNEbA2k0aKZNjmwbH/Nvm2bRtGyBVArD1G0bQPUevg9h6/+PRzZNkCrzZNgesegesermyPQPXzbHpNvm0PQPUPSbJs82TaHqAtj082h6DaNn8eo2DbHrHpNjj1m1zYHqNo2jYNnmwbPNgek2ja5sj0D1m0bJs80xtJlMdMCeps0U0meaaa6b5p/mmmU3zRTfNFN/pgHPzQNPmkaaaTXTKbTRoJk0zS6b/NBNdNJlNGj02aH6Z4IgAEEYJ4I+CMEQJcEUEXBOpHDX/w1Q0Q1Q1cNWGvw0Q0/hp/AmIaA0cCYhow0w1/w0hoDRhpw1w1BrgTLDXw1BrhrDQGgNQEzAmOGuGiGgNfgTHDQGoCZw1w0BrDWBMIEzDVDTDUGgNfAFwGjBrg1A1YNcGsAXAaQaABcBqg1g1QagaINYaoEyw1Bow1YaA1hoDSBMw1gTICYQJkGrDQGoNGGmGsNcNQawJkGuBM4aIa//PkZKAYngTsATQNQkKMFgDifh7AYagJkGsCZ+GkNWGiGsNAaYaOGgCYgTENQaw0Yaw1Q1Q0/hqw1BkAfmkaCb6ZTCY6bNBNLwmqGA5fzSTCb/lgwXOmMmMmTQ5pmkmUwmkymfzRTaZFJ6aNM002NrppMpg0kwKQmE2m0yKUaKaE95o9MJj9N9NJk0UymOaSaE/TabNNNmmmk2mU2aHTKZTCaNDjaTJoGimkyNvpk0TRTHTf6bTRopg001+mU0aXNBMjYNA0k2mjR5pfps0U100mUz0ym02mDRTHTaaTRpplMc0kz0ySA000mDSTKbNI002mzQTHTaYTf//NA0zQTBodNJk0UyKSaaZNJMprmkaP5oGmKUmEymUyaCbTHNBMJlN80DRNBMmkm/00mUwaZpprplNpvmiaJo80+aSa//TaY/6ZaH//wY4ReEX4RIMfwiAxBh/BhCJ/+ESDDwYcIn+EQIoMAiQYAw8IsGIGGETBj4MP4MQiAxhEAwAxAxBjBiEUIgMIMcDCDAGIMcGMDEGGBgEUDTwNfAx4MAiwiQYgwBgEUIgMIRAiQYhFwYAwBhA1CKDEIoGoGgMQi4MeDADGEQIkIgGMDCDAIoMAiQiAYwYYMQNQigwCJBiDEGAR//PkZJwV+gzoZUAQRkZsCfQAe9tcQYgx8GEGIMQiwMAY4MANAMcIoMSyE1E1/LMTUtCz5OD5PkJJz5Pk+uA/FqWRaib8TUTUTQtC05alqWYm4momgI8TYsxNCzE3LUtQFEsgFM+z6J0fB8nz+TsNcnB9BK+Tk+g7CdhJT6LTiaFqWYI7lqWoCvy05ZlnxNy0/LUshNBNvwR4moCj+Wv5ZlkJqWpalkCOE1E1LQsiyLITUBULLlqWZZlmJsWhZcsi1/4CiWpalkJqJuWvLXlkJsJpyy4mwm5ZlmJuWXLUTQteWgmgmwCsJoWfE3LMsiyLP8TTlkJuAolqJryzE1LTibCbloJuWhZFoWYmxZ8TcXIvxeC0i+FrF0B2i4L8LSL4uBaIDyCHF8XRfF6FqgiwtIuYWoXIrYqAncVvxVip8VIqCvUxPqtFbFf/4q/8V/8V/iririr8VATjxXipxWgnYq+KwqfFTFQVoq+KsVBW8VhUisKuK0VRXivFYE4FTBOhVFcVRV4riuCdCuCdCtwTiCcCqCcgnYqxWFcVIJwKsVxWisK8VxVgnArYqRWFeK0V4qgnQrgnYrfBOoqAnAq4J0CciqKviuK3BOoJyKsE4FUVoqisK2KwrAnArgBAFSK4//PkZJ0VagjyJgGtbkOkFfwAbh4AqRViuK4J0KgrCrFUVxVjOEeDQgjlcT4T40xtjaNI0uaI2QciGNJIl4kJZtCGIaSckIm6GL3TQ2zRTY2UwmjSNE0fxS02aY2BsJs0/+mzSE8TQpHTKZTaaG0aQpApZp/mmm+aHTfTCZGwNgUk0E0aRp/ilJlNJgT5MmkJ9zQNA0TQTH6ZG2mk0mk0mk3zQTKY/G3zQTHTabTBpGgmU0aKaTJpJpNJtMphNjYTfNE0emkymE2mEyaCbNBNfmkaJpdNJnpg0k0mDTTCbTaZTBp80k2aCbTfNE00yaCb6bTZoplMmmaKZTKaTJpmiaHTXNJNdMDbTab6Y6Z6ZNNMJhMJhN9NJrmim02m0ymU300aPTSa6Y//5pJpNdN/9NppxWxU4Jx/xWxU/xU4qcV/ipiuKwqxWFbioK/8VIqivFTwTkVgTkVor4JxFXxX8VcVxUFQE4FaCcwTvBOIqwToVuKwqCtFUVYqxXxWFeK0E7FQVYrwTnwTsV4rCqCcfFaCcRVFQE5gnAr4JyK4r4Jz4J0Koqip4rCvisKoJ3xWBOME7iuKgriuKgrAnAqgnArxXiqCcgnYJzFQVQTmAEIVYrwToAIYrwTiKkVQTkE5//PkZK4XGgzsADQNAkIcCfwAe898FXFTFYVxXxUFQVkzzS5oilg5TTTY2kyaJpJtNGgJ8aKaTQ2k2aCaNI0eaSYNJM/tKHEiQxfJG09MmgaSYTRppg0TRNNMJlMptMCfppNprmiaA2jQNLmmaRppk0jRFLNP9NJhMGmaQpZpJhNCkGkmE0J+mxSk0m0x02mjRTKbTCZ42EwaQpJpptNprmgaRpmim00J4mzSNM0kymkyKWmE0muaKYGwNjmgafTPNE0U0mUwJ7+mem01+J8mhSk2mjRTSb6aTCbNBM9MpjpjppMpk0E2mE2mE2mjSTfTaZ6YNFMcT1MpnprptNmim0wmE100aSaTRo9MGjzTTHTaaTfTSaNLpoFMAAFYNBQGwAvwAYM4NgqqkjaAN3d3d3etERNK5CZ/3Ctf8AaiAc/u7vaIn/+8XPv//+GDKv8W1/+AC8K4Yw+94xe940jgceOBwOcRaxGwH4EuNIjBfxazB8HhkwVjIAII/vDkjG/wAcJPeF5e98hNgSYLWMFvhZ73pX06aoehpmh01hMJtM9K3TKY9E10x+memvlIpZM9MUTCbShbUrtM+n5ophNZuXK+0wmemumMCemkmvc0Uwm/lJJlLe5oJZI0SyW6R0mE//PkZLcXlgrzECFvrEmMEfgAfh7k2aORpbTYUo9SBNsekGYNVKgqg6hrUXK4Q42DOwPWbILEzBSumEgkWJPU8S72G5wUuGDwguEKa1Q0UykS3Bn7FJ
1Ngg5qoEgpsGabBtGabZt7NrKCNgLYes1idmabBtm2bZsBRm0PQbF9mwPSPUBbMwzB6QojYM42ePTzbMwzR6TaNs1eBVNv81yDUJ2QYhJtD0m0PVe+x6T2M8HsbFwsh6B6D7HpugT2uZhO6HqZhmE7ISZhhkFNcghtmybBnnsD1Ho49ZtG2bZs5PVBc2EEepCaEHNjj1EJHq5smabZtmwbNEEPR+bJse9z2PY2T1SN0rdNJq6yXI06COvNJj9MGmkkGmUj7pI0TToNGlEsNEnCW10ymi5FtNFKpvps0kz0uW3aaTF00mTSzdNJu0KFYz1KjaGAhyoQCFGM//zFARgIUZ/oZpdCttay6M5drW1joSj6Ekk1b7J7R7aoQNlPrWBKLTTzOsGT5yYxLrtHTy2iUxEkES0HIBVD066VjGj31odPkkSjJtbWs6OIjKmlXHR9K5MTv5pdZolE10kk2lly74TFx5KTXeTGLrS6ExiucvJSSDUdXZm3NLn1rtYBCUEoRj77WOhCPc+g5//PkZJ8XPgzoAABMTrz8BfQyY9ONGxJULutaa1TE5LHxWEo+XecmMa3p0kqBCR6qOFaFUGpNJIIjqVi0ylBqJIkiSJIkmJj605EkSRJPetWAyVacmodBUVhGfrAZPF0AUrgRLNiqDU4VHo8h6HRObJJNdqlRBMFT0qdNE0WZhmay2tCuOY6oieWieianCnVSbzjd7SGhrLi6eUSeLcZTWqdML5PM50uOGJms9VqtYU6hrgrm4V0frUzTvYsiegR2FOkqUxSKdVCpmRCSkIAUZ4VPhqEKgFDU2VhUiIhUaIg0RAkTBYEjYBUbBMuCJgLAkCUBUinABgBE3/9EQqFRM0s0qzktk9ZFqqFC6RULE11JVDkd8Y1vVFOx9oUIpZ8Vnq5klkxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"),()=>{var e;null==(e=h.current)||e.pause(),h.current=null};h.current=null},[c]);const p=Qt.useCallback(e=>async s=>{var u;const m=d.current;if(null===t.current||t.current.readyState<=1||null===m)return;const{lastScan:g,contentBefore:v,lastScanHadContent:y}=e;if(s-g<o)return void(f.current=window.requestAnimationFrame(p(e)));let b;try{b=await m.detect(t.current)}catch(DDe){return void(null==i||i(VAe(DDe)))}const C=b.some(e=>!v.has(e.rawValue)),w=b.length>0;let E=e.lastOnScan;(C||l&&w&&s-E>=a)&&(c&&(null==(u=h.current)?void 0:u.paused)&&h.current.play().catch(e=>{}),E=s,n(b)),(w||y)&&r(b);const k={lastScan:s,lastOnScan:E,lastScanHadContent:w,contentBefore:C?new Set(b.map(e=>e.rawValue)):v};f.current=window.requestAnimationFrame(p(k))},[n,r,i,o,l,a,c]);return{startScanning:Qt.useCallback(()=>{if("undefined"==typeof window)return;const e=performance.now(),t={lastScan:e,lastOnScan:e,contentBefore:new Set,lastScanHadContent:!1};f.current=window.requestAnimationFrame(p(t))},[p]),stopScanning:Qt.useCallback(()=>{null!==f.current&&(window.cancelAnimationFrame(f.current),f.current=null)},[])}}({videoElementRef:y,onScan:_,onFound:$,onError:F,formats:i,retryDelay:N,scanDelay:h,allowMultiple:d,sound:m});Qt.useEffect(()=>(x(!0),()=>{x(!1)}),[]),Qt.useEffect(()=>{JAe(w,A)||L(w)},[w,A]);const z=Qt.useMemo(()=>({constraints:A,shouldStream:S&&!o}),[A,S,o]),V=Qt.useCallback(async()=>{var e;const t=y.current,n=b.current;if(null===t||null===n)return;const r=n.getContext("2d");if(null!==r)try{z.shouldStream?(await R.current.stopCamera(),M(!1),await R.current.startCamera(t,{constraints:z.constraints}),M(!0)):(t.videoWidth>0&&t.videoHeight>0&&(n.width=t.videoWidth,n.height=t.videoHeight,r.drawImage(t,0,0,t.videoWidth,t.videoHeight)),await R.current.stopCamera(),M(!1))}catch(i){M(!1),null==(e=D.current)||e.call(D,VAe(i))}},[z]);Qt.useEffect(()=>{V()},[V]);const H=Qt.useMemo(()=>z.shouldStream&&T,[z.shouldStream,T]);Qt.useEffect(()=>(H&&(yLe(b.current),yLe(C.current),B()),()=>{j()}),[H,B,j]),Qt.useImperativeHandle(t,()=>({getVideoElement:()=>y.current,getStream:()=>R.current.getStream()}),[]);const U=Qt.useMemo(()=>({...GAe,...null==c?void 0:c.container}),[null==c?void 0:c.container]),W=Qt.useMemo(()=>({...qAe,...null==c?void 0:c.video,visibility:o?"hidden":"visible"}),[null==c?void 0:c.video,o]),G=Qt.useMemo(()=>({...gLe,display:o?"block":"none"}),[o]);return He.jsxs("div",{style:U,className:null==u?void 0:u.container,children:[He.jsx("video",{ref:y,style:W,className:null==u?void 0:u.video,autoPlay:!0,muted:!0,playsInline:!0}),He.jsx("canvas",{ref:b,style:G}),He.jsx("canvas",{ref:C,style:vLe}),He.jsxs("div",{style:mLe,children:[E.finder&&He.jsx(pLe,{scanning:T,capabilities:P.capabilities,onOff:E.onOff,zoom:E.zoom&&P.settings.zoom?{value:P.settings.zoom,onChange:async e=>{var t;try{await P.updateConstraints({...A,advanced:[{zoom:e}]})}catch(n){null==(t=D.current)||t.call(D,VAe(n))}}}:void 0,torch:E.torch?{status:P.settings.torch??!1,toggle:async e=>{var t;try{await P.updateConstraints({...A,advanced:[{torch:e}]})}catch(n){null==(t=D.current)||t.call(D,VAe(n))}}}:void 0,startScanning:async()=>await V(),stopScanning:async()=>{var e;try{await P.stopCamera(),yLe(C.current),M(!1)}catch(t){null==(e=D.current)||e.call(D,VAe(t))}}}),l]})]})}),CLe={},wLe=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))};document.getElementsByTagName("link");const n=document.querySelector("meta[property=csp-nonce]"),i=(null==n?void 0:n.nonce)||(null==n?void 0:n.getAttribute("nonce"));r=e(t.map(e=>{if((e=function(e){return"/"+e}(e))in CLe)return;CLe[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const r=document.createElement("link");return r.rel=t?"stylesheet":"modulepreload",t||(r.as="script"),r.crossOrigin="",r.href=e,i&&r.setAttribute("nonce",i),document.head.appendChild(r),t?new Promise((t,n)=>{r.addEventListener("load",t),r.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}function i(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&i(e.reason);return e().catch(i)})};function ELe(e,t){return function(){return e.apply(t,arguments)}}const{toString:kLe}=Object.prototype,{getPrototypeOf:SLe}=Object,{iterator:xLe,toStringTag:TLe}=Symbol,MLe=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ALe=(e,t)=>{let n=e;const r=[];for(;null!=n&&n!==Object.prototype;){if(-1!==r.indexOf(n))return!1;if(r.push(n),MLe(n,t))return!0;n=SLe(n)}return!1},LLe=(e=>t=>{const n=kLe.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),PLe=e=>(e=e.toLowerCase(),t=>LLe(t)===e),RLe=e=>t=>typeof t===e,{isArray:OLe}=Array,DLe=RLe("undefined");function ILe(e){return null!==e&&!DLe(e)&&null!==e.constructor&&!DLe(e.constructor)&&$Le(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const _Le=PLe("ArrayBuffer"),FLe=RLe("string"),$Le=RLe("function"),NLe=RLe("number"),BLe=e=>null!==e&&"object"==typeof e,jLe=e=>{if(!BLe(e))return!1;const t=SLe(e);return!(null!==t&&t!==Object.prototype&&null!==SLe(t)||ALe(e,TLe)||ALe(e,xLe))},zLe=PLe("Date"),VLe=PLe("File"),HLe=PLe("Blob"),ULe=PLe("FileList"),WLe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},GLe=void 0!==WLe.FormData?WLe.FormData:void 0,qLe=PLe("URLSearchParams"),[KLe,YLe,ZLe,QLe]=["ReadableStream","Request","Response","Headers"].map(PLe);function XLe(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),OLe(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(ILe(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function JLe(e,t){if(ILe(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const ePe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,tPe=e=>!DLe(e)&&e!==ePe,nPe=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&SLe(Uint8Array)),rPe=PLe("HTMLFormElement"),{propertyIsEnumerable:iPe}=Object.prototype,oPe=PLe("RegExp"),aPe=(e,t)=>
vendor: 5,068 bytes, line 1
1{const n=Object.getOwnPropertyDescriptors(e),r={};XLe(n,(n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)}),Object.defineProperties(e,r)},sPe=PLe("AsyncFunction"),lPe=(cPe="function"==typeof setImmediate,uPe=$Le(ePe.postMessage),cPe?setImmediate:uPe?(dPe=`axios@${Math.random()}`,hPe=[],ePe.addEventListener("message",({source:e,data:t})=>{e===ePe&&t===dPe&&hPe.length&&hPe.shift()()},!1),e=>{hPe.push(e),ePe.postMessage(dPe,"*")}):e=>setTimeout(e));var cPe,uPe,dPe,hPe;const fPe="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ePe):"undefined"!=typeof process&&process.nextTick||lPe,pPe=e=>null!=e&&$Le(e[xLe]),mPe={isArray:OLe,isArrayBuffer:_Le,isBuffer:ILe,isFormData:e=>{if(!e)return!1;if(GLe&&e instanceof GLe)return!0;const t=SLe(e);if(!t||t===Object.prototype)return!1;if(!$Le(e.append))return!1;const n=LLe(e);return"formdata"===n||"object"===n&&$Le(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&_Le(e.buffer),t},isString:FLe,isNumber:NLe,isBoolean:e=>!0===e||!1===e,isObject:BLe,isPlainObject:jLe,isEmptyObject:e=>{if(!BLe(e)||ILe(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},isReadableStream:KLe,isRequest:YLe,isResponse:ZLe,isHeaders:QLe,isUndefined:DLe,isDate:zLe,isFile:VLe,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:HLe,isRegExp:oPe,isFunction:$Le,isStream:e=>BLe(e)&&$Le(e.pipe),isURLSearchParams:qLe,isTypedArray:nPe,isFileList:ULe,forEach:XLe,merge:function e(...t){const{caseless:n,skipUndefined:r}=tPe(this)&&this||{},i={},o=(t,o)=>{if("__proto__"===o||"constructor"===o||"prototype"===o)return;const a=n&&"string"==typeof o&&JLe(i,o)||o,s=MLe(i,a)?i[a]:void 0;jLe(s)&&jLe(t)?i[a]=e(s,t):jLe(t)?i[a]=e({},t):OLe(t)?i[a]=t.slice():r&&DLe(t)||(i[a]=t)};for(let a=0,s=t.length;a<s;a++){const e=t[a];if(!e||ILe(e))continue;if(XLe(e,o),"object"!=typeof e||OLe(e))continue;const n=Object.getOwnPropertySymbols(e);for(let t=0;t<n.length;t++){const r=n[t];iPe.call(e,r)&&o(e[r],r)}}return i},extend:(e,t,n,{allOwnKeys:r}={})=>(XLe(t,(t,r)=>{n&&$Le(t)?Object.defineProperty(e,r,{__proto__:null,value:ELe(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&SLe(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:LLe,kindOfTest:PLe,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(OLe(e))return e;let t=e.length;if(!NLe(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[xLe]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:rPe,hasOwnProperty:MLe,hasOwnProp:MLe,hasOwnInPrototypeChain:ALe,getSafeProp:(e,t)=>null!=e&&ALe(e,t)?e[t]:void 0,reduceDescriptors:aPe,freezeMethods:e=>{aPe(e,(t,n)=>{if($Le(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];$Le(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return OLe(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:JLe,global:ePe,isContextDefined:tPe,isSpecCompliantForm:function(e){return!!(e&&$Le(e.append)&&"FormData"===e[TLe]&&e[xLe])},toJSONObject:e=>{const t=new WeakSet,n=e=>{if(BLe(e)){if(t.has(e))return;if(ILe(e))return e;if(!("toJSON"in e)){t.add(e);const r=OLe(e)?[]:{};return XLe(e,(e,t)=>{const i=n(e);!DLe(i)&&(r[t]=i)}),t.delete(e),r}}return e};return n(e)},isAsyncFn:sPe,isThenable:e=>e&&(BLe(e)||$Le(e))&&$Le(e.then)&&$Le(e.catch),setImmediate:lPe,asap:fPe,isIterable:pPe,isSafeIterable:e=>null!=e&&ALe(e,xLe)&&pPe(e)},gPe=mPe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),vPe=new RegExp("[\\u0000-\\u
10008\\u000a-\\u001f\\u007f]+","g"),yPe=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function bPe(e,t){return mPe.isArray(e)?e.map(e=>bPe(e,t)):function(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(t,""))}function CPe(e){const t=Object.create(null);return mPe.forEach(e.toJSON(),(e,n)=>{t[n]=(e=>bPe(e,yPe))(e)}),t}const wPe=Symbol("internals");function EPe(e){return e&&String(e).trim().toLowerCase()}function kPe(e){return!1===e||null==e?e:mPe.isArray(e)?e.map(kPe):(e=>bPe(e,vPe))(String(e))}function SPe(e,t,n,r,i){return mPe.isFunction(r)?r.call(this,t,n):(i&&(t=n),mPe.isString(t)?mPe.isString(r)?-1!==t.indexOf(r):mPe.isRegExp(r)?r.test(t):void 0:void 0)}let xPe=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=EPe(t);if(!i)return;const o=mPe.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=kPe(e))}const o=(e,t)=>mPe.forEach(e,(e,n)=>i(e,n,t));if(mPe.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(mPe.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&gPe[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(mPe.isObject(e)&&mPe.isSafeIterable(e)){let n,r,i=Object.create(null);for(const t of e){if(!mPe.isArray(t))throw new TypeError("Object iterator must return a key-value pair");r=t[0],mPe.hasOwnProp(i,r)?(n=i[r],i[r]=mPe.isArray(n)?[...n,t[1]]:[n,t[1]]):i[r]=t[1]}o(i,t)}else null!=e&&i(t,e,n);return this}get(e,t){if(e=EPe(e)){const n=mPe.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(mPe.isFunction(t))return t.call(this,e,n);if(mPe.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=EPe(e)){const n=mPe.findKey(this,e);return!(!n||void 0===this[n]||t&&!SPe(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=EPe(e)){const i=mPe.findKey(n,e);!i||t&&!SPe(0,n[i],i,t)||(delete n[i],r=!0)}}return mPe.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!SPe(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return mPe.forEach(this,(r,i)=>{const o=mPe.findKey(n,i);if(o)return t[o]=kPe(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(i):String(i).trim();a!==i&&delete t[i],t[a]=kPe(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return mPe.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&mPe.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[wPe]=this[wPe]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=EPe(e);t[r]||(function(e,t){const n=mPe.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return mPe.isArray(e)?e.forEach(r):r(e),this}};xPe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),mPe.reduceDescriptors(xPe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),mPe.freezeMethods(xPe);
vendor: 12,507 bytes, line 1
1let TPe=class e extends Error{static from(t,n,r,i,o,a){const s=new e(t.message,n||t.code,r,i,o);return s.cause=t,s.name=t.name,null!=t.status&&null==s.status&&(s.status=t.status),a&&Object.assign(s,a),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){const e=this.config,t=e&&mPe.hasOwnProp(e,"redact")?e.redact:void 0,n=mPe.isArray(t)&&t.length>0?function(e,t){const n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(null===e||"object"!=typeof e)return e;if(mPe.isBuffer(e))return e;if(-1!==r.indexOf(e))return;let t;if(e instanceof xPe&&(e=e.toJSON()),r.push(e),mPe.isArray(e))t=[],e.forEach((e,n)=>{const r=i(e);mPe.isUndefined(r)||(t[n]=r)});else{if(!mPe.isPlainObject(e)&&function(e){if(mPe.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(mPe.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return r.pop(),e;t=Object.create(null);for(const[r,o]of Object.entries(e)){const e=n.has(r.toLowerCase())?"[REDACTED ****]":i(o);mPe.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}(e,t):mPe.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};function MPe(e){return mPe.isPlainObject(e)||mPe.isArray(e)}function APe(e){return mPe.endsWith(e,"[]")?e.slice(0,-2):e}function LPe(e,t,n){return e?e.concat(t).map(function(e,t){return e=APe(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}TPe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",TPe.ERR_BAD_OPTION="ERR_BAD_OPTION",TPe.ECONNABORTED="ECONNABORTED",TPe.ETIMEDOUT="ETIMEDOUT",TPe.ECONNREFUSED="ECONNREFUSED",TPe.ERR_NETWORK="ERR_NETWORK",TPe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",TPe.ERR_DEPRECATED="ERR_DEPRECATED",TPe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",TPe.ERR_BAD_REQUEST="ERR_BAD_REQUEST",TPe.ERR_CANCELED="ERR_CANCELED",TPe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",TPe.ERR_INVALID_URL="ERR_INVALID_URL",TPe.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const PPe=mPe.toFlatObject(mPe,{},null,function(e){return/^is[A-Z]/.test(e)});function RPe(e,t,n){if(!mPe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=mPe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!mPe.isUndefined(t[e])})).metaTokens,i=n.visitor||f,o=n.dots,a=n.indexes,s=n.Blob||"undefined"!=typeof Blob&&Blob,l=void 0===n.maxDepth?100:n.maxDepth,c=s&&mPe.isSpecCompliantForm(t),u=[];if(!mPe.isFunction(i))throw new TypeError("visitor must be a function");function d(e){if(null===e)return"";if(mPe.isDate(e))return e.toISOString();if(mPe.isBoolean(e))return e.toString();if(!c&&mPe.isBlob(e))throw new TPe("Blob is not supported. Use a Buffer instead.");return mPe.isArrayBuffer(e)||mPe.isTypedArray(e)?c&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function h(e){if(e>l)throw new TPe("Object is too deeply nested ("+e+" levels). Max depth: "+l,TPe.ERR_FORM_DATA_DEPTH_EXCEEDED)}function f(e,n,i){let s=e;if(mPe.isReactNative(t)&&mPe.isReactNativeBlob(e))return t.append(LPe(i,n,o),d(e)),!1;if(e&&!i&&"object"==typeof e)if(mPe.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=function(e){if(l===1/0)return JSON.stringify(e);const t=[];return JSON.stringify(e,function(e,n){if(!mPe.isObject(n))return n;for(;t.length&&t[t.length-1]!==this;)t.pop();return t.push(n),h(1+t.length-1),n})}(e);else if(mPe.isArray(e)&&function(e){return mPe.isArray(e)&&!e.some(MPe)}(e)||(mPe.isFileList(e)||mPe.endsWith(n,"[]"))&&(s=mPe.toArray(e)))return n=APe(n),s.forEach(function(e,r){!mPe.isUndefined(e)&&null!==e&&t.append(!0===a?LPe([n],r,o):null===a?n:n+"[]",d(e))}),!1;return!!MPe(e)||(t.append(LPe(i,n,o),d(e)),!1)}const p=Object.assign(PPe,{defaultVisitor:f,convertValue:d,isVisitable:MPe});if(!mPe.isObject(e))throw new TypeError("data must be an object");return function e(n,r,o=0){if(!mPe.isUndefined(n)){if(h(o),-1!==u.indexOf(n))throw new Error("Circular reference detected in "+r.join("."));u.push(n),mPe.forEach(n,function(n,a){!0===(!(mPe.isUndefined(n)||null===n)&&i.call(t,n,mPe.isString(a)?a.trim():a,r,p))&&e(n,r?r.concat(a):[a],o+1)}),u.pop()}}(e),t}function OPe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function DPe(e,t){this._pairs=[],e&&RPe(e,this,t)}const IPe=DPe.prototype;function _Pe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function FPe(e,t,n){if(!t)return e;const r=mPe.isFunction(n)?{serialize:n}:n,i=mPe.getSafeProp(r,"encode")||_Pe,o=mPe.getSafeProp(r,"serialize");let a;if(a=o?o(t,r):mPe.isURLSearchParams(t)?t.toString():new DPe(t,r).toString(i),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}IPe.append=function(e,t){this._pairs.push([e,t])},IPe.toString=function(e){const t=e?function(t){return e.call(this,t,OPe)}:OPe;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class $Pe{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){mPe.forEach(this.handlers,function(t){null!==t&&e(t)})}}const NPe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},BPe={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:DPe,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},jPe="undefined"!=typeof window&&"undefined"!=typeof document,zPe="object"==typeof navigator&&navigator||void 0,VPe=jPe&&(!zPe||["ReactNative","NativeScript","NS"].indexOf(zPe.product)<0),HPe="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,UPe=jPe&&window.location.href||"http://localhost",WPe={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:jPe,hasStandardBrowserEnv:VPe,hasStandardBrowserWebWorkerEnv:HPe,navigator:zPe,origin:UPe},Symbol.toStringTag,{value:"Module"})),...BPe};function GPe(e){if(e>100)throw new TPe("FormData field is too deeply nested ("+e+" levels). Max depth: 100",TPe.ERR_FORM_DATA_DEPTH_EXCEEDED)}function qPe(e){function t(e,n,r,i){GPe(i);let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;return o=!o&&mPe.isArray(r)?r.length:o,s?(mPe.hasOwnProp(r,o)?r[o]=mPe.isArray(r[o])?r[o].concat(n):[r[o],n]:r[o]=n,!a):(mPe.hasOwnProp(r,o)&&mPe.isObject(r[o])||(r[o]=[]),t(e,n,r[o],i)&&mPe.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a)}if(mPe.isFormData(e)&&mPe.isFunction(e.entries)){const n={};return mPe.forEachEntry(e,(e,r)=>{t(function(e){const t=[],n=/\w+|\[(\w*)]/g;let r;for(;null!==(r=n.exec(e));)GPe(t.length),t.push("[]"===r[0]?"":r[1]||r[0]);return t}(e),r,n,0)}),n}return null}const KPe=(e,t)=>null!=e&&mPe.hasOwnProp(e,t)?e[t]:void 0,YPe={transitional:NPe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=mPe.isObject(e);if(i&&mPe.isHTMLForm(e)&&(e=new FormData(e)),mPe.isFormData(e))return r?JSON.stringify(qPe(e)):e;if(mPe.isArrayBuffer(e)||mPe.isBuffer(e)||mPe.isStream(e)||mPe.isFile(e)||mPe.isBlob(e)||mPe.isReadableStream(e))return e;if(mPe.isArrayBufferView(e))return e.buffer;if(mPe.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){const t=KPe(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return RPe(e,new WPe.classes.URLSearchParams,{visitor:function(e,t,n,r){return WPe.isNode&&mPe.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((o=mPe.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=KPe(this,"env"),r=n&&n.FormData;return RPe(o?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType("application/json",!1),function(e){if(mPe.isString(e))try{return(0,JSON.parse)(e),mPe.trim(e)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=KPe(this,"transitional")||YPe.transitional,n=t&&t.forcedJSONParsing,r=KPe(this,"responseType"),i="json"===r;if(mPe.isResponse(e)||mPe.isReadableStream(e))return e;if(e&&mPe.isString(e)&&(n&&!r||i)){const n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,KPe(this,"parseReviver"))}catch(o){if(n){if("SyntaxError"===o.name)throw TPe.from(o,TPe.ERR_BAD_RESPONSE,this,null,KPe(this,"response"));throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:WPe.classes.FormData,Blob:WPe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function ZPe(e,t){const n=this||YPe,r=t||n,i=xPe.from(r.headers);let o=r.data;return mPe.forEach(e,function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function QPe(e){return!(!e||!e.__CANCEL__)}mPe.forEach(["delete","get","head","post","put","patch","query"],e=>{YPe.headers[e]={}});let XPe=class extends TPe{constructor(e,t,n){super(null==e?"canceled":e,TPe.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function JPe(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new TPe("Request failed with status code "+n.status,n.status>=400&&n.status<500?TPe.ERR_BAD_REQUEST:TPe.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}const eRe=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];i||(i=l),n[o]=s,r[o]=l;let u=a,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-i<t)return;const h=c&&l-c;return h?Math.round(1e3*d/h):void 0}}(50,250);return function(n,o){let a,s,l=0,c=1e3/o;const u=(n,o=Date.now())=>{l=o,a=null,s&&(clearTimeout(s),s=null),(n=>{if(!n||"number"!=typeof n.loaded)return;const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=null!=a?Math.min(o,a):o,l=Math.max(0,s-r),c=i(l);r=Math.max(r,s),e({loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a?(a-s)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})})(...n)};return[(...e)=>{const t=Date.now(),n=t-l;n>=c?u(e,t):(a=e,s||(s=setTimeout(()=>{s=null,u(a)},c-n)))},()=>a&&u(a)]}(0,n)},tRe=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},nRe=e=>(...t)=>mPe.asap(()=>e(...t)),rRe=WPe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,WPe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(WPe.origin),WPe.navigator&&/(msie|trident)/i.test(WPe.navigator.userAgent)):()=>!0,iRe=WPe.hasStandardBrowserEnv?{write(e,t,n,r,i,o,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];mPe.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),mPe.isString(r)&&s.push(`path=${r}`),mPe.isString(i)&&s.push(`domain=${i}`),!0===o&&s.push("secure"),mPe.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),i=r.indexOf("=");if(-1!==i&&r.slice(0,i)===e)return decodeURIComponent(r.slice(i+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}},oRe=/^https?:(?!\/\/)/i,aRe=/[\t\n\r]/g;function sRe(e,t){if("string"==typeof e&&oRe.test(function(e){return function(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}(e).replace(aRe,"")}(e)))throw new TPe('Invalid URL: missing "//" after protocol',TPe.E
vendor: 2,216 bytes, line 1
1RR_INVALID_URL,t)}function lRe(e,t,n,r){sRe(t,r);let i=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(i||!1===n)?(sRe(e,r),function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t)):t}const cRe=e=>e instanceof xPe?{...e}:e;function uRe(e,t){t=t||{};const n=Object.create(null);function r(e,t,n,r){return mPe.isPlainObject(e)&&mPe.isPlainObject(t)?mPe.merge.call({caseless:r},e,t):mPe.isPlainObject(t)?mPe.merge({},t):mPe.isArray(t)?t.slice():t}function i(e,t,n,i){return mPe.isUndefined(t)?mPe.isUndefined(e)?void 0:r(void 0,e,0,i):r(e,t,0,i)}function o(e,t){if(!mPe.isUndefined(t))return r(void 0,t)}function a(e,t){return mPe.isUndefined(t)?mPe.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return mPe.hasOwnProp(t,o)?r(n,i):mPe.hasOwnProp(e,o)?r(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>i(cRe(e),cRe(t),0,!0)};return mPe.forEach(Object.keys({...e,...t}),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const o=mPe.hasOwnProp(l,r)?l[r]:i,a=o(mPe.hasOwnProp(e,r)?e[r]:void 0,mPe.hasOwnProp(t,r)?t[r]:void 0,r);mPe.isUndefined(a)&&o!==s||(n[r]=a)}),mPe.hasOwnProp(t,"validateStatus")&&mPe.isUndefined(t.validateStatus)&&!1===function(n){const r=mPe.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!mPe.isUndefined(r)){if(!mPe.isPlainObject(r))return;if(mPe.hasOwnProp(r,n))return r[n]}const i=mPe.hasOwnProp(e,"transitional")?e.transitional:void 0;if(mPe.isPlainObject(i)&&mPe.hasOwnProp(i,n))return i[n]}("validateStatusUndefinedResolves")&&(mPe.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.val
vendor: 14,076 bytes, line 1
1idateStatus),n}const dRe=["content-type","content-length"];function hRe(e){const t=uRe({},e),n=e=>mPe.hasOwnProp(t,e)?t[e]:void 0,r=n("data");let i=n("withXSRFToken");const o=n("xsrfHeaderName"),a=n("xsrfCookieName");let s=n("headers");const l=n("auth"),c=n("baseURL"),u=n("allowAbsoluteUrls"),d=n("url");if(t.headers=s=xPe.from(s),t.url=FPe(lRe(c,d,u,t),n("params"),n("paramsSerializer")),l){const e=mPe.getSafeProp(l,"username")||"",t=mPe.getSafeProp(l,"password")||"";s.set("Authorization","Basic "+btoa(e+":"+(t?encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))):"")))}if(mPe.isFormData(r)&&(WPe.hasStandardBrowserEnv||WPe.hasStandardBrowserWebWorkerEnv||mPe.isReactNative(r)?s.setContentType(void 0):mPe.isFunction(r.getHeaders)&&function(e,t,n){"content-only"===n?Object.entries(t).forEach(([t,n])=>{dRe.includes(t.toLowerCase())&&e.set(t,n)}):e.set(t)}(s,r.getHeaders(),n("formDataHeaderPolicy"))),WPe.hasStandardBrowserEnv&&(mPe.isFunction(i)&&(i=i(t)),!0===i||null==i&&rRe(t.url))){const e=o&&a&&iRe.read(a);e&&s.set(o,e)}return t}const fRe="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=hRe(e);let i=r.data;const o=xPe.from(r.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:h,onDownloadProgress:f}=r;function p(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=xPe.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());JPe(function(e){t(e),p()},function(e){n(e),p()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&m.responseURL.startsWith("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new TPe("Request aborted",TPe.ECONNABORTED,e,m)),p(),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",i=new TPe(r,TPe.ERR_NETWORK,e,m);i.event=t||null,n(i),p(),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||NPe;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new TPe(t,i.clarifyTimeoutError?TPe.ETIMEDOUT:TPe.ECONNABORTED,e,m)),p(),m=null},void 0===i&&o.setContentType(null),"setRequestHeader"in m&&mPe.forEach(CPe(o),function(e,t){m.setRequestHeader(t,e)}),mPe.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),f&&([l,u]=eRe(f,!0),m.addEventListener("progress",l)),h&&m.upload&&([s,c]=eRe(h),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new XPe(null,e,m):t),m.abort(),p(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(r.url);!v||WPe.protocols.includes(v)?m.send(i||null):n(new TPe("Unsupported protocol "+v+":",TPe.ERR_BAD_REQUEST,e))})},pRe=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const i=function(e){if(!r){r=!0,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof TPe?t:new XPe(t instanceof Error?t.message:t))}};let o=t&&setTimeout(()=>{o=null,i(new TPe(`timeout of ${t}ms exceeded`,TPe.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));const{signal:s}=n;return s.unsubscribe=()=>mPe.asap(a),s},mRe=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},gRe=(e,t,n,r)=>{const i=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*mRe(n,t)}(e,t);let o,a=0,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return s(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(DDe){throw s(DDe),DDe}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},vRe=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,yRe=(e,t,n)=>t+2<n&&vRe(e.charCodeAt(t+1))&&vRe(e.charCodeAt(t+2)),bRe="1.18.0",{isFunction:CRe}=mPe,wRe=e=>{if(!mPe.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},ERe=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},kRe=e=>{const t=void 0!==mPe.global&&null!==mPe.global?mPe.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=mPe.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:i,Request:o,Response:a}=e,s=i?CRe(i):"function"==typeof fetch,l=CRe(o),c=CRe(a);if(!s)return!1;const u=s&&CRe(n),d=s&&("function"==typeof r?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new o(e).arrayBuffer())),h=l&&u&&ERe(()=>{let e=!1;const t=new o(WPe.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),f=c&&u&&ERe(()=>mPe.isReadableStream(new a("").body)),p={stream:f&&(e=>e.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!p[e]&&(p[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new TPe(`Response type '${e}' is not supported`,TPe.ERR_NOT_SUPPORT,n)})});const m=async e=>{if(null==e)return 0;if(mPe.isBlob(e))return e.size;if(mPe.isSpecCompliantForm(e)){const t=new o(WPe.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return mPe.isArrayBufferView(e)||mPe.isArrayBuffer(e)?e.byteLength:(mPe.isURLSearchParams(e)&&(e+=""),mPe.isString(e)?(await d(e)).byteLength:void 0)};return async e=>{let{url:t,method:n,data:s,signal:c,cancelToken:d,timeout:g,onDownloadProgress:v,onUploadProgress:y,responseType:b,headers:C,withCredentials:w="same-origin",fetchOptions:E,maxContentLength:k,maxBodyLength:S}=hRe(e);const x=mPe.isNumber(k)&&k>-1,T=mPe.isNumber(S)&&S>-1;let M=i||fetch;b=b?(b+"").toLowerCase():"text";let A=pRe([c,d&&d.toAbortSignal()],g),L=null;const P=A&&A.unsubscribe&&(()=>{A.unsubscribe()});let R,O=null;const D=()=>new TPe("Request body larger than maxBodyLength limit",TPe.ERR_BAD_REQUEST,e,L);try{let i;const c=(_="auth",mPe.hasOwnProp(e,_)?e[_]:void 0);if(c){i={username:mPe.getSafeProp(c,"username")||"",password:mPe.getSafeProp(c,"password")||""}}if((e=>{const t=e.indexOf("://");let n=e;return-1!==t&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")})(t)){const e=new URL(t,WPe.origin);if(!i&&(e.username||e.password)){i={username:wRe(e.username),password:wRe(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(i&&(C.delete("authorization"),C.set("Authorization","Basic "+btoa((I=(i.username||"")+":"+(i.password||""),encodeURIComponent(I).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))),x&&"string"==typeof t&&t.startsWith("data:")){const n=function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length;const t=r.length;for(let s=0;s<t;s++)if(37===r.charCodeAt(s)&&s+2<t){const t=r.charCodeAt(s+1),n=r.charCodeAt(s+2);vRe(t)&&vRe(n)&&(e-=2,s+=2)}let n=0,i=t-1;const o=e=>e>=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e));i>=0&&(61===r.charCodeAt(i)?(n++,i--):o(i)&&(n++,i-=3)),1===n&&i>=0&&(61===r.charCodeAt(i)||o(i))&&n++;const a=3*Math.floor(e/4)-(n||0);return a>0?a:0}let i=0;for(let o=0,a=r.length;o<a;o++){const e=r.charCodeAt(o);if(37===e&&yRe(r,o,a))i+=1,o+=2;else if(e<128)i+=1;else if(e<2048)i+=2;else if(e>=55296&&e<=56319&&o+1<a){const e=r.charCodeAt(o+1);e>=56320&&e<=57343?(i+=4,o++):i+=3}else i+=3}return i}(t);if(n>k)throw new TPe("maxContentLength size of "+k+" exceeded",TPe.ERR_BAD_RESPONSE,e,L)}if(T&&"get"!==n&&"head"!==n){const e=await m(s);if("number"==typeof e&&isFinite(e)&&(R=e,e>S))throw D()}const d=T&&(mPe.isReadableStream(s)||mPe.isStream(s)),g=(e,t,n)=>gRe(e,65536,e=>{if(T&&e>S)throw O=D();t&&t(e)},n);if(h&&"get"!==n&&"head"!==n&&(y||d)){if(R=null==R?await(async(e,t)=>{const n=mPe.toFiniteNumber(e.getContentLength());return null==n?m(t):n})(C,s):R,0!==R||d){let e,n=new o(t,{method:"POST",body:s,duplex:"half"});if(mPe.isFormData(s)&&(e=n.headers.get("content-type"))&&C.setContentType(e),n.body){const[e,t]=y&&tRe(R,eRe(nRe(y)))||[];s=g(n.body,e,t)}}}else if(d&&!l&&u&&"get"!==n&&"head"!==n)s=g(s);else if(d&&l&&!h&&"get"!==n&&"head"!==n)throw new TPe("Stream request bodies are not supported by the current fetch implementation",TPe.ERR_NOT_SUPPORT,e,L);mPe.isString(w)||(w=w?"include":"omit");const F=l&&"credentials"in o.prototype;if(mPe.isFormData(s)){const e=C.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&C.delete("content-type")}C.set("User-Agent","axios/"+bRe,!1);const $={...E,signal:A,method:n.toUpperCase(),headers:CPe(C.normalize()),body:s,duplex:"half",credentials:F?w:void 0};L=l&&new o(t,$);let N=await(l?M(L,E):M(t,$));const B=xPe.from(N.headers);if(x){const t=mPe.toFiniteNumber(B.getContentLength());if(null!=t&&t>k)throw new TPe("maxContentLength size of "+k+" exceeded",TPe.ERR_BAD_RESPONSE,e,L)}const j=f&&("stream"===b||"response"===b);if(f&&N.body&&(v||x||j&&P)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=N[e]});const n=mPe.toFiniteNumber(B.getContentLength()),[r,i]=v&&tRe(n,eRe(nRe(v),!0))||[];let o=0;const s=t=>{if(x&&(o=t,o>k))throw new TPe("maxContentLength size of "+k+" exceeded",TPe.ERR_BAD_RESPONSE,e,L);r&&r(t)};N=new a(gRe(N.body,65536,s,()=>{i&&i(),P&&P()}),t)}b=b||"text";let z=await p[mPe.findKey(p,b)||"text"](N,e);if(x&&!f&&!j){let t;if(null!=z&&("number"==typeof z.byteLength?t=z.byteLength:"number"==typeof z.size?t=z.size:"string"==typeof z&&(t="function"==typeof r?(new r).encode(z).byteLength:z.length)),"number"==typeof t&&t>k)throw new TPe("maxContentLength size of "+k+" exceeded",TPe.ERR_BAD_RESPONSE,e,L)}return!j&&P&&P(),await new Promise((t,n)=>{JPe(t,n,{data:z,headers:xPe.from(N.headers),status:N.status,statusText:N.statusText,config:e,request:L})})}catch(DDe){if(P&&P(),A&&A.aborted&&A.reason instanceof TPe){const n=A.reason;throw n.config=e,L&&(n.request=L),DDe!==n&&(n.cause=DDe),n}if(O)throw L&&!O.request&&(O.request=L),O;if(DDe instanceof TPe)throw L&&!DDe.request&&(DDe.request=L),DDe;if(DDe&&"TypeError"===DDe.name&&/Load failed|fetch/i.test(DDe.message))throw Object.assign(new TPe("Network Error",TPe.ERR_NETWORK,e,L,DDe&&DDe.response),{cause:DDe.cause||DDe});throw TPe.from(DDe,DDe&&DDe.code,e,L,DDe&&DDe.response)}var I,_}},SRe=new Map,xRe=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,o=[r,i,n];let a,s,l=o.length,c=SRe;for(;l--;)a=o[l],s=c.get(a),void 0===s&&c.set(a,s=l?new Map:kRe(t)),c=s;return s};xRe();const TRe={http:null,xhr:fRe,fetch:{get:xRe}};mPe.forEach(TRe,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(n){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const MRe=e=>`- ${e}`,ARe=e=>mPe.isFunction(e)||null===e||!1===e,LRe=function(e,t){e=mPe.isArray(e)?e:[e];const{length:n}=e;let r,i;const o={};for(let a=0;a<n;a++){let n;if(r=e[a],i=r,!ARe(r)&&(i=TRe[(n=String(r)).toLowerCase()],void 0===i))throw new TPe(`Unknown adapter '${n}'`);if(i&&(mPe.isFunction(i)||(i=i.get(t))))break;o[n||"#"+a]=i}if(!i){const e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(MRe).join("\n"):" "+MRe(e[0]):"as no adapter specified";throw new TPe("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return i};function PRe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new XPe(null,e)}function RRe(e){return PRe(e),e.headers=xPe.from(e.headers),e.data=ZPe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),LRe(e.adapter||YPe.adapter,e)(e).then(function(t){PRe(e),e.response=t;try{t.data=ZPe.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=xPe.from(t.headers),t},function(t){if(!QPe(t)&&(PRe(e),t&&t.response)){e.response=t.response;try{t.response.data=ZPe.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=xPe.from(t.response.headers)}return Promise.reject(t)})}const ORe={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ORe[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const DRe={};ORe.transitional=function(e,t,n){return(r,i,o)=>{if(!1===e)throw new TPe(function(e,t){return"[Axios v"+bRe+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}(i," has been removed"+(t?" in "+t:"")),TPe.ERR_DEPRECATED);return t&&!DRe[i]&&(DRe[i]=!0),!e||e(r,i,o)}},ORe.spelling=function(e){return(e,t)=>!0};const IRe={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TPe("options must be an object",TPe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new TPe("option "+o+" must be "+n,TPe.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new TPe("Unknown option "+o,TPe.ERR_BAD_OPTION)}},validators:ORe},_Re=IRe.validators;let FRe=class{constructor(e){this.defaults=e||{},this.interceptors={request:new $Pe,response:new $Pe}}async request(e,t){try{return await this._request(e,t)}catch(DDe){if(DDe instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=(()=>
vendor: 2,878 bytes, line 1
1{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(DDe.stack){if(r){const t=r.indexOf("\n"),n=-1===t?-1:r.indexOf("\n",t+1),i=-1===n?"":r.slice(n+1);String(DDe.stack).endsWith(i)||(DDe.stack+="\n"+r)}}else DDe.stack=r}catch(n){}}throw DDe}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=uRe(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&IRe.assertOptions(n,{silentJSONParsing:_Re.transitional(_Re.boolean),forcedJSONParsing:_Re.transitional(_Re.boolean),clarifyTimeoutError:_Re.transitional(_Re.boolean),legacyInterceptorReqResOrdering:_Re.transitional(_Re.boolean),advertiseZstdAcceptEncoding:_Re.transitional(_Re.boolean),validateStatusUndefinedResolves:_Re.transitional(_Re.boolean)},!1),null!=r&&(mPe.isFunction(r)?t.paramsSerializer={serialize:r}:IRe.assertOptions(r,{encode:_Re.function,serialize:_Re.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),IRe.assertOptions(t,{baseUrl:_Re.spelling("baseURL"),withXsrfToken:_Re.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&mPe.merge(i.common,i[t.method]);i&&mPe.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete i[e]}),t.headers=xPe.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const n=t.transitional||NPe;n&&n.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,d=0;if(!s){const e=[RRe.bind(this),void 0];for(e.unshift(...a),e.push(...l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let h=t;for(;d<u;){const e=a[d++],t=a[d++];try{h=e(h)}catch(f){t.call(this,f);break}}try{c=RRe.call(this,h)}catch(f){return Promise.reject(f)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return FPe(lRe((e=uRe(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}};mPe.forEach(["delete","get","head","options"],function(e){FRe.prototype[e]=function(t,n){return this.request(uRe(n||{},{method:e,url:t,data:n&&mPe.hasOwnProp(n,"data")?n.data:void 0}))}}),mPe.forEach(["post","put","patch","query"],function(e){function t(t){return function(n,r,i){return this.request(uRe(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}FRe.prototype[e]=t(),"query"!==e&&(FRe.prototype[e+"Form"]=t(!0))});const $Re={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
1alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries($Re).forEach(([e,t])=>{$Re[t]=e});const NRe=function e(t){const n=new FRe(t),r=ELe(FRe.prototype.request,n);return mPe.extend(r,FRe.prototype,n,{allOwnKeys:!0}),mPe.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(uRe(t,n))},r}(YPe);NRe.Axios=FRe,NRe.CanceledError=XPe,NRe.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new XPe(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},NRe.isCancel=QPe,NRe.VERSION=bRe,NRe.toFormData=RPe,NRe.AxiosError=TPe,NRe.Cancel=NRe.CanceledError,NRe.all=function(e){return Promise.all(e)},NRe.spread=function(e){return function(t){return e.apply(null,t)}},NRe.isAxiosError=function(e){return mPe.isObject(e)&&!0===e.isAxiosError},NRe.mergeConfig=uRe,NRe.AxiosHeaders=xPe,NRe.formToJSON=e=>qPe(mPe.isHTMLForm(e)?new FormData(e):e),NRe.getAdapter=LRe,NRe.HttpStatusCode=$Re,NRe.default=NRe;const{Axios:BRe,AxiosError:jRe,CanceledError:zRe,isCancel:VRe,CancelToken:HRe,VERSION:URe,all:WRe,Cancel:GRe,isAxiosError:qRe,spread:KRe,toFormData:YRe,AxiosHeaders:ZRe,HttpStatusCode:QRe,formToJSON:XRe,getAdapter:JRe,mergeConfig:eOe,create:tOe}=NRe,nOe=Object.freeze(Object.defineProperty({__proto__:null,Axios:BRe,AxiosError:jRe,AxiosHeaders:ZRe,Cancel:GRe,CancelToken:HRe,CanceledError:zRe,HttpStatusCode:QRe,VERSION:URe,all:WRe,create:tOe,default:NRe,formToJSON:XRe,getAdapter:JRe,isAxiosError:qRe,isCancel:VRe,mergeConfig:eOe,spread:KRe,toFormData:YRe},Symbol.toStringTag,{value:"Module"}));var rOe,iOe={},oOe={};var aOe,sOe,lOe={};var cOe,uOe,dOe=(sOe||(sOe=1,cOe=function(){if(rOe)return oOe;rOe=1;var e=Zt(),t=po();function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.scope"),g=Symbol.for("react.activity"),v=Symbol.for("react.legacy_hidden"),y=Symbol.for("react.memo_cache_sentinel"),b=Symbol.for("react.view_transition"),C=Symbol.iterator;function w(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=C&&e[C]||e["@@iterator"])?e:null}var E=Array.isArray;function k(e,t){var n=3&e.length,r=e.length-n,i=t;for(t=0;t<r;){var o=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,i=27492+(65535&(i=5*(65535&(i=(i^=o=461845907*(65535&(o=(o=3432918353*(65535&o)+((3432918353*(o>>>16)&65535)<<16)&4294967295)<<15|o>>>
vendor: 4,354 bytes, line 1
117))+((461845907*(o>>>16)&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+(((i>>>16)+58964&65535)<<16)}switch(o=0,n){case 3:o^=(255&e.charCodeAt(t+2))<<16;case 2:o^=(255&e.charCodeAt(t+1))<<8;case 1:i^=461845907*(65535&(o=(o=3432918353*(65535&(o^=255&e.charCodeAt(t)))+((3432918353*(o>>>16)&65535)<<16)&4294967295)<<15|o>>>17))+((461845907*(o>>>16)&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,((i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295)^i>>>16)>>>0}var S=Object.assign,x=Object.prototype.hasOwnProperty,T=RegExp("^[: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]*$"),M={},A={};function L(e){return!!x.call(A,e)||!x.call(M,e)&&(T.test(e)?A[e]=!0:(M[e]=!0,!1))}var P=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),R=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
1-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),O=/["'&<>]/;function D(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=O.exec(e);if(t){var n,r="",i=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}i!==n&&(r+=e.slice(i,n)),i=n+1,r+=t}e=i!==n?r+e.slice(i,n):r}return e}var I=/([A-Z])/g,_=/^ms-/,F=/^[\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;function $(e){return F.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var N=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j={pending:!1,data:null,method:null,action:null},z=B.d;B.d={f:z.f,r:z.r,D:function(e){var t=hn||null;if(t){var n,r,i=t.resumableState,o=t.renderState;if("string"==typeof e&&e)i.dnsResources.hasOwnProperty(e)||(i.dnsResources[e]=null,(r=(i=o.headers)&&0<i.remainingCapacity)&&(n="<"+(""+e).replace(We,Ge)+">; rel=dns-prefetch",r=0<=(i.remainingCapacity-=n.length+2)),r?(o.resets.dns[e]=null,i.preconnects&&(i.preconnects+=", "),i.preconnects+=n):(ce(n=[],{href:e,rel:"dns-prefetch"}),o.preconnects.add(n))),sr(t)}else z.D(e)},C:function(e,t){var n=hn||null;if(n){var r=n.resumableState,i=n.renderState;if("string"==typeof e&&e){var o,a,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[s].hasOwnProperty(e))r.connectResources[s][e]=null,(a=(r=i.headers)&&0<r.remainingCapacity)&&(a="<"+(""+e).replace(We,Ge)+">; rel=preconnect","string"==typeof t&&(a+='; crossorigin="'+(""+t).replace(qe,Ke)+'"'),o=a,a=0<=(r.remainingCapacity-=o.length+2)),a?(i.resets.connect[s][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=o):(ce(s=[],{rel:"preconnect",href:e,crossOrigin:t}),i.preconnects.add(s));sr(n)}}else z.C(e,t)},L:function(e,t,n){var r=hn||null;if(r){var i=r.resumableState,o=r.renderState;if(t&&e){switch(t){case"image":if(n)var a=n.imageSrcSet,s=n.imageSizes,l=n.fetchPriority;var c,u=a?a+"\n"+(s||""):e;if(i.imageResources.hasOwnProperty(u))return;i.imageResources[u]=V,(i=o.headers)&&0<i.remainingCapacity&&"string"!=typeof a&&"high"===l&&(c=Ue(e,t,n),0<=(i.remainingCapacity-=c.length+2))?(o.resets.image[u]=V,i.highImagePreloads&&(i.highImagePreloads+=", "),i.highImagePreloads+=c):(ce(i=[],S({rel:"preload",href:a?void 0:e,as:t},n)),"high"===l?o.highImagePreloads.add(i):(o.bulkPreloads.add(i),o.preloads.images.set(u,i)));break;case"style":if(i.styleResources.hasOwnProperty(e))return;ce(a=[],S({rel:"preload",href:e,as:t},n)),i.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?V:[n.crossOrigin,n.integrity],o.preloads.stylesheets.set(e,a),o.bulkPreloads.add(a);break;case"script":if(i.scriptResources.hasOwnProperty(e))return;a=[],o.preloads.scripts.set(e,a),o.bulkPreloads.add(a),ce(a,S({rel:"preload",href:e,as:t},n)),i.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?V:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if((a=i.unknownResources[t]).hasOwnProperty(e))return}else a={},i.unknownResources[t]=a;a[e]=V,(i=o.headers)&&0<i.remainingCapacity&&"font"===t&&(u=Ue(e,t,n),0<=(i.remainingCapacity-=u.length+2))?(o.resets.font[e]=V,i.fontPreloads&&(i.fontPreloads+=", "),i.fontPreloads+=u):"font"===(ce(i=[],e=S({rel:"preload",href:e,as:t},n)),t)?o.fontPreloads.add(i):o.bulkPreloads.add(i)}sr(r)}}else z.L(e,t,n)},m:function(e,t){var n=hn||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=t&&"string"==typeof t.as?t.as:"script";if("script"===o){if(r.moduleScriptResources.hasOwnProperty(e))return;o=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?V:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,o)}else{if(r.moduleUnknownResources.hasOwnProperty(o)){var a=r.unknownResources[o];if(a.hasOwnProperty(e))return}else a={},r.moduleUnknownResources[o]=a;o=[],a[e]=V}ce(o,S({rel:"modulepreload",href:e},t)),i.bulkPreloads.add(o),sr(n)}}else z.m(e,t)},X:function(e,t){var n=hn||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==o&&(r.scriptResources[e]=null,t=S({src:e,async:!0},t),o&&(2===o.length&&He(t,o),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),pe(e,t),sr(n))}}else z.X(e,t)},S:function(e,t,n){var r=hn||null;
vendor: 4,947 bytes, line 1
1if(r){var i=r.resumableState,o=r.renderState;if(e){t=t||"default";var a=o.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;null!==s&&(i.styleResources[e]=null,a||(a={precedence:D(t),rules:[],hrefs:[],sheets:new Map},o.styles.set(t,a)),t={state:0,props:S({rel:"stylesheet",href:e,"data-precedence":t},n)},s&&(2===s.length&&He(t.props,s),(o=o.preloads.stylesheets.get(e))&&0<o.length?o.length=0:t.state=1),a.sheets.set(e,t),sr(r))}}else z.S(e,t,n)},M:function(e,t){var n=hn||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==o&&(r.moduleScriptResources[e]=null,t=S({src:e,type:"module",async:!0},t),o&&(2===o.length&&He(t,o),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),pe(e,t),sr(n))}}else z.M(e,t)}};var V=[],H=null,U=/(<\/|<)(s)(cript)/gi;function W(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}function G(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function q(e,t,n){var r=-25&e.tagScope;switch(t){case"noscript":return G(2,null,1|r,null);case"select":return G(2,null!=n.value?n.value:n.defaultValue,r,null);case"svg":return G(4,null,r,null);case"picture":return G(2,null,2|r,null);case"math":return G(5,null,r,null);case"foreignObject":return G(2,null,r,null);case"table":return G(6,null,r,null);case"thead":case"tbody":case"tfoot":return G(7,null,r,null);case"colgroup":return G(9,null,r,null);case"tr":return G(8,null,r,null);case"head":if(2>e.insertionMode)return G(3,null,r,null);break;case"html":if(0===e.insertionMode)return G(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?G(2,null,r,null):e.tagScope!==r?G(e.insertionMode,e.selectedValue,r,null):e}function K(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function Y(e,t){return 32&t.tagScope&&(e.instructions|=128),G(t.insertionMode,t.selectedValue,12|t.tagScope,K(t.viewTransition))}function Z(e,t){e=K(t.viewTransition);var n=16|t.tagScope;return null!==e&&"none"!==e.share&&(n|=64),G(t.insertionMode,t.selectedValue,n,e)}var Q=new Map;function X(e,t){if("object"!=typeof t)throw Error(n(62));var r,i=!0;for(r in t)if(x.call(t,r)){var o=t[r];if(null!=o&&"boolean"!=typeof o&&""!==o){if(0===r.indexOf("--")){var a=D(r);o=D((""+o).trim())}else void 0===(a=Q.get(r))&&(a=D(r.replace(I,"-$1").toLowerCase().replace(_,"-ms-")),Q.set(r,a)),o="number"==typeof o?0===o||P.has(r)?""+o:o+"px":D((""+o).trim());i?(i=!1,e.push(' style="',a,":",o)):e.push(";",a,":",o)}}i||e.push('"')}function J(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""')}function ee(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(" ",t,'="',D(n),'"')}var te=D("javascript:throw new Error('React form unexpectedly submitted.')");function ne(e,t){this.push('<input type="hidden"'),re(e),ee(this,"name",t),ee(this,"value",e),this.push("/>")}function re(e){if("string"!=typeof e)throw Error(n(480))}function ie(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var i=r.data;null!=i&&i.forEach(re)}return r}catch(o){if("object"==typeof o&&null!==o&&"function"==typeof o.then)throw o}}return null}function oe(e,t,n,r,i,o,a,s){var l=null;if("function"==typeof r){var c=ie(t,r);null!==c?(s=c.name,r=c.action||"",i=c.encType,o=c.method,a=c.target,l=c.data):(e.push(" ","formAction",'="',te,'"'),a=o=i=r=s=null,le(t,n))}return null!=s&&ae(e,"name",s),null!=r&&ae(e,"formAction",r),null!=i&&ae(e,"formEncType",i),null!=o&&ae(e,"formMethod",o),null!=a&&ae(e,"formTarget",a),l}function ae(e,t,n){switch(t){case"className":ee(e,"class",n);break;case"tabIndex":ee(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":ee(e,t,n);break;case"style":X(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=$(""+n),e.push(" ",t,'="',D(n),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":J(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=$(""+n),e.push(" ","xlink:href",'="',D(n),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',D(n),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
1ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'=""');break;case"capture":case"download":!0===n?e.push(" ",t,'=""'):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(" ",t,'="',D(n),'"');break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(" ",t,'="',D(n),'"');break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(" ",t,'="',D(n),'"');break;case"xlinkActuate":ee(e,"xlink:actuate",n);break;case"xlinkArcrole":ee(e,"xlink:arcrole",n);break;case"xlinkRole":ee(e,"xlink:role",n);break;case"xlinkShow":ee(e,"xlink:show",n);break;case"xlinkTitle":ee(e,"xlink:title",n);break;case"xlinkType":ee(e,"xlink:type",n);break;case"xmlBase":ee(e,"xml:base",n);break;case"xmlLang":ee(e,"xml:lang",n);break;case"xmlSpace":ee(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&L(t=R.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(" ",t,'="',D(n),'"')}}}function se(e,t,r){if(null!=t){if(null!=r)throw Error(n(60));if("object"!=typeof t||!("__html"in t))throw Error(n(61));null!=(t=t.__html)&&e.push(""+t)}}function le(e,t){if(!(16&e.instructions)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&0===r.length?(r.push(t.startInlineScript),je(r,e),r.push(">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")):r.unshift(t.startInlineScript,">",'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});',"<\/script>")}}function ce(e,t){for(var r in e.push(be("link")),t)if(x.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:ae(e,r,i)}}return e.push("/>"),null}var ue=/(<\/|<)(s)(tyle)/gi;function de(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function he(e,t,r){for(var i in e.push(be(r)),t)if(x.call(t,i)){var o=t[i];if(null!=o)switch(i){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,r));default:ae(e,i,o)}}return e.push("/>"),null}function fe(e,t){e.push(be("title"));var n,r=null,i=null;for(n in t)if(x.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":i=o;break;default:ae(e,n,o)}}return e.push(">"),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(D(""+t)),se(e,i,r),e.push(we("title")),null}function pe(e,t){e.push(be("script"));var n,r=null,i=null;for(n in t)if(x.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":i=o;break;default:ae(e,n,o)}}return e.push(">"),se(e,i,r),"string"==typeof r&&e.push((""+r).replace(U,W)),e.push(we("script")),null}function me(e,t,n){e.push(be(n));var r,i=n=null;for(r in t)if(x.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":i=o;break;default:ae(e,r,o)}}return e.push(">"),se(e,i,n),n}function ge(e,t,n){e.push(be(n));var r,i=n=null;for(r in t)if(x.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":i=o;break;default:ae(e,r,o)}}return e.push(">"),se(e,i,n),"string"==typeof n?(e.push(D(n)),null):n}var ve=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ye=new Map;function be(e){var t=ye.get(e);if(void 0===t){if(!ve.test(e))throw Error(n(65,e));t="<"+e,ye.set(e,t)}return t}var Ce=new Map;function we(e){var t=Ce.get(e);return void 0===t&&(t="</"+e+">",Ce.set(e,t)),t}function Ee(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function ke(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)e.push(t[n]);return!(n<t.length)||(n=t[n],t.length=0,e.push(n))}function Se(e,t,r){if(e.push('\x3c!--$?--\x3e<template id="'),null===r)throw Error(n(395));return e.push(t.boundaryPrefix),t=r.toString(16),e.push(t),e.push('"></template>')}var xe=/[<\u2028\u2029]/g;function Te(e){return JSON.stringify(e).replace(xe,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Me=/[&><\u2028\u2029]/g;function Ae(e){return JSON.stringify(e).replace(Me,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Le=!1,Pe=!0;function Re(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(this.push(H.startInlineStyle),this.push(' media="not all" data-precedence="'),this.push(e.precedence),this.push('" data-href="');r<n.length-1;r++)this.push(n[r]),this.push(" ");for(this.push(n[r]),this.push('">'),r=0;r<t.length;r++)this.push(t[r]);Pe=this.push("</style>"),Le=!0,t.length=0,n.length=0}}function Oe(e){return 2!==e.state&&(Le=!0)}
vendor: 5,295 bytes, line 1
1function De(e,t,n){return Le=!1,Pe=!0,H=n,t.styles.forEach(Re,e),H=null,t.stylesheets.forEach(Oe),Le&&(n.stylesToHoist=!0),Pe}function Ie(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var _e=[];function Fe(e){ce(_e,e.props);for(var t=0;t<_e.length;t++)this.push(_e[t]);_e.length=0,e.state=2}function $e(e){var t=0<e.sheets.size;e.sheets.forEach(Fe,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push(H.startInlineStyle),this.push(' data-precedence="'),this.push(e.precedence),e=0,r.length){for(this.push('" data-href="');e<r.length-1;e++)this.push(r[e]),this.push(" ");this.push(r[e])}for(this.push('">'),e=0;e<n.length;e++)this.push(n[e]);this.push("</style>"),n.length=0,r.length=0}}function Ne(e){if(0===e.state){e.state=1;var t=e.props;for(ce(_e,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<_e.length;e++)this.push(_e[e]);_e.length=0}}function Be(e){e.sheets.forEach(Ne,this),e.sheets.clear()}function je(e,t){!(32&t.instructions)&&(t.instructions|=32,e.push(' id="',D("_"+t.idPrefix+"R_"),'"'))}function ze(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=$(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!L(t))return;t=""+n}e.push(","),r=Ae(r),e.push(r),e.push(","),r=Ae(t),e.push(r)}function Ve(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function He(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function Ue(e,t,n){for(var r in t="<"+(e=(""+e).replace(We,Ge))+'>; rel=preload; as="'+(t=(""+t).replace(qe,Ke))+'"',n)x.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(qe,Ke)+'"');return t}var We=/[<>\r\n]/g;function Ge(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var qe=/["';,\r\n]/g;function Ke(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Ye(e){this.styles.add(e)}function Ze(e){this.stylesheets.add(e)}function Qe(e,t){t.styles.forEach(Ye,e),t.stylesheets.forEach(Ze,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function Xe(e,t,n,r){return n.generateStaticMarkup?(e.push(D(t)),!1):(""===t?e=r:(r&&e.push("\x3c!-- --\x3e"),e.push(D(t)),e=!0),e)}function Je(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push("\x3c!-- --\x3e")}var et=Function.prototype.bind,tt=Symbol.for("react.client.reference");function nt(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===tt?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case s:return"Profiler";case a:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList";case g:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case i:return"Portal";case c:return e.displayName||"Context";case l:return(e._context.displayName||"Context")+".Consumer";case u:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case f:return null!==(t=e.displayName||null)?t:nt(e.type)||"Memo";case p:t=e._payload,e=e._init;try{return nt(e(t))}catch(n){}}return null}var rt={},it=null;function ot(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(n(401))}else{if(null===r)throw Error(n(401));ot(e,r)}t.context._currentValue2=t.value}}function at(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&at(e)}function st(e){var t=e.parent;null!==t&&st(t),e.context._currentValue2=e.value}function lt(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(n(402));e.depth===t.depth?ot(e,t):lt(e,t)}function ct(e,t){var r=t.parent;if(null===r)throw Error(n(402));e.depth===r.depth?ot(e,r):ct(e,r),t.context._currentValue2=t.value}function ut(e){var t=it;t!==e&&(null===t?st(e):null===e?at(t):t.depth===e.depth?ot(t,e):t.depth>e.depth?lt(t,e):ct(t,e),it=e)}var dt={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},ht={id:1,overflow:""};function ft(e,t,n){var r=e.id;e=e.overflow;var i=32-pt(r)-1;r&=~(1<<i),n+=1;var o=32-pt(t)+i;if(30<o){var a=i-i%5;return o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,{id:1<<32-pt(t)+i|n<<i|r,overflow:o+e}}return{id:1<<o|n<<i|r,overflow:e}}
vendor: 4,408 bytes, line 1
1var pt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(mt(e)/gt|0)|0},mt=Math.log,gt=Math.LN2;function vt(){}var yt=Error(n(460)),bt=null;function Ct(){if(null===bt)throw Error(n(459));var e=bt;return bt=null,e}var wt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Et=null,kt=null,St=null,xt=null,Tt=null,Mt=null,At=!1,Lt=!1,Pt=0,Rt=0,Ot=-1,Dt=0,It=null,_t=null,Ft=0;function $t(){if(null===Et)throw Error(n(321));return Et}function Nt(){if(0<Ft)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function Bt(){return null===Mt?null===Tt?(At=!1,Tt=Mt=Nt()):(At=!0,Mt=Tt):null===Mt.next?(At=!1,Mt=Mt.next=Nt()):(At=!0,Mt=Mt.next),Mt}function jt(){var e=It;return It=null,e}function zt(){xt=St=kt=Et=null,Lt=!1,Tt=null,Ft=0,Mt=_t=null}function Vt(e,t){return"function"==typeof t?t(e):t}function Ht(e,t,n){if(Et=$t(),Mt=Bt(),At){var r=Mt.queue;if(t=r.dispatch,null!==_t&&void 0!==(n=_t.get(r))){_t.delete(r),r=Mt.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Mt.memoizedState=r,[r,t]}return[Mt.memoizedState,t]}return e=e===Vt?"function"==typeof t?t():t:void 0!==n?n(t):t,Mt.memoizedState=e,e=(e=Mt.queue={last:null,dispatch:null}).dispatch=Wt.bind(null,Et,e),[Mt.memoizedState,e]}function Ut(e,t){if(Et=$t(),t=void 0===t?null:t,null!==(Mt=Bt())){var n=Mt.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!wt(t[i],r[i])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Mt.memoizedState=[e,t],e}function Wt(e,t,r){if(25<=Ft)throw Error(n(301));if(e===Et)if(Lt=!0,e={action:r,next:null},null===_t&&(_t=new Map),void 0===(r=_t.get(t)))_t.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function Gt(){throw Error(n(440))}function qt(){throw Error(n(394))}function Kt(){throw Error(n(479))}function Yt(e,t,n){$t();var r=Rt++,i=St;if("function"==typeof e.$$FORM_ACTION){var o=null,a=xt;i=i.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==i&&"function"==typeof s){var l=i[1];s.call(e,i[2],i[3])&&l===(o=void 0!==n?"p"+n:"k"+k(JSON.stringify([a,null,r]),0))&&(Ot=r,t=i[0])}var c=e.bind(null,t);return e=function(e){c(e)},"function"==typeof c.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=c.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===o&&(o=void 0!==n?"p"+n:"k"+k(JSON.stringify([a,null,r]),0)),t.append("$ACTION_KEY",o)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function Qt(e){var t=Dt;return Dt+=1,null===It&&(It=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(vt,vt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(vt,vt):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw bt=t,yt}}(It,e,t)}function Xt(){throw Error(n(393))}var Jt,en,tn={readContext:function(e){return e._currentValue2},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Qt(e);if(e.$$typeof===c)return e._currentValue2}throw Error(n(438,String(e)))},useContext:function(e){return $t(),e._currentValue2},useMemo:Ut,useReducer:Ht,useRef:function(e){Et=$t();var t=(Mt=Bt()).memoizedState;return null===t?(e={current:e},Mt.memoizedState=e):t},useState:function(e){return Ht(Vt,e)},useInsertionEffect:vt,useLayoutEffect:vt,useCallback:function(e,t){return Ut(function(){return e},t)},useImperativeHandle:vt,useEffect:vt,useDebugValue:vt,useDeferredValue:function(e,t){return $t(),void 0!==t?t:e},useTransition:function(){return $t(),[!1,qt]},useId:function(){var e=kt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-pt(e)-1)).toString(32)+t;var r=nn;if(null===r)throw Error(n(404));return t=Pt++,e="_"+r.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(n(407));return r()},useOptimistic:function(e){return $t(),[e,Kt]},useActionState:Yt,useFormState:Yt,useHostTransitionStatus:function(){return $t(),j},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=y;return t},useCacheRefresh:function(){return Xt},useEffectEvent:function(){return Gt}},nn=null,rn={getCacheForType:function(){throw Error(n(248))}
vendor: 8,561 bytes, line 1
1,cacheSignal:function(){throw Error(n(248))}};function on(e){if(void 0===Jt)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Jt=t&&t[1]||"",en=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Jt+e+en}var an=!1;function sn(e,t){if(!e||an)return"";an=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(i){var r=i}Reflect.construct(e,[],n)}else{try{n.call()}catch(o){r=o}e.call(n.prototype)}}else{try{throw Error()}catch(a){r=a}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"==typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=i);break}}}finally{an=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?on(n):""}function ln(e){if("string"==typeof e)return on(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?sn(e,!0):sn(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case u:return sn(e.render,!1);case f:return sn(e.type,!1);case p:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(i){return on("Lazy")}return ln(e)}if("string"==typeof e.name){n=e.name,t=e.env;var r=e.debugLocation;return null==r||(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith("Error: react-stack-top-frame\n")&&(r=r.slice(29)),-1!==(e=r.indexOf("\n"))&&(r=r.slice(e+1)),-1!==(e=r.indexOf("react_stack_bottom_frame"))&&(e=r.lastIndexOf("\n",e)),e=-1!==e?r=r.slice(0,e):"",r=e.lastIndexOf("\n"),-1===(e=-1===r?e:e.slice(r+1)).indexOf(n))?on(n+(t?" ["+t+"]":"")):"\n"+e}}switch(e){case h:return on("SuspenseList");case d:return on("Suspense")}return""}function cn(e,t){return 500<t.byteSize&&null===t.contentPreamble}function un(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"[%s] "+e[0]," "+t+" "):e.splice(0,0,"[%s]"," "+t+" "),e.unshift(console),(t=et.apply(console.error,e))()}return null}function dn(e,t,n,r,i,o,a,s,l,c,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===i?un:i,this.onPostpone=void 0===c?vt:c,this.onAllReady=void 0===o?vt:o,this.onShellReady=void 0===a?vt:a,this.onShellError=void 0===s?vt:s,this.onFatalError=void 0===l?vt:l,this.formState=void 0===u?null:u}var hn=null;function fn(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,Yn(e))}function pn(e,t,n,r,i){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:Ve(),fallbackState:Ve(),contentPreamble:r,fallbackPreamble:i,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(r=t.boundaries)&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),null!==(e=t.inheritedHoistables)&&Qe(n.contentState,e)),n}function mn(e,t,n,r,i,o,a,s,l,c,u,d,h,f,p){e.allPendingTasks++,null===i?e.pendingRootTasks++:i.pendingTasks++,null!==f&&f.pendingTasks++;var m={replay:null,node:n,childIndex:r,ping:function(){return fn(e,m)},blockedBoundary:i,blockedSegment:o,blockedPreamble:a,hoistableState:s,abortSet:l,keyPath:c,formatContext:u,context:d,treeContext:h,row:f,componentStack:p,thenableState:t};return l.add(m),m}function gn(e,t,n,r,i,o,a,s,l,c,u,d,h,f){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==h&&h.pendingTasks++,n.pendingTasks++;var p={replay:n,node:r,childIndex:i,ping:function(){return fn(e,p)},blockedBoundary:o,blockedSegment:null,blockedPreamble:null,hoistableState:a,abortSet:s,keyPath:l,formatContext:c,context:u,treeContext:d,row:h,componentStack:f,thenableState:t};return s.add(p),p}function vn(e,t,n,r,i,o){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:o}}function yn(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===r&&(e.componentStack={parent:e.componentStack,type:t.type})}function bn(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function Cn(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=ln(r.type),r=r.parent}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return Object.defineProperty(t,"componentStack",{value:i}),i}}),t}function wn(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function En(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,e.destination.destroy(t)):(e.status=13,e.fatalError=t)}function kn(e,t){Sn(e,t.next,t.hoistables)}function Sn(e,t,n){for(;null!==t;){null!==n&&(Qe(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(null!==r){t.boundaries=null;for(var i=0;i<r.length;i++){var o=r[i];null!==n&&Qe(o.contentState,n),Kn(e,o,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function xn(e,t){var n=t.boundaries;if(null!==n&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var o=n[i];if(1!==o.pendingTasks||o.parentFlushed||cn(0,o)){r=!1;break}}r&&Sn(e,t,t.hoistables)}}function Tn(e){var t={pendingTasks:1,boundaries:null,hoistables:Ve(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function Mn(e,t,n,r,i){var o=t.keyPath,a=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var l=null;if(null!==t.replay){var c=t.replay.slots;if(null!==c&&"object"==typeof c)for(var u=0;u<n;u++){var d="backwards"!==i&&"unstable_legacy-backwards"!==i?u:n-1-u,h=r[d];t.row=l=Tn(l),t.treeContext=ft(a,n,d);var f=c[d];"number"==typeof f?(Rn(e,t,f,h,d),delete c[d]):jn(e,t,h,d),0===--l.pendingTasks&&kn(e,l)}else for(c=0;c<n;c++)d=r[u="backwards"!==i&&"unstable_legacy-backwards"!==i?c:n-1-c],t.row=l=Tn(l),t.treeContext=ft(a,n,u),jn(e,t,d,u),0===--l.pendingTasks&&kn(e,l)}else if("backwards"!==i&&"unstable_legacy-backwards"!==i)for(i=0;i<n;i++)c=r[i],t.row=l=Tn(l),t.treeContext=ft(a,n,i),jn(e,t,c,i),0===--l.pendingTasks&&kn(e,l);else{for(c=(i=t.blockedSegment).children.length,u=i.chunks.length,d=n-1;0<=d;d--){h=r[d],t.row=l=Tn(l),t.treeContext=ft(a,n,d),f=vn(0,u,null,t.formatContext,0!==d||i.lastPushedText,!0),i.children.splice(c,0,f),t.blockedSegment=f;try{jn(e,t,h,d),Je(f.chunks,e.renderState,f.lastPushedText,f.textEmbedded),f.status=1,0===--l.pendingTasks&&kn(e,l)}catch(p){throw f.status=12===e.status?3:4,p}}t.blockedSegment=i,i.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=a,t.row=s,t.keyPath=o}function An(e,t,n,r,i,o){var a=t.thenableState;for(t.thenableState=null,Et={},kt=t,St=e,xt=n,Rt=Pt=0,Ot=-1,Dt=0,It=a,e=r(i,o);Lt;)Lt=!1,Rt=Pt=0,Ot=-1,Dt=0,Ft+=1,Mt=null,e=r(i,o);return zt(),e}function Ln(e,t,n,r,i,o,a){var s=!1;if(0!==o&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var c=0;c<o;c++)c===a?l.push("\x3c!--F!--\x3e"):l.push("\x3c!--F--\x3e")}}
1o=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=ft(n,1,0),jn(e,t,r,-1),t.treeContext=n):s?jn(e,t,r,-1):On(e,t,r,-1),t.keyPath=o}function Pn(t,r,i,y,C,k){if("function"==typeof y)if(y.prototype&&y.prototype.isReactComponent){var T=C;if("ref"in C)for(var M in T={},C)"ref"!==M&&(T[M]=C[M]);var A=y.defaultProps;if(A)for(var P in T===C&&(T=S({},T,C)),A)void 0===T[P]&&(T[P]=A[P]);C=T,T=rt,"object"==typeof(A=y.contextType)&&null!==A&&(T=A._currentValue2);var R=void 0!==(T=new y(C,T)).state?T.state:null;if(T.updater=dt,T.props=C,T.state=R,A={queue:[],replace:!1},T._reactInternals=A,k=y.contextType,T.context="object"==typeof k&&null!==k?k._currentValue2:rt,"function"==typeof(k=y.getDerivedStateFromProps)&&(R=null==(k=k(C,R))?R:S({},R,k),T.state=R),"function"!=typeof y.getDerivedStateFromProps&&"function"!=typeof T.getSnapshotBeforeUpdate&&("function"==typeof T.UNSAFE_componentWillMount||"function"==typeof T.componentWillMount))if(y=T.state,"function"==typeof T.componentWillMount&&T.componentWillMount(),"function"==typeof T.UNSAFE_componentWillMount&&T.UNSAFE_componentWillMount(),y!==T.state&&dt.enqueueReplaceState(T,T.state,null),null!==A.queue&&0<A.queue.length)if(y=A.queue,k=A.replace,A.queue=null,A.replace=!1,k&&1===y.length)T.state=y[0];else{for(A=k?y[0]:T.state,R=!0,k=k?1:0;k<y.length;k++)null!=(P="function"==typeof(P=y[k])?P.call(T,A,C,void 0):P)&&(R?(R=!1,A=S({},A,P)):S(A,P));T.state=A}else A.queue=null;if(y=T.render(),12===t.status)throw null;C=r.keyPath,r.keyPath=i,On(t,r,y,-1),r.keyPath=C}else{if(y=An(t,r,i,y,C,void 0),12===t.status)throw null;Ln(t,r,i,y,0!==Pt,Rt,Ot)}else{if("string"!=typeof y){switch(y){case v:case a:case s:case o:return y=r.keyPath,r.keyPath=i,On(t,r,C.children,-1),void(r.keyPath=y);case g:return void(null===(y=r.blockedSegment)?"hidden"!==C.mode&&(y=r.keyPath,r.keyPath=i,jn(t,r,C.children,-1),r.keyPath=y):"hidden"!==C.mode&&(t.renderState.generateStaticMarkup||y.chunks.push("\x3c!--&--\x3e"),y.lastPushedText=!1,T=r.keyPath,r.keyPath=i,jn(t,r,C.children,-1),r.keyPath=T,t.renderState.generateStaticMarkup||y.chunks.push("\x3c!--/&--\x3e"),y.lastPushedText=!1));case h:e:{if(y=C.children,"forwards"===(C=C.revealOrder)||"backwards"===C||"unstable_legacy-backwards"===C){if(E(y)){Mn(t,r,i,y,C);break e}if((T=w(y))&&(T=T.call(y))){if(!(A=T.next()).done){do{A=T.next()}while(!A.done);Mn(t,r,i,y,C)}break e}}"together"===C?(C=r.keyPath,T=r.row,(A=r.row=Tn(null)).boundaries=[],A.together=!0,r.keyPath=i,On(t,r,y,-1),0===--A.pendingTasks&&kn(t,A),r.keyPath=C,r.row=T,null!==T&&0<A.pendingTasks&&(T.pendingTasks++,A.next=T)):(C=r.keyPath,r.keyPath=i,On(t,r,y,-1),r.keyPath=C)}return;case b:case m:throw Error(n(343));case d:e:if(null!==r.replay){y=r.keyPath,T=r.formatContext,A=r.row,r.keyPath=i,r.formatContext=Z(t.resumableState,T),r.row=null,i=C.children;try{jn(t,r,i,-1)}finally{r.keyPath=y,r.formatContext=T,r.row=A}}else{y=r.keyPath,k=r.formatContext;var O=r.row,I=r.blockedBoundary;P=r.blockedPreamble;var _=r.hoistableState;M=r.blockedSegment;var F=C.fallback;C=C.children;var N=new Set,B=pn(t,r.row,N,null,null);null!==t.trackedPostpones&&(B.trackedContentKeyPath=i);var j=vn(0,M.chunks.length,B,r.formatContext,!1,!1);M.children.push(j),M.lastPushedText=!1;var z=vn(0,0,null,r.formatContext,!1,!1);if(z.parentFlushed=!0,null!==t.trackedPostpones){T=r.componentStack,R=[(A=[i[0],"Suspense Fallback",i[2]])[1],A[2],[],null],t.trackedPostpones.workingMap.set(A,R),B.trackedFallbackNode=R,r.blockedSegment=j,r.blockedPreamble=B.fallbackPreamble,r.keyPath=A,r.formatContext=Y(t.resumableState,k),r.componentStack=bn(T),j.status=6;try{jn(t,r,F,-1),Je(j.chunks,t.renderState,j.lastPushedText,j.textEmbedded),j.status=1}catch(H){throw j.status=12===t.status?3:4,H}finally{r.blockedSegment=M,r.blockedPreamble=P,r.keyPath=y,r.formatContext=k}yn(r=mn(t,null,C,-1,B,z,B.contentPreamble,B.contentState,r.abortSet,i,Z(t.resumableState,r.formatContext),r.context,r.treeContext,null,T)),t.pingedTasks.push(r)}else{r.blockedBoundary=B,r.blockedPreamble=B.contentPreamble,r.hoistableState=B.contentState,r.blockedSegment=z,r.keyPath=i,r.formatContext=Z(t.resumableState,k),r.row=null,z.status=6;try{if(jn(t,r,C,-1),Je(z.chunks,t.renderState,z.lastPushedText,z.textEmbedded),z.status=1,qn(B,z),0===B.pendingTasks&&0===B.status){if(B.status=1,!cn(0,B)){null!==O&&0===--O.pendingTasks&&kn(t,O),0===t.pendingRootTasks&&r.blockedPreamble&&Xn(t);break e}}else null!==O&&O.together&&xn(t,O)}catch(U){B.status=4,12===t.status?(z.status=3,T=t.fatalError):(z.status=4,T=U),R=wn(t,T,A=Cn(r.componentStack)),B.errorDigest=R,$n(t,B)}finally{r.blockedBoundary=I,r.blockedPreamble=P,r.hoistableState=_,r.blockedSegment=M,r.keyPath=y,r.formatContext=k,r.row=O}yn(r=mn(t,null,F,-1,I,j,B.fallbackPreamble,B.fallbackState,N,[i[0],"Suspense Fallback",i[2]],Y
vendor: 16,472 bytes, line 1
1(t.resumableState,r.formatContext),r.context,r.treeContext,r.row,bn(r.componentStack))),t.pingedTasks.push(r)}}return}if("object"==typeof y&&null!==y)switch(y.$$typeof){case u:if("ref"in C)for(F in T={},C)"ref"!==F&&(T[F]=C[F]);else T=C;return void Ln(t,r,i,y=An(t,r,i,y.render,T,k),0!==Pt,Rt,Ot);case f:return void Pn(t,r,i,y.type,C,k);case c:if(A=C.children,T=r.keyPath,C=C.value,R=y._currentValue2,y._currentValue2=C,it=y={parent:k=it,depth:null===k?0:k.depth+1,context:y,parentValue:R,value:C},r.context=y,r.keyPath=i,On(t,r,A,-1),null===(t=it))throw Error(n(403));return t.context._currentValue2=t.parentValue,t=it=t.parent,r.context=t,void(r.keyPath=T);case l:return y=(C=C.children)(y._context._currentValue2),C=r.keyPath,r.keyPath=i,On(t,r,y,-1),void(r.keyPath=C);case p:if(y=(T=y._init)(y._payload),12===t.status)throw null;return void Pn(t,r,i,y,C,k)}throw Error(n(130,null==y?y:typeof y,""))}if(null===(T=r.blockedSegment))T=C.children,A=r.formatContext,R=r.keyPath,r.formatContext=q(A,y,C),r.keyPath=i,jn(t,r,T,-1),r.formatContext=A,r.keyPath=R;else{if(R=function(t,r,i,o,a,s,l,c,u){switch(r){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"a":t.push(be("a"));var d,h=null,f=null;for(d in i)if(x.call(i,d)){var p=i[d];if(null!=p)switch(d){case"children":h=p;break;case"dangerouslySetInnerHTML":f=p;break;case"href":""===p?ee(t,"href",""):ae(t,d,p);break;default:ae(t,d,p)}}if(t.push(">"),se(t,f,h),"string"==typeof h){t.push(D(h));var m=null}else m=h;return m;case"select":t.push(be("select"));var g,v=null,y=null;for(g in i)if(x.call(i,g)){var b=i[g];if(null!=b)switch(g){case"children":v=b;break;case"dangerouslySetInnerHTML":y=b;break;case"defaultValue":case"value":break;default:ae(t,g,b)}}return t.push(">"),se(t,y,v),v;case"option":var C=c.selectedValue;t.push(be("option"));var w,k=null,T=null,M=null,A=null;for(w in i)if(x.call(i,w)){var P=i[w];if(null!=P)switch(w){case"children":k=P;break;case"selected":M=P;break;case"dangerouslySetInnerHTML":A=P;break;case"value":T=P;default:ae(t,w,P)}}if(null!=C){var R=null!==T?""+T:function(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}(k);if(E(C)){for(var O=0;O<C.length;O++)if(""+C[O]===R){t.push(' selected=""');break}}else""+C===R&&t.push(' selected=""')}else M&&t.push(' selected=""');return t.push(">"),se(t,A,k),k;case"textarea":t.push(be("textarea"));var I,_=null,F=null,N=null;for(I in i)if(x.call(i,I)){var B=i[I];if(null!=B)switch(I){case"children":N=B;break;case"value":_=B;break;case"defaultValue":F=B;break;case"dangerouslySetInnerHTML":throw Error(n(91));default:ae(t,I,B)}}if(null===_&&null!==F&&(_=F),t.push(">"),null!=N){if(null!=_)throw Error(n(92));if(E(N)){if(1<N.length)throw Error(n(93));_=""+N[0]}_=""+N}return"string"==typeof _&&"\n"===_[0]&&t.push("\n"),null!==_&&t.push(D(""+_)),null;case"input":t.push(be("input"));var j,z=null,H=null,U=null,W=null,G=null,q=null,K=null,Y=null,Z=null;for(j in i)if(x.call(i,j)){var Q=i[j];if(null!=Q)switch(j){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"input"));case"name":z=Q;break;case"formAction":H=Q;break;case"formEncType":U=Q;break;case"formMethod":W=Q;break;case"formTarget":G=Q;break;case"defaultChecked":Z=Q;break;case"defaultValue":K=Q;break;case"checked":Y=Q;break;case"value":q=Q;break;default:ae(t,j,Q)}}var re=oe(t,o,a,H,U,W,G,z);return null!==Y?J(t,"checked",Y):null!==Z&&J(t,"checked",Z),null!==q?ae(t,"value",q):null!==K&&ae(t,"value",K),t.push("/>"),null!=re&&re.forEach(ne,t),null;case"button":t.push(be("button"));var ve,ye=null,Ce=null,Ee=null,ke=null,Se=null,xe=null,Te=null;for(ve in i)if(x.call(i,ve)){var Me=i[ve];if(null!=Me)switch(ve){case"children":ye=Me;break;case"dangerouslySetInnerHTML":Ce=Me;break;case"name":Ee=Me;break;case"formAction":ke=Me;break;case"formEncType":Se=Me;break;case"formMethod":xe=Me;break;case"formTarget":Te=Me;break;default:ae(t,ve,Me)}}var Ae=oe(t,o,a,ke,Se,xe,Te,Ee);if(t.push(">"),null!=Ae&&Ae.forEach(ne,t),se(t,Ce,ye),"string"==typeof ye){t.push(D(ye));var Le=null}else Le=ye;return Le;case"form":t.push(be("form"));var Pe,Re=null,Oe=null,De=null,Ie=null,_e=null,Fe=null;for(Pe in i)if(x.call(i,Pe)){var $e=i[Pe];if(null!=$e)switch(Pe){case"children":Re=$e;break;case"dangerouslySetInnerHTML":Oe=$e;break;case"action":De=$e;break;case"encType":Ie=$e;break;case"method":_e=$e;break;case"target":Fe=$e;break;default:ae(t,Pe,$e)}}var Ne=null,Be=null;if("function"==typeof De){var je=ie(o,De);null!==je?(De=je.action||"",Ie=je.encType,_e=je.method,Fe=je.target,Ne=je.data,Be=je.name):(t.push(" ","action",'="',te,'"'),Fe=_e=Ie=De=null,le(o,a))}if(null!=De&&ae(t,"action",De),null!=Ie&&ae(t,"encType",Ie),null!=_e&&ae(t,"method",_e),null!=Fe&&ae(t,"target",Fe),t.push(">"),null!==Be&&(t.push('<input type="hidden"'),ee(t,"name",Be),t.push("/>"),null!=Ne&&Ne.forEach(ne,t)),se(t,Oe,Re),"string"==typeof Re){t.push(D(Re));var ze=null}else ze=Re;return ze;case"menuitem":for(var Ve in t.push(be("menuitem")),i)if(x.call(i,Ve)){var We=i[Ve];if(null!=We)switch(Ve){case"children":case"dangerouslySetInnerHTML":throw Error(n(400));default:ae(t,Ve,We)}}return t.push(">"),null;case"object":t.push(be("object"));var Ge,qe=null,Ke=null;for(Ge in i)if(x.call(i,Ge)){var Ye=i[Ge];if(null!=Ye)switch(Ge){case"children":qe=Ye;break;case"dangerouslySetInnerHTML":Ke=Ye;break;case"data":var Ze=$(""+Ye);if(""===Ze)break;t.push(" ","data",'="',D(Ze),'"');break;default:ae(t,Ge,Ye)}}if(t.push(">"),se(t,Ke,qe),"string"==typeof qe){t.push(D(qe));var Qe=null}else Qe=qe;return Qe;case"title":var Xe=1&c.tagScope,Je=4&c.tagScope;if(4===c.insertionMode||Xe||null!=i.itemProp)var et=fe(t,i);else Je?et=null:(fe(a.hoistableChunks,i),et=void 0);return et;case"link":var tt=1&c.tagScope,nt=4&c.tagScope,rt=i.rel,it=i.href,ot=i.precedence;if(4===c.insertionMode||tt||null!=i.itemProp||"string"!=typeof rt||"string"!=typeof it||""===it){ce(t,i);var at=null}else if("stylesheet"===i.rel)if("string"!=typeof ot||null!=i.disabled||i.onLoad||i.onError)at=ce(t,i);else{var st=a.styles.get(ot),lt=o.styleResources.hasOwnProperty(it)?o.styleResources[it]:void 0;if(null!==lt){o.styleResources[it]=null,st||(st={precedence:D(ot),rules:[],hrefs:[],sheets:new Map},a.styles.set(ot,st));var ct={state:0,props:S({},i,{"data-precedence":i.precedence,precedence:null})};if(lt){2===lt.length&&He(ct.props,lt);var ut=a.preloads.stylesheets.get(it);ut&&0<ut.length?ut.length=0:ct.state=1}st.sheets.set(it,ct),l&&l.stylesheets.add(ct)}else if(st){var dt=st.sheets.get(it);dt&&l&&l.stylesheets.add(dt)}u&&t.push("\x3c!-- --\x3e"),at=null}else i.onLoad||i.onError?at=ce(t,i):(u&&t.push("\x3c!-- --\x3e"),at=nt?null:ce(a.hoistableChunks,i));return at;case"script":var ht=1&c.tagScope,ft=i.async;if("string"!=typeof i.src||!i.src||!ft||"function"==typeof ft||"symbol"==typeof ft||i.onLoad||i.onError||4===c.insertionMode||ht||null!=i.itemProp)var pt=pe(t,i);else{var mt=i.src;if("module"===i.type)var gt=o.moduleScriptResources,vt=a.preloads.moduleScripts;else gt=o.scriptResources,vt=a.preloads.scripts;var yt=gt.hasOwnProperty(mt)?gt[mt]:void 0;if(null!==yt){gt[mt]=null;var bt=i;if(yt){2===yt.length&&He(bt=S({},i),yt);var Ct=vt.get(mt);Ct&&(Ct.length=0)}var wt=[];a.scripts.add(wt),pe(wt,bt)}u&&t.push("\x3c!-- --\x3e"),pt=null}return pt;case"style":var Et=1&c.tagScope,kt=i.precedence,St=i.href,xt=i.nonce;if(4===c.insertionMode||Et||null!=i.itemProp||"string"!=typeof kt||"string"!=typeof St||""===St){t.push(be("style"));var Tt,Mt=null,At=null;for(Tt in i)if(x.call(i,Tt)){var Lt=i[Tt];if(null!=Lt)switch(Tt){case"children":Mt=Lt;break;case"dangerouslySetInnerHTML":At=Lt;break;default:ae(t,Tt,Lt)}}t.push(">");var Pt=Array.isArray(Mt)?2>Mt.length?Mt[0]:null:Mt;"function"!=typeof Pt&&"symbol"!=typeof Pt&&null!=Pt&&t.push((""+Pt).replace(ue,de)),se(t,At,Mt),t.push(we("style"));var Rt=null}else{var Ot=a.styles.get(kt);if(null!==(o.styleResources.hasOwnProperty(St)?o.styleResources[St]:void 0)){o.styleResources[St]=null,Ot||(Ot={precedence:D(kt),rules:[],hrefs:[],sheets:new Map},a.styles.set(kt,Ot));var Dt=a.nonce.style;if(!Dt||Dt===xt){Ot.hrefs.push(D(St));var It,_t=Ot.rules,Ft=null,$t=null;for(It in i)if(x.call(i,It)){var Nt=i[It];if(null!=Nt)switch(It){case"children":Ft=Nt;break;case"dangerouslySetInnerHTML":$t=Nt}}var Bt=Array.isArray(Ft)?2>Ft.length?Ft[0]:null:Ft;"function"!=typeof Bt&&"symbol"!=typeof Bt&&null!=Bt&&_t.push((""+Bt).replace(ue,de)),se(_t,$t,Ft)}}Ot&&l&&l.styles.add(Ot),u&&t.push("\x3c!-- --\x3e"),Rt=void 0}return Rt;case"meta":var jt=1&c.tagScope,zt=4&c.tagScope;if(4===c.insertionMode||jt||null!=i.itemProp)var Vt=he(t,i,"meta");else u&&t.push("\x3c!-- --\x3e"),Vt=zt?null:"string"==typeof i.charSet?he(a.charsetChunks,i,"meta"):"viewport"===i.name?he(a.viewportChunks,i,"meta"):he(a.hoistableChunks,i,"meta");return Vt;case"listing":case"pre":t.push(be(r));var Ht,Ut=null,Wt=null;for(Ht in i)if(x.call(i,Ht)){var Gt=i[Ht];if(null!=Gt)switch(Ht){case"children":Ut=Gt;break;case"dangerouslySetInnerHTML":Wt=Gt;break;default:ae(t,Ht,Gt)}}if(t.push(">"),null!=Wt){if(null!=Ut)throw Error(n(60));if("object"!=typeof Wt||!("__html"in Wt))throw Error(n(61));var qt=Wt.__html;null!=qt&&("string"==typeof qt&&0<qt.length&&"\n"===qt[0]?t.push("\n",qt):t.push(""+qt))}return"string"==typeof Ut&&"\n"===Ut[0]&&t.push("\n"),Ut;case"img":var Kt=3&c.tagScope,Yt=i.src,Zt=i.srcSet;if(!("lazy"===i.loading||!Yt&&!Zt||"string"!=typeof Yt&&null!=Yt||"string"!=typeof Zt&&null!=Zt||"low"===i.fetchPriority||Kt)&&("string"!=typeof Yt||":"!==Yt[4]||"d"!==Yt[0]&&"D"!==Yt[0]||"a"!==Yt[1]&&"A"!==Yt[1]||"t"!==Yt[2]&&"T"!==Yt[2]||"a"!==Yt[3]&&"A"!==Yt[3])&&("string"!=typeof Zt||":"!==Zt[4]||"d"!==Zt[0]&&"D"!==Zt[0]||"a"!==Zt[1]&&"A"!==Zt[1]||"t"!==Zt[2]&&"T"!==Zt[2]||"a"!==Zt[3]&&"A"!==Zt[3])){null!==l&&64&c.tagScope&&(l.suspenseyImages=!0);var Qt="string"==typeof i.sizes?i.sizes:void 0,Xt=Zt?Zt+"\n"+(Qt||""):Yt,Jt=a.preloads.images,en=Jt.get(Xt);if(en)("high"===i.fetchPriority||10>a.highImagePreloads.size)&&(Jt.delete(Xt),a.highImagePreloads.add(en));else if(!o.imageResources.hasOwnProperty(Xt)){o.imageResources[Xt]=V;var tn,nn=i.crossOrigin,rn="string"==typeof nn?"use-credentials"===nn?nn:"":void 0,on=a.headers;on&&0<on.remainingCapacity&&"string"!=typeof i.srcSet&&("high"===i.fetchPriority||500>on.highImagePreloads.length)&&(tn=Ue(Yt,"image",{imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:rn,integrity:i.integrity,nonce:i.nonce,type:i.type,fetchPriority:i.fetchPriority,referrerPolicy:i.refererPolicy}),0<=(on.remainingCapacity-=tn.length+2))?(a.resets.image[Xt]=V,on.highImagePreloads&&(on.highImagePreloads+=", "),on.highImagePreloads+=tn):(ce(en=[],{rel:"preload",as:"image",href:Zt?void 0:Yt,imageSrcSet:Zt,imageSizes:Qt,crossOrigin:rn,integrity:i.integrity,type:i.type,fetchPriority:i.fetchPriority,referrerPolicy:i.referrerPolicy}),"high"===i.fetchPriority||10>a.highImagePreloads.size?a.highImagePreloads.add(en):(a.bulkPreloads.add(en),Jt.set(Xt,en)))}}return he(t,i,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return he(t,i,r);case"head":if(2>c.insertionMode){var an=s||a.preamble;if(an.headChunks)throw Error(n(545,"`<head>`"));null!==s&&t.push("\x3c!--head--\x3e"),an.headChunks=[];var sn=me(an.headChunks,i,"head")}else sn=ge(t,i,"head");return sn;case"body":if(2>c.insertionMode){var ln=s||a.preamble;if(ln.bodyChunks)throw Error(n(545,"`<body>`"));null!==s&&t.push("\x3c!--body--\x3e"),ln.bodyChunks=[];var cn=me(ln.bodyChunks,i,"body")}else cn=ge(t,i,"body");return cn;case"html":if(0===c.insertionMode){var un=s||a.preamble;if(un.htmlChunks)throw Error(n(545,"`<html>`"));null!==s&&t.push("\x3c!--html--\x3e"),un.htmlChunks=[""];var dn=me(un.htmlChunks,i,"html")}else dn=ge(t,i,"html");return dn;default:if(-1!==r.indexOf("-")){t.push(be(r));var hn,fn=null,pn=null;for(hn in i)if(x.call(i,hn)){var mn=i[hn];if(null!=mn){var gn=hn;switch(hn){case"children":fn=mn;break;case"dangerouslySetInnerHTML":pn=mn;break;case"style":X(t,mn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":gn="class";default:if(L(hn)&&"function"!=typeof mn&&"symbol"!=typeof mn&&!1!==mn){if(!0===mn)mn="";else if("object"==typeof mn)continue;t.push(" ",gn,'="',D(mn),'"')}}}}return t.push(">"),se(t,pn,fn),fn}}return ge(t,i,r)}(T.chunks,y,C,t.resumableState,t.renderState,r.blockedPreamble,r.hoistableState,r.formatContext,T.lastPushedText),T.lastPushedText=!1,A=r.formatContext,k=r.keyPath,r.keyPath=i,3===(r.formatContext=q(A,y,C)).insertionMode){i=vn(0,0,null,r.formatContext,!1,!1),T.preambleChildren.push(i),r.blockedSegment=i;try{i.status=6,jn(t,r,R,-1),Je(i.chunks,t.renderState,i.lastPushedText,i.textEmbedded),i.status=1}finally{r.blockedSegment=T}}else jn(t,r,R,-1);r.formatContext=A,r.keyPath=k;e:{switch(r=T.chunks,t=t.resumableState,y){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=A.insertionMode){t.hasBody=!0;break e}break;case"html":if(0===A.insertionMode){t.hasHtml=!0;break e}break;case"head":if(1>=A.insertionMode)break e}r.push(we(y))}T.lastPushedText=!1}}}function Rn(e,t,n,r,i){var o=t.replay,a=t.blockedBoundary,s=vn(0,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,jn(e,t,r,i),s.status=1,null===a?e.completedRootSegment=s:(qn(a,s),a.parentFlushed&&e.partialBoundaries.push(a))}finally{t.replay=o,t.blockedSegment=null}}function On(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?Rn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,yn(t),Dn(e,t),t.componentStack=n)}function Dn(e,t){var o=t.node,a=t.childIndex;if(null!==o){if("object"==typeof o){switch(o.$$typeof){case r:var s=o.type,l=o.key,u=o.props,h=void 0!==(o=u.ref)?o:null,f=nt(s),m=null==l?-1===a?0:a:l;if(l=[t.keyPath,f,m],null!==t.replay)e:{var g=t.replay;for(a=g.nodes,o=0;o<a.length;o++){var v=a[o];if(m===v[1]){if(4===v.length){if(null!==f&&f!==v[0])throw Error(n(490,v[0],f));var y=v[2];f=v[3],m=t.node,t.replay={nodes:y,slots:f,pendingTasks:1};try{if(Pn(e,t,l,s,u,h),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(P){if("object"==typeof P&&null!==P&&(P===yt||"function"==typeof P.then))throw t.node===m?t.replay=g:a.splice(o,1),P;t.replay.pendingTasks--,u=Cn(t.componentStack),Vn(l=e,e=t.blockedBoundary,y,f,s=P,u=wn(l,s,u))}t.replay=g}else{if(s!==d)throw Error(n(490,"Suspense",nt(s)||"Unknown"));t:{g=void 0,s=v[5],h=v[2],f=v[3],m=null===v[4]?[]:v[4][2],v=null===v[4]?null:v[4][3];var b=t.keyPath,C=t.formatContext,k=t.row,S=t.replay,x=t.blockedBoundary,T=t.hoistableState,M=u.children,A=u.fallback,L=new Set;(u=pn(e,t.row,L,null,null)).parentFlushed=!0,u.rootSegmentID=s,t.blockedBoundary=u,t.hoistableState=u.contentState,t.keyPath=l,t.formatContext=Z(e.resumableState,C),t.row=null,t.replay={nodes:h,slots:f,pendingTasks:1};try{if(jn(e,t,M,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));if(t.replay.pendingTasks--,0===u.pendingTasks&&0===u.status){u.status=1,e.completedBoundaries.push(u);break t}}catch(R){u.status=4,g=wn(e,R,y=Cn(t.componentStack)),u.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(u)}finally{t.blockedBoundary=x,t.hoistableState=T,t.replay=S,t.keyPath=b,t.formatContext=C,t.row=k}yn(y=gn(e,null,{nodes:m,slots:v,pendingTasks:0},A,-1,x,u.fallbackState,L,[l[0],"Suspense Fallback",l[2]],Y(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,bn(t.componentStack))),e.pingedTasks.push(y)}}a.splice(o,1);break e}}}else Pn(e,t,l,s,u,h);return;case i:throw Error(n(257));case p:if(o=(y=o._init)(o._payload),12===e.status)throw null;return void On(e,t,o,a)}if(E(o))return void In(e,t,o,a);if((y=w(o))&&(y=y.call(o))){if(!(o=y.next()).done){u=[];do{u.push(o.value),o=y.next()}while(!o.done);In(e,t,u,a)}return}if("function"==typeof o.then)return t.thenableState=null,On(e,t,Qt(o),a);if(o.$$typeof===c)return On(e,t,o._currentValue2,a);throw a=Object.prototype.toString.call(o),Error(n(31,"[object Object]"===a?"object with keys {"+Object.keys(o).join(", ")+"}":a))}"string"==typeof o?null!==(a=t.blockedSegment)&&(a.lastPushedText=Xe(a.chunks,o,e.render
vendor: 9,478 bytes, line 1
1State,a.lastPushedText)):"number"!=typeof o&&"bigint"!=typeof o||null!==(a=t.blockedSegment)&&(a.lastPushedText=Xe(a.chunks,""+o,e.renderState,a.lastPushedText))}}function In(e,t,r,i){var o=t.keyPath;if(-1===i||(t.keyPath=[t.keyPath,"Fragment",i],null===t.replay)){if(a=t.treeContext,s=r.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(i=0;i<s;i++)c=r[i],t.treeContext=ft(a,s,i),"number"==typeof(u=l[i])?(Rn(e,t,u,c,i),delete l[i]):jn(e,t,c,i);return t.treeContext=a,void(t.keyPath=o)}for(l=0;l<s;l++)i=r[l],t.treeContext=ft(a,s,l),jn(e,t,i,l);t.treeContext=a,t.keyPath=o}else{for(var a=t.replay,s=a.nodes,l=0;l<s.length;l++){var c=s[l];if(c[1]===i){i=c[2],c=c[3],t.replay={nodes:i,slots:c,pendingTasks:1};try{if(In(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(d){if("object"==typeof d&&null!==d&&(d===yt||"function"==typeof d.then))throw d;t.replay.pendingTasks--,r=Cn(t.componentStack);var u=t.blockedBoundary;Vn(e,u,i,c,d,r=wn(e,d,r))}t.replay=a,s.splice(l,1);break}}t.keyPath=o}}function _n(e,t,r){if(r.status=5,r.rootSegmentID=e.nextSegmentId++,null===(e=r.trackedContentKeyPath))throw Error(n(486));var i=r.trackedFallbackNode,o=t.workingMap.get(e);return void 0===o?(r=[e[1],e[2],[],null,i,r.rootSegmentID],t.workingMap.set(e,r),cr(r,e[0],t),r):(o[4]=i,o[5]=r.rootSegmentID,o)}function Fn(e,t,r,i){i.status=5;var o=r.keyPath,a=r.blockedBoundary;if(null===a)i.id=e.nextSegmentId++,t.rootSlots=i.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==a&&0===a.status){var s=_n(e,t,a);if(a.trackedContentKeyPath===o&&-1===r.childIndex)return-1===i.id&&(i.id=i.parentFlushed?a.rootSegmentID:e.nextSegmentId++),void(s[3]=i.id)}if(-1===i.id&&(i.id=i.parentFlushed&&null!==a?a.rootSegmentID:e.nextSegmentId++),-1===r.childIndex)null===o?t.rootSlots=i.id:void 0===(r=t.workingMap.get(o))?cr(r=[o[1],o[2],[],i.id],o[0],t):r[3]=i.id;else{if(null===o){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(n(491))}else if(void 0===(s=(a=t.workingMap).get(o)))e={},s=[o[1],o[2],[],e],a.set(o,s),cr(s,o[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(n(491));e[r.childIndex]=i.id}}}function $n(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function Nn(e,t,n){return gn(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Bn(e,t,n){var r=t.blockedSegment,i=vn(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,mn(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function jn(e,t,n,r){var i=t.formatContext,o=t.context,a=t.keyPath,s=t.treeContext,l=t.componentStack,c=t.blockedSegment;if(null===c){c=t.replay;try{return On(e,t,n,r)}catch(h){if(zt(),n=h===yt?Ct():h,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return e=Nn(e,t,r=h===yt?jt():null).ping,n.then(e,e),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=c,void ut(o);if("Maximum call stack size exceeded"===n.message)return n=Nn(e,t,n=h===yt?jt():null),e.pingedTasks.push(n),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=c,void ut(o)}}}else{var u=c.children.length,d=c.chunks.length;try{return On(e,t,n,r)}catch(f){if(zt(),c.children.length=u,c.chunks.length=d,n=f===yt?Ct():f,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return c=n,e=Bn(e,t,n=f===yt?jt():null).ping,c.then(e,e),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,void ut(o);if("Maximum call stack size exceeded"===n.message)return c=Bn(e,t,c=f===yt?jt():null),e.pingedTasks.push(c),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,void ut(o)}}}throw t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,ut(o),n}function zn(e){var t=e.blockedBoundary,n=e.blockedSegment;null!==n&&(n.status=3,Kn(this,t,e.row,n))}function Vn(e,t,r,i,o,a){for(var s=0;s<r.length;s++){var l=r[s];if(4===l.length)Vn(e,t,l[2],l[3],o,a);else{l=l[5];var c=e,u=a,d=pn(c,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=l,d.status=4,d.errorDigest=u,d.parentFlushed&&c.clientRenderedBoundaries.push(d)}}if(r.length=0,null!==i){if(null===t)throw Error(n(487));if(4!==t.status&&(t.status=4,t.errorDigest=a,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof i)for(var h in i)delete i[h]}}function Hn(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(null!==i){if(6===i.status)return;i.status=3}var o=Cn(e.componentStack);if(null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return void(null!==t.trackedPostpones&&null!==i?(r=t.trackedPostpones,wn(t,n,o),Fn(t,r,e,i),Kn(t,null,e.row,i)):(wn(t,n,o),En(t,n)));r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(i=wn(t,n,o),Vn(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,0===t.pendingRootTasks&&Wn(t)}}else{var a=t.trackedPostpones;if(4!==r.status){if(null!==a&&null!==i)return wn(t,n,o),Fn(t,a,e,i),r.fallbackAbortableTasks.forEach(function(e){return Hn(e,t,n)}),r.fallbackAbortableTasks.clear(),Kn(t,r,e.row,i);r.status=4,i=wn(t,n,o),r.status=4,r.errorDigest=i,$n(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,null!==(i=r.row)&&0===--i.pendingTasks&&kn(t,i),r.fallbackAbortableTasks.forEach(function(e){return Hn(e,t,n)}),r.fallbackAbortableTasks.clear()}null!==(e=e.row)&&0===--e.pendingTasks&&kn(t,e),t.allPendingTasks--,0===t.allPendingTasks&&Gn(t)}function Un(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var o=i.preconnects;if(i.fontPreloads&&(o&&(o+=", "),o+=i.fontPreloads),i.highImagePreloads&&(o&&(o+=", "),o+=i.highImagePreloads),!t){var a=n.styles.values(),s=a.next();e:for(;0<i.remainingCapacity&&!s.done;s=a.next())for(var l=s.value.sheets.values(),c=l.next();0<i.remainingCapacity&&!c.done;c=l.next()){var u=c.value,d=u.props,h=d.href,f=u.props,p=Ue(f.href,"style",{crossOrigin:f.crossOrigin,integrity:f.integrity,nonce:f.nonce,type:f.type,fetchPriority:f.fetchPriority,referrerPolicy:f.referrerPolicy,media:f.media});if(!(0<=(i.remainingCapacity-=p.length+2)))break e;n.resets.style[h]=V,o&&(o+=", "),o+=p,n.resets.style[h]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:V}}r(o?{Link:o}:{})}}}catch(m){wn(e,m,{})}}function Wn(e){null===e.trackedPostpones&&Un(e,!0),null===e.trackedPostpones&&Xn(e),e.onShellError=vt,(e=e.onShellReady)()}function Gn(e){Un(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),Xn(e),(e=e.onAllReady)()}function qn(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1!==n.status&&3!==n.status&&4!==n.status||qn(e,n)}else e.completedSegments.push(t)}function Kn(e,t,r,i){if(null!==r&&(0===--r.pendingTasks?kn(e,r):r.together&&xn(e,r)),e.allPendingTasks--,null===t){if(null!==i&&i.parentFlushed){if(null!==e.completedRootSegment)throw Error(n(389));e.completedRootSegment=i}e.pendingRootTasks--,0===e.pendingRootTasks&&Wn(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==i&&i.parentFlushed&&(1===i.status||3===i.status)&&qn(t,i),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(r=t.row)&&Qe(r.hoistables,t.contentState),cn(0,t)||(t.fallbackAbortableTasks.forEach(zn,e),t.fallbackAbortableTasks.clear(),null!==r&&0===--r.pendingTasks&&kn(e,r)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&Xn(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){r=e.trackedPostpones;var o=t.next;if(null!==o&&null!==(i=o.boundaries))for(o.boundaries=null,o=0;o<i.length;o++){var a=i[o];_n(e,r,a),Kn(e,a,null,null)}}0===--t.pendingTasks&&kn(e,t)}}else null===i||!i.parentFlushed||1!==i.status&&3!==i.status||(qn(t,i),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&xn(e,t);0===e.allPendingTasks&&Gn(e)}function Yn(e){if(14!==e.status&&13!==e.status){var t=it,r=N.H;N.H=tn;var i=N.A;N.A=rn;var o=hn;hn=e;var a=nn;nn=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var c=l[s],u=e,d=c.blockedSegment;if(null===d){var h=u;if(0!==c.replay.pendingTasks){ut(c.context);try{if("number"==typeof c.replay.slots?Rn(h,c,c.replay.slots,c.node,c.childIndex):Dn(h,c),1===c.replay.pendingTasks&&0<c.replay.nodes.length)throw Error(n(488));c.replay.pendingTasks--,c.abortSet.delete(c),Kn(h,c.blockedBoundary,c.row,null)}catch(L){zt();var f=L===yt?Ct():L;if("object"==typeof f&&null!==f&&"function"==typeof f.then){var p=c.ping;f.then(p,p),c.thenableState=L===yt?jt():null}else{c.replay.pendingTasks--,c.abortSet.delete(c);var m=Cn(c.componentStack);u=void 0;var g=h,v=c.blockedBoundary,y=12===h.status?h.fatalError:f;Vn(g,v,c.replay.nodes,c.replay.slots,y,u=wn(g,y,m)),h.pendingRootTasks--,0===h.pendingRootTasks&&Wn(h),h.allPendingTasks--,0===h.allPendingTasks&&Gn(h)}}}}else if(h=void 0,0===(g=d).status){g.status=6,ut(c.context);var b=g.children.length,C=g.chunks.length;
1try{Dn(u,c),Je(g.chunks,u.renderState,g.lastPushedText,g.textEmbedded),c.abortSet.delete(c),g.status=1,Kn(u,c.blockedBoundary,c.row,g)}catch(L){zt(),g.children.length=b,g.chunks.length=C;var w=L===yt?Ct():12===u.status?u.fatalError:L;if(12===u.status&&null!==u.trackedPostpones){var E=u.trackedPostpones,k=Cn(c.componentStack);c.abortSet.delete(c),wn(u,w,k),Fn(u,E,c,g),Kn(u,c.blockedBoundary,c.row,g)}else if("object"==typeof w&&null!==w&&"function"==typeof w.then){g.status=0,c.thenableState=L===yt?jt():null;var S=c.ping;w.then(S,S)}else{var x=Cn(c.componentStack);c.abortSet.delete(c),g.status=4;var T=c.blockedBoundary,M=c.row;if(null!==M&&0===--M.pendingTasks&&kn(u,M),u.allPendingTasks--,h=wn(u,w,x),null===T)En(u,w);else if(T.pendingTasks--,4!==T.status){T.status=4,T.errorDigest=h,$n(u,T);var A=T.row;null!==A&&0===--A.pendingTasks&&kn(u,A),T.parentFlushed&&u.clientRenderedBoundaries.push(T),0===u.pendingRootTasks&&null===u.trackedPostpones&&null!==T.contentPreamble&&Xn(u)}0===u.allPendingTasks&&Gn(u)}}}}l.splice(0,s),null!==e.destination&&ar(e,e.destination)}catch(P){wn(e,P,{}),En(e,P)}finally{nn=a,N.H=r,N.A=i,r===tn&&ut(t),hn=o}}}function Zn(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=Qn(e,t.children[i],n)||r;return r}function Qn(e,t,r){var i=t.boundary;if(null===i)return Zn(e,t,r);var o=i.contentPreamble,a=i.fallbackPreamble;if(null===o||null===a)return!1;switch(i.status){case 1:if(Ee(e.renderState,o),e.byteSize+=i.byteSize,!(t=i.completedSegments[0]))throw Error(n(391));return Zn(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return Ee(e.renderState,a),Zn(e,t,r);default:return!0}}function Xn(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=e.byteSize,r=Qn(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function Jn(e,t,r,i){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return i=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,t.push('<template id="'),t.push(e.placeholderPrefix),e=i.toString(16),t.push(e),t.push('"></template>');case 1:r.status=2;var o=!0,a=r.chunks,s=0;r=r.children;for(var l=0;l<r.length;l++){for(o=r[l];s<o.index;s++)t.push(a[s]);o=tr(e,t,o,i)}for(;s<a.length-1;s++)t.push(a[s]);return s<a.length&&(o=t.push(a[s])),o;case 3:return!0;default:throw Error(n(390))}}var er=0;function tr(e,t,r,i){var o=r.boundary;if(null===o)return Jn(e,t,r,i);if(o.parentFlushed=!0,4===o.status){var a=o.row;return null!==a&&0===--a.pendingTasks&&kn(e,a),e.renderState.generateStaticMarkup||(o=o.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),o&&(t.push(' data-dgst="'),o=D(o),t.push(o),t.push('"')),t.push("></template>")),Jn(e,t,r,i),!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}if(1!==o.status)return 0===o.status&&(o.rootSegmentID=e.nextSegmentId++),0<o.completedSegments.length&&e.partialBoundaries.push(o),Se(t,e.renderState,o.rootSegmentID),i&&Qe(i,o.fallbackState),Jn(e,t,r,i),t.push("\x3c!--/$--\x3e");if(!or&&cn(0,o)&&er+o.byteSize>e.progressiveChunkSize)return o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),Se(t,e.renderState,o.rootSegmentID),Jn(e,t,r,i),t.push("\x3c!--/$--\x3e");if(er+=o.byteSize,i&&Qe(i,o.contentState),null!==(r=o.row)&&cn(0,o)&&0===--r.pendingTasks&&kn(e,r),e.renderState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(r=o.completedSegments).length)throw Error(n(391));return tr(e,t,r[0],i),!!e.renderState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function nr(e,t,r,i){return function(e,t,r,i){switch(r.insertionMode){case 0:case 1:case 3:case 2:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 4:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 5:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 8:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');case 9:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push('">');default:throw Error(n(397))}}
vendor: 15,595 bytes, line 1
1(t,e.renderState,r.parentFormatContext,r.id),tr(e,t,r,i),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return e.push("</div>");case 4:return e.push("</svg>");case 5:return e.push("</math>");case 6:return e.push("</table>");case 7:return e.push("</tbody></table>");case 8:return e.push("</tr></table>");case 9:return e.push("</colgroup></table>");default:throw Error(n(397))}}(t,r.parentFormatContext)}function rr(e,t,r){er=r.byteSize;for(var i=r.completedSegments,o=0;o<i.length;o++)ir(e,t,r,i[o]);i.length=0,null!==(i=r.row)&&cn(0,r)&&0===--i.pendingTasks&&kn(e,i),De(t,r.contentState,e.renderState),i=e.resumableState,e=e.renderState,o=r.rootSegmentID,r=r.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(">"),a?(!(4&i.instructions)&&(i.instructions|=4,t.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};')),!(2&i.instructions)&&(i.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),8&i.instructions?t.push('$RR("'):(i.instructions|=8,t.push('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'))):(!(2&i.instructions)&&(i.instructions|=2,t.push('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};')),t.push('$RC("')),i=o.toString(16),t.push(e.boundaryPrefix),t.push(i),t.push('","'),t.push(e.segmentPrefix),t.push(i),a?(t.push('",'),function(e,t){e.push("[");var r="[";t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)e.push(r),t=Ae(""+t.props.href),e.push(t),e.push("]"),r=",[";else{e.push(r);var i=t.props["data-precedence"],o=t.props,a=$(""+t.props.href);for(var s in a=Ae(a),e.push(a),i=""+i,e.push(","),i=Ae(i),e.push(i),o)if(x.call(o,s)&&null!=(i=o[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:ze(e,s,i)}e.push("]"),r=",[",t.state=3}}),e.push("]")}(t,r)):t.push('"'),r=t.push(")<\/script>"),ke(t,e)&&r}function ir(e,t,r,i){if(2===i.status)return!0;var o=r.contentState,a=i.id;if(-1===a){if(-1===(i.id=r.rootSegmentID))throw Error(n(392));return nr(e,t,i,o)}return a===r.rootSegmentID?nr(e,t,i,o):(nr(e,t,i,o),r=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(">"),1&r.instructions?t.push('$RS("'):(r.instructions|=1,t.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),a=a.toString(16),t.push(a),t.push('","'),t.push(e.placeholderPrefix),t.push(a),t=t.push('")<\/script>'))}var or=!1;function ar(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var i=e.completedPreambleSegments;if(null===i)return;er=e.byteSize;var o,a=e.resumableState,s=e.renderState,l=s.preamble,c=l.htmlChunks,u=l.headChunks;if(c){for(o=0;o<c.length;o++)t.push(c[o]);if(u)for(o=0;o<u.length;o++)t.push(u[o]);else{var d=be("head");t.push(d),t.push(">")}}else if(u)for(o=0;o<u.length;o++)t.push(u[o]);var h=s.charsetChunks;for(o=0;o<h.length;o++)t.push(h[o]);h.length=0,s.preconnects.forEach(Ie,t),s.preconnects.clear();var f=s.viewportChunks;for(o=0;o<f.length;o++)t.push(f[o]);f.length=0,s.fontPreloads.forEach(Ie,t),s.fontPreloads.clear(),s.highImagePreloads.forEach(Ie,t),s.highImagePreloads.clear(),H=s,s.styles.forEach($e,t),H=null;var p=s.importMapChunks;for(o=0;o<p.length;o++)t.push(p[o]);p.length=0,s.bootstrapScripts.forEach(Ie,t),s.scripts.forEach(Ie,t),s.scripts.clear(),s.bulkPreloads.forEach(Ie,t),s.bulkPreloads.clear(),a.instructions|=32;var m=s.hoistableChunks;for(o=0;o<m.length;o++)t.push(m[o]);for(a=m.length=0;a<i.length;a++){var g=i[a];for(s=0;s<g.length;s++)tr(e,t,g[s],null)}var v=e.renderState.preamble,y=v.headChunks;if(v.htmlChunks||y){var b=we("head");t.push(b)}var C=v.bodyChunks;if(C)for(i=0;i<C.length;i++)t.push(C[i]);tr(e,t,r,null),e.completedRootSegment=null;var w=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var E=e.resumableState;if(!(64&E.instructions)){if(E.instructions|=64,t.push(w.startInlineScript),!(32&E.instructions)){E.instructions|=32;var k="_"+E.idPrefix+"R_";t.push(' id="');var S=D(k);t.push(S),t.push('"')}t.push(">"),t.push("requestAnimationFrame(function(){$RT=performance.now()});"),t.push("<\/script>")}}ke(t,w)}var x=e.renderState;r=0;var T=x.viewportChunks;for(r=0;r<T.length;r++)t.push(T[r]);T.length=0,x.preconnects.forEach(Ie,t),x.preconnects.clear(),x.fontPreloads.forEach(Ie,t),x.fontPreloads.clear(),x.highImagePreloads.forEach(Ie,t),x.highImagePreloads.clear(),x.styles.forEach(Be,t),x.scripts.forEach(Ie,t),x.scripts.clear(),x.bulkPreloads.forEach(Ie,t),x.bulkPreloads.clear();var M=x.hoistableChunks;for(r=0;r<M.length;r++)t.push(M[r]);M.length=0;var A=e.clientRenderedBoundaries;for(n=0;n<A.length;n++){var L=A[n];x=t;var P=e.resumableState,R=e.renderState,O=L.rootSegmentID,I=L.errorDigest;x.push(R.startInlineScript),x.push(">"),4&P.instructions?x.push('$RX("'):(P.instructions|=4,x.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')),x.push(R.boundaryPrefix);var _=O.toString(16);if(x.push(_),x.push('"'),I){x.push(",");var F=Te(I||"");x.push(F)}var $=x.push(")<\/script>");if(!$)return e.destination=null,n++,void A.splice(0,n)}A.splice(0,n);var N=e.completedBoundaries;for(n=0;n<N.length;n++)if(!rr(e,t,N[n]))return e.destination=null,n++,void N.splice(0,n);N.splice(0,n),or=!0;var B=e.partialBoundaries;for(n=0;n<B.length;n++){var j=B[n];e:{A=e,L=t,er=j.byteSize;var z=j.completedSegments;for($=0;$<z.length;$++)if(!ir(A,L,j,z[$])){$++,z.splice(0,$);var V=!1;break e}z.splice(0,$);var U=j.row;null!==U&&U.together&&1===j.pendingTasks&&(1===U.pendingTasks?Sn(A,U,U.hoistables):U.pendingTasks--),V=De(L,j.contentState,A.renderState)}if(!V)return e.destination=null,n++,void B.splice(0,n)}B.splice(0,n),or=!1;var W=e.completedBoundaries;for(n=0;n<W.length;n++)if(!rr(e,t,W[n]))return e.destination=null,n++,void W.splice(0,n);W.splice(0,n)}}finally{or=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&(e.flushScheduled=!1,(n=e.resumableState).hasBody&&(B=we("body"),t.push(B)),n.hasHtml&&(n=we("html"),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function sr(e){if(!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination){e.flushScheduled=!0;var t=e.destination;t?ar(e,t):e.flushScheduled=!1}}function lr(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var r=e.abortableTasks;if(0<r.size){var i=void 0===t?Error(n(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(n(530)):t;e.fatalError=i,r.forEach(function(t){return Hn(t,e,i)}),r.clear()}null!==e.destination&&ar(e,e.destination)}catch(o){wn(e,o,{}),En(e,o)}}function cr(e,t,n){if(null===t)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);void 0===i&&(i=[t[1],t[2],[],null],r.set(t,i),cr(i,t[0],n)),i[2].push(e)}}function ur(){}function dr(e,t,r,i){var o,a=!1,s=null,l="",c=!1;if(e=function(e,t,n,r,i,o){return(n=vn(t=new dn(t,n,r,1/0,o,void 0,function(){c=!0},void 0,void 0,void 0,void 0),0,null,r,!1,!1)).parentFlushed=!0,yn(e=mn(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,ht,null,null)),t.pingedTasks.push(e),t}(e,t={idPrefix:void 0===(o=t?t.identifierPrefix:void 0)?"":o,nextFormID:0,streamingFormat:0,bootstrapScriptContent:void 0,bootstrapScripts:void 0,bootstrapModules:void 0,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}},function(e,t){var n=e.idPrefix,r=[],i=e.bootstrapScriptContent,o=e.bootstrapScripts,a=e.bootstrapModules;void 0!==i&&(r.push("<script"),je(r,e),r.push(">",(""+i).replace(U,W),"<\/script>")),i=n+"P:";var s=n+"S:";n+="B:";var l=new Set,c=new Set,u=new Set,d=new Map,h=new Set,f=new Set,p=new Set,m={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(void 0!==o)for(var g=0;g<o.length;g++){var v,y=o[g],b=void 0,C=void 0,w={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};"string"==typeof y?w.href=v=y:(w.href=v=y.src,w.integrity=C="string"==typeof y.integrity?y.integrity:void 0,w.crossOrigin=b="string"==typeof y||null==y.crossOrigin?void 0:"use-credentials"===y.crossOrigin?"use-credentials":"");var E=v;(y=e).scriptResources[E]=null,y.moduleScriptResources[E]=null,ce(y=[],w),h.add(y),r.push('<script src="',D(v),'"'),"string"==typeof C&&r.push(' integrity="',D(C),'"'),"string"==typeof b&&r.push(' crossorigin="',D(b),'"'),je(r,e),r.push(' async=""><\/script>')}if(void 0!==a)for(o=0;o<a.length;o++)b=v=void 0,C={rel:"modulepreload",fetchPriority:"low",nonce:void 0},"string"==typeof(w=a[o])?C.href=g=w:(C.href=g=w.src,C.integrity=b="string"==typeof w.integrity?w.integrity:void 0,C.crossOrigin=v="string"==typeof w||null==w.crossOrigin?void 0:"use-credentials"===w.crossOrigin?"use-credentials":""),y=g,(w=e).scriptResources[y]=null,w.moduleScriptResources[y]=null,ce(w=[],C),h.add(w),r.push('<script type="module" src="',D(g),'"'),"string"==typeof b&&r.push(' integrity="',D(b),'"'),"string"==typeof v&&r.push(' crossorigin="',D(v),'"'),je(r,e),r.push(' async=""><\/script>');return{placeholderPrefix:i,segmentPrefix:s,boundaryPrefix:n,startInlineScript:"<script",startInlineStyle:"<style",preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:r,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:l,fontPreloads:c,highImagePreloads:u,styles:d,bootstrapScripts:h,scripts:f,bulkPreloads:p,preloads:m,nonce:{script:void 0,style:void 0},stylesToHoist:!1,generateStaticMarkup:t}}(t,r),G(0,null,0,null),0,ur),e.flushScheduled=null!==e.destination,Yn(e),10===e.status&&(e.status=11),null===e.trackedPostpones&&Un(e,0===e.pendingRootTasks),lr(e,i),function(e,t){if(13===e.status)e.status=14,t.destroy(e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{ar(e,t)}catch(n){wn(e,n,{}),En(e,n)}}}(e,{push:function(e){return null!==e&&(l+=e),!0},destroy:function(e){a=!0,s=e}}),a&&s!==i)throw s;if(!c)throw Error(n(426));return l}return oOe.renderToStaticMarkup=function(e,t){return dr(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},oOe.renderToString=function(e,t){return dr(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},oOe.version="19.2.7",oOe}(),uOe=function(){if(aOe)return lOe;aOe=1;var e=Zt(),t=po();function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.scope"),g=Symbol.for("react.activity"),v=Symbol.for("react.legacy_hidden"),y=Symbol.for("react.memo_cache_sentinel"),b=Symbol.for("react.view_transition"),C=Symbol.iterator;function w(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=C&&e[C]||e["@@iterator"])?e:null}var E=Array.isArray;function k(e,t){var n=3&e.length,r=e.length-n,i=t;for(t=0;t<r;){var o=255&e.charCodeAt(t)|(255&e.charCodeAt(++t))<<8|(255&e.charCodeAt(++t))<<16|(255&e.charCodeAt(++t))<<24;++t,i=27492+(65535&(i=5*(65535&(i=(i^=o=461845907*(65535&(o=(o=3432918353*(65535&o)+((3432918353*(o>>>16)&65535)<<16)&4294967295)<<15|o>>>
vendor: 5,263 bytes, line 1
117))+((461845907*(o>>>16)&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+(((i>>>16)+58964&65535)<<16)}switch(o=0,n){case 3:o^=(255&e.charCodeAt(t+2))<<16;case 2:o^=(255&e.charCodeAt(t+1))<<8;case 1:i^=461845907*(65535&(o=(o=3432918353*(65535&(o^=255&e.charCodeAt(t)))+((3432918353*(o>>>16)&65535)<<16)&4294967295)<<15|o>>>17))+((461845907*(o>>>16)&65535)<<16)&4294967295}return i^=e.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,((i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295)^i>>>16)>>>0}var S=new MessageChannel,x=[];function T(e){x.push(e),S.port2.postMessage(null)}function M(e){setTimeout(function(){throw e})}S.port1.onmessage=function(){var e=x.shift();e&&e()};var A=Promise,L="function"==typeof queueMicrotask?queueMicrotask:function(e){A.resolve(null).then(e).catch(M)},P=null,R=0;function O(e,t){if(0!==t.byteLength)if(2048<t.byteLength)0<R&&(e.enqueue(new Uint8Array(P.buffer,0,R)),P=new Uint8Array(2048),R=0),e.enqueue(t);else{var n=P.length-R;n<t.byteLength&&(0===n?e.enqueue(P):(P.set(t.subarray(0,n),R),e.enqueue(P),t=t.subarray(n)),P=new Uint8Array(2048),R=0),P.set(t,R),R+=t.byteLength}}function D(e,t){return O(e,t),!0}function I(e){P&&0<R&&(e.enqueue(new Uint8Array(P.buffer,0,R)),P=null,R=0)}var _=new TextEncoder;function F(e){return _.encode(e)}function $(e){return _.encode(e)}function N(e){return e.byteLength}function B(e,t){"function"==typeof e.error?e.error(t):e.close()}var j=Object.assign,z=Object.prototype.hasOwnProperty,V=RegExp("^[: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]*$"),H={},U={};function W(e){return!!z.call(U,e)||!z.call(H,e)&&(V.test(e)?U[e]=!0:(H[e]=!0,!1))}var G=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),q=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
1-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),K=/["'&<>]/;function Y(e){if("boolean"==typeof e||"number"==typeof e||"bigint"==typeof e)return""+e;e=""+e;var t=K.exec(e);if(t){var n,r="",i=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}i!==n&&(r+=e.slice(i,n)),i=n+1,r+=t}e=i!==n?r+e.slice(i,n):r}return e}var Z=/([A-Z])/g,Q=/^ms-/,X=/^[\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;function J(e){return X.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var ee=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pending:!1,data:null,method:null,action:null},re=te.d;te.d={f:re.f,r:re.r,D:function(e){var t=Si||null;if(t){var n,r,i=t.resumableState,o=t.renderState;if("string"==typeof e&&e)i.dnsResources.hasOwnProperty(e)||(i.dnsResources[e]=null,(r=(i=o.headers)&&0<i.remainingCapacity)&&(n="<"+(""+e).replace(ir,or)+">; rel=dns-prefetch",r=0<=(i.remainingCapacity-=n.length+2)),r?(o.resets.dns[e]=null,i.preconnects&&(i.preconnects+=", "),i.preconnects+=n):(nt(n=[],{href:e,rel:"dns-prefetch"}),o.preconnects.add(n))),ko(t)}else re.D(e)},C:function(e,t){var n=Si||null;if(n){var r=n.resumableState,i=n.renderState;if("string"==typeof e&&e){var o,a,s="use-credentials"===t?"credentials":"string"==typeof t?"anonymous":"default";if(!r.connectResources[s].hasOwnProperty(e))r.connectResources[s][e]=null,(a=(r=i.headers)&&0<r.remainingCapacity)&&(a="<"+(""+e).replace(ir,or)+">; rel=preconnect","string"==typeof t&&(a+='; crossorigin="'+(""+t).replace(ar,sr)+'"'),o=a,a=0<=(r.remainingCapacity-=o.length+2)),a?(i.resets.connect[s][e]=null,r.preconnects&&(r.preconnects+=", "),r.preconnects+=o):(nt(s=[],{rel:"preconnect",href:e,crossOrigin:t}),i.preconnects.add(s));ko(n)}}else re.C(e,t)},L:function(e,t,n){var r=Si||null;if(r){var i=r.resumableState,o=r.renderState;if(t&&e){switch(t){case"image":if(n)var a=n.imageSrcSet,s=n.imageSizes,l=n.fetchPriority;var c,u=a?a+"\n"+(s||""):e;if(i.imageResources.hasOwnProperty(u))return;i.imageResources[u]=ie,(i=o.headers)&&0<i.remainingCapacity&&"string"!=typeof a&&"high"===l&&(c=rr(e,t,n),0<=(i.remainingCapacity-=c.length+2))?(o.resets.image[u]=ie,i.highImagePreloads&&(i.highImagePreloads+=", "),i.highImagePreloads+=c):(nt(i=[],j({rel:"preload",href:a?void 0:e,as:t},n)),"high"===l?o.highImagePreloads.add(i):(o.bulkPreloads.add(i),o.preloads.images.set(u,i)));break;case"style":if(i.styleResources.hasOwnProperty(e))return;nt(a=[],j({rel:"preload",href:e,as:t},n)),i.styleResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?ie:[n.crossOrigin,n.integrity],o.preloads.stylesheets.set(e,a),o.bulkPreloads.add(a);break;case"script":if(i.scriptResources.hasOwnProperty(e))return;a=[],o.preloads.scripts.set(e,a),o.bulkPreloads.add(a),nt(a,j({rel:"preload",href:e,as:t},n)),i.scriptResources[e]=!n||"string"!=typeof n.crossOrigin&&"string"!=typeof n.integrity?ie:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if((a=i.unknownResources[t]).hasOwnProperty(e))return}else a={},i.unknownResources[t]=a;a[e]=ie,(i=o.headers)&&0<i.remainingCapacity&&"font"===t&&(u=rr(e,t,n),0<=(i.remainingCapacity-=u.length+2))?(o.resets.font[e]=ie,i.fontPreloads&&(i.fontPreloads+=", "),i.fontPreloads+=u):"font"===(nt(i=[],e=j({rel:"preload",href:e,as:t},n)),t)?o.fontPreloads.add(i):o.bulkPreloads.add(i)}ko(r)}}else re.L(e,t,n)},m:function(e,t){var n=Si||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=t&&"string"==typeof t.as?t.as:"script";if("script"===o){if(r.moduleScriptResources.hasOwnProperty(e))return;o=[],r.moduleScriptResources[e]=!t||"string"!=typeof t.crossOrigin&&"string"!=typeof t.integrity?ie:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,o)}else{if(r.moduleUnknownResources.hasOwnProperty(o)){var a=r.unknownResources[o];if(a.hasOwnProperty(e))return}else a={},r.moduleUnknownResources[o]=a;o=[],a[e]=ie}nt(o,j({rel:"modulepreload",href:e},t)),i.bulkPreloads.add(o),ko(n)}}else re.m(e,t)},X:function(e,t){var n=Si||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;null!==o&&(r.scriptResources[e]=null,t=j({src:e,async:!0},t),o&&(2===o.length&&nr(t,o),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),ut(e,t),ko(n))}}else re.X(e,t)},S:function(e,t,n){var r=Si||null;
vendor: 5,408 bytes, line 1
1if(r){var i=r.resumableState,o=r.renderState;if(e){t=t||"default";var a=o.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;null!==s&&(i.styleResources[e]=null,a||(a={precedence:F(Y(t)),rules:[],hrefs:[],sheets:new Map},o.styles.set(t,a)),t={state:0,props:j({rel:"stylesheet",href:e,"data-precedence":t},n)},s&&(2===s.length&&nr(t.props,s),(o=o.preloads.stylesheets.get(e))&&0<o.length?o.length=0:t.state=1),a.sheets.set(e,t),ko(r))}}else re.S(e,t,n)},M:function(e,t){var n=Si||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var o=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;null!==o&&(r.moduleScriptResources[e]=null,t=j({src:e,type:"module",async:!0},t),o&&(2===o.length&&nr(t,o),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),ut(e,t),ko(n))}}else re.M(e,t)}};var ie=[],oe=null;$('"></template>');var ae=$("<script"),se=$("<\/script>"),le=$('<script src="'),ce=$('<script type="module" src="'),ue=$(' nonce="'),de=$(' integrity="'),he=$(' crossorigin="'),fe=$(' async=""><\/script>'),pe=$("<style"),me=/(<\/|<)(s)(cript)/gi;function ge(e,t,n,r){return t+("s"===n?"\\u0073":"\\u0053")+r}var ve=$('<script type="importmap">'),ye=$("<\/script>");function be(e,t,n,r,i,o){var a=void 0===(n="string"==typeof t?t:t&&t.script)?ae:$('<script nonce="'+Y(n)+'"'),s="string"==typeof t?void 0:t&&t.style,l=void 0===s?pe:$('<style nonce="'+Y(s)+'"'),c=e.idPrefix,u=[],d=e.bootstrapScriptContent,h=e.bootstrapScripts,f=e.bootstrapModules;if(void 0!==d&&(u.push(a),Yn(u,e),u.push(Ke,F((""+d).replace(me,ge)),se)),d=[],void 0!==r&&(d.push(ve),d.push(F((""+JSON.stringify(r)).replace(me,ge))),d.push(ye)),r=i?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+("number"==typeof o?o:2e3)}:null,i={placeholderPrefix:$(c+"P:"),segmentPrefix:$(c+"S:"),boundaryPrefix:$(c+"B:"),startInlineScript:a,startInlineStyle:l,preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:u,importMapChunks:d,onHeaders:i,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:n,style:s},hoistableState:null,stylesToHoist:!1},void 0!==h)for(r=0;r<h.length;r++)s=a=void 0,l={rel:"preload",as:"script",fetchPriority:"low",nonce:t},"string"==typeof(c=h[r])?l.href=o=c:(l.href=o=c.src,l.integrity=s="string"==typeof c.integrity?c.integrity:void 0,l.crossOrigin=a="string"==typeof c||null==c.crossOrigin?void 0:"use-credentials"===c.crossOrigin?"use-credentials":""),d=o,(c=e).scriptResources[d]=null,c.moduleScriptResources[d]=null,nt(c=[],l),i.bootstrapScripts.add(c),u.push(le,F(Y(o)),$e),n&&u.push(ue,F(Y(n)),$e),"string"==typeof s&&u.push(de,F(Y(s)),$e),"string"==typeof a&&u.push(he,F(Y(a)),$e),Yn(u,e),u.push(fe);if(void 0!==f)for(t=0;t<f.length;t++)o=r=void 0,a={rel:"modulepreload",fetchPriority:"low",nonce:n},"string"==typeof(s=f[t])?a.href=h=s:(a.href=h=s.src,a.integrity=o="string"==typeof s.integrity?s.integrity:void 0,a.crossOrigin=r="string"==typeof s||null==s.crossOrigin?void 0:"use-credentials"===s.crossOrigin?"use-credentials":""),l=h,(s=e).scriptResources[l]=null,s.moduleScriptResources[l]=null,nt(s=[],a),i.bootstrapScripts.add(s),u.push(ce,F(Y(h)),$e),n&&u.push(ue,F(Y(n)),$e),"string"==typeof o&&u.push(de,F(Y(o)),$e),"string"==typeof r&&u.push(he,F(Y(r)),$e),Yn(u,e),u.push(fe);return i}function Ce(e,t,n,r,i){return{idPrefix:void 0===e?"":e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function we(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function Ee(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function ke(e){return Ee("http://www.w3.org/2000/svg"===e?4:"http://www.w3.org/1998/Math/MathML"===e?5:0,null,0,null)}function Se(e,t,n){var r=-25&e.tagScope;switch(t){case"noscript":return Ee(2,null,1|r,null);case"select":return Ee(2,null!=n.value?n.value:n.defaultValue,r,null);case"svg":return Ee(4,null,r,null);case"picture":return Ee(2,null,2|r,null);case"math":return Ee(5,null,r,null);case"foreignObject":return Ee(2,null,r,null);case"table":return Ee(6,null,r,null);case"thead":case"tbody":case"tfoot":return Ee(7,null,r,null);case"colgroup":return Ee(9,null,r,null);case"tr":return Ee(8,null,r,null);case"head":if(2>e.insertionMode)return Ee(3,null,r,null);break;case"html":if(0===e.insertionMode)return Ee(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?Ee(2,null,r,null):e.tagScope!==r?Ee(e.insertionMode,e.selectedValue,r,null):e}function xe(e){return null===e?null:{update:e.update,enter:"none",exit:"none",share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function Te(e,t){return 32&t.tagScope&&(e.instructions|=128),Ee(t.insertionMode,t.selectedValue,12|t.tagScope,xe(t.viewTransition))}function Me(e,t){e=xe(t.viewTransition);var n=16|t.tagScope;
vendor: 4,534 bytes, line 1
1return null!==e&&"none"!==e.share&&(n|=64),Ee(t.insertionMode,t.selectedValue,n,e)}var Ae=$("\x3c!-- --\x3e");function Le(e,t,n,r){return""===t?r:(r&&e.push(Ae),e.push(F(Y(t))),!0)}var Pe=new Map,Re=$(' style="'),Oe=$(":"),De=$(";");function Ie(e,t){if("object"!=typeof t)throw Error(n(62));var r,i=!0;for(r in t)if(z.call(t,r)){var o=t[r];if(null!=o&&"boolean"!=typeof o&&""!==o){if(0===r.indexOf("--")){var a=F(Y(r));o=F(Y((""+o).trim()))}else void 0===(a=Pe.get(r))&&(a=$(Y(r.replace(Z,"-$1").toLowerCase().replace(Q,"-ms-"))),Pe.set(r,a)),o="number"==typeof o?0===o||G.has(r)?F(""+o):F(o+"px"):F(Y((""+o).trim()));i?(i=!1,e.push(Re,a,Oe,o)):e.push(De,a,Oe,o)}}i||e.push($e)}var _e=$(" "),Fe=$('="'),$e=$('"'),Ne=$('=""');function Be(e,t,n){n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(_e,F(t),Ne)}function je(e,t,n){"function"!=typeof n&&"symbol"!=typeof n&&"boolean"!=typeof n&&e.push(_e,F(t),Fe,F(Y(n)),$e)}var ze=$(Y("javascript:throw new Error('React form unexpectedly submitted.')")),Ve=$('<input type="hidden"');function He(e,t){this.push(Ve),Ue(e),je(this,"name",t),je(this,"value",e),this.push(Ye)}function Ue(e){if("string"!=typeof e)throw Error(n(480))}function We(e,t){if("function"==typeof t.$$FORM_ACTION){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);if(r){var i=r.data;null!=i&&i.forEach(Ue)}return r}catch(o){if("object"==typeof o&&null!==o&&"function"==typeof o.then)throw o}}return null}function Ge(e,t,n,r,i,o,a,s){var l=null;if("function"==typeof r){var c=We(t,r);null!==c?(s=c.name,r=c.action||"",i=c.encType,o=c.method,a=c.target,l=c.data):(e.push(_e,F("formAction"),Fe,ze,$e),a=o=i=r=s=null,Je(t,n))}return null!=s&&qe(e,"name",s),null!=r&&qe(e,"formAction",r),null!=i&&qe(e,"formEncType",i),null!=o&&qe(e,"formMethod",o),null!=a&&qe(e,"formTarget",a),l}function qe(e,t,n){switch(t){case"className":je(e,"class",n);break;case"tabIndex":je(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":je(e,t,n);break;case"style":Ie(e,n);break;case"src":case"href":if(""===n)break;case"action":case"formAction":if(null==n||"function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=J(""+n),e.push(_e,F(t),Fe,F(Y(n)),$e);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":Be(e,t.toLowerCase(),n);break;case"xlinkHref":if("function"==typeof n||"symbol"==typeof n||"boolean"==typeof n)break;n=J(""+n),e.push(_e,F("xlink:href"),Fe,F(Y(n)),$e);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":"function"!=typeof n&&"symbol"!=typeof n&&e.push(_e,F(t),Fe,F(Y(n)),$e);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(_e,F(t),Ne);break;case"capture":case"download":!0===n?e.push(_e,F(t),Ne):!1!==n&&"function"!=typeof n&&"symbol"!=typeof n&&e.push(_e,F(t),Fe,F(Y(n)),$e);break;case"cols":case"rows":case"size":case"span":"function"!=typeof n&&"symbol"!=typeof n&&!isNaN(n)&&1<=n&&e.push(_e,F(t),Fe,F(Y(n)),$e);break;case"rowSpan":case"start":"function"==typeof n||"symbol"==typeof n||isNaN(n)||e.push(_e,F(t),Fe,F(Y(n)),$e);break;case"xlinkActuate":je(e,"xlink:actuate",n);break;case"xlinkArcrole":je(e,"xlink:arcrole",n);break;case"xlinkRole":je(e,"xlink:role",n);break;case"xlinkShow":je(e,"xlink:show",n);break;case"xlinkTitle":je(e,"xlink:title",n);break;case"xlinkType":je(e,"xlink:type",n);break;case"xmlBase":je(e,"xml:base",n);break;case"xmlLang":je(e,"xml:lang",n);break;case"xmlSpace":je(e,"xml:space",n);break;default:if((!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&W(t=q.get(t)||t)){switch(typeof n){case"function":case"symbol":return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return}e.push(_e,F(t),Fe,F(Y(n)),$e)}}}var Ke=$(">"),Ye=$("/>");function Ze(e,t,r){if(null!=t){if(null!=r)throw Error(n(60));if("object"!=typeof t||!("__html"in t))throw Error(n(61));null!=(t=t.__html)&&e.push(F(""+t))}}var Qe=$(' selected=""'),Xe=$('addEventListener("submit",function(a){if
1(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});');function Je(e,t){if(!(16&e.instructions)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&0===r.length?(r.push(t.startInlineScript),Yn(r,e),r.push(Ke,Xe,se)):r.unshift(t.startInlineScript,Ke,Xe,se)}}var et=$("\x3c!--F!--\x3e"),tt=$("\x3c!--F--\x3e");function nt(e,t){for(var r in e.push(gt("link")),t)if(z.call(t,r)){var i=t[r];if(null!=i)switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:qe(e,r,i)}}return e.push(Ye),null}var rt=/(<\/|<)(s)(tyle)/gi;function it(e,t,n,r){return t+("s"===n?"\\73 ":"\\53 ")+r}function ot(e,t,r){for(var i in e.push(gt(r)),t)if(z.call(t,i)){var o=t[i];if(null!=o)switch(i){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,r));default:qe(e,i,o)}}return e.push(Ye),null}function at(e,t){e.push(gt("title"));var n,r=null,i=null;for(n in t)if(z.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":i=o;break;default:qe(e,n,o)}}return e.push(Ke),"function"!=typeof(t=Array.isArray(r)?2>r.length?r[0]:null:r)&&"symbol"!=typeof t&&null!=t&&e.push(F(Y(""+t))),Ze(e,i,r),e.push(bt("title")),null}var st=$("\x3c!--head--\x3e"),lt=$("\x3c!--body--\x3e"),ct=$("\x3c!--html--\x3e");function ut(e,t){e.push(gt("script"));var n,r=null,i=null;for(n in t)if(z.call(t,n)){var o=t[n];if(null!=o)switch(n){case"children":r=o;break;case"dangerouslySetInnerHTML":i=o;break;default:qe(e,n,o)}}return e.push(Ke),Ze(e,i,r),"string"==typeof r&&e.push(F((""+r).replace(me,ge))),e.push(bt("script")),null}function dt(e,t,n){e.push(gt(n));var r,i=n=null;for(r in t)if(z.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":i=o;break;default:qe(e,r,o)}}return e.push(Ke),Ze(e,i,n),n}function ht(e,t,n){e.push(gt(n));var r,i=n=null;for(r in t)if(z.call(t,r)){var o=t[r];if(null!=o)switch(r){case"children":n=o;break;case"dangerouslySetInnerHTML":i=o;break;default:qe(e,r,o)}}return e.push(Ke),Ze(e,i,n),"string"==typeof n?(e.push(F(Y(n))),null):n}var ft=$("\n"),pt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,mt=new Map;function gt(e){var t=mt.get(e);if(void 0===t){if(!pt.test(e))throw Error(n(65,e));t=$("<"+e),mt.set(e,t)}return t}var vt=$("<!DOCTYPE html>"),yt=new Map;function bt(e){var t=yt.get(e);return void 0===t&&(t=$("</"+e+">"),yt.set(e,t)),t}function Ct(e,t){null===(e=e.preamble).htmlChunks&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),null===e.headChunks&&t.headChunks&&(e.headChunks=t.headChunks),null===e.bodyChunks&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function wt(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)O(e,t[n]);return!(n<t.length)||(n=t[n],t.length=0,D(e,n))}var Et=$("requestAnimationFrame(function(){$RT=performance.now()});"),kt=$('<template id="'),St=$('"></template>'),xt=$("\x3c!--&--\x3e"),Tt=$("\x3c!--/&--\x3e"),Mt=$("\x3c!--$--\x3e"),At=$('\x3c!--$?--\x3e<template id="'),Lt=$('"></template>'),Pt=$("\x3c!--$!--\x3e"),Rt=$("\x3c!--/$--\x3e"),Ot=$("<template"),Dt=$('"'),It=$(' data-dgst="');$(' data-msg="'),$(' data-stck="'),$(' data-cstck="');var _t=$("></template>");function Ft(e,t,r){if(O(e,At),null===r)throw Error(n(395));return O(e,t.boundaryPrefix),O(e,F(r.toString(16))),D(e,Lt)}var $t=$('<div hidden id="'),Nt=$('">'),Bt=$("</div>"),jt=$('<svg aria-hidden="true" style="display:none" id="'),zt=$('">'),Vt=$("</svg>"),Ht=$('<math aria-hidden="true" style="display:none" id="'),Ut=$('">'),Wt=$("</math>"),Gt=$('<table hidden id="'),qt=$('">'),Kt=$("</table>"),Yt=$('<table hidden><tbody id="'),Qt=$('">'),Xt=$("</tbody></table>"),Jt=$('<table hidden><tr id="'),en=$('">'),tn=$("</tr></table>"),nn=$('<table hidden><colgroup id="'),rn=$('">'),on=$("</colgroup></table>"),an=$('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),sn=$('$RS("'),ln=$('","'),cn=$('")<\/script>');$('<template data-rsi="" data-sid="'),$('" data-pid="');var un=$('$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};\n$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};');F('$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}
1.bind(null,$RV);');var dn=$('$RC("'),hn=$('$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'),fn=$('$RR("'),pn=$('","'),mn=$('",'),gn=$('"'),vn=$(")<\/script>");$('<template data-rci="" data-bid="'),$('<template data-rri="" data-bid="'),$('" data-sid="'),$('" data-sty="');var yn=$('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'),bn=$('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),Cn=$('$RX("'),wn=$('"'),En=$(","),kn=$(")<\/script>");$('<template data-rxi="" data-bid="'),$('" data-dgst="'),$('" data-msg="'),$('" data-stck="'),$('" data-cstck="');var Sn=/[<\u2028\u2029]/g;function xn(e){return JSON.stringify(e).replace(Sn,function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Tn=/[&><\u2028\u2029]/g;function Mn(e){return JSON.stringify(e).replace(Tn,function(e){switch(e){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var An=$(' media="not all" data-precedence="'),Ln=$('" data-href="'),Pn=$('">'),Rn=$("</style>"),On=!1,Dn=!0;function In(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(O(this,oe.startInlineStyle),O(this,An),O(this,e.precedence),O(this,Ln);r<n.length-1;r++)O(this,n[r]),O(this,Vn);for(O(this,n[r]),O(this,Pn),r=0;r<t.length;r++)O(this,t[r]);Dn=D(this,Rn),On=!0,t.length=0,n.length=0}}function _n(e){return 2!==e.state&&(On=!0)}function Fn(e,t,n){return On=!1,Dn=!0,oe=n,t.styles.forEach(In,e),oe=null,t.stylesheets.forEach(_n),On&&(n.stylesToHoist=!0),Dn}function $n(e){for(var t=0;t<e.length;t++)O(this,e[t]);e.length=0}var Nn=[];function Bn(e){nt(Nn,e.props);for(var t=0;t<Nn.length;t++)O(this,Nn[t]);Nn.length=0,e.state=2}var jn=$(' data-precedence="'),zn=$('" data-href="'),Vn=$(" "),Hn=$('">'),Un=$("</style>");function Wn(e){var t=0<e.sheets.size;e.sheets.forEach(Bn,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(O(this,oe.startInlineStyle),O(this,jn),O(this,e.precedence),e=0,r.length){for(O(this,zn);e<r.length-1;e++)O(this,r[e]),O(this,Vn);O(this,r[e])}for(O(this,Hn),e=0;e<n.length;e++)O(this,n[e]);O(this,Un),n.length=0,r.length=0}}function Gn(e){if(0===e.state){e.state=1;var t=e.props;for(nt(Nn,{rel:"preload",as:"style",href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Nn.length;e++)O(this,Nn[e]);Nn.length=0}}
vendor: 4,370 bytes, line 1
1function qn(e){e.sheets.forEach(Gn,this),e.sheets.clear()}$('<link rel="expect" href="#'),$('" blocking="render"/>');var Kn=$(' id="');function Yn(e,t){!(32&t.instructions)&&(t.instructions|=32,e.push(Kn,F(Y("_"+t.idPrefix+"R_")),$e))}var Zn=$("["),Qn=$(",["),Xn=$(","),Jn=$("]");function er(e,t,n){var r=t.toLowerCase();switch(typeof n){case"function":case"symbol":return}switch(t){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":r="class",t=""+n;break;case"hidden":if(!1===n)return;t="";break;case"src":case"href":t=""+(n=J(n));break;default:if(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])||!W(t))return;t=""+n}O(e,Xn),O(e,F(Mn(r))),O(e,Xn),O(e,F(Mn(t)))}function tr(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function nr(e,t){null==e.crossOrigin&&(e.crossOrigin=t[0]),null==e.integrity&&(e.integrity=t[1])}function rr(e,t,n){for(var r in t="<"+(e=(""+e).replace(ir,or))+'>; rel=preload; as="'+(t=(""+t).replace(ar,sr))+'"',n)z.call(n,r)&&"string"==typeof(e=n[r])&&(t+="; "+r.toLowerCase()+'="'+(""+e).replace(ar,sr)+'"');return t}var ir=/[<>\r\n]/g;function or(e){switch(e){case"<":return"%3C";case">":return"%3E";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var ar=/["';,\r\n]/g;function sr(e){switch(e){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case"\n":return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function lr(e){this.styles.add(e)}function cr(e){this.stylesheets.add(e)}function ur(e,t){t.styles.forEach(lr,e),t.stylesheets.forEach(cr,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function dr(e){return 0<e.stylesheets.size||e.suspenseyImages}var hr=Function.prototype.bind,fr=Symbol.for("react.client.reference");function pr(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===fr?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case s:return"Profiler";case a:return"StrictMode";case d:return"Suspense";case h:return"SuspenseList";case g:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case i:return"Portal";case c:return e.displayName||"Context";case l:return(e._context.displayName||"Context")+".Consumer";case u:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case f:return null!==(t=e.displayName||null)?t:pr(e.type)||"Memo";case p:t=e._payload,e=e._init;try{return pr(e(t))}catch(n){}}return null}var mr={},gr=null;function vr(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(n(401))}else{if(null===r)throw Error(n(401));vr(e,r)}t.context._currentValue=t.value}}function yr(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&yr(e)}function br(e){var t=e.parent;null!==t&&br(t),e.context._currentValue=e.value}function Cr(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(n(402));e.depth===t.depth?vr(e,t):Cr(e,t)}function wr(e,t){var r=t.parent;if(null===r)throw Error(n(402));e.depth===r.depth?vr(e,r):wr(e,r),t.context._currentValue=t.value}function Er(e){var t=gr;t!==e&&(null===t?br(e):null===e?yr(t):t.depth===e.depth?vr(t,e):t.depth>e.depth?Cr(t,e):wr(t,e),gr=e)}var kr={enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},Sr={id:1,overflow:""};function xr(e,t,n){var r=e.id;e=e.overflow;var i=32-Tr(r)-1;r&=~(1<<i),n+=1;var o=32-Tr(t)+i;if(30<o){var a=i-i%5;return o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,{id:1<<32-Tr(t)+i|n<<i|r,overflow:o+e}}return{id:1<<o|n<<i|r,overflow:e}}var Tr=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(Mr(e)/Ar|0)|0},Mr=Math.log,Ar=Math.LN2;function Lr(){}var Pr=Error(n(460)),Rr=null;
vendor: 4,256 bytes, line 1
1function Or(){if(null===Rr)throw Error(n(459));var e=Rr;return Rr=null,e}var Dr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Ir=null,_r=null,Fr=null,$r=null,Nr=null,Br=null,jr=!1,zr=!1,Vr=0,Hr=0,Ur=-1,Wr=0,Gr=null,qr=null,Kr=0;function Yr(){if(null===Ir)throw Error(n(321));return Ir}function Zr(){if(0<Kr)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function Qr(){return null===Br?null===Nr?(jr=!1,Nr=Br=Zr()):(jr=!0,Br=Nr):null===Br.next?(jr=!1,Br=Br.next=Zr()):(jr=!0,Br=Br.next),Br}function Xr(){var e=Gr;return Gr=null,e}function Jr(){$r=Fr=_r=Ir=null,zr=!1,Nr=null,Kr=0,Br=qr=null}function ei(e,t){return"function"==typeof t?t(e):t}function ti(e,t,n){if(Ir=Yr(),Br=Qr(),jr){var r=Br.queue;if(t=r.dispatch,null!==qr&&void 0!==(n=qr.get(r))){qr.delete(r),r=Br.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return Br.memoizedState=r,[r,t]}return[Br.memoizedState,t]}return e=e===ei?"function"==typeof t?t():t:void 0!==n?n(t):t,Br.memoizedState=e,e=(e=Br.queue={last:null,dispatch:null}).dispatch=ri.bind(null,Ir,e),[Br.memoizedState,e]}function ni(e,t){if(Ir=Yr(),t=void 0===t?null:t,null!==(Br=Qr())){var n=Br.memoizedState;if(null!==n&&null!==t){var r=n[1];e:if(null===r)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!Dr(t[i],r[i])){r=!1;break e}r=!0}if(r)return n[0]}}return e=e(),Br.memoizedState=[e,t],e}function ri(e,t,r){if(25<=Kr)throw Error(n(301));if(e===Ir)if(zr=!0,e={action:r,next:null},null===qr&&(qr=new Map),void 0===(r=qr.get(t)))qr.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function ii(){throw Error(n(440))}function oi(){throw Error(n(394))}function ai(){throw Error(n(479))}function si(e,t,n){Yr();var r=Hr++,i=Fr;if("function"==typeof e.$$FORM_ACTION){var o=null,a=$r;i=i.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(null!==i&&"function"==typeof s){var l=i[1];s.call(e,i[2],i[3])&&l===(o=void 0!==n?"p"+n:"k"+k(JSON.stringify([a,null,r]),0))&&(Ur=r,t=i[0])}var c=e.bind(null,t);return e=function(e){c(e)},"function"==typeof c.$$FORM_ACTION&&(e.$$FORM_ACTION=function(e){e=c.$$FORM_ACTION(e),void 0!==n&&(n+="",e.action=n);var t=e.data;return t&&(null===o&&(o=void 0!==n?"p"+n:"k"+k(JSON.stringify([a,null,r]),0)),t.append("$ACTION_KEY",o)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function li(e){var t=Wr;return Wr+=1,null===Gr&&(Gr=[]),function(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Lr,Lr),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(Lr,Lr):((e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}throw Rr=t,Pr}}(Gr,e,t)}function ci(){throw Error(n(393))}var ui,di,hi={readContext:function(e){return e._currentValue},use:function(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return li(e);if(e.$$typeof===c)return e._currentValue}throw Error(n(438,String(e)))},useContext:function(e){return Yr(),e._currentValue},useMemo:ni,useReducer:ti,useRef:function(e){Ir=Yr();var t=(Br=Qr()).memoizedState;return null===t?(e={current:e},Br.memoizedState=e):t},useState:function(e){return ti(ei,e)},useInsertionEffect:Lr,useLayoutEffect:Lr,useCallback:function(e,t){return ni(function(){return e},t)},useImperativeHandle:Lr,useEffect:Lr,useDebugValue:Lr,useDeferredValue:function(e,t){return Yr(),void 0!==t?t:e},useTransition:function(){return Yr(),[!1,oi]},useId:function(){var e=_r.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-Tr(e)-1)).toString(32)+t;var r=fi;if(null===r)throw Error(n(404));return t=Vr++,e="_"+r.idPrefix+"R_"+e,0<t&&(e+="H"+t.toString(32)),e+"_"},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(n(407));return r()},useOptimistic:function(e){return Yr(),[e,ai]},useActionState:si,useFormState:si,useHostTransitionStatus:function(){return Yr(),ne},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=y;return t},useCacheRefresh:function(){return ci},useEffectEvent:function(){return ii}},fi=null,pi={getCacheForType:function(){throw Error(n(248))}
vendor: 9,748 bytes, line 1
1,cacheSignal:function(){throw Error(n(248))}};function mi(e){if(void 0===ui)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ui=t&&t[1]||"",di=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+ui+e+di}var gi=!1;function vi(e,t){if(!e||gi)return"";gi=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(i){var r=i}Reflect.construct(e,[],n)}else{try{n.call()}catch(o){r=o}e.call(n.prototype)}}else{try{throw Error()}catch(a){r=a}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"==typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),c=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===c.length)for(r=l.length-1,i=c.length-1;1<=r&&0<=i&&l[r]!==c[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==c[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==c[i]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=i);break}}}finally{gi=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?mi(n):""}function yi(e){if("string"==typeof e)return mi(e);if("function"==typeof e)return e.prototype&&e.prototype.isReactComponent?vi(e,!0):vi(e,!1);if("object"==typeof e&&null!==e){switch(e.$$typeof){case u:return vi(e.render,!1);case f:return vi(e.type,!1);case p:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch(i){return mi("Lazy")}return yi(e)}if("string"==typeof e.name){n=e.name,t=e.env;var r=e.debugLocation;return null==r||(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith("Error: react-stack-top-frame\n")&&(r=r.slice(29)),-1!==(e=r.indexOf("\n"))&&(r=r.slice(e+1)),-1!==(e=r.indexOf("react_stack_bottom_frame"))&&(e=r.lastIndexOf("\n",e)),e=-1!==e?r=r.slice(0,e):"",r=e.lastIndexOf("\n"),-1===(e=-1===r?e:e.slice(r+1)).indexOf(n))?mi(n+(t?" ["+t+"]":"")):"\n"+e}}switch(e){case h:return mi("SuspenseList");case d:return mi("Suspense")}return""}function bi(e,t){return(500<t.byteSize||dr(t.contentState))&&null===t.contentPreamble}function Ci(e){if("object"==typeof e&&null!==e&&"string"==typeof e.environmentName){var t=e.environmentName;"string"==typeof(e=[e].slice(0))[0]?e.splice(0,1,"%c%s%c "+e[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""):e.splice(0,0,"%c%s%c","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+t+" ",""),e.unshift(console),(t=hr.apply(console.error,e))()}return null}function wi(e,t,n,r,i,o,a,s,l,c,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=void 0===r?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=void 0===i?Ci:i,this.onPostpone=void 0===c?Lr:c,this.onAllReady=void 0===o?Lr:o,this.onShellReady=void 0===a?Lr:a,this.onShellError=void 0===s?Lr:s,this.onFatalError=void 0===l?Lr:l,this.formState=void 0===u?null:u}function Ei(e,t,n,r,i,o,a,s,l,c,u,d){return(n=Li(t=new wi(t,n,r,i,o,a,s,l,c,u,d),0,null,r,!1,!1)).parentFlushed=!0,Pi(e=Mi(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,Sr,null,null)),t.pingedTasks.push(e),t}function ki(e,t,n,r,i,o,a,s,l){return(n=new wi(t.resumableState,n,t.rootFormatContext,t.progressiveChunkSize,r,i,o,a,s,l,null)).nextSegmentId=t.nextSegmentId,"number"==typeof t.replaySlots?((r=Li(0,0,null,t.rootFormatContext,!1,!1)).parentFlushed=!0,Pi(e=Mi(n,null,e,-1,null,r,null,null,n.abortableTasks,null,t.rootFormatContext,null,Sr,null,null)),n.pingedTasks.push(e),n):(Pi(e=Ai(n,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,n.abortableTasks,null,t.rootFormatContext,null,Sr,null,null)),n.pingedTasks.push(e),n)}var Si=null;function xi(e,t){e.pingedTasks.push(t),1===e.pingedTasks.length&&(e.flushScheduled=null!==e.destination,null!==e.trackedPostpones||10===e.status?L(function(){return lo(e)}):T(function(){return lo(e)}))}function Ti(e,t,n,r,i){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:tr(),fallbackState:tr(),contentPreamble:r,fallbackPreamble:i,trackedContentKeyPath:null,trackedFallbackNode:null},null!==t&&(t.pendingTasks++,null!==(r=t.boundaries)&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),null!==(e=t.inheritedHoistables)&&ur(n.contentState,e)),n}function Mi(e,t,n,r,i,o,a,s,l,c,u,d,h,f,p){e.allPendingTasks++,null===i?e.pendingRootTasks++:i.pendingTasks++,null!==f&&f.pendingTasks++;var m={replay:null,node:n,childIndex:r,ping:function(){return xi(e,m)},blockedBoundary:i,blockedSegment:o,blockedPreamble:a,hoistableState:s,abortSet:l,keyPath:c,formatContext:u,context:d,treeContext:h,row:f,componentStack:p,thenableState:t};return l.add(m),m}function Ai(e,t,n,r,i,o,a,s,l,c,u,d,h,f){e.allPendingTasks++,null===o?e.pendingRootTasks++:o.pendingTasks++,null!==h&&h.pendingTasks++,n.pendingTasks++;var p={replay:n,node:r,childIndex:i,ping:function(){return xi(e,p)},blockedBoundary:o,blockedSegment:null,blockedPreamble:null,hoistableState:a,abortSet:s,keyPath:l,formatContext:c,context:u,treeContext:d,row:h,componentStack:f,thenableState:t};return s.add(p),p}function Li(e,t,n,r,i,o){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:o}}function Pi(e){var t=e.node;"object"==typeof t&&null!==t&&t.$$typeof===r&&(e.componentStack={parent:e.componentStack,type:t.type})}function Ri(e){return null===e?null:{parent:e.parent,type:"Suspense Fallback"}}function Oi(e){var t={};return e&&Object.defineProperty(t,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var n="",r=e;do{n+=yi(r.type),r=r.parent}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return Object.defineProperty(t,"componentStack",{value:i}),i}}),t}function Di(e,t,n){if(null==(t=(e=e.onError)(t,n))||"string"==typeof t)return t}function Ii(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),null!==e.destination?(e.status=14,B(e.destination,t)):(e.status=13,e.fatalError=t)}function _i(e,t){Fi(e,t.next,t.hoistables)}function Fi(e,t,n){for(;null!==t;){null!==n&&(ur(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(null!==r){t.boundaries=null;for(var i=0;i<r.length;i++){var o=r[i];null!==n&&ur(o.contentState,n),so(e,o,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function $i(e,t){var n=t.boundaries;if(null!==n&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var o=n[i];if(1!==o.pendingTasks||o.parentFlushed||bi(0,o)){r=!1;break}}r&&Fi(e,t,t.hoistables)}}function Ni(e){var t={pendingTasks:1,boundaries:null,hoistables:tr(),inheritedHoistables:null,together:!1,next:null};return null!==e&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function Bi(e,t,n,r,i){var o=t.keyPath,a=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var l=null;if(null!==t.replay){var c=t.replay.slots;if(null!==c&&"object"==typeof c)for(var u=0;u<n;u++){var d="backwards"!==i&&"unstable_legacy-backwards"!==i?u:n-1-u,h=r[d];t.row=l=Ni(l),t.treeContext=xr(a,n,d);var f=c[d];"number"==typeof f?(Hi(e,t,f,h,d),delete c[d]):Xi(e,t,h,d),0===--l.pendingTasks&&_i(e,l)}else for(c=0;c<n;c++)d=r[u="backwards"!==i&&"unstable_legacy-backwards"!==i?c:n-1-c],t.row=l=Ni(l),t.treeContext=xr(a,n,u),Xi(e,t,d,u),0===--l.pendingTasks&&_i(e,l)}else if("backwards"!==i&&"unstable_legacy-backwards"!==i)for(i=0;i<n;i++)c=r[i],t.row=l=Ni(l),t.treeContext=xr(a,n,i),Xi(e,t,c,i),0===--l.pendingTasks&&_i(e,l);else{for(c=(i=t.blockedSegment).children.length,u=i.chunks.length,d=n-1;0<=d;d--){h=r[d],t.row=l=Ni(l),t.treeContext=xr(a,n,d),f=Li(0,u,null,t.formatContext,0!==d||i.lastPushedText,!0),i.children.splice(c,0,f),t.blockedSegment=f;try{Xi(e,t,h,d),f.lastPushedText&&f.textEmbedded&&f.chunks.push(Ae),f.status=1,ao(e,t.blockedBoundary,f),0===--l.pendingTasks&&_i(e,l)}catch(p){throw f.status=12===e.status?3:4,p}}t.blockedSegment=i,i.lastPushedText=!1}null!==s&&null!==l&&0<l.pendingTasks&&(s.pendingTasks++,l.next=s),t.treeContext=a,t.row=s,t.keyPath=o}function ji(e,t,n,r,i,o){var a=t.thenableState;for(t.thenableState=null,Ir={},_r=t,Fr=e,$r=n,Hr=Vr=0,Ur=-1,Wr=0,Gr=a,e=r(i,o);zr;)zr=!1,Hr=Vr=0,Ur=-1,Wr=0,Kr+=1,Br=null,e=r(i,o);return Jr(),e}function zi(e,t,n,r,i,o,a){var s=!1;if(0!==o&&null!==e.formState){var l=t.blockedSegment;if(null!==l){s=!0,l=l.chunks;for(var c=0;c<o;c++)c===a?l.push(et):l.push(tt)}}
1o=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=xr(n,1,0),Xi(e,t,r,-1),t.treeContext=n):s?Xi(e,t,r,-1):Ui(e,t,r,-1),t.keyPath=o}function Vi(t,r,i,y,C,k){if("function"==typeof y)if(y.prototype&&y.prototype.isReactComponent){var S=C;if("ref"in C)for(var x in S={},C)"ref"!==x&&(S[x]=C[x]);var T=y.defaultProps;if(T)for(var M in S===C&&(S=j({},S,C)),T)void 0===S[M]&&(S[M]=T[M]);C=S,S=mr,"object"==typeof(T=y.contextType)&&null!==T&&(S=T._currentValue);var A=void 0!==(S=new y(C,S)).state?S.state:null;if(S.updater=kr,S.props=C,S.state=A,T={queue:[],replace:!1},S._reactInternals=T,k=y.contextType,S.context="object"==typeof k&&null!==k?k._currentValue:mr,"function"==typeof(k=y.getDerivedStateFromProps)&&(A=null==(k=k(C,A))?A:j({},A,k),S.state=A),"function"!=typeof y.getDerivedStateFromProps&&"function"!=typeof S.getSnapshotBeforeUpdate&&("function"==typeof S.UNSAFE_componentWillMount||"function"==typeof S.componentWillMount))if(y=S.state,"function"==typeof S.componentWillMount&&S.componentWillMount(),"function"==typeof S.UNSAFE_componentWillMount&&S.UNSAFE_componentWillMount(),y!==S.state&&kr.enqueueReplaceState(S,S.state,null),null!==T.queue&&0<T.queue.length)if(y=T.queue,k=T.replace,T.queue=null,T.replace=!1,k&&1===y.length)S.state=y[0];else{for(T=k?y[0]:S.state,A=!0,k=k?1:0;k<y.length;k++)null!=(M="function"==typeof(M=y[k])?M.call(S,T,C,void 0):M)&&(A?(A=!1,T=j({},T,M)):j(T,M));S.state=T}else T.queue=null;if(y=S.render(),12===t.status)throw null;C=r.keyPath,r.keyPath=i,Ui(t,r,y,-1),r.keyPath=C}else{if(y=ji(t,r,i,y,C,void 0),12===t.status)throw null;zi(t,r,i,y,0!==Vr,Hr,Ur)}else{if("string"!=typeof y){switch(y){case v:case a:case s:case o:return y=r.keyPath,r.keyPath=i,Ui(t,r,C.children,-1),void(r.keyPath=y);case g:return void(null===(y=r.blockedSegment)?"hidden"!==C.mode&&(y=r.keyPath,r.keyPath=i,Xi(t,r,C.children,-1),r.keyPath=y):"hidden"!==C.mode&&(y.chunks.push(xt),y.lastPushedText=!1,S=r.keyPath,r.keyPath=i,Xi(t,r,C.children,-1),r.keyPath=S,y.chunks.push(Tt),y.lastPushedText=!1));case h:e:{if(y=C.children,"forwards"===(C=C.revealOrder)||"backwards"===C||"unstable_legacy-backwards"===C){if(E(y)){Bi(t,r,i,y,C);break e}if((S=w(y))&&(S=S.call(y))){if(!(T=S.next()).done){do{T=S.next()}while(!T.done);Bi(t,r,i,y,C)}break e}}"together"===C?(C=r.keyPath,S=r.row,(T=r.row=Ni(null)).boundaries=[],T.together=!0,r.keyPath=i,Ui(t,r,y,-1),0===--T.pendingTasks&&_i(t,T),r.keyPath=C,r.row=S,null!==S&&0<T.pendingTasks&&(S.pendingTasks++,T.next=S)):(C=r.keyPath,r.keyPath=i,Ui(t,r,y,-1),r.keyPath=C)}return;case b:case m:throw Error(n(343));case d:e:if(null!==r.replay){y=r.keyPath,S=r.formatContext,T=r.row,r.keyPath=i,r.formatContext=Me(t.resumableState,S),r.row=null,i=C.children;try{Xi(t,r,i,-1)}finally{r.keyPath=y,r.formatContext=S,r.row=T}}else{y=r.keyPath,k=r.formatContext;var L=r.row;M=r.blockedBoundary,x=r.blockedPreamble;var P=r.hoistableState,R=r.blockedSegment,O=C.fallback;C=C.children;var D=new Set,I=2>r.formatContext.insertionMode?Ti(t,r.row,D,{htmlChunks:null,headChunks:null,bodyChunks:null},{htmlChunks:null,headChunks:null,bodyChunks:null}):Ti(t,r.row,D,null,null);null!==t.trackedPostpones&&(I.trackedContentKeyPath=i);var _=Li(0,R.chunks.length,I,r.formatContext,!1,!1);R.children.push(_),R.lastPushedText=!1;var $=Li(0,0,null,r.formatContext,!1,!1);if($.parentFlushed=!0,null!==t.trackedPostpones){S=r.componentStack,A=[(T=[i[0],"Suspense Fallback",i[2]])[1],T[2],[],null],t.trackedPostpones.workingMap.set(T,A),I.trackedFallbackNode=A,r.blockedSegment=_,r.blockedPreamble=I.fallbackPreamble,r.keyPath=T,r.formatContext=Te(t.resumableState,k),r.componentStack=Ri(S),_.status=6;try{Xi(t,r,O,-1),_.lastPushedText&&_.textEmbedded&&_.chunks.push(Ae),_.status=1,ao(t,M,_)}catch(N){throw _.status=12===t.status?3:4,N}finally{r.blockedSegment=R,r.blockedPreamble=x,r.keyPath=y,r.formatContext=k}Pi(r=Mi(t,null,C,-1,I,$,I.contentPreamble,I.contentState,r.abortSet,i,Me(t.resumableState,r.formatContext),r.context,r.treeContext,null,S)),t.pingedTasks.push(r)}else{r.blockedBoundary=I,r.blockedPreamble=I.contentPreamble,r.hoistableState=I.contentState,r.blockedSegment=$,r.keyPath=i,r.formatContext=Me(t.resumableState,k),r.row=null,$.status=6;try{if(Xi(t,r,C,-1),$.lastPushedText&&$.textEmbedded&&$.chunks.push(Ae),$.status=1,ao(t,I,$),oo(I,$),0===I.pendingTasks&&0===I.status){if(I.status=1,!bi(0,I)){null!==L&&0===--L.pendingTasks&&_i(t,L),0===t.pendingRootTasks&&r.blockedPreamble&&ho(t);break e}}else null!==L&&L.together&&$i(t,L)}catch(B){I.status=4,12===t.status?($.status=3,S=t.fatalError):($.status=4,S=B),A=Di(t,S,T=Oi(r.componentStack)),I.errorDigest=A,Yi(t,I)}finally{r.blockedBoundary=M,r.blockedPreamble=x,r.hoistableState=P,r.blockedSegment=R,r.ke
vendor: 3,219 bytes, line 1
1yPath=y,r.formatContext=k,r.row=L}Pi(r=Mi(t,null,O,-1,M,_,I.fallbackPreamble,I.fallbackState,D,[i[0],"Suspense Fallback",i[2]],Te(t.resumableState,r.formatContext),r.context,r.treeContext,r.row,Ri(r.componentStack))),t.pingedTasks.push(r)}}return}if("object"==typeof y&&null!==y)switch(y.$$typeof){case u:if("ref"in C)for(R in S={},C)"ref"!==R&&(S[R]=C[R]);else S=C;return void zi(t,r,i,y=ji(t,r,i,y.render,S,k),0!==Vr,Hr,Ur);case f:return void Vi(t,r,i,y.type,C,k);case c:if(T=C.children,S=r.keyPath,C=C.value,A=y._currentValue,y._currentValue=C,gr=y={parent:k=gr,depth:null===k?0:k.depth+1,context:y,parentValue:A,value:C},r.context=y,r.keyPath=i,Ui(t,r,T,-1),null===(t=gr))throw Error(n(403));return t.context._currentValue=t.parentValue,t=gr=t.parent,r.context=t,void(r.keyPath=S);case l:return y=(C=C.children)(y._context._currentValue),C=r.keyPath,r.keyPath=i,Ui(t,r,y,-1),void(r.keyPath=C);case p:if(y=(S=y._init)(y._payload),12===t.status)throw null;return void Vi(t,r,i,y,C,k)}throw Error(n(130,null==y?y:typeof y,""))}if(null===(S=r.blockedSegment))S=C.children,T=r.formatContext,A=r.keyPath,r.formatContext=Se(T,y,C),r.keyPath=i,Xi(t,r,S,-1),r.formatContext=T,r.keyPath=A;else{if(A=function(t,r,i,o,a,s,l,c,u){switch(r){case"div":case"span":case"svg":case"path":case"g":case"p":case"li":case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":break;case"a":t.push(gt("a"));var d,h=null,f=null;for(d in i)if(z.call(i,d)){var p=i[d];if(null!=p)switch(d){case"children":h=p;break;case"dangerouslySetInnerHTML":f=p;break;case"href":""===p?je(t,"href",""):qe(t,d,p);break;default:qe(t,d,p)}}if(t.push(Ke),Ze(t,f,h),"string"==typeof h){t.push(F(Y(h)));var m=null}else m=h;return m;case"select":t.push(gt("select"));var g,v=null,y=null;for(g in i)if(z.call(i,g)){var b=i[g];if(null!=b)switch(g){case"children":v=b;break;case"dangerouslySetInnerHTML":y=b;break;case"defaultValue":case"value":break;default:qe(t,g,b)}}return t.push(Ke),Ze(t,y,v),v;case"option":var C=c.selectedValue;t.push(gt("option"));var w,k=null,S=null,x=null,T=null;for(w in i)if(z.call(i,w)){var M=i[w];if(null!=M)switch(w){case"children":k=M;break;case"selected":x=M;break;case"dangerouslySetInnerHTML":T=M;break;case"value":S=M;default:qe(t,w,M)}}if(null!=C){var A=null!==S?""+S:function(t){var n="";return e.Children.forEach(t,function(e){null!=e&&(n+=e)}),n}(k);if(E(C)){for(var L=0;L<C.length;L++)if(""+C[L]===A){t.push(Qe);break}}else""+C===A&&t.push(Qe)}else x&&t.push(Qe);return t.push(Ke),Ze(t,T,k),k;case"textarea":t.push(gt("textarea"));var P,R=null,O=null,D=null;for(P in i)if(z.call(i,P)){var I=i[P];if(null!=I)switch(P){case"children":D=I;break;case"value":R=I;break;case"defaultValue":O=I;break;case"dangerouslySetInnerHTML":throw Error(n(91));default:qe(t,P,I)}}if(null===R&&null!==O&&(R=O),t.push(Ke),null!=D){if(null!=R)throw Error(n(92));if(E(D)){if(1<D.length)throw Error(n(93));R=""+D[0]}R=""+D}return"string"==typeof R&&"\n"===R[0]&&t.push(ft),null!==R&&t.push(F(Y(""+R))),null;case"input":t.push(gt("input"));var _,$=null,N=null,B=null,V=null,H=null,U=null,G=null,q=null,K=null;for(_ in i)if(z.call(i,_)){var Z=i[_];
vendor: 1,794 bytes, line 1
1if(null!=Z)switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"input"));case"name":$=Z;break;case"formAction":N=Z;break;case"formEncType":B=Z;break;case"formMethod":V=Z;break;case"formTarget":H=Z;break;case"defaultChecked":K=Z;break;case"defaultValue":G=Z;break;case"checked":q=Z;break;case"value":U=Z;break;default:qe(t,_,Z)}}var Q=Ge(t,o,a,N,B,V,H,$);return null!==q?Be(t,"checked",q):null!==K&&Be(t,"checked",K),null!==U?qe(t,"value",U):null!==G&&qe(t,"value",G),t.push(Ye),null!=Q&&Q.forEach(He,t),null;case"button":t.push(gt("button"));var X,ee=null,te=null,ne=null,re=null,oe=null,ae=null,se=null;for(X in i)if(z.call(i,X)){var le=i[X];if(null!=le)switch(X){case"children":ee=le;break;case"dangerouslySetInnerHTML":te=le;break;case"name":ne=le;break;case"formAction":re=le;break;case"formEncType":oe=le;break;case"formMethod":ae=le;break;case"formTarget":se=le;break;default:qe(t,X,le)}}var ce=Ge(t,o,a,re,oe,ae,se,ne);if(t.push(Ke),null!=ce&&ce.forEach(He,t),Ze(t,te,ee),"string"==typeof ee){t.push(F(Y(ee)));var ue=null}else ue=ee;return ue;case"form":t.push(gt("form"));var de,he=null,fe=null,pe=null,me=null,ge=null,ve=null;for(de in i)if(z.call(i,de)){var ye=i[de];if(null!=ye)switch(de){case"children":he=ye;break;case"dangerouslySetInnerHTML":fe=ye;break;case"action":pe=ye;break;case"encType":me=ye;break;case"method":ge=ye;break;case"target":ve=ye;break;default:qe(t,de,ye)}}var be=null,Ce=null;if("function"==typeof pe){var we=We(o,pe);null!==we?(pe=we.action||"",me=we.encType,ge=we.method,ve=we.target,be=we.data,Ce=we.name):(t.push(_e,F("action"),Fe,ze,$e),ve=ge=me=pe=null,Je(o,a))}if(null!=pe&&qe(t,"action",pe),null!=me&&qe(t,"encType",me),null!=ge&&qe(t,"method",ge),null!=ve&&qe(t,"target",ve),t.push(Ke),null!==Ce&&(t.push(Ve),je(t,"name",Ce),t.pu
vendor: 33,022 bytes, line 1
1sh(Ye),null!=be&&be.forEach(He,t)),Ze(t,fe,he),"string"==typeof he){t.push(F(Y(he)));var Ee=null}else Ee=he;return Ee;case"menuitem":for(var ke in t.push(gt("menuitem")),i)if(z.call(i,ke)){var Se=i[ke];if(null!=Se)switch(ke){case"children":case"dangerouslySetInnerHTML":throw Error(n(400));default:qe(t,ke,Se)}}return t.push(Ke),null;case"object":t.push(gt("object"));var xe,Te=null,Me=null;for(xe in i)if(z.call(i,xe)){var Le=i[xe];if(null!=Le)switch(xe){case"children":Te=Le;break;case"dangerouslySetInnerHTML":Me=Le;break;case"data":var Pe=J(""+Le);if(""===Pe)break;t.push(_e,F("data"),Fe,F(Y(Pe)),$e);break;default:qe(t,xe,Le)}}if(t.push(Ke),Ze(t,Me,Te),"string"==typeof Te){t.push(F(Y(Te)));var Re=null}else Re=Te;return Re;case"title":var Oe=1&c.tagScope,De=4&c.tagScope;if(4===c.insertionMode||Oe||null!=i.itemProp)var Ne=at(t,i);else De?Ne=null:(at(a.hoistableChunks,i),Ne=void 0);return Ne;case"link":var Ue=1&c.tagScope,Xe=4&c.tagScope,et=i.rel,tt=i.href,pt=i.precedence;if(4===c.insertionMode||Ue||null!=i.itemProp||"string"!=typeof et||"string"!=typeof tt||""===tt){nt(t,i);var mt=null}else if("stylesheet"===i.rel)if("string"!=typeof pt||null!=i.disabled||i.onLoad||i.onError)mt=nt(t,i);else{var yt=a.styles.get(pt),Ct=o.styleResources.hasOwnProperty(tt)?o.styleResources[tt]:void 0;if(null!==Ct){o.styleResources[tt]=null,yt||(yt={precedence:F(Y(pt)),rules:[],hrefs:[],sheets:new Map},a.styles.set(pt,yt));var wt={state:0,props:j({},i,{"data-precedence":i.precedence,precedence:null})};if(Ct){2===Ct.length&&nr(wt.props,Ct);var Et=a.preloads.stylesheets.get(tt);Et&&0<Et.length?Et.length=0:wt.state=1}yt.sheets.set(tt,wt),l&&l.stylesheets.add(wt)}else if(yt){var kt=yt.sheets.get(tt);kt&&l&&l.stylesheets.add(kt)}u&&t.push(Ae),mt=null}else i.onLoad||i.onError?mt=nt(t,i):(u&&t.push(Ae),mt=Xe?null:nt(a.hoistableChunks,i));return mt;case"script":var St=1&c.tagScope,xt=i.async;if("string"!=typeof i.src||!i.src||!xt||"function"==typeof xt||"symbol"==typeof xt||i.onLoad||i.onError||4===c.insertionMode||St||null!=i.itemProp)var Tt=ut(t,i);else{var Mt=i.src;if("module"===i.type)var At=o.moduleScriptResources,Lt=a.preloads.moduleScripts;else At=o.scriptResources,Lt=a.preloads.scripts;var Pt=At.hasOwnProperty(Mt)?At[Mt]:void 0;if(null!==Pt){At[Mt]=null;var Rt=i;if(Pt){2===Pt.length&&nr(Rt=j({},i),Pt);var Ot=Lt.get(Mt);Ot&&(Ot.length=0)}var Dt=[];a.scripts.add(Dt),ut(Dt,Rt)}u&&t.push(Ae),Tt=null}return Tt;case"style":var It=1&c.tagScope,_t=i.precedence,Ft=i.href,$t=i.nonce;if(4===c.insertionMode||It||null!=i.itemProp||"string"!=typeof _t||"string"!=typeof Ft||""===Ft){t.push(gt("style"));var Nt,Bt=null,jt=null;for(Nt in i)if(z.call(i,Nt)){var zt=i[Nt];if(null!=zt)switch(Nt){case"children":Bt=zt;break;case"dangerouslySetInnerHTML":jt=zt;break;default:qe(t,Nt,zt)}}t.push(Ke);var Vt=Array.isArray(Bt)?2>Bt.length?Bt[0]:null:Bt;"function"!=typeof Vt&&"symbol"!=typeof Vt&&null!=Vt&&t.push(F((""+Vt).replace(rt,it))),Ze(t,jt,Bt),t.push(bt("style"));var Ht=null}else{var Ut=a.styles.get(_t);if(null!==(o.styleResources.hasOwnProperty(Ft)?o.styleResources[Ft]:void 0)){o.styleResources[Ft]=null,Ut||(Ut={precedence:F(Y(_t)),rules:[],hrefs:[],sheets:new Map},a.styles.set(_t,Ut));var Wt=a.nonce.style;if(!Wt||Wt===$t){Ut.hrefs.push(F(Y(Ft)));var Gt,qt=Ut.rules,Kt=null,Yt=null;for(Gt in i)if(z.call(i,Gt)){var Zt=i[Gt];if(null!=Zt)switch(Gt){case"children":Kt=Zt;break;case"dangerouslySetInnerHTML":Yt=Zt}}var Qt=Array.isArray(Kt)?2>Kt.length?Kt[0]:null:Kt;"function"!=typeof Qt&&"symbol"!=typeof Qt&&null!=Qt&&qt.push(F((""+Qt).replace(rt,it))),Ze(qt,Yt,Kt)}}Ut&&l&&l.styles.add(Ut),u&&t.push(Ae),Ht=void 0}return Ht;case"meta":var Xt=1&c.tagScope,Jt=4&c.tagScope;if(4===c.insertionMode||Xt||null!=i.itemProp)var en=ot(t,i,"meta");else u&&t.push(Ae),en=Jt?null:"string"==typeof i.charSet?ot(a.charsetChunks,i,"meta"):"viewport"===i.name?ot(a.viewportChunks,i,"meta"):ot(a.hoistableChunks,i,"meta");return en;case"listing":case"pre":t.push(gt(r));var tn,nn=null,rn=null;for(tn in i)if(z.call(i,tn)){var on=i[tn];if(null!=on)switch(tn){case"children":nn=on;break;case"dangerouslySetInnerHTML":rn=on;break;default:qe(t,tn,on)}}if(t.push(Ke),null!=rn){if(null!=nn)throw Error(n(60));if("object"!=typeof rn||!("__html"in rn))throw Error(n(61));var an=rn.__html;null!=an&&("string"==typeof an&&0<an.length&&"\n"===an[0]?t.push(ft,F(an)):t.push(F(""+an)))}return"string"==typeof nn&&"\n"===nn[0]&&t.push(ft),nn;case"img":var sn=3&c.tagScope,ln=i.src,cn=i.srcSet;if(!("lazy"===i.loading||!ln&&!cn||"string"!=typeof ln&&null!=ln||"string"!=typeof cn&&null!=cn||"low"===i.fetchPriority||sn)&&("string"!=typeof ln||":"!==ln[4]||"d"!==ln[0]&&"D"!==ln[0]||"a"!==ln[1]&&"A"!==ln[1]||"t"!==ln[2]&&"T"!==ln[2]||"a"!==ln[3]&&"A"!==ln[3])&&("string"!=typeof cn||":"!==cn[4]||"d"!==cn[0]&&"D"!==cn[0]||"a"!==cn[1]&&"A"!==cn[1]||"t"!==cn[2]&&"T"!==cn[2]||"a"!==cn[3]&&"A"!==cn[3])){null!==l&&64&c.tagScope&&(l.suspenseyImages=!0);var un="string"==typeof i.sizes?i.sizes:void 0,dn=cn?cn+"\n"+(un||""):ln,hn=a.preloads.images,fn=hn.get(dn);if(fn)("high"===i.fetchPriority||10>a.highImagePreloads.size)&&(hn.delete(dn),a.highImagePreloads.add(fn));else if(!o.imageResources.hasOwnProperty(dn)){o.imageResources[dn]=ie;var pn,mn=i.crossOrigin,gn="string"==typeof mn?"use-credentials"===mn?mn:"":void 0,vn=a.headers;vn&&0<vn.remainingCapacity&&"string"!=typeof i.srcSet&&("high"===i.fetchPriority||500>vn.highImagePreloads.length)&&(pn=rr(ln,"image",{imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:gn,integrity:i.integrity,nonce:i.nonce,type:i.type,fetchPriority:i.fetchPriority,referrerPolicy:i.refererPolicy}),0<=(vn.remainingCapacity-=pn.length+2))?(a.resets.image[dn]=ie,vn.highImagePreloads&&(vn.highImagePreloads+=", "),vn.highImagePreloads+=pn):(nt(fn=[],{rel:"preload",as:"image",href:cn?void 0:ln,imageSrcSet:cn,imageSizes:un,crossOrigin:gn,integrity:i.integrity,type:i.type,fetchPriority:i.fetchPriority,referrerPolicy:i.referrerPolicy}),"high"===i.fetchPriority||10>a.highImagePreloads.size?a.highImagePreloads.add(fn):(a.bulkPreloads.add(fn),hn.set(dn,fn)))}}return ot(t,i,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return ot(t,i,r);case"head":if(2>c.insertionMode){var yn=s||a.preamble;if(yn.headChunks)throw Error(n(545,"`<head>`"));null!==s&&t.push(st),yn.headChunks=[];var bn=dt(yn.headChunks,i,"head")}else bn=ht(t,i,"head");return bn;case"body":if(2>c.insertionMode){var Cn=s||a.preamble;if(Cn.bodyChunks)throw Error(n(545,"`<body>`"));null!==s&&t.push(lt),Cn.bodyChunks=[];var wn=dt(Cn.bodyChunks,i,"body")}else wn=ht(t,i,"body");return wn;case"html":if(0===c.insertionMode){var En=s||a.preamble;if(En.htmlChunks)throw Error(n(545,"`<html>`"));null!==s&&t.push(ct),En.htmlChunks=[vt];var kn=dt(En.htmlChunks,i,"html")}else kn=ht(t,i,"html");return kn;default:if(-1!==r.indexOf("-")){t.push(gt(r));var Sn,xn=null,Tn=null;for(Sn in i)if(z.call(i,Sn)){var Mn=i[Sn];if(null!=Mn){var An=Sn;switch(Sn){case"children":xn=Mn;break;case"dangerouslySetInnerHTML":Tn=Mn;break;case"style":Ie(t,Mn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":An="class";default:if(W(Sn)&&"function"!=typeof Mn&&"symbol"!=typeof Mn&&!1!==Mn){if(!0===Mn)Mn="";else if("object"==typeof Mn)continue;t.push(_e,F(An),Fe,F(Y(Mn)),$e)}}}}return t.push(Ke),Ze(t,Tn,xn),xn}}return ht(t,i,r)}(S.chunks,y,C,t.resumableState,t.renderState,r.blockedPreamble,r.hoistableState,r.formatContext,S.lastPushedText),S.lastPushedText=!1,T=r.formatContext,k=r.keyPath,r.keyPath=i,3===(r.formatContext=Se(T,y,C)).insertionMode){i=Li(0,0,null,r.formatContext,!1,!1),S.preambleChildren.push(i),r.blockedSegment=i;try{i.status=6,Xi(t,r,A,-1),i.lastPushedText&&i.textEmbedded&&i.chunks.push(Ae),i.status=1,ao(t,r.blockedBoundary,i)}finally{r.blockedSegment=S}}else Xi(t,r,A,-1);r.formatContext=T,r.keyPath=k;e:{switch(r=S.chunks,t=t.resumableState,y){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=T.insertionMode){t.hasBody=!0;break e}break;case"html":if(0===T.insertionMode){t.hasHtml=!0;break e}break;case"head":if(1>=T.insertionMode)break e}r.push(bt(y))}S.lastPushedText=!1}}}function Hi(e,t,n,r,i){var o=t.replay,a=t.blockedBoundary,s=Li(0,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,Xi(e,t,r,i),s.status=1,ao(e,a,s),null===a?e.completedRootSegment=s:(oo(a,s),a.parentFlushed&&e.partialBoundaries.push(a))}finally{t.replay=o,t.blockedSegment=null}}function Ui(e,t,n,r){null!==t.replay&&"number"==typeof t.replay.slots?Hi(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,Pi(t),Wi(e,t),t.componentStack=n)}function Wi(e,t){var o=t.node,a=t.childIndex;if(null!==o){if("object"==typeof o){switch(o.$$typeof){case r:var s=o.type,l=o.key,u=o.props,h=void 0!==(o=u.ref)?o:null,f=pr(s),m=null==l?-1===a?0:a:l;if(l=[t.keyPath,f,m],null!==t.replay)e:{var g=t.replay;for(a=g.nodes,o=0;o<a.length;o++){var v=a[o];if(m===v[1]){if(4===v.length){if(null!==f&&f!==v[0])throw Error(n(490,v[0],f));var y=v[2];f=v[3],m=t.node,t.replay={nodes:y,slots:f,pendingTasks:1};try{if(Vi(e,t,l,s,u,h),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(P){if("object"==typeof P&&null!==P&&(P===Pr||"function"==typeof P.then))throw t.node===m?t.replay=g:a.splice(o,1),P;t.replay.pendingTasks--,u=Oi(t.componentStack),eo(l=e,e=t.blockedBoundary,y,f,s=P,u=Di(l,s,u))}t.replay=g}else{if(s!==d)throw Error(n(490,"Suspense",pr(s)||"Unknown"));t:{g=void 0,s=v[5],h=v[2],f=v[3],m=null===v[4]?[]:v[4][2],v=null===v[4]?null:v[4][3];var b=t.keyPath,C=t.formatContext,k=t.row,S=t.replay,x=t.blockedBoundary,T=t.hoistableState,M=u.children,A=u.fallback,L=new Set;(u=2>t.formatContext.insertionMode?Ti(e,t.row,L,we(),we()):Ti(e,t.row,L,null,null)).parentFlushed=!0,u.rootSegmentID=s,t.blockedBoundary=u,t.hoistableState=u.contentState,t.keyPath=l,t.formatContext=Me(e.resumableState,C),t.row=null,t.replay={nodes:h,slots:f,pendingTasks:1};try{if(Xi(e,t,M,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));if(t.replay.pendingTasks--,0===u.pendingTasks&&0===u.status){u.status=1,e.completedBoundaries.push(u);break t}}catch(R){u.status=4,g=Di(e,R,y=Oi(t.componentStack)),u.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(u)}finally{t.blockedBoundary=x,t.hoistableState=T,t.replay=S,t.keyPath=b,t.formatContext=C,t.row=k}Pi(y=Ai(e,null,{nodes:m,slots:v,pendingTasks:0},A,-1,x,u.fallbackState,L,[l[0],"Suspense Fallback",l[2]],Te(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Ri(t.componentStack))),e.pingedTasks.push(y)}}a.splice(o,1);break e}}}else Vi(e,t,l,s,u,h);return;case i:throw Error(n(257));case p:if(o=(y=o._init)(o._payload),12===e.status)throw null;return void Ui(e,t,o,a)}if(E(o))return void Gi(e,t,o,a);if((y=w(o))&&(y=y.call(o))){if(!(o=y.next()).done){u=[];do{u.push(o.value),o=y.next()}while(!o.done);Gi(e,t,u,a)}return}if("function"==typeof o.then)return t.thenableState=null,Ui(e,t,li(o),a);if(o.$$typeof===c)return Ui(e,t,o._currentValue,a);throw a=Object.prototype.toString.call(o),Error(n(31,"[object Object]"===a?"object with keys {"+Object.keys(o).join(", ")+"}":a))}"string"==typeof o?null!==(a=t.blockedSegment)&&(a.lastPushedText=Le(a.chunks,o,e.renderState,a.lastPushedText)):"number"!=typeof o&&"bigint"!=typeof o||null!==(a=t.blockedSegment)&&(a.lastPushedText=Le(a.chunks,""+o,e.renderState,a.lastPushedText))}}function Gi(e,t,r,i){var o=t.keyPath;if(-1===i||(t.keyPath=[t.keyPath,"Fragment",i],null===t.replay)){if(a=t.treeContext,s=r.length,null!==t.replay&&null!==(l=t.replay.slots)&&"object"==typeof l){for(i=0;i<s;i++)c=r[i],t.treeContext=xr(a,s,i),"number"==typeof(u=l[i])?(Hi(e,t,u,c,i),delete l[i]):Xi(e,t,c,i);return t.treeContext=a,void(t.keyPath=o)}for(l=0;l<s;l++)i=r[l],t.treeContext=xr(a,s,l),Xi(e,t,i,l);t.treeContext=a,t.keyPath=o}else{for(var a=t.replay,s=a.nodes,l=0;l<s.length;l++){var c=s[l];if(c[1]===i){i=c[2],c=c[3],t.replay={nodes:i,slots:c,pendingTasks:1};try{if(Gi(e,t,r,-1),1===t.replay.pendingTasks&&0<t.replay.nodes.length)throw Error(n(488));t.replay.pendingTasks--}catch(d){if("object"==typeof d&&null!==d&&(d===Pr||"function"==typeof d.then))throw d;t.replay.pendingTasks--,r=Oi(t.componentStack);var u=t.blockedBoundary;eo(e,u,i,c,d,r=Di(e,d,r))}t.replay=a,s.splice(l,1);break}}t.keyPath=o}}function qi(e,t,r){if(r.status=5,r.rootSegmentID=e.nextSegmentId++,null===(e=r.trackedContentKeyPath))throw Error(n(486));var i=r.trackedFallbackNode,o=t.workingMap.get(e);return void 0===o?(r=[e[1],e[2],[],null,i,r.rootSegmentID],t.workingMap.set(e,r),To(r,e[0],t),r):(o[4]=i,o[5]=r.rootSegmentID,o)}function Ki(e,t,r,i){i.status=5;var o=r.keyPath,a=r.blockedBoundary;if(null===a)i.id=e.nextSegmentId++,t.rootSlots=i.id,null!==e.completedRootSegment&&(e.completedRootSegment.status=5);else{if(null!==a&&0===a.status){var s=qi(e,t,a);if(a.trackedContentKeyPath===o&&-1===r.childIndex)return-1===i.id&&(i.id=i.parentFlushed?a.rootSegmentID:e.nextSegmentId++),void(s[3]=i.id)}if(-1===i.id&&(i.id=i.parentFlushed&&null!==a?a.rootSegmentID:e.nextSegmentId++),-1===r.childIndex)null===o?t.rootSlots=i.id:void 0===(r=t.workingMap.get(o))?To(r=[o[1],o[2],[],i.id],o[0],t):r[3]=i.id;else{if(null===o){if(null===(e=t.rootSlots))e=t.rootSlots={};else if("number"==typeof e)throw Error(n(491))}else if(void 0===(s=(a=t.workingMap).get(o)))e={},s=[o[1],o[2],[],e],a.set(o,s),To(s,o[0],t);else if(null===(e=s[3]))e=s[3]={};else if("number"==typeof e)throw Error(n(491));e[r.childIndex]=i.id}}}function Yi(e,t){null!==(e=e.trackedPostpones)&&null!==(t=t.trackedContentKeyPath)&&void 0!==(t=e.workingMap.get(t))&&(t.length=4,t[2]=[],t[3]=null)}function Zi(e,t,n){return Ai(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Qi(e,t,n){var r=t.blockedSegment,i=Li(0,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Mi(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function Xi(e,t,n,r){var i=t.formatContext,o=t.context,a=t.keyPath,s=t.treeContext,l=t.componentStack,c=t.blockedSegment;if(null===c){c=t.replay;try{return Ui(e,t,n,r)}catch(h){if(Jr(),n=h===Pr?Or():h,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return e=Zi(e,t,r=h===Pr?Xr():null).ping,n.then(e,e),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=c,void Er(o);if("Maximum call stack size exceeded"===n.message)return n=Zi(e,t,n=h===Pr?Xr():null),e.pingedTasks.push(n),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,t.replay=c,void Er(o)}}}else{var u=c.children.length,d=c.chunks.length;try{return Ui(e,t,n,r)}catch(f){if(Jr(),c.children.length=u,c.chunks.length=d,n=f===Pr?Or():f,12!==e.status&&"object"==typeof n&&null!==n){if("function"==typeof n.then)return c=n,e=Qi(e,t,n=f===Pr?Xr():null).ping,c.then(e,e),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,void Er(o);if("Maximum call stack size exceeded"===n.message)return c=Qi(e,t,c=f===Pr?Xr():null),e.pingedTasks.push(c),t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,t.componentStack=l,void Er(o)}}}throw t.formatContext=i,t.context=o,t.keyPath=a,t.treeContext=s,Er(o),n}function Ji(e){var t=e.blockedBoundary,n=e.blockedSegment;null!==n&&(n.status=3,so(this,t,e.row,n))}function eo(e,t,r,i,o,a){for(var s=0;s<r.length;s++){var l=r[s];if(4===l.length)eo(e,t,l[2],l[3],o,a);else{l=l[5];var c=e,u=a,d=Ti(c,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=l,d.status=4,d.errorDigest=u,d.parentFlushed&&c.clientRenderedBoundaries.push(d)}}if(r.length=0,null!==i){if(null===t)throw Error(n(487));if(4!==t.status&&(t.status=4,t.errorDigest=a,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),"object"==typeof i)for(var h in i)delete i[h]}}function to(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(null!==i){if(6===i.status)return;i.status=3}var o=Oi(e.componentStack);if(null===r){if(13!==t.status&&14!==t.status){if(null===(r=e.replay))return void(null!==t.trackedPostpones&&null!==i?(r=t.trackedPostpones,Di(t,n,o),Ki(t,r,e,i),so(t,null,e.row,i)):(Di(t,n,o),Ii(t,n)));r.pendingTasks--,0===r.pendingTasks&&0<r.nodes.length&&(i=Di(t,n,o),eo(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,0===t.pendingRootTasks&&ro(t)}}else{var a=t.trackedPostpones;if(4!==r.status){if(null!==a&&null!==i)return Di(t,n,o),Ki(t,a,e,i),r.fallbackAbortableTasks.forEach(function(e){return to(e,t,n)}),r.fallbackAbortableTasks.clear(),so(t,r,e.row,i);r.status=4,i=Di(t,n,o),r.status=4,r.errorDigest=i,Yi(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,null!==(i=r.row)&&0===--i.pendingTasks&&_i(t,i),r.fallbackAbortableTasks.forEach(function(e){return to(e,t,n)}),r.fallbackAbortableTasks.clear()}null!==(e=e.row)&&0===--e.pendingTasks&&_i(t,e),t.allPendingTasks--,0===t.allPendingTasks&&io(t)}function no(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var o=i.preconnects;if(i.fontPreloads&&(o&&(o+=", "),o+=i.fontPreloads),i.highImagePreloads&&(o&&(o+=", "),o+=i.highImagePreloads),!t){var a=n.styles.values(),s=a.next();e:for(;0<i.remainingCapacity&&!s.done;s=a.next())for(var l=s.value.sheets.values(),c=l.next();0<i.remainingCapacity&&!c.done;c=l.next()){var u=c.value,d=u.props,h=d.href,f=u.props,p=rr(f.href,"style",{crossOrigin:f.crossOrigin,integrity:f.integrity,nonce:f.nonce,type:f.type,fetchPriority:f.fetchPriority,referrerPolicy:f.referrerPolicy,media:f.media});if(!(0<=(i.remainingCapacity-=p.length+2)))break e;n.resets.style[h]=ie,o&&(o+=", "),o+=p,n.resets.style[h]="string"==typeof d.crossOrigin||"string"==typeof d.integrity?[d.crossOrigin,d.integrity]:ie}}r(o?{Link:o}:{})}}}catch(m){Di(e,m,{})}}function ro(e){null===e.trackedPostpones&&no(e,!0),null===e.trackedPostpones&&ho(e),e.onShellError=Lr,(e=e.onShellReady)()}function io(e){no(e,null===e.trackedPostpones||null===e.completedRootSegment||5!==e.completedRootSegment.status),ho(e),(e=e.onAllReady)()}function oo(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary&&-1===t.children[0].id){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,1!==n.status&&3!==n.status&&4!==n.status||oo(e,n)}else e.completedSegments.push(t)}function ao(e,t,n){if(null!==N){n=n.chunks;for(var r=0,i=0;i<n.length;i++)r+=n[i].byteLength;null===t?e.byteSize+=r:t.byteSize+=r}}function so(e,t,r,i){if(null!==r&&(0===--r.pendingTasks?_i(e,r):r.together&&$i(e,r)),e.allPendingTasks--,null===t){if(null!==i&&i.parentFlushed){if(null!==e.completedRootSegment)throw Error(n(389));e.completedRootSegment=i}e.pendingRootTasks--,0===e.pendingRootTasks&&ro(e)}else if(t.pendingTasks--,4!==t.status)if(0===t.pendingTasks){if(0===t.status&&(t.status=1),null!==i&&i.parentFlushed&&(1===i.status||3===i.status)&&oo(t,i),t.parentFlushed&&e.completedBoundaries.push(t),1===t.status)null!==(r=t.row)&&ur(r.hoistables,t.contentState),bi(0,t)||(t.fallbackAbortableTasks.forEach(Ji,e),t.fallbackAbortableTasks.clear(),null!==r&&0===--r.pendingTasks&&_i(e,r)),0===e.pendingRootTasks&&null===e.trackedPostpones&&null!==t.contentPreamble&&ho(e);else if(5===t.status&&null!==(t=t.row)){if(null!==e.trackedPostpones){r=e.trackedPostpones;var o=t.next;if(null!==o&&null!==(i=o.boundaries))for(o.boundaries=null,o=0;o<i.length;o++){var a=i[o];qi(e,r,a),so(e,a,null,null)}}0===--t.pendingTasks&&_i(e,t)}}else null===i||!i.parentFlushed||1!==i.status&&3!==i.status||(oo(t,i),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)),null!==(t=t.row)&&t.together&&$i(e,t);0===e.allPendingTasks&&io(e)}function lo(e){if(14!==e.status&&13!==e.status){var t=gr,r=ee.H;ee.H=hi;var i=ee.A;ee.A=pi;var o=Si;Si=e;var a=fi;fi=e.resumableState;try{var s,l=e.pingedTasks;for(s=0;s<l.length;s++){var c=l[s],u=e,d=c.blockedSegment;if(null===d){var h=u;if(0!==c.replay.pendingTasks){Er(c.context);try{if("number"==typeof c.replay.slots?Hi(h,c,c.replay.slots,c.node,c.childIndex):Wi(h,c),1===c.replay.pendingTasks&&0<c.replay.nodes.length)throw Error(n(488));c.replay.pendingTasks--,c.abortSet.delete(c),so(h,c.blockedBoundary,c.row,null)}catch(L){Jr();var f=L===Pr?Or():L;if("object"==typeof f&&null!==f&&"function"==typeof f.then){var p=c.ping;f.then(p,p),c.thenableState=L===Pr?Xr():null}else{c.replay.pendingTasks--,c.abortSet.delete(c);var m=Oi(c.componentStack);u=void 0;var g=h,v=c.blockedBoundary,y=12===h.status?h.fatalError:f;eo(g,v,c.replay.nodes,c.replay.slots,y,u=Di(g,y,m)),h.pendingRootTasks--,0===h.pendingRootTasks&&ro(h),h.allPendingTasks--,0===h.allPendingTasks&&io(h)}}}}else if(h=void 0,0===(g=d).status){g.status=6,Er(c.context);var b=g.children.length,C=g.chunks.length;try{Wi(u,c),g.lastPushedText&&g.textEmbedded&&g.chunks.push(Ae),c.abortSet.delete(c),g.status=1,ao(u,c.blockedBoundary,g),so(u,c.blockedBoundary,c.row,g)}catch(L){Jr(),g.children.length=b,g.chunks.length=C;var w=L===Pr?Or():12===u.status?u.fatalError:L;if(12===u.status&&null!==u.trackedPostpones){var E=u.trackedPostpones,k=Oi(c.componentStack);c.abortSet.delete(c),Di(u,w,k),Ki(u,E,c,g),so(u,c.blockedBoundary,c.row,g)}else if("object"==typeof w&&null!==w&&"function"==typeof w.then){g.status=0,c.thenableState=L===Pr?Xr():null;var S=c.ping;w.then(S,S)}else{var x=Oi(c.componentStack);c.abortSet.delete(c),g.status=4;var T=c.blockedBoundary,M=c.row;if(null!==M&&0===--M.pendingTasks&&_i(u,M),u.allPendingTasks--,h=Di(u,w,x),null===T)Ii(u,w);else if(T.pendingTasks--,4!==T.status){T.status=4,T.errorDigest=h,Yi(u,T);var A=T.row;null!==A&&0===--A.pendingTasks&&_i(u,A),T.parentFlushed&&u.clientRenderedBoundaries.push(T),0===u.pendingRootTasks&&null===u.trackedPostpones&&null!==T.contentPreamble&&ho(u)}0===u.allPendingTasks&&io(u)}}}}l.splice(0,s),null!==e.destination&&wo(e,e.destination)}catch(P){Di(e,P,{}),Ii(e,P)}finally{fi=a,ee.H=r,ee.A=i,r===hi&&Er(t),Si=o}}}function co(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=uo(e,t.children[i],n)||r;return r}function uo(e,t,r){var i=t.boundary;if(null===i)return co(e,t,r);var o=i.contentPreamble,a=i.fallbackPreamble;if(null===o||null===a)return!1;switch(i.status){case 1:if(Ct(e.renderState,o),e.byteSize+=i.byteSize,!(t=i.completedSegments[0]))throw Error(n(391));return co(e,t,r);case 5:if(null!==e.trackedPostpones)return!0;case 4:if(1===t.status)return Ct(e.renderState,a),co(e,t,r);default:return!0}}function ho(e){if(e.completedRootSegment&&null===e.completedPreambleSegments){var t=[],n=e.byteSize,r=uo(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function fo(e,t,r,i){switch(r.parentFlushed=!0,r.status){case 0:r.id=e.nextSegmentId++;case 5:return i=r.id,r.lastPushedText=!1,r.textEmbedded=!1,e=e.renderState,O(t,kt),O(t,e.placeholderPrefix),O(t,e=F(i.toString(16))),D(t,St);case 1:r.status=2;var o=!0,a=r.chunks,s=0;r=r.children;for(var l=0;l<r.length;l++){for(o=r[l];s<o.index;s++)O(t,a[s]);o=go(e,t,o,i)}for(;s<a.length-1;s++)O(t,a[s]);return s<a.length&&(o=D(t,a[s])),o;case 3:return!0;default:throw Error(n(390))}}var mo=0;function go(e,t,r,i){var o=r.boundary;if(null===o)return fo(e,t,r,i);if(o.parentFlushed=!0,4===o.status){var a=o.row;null!==a&&0===--a.pendingTasks&&_i(e,a),o=o.errorDigest,D(t,Pt),O(t,Ot),o&&(O(t,It),O(t,F(Y(o))),O(t,Dt)),D(t,_t),fo(e,t,r,i)}else if(1!==o.status)0===o.status&&(o.rootSegmentID=e.nextSegmentId++),0<o.completedSegments.length&&e.partialBoundaries.push(o),Ft(t,e.renderState,o.rootSegmentID),i&&ur(i,o.fallbackState),fo(e,t,r,i);else if(!Co&&bi(0,o)&&(mo+o.byteSize>e.progressiveChunkSize||dr(o.contentState)))o.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(o),Ft(t,e.renderState,o.rootSegmentID),fo(e,t,r,i);else{if(mo+=o.byteSize,i&&ur(i,o.contentState),null!==(r=o.row)&&bi(0,o)&&0===--r.pendingTasks&&_i(e,r),D(t,Mt),1!==(r=o.completedSegments).length)throw Error(n(391));go(e,t,r[0],i)}return D(t,Rt)}function vo(e,t,r,i){return function(e,t,r,i){switch(r.insertionMode){case 0:case 1:case 3:case 2:return O(e,$t),O(e,t.segmentPrefix),O(e,F(i.toString(16))),D(e,Nt);case 4:return O(e,jt),O(e,t.segmentPrefix),O(e,F(i.toString(16))),D(e,zt);case 5:return O(e,Ht),O(e,t.segmentPrefix),O(e,F(i.toString(16))),D(e,Ut);case 6:return O(e,Gt),O(e,t.segmentPrefix),O(e,F(i.toString(16))),D(e,qt);case 7:return O(e,Yt),O(e,t.segmentPrefix),O(e,F(i.toString(16))),D(e,Qt);case 8:return O(e,Jt),O(e,t.segmentPrefix),O(e,F(i.toString(16))),D(e,en);case 9:return O(e,nn),O(e,t.segmentPrefix),O(e,F(i.toString(16))),D(e,rn);default:throw Error(n(397))}}(t,e.renderState,r.parentFormatContext,r.id),go(e,t,r,i),function(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return D(e,Bt);case 4:return D(e,Vt);case 5:return D(e,Wt);case 6:return D(e,Kt);case 7:return D(e,Xt);case 8:return D(e,tn);case 9:return D(e,on);default:throw Error(n(397))}}(t,r.parentFormatContext)}function yo(e,t,r){mo=r.byteSize;for(var i=r.completedSegments,o=0;o<i.length;o++)bo(e,t,r,i[o]);i.length=0,null!==(i=r.row)&&bi(0,r)&&0===--i.pendingTasks&&_i(e,i),Fn(t,r.contentState,e.renderState),i=e.resumableState,e=e.renderState,o=r.rootSegmentID,r=r.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,O(t,e.startInlineScript),O(t,Ke),a?(!(4&i.instructions)&&(i.instructions|=4,O(t,yn)),!(2&i.instructions)&&(i.instructions|=2,O(t,un)),8&i.instructions?O(t,fn):(i.instructions|=8,O(t,hn))):(!(2&i.instructions)&&(i.instructions|=2,O(t,un)),O(t,dn)),i=F(o.toString(16)),O(t,e.boundaryPrefix),O(t,i),O(t,pn),O(t,e.segmentPrefix),O(t,i),a?(O(t,mn),function(e,t){O(e,Zn);var r=Zn;t.stylesheets.forEach(function(t){if(2!==t.state)if(3===t.state)O(e,r),O(e,F(Mn(""+t.props.href))),O(e,Jn),r=Qn;else{O(e,r);var i=t.props["data-precedence"],o=t.props,a=J(""+t.props.href);for(var s in O(e,F(Mn(a))),i=""+i,O(e,Xn),O(e,F(Mn(i))),o)if(z.call(o,s)&&null!=(i=o[s]))switch(s){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:er(e,s,i)}O(e,Jn),r=Qn,t.state=3}}),O(e,Jn)}(t,r)):O(t,gn),r=D(t,vn),wt(t,e)&&r}function bo(e,t,r,i){if(2===i.status)return!0;var o=r.contentState,a=i.id;if(-1===a){if(-1===(i.id=r.rootSegmentID))throw Error(n(392));return vo(e,t,i,o)}return a===r.rootSegmentID?vo(e,t,i,o):(vo(e,t,i,o),r=e.resumableState,O(t,(e=e.renderState).startInlineScript),O(t,Ke),1&r.instructions?O(t,sn):(r.instructions|=1,O(t,an)),O(t,e.segmentPrefix),O(t,a=F(a.toString(16))),O(t,ln),O(t,e.placeholderPrefix),O(t,a),t=D(t,cn))}var Co=!1;function wo(e,t){P=new Uint8Array(2048),R=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(null!==r){if(5===r.status)return;var i=e.completedPreambleSegments;if(null===i)return;mo=e.byteSize;var o,a=e.resumableState,s=e.renderState,l=s.preamble,c=l.htmlChunks,u=l.headChunks;if(c){for(o=0;o<c.length;o++)O(t,c[o]);if(u)for(o=0;o<u.length;o++)O(t,u[o]);else O(t,gt("head")),O(t,Ke)}else if(u)for(o=0;o<u.length;o++)O(t,u[o]);var d=s.charsetChunks;for(o=0;o<d.length;o++)O(t,d[o]);d.length=0,s.preconnects.forEach($n,t),s.preconnects.clear();var h=s.viewportChunks;for(o=0;o<h.length;o++)O(t,h[o]);h.length=0,s.fontPreloads.forEach($n,t),s.fontPreloads.clear(),s.highImagePreloads.forEach($n,t),s.highImagePreloads.clear(),oe=s,s.styles.forEach(Wn,t),oe=null;var f=s.importMapChunks;for(o=0;o<f.length;o++)O(t,f[o]);f.length=0,s.bootstrapScripts.forEach($n,t),s.scripts.forEach($n,t),s.scripts.clear(),s.bulkPreloads.forEach($n,t),s.bulkPreloads.clear(),c||u||(a.instructions|=32);var p=s.hoistableChunks;for(o=0;o<p.length;o++)O(t,p[o]);for(a=p.length=0;a<i.length;a++){var m=i[a];for(s=0;s<m.length;s++)go(e,t,m[s],null)}var g=e.renderState.preamble,v=g.headChunks;(g.htmlChunks||v)&&O(t,bt("head"));var y=g.bodyChunks;if(y)for(i=0;i<y.length;i++)O(t,y[i]);go(e,t,r,null),e.completedRootSegment=null;var b=e.renderState;if(0!==e.allPendingTasks||0!==e.clientRenderedBoundaries.length||0!==e.completedBoundaries.length||null!==e.trackedPostpones&&(0!==e.trackedPostpones.rootNodes.length||null!==e.trackedPostpones.rootSlots)){var C=e.resumableState;if(!(64&C.instructions)){if(C.instructions|=64,O(t,b.startInlineScript),!(32&C.instructions)){C.instructions|=32;var w="_"+C.idPrefix+"R_";O(t,Kn),O(t,F(Y(w))),O(t,$e)}O(t,Ke),O(t,Et),D(t,se)}}wt(t,b)}var E=e.renderState;r=0;var k=E.viewportChunks;for(r=0;r<k.length;r++)O(t,k[r]);k.length=0,E.preconnects.forEach($n,t),E.preconnects.clear(),E.fontPreloads.forEach($n,t),E.fontPreloads.clear(),E.highImagePreloads.forEach($n,t),E.highImagePreloads.clear(),E.styles.forEach(qn,t),E.scripts.forEach($n,t),E.scripts.clear(),E.bulkPreloads.forEach($n,t),E.bulkPreloads.clear();var S=E.hoistableChunks;for(r=0;r<S.length;r++)O(t,S[r]);S.length=0;var x=e.clientRenderedBoundaries;for(n=0;n<x.length;n++){var T=x[n];E=t;var M=e.resumableState,A=e.renderState,L=T.rootSegmentID,_=T.errorDigest;O(E,A.startInlineScript),O(E,Ke),4&M.instructions?O(E,Cn):(M.instructions|=4,O(E,bn)),O(E,A.boundaryPrefix),O(E,F(L.toString(16))),O(E,wn),_&&(O(E,En),O(E,F(xn(_||""))));var $=D(E,kn);if(!$)return e.destination=null,n++,void x.splice(0,n)}x.splice(0,n);var N=e.completedBoundaries;for(n=0;n<N.length;n++)if(!yo(e,t,N[n]))return e.destination=null,n++,void N.splice(0,n);N.splice(0,n),I(t),P=new Uint8Array(2048),R=0,Co=!0;var B=e.partialBoundaries;for(n=0;n<B.length;n++){var j=B[n];e:{x=e,T=t,mo=j.byteSize;var z=j.completedSegments;for($=0;$<z.length;$++)if(!bo(x,T,j,z[$])){$++,z.splice(0,$);var V=!1;break e}z.splice(0,$);var H=j.row;null!==H&&H.together&&1===j.pendingTasks&&(1===H.pendingTasks?Fi(x,H,H.hoistables):H.pendingTasks--),V=Fn(T,j.contentState,x.renderState)}if(!V)return e.destination=null,n++,void B.splice(0,n)}B.splice(0,n),Co=!1;var U=e.completedBoundaries;for(n=0;n<U.length;n++)if(!yo(e,t,U[n]))return e.destination=null,n++,void U.splice(0,n);U.splice(0,n)}}finally{Co=!1,0===e.allPendingTasks&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length?(e.flushScheduled=!1,(n=e.resumableState).hasBody&&O(t,bt("body")),n.hasHtml&&O(t,bt("html")),I(t),e.status=14,t.close(),e.destination=null):I(t)}}function Eo(e){e.flushScheduled=null!==e.destination,L(function(){return lo(e)}),T(function(){10===e.status&&(e.status=11),null===e.trackedPostpones&&no(e,0===e.pendingRootTasks)})}function ko(e){!1===e.flushScheduled&&0===e.pingedTasks.length&&null!==e.destination&&(e.flushScheduled=!0,T(function(){var t=e.destination;t?wo(e,t):e.flushScheduled=!1}))}function So(e,t){if(13===e.status)e.status=14,B(t,e.fatalError);else if(14!==e.status&&null===e.destination){e.destination=t;try{wo(e,t)}catch(n){Di(e,n,{}),Ii(e,n)}}}function xo(e,t){11!==e.status&&10!==e.status||(e.status=12);try{var r=e.abortableTasks;if(0<r.size){var i=void 0===t?Error(n(432)):"object"==typeof t&&null!==t&&"function"==typeof t.then?Error(n(530)):t;e.fatalError=i,r.forEach(function(t){return to(t,e,i)}),r.clear()}null!==e.destination&&wo(e,e.destination)}catch(o){Di(e,o,{}),Ii(e,o)}}function To(e,t,n){if(null===t)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);void 0===i&&(i=[t[1],t[2],[],null],r.set(t,i),To(i,t[0],n)),i[2].push(e)}}function Mo(e){var t=e.trackedPostpones;if(null===t||0===t.rootNodes.length&&null===t.rootSlots)return e.trackedPostpones=null;if(null===e.completedRootSegment||5!==e.completedRootSegment.status&&null!==e.completedPreambleSegments){var n=e.nextSegmentId,r=t.rootSlots,i=e.resumableState;i.bootstrapScriptContent=void 0,i.bootstrapScripts=void 0,i.bootstrapModules=void 0}else{n=0,r=-1,i=e.resumableState;var o=e.renderState;i.nextFormID=0,i.hasBody=!1,i.hasHtml=!1,i.unknownResources={font:o.resets.font},i.dnsResources=o.resets.dns,i.connectResources=o.resets.connect,i.imageResources=o.resets.image,i.styleResources=o.resets.style,i.scriptResources={},i.moduleUnknownResources={},i.moduleScriptResources={},i.instructions=0}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function Ao(){var t=e.version;if("19.2.7"!==t)throw Error(n(527,t,"19.2.7"))}return Ao(),Ao(),lOe.prerender=function(e,t){return new Promise(function(n,r){var i,o=t?t.onHeaders:void 0;o&&(i=function(e){o(new Headers(e))});var a=Ce(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=function(e,t,r,i,o,a,l,c,u,d,h){return(e=Ei(e,t,r,i,o,a,function(){var e=new ReadableStream({type:"bytes",pull:function(e){
1So(s,e)},cancel:function(e){s.destination=null,xo(s,e)}},{highWaterMark:0});e={postponed:Mo(s),prelude:e},n(e)},void 0,void 0,d,h,void 0)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,a,be(a,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,i,t?t.maxHeadersLength:void 0),ke(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,0,0,0,r,t?t.onPostpone:void 0);if(t&&t.signal){var l=t.signal;if(l.aborted)xo(s,l.reason);else{var c=function(){xo(s,l.reason),l.removeEventListener("abort",c)};l.addEventListener("abort",c)}}Eo(s)})},lOe.renderToReadableStream=function(e,t){return new Promise(function(n,r){var i,o,a,s=new Promise(function(e,t){o=e,i=t}),l=t?t.onHeaders:void 0;l&&(a=function(e){l(new Headers(e))});var c=Ce(t?t.identifierPrefix:void 0,t&&t.unstable_externalRuntimeSrc,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=Ei(e,c,be(c,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),ke(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,o,function(){var e=new ReadableStream({type:"bytes",pull:function(e){So(u,e)},cancel:function(e){u.destination=null,xo(u,e)}},{highWaterMark:0});e.allReady=s,n(e)},function(e){s.catch(function(){}),r(e)},i,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)xo(u,d.reason);else{var h=function(){xo(u,d.reason),d.removeEventListener("abort",h)};d.addEventListener("abort",h)}}Eo(u)})},lOe.resume=function(e,t,n){return new Promise(function(r,i){var o,a,s=new Promise(function(e,t){a=e,o=t}),l=ki(e,t,be(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,a,function(){var e=new ReadableStream({type:"bytes",pull:function(e){So(l,e)},cancel:function(e){l.destination=null,xo(l,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),i(e)},o,n?n.onPostpone:void 0);if(n&&n.signal){var c=n.signal;if(c.aborted)xo(l,c.reason);else{var u=function(){xo(l,c.reason),c.removeEventListener("abort",u)};c.addEventListener("abort",u)}}Eo(l)})},lOe.resumeAndPrerender=function(e,t,n){return new Promise(function(r,i){var o=function(e,t,n,i,a,s,l,c,u){return(e=ki(e,t,n,i,function(){var e=new ReadableStream({type:"bytes",pull:function(e){So(o,e)},cancel:function(e){o.destination=null,xo(o,e)}},{highWaterMark:0});e={postponed:Mo(o),prelude:e},r(e)},void 0,void 0,c,u)).trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}(e,t,be(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,0,0,0,i,n?n.onPostpone:void 0);if(n&&n.signal){var a=n.signal;if(a.aborted)xo(o,a.reason);else{var s=function(){xo(o,a.reason),a.removeEventListener("abort",s)};a.addEventListener("abort",s)}}Eo(o)})},lOe.version="19.2.7",lOe}(),iOe.version=cOe.version,iOe.renderToString=cOe.renderToString,iOe.renderToStaticMarkup=cOe.renderToStaticMarkup,iOe.renderToReadableStream=uOe.renderToReadableStream,iOe.resume=uOe.resume),iOe);const hOe=[["path",{d:"M20.0589 4.57464C18.6543 4.57464 17.5652 3.94025 16.3503 3.21722C15.1798 2.52042 13.8306 1.71721 12.0187 1.75103C10.2095 1.7533 8.77727 2.57936 7.56649 3.27771C6.28078 4.01873 5.17854 4.62457 3.96083 4.53656L3.29633 4.48853L3.17025 5.14199C2.25773 9.87172 2.8839 13.7725 4.53914 16.69C6.19572 19.6099 8.85252 21.4878 11.8794 22.2064L12.063 22.25L12.2453 22.2017C15.4808 21.3437 18.1017 19.4149 19.6665 16.4941C21.2259 13.5834 21.6966 9.76425 20.7948 5.17937L20.6759 4.57464H20.0589ZM12.3144 8.84577L12 7.99609L11.6856 8.84577C11.1994 10.1596 10.1635 11.1955 8.84968 11.6817L8 11.9961L8.84968 12.3105C10.1635 12.7967 11.1994 13.8326 11.6856 15.1464L12 15.9961L12.3144 15.1464C12.8006 13.8326 13.8365 12.7967 15.1503 12.3105L16 11.9961L15.1503 11.6817C13.8365 11.1955 12.8006 10.1596 12.3144 8.84577Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}]],fOe=[["path",{d:"M9.75 3.25H14.25V20.7495H9.75V3.25ZM2.75 7.24805H7.25V20.748H2.75V7.24805ZM21.25 10.248H16.75V20.748H21.25V10.248Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}
1]],pOe=[["path",{d:"M12 22.75C6.06294 22.75 1.25 17.9371 1.25 12C1.25 6.06294 6.06294 1.25 12 1.25C14.6463 1.25 17.0692 2.20617 18.9422 3.79186L11.9618 11.5476L9.20711 8.79289L7.79289 10.2071L12.0382 14.4524L20.345 5.22281C21.8487 7.07208 22.75 9.43078 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75Z",fill:"currentColor",key:"0"}]],mOe=[["path",{d:"M11.2376 1.28193C11.0463 1.22424 10.8399 1.2453 10.6641 1.34043C10.4884 1.43556 10.3579 1.59689 10.3015 1.78863L6.28041 15.4786C6.16426 15.874 6.38893 16.289 6.78351 16.408L17.7624 19.7181C17.9537 19.7758 18.1602 19.7547 18.3359 19.6596C18.5116 19.5644 18.6422 19.4031 18.6985 19.2114L22.7196 5.52144C22.8358 5.12602 22.6111 4.71097 22.2165 4.592L11.2376 1.28193ZM15.4998 8C16.3282 8 16.9998 7.32843 16.9998 6.5C16.9998 5.67157 16.3282 5 15.4998 5C14.6714 5 13.9998 5.67157 13.9998 6.5C13.9998 7.32843 14.6714 8 15.4998 8Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}],["path",{d:"M1.78351 7.59195L6.78351 6.08447L7.2165 7.52062L2.92947 8.81314L6.52785 21.0638L12.7835 19.1778L13.2165 20.6139L6.23763 22.718C6.0463 22.7757 5.83986 22.7546 5.66411 22.6595C5.48837 22.5644 5.35786 22.4031 5.30154 22.2113L1.28041 8.52139C1.16426 8.12597 1.38893 7.71091 1.78351 7.59195Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"1"}]],gOe=[["path",{d:"M16.2891 3.41699L9.58694 21.2891L7.71487 20.5869L14.417 2.71484L16.2891 3.41699Z",fill:"currentColor",key:"0"}],["path",{d:"M23.416 12.002L18.002 17.416L16.5879 16.002L20.5879 12.002L16.5879 8.00195L18.002 6.58789L23.416 12.002Z",fill:"currentColor",key:"1"}],["path",{d:"M0.587921 12.002L6.00198 17.416L7.41605 16.002L3.41605 12.002L7.41605 8.00195L6.00198 6.58789L0.587921 12.002Z",fill:"currentColor",key:"2"}]],vOe=[["path",{d:"M3.75 4.5C3.75 4.08579 4.08579 3.75 4.5 3.75H19.5C19.9142 3.75 20.25 4.08579 20.25 4.5V19.5C20.25 19.9142 19.9142 20.25 19.5 20.25H4.5C4.08579 20.25 3.75 19.9142 3.75 19.5V4.5ZM8.29297 12.2928L12.293 8.29285L13.7072 9.70706L9.70718 13.7071L8.29297 12.2928ZM14.293 12.2928L12.293 14.2928L13.7072 15.7071L15.7072 13.7071L14.293 12.2928Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}],["path",{d:"M8.5 4.5V2H10.5V4.5H8.5ZM13.5 4.5V2H15.5V4.5H13.5ZM2 8.5H4.5V10.5H2V8.5ZM19.5 8.5H22V10.5H19.5V8.5ZM2 13.5H4.5V15.5H2V13.5ZM19.5 13.5H22V15.5H19.5V13.5ZM8.5 22V19.5H10.5V22H8.5ZM13.5 22V19.5H15.5V22H13.5Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"1"}]],yOe=[["path",{d:"M12.75 6.75C12.75 9.23528 14.7647 11.25 17.25 11.25C19.7353 11.25 21.75 9.23528 21.75 6.75C21.75 4.26472 19.7353 2.25 17.25 2.25C14.7647 2.25 12.75 4.26472 12.75 6.75Z",fill:"currentColor",key:"0"}],["path",{d:"M2.25 6.75C2.25 9.23528 4.26472 11.25 6.75 11.25C9.23528 11.25 11.25 9.23528 11.25 6.75C11.25 4.26472 9.23528 2.25 6.75 2.25C4.26472 2.25 2.25 4.26472 2.25 6.75Z",fill:"currentColor",key:"1"}],["path",{d:"M12.75 17.25C12.75 19.7353 14.7647 21.75 17.25 21.75C19.7353 21.75 21.75 19.7353 21.75 17.25C21.75 14.7647 19.7353 12.75 17.25 12.75C14.7647 12.75 12.75 14.7647 12.75 17.25Z",fill:"currentColor",key:"2"}],["path",{d:"M2.25 17.25C2.25 19.7353 4.26472 21.75 6.75 21.75C9.23528 21.75 11.25 19.7353 11.25 17.25C11.25 14.7647 9.23528 12.75 6.75 12.75C4.26472 12.75 2.25 14.7647 2.25 17.25Z",fill:"currentColor",key:"3"}]],bOe=[["path",{d:"M14.75 10.75V2.25H9.25005V10.75H5.39848L12 18.6719L18.6016 10.75H14.75Z",fill:"currentColor",key:"0"}],["path",{d:"M19.75 19.75V21.75H4.25V19.75H19.75Z",fill:"currentColor",key:"1"}]],COe=[["path",{d:"M5.74731 1.25H15.808L21.2473 6.68934V19.75H5.74731V1.25ZM19.7474 7.31066L15.1868 2.75V7.31066H19.7474ZM14.7493 10.25H9.24927V11.75H14.7493V10.25ZM17.7493 14.25H9.24927V15.75H17.7493V14.25Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}],["path",{d:"M4.49927 4.25H2.74927V22.75H18.2496V21H4.49927V4.25Z",fill:"currentColor",key:"1"}]],wOe=[["path",{d:"M4 1.25L14.25 1.25L14.25 7.75L20.75 7.75L20.75 22C20.75 22.4142 20.4142 22.75 20 22.75L4 22.75C3.58579 22.75 3.25 22.4142 3.25 22L3.25 2C3.25 1.58579 3.58579 1.25 4 1.25ZM15.75 1.68934L20.3107 6.25L15.75 6.25L15.75 1.68934ZM8 12.75L16 12.75L16 11.25L8 11.25V12.75ZM8 15.75L16 15.75V14.25L8 14.25V15.75ZM8 18.75L14 18.75V17.25H8V18.75Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}]],EOe=[["path",{d:"M2.44034 17.25L0.5 21.25H23.5L21.56 17.25H2.44034Z",fill:"currentColor",key:"0"}],["path",{d:"M21.25 15.75H2.75V2.75H21.25V15.75ZM11 4.75V6.4209C10.6531 6.54358 10.3353 6.72795 10.0605 6.96094L8.63965 6.13281L7.63281 7.86035L9.05273 8.68848C9.01816 8.87064 9 9.05838 9 9.25C9 9.44161 9.01817 9.62937 9.05273 9.81152L7.63281 10.6396L8.63965 12.3672L10.0605 11.5391C10.3353 11.772 10.6531 11.9564 11 12.0791V13.75H13V12.0791C13.3469 11.9564 13.6647 11.772 13.9395 11.5391L15.3604 12.3672L16.3672 10.6396L14.9473 9.81152C14.9818 9.62937 15 9.44161 15 9.25C15 9.05838 14.9818 8.87063 14.9473 8.68848L16.3672 7.86035L15.3604 6.13281L13.9395 6.96094C13.6647 6.72796 13.3469 6.54358 13 6.4209V4.75H11ZM12 8.25C12.3673 8.25001 12.6893 8.44775 12.8643 8.74707C12.9501 8.89403 13 9.06462 13 9.25C13 9.43537 12.9501 9.60597 12.8643 9.75293C12.6893 10.0523 12.3673 10.25 12 10.25C11.6327 10.25 11.3107 10.0523 11.1357 9.75293C11.0499 9.60597 11 9.43538 11 9.25C11 9.06461 11.0498 8.89403 11.1357 8.74707C11.3107 8.44774 11.6327 8.25 12 8.25Z",fill:"currentColor",key:"1"}]],kOe=[["path",{d:"M9 12C9 10.3431 10.3431 9 12 9C13.6569 9 15 10.3431 15 12C15 13.6569 13.6569 15 12 15C10.3431 15 9 13.6569 9 12Z",fill:"currentColor",key:"0"}],["path",{d:"M8.20711 8.7074C7.43708 9.47742 7 10.6988 7 12.0003C7 13.3018 7.43708 14.5232 8.20711 15.2932L6.79289 16.7074C5.56292 15.4774 5 13.6988 5 12.0003C5 10.3018 5.56292 8.52316 6.79289 7.29318L8.20711 8.7074Z",fill:"currentColor",key:"1"}],["path",{d:"M17.2071 7.29318C18.4371 8.52316 19 10.3018 19 12.0003C19 13.6988 18.4371 15.4774 17.2071 16.7074L15.7929 15.2932C16.5629 14.5232 17 13.3018 17 12.0003C17 10.6988 16.5629 9.47742 15.7929 8.7074L17.2071 7.29318Z",fill:"currentColor",key:"2"}],["path",{d:"M5.20711 6.70726C3.87405 8.04031 3 9.79314 3 12.0002C3 14.2072 3.87405 15.96 5.20711 17.293L5.5 17.5856L4.08564 19L3.79289 18.7073C2.12595 17.0403 1 14.7931 1 12.0002C1 9.20717 2.12595 6.95999 3.79289 5.29304L4.08594 5L5.50015 6.41421L5.20711 6.70726Z",fill:"currentColor",key:"3"}],["path",{d:"M20.2071 5.29304C21.8741 6.95999 23 9.20717 23 12.0002C23 14.7931 21.8741 17.0403 20.2071 18.7073L19.9144 19L18.5002 17.5858L18.7929 17.293C20.1259 15.96 21 14.2072 21 12.0002C21 9.79314 20.1259 8.04031 18.7929 6.70726L18.5 6.41406L19.9141 5L20.2071 5.29304Z",fill:"currentColor",key:"4"}]],SOe=[["path",{d:"M17.5 9.90479C20.3907 9.90479 22.75 12.2216 22.75 15.0991C22.75 16.7519 22.0673 18.0403 20.8037 19.1353C20.0429 19.7945 18.6812 21.2381 18.124 22.0718L17.4785 23.0376L16.8633 22.0513C16.346 21.2218 14.9707 19.8063 14.1963 19.1353C12.9327 18.0403
112.25 16.7519 12.25 15.0991C12.25 12.2216 14.6093 9.90479 17.5 9.90479ZM17.5 13.4048C16.5335 13.4048 15.75 14.1883 15.75 15.1548C15.75 16.1213 16.5335 16.9048 17.5 16.9048C18.4665 16.9048 19.25 16.1213 19.25 15.1548C19.25 14.1883 18.4665 13.4048 17.5 13.4048Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}],["path",{d:"M10.75 0.940918C14.9179 1.29766 18.2419 4.59846 18.6943 8.76514C18.3067 8.69356 17.9076 8.65479 17.5 8.65479C16.3317 8.65479 15.232 8.96336 14.2803 9.50244C14.2 7.22583 12.3313 5.40479 10.0352 5.40479C7.68795 5.40479 5.78516 7.30758 5.78516 9.65479C5.78516 12.002 7.68795 13.9048 10.0352 13.9048C10.4177 13.9048 10.788 13.8531 11.1406 13.7583C11.0486 14.1903 11 14.6387 11 15.0991C11 16.8336 11.6228 18.2486 12.7041 19.4243C11.8633 20.3599 11.0875 21.3123 10.6406 22.0454L10 23.0952L9.35938 22.0454C8.39233 20.4592 5.89404 17.8378 4.50293 16.605C2.36487 14.7103 1.25011 12.5304 1.25 9.73584C1.25 5.12027 4.76289 1.32417 9.25 0.939941V0.905762H9.96289C9.97526 0.90571 9.98762 0.904785 10 0.904785H10.75V0.940918Z",fill:"currentColor",key:"1"}]],xOe=[["path",{d:"M16.4235 22.2153C16.6484 22.3436 16.837 22.4416 16.9712 22.5083L17.5 22.7495L18.0288 22.5083C18.163 22.4416 18.3516 22.3436 18.5765 22.2153C19.0246 21.9596 19.6255 21.5785 20.2301 21.0777C21.4142 20.097 22.75 18.5404 22.75 16.4674C22.75 13.5856 20.3995 11.2495 17.5 11.2495C14.6005 11.2495 12.25 13.5856 12.25 16.4674C12.25 18.5404 13.5858 20.097 14.7699 21.0777C15.3745 21.5785 15.9754 21.9596 16.4235 22.2153ZM17.494 14.4995C16.3928 14.4995 15.5 15.3949 15.5 16.4995C15.5 17.6041 16.3928 18.4995 17.494 18.4995H17.506C18.6072 18.4995 19.5 17.6041 19.5 16.4995C19.5 15.3949 18.6072 14.4995 17.506 14.4995H17.494Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}],["path",{d:"M11.4036 19.2719L8.75 18.1328L8.75 1.24951L14.25 3.60985V10.5774C12.166 11.7189 10.75 13.9245 10.75 16.4664C10.75 17.5219 11.0099 18.4581 11.4036 19.2719Z",fill:"currentColor",key:"1"}],["path",{d:"M22.75 3.99786V12.2434C21.5111 10.7203 19.6171 9.74854 17.5 9.74854C16.8951 9.74854 16.3084 9.82787 15.75 9.97673V3.99786H22.75Z",fill:"currentColor",key:"2"}],["path",{d:"M1.25 4.34004L7.25 1.29654L7.25 18.0435L1.25 19.7114V4.34004Z",fill:"currentColor",key:"3"}]],TOe=[["path",{d:"M22.75 12.9722C22.75 9.10849 19.7293 5.94665 15.9091 5.6965V3.25H1.25V18.3239L3.83264 18.3121C4.25076 19.7215 5.56146 20.75 7.11364 20.75C8.66311 20.75 9.97195 19.725 10.3924 18.3194H13.6076C14.0281 19.725 15.3369 20.75 16.8864 20.75C18.4358 20.75 19.7447 19.725 20.1652 18.3194H22.75V12.9722ZM15.9098 14.085C16.2195 13.9934 16.5475 13.9441 16.8871 13.9441C18.4366 13.9441 19.7454 14.9691 20.1659 16.3747H20.7962V12.9719C20.7962 10.1826 18.6493 7.89208 15.9098 7.64648V14.085ZM7.11435 15.8886C6.30475 15.8886 5.64844 16.5415 5.64844 17.3469C5.64844 18.1523 6.30475 18.8052 7.11435 18.8052C7.92395 18.8052 8.58026 18.1523 8.58026 17.3469C8.58026 16.5415 7.92395 15.8886 7.11435 15.8886ZM15.4212 17.3469C15.4212 16.5415 16.0775 15.8886 16.8871 15.8886C17.6967 15.8886 18.353 16.5415 18.353 17.3469C18.353 18.1523 17.6967 18.8052 16.8871 18.8052C16.0775 18.8052 15.4212 18.1523 15.4212 17.3469Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}]],MOe=[["path",{d:"M10.0001 6L4.00008 6.00024L4 4.00024L10 4L10.0001 6Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}],["path",{d:"M20 6L13 6V4L20 4V6Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"1"}],["path",{d:"M15 15L15 9H17L17 15H15Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"2"}],["path",{d:"M9 8L9 2H11L11 8H9Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"3"}],["path",{d:"M11 22L11 16H13L13 22H11Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"4"}],["path",{d:"M20 13.0002L16 13L16.0001 11L20.0001 11.0002L20 13.0002Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"5"}],["path",{d:"M13.0001 13L4.00005 13.0002L4 11.0002L13 11L13.0001 13Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"6"}],["path",{d:"M20 20L12 20V18L20 18V20Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"7"}],["path",{d:"M9.0001 20L4.0001 20.0002L4 18.0002L9 18L9.0001 20Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"8"}]],AOe=[["path",{d:"M12 1.25C6.06294 1.25 1.25 6.06294 1.25 12C1.25 17.9371 6.06294 22.7
15 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}],["path",{d:"M12 10C14.334 10 16.566 10.238 18.6191 10.6719C18.7048 11.1013 18.75 11.5454 18.75 12C18.75 12.9168 18.5674 13.7909 18.2363 14.5879C16.6451 15.3471 15.3471 16.6451 14.5879 18.2363C13.7909 18.5674 12.9168 18.75 12 18.75C11.0832 18.75 10.2091 18.5674 9.41211 18.2363C8.65289 16.6451 7.35492 15.3471 5.76367 14.5879C5.43259 13.7909 5.25 12.9168 5.25 12C5.25 11.5454 5.29517 11.1013 5.38086 10.6719C7.43399 10.238 9.66605 10 12 10ZM12 12.5C11.1716 12.5 10.5 13.1716 10.5 14C10.5 14.8284 11.1716 15.5 12 15.5H12.0088C12.8372 15.5 13.5088 14.8284 13.5088 14C13.5088 13.1716 12.8372 12.5 12.0088 12.5H12Z",fill:"currentColor",key:"1"}]],LOe=[["path",{d:"M8.25 8C8.25 5.92893 9.92893 4.25 12 4.25C14.0711 4.25 15.75 5.92893 15.75 8C15.75 10.0711 14.0711 11.75 12 11.75C9.92893 11.75 8.25 10.0711 8.25 8Z",fill:"currentColor",key:"0"}],["path",{d:"M5.25 18C5.25 15.3766 7.37665 13.25 10 13.25H14C16.6234 13.25 18.75 15.3766 18.75 18V20.75H5.25V18Z",fill:"currentColor",key:"1"}],["path",{d:"M9.60499 3.60985C8.05278 4.45845 7 6.10628 7 8C7 9.0141 7.3019 9.95769 7.82074 10.7458C5.83291 10.6522 4.25 9.01097 4.25 7C4.25 4.92893 5.92893 3.25 8 3.25C8.5743 3.25 9.11844 3.3791 9.60499 3.60985Z",fill:"currentColor",key:"2"}],["path",{d:"M8.28058 12.25C5.8048 12.9893 4 15.2839 4 18V19.75H1.25V17C1.25 14.3766 3.37665 12.25 6 12.25H8.28058Z",fill:"currentColor",key:"3"}],["path",{d:"M20 19.75H22.75V17C22.75 14.3766 20.6234 12.25 18 12.25H15.7194C18.1952 12.9893 20 15.2839 20 18V19.75Z",fill:"currentColor",key:"4"}],["path",{d:"M16.1793 10.7458C18.1671 10.6522 19.75 9.01097 19.75 7C19.75 4.92893 18.0711 3.25 16 3.25C15.4257 3.25 14.8816 3.3791 14.395 3.60985C15.9472 4.45845 17 6.10628 17 8C17 9.0141 16.6981 9.95769 16.1793 10.7458Z",fill:"currentColor",key:"5"}]],POe=[["path",{d:"M18.5788 12.75L18.5789 14.3128C19.0896 14.4649 19.5487 14.7363 19.9239 15.0943L21.3074 14.3037L22.25 15.9534L20.8672 16.7435C20.9239 16.9869 20.9539 17.2402 20.9539 17.5C20.9539 17.7597 20.9239 18.0129 20.8673 18.2562L22.25 19.0464L21.3073 20.696L19.9241 19.9056C19.5489 20.2636 19.0897 20.5351 18.5789 20.6872L18.5788 22.25L16.6788 22.25L16.6789 20.6872C16.168 20.5351 15.7088 20.2636 15.3337 19.9056L13.9504 20.696L13.0077 19.0464L14.3905 18.2562C14.3338 18.0129 14.3039 17.7597 14.3039 17.5C14.3039 17.2402 14.3338 16.9869 14.3905 16.7435L13.0077 15.9534L13.9504 14.3037L15.3339 15.0943C15.709 14.7363 16.1681 14.4649 16.6789 14.3128L16.6788 12.75L18.5788 12.75ZM17.6289 16.075C17.1004 16.075 16.6379 16.3622 16.3909 16.7935C16.2721 17.0009 16.2039 17.241 16.2039 17.5C16.2039 17.7589 16.2721 17.999 16.3908 18.2064C16.6378 18.6378 17.1004 18.925 17.6289 18.925C18.1573 18.925 18.6199 18.6378 18.8669 18.2064C18.9857 17.999 19.0539 17.7589 19.0539 17.5C19.0539 17.241 18.9856 17.0009 18.8669 16.7935C18.6198 16.3622 18.1573 16.075 17.6289 16.075Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}],["path",{d:"M12.2558 20.25L11.3023 18.5813L13.0539 17.5L11.3022 16.4185L13.3769 12.7879C12.7238 12.4099 12.0105 12.1245 11.2549 11.9495C13.2914 11.2274 14.75 9.28405 14.75 7C14.75 4.10051 12.3995 1.75 9.5 1.75C6.6005 1.75 4.25 4.10051 4.25 7C4.25 9.28405 5.70857 11.2274 7.7451 11.9495C4.31022 12.7447 1.75 15.8234 1.75 19.5V20.25H12.2558Z",fill:"currentColor",key:"1"}]],ROe=[["path",{d:"M1.25 4C1.25 3.58579 1.58579 3.25 2 3.25H17C17.4142 3.25 17.75 3.58579 17.75 4V8.14536L21.3551 5.88704C21.6396 5.7088 21.994 5.70413 22.2828 5.8748C22.5715 6.04547 22.75 6.36511 22.75 6.71152V17.2885C22.75 17.6349 22.5715 17.9545 22.2828 18.1252C21.994 18.2959 21.6397 18.2912 21.3551 18.113L17.75 15.8548V20C17.75 20.4142 17.4142 20.75 17 20.75H2C1.58579 20.75 1.25 20.4142 1.25 20V4ZM17.75 13.6121V10.388L20.908 8.40981V15.5902L17.75 13.6121ZM10 8H13V11H10V8Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}
1]],OOe=[["path",{d:"M15.75 1.75H14.0978L2.25 6.93867V7.75V10.25V22.25H21.75V7.75H15.75V1.75ZM13.8214 7.75V3.94049L5.12277 7.75H13.8214Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}]],DOe=[["path",{d:"M15.4975 1.75C11.7696 1.75 8.74747 4.77208 8.74747 8.5C8.74747 9.02143 8.80674 9.52982 8.91913 10.0185L1.96772 16.9699C1.67482 17.2628 1.67482 17.7377 1.96772 18.0305L5.96771 22.0306C6.10837 22.1712 6.29913 22.2502 6.49804 22.2502C6.69696 22.2502 6.88772 22.1712 7.02837 22.0306L13.9803 15.0786C14.4685 15.1908 14.9765 15.25 15.4975 15.25C19.2254 15.25 22.2475 12.2279 22.2475 8.5C22.2475 7.50515 22.0318 6.55864 21.6439 5.7064L21.1958 4.722L17.4593 8.45794C16.9288 8.98831 16.0688 8.98812 15.5386 8.45753C15.0093 7.92791 15.0086 7.06983 15.537 6.53935L19.2661 2.7955L18.2813 2.34916C17.4316 1.96405 16.4885 1.75 15.4975 1.75ZM6.4982 18.9168L7.91875 17.4962L6.50453 16.082L5.08398 17.5026L6.4982 18.9168Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",key:"0"}]],IOe=[["path",{d:"M12 8.5L12.2751 9.24347C12.7005 10.3931 13.6069 11.2995 14.7565 11.7249L15.5 12L14.7565 12.2751C13.6069 12.7005 12.7005 13.6069 12.2751 14.7565L12 15.5L11.7249 14.7565C11.2995 13.6069 10.3931 12.7005 9.24347 12.2751L8.5 12L9.24347 11.7249C10.3931 11.2995 11.2995 10.3931 11.7249 9.24347L12 8.5Z",stroke:"currentColor",strokeLinejoin:"bevel",strokeWidth:"1.5",key:"0"}],["path",{d:"M3.9068 5.28387C6.87149 5.4984 8.78311 2.49713 12.0262 2.49713C15.2208 2.43341 16.784 5.32395 20.059 5.32395C21.8147 14.2606 18.1622 19.8743 12.053 21.4961C6.38992 20.15 2.13481 14.4788 3.9068 5.28387Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],_Oe=[["path",{d:"M5.99977 9.00005L11.9998 15L17.9998 9",stroke:"currentColor",strokeWidth:"1.5",key:"0"}]],FOe=[["path",{d:"M3.5 19.998H6.5V7.99805H3.5V19.998Z",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"0"}],["path",{d:"M10.5 19.9995H13.5V4H10.5V19.9995Z",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"1"}],["path",{d:"M17.5 19.998H20.5V10.998H17.5V19.998Z",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"2"}]],$Oe=[["path",{d:"M15 2.4578C14.053 2.16035 13.0452 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 10.9548 21.8396 9.94704 21.5422 9",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M8.5 9.5L12 13L21.0002 3",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],NOe=[["path",{d:"M15 4L9 20",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"0"}],["path",{d:"M18 8L22 12L18 16",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"1"}],["path",{d:"M6 8L2 12L6 16",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"2"}]],BOe=[["path",{d:"M19.5 4.5H4.5V19.5H19.5V4.5Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.5 2V4.5M14.5 2V4.5",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M9.5 19.5V22M14.5 19.5V22",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"2"}],["path",{d:"M13 9L9 13",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"3"}],["path",{d:"M15 13L13 15",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}],["path",{d:"M4.5 9.5H2M4.5 14.5H2",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"5"}],["path",{d:"M22 14.5H19.5M22 9.5L19.5 9.5",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"6"}]],jOe=[["path",{d:"M21 6.75C21 4.67893 19.3211 3 17.25 3C15.1789 3 13.5 4.67893 13.5 6.75C13.5 8.82107 15.1789 10.5 17.25 10.5C19.3211 10.5 21 8.82107 21 6.75Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M10.5 6.75C10.5 4.67893 8.82107 3 6.75 3C4.67893 3 3 4.67893 3 6.75C3 8.82107 4.67893 10.5 6.75 10.5C8.82107 10.5 10.5 8.82107 10.5 6.75Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M21 17.25C21 15.1789 19.3211 13.5 17.25 13.5C15.1789 13.5 13.5 15.1789 13.5 17.25C13.5 19.3211 15.1789 21 17.25 21C19.3211 21 21 19.3211 21 17.25Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}],["path",{d:"M10.5 17.25C10.5 15.1789 8.82107 13.5 6.75 13.5C4.67893 13.5 3 15.1789 3 17.25C3 19.3211 4.67893 21 6.75 21C8.82107 21 10.5 19.3211 10.5 17.25Z",stroke:"currentColor",strokeWidth:"1.5",key:"3"}]],zOe=[["path",{d:"M15.4998 2.5V7H19.9998M6.49982 19H20.4998V7L15.4998 2H6.49982V19Z",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"0"}],["path",{d:"M6.49964 5H3.49963V22H17.5V19",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"1"}],["path",{d:"M10 11H14M10 15H17",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"2"}]],VOe=[["path",{d:"M15.022 2.53076V7.03076H19.522",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M8.02197 11.0308H16.022M8.02197 14.0308H16.022M8.02197 17.0308H14.022",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M4.00146 21.9314V2.0124C4.00146 2.0069 4.00594 2.00244 4.01145 2.00244H14.9896L19.9985 7.02073V21.9876C19.9985 21.9931 19.994 21.9976 19.9885 21.9976L4.01142 21.9414C4.00592 21.9413 4.00146 21.9369 4.00146 21.9314Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}]],HOe=[["path",{d:"M22 9.99902V4.99902H15L8.01175 2L2 5.08199V18.999L8.01175 16.999L11 18.2818",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"0"}],["path",{d:"M8.00001 2.5L8 17.0004",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"1"}],["path",{d:"M15 5V9.5",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"2"}],["path",{d:"M22 16.5C22 20 17.5 22 17.5 22C17.5 22 13 20 13 16.5C13 14.0147 15.0147 12 17.5 12C19.9853 12 22 14.0147 22 16.5Z",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"3"}],["path",{d:"M17.625 16.5H17.5M17.75 16.5C17.75 16.6381 17.6381 16.75 17.5 16.75C17.3619 16.75 17.25 16.6381 17.25 16.5C17.25 16.3619 17.3619 16.25 17.5 16.25C17.6381 16.25 17.75 16.3619 17.75 16.5Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"4"}]],UOe=[["path",{d:"M14.9527 2H9.04738V4.58152L7.15473 5.69367L4.95267 4.40192L2 9.59808L4.20152 10.8895L4.20153 13.1106L2.0001 14.4019L4.95277 19.5981L7.15477 18.3064L9.04738 19.4185V22H14.9527V19.4185L16.8453 18.3064L19.0472 19.5981L21.9999 14.4019L19.7986 13.1106L19.7986 10.8894L22 9.59808L19.0473 4.40192L16.8453 5.69363L14.9527 4.58152V2Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.5 13.933 8.5 12C8.5 10.067 10.067 8.5 12 8.5C13.933 8.5 15.5 10.067 15.5 12Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]],WOe=[["path",{d:"M19.5 17.5C19.5 18.8807 18.3807 20 17 20C15.6193 20 14.5 18.8807 14.5 17.5C14.5 16.1193 15.6193 15 17 15C18.3807 15 19.5 16.1193 19.5 17.5Z",stroke:"currentColor",strokeWidth:"1.5",key:"0"}],["path",{d:"M9.5 17.5C9.5 18.8807 8.38071 20 7 20C5.61929 20 4.5 18.8807 4.5 17.5C4.5 16.1193 5.61929 15 7 15C8.38071 15 9.5 16.1193 9.5 17.5Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}],["path",{d:"M14.5 17.5H9.5M19.5 17.5H22L22 13C22 9.41015 19.0899 6.5 15.5 6.5M15 16V4H2V17.4885L4.5 17.5",stroke:"currentColor",strokeWidth:"1.5",key:"2"}]],GOe=[["path",{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 14C16.5 14.5 14.5 16.5 14 19",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"1"}
1],["path",{d:"M5 14C7.5 14.5 9.5 16.5 10 19",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"2"}],["path",{d:"M19 11C16.8847 10.3593 14.5097 10 12 10C9.49033 10 7.11528 10.3593 5 11",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"3"}],["path",{d:"M12.25 13.5H12M12.5 13.5C12.5 13.7761 12.2761 14 12 14C11.7239 14 11.5 13.7761 11.5 13.5C11.5 13.2239 11.7239 13 12 13C12.2761 13 12.5 13.2239 12.5 13.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",key:"4"}]],qOe=[["path",{d:"M16 7C16 9.20914 14.2091 11 12 11C9.79086 11 8 9.20914 8 7C8 4.79086 9.79086 3 12 3C14.2091 3 16 4.79086 16 7Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M19 19C19 16.2386 16.7614 14 14 14H10C7.23858 14 5 16.2386 5 19V21H19V19Z",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5",key:"1"}]],KOe=[["path",{d:"M15 8C15 9.65685 13.6569 11 12 11C10.3431 11 9 9.65685 9 8C9 6.34315 10.3431 5 12 5C13.6569 5 15 6.34315 15 8Z",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"0"}],["path",{d:"M16 4C17.6569 4 19 5.34315 19 7C19 8.22309 18.2681 9.27523 17.2183 9.7423",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"1"}],["path",{d:"M14 14H10C7.79086 14 6 15.7909 6 18V20H18V18C18 15.7909 16.2091 14 14 14Z",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"2"}],["path",{d:"M18 13C20.2091 13 22 14.7909 22 17V19H20.5",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"3"}],["path",{d:"M8 4C6.34315 4 5 5.34315 5 7C5 8.22309 5.73193 9.27523 6.78168 9.7423",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"4"}],["path",{d:"M3.5 19H2V17C2 14.7909 3.79086 13 6 13",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"5"}]],YOe=[["path",{d:"M14.5 7.5C14.5 4.73858 12.2614 2.5 9.5 2.5C6.73858 2.5 4.5 4.73858 4.5 7.5C4.5 10.2614 6.73858 12.5 9.5 12.5C12.2614 12.5 14.5 10.2614 14.5 7.5Z",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"0"}],["path",{d:"M2.5 19.5C2.5 15.634 5.63401 12.5 9.5 12.5C10.5736 12.5 11.5907 12.7417 12.5 13.1736",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"1"}],["path",{d:"M18 20C18.9293 20 19.7402 19.493 20.171 18.7404M18 20C17.0707 20 16.2598 19.493 15.829 18.7404M18 20L18 21.5M18 15C18.9292 15 19.74 15.5069 20.1709 16.2593M18 15C17.0708 15 16.26 15.5069 15.8291 16.2593M18 15L18 13.5M21.5 15.4998L20.1709 16.2593M14.5 19.4998L15.829 18.7404M21.5 19.4998L20.171 18.7404M14.5 15.4998L15.8291 16.2593M20.1709 16.2593C20.3803 16.6249 20.5 17.0485 20.5 17.5C20.5 17.9514 20.3804 18.3749 20.171 18.7404M15.829 18.7404C15.6196 18.3749 15.5 17.9514 15.5 17.5C15.5 17.0485 15.6197 16.6249 15.8291 16.2593",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"2"}]],ZOe=[["path",{d:"M17 20V4H2V20H17Z",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M17 9.50015L22 6.49997V17.5002L17 14.5002",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.5",key:"1"}],["path",{d:"M13 8H10V11H13V8Z",stroke:"currentColor",strokeWidth:"1.5",key:"2"}]],QOe=[["path",{d:"M3 8.5H21V21.5H3V8.5Z",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"0"}],["path",{d:"M3 8.49833V7.64118L14.5 2.5H15V8.49833",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",key:"1"}]],XOe=[["path",{d:"M6.50256 17.4971L6.49622 17.5034",stroke:"currentColor",strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:"1.5",key:"0"}],["path",{d:"M6.53145 21.4957C6.52756 21.4996 6.52126 21.4997 6.51734 21.4958L2.49907 17.5292C2.49513 17.5253 2.4951 17.5189 2.49901 17.515L9.74034 10.2469C8.77141 6.85634 10.7044 3.93772 13.2977 2.9258C14.8604 2.31602 16.6643 2.3761 17.9917 3.01986C17.5364 3.48022 16.8871 4.09505 16.3054 4.68145C15.6913 5.3006 15.0716 5.89067 14.7531 6.29192C13.3917 8.48441 15.9136 10.434 17.6375 9.27594C17.9219 9.08493 18.3556 8.57712 18.8641 8.09065C19.5963 7.39024 20.2333 6.7218 20.9465 6.01509C21.6586 7.67186 21.6489 9.33041 21.0551 10.7508C20.4803 12.126 19.3536 13.2789 18.0591 13.9344C16.7378 14.3924 15.4276 14.7886 13.753 14.259L6.53145 21.4957Z",stroke:"currentColor",strokeWidth:"1.5",key:"1"}]];var JOe,eDe,tDe,nDe,rDe,iDe,oDe,aDe,sDe,lDe,cDe,uDe,dDe,hDe,fDe,pDe,mDe,gDe,vDe=Math.PI,yDe=2*vDe,bDe=1e-6,CDe=yDe-bDe;function wDe(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function EDe(){return new wDe}function kDe(e){return function(){return e}}function SDe(e){this._context=e}function xDe(e){return new SDe(e)}function TDe(e){return e[0]}function MDe(e){return e[1]}function ADe(){var e=TDe,t=MDe,n=kDe(!0),r=null,i=xDe,o=null;function a(a){var s,l,c,u=a.length,d=!1;for(null==r&&(o=i(c=EDe())),s=0;s<=u;++s)!(s<u&&n(l=a[s],s,a))===d&&((d=!d)?o.lineStart():o.lineEnd()),d&&o.point(+e(l,s,a),+t(l,s,a));if(c)return o=null,c+""||null}return a.x=function(t){return arguments.length?(e="function"==typeof t?t:kDe(+t),a):e},a.y=function(e){return arguments.length?(t="function"==typeof e?e:kDe(+e),a):t},a.defined=function(e){return arguments.length?(n="function"==typeof e?e:kDe(!!e),a):n},a.curve=function(e){return arguments.length?(i=e,null!=r&&(o=i(r)),a):i},a.context=function(e){return arguments.length?(null==e?r=o=null:o=i(r=e),a):r},a}function LDe(e,t){this._context=e,this._t=t}function PDe(e){return new LDe(e,1)}
1function RDe(){if(hDe)return dDe;hDe=1;var e=function(){if(uDe)return cDe;uDe=1;var e=function(){if(lDe)return sDe;lDe=1;var e=function(){if(aDe)return oDe;aDe=1;var e=function(e){this.value=e};return e.math={isDegree:!0,acos:function(t){return e.math.isDegree?180/Math.PI*Math.acos(t):Math.acos(t)},add:function(e,t){return e+t},asin:function(t){return e.math.isDegree?180/Math.PI*Math.asin(t):Math.asin(t)},atan:function(t){return e.math.isDegree?180/Math.PI*Math.atan(t):Math.atan(t)},acosh:function(e){return Math.log(e+Math.sqrt(e*e-1))},asinh:function(e){return Math.log(e+Math.sqrt(e*e+1))},atanh:function(e){return Math.log((1+e)/(1-e))},C:function(t,n){var r=1,i=t-n,o=n;o<i&&(o=i,i=n);for(var a=o+1;a<=t;a++)r*=a;return r/e.math.fact(i)},changeSign:function(e){return-e},cos:function(t){return e.math.isDegree&&(t=e.math.toRadian(t)),Math.cos(t)},cosh:function(e){return(Math.pow(Math.E,e)+Math.pow(Math.E,-1*e))/2},div:function(e,t){return e/t},fact:function(e){if(e%1!=0)return"NaN";for(var t=1,n=2;n<=e;n++)t*=n;return t},inverse:function(e){return 1/e},log:function(e){return Math.log(e)/Math.log(10)},mod:function(e,t){return e%t},mul:function(e,t){return e*t},P:function(e,t){for(var n=1,r=Math.floor(e)-Math.floor(t)+1;r<=Math.floor(e);r++)n*=r;return n},Pi:function(e,t,n){for(var r=1,i=e;i<=t;i++)r*=Number(n.postfixEval({n:i}));return r},pow10x:function(e){for(var t=1;e--;)t*=10;return t},sigma:function(e,t,n){for(var r=0,i=e;i<=t;i++)r+=Number(n.postfixEval({n:i}));return r},sin:function(t){return e.math.isDegree&&(t=e.math.toRadian(t)),Math.sin(t)},sinh:function(e){return(Math.pow(Math.E,e)-Math.pow(Math.E,-1*e))/2},sub:function(e,t){return e-t},tan:function(t){return e.math.isDegree&&(t=e.math.toRadian(t)),Math.tan(t)},tanh:function(t){return e.sinha(t)/e.cosha(t)},toRadian:function(e){return e*Math.PI/180},and:function(e,t){return e&t}},e.Exception=function(e){this.message=e},oDe=e}();function t(e,t){for(var n=0;n<e.length;n++)e[n]+=t;return e}for(var n=[{token:"sin",show:"sin",type:0,value:e.math.sin},{token:"cos",show:"cos",type:0,value:e.math.cos},{token:"tan",show:"tan",type:0,value:e.math.tan},{token:"pi",show:"π",type:3,value:"PI"},{token:"(",show:"(",type:4,value:"("},{token:")",show:")",type:5,value:")"},{token:"P",show:"P",type:10,value:e.math.P},{token:"C",show:"C",type:10,value:e.math.C},{token:" ",show:" ",type:14,value:" ".anchor},{token:"asin",show:"asin",type:0,value:e.math.asin},{token:"acos",show:"acos",type:0,value:e.math.acos},{token:"atan",show:"atan",type:0,value:e.math.atan},{token:"7",show:"7",type:1,value:"7"},{token:"8",show:"8",type:1,value:"8"},{token:"9",show:"9",type:1,value:"9"},{token:"int",show:"Int",type:0,value:Math.floor},{token:"cosh",show:"cosh",type:0,value:e.math.cosh},{token:"acosh",show:"acosh",type:0,value:e.math.acosh},{token:"ln",show:" ln",type:0,value:Math.log},{token:"^",show:"^",type:10,value:Math.pow},{token:"root",show:"root",type:0,value:Math.sqrt},{token:"4",show:"4",type:1,value:"4"},{token:"5",show:"5",type:1,value:"5"},{token:"6",show:"6",type:1,value:"6"},{token:"/",show:"÷",type:2,value:e.math.div},{token:"!",show:"!",type:7,value:e.math.fact},{token:"tanh",show:"tanh",type:0,value:e.math.tanh},{token:"atanh",show:"atanh",type:0,value:e.math.atanh},{token:"Mod",show:" Mod ",type:2,value:e.math.mod},{token:"1",show:"1",type:1,value:"1"},{token:"2",show:"2",type:1,value:"2"},{token:"3",show:"3",type:1,value:"3"},{token:"*",show:"×",type:2,value:e.math.mul},{token:"sinh",show:"sinh",type:0,value:e.math.sinh},{token:"asinh",show:"asinh",type:0,value:e.math.asinh},{token:"e",show:"e",type:3,value:"E"},{token:"log",show:" log",type:0,value:e.math.log},{token:"0",show:"0",type:1,value:"0"},{token:".",show:".",type:6,value:"."},{token:"+",show:"+",type:9,value:e.math.add},{token:"-",show:"-",type:9,value:e.math.sub},{token:",",show:",",type:11,value:","},{token:"Sigma",show:"Σ",type:12,value:e.math.sigma},{token:"n",show:"n",type:13,value:"n"},{token:"Pi",show:"Π",type:12,value:e.math.Pi},{token:"pow",show:"pow",type:8,value:Math.pow,numberOfArguments:2},{token:"&",show:"&",type:9,value:e.math.and}
1],r={0:11,1:0,2:3,3:0,4:0,5:0,6:0,7:11,8:11,9:1,10:10,11:0,12:11,13:0,14:-1,15:11},i=0;i<n.length;i++)n[i].precedence=r[n[i].type];var o={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,9:!0,12:!0,13:!0,14:!0,15:!0},a={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0,10:!0,11:!0,12:!0,13:!0,15:!0},s={0:!0,3:!0,4:!0,8:!0,12:!0,13:!0,15:!0},l={},c={0:!0,1:!0,3:!0,4:!0,6:!0,8:!0,12:!0,13:!0,15:!0},u={1:!0},d=[[],["1","2","3","7","8","9","4","5","6","+","-","*","/","(",")","^","!","P","C","e","0",".",",","n"," ","&"],["pi","ln","Pi"],["sin","cos","tan","Del","int","Mod","log","pow"],["asin","acos","atan","cosh","root","tanh","sinh"],["acosh","atanh","asinh","Sigma"]];function h(e,t,n,r){for(var i=0;i<r;i++)if(e[n+i]!==t[i])return!1;return!0}function f(e,t){for(var n=0;n<t.length;n++)if(t[n].token===e)return n;return-1}e.tokenTypes={FUNCTION_WITH_ONE_ARG:0,NUMBER:1,BINARY_OPERATOR_HIGH_PRECENDENCE:2,CONSTANT:3,OPENING_PARENTHESIS:4,CLOSING_PARENTHESIS:5,DECIMAL:6,POSTFIX_FUNCTION_WITH_ONE_ARG:7,FUNCTION_WITH_N_ARGS:8,BINARY_OPERATOR_LOW_PRECENDENCE:9,BINARY_OPERATOR_PERMUTATION:10,COMMA:11,EVALUATED_FUNCTION:12,EVALUATED_FUNCTION_PARAMETER:13,SPACE:14},e.addToken=function(t){for(var i=0;i<t.length;i++){var o=t[i].token.length,a=-1;t[i].type===e.tokenTypes.FUNCTION_WITH_N_ARGS&&void 0===t[i].numberOfArguments&&(t[i].numberOfArguments=2),d[o]=d[o]||[];for(var s=0;s<d[o].length;s++)if(t[i].token===d[o][s]){a=f(d[o][s],n);break}-1===a?(n.push(t[i]),t[i].precedence=r[t[i].type],d.length<=t[i].token.length&&(d[t[i].token.length]=[]),d[t[i].token.length].push(t[i].token)):(n[a]=t[i],t[i].precedence=r[t[i].type])}};var p={value:e.math.changeSign,type:0,pre:21,show:"-"},m={value:")",show:")",type:5,pre:0},g={value:"(",type:4,pre:0,show:"("};return e.lex=function(r,i){var v,y=[g],b=[],C=r,w=o,E=0,k=l,S="";void 0!==i&&e.addToken(i);var x={},T=function(t){for(var r,i,o,a=[],s=t.length,l=0;l<s;l++)if(!(l<s-1&&" "===t[l]&&" "===t[l+1])){for(r="",i=t.length-l>d.length-2?d.length-1:t.length-l;i>0;i--)if(void 0!==d[i])for(o=0;o<d[i].length;o++)h(t,d[i][o],l,i)&&(r=d[i][o],o=d[i].length,i=0);if(l+=r.length-1,""===r)throw new e.Exception("Can't understand after "+t.slice(l));a.push(n[f(r,n)])}return a}(C);for(v=0;v<T.length;v++){var M=T[v];if(14!==M.type){var A,L=M.token,P=M.type,R=M.value,O=M.precedence,D=M.show,I=y[y.length-1];for(A=b.length;A--&&0===b[A];)if(-1!==[0,2,3,4,5,9,11,12,13].indexOf(P)){if(!0!==w[P])throw new e.Exception(L+" is not allowed after "+S);y.push(m),w=a,k=c,b.pop()}if(!0!==w[P])throw new e.Exception(L+" is not allowed after "+S);if(!0===k[P]&&(P=2,R=e.math.mul,D="×",O=3,v-=1),x={value:R,type:P,pre:O,show:D,numberOfArguments:M.numberOfArguments},0===P)w=o,k=l,t(b,2),y.push(x),4!==T[v+1].type&&(y.push(g),b.push(2));else if(1===P)1===I.type?(I.value+=R,t(b,1)):y.push(x),w=a,k=s;
1else if(2===P)w=o,k=l,t(b,2),y.push(x);else if(3===P)y.push(x),w=a,k=c;else if(4===P)t(b,1),E++,w=o,k=l,y.push(x);else if(5===P){if(!E)throw new e.Exception("Closing parenthesis are more than opening one, wait What!!!");E--,w=a,k=c,y.push(x),t(b,1)}else if(6===P){if(I.hasDec)throw new e.Exception("Two decimals are not allowed in one number");1!==I.type&&(I={value:0,type:1,pre:0},y.push(I)),w=u,t(b,1),k=l,I.value+=R,I.hasDec=!0}else 7===P&&(w=a,k=c,t(b,1),y.push(x));8===P?(w=o,k=l,t(b,M.numberOfArguments+2),y.push(x),4!==T[v+1].type&&(y.push(g),b.push(M.numberOfArguments+2))):9===P?(9===I.type?I.value===e.math.add?(I.value=R,I.show=D,t(b,1)):I.value===e.math.sub&&"-"===D&&(I.value=e.math.add,I.show="+",t(b,1)):5!==I.type&&7!==I.type&&1!==I.type&&3!==I.type&&13!==I.type?"-"===L&&(w=o,k=l,t(b,2).push(2),y.push(p),y.push(g)):(y.push(x),t(b,2)),w=o,k=l):10===P?(w=o,k=l,t(b,2),y.push(x)):11===P?(w=o,k=l,y.push(x)):12===P?(w=o,k=l,t(b,6),y.push(x),4!==T[v+1].type&&(y.push(g),b.push(6))):13===P&&(w=a,k=c,y.push(x)),t(b,-1),S=L}else if(v>0&&v<T.length-1&&1===T[v+1].type&&(1===T[v-1].type||6===T[v-1].type))throw new e.Exception("Unexpected Space")}for(A=b.length;A--;)y.push(m);if(!0!==w[5])throw new e.Exception("complete the expression");for(;E--;)y.push(m);return y.push(m),new e(y)},sDe=e}();return e.prototype.toPostfix=function(){for(var t,n,r,i,o,a=[],s=[{value:"(",type:4,pre:0}],l=this.value,c=1;c<l.length;c++)if(1===l[c].type||3===l[c].type||13===l[c].type)1===l[c].type&&(l[c].value=Number(l[c].value)),a.push(l[c]);else if(4===l[c].type)s.push(l[c]);else if(5===l[c].type)for(;4!==(n=s.pop()).type;)a.push(n);else if(11===l[c].type){for(;4!==(n=s.pop()).type;)a.push(n);s.push(n)}else{i=(t=l[c]).pre,r=(o=s[s.length-1]).pre;var u="Math.pow"==o.value&&"Math.pow"==t.value;if(i>r)s.push(t);else{for(;r>=i&&!u||u&&i<r;)n=s.pop(),o=s[s.length-1],a.push(n),r=o.pre,u="Math.pow"==t.value&&"Math.pow"==o.value;s.push(t)}}return new e(a)},cDe=e}();return e.prototype.postfixEval=function(t){(t=t||{}).PI=Math.PI,t.E=Math.E;for(var n,r,i,o=[],a=this.value,s=void 0!==t.n,l=0;l<a.length;l++)if(1===a[l].type)o.push({value:a[l].value,type:1});else if(3===a[l].type)o.push({value:t[a[l].value],type:1});else if(0===a[l].type)void 0===o[o.length-1].type?o[o.length-1].value.push(a[l]):o[o.length-1].value=a[l].value(o[o.length-1].value);else if(7===a[l].type)void 0===o[o.length-1].type?o[o.length-1].value.push(a[l]):o[o.length-1].value=a[l].value(o[o.length-1].value);else if(8===a[l].type){for(var c=[],u=0;u<a[l].numberOfArguments;u++)c.push(o.pop().value);o.push({type:1,value:a[l].value.apply(a[l],c.reverse())})}else 10===a[l].type?(n=o.pop(),void 0===(r=o.pop()).type?(r.value=r.concat(n),r.value.push(a[l]),o.push(r)):void 0===n.type?(n.unshift(r),n.push(a[l]),o.push(n)):o.push({type:1,value:a[l].value(r.value,n.value)})):2===a[l].type||9===a[l].type?(n=o.pop(),void 0===(r=o.pop()).type?((r=r.concat(n)).push(a[l]),o.push(r)):void 0===n.type?(n.unshift(r),n.push(a[l]),o.push(n)):o.push({type:1,value:a[l].value(r.value,n.value)})):12===a[l].type?(void 0!==(n=o.pop()).type&&(n=[n]),r=o.pop(),i=o.pop(),o.push({type:1,value:a[l].value(i.value,r.value,new e(n))})):13===a[l].type&&(s?o.push({value:t[a[l].value],type:3}):o.push([a[l]]));if(o.length>1)throw new e.Exception("Uncaught Syntax error");return o[0].value>1e15?"Infinity":parseFloat(o[0].value.toFixed(15))},e.eval=function(e,t,n){return void 0===t?this.lex(e).toPostfix().postfixEval():void 0===n?void 0!==t.length?this.lex(e,t).toPostfix().postfixEval():this.lex(e).toPostfix().postfixEval(t):this.lex(e,t).toPostfix().postfixEval(n)},dDe=e}wDe.prototype=EDe.prototype={constructor:wDe,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,o){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,n,r,i){e=+e,t=+t,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,s=n-e,l=r-t,c=o-e,u=a-t,d=c*c+u*u;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(d>bDe)if(Math.abs(u*s-l*c)>bDe&&i){var h=n-o,f=r-a,p=s*s+l*l,m=h*h+f*f,g=Math.sqrt(p),v=Math.sqrt(d),y=i*Math.tan((vDe-Math.acos((p+d-m)/(2*g*v)))/2),b=y/v,C=y/g;Math.abs(b-1)>bDe&&(this._+="L"+(e+b*c)+","+(t+b*u)),this._+="A"+i+","+i+",0,0,"+ +(u*h>c*f)+","+(this._x1=e+C*s)+","+(this._y1=t+C*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,n,r,i,o){e=+e,t=+t,o=!!o;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=e+a,c=t+s,u=1^o,d=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>bDe||Math.abs(this._y1-c)>bDe)&&(this._+="L"+l+","+c),n&&(d<0&&(d=d%yDe+yDe),d>CDe?this._+="A"+n+","+n+",0,1,"+u+","+(e-a)+","+(t-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=l)+","+(this._y1=c):d>bDe&&(this._+="A"+n+","+n+",0,"+ +(d>=vDe)+","+u+","+(this._x1=e+n*Math.cos(i))+","+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},SDe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},LDe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};const ODe=Ne(function(){if(gDe)return mDe;gDe=1;var e,t=function(){if(eDe)return JOe;function e(e,r,i){e instanceof RegExp&&(e=t(e,i)),r instanceof RegExp&&(r=t(r,i));var o=n(e,r,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+r.length)}}function t(e,t){var n=t.match(e);return n?n[0]:null}function n(e,t,n){var r,i,o,a,s,l=n.indexOf(e),c=n.indexOf(t,l+1),u=l;if(l>=0&&c>0){for(r=[],o=n.length;u>=0&&!s;)u==l?(r.push(u),l=n.indexOf(e,u+1)):1==r.length?s=[r.pop(),c]:((i=r.pop())<o&&(o=i,a=c),c=n.indexOf(t,u+1)),u=l<c&&l>=0?l:c;r.length&&(s=[o,a])}return s}return eDe=1,JOe=e,e.range=n,JOe}(),n=function(){if(iDe)return rDe;iDe=1;var e=function(){if(nDe)return tDe;function e(e,r,i){e instanceof RegExp&&(e=t(e,i)),r instanceof RegExp&&(r=t(r,i));var o=n(e,r,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+r.length)}}function t(e,t){var n=t.match(e);return n?n[0]:null}function n(e,t,n){var r,i,o,a,s,l=n.indexOf(e),c=n.indexOf(t,l+1),u=l;if(l>=0&&c>0){if(e===t)return[l,c];for(r=[],o=n.length;u>=0&&!s;)u==l?(r.push(u),l=n.indexOf(e,u+1)):1==r.length?s=[r.pop(),c]:((i=r.pop())<o&&(o=i,a=c),c=n.indexOf(t,u+1)),u=l<c&&l>=0?l:c;r.length&&(s=[o,a])}return s}return nDe=1,tDe=e,e.range=n,tDe}();return rDe=function t(n,r,i){var o=n;return function(t,n){var r=[],i="string"==typeof n?new RegExp("\\b("+n+")\\("):n;do{var o=i.exec(t);if(!o)return r;if(void 0===o[1])throw new Error("Missing the first couple of parenthesis to get the function identifier in "+n);var a=o[1],s=o.index,l=e("(",")",t.substring(s));if(!l||l.start!==o[0].length-1)throw new SyntaxError(a+"(): missing closing ')' in the value '"+t+"'");r.push({matches:l,functionIdentifier:a}),t=l.post}while(i.test(t));return r}(n,r).reduce(function(e,n){return e.replace(n.functionIdentifier+"("+n.matches.body+")",function(e,n,r,i,o){return r(t(e,o,r),n,i)}(n.matches.body,n.functionIdentifier,i,o,r))},n)}}(),r=function(){if(pDe)return fDe;pDe=1;var e=RDe();return e.prototype.formulaEval=function(){for(var e,t,n,r=[],i=this.value,o=0;o<i.length;o++)1===i[o].type||3===i[o].type?r.push({value:3===i[o].type?i[o].show:i[o].value,type:1}):13===i[o].type?r.push({value:i[o].show,type:1}):0===i[o].type?r[r.length-1]={value:i[o].show+("-"!=i[o].show?"(":"")+r[r.length-1].value+("-"!=i[o].show?")":""),type:0}:7===i[o].type?r[r.length-1]={value:(1!=r[r.length-1].type?"(":"")+r[r.length-1].value+(1!=r[r.length-1].type?")":"")+i[o].show,type:7}:10===i[o].type?(e=r.pop(),t=r.pop(),"P"===i[o].show||"C"===i[o].show?r.push({value:"<sup>"+t.value+"</sup>"+i[o].show+"<sub>"+e.value+"</sub>",type:10}):r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+"<sup>"+e.value+"</sup>",type:1})):2===i[o].type||9===i[o].type?(e=r.pop(),t=r.pop(),r.push({value:(1!=t.type?"(":"")+t.value+(1!=t.type?")":"")+i[o].show+(1!=e.type?"(":"")+e.value+(1!=e.type?")":""),type:i[o].type})):12===i[o].type&&(e=r.pop(),t=r.pop(),n=r.pop(),r.push({value:i[o].show+"("+n.value+","+t.value+","+e.value+")",type:12}));return r[0].value},fDe=e}(),i=/(\+|\-|\*|\\|[^a-z]|)(\s*)(\()/g;return mDe=function(o,a){return e=0,a=Math.pow(10,void 0===a?5:a),o=o.replace(/\n+/g," "),n(o,/((?:\-[a-z]+\-)?calc)\(/,function n(o,s,l){if(e++>100)throw e=0,new Error("Call stack overflow for "+l);if(""===o)throw new Error(s+"(): '"+l+"' must contain a non-whitespace string");o=function(e,r){for(var o,a="",s=e=e.replace(/((?:\-[a-z]+\-)?calc)/g,"");o=i.exec(s);){o[0].index>0&&(a+=s.substring(0,o[0].index));
1var l=t("(",")",s.substring([0].index));if(""===l.body)throw new Error("'"+e+"' must contain a non-whitespace string");var c=n(l.body,"",r);a+=l.pre+c,s=l.post}return a+s}(o,l);var c=function(e){for(var t=[],n=[],r=/[\.0-9]([%a-z]+)/gi,i=r.exec(e);i;)i&&i[1]&&(-1===n.indexOf(i[1].toLowerCase())&&(t.push(i[1]),n.push(i[1].toLowerCase())),i=r.exec(e));return t}(o);if(c.length>1||o.indexOf("var(")>-1)return s+"("+o+")";var u=c[0]||"";"%"===u&&(o=o.replace(/\b[0-9\.]+%/g,function(e){return.01*parseFloat(e.slice(0,-1))}));var d,h=o.replace(new RegExp(u,"gi"),"");try{d=r.eval(h)}catch(f){return s+"("+o+")"}return"%"===u&&(d*=100),(s.length||"%"===u)&&(d=Math.round(d*a)/a),d+u})}}());export{lY as $,dx as A,qx as B,TA as C,ADe as D,IF as E,Qt as F,ODe as G,Wd as H,ss as I,Na as J,nc as K,Ps as L,ds as M,gl as N,pl as O,Ns as P,Zs as Q,Xt as R,hu as S,Es as T,sl as U,fl as V,He as W,Qa as X,us as Y,Ca as Z,ZR as _,g1 as a,$0 as a$,uY as a0,hY as a1,dY as a2,cY as a3,ZY as a4,QY as a5,XY as a6,xY as a7,FY as a8,PZ as a9,iQ as aA,zZ as aB,WZ as aC,qZ as aD,dQ as aE,CQ as aF,EQ as aG,LQ as aH,az as aI,vX as aJ,SX as aK,TX as aL,IX as aM,mJ as aN,LH as aO,Bz as aP,iV as aQ,m1 as aR,h1 as aS,p1 as aT,o1 as aU,T0 as aV,A0 as aW,R0 as aX,ZB as aY,P0 as aZ,_0 as a_,RZ as aa,DZ as ab,IZ as ac,OZ as ad,LZ as ae,ou as af,sc as ag,wu as ah,su as ai,Cl as aj,ku as ak,lu as al,El as am,Eu as an,Su as ao,Vs as ap,xu as aq,xV as ar,QV as as,zH as at,LV as au,BZ as av,QZ as aw,aQ as ax,bj as ay,nQ as az,Ne as b,h0 as b$,Y0 as b0,r2 as b1,s2 as b2,o2 as b3,c2 as b4,ij as b5,d2 as b6,tn as b7,Uj as b8,g6 as b9,qTe as bA,sve as bB,dve as bC,fve as bD,Tj as bE,Xo as bF,qz as bG,Ga as bH,NRe as bI,sn as bJ,nj as bK,xo as bL,Mo as bM,ra as bN,wa as bO,Vo as bP,Lo as bQ,Ro as bR,mr as bS,wLe as bT,gr as bU,cr as bV,jRe as bW,lr as bX,hn as bY,Jj as bZ,Kwe as b_,Pee as ba,aj as bb,ej as bc,JB as bd,tj as be,rj as bf,so as bg,Yhe as bh,Khe as bi,Whe as bj,Ghe as bk,qhe as bl,Uhe as bm,Jhe as bn,sfe as bo,rpe as bp,cfe as bq,BH as br,vz as bs,EE as bt,PE as bu,DV as bv,WV as bw,qwe as bx,HH as by,Ywe as bz,wve as c,sz as c$,Uz as c0,YH as c1,ZH as c2,Sj as c3,Cj as c4,ki as c5,uz as c6,du as c7,uu as c8,ol as c9,pme as cA,mme as cB,cu as cC,ks as cD,cl as cE,aH as cF,yj as cG,$H as cH,Zj as cI,CV as cJ,bV as cK,RH as cL,qV as cM,oo as cN,mH as cO,AH as cP,VV as cQ,MH as cR,KV as cS,qH as cT,eH as cU,VH as cV,JH as cW,NH as cX,wj as cY,dOe as cZ,ha as c_,Js as ca,ln as cb,Gt as cc,qo as cd,fa as ce,nn as cf,x6 as cg,Zo as ch,ic as ci,yz as cj,mz as ck,pz as cl,$z as cm,XB as cn,HV as co,Jo as cp,Mj as cq,Dj as cr,oV as cs,ao as ct,Mz as cu,iz as cv,Bj as cw,dme as cx,hme as cy,fme as cz,wx as d,Az as d$,ez as d0,rV as d1,Yj as d2,vH as d3,wz as d4,hz as d5,tV as d6,vj as d7,hfe as d8,gH as d9,vOe as dA,jOe as dB,yOe as dC,zOe as dD,COe as dE,lH as dF,EOe as dG,HOe as dH,xOe as dI,WOe as dJ,TOe as dK,IH as dL,MOe as dM,GOe as dN,AOe as dO,KOe as dP,LOe as dQ,YOe as dR,POe as dS,ZOe as dT,ROe as dU,QOe as dV,OOe as dW,XOe as dX,DOe as dY,VOe as dZ,wOe as d_,kme as da,Tme as db,Ipe as dc,Lpe as dd,Rpe as de,Zz as df,_Oe as dg,qOe as dh,fV as di,hj as dj,Sz as dk,WB as dl,hV as dm,Wj as dn,iH as dp,UOe as dq,IOe as dr,hOe as ds,FOe as dt,fOe as du,$Oe as dv,pOe as dw,NOe as dx,gOe as dy,BOe as dz,Cx as e,bLe as e$,Wde as e0,Gde as e1,qde as e2,Kde as e3,Qde as e4,Zde as e5,Xde as e6,Yde as e7,gj as e8,WH as e9,yH as eA,hH as eB,$V as eC,Dz as eD,bz as eE,lj as eF,Vj as eG,xj as eH,sj as eI,_j as eJ,jj as eK,RV as eL,PV as eM,zj as eN,_z as eO,Pj as eP,kz as eQ,oH as eR,pH as eS,cH as eT,XV as eU,NV as eV,uH as eW,jV as eX,CH as eY,rH as eZ,fH as e_,nH as ea,_ce as eb,$ce as ec,Yme as ed,Zme as ee,Qme as ef,Xme as eg,Jme as eh,tge as ei,nge as ej,rge as ek,ige as el,oge as em,ege as en,dz as eo,oX as ep,TU as eq,fW as er,IV as es,_V as et,Lj as eu,ype as ev,bpe as ew,Cpe as ex,wpe as ey,HB as ez,fx as f,cn as f$,Rz as f0,uj as f1,Hz as f2,jz as f3,Oj as f4,tz as f5,hl as f6,_H as f7,Jz as f8,XH as f9,Yz as fA,GH as fB,dH as fC,Vz as fD,Xz as fE,Qz as fF,VB as fG,d1 as fH,d0 as fI,NB as fJ,KB as fK,yV as fL,Oz as fM,rz as fN,fj as fO,lz as fP,Tz as fQ,uc as fR,FH as fS,ml as fT,yl as fU,aV as fV,al as fW,MV as fX,ZV as fY,jH as fZ,gve as f_,kH as fa,vme as fb,SH as fc,$B as fd,cN as fe,DN as ff,VN as fg,SN as fh,FB as fi,h_ as fj,RE as fk,Mce as fl,OH as fm,DH as f
1n,BV as fo,oj as fp,QB as fq,Ege as fr,kge as fs,Sge as ft,xge as fu,Nge as fv,Bge as fw,zV as fx,dV as fy,nV as fz,QJ as g,Cz as g$,un as g0,ac as g1,lc as g2,nz as g3,fz as g4,Fz as g5,Fj as g6,AV as g7,dj as g8,YB as g9,Ij as gA,Hj as gB,YV as gC,OV as gD,Xj as gE,eV as gF,kV as gG,sV as gH,Aj as gI,cz as gJ,Qj as gK,Pz as gL,$j as gM,Nj as gN,EH as gO,GV as gP,FV as gQ,Qs as gR,KH as gS,xz as gT,Nz as gU,lV as gV,pV as gW,Lz as gX,TV as gY,UV as gZ,Qo as g_,mj as ga,gz as gb,kj as gc,qj as gd,Gz as ge,gV as gf,Kz as gg,dc as gh,cc as gi,zB as gj,Ez as gk,UB as gl,PDe as gm,PH as gn,xH as go,npe as gp,nl as gq,Xs as gr,Ej as gs,jB as gt,mV as gu,Wz as gv,wV as gw,BB as gx,zz as gy,uV as gz,px as h,GB as h0,qB as h1,cj as h2,cV as h3,Kj as h4,EV as h5,Oee as h6,Fee as h7,Iee as h8,Ree as h9,Iz as ha,Rj as hb,pj as hc,sH as hd,QH as he,JV as hf,tH as hg,SOe as hh,kOe as hi,mOe as hj,bOe as hk,UH as hl,Gj as hm,oz as hn,vV as ho,TH as hp,wH as hq,bH as hr,nOe as hs,tx as i,yx as j,vx as k,mx as l,NT as m,wT as n,GT as o,kT as p,xT as q,MT as r,e1 as s,qT as t,KT as u,PT as v,WT as w,ET as x,ST as y,TT as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.