1"use strict";(self.webpackChunkroxana=self.webpackChunkroxana||[]).push([[463],{75743(e,t,r){r.d(t,{$:()=>c});var n=r(74848),i=r(71918),o=r(96540);const a=["primary","secondary","tertiary","optional","destructive"],l=(0,r(80097).F)("wp:inline-flex wp:items-center wp:justify-center focus-visible:wp:outline-2 focus-visible:wp:outline-offset-2 focus-visible:wp-outline-line-active wp:[&>svg]:shrink-0",{variants:{disabled:{true:"disabled:wp-txt-disabled disabled:wp-ic-disabled disabled:wp-line-divider disabled:wp:outline-none wp:cursor-not-allowed",false:"wp:cursor-pointer"},subVariant:{primary:"wp-cta-primary wp-txt-inverse-still wp:rounded-full wp:border-[2px] wp-line-selected hover:wp-cta-primary-tap hover:wp-line-cta-primary-tap",secondary:"wp-cta-inverse wp-txt-active-primary wp:rounded-full wp:border-[2px] wp-line-selected hover:wp-cta-secondary-tap",tertiary:"wp-cta-inverse wp-txt-primary wp:rounded-full wp:border-[2px] wp-line-cta-inverse hover:wp-cta-optional-tap hover:wp-line-cta-optional-tap",optional:"wp-cta-inverse wp-txt-primary wp:rounded-full wp:border-[2px] wp-line-cta-disabled hover:wp-cta-optional-tap hover:wp-line-cta-optional",destructive:"wp-cta-destructive wp-txt-inverse-still wp:rounded-full wp:border-[2px] wp-line-cta-destructive hover:wp-cta-destructive-tap hover:wp-line-cta-destructive-tap"},size:{large:"wp-text-base wp-font-semi-bold wp:leading-[20px] wp:tracking-normal wp:no-underline wp:gap-[4px] wp:[&>svg]:size-5",medium:"wp-text-sm wp-font-semi-bold wp:leading-[18px] wp:tracking-normal wp:no-underline wp:gap-[4px] wp:[&>svg]:size-4"},loading:{true:"wp:cursor-wait"},children:{true:""},leadingIcon:{true:"",false:""},trailingIcon:{true:"",false:""}},compoundVariants:[{subVariant:[...a],disabled:!0,class:"disabled:wp-cta-optional-tap"},{subVariant:[...a],leadingIcon:!1,trailingIcon:!1,size:"large",children:!0,class:"wp:py-[12px] wp:px-[24px]"},{subVariant:[...a],leadingIcon:!0,trailingIcon:!1,size:"large",children:!0,class:"wp:pl-[20px] wp:pr-[24px] rtl:wp:pl-[24px] rtl:wp:pr-[20px] wp:pt-[12px] wp:pb-[12px]"},{subVariant:[...a],leadingIcon:!1,trailingIcon:!0,size:"large",children:!0,class:"wp:pl-[24px] wp:pr-[20px] rtl:wp:pl-[20px] rtl:wp:pr-[24px] wp:pt-[12px] wp:pb-[12px]"},{subVariant:[...a],leadingIcon:!0,trailingIcon:!0,size:"large",children:!0,class:"wp:px-[20px] wp:pt-[12px] wp:pb-[12px]"},{subVariant:[...a],leadingIcon:!1,trailingIcon:!1,size:"medium",children:!0,class:"wp:py-[7px] wp:px-[16px]"},{subVariant:[...a],leadingIcon:!0,trailingIcon:!1,size:"medium",children:!0,class:"wp:pl-[12px] wp:pr-[16px] rtl:wp:pl-[16px] rtl:wp:pr-[12px] wp:pt-[7px] wp:pb-[7px]"},{subVariant:[...a],leadingIcon:!1,trailingIcon:!0,size:"medium",children:!0,class:"wp:pl-[16px] wp:pr-[12px] rtl:wp:pl-[12px] rtl:wp:pr-[16px] wp:pt-[7px] wp:pb-[7px]"},{subVariant:[...a],leadingIcon:!0,trailingIcon:!0,size:"medium",children:!0,class:"wp:px-[12px] wp:pt-[7px] wp:pb-[7px]"}]}),u=e=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 18C15.8137 18 18.5 15.3137 18.5 12C18.5 8.68629 15.8137 6 12.5 6C9.18629 6 6.5 8.68629 6.5 12C6.5 15.3137 9.18629 18 12.5 18ZM12.5 22C18.0228 22 22.5 17.5228 22.5 12C22.5 6.47715 18.0228 2 12.5 2C6.97715 2 2.5 6.47715 2.5 12C2.5 17.5228 6.97715 22 12.5 22Z",fill:"#DFDFDF"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 5.999C13.2881 5.999 14.0684 6.15422 14.7965 6.4558C15.5246 6.75738 16.1861 7.19941 16.7433 7.75666C17.3006 8.3139 17.7426 8.97544 18.0442 9.70352C18.3458 10.4316 18.501 11.2119 18.501 12H22.5C22.5 10.6868 22.2413 9.38642 21.7388 8.17317C21.7148 8.11519 21.6902 8.05746 21.6652 8C21.1654 6.85495 20.4553 5.81314 19.5711 4.92893
1C18.6869 4.04472 17.6451 3.33459 16.5 2.83485C16.4425 2.80977 16.3848 2.78522 16.3268 2.7612C15.1136 2.25866 13.8132 2 12.5 2V5.999Z",fill:"#44B50C"})),s=(0,o.forwardRef)(function(e,t){const{variant:r,disabled:a=!1,type:s="button",fullWidth:c=!1,loading:p=!1,leadingIcon:d,trailingIcon:f,onClick:w,children:b,"aria-describedby":m}=e,v=(0,o.useMemo)(()=>r.split("-")[0],[r]),y=(0,o.useMemo)(()=>r.split("-")[1],[r]),x=p?(0,n.jsx)(u,{className:"wp:animate-spin"}):d,h=p?null:f;return(0,n.jsxs)("button",{ref:t,onClick:w,type:s,...m&&{"aria-describedby":m},className:(0,i.$)(l({subVariant:v,size:y,loading:p,disabled:a||p,children:!!b,leadingIcon:!!x,trailingIcon:!!h}),c&&"wp:w-full"),disabled:a||p,children:[x,b,h]})});s.displayName="Button";const c=s},91044(e,t,r){r.d(t,{K:()=>s});var n=r(74848),i=r(71918),o=r(96540);const a=(0,r(80097).F)("wp:inline-flex wp:items-center wp:justify-center focus-visible:wp:outline-2 focus-visible:wp:outline-offset-2 focus-visible:wp-outline-line-active wp:[&>svg]:shrink-0",{variants:{subVariant:{primary:"wp-cta-primary wp-txt-inverse-still wp:rounded-full wp:border-0 hover:wp-cta-primary-tap",secondary:"wp-cta-inverse wp-txt-active-primary wp:border-[2px] wp-line-selected wp:rounded-full hover:wp-cta-secondary-tap",tertiary:"wp-cta-inverse wp-txt-primary wp:rounded-full wp:border-0 hover:wp-cta-optional-tap",optional:"wp-cta-inverse wp-txt-primary wp:rounded-full wp:border-[2px] wp-line-inactive hover:wp-cta-optional-tap hover:wp-line-active",destructive:"wp-cta-destructive wp-txt-inverse-still wp:rounded-full wp:border-0 hover:wp-cta-destructive-tap"},size:{large:"wp:[&>svg]:size-5",medium:"wp:[&>svg]:size-4"},disabled:{true:"disabled:wp-txt-disabled disabled:wp-ic-disabled disabled:wp:outline-none wp:cursor-not-allowed",false:"wp:cursor-pointer"},loading:{true:"wp:cursor-wait"}},compoundVariants:[{subVariant:["primary","secondary","tertiary","optional","destructive"],disabled:!0,class:"disabled:wp-cta-optional-tap"},{subVariant:["primary","tertiary","destructive"],size:"large",class:"wp:p-[14px]"},{subVariant:["primary","tertiary","destructive"],size:"medium",class:"wp:p-[10px]"},{subVariant:["secondary","optional"],size:"large",class:"wp:p-[12px] disabled:wp:border-[2px] disabled:wp-line-divider"},{subVariant:["secondary","optional"],size:"medium",class:"wp:p-[8px] disabled:wp:border-[2px] disabled:wp-line-divider"}]}),l=e=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},o.createElement("title",null,"loading icon"),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 18C15.8137 18 18.5 15.3137 18.5 12C18.5 8.68629 15.8137 6 12.5 6C9.18629 6 6.5 8.68629 6.5 12C6.5 15.3137 9.18629 18 12.5 18ZM12.5 22C18.0228 22 22.5 17.5228 22.5 12C22.5 6.47715 18.0228 2 12.5 2C6.97715 2 2.5 6.47715 2.5 12C2.5 17.5228 6.97715 22 12.5 22Z",fill:"#DFDFDF"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 5.999C13.2881 5.999 14.0684 6.15422 14.7965 6.4558C15.5246 6.75738 16.1861 7.19941 16.7433 7.75666C17.3006 8.3139 17.7426 8.97544 18.0442 9.70352C18.3458 10.4316 18.501 11.2119 18.501 12H22.5C22.5 10.6868 22.2413 9.38642 21.7388 8.17317C21.7148 8.11519 21.6902 8.05746 21.6652 8C21.1654 6.85495 20.4553 5.81314 19.5711 4.92893
1C18.6869 4.04472 17.6451 3.33459 16.5 2.83485C16.4425 2.80977 16.3848 2.78522 16.3268 2.7612C15.1136 2.25866 13.8132 2 12.5 2V5.999Z",fill:"#44B50C"})),u=(0,o.forwardRef)(function(e,t){const{icon:r,variant:u="primary-large","aria-label":s,"aria-labelledby":c,disabled:p=!1,loading:d=!1,onClick:f,type:w="button"}=e,b=p||d,m=(0,o.useMemo)(()=>u.split("-")[0],[u]),v=(0,o.useMemo)(()=>u.split("-")[1],[u]),y=d?(0,n.jsx)(l,{className:"wp:animate-spin"}):r;return(0,n.jsx)("button",{ref:t,type:w,onClick:f,className:(0,i.$)(a({subVariant:m,size:v,disabled:b,loading:d})),disabled:b,"aria-label":s,"aria-labelledby":c,children:y})});u.displayName="IconButton";const s=u},34354(e,t,r){r.d(t,{T:()=>a});var n=r(74848),i=r(96540),o=r(23258);const a=(0,i.forwardRef)(({title:e,...t},r)=>(0,n.jsxs)(o.a,{title:e,...t,ref:r,viewBox:"0 0 24 24",children:[(0,n.jsx)("path",{d:"M16 2C16.5523 2 17 2.44772 17 3V4H5V18H4C3.44772 18 3 17.5523 3 17V4C3 2.89543 3.89543 2 5 2H16Z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 8C21 6.89543 20.1046 6 19 6H9C7.89543 6 7 6.89543 7 8V20C7 21.1046 7.89543 22 9 22H19C20.1046 22 21 21.1046 21 20V8ZM9 20V8H19V20H9Z",fill:"currentColor"})]}));a.displayName="CopyIcon"},645(e,t,r){r.d(t,{m:()=>a});var n=r(74848),i=r(96540),o=r(23258);const a=(0,i.forwardRef)(({title:e,...t},r)=>(0,n.jsx)(o.a,{title:e,...t,ref:r,viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 13.4142L4.70711 20.7071C4.31658 21.0976 3.68342 21.0976 3.29289 20.7071C2.90237 20.3166 2.90237 19.6834 3.29289 19.2929L10.5858 12L3.29289 4.70711C2.90237 4.31658 2.90237 3.68342 3.29289 3.29289C3.68342 2.90237 4.31658 2.90237 4.70711 3.29289L12 10.5858L19.2929 3.29289C19.6834 2.90237 20.3166 2.90237 20.7071 3.29289C21.0976 3.68342 21.0976 4.31658 20.7071 4.70711L13.4142 12L20.7071 19.2929C21.0976 19.6834 21.0976 20.3166 20.7071 20.7071C20.3166 21.0976 19.6834 21.0976 19.2929 20.7071L12 13.4142Z",fill:"currentColor"})}));a.displayName="XCloseBigIcon"},43874(e,t,r){r.d(t,{a:()=>a});var n=r(74848),i=r(96540),o=r(23258);const a=(0,i.forwardRef)(({title:e,...t},r)=>(0,n.jsxs)(o.a,{title:e,...t,ref:r,viewBox:"0 0 24 24",children:[(0,n.jsx)("path",{d:"M15.6342 4.70144H18.5875L13.0306 10.2583C12.7599 10.529 12.7569 10.9668 13.0237 11.2412L13.1274 11.3478C13.258 11.4822 13.437 11.5585 13.6243 11.5599C13.8116 11.5612 13.9917 11.4873 14.1242 11.3549L19.659 5.82013V8.69669C19.659 8.90318 19.741 9.10115 19.8869 9.2472C20.033 9.39317 20.231 9.47519 20.4375 9.47519C20.6439 9.47519 20.8425 9.39317 20.9885 9.2472C21.1345 9.10115 21.2165 8.90318 21.2165 8.69669V3.84913C21.2165 3.46414 20.9044 3.1521 20.5195 3.1521H15.6367C15.2094 3.1521 14.8629 3.49847 14.8629 3.92583V3.93029C14.8629 4.13482 14.9442 4.33099 15.0888 4.47556C15.2334 4.62021 15.4296 4.70144 15.6342 4.70144Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M11.1831 4.89167C11.0376 4.74624 10.8403 4.66446 10.6345 4.66446H5.74672C5.23992 4.66845 4.77174 5.01129 4.52701 5.44116C4.42029 5.62865 4.35266 5.84163 4.35266 6.0586C4.3525 10.2409 4.3525 14.4234 4.35266 18.6057C4.35266 18.8227 4.42029 19.0357 4.52701 19.2232C4.77174 19.653 5.23992 19.9959 5.74672 19.9999L18.3102 19.9997C18.8166 19.9879 19.2819 19.6412 19.5219 19.2083C19.6243 19.0236 19.688 18.6057 19.688 15.2918V13.7446C19.688 13.5382 19.606 13.3403 19.46 13.1943C19.314 13.0483 19.1161 12.9663 18.9096 12.9663C18.4794 12.9663 18.1302 13.3152 18.1302 13.7454V18.4524H5.91263V6.21724H10.6335C10.8395 6.21724 11.0371 6.13538 11.1828 5.98972C11.3284 5.84406 11.4103 5.6464 11.4103 5.44038C11.4103 5.23467 11.3286 5.03717 11.1831 4.89167Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M15.6342 4.70144H18.5875L13.0306 10.2583C12.7599 10.529 12.7569 10.9668 13.0237 11.2412L13.1274 11.3478C13.258 11.4822 13.437 11.5585 13.6243 11.5599C13.8116 11.5612 13.9917 11.4873 14.1242 11.3549L19.659 5.82013V8.69669C19.659 8.90318 19.741 9.10115 19.8869 9.2472C20.033 9.39317 20.231 9.47519 20.4375 9.47519C20.6439 9.47519 20.8425 9.39317 20.9885 9.2472C21.1345 9.10115 21.2165 8.90318 21.2165 8.69669V3.84913C21.2165 3.46414 20.9044 3.1521 20.5195 3.1521H15.6367C15.2094 3.1521 14.8629 3.49847 14.8629 3.92583V3.93029C14.8629 4.13482 14.9442 4.33099 15.0888 4.47556C15.2334 4.62021 15.4296 4.70144 15.6342 4.70144Z",stroke:"currentColor",strokeWidth:"0.7"}),(0,n.jsx)("path",{d:"M11.1831 4.89167C11.0376 4.74624 10.8403 4.66446 10.6345 4.66446H5.74672C5.23992 4.66845 4.77174 5.01129 4.52701 5.44116C4.42029 5.62865 4.35266 5.84163 4.35266 6.0586C4.3525 10.2409 4.3525 14.4234 4.35266 18.6057C4.35266 18.8227 4.42029 19.0357 4.52701 19.2232C4.77174 19.653 5.23992 19.9959 5.74672 19.9999L18.3102 19.9997C18.8166 19.9879 19.2819 19.6412 19.5219 19.2083C19.6243 19.0236 19.688 18.6057 19.688 15.2918V13.7446C19.688 13.5382 19.606 13.3403 19.46 13.1943C19.314 13.0483 19.1161 12.9663 18.9096 12.9663C18.4794 12.9663 18.1302 13.3152 18.1302 13.7454V18.4524H5.91263V6.21724H10.6335C10.8395 6.21724 11.0371 6.13538 11.1828 5.98972C11.3284 5.84406 11.4103 5.6464 11.4103 5.44038C11.4103 5.23467 11.3286 5.03717 11.1831 4.89167Z",stroke:"currentColor",strokeWidth:"0.7"})]}));a.displayName="ExternalLinkSmallIcon"},99211(e,t,r){r.d(t,{u:()=>a});var n=r(74848),i=r(96540),o=r(23258);const a=(0,i.forwardRef)(({title:e,...t},r)=>(0,n.jsx)(o.a,{title:e,...t,ref:r,viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM12.7071 10.2929C12.8881 10.4739 13 10.7239 13 11V15C13.5523 15 14 15.4477 14 16C14 16.5523 13.5523 17 13 17H11C10.4477 17 10 16.5523 10 16C10 15.4477 10.4477 15 11 15V12C10.4477 12 10 11.5523 10 11C10 10.4477 10.4477 10 11 10H12C12.2761 10 12.5261 10.1119 12.7071 10.2929ZM12 9C11.3096 9 10.75 8.44036 10.75 7.75C10.75 7.05964 11.3096 6.5 12 6.5C12.6904 6.5 13.25 7.05964 13.25 7.75C13.25 8.44036 12.6904 9 12 9Z",fill:"currentColor"})}));a.displayName="InformationIcon"},58441(e,t,r){r.d(t,{i:()=>a});var n=r(74848),i=r(96540),o=r(23258);const a=(0,i.forwardRef)(({title:e,...t},r)=>(0,n.jsx)(o.a,{title:e,...t,ref:r,viewBox:"0 0 24 24",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.3493 18.47C22.8857 19.4355 22.5378 20.6531 21.5723 21.1896C21.2751 21.3546 20.9409 21.4412 20.601 21.4412H4C2.89543 21.4412 2 20.5458 2 19.4412C2 19.1014 2.08662 18.7671 2.25169 18.47L10.5522 3.52908C11.0886 2.56351 12.3062 2.21562 13.2718 2.75205C13.5983 2.93343 13.8674 3.2026 14.0488 3.52908L22.3493 18.47ZM12.3005 4.50036L4 19.4412H20.601L12.3005 4.50036ZM11.3005 9.94124C11.3005 9.38895 11.7482 8.94124 12.3005 8.94124C12.8528 8.94124 13.3005 9.38895 13.3005 9.94124V13.4412C13.3005 13.9935 12.8528 14.4412 12.3005 14.4412C11.7482 14.4412 11.3005 13.9935 11.3005 13.4412V9.94124ZM12.3005 17.9412C11.6101 17.9412 11.0505 17.3816 11.0505 16.6912C11.0505 16.0009 11.6101 15.4412 12.3005 15.4412C12.9908 15.4412 13.5505 16.0009 13.5505 16.6912C13.5505 17.3816 12.9908 17.9412 12.3005 17.9412Z",fill:"currentColor"})}));a.displayName="WarningIcon"},20940(e,t,r){r.d(t,{I:()=>_e,t:()=>Be});var n=r(74848),i=r(96540),o=r.t(i,2),a=r(80097);const l=(0,a.F)("wp:relative wp:items-center wp:bg-[var(--wp-bg-tertiary)]",{variants:{size:{md:"wp:p-[6px] wp:gap-[8px] wp:rounded-[12px]",sm:"wp:p-[4px] wp:gap-[6px] wp:rounded-[10px]"},variant:{hug:"wp:flex wp:flex-row wp:w-fit",fill:"wp:grid wp:grid-flow-col wp-sg-fill wp:min-w-full wp:w-max"}}}),u=(0,a.F)("wp:pointer-events-none wp:absolute wp:left-0 wp-bg-surface wp-sg-ind",{variants:{size:{md:"wp:top-[6px] wp:bottom-[6px] wp:rounded-[8px]",sm:"wp:top-[4px] wp:bottom-[4px] wp:rounded-[6px]"},disableAnimation:{true:"",false:"wp:transition-[transform,width] wp:duration-[250ms] wp:ease-in-out"}}}),s=(0,a.F)("wp-sg-item wp:appearance-none wp:border-0 wp:bg-transparent wp:relative wp:isolate wp:inline-flex wp:items-center wp:justify-center wp:select-none wp:cursor-pointer focus-visible:wp:outline-2 focus-visible:wp:outline-offset-2 focus-visible:wp-outline-line-active",{variants:{size:{md:"wp:h-[36px] wp:px-[12px] wp:rounded-[8px] wp-text-sm wp:leading-[18px]",sm:"wp:h-[28px] wp:px-[10px] wp:rounded-[6px] wp-text-xs"},active:{true:"wp-txt-primary",false:"wp-txt-secondary hover:wp-txt-primary"},disabled:{true:"wp:cursor-not-allowed wp:opacity-50",false:""},variant:{hug:"",fill:""},fontWeight:{normal:"wp-font-regular",semibold:"wp-font-semi-bold"},disableAnimation:{true:"",false:"wp:[transition-property:color] wp:duration-[200ms] wp:ease-out"}},compoundVariants:[{disabled:!0,active:!1,className:"hover:wp-txt-secondary"}]});r(52675),r(89463),r(2259),r(45700),r(16280),r(76918),r(2008),r(51629),r(23418),r(25276),r(23792),r(44114),r(34782),r(89572),r(23288),r(62010),r(2892),r(67945),r(84185),r(83851),r(81278),r(79432),r(26099),r(27495),r(90906),r(38781),r(47764),r(98992),r(54520),r(3949),r(23500),r(62953),r(28706),r(74423),r(64346);var c=r(40306),p=r(69717),d=(r(50113),r(62062),r(94490),r(72577),r(81454),r(76031),r(2
16910),r(36033),r(86139)),f=r(70448);function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}var b=["scope","children"];function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e,t,r){return(t=function(e){var t=function(e){if("object"!=w(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==w(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,l=[],u=!0,s=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==t);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return x(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var h=r(52284),g=r(29354),C=r(87248),j=r(43578),S=r(69860),I=r(53938);function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r(42762);var R=!1,E=o[" useSyncExternalStore ".trim().toString()];function M(){return function(){}}var A="function"==typeof E?function(){return E(M,function(){return!0},function(){return!1})}:function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,l=[],u=!0,s=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==t);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return O(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(i.useState(R),2),t=e[0],r=e[1];return i.useEffect(function(){R||(R=!0,r(!0))},[]),t};function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}var k=["__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopId","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus"],P=["__scopeRovingFocusGroup","focusable","active","tabStopId","children"];function F(e,t){if(null==e)return{};var r,n,i=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 o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function z(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?T(Object(r),!0).forEach(function(t){D(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function D(e,t,r){return(t=function(e){var t=function(e){if("object"!=V(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=V(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==V(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,l=[],u=!0,s=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==t);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(e,t)||L(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){if(e){if("string"==typeof e)return _(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var B="rovingFocusGroup.onEntryFocus",H={bubbles:!1,cancelable:!0},Z="RovingFocusGroup",W=function(e){var t=e+"CollectionProvider",r=y((0,p.A)(t),2),o=r[0],a=r[1],l=y(o(t,{collectionRef:{current:null},itemMap:new Map}),2),u=l[0],s=l[1],c=function(e){var t=e.scope,r=e.children,o=i.useRef(null),a=i.useRef(new Map).current;return(0,n.jsx)(u,{scope:t,itemMap:a,collectionRef:o,children:r})};c.displayName=t;var w=e+"CollectionSlot",x=(0,f.T)(w),h=i.forwardRef(function(e,t){var r=e.scope,i=e.children,o=s(w,r),a=(0,d.s)(t,o.collectionRef);return(0,n.jsx)(x,{ref:a,children:i})});h.displayName=w;var g=e+"CollectionItemSlot",C="data-radix-collection-item",j=(0,f.T)(g),S=i.forwardRef(function(e,t){var r=e.scope,o=e.children,a=function(e,t){if(null==e)return{};var r,n,i=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 o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,b),l=i.useRef(null),u=(0,d.s)(t,l),c=s(g,r);return i.useEffect(function(){return c.itemMap.set(l,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({ref:l},a)),function(){c.itemMap.delete(l)}}),(0,n.jsx)(j,v(v(v({},C,""),"ref",u),"children",o))});return S.displayName=g,[{Provider:c,Slot:h,ItemSlot:S}
1,function(t){var r=s(e+"CollectionConsumer",t);return i.useCallback(function(){var e=r.collectionRef.current;if(!e)return[];var t=Array.from(e.querySelectorAll("[".concat(C,"]")));return Array.from(r.itemMap.values()).sort(function(e,r){return t.indexOf(e.ref.current)-t.indexOf(r.ref.current)})},[r.collectionRef,r.itemMap])},a]}(Z),K=N(W,3),U=K[0],$=K[1],G=K[2],q=N((0,p.A)(Z,[G]),2),Y=q[0],X=q[1],Q=N(Y(Z),2),J=Q[0],ee=Q[1],te=i.forwardRef(function(e,t){return(0,n.jsx)(U.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(U.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,n.jsx)(re,z(z({},e),{},{ref:t}))})})});te.displayName=Z;var re=i.forwardRef(function(e,t){var r=e.__scopeRovingFocusGroup,o=e.orientation,a=e.loop,l=void 0!==a&&a,u=e.dir,s=e.currentTabStopId,p=e.defaultCurrentTabStopId,f=e.onCurrentTabStopIdChange,w=e.onEntryFocus,b=e.preventScrollOnEntryFocus,m=void 0!==b&&b,v=F(e,k),y=i.useRef(null),x=(0,d.s)(t,y),h=(0,S.jH)(u),I=N((0,j.i)({prop:s,defaultProp:null!=p?p:null,onChange:f,caller:Z}),2),O=I[0],R=I[1],E=N(i.useState(!1),2),M=E[0],A=E[1],V=(0,C.c)(w),P=$(r),T=i.useRef(!1),D=N(i.useState(0),2),W=D[0],K=D[1];return i.useEffect(function(){var e=y.current;if(e)return e.addEventListener(B,V),function(){return e.removeEventListener(B,V)}},[V]),(0,n.jsx)(J,{scope:r,orientation:o,dir:h,loop:l,currentTabStopId:O,onItemFocus:i.useCallback(function(e){return R(e)},[R]),onItemShiftTab:i.useCallback(function(){return A(!0)},[]),onFocusableItemAdd:i.useCallback(function(){return K(function(e){return e+1})},[]),onFocusableItemRemove:i.useCallback(function(){return K(function(e){return e-1})},[]),children:(0,n.jsx)(g.s.div,z(z({tabIndex:M||0===W?-1:0,"data-orientation":o},v),{},{ref:x,style:z({outline:"none"},e.style),onMouseDown:(0,c.m)(e.onMouseDown,function(){T.current=!0}),onFocus:(0,c.m)(e.onFocus,function(e){var t=!T.current;if(e.target===e.currentTarget&&t&&!M){var r=new CustomEvent(B,H);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){var n=P().filter(function(e){return e.focusable}),i=[n.find(function(e){return e.active}),n.find(function(e){return e.id===O})].concat(function(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||L(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n)).filter(Boolean).map(function(e){return e.ref.current});ae(i,m)}}T.current=!1}),onBlur:(0,c.m)(e.onBlur,function(){return A(!1)})}))})}),ne="RovingFocusGroupItem",ie=i.forwardRef(function(e,t){var r=e.__scopeRovingFocusGroup,o=e.focusable,a=void 0===o||o,l=e.active,u=void 0!==l&&l,s=e.tabStopId,p=e.children,d=F(e,P),f=(0,h.B)(),w=s||f,b=ee(ne,r),m=b.currentTabStopId===w,v=$(r),y=b.onFocusableItemAdd,x=b.onFocusableItemRemove,C=b.currentTabStopId,j=A();return(0,I.N)(function(){if(j&&a)return y(),function(){return x()}},[j,a,y,x]),i.useEffect(function(){if(!j&&a)return y(),function(){return x()}},[j,a,y,x]),(0,n.jsx)(U.ItemSlot,{scope:r,id:w,focusable:a,active:u,children:(0,n.jsx)(g.s.span,z(z({tabIndex:m?0:-1,"data-orientation":b.orientation},d),{},{ref:t,onMouseDown:(0,c.m)(e.onMouseDown,function(e){a?b.onItemFocus(w):e.preventDefault()}),onFocus:(0,c.m)(e.onFocus,function(){return b.onItemFocus(w)}),onKeyDown:(0,c.m)(e.onKeyDown,function(e){if("Tab"===e.key&&e.shiftKey)b.onItemShiftTab();else if(e.target===e.currentTarget){var t=function(e,t,r){var n=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return oe[n]}(e,b.orientation,b.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();var r=v().filter(function(e){return e.focusable}).map(function(e){return e.ref.current});if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();var n=r.indexOf(e.currentTarget);r=b.loop?function(e,t){return e.map(function(r,n){return e[(t+n)%e.length]})}(r,n+1):r.slice(n+1)}setTimeout(function(){return ae(r)})}}}),children:"function"==typeof p?p({isCurrentTabStop:m,hasTabStop:null!=C}):p}))})});
1ie.displayName=ne;var oe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ae(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement,i=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=L(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==t.return||t.return()}finally{if(a)throw i}}}}(e);try{for(i.s();!(t=i.n()).done;){var o=t.value;if(o===n||(o.focus({preventScroll:r}),document.activeElement!==n))return}}catch(e){i.e(e)}finally{i.f()}}var le=te,ue=ie,se=r(12429);function ce(e){return ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ce(e)}var pe=["__scopeTabs","value","onValueChange","defaultValue","orientation","dir","activationMode"],de=["__scopeTabs","loop"],fe=["__scopeTabs","value","disabled"],we=["__scopeTabs","value","forceMount","children"];function be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function me(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?be(Object(r),!0).forEach(function(t){ve(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):be(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ve(e,t,r){return(t=function(e){var t=function(e){if("object"!=ce(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ce(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ce(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ye(e,t){if(null==e)return{};var r,n,i=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 o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,l=[],u=!0,s=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==t);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return he(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?he(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function he(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var ge="Tabs",Ce=xe((0,p.A)(ge,[X]),1)[0],je=X(),Se=xe(Ce(ge),2),Ie=Se[0],Oe=Se[1],Re=i.forwardRef(function(e,t){var r=e.__scopeTabs,i=e.value,o=e.onValueChange,a=e.defaultValue,l=e.orientation,u=void 0===l?"horizontal":l,s=e.dir,c=e.activationMode,p=void 0===c?"automatic":c,d=ye(e,pe),f=(0,S.jH)(s),w=xe((0,j.i)({prop:i,onChange:o,defaultProp:null!=a?a:"",caller:ge}),2),b=w[0],m=w[1];return(0,n.jsx)(Ie,{scope:r,baseId:(0,h.B)(),value:b,onValueChange:m,orientation:u,dir:f,activationMode:p,children:(0,n.jsx)(g.s.div,me(me({dir:f,"data-orientation":u},d),{},{ref:t}))})});Re.displayName=ge;
1var Ee="TabsList",Me=i.forwardRef(function(e,t){var r=e.__scopeTabs,i=e.loop,o=void 0===i||i,a=ye(e,de),l=Oe(Ee,r),u=je(r);return(0,n.jsx)(le,me(me({asChild:!0},u),{},{orientation:l.orientation,dir:l.dir,loop:o,children:(0,n.jsx)(g.s.div,me(me({role:"tablist","aria-orientation":l.orientation},a),{},{ref:t}))}))});Me.displayName=Ee;var Ae="TabsTrigger",Ve=i.forwardRef(function(e,t){var r=e.__scopeTabs,i=e.value,o=e.disabled,a=void 0!==o&&o,l=ye(e,fe),u=Oe(Ae,r),s=je(r),p=Fe(u.baseId,i),d=Te(u.baseId,i),f=i===u.value;return(0,n.jsx)(ue,me(me({asChild:!0},s),{},{focusable:!a,active:f,children:(0,n.jsx)(g.s.button,me(me({type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:p},l),{},{ref:t,onMouseDown:(0,c.m)(e.onMouseDown,function(e){a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(i)}),onKeyDown:(0,c.m)(e.onKeyDown,function(e){a||e.target!==e.currentTarget||[" ","Enter"].includes(e.key)&&u.onValueChange(i)}),onFocus:(0,c.m)(e.onFocus,function(){var e="manual"!==u.activationMode;!f&&!a&&e&&u.onValueChange(i)})}))}))});Ve.displayName=Ae;var ke="TabsContent",Pe=i.forwardRef(function(e,t){var r=e.__scopeTabs,o=e.value,a=e.forceMount,l=e.children,u=ye(e,we),s=Oe(ke,r),c=Fe(s.baseId,o),p=Te(s.baseId,o),d=o===s.value,f=i.useRef(d);return i.useEffect(function(){var e=requestAnimationFrame(function(){return f.current=!1});return function(){return cancelAnimationFrame(e)}},[]),(0,n.jsx)(se.C,{present:a||d,children:function(r){var i=r.present;return(0,n.jsx)(g.s.div,me(me({"data-state":d?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":c,hidden:!i,id:p,tabIndex:0},u),{},{ref:t,style:me(me({},e.style),{},{animationDuration:f.current?"0s":void 0}),children:i&&l}))}})});function Fe(e,t){return"".concat(e,"-trigger-").concat(t)}function Te(e,t){return"".concat(e,"-content-").concat(t)}Pe.displayName=ke;var ze=Re,De=Me,Ne=Ve;const Le=(0,i.createContext)({value:"",size:"md",variant:"hug",fontWeight:"normal",disableAnimation:!1}),_e=(0,i.forwardRef)(function({value:e,defaultValue:t,onValueChange:r,size:o="md",variant:a="hug",fontWeight:s="normal",activationMode:c="manual",disableAnimation:p=!1,"aria-label":d,"aria-labelledby":f,id:w,children:b},m){const[v,y]=(0,i.useState)(t??""),x=void 0!==e,h=x?e:v,g=(0,i.useCallback)(({listRect:e,itemRect:t,borderLeft:r})=>({width:t.width,transform:`translateX(${t.left-e.left-r}px)`}),[]),{mergedRef:C,indicatorRef:j,indicatorStyle:S,measurePosition:I}=function({forwardedRef:e,computeStyle:t,skipResizeObserverRef:r}){const n=(0,i.useRef)(null),o=(0,i.useRef)(null),a=(0,i.useRef)(null),l=(0,i.useRef)(!1),[u,s]=(0,i.useState)(null),c=(0,i.useCallback)(t=>{n.current=t,"function"==typeof e?e(t):e&&(e.current=t)},[e]),p=(0,i.useCallback)(()=>{const e=n.current;if(!e)return;const r=e.querySelector(":scope > [data-state='active']");if(!r)return void s(null);const i=e.getBoundingClientRect(),o=r.getBoundingClientRect(),a=window.getComputedStyle(e),u=window.getComputedStyle(r),c=parseFloat(u.borderLeftWidth)+parseFloat(a.borderLeftWidth);s(t({list:e,listRect:i,itemRect:o,borderLeft:c,activeItem:r})),l.current||(l.current=!0,e.setAttribute("data-initialized",""))},[t]),d=(0,i.useCallback)(()=>{null!=a.current&&clearTimeout(a.current);const e=o.current;e&&(e.style.transitionDuration="0ms"),p(),a.current=setTimeout(()=>{o.current&&(o.current.style.transitionDuration=""),a.current=null},30)},[p]);return(0,i.useEffect)(()=>{const e=n.current;if(!e)return;const t=new ResizeObserver(()=>{r?.current||d()});t.observe(e);for(const r of e.querySelectorAll("[role='tab']"))t.observe(r);return()=>t.disconnect()},[d,r]),(0,i.useEffect)(()=>{const e=new MutationObserver(e=>{for(const t of e)if("dir"===t.attributeName){d();break}});return e.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),()=>e.disconnect()},[d]),(0,i.useEffect)(()=>()=>{null!=a.current&&(clearTimeout(a.current),a.current=null)},[]),{mergedRef:c,listRef:n,indicatorRef:o,indicatorStyle:u,initializedRef:l,measurePosition:p,measureWithoutAnimation:d}}({forwardedRef:m,computeStyle:g});(0,i.useLayoutEffect)(()=>{const e=requestAnimationFrame(I);return()=>cancelAnimationFrame(e)},[h,o,a,I]);const O=(0,i.useMemo)(()=>({value:h,size:o,variant:a,fontWeight:s,disableAnimation:p}),[h,o,a,s,p]);return(0,n.jsx)(Le.Provider,{value:O,children:(0,n.jsx)(ze,{value:h,onValueChange:e=>{x||y(e),r?.(e)},activationMode:c,children:(0,n.jsxs)(De,{ref:C,"aria-label":d,"aria-labelledby":f,id:w,"data-size":o,className:l({size:o,variant:a}
1),children:[S&&(0,n.jsx)("span",{ref:j,"aria-hidden":!0,className:u({size:o,disableAnimation:p}),style:S}),b]})})})});_e.displayName="SegmentedControl";const Be=(0,i.forwardRef)(function({value:e,disabled:t=!1,"aria-label":r,"aria-labelledby":o,children:a},l){const{value:u,size:c,variant:p,fontWeight:d,disableAnimation:f}=(0,i.useContext)(Le);return(0,n.jsx)(Ne,{ref:l,value:e,disabled:t,"aria-label":r,"aria-labelledby":o,className:s({size:c,active:u===e,disabled:t,variant:p,fontWeight:d,disableAnimation:f}),children:(0,n.jsx)("span",{className:"wp:truncate wp:max-w-[200px]",children:a})})});Be.displayName="SegmentedControlItem"},84810(e,t,r){r.d(t,{M:()=>S});var n=r(74848),i=r(96540),o=r(40961),a=r(645),l=r(99211),u=r(58441),s=r(80097);const c=(0,s.F)("wp:flex wp:w-fit wp:items-center wp:gap-[8px] wp:px-[16px] wp:py-[10px] wp:rounded-[8px] wp:shadow-[0px_2px_8px_0px_rgba(0,0,0,0.08)] wp:max-w-[768px]",{variants:{color:{neutral:"wp-bg-inverse wp-txt-inverse",destructive:"wp-bg-solid-destructive wp-txt-inverse-still"}}}),p=(0,s.F)("wp:flex wp:items-center wp:justify-center wp:shrink-0 wp:self-start wp:h-[24px] wp:cursor-pointer wp:border-none wp:bg-transparent wp:p-0 wp:m-0 wp:rounded-[2px] focus-visible:wp:outline-2 focus-visible:wp:outline-offset-2 focus-visible:wp-outline-line-active",{variants:{color:{neutral:"wp-txt-inverse",destructive:"wp-txt-inverse-still"}}});var d=r(49405);const f={neutral:(0,n.jsx)(l.u,{size:20,color:"inverse"}),destructive:(0,n.jsx)(u.i,{size:20,color:"inverse-still"})},w=(0,i.forwardRef)(function({color:e,children:t,withIcon:r=!1,actionButton:o,onClose:l,duration:u=6e3,dismissible:s=!1},w){const[b,m]=(0,i.useState)(!1),[v,y]=(0,i.useState)(!1);if(function(e,t,r){const n=(0,i.useRef)(e),o=(0,i.useRef)(null),a=(0,i.useRef)(null),l=(0,i.useRef)(t);l.current=t;const u=(0,i.useCallback)(()=>{null!==a.current&&(clearTimeout(a.current),a.current=null)},[]),s=(0,i.useCallback)(()=>{if(null!==o.current){const e=Date.now()-o.current;n.current=Math.max(0,n.current-e),o.current=null}u()},[u]),c=(0,i.useCallback)(()=>{!l.current||n.current<=0||(u(),o.current=Date.now(),a.current=setTimeout(()=>l.current?.(),n.current))},[u]);(0,i.useEffect)(()=>{if(e<=0||!l.current)return;const t=()=>{document.hidden||r?s():c()};return document.addEventListener("visibilitychange",t),r||document.hidden?s():c(),()=>{u(),document.removeEventListener("visibilitychange",t)}},[e,r,s,c,u]),(0,i.useEffect)(()=>{n.current=e},[e])}(u,l,b),v)return null;const x=r?f[e]:null,h="destructive"===e?"alert":"status";return(0,n.jsxs)("div",{ref:w,role:h,className:c({color:e}),onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),children:[x&&(0,n.jsx)("span",{"aria-hidden":"true",className:"wp:flex wp:items-center wp:justify-center wp:flex-shrink-0 wp:self-start wp:h-[24px] wp:w-[20px]",children:x}),(0,n.jsxs)("div",{className:"wp:flex wp:flex-wrap wp:items-center wp:gap-[8px] wp:flex-1 wp:min-w-0",children:[(0,n.jsx)("p",{className:"wp-text-sm wp:font-normal wp:leading-[22px] wp:tracking-normal wp:min-w-0 wp:m-0",children:t}),o&&(0,n.jsx)("span",{className:"wp-dark-theme wp:shrink-0 wp:flex wp:items-center",children:(0,n.jsx)(d.Q,{variant:"neutral"===e?"exception-medium":"inline-medium",onClick:o.onClick,children:o.label})})]}),s&&(0,n.jsx)("button",{type:"button","aria-label":"Close",onClick:()=>{l?l():y(!0)},className:p({color:e}),children:(0,n.jsx)(a.m,{size:16})})]})});w.displayName="Snackbar";const b=w;var m=r(96517);const v=()=>null,y={position:"fixed",top:24,left:"50%",transform:"translateX(-50%)",zIndex:9999,display:"flex",justifyContent:"center",width:"100%",maxWidth:800,padding:"0 16px",boxSizing:"border-box",pointerEvents:"none"},x={pointerEvents:"auto",opacity:0,transform:"translateY(-20px)",transition:"opacity 220ms ease-out, transform 220ms ease-out"},h={pointerEvents:"auto",opacity:1,transform:"translateY(0)",transition:"opacity 220ms ease-out, transform 220ms ease-out"},g={pointerEvents:"auto",opacity:0,transform:"translateY(0)",transition:"opacity 220ms ease-out"},C={pointerEvents:"auto",opacity:1,transform:"translateY(0)"};function j(e,t){if(t)return C;switch(e){case"entering":return x;case"visible":return h;case"exiting":return g}}function S(){const e=(0,i.useSyncExternalStore)(m.B1,m.dV,v),[t,r]=(0,i.useState)(null),a=(0,i.useRef)(null),l=(0,i.useRef)(null),u=(0,i.useRef)(null),s=(0,i.useRef)(!1),c=(0,i.useCallback)(()=>{null!==a.current&&(clearTimeout(a.current),a.current=null)},[]);if((0,i.useEffect)(()=>{const t=u.current;if(u.current=e,null!==e){if(e.dismissing)return s.current?void(0,m.IU)():(r("exiting"),c(),void(a.current=setTimeout(()=>{(0,m.IU)()},220)));null===t&&(l.current=document.activeElement),s.current=typeof window<"u"&&"function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,c(),r("entering")}else if(c(),r(null),l.current){const e=document.activeElement;(!e||e===document.body)&&l.current.focus?.(),l.current=null}},[e,c]),(0,i.useEffect)(()=>
1{if("entering"!==t)return;if(s.current)return void r("visible");const e=requestAnimationFrame(()=>{r("visible")});return()=>cancelAnimationFrame(e)},[t]),(0,i.useEffect)(()=>()=>c(),[c]),typeof document>"u")return null;const p=null!==e&&null!==t,d="destructive"===e?.options.color,f=e?.options??null,w=p&&f&&t?(0,n.jsx)("div",{style:j(t,s.current),children:(0,n.jsx)(b,{color:f.color,actionButton:f.actionButton,duration:f.duration,dismissible:f.dismissible,onClose:m.oK.close,withIcon:f.withIcon,children:f.message},f.key)}):null;return(0,o.createPortal)((0,n.jsxs)("div",{style:y,children:[(0,n.jsx)("div",{"aria-live":"polite","aria-atomic":"true",children:p&&!d?w:null}),(0,n.jsx)("div",{"aria-live":"assertive","aria-atomic":"true",children:p&&d?w:null})]}),document.body)}S.displayName="SnackbarPortal"},96517(e,t,r){r.d(t,{B1:()=>l,IU:()=>c,dV:()=>u,oK:()=>s});let n=null,i=0;const o=new Set;function a(){for(const e of o)e()}function l(e){return o.add(e),()=>{o.delete(e)}}function u(){return n}const s={open:e=>{i+=1;const t=e.duration??(e.actionButton?6e3:3e3);n={options:{...e,duration:t,key:i},dismissing:!1},a()},close:()=>{null===n||n.dismissing||(n={...n,dismissing:!0},a())}};function c(){null!==n&&(n=null,a())}},49405(e,t,r){r.d(t,{Q:()=>p});var n=r(74848),i=r(71918),o=r(96540);const a=e=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 18C15.8137 18 18.5 15.3137 18.5 12C18.5 8.68629 15.8137 6 12.5 6C9.18629 6 6.5 8.68629 6.5 12C6.5 15.3137 9.18629 18 12.5 18ZM12.5 22C18.0228 22 22.5 17.5228 22.5 12C22.5 6.47715 18.0228 2 12.5 2C6.97715 2 2.5 6.47715 2.5 12C2.5 17.5228 6.97715 22 12.5 22Z",fill:"#DFDFDF"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 5.999C13.2881 5.999 14.0684 6.15422 14.7965 6.4558C15.5246 6.75738 16.1861 7.19941 16.7433 7.75666C17.3006 8.3139 17.7426 8.97544 18.0442 9.70352C18.3458 10.4316 18.501 11.2119 18.501 12H22.5C22.5 10.6868 22.2413 9.38642 21.7388 8.17317C21.7148 8.11519 21.6902 8.05746 21.6652 8C21.1654 6.85495 20.4553 5.81314 19.5711 4.92893
1C18.6869 4.04472 17.6451 3.33459 16.5 2.83485C16.4425 2.80977 16.3848 2.78522 16.3268 2.7612C15.1136 2.25866 13.8132 2 12.5 2V5.999Z",fill:"#44B50C"}));var l=r(80097);const u=(0,l.F)("wp:appearance-none wp:inline-flex wp:items-center wp:justify-center wp:rounded-[4px] wp:size-fit wp:border-0 wp:bg-transparent wp:bg-none wp:p-0 focus-visible:wp:outline-2 focus-visible:wp:outline-offset-2 focus-visible:wp-outline-line-active focus-visible:wp:rounded-xs",{variants:{disabled:{true:"disabled:wp-txt-disabled disabled:wp-ic-disabled disabled:wp:pointer-events-none disabled:wp-line-divider disabled:wp:outline-none wp:cursor-not-allowed",false:"wp:cursor-pointer"},subVariant:{inline:"wp-txt-primary",exception:"wp-txt-active-secondary"},size:{large:"wp-text-base wp-font-semi-bold wp:leading-[20px] wp:tracking-normal wp:gap-[4px]",medium:"wp-text-sm wp-font-semi-bold wp:leading-[18px] wp:tracking-normal wp:gap-[4px]",small:"wp-text-xs wp-font-semi-bold wp:leading-[16px] wp:tracking-normal wp:gap-[2px]"},loading:{true:"wp:cursor-wait",false:""},children:{true:""},leadingIcon:{true:"",false:""},trailingIcon:{true:"",false:""}},compoundVariants:[{subVariant:["inline","exception"],loading:!1,class:"wp:underline"}]}),s=(0,l.F)("wp:flex-shrink-0",{variants:{size:{auto:"wp:size-auto",large:"wp:size-[20px]",medium:"wp:size-[16px]",small:"wp:size-[14px]"}}}),c=(0,o.forwardRef)(function(e,t){const{variant:r,disabled:l=!1,type:c="button",loading:p=!1,leadingIcon:d,trailingIcon:f,onClick:w,children:b,"aria-describedby":m}=e,v=(0,o.useMemo)(()=>r.split("-")[0],[r]),y=(0,o.useMemo)(()=>r.split("-")[1],[r]),x=(0,o.useMemo)(()=>(0,n.jsx)(a,{className:"wp:animate-spin"}),[]),h=p?x:d,g=p?null:f,C=(0,o.useMemo)(()=>function(e,t,r){return o.isValidElement(e)&&(e.props.width||e.props.height)||o.isValidElement(t)&&(t.props.width||t.props.height)?"auto":r}(p?x:d,p?null:f,y),[p,x,d,f,y]);return(0,n.jsxs)("button",{ref:t,onClick:w,type:c,...m&&{"aria-describedby":m},className:(0,i.$)(u({subVariant:v,size:y,loading:p,disabled:l||p,children:!!b,leadingIcon:!!h,trailingIcon:!!g})),disabled:l||p,children:[h&&(0,n.jsx)("span",{className:s({size:C}),children:h}),b,g&&(0,n.jsx)("span",{className:s({size:C}),children:g})]})});c.displayName="TextButton";const p=c},71918(e,t,r){r.d(t,{$:()=>n});const n=(...e)=>e.filter(Boolean).join(" ")}}]);
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.