boottent-design 0.1.76 → 0.1.77
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/boottent-design.main.cjs.js +1 -1
- package/dist/boottent-design.main.es.js +3 -3
- package/dist/boottent-design.provider.cjs.js +1 -1
- package/dist/boottent-design.provider.es.js +1 -1
- package/dist/boottent-design.ui.cjs.js +1 -1
- package/dist/boottent-design.ui.es.js +2 -2
- package/dist/{index-CL21svHz.js → index-CS-MyqzN.js} +72 -67
- package/dist/{index-KoPz-kAj.cjs → index-DA-vbnGe.cjs} +1 -1
- package/dist/{portal-provider-HOCziFPu.cjs → portal-provider-BB1ZUJea.cjs} +1 -1
- package/dist/{portal-provider-DQhrTkX-.js → portal-provider-Z7EnJtHu.js} +1 -1
- package/dist/toggleButtonGroup-primitive-CC3iAt_X.cjs +52 -0
- package/dist/toggleButtonGroup-primitive-DPb6avPH.js +9081 -0
- package/package.json +2 -1
- package/dist/toggleButtonGroup-primitive-8daUH1wv.js +0 -8292
- package/dist/toggleButtonGroup-primitive-BXtN42o0.cjs +0 -51
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),Qe=require("./boottent-design.styles.cjs.js"),D=require("./boottent-design.utils.cjs.js"),O=require("react"),R=require("./index-Ly7gJulk.cjs"),ur=require("react-dom");function Uo(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=Uo(O),Go=Uo(ur);function zl({size:e="16",fill:t="#26282A",className:n}){return a.jsx("svg",{className:n,xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 16 16",fill:"none",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5503 4.51334C1.83958 4.22407 2.30859 4.22407 2.59787 4.51334L8.00001 9.91549L13.4022 4.51334C13.6914 4.22407 14.1604 4.22407 14.4497 4.51334C14.739 4.80262 14.739 5.27163 14.4497 5.56091L8.52379 11.4868C8.23452 11.7761 7.7655 11.7761 7.47623 11.4868L1.5503 5.56091C1.26102 5.27163 1.26102 4.80262 1.5503 4.51334Z",fill:t})})}function Yl({size:e="24",fill:t="#26282A",className:n}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:n,children:a.jsx("path",{d:"M13 3C13 2.44772 12.5523 2 12 2C11.4477 2 11 2.44772 11 3L11 18.5858L6.70711 14.2929C6.31658 13.9024 5.68342 13.9024 5.29289 14.2929C4.90237 14.6834 4.90237 15.3166 5.29289 15.7071L11.2929 21.7071C11.4804 21.8946 11.7348 22 12 22C12.2652 22 12.5196 21.8946 12.7071 21.7071L18.7071 15.7071C19.0976 15.3166 19.0976 14.6834 18.7071 14.2929C18.3166 13.9024 17.6834 13.9024 17.2929 14.2929L13 18.5858L13 3Z",fill:t})})}function ql({size:e="36",fill:t="#26282A",className:n}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 36 36",fill:"none",className:n,children:[a.jsxs("g",{filter:"url(#filter0_d_2111_1153)",children:[a.jsx("circle",{cx:"18",cy:"18.0001",r:"15",transform:"rotate(90 18 18.0001)",fill:"white"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4697 14.4697C11.7626 14.1768 12.2374 14.1768 12.5303 14.4697L18 19.9394L23.4697 14.4697C23.7626 14.1768 24.2374 14.1768 24.5303 14.4697C24.8232 14.7626 24.8232 15.2375 24.5303 15.5304L18.5303 21.5304C18.3897 21.671 18.1989 21.7501 18 21.7501C17.8011 21.7501 17.6103 21.671 17.4697 21.5304L11.4697 15.5304C11.1768 15.2375 11.1768 14.7626 11.4697 14.4697Z",fill:t})]}),a.jsx("defs",{children:a.jsxs("filter",{id:"filter0_d_2111_1153",x:"-3.75",y:"-3.74994",width:"43.5",height:"43.5",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{}),a.jsx("feGaussianBlur",{stdDeviation:"3.375"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_2111_1153"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_2111_1153",result:"shape"})]})})]})}function Xl({size:e="16",fill:t="#26282A",className:n}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:n,children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2293 2.32544C17.6632 2.75935 17.6632 3.46287 17.2293 3.89679L9.12604 12L17.2292 20.1032C17.6632 20.5371 17.6632 21.2406 17.2292 21.6746C16.7953 22.1085 16.0918 22.1085 15.6579 21.6746L6.76901 12.7857C6.3351 12.3518 6.3351 11.6482 6.76901 11.2143L15.6579 2.32544C16.0918 1.89152 16.7953 1.89152 17.2293 2.32544Z",fill:t})})}function Ql({size:e="24",fill:t="#26282A",className:n}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:n,children:a.jsx("path",{d:"M9.70711 6.70711C10.0976 6.31658 10.0976 5.68342 9.70711 5.29289C9.31658 4.90237 8.68342 4.90237 8.29289 5.29289L2.29289 11.2929C2.10536 11.4804 2 11.7348 2 12C2 12.2652 2.10536 12.5196 2.29289 12.7071L8.29289 18.7071C8.68342 19.0976 9.31658 19.0976 9.70711 18.7071C10.0976 18.3166 10.0976 17.6834 9.70711 17.2929L5.41421 13L21 13C21.5523 13 22 12.5523 22 12C22 11.4477 21.5523 11 21 11L5.41421 11L9.70711 6.70711Z",fill:t})})}function Jl({size:e="16",fill:t="#26282A",className:n}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:n,children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.77075 21.6744C6.33683 21.2405 6.33683 20.537 6.77075 20.1031L14.874 11.9999L6.77075 3.89666C6.33683 3.46275 6.33683 2.75923 6.77075 2.32531C7.20466 1.8914 7.90818 1.8914 8.3421 2.32531L17.231 11.2142C17.6649 11.6481 17.6649 12.3516 17.231 12.7856L8.3421 21.6744C7.90818 22.1084 7.20467 22.1084 6.77075 21.6744Z",fill:t})})}function eu({size:e="24",fill:t="#26282A",className:n}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:n,children:a.jsx("path",{d:"M14.2929 17.2929C13.9024 17.6834 13.9024 18.3166 14.2929 18.7071C14.6834 19.0976 15.3166 19.0976 15.7071 18.7071L21.7071 12.7071C21.8946 12.5196 22 12.2652 22 12C22 11.7348 21.8946 11.4804 21.7071 11.2929L15.7071 5.29289C15.3166 4.90237 14.6834 4.90237 14.2929 5.29289C13.9024 5.68342 13.9024 6.31658 14.2929 6.70711L18.5858 11L3 11C2.44772 11 2 11.4477 2 12C2 12.5523 2.44772 13 3 13L18.5858 13L14.2929 17.2929Z",fill:t})})}const{grey:fo,main:tu}=Qe.colors;function nu({size:e="42",disabled:t=!1}){const[n,r]=O.useState(!1);return a.jsxs("svg",{"class-name":"cursor-pointer",onMouseOut:()=>r(!0),onMouseLeave:()=>r(!1),xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 42 42",fill:"none",children:[a.jsxs("g",{filter:"url(#filter0_d_1270_1021)",children:[a.jsx("circle",{cx:"21",cy:"21",r:"17.5",fill:"white"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.8813 28.6187C16.5396 28.277 16.5396 27.723 16.8813 27.3813L23.2626 21L16.8813 14.6187C16.5396 14.277 16.5396 13.723 16.8813 13.3813C17.223 13.0396 17.777 13.0396 18.1187 13.3813L25.1187 20.3813C25.2828 20.5454 25.375 20.7679 25.375 21C25.375 21.2321 25.2828 21.4546 25.1187 21.6187L18.1187 28.6187C17.777 28.9604 17.223 28.9604 16.8813 28.6187Z",fill:t?fo[400]:n?tu[500]:fo[800]})]}),a.jsx("defs",{children:a.jsxs("filter",{id:"filter0_d_1270_1021",x:"-4.375",y:"-4.375",width:"50.75",height:"50.75",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[a.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.jsx("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.jsx("feOffset",{}),a.jsx("feGaussianBlur",{stdDeviation:"3.9375"}),a.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),a.jsx("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),a.jsx("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1270_1021"}),a.jsx("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1270_1021",result:"shape"})]})})]})}function ru({size:e="16",fill:t="#26282A",className:n}){return a.jsx("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,children:a.jsx("g",{id:"State=common, Shape=arrow-top, Style=outlined",children:a.jsx("path",{id:"flatten",fillRule:"evenodd",clipRule:"evenodd",d:"M21.6746 17.2299C21.2406 17.6638 20.5371 17.6638 20.1032 17.2299L12 9.12665L3.89678 17.2299C3.46287 17.6638 2.75935 17.6638 2.32544 17.2299C1.89152 16.7959 1.89152 16.0924 2.32544 15.6585L11.2143 6.76962C11.6482 6.33571 12.3518 6.33571 12.7857 6.76962L21.6746 15.6585C22.1085 16.0924 22.1085 16.7959 21.6746 17.2299Z",fill:t})})})}function ou({size:e="24",fill:t="#26282A",className:n}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:n,children:a.jsx("path",{d:"M17.2929 9.70711C17.6834 10.0976 18.3166 10.0976 18.7071 9.70711C19.0976 9.31658 19.0976 8.68342 18.7071 8.29289L12.7071 2.29289C12.5196 2.10536 12.2652 2 12 2C11.7348 2 11.4804 2.10536 11.2929 2.29289L5.29289 8.29289C4.90237 8.68342 4.90237 9.31658 5.29289 9.70711C5.68342 10.0976 6.31658 10.0976 6.70711 9.70711L11 5.41421L11 21C11 21.5523 11.4477 22 12 22C12.5523 22 13 21.5523 13 21L13 5.41421L17.2929 9.70711Z",fill:t})})}function iu({size:e="25",fill:t="#A2A3A4",className:n}){return a.jsxs("svg",{className:n,xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1241 4C16.4745 4 20.0003 7.5247 20.0003 11.8715C20.0003 16.2184 16.4745 19.7431 12.1241 19.7431C10.9394 19.7431 9.8183 19.4823 8.81294 19.016L8.48388 18.8634L4.25699 19.9954C4.10511 20.0361 3.96822 19.8972 4.00828 19.7478L5.1389 15.5305L4.98442 15.2001C4.51218 14.1904 4.24791 13.0632 4.24791 11.8715C4.24791 7.5247 7.77371 4 12.1241 4ZM22.0003 11.8715C22.0003 6.41914 17.5781 2 12.1241 2C6.67013 2 2.24791 6.41914 2.24791 11.8715C2.24791 13.2299 2.52295 14.5263 3.02111 15.7064L2.0765 19.2299C1.63722 20.8685 3.13732 22.3657 4.77438 21.9273L8.31107 20.9802C9.48543 21.4718 10.7742 21.7431 12.1241 21.7431C17.5781 21.7431 22.0003 17.3239 22.0003 11.8715Z",fill:t}),a.jsx("circle",{cx:"16",cy:"12",r:"1",fill:t}),a.jsx("circle",{cx:"12",cy:"12",r:"1",fill:t}),a.jsx("circle",{cx:"8",cy:"12",r:"1",fill:t})]})}function au({size:e="24",fill:t="#26282A",className:n}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:n,children:[a.jsx("path",{d:"M7.5 2C6.67157 2 6 2.67157 6 3.5V5L4 5C2.89543 5 2 5.89543 2 7V9C2 9.55228 2.44772 10 3 10L21 10C21.5523 10 22 9.55228 22 9V7C22 5.89543 21.1046 5 20 5L18 5V3.5C18 2.67157 17.3284 2 16.5 2C15.6716 2 15 2.67157 15 3.5V5H9V3.5C9 2.67157 8.32843 2 7.5 2Z",fill:t}),a.jsx("path",{d:"M3 12C2.44772 12 2 12.4477 2 13V20C2 21.1046 2.89543 22 4 22H20C21.1046 22 22 21.1046 22 20V13C22 12.4477 21.5523 12 21 12H3Z",fill:t})]})}function su({size:e="16",fill:t="#26282A"}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 16 16",fill:"none",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.45 14.4498C14.1608 14.7391 13.6917 14.7391 13.4025 14.4498L8.00033 9.04765L2.59818 14.4498C2.30891 14.7391 1.8399 14.7391 1.55062 14.4498C1.26134 14.1605 1.26134 13.6915 1.55062 13.4022L6.95276 8.00008L1.55062 2.59794C1.26134 2.30866 1.26134 1.83965 1.55062 1.55037C1.8399 1.2611 2.30891 1.2611 2.59818 1.55037L8.00033 6.95252L13.4025 1.55037C13.6917 1.2611 14.1608 1.2611 14.45 1.55037C14.7393 1.83965 14.7393 2.30866 14.45 2.59794L9.04789 8.00008L14.45 13.4022C14.7393 13.6915 14.7393 14.1605 14.45 14.4498Z",fill:t})})}function cu({type:e="checked",size:t="18",fill:n="#7344E3"}){return e==="disabled"?a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none",children:[a.jsx("path",{d:"M1.5 4.5C1.5 2.84315 2.84315 1.5 4.5 1.5H13.5C15.1569 1.5 16.5 2.84315 16.5 4.5V13.5C16.5 15.1569 15.1569 16.5 13.5 16.5H4.5C2.84315 16.5 1.5 15.1569 1.5 13.5V4.5Z",fill:"#A2A3A4"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2803 6.21967C13.5732 6.51256 13.5732 6.98744 13.2803 7.28033L8.40533 12.1553C8.11244 12.4482 7.63756 12.4482 7.34467 12.1553L4.71967 9.53033C4.42678 9.23744 4.42678 8.76256 4.71967 8.46967C5.01256 8.17678 5.48744 8.17678 5.78033 8.46967L7.875 10.5643L12.2197 6.21967C12.5126 5.92678 12.9874 5.92678 13.2803 6.21967Z",fill:"white"})]}):e==="checked"?a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:[a.jsx("path",{d:"M2 6C2 3.79086 3.79086 2 6 2H18C20.2091 2 22 3.79086 22 6V18C22 20.2091 20.2091 22 18 22H6C3.79086 22 2 20.2091 2 18V6Z",fill:n}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7071 8.29289C18.0976 8.68342 18.0976 9.31658 17.7071 9.70711L11.2071 16.2071C10.8166 16.5976 10.1834 16.5976 9.79289 16.2071L6.29289 12.7071C5.90237 12.3166 5.90237 11.6834 6.29289 11.2929C6.68342 10.9024 7.31658 10.9024 7.70711 11.2929L10.5 14.0858L16.2929 8.29289C16.6834 7.90237 17.3166 7.90237 17.7071 8.29289Z",fill:"white"})]}):a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:[a.jsx("path",{d:"M2 6C2 3.79086 3.79086 2 6 2H18C20.2091 2 22 3.79086 22 6V18C22 20.2091 20.2091 22 18 22H6C3.79086 22 2 20.2091 2 18V6Z",fill:"white"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 3.5H6C4.61929 3.5 3.5 4.61929 3.5 6V18C3.5 19.3807 4.61929 20.5 6 20.5H18C19.3807 20.5 20.5 19.3807 20.5 18V6C20.5 4.61929 19.3807 3.5 18 3.5ZM6 2C3.79086 2 2 3.79086 2 6V18C2 20.2091 3.79086 22 6 22H18C20.2091 22 22 20.2091 22 18V6C22 3.79086 20.2091 2 18 2H6Z",fill:"#A2A3A4"})]})}function lu({fill:e="#A2A3A4",className:t}){return a.jsxs("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",children:[a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2C6 0.895432 6.89543 0 8 0H13C14.6569 0 16 1.34315 16 3V17C16 18.6569 14.6569 20 13 20H3C1.34315 20 0 18.6569 0 17V5C0 3.34315 1.34315 2 3 2L6 2ZM13 2L8 2V3C8 3.55228 7.55228 4 7 4H3C2.44772 4 2 4.44772 2 5V17C2 17.5523 2.44772 18 3 18H13C13.5523 18 14 17.5523 14 17V3C14 2.44772 13.5523 2 13 2Z",fill:e}),a.jsx("path",{d:"M7 7C7 7.55228 6.55228 8 6 8C5.44772 8 5 7.55228 5 7C5 6.44772 5.44772 6 6 6C6.55228 6 7 6.44772 7 7Z",fill:e}),a.jsx("path",{d:"M7 11C7 11.5523 6.55228 12 6 12C5.44772 12 5 11.5523 5 11C5 10.4477 5.44772 10 6 10C6.55228 10 7 10.4477 7 11Z",fill:e}),a.jsx("path",{d:"M7 15C7 15.5523 6.55228 16 6 16C5.44772 16 5 15.5523 5 15C5 14.4477 5.44772 14 6 14C6.55228 14 7 14.4477 7 15Z",fill:e}),a.jsx("path",{d:"M11 7C11 7.55228 10.5523 8 10 8C9.44771 8 9 7.55228 9 7C9 6.44772 9.44771 6 10 6C10.5523 6 11 6.44772 11 7Z",fill:e}),a.jsx("path",{d:"M11 11C11 11.5523 10.5523 12 10 12C9.44771 12 9 11.5523 9 11C9 10.4477 9.44771 10 10 10C10.5523 10 11 10.4477 11 11Z",fill:e}),a.jsx("path",{d:"M11 15C11 15.5523 10.5523 16 10 16C9.44771 16 9 15.5523 9 15C9 14.4477 9.44771 14 10 14C10.5523 14 11 14.4477 11 15Z",fill:e})]})}function uu({size:e="20",fill:t="#26282A",className:n}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:"none",className:n,children:[a.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 3C0 2.44772 0.407014 2 0.909091 2H19.0909C19.593 2 20 2.44772 20 3C20 3.55228 19.593 4 19.0909 4H0.909091C0.407014 4 0 3.55228 0 3Z",fill:t}),a.jsx("path",{d:"M16 3C16 4.65685 14.6569 6 13 6C11.3431 6 10 4.65685 10 3C10 1.34315 11.3431 0 13 0C14.6569 0 16 1.34315 16 3Z",fill:"white"}),a.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 4C13.5523 4 14 3.55228 14 3C14 2.44772 13.5523 2 13 2C12.4477 2 12 2.44772 12 3C12 3.55228 12.4477 4 13 4ZM13 6C14.6569 6 16 4.65685 16 3C16 1.34315 14.6569 0 13 0C11.3431 0 10 1.34315 10 3C10 4.65685 11.3431 6 13 6Z",fill:t}),a.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 10C0 9.44772 0.386663 9 0.863636 9H18.1364C18.6133 9 19 9.44772 19 10C19 10.5523 18.6133 11 18.1364 11H0.863636C0.386663 11 0 10.5523 0 10Z",fill:t}),a.jsx("path",{d:"M10 10C10 11.6569 8.65685 13 7 13C5.34315 13 4 11.6569 4 10C4 8.34315 5.34315 7 7 7C8.65685 7 10 8.34315 10 10Z",fill:"white"}),a.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 11C7.55228 11 8 10.5523 8 10C8 9.44772 7.55228 9 7 9C6.44772 9 6 9.44772 6 10C6 10.5523 6.44772 11 7 11ZM7 13C8.65685 13 10 11.6569 10 10C10 8.34315 8.65685 7 7 7C5.34315 7 4 8.34315 4 10C4 11.6569 5.34315 13 7 13Z",fill:t}),a.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 17C0 16.4477 0.407014 16 0.909091 16H19.0909C19.593 16 20 16.4477 20 17C20 17.5523 19.593 18 19.0909 18H0.909091C0.407014 18 0 17.5523 0 17Z",fill:t}),a.jsx("path",{d:"M16 17C16 18.6569 14.6569 20 13 20C11.3431 20 10 18.6569 10 17C10 15.3431 11.3431 14 13 14C14.6569 14 16 15.3431 16 17Z",fill:"white"}),a.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 18C13.5523 18 14 17.5523 14 17C14 16.4477 13.5523 16 13 16C12.4477 16 12 16.4477 12 17C12 17.5523 12.4477 18 13 18ZM13 20C14.6569 20 16 18.6569 16 17C16 15.3431 14.6569 14 13 14C11.3431 14 10 15.3431 10 17C10 18.6569 11.3431 20 13 20Z",fill:t})]})}function du(){return a.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("circle",{cx:"20",cy:"20",r:"20",fill:"#8261ED"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.6566 14.3431C24.0945 12.781 21.5618 12.781 19.9997 14.3431L19.2926 15.0502C18.9021 15.4408 18.2689 15.4408 17.8784 15.0502C17.4879 14.6597 17.4879 14.0266 17.8784 13.636L18.5855 12.9289C20.9286 10.5858 24.7276 10.5858 27.0708 12.9289C29.4139 15.2721 29.4139 19.0711 27.0708 21.4142L26.3637 22.1213C25.9731 22.5118 25.34 22.5118 24.9494 22.1213C24.5589 21.7308 24.5589 21.0976 24.9494 20.7071L25.6566 20C27.2186 18.4379 27.2186 15.9052 25.6566 14.3431Z",fill:"white"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.3428 25.6568C15.9049 27.2189 18.4376 27.2189 19.9997 25.6568L20.7068 24.9497C21.0973 24.5592 21.7305 24.5592 22.121 24.9497C22.5115 25.3403 22.5115 25.9734 22.121 26.3639L21.4139 27.0711C19.0708 29.4142 15.2718 29.4142 12.9286 27.0711C10.5855 24.7279 10.5855 20.9289 12.9286 18.5858L13.6357 17.8787C14.0263 17.4881 14.6594 17.4881 15.05 17.8787C15.4405 18.2692 15.4405 18.9024 15.05 19.2929L14.3428 20C12.7807 21.5621 12.7807 24.0947 14.3428 25.6568Z",fill:"white"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5352 16.4645C23.9258 16.855 23.9258 17.4881 23.5352 17.8787L17.8784 23.5355C17.4879 23.926 16.8547 23.926 16.4642 23.5355C16.0736 23.145 16.0736 22.5118 16.4642 22.1213L22.121 16.4645C22.5115 16.0739 23.1447 16.0739 23.5352 16.4645Z",fill:"white"})]})}function fu({size:e="34"}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 40 40",fill:"none",children:[a.jsx("ellipse",{cx:"20",cy:"20",rx:"20",ry:"20",fill:"#A2A3A4"}),a.jsx("mask",{id:"mask0_3603_75401",maskUnits:"userSpaceOnUse",x:"5",y:"10",width:"30",height:"31",style:{maskType:"alpha"},children:a.jsx("path",{d:"M20 25.0005C17.9375 25.0005 16.1719 24.2661 14.7031 22.7974C13.2344 21.3286 12.5 19.563 12.5 17.5005C12.5 15.438 13.2344 13.6724 14.7031 12.2036C16.1719 10.7349 17.9375 10.0005 20 10.0005C22.0625 10.0005 23.8281 10.7349 25.2969 12.2036C26.7656 13.6724 27.5 15.438 27.5 17.5005C27.5 19.563 26.7656 21.3286 25.2969 22.7974C23.8281 24.2661 22.0625 25.0005 20 25.0005ZM5 40.0005V34.7505C5 33.688 5.27375 32.7117 5.82125 31.8217C6.36875 30.9317 7.095 30.2517 8 29.7817C9.9375 28.813 11.9062 28.0867 13.9062 27.603C15.9062 27.1192 17.9375 26.8767 20 26.8755C22.0625 26.8755 24.0937 27.118 26.0937 27.603C28.0937 28.088 30.0625 28.8142 32 29.7817C32.9062 30.2505 33.6331 30.9305 34.1806 31.8217C34.7281 32.713 35.0012 33.6892 35 34.7505V40.0005H5Z",fill:"black"})}),a.jsx("g",{mask:"url(#mask0_3603_75401)",children:a.jsx("circle",{cx:"20",cy:"20.0005",r:"20",fill:"#DDE2E6"})})]})}function pu({fill:e="#26282A",size:t="24"}){return a.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("g",{id:"State=common, Shape=filter, Style=filled",children:a.jsx("path",{id:"flatten",fillRule:"evenodd",clipRule:"evenodd",d:"M14 11.0631L20.7232 4.55192C21.3145 3.97922 20.8957 3 20.0594 3H3.94057C3.10429 3 2.68547 3.97922 3.27682 4.55192L10 11.0631V19.1382C10 19.391 10.1054 19.6335 10.2929 19.8123L12.2929 21.7189C12.9229 22.3194 14 21.8941 14 21.0448V11.0631Z",fill:e})})})}function mu({size:e="19"}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 19 18",fill:"none",children:[a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.1398 9.20501C18.1398 8.56701 18.0828 7.95301 17.9758 7.36401H9.49976V10.845H14.3438C14.1348 11.97 13.5008 12.924 12.5478 13.562V15.82H15.4558C17.1578 14.253 18.1398 11.946 18.1398 9.20501Z",fill:"#3D82F0"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.4993 18.0005C11.9293 18.0005 13.9663 17.1945 15.4553 15.8205L12.5473 13.5615C11.7413 14.1015 10.7103 14.4205 9.4993 14.4205C7.1553 14.4205 5.1713 12.8375 4.4633 10.7104H1.4563V13.0425C2.9373 15.9835 5.9813 18.0005 9.4993 18.0005Z",fill:"#31A752"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.46342 10.7103C4.28342 10.1703 4.18142 9.59325 4.18142 9.00025C4.18142 8.40725 4.28342 7.83025 4.46342 7.29025V4.95825H1.45642C0.84742 6.17325 0.49942 7.54825 0.49942 9.00025C0.49942 10.4523 0.84742 11.8273 1.45642 13.0423L4.46342 10.7103Z",fill:"#F9BA00"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.4993 3.58C10.8203 3.58 12.0073 4.034 12.9393 4.926L15.5213 2.345C13.9623 0.892 11.9253 0 9.4993 0C5.9813 0 2.9373 2.017 1.4563 4.959L4.4633 7.29C5.1713 5.163 7.1553 3.58 9.4993 3.58Z",fill:"#E64234"})]})}function vu({size:e="20",fill:t="#E91927"}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:a.jsx("path",{d:"M12.6937 19.7306C12.3064 20.0898 11.6936 20.0898 11.3063 19.7306L3.58446 12.5671C1.47184 10.6073 1.47185 7.42974 3.58446 5.46989C5.69709 3.51004 9.12232 3.51004 11.2349 5.46989L12 6.17961L12.765 5.46989C14.8777 3.51004 18.3029 3.51004 20.4155 5.46989C22.5282 7.42974 22.5282 10.6073 20.4155 12.5671L12.6937 19.7306Z",fill:t})})}function hu({size:e="28",fill:t="#A2A3A4"}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:[a.jsx("path",{opacity:"0.4",d:"M12.6937 19.7306C12.3064 20.0898 11.6936 20.0898 11.3063 19.7306L3.58446 12.5671C1.47184 10.6073 1.47185 7.42974 3.58446 5.46989C5.69709 3.51004 9.12232 3.51004 11.2349 5.46989L12 6.17961L12.765 5.46989C14.8777 3.51004 18.3029 3.51004 20.4155 5.46989C22.5282 7.42974 22.5282 10.6073 20.4155 12.5671L12.6937 19.7306Z",fill:"#FCFEFF"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6.17961L11.2349 5.46989C9.12232 3.51004 5.69709 3.51004 3.58446 5.46989C1.47185 7.42974 1.47184 10.6073 3.58446 12.5671L11.3063 19.7306C11.6936 20.0898 12.3064 20.0898 12.6937 19.7306L20.4155 12.5671C22.5282 10.6073 22.5282 7.42974 20.4155 5.46989C18.3029 3.51004 14.8777 3.51004 12.765 5.46989L12 6.17961ZM12 8.85417L9.84753 6.85736C8.50944 5.61603 6.30997 5.61603 4.97188 6.85736C3.67604 8.05951 3.67604 9.97752 4.97188 11.1797L12 17.6995L19.0281 11.1797C20.324 9.97752 20.324 8.0595 19.0281 6.85736C17.69 5.61603 15.4906 5.61603 14.1525 6.85736L12 8.85417Z",fill:t})]})}function gu({size:e="24",fill:t="#A2A3A4",className:n}){return a.jsx("svg",{className:n,xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.7433 4.32078C12.3461 3.8794 11.6539 3.8794 11.2567 4.32078L4 12.3838V20.0001H9V17.0001C9 15.3432 10.3431 14.0001 12 14.0001C13.6569 14.0001 15 15.3432 15 17.0001V20.0001H20V12.3838L12.7433 4.32078ZM9.77012 2.98285C10.9618 1.65871 13.0382 1.65871 14.2299 2.98285L21.4866 11.0459C21.8171 11.4131 22 11.8897 22 12.3838V20.0001C22 21.1046 21.1046 22.0001 20 22.0001H14.4444C13.6467 22.0001 13 21.3534 13 20.5556V17.0001C13 16.4478 12.5523 16.0001 12 16.0001C11.4477 16.0001 11 16.4478 11 17.0001V20.5556C11 21.3534 10.3533 22.0001 9.55556 22.0001H4C2.89543 22.0001 2 21.1046 2 20.0001V12.3838C2 11.8897 2.18289 11.4131 2.51341 11.0459L9.77012 2.98285Z",fill:t})})}function wu({size:e="14",fill:t="#525252",className:n}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 14 14",fill:"none",className:n,children:[a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00001 12.3333C9.94553 12.3333 12.3333 9.94544 12.3333 6.99992C12.3333 4.0544 9.94553 1.66659 7.00001 1.66659C4.05449 1.66659 1.66668 4.0544 1.66668 6.99992C1.66668 9.94544 4.05449 12.3333 7.00001 12.3333ZM7.00001 13.6666C10.6819 13.6666 13.6667 10.6818 13.6667 6.99992C13.6667 3.31802 10.6819 0.333252 7.00001 0.333252C3.31811 0.333252 0.333344 3.31802 0.333344 6.99992C0.333344 10.6818 3.31811 13.6666 7.00001 13.6666Z",fill:t}),a.jsx("path",{d:"M7.66668 4.33325C7.66668 4.70144 7.3682 4.99992 7.00001 4.99992C6.63182 4.99992 6.33334 4.70144 6.33334 4.33325C6.33334 3.96506 6.63182 3.66659 7.00001 3.66659C7.3682 3.66659 7.66668 3.96506 7.66668 4.33325Z",fill:t}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00001 5.66659C7.3682 5.66659 7.66668 5.96506 7.66668 6.33325V9.66659C7.66668 10.0348 7.3682 10.3333 7.00001 10.3333C6.63182 10.3333 6.33334 10.0348 6.33334 9.66659V6.33325C6.33334 5.96506 6.63182 5.66659 7.00001 5.66659Z",fill:t})]})}function xu({size:e="24",fill:t="#26282A",className:n}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:n,children:[a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.6566 6.34313C16.0945 4.78104 13.5618 4.78104 11.9997 6.34313L11.2926 7.05024C10.9021 7.44076 10.2689 7.44076 9.87838 7.05024C9.48785 6.65972 9.48785 6.02655 9.87838 5.63603L10.5855 4.92892C12.9286 2.58577 16.7276 2.58577 19.0708 4.92892C21.4139 7.27207 21.4139 11.0711 19.0708 13.4142L18.3637 14.1213C17.9731 14.5118 17.34 14.5118 16.9494 14.1213C16.5589 13.7308 16.5589 13.0976 16.9494 12.7071L17.6566 12C19.2186 10.4379 19.2186 7.90523 17.6566 6.34313Z",fill:t}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.34284 17.6568C7.90494 19.2189 10.4376 19.2189 11.9997 17.6568L12.7068 16.9497C13.0973 16.5592 13.7305 16.5592 14.121 16.9497C14.5115 17.3403 14.5115 17.9734 14.121 18.3639L13.4139 19.0711C11.0708 21.4142 7.27178 21.4142 4.92863 19.0711C2.58548 16.7279 2.58549 12.9289 4.92863 10.5858L5.63574 9.87867C6.02626 9.48814 6.65943 9.48814 7.04995 9.87867C7.44048 10.2692 7.44048 10.9024 7.04995 11.2929L6.34284 12C4.78075 13.5621 4.78075 16.0947 6.34284 17.6568Z",fill:t}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5352 8.46445C15.9258 8.85498 15.9258 9.48814 15.5352 9.87867L9.87838 15.5355C9.48785 15.926 8.85469 15.926 8.46416 15.5355C8.07364 15.145 8.07364 14.5118 8.46416 14.1213L14.121 8.46445C14.5115 8.07393 15.1447 8.07393 15.5352 8.46445Z",fill:t})]})}function bu({fill:e="#26282A",size:t="18",className:n}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none",className:n,children:a.jsx("path",{d:"M9 8.625C8.50272 8.625 8.02581 8.42746 7.67417 8.07583C7.32254 7.72419 7.125 7.24728 7.125 6.75C7.125 6.25272 7.32254 5.77581 7.67417 5.42417C8.02581 5.07254 8.50272 4.875 9 4.875C9.49728 4.875 9.97419 5.07254 10.3258 5.42417C10.6775 5.77581 10.875 6.25272 10.875 6.75C10.875 6.99623 10.8265 7.24005 10.7323 7.46753C10.638 7.69502 10.4999 7.90172 10.3258 8.07583C10.1517 8.24994 9.94502 8.38805 9.71753 8.48227C9.49005 8.5765 9.24623 8.625 9 8.625ZM9 1.5C7.60761 1.5 6.27226 2.05312 5.28769 3.03769C4.30312 4.02226 3.75 5.35761 3.75 6.75C3.75 10.6875 9 16.5 9 16.5C9 16.5 14.25 10.6875 14.25 6.75C14.25 5.35761 13.6969 4.02226 12.7123 3.03769C11.7277 2.05312 10.3924 1.5 9 1.5Z",fill:e})})}function Cu({fill:e="#26282A"}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",children:[a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1C0 0.447715 0.447715 0 1 0H19C19.5523 0 20 0.447715 20 1C20 1.55228 19.5523 2 19 2H1C0.447715 2 0 1.55228 0 1Z",fill:e}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 15C0 14.4477 0.447715 14 1 14H19C19.5523 14 20 14.4477 20 15C20 15.5523 19.5523 16 19 16H1C0.447715 16 0 15.5523 0 15Z",fill:e}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 7.44772 0.447715 7 1 7H19C19.5523 7 20 7.44772 20 8C20 8.55228 19.5523 9 19 9H1C0.447715 9 0 8.55228 0 8Z",fill:e})]})}function yu({size:e="20",fill:t="#7344E3",className:n}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 16",fill:"none",className:n,children:[a.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.83406 0C3.05971 0 0 3.05971 0 6.83405C0 10.6084 3.05971 13.6681 6.83406 13.6681H8.50006L9.55497 15.7279C9.74076 16.0907 10.2592 16.0907 10.445 15.7279L11.4999 13.6681H13.1659C16.9403 13.6681 20 10.6084 20 6.83405C20 3.05971 16.9403 0 13.1659 0H6.83406Z",fill:t}),a.jsx("circle",{cx:"10",cy:"7",r:"1",fill:"white"}),a.jsx("circle",{cx:"6",cy:"7",r:"1",fill:"white"}),a.jsx("circle",{cx:"14",cy:"7",r:"1",fill:"white"})]})}function Eu({size:e="14",fill:t="#FF4A56"}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 14 14",fill:"none",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00016 13.6667C10.6821 13.6667 13.6668 10.6819 13.6668 7.00001C13.6668 3.31811 10.6821 0.333344 7.00016 0.333344C3.31826 0.333344 0.333496 3.31811 0.333496 7.00001C0.333496 10.6819 3.31826 13.6667 7.00016 13.6667ZM8.22033 9.33334H9.00016V4.66668H8.13294V7.85728H8.08588L5.79344 4.66668H5.00016V9.33334H5.87411V6.14274H5.91445L8.22033 9.33334Z",fill:t})})}function Ru({size:e="20",fill:t="#26282A",className:n}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:"none",className:n,children:[a.jsx("path",{opacity:"0.9",d:"M20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10Z",fill:t}),a.jsx("path",{d:"M13.25 9.56693C13.5833 9.75938 13.5833 10.2405 13.25 10.433L8.75 13.031C8.41667 13.2235 8 12.9829 8 12.598L8 7.40187C8 7.01697 8.41667 6.77641 8.75 6.96886L13.25 9.56693Z",fill:"#FCFEFF"})]})}function Tu({size:e="24",fill:t="#26282A",className:n}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",className:n,children:[a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 6H11V13H2V8C2 6.89543 2.89543 6 4 6H5C5 3.79086 6.79086 2 9 2C10.1947 2 11.2671 2.52376 12 3.35418C12.7329 2.52376 13.8053 2 15 2C17.2091 2 19 3.79086 19 6H20C21.1046 6 22 6.89543 22 8V13H13V6ZM9 4C10.1046 4 11 4.89543 11 6H7C7 4.89543 7.89543 4 9 4ZM17 6H13C13 4.89543 13.8954 4 15 4C16.1046 4 17 4.89543 17 6Z",fill:t}),a.jsx("path",{d:"M2 15H11V22H4C2.89543 22 2 21.1046 2 20V15Z",fill:t}),a.jsx("path",{d:"M13 15H22V20C22 21.1046 21.1046 22 20 22H13V15Z",fill:t})]})}function Au({fill:e="#A2A3A4",className:t,size:n="20"}){return a.jsx("svg",{width:n,height:n,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:a.jsxs("g",{id:"Group 127",children:[a.jsx("circle",{id:"Ellipse 3",cx:"10",cy:"10",r:"10",fill:e}),a.jsxs("g",{id:"Mask group",children:[a.jsx("mask",{id:"mask0_1051_17944",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"5",width:"16",height:"16",children:a.jsx("path",{id:"Vector",d:"M10 12.5002C8.96875 12.5002 8.08594 12.1331 7.35156 11.3987C6.61719 10.6643 6.25 9.78149 6.25 8.75024C6.25 7.71899 6.61719 6.83618 7.35156 6.10181C8.08594 5.36743 8.96875 5.00024 10 5.00024C11.0312 5.00024 11.9141 5.36743 12.6484 6.10181C13.3828 6.83618 13.75 7.71899 13.75 8.75024C13.75 9.78149 13.3828 10.6643 12.6484 11.3987C11.9141 12.1331 11.0312 12.5002 10 12.5002ZM2.5 20.0002V17.3752C2.5 16.844 2.63688 16.3559 2.91063 15.9109C3.18438 15.4659 3.5475 15.1259 4 14.8909C4.96875 14.4065 5.95312 14.0434 6.95312 13.8015C7.95312 13.5596 8.96875 13.4384 10 13.4377C11.0312 13.4377 12.0469 13.559 13.0469 13.8015C14.0469 14.044 15.0312 14.4071 16 14.8909C16.4531 15.1252 16.8166 15.4652 17.0903 15.9109C17.3641 16.3565 17.5006 16.8446 17.5 17.3752V20.0002H2.5Z",fill:"black"})}),a.jsx("g",{mask:"url(#mask0_1051_17944)",children:a.jsx("circle",{id:"Ellipse 2",cx:"10",cy:"10.0002",r:"10",fill:"#DDE2E6"})})]})]})})}function Pu({size:e="22",fill:t="#A2A3A4",className:n}){return a.jsxs("svg",{className:n,xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 21 22",fill:"none",children:[a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5846 3.56809C9.62801 4.12037 9.30025 5.34355 9.85254 6.30014L12.3525 10.6303C12.9048 11.5869 14.128 11.9146 15.0846 11.3623L19.4147 8.86232C20.3713 8.31003 20.6991 7.08685 20.1468 6.13027L17.6468 1.80014C17.0945 0.843554 15.8713 0.515803 14.9147 1.06809L10.5846 3.56809ZM11.5846 5.30014L15.9147 2.80014L18.4147 7.13027L14.0846 9.63027L11.5846 5.30014Z",fill:t}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.7153C0.895431 1.7153 0 2.61073 0 3.7153V8.7153C0 9.81987 0.89543 10.7153 2 10.7153H7C8.10457 10.7153 9 9.81987 9 8.7153V3.7153C9 2.61074 8.10457 1.7153 7 1.7153H2ZM2 3.7153H7V8.7153H2V3.7153Z",fill:t}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 14.2153C0 13.1107 0.895431 12.2153 2 12.2153H7C8.10457 12.2153 9 13.1107 9 14.2153V19.2153C9 20.3199 8.10457 21.2153 7 21.2153H2C0.89543 21.2153 0 20.3199 0 19.2153V14.2153ZM7 14.2153H2V19.2153H7V14.2153Z",fill:t}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.2153C11.3954 12.2153 10.5 13.1107 10.5 14.2153V19.2153C10.5 20.3199 11.3954 21.2153 12.5 21.2153H17.5C18.6046 21.2153 19.5 20.3199 19.5 19.2153V14.2153C19.5 13.1107 18.6046 12.2153 17.5 12.2153H12.5ZM12.5 14.2153H17.5V19.2153H12.5V14.2153Z",fill:t})]})}function Su({type:e="checked",size:t="18",fill:n="#7344E3"}){return e==="checked"?a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",children:[a.jsx("path",{d:"M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12Z",fill:n}),a.jsx("path",{d:"M8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12Z",fill:"white"})]}):a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 20 20",fill:"none",children:[a.jsx("path",{d:"M0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10Z",fill:"white"}),a.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.5 10C1.5 14.6944 5.30558 18.5 10 18.5C14.6944 18.5 18.5 14.6944 18.5 10C18.5 5.30558 14.6944 1.5 10 1.5C5.30558 1.5 1.5 5.30558 1.5 10ZM10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0Z",fill:"#A2A3A4"})]})}function Mu({size:e="16",fill:t="#525252"}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 16 16",fill:"none",children:a.jsx("path",{d:"M14.4096 9.63473C14.4941 9.23445 14.2382 8.84145 13.8379 8.75694C13.4376 8.67243 13.0446 8.92841 12.9601 9.32868C12.486 11.5739 10.6377 13.1854 8.49967 13.1854C7.93133 13.1854 7.38575 13.0941 6.87593 12.9262C4.80664 12.2445 3.31449 10.2956 3.31449 8.00007C3.31449 5.13637 5.63598 2.81489 8.49968 2.81489C10.3417 2.81489 11.9686 4.01085 12.687 5.77785L11.4626 5.77785C11.0535 5.77785 10.7219 6.10949 10.7219 6.51859C10.7219 6.92769 11.0535 7.25933 11.4626 7.25933L13.6827 7.25933C13.6837 7.25933 13.6846 7.25933 13.6855 7.25933L14.4256 7.25933C14.8347 7.25933 15.1663 6.92769 15.1663 6.51859L15.1663 3.55563C15.1663 3.14653 14.8347 2.81489 14.4256 2.81489C14.0165 2.81489 13.6849 3.14653 13.6849 3.55563L13.6849 4.45035C12.6314 2.59618 10.7202 1.33325 8.49968 1.33325C4.81778 1.33325 1.83301 4.31817 1.83301 8.00007C1.83301 10.954 3.75374 13.4575 6.41241 14.3333C7.06994 14.5499 7.7719 14.6667 8.49967 14.6667C11.4224 14.6667 13.8091 12.479 14.4096 9.63473Z",fill:t})})}var Zo={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},po=O.createContext&&O.createContext(Zo),ju=["attr","size","title"];function Nu(e,t){if(e==null)return{};var n=Ou(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ou(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Kt(){return Kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kt.apply(this,arguments)}function mo(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 zt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mo(Object(n),!0).forEach(function(r){_u(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _u(e,t,n){return t=Du(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Du(e){var t=Iu(e,"string");return typeof t=="symbol"?t:t+""}function Iu(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ko(e){return e&&e.map((t,n)=>O.createElement(t.tag,zt({key:n},t.attr),Ko(t.child)))}function cn(e){return t=>O.createElement(Lu,Kt({attr:zt({},e.attr)},t),Ko(e.child))}function Lu(e){var t=n=>{var{attr:r,size:o,title:i}=e,s=Nu(e,ju),c=o||n.size||"1em",p;return n.className&&(p=n.className),e.className&&(p=(p?p+" ":"")+e.className),O.createElement("svg",Kt({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:p,style:zt(zt({color:e.color||n.color},n.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),i&&O.createElement("title",null,i),e.children)};return po!==void 0?O.createElement(po.Consumer,null,n=>t(n)):t(Zo)}function ku(e){return cn({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0M4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5z"},child:[]}]})(e)}function Fu(e){return cn({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1.5 1.5A.5.5 0 0 0 1 2v4.8a2.5 2.5 0 0 0 2.5 2.5h9.793l-3.347 3.346a.5.5 0 0 0 .708.708l4.2-4.2a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708.708L13.293 8.3H3.5A1.5 1.5 0 0 1 2 6.8V2a.5.5 0 0 0-.5-.5"},child:[]}]})(e)}function Vu({size:e,color:t,className:n}){return a.jsx(ku,{size:e,color:t,className:n})}function $u({size:e,color:t,className:n}){return a.jsx(Fu,{size:e,color:t,className:n})}function Bu(e){return cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"},child:[]}]})(e)}function Hu(e){return cn({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"},child:[]}]})(e)}function Wu({size:e,color:t,className:n}){return a.jsx(Bu,{size:e,color:t,className:n})}function Uu({size:e,color:t,className:n}){return a.jsx(Hu,{size:e,color:t,className:n})}function Gu({size:e="14",fill:t="#26282A"}){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 14 14",fill:"none",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.88012 8.93713L13.4786 12.5356C13.7389 12.7959 13.7389 13.218 13.4786 13.4784C13.2182 13.7387 12.7961 13.7387 12.5358 13.4784L8.93733 9.87995C8.03419 10.582 6.89934 11.0001 5.66684 11.0001C2.72132 11.0001 0.333507 8.61228 0.333507 5.66676C0.333507 2.72124 2.72132 0.333424 5.66684 0.333424C8.61236 0.333424 11.0002 2.72124 11.0002 5.66676C11.0002 6.89921 10.5821 8.03402 9.88012 8.93713ZM9.66684 5.66676C9.66684 7.8759 7.87598 9.66676 5.66684 9.66676C3.4577 9.66676 1.66684 7.8759 1.66684 5.66676C1.66684 3.45762 3.4577 1.66676 5.66684 1.66676C7.87598 1.66676 9.66684 3.45762 9.66684 5.66676Z",fill:t})})}function Zu({size:e="20",fill:t="#26282A"}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:"none",children:[a.jsx("path",{d:"M6.49408 4.82749C6.16864 5.15293 6.16864 5.68057 6.49408 6.006C6.81951 6.33144 7.34715 6.33144 7.67259 6.006L9.16667 4.51193V13.3334C9.16667 13.7937 9.53976 14.1667 10 14.1667C10.4602 14.1667 10.8333 13.7937 10.8333 13.3334V4.51193L12.3274 6.006C12.6528 6.33144 13.1805 6.33144 13.5059 6.006C13.8314 5.68057 13.8314 5.15293 13.5059 4.82749L10.5893 1.91083C10.433 1.75454 10.221 1.66675 10 1.66675C9.77899 1.66675 9.56702 1.75454 9.41074 1.91083L6.49408 4.82749Z",fill:t}),a.jsx("path",{d:"M2.5 9.16675C2.5 8.24627 3.24619 7.50008 4.16667 7.50008H6.54762C7.00786 7.50008 7.38095 7.87318 7.38095 8.33341C7.38095 8.79365 7.00786 9.16675 6.54762 9.16675H4.16667V16.6667H15.8333L15.8333 9.16675H13.4524C12.9921 9.16675 12.619 8.79365 12.619 8.33341C12.619 7.87318 12.9921 7.50008 13.4524 7.50008H15.8333C16.7538 7.50008 17.5 8.24627 17.5 9.16675V16.6667C17.5 17.5872 16.7538 18.3334 15.8333 18.3334H4.16667C3.24619 18.3334 2.5 17.5872 2.5 16.6667V9.16675Z",fill:t})]})}function Ku({size:e="20",fill:t="#A2A3A4"}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:"none",children:[a.jsx("path",{d:"M1.66675 2.49996C1.66675 2.03972 2.03984 1.66663 2.50008 1.66663H8.33342C8.79365 1.66663 9.16675 2.03972 9.16675 2.49996V8.33329C9.16675 8.79353 8.79365 9.16663 8.33342 9.16663H2.50008C2.03984 9.16663 1.66675 8.79353 1.66675 8.33329V2.49996Z",fill:t}),a.jsx("path",{d:"M10.8334 2.49996C10.8334 2.03972 11.2065 1.66663 11.6667 1.66663H17.5001C17.9603 1.66663 18.3334 2.03972 18.3334 2.49996V8.33329C18.3334 8.79353 17.9603 9.16663 17.5001 9.16663H11.6667C11.2065 9.16663 10.8334 8.79353 10.8334 8.33329V2.49996Z",fill:t}),a.jsx("path",{d:"M1.66675 11.6666C1.66675 11.2064 2.03984 10.8333 2.50008 10.8333H8.33342C8.79365 10.8333 9.16675 11.2064 9.16675 11.6666V17.5C9.16675 17.9602 8.79365 18.3333 8.33342 18.3333H2.50008C2.03984 18.3333 1.66675 17.9602 1.66675 17.5V11.6666Z",fill:t}),a.jsx("path",{d:"M10.8334 11.6666C10.8334 11.2064 11.2065 10.8333 11.6667 10.8333H17.5001C17.9603 10.8333 18.3334 11.2064 18.3334 11.6666V17.5C18.3334 17.9602 17.9603 18.3333 17.5001 18.3333H11.6667C11.2065 18.3333 10.8334 17.9602 10.8334 17.5V11.6666Z",fill:t})]})}function zu({size:e="20",fill:t="#A2A3A4"}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:"none",children:[a.jsx("path",{d:"M7.50008 2.91671C7.50008 2.45647 7.87318 2.08337 8.33342 2.08337H17.5001C17.9603 2.08337 18.3334 2.45647 18.3334 2.91671V5.41671C18.3334 5.87694 17.9603 6.25004 17.5001 6.25004H8.33342C7.87318 6.25004 7.50008 5.87694 7.50008 5.41671V2.91671Z",fill:t}),a.jsx("path",{d:"M1.66675 2.91671C1.66675 2.45647 2.03984 2.08337 2.50008 2.08337H5.00008C5.46032 2.08337 5.83342 2.45647 5.83342 2.91671V5.41671C5.83342 5.87694 5.46032 6.25004 5.00008 6.25004H2.50008C2.03984 6.25004 1.66675 5.87694 1.66675 5.41671V2.91671Z",fill:t}),a.jsx("path",{d:"M7.50008 8.75004C7.50008 8.2898 7.87318 7.91671 8.33342 7.91671H17.5001C17.9603 7.91671 18.3334 8.2898 18.3334 8.75004V11.25C18.3334 11.7103 17.9603 12.0834 17.5001 12.0834H8.33342C7.87318 12.0834 7.50008 11.7103 7.50008 11.25V8.75004Z",fill:t}),a.jsx("path",{d:"M7.50008 14.5834C7.50008 14.1231 7.87318 13.75 8.33342 13.75H17.5001C17.9603 13.75 18.3334 14.1231 18.3334 14.5834V17.0834C18.3334 17.5436 17.9603 17.9167 17.5001 17.9167H8.33342C7.87318 17.9167 7.50008 17.5436 7.50008 17.0834V14.5834Z",fill:t}),a.jsx("path",{d:"M1.66675 8.75004C1.66675 8.2898 2.03984 7.91671 2.50008 7.91671H5.00008C5.46032 7.91671 5.83342 8.2898 5.83342 8.75004V11.25C5.83342 11.7103 5.46032 12.0834 5.00008 12.0834H2.50008C2.03984 12.0834 1.66675 11.7103 1.66675 11.25V8.75004Z",fill:t}),a.jsx("path",{d:"M1.66675 14.5834C1.66675 14.1231 2.03984 13.75 2.50008 13.75H5.00008C5.46032 13.75 5.83342 14.1231 5.83342 14.5834V17.0834C5.83342 17.5436 5.46032 17.9167 5.00008 17.9167H2.50008C2.03984 17.9167 1.66675 17.5436 1.66675 17.0834V14.5834Z",fill:t})]})}function Yu({size:e="20",fill:t="#A2A3A4"}){return a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 20 20",fill:"none",children:[a.jsx("path",{d:"M1.66675 2.91671C1.66675 2.45647 2.03984 2.08337 2.50008 2.08337H17.5001C17.9603 2.08337 18.3334 2.45647 18.3334 2.91671V5.41671C18.3334 5.87694 17.9603 6.25004 17.5001 6.25004H2.50008C2.03984 6.25004 1.66675 5.87694 1.66675 5.41671V2.91671Z",fill:t}),a.jsx("path",{d:"M1.66675 8.75004C1.66675 8.2898 2.03984 7.91671 2.50008 7.91671H17.5001C17.9603 7.91671 18.3334 8.2898 18.3334 8.75004V11.25C18.3334 11.7103 17.9603 12.0834 17.5001 12.0834H2.50008C2.03984 12.0834 1.66675 11.7103 1.66675 11.25V8.75004Z",fill:t}),a.jsx("path",{d:"M1.66675 14.5834C1.66675 14.1231 2.03984 13.75 2.50008 13.75H17.5001C17.9603 13.75 18.3334 14.1231 18.3334 14.5834V17.0834C18.3334 17.5436 17.9603 17.9167 17.5001 17.9167H2.50008C2.03984 17.9167 1.66675 17.5436 1.66675 17.0834V14.5834Z",fill:t})]})}const We={ArrowDown:zl,ArrowUp:ru,ArrowLeft:Xl,ArrowRight:Jl,ArrowDown2:Yl,ArrowUp2:ou,ArrowLeft2:Ql,ArrowRight2:eu,ArrowDownButton:ql,ArrowRightButton:nu,Bubbles:iu,Calendar:au,Cancel:su,Company:lu,Control:uu,CopyLink:du,DefaultProfile:fu,Filter:pu,Google:mu,HeartFill:vu,HeartOutline:hu,Home:gu,Info:wu,Link:xu,Location:bu,Menu:Cu,Message:yu,New:Eu,Play:Ru,Present:Tu,Profile:Au,Program:Pu,Reset:Mu,RICircleFillArrowRight:Vu,RIReturnRight:$u,RIZoomIn:Wu,RIZoomOut:Uu,Search:Gu,Share:Zu,Checkbox:cu,Radio:Su,ViewTable:Yu,ViewMore:zu,ViewCard:Ku};function qu(e,t){const n=l.createContext(t),r=i=>{const{children:s,...c}=i,p=l.useMemo(()=>c,Object.values(c));return a.jsx(n.Provider,{value:p,children:s})};r.displayName=e+"Provider";function o(i){const s=l.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Ke(e,t=[]){let n=[];function r(i,s){const c=l.createContext(s),p=n.length;n=[...n,s];const f=h=>{var b;const{scope:d,children:u,...v}=h,m=((b=d==null?void 0:d[e])==null?void 0:b[p])||c,w=l.useMemo(()=>v,Object.values(v));return a.jsx(m.Provider,{value:w,children:u})};f.displayName=i+"Provider";function g(h,d){var m;const u=((m=d==null?void 0:d[e])==null?void 0:m[p])||c,v=l.useContext(u);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${h}\` must be used within \`${i}\``)}return[f,g]}const o=()=>{const i=n.map(s=>l.createContext(s));return function(c){const p=(c==null?void 0:c[e])||i;return l.useMemo(()=>({[`__scope${e}`]:{...c,[e]:p}}),[c,p])}};return o.scopeName=e,[r,Xu(o,...t)]}function Xu(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((c,{useScope:p,scopeName:f})=>{const h=p(i)[`__scope${f}`];return{...c,...h}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Qu(e,t=[]){let n=[];function r(i,s){const c=l.createContext(s),p=n.length;n=[...n,s];function f(h){const{scope:d,children:u,...v}=h,m=(d==null?void 0:d[e][p])||c,w=l.useMemo(()=>v,Object.values(v));return a.jsx(m.Provider,{value:w,children:u})}function g(h,d){const u=(d==null?void 0:d[e][p])||c,v=l.useContext(u);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${h}\` must be used within \`${i}\``)}return f.displayName=i+"Provider",[f,g]}const o=()=>{const i=n.map(s=>l.createContext(s));return function(c){const p=(c==null?void 0:c[e])||i;return l.useMemo(()=>({[`__scope${e}`]:{...c,[e]:p}}),[c,p])}};return o.scopeName=e,[r,Ju(o,...t)]}function Ju(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((c,{useScope:p,scopeName:f})=>{const h=p(i)[`__scope${f}`];return{...c,...h}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function ln(e){const t=e+"CollectionProvider",[n,r]=Qu(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=u=>{const{scope:v,children:m}=u,w=O.useRef(null),b=O.useRef(new Map).current;return a.jsx(o,{scope:v,itemMap:b,collectionRef:w,children:m})};s.displayName=t;const c=e+"CollectionSlot",p=O.forwardRef((u,v)=>{const{scope:m,children:w}=u,b=i(c,m),x=R.useComposedRefs(v,b.collectionRef);return a.jsx(R.Slot,{ref:x,children:w})});p.displayName=c;const f=e+"CollectionItemSlot",g="data-radix-collection-item",h=O.forwardRef((u,v)=>{const{scope:m,children:w,...b}=u,x=O.useRef(null),C=R.useComposedRefs(v,x),y=i(f,m);return O.useEffect(()=>(y.itemMap.set(x,{ref:x,...b}),()=>void y.itemMap.delete(x))),a.jsx(R.Slot,{[g]:"",ref:C,children:w})});h.displayName=f;function d(u){const v=i(e+"CollectionConsumer",u);return O.useCallback(()=>{const w=v.collectionRef.current;if(!w)return[];const b=Array.from(w.querySelectorAll(`[${g}]`));return Array.from(v.itemMap.values()).sort((y,E)=>b.indexOf(y.ref.current)-b.indexOf(E.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:s,Slot:p,ItemSlot:h},d,r]}function j(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function re(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function pe({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=ed({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,c=re(n),p=l.useCallback(f=>{if(i){const h=typeof f=="function"?f(e):f;h!==e&&c(h)}else o(f)},[i,e,o,c]);return[s,p]}function ed({defaultProp:e,onChange:t}){const n=l.useState(e),[r]=n,o=l.useRef(r),i=re(t);return l.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var De=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{};function td(e,t){return l.useReducer((n,r)=>t[n][r]??n,e)}var Ce=e=>{const{present:t,children:n}=e,r=nd(t),o=typeof n=="function"?n({present:r.isPresent}):l.Children.only(n),i=R.useComposedRefs(r.ref,rd(o));return typeof n=="function"||r.isPresent?l.cloneElement(o,{ref:i}):null};Ce.displayName="Presence";function nd(e){const[t,n]=l.useState(),r=l.useRef({}),o=l.useRef(e),i=l.useRef("none"),s=e?"mounted":"unmounted",[c,p]=td(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{const f=Lt(r.current);i.current=c==="mounted"?f:"none"},[c]),De(()=>{const f=r.current,g=o.current;if(g!==e){const d=i.current,u=Lt(f);e?p("MOUNT"):u==="none"||(f==null?void 0:f.display)==="none"?p("UNMOUNT"):p(g&&d!==u?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,p]),De(()=>{if(t){let f;const g=t.ownerDocument.defaultView??window,h=u=>{const m=Lt(r.current).includes(u.animationName);if(u.target===t&&m&&(p("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",f=g.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},d=u=>{u.target===t&&(i.current=Lt(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{g.clearTimeout(f),t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:l.useCallback(f=>{f&&(r.current=getComputedStyle(f)),n(f)},[])}}function Lt(e){return(e==null?void 0:e.animationName)||"none"}function rd(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var od=l.useId||(()=>{}),id=0;function we(e){const[t,n]=l.useState(od());return De(()=>{n(r=>r??String(id++))},[e]),t?`radix-${t}`:""}var dr="Collapsible",[ad,zo]=Ke(dr),[sd,fr]=ad(dr),Yo=l.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:s,...c}=e,[p=!1,f]=pe({prop:r,defaultProp:o,onChange:s});return a.jsx(sd,{scope:n,disabled:i,contentId:we(),open:p,onOpenToggle:l.useCallback(()=>f(g=>!g),[f]),children:a.jsx(R.Primitive.div,{"data-state":mr(p),"data-disabled":i?"":void 0,...c,ref:t})})});Yo.displayName=dr;var qo="CollapsibleTrigger",Xo=l.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=fr(qo,n);return a.jsx(R.Primitive.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":mr(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:j(e.onClick,o.onOpenToggle)})});Xo.displayName=qo;var pr="CollapsibleContent",Qo=l.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=fr(pr,e.__scopeCollapsible);return a.jsx(Ce,{present:n||o.open,children:({present:i})=>a.jsx(cd,{...r,ref:t,present:i})})});Qo.displayName=pr;var cd=l.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,s=fr(pr,n),[c,p]=l.useState(r),f=l.useRef(null),g=R.useComposedRefs(t,f),h=l.useRef(0),d=h.current,u=l.useRef(0),v=u.current,m=s.open||c,w=l.useRef(m),b=l.useRef();return l.useEffect(()=>{const x=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(x)},[]),De(()=>{const x=f.current;if(x){b.current=b.current||{transitionDuration:x.style.transitionDuration,animationName:x.style.animationName},x.style.transitionDuration="0s",x.style.animationName="none";const C=x.getBoundingClientRect();h.current=C.height,u.current=C.width,w.current||(x.style.transitionDuration=b.current.transitionDuration,x.style.animationName=b.current.animationName),p(r)}},[s.open,r]),a.jsx(R.Primitive.div,{"data-state":mr(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!m,...i,ref:g,style:{"--radix-collapsible-content-height":d?`${d}px`:void 0,"--radix-collapsible-content-width":v?`${v}px`:void 0,...e.style},children:m&&o})});function mr(e){return e?"open":"closed"}var ld=Yo,ud=Xo,dd=Qo,fd=l.createContext(void 0);function un(e){const t=l.useContext(fd);return e||t||"ltr"}var ke="Accordion",pd=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[vr,md,vd]=ln(ke),[dn,u3]=Ke(ke,[vd,zo]),hr=zo(),Jo=O.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return a.jsx(vr.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?a.jsx(xd,{...i,ref:t}):a.jsx(wd,{...o,ref:t})})});Jo.displayName=ke;var[ei,hd]=dn(ke),[ti,gd]=dn(ke,{collapsible:!1}),wd=O.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...s}=e,[c,p]=pe({prop:n,defaultProp:r,onChange:o});return a.jsx(ei,{scope:e.__scopeAccordion,value:c?[c]:[],onItemOpen:p,onItemClose:O.useCallback(()=>i&&p(""),[i,p]),children:a.jsx(ti,{scope:e.__scopeAccordion,collapsible:i,children:a.jsx(ni,{...s,ref:t})})})}),xd=O.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[s=[],c]=pe({prop:n,defaultProp:r,onChange:o}),p=O.useCallback(g=>c((h=[])=>[...h,g]),[c]),f=O.useCallback(g=>c((h=[])=>h.filter(d=>d!==g)),[c]);return a.jsx(ei,{scope:e.__scopeAccordion,value:s,onItemOpen:p,onItemClose:f,children:a.jsx(ti,{scope:e.__scopeAccordion,collapsible:!0,children:a.jsx(ni,{...i,ref:t})})})}),[bd,fn]=dn(ke),ni=O.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...s}=e,c=O.useRef(null),p=R.useComposedRefs(c,t),f=md(n),h=un(o)==="ltr",d=j(e.onKeyDown,u=>{var N;if(!pd.includes(u.key))return;const v=u.target,m=f().filter(k=>{var V;return!((V=k.ref.current)!=null&&V.disabled)}),w=m.findIndex(k=>k.ref.current===v),b=m.length;if(w===-1)return;u.preventDefault();let x=w;const C=0,y=b-1,E=()=>{x=w+1,x>y&&(x=C)},T=()=>{x=w-1,x<C&&(x=y)};switch(u.key){case"Home":x=C;break;case"End":x=y;break;case"ArrowRight":i==="horizontal"&&(h?E():T());break;case"ArrowDown":i==="vertical"&&E();break;case"ArrowLeft":i==="horizontal"&&(h?T():E());break;case"ArrowUp":i==="vertical"&&T();break}const A=x%b;(N=m[A].ref.current)==null||N.focus()});return a.jsx(bd,{scope:n,disabled:r,direction:o,orientation:i,children:a.jsx(vr.Slot,{scope:n,children:a.jsx(R.Primitive.div,{...s,"data-orientation":i,ref:p,onKeyDown:r?void 0:d})})})}),Yt="AccordionItem",[Cd,gr]=dn(Yt),ri=O.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...o}=e,i=fn(Yt,n),s=hd(Yt,n),c=hr(n),p=we(),f=r&&s.value.includes(r)||!1,g=i.disabled||e.disabled;return a.jsx(Cd,{scope:n,open:f,disabled:g,triggerId:p,children:a.jsx(ld,{"data-orientation":i.orientation,"data-state":li(f),...c,...o,ref:t,disabled:g,open:f,onOpenChange:h=>{h?s.onItemOpen(r):s.onItemClose(r)}})})});ri.displayName=Yt;var oi="AccordionHeader",ii=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=fn(ke,n),i=gr(oi,n);return a.jsx(R.Primitive.h3,{"data-orientation":o.orientation,"data-state":li(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});ii.displayName=oi;var Gn="AccordionTrigger",ai=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=fn(ke,n),i=gr(Gn,n),s=gd(Gn,n),c=hr(n);return a.jsx(vr.ItemSlot,{scope:n,children:a.jsx(ud,{"aria-disabled":i.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...c,...r,ref:t})})});ai.displayName=Gn;var si="AccordionContent",ci=O.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=fn(ke,n),i=gr(si,n),s=hr(n);return a.jsx(dd,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...s,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});ci.displayName=si;function li(e){return e?"open":"closed"}var yd=Jo,Ed=ri,Rd=ii,ui=ai,di=ci;const Td=yd,fi=l.forwardRef(({className:e,...t},n)=>a.jsx(Ed,{ref:n,className:D.cn("w-full border-b",e),...t}));fi.displayName="AccordionItem";const pi=l.forwardRef(({className:e,children:t,...n},r)=>a.jsx(Rd,{className:"flex",children:a.jsxs(ui,{ref:r,className:D.cn("flex flex-1 items-center justify-between py-4 text-start font-medium transition-all [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,a.jsx(We.ArrowDown,{className:"shrink-0 transition-transform duration-200",fill:Qe.colors.grey[600],size:"16"})]})}));pi.displayName=ui.displayName;const mi=l.forwardRef(({className:e,children:t,...n},r)=>a.jsx(di,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down pb-4",...n,children:a.jsx("div",{className:D.cn(e),children:t})}));mi.displayName=di.displayName;function vi(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=vi(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Ad(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=vi(e))&&(r&&(r+=" "),r+=t);return r}const vo=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,ho=Ad,pn=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return ho(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(f=>{const g=n==null?void 0:n[f],h=i==null?void 0:i[f];if(g===null)return null;const d=vo(g)||vo(h);return o[f][d]}),c=n&&Object.entries(n).reduce((f,g)=>{let[h,d]=g;return d===void 0||(f[h]=d),f},{}),p=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((f,g)=>{let{class:h,className:d,...u}=g;return Object.entries(u).every(v=>{let[m,w]=v;return Array.isArray(w)?w.includes({...i,...c}[m]):{...i,...c}[m]===w})?[...f,h,d]:f},[]);return ho(e,s,p,n==null?void 0:n.class,n==null?void 0:n.className)},ft=pn("inline-flex items-center justify-center gap-1 whitespace-nowrap text-sm font-normal ring-offset-background transition-all focus-visible:outline-none disabled:pointer-events-none disabled:bg-muted disabled:text-muted-foreground disabled:border-muted-border",{variants:{theme:{primary:"bg-primary border border-primary",secondary:"bg-secondary border border-secondary",etc:"bg-accent border-accent border hover:bg-opacity-50"},size:{xs:"h-8 py-1 px-2 font-normal text-sm",sm:"h-9 py-2 px-3 font-normal text-sm",md:"h-11 px-3 py-3 font-normal text-sm",lg:"h-[52px] px-12 py-3.5 font-semibold text-base",icon:"h-auto w-auto"},variant:{solid:"text-primary-foreground disabled:bg-muted disabled:text-muted-foreground",outline:"bg-background disabled:bg-white disabled:text-muted",text:"p-0 bg-transparent disabled:bg-transparent disabled:text-muted border-none h-auto"},shape:{square:"rounded-lg",rounded:"rounded-full"}},compoundVariants:[{theme:"primary",variant:"solid",className:"hover:bg-main-800 hover:border-main-800"},{theme:"secondary",variant:"solid",className:"hover:bg-grey-900 hover:border-grey-900"},{theme:"etc",variant:"solid",className:"hover:opacity-80 disabled:bg-muted disabled:border-muted disabled:text-muted-foreground"},{theme:"primary",variant:"outline",className:"text-primary hover:bg-main-50 border-primary"},{theme:"secondary",variant:"outline",className:"text-foreground hover:bg-grey-100 border-border"},{theme:"etc",variant:"outline",className:"hover:bg-grey-100 text-accent disabled:bg-background disabled:border-border disabled:text-muted"},{theme:"primary",variant:"text",className:"text-primary"},{theme:"secondary",variant:"text",className:"text-foreground"},{theme:"etc",variant:"text",className:"text-accent"}],defaultVariants:{theme:"primary",size:"md",variant:"solid",shape:"square"}}),wr=l.forwardRef(({className:e,theme:t,size:n,variant:r,shape:o,icLeft:i,icRight:s,asChild:c=!1,...p},f)=>{const g=c?R.Slot:"button";return a.jsxs(g,{className:D.cn(ft({theme:t,size:n,variant:r,shape:o}),e),ref:f,...p,children:[i&&a.jsx("span",{className:"mr-1",children:i}),p.children,s&&a.jsx("span",{className:"ml-1",children:s})]})});wr.displayName="Button";const Pd={sm:"p-2 md:p-3",md:"p-4",lg:"p-6 md:p-7"},yt=({className:e,heading:t,size:n="md",children:r,...o})=>a.jsxs(R.FlexBox.Col,{className:D.cn("gap-2 whitespace-pre-wrap rounded-[10px] border border-border text-sm md:text-base",Pd[n],e),...o,children:[t&&(typeof t=="string"?a.jsx("p",{className:"font-semibold",children:t}):t),a.jsx(R.FlexBox.Col,{className:"gap-2 whitespace-pre-wrap font-normal",children:r})]});yt.Fill=({className:e,heading:t,size:n,children:r,...o})=>a.jsx(yt,{className:D.cn("border-none bg-grey-100",e),heading:t,size:n,...o,children:r});yt.Outline=({className:e,heading:t,size:n,children:r,...o})=>a.jsx(yt,{className:D.cn("border border-grey-200 bg-white",e),heading:t,size:n,...o,children:r});function Sd(e,t=globalThis==null?void 0:globalThis.document){const n=re(e);l.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Md="DismissableLayer",Zn="dismissableLayer.update",jd="dismissableLayer.pointerDownOutside",Nd="dismissableLayer.focusOutside",go,hi=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Pt=l.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...p}=e,f=l.useContext(hi),[g,h]=l.useState(null),d=(g==null?void 0:g.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,u]=l.useState({}),v=R.useComposedRefs(t,A=>h(A)),m=Array.from(f.layers),[w]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),b=m.indexOf(w),x=g?m.indexOf(g):-1,C=f.layersWithOutsidePointerEventsDisabled.size>0,y=x>=b,E=_d(A=>{const N=A.target,k=[...f.branches].some(V=>V.contains(N));!y||k||(o==null||o(A),s==null||s(A),A.defaultPrevented||c==null||c())},d),T=Dd(A=>{const N=A.target;[...f.branches].some(V=>V.contains(N))||(i==null||i(A),s==null||s(A),A.defaultPrevented||c==null||c())},d);return Sd(A=>{x===f.layers.size-1&&(r==null||r(A),!A.defaultPrevented&&c&&(A.preventDefault(),c()))},d),l.useEffect(()=>{if(g)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(go=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(g)),f.layers.add(g),wo(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=go)}},[g,d,n,f]),l.useEffect(()=>()=>{g&&(f.layers.delete(g),f.layersWithOutsidePointerEventsDisabled.delete(g),wo())},[g,f]),l.useEffect(()=>{const A=()=>u({});return document.addEventListener(Zn,A),()=>document.removeEventListener(Zn,A)},[]),a.jsx(R.Primitive.div,{...p,ref:v,style:{pointerEvents:C?y?"auto":"none":void 0,...e.style},onFocusCapture:j(e.onFocusCapture,T.onFocusCapture),onBlurCapture:j(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:j(e.onPointerDownCapture,E.onPointerDownCapture)})});Pt.displayName=Md;var Od="DismissableLayerBranch",gi=l.forwardRef((e,t)=>{const n=l.useContext(hi),r=l.useRef(null),o=R.useComposedRefs(t,r);return l.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),a.jsx(R.Primitive.div,{...e,ref:o})});gi.displayName=Od;function _d(e,t=globalThis==null?void 0:globalThis.document){const n=re(e),r=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const i=c=>{if(c.target&&!r.current){let p=function(){wi(jd,n,f,{discrete:!0})};const f={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=p,t.addEventListener("click",o.current,{once:!0})):p()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Dd(e,t=globalThis==null?void 0:globalThis.document){const n=re(e),r=l.useRef(!1);return l.useEffect(()=>{const o=i=>{i.target&&!r.current&&wi(Nd,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function wo(){const e=new CustomEvent(Zn);document.dispatchEvent(e)}function wi(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?R.dispatchDiscreteCustomEvent(o,i):o.dispatchEvent(i)}var Id=Pt,Ld=gi,Dn=0;function xi(){l.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??xo()),document.body.insertAdjacentElement("beforeend",e[1]??xo()),Dn++,()=>{Dn===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Dn--}},[])}function xo(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var In="focusScope.autoFocusOnMount",Ln="focusScope.autoFocusOnUnmount",bo={bubbles:!1,cancelable:!0},kd="FocusScope",xr=l.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[c,p]=l.useState(null),f=re(o),g=re(i),h=l.useRef(null),d=R.useComposedRefs(t,m=>p(m)),u=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(r){let m=function(C){if(u.paused||!c)return;const y=C.target;c.contains(y)?h.current=y:He(h.current,{select:!0})},w=function(C){if(u.paused||!c)return;const y=C.relatedTarget;y!==null&&(c.contains(y)||He(h.current,{select:!0}))},b=function(C){if(document.activeElement===document.body)for(const E of C)E.removedNodes.length>0&&He(c)};document.addEventListener("focusin",m),document.addEventListener("focusout",w);const x=new MutationObserver(b);return c&&x.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w),x.disconnect()}}},[r,c,u.paused]),l.useEffect(()=>{if(c){yo.add(u);const m=document.activeElement;if(!c.contains(m)){const b=new CustomEvent(In,bo);c.addEventListener(In,f),c.dispatchEvent(b),b.defaultPrevented||(Fd(Wd(bi(c)),{select:!0}),document.activeElement===m&&He(c))}return()=>{c.removeEventListener(In,f),setTimeout(()=>{const b=new CustomEvent(Ln,bo);c.addEventListener(Ln,g),c.dispatchEvent(b),b.defaultPrevented||He(m??document.body,{select:!0}),c.removeEventListener(Ln,g),yo.remove(u)},0)}}},[c,f,g,u]);const v=l.useCallback(m=>{if(!n&&!r||u.paused)return;const w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,b=document.activeElement;if(w&&b){const x=m.currentTarget,[C,y]=Vd(x);C&&y?!m.shiftKey&&b===y?(m.preventDefault(),n&&He(C,{select:!0})):m.shiftKey&&b===C&&(m.preventDefault(),n&&He(y,{select:!0})):b===x&&m.preventDefault()}},[n,r,u.paused]);return a.jsx(R.Primitive.div,{tabIndex:-1,...s,ref:d,onKeyDown:v})});xr.displayName=kd;function Fd(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(He(r,{select:t}),document.activeElement!==n)return}function Vd(e){const t=bi(e),n=Co(t,e),r=Co(t.reverse(),e);return[n,r]}function bi(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Co(e,t){for(const n of e)if(!$d(n,{upTo:t}))return n}function $d(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Bd(e){return e instanceof HTMLInputElement&&"select"in e}function He(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Bd(e)&&t&&e.select()}}var yo=Hd();function Hd(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Eo(e,t),e.unshift(t)},remove(t){var n;e=Eo(e,t),(n=e[0])==null||n.resume()}}}function Eo(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Wd(e){return e.filter(t=>t.tagName!=="A")}const Ud=["top","right","bottom","left"],Ue=Math.min,le=Math.max,qt=Math.round,kt=Math.floor,Se=e=>({x:e,y:e}),Gd={left:"right",right:"left",bottom:"top",top:"bottom"},Zd={start:"end",end:"start"};function Kn(e,t,n){return le(e,Ue(t,n))}function Ie(e,t){return typeof e=="function"?e(t):e}function Le(e){return e.split("-")[0]}function pt(e){return e.split("-")[1]}function br(e){return e==="x"?"y":"x"}function Cr(e){return e==="y"?"height":"width"}function Ge(e){return["top","bottom"].includes(Le(e))?"y":"x"}function yr(e){return br(Ge(e))}function Kd(e,t,n){n===void 0&&(n=!1);const r=pt(e),o=yr(e),i=Cr(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Xt(s)),[s,Xt(s)]}function zd(e){const t=Xt(e);return[zn(e),t,zn(t)]}function zn(e){return e.replace(/start|end/g,t=>Zd[t])}function Yd(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function qd(e,t,n,r){const o=pt(e);let i=Yd(Le(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(zn)))),i}function Xt(e){return e.replace(/left|right|bottom|top/g,t=>Gd[t])}function Xd(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ci(e){return typeof e!="number"?Xd(e):{top:e,right:e,bottom:e,left:e}}function Qt(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 Ro(e,t,n){let{reference:r,floating:o}=e;const i=Ge(t),s=yr(t),c=Cr(s),p=Le(t),f=i==="y",g=r.x+r.width/2-o.width/2,h=r.y+r.height/2-o.height/2,d=r[c]/2-o[c]/2;let u;switch(p){case"top":u={x:g,y:r.y-o.height};break;case"bottom":u={x:g,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:h};break;case"left":u={x:r.x-o.width,y:h};break;default:u={x:r.x,y:r.y}}switch(pt(t)){case"start":u[s]-=d*(n&&f?-1:1);break;case"end":u[s]+=d*(n&&f?-1:1);break}return u}const Qd=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(t));let f=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:g,y:h}=Ro(f,r,p),d=r,u={},v=0;for(let m=0;m<c.length;m++){const{name:w,fn:b}=c[m],{x,y:C,data:y,reset:E}=await b({x:g,y:h,initialPlacement:r,placement:d,strategy:o,middlewareData:u,rects:f,platform:s,elements:{reference:e,floating:t}});g=x??g,h=C??h,u={...u,[w]:{...u[w],...y}},E&&v<=50&&(v++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(f=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:g,y:h}=Ro(f,d,p)),m=-1)}return{x:g,y:h,placement:d,strategy:o,middlewareData:u}};async function Et(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:c,strategy:p}=e,{boundary:f="clippingAncestors",rootBoundary:g="viewport",elementContext:h="floating",altBoundary:d=!1,padding:u=0}=Ie(t,e),v=Ci(u),w=c[d?h==="floating"?"reference":"floating":h],b=Qt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:f,rootBoundary:g,strategy:p})),x=h==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),y=await(i.isElement==null?void 0:i.isElement(C))?await(i.getScale==null?void 0:i.getScale(C))||{x:1,y:1}:{x:1,y:1},E=Qt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:C,strategy:p}):x);return{top:(b.top-E.top+v.top)/y.y,bottom:(E.bottom-b.bottom+v.bottom)/y.y,left:(b.left-E.left+v.left)/y.x,right:(E.right-b.right+v.right)/y.x}}const Jd=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:c,middlewareData:p}=t,{element:f,padding:g=0}=Ie(e,t)||{};if(f==null)return{};const h=Ci(g),d={x:n,y:r},u=yr(o),v=Cr(u),m=await s.getDimensions(f),w=u==="y",b=w?"top":"left",x=w?"bottom":"right",C=w?"clientHeight":"clientWidth",y=i.reference[v]+i.reference[u]-d[u]-i.floating[v],E=d[u]-i.reference[u],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f));let A=T?T[C]:0;(!A||!await(s.isElement==null?void 0:s.isElement(T)))&&(A=c.floating[C]||i.floating[v]);const N=y/2-E/2,k=A/2-m[v]/2-1,V=Ue(h[b],k),U=Ue(h[x],k),W=V,B=A-m[v]-U,P=A/2-m[v]/2+N,G=Kn(W,P,B),F=!p.arrow&&pt(o)!=null&&P!==G&&i.reference[v]/2-(P<W?V:U)-m[v]/2<0,Z=F?P<W?P-W:P-B:0;return{[u]:d[u]+Z,data:{[u]:G,centerOffset:P-G-Z,...F&&{alignmentOffset:Z}},reset:F}}}),e1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:c,platform:p,elements:f}=t,{mainAxis:g=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...w}=Ie(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const b=Le(o),x=Ge(c),C=Le(c)===c,y=await(p.isRTL==null?void 0:p.isRTL(f.floating)),E=d||(C||!m?[Xt(c)]:zd(c)),T=v!=="none";!d&&T&&E.push(...qd(c,m,v,y));const A=[c,...E],N=await Et(t,w),k=[];let V=((r=i.flip)==null?void 0:r.overflows)||[];if(g&&k.push(N[b]),h){const P=Kd(o,s,y);k.push(N[P[0]],N[P[1]])}if(V=[...V,{placement:o,overflows:k}],!k.every(P=>P<=0)){var U,W;const P=(((U=i.flip)==null?void 0:U.index)||0)+1,G=A[P];if(G)return{data:{index:P,overflows:V},reset:{placement:G}};let F=(W=V.filter(Z=>Z.overflows[0]<=0).sort((Z,_)=>Z.overflows[1]-_.overflows[1])[0])==null?void 0:W.placement;if(!F)switch(u){case"bestFit":{var B;const Z=(B=V.filter(_=>{if(T){const S=Ge(_.placement);return S===x||S==="y"}return!0}).map(_=>[_.placement,_.overflows.filter(S=>S>0).reduce((S,Y)=>S+Y,0)]).sort((_,S)=>_[1]-S[1])[0])==null?void 0:B[0];Z&&(F=Z);break}case"initialPlacement":F=c;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function To(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ao(e){return Ud.some(t=>e[t]>=0)}const t1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Ie(e,t);switch(r){case"referenceHidden":{const i=await Et(t,{...o,elementContext:"reference"}),s=To(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Ao(s)}}}case"escaped":{const i=await Et(t,{...o,altBoundary:!0}),s=To(i,n.floating);return{data:{escapedOffsets:s,escaped:Ao(s)}}}default:return{}}}}};async function n1(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Le(n),c=pt(n),p=Ge(n)==="y",f=["left","top"].includes(s)?-1:1,g=i&&p?-1:1,h=Ie(t,e);let{mainAxis:d,crossAxis:u,alignmentAxis:v}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof v=="number"&&(u=c==="end"?v*-1:v),p?{x:u*g,y:d*f}:{x:d*f,y:u*g}}const r1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:c}=t,p=await n1(t,e);return s===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:o+p.x,y:i+p.y,data:{...p,placement:s}}}}},o1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:b,y:x}=w;return{x:b,y:x}}},...p}=Ie(e,t),f={x:n,y:r},g=await Et(t,p),h=Ge(Le(o)),d=br(h);let u=f[d],v=f[h];if(i){const w=d==="y"?"top":"left",b=d==="y"?"bottom":"right",x=u+g[w],C=u-g[b];u=Kn(x,u,C)}if(s){const w=h==="y"?"top":"left",b=h==="y"?"bottom":"right",x=v+g[w],C=v-g[b];v=Kn(x,v,C)}const m=c.fn({...t,[d]:u,[h]:v});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[d]:i,[h]:s}}}}}},i1=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:c=0,mainAxis:p=!0,crossAxis:f=!0}=Ie(e,t),g={x:n,y:r},h=Ge(o),d=br(h);let u=g[d],v=g[h];const m=Ie(c,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(p){const C=d==="y"?"height":"width",y=i.reference[d]-i.floating[C]+w.mainAxis,E=i.reference[d]+i.reference[C]-w.mainAxis;u<y?u=y:u>E&&(u=E)}if(f){var b,x;const C=d==="y"?"width":"height",y=["top","left"].includes(Le(o)),E=i.reference[h]-i.floating[C]+(y&&((b=s.offset)==null?void 0:b[h])||0)+(y?0:w.crossAxis),T=i.reference[h]+i.reference[C]+(y?0:((x=s.offset)==null?void 0:x[h])||0)-(y?w.crossAxis:0);v<E?v=E:v>T&&(v=T)}return{[d]:u,[h]:v}}}},a1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:c}=t,{apply:p=()=>{},...f}=Ie(e,t),g=await Et(t,f),h=Le(o),d=pt(o),u=Ge(o)==="y",{width:v,height:m}=i.floating;let w,b;h==="top"||h==="bottom"?(w=h,b=d===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(b=h,w=d==="end"?"top":"bottom");const x=m-g.top-g.bottom,C=v-g.left-g.right,y=Ue(m-g[w],x),E=Ue(v-g[b],C),T=!t.middlewareData.shift;let A=y,N=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=C),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(A=x),T&&!d){const V=le(g.left,0),U=le(g.right,0),W=le(g.top,0),B=le(g.bottom,0);u?N=v-2*(V!==0||U!==0?V+U:le(g.left,g.right)):A=m-2*(W!==0||B!==0?W+B:le(g.top,g.bottom))}await p({...t,availableWidth:N,availableHeight:A});const k=await s.getDimensions(c.floating);return v!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function mn(){return typeof window<"u"}function mt(e){return yi(e)?(e.nodeName||"").toLowerCase():"#document"}function ue(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function je(e){var t;return(t=(yi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function yi(e){return mn()?e instanceof Node||e instanceof ue(e).Node:!1}function xe(e){return mn()?e instanceof Element||e instanceof ue(e).Element:!1}function Me(e){return mn()?e instanceof HTMLElement||e instanceof ue(e).HTMLElement:!1}function Po(e){return!mn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ue(e).ShadowRoot}function St(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=be(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function s1(e){return["table","td","th"].includes(mt(e))}function vn(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Er(e){const t=Rr(),n=xe(e)?be(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function c1(e){let t=Ze(e);for(;Me(t)&&!ut(t);){if(Er(t))return t;if(vn(t))return null;t=Ze(t)}return null}function Rr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ut(e){return["html","body","#document"].includes(mt(e))}function be(e){return ue(e).getComputedStyle(e)}function hn(e){return xe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ze(e){if(mt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Po(e)&&e.host||je(e);return Po(t)?t.host:t}function Ei(e){const t=Ze(e);return ut(t)?e.ownerDocument?e.ownerDocument.body:e.body:Me(t)&&St(t)?t:Ei(t)}function Rt(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Ei(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=ue(o);if(i){const c=Yn(s);return t.concat(s,s.visualViewport||[],St(o)?o:[],c&&n?Rt(c):[])}return t.concat(o,Rt(o,[],n))}function Yn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ri(e){const t=be(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Me(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,c=qt(n)!==i||qt(r)!==s;return c&&(n=i,r=s),{width:n,height:r,$:c}}function Tr(e){return xe(e)?e:e.contextElement}function at(e){const t=Tr(e);if(!Me(t))return Se(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Ri(t);let s=(i?qt(n.width):n.width)/r,c=(i?qt(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const l1=Se(0);function Ti(e){const t=ue(e);return!Rr()||!t.visualViewport?l1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function u1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ue(e)?!1:t}function Je(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Tr(e);let s=Se(1);t&&(r?xe(r)&&(s=at(r)):s=at(e));const c=u1(i,n,r)?Ti(i):Se(0);let p=(o.left+c.x)/s.x,f=(o.top+c.y)/s.y,g=o.width/s.x,h=o.height/s.y;if(i){const d=ue(i),u=r&&xe(r)?ue(r):r;let v=d,m=Yn(v);for(;m&&r&&u!==v;){const w=at(m),b=m.getBoundingClientRect(),x=be(m),C=b.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,y=b.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;p*=w.x,f*=w.y,g*=w.x,h*=w.y,p+=C,f+=y,v=ue(m),m=Yn(v)}}return Qt({width:g,height:h,x:p,y:f})}function Ar(e,t){const n=hn(e).scrollLeft;return t?t.left+n:Je(je(e)).left+n}function Ai(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Ar(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function d1(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=je(r),c=t?vn(t.floating):!1;if(r===s||c&&i)return n;let p={scrollLeft:0,scrollTop:0},f=Se(1);const g=Se(0),h=Me(r);if((h||!h&&!i)&&((mt(r)!=="body"||St(s))&&(p=hn(r)),Me(r))){const u=Je(r);f=at(r),g.x=u.x+r.clientLeft,g.y=u.y+r.clientTop}const d=s&&!h&&!i?Ai(s,p,!0):Se(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-p.scrollLeft*f.x+g.x+d.x,y:n.y*f.y-p.scrollTop*f.y+g.y+d.y}}function f1(e){return Array.from(e.getClientRects())}function p1(e){const t=je(e),n=hn(e),r=e.ownerDocument.body,o=le(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=le(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ar(e);const c=-n.scrollTop;return be(r).direction==="rtl"&&(s+=le(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:c}}function m1(e,t){const n=ue(e),r=je(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,c=0,p=0;if(o){i=o.width,s=o.height;const f=Rr();(!f||f&&t==="fixed")&&(c=o.offsetLeft,p=o.offsetTop)}return{width:i,height:s,x:c,y:p}}function v1(e,t){const n=Je(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Me(e)?at(e):Se(1),s=e.clientWidth*i.x,c=e.clientHeight*i.y,p=o*i.x,f=r*i.y;return{width:s,height:c,x:p,y:f}}function So(e,t,n){let r;if(t==="viewport")r=m1(e,n);else if(t==="document")r=p1(je(e));else if(xe(t))r=v1(t,n);else{const o=Ti(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Qt(r)}function Pi(e,t){const n=Ze(e);return n===t||!xe(n)||ut(n)?!1:be(n).position==="fixed"||Pi(n,t)}function h1(e,t){const n=t.get(e);if(n)return n;let r=Rt(e,[],!1).filter(c=>xe(c)&&mt(c)!=="body"),o=null;const i=be(e).position==="fixed";let s=i?Ze(e):e;for(;xe(s)&&!ut(s);){const c=be(s),p=Er(s);!p&&c.position==="fixed"&&(o=null),(i?!p&&!o:!p&&c.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||St(s)&&!p&&Pi(e,s))?r=r.filter(g=>g!==s):o=c,s=Ze(s)}return t.set(e,r),r}function g1(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?vn(t)?[]:h1(t,this._c):[].concat(n),r],c=s[0],p=s.reduce((f,g)=>{const h=So(t,g,o);return f.top=le(h.top,f.top),f.right=Ue(h.right,f.right),f.bottom=Ue(h.bottom,f.bottom),f.left=le(h.left,f.left),f},So(t,c,o));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function w1(e){const{width:t,height:n}=Ri(e);return{width:t,height:n}}function x1(e,t,n){const r=Me(t),o=je(t),i=n==="fixed",s=Je(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const p=Se(0);if(r||!r&&!i)if((mt(t)!=="body"||St(o))&&(c=hn(t)),r){const d=Je(t,!0,i,t);p.x=d.x+t.clientLeft,p.y=d.y+t.clientTop}else o&&(p.x=Ar(o));const f=o&&!r&&!i?Ai(o,c):Se(0),g=s.left+c.scrollLeft-p.x-f.x,h=s.top+c.scrollTop-p.y-f.y;return{x:g,y:h,width:s.width,height:s.height}}function kn(e){return be(e).position==="static"}function Mo(e,t){if(!Me(e)||be(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return je(e)===n&&(n=n.ownerDocument.body),n}function Si(e,t){const n=ue(e);if(vn(e))return n;if(!Me(e)){let o=Ze(e);for(;o&&!ut(o);){if(xe(o)&&!kn(o))return o;o=Ze(o)}return n}let r=Mo(e,t);for(;r&&s1(r)&&kn(r);)r=Mo(r,t);return r&&ut(r)&&kn(r)&&!Er(r)?n:r||c1(e)||n}const b1=async function(e){const t=this.getOffsetParent||Si,n=this.getDimensions,r=await n(e.floating);return{reference:x1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function C1(e){return be(e).direction==="rtl"}const y1={convertOffsetParentRelativeRectToViewportRelativeRect:d1,getDocumentElement:je,getClippingRect:g1,getOffsetParent:Si,getElementRects:b1,getClientRects:f1,getDimensions:w1,getScale:at,isElement:xe,isRTL:C1};function E1(e,t){let n=null,r;const o=je(e);function i(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function s(c,p){c===void 0&&(c=!1),p===void 0&&(p=1),i();const{left:f,top:g,width:h,height:d}=e.getBoundingClientRect();if(c||t(),!h||!d)return;const u=kt(g),v=kt(o.clientWidth-(f+h)),m=kt(o.clientHeight-(g+d)),w=kt(f),x={rootMargin:-u+"px "+-v+"px "+-m+"px "+-w+"px",threshold:le(0,Ue(1,p))||1};let C=!0;function y(E){const T=E[0].intersectionRatio;if(T!==p){if(!C)return s();T?s(!1,T):r=setTimeout(()=>{s(!1,1e-7)},1e3)}C=!1}try{n=new IntersectionObserver(y,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(y,x)}n.observe(e)}return s(!0),i}function R1(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:p=!1}=r,f=Tr(e),g=o||i?[...f?Rt(f):[],...Rt(t)]:[];g.forEach(b=>{o&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});const h=f&&c?E1(f,n):null;let d=-1,u=null;s&&(u=new ResizeObserver(b=>{let[x]=b;x&&x.target===f&&u&&(u.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var C;(C=u)==null||C.observe(t)})),n()}),f&&!p&&u.observe(f),u.observe(t));let v,m=p?Je(e):null;p&&w();function w(){const b=Je(e);m&&(b.x!==m.x||b.y!==m.y||b.width!==m.width||b.height!==m.height)&&n(),m=b,v=requestAnimationFrame(w)}return n(),()=>{var b;g.forEach(x=>{o&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),h==null||h(),(b=u)==null||b.disconnect(),u=null,p&&cancelAnimationFrame(v)}}const T1=r1,A1=o1,P1=e1,S1=a1,M1=t1,jo=Jd,j1=i1,N1=(e,t,n)=>{const r=new Map,o={platform:y1,...n},i={...o.platform,_c:r};return Qd(e,t,{...o,platform:i})};var Wt=typeof document<"u"?O.useLayoutEffect:O.useEffect;function Jt(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(!Jt(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 i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Jt(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Mi(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function No(e,t){const n=Mi(e);return Math.round(t*n)/n}function Fn(e){const t=l.useRef(e);return Wt(()=>{t.current=e}),t}function O1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:c=!0,whileElementsMounted:p,open:f}=e,[g,h]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,u]=l.useState(r);Jt(d,r)||u(r);const[v,m]=l.useState(null),[w,b]=l.useState(null),x=l.useCallback(_=>{_!==T.current&&(T.current=_,m(_))},[]),C=l.useCallback(_=>{_!==A.current&&(A.current=_,b(_))},[]),y=i||v,E=s||w,T=l.useRef(null),A=l.useRef(null),N=l.useRef(g),k=p!=null,V=Fn(p),U=Fn(o),W=Fn(f),B=l.useCallback(()=>{if(!T.current||!A.current)return;const _={placement:t,strategy:n,middleware:d};U.current&&(_.platform=U.current),N1(T.current,A.current,_).then(S=>{const Y={...S,isPositioned:W.current!==!1};P.current&&!Jt(N.current,Y)&&(N.current=Y,Go.flushSync(()=>{h(Y)}))})},[d,t,n,U,W]);Wt(()=>{f===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,h(_=>({..._,isPositioned:!1})))},[f]);const P=l.useRef(!1);Wt(()=>(P.current=!0,()=>{P.current=!1}),[]),Wt(()=>{if(y&&(T.current=y),E&&(A.current=E),y&&E){if(V.current)return V.current(y,E,B);B()}},[y,E,B,V,k]);const G=l.useMemo(()=>({reference:T,floating:A,setReference:x,setFloating:C}),[x,C]),F=l.useMemo(()=>({reference:y,floating:E}),[y,E]),Z=l.useMemo(()=>{const _={position:n,left:0,top:0};if(!F.floating)return _;const S=No(F.floating,g.x),Y=No(F.floating,g.y);return c?{..._,transform:"translate("+S+"px, "+Y+"px)",...Mi(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:S,top:Y}},[n,c,F.floating,g.x,g.y]);return l.useMemo(()=>({...g,update:B,refs:G,elements:F,floatingStyles:Z}),[g,B,G,F,Z])}const _1=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?jo({element:r.current,padding:o}).fn(n):{}:r?jo({element:r,padding:o}).fn(n):{}}}},D1=(e,t)=>({...T1(e),options:[e,t]}),I1=(e,t)=>({...A1(e),options:[e,t]}),L1=(e,t)=>({...j1(e),options:[e,t]}),k1=(e,t)=>({...P1(e),options:[e,t]}),F1=(e,t)=>({...S1(e),options:[e,t]}),V1=(e,t)=>({...M1(e),options:[e,t]}),$1=(e,t)=>({..._1(e),options:[e,t]});var B1="Arrow",ji=l.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return a.jsx(R.Primitive.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});ji.displayName=B1;var H1=ji;function W1(e,t=[]){let n=[];function r(i,s){const c=l.createContext(s),p=n.length;n=[...n,s];function f(h){const{scope:d,children:u,...v}=h,m=(d==null?void 0:d[e][p])||c,w=l.useMemo(()=>v,Object.values(v));return a.jsx(m.Provider,{value:w,children:u})}function g(h,d){const u=(d==null?void 0:d[e][p])||c,v=l.useContext(u);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${h}\` must be used within \`${i}\``)}return f.displayName=i+"Provider",[f,g]}const o=()=>{const i=n.map(s=>l.createContext(s));return function(c){const p=(c==null?void 0:c[e])||i;return l.useMemo(()=>({[`__scope${e}`]:{...c,[e]:p}}),[c,p])}};return o.scopeName=e,[r,U1(o,...t)]}function U1(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((c,{useScope:p,scopeName:f})=>{const h=p(i)[`__scope${f}`];return{...c,...h}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function G1(e){const[t,n]=l.useState(void 0);return De(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,c;if("borderBoxSize"in i){const p=i.borderBoxSize,f=Array.isArray(p)?p[0]:p;s=f.inlineSize,c=f.blockSize}else s=e.offsetWidth,c=e.offsetHeight;n({width:s,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Pr="Popper",[Ni,gn]=W1(Pr),[Z1,Oi]=Ni(Pr),_i=e=>{const{__scopePopper:t,children:n}=e,[r,o]=l.useState(null);return a.jsx(Z1,{scope:t,anchor:r,onAnchorChange:o,children:n})};_i.displayName=Pr;var Di="PopperAnchor",Ii=l.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Oi(Di,n),s=l.useRef(null),c=R.useComposedRefs(t,s);return l.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:a.jsx(R.Primitive.div,{...o,ref:c})});Ii.displayName=Di;var Sr="PopperContent",[K1,z1]=Ni(Sr),Li=l.forwardRef((e,t)=>{var ce,Ve,ae,$e,gt,Dt;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:p=!0,collisionBoundary:f=[],collisionPadding:g=0,sticky:h="partial",hideWhenDetached:d=!1,updatePositionStrategy:u="optimized",onPlaced:v,...m}=e,w=Oi(Sr,n),[b,x]=l.useState(null),C=R.useComposedRefs(t,Ee=>x(Ee)),[y,E]=l.useState(null),T=G1(y),A=(T==null?void 0:T.width)??0,N=(T==null?void 0:T.height)??0,k=r+(i!=="center"?"-"+i:""),V=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},U=Array.isArray(f)?f:[f],W=U.length>0,B={padding:V,boundary:U.filter(q1),altBoundary:W},{refs:P,floatingStyles:G,placement:F,isPositioned:Z,middlewareData:_}=O1({strategy:"fixed",placement:k,whileElementsMounted:(...Ee)=>R1(...Ee,{animationFrame:u==="always"}),elements:{reference:w.anchor},middleware:[D1({mainAxis:o+N,alignmentAxis:s}),p&&I1({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?L1():void 0,...B}),p&&k1({...B}),F1({...B,apply:({elements:Ee,rects:wt,availableWidth:Be,availableHeight:On})=>{const{width:xt,height:Xe}=wt.reference,Oe=Ee.floating.style;Oe.setProperty("--radix-popper-available-width",`${Be}px`),Oe.setProperty("--radix-popper-available-height",`${On}px`),Oe.setProperty("--radix-popper-anchor-width",`${xt}px`),Oe.setProperty("--radix-popper-anchor-height",`${Xe}px`)}}),y&&$1({element:y,padding:c}),X1({arrowWidth:A,arrowHeight:N}),d&&V1({strategy:"referenceHidden",...B})]}),[S,Y]=Vi(F),Q=re(v);De(()=>{Z&&(Q==null||Q())},[Z,Q]);const J=(ce=_.arrow)==null?void 0:ce.x,ee=(Ve=_.arrow)==null?void 0:Ve.y,ve=((ae=_.arrow)==null?void 0:ae.centerOffset)!==0,[Ne,he]=l.useState();return De(()=>{b&&he(window.getComputedStyle(b).zIndex)},[b]),a.jsx("div",{ref:P.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:Z?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ne,"--radix-popper-transform-origin":[($e=_.transformOrigin)==null?void 0:$e.x,(gt=_.transformOrigin)==null?void 0:gt.y].join(" "),...((Dt=_.hide)==null?void 0:Dt.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(K1,{scope:n,placedSide:S,onArrowChange:E,arrowX:J,arrowY:ee,shouldHideArrow:ve,children:a.jsx(R.Primitive.div,{"data-side":S,"data-align":Y,...m,ref:C,style:{...m.style,animation:Z?void 0:"none"}})})})});Li.displayName=Sr;var ki="PopperArrow",Y1={top:"bottom",right:"left",bottom:"top",left:"right"},Fi=l.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=z1(ki,r),s=Y1[i.placedSide];return a.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:a.jsx(H1,{...o,ref:n,style:{...o.style,display:"block"}})})});Fi.displayName=ki;function q1(e){return e!==null}var X1=e=>({name:"transformOrigin",options:e,fn(t){var w,b,x;const{placement:n,rects:r,middlewareData:o}=t,s=((w=o.arrow)==null?void 0:w.centerOffset)!==0,c=s?0:e.arrowWidth,p=s?0:e.arrowHeight,[f,g]=Vi(n),h={start:"0%",center:"50%",end:"100%"}[g],d=(((b=o.arrow)==null?void 0:b.x)??0)+c/2,u=(((x=o.arrow)==null?void 0:x.y)??0)+p/2;let v="",m="";return f==="bottom"?(v=s?h:`${d}px`,m=`${-p}px`):f==="top"?(v=s?h:`${d}px`,m=`${r.floating.height+p}px`):f==="right"?(v=`${-p}px`,m=s?h:`${u}px`):f==="left"&&(v=`${r.floating.width+p}px`,m=s?h:`${u}px`),{data:{x:v,y:m}}}});function Vi(e){const[t,n="center"]=e.split("-");return[t,n]}var Mr=_i,$i=Ii,Bi=Li,Hi=Fi,Q1="Portal",wn=l.forwardRef((e,t)=>{var c;const{container:n,...r}=e,[o,i]=l.useState(!1);De(()=>i(!0),[]);const s=n||o&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return s?ur.createPortal(a.jsx(R.Primitive.div,{...r,ref:t}),s):null});wn.displayName=Q1;function J1(e,t=[]){let n=[];function r(i,s){const c=l.createContext(s),p=n.length;n=[...n,s];function f(h){const{scope:d,children:u,...v}=h,m=(d==null?void 0:d[e][p])||c,w=l.useMemo(()=>v,Object.values(v));return a.jsx(m.Provider,{value:w,children:u})}function g(h,d){const u=(d==null?void 0:d[e][p])||c,v=l.useContext(u);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${h}\` must be used within \`${i}\``)}return f.displayName=i+"Provider",[f,g]}const o=()=>{const i=n.map(s=>l.createContext(s));return function(c){const p=(c==null?void 0:c[e])||i;return l.useMemo(()=>({[`__scope${e}`]:{...c,[e]:p}}),[c,p])}};return o.scopeName=e,[r,ef(o,...t)]}function ef(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((c,{useScope:p,scopeName:f})=>{const h=p(i)[`__scope${f}`];return{...c,...h}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var Vn="rovingFocusGroup.onEntryFocus",tf={bubbles:!1,cancelable:!0},xn="RovingFocusGroup",[qn,Wi,nf]=ln(xn),[rf,bn]=J1(xn,[nf]),[of,af]=rf(xn),Ui=l.forwardRef((e,t)=>a.jsx(qn.Provider,{scope:e.__scopeRovingFocusGroup,children:a.jsx(qn.Slot,{scope:e.__scopeRovingFocusGroup,children:a.jsx(sf,{...e,ref:t})})}));Ui.displayName=xn;var sf=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:p,onEntryFocus:f,preventScrollOnEntryFocus:g=!1,...h}=e,d=l.useRef(null),u=R.useComposedRefs(t,d),v=un(i),[m=null,w]=pe({prop:s,defaultProp:c,onChange:p}),[b,x]=l.useState(!1),C=re(f),y=Wi(n),E=l.useRef(!1),[T,A]=l.useState(0);return l.useEffect(()=>{const N=d.current;if(N)return N.addEventListener(Vn,C),()=>N.removeEventListener(Vn,C)},[C]),a.jsx(of,{scope:n,orientation:r,dir:v,loop:o,currentTabStopId:m,onItemFocus:l.useCallback(N=>w(N),[w]),onItemShiftTab:l.useCallback(()=>x(!0),[]),onFocusableItemAdd:l.useCallback(()=>A(N=>N+1),[]),onFocusableItemRemove:l.useCallback(()=>A(N=>N-1),[]),children:a.jsx(R.Primitive.div,{tabIndex:b||T===0?-1:0,"data-orientation":r,...h,ref:u,style:{outline:"none",...e.style},onMouseDown:j(e.onMouseDown,()=>{E.current=!0}),onFocus:j(e.onFocus,N=>{const k=!E.current;if(N.target===N.currentTarget&&k&&!b){const V=new CustomEvent(Vn,tf);if(N.currentTarget.dispatchEvent(V),!V.defaultPrevented){const U=y().filter(F=>F.focusable),W=U.find(F=>F.active),B=U.find(F=>F.id===m),G=[W,B,...U].filter(Boolean).map(F=>F.ref.current);Ki(G,g)}}E.current=!1}),onBlur:j(e.onBlur,()=>x(!1))})})}),Gi="RovingFocusGroupItem",Zi=l.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...s}=e,c=we(),p=i||c,f=af(Gi,n),g=f.currentTabStopId===p,h=Wi(n),{onFocusableItemAdd:d,onFocusableItemRemove:u}=f;return l.useEffect(()=>{if(r)return d(),()=>u()},[r,d,u]),a.jsx(qn.ItemSlot,{scope:n,id:p,focusable:r,active:o,children:a.jsx(R.Primitive.span,{tabIndex:g?0:-1,"data-orientation":f.orientation,...s,ref:t,onMouseDown:j(e.onMouseDown,v=>{r?f.onItemFocus(p):v.preventDefault()}),onFocus:j(e.onFocus,()=>f.onItemFocus(p)),onKeyDown:j(e.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){f.onItemShiftTab();return}if(v.target!==v.currentTarget)return;const m=uf(v,f.orientation,f.dir);if(m!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let b=h().filter(x=>x.focusable).map(x=>x.ref.current);if(m==="last")b.reverse();else if(m==="prev"||m==="next"){m==="prev"&&b.reverse();const x=b.indexOf(v.currentTarget);b=f.loop?df(b,x+1):b.slice(x+1)}setTimeout(()=>Ki(b))}})})})});Zi.displayName=Gi;var cf={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function lf(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function uf(e,t,n){const r=lf(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return cf[r]}function Ki(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function df(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var zi=Ui,Yi=Zi,ff=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},rt=new WeakMap,Ft=new WeakMap,Vt={},$n=0,qi=function(e){return e&&(e.host||qi(e.parentNode))},pf=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=qi(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},mf=function(e,t,n,r){var o=pf(t,Array.isArray(e)?e:[e]);Vt[n]||(Vt[n]=new WeakMap);var i=Vt[n],s=[],c=new Set,p=new Set(o),f=function(h){!h||c.has(h)||(c.add(h),f(h.parentNode))};o.forEach(f);var g=function(h){!h||p.has(h)||Array.prototype.forEach.call(h.children,function(d){if(c.has(d))g(d);else try{var u=d.getAttribute(r),v=u!==null&&u!=="false",m=(rt.get(d)||0)+1,w=(i.get(d)||0)+1;rt.set(d,m),i.set(d,w),s.push(d),m===1&&v&&Ft.set(d,!0),w===1&&d.setAttribute(n,"true"),v||d.setAttribute(r,"true")}catch(b){console.error("aria-hidden: cannot operate on ",d,b)}})};return g(t),c.clear(),$n++,function(){s.forEach(function(h){var d=rt.get(h)-1,u=i.get(h)-1;rt.set(h,d),i.set(h,u),d||(Ft.has(h)||h.removeAttribute(r),Ft.delete(h)),u||h.removeAttribute(n)}),$n--,$n||(rt=new WeakMap,rt=new WeakMap,Ft=new WeakMap,Vt={})}},Xi=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=ff(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),mf(r,o,n,"aria-hidden")):function(){return null}},Ae=function(){return Ae=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Ae.apply(this,arguments)};function Qi(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function vf(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Ut="right-scroll-bar-position",Gt="width-before-scroll-bar",hf="with-scroll-bars-hidden",gf="--removed-body-scroll-bar-size";function Bn(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function wf(e,t){var n=O.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var xf=typeof window<"u"?l.useLayoutEffect:l.useEffect,Oo=new WeakMap;function bf(e,t){var n=wf(null,function(r){return e.forEach(function(o){return Bn(o,r)})});return xf(function(){var r=Oo.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(c){i.has(c)||Bn(c,null)}),i.forEach(function(c){o.has(c)||Bn(c,s)})}Oo.set(n,e)},[e]),n}function Cf(e){return e}function yf(e,t){t===void 0&&(t=Cf);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(c){return c!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(c){return i(c)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var c=n;n=[],c.forEach(i),s=n}var p=function(){var g=s;s=[],g.forEach(i)},f=function(){return Promise.resolve().then(p)};f(),n={push:function(g){s.push(g),f()},filter:function(g){return s=s.filter(g),n}}}};return o}function Ef(e){e===void 0&&(e={});var t=yf(null);return t.options=Ae({async:!0,ssr:!1},e),t}var Ji=function(e){var t=e.sideCar,n=Qi(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return l.createElement(r,Ae({},n))};Ji.isSideCarExport=!0;function Rf(e,t){return e.useMedium(t),Ji}var ea=Ef(),Hn=function(){},Cn=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:Hn,onWheelCapture:Hn,onTouchMoveCapture:Hn}),o=r[0],i=r[1],s=e.forwardProps,c=e.children,p=e.className,f=e.removeScrollBar,g=e.enabled,h=e.shards,d=e.sideCar,u=e.noIsolation,v=e.inert,m=e.allowPinchZoom,w=e.as,b=w===void 0?"div":w,x=e.gapMode,C=Qi(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),y=d,E=bf([n,t]),T=Ae(Ae({},C),o);return l.createElement(l.Fragment,null,g&&l.createElement(y,{sideCar:ea,removeScrollBar:f,shards:h,noIsolation:u,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n,gapMode:x}),s?l.cloneElement(l.Children.only(c),Ae(Ae({},T),{ref:E})):l.createElement(b,Ae({},T,{className:p,ref:E}),c))});Cn.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Cn.classNames={fullWidth:Gt,zeroRight:Ut};var Tf=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Af(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Tf();return t&&e.setAttribute("nonce",t),e}function Pf(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Sf(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Mf=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Af())&&(Pf(t,n),Sf(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},jf=function(){var e=Mf();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},ta=function(){var e=jf(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Nf={left:0,top:0,right:0,gap:0},Wn=function(e){return parseInt(e||"",10)||0},Of=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Wn(n),Wn(r),Wn(o)]},_f=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Nf;var t=Of(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Df=ta(),st="data-scroll-locked",If=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,c=e.gap;return n===void 0&&(n="margin"),`
|
|
2
|
+
.`.concat(hf,` {
|
|
3
|
+
overflow: hidden `).concat(r,`;
|
|
4
|
+
padding-right: `).concat(c,"px ").concat(r,`;
|
|
5
|
+
}
|
|
6
|
+
body[`).concat(st,`] {
|
|
7
|
+
overflow: hidden `).concat(r,`;
|
|
8
|
+
overscroll-behavior: contain;
|
|
9
|
+
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
10
|
+
padding-left: `.concat(o,`px;
|
|
11
|
+
padding-top: `).concat(i,`px;
|
|
12
|
+
padding-right: `).concat(s,`px;
|
|
13
|
+
margin-left:0;
|
|
14
|
+
margin-top:0;
|
|
15
|
+
margin-right: `).concat(c,"px ").concat(r,`;
|
|
16
|
+
`),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.`).concat(Ut,` {
|
|
20
|
+
right: `).concat(c,"px ").concat(r,`;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.`).concat(Gt,` {
|
|
24
|
+
margin-right: `).concat(c,"px ").concat(r,`;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.`).concat(Ut," .").concat(Ut,` {
|
|
28
|
+
right: 0 `).concat(r,`;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.`).concat(Gt," .").concat(Gt,` {
|
|
32
|
+
margin-right: 0 `).concat(r,`;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
body[`).concat(st,`] {
|
|
36
|
+
`).concat(gf,": ").concat(c,`px;
|
|
37
|
+
}
|
|
38
|
+
`)},_o=function(){var e=parseInt(document.body.getAttribute(st)||"0",10);return isFinite(e)?e:0},Lf=function(){l.useEffect(function(){return document.body.setAttribute(st,(_o()+1).toString()),function(){var e=_o()-1;e<=0?document.body.removeAttribute(st):document.body.setAttribute(st,e.toString())}},[])},kf=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Lf();var i=l.useMemo(function(){return _f(o)},[o]);return l.createElement(Df,{styles:If(i,!t,o,n?"":"!important")})},Xn=!1;if(typeof window<"u")try{var $t=Object.defineProperty({},"passive",{get:function(){return Xn=!0,!0}});window.addEventListener("test",$t,$t),window.removeEventListener("test",$t,$t)}catch{Xn=!1}var ot=Xn?{passive:!1}:!1,Ff=function(e){return e.tagName==="TEXTAREA"},na=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Ff(e)&&n[t]==="visible")},Vf=function(e){return na(e,"overflowY")},$f=function(e){return na(e,"overflowX")},Do=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=ra(e,r);if(o){var i=oa(e,r),s=i[1],c=i[2];if(s>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Bf=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Hf=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},ra=function(e,t){return e==="v"?Vf(t):$f(t)},oa=function(e,t){return e==="v"?Bf(t):Hf(t)},Wf=function(e,t){return e==="h"&&t==="rtl"?-1:1},Uf=function(e,t,n,r,o){var i=Wf(e,window.getComputedStyle(t).direction),s=i*r,c=n.target,p=t.contains(c),f=!1,g=s>0,h=0,d=0;do{var u=oa(e,c),v=u[0],m=u[1],w=u[2],b=m-w-i*v;(v||b)&&ra(e,c)&&(h+=b,d+=v),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!p&&c!==document.body||p&&(t.contains(c)||t===c));return(g&&(Math.abs(h)<1||!o)||!g&&(Math.abs(d)<1||!o))&&(f=!0),f},Bt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Io=function(e){return[e.deltaX,e.deltaY]},Lo=function(e){return e&&"current"in e?e.current:e},Gf=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Zf=function(e){return`
|
|
39
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
+
`)},Kf=0,it=[];function zf(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(Kf++)[0],i=l.useState(ta)[0],s=l.useRef(e);l.useEffect(function(){s.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=vf([e.lockRef.current],(e.shards||[]).map(Lo),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=l.useCallback(function(m,w){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!s.current.allowPinchZoom;var b=Bt(m),x=n.current,C="deltaX"in m?m.deltaX:x[0]-b[0],y="deltaY"in m?m.deltaY:x[1]-b[1],E,T=m.target,A=Math.abs(C)>Math.abs(y)?"h":"v";if("touches"in m&&A==="h"&&T.type==="range")return!1;var N=Do(A,T);if(!N)return!0;if(N?E=A:(E=A==="v"?"h":"v",N=Do(A,T)),!N)return!1;if(!r.current&&"changedTouches"in m&&(C||y)&&(r.current=E),!E)return!0;var k=r.current||E;return Uf(k,w,m,k==="h"?C:y,!0)},[]),p=l.useCallback(function(m){var w=m;if(!(!it.length||it[it.length-1]!==i)){var b="deltaY"in w?Io(w):Bt(w),x=t.current.filter(function(E){return E.name===w.type&&(E.target===w.target||w.target===E.shadowParent)&&Gf(E.delta,b)})[0];if(x&&x.should){w.cancelable&&w.preventDefault();return}if(!x){var C=(s.current.shards||[]).map(Lo).filter(Boolean).filter(function(E){return E.contains(w.target)}),y=C.length>0?c(w,C[0]):!s.current.noIsolation;y&&w.cancelable&&w.preventDefault()}}},[]),f=l.useCallback(function(m,w,b,x){var C={name:m,delta:w,target:b,should:x,shadowParent:Yf(b)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(y){return y!==C})},1)},[]),g=l.useCallback(function(m){n.current=Bt(m),r.current=void 0},[]),h=l.useCallback(function(m){f(m.type,Io(m),m.target,c(m,e.lockRef.current))},[]),d=l.useCallback(function(m){f(m.type,Bt(m),m.target,c(m,e.lockRef.current))},[]);l.useEffect(function(){return it.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:d}),document.addEventListener("wheel",p,ot),document.addEventListener("touchmove",p,ot),document.addEventListener("touchstart",g,ot),function(){it=it.filter(function(m){return m!==i}),document.removeEventListener("wheel",p,ot),document.removeEventListener("touchmove",p,ot),document.removeEventListener("touchstart",g,ot)}},[]);var u=e.removeScrollBar,v=e.inert;return l.createElement(l.Fragment,null,v?l.createElement(i,{styles:Zf(o)}):null,u?l.createElement(kf,{gapMode:e.gapMode}):null)}function Yf(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const qf=Rf(ea,zf);var jr=l.forwardRef(function(e,t){return l.createElement(Cn,Ae({},e,{ref:t,sideCar:qf}))});jr.classNames=Cn.classNames;var Qn=["Enter"," "],Xf=["ArrowDown","PageUp","Home"],ia=["ArrowUp","PageDown","End"],Qf=[...Xf,...ia],Jf={ltr:[...Qn,"ArrowRight"],rtl:[...Qn,"ArrowLeft"]},e0={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Mt="Menu",[Tt,t0,n0]=ln(Mt),[tt,aa]=Ke(Mt,[n0,gn,bn]),jt=gn(),sa=bn(),[ca,ze]=tt(Mt),[r0,Nt]=tt(Mt),la=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:s=!0}=e,c=jt(t),[p,f]=l.useState(null),g=l.useRef(!1),h=re(i),d=un(o);return l.useEffect(()=>{const u=()=>{g.current=!0,document.addEventListener("pointerdown",v,{capture:!0,once:!0}),document.addEventListener("pointermove",v,{capture:!0,once:!0})},v=()=>g.current=!1;return document.addEventListener("keydown",u,{capture:!0}),()=>{document.removeEventListener("keydown",u,{capture:!0}),document.removeEventListener("pointerdown",v,{capture:!0}),document.removeEventListener("pointermove",v,{capture:!0})}},[]),a.jsx(Mr,{...c,children:a.jsx(ca,{scope:t,open:n,onOpenChange:h,content:p,onContentChange:f,children:a.jsx(r0,{scope:t,onClose:l.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:g,dir:d,modal:s,children:r})})})};la.displayName=Mt;var o0="MenuAnchor",Nr=l.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=jt(n);return a.jsx($i,{...o,...r,ref:t})});Nr.displayName=o0;var Or="MenuPortal",[i0,ua]=tt(Or,{forceMount:void 0}),da=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=ze(Or,t);return a.jsx(i0,{scope:t,forceMount:n,children:a.jsx(Ce,{present:n||i.open,children:a.jsx(wn,{asChild:!0,container:o,children:r})})})};da.displayName=Or;var fe="MenuContent",[a0,_r]=tt(fe),fa=l.forwardRef((e,t)=>{const n=ua(fe,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=ze(fe,e.__scopeMenu),s=Nt(fe,e.__scopeMenu);return a.jsx(Tt.Provider,{scope:e.__scopeMenu,children:a.jsx(Ce,{present:r||i.open,children:a.jsx(Tt.Slot,{scope:e.__scopeMenu,children:s.modal?a.jsx(s0,{...o,ref:t}):a.jsx(c0,{...o,ref:t})})})})}),s0=l.forwardRef((e,t)=>{const n=ze(fe,e.__scopeMenu),r=l.useRef(null),o=R.useComposedRefs(t,r);return l.useEffect(()=>{const i=r.current;if(i)return Xi(i)},[]),a.jsx(Dr,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:j(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),c0=l.forwardRef((e,t)=>{const n=ze(fe,e.__scopeMenu);return a.jsx(Dr,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Dr=l.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:c,onEntryFocus:p,onEscapeKeyDown:f,onPointerDownOutside:g,onFocusOutside:h,onInteractOutside:d,onDismiss:u,disableOutsideScroll:v,...m}=e,w=ze(fe,n),b=Nt(fe,n),x=jt(n),C=sa(n),y=t0(n),[E,T]=l.useState(null),A=l.useRef(null),N=R.useComposedRefs(t,A,w.onContentChange),k=l.useRef(0),V=l.useRef(""),U=l.useRef(0),W=l.useRef(null),B=l.useRef("right"),P=l.useRef(0),G=v?jr:l.Fragment,F=v?{as:R.Slot,allowPinchZoom:!0}:void 0,Z=S=>{var ce,Ve;const Y=V.current+S,Q=y().filter(ae=>!ae.disabled),J=document.activeElement,ee=(ce=Q.find(ae=>ae.ref.current===J))==null?void 0:ce.textValue,ve=Q.map(ae=>ae.textValue),Ne=b0(ve,Y,ee),he=(Ve=Q.find(ae=>ae.textValue===Ne))==null?void 0:Ve.ref.current;(function ae($e){V.current=$e,window.clearTimeout(k.current),$e!==""&&(k.current=window.setTimeout(()=>ae(""),1e3))})(Y),he&&setTimeout(()=>he.focus())};l.useEffect(()=>()=>window.clearTimeout(k.current),[]),xi();const _=l.useCallback(S=>{var Q,J;return B.current===((Q=W.current)==null?void 0:Q.side)&&y0(S,(J=W.current)==null?void 0:J.area)},[]);return a.jsx(a0,{scope:n,searchRef:V,onItemEnter:l.useCallback(S=>{_(S)&&S.preventDefault()},[_]),onItemLeave:l.useCallback(S=>{var Y;_(S)||((Y=A.current)==null||Y.focus(),T(null))},[_]),onTriggerLeave:l.useCallback(S=>{_(S)&&S.preventDefault()},[_]),pointerGraceTimerRef:U,onPointerGraceIntentChange:l.useCallback(S=>{W.current=S},[]),children:a.jsx(G,{...F,children:a.jsx(xr,{asChild:!0,trapped:o,onMountAutoFocus:j(i,S=>{var Y;S.preventDefault(),(Y=A.current)==null||Y.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:a.jsx(Pt,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:f,onPointerDownOutside:g,onFocusOutside:h,onInteractOutside:d,onDismiss:u,children:a.jsx(zi,{asChild:!0,...C,dir:b.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:T,onEntryFocus:j(p,S=>{b.isUsingKeyboardRef.current||S.preventDefault()}),preventScrollOnEntryFocus:!0,children:a.jsx(Bi,{role:"menu","aria-orientation":"vertical","data-state":Ma(w.open),"data-radix-menu-content":"",dir:b.dir,...x,...m,ref:N,style:{outline:"none",...m.style},onKeyDown:j(m.onKeyDown,S=>{const Q=S.target.closest("[data-radix-menu-content]")===S.currentTarget,J=S.ctrlKey||S.altKey||S.metaKey,ee=S.key.length===1;Q&&(S.key==="Tab"&&S.preventDefault(),!J&&ee&&Z(S.key));const ve=A.current;if(S.target!==ve||!Qf.includes(S.key))return;S.preventDefault();const he=y().filter(ce=>!ce.disabled).map(ce=>ce.ref.current);ia.includes(S.key)&&he.reverse(),w0(he)}),onBlur:j(e.onBlur,S=>{S.currentTarget.contains(S.target)||(window.clearTimeout(k.current),V.current="")}),onPointerMove:j(e.onPointerMove,At(S=>{const Y=S.target,Q=P.current!==S.clientX;if(S.currentTarget.contains(Y)&&Q){const J=S.clientX>P.current?"right":"left";B.current=J,P.current=S.clientX}}))})})})})})})});fa.displayName=fe;var l0="MenuGroup",Ir=l.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return a.jsx(R.Primitive.div,{role:"group",...r,ref:t})});Ir.displayName=l0;var u0="MenuLabel",pa=l.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return a.jsx(R.Primitive.div,{...r,ref:t})});pa.displayName=u0;var en="MenuItem",ko="menu.itemSelect",yn=l.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=l.useRef(null),s=Nt(en,e.__scopeMenu),c=_r(en,e.__scopeMenu),p=R.useComposedRefs(t,i),f=l.useRef(!1),g=()=>{const h=i.current;if(!n&&h){const d=new CustomEvent(ko,{bubbles:!0,cancelable:!0});h.addEventListener(ko,u=>r==null?void 0:r(u),{once:!0}),R.dispatchDiscreteCustomEvent(h,d),d.defaultPrevented?f.current=!1:s.onClose()}};return a.jsx(ma,{...o,ref:p,disabled:n,onClick:j(e.onClick,g),onPointerDown:h=>{var d;(d=e.onPointerDown)==null||d.call(e,h),f.current=!0},onPointerUp:j(e.onPointerUp,h=>{var d;f.current||(d=h.currentTarget)==null||d.click()}),onKeyDown:j(e.onKeyDown,h=>{const d=c.searchRef.current!=="";n||d&&h.key===" "||Qn.includes(h.key)&&(h.currentTarget.click(),h.preventDefault())})})});yn.displayName=en;var ma=l.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,s=_r(en,n),c=sa(n),p=l.useRef(null),f=R.useComposedRefs(t,p),[g,h]=l.useState(!1),[d,u]=l.useState("");return l.useEffect(()=>{const v=p.current;v&&u((v.textContent??"").trim())},[i.children]),a.jsx(Tt.ItemSlot,{scope:n,disabled:r,textValue:o??d,children:a.jsx(Yi,{asChild:!0,...c,focusable:!r,children:a.jsx(R.Primitive.div,{role:"menuitem","data-highlighted":g?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:f,onPointerMove:j(e.onPointerMove,At(v=>{r?s.onItemLeave(v):(s.onItemEnter(v),v.defaultPrevented||v.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:j(e.onPointerLeave,At(v=>s.onItemLeave(v))),onFocus:j(e.onFocus,()=>h(!0)),onBlur:j(e.onBlur,()=>h(!1))})})})}),d0="MenuCheckboxItem",va=l.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return a.jsx(ba,{scope:e.__scopeMenu,checked:n,children:a.jsx(yn,{role:"menuitemcheckbox","aria-checked":tn(n)?"mixed":n,...o,ref:t,"data-state":Fr(n),onSelect:j(o.onSelect,()=>r==null?void 0:r(tn(n)?!0:!n),{checkForDefaultPrevented:!1})})})});va.displayName=d0;var ha="MenuRadioGroup",[f0,p0]=tt(ha,{value:void 0,onValueChange:()=>{}}),ga=l.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=re(r);return a.jsx(f0,{scope:e.__scopeMenu,value:n,onValueChange:i,children:a.jsx(Ir,{...o,ref:t})})});ga.displayName=ha;var wa="MenuRadioItem",xa=l.forwardRef((e,t)=>{const{value:n,...r}=e,o=p0(wa,e.__scopeMenu),i=n===o.value;return a.jsx(ba,{scope:e.__scopeMenu,checked:i,children:a.jsx(yn,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":Fr(i),onSelect:j(r.onSelect,()=>{var s;return(s=o.onValueChange)==null?void 0:s.call(o,n)},{checkForDefaultPrevented:!1})})})});xa.displayName=wa;var Lr="MenuItemIndicator",[ba,m0]=tt(Lr,{checked:!1}),Ca=l.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=m0(Lr,n);return a.jsx(Ce,{present:r||tn(i.checked)||i.checked===!0,children:a.jsx(R.Primitive.span,{...o,ref:t,"data-state":Fr(i.checked)})})});Ca.displayName=Lr;var v0="MenuSeparator",ya=l.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return a.jsx(R.Primitive.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});ya.displayName=v0;var h0="MenuArrow",Ea=l.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=jt(n);return a.jsx(Hi,{...o,...r,ref:t})});Ea.displayName=h0;var kr="MenuSub",[g0,Ra]=tt(kr),Ta=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,i=ze(kr,t),s=jt(t),[c,p]=l.useState(null),[f,g]=l.useState(null),h=re(o);return l.useEffect(()=>(i.open===!1&&h(!1),()=>h(!1)),[i.open,h]),a.jsx(Mr,{...s,children:a.jsx(ca,{scope:t,open:r,onOpenChange:h,content:f,onContentChange:g,children:a.jsx(g0,{scope:t,contentId:we(),triggerId:we(),trigger:c,onTriggerChange:p,children:n})})})};Ta.displayName=kr;var bt="MenuSubTrigger",Aa=l.forwardRef((e,t)=>{const n=ze(bt,e.__scopeMenu),r=Nt(bt,e.__scopeMenu),o=Ra(bt,e.__scopeMenu),i=_r(bt,e.__scopeMenu),s=l.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:p}=i,f={__scopeMenu:e.__scopeMenu},g=l.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return l.useEffect(()=>g,[g]),l.useEffect(()=>{const h=c.current;return()=>{window.clearTimeout(h),p(null)}},[c,p]),a.jsx(Nr,{asChild:!0,...f,children:a.jsx(ma,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":Ma(n.open),...e,ref:R.composeRefs(t,o.onTriggerChange),onClick:h=>{var d;(d=e.onClick)==null||d.call(e,h),!(e.disabled||h.defaultPrevented)&&(h.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:j(e.onPointerMove,At(h=>{i.onItemEnter(h),!h.defaultPrevented&&!e.disabled&&!n.open&&!s.current&&(i.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),g()},100))})),onPointerLeave:j(e.onPointerLeave,At(h=>{var u,v;g();const d=(u=n.content)==null?void 0:u.getBoundingClientRect();if(d){const m=(v=n.content)==null?void 0:v.dataset.side,w=m==="right",b=w?-5:5,x=d[w?"left":"right"],C=d[w?"right":"left"];i.onPointerGraceIntentChange({area:[{x:h.clientX+b,y:h.clientY},{x,y:d.top},{x:C,y:d.top},{x:C,y:d.bottom},{x,y:d.bottom}],side:m}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(h),h.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:j(e.onKeyDown,h=>{var u;const d=i.searchRef.current!=="";e.disabled||d&&h.key===" "||Jf[r.dir].includes(h.key)&&(n.onOpenChange(!0),(u=n.content)==null||u.focus(),h.preventDefault())})})})});Aa.displayName=bt;var Pa="MenuSubContent",Sa=l.forwardRef((e,t)=>{const n=ua(fe,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=ze(fe,e.__scopeMenu),s=Nt(fe,e.__scopeMenu),c=Ra(Pa,e.__scopeMenu),p=l.useRef(null),f=R.useComposedRefs(t,p);return a.jsx(Tt.Provider,{scope:e.__scopeMenu,children:a.jsx(Ce,{present:r||i.open,children:a.jsx(Tt.Slot,{scope:e.__scopeMenu,children:a.jsx(Dr,{id:c.contentId,"aria-labelledby":c.triggerId,...o,ref:f,align:"start",side:s.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:g=>{var h;s.isUsingKeyboardRef.current&&((h=p.current)==null||h.focus()),g.preventDefault()},onCloseAutoFocus:g=>g.preventDefault(),onFocusOutside:j(e.onFocusOutside,g=>{g.target!==c.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:j(e.onEscapeKeyDown,g=>{s.onClose(),g.preventDefault()}),onKeyDown:j(e.onKeyDown,g=>{var u;const h=g.currentTarget.contains(g.target),d=e0[s.dir].includes(g.key);h&&d&&(i.onOpenChange(!1),(u=c.trigger)==null||u.focus(),g.preventDefault())})})})})})});Sa.displayName=Pa;function Ma(e){return e?"open":"closed"}function tn(e){return e==="indeterminate"}function Fr(e){return tn(e)?"indeterminate":e?"checked":"unchecked"}function w0(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function x0(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function b0(e,t,n){const o=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let s=x0(e,Math.max(i,0));o.length===1&&(s=s.filter(f=>f!==n));const p=s.find(f=>f.toLowerCase().startsWith(o.toLowerCase()));return p!==n?p:void 0}function C0(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const c=t[i].x,p=t[i].y,f=t[s].x,g=t[s].y;p>r!=g>r&&n<(f-c)*(r-p)/(g-p)+c&&(o=!o)}return o}function y0(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return C0(n,t)}function At(e){return t=>t.pointerType==="mouse"?e(t):void 0}var E0=la,R0=Nr,T0=da,A0=fa,P0=Ir,S0=pa,M0=yn,j0=va,N0=ga,O0=xa,_0=Ca,D0=ya,I0=Ea,L0=Ta,k0=Aa,F0=Sa,Vr="DropdownMenu",[V0,d3]=Ke(Vr,[aa]),oe=aa(),[$0,ja]=V0(Vr),Na=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:s,modal:c=!0}=e,p=oe(t),f=l.useRef(null),[g=!1,h]=pe({prop:o,defaultProp:i,onChange:s});return a.jsx($0,{scope:t,triggerId:we(),triggerRef:f,contentId:we(),open:g,onOpenChange:h,onOpenToggle:l.useCallback(()=>h(d=>!d),[h]),modal:c,children:a.jsx(E0,{...p,open:g,onOpenChange:h,dir:r,modal:c,children:n})})};Na.displayName=Vr;var Oa="DropdownMenuTrigger",_a=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=ja(Oa,n),s=oe(n);return a.jsx(R0,{asChild:!0,...s,children:a.jsx(R.Primitive.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:R.composeRefs(t,i.triggerRef),onPointerDown:j(e.onPointerDown,c=>{!r&&c.button===0&&c.ctrlKey===!1&&(i.onOpenToggle(),i.open||c.preventDefault())}),onKeyDown:j(e.onKeyDown,c=>{r||(["Enter"," "].includes(c.key)&&i.onOpenToggle(),c.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});_a.displayName=Oa;var B0="DropdownMenuPortal",Da=e=>{const{__scopeDropdownMenu:t,...n}=e,r=oe(t);return a.jsx(T0,{...r,...n})};Da.displayName=B0;var Ia="DropdownMenuContent",La=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=ja(Ia,n),i=oe(n),s=l.useRef(!1);return a.jsx(A0,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:j(e.onCloseAutoFocus,c=>{var p;s.current||(p=o.triggerRef.current)==null||p.focus(),s.current=!1,c.preventDefault()}),onInteractOutside:j(e.onInteractOutside,c=>{const p=c.detail.originalEvent,f=p.button===0&&p.ctrlKey===!0,g=p.button===2||f;(!o.modal||g)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});La.displayName=Ia;var H0="DropdownMenuGroup",W0=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(P0,{...o,...r,ref:t})});W0.displayName=H0;var U0="DropdownMenuLabel",ka=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(S0,{...o,...r,ref:t})});ka.displayName=U0;var G0="DropdownMenuItem",Fa=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(M0,{...o,...r,ref:t})});Fa.displayName=G0;var Z0="DropdownMenuCheckboxItem",Va=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(j0,{...o,...r,ref:t})});Va.displayName=Z0;var K0="DropdownMenuRadioGroup",$a=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(N0,{...o,...r,ref:t})});$a.displayName=K0;var z0="DropdownMenuRadioItem",Ba=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(O0,{...o,...r,ref:t})});Ba.displayName=z0;var Y0="DropdownMenuItemIndicator",Ha=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(_0,{...o,...r,ref:t})});Ha.displayName=Y0;var q0="DropdownMenuSeparator",Wa=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(D0,{...o,...r,ref:t})});Wa.displayName=q0;var X0="DropdownMenuArrow",Q0=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(I0,{...o,...r,ref:t})});Q0.displayName=X0;var J0=e=>{const{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,s=oe(t),[c=!1,p]=pe({prop:r,defaultProp:i,onChange:o});return a.jsx(L0,{...s,open:c,onOpenChange:p,children:n})},ep="DropdownMenuSubTrigger",Ua=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(k0,{...o,...r,ref:t})});Ua.displayName=ep;var tp="DropdownMenuSubContent",Ga=l.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=oe(n);return a.jsx(F0,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Ga.displayName=tp;var np=Na,rp=_a,op=Da,Za=La,Ka=ka,za=Fa,Ya=Va,ip=$a,qa=Ba,ap=Ha,Xa=Wa,sp=J0,Qa=Ua,Ja=Ga;function cp(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var lp=["color"],up=O.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=cp(e,lp);return O.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),O.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});const dp=np,fp=rp,pp=sp,mp=ip,es=l.forwardRef(({className:e,inset:t,children:n,...r},o)=>a.jsxs(Qa,{ref:o,className:D.cn("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none hover:bg-grey-100 focus:bg-grey-100 data-[state=open]:bg-grey-100 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[n,a.jsx(up,{className:"ml-auto"})]}));es.displayName=Qa.displayName;const ts=l.forwardRef(({className:e,...t},n)=>a.jsx(Ja,{ref:n,className:D.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 ml-1 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg",e),...t}));ts.displayName=Ja.displayName;const ns=l.forwardRef(({className:e,sideOffset:t=4,...n},r)=>a.jsx(op,{children:a.jsx(Za,{ref:r,sideOffset:t,className:D.cn("z-50 w-fit min-w-[8rem] overflow-hidden overflow-y-auto rounded-lg border bg-background p-1 text-foreground shadow-md md:max-h-[50vh]","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));ns.displayName=Za.displayName;const rs=l.forwardRef(({className:e,inset:t,...n},r)=>a.jsx(za,{ref:r,className:D.cn("relative flex cursor-pointer select-none items-center gap-2 rounded-lg px-2 py-1 text-sm outline-none transition-colors hover:bg-grey-100 focus:bg-grey-100 focus:text-grey-800 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...n}));rs.displayName=za.displayName;const os=l.forwardRef(({className:e,children:t,checked:n,...r},o)=>a.jsxs(Ya,{ref:o,className:D.cn("relative flex cursor-pointer select-none items-center gap-2 rounded-sm py-1 pl-8 pr-2 text-sm outline-none transition-colors hover:bg-grey-100 focus:bg-grey-100 focus:text-grey-800 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[a.jsx("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:n?a.jsx(We.Checkbox,{type:"checked",size:"16"}):a.jsx(We.Checkbox,{type:"blank",size:"16"})}),t]}));os.displayName=Ya.displayName;const is=l.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(qa,{ref:r,className:D.cn("relative flex cursor-default select-none items-center gap-2 rounded-sm py-1 pl-8 pr-2 text-sm outline-none transition-colors hover:bg-grey-100 focus:bg-grey-100 focus:text-grey-800 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[a.jsxs("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:[a.jsx(We.Radio,{type:"blank",size:"16"}),a.jsx(ap,{children:a.jsx(We.Radio,{type:"checked",fill:Qe.colors.main[600],size:"16"})})]}),t]}));is.displayName=qa.displayName;const Jn=l.forwardRef(({className:e,inset:t,...n},r)=>a.jsx(Ka,{ref:r,className:D.cn("p-1 text-xs font-semibold",t&&"pl-8",e),...n}));Jn.displayName=Ka.displayName;const er=l.forwardRef(({className:e,...t},n)=>a.jsx(Xa,{ref:n,className:D.cn("-mx-1 my-1 h-px bg-grey-100",e),...t}));er.displayName=Xa.displayName;const as=l.forwardRef(({children:e,items:t,defaultValue:n=[],defaultOpen:r,onOpenChange:o,onChange:i,size:s,column:c=1,multiple:p=!1,className:f},g)=>{const[h,d]=O.useState(n),u=O.useRef(null),[v,m]=O.useState(void 0);l.useImperativeHandle(g,()=>({setSelectedItems:d}),[]),l.useEffect(()=>{i&&i(h)},[h,i]),O.useLayoutEffect(()=>{const x=()=>{if(u.current){const C=u.current.getBoundingClientRect();m(C.width)}};return x(),window.addEventListener("resize",x),()=>{window.removeEventListener("resize",x)}},[e,s]);const w=x=>{d(C=>{switch(x.containerType){case"checkbox":return C.some(y=>y.value===x.value&&y.containerKey===x.containerKey)?C.filter(y=>!(y.value===x.value&&y.containerKey===x.containerKey)):[...C,x];case"radio":return p?[...C.filter(y=>!(y.containerType==="radio"&&y.containerKey===x.containerKey)),x]:[x];case"default":return p?[...C.filter(y=>!(y.containerType==="default"&&y.containerKey===x.containerKey)),x]:[x];default:return C}})},b=x=>{d(C=>C.filter(y=>!(y.value===x.value&&y.containerKey===x.containerKey)))};return a.jsxs(dp,{defaultOpen:r,onOpenChange:o,children:[a.jsx(fp,{asChild:!0,className:"outline-none",ref:u,style:{width:s==="fit"?"fit-content":s||"auto"},children:e}),a.jsx(ns,{style:{width:s==="fit"?"fit-content":s||"auto",minWidth:s==="fit"&&v?`${v}px`:void 0},className:f,children:t.map((x,C)=>a.jsx(ss,{container:x,handleSelect:w,handleDeselect:b,selectedItems:h,column:c},C))})]})});as.displayName="Dropdown";const ss=({container:e,handleSelect:t,handleDeselect:n,selectedItems:r,column:o=1})=>{var d;const{containerType:i,containerKey:s,containerTitle:c,isShowTitle:p,isShowSeparator:f,items:g}=e,h=u=>u.some(v=>v.items.some(m=>m.type==="default"||m.type==="checkbox"||m.type==="radio"?r.some(w=>w.value===m.value&&w.containerKey===v.containerKey&&w.containerType===v.containerType):m.type==="sub"?h(m.items):!1));return a.jsxs(l.Fragment,{children:[p&&a.jsx(Jn,{inset:!1,children:c}),i==="radio"?a.jsx(mp,{value:(d=r.find(u=>u.containerType==="radio"&&u.containerKey===s))==null?void 0:d.value,onValueChange:u=>{var m;const v=g.find(w=>w.type==="radio"&&w.value===u);v&&(t==null||t({containerType:e.containerType,containerKey:e.containerKey,label:v.label,value:v.value}),(m=v.onSelect)==null||m.call(v))},style:{display:"grid",gridTemplateColumns:`repeat(${o}, 1fr)`},children:g.map((u,v)=>{if(u.type!=="radio")return null;const m=r.some(b=>b.containerType==="radio"&&b.value===u.value&&b.containerKey===s);return a.jsxs(is,{value:u.value,disabled:u.disabled,className:`${m?"bg-grey-100 text-main-600":""}`,onSelect:b=>b.preventDefault(),children:[u.icLeft&&a.jsx("span",{children:u.icLeft}),a.jsx("div",{className:"flex items-center justify-start gap-1",children:u.label}),u.icRight&&a.jsx("span",{className:"ml-auto",children:u.icRight})]},v)})}):a.jsx("div",{style:{display:"grid",gridTemplateColumns:`repeat(${o}, 1fr)`,gap:"4px"},children:g.map((u,v)=>{const m=(u.type==="default"||u.type==="checkbox")&&r.some(b=>b.value===u.value&&b.containerKey===s&&b.containerType===i),w="bg-grey-100 text-main-600";switch(u.type){case"default":return a.jsxs(rs,{onSelect:()=>{var x;t==null||t({containerType:i,containerKey:s,label:u.label,value:u.value}),(x=u.onSelect)==null||x.call(u)},disabled:u.disabled,className:`${m?w:""} ${u.disabled?"cursor-default text-muted":""}`,children:[u.icLeft&&a.jsx("span",{children:u.icLeft}),a.jsx("div",{className:"flex items-center justify-start gap-1",children:u.label}),u.icRight&&a.jsx("span",{className:"ml-auto",children:u.icRight})]},v);case"checkbox":const b=m;return a.jsxs(os,{checked:b,onSelect:x=>x.preventDefault(),onCheckedChange:x=>{var C;x?(t==null||t({containerType:i,containerKey:s,label:u.label,value:u.value}),(C=u.onSelect)==null||C.call(u)):n==null||n({containerType:i,containerKey:s,label:u.label,value:u.value})},disabled:u.disabled,className:`${b?w:""}`,children:[u.icLeft&&a.jsx("span",{className:"",children:u.icLeft}),a.jsx("div",{className:"flex items-center justify-start gap-1",children:u.label}),u.icRight&&a.jsx("span",{className:"ml-auto",children:u.icRight})]},v);case"separator":return a.jsx("div",{className:"px-2",style:{gridColumn:`span ${o}`},children:a.jsx(er,{className:"bg-grey-200"},v)},v);case"title":return a.jsx(Jn,{inset:u.inset,children:u.label},v);case"action":return a.jsx("div",{className:"flex justify-center p-1",children:a.jsx(wr,{icLeft:u.icLeft,icRight:u.icRight,disabled:u.disabled,onClick:u.onClick,variant:"outline",size:"sm",className:"w-full",theme:"secondary",children:u.label})},v);case"sub":return a.jsxs(pp,{children:[a.jsxs(es,{inset:u.inset,className:`${h(u.items)?w:""}`,children:[u.icLeft&&a.jsx("span",{children:u.icLeft}),a.jsx("span",{className:"w-full px-1",children:u.label}),u.icRight&&a.jsx("span",{className:"ml-auto",children:u.icRight})]}),a.jsx(ts,{children:u.items.map((x,C)=>a.jsx(ss,{container:x,handleSelect:t,handleDeselect:n,selectedItems:r},C))})]},v);default:return null}})}),f&&a.jsx(er,{className:"h-1"})]})},cs=l.forwardRef(({className:e,type:t="text",icon:n,error:r,iconPosition:o="right",...i},s)=>a.jsxs("div",{className:D.cn("relative flex w-full items-center text-sm"),children:[n&&o==="left"&&a.jsx("span",{className:"absolute left-4",children:n}),a.jsx("input",{type:t,className:D.cn("h-11 w-full rounded-lg border border-border bg-background px-4 py-3 outline-none transition-all focus:border-foreground disabled:cursor-not-allowed disabled:opacity-50",n&&o==="left"&&"pl-10",n&&o==="right"&&"pr-10",r&&"border-destructive focus:border-destructive",e),ref:s,...i}),n&&o==="right"&&a.jsx("span",{className:"absolute right-4",children:n})]}));cs.displayName="Input";var $r="Dialog",[ls,us]=Ke($r),[vp,ye]=ls($r),ds=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!0}=e,c=l.useRef(null),p=l.useRef(null),[f=!1,g]=pe({prop:r,defaultProp:o,onChange:i});return a.jsx(vp,{scope:t,triggerRef:c,contentRef:p,contentId:we(),titleId:we(),descriptionId:we(),open:f,onOpenChange:g,onOpenToggle:l.useCallback(()=>g(h=>!h),[g]),modal:s,children:n})};ds.displayName=$r;var fs="DialogTrigger",ps=l.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=ye(fs,n),i=R.useComposedRefs(t,o.triggerRef);return a.jsx(R.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Wr(o.open),...r,ref:i,onClick:j(e.onClick,o.onOpenToggle)})});ps.displayName=fs;var Br="DialogPortal",[hp,ms]=ls(Br,{forceMount:void 0}),vs=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=ye(Br,t);return a.jsx(hp,{scope:t,forceMount:n,children:l.Children.map(r,s=>a.jsx(Ce,{present:n||i.open,children:a.jsx(wn,{asChild:!0,container:o,children:s})}))})};vs.displayName=Br;var nn="DialogOverlay",hs=l.forwardRef((e,t)=>{const n=ms(nn,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=ye(nn,e.__scopeDialog);return i.modal?a.jsx(Ce,{present:r||i.open,children:a.jsx(gp,{...o,ref:t})}):null});hs.displayName=nn;var gp=l.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=ye(nn,n);return a.jsx(jr,{as:R.Slot,allowPinchZoom:!0,shards:[o.contentRef],children:a.jsx(R.Primitive.div,{"data-state":Wr(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),et="DialogContent",gs=l.forwardRef((e,t)=>{const n=ms(et,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=ye(et,e.__scopeDialog);return a.jsx(Ce,{present:r||i.open,children:i.modal?a.jsx(wp,{...o,ref:t}):a.jsx(xp,{...o,ref:t})})});gs.displayName=et;var wp=l.forwardRef((e,t)=>{const n=ye(et,e.__scopeDialog),r=l.useRef(null),o=R.useComposedRefs(t,n.contentRef,r);return l.useEffect(()=>{const i=r.current;if(i)return Xi(i)},[]),a.jsx(ws,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:j(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:j(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,c=s.button===0&&s.ctrlKey===!0;(s.button===2||c)&&i.preventDefault()}),onFocusOutside:j(e.onFocusOutside,i=>i.preventDefault())})}),xp=l.forwardRef((e,t)=>{const n=ye(et,e.__scopeDialog),r=l.useRef(!1),o=l.useRef(!1);return a.jsx(ws,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var s,c;(s=e.onCloseAutoFocus)==null||s.call(e,i),i.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var p,f;(p=e.onInteractOutside)==null||p.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((f=n.triggerRef.current)==null?void 0:f.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),ws=l.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...s}=e,c=ye(et,n),p=l.useRef(null),f=R.useComposedRefs(t,p);return xi(),a.jsxs(a.Fragment,{children:[a.jsx(xr,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:a.jsx(Pt,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Wr(c.open),...s,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),a.jsxs(a.Fragment,{children:[a.jsx(Cp,{titleId:c.titleId}),a.jsx(Ep,{contentRef:p,descriptionId:c.descriptionId})]})]})}),Hr="DialogTitle",xs=l.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=ye(Hr,n);return a.jsx(R.Primitive.h2,{id:o.titleId,...r,ref:t})});xs.displayName=Hr;var bs="DialogDescription",Cs=l.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=ye(bs,n);return a.jsx(R.Primitive.p,{id:o.descriptionId,...r,ref:t})});Cs.displayName=bs;var ys="DialogClose",Es=l.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=ye(ys,n);return a.jsx(R.Primitive.button,{type:"button",...r,ref:t,onClick:j(e.onClick,()=>o.onOpenChange(!1))})});Es.displayName=ys;function Wr(e){return e?"open":"closed"}var Rs="DialogTitleWarning",[bp,Ts]=qu(Rs,{contentName:et,titleName:Hr,docsSlug:"dialog"}),Cp=({titleId:e})=>{const t=Ts(Rs),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
42
|
+
|
|
43
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
44
|
+
|
|
45
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},yp="DialogDescriptionWarning",Ep=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Ts(yp).contentName}}.`;return l.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},As=ds,Rp=ps,Ps=vs,Ur=hs,Gr=gs,Zr=xs,Kr=Cs,En=Es,Ss="AlertDialog",[Tp,f3]=Ke(Ss,[us]),Fe=us(),Ms=e=>{const{__scopeAlertDialog:t,...n}=e,r=Fe(t);return a.jsx(As,{...r,...n,modal:!0})};Ms.displayName=Ss;var Ap="AlertDialogTrigger",Pp=l.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Fe(n);return a.jsx(Rp,{...o,...r,ref:t})});Pp.displayName=Ap;var Sp="AlertDialogPortal",js=e=>{const{__scopeAlertDialog:t,...n}=e,r=Fe(t);return a.jsx(Ps,{...r,...n})};js.displayName=Sp;var Mp="AlertDialogOverlay",Ns=l.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Fe(n);return a.jsx(Ur,{...o,...r,ref:t})});Ns.displayName=Mp;var ct="AlertDialogContent",[jp,Np]=Tp(ct),Os=l.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,i=Fe(n),s=l.useRef(null),c=R.useComposedRefs(t,s),p=l.useRef(null);return a.jsx(bp,{contentName:ct,titleName:_s,docsSlug:"alert-dialog",children:a.jsx(jp,{scope:n,cancelRef:p,children:a.jsxs(Gr,{role:"alertdialog",...i,...o,ref:c,onOpenAutoFocus:j(o.onOpenAutoFocus,f=>{var g;f.preventDefault(),(g=p.current)==null||g.focus({preventScroll:!0})}),onPointerDownOutside:f=>f.preventDefault(),onInteractOutside:f=>f.preventDefault(),children:[a.jsx(R.Slottable,{children:r}),a.jsx(_p,{contentRef:s})]})})})});Os.displayName=ct;var _s="AlertDialogTitle",Ds=l.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Fe(n);return a.jsx(Zr,{...o,...r,ref:t})});Ds.displayName=_s;var Is="AlertDialogDescription",Ls=l.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Fe(n);return a.jsx(Kr,{...o,...r,ref:t})});Ls.displayName=Is;var Op="AlertDialogAction",ks=l.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Fe(n);return a.jsx(En,{...o,...r,ref:t})});ks.displayName=Op;var Fs="AlertDialogCancel",Vs=l.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=Np(Fs,n),i=Fe(n),s=R.useComposedRefs(t,o);return a.jsx(En,{...i,...r,ref:s})});Vs.displayName=Fs;var _p=({contentRef:e})=>{const t=`\`${ct}\` requires a description for the component to be accessible for screen reader users.
|
|
46
|
+
|
|
47
|
+
You can add a description to the \`${ct}\` by passing a \`${Is}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
48
|
+
|
|
49
|
+
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${ct}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
50
|
+
|
|
51
|
+
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return l.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},Dp=Ms,Ip=js,$s=Ns,Bs=Os,Hs=ks,Ws=Vs,Us=Ds,Gs=Ls;const Zs=Dp,Lp=Ip,Ks=l.forwardRef(({className:e,...t},n)=>a.jsx($s,{className:D.cn("fixed inset-0 z-50 bg-black/60 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));Ks.displayName=$s.displayName;const kp={sm:"max-w-[344px]",md:"max-w-[500px]",lg:"max-w-[640px]",fit:"max-w-fit"},zr=l.forwardRef(({className:e,size:t="sm",...n},r)=>a.jsxs(Lp,{children:[a.jsx(Ks,{}),a.jsx(Bs,{ref:r,className:D.cn("fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-2 rounded-lg border bg-background p-4 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",kp[t],e),...n})]}));zr.displayName=Bs.displayName;const Yr=({className:e,...t})=>a.jsx("div",{className:D.cn("flex flex-col space-y-2 text-center sm:text-left",e),...t});Yr.displayName="AlertDialogHeader";const qr=({className:e,...t})=>a.jsx("div",{className:D.cn("flex flex-col-reverse sm:flex-row sm:justify-between sm:space-x-2",e),...t});qr.displayName="AlertDialogFooter";const Xr=l.forwardRef(({className:e,...t},n)=>a.jsx(Us,{ref:n,className:D.cn("whitespace-pre-wrap text-semibold16",e),...t}));Xr.displayName=Us.displayName;const rn=l.forwardRef(({className:e,...t},n)=>a.jsx(Gs,{ref:n,className:D.cn("whitespace-pre-wrap text-xs font-normal text-grey-600",e),...t}));rn.displayName=Gs.displayName;const Qr=l.forwardRef(({className:e,...t},n)=>a.jsx(Hs,{ref:n,className:D.cn(ft({size:"sm"}),e),...t}));Qr.displayName=Hs.displayName;const zs=l.forwardRef(({className:e,...t},n)=>a.jsx(Ws,{ref:n,className:D.cn(ft({variant:"outline",size:"sm",theme:"secondary"}),"mt-2 w-1/2 sm:mt-0",e),...t}));zs.displayName=Ws.displayName;const Ys=({title:e="알림",description:t,confirmText:n="확인",onConfirm:r,size:o="sm",onClose:i})=>a.jsx(Zs,{open:!0,onOpenChange:s=>{!s&&i&&i()},children:a.jsxs(zr,{size:o,className:"gap-4",children:[a.jsxs(Yr,{children:[a.jsx(Xr,{children:e}),a.jsx(rn,{className:"text-sm",children:t})]}),a.jsx(qr,{children:a.jsx(Qr,{className:D.cn("w-full font-normal"),onClick:()=>{i&&i(),r&&r()},children:n})})]})});Ys.displayName="Alert";const Fp=As,Vp=Ps,$p=En,qs=l.forwardRef(({className:e,...t},n)=>a.jsx(Ur,{ref:n,className:D.cn("fixed inset-0 z-50 bg-black/50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));qs.displayName=Ur.displayName;const Xs=l.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(Vp,{children:[a.jsx(qs,{}),a.jsxs(Gr,{ref:r,className:D.cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-xl translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",e),...n,children:[t,a.jsxs(En,{className:"absolute right-4 top-5 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground md:right-[30px] md:top-[25px]",children:[a.jsx(We.Cancel,{size:"16"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Xs.displayName=Gr.displayName;const Qs=({className:e,...t})=>a.jsx("div",{className:D.cn("flex flex-col text-left md:text-center",e),...t});Qs.displayName="DialogHeader";const Js=({className:e,...t})=>a.jsx("div",{className:D.cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Js.displayName="DialogFooter";const ec=l.forwardRef(({className:e,...t},n)=>a.jsx(Zr,{ref:n,className:D.cn("text-lg font-semibold leading-none tracking-tight",e),...t}));ec.displayName=Zr.displayName;const tc=l.forwardRef(({className:e,...t},n)=>a.jsx(Kr,{ref:n,className:D.cn("text-sm text-muted",e),...t}));tc.displayName=Kr.displayName;const nc=O.forwardRef(({id:e,title:t,description:n,onClose:r,size:o="sm",content:i,className:s,open:c,onOpenChange:p,footer:f,...g},h)=>a.jsx(Fp,{open:!0,onOpenChange:d=>{!d&&r&&r()},children:a.jsxs(Xs,{ref:h,className:D.cn("max-w-[328px] px-0 py-0 md:max-w-[600px] flex flex-col gap-0",{"max-w-sm":o==="sm","max-w-md":o==="md","max-w-lg":o==="lg","max-w-fit":o==="fit"},s),...g,children:[a.jsx(Qs,{className:"border-b border-b-border",children:a.jsx(ec,{className:"flex h-[57px] w-full items-center justify-start px-5 md:h-[65px] md:justify-center md:px-[30px]",children:t})}),a.jsxs("div",{className:"p-5 md:p-8 flex flex-col gap-5 md:gap-8",children:[n&&a.jsx(tc,{children:n}),i&&a.jsx("div",{children:i}),f&&a.jsx(Js,{children:f})]}),a.jsx($p,{className:"absolute right-4 top-5 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",children:a.jsx("span",{className:"sr-only",children:"닫기"})})]})}));nc.displayName="Dialog";const rc=l.forwardRef(({title:e,description:t,subDescription:n,contents:r,onConfirm:o,confirmText:i="확인",cancelText:s="취소",size:c="sm",className:p,onClose:f,...g},h)=>a.jsx(Zs,{open:!0,onOpenChange:d=>{!d&&f&&f()},children:a.jsxs(zr,{size:c,className:p,...g,ref:h,children:[a.jsxs(Yr,{children:[a.jsx(Xr,{children:e}),t&&a.jsx(rn,{className:"text-sm text-grey-800",children:t}),n&&a.jsx(rn,{className:"text-xs text-grey-600",children:n})]}),r&&a.jsx("div",{className:"text-sm font-normal text-grey-600 whitespace-pre-wrap",children:r}),a.jsxs(qr,{className:"mt-2",children:[a.jsx(zs,{className:D.cn("w-full font-normal"),children:s}),a.jsx(Qr,{className:D.cn("w-full font-normal"),onClick:()=>{o&&o()},children:i})]})]})}));rc.displayName="Modal";var Bp="VisuallyHidden",Rn=l.forwardRef((e,t)=>a.jsx(R.Primitive.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Rn.displayName=Bp;var Hp=Rn,Jr="ToastProvider",[eo,Wp,Up]=ln("Toast"),[oc,p3]=Ke("Toast",[Up]),[Gp,Tn]=oc(Jr),ic=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[c,p]=l.useState(null),[f,g]=l.useState(0),h=l.useRef(!1),d=l.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Jr}\`. Expected non-empty \`string\`.`),a.jsx(eo.Provider,{scope:t,children:a.jsx(Gp,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:f,viewport:c,onViewportChange:p,onToastAdd:l.useCallback(()=>g(u=>u+1),[]),onToastRemove:l.useCallback(()=>g(u=>u-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:d,children:s})})};ic.displayName=Jr;var ac="ToastViewport",Zp=["F8"],tr="toast.viewportPause",nr="toast.viewportResume",sc=l.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=Zp,label:o="Notifications ({hotkey})",...i}=e,s=Tn(ac,n),c=Wp(n),p=l.useRef(null),f=l.useRef(null),g=l.useRef(null),h=l.useRef(null),d=R.useComposedRefs(t,h,s.onViewportChange),u=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=s.toastCount>0;l.useEffect(()=>{const w=b=>{var C;r.length!==0&&r.every(y=>b[y]||b.code===y)&&((C=h.current)==null||C.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),l.useEffect(()=>{const w=p.current,b=h.current;if(v&&w&&b){const x=()=>{if(!s.isClosePausedRef.current){const T=new CustomEvent(tr);b.dispatchEvent(T),s.isClosePausedRef.current=!0}},C=()=>{if(s.isClosePausedRef.current){const T=new CustomEvent(nr);b.dispatchEvent(T),s.isClosePausedRef.current=!1}},y=T=>{!w.contains(T.relatedTarget)&&C()},E=()=>{w.contains(document.activeElement)||C()};return w.addEventListener("focusin",x),w.addEventListener("focusout",y),w.addEventListener("pointermove",x),w.addEventListener("pointerleave",E),window.addEventListener("blur",x),window.addEventListener("focus",C),()=>{w.removeEventListener("focusin",x),w.removeEventListener("focusout",y),w.removeEventListener("pointermove",x),w.removeEventListener("pointerleave",E),window.removeEventListener("blur",x),window.removeEventListener("focus",C)}}},[v,s.isClosePausedRef]);const m=l.useCallback(({tabbingDirection:w})=>{const x=c().map(C=>{const y=C.ref.current,E=[y,...i2(y)];return w==="forwards"?E:E.reverse()});return(w==="forwards"?x.reverse():x).flat()},[c]);return l.useEffect(()=>{const w=h.current;if(w){const b=x=>{var E,T,A;const C=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!C){const N=document.activeElement,k=x.shiftKey;if(x.target===w&&k){(E=f.current)==null||E.focus();return}const W=m({tabbingDirection:k?"backwards":"forwards"}),B=W.findIndex(P=>P===N);Un(W.slice(B+1))?x.preventDefault():k?(T=f.current)==null||T.focus():(A=g.current)==null||A.focus()}};return w.addEventListener("keydown",b),()=>w.removeEventListener("keydown",b)}},[c,m]),a.jsxs(Ld,{ref:p,role:"region","aria-label":o.replace("{hotkey}",u),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&a.jsx(rr,{ref:f,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"forwards"});Un(w)}}),a.jsx(eo.Slot,{scope:n,children:a.jsx(R.Primitive.ol,{tabIndex:-1,...i,ref:d})}),v&&a.jsx(rr,{ref:g,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"backwards"});Un(w)}})]})});sc.displayName=ac;var cc="ToastFocusProxy",rr=l.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Tn(cc,n);return a.jsx(Rn,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var f;const c=s.relatedTarget;!((f=i.viewport)!=null&&f.contains(c))&&r()}})});rr.displayName=cc;var An="Toast",Kp="toast.swipeStart",zp="toast.swipeMove",Yp="toast.swipeCancel",qp="toast.swipeEnd",lc=l.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[c=!0,p]=pe({prop:r,defaultProp:o,onChange:i});return a.jsx(Ce,{present:n||c,children:a.jsx(Jp,{open:c,...s,ref:t,onClose:()=>p(!1),onPause:re(e.onPause),onResume:re(e.onResume),onSwipeStart:j(e.onSwipeStart,f=>{f.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:j(e.onSwipeMove,f=>{const{x:g,y:h}=f.detail.delta;f.currentTarget.setAttribute("data-swipe","move"),f.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${g}px`),f.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:j(e.onSwipeCancel,f=>{f.currentTarget.setAttribute("data-swipe","cancel"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),f.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:j(e.onSwipeEnd,f=>{const{x:g,y:h}=f.detail.delta;f.currentTarget.setAttribute("data-swipe","end"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),f.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),f.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${g}px`),f.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),p(!1)})})})});lc.displayName=An;var[Xp,Qp]=oc(An,{onClose(){}}),Jp=l.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:c,onPause:p,onResume:f,onSwipeStart:g,onSwipeMove:h,onSwipeCancel:d,onSwipeEnd:u,...v}=e,m=Tn(An,n),[w,b]=l.useState(null),x=R.useComposedRefs(t,P=>b(P)),C=l.useRef(null),y=l.useRef(null),E=o||m.duration,T=l.useRef(0),A=l.useRef(E),N=l.useRef(0),{onToastAdd:k,onToastRemove:V}=m,U=re(()=>{var G;(w==null?void 0:w.contains(document.activeElement))&&((G=m.viewport)==null||G.focus()),s()}),W=l.useCallback(P=>{!P||P===1/0||(window.clearTimeout(N.current),T.current=new Date().getTime(),N.current=window.setTimeout(U,P))},[U]);l.useEffect(()=>{const P=m.viewport;if(P){const G=()=>{W(A.current),f==null||f()},F=()=>{const Z=new Date().getTime()-T.current;A.current=A.current-Z,window.clearTimeout(N.current),p==null||p()};return P.addEventListener(tr,F),P.addEventListener(nr,G),()=>{P.removeEventListener(tr,F),P.removeEventListener(nr,G)}}},[m.viewport,E,p,f,W]),l.useEffect(()=>{i&&!m.isClosePausedRef.current&&W(E)},[i,E,m.isClosePausedRef,W]),l.useEffect(()=>(k(),()=>V()),[k,V]);const B=l.useMemo(()=>w?hc(w):null,[w]);return m.viewport?a.jsxs(a.Fragment,{children:[B&&a.jsx(e2,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:B}),a.jsx(Xp,{scope:n,onClose:U,children:Go.createPortal(a.jsx(eo.ItemSlot,{scope:n,children:a.jsx(Id,{asChild:!0,onEscapeKeyDown:j(c,()=>{m.isFocusedToastEscapeKeyDownRef.current||U(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:a.jsx(R.Primitive.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":m.swipeDirection,...v,ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:j(e.onKeyDown,P=>{P.key==="Escape"&&(c==null||c(P.nativeEvent),P.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,U()))}),onPointerDown:j(e.onPointerDown,P=>{P.button===0&&(C.current={x:P.clientX,y:P.clientY})}),onPointerMove:j(e.onPointerMove,P=>{if(!C.current)return;const G=P.clientX-C.current.x,F=P.clientY-C.current.y,Z=!!y.current,_=["left","right"].includes(m.swipeDirection),S=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,Y=_?S(0,G):0,Q=_?0:S(0,F),J=P.pointerType==="touch"?10:2,ee={x:Y,y:Q},ve={originalEvent:P,delta:ee};Z?(y.current=ee,Ht(zp,h,ve,{discrete:!1})):Fo(ee,m.swipeDirection,J)?(y.current=ee,Ht(Kp,g,ve,{discrete:!1}),P.target.setPointerCapture(P.pointerId)):(Math.abs(G)>J||Math.abs(F)>J)&&(C.current=null)}),onPointerUp:j(e.onPointerUp,P=>{const G=y.current,F=P.target;if(F.hasPointerCapture(P.pointerId)&&F.releasePointerCapture(P.pointerId),y.current=null,C.current=null,G){const Z=P.currentTarget,_={originalEvent:P,delta:G};Fo(G,m.swipeDirection,m.swipeThreshold)?Ht(qp,u,_,{discrete:!0}):Ht(Yp,d,_,{discrete:!0}),Z.addEventListener("click",S=>S.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),e2=e=>{const{__scopeToast:t,children:n,...r}=e,o=Tn(An,t),[i,s]=l.useState(!1),[c,p]=l.useState(!1);return r2(()=>s(!0)),l.useEffect(()=>{const f=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(f)},[]),c?null:a.jsx(wn,{asChild:!0,children:a.jsx(Rn,{...r,children:i&&a.jsxs(a.Fragment,{children:[o.label," ",n]})})})},t2="ToastTitle",uc=l.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(R.Primitive.div,{...r,ref:t})});uc.displayName=t2;var n2="ToastDescription",dc=l.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(R.Primitive.div,{...r,ref:t})});dc.displayName=n2;var fc="ToastAction",pc=l.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?a.jsx(vc,{altText:n,asChild:!0,children:a.jsx(to,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${fc}\`. Expected non-empty \`string\`.`),null)});pc.displayName=fc;var mc="ToastClose",to=l.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Qp(mc,n);return a.jsx(vc,{asChild:!0,children:a.jsx(R.Primitive.button,{type:"button",...r,ref:t,onClick:j(e.onClick,o.onClose)})})});to.displayName=mc;var vc=l.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return a.jsx(R.Primitive.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function hc(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),o2(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...hc(r))}}),t}function Ht(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?R.dispatchDiscreteCustomEvent(o,i):o.dispatchEvent(i)}var Fo=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function r2(e=()=>{}){const t=re(e);De(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function o2(e){return e.nodeType===e.ELEMENT_NODE}function i2(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Un(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var a2=ic,gc=sc,wc=lc,xc=uc,bc=dc,Cc=pc,yc=to;const s2=a2,c2={"top-left":"top-0 left-0 bottom-auto mt-10 items-start","top-center":"top-0 left-1/2 bottom-auto transform -translate-x-1/2 mt-10 items-center","top-right":"top-0 right-0 bottom-auto items-end mt-10","bottom-left":"top-auto bottom-4 left-0 items-start","bottom-center":"top-auto bottom-4 left-1/2 transform -translate-x-1/2 items-center","bottom-right":"top-auto bottom-4 right-0 items-end"},Ec=l.forwardRef(({className:e,id:t,position:n="top-center",...r},o)=>a.jsx(gc,{ref:o,id:t,className:D.cn("fixed z-[100] flex flex-col-reverse gap-2 p-4 md:p-10 outline-none ring-transparent",c2[n],e),...r}));Ec.displayName=gc.displayName;const l2=pn("group pointer-events-auto relative flex w-full whitespace-pre-wrap bg-opacity-90 items-end justify-between space-x-4 overflow-hidden rounded-lg border p-4 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-top-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-top-full",{variants:{variant:{black:"group border bg-grey-800 border-grey-800 text-grey-50",white:"group border bg-grey-50 border-grey-50 text-grey-800"},size:{sm:"max-w-xs",md:"max-w-md",lg:"max-w-lg",xl:"max-w-2xl",full:"max-w-full",fit:"max-w-fit"}},defaultVariants:{variant:"black",size:"fit"}}),Rc=l.forwardRef(({className:e,variant:t,size:n,...r},o)=>a.jsx(wc,{ref:o,className:D.cn(l2({variant:t,size:n}),e),...r,duration:2500}));Rc.displayName=wc.displayName;const Tc=l.forwardRef(({className:e,...t},n)=>a.jsx(Cc,{ref:n,className:D.cn(ft({variant:"outline",size:"sm",theme:"secondary"}),e),...t}));Tc.displayName=Cc.displayName;const Ac=l.forwardRef(({className:e,...t},n)=>a.jsx(yc,{ref:n,className:D.cn("absolute right-1.5 top-1.5 rounded-md p-1 text-grey-50/50 opacity-0 transition-opacity hover:text-grey-50 focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.white]:text-grey-300 group-[.white]:hover:text-grey-50 group-[.white]:focus:ring-grey-400",e),"toast-close":"",...t,children:a.jsx(We.Cancel,{size:"12"})}));Ac.displayName=yc.displayName;const Pc=l.forwardRef(({className:e,...t},n)=>a.jsx(xc,{ref:n,className:D.cn("text-sm font-semibold",e),...t}));Pc.displayName=xc.displayName;const Sc=l.forwardRef(({className:e,...t},n)=>a.jsx(bc,{ref:n,className:D.cn("text-sm font-normal",e),...t}));Sc.displayName=bc.displayName;function u2(){const{toasts:e}=D.toaster(),t=e.reduce((n,r)=>{const o=r.position||"top-center";return n[o]||(n[o]=[]),n[o].push(r),n},{});return a.jsxs(O.Fragment,{children:[Object.entries(t).map(([n,r])=>a.jsxs(s2,{children:[a.jsx(Ec,{position:n}),r.map(function({id:o,title:i,description:s,action:c,actionText:p="확인",closeButton:f=!1,variant:g="black",...h}){const d=g==="black"?"solid":"outline";return a.jsxs(Rc,{variant:g,...h,children:[a.jsxs("div",{className:"flex flex-col gap-1",children:[i&&a.jsx(Pc,{children:i}),a.jsx(Sc,{children:s})]}),c&&a.jsx(Tc,{altText:o||"toast action",onClick:c,className:D.cn(ft({variant:d,size:"sm",theme:"secondary"})),children:p}),f&&a.jsx(Ac,{})]},o)})]},n))," "]})}const d2=({children:e})=>{const[t,n]=O.useState(null);return O.useEffect(()=>{let r=document.getElementById("portal");r||(r=document.createElement("div"),r.id="portal",document.body.appendChild(r)),n(r)},[]),t?ur.createPortal(e,t):null};var f2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},M={},or={exports:{}};(function(e,t){(function(n,r){var o="1.0.39",i="",s="?",c="function",p="undefined",f="object",g="string",h="major",d="model",u="name",v="type",m="vendor",w="version",b="architecture",x="console",C="mobile",y="tablet",E="smarttv",T="wearable",A="embedded",N=500,k="Amazon",V="Apple",U="ASUS",W="BlackBerry",B="Browser",P="Chrome",G="Edge",F="Firefox",Z="Google",_="Huawei",S="LG",Y="Microsoft",Q="Motorola",J="Opera",ee="Samsung",ve="Sharp",Ne="Sony",he="Xiaomi",ce="Zebra",Ve="Facebook",ae="Chromium OS",$e="Mac OS",gt=" Browser",Dt=function(H,K){var $={};for(var q in H)K[q]&&K[q].length%2===0?$[q]=K[q].concat(H[q]):$[q]=H[q];return $},Ee=function(H){for(var K={},$=0;$<H.length;$++)K[H[$].toUpperCase()]=H[$];return K},wt=function(H,K){return typeof H===g?Be(K).indexOf(Be(H))!==-1:!1},Be=function(H){return H.toLowerCase()},On=function(H){return typeof H===g?H.replace(/[^\d\.]/g,i).split(".")[0]:r},xt=function(H,K){if(typeof H===g)return H=H.replace(/^\s\s*/,i),typeof K===p?H:H.substring(0,N)},Xe=function(H,K){for(var $=0,q,_e,Re,z,L,Te;$<K.length&&!L;){var _n=K[$],uo=K[$+1];for(q=_e=0;q<_n.length&&!L&&_n[q];)if(L=_n[q++].exec(H),L)for(Re=0;Re<uo.length;Re++)Te=L[++_e],z=uo[Re],typeof z===f&&z.length>0?z.length===2?typeof z[1]==c?this[z[0]]=z[1].call(this,Te):this[z[0]]=z[1]:z.length===3?typeof z[1]===c&&!(z[1].exec&&z[1].test)?this[z[0]]=Te?z[1].call(this,Te,z[2]):r:this[z[0]]=Te?Te.replace(z[1],z[2]):r:z.length===4&&(this[z[0]]=Te?z[3].call(this,Te.replace(z[1],z[2])):r):this[z]=Te||r;$+=2}},Oe=function(H,K){for(var $ in K)if(typeof K[$]===f&&K[$].length>0){for(var q=0;q<K[$].length;q++)if(wt(K[$][q],H))return $===s?r:$}else if(wt(K[$],H))return $===s?r:$;return K.hasOwnProperty("*")?K["*"]:H},Kl={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},co={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},lo={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[u,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,w],[/opios[\/ ]+([\w\.]+)/i],[w,[u,J+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[u,J+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[u,J]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[w,[u,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[u,w],[/quark(?:pc)?\/([-\w\.]+)/i],[w,[u,"Quark"]],[/\bddg\/([\w\.]+)/i],[w,[u,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[u,"UC"+B]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[w,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[u,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[u,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[w,[u,"Smart Lenovo "+B]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure "+B],w],[/\bfocus\/([\w\.]+)/i],[w,[u,F+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[u,J+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[u,J+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[u,"MIUI "+B]],[/fxios\/([-\w\.]+)/i],[w,[u,F]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360"+gt]],[/\b(qq)\/([\w\.]+)/i],[[u,/(.+)/,"$1Browser"],w],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1"+gt],w],[/samsungbrowser\/([\w\.]+)/i],[w,[u,ee+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],w],[/metasr[\/ ]?([\d\.]+)/i],[w,[u,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[u,"Sogou Mobile"],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[u,w],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,Ve],w],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[u,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[u,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[u,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[u,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,P+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[u,"Android "+B]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[u,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[w,Oe,Kl]],[/(webkit|khtml)\/([\w\.]+)/i],[u,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],w],[/(wolvic)\/([\w\.]+)/i],[u,w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[u,F+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,[w,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[u,[w,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,Be]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[b,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[b,"armhf"]],[/windows (ce|mobile); ppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[b,/ower/,i,Be]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[b,Be]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[m,ee],[v,y]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[d,[m,ee],[v,C]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[m,V],[v,C]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[m,V],[v,y]],[/(macintosh);/i],[d,[m,V]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[m,ve],[v,C]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[m,_],[v,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[m,_],[v,C]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[d,/_/g," "],[m,he],[v,C]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[m,he],[v,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[m,"OPPO"],[v,C]],[/\b(opd2\d{3}a?) bui/i],[d,[m,"OPPO"],[v,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[m,"Vivo"],[v,C]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[m,"Realme"],[v,C]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[m,Q],[v,C]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[m,Q],[v,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[m,S],[v,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[m,S],[v,C]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[m,"Lenovo"],[v,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[m,"Nokia"],[v,C]],[/(pixel c)\b/i],[d,[m,Z],[v,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[m,Z],[v,C]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[m,Ne],[v,C]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[m,Ne],[v,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[m,"OnePlus"],[v,C]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[m,k],[v,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[m,k],[v,C]],[/(playbook);[-\w\),; ]+(rim)/i],[d,m,[v,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[m,W],[v,C]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[m,U],[v,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[m,U],[v,C]],[/(nexus 9)/i],[d,[m,"HTC"],[v,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[d,/_/g," "],[v,C]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[d,[m,"TCL"],[v,y]],[/(itel) ((\w+))/i],[[m,Be],d,[v,Oe,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[m,"Acer"],[v,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[m,"Meizu"],[v,C]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[m,"Ulefone"],[v,C]],[/droid.+; (a(?:015|06[35]|142p?))/i],[d,[m,"Nothing"],[v,C]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[m,d,[v,C]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[m,d,[v,y]],[/(surface duo)/i],[d,[m,Y],[v,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[m,"Fairphone"],[v,C]],[/(u304aa)/i],[d,[m,"AT&T"],[v,C]],[/\bsie-(\w*)/i],[d,[m,"Siemens"],[v,C]],[/\b(rct\w+) b/i],[d,[m,"RCA"],[v,y]],[/\b(venue[\d ]{2,7}) b/i],[d,[m,"Dell"],[v,y]],[/\b(q(?:mv|ta)\w+) b/i],[d,[m,"Verizon"],[v,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[m,"Barnes & Noble"],[v,y]],[/\b(tm\d{3}\w+) b/i],[d,[m,"NuVision"],[v,y]],[/\b(k88) b/i],[d,[m,"ZTE"],[v,y]],[/\b(nx\d{3}j) b/i],[d,[m,"ZTE"],[v,C]],[/\b(gen\d{3}) b.+49h/i],[d,[m,"Swiss"],[v,C]],[/\b(zur\d{3}) b/i],[d,[m,"Swiss"],[v,y]],[/\b((zeki)?tb.*\b) b/i],[d,[m,"Zeki"],[v,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],d,[v,y]],[/\b(ns-?\w{0,9}) b/i],[d,[m,"Insignia"],[v,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[m,"NextBook"],[v,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],d,[v,C]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],d,[v,C]],[/\b(ph-1) /i],[d,[m,"Essential"],[v,C]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[m,"Envizen"],[v,y]],[/\b(trio[-\w\. ]+) b/i],[d,[m,"MachSpeed"],[v,y]],[/\btu_(1491) b/i],[d,[m,"Rotor"],[v,y]],[/(shield[\w ]+) b/i],[d,[m,"Nvidia"],[v,y]],[/(sprint) (\w+)/i],[m,d,[v,C]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[m,Y],[v,C]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[m,ce],[v,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[m,ce],[v,C]],[/smart-tv.+(samsung)/i],[m,[v,E]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[m,ee],[v,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,S],[v,E]],[/(apple) ?tv/i],[m,[d,V+" TV"],[v,E]],[/crkey/i],[[d,P+"cast"],[m,Z],[v,E]],[/droid.+aft(\w+)( bui|\))/i],[d,[m,k],[v,E]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[m,ve],[v,E]],[/(bravia[\w ]+)( bui|\))/i],[d,[m,Ne],[v,E]],[/(mitv-\w{5}) bui/i],[d,[m,he],[v,E]],[/Hbbtv.*(technisat) (.*);/i],[m,d,[v,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,xt],[d,xt],[v,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[v,E]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,d,[v,x]],[/droid.+; (shield) bui/i],[d,[m,"Nvidia"],[v,x]],[/(playstation [345portablevi]+)/i],[d,[m,Ne],[v,x]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[m,Y],[v,x]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[d,[m,ee],[v,T]],[/((pebble))app/i],[m,d,[v,T]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[m,V],[v,T]],[/droid.+; (glass) \d/i],[d,[m,Z],[v,T]],[/droid.+; (wt63?0{2,3})\)/i],[d,[m,ce],[v,T]],[/(quest( \d| pro)?)/i],[d,[m,Ve],[v,T]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[v,A]],[/(aeobc)\b/i],[d,[m,k],[v,A]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[v,C]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[v,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[v,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[v,C]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[u,G+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[u,w],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,w],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[u,[w,Oe,co]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,Oe,co],[u,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,$e],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,w],[/\(bb(10);/i],[w,[u,W]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[u,F+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[u,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[u,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[u,P+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[u,ae],w],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,w],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[u,w]]},ge=function(H,K){if(typeof H===f&&(K=H,H=r),!(this instanceof ge))return new ge(H,K).getResult();var $=typeof n!==p&&n.navigator?n.navigator:r,q=H||($&&$.userAgent?$.userAgent:i),_e=$&&$.userAgentData?$.userAgentData:r,Re=K?Dt(lo,K):lo,z=$&&$.userAgent==q;return this.getBrowser=function(){var L={};return L[u]=r,L[w]=r,Xe.call(L,q,Re.browser),L[h]=On(L[w]),z&&$&&$.brave&&typeof $.brave.isBrave==c&&(L[u]="Brave"),L},this.getCPU=function(){var L={};return L[b]=r,Xe.call(L,q,Re.cpu),L},this.getDevice=function(){var L={};return L[m]=r,L[d]=r,L[v]=r,Xe.call(L,q,Re.device),z&&!L[v]&&_e&&_e.mobile&&(L[v]=C),z&&L[d]=="Macintosh"&&$&&typeof $.standalone!==p&&$.maxTouchPoints&&$.maxTouchPoints>2&&(L[d]="iPad",L[v]=y),L},this.getEngine=function(){var L={};return L[u]=r,L[w]=r,Xe.call(L,q,Re.engine),L},this.getOS=function(){var L={};return L[u]=r,L[w]=r,Xe.call(L,q,Re.os),z&&!L[u]&&_e&&_e.platform&&_e.platform!="Unknown"&&(L[u]=_e.platform.replace(/chrome os/i,ae).replace(/macos/i,$e)),L},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return q},this.setUA=function(L){return q=typeof L===g&&L.length>N?xt(L,N):L,this},this.setUA(q),this};ge.VERSION=o,ge.BROWSER=Ee([u,w,h]),ge.CPU=Ee([b]),ge.DEVICE=Ee([d,m,v,x,C,E,y,T,A]),ge.ENGINE=ge.OS=Ee([u,w]),e.exports&&(t=e.exports=ge),t.UAParser=ge;var nt=typeof n!==p&&(n.jQuery||n.Zepto);if(nt&&!nt.ua){var It=new ge;nt.ua=It.getResult(),nt.ua.get=function(){return It.getUA()},nt.ua.set=function(H){It.setUA(H);var K=It.getResult();for(var $ in K)nt.ua[$]=K[$]}}})(typeof window=="object"?window:f2)})(or,or.exports);var p2=or.exports;Object.defineProperty(M,"__esModule",{value:!0});function m2(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var ne=O,X=m2(ne),Mc=p2,Ye=new Mc,ie=Ye.getBrowser(),v2=Ye.getCPU(),de=Ye.getDevice(),no=Ye.getEngine(),qe=Ye.getOS(),Ot=Ye.getUA(),jc=function(t){return Ye.setUA(t)},_t=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new Mc(t);return{UA:n,browser:n.getBrowser(),cpu:n.getCPU(),device:n.getDevice(),engine:n.getEngine(),os:n.getOS(),ua:n.getUA(),setUserAgent:function(o){return n.setUA(o)}}},Nc=Object.freeze({ClientUAInstance:Ye,browser:ie,cpu:v2,device:de,engine:no,os:qe,ua:Ot,setUa:jc,parseUserAgent:_t});function Vo(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 h2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Vo(Object(n),!0).forEach(function(r){b2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ct(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ct=function(t){return typeof t}:Ct=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ct(e)}function g2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x2(e,t,n){return t&&w2(e.prototype,t),e}function b2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ir(){return ir=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ir.apply(this,arguments)}function C2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sr(e,t)}function ar(e){return ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ar(e)}function sr(e,t){return sr=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},sr(e,t)}function y2(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function me(e,t){if(e==null)return{};var n=y2(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E2(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Zt(e)}function R2(e,t){return T2(e)||A2(e,t)||P2(e,t)||S2()}function T2(e){if(Array.isArray(e))return e}function A2(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,s,c;try{for(n=n.call(e);!(o=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));o=!0);}catch(p){i=!0,c=p}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw c}}return r}}function P2(e,t){if(e){if(typeof e=="string")return $o(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 $o(e,t)}}function $o(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 S2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
52
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var te={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},se={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},vt={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},M2={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},j2=function(t){switch(t){case te.Mobile:return{isMobile:!0};case te.Tablet:return{isTablet:!0};case te.SmartTv:return{isSmartTV:!0};case te.Console:return{isConsole:!0};case te.Wearable:return{isWearable:!0};case te.Browser:return{isBrowser:!0};case te.Embedded:return{isEmbedded:!0};default:return M2}},N2=function(t){return jc(t)},I=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},ro=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},oo=function(t){var n=ro();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},O2=function(t,n,r,o,i){return{isBrowser:t,browserMajorVersion:I(n.major),browserFullVersion:I(n.version),browserName:I(n.name),engineName:I(r.name),engineVersion:I(r.version),osName:I(o.name),osVersion:I(o.version),userAgent:I(i)}},Bo=function(t,n,r,o){return h2({},t,{vendor:I(n.vendor),model:I(n.model),os:I(r.name),osVersion:I(r.version),ua:I(o)})},_2=function(t,n,r,o){return{isSmartTV:t,engineName:I(n.name),engineVersion:I(n.version),osName:I(r.name),osVersion:I(r.version),userAgent:I(o)}},D2=function(t,n,r,o){return{isConsole:t,engineName:I(n.name),engineVersion:I(n.version),osName:I(r.name),osVersion:I(r.version),userAgent:I(o)}},I2=function(t,n,r,o){return{isWearable:t,engineName:I(n.name),engineVersion:I(n.version),osName:I(r.name),osVersion:I(r.version),userAgent:I(o)}},L2=function(t,n,r,o,i){return{isEmbedded:t,vendor:I(n.vendor),model:I(n.model),engineName:I(r.name),engineVersion:I(r.version),osName:I(o.name),osVersion:I(o.version),userAgent:I(i)}};function k2(e){var t=e?_t(e):Nc,n=t.device,r=t.browser,o=t.engine,i=t.os,s=t.ua,c=j2(n.type),p=c.isBrowser,f=c.isMobile,g=c.isTablet,h=c.isSmartTV,d=c.isConsole,u=c.isWearable,v=c.isEmbedded;if(p)return O2(p,r,o,i,s);if(h)return _2(h,o,i,s);if(d)return D2(d,o,i,s);if(f||g)return Bo(c,n,i,s);if(u)return I2(u,o,i,s);if(v)return L2(v,n,o,i,s)}var Oc=function(t){var n=t.type;return n===te.Mobile},_c=function(t){var n=t.type;return n===te.Tablet},Dc=function(t){var n=t.type;return n===te.Mobile||n===te.Tablet},Ic=function(t){var n=t.type;return n===te.SmartTv},on=function(t){var n=t.type;return n===te.Browser},Lc=function(t){var n=t.type;return n===te.Wearable},kc=function(t){var n=t.type;return n===te.Console},Fc=function(t){var n=t.type;return n===te.Embedded},Vc=function(t){var n=t.vendor;return I(n)},$c=function(t){var n=t.model;return I(n)},Bc=function(t){var n=t.type;return I(n,"browser")},Hc=function(t){var n=t.name;return n===vt.Android},Wc=function(t){var n=t.name;return n===vt.Windows},Uc=function(t){var n=t.name;return n===vt.MAC_OS},Gc=function(t){var n=t.name;return n===vt.WindowsPhone},Zc=function(t){var n=t.name;return n===vt.IOS},Kc=function(t){var n=t.version;return I(n)},zc=function(t){var n=t.name;return I(n)},Yc=function(t){var n=t.name;return n===se.Chrome},qc=function(t){var n=t.name;return n===se.Firefox},Xc=function(t){var n=t.name;return n===se.Chromium},an=function(t){var n=t.name;return n===se.Edge},Qc=function(t){var n=t.name;return n===se.Yandex},Jc=function(t){var n=t.name;return n===se.Safari||n===se.MobileSafari},el=function(t){var n=t.name;return n===se.MobileSafari},tl=function(t){var n=t.name;return n===se.Opera},nl=function(t){var n=t.name;return n===se.InternetExplorer||n===se.Ie},rl=function(t){var n=t.name;return n===se.MIUI},ol=function(t){var n=t.name;return n===se.SamsungBrowser},il=function(t){var n=t.version;return I(n)},al=function(t){var n=t.major;return I(n)},sl=function(t){var n=t.name;return I(n)},cl=function(t){var n=t.name;return I(n)},ll=function(t){var n=t.version;return I(n)},ul=function(){var t=ro(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},lt=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},dl=function(){var t=ro();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},Pe=function(){return oo("iPad")},fl=function(){return oo("iPhone")},pl=function(){return oo("iPod")},ml=function(t){return I(t)};function vl(e){var t=e||Nc,n=t.device,r=t.browser,o=t.os,i=t.engine,s=t.ua;return{isSmartTV:Ic(n),isConsole:kc(n),isWearable:Lc(n),isEmbedded:Fc(n),isMobileSafari:el(r)||Pe(),isChromium:Xc(r),isMobile:Dc(n)||Pe(),isMobileOnly:Oc(n),isTablet:_c(n)||Pe(),isBrowser:on(n),isDesktop:on(n),isAndroid:Hc(o),isWinPhone:Gc(o),isIOS:Zc(o)||Pe(),isChrome:Yc(r),isFirefox:qc(r),isSafari:Jc(r),isOpera:tl(r),isIE:nl(r),osVersion:Kc(o),osName:zc(o),fullBrowserVersion:il(r),browserVersion:al(r),browserName:sl(r),mobileVendor:Vc(n),mobileModel:$c(n),engineName:cl(i),engineVersion:ll(i),getUA:ml(s),isEdge:an(r)||lt(s),isYandex:Qc(r),deviceType:Bc(n),isIOS13:dl(),isIPad13:Pe(),isIPhone13:fl(),isIPod13:pl(),isElectron:ul(),isEdgeChromium:lt(s),isLegacyEdge:an(r)&&!lt(s),isWindows:Wc(o),isMacOs:Uc(o),isMIUI:rl(r),isSamsungBrowser:ol(r)}}var hl=Ic(de),gl=kc(de),wl=Lc(de),F2=Fc(de),V2=el(ie)||Pe(),$2=Xc(ie),Pn=Dc(de)||Pe(),xl=Oc(de),bl=_c(de)||Pe(),Cl=on(de),B2=on(de),yl=Hc(qe),El=Gc(qe),Rl=Zc(qe)||Pe(),H2=Yc(ie),W2=qc(ie),U2=Jc(ie),G2=tl(ie),Tl=nl(ie),Z2=Kc(qe),K2=zc(qe),z2=il(ie),Y2=al(ie),q2=sl(ie),X2=Vc(de),Q2=$c(de),J2=cl(no),em=ll(no),tm=ml(Ot),nm=an(ie)||lt(Ot),rm=Qc(ie),om=Bc(de),im=dl(),am=Pe(),sm=fl(),cm=pl(),lm=ul(),um=lt(Ot),dm=an(ie)&&!lt(Ot),fm=Wc(qe),pm=Uc(qe),mm=rl(ie),vm=ol(ie),hm=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=_t(t),r=n.device,o=n.browser,i=n.os,s=n.engine,c=n.ua;return vl({device:r,browser:o,os:i,engine:s,ua:c})},gm=function(t){var n=t.renderWithFragment,r=t.children,o=me(t,["renderWithFragment","children"]);return yl?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},wm=function(t){var n=t.renderWithFragment,r=t.children,o=me(t,["renderWithFragment","children"]);return Cl?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},xm=function(t){var n=t.renderWithFragment,r=t.children,o=me(t,["renderWithFragment","children"]);return Tl?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},bm=function(t){var n=t.renderWithFragment,r=t.children,o=me(t,["renderWithFragment","children"]);return Rl?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},Cm=function(t){var n=t.renderWithFragment,r=t.children,o=me(t,["renderWithFragment","children"]);return Pn?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},ym=function(t){var n=t.renderWithFragment,r=t.children,o=me(t,["renderWithFragment","children"]);return bl?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},Em=function(t){var n=t.renderWithFragment,r=t.children,o=me(t,["renderWithFragment","children"]);return El?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},Rm=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=me(t,["renderWithFragment","children","viewClassName","style"]);return xl?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},Tm=function(t){var n=t.renderWithFragment,r=t.children,o=me(t,["renderWithFragment","children"]);return hl?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},Am=function(t){var n=t.renderWithFragment,r=t.children,o=me(t,["renderWithFragment","children"]);return gl?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},Pm=function(t){var n=t.renderWithFragment,r=t.children,o=me(t,["renderWithFragment","children"]);return wl?n?X.createElement(ne.Fragment,null,r):X.createElement("div",o,r):null},Sm=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=t.condition,i=me(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?n?X.createElement(ne.Fragment,null,r):X.createElement("div",i,r):null};function Mm(e){return function(t){C2(n,t);function n(r){var o;return g2(this,n),o=E2(this,ar(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(Zt(o)),o.onOrientationChange=o.onOrientationChange.bind(Zt(o)),o.onPageLoad=o.onPageLoad.bind(Zt(o)),o.state={isLandscape:!1,isPortrait:!1},o}return x2(n,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var o=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:o===0,isLandscape:o===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":Ct(window))!==void 0&&Pn&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return X.createElement(e,ir({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(X.Component)}function jm(){var e=ne.useState(function(){var i=window.innerWidth>window.innerHeight?90:0;return{isPortrait:i===0,isLandscape:i===90,orientation:i===0?"portrait":"landscape"}}),t=R2(e,2),n=t[0],r=t[1],o=ne.useCallback(function(){var i=window.innerWidth>window.innerHeight?90:0,s={isPortrait:i===0,isLandscape:i===90,orientation:i===0?"portrait":"landscape"};n.orientation!==s.orientation&&r(s)},[n.orientation]);return ne.useEffect(function(){return(typeof window>"u"?"undefined":Ct(window))!==void 0&&Pn&&(o(),window.addEventListener("load",o,!1),window.addEventListener("resize",o,!1)),function(){window.removeEventListener("resize",o,!1),window.removeEventListener("load",o,!1)}},[o]),n}function Al(e){var t=e||window.navigator.userAgent;return _t(t)}function Nm(e){var t=e||window.navigator.userAgent,n=Al(t),r=vl(n);return[r,n]}M.AndroidView=gm;M.BrowserTypes=se;M.BrowserView=wm;M.ConsoleView=Am;M.CustomView=Sm;M.IEView=xm;M.IOSView=bm;M.MobileOnlyView=Rm;M.MobileView=Cm;M.OsTypes=vt;M.SmartTVView=Tm;M.TabletView=ym;M.WearableView=Pm;M.WinPhoneView=Em;M.browserName=q2;M.browserVersion=Y2;M.deviceDetect=k2;M.deviceType=om;M.engineName=J2;M.engineVersion=em;M.fullBrowserVersion=z2;M.getSelectorsByUserAgent=hm;M.getUA=tm;M.isAndroid=yl;M.isBrowser=Cl;M.isChrome=H2;M.isChromium=$2;M.isConsole=gl;M.isDesktop=B2;M.isEdge=nm;M.isEdgeChromium=um;M.isElectron=lm;M.isEmbedded=F2;M.isFirefox=W2;M.isIE=Tl;M.isIOS=Rl;M.isIOS13=im;M.isIPad13=am;M.isIPhone13=sm;M.isIPod13=cm;M.isLegacyEdge=dm;M.isMIUI=mm;M.isMacOs=pm;var Om=M.isMobile=Pn;M.isMobileOnly=xl;M.isMobileSafari=V2;M.isOpera=G2;M.isSafari=U2;M.isSamsungBrowser=vm;M.isSmartTV=hl;M.isTablet=bl;M.isWearable=wl;M.isWinPhone=El;M.isWindows=fm;M.isYandex=rm;M.mobileModel=Q2;M.mobileVendor=X2;M.osName=K2;M.osVersion=Z2;M.parseUserAgent=_t;M.setUserAgent=N2;M.useDeviceData=Al;M.useDeviceSelectors=Nm;M.useMobileOrientation=jm;M.withOrientationChange=Mm;var[Sn,m3]=Ke("Tooltip",[gn]),Mn=gn(),Pl="TooltipProvider",_m=700,cr="tooltip.open",[Dm,io]=Sn(Pl),Sl=e=>{const{__scopeTooltip:t,delayDuration:n=_m,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[s,c]=l.useState(!0),p=l.useRef(!1),f=l.useRef(0);return l.useEffect(()=>{const g=f.current;return()=>window.clearTimeout(g)},[]),a.jsx(Dm,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:l.useCallback(()=>{window.clearTimeout(f.current),c(!1)},[]),onClose:l.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>c(!0),r)},[r]),isPointerInTransitRef:p,onPointerInTransitChange:l.useCallback(g=>{p.current=g},[]),disableHoverableContent:o,children:i})};Sl.displayName=Pl;var jn="Tooltip",[Im,Nn]=Sn(jn),Ml=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:s,delayDuration:c}=e,p=io(jn,e.__scopeTooltip),f=Mn(t),[g,h]=l.useState(null),d=we(),u=l.useRef(0),v=s??p.disableHoverableContent,m=c??p.delayDuration,w=l.useRef(!1),[b=!1,x]=pe({prop:r,defaultProp:o,onChange:A=>{A?(p.onOpen(),document.dispatchEvent(new CustomEvent(cr))):p.onClose(),i==null||i(A)}}),C=l.useMemo(()=>b?w.current?"delayed-open":"instant-open":"closed",[b]),y=l.useCallback(()=>{window.clearTimeout(u.current),u.current=0,w.current=!1,x(!0)},[x]),E=l.useCallback(()=>{window.clearTimeout(u.current),u.current=0,x(!1)},[x]),T=l.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>{w.current=!0,x(!0),u.current=0},m)},[m,x]);return l.useEffect(()=>()=>{u.current&&(window.clearTimeout(u.current),u.current=0)},[]),a.jsx(Mr,{...f,children:a.jsx(Im,{scope:t,contentId:d,open:b,stateAttribute:C,trigger:g,onTriggerChange:h,onTriggerEnter:l.useCallback(()=>{p.isOpenDelayed?T():y()},[p.isOpenDelayed,T,y]),onTriggerLeave:l.useCallback(()=>{v?E():(window.clearTimeout(u.current),u.current=0)},[E,v]),onOpen:y,onClose:E,disableHoverableContent:v,children:n})})};Ml.displayName=jn;var lr="TooltipTrigger",jl=l.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Nn(lr,n),i=io(lr,n),s=Mn(n),c=l.useRef(null),p=R.useComposedRefs(t,c,o.onTriggerChange),f=l.useRef(!1),g=l.useRef(!1),h=l.useCallback(()=>f.current=!1,[]);return l.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),a.jsx($i,{asChild:!0,...s,children:a.jsx(R.Primitive.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:p,onPointerMove:j(e.onPointerMove,d=>{d.pointerType!=="touch"&&!g.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),g.current=!0)}),onPointerLeave:j(e.onPointerLeave,()=>{o.onTriggerLeave(),g.current=!1}),onPointerDown:j(e.onPointerDown,()=>{f.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:j(e.onFocus,()=>{f.current||o.onOpen()}),onBlur:j(e.onBlur,o.onClose),onClick:j(e.onClick,o.onClose)})})});jl.displayName=lr;var Lm="TooltipPortal",[v3,km]=Sn(Lm,{forceMount:void 0}),dt="TooltipContent",Nl=l.forwardRef((e,t)=>{const n=km(dt,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Nn(dt,e.__scopeTooltip);return a.jsx(Ce,{present:r||s.open,children:s.disableHoverableContent?a.jsx(Ol,{side:o,...i,ref:t}):a.jsx(Fm,{side:o,...i,ref:t})})}),Fm=l.forwardRef((e,t)=>{const n=Nn(dt,e.__scopeTooltip),r=io(dt,e.__scopeTooltip),o=l.useRef(null),i=R.useComposedRefs(t,o),[s,c]=l.useState(null),{trigger:p,onClose:f}=n,g=o.current,{onPointerInTransitChange:h}=r,d=l.useCallback(()=>{c(null),h(!1)},[h]),u=l.useCallback((v,m)=>{const w=v.currentTarget,b={x:v.clientX,y:v.clientY},x=Hm(b,w.getBoundingClientRect()),C=Wm(b,x),y=Um(m.getBoundingClientRect()),E=Zm([...C,...y]);c(E),h(!0)},[h]);return l.useEffect(()=>()=>d(),[d]),l.useEffect(()=>{if(p&&g){const v=w=>u(w,g),m=w=>u(w,p);return p.addEventListener("pointerleave",v),g.addEventListener("pointerleave",m),()=>{p.removeEventListener("pointerleave",v),g.removeEventListener("pointerleave",m)}}},[p,g,u,d]),l.useEffect(()=>{if(s){const v=m=>{const w=m.target,b={x:m.clientX,y:m.clientY},x=(p==null?void 0:p.contains(w))||(g==null?void 0:g.contains(w)),C=!Gm(b,s);x?d():C&&(d(),f())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[p,g,s,f,d]),a.jsx(Ol,{...e,ref:i})}),[Vm,$m]=Sn(jn,{isInside:!1}),Ol=l.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...c}=e,p=Nn(dt,n),f=Mn(n),{onClose:g}=p;return l.useEffect(()=>(document.addEventListener(cr,g),()=>document.removeEventListener(cr,g)),[g]),l.useEffect(()=>{if(p.trigger){const h=d=>{const u=d.target;u!=null&&u.contains(p.trigger)&&g()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[p.trigger,g]),a.jsx(Pt,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:h=>h.preventDefault(),onDismiss:g,children:a.jsxs(Bi,{"data-state":p.stateAttribute,...f,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[a.jsx(R.Slottable,{children:r}),a.jsx(Vm,{scope:n,isInside:!0,children:a.jsx(Hp,{id:p.contentId,role:"tooltip",children:o||r})})]})})});Nl.displayName=dt;var _l="TooltipArrow",Bm=l.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Mn(n);return $m(_l,n).isInside?null:a.jsx(Hi,{...o,...r,ref:t})});Bm.displayName=_l;function Hm(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Wm(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Um(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function Gm(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const c=t[i].x,p=t[i].y,f=t[s].x,g=t[s].y;p>r!=g>r&&n<(f-c)*(r-p)/(g-p)+c&&(o=!o)}return o}function Zm(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Km(t)}function Km(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var zm=Sl,Ym=Ml,qm=jl,Dl=Nl;const Ho={primary:"bg-main-600 text-white",secondary:"bg-grey-800 text-white",white:"bg-grey-50 text-grey-800"},Xm={sm:"p-2 text-[13px] rounded",md:"p-2 text-sm font-normal rounded"},Qm=zm,Jm=Ym,e3=qm,t3=(e,t)=>{const n=t==="primary"?Qe.colors.main[600]:t==="secondary"?Qe.colors.grey[800]:Qe.colors.grey[50],r=t==="white"?Qe.colors.grey[200]:n;return{...{width:"12px",height:"12px",backgroundColor:n,border:"1px solid",borderColor:r,opacity:t==="white"?1:.9,transform:"rotate(45deg)",borderRadius:"2px",position:"absolute",zIndex:10},...{"top-left":{left:"1.5rem",top:"100%",transform:"translateX(-50%) translateY(-60%) rotate(45deg)"},"top-center":{left:"50%",top:"100%",transform:"translateX(-50%) translateY(-60%) rotate(45deg)"},"top-right":{right:"1.5rem",top:"100%",transform:"translateX(50%) translateY(-60%) rotate(45deg)"},"bottom-left":{left:"1.5rem",bottom:"100%",transform:"translateX(-50%) translateY(60%) rotate(45deg)"},"bottom-center":{left:"50%",bottom:"100%",transform:"translateX(-50%) translateY(60%) rotate(45deg)"},"bottom-right":{right:"1.5rem",bottom:"100%",transform:"translateX(50%) translateY(60%) rotate(45deg)"},right:{right:"100%",top:"50%",transform:"translateX(60%) translateY(-50%) rotate(45deg)"},left:{left:"100%",top:"50%",transform:"translateX(-60%) translateY(-50%) rotate(45deg)"}}[e]}},Il=l.forwardRef(({className:e,variant:t="primary",size:n="pc",position:r="top-center",sideOffset:o=8,icLeft:i,icRight:s,children:c,bubbleTip:p=!0,...f},g)=>{const h=t3(r,t),d=r.startsWith("top"),u=r==="right"||r==="left"?r:d?"top":"bottom",v=r==="right"||r==="left"?"center":r.includes("left")?"start":r.includes("right")?"end":"center";return a.jsx(Dl,{ref:g,avoidCollisions:!1,sideOffset:p?o:4,side:u,align:v,style:{zIndex:50},...f,children:a.jsxs("div",{className:D.cn("relative z-50 overflow-hidden rounded",p&&"m-1",t==="white"&&"border border-border",Ho[t],e),children:[p&&a.jsx("div",{style:h}),a.jsx("div",{className:"absolute inset-0 z-10 bg-white"}),a.jsxs("div",{className:D.cn("relative z-20 flex max-w-sm items-center font-normal",t!=="white"&&"bg-opacity-90",Ho[t],Xm[n]),children:[i&&a.jsx("span",{className:"mr-1",children:i}),a.jsx("span",{className:"whitespace-pre-wrap break-keep",children:c}),s&&a.jsx("span",{className:"ml-1",children:s})]})]})})});Il.displayName=Dl.displayName;function n3(e,t=[]){let n=[];function r(i,s){const c=l.createContext(s),p=n.length;n=[...n,s];function f(h){const{scope:d,children:u,...v}=h,m=(d==null?void 0:d[e][p])||c,w=l.useMemo(()=>v,Object.values(v));return a.jsx(m.Provider,{value:w,children:u})}function g(h,d){const u=(d==null?void 0:d[e][p])||c,v=l.useContext(u);if(v)return v;if(s!==void 0)return s;throw new Error(`\`${h}\` must be used within \`${i}\``)}return f.displayName=i+"Provider",[f,g]}const o=()=>{const i=n.map(s=>l.createContext(s));return function(c){const p=(c==null?void 0:c[e])||i;return l.useMemo(()=>({[`__scope${e}`]:{...c,[e]:p}}),[c,p])}};return o.scopeName=e,[r,r3(o,...t)]}function r3(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((c,{useScope:p,scopeName:f})=>{const h=p(i)[`__scope${f}`];return{...c,...h}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var o3="Toggle",Ll=l.forwardRef((e,t)=>{const{pressed:n,defaultPressed:r=!1,onPressedChange:o,...i}=e,[s=!1,c]=pe({prop:n,onChange:o,defaultProp:r});return a.jsx(R.Primitive.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...i,ref:t,onClick:j(e.onClick,()=>{e.disabled||c(!s)})})});Ll.displayName=o3;var ht="ToggleGroup",[kl,h3]=n3(ht,[bn]),Fl=bn(),ao=O.forwardRef((e,t)=>{const{type:n,...r}=e;if(n==="single"){const o=r;return a.jsx(i3,{...o,ref:t})}if(n==="multiple"){const o=r;return a.jsx(a3,{...o,ref:t})}throw new Error(`Missing prop \`type\` expected on \`${ht}\``)});ao.displayName=ht;var[Vl,$l]=kl(ht),i3=O.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[s,c]=pe({prop:n,defaultProp:r,onChange:o});return a.jsx(Vl,{scope:e.__scopeToggleGroup,type:"single",value:s?[s]:[],onItemActivate:c,onItemDeactivate:O.useCallback(()=>c(""),[c]),children:a.jsx(Bl,{...i,ref:t})})}),a3=O.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[s=[],c]=pe({prop:n,defaultProp:r,onChange:o}),p=O.useCallback(g=>c((h=[])=>[...h,g]),[c]),f=O.useCallback(g=>c((h=[])=>h.filter(d=>d!==g)),[c]);return a.jsx(Vl,{scope:e.__scopeToggleGroup,type:"multiple",value:s,onItemActivate:p,onItemDeactivate:f,children:a.jsx(Bl,{...i,ref:t})})});ao.displayName=ht;var[s3,c3]=kl(ht),Bl=O.forwardRef((e,t)=>{const{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:o=!0,orientation:i,dir:s,loop:c=!0,...p}=e,f=Fl(n),g=un(s),h={role:"group",dir:g,...p};return a.jsx(s3,{scope:n,rovingFocus:o,disabled:r,children:o?a.jsx(zi,{asChild:!0,...f,orientation:i,dir:g,loop:c,children:a.jsx(R.Primitive.div,{...h,ref:t})}):a.jsx(R.Primitive.div,{...h,ref:t})})}),sn="ToggleGroupItem",Hl=O.forwardRef((e,t)=>{const n=$l(sn,e.__scopeToggleGroup),r=c3(sn,e.__scopeToggleGroup),o=Fl(e.__scopeToggleGroup),i=n.value.includes(e.value),s=r.disabled||e.disabled,c={...e,pressed:i,disabled:s},p=O.useRef(null);return r.rovingFocus?a.jsx(Yi,{asChild:!0,...o,focusable:!s,active:i,ref:p,children:a.jsx(Wo,{...c,ref:t})}):a.jsx(Wo,{...c,ref:t})});Hl.displayName=sn;var Wo=O.forwardRef((e,t)=>{const{__scopeToggleGroup:n,value:r,...o}=e,i=$l(sn,n),s={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},c=i.type==="single"?s:void 0;return a.jsx(Ll,{...c,...o,ref:t,onPressedChange:p=>{p?i.onItemActivate(r):i.onItemDeactivate(r)}})}),Wl=ao,Ul=Hl;const l3=pn("inline-flex items-center justify-center gap-1 whitespace-nowrap text-sm font-normal ring-offset-background transition-all focus-visible:outline-none disabled:pointer-events-none",{variants:{variant:{solid:"disabled:bg-muted disabled:text-muted-foreground disabled:border-muted",outline:"disabled:bg-white disabled:text-muted disabled:border-border"},theme:{primary:"bg-white border border-main-200 text-primary hover:bg-main-100",secondary:"bg-white border border-grey-200 text-secondary hover:bg-grey-100"},size:{xs:"h-8 py-1 px-2 text-sm",sm:"h-9 py-2 px-3 text-sm",md:"h-11 px-3 py-3 text-sm",lg:"h-[52px] px-12 py-3.5 text-base",icon:"h-auto w-auto"},shape:{square:"rounded-lg",rounded:"rounded-full"},checked:{true:"",false:""}},compoundVariants:[{theme:"primary",checked:!0,className:"bg-main-600 border-main-600 text-white hover:bg-main-700 hover:border-main-700"},{theme:"secondary",checked:!0,className:"bg-grey-800 border-grey-800 text-white hover:bg-grey-900 hover:border-grey-900"}],defaultVariants:{theme:"primary",size:"md",shape:"square",checked:!1}}),so=l.createContext({theme:"primary",size:"md",shape:"square"});so.displayName="ToggleGroupContext";const Gl=l.forwardRef(({className:e,variant:t,theme:n,size:r,shape:o,children:i,...s},c)=>a.jsx(so.Provider,{value:{theme:n,size:r,shape:o},children:a.jsx(Wl,{ref:c,className:D.cn("flex items-center justify-center gap-1",e),...s,children:i})}));Gl.displayName=Wl.displayName;const Zl=l.forwardRef(({className:e,checked:t=!1,children:n,...r},o)=>{const i=l.useContext(so);return a.jsx(Ul,{ref:o,className:D.cn(l3({theme:r.theme||i.theme||"primary",size:r.size||i.size||"md",shape:r.shape||i.shape||"square",variant:r.variant||"outline",checked:t}),e),...r,children:n})});Zl.displayName=Ul.displayName;exports.Accordion=Td;exports.AccordionContent=mi;exports.AccordionItem=fi;exports.AccordionTrigger=pi;exports.Alert=Ys;exports.Button=wr;exports.Callout=yt;exports.Dialog=nc;exports.Dropdown=as;exports.Icon=We;exports.Input=cs;exports.Modal=rc;exports.PortalContainer=d2;exports.Toaster=u2;exports.ToggleGroup=Gl;exports.ToggleGroupItem=Zl;exports.Tooltip=Jm;exports.TooltipContent=Il;exports.TooltipProvider=Qm;exports.TooltipTrigger=e3;exports.buttonVariants=ft;exports.cva=pn;exports.isMobile_1=Om;
|