1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3842],{45784:function(e,t,r){var n,l=r(67294),i=["title","titleId"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(null,arguments)}t.Z=function(e){var t=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,i);return l.createElement("svg",a({width:14,height:14,fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":r},o),t?l.createElement("title",{id:r},t):null,n||(n=l.createElement("path",{d:"M11.707 7H2.55M4.86 4.211 2.461 6.61a.583.583 0 0 0 0 .822l2.333 2.334",stroke:"#151515",strokeLinecap:"round",strokeLinejoin:"bevel"})))}},52991:function(e,t,r){var n,l=r(67294),i=["title","titleId"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(null,arguments)}t.Z=function(e){var t=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,i);return l.createElement("svg",a({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-labelledby":r},o),t?l.createElement("title",{id:r},t):null,n||(n=l.createElement("path",{d:"M16.666 1.667H3.333c-.92 0-1.667.746-1.667 1.666v13.334c0 .92.746 1.666 1.667 1.666h13.333c.92 0 1.667-.746 1.667-1.666V3.332c0-.92-.746-1.667-1.667-1.667ZM1.666 10h16.667M9.999 1.667v16.666"})))}},7955:function(e,t,r){var n,l=r(67294),i=["title","titleId"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(null,arguments)}t.Z=function(e){var t=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,i);return l.createElement("svg",a({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-labelledby":r},o),t?l.createElement("title",{id:r},t):null,n||(n=l.createElement("path",{d:"M16.666 1.667H3.333c-.92 0-1.667.746-1.667 1.666v13.334c0 .92.746 1.666 1.667 1.666h13.333c.92 0 1.667-.746 1.667-1.666V3.332c0-.92-.746-1.667-1.667-1.667ZM1.666 5.833h16.667M1.666 10h16.667M1.666 14.166h16.667"})))}},16168:function(e,t,r){var n,l=r(67294),i=["title","titleId"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(null,arguments)}t.Z=function(e){var t=e.title,r=e.titleId,o=function(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,i);return l.createElement("svg",a({width:14,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":r},o),t?l.createElement("title",{id:r},t):null,n||(n=l.createElement("path",{d:"m9 11.467-4-4M9 7.467l-4 4M12.333 1.207H1.66
17A.667.667 0 0 0 1 1.874v1.333c0 .368.298.667.667.667h10.666A.667.667 0 0 0 13 3.207V1.874a.667.667 0 0 0-.667-.667ZM11.667 4.127v9.333a1.333 1.333 0 0 1-1.333 1.334H3.667a1.334 1.334 0 0 1-1.333-1.334V4.127",stroke:"#151515",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"bevel"})))}},16434:function(e,t,r){r.d(t,{X:function(){return D}});var n=r(86010),l=r(93688),i=r(43461),a=r(35042);var o=function(e,t,r,n){for(var l=e.length,i=r+(n?1:-1);n?i--:++i<l;)if(t(e[i],i,e))return i;return-1};var u=function(e){return e!==e};var c=function(e,t,r){for(var n=r-1,l=e.length;++n<l;)if(e[n]===t)return n;return-1};var s=function(e,t,r){return t===t?c(e,t,r):o(e,u,r)};var f=function(e,t){for(var r=e.length;r--&&s(t,e[r],0)>-1;);return r};var d=function(e,t){for(var r=-1,n=e.length;++r<n&&s(t,e[r],0)>-1;);return r},p=r(70394),v=r(77338);var h=function(e,t,r){if((e=(0,v.Z)(e))&&(r||void 0===t))return(0,i.Z)(e);if(!e||!(t=(0,l.Z)(t)))return e;var n=(0,p.Z)(e),o=(0,p.Z)(t),u=d(n,o),c=f(n,o)+1;return(0,a.Z)(n,u,c).join("")},b=r(67294),m=r(12351),g=r(19946),y=r(61363),x=r(64103),w=r(95389),k=r(39516),O=r(14157),j=r(23784),E=r(46045),C=r(18689),P=r(73781),S=r(31147);let Z=(0,b.createContext)(null);Z.displayName="GroupContext";let N=b.Fragment;let M=(0,m.yV)((function(e,t){let{checked:r,defaultChecked:n=!1,onChange:l,name:i,value:a,...o}=e,u=`headlessui-switch-${(0,g.M)()}`,c=(0,b.useContext)(Z),s=(0,b.useRef)(null),f=(0,j.T)(s,t,null===c?null:c.setSwitch),[d,p]=(0,S.q)(r,l,n),v=(0,P.z)((()=>null==p?void 0:p(!d))),h=(0,P.z)((e=>{if((0,x.P)(e.currentTarget))return e.preventDefault();e.preventDefault(),v()})),w=(0,P.z)((e=>{e.key===y.R.Space?(e.preventDefault(),v()):e.key===y.R.Enter&&(0,C.g)(e.currentTarget)})),k=(0,P.z)((e=>e.preventDefault())),N=(0,b.useMemo)((()=>({checked:d})),[d]),M={id:u,ref:f,role:"switch",type:(0,O.f)(e,s),tabIndex:0,"aria-checked":d,"aria-labelledby":null==c?void 0:c.labelledby,"aria-describedby":null==c?void 0:c.describedby,onClick:h,onKeyUp:w,onKeyPress:k};return b.createElement(b.Fragment,null,null!=i&&d&&b.createElement(E._,{features:E.A.Hidden,...(0,m.oA)({as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d,name:i,value:a})}),(0,m.sY)({ourProps:M,theirProps:o,slot:N,defaultTag:"button",name:"Switch"}))})),L=Object.assign(M,{Group:function(e){let[t,r]=(0,b.useState)(null),[n,l]=(0,w.b)(),[i,a]=(0,k.f)(),o=(0,b.useMemo)((()=>({switch:t,setSwitch:r,labelledby:n,describedby:i})),[t,r,n,i]),u=e;return b.createElement(a,{name:"Switch.Description"},b.createElement(l,{name:"Switch.Label",props:{onClick(){!t||(t.click(),t.focus({preventScroll:!0}))}}},b.createElement(Z.Provider,{value:o},(0,m.sY)({ourProps:{},theirProps:u,defaultTag:N,name:"Switch.Group"}))))},Label:w._,Description:k.d});var I=r(9494),T=r(85893),V=function(e){return"string"!==typeof e?e:h(h(h(e),","))},D=function(e){var t=e.checked,r=void 0!==t&&t,l=e.children,i=void 0===l?"":l,a=e.onCheck,o=void 0===a?function(){}:a,u=e.position,c=void 0===u?"right":u,s=e.className,f=e.labelClassName,d=e.switchClassName,p=e.additionalElement,v=e.required,h=e.containerRow,m=e.isHideCheckboxButton,g=void 0!==m&&m,y=e.isFullWidth,x=void 0!==y&&y,w=e.isDisabled,k=void 0!==w&&w,O=(0,b.useState)(r),j=O[0],E=O[1];(0,b.useEffect)((function(){return E(r)}),[r]);var C=(0,b.useCallback)((function(e){E(e),o(e)}),[o]),P=(0,b.useCallback)((function(e){"Enter"===e.key&&(E(!j),o(!j))}),[j,o]);return(0,T.jsx)(L.Group,{children:(0,T.jsxs)("div",{className:(0,n.Z)("flex cursor-pointer items-center gap-2.5",{"cursor-not-allowed":k},s),children:["left"===c&&(0,T.jsxs)("div",{className:"flex flex-col",children:[(0,T.jsxs)(L.Label,{className:(0,n.Z)("mr-2",{"cursor-pointer text-black":!k,"pointer-events-none text-grey-650":k},f),children:[V(i),v&&"*"]}),p]}),(0,T.jsx)(L,{"aria-label":"switch",checked:j,disabled:k,onChange:C,onKeyPress:P,className:(0,n.Z)("flex h-5 w-5 items-center justify-center rounded border-[1.5px]",{"border-grey-500 bg-white":!j,"border-blue-600 bg-blue-500":!k&&j,"border-grey-500 bg-grey-500":k&&j,"cursor-not-allowed":k,hidden:g},d),children:(0,T.jsx)(I.Z,{title:"Selected",className:(0,n.Z)({"stroke-transparent text-transparent":!j,"stroke-white text-white":j})})}),"right"===c&&(0,T.jsxs)("div",{className:(0,n.Z)("flex",{"flex-col":!h,"flex-row":h,"w-full":x}),children:[(0,T.jsxs)(L.Label,{className:(0,n.Z)("mr-2",{"cursor-pointer text-black":!k,"pointer-events-none text-grey-650":k},f),children:[V(i),v&&"*"]}),p]})]})})}},91799:function(e,t,r){r.d(t,{h:function(){return i}});var n=r(67294),l=r(73935),i=function(e){var t=e.children,r=e.selector,i=void 0===r?"body":r,a=(0,n.useRef)(),o=(0,n.use
1State)(!1),u=o[0],c=o[1];return(0,n.useEffect)((function(){a.current=document.querySelector(i),c(!0)}),[i]),u?(0,l.createPortal)(t,a.current):null}},92638:function(e,t,r){r.d(t,{L:function(){return a}});var n=r(86010),l=r(67294),i=r(85893),a=function(e){var t=e.label,r=e.value,a=e.minValue,o=e.maxValue,u=e.currency,c=void 0===u?"$":u,s=e.onChange,f=e.isCorrectValue,d=void 0===f||f,p=r.toString(),v=(0,l.useState)(d),h=v[0],b=v[1],m=(0,l.useState)(p),g=m[0],y=m[1],x=(0,l.useCallback)((function(e){var t=parseFloat(e);return!(isNaN(t)||t<a||t>o)}),[o,a]);(0,l.useEffect)((function(){y(p),b(d)}),[p,d,a,o]);var w=(0,l.useCallback)((function(){x(g)&&s(+g)}),[g,x,s]);return(0,i.jsxs)("div",{className:"w-[109px] sm:w-full",children:[(0,i.jsx)("p",{className:"mb-1 text-xs font-bold capitalize text-black",children:t}),(0,i.jsxs)("div",{className:(0,n.Z)("relative",{"border-red-500":d}),children:[(0,i.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,i.jsx)("span",{className:(0,n.Z)("text-tiny text-grey-900",{"text-red-500":d}),children:c})}),(0,i.jsx)("input",{"aria-label":t,value:g,type:"number",min:a,max:o,className:(0,n.Z)("block w-full min-w-[80px] rounded border-1 border-solid border-grey-500 bg-grey-100 py-3 pl-7 text-tiny text-grey-900 focus:text-black focus:outline-none focus-visible:outline-transparent active:text-black active:outline-none sm:mt-1.5",{"text-red-500 focus:text-red-500 active:text-red-500":d||h}),placeholder:"".concat("max"===t?o:a),onChange:function(e){y(e.target.value),b(!x(e.target.value))},onBlur:w,onKeyUp:function(e){return"Enter"===e.key?w():null}},isNaN(r)?0:r)]})]})}},39516:function(e,t,r){r.d(t,{d:function(){return d},f:function(){return f}});var n=r(67294),l=r(19946),i=r(12351),a=r(16723),o=r(23784),u=r(73781);let c=(0,n.createContext)(null);function s(){let e=(0,n.useContext)(c);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,s),e}return e}function f(){let[e,t]=(0,n.useState)([]);return[e.length>0?e.join(" "):void 0,(0,n.useMemo)((()=>function(e){let r=(0,u.z)((e=>(t((t=>[...t,e])),()=>t((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),l=(0,n.useMemo)((()=>({register:r,slot:e.slot,name:e.name,props:e.props})),[r,e.slot,e.name,e.props]);return n.createElement(c.Provider,{value:l},e.children)}),[t])]}let d=(0,i.yV)((function(e,t){let r=s(),n=`headlessui-description-${(0,l.M)()}`,u=(0,o.T)(t);(0,a.e)((()=>r.register(n)),[n,r.register]);let c=e,f={ref:u,...r.props,id:n};return(0,i.sY)({ourProps:f,theirProps:c,slot:r.slot||{},defaultTag:"p",name:r.name||"Description"})}))},95389:function(e,t,r){r.d(t,{_:function(){return d},b:function(){return f}});var n=r(67294),l=r(19946),i=r(12351),a=r(16723),o=r(23784),u=r(73781);let c=(0,n.createContext)(null);function s(){let e=(0,n.useContext)(c);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,s),e}return e}function f(){let[e,t]=(0,n.useState)([]);return[e.length>0?e.join(" "):void 0,(0,n.useMemo)((()=>function(e){let r=(0,u.z)((e=>(t((t=>[...t,e])),()=>t((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),l=(0,n.useMemo)((()=>({register:r,slot:e.slot,name:e.name,props:e.props})),[r,e.slot,e.name,e.props]);return n.createElement(c.Provider,{value:l},e.children)}),[t])]}let d=(0,i.yV)((function(e,t){let{passive:r=!1,...n}=e,u=s(),c=`headlessui-label-${(0,l.M)()}`,f=(0,o.T)(t);(0,a.e)((()=>u.register(c)),[c,u.register]);let d={ref:f,...u.props,id:c};return r&&("onClick"in d&&delete d.onClick,"onClick"in n&&delete n.onClick),(0,i.sY)({ourProps:d,theirProps:n,slot:u.slot||{},defaultTag:"label",name:u.name||"Label"})}))},71016:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(47855),l=r(25742),i=1/0;var a=function(e){return e?(e=(0,l.Z)(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0};var o=function(e){var t=a(e),r=t%1;return t===t?r?t-r:t:0};var u=function(e,t,r){return e&&e.length?(t=r||void 0===t?1:o(t),(0,n.Z)(e,0,t<0?0:t)):[]}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.