PageSourceSearch

https://devoured.ai/_next/static/chunks/5930-0e9d2105d17e92a0.js?dpl=dpl_F2pepAQ89rG8KJpHrbhr4FZiBRuN

js devoured.ai collected 2026-10-05 15:32:10 UTC 254,153 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5930],{232:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(9946).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},238:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(9946).A)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]])},261:e=>{"use strict";e.exports=Function.prototype.call},508:(e,t,r)=>{"use strict";var n,o=r(2821),i=r(2902),a=r(2764),l=r(1467),s=r(4747),u=r(1925),c=r(3674),d=r(7968),p=r(2083),f=r(5729),h=r(1517),m=r(4251),v=r(4817),y=r(3623),g=r(7700),b=Function,P=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=r(1954),x=r(2030),T=function(){throw new c},_=w?function(){try{return arguments.callee,T}catch(e){try{return w(arguments,"callee").get}catch(e){return T}}}():T,E=r(6406)(),S=r(1589),O=r(1033),A=r(5329),k=r(1043),C=r(261),R={},j="undefined"!=typeof Uint8Array&&S?S(Uint8Array):n,M={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":E&&S?S([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?n:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":R,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":E&&S?S(S([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&E&&S?S(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":l,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&E&&S?S(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&S?S(""[Symbol.iterator]()):n,"%Symbol%":E?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":_,"%TypedArray%":j,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":C,"%Function.prototype.apply%":k,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":O,"%Math.abs%":p,"%Math.floor%":f,"%Math.max%":h,"%Math.min%":m,"%Math.pow%":v,"%Math.round%":y,"%Math.sign%":g,"%Reflect.getPrototypeOf%":A};if(S)try{null.error}catch(e){var I=S(S(e));M["%Error.prototype%"]=I}var D=function e(t){var r;if("%AsyncFunction%"===t)r=P("async function () {}");else if("%GeneratorFunction%"===t)r=P("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=P("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&S&&(r=S(o.prototype))}return M[t]=r,r},N={__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"]},G=r(2430),L=r(1444),F=G.call(C,Array.prototype.concat),z=G.call(k,Array.prototype.splice),U=G.call(C,String.prototype.replace),q=G.call(C,String.prototype.slice),H=G.call(C,RegExp.prototype.exec),K=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,B=/\\(\\)?/g,W=function(e){var t=q(e,0,1),r=q(e,-1);if("%"===t&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return U(e,K,function(e,t,r,o){n[n.length]=r?U(o,B,"$1"):t||e}),n},$=function(e,t){var r,n=e;if(L(N,n)&&(n="%"+(r=N[n])[0]+"%"),L(M,n)){var o=M[n];if(o===R&&(o=D(n)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===H(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=W(e),n=r.length>0?r[0]:"",o=$("%"+n+"%",t),i=o.name,a=o.value,l=!1,s=o.alias;s&&(n=s[0],z(r,F([0,1],s)));for(var d=1,p=!0;d<r.length;d+=1){var f=r[d],h=q(f,0,1),m=q(f,-1);if(('"'===h||"'"===h||"`"===h||'"'===m||"'"===m||"`"===m)&&h!==m)throw new u("property names with quotes must have matching quotes");if("constructor"!==f&&p||(l=!0),n+="."+f,L(M,i="%"+n+"%"))a=M[i];
1else if(null!=a){if(!(f in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&d+1>=r.length){var v=w(a,f);a=(p=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:a[f]}else p=L(a,f),a=a[f];p&&!l&&(M[i]=a)}}return a}},681:(e,t,r)=>{"use strict";var n,o=r(5407),i=r(1954);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!n&&i&&i(Object.prototype,"__proto__"),l=Object,s=l.getPrototypeOf;e.exports=a&&"function"==typeof a.get?o([a.get]):"function"==typeof s&&function(e){return s(null==e?e:l(e))}},704:(e,t,r)=>{"use strict";r.d(t,{B8:()=>k,UC:()=>R,bL:()=>A,l9:()=>C});var n=r(2115),o=r(5185),i=r(6081),a=r(9196),l=r(8905),s=r(3655),u=r(4315),c=r(5845),d=r(1285),p=r(5155),f="Tabs",[h,m]=(0,i.A)(f,[a.RG]),v=(0,a.RG)(),[y,g]=h(f),b=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:l,activationMode:h="automatic",...m}=e,v=(0,u.jH)(l),[g,b]=(0,c.i)({prop:n,onChange:o,defaultProp:null!=i?i:"",caller:f});return(0,p.jsx)(y,{scope:r,baseId:(0,d.B)(),value:g,onValueChange:b,orientation:a,dir:v,activationMode:h,children:(0,p.jsx)(s.sG.div,{dir:v,"data-orientation":a,...m,ref:t})})});b.displayName=f;var P="TabsList",w=n.forwardRef((e,t)=>{let{__scopeTabs:r,loop:n=!0,...o}=e,i=g(P,r),l=v(r);return(0,p.jsx)(a.bL,{asChild:!0,...l,orientation:i.orientation,dir:i.dir,loop:n,children:(0,p.jsx)(s.sG.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:t})})});w.displayName=P;var x="TabsTrigger",T=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:n,disabled:i=!1,...l}=e,u=g(x,r),c=v(r),d=S(u.baseId,n),f=O(u.baseId,n),h=n===u.value;return(0,p.jsx)(a.q7,{asChild:!0,...c,focusable:!i,active:h,children:(0,p.jsx)(s.sG.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":f,"data-state":h?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:d,...l,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(n)}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&u.onValueChange(n)}),onFocus:(0,o.mK)(e.onFocus,()=>{let e="manual"!==u.activationMode;h||i||!e||u.onValueChange(n)})})})});T.displayName=x;var _="TabsContent",E=n.forwardRef((e,t)=>{let{__scopeTabs:r,value:o,forceMount:i,children:a,...u}=e,c=g(_,r),d=S(c.baseId,o),f=O(c.baseId,o),h=o===c.value,m=n.useRef(h);return n.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,p.jsx)(l.C,{present:i||h,children:r=>{let{present:n}=r;return(0,p.jsx)(s.sG.div,{"data-state":h?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":d,hidden:!n,id:f,tabIndex:0,...u,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:n&&a})}})});function S(e,t){return"".concat(e,"-trigger-").concat(t)}function O(e,t){return"".concat(e,"-content-").concat(t)}E.displayName=_;var A=b,k=w,C=T,R=E},901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(8229)._(r(2115)).default.createContext(null)},968:(e,t,r)=>{"use strict";r.d(t,{b:()=>l});var n=r(2115),o=r(3655),i=r(5155),a=n.forwardRef((e,t)=>(0,i.jsx)(o.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null==(r=e.onMouseDown)||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var l=a},1007:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(9946).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},1033:(e,t,r)=>{"use strict";e.exports=r(2821).getPrototypeOf||null},1043:e=>{"use strict";e.exports=Function.prototype.apply},1114:(e,t,r)=>{"use strict";r.d(t,{A:()=>B});var n,o,i=r(9249),a=r(2115),l="right-scroll-bar-position",s="width-before-scroll-bar";function u(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var c="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,d=new WeakMap;function p(e){return e}var f=function(e){void 0===e&&(e={});var t,r,n,o,a=(t=null,void 0===r&&(r=p),n=[],o=!1,{read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var t=r(e,o);return n.push(t),function(){n=n.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}});return a.options=(0,i.Cl)({async:!0,ssr:!1},e),a}(),h=function(){},m=a.forwardRef(function(e,t){var r,n,o,l,s=a.useRef(null),p=a.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),m=p[0],v=p[1],y=e.forwardProps,g=e.children,b=e.className,P=e.removeScrollBar,w=e.enabled,x=e.shards,T=e.sideCar,_=e.noRelative,E=e.noIsolation,S=e.inert,O=e.allowPinchZoom,A=e.as,k=e.gapMode,C=(0,i.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(r=[s,t],n=function(e){return r.forEach(function(t){return u(t,e)})},(o=(0,a.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,l=o.facade,c(function(){var e=d.get(l);if(e){var t=new Set(e),n=new Set(r),o=l.current;t.forEach(function(e){n.has(e)||u(e,null)}
1),n.forEach(function(e){t.has(e)||u(e,o)})}d.set(l,r)},[r]),l),j=(0,i.Cl)((0,i.Cl)({},C),m);return a.createElement(a.Fragment,null,w&&a.createElement(T,{sideCar:f,removeScrollBar:P,shards:x,noRelative:_,noIsolation:E,inert:S,setCallbacks:v,allowPinchZoom:!!O,lockRef:s,gapMode:k}),y?a.cloneElement(a.Children.only(g),(0,i.Cl)((0,i.Cl)({},j),{ref:R})):a.createElement(void 0===A?"div":A,(0,i.Cl)({},j,{className:b,ref:R}),g))});m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:s,zeroRight:l};var v=function(e){var t=e.sideCar,r=(0,i.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return a.createElement(n,(0,i.Cl)({},r))};v.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},g=function(){var e=y();return function(t,r){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},b=function(){var e=g();return function(t){return e(t.styles,t.dynamic),null}},P={left:0,top:0,right:0,gap:0},w=function(e){return parseInt(e||"",10)||0},x=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[w(r),w(n),w(o)]},T=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return P;var t=x(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},_=b(),E="data-scroll-locked",S=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,u=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(u,"px ").concat(n,";\n  }\n  body[").concat(E,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(u,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(l," {\n    right: ").concat(u,"px ").concat(n,";\n  }\n  \n  .").concat(s," {\n    margin-right: ").concat(u,"px ").concat(n,";\n  }\n  \n  .").concat(l," .").concat(l," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(s," .").concat(s," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(E,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},O=function(){var e=parseInt(document.body.getAttribute(E)||"0",10);return isFinite(e)?e:0},A=function(){a.useEffect(function(){return document.body.setAttribute(E,(O()+1).toString()),function(){var e=O()-1;e<=0?document.body.removeAttribute(E):document.body.setAttribute(E,e.toString())}},[])},k=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;A();var i=a.useMemo(function(){return T(o)},[o]);return a.createElement(_,{styles:S(i,!t,o,r?"":"!important")})},C=!1;if("undefined"!=typeof window)try{var R=Object.defineProperty({},"passive",{get:function(){return C=!0,!0}});window.addEventListener("test",R,R),window.removeEventListener("test",R,R)}catch(e){C=!1}var j=!!C&&{passive:!1},M=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},I=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),D(e,n)){var o=N(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},D=function(e,t){return"v"===e?M(t,"overflowY"):M(t,"overflowX")},N=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},G=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*n,s=r.target,u=t.contains(s),c=!1,d=l>0,p=0,f=0;do{if(!s)break;var h=N(e,s),m=h[0],v=h[1]-h[2]-a*m;(m||v)&&D(e,s)&&(p+=v,f+=m);var y=s.parentNode;s=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return d&&(o&&1>Math.abs(p)||!o&&l>p)?c=!0:!d&&(o&&1>Math.abs(f)||!o&&-l>f)&&(c=!0),c},L=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},F=function(e){return[e.deltaX,e.deltaY]},z=function(e){return e&&"current"in e?e.current:e},U=0,q=[];let H=(n=function(e){var t=a.useRef([]),r=a.useRef([0,0]),n=a.useRef(),o=a.useState(U++)[0],l=a.useState(b)[0],s=a.useRef(e);a.useEffect(function(){s.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,i.fX)([e.lockRef.current],(e.shards||[]).map(z),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var u=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var o,i=L(e),a=r.current,l="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=I(d,c);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=I(d,c)),!p)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=o),!o)return!0;var f=n.current||o;return G(f,t,e,"h"===f?l:u,!0)},[]),c=a.useCallback(function(e){if(q.length&&q[q.length-1]===l){var r="deltaY"in e?F(e):L(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(s.current.shards||[]).map(z).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=a.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),p=a.useCallback(function(e){r.current=L(e),n.current=void 0},[]),f=a.useCallback(function(t){d(t.type,F(t),t.target,u(t,e.lockRef.current))},[]),h=a.useCallback(function(t){d(t.type,L(t),t.target,u(t,e.lockRef.current))},[]);a.useEffect(function(){return q.push(l),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",c,j),document.addEventListener("touchmove",c,j),document.addEventListener("touchstart",p,j),function(){q=q.filter(function(e){return e!==l}),document.removeEventListener("wheel",c,j),document.removeEventListener("touchmove",c,j),document.removeEventListener("touchstart",p,j)}},[]);var m=e.removeScrollBar,v=e.inert;return a.createElement(a.Fragment,null,v?a.createElement(l,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?a.createElement(k,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},f.useMedium(n),v);var K=a.forwardRef(function(e,t){return a.createElement(m,(0,i.Cl)({},e,{ref:t,sideCar:H}))});K.classNames=m.classNames;let B=K},1154:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(9946).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},1193:(e,t)=>{"use strict";function r(e){var t;let{config:r,src:n,width:o,quality:i}=e,a=i||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+o+"&q="+a+(n.startsWith("/_next/static/media/")&&1?"&dpl=dpl_F2pepAQ89rG8KJpHrbhr4FZiBRuN":"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},1285:(e,t,r)=>{"use strict";r.d(t,{B:()=>s});var n,o=r(2115),i=r(2712),a=(n||(n=r.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),l=0;function s(e){let[t,r]=o.useState(a());return(0,i.N)(()=>{e||r(e=>e??String(l++))},[e]),e||(t?`radix-${t}`:"")}},1444:(e,t,r)=>{"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty;e.exports=r(2430).call(n,o)},1453:(e,t,r)=>{"use strict";var n=r(508),o=r(5407),i=o([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o([r]):r}},1467:e=>{"use strict";e.exports=RangeError},1469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return s},getImageProps:function(){return l}});let n=r(8229),o=r(8883),i=r(3063),a=n._(r(1193));function l(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let s=i.Image},1517:e=>{"use strict";e.exports=Math.max},1586:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});
1let n=(0,r(9946).A)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},1589:(e,t,r)=>{"use strict";var n=r(5329),o=r(1033),i=r(681);e.exports=n?function(e){return n(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return o(e)}:i?function(e){return i(e)}:null},1925:e=>{"use strict";e.exports=SyntaxError},1954:(e,t,r)=>{"use strict";var n=r(3372);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},2030:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},2060:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:n.RFC3986,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},2066:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},2083:e=>{"use strict";e.exports=Math.abs},2085:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});var n=r(2596);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:l}=t,s=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==l?void 0:l[e];if(null===t)return null;let i=o(t)||o(n);return a[e][i]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,s,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...u}[t]):({...l,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},2192:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r},o=function(e,t){for(var r=[],n=t||0,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r},i=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var a,l=this;if("function"!=typeof l||"[object Function]"!==t.apply(l))throw TypeError("Function.prototype.bind called on incompatible "+l);for(var s=o(arguments,1),u=r(0,l.length-s.length),c=[],d=0;d<u;d++)c[d]="$"+d;if(a=Function("binder","return function ("+i(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=l.apply(this,n(s,arguments));return Object(t)===t?t:this}return l.apply(e,n(s,arguments))}),l.prototype){var p=function(){};p.prototype=l.prototype,a.prototype=new p,p.prototype=null}return a}},2293:(e,t,r)=>{"use strict";r.d(t,{Oh:()=>i});var n=r(2115),o=0;function i(){n.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=r[0])?e:a()),document.body.insertAdjacentElement("beforeend",null!=(t=r[1])?t:a()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},2430:(e,t,r)=>{"use strict";var n=r(2192);e.exports=Function.prototype.bind||n},2464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(8229)._(r(2115)).default.createContext({})},2596:(e,t,r)=>{"use strict";function n(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{$:()=>n})},2678:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},2712:(e,t,r)=>{"use strict";r.d(t,{N:()=>o});var n=r(2115),o=globalThis?.document?n.useLayoutEffect:()=>{}},2764:e=>{"use strict";e.exports=EvalError},2821:e=>{"use strict";e.exports=Object},2902:e=>{"use strict";e.exports=Error},3063:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return P}});let n=r(8229),o=r(6966),i=r(5155),a=o._(r(2115)),l=n._(r(7650)),s=n._(r(5564)),u=r(8883),c=r(5840),d=r(6752);r(3230);let p=r(901),f=n._(r(1193)),h=r(6654),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function v(e,t,r,n,o,i,a){let l=null==e?void 0:e.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function y(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let g=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:o,height:l,width:s,decoding:u,className:c,style:d,fetchPriority:p,placeholder:f,loading:m,unoptimized:g,fill:b,onLoadRef:P,onLoadingCompleteRef:w,setBlurComplete:x,setShowAltText:T,sizesInput:_,onLoad:E,onError:S,...O}=e,A=(0,a.useCallback)(e=>{e&&(S&&(e.src=e.src),e.complete&&v(e,f,P,w,x,g,_))},[r,f,P,w,x,S,g,_]),k=(0,h.useMergedRef)(t,A);return(0,i.jsx)("img",{...O,...y(p),loading:m,width:s,height:l,decoding:u,"data-nimg":b?"fill":"1",className:c,style:d,sizes:o,srcSet:n,src:r,ref:k,onLoad:e=>{v(e.currentTarget,f,P,w,x,g,_)},onError:e=>{T(!0),"empty"!==f&&x(!0),S&&S(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...y(r.fetchPriority)};return t&&l.default.preload?(l.default.preload(r.src,n),null):(0,i.jsx)(s.default,{children:(0,i.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let P=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(p.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),o=(0,a.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),o=t.deviceSizes.sort((e,t)=>e-t),i=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:o,qualities:i}},[n]),{onLoad:l,onLoadingComplete:s}=e,h=(0,a.useRef)(l);(0,a.useEffect)(()=>{h.current=l},[l]);let v=(0,a.useRef)(s);(0,a.useEffect)(()=>{v.current=s},[s]);let[y,P]=(0,a.useState)(!1),[w,x]=(0,a.useState)(!1),{props:T,meta:_}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:o,blurComplete:y,showAltText:w});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g,{...T,unoptimized:_.unoptimized,placeholder:_.placeholder,fill:_.fill,onLoadRef:h,onLoadingCompleteRef:v,setBlurComplete:P,setShowAltText:x,sizesInput:e.sizes,ref:t}),_.priority?(0,i.jsx)(b,{isAppRouter:!r,imgAttributes:T}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3109:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(9946).A)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]])},3145:(e,t,r)=>{"use strict";var n=r(3674),o=r(3946),i=r(5042),a=r(7962),l=r(5742)||a||i;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+o(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=l()),e.set(t,r)}};return t}},3289:(e,t,r)=>{"use strict";var n=r(2430),o=r(1043),i=r(261);e.exports=r(2678)||n.call(i,o)},3311:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(9946).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 
11.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},3372:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},3623:e=>{"use strict";e.exports=Math.round},3655:(e,t,r)=>{"use strict";r.d(t,{hO:()=>s,sG:()=>l});var n=r(2115),o=r(7650),i=r(9708),a=r(5155),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,i.TL)(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(o?r:t,{...i,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function s(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},3674:e=>{"use strict";e.exports=TypeError},3773:(e,t,r)=>{"use strict";var n=r(3145),o=r(5281),i=r(2060),a=Object.prototype.hasOwnProperty,l={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,s(t)?t:[t])},d=Date.prototype.toISOString,p=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,r,i,a,l,u,d,p,m,v,y,g,b,P,w,x,T,_){for(var E,S,O=t,A=_,k=0,C=!1;void 0!==(A=A.get(h))&&!C;){var R=A.get(t);if(k+=1,void 0!==R)if(R===k)throw RangeError("Cyclic object value");else C=!0;void 0===A.get(h)&&(k=0)}if("function"==typeof v?O=v(r,O):O instanceof Date?O=b(O):"comma"===i&&s(O)&&(O=o.maybeMap(O,function(e){return e instanceof Date?b(e):e})),null===O){if(u)return m&&!x?m(r,f.encoder,T,"key",P):r;O=""}if("string"==typeof(E=O)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(O))return m?[w(x?r:m(r,f.encoder,T,"key",P))+"="+w(m(O,f.encoder,T,"value",P))]:[w(r)+"="+w(String(O))];var j=[];if(void 0===O)return j;if("comma"===i&&s(O))x&&m&&(O=o.maybeMap(O,m)),S=[{value:O.length>0?O.join(",")||null:void 0}];else if(s(v))S=v;else{var M=Object.keys(O);S=y?M.sort(y):M}var I=p?String(r).replace(/\./g,"%2E"):String(r),D=a&&s(O)&&1===O.length?I+"[]":I;if(l&&s(O)&&0===O.length)return D+"[]";for(var N=0;N<S.length;++N){var G=S[N],L="object"==typeof G&&G&&void 0!==G.value?G.value:O[G];if(!d||null!==L){var F=g&&p?String(G).replace(/\./g,"%2E"):String(G),z=s(O)?"function"==typeof i?i(D,F):D:D+(g?"."+F:"["+F+"]");_.set(t,k);var U=n();U.set(h,_),c(j,e(L,z,i,a,l,u,d,p,"comma"===i&&x&&s(O)?null:m,v,y,g,b,P,w,x,T,U))}}return j},v=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,r=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw TypeError("Unknown format option provided.");n=e.format}var o=i.formatters[n],u=f.filter;if(("function"==typeof e.filter||s(e.filter))&&(u=e.filter),t=e.arrayFormat in l?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var c=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:t,charset
vendor: 4,509 bytes, line 1
1:r,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:u,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}};e.exports=function(e,t){var r,o,i=e,a=v(t);"function"==typeof a.filter?i=(0,a.filter)("",i):s(a.filter)&&(r=a.filter);var u=[];if("object"!=typeof i||null===i)return"";var d=l[a.arrayFormat],p="comma"===d&&a.commaRoundTrip;r||(r=Object.keys(i)),a.sort&&r.sort(a.sort);for(var f=n(),h=0;h<r.length;++h){var y=r[h],g=i[y];a.skipNulls&&null===g||c(u,m(g,y,d,p,a.allowEmptyArrays,a.strictNullHandling,a.skipNulls,a.encodeDotInKeys,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,f))}var b=u.join(a.delimiter),P=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?P+="utf8=%26%2310003%3B&":P+="utf8=%E2%9C%93&"),b.length>0?P+b:""}},3946:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,l="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&l?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=l&&s&&"function"==typeof s.get?s.get:null,c=l&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,v=Function.prototype.toString,y=String.prototype.match,g=String.prototype.slice,b=String.prototype.replace,P=String.prototype.toUpperCase,w=String.prototype.toLowerCase,x=RegExp.prototype.test,T=Array.prototype.concat,_=Array.prototype.join,E=Array.prototype.slice,S=Math.floor,O="function"==typeof BigInt?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,C="function"==typeof Symbol&&"object"==typeof Symbol.iterator,R="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===C?"object":"symbol")?Symbol.toStringTag:null,j=Object.prototype.propertyIsEnumerable,M=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function I(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-S(-e):S(e);if(n!==e){var o=String(n),i=g.call(t,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var D=r(2634),N=D.custom,G=K(N)?N:null,L={__proto__:null,double:'"',single:"'"},F={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function z(e,t,r){var n=L[r.quoteStyle||t];return n+e+n}function U(e){return!R||!("object"==typeof e&&(R in e||void 0!==e[R]))}function q(e){return"[object Array]"===$(e)&&U(e)}function H(e){return"[object RegExp]"===$(e)&&U(e)}function K(e){if(C)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!k)return!1;try{return k.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,l){var s,m,P,x,S,A=n||{};if(W(A,"quoteStyle")&&!W(L,A.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(W(A,"maxStringLength")&&("number"==typeof A.maxStringLength?A.maxStringLength<0&&A.maxStringLength!==1/0:null!==A.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var N=!W(A,"customInspect")||A.customInspect;if("boolean"!=typeof N&&"symbol"!==N)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
1if(W(A,"indent")&&null!==A.indent&&"	"!==A.indent&&!(parseInt(A.indent,10)===A.indent&&A.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(A,"numericSeparator")&&"boolean"!=typeof A.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var B=A.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,r){if(t.length>r.maxStringLength){var n=t.length-r.maxStringLength;return e(g.call(t,0,r.maxStringLength),r)+("... "+n)+" more character"+(n>1?"s":"")}var o=F[r.quoteStyle||"single"];return o.lastIndex=0,z(b.call(b.call(t,o,"\\$1"),/[\x00-\x1f]/g,X),"single",r)}(t,A);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var et=String(t);return B?I(t,et):et}if("bigint"==typeof t){var er=String(t)+"n";return B?I(t,er):er}var en=void 0===A.depth?5:A.depth;if(void 0===o&&(o=0),o>=en&&en>0&&"object"==typeof t)return q(t)?"[Array]":"[Object]";var eo=function(e,t){var r;if("	"===e.indent)r="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=_.call(Array(e.indent+1)," ")}return{base:r,prev:_.call(Array(t+1),r)}}(A,o);if(void 0===l)l=[];else if(V(l,t)>=0)return"[Circular]";function ei(t,r,n){if(r&&(l=E.call(l)).push(r),n){var i={depth:A.depth};return W(A,"quoteStyle")&&(i.quoteStyle=A.quoteStyle),e(t,i,o+1,l)}return e(t,A,o+1,l)}if("function"==typeof t&&!H(t)){var ea=function(e){if(e.name)return e.name;var t=y.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),el=ee(t,ei);return"[Function"+(ea?": "+ea:" (anonymous)")+"]"+(el.length>0?" { "+_.call(el,", ")+" }":"")}if(K(t)){var es=C?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(t);return"object"!=typeof t||C?es:J(es)}if((eu=t)&&"object"==typeof eu&&("undefined"!=typeof HTMLElement&&eu instanceof HTMLElement||"string"==typeof eu.nodeName&&"function"==typeof eu.getAttribute)){for(var eu,ec,ed="<"+w.call(String(t.nodeName)),ep=t.attributes||[],ef=0;ef<ep.length;ef++){ed+=" "+ep[ef].name+"="+z((ec=ep[ef].value,b.call(String(ec),/"/g,"&quot;")),"double",A)}return ed+=">",t.childNodes&&t.childNodes.length&&(ed+="..."),ed+="</"+w.call(String(t.nodeName))+">"}if(q(t)){if(0===t.length)return"[]";var eh=ee(t,ei);return eo&&!function(e){for(var t=0;t<e.length;t++)if(V(e[t],"\n")>=0)return!1;return!0}(eh)?"["+Z(eh,eo)+"]":"[ "+_.call(eh,", ")+" ]"}if("[object Error]"===$(s=t)&&U(s)){var em=ee(t,ei);return"cause"in Error.prototype||!("cause"in t)||j.call(t,"cause")?0===em.length?"["+String(t)+"]":"{ ["+String(t)+"] "+_.call(em,", ")+" }":"{ ["+String(t)+"] "+_.call(T.call("[cause]: "+ei(t.cause),em),", ")+" }"}
1if("object"==typeof t&&N){if(G&&"function"==typeof t[G]&&D)return D(t,{depth:en-o});else if("symbol"!==N&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ev=[];return a&&a.call(t,function(e,r){ev.push(ei(r,t,!0)+" => "+ei(e,t))}),Q("Map",i.call(t),ev,eo)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ey=[];return c&&c.call(t,function(e){ey.push(ei(e,t))}),Q("Set",u.call(t),ey,eo)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if("[object Number]"===$(m=t)&&U(m))return J(ei(Number(t)));if(function(e){if(!e||"object"!=typeof e||!O)return!1;try{return O.call(e),!0}catch(e){}return!1}(t))return J(ei(O.call(t)));if("[object Boolean]"===$(P=t)&&U(P))return J(h.call(t));if("[object String]"===$(x=t)&&U(x))return J(ei(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==r.g&&t===r.g)return"{ [object globalThis] }";if(!("[object Date]"===$(S=t)&&U(S))&&!H(t)){var eg=ee(t,ei),eb=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,eP=t instanceof Object?"":"null prototype",ew=!eb&&R&&Object(t)===t&&R in t?g.call($(t),8,-1):eP?"Object":"",ex=(eb||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ew||eP?"["+_.call(T.call([],ew||[],eP||[]),": ")+"] ":"");return 0===eg.length?ex+"{}":eo?ex+"{"+Z(eg,eo)+"}":ex+"{ "+_.call(eg,", ")+" }"}return String(t)};var B=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return B.call(e,t)}function $(e){return m.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}function X(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+P.call(t.toString(16))}function J(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function Q(e,t,r,n){return e+" ("+t+") {"+(n?Z(r,n):_.call(r,", "))+"}"}function Z(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+_.call(e,","+r)+"\n"+t.prev}function ee(e,t){var r,n=q(e),o=[];if(n){o.length=e.length;for(var i=0;i<e.length;i++)o[i]=W(e,i)?t(e[i],e):""}var a="function"==typeof A?A(e):[];if(C){r={};for(var l=0;l<a.length;l++)r["$"+a[l]]=a[l]}for(var s in e)if(W(e,s)&&(!n||String(Number(s))!==s||!(s<e.length)))if(C&&r["$"+s]instanceof Symbol)continue;else x.call(/[^\w$]/,s)?o.push(t(s,e)+": "+t(e[s],e)):o.push(s+": "+t(e[s],e));if("function"==typeof A)for(var u=0;u<a.length;u++)j.call(e,a[u])&&o.push("["+t(a[u])+"]: "+t(e[a[u]],e));return o}},4251:e=>{"use strict";e.exports=Math.min},4315:(e,t,r)=>{"use strict";r.d(t,{jH:()=>i});var n=r(2115);r(5155);var o=n.createContext(void 0);function i(e){let t=n.useContext(o);return e||t||"ltr"}},4378:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(2115),o=r(7650),i=r(3655),a=r(2712),l=r(5155),s=n.forwardRef((e,t)=>{var r,s;let{container:u,...c}=e,[d,p]=n.useState(!1);(0,a.N)(()=>p(!0),[]);let f=u||d&&(null==(s=globalThis)||null==(r=s.document)?void 0:r.body);return f?o.createPortal((0,l.jsx)(i.sG.div,{...c,ref:t}),f):null});s.displayName="Portal"},4747:e=>{"use strict";e.exports=ReferenceError},4817:e=>{"use strict";e.exports=Math.pow},4835:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(9946).A)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]])},5029:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(2115),o=n.useLayoutEffect,i=n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5042:(e,t,r)=>{"use strict";var n=r(3946),o=r(3674),i=function(e,t,r){for(var n,o=e;null!=(n=o.next);o=n)if(n.key===t)return o.next=n.next,r||(n.next=e.next,e.next=n),n},a=function(e,t){if(e){var r=i(e,t);return r&&r.value}},l=function(e,t,r){var n=i(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},s=function(e,t){if(e)return i(e,t,!0)};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+n(e))},delete:function(t){var r=e&&e.next,n=s(e,t);return n&&r&&r===n&&(e=void 0),!!n},get:function(t){return a(e,t)},has:function(t){var r;return!!(r=e)&&!!i(r,t)},set:function(t,r){e||(e={next:void 0}),l(e,t,r)}};return t}},5100:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:o,blurDataURL:i,objectFit:a}=e,l=n?40*n:t,s=o?40*o:r,u=l&&s?"viewBox='0 0 "+l+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},5185:(e,t,r)=>{"use strict";r.d(t,{mK:()=>o});var n=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},5196:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(9946).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},5254:(e,t,r)=>{"use strict";r.d(t,{A:()=>ok});var n={};r.r(n),r.d(n,{StripeAPIError:()=>L,StripeAuthenticationError:()=>F,StripeCardError:()=>N,StripeConnectionError:()=>q,StripeError:()=>D,StripeIdempotencyError:()=>K,StripeInvalidGrantError:()=>B,StripeInvalidRequestError:()=>G,StripePermissionError:()=>z,StripeRateLimitError:()=>U,StripeSignatureVerificationError:()=>H,StripeUnknownError:()=>W,TemporarySessionExpiredError:()=>$,generateV1Error:()=>M,generateV2Error:()=>I});var o={};r.r(o),r.d(o,{Account:()=>rO,AccountLinks:()=>rk,AccountSessions:()=>rR,Accounts:()=>rO,ApplePayDomains:()=>rM,ApplicationFees:()=>rD,Apps:()=>oa,Balance:()=>rG,BalanceTransactions:()=>rF,Billing:()=>ol,BillingPortal:()=>os,Charges:()=>rU,Checkout:()=>ou,Climate:()=>oc,ConfirmationTokens:()=>rH,CountrySpecs:()=>rB,Coupons:()=>r$,CreditNotes:()=>rX,CustomerSessions:()=>rY,Customers:()=>rZ,Disputes:()=>r1,Entitlements:()=>od,EphemeralKeys:()=>r5,Events:()=>r6,ExchangeRates:()=>r4,FileLinks:()=>r7,Files:()=>nr,FinancialConnections:()=>op,Forwarding:()=>of,Identity:()=>oh,InvoiceItems:()=>no,InvoicePayments:()=>na,InvoiceRenderingTemplates:()=>ns,Invoices:()=>nc,Issuing:()=>om,Mandates:()=>np,OAuth:()=>nm,PaymentIntents:()=>ny,PaymentLinks:()=>nb,PaymentMethodConfigurations:()=>nw,PaymentMethodDomains:()=>nT,PaymentMethods:()=>nE,Payouts:()=>nO,Plans:()=>nk,Prices:()=>nR,Products:()=>nM,PromotionCodes:()=>nD,Quotes:()=>nG,Radar:()=>
1ov,Refunds:()=>nF,Reporting:()=>oy,Reviews:()=>nU,SetupAttempts:()=>nH,SetupIntents:()=>nB,ShippingRates:()=>n$,Sigma:()=>og,Sources:()=>nX,SubscriptionItems:()=>nY,SubscriptionSchedules:()=>nZ,Subscriptions:()=>n1,Tax:()=>ob,TaxCodes:()=>n5,TaxIds:()=>n6,TaxRates:()=>n4,Terminal:()=>oP,TestHelpers:()=>ow,Tokens:()=>n7,Topups:()=>ot,Transfers:()=>on,Treasury:()=>ox,V2:()=>oT,WebhookEndpoints:()=>oi});var i=r(6052),a=r(9509);let l=["apiKey","idempotencyKey","stripeAccount","apiVersion","maxNetworkRetries","timeout","host","authenticator","stripeContext","additionalHeaders","streaming"];function s(e){return e&&"object"==typeof e&&l.some(t=>Object.prototype.hasOwnProperty.call(e,t))}function u(e,t){return i.stringify(e,{serializeDate:e=>Math.floor(e.getTime()/1e3).toString(),arrayFormat:"v2"==t?"repeat":"indices"}).replace(/%5B/g,"[").replace(/%5D/g,"]")}let c=(()=>{let e={"\n":"\\n",'"':'\\"',"\u2028":"\\u2028","\u2029":"\\u2029"};return t=>{let r=t.replace(/["\n\r\u2028\u2029]/g,t=>e[t]);return e=>r.replace(/\{([\s\S]+?)\}/g,(t,r)=>{let n=e[r];return["number","string","boolean"].includes(typeof n)?encodeURIComponent(n):""})}})();function d(e){if(!Array.isArray(e)||!e[0]||"object"!=typeof e[0])return{};if(!s(e[0]))return e.shift();let t=Object.keys(e[0]),r=t.filter(e=>l.includes(e));return r.length>0&&r.length!==t.length&&m(`Options found in arguments (${r.join(", ")}). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options.`),{}}function p(e){let t={host:null,headers:{},settings:{},streaming:!1};if(e.length>0){let r=e[e.length-1];if("string"==typeof r)t.authenticator=y(e.pop());else if(s(r)){let r=Object.assign({},e.pop()),n=Object.keys(r).filter(e=>!l.includes(e));if(n.length&&m(`Invalid options found (${n.join(", ")}); ignoring.`),r.apiKey&&(t.authenticator=y(r.apiKey)),r.idempotencyKey&&(t.headers["Idempotency-Key"]=r.idempotencyKey),r.stripeAccount&&(t.headers["Stripe-Account"]=r.stripeAccount),r.stripeContext){if(t.headers["Stripe-Account"])throw Error("Can't specify both stripeAccount and stripeContext.");t.headers["Stripe-Context"]=r.stripeContext}if(r.apiVersion&&(t.headers["Stripe-Version"]=r.apiVersion),Number.isInteger(r.maxNetworkRetries)&&(t.settings.maxNetworkRetries=r.maxNetworkRetries),Number.isInteger(r.timeout)&&(t.settings.timeout=r.timeout),r.host&&(t.host=r.host),r.authenticator){if(r.apiKey)throw Error("Can't specify both apiKey and authenticator.");if("function"!=typeof r.authenticator)throw Error("The authenticator must be a function receiving a request as the first parameter.");t.authenticator=r.authenticator}r.additionalHeaders&&(t.headers=r.additionalHeaders),r.streaming&&(t.streaming=!0)}}return t}function f(e){if("object"!=typeof e)throw Error("Argument must be an object");return Object.keys(e).reduce((t,r)=>(null!=e[r]&&(t[r]=e[r]),t),{})}function h(e,t){return t?e.then(e=>{setTimeout(()=>{t(null,e)},0)},e=>{setTimeout(()=>{t(e,null)},0)}):e}function m(e){return"function"!=typeof a.emitWarning?console.warn(`Stripe: ${e}`):a.emitWarning(e,"Stripe")}function v(e,t,r){if(!Number.isInteger(t))if(void 0!==r)return r;else throw Error(`${e} must be an integer`);return t}function y(e){let t=t=>(t.headers.Authorization="Bearer "+e,Promise.resolve());return t._apiKey=e,t}function g(e,t){return this[e]instanceof Date?Math.floor(this[e].getTime()/1e3).toString():t}function b(e){return e&&e.startsWith("/v2")?"v2":"v1"}function P(e){return Array.isArray(e)?e.join(", "):String(e)}class w{getClientName(){throw Error("getClientName not implemented.")}makeRequest(e,t,r,n,o,i,a,l){throw Error("makeRequest not implemented.")}static makeTimeoutError(){let e=TypeError(w.TIMEOUT_ERROR_CODE);return e.code=w.TIMEOUT_ERROR_CODE,e}}w.CONNECTION_CLOSED_ERROR_CODES=["ECONNRESET","EPIPE"],w.TIMEOUT_ERROR_CODE="ETIMEDOUT";class x{constructor(e,t){this._statusCode=e,this._headers=t}getStatusCode(){return this._statusCode}getHeaders(){return this._headers}getRawResponse(){throw Error("getRawResponse not implemented.")}toStream(e){throw Error("toStream not implemented.")}toJSON(){throw Error("toJSON not implemented.")}}class T extends w{constructor(e){if(super(),!e){if(!globalThis.fetch)throw Error("fetch() function not provided and is not defined in the global scope. You must provide a fetch implementation.");e=globalThis.fetch}globalThis.AbortController?this._fetchFn=T.makeFetchWithAbortTimeout(e):this._fetchFn=T.makeFetchWithRaceTimeout(e)}static makeFetchWithRaceTimeout(e){return(t,r,n)=>{let o,i=new Promise((e,t)=>
1{o=setTimeout(()=>{o=null,t(w.makeTimeoutError())},n)});return Promise.race([e(t,r),i]).finally(()=>{o&&clearTimeout(o)})}}static makeFetchWithAbortTimeout(e){return async(t,r,n)=>{let o=new AbortController,i=setTimeout(()=>{i=null,o.abort(w.makeTimeoutError())},n);try{return await e(t,Object.assign(Object.assign({},r),{signal:o.signal}))}catch(e){if("AbortError"===e.name)throw w.makeTimeoutError();throw e}finally{i&&clearTimeout(i)}}}getClientName(){return"fetch"}async makeRequest(e,t,r,n,o,i,a,l){let s=new URL(r,`${"http"===a?"http":"https"}://${e}`);s.port=t;let u="POST"==n||"PUT"==n||"PATCH"==n,c=i||(u?"":void 0);return new _(await this._fetchFn(s.toString(),{method:n,headers:Object.entries(o).map(([e,t])=>[e,P(t)]),body:"object"==typeof c?JSON.stringify(c):c},l))}}class _ extends x{constructor(e){super(e.status,_._transformHeadersToObject(e.headers)),this._res=e}getRawResponse(){return this._res}toStream(e){return e(),this._res.body}toJSON(){return this._res.json()}static _transformHeadersToObject(e){let t={};for(let r of e){if(!Array.isArray(r)||2!=r.length)throw Error("Response objects produced by the fetch function given to FetchHttpClient do not have an iterable headers map. Response#headers should be an iterable object.");t[r[0]]=r[1]}return t}}class E{computeHMACSignature(e,t){throw Error("computeHMACSignature not implemented.")}computeHMACSignatureAsync(e,t){throw Error("computeHMACSignatureAsync not implemented.")}computeSHA256Async(e){throw Error("computeSHA256 not implemented.")}}class S extends Error{}class O extends E{constructor(e){super(),this.subtleCrypto=e||crypto.subtle}computeHMACSignature(e,t){throw new S("SubtleCryptoProvider cannot be used in a synchronous context.")}async computeHMACSignatureAsync(e,t){let r=new TextEncoder,n=await this.subtleCrypto.importKey("raw",r.encode(t),{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),o=new Uint8Array(await this.subtleCrypto.sign("hmac",n,r.encode(e))),i=Array(o.length);for(let e=0;e<o.length;e++)i[e]=A[o[e]];return i.join("")}async computeSHA256Async(e){return new Uint8Array(await this.subtleCrypto.digest("SHA-256",e))}}let A=Array(256);for(let e=0;e<A.length;e++)A[e]=e.toString(16).padStart(2,"0");class k{constructor(){this._fetchFn=null,this._agent=null}getUname(){throw Error("getUname not implemented.")}uuid4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}secureCompare(e,t){if(e.length!==t.length)return!1;let r=e.length,n=0;for(let o=0;o<r;++o)n|=e.charCodeAt(o)^t.charCodeAt(o);return 0===n}createEmitter(){throw Error("createEmitter not implemented.")}tryBufferData(e){throw Error("tryBufferData not implemented.")}createNodeHttpClient(e){throw Error("createNodeHttpClient not implemented.")}createFetchHttpClient(e){return new T(e)}createDefaultHttpClient(){throw Error("createDefaultHttpClient not implemented.")}createNodeCryptoProvider(){throw Error("createNodeCryptoProvider not implemented.")}createSubtleCryptoProvider(e){return new O(e)}createDefaultCryptoProvider(){throw Error("createDefaultCryptoProvider not implemented.")}}class C extends Event{constructor(e,t){super(e),this.data=t}}class R{constructor(){this.eventTarget=new EventTarget,this.listenerMapping=new Map}on(e,t){let r=e=>{t(e.data)};return this.listenerMapping.set(t,r),this.eventTarget.addEventListener(e,r)}removeListener(e,t){let r=this.listenerMapping.get(t);return this.listenerMapping.delete(t),this.eventTarget.removeEventListener(e,r)}once(e,t){let r=e=>{t(e.data)};return this.listenerMapping.set(t,r),this.eventTarget.addEventListener(e,r,{once:!0})}emit(e,t){return this.eventTarget.dispatchEvent(new C(e,t))}}class j extends k{getUname(){return Promise.resolve(null)}createEmitter(){return new R}tryBufferData(e){if(e.file.data instanceof ReadableStream)throw Error("Uploading a file as a stream is not supported in non-Node environments. Please open or upvote an issue at github.com/stripe/stripe-node if you use this, detailing your use-case.");return Promise.resolve(e)}createNodeHttpClient(){throw Error("Stripe: `createNodeHttpClient()` is not available in non-Node environments. Please use `createFetchHttpClient()` instead.")}createDefaultHttpClient(){return super.createFetchHttpClient()}createNodeCryptoProvider(){throw Error("Stripe: `createNodeCryptoProvider()` is not available in non-Node environments. Please use `createSubtleCryptoProvider()` instead.")}createDefaultCryptoProvider(){return this.createSubtleCryptoProvider()}}let M=e=>{switch(e.type){case"card_error":return new N(e);
1case"invalid_request_error":return new G(e);case"api_error":return new L(e);case"authentication_error":return new F(e);case"rate_limit_error":return new U(e);case"idempotency_error":return new K(e);case"invalid_grant":return new B(e);default:return new W(e)}},I=e=>"temporary_session_expired"===e.type?new $(e):"invalid_fields"===e.code?new G(e):M(e);class D extends Error{constructor(e={},t=null){var r;super(e.message),this.type=t||this.constructor.name,this.raw=e,this.rawType=e.type,this.code=e.code,this.doc_url=e.doc_url,this.param=e.param,this.detail=e.detail,this.headers=e.headers,this.requestId=e.requestId,this.statusCode=e.statusCode,this.message=null!=(r=e.message)?r:"",this.userMessage=e.user_message,this.charge=e.charge,this.decline_code=e.decline_code,this.payment_intent=e.payment_intent,this.payment_method=e.payment_method,this.payment_method_type=e.payment_method_type,this.setup_intent=e.setup_intent,this.source=e.source}}D.generate=M;class N extends D{constructor(e={}){super(e,"StripeCardError")}}class G extends D{constructor(e={}){super(e,"StripeInvalidRequestError")}}class L extends D{constructor(e={}){super(e,"StripeAPIError")}}class F extends D{constructor(e={}){super(e,"StripeAuthenticationError")}}class z extends D{constructor(e={}){super(e,"StripePermissionError")}}class U extends D{constructor(e={}){super(e,"StripeRateLimitError")}}class q extends D{constructor(e={}){super(e,"StripeConnectionError")}}class H extends D{constructor(e,t,r={}){super(r,"StripeSignatureVerificationError"),this.header=e,this.payload=t}}class K extends D{constructor(e={}){super(e,"StripeIdempotencyError")}}class B extends D{constructor(e={}){super(e,"StripeInvalidGrantError")}}class W extends D{constructor(e={}){super(e,"StripeUnknownError")}}class $ extends D{constructor(e={}){super(e,"TemporarySessionExpiredError")}}class V{constructor(e,t){this._stripe=e,this._maxBufferedRequestMetric=t}_addHeadersDirectlyToObject(e,t){e.requestId=t["request-id"],e.stripeAccount=e.stripeAccount||t["stripe-account"],e.apiVersion=e.apiVersion||t["stripe-version"],e.idempotencyKey=e.idempotencyKey||t["idempotency-key"]}_makeResponseEvent(e,t,r){let n=Date.now(),o=n-e.request_start_time;return f({api_version:r["stripe-version"],account:r["stripe-account"],idempotency_key:r["idempotency-key"],method:e.method,path:e.path,status:t,request_id:this._getRequestId(r),elapsed:o,request_start_time:e.request_start_time,request_end_time:n})}_getRequestId(e){return e["request-id"]}_streamingResponseHandler(e,t,r){return n=>{let o=n.getHeaders(),i=n.toStream(()=>{let r=this._makeResponseEvent(e,n.getStatusCode(),o);this._stripe._emitter.emit("response",r),this._recordRequestMetrics(this._getRequestId(o),r.elapsed,t)});return this._addHeadersDirectlyToObject(i,o),r(null,i)}}_jsonResponseHandler(e,t,r,n){return o=>{let i=o.getHeaders(),a=this._getRequestId(i),l=o.getStatusCode(),s=this._makeResponseEvent(e,l,i);this._stripe._emitter.emit("response",s),o.toJSON().then(e=>{if(e.error){let r;throw"string"==typeof e.error&&(e.error={type:e.error,message:e.error_description}),e.error.headers=i,e.error.statusCode=l,e.error.requestId=a,401===l?new F(e.error):403===l?new z(e.error):429===l?new U(e.error):"v2"===t?I(e.error):M(e.error)}return e},e=>{throw new L({message:"Invalid JSON received from the Stripe API",exception:e,requestId:i["request-id"]})}).then(e=>{this._recordRequestMetrics(a,s.elapsed,r);let t=o.getRawResponse();this._addHeadersDirectlyToObject(t,i),Object.defineProperty(e,"lastResponse",{enumerable:!1,writable:!1,value:t}),n(null,e)},e=>n(e,null))}}static _generateConnectionErrorMessage(e){return`An error occurred with our connection to Stripe.${e>0?` Request was retried ${e} times.`:""}`}static _shouldRetry(e,t,r,n){return!!(n&&0===t&&w.CONNECTION_CLOSED_ERROR_CODES.includes(n.code))||!(t>=r)&&(!e||"false"!==e.getHeaders()["stripe-should-retry"]&&!!("true"===e.getHeaders()["stripe-should-retry"]||409===e.getStatusCode()||e.getStatusCode()>=500))}_getSleepTimeInMS(e,t=null){let r=this._stripe.getInitialNetworkRetryDelay(),n=Math.min(r*Math.pow(2,e-1),this._stripe.getMaxNetworkRetryDelay());return n*=.5*(1+Math.random()),n=Math.max(r,n),Number.isInteger(t)&&t<=60&&(n=Math.max(n,t)),1e3*n}_getMaxNetworkRetries(e={}){return void 0!==e.maxNetworkRetries&&Number.isInteger(e.maxNetworkRetries)?e.maxNetworkRetries:this._stripe.getMaxNetworkRetries()}_defaultIdempotencyKey(e,t,r){let n=this._getMaxNetworkRetries(t),o=()=>
1`stripe-node-retry-${this._stripe._platformFunctions.uuid4()}`;if("v2"===r){if("POST"===e||"DELETE"===e)return o()}else if("v1"===r&&"POST"===e&&n>0)return o();return null}_makeHeaders({contentType:e,contentLength:t,apiVersion:r,clientUserAgent:n,method:o,userSuppliedHeaders:i,userSuppliedSettings:a,stripeAccount:l,stripeContext:s,apiMode:u}){let c={Accept:"application/json","Content-Type":e,"User-Agent":this._getUserAgentString(u),"X-Stripe-Client-User-Agent":n,"X-Stripe-Client-Telemetry":this._getTelemetryHeader(),"Stripe-Version":r,"Stripe-Account":l,"Stripe-Context":s,"Idempotency-Key":this._defaultIdempotencyKey(o,a,u)},d="POST"==o||"PUT"==o||"PATCH"==o;return(d||t)&&(d||m(`${o} method had non-zero contentLength but no payload is expected for this verb`),c["Content-Length"]=t),Object.assign(f(c),i&&"object"==typeof i?Object.keys(i).reduce((e,t)=>(e[t.split("-").map(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()).join("-")]=i[t],e),{}):i)}_getUserAgentString(e){let t=this._stripe.getConstant("PACKAGE_VERSION"),r=this._stripe._appInfo?this._stripe.getAppInfoAsString():"";return`Stripe/${e} NodeBindings/${t} ${r}`.trim()}_getTelemetryHeader(){if(this._stripe.getTelemetryEnabled()&&this._stripe._prevRequestMetrics.length>0)return JSON.stringify({last_request_metrics:this._stripe._prevRequestMetrics.shift()})}_recordRequestMetrics(e,t,r){if(this._stripe.getTelemetryEnabled()&&e)if(this._stripe._prevRequestMetrics.length>this._maxBufferedRequestMetric)m("Request metrics buffer is full, dropping telemetry message.");else{let n={request_id:e,request_duration_ms:t};r&&r.length>0&&(n.usage=r),this._stripe._prevRequestMetrics.push(n)}}_rawRequest(e,t,r,n){return new Promise((o,i)=>{let a;try{let o=e.toUpperCase();if("POST"!==o&&r&&0!==Object.keys(r).length)throw Error("rawRequest only supports params on POST requests. Please pass null and add your parameters to path.");let i=[].slice.call([r,n]),l=d(i),s="POST"===o?Object.assign({},l):null,u=p(i),c=u.headers,f=u.authenticator;a={requestMethod:o,requestPath:t,bodyData:s,queryData:{},authenticator:f,headers:c,host:u.host,streaming:!!u.streaming,settings:{},usage:["raw_request"]}}catch(e){i(e);return}let{headers:l,settings:s}=a,u=a.authenticator;this._request(a.requestMethod,a.host,t,a.bodyData,u,{headers:l,settings:s,streaming:a.streaming},a.usage,function(e,t){e?i(e):o(t)})})}_request(e,t,r,n,o,i,a=[],l,s=null){var c;let d;o=null!=(c=null!=o?o:this._stripe._authenticator)?c:null;let p=b(r),h=(e,t,r,n,o)=>setTimeout(e,this._getSleepTimeInMS(n,o),t,r,n+1),m=(n,s,u)=>{let c=i.settings&&i.settings.timeout&&Number.isInteger(i.settings.timeout)&&i.settings.timeout>=0?i.settings.timeout:this._stripe.getApiField("timeout"),v={host:t||this._stripe.getApiField("host"),port:this._stripe.getApiField("port"),path:r,method:e,headers:Object.assign({},s),body:d,protocol:this._stripe.getApiField("protocol")};o(v).then(()=>{let t=this._stripe.getApiField("httpClient").makeRequest(v.host,v.port,v.path,v.method,v.headers,v.body,v.protocol,c),o=Date.now(),d=f({api_version:n,account:P(s["Stripe-Account"]),idempotency_key:P(s["Idempotency-Key"]),method:e,path:r,request_start_time:o}),y=u||0,g=this._getMaxNetworkRetries(i.settings||{});this._stripe._emitter.emit("request",d),t.then(e=>{if(V._shouldRetry(e,y,g)){var t;return h(m,n,s,y,Number(Array.isArray(t=e.getHeaders()["retry-after"])?t[0]:t))}return i.streaming&&400>e.getStatusCode()?this._streamingResponseHandler(d,a,l)(e):this._jsonResponseHandler(d,p,a,l)(e)}).catch(e=>V._shouldRetry(null,y,g,e)?h(m,n,s,y,null):l(new q({message:e.code&&e.code===w.TIMEOUT_ERROR_CODE?`Request aborted due to timeout being reached (${c}ms)`:V._generateConnectionErrorMessage(y),detail:e})))}).catch(e=>{throw new D({message:"Unable to authenticate the request",exception:e})})},v=(t,r)=>{if(t)return l(t);d=r,this._stripe.getClientUserAgent(t=>{let r=this._stripe.getApiField("version"),n=this._makeHeaders({contentType:"v2"==p?"application/json":"application/x-www-form-urlencoded",contentLength:d.length,apiVersion:r,clientUserAgent:t,method:e,userSuppliedHeaders:i.headers,userSuppliedSettings:i.settings,stripeAccount:"v2"==p?null:this._stripe.getApiField("stripeAccount"),stripeContext:"v2"==p?this._stripe.getApiField("stripeContext"):null,apiMode:p});
1m(r,n,0)})};if(s)s(e,n,i.headers,v);else{let e;v(null,e="v2"==p?n?JSON.stringify(n,g):"":u(n||{},p))}}}class X{constructor(e,t,r,n){this.index=0,this.pagePromise=e,this.promiseCache={currentPromise:null},this.requestArgs=t,this.spec=r,this.stripeResource=n}async iterate(e){if(!(e&&e.data&&"number"==typeof e.data.length))throw Error("Unexpected: Stripe API response does not have a well-formed `data` array.");let t=et(this.requestArgs);if(this.index<e.data.length){let r=t?e.data.length-1-this.index:this.index,n=e.data[r];return this.index+=1,{value:n,done:!1}}if(e.has_more){this.index=0,this.pagePromise=this.getNextPage(e);let t=await this.pagePromise;return this.iterate(t)}return{done:!0,value:void 0}}getNextPage(e){throw Error("Unimplemented")}async _next(){return this.iterate(await this.pagePromise)}next(){if(this.promiseCache.currentPromise)return this.promiseCache.currentPromise;let e=(async()=>{let e=await this._next();return this.promiseCache.currentPromise=null,e})();return this.promiseCache.currentPromise=e,e}}class J extends X{getNextPage(e){let t=et(this.requestArgs),r=function(e,t){let r=t?0:e.data.length-1,n=e.data[r],o=n&&n.id;if(!o)throw Error("Unexpected: No `id` found on the last item while auto-paging a list.");return o}(e,t);return this.stripeResource._makeRequest(this.requestArgs,this.spec,{[t?"ending_before":"starting_after"]:r})}}class Y extends X{getNextPage(e){if(!e.next_page)throw Error("Unexpected: Stripe API response does not have a well-formed `next_page` field, but `has_more` was true.");return this.stripeResource._makeRequest(this.requestArgs,this.spec,{page:e.next_page})}}class Q{constructor(e,t,r,n){this.currentPageIterator=(async()=>(await e).data[Symbol.iterator]())(),this.nextPageUrl=(async()=>(await e).next_page_url||null)(),this.requestArgs=t,this.spec=r,this.stripeResource=n}async turnPage(){let e=await this.nextPageUrl;if(!e)return null;this.spec.fullPath=e;let t=await this.stripeResource._makeRequest([],this.spec,{});return this.nextPageUrl=Promise.resolve(t.next_page_url),this.currentPageIterator=Promise.resolve(t.data[Symbol.iterator]()),this.currentPageIterator}async next(){{let e=(await this.currentPageIterator).next();if(!e.done)return{done:!1,value:e.value}}let e=await this.turnPage();if(!e)return{done:!0,value:void 0};let t=e.next();return t.done?{done:!0,value:void 0}:{done:!1,value:t.value}}}let Z=(e,t,r,n)=>{let o=b(r.fullPath||r.path);return"v2"!==o&&"search"===r.methodType?ee(new Y(n,t,r,e)):"v2"!==o&&"list"===r.methodType?ee(new J(n,t,r,e)):"v2"===o&&"list"===r.methodType?ee(new Q(n,t,r,e)):null},ee=e=>{var t,r;let n=(t=(...t)=>e.next(...t),function(){var e,r;let n=[].slice.call(arguments),o=function(e){if(0===e.length)return;let t=e[0];if("function"!=typeof t)throw Error(`The first argument to autoPagingEach, if present, must be a callback function; received ${typeof t}`);if(2===t.length)return t;if(t.length>2)throw Error(`The \`onItem\` callback function passed to autoPagingEach must accept at most two arguments; got ${t}`);return function(e,r){r(t(e))}}(n),i=function(e){if(e.length<2)return null;let t=e[1];if("function"!=typeof t)throw Error(`The second argument to autoPagingEach, if present, must be a callback function; received ${typeof t}`);return t}(n);if(n.length>2)throw Error(`autoPagingEach takes up to two arguments; received ${n}`);return h((e=t,r=o,new Promise((t,n)=>{e().then(function n(o){if(o.done)return void t();let i=o.value;return new Promise(e=>{r(i,e)}).then(t=>!1===t?n({done:!0,value:void 0}):e().then(n))}).catch(n)})),i)}),o=(r=n,function(e,t){let n=e&&e.limit;if(!n)throw Error("You must pass a `limit` option to autoPagingToArray, e.g., `autoPagingToArray({limit: 1000});`.");if(n>1e4)throw Error("You cannot specify a limit of more than 10,000 items to fetch in `autoPagingToArray`; use `autoPagingEach` to iterate through longer lists.");return h(new Promise((e,t)=>{let o=[];r(e=>{if(o.push(e),o.length>=n)return!1}).then(()=>{e(o)}).catch(t)}),t)}),i={autoPagingEach:n,autoPagingToArray:o,next:()=>e.next(),return:()=>({}),["undefined"!=typeof Symbol&&Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator"]:()=>i};return i};function et(e){return!!d([].slice.call(e)).ending_before}function er(e,t){if(this._stripe=e,t)throw Error("Support for curried url params was dropped in stripe-node v7.0.0. Instead, pass two ids.");this.basePath=c(this.basePath||e.getApiField("basePath")),this.resourcePath=this.path,this.path=c(this.path),this.initialize(...arguments)}er.extend=function(e){let t=this,r=Object.prototype.hasOwnProperty.call(e,"constructor")?e.constructor:function(...e){t.apply(this,e)};return Object.assign(r,t),r.prototype=Object.create(t.prototype),Object.assign(r.prototype,e),r},er.method=function(e){if(void 0!==e.path&&void 0!==e.fullPath)throw Error(`Method spec specified both a 'path' (${e.path}) and a 'fullPath' (${e.fullPath}).`);return function(...t){let r="function"==typeof t[t.length-1]&&t.pop();
1e.urlParams=function(e){let t=e.match(/\{\w+\}/g);return t?t.map(e=>e.replace(/[{}]/g,"")):[]}(e.fullPath||this.createResourcePathWithSymbols(e.path||""));let n=h(this._makeRequest(t,e,{}),r);return Object.assign(n,Z(this,t,e,n)),n}},er.MAX_BUFFERED_REQUEST_METRICS=100,er.prototype={_stripe:null,path:"",resourcePath:"",basePath:null,initialize(){},requestDataProcessor:null,validateRequest:null,createFullPath(e,t){let r=[this.basePath(t),this.path(t)];if("function"==typeof e){let n=e(t);n&&r.push(n)}else r.push(e);return this._joinUrlParts(r)},createResourcePathWithSymbols(e){return e?`/${this._joinUrlParts([this.resourcePath,e])}`:`/${this.resourcePath}`},_joinUrlParts:e=>e.join("/").replace(/\/{2,}/g,"/"),_getRequestOpts(e,t,r){var n;let o=(t.method||"GET").toUpperCase(),i=t.usage||[],a=t.urlParams||[],l=t.encode||(e=>e),s=!!t.fullPath,u=c(s?t.fullPath:t.path||""),f=s?t.fullPath:this.createResourcePathWithSymbols(t.path),h=[].slice.call(e),m=a.reduce((e,t)=>{let r=h.shift();if("string"!=typeof r)throw Error(`Stripe: Argument "${t}" must be a string, but got: ${r} (on API request to \`${o} ${f}\`)`);return e[t]=r,e},{}),v=l(Object.assign({},d(h),r)),y=p(h),g=y.host||t.host,b=!!t.streaming||!!y.streaming;if(h.filter(e=>null!=e).length)throw Error(`Stripe: Unknown arguments (${h}). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options. (on API request to ${o} \`${f}\`)`);let P=s?u(m):this.createFullPath(u,m),w=Object.assign(y.headers,t.headers);t.validator&&t.validator(v,{headers:w});let x="GET"===t.method||"DELETE"===t.method;return{requestMethod:o,requestPath:P,bodyData:x?null:v,queryData:x?v:{},authenticator:null!=(n=y.authenticator)?n:null,headers:w,host:null!=g?g:null,streaming:b,settings:y.settings,usage:i}},_makeRequest(e,t,r){return new Promise((n,o)=>{var i;let a;try{a=this._getRequestOpts(e,t,r)}catch(e){o(e);return}let l=0===Object.keys(a.queryData).length,s=[a.requestPath,l?"":"?",u(a.queryData,b(a.requestPath))].join(""),{headers:c,settings:d}=a;this._stripe._requestSender._request(a.requestMethod,a.host,s,a.bodyData,a.authenticator,{headers:c,settings:d,streaming:a.streaming},a.usage,function(e,r){e?o(e):n(t.transformResponseData?t.transformResponseData(r):r)},null==(i=this.requestDataProcessor)?void 0:i.bind(this))})}};let en="2025-08-27.basil";function eo(e,t){for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=r[0].toLowerCase()+r.substring(1),o=new t[r](e);this[n]=o}}function ei(e,t){return function(e){return new eo(e,t)}}let ea=er.method,el=er.extend({retrieve:ea({method:"GET",fullPath:"/v1/financial_connections/accounts/{account}"}),list:ea({method:"GET",fullPath:"/v1/financial_connections/accounts",methodType:"list"}),disconnect:ea({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/disconnect"}),listOwners:ea({method:"GET",fullPath:"/v1/financial_connections/accounts/{account}/owners",methodType:"list"}),refresh:ea({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/refresh"}),subscribe:ea({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/subscribe"}),unsubscribe:ea({method:"POST",fullPath:"/v1/financial_connections/accounts/{account}/unsubscribe"})}),es=er.method,eu=er.extend({retrieve:es({method:"GET",fullPath:"/v1/entitlements/active_entitlements/{id}"}),list:es({method:"GET",fullPath:"/v1/entitlements/active_entitlements",methodType:"list"})}),ec=er.method,ed=er.extend({create:ec({method:"POST",fullPath:"/v1/billing/alerts"}),retrieve:ec({method:"GET",fullPath:"/v1/billing/alerts/{id}"}),list:ec({method:"GET",fullPath:"/v1/billing/alerts",methodType:"list"}),activate:ec({method:"POST",fullPath:"/v1/billing/alerts/{id}/activate"}),archive:ec({method:"POST",fullPath:"/v1/billing/alerts/{id}/archive"}),deactivate:ec({method:"POST",fullPath:"/v1/billing/alerts/{id}/deactivate"})}),ep=er.method,ef=er.extend({retrieve:ep({method:"GET",fullPath:"/v1/issuing/authorizations/{authorization}"}),update:ep({method:"POST",fullPath:"/v1/issuing/authorizations/{authorization}"}),list:ep({method:"GET",fullPath:"/v1/issuing/authorizations",methodType:"list"}),approve:ep({method:"POST",fullPath:"/v1/issuing/authorizations/{authorization}/approve"}),decline:ep({method:"POST",fullPath:"/v1/issuing/authorizations/{authorization}/decline"})}),eh=er.method,em=er.extend({create:eh({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations"}),capture:eh({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/capture"}),expire:eh({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/expire"}),finalizeAmount:eh({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount"}),increment:eh({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/increment"}),respond:eh({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/fraud_challenges/respond"}),reverse:eh({method:"POST",fullPath:"/v1/test_helpers/issuing/authorizations/{authorization}/reverse"})}),ev=er.method,ey=er.extend({create:ev({method:"POST",fullPath:"/v1/tax/calculations"}),retrieve:ev({method:"GET",fullPath:"/v1/tax/calculations/{calculation}"}),listLineItems:ev({method:"GET",fullPath:"/v1/tax/calculations/{calculation}/line_items",methodType:"list"})}),eg=er.method,eb=er.extend({create:eg({method:"POST",fullPath:"/v1/issuing/cardholders"}),retrieve:eg({method:"GET",fullPath:"/v1/issuing/cardholders/{cardholder}"}),update:eg({method:"POST",fullPath:"/v1/issuing/cardholders/{cardholder}"}),list:eg({method:"GET",fullPath:"/v1/issuing/cardholders",methodType:"list"})}),eP=er.method,ew=er.extend({create:eP({method:"POST",fullPath:"/v1/issuing/cards"}),retrieve:eP({method:"GET",fullPath:"/v1/issuing/cards/{card}"}),update:eP({method:"POST",fullPath:"/v1/issuing/cards/{card}"}),list:eP({method:"GET",fullPath:"/v1/issuing/cards",methodType:"list"})}),ex=er.method,eT=er.extend({deliverCard:ex({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/deliver"}),failCard:ex({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/fail"}),returnCard:ex({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/return"}),shipCard:ex({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/ship"}),submitCard:ex({method:"POST",fullPath:"/v1/test_helpers/issuing/cards/{card}/shipping/submit"})}),e_=er.method,eE=er.extend({create:e_({method:"POST",fullPath:"/v1/billing_portal/configurations"}),retrieve:e_({method:"GET",fullPath:"/v1/billing_portal/configurations/{configuration}"}),update:e_({method:"POST",fullPath:"/v1/billing_portal/configurations/{configuration}"}),list:e_({method:"GET",fullPath:"/v1/billing_portal/configurations",methodType:"list"})}),eS=er.method,eO=er.extend({create:eS({method:"POST",fullPath:"/v1/terminal/configurations"}),retrieve:eS({method:"GET",fullPath:"/v1/terminal/configurations/{configuration}"}),update:eS({method:"POST",fullPath:"/v1/terminal/configurations/{configuration}"}),list:eS({method:"GET",fullPath:"/v1/terminal/configurations",methodType:"list"}),del:eS({method:"DELETE",fullPath:"/v1/terminal/configurations/{configuration}"})}),eA=er.method,ek=er.extend({create:eA({method:"POST",fullPath:"/v1/test_helpers/confirmation_tokens"})}),eC=er.method,eR=er.extend({create:eC({method:"POST",fullPath:"/v1/terminal/connection_tokens"})}),ej=er.method,eM=er.extend({retrieve:ej({method:"GET",fullPath:"/v1/billing/credit_balance_summary"})}),eI=er.method,eD=er.extend({retrieve:eI({method:"GET",fullPath:"/v1/billing/credit_balance_transactions/{id}"}),list:eI({method:"GET",fullPath:"/v1/billing/credit_balance_transactions",methodType:"list"})}),eN=er.method,eG=er.extend({create:eN({method:"POST",fullPath:"/v1/billing/credit_grants"}),retrieve:eN({method:"GET",fullPath:"/v1/billing/credit_grants/{id}"}),update:eN({method:"POST",fullPath:"/v1/billing/credit_grants/{id}"}),list:eN({method:"GET",fullPath:"/v1/billing/credit_grants",methodType:"list"}),expire:eN({method:"POST",fullPath:"/v1/billing/credit_grants/{id}/expire"}),voidGrant:eN({method:"POST",fullPath:"/v1/billing/credit_grants/{id}/void"})}),eL=er.method,eF=er.extend({create:eL({method:"POST",fullPath:"/v1/treasury/credit_reversals"}),retrieve:eL({method:"GET",fullPath:"/v1/treasury/credit_reversals/{credit_reversal}"}),list:eL({method:"GET",fullPath:"/v1/treasury/credit_reversals",methodType:"list"})}),ez=er.method,eU=er.extend({fundCashBalance:ez({method:"POST",fullPath:"/v1/test_helpers/customers/{customer}/fund_cash_balance"})}),eq=er.method,eH=er.extend({create:eq({method:"POST",fullPath:"/v1/treasury/debit_reversals"}),retrieve:eq({method:"GET",fullPath:"/v1/treasury/debit_reversals/{debit_reversal}"}),list:eq({method:"GET",fullPath:"/v1/treasury/debit_reversals",methodType:"list"})}),eK=er.method,eB=er.extend({create:eK({method:"POST",fullPath:"/v1/issuing/disputes"}),retrieve:eK({method:"GET",fullPath:"/v1/issuing/disputes/{dispute}"}),update:eK({method:"POST",fullPath:"/v1/issuing/disputes/{dispute}"}),list:eK({method:"GET",fullPath:"/v1/issuing/disputes",methodType:"list"}),submit:eK({method:"POST",fullPath:"/v1/issuing/disputes/{dispute}/submit"})}),eW=er.method,e$=er.extend({retrieve:eW({method:"GET",fullPath:"/v1/radar/early_fraud_warnings/{early_fraud_warning}"}),list:eW({method:"GET",fullPath:"/v1/radar/early_fraud_warnings",methodType:"list"})}),eV=er.method,eX=er.extend({create:eV({method:"POST",fullPath:"/v2/core/event_destinations"}),retrieve:eV({method:"GET",fullPath:"/v2/core/event_destinations/{id}"}),update:eV({method:"POST",fullPath:"/v2/core/event_destinations/{id}"}),list:eV({method:"GET",fullPath:"/v2/core/event_destinations",methodType:"list"}),del:eV({method:"DELETE",fullPath:"/v2/core/event_destinations/{id}"}),disable:eV({method:"POST",fullPath:"/v2/core/event_destinations/{id}/disable"}),enable:eV({method:"POST",fullPath:"/v2/core/event_destinations/{id}
1/enable"}),ping:eV({method:"POST",fullPath:"/v2/core/event_destinations/{id}/ping"})}),eJ=er.method,eY=er.extend({retrieve(...e){return eJ({method:"GET",fullPath:"/v2/core/events/{id}",transformResponseData:e=>this.addFetchRelatedObjectIfNeeded(e)}).apply(this,e)},list(...e){return eJ({method:"GET",fullPath:"/v2/core/events",methodType:"list",transformResponseData:e=>Object.assign(Object.assign({},e),{data:e.data.map(this.addFetchRelatedObjectIfNeeded.bind(this))})}).apply(this,e)},addFetchRelatedObjectIfNeeded(e){return e.related_object&&e.related_object.url?Object.assign(Object.assign({},e),{fetchRelatedObject:()=>eJ({method:"GET",fullPath:e.related_object.url}).apply(this,[{stripeAccount:e.context}])}):e}}),eQ=er.method,eZ=er.extend({create:eQ({method:"POST",fullPath:"/v1/entitlements/features"}),retrieve:eQ({method:"GET",fullPath:"/v1/entitlements/features/{id}"}),update:eQ({method:"POST",fullPath:"/v1/entitlements/features/{id}"}),list:eQ({method:"GET",fullPath:"/v1/entitlements/features",methodType:"list"})}),e0=er.method,e1=er.extend({create:e0({method:"POST",fullPath:"/v1/treasury/financial_accounts"}),retrieve:e0({method:"GET",fullPath:"/v1/treasury/financial_accounts/{financial_account}"}),update:e0({method:"POST",fullPath:"/v1/treasury/financial_accounts/{financial_account}"}),list:e0({method:"GET",fullPath:"/v1/treasury/financial_accounts",methodType:"list"}),close:e0({method:"POST",fullPath:"/v1/treasury/financial_accounts/{financial_account}/close"}),retrieveFeatures:e0({method:"GET",fullPath:"/v1/treasury/financial_accounts/{financial_account}/features"}),updateFeatures:e0({method:"POST",fullPath:"/v1/treasury/financial_accounts/{financial_account}/features"})}),e2=er.method,e5=er.extend({fail:e2({method:"POST",fullPath:"/v1/test_helpers/treasury/inbound_transfers/{id}/fail"}),returnInboundTransfer:e2({method:"POST",fullPath:"/v1/test_helpers/treasury/inbound_transfers/{id}/return"}),succeed:e2({method:"POST",fullPath:"/v1/test_helpers/treasury/inbound_transfers/{id}/succeed"})}),e8=er.method,e6=er.extend({create:e8({method:"POST",fullPath:"/v1/treasury/inbound_transfers"}),retrieve:e8({method:"GET",fullPath:"/v1/treasury/inbound_transfers/{id}"}),list:e8({method:"GET",fullPath:"/v1/treasury/inbound_transfers",methodType:"list"}),cancel:e8({method:"POST",fullPath:"/v1/treasury/inbound_transfers/{inbound_transfer}/cancel"})}),e3=er.method,e4=er.extend({create:e3({method:"POST",fullPath:"/v1/terminal/locations"}),retrieve:e3({method:"GET",fullPath:"/v1/terminal/locations/{location}"}),update:e3({method:"POST",fullPath:"/v1/terminal/locations/{location}"}),list:e3({method:"GET",fullPath:"/v1/terminal/locations",methodType:"list"}),del:e3({method:"DELETE",fullPath:"/v1/terminal/locations/{location}"})}),e9=er.method,e7=er.extend({create:e9({method:"POST",fullPath:"/v1/billing/meter_event_adjustments"})}),te=er.method,tt=er.extend({create:te({method:"POST",fullPath:"/v2/billing/meter_event_adjustments"})}),tr=er.method,tn=er.extend({create:tr({method:"POST",fullPath:"/v2/billing/meter_event_session"})}),to=er.method,ti=er.extend({create:to({method:"POST",fullPath:"/v2/billing/meter_event_stream",host:"meter-events.stripe.com"})}),ta=er.method,tl=er.extend({create:ta({method:"POST",fullPath:"/v1/billing/meter_events"})}),ts=er.method,tu=er.extend({create:ts({method:"POST",fullPath:"/v2/billing/meter_events"})}),tc=er.method,td=er.extend({create:tc({method:"POST",fullPath:"/v1/billing/meters"}),retrieve:tc({method:"GET",fullPath:"/v1/billing/meters/{id}"}),update:tc({method:"POST",fullPath:"/v1/billing/meters/{id}"}),list:tc({method:"GET",fullPath:"/v1/billing/meters",methodType:"list"}),deactivate:tc({method:"POST",fullPath:"/v1/billing/meters/{id}/deactivate"}),listEventSummaries:tc({method:"GET",fullPath:"/v1/billing/meters/{id}/event_summaries",methodType:"list"}),reactivate:tc({method:"POST",fullPath:"/v1/billing/meters/{id}/reactivate"})}),tp=er.method,tf=er.extend({create:tp({method:"POST",fullPath:"/v1/climate/orders"}),retrieve:tp({method:"GET",fullPath:"/v1/climate/orders/{order}"}),update:tp({method:"POST",fullPath:"/v1/climate/orders/{order}"}),list:tp({method:"GET",fullPath:"/v1/climate/orders",methodType:"list"}),cancel:tp({method:"POST",fullPath:"/v1/climate/orders/{order}/cancel"})}),th=er.method,tm=er.extend({update:th({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}"}),fail:th({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}/fail"}),post:th({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}/post"}),returnOutboundPayment:th({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_payments/{id}/return"})}),tv=er.method,ty=er.extend({create:tv({method:"POST",fullPath:"/v1/treasury/outbound_payments"}),retrieve:tv({method:"GET",fullPath:"/v1/treasury/outbound_payments/{id}"}),list:tv({method:"GET",fullPath:"/v1/treasury/outbound_payments",methodType:"list"}),cancel:tv({method:"POST",fullPath:"/v1/treasury/outbound_payments/{id}/cancel"})}),tg=er.method,tb=er.extend({update:tg({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}"}),fail:tg({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail"}),post:tg({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post"}),returnOutboundTransfer:tg({method:"POST",fullPath:"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return"})}),tP=er.method,tw=er.extend({create:tP({method:"POST",fullPath:"/v1/treasury/outbound_transfers"}),retrieve:tP({method:"GET",fullPath:"/v1/treasury/outbound_transfers/{outbound_transfer}"}),list:tP({method:"GET",fullPath:"/v1/treasury/outbound_transfers",methodType:"list"}),cancel:tP({method:"POST",fullPath:"/v1/treasury/outbound_transfers/{outbound_transfer}/cancel"})}),tx=er.method,tT=er.extend({create:tx({method:"POST",fullPath:"/v1/issuing/personalization_designs"}),retrieve:tx({method:"GET",fullPath:"/v1/issuing/personalization_designs/{personalization_design}"}),update:tx({method:"POST",fullPath:"/v1/issuing/personalization_designs/{personalization_design}"}),list:tx({method:"GET",fullPath:"/v1/issuing/personalization_designs",methodType:"list"})}),t_=er.method,tE=er.extend({activate:t_({method:"POST",fullPath:"/v1/test_helpers/issuing/personalization_designs/{personalization_design}
1/activate"}),deactivate:t_({method:"POST",fullPath:"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate"}),reject:t_({method:"POST",fullPath:"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/reject"})}),tS=er.method,tO=er.extend({retrieve:tS({method:"GET",fullPath:"/v1/issuing/physical_bundles/{physical_bundle}"}),list:tS({method:"GET",fullPath:"/v1/issuing/physical_bundles",methodType:"list"})}),tA=er.method,tk=er.extend({retrieve:tA({method:"GET",fullPath:"/v1/climate/products/{product}"}),list:tA({method:"GET",fullPath:"/v1/climate/products",methodType:"list"})}),tC=er.method,tR=er.extend({create:tC({method:"POST",fullPath:"/v1/terminal/readers"}),retrieve:tC({method:"GET",fullPath:"/v1/terminal/readers/{reader}"}),update:tC({method:"POST",fullPath:"/v1/terminal/readers/{reader}"}),list:tC({method:"GET",fullPath:"/v1/terminal/readers",methodType:"list"}),del:tC({method:"DELETE",fullPath:"/v1/terminal/readers/{reader}"}),cancelAction:tC({method:"POST",fullPath:"/v1/terminal/readers/{reader}/cancel_action"}),collectInputs:tC({method:"POST",fullPath:"/v1/terminal/readers/{reader}/collect_inputs"}),collectPaymentMethod:tC({method:"POST",fullPath:"/v1/terminal/readers/{reader}/collect_payment_method"}),confirmPaymentIntent:tC({method:"POST",fullPath:"/v1/terminal/readers/{reader}/confirm_payment_intent"}),processPaymentIntent:tC({method:"POST",fullPath:"/v1/terminal/readers/{reader}/process_payment_intent"}),processSetupIntent:tC({method:"POST",fullPath:"/v1/terminal/readers/{reader}/process_setup_intent"}),refundPayment:tC({method:"POST",fullPath:"/v1/terminal/readers/{reader}/refund_payment"}),setReaderDisplay:tC({method:"POST",fullPath:"/v1/terminal/readers/{reader}/set_reader_display"})}),tj=er.method,tM=er.extend({presentPaymentMethod:tj({method:"POST",fullPath:"/v1/test_helpers/terminal/readers/{reader}/present_payment_method"}),succeedInputCollection:tj({method:"POST",fullPath:"/v1/test_helpers/terminal/readers/{reader}/succeed_input_collection"}),timeoutInputCollection:tj({method:"POST",fullPath:"/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection"})}),tI=er.method,tD=er.extend({create:tI({method:"POST",fullPath:"/v1/test_helpers/treasury/received_credits"})}),tN=er.method,tG=er.extend({retrieve:tN({method:"GET",fullPath:"/v1/treasury/received_credits/{id}"}),list:tN({method:"GET",fullPath:"/v1/treasury/received_credits",methodType:"list"})}),tL=er.method,tF=er.extend({create:tL({method:"POST",fullPath:"/v1/test_helpers/treasury/received_debits"})}),tz=er.method,tU=er.extend({retrieve:tz({method:"GET",fullPath:"/v1/treasury/received_debits/{id}"}),list:tz({method:"GET",fullPath:"/v1/treasury/received_debits",methodType:"list"})}),tq=er.method,tH=er.extend({expire:tq({method:"POST",fullPath:"/v1/test_helpers/refunds/{refund}/expire"})}),tK=er.method,tB=er.extend({create:tK({method:"POST",fullPath:"/v1/tax/registrations"}),retrieve:tK({method:"GET",fullPath:"/v1/tax/registrations/{id}"}),update:tK({method:"POST",fullPath:"/v1/tax/registrations/{id}"}),list:tK({method:"GET",fullPath:"/v1/tax/registrations",methodType:"list"})}),tW=er.method,t$=er.extend({create:tW({method:"POST",fullPath:"/v1/reporting/report_runs"}),retrieve:tW({method:"GET",fullPath:"/v1/reporting/report_runs/{report_run}"}),list:tW({method:"GET",fullPath:"/v1/reporting/report_runs",methodType:"list"})}),tV=er.method,tX=er.extend({retrieve:tV({method:"GET",fullPath:"/v1/reporting/report_types/{report_type}"}),list:tV({method:"GET",fullPath:"/v1/reporting/report_types",methodType:"list"})}),tJ=er.method,tY=er.extend({create:tJ({method:"POST",fullPath:"/v1/forwarding/requests"}),retrieve:tJ({method:"GET",fullPath:"/v1/forwarding/requests/{id}"}),list:tJ({method:"GET",fullPath:"/v1/forwarding/requests",methodType:"list"})}),tQ=er.method,tZ=er.extend({retrieve:tQ({method:"GET",fullPath:"/v1/sigma/scheduled_query_runs/{scheduled_query_run}"}),list:tQ({method:"GET",fullPath:"/v1/sigma/scheduled_query_runs",methodType:"list"})}),t0=er.method,t1=er.extend({create:t0({method:"POST",fullPath:"/v1/apps/secrets"}),list:t0({method:"GET",fullPath:"/v1/apps/secrets",methodType:"list"}),deleteWhere:t0({method:"POST",fullPath:"/v1/apps/secrets/delete"}),find:t0({method:"GET",fullPath:"/v1/apps/secrets/find"})}),t2=er.method,t5=er.extend({create:t2({method:"POST",fullPath:"/v1/billing_portal/sessions"})}),t8=er.method,t6=er.extend({create:t8({method:"POST",fullPath:"/v1/checkout/sessions"}),retrieve:t8({method:"GET",fullPath:"/v1/checkout/sessions/{session}"}),update:t8({method:"POST",fullPath:"/v1/checkout/sessions/{session}"}),list:t8({method:"GET",fullPath:"/v1/checkout/sessions",methodType:"list"}),expire:t8({method:"POST",fullPath:"/v1/checkout/sessions/{session}/expire"}),listLineItems:t8({method:"GET",fullPath:"/v1/checkout/sessions/{session}/line_items",methodType:"list"})}),t3=er.method,t4=er.extend({create:t3({method:"POST",fullPath:"/v1/financial_connections/sessions"}),retrieve:t3({method:"GET",fullPath:"/v1/financial_connections/sessions/{session}"})}),t9=er.method,t7=er.extend({retrieve:t9({method:"GET",fullPath:"/v1/tax/sett
1ings"}),update:t9({method:"POST",fullPath:"/v1/tax/settings"})}),re=er.method,rt=er.extend({retrieve:re({method:"GET",fullPath:"/v1/climate/suppliers/{supplier}"}),list:re({method:"GET",fullPath:"/v1/climate/suppliers",methodType:"list"})}),rr=er.method,rn=er.extend({create:rr({method:"POST",fullPath:"/v1/test_helpers/test_clocks"}),retrieve:rr({method:"GET",fullPath:"/v1/test_helpers/test_clocks/{test_clock}"}),list:rr({method:"GET",fullPath:"/v1/test_helpers/test_clocks",methodType:"list"}),del:rr({method:"DELETE",fullPath:"/v1/test_helpers/test_clocks/{test_clock}"}),advance:rr({method:"POST",fullPath:"/v1/test_helpers/test_clocks/{test_clock}/advance"})}),ro=er.method,ri=er.extend({retrieve:ro({method:"GET",fullPath:"/v1/issuing/tokens/{token}"}),update:ro({method:"POST",fullPath:"/v1/issuing/tokens/{token}"}),list:ro({method:"GET",fullPath:"/v1/issuing/tokens",methodType:"list"})}),ra=er.method,rl=er.extend({retrieve:ra({method:"GET",fullPath:"/v1/treasury/transaction_entries/{id}"}),list:ra({method:"GET",fullPath:"/v1/treasury/transaction_entries",methodType:"list"})}),rs=er.method,ru=er.extend({retrieve:rs({method:"GET",fullPath:"/v1/financial_connections/transactions/{transaction}"}),list:rs({method:"GET",fullPath:"/v1/financial_connections/transactions",methodType:"list"})}),rc=er.method,rd=er.extend({retrieve:rc({method:"GET",fullPath:"/v1/issuing/transactions/{transaction}"}),update:rc({method:"POST",fullPath:"/v1/issuing/transactions/{transaction}"}),list:rc({method:"GET",fullPath:"/v1/issuing/transactions",methodType:"list"})}),rp=er.method,rf=er.extend({retrieve:rp({method:"GET",fullPath:"/v1/tax/transactions/{transaction}"}),createFromCalculation:rp({method:"POST",fullPath:"/v1/tax/transactions/create_from_calculation"}),createReversal:rp({method:"POST",fullPath:"/v1/tax/transactions/create_reversal"}),listLineItems:rp({method:"GET",fullPath:"/v1/tax/transactions/{transaction}/line_items",methodType:"list"})}),rh=er.method,rm=er.extend({createForceCapture:rh({method:"POST",fullPath:"/v1/test_helpers/issuing/transactions/create_force_capture"}),createUnlinkedRefund:rh({method:"POST",fullPath:"/v1/test_helpers/issuing/transactions/create_unlinked_refund"}),refund:rh({method:"POST",fullPath:"/v1/test_helpers/issuing/transactions/{transaction}/refund"})}),rv=er.method,ry=er.extend({retrieve:rv({method:"GET",fullPath:"/v1/treasury/transactions/{id}"}),list:rv({method:"GET",fullPath:"/v1/treasury/transactions",methodType:"list"})}),rg=er.method,rb=er.extend({create:rg({method:"POST",fullPath:"/v1/radar/value_list_items"}),retrieve:rg({method:"GET",fullPath:"/v1/radar/value_list_items/{item}"}),list:rg({method:"GET",fullPath:"/v1/radar/value_list_items",methodType:"list"}),del:rg({method:"DELETE",fullPath:"/v1/radar/value_list_items/{item}"})}),rP=er.method,rw=er.extend({create:rP({method:"POST",fullPath:"/v1/radar/value_lists"}),retrieve:rP({method:"GET",fullPath:"/v1/radar/value_lists/{value_list}"}),update:rP({method:"POST",fullPath:"/v1/radar/value_lists/{value_list}"}),list:rP({method:"GET",fullPath:"/v1/radar/value_lists",methodType:"list"}),del:rP({method:"DELETE",fullPath:"/v1/radar/value_lists/{value_list}"})}),rx=er.method,rT=er.extend({retrieve:rx({method:"GET",fullPath:"/v1/identity/verification_reports/{report}"}),list:rx({method:"GET",fullPath:"/v1/identity/verification_reports",methodType:"list"})}),r_=er.method,rE=er.extend({create:r_({method:"POST",fullPath:"/v1/identity/verification_sessions"}),retrieve:r_({method:"GET",fullPath:"/v1/identity/verification_sessions/{session}"}),update:r_({method:"POST",fullPath:"/v1/identity/verification_sessions/{session}"}),list:r_({method:"GET",fullPath:"/v1/identity/verification_sessions",methodType:"list"}),cancel:r_({method:"POST",fullPath:"/v1/identity/verification_sessions/{session}/cancel"}),redact:r_({method:"POST",fullPath:"/v1/identity/verification_sessions/{session}/redact"})}),rS=er.method,rO=er.extend({create:rS({method:"POST",fullPath:"/v1/accounts"}),retrieve(e,...t){return"string"==typeof e?rS({method:"GET",fullPath:"/v1/accounts/{id}"}).apply(this,[e,...t]):(null==e&&[].shift.apply([e,...t]),rS({method:"GET",fullPath:"/v1/account"}).apply(this,[e,...t]))},update:rS({method:"POST",fullPath:"/v1/accounts/{account}"}),list:rS({method:"GET",fullPath:"/v1/accounts",methodType:"list"}),del:rS({method:"DELETE",fullPath:"/v1/accounts/{account}"}),createExternalAccount:rS({method:"POST",fullPath:"/v1/accounts/{account}/external_accounts"}),createLoginLink:rS({method:"POST",fullPath:"/v1/accounts/{account}/login_links"}),createPerson:rS({method:"POST",fullPath:"/v1/accounts/{account}/persons"}),deleteExternalAccount:rS({method:"DELETE",fullPath:"/v1/accounts/{account}/external_accounts/{id}"}),deletePerson:rS({method:"DELETE",fullPath:"/v1/accounts/{account}/persons/{person}"}),listCapabilities:rS({method:"GET",fullPath:"/v1/accounts/{account}/capabilities",methodType:"list"}),listExternalAccounts:rS({method:"GET",fullPath:"/v1/accounts/{account}/external_accounts",methodType:"list"}),listPersons:rS({method:"GET",fullPath:"/v1/accounts/{account}/persons",methodType:"list"}),reject:rS({method:"POST",fullPath:"/v1/accounts/{account}/reject"}),retrieveCurrent:rS({method:"GET",fullPath:"/v1/account"}),retrieveCapability:rS({method:"GET",fullPath:"/v1/accounts/{account}/capabilities/{capability}"}
1),retrieveExternalAccount:rS({method:"GET",fullPath:"/v1/accounts/{account}/external_accounts/{id}"}),retrievePerson:rS({method:"GET",fullPath:"/v1/accounts/{account}/persons/{person}"}),updateCapability:rS({method:"POST",fullPath:"/v1/accounts/{account}/capabilities/{capability}"}),updateExternalAccount:rS({method:"POST",fullPath:"/v1/accounts/{account}/external_accounts/{id}"}),updatePerson:rS({method:"POST",fullPath:"/v1/accounts/{account}/persons/{person}"})}),rA=er.method,rk=er.extend({create:rA({method:"POST",fullPath:"/v1/account_links"})}),rC=er.method,rR=er.extend({create:rC({method:"POST",fullPath:"/v1/account_sessions"})}),rj=er.method,rM=er.extend({create:rj({method:"POST",fullPath:"/v1/apple_pay/domains"}),retrieve:rj({method:"GET",fullPath:"/v1/apple_pay/domains/{domain}"}),list:rj({method:"GET",fullPath:"/v1/apple_pay/domains",methodType:"list"}),del:rj({method:"DELETE",fullPath:"/v1/apple_pay/domains/{domain}"})}),rI=er.method,rD=er.extend({retrieve:rI({method:"GET",fullPath:"/v1/application_fees/{id}"}),list:rI({method:"GET",fullPath:"/v1/application_fees",methodType:"list"}),createRefund:rI({method:"POST",fullPath:"/v1/application_fees/{id}/refunds"}),listRefunds:rI({method:"GET",fullPath:"/v1/application_fees/{id}/refunds",methodType:"list"}),retrieveRefund:rI({method:"GET",fullPath:"/v1/application_fees/{fee}/refunds/{id}"}),updateRefund:rI({method:"POST",fullPath:"/v1/application_fees/{fee}/refunds/{id}"})}),rN=er.method,rG=er.extend({retrieve:rN({method:"GET",fullPath:"/v1/balance"})}),rL=er.method,rF=er.extend({retrieve:rL({method:"GET",fullPath:"/v1/balance_transactions/{id}"}),list:rL({method:"GET",fullPath:"/v1/balance_transactions",methodType:"list"})}),rz=er.method,rU=er.extend({create:rz({method:"POST",fullPath:"/v1/charges"}),retrieve:rz({method:"GET",fullPath:"/v1/charges/{charge}"}),update:rz({method:"POST",fullPath:"/v1/charges/{charge}"}),list:rz({method:"GET",fullPath:"/v1/charges",methodType:"list"}),capture:rz({method:"POST",fullPath:"/v1/charges/{charge}/capture"}),search:rz({method:"GET",fullPath:"/v1/charges/search",methodType:"search"})}),rq=er.method,rH=er.extend({retrieve:rq({method:"GET",fullPath:"/v1/confirmation_tokens/{confirmation_token}"})}),rK=er.method,rB=er.extend({retrieve:rK({method:"GET",fullPath:"/v1/country_specs/{country}"}),list:rK({method:"GET",fullPath:"/v1/country_specs",methodType:"list"})}),rW=er.method,r$=er.extend({create:rW({method:"POST",fullPath:"/v1/coupons"}),retrieve:rW({method:"GET",fullPath:"/v1/coupons/{coupon}"}),update:rW({method:"POST",fullPath:"/v1/coupons/{coupon}"}),list:rW({method:"GET",fullPath:"/v1/coupons",methodType:"list"}),del:rW({method:"DELETE",fullPath:"/v1/coupons/{coupon}"})}),rV=er.method,rX=er.extend({create:rV({method:"POST",fullPath:"/v1/credit_notes"}),retrieve:rV({method:"GET",fullPath:"/v1/credit_notes/{id}"}),update:rV({method:"POST",fullPath:"/v1/credit_notes/{id}"}),list:rV({method:"GET",fullPath:"/v1/credit_notes",methodType:"list"}),listLineItems:rV({method:"GET",fullPath:"/v1/credit_notes/{credit_note}/lines",methodType:"list"}),listPreviewLineItems:rV({method:"GET",fullPath:"/v1/credit_notes/preview/lines",methodType:"list"}),preview:rV({method:"GET",fullPath:"/v1/credit_notes/preview"}),voidCreditNote:rV({method:"POST",fullPath:"/v1/credit_notes/{id}/void"})}),rJ=er.method,rY=er.extend({create:rJ({method:"POST",fullPath:"/v1/customer_sessions"})}),rQ=er.method,rZ=er.extend({create:rQ({method:"POST",fullPath:"/v1/customers"}),retrieve:rQ({method:"GET",fullPath:"/v1/customers/{customer}"}),update:rQ({method:"POST",fullPath:"/v1/customers/{customer}"}),list:rQ({method:"GET",fullPath:"/v1/customers",methodType:"list"}),del:rQ({method:"DELETE",fullPath:"/v1/customers/{customer}"}),createBalanceTransaction:rQ({method:"POST",fullPath:"/v1/customers/{customer}/balance_transactions"}),createFundingInstructions:rQ({method:"POST",fullPath:"/v1/customers/{customer}/funding_instructions"}),createSource:rQ({method:"POST",fullPath:"/v1/customers/{customer}/sources"}),createTaxId:rQ({method:"POST",fullPath:"/v1/customers/{customer}/tax_ids"}),deleteDiscount:rQ({method:"DELETE",fullPath:"/v1/customers/{customer}/discount"}),deleteSource:rQ({method:"DELETE",fullPath:"/v1/customers/{customer}/sources/{id}"}),deleteTaxId:rQ({method:"DELETE",fullPath:"/v1/customers/{customer}/tax_ids/{id}"}),listBalanceTransactions:rQ({method:"GET",fullPath:"/v1/customers/{customer}/balance_transactions",methodType:"list"}),listCashBalanceTransactions:rQ({method:"GET",fullPath:"/v1/customers/{customer}/cash_balance_transactions",methodType:"list"}),listPaymentMethods:rQ({method:"GET",fullPath:"/v1/customers/{customer}/payment_methods",methodType:"list"}),listSources:rQ({method:"GET",fullPath:"/v1/customers/{customer}/sources",methodType:"list"}),listTaxIds:rQ({method:"GET",fullPath:"/v1/customers/{customer}/tax_ids",methodType:"list"}),retrieveBalanceTransaction:rQ({method:"GET",fullPath:"/v1/customers/{customer}/balance_transactions/{transaction}"}),retrieveCashBalance:rQ({method:"GET",fullPath:"/v1/customers/{customer}/cash_balance"}),retrieveCashBalanceTransaction:rQ({method:"GET",fullPath:"/v1/customers/{customer}/cash_balance_transactions/{transaction}"}),retrievePaymentMethod:rQ({method:"GET",fullPath:"/v1/customers/{customer}/payment_methods/{payment_method}"}),retrieveSource:rQ({method:"GET",fullPath:"/v1/customers/{customer}/sources/{id}"}),retrieveTaxId:rQ({method:"GET",fullPath:"/v1/customers/{customer}/tax_ids/{id}"}),search:rQ({method:"GET",fullPath:"/v1/customers/search",methodType:"search"}),updateBalanceTransaction:rQ({method:"POST",fullPath:"/v1/customers/{customer}/balance_transactions/{transaction}"}),updateCashBalance:rQ({method:"POST",fullPath:"/v1/customers/{customer}/cash_balance"}),updateSource:rQ({method:"POST",fullPath:"/v1/customers/{customer}/sources/{id}"}),verifySource:rQ({method:"POST",fullPath:"/v1/customers/{customer}/sources/{id}/verify"})}),r0=er.method,r1=er.extend({retrieve:r0({method:"GET",fullPath:"/v1/disputes/{dispute}"}),update:r0({method:"POST",fullPath:"/v1/disputes/{dispute}"}),list:r0({method:"GET",fullPath:"/v1/disputes",methodType:"list"}),close:r0({method:"POST",fullPath:"/v1/disputes/{dispute}/close"})}),r2=er.method,r5=er.extend({create:r2({method:"POST",fullPath:"/v1/ephemeral_keys",validator:(e,t)=>
1{if(!t.headers||!t.headers["Stripe-Version"])throw Error("Passing apiVersion in a separate options hash is required to create an ephemeral key. See https://stripe.com/docs/api/versioning?lang=node")}}),del:r2({method:"DELETE",fullPath:"/v1/ephemeral_keys/{key}"})}),r8=er.method,r6=er.extend({retrieve:r8({method:"GET",fullPath:"/v1/events/{id}"}),list:r8({method:"GET",fullPath:"/v1/events",methodType:"list"})}),r3=er.method,r4=er.extend({retrieve:r3({method:"GET",fullPath:"/v1/exchange_rates/{rate_id}"}),list:r3({method:"GET",fullPath:"/v1/exchange_rates",methodType:"list"})}),r9=er.method,r7=er.extend({create:r9({method:"POST",fullPath:"/v1/file_links"}),retrieve:r9({method:"GET",fullPath:"/v1/file_links/{link}"}),update:r9({method:"POST",fullPath:"/v1/file_links/{link}"}),list:r9({method:"GET",fullPath:"/v1/file_links",methodType:"list"})}),ne=(e,t,r)=>{let n=(Math.round(1e16*Math.random())+Math.round(1e16*Math.random())).toString();r["Content-Type"]=`multipart/form-data; boundary=${n}`;let o=new TextEncoder,i=new Uint8Array(0),a=o.encode("\r\n");function l(e){let t=i,r=e instanceof Uint8Array?e:new Uint8Array(o.encode(e));(i=new Uint8Array(t.length+r.length+2)).set(t),i.set(r,t.length),i.set(a,i.length-2)}function s(e){return`"${e.replace(/"|"/g,"%22").replace(/\r\n|\r|\n/g," ")}"`}let u=function(e){let t={},r=(e,n)=>{Object.entries(e).forEach(([e,o])=>{let i=n?`${n}[${e}]`:e;if(function(e){let t=typeof e;return("function"===t||"object"===t)&&!!e}(o))if(!(o instanceof Uint8Array)&&!Object.prototype.hasOwnProperty.call(o,"data"))return r(o,i);else t[i]=o;else t[i]=String(o)})};return r(e,null),t}(t);for(let e in u){if(!Object.prototype.hasOwnProperty.call(u,e))continue;let t=u[e];l(`--${n}`),Object.prototype.hasOwnProperty.call(t,"data")?(l(`Content-Disposition: form-data; name=${s(e)}; filename=${s(t.name||"blob")}`),l(`Content-Type: ${t.type||"application/octet-stream"}`),l(""),l(t.data)):(l(`Content-Disposition: form-data; name=${s(e)}`),l(""),l(t))}return l(`--${n}--`),i},nt=er.method,nr=er.extend({create:nt({method:"POST",fullPath:"/v1/files",headers:{"Content-Type":"multipart/form-data"},host:"files.stripe.com"}),retrieve:nt({method:"GET",fullPath:"/v1/files/{file}"}),list:nt({method:"GET",fullPath:"/v1/files",methodType:"list"}),requestDataProcessor:function(e,t,r,n){if(t=t||{},"POST"!==e)return n(null,u(t));this._stripe._platformFunctions.tryBufferData(t).then(t=>n(null,ne(e,t,r))).catch(e=>n(e,null))}}),nn=er.method,no=er.extend({create:nn({method:"POST",fullPath:"/v1/invoiceitems"}),retrieve:nn({method:"GET",fullPath:"/v1/invoiceitems/{invoiceitem}"}),update:nn({method:"POST",fullPath:"/v1/invoiceitems/{invoiceitem}"}),list:nn({method:"GET",fullPath:"/v1/invoiceitems",methodType:"list"}),del:nn({method:"DELETE",fullPath:"/v1/invoiceitems/{invoiceitem}"})}),ni=er.method,na=er.extend({retrieve:ni({method:"GET",fullPath:"/v1/invoice_payments/{invoice_payment}"}),list:ni({method:"GET",fullPath:"/v1/invoice_payments",methodType:"list"})}),nl=er.method,ns=er.extend({retrieve:nl({method:"GET",fullPath:"/v1/invoice_rendering_templates/{template}"}),list:nl({method:"GET",fullPath:"/v1/invoice_rendering_templates",methodType:"list"}),archive:nl({method:"POST",fullPath:"/v1/invoice_rendering_templates/{template}/archive"}),unarchive:nl({method:"POST",fullPath:"/v1/invoice_rendering_templates/{template}/unarchive"})}),nu=er.method,nc=er.extend({create:nu({method:"POST",fullPath:"/v1/invoices"}),retrieve:nu({method:"GET",fullPath:"/v1/invoices/{invoice}"}),update:nu({method:"POST",fullPath:"/v1/invoices/{invoice}"}),list:nu({method:"GET",fullPath:"/v1/invoices",methodType:"list"}),del:nu({method:"DELETE",fullPath:"/v1/invoices/{invoice}"}),addLines:nu({method:"POST",fullPath:"/v1/invoices/{invoice}/add_lines"}),attachPayment:nu({method:"POST",fullPath:"/v1/invoices/{invoice}/attach_payment"}),createPreview:nu({method:"POST",fullPath:"/v1/invoices/create_preview"}),finalizeInvoice:nu({method:"POST",fullPath:"/v1/invoices/{invoice}/finalize"}),listLineItems:nu({method:"GET",fullPath:"/v1/invoices/{invoice}/lines",methodType:"list"}),markUncollectible:nu({method:"POST",fullPath:"/v1/invoices/{invoice}/mark_uncollectible"}),pay:nu({method:"POST",fullPath:"/v1/invoices/{invoice}/pay"}),removeLines:nu({method:"POST",fullPath:"/v1/invoices/{invoice}/remove_lines"}),search:nu({method:"GET",fullPath:"/v1/invoices/search",methodType:"search"}),sendInvoice:nu({method:"POST",fullPath:"/v1/invoices/{invoice}/send"}),updateLines:nu({method:"POST",fullPath:"/v1/invoices/{invoice}/update_lines"}),updateLineItem:nu({method:"POST",fullPath:"/v1/invoices/{invoice}/lines/{line_item_id}"}),voidInvoice:nu({method:"POST",fullPath:"/v1/invoices/{invoice}/void"})}),nd=er.method,np=er.extend({retrieve:nd({method:"GET",fullPath:"/v1/mandates/{mandate}"})}),nf=er.method,nh="connect.stripe.com",nm=er.extend({basePath:"/",authorizeUrl(e,t){e=e||{};let r="oauth/authorize";return(t=t||{}).express&&(r=`express/${r}`),e.response_type||(e.response_type="code"),e.client_id||(e.client_id=this._stripe.getClientId()),e.scope||(e.scope="read_write"),`https://${nh}/${r}?${u(e)}`},token:nf({method:"POST",path:"oauth/token",host:nh}),deauthorize(e,...t){return e.client_id||(e.client_id=this._stripe.getClientId()),nf({method:"POST",path:"oauth/deauthorize",host:nh}).apply(this,[e,...t])}}),nv=er.method,ny=er.extend({create:nv({method:"POST",fullPath:"/v1/payment_intents"}),retrieve:nv({method:"GET",fullPath:"/v1/payment_intents/{intent}"}),update:nv({method:"POST",fullPath:"/v1/payment_intents/{intent}"}),list:nv({method:"GET",fullPath:"/v1/payment_intents",methodType:"list"}),applyCustomerBalance:nv({method:"POST",fullPath:"/v1/payment_intents/{intent}/apply_customer_balance"}),cancel:nv({method:"POST",fullPath:"/v1/payment_intents/{intent}/cancel"}),capture:nv({method:"POST",fullPath:"/v1/payment_intents/{intent}/capture"}),confirm:nv({method:"POST",fullPath:"/v1/payment_intents/{intent}/confirm"}),incrementAuthorization:nv({method:"POST",fullPath:"/v1/payment_intents/{intent}/increment_authorization"}),search:nv({method:"GET",fullPath:"/v1/payment_intents/search",methodType:"search"}),verifyMicrodeposits:nv({method:"POST",fullPath:"/v1/payment_intents/{intent}/verify_microdeposits"})}),ng=er.method,nb=er.extend({create:ng({method:"POST",fullPath:"/v1/payment_links"}),retrieve:ng({method:"GET",fullPath:"/v1/payment_links/{payment_link}"}),update:ng({method:"POST",fullPath:"/v1/payment_links/{payment_link}"}),list:ng({method:"GET",fullPath:"/v1/payment_links",methodType:"list"}),listLineItems:ng({method:"GET",fullPath:"/v1/payment_links/{payment_link}/line_items",methodType:"list"})}),nP=er.method,nw=er.extend({create:nP({method:"POST",fullPath:"/v1/payment_method_configurations"}),retrieve:nP({method:"GET",fullPath:"/v1/payment_method_configurations/{configuration}"}),update:nP({method:"POST",fullPath:"/v1/payment_method_configurations/{configuration}"}),list:nP({method:"GET",fullPath:"/v1/payment_method_configurations",methodType:"list"})}),nx=er.method,nT=er.extend({create:nx({method:"POST",fullPath:"/v1/payment_method_domains"}),retrieve:nx({method:"GET",fullPath:"/v1/payment_method_domains/{payment_method_domain}"}),update:nx({method:"POST",fullPath:"/v1/payment_method_domains/{payment_method_domain}"}),list:nx({method:"GET",fullPath:"/v1/payment_method_domains",methodType:"list"}),validate:nx({method:"POST",fullPath:"/v1/payment_method_domains/{payment_method_domain}/validate"})}),n_=er.method,nE=er.extend({create:n_({method:"POST",fullPath:"/v1/payment_methods"}),retrieve:n_({method:"GET",fullPath:"/v1/payment_methods/{payment_method}"}),update:n_({method:"POST",fullPath:"/v1/payment_methods/{payment_method}"}),list:n_({method:"GET",fullPath:"/v1/payment_methods",methodType:"list"}),attach:n_({method:"POST",fullPath:"/v1/payment_methods/{payment_method}/attach"}),detach:n_({method:"POST",fullPath:"/v1/payment_methods/{payment_method}/detach"})}),nS=er.method,nO=er.extend({create:nS({method:"POST",fullPath:"/v1/payouts"}),retrieve:nS({method:"GET",fullPath:"/v1/payouts/{payout}"}),update:nS({method:"POST",fullPath:"/v1/payouts/{payout}"}),list:nS({method:"GET",fullPath:"/v1/payouts",methodType:"list"}),cancel:nS({method:"POST",fullPath:"/v1/payouts/{payout}/cancel"}),reverse:nS({method:"POST",fullPath:"/v1/payouts/{payout}/reverse"})}),nA=er.method,nk=er.extend({create:nA({method:"POST",fullPath:"/v1/plans"}),retrieve:nA({method:"GET",fullPath:"/v1/plans/{plan}"}),update:nA({method:"POST",fullPath:"/v1/plans/{plan}"}),list:nA({method:"GET",fullPath:"/v1/plans",methodType:"list"}),del:nA({method:"DELETE",fullPath:"/v1/plans/{plan}"})}),nC=er.method,nR=er.extend({create:nC({method:"POST",fullPath:"/v1/prices"}),retrieve:nC({method:"GET",fullPath:"/v1/prices/{price}"}),update:nC({method:"POST",fullPath:"/v1/prices/{price}"}),list:nC({method:"GET",fullPath:"/v1/prices",methodType:"list"}),search:nC({method:"GET",fullPath:"/v1/prices/search",methodType:"search"})}),nj=er.method,nM=er.extend({create:nj({method:"POST",fullPath:"/v1/products"}),retrieve:nj({method:"GET",fullPath:"/v1/products/{id}"}),update:nj({method:"POST",fullPath:"/v1/products/{id}"}),list:nj({method:"GET",fullPath:"/v1/products",methodType:"list"}),del:nj({method:"DELETE",fullPath:"/v1/products/{id}"}),createFeature:nj({method:"POST",fullPath:"/v1/products/{product}/features"}),deleteFeature:nj({method:"DELETE",fullPath:"/v1/products/{product}/features/{id}"}),listFeatures:nj({method:"GET",fullPath:"/v1/products/{product}/features",methodType:"list"}),retrieveFeature:nj({method:"GET",fullPath:"/v1/products/{product}/features/{id}"}),search:nj({method:"GET",fullPath:"/v1/products/search",methodType:"search"})}),nI=er.method,nD=er.extend({create:nI({method:"POST",fullPath:"/v1/promotion_codes"}),retrieve:nI({method:"GET",fullPath:"/v1/promotion_codes/{promotion_code}"}),update:nI({method:"POST",fullPath:"/v1/promotion_codes/{promotion_code}"}),list:nI({method:"GET",fullPath:"/v1/promotion_codes",methodType:"list"})}),nN=er.method,nG=er.extend({create:nN({method:"POST",fullPath:"/v1/quotes"}),retrieve:nN({method:"GET",fullPath:"/v1/quotes/{quote}"}),update:nN({method:"POST",fullPath:"/v1/quotes/{quote}"}),list:nN({method:"GET",fullPath:"/v1/quotes",methodType:"list"}),accept:nN({method:"POST",fullPath:"/v1/quotes/{quote}/accept"}),cancel:nN({method:"POST",fullPath:"/v1/quotes/{quote}/cancel"}),finalizeQuote:nN({method:"POST",fullPath:"/v1/quotes/{quote}/finalize"}),listComputedUpfrontLineItems:nN({method:"GET",fullPath:"/v1/quotes/{quote}/computed_upfront_line_items",methodType:"list"}),listLineItems:nN({method:"GET",fullPath:"/v1/quotes/{quote}/line_items",methodType:"list"}),pdf:nN({method:"GET",fullPath:"/v1/quotes/{quote}/pdf",host:"files.stripe.com",streaming:!0})}),nL=er.method,nF=er.extend({create:nL({method:"POST",fullPath:"/v1/refunds"}),retrieve:nL({method:"GET",fullPath:"/v1/refunds/{refund}"}),update:nL({method:"POST",fullPath:"/v1/refunds/{refund}"}),list:nL({method:"GET",fullPath:"/v1/refunds",methodType:"list"}),cancel:nL({method:"POST",fullPath:"/v1/refunds/{refund}/cancel"})}),nz=er.method,nU=er.extend({retrieve:nz({method:"GET",fullPath:"/v1/reviews/{review}"}),list:nz({method:"GET",fullPath:"/v1/reviews",methodType:"list"}),approve:nz({method:"POST",fullPath:"/v1/reviews/{review}/approve"})}),nq=er.method,nH=er.extend({list:nq({method:"GET",fullPath:"/v1/setup_attempts",methodType:"list"})}),nK=er.method,nB=er.extend({create:nK({method:"POST",fullPath:"/v1/setup_intents"}),retrieve:nK({method:"GET",fullPath:"/v1/setup_intents/{intent}"}),update:nK({method:"POST",fullPath:"/v1/setup_intents/{intent}"}),list:nK({method:"GET",fullPath:"/v1/setup_intents",methodType:"list"}),cancel:nK({method:"POST",fullPath:"/v1/setup_intents/{intent}/cancel"}),confirm:nK({method:"POST",fullPath:"/v1/setup_intents/{intent}/confirm"}),verifyMicrodeposits:nK({method:"POST",fullPath:"/v1/setup_intents/{intent}/verify_microdeposits"})}),nW=er.method,n$=er.extend({create:nW({method:"POST",fullPath:"/v1/shipping_rates"}),retrieve:nW({method:"GET",fullPath:"/v1/shipping_rates/{shipping_rate_token}"}),update:nW({method:"POST",fullPath:"/v1/shipping_rates/{shipping_rate_token}"}),list:nW({method:"GET",fullPath:"/v1/shipping_rates",methodType:"list"})}),nV=er.method,nX=er.extend({create:nV({method:"POST",fullPath:"/v1/sources"}),retrieve:nV({method:"GET",fullPath:"/v1/sources/{source}"}),update:nV({method:"POST",fullPath:"/v1/sources/{source}"}),listSourceTransactions:nV({method:"GET",fullPath:"/v1/sources/{source}/source_transactions",methodType:"list"}),verify:nV({method:"POST",fullPath:"/v1/sources/{source}/verify"})}),nJ=er.method,nY=er.extend({create:nJ({method:"POST",fullPath:"/v1/subscription_items"}),retrieve:nJ({method:"GET",fullPath:"/v1/subscription_items/{item}"}),update:nJ({method:"POST",fullPath:"/v1/subscription_items/{item}"}),list:nJ({method:"GET",fullPath:"/v1/subscription_items",methodType:"list"}),del:nJ({method:"DELETE",fullPath:"/v1/subscription_items/{item}"})}),nQ=er.method,nZ=er.extend({create:nQ({method:"POST",fullPath:"/v1/subscription_schedules"}),retrieve:nQ({method:"GET",fullPath:"/v1/subscription_schedules/{schedule}"}),update:nQ({method:"POST",fullPath:"/v1/subscription_schedules/{schedule}"}),list:nQ({method:"GET",fullPath:"/v1/subscription_schedules",methodType:"list"}),cancel:nQ({method:"POST",fullPath:"/v1/subscription_schedules/{schedule}/cancel"}),release:nQ({method:"POST",fullPath:"/v1/subscription_schedules/{schedule}/release"})}),n0=er.method,n1=er.extend({create:n0({method:"POST",fullPath:"/v1/subscriptions"}),retrieve:n0({method:"GET",fullPath:"/v1/subscriptions/{subscription_exposed_id}"}),update:n0({method:"POST",fullPath:"/v1/subscriptions/{subscription_exposed_id}"}),list:n0({method:"GET",fullPath:"/v1/subscriptions",methodType:"list"}),cancel:n0({method:"DELETE",fullPath:"/v1/subscriptions/{subscription_exposed_id}"}),deleteDiscount:n0({method:"DELETE",fullPath:"/v1/subscriptions/{subscription_exposed_id}/discount"}),migrate:n0({method:"POST",fullPath:"/v1/subscriptions/{subscription}/migrate"}),resume:n0({method:"POST",fullPath:"/v1/subscriptions/{subscription}/resume"}),search:n0({method:"GET",fullPath:"/v1/subscriptions/search",methodType:"search"})}),n2=er.method,n5=er.extend({retrieve:n2({method:"GET",fullPath:"/v1/tax_codes/{id}"}),list:n2({method:"GET",fullPath:"/v1/tax_codes",methodType:"list"})}),n8=er.method,n6=er.extend({create:n8({method:"POST",fullPath:"/v1/tax_ids"}),retrieve:n8({method:"GET",fullPath:"/v1/tax_ids/{id}"}),list:n8({method:"GET",fullPath:"/v1/tax_ids",methodType:"list"}),del:n8({method:"DELETE",fullPath:"/v1/tax_ids/{id}"})}),n3=er.method,n4=er.extend({create:n3({method:"POST",fullPath:"/v1/tax_rates"}),retrieve:n3({method:"GET",fullPath:"/v1/tax_rates/{tax_rate}"}),update:n3({method:"POST",fullPath:"/v1/tax_rates/{tax_rate}"}),list:n3({method:"GET",fullPath:"/v1/tax_rates",methodType:"list"})}),n9=er.method,n7=er.extend({create:n9({method:"POST",fullPath:"/v1/tokens"}),retrieve:n9({method:"GET",fullPath:"/v1/tokens/{token}"})}),oe=er.method,ot=er.extend({create:oe({method:"POST",fullPath:"/v1/topups"}),retrieve:oe({method:"GET",fullPath:"/v1/topups/{topup}"}),update:oe({method:"POST",fullPath:"/v1/topups/{topup}"}),list:oe({method:"GET",fullPath:"/v1/topups",methodType:"list"}),cancel:oe({method:"POST",fullPath:"/v1/topups/{topup}/cancel"})}),or=er.method,on=er.extend({create:or({method:"POST",fullPath:"/v1/transfers"}),retrieve:or({method:"GET",fullPath:"/v1/transfers/{transfer}"}),update:or({method:"POST",fullPath:"/v1/transfers/{transfer}"}),list:or({method:"GET",fullPath:"/v1/transfers",methodType:"list"}),createReversal:or({method:"POST",fullPath:"/v1/transfers/{id}/reversals"}),listReversals:or({method:"GET",fullPath:"/v1/transfers/{id}/reversals",methodType:"list"}
1),retrieveReversal:or({method:"GET",fullPath:"/v1/transfers/{transfer}/reversals/{id}"}),updateReversal:or({method:"POST",fullPath:"/v1/transfers/{transfer}/reversals/{id}"})}),oo=er.method,oi=er.extend({create:oo({method:"POST",fullPath:"/v1/webhook_endpoints"}),retrieve:oo({method:"GET",fullPath:"/v1/webhook_endpoints/{webhook_endpoint}"}),update:oo({method:"POST",fullPath:"/v1/webhook_endpoints/{webhook_endpoint}"}),list:oo({method:"GET",fullPath:"/v1/webhook_endpoints",methodType:"list"}),del:oo({method:"DELETE",fullPath:"/v1/webhook_endpoints/{webhook_endpoint}"})}),oa=ei("apps",{Secrets:t1}),ol=ei("billing",{Alerts:ed,CreditBalanceSummary:eM,CreditBalanceTransactions:eD,CreditGrants:eG,MeterEventAdjustments:e7,MeterEvents:tl,Meters:td}),os=ei("billingPortal",{Configurations:eE,Sessions:t5}),ou=ei("checkout",{Sessions:t6}),oc=ei("climate",{Orders:tf,Products:tk,Suppliers:rt}),od=ei("entitlements",{ActiveEntitlements:eu,Features:eZ}),op=ei("financialConnections",{Accounts:el,Sessions:t4,Transactions:ru}),of=ei("forwarding",{Requests:tY}),oh=ei("identity",{VerificationReports:rT,VerificationSessions:rE}),om=ei("issuing",{Authorizations:ef,Cardholders:eb,Cards:ew,Disputes:eB,PersonalizationDesigns:tT,PhysicalBundles:tO,Tokens:ri,Transactions:rd}),ov=ei("radar",{EarlyFraudWarnings:e$,ValueListItems:rb,ValueLists:rw}),oy=ei("reporting",{ReportRuns:t$,ReportTypes:tX}),og=ei("sigma",{ScheduledQueryRuns:tZ}),ob=ei("tax",{Calculations:ey,Registrations:tB,Settings:t7,Transactions:rf}),oP=ei("terminal",{Configurations:eO,ConnectionTokens:eR,Locations:e4,Readers:tR}),ow=ei("testHelpers",{ConfirmationTokens:ek,Customers:eU,Refunds:tH,TestClocks:rn,Issuing:ei("issuing",{Authorizations:em,Cards:eT,PersonalizationDesigns:tE,Transactions:rm}),Terminal:ei("terminal",{Readers:tM}),Treasury:ei("treasury",{InboundTransfers:e5,OutboundPayments:tm,OutboundTransfers:tb,ReceivedCredits:tD,ReceivedDebits:tF})}),ox=ei("treasury",{CreditReversals:eF,DebitReversals:eH,FinancialAccounts:e1,InboundTransfers:e6,OutboundPayments:ty,OutboundTransfers:tw,ReceivedCredits:tG,ReceivedDebits:tU,TransactionEntries:rl,Transactions:ry}),oT=ei("v2",{Billing:ei("billing",{MeterEventAdjustments:tt,MeterEventSession:tn,MeterEventStream:ti,MeterEvents:tu}),Core:ei("core",{EventDestinations:eX,Events:eY})}),o_="api.stripe.com",oE="/v1/",oS=["name","version","url","partner_id"],oO=["authenticator","apiVersion","typescript","maxNetworkRetries","httpAgent","httpClient","timeout","host","port","protocol","telemetry","appInfo","stripeAccount","stripeContext"],oA=e=>new V(e,er.MAX_BUFFERED_REQUEST_METRICS),ok=function(e,t=oA){function r(o,i={}){if(!(this instanceof r))return new r(o,i);let a=this._getPropsFromConfig(i);this._platformFunctions=e,Object.defineProperty(this,"_emitter",{value:this._platformFunctions.createEmitter(),enumerable:!1,configurable:!1,writable:!1}),this.VERSION=r.PACKAGE_VERSION,this.on=this._emitter.on.bind(this._emitter),this.once=this._emitter.once.bind(this._emitter),this.off=this._emitter.removeListener.bind(this._emitter);let l=a.httpAgent||null;this._api={host:a.host||o_,port:a.port||"443",protocol:a.protocol||"https",basePath:oE,version:a.apiVersion||en,timeout:v("timeout",a.timeout,8e4),maxNetworkRetries:v("maxNetworkRetries",a.maxNetworkRetries,2),agent:l,httpClient:a.httpClient||(l?this._platformFunctions.createNodeHttpClient(l):this._platformFunctions.createDefaultHttpClient()),dev:!1,stripeAccount:a.stripeAccount||null,stripeContext:a.stripeContext||null};let s=a.typescript||!1;s!==r.USER_AGENT.typescript&&(r.USER_AGENT.typescript=s),a.appInfo&&this._setAppInfo(a.appInfo),this._prepResources(),this._setAuthenticator(o,a.authenticator),this.errors=n,this.webhooks=r.webhooks,this._prevRequestMetrics=[],this._enableTelemetry=!1!==a.telemetry,this._requestSender=t(this),this.StripeResource=r.StripeResource}return r.PACKAGE_VERSION="18.5.0",r.API_VERSION=en,r.USER_AGENT=Object.assign({bindings_version:r.PACKAGE_VERSION,lang:"node",publisher:"stripe",uname:null,typescript:!1},void 0===a?{}:{lang_version:a.version,platform:a.platform}),r.StripeResource=er,r.resources=o,r.HttpClient=w,r.HttpClientResponse=x,r.CryptoProvider=E,r.webhooks=function(e){let t={DEFAULT_TOLERANCE:300,signature:null,constructEvent(e,r,n,o,i,a){try{if(!this.signature)throw Error("ERR: missing signature helper, unable to verify");this.signature.verifyHeader(e,r,n,o||t.DEFAULT_TOLERANCE,i,a)}catch(e){throw e instanceof S&&(e.message+="\nUse `await constructEventAsync(...)` instead of `constructEvent(...)`"),e}return e instanceof Uint8Array?JSON.parse(new TextDecoder("utf8").decode(e)):JSON.parse(e)},async constructEventAsync(e,r,n,o,i,a){if(!this.signature)throw Error("ERR: missing signature helper, unable to verify");return await this.signature.verifyHeaderAsync(e,r,n,o||t.DEFAULT_TOLERANCE,i,a),e instanceof Uint8Array?JSON.parse(new TextDecoder("utf8").decode(e)):JSON.parse(e)},generateTestHeaderString:function(e){let t=s(e),r=t.signature||t.cryptoProvider.computeHMACSignature(t.payloadString,t.secret);return t.generateHeaderString(r)},generateTestHeaderStringAsync:async function(e){let t=s(e),r=t.signature||await t.cryptoProvider.computeHMACSignatureAsync(t.payloadString,t.secret);return t.generateHeaderString(r)}},r={EXPECTED_SCHEME:"v1",verifyHeader(e,t,r,a,s,u){let{decodedHeader:c,decodedPayload:d,details:p,suspectPayloadType:f}=o(e,t,this.EXPECTED_SCHEME),h=/\s/.test(r),m=(s=s||l()).computeHMACSignature(n(d,p),r);return i(d,c,p,m,a,f,h,u),!0},async verifyHeaderAsync(e,t,r,a,s,u){let{decodedHeader:c,decodedPayload:d,details:p,suspectPayloadType:f}=o(e,t,this.EXPECTED_SCHEME),h=/\s/.test(r);s=s||l();let m=await s.computeHMACSignatureAsync(n(d,p),r);return i(d,c,p,m,a,f,h,u)}};function n(e,t){return`${t.timestamp}.${e}`}function o(e,t,r){var n,o;if(!e)throw new H(t,e,{message:"No webhook payload was provided."});let i="string"!=typeof e&&!(e instanceof Uint8Array),a=new TextDecoder("utf8"),l=e instanceof Uint8Array?a.decode(e):e;if(Array.isArray(t))throw Error("Unexpected: An array was passed as a header, which should not be possible for the stripe-signature header.");if(null==t||""==t)throw new H(t,e,{message:"No stripe-signature header value was provided."});let s=t instanceof Uint8Array?a.decode(t):t,u=(n=s,o=r,"string"!=typeof n?null:n.split(",").reduce((e,t)=>
1{let r=t.split("=");return"t"===r[0]&&(e.timestamp=parseInt(r[1],10)),r[0]===o&&e.signatures.push(r[1]),e},{timestamp:-1,signatures:[]}));if(!u||-1===u.timestamp)throw new H(s,l,{message:"Unable to extract timestamp and signatures from header"});if(!u.signatures.length)throw new H(s,l,{message:"No signatures found with expected scheme"});return{decodedPayload:l,decodedHeader:s,details:u,suspectPayloadType:i}}function i(t,r,n,o,i,a,l,s){let u=!!n.signatures.filter(e.secureCompare.bind(e,o)).length,c="\nLearn more about webhook signing and explore webhook integration examples for various frameworks at https://docs.stripe.com/webhooks/signature",d=l?"\n\nNote: The provided signing secret contains whitespace. This often indicates an extra newline or space is in the value":"";if(!u){if(a)throw new H(r,t,{message:"Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the _raw_ request body.Payload was provided as a parsed JavaScript object instead. \nSignature verification is impossible without access to the original signed material. \n"+c+"\n"+d});throw new H(r,t,{message:"No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? \n If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.\n"+c+"\n"+d})}let p=Math.floor(("number"==typeof s?s:Date.now())/1e3)-n.timestamp;if(i>0&&p>i)throw new H(r,t,{message:"Timestamp outside the tolerance zone"});return!0}let a=null;function l(){return a||(a=e.createDefaultCryptoProvider()),a}function s(e){if(!e)throw new D({message:"Options are required"});let t=Math.floor(e.timestamp)||Math.floor(Date.now()/1e3),n=e.scheme||r.EXPECTED_SCHEME,o=e.cryptoProvider||l(),i=`${t}.${e.payload}`;return Object.assign(Object.assign({},e),{timestamp:t,scheme:n,cryptoProvider:o,payloadString:i,generateHeaderString:e=>`t=${t},${n}=${e}`})}return t.signature=r,t}(e),r.errors=n,r.createNodeHttpClient=e.createNodeHttpClient,r.createFetchHttpClient=e.createFetchHttpClient,r.createNodeCryptoProvider=e.createNodeCryptoProvider,r.createSubtleCryptoProvider=e.createSubtleCryptoProvider,r.prototype={_appInfo:void 0,on:null,off:null,once:null,VERSION:null,StripeResource:null,webhooks:null,errors:null,_api:null,_prevRequestMetrics:null,_emitter:null,_enableTelemetry:null,_requestSender:null,_platformFunctions:null,rawRequest(e,t,r,n){return this._requestSender._rawRequest(e,t,r,n)},_setAuthenticator(e,t){if(e&&t)throw Error("Can't specify both apiKey and authenticator");if(!e&&!t)throw Error("Neither apiKey nor config.authenticator provided");this._authenticator=e?y(e):t},_setAppInfo(e){if(e&&"object"!=typeof e)throw Error("AppInfo must be an object.");if(e&&!e.name)throw Error("AppInfo.name is required");e=e||{},this._appInfo=oS.reduce((t,r)=>("string"==typeof e[r]&&((t=t||{})[r]=e[r]),t),{})},_setApiField(e,t){this._api[e]=t},getApiField(e){return this._api[e]},setClientId(e){this._clientId=e},getClientId(){return this._clientId},getConstant:e=>{switch(e){case"DEFAULT_HOST":return o_;case"DEFAULT_PORT":return"443";case"DEFAULT_BASE_PATH":return oE;case"DEFAULT_API_VERSION":return en;case"DEFAULT_TIMEOUT":return 8e4;case"MAX_NETWORK_RETRY_DELAY_SEC":return 5;case"INITIAL_NETWORK_RETRY_DELAY_SEC":return .5}return r[e]},getMaxNetworkRetries(){return this.getApiField("maxNetworkRetries")},_setApiNumberField(e,t,r){let n=v(e,t,r);this._setApiField(e,n)},getMaxNetworkRetryDelay:()=>5,getInitialNetworkRetryDelay:()=>.5,getClientUserAgent(e){return this.getClientUserAgentSeeded(r.USER_AGENT,e)},getClientUserAgentSeeded(e,t){this._platformFunctions.getUname().then(r=>{var n;let o={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=encodeURIComponent(null!=(n=e[t])?n:"null"));o.uname=encodeURIComponent(r||"UNKNOWN");let i=this.getApiField("httpClient");i&&(o.httplib=encodeURIComponent(i.getClientName())),this._appInfo&&(o.application=this._appInfo),t(JSON.stringify(o))})},getAppInfoAsString(){if(!this._appInfo)return"";let e=this._appInfo.name;return this._appInfo.version&&(e+=`/${this._appInfo.version}`),this._appInfo.url&&(e+=` (${this._appInfo.url})`),e},getTelemetryEnabled(){return this._enableTelemetry},_prepResources(){for(let e in o)Object.prototype.hasOwnProperty.call(o,e)&&(this["OAuth"===e?"oauth":e[0].toLowerCase()+e.substring(1)]=new o[e](this))},_getPropsFromConfig(e){if(!e)return{};let t="string"==typeof e;if(!(e===Object(e)&&!Array.isArray(e))&&!t)throw Error("Config must either be an object or a string");if(t)return{apiVersion:e};if(Object.keys(e).filter(e=>!oO.includes(e)).length>0)throw Error(`Config object may only contain the following: ${oO.join(", ")}`);return e},parseThinEvent(e,t,r,n,o,i){return this.webhooks.constructEvent(e,t,r,n,o,i)}},r}(new j)},5281:(e,t,r)=>{"use strict";var n=r(2060),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),l=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}},s=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=i[u];"object"==typeof c&&null!==c&&-1===r.indexOf(c)&&(t.push({obj:i,prop:u}),r.push(c))}return l(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");
1if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,i){if(0===e.length)return e;var l=e;if("symbol"==typeof e?l=Symbol.prototype.toString.call(e):"string"!=typeof e&&(l=String(e)),"iso-8859-1"===r)return escape(l).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",u=0;u<l.length;u+=1024){for(var c=l.length>=1024?l.slice(u,u+1024):l,d=[],p=0;p<c.length;++p){var f=c.charCodeAt(p);if(45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||i===n.RFC1738&&(40===f||41===f)){d[d.length]=c.charAt(p);continue}if(f<128){d[d.length]=a[f];continue}if(f<2048){d[d.length]=a[192|f>>6]+a[128|63&f];continue}if(f<55296||f>=57344){d[d.length]=a[224|f>>12]+a[128|f>>6&63]+a[128|63&f];continue}p+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(p)),d[d.length]=a[240|f>>18]+a[128|f>>12&63]+a[128|f>>6&63]+a[128|63&f]}s+=d.join("")}return s},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return(i(t)&&!i(r)&&(a=s(t,n)),i(t)&&i(r))?(r.forEach(function(r,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&r&&"object"==typeof r?t[i]=e(a,r,n):t.push(r)}else t[i]=r}),t):Object.keys(r).reduce(function(t,i){var a=r[i];return o.call(t,i)?t[i]=e(t[i],a,n):t[i]=a,t},a)}}},5329:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},5407:(e,t,r)=>{"use strict";var n=r(2430),o=r(3674),i=r(261),a=r(3289);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return a(n,i,e)}},5452:(e,t,r)=>{"use strict";r.d(t,{UC:()=>ee,VY:()=>er,ZL:()=>Q,bL:()=>Y,bm:()=>en,hE:()=>et,hJ:()=>Z});var n=r(2115),o=r(5185),i=r(6101),a=r(6081),l=r(1285),s=r(5845),u=r(9178),c=r(7900),d=r(4378),p=r(8905),f=r(3655),h=r(2293),m=r(1114),v=r(8168),y=r(9708),g=r(5155),b="Dialog",[P,w]=(0,a.A)(b),[x,T]=P(b),_=e=>{let{__scopeDialog:t,children:r,open:o,defaultOpen:i,onOpenChange:a,modal:u=!0}=e,c=n.useRef(null),d=n.useRef(null),[p,f]=(0,s.i)({prop:o,defaultProp:null!=i&&i,onChange:a,caller:b});return(0,g.jsx)(x,{scope:t,triggerRef:c,contentRef:d,contentId:(0,l.B)(),titleId:(0,l.B)(),descriptionId:(0,l.B)(),open:p,onOpenChange:f,onOpenToggle:n.useCallback(()=>f(e=>!e),[f]),modal:u,children:r})};_.displayName=b;var E="DialogTrigger";n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=T(E,r),l=(0,i.s)(t,a.triggerRef);return(0,g.jsx)(f.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":B(a.open),...n,ref:l,onClick:(0,o.mK)(e.onClick,a.onOpenToggle)})}).displayName=E;var S="DialogPortal",[O,A]=P(S,{forceMount:void 0}),k=e=>{let{__scopeDialog:t,forceMount:r,children:o,container:i}=e,a=T(S,t);return(0,g.jsx)(O,{scope:t,forceMount:r,children:n.Children.map(o,e=>(0,g.jsx)(p.C,{present:r||a.open,children:(0,g.jsx)(d.Z,{asChild:!0,container:i,children:e})}))})};k.displayName=S;var C="DialogOverlay",R=n.forwardRef((e,t)=>{let r=A(C,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=T(C,e.__scopeDialog);return i.modal?(0,g.jsx)(p.C,{present:n||i.open,children:(0,g.jsx)(M,{...o,ref:t})}):null});R.displayName=C;var j=(0,y.TL)("DialogOverlay.RemoveScroll"),M=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=T(C,r);return(0,g.jsx)(m.A,{as:j,allowPinchZoom:!0,shards:[o.contentRef],children:(0,g.jsx)(f.sG.div,{"data-state":B(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),I="DialogContent",D=n.forwardRef((e,t)=>{let r=A(I,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=T(I,e.__scopeDialog);return(0,g.jsx)(p.C,{present:n||i.open,children:i.modal?(0,g.jsx)(N,{...o,ref:t}):(0,g.jsx)(G,{...o,ref:t})})});D.displayName=I;var N=n.forwardRef((e,t)=>
1{let r=T(I,e.__scopeDialog),a=n.useRef(null),l=(0,i.s)(t,r.contentRef,a);return n.useEffect(()=>{let e=a.current;if(e)return(0,v.Eq)(e)},[]),(0,g.jsx)(L,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault())})}),G=n.forwardRef((e,t)=>{let r=T(I,e.__scopeDialog),o=n.useRef(!1),i=n.useRef(!1);return(0,g.jsx)(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,a;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(o.current||null==(a=r.triggerRef.current)||a.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var n,a;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let l=t.target;(null==(a=r.triggerRef.current)?void 0:a.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),L=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:l,...s}=e,d=T(I,r),p=n.useRef(null),f=(0,i.s)(t,p);return(0,h.Oh)(),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:l,children:(0,g.jsx)(u.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":B(d.open),...s,ref:f,onDismiss:()=>d.onOpenChange(!1)})}),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(X,{titleId:d.titleId}),(0,g.jsx)(J,{contentRef:p,descriptionId:d.descriptionId})]})]})}),F="DialogTitle",z=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=T(F,r);return(0,g.jsx)(f.sG.h2,{id:o.titleId,...n,ref:t})});z.displayName=F;var U="DialogDescription",q=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=T(U,r);return(0,g.jsx)(f.sG.p,{id:o.descriptionId,...n,ref:t})});q.displayName=U;var H="DialogClose",K=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=T(H,r);return(0,g.jsx)(f.sG.button,{type:"button",...n,ref:t,onClick:(0,o.mK)(e.onClick,()=>i.onOpenChange(!1))})});function B(e){return e?"open":"closed"}K.displayName=H;var W="DialogTitleWarning",[$,V]=(0,a.q)(W,{contentName:I,titleName:F,docsSlug:"dialog"}),X=e=>{let{titleId:t}=e,r=V(W),o="`".concat(r.contentName,"` requires a `").concat(r.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(r.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(r.docsSlug);return n.useEffect(()=>{t&&(document.getElementById(t)||console.error(o))},[o,t]),null},J=e=>{let{contentRef:t,descriptionId:r}=e,o=V("DialogDescriptionWarning"),i="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return n.useEffect(()=>{var e;let n=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");r&&n&&(document.getElementById(r)||console.warn(i))},[i,t,r]),null},Y=_,Q=k,Z=R,ee=D,et=z,er=q,en=K},5564:(e,t,r)=>{"use strict";var n=r(9509);Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return v},defaultHead:function(){return p}});let o=r(8229),i=r(6966),a=r(5155),l=i._(r(2115)),s=o._(r(5029)),u=r(2464),c=r(2830),d=r(7544);function p(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(3230);let h=["name","httpEquiv","charSet","itemProp"];function m(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(p(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let i=!0,a=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){a=!0;
1let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?i=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?i=!1:t.add(o.type);break;case"meta":for(let e=0,t=h.length;e<t;e++){let t=h[e];if(o.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?i=!1:r.add(t);else{let e=o.props[t],r=n[t]||new Set;("name"!==t||!a)&&r.has(e)?i=!1:(r.add(e),n[t]=r)}}}return i}}()).reverse().map((e,t)=>{let o=e.key||t;if(n.env.__NEXT_OPTIMIZE_FONTS&&!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,l.default.cloneElement(e,t)}return l.default.cloneElement(e,{key:o})})}let v=function(e){let{children:t}=e,r=(0,l.useContext)(u.AmpStateContext),n=(0,l.useContext)(c.HeadManagerContext);return(0,a.jsx)(s.default,{reduceComponentsToState:m,headManager:n,inAmpMode:(0,d.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5729:e=>{"use strict";e.exports=Math.floor},5742:(e,t,r)=>{"use strict";var n=r(508),o=r(1453),i=r(3946),a=r(7962),l=r(3674),s=n("%WeakMap%",!0),u=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),p=o("WeakMap.prototype.delete",!0);e.exports=s?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new l("Side channel does not contain "+i(e))},delete:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(a&&t)return t.delete(r);return!1},get:function(r){return s&&r&&("object"==typeof r||"function"==typeof r)&&e?u(e,r):t&&t.get(r)},has:function(r){return s&&r&&("object"==typeof r||"function"==typeof r)&&e?d(e,r):!!t&&t.has(r)}
1,set:function(r,n){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),c(e,r,n)):a&&(t||(t=a()),t.set(r,n))}};return r}:a},5840:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},5845:(e,t,r)=>{"use strict";r.d(t,{i:()=>l});var n,o=r(2115),i=r(2712),a=(n||(n=r.t(o,2)))[" useInsertionEffect ".trim().toString()]||i.N;function l({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[i,l,s]=function({defaultProp:e,onChange:t}){let[r,n]=o.useState(e),i=o.useRef(r),l=o.useRef(t);return a(()=>{l.current=t},[t]),o.useEffect(()=>{i.current!==r&&(l.current?.(r),i.current=r)},[r,i]),[r,n,l]}({defaultProp:t,onChange:r}),u=void 0!==e,c=u?e:i;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,n])}return[c,o.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&s.current?.(r)}else l(t)},[u,e,l,s])]}Symbol("RADIX:SYNC_STATE")},6052:(e,t,r)=>{"use strict";var n=r(3773),o=r(6632);e.exports={formats:r(2060),parse:o,stringify:n}},6081:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,q:()=>i});var n=r(2115),o=r(5155);function i(e,t){let r=n.createContext(t),i=e=>{let{children:t,...i}=e,a=n.useMemo(()=>i,Object.values(i));return(0,o.jsx)(r.Provider,{value:a,children:t})};return i.displayName=e+"Provider",[i,function(o){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function a(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return i.scopeName=e,[function(t,i){let a=n.createContext(i),l=r.length;r=[...r,i];let s=t=>{let{scope:r,children:i,...s}=t,u=r?.[e]?.[l]||a,c=n.useMemo(()=>s,Object.values(s));return(0,o.jsx)(u.Provider,{value:c,children:i})};return s.displayName=t+"Provider",[s,function(r,o){let s=o?.[e]?.[l]||a,u=n.useContext(s);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(i,...t)]}},6101:(e,t,r)=>{"use strict";r.d(t,{s:()=>a,t:()=>i});var n=r(2115);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}function a(...e){return n.useCallback(i(...e),e)}},6406:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(8852);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},6561:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(9946).A)("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]])},6632:(e,t,r)=>{"use strict";var n=r(5281),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},l=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},s=function(e,t){var r={__proto__:null},s=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;s=s.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,c=s.split(t.delimiter,t.throwOnLimitExceeded?u+1:u);if(t.throwOnLimitExceeded&&c.length>u)throw RangeError("Parameter limit exceeded. Only "+u+" parameter"+(1===u?"":"s")+" allowed.");var d=-1,p=t.charset;if(t.charsetSentinel)for(f=0;f<c.length;++f)0===c[f].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[f]?p="utf-8":"utf8=%26%2310003%3B"===c[f]&&(p="iso-8859-1"),d=f,f=c.length);for(f=0;f<c.length;++f)if(f!==d){var f,h,m,v=c[f],y=v.indexOf("]="),g=-1===y?v.indexOf("="):y+1;-1===g?(h=t.decoder(v,a.decoder,p,"key"),m=t.strictNullHandling?null:""):(h=t.decoder(v.slice(0,g),a.decoder,p,"key"),m=n.maybeMap(l(v.slice(g+1),t,i(r[h])?r[h].length:0),function(e){return t.decoder(e,a.decoder,p,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===p&&(m=String(m).replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))}
vendor: 1,396 bytes, line 1
1)),v.indexOf("[]=")>-1&&(m=i(m)?[m]:m);var b=o.call(r,h);b&&"combine"===t.duplicates?r[h]=n.combine(r[h],m):b&&"last"!==t.duplicates||(r[h]=m)}return r},u=function(e,t,r,o){var i=0;if(e.length>0&&"[]"===e[e.length-1]){var a=e.slice(0,-1).join("");i=Array.isArray(t)&&t[a]?t[a].length:0}for(var s=o?t:l(t,r,i),u=e.length-1;u>=0;--u){var c,d=e[u];if("[]"===d&&r.parseArrays)c=r.allowEmptyArrays&&(""===s||r.strictNullHandling&&null===s)?[]:n.combine([],s);else{c=r.plainObjects?{__proto__:null}:{};var p="["===d.charAt(0)&&"]"===d.charAt(d.length-1)?d.slice(1,-1):d,f=r.decodeDotInKeys?p.replace(/%2E/g,"."):p,h=parseInt(f,10);r.parseArrays||""!==f?!isNaN(h)&&d!==f&&String(h)===f&&h>=0&&r.parseArrays&&h<=r.arrayLimit?(c=[])[h]=s:"__proto__"!==f&&(c[f]=s):c={0:s}}s=c}return s},c=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,l=r.depth>0&&/(\[[^[\]]*])/.exec(i),s=l?i.slice(0,l.index):i,c=[];if(s){if(!r.plainObjects&&o.call(Object.prototype,s)&&!r.allowPrototypes)return;c.push(s)}for(var d=0;r.depth>0&&null!==(l=a.exec(i))&&d<r.depth;){if(d+=1,!r.plainObjects&&o.call(Object.prototype,l[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(l[1])}if(l){if(!0===r.strictDepth)throw RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");c.push("["+i.slice(l.index)+"]")}return u(c,t,r,n)}},d=function(e){if(!e)return a;
1if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?a.charset:e.charset,r=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}};e.exports=function(e,t){var r=d(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var o="string"==typeof e?s(e,r):e,i=r.plainObjects?{__proto__:null}:{},a=Object.keys(o),l=0;l<a.length;++l){var u=a[l],p=c(u,o[u],r,"string"==typeof e);i=n.merge(i,p,r)}return!0===r.allowSparse?i:n.compact(i)}},6654:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(2115);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=i(e,n)),t&&(o.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6752:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=r(8229)._(r(2115)),o=r(5840),i=n.default.createContext(o.imageConfigDefault)},6766:(e,t,r)=>{"use strict";r.d(t,{default:()=>o.a});var n=r(1469),o=r.n(n)},7328:(e,t,r)=>{"use strict";function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function o(e,t){var r=n(e,t,"get");return r.get?r.get.call(e):r.value}function i(e,t,r){var o=n(e,t,"set");if(o.set)o.set.call(e,r);else{if(!o.writable)throw TypeError("attempted to set read only private field");o.value=r}return r}r.d(t,{N:()=>p});
1var a,l=r(2115),s=r(6081),u=r(6101),c=r(9708),d=r(5155);function p(e){let t=e+"CollectionProvider",[r,n]=(0,s.A)(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:r}=e,n=l.useRef(null),i=l.useRef(new Map).current;return(0,d.jsx)(o,{scope:t,itemMap:i,collectionRef:n,children:r})};a.displayName=t;let p=e+"CollectionSlot",f=(0,c.TL)(p),h=l.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=i(p,r),a=(0,u.s)(t,o.collectionRef);return(0,d.jsx)(f,{ref:a,children:n})});h.displayName=p;let m=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,c.TL)(m),g=l.forwardRef((e,t)=>{let{scope:r,children:n,...o}=e,a=l.useRef(null),s=(0,u.s)(t,a),c=i(m,r);return l.useEffect(()=>(c.itemMap.set(a,{ref:a,...o}),()=>void c.itemMap.delete(a))),(0,d.jsx)(y,{...{[v]:""},ref:s,children:n})});return g.displayName=m,[{Provider:a,Slot:h,ItemSlot:g},function(t){let r=i(e+"CollectionConsumer",t);return l.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}var f=new WeakMap;function h(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=m(t),o=n>=0?n:r+n;return o<0||o>=r?-1:o}(e,t);return -1===r?void 0:e[r]}function m(e){return e!=e||0===e?0:Math.trunc(e)}a=new WeakMap},7544:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},7700:(e,t,r)=>{"use strict";var n=r(2066);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},7900:(e,t,r)=>{"use strict";r.d(t,{n:()=>d});var n=r(2115),o=r(6101),i=r(3655),a=r(9033),l=r(5155),s="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=n.forwardRef((e,t)=>{let{loop:r=!1,trapped:d=!1,onMountAutoFocus:v,onUnmountAutoFocus:y,...g}=e,[b,P]=n.useState(null),w=(0,a.c)(v),x=(0,a.c)(y),T=n.useRef(null),_=(0,o.s)(t,e=>P(e)),E=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(d){let e=function(e){if(E.paused||!b)return;let t=e.target;b.contains(t)?T.current=t:h(T.current,{select:!0})},t=function(e){if(E.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||h(T.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&h(b)});return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[d,b,E.paused]),n.useEffect(()=>{if(b){m.add(E);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(s,c);b.addEventListener(s,w),b.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.activeElement;for(let n of e)if(h(n,{select:t}),document.activeElement!==r)return}(p(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&h(b))}return()=>{b.removeEventListener(s,w),setTimeout(()=>{let t=new CustomEvent(u,c);b.addEventListener(u,x),b.dispatchEvent(t),t.defaultPrevented||h(null!=e?e:document.body,{select:!0}),b.removeEventListener(u,x),m.remove(E)},0)}}},[b,w,x,E]);let S=n.useCallback(e=>{if(!r&&!d||E.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[o,i]=function(e){let t=p(e);return[f(t,e),f(t.reverse(),e)]}(t);o&&i?e.shiftKey||n!==i?e.shiftKey&&n===o&&(e.preventDefault(),r&&h(i,{select:!0})):(e.preventDefault(),r&&h(o,{select:!0})):n===t&&e.preventDefault()}},[r,d,E.paused]);return(0,l.jsx)(i.sG.div,{tabIndex:-1,...g,ref:_,onKeyDown:S})});function p(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function f(e,t){for(let r of e)if(!function(e,t){let{upTo:r}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function h(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}d.displayName="FocusScope";var m=function(){let e=[];return{add(t){let r=e[0];t!==r&&(null==r||r.pause()),(e=v(e,t)).unshift(t)},remove(t){var r;null==(r=(e=v(e,t))[0])||r.resume()}}}();function v(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}},7962:(e,t,r)=>{"use strict";var n=r(508),o=r(1453),i=r(3946),a=r(3674),l=n("%Map%",!0),s=o("Map.prototype.get",!0),u=o("Map.prototype.set",!0),c=o("Map.prototype.has",!0),d=o("Map.prototype.delete",!0),p=o("Map.prototype.size",!0);e.exports=!!l&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){if(e){var r=d(e,t);return 0===p(e)&&(e=void 0),r}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,r){e||(e=new l),u(e,t,r)}};return t}},7968:e=>{"use strict";e.exports=URIError},8168:(e,t,r)=>{"use strict";r.d(t,{Eq:()=>c});var n=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,i=new WeakMap,a={},l=0,s=function(e){return e&&(e.host||s(e.parentNode))},u=function(e,t,r,n){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=s(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});a[r]||(a[r]=new WeakMap);var c=a[r],d=[],p=new Set,f=new Set(u),h=function(e){!e||p.has(e)||(p.add(e),h(e.parentNode))};u.forEach(h);var m=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(p.has(e))m(e);else try{var t=e.getAttribute(n),a=null!==t&&"false"!==t,l=(o.get(e)||0)+1,s=(c.get(e)||0)+1;o.set(e,l),c.set(e,s),d.push(e),1===l&&a&&i.set(e,!0),1===s&&e.setAttribute(r,"true"),a||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),p.clear(),l++,function(){d.forEach(function(e){var t=o.get(e)-1,a=c.get(e)-1;o.set(e,t),c.set(e,a),t||(i.has(e)||e.removeAttribute(n),i.delete(e)),a||e.removeAttribute(r)}),--l||(o=new WeakMap,o=new WeakMap,i=new WeakMap,a={})}},c=function(e,t,r){void 0===r&&(r="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=t||n(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live], script"))),u(o,i,r,"aria-hidden")):function(){return null}}},8698:(e,t,r)=>{"use strict";r.d(t,{UC:()=>eV,q7:()=>eJ,JU:()=>eX,ZL:()=>e$,bL:()=>eB,wv:()=>eY,l9:()=>eW});var n=r(2115),o=r(5185),i=r(6101),a=r(6081),l=r(5845),s=r(3655),u=r(7328),c=r(4315),d=r(9178),p=r(2293),f=r(7900),h=r(1285),m=r(8795),v=r(4378),y=r(8905),g=r(9196),b=r(9708),P=r(9033),w=r(8168),x=r(1114),T=r(5155),_=["Enter"," "],E=["ArrowUp","PageDown","End"],S=["ArrowDown","PageUp","Home",...E],O={ltr:[..._,"ArrowRight"],rtl:[..._,"ArrowLeft"]},A={ltr:["ArrowLeft"],rtl:["ArrowRight"]},k="Menu",[C,R,j]=(0,u.N)(k),[M,I]=(0,a.A)(k,[j,m.Bk,g.RG]),D=(0,m.Bk)(),N=(0,g.RG)(),[G,L]=M(k),[F,z]=M(k),U=e=>{let{__scopeMenu:t,open:r=!1,children:o,dir:i,onOpenChange:a,modal:l=!0}=e,s=D(t),[u,d]=n.useState(null),p=n.useRef(!1),f=(0,P.c)(a),h=(0,c.jH)(i);return n.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,T.jsx)(m.bL,{...s,children:(0,T.jsx)(G,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:d,children:(0,T.jsx)(F,{scope:t,onClose:n.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:p,dir:h,modal:l,children:o})})})};U.displayName=k;var q=n.forwardRef((e,t)=>
1{let{__scopeMenu:r,...n}=e,o=D(r);return(0,T.jsx)(m.Mz,{...o,...n,ref:t})});q.displayName="MenuAnchor";var H="MenuPortal",[K,B]=M(H,{forceMount:void 0}),W=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,i=L(H,t);return(0,T.jsx)(K,{scope:t,forceMount:r,children:(0,T.jsx)(y.C,{present:r||i.open,children:(0,T.jsx)(v.Z,{asChild:!0,container:o,children:n})})})};W.displayName=H;var $="MenuContent",[V,X]=M($),J=n.forwardRef((e,t)=>{let r=B($,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,i=L($,e.__scopeMenu),a=z($,e.__scopeMenu);return(0,T.jsx)(C.Provider,{scope:e.__scopeMenu,children:(0,T.jsx)(y.C,{present:n||i.open,children:(0,T.jsx)(C.Slot,{scope:e.__scopeMenu,children:a.modal?(0,T.jsx)(Y,{...o,ref:t}):(0,T.jsx)(Q,{...o,ref:t})})})})}),Y=n.forwardRef((e,t)=>{let r=L($,e.__scopeMenu),a=n.useRef(null),l=(0,i.s)(t,a);return n.useEffect(()=>{let e=a.current;if(e)return(0,w.Eq)(e)},[]),(0,T.jsx)(ee,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),Q=n.forwardRef((e,t)=>{let r=L($,e.__scopeMenu);return(0,T.jsx)(ee,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),Z=(0,b.TL)("MenuContent.ScrollLock"),ee=n.forwardRef((e,t)=>{let{__scopeMenu:r,loop:a=!1,trapFocus:l,onOpenAutoFocus:s,onCloseAutoFocus:u,disableOutsidePointerEvents:c,onEntryFocus:h,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:b,onInteractOutside:P,onDismiss:w,disableOutsideScroll:_,...O}=e,A=L($,r),k=z($,r),C=D(r),j=N(r),M=R(r),[I,G]=n.useState(null),F=n.useRef(null),U=(0,i.s)(t,F,A.onContentChange),q=n.useRef(0),H=n.useRef(""),K=n.useRef(0),B=n.useRef(null),W=n.useRef("right"),X=n.useRef(0),J=_?x.A:n.Fragment,Y=e=>{var t,r;let n=H.current+e,o=M().filter(e=>!e.disabled),i=document.activeElement,a=null==(t=o.find(e=>e.ref.current===i))?void 0:t.textValue,l=function(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=r?e.indexOf(r):-1,a=(n=Math.max(i,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(a=a.filter(e=>e!==r));let l=a.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}(o.map(e=>e.textValue),n,a),s=null==(r=o.find(e=>e.textValue===l))?void 0:r.ref.current;!function e(t){H.current=t,window.clearTimeout(q.current),""!==t&&(q.current=window.setTimeout(()=>e(""),1e3))}(n),s&&setTimeout(()=>s.focus())};n.useEffect(()=>()=>window.clearTimeout(q.current),[]),(0,p.Oh)();let Q=n.useCallback(e=>{var t,r;return W.current===(null==(t=B.current)?void 0:t.side)&&function(e,t){return!!t&&function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e],l=t[i],s=a.x,u=a.y,c=l.x,d=l.y;u>n!=d>n&&r<(c-s)*(n-u)/(d-u)+s&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null==(r=B.current)?void 0:r.area)},[]);return(0,T.jsx)(V,{scope:r,searchRef:H,onItemEnter:n.useCallback(e=>{Q(e)&&e.preventDefault()},[Q]),onItemLeave:n.useCallback(e=>{var t;Q(e)||(null==(t=F.current)||t.focus(),G(null))},[Q]),onTriggerLeave:n.useCallback(e=>{Q(e)&&e.preventDefault()},[Q]),pointerGraceTimerRef:K,onPointerGraceIntentChange:n.useCallback(e=>{B.current=e},[]),children:(0,T.jsx)(J,{..._?{as:Z,allowPinchZoom:!0}:void 0,children:(0,T.jsx)(f.n,{asChild:!0,trapped:l,onMountAutoFocus:(0,o.mK)(s,e=>{var t;e.preventDefault(),null==(t=F.current)||t.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:(0,T.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:b,onInteractOutside:P,onDismiss:w,children:(0,T.jsx)(g.bL,{asChild:!0,...j,dir:k.dir,orientation:"vertical",loop:a,currentTabStopId:I,onCurrentTabStopIdChange:G,onEntryFocus:(0,o.mK)(h,e=>{k.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,T.jsx)(m.UC,{role:"menu","aria-orientation":"vertical","data-state":eS(A.open),"data-radix-menu-content":"",dir:k.dir,...C,...O,ref:U,style:{outline:"none",...O.style},onKeyDown:(0,o.mK)(O.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.ke
1y.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&n&&Y(e.key));let o=F.current;if(e.target!==o||!S.includes(e.key))return;e.preventDefault();let i=M().filter(e=>!e.disabled).map(e=>e.ref.current);E.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(i)}),onBlur:(0,o.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(q.current),H.current="")}),onPointerMove:(0,o.mK)(e.onPointerMove,ek(e=>{let t=e.target,r=X.current!==e.clientX;e.currentTarget.contains(t)&&r&&(W.current=e.clientX>X.current?"right":"left",X.current=e.clientX)}))})})})})})})});J.displayName=$;var et=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,T.jsx)(s.sG.div,{role:"group",...n,ref:t})});et.displayName="MenuGroup";var er=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,T.jsx)(s.sG.div,{...n,ref:t})});er.displayName="MenuLabel";var en="MenuItem",eo="menu.itemSelect",ei=n.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:a,...l}=e,u=n.useRef(null),c=z(en,e.__scopeMenu),d=X(en,e.__scopeMenu),p=(0,i.s)(t,u),f=n.useRef(!1);return(0,T.jsx)(ea,{...l,ref:p,disabled:r,onClick:(0,o.mK)(e.onClick,()=>{let e=u.current;if(!r&&e){let t=new CustomEvent(eo,{bubbles:!0,cancelable:!0});e.addEventListener(eo,e=>null==a?void 0:a(e),{once:!0}),(0,s.hO)(e,t),t.defaultPrevented?f.current=!1:c.onClose()}}),onPointerDown:t=>{var r;null==(r=e.onPointerDown)||r.call(e,t),f.current=!0},onPointerUp:(0,o.mK)(e.onPointerUp,e=>{var t;f.current||null==(t=e.currentTarget)||t.click()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;r||t&&" "===e.key||_.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ei.displayName=en;var ea=n.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:a=!1,textValue:l,...u}=e,c=X(en,r),d=N(r),p=n.useRef(null),f=(0,i.s)(t,p),[h,m]=n.useState(!1),[v,y]=n.useState("");return n.useEffect(()=>{let e=p.current;if(e){var t;y((null!=(t=e.textContent)?t:"").trim())}},[u.children]),(0,T.jsx)(C.ItemSlot,{scope:r,disabled:a,textValue:null!=l?l:v,children:(0,T.jsx)(g.q7,{asChild:!0,...d,focusable:!a,children:(0,T.jsx)(s.sG.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...u,ref:f,onPointerMove:(0,o.mK)(e.onPointerMove,ek(e=>{a?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,ek(e=>c.onItemLeave(e))),onFocus:(0,o.mK)(e.onFocus,()=>m(!0)),onBlur:(0,o.mK)(e.onBlur,()=>m(!1))})})})}),el=n.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...i}=e;return(0,T.jsx)(em,{scope:e.__scopeMenu,checked:r,children:(0,T.jsx)(ei,{role:"menuitemcheckbox","aria-checked":eO(r)?"mixed":r,...i,ref:t,"data-state":eA(r),onSelect:(0,o.mK)(i.onSelect,()=>null==n?void 0:n(!!eO(r)||!r),{checkForDefaultPrevented:!1})})})});el.displayName="MenuCheckboxItem";var es="MenuRadioGroup",[eu,ec]=M(es,{value:void 0,onValueChange:()=>{}}),ed=n.forwardRef((e,t)=>{let{value:r,onValueChange:n,...o}=e,i=(0,P.c)(n);return(0,T.jsx)(eu,{scope:e.__scopeMenu,value:r,onValueChange:i,children:(0,T.jsx)(et,{...o,ref:t})})});ed.displayName=es;var ep="MenuRadioItem",ef=n.forwardRef((e,t)=>{let{value:r,...n}=e,i=ec(ep,e.__scopeMenu),a=r===i.value;return(0,T.jsx)(em,{scope:e.__scopeMenu,checked:a,children:(0,T.jsx)(ei,{role:"menuitemradio","aria-checked":a,...n,ref:t,"data-state":eA(a),onSelect:(0,o.mK)(n.onSelect,()=>{var e;return null==(e=i.onValueChange)?void 0:e.call(i,r)},{checkForDefaultPrevented:!1})})})});ef.displayName=ep;var eh="MenuItemIndicator",[em,ev]=M(eh,{checked:!1}),ey=n.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,i=ev(eh,r);return(0,T.jsx)(y.C,{present:n||eO(i.checked)||!0===i.checked,children:(0,T.jsx)(s.sG.span,{...o,ref:t,"data-state":eA(i.checked)})})});ey.displayName=eh;var eg=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,T.jsx)(s.sG.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});eg.displayName="MenuSeparator";var eb=n.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=D(r);return(0,T.jsx)(m.i3,{...o,...n,ref:t})});
1eb.displayName="MenuArrow";var[eP,ew]=M("MenuSub"),ex="MenuSubTrigger",eT=n.forwardRef((e,t)=>{let r=L(ex,e.__scopeMenu),a=z(ex,e.__scopeMenu),l=ew(ex,e.__scopeMenu),s=X(ex,e.__scopeMenu),u=n.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=s,p={__scopeMenu:e.__scopeMenu},f=n.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return n.useEffect(()=>f,[f]),n.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),d(null)}},[c,d]),(0,T.jsx)(q,{asChild:!0,...p,children:(0,T.jsx)(ea,{id:l.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":l.contentId,"data-state":eS(r.open),...e,ref:(0,i.t)(t,l.onTriggerChange),onClick:t=>{var n;null==(n=e.onClick)||n.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,o.mK)(e.onPointerMove,ek(t=>{s.onItemEnter(t),!t.defaultPrevented&&(e.disabled||r.open||u.current||(s.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{r.onOpenChange(!0),f()},100)))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,ek(e=>{var t,n;f();let o=null==(t=r.content)?void 0:t.getBoundingClientRect();if(o){let t=null==(n=r.content)?void 0:n.dataset.side,i="right"===t,a=o[i?"left":"right"],l=o[i?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:a,y:o.top},{x:l,y:o.top},{x:l,y:o.bottom},{x:a,y:o.bottom}],side:t}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.mK)(e.onKeyDown,t=>{let n=""!==s.searchRef.current;if(!e.disabled&&(!n||" "!==t.key)&&O[a.dir].includes(t.key)){var o;r.onOpenChange(!0),null==(o=r.content)||o.focus(),t.preventDefault()}})})})});eT.displayName=ex;var e_="MenuSubContent",eE=n.forwardRef((e,t)=>{let r=B($,e.__scopeMenu),{forceMount:a=r.forceMount,...l}=e,s=L($,e.__scopeMenu),u=z($,e.__scopeMenu),c=ew(e_,e.__scopeMenu),d=n.useRef(null),p=(0,i.s)(t,d);return(0,T.jsx)(C.Provider,{scope:e.__scopeMenu,children:(0,T.jsx)(y.C,{present:a||s.open,children:(0,T.jsx)(C.Slot,{scope:e.__scopeMenu,children:(0,T.jsx)(ee,{id:c.contentId,"aria-labelledby":c.triggerId,...l,ref:p,align:"start",side:"rtl"===u.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;u.isUsingKeyboardRef.current&&(null==(t=d.current)||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>{e.target!==c.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,o.mK)(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=A[u.dir].includes(e.key);if(t&&r){var n;s.onOpenChange(!1),null==(n=c.trigger)||n.focus(),e.preventDefault()}})})})})})});function eS(e){return e?"open":"closed"}function eO(e){return"indeterminate"===e}function eA(e){return eO(e)?"indeterminate":e?"checked":"unchecked"}function ek(e){return t=>"mouse"===t.pointerType?e(t):void 0}eE.displayName=e_;var eC="DropdownMenu",[eR,ej]=(0,a.A)(eC,[I]),eM=I(),[eI,eD]=eR(eC),eN=e=>{let{__scopeDropdownMenu:t,children:r,dir:o,open:i,defaultOpen:a,onOpenChange:s,modal:u=!0}=e,c=eM(t),d=n.useRef(null),[p,f]=(0,l.i)({prop:i,defaultProp:null!=a&&a,onChange:s,caller:eC});return(0,T.jsx)(eI,{scope:t,triggerId:(0,h.B)(),triggerRef:d,contentId:(0,h.B)(),open:p,onOpenChange:f,onOpenToggle:n.useCallback(()=>f(e=>!e),[f]),modal:u,children:(0,T.jsx)(U,{...c,open:p,onOpenChange:f,dir:o,modal:u,children:r})})};eN.displayName=eC;var eG="DropdownMenuTrigger",eL=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...a}=e,l=eD(eG,r),u=eM(r);return(0,T.jsx)(q,{asChild:!0,...u,children:(0,T.jsx)(s.sG.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...a,ref:(0,i.t)(t,l.triggerRef),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>
1{!n&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eL.displayName=eG;var eF=e=>{let{__scopeDropdownMenu:t,...r}=e,n=eM(t);return(0,T.jsx)(W,{...n,...r})};eF.displayName="DropdownMenuPortal";var ez="DropdownMenuContent",eU=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...i}=e,a=eD(ez,r),l=eM(r),s=n.useRef(!1);return(0,T.jsx)(J,{id:a.contentId,"aria-labelledby":a.triggerId,...l,...i,ref:t,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;s.current||null==(t=a.triggerRef.current)||t.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:(0,o.mK)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!a.modal||n)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eU.displayName=ez,n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(et,{...o,...n,ref:t})}).displayName="DropdownMenuGroup";var eq=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(er,{...o,...n,ref:t})});eq.displayName="DropdownMenuLabel";var eH=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(ei,{...o,...n,ref:t})});eH.displayName="DropdownMenuItem",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(el,{...o,...n,ref:t})}).displayName="DropdownMenuCheckboxItem",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(ed,{...o,...n,ref:t})}).displayName="DropdownMenuRadioGroup",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(ef,{...o,...n,ref:t})}).displayName="DropdownMenuRadioItem",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(ey,{...o,...n,ref:t})}).displayName="DropdownMenuItemIndicator";var eK=n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(eg,{...o,...n,ref:t})});eK.displayName="DropdownMenuSeparator",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(eb,{...o,...n,ref:t})}).displayName="DropdownMenuArrow",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(eT,{...o,...n,ref:t})}).displayName="DropdownMenuSubTrigger",n.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=eM(r);return(0,T.jsx)(eE,{...o,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";var eB=eN,eW=eL,e$=eF,eV=eU,eX=eq,eJ=eH,eY=eK},8795:(e,t,r)=>{"use strict";r.d(t,{Mz:()=>e7,i3:()=>tt,UC:()=>te,bL:()=>e9,Bk:()=>eW});var n=r(2115);let o=["top","right","bottom","left"],i=Math.min,a=Math.max,l=Math.round,s=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function p(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}let y=new Set(["top","bottom"]);function g(e){return y.has(f(e))?"y":"x"}function b(e){return e.replace(/start|end/g,e=>d[e])}let P=["left","right"],w=["right","left"],x=["top","bottom"],T=["bottom","top"];function _(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function S(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function O(e,t,r){let n,{reference:o,floating:i}=e,a=g(t),l=m(g(t)),s=v(l),u=f(t),c="y"===a,d=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,y=o[s]/2-i[s]/2;switch(u){case"top":n={x:d,y:o.y-i.height};break;case"bottom":n={x:d,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:p};break;case"left":n={x:o.x-i.width,y:p};break;default:n={x:o.x,y:o.y}}switch(h(t)){case"start":n[l]-=y*(r&&c?-1:1);break;case"end":n[l]+=y*(r&&c?-1:1)}return n}let A=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}
1=r,l=i.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=O(u,n,s),p=n,f={},h=0;for(let r=0;r<l.length;r++){let{name:i,fn:m}=l[r],{x:v,y:y,data:g,reset:b}=await m({x:c,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=y?y:d,f={...f,[i]:{...f[i],...g}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:c,y:d}=O(u,p,s)),r=-1)}return{x:c,y:d,placement:p,strategy:o,middlewareData:f}};async function k(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=p(t,e),m=E(h),v=l[f?"floating"===d?"reference":"floating":d],y=S(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(v)))||r?v:v.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),g="floating"===d?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),P=await (null==i.isElement?void 0:i.isElement(b))&&await (null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},w=S(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:b,strategy:s}):g);return{top:(y.top-w.top+m.top)/P.y,bottom:(w.bottom-y.bottom+m.bottom)/P.y,left:(y.left-w.left+m.left)/P.x,r
1ight:(w.right-y.right+m.right)/P.x}}function C(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function R(e){return o.some(t=>e[t]>=0)}let j=new Set(["left","top"]);async function M(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=f(r),l=h(r),s="y"===g(r),u=j.has(a)?-1:1,c=i&&s?-1:1,d=p(t,e),{mainAxis:m,crossAxis:v,alignmentAxis:y}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof y&&(v="end"===l?-1*y:y),s?{x:v*c,y:m*u}:{x:m*u,y:v*c}}function I(){return"undefined"!=typeof window}function D(e){return L(e)?(e.nodeName||"").toLowerCase():"#document"}function N(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function G(e){var t;return null==(t=(L(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function L(e){return!!I()&&(e instanceof Node||e instanceof N(e).Node)}function F(e){return!!I()&&(e instanceof Element||e instanceof N(e).Element)}function z(e){return!!I()&&(e instanceof HTMLElement||e instanceof N(e).HTMLElement)}function U(e){return!!I()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof N(e).ShadowRoot)}let q=new Set(["inline","contents"]);function H(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!q.has(o)}let K=new Set(["table","td","th"]),B=[":popover-open",":modal"];function W(e){return B.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let $=["transform","translate","scale","rotate","perspective"],V=["transform","translate","scale","rotate","perspective","filter"],X=["paint","layout","strict","content"];function J(e){let t=Y(),r=F(e)?ee(e):e;return $.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||V.some(e=>(r.willChange||"").includes(e))||X.some(e=>(r.contain||"").includes(e))}function Y(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Q=new Set(["html","body","#document"]);function Z(e){return Q.has(D(e))}function ee(e){return N(e).getComputedStyle(e)}function et(e){return F(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function er(e){if("html"===D(e))return e;let t=e.assignedSlot||e.parentNode||U(e)&&e.host||G(e);return U(t)?t.host:t}function en(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=er(t);return Z(r)?t.ownerDocument?t.ownerDocument.body:t.body:z(r)&&H(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=N(o);if(i){let e=eo(a);return t.concat(a,a.visualViewport||[],H(o)?o:[],e&&r?en(e):[])}return t.concat(o,en(o,[],r))}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){let t=ee(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=z(e),i=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=l(r)!==i||l(n)!==a;return s&&(r=i,n=a),{width:r,height:n,$:s}}function ea(e){return F(e)?e:e.contextElement}function el(e){let t=ea(e);if(!z(t))return u(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:i}=ei(t),a=(i?l(r.width):r.width)/n,s=(i?l(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let es=u(0);function eu(e){let t=N(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:es}function ec(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=ea(e),l=u(1);t&&(n?F(n)&&(l=el(n)):l=el(e));let s=(void 0===(o=r)&&(o=!1),n&&(!o||n===N(a))&&o)?eu(a):u(0),c=(i.left+s.x)/l.x,d=(i.top+s.y)/l.y,p=i.width/l.x,f=i.height/l.y;if(a){let e=N(a),t=n&&F(n)?N(n):n,r=e,o=eo(r);for(;o&&n&&t!==r;){let e=el(o),t=o.getBoundingClientRect(),n=ee(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;c*=e.x,d*=e.y,p*=e.x,f*=e.y,c+=i,d+=a,o=eo(r=N(o))}}return S({width:p,height:f,x:c,y:d})}function ed(e,t){let r=et(e).scrollLeft;return t?t.left+r:ec(G(e)).left+r}function ep(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ed(e,r),y:r.top+t.scrollTop}}let ef=new Set(["absolute","fixed"]);function eh(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=N(e),n=G(e),o=r.visualVie
1wport,i=n.clientWidth,a=n.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=Y();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}let u=ed(n);if(u<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else u<=25&&(i+=u);return{width:i,height:a,x:l,y:s}}(e,r);else if("document"===t)n=function(e){let t=G(e),r=et(e),n=e.ownerDocument.body,o=a(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=a(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+ed(e),s=-r.scrollTop;return"rtl"===ee(n).direction&&(l+=a(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:l,y:s}}(G(e));else if(F(t))n=function(e,t){let r=ec(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=z(e)?el(e):u(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y;return{width:a,height:l,x:o*i.x,y:n*i.y}}(t,r);else{let r=eu(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return S(n)}function em(e){return"static"===ee(e).position}function ev(e,t){if(!z(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let r=e.offsetParent;return G(e)===r&&(r=r.ownerDocument.body),r}function ey(e,t){var r;let n=N(e);if(W(e))return n;if(!z(e)){let t=er(e);for(;t&&!Z(t);){if(F(t)&&!em(t))return t;t=er(t)}return n}let o=ev(e,t);for(;o&&(r=o,K.has(D(r)))&&em(o);)o=ev(o,t);return o&&Z(o)&&em(o)&&!J(o)?n:o||function(e){let t=er(e);for(;z(t)&&!Z(t);){if(J(t))return t;if(W(t))break;t=er(t)}return null}(e)||n}let eg=async function(e){let t=this.getOffsetParent||ey,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=z(t),o=G(t),i="fixed"===r,a=ec(e,!0,i,t),l={scrollLeft:0,scrollTop:0},s=u(0);if(n||!n&&!i)if(("body"!==D(t)||H(o))&&(l=et(t)),n){let e=ec(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=ed(o));i&&!n&&o&&(s.x=ed(o));let c=!o||n||i?u(0):ep(o,l);return{x:a.left+l.scrollLeft-s.x-c.x,y:a.top+l.scrollTop-s.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eb={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,a=G(n),l=!!t&&W(t.floating);if(n===a||l&&i)return r;let s={scrollLeft:0,scrollTop:0},c=u(1),d=u(0),p=z(n);if((p||!p&&!i)&&(("body"!==D(n)||H(a))&&(s=et(n)),z(n))){let e=ec(n);c=el(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}let f=!a||p||i?u(0):ep(a,s);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+d.x+f.x,y:r.y*c.y-s.scrollTop*c.y+d.y+f.y}},getDocumentElement:G,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e,l=[..."clippingAncestors"===r?W(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=en(e,[],!1).filter(e=>F(e)&&"body"!==D(e)),o=null,i="fixed"===ee(e).position,a=i?er(e):e;for(;F(a)&&!Z(a);){let t=ee(a),r=J(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&!!o&&ef.has(o.position)||H(a)&&!r&&function e(t,r){let n=er(t);return!(n===r||!F(n)||Z(n))&&("fixed"===ee(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):o=t,a=er(a)}return t.set(e,n),n}(t,this._c):[].concat(r),n],s=l[0],u=l.reduce((e,r)=>{let n=eh(t,r,o);return e.top=a(n.top,e.top),e.right=i(n.right,e.right),e.bottom=i(n.bottom,e.bottom),e.left=a(n.left,e.left),e},eh(t,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ey,getElementRects:eg,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ei(e);return{width:t,height:r}},getScale:el,isElement:F,isRTL:function(e){return"rtl"===ee(e).direction}};function eP(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ew=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:o,rects:l,platform:s,elements:u,middlewareData:c}=t,{element:d,padding:f=0}=p(e,t)||{};if(null==d)return{};let y=E(f),b={x:r,y:n},P=m(g(o)),w=v(P),x=await s.getDimensions(d),T="y"===P,_=T?"clientHeight":"clientWidth",S=l.reference[w]+l.reference[P]-b[P]-l.floating[w],O=b[P]-l.reference[P],A=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),k=A?A[_]:0;k&&await (null==s.isElement?void 0:s.isElement(A))||(k=u.floating[_]||l.floating[w]);let C=k/2-x[w]/2-1,R=i(y[T?"top":"left"],C),j=i(y[T?"bottom":"right"],C),M=k-x[w]-j,I=k/2-x[w]/2+(S/2-O/2),D=a(R,i(I,M)),N=!c.arrow&&null!=h(o)&&I!==D&&l.reference[w]/2-(I<R?R:j)-x[w]/2<0,G=N?I<R?I-R:I-M:0;return{[P]:b[P]+G,data:{[P]:D,centerOffset:I-D-G,...N&&{alignmentOffset:G}},reset:N}}}),ex=(e,t,r)=>{let n=new Map,o={platform:eb,...r},i={...o.platform,_c:n};return A(e,t,{...o,platform:i})};var eT=r(7650),e_="undefined"!=typeof document?n.useLayoutEffect:function(){};function eE(e,t){let r,n,o;if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!eE(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!eE(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eS(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eO(e,t){let r=eS(e);return Math.round(t*r)/r}function eA(e){let t=n.useRef(e);return e_(()=>{t.current=e}),t}let ek=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?ew({element:r.current,padding:n}).fn(t):{}:r?ew({element:r,padding:n}).fn(t):{}}}),eC=(e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:i,placement:a,middlewareData:l}=t,s=await M(t,e);return a===(null==(r=l.offset)?void 0:r.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}}(e),options:[e,t]}),eR=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o}=t,{mainAxis:l=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=p(e,t),d={x:r,y:n},h=await k(t,c),v=g(f(o)),y=m(v),b=d[y],P=d[v];if(l){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",r=b+h[e],n=b-h[t];b=a(r,i(b,n))}if(s){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",r=P+h[e],n=P-h[t];P=a(r,i(P,n))}let w=u.fn({...t,[y]:b,[v]:P});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[y]:l,[v]:s}}}}}}(e),options:[e,t]}),ej=(e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=p(e,t),c={x:r,y:n},d=g(o),h=m(d),v=c[h],y=c[d],b=p(l,t),P="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(s){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+P.mainAxis,r=i.reference[h]+i.reference[e]-P.mainAxis;v<t?v=t:v>r&&(v=r)}if(u){var w,x;let e="y"===h?"width":"height",t=j.has(f(o)),r=i.reference[d]-i.floating[e]+(t&&(null==(w=a.offset)?void 0:w[d])||0)+(t?0:P.crossAxis),n=i.reference[d]+i.reference[e]+(t?0:(null==(x=a.offset)?void 0:x[d])||0)-(t?P.crossAxis:0);y<r?y=r:y>n&&(y=n)}return{[h]:v,[d]:y}}}}(e),options:[e,t]}),eM=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,o,i,a;let{placement:l,middlewareData:s,rects:u,initialPlacement:c,platform:d,elements:y}=t,{mainAxis:E=!0,crossAxis:S=!0,fallbackPlacements:O,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:R=!0,...j}=p(e,t);if(null!=(r=s.arrow)&&r.alignmentOffset)return{};let M=f(l),I=g(c),D=f(c)===c,N=await (null==d.isRTL?void 0:d.isRTL(y.floating)),G=O||(D||!R?[_(c)]:function(e){let t=_(e);return[b(e),t,b(t)]}(c)),L="none"!==C;!O&&L&&G.push(...function(e,t,r,n){let o=h(e),i=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?w:P;return t?P:w;case"left":case"right":return t?x:T;default:return[]}}(f(e),"start"===r,n);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(b)))),i}(c,R,C,N));let F=[c,...G],z=await k(t,j),U=[],q=(null==(n=s.flip)?void 0:n.overflows)||[];if(E&&U.push(z[M]),S){let e=function(e,t,r){void 0===r&&(r=!1);let n=h(e),o=m(g(e)),i=v(o),a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=_(a)),[a,_(a)]}(l,u,N);U.push(z[e[0]],z[e[1]])}if(q=[...q,{placement:l,overflows:U}],!U.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=F[e];if(t&&("alignment"!==S||I===g(t)||q.every(e=>g(e.placement)!==I||e.overflows[0]>0)))return{data:{index:e,overflows:q},reset:{placement:t}};let r=null==(i=q.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(A){case"bestFit":{let e=null==(a=q.filter(e=>{if(L){let t=g(e.placement);return t===I||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>
1e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=c}if(l!==r)return{reset:{placement:r}}}return{}}}}(e),options:[e,t]}),eI=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;let o,l,{placement:s,rects:u,platform:c,elements:d}=t,{apply:m=()=>{},...v}=p(e,t),y=await k(t,v),b=f(s),P=h(s),w="y"===g(s),{width:x,height:T}=u.floating;"top"===b||"bottom"===b?(o=b,l=P===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(l=b,o="end"===P?"top":"bottom");let _=T-y.top-y.bottom,E=x-y.left-y.right,S=i(T-y[o],_),O=i(x-y[l],E),A=!t.middlewareData.shift,C=S,R=O;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(R=E),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(C=_),A&&!P){let e=a(y.left,0),t=a(y.right,0),r=a(y.top,0),n=a(y.bottom,0);w?R=x-2*(0!==e||0!==t?e+t:a(y.left,y.right)):C=T-2*(0!==r||0!==n?r+n:a(y.top,y.bottom))}await m({...t,availableWidth:R,availableHeight:C});let j=await c.getDimensions(d.floating);return x!==j.width||T!==j.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}),eD=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...o}=p(e,t);switch(n){case"referenceHidden":{let e=C(await k(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:R(e)}}}case"escaped":{let e=C(await k(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:R(e)}}}default:return{}}}}}(e),options:[e,t]}),eN=(e,t)=>({...ek(e),options:[e,t]});var eG=r(3655),eL=r(5155),eF=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...i}=e;return(0,eL.jsx)(eG.sG.svg,{...i,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eL.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eF.displayName="Arrow";var ez=r(6101),eU=r(6081),eq=r(9033),eH=r(2712),eK="Popper",[eB,eW]=(0,eU.A)(eK),[e$,eV]=eB(eK),eX=e=>{let{__scopePopper:t,children:r}=e,[o,i]=n.useState(null);return(0,eL.jsx)(e$,{scope:t,anchor:o,onAnchorChange:i,children:r})};eX.displayName=eK;var eJ="PopperAnchor",eY=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:o,...i}=e,a=eV(eJ,r),l=n.useRef(null),s=(0,ez.s)(t,l),u=n.useRef(null);return n.useEffect(()=>{let e=u.current;u.current=(null==o?void 0:o.current)||l.current,e!==u.current&&a.onAnchorChange(u.current)}),o?null:(0,eL.jsx)(eG.sG.div,{...i,ref:s})});eY.displayName=eJ;var eQ="PopperContent",[eZ,e0]=eB(eQ),e1=n.forwardRef((e,t)=>{var r,o,l,u,c,d,p,f;let{__scopePopper:h,side:m="bottom",sideOffset:v=0,align:y="center",alignOffset:g=0,arrowPadding:b=0,avoidCollisions:P=!0,collisionBoundary:w=[],collisionPadding:x=0,sticky:T="partial",hideWhenDetached:_=!1,updatePositionStrategy:E="optimized",onPlaced:S,...O}=e,A=eV(eQ,h),[k,C]=n.useState(null),R=(0,ez.s)(t,e=>C(e)),[j,M]=n.useState(null),I=function(e){let[t,r]=n.useState(void 0);return(0,eH.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(j),D=null!=(p=null==I?void 0:I.width)?p:0,N=null!=(f=null==I?void 0:I.height)?f:0,L="number"==typeof x?x:{top:0,right:0,bottom:0,left:0,...x},F=Array.isArray(w)?w:[w],z=F.length>0,U={padding:L,boundary:F.filter(e6),altBoundary:z},{refs:q,floatingStyles:H,placement:K,isPositioned:B,middlewareData:W}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:l}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[d,p]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=n.useState(o);eE(f,o)||h(o);let[m,v]=n.useState(null),[y,g]=n.useState(null),b=n.useCallback(e=>{e!==T.current&&(T.current=e,v(e))},[]),P=n.useCallback(e=>{e!==_.current&&(_.current=e,g(e))},[]),w=a||m,x=l||y,T=n.useRef(null),_=n.useRef(null),E=n.useRef(d),S=null!=u,O=eA(u),A=eA(i),k=eA(c),C=n.useCallback(()=>
1{if(!T.current||!_.current)return;let e={placement:t,strategy:r,middleware:f};A.current&&(e.platform=A.current),ex(T.current,_.current,e).then(e=>{let t={...e,isPositioned:!1!==k.current};R.current&&!eE(E.current,t)&&(E.current=t,eT.flushSync(()=>{p(t)}))})},[f,t,r,A,k]);e_(()=>{!1===c&&E.current.isPositioned&&(E.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[c]);let R=n.useRef(!1);e_(()=>(R.current=!0,()=>{R.current=!1}),[]),e_(()=>{if(w&&(T.current=w),x&&(_.current=x),w&&x){if(O.current)return O.current(w,x,C);C()}},[w,x,C,O,S]);let j=n.useMemo(()=>({reference:T,floating:_,setReference:b,setFloating:P}),[b,P]),M=n.useMemo(()=>({reference:w,floating:x}),[w,x]),I=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!M.floating)return e;let t=eO(M.floating,d.x),n=eO(M.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...eS(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,M.floating,d.x,d.y]);return n.useMemo(()=>({...d,update:C,refs:j,elements:M,floatingStyles:I}),[d,C,j,M,I])}({strategy:"fixed",placement:m+("center"!==y?"-"+y:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,t,r,n){let o;void 0===n&&(n={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:p=!1}=n,f=ea(e),h=l||u?[...f?en(f):[],...en(t)]:[];h.forEach(e=>{l&&e.addEventListener("scroll",r,{passive:!0}),u&&e.addEventListener("resize",r)});let m=f&&d?function(e,t){let r,n=null,o=G(e);function l(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),l();let p=e.getBoundingClientRect(),{left:f,top:h,width:m,height:v}=p;if(c||t(),!m||!v)return;let y=s(h),g=s(o.clientWidth-(f+m)),b={rootMargin:-y+"px "+-g+"px "+-s(o.clientHeight-(h+v))+"px "+-s(f)+"px",threshold:a(0,i(1,d))||1},P=!0;function w(t){let n=t[0].intersectionRatio;if(n!==d){if(!P)return u();n?u(!1,n):r=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==n||eP(p,e.getBoundingClientRect())||u(),P=!1}try{n=new IntersectionObserver(w,{...b,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(w,b)}n.observe(e)}(!0),l}(f,r):null,v=-1,y=null;c&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===f&&y&&(y.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),f&&!p&&y.observe(f),y.observe(t));let g=p?ec(e):null;return p&&function t(){let n=ec(e);g&&!eP(g,n)&&r(),g=n,o=requestAnimationFrame(t)}(),r(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",r),u&&e.removeEventListener("resize",r)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,p&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===E})},elements:{reference:A.anchor},middleware:[eC({mainAxis:v+N,alignmentAxis:g}),P&&eR({mainAxis:!0,crossAxis:!1,limiter:"partial"===T?ej():void 0,...U}),P&&eM({...U}),eI({...U,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:i,height:a}=r.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(n,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(i,"px")),l.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),j&&eN({element:j,padding:b}),e3({arrowWidth:D,arrowHeight:N}),_&&eD({strategy:"referenceHidden",...U})]}),[$,V]=e4(K),X=(0,eq.c)(S);(0,eH.N)(()=>{B&&(null==X||X())},[B,X]);let J=null==(r=W.arrow)?void 0:r.x,Y=null==(o=W.arrow)?void 0:o.y,Q=(null==(l=W.arrow)?void 0:l.centerOffset)!==0,[Z,ee]=n.useState();return(0,eH.N)(()=>{k&&ee(window.getComputedStyle(k).zIndex)},[k]),(0,eL.jsx)("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:B?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Z,"--radix-popper-transform-origin":[null==(u=W.transformOrigin)?void 0:u.x,null==(c=W.transformOrigin)?void 0:c.y].join(" "),...(null==(d=W.hide)?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eL.jsx)(eZ,{scope:h,placedSide:$,onArrowChange:M,arrowX:J,arrowY:Y,shouldHideArrow:Q,children:(0,eL.jsx)(eG.sG.div,{"data-side":$,"data-align":V,...O,ref:R,style:{...O.style,animation:B?void 0:"none"}})})})});e1.displayName=eQ;var e2="PopperArrow",e5={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e8=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=e0(e2,r),i=e5[o.placedSide];return(0,eL.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,eL.jsx)(eF,{...n,ref:t,style:{...n.style,display:"block"}})})});function e6(e){return null!==e}e8.displayName=e2;var e3=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,i,a;let{placement:l,rects:s,middlewareData:u}=t,c=(null==(r=u.arrow)?void 0:r.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[f,h]=e4(l),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!=(i=null==(n=u.arrow)?void 0:n.x)?i:0)+d/2,y=(null!=(a=null==(o=u.arrow)?void 0:o.y)?a:0)+p/2,g="",b="";return"bottom"===f?(g=c?m:"".concat(v,"px"),b="".concat(-p,"px")):"top"===f?(g=c?m:"".concat(v,"px"),b="".concat(s.floating.height+p,"px")):"right"===f?(g="".concat(-p,"px"),b=c?m:"".concat(y,"px")):"left"===f&&(g="".concat(s.floating.width+p,"px"),b=c?m:"".concat(y,"px")),{data:{x:g,y:b}}}});function e4(e){let[t,r="center"]=e.split("-");return[t,r]}var e9=eX,e7=eY,te=e1,tt=e8},8852:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},8883:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(3230);let n=r(5100),o=r(5840),i=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r,s;let u,c,d,{src:p,sizes:f,unoptimized:h=!1,priority:m=!1,loading:v,className:y,quality:g,width:b,height:P,fill:w=!1,style:x,overrideSrc:T,onLoad:_,onLoadingComplete:E,placeholder:S="empty",blurDataURL:O,fetchPriority:A,decoding:k="async",layout:C,objectFit:R,objectPosition:j,lazyBoundary:M,lazyRoot:I,...D}=e,{imgConf:N,showAltText:G,blurComplete:L,defaultLoader:F}=t,z=N||o.imageConfigDefault;if("allSizes"in z)u=z;else{let e=[...z.deviceSizes,...z.imageSizes].sort((e,t)=>e-t),t=z.deviceSizes.sort((e,t)=>e-t),n=null==(r=z.qualities)?void 0:r.sort((e,t)=>e-t);u={...z,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===F)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let U=D.loader||F;delete D.loader,delete D.srcSet;let q="__next_img_default"in U;if(q){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+p+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=U;U=t=>{let{config:r,...n}=t;return e(n)}}if(C){"fill"===C&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(x={...x,...e});let t={responsive:"100vw",fill:"100vw"}[C];t&&!f&&(f=t)}let H="",K=l(b),B=l(P);if((s=p)&&"object"==typeof s&&(a(s)||void 0!==s.src)){let e=a(p)?p.default:p;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,
1configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,d=e.blurHeight,O=O||e.blurDataURL,H=e.src,!w)if(K||B){if(K&&!B){let t=K/e.width;B=Math.round(e.height*t)}else if(!K&&B){let t=B/e.height;K=Math.round(e.width*t)}}else K=e.width,B=e.height}let W=!m&&("lazy"===v||void 0===v);(!(p="string"==typeof p?p:H)||p.startsWith("data:")||p.startsWith("blob:"))&&(h=!0,W=!1),u.unoptimized&&(h=!0),q&&!u.dangerouslyAllowSVG&&p.split("?",1)[0].endsWith(".svg")&&(h=!0);let $=l(g),V=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:R,objectPosition:j}:{},G?{}:{color:"transparent"},x),X=L||"empty"===S?null:"blur"===S?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:K,heightInt:B,blurWidth:c,blurHeight:d,blurDataURL:O||"",objectFit:V.objectFit})+'")':'url("'+S+'")',J=i.includes(V.objectFit)?"fill"===V.objectFit?"100% 100%":"cover":V.objectFit,Y=X?{backgroundSize:J,backgroundPosition:V.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:X}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:o,quality:i,sizes:a,loader:l}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:o}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,a),c=s.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:s.map((e,n)=>l({config:t,src:r,quality:i,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:l({config:t,src:r,quality:i,width:s[c]})}}({config:u,src:p,unoptimized:h,width:K,quality:$,sizes:f,loader:U});return{props:{...D,loading:W?"lazy":v,fetchPriority:A,width:K,height:B,decoding:k,className:y,style:{...V,...Y},sizes:Q.sizes,srcSet:Q.srcSet,src:T||Q.src},meta:{unoptimized:h,priority:m,placeholder:S,fill:w}}}},8905:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});var n=r(2115),o=r(6101),i=r(2712),a=e=>{let{present:t,children:r}=e,a=function(e){var t,r;let[o,a]=n.useState(),s=n.useRef(null),u=n.useRef(e),c=n.useRef("none"),[d,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=l(s.current);c.current="mounted"===d?e:"none"},[d]),(0,i.N)(()=>{let t=s.current,r=u.current;if(r!==e){let n=c.current,o=l(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):r&&n!==o?p("ANIMATION_OUT"):p("UNMOUNT"),u.current=e}},[e,p]),(0,i.N)(()=>{if(o){var e;let t,r=null!=(e=o.ownerDocument.defaultView)?e:window,n=e=>{let n=l(s.current).includes(CSS.escape(e.animationName));if(e.target===o&&n&&(p("ANIMATION_END"),!u.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(c.current=l(s.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{r.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{s.current=e?getComputedStyle(e):null,a(e)},[])}}(t),s="function"==typeof r?r({present:a.isPresent}):n.Children.only(r),u=(0,o.s)(a.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=n&&"isReactWarning"in n&&n.isReactWarning;return o?e.ref:(o=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(s));return"function"==typeof r||a.isPresent?n.cloneElement(s,{ref:u}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},9033:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(2115);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},9178:(e,t,r)=>{"use strict";r.d(t,{qW:()=>p});var n,o=r(2115),i=r(5185),a=r(3655),l=r(6101),s=r(9033),u=r(5155),c="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=o.forwardRef((e,t)=>
1{var r,p;let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:g,onInteractOutside:b,onDismiss:P,...w}=e,x=o.useContext(d),[T,_]=o.useState(null),E=null!=(p=null==T?void 0:T.ownerDocument)?p:null==(r=globalThis)?void 0:r.document,[,S]=o.useState({}),O=(0,l.s)(t,e=>_(e)),A=Array.from(x.layers),[k]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),C=A.indexOf(k),R=T?A.indexOf(T):-1,j=x.layersWithOutsidePointerEventsDisabled.size>0,M=R>=C,I=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,s.c)(e),i=o.useRef(!1),a=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){h("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(r.removeEventListener("click",a.current),a.current=t,r.addEventListener("click",a.current,{once:!0})):t()}else r.removeEventListener("click",a.current);i.current=!1},t=window.setTimeout(()=>{r.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),r.removeEventListener("pointerdown",e),r.removeEventListener("click",a.current)}},[r,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,r=[...x.branches].some(e=>e.contains(t));M&&!r&&(null==y||y(e),null==b||b(e),e.defaultPrevented||null==P||P())},E),D=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,s.c)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&h("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)},[r,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...x.branches].some(e=>e.contains(t))&&(null==g||g(e),null==b||b(e),e.defaultPrevented||null==P||P())},E);return!function(e,t=globalThis?.document){let r=(0,s.c)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{R===x.layers.size-1&&(null==v||v(e),!e.defaultPrevented&&P&&(e.preventDefault(),P()))},E),o.useEffect(()=>{if(T)return m&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(n=E.body.style.pointerEvents,E.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(T)),x.layers.add(T),f(),()=>{m&&1===x.layersWithOutsidePointerEventsDisabled.size&&(E.body.style.pointerEvents=n)}},[T,E,m,x]),o.useEffect(()=>()=>{T&&(x.layers.delete(T),x.layersWithOutsidePointerEventsDisabled.delete(T),f())},[T,x]),o.useEffect(()=>{let e=()=>S({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(a.sG.div,{...w,ref:O,style:{pointerEvents:j?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.mK)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,i.mK)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,i.mK)(e.onPointerDownCapture,I.onPointerDownCapture)})});function f(){let e=new CustomEvent(c);document.dispatchEvent(e)}function h(e,t,r,n){let{discrete:o}=n,i=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),o?(0,a.hO)(i,l):i.dispatchEvent(l)}p.displayName="DismissableLayer",o.forwardRef((e,t)=>{let r=o.useContext(d),n=o.useRef(null),i=(0,l.s)(t,n);return o.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(a.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},9196:(e,t,r)=>{"use strict";r.d(t,{RG:()=>w,bL:()=>C,q7:()=>R});var n=r(2115),o=r(5185),i=r(7328),a=r(6101),l=r(6081),s=r(1285),u=r(3655),c=r(9033),d=r(5845),p=r(4315),f=r(5155),h="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[y,g,b]=(0,i.N)(v),[P,w]=(0,l.A)(v,[b]),[x,T]=P(v),_=n.forwardRef((e,t)=>(0,f.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(E,{...e,ref:t})})}));_.displayName=v;var E=n.forwardRef((e,t)=>
1{let{__scopeRovingFocusGroup:r,orientation:i,loop:l=!1,dir:s,currentTabStopId:y,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:P,onEntryFocus:w,preventScrollOnEntryFocus:T=!1,..._}=e,E=n.useRef(null),S=(0,a.s)(t,E),O=(0,p.jH)(s),[A,C]=(0,d.i)({prop:y,defaultProp:null!=b?b:null,onChange:P,caller:v}),[R,j]=n.useState(!1),M=(0,c.c)(w),I=g(r),D=n.useRef(!1),[N,G]=n.useState(0);return n.useEffect(()=>{let e=E.current;if(e)return e.addEventListener(h,M),()=>e.removeEventListener(h,M)},[M]),(0,f.jsx)(x,{scope:r,orientation:i,dir:O,loop:l,currentTabStopId:A,onItemFocus:n.useCallback(e=>C(e),[C]),onItemShiftTab:n.useCallback(()=>j(!0),[]),onFocusableItemAdd:n.useCallback(()=>G(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>G(e=>e-1),[]),children:(0,f.jsx)(u.sG.div,{tabIndex:R||0===N?-1:0,"data-orientation":i,..._,ref:S,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{D.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let t=!D.current;if(e.target===e.currentTarget&&t&&!R){let t=new CustomEvent(h,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>e.focusable);k([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),T)}}D.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>j(!1))})})}),S="RovingFocusGroupItem",O=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:i=!0,active:a=!1,tabStopId:l,children:c,...d}=e,p=(0,s.B)(),h=l||p,m=T(S,r),v=m.currentTabStopId===h,b=g(r),{onFocusableItemAdd:P,onFocusableItemRemove:w,currentTabStopId:x}=m;return n.useEffect(()=>{if(i)return P(),()=>w()},[i,P,w]),(0,f.jsx)(y.ItemSlot,{scope:r,id:h,focusable:i,active:a,children:(0,f.jsx)(u.sG.span,{tabIndex:v?0:-1,"data-orientation":m.orientation,...d,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i?m.onItemFocus(h):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>m.onItemFocus(h)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return A[o]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=m.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>k(r))}}),children:"function"==typeof c?c({isCurrentTabStop:v,hasTabStop:null!=x}):c})})});O.displayName=S;var A={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function k(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var C=_,R=O},9249:(e,t,r)=>{"use strict";r.d(t,{Cl:()=>n,Tt:()=>o,fX:()=>a,sH:()=>i});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function i(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function l(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,l)}s((n=n.apply(e,t||[])).next())})}Object.create;function a(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},9688:(e,t,r)=>{"use strict";r.d(t,{QP:()=>eu});let n=e=>{let t=l(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),o(r,t)||a(e)},getConflictingClassGroupIds:(e,t)=>{let o=r[e]||[];return t&&n[e]?[...o,...n[e]]:o}}},o=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),i=n?o(e.slice(1),n):void 0;if(i)return i;if(0===t.validators.length)return;let a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},i=/^\[(.+)\]$/,a=e=>{if(i.test(e)){let t=i.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},l=e=>{let{theme:t,classGroups:r}=e,n={nextPart:new Map,validators:[]};for(let e in r)s(r[e],n,e,t);return n},s=(e,t,r,n)=>
1{e.forEach(e=>{if("string"==typeof e){(""===e?t:u(t,e)).classGroupId=r;return}if("function"==typeof e)return c(e)?void s(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach(([e,o])=>{s(o,u(t,e),r,n)})})},u=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},c=e=>e.isThemeGetter,d=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,n=new Map,o=(o,i)=>{r.set(o,i),++t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(o(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):o(e,t)}}},p=e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,o=0,i=0;for(let a=0;a<e.length;a++){let l=e[a];if(0===n&&0===o){if(":"===l){r.push(e.slice(i,a)),i=a+1;continue}if("/"===l){t=a;continue}}"["===l?n++:"]"===l?n--:"("===l?o++:")"===l&&o--}let a=0===r.length?e:e.substring(i),l=f(a);return{modifiers:r,hasImportantModifier:l!==a,baseClassName:l,maybePostfixModifierPosition:t&&t>i?t-i:void 0}};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n},f=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,h=e=>{let t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;let r=[],n=[];return e.forEach(e=>{"["===e[0]||t[e]?(r.push(...n.sort(),e),n=[]):n.push(e)}),r.push(...n.sort()),r}},m=e=>({cache:d(e.cacheSize),parseClassName:p(e),sortModifiers:h(e),...n(e)}),v=/\s+/,y=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],l=e.trim().split(v),s="";for(let e=l.length-1;e>=0;e-=1){let t=l[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=r(t);if(u){s=t+(s.length>0?" "+s:s);continue}let h=!!f,m=n(h?p.substring(0,f):p);if(!m){if(!h||!(m=n(p))){s=t+(s.length>0?" "+s:s);continue}h=!1}let v=i(c).join(":"),y=d?v+"!":v,g=y+m;if(a.includes(g))continue;a.push(g);let b=o(m,h);for(let e=0;e<b.length;++e){let t=b[e];a.push(y+t)}s=t+(s.length>0?" "+s:s)}return s};function g(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=b(e))&&(n&&(n+=" "),n+=t);return n}let b=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=b(e[n]))&&(r&&(r+=" "),r+=t);return r},P=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},w=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,x=/^\((?:(\w[\w-]*):)?(.+)\)$/i,T=/^\d+\/\d+$/,_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,E=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,S=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,O=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,A=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=e=>T.test(e),C=e=>!!e&&!Number.isNaN(Number(e)),R=e=>!!e&&Number.isInteger(Number(e)),j=e=>e.endsWith("%")&&C(e.slice(0,-1)),M=e=>_.test(e),I=()=>!0,D=e=>E.test(e)&&!S.test(e),N=()=>!1,G=e=>O.test(e),L=e=>A.test(e),F=e=>!U(e)&&!$(e),z=e=>ee(e,eo,N),U=e=>w.test(e),q=e=>ee(e,ei,D),H=e=>ee(e,ea,C),K=e=>ee(e,er,N),B=e=>ee(e,en,L),W=e=>ee(e,es,G),$=e=>x.test(e),V=e=>et(e,ei),X=e=>et(e,el),J=e=>et(e,er),Y=e=>et(e,eo),Q=e=>et(e,en),Z=e=>et(e,es,!0),ee=(e,t,r)=>{let n=w.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},et=(e,t,r=!1)=>{let n=x.exec(e);return!!n&&(n[1]?t(n[1]):r)},er=e=>"position"===e||"percentage"===e,en=e=>"image"===e||"url"===e,eo=e=>"length"===e||"size"===e||"bg-size"===e,ei=e=>"length"===e,ea=e=>"number"===e,el=e=>"family-name"===e,es=e=>"shadow"===e;Symbol.toStringTag;let eu=function(e,...t){let r,n,o,i=function(l){return n=(r=m(t.reduce((e,t)=>t(e),e()))).cache.get,o=r.cache.set,i=a,a(l)};function a(e){let t=n(e);if(t)return t;let i=y(e,r);return o(e,i),i}return function(){return i(g.apply(null,arguments))}}(()=>{let e=P("color"),t=P("font"),r=P("text"),n=P("font-weight"),o=P("tracking"),i=P("leading"),a=P("breakpoint"),l=P("container"),s=P("spacing"),u=P("radius"),c=P("shadow"),d=P("inset-shadow"),p=P("text-shadow"),f=P("drop-shadow"),h=P("blur"),m=P("perspective"),v=P("aspect"),y=P("ease"),g=P("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...w(),$,U],T=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],E=()=>[$,U,s],S=()=>[k,"full","auto",...E()],O=()=>[R,"none","subgrid",$,U],A=()=>["auto",{span:["full",R,$,U]},R,$,U],D=()=>[R,"auto",$,U],N=()=>["auto","min","max","fr",$,U],G=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],L=()=>["start","end","center","stretch","center-safe","end-safe"],ee=()=>["auto",...E()],et=()=>[k,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],er=()=>[e,$,U],en=()=>[...w(),J,K,{position:[$,U]}],eo=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ei=()=>["auto","cover","contain",Y,z,{size:[$,U]}],ea=()=>[j,V,q],el=()=>
vendor: 6,603 bytes, line 1
1["","none","full",u,$,U],es=()=>["",C,V,q],eu=()=>["solid","dashed","dotted","double"],ec=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ed=()=>[C,j,J,K],ep=()=>["","none",h,$,U],ef=()=>["none",C,$,U],eh=()=>["none",C,$,U],em=()=>[C,$,U],ev=()=>[k,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[M],breakpoint:[M],color:[I],container:[M],"drop-shadow":[M],ease:["in","out","in-out"],font:[F],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[M],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[M],shadow:[M],spacing:["px",C],text:[M],"text-shadow":[M],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",k,U,$,v]}],container:["container"],columns:[{columns:[C,U,$,l]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{start:S()}],end:[{end:S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[R,"auto",$,U]}],basis:[{basis:[k,"full","auto",l,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[C,k,"auto","initial","none",U]}],grow:[{grow:["",C,$,U]}],shrink:[{shrink:["",C,$,U]}],order:[{order:[R,"first","last","none",$,U]}],"grid-cols":[{"grid-cols":O()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":O()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[...G(),"normal"]}],"justify-items":[{"justify-items":[...L(),"normal"]}],"justify-self":[{"justify-self":["auto",...L()]}],"align-content":[{content:["normal",...G()]}],"align-items":[{items:[...L(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...L(),{baseline:["","last"]}]}],"place-content":[{"place-content":G()}],"place-items":[{"place-items":[...L(),"baseline"]}],"place-self":[{"place-self":["auto",...L()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:ee()}],mx:[{mx:ee()}],my:[{my:ee()}],ms:[{ms:ee()}],me:[{me:ee()}],mt:[{mt:ee()}],mr:[{mr:ee()}],mb:[{mb:ee()}],ml:[{ml:ee()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:et()}],w:[{w:[l,"screen",...et()]}],"min-w":[{"min-w":[l,"screen","none",...et()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[a]},...et()]}],h:[{h:["screen","lh",...et()]}],"min-h":[{"min-h":["screen","lh","none",...et()]}],"max-h":[{"max-h":["screen","lh",...et()]}],"font-size":[{text:["base",r,V,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,$,H]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",j,U]}],"font-family":[{font:[X,U,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,$,U]}],"line-clamp":[{"line-clamp":[C,"none",$,H]}],leading:[{leading:[i,...E()]}],"list-image":[{"list-image":["none",$,U]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",$,U]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:er()}],"text-color":[{text:er()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...eu(),"wavy"]}],"text-decoration-thickness":[{decoration:[C,"from-font","auto",$,q]}],"text-decoration-color":[{decoration:er()}],"underline-offset":[{"underline-offset":[C,"auto",$,U]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$,U]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$,U]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:en()}],"bg-repeat":[{bg:eo()}],"bg-size":[{bg:ei()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R,$,U],radial:["",$,U],conic:[R,$,U]},Q,B]}],"bg-color":[{bg:er()}],"gradient-from-pos":[{from:ea()}
1],"gradient-via-pos":[{via:ea()}],"gradient-to-pos":[{to:ea()}],"gradient-from":[{from:er()}],"gradient-via":[{via:er()}],"gradient-to":[{to:er()}],rounded:[{rounded:el()}],"rounded-s":[{"rounded-s":el()}],"rounded-e":[{"rounded-e":el()}],"rounded-t":[{"rounded-t":el()}],"rounded-r":[{"rounded-r":el()}],"rounded-b":[{"rounded-b":el()}],"rounded-l":[{"rounded-l":el()}],"rounded-ss":[{"rounded-ss":el()}],"rounded-se":[{"rounded-se":el()}],"rounded-ee":[{"rounded-ee":el()}],"rounded-es":[{"rounded-es":el()}],"rounded-tl":[{"rounded-tl":el()}],"rounded-tr":[{"rounded-tr":el()}],"rounded-br":[{"rounded-br":el()}],"rounded-bl":[{"rounded-bl":el()}],"border-w":[{border:es()}],"border-w-x":[{"border-x":es()}],"border-w-y":[{"border-y":es()}],"border-w-s":[{"border-s":es()}],"border-w-e":[{"border-e":es()}],"border-w-t":[{"border-t":es()}],"border-w-r":[{"border-r":es()}],"border-w-b":[{"border-b":es()}],"border-w-l":[{"border-l":es()}],"divide-x":[{"divide-x":es()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":es()}
vendor: 6,168 bytes, line 1
1],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...eu(),"hidden","none"]}],"divide-style":[{divide:[...eu(),"hidden","none"]}],"border-color":[{border:er()}],"border-color-x":[{"border-x":er()}],"border-color-y":[{"border-y":er()}],"border-color-s":[{"border-s":er()}],"border-color-e":[{"border-e":er()}],"border-color-t":[{"border-t":er()}],"border-color-r":[{"border-r":er()}],"border-color-b":[{"border-b":er()}],"border-color-l":[{"border-l":er()}],"divide-color":[{divide:er()}],"outline-style":[{outline:[...eu(),"none","hidden"]}],"outline-offset":[{"outline-offset":[C,$,U]}],"outline-w":[{outline:["",C,V,q]}],"outline-color":[{outline:er()}],shadow:[{shadow:["","none",c,Z,W]}],"shadow-color":[{shadow:er()}],"inset-shadow":[{"inset-shadow":["none",d,Z,W]}],"inset-shadow-color":[{"inset-shadow":er()}],"ring-w":[{ring:es()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:er()}],"ring-offset-w":[{"ring-offset":[C,q]}],"ring-offset-color":[{"ring-offset":er()}],"inset-ring-w":[{"inset-ring":es()}],"inset-ring-color":[{"inset-ring":er()}],"text-shadow":[{"text-shadow":["none",p,Z,W]}],"text-shadow-color":[{"text-shadow":er()}],opacity:[{opacity:[C,$,U]}],"mix-blend":[{"mix-blend":[...ec(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ec()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[C]}],"mask-image-linear-from-pos":[{"mask-linear-from":ed()}],"mask-image-linear-to-pos":[{"mask-linear-to":ed()}],"mask-image-linear-from-color":[{"mask-linear-from":er()}],"mask-image-linear-to-color":[{"mask-linear-to":er()}],"mask-image-t-from-pos":[{"mask-t-from":ed()}],"mask-image-t-to-pos":[{"mask-t-to":ed()}],"mask-image-t-from-color":[{"mask-t-from":er()}],"mask-image-t-to-color":[{"mask-t-to":er()}],"mask-image-r-from-pos":[{"mask-r-from":ed()}],"mask-image-r-to-pos":[{"mask-r-to":ed()}],"mask-image-r-from-color":[{"mask-r-from":er()}],"mask-image-r-to-color":[{"mask-r-to":er()}],"mask-image-b-from-pos":[{"mask-b-from":ed()}],"mask-image-b-to-pos":[{"mask-b-to":ed()}],"mask-image-b-from-color":[{"mask-b-from":er()}],"mask-image-b-to-color":[{"mask-b-to":er()}],"mask-image-l-from-pos":[{"mask-l-from":ed()}],"mask-image-l-to-pos":[{"mask-l-to":ed()}],"mask-image-l-from-color":[{"mask-l-from":er()}],"mask-image-l-to-color":[{"mask-l-to":er()}],"mask-image-x-from-pos":[{"mask-x-from":ed()}],"mask-image-x-to-pos":[{"mask-x-to":ed()}],"mask-image-x-from-color":[{"mask-x-from":er()}],"mask-image-x-to-color":[{"mask-x-to":er()}],"mask-image-y-from-pos":[{"mask-y-from":ed()}],"mask-image-y-to-pos":[{"mask-y-to":ed()}],"mask-image-y-from-color":[{"mask-y-from":er()}],"mask-image-y-to-color":[{"mask-y-to":er()}],"mask-image-radial":[{"mask-radial":[$,U]}],"mask-image-radial-from-pos":[{"mask-radial-from":ed()}],"mask-image-radial-to-pos":[{"mask-radial-to":ed()}],"mask-image-radial-from-color":[{"mask-radial-from":er()}],"mask-image-radial-to-color":[{"mask-radial-to":er()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[C]}],"mask-image-conic-from-pos":[{"mask-conic-from":ed()}],"mask-image-conic-to-pos":[{"mask-conic-to":ed()}],"mask-image-conic-from-color":[{"mask-conic-from":er()}],"mask-image-conic-to-color":[{"mask-conic-to":er()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:en()}],"mask-repeat":[{mask:eo()}],"mask-size":[{mask:ei()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",$,U]}],filter:[{filter:["","none",$,U]}],blur:[{blur:ep()}],brightness:[{brightness:[C,$,U]}],contrast:[{contrast:[C,$,U]}],"drop-shadow":[{"drop-shadow":["","none",f,Z,W]}],"drop-shadow-color":[{"drop-shadow":er()}],grayscale:[{grayscale:["",C,$,U]}],"hue-rotate":[{"hue-rotate":[C,$,U]}],invert:[{invert:["",C,$,U]}],saturate:[{saturate:[C,$,U]}],sepia:[{sepia:["",C,$,U]}],"backdrop-filter":[{"backdrop-filter":["","none",$,U]}],"backdrop-blur":[{"backdrop-blur":ep()}],"backdrop-brightness":[{"backdrop-brightness":[C,$,U]}],"backdrop-contrast":[{"backdrop-contrast":[C,$,U]}],"backdrop-grayscale":[{"backdrop-grayscale":["",C,$,U]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[C,$,U]}],"backdrop-invert":[{"backdrop-invert":["",C,$,U]}],"backdrop-opacity":[{"backdrop-opacity":[C,$,U]}],"backdrop-saturate":[{"backdrop-saturate":[C,$,U]}],"backdrop-sepia":[{"backdrop-sepia":["",C,$,U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",$,U]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[C,"initial",$,U]}],ease:[{ease:["linear","initial",y,$,U]}],delay:[{delay:[C,$,U]}],animate:[{animate:["none",g,$,U]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,$,U]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ef()}],"rotate-x":[{"rotate-x":ef()}],"rotate-y":[{"rotate-y":ef()}],"rotate-z":[{"rotate-z":ef()}],scale:[{scale:eh()}],"scale-x":[{"scale-x":eh()}],"scale-y":[{"scale-y":eh()}],"scale-z":[{"scale-z":eh()}],"scale-3d":["scale-3d"],skew:[{skew:em()}],"skew-x":[{"skew-x":em()}],"skew-y":[{"skew-y":em()}],transform:[{transform:[$,U,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ev()}],"translate-x":[{"translate-x":ev()}],"translate-y":[{"translate-y":ev()}],"translate-z":[{"translate-z":ev()}],"translate-none":["translate-none"],accent:[{accent:er()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:er()}
vendor: 4,568 bytes, line 1
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",$,U]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$,U]}],fill:[{fill:["none",...er()]}],"stroke-w":[{stroke:[C,V,q,H]}],stroke:[{stroke:["none",...er()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}})},9708:(e,t,r)=>{"use strict";r.d(t,{DX:()=>l,TL:()=>a});var n=r(2115),o=r(6101),i=r(5155);function a(e){let t=function(e){let t=n.forwardRef((e,t)=>
1{let{children:r,...i}=e;if(n.isValidElement(r)){var a;let e,l,s=(a=r,(l=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(l=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,o.t)(t,s):s),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:o,...a}=e,l=n.Children.toArray(o),s=l.find(u);if(s){let e=s.props.children,o=l.map(t=>t!==s?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...a,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,i.jsx)(t,{...a,ref:r,children:o})});return r.displayName=`${e}.Slot`,r}var l=a("Slot"),s=Symbol("radix.slottable");function u(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},9946:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(2115);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase()),a=e=>{let t=i(e);return t.charAt(0).toUpperCase()+t.slice(1)},l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()},s=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let c=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:a,className:c="",children:d,iconNode:p,...f}=e;return(0,n.createElement)("svg",{ref:t,...u,width:o,height:o,stroke:r,strokeWidth:a?24*Number(i)/Number(o):i,className:l("lucide",c),...!d&&!s(f)&&{"aria-hidden":"true"},...f},[...p.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),d=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:s,...u}=r;return(0,n.createElement)(c,{ref:i,iconNode:t,className:l("lucide-".concat(o(a(e))),"lucide-".concat(e),s),...u})});return r.displayName=a(e),r}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.