@flarehr/apollo-benefits 1.4.34834 → 1.4.34985
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{@splitsoftware-258cddf9.js → @splitsoftware-eb199566.js} +1 -1
- package/dist/assets/{datadog-890d00d2.js → datadog-6c5cfe7a.js} +1 -1
- package/dist/assets/{date-fns-6edf7485.js → date-fns-8baec81f.js} +1 -1
- package/dist/assets/{framer-motion-21081aa6.js → framer-motion-668ea7ad.js} +1 -1
- package/dist/assets/index-92fd2325.js +15 -0
- package/dist/assets/{index-48141e45.js → index-e9932dfd.js} +7 -7
- package/dist/assets/{index-18466194.css → index-f3506109.css} +1 -1
- package/dist/assets/{vendor-a8244436.js → vendor-af33c48b.js} +9 -9
- package/dist/index.html +7 -7
- package/package.json +1 -1
- package/dist/assets/index-e3b67c1c.js +0 -15
|
@@ -6,15 +6,15 @@ CAUSE: `+p.stack,b.response=m,b.url=l,m.type==="opaque")throw b;return m.text().
|
|
|
6
6
|
`)].join(`
|
|
7
7
|
`));let l=c.props,d=typeof(l==null?void 0:l.className)=="function"?(...v)=>ca(l==null?void 0:l.className(...v),u.className):ca(l==null?void 0:l.className,u.className),p=d?{className:d}:{};return gs(c,Object.assign({},Eh(c.props,pu(vo(u,["ref"]))),f,s,w1(c.ref,s.ref),p))}return F(i,Object.assign({},vo(u,["ref"]),i!==we&&s,i!==we&&f),c)}function w1(...e){return{ref:e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}}function Eh(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...a){let o=n[r];for(let u of o){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;u(i,...a)}}});return t}function Se(e){var t;return Object.assign(pe(e),{displayName:(t=e.displayName)!=null?t:e.name})}function pu(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function vo(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function $a(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(t==null?void 0:t.getAttribute("disabled"))==="";return r&&E1(n)?!1:r}function E1(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}function S1(e){var t,n;let r=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(r){for(let i of r.elements)if(i!==e&&(i.tagName==="INPUT"&&i.type==="submit"||i.tagName==="BUTTON"&&i.type==="submit"||i.nodeName==="INPUT"&&i.type==="image")){i.click();return}(n=r.requestSubmit)==null||n.call(r)}}let O1="div";var ti=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(ti||{});function P1(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return Ee({ourProps:i,theirProps:r,slot:{},defaultTag:O1,name:"Hidden"})}let fa=Se(P1),Ms=je(null);Ms.displayName="OpenClosedContext";var Oe=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Oe||{});function di(){return ke(Ms)}function Ds({value:e,children:t}){return Z.createElement(Ms.Provider,{value:e},t)}var ve=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ve||{});function A1(e,t,n){let[r,i]=xe(n),a=e!==void 0,o=ae(a),u=ae(!1),s=ae(!1);return a&&!o.current&&!u.current?(u.current=!0,o.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!a&&o.current&&!s.current&&(s.current=!0,o.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[a?e:r,ee(c=>(a||i(c),t==null?void 0:t(c)))]}function $s(e,t){let n=ae([]),r=ee(e);de(()=>{let i=[...n.current];for(let[a,o]of t.entries())if(n.current[a]!==o){let u=r(t,i);return n.current=t,u}},[r,...t])}function Cc(e){return[e.screenX,e.screenY]}function T1(){let e=ae([-1,-1]);return{wasMoved(t){let n=Cc(t);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(t){e.current=Cc(t)}}}function C1(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Pr(...e){return ce(()=>fi(...e),[...e])}var Fr=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Fr||{});function I1(){let e=ae(0);return gh("keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function pi(){let e=ae(!1);return Me(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Sh(e,t,n,r){let i=Bt(n);de(()=>{e=e??window;function a(o){i.current(o)}return e.addEventListener(t,a,r),()=>e.removeEventListener(t,a,r)},[e,t,r])}function L1(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function Oh(e){let t=ee(e),n=ae(!1);de(()=>(n.current=!1,()=>{n.current=!0,Da(()=>{n.current&&t()})}),[t])}function Ph(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let R1="div";var Ah=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Ah||{});function k1(e,t){let n=ae(null),r=Ne(n,t),{initialFocus:i,containers:a,features:o=30,...u}=e;Or()||(o=1);let s=Pr(n);D1({ownerDocument:s},!!(o&16));let c=$1({ownerDocument:s,container:n,initialFocus:i},!!(o&2));j1({ownerDocument:s,container:n,containers:a,previousActiveElement:c},!!(o&8));let f=I1(),l=ee(h=>{let _=n.current;_&&(g=>g())(()=>{Pe(f.current,{[Fr.Forwards]:()=>{Kr(_,kt.First,{skipElements:[h.relatedTarget]})},[Fr.Backwards]:()=>{Kr(_,kt.Last,{skipElements:[h.relatedTarget]})}})})}),d=Sr(),p=ae(!1),v={ref:r,onKeyDown(h){h.key=="Tab"&&(p.current=!0,d.requestAnimationFrame(()=>{p.current=!1}))},onBlur(h){let _=Ph(a);n.current instanceof HTMLElement&&_.add(n.current);let g=h.relatedTarget;g instanceof HTMLElement&&g.dataset.headlessuiFocusGuard!=="true"&&(Th(_,g)||(p.current?Kr(n.current,Pe(f.current,{[Fr.Forwards]:()=>kt.Next,[Fr.Backwards]:()=>kt.Previous})|kt.WrapAround,{relativeTo:h.target}):h.target instanceof HTMLElement&&on(h.target)))}};return Z.createElement(Z.Fragment,null,!!(o&4)&&Z.createElement(fa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:ti.Focusable}),Ee({ourProps:v,theirProps:u,defaultTag:R1,name:"FocusTrap"}),!!(o&4)&&Z.createElement(fa,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:l,features:ti.Focusable}))}let N1=Se(k1),Nr=Object.assign(N1,{features:Ah}),Qt=[];L1(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&Qt[0]!==t.target&&(Qt.unshift(t.target),Qt=Qt.filter(n=>n!=null&&n.isConnected),Qt.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function M1(e=!0){let t=ae(Qt.slice());return $s(([n],[r])=>{r===!0&&n===!1&&Da(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=Qt.slice())},[e,Qt,t]),ee(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function D1({ownerDocument:e},t){let n=M1(t);$s(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&on(n())},[t]),Oh(()=>{t&&on(n())})}function $1({ownerDocument:e,container:t,initialFocus:n},r){let i=ae(null),a=pi();return $s(()=>{if(!r)return;let o=t.current;o&&Da(()=>{if(!a.current)return;let u=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===u){i.current=u;return}}else if(o.contains(u)){i.current=u;return}n!=null&&n.current?on(n.current):Kr(o,kt.First)===hh.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),i.current=e==null?void 0:e.activeElement})},[r]),i}function j1({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){let a=pi();Sh(e==null?void 0:e.defaultView,"focus",o=>{if(!i||!a.current)return;let u=Ph(n);t.current instanceof HTMLElement&&u.add(t.current);let s=r.current;if(!s)return;let c=o.target;c&&c instanceof HTMLElement?Th(u,c)?(r.current=c,on(c)):(o.preventDefault(),o.stopPropagation(),on(s)):on(r.current)},!0)}function Th(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let Ch=je(!1);function B1(){return ke(Ch)}function hu(e){return Z.createElement(Ch.Provider,{value:e.force},e.children)}function F1(e){let t=B1(),n=ke(Ih),r=Pr(e),[i,a]=xe(()=>{if(!t&&n!==null||jt.isServer)return null;let o=r==null?void 0:r.getElementById("headlessui-portal-root");if(o)return o;if(r===null)return null;let u=r.createElement("div");return u.setAttribute("id","headlessui-portal-root"),r.body.appendChild(u)});return de(()=>{i!==null&&(r!=null&&r.body.contains(i)||r==null||r.body.appendChild(i))},[i,r]),de(()=>{t||n!==null&&a(n.current)},[n,a,t]),i}let U1=we;function x1(e,t){let n=e,r=ae(null),i=Ne(wh(f=>{r.current=f}),t),a=Pr(r),o=F1(r),[u]=xe(()=>{var f;return jt.isServer?null:(f=a==null?void 0:a.createElement("div"))!=null?f:null}),s=ke(vu),c=Or();return Me(()=>{!o||!u||o.contains(u)||(u.setAttribute("data-headlessui-portal",""),o.appendChild(u))},[o,u]),Me(()=>{if(u&&s)return s.register(u)},[s,u]),Oh(()=>{var f;!o||!u||(u instanceof Node&&o.contains(u)&&o.removeChild(u),o.childNodes.length<=0&&((f=o.parentElement)==null||f.removeChild(o)))}),c?!o||!u?null:ms(Ee({ourProps:{ref:i},theirProps:n,defaultTag:U1,name:"Portal"}),u):null}let H1=we,Ih=je(null);function K1(e,t){let{target:n,...r}=e,i={ref:Ne(t)};return Z.createElement(Ih.Provider,{value:n},Ee({ourProps:i,theirProps:r,defaultTag:H1,name:"Popover.Group"}))}let vu=je(null);function W1(){let e=ke(vu),t=ae([]),n=ee(a=>(t.current.push(a),e&&e.register(a),()=>r(a))),r=ee(a=>{let o=t.current.indexOf(a);o!==-1&&t.current.splice(o,1),e&&e.unregister(a)}),i=ce(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,ce(()=>function({children:a}){return Z.createElement(vu.Provider,{value:i},a)},[i])]}let z1=Se(x1),q1=Se(K1),mu=Object.assign(z1,{Group:q1}),Lh=je(null);function Rh(){let e=ke(Lh);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Rh),t}return e}function kh(){let[e,t]=xe([]);return[e.length>0?e.join(" "):void 0,ce(()=>function(n){let r=ee(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),s=u.indexOf(a);return s!==-1&&u.splice(s,1),u}))),i=ce(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(Lh.Provider,{value:i},n.children)},[t])]}let G1="p";function V1(e,t){let n=rt(),{id:r=`headlessui-description-${n}`,...i}=e,a=Rh(),o=Ne(t);Me(()=>a.register(r),[r,a.register]);let u={ref:o,...a.props,id:r};return Ee({ourProps:u,theirProps:i,slot:a.slot||{},defaultTag:G1,name:a.name||"Description"})}let Y1=Se(V1),Nh=Object.assign(Y1,{}),js=je(()=>{});js.displayName="StackContext";var yu=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(yu||{});function X1(){return ke(js)}function Q1({children:e,onUpdate:t,type:n,element:r,enabled:i}){let a=X1(),o=ee((...u)=>{t==null||t(...u),a(...u)});return Me(()=>{let u=i===void 0||i===!0;return u&&o(0,n,r),()=>{u&&o(1,n,r)}},[o,n,r,i]),Z.createElement(js.Provider,{value:o},e)}function J1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const Z1=typeof Object.is=="function"?Object.is:J1,{useState:e_,useEffect:t_,useLayoutEffect:n_,useDebugValue:r_}=or;function i_(e,t,n){const r=t(),[{inst:i},a]=e_({inst:{value:r,getSnapshot:t}});return n_(()=>{i.value=r,i.getSnapshot=t,mo(i)&&a({inst:i})},[e,r,t]),t_(()=>(mo(i)&&a({inst:i}),e(()=>{mo(i)&&a({inst:i})})),[e]),r_(r),r}function mo(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!Z1(n,r)}catch{return!0}}function a_(e,t,n){return t()}const o_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",u_=!o_,s_=u_?a_:i_,l_="useSyncExternalStore"in or?(e=>e.useSyncExternalStore)(or):s_;function c_(e){return l_(e.subscribe,e.getSnapshot,e.getSnapshot)}function f_(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(i){return r.add(i),()=>r.delete(i)},dispatch(i,...a){let o=t[i].call(n,...a);o&&(n=o,r.forEach(u=>u()))}}}function d_(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,a=e-i;n.style(r,"paddingRight",`${a}px`)}}}function p_(){if(!C1())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function i(a){return r.containers.flatMap(o=>o()).some(o=>o.contains(a))}n.microTask(()=>{if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let o=bt();o.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>o.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let a=null;n.addEventListener(t,"click",o=>{if(o.target instanceof HTMLElement)try{let u=o.target.closest("a");if(!u)return;let{hash:s}=new URL(u.href),c=t.querySelector(s);c&&!i(c)&&(a=c)}catch{}},!0),n.addEventListener(t,"touchmove",o=>{o.target instanceof HTMLElement&&!i(o.target)&&o.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}}function h_(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function v_(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let wn=f_(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:bt(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:v_(n)},i=[p_(),d_(),h_()];i.forEach(({before:a})=>a==null?void 0:a(r)),i.forEach(({after:a})=>a==null?void 0:a(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});wn.subscribe(()=>{let e=wn.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!r||!i&&r)&&wn.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&wn.dispatch("TEARDOWN",n)}});function m_(e,t,n){let r=c_(wn),i=e?r.get(e):void 0,a=i?i.count>0:!1;return Me(()=>{if(!(!e||!t))return wn.dispatch("PUSH",e,n),()=>wn.dispatch("POP",e,n)},[t,e]),a}let yo=new Map,Mr=new Map;function Ic(e,t=!0){Me(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function i(){var o;if(!r)return;let u=(o=Mr.get(r))!=null?o:1;if(u===1?Mr.delete(r):Mr.set(r,u-1),u!==1)return;let s=yo.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,yo.delete(r))}let a=(n=Mr.get(r))!=null?n:0;return Mr.set(r,a+1),a!==0||(yo.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}function y_({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let i=ae((r=n==null?void 0:n.current)!=null?r:null),a=Pr(i),o=ee(()=>{var u;let s=[];for(let c of e)c!==null&&(c instanceof HTMLElement?s.push(c):"current"in c&&c.current instanceof HTMLElement&&s.push(c.current));if(t!=null&&t.current)for(let c of t.current)s.push(c);for(let c of(u=a==null?void 0:a.querySelectorAll("html > *, body > *"))!=null?u:[])c!==document.body&&c!==document.head&&c instanceof HTMLElement&&c.id!=="headlessui-portal-root"&&(c.contains(i.current)||s.some(f=>c.contains(f))||s.push(c));return s});return{resolveContainers:o,contains:ee(u=>o().some(s=>s.contains(u))),mainTreeNodeRef:i,MainTreeNode:ce(()=>function(){return n!=null?null:Z.createElement(fa,{features:ti.Hidden,ref:i})},[i,n])}}var g_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(g_||{}),b_=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(b_||{});let __={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},da=je(null);da.displayName="DialogContext";function hi(e){let t=ke(da);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,hi),n}return t}function w_(e,t,n=()=>[document.body]){m_(e,t,r=>{var i;return{containers:[...(i=r.containers)!=null?i:[],n]}})}function E_(e,t){return Pe(t.type,__,e,t)}let S_="div",O_=cn.RenderStrategy|cn.Static;function P_(e,t){var n;let r=rt(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:o,initialFocus:u,__demoMode:s=!1,...c}=e,[f,l]=xe(0),d=di();a===void 0&&d!==null&&(a=(d&Oe.Open)===Oe.Open);let p=ae(null),v=Ne(p,t),h=Pr(p),_=e.hasOwnProperty("open")||d!==null,g=e.hasOwnProperty("onClose");if(!_&&!g)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!_)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!g)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof a!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${a}`);if(typeof o!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);let y=a?0:1,[m,b]=Dn(E_,{titleId:null,descriptionId:null,panelRef:Qr()}),E=ee(()=>o(!1)),O=ee(Q=>b({type:0,id:Q})),S=Or()?s?!1:y===0:!1,w=f>1,P=ke(da)!==null,[A,L]=W1(),{resolveContainers:D,mainTreeNodeRef:j,MainTreeNode:I}=y_({portals:A,defaultContainers:[(n=m.panelRef.current)!=null?n:p.current]}),C=w?"parent":"leaf",R=d!==null?(d&Oe.Closing)===Oe.Closing:!1,$=(()=>P||R?!1:S)(),B=Zt(()=>{var Q,oe;return(oe=Array.from((Q=h==null?void 0:h.querySelectorAll("body > *"))!=null?Q:[]).find(ie=>ie.id==="headlessui-portal-root"?!1:ie.contains(j.current)&&ie instanceof HTMLElement))!=null?oe:null},[j]);Ic(B,$);let Y=(()=>w?!0:S)(),z=Zt(()=>{var Q,oe;return(oe=Array.from((Q=h==null?void 0:h.querySelectorAll("[data-headlessui-portal]"))!=null?Q:[]).find(ie=>ie.contains(j.current)&&ie instanceof HTMLElement))!=null?oe:null},[j]);Ic(z,Y);let X=(()=>!(!S||w))();bh(D,E,X);let x=(()=>!(w||y!==0))();Sh(h==null?void 0:h.defaultView,"keydown",Q=>{x&&(Q.defaultPrevented||Q.key===ve.Escape&&(Q.preventDefault(),Q.stopPropagation(),E()))});let U=(()=>!(R||y!==0||P))();w_(h,U,D),de(()=>{if(y!==0||!p.current)return;let Q=new ResizeObserver(oe=>{for(let ie of oe){let ge=ie.target.getBoundingClientRect();ge.x===0&&ge.y===0&&ge.width===0&&ge.height===0&&E()}});return Q.observe(p.current),()=>Q.disconnect()},[y,p,E]);let[q,H]=kh(),ne=ce(()=>[{dialogState:y,close:E,setTitleId:O},m],[y,m,E,O]),le=ce(()=>({open:y===0}),[y]),te={ref:v,id:i,role:"dialog","aria-modal":y===0?!0:void 0,"aria-labelledby":m.titleId,"aria-describedby":q};return Z.createElement(Q1,{type:"Dialog",enabled:y===0,element:p,onUpdate:ee((Q,oe)=>{oe==="Dialog"&&Pe(Q,{[yu.Add]:()=>l(ie=>ie+1),[yu.Remove]:()=>l(ie=>ie-1)})})},Z.createElement(hu,{force:!0},Z.createElement(mu,null,Z.createElement(da.Provider,{value:ne},Z.createElement(mu.Group,{target:p},Z.createElement(hu,{force:!1},Z.createElement(H,{slot:le,name:"Dialog.Description"},Z.createElement(Nr,{initialFocus:u,containers:D,features:S?Pe(C,{parent:Nr.features.RestoreFocus,leaf:Nr.features.All&~Nr.features.FocusLock}):Nr.features.None},Z.createElement(L,null,Ee({ourProps:te,theirProps:c,slot:le,defaultTag:S_,features:O_,visible:y===0,name:"Dialog"}))))))))),Z.createElement(I,null))}let A_="div";function T_(e,t){let n=rt(),{id:r=`headlessui-dialog-overlay-${n}`,...i}=e,[{dialogState:a,close:o}]=hi("Dialog.Overlay"),u=Ne(t),s=ee(f=>{if(f.target===f.currentTarget){if($a(f.currentTarget))return f.preventDefault();f.preventDefault(),f.stopPropagation(),o()}}),c=ce(()=>({open:a===0}),[a]);return Ee({ourProps:{ref:u,id:r,"aria-hidden":!0,onClick:s},theirProps:i,slot:c,defaultTag:A_,name:"Dialog.Overlay"})}let C_="div";function I_(e,t){let n=rt(),{id:r=`headlessui-dialog-backdrop-${n}`,...i}=e,[{dialogState:a},o]=hi("Dialog.Backdrop"),u=Ne(t);de(()=>{if(o.panelRef.current===null)throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[o.panelRef]);let s=ce(()=>({open:a===0}),[a]);return Z.createElement(hu,{force:!0},Z.createElement(mu,null,Ee({ourProps:{ref:u,id:r,"aria-hidden":!0},theirProps:i,slot:s,defaultTag:C_,name:"Dialog.Backdrop"})))}let L_="div";function R_(e,t){let n=rt(),{id:r=`headlessui-dialog-panel-${n}`,...i}=e,[{dialogState:a},o]=hi("Dialog.Panel"),u=Ne(t,o.panelRef),s=ce(()=>({open:a===0}),[a]),c=ee(f=>{f.stopPropagation()});return Ee({ourProps:{ref:u,id:r,onClick:c},theirProps:i,slot:s,defaultTag:L_,name:"Dialog.Panel"})}let k_="h2";function N_(e,t){let n=rt(),{id:r=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:a,setTitleId:o}]=hi("Dialog.Title"),u=Ne(t);de(()=>(o(r),()=>o(null)),[r,o]);let s=ce(()=>({open:a===0}),[a]);return Ee({ourProps:{ref:u,id:r},theirProps:i,slot:s,defaultTag:k_,name:"Dialog.Title"})}let M_=Se(P_),D_=Se(I_),$_=Se(R_),j_=Se(T_),B_=Se(N_),VI=Object.assign(M_,{Backdrop:D_,Panel:$_,Overlay:j_,Title:B_,Description:Nh});var Lc;let F_=(Lc=Z.startTransition)!=null?Lc:function(e){e()};var U_=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(U_||{}),x_=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(x_||{});let H_={0:e=>({...e,disclosureState:Pe(e.disclosureState,{0:1,1:0})}),1:e=>e.disclosureState===1?e:{...e,disclosureState:1},4(e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},5(e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},2(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},3(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},Bs=je(null);Bs.displayName="DisclosureContext";function Fs(e){let t=ke(Bs);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Fs),n}return t}let Us=je(null);Us.displayName="DisclosureAPIContext";function Mh(e){let t=ke(Us);if(t===null){let n=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Mh),n}return t}let xs=je(null);xs.displayName="DisclosurePanelContext";function K_(){return ke(xs)}function W_(e,t){return Pe(t.type,H_,e,t)}let z_=we;function q_(e,t){let{defaultOpen:n=!1,...r}=e,i=ae(null),a=Ne(t,wh(_=>{i.current=_},e.as===void 0||e.as===we)),o=ae(null),u=ae(null),s=Dn(W_,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:u,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:f},l]=s,d=ee(_=>{l({type:1});let g=fi(i);if(!g||!f)return;let y=(()=>_?_ instanceof HTMLElement?_:_.current instanceof HTMLElement?_.current:g.getElementById(f):g.getElementById(f))();y==null||y.focus()}),p=ce(()=>({close:d}),[d]),v=ce(()=>({open:c===0,close:d}),[c,d]),h={ref:a};return Z.createElement(Bs.Provider,{value:s},Z.createElement(Us.Provider,{value:p},Z.createElement(Ds,{value:Pe(c,{0:Oe.Open,1:Oe.Closed})},Ee({ourProps:h,theirProps:r,slot:v,defaultTag:z_,name:"Disclosure"}))))}let G_="button";function V_(e,t){let n=rt(),{id:r=`headlessui-disclosure-button-${n}`,...i}=e,[a,o]=Fs("Disclosure.Button"),u=K_(),s=u===null?!1:u===a.panelId,c=ae(null),f=Ne(c,t,s?null:a.buttonRef);de(()=>{if(!s)return o({type:2,buttonId:r}),()=>{o({type:2,buttonId:null})}},[r,o,s]);let l=ee(g=>{var y;if(s){if(a.disclosureState===1)return;switch(g.key){case ve.Space:case ve.Enter:g.preventDefault(),g.stopPropagation(),o({type:0}),(y=a.buttonRef.current)==null||y.focus();break}}else switch(g.key){case ve.Space:case ve.Enter:g.preventDefault(),g.stopPropagation(),o({type:0});break}}),d=ee(g=>{switch(g.key){case ve.Space:g.preventDefault();break}}),p=ee(g=>{var y;$a(g.currentTarget)||e.disabled||(s?(o({type:0}),(y=a.buttonRef.current)==null||y.focus()):o({type:0}))}),v=ce(()=>({open:a.disclosureState===0}),[a]),h=Ns(e,c),_=s?{ref:f,type:h,onKeyDown:l,onClick:p}:{ref:f,id:r,type:h,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:l,onKeyUp:d,onClick:p};return Ee({ourProps:_,theirProps:i,slot:v,defaultTag:G_,name:"Disclosure.Button"})}let Y_="div",X_=cn.RenderStrategy|cn.Static;function Q_(e,t){let n=rt(),{id:r=`headlessui-disclosure-panel-${n}`,...i}=e,[a,o]=Fs("Disclosure.Panel"),{close:u}=Mh("Disclosure.Panel"),s=Ne(t,a.panelRef,p=>{F_(()=>o({type:p?4:5}))});de(()=>(o({type:3,panelId:r}),()=>{o({type:3,panelId:null})}),[r,o]);let c=di(),f=(()=>c!==null?(c&Oe.Open)===Oe.Open:a.disclosureState===0)(),l=ce(()=>({open:a.disclosureState===0,close:u}),[a,u]),d={ref:s,id:r};return Z.createElement(xs.Provider,{value:a.panelId},Ee({ourProps:d,theirProps:i,slot:l,defaultTag:Y_,features:X_,visible:f,name:"Disclosure.Panel"}))}let J_=Se(q_),Z_=Se(V_),ew=Se(Q_),YI=Object.assign(J_,{Button:Z_,Panel:ew}),Rc=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function kc(e){var t,n;let r=(t=e.innerText)!=null?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let u of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))u.remove(),a=!0;let o=a?(n=i.innerText)!=null?n:"":r;return Rc.test(o)&&(o=o.replace(Rc,"")),o}function tw(e){let t=e.getAttribute("aria-label");if(typeof t=="string")return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let r=n.split(" ").map(i=>{let a=document.getElementById(i);if(a){let o=a.getAttribute("aria-label");return typeof o=="string"?o.trim():kc(a).trim()}return null}).filter(Boolean);if(r.length>0)return r.join(", ")}return kc(e).trim()}function nw(e){let t=ae(""),n=ae("");return ee(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=tw(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var rw=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(rw||{}),iw=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(iw||{}),aw=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e))(aw||{});function go(e,t=n=>n){let n=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,r=yh(t(e.items.slice()),a=>a.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return i===-1&&(i=null),{items:r,activeItemIndex:i}}let ow={1(e){return e.menuState===1?e:{...e,activeItemIndex:null,menuState:1}},0(e){return e.menuState===0?e:{...e,__demoMode:!1,menuState:0}},2:(e,t)=>{var n;let r=go(e),i=_1(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:a=>a.id,resolveDisabled:a=>a.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:(n=t.trigger)!=null?n:1}},3:(e,t)=>{let n=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(e.activeItemIndex!==null?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(o=>{var u;return((u=o.dataRef.current.textValue)==null?void 0:u.startsWith(r))&&!o.dataRef.current.disabled}),a=i?e.items.indexOf(i):-1;return a===-1||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a,activationTrigger:1}},4(e){return e.searchQuery===""?e:{...e,searchQuery:"",searchActiveItemIndex:null}},5:(e,t)=>{let n=go(e,r=>[...r,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=go(e,r=>{let i=r.findIndex(a=>a.id===t.id);return i!==-1&&r.splice(i,1),r});return{...e,...n,activationTrigger:1}}},Hs=je(null);Hs.displayName="MenuContext";function ja(e){let t=ke(Hs);if(t===null){let n=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,ja),n}return t}function uw(e,t){return Pe(t.type,ow,e,t)}let sw=we;function lw(e,t){let{__demoMode:n=!1,...r}=e,i=Dn(uw,{__demoMode:n,menuState:n?0:1,buttonRef:Qr(),itemsRef:Qr(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:u},s]=i,c=Ne(t);bh([u,o],(p,v)=>{var h;s({type:1}),ks(v,Rs.Loose)||(p.preventDefault(),(h=u.current)==null||h.focus())},a===0);let f=ee(()=>{s({type:1})}),l=ce(()=>({open:a===0,close:f}),[a,f]),d={ref:c};return Z.createElement(Hs.Provider,{value:i},Z.createElement(Ds,{value:Pe(a,{0:Oe.Open,1:Oe.Closed})},Ee({ourProps:d,theirProps:r,slot:l,defaultTag:sw,name:"Menu"})))}let cw="button";function fw(e,t){var n;let r=rt(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,u]=ja("Menu.Button"),s=Ne(o.buttonRef,t),c=Sr(),f=ee(h=>{switch(h.key){case ve.Space:case ve.Enter:case ve.ArrowDown:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:pt.First}));break;case ve.ArrowUp:h.preventDefault(),h.stopPropagation(),u({type:0}),c.nextFrame(()=>u({type:2,focus:pt.Last}));break}}),l=ee(h=>{switch(h.key){case ve.Space:h.preventDefault();break}}),d=ee(h=>{if($a(h.currentTarget))return h.preventDefault();e.disabled||(o.menuState===0?(u({type:1}),c.nextFrame(()=>{var _;return(_=o.buttonRef.current)==null?void 0:_.focus({preventScroll:!0})})):(h.preventDefault(),u({type:0})))}),p=ce(()=>({open:o.menuState===0}),[o]),v={ref:s,id:i,type:Ns(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":(n=o.itemsRef.current)==null?void 0:n.id,"aria-expanded":o.menuState===0,onKeyDown:f,onKeyUp:l,onClick:d};return Ee({ourProps:v,theirProps:a,slot:p,defaultTag:cw,name:"Menu.Button"})}let dw="div",pw=cn.RenderStrategy|cn.Static;function hw(e,t){var n,r;let i=rt(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[u,s]=ja("Menu.Items"),c=Ne(u.itemsRef,t),f=Pr(u.itemsRef),l=Sr(),d=di(),p=(()=>d!==null?(d&Oe.Open)===Oe.Open:u.menuState===0)();de(()=>{let y=u.itemsRef.current;y&&u.menuState===0&&y!==(f==null?void 0:f.activeElement)&&y.focus({preventScroll:!0})},[u.menuState,u.itemsRef,f]),g1({container:u.itemsRef.current,enabled:u.menuState===0,accept(y){return y.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:y.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(y){y.setAttribute("role","none")}});let v=ee(y=>{var m,b;switch(l.dispose(),y.key){case ve.Space:if(u.searchQuery!=="")return y.preventDefault(),y.stopPropagation(),s({type:3,value:y.key});case ve.Enter:if(y.preventDefault(),y.stopPropagation(),s({type:1}),u.activeItemIndex!==null){let{dataRef:E}=u.items[u.activeItemIndex];(b=(m=E.current)==null?void 0:m.domRef.current)==null||b.click()}mh(u.buttonRef.current);break;case ve.ArrowDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:pt.Next});case ve.ArrowUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:pt.Previous});case ve.Home:case ve.PageUp:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:pt.First});case ve.End:case ve.PageDown:return y.preventDefault(),y.stopPropagation(),s({type:2,focus:pt.Last});case ve.Escape:y.preventDefault(),y.stopPropagation(),s({type:1}),bt().nextFrame(()=>{var E;return(E=u.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})});break;case ve.Tab:y.preventDefault(),y.stopPropagation(),s({type:1}),bt().nextFrame(()=>{y1(u.buttonRef.current,y.shiftKey?kt.Previous:kt.Next)});break;default:y.key.length===1&&(s({type:3,value:y.key}),l.setTimeout(()=>s({type:4}),350));break}}),h=ee(y=>{switch(y.key){case ve.Space:y.preventDefault();break}}),_=ce(()=>({open:u.menuState===0}),[u]),g={"aria-activedescendant":u.activeItemIndex===null||(n=u.items[u.activeItemIndex])==null?void 0:n.id,"aria-labelledby":(r=u.buttonRef.current)==null?void 0:r.id,id:a,onKeyDown:v,onKeyUp:h,role:"menu",tabIndex:0,ref:c};return Ee({ourProps:g,theirProps:o,slot:_,defaultTag:dw,features:pw,visible:p,name:"Menu.Items"})}let vw=we;function mw(e,t){let n=rt(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,u]=ja("Menu.Item"),s=o.activeItemIndex!==null?o.items[o.activeItemIndex].id===r:!1,c=ae(null),f=Ne(t,c);Me(()=>{if(o.__demoMode||o.menuState!==0||!s||o.activationTrigger===0)return;let E=bt();return E.requestAnimationFrame(()=>{var O,S;(S=(O=c.current)==null?void 0:O.scrollIntoView)==null||S.call(O,{block:"nearest"})}),E.dispose},[o.__demoMode,c,s,o.menuState,o.activationTrigger,o.activeItemIndex]);let l=nw(c),d=ae({disabled:i,domRef:c,get textValue(){return l()}});Me(()=>{d.current.disabled=i},[d,i]),Me(()=>(u({type:5,id:r,dataRef:d}),()=>u({type:6,id:r})),[d,r]);let p=ee(()=>{u({type:1})}),v=ee(E=>{if(i)return E.preventDefault();u({type:1}),mh(o.buttonRef.current)}),h=ee(()=>{if(i)return u({type:2,focus:pt.Nothing});u({type:2,focus:pt.Specific,id:r})}),_=T1(),g=ee(E=>_.update(E)),y=ee(E=>{_.wasMoved(E)&&(i||s||u({type:2,focus:pt.Specific,id:r,trigger:0}))}),m=ee(E=>{_.wasMoved(E)&&(i||s&&u({type:2,focus:pt.Nothing}))}),b=ce(()=>({active:s,disabled:i,close:p}),[s,i,p]);return Ee({ourProps:{id:r,ref:f,role:"menuitem",tabIndex:i===!0?void 0:-1,"aria-disabled":i===!0?!0:void 0,disabled:void 0,onClick:v,onFocus:h,onPointerEnter:g,onMouseEnter:g,onPointerMove:y,onMouseMove:y,onPointerLeave:m,onMouseLeave:m},theirProps:a,slot:b,defaultTag:vw,name:"Menu.Item"})}let yw=Se(lw),gw=Se(fw),bw=Se(hw),_w=Se(mw),XI=Object.assign(yw,{Button:gw,Items:bw,Item:_w});function ww(e=0){let[t,n]=xe(e),r=pi(),i=Zt(s=>{r.current&&n(c=>c|s)},[t,r]),a=Zt(s=>!!(t&s),[t]),o=Zt(s=>{r.current&&n(c=>c&~s)},[n,r]),u=Zt(s=>{r.current&&n(c=>c^s)},[n]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:o,toggleFlag:u}}let Dh=je(null);function $h(){let e=ke(Dh);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,$h),t}return e}function Ew(){let[e,t]=xe([]);return[e.length>0?e.join(" "):void 0,ce(()=>function(n){let r=ee(a=>(t(o=>[...o,a]),()=>t(o=>{let u=o.slice(),s=u.indexOf(a);return s!==-1&&u.splice(s,1),u}))),i=ce(()=>({register:r,slot:n.slot,name:n.name,props:n.props}),[r,n.slot,n.name,n.props]);return Z.createElement(Dh.Provider,{value:i},n.children)},[t])]}let Sw="label";function Ow(e,t){let n=rt(),{id:r=`headlessui-label-${n}`,passive:i=!1,...a}=e,o=$h(),u=Ne(t);Me(()=>o.register(r),[r,o.register]);let s={ref:u,...o.props,id:r};return i&&("onClick"in s&&(delete s.htmlFor,delete s.onClick),"onClick"in a&&delete a.onClick),Ee({ourProps:s,theirProps:a,slot:o.slot||{},defaultTag:Sw,name:o.name||"Label"})}let Pw=Se(Ow),Aw=Object.assign(Pw,{}),Ks=je(null);Ks.displayName="GroupContext";let Tw=we;function Cw(e){var t;let[n,r]=xe(null),[i,a]=Ew(),[o,u]=kh(),s=ce(()=>({switch:n,setSwitch:r,labelledby:i,describedby:o}),[n,r,i,o]),c={},f=e;return Z.createElement(u,{name:"Switch.Description"},Z.createElement(a,{name:"Switch.Label",props:{htmlFor:(t=s.switch)==null?void 0:t.id,onClick(l){n&&(l.currentTarget.tagName==="LABEL"&&l.preventDefault(),n.click(),n.focus({preventScroll:!0}))}}},Z.createElement(Ks.Provider,{value:s},Ee({ourProps:c,theirProps:f,defaultTag:Tw,name:"Switch.Group"}))))}let Iw="button";function Lw(e,t){let n=rt(),{id:r=`headlessui-switch-${n}`,checked:i,defaultChecked:a=!1,onChange:o,name:u,value:s,form:c,...f}=e,l=ke(Ks),d=ae(null),p=Ne(d,t,l===null?null:l.setSwitch),[v,h]=A1(i,o,a),_=ee(()=>h==null?void 0:h(!v)),g=ee(S=>{if($a(S.currentTarget))return S.preventDefault();S.preventDefault(),_()}),y=ee(S=>{S.key===ve.Space?(S.preventDefault(),_()):S.key===ve.Enter&&S1(S.currentTarget)}),m=ee(S=>S.preventDefault()),b=ce(()=>({checked:v}),[v]),E={id:r,ref:p,role:"switch",type:Ns(e,d),tabIndex:0,"aria-checked":v,"aria-labelledby":l==null?void 0:l.labelledby,"aria-describedby":l==null?void 0:l.describedby,onClick:g,onKeyUp:y,onKeyPress:m},O=Sr();return de(()=>{var S;let w=(S=d.current)==null?void 0:S.closest("form");w&&a!==void 0&&O.addEventListener(w,"reset",()=>{h(a)})},[d,h]),Z.createElement(Z.Fragment,null,u!=null&&v&&Z.createElement(fa,{features:ti.Hidden,...pu({as:"input",type:"checkbox",hidden:!0,readOnly:!0,form:c,checked:v,name:u,value:s})}),Ee({ourProps:E,theirProps:f,slot:b,defaultTag:Iw,name:"Switch"}))}let Rw=Se(Lw),kw=Cw,QI=Object.assign(Rw,{Group:kw,Label:Aw,Description:Nh});function Nw(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function bo(e,...t){e&&t.length>0&&e.classList.add(...t)}function _o(e,...t){e&&t.length>0&&e.classList.remove(...t)}function Mw(e,t){let n=bt();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(s=>{let[c=0]=s.split(",").filter(Boolean).map(f=>f.includes("ms")?parseFloat(f):parseFloat(f)*1e3).sort((f,l)=>l-f);return c}),u=a+o;if(u!==0){n.group(c=>{c.setTimeout(()=>{t(),c.dispose()},u),c.addEventListener(e,"transitionrun",f=>{f.target===f.currentTarget&&c.dispose()})});let s=n.addEventListener(e,"transitionend",c=>{c.target===c.currentTarget&&(t(),s())})}else t();return n.add(()=>t()),n.dispose}function Dw(e,t,n,r){let i=n?"enter":"leave",a=bt(),o=r!==void 0?Nw(r):()=>{};i==="enter"&&(e.removeAttribute("hidden"),e.style.display="");let u=Pe(i,{enter:()=>t.enter,leave:()=>t.leave}),s=Pe(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=Pe(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return _o(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),bo(e,...t.base,...u,...c),a.nextFrame(()=>{_o(e,...t.base,...u,...c),bo(e,...t.base,...u,...s),Mw(e,()=>(_o(e,...t.base,...u),bo(e,...t.base,...t.entered),o()))}),a.dispose}function $w({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:a}){let o=pi(),u=Sr(),s=Bt(n);Me(()=>{e&&(s.current="enter")},[e]),Me(()=>{let c=bt();u.add(c.dispose);let f=t.current;if(f&&s.current!=="idle"&&o.current)return c.dispose(),i.current(s.current),c.add(Dw(f,r.current,s.current==="enter",()=>{c.dispose(),a.current(s.current)})),c.dispose},[n])}function qt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Ba=je(null);Ba.displayName="TransitionContext";var jw=(e=>(e.Visible="visible",e.Hidden="hidden",e))(jw||{});function Bw(){let e=ke(Ba);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function Fw(){let e=ke(Fa);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let Fa=je(null);Fa.displayName="NestingContext";function Ua(e){return"children"in e?Ua(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function jh(e,t){let n=Bt(e),r=ae([]),i=pi(),a=Sr(),o=ee((p,v=en.Hidden)=>{let h=r.current.findIndex(({el:_})=>_===p);h!==-1&&(Pe(v,{[en.Unmount](){r.current.splice(h,1)},[en.Hidden](){r.current[h].state="hidden"}}),a.microTask(()=>{var _;!Ua(r)&&i.current&&((_=n.current)==null||_.call(n))}))}),u=ee(p=>{let v=r.current.find(({el:h})=>h===p);return v?v.state!=="visible"&&(v.state="visible"):r.current.push({el:p,state:"visible"}),()=>o(p,en.Unmount)}),s=ae([]),c=ae(Promise.resolve()),f=ae({enter:[],leave:[],idle:[]}),l=ee((p,v,h)=>{s.current.splice(0),t&&(t.chains.current[v]=t.chains.current[v].filter(([_])=>_!==p)),t==null||t.chains.current[v].push([p,new Promise(_=>{s.current.push(_)})]),t==null||t.chains.current[v].push([p,new Promise(_=>{Promise.all(f.current[v].map(([g,y])=>y)).then(()=>_())})]),v==="enter"?c.current=c.current.then(()=>t==null?void 0:t.wait.current).then(()=>h(v)):h(v)}),d=ee((p,v,h)=>{Promise.all(f.current[v].splice(0).map(([_,g])=>g)).then(()=>{var _;(_=s.current.shift())==null||_()}).then(()=>h(v))});return ce(()=>({children:r,register:u,unregister:o,onStart:l,onStop:d,wait:c,chains:f}),[u,o,r,l,d,f,c])}function Uw(){}let xw=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Nc(e){var t;let n={};for(let r of xw)n[r]=(t=e[r])!=null?t:Uw;return n}function Hw(e){let t=ae(Nc(e));return de(()=>{t.current=Nc(e)},[e]),t}let Kw="div",Bh=cn.RenderStrategy;function Ww(e,t){var n,r;let{beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u,enter:s,enterFrom:c,enterTo:f,entered:l,leave:d,leaveFrom:p,leaveTo:v,...h}=e,_=ae(null),g=Ne(_,t),y=(n=h.unmount)==null||n?en.Unmount:en.Hidden,{show:m,appear:b,initial:E}=Bw(),[O,S]=xe(m?"visible":"hidden"),w=Fw(),{register:P,unregister:A}=w;de(()=>P(_),[P,_]),de(()=>{if(y===en.Hidden&&_.current){if(m&&O!=="visible"){S("visible");return}return Pe(O,{hidden:()=>A(_),visible:()=>P(_)})}},[O,_,P,A,m,y]);let L=Bt({base:qt(h.className),enter:qt(s),enterFrom:qt(c),enterTo:qt(f),entered:qt(l),leave:qt(d),leaveFrom:qt(p),leaveTo:qt(v)}),D=Hw({beforeEnter:i,afterEnter:a,beforeLeave:o,afterLeave:u}),j=Or();de(()=>{if(j&&O==="visible"&&_.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[_,O,j]);let I=E&&!b,C=b&&m&&E,R=(()=>!j||I?"idle":m?"enter":"leave")(),$=ww(0),B=ee(U=>Pe(U,{enter:()=>{$.addFlag(Oe.Opening),D.current.beforeEnter()},leave:()=>{$.addFlag(Oe.Closing),D.current.beforeLeave()},idle:()=>{}})),Y=ee(U=>Pe(U,{enter:()=>{$.removeFlag(Oe.Opening),D.current.afterEnter()},leave:()=>{$.removeFlag(Oe.Closing),D.current.afterLeave()},idle:()=>{}})),z=jh(()=>{S("hidden"),A(_)},w);$w({immediate:C,container:_,classes:L,direction:R,onStart:Bt(U=>{z.onStart(_,U,B)}),onStop:Bt(U=>{z.onStop(_,U,Y),U==="leave"&&!Ua(z)&&(S("hidden"),A(_))})});let X=h,x={ref:g};return C?X={...X,className:ca(h.className,...L.current.enter,...L.current.enterFrom)}:(X.className=ca(h.className,(r=_.current)==null?void 0:r.className),X.className===""&&delete X.className),Z.createElement(Fa.Provider,{value:z},Z.createElement(Ds,{value:Pe(O,{visible:Oe.Open,hidden:Oe.Closed})|$.flags},Ee({ourProps:x,theirProps:X,defaultTag:Kw,features:Bh,visible:O==="visible",name:"Transition.Child"})))}function zw(e,t){let{show:n,appear:r=!1,unmount:i=!0,...a}=e,o=ae(null),u=Ne(o,t);Or();let s=di();if(n===void 0&&s!==null&&(n=(s&Oe.Open)===Oe.Open),![!0,!1].includes(n))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,f]=xe(n?"visible":"hidden"),l=jh(()=>{f("hidden")}),[d,p]=xe(!0),v=ae([n]);Me(()=>{d!==!1&&v.current[v.current.length-1]!==n&&(v.current.push(n),p(!1))},[v,n]);let h=ce(()=>({show:n,appear:r,initial:d}),[n,r,d]);de(()=>{if(n)f("visible");else if(!Ua(l))f("hidden");else{let m=o.current;if(!m)return;let b=m.getBoundingClientRect();b.x===0&&b.y===0&&b.width===0&&b.height===0&&f("hidden")}},[n,l]);let _={unmount:i},g=ee(()=>{var m;d&&p(!1),(m=e.beforeEnter)==null||m.call(e)}),y=ee(()=>{var m;d&&p(!1),(m=e.beforeLeave)==null||m.call(e)});return Z.createElement(Fa.Provider,{value:l},Z.createElement(Ba.Provider,{value:h},Ee({ourProps:{..._,as:we,children:Z.createElement(Fh,{ref:u,..._,...a,beforeEnter:g,beforeLeave:y})},theirProps:{},defaultTag:we,features:Bh,visible:c==="visible",name:"Transition"})))}function qw(e,t){let n=ke(Ba)!==null,r=di()!==null;return Z.createElement(Z.Fragment,null,!n&&r?Z.createElement(gu,{ref:t,...e}):Z.createElement(Fh,{ref:t,...e}))}let gu=Se(zw),Fh=Se(Ww),Gw=Se(qw),JI=Object.assign(gu,{Child:Gw,Root:gu});function Vw({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"}))}const Yw=pe(Vw),ZI=Yw;function Xw({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25H12"}))}const Qw=pe(Xw),eL=Qw;function Jw({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5"}))}const Zw=pe(Jw),tL=Zw;function eE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5L8.25 12l7.5-7.5"}))}const tE=pe(eE),nL=tE;function nE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))}const rE=pe(nE),rL=rE;function iE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"}))}const aE=pe(iE),iL=aE;function oE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"}))}const uE=pe(oE),aL=uE;function sE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"}))}const lE=pe(sE),oL=lE;function cE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}))}const fE=pe(cE),uL=fE;function dE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 11.25v8.25a1.5 1.5 0 01-1.5 1.5H5.25a1.5 1.5 0 01-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 109.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1114.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125z"}))}const pE=pe(dE),sL=pE;function hE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 5.25a3 3 0 013 3m3 0a6 6 0 01-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1121.75 8.25z"}))}const vE=pe(hE),lL=vE;function mE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13"}))}const yE=pe(mE),cL=yE;function gE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 012.25-2.25h7.5A2.25 2.25 0 0118 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 004.5 9v.878m13.5-3A2.25 2.25 0 0119.5 9v.878m0 0a2.246 2.246 0 00-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0121 12v6a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 18v-6c0-.98.626-1.813 1.5-2.122"}))}const bE=pe(gE),fL=bE;function _E({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"}))}const wE=pe(_E),dL=wE;function EE({title:e,titleId:t,...n},r){return F("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?F("title",{id:t},e):null,F("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}const SE=pe(EE),pL=SE;function bu(e){this.message=e}bu.prototype=new Error,bu.prototype.name="InvalidCharacterError";var Mc=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new bu("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,a=0,o="";r=t.charAt(a++);~r&&(n=i%4?64*n+r:r,i++%4)?o+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return o};function OE(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(Mc(n).replace(/(.)/g,function(r,i){var a=i.charCodeAt(0).toString(16).toUpperCase();return a.length<2&&(a="0"+a),"%"+a}))}(t)}catch{return Mc(t)}}function pa(e){this.message=e}function hL(e,t){if(typeof e!="string")throw new pa("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(OE(e.split(".")[n]))}catch(r){throw new pa("Invalid token specified: "+r.message)}}pa.prototype=new Error,pa.prototype.name="InvalidTokenError";const PE=(e,t)=>t.skipDedupe||t.method!=="GET",AE=(e,t)=>t.method+"@"+e,TE=e=>e.clone(),vL=({skip:e=PE,key:t=AE,resolver:n=TE}={})=>{const r=new Map;return i=>(a,o)=>{if(e(a,o))return i(a,o);const u=t(a,o);if(!r.has(u))r.set(u,[]);else return new Promise((s,c)=>{r.get(u).push([s,c])});try{return i(a,o).then(s=>(r.get(u).forEach(([c])=>c(n(s))),r.delete(u),s)).catch(s=>{throw r.get(u).forEach(([c,f])=>f(s)),r.delete(u),s})}catch(s){return r.delete(u),Promise.reject(s)}}},CE=(e,t)=>t.skipCache||t.method!=="GET",IE=(e,t)=>t.method+"@"+e,LE=(e,t)=>!1,RE=(e,t)=>null,kE=e=>e.ok,mL=({throttle:e=1e3,skip:t=CE,key:n=IE,clear:r=LE,invalidate:i=RE,condition:a=kE,flagResponseOnCacheHit:o="__cached"}={})=>{const u=new Map,s=new Map,c=new Set,f=d=>{e&&!c.has(d)&&(c.add(d),setTimeout(()=>{c.delete(d)},e))},l=d=>(p,v)=>{const h=n(p,v);let _=i(p,v);if(_&&(_ instanceof Array||(_=[_]),_.forEach(g=>{typeof g=="string"?u.delete(g):g instanceof RegExp&&u.forEach((y,m)=>{g.test(m)&&u.delete(m)})})),r(p,v)&&u.clear(),t(p,v))return d(p,v);if(c.has(h)){if(u.has(h)){const g=u.get(h).clone();return o&&Object.defineProperty(g,o,{value:h,enumerable:!1}),Promise.resolve(g)}else if(s.has(h))return new Promise((g,y)=>{s.get(h).push([g,y])})}return s.has(h)||s.set(h,[]),f(h),d(p,v).then(g=>(a(g.clone())&&u.set(h,g.clone()),s.get(h).forEach(([y])=>y(g.clone())),s.delete(h),g)).catch(g=>{throw s.get(h).forEach(([y,m])=>m(g)),s.delete(h),g})};return l.cacheResponse=function(d,p){f(d),u.set(d,p)},l.cache=u,l.inflight=s,l.throttling=c,l};function Uh(e,t){return function(){return e.apply(t,arguments)}}const{toString:NE}=Object.prototype,{getPrototypeOf:Ws}=Object,xa=(e=>t=>{const n=NE.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),_t=e=>(e=e.toLowerCase(),t=>xa(t)===e),Ha=e=>t=>typeof t===e,{isArray:Ar}=Array,ni=Ha("undefined");function ME(e){return e!==null&&!ni(e)&&e.constructor!==null&&!ni(e.constructor)&&ut(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const xh=_t("ArrayBuffer");function DE(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&xh(e.buffer),t}const $E=Ha("string"),ut=Ha("function"),Hh=Ha("number"),Ka=e=>e!==null&&typeof e=="object",jE=e=>e===!0||e===!1,qi=e=>{if(xa(e)!=="object")return!1;const t=Ws(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},BE=_t("Date"),FE=_t("File"),UE=_t("Blob"),xE=_t("FileList"),HE=e=>Ka(e)&&ut(e.pipe),KE=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ut(e.append)&&((t=xa(e))==="formdata"||t==="object"&&ut(e.toString)&&e.toString()==="[object FormData]"))},WE=_t("URLSearchParams"),[zE,qE,GE,VE]=["ReadableStream","Request","Response","Headers"].map(_t),YE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function vi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Ar(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let u;for(r=0;r<o;r++)u=a[r],t.call(null,e[u],u,e)}}function Kh(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Wh=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),zh=e=>!ni(e)&&e!==Wh;function _u(){const{caseless:e}=zh(this)&&this||{},t={},n=(r,i)=>{const a=e&&Kh(t,i)||i;qi(t[a])&&qi(r)?t[a]=_u(t[a],r):qi(r)?t[a]=_u({},r):Ar(r)?t[a]=r.slice():t[a]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&vi(arguments[r],n);return t}const XE=(e,t,n,{allOwnKeys:r}={})=>(vi(t,(i,a)=>{n&&ut(i)?e[a]=Uh(i,n):e[a]=i},{allOwnKeys:r}),e),QE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),JE=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ZE=(e,t,n,r)=>{let i,a,o;const u={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!u[o]&&(t[o]=e[o],u[o]=!0);e=n!==!1&&Ws(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},eS=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},tS=e=>{if(!e)return null;if(Ar(e))return e;let t=e.length;if(!Hh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},nS=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ws(Uint8Array)),rS=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},iS=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},aS=_t("HTMLFormElement"),oS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Dc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),uS=_t("RegExp"),qh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};vi(n,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(r[a]=o||i)}),Object.defineProperties(e,r)},sS=e=>{qh(e,(t,n)=>{if(ut(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ut(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},lS=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return Ar(e)?r(e):r(String(e).split(t)),n},cS=()=>{},fS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,wo="abcdefghijklmnopqrstuvwxyz",$c="0123456789",Gh={DIGIT:$c,ALPHA:wo,ALPHA_DIGIT:wo+wo.toUpperCase()+$c},dS=(e=16,t=Gh.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function pS(e){return!!(e&&ut(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const hS=e=>{const t=new Array(10),n=(r,i)=>{if(Ka(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const a=Ar(r)?[]:{};return vi(r,(o,u)=>{const s=n(o,i+1);!ni(s)&&(a[u]=s)}),t[i]=void 0,a}}return r};return n(e,0)},vS=_t("AsyncFunction"),mS=e=>e&&(Ka(e)||ut(e))&&ut(e.then)&&ut(e.catch),N={isArray:Ar,isArrayBuffer:xh,isBuffer:ME,isFormData:KE,isArrayBufferView:DE,isString:$E,isNumber:Hh,isBoolean:jE,isObject:Ka,isPlainObject:qi,isReadableStream:zE,isRequest:qE,isResponse:GE,isHeaders:VE,isUndefined:ni,isDate:BE,isFile:FE,isBlob:UE,isRegExp:uS,isFunction:ut,isStream:HE,isURLSearchParams:WE,isTypedArray:nS,isFileList:xE,forEach:vi,merge:_u,extend:XE,trim:YE,stripBOM:QE,inherits:JE,toFlatObject:ZE,kindOf:xa,kindOfTest:_t,endsWith:eS,toArray:tS,forEachEntry:rS,matchAll:iS,isHTMLForm:aS,hasOwnProperty:Dc,hasOwnProp:Dc,reduceDescriptors:qh,freezeMethods:sS,toObjectSet:lS,toCamelCase:oS,noop:cS,toFiniteNumber:fS,findKey:Kh,global:Wh,isContextDefined:zh,ALPHABET:Gh,generateString:dS,isSpecCompliantForm:pS,toJSONObject:hS,isAsyncFn:vS,isThenable:mS};function re(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}N.inherits(re,Error,{toJSON:function(){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.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Vh=re.prototype,Yh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Yh[e]={value:e}});Object.defineProperties(re,Yh);Object.defineProperty(Vh,"isAxiosError",{value:!0});re.from=(e,t,n,r,i,a)=>{const o=Object.create(Vh);return N.toFlatObject(e,o,function(s){return s!==Error.prototype},u=>u!=="isAxiosError"),re.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const yS=null;function wu(e){return N.isPlainObject(e)||N.isArray(e)}function Xh(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function jc(e,t,n){return e?e.concat(t).map(function(i,a){return i=Xh(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function gS(e){return N.isArray(e)&&!e.some(wu)}const bS=N.toFlatObject(N,{},null,function(t){return/^is[A-Z]/.test(t)});function Wa(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,_){return!N.isUndefined(_[h])});const r=n.metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(t);if(!N.isFunction(i))throw new TypeError("visitor must be a function");function c(v){if(v===null)return"";if(N.isDate(v))return v.toISOString();if(!s&&N.isBlob(v))throw new re("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(v)||N.isTypedArray(v)?s&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,h,_){let g=v;if(v&&!_&&typeof v=="object"){if(N.endsWith(h,"{}"))h=r?h:h.slice(0,-2),v=JSON.stringify(v);else if(N.isArray(v)&&gS(v)||(N.isFileList(v)||N.endsWith(h,"[]"))&&(g=N.toArray(v)))return h=Xh(h),g.forEach(function(m,b){!(N.isUndefined(m)||m===null)&&t.append(o===!0?jc([h],b,a):o===null?h:h+"[]",c(m))}),!1}return wu(v)?!0:(t.append(jc(_,h,a),c(v)),!1)}const l=[],d=Object.assign(bS,{defaultVisitor:f,convertValue:c,isVisitable:wu});function p(v,h){if(!N.isUndefined(v)){if(l.indexOf(v)!==-1)throw Error("Circular reference detected in "+h.join("."));l.push(v),N.forEach(v,function(g,y){(!(N.isUndefined(g)||g===null)&&i.call(t,g,N.isString(y)?y.trim():y,h,d))===!0&&p(g,h?h.concat(y):[y])}),l.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Bc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function zs(e,t){this._pairs=[],e&&Wa(e,this,t)}const Qh=zs.prototype;Qh.append=function(t,n){this._pairs.push([t,n])};Qh.toString=function(t){const n=t?function(r){return t.call(this,r,Bc)}:Bc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function _S(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Jh(e,t,n){if(!t)return e;const r=n&&n.encode||_S,i=n&&n.serialize;let a;if(i?a=i(t,n):a=N.isURLSearchParams(t)?t.toString():new zs(t,n).toString(r),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class wS{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){N.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Fc=wS,Zh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ES=typeof URLSearchParams<"u"?URLSearchParams:zs,SS=typeof FormData<"u"?FormData:null,OS=typeof Blob<"u"?Blob:null,PS={isBrowser:!0,classes:{URLSearchParams:ES,FormData:SS,Blob:OS},protocols:["http","https","file","blob","url","data"]},qs=typeof window<"u"&&typeof document<"u",AS=(e=>qs&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),TS=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),CS=qs&&window.location.href||"http://localhost",IS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qs,hasStandardBrowserEnv:AS,hasStandardBrowserWebWorkerEnv:TS,origin:CS},Symbol.toStringTag,{value:"Module"})),mt={...IS,...PS};function LS(e,t){return Wa(e,new mt.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,a){return mt.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function RS(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function kS(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function ev(e){function t(n,r,i,a){let o=n[a++];if(o==="__proto__")return!0;const u=Number.isFinite(+o),s=a>=n.length;return o=!o&&N.isArray(i)?i.length:o,s?(N.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!u):((!i[o]||!N.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],a)&&N.isArray(i[o])&&(i[o]=kS(i[o])),!u)}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,(r,i)=>{t(RS(r),i,n,0)}),n}return null}function NS(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Gs={transitional:Zh,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=N.isObject(t);if(a&&N.isHTMLForm(t)&&(t=new FormData(t)),N.isFormData(t))return i?JSON.stringify(ev(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t)||N.isReadableStream(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return LS(t,this.formSerializer).toString();if((u=N.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Wa(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}return a||i?(n.setContentType("application/json",!1),NS(t)):t}],transformResponse:[function(t){const n=this.transitional||Gs.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(N.isResponse(t)||N.isReadableStream(t))return t;if(t&&N.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(u){if(o)throw u.name==="SyntaxError"?re.from(u,re.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mt.classes.FormData,Blob:mt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],e=>{Gs.headers[e]={}});const Vs=Gs,MS=N.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"]),DS=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
8
8
|
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&MS[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Uc=Symbol("internals");function Dr(e){return e&&String(e).trim().toLowerCase()}function Gi(e){return e===!1||e==null?e:N.isArray(e)?e.map(Gi):String(e)}function $S(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}const jS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Eo(e,t,n,r,i){if(N.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!N.isString(t)){if(N.isString(r))return t.indexOf(r)!==-1;if(N.isRegExp(r))return r.test(t)}}function BS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function FS(e,t){const n=N.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,a,o){return this[r].call(this,t,i,a,o)},configurable:!0})})}class za{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(u,s,c){const f=Dr(s);if(!f)throw new Error("header name must be a non-empty string");const l=N.findKey(i,f);(!l||i[l]===void 0||c===!0||c===void 0&&i[l]!==!1)&&(i[l||s]=Gi(u))}const o=(u,s)=>N.forEach(u,(c,f)=>a(c,f,s));if(N.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(N.isString(t)&&(t=t.trim())&&!jS(t))o(DS(t),n);else if(N.isHeaders(t))for(const[u,s]of t.entries())a(s,u,r);else t!=null&&a(n,t,r);return this}get(t,n){if(t=Dr(t),t){const r=N.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return $S(i);if(N.isFunction(n))return n.call(this,i,r);if(N.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Dr(t),t){const r=N.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Eo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(o){if(o=Dr(o),o){const u=N.findKey(r,o);u&&(!n||Eo(r,r[u],u,n))&&(delete r[u],i=!0)}}return N.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const a=n[r];(!t||Eo(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return N.forEach(this,(i,a)=>{const o=N.findKey(r,a);if(o){n[o]=Gi(i),delete n[a];return}const u=t?BS(a):String(a).trim();u!==a&&delete n[a],n[u]=Gi(i),r[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return N.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&N.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
9
|
-
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Uc]=this[Uc]={accessors:{}}).accessors,i=this.prototype;function a(o){const u=Dr(o);r[u]||(FS(i,o),r[u]=!0)}return N.isArray(t)?t.forEach(a):a(t),this}}za.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(za.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});N.freezeMethods(za);const yt=za;function So(e,t){const n=this||Vs,r=t||n,i=yt.from(r.headers);let a=r.data;return N.forEach(e,function(u){a=u.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function tv(e){return!!(e&&e.__CANCEL__)}function Tr(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}N.inherits(Tr,re,{__CANCEL__:!0});function nv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function US(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function xS(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),f=r[a];o||(o=c),n[i]=s,r[i]=c;let l=a,d=0;for(;l!==i;)d+=n[l++],l=l%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;const p=f&&c-f;return p?Math.round(d*1e3/p):void 0}}function HS(e,t){let n=0;const r=1e3/t;let i=null;return function(){const o=this===!0,u=Date.now();if(o||u-n>r)return i&&(clearTimeout(i),i=null),n=u,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(u-n)))}}const ha=(e,t,n=3)=>{let r=0;const i=xS(50,250);return HS(a=>{const o=a.loaded,u=a.lengthComputable?a.total:void 0,s=o-r,c=i(s),f=o<=u;r=o;const l={loaded:o,total:u,progress:u?o/u:void 0,bytes:s,rate:c||void 0,estimated:c&&u&&f?(u-o)/c:void 0,event:a,lengthComputable:u!=null};l[t?"download":"upload"]=!0,e(l)},n)},KS=mt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(a){let o=a;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const u=N.isString(o)?i(o):o;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}(),WS=mt.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];N.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),N.isString(r)&&o.push("path="+r),N.isString(i)&&o.push("domain="+i),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function zS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function rv(e,t){return e&&!zS(t)?qS(e,t):t}const xc=e=>e instanceof yt?{...e}:e;function Rn(e,t){t=t||{};const n={};function r(c,f,l){return N.isPlainObject(c)&&N.isPlainObject(f)?N.merge.call({caseless:l},c,f):N.isPlainObject(f)?N.merge({},f):N.isArray(f)?f.slice():f}function i(c,f,l){if(N.isUndefined(f)){if(!N.isUndefined(c))return r(void 0,c,l)}else return r(c,f,l)}function a(c,f){if(!N.isUndefined(f))return r(void 0,f)}function o(c,f){if(N.isUndefined(f)){if(!N.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function u(c,f,l){if(l in t)return r(c,f);if(l in e)return r(void 0,c)}const s={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(c,f)=>i(xc(c),xc(f),!0)};return N.forEach(Object.keys(Object.assign({},e,t)),function(f){const l=s[f]||i,d=l(e[f],t[f],f);N.isUndefined(d)&&l!==u||(n[f]=d)}),n}const iv=e=>{const t=Rn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:u}=t;t.headers=o=yt.from(o),t.url=Jh(rv(t.baseURL,t.url),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let s;if(N.isFormData(n)){if(mt.hasStandardBrowserEnv||mt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((s=o.getContentType())!==!1){const[c,...f]=s?s.split(";").map(l=>l.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...f].join("; "))}}if(mt.hasStandardBrowserEnv&&(r&&N.isFunction(r)&&(r=r(t)),r||r!==!1&&KS(t.url))){const c=i&&a&&WS.read(a);c&&o.set(i,c)}return t},GS=typeof XMLHttpRequest<"u",VS=GS&&function(e){return new Promise(function(n,r){const i=iv(e);let a=i.data;const o=yt.from(i.headers).normalize();let{responseType:u}=i,s;function c(){i.cancelToken&&i.cancelToken.unsubscribe(s),i.signal&&i.signal.removeEventListener("abort",s)}let f=new XMLHttpRequest;f.open(i.method.toUpperCase(),i.url,!0),f.timeout=i.timeout;function l(){if(!f)return;const p=yt.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),h={data:!u||u==="text"||u==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:p,config:e,request:f};nv(function(g){n(g),c()},function(g){r(g),c()},h),f=null}"onloadend"in f?f.onloadend=l:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(l)},f.onabort=function(){f&&(r(new re("Request aborted",re.ECONNABORTED,i,f)),f=null)},f.onerror=function(){r(new re("Network Error",re.ERR_NETWORK,i,f)),f=null},f.ontimeout=function(){let v=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const h=i.transitional||Zh;i.timeoutErrorMessage&&(v=i.timeoutErrorMessage),r(new re(v,h.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,i,f)),f=null},a===void 0&&o.setContentType(null),"setRequestHeader"in f&&N.forEach(o.toJSON(),function(v,h){f.setRequestHeader(h,v)}),N.isUndefined(i.withCredentials)||(f.withCredentials=!!i.withCredentials),u&&u!=="json"&&(f.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&f.addEventListener("progress",ha(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",ha(i.onUploadProgress)),(i.cancelToken||i.signal)&&(s=p=>{f&&(r(!p||p.type?new Tr(null,e,f):p),f.abort(),f=null)},i.cancelToken&&i.cancelToken.subscribe(s),i.signal&&(i.signal.aborted?s():i.signal.addEventListener("abort",s)));const d=US(i.url);if(d&&mt.protocols.indexOf(d)===-1){r(new re("Unsupported protocol "+d+":",re.ERR_BAD_REQUEST,e));return}f.send(a||null)})},YS=(e,t)=>{let n=new AbortController,r;const i=function(s){if(!r){r=!0,o();const c=s instanceof Error?s:this.reason;n.abort(c instanceof re?c:new Tr(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{i(new re(`timeout ${t} of ms exceeded`,re.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(s=>{s&&(s.removeEventListener?s.removeEventListener("abort",i):s.unsubscribe(i))}),e=null)};e.forEach(s=>s&&s.addEventListener&&s.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=o,[u,()=>{a&&clearTimeout(a),a=null}]},XS=YS,QS=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},JS=async function*(e,t,n){for await(const r of e)yield*QS(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Hc=(e,t,n,r,i)=>{const a=JS(e,t,i);let o=0;return new ReadableStream({type:"bytes",async pull(u){const{done:s,value:c}=await a.next();if(s){u.close(),r();return}let f=c.byteLength;n&&n(o+=f),u.enqueue(new Uint8Array(c))},cancel(u){return r(u),a.return()}},{highWaterMark:2})},Kc=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},qa=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",av=qa&&typeof ReadableStream=="function",Eu=qa&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ZS=av&&(()=>{let e=!1;const t=new Request(mt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Wc=64*1024,Su=av&&!!(()=>{try{return N.isReadableStream(new Response("").body)}catch{}})(),va={stream:Su&&(e=>e.body)};qa&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!va[t]&&(va[t]=N.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new re(`Response type '${t}' is not supported`,re.ERR_NOT_SUPPORT,r)})})})(new Response);const eO=async e=>{if(e==null)return 0;if(N.isBlob(e))return e.size;if(N.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(N.isArrayBufferView(e))return e.byteLength;if(N.isURLSearchParams(e)&&(e=e+""),N.isString(e))return(await Eu(e)).byteLength},tO=async(e,t)=>{const n=N.toFiniteNumber(e.getContentLength());return n??eO(t)},nO=qa&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:a,timeout:o,onDownloadProgress:u,onUploadProgress:s,responseType:c,headers:f,withCredentials:l="same-origin",fetchOptions:d}=iv(e);c=c?(c+"").toLowerCase():"text";let[p,v]=i||a||o?XS([i,a],o):[],h,_;const g=()=>{!h&&setTimeout(()=>{p&&p.unsubscribe()}),h=!0};let y;try{if(s&&ZS&&n!=="get"&&n!=="head"&&(y=await tO(f,r))!==0){let O=new Request(t,{method:"POST",body:r,duplex:"half"}),S;N.isFormData(r)&&(S=O.headers.get("content-type"))&&f.setContentType(S),O.body&&(r=Hc(O.body,Wc,Kc(y,ha(s)),null,Eu))}N.isString(l)||(l=l?"cors":"omit"),_=new Request(t,{...d,signal:p,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",withCredentials:l});let m=await fetch(_);const b=Su&&(c==="stream"||c==="response");if(Su&&(u||b)){const O={};["status","statusText","headers"].forEach(w=>{O[w]=m[w]});const S=N.toFiniteNumber(m.headers.get("content-length"));m=new Response(Hc(m.body,Wc,u&&Kc(S,ha(u,!0)),b&&g,Eu),O)}c=c||"text";let E=await va[N.findKey(va,c)||"text"](m,e);return!b&&g(),v&&v(),await new Promise((O,S)=>{nv(O,S,{data:E,headers:yt.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:_})})}catch(m){throw g(),m&&m.name==="TypeError"&&/fetch/i.test(m.message)?Object.assign(new re("Network Error",re.ERR_NETWORK,e,_),{cause:m.cause||m}):re.from(m,m&&m.code,e,_)}}),Ou={http:yS,xhr:VS,fetch:nO};N.forEach(Ou,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const zc=e=>`- ${e}`,rO=e=>N.isFunction(e)||e===null||e===!1,ov={getAdapter:e=>{e=N.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){n=e[a];let o;if(r=n,!rO(n)&&(r=Ou[(o=String(n)).toLowerCase()],r===void 0))throw new re(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+a]=r}if(!r){const a=Object.entries(i).map(([u,s])=>`adapter ${u} `+(s===!1?"is not supported by the environment":"is not available in the build"));let o=t?a.length>1?`since :
|
|
9
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Uc]=this[Uc]={accessors:{}}).accessors,i=this.prototype;function a(o){const u=Dr(o);r[u]||(FS(i,o),r[u]=!0)}return N.isArray(t)?t.forEach(a):a(t),this}}za.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(za.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});N.freezeMethods(za);const yt=za;function So(e,t){const n=this||Vs,r=t||n,i=yt.from(r.headers);let a=r.data;return N.forEach(e,function(u){a=u.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function tv(e){return!!(e&&e.__CANCEL__)}function Tr(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}N.inherits(Tr,re,{__CANCEL__:!0});function nv(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function US(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function xS(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),f=r[a];o||(o=c),n[i]=s,r[i]=c;let l=a,d=0;for(;l!==i;)d+=n[l++],l=l%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;const p=f&&c-f;return p?Math.round(d*1e3/p):void 0}}function HS(e,t){let n=0;const r=1e3/t;let i=null;return function(){const o=this===!0,u=Date.now();if(o||u-n>r)return i&&(clearTimeout(i),i=null),n=u,e.apply(null,arguments);i||(i=setTimeout(()=>(i=null,n=Date.now(),e.apply(null,arguments)),r-(u-n)))}}const ha=(e,t,n=3)=>{let r=0;const i=xS(50,250);return HS(a=>{const o=a.loaded,u=a.lengthComputable?a.total:void 0,s=o-r,c=i(s),f=o<=u;r=o;const l={loaded:o,total:u,progress:u?o/u:void 0,bytes:s,rate:c||void 0,estimated:c&&u&&f?(u-o)/c:void 0,event:a,lengthComputable:u!=null};l[t?"download":"upload"]=!0,e(l)},n)},KS=mt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(a){let o=a;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){const u=N.isString(o)?i(o):o;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}(),WS=mt.hasStandardBrowserEnv?{write(e,t,n,r,i,a){const o=[e+"="+encodeURIComponent(t)];N.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),N.isString(r)&&o.push("path="+r),N.isString(i)&&o.push("domain="+i),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function zS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function qS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function rv(e,t){return e&&!zS(t)?qS(e,t):t}const xc=e=>e instanceof yt?{...e}:e;function Rn(e,t){t=t||{};const n={};function r(c,f,l){return N.isPlainObject(c)&&N.isPlainObject(f)?N.merge.call({caseless:l},c,f):N.isPlainObject(f)?N.merge({},f):N.isArray(f)?f.slice():f}function i(c,f,l){if(N.isUndefined(f)){if(!N.isUndefined(c))return r(void 0,c,l)}else return r(c,f,l)}function a(c,f){if(!N.isUndefined(f))return r(void 0,f)}function o(c,f){if(N.isUndefined(f)){if(!N.isUndefined(c))return r(void 0,c)}else return r(void 0,f)}function u(c,f,l){if(l in t)return r(c,f);if(l in e)return r(void 0,c)}const s={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(c,f)=>i(xc(c),xc(f),!0)};return N.forEach(Object.keys(Object.assign({},e,t)),function(f){const l=s[f]||i,d=l(e[f],t[f],f);N.isUndefined(d)&&l!==u||(n[f]=d)}),n}const iv=e=>{const t=Rn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:u}=t;t.headers=o=yt.from(o),t.url=Jh(rv(t.baseURL,t.url),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")));let s;if(N.isFormData(n)){if(mt.hasStandardBrowserEnv||mt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((s=o.getContentType())!==!1){const[c,...f]=s?s.split(";").map(l=>l.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...f].join("; "))}}if(mt.hasStandardBrowserEnv&&(r&&N.isFunction(r)&&(r=r(t)),r||r!==!1&&KS(t.url))){const c=i&&a&&WS.read(a);c&&o.set(i,c)}return t},GS=typeof XMLHttpRequest<"u",VS=GS&&function(e){return new Promise(function(n,r){const i=iv(e);let a=i.data;const o=yt.from(i.headers).normalize();let{responseType:u}=i,s;function c(){i.cancelToken&&i.cancelToken.unsubscribe(s),i.signal&&i.signal.removeEventListener("abort",s)}let f=new XMLHttpRequest;f.open(i.method.toUpperCase(),i.url,!0),f.timeout=i.timeout;function l(){if(!f)return;const p=yt.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),h={data:!u||u==="text"||u==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:p,config:e,request:f};nv(function(g){n(g),c()},function(g){r(g),c()},h),f=null}"onloadend"in f?f.onloadend=l:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(l)},f.onabort=function(){f&&(r(new re("Request aborted",re.ECONNABORTED,i,f)),f=null)},f.onerror=function(){r(new re("Network Error",re.ERR_NETWORK,i,f)),f=null},f.ontimeout=function(){let v=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const h=i.transitional||Zh;i.timeoutErrorMessage&&(v=i.timeoutErrorMessage),r(new re(v,h.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,i,f)),f=null},a===void 0&&o.setContentType(null),"setRequestHeader"in f&&N.forEach(o.toJSON(),function(v,h){f.setRequestHeader(h,v)}),N.isUndefined(i.withCredentials)||(f.withCredentials=!!i.withCredentials),u&&u!=="json"&&(f.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&f.addEventListener("progress",ha(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",ha(i.onUploadProgress)),(i.cancelToken||i.signal)&&(s=p=>{f&&(r(!p||p.type?new Tr(null,e,f):p),f.abort(),f=null)},i.cancelToken&&i.cancelToken.subscribe(s),i.signal&&(i.signal.aborted?s():i.signal.addEventListener("abort",s)));const d=US(i.url);if(d&&mt.protocols.indexOf(d)===-1){r(new re("Unsupported protocol "+d+":",re.ERR_BAD_REQUEST,e));return}f.send(a||null)})},YS=(e,t)=>{let n=new AbortController,r;const i=function(s){if(!r){r=!0,o();const c=s instanceof Error?s:this.reason;n.abort(c instanceof re?c:new Tr(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{i(new re(`timeout ${t} of ms exceeded`,re.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(s=>{s&&(s.removeEventListener?s.removeEventListener("abort",i):s.unsubscribe(i))}),e=null)};e.forEach(s=>s&&s.addEventListener&&s.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=o,[u,()=>{a&&clearTimeout(a),a=null}]},XS=YS,QS=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},JS=async function*(e,t,n){for await(const r of e)yield*QS(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Hc=(e,t,n,r,i)=>{const a=JS(e,t,i);let o=0;return new ReadableStream({type:"bytes",async pull(u){const{done:s,value:c}=await a.next();if(s){u.close(),r();return}let f=c.byteLength;n&&n(o+=f),u.enqueue(new Uint8Array(c))},cancel(u){return r(u),a.return()}},{highWaterMark:2})},Kc=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},qa=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",av=qa&&typeof ReadableStream=="function",Eu=qa&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ZS=av&&(()=>{let e=!1;const t=new Request(mt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Wc=64*1024,Su=av&&!!(()=>{try{return N.isReadableStream(new Response("").body)}catch{}})(),va={stream:Su&&(e=>e.body)};qa&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!va[t]&&(va[t]=N.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new re(`Response type '${t}' is not supported`,re.ERR_NOT_SUPPORT,r)})})})(new Response);const e2=async e=>{if(e==null)return 0;if(N.isBlob(e))return e.size;if(N.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(N.isArrayBufferView(e))return e.byteLength;if(N.isURLSearchParams(e)&&(e=e+""),N.isString(e))return(await Eu(e)).byteLength},t2=async(e,t)=>{const n=N.toFiniteNumber(e.getContentLength());return n??e2(t)},n2=qa&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:a,timeout:o,onDownloadProgress:u,onUploadProgress:s,responseType:c,headers:f,withCredentials:l="same-origin",fetchOptions:d}=iv(e);c=c?(c+"").toLowerCase():"text";let[p,v]=i||a||o?XS([i,a],o):[],h,_;const g=()=>{!h&&setTimeout(()=>{p&&p.unsubscribe()}),h=!0};let y;try{if(s&&ZS&&n!=="get"&&n!=="head"&&(y=await t2(f,r))!==0){let O=new Request(t,{method:"POST",body:r,duplex:"half"}),S;N.isFormData(r)&&(S=O.headers.get("content-type"))&&f.setContentType(S),O.body&&(r=Hc(O.body,Wc,Kc(y,ha(s)),null,Eu))}N.isString(l)||(l=l?"cors":"omit"),_=new Request(t,{...d,signal:p,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",withCredentials:l});let m=await fetch(_);const b=Su&&(c==="stream"||c==="response");if(Su&&(u||b)){const O={};["status","statusText","headers"].forEach(w=>{O[w]=m[w]});const S=N.toFiniteNumber(m.headers.get("content-length"));m=new Response(Hc(m.body,Wc,u&&Kc(S,ha(u,!0)),b&&g,Eu),O)}c=c||"text";let E=await va[N.findKey(va,c)||"text"](m,e);return!b&&g(),v&&v(),await new Promise((O,S)=>{nv(O,S,{data:E,headers:yt.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:_})})}catch(m){throw g(),m&&m.name==="TypeError"&&/fetch/i.test(m.message)?Object.assign(new re("Network Error",re.ERR_NETWORK,e,_),{cause:m.cause||m}):re.from(m,m&&m.code,e,_)}}),Ou={http:yS,xhr:VS,fetch:n2};N.forEach(Ou,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const zc=e=>`- ${e}`,r2=e=>N.isFunction(e)||e===null||e===!1,ov={getAdapter:e=>{e=N.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let a=0;a<t;a++){n=e[a];let o;if(r=n,!r2(n)&&(r=Ou[(o=String(n)).toLowerCase()],r===void 0))throw new re(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+a]=r}if(!r){const a=Object.entries(i).map(([u,s])=>`adapter ${u} `+(s===!1?"is not supported by the environment":"is not available in the build"));let o=t?a.length>1?`since :
|
|
10
10
|
`+a.map(zc).join(`
|
|
11
|
-
`):" "+zc(a[0]):"as no adapter specified";throw new re("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Ou};function Oo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Tr(null,e)}function qc(e){return Oo(e),e.headers=yt.from(e.headers),e.data=So.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ov.getAdapter(e.adapter||Vs.adapter)(e).then(function(r){return Oo(e),r.data=So.call(e,e.transformResponse,r),r.headers=yt.from(r.headers),r},function(r){return tv(r)||(Oo(e),r&&r.response&&(r.response.data=So.call(e,e.transformResponse,r.response),r.response.headers=yt.from(r.response.headers))),Promise.reject(r)})}const uv="1.7.2",Ys={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ys[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Gc={};Ys.transitional=function(t,n,r){function i(a,o){return"[Axios v"+uv+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,u)=>{if(t===!1)throw new re(i(o," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!Gc[o]&&(Gc[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,u):!0}};function
|
|
12
|
-
`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&Pu.assertOptions(r,{silentJSONParsing:Gt.transitional(Gt.boolean),forcedJSONParsing:Gt.transitional(Gt.boolean),clarifyTimeoutError:Gt.transitional(Gt.boolean)},!1),i!=null&&(N.isFunction(i)?n.paramsSerializer={serialize:i}:Pu.assertOptions(i,{encode:Gt.function,serialize:Gt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&N.merge(a.common,a[n.method]);a&&N.forEach(["delete","get","head","post","put","patch","common"],v=>{delete a[v]}),n.headers=yt.concat(o,a);const u=[];let s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,u.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let f,l=0,d;if(!s){const v=[qc.bind(this),void 0];for(v.unshift.apply(v,u),v.push.apply(v,c),d=v.length,f=Promise.resolve(n);l<d;)f=f.then(v[l++],v[l++]);return f}d=u.length;let p=n;for(l=0;l<d;){const v=u[l++],h=u[l++];try{p=v(p)}catch(_){h.call(this,_);break}}try{f=qc.call(this,p)}catch(v){return Promise.reject(v)}for(l=0,d=c.length;l<d;)f=f.then(c[l++],c[l++]);return f}getUri(t){t=Rn(this.defaults,t);const n=rv(t.baseURL,t.url);return Jh(n,t.params,t.paramsSerializer)}}N.forEach(["delete","get","head","options"],function(t){ma.prototype[t]=function(n,r){return this.request(Rn(r||{},{method:t,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,u){return this.request(Rn(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}ma.prototype[t]=n(),ma.prototype[t+"Form"]=n(!0)});const Vi=ma;class Xs{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(u=>{r.subscribe(u),a=u}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,u){r.reason||(r.reason=new Tr(a,o,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Xs(function(i){t=i}),cancel:t}}}const aO=Xs;function oO(e){return function(n){return e.apply(null,n)}}function uO(e){return N.isObject(e)&&e.isAxiosError===!0}const Au={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent: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};Object.entries(Au).forEach(([e,t])=>{Au[t]=e});const sO=Au;function sv(e){const t=new Vi(e),n=Uh(Vi.prototype.request,t);return N.extend(n,Vi.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return sv(Rn(e,i))},n}const Re=sv(Vs);Re.Axios=Vi;Re.CanceledError=Tr;Re.CancelToken=aO;Re.isCancel=tv;Re.VERSION=uv;Re.toFormData=Wa;Re.AxiosError=re;Re.Cancel=Re.CanceledError;Re.all=function(t){return Promise.all(t)};Re.spread=oO;Re.isAxiosError=uO;Re.mergeConfig=Rn;Re.AxiosHeaders=yt;Re.formToJSON=e=>ev(N.isHTMLForm(e)?new FormData(e):e);Re.getAdapter=ov.getAdapter;Re.HttpStatusCode=sO;Re.default=Re;const lO=Re;var cO=Function.prototype.toString,Po=Object.create,fO=Object.defineProperty,dO=Object.getOwnPropertyDescriptor,Vc=Object.getOwnPropertyNames,Qs=Object.getOwnPropertySymbols,pO=Object.getPrototypeOf,lv=Object.prototype,hO=lv.hasOwnProperty,vO=lv.propertyIsEnumerable,cv=typeof Qs=="function",mO=typeof WeakMap=="function",yO=function(){if(mO)return function(){return new WeakMap};var e=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(n){return!!~this._keys.indexOf(n)},t.prototype.get=function(n){return this._values[this._keys.indexOf(n)]},t.prototype.set=function(n,r){this._keys.push(n),this._values.push(r)},t}();return function(){return new e}}(),fv=function(e,t){var n=e.__proto__||pO(e);if(!n)return Po(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:Po(n);if(~cO.call(r).indexOf("[native code]"))try{return new r}catch{}return Po(n)},gO=function(e,t,n,r){var i=fv(e,t);r.set(e,i);for(var a in e)hO.call(e,a)&&(i[a]=n(e[a],r));if(cv)for(var o=Qs(e),u=0,s=o.length,c=void 0;u<s;++u)c=o[u],vO.call(e,c)&&(i[c]=n(e[c],r));return i},Yc=function(e,t,n,r){var i=fv(e,t);r.set(e,i);for(var a=cv?Vc(e).concat(Qs(e)):Vc(e),o=0,u=a.length,s=void 0,c=void 0;o<u;++o)if(s=a[o],s!=="callee"&&s!=="caller")if(c=dO(e,s),c){!c.get&&!c.set&&(c.value=n(e[s],r));try{fO(i,s,c)}catch{i[s]=c.value}}else i[s]=n(e[s],r);return i},bO=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},_O=Array.isArray,wO=Object.getPrototypeOf,EO=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function De(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||EO,i=n?Yc:gO,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var s=o.__proto__||wO(o),c=s&&s.constructor;if(!c||c===r.Object)return i(o,r,a,u);var f;if(_O(o)){if(n)return Yc(o,r,a,u);f=new c,u.set(o,f);for(var l=0,d=o.length;l<d;++l)f[l]=a(o[l],u);return f}if(o instanceof r.Date)return new c(o.getTime());if(o instanceof r.RegExp)return f=new c(o.source,o.flags||bO(o)),f.lastIndex=o.lastIndex,f;if(r.Map&&o instanceof r.Map)return f=new c,u.set(o,f),o.forEach(function(p,v){f.set(v,a(p,u))}),f;if(r.Set&&o instanceof r.Set)return f=new c,u.set(o,f),o.forEach(function(p){f.add(a(p,u))}),f;if(r.Blob&&o instanceof r.Blob)return o.slice(0,o.size,o.type);if(r.Buffer&&r.Buffer.isBuffer(o))return f=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(o.length):new c(o.length),u.set(o,f),o.copy(f),f;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(o))return f=new c(o.buffer.slice(0)),u.set(o,f),f;if(o instanceof r.ArrayBuffer)return f=o.slice(0),u.set(o,f),f}return typeof o.then=="function"||o instanceof Error||r.WeakMap&&o instanceof r.WeakMap||r.WeakSet&&o instanceof r.WeakSet?o:i(o,r,a,u)};return a(e,yO())}De.default=De;De.strict=function(t,n){return De(t,{isStrict:!0,realm:n?n.realm:void 0})};var SO=Error,OO=EvalError,PO=RangeError,AO=ReferenceError,dv=SyntaxError,Ga=TypeError,TO=URIError,CO=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,n);if(o.value!==i||o.enumerable!==!0)return!1}return!0},Xc=typeof Symbol<"u"&&Symbol,IO=CO,LO=function(){return typeof Xc!="function"||typeof Symbol!="function"||typeof Xc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:IO()},Qc={foo:{}},RO=Object,kO=function(){return{__proto__:Qc}.foo===Qc.foo&&!({__proto__:null}instanceof RO)},NO="Function.prototype.bind called on incompatible ",MO=Object.prototype.toString,DO=Math.max,$O="[object Function]",Jc=function(t,n){for(var r=[],i=0;i<t.length;i+=1)r[i]=t[i];for(var a=0;a<n.length;a+=1)r[a+t.length]=n[a];return r},jO=function(t,n){for(var r=[],i=n||0,a=0;i<t.length;i+=1,a+=1)r[a]=t[i];return r},BO=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n},FO=function(t){var n=this;if(typeof n!="function"||MO.apply(n)!==$O)throw new TypeError(NO+n);for(var r=jO(arguments,1),i,a=function(){if(this instanceof i){var f=n.apply(this,Jc(r,arguments));return Object(f)===f?f:this}return n.apply(t,Jc(r,arguments))},o=DO(0,n.length-r.length),u=[],s=0;s<o;s++)u[s]="$"+s;if(i=Function("binder","return function ("+BO(u,",")+"){ return binder.apply(this,arguments); }")(a),n.prototype){var c=function(){};c.prototype=n.prototype,i.prototype=new c,c.prototype=null}return i},UO=FO,Js=Function.prototype.bind||UO,xO=Function.prototype.call,HO=Object.prototype.hasOwnProperty,KO=Js,WO=KO.call(xO,HO),se,zO=SO,qO=OO,GO=PO,VO=AO,dr=dv,er=Ga,YO=TO,pv=Function,Ao=function(e){try{return pv('"use strict"; return ('+e+").constructor;")()}catch{}},Tn=Object.getOwnPropertyDescriptor;if(Tn)try{Tn({},"")}catch{Tn=null}var To=function(){throw new er},XO=Tn?function(){try{return arguments.callee,To}catch{try{return Tn(arguments,"callee").get}catch{return To}}}():To,Fn=LO(),QO=kO(),Fe=Object.getPrototypeOf||(QO?function(e){return e.__proto__}:null),Hn={},JO=typeof Uint8Array>"u"||!Fe?se:Fe(Uint8Array),Cn={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?se:ArrayBuffer,"%ArrayIteratorPrototype%":Fn&&Fe?Fe([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":Hn,"%AsyncGenerator%":Hn,"%AsyncGeneratorFunction%":Hn,"%AsyncIteratorPrototype%":Hn,"%Atomics%":typeof Atomics>"u"?se:Atomics,"%BigInt%":typeof BigInt>"u"?se:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":zO,"%eval%":eval,"%EvalError%":qO,"%Float32Array%":typeof Float32Array>"u"?se:Float32Array,"%Float64Array%":typeof Float64Array>"u"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?se:FinalizationRegistry,"%Function%":pv,"%GeneratorFunction%":Hn,"%Int8Array%":typeof Int8Array>"u"?se:Int8Array,"%Int16Array%":typeof Int16Array>"u"?se:Int16Array,"%Int32Array%":typeof Int32Array>"u"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Fn&&Fe?Fe(Fe([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map>"u"?se:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Fn||!Fe?se:Fe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?se:Promise,"%Proxy%":typeof Proxy>"u"?se:Proxy,"%RangeError%":GO,"%ReferenceError%":VO,"%Reflect%":typeof Reflect>"u"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?se:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Fn||!Fe?se:Fe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Fn&&Fe?Fe(""[Symbol.iterator]()):se,"%Symbol%":Fn?Symbol:se,"%SyntaxError%":dr,"%ThrowTypeError%":XO,"%TypedArray%":JO,"%TypeError%":er,"%Uint8Array%":typeof Uint8Array>"u"?se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?se:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?se:Uint32Array,"%URIError%":YO,"%WeakMap%":typeof WeakMap>"u"?se:WeakMap,"%WeakRef%":typeof WeakRef>"u"?se:WeakRef,"%WeakSet%":typeof WeakSet>"u"?se:WeakSet};if(Fe)try{null.error}catch(e){var ZO=Fe(Fe(e));Cn["%Error.prototype%"]=ZO}var e2=function e(t){var n;if(t==="%AsyncFunction%")n=Ao("async function () {}");else if(t==="%GeneratorFunction%")n=Ao("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Ao("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Fe&&(n=Fe(i.prototype))}return Cn[t]=n,n},Zc={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},mi=Js,ya=WO,t2=mi.call(Function.call,Array.prototype.concat),n2=mi.call(Function.apply,Array.prototype.splice),ef=mi.call(Function.call,String.prototype.replace),ga=mi.call(Function.call,String.prototype.slice),r2=mi.call(Function.call,RegExp.prototype.exec),i2=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,a2=/\\(\\)?/g,o2=function(t){var n=ga(t,0,1),r=ga(t,-1);if(n==="%"&&r!=="%")throw new dr("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new dr("invalid intrinsic syntax, expected opening `%`");var i=[];return ef(t,i2,function(a,o,u,s){i[i.length]=u?ef(s,a2,"$1"):o||a}),i},u2=function(t,n){var r=t,i;if(ya(Zc,r)&&(i=Zc[r],r="%"+i[0]+"%"),ya(Cn,r)){var a=Cn[r];if(a===Hn&&(a=e2(r)),typeof a>"u"&&!n)throw new er("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new dr("intrinsic "+t+" does not exist!")},Cr=function(t,n){if(typeof t!="string"||t.length===0)throw new er("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new er('"allowMissing" argument must be a boolean');if(r2(/^%?[^%]*%?$/,t)===null)throw new dr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=o2(t),i=r.length>0?r[0]:"",a=u2("%"+i+"%",n),o=a.name,u=a.value,s=!1,c=a.alias;c&&(i=c[0],n2(r,t2([0,1],c)));for(var f=1,l=!0;f<r.length;f+=1){var d=r[f],p=ga(d,0,1),v=ga(d,-1);if((p==='"'||p==="'"||p==="`"||v==='"'||v==="'"||v==="`")&&p!==v)throw new dr("property names with quotes must have matching quotes");if((d==="constructor"||!l)&&(s=!0),i+="."+d,o="%"+i+"%",ya(Cn,o))u=Cn[o];else if(u!=null){if(!(d in u)){if(!n)throw new er("base intrinsic for "+t+" exists, but the property is not available.");return}if(Tn&&f+1>=r.length){var h=Tn(u,d);l=!!h,l&&"get"in h&&!("originalValue"in h.get)?u=h.get:u=u[d]}else l=ya(u,d),u=u[d];l&&!s&&(Cn[o]=u)}}return u},hv={exports:{}},Co,tf;function Zs(){if(tf)return Co;tf=1;var e=Cr,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Co=t,Co}var s2=Cr,Yi=s2("%Object.getOwnPropertyDescriptor%",!0);if(Yi)try{Yi([],"length")}catch{Yi=null}var vv=Yi,nf=Zs(),l2=dv,Un=Ga,rf=vv,c2=function(t,n,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Un("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Un("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Un("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Un("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Un("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Un("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,s=!!rf&&rf(t,n);if(nf)nf(t,n,{configurable:o===null&&s?s.configurable:!o,enumerable:i===null&&s?s.enumerable:!i,value:r,writable:a===null&&s?s.writable:!a});else if(u||!i&&!a&&!o)t[n]=r;else throw new l2("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Tu=Zs(),mv=function(){return!!Tu};mv.hasArrayLengthDefineBug=function(){if(!Tu)return null;try{return Tu([],"length",{value:1}).length!==1}catch{return!0}};var f2=mv,d2=Cr,af=c2,p2=f2(),of=vv,uf=Ga,h2=d2("%Math.floor%"),v2=function(t,n){if(typeof t!="function")throw new uf("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||h2(n)!==n)throw new uf("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&of){var o=of(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!r)&&(p2?af(t,"length",n,!0,!0):af(t,"length",n)),t};(function(e){var t=Js,n=Cr,r=v2,i=Ga,a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),u=n("%Reflect.apply%",!0)||t.call(o,a),s=Zs(),c=n("%Math.max%");e.exports=function(d){if(typeof d!="function")throw new i("a function is required");var p=u(t,o,arguments);return r(p,1+c(0,d.length-(arguments.length-1)),!0)};var f=function(){return u(t,a,arguments)};s?s(e.exports,"apply",{value:f}):e.exports.apply=f})(hv);var m2=hv.exports,yv=Cr,gv=m2,y2=gv(yv("String.prototype.indexOf")),g2=function(t,n){var r=yv(t,!!n);return typeof r=="function"&&y2(t,".prototype.")>-1?gv(r):r};const b2={},_2=Object.freeze(Object.defineProperty({__proto__:null,default:b2},Symbol.toStringTag,{value:"Module"})),w2=md(_2);var el=typeof Map=="function"&&Map.prototype,Io=Object.getOwnPropertyDescriptor&&el?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ba=el&&Io&&typeof Io.get=="function"?Io.get:null,sf=el&&Map.prototype.forEach,tl=typeof Set=="function"&&Set.prototype,Lo=Object.getOwnPropertyDescriptor&&tl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,_a=tl&&Lo&&typeof Lo.get=="function"?Lo.get:null,lf=tl&&Set.prototype.forEach,E2=typeof WeakMap=="function"&&WeakMap.prototype,Wr=E2?WeakMap.prototype.has:null,S2=typeof WeakSet=="function"&&WeakSet.prototype,zr=S2?WeakSet.prototype.has:null,O2=typeof WeakRef=="function"&&WeakRef.prototype,cf=O2?WeakRef.prototype.deref:null,P2=Boolean.prototype.valueOf,A2=Object.prototype.toString,T2=Function.prototype.toString,C2=String.prototype.match,nl=String.prototype.slice,tn=String.prototype.replace,I2=String.prototype.toUpperCase,ff=String.prototype.toLowerCase,bv=RegExp.prototype.test,df=Array.prototype.concat,St=Array.prototype.join,L2=Array.prototype.slice,pf=Math.floor,Cu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Ro=Object.getOwnPropertySymbols,Iu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",qe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pr||"symbol")?Symbol.toStringTag:null,_v=Object.prototype.propertyIsEnumerable,hf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function vf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||bv.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-pf(-e):pf(e);if(r!==e){var i=String(r),a=nl.call(t,i.length+1);return tn.call(i,n,"$&_")+"."+tn.call(tn.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return tn.call(t,n,"$&_")}var Lu=w2,mf=Lu.custom,yf=Ev(mf)?mf:null,R2=function e(t,n,r,i){var a=n||{};if(Xt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Xt(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Xt(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Xt(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Xt(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Ov(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?vf(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return u?vf(t,c):c}var f=typeof a.depth>"u"?5:a.depth;if(typeof r>"u"&&(r=0),r>=f&&f>0&&typeof t=="object")return Ru(t)?"[Array]":"[Object]";var l=Y2(a,r);if(typeof i>"u")i=[];else if(Sv(i,t)>=0)return"[Circular]";function d(j,I,C){if(I&&(i=L2.call(i),i.push(I)),C){var R={depth:a.depth};return Xt(a,"quoteStyle")&&(R.quoteStyle=a.quoteStyle),e(j,R,r+1,i)}return e(j,a,r+1,i)}if(typeof t=="function"&&!gf(t)){var p=U2(t),v=Pi(t,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(v.length>0?" { "+St.call(v,", ")+" }":"")}if(Ev(t)){var h=pr?tn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Iu.call(t);return typeof t=="object"&&!pr?$r(h):h}if(q2(t)){for(var _="<"+ff.call(String(t.nodeName)),g=t.attributes||[],y=0;y<g.length;y++)_+=" "+g[y].name+"="+wv(k2(g[y].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+ff.call(String(t.nodeName))+">",_}if(Ru(t)){if(t.length===0)return"[]";var m=Pi(t,d);return l&&!V2(m)?"["+ku(m,l)+"]":"[ "+St.call(m,", ")+" ]"}if(M2(t)){var b=Pi(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!_v.call(t,"cause")?"{ ["+String(t)+"] "+St.call(df.call("[cause]: "+d(t.cause),b),", ")+" }":b.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+St.call(b,", ")+" }"}if(typeof t=="object"&&o){if(yf&&typeof t[yf]=="function"&&Lu)return Lu(t,{depth:f-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(x2(t)){var E=[];return sf&&sf.call(t,function(j,I){E.push(d(I,t,!0)+" => "+d(j,t))}),bf("Map",ba.call(t),E,l)}if(W2(t)){var O=[];return lf&&lf.call(t,function(j){O.push(d(j,t))}),bf("Set",_a.call(t),O,l)}if(H2(t))return ko("WeakMap");if(z2(t))return ko("WeakSet");if(K2(t))return ko("WeakRef");if($2(t))return $r(d(Number(t)));if(B2(t))return $r(d(Cu.call(t)));if(j2(t))return $r(P2.call(t));if(D2(t))return $r(d(String(t)));if(t===J)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!N2(t)&&!gf(t)){var S=Pi(t,d),w=hf?hf(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!w&&qe&&Object(t)===t&&qe in t?nl.call(hn(t),8,-1):P?"Object":"",L=w||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",D=L+(A||P?"["+St.call(df.call([],A||[],P||[]),": ")+"] ":"");return S.length===0?D+"{}":l?D+"{"+ku(S,l)+"}":D+"{ "+St.call(S,", ")+" }"}return String(t)};function wv(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function k2(e){return tn.call(String(e),/"/g,""")}function Ru(e){return hn(e)==="[object Array]"&&(!qe||!(typeof e=="object"&&qe in e))}function N2(e){return hn(e)==="[object Date]"&&(!qe||!(typeof e=="object"&&qe in e))}function gf(e){return hn(e)==="[object RegExp]"&&(!qe||!(typeof e=="object"&&qe in e))}function M2(e){return hn(e)==="[object Error]"&&(!qe||!(typeof e=="object"&&qe in e))}function D2(e){return hn(e)==="[object String]"&&(!qe||!(typeof e=="object"&&qe in e))}function $2(e){return hn(e)==="[object Number]"&&(!qe||!(typeof e=="object"&&qe in e))}function j2(e){return hn(e)==="[object Boolean]"&&(!qe||!(typeof e=="object"&&qe in e))}function Ev(e){if(pr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Iu)return!1;try{return Iu.call(e),!0}catch{}return!1}function B2(e){if(!e||typeof e!="object"||!Cu)return!1;try{return Cu.call(e),!0}catch{}return!1}var F2=Object.prototype.hasOwnProperty||function(e){return e in this};function Xt(e,t){return F2.call(e,t)}function hn(e){return A2.call(e)}function U2(e){if(e.name)return e.name;var t=C2.call(T2.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Sv(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function x2(e){if(!ba||!e||typeof e!="object")return!1;try{ba.call(e);try{_a.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function H2(e){if(!Wr||!e||typeof e!="object")return!1;try{Wr.call(e,Wr);try{zr.call(e,zr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function K2(e){if(!cf||!e||typeof e!="object")return!1;try{return cf.call(e),!0}catch{}return!1}function W2(e){if(!_a||!e||typeof e!="object")return!1;try{_a.call(e);try{ba.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function z2(e){if(!zr||!e||typeof e!="object")return!1;try{zr.call(e,zr);try{Wr.call(e,Wr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function q2(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Ov(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Ov(nl.call(e,0,t.maxStringLength),t)+r}var i=tn.call(tn.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G2);return wv(i,"single",t)}function G2(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+I2.call(t.toString(16))}function $r(e){return"Object("+e+")"}function ko(e){return e+" { ? }"}function bf(e,t,n,r){var i=r?ku(n,r):St.call(n,", ");return e+" ("+t+") {"+i+"}"}function V2(e){for(var t=0;t<e.length;t++)if(Sv(e[t],`
|
|
13
|
-
`)>=0)return!1;return!0}function
|
|
11
|
+
`):" "+zc(a[0]):"as no adapter specified";throw new re("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Ou};function Oo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Tr(null,e)}function qc(e){return Oo(e),e.headers=yt.from(e.headers),e.data=So.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ov.getAdapter(e.adapter||Vs.adapter)(e).then(function(r){return Oo(e),r.data=So.call(e,e.transformResponse,r),r.headers=yt.from(r.headers),r},function(r){return tv(r)||(Oo(e),r&&r.response&&(r.response.data=So.call(e,e.transformResponse,r.response),r.response.headers=yt.from(r.response.headers))),Promise.reject(r)})}const uv="1.7.2",Ys={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ys[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Gc={};Ys.transitional=function(t,n,r){function i(a,o){return"[Axios v"+uv+"] Transitional option '"+a+"'"+o+(r?". "+r:"")}return(a,o,u)=>{if(t===!1)throw new re(i(o," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!Gc[o]&&(Gc[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,o,u):!0}};function i2(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const u=e[a],s=u===void 0||o(u,a,e);if(s!==!0)throw new re("option "+a+" must be "+s,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+a,re.ERR_BAD_OPTION)}}const Pu={assertOptions:i2,validators:Ys},Gt=Pu.validators;class ma{constructor(t){this.defaults=t,this.interceptors={request:new Fc,response:new Fc}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const a=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
12
|
+
`+a):r.stack=a}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Rn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&Pu.assertOptions(r,{silentJSONParsing:Gt.transitional(Gt.boolean),forcedJSONParsing:Gt.transitional(Gt.boolean),clarifyTimeoutError:Gt.transitional(Gt.boolean)},!1),i!=null&&(N.isFunction(i)?n.paramsSerializer={serialize:i}:Pu.assertOptions(i,{encode:Gt.function,serialize:Gt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=a&&N.merge(a.common,a[n.method]);a&&N.forEach(["delete","get","head","post","put","patch","common"],v=>{delete a[v]}),n.headers=yt.concat(o,a);const u=[];let s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,u.unshift(h.fulfilled,h.rejected))});const c=[];this.interceptors.response.forEach(function(h){c.push(h.fulfilled,h.rejected)});let f,l=0,d;if(!s){const v=[qc.bind(this),void 0];for(v.unshift.apply(v,u),v.push.apply(v,c),d=v.length,f=Promise.resolve(n);l<d;)f=f.then(v[l++],v[l++]);return f}d=u.length;let p=n;for(l=0;l<d;){const v=u[l++],h=u[l++];try{p=v(p)}catch(_){h.call(this,_);break}}try{f=qc.call(this,p)}catch(v){return Promise.reject(v)}for(l=0,d=c.length;l<d;)f=f.then(c[l++],c[l++]);return f}getUri(t){t=Rn(this.defaults,t);const n=rv(t.baseURL,t.url);return Jh(n,t.params,t.paramsSerializer)}}N.forEach(["delete","get","head","options"],function(t){ma.prototype[t]=function(n,r){return this.request(Rn(r||{},{method:t,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(t){function n(r){return function(a,o,u){return this.request(Rn(u||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}ma.prototype[t]=n(),ma.prototype[t+"Form"]=n(!0)});const Vi=ma;class Xs{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(u=>{r.subscribe(u),a=u}).then(i);return o.cancel=function(){r.unsubscribe(a)},o},t(function(a,o,u){r.reason||(r.reason=new Tr(a,o,u),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Xs(function(i){t=i}),cancel:t}}}const a2=Xs;function o2(e){return function(n){return e.apply(null,n)}}function u2(e){return N.isObject(e)&&e.isAxiosError===!0}const Au={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent: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};Object.entries(Au).forEach(([e,t])=>{Au[t]=e});const s2=Au;function sv(e){const t=new Vi(e),n=Uh(Vi.prototype.request,t);return N.extend(n,Vi.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return sv(Rn(e,i))},n}const Re=sv(Vs);Re.Axios=Vi;Re.CanceledError=Tr;Re.CancelToken=a2;Re.isCancel=tv;Re.VERSION=uv;Re.toFormData=Wa;Re.AxiosError=re;Re.Cancel=Re.CanceledError;Re.all=function(t){return Promise.all(t)};Re.spread=o2;Re.isAxiosError=u2;Re.mergeConfig=Rn;Re.AxiosHeaders=yt;Re.formToJSON=e=>ev(N.isHTMLForm(e)?new FormData(e):e);Re.getAdapter=ov.getAdapter;Re.HttpStatusCode=s2;Re.default=Re;const l2=Re;var c2=Function.prototype.toString,Po=Object.create,f2=Object.defineProperty,d2=Object.getOwnPropertyDescriptor,Vc=Object.getOwnPropertyNames,Qs=Object.getOwnPropertySymbols,p2=Object.getPrototypeOf,lv=Object.prototype,h2=lv.hasOwnProperty,v2=lv.propertyIsEnumerable,cv=typeof Qs=="function",m2=typeof WeakMap=="function",y2=function(){if(m2)return function(){return new WeakMap};var e=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(n){return!!~this._keys.indexOf(n)},t.prototype.get=function(n){return this._values[this._keys.indexOf(n)]},t.prototype.set=function(n,r){this._keys.push(n),this._values.push(r)},t}();return function(){return new e}}(),fv=function(e,t){var n=e.__proto__||p2(e);if(!n)return Po(null);var r=n.constructor;if(r===t.Object)return n===t.Object.prototype?{}:Po(n);if(~c2.call(r).indexOf("[native code]"))try{return new r}catch{}return Po(n)},g2=function(e,t,n,r){var i=fv(e,t);r.set(e,i);for(var a in e)h2.call(e,a)&&(i[a]=n(e[a],r));if(cv)for(var o=Qs(e),u=0,s=o.length,c=void 0;u<s;++u)c=o[u],v2.call(e,c)&&(i[c]=n(e[c],r));return i},Yc=function(e,t,n,r){var i=fv(e,t);r.set(e,i);for(var a=cv?Vc(e).concat(Qs(e)):Vc(e),o=0,u=a.length,s=void 0,c=void 0;o<u;++o)if(s=a[o],s!=="callee"&&s!=="caller")if(c=d2(e,s),c){!c.get&&!c.set&&(c.value=n(e[s],r));try{f2(i,s,c)}catch{i[s]=c.value}}else i[s]=n(e[s],r);return i},b2=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},_2=Array.isArray,w2=Object.getPrototypeOf,E2=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function De(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||E2,i=n?Yc:g2,a=function(o,u){if(!o||typeof o!="object")return o;if(u.has(o))return u.get(o);var s=o.__proto__||w2(o),c=s&&s.constructor;if(!c||c===r.Object)return i(o,r,a,u);var f;if(_2(o)){if(n)return Yc(o,r,a,u);f=new c,u.set(o,f);for(var l=0,d=o.length;l<d;++l)f[l]=a(o[l],u);return f}if(o instanceof r.Date)return new c(o.getTime());if(o instanceof r.RegExp)return f=new c(o.source,o.flags||b2(o)),f.lastIndex=o.lastIndex,f;if(r.Map&&o instanceof r.Map)return f=new c,u.set(o,f),o.forEach(function(p,v){f.set(v,a(p,u))}),f;if(r.Set&&o instanceof r.Set)return f=new c,u.set(o,f),o.forEach(function(p){f.add(a(p,u))}),f;if(r.Blob&&o instanceof r.Blob)return o.slice(0,o.size,o.type);if(r.Buffer&&r.Buffer.isBuffer(o))return f=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(o.length):new c(o.length),u.set(o,f),o.copy(f),f;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(o))return f=new c(o.buffer.slice(0)),u.set(o,f),f;if(o instanceof r.ArrayBuffer)return f=o.slice(0),u.set(o,f),f}return typeof o.then=="function"||o instanceof Error||r.WeakMap&&o instanceof r.WeakMap||r.WeakSet&&o instanceof r.WeakSet?o:i(o,r,a,u)};return a(e,y2())}De.default=De;De.strict=function(t,n){return De(t,{isStrict:!0,realm:n?n.realm:void 0})};var S2=Error,O2=EvalError,P2=RangeError,A2=ReferenceError,dv=SyntaxError,Ga=TypeError,T2=URIError,C2=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,n);if(o.value!==i||o.enumerable!==!0)return!1}return!0},Xc=typeof Symbol<"u"&&Symbol,I2=C2,L2=function(){return typeof Xc!="function"||typeof Symbol!="function"||typeof Xc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:I2()},Qc={foo:{}},R2=Object,k2=function(){return{__proto__:Qc}.foo===Qc.foo&&!({__proto__:null}instanceof R2)},N2="Function.prototype.bind called on incompatible ",M2=Object.prototype.toString,D2=Math.max,$2="[object Function]",Jc=function(t,n){for(var r=[],i=0;i<t.length;i+=1)r[i]=t[i];for(var a=0;a<n.length;a+=1)r[a+t.length]=n[a];return r},j2=function(t,n){for(var r=[],i=n||0,a=0;i<t.length;i+=1,a+=1)r[a]=t[i];return r},B2=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n},F2=function(t){var n=this;if(typeof n!="function"||M2.apply(n)!==$2)throw new TypeError(N2+n);for(var r=j2(arguments,1),i,a=function(){if(this instanceof i){var f=n.apply(this,Jc(r,arguments));return Object(f)===f?f:this}return n.apply(t,Jc(r,arguments))},o=D2(0,n.length-r.length),u=[],s=0;s<o;s++)u[s]="$"+s;if(i=Function("binder","return function ("+B2(u,",")+"){ return binder.apply(this,arguments); }")(a),n.prototype){var c=function(){};c.prototype=n.prototype,i.prototype=new c,c.prototype=null}return i},U2=F2,Js=Function.prototype.bind||U2,x2=Function.prototype.call,H2=Object.prototype.hasOwnProperty,K2=Js,W2=K2.call(x2,H2),se,z2=S2,q2=O2,G2=P2,V2=A2,dr=dv,er=Ga,Y2=T2,pv=Function,Ao=function(e){try{return pv('"use strict"; return ('+e+").constructor;")()}catch{}},Tn=Object.getOwnPropertyDescriptor;if(Tn)try{Tn({},"")}catch{Tn=null}var To=function(){throw new er},X2=Tn?function(){try{return arguments.callee,To}catch{try{return Tn(arguments,"callee").get}catch{return To}}}():To,Fn=L2(),Q2=k2(),Fe=Object.getPrototypeOf||(Q2?function(e){return e.__proto__}:null),Hn={},J2=typeof Uint8Array>"u"||!Fe?se:Fe(Uint8Array),Cn={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?se:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?se:ArrayBuffer,"%ArrayIteratorPrototype%":Fn&&Fe?Fe([][Symbol.iterator]()):se,"%AsyncFromSyncIteratorPrototype%":se,"%AsyncFunction%":Hn,"%AsyncGenerator%":Hn,"%AsyncGeneratorFunction%":Hn,"%AsyncIteratorPrototype%":Hn,"%Atomics%":typeof Atomics>"u"?se:Atomics,"%BigInt%":typeof BigInt>"u"?se:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?se:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?se:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?se:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":z2,"%eval%":eval,"%EvalError%":q2,"%Float32Array%":typeof Float32Array>"u"?se:Float32Array,"%Float64Array%":typeof Float64Array>"u"?se:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?se:FinalizationRegistry,"%Function%":pv,"%GeneratorFunction%":Hn,"%Int8Array%":typeof Int8Array>"u"?se:Int8Array,"%Int16Array%":typeof Int16Array>"u"?se:Int16Array,"%Int32Array%":typeof Int32Array>"u"?se:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Fn&&Fe?Fe(Fe([][Symbol.iterator]())):se,"%JSON%":typeof JSON=="object"?JSON:se,"%Map%":typeof Map>"u"?se:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Fn||!Fe?se:Fe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?se:Promise,"%Proxy%":typeof Proxy>"u"?se:Proxy,"%RangeError%":G2,"%ReferenceError%":V2,"%Reflect%":typeof Reflect>"u"?se:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?se:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Fn||!Fe?se:Fe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?se:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Fn&&Fe?Fe(""[Symbol.iterator]()):se,"%Symbol%":Fn?Symbol:se,"%SyntaxError%":dr,"%ThrowTypeError%":X2,"%TypedArray%":J2,"%TypeError%":er,"%Uint8Array%":typeof Uint8Array>"u"?se:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?se:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?se:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?se:Uint32Array,"%URIError%":Y2,"%WeakMap%":typeof WeakMap>"u"?se:WeakMap,"%WeakRef%":typeof WeakRef>"u"?se:WeakRef,"%WeakSet%":typeof WeakSet>"u"?se:WeakSet};if(Fe)try{null.error}catch(e){var Z2=Fe(Fe(e));Cn["%Error.prototype%"]=Z2}var eO=function e(t){var n;if(t==="%AsyncFunction%")n=Ao("async function () {}");else if(t==="%GeneratorFunction%")n=Ao("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=Ao("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Fe&&(n=Fe(i.prototype))}return Cn[t]=n,n},Zc={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},mi=Js,ya=W2,tO=mi.call(Function.call,Array.prototype.concat),nO=mi.call(Function.apply,Array.prototype.splice),ef=mi.call(Function.call,String.prototype.replace),ga=mi.call(Function.call,String.prototype.slice),rO=mi.call(Function.call,RegExp.prototype.exec),iO=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,aO=/\\(\\)?/g,oO=function(t){var n=ga(t,0,1),r=ga(t,-1);if(n==="%"&&r!=="%")throw new dr("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new dr("invalid intrinsic syntax, expected opening `%`");var i=[];return ef(t,iO,function(a,o,u,s){i[i.length]=u?ef(s,aO,"$1"):o||a}),i},uO=function(t,n){var r=t,i;if(ya(Zc,r)&&(i=Zc[r],r="%"+i[0]+"%"),ya(Cn,r)){var a=Cn[r];if(a===Hn&&(a=eO(r)),typeof a>"u"&&!n)throw new er("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:a}}throw new dr("intrinsic "+t+" does not exist!")},Cr=function(t,n){if(typeof t!="string"||t.length===0)throw new er("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new er('"allowMissing" argument must be a boolean');if(rO(/^%?[^%]*%?$/,t)===null)throw new dr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=oO(t),i=r.length>0?r[0]:"",a=uO("%"+i+"%",n),o=a.name,u=a.value,s=!1,c=a.alias;c&&(i=c[0],nO(r,tO([0,1],c)));for(var f=1,l=!0;f<r.length;f+=1){var d=r[f],p=ga(d,0,1),v=ga(d,-1);if((p==='"'||p==="'"||p==="`"||v==='"'||v==="'"||v==="`")&&p!==v)throw new dr("property names with quotes must have matching quotes");if((d==="constructor"||!l)&&(s=!0),i+="."+d,o="%"+i+"%",ya(Cn,o))u=Cn[o];else if(u!=null){if(!(d in u)){if(!n)throw new er("base intrinsic for "+t+" exists, but the property is not available.");return}if(Tn&&f+1>=r.length){var h=Tn(u,d);l=!!h,l&&"get"in h&&!("originalValue"in h.get)?u=h.get:u=u[d]}else l=ya(u,d),u=u[d];l&&!s&&(Cn[o]=u)}}return u},hv={exports:{}},Co,tf;function Zs(){if(tf)return Co;tf=1;var e=Cr,t=e("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return Co=t,Co}var sO=Cr,Yi=sO("%Object.getOwnPropertyDescriptor%",!0);if(Yi)try{Yi([],"length")}catch{Yi=null}var vv=Yi,nf=Zs(),lO=dv,Un=Ga,rf=vv,cO=function(t,n,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Un("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Un("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Un("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Un("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Un("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Un("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,s=!!rf&&rf(t,n);if(nf)nf(t,n,{configurable:o===null&&s?s.configurable:!o,enumerable:i===null&&s?s.enumerable:!i,value:r,writable:a===null&&s?s.writable:!a});else if(u||!i&&!a&&!o)t[n]=r;else throw new lO("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Tu=Zs(),mv=function(){return!!Tu};mv.hasArrayLengthDefineBug=function(){if(!Tu)return null;try{return Tu([],"length",{value:1}).length!==1}catch{return!0}};var fO=mv,dO=Cr,af=cO,pO=fO(),of=vv,uf=Ga,hO=dO("%Math.floor%"),vO=function(t,n){if(typeof t!="function")throw new uf("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||hO(n)!==n)throw new uf("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&of){var o=of(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!r)&&(pO?af(t,"length",n,!0,!0):af(t,"length",n)),t};(function(e){var t=Js,n=Cr,r=vO,i=Ga,a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),u=n("%Reflect.apply%",!0)||t.call(o,a),s=Zs(),c=n("%Math.max%");e.exports=function(d){if(typeof d!="function")throw new i("a function is required");var p=u(t,o,arguments);return r(p,1+c(0,d.length-(arguments.length-1)),!0)};var f=function(){return u(t,a,arguments)};s?s(e.exports,"apply",{value:f}):e.exports.apply=f})(hv);var mO=hv.exports,yv=Cr,gv=mO,yO=gv(yv("String.prototype.indexOf")),gO=function(t,n){var r=yv(t,!!n);return typeof r=="function"&&yO(t,".prototype.")>-1?gv(r):r};const bO={},_O=Object.freeze(Object.defineProperty({__proto__:null,default:bO},Symbol.toStringTag,{value:"Module"})),wO=md(_O);var el=typeof Map=="function"&&Map.prototype,Io=Object.getOwnPropertyDescriptor&&el?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ba=el&&Io&&typeof Io.get=="function"?Io.get:null,sf=el&&Map.prototype.forEach,tl=typeof Set=="function"&&Set.prototype,Lo=Object.getOwnPropertyDescriptor&&tl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,_a=tl&&Lo&&typeof Lo.get=="function"?Lo.get:null,lf=tl&&Set.prototype.forEach,EO=typeof WeakMap=="function"&&WeakMap.prototype,Wr=EO?WeakMap.prototype.has:null,SO=typeof WeakSet=="function"&&WeakSet.prototype,zr=SO?WeakSet.prototype.has:null,OO=typeof WeakRef=="function"&&WeakRef.prototype,cf=OO?WeakRef.prototype.deref:null,PO=Boolean.prototype.valueOf,AO=Object.prototype.toString,TO=Function.prototype.toString,CO=String.prototype.match,nl=String.prototype.slice,tn=String.prototype.replace,IO=String.prototype.toUpperCase,ff=String.prototype.toLowerCase,bv=RegExp.prototype.test,df=Array.prototype.concat,St=Array.prototype.join,LO=Array.prototype.slice,pf=Math.floor,Cu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Ro=Object.getOwnPropertySymbols,Iu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",qe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pr||"symbol")?Symbol.toStringTag:null,_v=Object.prototype.propertyIsEnumerable,hf=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function vf(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||bv.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-pf(-e):pf(e);if(r!==e){var i=String(r),a=nl.call(t,i.length+1);return tn.call(i,n,"$&_")+"."+tn.call(tn.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return tn.call(t,n,"$&_")}var Lu=wO,mf=Lu.custom,yf=Ev(mf)?mf:null,RO=function e(t,n,r,i){var a=n||{};if(Xt(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Xt(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Xt(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Xt(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Xt(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Ov(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?vf(t,s):s}if(typeof t=="bigint"){var c=String(t)+"n";return u?vf(t,c):c}var f=typeof a.depth>"u"?5:a.depth;if(typeof r>"u"&&(r=0),r>=f&&f>0&&typeof t=="object")return Ru(t)?"[Array]":"[Object]";var l=YO(a,r);if(typeof i>"u")i=[];else if(Sv(i,t)>=0)return"[Circular]";function d(j,I,C){if(I&&(i=LO.call(i),i.push(I)),C){var R={depth:a.depth};return Xt(a,"quoteStyle")&&(R.quoteStyle=a.quoteStyle),e(j,R,r+1,i)}return e(j,a,r+1,i)}if(typeof t=="function"&&!gf(t)){var p=UO(t),v=Pi(t,d);return"[Function"+(p?": "+p:" (anonymous)")+"]"+(v.length>0?" { "+St.call(v,", ")+" }":"")}if(Ev(t)){var h=pr?tn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Iu.call(t);return typeof t=="object"&&!pr?$r(h):h}if(qO(t)){for(var _="<"+ff.call(String(t.nodeName)),g=t.attributes||[],y=0;y<g.length;y++)_+=" "+g[y].name+"="+wv(kO(g[y].value),"double",a);return _+=">",t.childNodes&&t.childNodes.length&&(_+="..."),_+="</"+ff.call(String(t.nodeName))+">",_}if(Ru(t)){if(t.length===0)return"[]";var m=Pi(t,d);return l&&!VO(m)?"["+ku(m,l)+"]":"[ "+St.call(m,", ")+" ]"}if(MO(t)){var b=Pi(t,d);return!("cause"in Error.prototype)&&"cause"in t&&!_v.call(t,"cause")?"{ ["+String(t)+"] "+St.call(df.call("[cause]: "+d(t.cause),b),", ")+" }":b.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+St.call(b,", ")+" }"}if(typeof t=="object"&&o){if(yf&&typeof t[yf]=="function"&&Lu)return Lu(t,{depth:f-r});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(xO(t)){var E=[];return sf&&sf.call(t,function(j,I){E.push(d(I,t,!0)+" => "+d(j,t))}),bf("Map",ba.call(t),E,l)}if(WO(t)){var O=[];return lf&&lf.call(t,function(j){O.push(d(j,t))}),bf("Set",_a.call(t),O,l)}if(HO(t))return ko("WeakMap");if(zO(t))return ko("WeakSet");if(KO(t))return ko("WeakRef");if($O(t))return $r(d(Number(t)));if(BO(t))return $r(d(Cu.call(t)));if(jO(t))return $r(PO.call(t));if(DO(t))return $r(d(String(t)));if(t===J)return typeof window<"u"?"{ [object Window] }":"{ [object global] }";if(!NO(t)&&!gf(t)){var S=Pi(t,d),w=hf?hf(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",A=!w&&qe&&Object(t)===t&&qe in t?nl.call(hn(t),8,-1):P?"Object":"",L=w||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",D=L+(A||P?"["+St.call(df.call([],A||[],P||[]),": ")+"] ":"");return S.length===0?D+"{}":l?D+"{"+ku(S,l)+"}":D+"{ "+St.call(S,", ")+" }"}return String(t)};function wv(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function kO(e){return tn.call(String(e),/"/g,""")}function Ru(e){return hn(e)==="[object Array]"&&(!qe||!(typeof e=="object"&&qe in e))}function NO(e){return hn(e)==="[object Date]"&&(!qe||!(typeof e=="object"&&qe in e))}function gf(e){return hn(e)==="[object RegExp]"&&(!qe||!(typeof e=="object"&&qe in e))}function MO(e){return hn(e)==="[object Error]"&&(!qe||!(typeof e=="object"&&qe in e))}function DO(e){return hn(e)==="[object String]"&&(!qe||!(typeof e=="object"&&qe in e))}function $O(e){return hn(e)==="[object Number]"&&(!qe||!(typeof e=="object"&&qe in e))}function jO(e){return hn(e)==="[object Boolean]"&&(!qe||!(typeof e=="object"&&qe in e))}function Ev(e){if(pr)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Iu)return!1;try{return Iu.call(e),!0}catch{}return!1}function BO(e){if(!e||typeof e!="object"||!Cu)return!1;try{return Cu.call(e),!0}catch{}return!1}var FO=Object.prototype.hasOwnProperty||function(e){return e in this};function Xt(e,t){return FO.call(e,t)}function hn(e){return AO.call(e)}function UO(e){if(e.name)return e.name;var t=CO.call(TO.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Sv(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function xO(e){if(!ba||!e||typeof e!="object")return!1;try{ba.call(e);try{_a.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function HO(e){if(!Wr||!e||typeof e!="object")return!1;try{Wr.call(e,Wr);try{zr.call(e,zr)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function KO(e){if(!cf||!e||typeof e!="object")return!1;try{return cf.call(e),!0}catch{}return!1}function WO(e){if(!_a||!e||typeof e!="object")return!1;try{_a.call(e);try{ba.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function zO(e){if(!zr||!e||typeof e!="object")return!1;try{zr.call(e,zr);try{Wr.call(e,Wr)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function qO(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function Ov(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Ov(nl.call(e,0,t.maxStringLength),t)+r}var i=tn.call(tn.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,GO);return wv(i,"single",t)}function GO(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+IO.call(t.toString(16))}function $r(e){return"Object("+e+")"}function ko(e){return e+" { ? }"}function bf(e,t,n,r){var i=r?ku(n,r):St.call(n,", ");return e+" ("+t+") {"+i+"}"}function VO(e){for(var t=0;t<e.length;t++)if(Sv(e[t],`
|
|
13
|
+
`)>=0)return!1;return!0}function YO(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=St.call(Array(e.indent+1)," ");else return null;return{base:n,prev:St.call(Array(t+1),n)}}function ku(e,t){if(e.length===0)return"";var n=`
|
|
14
14
|
`+t.prev+t.base;return n+St.call(e,","+n)+`
|
|
15
|
-
`+t.prev}function Pi(e,t){var n=Ru(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Xt(e,i)?t(e[i],e):""}var a=typeof Ro=="function"?Ro(e):[],o;if(pr){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var s in e)Xt(e,s)&&(n&&String(Number(s))===s&&s<e.length||pr&&o["$"+s]instanceof Symbol||(bv.call(/[^\w$]/,s)?r.push(t(s,e)+": "+t(e[s],e)):r.push(s+": "+t(e[s],e))));if(typeof Ro=="function")for(var c=0;c<a.length;c++)_v.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var rl=Cr,Ir=g2,X2=R2,Q2=rl("%TypeError%"),Ai=rl("%WeakMap%",!0),Ti=rl("%Map%",!0),J2=Ir("WeakMap.prototype.get",!0),Z2=Ir("WeakMap.prototype.set",!0),eP=Ir("WeakMap.prototype.has",!0),tP=Ir("Map.prototype.get",!0),nP=Ir("Map.prototype.set",!0),rP=Ir("Map.prototype.has",!0),il=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},iP=function(e,t){var n=il(e,t);return n&&n.value},aP=function(e,t,n){var r=il(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},oP=function(e,t){return!!il(e,t)},uP=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new Q2("Side channel does not contain "+X2(a))},get:function(a){if(Ai&&a&&(typeof a=="object"||typeof a=="function")){if(t)return J2(t,a)}else if(Ti){if(n)return tP(n,a)}else if(r)return iP(r,a)},has:function(a){if(Ai&&a&&(typeof a=="object"||typeof a=="function")){if(t)return eP(t,a)}else if(Ti){if(n)return rP(n,a)}else if(r)return oP(r,a);return!1},set:function(a,o){Ai&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Ai),Z2(t,a,o)):Ti?(n||(n=new Ti),nP(n,a,o)):(r||(r={key:{},next:null}),aP(r,a,o))}};return i},sP=String.prototype.replace,lP=/%20/g,No={RFC1738:"RFC1738",RFC3986:"RFC3986"},al={default:No.RFC3986,formatters:{RFC1738:function(e){return sP.call(e,lP,"+")},RFC3986:function(e){return String(e)}},RFC1738:No.RFC1738,RFC3986:No.RFC3986},cP=al,Mo=Object.prototype.hasOwnProperty,_n=Array.isArray,wt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),fP=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(_n(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&i.push(r[a]);n.obj[n.prop]=i}}},Pv=function(t,n){for(var r=n&&n.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},dP=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if(_n(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!Mo.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!="object")return[t].concat(n);var i=t;return _n(t)&&!_n(n)&&(i=Pv(t,r)),_n(t)&&_n(n)?(n.forEach(function(a,o){if(Mo.call(t,o)){var u=t[o];u&&typeof u=="object"&&a&&typeof a=="object"?t[o]=e(u,a,r):t.push(a)}else t[o]=a}),t):Object.keys(n).reduce(function(a,o){var u=n[o];return Mo.call(a,o)?a[o]=e(a[o],u,r):a[o]=u,a},i)},pP=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},hP=function(e,t,n){var r=e.replace(/\+/g," ");if(n==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},vP=function(t,n,r,i,a){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),r==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(f){return"%26%23"+parseInt(f.slice(2),16)+"%3B"});for(var u="",s=0;s<o.length;++s){var c=o.charCodeAt(s);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===cP.RFC1738&&(c===40||c===41)){u+=o.charAt(s);continue}if(c<128){u=u+wt[c];continue}if(c<2048){u=u+(wt[192|c>>6]+wt[128|c&63]);continue}if(c<55296||c>=57344){u=u+(wt[224|c>>12]+wt[128|c>>6&63]+wt[128|c&63]);continue}s+=1,c=65536+((c&1023)<<10|o.charCodeAt(s)&1023),u+=wt[240|c>>18]+wt[128|c>>12&63]+wt[128|c>>6&63]+wt[128|c&63]}return u},mP=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],i=0;i<n.length;++i)for(var a=n[i],o=a.obj[a.prop],u=Object.keys(o),s=0;s<u.length;++s){var c=u[s],f=o[c];typeof f=="object"&&f!==null&&r.indexOf(f)===-1&&(n.push({obj:o,prop:c}),r.push(f))}return fP(n),t},yP=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},gP=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},bP=function(t,n){return[].concat(t,n)},_P=function(t,n){if(_n(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},Av={arrayToObject:Pv,assign:pP,combine:bP,compact:mP,decode:hP,encode:vP,isBuffer:gP,isRegExp:yP,maybeMap:_P,merge:dP},Tv=uP,Xi=Av,qr=al,wP=Object.prototype.hasOwnProperty,_f={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},Rt=Array.isArray,EP=Array.prototype.push,Cv=function(e,t){EP.apply(e,Rt(t)?t:[t])},SP=Date.prototype.toISOString,wf=qr.default,Ke={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Xi.encode,encodeValuesOnly:!1,format:wf,formatter:qr.formatters[wf],indices:!1,serializeDate:function(t){return SP.call(t)},skipNulls:!1,strictNullHandling:!1},OP=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Do={},PP=function e(t,n,r,i,a,o,u,s,c,f,l,d,p,v,h,_){for(var g=t,y=_,m=0,b=!1;(y=y.get(Do))!==void 0&&!b;){var E=y.get(t);if(m+=1,typeof E<"u"){if(E===m)throw new RangeError("Cyclic object value");b=!0}typeof y.get(Do)>"u"&&(m=0)}if(typeof s=="function"?g=s(n,g):g instanceof Date?g=l(g):r==="comma"&&Rt(g)&&(g=Xi.maybeMap(g,function(R){return R instanceof Date?l(R):R})),g===null){if(a)return u&&!v?u(n,Ke.encoder,h,"key",d):n;g=""}if(OP(g)||Xi.isBuffer(g)){if(u){var O=v?n:u(n,Ke.encoder,h,"key",d);return[p(O)+"="+p(u(g,Ke.encoder,h,"value",d))]}return[p(n)+"="+p(String(g))]}var S=[];if(typeof g>"u")return S;var w;if(r==="comma"&&Rt(g))v&&u&&(g=Xi.maybeMap(g,u)),w=[{value:g.length>0?g.join(",")||null:void 0}];else if(Rt(s))w=s;else{var P=Object.keys(g);w=c?P.sort(c):P}for(var A=i&&Rt(g)&&g.length===1?n+"[]":n,L=0;L<w.length;++L){var D=w[L],j=typeof D=="object"&&typeof D.value<"u"?D.value:g[D];if(!(o&&j===null)){var I=Rt(g)?typeof r=="function"?r(A,D):A:A+(f?"."+D:"["+D+"]");_.set(t,m);var C=Tv();C.set(Do,_),Cv(S,e(j,I,r,i,a,o,r==="comma"&&v&&Rt(g)?null:u,s,c,f,l,d,p,v,h,C))}}return S},AP=function(t){if(!t)return Ke;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=t.charset||Ke.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=qr.default;if(typeof t.format<"u"){if(!wP.call(qr.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=qr.formatters[r],a=Ke.filter;return(typeof t.filter=="function"||Rt(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Ke.addQueryPrefix,allowDots:typeof t.allowDots>"u"?Ke.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ke.charsetSentinel,delimiter:typeof t.delimiter>"u"?Ke.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Ke.encode,encoder:typeof t.encoder=="function"?t.encoder:Ke.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Ke.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Ke.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Ke.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ke.strictNullHandling}},TP=function(e,t){var n=e,r=AP(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):Rt(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var u;t&&t.arrayFormat in _f?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=_f[u];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=s==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var f=Tv(),l=0;l<i.length;++l){var d=i[l];r.skipNulls&&n[d]===null||Cv(o,PP(n[d],d,s,c,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,f))}var p=o.join(r.delimiter),v=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),p.length>0?v+p:""},hr=Av,Nu=Object.prototype.hasOwnProperty,CP=Array.isArray,Be={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:hr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},IP=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},Iv=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},LP="utf8=%26%2310003%3B",RP="utf8=%E2%9C%93",kP=function(t,n){var r={__proto__:null},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=n.parameterLimit===1/0?void 0:n.parameterLimit,o=i.split(n.delimiter,a),u=-1,s,c=n.charset;if(n.charsetSentinel)for(s=0;s<o.length;++s)o[s].indexOf("utf8=")===0&&(o[s]===RP?c="utf-8":o[s]===LP&&(c="iso-8859-1"),u=s,s=o.length);for(s=0;s<o.length;++s)if(s!==u){var f=o[s],l=f.indexOf("]="),d=l===-1?f.indexOf("="):l+1,p,v;d===-1?(p=n.decoder(f,Be.decoder,c,"key"),v=n.strictNullHandling?null:""):(p=n.decoder(f.slice(0,d),Be.decoder,c,"key"),v=hr.maybeMap(Iv(f.slice(d+1),n),function(h){return n.decoder(h,Be.decoder,c,"value")})),v&&n.interpretNumericEntities&&c==="iso-8859-1"&&(v=IP(v)),f.indexOf("[]=")>-1&&(v=CP(v)?[v]:v),Nu.call(r,p)?r[p]=hr.combine(r[p],v):r[p]=v}return r},NP=function(e,t,n,r){for(var i=r?t:Iv(t,n),a=e.length-1;a>=0;--a){var o,u=e[a];if(u==="[]"&&n.parseArrays)o=[].concat(i);else{o=n.plainObjects?Object.create(null):{};var s=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,c=parseInt(s,10);!n.parseArrays&&s===""?o={0:i}:!isNaN(c)&&u!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[],o[c]=i):s!=="__proto__"&&(o[s]=i)}i=o}return i},MP=function(t,n,r,i){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,s=r.depth>0&&o.exec(a),c=s?a.slice(0,s.index):a,f=[];if(c){if(!r.plainObjects&&Nu.call(Object.prototype,c)&&!r.allowPrototypes)return;f.push(c)}for(var l=0;r.depth>0&&(s=u.exec(a))!==null&&l<r.depth;){if(l+=1,!r.plainObjects&&Nu.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;f.push(s[1])}return s&&f.push("["+a.slice(s.index)+"]"),NP(f,n,r,i)}},DP=function(t){if(!t)return Be;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=typeof t.charset>"u"?Be.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Be.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Be.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Be.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Be.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Be.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Be.comma,decoder:typeof t.decoder=="function"?t.decoder:Be.decoder,delimiter:typeof t.delimiter=="string"||hr.isRegExp(t.delimiter)?t.delimiter:Be.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Be.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Be.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Be.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Be.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Be.strictNullHandling}},$P=function(e,t){var n=DP(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?kP(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],s=MP(u,r[u],n,typeof e=="string");i=hr.merge(i,s,n)}return n.allowSparse===!0?i:hr.compact(i)},jP=TP,BP=$P,FP=al,UP={formats:FP,parse:BP,stringify:jP};const xP=yr(UP);var ol={exports:{}};class Lv extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const HP=({limit:e,interval:t,strict:n})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const r=new Map;let i=0,a=0;function o(){const f=Date.now();return f-i>t?(a=1,i=f,0):(a<e?a++:(i+=t,a=1),i-f)}const u=[];function s(){const f=Date.now();if(u.length<e)return u.push(f),0;const l=u.shift()+t;return f>=l?(u.push(f),0):(u.push(l),l-f)}const c=n?s:o;return f=>{const l=function(...d){if(!l.isEnabled)return(async()=>f.apply(this,d))();let p;return new Promise((v,h)=>{p=setTimeout(()=>{v(f.apply(this,d)),r.delete(p)},c()),r.set(p,h)})};return l.abort=()=>{for(const d of r.keys())clearTimeout(d),r.get(d)(new Lv);r.clear(),u.splice(0,u.length)},l.isEnabled=!0,l}};ol.exports=HP;ol.exports.AbortError=Lv;var KP=ol.exports;const WP=yr(KP);function zP(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,u=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function Ef(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Gn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ef(Object(n),!0).forEach(function(r){qP(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ef(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Mu(e){"@babel/helpers - typeof";return Mu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mu(e)}function Du(){Du=function(i,a){return new n(i,void 0,a)};var e=RegExp.prototype,t=new WeakMap;function n(i,a,o){var u=new RegExp(i,a);return t.set(u,o||t.get(i)),wa(u,n.prototype)}function r(i,a){var o=t.get(a);return Object.keys(o).reduce(function(u,s){var c=o[s];if(typeof c=="number")u[s]=i[c];else{for(var f=0;i[c[f]]===void 0&&f+1<c.length;)f++;u[s]=i[c[f]]}return u},Object.create(null))}return GP(n,RegExp),n.prototype.exec=function(i){var a=e.exec.call(this,i);if(a){a.groups=r(a,this);var o=a.indices;o&&(o.groups=r(o,this))}return a},n.prototype[Symbol.replace]=function(i,a){if(typeof a=="string"){var o=t.get(this);return e[Symbol.replace].call(this,i,a.replace(/\$<([^>]+)>/g,function(s,c){var f=o[c];return"$"+(Array.isArray(f)?f.join("$"):f)}))}if(typeof a=="function"){var u=this;return e[Symbol.replace].call(this,i,function(){var s=arguments;return typeof s[s.length-1]!="object"&&(s=[].slice.call(s)).push(r(s,u)),a.apply(this,s)})}return e[Symbol.replace].call(this,i,a)},Du.apply(this,arguments)}function qP(e,t,n){return t=ZP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GP(e,t){if(typeof t!="function"&&t!==null)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&&wa(e,t)}function wa(e,t){return wa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},wa(e,t)}function VP(e,t){return YP(e)||zP(e,t)||Rv(e,t)||XP()}function YP(e){if(Array.isArray(e))return e}function Rv(e,t){if(e){if(typeof e=="string")return Sf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sf(e,t)}}function Sf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function XP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
15
|
+
`+t.prev}function Pi(e,t){var n=Ru(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=Xt(e,i)?t(e[i],e):""}var a=typeof Ro=="function"?Ro(e):[],o;if(pr){o={};for(var u=0;u<a.length;u++)o["$"+a[u]]=a[u]}for(var s in e)Xt(e,s)&&(n&&String(Number(s))===s&&s<e.length||pr&&o["$"+s]instanceof Symbol||(bv.call(/[^\w$]/,s)?r.push(t(s,e)+": "+t(e[s],e)):r.push(s+": "+t(e[s],e))));if(typeof Ro=="function")for(var c=0;c<a.length;c++)_v.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}var rl=Cr,Ir=gO,XO=RO,QO=rl("%TypeError%"),Ai=rl("%WeakMap%",!0),Ti=rl("%Map%",!0),JO=Ir("WeakMap.prototype.get",!0),ZO=Ir("WeakMap.prototype.set",!0),eP=Ir("WeakMap.prototype.has",!0),tP=Ir("Map.prototype.get",!0),nP=Ir("Map.prototype.set",!0),rP=Ir("Map.prototype.has",!0),il=function(e,t){for(var n=e,r;(r=n.next)!==null;n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},iP=function(e,t){var n=il(e,t);return n&&n.value},aP=function(e,t,n){var r=il(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},oP=function(e,t){return!!il(e,t)},uP=function(){var t,n,r,i={assert:function(a){if(!i.has(a))throw new QO("Side channel does not contain "+XO(a))},get:function(a){if(Ai&&a&&(typeof a=="object"||typeof a=="function")){if(t)return JO(t,a)}else if(Ti){if(n)return tP(n,a)}else if(r)return iP(r,a)},has:function(a){if(Ai&&a&&(typeof a=="object"||typeof a=="function")){if(t)return eP(t,a)}else if(Ti){if(n)return rP(n,a)}else if(r)return oP(r,a);return!1},set:function(a,o){Ai&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new Ai),ZO(t,a,o)):Ti?(n||(n=new Ti),nP(n,a,o)):(r||(r={key:{},next:null}),aP(r,a,o))}};return i},sP=String.prototype.replace,lP=/%20/g,No={RFC1738:"RFC1738",RFC3986:"RFC3986"},al={default:No.RFC3986,formatters:{RFC1738:function(e){return sP.call(e,lP,"+")},RFC3986:function(e){return String(e)}},RFC1738:No.RFC1738,RFC3986:No.RFC3986},cP=al,Mo=Object.prototype.hasOwnProperty,_n=Array.isArray,wt=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),fP=function(t){for(;t.length>1;){var n=t.pop(),r=n.obj[n.prop];if(_n(r)){for(var i=[],a=0;a<r.length;++a)typeof r[a]<"u"&&i.push(r[a]);n.obj[n.prop]=i}}},Pv=function(t,n){for(var r=n&&n.plainObjects?Object.create(null):{},i=0;i<t.length;++i)typeof t[i]<"u"&&(r[i]=t[i]);return r},dP=function e(t,n,r){if(!n)return t;if(typeof n!="object"){if(_n(t))t.push(n);else if(t&&typeof t=="object")(r&&(r.plainObjects||r.allowPrototypes)||!Mo.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!="object")return[t].concat(n);var i=t;return _n(t)&&!_n(n)&&(i=Pv(t,r)),_n(t)&&_n(n)?(n.forEach(function(a,o){if(Mo.call(t,o)){var u=t[o];u&&typeof u=="object"&&a&&typeof a=="object"?t[o]=e(u,a,r):t.push(a)}else t[o]=a}),t):Object.keys(n).reduce(function(a,o){var u=n[o];return Mo.call(a,o)?a[o]=e(a[o],u,r):a[o]=u,a},i)},pP=function(t,n){return Object.keys(n).reduce(function(r,i){return r[i]=n[i],r},t)},hP=function(e,t,n){var r=e.replace(/\+/g," ");if(n==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},vP=function(t,n,r,i,a){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),r==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(f){return"%26%23"+parseInt(f.slice(2),16)+"%3B"});for(var u="",s=0;s<o.length;++s){var c=o.charCodeAt(s);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===cP.RFC1738&&(c===40||c===41)){u+=o.charAt(s);continue}if(c<128){u=u+wt[c];continue}if(c<2048){u=u+(wt[192|c>>6]+wt[128|c&63]);continue}if(c<55296||c>=57344){u=u+(wt[224|c>>12]+wt[128|c>>6&63]+wt[128|c&63]);continue}s+=1,c=65536+((c&1023)<<10|o.charCodeAt(s)&1023),u+=wt[240|c>>18]+wt[128|c>>12&63]+wt[128|c>>6&63]+wt[128|c&63]}return u},mP=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],i=0;i<n.length;++i)for(var a=n[i],o=a.obj[a.prop],u=Object.keys(o),s=0;s<u.length;++s){var c=u[s],f=o[c];typeof f=="object"&&f!==null&&r.indexOf(f)===-1&&(n.push({obj:o,prop:c}),r.push(f))}return fP(n),t},yP=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},gP=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},bP=function(t,n){return[].concat(t,n)},_P=function(t,n){if(_n(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(n(t[i]));return r}return n(t)},Av={arrayToObject:Pv,assign:pP,combine:bP,compact:mP,decode:hP,encode:vP,isBuffer:gP,isRegExp:yP,maybeMap:_P,merge:dP},Tv=uP,Xi=Av,qr=al,wP=Object.prototype.hasOwnProperty,_f={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,n){return t+"["+n+"]"},repeat:function(t){return t}},Rt=Array.isArray,EP=Array.prototype.push,Cv=function(e,t){EP.apply(e,Rt(t)?t:[t])},SP=Date.prototype.toISOString,wf=qr.default,Ke={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Xi.encode,encodeValuesOnly:!1,format:wf,formatter:qr.formatters[wf],indices:!1,serializeDate:function(t){return SP.call(t)},skipNulls:!1,strictNullHandling:!1},OP=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Do={},PP=function e(t,n,r,i,a,o,u,s,c,f,l,d,p,v,h,_){for(var g=t,y=_,m=0,b=!1;(y=y.get(Do))!==void 0&&!b;){var E=y.get(t);if(m+=1,typeof E<"u"){if(E===m)throw new RangeError("Cyclic object value");b=!0}typeof y.get(Do)>"u"&&(m=0)}if(typeof s=="function"?g=s(n,g):g instanceof Date?g=l(g):r==="comma"&&Rt(g)&&(g=Xi.maybeMap(g,function(R){return R instanceof Date?l(R):R})),g===null){if(a)return u&&!v?u(n,Ke.encoder,h,"key",d):n;g=""}if(OP(g)||Xi.isBuffer(g)){if(u){var O=v?n:u(n,Ke.encoder,h,"key",d);return[p(O)+"="+p(u(g,Ke.encoder,h,"value",d))]}return[p(n)+"="+p(String(g))]}var S=[];if(typeof g>"u")return S;var w;if(r==="comma"&&Rt(g))v&&u&&(g=Xi.maybeMap(g,u)),w=[{value:g.length>0?g.join(",")||null:void 0}];else if(Rt(s))w=s;else{var P=Object.keys(g);w=c?P.sort(c):P}for(var A=i&&Rt(g)&&g.length===1?n+"[]":n,L=0;L<w.length;++L){var D=w[L],j=typeof D=="object"&&typeof D.value<"u"?D.value:g[D];if(!(o&&j===null)){var I=Rt(g)?typeof r=="function"?r(A,D):A:A+(f?"."+D:"["+D+"]");_.set(t,m);var C=Tv();C.set(Do,_),Cv(S,e(j,I,r,i,a,o,r==="comma"&&v&&Rt(g)?null:u,s,c,f,l,d,p,v,h,C))}}return S},AP=function(t){if(!t)return Ke;if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var n=t.charset||Ke.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=qr.default;if(typeof t.format<"u"){if(!wP.call(qr.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var i=qr.formatters[r],a=Ke.filter;return(typeof t.filter=="function"||Rt(t.filter))&&(a=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Ke.addQueryPrefix,allowDots:typeof t.allowDots>"u"?Ke.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ke.charsetSentinel,delimiter:typeof t.delimiter>"u"?Ke.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Ke.encode,encoder:typeof t.encoder=="function"?t.encoder:Ke.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Ke.encodeValuesOnly,filter:a,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Ke.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Ke.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ke.strictNullHandling}},TP=function(e,t){var n=e,r=AP(t),i,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):Rt(r.filter)&&(a=r.filter,i=a);var o=[];if(typeof n!="object"||n===null)return"";var u;t&&t.arrayFormat in _f?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=_f[u];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=s==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var f=Tv(),l=0;l<i.length;++l){var d=i[l];r.skipNulls&&n[d]===null||Cv(o,PP(n[d],d,s,c,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,f))}var p=o.join(r.delimiter),v=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),p.length>0?v+p:""},hr=Av,Nu=Object.prototype.hasOwnProperty,CP=Array.isArray,Be={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:hr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},IP=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},Iv=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},LP="utf8=%26%2310003%3B",RP="utf8=%E2%9C%93",kP=function(t,n){var r={__proto__:null},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=n.parameterLimit===1/0?void 0:n.parameterLimit,o=i.split(n.delimiter,a),u=-1,s,c=n.charset;if(n.charsetSentinel)for(s=0;s<o.length;++s)o[s].indexOf("utf8=")===0&&(o[s]===RP?c="utf-8":o[s]===LP&&(c="iso-8859-1"),u=s,s=o.length);for(s=0;s<o.length;++s)if(s!==u){var f=o[s],l=f.indexOf("]="),d=l===-1?f.indexOf("="):l+1,p,v;d===-1?(p=n.decoder(f,Be.decoder,c,"key"),v=n.strictNullHandling?null:""):(p=n.decoder(f.slice(0,d),Be.decoder,c,"key"),v=hr.maybeMap(Iv(f.slice(d+1),n),function(h){return n.decoder(h,Be.decoder,c,"value")})),v&&n.interpretNumericEntities&&c==="iso-8859-1"&&(v=IP(v)),f.indexOf("[]=")>-1&&(v=CP(v)?[v]:v),Nu.call(r,p)?r[p]=hr.combine(r[p],v):r[p]=v}return r},NP=function(e,t,n,r){for(var i=r?t:Iv(t,n),a=e.length-1;a>=0;--a){var o,u=e[a];if(u==="[]"&&n.parseArrays)o=[].concat(i);else{o=n.plainObjects?Object.create(null):{};var s=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,c=parseInt(s,10);!n.parseArrays&&s===""?o={0:i}:!isNaN(c)&&u!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(o=[],o[c]=i):s!=="__proto__"&&(o[s]=i)}i=o}return i},MP=function(t,n,r,i){if(t){var a=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,s=r.depth>0&&o.exec(a),c=s?a.slice(0,s.index):a,f=[];if(c){if(!r.plainObjects&&Nu.call(Object.prototype,c)&&!r.allowPrototypes)return;f.push(c)}for(var l=0;r.depth>0&&(s=u.exec(a))!==null&&l<r.depth;){if(l+=1,!r.plainObjects&&Nu.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;f.push(s[1])}return s&&f.push("["+a.slice(s.index)+"]"),NP(f,n,r,i)}},DP=function(t){if(!t)return Be;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=typeof t.charset>"u"?Be.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Be.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Be.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Be.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Be.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Be.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Be.comma,decoder:typeof t.decoder=="function"?t.decoder:Be.decoder,delimiter:typeof t.delimiter=="string"||hr.isRegExp(t.delimiter)?t.delimiter:Be.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Be.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Be.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Be.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Be.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Be.strictNullHandling}},$P=function(e,t){var n=DP(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?kP(e,n):e,i=n.plainObjects?Object.create(null):{},a=Object.keys(r),o=0;o<a.length;++o){var u=a[o],s=MP(u,r[u],n,typeof e=="string");i=hr.merge(i,s,n)}return n.allowSparse===!0?i:hr.compact(i)},jP=TP,BP=$P,FP=al,UP={formats:FP,parse:BP,stringify:jP};const xP=yr(UP);var ol={exports:{}};class Lv extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}const HP=({limit:e,interval:t,strict:n})=>{if(!Number.isFinite(e))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(t))throw new TypeError("Expected `interval` to be a finite number");const r=new Map;let i=0,a=0;function o(){const f=Date.now();return f-i>t?(a=1,i=f,0):(a<e?a++:(i+=t,a=1),i-f)}const u=[];function s(){const f=Date.now();if(u.length<e)return u.push(f),0;const l=u.shift()+t;return f>=l?(u.push(f),0):(u.push(l),l-f)}const c=n?s:o;return f=>{const l=function(...d){if(!l.isEnabled)return(async()=>f.apply(this,d))();let p;return new Promise((v,h)=>{p=setTimeout(()=>{v(f.apply(this,d)),r.delete(p)},c()),r.set(p,h)})};return l.abort=()=>{for(const d of r.keys())clearTimeout(d),r.get(d)(new Lv);r.clear(),u.splice(0,u.length)},l.isEnabled=!0,l}};ol.exports=HP;ol.exports.AbortError=Lv;var KP=ol.exports;const WP=yr(KP);function zP(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,u=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(f){c=!0,i=f}finally{try{if(!s&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return u}}function Ef(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Gn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ef(Object(n),!0).forEach(function(r){qP(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ef(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Mu(e){"@babel/helpers - typeof";return Mu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mu(e)}function Du(){Du=function(i,a){return new n(i,void 0,a)};var e=RegExp.prototype,t=new WeakMap;function n(i,a,o){var u=new RegExp(i,a);return t.set(u,o||t.get(i)),wa(u,n.prototype)}function r(i,a){var o=t.get(a);return Object.keys(o).reduce(function(u,s){var c=o[s];if(typeof c=="number")u[s]=i[c];else{for(var f=0;i[c[f]]===void 0&&f+1<c.length;)f++;u[s]=i[c[f]]}return u},Object.create(null))}return GP(n,RegExp),n.prototype.exec=function(i){var a=e.exec.call(this,i);if(a){a.groups=r(a,this);var o=a.indices;o&&(o.groups=r(o,this))}return a},n.prototype[Symbol.replace]=function(i,a){if(typeof a=="string"){var o=t.get(this);return e[Symbol.replace].call(this,i,a.replace(/\$<([^>]+)>/g,function(s,c){var f=o[c];return"$"+(Array.isArray(f)?f.join("$"):f)}))}if(typeof a=="function"){var u=this;return e[Symbol.replace].call(this,i,function(){var s=arguments;return typeof s[s.length-1]!="object"&&(s=[].slice.call(s)).push(r(s,u)),a.apply(this,s)})}return e[Symbol.replace].call(this,i,a)},Du.apply(this,arguments)}function qP(e,t,n){return t=ZP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GP(e,t){if(typeof t!="function"&&t!==null)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&&wa(e,t)}function wa(e,t){return wa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},wa(e,t)}function VP(e,t){return YP(e)||zP(e,t)||Rv(e,t)||XP()}function YP(e){if(Array.isArray(e))return e}function Rv(e,t){if(e){if(typeof e=="string")return Sf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sf(e,t)}}function Sf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function XP(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
16
16
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function QP(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Rv(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
17
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,u;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return a=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function JP(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ZP(e){var t=JP(e,"string");return typeof t=="symbol"?t:String(t)}function eA(){return typeof process<"u"&&!process.browser}function tA(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function nA(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function rA(){return window}function $u(){}var ju=Du(/(\d+)(%)/,{value:1});function $o(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(ju.test(e)){var r,i=(r=e.match(ju))===null||r===void 0?void 0:r.groups;if(i&&i.value){var a=parseInt(i.value)/100;n=Math.round(t*a)}}return Math.min(30,Math.max(1,n))}function Of(e,t){return t("info","Throttle request to ".concat(e,"/s")),WP({limit:e,interval:1e3,strict:!1})}var iA=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",n=e.defaults.logHandler,r=n===void 0?$u:n,i=Ol(t)?$o(t):$o("auto",t),a=Of(i,r),o=!1,u=e.interceptors.request.use(function(c){return a(function(){return c})()},function(c){return Promise.reject(c)}),s=e.interceptors.response.use(function(c){if(!o&&Ol(t)&&(t==="auto"||ju.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var f=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),l=$o(t,f);l!==i&&(u&&e.interceptors.request.eject(u),i=l,a=Of(l,r),u=e.interceptors.request.use(function(d){return a(function(){return d})()},function(d){return Promise.reject(d)})),o=!0}return c},function(c){return Promise.reject(c)});return function(){e.interceptors.request.eject(u),e.interceptors.response.eject(s)}},aA=function(t){return new Promise(function(n){setTimeout(n,t)})},oA=function(t){return Math.pow(Math.SQRT2,t)};function uA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,n=e.defaults,r=n.responseLogger,i=r===void 0?$u:r,a=n.requestLogger,o=a===void 0?$u:a;e.interceptors.request.use(function(u){return o(u),u},function(u){return o(u),Promise.reject(u)}),e.interceptors.response.use(function(u){return i(u),u},function(u){var s=u.response,c=u.config;if(i(u),!c||!e.defaults.retryOnError)return Promise.reject(u);var f=c.attempts||1;if(f>t)return u.attempts=c.attempts,Promise.reject(u);var l=null,d=oA(f);return s?s.status>=500&&s.status<600?l="Server ".concat(s.status):s.status===429&&(l="Rate limit",s.headers&&u.response.headers["x-contentful-ratelimit-reset"]&&(d=s.headers["x-contentful-ratelimit-reset"])):l="Connection",l?(d=Math.floor(d*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(l," error occurred. Waiting for ").concat(d," ms before retrying...")),c.attempts=f+1,delete c.httpAgent,delete c.httpsAgent,aA(d).then(function(){return e(c)})):Promise.reject(u)})}function sA(e,t){e.interceptors.request.use(function(n){return t().then(function(r){return n.headers=Gn(Gn({},n.headers),{},{Authorization:"Bearer ".concat(r)}),n})})}var lA=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function kv(e,t){var n={insecure:!1,retryOnError:!0,logHandler:function(h,_){if(h==="error"&&_){var g=[_.name,_.message].filter(function(y){return y}).join(" - ");console.error("[error] ".concat(g)),console.error(_);return}console.log("[".concat(h,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},r=Gn(Gn({},n),t);if(!r.accessToken){var i=new TypeError("Expected parameter accessToken");throw r.logHandler("error",i),i}var a=r.insecure?"http":"https",o=r.space?"".concat(r.space,"/"):"",u=r.defaultHostname,s=r.insecure?80:443;if(r.host&&lA.test(r.host)){var c=r.host.split(":");if(c.length===2){var f=VP(c,2);u=f[0],s=f[1]}else u=c[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var l=t.baseURL||"".concat(a,"://").concat(u,":").concat(s).concat(r.basePath,"/spaces/").concat(o);!r.headers.Authorization&&typeof r.accessToken!="function"&&(r.headers.Authorization="Bearer "+r.accessToken);var d={baseURL:l,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:xP.stringify,proxy:r.proxy,timeout:r.timeout,adapter:r.adapter,maxContentLength:r.maxContentLength,maxBodyLength:r.maxBodyLength,logHandler:r.logHandler,responseLogger:r.responseLogger,requestLogger:r.requestLogger,retryOnError:r.retryOnError},p=e.create(d);return p.httpClientParams=t,p.cloneWithNewParams=function(v){return kv(e,Gn(Gn({},De(t)),v))},r.onBeforeRequest&&p.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&sA(p,r.accessToken),r.throttle&&iA(p,r.throttle),uA(p,r.retryLimit),r.onError&&p.interceptors.response.use(function(v){return v},r.onError),p}function gn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=De(t),n}function Nv(e){var t=Object.getOwnPropertyNames(e),n=QP(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&Mu(a)==="object"&&Nv(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function it(e){return Nv(e.sys||{}),e}function Pf(){var e=rA();if(!e)return null;var t=e.navigator.userAgent,n=e.navigator.platform,r=["Macintosh","MacIntel","MacPPC","Mac68K"],i=["Win32","Win64","Windows","WinCE"],a=["iPhone","iPad","iPod"];return r.indexOf(n)!==-1?"macOS":a.indexOf(n)!==-1?"iOS":i.indexOf(n)!==-1?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function cA(){var e=process.platform||"linux",t=process.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?"".concat(n[e]||"Linux","/").concat(t):null}function fA(e,t,n,r){var i=[];t&&i.push("app ".concat(t)),n&&i.push("integration ".concat(n)),r&&i.push("feature "+r),i.push("sdk ".concat(e));var a=null;try{tA()?(a=Pf(),i.push("platform ReactNative")):eA()?(a=cA(),i.push("platform node.js/".concat(nA()))):(a=Pf(),i.push("platform browser"))}catch{a=null}return a&&i.push("os ".concat(a)),"".concat(i.filter(function(o){return o!==""}).join("; "),";")}function Ye(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return De(this)}})}function ft(e){var t=e.config,n=e.response,r;if(t&&t.headers&&t.headers.Authorization){var i="...".concat(t.headers.Authorization.toString().substr(-5));t.headers.Authorization="Bearer ".concat(i)}if(!wi(n)||!wi(t))throw e;var a=n==null?void 0:n.data,o={status:n==null?void 0:n.status,statusText:n==null?void 0:n.statusText,message:"",details:{}};wi(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&wi(a)&&("requestId"in a&&(o.requestId=a.requestId||"UNKNOWN"),"message"in a&&(o.message=a.message||""),"details"in a&&(o.details=a.details||{}),"sys"in a&&"id"in a.sys&&(r=a.sys.id));var u=new Error;u.name=r&&r!=="Unknown"?r:"".concat(n==null?void 0:n.status," ").concat(n==null?void 0:n.statusText);try{u.message=JSON.stringify(o,null," ")}catch{var s;u.message=(s=o==null?void 0:o.message)!==null&&s!==void 0?s:""}throw u}function dA(e){return it(Ye(e))}const pA=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:dA},Symbol.toStringTag,{value:"Module"}));var Bu={exports:{}};(function(e,t){t=e.exports=n,t.getSerialize=r;function n(i,a,o,u){return JSON.stringify(i,r(a,u),o)}function r(i,a){var o=[],u=[];return a==null&&(a=function(s,c){return o[0]===c?"[Circular ~]":"[Circular ~."+u.slice(0,o.indexOf(c)).join(".")+"]"}),function(s,c){if(o.length>0){var f=o.indexOf(this);~f?o.splice(f+1):o.push(this),~f?u.splice(f,1/0,s):u.push(s),~o.indexOf(c)&&(c=a.call(this,s,c))}else o.push(c);return i==null?c:i.call(this,s,c)}}})(Bu,Bu.exports);var hA=Bu.exports;const vA=yr(hA);function Mv(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return vA(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var mA=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yA=function(){function e(t,n){var r=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),s;!(i=(s=u.next()).done)&&(r.push(s.value),!(n&&r.length===n));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&u.return&&u.return()}finally{if(a)throw o}}return r}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function jr(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var ri={},gA=function(t){return t&&t.sys&&t.sys.type==="Link"},bA=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},_A=function(t){return t.space&&t.environment?[t.type+"!"+t.id,t.space.sys.id+"!"+t.environment.sys.id+"!"+t.type+"!"+t.id]:[t.type+"!"+t.id]},Af=function(t,n){var r=n.entryId,i=n.linkType,a=n.spaceId,o=n.environmentId;return a&&o?t.get(a+"!"+o+"!"+i+"!"+r):t.get(i+"!"+r)},wA=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=yA(r,4);i[0];var a=i[1],o=i[2],u=o===void 0?"master":o,s=i[3];return{spaceId:a,environmentId:u,entryId:s}}},EA=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=wA(o),s=u.spaceId,c=u.environmentId,f=u.entryId,l=a.split(":")[1];return Af(t,{linkType:l,entryId:f,spaceId:s,environmentId:c})||ri}var d=n.sys.id;return Af(t,{linkType:a,entryId:d})||ri},SA=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==ri});for(var n in t)t[n]===ri&&delete t[n];return t},OA=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":mA(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=SA(t))}return t},PA=function(t,n,r){var i=EA(t,n);return i===ri?r?i:n:i},AA=function(t,n){if(!Array.isArray(n))return t;var r=Object.keys(t).filter(function(i){return n.indexOf(i)!==-1});return r.reduce(function(i,a){return i[a]=t[a],i},{})},Dv=function(t,n){if(n=n||{},!t.items)return[];var r=De(t),i=Object.keys(r.includes||{}).reduce(function(u,s){return[].concat(jr(u),jr(t.includes[s]))},[]),a=[].concat(jr(r.items),jr(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,s){var c=_A(s.sys).map(function(f){return[f,s]});return u.push.apply(u,jr(c)),u},[]));return a.forEach(function(u){var s=AA(u,n.itemEntryPoints);Object.assign(u,OA(s,function(c){return gA(c)||bA(c)},function(c){return PA(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function TA(e){return it(Ye(De(e)))}function CA(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=Mv(Ye(De(e)));return n&&(i.items=Dv(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),it(i)}const IA=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:TA,wrapEntryCollection:CA},Symbol.toStringTag,{value:"Module"}));function LA(e){return it(Ye(De(e)))}function RA(e){return it(Ye(De(e)))}const kA=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:LA,wrapAssetCollection:RA},Symbol.toStringTag,{value:"Module"}));function NA(e){return it(Ye(De(e)))}const MA=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey:NA},Symbol.toStringTag,{value:"Module"}));function DA(e){return it(Ye(De(e)))}function $A(e){return it(Ye(De(e)))}const jA=Object.freeze(Object.defineProperty({__proto__:null,wrapContentType:DA,wrapContentTypeCollection:$A},Symbol.toStringTag,{value:"Module"}));function BA(e){return it(Ye(De(e)))}function FA(e){return it(Ye(De(e)))}const UA=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:BA,wrapLocaleCollection:FA},Symbol.toStringTag,{value:"Module"}));function xA(e){return it(Ye(De(e)))}function HA(e){return it(Ye(De(e)))}const KA=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:xA,wrapTagCollection:HA},Symbol.toStringTag,{value:"Module"})),mn={space:pA,entry:IA,asset:kA,assetKey:MA,contentType:jA,locale:UA,tag:KA};function Tf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Cf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Tf(Object(n),!0).forEach(function(r){WA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function WA(e,t,n){return t=zA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zA(e){var t=qA(e,"string");return typeof t=="symbol"?t:String(t)}function qA(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}async function GA(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t&&t.content_type&&!t.type)t.type="Entry";else if(t&&t.content_type&&t.type&&t.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const r={resolveLinks:!0,removeUnresolved:!1,paginate:!0},{resolveLinks:i,removeUnresolved:a,paginate:o}=Cf(Cf({},r),n),s=await $v(e,[],t,{paginate:o});i&&(s.items=Dv(s,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=VA(s.items);return s.nextSyncToken&&(c.nextSyncToken=s.nextSyncToken),s.nextPageToken&&(c.nextPageToken=s.nextPageToken),it(Mv(Ye(c)))}function VA(e){const t=n=>(r,i)=>(i.sys.type===n&&r.push(Ye(i)),r);return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}async function $v(e,t,n,r){let{paginate:i}=r;n.nextSyncToken&&(n.sync_token=n.nextSyncToken,delete n.nextSyncToken),n.nextPageToken&&(n.sync_token=n.nextPageToken,delete n.nextPageToken),n.sync_token&&(delete n.initial,delete n.type,delete n.content_type,delete n.limit);const o=(await e.get("sync",gn({query:n}))).data||{};return t=t.concat(o.items||[]),o.nextPageUrl?i?(delete n.initial,n.sync_token=jo(o.nextPageUrl),$v(e,t,n,{paginate:i})):{items:t,nextPageToken:jo(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:jo(o.nextSyncUrl)}:{items:[]}}function jo(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function If(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Lf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?If(Object(n),!0).forEach(function(r){YA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):If(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function YA(e,t,n){return t=XA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XA(e){var t=QA(e,"string");return typeof t=="symbol"?t:String(t)}function QA(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ci(e){if(!e.select)return e;const t=Array.isArray(e.select)?e.select:e.select.split(",").map(r=>r.trim()),n=new Set(t);return n.has("sys")?e:(n.add("sys.id"),n.add("sys.type"),Lf(Lf({},e),{},{select:[...n].join(",")}))}class Bo extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function JA(e,t,n){if(n=n||{},typeof t!="number")throw new Bo(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new Bo(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new Bo(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function Rf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function kf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rf(Object(n),!0).forEach(function(r){ZA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ZA(e,t,n){return t=e5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e5(e){var t=t5(e,"string");return typeof t=="symbol"?t:String(t)}function t5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const n5=48*60*60;function r5(e){let{http:t,getGlobalOptions:n}=e;const{wrapSpace:r}=mn.space,{wrapContentType:i,wrapContentTypeCollection:a}=mn.contentType,{wrapEntry:o,wrapEntryCollection:u}=mn.entry,{wrapAsset:s,wrapAssetCollection:c}=mn.asset,{wrapTag:f,wrapTagCollection:l}=mn.tag,{wrapAssetKey:d}=mn.assetKey,{wrapLocaleCollection:p}=mn.locale,v=I=>{const C=new Error("The resource could not be found.");return C.sys={type:"Error",id:"NotFound"},C.details={type:"Entry",id:I,environment:n().environment,space:n().space},C};async function h(){j(t);try{const I=await t.get("/");return r(I.data)}catch(I){ft(I)}}async function _(I){D(t);try{const C=await t.get(`content_types/${I}`);return i(C.data)}catch(C){ft(C)}}async function g(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);try{const C=await t.get("content_types",gn({query:I}));return a(C.data)}catch(C){ft(C)}}async function y(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!I)throw v(I);try{const R=await this.getEntries(kf({"sys.id":I},C));if(R.items.length>0)return o(R.items[0]);throw v(I)}catch(R){ft(R)}}async function m(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);const{resolveLinks:C,removeUnresolved:R}=n(I);I=Ci(I);try{const $=await t.get("entries",gn({query:I}));return u($.data,{resolveLinks:C,removeUnresolved:R})}catch($){ft($)}}async function b(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D(t),C=Ci(C);try{const R=await t.get(`assets/${I}`,gn({query:C}));return s(R.data)}catch(R){ft(R)}}async function E(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t),I=Ci(I);try{const C=await t.get("assets",gn({query:I}));return c(C.data)}catch(C){ft(C)}}async function O(I){D(t);try{const C=await t.get(`tags/${I}`);return f(C.data)}catch(C){ft(C)}}async function S(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t),I=Ci(I);try{const C=await t.get("tags",gn({query:I}));return l(C.data)}catch(C){ft(C)}}async function w(I){D(t);try{const C=Math.floor(Date.now()/1e3),R=C+n5;JA("expiresAt",I,{maximum:R,now:C});const $={expiresAt:I},B=await t.post("asset_keys",$);return d(B.data)}catch(C){ft(C)}}async function P(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);try{const C=await t.get("locales",gn({query:I}));return p(C.data)}catch(C){ft(C)}}async function A(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:R,removeUnresolved:$}=n(I);return D(t),GA(t,I,kf({resolveLinks:R,removeUnresolved:$},C))}function L(I){const{resolveLinks:C,removeUnresolved:R}=n({});return u(I,{resolveLinks:C,removeUnresolved:R})}function D(I){I.defaults.baseURL=n().environmentBaseUrl}function j(I){I.defaults.baseURL=n().spaceBaseUrl}return{getSpace:h,getContentType:_,getContentTypes:g,getEntry:y,getEntries:m,getAsset:b,getAssets:E,getTag:O,getTags:S,createAssetKey:w,getLocales:P,parseEntries:L,sync:A}}function i5(e){return function(n){return Object.assign({},e,n)}}function Nf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ii(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nf(Object(n),!0).forEach(function(r){a5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function a5(e,t,n){return t=o5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o5(e){var t=u5(e,"string");return typeof t=="symbol"?t:String(t)}function u5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function yL(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const n=Ii(Ii({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=fA("contentful.js/9.3.6",n.application,n.integration);n.headers=Ii(Ii({},n.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const i=kv(lO,n),a=i5({resolveLinks:n.resolveLinks,environment:n.environment,removeUnresolved:n.removeUnresolved,spaceBaseUrl:i.defaults.baseURL,environmentBaseUrl:`${i.defaults.baseURL}environments/${n.environment}`});return i.defaults.baseURL=a().environmentBaseUrl,r5({http:i,getGlobalOptions:a})}var s5={};const jv=md(or);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(I){return I&&typeof I=="object"&&"default"in I?I.default:I}var n=jv,r=t(n),i=function(){return i=Object.assign||function(C){for(var R,$=1,B=arguments.length;$<B;$++){R=arguments[$];for(var Y in R)Object.prototype.hasOwnProperty.call(R,Y)&&(C[Y]=R[Y])}return C},i.apply(this,arguments)},a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof J<"u"?J:typeof self<"u"?self:{};function o(I){return I&&I.__esModule&&Object.prototype.hasOwnProperty.call(I,"default")?I.default:I}function u(I,C){return C={exports:{}},I(C,C.exports),C.exports}var s=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.BLOCKS=void 0,function(R){R.DOCUMENT="document",R.PARAGRAPH="paragraph",R.HEADING_1="heading-1",R.HEADING_2="heading-2",R.HEADING_3="heading-3",R.HEADING_4="heading-4",R.HEADING_5="heading-5",R.HEADING_6="heading-6",R.OL_LIST="ordered-list",R.UL_LIST="unordered-list",R.LIST_ITEM="list-item",R.HR="hr",R.QUOTE="blockquote",R.EMBEDDED_ENTRY="embedded-entry-block",R.EMBEDDED_ASSET="embedded-asset-block",R.EMBEDDED_RESOURCE="embedded-resource-block",R.TABLE="table",R.TABLE_ROW="table-row",R.TABLE_CELL="table-cell",R.TABLE_HEADER_CELL="table-header-cell"}(C.BLOCKS||(C.BLOCKS={}))});o(s),s.BLOCKS;var c=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.INLINES=void 0,function(R){R.HYPERLINK="hyperlink",R.ENTRY_HYPERLINK="entry-hyperlink",R.ASSET_HYPERLINK="asset-hyperlink",R.RESOURCE_HYPERLINK="resource-hyperlink",R.EMBEDDED_ENTRY="embedded-entry-inline",R.EMBEDDED_RESOURCE="embedded-resource-inline"}(C.INLINES||(C.INLINES={}))});o(c),c.INLINES;var f=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0});var R;(function($){$.BOLD="bold",$.ITALIC="italic",$.UNDERLINE="underline",$.CODE="code",$.SUPERSCRIPT="superscript",$.SUBSCRIPT="subscript"})(R||(R={})),C.default=R});o(f);var l=u(function(I,C){var R=a&&a.__spreadArray||function(z,X,x){if(x||arguments.length===2)for(var U=0,q=X.length,H;U<q;U++)(H||!(U in X))&&(H||(H=Array.prototype.slice.call(X,0,U)),H[U]=X[U]);return z.concat(H||Array.prototype.slice.call(X))},$=a&&a.__importDefault||function(z){return z&&z.__esModule?z:{default:z}},B;Object.defineProperty(C,"__esModule",{value:!0}),C.V1_MARKS=C.V1_NODE_TYPES=C.TEXT_CONTAINERS=C.HEADINGS=C.CONTAINERS=C.VOID_BLOCKS=C.TABLE_BLOCKS=C.LIST_ITEM_BLOCKS=C.TOP_LEVEL_BLOCKS=void 0;var Y=$(f);C.TOP_LEVEL_BLOCKS=[s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE,s.BLOCKS.TABLE],C.LIST_ITEM_BLOCKS=[s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE],C.TABLE_BLOCKS=[s.BLOCKS.TABLE,s.BLOCKS.TABLE_ROW,s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],C.VOID_BLOCKS=[s.BLOCKS.HR,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE],C.CONTAINERS=(B={},B[s.BLOCKS.OL_LIST]=[s.BLOCKS.LIST_ITEM],B[s.BLOCKS.UL_LIST]=[s.BLOCKS.LIST_ITEM],B[s.BLOCKS.LIST_ITEM]=C.LIST_ITEM_BLOCKS,B[s.BLOCKS.QUOTE]=[s.BLOCKS.PARAGRAPH],B[s.BLOCKS.TABLE]=[s.BLOCKS.TABLE_ROW],B[s.BLOCKS.TABLE_ROW]=[s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],B[s.BLOCKS.TABLE_CELL]=[s.BLOCKS.PARAGRAPH],B[s.BLOCKS.TABLE_HEADER_CELL]=[s.BLOCKS.PARAGRAPH],B),C.HEADINGS=[s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6],C.TEXT_CONTAINERS=R([s.BLOCKS.PARAGRAPH],C.HEADINGS,!0),C.V1_NODE_TYPES=[s.BLOCKS.DOCUMENT,s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.LIST_ITEM,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,c.INLINES.HYPERLINK,c.INLINES.ENTRY_HYPERLINK,c.INLINES.ASSET_HYPERLINK,c.INLINES.EMBEDDED_ENTRY,"text"],C.V1_MARKS=[Y.default.BOLD,Y.default.CODE,Y.default.ITALIC,Y.default.UNDERLINE]});o(l),l.V1_MARKS,l.V1_NODE_TYPES,l.TEXT_CONTAINERS,l.HEADINGS,l.CONTAINERS,l.VOID_BLOCKS,l.TABLE_BLOCKS,l.LIST_ITEM_BLOCKS,l.TOP_LEVEL_BLOCKS;var d=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(d);var p=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(p);var v=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0});var R={nodeType:s.BLOCKS.DOCUMENT,data:{},content:[{nodeType:s.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};C.default=R});o(v);var h=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.isText=C.isBlock=C.isInline=void 0;function R(z,X){for(var x=0,U=Object.keys(z);x<U.length;x++){var q=U[x];if(X===z[q])return!0}return!1}function $(z){return R(c.INLINES,z.nodeType)}C.isInline=$;function B(z){return R(s.BLOCKS,z.nodeType)}C.isBlock=B;function Y(z){return z.nodeType==="text"}C.isText=Y});o(h),h.isText,h.isBlock,h.isInline;var _=u(function(I,C){var R=a&&a.__createBinding||(Object.create?function(x,U,q,H){H===void 0&&(H=q);var ne=Object.getOwnPropertyDescriptor(U,q);(!ne||("get"in ne?!U.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return U[q]}}),Object.defineProperty(x,H,ne)}:function(x,U,q,H){H===void 0&&(H=q),x[H]=U[q]}),$=a&&a.__setModuleDefault||(Object.create?function(x,U){Object.defineProperty(x,"default",{enumerable:!0,value:U})}:function(x,U){x.default=U}),B=a&&a.__exportStar||function(x,U){for(var q in x)q!=="default"&&!Object.prototype.hasOwnProperty.call(U,q)&&R(U,x,q)},Y=a&&a.__importStar||function(x){if(x&&x.__esModule)return x;var U={};if(x!=null)for(var q in x)q!=="default"&&Object.prototype.hasOwnProperty.call(x,q)&&R(U,x,q);return $(U,x),U},z=a&&a.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(C,"__esModule",{value:!0}),C.helpers=C.EMPTY_DOCUMENT=C.MARKS=C.INLINES=C.BLOCKS=void 0,Object.defineProperty(C,"BLOCKS",{enumerable:!0,get:function(){return s.BLOCKS}}),Object.defineProperty(C,"INLINES",{enumerable:!0,get:function(){return c.INLINES}}),Object.defineProperty(C,"MARKS",{enumerable:!0,get:function(){return z(f).default}}),B(l,C),B(d,C),B(p,C),Object.defineProperty(C,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return z(v).default}});var X=Y(h);C.helpers=X});o(_);var g=_.helpers;_.EMPTY_DOCUMENT;var y=_.MARKS,m=_.INLINES,b=_.BLOCKS;function E(I,C){return n.isValidElement(I)&&I.key===null?n.cloneElement(I,{key:C}):I}function O(I,C){return I.map(function(R,$){return E(S(R,C),$)})}function S(I,C){var R=C.renderNode,$=C.renderMark,B=C.renderText,Y=C.preserveWhitespace;if(g.isText(I)){var z=B?B(I.value):I.value;if(Y){z=z.replace(/ {2,}/g,function(q){return" ".repeat(q.length)});var X=z.split(`
|
|
17
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,u;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return a=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw u}}}}function JP(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ZP(e){var t=JP(e,"string");return typeof t=="symbol"?t:String(t)}function eA(){return typeof process<"u"&&!process.browser}function tA(){return typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"}function nA(){return process.versions&&process.versions.node?"v".concat(process.versions.node):process.version}function rA(){return window}function $u(){}var ju=Du(/(\d+)(%)/,{value:1});function $o(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:7,n=t;if(ju.test(e)){var r,i=(r=e.match(ju))===null||r===void 0?void 0:r.groups;if(i&&i.value){var a=parseInt(i.value)/100;n=Math.round(t*a)}}return Math.min(30,Math.max(1,n))}function Of(e,t){return t("info","Throttle request to ".concat(e,"/s")),WP({limit:e,interval:1e3,strict:!1})}var iA=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",n=e.defaults.logHandler,r=n===void 0?$u:n,i=Ol(t)?$o(t):$o("auto",t),a=Of(i,r),o=!1,u=e.interceptors.request.use(function(c){return a(function(){return c})()},function(c){return Promise.reject(c)}),s=e.interceptors.response.use(function(c){if(!o&&Ol(t)&&(t==="auto"||ju.test(t))&&c.headers&&c.headers["x-contentful-ratelimit-second-limit"]){var f=parseInt(c.headers["x-contentful-ratelimit-second-limit"]),l=$o(t,f);l!==i&&(u&&e.interceptors.request.eject(u),i=l,a=Of(l,r),u=e.interceptors.request.use(function(d){return a(function(){return d})()},function(d){return Promise.reject(d)})),o=!0}return c},function(c){return Promise.reject(c)});return function(){e.interceptors.request.eject(u),e.interceptors.response.eject(s)}},aA=function(t){return new Promise(function(n){setTimeout(n,t)})},oA=function(t){return Math.pow(Math.SQRT2,t)};function uA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,n=e.defaults,r=n.responseLogger,i=r===void 0?$u:r,a=n.requestLogger,o=a===void 0?$u:a;e.interceptors.request.use(function(u){return o(u),u},function(u){return o(u),Promise.reject(u)}),e.interceptors.response.use(function(u){return i(u),u},function(u){var s=u.response,c=u.config;if(i(u),!c||!e.defaults.retryOnError)return Promise.reject(u);var f=c.attempts||1;if(f>t)return u.attempts=c.attempts,Promise.reject(u);var l=null,d=oA(f);return s?s.status>=500&&s.status<600?l="Server ".concat(s.status):s.status===429&&(l="Rate limit",s.headers&&u.response.headers["x-contentful-ratelimit-reset"]&&(d=s.headers["x-contentful-ratelimit-reset"])):l="Connection",l?(d=Math.floor(d*1e3+Math.random()*200+500),e.defaults.logHandler("warning","".concat(l," error occurred. Waiting for ").concat(d," ms before retrying...")),c.attempts=f+1,delete c.httpAgent,delete c.httpsAgent,aA(d).then(function(){return e(c)})):Promise.reject(u)})}function sA(e,t){e.interceptors.request.use(function(n){return t().then(function(r){return n.headers=Gn(Gn({},n.headers),{},{Authorization:"Bearer ".concat(r)}),n})})}var lA=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function kv(e,t){var n={insecure:!1,retryOnError:!0,logHandler:function(h,_){if(h==="error"&&_){var g=[_.name,_.message].filter(function(y){return y}).join(" - ");console.error("[error] ".concat(g)),console.error(_);return}console.log("[".concat(h,"] ").concat(_))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,proxy:!1,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824},r=Gn(Gn({},n),t);if(!r.accessToken){var i=new TypeError("Expected parameter accessToken");throw r.logHandler("error",i),i}var a=r.insecure?"http":"https",o=r.space?"".concat(r.space,"/"):"",u=r.defaultHostname,s=r.insecure?80:443;if(r.host&&lA.test(r.host)){var c=r.host.split(":");if(c.length===2){var f=VP(c,2);u=f[0],s=f[1]}else u=c[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var l=t.baseURL||"".concat(a,"://").concat(u,":").concat(s).concat(r.basePath,"/spaces/").concat(o);!r.headers.Authorization&&typeof r.accessToken!="function"&&(r.headers.Authorization="Bearer "+r.accessToken);var d={baseURL:l,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,paramsSerializer:xP.stringify,proxy:r.proxy,timeout:r.timeout,adapter:r.adapter,maxContentLength:r.maxContentLength,maxBodyLength:r.maxBodyLength,logHandler:r.logHandler,responseLogger:r.responseLogger,requestLogger:r.requestLogger,retryOnError:r.retryOnError},p=e.create(d);return p.httpClientParams=t,p.cloneWithNewParams=function(v){return kv(e,Gn(Gn({},De(t)),v))},r.onBeforeRequest&&p.interceptors.request.use(r.onBeforeRequest),typeof r.accessToken=="function"&&sA(p,r.accessToken),r.throttle&&iA(p,r.throttle),uA(p,r.retryLimit),r.onError&&p.interceptors.response.use(function(v){return v},r.onError),p}function gn(e){var t=e.query,n={};return delete t.resolveLinks,n.params=De(t),n}function Nv(e){var t=Object.getOwnPropertyNames(e),n=QP(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value,a=e[i];a&&Mu(a)==="object"&&Nv(a)}}catch(o){n.e(o)}finally{n.f()}return Object.freeze(e)}function it(e){return Nv(e.sys||{}),e}function Pf(){var e=rA();if(!e)return null;var t=e.navigator.userAgent,n=e.navigator.platform,r=["Macintosh","MacIntel","MacPPC","Mac68K"],i=["Win32","Win64","Windows","WinCE"],a=["iPhone","iPad","iPod"];return r.indexOf(n)!==-1?"macOS":a.indexOf(n)!==-1?"iOS":i.indexOf(n)!==-1?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function cA(){var e=process.platform||"linux",t=process.version||"0.0.0",n={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return e in n?"".concat(n[e]||"Linux","/").concat(t):null}function fA(e,t,n,r){var i=[];t&&i.push("app ".concat(t)),n&&i.push("integration ".concat(n)),r&&i.push("feature "+r),i.push("sdk ".concat(e));var a=null;try{tA()?(a=Pf(),i.push("platform ReactNative")):eA()?(a=cA(),i.push("platform node.js/".concat(nA()))):(a=Pf(),i.push("platform browser"))}catch{a=null}return a&&i.push("os ".concat(a)),"".concat(i.filter(function(o){return o!==""}).join("; "),";")}function Ye(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return De(this)}})}function ft(e){var t=e.config,n=e.response,r;if(t&&t.headers&&t.headers.Authorization){var i="...".concat(t.headers.Authorization.toString().substr(-5));t.headers.Authorization="Bearer ".concat(i)}if(!wi(n)||!wi(t))throw e;var a=n==null?void 0:n.data,o={status:n==null?void 0:n.status,statusText:n==null?void 0:n.statusText,message:"",details:{}};wi(t)&&(o.request={url:t.url,headers:t.headers,method:t.method,payloadData:t.data}),a&&wi(a)&&("requestId"in a&&(o.requestId=a.requestId||"UNKNOWN"),"message"in a&&(o.message=a.message||""),"details"in a&&(o.details=a.details||{}),"sys"in a&&"id"in a.sys&&(r=a.sys.id));var u=new Error;u.name=r&&r!=="Unknown"?r:"".concat(n==null?void 0:n.status," ").concat(n==null?void 0:n.statusText);try{u.message=JSON.stringify(o,null," ")}catch{var s;u.message=(s=o==null?void 0:o.message)!==null&&s!==void 0?s:""}throw u}function dA(e){return it(Ye(e))}const pA=Object.freeze(Object.defineProperty({__proto__:null,wrapSpace:dA},Symbol.toStringTag,{value:"Module"}));var Bu={exports:{}};(function(e,t){t=e.exports=n,t.getSerialize=r;function n(i,a,o,u){return JSON.stringify(i,r(a,u),o)}function r(i,a){var o=[],u=[];return a==null&&(a=function(s,c){return o[0]===c?"[Circular ~]":"[Circular ~."+u.slice(0,o.indexOf(c)).join(".")+"]"}),function(s,c){if(o.length>0){var f=o.indexOf(this);~f?o.splice(f+1):o.push(this),~f?u.splice(f,1/0,s):u.push(s),~o.indexOf(c)&&(c=a.call(this,s,c))}else o.push(c);return i==null?c:i.call(this,s,c)}}})(Bu,Bu.exports);var hA=Bu.exports;const vA=yr(hA);function Mv(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return vA(this,t,n,(r,i)=>({sys:{type:"Link",linkType:"Entry",id:i.sys.id,circular:!0}}))}})}var mA=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yA=function(){function e(t,n){var r=[],i=!0,a=!1,o=void 0;try{for(var u=t[Symbol.iterator](),s;!(i=(s=u.next()).done)&&(r.push(s.value),!(n&&r.length===n));i=!0);}catch(c){a=!0,o=c}finally{try{!i&&u.return&&u.return()}finally{if(a)throw o}}return r}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function jr(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var ri={},gA=function(t){return t&&t.sys&&t.sys.type==="Link"},bA=function(t){return t&&t.sys&&t.sys.type==="ResourceLink"},_A=function(t){return t.space&&t.environment?[t.type+"!"+t.id,t.space.sys.id+"!"+t.environment.sys.id+"!"+t.type+"!"+t.id]:[t.type+"!"+t.id]},Af=function(t,n){var r=n.entryId,i=n.linkType,a=n.spaceId,o=n.environmentId;return a&&o?t.get(a+"!"+o+"!"+i+"!"+r):t.get(i+"!"+r)},wA=function(t){var n=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(n.test(t)){var r=t.match(n),i=yA(r,4);i[0];var a=i[1],o=i[2],u=o===void 0?"master":o,s=i[3];return{spaceId:a,environmentId:u,entryId:s}}},EA=function(t,n){var r=n.sys,i=r.type,a=r.linkType;if(i==="ResourceLink"){var o=n.sys.urn,u=wA(o),s=u.spaceId,c=u.environmentId,f=u.entryId,l=a.split(":")[1];return Af(t,{linkType:l,entryId:f,spaceId:s,environmentId:c})||ri}var d=n.sys.id;return Af(t,{linkType:a,entryId:d})||ri},SA=function(t){if(Array.isArray(t))return t.filter(function(r){return r!==ri});for(var n in t)t[n]===ri&&delete t[n];return t},OA=function e(t,n,r,i){if(n(t))return r(t);if(t&&(typeof t>"u"?"undefined":mA(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=SA(t))}return t},PA=function(t,n,r){var i=EA(t,n);return i===ri?r?i:n:i},AA=function(t,n){if(!Array.isArray(n))return t;var r=Object.keys(t).filter(function(i){return n.indexOf(i)!==-1});return r.reduce(function(i,a){return i[a]=t[a],i},{})},Dv=function(t,n){if(n=n||{},!t.items)return[];var r=De(t),i=Object.keys(r.includes||{}).reduce(function(u,s){return[].concat(jr(u),jr(t.includes[s]))},[]),a=[].concat(jr(r.items),jr(i)).filter(function(u){return!!u.sys}),o=new Map(a.reduce(function(u,s){var c=_A(s.sys).map(function(f){return[f,s]});return u.push.apply(u,jr(c)),u},[]));return a.forEach(function(u){var s=AA(u,n.itemEntryPoints);Object.assign(u,OA(s,function(c){return gA(c)||bA(c)},function(c){return PA(o,c,n.removeUnresolved)},n.removeUnresolved))}),r.items};function TA(e){return it(Ye(De(e)))}function CA(e,t){let{resolveLinks:n,removeUnresolved:r}=t;const i=Mv(Ye(De(e)));return n&&(i.items=Dv(i,{removeUnresolved:r,itemEntryPoints:["fields"]})),it(i)}const IA=Object.freeze(Object.defineProperty({__proto__:null,wrapEntry:TA,wrapEntryCollection:CA},Symbol.toStringTag,{value:"Module"}));function LA(e){return it(Ye(De(e)))}function RA(e){return it(Ye(De(e)))}const kA=Object.freeze(Object.defineProperty({__proto__:null,wrapAsset:LA,wrapAssetCollection:RA},Symbol.toStringTag,{value:"Module"}));function NA(e){return it(Ye(De(e)))}const MA=Object.freeze(Object.defineProperty({__proto__:null,wrapAssetKey:NA},Symbol.toStringTag,{value:"Module"}));function DA(e){return it(Ye(De(e)))}function $A(e){return it(Ye(De(e)))}const jA=Object.freeze(Object.defineProperty({__proto__:null,wrapContentType:DA,wrapContentTypeCollection:$A},Symbol.toStringTag,{value:"Module"}));function BA(e){return it(Ye(De(e)))}function FA(e){return it(Ye(De(e)))}const UA=Object.freeze(Object.defineProperty({__proto__:null,wrapLocale:BA,wrapLocaleCollection:FA},Symbol.toStringTag,{value:"Module"}));function xA(e){return it(Ye(De(e)))}function HA(e){return it(Ye(De(e)))}const KA=Object.freeze(Object.defineProperty({__proto__:null,wrapTag:xA,wrapTagCollection:HA},Symbol.toStringTag,{value:"Module"})),mn={space:pA,entry:IA,asset:kA,assetKey:MA,contentType:jA,locale:UA,tag:KA};function Tf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Cf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Tf(Object(n),!0).forEach(function(r){WA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function WA(e,t,n){return t=zA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zA(e){var t=qA(e,"string");return typeof t=="symbol"?t:String(t)}function qA(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}async function GA(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t&&t.content_type&&!t.type)t.type="Entry";else if(t&&t.content_type&&t.type&&t.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const r={resolveLinks:!0,removeUnresolved:!1,paginate:!0},{resolveLinks:i,removeUnresolved:a,paginate:o}=Cf(Cf({},r),n),s=await $v(e,[],t,{paginate:o});i&&(s.items=Dv(s,{removeUnresolved:a,itemEntryPoints:["fields"]}));const c=VA(s.items);return s.nextSyncToken&&(c.nextSyncToken=s.nextSyncToken),s.nextPageToken&&(c.nextPageToken=s.nextPageToken),it(Mv(Ye(c)))}function VA(e){const t=n=>(r,i)=>(i.sys.type===n&&r.push(Ye(i)),r);return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}async function $v(e,t,n,r){let{paginate:i}=r;n.nextSyncToken&&(n.sync_token=n.nextSyncToken,delete n.nextSyncToken),n.nextPageToken&&(n.sync_token=n.nextPageToken,delete n.nextPageToken),n.sync_token&&(delete n.initial,delete n.type,delete n.content_type,delete n.limit);const o=(await e.get("sync",gn({query:n}))).data||{};return t=t.concat(o.items||[]),o.nextPageUrl?i?(delete n.initial,n.sync_token=jo(o.nextPageUrl),$v(e,t,n,{paginate:i})):{items:t,nextPageToken:jo(o.nextPageUrl)}:o.nextSyncUrl?{items:t,nextSyncToken:jo(o.nextSyncUrl)}:{items:[]}}function jo(e){const t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function If(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Lf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?If(Object(n),!0).forEach(function(r){YA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):If(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function YA(e,t,n){return t=XA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XA(e){var t=QA(e,"string");return typeof t=="symbol"?t:String(t)}function QA(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ci(e){if(!e.select)return e;const t=Array.isArray(e.select)?e.select:e.select.split(",").map(r=>r.trim()),n=new Set(t);return n.has("sys")?e:(n.add("sys.id"),n.add("sys.type"),Lf(Lf({},e),{},{select:[...n].join(",")}))}class Bo extends Error{constructor(t,n){super(`Invalid "${t}" provided, `+n),this.name="ValidationError"}}function JA(e,t,n){if(n=n||{},typeof t!="number")throw new Bo(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new Bo(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new Bo(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}function Rf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function kf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Rf(Object(n),!0).forEach(function(r){ZA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ZA(e,t,n){return t=e5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e5(e){var t=t5(e,"string");return typeof t=="symbol"?t:String(t)}function t5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const n5=48*60*60;function r5(e){let{http:t,getGlobalOptions:n}=e;const{wrapSpace:r}=mn.space,{wrapContentType:i,wrapContentTypeCollection:a}=mn.contentType,{wrapEntry:o,wrapEntryCollection:u}=mn.entry,{wrapAsset:s,wrapAssetCollection:c}=mn.asset,{wrapTag:f,wrapTagCollection:l}=mn.tag,{wrapAssetKey:d}=mn.assetKey,{wrapLocaleCollection:p}=mn.locale,v=I=>{const C=new Error("The resource could not be found.");return C.sys={type:"Error",id:"NotFound"},C.details={type:"Entry",id:I,environment:n().environment,space:n().space},C};async function h(){j(t);try{const I=await t.get("/");return r(I.data)}catch(I){ft(I)}}async function _(I){D(t);try{const C=await t.get(`content_types/${I}`);return i(C.data)}catch(C){ft(C)}}async function g(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);try{const C=await t.get("content_types",gn({query:I}));return a(C.data)}catch(C){ft(C)}}async function y(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!I)throw v(I);try{const R=await this.getEntries(kf({"sys.id":I},C));if(R.items.length>0)return o(R.items[0]);throw v(I)}catch(R){ft(R)}}async function m(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);const{resolveLinks:C,removeUnresolved:R}=n(I);I=Ci(I);try{const $=await t.get("entries",gn({query:I}));return u($.data,{resolveLinks:C,removeUnresolved:R})}catch($){ft($)}}async function b(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D(t),C=Ci(C);try{const R=await t.get(`assets/${I}`,gn({query:C}));return s(R.data)}catch(R){ft(R)}}async function E(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t),I=Ci(I);try{const C=await t.get("assets",gn({query:I}));return c(C.data)}catch(C){ft(C)}}async function O(I){D(t);try{const C=await t.get(`tags/${I}`);return f(C.data)}catch(C){ft(C)}}async function S(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t),I=Ci(I);try{const C=await t.get("tags",gn({query:I}));return l(C.data)}catch(C){ft(C)}}async function w(I){D(t);try{const C=Math.floor(Date.now()/1e3),R=C+n5;JA("expiresAt",I,{maximum:R,now:C});const $={expiresAt:I},B=await t.post("asset_keys",$);return d(B.data)}catch(C){ft(C)}}async function P(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};D(t);try{const C=await t.get("locales",gn({query:I}));return p(C.data)}catch(C){ft(C)}}async function A(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{paginate:!0};const{resolveLinks:R,removeUnresolved:$}=n(I);return D(t),GA(t,I,kf({resolveLinks:R,removeUnresolved:$},C))}function L(I){const{resolveLinks:C,removeUnresolved:R}=n({});return u(I,{resolveLinks:C,removeUnresolved:R})}function D(I){I.defaults.baseURL=n().environmentBaseUrl}function j(I){I.defaults.baseURL=n().spaceBaseUrl}return{getSpace:h,getContentType:_,getContentTypes:g,getEntry:y,getEntries:m,getAsset:b,getAssets:E,getTag:O,getTags:S,createAssetKey:w,getLocales:P,parseEntries:L,sync:A}}function i5(e){return function(n){return Object.assign({},e,n)}}function Nf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ii(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Nf(Object(n),!0).forEach(function(r){a5(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function a5(e,t,n){return t=o5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o5(e){var t=u5(e,"string");return typeof t=="symbol"?t:String(t)}function u5(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function yL(e){if(!e.accessToken)throw new TypeError("Expected parameter accessToken");if(!e.space)throw new TypeError("Expected parameter space");const n=Ii(Ii({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=fA("contentful.js/9.3.6",n.application,n.integration);n.headers=Ii(Ii({},n.headers),{},{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});const i=kv(l2,n),a=i5({resolveLinks:n.resolveLinks,environment:n.environment,removeUnresolved:n.removeUnresolved,spaceBaseUrl:i.defaults.baseURL,environmentBaseUrl:`${i.defaults.baseURL}environments/${n.environment}`});return i.defaults.baseURL=a().environmentBaseUrl,r5({http:i,getGlobalOptions:a})}var s5={};const jv=md(or);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(I){return I&&typeof I=="object"&&"default"in I?I.default:I}var n=jv,r=t(n),i=function(){return i=Object.assign||function(C){for(var R,$=1,B=arguments.length;$<B;$++){R=arguments[$];for(var Y in R)Object.prototype.hasOwnProperty.call(R,Y)&&(C[Y]=R[Y])}return C},i.apply(this,arguments)},a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof J<"u"?J:typeof self<"u"?self:{};function o(I){return I&&I.__esModule&&Object.prototype.hasOwnProperty.call(I,"default")?I.default:I}function u(I,C){return C={exports:{}},I(C,C.exports),C.exports}var s=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.BLOCKS=void 0,function(R){R.DOCUMENT="document",R.PARAGRAPH="paragraph",R.HEADING_1="heading-1",R.HEADING_2="heading-2",R.HEADING_3="heading-3",R.HEADING_4="heading-4",R.HEADING_5="heading-5",R.HEADING_6="heading-6",R.OL_LIST="ordered-list",R.UL_LIST="unordered-list",R.LIST_ITEM="list-item",R.HR="hr",R.QUOTE="blockquote",R.EMBEDDED_ENTRY="embedded-entry-block",R.EMBEDDED_ASSET="embedded-asset-block",R.EMBEDDED_RESOURCE="embedded-resource-block",R.TABLE="table",R.TABLE_ROW="table-row",R.TABLE_CELL="table-cell",R.TABLE_HEADER_CELL="table-header-cell"}(C.BLOCKS||(C.BLOCKS={}))});o(s),s.BLOCKS;var c=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.INLINES=void 0,function(R){R.HYPERLINK="hyperlink",R.ENTRY_HYPERLINK="entry-hyperlink",R.ASSET_HYPERLINK="asset-hyperlink",R.RESOURCE_HYPERLINK="resource-hyperlink",R.EMBEDDED_ENTRY="embedded-entry-inline",R.EMBEDDED_RESOURCE="embedded-resource-inline"}(C.INLINES||(C.INLINES={}))});o(c),c.INLINES;var f=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0});var R;(function($){$.BOLD="bold",$.ITALIC="italic",$.UNDERLINE="underline",$.CODE="code",$.SUPERSCRIPT="superscript",$.SUBSCRIPT="subscript"})(R||(R={})),C.default=R});o(f);var l=u(function(I,C){var R=a&&a.__spreadArray||function(z,X,x){if(x||arguments.length===2)for(var U=0,q=X.length,H;U<q;U++)(H||!(U in X))&&(H||(H=Array.prototype.slice.call(X,0,U)),H[U]=X[U]);return z.concat(H||Array.prototype.slice.call(X))},$=a&&a.__importDefault||function(z){return z&&z.__esModule?z:{default:z}},B;Object.defineProperty(C,"__esModule",{value:!0}),C.V1_MARKS=C.V1_NODE_TYPES=C.TEXT_CONTAINERS=C.HEADINGS=C.CONTAINERS=C.VOID_BLOCKS=C.TABLE_BLOCKS=C.LIST_ITEM_BLOCKS=C.TOP_LEVEL_BLOCKS=void 0;var Y=$(f);C.TOP_LEVEL_BLOCKS=[s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE,s.BLOCKS.TABLE],C.LIST_ITEM_BLOCKS=[s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE],C.TABLE_BLOCKS=[s.BLOCKS.TABLE,s.BLOCKS.TABLE_ROW,s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],C.VOID_BLOCKS=[s.BLOCKS.HR,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,s.BLOCKS.EMBEDDED_RESOURCE],C.CONTAINERS=(B={},B[s.BLOCKS.OL_LIST]=[s.BLOCKS.LIST_ITEM],B[s.BLOCKS.UL_LIST]=[s.BLOCKS.LIST_ITEM],B[s.BLOCKS.LIST_ITEM]=C.LIST_ITEM_BLOCKS,B[s.BLOCKS.QUOTE]=[s.BLOCKS.PARAGRAPH],B[s.BLOCKS.TABLE]=[s.BLOCKS.TABLE_ROW],B[s.BLOCKS.TABLE_ROW]=[s.BLOCKS.TABLE_CELL,s.BLOCKS.TABLE_HEADER_CELL],B[s.BLOCKS.TABLE_CELL]=[s.BLOCKS.PARAGRAPH],B[s.BLOCKS.TABLE_HEADER_CELL]=[s.BLOCKS.PARAGRAPH],B),C.HEADINGS=[s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6],C.TEXT_CONTAINERS=R([s.BLOCKS.PARAGRAPH],C.HEADINGS,!0),C.V1_NODE_TYPES=[s.BLOCKS.DOCUMENT,s.BLOCKS.PARAGRAPH,s.BLOCKS.HEADING_1,s.BLOCKS.HEADING_2,s.BLOCKS.HEADING_3,s.BLOCKS.HEADING_4,s.BLOCKS.HEADING_5,s.BLOCKS.HEADING_6,s.BLOCKS.OL_LIST,s.BLOCKS.UL_LIST,s.BLOCKS.LIST_ITEM,s.BLOCKS.HR,s.BLOCKS.QUOTE,s.BLOCKS.EMBEDDED_ENTRY,s.BLOCKS.EMBEDDED_ASSET,c.INLINES.HYPERLINK,c.INLINES.ENTRY_HYPERLINK,c.INLINES.ASSET_HYPERLINK,c.INLINES.EMBEDDED_ENTRY,"text"],C.V1_MARKS=[Y.default.BOLD,Y.default.CODE,Y.default.ITALIC,Y.default.UNDERLINE]});o(l),l.V1_MARKS,l.V1_NODE_TYPES,l.TEXT_CONTAINERS,l.HEADINGS,l.CONTAINERS,l.VOID_BLOCKS,l.TABLE_BLOCKS,l.LIST_ITEM_BLOCKS,l.TOP_LEVEL_BLOCKS;var d=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(d);var p=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0})});o(p);var v=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0});var R={nodeType:s.BLOCKS.DOCUMENT,data:{},content:[{nodeType:s.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};C.default=R});o(v);var h=u(function(I,C){Object.defineProperty(C,"__esModule",{value:!0}),C.isText=C.isBlock=C.isInline=void 0;function R(z,X){for(var x=0,U=Object.keys(z);x<U.length;x++){var q=U[x];if(X===z[q])return!0}return!1}function $(z){return R(c.INLINES,z.nodeType)}C.isInline=$;function B(z){return R(s.BLOCKS,z.nodeType)}C.isBlock=B;function Y(z){return z.nodeType==="text"}C.isText=Y});o(h),h.isText,h.isBlock,h.isInline;var _=u(function(I,C){var R=a&&a.__createBinding||(Object.create?function(x,U,q,H){H===void 0&&(H=q);var ne=Object.getOwnPropertyDescriptor(U,q);(!ne||("get"in ne?!U.__esModule:ne.writable||ne.configurable))&&(ne={enumerable:!0,get:function(){return U[q]}}),Object.defineProperty(x,H,ne)}:function(x,U,q,H){H===void 0&&(H=q),x[H]=U[q]}),$=a&&a.__setModuleDefault||(Object.create?function(x,U){Object.defineProperty(x,"default",{enumerable:!0,value:U})}:function(x,U){x.default=U}),B=a&&a.__exportStar||function(x,U){for(var q in x)q!=="default"&&!Object.prototype.hasOwnProperty.call(U,q)&&R(U,x,q)},Y=a&&a.__importStar||function(x){if(x&&x.__esModule)return x;var U={};if(x!=null)for(var q in x)q!=="default"&&Object.prototype.hasOwnProperty.call(x,q)&&R(U,x,q);return $(U,x),U},z=a&&a.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(C,"__esModule",{value:!0}),C.helpers=C.EMPTY_DOCUMENT=C.MARKS=C.INLINES=C.BLOCKS=void 0,Object.defineProperty(C,"BLOCKS",{enumerable:!0,get:function(){return s.BLOCKS}}),Object.defineProperty(C,"INLINES",{enumerable:!0,get:function(){return c.INLINES}}),Object.defineProperty(C,"MARKS",{enumerable:!0,get:function(){return z(f).default}}),B(l,C),B(d,C),B(p,C),Object.defineProperty(C,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return z(v).default}});var X=Y(h);C.helpers=X});o(_);var g=_.helpers;_.EMPTY_DOCUMENT;var y=_.MARKS,m=_.INLINES,b=_.BLOCKS;function E(I,C){return n.isValidElement(I)&&I.key===null?n.cloneElement(I,{key:C}):I}function O(I,C){return I.map(function(R,$){return E(S(R,C),$)})}function S(I,C){var R=C.renderNode,$=C.renderMark,B=C.renderText,Y=C.preserveWhitespace;if(g.isText(I)){var z=B?B(I.value):I.value;if(Y){z=z.replace(/ {2,}/g,function(q){return" ".repeat(q.length)});var X=z.split(`
|
|
18
18
|
`),x=[];X.forEach(function(q,H){x.push(q),H!==X.length-1&&x.push(r.createElement("br",null))}),z=x}return I.marks.reduce(function(q,H){return $[H.type]?$[H.type](q):q},z)}else{var U=O(I.content,C);return!I.nodeType||!R[I.nodeType]?r.createElement(r.Fragment,null,U):R[I.nodeType](I,U)}}var w,P,A=(w={},w[b.DOCUMENT]=function(I,C){return C},w[b.PARAGRAPH]=function(I,C){return r.createElement("p",null,C)},w[b.HEADING_1]=function(I,C){return r.createElement("h1",null,C)},w[b.HEADING_2]=function(I,C){return r.createElement("h2",null,C)},w[b.HEADING_3]=function(I,C){return r.createElement("h3",null,C)},w[b.HEADING_4]=function(I,C){return r.createElement("h4",null,C)},w[b.HEADING_5]=function(I,C){return r.createElement("h5",null,C)},w[b.HEADING_6]=function(I,C){return r.createElement("h6",null,C)},w[b.EMBEDDED_ENTRY]=function(I,C){return r.createElement("div",null,C)},w[b.EMBEDDED_RESOURCE]=function(I,C){return r.createElement("div",null,C)},w[b.UL_LIST]=function(I,C){return r.createElement("ul",null,C)},w[b.OL_LIST]=function(I,C){return r.createElement("ol",null,C)},w[b.LIST_ITEM]=function(I,C){return r.createElement("li",null,C)},w[b.QUOTE]=function(I,C){return r.createElement("blockquote",null,C)},w[b.HR]=function(){return r.createElement("hr",null)},w[b.TABLE]=function(I,C){return r.createElement("table",null,r.createElement("tbody",null,C))},w[b.TABLE_ROW]=function(I,C){return r.createElement("tr",null,C)},w[b.TABLE_HEADER_CELL]=function(I,C){return r.createElement("th",null,C)},w[b.TABLE_CELL]=function(I,C){return r.createElement("td",null,C)},w[m.ASSET_HYPERLINK]=function(I){return D(m.ASSET_HYPERLINK,I)},w[m.ENTRY_HYPERLINK]=function(I){return D(m.ENTRY_HYPERLINK,I)},w[m.EMBEDDED_ENTRY]=function(I){return D(m.EMBEDDED_ENTRY,I)},w[m.HYPERLINK]=function(I,C){return r.createElement("a",{href:I.data.uri},C)},w),L=(P={},P[y.BOLD]=function(I){return r.createElement("b",null,I)},P[y.ITALIC]=function(I){return r.createElement("i",null,I)},P[y.UNDERLINE]=function(I){return r.createElement("u",null,I)},P[y.CODE]=function(I){return r.createElement("code",null,I)},P[y.SUPERSCRIPT]=function(I){return r.createElement("sup",null,I)},P[y.SUBSCRIPT]=function(I){return r.createElement("sub",null,I)},P);function D(I,C){return r.createElement("span",{key:C.data.target.sys.id},"type: ",C.nodeType," id: ",C.data.target.sys.id)}function j(I,C){return C===void 0&&(C={}),I?S(I,{renderNode:i(i({},A),C.renderNode),renderMark:i(i({},L),C.renderMark),renderText:C.renderText,preserveWhitespace:C.preserveWhitespace}):null}e.documentToReactComponents=j})(s5);var l5={},yi={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.BLOCKS=void 0,function(t){t.DOCUMENT="document",t.PARAGRAPH="paragraph",t.HEADING_1="heading-1",t.HEADING_2="heading-2",t.HEADING_3="heading-3",t.HEADING_4="heading-4",t.HEADING_5="heading-5",t.HEADING_6="heading-6",t.OL_LIST="ordered-list",t.UL_LIST="unordered-list",t.LIST_ITEM="list-item",t.HR="hr",t.QUOTE="blockquote",t.EMBEDDED_ENTRY="embedded-entry-block",t.EMBEDDED_ASSET="embedded-asset-block",t.EMBEDDED_RESOURCE="embedded-resource-block",t.TABLE="table",t.TABLE_ROW="table-row",t.TABLE_CELL="table-cell",t.TABLE_HEADER_CELL="table-header-cell"}(e.BLOCKS||(e.BLOCKS={}))})(yi);var Va={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.INLINES=void 0,function(t){t.HYPERLINK="hyperlink",t.ENTRY_HYPERLINK="entry-hyperlink",t.ASSET_HYPERLINK="asset-hyperlink",t.RESOURCE_HYPERLINK="resource-hyperlink",t.EMBEDDED_ENTRY="embedded-entry-inline",t.EMBEDDED_RESOURCE="embedded-resource-inline"}(e.INLINES||(e.INLINES={}))})(Va);var Ya={};Object.defineProperty(Ya,"__esModule",{value:!0});var Fu;(function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"})(Fu||(Fu={}));Ya.default=Fu;var Bv={};(function(e){var t=J&&J.__spreadArray||function(u,s,c){if(c||arguments.length===2)for(var f=0,l=s.length,d;f<l;f++)(d||!(f in s))&&(d||(d=Array.prototype.slice.call(s,0,f)),d[f]=s[f]);return u.concat(d||Array.prototype.slice.call(s))},n=J&&J.__importDefault||function(u){return u&&u.__esModule?u:{default:u}},r;Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0;var i=yi,a=Va,o=n(Ya);e.TOP_LEVEL_BLOCKS=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE,i.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[i.BLOCKS.TABLE,i.BLOCKS.TABLE_ROW,i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[i.BLOCKS.HR,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,i.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=(r={},r[i.BLOCKS.OL_LIST]=[i.BLOCKS.LIST_ITEM],r[i.BLOCKS.UL_LIST]=[i.BLOCKS.LIST_ITEM],r[i.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,r[i.BLOCKS.QUOTE]=[i.BLOCKS.PARAGRAPH],r[i.BLOCKS.TABLE]=[i.BLOCKS.TABLE_ROW],r[i.BLOCKS.TABLE_ROW]=[i.BLOCKS.TABLE_CELL,i.BLOCKS.TABLE_HEADER_CELL],r[i.BLOCKS.TABLE_CELL]=[i.BLOCKS.PARAGRAPH],r[i.BLOCKS.TABLE_HEADER_CELL]=[i.BLOCKS.PARAGRAPH],r),e.HEADINGS=[i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=t([i.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[i.BLOCKS.DOCUMENT,i.BLOCKS.PARAGRAPH,i.BLOCKS.HEADING_1,i.BLOCKS.HEADING_2,i.BLOCKS.HEADING_3,i.BLOCKS.HEADING_4,i.BLOCKS.HEADING_5,i.BLOCKS.HEADING_6,i.BLOCKS.OL_LIST,i.BLOCKS.UL_LIST,i.BLOCKS.LIST_ITEM,i.BLOCKS.HR,i.BLOCKS.QUOTE,i.BLOCKS.EMBEDDED_ENTRY,i.BLOCKS.EMBEDDED_ASSET,a.INLINES.HYPERLINK,a.INLINES.ENTRY_HYPERLINK,a.INLINES.ASSET_HYPERLINK,a.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[o.default.BOLD,o.default.CODE,o.default.ITALIC,o.default.UNDERLINE]})(Bv);var Fv={};Object.defineProperty(Fv,"__esModule",{value:!0});var Uv={};Object.defineProperty(Uv,"__esModule",{value:!0});var ul={};Object.defineProperty(ul,"__esModule",{value:!0});var Mf=yi,c5={nodeType:Mf.BLOCKS.DOCUMENT,data:{},content:[{nodeType:Mf.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};ul.default=c5;var un={};Object.defineProperty(un,"__esModule",{value:!0});un.isText=un.isBlock=un.isInline=void 0;var f5=yi,d5=Va;function xv(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(t===e[i])return!0}return!1}function p5(e){return xv(d5.INLINES,e.nodeType)}un.isInline=p5;function h5(e){return xv(f5.BLOCKS,e.nodeType)}un.isBlock=h5;function v5(e){return e.nodeType==="text"}un.isText=v5;(function(e){var t=J&&J.__createBinding||(Object.create?function(l,d,p,v){v===void 0&&(v=p);var h=Object.getOwnPropertyDescriptor(d,p);(!h||("get"in h?!d.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return d[p]}}),Object.defineProperty(l,v,h)}:function(l,d,p,v){v===void 0&&(v=p),l[v]=d[p]}),n=J&&J.__setModuleDefault||(Object.create?function(l,d){Object.defineProperty(l,"default",{enumerable:!0,value:d})}:function(l,d){l.default=d}),r=J&&J.__exportStar||function(l,d){for(var p in l)p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p)&&t(d,l,p)},i=J&&J.__importStar||function(l){if(l&&l.__esModule)return l;var d={};if(l!=null)for(var p in l)p!=="default"&&Object.prototype.hasOwnProperty.call(l,p)&&t(d,l,p);return n(d,l),d},a=J&&J.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0;var o=yi;Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return o.BLOCKS}});var u=Va;Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return u.INLINES}});var s=Ya;Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return a(s).default}}),r(Bv,e),r(Fv,e),r(Uv,e);var c=ul;Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(c).default}});var f=i(un);e.helpers=f})(l5);var m5={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="briefcase",r=512,i=512,a=[128188],o="f0b1",u="M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faBriefcase=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(m5);var y5={},Hv={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="heart-pulse",r=512,i=512,a=["heartbeat"],o="f21e",u="M228.3 469.1L47.6 300.4c-4.2-3.9-8.2-8.1-11.9-12.4h87c22.6 0 43-13.6 51.7-34.5l10.5-25.2 49.3 109.5c3.8 8.5 12.1 14 21.4 14.1s17.8-5 22-13.3L320 253.7l1.7 3.4c9.5 19 28.9 31 50.1 31H476.3c-3.7 4.3-7.7 8.5-11.9 12.4L283.7 469.1c-7.5 7-17.4 10.9-27.7 10.9s-20.2-3.9-27.7-10.9zM503.7 240h-132c-3 0-5.8-1.7-7.2-4.4l-23.2-46.3c-4.1-8.1-12.4-13.3-21.5-13.3s-17.4 5.1-21.5 13.3l-41.4 82.8L205.9 158.2c-3.9-8.7-12.7-14.3-22.2-14.1s-18.1 5.9-21.8 14.8l-31.8 76.3c-1.2 3-4.2 4.9-7.4 4.9H16c-2.6 0-5 .4-7.3 1.1C3 225.2 0 208.2 0 190.9v-5.8c0-69.9 50.5-129.5 119.4-141C165 36.5 211.4 51.4 244 84l12 12 12-12c32.6-32.6 79-47.5 124.6-39.9C461.5 55.6 512 115.2 512 185.1v5.8c0 16.9-2.8 33.5-8.3 49.1z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faHeartPulse=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(Hv);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Hv;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faHeartbeat=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(y5);var g5={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="spa",r=576,i=512,a=[],o="f5bb",u="M183.1 235.3c33.7 20.7 62.9 48.1 85.8 80.5c7 9.9 13.4 20.3 19.1 31c5.7-10.8 12.1-21.1 19.1-31c22.9-32.4 52.1-59.8 85.8-80.5C437.6 207.8 490.1 192 546 192h9.9c11.1 0 20.1 9 20.1 20.1C576 360.1 456.1 480 308.1 480H288 267.9C119.9 480 0 360.1 0 212.1C0 201 9 192 20.1 192H30c55.9 0 108.4 15.8 153.1 43.3zM301.5 37.6c15.7 16.9 61.1 71.8 84.4 164.6c-38 21.6-71.4 50.8-97.9 85.6c-26.5-34.8-59.9-63.9-97.9-85.6c23.2-92.8 68.6-147.7 84.4-164.6C278 33.9 282.9 32 288 32s10 1.9 13.5 5.6z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faSpa=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(g5);var b5={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="umbrella-beach",r=576,i=512,a=[127958],o="f5ca",u="M346.3 271.8l-60.1-21.9L214 448H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H282.1l64.1-176.2zm121.1-.2l-3.3 9.1 67.7 24.6c18.1 6.6 38-4.2 39.6-23.4c6.5-78.5-23.9-155.5-80.8-208.5c2 8 3.2 16.3 3.4 24.8l.2 6c1.8 57-7.3 113.8-26.8 167.4zM462 99.1c-1.1-34.4-22.5-64.8-54.4-77.4c-.9-.4-1.9-.7-2.8-1.1c-33-11.7-69.8-2.4-93.1 23.8l-4 4.5C272.4 88.3 245 134.2 226.8 184l-3.3 9.1L434 269.7l3.3-9.1c18.1-49.8 26.6-102.5 24.9-155.5l-.2-6zM107.2 112.9c-11.1 15.7-2.8 36.8 15.3 43.4l71 25.8 3.3-9.1c19.5-53.6 49.1-103 87.1-145.5l4-4.5c6.2-6.9 13.1-13 20.5-18.2c-79.6 2.5-154.7 42.2-201.2 108z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faUmbrellaBeach=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(b5);var _5={},Kv={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="square-dollar",r=448,i=512,a=["dollar-square","usd-square"],o="f2e9",u="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM244.8 133.6v14.2c9.7 1.2 19.4 3.9 29 6.6c1.9 .5 3.7 1 5.6 1.6c11.5 3.2 18.3 15.1 15.1 26.6s-15.1 18.2-26.6 15.1c-1.6-.4-3.1-.9-4.7-1.3c-7-2-14-3.9-21.1-5.3c-13.2-2.5-28.5-1.3-40.8 4c-11 4.8-20.1 16.4-7.6 24.4c9.8 6.3 21.8 9.5 33.2 12.6c2.4 .6 4.7 1.3 7 1.9c15.6 4.4 35.5 10.1 50.4 20.3c19.4 13.3 28.5 34.9 24.2 58.1c-4.1 22.4-19.7 37.1-38.4 44.7c-7.8 3.2-16.3 5.2-25.2 6.2l0 15.2c0 11.9-9.7 21.6-21.6 21.6s-21.6-9.7-21.6-21.6l0-17.4c-14.5-3.3-28.7-7.9-42.8-12.5c-11.3-3.7-17.5-16-13.7-27.3s16-17.5 27.3-13.7c2.5 .8 5 1.7 7.5 2.5c11.3 3.8 22.9 7.7 34.5 9.6c17 2.5 30.6 1 39.5-2.6c12-4.8 17.7-19.1 5.9-27.1c-10.1-6.9-22.6-10.3-34.5-13.5c-2.3-.6-4.5-1.2-6.8-1.9c-15.1-4.3-34-9.6-48.2-18.7c-19.5-12.5-29.4-33.3-25.2-56.4c4-21.8 21-36.3 39-44.1c5.5-2.4 11.4-4.3 17.5-5.7V133.6c0-11.9 9.7-21.6 21.6-21.6s21.6 9.7 21.6 21.6z";e.definition={prefix:t,iconName:n,icon:[r,i,a,o,u]},e.faSquareDollar=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=o,e.svgPathData=u,e.aliases=a})(Kv);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Kv;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faUsdSquare=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(_5);function Df(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Df(Object(n),!0).forEach(function(r){$e(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Df(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ea(e){"@babel/helpers - typeof";return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ea(e)}function w5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(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.key,r)}}function E5(e,t,n){return t&&$f(e.prototype,t),n&&$f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sl(e,t){return O5(e)||A5(e,t)||Wv(e,t)||C5()}function gi(e){return S5(e)||P5(e)||Wv(e)||T5()}function S5(e){if(Array.isArray(e))return Uu(e)}function O5(e){if(Array.isArray(e))return e}function P5(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function A5(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,o,u;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!(t&&r.length===t));i=!0);}catch(s){a=!0,u=s}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw u}}return r}}function Wv(e,t){if(e){if(typeof e=="string")return Uu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Uu(e,t)}}function Uu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function T5(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
19
19
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C5(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
20
20
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var jf=function(){},ll={},zv={},qv=null,Gv={mark:jf,measure:jf};try{typeof window<"u"&&(ll=window),typeof document<"u"&&(zv=document),typeof MutationObserver<"u"&&(qv=MutationObserver),typeof performance<"u"&&(Gv=performance)}catch{}var I5=ll.navigator||{},Bf=I5.userAgent,Ff=Bf===void 0?"":Bf,fn=ll,ye=zv,Uf=qv,Li=Gv;fn.document;var zt=!!ye.documentElement&&!!ye.head&&typeof ye.addEventListener=="function"&&typeof ye.createElement=="function",Vv=~Ff.indexOf("MSIE")||~Ff.indexOf("Trident/"),Ri,ki,Ni,Mi,Di,xt="___FONT_AWESOME___",xu=16,Yv="fa",Xv="svg-inline--fa",kn="data-fa-i2svg",Hu="data-fa-pseudo-element",L5="data-fa-pseudo-element-pending",cl="data-prefix",fl="data-icon",xf="fontawesome-i2svg",R5="async",k5=["HTML","HEAD","STYLE","SCRIPT"],Qv=function(){try{return!0}catch{return!1}}(),me="classic",_e="sharp",dl=[me,_e];function bi(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[me]}})}var ii=bi((Ri={},$e(Ri,me,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),$e(Ri,_e,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),Ri)),ai=bi((ki={},$e(ki,me,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),$e(ki,_e,{solid:"fass",regular:"fasr",light:"fasl"}),ki)),oi=bi((Ni={},$e(Ni,me,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),$e(Ni,_e,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),Ni)),N5=bi((Mi={},$e(Mi,me,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),$e(Mi,_e,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Mi)),M5=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,Jv="fa-layers-text",D5=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,$5=bi((Di={},$e(Di,me,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),$e(Di,_e,{900:"fass",400:"fasr",300:"fasl"}),Di)),Zv=[1,2,3,4,5,6,7,8,9,10],j5=Zv.concat([11,12,13,14,15,16,17,18,19,20]),B5=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],En={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ui=new Set;Object.keys(ai[me]).map(ui.add.bind(ui));Object.keys(ai[_e]).map(ui.add.bind(ui));var F5=[].concat(dl,gi(ui),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",En.GROUP,En.SWAP_OPACITY,En.PRIMARY,En.SECONDARY]).concat(Zv.map(function(e){return"".concat(e,"x")})).concat(j5.map(function(e){return"w-".concat(e)})),Gr=fn.FontAwesomeConfig||{};function U5(e){var t=ye.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function x5(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(ye&&typeof ye.querySelector=="function"){var H5=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];H5.forEach(function(e){var t=sl(e,2),n=t[0],r=t[1],i=x5(U5(n));i!=null&&(Gr[r]=i)})}var em={styleDefault:"solid",familyDefault:"classic",cssPrefix:Yv,replacementClass:Xv,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Gr.familyPrefix&&(Gr.cssPrefix=Gr.familyPrefix);var vr=W(W({},em),Gr);vr.autoReplaceSvg||(vr.observeMutations=!1);var V={};Object.keys(em).forEach(function(e){Object.defineProperty(V,e,{enumerable:!0,set:function(n){vr[e]=n,Vr.forEach(function(r){return r(V)})},get:function(){return vr[e]}})});Object.defineProperty(V,"familyPrefix",{enumerable:!0,set:function(t){vr.cssPrefix=t,Vr.forEach(function(n){return n(V)})},get:function(){return vr.cssPrefix}});fn.FontAwesomeConfig=V;var Vr=[];function K5(e){return Vr.push(e),function(){Vr.splice(Vr.indexOf(e),1)}}var Vt=xu,At={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function W5(e){if(!(!e||!zt)){var t=ye.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=ye.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=a)}return ye.head.insertBefore(t,r),e}}var z5="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function si(){for(var e=12,t="";e-- >0;)t+=z5[Math.random()*62|0];return t}function Lr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function pl(e){return e.classList?Lr(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function tm(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function q5(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(tm(e[n]),'" ')},"").trim()}function Xa(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function hl(e){return e.size!==At.size||e.x!==At.x||e.y!==At.y||e.rotate!==At.rotate||e.flipX||e.flipY}function G5(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),u="rotate(".concat(t.rotate," 0 0)"),s={transform:"".concat(a," ").concat(o," ").concat(u)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:s,path:c}}function V5(e){var t=e.transform,n=e.width,r=n===void 0?xu:n,i=e.height,a=i===void 0?xu:i,o=e.startCentered,u=o===void 0?!1:o,s="";return u&&Vv?s+="translate(".concat(t.x/Vt-r/2,"em, ").concat(t.y/Vt-a/2,"em) "):u?s+="translate(calc(-50% + ".concat(t.x/Vt,"em), calc(-50% + ").concat(t.y/Vt,"em)) "):s+="translate(".concat(t.x/Vt,"em, ").concat(t.y/Vt,"em) "),s+="scale(".concat(t.size/Vt*(t.flipX?-1:1),", ").concat(t.size/Vt*(t.flipY?-1:1),") "),s+="rotate(".concat(t.rotate,"deg) "),s}var Y5=`:root, :host {
|
|
@@ -788,9 +788,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
788
788
|
|
|
789
789
|
`)+`Make sure to include Google Analytics Javascript code before the Typeform Embed Javascript code in your page and use correct tracker ID.
|
|
790
790
|
|
|
791
|
-
It is also possible the Google Analytics was blocked by your adblock plugin.`)};l.setupGaInstance=function(v,h,_){var g=typeof _=="string"?_:void 0;if(window.gtag){if(g||(g=function(){if(window.dataLayer){var b=window.dataLayer.find(function(E){return E.length>1&&E[0]==="config"});return b&&b[1]}}()),!g)return void p("the tracking ID could not be retrieved");var y=!1;window.gtag("get",g,"client_id",function(b){y=!0,(0,l.sendGaIdMessage)(h,b,v)}),setTimeout(function(){y||p("the tracker with ID ".concat(g," was not found"))},3e3)}else try{var m=function(b,E){return E?b.find(function(O){return O.get("trackingId")===E}):b[0]}(window.ga.getAll(),g);m?(0,l.sendGaIdMessage)(h,m.get("clientId"),v):p("the tracker with ID ".concat(g," was not found"))}catch(b){p("the Google Analytics object was not found"),d(b)}}},4623:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.sleep=void 0,l.sleep=function(d){return new Promise(function(p){return setTimeout(p,d)})}},1451:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.unmountElement=void 0,l.unmountElement=function(d){var p;(p=d.parentNode)===null||p===void 0||p.removeChild(d)}}},c={};return function f(l){var d=c[l];if(d!==void 0)return d.exports;var p=c[l]={exports:{}};return s[l].call(p.exports,p,p.exports,f),p.exports}(1920)}()},156:function(u){u.exports=n}},i={};function a(u){var s=i[u];if(s!==void 0)return s.exports;var c=i[u]={exports:{}};return r[u].call(c.exports,c,c.exports,a),c.exports}a.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),a.o=function(u,s){return Object.prototype.hasOwnProperty.call(u,s)},a.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var o={};return function(){var u=o;Object.defineProperty(u,"__esModule",{value:!0}),u.Sidetab=u.Popover=u.SliderButton=u.PopupButton=u.Widget=void 0;var s=a(611),c=a(281),f=a(797),l=(0,f.memoComponent)(c.Widget);u.Widget=l;var d=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createPopup,"popup"));u.PopupButton=d;var p=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createSlider,"slider"));u.SliderButton=p;var v=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createPopover,"popover"));u.Popover=v;var h=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createSidetab,"sidetab"));u.Sidetab=h}(),o}()})})(Om);var LL=Om.exports,RL={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]};function mr(e){"@babel/helpers - typeof";return mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mr(e)}function sd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ZC(e,t){if(e){if(typeof e=="string")return sd(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sd(e,t):void 0}}function
|
|
792
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){u=!0,a=c},f:function(){try{o||n.return==null||n.return()}finally{if(u)throw a}}}}function eI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aa(e,t){return Aa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Aa(e,t)}function
|
|
791
|
+
It is also possible the Google Analytics was blocked by your adblock plugin.`)};l.setupGaInstance=function(v,h,_){var g=typeof _=="string"?_:void 0;if(window.gtag){if(g||(g=function(){if(window.dataLayer){var b=window.dataLayer.find(function(E){return E.length>1&&E[0]==="config"});return b&&b[1]}}()),!g)return void p("the tracking ID could not be retrieved");var y=!1;window.gtag("get",g,"client_id",function(b){y=!0,(0,l.sendGaIdMessage)(h,b,v)}),setTimeout(function(){y||p("the tracker with ID ".concat(g," was not found"))},3e3)}else try{var m=function(b,E){return E?b.find(function(O){return O.get("trackingId")===E}):b[0]}(window.ga.getAll(),g);m?(0,l.sendGaIdMessage)(h,m.get("clientId"),v):p("the tracker with ID ".concat(g," was not found"))}catch(b){p("the Google Analytics object was not found"),d(b)}}},4623:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.sleep=void 0,l.sleep=function(d){return new Promise(function(p){return setTimeout(p,d)})}},1451:function(f,l){Object.defineProperty(l,"__esModule",{value:!0}),l.unmountElement=void 0,l.unmountElement=function(d){var p;(p=d.parentNode)===null||p===void 0||p.removeChild(d)}}},c={};return function f(l){var d=c[l];if(d!==void 0)return d.exports;var p=c[l]={exports:{}};return s[l].call(p.exports,p,p.exports,f),p.exports}(1920)}()},156:function(u){u.exports=n}},i={};function a(u){var s=i[u];if(s!==void 0)return s.exports;var c=i[u]={exports:{}};return r[u].call(c.exports,c,c.exports,a),c.exports}a.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),a.o=function(u,s){return Object.prototype.hasOwnProperty.call(u,s)},a.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var o={};return function(){var u=o;Object.defineProperty(u,"__esModule",{value:!0}),u.Sidetab=u.Popover=u.SliderButton=u.PopupButton=u.Widget=void 0;var s=a(611),c=a(281),f=a(797),l=(0,f.memoComponent)(c.Widget);u.Widget=l;var d=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createPopup,"popup"));u.PopupButton=d;var p=(0,f.memoComponent)((0,c.makeButtonComponent)(s.createSlider,"slider"));u.SliderButton=p;var v=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createPopover,"popover"));u.Popover=v;var h=(0,f.memoComponent)((0,c.makeInitializerComponent)(s.createSidetab,"sidetab"));u.Sidetab=h}(),o}()})})(Om);var LL=Om.exports,RL={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},kL={prefix:"fas",iconName:"shield-check",icon:[512,512,[],"f2f7","M269.4 2.9C265.2 1 260.7 0 256 0s-9.2 1-13.4 2.9L54.3 82.8c-22 9.3-38.4 31-38.3 57.2c.5 99.2 41.3 280.7 213.6 363.2c16.7 8 36.1 8 52.8 0C454.7 420.7 495.5 239.2 496 140c.1-26.2-16.3-47.9-38.3-57.2L269.4 2.9zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]};function mr(e){"@babel/helpers - typeof";return mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mr(e)}function sd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ZC(e,t){if(e){if(typeof e=="string")return sd(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sd(e,t):void 0}}function NL(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ZC(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
792
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){u=!0,a=c},f:function(){try{o||n.return==null||n.return()}finally{if(u)throw a}}}}function eI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aa(e,t){return Aa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Aa(e,t)}function ML(e,t){if(typeof t!="function"&&t!==null)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&&Aa(e,t)}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ta(e)}function Pm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Pm=function(){return!!e})()}function tI(e,t){if(t&&(mr(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return eI(e)}function DL(e){var t=Pm();return function(){var n,r=Ta(e);if(t){var i=Ta(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return tI(this,n)}}function $L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nI(e,t){if(mr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(mr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Am(e){var t=nI(e,"string");return mr(t)=="symbol"?t:t+""}function ld(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,Am(r.key),r)}}function jL(e,t,n){return t&&ld(e.prototype,t),n&&ld(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function BL(e,t,n){return(t=Am(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rI(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function iI(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Aa(e,t)}function Wo(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}/*!
|
|
793
793
|
* content-type
|
|
794
794
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
795
795
|
* MIT Licensed
|
|
796
|
-
*/var cd=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,aI=/\\([\u000b\u0020-\u00ff])/g,oI=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,uI=sI;function sI(e){if(!e)throw new TypeError("argument string is required");var t=typeof e=="object"?lI(e):e;if(typeof t!="string")throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),r=n!==-1?t.slice(0,n).trim():t.trim();if(!oI.test(r))throw new TypeError("invalid media type");var i=new cI(r.toLowerCase());if(n!==-1){var a,o,u;for(cd.lastIndex=n;o=cd.exec(t);){if(o.index!==n)throw new TypeError("invalid parameter format");n+=o[0].length,a=o[1].toLowerCase(),u=o[2],u.charCodeAt(0)===34&&(u=u.slice(1,-1),u.indexOf("\\")!==-1&&(u=u.replace(aI,"$1"))),i.parameters[a]=u}if(n!==t.length)throw new TypeError("invalid parameter format")}return i}function lI(e){var t;if(typeof e.getHeader=="function"?t=e.getHeader("content-type"):typeof e.headers=="object"&&(t=e.headers&&e.headers["content-type"]),typeof t!="string")throw new TypeError("content-type header is missing from object");return t}function cI(e){this.parameters=Object.create(null),this.type=e}var Kn=new Map,Tm=function(t){return t.cloneNode(!0)},fd=function(){return window.location.protocol==="file:"},Cm=function(t,n,r){var i=new XMLHttpRequest;i.onreadystatechange=function(){try{if(!/\.svg/i.test(t)&&i.readyState===2){var a=i.getResponseHeader("Content-Type");if(!a)throw new Error("Content type not found");var o=uI(a).type;if(!(o==="image/svg+xml"||o==="text/plain"))throw new Error("Invalid content type: ".concat(o))}if(i.readyState===4){if(i.status===404||i.responseXML===null)throw new Error(fd()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+t);if(i.status===200||fd()&&i.status===0)r(null,i);else throw new Error("There was a problem injecting the SVG: "+i.status+" "+i.statusText)}}catch(u){if(i.abort(),u instanceof Error)r(u,i);else throw u}},i.open("GET",t),i.withCredentials=n,i.overrideMimeType&&i.overrideMimeType("text/xml"),i.send()},Jt={},dd=function(t,n){Jt[t]=Jt[t]||[],Jt[t].push(n)},fI=function(t){for(var n=function(o,u){setTimeout(function(){if(Array.isArray(Jt[t])){var s=Kn.get(t),c=Jt[t][o];s instanceof SVGSVGElement&&c(null,Tm(s)),s instanceof Error&&c(s),o===Jt[t].length-1&&delete Jt[t]}},0)},r=0,i=Jt[t].length;r<i;r++)n(r)},dI=function(t,n,r){if(Kn.has(t)){var i=Kn.get(t);if(i===void 0){dd(t,r);return}if(i instanceof SVGSVGElement){r(null,Tm(i));return}}Kn.set(t,void 0),dd(t,r),Cm(t,n,function(a,o){var u;a?Kn.set(t,a):((u=o.responseXML)===null||u===void 0?void 0:u.documentElement)instanceof SVGSVGElement&&Kn.set(t,o.responseXML.documentElement),fI(t)})},pI=function(t,n,r){Cm(t,n,function(i,a){var o;i?r(i):((o=a.responseXML)===null||o===void 0?void 0:o.documentElement)instanceof SVGSVGElement&&r(null,a.responseXML.documentElement)})},hI=0,vI=function(){return++hI},Et=[],pd={},mI="http://www.w3.org/2000/svg",zo="http://www.w3.org/1999/xlink",hd=function(t,n,r,i,a,o,u){var s=t.getAttribute("data-src")||t.getAttribute("src");if(!s){u(new Error("Invalid data-src or src attribute"));return}if(Et.indexOf(t)!==-1){Et.splice(Et.indexOf(t),1),t=null;return}Et.push(t),t.setAttribute("src","");var c=i?dI:pI;c(s,a,function(f,l){if(!l){Et.splice(Et.indexOf(t),1),t=null,u(f);return}var d=t.getAttribute("id");d&&l.setAttribute("id",d);var p=t.getAttribute("title");p&&l.setAttribute("title",p);var v=t.getAttribute("width");v&&l.setAttribute("width",v);var h=t.getAttribute("height");h&&l.setAttribute("height",h);var _=Array.from(new Set(Wo(Wo(Wo([],(l.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(t.getAttribute("class")||"").split(" "),!0))).join(" ").trim();l.setAttribute("class",_);var g=t.getAttribute("style");g&&l.setAttribute("style",g),l.setAttribute("data-src",s);var y=[].filter.call(t.attributes,function(B){return/^data-\w[\w-]*$/.test(B.name)});if(Array.prototype.forEach.call(y,function(B){B.name&&B.value&&l.setAttribute(B.name,B.value)}),r){var m={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},b,E,O,S,w;Object.keys(m).forEach(function(B){b=B,O=m[B],E=l.querySelectorAll(b+"[id]");for(var Y=function(U,q){S=E[U].id,w=S+"-"+vI();var H;Array.prototype.forEach.call(O,function(ct){H=l.querySelectorAll("["+ct+'*="'+S+'"]');for(var be=0,vn=H.length;be<vn;be++){var jn=H[be].getAttribute(ct);jn&&!jn.match(new RegExp('url\\("?#'+S+'"?\\)'))||H[be].setAttribute(ct,"url(#"+w+")")}});for(var ne=l.querySelectorAll("[*|href]"),le=[],te=0,Q=ne.length;te<Q;te++){var oe=ne[te].getAttributeNS(zo,"href");oe&&oe.toString()==="#"+E[U].id&&le.push(ne[te])}for(var ie=0,ge=le.length;ie<ge;ie++)le[ie].setAttributeNS(zo,"href","#"+w);E[U].id=w},z=0,X=E.length;z<X;z++)Y(z)})}l.removeAttribute("xmlns:a");for(var P=l.querySelectorAll("script"),A=[],L,D,j=0,I=P.length;j<I;j++)D=P[j].getAttribute("type"),(!D||D==="application/ecmascript"||D==="application/javascript"||D==="text/javascript")&&(L=P[j].innerText||P[j].textContent,L&&A.push(L),l.removeChild(P[j]));if(A.length>0&&(n==="always"||n==="once"&&!pd[s])){for(var C=0,R=A.length;C<R;C++)new Function(A[C])(window);pd[s]=!0}var $=l.querySelectorAll("style");if(Array.prototype.forEach.call($,function(B){B.textContent+=""}),l.setAttribute("xmlns",mI),l.setAttribute("xmlns:xlink",zo),o(l),!t.parentNode){Et.splice(Et.indexOf(t),1),t=null,u(new Error("Parent node is null"));return}t.parentNode.replaceChild(l,t),Et.splice(Et.indexOf(t),1),t=null,u(null,l)})},yI=function(t,n){var r=n===void 0?{}:n,i=r.afterAll,a=i===void 0?function(){}:i,o=r.afterEach,u=o===void 0?function(){}:o,s=r.beforeEach,c=s===void 0?function(){}:s,f=r.cacheRequests,l=f===void 0?!0:f,d=r.evalScripts,p=d===void 0?"never":d,v=r.httpRequestWithCredentials,h=v===void 0?!1:v,_=r.renumerateIRIElements,g=_===void 0?!0:_;if(t&&"length"in t)for(var y=0,m=0,b=t.length;m<b;m++)hd(t[m],p,g,l,h,c,function(E,O){u(E,O),t&&"length"in t&&t.length===++y&&a(y)});else t?hd(t,p,g,l,h,c,function(E,O){u(E,O),a(1),t=null}):a(0)},gI=function(t){var n=(t==null?void 0:t.ownerDocument)||document;return n.defaultView||window},bI=function(t,n){for(var r in t)if(!(r in n))return!0;for(var i in n)if(t[i]!==n[i])return!0;return!1},_I=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],Fi="http://www.w3.org/2000/svg",vd="http://www.w3.org/1999/xlink",Im=function(e){function t(){for(var r,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=e.call.apply(e,[this].concat(a))||this,r.initialState={hasError:!1,isLoading:!0},r.state=r.initialState,r._isMounted=!1,r.reactWrapper=void 0,r.nonReactWrapper=void 0,r.refCallback=function(u){r.reactWrapper=u},r}iI(t,e);var n=t.prototype;return n.renderSVG=function(){var i=this;if(this.reactWrapper instanceof gI(this.reactWrapper).Node){var a=this.props,o=a.desc,u=a.evalScripts,s=a.httpRequestWithCredentials,c=a.renumerateIRIElements,f=a.src,l=a.title,d=a.useRequestCache,p=this.props.onError,v=this.props.beforeInjection,h=this.props.afterInjection,_=this.props.wrapper,g,y;_==="svg"?(g=document.createElementNS(Fi,_),g.setAttribute("xmlns",Fi),g.setAttribute("xmlns:xlink",vd),y=document.createElementNS(Fi,_)):(g=document.createElement(_),y=document.createElement(_)),g.appendChild(y),y.dataset.src=f,this.nonReactWrapper=this.reactWrapper.appendChild(g);var m=function(S){if(i.removeSVG(),!i._isMounted){p(S);return}i.setState(function(){return{hasError:!0,isLoading:!1}},function(){p(S)})},b=function(S,w){if(S){m(S);return}i._isMounted&&i.setState(function(){return{isLoading:!1}},function(){try{h(w)}catch(P){m(P)}})},E=function(S){if(S.setAttribute("role","img"),o){var w=S.querySelector(":scope > desc");w&&S.removeChild(w);var P=document.createElement("desc");P.innerHTML=o,S.prepend(P)}if(l){var A=S.querySelector(":scope > title");A&&S.removeChild(A);var L=document.createElement("title");L.innerHTML=l,S.prepend(L)}try{v(S)}catch(D){m(D)}};yI(y,{afterEach:b,beforeEach:E,cacheRequests:d,evalScripts:u,httpRequestWithCredentials:s,renumerateIRIElements:c})}},n.removeSVG=function(){var i;(i=this.nonReactWrapper)!=null&&i.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(i){var a=this;bI(ur({},i),this.props)&&this.setState(function(){return a.initialState},function(){a.removeSVG(),a.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var i=this.props;i.afterInjection,i.beforeInjection,i.desc,i.evalScripts;var a=i.fallback;i.httpRequestWithCredentials;var o=i.loading;i.renumerateIRIElements,i.src,i.title,i.useRequestCache;var u=i.wrapper,s=rI(i,_I),c=u;return F(c,ur({},s,{ref:this.refCallback},u==="svg"?{xmlns:Fi,xmlnsXlink:vd}:{}),this.state.isLoading&&o&&F(o,null),this.state.hasError&&a&&F(a,null))},t}(et);Im.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};Im.propTypes={afterInjection:Te.func,beforeInjection:Te.func,desc:Te.string,evalScripts:Te.oneOf(["always","once","never"]),fallback:Te.oneOfType([Te.func,Te.object,Te.string]),httpRequestWithCredentials:Te.bool,loading:Te.oneOfType([Te.func,Te.object,Te.string]),onError:Te.func,renumerateIRIElements:Te.bool,src:Te.string.isRequired,title:Te.string,useRequestCache:Te.bool,wrapper:Te.oneOf(["div","span","svg"])};export{pL as $,lr as A,WI as B,zI as C,_s as D,hy as E,ce as F,je as G,TI as H,qI as I,lt as J,FI as K,$I as L,Na as M,UI as N,Hp as O,L0 as P,Ng as Q,BI as R,Cg as S,Zt as T,qp as U,vp as V,vb as W,II as X,we as Y,YI as Z,In as _,Ct as a,OL as a$,eL as a0,XI as a1,JI as a2,hL as a3,ws as a4,vL as a5,mL as a6,yL as a7,nL as a8,rL as a9,wL as aA,ln as aB,KI as aC,G0 as aD,gL as aE,Im as aF,_p as aG,Op as aH,LI as aI,CI as aJ,AI as aK,kI as aL,RI as aM,Hr as aN,yp as aO,PL as aP,pp as aQ,et as aR,oL as aS,EL as aT,TL as aU,bL as aV,AL as aW,QI as aX,Jd as aY,xI as aZ,HI as a_,l5 as aa,s5 as ab,eo as ac,_5 as ad,g5 as ae,y5 as af,m5 as ag,b5 as ah,Rl as ai,SI as aj,EI as ak,SL as al,CL as am,rr as an,IL as ao,jg as ap,PI as aq,Ve as ar,UC as as,VI as at,LL as au,RL as av,_L as aw,iL as ax,jI as ay,ZI as az,Pl as b,aL as b0,tL as b1,cL as b2,dL as b3,uL as b4,us as b5,fs as b6,sL as b7,fL as b8,lL as b9,mr as c,NL as d,ML as e,$L as f,DL as g,jL as h,eI as i,kL as j,ae as k,Bp as l,MI as m,pe as n,F as o,de as p,ke as q,xe as r,DI as s,tg as t,NI as u,Hi as v,Z as w,br as x,$n as y,OI as z};
|
|
796
|
+
*/var cd=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,aI=/\\([\u000b\u0020-\u00ff])/g,oI=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,uI=sI;function sI(e){if(!e)throw new TypeError("argument string is required");var t=typeof e=="object"?lI(e):e;if(typeof t!="string")throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),r=n!==-1?t.slice(0,n).trim():t.trim();if(!oI.test(r))throw new TypeError("invalid media type");var i=new cI(r.toLowerCase());if(n!==-1){var a,o,u;for(cd.lastIndex=n;o=cd.exec(t);){if(o.index!==n)throw new TypeError("invalid parameter format");n+=o[0].length,a=o[1].toLowerCase(),u=o[2],u.charCodeAt(0)===34&&(u=u.slice(1,-1),u.indexOf("\\")!==-1&&(u=u.replace(aI,"$1"))),i.parameters[a]=u}if(n!==t.length)throw new TypeError("invalid parameter format")}return i}function lI(e){var t;if(typeof e.getHeader=="function"?t=e.getHeader("content-type"):typeof e.headers=="object"&&(t=e.headers&&e.headers["content-type"]),typeof t!="string")throw new TypeError("content-type header is missing from object");return t}function cI(e){this.parameters=Object.create(null),this.type=e}var Kn=new Map,Tm=function(t){return t.cloneNode(!0)},fd=function(){return window.location.protocol==="file:"},Cm=function(t,n,r){var i=new XMLHttpRequest;i.onreadystatechange=function(){try{if(!/\.svg/i.test(t)&&i.readyState===2){var a=i.getResponseHeader("Content-Type");if(!a)throw new Error("Content type not found");var o=uI(a).type;if(!(o==="image/svg+xml"||o==="text/plain"))throw new Error("Invalid content type: ".concat(o))}if(i.readyState===4){if(i.status===404||i.responseXML===null)throw new Error(fd()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+t);if(i.status===200||fd()&&i.status===0)r(null,i);else throw new Error("There was a problem injecting the SVG: "+i.status+" "+i.statusText)}}catch(u){if(i.abort(),u instanceof Error)r(u,i);else throw u}},i.open("GET",t),i.withCredentials=n,i.overrideMimeType&&i.overrideMimeType("text/xml"),i.send()},Jt={},dd=function(t,n){Jt[t]=Jt[t]||[],Jt[t].push(n)},fI=function(t){for(var n=function(o,u){setTimeout(function(){if(Array.isArray(Jt[t])){var s=Kn.get(t),c=Jt[t][o];s instanceof SVGSVGElement&&c(null,Tm(s)),s instanceof Error&&c(s),o===Jt[t].length-1&&delete Jt[t]}},0)},r=0,i=Jt[t].length;r<i;r++)n(r)},dI=function(t,n,r){if(Kn.has(t)){var i=Kn.get(t);if(i===void 0){dd(t,r);return}if(i instanceof SVGSVGElement){r(null,Tm(i));return}}Kn.set(t,void 0),dd(t,r),Cm(t,n,function(a,o){var u;a?Kn.set(t,a):((u=o.responseXML)===null||u===void 0?void 0:u.documentElement)instanceof SVGSVGElement&&Kn.set(t,o.responseXML.documentElement),fI(t)})},pI=function(t,n,r){Cm(t,n,function(i,a){var o;i?r(i):((o=a.responseXML)===null||o===void 0?void 0:o.documentElement)instanceof SVGSVGElement&&r(null,a.responseXML.documentElement)})},hI=0,vI=function(){return++hI},Et=[],pd={},mI="http://www.w3.org/2000/svg",zo="http://www.w3.org/1999/xlink",hd=function(t,n,r,i,a,o,u){var s=t.getAttribute("data-src")||t.getAttribute("src");if(!s){u(new Error("Invalid data-src or src attribute"));return}if(Et.indexOf(t)!==-1){Et.splice(Et.indexOf(t),1),t=null;return}Et.push(t),t.setAttribute("src","");var c=i?dI:pI;c(s,a,function(f,l){if(!l){Et.splice(Et.indexOf(t),1),t=null,u(f);return}var d=t.getAttribute("id");d&&l.setAttribute("id",d);var p=t.getAttribute("title");p&&l.setAttribute("title",p);var v=t.getAttribute("width");v&&l.setAttribute("width",v);var h=t.getAttribute("height");h&&l.setAttribute("height",h);var _=Array.from(new Set(Wo(Wo(Wo([],(l.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(t.getAttribute("class")||"").split(" "),!0))).join(" ").trim();l.setAttribute("class",_);var g=t.getAttribute("style");g&&l.setAttribute("style",g),l.setAttribute("data-src",s);var y=[].filter.call(t.attributes,function(B){return/^data-\w[\w-]*$/.test(B.name)});if(Array.prototype.forEach.call(y,function(B){B.name&&B.value&&l.setAttribute(B.name,B.value)}),r){var m={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},b,E,O,S,w;Object.keys(m).forEach(function(B){b=B,O=m[B],E=l.querySelectorAll(b+"[id]");for(var Y=function(U,q){S=E[U].id,w=S+"-"+vI();var H;Array.prototype.forEach.call(O,function(ct){H=l.querySelectorAll("["+ct+'*="'+S+'"]');for(var be=0,vn=H.length;be<vn;be++){var jn=H[be].getAttribute(ct);jn&&!jn.match(new RegExp('url\\("?#'+S+'"?\\)'))||H[be].setAttribute(ct,"url(#"+w+")")}});for(var ne=l.querySelectorAll("[*|href]"),le=[],te=0,Q=ne.length;te<Q;te++){var oe=ne[te].getAttributeNS(zo,"href");oe&&oe.toString()==="#"+E[U].id&&le.push(ne[te])}for(var ie=0,ge=le.length;ie<ge;ie++)le[ie].setAttributeNS(zo,"href","#"+w);E[U].id=w},z=0,X=E.length;z<X;z++)Y(z)})}l.removeAttribute("xmlns:a");for(var P=l.querySelectorAll("script"),A=[],L,D,j=0,I=P.length;j<I;j++)D=P[j].getAttribute("type"),(!D||D==="application/ecmascript"||D==="application/javascript"||D==="text/javascript")&&(L=P[j].innerText||P[j].textContent,L&&A.push(L),l.removeChild(P[j]));if(A.length>0&&(n==="always"||n==="once"&&!pd[s])){for(var C=0,R=A.length;C<R;C++)new Function(A[C])(window);pd[s]=!0}var $=l.querySelectorAll("style");if(Array.prototype.forEach.call($,function(B){B.textContent+=""}),l.setAttribute("xmlns",mI),l.setAttribute("xmlns:xlink",zo),o(l),!t.parentNode){Et.splice(Et.indexOf(t),1),t=null,u(new Error("Parent node is null"));return}t.parentNode.replaceChild(l,t),Et.splice(Et.indexOf(t),1),t=null,u(null,l)})},yI=function(t,n){var r=n===void 0?{}:n,i=r.afterAll,a=i===void 0?function(){}:i,o=r.afterEach,u=o===void 0?function(){}:o,s=r.beforeEach,c=s===void 0?function(){}:s,f=r.cacheRequests,l=f===void 0?!0:f,d=r.evalScripts,p=d===void 0?"never":d,v=r.httpRequestWithCredentials,h=v===void 0?!1:v,_=r.renumerateIRIElements,g=_===void 0?!0:_;if(t&&"length"in t)for(var y=0,m=0,b=t.length;m<b;m++)hd(t[m],p,g,l,h,c,function(E,O){u(E,O),t&&"length"in t&&t.length===++y&&a(y)});else t?hd(t,p,g,l,h,c,function(E,O){u(E,O),a(1),t=null}):a(0)},gI=function(t){var n=(t==null?void 0:t.ownerDocument)||document;return n.defaultView||window},bI=function(t,n){for(var r in t)if(!(r in n))return!0;for(var i in n)if(t[i]!==n[i])return!0;return!1},_I=["afterInjection","beforeInjection","desc","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","title","useRequestCache","wrapper"],Fi="http://www.w3.org/2000/svg",vd="http://www.w3.org/1999/xlink",Im=function(e){function t(){for(var r,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=e.call.apply(e,[this].concat(a))||this,r.initialState={hasError:!1,isLoading:!0},r.state=r.initialState,r._isMounted=!1,r.reactWrapper=void 0,r.nonReactWrapper=void 0,r.refCallback=function(u){r.reactWrapper=u},r}iI(t,e);var n=t.prototype;return n.renderSVG=function(){var i=this;if(this.reactWrapper instanceof gI(this.reactWrapper).Node){var a=this.props,o=a.desc,u=a.evalScripts,s=a.httpRequestWithCredentials,c=a.renumerateIRIElements,f=a.src,l=a.title,d=a.useRequestCache,p=this.props.onError,v=this.props.beforeInjection,h=this.props.afterInjection,_=this.props.wrapper,g,y;_==="svg"?(g=document.createElementNS(Fi,_),g.setAttribute("xmlns",Fi),g.setAttribute("xmlns:xlink",vd),y=document.createElementNS(Fi,_)):(g=document.createElement(_),y=document.createElement(_)),g.appendChild(y),y.dataset.src=f,this.nonReactWrapper=this.reactWrapper.appendChild(g);var m=function(S){if(i.removeSVG(),!i._isMounted){p(S);return}i.setState(function(){return{hasError:!0,isLoading:!1}},function(){p(S)})},b=function(S,w){if(S){m(S);return}i._isMounted&&i.setState(function(){return{isLoading:!1}},function(){try{h(w)}catch(P){m(P)}})},E=function(S){if(S.setAttribute("role","img"),o){var w=S.querySelector(":scope > desc");w&&S.removeChild(w);var P=document.createElement("desc");P.innerHTML=o,S.prepend(P)}if(l){var A=S.querySelector(":scope > title");A&&S.removeChild(A);var L=document.createElement("title");L.innerHTML=l,S.prepend(L)}try{v(S)}catch(D){m(D)}};yI(y,{afterEach:b,beforeEach:E,cacheRequests:d,evalScripts:u,httpRequestWithCredentials:s,renumerateIRIElements:c})}},n.removeSVG=function(){var i;(i=this.nonReactWrapper)!=null&&i.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(i){var a=this;bI(ur({},i),this.props)&&this.setState(function(){return a.initialState},function(){a.removeSVG(),a.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var i=this.props;i.afterInjection,i.beforeInjection,i.desc,i.evalScripts;var a=i.fallback;i.httpRequestWithCredentials;var o=i.loading;i.renumerateIRIElements,i.src,i.title,i.useRequestCache;var u=i.wrapper,s=rI(i,_I),c=u;return F(c,ur({},s,{ref:this.refCallback},u==="svg"?{xmlns:Fi,xmlnsXlink:vd}:{}),this.state.isLoading&&o&&F(o,null),this.state.hasError&&a&&F(a,null))},t}(et);Im.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:"",evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:"",useRequestCache:!0,wrapper:"div"};Im.propTypes={afterInjection:Te.func,beforeInjection:Te.func,desc:Te.string,evalScripts:Te.oneOf(["always","once","never"]),fallback:Te.oneOfType([Te.func,Te.object,Te.string]),httpRequestWithCredentials:Te.bool,loading:Te.oneOfType([Te.func,Te.object,Te.string]),onError:Te.func,renumerateIRIElements:Te.bool,src:Te.string.isRequired,title:Te.string,useRequestCache:Te.bool,wrapper:Te.oneOf(["div","span","svg"])};export{pL as $,lr as A,WI as B,zI as C,_s as D,hy as E,ce as F,je as G,TI as H,qI as I,lt as J,FI as K,$I as L,Na as M,UI as N,Hp as O,L0 as P,Ng as Q,BI as R,Cg as S,Zt as T,qp as U,vp as V,vb as W,II as X,we as Y,YI as Z,In as _,Ct as a,HI as a$,eL as a0,XI as a1,JI as a2,hL as a3,ws as a4,vL as a5,mL as a6,yL as a7,nL as a8,rL as a9,ZI as aA,wL as aB,ln as aC,KI as aD,G0 as aE,gL as aF,Im as aG,_p as aH,Op as aI,LI as aJ,CI as aK,AI as aL,kI as aM,RI as aN,Hr as aO,yp as aP,PL as aQ,pp as aR,et as aS,oL as aT,EL as aU,TL as aV,bL as aW,AL as aX,QI as aY,Jd as aZ,xI as a_,l5 as aa,s5 as ab,eo as ac,_5 as ad,g5 as ae,y5 as af,m5 as ag,b5 as ah,Rl as ai,SI as aj,EI as ak,SL as al,CL as am,rr as an,IL as ao,jg as ap,PI as aq,Ve as ar,UC as as,VI as at,LL as au,RL as av,kL as aw,_L as ax,iL as ay,jI as az,Pl as b,OL as b0,aL as b1,tL as b2,cL as b3,dL as b4,uL as b5,us as b6,fs as b7,sL as b8,fL as b9,lL as ba,mr as c,ML as d,DL as e,jL as f,$L as g,BL as h,eI as i,NL as j,ae as k,Bp as l,MI as m,pe as n,F as o,de as p,ke as q,xe as r,DI as s,tg as t,NI as u,Hi as v,Z as w,br as x,$n as y,OI as z};
|