@confidencesystemsinc/sdk 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -581,7 +581,7 @@ object-assign
581
581
  @license MIT
582
582
  */var yo,Ja;function xp(){if(Ja)return yo;Ja=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var a={},i=0;i<10;i++)a["_"+String.fromCharCode(i)]=i;var l=Object.getOwnPropertyNames(a).map(function(u){return a[u]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(u){c[u]=u}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return yo=o()?Object.assign:function(s,a){for(var i,l=r(s),c,u=1;u<arguments.length;u++){i=Object(arguments[u]);for(var f in i)t.call(i,f)&&(l[f]=i[f]);if(e){c=e(i);for(var p=0;p<c.length;p++)n.call(i,c[p])&&(l[c[p]]=i[c[p]])}}return l},yo}var vo,Za;function Qs(){if(Za)return vo;Za=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return vo=e,vo}var wo,ei;function tc(){return ei||(ei=1,wo=Function.call.bind(Object.prototype.hasOwnProperty)),wo}var xo,ti;function Ep(){if(ti)return xo;ti=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Qs(),n={},r=tc();e=function(s){var a="Warning: "+s;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(s,a,i,l,c){if(process.env.NODE_ENV!=="production"){for(var u in s)if(r(s,u)){var f;try{if(typeof s[u]!="function"){var p=Error((l||"React class")+": "+i+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}f=s[u](a,u,l,i,null,t)}catch(b){f=b}if(f&&!(f instanceof Error)&&e((l||"React class")+": type specification of "+i+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var h=c?c():"";e("Failed "+i+" type: "+f.message+(h??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},xo=o,xo}var Eo,ni;function Sp(){if(ni)return Eo;ni=1;var e=ec(),t=xp(),n=Qs(),r=tc(),o=Ep(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(i){var l="Warning: "+i;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function a(){return null}return Eo=function(i,l){var c=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(E){var P=E&&(c&&E[c]||E[u]);if(typeof P=="function")return P}var p="<<anonymous>>",h={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:S(),arrayOf:w,element:C(),elementType:v(),instanceOf:L,node:G(),objectOf:R,oneOf:q,oneOfType:U,shape:ue,exact:oe};function b(E,P){return E===P?E!==0||1/E===1/P:E!==E&&P!==P}function g(E,P){this.message=E,this.data=P&&typeof P=="object"?P:{},this.stack=""}g.prototype=Error.prototype;function y(E){if(process.env.NODE_ENV!=="production")var P={},W=0;function A(Y,z,I,Q,X,Z,ge){if(Q=Q||p,Z=Z||I,ge!==n){if(l){var $=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw $.name="Invariant Violation",$}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var $e=Q+":"+I;!P[$e]&&W<3&&(s("You are manually calling a React.PropTypes validation function for the `"+Z+"` prop on `"+Q+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),P[$e]=!0,W++)}}return z[I]==null?Y?z[I]===null?new g("The "+X+" `"+Z+"` is marked as required "+("in `"+Q+"`, but its value is `null`.")):new g("The "+X+" `"+Z+"` is marked as required in "+("`"+Q+"`, but its value is `undefined`.")):null:E(z,I,Q,X,Z)}var D=A.bind(null,!1);return D.isRequired=A.bind(null,!0),D}function x(E){function P(W,A,D,Y,z,I){var Q=W[A],X=K(Q);if(X!==E){var Z=ne(Q);return new g("Invalid "+Y+" `"+z+"` of type "+("`"+Z+"` supplied to `"+D+"`, expected ")+("`"+E+"`."),{expectedType:E})}return null}return y(P)}function S(){return y(a)}function w(E){function P(W,A,D,Y,z){if(typeof E!="function")return new g("Property `"+z+"` of component `"+D+"` has invalid PropType notation inside arrayOf.");var I=W[A];if(!Array.isArray(I)){var Q=K(I);return new g("Invalid "+Y+" `"+z+"` of type "+("`"+Q+"` supplied to `"+D+"`, expected an array."))}for(var X=0;X<I.length;X++){var Z=E(I,X,D,Y,z+"["+X+"]",n);if(Z instanceof Error)return Z}return null}return y(P)}function C(){function E(P,W,A,D,Y){var z=P[W];if(!i(z)){var I=K(z);return new g("Invalid "+D+" `"+Y+"` of type "+("`"+I+"` supplied to `"+A+"`, expected a single ReactElement."))}return null}return y(E)}function v(){function E(P,W,A,D,Y){var z=P[W];if(!e.isValidElementType(z)){var I=K(z);return new g("Invalid "+D+" `"+Y+"` of type "+("`"+I+"` supplied to `"+A+"`, expected a single ReactElement type."))}return null}return y(E)}function L(E){function P(W,A,D,Y,z){if(!(W[A]instanceof E)){var I=E.name||p,Q=V(W[A]);return new g("Invalid "+Y+" `"+z+"` of type "+("`"+Q+"` supplied to `"+D+"`, expected ")+("instance of `"+I+"`."))}return null}return y(P)}function q(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),a;function P(W,A,D,Y,z){for(var I=W[A],Q=0;Q<E.length;Q++)if(b(I,E[Q]))return null;var X=JSON.stringify(E,function(ge,$){var $e=ne($);return $e==="symbol"?String($):$});return new g("Invalid "+Y+" `"+z+"` of value `"+String(I)+"` "+("supplied to `"+D+"`, expected one of "+X+"."))}return y(P)}function R(E){function P(W,A,D,Y,z){if(typeof E!="function")return new g("Property `"+z+"` of component `"+D+"` has invalid PropType notation inside objectOf.");var I=W[A],Q=K(I);if(Q!=="object")return new g("Invalid "+Y+" `"+z+"` of type "+("`"+Q+"` supplied to `"+D+"`, expected an object."));for(var X in I)if(r(I,X)){var Z=E(I,X,D,Y,z+"."+X,n);if(Z instanceof Error)return Z}return null}return y(P)}function U(E){if(!Array.isArray(E))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var P=0;P<E.length;P++){var W=E[P];if(typeof W!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+T(W)+" at index "+P+"."),a}function A(D,Y,z,I,Q){for(var X=[],Z=0;Z<E.length;Z++){var ge=E[Z],$=ge(D,Y,z,I,Q,n);if($==null)return null;$.data&&r($.data,"expectedType")&&X.push($.data.expectedType)}var $e=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new g("Invalid "+I+" `"+Q+"` supplied to "+("`"+z+"`"+$e+"."))}return y(A)}function G(){function E(P,W,A,D,Y){return fe(P[W])?null:new g("Invalid "+D+" `"+Y+"` supplied to "+("`"+A+"`, expected a ReactNode."))}return y(E)}function le(E,P,W,A,D){return new g((E||"React class")+": "+P+" type `"+W+"."+A+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+D+"`.")}function ue(E){function P(W,A,D,Y,z){var I=W[A],Q=K(I);if(Q!=="object")return new g("Invalid "+Y+" `"+z+"` of type `"+Q+"` "+("supplied to `"+D+"`, expected `object`."));for(var X in E){var Z=E[X];if(typeof Z!="function")return le(D,Y,z,X,ne(Z));var ge=Z(I,X,D,Y,z+"."+X,n);if(ge)return ge}return null}return y(P)}function oe(E){function P(W,A,D,Y,z){var I=W[A],Q=K(I);if(Q!=="object")return new g("Invalid "+Y+" `"+z+"` of type `"+Q+"` "+("supplied to `"+D+"`, expected `object`."));var X=t({},W[A],E);for(var Z in X){var ge=E[Z];if(r(E,Z)&&typeof ge!="function")return le(D,Y,z,Z,ne(ge));if(!ge)return new g("Invalid "+Y+" `"+z+"` key `"+Z+"` supplied to `"+D+"`.\nBad object: "+JSON.stringify(W[A],null," ")+`
583
583
  Valid keys: `+JSON.stringify(Object.keys(E),null," "));var $=ge(I,Z,D,Y,z+"."+Z,n);if($)return $}return null}return y(P)}function fe(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(fe);if(E===null||i(E))return!0;var P=f(E);if(P){var W=P.call(E),A;if(P!==E.entries){for(;!(A=W.next()).done;)if(!fe(A.value))return!1}else for(;!(A=W.next()).done;){var D=A.value;if(D&&!fe(D[1]))return!1}}else return!1;return!0;default:return!1}}function B(E,P){return E==="symbol"?!0:P?P["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&P instanceof Symbol:!1}function K(E){var P=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":B(P,E)?"symbol":P}function ne(E){if(typeof E>"u"||E===null)return""+E;var P=K(E);if(P==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return P}function T(E){var P=ne(E);switch(P){case"array":case"object":return"an "+P;case"boolean":case"date":case"regexp":return"a "+P;default:return P}}function V(E){return!E.constructor||!E.constructor.name?p:E.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},Eo}var So,ri;function Cp(){if(ri)return So;ri=1;var e=Qs();function t(){}function n(){}return n.resetWarningCache=t,So=function(){function r(a,i,l,c,u,f){if(f!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},So}var oi;function kp(){if(oi)return gr.exports;if(oi=1,process.env.NODE_ENV!=="production"){var e=ec(),t=!0;gr.exports=Sp()(e.isElement,t)}else gr.exports=Cp()();return gr.exports}var Tp=kp();const te=yp(Tp);function si(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Tt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?si(Object(n),!0).forEach(function(r){ln(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):si(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Fr(e){"@babel/helpers - typeof";return Fr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fr(e)}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Op(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function nc(e,t){if(e==null)return{};var n=Op(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ys(e){return Pp(e)||Ap(e)||Rp(e)||$p()}function Pp(e){if(Array.isArray(e))return vs(e)}function Ap(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rp(e,t){if(e){if(typeof e=="string")return vs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vs(e,t)}}function vs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $p(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
584
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fp(e){var t,n=e.beat,r=e.fade,o=e.beatFade,s=e.bounce,a=e.shake,i=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,f=e.pulse,p=e.fixedWidth,h=e.inverse,b=e.border,g=e.listItem,y=e.flip,x=e.size,S=e.rotation,w=e.pull,C=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":s,"fa-shake":a,"fa-flash":i,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":p,"fa-inverse":h,"fa-border":b,"fa-li":g,"fa-flip":y===!0,"fa-flip-horizontal":y==="horizontal"||y==="both","fa-flip-vertical":y==="vertical"||y==="both"},ln(t,"fa-".concat(x),typeof x<"u"&&x!==null),ln(t,"fa-rotate-".concat(S),typeof S<"u"&&S!==null&&S!==0),ln(t,"fa-pull-".concat(w),typeof w<"u"&&w!==null),ln(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(C).map(function(v){return C[v]?v:null}).filter(function(v){return v})}function Ip(e){return e=e-0,e===e}function rc(e){return Ip(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var Mp=["style"];function Lp(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Np(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),o=rc(n.slice(0,r)),s=n.slice(r+1).trim();return o.startsWith("webkit")?t[Lp(o)]=s:t[o]=s,t},{})}function oc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return oc(e,l)}),o=Object.keys(t.attributes||{}).reduce(function(l,c){var u=t.attributes[c];switch(c){case"class":l.attrs.className=u,delete t.attributes.class;break;case"style":l.attrs.style=Np(u);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=u:l.attrs[rc(c)]=u}return l},{attrs:{}}),s=n.style,a=s===void 0?{}:s,i=nc(n,Mp);return o.attrs.style=Tt(Tt({},o.attrs.style),a),e.apply(void 0,[t.tag,Tt(Tt({},o.attrs),i)].concat(ys(r)))}var sc=!1;try{sc=process.env.NODE_ENV==="production"}catch{}function _p(){if(!sc&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function ai(e){if(e&&Fr(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(bs.icon)return bs.icon(e);if(e===null)return null;if(e&&Fr(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Co(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ln({},e,t):{}}var Dp=["forwardedRef"];function tn(e){var t=e.forwardedRef,n=nc(e,Dp),r=n.icon,o=n.mask,s=n.symbol,a=n.className,i=n.title,l=n.titleId,c=n.maskId,u=ai(r),f=Co("classes",[].concat(ys(Fp(n)),ys(a.split(" ")))),p=Co("transform",typeof n.transform=="string"?bs.transform(n.transform):n.transform),h=Co("mask",ai(o)),b=bp(u,Tt(Tt(Tt(Tt({},f),p),h),{},{symbol:s,title:i,titleId:l,maskId:c}));if(!b)return _p("Could not find icon",u),null;var g=b.abstract,y={ref:t};return Object.keys(n).forEach(function(x){tn.defaultProps.hasOwnProperty(x)||(y[x]=n[x])}),jp(g[0],y)}tn.displayName="FontAwesomeIcon";tn.propTypes={beat:te.bool,border:te.bool,beatFade:te.bool,bounce:te.bool,className:te.string,fade:te.bool,flash:te.bool,mask:te.oneOfType([te.object,te.array,te.string]),maskId:te.string,fixedWidth:te.bool,inverse:te.bool,flip:te.oneOf([!0,!1,"horizontal","vertical","both"]),icon:te.oneOfType([te.object,te.array,te.string]),listItem:te.bool,pull:te.oneOf(["right","left"]),pulse:te.bool,rotation:te.oneOf([0,90,180,270]),shake:te.bool,size:te.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:te.bool,spinPulse:te.bool,spinReverse:te.bool,symbol:te.oneOfType([te.bool,te.string]),title:te.string,titleId:te.string,transform:te.oneOfType([te.string,te.object]),swapOpacity:te.bool};tn.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var jp=oc.bind(null,d.createElement);function qr(){return typeof window<"u"}function In(e){return ac(e)?(e.nodeName||"").toLowerCase():"#document"}function Ae(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ct(e){var t;return(t=(ac(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ac(e){return qr()?e instanceof Node||e instanceof Ae(e).Node:!1}function me(e){return qr()?e instanceof Element||e instanceof Ae(e).Element:!1}function ze(e){return qr()?e instanceof HTMLElement||e instanceof Ae(e).HTMLElement:!1}function ws(e){return!qr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ae(e).ShadowRoot}function sr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Le(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function zp(e){return["table","td","th"].includes(In(e))}function Vr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Xs(e){const t=Gr(),n=me(e)?Le(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Hp(e){let t=at(e);for(;ze(t)&&!et(t);){if(Xs(t))return t;if(Vr(t))return null;t=at(t)}return null}function Gr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(e){return["html","body","#document"].includes(In(e))}function Le(e){return Ae(e).getComputedStyle(e)}function Kr(e){return me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function at(e){if(In(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ws(e)&&e.host||ct(e);return ws(t)?t.host:t}function ic(e){const t=at(e);return et(t)?e.ownerDocument?e.ownerDocument.body:e.body:ze(t)&&sr(t)?t:ic(t)}function dn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=ic(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),a=Ae(o);if(s){const i=xs(a);return t.concat(a,a.visualViewport||[],sr(o)?o:[],i&&n?dn(i):[])}return t.concat(o,dn(o,[],n))}function xs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const ii=Math.min,Bn=Math.max,Ir=Math.round,Ke=e=>({x:e,y:e});function lc(e){return e.split("-")[0]}function Wp(e){return e.split("-")[1]}function Up(e){return e==="x"?"y":"x"}function Bp(e){return e==="y"?"height":"width"}function cc(e){return["top","bottom"].includes(lc(e))?"y":"x"}function qp(e){return Up(cc(e))}function uc(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function li(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&ws(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Ln(e){return"composedPath"in e?e.composedPath()[0]:e.target}function ko(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function Vp(e){return e.matches("html,body")}function ci(e){return(e==null?void 0:e.ownerDocument)||document}function To(e,t){let n=e.filter(o=>{var s;return o.parentId===t&&((s=o.context)==null?void 0:s.open)}),r=n;for(;r.length;)r=e.filter(o=>{var s;return(s=r)==null?void 0:s.some(a=>{var i;return o.parentId===a.id&&((i=o.context)==null?void 0:i.open)})}),n=n.concat(r);return n}function Gp(e){return"nativeEvent"in e}var Kp=typeof document<"u",Yp=function(){},Es=Kp?d.useLayoutEffect:Yp;const Qp={...F},Xp=Qp.useInsertionEffect,Jp=Xp||(e=>e());function sn(e){const t=F.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Jp(()=>{t.current=e}),F.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}function ui(e,t,n){let{reference:r,floating:o}=e;const s=cc(t),a=qp(t),i=Bp(a),l=lc(t),c=s==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[i]/2-o[i]/2;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Wp(t)){case"start":h[a]-=p*(n&&c?-1:1);break;case"end":h[a]+=p*(n&&c?-1:1);break}return h}const Zp=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:a}=n,i=s.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=ui(c,r,l),p=r,h={},b=0;for(let g=0;g<i.length;g++){const{name:y,fn:x}=i[g],{x:S,y:w,data:C,reset:v}=await x({x:u,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=S??u,f=w??f,h={...h,[y]:{...h[y],...C}},v&&b<=50&&(b++,typeof v=="object"&&(v.placement&&(p=v.placement),v.rects&&(c=v.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),{x:u,y:f}=ui(c,p,l)),g=-1)}return{x:u,y:f,placement:p,strategy:o,middlewareData:h}};function fc(e){const t=Le(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ze(e),s=o?e.offsetWidth:n,a=o?e.offsetHeight:r,i=Ir(n)!==s||Ir(r)!==a;return i&&(n=s,r=a),{width:n,height:r,$:i}}function dc(e){return me(e)?e:e.contextElement}function hn(e){const t=dc(e);if(!ze(t))return Ke(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=fc(t);let a=(s?Ir(n.width):n.width)/r,i=(s?Ir(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!i||!Number.isFinite(i))&&(i=1),{x:a,y:i}}const em=Ke(0);function hc(e){const t=Ae(e);return!Gr()||!t.visualViewport?em:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function tm(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ae(e)?!1:t}function Xn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=dc(e);let a=Ke(1);t&&(r?me(r)&&(a=hn(r)):a=hn(e));const i=tm(s,n,r)?hc(s):Ke(0);let l=(o.left+i.x)/a.x,c=(o.top+i.y)/a.y,u=o.width/a.x,f=o.height/a.y;if(s){const p=Ae(s),h=r&&me(r)?Ae(r):r;let b=p,g=xs(b);for(;g&&r&&h!==b;){const y=hn(g),x=g.getBoundingClientRect(),S=Le(g),w=x.left+(g.clientLeft+parseFloat(S.paddingLeft))*y.x,C=x.top+(g.clientTop+parseFloat(S.paddingTop))*y.y;l*=y.x,c*=y.y,u*=y.x,f*=y.y,l+=w,c+=C,b=Ae(g),g=xs(b)}}return uc({width:u,height:f,x:l,y:c})}function Js(e,t){const n=Kr(e).scrollLeft;return t?t.left+n:Xn(ct(e)).left+n}function pc(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Js(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function nm(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",a=ct(r),i=t?Vr(t.floating):!1;if(r===a||i&&s)return n;let l={scrollLeft:0,scrollTop:0},c=Ke(1);const u=Ke(0),f=ze(r);if((f||!f&&!s)&&((In(r)!=="body"||sr(a))&&(l=Kr(r)),ze(r))){const h=Xn(r);c=hn(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}const p=a&&!f&&!s?pc(a,l,!0):Ke(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-l.scrollTop*c.y+u.y+p.y}}function rm(e){return Array.from(e.getClientRects())}function om(e){const t=ct(e),n=Kr(e),r=e.ownerDocument.body,o=Bn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Bn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Js(e);const i=-n.scrollTop;return Le(r).direction==="rtl"&&(a+=Bn(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:a,y:i}}function sm(e,t){const n=Ae(e),r=ct(e),o=n.visualViewport;let s=r.clientWidth,a=r.clientHeight,i=0,l=0;if(o){s=o.width,a=o.height;const c=Gr();(!c||c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}return{width:s,height:a,x:i,y:l}}function am(e,t){const n=Xn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=ze(e)?hn(e):Ke(1),a=e.clientWidth*s.x,i=e.clientHeight*s.y,l=o*s.x,c=r*s.y;return{width:a,height:i,x:l,y:c}}function fi(e,t,n){let r;if(t==="viewport")r=sm(e,n);else if(t==="document")r=om(ct(e));else if(me(t))r=am(t,n);else{const o=hc(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return uc(r)}function mc(e,t){const n=at(e);return n===t||!me(n)||et(n)?!1:Le(n).position==="fixed"||mc(n,t)}function im(e,t){const n=t.get(e);if(n)return n;let r=dn(e,[],!1).filter(i=>me(i)&&In(i)!=="body"),o=null;const s=Le(e).position==="fixed";let a=s?at(e):e;for(;me(a)&&!et(a);){const i=Le(a),l=Xs(a);!l&&i.position==="fixed"&&(o=null),(s?!l&&!o:!l&&i.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||sr(a)&&!l&&mc(e,a))?r=r.filter(u=>u!==a):o=i,a=at(a)}return t.set(e,r),r}function lm(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Vr(t)?[]:im(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((c,u)=>{const f=fi(t,u,o);return c.top=Bn(f.top,c.top),c.right=ii(f.right,c.right),c.bottom=ii(f.bottom,c.bottom),c.left=Bn(f.left,c.left),c},fi(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function cm(e){const{width:t,height:n}=fc(e);return{width:t,height:n}}function um(e,t,n){const r=ze(t),o=ct(t),s=n==="fixed",a=Xn(e,!0,s,t);let i={scrollLeft:0,scrollTop:0};const l=Ke(0);function c(){l.x=Js(o)}if(r||!r&&!s)if((In(t)!=="body"||sr(o))&&(i=Kr(t)),r){const h=Xn(t,!0,s,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&c();s&&!r&&o&&c();const u=o&&!r&&!s?pc(o,i):Ke(0),f=a.left+i.scrollLeft-l.x-u.x,p=a.top+i.scrollTop-l.y-u.y;return{x:f,y:p,width:a.width,height:a.height}}function Oo(e){return Le(e).position==="static"}function di(e,t){if(!ze(e)||Le(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ct(e)===n&&(n=n.ownerDocument.body),n}function gc(e,t){const n=Ae(e);if(Vr(e))return n;if(!ze(e)){let o=at(e);for(;o&&!et(o);){if(me(o)&&!Oo(o))return o;o=at(o)}return n}let r=di(e,t);for(;r&&zp(r)&&Oo(r);)r=di(r,t);return r&&et(r)&&Oo(r)&&!Xs(r)?n:r||Hp(e)||n}const fm=async function(e){const t=this.getOffsetParent||gc,n=this.getDimensions,r=await n(e.floating);return{reference:um(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function dm(e){return Le(e).direction==="rtl"}const hm={convertOffsetParentRelativeRectToViewportRelativeRect:nm,getDocumentElement:ct,getClippingRect:lm,getOffsetParent:gc,getElementRects:fm,getClientRects:rm,getDimensions:cm,getScale:hn,isElement:me,isRTL:dm},pm=(e,t,n)=>{const r=new Map,o={platform:hm,...n},s={...o.platform,_c:r};return Zp(e,t,{...o,platform:s})};var mm=typeof document<"u",gm=function(){},Cr=mm?d.useLayoutEffect:gm;function Mr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Mr(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Mr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function bc(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function hi(e,t){const n=bc(e);return Math.round(t*n)/n}function Po(e){const t=F.useRef(e);return Cr(()=>{t.current=e}),t}function bm(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:a}={},transform:i=!0,whileElementsMounted:l,open:c}=e,[u,f]=F.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=F.useState(r);Mr(p,r)||h(r);const[b,g]=F.useState(null),[y,x]=F.useState(null),S=F.useCallback(T=>{T!==L.current&&(L.current=T,g(T))},[]),w=F.useCallback(T=>{T!==q.current&&(q.current=T,x(T))},[]),C=s||b,v=a||y,L=F.useRef(null),q=F.useRef(null),R=F.useRef(u),U=l!=null,G=Po(l),le=Po(o),ue=Po(c),oe=F.useCallback(()=>{if(!L.current||!q.current)return;const T={placement:t,strategy:n,middleware:p};le.current&&(T.platform=le.current),pm(L.current,q.current,T).then(V=>{const E={...V,isPositioned:ue.current!==!1};fe.current&&!Mr(R.current,E)&&(R.current=E,wu.flushSync(()=>{f(E)}))})},[p,t,n,le,ue]);Cr(()=>{c===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[c]);const fe=F.useRef(!1);Cr(()=>(fe.current=!0,()=>{fe.current=!1}),[]),Cr(()=>{if(C&&(L.current=C),v&&(q.current=v),C&&v){if(G.current)return G.current(C,v,oe);oe()}},[C,v,oe,G,U]);const B=F.useMemo(()=>({reference:L,floating:q,setReference:S,setFloating:w}),[S,w]),K=F.useMemo(()=>({reference:C,floating:v}),[C,v]),ne=F.useMemo(()=>{const T={position:n,left:0,top:0};if(!K.floating)return T;const V=hi(K.floating,u.x),E=hi(K.floating,u.y);return i?{...T,transform:"translate("+V+"px, "+E+"px)",...bc(K.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:E}},[n,i,K.floating,u.x,u.y]);return F.useMemo(()=>({...u,update:oe,refs:B,elements:K,floatingStyles:ne}),[u,oe,B,K,ne])}const ym="data-floating-ui-focusable",pi="active",mi="selected",vm={...F};let gi=!1,wm=0;const bi=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+wm++;function xm(){const[e,t]=F.useState(()=>gi?bi():void 0);return Es(()=>{e==null&&t(bi())},[]),F.useEffect(()=>{gi=!0},[]),e}const Em=vm.useId,Sm=Em||xm;let Ss;process.env.NODE_ENV!=="production"&&(Ss=new Set);function Cm(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=Ss)!=null&&e.has(o))){var s;(s=Ss)==null||s.add(o),console.error(o)}}function km(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;(r=e.get(t))==null||r.delete(n)}}}const Tm=F.createContext(null),Om=F.createContext(null),Pm=()=>{var e;return((e=F.useContext(Tm))==null?void 0:e.id)||null},yc=()=>F.useContext(Om);function Am(e){return"data-floating-ui-"+e}function Rm(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const $m={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Fm={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},yi=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}};function Im(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:s}=e,{enabled:a=!0,escapeKey:i=!0,outsidePress:l=!0,outsidePressEvent:c="pointerdown",referencePress:u=!1,referencePressEvent:f="pointerdown",ancestorScroll:p=!1,bubbles:h,capture:b}=t,g=yc(),y=sn(typeof l=="function"?l:()=>!1),x=typeof l=="function"?y:l,S=F.useRef(!1),{escapeKey:w,outsidePress:C}=yi(h),{escapeKey:v,outsidePress:L}=yi(b),q=F.useRef(!1),R=F.useRef(-1),U=sn(B=>{var K;if(!n||!a||!i||B.key!=="Escape"||q.current)return;const ne=(K=s.current.floatingContext)==null?void 0:K.nodeId,T=g?To(g.nodesRef.current,ne):[];if(!w&&(B.stopPropagation(),T.length>0)){let V=!0;if(T.forEach(E=>{var P;if((P=E.context)!=null&&P.open&&!E.context.dataRef.current.__escapeKeyBubbles){V=!1;return}}),!V)return}r(!1,Gp(B)?B.nativeEvent:B,"escape-key")}),G=sn(B=>{var K;const ne=()=>{var T;U(B),(T=Ln(B))==null||T.removeEventListener("keydown",ne)};(K=Ln(B))==null||K.addEventListener("keydown",ne)}),le=sn(B=>{var K;const ne=s.current.insideReactTree;s.current.insideReactTree=!1;const T=S.current;if(S.current=!1,c==="click"&&T||ne||typeof x=="function"&&!x(B))return;const V=Ln(B),E="["+Am("inert")+"]",P=ci(o.floating).querySelectorAll(E);let W=me(V)?V:null;for(;W&&!et(W);){const z=at(W);if(et(z)||!me(z))break;W=z}if(P.length&&me(V)&&!Vp(V)&&!li(V,o.floating)&&Array.from(P).every(z=>!li(W,z)))return;if(ze(V)&&fe){const z=et(V),I=Le(V),Q=/auto|scroll/,X=z||Q.test(I.overflowX),Z=z||Q.test(I.overflowY),ge=X&&V.clientWidth>0&&V.scrollWidth>V.clientWidth,$=Z&&V.clientHeight>0&&V.scrollHeight>V.clientHeight,$e=I.direction==="rtl",rn=$&&($e?B.offsetX<=V.offsetWidth-V.clientWidth:B.offsetX>V.clientWidth),cr=ge&&B.offsetY>V.clientHeight;if(rn||cr)return}const A=(K=s.current.floatingContext)==null?void 0:K.nodeId,D=g&&To(g.nodesRef.current,A).some(z=>{var I;return ko(B,(I=z.context)==null?void 0:I.elements.floating)});if(ko(B,o.floating)||ko(B,o.domReference)||D)return;const Y=g?To(g.nodesRef.current,A):[];if(Y.length>0){let z=!0;if(Y.forEach(I=>{var Q;if((Q=I.context)!=null&&Q.open&&!I.context.dataRef.current.__outsidePressBubbles){z=!1;return}}),!z)return}r(!1,B,"outside-press")}),ue=sn(B=>{var K;const ne=()=>{var T;le(B),(T=Ln(B))==null||T.removeEventListener(c,ne)};(K=Ln(B))==null||K.addEventListener(c,ne)});F.useEffect(()=>{if(!n||!a)return;s.current.__escapeKeyBubbles=w,s.current.__outsidePressBubbles=C;let B=-1;function K(P){r(!1,P,"ancestor-scroll")}function ne(){window.clearTimeout(B),q.current=!0}function T(){B=window.setTimeout(()=>{q.current=!1},Gr()?5:0)}const V=ci(o.floating);i&&(V.addEventListener("keydown",v?G:U,v),V.addEventListener("compositionstart",ne),V.addEventListener("compositionend",T)),x&&V.addEventListener(c,L?ue:le,L);let E=[];return p&&(me(o.domReference)&&(E=dn(o.domReference)),me(o.floating)&&(E=E.concat(dn(o.floating))),!me(o.reference)&&o.reference&&o.reference.contextElement&&(E=E.concat(dn(o.reference.contextElement)))),E=E.filter(P=>{var W;return P!==((W=V.defaultView)==null?void 0:W.visualViewport)}),E.forEach(P=>{P.addEventListener("scroll",K,{passive:!0})}),()=>{i&&(V.removeEventListener("keydown",v?G:U,v),V.removeEventListener("compositionstart",ne),V.removeEventListener("compositionend",T)),x&&V.removeEventListener(c,L?ue:le,L),E.forEach(P=>{P.removeEventListener("scroll",K)}),window.clearTimeout(B)}},[s,o,i,x,c,n,r,p,a,w,C,U,v,G,le,L,ue]),F.useEffect(()=>{s.current.insideReactTree=!1},[s,x,c]);const oe=F.useMemo(()=>({onKeyDown:U,...u&&{[$m[f]]:B=>{r(!1,B.nativeEvent,"reference-press")},...f!=="click"&&{onClick(B){r(!1,B.nativeEvent,"reference-press")}}}}),[U,r,u,f]),fe=F.useMemo(()=>({onKeyDown:U,onMouseDown(){S.current=!0},onMouseUp(){S.current=!0},[Fm[c]]:()=>{s.current.insideReactTree=!0},onBlurCapture(){g||(Rm(R),s.current.insideReactTree=!0,R.current=window.setTimeout(()=>{s.current.insideReactTree=!1}))}}),[U,c,s,g]);return F.useMemo(()=>a?{reference:oe,floating:fe}:{},[a,oe,fe])}function Mm(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=Sm(),s=F.useRef({}),[a]=F.useState(()=>km()),i=Pm()!=null;if(process.env.NODE_ENV!=="production"){const h=r.reference;h&&!me(h)&&Cm("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[l,c]=F.useState(r.reference),u=sn((h,b,g)=>{s.current.openEvent=h?b:void 0,a.emit("openchange",{open:h,event:b,reason:g,nested:i}),n==null||n(h,b,g)}),f=F.useMemo(()=>({setPositionReference:c}),[]),p=F.useMemo(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);return F.useMemo(()=>({dataRef:s,open:t,onOpenChange:u,elements:p,events:a,floatingId:o,refs:f}),[t,u,p,a,o,f])}function Lm(e){e===void 0&&(e={});const{nodeId:t}=e,n=Mm({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[s,a]=F.useState(null),[i,l]=F.useState(null),u=(o==null?void 0:o.domReference)||s,f=F.useRef(null),p=yc();Es(()=>{u&&(f.current=u)},[u]);const h=bm({...e,elements:{...o,...i&&{reference:i}}}),b=F.useCallback(w=>{const C=me(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),getClientRects:()=>w.getClientRects(),contextElement:w}:w;l(C),h.refs.setReference(C)},[h.refs]),g=F.useCallback(w=>{(me(w)||w===null)&&(f.current=w,a(w)),(me(h.refs.reference.current)||h.refs.reference.current===null||w!==null&&!me(w))&&h.refs.setReference(w)},[h.refs]),y=F.useMemo(()=>({...h.refs,setReference:g,setPositionReference:b,domReference:f}),[h.refs,g,b]),x=F.useMemo(()=>({...h.elements,domReference:u}),[h.elements,u]),S=F.useMemo(()=>({...h,...r,refs:y,elements:x,nodeId:t}),[h,y,x,t,r]);return Es(()=>{r.dataRef.current.floatingContext=S;const w=p==null?void 0:p.nodesRef.current.find(C=>C.id===t);w&&(w.context=S)}),F.useMemo(()=>({...h,context:S,refs:y,elements:x}),[h,y,x,S])}function Ao(e,t,n){const r=new Map,o=n==="item";let s=e;if(o&&e){const{[pi]:a,[mi]:i,...l}=e;s=l}return{...n==="floating"&&{tabIndex:-1,[ym]:""},...s,...t.map(a=>{const i=a?a[n]:null;return typeof i=="function"?e?i(e):null:i}).concat(e).reduce((a,i)=>(i&&Object.entries(i).forEach(l=>{let[c,u]=l;if(!(o&&[pi,mi].includes(c)))if(c.indexOf("on")===0){if(r.has(c)||r.set(c,[]),typeof u=="function"){var f;(f=r.get(c))==null||f.push(u),a[c]=function(){for(var p,h=arguments.length,b=new Array(h),g=0;g<h;g++)b[g]=arguments[g];return(p=r.get(c))==null?void 0:p.map(y=>y(...b)).find(y=>y!==void 0)}}}else a[c]=u}),a),{})}}function Nm(e){e===void 0&&(e=[]);const t=e.map(i=>i==null?void 0:i.reference),n=e.map(i=>i==null?void 0:i.floating),r=e.map(i=>i==null?void 0:i.item),o=F.useCallback(i=>Ao(i,e,"reference"),t),s=F.useCallback(i=>Ao(i,e,"floating"),n),a=F.useCallback(i=>Ao(i,e,"item"),r);return F.useMemo(()=>({getReferenceProps:o,getFloatingProps:s,getItemProps:a}),[o,s,a])}const _m={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},Dm=({transition:e,onClick:t})=>O.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:n=>{n.stopPropagation(),t()},children:[O.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),O.jsx(tn,{icon:md,className:"text-gray-400"}),O.jsx(wl,{category:"outline",color:e.color,children:e.to})]}),jm=({title:e,variant:t="default",transitions:n,onClick:r})=>{const[o,s]=d.useState(!1),{refs:a,floatingStyles:i,context:l}=Lm({strategy:"fixed",placement:"bottom-end",open:o,onOpenChange:s}),c=Im(l,{outsidePress:!0}),{getReferenceProps:u,getFloatingProps:f}=Nm([c]);return O.jsxs(O.Fragment,{children:[O.jsxs("div",{onClick:n!=null&&n.length?()=>s(p=>!p):void 0,ref:a.setReference,className:On("px-1 uppercase border rounded-sm",n.length?"cursor-pointer":"pointer-events-none",_m[t]),...u(),children:[O.jsx("span",{className:"text-sm font-bold",children:e}),n.length>0?O.jsx(tn,{icon:gd,className:"text-gray-400 ml-1"}):O.jsx(O.Fragment,{})]}),o&&n.length&&O.jsx("div",{ref:a.setFloating,style:i,className:On("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...f(),children:n.map((p,h)=>O.jsx(Dm,{transition:p,onClick:()=>{r==null||r(p.id),s(!1)}},h))})]})},zm={[he.OPEN]:"border-[#C1C5C8] bg-[#F0F1F2]",[he.IN_PROGRESS]:"bg-[#E6F2FF] border-[#94C8FF]",[he.IN_REVIEW]:"bg-[#EAF6EC] border-[#A5DAB1]",[he.COMPLETED]:"bg-[#EAF6EC] border-[#A5DAB1]"},Ro={PHOTO:"photo",SCREENSHOT:"screenshot"},Hm=({task:e,step:t,playbookType:n,onButtonClick:r,viewMode:o="card",canStart:s=!1})=>{const{buttons:a}=cf({taskStatus:e.workflowStatus,canStart:s}),i=d.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?Ro.SCREENSHOT:e.imageRequired===2?Ro.PHOTO:null,[e.imageRequired]);if(o==="list"){const l=d.useMemo(()=>e.workflowStatus===he.COMPLETED?"success":e.workflowStatus===he.IN_PROGRESS?"primary":"default",[e.workflowStatus]),c=d.useMemo(()=>{const u=[];return a.forEach(f=>{f==="START"&&u.push({id:"START",color:"primary",action:"Start",to:he.IN_PROGRESS}),f==="COMPLETE"&&u.push({id:"COMPLETE",color:"success",action:"Complete",to:he.COMPLETED})}),u},[a]);return O.jsxs("div",{className:"flex gap-3 p-2 border-b border-gray-200",children:[O.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),O.jsx("div",{className:On("text-dark flex-1 truncate",e.workflowStatus===he.COMPLETED&&"text-secondary-400 line-through"),children:e.taskInstanceName}),O.jsx(jm,{title:e.workflowStatus,variant:l,transitions:c,onClick:u=>{r(u)}})]})}return O.jsxs("div",{className:Pr("flex items-stretch rounded-sm overflow-hidden border",zm[e.workflowStatus]),children:[O.jsx(sd,{playbookType:n,status:e.workflowStatus,step:t}),O.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden p-2",children:[n==="Sequential"&&O.jsx("div",{className:"-mb-3 elf-end pr-2 pt-2",children:O.jsx(dd,{status:e.workflowStatus})}),O.jsxs("div",{className:"space-y-2 divide-y divide-black/20 flex flex-1 flex-col",children:[O.jsxs("div",{className:"space-y-2",children:[O.jsx("div",{className:"text-lg font-medium text-[#1C232D] flex-1",children:e.taskInstanceName}),i?O.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[O.jsx(tn,{icon:pd,className:"size-[16px]"}),O.jsxs("div",{children:[O.jsx("span",{className:"font-medium",children:i===Ro.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):O.jsx(O.Fragment,{})]}),a.length>0&&O.jsx(td,{buttons:a,onButtonClick:r})]})]})]})},Wm=({title:e,className:t,...n})=>O.jsx("div",{className:t,...n,children:O.jsx("div",{className:"border-y border-gray-200 bg-white",children:O.jsx("h1",{className:"container mx-auto py-3 text-2xl",children:e})})}),vc=async e=>{const t=new Headers;t.append("Content-Type","application/json");const r=await(await fetch("/public-api/playbook-initiate",{method:"POST",headers:t,body:JSON.stringify(e)})).json();return console.log({data:r}),r},wc=typeof document<"u"?d.useLayoutEffect:()=>{};function Um(e){const t=d.useRef(null);return wc(()=>{t.current=e},[e]),d.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}const It=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},jt=e=>e&&"window"in e&&e.window===e?e:It(e).defaultView||window;function Bm(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function qm(e){return Bm(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let Vm=!1;function Zs(){return Vm}function xc(e,t){if(!Zs())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:qm(n)?n=n.host:n=n.parentNode}return!1}const Cs=(e=document)=>{var t;if(!Zs())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function Ec(e){return Zs()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Yr(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function ea(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function ut(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const ta=ut(function(){return ea(/^Mac/i)}),Gm=ut(function(){return ea(/^iPhone/i)}),Km=ut(function(){return ea(/^iPad/i)||ta()&&navigator.maxTouchPoints>1}),Ym=ut(function(){return Gm()||Km()});ut(function(){return ta()||Ym()});ut(function(){return Yr(/AppleWebKit/i)&&!Qm()});const Qm=ut(function(){return Yr(/Chrome/i)}),Xm=ut(function(){return Yr(/Android/i)});ut(function(){return Yr(/Firefox/i)});function Sc(){let e=d.useRef(new Map),t=d.useCallback((o,s,a,i)=>{let l=i!=null&&i.once?(...c)=>{e.current.delete(a),a(...c)}:a;e.current.set(a,{type:s,eventTarget:o,fn:l,options:i}),o.addEventListener(s,l,i)},[]),n=d.useCallback((o,s,a,i)=>{var l;let c=((l=e.current.get(a))===null||l===void 0?void 0:l.fn)||a;o.removeEventListener(s,c,i),e.current.delete(a)},[]),r=d.useCallback(()=>{e.current.forEach((o,s)=>{n(o.eventTarget,o.type,s,o.options)})},[n]);return d.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Jm(e){return e.mozInputSource===0&&e.isTrusted?!0:Xm()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Cc(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Zm(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function kc(e){let t=d.useRef({isFocused:!1,observer:null});wc(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Um(r=>{e==null||e(r)});return d.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,s=a=>{if(t.current.isFocused=!1,o.disabled){let i=Cc(a);n(i)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",s,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var a;(a=t.current.observer)===null||a===void 0||a.disconnect();let i=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let eg=!1,ar=null,ks=new Set,qn=new Map,en=!1,Ts=!1;const tg={Tab:!0,Escape:!0};function na(e,t){for(let n of ks)n(e,t)}function ng(e){return!(e.metaKey||!ta()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Lr(e){en=!0,ng(e)&&(ar="keyboard",na("keyboard",e))}function Me(e){ar="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(en=!0,na("pointer",e))}function Tc(e){Jm(e)&&(en=!0,ar="virtual")}function Oc(e){e.target===window||e.target===document||eg||!e.isTrusted||(!en&&!Ts&&(ar="virtual",na("virtual",e)),en=!1,Ts=!1)}function Pc(){en=!1,Ts=!0}function Os(e){if(typeof window>"u"||typeof document>"u"||qn.get(jt(e)))return;const t=jt(e),n=It(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){en=!0,r.apply(this,arguments)},n.addEventListener("keydown",Lr,!0),n.addEventListener("keyup",Lr,!0),n.addEventListener("click",Tc,!0),t.addEventListener("focus",Oc,!0),t.addEventListener("blur",Pc,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Me,!0),n.addEventListener("pointermove",Me,!0),n.addEventListener("pointerup",Me,!0)):process.env.NODE_ENV==="test"&&(n.addEventListener("mousedown",Me,!0),n.addEventListener("mousemove",Me,!0),n.addEventListener("mouseup",Me,!0)),t.addEventListener("beforeunload",()=>{Ac(e)},{once:!0}),qn.set(t,{focus:r})}const Ac=(e,t)=>{const n=jt(e),r=It(e);t&&r.removeEventListener("DOMContentLoaded",t),qn.has(n)&&(n.HTMLElement.prototype.focus=qn.get(n).focus,r.removeEventListener("keydown",Lr,!0),r.removeEventListener("keyup",Lr,!0),r.removeEventListener("click",Tc,!0),n.removeEventListener("focus",Oc,!0),n.removeEventListener("blur",Pc,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",Me,!0),r.removeEventListener("pointermove",Me,!0),r.removeEventListener("pointerup",Me,!0)):process.env.NODE_ENV==="test"&&(r.removeEventListener("mousedown",Me,!0),r.removeEventListener("mousemove",Me,!0),r.removeEventListener("mouseup",Me,!0)),qn.delete(n))};function rg(e){const t=It(e);let n;return t.readyState!=="loading"?Os(e):(n=()=>{Os(e)},t.addEventListener("DOMContentLoaded",n)),()=>Ac(e,n)}typeof document<"u"&&rg();function Rc(){return ar!=="pointer"}const og=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function sg(e,t,n){let r=It(n==null?void 0:n.target);const o=typeof window<"u"?jt(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,s=typeof window<"u"?jt(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?jt(n==null?void 0:n.target).HTMLElement:HTMLElement,i=typeof window<"u"?jt(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof o&&!og.has(r.activeElement.type)||r.activeElement instanceof s||r.activeElement instanceof a&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof i&&!tg[n.key])}function ag(e,t,n){Os(),d.useEffect(()=>{let r=(o,s)=>{sg(!!(n!=null&&n.isTextInput),o,s)&&e(Rc())};return ks.add(r),()=>{ks.delete(r)}},t)}function ig(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const s=d.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),o&&o(!1),!0},[r,o]),a=kc(s),i=d.useCallback(l=>{const c=It(l.target),u=c?Cs(c):Cs();l.target===l.currentTarget&&u===Ec(l.nativeEvent)&&(n&&n(l),o&&o(!0),a(l))},[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||r)?i:void 0,onBlur:!t&&(r||o)?s:void 0}}}function lg(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,s=d.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:i}=Sc(),l=d.useCallback(f=>{f.currentTarget.contains(f.target)&&s.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(s.current.isFocusWithin=!1,i(),n&&n(f),o&&o(!1))},[n,o,s,i]),c=kc(l),u=d.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const p=It(f.target),h=Cs(p);if(!s.current.isFocusWithin&&h===Ec(f.nativeEvent)){r&&r(f),o&&o(!0),s.current.isFocusWithin=!0,c(f);let b=f.currentTarget;a(p,"focus",g=>{if(s.current.isFocusWithin&&!xc(b,g.target)){let y=new p.defaultView.FocusEvent("blur",{relatedTarget:g.target});Zm(y,b);let x=Cc(y);l(x)}},{capture:!0})}},[r,o,c,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:l}}}let Nr=!1,$o=0;function Ps(){Nr=!0,setTimeout(()=>{Nr=!1},50)}function vi(e){e.pointerType==="touch"&&Ps()}function cg(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",vi):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",Ps),$o++,()=>{$o--,!($o>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",vi):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",Ps))}}function ug(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[s,a]=d.useState(!1),i=d.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;d.useEffect(cg,[]);let{addGlobalListener:l,removeAllGlobalListeners:c}=Sc(),{hoverProps:u,triggerHoverEnd:f}=d.useMemo(()=>{let p=(g,y)=>{if(i.pointerType=y,o||y==="touch"||i.isHovered||!g.currentTarget.contains(g.target))return;i.isHovered=!0;let x=g.currentTarget;i.target=x,l(It(g.target),"pointerover",S=>{i.isHovered&&i.target&&!xc(i.target,S.target)&&h(S,S.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:x,pointerType:y}),n&&n(!0),a(!0)},h=(g,y)=>{let x=i.target;i.pointerType="",i.target=null,!(y==="touch"||!i.isHovered||!x)&&(i.isHovered=!1,c(),r&&r({type:"hoverend",target:x,pointerType:y}),n&&n(!1),a(!1))},b={};return typeof PointerEvent<"u"?(b.onPointerEnter=g=>{Nr&&g.pointerType==="mouse"||p(g,g.pointerType)},b.onPointerLeave=g=>{!o&&g.currentTarget.contains(g.target)&&h(g,g.pointerType)}):process.env.NODE_ENV==="test"&&(b.onTouchStart=()=>{i.ignoreEmulatedMouseEvents=!0},b.onMouseEnter=g=>{!i.ignoreEmulatedMouseEvents&&!Nr&&p(g,"mouse"),i.ignoreEmulatedMouseEvents=!1},b.onMouseLeave=g=>{!o&&g.currentTarget.contains(g.target)&&h(g,"mouse")}),{hoverProps:b,triggerHoverEnd:h}},[t,n,r,o,i,l,c]);return d.useEffect(()=>{o&&f({currentTarget:i.target},i.pointerType)},[o]),{hoverProps:u,isHovered:s}}function fg(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=d.useRef({isFocused:!1,isFocusVisible:t||Rc()}),[s,a]=d.useState(!1),[i,l]=d.useState(()=>o.current.isFocused&&o.current.isFocusVisible),c=d.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),u=d.useCallback(h=>{o.current.isFocused=h,a(h),c()},[c]);ag(h=>{o.current.isFocusVisible=h,c()},[],{isTextInput:n});let{focusProps:f}=ig({isDisabled:r,onFocusChange:u}),{focusWithinProps:p}=lg({isDisabled:!r,onFocusWithinChange:u});return{isFocused:s,isFocusVisible:i,focusProps:r?p:f}}var dg=Object.defineProperty,hg=(e,t,n)=>t in e?dg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fo=(e,t,n)=>(hg(e,typeof t!="symbol"?t+"":t,n),n);let pg=class{constructor(){Fo(this,"current",this.detect()),Fo(this,"handoffState","pending"),Fo(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Yt=new pg;function Qr(e){var t,n;return Yt.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(n=(t=e.current)==null?void 0:t.ownerDocument)!=null?n:document:null:document}function Xr(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function ft(){let e=[],t={addEventListener(n,r,o,s){return n.addEventListener(r,o,s),t.add(()=>n.removeEventListener(r,o,s))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Xr(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let s=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:s})})},group(n){let r=ft();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}function ra(){let[e]=d.useState(ft);return d.useEffect(()=>()=>e.dispose(),[e]),e}let ve=(e,t)=>{Yt.isServer?d.useEffect(e,t):d.useLayoutEffect(e,t)};function nn(e){let t=d.useRef(e);return ve(()=>{t.current=e},[e]),t}let ce=function(e){let t=nn(e);return d.useCallback((...n)=>t.current(...n),[t])},$c=d.createContext(void 0);function Jr(){return d.useContext($c)}function mg({value:e,children:t}){return d.createElement($c.Provider,{value:e},t)}function As(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function it(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,it),r}var _r=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(_r||{}),Ot=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Ot||{});function Te(){let e=bg();return d.useCallback(t=>gg({mergeRefs:e,...t}),[e])}function gg({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:s=!0,name:a,mergeRefs:i}){i=i??yg;let l=Fc(t,e);if(s)return yr(l,n,r,a,i);let c=o??0;if(c&2){let{static:u=!1,...f}=l;if(u)return yr(f,n,r,a,i)}if(c&1){let{unmount:u=!0,...f}=l;return it(u?0:1,{0(){return null},1(){return yr({...f,hidden:!0,style:{display:"none"}},n,r,a,i)}})}return yr(l,n,r,a,i)}function yr(e,t={},n,r,o){let{as:s=n,children:a,refName:i="ref",...l}=Io(e,["unmount","static"]),c=e.ref!==void 0?{[i]:e.ref}:{},u=typeof a=="function"?a(t):a;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let f={};if(t){let p=!1,h=[];for(let[b,g]of Object.entries(t))typeof g=="boolean"&&(p=!0),g===!0&&h.push(b.replace(/([A-Z])/g,y=>`-${y.toLowerCase()}`));if(p){f["data-headlessui-state"]=h.join(" ");for(let b of h)f[`data-${b}`]=""}}if(s===d.Fragment&&(Object.keys(Nt(l)).length>0||Object.keys(Nt(f)).length>0))if(!d.isValidElement(u)||Array.isArray(u)&&u.length>1){if(Object.keys(Nt(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Nt(l)).concat(Object.keys(Nt(f))).map(p=>` - ${p}`).join(`
584
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fp(e){var t,n=e.beat,r=e.fade,o=e.beatFade,s=e.bounce,a=e.shake,i=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,f=e.pulse,p=e.fixedWidth,h=e.inverse,b=e.border,g=e.listItem,y=e.flip,x=e.size,S=e.rotation,w=e.pull,C=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":s,"fa-shake":a,"fa-flash":i,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":p,"fa-inverse":h,"fa-border":b,"fa-li":g,"fa-flip":y===!0,"fa-flip-horizontal":y==="horizontal"||y==="both","fa-flip-vertical":y==="vertical"||y==="both"},ln(t,"fa-".concat(x),typeof x<"u"&&x!==null),ln(t,"fa-rotate-".concat(S),typeof S<"u"&&S!==null&&S!==0),ln(t,"fa-pull-".concat(w),typeof w<"u"&&w!==null),ln(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(C).map(function(v){return C[v]?v:null}).filter(function(v){return v})}function Ip(e){return e=e-0,e===e}function rc(e){return Ip(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var Mp=["style"];function Lp(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Np(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),o=rc(n.slice(0,r)),s=n.slice(r+1).trim();return o.startsWith("webkit")?t[Lp(o)]=s:t[o]=s,t},{})}function oc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return oc(e,l)}),o=Object.keys(t.attributes||{}).reduce(function(l,c){var u=t.attributes[c];switch(c){case"class":l.attrs.className=u,delete t.attributes.class;break;case"style":l.attrs.style=Np(u);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=u:l.attrs[rc(c)]=u}return l},{attrs:{}}),s=n.style,a=s===void 0?{}:s,i=nc(n,Mp);return o.attrs.style=Tt(Tt({},o.attrs.style),a),e.apply(void 0,[t.tag,Tt(Tt({},o.attrs),i)].concat(ys(r)))}var sc=!1;try{sc=process.env.NODE_ENV==="production"}catch{}function _p(){if(!sc&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function ai(e){if(e&&Fr(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(bs.icon)return bs.icon(e);if(e===null)return null;if(e&&Fr(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Co(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?ln({},e,t):{}}var Dp=["forwardedRef"];function tn(e){var t=e.forwardedRef,n=nc(e,Dp),r=n.icon,o=n.mask,s=n.symbol,a=n.className,i=n.title,l=n.titleId,c=n.maskId,u=ai(r),f=Co("classes",[].concat(ys(Fp(n)),ys(a.split(" ")))),p=Co("transform",typeof n.transform=="string"?bs.transform(n.transform):n.transform),h=Co("mask",ai(o)),b=bp(u,Tt(Tt(Tt(Tt({},f),p),h),{},{symbol:s,title:i,titleId:l,maskId:c}));if(!b)return _p("Could not find icon",u),null;var g=b.abstract,y={ref:t};return Object.keys(n).forEach(function(x){tn.defaultProps.hasOwnProperty(x)||(y[x]=n[x])}),jp(g[0],y)}tn.displayName="FontAwesomeIcon";tn.propTypes={beat:te.bool,border:te.bool,beatFade:te.bool,bounce:te.bool,className:te.string,fade:te.bool,flash:te.bool,mask:te.oneOfType([te.object,te.array,te.string]),maskId:te.string,fixedWidth:te.bool,inverse:te.bool,flip:te.oneOf([!0,!1,"horizontal","vertical","both"]),icon:te.oneOfType([te.object,te.array,te.string]),listItem:te.bool,pull:te.oneOf(["right","left"]),pulse:te.bool,rotation:te.oneOf([0,90,180,270]),shake:te.bool,size:te.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:te.bool,spinPulse:te.bool,spinReverse:te.bool,symbol:te.oneOfType([te.bool,te.string]),title:te.string,titleId:te.string,transform:te.oneOfType([te.string,te.object]),swapOpacity:te.bool};tn.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var jp=oc.bind(null,d.createElement);function qr(){return typeof window<"u"}function In(e){return ac(e)?(e.nodeName||"").toLowerCase():"#document"}function Ae(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ct(e){var t;return(t=(ac(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ac(e){return qr()?e instanceof Node||e instanceof Ae(e).Node:!1}function me(e){return qr()?e instanceof Element||e instanceof Ae(e).Element:!1}function ze(e){return qr()?e instanceof HTMLElement||e instanceof Ae(e).HTMLElement:!1}function ws(e){return!qr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ae(e).ShadowRoot}function sr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Le(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function zp(e){return["table","td","th"].includes(In(e))}function Vr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Xs(e){const t=Gr(),n=me(e)?Le(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Hp(e){let t=at(e);for(;ze(t)&&!et(t);){if(Xs(t))return t;if(Vr(t))return null;t=at(t)}return null}function Gr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(e){return["html","body","#document"].includes(In(e))}function Le(e){return Ae(e).getComputedStyle(e)}function Kr(e){return me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function at(e){if(In(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ws(e)&&e.host||ct(e);return ws(t)?t.host:t}function ic(e){const t=at(e);return et(t)?e.ownerDocument?e.ownerDocument.body:e.body:ze(t)&&sr(t)?t:ic(t)}function dn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=ic(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),a=Ae(o);if(s){const i=xs(a);return t.concat(a,a.visualViewport||[],sr(o)?o:[],i&&n?dn(i):[])}return t.concat(o,dn(o,[],n))}function xs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const ii=Math.min,Bn=Math.max,Ir=Math.round,Ke=e=>({x:e,y:e});function lc(e){return e.split("-")[0]}function Wp(e){return e.split("-")[1]}function Up(e){return e==="x"?"y":"x"}function Bp(e){return e==="y"?"height":"width"}function cc(e){return["top","bottom"].includes(lc(e))?"y":"x"}function qp(e){return Up(cc(e))}function uc(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function li(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&ws(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Ln(e){return"composedPath"in e?e.composedPath()[0]:e.target}function ko(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function Vp(e){return e.matches("html,body")}function ci(e){return(e==null?void 0:e.ownerDocument)||document}function To(e,t){let n=e.filter(o=>{var s;return o.parentId===t&&((s=o.context)==null?void 0:s.open)}),r=n;for(;r.length;)r=e.filter(o=>{var s;return(s=r)==null?void 0:s.some(a=>{var i;return o.parentId===a.id&&((i=o.context)==null?void 0:i.open)})}),n=n.concat(r);return n}function Gp(e){return"nativeEvent"in e}var Kp=typeof document<"u",Yp=function(){},Es=Kp?d.useLayoutEffect:Yp;const Qp={...F},Xp=Qp.useInsertionEffect,Jp=Xp||(e=>e());function sn(e){const t=F.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return Jp(()=>{t.current=e}),F.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.current==null?void 0:t.current(...r)},[])}function ui(e,t,n){let{reference:r,floating:o}=e;const s=cc(t),a=qp(t),i=Bp(a),l=lc(t),c=s==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[i]/2-o[i]/2;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Wp(t)){case"start":h[a]-=p*(n&&c?-1:1);break;case"end":h[a]+=p*(n&&c?-1:1);break}return h}const Zp=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:a}=n,i=s.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=ui(c,r,l),p=r,h={},b=0;for(let g=0;g<i.length;g++){const{name:y,fn:x}=i[g],{x:S,y:w,data:C,reset:v}=await x({x:u,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=S??u,f=w??f,h={...h,[y]:{...h[y],...C}},v&&b<=50&&(b++,typeof v=="object"&&(v.placement&&(p=v.placement),v.rects&&(c=v.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):v.rects),{x:u,y:f}=ui(c,p,l)),g=-1)}return{x:u,y:f,placement:p,strategy:o,middlewareData:h}};function fc(e){const t=Le(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ze(e),s=o?e.offsetWidth:n,a=o?e.offsetHeight:r,i=Ir(n)!==s||Ir(r)!==a;return i&&(n=s,r=a),{width:n,height:r,$:i}}function dc(e){return me(e)?e:e.contextElement}function hn(e){const t=dc(e);if(!ze(t))return Ke(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=fc(t);let a=(s?Ir(n.width):n.width)/r,i=(s?Ir(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!i||!Number.isFinite(i))&&(i=1),{x:a,y:i}}const em=Ke(0);function hc(e){const t=Ae(e);return!Gr()||!t.visualViewport?em:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function tm(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ae(e)?!1:t}function Xn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=dc(e);let a=Ke(1);t&&(r?me(r)&&(a=hn(r)):a=hn(e));const i=tm(s,n,r)?hc(s):Ke(0);let l=(o.left+i.x)/a.x,c=(o.top+i.y)/a.y,u=o.width/a.x,f=o.height/a.y;if(s){const p=Ae(s),h=r&&me(r)?Ae(r):r;let b=p,g=xs(b);for(;g&&r&&h!==b;){const y=hn(g),x=g.getBoundingClientRect(),S=Le(g),w=x.left+(g.clientLeft+parseFloat(S.paddingLeft))*y.x,C=x.top+(g.clientTop+parseFloat(S.paddingTop))*y.y;l*=y.x,c*=y.y,u*=y.x,f*=y.y,l+=w,c+=C,b=Ae(g),g=xs(b)}}return uc({width:u,height:f,x:l,y:c})}function Js(e,t){const n=Kr(e).scrollLeft;return t?t.left+n:Xn(ct(e)).left+n}function pc(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Js(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function nm(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",a=ct(r),i=t?Vr(t.floating):!1;if(r===a||i&&s)return n;let l={scrollLeft:0,scrollTop:0},c=Ke(1);const u=Ke(0),f=ze(r);if((f||!f&&!s)&&((In(r)!=="body"||sr(a))&&(l=Kr(r)),ze(r))){const h=Xn(r);c=hn(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}const p=a&&!f&&!s?pc(a,l,!0):Ke(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:n.y*c.y-l.scrollTop*c.y+u.y+p.y}}function rm(e){return Array.from(e.getClientRects())}function om(e){const t=ct(e),n=Kr(e),r=e.ownerDocument.body,o=Bn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Bn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Js(e);const i=-n.scrollTop;return Le(r).direction==="rtl"&&(a+=Bn(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:a,y:i}}function sm(e,t){const n=Ae(e),r=ct(e),o=n.visualViewport;let s=r.clientWidth,a=r.clientHeight,i=0,l=0;if(o){s=o.width,a=o.height;const c=Gr();(!c||c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}return{width:s,height:a,x:i,y:l}}function am(e,t){const n=Xn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=ze(e)?hn(e):Ke(1),a=e.clientWidth*s.x,i=e.clientHeight*s.y,l=o*s.x,c=r*s.y;return{width:a,height:i,x:l,y:c}}function fi(e,t,n){let r;if(t==="viewport")r=sm(e,n);else if(t==="document")r=om(ct(e));else if(me(t))r=am(t,n);else{const o=hc(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return uc(r)}function mc(e,t){const n=at(e);return n===t||!me(n)||et(n)?!1:Le(n).position==="fixed"||mc(n,t)}function im(e,t){const n=t.get(e);if(n)return n;let r=dn(e,[],!1).filter(i=>me(i)&&In(i)!=="body"),o=null;const s=Le(e).position==="fixed";let a=s?at(e):e;for(;me(a)&&!et(a);){const i=Le(a),l=Xs(a);!l&&i.position==="fixed"&&(o=null),(s?!l&&!o:!l&&i.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||sr(a)&&!l&&mc(e,a))?r=r.filter(u=>u!==a):o=i,a=at(a)}return t.set(e,r),r}function lm(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Vr(t)?[]:im(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((c,u)=>{const f=fi(t,u,o);return c.top=Bn(f.top,c.top),c.right=ii(f.right,c.right),c.bottom=ii(f.bottom,c.bottom),c.left=Bn(f.left,c.left),c},fi(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function cm(e){const{width:t,height:n}=fc(e);return{width:t,height:n}}function um(e,t,n){const r=ze(t),o=ct(t),s=n==="fixed",a=Xn(e,!0,s,t);let i={scrollLeft:0,scrollTop:0};const l=Ke(0);function c(){l.x=Js(o)}if(r||!r&&!s)if((In(t)!=="body"||sr(o))&&(i=Kr(t)),r){const h=Xn(t,!0,s,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&c();s&&!r&&o&&c();const u=o&&!r&&!s?pc(o,i):Ke(0),f=a.left+i.scrollLeft-l.x-u.x,p=a.top+i.scrollTop-l.y-u.y;return{x:f,y:p,width:a.width,height:a.height}}function Oo(e){return Le(e).position==="static"}function di(e,t){if(!ze(e)||Le(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ct(e)===n&&(n=n.ownerDocument.body),n}function gc(e,t){const n=Ae(e);if(Vr(e))return n;if(!ze(e)){let o=at(e);for(;o&&!et(o);){if(me(o)&&!Oo(o))return o;o=at(o)}return n}let r=di(e,t);for(;r&&zp(r)&&Oo(r);)r=di(r,t);return r&&et(r)&&Oo(r)&&!Xs(r)?n:r||Hp(e)||n}const fm=async function(e){const t=this.getOffsetParent||gc,n=this.getDimensions,r=await n(e.floating);return{reference:um(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function dm(e){return Le(e).direction==="rtl"}const hm={convertOffsetParentRelativeRectToViewportRelativeRect:nm,getDocumentElement:ct,getClippingRect:lm,getOffsetParent:gc,getElementRects:fm,getClientRects:rm,getDimensions:cm,getScale:hn,isElement:me,isRTL:dm},pm=(e,t,n)=>{const r=new Map,o={platform:hm,...n},s={...o.platform,_c:r};return Zp(e,t,{...o,platform:s})};var mm=typeof document<"u",gm=function(){},Cr=mm?d.useLayoutEffect:gm;function Mr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Mr(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Mr(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function bc(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function hi(e,t){const n=bc(e);return Math.round(t*n)/n}function Po(e){const t=F.useRef(e);return Cr(()=>{t.current=e}),t}function bm(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:a}={},transform:i=!0,whileElementsMounted:l,open:c}=e,[u,f]=F.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=F.useState(r);Mr(p,r)||h(r);const[b,g]=F.useState(null),[y,x]=F.useState(null),S=F.useCallback(T=>{T!==L.current&&(L.current=T,g(T))},[]),w=F.useCallback(T=>{T!==q.current&&(q.current=T,x(T))},[]),C=s||b,v=a||y,L=F.useRef(null),q=F.useRef(null),R=F.useRef(u),U=l!=null,G=Po(l),le=Po(o),ue=Po(c),oe=F.useCallback(()=>{if(!L.current||!q.current)return;const T={placement:t,strategy:n,middleware:p};le.current&&(T.platform=le.current),pm(L.current,q.current,T).then(V=>{const E={...V,isPositioned:ue.current!==!1};fe.current&&!Mr(R.current,E)&&(R.current=E,wu.flushSync(()=>{f(E)}))})},[p,t,n,le,ue]);Cr(()=>{c===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,f(T=>({...T,isPositioned:!1})))},[c]);const fe=F.useRef(!1);Cr(()=>(fe.current=!0,()=>{fe.current=!1}),[]),Cr(()=>{if(C&&(L.current=C),v&&(q.current=v),C&&v){if(G.current)return G.current(C,v,oe);oe()}},[C,v,oe,G,U]);const B=F.useMemo(()=>({reference:L,floating:q,setReference:S,setFloating:w}),[S,w]),K=F.useMemo(()=>({reference:C,floating:v}),[C,v]),ne=F.useMemo(()=>{const T={position:n,left:0,top:0};if(!K.floating)return T;const V=hi(K.floating,u.x),E=hi(K.floating,u.y);return i?{...T,transform:"translate("+V+"px, "+E+"px)",...bc(K.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:E}},[n,i,K.floating,u.x,u.y]);return F.useMemo(()=>({...u,update:oe,refs:B,elements:K,floatingStyles:ne}),[u,oe,B,K,ne])}const ym="data-floating-ui-focusable",pi="active",mi="selected",vm={...F};let gi=!1,wm=0;const bi=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+wm++;function xm(){const[e,t]=F.useState(()=>gi?bi():void 0);return Es(()=>{e==null&&t(bi())},[]),F.useEffect(()=>{gi=!0},[]),e}const Em=vm.useId,Sm=Em||xm;let Ss;process.env.NODE_ENV!=="production"&&(Ss=new Set);function Cm(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");if(!((e=Ss)!=null&&e.has(o))){var s;(s=Ss)==null||s.add(o),console.error(o)}}function km(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;(r=e.get(t))==null||r.delete(n)}}}const Tm=F.createContext(null),Om=F.createContext(null),Pm=()=>{var e;return((e=F.useContext(Tm))==null?void 0:e.id)||null},yc=()=>F.useContext(Om);function Am(e){return"data-floating-ui-"+e}function Rm(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const $m={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Fm={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},yi=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}};function Im(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,elements:o,dataRef:s}=e,{enabled:a=!0,escapeKey:i=!0,outsidePress:l=!0,outsidePressEvent:c="pointerdown",referencePress:u=!1,referencePressEvent:f="pointerdown",ancestorScroll:p=!1,bubbles:h,capture:b}=t,g=yc(),y=sn(typeof l=="function"?l:()=>!1),x=typeof l=="function"?y:l,S=F.useRef(!1),{escapeKey:w,outsidePress:C}=yi(h),{escapeKey:v,outsidePress:L}=yi(b),q=F.useRef(!1),R=F.useRef(-1),U=sn(B=>{var K;if(!n||!a||!i||B.key!=="Escape"||q.current)return;const ne=(K=s.current.floatingContext)==null?void 0:K.nodeId,T=g?To(g.nodesRef.current,ne):[];if(!w&&(B.stopPropagation(),T.length>0)){let V=!0;if(T.forEach(E=>{var P;if((P=E.context)!=null&&P.open&&!E.context.dataRef.current.__escapeKeyBubbles){V=!1;return}}),!V)return}r(!1,Gp(B)?B.nativeEvent:B,"escape-key")}),G=sn(B=>{var K;const ne=()=>{var T;U(B),(T=Ln(B))==null||T.removeEventListener("keydown",ne)};(K=Ln(B))==null||K.addEventListener("keydown",ne)}),le=sn(B=>{var K;const ne=s.current.insideReactTree;s.current.insideReactTree=!1;const T=S.current;if(S.current=!1,c==="click"&&T||ne||typeof x=="function"&&!x(B))return;const V=Ln(B),E="["+Am("inert")+"]",P=ci(o.floating).querySelectorAll(E);let W=me(V)?V:null;for(;W&&!et(W);){const z=at(W);if(et(z)||!me(z))break;W=z}if(P.length&&me(V)&&!Vp(V)&&!li(V,o.floating)&&Array.from(P).every(z=>!li(W,z)))return;if(ze(V)&&fe){const z=et(V),I=Le(V),Q=/auto|scroll/,X=z||Q.test(I.overflowX),Z=z||Q.test(I.overflowY),ge=X&&V.clientWidth>0&&V.scrollWidth>V.clientWidth,$=Z&&V.clientHeight>0&&V.scrollHeight>V.clientHeight,$e=I.direction==="rtl",rn=$&&($e?B.offsetX<=V.offsetWidth-V.clientWidth:B.offsetX>V.clientWidth),cr=ge&&B.offsetY>V.clientHeight;if(rn||cr)return}const A=(K=s.current.floatingContext)==null?void 0:K.nodeId,D=g&&To(g.nodesRef.current,A).some(z=>{var I;return ko(B,(I=z.context)==null?void 0:I.elements.floating)});if(ko(B,o.floating)||ko(B,o.domReference)||D)return;const Y=g?To(g.nodesRef.current,A):[];if(Y.length>0){let z=!0;if(Y.forEach(I=>{var Q;if((Q=I.context)!=null&&Q.open&&!I.context.dataRef.current.__outsidePressBubbles){z=!1;return}}),!z)return}r(!1,B,"outside-press")}),ue=sn(B=>{var K;const ne=()=>{var T;le(B),(T=Ln(B))==null||T.removeEventListener(c,ne)};(K=Ln(B))==null||K.addEventListener(c,ne)});F.useEffect(()=>{if(!n||!a)return;s.current.__escapeKeyBubbles=w,s.current.__outsidePressBubbles=C;let B=-1;function K(P){r(!1,P,"ancestor-scroll")}function ne(){window.clearTimeout(B),q.current=!0}function T(){B=window.setTimeout(()=>{q.current=!1},Gr()?5:0)}const V=ci(o.floating);i&&(V.addEventListener("keydown",v?G:U,v),V.addEventListener("compositionstart",ne),V.addEventListener("compositionend",T)),x&&V.addEventListener(c,L?ue:le,L);let E=[];return p&&(me(o.domReference)&&(E=dn(o.domReference)),me(o.floating)&&(E=E.concat(dn(o.floating))),!me(o.reference)&&o.reference&&o.reference.contextElement&&(E=E.concat(dn(o.reference.contextElement)))),E=E.filter(P=>{var W;return P!==((W=V.defaultView)==null?void 0:W.visualViewport)}),E.forEach(P=>{P.addEventListener("scroll",K,{passive:!0})}),()=>{i&&(V.removeEventListener("keydown",v?G:U,v),V.removeEventListener("compositionstart",ne),V.removeEventListener("compositionend",T)),x&&V.removeEventListener(c,L?ue:le,L),E.forEach(P=>{P.removeEventListener("scroll",K)}),window.clearTimeout(B)}},[s,o,i,x,c,n,r,p,a,w,C,U,v,G,le,L,ue]),F.useEffect(()=>{s.current.insideReactTree=!1},[s,x,c]);const oe=F.useMemo(()=>({onKeyDown:U,...u&&{[$m[f]]:B=>{r(!1,B.nativeEvent,"reference-press")},...f!=="click"&&{onClick(B){r(!1,B.nativeEvent,"reference-press")}}}}),[U,r,u,f]),fe=F.useMemo(()=>({onKeyDown:U,onMouseDown(){S.current=!0},onMouseUp(){S.current=!0},[Fm[c]]:()=>{s.current.insideReactTree=!0},onBlurCapture(){g||(Rm(R),s.current.insideReactTree=!0,R.current=window.setTimeout(()=>{s.current.insideReactTree=!1}))}}),[U,c,s,g]);return F.useMemo(()=>a?{reference:oe,floating:fe}:{},[a,oe,fe])}function Mm(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=Sm(),s=F.useRef({}),[a]=F.useState(()=>km()),i=Pm()!=null;if(process.env.NODE_ENV!=="production"){const h=r.reference;h&&!me(h)&&Cm("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[l,c]=F.useState(r.reference),u=sn((h,b,g)=>{s.current.openEvent=h?b:void 0,a.emit("openchange",{open:h,event:b,reason:g,nested:i}),n==null||n(h,b,g)}),f=F.useMemo(()=>({setPositionReference:c}),[]),p=F.useMemo(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);return F.useMemo(()=>({dataRef:s,open:t,onOpenChange:u,elements:p,events:a,floatingId:o,refs:f}),[t,u,p,a,o,f])}function Lm(e){e===void 0&&(e={});const{nodeId:t}=e,n=Mm({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[s,a]=F.useState(null),[i,l]=F.useState(null),u=(o==null?void 0:o.domReference)||s,f=F.useRef(null),p=yc();Es(()=>{u&&(f.current=u)},[u]);const h=bm({...e,elements:{...o,...i&&{reference:i}}}),b=F.useCallback(w=>{const C=me(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),getClientRects:()=>w.getClientRects(),contextElement:w}:w;l(C),h.refs.setReference(C)},[h.refs]),g=F.useCallback(w=>{(me(w)||w===null)&&(f.current=w,a(w)),(me(h.refs.reference.current)||h.refs.reference.current===null||w!==null&&!me(w))&&h.refs.setReference(w)},[h.refs]),y=F.useMemo(()=>({...h.refs,setReference:g,setPositionReference:b,domReference:f}),[h.refs,g,b]),x=F.useMemo(()=>({...h.elements,domReference:u}),[h.elements,u]),S=F.useMemo(()=>({...h,...r,refs:y,elements:x,nodeId:t}),[h,y,x,t,r]);return Es(()=>{r.dataRef.current.floatingContext=S;const w=p==null?void 0:p.nodesRef.current.find(C=>C.id===t);w&&(w.context=S)}),F.useMemo(()=>({...h,context:S,refs:y,elements:x}),[h,y,x,S])}function Ao(e,t,n){const r=new Map,o=n==="item";let s=e;if(o&&e){const{[pi]:a,[mi]:i,...l}=e;s=l}return{...n==="floating"&&{tabIndex:-1,[ym]:""},...s,...t.map(a=>{const i=a?a[n]:null;return typeof i=="function"?e?i(e):null:i}).concat(e).reduce((a,i)=>(i&&Object.entries(i).forEach(l=>{let[c,u]=l;if(!(o&&[pi,mi].includes(c)))if(c.indexOf("on")===0){if(r.has(c)||r.set(c,[]),typeof u=="function"){var f;(f=r.get(c))==null||f.push(u),a[c]=function(){for(var p,h=arguments.length,b=new Array(h),g=0;g<h;g++)b[g]=arguments[g];return(p=r.get(c))==null?void 0:p.map(y=>y(...b)).find(y=>y!==void 0)}}}else a[c]=u}),a),{})}}function Nm(e){e===void 0&&(e=[]);const t=e.map(i=>i==null?void 0:i.reference),n=e.map(i=>i==null?void 0:i.floating),r=e.map(i=>i==null?void 0:i.item),o=F.useCallback(i=>Ao(i,e,"reference"),t),s=F.useCallback(i=>Ao(i,e,"floating"),n),a=F.useCallback(i=>Ao(i,e,"item"),r);return F.useMemo(()=>({getReferenceProps:o,getFloatingProps:s,getItemProps:a}),[o,s,a])}const _m={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},Dm=({transition:e,onClick:t})=>O.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:n=>{n.stopPropagation(),t()},children:[O.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),O.jsx(tn,{icon:md,className:"text-gray-400",width:24}),O.jsx(wl,{category:"outline",color:e.color,children:e.to})]}),jm=({title:e,variant:t="default",transitions:n,onClick:r})=>{const[o,s]=d.useState(!1),{refs:a,floatingStyles:i,context:l}=Lm({strategy:"fixed",placement:"bottom-end",open:o,onOpenChange:s}),c=Im(l,{outsidePress:!0}),{getReferenceProps:u,getFloatingProps:f}=Nm([c]);return O.jsxs(O.Fragment,{children:[O.jsxs("div",{onClick:n!=null&&n.length?()=>s(p=>!p):void 0,ref:a.setReference,className:On("px-1 uppercase border rounded-sm flex items-center",n.length?"cursor-pointer":"pointer-events-none",_m[t]),...u(),children:[O.jsx("span",{className:"text-sm font-bold",children:e}),n.length>0?O.jsx(tn,{icon:gd,width:24,height:24,className:"text-gray-400"}):O.jsx(O.Fragment,{})]}),o&&n.length&&O.jsx("div",{ref:a.setFloating,style:i,className:On("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...f(),children:n.map((p,h)=>O.jsx(Dm,{transition:p,onClick:()=>{r==null||r(p.id),s(!1)}},h))})]})},zm={[he.OPEN]:"border-[#C1C5C8] bg-[#F0F1F2]",[he.IN_PROGRESS]:"bg-[#E6F2FF] border-[#94C8FF]",[he.IN_REVIEW]:"bg-[#EAF6EC] border-[#A5DAB1]",[he.COMPLETED]:"bg-[#EAF6EC] border-[#A5DAB1]"},Ro={PHOTO:"photo",SCREENSHOT:"screenshot"},Hm=({task:e,step:t,playbookType:n,onButtonClick:r,viewMode:o="card",canStart:s=!1})=>{const{buttons:a}=cf({taskStatus:e.workflowStatus,canStart:s}),i=d.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?Ro.SCREENSHOT:e.imageRequired===2?Ro.PHOTO:null,[e.imageRequired]);if(o==="list"){const l=d.useMemo(()=>e.workflowStatus===he.COMPLETED?"success":e.workflowStatus===he.IN_PROGRESS?"primary":"default",[e.workflowStatus]),c=d.useMemo(()=>{const u=[];return a.forEach(f=>{f==="START"&&u.push({id:"START",color:"primary",action:"Start",to:he.IN_PROGRESS}),f==="COMPLETE"&&u.push({id:"COMPLETE",color:"success",action:"Complete",to:he.COMPLETED})}),u},[a]);return O.jsxs("div",{className:"flex gap-3 p-2 border-b border-gray-200",children:[O.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),O.jsx("div",{className:On("text-dark flex-1 truncate",e.workflowStatus===he.COMPLETED&&"text-secondary-400 line-through"),children:e.taskInstanceName}),O.jsx(jm,{title:e.workflowStatus,variant:l,transitions:c,onClick:u=>{r(u)}})]})}return O.jsxs("div",{className:Pr("flex items-stretch rounded-sm overflow-hidden border",zm[e.workflowStatus]),children:[O.jsx(sd,{playbookType:n,status:e.workflowStatus,step:t}),O.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden p-2",children:[n==="Sequential"&&O.jsx("div",{className:"-mb-3 elf-end pr-2 pt-2",children:O.jsx(dd,{status:e.workflowStatus})}),O.jsxs("div",{className:"space-y-2 divide-y divide-black/20 flex flex-1 flex-col",children:[O.jsxs("div",{className:"space-y-2",children:[O.jsx("div",{className:"text-lg font-medium text-[#1C232D] flex-1",children:e.taskInstanceName}),i?O.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[O.jsx(tn,{icon:pd,width:16}),O.jsxs("div",{children:[O.jsx("span",{className:"font-medium",children:i===Ro.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):O.jsx(O.Fragment,{})]}),a.length>0&&O.jsx(td,{buttons:a,onButtonClick:r})]})]})]})},Wm=({title:e,className:t,...n})=>O.jsx("div",{className:t,...n,children:O.jsx("div",{className:"border-y border-gray-200 bg-white",children:O.jsx("h1",{className:"container mx-auto py-3 text-2xl",children:e})})}),vc=async e=>{const t=new Headers;t.append("Content-Type","application/json");const r=await(await fetch("/public-api/playbook-initiate",{method:"POST",headers:t,body:JSON.stringify(e)})).json();return console.log({data:r}),r},wc=typeof document<"u"?d.useLayoutEffect:()=>{};function Um(e){const t=d.useRef(null);return wc(()=>{t.current=e},[e]),d.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}const It=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},jt=e=>e&&"window"in e&&e.window===e?e:It(e).defaultView||window;function Bm(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function qm(e){return Bm(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let Vm=!1;function Zs(){return Vm}function xc(e,t){if(!Zs())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:qm(n)?n=n.host:n=n.parentNode}return!1}const Cs=(e=document)=>{var t;if(!Zs())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function Ec(e){return Zs()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Yr(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function ea(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function ut(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const ta=ut(function(){return ea(/^Mac/i)}),Gm=ut(function(){return ea(/^iPhone/i)}),Km=ut(function(){return ea(/^iPad/i)||ta()&&navigator.maxTouchPoints>1}),Ym=ut(function(){return Gm()||Km()});ut(function(){return ta()||Ym()});ut(function(){return Yr(/AppleWebKit/i)&&!Qm()});const Qm=ut(function(){return Yr(/Chrome/i)}),Xm=ut(function(){return Yr(/Android/i)});ut(function(){return Yr(/Firefox/i)});function Sc(){let e=d.useRef(new Map),t=d.useCallback((o,s,a,i)=>{let l=i!=null&&i.once?(...c)=>{e.current.delete(a),a(...c)}:a;e.current.set(a,{type:s,eventTarget:o,fn:l,options:i}),o.addEventListener(s,l,i)},[]),n=d.useCallback((o,s,a,i)=>{var l;let c=((l=e.current.get(a))===null||l===void 0?void 0:l.fn)||a;o.removeEventListener(s,c,i),e.current.delete(a)},[]),r=d.useCallback(()=>{e.current.forEach((o,s)=>{n(o.eventTarget,o.type,s,o.options)})},[n]);return d.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Jm(e){return e.mozInputSource===0&&e.isTrusted?!0:Xm()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Cc(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function Zm(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function kc(e){let t=d.useRef({isFocused:!1,observer:null});wc(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Um(r=>{e==null||e(r)});return d.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=r.target,s=a=>{if(t.current.isFocused=!1,o.disabled){let i=Cc(a);n(i)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",s,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var a;(a=t.current.observer)===null||a===void 0||a.disconnect();let i=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:i})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:i}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let eg=!1,ar=null,ks=new Set,qn=new Map,en=!1,Ts=!1;const tg={Tab:!0,Escape:!0};function na(e,t){for(let n of ks)n(e,t)}function ng(e){return!(e.metaKey||!ta()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Lr(e){en=!0,ng(e)&&(ar="keyboard",na("keyboard",e))}function Me(e){ar="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(en=!0,na("pointer",e))}function Tc(e){Jm(e)&&(en=!0,ar="virtual")}function Oc(e){e.target===window||e.target===document||eg||!e.isTrusted||(!en&&!Ts&&(ar="virtual",na("virtual",e)),en=!1,Ts=!1)}function Pc(){en=!1,Ts=!0}function Os(e){if(typeof window>"u"||typeof document>"u"||qn.get(jt(e)))return;const t=jt(e),n=It(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){en=!0,r.apply(this,arguments)},n.addEventListener("keydown",Lr,!0),n.addEventListener("keyup",Lr,!0),n.addEventListener("click",Tc,!0),t.addEventListener("focus",Oc,!0),t.addEventListener("blur",Pc,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Me,!0),n.addEventListener("pointermove",Me,!0),n.addEventListener("pointerup",Me,!0)):process.env.NODE_ENV==="test"&&(n.addEventListener("mousedown",Me,!0),n.addEventListener("mousemove",Me,!0),n.addEventListener("mouseup",Me,!0)),t.addEventListener("beforeunload",()=>{Ac(e)},{once:!0}),qn.set(t,{focus:r})}const Ac=(e,t)=>{const n=jt(e),r=It(e);t&&r.removeEventListener("DOMContentLoaded",t),qn.has(n)&&(n.HTMLElement.prototype.focus=qn.get(n).focus,r.removeEventListener("keydown",Lr,!0),r.removeEventListener("keyup",Lr,!0),r.removeEventListener("click",Tc,!0),n.removeEventListener("focus",Oc,!0),n.removeEventListener("blur",Pc,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",Me,!0),r.removeEventListener("pointermove",Me,!0),r.removeEventListener("pointerup",Me,!0)):process.env.NODE_ENV==="test"&&(r.removeEventListener("mousedown",Me,!0),r.removeEventListener("mousemove",Me,!0),r.removeEventListener("mouseup",Me,!0)),qn.delete(n))};function rg(e){const t=It(e);let n;return t.readyState!=="loading"?Os(e):(n=()=>{Os(e)},t.addEventListener("DOMContentLoaded",n)),()=>Ac(e,n)}typeof document<"u"&&rg();function Rc(){return ar!=="pointer"}const og=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function sg(e,t,n){let r=It(n==null?void 0:n.target);const o=typeof window<"u"?jt(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,s=typeof window<"u"?jt(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?jt(n==null?void 0:n.target).HTMLElement:HTMLElement,i=typeof window<"u"?jt(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof o&&!og.has(r.activeElement.type)||r.activeElement instanceof s||r.activeElement instanceof a&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof i&&!tg[n.key])}function ag(e,t,n){Os(),d.useEffect(()=>{let r=(o,s)=>{sg(!!(n!=null&&n.isTextInput),o,s)&&e(Rc())};return ks.add(r),()=>{ks.delete(r)}},t)}function ig(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const s=d.useCallback(l=>{if(l.target===l.currentTarget)return r&&r(l),o&&o(!1),!0},[r,o]),a=kc(s),i=d.useCallback(l=>{const c=It(l.target),u=c?Cs(c):Cs();l.target===l.currentTarget&&u===Ec(l.nativeEvent)&&(n&&n(l),o&&o(!0),a(l))},[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||r)?i:void 0,onBlur:!t&&(r||o)?s:void 0}}}function lg(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,s=d.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:i}=Sc(),l=d.useCallback(f=>{f.currentTarget.contains(f.target)&&s.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(s.current.isFocusWithin=!1,i(),n&&n(f),o&&o(!1))},[n,o,s,i]),c=kc(l),u=d.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const p=It(f.target),h=Cs(p);if(!s.current.isFocusWithin&&h===Ec(f.nativeEvent)){r&&r(f),o&&o(!0),s.current.isFocusWithin=!0,c(f);let b=f.currentTarget;a(p,"focus",g=>{if(s.current.isFocusWithin&&!xc(b,g.target)){let y=new p.defaultView.FocusEvent("blur",{relatedTarget:g.target});Zm(y,b);let x=Cc(y);l(x)}},{capture:!0})}},[r,o,c,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:l}}}let Nr=!1,$o=0;function Ps(){Nr=!0,setTimeout(()=>{Nr=!1},50)}function vi(e){e.pointerType==="touch"&&Ps()}function cg(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",vi):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",Ps),$o++,()=>{$o--,!($o>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",vi):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",Ps))}}function ug(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[s,a]=d.useState(!1),i=d.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;d.useEffect(cg,[]);let{addGlobalListener:l,removeAllGlobalListeners:c}=Sc(),{hoverProps:u,triggerHoverEnd:f}=d.useMemo(()=>{let p=(g,y)=>{if(i.pointerType=y,o||y==="touch"||i.isHovered||!g.currentTarget.contains(g.target))return;i.isHovered=!0;let x=g.currentTarget;i.target=x,l(It(g.target),"pointerover",S=>{i.isHovered&&i.target&&!xc(i.target,S.target)&&h(S,S.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:x,pointerType:y}),n&&n(!0),a(!0)},h=(g,y)=>{let x=i.target;i.pointerType="",i.target=null,!(y==="touch"||!i.isHovered||!x)&&(i.isHovered=!1,c(),r&&r({type:"hoverend",target:x,pointerType:y}),n&&n(!1),a(!1))},b={};return typeof PointerEvent<"u"?(b.onPointerEnter=g=>{Nr&&g.pointerType==="mouse"||p(g,g.pointerType)},b.onPointerLeave=g=>{!o&&g.currentTarget.contains(g.target)&&h(g,g.pointerType)}):process.env.NODE_ENV==="test"&&(b.onTouchStart=()=>{i.ignoreEmulatedMouseEvents=!0},b.onMouseEnter=g=>{!i.ignoreEmulatedMouseEvents&&!Nr&&p(g,"mouse"),i.ignoreEmulatedMouseEvents=!1},b.onMouseLeave=g=>{!o&&g.currentTarget.contains(g.target)&&h(g,"mouse")}),{hoverProps:b,triggerHoverEnd:h}},[t,n,r,o,i,l,c]);return d.useEffect(()=>{o&&f({currentTarget:i.target},i.pointerType)},[o]),{hoverProps:u,isHovered:s}}function fg(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=d.useRef({isFocused:!1,isFocusVisible:t||Rc()}),[s,a]=d.useState(!1),[i,l]=d.useState(()=>o.current.isFocused&&o.current.isFocusVisible),c=d.useCallback(()=>l(o.current.isFocused&&o.current.isFocusVisible),[]),u=d.useCallback(h=>{o.current.isFocused=h,a(h),c()},[c]);ag(h=>{o.current.isFocusVisible=h,c()},[],{isTextInput:n});let{focusProps:f}=ig({isDisabled:r,onFocusChange:u}),{focusWithinProps:p}=lg({isDisabled:!r,onFocusWithinChange:u});return{isFocused:s,isFocusVisible:i,focusProps:r?p:f}}var dg=Object.defineProperty,hg=(e,t,n)=>t in e?dg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fo=(e,t,n)=>(hg(e,typeof t!="symbol"?t+"":t,n),n);let pg=class{constructor(){Fo(this,"current",this.detect()),Fo(this,"handoffState","pending"),Fo(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Yt=new pg;function Qr(e){var t,n;return Yt.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(n=(t=e.current)==null?void 0:t.ownerDocument)!=null?n:document:null:document}function Xr(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function ft(){let e=[],t={addEventListener(n,r,o,s){return n.addEventListener(r,o,s),t.add(()=>n.removeEventListener(r,o,s))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return Xr(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,o){let s=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:o}),this.add(()=>{Object.assign(n.style,{[r]:s})})},group(n){let r=ft();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let n of e.splice(0))n()}};return t}function ra(){let[e]=d.useState(ft);return d.useEffect(()=>()=>e.dispose(),[e]),e}let ve=(e,t)=>{Yt.isServer?d.useEffect(e,t):d.useLayoutEffect(e,t)};function nn(e){let t=d.useRef(e);return ve(()=>{t.current=e},[e]),t}let ce=function(e){let t=nn(e);return d.useCallback((...n)=>t.current(...n),[t])},$c=d.createContext(void 0);function Jr(){return d.useContext($c)}function mg({value:e,children:t}){return d.createElement($c.Provider,{value:e},t)}function As(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function it(e,t,...n){if(e in t){let o=t[e];return typeof o=="function"?o(...n):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,it),r}var _r=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(_r||{}),Ot=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Ot||{});function Te(){let e=bg();return d.useCallback(t=>gg({mergeRefs:e,...t}),[e])}function gg({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:s=!0,name:a,mergeRefs:i}){i=i??yg;let l=Fc(t,e);if(s)return yr(l,n,r,a,i);let c=o??0;if(c&2){let{static:u=!1,...f}=l;if(u)return yr(f,n,r,a,i)}if(c&1){let{unmount:u=!0,...f}=l;return it(u?0:1,{0(){return null},1(){return yr({...f,hidden:!0,style:{display:"none"}},n,r,a,i)}})}return yr(l,n,r,a,i)}function yr(e,t={},n,r,o){let{as:s=n,children:a,refName:i="ref",...l}=Io(e,["unmount","static"]),c=e.ref!==void 0?{[i]:e.ref}:{},u=typeof a=="function"?a(t):a;"className"in l&&l.className&&typeof l.className=="function"&&(l.className=l.className(t)),l["aria-labelledby"]&&l["aria-labelledby"]===l.id&&(l["aria-labelledby"]=void 0);let f={};if(t){let p=!1,h=[];for(let[b,g]of Object.entries(t))typeof g=="boolean"&&(p=!0),g===!0&&h.push(b.replace(/([A-Z])/g,y=>`-${y.toLowerCase()}`));if(p){f["data-headlessui-state"]=h.join(" ");for(let b of h)f[`data-${b}`]=""}}if(s===d.Fragment&&(Object.keys(Nt(l)).length>0||Object.keys(Nt(f)).length>0))if(!d.isValidElement(u)||Array.isArray(u)&&u.length>1){if(Object.keys(Nt(l)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Nt(l)).concat(Object.keys(Nt(f))).map(p=>` - ${p}`).join(`
585
585
  `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(p=>` - ${p}`).join(`
586
586
  `)].join(`
587
587
  `))}else{let p=u.props,h=p==null?void 0:p.className,b=typeof h=="function"?(...x)=>As(h(...x),l.className):As(h,l.className),g=b?{className:b}:{},y=Fc(u.props,Nt(Io(l,["ref"])));for(let x in f)x in y&&delete f[x];return d.cloneElement(u,Object.assign({},y,f,c,{ref:o(wg(u),c.ref)},g))}return d.createElement(s,Object.assign({},Io(l,["ref"]),s!==d.Fragment&&c,s!==d.Fragment&&f),u)}function bg(){let e=d.useRef([]),t=d.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function yg(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function Fc(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[o=>{var s;return(s=o==null?void 0:o.preventDefault)==null?void 0:s.call(o)}]);for(let r in n)Object.assign(t,{[r](o,...s){let a=n[r];for(let i of a){if((o instanceof Event||(o==null?void 0:o.nativeEvent)instanceof Event)&&o.defaultPrevented)return;i(o,...s)}}});return t}function vg(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(n[o]!=null||(n[o]=[]),n[o].push(r[o])):t[o]=r[o];for(let r in n)Object.assign(t,{[r](...o){let s=n[r];for(let a of s)a==null||a(...o)}});return t}function we(e){var t;return Object.assign(d.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Nt(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function Io(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function wg(e){return d.version.split(".")[0]>="19"?e.props.ref:e.ref}let xg="span";var Jn=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Jn||{});function Eg(e,t){var n;let{features:r=1,...o}=e,s={ref:t,"aria-hidden":(r&2)===2?!0:(n=o["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Te()({ourProps:s,theirProps:o,slot:{},defaultTag:xg,name:"Hidden"})}let Dr=we(Eg),Sg=d.createContext(null);function Cg(e){let[t,n]=d.useState(null);return d.createElement(Sg.Provider,{value:{target:t}},e.children,d.createElement(Dr,{features:Jn.Hidden,ref:n}))}let Ic=d.createContext(void 0);function Mc(){return d.useContext(Ic)}function kg({id:e,children:t}){return d.createElement(Ic.Provider,{value:e},t)}function Lc(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function tt(e){return Lc(e)&&"tagName"in e}function Ft(e){return tt(e)&&"accessKey"in e}function Pt(e){return tt(e)&&"tabIndex"in e}function Tg(e){return tt(e)&&"style"in e}function Og(e){return Ft(e)&&e.nodeName==="IFRAME"}function Nc(e){return Ft(e)&&e.nodeName==="INPUT"}function wi(e){return Ft(e)&&e.nodeName==="LABEL"}function Pg(e){return tt(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let _c=Symbol();function Ag(e,t=!0){return Object.assign(e,{[_c]:t})}function He(...e){let t=d.useRef(e);d.useEffect(()=>{t.current=e},[e]);let n=ce(r=>{for(let o of t.current)o!=null&&(typeof o=="function"?o(r):o.current=r)});return e.every(r=>r==null||(r==null?void 0:r[_c]))?void 0:n}let Zr=d.createContext(null);Zr.displayName="DescriptionContext";function Dc(){let e=d.useContext(Zr);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Dc),t}return e}function Rg(){var e,t;return(t=(e=d.useContext(Zr))==null?void 0:e.value)!=null?t:void 0}function jc(){let[e,t]=d.useState([]);return[e.length>0?e.join(" "):void 0,d.useMemo(()=>function(n){let r=ce(s=>(t(a=>[...a,s]),()=>t(a=>{let i=a.slice(),l=i.indexOf(s);return l!==-1&&i.splice(l,1),i}))),o=d.useMemo(()=>({register:r,slot:n.slot,name:n.name,props:n.props,value:n.value}),[r,n.slot,n.name,n.props,n.value]);return d.createElement(Zr.Provider,{value:o},n.children)},[t])]}let $g="p";function Fg(e,t){let n=d.useId(),r=Jr(),{id:o=`headlessui-description-${n}`,...s}=e,a=Dc(),i=He(t);ve(()=>a.register(o),[o,a.register]);let l=r||!1,c=d.useMemo(()=>({...a.slot,disabled:l}),[a.slot,l]),u={ref:i,...a.props,id:o};return Te()({ourProps:u,theirProps:s,slot:c,defaultTag:$g,name:a.name||"Description"})}let Ig=we(Fg),zc=Object.assign(Ig,{});var Hc=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Hc||{});let eo=d.createContext(null);eo.displayName="LabelContext";function Wc(){let e=d.useContext(eo);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Wc),t}return e}function Uc(e){var t,n,r;let o=(n=(t=d.useContext(eo))==null?void 0:t.value)!=null?n:void 0;return((r=void 0)!=null?r:0)>0?[o,...e].filter(Boolean).join(" "):o}function Mg({inherit:e=!1}={}){let t=Uc(),[n,r]=d.useState([]),o=e?[t,...n].filter(Boolean):n;return[o.length>0?o.join(" "):void 0,d.useMemo(()=>function(s){let a=ce(l=>(r(c=>[...c,l]),()=>r(c=>{let u=c.slice(),f=u.indexOf(l);return f!==-1&&u.splice(f,1),u}))),i=d.useMemo(()=>({register:a,slot:s.slot,name:s.name,props:s.props,value:s.value}),[a,s.slot,s.name,s.props,s.value]);return d.createElement(eo.Provider,{value:i},s.children)},[r])]}let Lg="label";function Ng(e,t){var n;let r=d.useId(),o=Wc(),s=Mc(),a=Jr(),{id:i=`headlessui-label-${r}`,htmlFor:l=s??((n=o.props)==null?void 0:n.htmlFor),passive:c=!1,...u}=e,f=He(t);ve(()=>o.register(i),[i,o.register]);let p=ce(y=>{let x=y.currentTarget;if(!(y.target!==y.currentTarget&&Pg(y.target))&&(wi(x)&&y.preventDefault(),o.props&&"onClick"in o.props&&typeof o.props.onClick=="function"&&o.props.onClick(y),wi(x))){let S=document.getElementById(x.htmlFor);if(S){let w=S.getAttribute("disabled");if(w==="true"||w==="")return;let C=S.getAttribute("aria-disabled");if(C==="true"||C==="")return;(Nc(S)&&(S.type==="file"||S.type==="radio"||S.type==="checkbox")||S.role==="radio"||S.role==="checkbox"||S.role==="switch")&&S.click(),S.focus({preventScroll:!0})}}}),h=a||!1,b=d.useMemo(()=>({...o.slot,disabled:h}),[o.slot,h]),g={ref:f,...o.props,id:i,htmlFor:l,onClick:p};return c&&("onClick"in g&&(delete g.htmlFor,delete g.onClick),"onClick"in u&&delete u.onClick),Te()({ourProps:g,theirProps:u,slot:b,defaultTag:l?Lg:"div",name:o.name||"Label"})}let _g=we(Ng),Dg=Object.assign(_g,{}),jg=d.createContext(()=>{});function zg({value:e,children:t}){return d.createElement(jg.Provider,{value:e},t)}let Bc=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};var Hg=Object.defineProperty,Wg=(e,t,n)=>t in e?Hg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ug=(e,t,n)=>(Wg(e,t+"",n),n),qc=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Fe=(e,t,n)=>(qc(e,t,"read from private field"),n?n.call(e):t.get(e)),Mo=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},xi=(e,t,n,r)=>(qc(e,t,"write to private field"),t.set(e,n),n),We,Dn,jn;let Bg=class{constructor(t){Mo(this,We,{}),Mo(this,Dn,new Bc(()=>new Set)),Mo(this,jn,new Set),Ug(this,"disposables",ft()),xi(this,We,t)}dispose(){this.disposables.dispose()}get state(){return Fe(this,We)}subscribe(t,n){let r={selector:t,callback:n,current:t(Fe(this,We))};return Fe(this,jn).add(r),this.disposables.add(()=>{Fe(this,jn).delete(r)})}on(t,n){return Fe(this,Dn).get(t).add(n),this.disposables.add(()=>{Fe(this,Dn).get(t).delete(n)})}send(t){let n=this.reduce(Fe(this,We),t);if(n!==Fe(this,We)){xi(this,We,n);for(let r of Fe(this,jn)){let o=r.selector(Fe(this,We));Vc(r.current,o)||(r.current=o,r.callback(o))}for(let r of Fe(this,Dn).get(t.type))r(Fe(this,We),t)}}};We=new WeakMap,Dn=new WeakMap,jn=new WeakMap;function Vc(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:Lo(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:Lo(e.entries(),t.entries()):Ei(e)&&Ei(t)?Lo(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function Lo(e,t){do{let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}while(!0)}function Ei(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var qg=Object.defineProperty,Vg=(e,t,n)=>t in e?qg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Si=(e,t,n)=>(Vg(e,typeof t!="symbol"?t+"":t,n),n),Gg=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(Gg||{});let Kg={0(e,t){let n=t.id,r=e.stack,o=e.stack.indexOf(n);if(o!==-1){let s=e.stack.slice();return s.splice(o,1),s.push(n),r=s,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(r===-1)return e;let o=e.stack.slice();return o.splice(r,1),{...e,stack:o}}},Yg=class Gc extends Bg{constructor(){super(...arguments),Si(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Si(this,"selectors",{isTop:(t,n)=>t.stack[t.stack.length-1]===n,inStack:(t,n)=>t.stack.includes(n)})}static new(){return new Gc({stack:[]})}reduce(t,n){return it(n.type,Kg,t,n)}};const Kc=new Bc(()=>Yg.new());var vr={exports:{}},No={};/**
package/dist/index.js CHANGED
@@ -9744,7 +9744,14 @@ const eg = {
9744
9744
  },
9745
9745
  children: [
9746
9746
  /* @__PURE__ */ N("span", { className: "text-base text-dark flex-1", children: e.action }),
9747
- /* @__PURE__ */ N(dn, { icon: Fd, className: "text-gray-400" }),
9747
+ /* @__PURE__ */ N(
9748
+ dn,
9749
+ {
9750
+ icon: Fd,
9751
+ className: "text-gray-400",
9752
+ width: 24
9753
+ }
9754
+ ),
9748
9755
  /* @__PURE__ */ N($l, { category: "outline", color: e.color, children: e.to })
9749
9756
  ]
9750
9757
  }
@@ -9769,7 +9776,7 @@ const eg = {
9769
9776
  onClick: n != null && n.length ? () => s((h) => !h) : void 0,
9770
9777
  ref: i.setReference,
9771
9778
  className: Dn(
9772
- "px-1 uppercase border rounded-sm",
9779
+ "px-1 uppercase border rounded-sm flex items-center",
9773
9780
  n.length ? "cursor-pointer" : "pointer-events-none",
9774
9781
  eg[t]
9775
9782
  ),
@@ -9780,7 +9787,9 @@ const eg = {
9780
9787
  dn,
9781
9788
  {
9782
9789
  icon: Id,
9783
- className: "text-gray-400 ml-1"
9790
+ width: 24,
9791
+ height: 24,
9792
+ className: "text-gray-400"
9784
9793
  }
9785
9794
  ) : /* @__PURE__ */ N(ct, {})
9786
9795
  ]
@@ -9892,7 +9901,7 @@ const eg = {
9892
9901
  /* @__PURE__ */ Oe("div", { className: "space-y-2", children: [
9893
9902
  /* @__PURE__ */ N("div", { className: "text-lg font-medium text-[#1C232D] flex-1", children: e.taskInstanceName }),
9894
9903
  a ? /* @__PURE__ */ Oe("div", { className: "flex items-center gap-2 text-sm", children: [
9895
- /* @__PURE__ */ N(dn, { icon: $d, className: "size-[16px]" }),
9904
+ /* @__PURE__ */ N(dn, { icon: $d, width: 16 }),
9896
9905
  /* @__PURE__ */ Oe("div", { children: [
9897
9906
  /* @__PURE__ */ N("span", { className: "font-medium", children: a === Ho.PHOTO ? "Photo" : "Screenshot" }),
9898
9907
  " ",
package/dist/theme.css CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer custom-base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer custom-components;@layer custom-utilities{.pointer-events-none{pointer-events:none!important}.absolute{position:absolute!important}.fixed{position:fixed!important}.relative{position:relative!important}.sticky{position:sticky!important}.inset-0{inset:calc(var(--spacing)*0)!important}.top-0{top:calc(var(--spacing)*0)!important}.z-50{z-index:50!important}.z-\[4\]{z-index:4!important}.container{width:100%!important}@media (min-width:40rem){.container{max-width:40rem!important}}@media (min-width:48rem){.container{max-width:48rem!important}}@media (min-width:64rem){.container{max-width:64rem!important}}@media (min-width:80rem){.container{max-width:80rem!important}}@media (min-width:96rem){.container{max-width:96rem!important}}.mx-1{margin-inline:calc(var(--spacing)*1)!important}.mx-auto{margin-inline:auto!important}.mt-3{margin-top:calc(var(--spacing)*3)!important}.-mb-3{margin-bottom:calc(var(--spacing)*-3)!important}.ml-1{margin-left:calc(var(--spacing)*1)!important}.ml-2{margin-left:calc(var(--spacing)*2)!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.size-\[16px\]{width:16px!important;height:16px!important}.h-\[18px\]{height:18px!important}.h-\[22px\]{height:22px!important}.h-\[24px\]{height:24px!important}.h-\[30px\]{height:30px!important}.h-\[38px\]{height:38px!important}.h-\[40px\]{height:40px!important}.h-\[56px\]{height:56px!important}.min-h-screen{min-height:100vh!important}.w-\[27px\]{width:27px!important}.w-\[38px\]{width:38px!important}.w-full{width:100%!important}.w-screen{width:100vw!important}.max-w-lg{max-width:var(--container-lg)!important}.max-w-md{max-width:var(--container-md)!important}.min-w-\[106px\]{min-width:106px!important}.min-w-\[140px\]{min-width:140px!important}.min-w-\[160px\]{min-width:160px!important}.min-w-\[172px\]{min-width:172px!important}.min-w-fit{min-width:fit-content!important}.flex-1{flex:1!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-center{justify-content:center!important}.justify-end{justify-content:flex-end!important}.gap-2{gap:calc(var(--spacing)*2)!important}.gap-3{gap:calc(var(--spacing)*3)!important}.gap-4{gap:calc(var(--spacing)*4)!important}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))!important}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0!important;border-bottom-style:var(--tw-border-style)!important;border-top-style:var(--tw-border-style)!important;border-top-width:calc(1px*var(--tw-divide-y-reverse))!important;border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))!important}:where(.divide-black\/20>:not(:last-child)){border-color:oklab(0% none none/.2) oklab(0% none none/.2) oklab(0% none none/.2) oklab(0% none none/.2)!important}:where(.divide-gray-100>:not(:last-child)){border-color:#ebedef!important}.truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.overflow-hidden{overflow:hidden!important}.overflow-x-hidden{overflow-x:hidden!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:var(--radius-lg)!important}.rounded-sm{border-radius:var(--radius-sm)!important}.border{border-style:var(--tw-border-style)!important;border-width:1px!important}.border-y{border-block-style:var(--tw-border-style)!important;border-block-width:1px!important}.border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-\[\#94C8FF\]{border-color:#94c8ff!important}.border-\[\#A5DAB1\]{border-color:#a5dab1!important}.border-\[\#C1C5C8\]{border-color:#c1c5c8!important}.border-danger-500{border-color:#dc3545!important}.border-gray-50{border-color:#f5f6f7!important}.border-gray-100{border-color:#ebedef!important}.border-gray-200{border-color:#ced1d6!important}.border-gray-300{border-color:#b0b5bd!important}.border-gray-400{border-color:#757e8c!important}.border-gray-700{border-color:#2c3544!important}.border-gray-800{border-color:#232b37!important}.border-info-500{border-color:#17a2b8!important}.border-orange-500{border-color:#ff7800!important}.border-primary-600{border-color:#0069d9!important}.border-purple-500{border-color:#a855f7!important}.border-secondary-500{border-color:#6c757d!important}.border-secondary-600{border-color:#5a6268!important}.border-steel-500{border-color:#556987!important}.border-success-600{border-color:#218838!important}.border-warning-500{border-color:#ffc107!important}.border-white{border-color:#fff!important}.bg-\[\#E6F2FF\]{background-color:#e6f2ff!important}.bg-\[\#EAF6EC\]{background-color:#eaf6ec!important}.bg-\[\#F0F1F2\]{background-color:#f0f1f2!important}.bg-\[\#FFE600\]{background-color:#ffe600!important}.bg-black\/30{background-color:oklab(0% none none/.3)!important}.bg-danger-500{background-color:#dc3545!important}.bg-dark{background-color:#1c232d!important}.bg-fiserv-orange-500{background-color:#f60!important}.bg-gray-50{background-color:#f5f6f7!important}.bg-gray-100{background-color:#ebedef!important}.bg-gray-400{background-color:#757e8c!important}.bg-gray-500{background-color:#3a475b!important}.bg-gray-800{background-color:#232b37!important}.bg-gray-900{background-color:#1c232d!important}.bg-info-500{background-color:#17a2b8!important}.bg-orange-500{background-color:#ff7800!important}.bg-primary-600{background-color:#0069d9!important}.bg-primary-800{background-color:#0054af!important}.bg-purple-500{background-color:#a855f7!important}.bg-secondary-500{background-color:#6c757d!important}.bg-steel-500{background-color:#556987!important}.bg-success-500{background-color:#28a745!important}.bg-success-600{background-color:#218838!important}.bg-warning-500{background-color:#ffc107!important}.bg-white{background-color:#fff!important}.bg-yellow{background-color:#ffe600!important}.p-2{padding:calc(var(--spacing)*2)!important}.p-4{padding:calc(var(--spacing)*4)!important}.px-1{padding-inline:calc(var(--spacing)*1)!important}.px-2{padding-inline:calc(var(--spacing)*2)!important}.px-3{padding-inline:calc(var(--spacing)*3)!important}.px-4{padding-inline:calc(var(--spacing)*4)!important}.px-\[2px\]{padding-inline:2px!important}.py-1{padding-block:calc(var(--spacing)*1)!important}.py-1\.5{padding-block:calc(var(--spacing)*1.5)!important}.py-3{padding-block:calc(var(--spacing)*3)!important}.py-4{padding-block:calc(var(--spacing)*4)!important}.pt-2{padding-top:calc(var(--spacing)*2)!important}.pr-2{padding-right:calc(var(--spacing)*2)!important}.text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}.text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}.text-sm\/6{font-size:var(--text-sm)!important;line-height:calc(var(--spacing)*6)!important}.text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}.leading-\[18px\]{--tw-leading:18px!important;line-height:18px!important}.leading-\[22px\]{--tw-leading:22px!important;line-height:22px!important}.leading-\[24px\]{--tw-leading:24px!important;line-height:24px!important}.font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}.font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}.whitespace-nowrap{white-space:nowrap!important}.text-\[\#1C232D\]{color:#1c232d!important}.text-black{color:#000!important}.text-danger-500{color:#dc3545!important}.text-dark{color:#1c232d!important}.text-dark-300{color:#343a40!important}.text-fiserv-orange-500{color:#f60!important}.text-gray-50{color:#f5f6f7!important}.text-gray-200{color:#ced1d6!important}.text-gray-400{color:#757e8c!important}.text-gray-500{color:#3a475b!important}.text-gray-700{color:#2c3544!important}.text-gray-800{color:#232b37!important}.text-gray-900{color:#1c232d!important}.text-info-500{color:#17a2b8!important}.text-orange-500{color:#ff7800!important}.text-primary-600{color:#0069d9!important}.text-purple-500{color:#a855f7!important}.text-secondary{color:#6c757d!important}.text-secondary-400{color:#899197!important}.text-secondary-500{color:#6c757d!important}.text-secondary-600{color:#5a6268!important}.text-steel-500{color:#556987!important}.text-success-500{color:#28a745!important}.text-success-600{color:#218838!important}.text-warning-500{color:#ffc107!important}.text-white{color:#fff!important}.text-yellow{color:#ffe600!important}.uppercase{text-transform:uppercase!important}.line-through{text-decoration-line:line-through!important}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-dark\/50{--tw-shadow-color:#1c232d80!important}@supports (color:color-mix(in lab, red, red)){.shadow-dark\/50{--tw-shadow-color:color-mix(in oklab,oklab(25.3864% -.0047446 -.0210213/.5) var(--tw-shadow-alpha),transparent)!important}}.outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}.ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}.ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}.\[writing-mode\:vertical-lr\]{writing-mode:vertical-lr!important}@media (hover:hover){.hover\:bg-danger-500:hover{background-color:#dc3545!important}.hover\:bg-dark:hover{background-color:#1c232d!important}.hover\:bg-fiserv-orange-500:hover{background-color:#f60!important}.hover\:bg-gray-50:hover{background-color:#f5f6f7!important}.hover\:bg-gray-100:hover{background-color:#ebedef!important}.hover\:bg-gray-400:hover{background-color:#757e8c!important}.hover\:bg-gray-500:hover{background-color:#3a475b!important}.hover\:bg-gray-800:hover{background-color:#232b37!important}.hover\:bg-gray-900:hover{background-color:#1c232d!important}.hover\:bg-info-500:hover{background-color:#17a2b8!important}.hover\:bg-orange-500:hover{background-color:#ff7800!important}.hover\:bg-primary-800:hover{background-color:#0054af!important}.hover\:bg-purple-500:hover{background-color:#a855f7!important}.hover\:bg-secondary-500:hover{background-color:#6c757d!important}.hover\:bg-steel-500:hover{background-color:#556987!important}.hover\:bg-success-500:hover{background-color:#28a745!important}.hover\:bg-warning-500:hover{background-color:#ffc107!important}.hover\:bg-yellow:hover{background-color:#ffe600!important}.hover\:text-black:hover{color:#000!important}.hover\:text-danger-800:hover{color:#aa1927!important}.hover\:text-dark:hover{color:#1c232d!important}.hover\:text-fiserv-orange-800:hover{color:#bf4c00!important}.hover\:text-gray-400:hover{color:#757e8c!important}.hover\:text-gray-700:hover{color:#2c3544!important}.hover\:text-gray-800:hover{color:#232b37!important}.hover\:text-gray-900:hover{color:#1c232d!important}.hover\:text-info-800:hover{color:#026777!important}.hover\:text-orange-800:hover{color:#c75d00!important}.hover\:text-primary-800:hover{color:#0054af!important}.hover\:text-purple-800:hover{color:#6f33a7!important}.hover\:text-secondary-800:hover{color:#444a50!important}.hover\:text-steel-800:hover{color:#333f51!important}.hover\:text-success-800:hover{color:#106c25!important}.hover\:text-warning-800:hover{color:#b87708!important}.hover\:text-white:hover{color:#fff!important}.hover\:text-yellow:hover{color:#ffe600!important}}.focus\:outline:focus{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.focus\:outline-3:focus{outline-style:var(--tw-outline-style)!important;outline-width:3px!important}.focus\:outline-primary-500\/\[\.3\]:focus{outline-color:oklab(60.4814% -.0479283 -.211188/.3)!important}.focus\:not-data-focus\:outline-none:focus:not([data-focus]){--tw-outline-style:none!important;outline-style:none!important}.active\:bg-gray-50:active{background-color:#f5f6f7!important}.active\:bg-gray-800:active{background-color:#232b37!important}.active\:text-black:active{color:#000!important}.active\:text-white:active{color:#fff!important}.disabled\:pointer-events-none:disabled{pointer-events:none!important}.disabled\:opacity-15:disabled{opacity:.15!important}.data-closed\:opacity-0[data-closed]{opacity:0!important}.data-focus\:outline-2[data-focus]{outline-style:var(--tw-outline-style)!important;outline-width:2px!important}.data-focus\:-outline-offset-2[data-focus]{outline-offset:calc(2px*-1)!important}.data-focus\:outline-primary-500[data-focus]{outline-color:#007bff!important}@media (min-width:48rem){.md\:min-w-fit{min-width:fit-content!important}}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer custom-base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer custom-components;@layer custom-utilities{.pointer-events-none{pointer-events:none!important}.absolute{position:absolute!important}.fixed{position:fixed!important}.relative{position:relative!important}.sticky{position:sticky!important}.inset-0{inset:calc(var(--spacing)*0)!important}.top-0{top:calc(var(--spacing)*0)!important}.z-50{z-index:50!important}.z-\[4\]{z-index:4!important}.container{width:100%!important}@media (min-width:40rem){.container{max-width:40rem!important}}@media (min-width:48rem){.container{max-width:48rem!important}}@media (min-width:64rem){.container{max-width:64rem!important}}@media (min-width:80rem){.container{max-width:80rem!important}}@media (min-width:96rem){.container{max-width:96rem!important}}.mx-1{margin-inline:calc(var(--spacing)*1)!important}.mx-auto{margin-inline:auto!important}.mt-3{margin-top:calc(var(--spacing)*3)!important}.-mb-3{margin-bottom:calc(var(--spacing)*-3)!important}.ml-2{margin-left:calc(var(--spacing)*2)!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.h-\[18px\]{height:18px!important}.h-\[22px\]{height:22px!important}.h-\[24px\]{height:24px!important}.h-\[30px\]{height:30px!important}.h-\[38px\]{height:38px!important}.h-\[40px\]{height:40px!important}.h-\[56px\]{height:56px!important}.min-h-screen{min-height:100vh!important}.w-\[27px\]{width:27px!important}.w-\[38px\]{width:38px!important}.w-full{width:100%!important}.w-screen{width:100vw!important}.max-w-lg{max-width:var(--container-lg)!important}.max-w-md{max-width:var(--container-md)!important}.min-w-\[106px\]{min-width:106px!important}.min-w-\[140px\]{min-width:140px!important}.min-w-\[160px\]{min-width:160px!important}.min-w-\[172px\]{min-width:172px!important}.min-w-fit{min-width:fit-content!important}.flex-1{flex:1!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-center{justify-content:center!important}.justify-end{justify-content:flex-end!important}.gap-2{gap:calc(var(--spacing)*2)!important}.gap-3{gap:calc(var(--spacing)*3)!important}.gap-4{gap:calc(var(--spacing)*4)!important}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))!important}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))!important}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0!important;border-bottom-style:var(--tw-border-style)!important;border-top-style:var(--tw-border-style)!important;border-top-width:calc(1px*var(--tw-divide-y-reverse))!important;border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))!important}:where(.divide-black\/20>:not(:last-child)){border-color:oklab(0% none none/.2) oklab(0% none none/.2) oklab(0% none none/.2) oklab(0% none none/.2)!important}:where(.divide-gray-100>:not(:last-child)){border-color:#ebedef!important}.truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.overflow-hidden{overflow:hidden!important}.overflow-x-hidden{overflow-x:hidden!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:var(--radius-lg)!important}.rounded-sm{border-radius:var(--radius-sm)!important}.border{border-style:var(--tw-border-style)!important;border-width:1px!important}.border-y{border-block-style:var(--tw-border-style)!important;border-block-width:1px!important}.border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-\[\#94C8FF\]{border-color:#94c8ff!important}.border-\[\#A5DAB1\]{border-color:#a5dab1!important}.border-\[\#C1C5C8\]{border-color:#c1c5c8!important}.border-danger-500{border-color:#dc3545!important}.border-gray-50{border-color:#f5f6f7!important}.border-gray-100{border-color:#ebedef!important}.border-gray-200{border-color:#ced1d6!important}.border-gray-300{border-color:#b0b5bd!important}.border-gray-400{border-color:#757e8c!important}.border-gray-700{border-color:#2c3544!important}.border-gray-800{border-color:#232b37!important}.border-info-500{border-color:#17a2b8!important}.border-orange-500{border-color:#ff7800!important}.border-primary-600{border-color:#0069d9!important}.border-purple-500{border-color:#a855f7!important}.border-secondary-500{border-color:#6c757d!important}.border-secondary-600{border-color:#5a6268!important}.border-steel-500{border-color:#556987!important}.border-success-600{border-color:#218838!important}.border-warning-500{border-color:#ffc107!important}.border-white{border-color:#fff!important}.bg-\[\#E6F2FF\]{background-color:#e6f2ff!important}.bg-\[\#EAF6EC\]{background-color:#eaf6ec!important}.bg-\[\#F0F1F2\]{background-color:#f0f1f2!important}.bg-\[\#FFE600\]{background-color:#ffe600!important}.bg-black\/30{background-color:oklab(0% none none/.3)!important}.bg-danger-500{background-color:#dc3545!important}.bg-dark{background-color:#1c232d!important}.bg-fiserv-orange-500{background-color:#f60!important}.bg-gray-50{background-color:#f5f6f7!important}.bg-gray-100{background-color:#ebedef!important}.bg-gray-400{background-color:#757e8c!important}.bg-gray-500{background-color:#3a475b!important}.bg-gray-800{background-color:#232b37!important}.bg-gray-900{background-color:#1c232d!important}.bg-info-500{background-color:#17a2b8!important}.bg-orange-500{background-color:#ff7800!important}.bg-primary-600{background-color:#0069d9!important}.bg-primary-800{background-color:#0054af!important}.bg-purple-500{background-color:#a855f7!important}.bg-secondary-500{background-color:#6c757d!important}.bg-steel-500{background-color:#556987!important}.bg-success-500{background-color:#28a745!important}.bg-success-600{background-color:#218838!important}.bg-warning-500{background-color:#ffc107!important}.bg-white{background-color:#fff!important}.bg-yellow{background-color:#ffe600!important}.p-2{padding:calc(var(--spacing)*2)!important}.p-4{padding:calc(var(--spacing)*4)!important}.px-1{padding-inline:calc(var(--spacing)*1)!important}.px-2{padding-inline:calc(var(--spacing)*2)!important}.px-3{padding-inline:calc(var(--spacing)*3)!important}.px-4{padding-inline:calc(var(--spacing)*4)!important}.px-\[2px\]{padding-inline:2px!important}.py-1{padding-block:calc(var(--spacing)*1)!important}.py-1\.5{padding-block:calc(var(--spacing)*1.5)!important}.py-3{padding-block:calc(var(--spacing)*3)!important}.py-4{padding-block:calc(var(--spacing)*4)!important}.pt-2{padding-top:calc(var(--spacing)*2)!important}.pr-2{padding-right:calc(var(--spacing)*2)!important}.text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}.text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}.text-sm\/6{font-size:var(--text-sm)!important;line-height:calc(var(--spacing)*6)!important}.text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}.leading-\[18px\]{--tw-leading:18px!important;line-height:18px!important}.leading-\[22px\]{--tw-leading:22px!important;line-height:22px!important}.leading-\[24px\]{--tw-leading:24px!important;line-height:24px!important}.font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}.font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}.whitespace-nowrap{white-space:nowrap!important}.text-\[\#1C232D\]{color:#1c232d!important}.text-black{color:#000!important}.text-danger-500{color:#dc3545!important}.text-dark{color:#1c232d!important}.text-dark-300{color:#343a40!important}.text-fiserv-orange-500{color:#f60!important}.text-gray-50{color:#f5f6f7!important}.text-gray-200{color:#ced1d6!important}.text-gray-400{color:#757e8c!important}.text-gray-500{color:#3a475b!important}.text-gray-700{color:#2c3544!important}.text-gray-800{color:#232b37!important}.text-gray-900{color:#1c232d!important}.text-info-500{color:#17a2b8!important}.text-orange-500{color:#ff7800!important}.text-primary-600{color:#0069d9!important}.text-purple-500{color:#a855f7!important}.text-secondary{color:#6c757d!important}.text-secondary-400{color:#899197!important}.text-secondary-500{color:#6c757d!important}.text-secondary-600{color:#5a6268!important}.text-steel-500{color:#556987!important}.text-success-500{color:#28a745!important}.text-success-600{color:#218838!important}.text-warning-500{color:#ffc107!important}.text-white{color:#fff!important}.text-yellow{color:#ffe600!important}.uppercase{text-transform:uppercase!important}.line-through{text-decoration-line:line-through!important}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}.shadow-dark\/50{--tw-shadow-color:#1c232d80!important}@supports (color:color-mix(in lab, red, red)){.shadow-dark\/50{--tw-shadow-color:color-mix(in oklab,oklab(25.3864% -.0047446 -.0210213/.5) var(--tw-shadow-alpha),transparent)!important}}.outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}.ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}.ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}.\[writing-mode\:vertical-lr\]{writing-mode:vertical-lr!important}@media (hover:hover){.hover\:bg-danger-500:hover{background-color:#dc3545!important}.hover\:bg-dark:hover{background-color:#1c232d!important}.hover\:bg-fiserv-orange-500:hover{background-color:#f60!important}.hover\:bg-gray-50:hover{background-color:#f5f6f7!important}.hover\:bg-gray-100:hover{background-color:#ebedef!important}.hover\:bg-gray-400:hover{background-color:#757e8c!important}.hover\:bg-gray-500:hover{background-color:#3a475b!important}.hover\:bg-gray-800:hover{background-color:#232b37!important}.hover\:bg-gray-900:hover{background-color:#1c232d!important}.hover\:bg-info-500:hover{background-color:#17a2b8!important}.hover\:bg-orange-500:hover{background-color:#ff7800!important}.hover\:bg-primary-800:hover{background-color:#0054af!important}.hover\:bg-purple-500:hover{background-color:#a855f7!important}.hover\:bg-secondary-500:hover{background-color:#6c757d!important}.hover\:bg-steel-500:hover{background-color:#556987!important}.hover\:bg-success-500:hover{background-color:#28a745!important}.hover\:bg-warning-500:hover{background-color:#ffc107!important}.hover\:bg-yellow:hover{background-color:#ffe600!important}.hover\:text-black:hover{color:#000!important}.hover\:text-danger-800:hover{color:#aa1927!important}.hover\:text-dark:hover{color:#1c232d!important}.hover\:text-fiserv-orange-800:hover{color:#bf4c00!important}.hover\:text-gray-400:hover{color:#757e8c!important}.hover\:text-gray-700:hover{color:#2c3544!important}.hover\:text-gray-800:hover{color:#232b37!important}.hover\:text-gray-900:hover{color:#1c232d!important}.hover\:text-info-800:hover{color:#026777!important}.hover\:text-orange-800:hover{color:#c75d00!important}.hover\:text-primary-800:hover{color:#0054af!important}.hover\:text-purple-800:hover{color:#6f33a7!important}.hover\:text-secondary-800:hover{color:#444a50!important}.hover\:text-steel-800:hover{color:#333f51!important}.hover\:text-success-800:hover{color:#106c25!important}.hover\:text-warning-800:hover{color:#b87708!important}.hover\:text-white:hover{color:#fff!important}.hover\:text-yellow:hover{color:#ffe600!important}}.focus\:outline:focus{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.focus\:outline-3:focus{outline-style:var(--tw-outline-style)!important;outline-width:3px!important}.focus\:outline-primary-500\/\[\.3\]:focus{outline-color:oklab(60.4814% -.0479283 -.211188/.3)!important}.focus\:not-data-focus\:outline-none:focus:not([data-focus]){--tw-outline-style:none!important;outline-style:none!important}.active\:bg-gray-50:active{background-color:#f5f6f7!important}.active\:bg-gray-800:active{background-color:#232b37!important}.active\:text-black:active{color:#000!important}.active\:text-white:active{color:#fff!important}.disabled\:pointer-events-none:disabled{pointer-events:none!important}.disabled\:opacity-15:disabled{opacity:.15!important}.data-closed\:opacity-0[data-closed]{opacity:0!important}.data-focus\:outline-2[data-focus]{outline-style:var(--tw-outline-style)!important;outline-width:2px!important}.data-focus\:-outline-offset-2[data-focus]{outline-offset:calc(2px*-1)!important}.data-focus\:outline-primary-500[data-focus]{outline-color:#007bff!important}@media (min-width:48rem){.md\:min-w-fit{min-width:fit-content!important}}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@confidencesystemsinc/sdk",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",