@bbodek/internal-ui 0.0.44 → 0.0.45
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/FilterCalendarPanel--02AVQcH.js +2 -0
- package/dist/FilterCalendarPanel--02AVQcH.js.map +1 -0
- package/dist/FilterCalendarPanel--z8nXZZm.js +2 -0
- package/dist/FilterCalendarPanel--z8nXZZm.js.map +1 -0
- package/dist/FilterCalendarPanel-3FEnRo0k.js +2 -0
- package/dist/FilterCalendarPanel-3FEnRo0k.js.map +1 -0
- package/dist/FilterCalendarPanel-DClMlsY3.js +2 -0
- package/dist/FilterCalendarPanel-DClMlsY3.js.map +1 -0
- package/dist/FilterCalendarPanel-DYjIgQHv.js +2 -0
- package/dist/FilterCalendarPanel-DYjIgQHv.js.map +1 -0
- package/dist/FilterCalendarPanel-DaBnp41G.js +2 -0
- package/dist/FilterCalendarPanel-DaBnp41G.js.map +1 -0
- package/dist/FilterCalendarPanel-DgeH7YpI.js +2 -0
- package/dist/FilterCalendarPanel-DgeH7YpI.js.map +1 -0
- package/dist/FilterCalendarPanel-DzTzsqV7.js +2 -0
- package/dist/FilterCalendarPanel-DzTzsqV7.js.map +1 -0
- package/dist/FilterCalendarPanel-EeRAkx_0.js +2 -0
- package/dist/FilterCalendarPanel-EeRAkx_0.js.map +1 -0
- package/dist/FilterCalendarPanel-FJ74-8mT.js +2 -0
- package/dist/FilterCalendarPanel-FJ74-8mT.js.map +1 -0
- package/dist/FilterCalendarPanel-K925x-ip.js +2 -0
- package/dist/FilterCalendarPanel-K925x-ip.js.map +1 -0
- package/dist/FilterCalendarPanel-NJ27uepT.js +2 -0
- package/dist/FilterCalendarPanel-NJ27uepT.js.map +1 -0
- package/dist/FilterCalendarPanel-csfGJfVC.js +2 -0
- package/dist/FilterCalendarPanel-csfGJfVC.js.map +1 -0
- package/dist/FilterCalendarPanel-lYeuvVKW.js +2 -0
- package/dist/FilterCalendarPanel-lYeuvVKW.js.map +1 -0
- package/dist/FilterCalendarPanel-yQK0-rcy.js +2 -0
- package/dist/FilterCalendarPanel-yQK0-rcy.js.map +1 -0
- package/dist/FilterMultiSelectPanel-2DIHIm5y.js +2 -0
- package/dist/FilterMultiSelectPanel-2DIHIm5y.js.map +1 -0
- package/dist/FilterMultiSelectPanel-B90W-a-9.js +2 -0
- package/dist/FilterMultiSelectPanel-B90W-a-9.js.map +1 -0
- package/dist/FilterMultiSelectPanel-BmlzyIqs.js +2 -0
- package/dist/FilterMultiSelectPanel-BmlzyIqs.js.map +1 -0
- package/dist/FilterMultiSelectPanel-BwQ90Cfp.js +2 -0
- package/dist/FilterMultiSelectPanel-BwQ90Cfp.js.map +1 -0
- package/dist/FilterMultiSelectPanel-CBP10FX6.js +2 -0
- package/dist/FilterMultiSelectPanel-CBP10FX6.js.map +1 -0
- package/dist/FilterMultiSelectPanel-CJ6O6ye4.js +2 -0
- package/dist/FilterMultiSelectPanel-CJ6O6ye4.js.map +1 -0
- package/dist/FilterMultiSelectPanel-CK2l4iAQ.js +2 -0
- package/dist/FilterMultiSelectPanel-CK2l4iAQ.js.map +1 -0
- package/dist/FilterMultiSelectPanel-CMpyu6Fa.js +2 -0
- package/dist/FilterMultiSelectPanel-CMpyu6Fa.js.map +1 -0
- package/dist/FilterMultiSelectPanel-CiY6wgsM.js +2 -0
- package/dist/FilterMultiSelectPanel-CiY6wgsM.js.map +1 -0
- package/dist/FilterMultiSelectPanel-CrDamZFy.js +2 -0
- package/dist/FilterMultiSelectPanel-CrDamZFy.js.map +1 -0
- package/dist/FilterMultiSelectPanel-D27CjZ7C.js +2 -0
- package/dist/FilterMultiSelectPanel-D27CjZ7C.js.map +1 -0
- package/dist/FilterMultiSelectPanel-DDMofvko.js +2 -0
- package/dist/FilterMultiSelectPanel-DDMofvko.js.map +1 -0
- package/dist/FilterMultiSelectPanel-Dk767xuP.js +2 -0
- package/dist/FilterMultiSelectPanel-Dk767xuP.js.map +1 -0
- package/dist/FilterMultiSelectPanel-DwK8TB_N.js +2 -0
- package/dist/FilterMultiSelectPanel-DwK8TB_N.js.map +1 -0
- package/dist/FilterMultiSelectPanel-DztDht8H.js +2 -0
- package/dist/FilterMultiSelectPanel-DztDht8H.js.map +1 -0
- package/dist/FilterSelectOptionPanel-1PKFdxYe.js +2 -0
- package/dist/FilterSelectOptionPanel-1PKFdxYe.js.map +1 -0
- package/dist/FilterSelectOptionPanel-8IYNLJTb.js +2 -0
- package/dist/FilterSelectOptionPanel-8IYNLJTb.js.map +1 -0
- package/dist/FilterSelectOptionPanel-BL6Bkxl2.js +2 -0
- package/dist/FilterSelectOptionPanel-BL6Bkxl2.js.map +1 -0
- package/dist/FilterSelectOptionPanel-BT4oQmZO.js +2 -0
- package/dist/FilterSelectOptionPanel-BT4oQmZO.js.map +1 -0
- package/dist/FilterSelectOptionPanel-Bb8i1Hlj.js +2 -0
- package/dist/FilterSelectOptionPanel-Bb8i1Hlj.js.map +1 -0
- package/dist/FilterSelectOptionPanel-BcDJ9KpB.js +2 -0
- package/dist/FilterSelectOptionPanel-BcDJ9KpB.js.map +1 -0
- package/dist/FilterSelectOptionPanel-CVlglS-N.js +2 -0
- package/dist/FilterSelectOptionPanel-CVlglS-N.js.map +1 -0
- package/dist/FilterSelectOptionPanel-CWFBnV71.js +2 -0
- package/dist/FilterSelectOptionPanel-CWFBnV71.js.map +1 -0
- package/dist/FilterSelectOptionPanel-ChX_Y9cb.js +2 -0
- package/dist/FilterSelectOptionPanel-ChX_Y9cb.js.map +1 -0
- package/dist/FilterSelectOptionPanel-Cj65NERj.js +2 -0
- package/dist/FilterSelectOptionPanel-Cj65NERj.js.map +1 -0
- package/dist/FilterSelectOptionPanel-Ct0Uz_EF.js +2 -0
- package/dist/FilterSelectOptionPanel-Ct0Uz_EF.js.map +1 -0
- package/dist/FilterSelectOptionPanel-DPePFs9H.js +2 -0
- package/dist/FilterSelectOptionPanel-DPePFs9H.js.map +1 -0
- package/dist/FilterSelectOptionPanel-DUYL60IC.js +2 -0
- package/dist/FilterSelectOptionPanel-DUYL60IC.js.map +1 -0
- package/dist/FilterSelectOptionPanel-H8FGUHcI.js +2 -0
- package/dist/FilterSelectOptionPanel-H8FGUHcI.js.map +1 -0
- package/dist/FilterSelectOptionPanel-wgWaFOsu.js +2 -0
- package/dist/FilterSelectOptionPanel-wgWaFOsu.js.map +1 -0
- package/dist/components/FormRepeater/hooks/effects/useFormRepeaterInitialValuesEffect.d.ts +4 -0
- package/dist/components/FormRepeater/hooks/effects/useFormRepeaterInitialValuesEffect.d.ts.map +1 -0
- package/dist/components/FormRepeater/hooks/types.d.ts +4 -3
- package/dist/components/FormRepeater/hooks/types.d.ts.map +1 -1
- package/dist/components/FormRepeater/hooks/useFormRepeater.d.ts +1 -1
- package/dist/components/FormRepeater/hooks/useFormRepeater.d.ts.map +1 -1
- package/dist/index-0l9WSZHJ.js +1034 -0
- package/dist/index-0l9WSZHJ.js.map +1 -0
- package/dist/index-346Sh-dq.js +1034 -0
- package/dist/index-346Sh-dq.js.map +1 -0
- package/dist/index-9z7VrH1m.js +1034 -0
- package/dist/index-9z7VrH1m.js.map +1 -0
- package/dist/index-BKP39PbN.js +1034 -0
- package/dist/index-BKP39PbN.js.map +1 -0
- package/dist/index-BeK1FkJd.js +1034 -0
- package/dist/index-BeK1FkJd.js.map +1 -0
- package/dist/index-C2WRDXAq.js +1034 -0
- package/dist/index-C2WRDXAq.js.map +1 -0
- package/dist/index-CCFA9HNG.js +2 -0
- package/dist/index-CCFA9HNG.js.map +1 -0
- package/dist/index-CG_eOGms.js +1034 -0
- package/dist/index-CG_eOGms.js.map +1 -0
- package/dist/index-CaAZsYwc.js +1034 -0
- package/dist/index-CaAZsYwc.js.map +1 -0
- package/dist/index-Cws7O-qP.js +1034 -0
- package/dist/index-Cws7O-qP.js.map +1 -0
- package/dist/index-D0muwAtc.js +1034 -0
- package/dist/index-D0muwAtc.js.map +1 -0
- package/dist/index-DCEfdALB.js +1034 -0
- package/dist/index-DCEfdALB.js.map +1 -0
- package/dist/index-SITaLZsk.js +1034 -0
- package/dist/index-SITaLZsk.js.map +1 -0
- package/dist/index-ZJuVKO2W.js +1034 -0
- package/dist/index-ZJuVKO2W.js.map +1 -0
- package/dist/index-dJyzpoa0.js +1034 -0
- package/dist/index-dJyzpoa0.js.map +1 -0
- package/dist/index.es.js +1 -1
- package/dist/useFilterSelectOptionPanel-B779prbA.js +2 -0
- package/dist/useFilterSelectOptionPanel-B779prbA.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-BRBMvthm.js +2 -0
- package/dist/useFilterSelectOptionPanel-BRBMvthm.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-Bf6qvrQu.js +2 -0
- package/dist/useFilterSelectOptionPanel-Bf6qvrQu.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-BmFhnHG9.js +2 -0
- package/dist/useFilterSelectOptionPanel-BmFhnHG9.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-BtvU6cRW.js +2 -0
- package/dist/useFilterSelectOptionPanel-BtvU6cRW.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-BwzqpRy_.js +2 -0
- package/dist/useFilterSelectOptionPanel-BwzqpRy_.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-C7KYwFVz.js +2 -0
- package/dist/useFilterSelectOptionPanel-C7KYwFVz.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-CRihtKWw.js +2 -0
- package/dist/useFilterSelectOptionPanel-CRihtKWw.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-CrXmdnDu.js +2 -0
- package/dist/useFilterSelectOptionPanel-CrXmdnDu.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-GFp62oTz.js +2 -0
- package/dist/useFilterSelectOptionPanel-GFp62oTz.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-HppPT_Xy.js +2 -0
- package/dist/useFilterSelectOptionPanel-HppPT_Xy.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-KW2p-mHj.js +2 -0
- package/dist/useFilterSelectOptionPanel-KW2p-mHj.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-PF0JcZa0.js +2 -0
- package/dist/useFilterSelectOptionPanel-PF0JcZa0.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-S7mfqypu.js +2 -0
- package/dist/useFilterSelectOptionPanel-S7mfqypu.js.map +1 -0
- package/dist/useFilterSelectOptionPanel-nN_Ek157.js +2 -0
- package/dist/useFilterSelectOptionPanel-nN_Ek157.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1034 @@
|
|
|
1
|
+
import e,{jsx as t,jsxs as n,Fragment as r}from"react/jsx-runtime";import*as o from"react";import a,{createContext as i,useContext as l,useEffect as s,useLayoutEffect as E,useState as c,cloneElement as u,isValidElement as d,memo as O,useCallback as R,useMemo as p,useRef as f,useId as A,Children as S,createElement as C}from"react";import*as M from"react-dom";import T,{createPortal as N}from"react-dom";import{useScrollLockEffect as I,useExecuteFunction as h,useClickOutside as m}from"@bbodek/hooks";import{toParseDateType as b,toString as D,isSame as g,isBetween as y,isAfter as _,isBefore as L,now as v,timezone as P,toPaddedString as F,endOf as x,date as Y,day as w,year as B,month as G,mergeRefs as U,highlightText as H,getUUID as $}from"@bbodek/utils";function W(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=W(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function k(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=W(e))&&(r&&(r+=" "),r+=t);return r}const j=i(void 0),V=({hasTitle:e,theme:n,collapsible:r,actionOption:o,useClose:a,collapsed:i,setCollapsed:l,setVisible:s,children:E})=>t(j.Provider,{value:{hasTitle:e,theme:n,collapsible:r,actionOption:o,useClose:a,collapsed:i,setCollapsed:l,setVisible:s},children:E}),J=()=>{const e=l(j);if(!e)throw new Error("useAlertContext must be used within a AlertContext");return e},K="mobile",X="tablet",z="desktop",q="circle-notch",Q={FILLED:"filled",OUTLINED:"outlined",TONAL:"tonal",TEXT:"text"},Z={PRIMARY:"primary",GRAY:"gray",RED:"red",GREEN:"green",YELLOW:"yellow"},ee={XS:"xs",SM:"sm",MD:"md",LG:"lg"},te={DEFAULT:"default",HOVER:"hover",PRESSED:"pressed",DISABLED:"disabled"},ne={LEFT:"left",RIGHT:"right"},re={[Z.PRIMARY]:{[Q.FILLED]:{[te.DEFAULT]:"bg-in-primary-06 text-in-white",[te.HOVER]:"hover:bg-in-primary-07",[te.PRESSED]:"active:bg-in-primary-07",[te.DISABLED]:"bg-in-gray-02 text-in-gray-05"},[Q.OUTLINED]:{[te.DEFAULT]:"border-in-primary-05 bg-in-white text-in-primary-06",[te.HOVER]:"hover:bg-in-primary-01",[te.PRESSED]:"active:bg-in-primary-01",[te.DISABLED]:"border-in-gray-02 text-in-gray-05 bg-in-white"},[Q.TONAL]:{[te.DEFAULT]:"bg-in-primary-02 text-in-primary-06",[te.HOVER]:"hover:bg-in-primary-03",[te.PRESSED]:"active:bg-in-primary-03",[te.DISABLED]:"bg-in-gray-01 text-in-gray-04"},[Q.TEXT]:{[te.DEFAULT]:"text-in-primary-06",[te.HOVER]:"hover:text-in-primary-08",[te.PRESSED]:"active:text-in-primary-08",[te.DISABLED]:"text-in-gray-04"}},[Z.GRAY]:{[Q.OUTLINED]:{[te.DEFAULT]:"bg-in-white border-in-gray-02 text-in-gray-07",[te.HOVER]:"hover:bg-in-gray-01 hover:border-in-gray-03",[te.PRESSED]:"active:bg-in-gray-01 active:border-in-gray-03",[te.DISABLED]:"text-in-gray-04 bg-in-white border-in-gray-02"},[Q.TONAL]:{[te.DEFAULT]:"bg-in-gray-01 text-in-gray-07",[te.HOVER]:"hover:bg-in-gray-02",[te.PRESSED]:"active:bg-in-gray-02",[te.DISABLED]:"text-in-gray-04 bg-in-gray-01"},[Q.TEXT]:{[te.DEFAULT]:"text-in-gray-07",[te.HOVER]:"hover:text-in-black",[te.PRESSED]:"active:text-in-black",[te.DISABLED]:"text-in-gray-04"}},[Z.RED]:{[Q.FILLED]:{[te.DEFAULT]:"bg-in-red-05 text-in-white",[te.HOVER]:"hover:bg-in-red-06",[te.PRESSED]:"active:bg-in-red-06",[te.DISABLED]:"bg-in-gray-02 text-in-gray-05"},[Q.OUTLINED]:{[te.DEFAULT]:"border-in-red-05 bg-in-white text-in-red-06",[te.HOVER]:"hover:bg-in-red-01",[te.PRESSED]:"active:bg-in-red-01",[te.DISABLED]:"border-in-gray-02 text-in-gray-05 bg-in-white"},[Q.TONAL]:{[te.DEFAULT]:"bg-in-red-02 text-in-red-06",[te.HOVER]:"hover:bg-in-red-03",[te.PRESSED]:"active:bg-in-red-03",[te.DISABLED]:"bg-in-gray-01 text-in-gray-04"},[Q.TEXT]:{[te.DEFAULT]:"text-in-red-06",[te.HOVER]:"hover:text-in-red-07",[te.PRESSED]:"active:text-in-red-07",[te.DISABLED]:"text-in-gray-04"}},[Z.GREEN]:{[Q.FILLED]:{[te.DEFAULT]:"bg-in-green-05 text-in-white",[te.HOVER]:"hover:bg-in-green-06",[te.PRESSED]:"active:bg-in-green-06",[te.DISABLED]:"bg-in-gray-02 text-in-gray-05"},[Q.OUTLINED]:{[te.DEFAULT]:"border-in-green-05 bg-in-white text-in-green-06",[te.HOVER]:"hover:bg-in-green-01",[te.PRESSED]:"active:bg-in-green-01",[te.DISABLED]:"border-in-gray-02 text-in-gray-05 bg-in-white"},[Q.TONAL]:{[te.DEFAULT]:"bg-in-green-02 text-in-green-06",[te.HOVER]:"hover:bg-in-green-03",[te.PRESSED]:"active:bg-in-green-03",[te.DISABLED]:"bg-in-gray-01 text-in-gray-04"},[Q.TEXT]:{[te.DEFAULT]:"text-in-green-06",[te.HOVER]:"hover:text-in-green-07",[te.PRESSED]:"active:text-in-green-07",[te.DISABLED]:"text-in-gray-04"}},[Z.YELLOW]:{[Q.FILLED]:{[te.DEFAULT]:"bg-in-yellow-04 text-in-yellow-09",[te.HOVER]:"hover:bg-in-yellow-05",[te.PRESSED]:"active:bg-in-yellow-05",[te.DISABLED]:"bg-in-gray-02 text-in-gray-05"},[Q.OUTLINED]:{[te.DEFAULT]:"border-in-yellow-04 bg-in-white text-in-yellow-07",[te.HOVER]:"hover:bg-in-yellow-01",[te.PRESSED]:"active:bg-in-yellow-01",[te.DISABLED]:"border-in-gray-02 text-in-gray-05 bg-in-white"},[Q.TONAL]:{[te.DEFAULT]:"bg-in-yellow-02 text-in-yellow-07",[te.HOVER]:"hover:bg-in-yellow-03",[te.PRESSED]:"active:bg-in-yellow-03",[te.DISABLED]:"bg-in-gray-01 text-in-gray-04"},[Q.TEXT]:{[te.DEFAULT]:"text-in-yellow-07",[te.HOVER]:"hover:text-in-yellow-08",[te.PRESSED]:"active:text-in-yellow-08",[te.DISABLED]:"text-in-gray-04"}}},oe={[ee.XS]:{DEFAULT:"in-button-xs",PADDING:"in-button-xs-padding",ROUNDED:"in-button-xs-rounded",GAP:"in-button-xs-gap"},[ee.SM]:{DEFAULT:"in-button-sm",PADDING:"in-button-sm-padding",ROUNDED:"in-button-sm-rounded",GAP:"in-button-sm-gap"},[ee.MD]:{DEFAULT:"in-button-md",PADDING:"in-button-md-padding",ROUNDED:"in-button-md-rounded",GAP:"in-button-md-gap"},[ee.LG]:{DEFAULT:"in-button-lg",PADDING:"in-button-lg-padding",ROUNDED:"in-button-lg-rounded",GAP:"in-button-lg-gap"}},ae={[ee.XS]:"in-button-xs-icon",[ee.SM]:"in-button-sm-icon",[ee.MD]:"in-button-md-icon",[ee.LG]:"in-button-lg-icon"},ie={[K]:{[ee.XS]:{DEFAULT:"in-mobile:in-button-xs",PADDING:"in-mobile:in-button-xs-padding",ROUNDED:"in-mobile:in-button-xs-padding",GAP:"in-mobile:in-button-xs-padding"},[ee.SM]:{DEFAULT:"in-mobile:in-button-sm",PADDING:"in-mobile:in-button-sm-padding",ROUNDED:"in-mobile:in-button-sm-padding",GAP:"in-mobile:in-button-sm-padding"},[ee.MD]:{DEFAULT:"in-mobile:in-button-md",PADDING:"in-mobile:in-button-md-padding",ROUNDED:"in-mobile:in-button-md-padding",GAP:"in-mobile:in-button-md-padding"},[ee.LG]:{DEFAULT:"in-mobile:in-button-lg",PADDING:"in-mobile:in-button-lg-padding",ROUNDED:"in-mobile:in-button-lg-padding",GAP:"in-mobile:in-button-lg-padding"}},[X]:{[ee.XS]:{DEFAULT:"in-tablet:in-button-xs",PADDING:"in-tablet:in-button-xs-padding",ROUNDED:"in-tablet:in-button-xs-rounded",GAP:"in-tablet:in-button-xs-gap"},[ee.SM]:{DEFAULT:"in-tablet:in-button-sm",PADDING:"in-tablet:in-button-sm-padding",ROUNDED:"in-tablet:in-button-sm-rounded",GAP:"in-tablet:in-button-sm-gap"},[ee.MD]:{DEFAULT:"in-tablet:in-button-md",PADDING:"in-tablet:in-button-md-padding",ROUNDED:"in-tablet:in-button-md-rounded",GAP:"in-tablet:in-button-md-gap"},[ee.LG]:{DEFAULT:"in-tablet:in-button-lg",PADDING:"in-tablet:in-button-lg-padding",ROUNDED:"in-tablet:in-button-lg-rounded",GAP:"in-tablet:in-button-lg-gap"}},[z]:{[ee.XS]:{DEFAULT:"in-desktop:in-button-xs",PADDING:"in-desktop:in-button-xs-padding",ROUNDED:"in-desktop:in-button-xs-rounded",GAP:"in-desktop:in-button-xs-gap"},[ee.SM]:{DEFAULT:"in-desktop:in-button-sm",PADDING:"in-desktop:in-button-sm-padding",ROUNDED:"in-desktop:in-button-sm-rounded",GAP:"in-desktop:in-button-sm-gap"},[ee.MD]:{DEFAULT:"in-desktop:in-button-md",PADDING:"in-desktop:in-button-md-padding",ROUNDED:"in-desktop:in-button-md-rounded",GAP:"in-desktop:in-button-md-gap"},[ee.LG]:{DEFAULT:"in-desktop:in-button-lg",PADDING:"in-desktop:in-button-lg-padding",ROUNDED:"in-desktop:in-button-lg-rounded",GAP:"in-desktop:in-button-lg-gap"}}},le={[K]:{[ee.XS]:"in-mobile:in-button-xs-icon",[ee.SM]:"in-mobile:in-button-sm-icon",[ee.MD]:"in-mobile:in-button-md-icon",[ee.LG]:"in-mobile:in-button-lg-icon"},[X]:{[ee.XS]:"in-tablet:in-button-xs-icon",[ee.SM]:"in-tablet:in-button-sm-icon",[ee.MD]:"in-tablet:in-button-md-icon",[ee.LG]:"in-tablet:in-button-lg-icon"},[z]:{[ee.XS]:"in-desktop:in-button-xs-icon",[ee.SM]:"in-desktop:in-button-sm-icon",[ee.MD]:"in-desktop:in-button-md-icon",[ee.LG]:"in-desktop:in-button-lg-icon"}},se=({styles:e,responsive:t={}})=>Object.entries(t).map((([t,n])=>e[t][n]));var Ee=(e=>(e.REGULAR="regular",e.THIN="thin",e.LIGHT="light",e.BOLD="bold",e.FILL="fill",e.DUOTONE="duotone",e))(Ee||{}),ce=(e=>(e.ARROWS="arrows",e.BRAND="brands",e.COMMERCE="commerce",e.COMMUNICATION="communications",e.DESIGN="design",e.DEVELOPMENT="technology & development",e.EDITOR="editor",e.FINANCE="finances",e.GAMES="games",e.HEALTH="health & wellness",e.MAP="maps & travel",e.MEDIA="media",e.NATURE="nature",e.OBJECTS="objects",e.OFFICE="office",e.PEOPLE="people",e.SYSTEM="system",e.WEATHER="weather",e))(ce||{}),ue=(e=>(e.ARROWS="arrows",e.BRAND="brands",e.COMMERCE="commerce",e.COMMUNICATION="communication",e.DESIGN="design",e.DEVELOPMENT="technology & development",e.EDUCATION="education",e.FINANCE="math & finance",e.GAMES="games",e.HEALTH="health & wellness",e.MAP="maps & travel",e.MEDIA="media",e.OFFICE="office & editing",e.PEOPLE="people",e.SECURITY="security & warnings",e.SYSTEM="system & devices",e.TIME="time",e.WEATHER="weather & nature",e))(ue||{});ce.FINANCE,ce.NATURE,ue.WEATHER,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.MAP,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.SYSTEM,ue.TIME,ce.GAMES,ue.GAMES,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.BRAND,ue.BRAND,ce.HEALTH,ce.MAP,ce.OBJECTS,ue.HEALTH,ce.COMMUNICATION,ce.MAP,ce.OBJECTS,ue.MAP,ce.COMMUNICATION,ce.MAP,ce.OBJECTS,ue.MAP,ce.BRAND,ce.DEVELOPMENT,ce.SYSTEM,ue.BRAND,ce.DESIGN,ce.OBJECTS,ue.DESIGN,ce.BRAND,ce.DEVELOPMENT,ue.BRAND,ce.DESIGN,ce.MEDIA,ue.MEDIA,ce.BRAND,ue.BRAND,ce.COMMUNICATION,ce.SYSTEM,ue.SYSTEM,ce.BRAND,ue.BRAND,ce.BRAND,ce.MEDIA,ue.BRAND,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.OFFICE,ce.SYSTEM,ue.OFFICE,ce.OBJECTS,ce.COMMERCE,ue.COMMERCE,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ce.DESIGN,ce.EDITOR,ue.ARROWS,ce.ARROWS,ce.DESIGN,ce.EDITOR,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ce.DESIGN,ce.EDITOR,ue.ARROWS,ce.ARROWS,ce.DESIGN,ce.EDITOR,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.HEALTH,ue.HEALTH,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.DEVELOPMENT,ce.NATURE,ue.WEATHER,ce.COMMERCE,ce.NATURE,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.PEOPLE,ce.HEALTH,ue.PEOPLE,ce.COMMERCE,ce.PEOPLE,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.SYSTEM,ue.SYSTEM,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.HEALTH,ue.HEALTH,ce.FINANCE,ce.MAP,ue.FINANCE,ce.HEALTH,ue.HEALTH,ce.COMMERCE,ce.SYSTEM,ue.COMMERCE,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.MAP,ce.OBJECTS,ue.MAP,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.OBJECTS,ue.COMMERCE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.HEALTH,ce.MAP,ce.OBJECTS,ue.HEALTH,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.BRAND,ce.DESIGN,ue.BRAND,ce.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.DESIGN,ue.DESIGN,ce.HEALTH,ce.MAP,ce.OBJECTS,ue.MAP,ce.DEVELOPMENT,ce.SYSTEM,ue.DEVELOPMENT,ce.NATURE,ce.OBJECTS,ce.MAP,ue.COMMERCE,ce.HEALTH,ue.SECURITY,ce.NATURE,ue.WEATHER,ce.COMMERCE,ce.DESIGN,ue.DESIGN,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.MAP,ce.OBJECTS,ue.MAP,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.NATURE,ce.HEALTH,ue.WEATHER,ce.OFFICE,ce.MEDIA,ce.OBJECTS,ue.EDUCATION,ce.OFFICE,ce.MEDIA,ce.OBJECTS,ue.EDUCATION,ce.OFFICE,ce.MEDIA,ce.OBJECTS,ue.EDUCATION,ce.OFFICE,ce.MEDIA,ce.OBJECTS,ce.MAP,ue.EDUCATION,ce.OFFICE,ce.MEDIA,ce.OBJECTS,ue.EDUCATION,ce.OFFICE,ce.MEDIA,ce.OBJECTS,ue.EDUCATION,ce.OFFICE,ce.MEDIA,ce.OBJECTS,ue.EDUCATION,ce.OFFICE,ce.OBJECTS,ue.EDUCATION,ce.OFFICE,ce.OBJECTS,ue.EDUCATION,ce.OFFICE,ce.MAP,ce.MEDIA,ce.OBJECTS,ue.EDUCATION,ce.COMMERCE,ce.OBJECTS,ce.HEALTH,ue.COMMERCE,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.DESIGN,ue.DESIGN,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ce.MAP,ue.COMMERCE,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.OFFICE,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.SYSTEM,ue.OFFICE,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.DEVELOPMENT,ce.EDITOR,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.EDITOR,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.EDITOR,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.EDITOR,ue.DEVELOPMENT,ce.HEALTH,ce.NATURE,ue.HEALTH,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.OFFICE,ce.OBJECTS,ue.OFFICE,ce.OFFICE,ce.OBJECTS,ue.OFFICE,ce.COMMUNICATION,ce.MEDIA,ce.SYSTEM,ue.COMMUNICATION,ce.OBJECTS,ue.COMMERCE,ce.COMMUNICATION,ce.SYSTEM,ue.SYSTEM,ce.COMMUNICATION,ce.SYSTEM,ue.SYSTEM,ce.DEVELOPMENT,ce.NATURE,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.NATURE,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.NATURE,ue.DEVELOPMENT,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.MAP,ce.OBJECTS,ue.MAP,ce.NATURE,ue.WEATHER,ce.MAP,ce.OBJECTS,ue.MAP,ce.NATURE,ue.WEATHER,ce.OBJECTS,ue.COMMERCE,ce.DEVELOPMENT,ce.FINANCE,ce.OFFICE,ce.OBJECTS,ue.FINANCE,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.OFFICE,ce.SYSTEM,ue.TIME,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.MEDIA,ce.SYSTEM,ce.OBJECTS,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.NATURE,ue.WEATHER,ce.MAP,ce.OBJECTS,ue.MAP,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.COMMERCE,ce.FINANCE,ce.OBJECTS,ue.COMMERCE,ce.DESIGN,ce.SYSTEM,ue.OFFICE,ce.DESIGN,ce.SYSTEM,ue.OFFICE,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.ARROWS,ue.ARROWS,ce.COMMERCE,ce.NATURE,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.MAP,ce.OBJECTS,ce.GAMES,ue.GAMES,ce.NATURE,ue.WEATHER,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.COMMUNICATION,ce.OBJECTS,ue.EDUCATION,ce.OBJECTS,ce.COMMERCE,ue.COMMERCE,ce.MAP,ce.OBJECTS,ue.EDUCATION,ce.MAP,ce.OBJECTS,ue.EDUCATION,ce.MAP,ce.OBJECTS,ce.PEOPLE,ue.EDUCATION,ce.MAP,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.MAP,ce.OBJECTS,ue.MAP,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.GAMES,ue.GAMES,ce.SYSTEM,ue.SYSTEM,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.COMMERCE,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.NATURE,ce.COMMERCE,ue.COMMERCE,ce.MAP,ue.MAP,ce.COMMERCE,ce.HEALTH,ue.COMMERCE,ce.COMMERCE,ce.HEALTH,ue.COMMERCE,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.SYSTEM,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.DEVELOPMENT,ue.SYSTEM,ce.MAP,ce.COMMERCE,ue.COMMERCE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.SYSTEM,ue.TIME,ce.SYSTEM,ue.TIME,ce.SYSTEM,ue.TIME,ce.SYSTEM,ue.TIME,ce.SYSTEM,ue.TIME,ce.MEDIA,ue.MEDIA,ce.SYSTEM,ce.WEATHER,ue.WEATHER,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.WEATHER,ue.WEATHER,ce.WEATHER,ue.WEATHER,ce.WEATHER,ue.WEATHER,ce.WEATHER,ue.WEATHER,ce.SYSTEM,ue.SYSTEM,ce.WEATHER,ue.WEATHER,ce.WEATHER,ue.WEATHER,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.NATURE,ue.WEATHER,ce.GAMES,ue.GAMES,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.BRAND,ue.BRAND,ce.DEVELOPMENT,ce.EDITOR,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.EDITOR,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.EDITOR,ue.DEVELOPMENT,ce.BRAND,ce.DEVELOPMENT,ue.BRAND,ce.BRAND,ce.DEVELOPMENT,ue.BRAND,ce.COMMERCE,ce.OBJECTS,ce.MAP,ue.COMMERCE,ce.COMMERCE,ce.MAP,ce.NATURE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.EDITOR,ce.SYSTEM,ue.SYSTEM,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.DESIGN,ce.OBJECTS,ue.DESIGN,ce.DEVELOPMENT,ce.OBJECTS,ue.SYSTEM,ce.COMMUNICATION,ue.GAMES,ce.COMMERCE,ue.COMMERCE,ce.SYSTEM,ue.SYSTEM,ce.MAP,ce.OBJECTS,ce.DEVELOPMENT,ue.COMMERCE,ce.OBJECTS,ce.COMMERCE,ue.COMMERCE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.COMMERCE,ce.MEDIA,ue.MEDIA,ce.COMMERCE,ce.MEDIA,ue.MEDIA,ce.SYSTEM,ue.MEDIA,ce.SYSTEM,ue.MEDIA,ce.OBJECTS,ce.COMMERCE,ue.COMMERCE,ce.GAMES,ce.HEALTH,ce.MAP,ue.GAMES,ce.COMMERCE,ce.NATURE,ue.WEATHER,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.DEVELOPMENT,ue.DEVELOPMENT,ce.COMMERCE,ce.DEVELOPMENT,ue.COMMERCE,ce.COMMERCE,ce.DEVELOPMENT,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.GAMES,ce.HEALTH,ue.GAMES,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.COMMUNICATION,ue.COMMUNICATION,ce.MAP,ce.SYSTEM,ue.MAP,ce.MAP,ce.SYSTEM,ue.MAP,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.DESIGN,ce.GAMES,ce.OBJECTS,ue.DESIGN,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.DESIGN,ce.GAMES,ce.OBJECTS,ue.DESIGN,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.DESIGN,ce.SYSTEM,ue.SYSTEM,ce.DESIGN,ce.SYSTEM,ue.SYSTEM,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.DESIGN,ue.DESIGN,ce.DEVELOPMENT,ce.SYSTEM,ue.DEVELOPMENT,ce.COMMERCE,ce.OBJECTS,ce.OFFICE,ue.COMMERCE,ce.DEVELOPMENT,ce.OBJECTS,ue.SYSTEM,ce.DEVELOPMENT,ce.OBJECTS,ue.SYSTEM,ce.PEOPLE,ce.SYSTEM,ue.SECURITY,ce.BRAND,ce.DEVELOPMENT,ue.BRAND,ce.OBJECTS,ue.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.OBJECTS,ce.SYSTEM,ue.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.OBJECTS,ce.SYSTEM,ue.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.DESIGN,ce.GAMES,ue.GAMES,ce.DESIGN,ue.DESIGN,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.DEVELOPMENT,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.GAMES,ce.MAP,ce.OBJECTS,ue.GAMES,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.DEVELOPMENT,ce.FINANCE,ue.FINANCE,ce.HEALTH,ce.NATURE,ue.HEALTH,ce.NATURE,ue.WEATHER,ce.OBJECTS,ue.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.DESIGN,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.BRAND,ce.DESIGN,ue.BRAND,ce.GAMES,ce.OBJECTS,ce.DEVELOPMENT,ue.GAMES,ce.NATURE,ce.WEATHER,ue.WEATHER,ce.DESIGN,ce.EDITOR,ce.NATURE,ce.WEATHER,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.NATURE,ce.WEATHER,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.NATURE,ce.WEATHER,ue.WEATHER,ce.DESIGN,ce.EDITOR,ce.NATURE,ce.WEATHER,ue.DESIGN,ce.BRAND,ue.BRAND,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.COMMERCE,ce.NATURE,ue.COMMERCE,ce.COMMERCE,ce.NATURE,ue.COMMERCE,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.OBJECTS,ce.MAP,ue.MAP,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.MAP,ce.OBJECTS,ue.MAP,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.DEVELOPMENT,ce.FINANCE,ue.FINANCE,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.OBJECTS,ue.EDUCATION,ce.SYSTEM,ue.SECURITY,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OBJECTS,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OBJECTS,ue.DESIGN,ce.HEALTH,ce.OBJECTS,ue.COMMERCE,ce.PEOPLE,ue.PEOPLE,ce.HEALTH,ue.HEALTH,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.HEALTH,ue.SECURITY,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.NATURE,ce.MAP,ue.COMMERCE,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.NATURE,ce.OBJECTS,ue.WEATHER,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.BRAND,ce.DESIGN,ue.BRAND,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.SYSTEM,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.MEDIA,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.MEDIA,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.MEDIA,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.MEDIA,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.SYSTEM,ce.DEVELOPMENT,ue.OFFICE,ce.SYSTEM,ce.MEDIA,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.MEDIA,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.DEVELOPMENT,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.OFFICE,ce.MEDIA,ue.MEDIA,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.SYSTEM,ue.SECURITY,ce.SYSTEM,ue.SECURITY,ce.GAMES,ue.GAMES,ce.NATURE,ce.WEATHER,ue.WEATHER,ce.OBJECTS,ue.SECURITY,ce.NATURE,ce.WEATHER,ue.WEATHER,ce.HEALTH,ue.HEALTH,ce.HEALTH,ue.HEALTH,ce.HEALTH,ue.HEALTH,ce.NATURE,ce.COMMERCE,ue.WEATHER,ce.NATURE,ce.COMMERCE,ue.WEATHER,ce.OBJECTS,ce.MAP,ce.SYSTEM,ue.MAP,ce.OBJECTS,ce.MAP,ce.SYSTEM,ue.MAP,ce.OBJECTS,ce.MAP,ce.SYSTEM,ue.MAP,ce.MAP,ce.OBJECTS,ce.GAMES,ue.MAP,ce.OBJECTS,ce.MAP,ce.SYSTEM,ce.GAMES,ue.MAP,ce.NATURE,ce.WEATHER,ue.WEATHER,ce.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.DEVELOPMENT,ce.NATURE,ce.OBJECTS,ue.HEALTH,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.ARROWS,ce.DESIGN,ce.OFFICE,ue.DESIGN,ce.NATURE,ue.WEATHER,ce.NATURE,ue.WEATHER,ce.NATURE,ue.WEATHER,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.HEALTH,ce.MAP,ue.PEOPLE,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.MEDIA,ue.MEDIA,ce.SYSTEM,ue.MEDIA,ce.BRAND,ce.DESIGN,ue.BRAND,ce.DEVELOPMENT,ue.FINANCE,ce.EDITOR,ce.OBJECTS,ue.OFFICE,ce.EDITOR,ce.OBJECTS,ue.OFFICE,ce.EDITOR,ce.OBJECTS,ue.OFFICE,ce.EDITOR,ce.OBJECTS,ue.OFFICE,ce.GAMES,ce.MEDIA,ce.OBJECTS,ue.GAMES,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.DEVELOPMENT,ce.OBJECTS,ce.SYSTEM,ue.SYSTEM,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.DESIGN,ce.SYSTEM,ue.SYSTEM,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.MEDIA,ue.MEDIA,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.DEVELOPMENT,ue.DEVELOPMENT,ce.DEVELOPMENT,ue.DEVELOPMENT,ce.DEVELOPMENT,ue.DEVELOPMENT,ce.DEVELOPMENT,ue.DEVELOPMENT,ce.DEVELOPMENT,ue.DEVELOPMENT,ce.DEVELOPMENT,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.BRAND,ue.BRAND,ce.BRAND,ce.DEVELOPMENT,ue.BRAND,ce.BRAND,ce.DEVELOPMENT,ue.BRAND,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.HEALTH,ce.OBJECTS,ue.MAP,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.BRAND,ue.BRAND,ce.BRAND,ue.GAMES,ce.BRAND,ue.BRAND,ce.BRAND,ue.BRAND,ce.BRAND,ue.BRAND,ce.BRAND,ce.MEDIA,ue.BRAND,ce.BRAND,ce.SYSTEM,ce.MEDIA,ue.BRAND,ce.BRAND,ce.MEDIA,ue.BRAND,ce.MAP,ce.SYSTEM,ue.MAP,ce.MAP,ce.SYSTEM,ue.MAP,ce.MAP,ce.SYSTEM,ue.MAP,ce.DESIGN,ue.DESIGN,ce.MAP,ce.OBJECTS,ue.EDUCATION,ce.COMMERCE,ce.NATURE,ue.COMMERCE,ce.COMMERCE,ue.COMMERCE,ce.OFFICE,ce.DEVELOPMENT,ue.FINANCE,ce.DEVELOPMENT,ue.DEVELOPMENT,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.DESIGN,ce.SYSTEM,ue.DESIGN,ce.DESIGN,ce.SYSTEM,ue.DESIGN,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.OBJECTS,ce.SYSTEM,ce.COMMERCE,ue.COMMERCE,ce.SYSTEM,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ce.COMMERCE,ce.FINANCE,ue.PEOPLE,ce.PEOPLE,ce.COMMERCE,ce.FINANCE,ue.PEOPLE,ce.PEOPLE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.PEOPLE,ce.COMMERCE,ce.FINANCE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.SYSTEM,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.HEALTH,ce.SYSTEM,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ce.COMMUNICATION,ue.PEOPLE,ce.SYSTEM,ce.PEOPLE,ue.PEOPLE,ce.HEALTH,ce.OBJECTS,ue.HEALTH,ce.PEOPLE,ce.SYSTEM,ue.SYSTEM,ce.PEOPLE,ce.SYSTEM,ue.SYSTEM,ce.PEOPLE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ce.COMMERCE,ce.FINANCE,ue.PEOPLE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.SYSTEM,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ce.COMMERCE,ue.PEOPLE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.COMMERCE,ce.OBJECTS,ce.DEVELOPMENT,ue.COMMERCE,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.DEVELOPMENT,ue.DEVELOPMENT,ce.MAP,ce.OBJECTS,ue.MAP,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.MEDIA,ce.GAMES,ce.OBJECTS,ue.MEDIA,ce.COMMUNICATION,ce.GAMES,ce.HEALTH,ue.GAMES,ce.COMMUNICATION,ue.GAMES,ce.COMMUNICATION,ce.GAMES,ce.HEALTH,ue.GAMES,ce.COMMUNICATION,ce.GAMES,ce.HEALTH,ue.GAMES,ce.COMMUNICATION,ue.GAMES,ce.HEALTH,ce.SYSTEM,ue.HEALTH,ce.DESIGN,ue.DESIGN,ce.MEDIA,ue.MEDIA,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.GAMES,ce.HEALTH,ce.NATURE,ue.GAMES,ce.MAP,ce.HEALTH,ue.MAP,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.MAP,ce.SYSTEM,ue.MAP,ce.MAP,ce.SYSTEM,ue.MAP,ce.MAP,ce.SYSTEM,ue.MAP,ce.WEATHER,ue.WEATHER,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.DEVELOPMENT,ce.FINANCE,ue.FINANCE,ce.SYSTEM,ue.SECURITY,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.PEOPLE,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.COMMERCE,ce.FINANCE,ce.OFFICE,ue.COMMERCE,ce.MAP,ce.NATURE,ue.WEATHER,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.MAP,ce.OBJECTS,ue.MAP,ce.GAMES,ce.MEDIA,ce.OBJECTS,ue.GAMES,ce.OFFICE,ue.OFFICE,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.OBJECTS,ce.COMMERCE,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.DEVELOPMENT,ce.OBJECTS,ue.SYSTEM,ce.DESIGN,ce.OBJECTS,ue.DESIGN,ce.BRAND,ce.MEDIA,ue.BRAND,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.NATURE,ue.WEATHER,ce.OBJECTS,ce.FINANCE,ce.OFFICE,ue.EDUCATION,ce.GAMES,ue.GAMES,ce.GAMES,ce.COMMUNICATION,ce.PEOPLE,ue.GAMES,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.EDITOR,ce.MAP,ce.DESIGN,ue.COMMUNICATION,ce.EDITOR,ce.MAP,ce.DESIGN,ue.COMMUNICATION,ce.EDITOR,ce.DESIGN,ce.COMMERCE,ue.COMMUNICATION,ce.HEALTH,ce.OBJECTS,ce.SYSTEM,ue.HEALTH,ce.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.MAP,ue.MAP,ce.WEATHER,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.DESIGN,ce.DEVELOPMENT,ue.DESIGN,ce.COMMUNICATION,ce.OBJECTS,ue.SYSTEM,ce.COMMUNICATION,ce.OBJECTS,ue.SYSTEM,ce.COMMUNICATION,ce.OBJECTS,ue.SYSTEM,ce.COMMUNICATION,ce.OBJECTS,ue.SYSTEM,ce.COMMUNICATION,ce.OBJECTS,ue.SYSTEM,ce.COMMUNICATION,ce.OBJECTS,ue.SYSTEM,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.BRAND,ce.DEVELOPMENT,ue.BRAND,ce.SYSTEM,ce.EDITOR,ue.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.EDITOR,ue.OFFICE,ce.EDITOR,ce.SYSTEM,ue.SYSTEM,ce.EDITOR,ce.SYSTEM,ue.SYSTEM,ce.EDITOR,ue.OFFICE,ce.EDITOR,ue.OFFICE,ce.EDITOR,ce.SYSTEM,ue.SYSTEM,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.MAP,ue.MAP,ce.NATURE,ue.WEATHER,ce.DESIGN,ce.GAMES,ce.OBJECTS,ue.DESIGN,ce.DEVELOPMENT,ce.OBJECTS,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.OBJECTS,ue.DEVELOPMENT,ce.EDITOR,ce.SYSTEM,ue.SYSTEM,ce.EDITOR,ce.SYSTEM,ue.SYSTEM,ce.EDITOR,ce.SYSTEM,ue.SYSTEM,ce.COMMUNICATION,ce.OBJECTS,ce.MAP,ue.COMMUNICATION,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.DEVELOPMENT,ce.OFFICE,ce.MEDIA,ce.BRAND,ue.DEVELOPMENT,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.COMMUNICATION,ce.GAMES,ue.GAMES,ce.COMMUNICATION,ce.GAMES,ue.GAMES,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.DEVELOPMENT,ce.FINANCE,ue.FINANCE,ce.BRAND,ce.COMMUNICATION,ue.COMMUNICATION,ce.OBJECTS,ce.GAMES,ue.GAMES,ce.OBJECTS,ce.GAMES,ue.GAMES,ce.BRAND,ue.BRAND,ce.COMMUNICATION,ce.OBJECTS,ue.COMMUNICATION,ce.COMMUNICATION,ce.OBJECTS,ue.COMMUNICATION,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.DEVELOPMENT,ue.SYSTEM,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.BRAND,ue.BRAND,ce.WEATHER,ce.NATURE,ue.WEATHER,ce.OBJECTS,ce.MEDIA,ue.MEDIA,ce.COMMUNICATION,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.COMMUNICATION,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.COMMUNICATION,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.NATURE,ce.DEVELOPMENT,ce.OBJECTS,ce.HEALTH,ue.HEALTH,ce.BRAND,ce.OFFICE,ue.BRAND,ce.BRAND,ce.COMMUNICATION,ce.OFFICE,ue.BRAND,ce.BRAND,ce.OFFICE,ue.BRAND,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.BRAND,ce.EDITOR,ce.OFFICE,ue.BRAND,ce.DEVELOPMENT,ce.FINANCE,ce.SYSTEM,ue.FINANCE,ce.DEVELOPMENT,ce.FINANCE,ce.SYSTEM,ue.FINANCE,ce.FINANCE,ce.SYSTEM,ue.FINANCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.FINANCE,ce.COMMERCE,ue.COMMERCE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ce.MEDIA,ue.SYSTEM,ce.SYSTEM,ce.MEDIA,ue.SYSTEM,ce.NATURE,ce.SYSTEM,ce.WEATHER,ue.WEATHER,ce.NATURE,ce.WEATHER,ue.WEATHER,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.NATURE,ce.MAP,ue.WEATHER,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.MAP,ue.MAP,ce.OBJECTS,ce.COMMERCE,ue.COMMERCE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.SYSTEM,ce.EDITOR,ue.DESIGN,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.OFFICE,ce.EDITOR,ue.OFFICE,ce.SYSTEM,ue.SYSTEM,ce.BRAND,ue.BRAND,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.FINANCE,ue.FINANCE,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.OBJECTS,ce.SYSTEM,ue.SYSTEM,ce.BRAND,ue.BRAND,ce.DESIGN,ue.DESIGN,ce.OBJECTS,ce.COMMERCE,ue.COMMERCE,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.DEVELOPMENT,ce.BRAND,ue.BRAND,ce.SYSTEM,ce.EDITOR,ue.SYSTEM,ce.COMMERCE,ce.NATURE,ue.COMMERCE,ce.MAP,ce.COMMERCE,ce.NATURE,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.DEVELOPMENT,ce.OBJECTS,ue.COMMERCE,ce.DESIGN,ce.EDITOR,ce.OBJECTS,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OBJECTS,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OBJECTS,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OBJECTS,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OBJECTS,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OBJECTS,ue.DESIGN,ce.MEDIA,ue.MEDIA,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMUNICATION,ce.MAP,ce.OBJECTS,ue.COMMUNICATION,ce.COMMUNICATION,ce.MAP,ce.OBJECTS,ue.COMMUNICATION,ce.COMMUNICATION,ce.MAP,ce.OBJECTS,ue.COMMUNICATION,ce.COMMUNICATION,ce.EDITOR,ce.OFFICE,ce.OBJECTS,ue.OFFICE,ce.COMMUNICATION,ce.EDITOR,ce.OFFICE,ce.OBJECTS,ue.OFFICE,ce.OBJECTS,ce.DEVELOPMENT,ue.GAMES,ce.EDITOR,ue.OFFICE,ce.BRAND,ce.MEDIA,ce.DESIGN,ue.DESIGN,ce.MAP,ce.NATURE,ue.MAP,ce.SYSTEM,ue.SECURITY,ce.DESIGN,ce.MAP,ue.MAP,ce.BRAND,ue.BRAND,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.NATURE,ce.COMMERCE,ce.HEALTH,ue.WEATHER,ce.BRAND,ce.FINANCE,ce.COMMERCE,ue.BRAND,ce.COMMUNICATION,ue.COMMUNICATION,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ce.EDITOR,ce.OFFICE,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.GAMES,ce.DESIGN,ue.DESIGN,ce.COMMERCE,ce.NATURE,ue.COMMERCE,ce.DEVELOPMENT,ce.FINANCE,ue.FINANCE,ce.MAP,ce.PEOPLE,ue.PEOPLE,ce.HEALTH,ce.MAP,ce.PEOPLE,ue.PEOPLE,ce.MAP,ce.PEOPLE,ce.HEALTH,ue.PEOPLE,ce.MAP,ce.PEOPLE,ce.HEALTH,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.NATURE,ce.HEALTH,ce.MAP,ce.PEOPLE,ue.PEOPLE,ce.MAP,ce.PEOPLE,ce.HEALTH,ue.PEOPLE,ce.GAMES,ce.HEALTH,ue.GAMES,ce.GAMES,ce.HEALTH,ue.GAMES,ce.MAP,ce.PEOPLE,ce.HEALTH,ue.PEOPLE,ce.HEALTH,ce.MAP,ce.PEOPLE,ue.PEOPLE,ce.MAP,ce.PEOPLE,ce.HEALTH,ue.PEOPLE,ce.MAP,ce.PEOPLE,ce.HEALTH,ue.PEOPLE,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.BRAND,ue.BRAND,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.MAP,ce.NATURE,ue.COMMERCE,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.FINANCE,ce.OBJECTS,ue.COMMERCE,ce.HEALTH,ue.HEALTH,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.COMMERCE,ce.HEALTH,ce.OBJECTS,ue.COMMERCE,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.NATURE,ue.WEATHER,ce.COMMERCE,ce.NATURE,ue.WEATHER,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.SYSTEM,ce.OBJECTS,ue.SYSTEM,ce.DEVELOPMENT,ce.FINANCE,ce.SYSTEM,ue.FINANCE,ce.DEVELOPMENT,ce.FINANCE,ce.SYSTEM,ue.FINANCE,ce.DEVELOPMENT,ce.FINANCE,ue.FINANCE,ce.FINANCE,ce.DEVELOPMENT,ce.SYSTEM,ue.FINANCE,ce.GAMES,ue.GAMES,ce.MAP,ce.OBJECTS,ue.MAP,ce.DESIGN,ue.DESIGN,ce.MAP,ce.COMMERCE,ue.COMMERCE,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.COMMERCE,ce.NATURE,ue.COMMERCE,ce.SYSTEM,ue.SYSTEM,ce.HEALTH,ue.HEALTH,ce.FINANCE,ce.OFFICE,ue.OFFICE,ce.FINANCE,ce.OFFICE,ue.OFFICE,ce.EDITOR,ce.OFFICE,ue.OFFICE,ce.MAP,ce.SYSTEM,ue.SECURITY,ce.MAP,ce.SYSTEM,ue.SECURITY,ce.FINANCE,ce.MEDIA,ce.OFFICE,ue.OFFICE,ce.FINANCE,ce.OFFICE,ue.OFFICE,ce.HEALTH,ue.HEALTH,ce.OFFICE,ce.MAP,ce.OBJECTS,ue.OFFICE,ce.OFFICE,ce.MAP,ce.OBJECTS,ue.OFFICE,ce.OFFICE,ce.MAP,ce.OBJECTS,ue.OFFICE,ce.OFFICE,ce.MAP,ce.OBJECTS,ue.OFFICE,ce.GAMES,ce.DEVELOPMENT,ue.GAMES,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SECURITY,ce.SYSTEM,ue.SECURITY,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.COMMUNICATION,ce.EDITOR,ce.MEDIA,ue.COMMUNICATION,ce.NATURE,ue.WEATHER,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.DEVELOPMENT,ce.FINANCE,ue.FINANCE,ce.COMMUNICATION,ce.MEDIA,ce.OBJECTS,ue.COMMUNICATION,ce.SYSTEM,ue.SYSTEM,ce.NATURE,ce.HEALTH,ue.SECURITY,ce.WEATHER,ue.WEATHER,ce.WEATHER,ue.WEATHER,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.BRAND,ue.BRAND,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.COMMERCE,ce.FINANCE,ue.COMMERCE,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.ARROWS,ce.NATURE,ue.ARROWS,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.BRAND,ce.DEVELOPMENT,ue.BRAND,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MAP,ue.MAP,ce.DEVELOPMENT,ce.OBJECTS,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.MAP,ce.OBJECTS,ue.MAP,ce.DEVELOPMENT,ce.MAP,ce.OBJECTS,ue.MAP,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ue.COMMUNICATION,ce.OBJECTS,ue.COMMERCE,ce.DESIGN,ce.EDITOR,ce.OBJECTS,ue.DESIGN,ce.MAP,ce.OBJECTS,ue.MAP,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ce.PEOPLE,ue.SYSTEM,ce.DESIGN,ce.EDITOR,ce.OFFICE,ce.SYSTEM,ue.DESIGN,ce.MAP,ce.HEALTH,ue.MAP,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.DESIGN,ue.SECURITY,ce.DESIGN,ue.SECURITY,ce.DESIGN,ue.SECURITY,ce.DESIGN,ue.SECURITY,ce.DESIGN,ue.SECURITY,ce.MAP,ce.OBJECTS,ue.MAP,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.ARROWS,ce.SYSTEM,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.SYSTEM,ce.OBJECTS,ue.SECURITY,ce.SYSTEM,ce.OBJECTS,ue.SECURITY,ce.SYSTEM,ce.OBJECTS,ue.SECURITY,ce.SYSTEM,ce.OBJECTS,ue.SECURITY,ce.SYSTEM,ce.OBJECTS,ue.SECURITY,ce.SYSTEM,ce.OBJECTS,ue.SECURITY,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.SYSTEM,ce.OBJECTS,ue.SECURITY,ce.MAP,ce.OBJECTS,ce.COMMERCE,ue.MAP,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.NATURE,ue.WEATHER,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.NATURE,ue.WEATHER,ce.MEDIA,ce.ARROWS,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.ARROWS,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.ARROWS,ce.SYSTEM,ue.MEDIA,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.COMMUNICATION,ce.OFFICE,ue.COMMUNICATION,ce.MAP,ue.MAP,ce.COMMUNICATION,ce.SYSTEM,ue.SYSTEM,ce.OBJECTS,ce.MAP,ue.SECURITY,ce.DESIGN,ue.BRAND,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.GAMES,ue.GAMES,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.COMMUNICATION,ce.PEOPLE,ue.PEOPLE,ce.COMMUNICATION,ce.PEOPLE,ue.PEOPLE,ce.COMMUNICATION,ce.PEOPLE,ue.PEOPLE,ce.COMMUNICATION,ce.PEOPLE,ue.PEOPLE,ce.COMMUNICATION,ce.PEOPLE,ue.PEOPLE,ce.COMMUNICATION,ce.PEOPLE,ue.PEOPLE,ce.COMMUNICATION,ce.PEOPLE,ue.PEOPLE,ce.COMMUNICATION,ce.PEOPLE,ue.PEOPLE,ce.COMMUNICATION,ce.PEOPLE,ue.PEOPLE,ce.COMMUNICATION,ce.PEOPLE,ue.PEOPLE,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.COMMERCE,ce.OBJECTS,ce.HEALTH,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ce.HEALTH,ue.COMMERCE,ce.WEATHER,ue.WEATHER,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.EDITOR,ue.OFFICE,ce.EDITOR,ue.OFFICE,ce.BRAND,ce.MEDIA,ue.BRAND,ce.GAMES,ue.GAMES,ce.COMMUNICATION,ce.NATURE,ue.WEATHER,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.DEVELOPMENT,ce.OBJECTS,ce.SYSTEM,ue.SYSTEM,ce.DESIGN,ue.DESIGN,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.COMMUNICATION,ce.DESIGN,ue.GAMES,ce.ARROWS,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.ARROWS,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.BRAND,ce.MEDIA,ue.BRAND,ce.OBJECTS,ce.HEALTH,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.BRAND,ce.COMMERCE,ce.FINANCE,ue.BRAND,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.SYSTEM,ue.DESIGN,ce.DESIGN,ce.OFFICE,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.OFFICE,ce.EDITOR,ue.DESIGN,ce.BRAND,ce.DEVELOPMENT,ue.BRAND,ce.DESIGN,ce.OFFICE,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.OFFICE,ce.EDITOR,ue.DESIGN,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.DESIGN,ce.OBJECTS,ue.DESIGN,ce.MEDIA,ue.MEDIA,ce.COMMUNICATION,ce.MAP,ce.NATURE,ue.COMMUNICATION,ce.COMMUNICATION,ce.PEOPLE,ue.COMMUNICATION,ce.COMMUNICATION,ce.NATURE,ue.WEATHER,ce.COMMUNICATION,ue.COMMUNICATION,ce.COMMUNICATION,ce.PEOPLE,ue.COMMUNICATION,ce.BRAND,ce.GAMES,ue.BRAND,ce.MAP,ce.OBJECTS,ue.MAP,ce.COMMERCE,ce.OBJECTS,ue.MAP,ce.HEALTH,ce.OBJECTS,ue.HEALTH,ce.COMMUNICATION,ue.COMMUNICATION,ce.OBJECTS,ce.COMMERCE,ue.COMMERCE,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.GAMES,ce.FINANCE,ue.GAMES,ce.BRAND,ce.COMMERCE,ce.FINANCE,ue.BRAND,ce.PEOPLE,ue.EDUCATION,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.MAP,ce.OBJECTS,ue.MAP,ce.OFFICE,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.OFFICE,ce.OBJECTS,ue.MAP,ce.NATURE,ce.SYSTEM,ce.WEATHER,ue.WEATHER,ce.NATURE,ce.SYSTEM,ce.WEATHER,ue.WEATHER,ce.NATURE,ce.WEATHER,ue.WEATHER,ce.HEALTH,ce.OBJECTS,ue.COMMERCE,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.DESIGN,ce.EDITOR,ue.SYSTEM,ce.DESIGN,ce.EDITOR,ce.OBJECTS,ue.DESIGN,ce.HEALTH,ce.MAP,ce.GAMES,ue.MAP,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.MAP,ue.MAP,ce.HEALTH,ue.HEALTH,ce.OBJECTS,ce.COMMERCE,ue.COMMERCE,ce.FINANCE,ce.OFFICE,ce.EDITOR,ue.FINANCE,ce.SYSTEM,ue.SYSTEM,ce.COMMERCE,ce.DEVELOPMENT,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.DEVELOPMENT,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.DEVELOPMENT,ce.OBJECTS,ue.COMMERCE,ce.MAP,ce.OBJECTS,ue.GAMES,ce.MAP,ce.OBJECTS,ue.MAP,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.SYSTEM,ce.OBJECTS,ue.MEDIA,ce.SYSTEM,ce.OBJECTS,ue.MEDIA,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.HEALTH,ce.OBJECTS,ce.NATURE,ce.MAP,ue.MAP,ce.DEVELOPMENT,ce.SYSTEM,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.SYSTEM,ue.DEVELOPMENT,ce.DEVELOPMENT,ce.NATURE,ce.HEALTH,ce.OBJECTS,ue.HEALTH,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ce.FINANCE,ue.OFFICE,ce.DESIGN,ce.EDITOR,ce.FINANCE,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.DESIGN,ce.EDITOR,ue.OFFICE,ce.EDITOR,ce.SYSTEM,ue.OFFICE,ce.WEATHER,ce.HEALTH,ce.OBJECTS,ue.WEATHER,ce.WEATHER,ce.HEALTH,ce.OBJECTS,ue.WEATHER,ce.WEATHER,ce.HEALTH,ce.OBJECTS,ue.WEATHER,ce.WEATHER,ce.HEALTH,ce.OBJECTS,ue.WEATHER,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.MEDIA,ce.DEVELOPMENT,ue.MEDIA,ce.COMMUNICATION,ce.PEOPLE,ue.COMMUNICATION,ce.COMMUNICATION,ce.PEOPLE,ue.COMMUNICATION,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.BRAND,ce.MEDIA,ue.BRAND,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.COMMERCE,ce.FINANCE,ce.OBJECTS,ue.COMMERCE,ce.NATURE,ce.OBJECTS,ce.MAP,ue.MAP,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.HEALTH,ce.OBJECTS,ue.HEALTH,ce.HEALTH,ce.OBJECTS,ue.HEALTH,ce.OBJECTS,ce.SYSTEM,ce.COMMERCE,ue.COMMERCE,ce.HEALTH,ue.HEALTH,ce.WEATHER,ue.WEATHER,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ue.COMMERCE,ce.COMMERCE,ue.COMMERCE,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.MAP,ce.OBJECTS,ue.MAP,ce.COMMUNICATION,ce.SYSTEM,ue.COMMUNICATION,ce.OFFICE,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.COMMUNICATION,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.SYSTEM,ue.OFFICE,ce.OFFICE,ce.SYSTEM,ue.OFFICE,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.NATURE,ue.WEATHER,ce.NATURE,ue.WEATHER,ce.NATURE,ue.GAMES,ce.DEVELOPMENT,ce.OFFICE,ue.DEVELOPMENT,ce.SYSTEM,ue.SYSTEM,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.FINANCE,ce.OFFICE,ue.FINANCE,ce.DESIGN,ue.DESIGN,ce.DESIGN,ue.DESIGN,ce.OFFICE,ce.OBJECTS,ue.MAP,ce.OFFICE,ce.OBJECTS,ue.MAP,ce.GAMES,ce.OBJECTS,ue.GAMES,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.MAP,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.BRAND,ce.COMMUNICATION,ce.GAMES,ue.BRAND,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.OBJECTS,ce.WEATHER,ue.WEATHER,ce.OBJECTS,ce.WEATHER,ue.WEATHER,ce.FINANCE,ce.DEVELOPMENT,ue.FINANCE,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.DESIGN,ce.EDITOR,ue.DESIGN,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.OBJECTS,ce.SYSTEM,ue.SYSTEM,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.PEOPLE,ue.PEOPLE,ce.MAP,ce.OBJECTS,ue.MAP,ce.OBJECTS,ce.SYSTEM,ce.FINANCE,ue.SECURITY,ce.ARROWS,ce.DEVELOPMENT,ce.DESIGN,ue.ARROWS,ce.ARROWS,ce.DEVELOPMENT,ce.DESIGN,ue.ARROWS,ce.SYSTEM,ue.SYSTEM,ce.PEOPLE,ue.EDUCATION,ce.MEDIA,ce.SYSTEM,ce.OBJECTS,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ue.MEDIA,ce.MEDIA,ce.SYSTEM,ce.COMMUNICATION,ue.MEDIA,ce.DESIGN,ue.DESIGN,ce.MEDIA,ce.OFFICE,ue.MEDIA,ce.GAMES,ce.MEDIA,ue.GAMES,ce.HEALTH,ue.HEALTH,ce.DEVELOPMENT,ce.MEDIA,ce.OBJECTS,ue.MEDIA,ce.SYSTEM,ue.COMMUNICATION,ce.GAMES,ce.HEALTH,ce.OBJECTS,ue.GAMES,ce.OBJECTS,ce.SYSTEM,ue.SECURITY,ce.COMMERCE,ce.FINANCE,ce.OBJECTS,ue.COMMERCE,ce.COMMERCE,ce.MAP,ue.COMMERCE,ce.SYSTEM,ue.SECURITY,ce.SYSTEM,ue.SECURITY,ce.SYSTEM,ue.SECURITY,ce.SYSTEM,ue.SECURITY,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.SYSTEM,ce.OBJECTS,ue.TIME,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.MEDIA,ue.MEDIA,ce.NATURE,ce.WEATHER,ue.WEATHER,ce.OBJECTS,ce.SYSTEM,ce.COMMUNICATION,ue.MEDIA,ce.COMMUNICATION,ce.OBJECTS,ce.SYSTEM,ue.MEDIA,ce.DEVELOPMENT,ce.BRAND,ue.DEVELOPMENT,ce.BRAND,ue.BRAND,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.HEALTH,ce.MAP,ce.PEOPLE,ue.PEOPLE,ce.HEALTH,ce.MAP,ce.PEOPLE,ue.PEOPLE,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.SYSTEM,ue.SYSTEM,ce.WEATHER,ue.WEATHER,ce.COMMERCE,ue.COMMERCE,ce.BRAND,ce.DEVELOPMENT,ue.BRAND,ce.COMMERCE,ce.MAP,ce.OBJECTS,ue.COMMERCE,ce.SYSTEM,ce.OBJECTS,ce.COMMERCE,ue.COMMERCE,ce.DEVELOPMENT,ce.FINANCE,ce.SYSTEM,ue.FINANCE,ce.SYSTEM,ue.FINANCE,ce.BRAND,ce.COMMUNICATION,ue.BRAND,ce.SYSTEM,ue.FINANCE,ce.GAMES,ce.COMMERCE,ue.COMMERCE,ce.COMMUNICATION,ue.COMMUNICATION,ce.BRAND,ce.COMMUNICATION,ce.MEDIA,ue.BRAND;const de=({iconKey:e,weight:n=Ee.BOLD,className:r,title:o,"aria-hidden":a})=>{const i=`ph-${e}`,l=n===Ee.REGULAR?"ph":`ph-${n}`;return t("span",{className:k("in-flex-h-stack-center",i,l,r),title:o,"aria-hidden":a})},Oe=({iconKey:e,size:n=ee.LG,responsive:r,className:o})=>{const a=se({responsive:r,styles:le});return t(de,{iconKey:e,className:k(o,ae[n],a.map((e=>e)))})},Re=({variant:e=Q.FILLED,theme:t=Z.PRIMARY,size:n=ee.LG})=>{const r=re[t][e];s((()=>{if(!r)throw new Error(`${t} theme is not allowed for ${e}`);if(e===Q.FILLED&&n===ee.XS)throw new Error("extra small size is not allowed for filled button")}),[e,t,n])},pe=({variant:e=Q.FILLED,theme:t=Z.PRIMARY,size:n=ee.LG,disabled:r=!1,iconOption:o,iconPosition:a,responsive:i={}})=>{const{iconKey:l}=o??{},s=se({responsive:i,styles:ie}),{default:E,disabled:c,...u}=re[t][e]??{},d=({style:t})=>e===Q.TEXT?"":`${t.PADDING} ${t.ROUNDED}`;return k("in-flex-h-stack-center transition-colors",a===ne.RIGHT&&"flex-row-reverse",!!l&&[oe[n].GAP,s.map((e=>e.GAP))],[oe[n].DEFAULT,s.map((e=>e.DEFAULT))],[d({style:oe[n]}),s.map((e=>d({style:e})))],u,e===Q.OUTLINED&&"border",r?`${c} cursor-not-allowed`:`${E} cursor-pointer`)},fe=({label:e,type:r="button",className:o,ref:a,onClick:i,isPending:l=!1,disabled:s=!1,...E})=>{const{variant:c,theme:u,size:d,iconOption:O}=E,R=l?q:O?.iconKey,p=s||l;Re({variant:c,theme:u,size:d});return n("button",{className:k(o,pe({...E,iconOption:{iconKey:R},disabled:p})),disabled:p,ref:a,type:r,onClick:e=>{e.preventDefault(),p||i?.(e)},children:[R&&t(Oe,{iconKey:R,size:d,className:k(l&&"animate-spin"),responsive:E.responsive}),e]})},Ae={HOVER_GRAY:"hover-gray",HOVER_WHITE:"hover-white",BG_WHITE:"bg-white",WHITE:"white"},Se={[Ae.HOVER_GRAY]:"text-in-gray-06 hover:bg-in-primary-01 active:bg-in-primary-01 disabled:bg-transparent active:text-in-primary-05",[Ae.HOVER_WHITE]:"text-in-gray-06 active:text-in-primary-05 hover:bg-in-white",[Ae.BG_WHITE]:"text-in-gray-06 bg-in-white hover:bg-in-gray-01 disabled:bg-in-gray-01",[Ae.WHITE]:"text-in-white hover:text-in-gray-02 active:text-in-gray-02"};function Ce(){return"undefined"!=typeof window}function Me(e){return Ie(e)?(e.nodeName||"").toLowerCase():"#document";
|
|
2
|
+
// Mocked nodes in testing environments may not be instances of Node. By
|
|
3
|
+
// returning `#document` an infinite loop won't occur.
|
|
4
|
+
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
5
|
+
}function Te(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ne(e){var t;return null==(t=(Ie(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ie(e){return!!Ce()&&(e instanceof Node||e instanceof Te(e).Node)}function he(e){return!!Ce()&&(e instanceof Element||e instanceof Te(e).Element)}function me(e){return!!Ce()&&(e instanceof HTMLElement||e instanceof Te(e).HTMLElement)}function be(e){return!(!Ce()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Te(e).ShadowRoot)}function De(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Pe(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ge(e){return["table","td","th"].includes(Me(e))}function ye(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function _e(e){const t=Le(),n=he(e)?Pe(e):e;
|
|
6
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
7
|
+
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
8
|
+
return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Le(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ve(e){return["html","body","#document"].includes(Me(e))}function Pe(e){return Te(e).getComputedStyle(e)}function Fe(e){return he(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xe(e){if("html"===Me(e))return e;const t=
|
|
9
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
10
|
+
e.assignedSlot||
|
|
11
|
+
// DOM Element detected.
|
|
12
|
+
e.parentNode||
|
|
13
|
+
// ShadowRoot detected.
|
|
14
|
+
be(e)&&e.host||
|
|
15
|
+
// Fallback.
|
|
16
|
+
Ne(e);return be(t)?t.host:t}function Ye(e){const t=xe(e);return ve(t)?e.ownerDocument?e.ownerDocument.body:e.body:me(t)&&De(t)?t:Ye(t)}function we(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=Ye(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=Te(o);if(a){const e=Be(i);return t.concat(i,i.visualViewport||[],De(o)?o:[],e&&n?we(e):[])}return t.concat(o,we(o,[],n))}function Be(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}
|
|
17
|
+
/**
|
|
18
|
+
* Custom positioning reference element.
|
|
19
|
+
* @see https://floating-ui.com/docs/virtual-elements
|
|
20
|
+
*/const Ge=Math.min,Ue=Math.max,He=Math.round,$e=Math.floor,We=e=>({x:e,y:e}),ke={left:"right",right:"left",bottom:"top",top:"bottom"},je={start:"end",end:"start"};function Ve(e,t,n){return Ue(e,Ge(t,n))}function Je(e,t){return"function"==typeof e?e(t):e}function Ke(e){return e.split("-")[0]}function Xe(e){return e.split("-")[1]}function ze(e){return"x"===e?"y":"x"}function qe(e){return"y"===e?"height":"width"}function Qe(e){return["top","bottom"].includes(Ke(e))?"y":"x"}function Ze(e){return ze(Qe(e))}function et(e){return e.replace(/start|end/g,(e=>je[e]))}function tt(e){return e.replace(/left|right|bottom|top/g,(e=>ke[e]))}function nt(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}}
|
|
21
|
+
/*!
|
|
22
|
+
* tabbable 6.2.0
|
|
23
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
24
|
+
*/
|
|
25
|
+
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
|
26
|
+
// `:not([inert], [inert] *)` (Feb 2023)
|
|
27
|
+
// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes
|
|
28
|
+
// the entire query to fail, resulting in no nodes found, which will break a lot
|
|
29
|
+
// of things... so we have to rely on JS to identify nodes inside an inert container
|
|
30
|
+
var rt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),ot="undefined"==typeof Element,at=ot?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,it=!ot&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},lt=function e(t,n){var r;void 0===n&&(n=!0);
|
|
31
|
+
// CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`
|
|
32
|
+
// JS API property; we have to check the attribute, which can either be empty or 'true';
|
|
33
|
+
// if it's `null` (not specified) or 'false', it's an active element
|
|
34
|
+
var o=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");// recursive
|
|
35
|
+
return""===o||"true"===o||n&&t&&e(t.parentNode)},st=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!lt(i,!1))if("SLOT"===i.tagName){
|
|
36
|
+
// add shadow dom slot scope (slot itself cannot be focusable)
|
|
37
|
+
var l=i.assignedElements(),s=e(l.length?l:i.children,!0,r);r.flatten?o.push.apply(o,s):o.push({scopeParent:i,candidates:s})}else{at.call(i,rt)&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);
|
|
38
|
+
// iterate over shadow content if possible
|
|
39
|
+
var E=i.shadowRoot||
|
|
40
|
+
// check for an undisclosed shadow
|
|
41
|
+
"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),c=!lt(E,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));
|
|
42
|
+
// no inert look up because we're already drilling down and checking for inertness
|
|
43
|
+
// on the way down, so all containers to this root node should have already been
|
|
44
|
+
// vetted as non-inert
|
|
45
|
+
if(E&&c){
|
|
46
|
+
// add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed
|
|
47
|
+
// shadow exists, so look at light dom children as fallback BUT create a scope for any
|
|
48
|
+
// child candidates found because they're likely slotted elements (elements that are
|
|
49
|
+
// children of the web component element (which has the shadow), in the light dom, but
|
|
50
|
+
// slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,
|
|
51
|
+
// _after_ we return from this recursive call
|
|
52
|
+
var u=e(!0===E?i.children:E.children,!0,r);r.flatten?o.push.apply(o,u):o.push({scopeParent:i,candidates:u})}else
|
|
53
|
+
// there's not shadow so just dig into the element's (light dom) children
|
|
54
|
+
// __without__ giving the element special scope treatment
|
|
55
|
+
a.unshift.apply(a,i.children)}}return o},Et=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ct=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");
|
|
56
|
+
// CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have
|
|
57
|
+
// to use the attribute directly to check for this, which can either be empty or 'true';
|
|
58
|
+
// if it's `null` (not specified) or 'false', it's a non-editable element
|
|
59
|
+
return""===n||"true"===n}(e))&&!Et(e)?0:e.tabIndex},ut=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},dt=function(e){return"INPUT"===e.tagName},Ot=function(e){return function(e){return dt(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||it(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){
|
|
60
|
+
// eslint-disable-next-line no-console
|
|
61
|
+
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},Rt=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},pt=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;
|
|
62
|
+
// NOTE: visibility will be `undefined` if node is detached from the document
|
|
63
|
+
// (see notes about this further down), which means we will consider it visible
|
|
64
|
+
// (this is legacy behavior from a very long way back)
|
|
65
|
+
// NOTE: we check this regardless of `displayCheck="none"` because this is a
|
|
66
|
+
// _visibility_ check, not a _display_ check
|
|
67
|
+
if("hidden"===getComputedStyle(e).visibility)return!0;var o=at.call(e,"details>summary:first-of-type")?e.parentElement:e;if(at.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)
|
|
68
|
+
// NOTE: Even though this tests that the node's client rect is non-zero to determine
|
|
69
|
+
// whether it's displayed, and that a detached node will __always__ have a zero-area
|
|
70
|
+
// client rect, we don't special-case for whether the node is attached or not. In
|
|
71
|
+
// this mode, we do want to consider nodes that have a zero area to be hidden at all
|
|
72
|
+
// times, and that includes attached or not.
|
|
73
|
+
return Rt(e);
|
|
74
|
+
// visible, as far as we can tell, or per current `displayCheck=none` mode, we assume
|
|
75
|
+
// it's visible
|
|
76
|
+
}else{if("function"==typeof r){for(
|
|
77
|
+
// figure out if we should consider the node to be in an undisclosed shadow and use the
|
|
78
|
+
// 'non-zero-area' fallback
|
|
79
|
+
var a=e;e;){var i=e.parentElement,l=it(e);if(i&&!i.shadowRoot&&!0===r(i))
|
|
80
|
+
// node has an undisclosed shadow which means we can only treat it as a black box, so we
|
|
81
|
+
// fall back to a non-zero-area test
|
|
82
|
+
return Rt(e);
|
|
83
|
+
// iterate up slot
|
|
84
|
+
e=e.assignedSlot?e.assignedSlot:i||l===e.ownerDocument?i:l.host}e=a}
|
|
85
|
+
// else, `getShadowRoot` might be true, but all that does is enable shadow DOM support
|
|
86
|
+
// (i.e. it does not also presume that all nodes might have undisclosed shadows); or
|
|
87
|
+
// it might be a falsy value, which means shadow DOM support is disabled
|
|
88
|
+
// Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)
|
|
89
|
+
// now we can just test to see if it would normally be visible or not, provided it's
|
|
90
|
+
// attached to the main document.
|
|
91
|
+
// NOTE: We must consider case where node is inside a shadow DOM and given directly to
|
|
92
|
+
// `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.
|
|
93
|
+
if(function(e){var t,n,r,o,a=e&&it(e),i=null===(t=a)||void 0===t?void 0:t.host,l=!1;
|
|
94
|
+
// The root node is the shadow root if the node is in a shadow DOM; some document otherwise
|
|
95
|
+
// (but NOT _the_ document; see second 'If' comment below for more).
|
|
96
|
+
// If rootNode is shadow root, it'll have a host, which is the element to which the shadow
|
|
97
|
+
// is attached, and the one we need to check if it's in the document or not (because the
|
|
98
|
+
// shadow, and all nodes it contains, is never considered in the document since shadows
|
|
99
|
+
// behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,
|
|
100
|
+
// is hidden, or is not in the document itself but is detached, it will affect the shadow's
|
|
101
|
+
// visibility, including all the nodes it contains). The host could be any normal node,
|
|
102
|
+
// or a custom element (i.e. web component). Either way, that's the one that is considered
|
|
103
|
+
// part of the document, not the shadow root, nor any of its children (i.e. the node being
|
|
104
|
+
// tested).
|
|
105
|
+
// To further complicate things, we have to look all the way up until we find a shadow HOST
|
|
106
|
+
// that is attached (or find none) because the node might be in nested shadows...
|
|
107
|
+
// If rootNode is not a shadow root, it won't have a host, and so rootNode should be the
|
|
108
|
+
// document (per the docs) and while it's a Document-type object, that document does not
|
|
109
|
+
// appear to be the same as the node's `ownerDocument` for some reason, so it's safer
|
|
110
|
+
// to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,
|
|
111
|
+
// using `rootNode.contains(node)` will _always_ be true we'll get false-positives when
|
|
112
|
+
// node is actually detached.
|
|
113
|
+
// NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible
|
|
114
|
+
// if a tabbable/focusable node was quickly added to the DOM, focused, and then removed
|
|
115
|
+
// from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then
|
|
116
|
+
// `ownerDocument` will be `null`, hence the optional chaining on it.
|
|
117
|
+
if(a&&a!==e)for(l=!!(null!==(n=i)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(i)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!l&&i;){var s,E,c;
|
|
118
|
+
// since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,
|
|
119
|
+
// which means we need to get the host's host and check if that parent host is contained
|
|
120
|
+
// in (i.e. attached to) the document
|
|
121
|
+
l=!(null===(E=i=null===(s=a=it(i))||void 0===s?void 0:s.host)||void 0===E||null===(c=E.ownerDocument)||void 0===c||!c.contains(i))}return l}(e))
|
|
122
|
+
// this works wherever the node is: if there's at least one client rect, it's
|
|
123
|
+
// somehow displayed; it also covers the CSS 'display: contents' case where the
|
|
124
|
+
// node itself is hidden in place of its contents; and there's no need to search
|
|
125
|
+
// up the hierarchy either
|
|
126
|
+
return!e.getClientRects().length;
|
|
127
|
+
// Else, the node isn't attached to the document, which means the `getClientRects()`
|
|
128
|
+
// API will __always__ return zero rects (this can happen, for example, if React
|
|
129
|
+
// is used to render nodes onto a detached tree, as confirmed in this thread:
|
|
130
|
+
// https://github.com/facebook/react/issues/9117#issuecomment-284228870)
|
|
131
|
+
|
|
132
|
+
// It also means that even window.getComputedStyle(node).display will return `undefined`
|
|
133
|
+
// because styles are only computed for nodes that are in the document.
|
|
134
|
+
|
|
135
|
+
// NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable
|
|
136
|
+
// somehow. Though it was never stated officially, anyone who has ever used tabbable
|
|
137
|
+
// APIs on nodes in detached containers has actually implicitly used tabbable in what
|
|
138
|
+
// was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck="none"` mode -- essentially
|
|
139
|
+
// considering __everything__ to be visible because of the innability to determine styles.
|
|
140
|
+
|
|
141
|
+
// v6.0.0: As of this major release, the default 'full' option __no longer treats detached
|
|
142
|
+
// nodes as visible with the 'none' fallback.__
|
|
143
|
+
if("legacy-full"!==n)return!0;// hidden
|
|
144
|
+
// else, fallback to 'none' mode and consider the node visible
|
|
145
|
+
}return!1},ft=function(e,t){return!(t.disabled||
|
|
146
|
+
// we must do an inert look up to filter out any elements inside an inert ancestor
|
|
147
|
+
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
148
|
+
// note related to `candidateSelectors`)
|
|
149
|
+
lt(t)||function(e){return dt(e)&&"hidden"===e.type}(t)||pt(t,e)||
|
|
150
|
+
// For a details element with a summary, the summary element gets the focus
|
|
151
|
+
function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
|
|
152
|
+
// check if `node` is contained in a disabled <fieldset>
|
|
153
|
+
for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){
|
|
154
|
+
// look for the first <legend> among the children of the disabled <fieldset>
|
|
155
|
+
for(var n=0;n<t.children.length;n++){var r=t.children.item(n);
|
|
156
|
+
// when the first <legend> (in document order) is found
|
|
157
|
+
if("LEGEND"===r.tagName)
|
|
158
|
+
// if its parent <fieldset> is not nested in another disabled <fieldset>,
|
|
159
|
+
// return whether `node` is a descendant of its first <legend>
|
|
160
|
+
return!!at.call(t,"fieldset[disabled] *")||!r.contains(e)}
|
|
161
|
+
// the disabled <fieldset> containing `node` has no <legend>
|
|
162
|
+
return!0}t=t.parentElement}
|
|
163
|
+
// else, node's tabbable/focusable state should not be affected by a fieldset's
|
|
164
|
+
// enabled/disabled state
|
|
165
|
+
return!1}(t))},At=function(e,t){return!(Ot(t)||ct(t)<0||!ft(e,t))},St=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0);
|
|
166
|
+
// If a custom element has an explicit negative tabindex,
|
|
167
|
+
// browsers will not allow tab targeting said element's children.
|
|
168
|
+
},Ct=function e(t){var n=[],r=[];return t.forEach((function(t,o){var a=!!t.scopeParent,i=a?t.scopeParent:t,l=function(e,t){var n=ct(e);return n<0&&t&&!Et(e)?0:n}(i,a),s=a?e(t.candidates):i;0===l?a?n.push.apply(n,s):n.push(i):r.push({documentOrder:o,tabIndex:l,item:t,isScope:a,content:s})})),r.sort(ut).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},Mt=function(e,t){var n;return n=(t=t||{}).getShadowRoot?st([e],t.includeContainer,{filter:At.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:St}):function(e,t,n){
|
|
169
|
+
// even if `includeContainer=false`, we still have to check it for inertness because
|
|
170
|
+
// if it's inert, all its children are inert
|
|
171
|
+
if(lt(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(rt));return t&&at.call(e,rt)&&r.unshift(e),r.filter(n)}(e,t.includeContainer,At.bind(null,t)),Ct(n)};function Tt(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();
|
|
172
|
+
// First, attempt with faster native method
|
|
173
|
+
if(e.contains(t))return!0;
|
|
174
|
+
// then fallback to custom implementation with Shadow DOM support
|
|
175
|
+
if(n&&be(n)){let n=t;for(;n;){if(e===n)return!0;
|
|
176
|
+
// @ts-ignore
|
|
177
|
+
n=n.parentNode||n.host}}
|
|
178
|
+
// Give up, the result is false
|
|
179
|
+
return!1}function Nt(e){return(null==e?void 0:e.ownerDocument)||document}function It(e,t){
|
|
180
|
+
// On some Linux machines with Chromium, mouse inputs return a `pointerType`
|
|
181
|
+
// of "pen": https://github.com/floating-ui/floating-ui/issues/2015
|
|
182
|
+
const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}var ht="undefined"!=typeof document?E:s;
|
|
183
|
+
// https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379
|
|
184
|
+
function mt(e){const t=o.useRef(e);return ht((()=>{t.current=e})),t}const bt={...o}.useInsertionEffect||(e=>e());function Dt(e){const t=o.useRef((()=>{if("production"!==process.env.NODE_ENV)throw new Error("Cannot call an event handler while rendering.")}));return bt((()=>{t.current=e})),o.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const gt=()=>({getShadowRoot:!0,displayCheck:
|
|
185
|
+
// JSDOM does not support the `tabbable` library. To solve this we can
|
|
186
|
+
// check if `ResizeObserver` is a real function (not polyfilled), which
|
|
187
|
+
// determines if the current environment is JSDOM-like.
|
|
188
|
+
"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function yt(e,t){const n=Mt(e,gt()),r=n.length;if(0===r)return;const o=function(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}(Nt(e)),a=n.indexOf(o);return n[-1===a?1===t?0:r-1:a+t]}function _t(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!Tt(n,r)}function Lt(e){Mt(e,gt()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function vt(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}function Pt(e,t,n){let{reference:r,floating:o}=e;const a=Qe(t),i=Ze(t),l=qe(i),s=Ke(t),E="y"===a,c=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let O;switch(s){case"top":O={x:c,y:r.y-o.height};break;case"bottom":O={x:c,y:r.y+r.height};break;case"right":O={x:r.x+r.width,y:u};break;case"left":O={x:r.x-o.width,y:u};break;default:O={x:r.x,y:r.y}}switch(Xe(t)){case"start":O[i]-=d*(n&&E?-1:1);break;case"end":O[i]+=d*(n&&E?-1:1)}return O}
|
|
189
|
+
/**
|
|
190
|
+
* Computes the `x` and `y` coordinates that will place the floating element
|
|
191
|
+
* next to a given reference element.
|
|
192
|
+
*
|
|
193
|
+
* This export does not have any `platform` interface logic. You will need to
|
|
194
|
+
* write one for the platform you are using Floating UI with.
|
|
195
|
+
*/
|
|
196
|
+
/**
|
|
197
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
198
|
+
* element is overflowing a given clipping boundary on each side.
|
|
199
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
200
|
+
* - negative = how many pixels left before it will overflow
|
|
201
|
+
* - 0 = lies flush with the boundary
|
|
202
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
203
|
+
*/
|
|
204
|
+
async function Ft(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:E="clippingAncestors",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:d=!1,padding:O=0}=Je(t,e),R=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(O),p=l[d?"floating"===u?"reference":"floating":u],f=nt(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(p)))||n?p:p.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:E,rootBoundary:c,strategy:s})),A="floating"===u?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,S=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),C=await(null==a.isElement?void 0:a.isElement(S))&&await(null==a.getScale?void 0:a.getScale(S))||{x:1,y:1},M=nt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:A,offsetParent:S,strategy:s}):A);return{top:(f.top-M.top+R.top)/C.y,bottom:(M.bottom-f.bottom+R.bottom)/C.y,left:(f.left-M.left+R.left)/C.x,right:(M.right-f.right+R.right)/C.x}}
|
|
205
|
+
/**
|
|
206
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
207
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
208
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
209
|
+
* @see https://floating-ui.com/docs/flip
|
|
210
|
+
*/function xt(e){const t=Pe(e);
|
|
211
|
+
// In testing environments, the `width` and `height` properties are empty
|
|
212
|
+
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
213
|
+
let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=me(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=He(n)!==a||He(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function Yt(e){return he(e)?e:e.contextElement}function wt(e){const t=Yt(e);if(!me(t))return We(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=xt(t);let i=(a?He(n.width):n.width)/r,l=(a?He(n.height):n.height)/o;
|
|
214
|
+
// 0, NaN, or Infinity should always fallback to 1.
|
|
215
|
+
return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const Bt=We(0);function Gt(e){const t=Te(e);return Le()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Bt}function Ut(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=Yt(e);let i=We(1);t&&(r?he(r)&&(i=wt(r)):i=wt(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Te(e))&&t}(a,n,r)?Gt(a):We(0);let s=(o.left+l.x)/i.x,E=(o.top+l.y)/i.y,c=o.width/i.x,u=o.height/i.y;if(a){const e=Te(a),t=r&&he(r)?Te(r):r;let n=e,o=Be(n);for(;o&&r&&t!==n;){const e=wt(o),t=o.getBoundingClientRect(),r=Pe(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,E*=e.y,c*=e.x,u*=e.y,s+=a,E+=i,n=Te(o),o=Be(n)}}return nt({width:c,height:u,x:s,y:E})}
|
|
216
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
|
217
|
+
// incorrect for RTL.
|
|
218
|
+
function Ht(e,t){const n=Fe(e).scrollLeft;return t?t.left+n:Ut(Ne(e)).left+n}function $t(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:
|
|
219
|
+
// RTL <body> scrollbar.
|
|
220
|
+
Ht(e,r)),y:r.top+t.scrollTop}}function Wt(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Te(e),r=Ne(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;const e=Le();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l,y:s}}
|
|
221
|
+
// Returns the inner client rect, subtracting scrollbars if present.
|
|
222
|
+
(e,n);else if("document"===t)r=
|
|
223
|
+
// Gets the entire size of the scrollable document area, even extending outside
|
|
224
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
225
|
+
function(e){const t=Ne(e),n=Fe(e),r=e.ownerDocument.body,o=Ue(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Ue(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Ht(e);const l=-n.scrollTop;return"rtl"===Pe(r).direction&&(i+=Ue(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:l}}(Ne(e));else if(he(t))r=function(e,t){const n=Ut(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=me(e)?wt(e):We(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}}(t,n);else{const n=Gt(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return nt(r)}function kt(e,t){const n=xe(e);return!(n===t||!he(n)||ve(n))&&("fixed"===Pe(n).position||kt(n,t))}
|
|
226
|
+
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
227
|
+
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
228
|
+
// of the given element up the tree.
|
|
229
|
+
function jt(e,t,n){const r=me(t),o=Ne(t),a="fixed"===n,i=Ut(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=We(0);
|
|
230
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
231
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
232
|
+
function E(){s.x=Ht(o)}if(r||!r&&!a)if(("body"!==Me(t)||De(o))&&(l=Fe(t)),r){const e=Ut(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&E();a&&!r&&o&&E();const c=!o||r||a?We(0):$t(o,l);return{x:i.left+l.scrollLeft-s.x-c.x,y:i.top+l.scrollTop-s.y-c.y,width:i.width,height:i.height}}function Vt(e){return"static"===Pe(e).position}function Jt(e,t){if(!me(e)||"fixed"===Pe(e).position)return null;if(t)return t(e);let n=e.offsetParent;
|
|
233
|
+
// Firefox returns the <html> element as the offsetParent if it's non-static,
|
|
234
|
+
// while Chrome and Safari return the <body> element. The <body> element must
|
|
235
|
+
// be used to perform the correct calculations even if the <html> element is
|
|
236
|
+
// non-static.
|
|
237
|
+
return Ne(e)===n&&(n=n.ownerDocument.body),n}
|
|
238
|
+
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
239
|
+
// such as table ancestors and cross browser bugs.
|
|
240
|
+
function Kt(e,t){const n=Te(e);if(ye(e))return n;if(!me(e)){let t=xe(e);for(;t&&!ve(t);){if(he(t)&&!Vt(t))return t;t=xe(t)}return n}let r=Jt(e,t);for(;r&&ge(r)&&Vt(r);)r=Jt(r,t);return r&&ve(r)&&Vt(r)&&!_e(r)?n:r||function(e){let t=xe(e);for(;me(t)&&!ve(t);){if(_e(t))return t;if(ye(t))return null;t=xe(t)}return null}(e)||n}const Xt={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a="fixed"===o,i=Ne(r),l=!!t&&ye(t.floating);if(r===i||l&&a)return n;let s={scrollLeft:0,scrollTop:0},E=We(1);const c=We(0),u=me(r);if((u||!u&&!a)&&(("body"!==Me(r)||De(i))&&(s=Fe(r)),me(r))){const e=Ut(r);E=wt(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}const d=!i||u||a?We(0):$t(i,s,!0);return{width:n.width*E.x,height:n.height*E.y,x:n.x*E.x-s.scrollLeft*E.x+c.x+d.x,y:n.y*E.y-s.scrollTop*E.y+c.y+d.y}},getDocumentElement:Ne,getClippingRect:
|
|
241
|
+
// Gets the maximum area that the element is visible in due to any number of
|
|
242
|
+
// clipping ancestors.
|
|
243
|
+
function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[..."clippingAncestors"===n?ye(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=we(e,[],!1).filter((e=>he(e)&&"body"!==Me(e))),o=null;const a="fixed"===Pe(e).position;let i=a?xe(e):e;
|
|
244
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
245
|
+
for(;he(i)&&!ve(i);){const t=Pe(i),n=_e(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||De(i)&&!n&&kt(e,i))?
|
|
246
|
+
// Drop non-containing blocks.
|
|
247
|
+
r=r.filter((e=>e!==i)):
|
|
248
|
+
// Record last containing block for next iteration.
|
|
249
|
+
o=t,i=xe(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce(((e,n)=>{const r=Wt(t,n,o);return e.top=Ue(r.top,e.top),e.right=Ge(r.right,e.right),e.bottom=Ge(r.bottom,e.bottom),e.left=Ue(r.left,e.left),e}),Wt(t,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Kt,getElementRects:async function(e){const t=this.getOffsetParent||Kt,n=this.getDimensions,r=await n(e.floating);return{reference:jt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=xt(e);return{width:t,height:n}},getScale:wt,isElement:he,isRTL:function(e){return"rtl"===Pe(e).direction}};function zt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}
|
|
250
|
+
// https://samthor.au/2021/observing-dom/
|
|
251
|
+
/**
|
|
252
|
+
* Automatically updates the position of the floating element when necessary.
|
|
253
|
+
* Should only be called when the floating element is mounted on the DOM or
|
|
254
|
+
* visible on the screen.
|
|
255
|
+
* @returns cleanup function that should be invoked when the floating element is
|
|
256
|
+
* removed from the DOM or hidden from the screen.
|
|
257
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
258
|
+
*/
|
|
259
|
+
function qt(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,E=Yt(e),c=o||a?[...E?we(E):[],...we(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const u=E&&l?function(e,t){let n,r=null;const o=Ne(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),a();const E=e.getBoundingClientRect(),{left:c,top:u,width:d,height:O}=E;if(l||t(),!d||!O)return;const R={rootMargin:-$e(u)+"px "+-$e(o.clientWidth-(c+d))+"px "+-$e(o.clientHeight-(u+O))+"px "+-$e(c)+"px",threshold:Ue(0,Ge(1,s))||1};let p=!0;function f(t){const r=t[0].intersectionRatio;if(r!==s){if(!p)return i();r?i(!1,r):
|
|
260
|
+
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
261
|
+
// to prevent an infinite loop of updates.
|
|
262
|
+
n=setTimeout((()=>{i(!1,1e-7)}),1e3)}1!==r||zt(E,e.getBoundingClientRect())||
|
|
263
|
+
// It's possible that even though the ratio is reported as 1, the
|
|
264
|
+
// element is not actually fully within the IntersectionObserver's root
|
|
265
|
+
// area anymore. This can happen under performance constraints. This may
|
|
266
|
+
// be a bug in the browser's IntersectionObserver implementation. To
|
|
267
|
+
// work around this, we compare the element's bounding rect now with
|
|
268
|
+
// what it was at the time we created the IntersectionObserver. If they
|
|
269
|
+
// are not equal then the element moved, so we refresh.
|
|
270
|
+
i(),p=!1}
|
|
271
|
+
// Older browsers don't support a `document` as the root and will throw an
|
|
272
|
+
// error.
|
|
273
|
+
try{r=new IntersectionObserver(f,{...R,
|
|
274
|
+
// Handle <iframe>s
|
|
275
|
+
root:o.ownerDocument})}catch(e){r=new IntersectionObserver(f,R)}r.observe(e)}(!0),a}(E,n):null;let d,O=-1,R=null;i&&(R=new ResizeObserver((e=>{let[r]=e;r&&r.target===E&&R&&(
|
|
276
|
+
// Prevent update loops when using the `size` middleware.
|
|
277
|
+
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
278
|
+
R.unobserve(t),cancelAnimationFrame(O),O=requestAnimationFrame((()=>{var e;null==(e=R)||e.observe(t)}))),n()})),E&&!s&&R.observe(E),R.observe(t));let p=s?Ut(e):null;return s&&function t(){const r=Ut(e);p&&!zt(p,r)&&n();p=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==u||u(),null==(e=R)||e.disconnect(),R=null,s&&cancelAnimationFrame(d)}}
|
|
279
|
+
/**
|
|
280
|
+
* Modifies the placement by translating the floating element along the
|
|
281
|
+
* specified axes.
|
|
282
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
283
|
+
* object may be passed.
|
|
284
|
+
* @see https://floating-ui.com/docs/offset
|
|
285
|
+
*/const Qt=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:i,middlewareData:l}=t,s=
|
|
286
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
287
|
+
// Derivable.
|
|
288
|
+
await async function(e,t){const{placement:n,platform:r,elements:o}=e,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=Ke(n),l=Xe(n),s="y"===Qe(n),E=["left","top"].includes(i)?-1:1,c=a&&s?-1:1,u=Je(t,e);
|
|
289
|
+
// eslint-disable-next-line prefer-const
|
|
290
|
+
let{mainAxis:d,crossAxis:O,alignmentAxis:R}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&"number"==typeof R&&(O="end"===l?-1*R:R),s?{x:O*c,y:d*E}:{x:d*E,y:O*c}}
|
|
291
|
+
/**
|
|
292
|
+
* Modifies the placement by translating the floating element along the
|
|
293
|
+
* specified axes.
|
|
294
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
295
|
+
* object may be passed.
|
|
296
|
+
* @see https://floating-ui.com/docs/offset
|
|
297
|
+
*/(t,e);
|
|
298
|
+
// If the placement is the same and the arrow caused an alignment offset
|
|
299
|
+
// then we don't need to change the positioning coordinates.
|
|
300
|
+
return i===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}},Zt=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=Je(e,t),E={x:n,y:r},c=await Ft(t,s),u=Qe(Ke(o)),d=ze(u);let O=E[d],R=E[u];if(a){const e="y"===d?"bottom":"right";O=Ve(O+c["y"===d?"top":"left"],O,O-c[e])}if(i){const e="y"===u?"bottom":"right";R=Ve(R+c["y"===u?"top":"left"],R,R-c[e])}const p=l.fn({...t,[d]:O,[u]:R});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[d]:a,[u]:i}}}}}},en=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:l,platform:s,elements:E}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:p=!0,...f}=Je(e,t);
|
|
301
|
+
// If a reset by the arrow was caused due to an alignment offset being
|
|
302
|
+
// added, we should skip any logic now since `flip()` has already done its
|
|
303
|
+
// work.
|
|
304
|
+
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
305
|
+
if(null!=(n=a.arrow)&&n.alignmentOffset)return{};const A=Ke(o),S=Qe(l),C=Ke(l)===l,M=await(null==s.isRTL?void 0:s.isRTL(E.floating)),T=d||(C||!p?[tt(l)]:function(e){const t=tt(e);return[et(e),t,et(t)]}(l)),N="none"!==R;!d&&N&&T.push(...function(e,t,n,r){const o=Xe(e);let a=function(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}(Ke(e),"start"===n,r);return o&&(a=a.map((e=>e+"-"+o)),t&&(a=a.concat(a.map(et)))),a}(l,p,R,M));const I=[l,...T],h=await Ft(t,f),m=[];let b=(null==(r=a.flip)?void 0:r.overflows)||[];if(c&&m.push(h[A]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=Xe(e),o=Ze(e),a=qe(o);let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=tt(i)),[i,tt(i)]}(o,i,M);m.push(h[e[0]],h[e[1]])}
|
|
306
|
+
// One or more sides is overflowing.
|
|
307
|
+
if(b=[...b,{placement:o,overflows:m}],!m.every((e=>e<=0))){var D,g;const e=((null==(D=a.flip)?void 0:D.index)||0)+1,t=I[e];if(t){var y;const n="alignment"===u&&S!==Qe(t),r=(null==(y=b[0])?void 0:y.overflows[0])>0;if(!n||r)
|
|
308
|
+
// Try next placement and re-run the lifecycle.
|
|
309
|
+
return{data:{index:e,overflows:b},reset:{placement:t}}}
|
|
310
|
+
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
311
|
+
// then find the placement that fits the best on the main crossAxis side.
|
|
312
|
+
let n=null==(g=b.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:g.placement;
|
|
313
|
+
// Otherwise fallback.
|
|
314
|
+
if(!n)switch(O){case"bestFit":{var _;const e=null==(_=b.filter((e=>{if(N){const t=Qe(e.placement);return t===S||
|
|
315
|
+
// Create a bias to the `y` side axis due to horizontal
|
|
316
|
+
// reading directions favoring greater width.
|
|
317
|
+
"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:_[0];e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}},tn=(e,t,n)=>{
|
|
318
|
+
// This caches the expensive `getClippingElementAncestors` function so that
|
|
319
|
+
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
320
|
+
// single call. If other functions become expensive, we can add them as well.
|
|
321
|
+
const r=new Map,o={platform:Xt,...n},a={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),s=await(null==i.isRTL?void 0:i.isRTL(t));let E=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:u}=Pt(E,r,s),d=r,O={},R=0;for(let n=0;n<l.length;n++){const{name:a,fn:p}=l[n],{x:f,y:A,data:S,reset:C}=await p({x:c,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:O,rects:E,platform:i,elements:{reference:e,floating:t}});c=null!=f?f:c,u=null!=A?A:u,O={...O,[a]:{...O[a],...S}},C&&R<=50&&(R++,"object"==typeof C&&(C.placement&&(d=C.placement),C.rects&&(E=!0===C.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):C.rects),({x:c,y:u}=Pt(E,d,s))),n=-1)}return{x:c,y:u,placement:d,strategy:o,middlewareData:O}})(e,t,{...o,platform:a})};
|
|
322
|
+
/**
|
|
323
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
324
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
325
|
+
* @see https://floating-ui.com/docs/shift
|
|
326
|
+
*/var nn="undefined"!=typeof document?E:s;
|
|
327
|
+
// Fork of `fast-deep-equal` that only does the comparisons we need and compares
|
|
328
|
+
// functions
|
|
329
|
+
function rn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!rn(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;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!rn(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function on(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function an(e,t){const n=on(e);return Math.round(t*n)/n}function ln(e){const t=o.useRef(e);return nn((()=>{t.current=e})),t}
|
|
330
|
+
/**
|
|
331
|
+
* Provides data to position a floating element.
|
|
332
|
+
* @see https://floating-ui.com/docs/useFloating
|
|
333
|
+
*/
|
|
334
|
+
/**
|
|
335
|
+
* Modifies the placement by translating the floating element along the
|
|
336
|
+
* specified axes.
|
|
337
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
338
|
+
* object may be passed.
|
|
339
|
+
* @see https://floating-ui.com/docs/offset
|
|
340
|
+
*/
|
|
341
|
+
const sn=(e,t)=>({...Zt(e),options:[e,t]})
|
|
342
|
+
/**
|
|
343
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
344
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
345
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
346
|
+
* @see https://floating-ui.com/docs/flip
|
|
347
|
+
*/,En=(e,t)=>({...en(e),options:[e,t]}),cn="data-floating-ui-focusable",un="active",dn="selected",On={...o};
|
|
348
|
+
/**
|
|
349
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
350
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
351
|
+
* @see https://floating-ui.com/docs/shift
|
|
352
|
+
*/let Rn=!1,pn=0;const fn=()=>// Ensure the id is unique with multiple independent versions of Floating UI
|
|
353
|
+
// on <React 18
|
|
354
|
+
"floating-ui-"+Math.random().toString(36).slice(2,6)+pn++;const An=On.useId||function(){const[e,t]=o.useState((()=>Rn?fn():void 0));return ht((()=>{null==e&&t(fn());
|
|
355
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
356
|
+
}),[]),o.useEffect((()=>{Rn=!0}),[]),e};
|
|
357
|
+
/**
|
|
358
|
+
* Uses React 18's built-in `useId()` when available, or falls back to a
|
|
359
|
+
* slightly less performant (requiring a double render) implementation for
|
|
360
|
+
* earlier React versions.
|
|
361
|
+
* @see https://floating-ui.com/docs/react-utils#useid
|
|
362
|
+
*/let Sn;"production"!==process.env.NODE_ENV&&(Sn=new Set);const Cn=o.createContext(null),Mn=o.createContext(null),Tn=()=>{var e;return(null==(e=o.useContext(Cn))?void 0:e.id)||null},Nn=()=>o.useContext(Mn);function In(e){return"data-floating-ui-"+e}function hn(e){-1!==e.current&&(clearTimeout(e.current),e.current=-1)}const mn=In("safe-polygon");function bn(e,t,n){if(n&&!It(n))return 0;if("number"==typeof e)return e;if("function"==typeof e){const n=e();return"number"==typeof n?n:null==n?void 0:n[t]}return null==e?void 0:e[t]}function Dn(e){return"function"==typeof e?e():e}
|
|
363
|
+
/**
|
|
364
|
+
* Opens the floating element while hovering over the reference element, like
|
|
365
|
+
* CSS `:hover`.
|
|
366
|
+
* @see https://floating-ui.com/docs/useHover
|
|
367
|
+
*/function gn(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();
|
|
368
|
+
// First, attempt with faster native method
|
|
369
|
+
if(e.contains(t))return!0;
|
|
370
|
+
// then fallback to custom implementation with Shadow DOM support
|
|
371
|
+
if(n&&be(n)){let n=t;for(;n;){if(e===n)return!0;
|
|
372
|
+
// @ts-ignore
|
|
373
|
+
n=n.parentNode||n.host}}
|
|
374
|
+
// Give up, the result is false
|
|
375
|
+
return!1}const yn={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},_n=o.forwardRef((function(e,n){const[r,a]=o.useState();ht((()=>{/apple/i.test(navigator.vendor)&&
|
|
376
|
+
// Unlike other screen readers such as NVDA and JAWS, the virtual cursor
|
|
377
|
+
// on VoiceOver does trigger the onFocus event, so we can use the focus
|
|
378
|
+
// trap element. On Safari, only buttons trigger the onFocus event.
|
|
379
|
+
// NB: "group" role in the Sandbox no longer appears to work, must be a
|
|
380
|
+
// button role.
|
|
381
|
+
a("button")}),[]);const i={ref:n,tabIndex:0,
|
|
382
|
+
// Role is only for VoiceOver
|
|
383
|
+
role:r,"aria-hidden":!r||void 0,[In("focus-guard")]:"",style:yn};
|
|
384
|
+
return t("span",{...e,...i})})),Ln=o.createContext(null),vn=In("portal");
|
|
385
|
+
/**
|
|
386
|
+
* Portals the floating element into a given container element — by default,
|
|
387
|
+
* outside of the app root and into the body.
|
|
388
|
+
* This is necessary to ensure the floating element can appear outside any
|
|
389
|
+
* potential parent containers that cause clipping (such as `overflow: hidden`),
|
|
390
|
+
* while retaining its location in the React tree.
|
|
391
|
+
* @see https://floating-ui.com/docs/FloatingPortal
|
|
392
|
+
*/
|
|
393
|
+
function Pn(e){const{children:r,id:a,root:i,preserveTabOrder:l=!0}=e,s=
|
|
394
|
+
/**
|
|
395
|
+
* @see https://floating-ui.com/docs/FloatingPortal#usefloatingportalnode
|
|
396
|
+
*/
|
|
397
|
+
function(e){void 0===e&&(e={});const{id:t,root:n}=e,r=An(),a=Fn(),[i,l]=o.useState(null),s=o.useRef(null);return ht((()=>()=>{null==i||i.remove(),
|
|
398
|
+
// Allow the subsequent layout effects to create a new node on updates.
|
|
399
|
+
// The portal node will still be cleaned up on unmount.
|
|
400
|
+
// https://github.com/floating-ui/floating-ui/issues/2454
|
|
401
|
+
queueMicrotask((()=>{s.current=null}))}),[i]),ht((()=>{
|
|
402
|
+
// Wait for the uniqueId to be generated before creating the portal node in
|
|
403
|
+
// React <18 (using `useFloatingId` instead of the native `useId`).
|
|
404
|
+
// https://github.com/floating-ui/floating-ui/issues/2778
|
|
405
|
+
if(!r)return;if(s.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=r,n.setAttribute(vn,""),e.appendChild(n),s.current=n,l(n)}),[t,r]),ht((()=>{
|
|
406
|
+
// Wait for the root to exist before creating the portal node. The root must
|
|
407
|
+
// be stored in state, not a ref, for this to work reactively.
|
|
408
|
+
if(null===n)return;if(!r)return;if(s.current)return;let e=n||(null==a?void 0:a.portalNode);e&&!he(e)&&(e=e.current),e=e||document.body;let o=null;t&&(o=document.createElement("div"),o.id=t,e.appendChild(o));const i=document.createElement("div");i.id=r,i.setAttribute(vn,""),e=o||e,e.appendChild(i),s.current=i,l(i)}),[t,n,r,a]),i}({id:a,root:i}),[E,c]=o.useState(null),u=o.useRef(null),d=o.useRef(null),O=o.useRef(null),R=o.useRef(null),p=null==E?void 0:E.modal,f=null==E?void 0:E.open,A=
|
|
409
|
+
// The FocusManager and therefore floating element are currently open/
|
|
410
|
+
// rendered.
|
|
411
|
+
!!E&&
|
|
412
|
+
// Guards are only for non-modal focus management.
|
|
413
|
+
!E.modal&&
|
|
414
|
+
// Don't render if unmount is transitioning.
|
|
415
|
+
E.open&&l&&!(!i&&!s);
|
|
416
|
+
// https://codesandbox.io/s/tabbable-portal-f4tng?file=/src/TabbablePortal.tsx
|
|
417
|
+
return o.useEffect((()=>{if(s&&l&&!p)
|
|
418
|
+
// Listen to the event on the capture phase so they run before the focus
|
|
419
|
+
// trap elements onFocus prop is called.
|
|
420
|
+
return s.addEventListener("focusin",e,!0),s.addEventListener("focusout",e,!0),()=>{s.removeEventListener("focusin",e,!0),s.removeEventListener("focusout",e,!0)};
|
|
421
|
+
// Make sure elements inside the portal element are tabbable only when the
|
|
422
|
+
// portal has already been focused, either by tabbing into a focus trap
|
|
423
|
+
// element outside or using the mouse.
|
|
424
|
+
function e(e){if(s&&_t(e)){("focusin"===e.type?vt:Lt)(s)}}}),[s,l,p]),o.useEffect((()=>{s&&(f||vt(s))}),[f,s]),n(Ln.Provider,{value:o.useMemo((()=>({preserveTabOrder:l,beforeOutsideRef:u,afterOutsideRef:d,beforeInsideRef:O,afterInsideRef:R,portalNode:s,setFocusManagerState:c})),[l,s]),children:[A&&s&&t(_n,{"data-type":"outside",ref:u,onFocus:e=>{if(_t(e,s)){var t;null==(t=O.current)||t.focus()}else{const e=E?E.domReference:null,t=yt(Nt(n=e).body,-1)||n;null==t||t.focus()}var n}}),A&&s&&t("span",{"aria-owns":s.id,style:yn}),s&&M.createPortal(r,s),A&&s&&t(_n,{"data-type":"outside",ref:d,onFocus:e=>{if(_t(e,s)){var t;null==(t=R.current)||t.focus()}else{const t=E?E.domReference:null,r=yt(Nt(n=t).body,1)||n;null==r||r.focus(),(null==E?void 0:E.closeOnFocusOut)&&(null==E||E.onOpenChange(!1,e.nativeEvent,"focus-out"))}var n}})]})}const Fn=()=>o.useContext(Ln);function xn(e){const{open:t=!1,onOpenChange:n,elements:r}=e,a=An(),i=o.useRef({}),[l]=o.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}())),s=null!=Tn();if("production"!==process.env.NODE_ENV){const e=r.reference;e&&!he(e)&&function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");var a;null!=(e=Sn)&&e.has(o)||(null==(a=Sn)||a.add(o),console.error(o))}("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[E,c]=o.useState(r.reference),u=Dt(((e,t,r)=>{i.current.openEvent=e?t:void 0,l.emit("openchange",{open:e,event:t,reason:r,nested:s}),null==n||n(e,t,r)})),d=o.useMemo((()=>({setPositionReference:c})),[]),O=o.useMemo((()=>({reference:E||r.reference||null,floating:r.floating||null,domReference:r.reference})),[E,r.reference,r.floating]);return o.useMemo((()=>({dataRef:i,open:t,onOpenChange:u,elements:O,events:l,floatingId:a,refs:d})),[t,u,O,l,a,d])}
|
|
425
|
+
/**
|
|
426
|
+
* Provides data to position a floating element and context to add interactions.
|
|
427
|
+
* @see https://floating-ui.com/docs/useFloating
|
|
428
|
+
*/function Yn(e){void 0===e&&(e={});const{nodeId:t}=e,n=xn({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,a=r.elements,[i,l]=o.useState(null),[s,E]=o.useState(null),c=(null==a?void 0:a.domReference)||i,u=o.useRef(null),d=Nn();ht((()=>{c&&(u.current=c)}),[c]);const O=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:E,open:c}=e,[u,d]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[O,R]=o.useState(r);rn(O,r)||R(r);const[p,f]=o.useState(null),[A,S]=o.useState(null),C=o.useCallback((e=>{e!==h.current&&(h.current=e,f(e))}),[]),T=o.useCallback((e=>{e!==m.current&&(m.current=e,S(e))}),[]),N=i||p,I=l||A,h=o.useRef(null),m=o.useRef(null),b=o.useRef(u),D=null!=E,g=ln(E),y=ln(a),_=ln(c),L=o.useCallback((()=>{if(!h.current||!m.current)return;const e={placement:t,strategy:n,middleware:O};y.current&&(e.platform=y.current),tn(h.current,m.current,e).then((e=>{const t={...e,
|
|
429
|
+
// The floating element's position may be recomputed while it's closed
|
|
430
|
+
// but still mounted (such as when transitioning out). To ensure
|
|
431
|
+
// `isPositioned` will be `false` initially on the next open, avoid
|
|
432
|
+
// setting it to `true` when `open === false` (must be specified).
|
|
433
|
+
isPositioned:!1!==_.current};v.current&&!rn(b.current,t)&&(b.current=t,M.flushSync((()=>{d(t)})))}))}),[O,t,n,y,_]);nn((()=>{!1===c&&b.current.isPositioned&&(b.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[c]);const v=o.useRef(!1);nn((()=>(v.current=!0,()=>{v.current=!1})),[]),nn((()=>{if(N&&(h.current=N),I&&(m.current=I),N&&I){if(g.current)return g.current(N,I,L);L()}}),[N,I,L,g,D]);const P=o.useMemo((()=>({reference:h,floating:m,setReference:C,setFloating:T})),[C,T]),F=o.useMemo((()=>({reference:N,floating:I})),[N,I]),x=o.useMemo((()=>{const e={position:n,left:0,top:0};if(!F.floating)return e;const t=an(F.floating,u.x),r=an(F.floating,u.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...on(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,s,F.floating,u.x,u.y]);return o.useMemo((()=>({...u,update:L,refs:P,elements:F,floatingStyles:x})),[u,L,P,F,x])}({...e,elements:{...a,...s&&{reference:s}}}),R=o.useCallback((e=>{const t=he(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;
|
|
434
|
+
// Store the positionReference in state if the DOM reference is specified externally via the
|
|
435
|
+
// `elements.reference` option. This ensures that it won't be overridden on future renders.
|
|
436
|
+
E(t),O.refs.setReference(t)}),[O.refs]),p=o.useCallback((e=>{(he(e)||null===e)&&(u.current=e,l(e)),
|
|
437
|
+
// Backwards-compatibility for passing a virtual element to `reference`
|
|
438
|
+
// after it has set the DOM reference.
|
|
439
|
+
(he(O.refs.reference.current)||null===O.refs.reference.current||
|
|
440
|
+
// Don't allow setting virtual elements using the old technique back to
|
|
441
|
+
// `null` to support `positionReference` + an unstable `reference`
|
|
442
|
+
// callback ref.
|
|
443
|
+
null!==e&&!he(e))&&O.refs.setReference(e)}),[O.refs]),f=o.useMemo((()=>({...O.refs,setReference:p,setPositionReference:R,domReference:u})),[O.refs,p,R]),A=o.useMemo((()=>({...O.elements,domReference:c})),[O.elements,c]),S=o.useMemo((()=>({...O,...r,refs:f,elements:A,nodeId:t})),[O,f,A,t,r]);return ht((()=>{r.dataRef.current.floatingContext=S;const e=null==d?void 0:d.nodesRef.current.find((e=>e.id===t));e&&(e.context=S)})),o.useMemo((()=>({...O,context:S,refs:f,elements:A})),[O,f,A,S])}function wn(e,t,n){const r=new Map,o="item"===n;let a=e;if(o&&e){const{[un]:t,[dn]:n,...r}=e;a=r}return{..."floating"===n&&{tabIndex:-1,[cn]:""},...a,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,a]=t;var i;o&&[un,dn].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof a&&(null==(i=r.get(n))||i.push(a),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=a)})),e):e),{})}}
|
|
444
|
+
/**
|
|
445
|
+
* Merges an array of interaction hooks' props into prop getters, allowing
|
|
446
|
+
* event handler functions to be composed together without overwriting one
|
|
447
|
+
* another.
|
|
448
|
+
* @see https://floating-ui.com/docs/useInteractions
|
|
449
|
+
*/function Bn(e,t){const[n,r]=e;let o=!1;const a=t.length;for(let e=0,i=a-1;e<a;i=e++){const[a,l]=t[e]||[0,0],[s,E]=t[i]||[0,0];l>=r!=E>=r&&n<=(s-a)*(r-l)/(E-l)+a&&(o=!o)}return o}
|
|
450
|
+
/**
|
|
451
|
+
* Generates a safe polygon area that the user can traverse without closing the
|
|
452
|
+
* floating element once leaving the reference element.
|
|
453
|
+
* @see https://floating-ui.com/docs/useHover#safepolygon
|
|
454
|
+
*/
|
|
455
|
+
function Gn(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,a=!1,i=null,l=null,s=performance.now();const E=e=>{let{x:n,y:E,placement:c,elements:u,onClose:d,nodeId:O,tree:R}=e;return function(e){function p(){clearTimeout(o),d()}if(clearTimeout(o),!u.domReference||!u.floating||null==c||null==n||null==E)return;const{clientX:f,clientY:A}=e,S=[f,A],C=function(e){return"composedPath"in e?e.composedPath()[0]:e.target;
|
|
456
|
+
// TS thinks `event` is of type never as it assumes all browsers support
|
|
457
|
+
// `composedPath()`, but browsers without shadow DOM don't.
|
|
458
|
+
}(e),M="mouseleave"===e.type,T=gn(u.floating,C),N=gn(u.domReference,C),I=u.domReference.getBoundingClientRect(),h=u.floating.getBoundingClientRect(),m=c.split("-")[0],b=n>h.right-h.width/2,D=E>h.bottom-h.height/2,g=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(S,I),y=h.width>I.width,_=h.height>I.height,L=(y?I:h).left,v=(y?I:h).right,P=(_?I:h).top,F=(_?I:h).bottom;if(T&&(a=!0,!M))return;if(N&&(a=!1),N&&!M)return void(a=!0);
|
|
459
|
+
// Prevent overlapping floating element from being stuck in an open-close
|
|
460
|
+
// loop: https://github.com/floating-ui/floating-ui/issues/1910
|
|
461
|
+
if(M&&he(e.relatedTarget)&&gn(u.floating,e.relatedTarget))return;
|
|
462
|
+
// If any nested child is open, abort.
|
|
463
|
+
if(R&&function(e,t,n){void 0===n&&(n=!0);let r=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),o=r;for(;o.length;)o=n?e.filter((e=>{var t;return null==(t=o)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})):e,r=r.concat(o);return r}(R.nodesRef.current,O).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;
|
|
464
|
+
// If the pointer is leaving from the opposite side, the "buffer" logic
|
|
465
|
+
// creates a point where the floating element remains open, but should be
|
|
466
|
+
// ignored.
|
|
467
|
+
// A constant of 1 handles floating point rounding errors.
|
|
468
|
+
if("top"===m&&E>=I.bottom-1||"bottom"===m&&E<=I.top+1||"left"===m&&n>=I.right-1||"right"===m&&n<=I.left+1)return p();
|
|
469
|
+
// Ignore when the cursor is within the rectangular trough between the
|
|
470
|
+
// two elements. Since the triangle is created from the cursor point,
|
|
471
|
+
// which can start beyond the ref element's edge, traversing back and
|
|
472
|
+
// forth from the ref to the floating element can cause it to close. This
|
|
473
|
+
// ensures it always remains open in that case.
|
|
474
|
+
let x=[];switch(m){case"top":x=[[L,I.top+1],[L,h.bottom-1],[v,h.bottom-1],[v,I.top+1]];break;case"bottom":x=[[L,h.top+1],[L,I.bottom-1],[v,I.bottom-1],[v,h.top+1]];break;case"left":x=[[h.right-1,F],[h.right-1,P],[I.left+1,P],[I.left+1,F]];break;case"right":x=[[I.right-1,F],[I.right-1,P],[h.left+1,P],[h.left+1,F]]}if(!Bn([f,A],x)){if(a&&!g)return p();if(!M&&r){const t=function(e,t){const n=performance.now(),r=n-s;if(null===i||null===l||0===r)return i=e,l=t,s=n,null;const o=e-i,a=t-l,E=Math.sqrt(o*o+a*a);// px / ms
|
|
475
|
+
return i=e,l=t,s=n,E/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return p()}Bn([f,A],function(e){let[n,r]=e;switch(m){case"top":return[[y?n+t/2:b?n+4*t:n-4*t,r+t+1],[y?n-t/2:b?n+4*t:n-4*t,r+t+1],...[[h.left,b||y?h.bottom-t:h.top],[h.right,b?y?h.bottom-t:h.top:h.bottom-t]]];case"bottom":return[[y?n+t/2:b?n+4*t:n-4*t,r-t],[y?n-t/2:b?n+4*t:n-4*t,r-t],...[[h.left,b||y?h.top+t:h.bottom],[h.right,b?y?h.top+t:h.bottom:h.top+t]]];case"left":{const e=[n+t+1,_?r+t/2:D?r+4*t:r-4*t],o=[n+t+1,_?r-t/2:D?r+4*t:r-4*t];return[...[[D||_?h.right-t:h.left,h.top],[D?_?h.right-t:h.left:h.right-t,h.bottom]],e,o]}case"right":return[[n-t,_?r+t/2:D?r+4*t:r-4*t],[n-t,_?r-t/2:D?r+4*t:r-4*t],...[[D||_?h.left+t:h.right,h.top],[D?_?h.left+t:h.right:h.left+t,h.bottom]]]}}([n,E]))?!a&&r&&(o=window.setTimeout(p,40)):p()}}};return E.__options={blockPointerEvents:n},E}const Un={BLACK:"black",WHITE:"white",PRIMARY_01:"primary-01",PRIMARY_02:"primary-02",PRIMARY_03:"primary-03",PRIMARY_04:"primary-04",PRIMARY_05:"primary-05",PRIMARY_06:"primary-06",PRIMARY_07:"primary-07",PRIMARY_08:"primary-08",PRIMARY_09:"primary-09",PRIMARY_10:"primary-10",PRIMARY_11:"primary-11",GRAY_01:"gray-01",GRAY_02:"gray-02",GRAY_03:"gray-03",GRAY_04:"gray-04",GRAY_05:"gray-05",GRAY_06:"gray-06",GRAY_07:"gray-07",GRAY_08:"gray-08",GRAY_09:"gray-09",RED_01:"red-01",RED_02:"red-02",RED_03:"red-03",RED_04:"red-04",RED_05:"red-05",RED_06:"red-06",RED_07:"red-07",RED_08:"red-08",RED_09:"red-09",YELLOW_01:"yellow-01",YELLOW_02:"yellow-02",YELLOW_03:"yellow-03",YELLOW_04:"yellow-04",YELLOW_05:"yellow-05",YELLOW_06:"yellow-06",YELLOW_07:"yellow-07",YELLOW_08:"yellow-08",YELLOW_09:"yellow-09",GREEN_01:"green-01",GREEN_02:"green-02",GREEN_03:"green-03",GREEN_04:"green-04",GREEN_05:"green-05",GREEN_06:"green-06",GREEN_07:"green-07",GREEN_08:"green-08",GREEN_09:"green-09"},Hn={TEXT:"TEXT",BACKGROUND:"BACKGROUND",BORDER:"BORDER",FILL:"FILL",PLACEHOLDER:"PLACEHOLDER"},$n={[Hn.TEXT]:"text-in-",[Hn.BACKGROUND]:"bg-in-",[Hn.BORDER]:"border-in-",[Hn.FILL]:"fill-in-",[Hn.PLACEHOLDER]:"placeholder-in-"},Wn={[Hn.TEXT]:{[Un.BLACK]:`${$n.TEXT}${Un.BLACK}`,[Un.WHITE]:`${$n.TEXT}${Un.WHITE}`,[Un.PRIMARY_01]:`${$n.TEXT}${Un.PRIMARY_01}`,[Un.PRIMARY_02]:`${$n.TEXT}${Un.PRIMARY_02}`,[Un.PRIMARY_03]:`${$n.TEXT}${Un.PRIMARY_03}`,[Un.PRIMARY_04]:`${$n.TEXT}${Un.PRIMARY_04}`,[Un.PRIMARY_05]:`${$n.TEXT}${Un.PRIMARY_05}`,[Un.PRIMARY_06]:`${$n.TEXT}${Un.PRIMARY_06}`,[Un.PRIMARY_07]:`${$n.TEXT}${Un.PRIMARY_07}`,[Un.PRIMARY_08]:`${$n.TEXT}${Un.PRIMARY_08}`,[Un.PRIMARY_09]:`${$n.TEXT}${Un.PRIMARY_09}`,[Un.PRIMARY_10]:`${$n.TEXT}${Un.PRIMARY_10}`,[Un.PRIMARY_11]:`${$n.TEXT}${Un.PRIMARY_11}`,[Un.GRAY_01]:`${$n.TEXT}${Un.GRAY_01}`,[Un.GRAY_02]:`${$n.TEXT}${Un.GRAY_02}`,[Un.GRAY_03]:`${$n.TEXT}${Un.GRAY_03}`,[Un.GRAY_04]:`${$n.TEXT}${Un.GRAY_04}`,[Un.GRAY_05]:`${$n.TEXT}${Un.GRAY_05}`,[Un.GRAY_06]:`${$n.TEXT}${Un.GRAY_06}`,[Un.GRAY_07]:`${$n.TEXT}${Un.GRAY_07}`,[Un.GRAY_08]:`${$n.TEXT}${Un.GRAY_08}`,[Un.GRAY_09]:`${$n.TEXT}${Un.GRAY_09}`,[Un.RED_01]:`${$n.TEXT}${Un.RED_01}`,[Un.RED_02]:`${$n.TEXT}${Un.RED_02}`,[Un.RED_03]:`${$n.TEXT}${Un.RED_03}`,[Un.RED_04]:`${$n.TEXT}${Un.RED_04}`,[Un.RED_05]:`${$n.TEXT}${Un.RED_05}`,[Un.RED_06]:`${$n.TEXT}${Un.RED_06}`,[Un.RED_07]:`${$n.TEXT}${Un.RED_07}`,[Un.RED_08]:`${$n.TEXT}${Un.RED_08}`,[Un.RED_09]:`${$n.TEXT}${Un.RED_09}`,[Un.YELLOW_01]:`${$n.TEXT}${Un.YELLOW_01}`,[Un.YELLOW_02]:`${$n.TEXT}${Un.YELLOW_02}`,[Un.YELLOW_03]:`${$n.TEXT}${Un.YELLOW_03}`,[Un.YELLOW_04]:`${$n.TEXT}${Un.YELLOW_04}`,[Un.YELLOW_05]:`${$n.TEXT}${Un.YELLOW_05}`,[Un.YELLOW_06]:`${$n.TEXT}${Un.YELLOW_06}`,[Un.YELLOW_07]:`${$n.TEXT}${Un.YELLOW_07}`,[Un.YELLOW_08]:`${$n.TEXT}${Un.YELLOW_08}`,[Un.YELLOW_09]:`${$n.TEXT}${Un.YELLOW_09}`,[Un.GREEN_01]:`${$n.TEXT}${Un.GREEN_01}`,[Un.GREEN_02]:`${$n.TEXT}${Un.GREEN_02}`,[Un.GREEN_03]:`${$n.TEXT}${Un.GREEN_03}`,[Un.GREEN_04]:`${$n.TEXT}${Un.GREEN_04}`,[Un.GREEN_05]:`${$n.TEXT}${Un.GREEN_05}`,[Un.GREEN_06]:`${$n.TEXT}${Un.GREEN_06}`,[Un.GREEN_07]:`${$n.TEXT}${Un.GREEN_07}`,[Un.GREEN_08]:`${$n.TEXT}${Un.GREEN_08}`,[Un.GREEN_09]:`${$n.TEXT}${Un.GREEN_09}`},[Hn.BACKGROUND]:{[Un.BLACK]:`${$n.BACKGROUND}${Un.BLACK}`,[Un.WHITE]:`${$n.BACKGROUND}${Un.WHITE}`,[Un.PRIMARY_01]:`${$n.BACKGROUND}${Un.PRIMARY_01}`,[Un.PRIMARY_02]:`${$n.BACKGROUND}${Un.PRIMARY_02}`,[Un.PRIMARY_03]:`${$n.BACKGROUND}${Un.PRIMARY_03}`,[Un.PRIMARY_04]:`${$n.BACKGROUND}${Un.PRIMARY_04}`,[Un.PRIMARY_05]:`${$n.BACKGROUND}${Un.PRIMARY_05}`,[Un.PRIMARY_06]:`${$n.BACKGROUND}${Un.PRIMARY_06}`,[Un.PRIMARY_07]:`${$n.BACKGROUND}${Un.PRIMARY_07}`,[Un.PRIMARY_08]:`${$n.BACKGROUND}${Un.PRIMARY_08}`,[Un.PRIMARY_09]:`${$n.BACKGROUND}${Un.PRIMARY_09}`,[Un.PRIMARY_10]:`${$n.BACKGROUND}${Un.PRIMARY_10}`,[Un.PRIMARY_11]:`${$n.BACKGROUND}${Un.PRIMARY_11}`,[Un.GRAY_01]:`${$n.BACKGROUND}${Un.GRAY_01}`,[Un.GRAY_02]:`${$n.BACKGROUND}${Un.GRAY_02}`,[Un.GRAY_03]:`${$n.BACKGROUND}${Un.GRAY_03}`,[Un.GRAY_04]:`${$n.BACKGROUND}${Un.GRAY_04}`,[Un.GRAY_05]:`${$n.BACKGROUND}${Un.GRAY_05}`,[Un.GRAY_06]:`${$n.BACKGROUND}${Un.GRAY_06}`,[Un.GRAY_07]:`${$n.BACKGROUND}${Un.GRAY_07}`,[Un.GRAY_08]:`${$n.BACKGROUND}${Un.GRAY_08}`,[Un.GRAY_09]:`${$n.BACKGROUND}${Un.GRAY_09}`,[Un.RED_01]:`${$n.BACKGROUND}${Un.RED_01}`,[Un.RED_02]:`${$n.BACKGROUND}${Un.RED_02}`,[Un.RED_03]:`${$n.BACKGROUND}${Un.RED_03}`,[Un.RED_04]:`${$n.BACKGROUND}${Un.RED_04}`,[Un.RED_05]:`${$n.BACKGROUND}${Un.RED_05}`,[Un.RED_06]:`${$n.BACKGROUND}${Un.RED_06}`,[Un.RED_07]:`${$n.BACKGROUND}${Un.RED_07}`,[Un.RED_08]:`${$n.BACKGROUND}${Un.RED_08}`,[Un.RED_09]:`${$n.BACKGROUND}${Un.RED_09}`,[Un.YELLOW_01]:`${$n.BACKGROUND}${Un.YELLOW_01}`,[Un.YELLOW_02]:`${$n.BACKGROUND}${Un.YELLOW_02}`,[Un.YELLOW_03]:`${$n.BACKGROUND}${Un.YELLOW_03}`,[Un.YELLOW_04]:`${$n.BACKGROUND}${Un.YELLOW_04}`,[Un.YELLOW_05]:`${$n.BACKGROUND}${Un.YELLOW_05}`,[Un.YELLOW_06]:`${$n.BACKGROUND}${Un.YELLOW_06}`,[Un.YELLOW_07]:`${$n.BACKGROUND}${Un.YELLOW_07}`,[Un.YELLOW_08]:`${$n.BACKGROUND}${Un.YELLOW_08}`,[Un.YELLOW_09]:`${$n.BACKGROUND}${Un.YELLOW_09}`,[Un.GREEN_01]:`${$n.BACKGROUND}${Un.GREEN_01}`,[Un.GREEN_02]:`${$n.BACKGROUND}${Un.GREEN_02}`,[Un.GREEN_03]:`${$n.BACKGROUND}${Un.GREEN_03}`,[Un.GREEN_04]:`${$n.BACKGROUND}${Un.GREEN_04}`,[Un.GREEN_05]:`${$n.BACKGROUND}${Un.GREEN_05}`,[Un.GREEN_06]:`${$n.BACKGROUND}${Un.GREEN_06}`,[Un.GREEN_07]:`${$n.BACKGROUND}${Un.GREEN_07}`,[Un.GREEN_08]:`${$n.BACKGROUND}${Un.GREEN_08}`,[Un.GREEN_09]:`${$n.BACKGROUND}${Un.GREEN_09}`},[Hn.BORDER]:{[Un.BLACK]:`${$n.BORDER}${Un.BLACK}`,[Un.WHITE]:`${$n.BORDER}${Un.WHITE}`,[Un.PRIMARY_01]:`${$n.BORDER}${Un.PRIMARY_01}`,[Un.PRIMARY_02]:`${$n.BORDER}${Un.PRIMARY_02}`,[Un.PRIMARY_03]:`${$n.BORDER}${Un.PRIMARY_03}`,[Un.PRIMARY_04]:`${$n.BORDER}${Un.PRIMARY_04}`,[Un.PRIMARY_05]:`${$n.BORDER}${Un.PRIMARY_05}`,[Un.PRIMARY_06]:`${$n.BORDER}${Un.PRIMARY_06}`,[Un.PRIMARY_07]:`${$n.BORDER}${Un.PRIMARY_07}`,[Un.PRIMARY_08]:`${$n.BORDER}${Un.PRIMARY_08}`,[Un.PRIMARY_09]:`${$n.BORDER}${Un.PRIMARY_09}`,[Un.PRIMARY_10]:`${$n.BORDER}${Un.PRIMARY_10}`,[Un.PRIMARY_11]:`${$n.BORDER}${Un.PRIMARY_11}`,[Un.GRAY_01]:`${$n.BORDER}${Un.GRAY_01}`,[Un.GRAY_02]:`${$n.BORDER}${Un.GRAY_02}`,[Un.GRAY_03]:`${$n.BORDER}${Un.GRAY_03}`,[Un.GRAY_04]:`${$n.BORDER}${Un.GRAY_04}`,[Un.GRAY_05]:`${$n.BORDER}${Un.GRAY_05}`,[Un.GRAY_06]:`${$n.BORDER}${Un.GRAY_06}`,[Un.GRAY_07]:`${$n.BORDER}${Un.GRAY_07}`,[Un.GRAY_08]:`${$n.BORDER}${Un.GRAY_08}`,[Un.GRAY_09]:`${$n.BORDER}${Un.GRAY_09}`,[Un.RED_01]:`${$n.BORDER}${Un.RED_01}`,[Un.RED_02]:`${$n.BORDER}${Un.RED_02}`,[Un.RED_03]:`${$n.BORDER}${Un.RED_03}`,[Un.RED_04]:`${$n.BORDER}${Un.RED_04}`,[Un.RED_05]:`${$n.BORDER}${Un.RED_05}`,[Un.RED_06]:`${$n.BORDER}${Un.RED_06}`,[Un.RED_07]:`${$n.BORDER}${Un.RED_07}`,[Un.RED_08]:`${$n.BORDER}${Un.RED_08}`,[Un.RED_09]:`${$n.BORDER}${Un.RED_09}`,[Un.YELLOW_01]:`${$n.BORDER}${Un.YELLOW_01}`,[Un.YELLOW_02]:`${$n.BORDER}${Un.YELLOW_02}`,[Un.YELLOW_03]:`${$n.BORDER}${Un.YELLOW_03}`,[Un.YELLOW_04]:`${$n.BORDER}${Un.YELLOW_04}`,[Un.YELLOW_05]:`${$n.BORDER}${Un.YELLOW_05}`,[Un.YELLOW_06]:`${$n.BORDER}${Un.YELLOW_06}`,[Un.YELLOW_07]:`${$n.BORDER}${Un.YELLOW_07}`,[Un.YELLOW_08]:`${$n.BORDER}${Un.YELLOW_08}`,[Un.YELLOW_09]:`${$n.BORDER}${Un.YELLOW_09}`,[Un.GREEN_01]:`${$n.BORDER}${Un.GREEN_01}`,[Un.GREEN_02]:`${$n.BORDER}${Un.GREEN_02}`,[Un.GREEN_03]:`${$n.BORDER}${Un.GREEN_03}`,[Un.GREEN_04]:`${$n.BORDER}${Un.GREEN_04}`,[Un.GREEN_05]:`${$n.BORDER}${Un.GREEN_05}`,[Un.GREEN_06]:`${$n.BORDER}${Un.GREEN_06}`,[Un.GREEN_07]:`${$n.BORDER}${Un.GREEN_07}`,[Un.GREEN_08]:`${$n.BORDER}${Un.GREEN_08}`,[Un.GREEN_09]:`${$n.BORDER}${Un.GREEN_09}`},[Hn.FILL]:{[Un.BLACK]:`${$n.FILL}${Un.BLACK}`,[Un.WHITE]:`${$n.FILL}${Un.WHITE}`,[Un.PRIMARY_01]:`${$n.FILL}${Un.PRIMARY_01}`,[Un.PRIMARY_02]:`${$n.FILL}${Un.PRIMARY_02}`,[Un.PRIMARY_03]:`${$n.FILL}${Un.PRIMARY_03}`,[Un.PRIMARY_04]:`${$n.FILL}${Un.PRIMARY_04}`,[Un.PRIMARY_05]:`${$n.FILL}${Un.PRIMARY_05}`,[Un.PRIMARY_06]:`${$n.FILL}${Un.PRIMARY_06}`,[Un.PRIMARY_07]:`${$n.FILL}${Un.PRIMARY_07}`,[Un.PRIMARY_08]:`${$n.FILL}${Un.PRIMARY_08}`,[Un.PRIMARY_09]:`${$n.FILL}${Un.PRIMARY_09}`,[Un.PRIMARY_10]:`${$n.FILL}${Un.PRIMARY_10}`,[Un.PRIMARY_11]:`${$n.FILL}${Un.PRIMARY_11}`,[Un.GRAY_01]:`${$n.FILL}${Un.GRAY_01}`,[Un.GRAY_02]:`${$n.FILL}${Un.GRAY_02}`,[Un.GRAY_03]:`${$n.FILL}${Un.GRAY_03}`,[Un.GRAY_04]:`${$n.FILL}${Un.GRAY_04}`,[Un.GRAY_05]:`${$n.FILL}${Un.GRAY_05}`,[Un.GRAY_06]:`${$n.FILL}${Un.GRAY_06}`,[Un.GRAY_07]:`${$n.FILL}${Un.GRAY_07}`,[Un.GRAY_08]:`${$n.FILL}${Un.GRAY_08}`,[Un.GRAY_09]:`${$n.FILL}${Un.GRAY_09}`,[Un.RED_01]:`${$n.FILL}${Un.RED_01}`,[Un.RED_02]:`${$n.FILL}${Un.RED_02}`,[Un.RED_03]:`${$n.FILL}${Un.RED_03}`,[Un.RED_04]:`${$n.FILL}${Un.RED_04}`,[Un.RED_05]:`${$n.FILL}${Un.RED_05}`,[Un.RED_06]:`${$n.FILL}${Un.RED_06}`,[Un.RED_07]:`${$n.FILL}${Un.RED_07}`,[Un.RED_08]:`${$n.FILL}${Un.RED_08}`,[Un.RED_09]:`${$n.FILL}${Un.RED_09}`,[Un.YELLOW_01]:`${$n.FILL}${Un.YELLOW_01}`,[Un.YELLOW_02]:`${$n.FILL}${Un.YELLOW_02}`,[Un.YELLOW_03]:`${$n.FILL}${Un.YELLOW_03}`,[Un.YELLOW_04]:`${$n.FILL}${Un.YELLOW_04}`,[Un.YELLOW_05]:`${$n.FILL}${Un.YELLOW_05}`,[Un.YELLOW_06]:`${$n.FILL}${Un.YELLOW_06}`,[Un.YELLOW_07]:`${$n.FILL}${Un.YELLOW_07}`,[Un.YELLOW_08]:`${$n.FILL}${Un.YELLOW_08}`,[Un.YELLOW_09]:`${$n.FILL}${Un.YELLOW_09}`,[Un.GREEN_01]:`${$n.FILL}${Un.GREEN_01}`,[Un.GREEN_02]:`${$n.FILL}${Un.GREEN_02}`,[Un.GREEN_03]:`${$n.FILL}${Un.GREEN_03}`,[Un.GREEN_04]:`${$n.FILL}${Un.GREEN_04}`,[Un.GREEN_05]:`${$n.FILL}${Un.GREEN_05}`,[Un.GREEN_06]:`${$n.FILL}${Un.GREEN_06}`,[Un.GREEN_07]:`${$n.FILL}${Un.GREEN_07}`,[Un.GREEN_08]:`${$n.FILL}${Un.GREEN_08}`,[Un.GREEN_09]:`${$n.FILL}${Un.GREEN_09}`},[Hn.PLACEHOLDER]:{[Un.BLACK]:`${$n.PLACEHOLDER}${Un.BLACK}`,[Un.WHITE]:`${$n.PLACEHOLDER}${Un.WHITE}`,[Un.PRIMARY_01]:`${$n.PLACEHOLDER}${Un.PRIMARY_01}`,[Un.PRIMARY_02]:`${$n.PLACEHOLDER}${Un.PRIMARY_02}`,[Un.PRIMARY_03]:`${$n.PLACEHOLDER}${Un.PRIMARY_03}`,[Un.PRIMARY_04]:`${$n.PLACEHOLDER}${Un.PRIMARY_04}`,[Un.PRIMARY_05]:`${$n.PLACEHOLDER}${Un.PRIMARY_05}`,[Un.PRIMARY_06]:`${$n.PLACEHOLDER}${Un.PRIMARY_06}`,[Un.PRIMARY_07]:`${$n.PLACEHOLDER}${Un.PRIMARY_07}`,[Un.PRIMARY_08]:`${$n.PLACEHOLDER}${Un.PRIMARY_08}`,[Un.PRIMARY_09]:`${$n.PLACEHOLDER}${Un.PRIMARY_09}`,[Un.PRIMARY_10]:`${$n.PLACEHOLDER}${Un.PRIMARY_10}`,[Un.PRIMARY_11]:`${$n.PLACEHOLDER}${Un.PRIMARY_11}`,[Un.GRAY_01]:`${$n.PLACEHOLDER}${Un.GRAY_01}`,[Un.GRAY_02]:`${$n.PLACEHOLDER}${Un.GRAY_02}`,[Un.GRAY_03]:`${$n.PLACEHOLDER}${Un.GRAY_03}`,[Un.GRAY_04]:`${$n.PLACEHOLDER}${Un.GRAY_04}`,[Un.GRAY_05]:`${$n.PLACEHOLDER}${Un.GRAY_05}`,[Un.GRAY_06]:`${$n.PLACEHOLDER}${Un.GRAY_06}`,[Un.GRAY_07]:`${$n.PLACEHOLDER}${Un.GRAY_07}`,[Un.GRAY_08]:`${$n.PLACEHOLDER}${Un.GRAY_08}`,[Un.GRAY_09]:`${$n.PLACEHOLDER}${Un.GRAY_09}`,[Un.RED_01]:`${$n.PLACEHOLDER}${Un.RED_01}`,[Un.RED_02]:`${$n.PLACEHOLDER}${Un.RED_02}`,[Un.RED_03]:`${$n.PLACEHOLDER}${Un.RED_03}`,[Un.RED_04]:`${$n.PLACEHOLDER}${Un.RED_04}`,[Un.RED_05]:`${$n.PLACEHOLDER}${Un.RED_05}`,[Un.RED_06]:`${$n.PLACEHOLDER}${Un.RED_06}`,[Un.RED_07]:`${$n.PLACEHOLDER}${Un.RED_07}`,[Un.RED_08]:`${$n.PLACEHOLDER}${Un.RED_08}`,[Un.RED_09]:`${$n.PLACEHOLDER}${Un.RED_09}`,[Un.YELLOW_01]:`${$n.PLACEHOLDER}${Un.YELLOW_01}`,[Un.YELLOW_02]:`${$n.PLACEHOLDER}${Un.YELLOW_02}`,[Un.YELLOW_03]:`${$n.PLACEHOLDER}${Un.YELLOW_03}`,[Un.YELLOW_04]:`${$n.PLACEHOLDER}${Un.YELLOW_04}`,[Un.YELLOW_05]:`${$n.PLACEHOLDER}${Un.YELLOW_05}`,[Un.YELLOW_06]:`${$n.PLACEHOLDER}${Un.YELLOW_06}`,[Un.YELLOW_07]:`${$n.PLACEHOLDER}${Un.YELLOW_07}`,[Un.YELLOW_08]:`${$n.PLACEHOLDER}${Un.YELLOW_08}`,[Un.YELLOW_09]:`${$n.PLACEHOLDER}${Un.YELLOW_09}`,[Un.GREEN_01]:`${$n.PLACEHOLDER}${Un.GREEN_01}`,[Un.GREEN_02]:`${$n.PLACEHOLDER}${Un.GREEN_02}`,[Un.GREEN_03]:`${$n.PLACEHOLDER}${Un.GREEN_03}`,[Un.GREEN_04]:`${$n.PLACEHOLDER}${Un.GREEN_04}`,[Un.GREEN_05]:`${$n.PLACEHOLDER}${Un.GREEN_05}`,[Un.GREEN_06]:`${$n.PLACEHOLDER}${Un.GREEN_06}`,[Un.GREEN_07]:`${$n.PLACEHOLDER}${Un.GREEN_07}`,[Un.GREEN_08]:`${$n.PLACEHOLDER}${Un.GREEN_08}`,[Un.GREEN_09]:`${$n.PLACEHOLDER}${Un.GREEN_09}`}},kn={RADIUS_4:"radius-4",RADIUS_6:"radius-6",RADIUS_8:"radius-8",RADIUS_12:"radius-12",RADIUS_16:"radius-16",RADIUS_24:"radius-24",RADIUS_FULL:"radius-full"},jn={[kn.RADIUS_4]:"rounded-in-4",[kn.RADIUS_6]:"rounded-in-6",[kn.RADIUS_8]:"rounded-in-8",[kn.RADIUS_12]:"rounded-in-12",[kn.RADIUS_16]:"rounded-in-16",[kn.RADIUS_24]:"rounded-in-24",[kn.RADIUS_FULL]:"rounded-in-full"},Vn={SHADOW_4:"shadow-in-4",SHADOW_8:"shadow-in-8",SHADOW_12:"shadow-in-12",SHADOW_20:"shadow-in-20",SHADOW_24:"shadow-in-24",SHADOW_30:"shadow-in-30"},Jn={DISPLAY_34_B:"display-34-b",DISPLAY_34_M:"display-34-m",DISPLAY_30_B:"display-30-b",DISPLAY_30_M:"display-30-m",HEADLINE_24_B:"headline-24-b",HEADLINE_24_M:"headline-24-m",HEADLINE_20_B:"headline-20-b",HEADLINE_20_M:"headline-20-m",BODY_18_B:"body-18-b",BODY_18_M:"body-18-m",BODY_18_R:"body-18-r",BODY_16_B:"body-16-b",BODY_16_M:"body-16-m",BODY_16_R:"body-16-r",BODY_14_B:"body-14-b",BODY_14_M:"body-14-m",BODY_14_R:"body-14-r",BODY_12_B:"body-12-b",BODY_12_M:"body-12-m"},Kn="text-in-",Xn={[Jn.DISPLAY_34_B]:`${Kn}${Jn.DISPLAY_34_B}`,[Jn.DISPLAY_34_M]:`${Kn}${Jn.DISPLAY_34_M}`,[Jn.DISPLAY_30_B]:`${Kn}${Jn.DISPLAY_30_B}`,[Jn.DISPLAY_30_M]:`${Kn}${Jn.DISPLAY_30_M}`,[Jn.HEADLINE_24_B]:`${Kn}${Jn.HEADLINE_24_B}`,[Jn.HEADLINE_24_M]:`${Kn}${Jn.HEADLINE_24_M}`,[Jn.HEADLINE_20_B]:`${Kn}${Jn.HEADLINE_20_B}`,[Jn.HEADLINE_20_M]:`${Kn}${Jn.HEADLINE_20_M}`,[Jn.BODY_18_B]:`${Kn}${Jn.BODY_18_B}`,[Jn.BODY_18_M]:`${Kn}${Jn.BODY_18_M}`,[Jn.BODY_18_R]:`${Kn}${Jn.BODY_18_R}`,[Jn.BODY_16_B]:`${Kn}${Jn.BODY_16_B}`,[Jn.BODY_16_M]:`${Kn}${Jn.BODY_16_M}`,[Jn.BODY_16_R]:`${Kn}${Jn.BODY_16_R}`,[Jn.BODY_14_B]:`${Kn}${Jn.BODY_14_B}`,[Jn.BODY_14_M]:`${Kn}${Jn.BODY_14_M}`,[Jn.BODY_14_R]:`${Kn}${Jn.BODY_14_R}`,[Jn.BODY_12_B]:`${Kn}${Jn.BODY_12_B}`,[Jn.BODY_12_M]:`${Kn}${Jn.BODY_12_M}`},zn=({content:e,children:a,placement:i,rootClassName:l,className:E,color:u=Un.WHITE,hidden:d=!1,isKeepFloating:O=!1,id:R,ariaLive:p,role:f,gap:A=4})=>{const[S,C]=c(!d&&O),{refs:{setFloating:M,setReference:T},floatingStyles:N,context:I}=Yn({open:S,placement:i,middleware:[(h=A,{...Qt(h),options:[h,m]}),En(),sn()],whileElementsMounted:qt,onOpenChange:e=>{d||O||C(e)}});var h,m;const b=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:a,events:i,elements:l}=e,{enabled:s=!0,delay:E=0,handleClose:c=null,mouseOnly:u=!1,restMs:d=0,move:O=!0}=t,R=Nn(),p=Tn(),f=mt(c),A=mt(E),S=mt(n),C=mt(d),M=o.useRef(),T=o.useRef(-1),N=o.useRef(),I=o.useRef(-1),h=o.useRef(!0),m=o.useRef(!1),b=o.useRef((()=>{})),D=o.useRef(!1),g=o.useCallback((()=>{var e;const t=null==(e=a.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[a]);
|
|
476
|
+
// When closing before opening, clear the delay timeouts to cancel it
|
|
477
|
+
// from showing.
|
|
478
|
+
o.useEffect((()=>{if(s)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(hn(T),hn(I),h.current=!0,D.current=!1)}}),[s,i]),o.useEffect((()=>{if(!s)return;if(!f.current)return;if(!n)return;function e(e){g()&&r(!1,e,"hover")}const t=Nt(l.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[l.floating,n,r,s,f,g]);const y=o.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=bn(A.current,"close",M.current);o&&!N.current?(hn(T),T.current=window.setTimeout((()=>r(!1,e,n)),o)):t&&(hn(T),r(!1,e,n))}),[A,r]),_=Dt((()=>{b.current(),N.current=void 0})),L=Dt((()=>{if(m.current){const e=Nt(l.floating).body;e.style.pointerEvents="",e.removeAttribute(mn),m.current=!1}})),v=Dt((()=>!!a.current.openEvent&&["click","mousedown"].includes(a.current.openEvent.type)));
|
|
479
|
+
// Registering the mouse events on the reference directly to bypass React's
|
|
480
|
+
// delegation system. If the cursor was on a disabled element and then entered
|
|
481
|
+
// the reference (no gap), `mouseenter` doesn't fire in the delegation system.
|
|
482
|
+
o.useEffect((()=>{if(s&&he(l.domReference)){const r=l.domReference,a=l.floating;return n&&r.addEventListener("mouseleave",o),O&&r.addEventListener("mousemove",e,{once:!0}),r.addEventListener("mouseenter",e),r.addEventListener("mouseleave",t),a&&(a.addEventListener("mouseleave",o),a.addEventListener("mouseenter",i),a.addEventListener("mouseleave",E)),()=>{n&&r.removeEventListener("mouseleave",o),O&&r.removeEventListener("mousemove",e),r.removeEventListener("mouseenter",e),r.removeEventListener("mouseleave",t),a&&(a.removeEventListener("mouseleave",o),a.removeEventListener("mouseenter",i),a.removeEventListener("mouseleave",E))}}function e(e){if(hn(T),h.current=!1,u&&!It(M.current)||Dn(C.current)>0&&!bn(A.current,"open"))return;const t=bn(A.current,"open",M.current);t?T.current=window.setTimeout((()=>{S.current||r(!0,e,"hover")}),t):n||r(!0,e,"hover")}function t(e){if(v())return void L();b.current();const t=Nt(l.floating);if(hn(I),D.current=!1,f.current&&a.current.floatingContext){
|
|
483
|
+
// Prevent clearing `onScrollMouseLeave` timeout.
|
|
484
|
+
n||hn(T),N.current=f.current({...a.current.floatingContext,tree:R,x:e.clientX,y:e.clientY,onClose(){L(),_(),v()||y(e,!0,"safe-polygon")}});const r=N.current;return t.addEventListener("mousemove",r),void(b.current=()=>{t.removeEventListener("mousemove",r)})}
|
|
485
|
+
// Allow interactivity without `safePolygon` on touch devices. With a
|
|
486
|
+
// pointer, a short close delay is an alternative, so it should work
|
|
487
|
+
// consistently.
|
|
488
|
+
("touch"!==M.current||!Tt(l.floating,e.relatedTarget))&&y(e)}
|
|
489
|
+
// Ensure the floating element closes after scrolling even if the pointer
|
|
490
|
+
// did not move.
|
|
491
|
+
// https://github.com/floating-ui/floating-ui/discussions/1692
|
|
492
|
+
function o(e){v()||a.current.floatingContext&&(null==f.current||f.current({...a.current.floatingContext,tree:R,x:e.clientX,y:e.clientY,onClose(){L(),_(),v()||y(e)}})(e))}function i(){hn(T)}function E(e){v()||y(e,!1)}}),[l,s,e,u,O,y,_,L,r,n,S,R,A,f,a,v,C]),
|
|
493
|
+
// Block pointer-events of every element other than the reference and floating
|
|
494
|
+
// while the floating element is open and has a `handleClose` handler. Also
|
|
495
|
+
// handles nested floating elements.
|
|
496
|
+
// https://github.com/floating-ui/floating-ui/issues/1722
|
|
497
|
+
ht((()=>{var e;if(s&&n&&null!=(e=f.current)&&e.__options.blockPointerEvents&&g()){m.current=!0;const e=l.floating;if(he(l.domReference)&&e){var t;const n=Nt(l.floating).body;n.setAttribute(mn,"");const r=l.domReference,o=null==R||null==(t=R.nodesRef.current.find((e=>e.id===p)))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[s,n,p,l,R,f,g]),ht((()=>{n||(M.current=void 0,D.current=!1,_(),L())}),[n,_,L]),o.useEffect((()=>()=>{_(),hn(T),hn(I),L()}),[s,l.domReference,_,L]);const P=o.useMemo((()=>{function e(e){M.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function o(){h.current||S.current||r(!0,t,"hover")}u&&!It(M.current)||n||0===Dn(C.current)||D.current&&e.movementX**2+e.movementY**2<2||(hn(I),"touch"===M.current?o():(D.current=!0,I.current=window.setTimeout(o,Dn(C.current))))}}}),[u,r,n,S,C]);return o.useMemo((()=>s?{reference:P}:{}),[s,P])}(I,{enabled:!d&&!O,handleClose:Gn({blockPointerEvents:!0})}),{getReferenceProps:D,getFloatingProps:g}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),a=o.useCallback((t=>wn(t,e,"reference")
|
|
498
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
499
|
+
),t),i=o.useCallback((t=>wn(t,e,"floating")
|
|
500
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
501
|
+
),n),l=o.useCallback((t=>wn(t,e,"item")
|
|
502
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
503
|
+
),r);return o.useMemo((()=>({getReferenceProps:a,getFloatingProps:i,getItemProps:l})),[a,i,l])}([b]);return(({hidden:e,isKeepFloating:t,setIsOpen:n})=>{s((()=>{n(!e&&t)}),[e,t])})({hidden:d,isKeepFloating:O,setIsOpen:C}),n(r,{children:[t("div",{ref:T,...D(),className:l,children:a}),S&&t(Pn,{children:t("div",{id:R,"aria-live":p,role:f,ref:M,style:N,...g(),className:k("text-in-body-12-m rounded-in-4 bg-in-tooltip z-[10000] animate-[fade-in_.1s_ease-in-out_1] break-keep px-2.5 py-1",Wn.TEXT[u],E),children:e})})]})},qn=({ref:e,iconKey:n,type:r="button",theme:o=Ae.HOVER_GRAY,arialLabel:a,tooltipOption:i,className:l,disabled:s=!1,isPending:E=!1,onClick:c})=>{const{content:u,placement:d="bottom"}=i??{},O=s||E;return t(zn,{content:u??a,rootClassName:l,placement:d,children:t("button",{ref:e,type:r,className:k("rounded-in-6 text-in-body-16-b disabled:text-in-gray-04 in-flex-h-stack-center h-8 w-8 cursor-pointer transition-colors disabled:cursor-not-allowed",Se[o]),"aria-label":a,disabled:O,onClick:e=>{e.preventDefault(),O||c?.(e)},children:t(de,{iconKey:E?q:n,className:k(E&&"animate-spin"),"aria-hidden":!0})})})};function Qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zn,er={exports:{}},tr={};function nr(){if(Zn)return tr;function e(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(e=function(e){return e?r:n})(t)}return Zn=1,tr._=function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=e(n);if(r&&r.has(t))return r.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var l=a?Object.getOwnPropertyDescriptor(t,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=t[i]}return o.default=t,r&&r.set(t,o),o},tr}var rr,or={exports:{}},ar={};function ir(){return rr||(rr=1,function(e){function t(e){const t={};for(const[n,r]of e.entries()){const e=t[n];void 0===e?t[n]=r:Array.isArray(e)?e.push(r):t[n]=[e,r]}return t}function n(e){return"string"==typeof e?e:"number"==typeof e&&!isNaN(e)||"boolean"==typeof e?String(e):""}function r(e){const t=new URLSearchParams;for(const[r,o]of Object.entries(e))if(Array.isArray(o))for(const e of o)t.append(r,n(e));else t.set(r,n(o));return t}function o(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(const t of n){for(const n of t.keys())e.delete(n);for(const[n,r]of t.entries())e.append(n,r)}return e}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{assign:function(){return o},searchParamsToUrlQuery:function(){return t},urlQueryToSearchParams:function(){return r}})}(ar)),ar}var lr,sr={};function Er(){return lr||(lr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{formatUrl:function(){return r},formatWithValidation:function(){return a},urlObjectKeys:function(){return o}});const t=nr()._(ir()),n=/https?|ftp|gopher|file/;function r(e){let{auth:r,hostname:o}=e,a=e.protocol||"",i=e.pathname||"",l=e.hash||"",s=e.query||"",E=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",e.host?E=r+e.host:o&&(E=r+(~o.indexOf(":")?"["+o+"]":o),e.port&&(E+=":"+e.port)),s&&"object"==typeof s&&(s=String(t.urlQueryToSearchParams(s)));let c=e.search||s&&"?"+s||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||n.test(a))&&!1!==E?(E="//"+(E||""),i&&"/"!==i[0]&&(i="/"+i)):E||(E=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),""+a+E+i+c+l}const o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return"development"===process.env.NODE_ENV&&null!==e&&"object"==typeof e&&Object.keys(e).forEach((e=>{o.includes(e)||console.warn("Unknown key passed via urlObject into url.format: "+e)})),r(e)}}(sr)),sr}var cr,ur={};var dr,Or={};function Rr(){return dr||(dr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{DecodeError:function(){return O},MiddlewareNotFoundError:function(){return A},MissingStaticPage:function(){return f},NormalizeError:function(){return R},PageNotFoundError:function(){return p},SP:function(){return u},ST:function(){return d},WEB_VITALS:function(){return t},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return a},getURL:function(){return i},isAbsoluteUrl:function(){return o},isResSent:function(){return s},loadGetInitialProps:function(){return c},normalizeRepeatedSlashes:function(){return E},stringifyError:function(){return S}});const t=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,n=!1;return function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n||(n=!0,t=e(...o)),t}}
|
|
504
|
+
// Scheme: https://tools.ietf.org/html/rfc3986#section-3.1
|
|
505
|
+
// Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3
|
|
506
|
+
const r=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>r.test(e);function a(){const{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function i(){const{href:e}=window.location,t=a();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function E(e){const t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function c(e,t){var n;if("production"!==process.env.NODE_ENV&&(null==(n=e.prototype)?void 0:n.getInitialProps)){const t='"'+l(e)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw Object.defineProperty(new Error(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}
|
|
507
|
+
// when called from _app `ctx` is nested in `ctx`
|
|
508
|
+
const r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await c(t.Component,t.ctx)}:{};const o=await e.getInitialProps(t);if(r&&s(r))return o;if(!o){const t='"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+o+'" instead.';throw Object.defineProperty(new Error(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}return"production"!==process.env.NODE_ENV&&(0!==Object.keys(o).length||t.ctx||console.warn(l(e)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps")),o}const u="undefined"!=typeof performance,d=u&&["mark","measure","getEntriesByName"].every((e=>"function"==typeof performance[e]));class O extends Error{}class R extends Error{}class p extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class f extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class A extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function S(e){return JSON.stringify({message:e.message,stack:e.stack})}}(Or)),Or}var pr,fr={exports:{}},Ar={};function Sr(){return pr||(pr=1,function(e){function t(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeTrailingSlash",{enumerable:!0,get:function(){return t}})}(Ar)),Ar}var Cr,Mr,Tr={};
|
|
509
|
+
/**
|
|
510
|
+
* Given a path this function will find the pathname, query and hash and return
|
|
511
|
+
* them. This is useful to parse full paths on the client side.
|
|
512
|
+
* @param path A path to parse e.g. /foo/bar?id=1#hash
|
|
513
|
+
*/function Nr(){return Cr||(Cr=1,function(e){function t(e){const t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n<t);return r||t>-1?{pathname:e.substring(0,r?n:t),query:r?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t}})}(Tr)),Tr}function Ir(){return Mr||(Mr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return o}});const n=Sr(),r=Nr(),o=e=>{if(!e.startsWith("/")||process.env.__NEXT_MANUAL_TRAILING_SLASH)return e;const{pathname:t,query:o,hash:a}=(0,r.parsePath)(e);return process.env.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(t)?""+(0,n.removeTrailingSlash)(t)+o+a:t.endsWith("/")?""+t+o+a:t+"/"+o+a:""+(0,n.removeTrailingSlash)(t)+o+a};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(fr,fr.exports)),fr.exports}var hr,mr,br,Dr={},gr={exports:{}},yr={};function _r(){return hr||(hr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pathHasPrefix",{enumerable:!0,get:function(){return n}});const t=Nr();function n(e,n){if("string"!=typeof e)return!1;const{pathname:r}=(0,t.parsePath)(e);return r===n||r.startsWith(n+"/")}}(yr)),yr}function Lr(){return br||(br=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return r}});const t=Rr(),n=(mr||(mr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});const n=_r(),r=process.env.__NEXT_ROUTER_BASEPATH||"";function o(e){return(0,n.pathHasPrefix)(e,r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(gr,gr.exports)),gr.exports);function r(e){
|
|
514
|
+
// prevent a hydration mismatch on href for url with anchor refs
|
|
515
|
+
if(!(0,t.isAbsoluteUrl)(e))return!0;try{
|
|
516
|
+
// absolute urls can be local if they are on the same origin
|
|
517
|
+
const r=(0,t.getLocationOrigin)(),o=new URL(e,r);return o.origin===r&&(0,n.hasBasePath)(o.pathname)}catch(e){return!1}}}(Dr)),Dr}var vr,Pr={},Fr={};var xr,Yr={},wr={},Br={},Gr={};var Ur,Hr,$r,Wr,kr,jr={};function Vr(){return Hr||(Hr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{normalizeAppPath:function(){return r},normalizeRscURL:function(){return o}});const t=(xr||(xr=1,function(e){function t(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ensureLeadingSlash",{enumerable:!0,get:function(){return t}})}(Gr)),Gr),n=(Ur||(Ur=1,function(e){function t(e){
|
|
518
|
+
// Use array[0] for performant purpose
|
|
519
|
+
return"("===e[0]&&e.endsWith(")")}function n(e){return e.startsWith("@")&&"@children"!==e}function r(e,t){if(e.includes(o)){const e=JSON.stringify(t);return"{}"!==e?o+"?"+e:o}return e}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{DEFAULT_SEGMENT_KEY:function(){return a},PAGE_SEGMENT_KEY:function(){return o},addSearchParamsIfPageSegment:function(){return r},isGroupSegment:function(){return t},isParallelRouteSegment:function(){return n}});const o="__PAGE__",a="__DEFAULT__"}(jr)),jr);function r(e){return(0,t.ensureLeadingSlash)(e.split("/").reduce(((e,t,r,o)=>
|
|
520
|
+
// Empty segments are ignored.
|
|
521
|
+
t?
|
|
522
|
+
// Groups are ignored.
|
|
523
|
+
(0,n.isGroupSegment)(t)||"@"===t[0]?e:
|
|
524
|
+
// The last segment (if it's a leaf) should be ignored.
|
|
525
|
+
"page"!==t&&"route"!==t||r!==o.length-1?e+"/"+t:e:e),""))}function o(e){return e.replace(/\.rsc($|\?)/,// $1 ensures `?` is preserved
|
|
526
|
+
"$1")}}(Br)),Br}function Jr(){return $r||($r=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{INTERCEPTION_ROUTE_MARKERS:function(){return n},extractInterceptionRouteInformation:function(){return o},isInterceptionRouteAppPath:function(){return r}});const t=Vr(),n=["(..)(..)","(.)","(..)","(...)"];function r(e){
|
|
527
|
+
// TODO-APP: add more serious validation
|
|
528
|
+
return void 0!==e.split("/").find((e=>n.find((t=>e.startsWith(t)))))}function o(e){let r,o,a;for(const t of e.split("/"))if(o=n.find((e=>t.startsWith(e))),o){[r,a]=e.split(o,2);break}if(!r||!o||!a)throw Object.defineProperty(new Error("Invalid interception route: "+e+". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(r=(0,t.normalizeAppPath)(r),o){case"(.)":
|
|
529
|
+
// (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route
|
|
530
|
+
a="/"===r?"/"+a:r+"/"+a;break;case"(..)":
|
|
531
|
+
// (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route
|
|
532
|
+
if("/"===r)throw Object.defineProperty(new Error("Invalid interception route: "+e+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});a=r.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":
|
|
533
|
+
// (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route
|
|
534
|
+
a="/"+a;break;case"(..)(..)":
|
|
535
|
+
// (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route
|
|
536
|
+
const t=r.split("/");if(t.length<=2)throw Object.defineProperty(new Error("Invalid interception route: "+e+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});a=t.slice(0,-2).concat(a).join("/");break;default:throw Object.defineProperty(new Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:r,interceptedRoute:a}}}(wr)),wr}function Kr(){return kr||(kr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{getSortedRouteObjects:function(){return t.getSortedRouteObjects},getSortedRoutes:function(){return t.getSortedRoutes},isDynamicRoute:function(){return n.isDynamicRoute}});const t=(vr||(vr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{getSortedRouteObjects:function(){return r},getSortedRoutes:function(){return n}});class t{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");const t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);const n=t.map((t=>this.children.get(t)._smoosh(""+e+t+"/"))).reduce(((e,t)=>[...e,...t]),[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){const t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(new Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,n,r){if(0===e.length)return void(this.placeholder=!1);if(r)throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});
|
|
537
|
+
// The next segment in the urlPaths list
|
|
538
|
+
let o=e[0];
|
|
539
|
+
// Check if the segment matches `[something]`
|
|
540
|
+
if(o.startsWith("[")&&o.endsWith("]")){
|
|
541
|
+
// Strip `[` and `]`, leaving only `something`
|
|
542
|
+
let a=o.slice(1,-1),i=!1;if(a.startsWith("[")&&a.endsWith("]")&&(
|
|
543
|
+
// Strip optional `[` and `]`, leaving only `something`
|
|
544
|
+
a=a.slice(1,-1),i=!0),a.startsWith("…"))throw Object.defineProperty(new Error("Detected a three-dot character ('…') at ('"+a+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(a.startsWith("...")&&(
|
|
545
|
+
// Strip `...`, leaving only `something`
|
|
546
|
+
a=a.substring(3),r=!0),a.startsWith("[")||a.endsWith("]"))throw Object.defineProperty(new Error("Segment names may not start or end with extra brackets ('"+a+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(a.startsWith("."))throw Object.defineProperty(new Error("Segment names may not start with erroneous periods ('"+a+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function l(e,t){if(null!==e&&e!==t)
|
|
547
|
+
// TODO: This error seems to be confusing for users, needs an error link, the description can be based on above comment.
|
|
548
|
+
throw Object.defineProperty(new Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+t+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});n.forEach((e=>{if(e===t)throw Object.defineProperty(new Error('You cannot have the same slug name "'+t+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Object.defineProperty(new Error('You cannot have the slug names "'+e+'" and "'+t+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})})),n.push(t)}if(r)if(i){if(null!=this.restSlugName)throw Object.defineProperty(new Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});l(this.optionalRestSlugName,a),
|
|
549
|
+
// slugName is kept as it can only be one particular slugName
|
|
550
|
+
this.optionalRestSlugName=a,
|
|
551
|
+
// nextSegment is overwritten to [[...]] so that it can later be sorted specifically
|
|
552
|
+
o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});l(this.restSlugName,a),
|
|
553
|
+
// slugName is kept as it can only be one particular slugName
|
|
554
|
+
this.restSlugName=a,
|
|
555
|
+
// nextSegment is overwritten to [...] so that it can later be sorted specifically
|
|
556
|
+
o="[...]"}else{if(i)throw Object.defineProperty(new Error('Optional route parameters are not yet supported ("'+e[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});l(this.slugName,a),
|
|
557
|
+
// slugName is kept as it can only be one particular slugName
|
|
558
|
+
this.slugName=a,
|
|
559
|
+
// nextSegment is overwritten to [] so that it can later be sorted specifically
|
|
560
|
+
o="[]"}}
|
|
561
|
+
// If this UrlNode doesn't have the nextSegment yet we create a new child UrlNode
|
|
562
|
+
this.children.has(o)||this.children.set(o,new t),this.children.get(o)._insert(e.slice(1),n,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){
|
|
563
|
+
// First the UrlNode is created, and every UrlNode can have only 1 dynamic segment
|
|
564
|
+
// Eg you can't have pages/[post]/abc.js and pages/[hello]/something-else.js
|
|
565
|
+
// Only 1 dynamic segment per nesting level
|
|
566
|
+
// So in the case that is test/integration/dynamic-routing it'll be this:
|
|
567
|
+
// pages/[post]/comments.js
|
|
568
|
+
// pages/blog/[post]/comment/[id].js
|
|
569
|
+
// Both are fine because `pages/[post]` and `pages/blog` are on the same level
|
|
570
|
+
// So in this case `UrlNode` created here has `this.slugName === 'post'`
|
|
571
|
+
// And since your PR passed through `slugName` as an array basically it'd including it in too many possibilities
|
|
572
|
+
// Instead what has to be passed through is the upwards path's dynamic names
|
|
573
|
+
const n=new t;
|
|
574
|
+
// Here the `root` gets injected multiple paths, and insert will break them up into sublevels
|
|
575
|
+
// Smoosh will then sort those sublevels up to the point where you get the correct route definition priority
|
|
576
|
+
return e.forEach((e=>n.insert(e))),n.smoosh()}function r(e,t){
|
|
577
|
+
// We're assuming here that all the pathnames are unique, that way we can
|
|
578
|
+
// sort the list and use the index as the key.
|
|
579
|
+
const r={},o=[];for(let n=0;n<e.length;n++){const a=t(e[n]);r[a]=n,o[n]=a}
|
|
580
|
+
// Sort the pathnames.
|
|
581
|
+
// Map the sorted pathnames back to the original objects using the new sorted
|
|
582
|
+
// index.
|
|
583
|
+
return n(o).map((t=>e[r[t]]))}}(Fr)),Fr),n=(Wr||(Wr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isDynamicRoute",{enumerable:!0,get:function(){return o}});const t=Jr(),n=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,r=/\/\[[^/]+\](?=\/|$)/;
|
|
584
|
+
// Identify /.*[param].*/ in route string
|
|
585
|
+
function o(e,o){return void 0===o&&(o=!0),(0,t.isInterceptionRouteAppPath)(e)&&(e=(0,t.extractInterceptionRouteInformation)(e).interceptedRoute),o?r.test(e):n.test(e)}}(Yr)),Yr)}(Pr)),Pr}var Xr,zr={},qr={};var Qr,Zr={},eo={};var to,no,ro,oo,ao={};function io(){return no||(no=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{getNamedMiddlewareRegex:function(){return O},getNamedRouteRegex:function(){return d},getRouteRegex:function(){return E},parseParameter:function(){return i}});const t=(Qr||(Qr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{ACTION_SUFFIX:function(){return c},APP_DIR_ALIAS:function(){return _},CACHE_ONE_YEAR:function(){return N},DOT_NEXT_ALIAS:function(){return g},ESLINT_DEFAULT_DIRS:function(){return X},GSP_NO_RETURNED_VALUE:function(){return W},GSSP_COMPONENT_MEMBER_ERROR:function(){return V},GSSP_NO_RETURNED_VALUE:function(){return k},INFINITE_CACHE:function(){return I},INSTRUMENTATION_HOOK_FILENAME:function(){return b},MATCHED_PATH_HEADER:function(){return r},MIDDLEWARE_FILENAME:function(){return h},MIDDLEWARE_LOCATION_REGEXP:function(){return m},NEXT_BODY_SUFFIX:function(){return O},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return T},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return p},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return f},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return M},NEXT_CACHE_TAGS_HEADER:function(){return R},NEXT_CACHE_TAG_MAX_ITEMS:function(){return S},NEXT_CACHE_TAG_MAX_LENGTH:function(){return C},NEXT_DATA_SUFFIX:function(){return u},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return n},NEXT_META_SUFFIX:function(){return d},NEXT_QUERY_PARAM_PREFIX:function(){return t},NEXT_RESUME_HEADER:function(){return A},NON_STANDARD_NODE_ENV:function(){return J},PAGES_DIR_ALIAS:function(){return D},PRERENDER_REVALIDATE_HEADER:function(){return o},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return a},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return w},ROOT_DIR_ALIAS:function(){return y},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return Y},RSC_ACTION_ENCRYPTION_ALIAS:function(){return x},RSC_ACTION_PROXY_ALIAS:function(){return P},RSC_ACTION_VALIDATE_ALIAS:function(){return v},RSC_CACHE_WRAPPER_ALIAS:function(){return F},RSC_MOD_REF_PROXY_ALIAS:function(){return L},RSC_PREFETCH_SUFFIX:function(){return i},RSC_SEGMENTS_DIR_SUFFIX:function(){return l},RSC_SEGMENT_SUFFIX:function(){return s},RSC_SUFFIX:function(){return E},SERVER_PROPS_EXPORT_ERROR:function(){return $},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return G},SERVER_PROPS_SSG_CONFLICT:function(){return U},SERVER_RUNTIME:function(){return z},SSG_FALLBACK_EXPORT_ERROR:function(){return K},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return B},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return H},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return j},WEBPACK_LAYERS:function(){return Q},WEBPACK_RESOURCE_QUERIES:function(){return Z}});const t="nxtP",n="nxtI",r="x-matched-path",o="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",i=".prefetch.rsc",l=".segments",s=".segment.rsc",E=".rsc",c=".action",u=".json",d=".meta",O=".body",R="x-next-cache-tags",p="x-next-revalidated-tags",f="x-next-revalidate-tag-token",A="next-resume",S=128,C=256,M=1024,T="_N_T_",N=31536e3,I=4294967294,h="middleware",m=`(?:src/)?${h}`,b="instrumentation",D="private-next-pages",g="private-dot-next",y="private-next-root-dir",_="private-next-app-dir",L="private-next-rsc-mod-ref-proxy",v="private-next-rsc-action-validate",P="private-next-rsc-server-reference",F="private-next-rsc-cache-wrapper",x="private-next-rsc-action-encryption",Y="private-next-rsc-action-client-wrapper",w="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",B="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",G="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",U="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",H="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",$="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",W="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",k="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",j="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",V="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",J='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',K="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",X=["app","pages","components","lib","src"],z={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},q={
|
|
586
|
+
/**
|
|
587
|
+
* The layer for the shared code between the client and server bundles.
|
|
588
|
+
*/
|
|
589
|
+
shared:"shared",
|
|
590
|
+
/**
|
|
591
|
+
* The layer for server-only runtime and picking up `react-server` export conditions.
|
|
592
|
+
* Including app router RSC pages and app router custom routes and metadata routes.
|
|
593
|
+
*/
|
|
594
|
+
reactServerComponents:"rsc",
|
|
595
|
+
/**
|
|
596
|
+
* Server Side Rendering layer for app (ssr).
|
|
597
|
+
*/
|
|
598
|
+
serverSideRendering:"ssr",
|
|
599
|
+
/**
|
|
600
|
+
* The browser client bundle layer for actions.
|
|
601
|
+
*/
|
|
602
|
+
actionBrowser:"action-browser",
|
|
603
|
+
/**
|
|
604
|
+
* The Node.js bundle layer for the API routes.
|
|
605
|
+
*/
|
|
606
|
+
apiNode:"api-node",
|
|
607
|
+
/**
|
|
608
|
+
* The Edge Lite bundle layer for the API routes.
|
|
609
|
+
*/
|
|
610
|
+
apiEdge:"api-edge",
|
|
611
|
+
/**
|
|
612
|
+
* The layer for the middleware code.
|
|
613
|
+
*/
|
|
614
|
+
middleware:"middleware",
|
|
615
|
+
/**
|
|
616
|
+
* The layer for the instrumentation hooks.
|
|
617
|
+
*/
|
|
618
|
+
instrument:"instrument",
|
|
619
|
+
/**
|
|
620
|
+
* The layer for assets on the edge.
|
|
621
|
+
*/
|
|
622
|
+
edgeAsset:"edge-asset",
|
|
623
|
+
/**
|
|
624
|
+
* The browser client bundle layer for App directory.
|
|
625
|
+
*/
|
|
626
|
+
appPagesBrowser:"app-pages-browser",
|
|
627
|
+
/**
|
|
628
|
+
* The browser client bundle layer for Pages directory.
|
|
629
|
+
*/
|
|
630
|
+
pagesDirBrowser:"pages-dir-browser",
|
|
631
|
+
/**
|
|
632
|
+
* The Edge Lite bundle layer for Pages directory.
|
|
633
|
+
*/
|
|
634
|
+
pagesDirEdge:"pages-dir-edge",
|
|
635
|
+
/**
|
|
636
|
+
* The Node.js bundle layer for Pages directory.
|
|
637
|
+
*/
|
|
638
|
+
pagesDirNode:"pages-dir-node"},Q={...q,GROUP:{builtinReact:[q.reactServerComponents,q.actionBrowser],serverOnly:[q.reactServerComponents,q.actionBrowser,q.instrument,q.middleware],neutralTarget:[
|
|
639
|
+
// pages api
|
|
640
|
+
q.apiNode,q.apiEdge],clientOnly:[q.serverSideRendering,q.appPagesBrowser],bundled:[q.reactServerComponents,q.actionBrowser,q.serverSideRendering,q.appPagesBrowser,q.shared,q.instrument,q.middleware],appPages:[
|
|
641
|
+
// app router pages and layouts
|
|
642
|
+
q.reactServerComponents,q.serverSideRendering,q.appPagesBrowser,q.actionBrowser]}},Z={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}}(eo)),eo),n=Jr(),r=(to||(to=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"escapeStringRegexp",{enumerable:!0,get:function(){return r}});const t=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function r(e){
|
|
643
|
+
// see also: https://github.com/lodash/lodash/blob/2da024c3b4f9947a48517639de7560457cd4ec6c/escapeRegExp.js#L23
|
|
644
|
+
return t.test(e)?e.replace(n,"\\$&"):e}}(ao)),ao),o=Sr(),a=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function i(e){const t=e.match(a);return l(t?t[2]:e)}
|
|
645
|
+
/**
|
|
646
|
+
* Parses a matched parameter from the PARAMETER_PATTERN regex to a data structure that can be used
|
|
647
|
+
* to generate the parametrized route.
|
|
648
|
+
* Examples:
|
|
649
|
+
* - `[...slug]` -> `{ key: 'slug', repeat: true, optional: true }`
|
|
650
|
+
* - `...slug` -> `{ key: 'slug', repeat: true, optional: false }`
|
|
651
|
+
* - `[foo]` -> `{ key: 'foo', repeat: false, optional: true }`
|
|
652
|
+
* - `bar` -> `{ key: 'bar', repeat: false, optional: false }`
|
|
653
|
+
* @param param - The matched parameter to parse.
|
|
654
|
+
* @returns The parsed parameter as a data structure.
|
|
655
|
+
*/function l(e){const t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));const n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function s(e,t,i){const s={};let E=1;const c=[];for(const u of(0,o.removeTrailingSlash)(e).slice(1).split("/")){const e=n.INTERCEPTION_ROUTE_MARKERS.find((e=>u.startsWith(e))),o=u.match(a);if(e&&o&&o[2]){const{key:t,optional:n,repeat:a}=l(o[2]);s[t]={pos:E++,repeat:a,optional:n},c.push("/"+(0,r.escapeStringRegexp)(e)+"([^/]+?)")}else if(o&&o[2]){const{key:e,repeat:t,optional:n}=l(o[2]);s[e]={pos:E++,repeat:t,optional:n},i&&o[1]&&c.push("/"+(0,r.escapeStringRegexp)(o[1]));let a=t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";
|
|
656
|
+
// Remove the leading slash if includePrefix already added it.
|
|
657
|
+
i&&o[1]&&(a=a.substring(1)),c.push(a)}else c.push("/"+(0,r.escapeStringRegexp)(u));
|
|
658
|
+
// If there's a suffix, add it to the segments if it's enabled.
|
|
659
|
+
t&&o&&o[3]&&c.push((0,r.escapeStringRegexp)(o[3]))}return{parameterizedRoute:c.join(""),groups:s}}function E(e,t){let{includeSuffix:n=!1,includePrefix:r=!1,excludeOptionalTrailingSlash:o=!1}=void 0===t?{}:t;const{parameterizedRoute:a,groups:i}=s(e,n,r);let l=a;return o||(l+="(?:/)?"),{re:new RegExp("^"+l+"$"),groups:i}}
|
|
660
|
+
/**
|
|
661
|
+
* Builds a function to generate a minimal routeKey using only a-z and minimal
|
|
662
|
+
* number of characters.
|
|
663
|
+
*/function c(e){let{interceptionMarker:t,getSafeRouteKey:n,segment:o,routeKeys:a,keyPrefix:i,backreferenceDuplicateKeys:s}=e;const{key:E,optional:c,repeat:u}=l(o);
|
|
664
|
+
// replace any non-word characters since they can break
|
|
665
|
+
// the named regex
|
|
666
|
+
let d=E.replace(/\W/g,"");i&&(d=""+i+d);let O=!1;
|
|
667
|
+
// check if the key is still invalid and fallback to using a known
|
|
668
|
+
// safe key
|
|
669
|
+
(0===d.length||d.length>30)&&(O=!0),isNaN(parseInt(d.slice(0,1)))||(O=!0),O&&(d=n());const R=d in a;a[d]=i?""+i+E:E;
|
|
670
|
+
// if the segment has an interception marker, make sure that's part of the regex pattern
|
|
671
|
+
// this is to ensure that the route with the interception marker doesn't incorrectly match
|
|
672
|
+
// the non-intercepted route (ie /app/(.)[username] should not match /app/[username])
|
|
673
|
+
const p=t?(0,r.escapeStringRegexp)(t):"";let f;
|
|
674
|
+
// Use a backreference to the key to ensure that the key is the same value
|
|
675
|
+
// in each of the placeholders.
|
|
676
|
+
return f=R&&s?"\\k<"+d+">":u?"(?<"+d+">.+?)":"(?<"+d+">[^/]+?)",c?"(?:/"+p+f+")?":"/"+p+f}function u(e,i,l,s,E){const u=function(){let e=0;return()=>{let t="",n=++e;for(;n>0;)t+=String.fromCharCode(97+(n-1)%26),n=Math.floor((n-1)/26);return t}}(),d={},O=[];for(const R of(0,o.removeTrailingSlash)(e).slice(1).split("/")){const e=n.INTERCEPTION_ROUTE_MARKERS.some((e=>R.startsWith(e))),o=R.match(a);if(e&&o&&o[2])
|
|
677
|
+
// If there's an interception marker, add it to the segments.
|
|
678
|
+
O.push(c({getSafeRouteKey:u,interceptionMarker:o[1],segment:o[2],routeKeys:d,keyPrefix:i?t.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,backreferenceDuplicateKeys:E}));else if(o&&o[2]){
|
|
679
|
+
// If there's a prefix, add it to the segments if it's enabled.
|
|
680
|
+
s&&o[1]&&O.push("/"+(0,r.escapeStringRegexp)(o[1]));let e=c({getSafeRouteKey:u,segment:o[2],routeKeys:d,keyPrefix:i?t.NEXT_QUERY_PARAM_PREFIX:void 0,backreferenceDuplicateKeys:E});
|
|
681
|
+
// Remove the leading slash if includePrefix already added it.
|
|
682
|
+
s&&o[1]&&(e=e.substring(1)),O.push(e)}else O.push("/"+(0,r.escapeStringRegexp)(R));
|
|
683
|
+
// If there's a suffix, add it to the segments if it's enabled.
|
|
684
|
+
l&&o&&o[3]&&O.push((0,r.escapeStringRegexp)(o[3]))}return{namedParameterizedRoute:O.join(""),routeKeys:d}}function d(e,t){var n,r,o;const a=u(e,t.prefixRouteKeys,null!=(n=t.includeSuffix)&&n,null!=(r=t.includePrefix)&&r,null!=(o=t.backreferenceDuplicateKeys)&&o);let i=a.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(i+="(?:/)?"),{...E(e,t),namedRegex:"^"+i+"$",routeKeys:a.routeKeys}}function O(e,t){const{parameterizedRoute:n}=s(e,!1,!1),{catchAll:r=!0}=t;if("/"===n){return{namedRegex:"^/"+(r?".*":"")+"$"}}const{namedParameterizedRoute:o}=u(e,!1,!1,!1,!1);return{namedRegex:"^"+o+(r?"(?:(/.*)?)":"")+"$"}}}(Zr)),Zr}function lo(){return ro||(ro=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"interpolateAs",{enumerable:!0,get:function(){return r}});const t=(Xr||(Xr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRouteMatcher",{enumerable:!0,get:function(){return n}});const t=Rr();function n(e){let{re:n,groups:r}=e;return e=>{const o=n.exec(e);if(!o)return!1;const a=e=>{try{return decodeURIComponent(e)}catch(e){throw Object.defineProperty(new t.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},i={};for(const[e,t]of Object.entries(r)){const n=o[t.pos];void 0!==n&&(t.repeat?i[e]=n.split("/").map((e=>a(e))):i[e]=a(n))}return i}}}(qr)),qr),n=io();function r(e,r,o){let a="";const i=(0,n.getRouteRegex)(e),l=i.groups,s=// Try to match the dynamic route against the asPath
|
|
685
|
+
(r!==e?(0,t.getRouteMatcher)(i)(r):"")||// Fall back to reading the values from the href
|
|
686
|
+
// TODO: should this take priority; also need to change in the router.
|
|
687
|
+
o;a=e;const E=Object.keys(l);return E.every((e=>{let t=s[e]||"";const{repeat:n,optional:r}=l[e];
|
|
688
|
+
// support single-level catch-all
|
|
689
|
+
// TODO: more robust handling for user-error (passing `/`)
|
|
690
|
+
let o="["+(n?"...":"")+e+"]";return r&&(o=(t?"":"/")+"["+o+"]"),n&&!Array.isArray(t)&&(t=[t]),(r||e in s)&&(// Interpolate group into data URL if present
|
|
691
|
+
a=a.replace(o,n?t.map((// these values should be fully encoded instead of just
|
|
692
|
+
// path delimiter escaped since they are being inserted
|
|
693
|
+
// into the URL and we expect URL encoded segments
|
|
694
|
+
// when parsing dynamic route params
|
|
695
|
+
e=>encodeURIComponent(e))).join("/"):encodeURIComponent(t))||"/")}))||(a=""),{params:E,result:a}}}(zr)),zr}function so(){return oo||(oo=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return c}});const n=ir(),r=Er(),o=(cr||(cr=1,function(e){function t(e,t){const n={};return Object.keys(e).forEach((r=>{t.includes(r)||(n[r]=e[r])})),n}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return t}})}(ur)),ur),a=Rr(),i=Ir(),l=Lr(),s=Kr(),E=lo();function c(e,t,c){
|
|
696
|
+
// we use a dummy base url for relative urls
|
|
697
|
+
let u,d="string"==typeof t?t:(0,r.formatWithValidation)(t);
|
|
698
|
+
// repeated slashes and backslashes in the URL are considered
|
|
699
|
+
// invalid and will never match a Next.js page/file
|
|
700
|
+
const O=d.match(/^[a-zA-Z]{1,}:\/\//),R=O?d.slice(O[0].length):d;if((R.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const t=(0,a.normalizeRepeatedSlashes)(R);d=(O?O[0]:"")+t}
|
|
701
|
+
// Return because it cannot be routed by the Next.js router
|
|
702
|
+
if(!(0,l.isLocalURL)(d))return c?[d]:d;try{u=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){
|
|
703
|
+
// fallback to / for invalid asPath values e.g. //
|
|
704
|
+
u=new URL("/","http://n")}try{const e=new URL(d,u);e.pathname=(0,i.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&c){const a=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:l}=(0,E.interpolateAs)(e.pathname,e.pathname,a);i&&(t=(0,r.formatWithValidation)({pathname:i,hash:e.hash,query:(0,o.omit)(a,l)}))}
|
|
705
|
+
// if the origin didn't change, it means we received a relative href
|
|
706
|
+
const a=e.origin===u.origin?e.href.slice(e.origin.length):e.href;return c?[a,t||a]:a}catch(e){return c?[d]:d}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(or,or.exports)),or.exports}var Eo,co,uo,Oo={exports:{}},Ro={},po={};function fo(){return Eo||(Eo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathPrefix",{enumerable:!0,get:function(){return n}});const t=Nr();function n(e,n){if(!e.startsWith("/")||!n)return e;const{pathname:r,query:o,hash:a}=(0,t.parsePath)(e);return""+n+r+o+a}}(po)),po}function Ao(){return co||(co=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return r}});const t=fo(),n=_r();function r(e,r,o,a){
|
|
707
|
+
// If no locale was given or the locale is the default locale, we don't need
|
|
708
|
+
// to prefix the path.
|
|
709
|
+
if(!r||r===o)return e;const i=e.toLowerCase();
|
|
710
|
+
// If the path is an API path or the path already has the locale prefix, we
|
|
711
|
+
// don't need to prefix the path.
|
|
712
|
+
if(!a){if((0,n.pathHasPrefix)(i,"/api"))return e;if((0,n.pathHasPrefix)(i,"/"+r.toLowerCase()))return e}
|
|
713
|
+
// Add the locale prefix to the path.
|
|
714
|
+
return(0,t.addPathPrefix)(e,"/"+r)}}(Ro)),Ro}var So,Co,Mo={},To={};function No(){if(So)return To;return So=1,To._=function(e){return e&&e.__esModule?e:{default:e}},To}function Io(){return Co||(Co=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return t}});const t=No()._(a).default.createContext(null);"production"!==process.env.NODE_ENV&&(t.displayName="RouterContext")}(Mo)),Mo}var ho,mo,bo={exports:{}},Do={exports:{}};function go(){return mo||(mo=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return E}});const n=a,r=(ho||(ho=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});const n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Do,Do.exports)),Do.exports),o="function"==typeof IntersectionObserver,i=new Map,l=[];function s(e,t,n){const{id:r,observer:o,elements:a}=function(e){const t={root:e.root||null,margin:e.rootMargin||""},n=l.find((e=>e.root===t.root&&e.margin===t.margin));let r;if(n&&(r=i.get(n),r))return r;const o=new Map,a=new IntersectionObserver((e=>{e.forEach((e=>{const t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return r={id:t,observer:a,elements:o},l.push(t),i.set(t,r),r}(n);return a.set(e,t),o.observe(e),function(){
|
|
715
|
+
// Destroy observer when there's nothing left to watch:
|
|
716
|
+
if(a.delete(e),o.unobserve(e),0===a.size){o.disconnect(),i.delete(r);const e=l.findIndex((e=>e.root===r.root&&e.margin===r.margin));e>-1&&l.splice(e,1)}}}function E(e){let{rootRef:t,rootMargin:a,disabled:i}=e;const l=i||!o,[E,c]=(0,n.useState)(!1),u=(0,n.useRef)(null),d=(0,n.useCallback)((e=>{u.current=e}),[]);(0,n.useEffect)((()=>{if(o){if(l||E)return;const e=u.current;if(e&&e.tagName){return s(e,(e=>e&&c(e)),{root:null==t?void 0:t.current,rootMargin:a})}}else if(!E){const e=(0,r.requestIdleCallback)((()=>c(!0)));return()=>(0,r.cancelIdleCallback)(e)}
|
|
717
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
718
|
+
}),[l,a,t,E,u.current]);const O=(0,n.useCallback)((()=>{c(!1)}),[]);return[d,E,O]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(bo,bo.exports)),bo.exports}var yo,_o,Lo={exports:{}},vo={exports:{}},Po={};function Fo(){return yo||(yo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});
|
|
719
|
+
/**
|
|
720
|
+
* A cache of lowercased locales for each list of locales. This is stored as a
|
|
721
|
+
* WeakMap so if the locales are garbage collected, the cache entry will be
|
|
722
|
+
* removed as well.
|
|
723
|
+
*/
|
|
724
|
+
const t=new WeakMap;function n(e,n){
|
|
725
|
+
// If locales is undefined, return the pathname as is.
|
|
726
|
+
if(!n)return{pathname:e};
|
|
727
|
+
// Get the cached lowercased locales or create a new cache entry.
|
|
728
|
+
let r,o=t.get(n);o||(o=n.map((e=>e.toLowerCase())),t.set(n,o));
|
|
729
|
+
// The first segment will be empty, because it has a leading `/`. If
|
|
730
|
+
// there is no further segment, there is no locale (or it's the default).
|
|
731
|
+
const a=e.split("/",2);
|
|
732
|
+
// If there's no second segment (ie, the pathname is just `/`), there's no
|
|
733
|
+
// locale.
|
|
734
|
+
if(!a[1])return{pathname:e};
|
|
735
|
+
// The second segment will contain the locale part if any.
|
|
736
|
+
const i=a[1].toLowerCase(),l=o.indexOf(i);
|
|
737
|
+
// See if the segment matches one of the locales. If it doesn't, there is
|
|
738
|
+
// no locale (or it's the default).
|
|
739
|
+
return l<0?{pathname:e}:(
|
|
740
|
+
// Return the case-sensitive locale.
|
|
741
|
+
r=n[l],{pathname:
|
|
742
|
+
// Remove the `/${locale}` part of the pathname.
|
|
743
|
+
e=e.slice(r.length+1)||"/",detectedLocale:r})}}(Po)),Po}var xo,Yo,wo,Bo={exports:{}},Go={};function Uo(){return xo||(xo=1,function(e){function t(e,t,n){if(e){n&&(n=n.toLowerCase());for(const a of e){var r,o;
|
|
744
|
+
// remove port if present
|
|
745
|
+
if(t===(null==(r=a.domain)?void 0:r.split(":",1)[0].toLowerCase())||n===a.defaultLocale.toLowerCase()||(null==(o=a.locales)?void 0:o.some((e=>e.toLowerCase()===n))))return a}}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"detectDomainLocale",{enumerable:!0,get:function(){return t}})}(Go)),Go}function Ho(){return wo||(wo=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}});const n=Ir(),r=process.env.__NEXT_ROUTER_BASEPATH||"";function o(e,t,o,a){if(process.env.__NEXT_I18N_SUPPORT){const i=(_o||(_o=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});const n=(e,t)=>process.env.__NEXT_I18N_SUPPORT?Fo().normalizeLocalePath(e,t):{pathname:e,detectedLocale:void 0};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(vo,vo.exports)),vo.exports).normalizeLocalePath,l=(Yo||(Yo=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return n}});const n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(process.env.__NEXT_I18N_SUPPORT)return Uo().detectDomainLocale(...t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Bo,Bo.exports)),Bo.exports).detectDomainLocale,s=t||i(e,o).detectedLocale,E=l(a,void 0,s);if(E){const t="http"+(E.http?"":"s")+"://",o=s===E.defaultLocale?"":"/"+s;return""+t+E.domain+(0,n.normalizePathTrailingSlash)(""+r+o+e)}return!1}return!1}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Lo,Lo.exports)),Lo.exports}var $o,Wo={exports:{}};var ko,jo={exports:{}};function Vo(){return ko||(ko=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return r}});const n=a;function r(e,t){const r=(0,n.useRef)(null),a=(0,n.useRef)(null);
|
|
746
|
+
// NOTE: In theory, we could skip the wrapping if only one of the refs is non-null.
|
|
747
|
+
// (this happens often if the user doesn't pass a ref to Link/Form/Image)
|
|
748
|
+
// But this can cause us to leak a cleanup-ref into user code (e.g. via `<Link legacyBehavior>`),
|
|
749
|
+
// and the user might pass that ref into ref-merging library that doesn't support cleanup refs
|
|
750
|
+
// (because it hasn't been updated for React 19)
|
|
751
|
+
// which can then cause things to blow up, because a cleanup-returning ref gets called with `null`.
|
|
752
|
+
// So in practice, it's safer to be defensive and always wrap the ref, even on React 19.
|
|
753
|
+
return(0,n.useCallback)((n=>{if(null===n){const e=r.current;e&&(r.current=null,e());const t=a.current;t&&(a.current=null,t())}else e&&(r.current=o(e,n)),t&&(a.current=o(t,n))}),[e,t])}function o(e,t){if("function"==typeof e){const n=e(t);return"function"==typeof n?n:()=>e(null)}return e.current=t,()=>{e.current=null}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(jo,jo.exports)),jo.exports}var Jo,Ko,Xo,zo,qo={};function Qo(){return Ko||(Ko=1,function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(n,{default:function(){return I},useLinkStatus:function(){return N}});const r=e,o=nr()._(a),i=so(),l=Lr(),s=Er(),E=Rr(),c=(uo||(uo=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return r}});const n=Ir(),r=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return process.env.__NEXT_I18N_SUPPORT?(0,n.normalizePathTrailingSlash)(Ao().addLocale(e,...r)):e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Oo,Oo.exports)),Oo.exports),u=Io(),d=go(),O=Ho(),R=($o||($o=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});const n=fo(),r=Ir(),o=process.env.__NEXT_ROUTER_BASEPATH||"";function a(e,t){return(0,r.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!t?e:(0,n.addPathPrefix)(e,o))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Wo,Wo.exports)),Wo.exports),p=Vo(),f=(Jo||(Jo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"errorOnce",{enumerable:!0,get:function(){return t}});let t=e=>{};if("production"!==process.env.NODE_ENV){const e=new Set;t=t=>{e.has(t)||console.error(t),e.add(t)}}}(qo)),qo),A=new Set;function S(e,t,n,r){if("undefined"!=typeof window&&(0,l.isLocalURL)(t)){
|
|
754
|
+
// We should only dedupe requests when experimental.optimisticClientCache is
|
|
755
|
+
// disabled.
|
|
756
|
+
if(!r.bypassPrefetchedCheck){const o=t+"%"+n+"%"+(// Let the link's locale prop override the default router locale.
|
|
757
|
+
void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);
|
|
758
|
+
// If we've already fetched the key, then don't prefetch it again!
|
|
759
|
+
if(A.has(o))return;
|
|
760
|
+
// Mark this URL as prefetched.
|
|
761
|
+
A.add(o)}
|
|
762
|
+
// Prefetch the JSON page if asked (only in the client)
|
|
763
|
+
// We need to handle a prefetch error here since we may be
|
|
764
|
+
// loading with priority which can reject but we don't
|
|
765
|
+
// want to force navigation since this is only a prefetch
|
|
766
|
+
e.prefetch(t,n,r).catch((e=>{if("production"!==process.env.NODE_ENV)
|
|
767
|
+
// rethrow to show invalid URL errors
|
|
768
|
+
throw e}))}}function C(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}
|
|
769
|
+
/**
|
|
770
|
+
* A React component that extends the HTML `<a>` element to provide [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching)
|
|
771
|
+
* and client-side navigation between routes.
|
|
772
|
+
*
|
|
773
|
+
* It is the primary way to navigate between routes in Next.js.
|
|
774
|
+
*
|
|
775
|
+
* Read more: [Next.js docs: `<Link>`](https://nextjs.org/docs/app/api-reference/components/link)
|
|
776
|
+
*/const M=o.default.forwardRef((function(e,t){let n;const{href:a,as:s,children:A,prefetch:M=null,passHref:T,replace:N,shallow:I,scroll:h,locale:m,onClick:b,onNavigate:D,onMouseEnter:g,onTouchStart:y,legacyBehavior:_=!1,...L}=e;n=A,!_||"string"!=typeof n&&"number"!=typeof n||(n=(0,r.jsx)("a",{children:n}));const v=o.default.useContext(u.RouterContext),P=!1!==M;if("production"!==process.env.NODE_ENV){function V(e){return Object.defineProperty(new Error("Failed prop type: The prop `"+e.key+"` expects a "+e.expected+" in `<Link>`, but got `"+e.actual+"` instead."+("undefined"!=typeof window?"\nOpen your browser's console to view the Component stack trace.":"")),"__NEXT_ERROR_CODE",{value:"E319",enumerable:!1,configurable:!0})}
|
|
777
|
+
// TypeScript trick for type-guarding:
|
|
778
|
+
const J={href:!0};Object.keys(J).forEach((t=>{if("href"===t&&(null==e[t]||"string"!=typeof e[t]&&"object"!=typeof e[t]))throw V({key:t,expected:"`string` or `object`",actual:null===e[t]?"null":typeof e[t]})}));
|
|
779
|
+
// TypeScript trick for type-guarding:
|
|
780
|
+
const K={as:!0,replace:!0,scroll:!0,shallow:!0,passHref:!0,prefetch:!0,locale:!0,onClick:!0,onMouseEnter:!0,onTouchStart:!0,legacyBehavior:!0,onNavigate:!0};Object.keys(K).forEach((t=>{const n=typeof e[t];if("as"===t){if(e[t]&&"string"!==n&&"object"!==n)throw V({key:t,expected:"`string` or `object`",actual:n})}else if("locale"===t){if(e[t]&&"string"!==n)throw V({key:t,expected:"`string`",actual:n})}else if("onClick"===t||"onMouseEnter"===t||"onTouchStart"===t||"onNavigate"===t){if(e[t]&&"function"!==n)throw V({key:t,expected:"`function`",actual:n})}else if(("replace"===t||"scroll"===t||"shallow"===t||"passHref"===t||"prefetch"===t||"legacyBehavior"===t)&&null!=e[t]&&"boolean"!==n)throw V({key:t,expected:"`boolean`",actual:n})}))}const{href:F,as:x}=o.default.useMemo((()=>{if(!v){const e=C(a);return{href:e,as:s?C(s):e}}const[e,t]=(0,i.resolveHref)(v,a,!0);return{href:e,as:s?(0,i.resolveHref)(v,s):t||e}}),[v,a,s]),Y=o.default.useRef(F),w=o.default.useRef(x);
|
|
781
|
+
// This will return the first child, if multiple are provided it will throw an error
|
|
782
|
+
let B;if(_)if("development"===process.env.NODE_ENV){b&&console.warn('"onClick" was passed to <Link> with `href` of `'+a+'` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'),g&&console.warn('"onMouseEnter" was passed to <Link> with `href` of `'+a+'` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');try{B=o.default.Children.only(n)}catch(X){if(!n)throw Object.defineProperty(new Error("No children were passed to <Link> with `href` of `"+a+"` but one child is required https://nextjs.org/docs/messages/link-no-children"),"__NEXT_ERROR_CODE",{value:"E320",enumerable:!1,configurable:!0});throw Object.defineProperty(new Error("Multiple children were passed to <Link> with `href` of `"+a+"` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children"+("undefined"!=typeof window?" \nOpen your browser's console to view the Component stack trace.":"")),"__NEXT_ERROR_CODE",{value:"E266",enumerable:!1,configurable:!0})}}else B=o.default.Children.only(n);else if("development"===process.env.NODE_ENV&&"a"===(null==n?void 0:n.type))throw Object.defineProperty(new Error("Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor"),"__NEXT_ERROR_CODE",{value:"E209",enumerable:!1,configurable:!0});const G=_?B&&"object"==typeof B&&B.ref:t,[U,H,$]=(0,d.useIntersection)({rootMargin:"200px"}),W=o.default.useCallback((e=>{
|
|
783
|
+
// Before the link getting observed, check if visible state need to be reset
|
|
784
|
+
w.current===x&&Y.current===F||($(),w.current=x,Y.current=F),U(e)}),[x,F,$,U]),k=(0,p.useMergedRef)(W,G);
|
|
785
|
+
// Prefetch the URL if we haven't already and it's visible.
|
|
786
|
+
o.default.useEffect((()=>{
|
|
787
|
+
// in dev, we only prefetch on hover to avoid wasting resources as the prefetch will trigger compiling the page.
|
|
788
|
+
"production"===process.env.NODE_ENV&&v&&H&&P&&
|
|
789
|
+
// Prefetch the URL.
|
|
790
|
+
S(v,F,x,{locale:m})}),[x,F,H,m,P,null==v?void 0:v.locale,v]);const j={ref:k,onClick(e){if("production"!==process.env.NODE_ENV&&!e)throw Object.defineProperty(new Error('Component rendered inside next/link has to pass click event to "onClick" prop.'),"__NEXT_ERROR_CODE",{value:"E312",enumerable:!1,configurable:!0});_||"function"!=typeof b||b(e),_&&B.props&&"function"==typeof B.props.onClick&&B.props.onClick(e),v&&(e.defaultPrevented||function(e,t,n,r,o,a,i,s,E){const{nodeName:c}=e.currentTarget;
|
|
791
|
+
// anchors inside an svg have a lowercase nodeName
|
|
792
|
+
if("A"===c.toUpperCase()&&function(e){const t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||// triggers resource download
|
|
793
|
+
e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))
|
|
794
|
+
// ignore click for browser’s default behavior
|
|
795
|
+
return;if(!(0,l.isLocalURL)(n))
|
|
796
|
+
// ignore click for browser’s default behavior
|
|
797
|
+
return void(o&&(
|
|
798
|
+
// browser default behavior does not replace the history state
|
|
799
|
+
// so we need to do it manually
|
|
800
|
+
e.preventDefault(),location.replace(n)));e.preventDefault(),(()=>{if(E){let e=!1;if(E({preventDefault:()=>{e=!0}}),e)return}
|
|
801
|
+
// If the router is an NextRouter instance it will have `beforePopState`
|
|
802
|
+
const e=null==i||i;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,locale:s,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})})()}(e,v,F,x,N,I,h,m,D))},onMouseEnter(e){_||"function"!=typeof g||g(e),_&&B.props&&"function"==typeof B.props.onMouseEnter&&B.props.onMouseEnter(e),v&&S(v,F,x,{locale:m,priority:!0,
|
|
803
|
+
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
804
|
+
bypassPrefetchedCheck:!0})},onTouchStart:process.env.__NEXT_LINK_NO_TOUCH_START?void 0:function(e){_||"function"!=typeof y||y(e),_&&B.props&&"function"==typeof B.props.onTouchStart&&B.props.onTouchStart(e),v&&S(v,F,x,{locale:m,priority:!0,
|
|
805
|
+
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
806
|
+
bypassPrefetchedCheck:!0})}};
|
|
807
|
+
// If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
|
|
808
|
+
// defined, we specify the current 'href', so that repetition is not needed by the user.
|
|
809
|
+
// If the url is absolute, we can bypass the logic to prepend the domain and locale.
|
|
810
|
+
if((0,E.isAbsoluteUrl)(x))j.href=x;else if(!_||T||"a"===B.type&&!("href"in B.props)){const z=void 0!==m?m:null==v?void 0:v.locale,q=(null==v?void 0:v.isLocaleDomain)&&(0,O.getDomainLocale)(x,z,null==v?void 0:v.locales,null==v?void 0:v.domainLocales);
|
|
811
|
+
// we only render domain locales if we are currently on a domain locale
|
|
812
|
+
// so that locale links are still visitable in development/preview envs
|
|
813
|
+
j.href=q||(0,R.addBasePath)((0,c.addLocale)(x,z,null==v?void 0:v.defaultLocale))}return _?("development"===process.env.NODE_ENV&&(0,f.errorOnce)("`legacyBehavior` is deprecated and will be removed in a future release. A codemod is available to upgrade your components:\n\nnpx @next/codemod@latest new-link .\n\nLearn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components"),o.default.cloneElement(B,j)):(0,r.jsx)("a",{...L,...j,children:n})})),T=(0,o.createContext)({
|
|
814
|
+
// We do not support link status in the Pages Router, so we always return false
|
|
815
|
+
pending:!1}),N=()=>(0,o.useContext)(T),I=M;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}(er,er.exports)),er.exports}var Zo=Qn(zo?Xo:(zo=1,Xo=Qo()));const ea=({href:e,label:r,className:o,ref:a,onClick:i,variant:l,theme:s,size:E,disabled:c,iconOption:u,iconPosition:d,responsive:O,...R})=>{const{iconKey:p}=u??{};Re({variant:l,theme:s,size:E});return n(Zo,{"aria-disabled":c,className:k(o,pe({variant:l,theme:s,size:E,disabled:c,iconOption:u,iconPosition:d,responsive:O})),href:e,ref:a,onClick:e=>{c?e.preventDefault():i?.(e)},tabIndex:c?-1:0,...R,children:[p&&t(Oe,{iconKey:p,size:E,responsive:O}),r]})},ta="button",na="link",ra=({as:e,buttonOption:t,linkOption:n})=>{s((()=>{if(e===na&&!n)throw new Error('linkOption is required when as prop is set to "link"');if(e===na&&t)throw new Error('buttonOption cannot be used when as prop is set to "link"');if(e===ta&&n)throw new Error('linkOption cannot be used when as prop is set to "button"')}),[e,n,t])},oa=({as:e=na,buttonOption:n,linkOption:r,...o})=>(ra({as:e,linkOption:r,buttonOption:n}),e===ta&&n?t(fe,{...o,...n}):e===na&&r?t(ea,{...o,...r}):void 0),aa=({className:e})=>{const{theme:n,actionOption:r}=J();if(!r)return null;const{label:o,...a}=r;return t(oa,{...a,variant:"text",size:"sm",theme:n,label:o??"확인하기",iconOption:{iconKey:"caret-right"},iconPosition:"right",className:e})},ia={GRAY:"gray",PRIMARY:"primary",GREEN:"green",YELLOW:"yellow",RED:"red"},la={[ia.GRAY]:"gray-07",[ia.PRIMARY]:"primary-08",[ia.GREEN]:"green-06",[ia.YELLOW]:"yellow-07",[ia.RED]:"red-07"},sa={[ia.GRAY]:{root:"bg-in-gray-02",icon:"text-in-gray-05"},[ia.PRIMARY]:{root:"bg-in-primary-02",icon:"text-in-primary-04"},[ia.GREEN]:{root:"bg-in-green-02",icon:"text-in-green-03"},[ia.YELLOW]:{root:"bg-in-yellow-02",icon:"text-in-yellow-04"},[ia.RED]:{root:"bg-in-red-02",icon:"text-in-red-03"}},Ea=({children:e,className:n})=>{const{theme:r,hasTitle:o,collapsible:a,collapsed:i}=J(),l=o&&a;return t("div",{role:"alert",className:k(n,"in-flex-v-stack rounded-in-8 items-start break-keep px-4",o?"py-[0.875rem]":"h-10 justify-center",sa[r].root,l&&["transition-[max-height] duration-150 ease-out",i?"max-h-[3.375rem]":"max-h-[100svh]"]),"aria-expanded":l?!i:void 0,children:e})},ca={SPAN:"span",P:"p",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",B:"b",EM:"em",I:"i",PRE:"pre",STRONG:"strong",ABBR:"abbr",SUB:"sub",Q:"q",ADDRESS:"address",CODE:"code",DFN:"dfn",MARK:"mark",SMALL:"small",SUP:"sup",TIME:"time",FIGCAPTION:"figcaption"},ua=({as:e,variant:n,color:r,className:o,children:a,title:i,id:l,hidden:s,"aria-live":E,role:c})=>t(e||ca.SPAN,{className:k(o,n&&Xn[n],r?Wn.TEXT[r]:"text-inherit",s&&"sr-only"),id:l,title:i,role:c,"aria-live":E,children:a}),da=({description:e})=>{const{theme:n}=J();return t(ua,{as:"p",variant:"body-14-r",color:la[n],children:e})},Oa=()=>{const{setVisible:e}=J();return t(qn,{iconKey:"x",arialLabel:"닫기",theme:"hover-white",onClick:()=>e(!1)})},Ra=()=>{const{theme:e,collapsible:n,collapsed:r,setCollapsed:o}=J();return n?t(fe,{label:r?"펼치기":"접기",variant:"text",size:"xs",theme:e,iconOption:{iconKey:r?"caret-down":"caret-up"},iconPosition:"right",onClick:()=>o((e=>!e))}):null},pa=({iconOption:e})=>{const{theme:n,hasTitle:r}=J();return t(de,{className:k(sa[n].icon,r?"text-[1.25rem]":"text-[1.125rem]"),iconKey:e?.iconKey??"info",weight:"fill"})},fa=({heading:e,iconOption:r})=>{const{theme:o,hasTitle:a,collapsible:i,useClose:l,actionOption:s}=J(),E=i||l||s,c=n("div",{className:"in-flex-h-stack w-full items-center gap-x-1.5 overflow-hidden",children:[t(pa,{iconOption:r}),t(ua,{as:a?"strong":"p",variant:a?"body-14-b":"body-14-m",color:la[o],className:"truncate",children:e})]});return E?n("div",{className:"in-flex-h-stack w-full items-center justify-between",children:[c,!a&&t(aa,{}),a&&t(Ra,{}),l&&t(Oa,{})]}):c},Aa=({title:e,content:r,theme:o=ia.PRIMARY,collapsible:a=!1,useClose:i=!1,actionOption:l,iconOption:s,className:E})=>{const[u,d]=c(!1),[O,R]=c(!0),p=!!e;return O?t(V,{hasTitle:p,theme:o,collapsible:a,actionOption:l,useClose:i,collapsed:u,setCollapsed:d,setVisible:R,children:n(Ea,{className:E,children:[t(fa,{heading:e??r,iconOption:s}),p&&n("div",{className:k("pl-[1.625rem] transition-opacity",u?"opacity-0":"opacity-100"),"aria-hidden":u,children:[t(da,{description:r}),t(aa,{className:"mt-1 w-fit"})]})]})}):null},Sa={SINGLE:"single",GROUP:"group"},Ca={SM:"sm",MD:"md"},Ma={PRIMARY:"primary",GRAY:"gray"},Ta={[Ca.SM]:"w-8 h-8 rounded-in-12 border-2 border-in-white",[Ca.MD]:"w-10 h-10 rounded-in-16"},Na={[Ca.SM]:{width:32,height:32},[Ca.MD]:{width:40,height:40}},Ia={[Sa.SINGLE]:"user",[Sa.GROUP]:"users-three"},ha={[Sa.SINGLE]:{[Ca.SM]:"text-[0.875rem]",[Ca.MD]:"text-[1.125rem]"},[Sa.GROUP]:{[Ca.SM]:"text-[1rem]",[Ca.MD]:"text-[1.25rem]"}},ma={[Ma.PRIMARY]:"text-in-primary-04 bg-in-primary-02",[Ma.GRAY]:"bg-in-gray-02 text-in-gray-06"},ba={DIV:"div",SECTION:"section",ARTICLE:"article",NAV:"nav",ASIDE:"aside",MAIN:"main",HEADER:"header",FOOTER:"footer",FORM:"form",FIELDSET:"fieldset",ADDRESS:"address",FIGURE:"figure",DETAILS:"details",DIALOG:"dialog"},Da={ROW:"row",COLUMN:"column",ROW_REVERSE:"row-reverse",COLUMN_REVERSE:"column-reverse"},ga={[Da.ROW]:"flex-row",[Da.COLUMN]:"flex-col",[Da.ROW_REVERSE]:"flex-row-reverse",[Da.COLUMN_REVERSE]:"flex-col-reverse"},ya={START:"start",END:"end",END_SAFE:"end-safe",CENTER:"center",CENTER_SAFE:"center-safe",BASELINE:"baseline",BASELINE_LAST:"baseline-last",STRETCH:"stretch"},_a={[ya.START]:"items-start",[ya.END]:"items-end",[ya.END_SAFE]:"items-end-safe",[ya.CENTER]:"items-center",[ya.CENTER_SAFE]:"items-center-safe",[ya.BASELINE]:"items-baseline",[ya.BASELINE_LAST]:"items-baseline-last",[ya.STRETCH]:"items-stretch"},La={NORMAL:"normal",CENTER:"center",START:"start",END:"end",BETWEEN:"between",AROUND:"around",EVENLY:"evenly",BASELINE:"baseline",STRETCH:"stretch"},va={[La.NORMAL]:"content-normal",[La.CENTER]:"content-center",[La.START]:"content-start",[La.END]:"content-end",[La.BETWEEN]:"content-between",[La.AROUND]:"content-around",[La.EVENLY]:"content-evenly",[La.BASELINE]:"content-baseline",[La.STRETCH]:"content-stretch"},Pa={AUTO:"auto",START:"start",END:"end",END_SAFE:"end-safe",CENTER:"center",CENTER_SAFE:"center-safe",STRETCH:"stretch",BASELINE:"baseline",BASELINE_LAST:"baseline-last"},Fa={[Pa.AUTO]:"self-auto",[Pa.START]:"self-start",[Pa.END]:"self-end",[Pa.END_SAFE]:"self-end-safe",[Pa.CENTER]:"self-center",[Pa.CENTER_SAFE]:"self-center-safe",[Pa.STRETCH]:"self-stretch",[Pa.BASELINE]:"self-baseline",[Pa.BASELINE_LAST]:"self-baseline-last"},xa={CONTENT:"content",SELF:"self",ITEMS:"items"},Ya={[xa.CONTENT]:va,[xa.SELF]:Fa,[xa.ITEMS]:_a},wa={START:"start",END:"end",END_SAFE:"end-safe",CENTER:"center",CENTER_SAFE:"center-safe",BETWEEN:"between",AROUND:"around",EVENLY:"evenly",STRETCH:"stretch",BASELINE:"baseline",NORMAL:"normal"},Ba={[wa.START]:"justify-start",[wa.END]:"justify-end",[wa.END_SAFE]:"justify-end-safe",[wa.CENTER]:"justify-center",[wa.CENTER_SAFE]:"justify-center-safe",[wa.BETWEEN]:"justify-between",[wa.AROUND]:"justify-around",[wa.EVENLY]:"justify-evenly",[wa.STRETCH]:"justify-stretch",[wa.BASELINE]:"justify-baseline",[wa.NORMAL]:"justify-normal"},Ga={START:"start",END:"end",END_SAFE:"end-safe",CENTER:"center",CENTER_SAFE:"center-safe",STRETCH:"stretch",NORMAL:"normal"},Ua={[Ga.START]:"justify-items-start",[Ga.END]:"justify-items-end",[Ga.END_SAFE]:"justify-items-end-safe",[Ga.CENTER]:"justify-items-center",[Ga.CENTER_SAFE]:"justify-items-center-safe",[Ga.STRETCH]:"justify-items-stretch",[Ga.NORMAL]:"justify-items-normal"},Ha={AUTO:"auto",START:"start",CENTER:"center",CENTER_SAFE:"center-safe",END:"end",END_SAFE:"end-safe",STRETCH:"stretch"},$a={[Ha.AUTO]:"justify-self-auto",[Ha.START]:"justify-self-start",[Ha.CENTER]:"justify-self-center",[Ha.CENTER_SAFE]:"justify-self-center-safe",[Ha.END]:"justify-self-end",[Ha.END_SAFE]:"justify-self-end-safe",[Ha.STRETCH]:"justify-self-stretch"},Wa={CONTENT:"content",ITEMS:"items",SELF:"self"},ka={[Wa.CONTENT]:Ba,[Wa.ITEMS]:Ua,[Wa.SELF]:$a},ja={NONE:"0",TWO:"2",FOUR:"4",SIX:"6",EIGHT:"8",TEN:"10",TWELVE:"12",FOUR_TEEN:"14",SIX_TEEN:"16",EIGHT_TEEN:"18",TWENTY:"20",TWENTY_TWO:"22",TWENTY_FOUR:"24",TWENTY_SIX:"26",TWENTY_EIGHT:"28",THIRTY:"30",THIRTY_TWO:"32",THIRTY_FOUR:"34",THIRTY_SIX:"36",THIRTY_EIGHT:"38",FORTY:"40"},Va={[ja.NONE]:"gap-0",[ja.TWO]:"gap-0.5",[ja.FOUR]:"gap-1",[ja.SIX]:"gap-1.5",[ja.EIGHT]:"gap-2",[ja.TEN]:"gap-2.5",[ja.TWELVE]:"gap-3",[ja.FOUR_TEEN]:"gap-3.5",[ja.SIX_TEEN]:"gap-4",[ja.EIGHT_TEEN]:"gap-[1.125rem]",[ja.TWENTY]:"gap-5",[ja.TWENTY_TWO]:"gap-[1.375rem]",[ja.TWENTY_FOUR]:"gap-6",[ja.TWENTY_SIX]:"gap-[1.625rem]",[ja.TWENTY_EIGHT]:"gap-7",[ja.THIRTY]:"gap-[1.875rem]",[ja.THIRTY_TWO]:"gap-8",[ja.THIRTY_FOUR]:"gap-[2.125rem]",[ja.THIRTY_SIX]:"gap-9",[ja.THIRTY_EIGHT]:"gap-[2.375rem]",[ja.FORTY]:"gap-10"},Ja={[ja.NONE]:"gap-y-0",[ja.TWO]:"gap-y-0.5",[ja.FOUR]:"gap-y-1",[ja.SIX]:"gap-y-1.5",[ja.EIGHT]:"gap-y-2",[ja.TEN]:"gap-y-2.5",[ja.TWELVE]:"gap-y-3",[ja.FOUR_TEEN]:"gap-y-3.5",[ja.SIX_TEEN]:"gap-y-4",[ja.EIGHT_TEEN]:"gap-y-[1.125rem]",[ja.TWENTY]:"gap-y-5",[ja.TWENTY_TWO]:"gap-y-[1.375rem]",[ja.TWENTY_FOUR]:"gap-y-6",[ja.TWENTY_SIX]:"gap-y-[1.625rem]",[ja.TWENTY_EIGHT]:"gap-y-7",[ja.THIRTY]:"gap-y-[1.875rem]",[ja.THIRTY_TWO]:"gap-y-8",[ja.THIRTY_FOUR]:"gap-y-[2.125rem]",[ja.THIRTY_SIX]:"gap-y-9",[ja.THIRTY_EIGHT]:"gap-y-[2.375rem]",[ja.FORTY]:"gap-y-10"},Ka={[ja.NONE]:"gap-x-0",[ja.TWO]:"gap-x-0.5",[ja.FOUR]:"gap-x-1",[ja.SIX]:"gap-x-1.5",[ja.EIGHT]:"gap-x-2",[ja.TEN]:"gap-x-2.5",[ja.TWELVE]:"gap-x-3",[ja.FOUR_TEEN]:"gap-x-3.5",[ja.SIX_TEEN]:"gap-x-4",[ja.EIGHT_TEEN]:"gap-x-[1.125rem]",[ja.TWENTY]:"gap-x-5",[ja.TWENTY_TWO]:"gap-x-[1.375rem]",[ja.TWENTY_FOUR]:"gap-x-6",[ja.TWENTY_SIX]:"gap-x-[1.625rem]",[ja.TWENTY_EIGHT]:"gap-x-7",[ja.THIRTY]:"gap-x-[1.875rem]",[ja.THIRTY_TWO]:"gap-x-8",[ja.THIRTY_FOUR]:"gap-x-[2.125rem]",[ja.THIRTY_SIX]:"gap-x-9",[ja.THIRTY_EIGHT]:"gap-x-[2.375rem]",[ja.FORTY]:"gap-x-10"},Xa={column:Ja,row:Ka},za={NOWRAP:"nowrap",WRAP:"wrap",WRAP_REVERSE:"wrap-reverse"},qa={[za.NOWRAP]:"flex-nowrap",[za.WRAP]:"flex-wrap",[za.WRAP_REVERSE]:"flex-wrap-reverse"},Qa={NONE:"0",ONE:"1",TWO:"2",THREE:"3",FOUR:"4",FIVE:"5"},Za={[Qa.NONE]:"shrink-0",[Qa.ONE]:"shrink-1",[Qa.TWO]:"shrink-2",[Qa.THREE]:"shrink-3",[Qa.FOUR]:"shrink-4",[Qa.FIVE]:"shrink-5"},ei={NONE:"0",ONE:"1",TWO:"2",THREE:"3",FOUR:"4",FIVE:"5"},ti={[ei.NONE]:"grow-0",[ei.ONE]:"grow-1",[ei.TWO]:"grow-2",[ei.THREE]:"grow-3",[ei.FOUR]:"grow-4",[ei.FIVE]:"grow-5"},ni={FIRST:"1",SECOND:"2",THIRD:"3",FOURTH:"4",FIFTH:"5"},ri={[ni.FIRST]:"order-1",[ni.SECOND]:"order-2",[ni.THIRD]:"order-3",[ni.FOURTH]:"order-4",[ni.FIFTH]:"order-5"},oi={FIRST:"1",SECOND:"2",THIRD:"3",FOURTH:"4",FIFTH:"5"},ai={[oi.FIRST]:"basis-1",[oi.SECOND]:"basis-2",[oi.THIRD]:"basis-3",[oi.FOURTH]:"basis-4",[oi.FIFTH]:"basis-5"},ii={NONE:"0",ONE:"1",TWO:"2",THREE:"3",FOUR:"4",FIVE:"5"},li={[ii.NONE]:"flex-none",[ii.ONE]:"flex-1",[ii.TWO]:"flex-2",[ii.THREE]:"flex-3",[ii.FOUR]:"flex-4",[ii.FIVE]:"flex-5"},si=({as:e,children:n,className:r,...o})=>t(e||ba.DIV,{className:k(r,"flex",...(({options:e})=>{const{direction:t=Da.ROW,align:n,justify:r,gap:o,wrap:a,basis:i,shrink:l,grow:s,flex:E,order:c}=e,u=[ga[t],a&&qa[a],i&&ai[i],l&&Za[l],s&&ti[s],E&&li[E],c&&ri[c]].filter(Boolean);if(o&&("string"==typeof o&&u.push(Va[o]),o instanceof Object)){const{column:e,row:t}=o;e&&u.push(Xa.column[e]),t&&u.push(Xa.row[t])}return n&&Object.entries(n).forEach((([e,t])=>{e&&t&&u.push(Ya[e][t])})),r&&Object.entries(r).forEach((([e,t])=>{e&&t&&u.push(ka[e][t])})),u})({options:o})),children:n}),Ei=({size:e,theme:n,children:r,className:o})=>t(si,{className:k(o,Ta[e],ma[n],"overflow-hidden"),align:{items:"center"},justify:{content:"center"},children:r});var ci,ui={},di={},Oi={};function Ri(){return ci||(ci=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"warnOnce",{enumerable:!0,get:function(){return t}});let t=e=>{};if("production"!==process.env.NODE_ENV){const e=new Set;t=t=>{e.has(t)||console.warn(t),e.add(t)}}}(Oi)),Oi}var pi,fi={};
|
|
816
|
+
/**
|
|
817
|
+
* A shared function, used on both client and server, to generate a SVG blur placeholder.
|
|
818
|
+
*/var Ai,Si,Ci={};function Mi(){return Ai||(Ai=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{VALID_LOADERS:function(){return t},imageConfigDefault:function(){return n}});const t=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}}(Ci)),Ci}function Ti(){return Si||(Si=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return u}});const t=Ri(),n=(pi||(pi=1,function(e){function t(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:o,blurDataURL:a,objectFit:i}=e;const l=r?40*r:t,s=o?40*o:n,E=l&&s?"viewBox='0 0 "+l+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+E+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(E?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return t}})}(fi)),fi),r=Mi(),o=["lazy","eager",void 0],a=["-moz-initial","fill","none","scale-down",void 0];function i(e){return void 0!==e.default}const l=new Map;let s;function E(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function c(e){let{config:t,src:n,unoptimized:r,width:o,quality:a,sizes:i,loader:l}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};const{widths:s,kind:E}=function(e,t,n){let{deviceSizes:r,allSizes:o}=e;if(n){
|
|
819
|
+
// Find all the "vw" percent sizes used in the sizes prop
|
|
820
|
+
const e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){const e=.01*Math.min(...t);return{widths:o.filter((t=>t>=r[0]*e)),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set(// > This means that most OLED screens that say they are 3x resolution,
|
|
821
|
+
// > are actually 3x in the green color, but only 1.5x in the red and
|
|
822
|
+
// > blue colors. Showing a 3x resolution image in the app vs a 2x
|
|
823
|
+
// > resolution image will be visually the same, though the 3x image
|
|
824
|
+
// > takes significantly more data. Even true 3x resolution screens are
|
|
825
|
+
// > wasteful as the human eye cannot see that level of detail without
|
|
826
|
+
// > something like a magnifying glass.
|
|
827
|
+
// https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html
|
|
828
|
+
[t,2/*, width * 3*/*t].map((e=>o.find((t=>t>=e))||o[o.length-1])))],kind:"x"}}(t,o,i),c=s.length-1;return{sizes:i||"w"!==E?i:"100vw",srcSet:s.map(((e,r)=>l({config:t,src:n,quality:a,width:e})+" "+("w"===E?e:r+1)+E)).join(", "),
|
|
829
|
+
// It's intended to keep `src` the last attribute because React updates
|
|
830
|
+
// attributes in order. If we keep `src` the first one, Safari will
|
|
831
|
+
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
832
|
+
// updated by React. That causes multiple unnecessary requests if `srcSet`
|
|
833
|
+
// and `sizes` are defined.
|
|
834
|
+
// This bug cannot be reproduced in Chrome or Firefox.
|
|
835
|
+
src:l({config:t,src:n,quality:a,width:s[c]})}}function u(e,u){let{src:d,sizes:O,unoptimized:R=!1,priority:p=!1,loading:f,className:A,quality:S,width:C,height:M,fill:T=!1,style:N,overrideSrc:I,onLoad:h,onLoadingComplete:m,placeholder:b="empty",blurDataURL:D,fetchPriority:g,decoding:y="async",layout:_,objectFit:L,objectPosition:v,lazyBoundary:P,lazyRoot:F,...x}=e;const{imgConf:Y,showAltText:w,blurComplete:B,defaultLoader:G}=u;let U,H=Y||r.imageConfigDefault;if("allSizes"in H)U=H;else{var $;const e=[...H.deviceSizes,...H.imageSizes].sort(((e,t)=>e-t)),t=H.deviceSizes.sort(((e,t)=>e-t)),n=null==($=H.qualities)?void 0:$.sort(((e,t)=>e-t));U={...H,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===G)throw Object.defineProperty(new Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=x.loader||G;
|
|
836
|
+
// Remove property so it's not spread on <img> element
|
|
837
|
+
delete x.loader,delete x.srcSet;
|
|
838
|
+
// This special value indicates that the user
|
|
839
|
+
// didn't define a "loader" prop or "loader" config.
|
|
840
|
+
const k="__next_img_default"in W;if(k){if("custom"===U.loader)throw Object.defineProperty(new Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{
|
|
841
|
+
// The user defined a "loader" prop or config.
|
|
842
|
+
// Since the config object is internal only, we
|
|
843
|
+
// must not pass it to the user-defined "loader".
|
|
844
|
+
const e=W;W=t=>{const{config:n,...r}=t;return e(r)}}if(_){"fill"===_&&(T=!0);const e={responsive:"100vw",fill:"100vw"},t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[_];t&&(N={...N,...t});const n=e[_];n&&!O&&(O=n)}let j,V,J="",K=E(C),X=E(M);if(function(e){return!!e&&"object"==typeof e&&(i(e)||function(e){return void 0!==e.src}(e))}(d)){const e=i(d)?d.default:d;if(!e.src)throw Object.defineProperty(new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(j=e.blurWidth,V=e.blurHeight,D=D||e.blurDataURL,J=e.src,!T)if(K||X){if(K&&!X){const t=K/e.width;X=Math.round(e.height*t)}else if(!K&&X){const t=X/e.height;K=Math.round(e.width*t)}}else K=e.width,X=e.height}d="string"==typeof d?d:J;let z=!p&&("lazy"===f||void 0===f);(!d||d.startsWith("data:")||d.startsWith("blob:"))&&(
|
|
845
|
+
// https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
|
|
846
|
+
R=!0,z=!1),U.unoptimized&&(R=!0),k&&!U.dangerouslyAllowSVG&&d.split("?",1)[0].endsWith(".svg")&&(
|
|
847
|
+
// Special case to make svg serve as-is to avoid proxying
|
|
848
|
+
// through the built-in Image Optimization API.
|
|
849
|
+
R=!0);const q=E(S);if("production"!==process.env.NODE_ENV){if("export"===U.output&&k&&!R)throw Object.defineProperty(new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api"),"__NEXT_ERROR_CODE",{value:"E500",enumerable:!1,configurable:!0});if(d)if(T){if(C)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "width" and "fill" properties. Only one should be used.'),"__NEXT_ERROR_CODE",{value:"E96",enumerable:!1,configurable:!0});if(M)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "height" and "fill" properties. Only one should be used.'),"__NEXT_ERROR_CODE",{value:"E115",enumerable:!1,configurable:!0});if((null==N?void 0:N.position)&&"absolute"!==N.position)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.'),"__NEXT_ERROR_CODE",{value:"E216",enumerable:!1,configurable:!0});if((null==N?void 0:N.width)&&"100%"!==N.width)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.'),"__NEXT_ERROR_CODE",{value:"E73",enumerable:!1,configurable:!0});if((null==N?void 0:N.height)&&"100%"!==N.height)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.'),"__NEXT_ERROR_CODE",{value:"E404",enumerable:!1,configurable:!0})}else{if(void 0===K)throw Object.defineProperty(new Error('Image with src "'+d+'" is missing required "width" property.'),"__NEXT_ERROR_CODE",{value:"E451",enumerable:!1,configurable:!0});if(isNaN(K))throw Object.defineProperty(new Error('Image with src "'+d+'" has invalid "width" property. Expected a numeric value in pixels but received "'+C+'".'),"__NEXT_ERROR_CODE",{value:"E66",enumerable:!1,configurable:!0});if(void 0===X)throw Object.defineProperty(new Error('Image with src "'+d+'" is missing required "height" property.'),"__NEXT_ERROR_CODE",{value:"E397",enumerable:!1,configurable:!0});
|
|
850
|
+
// eslint-disable-next-line no-control-regex
|
|
851
|
+
if(isNaN(X))throw Object.defineProperty(new Error('Image with src "'+d+'" has invalid "height" property. Expected a numeric value in pixels but received "'+M+'".'),"__NEXT_ERROR_CODE",{value:"E444",enumerable:!1,configurable:!0});if(/^[\x00-\x20]/.test(d))throw Object.defineProperty(new Error('Image with src "'+d+'" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.'),"__NEXT_ERROR_CODE",{value:"E176",enumerable:!1,configurable:!0});
|
|
852
|
+
// eslint-disable-next-line no-control-regex
|
|
853
|
+
if(/[\x00-\x20]$/.test(d))throw Object.defineProperty(new Error('Image with src "'+d+'" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.'),"__NEXT_ERROR_CODE",{value:"E21",enumerable:!1,configurable:!0})}else
|
|
854
|
+
// React doesn't show the stack trace and there's
|
|
855
|
+
// no `src` to help identify which image, so we
|
|
856
|
+
// instead console.error(ref) during mount.
|
|
857
|
+
R=!0;if(!o.includes(f))throw Object.defineProperty(new Error('Image with src "'+d+'" has invalid "loading" property. Provided "'+f+'" should be one of '+o.map(String).join(",")+"."),"__NEXT_ERROR_CODE",{value:"E357",enumerable:!1,configurable:!0});if(p&&"lazy"===f)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "priority" and "loading=\'lazy\'" properties. Only one should be used.'),"__NEXT_ERROR_CODE",{value:"E218",enumerable:!1,configurable:!0});if("empty"!==b&&"blur"!==b&&!b.startsWith("data:image/"))throw Object.defineProperty(new Error('Image with src "'+d+'" has invalid "placeholder" property "'+b+'".'),"__NEXT_ERROR_CODE",{value:"E431",enumerable:!1,configurable:!0});if("empty"!==b&&K&&X&&K*X<1600&&(0,t.warnOnce)('Image with src "'+d+'" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.'),"blur"===b&&!D){const e=["jpeg","png","webp","avif"];throw Object.defineProperty(new Error('Image with src "'+d+'" has "placeholder=\'blur\'" property but is missing the "blurDataURL" property.\n Possible solutions:\n - Add a "blurDataURL" property, the contents should be a small Data URL to represent the image\n - Change the "src" property to a static import with one of the supported file types: '+e.join(",")+' (animated images not supported)\n - Remove the "placeholder" property, effectively no blur effect\n Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url'),"__NEXT_ERROR_CODE",{value:"E371",enumerable:!1,configurable:!0})}if("ref"in x&&(0,t.warnOnce)('Image with src "'+d+'" is using unsupported "ref" property. Consider using the "onLoad" property instead.'),!R&&!k){const e=W({config:U,src:d,width:K||400,quality:q||75});let n;try{n=new URL(e)}catch(e){}(e===d||n&&n.pathname===d&&!n.search)&&(0,t.warnOnce)('Image with src "'+d+'" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width')}m&&(0,t.warnOnce)('Image with src "'+d+'" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');for(const[e,n]of Object.entries({layout:_,objectFit:L,objectPosition:v,lazyBoundary:P,lazyRoot:F}))n&&(0,t.warnOnce)('Image with src "'+d+'" has legacy prop "'+e+'". Did you forget to run the codemod?\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13');if("undefined"!=typeof window&&!s&&window.PerformanceObserver){s=new PerformanceObserver((e=>{for(const r of e.getEntries()){var n;
|
|
858
|
+
// @ts-ignore - missing "LargestContentfulPaint" class with "element" prop
|
|
859
|
+
const e=(null==r||null==(n=r.element)?void 0:n.src)||"",o=l.get(e);!o||o.priority||"empty"!==o.placeholder||o.src.startsWith("data:")||o.src.startsWith("blob:")||
|
|
860
|
+
// https://web.dev/lcp/#measure-lcp-in-javascript
|
|
861
|
+
// https://web.dev/lcp/#measure-lcp-in-javascript
|
|
862
|
+
(0,t.warnOnce)('Image with src "'+o.src+'" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.\nRead more: https://nextjs.org/docs/api-reference/next/image#priority')}}));try{s.observe({type:"largest-contentful-paint",buffered:!0})}catch(e){
|
|
863
|
+
// Log error but don't crash the app
|
|
864
|
+
console.error(e)}}}const Q=Object.assign(T?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:L,objectPosition:v}:{},w?{}:{color:"transparent"},N),Z=B||"empty"===b?null:"blur"===b?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:K,heightInt:X,blurWidth:j,blurHeight:V,blurDataURL:D||"",objectFit:Q.objectFit})+'")':'url("'+b+'")',ee=a.includes(Q.objectFit)?"fill"===Q.objectFit?"100% 100%":"cover":Q.objectFit;let te=Z?{backgroundSize:ee,backgroundPosition:Q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Z}:{};"development"===process.env.NODE_ENV&&te.backgroundImage&&"blur"===b&&(null==D?void 0:D.startsWith("/"))&&(
|
|
865
|
+
// During `next dev`, we don't want to generate blur placeholders with webpack
|
|
866
|
+
// because it can delay starting the dev server. Instead, `next-image-loader.js`
|
|
867
|
+
// will inline a special url to lazily generate the blur placeholder at request time.
|
|
868
|
+
te.backgroundImage='url("'+D+'")');const ne=c({config:U,src:d,unoptimized:R,width:K,quality:q,sizes:O,loader:W});if("production"!==process.env.NODE_ENV&&"undefined"!=typeof window){let e;try{e=new URL(ne.src)}catch(t){e=new URL(ne.src,window.location.href)}l.set(e.href,{src:d,priority:p,placeholder:b})}return{props:{...x,loading:z?"lazy":f,fetchPriority:g,width:K,height:X,decoding:y,className:A,style:{...Q,...te},sizes:ne.sizes,srcSet:ne.srcSet,src:I||ne.src},meta:{unoptimized:R,priority:p,placeholder:b,fill:T}}}}(di)),di}var Ni,Ii={exports:{}},hi={exports:{}},mi={};var bi,Di={};var gi,yi={};var _i,Li,vi={};function Pi(){return Li||(Li=1,function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(n,{default:function(){return f},defaultHead:function(){return d}});const r=No(),o=e,i=nr()._(a),l=r._((Ni||(Ni=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=a,n="undefined"==typeof window,r=n?()=>{}:t.useLayoutEffect,o=n?()=>{}:t.useEffect;function i(e){const{headManager:a,reduceComponentsToState:i}=e;function l(){if(a&&a.mountedInstances){const n=t.Children.toArray(Array.from(a.mountedInstances).filter(Boolean));a.updateHead(i(n,e))}}var s;return n&&(null==a||null==(s=a.mountedInstances)||s.add(e.children),l()),r((()=>{var t;return null==a||null==(t=a.mountedInstances)||t.add(e.children),()=>{var t;null==a||null==(t=a.mountedInstances)||t.delete(e.children)}})),
|
|
869
|
+
// We need to call `updateHead` method whenever the `SideEffect` is trigger in all
|
|
870
|
+
// life-cycles: mount, update, unmount. However, if there are multiple `SideEffect`s
|
|
871
|
+
// being rendered, we only trigger the method from the last one.
|
|
872
|
+
// This is ensured by keeping the last unflushed `updateHead` in the `_pendingUpdate`
|
|
873
|
+
// singleton in the layout effect pass, and actually trigger it in the effect pass.
|
|
874
|
+
r((()=>(a&&(a._pendingUpdate=l),()=>{a&&(a._pendingUpdate=l)}))),o((()=>(a&&a._pendingUpdate&&(a._pendingUpdate(),a._pendingUpdate=null),()=>{a&&a._pendingUpdate&&(a._pendingUpdate(),a._pendingUpdate=null)}))),null}}(mi)),mi)),s=(bi||(bi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return t}});const t=No()._(a).default.createContext({});"production"!==process.env.NODE_ENV&&(t.displayName="AmpStateContext")}(Di)),Di),E=(gi||(gi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"HeadManagerContext",{enumerable:!0,get:function(){return t}});const t=No()._(a).default.createContext({});"production"!==process.env.NODE_ENV&&(t.displayName="HeadManagerContext")}(yi)),yi),c=(_i||(_i=1,function(e){function t(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return t}})}(vi)),vi),u=Ri();function d(e){void 0===e&&(e=!1);const t=[
|
|
875
|
+
|
|
876
|
+
(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function O(e,t){
|
|
877
|
+
// React children can be "string" or "number" in this case we ignore them for backwards compat
|
|
878
|
+
return"string"==typeof t||"number"==typeof t?e:
|
|
879
|
+
// Adds support for React.Fragment
|
|
880
|
+
t.type===i.default.Fragment?e.concat(// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
881
|
+
i.default.Children.toArray(t.props.children).reduce((// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
882
|
+
(e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t)),[])):e.concat(t)}const R=["name","httpEquiv","charSet","itemProp"];
|
|
883
|
+
/*
|
|
884
|
+
returns a function for filtering head child elements
|
|
885
|
+
which shouldn't be duplicated, like <title/>
|
|
886
|
+
Also adds support for deduplicated `key` properties
|
|
887
|
+
*/
|
|
888
|
+
/**
|
|
889
|
+
*
|
|
890
|
+
* @param headChildrenElements List of children of <Head>
|
|
891
|
+
*/
|
|
892
|
+
function p(e,t){const{inAmpMode:n}=t;return e.reduce(O,[]).reverse().concat(d(n).reverse()).filter(function(){const e=new Set,t=new Set,n=new Set,r={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;const t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}
|
|
893
|
+
// eslint-disable-next-line default-case
|
|
894
|
+
switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=R.length;e<t;e++){const t=R[e];if(o.props.hasOwnProperty(t))if("charSet"===t)n.has(t)?a=!1:n.add(t);else{const e=o.props[t],n=r[t]||new Set;"name"===t&&i||!n.has(e)?(n.add(e),r[t]=n):a=!1}}}return a}}()).reverse().map(((e,t)=>{const r=e.key||t;if("development"!==process.env.NODE_ENV&&process.env.__NEXT_OPTIMIZE_FONTS&&!n&&"link"===e.type&&e.props.href&&// TODO(prateekbh@): Replace this with const from `constants` when the tree shaking works.
|
|
895
|
+
["https://fonts.googleapis.com/css","https://use.typekit.net/"].some((t=>e.props.href.startsWith(t)))){const t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,
|
|
896
|
+
// Add this attribute to make it easy to identify optimized tags
|
|
897
|
+
t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}if("development"===process.env.NODE_ENV)
|
|
898
|
+
// omit JSON-LD structured data snippets from the warning
|
|
899
|
+
if("script"===e.type&&"application/ld+json"!==e.props.type){const t=e.props.src?'<script> tag with src="'+e.props.src+'"':"inline <script>";(0,u.warnOnce)("Do not add <script> tags using next/head (see "+t+"). Use next/script instead. \nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component")}else"link"===e.type&&"stylesheet"===e.props.rel&&(0,u.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="'+e.props.href+'"). Use Document instead. \nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component');
|
|
900
|
+
return i.default.cloneElement(e,{key:r})}))}
|
|
901
|
+
/**
|
|
902
|
+
* This component injects elements to `<head>` of your page.
|
|
903
|
+
* To avoid duplicated `tags` in `<head>` you can use the `key` property, which will make sure every tag is only rendered once.
|
|
904
|
+
*/const f=function(e){let{children:t}=e;const n=(0,i.useContext)(s.AmpStateContext),r=(0,i.useContext)(E.HeadManagerContext);
|
|
905
|
+
return(0,o.jsx)(l.default,{reduceComponentsToState:p,headManager:r,inAmpMode:(0,c.isInAmpMode)(n),children:t})};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}(hi,hi.exports)),hi.exports}var Fi,xi={};var Yi,wi,Bi={},Gi={},Ui={exports:{}};function Hi(){return Yi||(Yi=1,(()=>{var e={170:(e,t,n)=>{const r=n(510),o=()=>{if("undefined"!=typeof navigator&&navigator.platform){const e=navigator.platform.toLowerCase();return"win32"===e||"windows"===e}return!("undefined"==typeof process||!process.platform)&&"win32"===process.platform};function a(e,t,n=!1){return!t||null!==t.windows&&void 0!==t.windows||(t={...t,windows:o()}),r(e,t,n)}Object.assign(a,r),e.exports=a},154:e=>{const t="\\\\/",n=`[^${t}]`,r="\\.",o="\\/",a="[^/]",i=`(?:${o}|$)`,l=`(?:^|${o})`,s=`${r}{1,2}${i}`,E={DOT_LITERAL:r,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:o,ONE_CHAR:"(?=.)",QMARK:a,END_ANCHOR:i,DOTS_SLASH:s,NO_DOT:`(?!${r})`,NO_DOTS:`(?!${l}${s})`,NO_DOT_SLASH:`(?!${r}{0,1}${i})`,NO_DOTS_SLASH:`(?!${s})`,QMARK_NO_DOT:`[^.${o}]`,STAR:`${a}*?`,START_ANCHOR:l,SEP:"/"},c={...E,SLASH_LITERAL:`[${t}]`,QMARK:n,STAR:`${n}*?`,DOTS_SLASH:`${r}{1,2}(?:[${t}]|$)`,NO_DOT:`(?!${r})`,NO_DOTS:`(?!(?:^|[${t}])${r}{1,2}(?:[${t}]|$))`,NO_DOT_SLASH:`(?!${r}{0,1}(?:[${t}]|$))`,NO_DOTS_SLASH:`(?!${r}{1,2}(?:[${t}]|$))`,QMARK_NO_DOT:`[^.${t}]`,START_ANCHOR:`(?:^|[${t}])`,END_ANCHOR:`(?:[${t}]|$)`,SEP:"\\"};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?c:E}},697:(e,t,n)=>{const r=n(154),o=n(96),{MAX_LENGTH:a,POSIX_REGEX_SOURCE:i,REGEX_NON_SPECIAL_CHARS:l,REGEX_SPECIAL_CHARS_BACKREF:s,REPLACEMENTS:E}=r,c=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map((e=>o.escapeRegex(e))).join("..")}return n},u=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,d=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=E[e]||e;const n={...t},O="number"==typeof n.maxLength?Math.min(a,n.maxLength):a;let R=e.length;if(R>O)throw new SyntaxError(`Input length: ${R}, exceeds maximum allowed length: ${O}`);const p={type:"bos",value:"",output:n.prepend||""},f=[p],A=n.capture?"":"?:",S=r.globChars(n.windows),C=r.extglobChars(S),{DOT_LITERAL:M,PLUS_LITERAL:T,SLASH_LITERAL:N,ONE_CHAR:I,DOTS_SLASH:h,NO_DOT:m,NO_DOT_SLASH:b,NO_DOTS_SLASH:D,QMARK:g,QMARK_NO_DOT:y,STAR:_,START_ANCHOR:L}=S,v=e=>`(${A}(?:(?!${L}${e.dot?h:M}).)*?)`,P=n.dot?"":m,F=n.dot?g:y;let x=!0===n.bash?v(n):_;n.capture&&(x=`(${x})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const Y={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:f};e=o.removePrefix(e,Y),R=e.length;const w=[],B=[],G=[];let U,H=p;const $=()=>Y.index===R-1,W=Y.peek=(t=1)=>e[Y.index+t],k=Y.advance=()=>e[++Y.index]||"",j=()=>e.slice(Y.index+1),V=(e="",t=0)=>{Y.consumed+=e,Y.index+=t},J=e=>{Y.output+=null!=e.output?e.output:e.value,V(e.value)},K=()=>{let e=1;for(;"!"===W()&&("("!==W(2)||"?"===W(3));)k(),Y.start++,e++;return e%2!=0&&(Y.negated=!0,Y.start++,!0)},X=e=>{Y[e]++,G.push(e)},z=e=>{Y[e]--,G.pop()},q=e=>{if("globstar"===H.type){const t=Y.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||w.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(Y.output=Y.output.slice(0,-H.output.length),H.type="star",H.value="*",H.output=x,Y.output+=H.output)}if(w.length&&"paren"!==e.type&&(w[w.length-1].inner+=e.value),(e.value||e.output)&&J(e),H&&"text"===H.type&&"text"===e.type)return H.output=(H.output||H.value)+e.value,void(H.value+=e.value);e.prev=H,f.push(e),H=e},Q=(e,t)=>{const r={...C[t],conditions:1,inner:""};r.prev=H,r.parens=Y.parens,r.output=Y.output;const o=(n.capture?"(":"")+r.open;X("parens"),q({type:e,value:t,output:Y.output?"":I}),q({type:"paren",extglob:!0,value:k(),output:o}),w.push(r)},Z=e=>{let r,o=e.close+(n.capture?")":"");if("negate"===e.type){let a=x;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(a=v(n)),(a!==x||$()||/^\)+$/.test(j()))&&(o=e.close=`)$))${a}`),e.inner.includes("*")&&(r=j())&&/^\.[^\\/.]+$/.test(r)){const n=d(r,{...t,fastpaths:!1}).output;o=e.close=`)${n})${a})`}"bos"===e.prev.type&&(Y.negatedExtglob=!0)}q({type:"paren",extglob:!0,value:U,output:o}),z("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let r=!1,a=e.replace(s,((e,t,n,o,a,i)=>"\\"===o?(r=!0,e):"?"===o?t?t+o+(a?g.repeat(a.length):""):0===i?F+(a?g.repeat(a.length):""):g.repeat(n.length):"."===o?M.repeat(n.length):"*"===o?t?t+o+(a?x:""):x:t?e:`\\${e}`));return!0===r&&(a=!0===n.unescape?a.replace(/\\/g,""):a.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),a===e&&!0===n.contains?(Y.output=e,Y):(Y.output=o.wrapOutput(a,Y,t),Y)}for(;!$();){if(U=k(),"\0"===U)continue;if("\\"===U){const e=W();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){U+="\\",q({type:"text",value:U});continue}const t=/^\\+/.exec(j());let r=0;if(t&&t[0].length>2&&(r=t[0].length,Y.index+=r,r%2!=0&&(U+="\\")),!0===n.unescape?U=k():U+=k(),0===Y.brackets){q({type:"text",value:U});continue}}if(Y.brackets>0&&("]"!==U||"["===H.value||"[^"===H.value)){if(!1!==n.posix&&":"===U){const e=H.value.slice(1);if(e.includes("[")&&(H.posix=!0,e.includes(":"))){const e=H.value.lastIndexOf("["),t=H.value.slice(0,e),n=H.value.slice(e+2),r=i[n];if(r){H.value=t+r,Y.backtrack=!0,k(),p.output||1!==f.indexOf(H)||(p.output=I);continue}}}("["===U&&":"!==W()||"-"===U&&"]"===W())&&(U=`\\${U}`),"]"!==U||"["!==H.value&&"[^"!==H.value||(U=`\\${U}`),!0===n.posix&&"!"===U&&"["===H.value&&(U="^"),H.value+=U,J({value:U});continue}if(1===Y.quotes&&'"'!==U){U=o.escapeRegex(U),H.value+=U,J({value:U});continue}if('"'===U){Y.quotes=1===Y.quotes?0:1,!0===n.keepQuotes&&q({type:"text",value:U});continue}if("("===U){X("parens"),q({type:"paren",value:U});continue}if(")"===U){if(0===Y.parens&&!0===n.strictBrackets)throw new SyntaxError(u("opening","("));const e=w[w.length-1];if(e&&Y.parens===e.parens+1){Z(w.pop());continue}q({type:"paren",value:U,output:Y.parens?")":"\\)"}),z("parens");continue}if("["===U){if(!0!==n.nobracket&&j().includes("]"))X("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(u("closing","]"));U=`\\${U}`}q({type:"bracket",value:U});continue}if("]"===U){if(!0===n.nobracket||H&&"bracket"===H.type&&1===H.value.length){q({type:"text",value:U,output:`\\${U}`});continue}if(0===Y.brackets){if(!0===n.strictBrackets)throw new SyntaxError(u("opening","["));q({type:"text",value:U,output:`\\${U}`});continue}z("brackets");const e=H.value.slice(1);if(!0===H.posix||"^"!==e[0]||e.includes("/")||(U=`/${U}`),H.value+=U,J({value:U}),!1===n.literalBrackets||o.hasRegexChars(e))continue;const t=o.escapeRegex(H.value);if(Y.output=Y.output.slice(0,-H.value.length),!0===n.literalBrackets){Y.output+=t,H.value=t;continue}H.value=`(${A}${t}|${H.value})`,Y.output+=H.value;continue}if("{"===U&&!0!==n.nobrace){X("braces");const e={type:"brace",value:U,output:"(",outputIndex:Y.output.length,tokensIndex:Y.tokens.length};B.push(e),q(e);continue}if("}"===U){const e=B[B.length-1];if(!0===n.nobrace||!e){q({type:"text",value:U,output:U});continue}let t=")";if(!0===e.dots){const e=f.slice(),r=[];for(let t=e.length-1;t>=0&&(f.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&r.unshift(e[t].value);t=c(r,n),Y.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=Y.output.slice(0,e.outputIndex),r=Y.tokens.slice(e.tokensIndex);e.value=e.output="\\{",U=t="\\}",Y.output=n;for(const e of r)Y.output+=e.output||e.value}q({type:"brace",value:U,output:t}),z("braces"),B.pop();continue}if("|"===U){w.length>0&&w[w.length-1].conditions++,q({type:"text",value:U});continue}if(","===U){let e=U;const t=B[B.length-1];t&&"braces"===G[G.length-1]&&(t.comma=!0,e="|"),q({type:"comma",value:U,output:e});continue}if("/"===U){if("dot"===H.type&&Y.index===Y.start+1){Y.start=Y.index+1,Y.consumed="",Y.output="",f.pop(),H=p;continue}q({type:"slash",value:U,output:N});continue}if("."===U){if(Y.braces>0&&"dot"===H.type){"."===H.value&&(H.output=M);const e=B[B.length-1];H.type="dots",H.output+=U,H.value+=U,e.dots=!0;continue}if(Y.braces+Y.parens===0&&"bos"!==H.type&&"slash"!==H.type){q({type:"text",value:U,output:M});continue}q({type:"dot",value:U,output:M});continue}if("?"===U){if(!(H&&"("===H.value)&&!0!==n.noextglob&&"("===W()&&"?"!==W(2)){Q("qmark",U);continue}if(H&&"paren"===H.type){const e=W();let t=U;("("===H.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(j()))&&(t=`\\${U}`),q({type:"text",value:U,output:t});continue}if(!0!==n.dot&&("slash"===H.type||"bos"===H.type)){q({type:"qmark",value:U,output:y});continue}q({type:"qmark",value:U,output:g});continue}if("!"===U){if(!0!==n.noextglob&&"("===W()&&("?"!==W(2)||!/[!=<:]/.test(W(3)))){Q("negate",U);continue}if(!0!==n.nonegate&&0===Y.index){K();continue}}if("+"===U){if(!0!==n.noextglob&&"("===W()&&"?"!==W(2)){Q("plus",U);continue}if(H&&"("===H.value||!1===n.regex){q({type:"plus",value:U,output:T});continue}if(H&&("bracket"===H.type||"paren"===H.type||"brace"===H.type)||Y.parens>0){q({type:"plus",value:U});continue}q({type:"plus",value:T});continue}if("@"===U){if(!0!==n.noextglob&&"("===W()&&"?"!==W(2)){q({type:"at",extglob:!0,value:U,output:""});continue}q({type:"text",value:U});continue}if("*"!==U){"$"!==U&&"^"!==U||(U=`\\${U}`);const e=l.exec(j());e&&(U+=e[0],Y.index+=e[0].length),q({type:"text",value:U});continue}if(H&&("globstar"===H.type||!0===H.star)){H.type="star",H.star=!0,H.value+=U,H.output=x,Y.backtrack=!0,Y.globstar=!0,V(U);continue}let t=j();if(!0!==n.noextglob&&/^\([^?]/.test(t)){Q("star",U);continue}if("star"===H.type){if(!0===n.noglobstar){V(U);continue}const r=H.prev,o=r.prev,a="slash"===r.type||"bos"===r.type,i=o&&("star"===o.type||"globstar"===o.type);if(!0===n.bash&&(!a||t[0]&&"/"!==t[0])){q({type:"star",value:U,output:""});continue}const l=Y.braces>0&&("comma"===r.type||"brace"===r.type),s=w.length&&("pipe"===r.type||"paren"===r.type);if(!a&&"paren"!==r.type&&!l&&!s){q({type:"star",value:U,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[Y.index+4];if(n&&"/"!==n)break;t=t.slice(3),V("/**",3)}if("bos"===r.type&&$()){H.type="globstar",H.value+=U,H.output=v(n),Y.output=H.output,Y.globstar=!0,V(U);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!i&&$()){Y.output=Y.output.slice(0,-(r.output+H.output).length),r.output=`(?:${r.output}`,H.type="globstar",H.output=v(n)+(n.strictSlashes?")":"|$)"),H.value+=U,Y.globstar=!0,Y.output+=r.output+H.output,V(U);continue}if("slash"===r.type&&"bos"!==r.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";Y.output=Y.output.slice(0,-(r.output+H.output).length),r.output=`(?:${r.output}`,H.type="globstar",H.output=`${v(n)}${N}|${N}${e})`,H.value+=U,Y.output+=r.output+H.output,Y.globstar=!0,V(U+k()),q({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===t[0]){H.type="globstar",H.value+=U,H.output=`(?:^|${N}|${v(n)}${N})`,Y.output=H.output,Y.globstar=!0,V(U+k()),q({type:"slash",value:"/",output:""});continue}Y.output=Y.output.slice(0,-H.output.length),H.type="globstar",H.output=v(n),H.value+=U,Y.output+=H.output,Y.globstar=!0,V(U);continue}const r={type:"star",value:U,output:x};!0!==n.bash?!H||"bracket"!==H.type&&"paren"!==H.type||!0!==n.regex?(Y.index!==Y.start&&"slash"!==H.type&&"dot"!==H.type||("dot"===H.type?(Y.output+=b,H.output+=b):!0===n.dot?(Y.output+=D,H.output+=D):(Y.output+=P,H.output+=P),"*"!==W()&&(Y.output+=I,H.output+=I)),q(r)):(r.output=U,q(r)):(r.output=".*?","bos"!==H.type&&"slash"!==H.type||(r.output=P+r.output),q(r))}for(;Y.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(u("closing","]"));Y.output=o.escapeLast(Y.output,"["),z("brackets")}for(;Y.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(u("closing",")"));Y.output=o.escapeLast(Y.output,"("),z("parens")}for(;Y.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(u("closing","}"));Y.output=o.escapeLast(Y.output,"{"),z("braces")}if(!0===n.strictSlashes||"star"!==H.type&&"bracket"!==H.type||q({type:"maybe_slash",value:"",output:`${N}?`}),!0===Y.backtrack){Y.output="";for(const e of Y.tokens)Y.output+=null!=e.output?e.output:e.value,e.suffix&&(Y.output+=e.suffix)}return Y};d.fastpaths=(e,t)=>{const n={...t},i="number"==typeof n.maxLength?Math.min(a,n.maxLength):a,l=e.length;if(l>i)throw new SyntaxError(`Input length: ${l}, exceeds maximum allowed length: ${i}`);e=E[e]||e;const{DOT_LITERAL:s,SLASH_LITERAL:c,ONE_CHAR:u,DOTS_SLASH:d,NO_DOT:O,NO_DOTS:R,NO_DOTS_SLASH:p,STAR:f,START_ANCHOR:A}=r.globChars(n.windows),S=n.dot?R:O,C=n.dot?p:O,M=n.capture?"":"?:";let T=!0===n.bash?".*?":f;n.capture&&(T=`(${T})`);const N=e=>!0===e.noglobstar?T:`(${M}(?:(?!${A}${e.dot?d:s}).)*?)`,I=e=>{switch(e){case"*":return`${S}${u}${T}`;case".*":return`${s}${u}${T}`;case"*.*":return`${S}${T}${s}${u}${T}`;case"*/*":return`${S}${T}${c}${u}${C}${T}`;case"**":return S+N(n);case"**/*":return`(?:${S}${N(n)}${c})?${C}${u}${T}`;case"**/*.*":return`(?:${S}${N(n)}${c})?${C}${T}${s}${u}${T}`;case"**/.*":return`(?:${S}${N(n)}${c})?${s}${u}${T}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=I(t[1]);if(!n)return;return n+s+t[2]}}},h=o.removePrefix(e,{negated:!1,prefix:""});let m=I(h);return m&&!0!==n.strictSlashes&&(m+=`${c}?`),m},e.exports=d},510:(e,t,n)=>{const r=n(716),o=n(697),a=n(96),i=n(154),l=(e,t,n=!1)=>{if(Array.isArray(e)){const r=e.map((e=>l(e,t,n))),o=e=>{for(const t of r){const n=t(e);if(n)return n}return!1};return o}const r=(e=>e&&"object"==typeof e&&!Array.isArray(e))(e)&&e.tokens&&e.input;if(""===e||"string"!=typeof e&&!r)throw new TypeError("Expected pattern to be a non-empty string");const o=t||{},a=o.windows,i=r?l.compileRe(e,t):l.makeRe(e,t,!1,!0),s=i.state;delete i.state;let E=()=>!1;if(o.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};E=l(o.ignore,e,n)}const c=(n,r=!1)=>{const{isMatch:c,match:u,output:d}=l.test(n,i,t,{glob:e,posix:a}),O={glob:e,state:s,regex:i,posix:a,input:n,output:d,match:u,isMatch:c};return"function"==typeof o.onResult&&o.onResult(O),!1===c?(O.isMatch=!1,!!r&&O):E(n)?("function"==typeof o.onIgnore&&o.onIgnore(O),O.isMatch=!1,!!r&&O):("function"==typeof o.onMatch&&o.onMatch(O),!r||O)};return n&&(c.state=s),c};l.test=(e,t,n,{glob:r,posix:o}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const i=n||{},s=i.format||(o?a.toPosixSlashes:null);let E=e===r,c=E&&s?s(e):e;return!1===E&&(c=s?s(e):e,E=c===r),!1!==E&&!0!==i.capture||(E=!0===i.matchBase||!0===i.basename?l.matchBase(e,t,n,o):t.exec(c)),{isMatch:Boolean(E),match:E,output:c}},l.matchBase=(e,t,n)=>(t instanceof RegExp?t:l.makeRe(t,n)).test(a.basename(e)),l.isMatch=(e,t,n)=>l(t,n)(e),l.parse=(e,t)=>Array.isArray(e)?e.map((e=>l.parse(e,t))):o(e,{...t,fastpaths:!1}),l.scan=(e,t)=>r(e,t),l.compileRe=(e,t,n=!1,r=!1)=>{if(!0===n)return e.output;const o=t||{},a=o.contains?"":"^",i=o.contains?"":"$";let s=`${a}(?:${e.output})${i}`;e&&!0===e.negated&&(s=`^(?!${s}).*$`);const E=l.toRegex(s,t);return!0===r&&(E.state=e),E},l.makeRe=(e,t={},n=!1,r=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let a={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(a.output=o.fastpaths(e,t)),a.output||(a=o(e,t)),l.compileRe(a,t,n,r)},l.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},l.constants=i,e.exports=l},716:(e,t,n)=>{const r=n(96),{CHAR_ASTERISK:o,CHAR_AT:a,CHAR_BACKWARD_SLASH:i,CHAR_COMMA:l,CHAR_DOT:s,CHAR_EXCLAMATION_MARK:E,CHAR_FORWARD_SLASH:c,CHAR_LEFT_CURLY_BRACE:u,CHAR_LEFT_PARENTHESES:d,CHAR_LEFT_SQUARE_BRACKET:O,CHAR_PLUS:R,CHAR_QUESTION_MARK:p,CHAR_RIGHT_CURLY_BRACE:f,CHAR_RIGHT_PARENTHESES:A,CHAR_RIGHT_SQUARE_BRACKET:S}=n(154),C=e=>e===c||e===i,M=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const n=t||{},T=e.length-1,N=!0===n.parts||!0===n.scanToEnd,I=[],h=[],m=[];let b,D,g=e,y=-1,_=0,L=0,v=!1,P=!1,F=!1,x=!1,Y=!1,w=!1,B=!1,G=!1,U=!1,H=!1,$=0,W={value:"",depth:0,isGlob:!1};const k=()=>y>=T,j=()=>(b=D,g.charCodeAt(++y));for(;y<T;){let e;if(D=j(),D!==i){if(!0===w||D===u){for($++;!0!==k()&&(D=j());)if(D!==i)if(D!==u){if(!0!==w&&D===s&&(D=j())===s){if(v=W.isBrace=!0,F=W.isGlob=!0,H=!0,!0===N)continue;break}if(!0!==w&&D===l){if(v=W.isBrace=!0,F=W.isGlob=!0,H=!0,!0===N)continue;break}if(D===f&&($--,0===$)){w=!1,v=W.isBrace=!0,H=!0;break}}else $++;else B=W.backslashes=!0,j();if(!0===N)continue;break}if(D!==c){if(!0!==n.noext){if(!0===(D===R||D===a||D===o||D===p||D===E)&&g.charCodeAt(y+1)===d){if(F=W.isGlob=!0,x=W.isExtglob=!0,H=!0,D===E&&y===_&&(U=!0),!0===N){for(;!0!==k()&&(D=j());)if(D!==i){if(D===A){F=W.isGlob=!0,H=!0;break}}else B=W.backslashes=!0,D=j();continue}break}}if(D===o){if(b===o&&(Y=W.isGlobstar=!0),F=W.isGlob=!0,H=!0,!0===N)continue;break}if(D===p){if(F=W.isGlob=!0,H=!0,!0===N)continue;break}if(D===O){for(;!0!==k()&&(e=j());)if(e!==i){if(e===S){P=W.isBracket=!0,F=W.isGlob=!0,H=!0;break}}else B=W.backslashes=!0,j();if(!0===N)continue;break}if(!0===n.nonegate||D!==E||y!==_){if(!0!==n.noparen&&D===d){if(F=W.isGlob=!0,!0===N){for(;!0!==k()&&(D=j());)if(D!==d){if(D===A){H=!0;break}}else B=W.backslashes=!0,D=j();continue}break}if(!0===F){if(H=!0,!0===N)continue;break}}else G=W.negated=!0,_++}else{if(I.push(y),h.push(W),W={value:"",depth:0,isGlob:!1},!0===H)continue;if(b===s&&y===_+1){_+=2;continue}L=y+1}}else B=W.backslashes=!0,D=j(),D===u&&(w=!0)}!0===n.noext&&(x=!1,F=!1);let V=g,J="",K="";_>0&&(J=g.slice(0,_),g=g.slice(_),L-=_),V&&!0===F&&L>0?(V=g.slice(0,L),K=g.slice(L)):!0===F?(V="",K=g):V=g,V&&""!==V&&"/"!==V&&V!==g&&C(V.charCodeAt(V.length-1))&&(V=V.slice(0,-1)),!0===n.unescape&&(K&&(K=r.removeBackslashes(K)),V&&!0===B&&(V=r.removeBackslashes(V)));const X={prefix:J,input:e,start:_,base:V,glob:K,isBrace:v,isBracket:P,isGlob:F,isExtglob:x,isGlobstar:Y,negated:G,negatedExtglob:U};if(!0===n.tokens&&(X.maxDepth=0,C(D)||h.push(W),X.tokens=h),!0===n.parts||!0===n.tokens){let t;for(let r=0;r<I.length;r++){const o=t?t+1:_,a=I[r],i=e.slice(o,a);n.tokens&&(0===r&&0!==_?(h[r].isPrefix=!0,h[r].value=J):h[r].value=i,M(h[r]),X.maxDepth+=h[r].depth),0===r&&""===i||m.push(i),t=a}if(t&&t+1<e.length){const r=e.slice(t+1);m.push(r),n.tokens&&(h[h.length-1].value=r,M(h[h.length-1]),X.maxDepth+=h[h.length-1].depth)}X.slashes=I,X.parts=m}return X}},96:(e,t,n)=>{const{REGEX_BACKSLASH:r,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:i}=n(154);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>a.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(i,"\\$1"),t.toPosixSlashes=e=>e.replace(r,"/"),t.removeBackslashes=e=>e.replace(o,(e=>"\\"===e?"":e)),t.escapeLast=(e,n,r)=>{const o=e.lastIndexOf(n,r);return-1===o?e:"\\"===e[o-1]?t.escapeLast(e,n,o-1):`${e.slice(0,o)}\\${e.slice(o)}`},t.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},t.wrapOutput=(e,t={},n={})=>{let r=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(r=`(?:^(?!${r}).*$)`),r},t.basename=(e,{windows:t}={})=>{const n=e.split(t?/[\\/]/:"/"),r=n[n.length-1];return""===r?n[n.length-2]:r}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}},i=!0;try{e[r](a,a.exports,n),i=!1}finally{i&&delete t[r]}return a.exports}void 0!==n&&(n.ab=__dirname+"/");var r=n(170);Ui.exports=r})()),Ui.exports}var $i,Wi,ki,ji,Vi,Ji,Ki={};function Xi(){return Wi||(Wi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});function t(e){let{config:t,src:n,width:r,quality:o}=e;var a;if("production"!==process.env.NODE_ENV){const e=[];
|
|
906
|
+
// these should always be provided but make sure they are
|
|
907
|
+
if(n||e.push("src"),r||e.push("width"),e.length>0)throw Object.defineProperty(new Error("Next Image Optimization requires "+e.join(", ")+" to be provided. Make sure you pass them as props to the `next/image` component. Received: "+JSON.stringify({src:n,width:r,quality:o})),"__NEXT_ERROR_CODE",{value:"E188",enumerable:!1,configurable:!0});if(n.startsWith("//"))throw Object.defineProperty(new Error('Failed to parse src "'+n+'" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)'),"__NEXT_ERROR_CODE",{value:"E360",enumerable:!1,configurable:!0});if(n.startsWith("/")&&t.localPatterns&&"test"!==process.env.NODE_ENV&&// micromatch isn't compatible with edge runtime
|
|
908
|
+
"edge"!==process.env.NEXT_RUNTIME){
|
|
909
|
+
// We use dynamic require because this should only error in development
|
|
910
|
+
const{hasLocalMatch:e}=(wi||(wi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{hasLocalMatch:function(){return r},matchLocalPattern:function(){return n}});const t=Hi();function n(e,n){return(void 0===e.search||e.search===n.search)&&!!(0,t.makeRe)(null!=(r=e.pathname)?r:"**",{dot:!0}).test(n.pathname);var r}function r(e,t){if(!e)
|
|
911
|
+
// if the user didn't define "localPatterns", we allow all local images
|
|
912
|
+
return!0;const r=new URL(t,"http://n");return e.some((e=>n(e,r)))}}(Gi)),Gi);if(!e(t.localPatterns,n))throw Object.defineProperty(new Error("Invalid src prop ("+n+") on `next/image` does not match `images.localPatterns` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"),"__NEXT_ERROR_CODE",{value:"E426",enumerable:!1,configurable:!0})}if(!n.startsWith("/")&&(t.domains||t.remotePatterns)){let e;try{e=new URL(n)}catch(e){throw console.error(e),Object.defineProperty(new Error('Failed to parse src "'+n+'" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)'),"__NEXT_ERROR_CODE",{value:"E63",enumerable:!1,configurable:!0})}if("test"!==process.env.NODE_ENV&&// micromatch isn't compatible with edge runtime
|
|
913
|
+
"edge"!==process.env.NEXT_RUNTIME){
|
|
914
|
+
// We use dynamic require because this should only error in development
|
|
915
|
+
const{hasRemoteMatch:r}=($i||($i=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{hasRemoteMatch:function(){return r},matchRemotePattern:function(){return n}});const t=Hi();function n(e,n){if(void 0!==e.protocol&&e.protocol.replace(/:$/,"")!==n.protocol.replace(/:$/,""))return!1;if(void 0!==e.port&&e.port!==n.port)return!1;if(void 0===e.hostname)throw Object.defineProperty(new Error("Pattern should define hostname but found\n"+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E410",enumerable:!1,configurable:!0});return!(!(0,t.makeRe)(e.hostname).test(n.hostname)||void 0!==e.search&&e.search!==n.search||!(0,t.makeRe)(null!=(r=e.pathname)?r:"**",{dot:!0}).test(n.pathname));var r;
|
|
916
|
+
// Should be the same as writeImagesManifest()
|
|
917
|
+
}function r(e,t,r){return e.some((e=>r.hostname===e))||t.some((e=>n(e,r)))}}(Ki)),Ki);if(!r(t.domains,t.remotePatterns,e))throw Object.defineProperty(new Error("Invalid src prop ("+n+') on `next/image`, hostname "'+e.hostname+'" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host'),"__NEXT_ERROR_CODE",{value:"E231",enumerable:!1,configurable:!0})}}if(o&&t.qualities&&!t.qualities.includes(o))throw Object.defineProperty(new Error("Invalid quality prop ("+o+") on `next/image` does not match `images.qualities` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-qualities"),"__NEXT_ERROR_CODE",{value:"E623",enumerable:!1,configurable:!0})}const i=o||(null==(a=t.qualities)?void 0:a.reduce(((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e)))||75;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+i+(n.startsWith("/_next/static/media/")&&process.env.NEXT_DEPLOYMENT_ID?"&dpl="+process.env.NEXT_DEPLOYMENT_ID:"")}
|
|
918
|
+
// We use this to determine if the import is the default loader
|
|
919
|
+
// or a custom loader defined by the user in next.config.js
|
|
920
|
+
t.__next_img_default=!0;const n=t}(Bi)),Bi}function zi(){return ki||(ki=1,function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Image",{enumerable:!0,get:function(){return N}});const r=No(),o=e,i=nr()._(a),l=r._(T),s=r._(Pi()),E=Ti(),c=Mi(),u=(Fi||(Fi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return r}});const t=No()._(a),n=Mi(),r=t.default.createContext(n.imageConfigDefault);"production"!==process.env.NODE_ENV&&(r.displayName="ImageConfigContext")}(xi)),xi),d=Ri(),O=Io(),R=r._(Xi()),p=Vo(),f=process.env.__NEXT_IMAGE_OPTS;
|
|
921
|
+
// See https://stackoverflow.com/q/39777833/266535 for why we use this ref
|
|
922
|
+
// handler instead of the img's onLoad attribute.
|
|
923
|
+
function A(e,t,n,r,o,a,i){const l=null==e?void 0:e.src;if(!e||e["data-loaded-src"]===l)return;e["data-loaded-src"]=l;("decode"in e?e.decode():Promise.resolve()).catch((()=>{})).then((()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==n?void 0:n.current){
|
|
924
|
+
// Since we don't have the SyntheticEvent here,
|
|
925
|
+
// we must create one with the same shape.
|
|
926
|
+
// See https://reactjs.org/docs/events.html
|
|
927
|
+
const t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,o=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}if((null==r?void 0:r.current)&&r.current(e),"production"!==process.env.NODE_ENV){const t=new URL(l,"http://n").searchParams.get("url")||l;if("fill"===e.getAttribute("data-nimg")){if(!(a||i&&"100vw"!==i)){e.getBoundingClientRect().width/window.innerWidth<.6&&("100vw"===i?(0,d.warnOnce)('Image with src "'+t+'" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes'):(0,d.warnOnce)('Image with src "'+t+'" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes'))}if(e.parentElement){const{position:n}=window.getComputedStyle(e.parentElement),r=["absolute","fixed","relative"];r.includes(n)||(0,d.warnOnce)('Image with src "'+t+'" has "fill" and parent element with invalid "position". Provided "'+n+'" should be one of '+r.map(String).join(",")+".")}0===e.height&&(0,d.warnOnce)('Image with src "'+t+'" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.')}const n=e.height.toString()!==e.getAttribute("height"),r=e.width.toString()!==e.getAttribute("width");(n&&!r||!n&&r)&&(0,d.warnOnce)('Image with src "'+t+'" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles \'width: "auto"\' or \'height: "auto"\' to maintain the aspect ratio.')}}}))}function S(e){return Boolean(i.use)?{fetchPriority:e}:{fetchpriority:e};
|
|
928
|
+
// In React 18.2.0 or older, we must use lowercase prop
|
|
929
|
+
// to avoid "Warning: Invalid DOM property".
|
|
930
|
+
}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);const C=(0,i.forwardRef)(((e,t)=>{let{src:n,srcSet:r,sizes:a,height:l,width:s,decoding:E,className:c,style:u,fetchPriority:d,placeholder:O,loading:R,unoptimized:f,fill:C,onLoadRef:M,onLoadingCompleteRef:T,setBlurComplete:N,setShowAltText:I,sizesInput:h,onLoad:m,onError:b,...D}=e;const g=(0,i.useCallback)((e=>{e&&(b&&(
|
|
931
|
+
// If the image has an error before react hydrates, then the error is lost.
|
|
932
|
+
// The workaround is to wait until the image is mounted which is after hydration,
|
|
933
|
+
// then we set the src again to trigger the error handler (if there was an error).
|
|
934
|
+
// eslint-disable-next-line no-self-assign
|
|
935
|
+
e.src=e.src),"production"!==process.env.NODE_ENV&&(n||console.error('Image is missing required "src" property:',e),null===e.getAttribute("alt")&&console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')),e.complete&&A(e,O,M,T,N,f,h))}),[n,O,M,T,N,b,f,h]),y=(0,p.useMergedRef)(t,g);
|
|
936
|
+
return(0,o.jsx)("img",{...D,...S(d),
|
|
937
|
+
// It's intended to keep `loading` before `src` because React updates
|
|
938
|
+
// props in order which causes Safari/Firefox to not lazy load properly.
|
|
939
|
+
// See https://github.com/facebook/react/issues/25883
|
|
940
|
+
loading:R,width:s,height:l,decoding:E,"data-nimg":C?"fill":"1",className:c,style:u,
|
|
941
|
+
// It's intended to keep `src` the last attribute because React updates
|
|
942
|
+
// attributes in order. If we keep `src` the first one, Safari will
|
|
943
|
+
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
944
|
+
// updated by React. That causes multiple unnecessary requests if `srcSet`
|
|
945
|
+
// and `sizes` are defined.
|
|
946
|
+
// This bug cannot be reproduced in Chrome or Firefox.
|
|
947
|
+
sizes:a,srcSet:r,src:n,ref:y,onLoad:e=>{A(e.currentTarget,O,M,T,N,f,h)},onError:e=>{
|
|
948
|
+
// if the real image fails to load, this will ensure "alt" is visible
|
|
949
|
+
I(!0),"empty"!==O&&
|
|
950
|
+
// If the real image fails to load, this will still remove the placeholder.
|
|
951
|
+
N(!0),b&&b(e)}})}));function M(e){let{isAppRouter:t,imgAttributes:n}=e;const r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...S(n.fetchPriority)};return t&&l.default.preload?(
|
|
952
|
+
// See https://github.com/facebook/react/pull/26940
|
|
953
|
+
l.default.preload(n.src,// @ts-expect-error TODO: upgrade to `@types/react-dom@18.3.x`
|
|
954
|
+
r),null):(0,o.jsx)(s.default,{children:(0,o.jsx)("link",{rel:"preload",
|
|
955
|
+
// Note how we omit the `href` attribute, as it would only be relevant
|
|
956
|
+
// for browsers that do not support `imagesrcset`, and in those cases
|
|
957
|
+
// it would cause the incorrect image to be preloaded.
|
|
958
|
+
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
|
|
959
|
+
href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}const N=(0,i.forwardRef)(((e,t)=>{const n=!(0,i.useContext)(O.RouterContext),r=(0,i.useContext)(u.ImageConfigContext),a=(0,i.useMemo)((()=>{var e;const t=f||r||c.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort(((e,t)=>e-t)),o=t.deviceSizes.sort(((e,t)=>e-t)),a=null==(e=t.qualities)?void 0:e.sort(((e,t)=>e-t));return{...t,allSizes:n,deviceSizes:o,qualities:a}}),[r]),{onLoad:l,onLoadingComplete:s}=e,d=(0,i.useRef)(l);
|
|
960
|
+
// We're in the app directory if there is no pages router.
|
|
961
|
+
(0,i.useEffect)((()=>{d.current=l}),[l]);const p=(0,i.useRef)(s);(0,i.useEffect)((()=>{p.current=s}),[s]);const[A,S]=(0,i.useState)(!1),[T,N]=(0,i.useState)(!1),{props:I,meta:h}=(0,E.getImgProps)(e,{defaultLoader:R.default,imgConf:a,blurComplete:A,showAltText:T});
|
|
962
|
+
return(0,o.jsxs)(o.Fragment,{children:[
|
|
963
|
+
|
|
964
|
+
(0,o.jsx)(C,{...I,unoptimized:h.unoptimized,placeholder:h.placeholder,fill:h.fill,onLoadRef:d,onLoadingCompleteRef:p,setBlurComplete:S,setShowAltText:N,sizesInput:e.sizes,ref:t}),h.priority?(0,o.jsx)(M,{isAppRouter:n,imgAttributes:I}):null]})}));("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}(Ii,Ii.exports)),Ii.exports}var qi=Ji?Vi:(Ji=1,ji||(ji=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{default:function(){return i},getImageProps:function(){return a}});const t=No(),n=Ti(),r=zi(),o=t._(Xi());function a(e){const{props:t}=(0,n.getImgProps)(e,{defaultLoader:o.default,
|
|
965
|
+
// This is replaced by webpack define plugin
|
|
966
|
+
imgConf:process.env.__NEXT_IMAGE_OPTS});
|
|
967
|
+
// Normally we don't care about undefined props because we pass to JSX,
|
|
968
|
+
// but this exported function could be used by the end user for anything
|
|
969
|
+
// so we delete undefined props to clean it up a little.
|
|
970
|
+
for(const[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}const i=r.Image}(ui)),Vi=ui),Qi=Qn(qi);const Zi=({type:e,size:n})=>t(de,{iconKey:Ia[e],className:ha[e][n],weight:"fill"}),el=({src:e,alt:n,size:r,type:o})=>{const[a,i]=c(!1);return!e||a?t(Zi,{type:o,size:r}):t(Qi,{src:e,alt:n??"",onError:()=>i(!0),className:"h-full w-full object-cover",unoptimized:!0,...Na[r]})},tl=({size:e=Ca.SM,type:n,src:r,alt:o})=>t(Ei,{size:e,theme:"primary",children:t(el,{src:r,alt:o,size:e,type:n})}),nl=3,rl=({items:e,total:r=e.length,tooltipClassName:o})=>{const a=e.slice(0,3),i=r-a.length,l=i>0,s=e.map((({name:e})=>e)).join(",");return n(zn,{content:s,rootClassName:"in-flex-h-stack items-center -space-x-[0.687rem]",className:o,placement:"bottom",children:[a.map((e=>t(tl,{...e},e.name))),l&&t(Ei,{size:"sm",theme:"gray",className:"text-in-body-12-m",children:`+${i}`})]})},ol={FILLED:"filled",OUTLINED:"outlined",STATUS:"status"},al={GRAY:"gray",PRIMARY:"primary",GREEN:"green",YELLOW:"yellow",RED:"red"},il={[ol.FILLED]:"rounded-in-4",[ol.OUTLINED]:"rounded-in-4 border border-in-gray-02",[ol.STATUS]:"rounded-in-full"},ll={[al.GRAY]:{CONTAINER:"bg-in-gray-02",LABEL:"text-in-gray-07"},[al.PRIMARY]:{CONTAINER:"bg-in-primary-02",LABEL:"text-in-primary-07"},[al.GREEN]:{CONTAINER:"bg-in-green-01",LABEL:"text-in-green-06"},[al.YELLOW]:{CONTAINER:"bg-in-yellow-01",LABEL:"text-in-yellow-07"},[al.RED]:{CONTAINER:"bg-in-red-01",LABEL:"text-in-red-07"}},sl={CONTAINER:"border-in-gray-02 border bg-in-white",LABEL:"text-in-gray-06"},El={[ol.OUTLINED]:{[al.GRAY]:sl,[al.PRIMARY]:sl,[al.GREEN]:sl,[al.YELLOW]:sl,[al.RED]:sl},[ol.FILLED]:ll,[ol.STATUS]:ll},cl={[al.GRAY]:"text-in-gray-05",[al.PRIMARY]:"text-in-primary-05",[al.GREEN]:"text-in-green-04",[al.YELLOW]:"text-in-yellow-04",[al.RED]:"text-in-red-04"},ul={[ol.OUTLINED]:"text-[0.75rem]",[ol.FILLED]:"text-[0.75rem]",[ol.STATUS]:"text-[0.375rem]"},dl=({variant:e,theme:n,iconKey:r})=>t(de,{weight:"fill",iconKey:r,className:k(ul[e],cl[n])}),Ol=({label:e,variant:n,title:r,theme:o})=>t(ua,{variant:"body-12-m",color:"black",className:k(El[n][o].LABEL),title:r,children:e}),Rl=({label:e,variant:r=ol.STATUS,theme:o=al.PRIMARY,className:a,title:i,...l})=>{const s=l.iconKey,E=r===ol.STATUS?"circle":s;return n("div",{className:k("inline-flex h-5 items-center justify-center gap-x-1 px-2",il[r],El[r][o].CONTAINER,a),children:[E&&t(dl,{variant:r,iconKey:E,theme:o}),t(Ol,{label:e,variant:r,title:i,theme:o})]})},pl=()=>t("div",{className:"bg-in-gray-01 h-0.5 w-full shrink-0"}),fl="MODAL",Al="BOTTOM_SHEET",Sl="FULL_SCREEN",Cl={[fl]:"in-flex-h-stack-center",[Al]:"flex justify-center items-end",[Sl]:"in-flex-h-stack-center"},Ml={[fl]:"h-auto",[Al]:"h-auto",[Sl]:"h-[100svh]"},Tl="form",Nl="div",Il="portal",hl=({target:e=Il,children:t})=>{const n=document.getElementById(e);return n?N(t,n):null},ml=()=>t("div",{className:"in-flex-h-stack-center bg-in-white/80 absolute left-0 top-0 h-full w-full",children:t(de,{iconKey:"circle-notch",className:"text-in-primary-05 animate-spin text-[2.875rem]"})}),bl=({target:e,variant:n,isOpen:r,dimmed:o=!1,children:a,ref:i,onClose:l,useClickOutsideEvent:s,...E})=>{const{className:c,...O}=E;if(I({isLocked:r}),!r||!a)return null;const R=(e=>d(e))(a)?a:t("div",{children:a});return t(hl,{target:e,children:t("dialog",{ref:i,className:k(c,"open:animate-in-fade-in left-0 top-0 z-[1000] h-full w-full overflow-hidden",n===fl&&"in-safe-area-bottom",Cl[n],o&&"bg-in-dimmed"),open:r,...O,children:u(R,{className:k(R.props.className,Ml[n])})})})};bl.displayName="Overlay",bl.Loading=ml;const Dl=({as:e=Nl,className:o,children:a,isLoading:i=!1})=>{const l=e===Tl,s=k(o,i&&"relative"),E=n(r,{children:[a,i&&t(ml,{})]});return l?t("form",{onSubmit:e=>e.preventDefault(),className:k(s,"in-flex-v-stack"),children:E}):t("div",{className:s,children:E})},gl=({description:e,className:n})=>t(ua,{as:"p",variant:"body-16-r",color:"gray-07",className:n,children:e}),yl=({confirmOption:e,cancelOption:r,possibleConfirm:o=!1,isPending:a=!1,isLoading:i=!1,isFull:l=!1,buttonSize:s=ee.MD,className:E})=>{const{label:c,onConfirm:u,tooltipOption:d}=e,{useTooltip:O=!o,content:R="필수 항목을 모두 입력해주세요"}=d??{},{label:p,onCancel:f}=r??{},A={size:s},S=k(l&&"flex-1",l&&f&&"max-w-[calc(50%-4px)]");return n("footer",{className:k(E,"in-flex-h-stack items-center gap-x-2",!l&&"justify-end"),children:[f&&t(fe,{...A,label:p||"취소",variant:"outlined",theme:"gray",onClick:()=>!a&&f?.(),disabled:a,className:S}),t(zn,{content:R,hidden:!O,rootClassName:S,gap:10,children:t(fe,{...A,label:c,onClick:e=>{e.preventDefault(),o&&!a&&u()},disabled:!o||a||i,isPending:a,iconPosition:ne.RIGHT,className:"w-full"})})]})},_l=({children:e,className:n})=>t("header",{className:k(n,"border-b-in-gray-02 border-b"),children:e}),Ll=({title:e,variant:n=Jn.HEADLINE_20_B,className:r})=>t(ua,{as:"strong",color:"black",variant:n,className:r,children:e}),vl=({useIcon:e=!1,iconOptions:r={},title:o})=>{const{color:a=Un.PRIMARY_04,backgroundColor:i=Un.PRIMARY_01,iconKey:l="exclamation-mark"}=r;return n("div",{className:"in-flex-v-stack-center gap-y-2",children:[e&&t(de,{iconKey:l,className:k(Wn.TEXT[a],Wn.BACKGROUND[i],"rounded-in-full mb-1 h-[3.25rem] w-[3.25rem] text-[2.125rem]")}),t(Ll,{title:o,className:"text-center"})]})},Pl=({description:e})=>t(gl,{description:e,className:"mt-2 text-center"}),Fl="info",xl="error",Yl={[Fl]:"primary-05",[xl]:"red-04"},wl=({id:e,feedback:r,theme:o=xl,className:a})=>n(ua,{id:e,as:"p",role:"alert","aria-live":"assertive",variant:"body-12-m",color:Yl[o],className:k(a,"mt-1.5 items-baseline gap-x-0.5 break-all"),children:[t(de,{iconKey:"info",weight:"fill",className:"translate-y-[0.083em]"}),r]}),Bl=({id:e,badge:t,required:r,className:o,hidden:a,children:i})=>n(ua,{id:e,className:k(o,"mb-0.5",t&&"flex items-center gap-x-0.5",r&&'before:text-in-primary-06 before:content-["*"]'),hidden:a,color:"gray-07",variant:"body-14-m",children:[i,t&&t]}),Gl=({htmlFor:e,children:n,hidden:r,className:o,...a})=>e?t("label",{htmlFor:e,hidden:r,className:"leading-none",children:t(Bl,{...a,children:n})}):t(Bl,{...a,hidden:r,children:n}),Ul="input",Hl="textarea",$l="search",Wl={[Ul]:"py-2 text-in-body-16-r h-10",[Hl]:"py-3 text-in-body-16-r h-[10.625rem] relative",[$l]:"h-8 text-in-body-14-r"},kl="DEFAULT",jl="ERROR",Vl="DISABLED",Jl={[kl]:"border-in-gray-02 bg-in-white text-in-black",[jl]:"border-in-red-04 bg-in-white",[Vl]:"bg-in-gray-02 text-in-gray-05 cursor-not-allowed border-in-gray-02"},Kl=({ref:e,children:n,className:r,variant:o=Ul,disabled:a=!1,isError:i=!1,"aria-disabled":l,onClick:s,role:E})=>t("div",{ref:e,role:E,"aria-disabled":l,onClick:s,className:k(r,Wl[o],"rounded-in-8 in-flex-h-stack items-center justify-between gap-x-2 overflow-hidden border px-4 py-2",a&&Jl.DISABLED,!a&&i&&Jl.ERROR,!a&&!i&&Jl.DEFAULT),children:n}),Xl=["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End"],zl=({ref:e,isOpen:n,children:r,className:o})=>t(bl,{ref:e,variant:Al,isOpen:n,dimmed:!0,children:t("div",{className:k(o,"animate-in-bottom-sheet in-safe-area-bottom shadow-in-30 rounded-t-in-24 bg-in-white"),children:r})});zl.displayName="BottomSheet",zl.ContentWrapper=({isLoading:e,children:n,className:r})=>t("div",{className:k("px-5 pb-5 pt-[2.125rem]"),children:t(Dl,{isLoading:e,className:r,children:n})}),zl.Footer=({confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a})=>t(yl,{confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a,className:"px-5 pb-5",isFull:!0});const ql=({ref:e,isOpen:r,title:o,children:a,iconOptions:i,useIcon:l,confirmOption:s,cancelOption:E,possibleConfirm:c,isPending:u,isLoading:d,className:O})=>n(zl,{isOpen:r,ref:e,className:O,children:[n(zl.ContentWrapper,{isLoading:d,children:[t(vl,{title:o,iconOptions:i,useIcon:l}),a]}),t(zl.Footer,{confirmOption:s,cancelOption:E,possibleConfirm:c,isPending:u,isLoading:d})]});ql.displayName="ConfirmBottomSheet",ql.Description=Pl;const Ql=({ref:e,isOpen:r,title:o,children:a,confirmOption:i,cancelOption:l={label:"닫기"},isLoading:s,className:E})=>n(zl,{isOpen:r,ref:e,className:E,children:[n(zl.ContentWrapper,{isLoading:s,className:"in-flex-v-stack gap-y-3",children:[t("header",{children:t(Ll,{title:o})}),a]}),t(zl.Footer,{confirmOption:i,cancelOption:l,possibleConfirm:!0})]});Ql.displayName="InfoBottomSheet",Ql.Description=gl;var Zl=O((({month:e})=>n(ua,{variant:Jn.BODY_16_M,color:Un.BLACK,children:[e+1,"월"]})));const es=({children:e,setRef:n})=>t("div",{ref:n,role:"rowgroup",className:"in-flex-v-stack gap-y-1.5 px-4",children:e}),ts={SINGLE:"single",RANGE:"range",UNBOUNDED:"unbounded"},ns={PREV:"prev",NEXT:"next"},rs={[ns.PREV]:{LABEL:"이전 년도",ICON_KEY:"caret-left"},[ns.NEXT]:{LABEL:"다음 년도",ICON_KEY:"caret-right"}},os={TODAY:"today",STARTED:"started",ENDED:"ended",SELECTED_RANGE:"selected_range",SELECTED_RANGE_SINGLE:"selected_range_single",SELECTED_SINGLE:"selected_single",SELECTED_DISABLED:"selected_disabled",HOLIDAY_ENABLE:"holiday_enable",HOLIDAY_DISABLED:"holiday_disabled",SUNDAY_ENABLE:"sunday_enable",SUNDAY_DISABLED:"sunday_disabled",SATURDAY_ENABLE:"saturday_enable",SATURDAY_DISABLED:"saturday_disabled",DEFAULT_DISABLED:"default_disabled",DEFAULT_ENABLE:"default_enable"},as={[os.DEFAULT_ENABLE]:{COLOR:Un.BLACK,BACKGROUND:Wn.BACKGROUND[Un.WHITE],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"},[os.DEFAULT_DISABLED]:{COLOR:Un.GRAY_03,BACKGROUND:Wn.BACKGROUND[Un.WHITE],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"},[os.STARTED]:{COLOR:Un.WHITE,BACKGROUND:Wn.BACKGROUND[Un.PRIMARY_05],VARIANT:Jn.BODY_14_B,ROUNDED:"rounded-l-in-12"},[os.ENDED]:{COLOR:Un.WHITE,BACKGROUND:Wn.BACKGROUND[Un.PRIMARY_05],VARIANT:Jn.BODY_14_B,ROUNDED:"rounded-r-in-12"},[os.SELECTED_RANGE]:{COLOR:Un.PRIMARY_06,BACKGROUND:Wn.BACKGROUND[Un.PRIMARY_02],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"},[os.SELECTED_RANGE_SINGLE]:{COLOR:Un.WHITE,BACKGROUND:Wn.BACKGROUND[Un.PRIMARY_05],VARIANT:Jn.BODY_14_B,ROUNDED:"rounded-in-12"},[os.SELECTED_SINGLE]:{COLOR:Un.WHITE,BACKGROUND:Wn.BACKGROUND[Un.PRIMARY_05],VARIANT:Jn.BODY_14_B,ROUNDED:"rounded-in-12"},[os.SELECTED_DISABLED]:{COLOR:Un.PRIMARY_06,BACKGROUND:Wn.BACKGROUND[Un.PRIMARY_02],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"},[os.TODAY]:{COLOR:Un.PRIMARY_06,BACKGROUND:Wn.BACKGROUND[Un.WHITE],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"},[os.HOLIDAY_ENABLE]:{COLOR:Un.RED_07,BACKGROUND:Wn.BACKGROUND[Un.WHITE],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"},[os.HOLIDAY_DISABLED]:{COLOR:Un.RED_03,BACKGROUND:Wn.BACKGROUND[Un.WHITE],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"},[os.SATURDAY_ENABLE]:{COLOR:Un.BLACK,BACKGROUND:Wn.BACKGROUND[Un.WHITE],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"},[os.SATURDAY_DISABLED]:{COLOR:Un.GRAY_03,BACKGROUND:Wn.BACKGROUND[Un.WHITE],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"},[os.SUNDAY_ENABLE]:{COLOR:Un.RED_07,BACKGROUND:Wn.BACKGROUND[Un.WHITE],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"},[os.SUNDAY_DISABLED]:{COLOR:Un.RED_03,BACKGROUND:Wn.BACKGROUND[Un.WHITE],VARIANT:Jn.BODY_14_R,ROUNDED:"rounded-none"}},is=[os.STARTED,os.ENDED,os.SELECTED_RANGE,os.SELECTED_SINGLE,os.SELECTED_DISABLED,os.SELECTED_RANGE_SINGLE],ls=[os.DEFAULT_DISABLED,os.HOLIDAY_DISABLED,os.SUNDAY_DISABLED,os.SATURDAY_DISABLED,os.SELECTED_DISABLED],ss={SUNDAY:"sunday",MONDAY:"monday",TUESDAY:"tuesday",WEDNESDAY:"wednesday",THURSDAY:"thursday",FRIDAY:"friday",SATURDAY:"saturday"},Es={[ss.SUNDAY]:{VALUE:0,LABEL:{SHORT:"일",LONG:"일요일"}},[ss.MONDAY]:{VALUE:1,LABEL:{SHORT:"월",LONG:"월요일"}},[ss.TUESDAY]:{VALUE:2,LABEL:{SHORT:"화",LONG:"화요일"}},[ss.WEDNESDAY]:{VALUE:3,LABEL:{SHORT:"수",LONG:"수요일"}},[ss.THURSDAY]:{VALUE:4,LABEL:{SHORT:"목",LONG:"목요일"}},[ss.FRIDAY]:{VALUE:5,LABEL:{SHORT:"금",LONG:"금요일"}},[ss.SATURDAY]:{VALUE:6,LABEL:{SHORT:"토",LONG:"토요일"}}},cs=Object.values(ss),us=12,ds=5,Os=cs.length,Rs=5*Os,ps=Array.from({length:12},((e,t)=>t)),fs=Array.from({length:5},((e,t)=>t)),As=Array.from({length:Os},((e,t)=>t)),Ss={TODAY:"오늘",HOLIDAY:"공휴일"};var Cs=O((({day:e,label:r,variant:o,onClick:a})=>{const{COLOR:i,BACKGROUND:l,VARIANT:s,ROUNDED:E}=as[o],c=is.includes(o),u=ls.includes(o),d=!!r&&!c;return n("button",{className:k("in-flex-v-stack overflow-hidden pt-3",u&&"cursor-not-allowed",l,E),role:"gridcell","aria-selected":c,onClick:u?void 0:a,disabled:u,children:[t(ua,{color:i,variant:s,children:e}),d&&t(ua,{color:i,className:"text-[0.625rem] leading-none",children:r})]})}));const Ms=()=>t("div",{role:"gridcell","aria-hidden":!0}),Ts=({children:e,className:n})=>t("div",{role:"row",className:k("grid grid-cols-[repeat(7,_2.8125rem)]",n),children:e});var Ns=O((({month:e,daysIndex:n,daysOfMonth:r,handleClick:o})=>t(Ts,{className:"grid-rows-[2.8125rem]",children:As.map((a=>{const i=n*Os+a,l=r[i];if(null===l)return t(Ms,{},`${e}-${i}`);const{dateValue:s,key:E,...c}=l;return t(Cs,{onClick:()=>o({dateValue:s}),...c},E)}))})));var Is=O((({year:e})=>n(ua,{color:Un.BLACK,variant:Jn.HEADLINE_20_M,className:"w-[4.125rem] text-center",children:[e,"년"]})));const hs=({onYearChange:e,year:r})=>n("div",{className:"in-tablet:mb-3 text-in-gray-06 in-flex-h-stack-center mb-2 pt-3",children:[t(qn,{arialLabel:rs[ns.PREV].LABEL,iconKey:rs[ns.PREV].ICON_KEY,onClick:()=>e({navigateType:ns.PREV})}),t(Is,{year:r}),t(qn,{arialLabel:rs[ns.NEXT].LABEL,iconKey:rs[ns.NEXT].ICON_KEY,onClick:()=>e({navigateType:ns.NEXT})})]});var ms=O((({week:e})=>{const{LABEL:{SHORT:n,LONG:r}}=Es[e];return t(ua,{role:"columnheader",variant:Jn.BODY_14_R,className:"text-center","aria-label":r,color:Un.GRAY_05,children:n})}));const bs=()=>t(Ts,{className:"border-b-in-gray-01 in-tablet:mb-3 mb-2 h-[1.625rem] border-b px-4",children:cs.map((e=>t(ms,{week:e},e)))}),Ds=i(void 0),gs=({value:e,variant:n,onChange:r,children:o})=>{const[a,i]=c(null),l=R((()=>{const t=null===e?null:{startDate:e.startDate?b({date:e.startDate,type:"dayjs"}):null,endDate:e.endDate?b({date:e.endDate,type:"dayjs"}):null};i(t)}),[e]),s={value:e,internalValue:a,variant:n,onChange:r,handleChange:()=>{r((()=>{if(null==a)return null;const{startDate:e,endDate:t}=a,r=null!==e?D({date:e}):null,o=null!==t?D({date:t}):null;return n===ts.UNBOUNDED?{startDate:r,endDate:null}:{startDate:r,endDate:o}})())},setInternalValue:i,setCalendarInternalValue:l};return t(Ds.Provider,{value:s,children:o})},ys=()=>{const e=l(Ds);if(!e)throw new Error("useCalendarContext must be used within a CalendarProvider");return e},_s=()=>{const{internalValue:e,variant:t}=ys(),{startDate:n=null,endDate:r=null}=e??{};return{isHoliday:R((({dateValue:e,holidaysSet:t})=>t.has(D({date:e}))),[]),isStart:R((({dateValue:e})=>null!==n&&g({date:e,target:n})),[n]),isEnd:R((({dateValue:e})=>null!==r&&g({date:e,target:r})),[r]),isSelected:R((({dateValue:e})=>!(!n&&!r)&&(t===ts.SINGLE&&n&&r?g({date:e,target:n})&&g({date:e,target:r}):t===ts.RANGE?n&&null===r?g({date:e,target:n}):!(!n||!r)&&y({date:e,from:n,to:r}):!(t!==ts.UNBOUNDED||!n)&&_({date:e,target:n,isInclude:!0}))),[n,r,t]),isDisabled:R((({dateValue:e,minDate:t,maxDate:n,disabledDays:r})=>{let o=r?.includes(D({date:e}))??!1;return o||(t&&n&&(o=!y({date:e,from:t,to:n})),t&&!n&&L({date:e,target:t})&&(o=!0),n&&!t&&_({date:e,target:n})&&(o=!0)),o}),[])}},Ls=({week:e,useWeekend:t,variant:n,isDisabled:r,isHoliday:o,isSelected:a,isToday:i,isStart:l,isEnd:s})=>{const E=e===Es[ss.SUNDAY].VALUE,c=e===Es[ss.SATURDAY].VALUE;return a?n===ts.SINGLE?os.SELECTED_SINGLE:n===ts.RANGE&&l&&s?os.SELECTED_RANGE_SINGLE:l?os.STARTED:s?os.ENDED:r||!t&&(E||c)?os.SELECTED_DISABLED:os.SELECTED_RANGE:o?r?os.HOLIDAY_DISABLED:os.HOLIDAY_ENABLE:E?t?os.SUNDAY_ENABLE:os.SUNDAY_DISABLED:c?t?os.SATURDAY_ENABLE:os.SATURDAY_DISABLED:i?r?os.DEFAULT_DISABLED:os.TODAY:r?os.DEFAULT_DISABLED:os.DEFAULT_ENABLE},vs=({year:e,holidays:t,externalDaysLabels:n,useWeekend:r=!1,minDate:o,maxDate:a,disabledDays:i})=>{const{variant:l}=ys(),{isHoliday:s,isStart:E,isEnd:c,isDisabled:u,isSelected:d}=_s(),{holidaysSet:O}=(({holidays:e})=>({holidaysSet:p((()=>new Set(e?.map((e=>D({date:e})))??[])),[e])}))({holidays:t}),f=R((({dateValue:e,isToday:t,isHoliday:r})=>{const o=D({date:e}),a=n?.find((e=>e.dateValue===o));return a?a.label:t?Ss.TODAY:r?Ss.HOLIDAY:null}),[n]),A=({year:e,month:t,day:n})=>`${e}-${F({number:t,length:2})}-${F({number:n,length:2})}`,S=R((({year:e,month:t,variant:n})=>{const l=D({date:v()}),R=P({date:A({year:e,month:t,day:1})}),p=x({date:R,unit:"month"}),S=Y({date:R}),C=Y({date:p}),M=w({date:R}),T=Array.from({length:Rs},((R,p)=>{const T=p-M+S;if(T<S||T>C)return null;const N=b({date:A({year:e,month:t,day:T}),type:"dayjs"}),I=D({date:N}),h=I===l;return{key:I,day:T,dateValue:N,label:f({dateValue:N,isToday:h,isHoliday:s({dateValue:N,holidaysSet:O})}),variant:Ls({week:w({date:N}),useWeekend:r,variant:n,isDisabled:u({dateValue:N,minDate:o,maxDate:a,disabledDays:i}),isHoliday:s({dateValue:N,holidaysSet:O}),isSelected:d({dateValue:N}),isToday:h,isStart:E({dateValue:N}),isEnd:c({dateValue:N})})}}));return T}),[f,u,s,d,E,c,O,r,o,a,i]),C=p((()=>new Map(ps.map((t=>[t,S({year:e,month:t+1,variant:l})])))),[S,e,l]);return{days:C}},Ps=({minDate:e,maxDate:t,holidays:n,disabledDays:r,externalDaysLabels:o,useWeekend:a=!1})=>{const i=f({}),l=f(null),[s,E]=c(B()),{onYearChange:u,handleClick:d}=(({monthlyWrapperRef:e,setYear:t})=>{const{internalValue:n,setInternalValue:r,variant:o}=ys(),{isStart:a,isDisabled:i,isEnd:l}=_s(),s=R((({dateValue:e})=>{a({dateValue:e})||r({startDate:e,endDate:e})}),[a]),E=R((({dateValue:e})=>{if(!n)return r({startDate:e,endDate:null});const{startDate:t,endDate:o}=n;if(t&&!o){if(a({dateValue:e}))return r({startDate:e,endDate:e});const n=L({date:e,target:t});return r((()=>n?{startDate:e,endDate:t}:{startDate:t,endDate:e}))}return t&&o&&(l({dateValue:e})||a({dateValue:e})),r({startDate:e,endDate:null})}),[n,a,l]),c=R((({dateValue:e})=>{a({dateValue:e})||r({startDate:e,endDate:null})}),[a]),u=p((()=>({[ts.SINGLE]:s,[ts.RANGE]:E,[ts.UNBOUNDED]:c})),[s,E,c]);return{handleClick:R((({dateValue:e})=>{i({dateValue:e})||u[o]({dateValue:e})}),[o,u,i]),onYearChange:R((({navigateType:n})=>{n===ns.PREV&&t((e=>e-1)),n===ns.NEXT&&t((e=>e+1)),e.current?.scrollTo({top:0,behavior:"instant"})}),[e.current])}})({monthlyWrapperRef:l,setYear:E}),{days:O}=vs({holidays:n,externalDaysLabels:o,useWeekend:a,year:s,minDate:e,maxDate:t,disabledDays:r});return{models:{days:O,year:s,monthlyWrapperRef:l,monthlyRefs:i},operations:{setYear:E,onYearChange:u,handleClick:d}}},Fs=({monthlyRefs:e,minDate:t,setYear:n})=>{const r=f(!1),{value:o}=ys(),a=({year:t,month:r})=>{n(t),(({month:t})=>{e.current[t]&&e.current[t].scrollIntoView({behavior:"instant",block:"start"})})({month:r})},i=({value:e,minDate:t})=>{if(e&&e.startDate){const{startDate:t}=e;return{year:B({date:t}),month:G({date:t})}}const n=v(),r=b({type:"dayjs",date:t}),o=_({date:n,target:r,isInclude:!0});return{year:B(o?{date:n}:{date:r}),month:G(o?{date:n}:{date:r})}};s((()=>{if(r.current)return;r.current=!0;const{year:e,month:n}=i({value:o,minDate:t});a({year:e,month:n})}),[])},xs=({id:e,className:r,labelId:o,minDate:a,maxDate:i,holidays:l,disabledDays:E,externalDaysLabels:c,useWeekend:u=!1})=>{const{models:{days:d,monthlyWrapperRef:O,monthlyRefs:R,year:p},operations:{onYearChange:f,handleClick:A,setYear:S}}=Ps({minDate:a,maxDate:i,holidays:l,disabledDays:E,externalDaysLabels:c,useWeekend:u});return(()=>{const{setCalendarInternalValue:e}=ys();s((()=>{e()}),[])})(),Fs({monthlyRefs:R,minDate:a,setYear:S}),n("div",{id:e,"aria-labelledby":o,className:k(r,"in-flex-v-stack overflow-hidden p-4"),children:[t(hs,{onYearChange:f,year:p}),n("div",{role:"grid",className:"in-flex-v-stack items-center overflow-hidden",children:[t(bs,{}),t("div",{ref:O,role:"presentation",className:"in-flex-v-stack gap-y-2.5 overflow-y-scroll",children:ps.map((e=>{const r=d.get(e);return r?n(es,{setRef:t=>R.current[e]=t,children:[t(Zl,{month:e}),fs.map((n=>t(Ns,{month:e,daysIndex:n,daysOfMonth:r,handleClick:A},`${e}-${n}`)))]},e):null}))})]})]})},Ys={SM:"sm",MD:"md"},ws="default",Bs="selected",Gs="disabled",Us={[Ys.SM]:"h-[1.125rem] w-[1.125rem] text-[0.75rem]",[Ys.MD]:"h-6 w-6 text-[1rem]"},Hs={[Ys.SM]:"body-14-r",[Ys.MD]:"body-16-r"},$s={[ws]:{icon:"border-in-gray-02 bg-in-white",label:"text-in-black"},[Bs]:{icon:"peer-checked:border-in-primary-05 peer-checked:bg-in-primary-05",label:"peer-checked:text-in-black"},[Gs]:{icon:"peer-disabled:border-in-gray-02 peer-disabled:bg-in-gray-02",label:"peer-disabled:text-in-gray-05"}},Ws=({size:e})=>t("div",{className:k("rounded-in-4 flex items-center justify-center overflow-hidden border-[0.125rem]",Us[e],...Object.values($s).map((({icon:e})=>e))),"aria-hidden":!0,children:t(de,{className:"text-in-white",iconKey:"check"})}),ks=({size:e,label:n,labelId:r})=>t(ua,{className:k(...Object.values($s).map((({label:e})=>e))),id:r,color:"black",variant:Hs[e],children:n}),js=({size:e=Ys.SM,checked:r=!1,disabled:o=!1,label:a,className:i,onChange:l})=>{const s=A(),E=`${s}-label`;return n("label",{className:k(i,"cursor-pointer",a&&"flex items-center gap-x-2","has-[.checkbox:disabled]:cursor-not-allowed"),htmlFor:s,children:[t("input",{"aria-labelledby":E,checked:r,className:"checkbox peer hidden",disabled:o,id:s,type:"checkbox",onChange:l}),t(Ws,{size:e}),a&&t(ks,{label:a,labelId:E,size:e})]})},Vs=({label:e,onClick:r,disabled:o=!1,className:a,ariaLabel:i})=>n("button",{className:k(a,"text-in-body-14-r text-in-primary-06 bg-in-primary-02 rounded-in-full flex h-[1.5rem] items-center overflow-hidden px-3",!o&&"gap-x-1",o&&"cursor-not-allowed"),"aria-label":i??`${e} 제거`,disabled:o,type:"button",onClick:e=>{e.stopPropagation(),r?.(e)},title:e,children:[t("span",{className:"truncate",children:e}),!o&&t(de,{className:"text-[0.75rem]",iconKey:"x","aria-hidden":!0})]}),Js=({ref:e,className:n,children:r,ariaLabel:o})=>t("ul",{"aria-label":o??void 0,className:n,ref:e,children:S.map(r,(e=>d(e)?t("li",{children:e},e.key):null))}),Ks=({value:e,variant:t})=>{if(!e)return!1;const{startDate:n,endDate:r}=e;return t===ts.UNBOUNDED?null!==n&&null===r:null!==n&&null!==r},Xs=({close:e,disabled:n})=>{const{variant:r,handleChange:o,internalValue:a}=ys(),i=n||!Ks({value:a,variant:r});return t("div",{className:"border-t-in-gray-02 w-full border-t p-4",children:t(fe,{label:"선택 완료",theme:Z.PRIMARY,size:ee.SM,onClick:()=>{o(),e()},className:"w-full",disabled:i})})},zs={SELECT:"select",SEARCH_SELECT:"search-select",MULTI_SEARCH_SELECT:"multi-search-select"},qs=i(void 0),Qs=({id:e,required:n=!1,children:r})=>t(qs.Provider,{value:{id:e,required:n},children:r}),Zs=i(void 0),eE=({ref:e,isOpen:n,onToggle:r,disabled:o=!1,isError:a=!1,children:i,placeholder:l="선택해주세요"})=>{const s={ref:e,isOpen:n,onToggle:r,disabled:o,isError:a,placeholder:l};return t(Zs.Provider,{value:s,children:i})},tE=()=>{const e=l(Zs);if(!e)throw new Error("useSelectTriggerContext must be used within a SelectTriggerContext");return e},nE="-",rE={BOTTOM:"bottom",TOP:"top",LEFT:"left",RIGHT:"right"},oE={BOTTOM_LEFT:`${rE.BOTTOM}${nE}${rE.LEFT}`,BOTTOM_RIGHT:`${rE.BOTTOM}${nE}${rE.RIGHT}`,TOP_LEFT:`${rE.TOP}${nE}${rE.LEFT}`,TOP_RIGHT:`${rE.TOP}${nE}${rE.RIGHT}`},aE={[rE.BOTTOM]:rE.TOP,[rE.TOP]:rE.BOTTOM,[rE.LEFT]:rE.RIGHT,[rE.RIGHT]:rE.LEFT},iE=({popoverRef:e,rootRef:t,isOpen:n})=>{const r=t=>{const n=e.current;if(n&&!n.contains(t.target))return t.preventDefault(),t.stopPropagation(),!1},o=e=>{e.removeEventListener("scroll",r),e.removeEventListener("wheel",r),e.removeEventListener("touchmove",r)};s((()=>{if(!e.current)return;const a=t?.current??document.body,i=["overflow-y-auto","overflow-auto","overflow-x-auto","overflow-scroll","overflow-x-scroll","overflow-y-scroll"].map((e=>`.${e}`)).join(", "),l=[a,...a.querySelectorAll(i)];return l.length?(l.forEach((e=>{const t=e;n?(e=>{e.addEventListener("scroll",r,{passive:!1}),e.addEventListener("wheel",r,{passive:!1}),e.addEventListener("touchmove",r,{passive:!1})})(t):o(t)})),()=>l.forEach((e=>o(e)))):void 0}),[e,t,n])},lE=({isOpen:e,triggerRef:t,popoverRef:n,rootRef:r,setStyle:o,offset:a,applyMaxWidth:i,placement:l,threshold:E})=>{s((()=>{if(!e)return;const s=t.current,c=n.current,u=r?.current;if(!s||!c)return;const d=()=>{requestAnimationFrame((()=>{const e=(({root:e,trigger:t,popover:n,offset:r=0,applyMaxWidth:o=!1,placement:a=oE.BOTTOM_RIGHT,threshold:i=0})=>{const l=t.getBoundingClientRect(),s=n.getBoundingClientRect(),E=document.body.getBoundingClientRect(),c=e?.getBoundingClientRect()??E,{left:u,bottom:d,right:O,top:R,width:p}=l,{width:f,height:A}=s,{width:S,height:C}=E,{right:M,bottom:T,left:N,top:I}=c,h=T-i,m=I+i,b=d+A+r,D=R-r-A,g=M-i,y=N+i,_=u+f,L=O-f,v={[rE.BOTTOM]:{flag:b>h,flippedPosition:aE[rE.BOTTOM]},[rE.TOP]:{flag:D<m,flippedPosition:aE[rE.TOP]},[rE.LEFT]:{flag:_>g,flippedPosition:aE[rE.LEFT]},[rE.RIGHT]:{flag:L<y,flippedPosition:aE[rE.RIGHT]}},[P,F]=a.split(nE).map((e=>{const t=e,{flag:n,flippedPosition:r}=v[t];return n?r:t})),x={minWidth:p,maxWidth:o?p:"none",top:void 0,bottom:void 0,left:void 0,right:void 0};return P===rE.BOTTOM&&(x.top=d+r),P===rE.TOP&&(x.bottom=C-R+r),F===rE.LEFT&&(x.left=u),F===rE.RIGHT&&(x.right=S-O),x})({root:u,trigger:s,popover:c,offset:a,applyMaxWidth:i,placement:l,threshold:E});o((t=>({...t,...e,opacity:1})))}))};d();const O=new ResizeObserver(d);return O.observe(document.body),O.observe(s),O.observe(c),u&&O.observe(u),()=>{o((e=>({...e,opacity:0}))),O.disconnect()}}),[t,n,r,e,a,i,l,E])},sE=({trigger:e,rootRef:o,children:a,offset:i=8,placement:l=oE.BOTTOM_LEFT,applyMaxWidth:E=!1,useClickOutsideEvent:O=!0,useAutoFocus:R=!0,isOpen:p,onPopoverClose:S,threshold:C=2})=>{const M=f(null),{execute:T}=h(),{triggerProps:N,popoverProps:I}=(({trigger:e,isOpen:t})=>{const n=A(),{ref:r,...o}=e.props;return{triggerProps:({triggerRef:e})=>({...o,ref:r?U(r,e):e,"aria-haspopup":"dialog","aria-expanded":t,"aria-controls":t?n:void 0}),popoverProps:({popoverRef:e,style:t})=>({ref:e,role:"dialog",id:n,style:t,tabIndex:-1,className:"focus-within:outline-none"})}})({trigger:e,isOpen:p}),{contentRef:b}=m({onClose:e=>{const t=!M.current||M.current.contains(e.target);T({disabled:t,fn:!t&&S?.()})},useClickOutsideEvent:O&&p}),{style:D}=(({offset:e,applyMaxWidth:t,triggerRef:n,popoverRef:r,rootRef:o,isOpen:a,placement:i,threshold:l})=>{const[s,E]=c({position:"fixed",zIndex:1e4,opacity:0});return lE({triggerRef:n,popoverRef:r,rootRef:o,setStyle:E,isOpen:a,offset:e,applyMaxWidth:t,placement:i,threshold:l}),{style:s}})({offset:i,applyMaxWidth:E,triggerRef:M,rootRef:o,popoverRef:b,isOpen:p,placement:l,threshold:C});return iE({popoverRef:b,rootRef:o,isOpen:p}),(({popoverRef:e,useAutoFocus:t,isOpen:n})=>{s((()=>{const r=e.current;n&&t&&r&&r.focus()}),[n,e,t])})({popoverRef:b,isOpen:p,useAutoFocus:R}),d(e)&&d(a)?n(r,{children:[u(e,{...N({triggerRef:M})}),p&&t(hl,{children:t("div",{...I({popoverRef:b,style:D}),children:a})})]}):null};var EE=Object.freeze({__proto__:null,default:sE});const cE=({className:e,isSelected:n,children:r,onClick:o,label:a})=>t("li",{role:"option",className:k(e,"rounded-in-8 shrink-0 cursor-pointer overflow-hidden",!n&&"bg-in-white"),"aria-selected":n,title:a,onClick:e=>{e.preventDefault(),o()},children:r}),uE=({children:e,className:n,onSubmit:r,...o})=>{const a=k(n,"in-flex-v-stack");return r?t("form",{...o,className:a,onSubmit:r,children:e}):t("div",{...o,className:a,children:e})},dE=({required:e=!1,className:r,trigger:o,isError:a=!1,placeholder:i,label:l,children:s,popoverOption:E={},feedback:u,disabled:d=!1,type:O,controls:R,labelId:p})=>{const f=A(),[S,C]=c(!1),M=!S&&a&&!!u&&!d,T="function"==typeof s,{onPopoverClose:N,useClickOutsideEvent:I=!0,...h}=E,m=()=>!d&&C(!1),b={...h,useClickOutsideEvent:I,onPopoverClose:I?()=>{I&&!d&&(m(),N?.())}:void 0};return n(uE,{...(()=>{const e={"aria-haspopup":"listbox","aria-expanded":S,"aria-controls":R,"aria-labelledby":p,"aria-describedby":M?f:void 0};return O===zs.SELECT&&(e.role="listbox"),O!==zs.SEARCH_SELECT&&O!==zs.MULTI_SEARCH_SELECT||(e.role="combobox",e["aria-autocomplete"]="list",e["aria-multiselectable"]=!0),e})(),className:r,children:[l&&t(Qs,{id:p,required:e,children:l}),t(sE,{isOpen:S&&!d,trigger:t(eE,{isOpen:S,onToggle:()=>{d||C((e=>!e))},disabled:d,isError:M,placeholder:i,children:o}),...b,children:T?s({close:m}):s}),M&&t(wl,{id:f,feedback:u,className:"flex"})]})};dE.displayName="SelectBase",dE.Label=({label:e,hidden:n,badge:r})=>{const{id:o,required:a}=(()=>{const e=l(qs);if(!e)throw new Error("useSelectLabelContext must be used within a SelectLabelContext");return e})();return t(Gl,{id:o,badge:r,required:a,hidden:n,children:e})},dE.PopoverWrapper=({children:e,className:n,useMobile:r=!1})=>t("div",{className:k(n,"animate-in-fade-in-select rounded-in-8 shadow-in-8 bg-in-white overflow-hidden",r&&"in-tablet:static in-tablet:inset-auto in-flex-v-stack in-tablet:block fixed inset-0"),children:e}),dE.Item=cE;const OE=()=>n("li",{className:"in-flex-v-stack-center flex-1",children:[t(de,{iconKey:"empty",className:"text-in-gray-04 bg-in-gray-01 rounded-in-full mb-[0.375rem] h-[1.875rem] w-[1.875rem] text-[1rem]","aria-hidden":!0}),t(ua,{variant:"body-14-r",color:"gray-04",children:"검색 결과가 없습니다"})]}),RE=({children:e,className:r,subFixIcon:o})=>{const{ref:a,isOpen:i,onToggle:l,disabled:s,isError:E}=tE();return n(Kl,{ref:a,role:"button",disabled:s,"aria-disabled":s,isError:E,onClick:e=>{e.preventDefault(),l()},className:r,children:[e,o&&d(o)?u(o,{className:k(o.props.className,"text-in-gray-04 shrink-0"),weight:"fill","aria-hidden":!0}):t(de,{iconKey:i?"caret-up":"caret-down",className:"text-in-gray-04 shrink-0 text-[0.875rem]",weight:"fill","aria-hidden":!0})]})},pE=({displayValue:e,hasValue:n})=>{const{placeholder:r,disabled:o}=tE();return t(ua,{className:"w-full truncate",variant:"body-16-r",color:o?Un.GRAY_05:n?Un.BLACK:Un.GRAY_04,children:e||r})},fE=({onClick:e})=>t("button",{type:"button","aria-label":"초기화",className:"shrink-0 cursor-pointer",onClick:t=>{t.stopPropagation(),e?.(t)},children:t(de,{iconKey:"x-circle",weight:"fill",className:"text-in-gray-05 text-[1.125rem]"})}),AE=()=>{const{placeholder:e="",disabled:r}=tE(),{value:o,variant:a,setInternalValue:i,onChange:l}=ys(),s=!!o&&Ks({value:o,variant:a}),E=s&&!r;return n(RE,{subFixIcon:t(de,{iconKey:"calendar-dots",className:"text-[1.125rem]"}),children:[t(pE,{displayValue:(()=>{if(!o)return e;const{startDate:t,endDate:n}=o;return a===ts.SINGLE&&Ks({value:o,variant:ts.SINGLE})?D({date:t}):a===ts.RANGE&&Ks({value:o,variant:ts.RANGE})?`${D({date:t})} ~ ${D({date:n})}`:a===ts.UNBOUNDED&&Ks({value:o,variant:ts.UNBOUNDED})?`${D({date:t})} 부터`:e})(),hasValue:s}),E&&t(fE,{onClick:()=>{i(null),l(null)}})]})},SE=({className:e,type:n,label:r,disabled:o,feedback:a,required:i,isError:l,placeholder:s,controls:E,labelId:c,popoverOption:u,children:d})=>{const{setCalendarInternalValue:O}=ys(),R={...u??{},onPopoverClose:()=>{u?.onPopoverClose?.(),O()}};return t(dE,{className:e,type:n,label:r,trigger:t(AE,{}),disabled:o,feedback:a,required:i,isError:l,placeholder:s,controls:E,labelId:c,popoverOption:R,children:d})},CE=({className:e,badge:r,label:o,hiddenLabel:a,disabled:i,feedback:l,required:s,isError:E,placeholder:c,value:u,popoverOption:d,variant:O,minDate:R,maxDate:p,holidays:f,disabledDays:S,externalDaysLabels:C,onChange:M})=>{const T=A(),N=A();return t(gs,{value:u,variant:O,onChange:M,children:t(SE,{className:e,type:O===ts.SINGLE?zs.SELECT:zs.MULTI_SEARCH_SELECT,label:t(dE.Label,{badge:r,label:o,hidden:a}),disabled:i,feedback:l,required:s,isError:E,placeholder:c,controls:N,labelId:T,popoverOption:d,children:({close:e})=>t(dE.PopoverWrapper,{useMobile:!0,children:n(si,{direction:"column",className:"in-tablet:min-w-[23.75rem] in-tablet:max-w-full in-tablet:min-h-[34svh] in-tablet:max-h-[46svh] in-tablet:w-auto mx-auto h-full w-full min-w-[22.5rem] max-w-[26.875rem] justify-between",children:[t(xs,{className:"in-tablet:min-h-[calc(34svh-4.125rem)] in-tablet:max-h-[calc(46svh-4.125rem)] mx-auto",id:N,labelId:T,minDate:R,maxDate:p,holidays:f,disabledDays:S,externalDaysLabels:C}),t(Xs,{close:e})]})})})})},ME=({isOpen:e,ref:n,children:r,className:o})=>t(bl,{variant:fl,isOpen:e,ref:n,dimmed:!0,children:t("div",{className:k(o,"rounded-in-16 shadow-in-24 in-flex-v-stack bg-in-white max-h-[86dvh]"),children:r})});ME.displayName="Dialog",ME.Header=({children:e})=>t(_l,{className:"px-[1.875rem] py-5",children:e}),ME.ContentWrapper=({as:e,isLoading:n,children:r,className:o})=>t(Dl,{as:e,isLoading:n,className:k(o,"flex-1 overflow-y-auto px-[1.875rem] py-[1.625rem]"),children:r}),ME.Footer=({confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a})=>t(yl,{confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a,buttonSize:ee.LG,className:"border-in-gray-02 border-t px-[1.875rem] py-[1.125rem]"}),ME.Divider=pl;const TE=({children:e,isOpen:r,ref:o,title:a,className:i,cancelOption:l,confirmOption:s,possibleConfirm:E,isPending:c,isLoading:u})=>n(ME,{isOpen:r,ref:o,className:i,children:[t(ME.Header,{children:t(Ll,{title:a})}),t(ME.ContentWrapper,{as:Tl,isLoading:u,className:"gap-y-6",children:e}),t(ME.Footer,{cancelOption:l,confirmOption:s,possibleConfirm:E,isPending:c,isLoading:u})]}),NE=({children:e,isOpen:r,ref:o,title:a,className:i,isLoading:l,confirmOption:s})=>{const{label:E="닫기",onConfirm:c}=s;return n(ME,{isOpen:r,ref:o,className:i,children:[t(ME.Header,{children:t(Ll,{title:a})}),t(ME.ContentWrapper,{isLoading:l,children:e}),t(ME.Footer,{confirmOption:{label:E,onConfirm:c},possibleConfirm:!0})]})},IE=i(void 0),hE=({toggleValues:e,toggleOptions:n,selectValues:r,selectOptions:o,children:a,onChange:i})=>{const l={toggleValues:e,toggleOptions:n,selectValues:r,selectOptions:o,onChange:i};return t(IE.Provider,{value:l,children:a})},mE=()=>{const e=l(IE);if(!e)throw new Error("useFilterContext must be used within a FilterProvider");return e},bE={MULTI_SELECT:"multi_select",DATE_SINGLE:"date",DATE_RANGE:"date_range"},DE={IDLE:"idle",SELECT_OPTION:"select_option"},gE=i(void 0),yE=({children:e})=>{const[n,r]=c(DE.IDLE),[o,a]=c(null),[i,l]=c(null),s={filterStep:n,setFilterStep:r,currentOptions:o,setCurrentOptions:a,currentSelectValue:i,setCurrentSelectValue:l};return t(gE.Provider,{value:s,children:e})},_E=()=>{const e=l(gE);if(!e)throw new Error("useFilterPanelContext must be used within a FilterPanelProvider");return e},LE=()=>{const{setFilterStep:e,setCurrentSelectValue:n}=_E();return t(qn,{className:"text-in-black",arialLabel:"뒤로가기",iconKey:"caret-left",onClick:()=>{e(DE.IDLE),n(null)}})},vE=({className:e,onClose:n})=>t(qn,{className:k("text-[1rem]",e),arialLabel:"닫기",iconKey:"x",onClick:n}),PE=({close:e})=>{const{setFilterStep:n,setCurrentSelectValue:r}=_E();return t(vE,{className:"text-in-gray-06 in-tablet:block ml-2 hidden",onClose:()=>{n(DE.IDLE),r(null),e()}})},FE=({close:e})=>{const{setFilterStep:n}=_E();return t(vE,{className:"text-in-black in-tablet:hidden block",onClose:()=>{n(DE.IDLE),e()}})},xE=()=>{const{toggleValues:e=null,selectValues:n=null,onChange:r}=mE(),{filterStep:o,currentOptions:a,setCurrentSelectValue:i}=_E();return t(fe,{theme:Z.GRAY,variant:Q.OUTLINED,iconOption:{iconKey:"arrow-clockwise"},size:ee.SM,onClick:()=>{if(o===DE.SELECT_OPTION){if(null===n)return;return i(null),void r({toggleValues:e,selectValues:{...n,[a.key]:null}})}return r({toggleValues:null,selectValues:null})},label:"초기화"})},YE=()=>{const{filterStep:e,currentOptions:n}=_E(),r=e===DE.IDLE?"필터":n.label;return t(ua,{as:"strong",className:"mr-auto",color:"black",variant:Jn.BODY_16_B,children:r})},wE=({close:e})=>{const{filterStep:r}=_E();return n(si,{as:"header",className:"border-b-in-gray-02 in-tablet:px-4 in-tablet:h-[3.75rem] h-[4rem] border-b px-5",align:{items:"center"},shrink:"0",children:[r===DE.IDLE&&t(FE,{close:e}),r===DE.SELECT_OPTION&&t(LE,{}),t(YE,{}),t(xE,{}),t(PE,{close:e})]})};var BE={exports:{}};function GE(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var UE,HE,$E,WE,kE,jE={},VE={};function JE(){return HE||(HE=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return d}});const t=No()._(a),n=(UE||(UE=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"LoadableContext",{enumerable:!0,get:function(){return t}});const t=No()._(a).default.createContext(null);"production"!==process.env.NODE_ENV&&(t.displayName="LoadableContext")}(VE)),VE);const r=[],o=[];let i=!1;function l(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((e=>(n.loading=!1,n.loaded=e,e))).catch((e=>{throw n.loading=!1,n.error=e,e})),n}function s(e,a){let l=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},a),s=null;
|
|
971
|
+
/** @type LoadableSubscription */function c(){if(!s){
|
|
972
|
+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
973
|
+
const t=new E(e,l);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}
|
|
974
|
+
// Server only
|
|
975
|
+
// Client only
|
|
976
|
+
if("undefined"==typeof window&&r.push(c),!i&&"undefined"!=typeof window){
|
|
977
|
+
// require.resolveWeak check is needed for environments that don't have it available like Jest
|
|
978
|
+
const e=l.webpack&&"function"==typeof GE.resolveWeak?l.webpack():l.modules;e&&o.push((t=>{for(const n of e)if(t.includes(n))return c()}))}function u(e,r){!function(){c();const e=t.default.useContext(n.LoadableContext);e&&Array.isArray(l.modules)&&l.modules.forEach((t=>{e(t)}))}();const o=t.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return t.default.useImperativeHandle(r,(()=>({retry:s.retry})),[]),t.default.useMemo((()=>{return o.loading||o.error?t.default.createElement(l.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:s.retry}):o.loaded?t.default.createElement((n=o.loaded)&&n.default?n.default:n,e):null;var n}),[e,o])}return u.preload=()=>c(),u.displayName="LoadableComponent",t.default.forwardRef(u)}class E{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};const{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout((()=>{this._update({pastDelay:!0})}),t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout((()=>{this._update({timedOut:!0})}),t.timeout))),this._res.promise.then((()=>{this._update({}),this._clearTimeouts()})).catch((e=>{this._update({}),this._clearTimeouts()})),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach((e=>e()))}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return s(l,e)}function u(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then((()=>{if(e.length)return u(e,t)}))}c.preloadAll=()=>new Promise(((e,t)=>{u(r).then(e,t)})),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise((t=>{const n=()=>(i=!0,t());
|
|
979
|
+
// We always will resolve, errors should be handled within loading UIs.
|
|
980
|
+
u(o,e).then(n,n)}))),"undefined"!=typeof window&&(window.__NEXT_PRELOADREADY=c.preloadReady);const d=c}(jE)),jE}var KE=kE?WE:(kE=1,$E||($E=1,function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(n,{
|
|
981
|
+
/**
|
|
982
|
+
* This function lets you dynamically import a component.
|
|
983
|
+
* It uses [React.lazy()](https://react.dev/reference/react/lazy) with [Suspense](https://react.dev/reference/react/Suspense) under the hood.
|
|
984
|
+
*
|
|
985
|
+
* Read more: [Next.js Docs: `next/dynamic`](https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading#nextdynamic)
|
|
986
|
+
*/
|
|
987
|
+
default:function(){return s},noSSR:function(){return l}});const r=e,o=No()._(JE()),a="undefined"==typeof window;
|
|
988
|
+
// Normalize loader to return the module as form { default: Component } for `React.lazy`.
|
|
989
|
+
// Also for backward compatible since next/dynamic allows to resolve a component directly with loader
|
|
990
|
+
// Client component reference proxy need to be converted to a module.
|
|
991
|
+
function i(e){return{default:(null==e?void 0:e.default)||e}}function l(e,t){
|
|
992
|
+
// This check is necessary to prevent react-loadable from initializing on the server
|
|
993
|
+
if(
|
|
994
|
+
// Removing webpack and modules means react-loadable won't try preloading
|
|
995
|
+
delete t.webpack,delete t.modules,!a)return e(t);const n=t.loading;
|
|
996
|
+
// This will only be rendered on the server side
|
|
997
|
+
return()=>(0,r.jsx)(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function s(e,t){let n=o.default,a={
|
|
998
|
+
// A loading component is not required, so we default it
|
|
999
|
+
loading:e=>{let{error:t,isLoading:n,pastDelay:o}=e;if(!o)return null;if("production"!==process.env.NODE_ENV){if(n)return null;if(t)
|
|
1000
|
+
return(0,r.jsxs)("p",{children:[t.message,
|
|
1001
|
+
|
|
1002
|
+
(0,r.jsx)("br",{}),t.stack]})}return null}};
|
|
1003
|
+
// Support for direct import(), eg: dynamic(import('../hello-world'))
|
|
1004
|
+
// Note that this is only kept for the edge case where someone is passing in a promise as first argument
|
|
1005
|
+
// The react-loadable babel plugin will turn dynamic(import('../hello-world')) into dynamic(() => import('../hello-world'))
|
|
1006
|
+
// To make sure we don't execute the import without rendering first
|
|
1007
|
+
e instanceof Promise?a.loader=()=>e
|
|
1008
|
+
// Support for having import as a function, eg: dynamic(() => import('../hello-world'))
|
|
1009
|
+
:"function"==typeof e?a.loader=e:"object"==typeof e&&(a={...a,...e}),
|
|
1010
|
+
// Support for passing options, eg: dynamic(import('../hello-world'), {loading: () => <p>Loading something</p>})
|
|
1011
|
+
a={...a,...t};const s=a.loader;
|
|
1012
|
+
// support for disabling server side rendering, eg: dynamic(() => import('../hello-world'), {ssr: false}).
|
|
1013
|
+
// coming from build/babel/plugins/react-loadable-plugin.js
|
|
1014
|
+
return a.loadableGenerated&&(a={...a,...a.loadableGenerated},delete a.loadableGenerated),"boolean"!=typeof a.ssr||a.ssr?n({...a,loader:()=>null!=s?s().then(i):Promise.resolve(i((()=>null)))}):(delete a.webpack,delete a.modules,l(n,a))}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}(BE,BE.exports)),WE=BE.exports),XE=Qn(KE);const zE=({children:e})=>t(ua,{className:"in-flex-h-stack bg-in-primary-02 rounded-in-4 mx-2 gap-x-1 overflow-hidden px-1",color:"primary-05",variant:Jn.BODY_14_M,children:e}),qE=({value:e})=>{const[t,n]=e[0].split("~");return{startDate:t,endDate:n}},QE=({selectedValues:e,type:n})=>{const{startDate:r,endDate:o}=qE({value:e});return t(zE,{children:t("span",{className:"truncate",children:n===bE.DATE_SINGLE?r:`${r} ~ ${o}`})})},ZE=({selectedValues:e,optionKey:r})=>{const{selectOptions:o}=mE(),a=o.find((e=>e.key===r)),i=e.slice(0,2).map((e=>a.options.find((t=>t.value===e)).displayValue)),l=e.length,s=l>2;return n(zE,{children:[t("span",{className:"truncate",children:i.join("·")}),s&&n("span",{children:["+",l-2]})]})},ec=({label:e,optionKey:r,options:o,type:a})=>{const{selectValues:i}=mE(),{setFilterStep:l,setCurrentOptions:s}=_E(),E=i?.[r];return n("li",{className:"in-flex-h-stack in-tablet:px-3 in-tablet:h-[2rem] h-[2.75rem] items-center px-4",role:"button",onClick:()=>{l(DE.SELECT_OPTION),s({key:r,label:e,options:o,type:a})},children:[t(ua,{color:"black",className:"mr-auto shrink-0",variant:Jn.BODY_14_M,children:e}),E&&(a===bE.MULTI_SELECT?t(ZE,{selectedValues:E,optionKey:r}):t(QE,{selectedValues:E,type:a})),t(de,{iconKey:"caret-right",className:"text-in-gray-05 text-[1rem]"})]})},tc=()=>{const{selectOptions:e}=mE();return t("ul",{className:"in-flex-v-stack in-tablet:gap-y-1 in-tablet:px-5 gap-y-2 overflow-y-auto p-4",children:e.map((e=>C(ec,{...e,key:e.key,optionKey:e.key})))})},nc={SM:"sm",MD:"md"},rc={DEFAULT:"default",SELECTED:"selected",DISABLED:"disabled"},oc={[nc.SM]:"gap-x-[0.5rem]",[nc.MD]:"gap-x-[0.625rem]"},ac={[nc.SM]:"h-[1.25rem] w-[2.25rem] before:h-[1rem] before:w-[1rem]",[nc.MD]:"h-[1.5rem] w-[2.75rem] before:h-[1.25rem] before:w-[1.25rem]"},ic={[nc.SM]:"body-14-r",[nc.MD]:"body-18-r"},lc={[rc.DEFAULT]:{icon:"bg-in-gray-03 before:bg-in-white before:-translate-x-1/2",label:""},[rc.SELECTED]:{icon:"peer-checked:bg-in-primary-05 peer-checked:before:translate-x-1/2",label:""},[rc.DISABLED]:{icon:"peer-disabled:bg-in-gray-02 peer-disabled:before:bg-in-gray-01",label:"peer-disabled:text-in-gray-05"}},sc=({size:e})=>t("div",{className:k("rounded-in-full before:rounded-in-full relative flex items-center justify-center overflow-hidden p-[0.125rem] transition-[background-color] before:absolute before:transition-[translate]",ac[e],...Object.values(lc).map((({icon:e})=>e))),"aria-hidden":!0}),Ec=({label:e,labelId:n,size:r,color:o=Un.BLACK,className:a})=>t(ua,{color:o,className:k(a,"transition-[color]",...Object.values(lc).map((({label:e})=>e))),id:n,variant:ic[r],children:e}),cc=({size:e=nc.SM,checked:r,disabled:o=!1,label:a,labelColor:i=Un.BLACK,labelClassName:l,className:s,name:E,onChange:c})=>{const u=A(),d=`${u}-label`;return n("label",{className:k(s,"group cursor-pointer",a&&`flex items-center ${oc[e]}`,"has-[.toggle:disabled]:cursor-not-allowed"),htmlFor:u,children:[t("input",{"aria-labelledby":d,checked:r,className:"toggle peer hidden",disabled:o,id:u,type:"checkbox",onChange:c,name:E}),t(sc,{size:e}),a&&t(Ec,{label:a,labelId:d,size:e,color:i,className:l})]})};var uc=O((({label:e,optionKey:r,checked:o,handleChange:a})=>{const i={checked:o,name:r,onChange:({target:{name:e}})=>a({optionKey:e})};return n("li",{role:"option",className:"in-flex-h-stack in-tablet:px-0 justify-between px-2",onClick:e=>{e.target===e.currentTarget&&a({optionKey:r})},children:[t(ua,{as:"span",color:"black",variant:Jn.BODY_14_R,children:e}),t(cc,{className:"in-tablet:flex hidden",size:nc.SM,...i}),t(cc,{className:"in-tablet:hidden flex",size:nc.MD,...i})]})}));const dc=()=>{const{toggleOptions:e,onChange:n,toggleValues:r=[],selectValues:o={}}=mE(),a=({optionKey:e})=>{const t=r??[],a=t.includes(e)?t.filter((t=>t!==e)):[...t,e];n({toggleValues:a,selectValues:o})};return t("ul",{className:"in-flex-v-stack bg-in-gray-01 border-b-in-gray-02 in-tablet:gap-y-3 in-tablet:py-4 in-tablet:px-6 gap-y-[1.125rem] border-b px-5 py-[1.625rem]",children:e.map((({label:e,key:n})=>t(uc,{optionKey:n,label:e,checked:r?.includes(n)??!1,handleChange:a},n)))})},Oc=XE((()=>import("./FilterSelectOptionPanel-BL6Bkxl2.js")),{ssr:!1}),Rc=()=>{const{toggleOptions:e,selectOptions:r}=mE(),{filterStep:o}=_E(),a=e.length>0,i=r.length>0;return o===DE.IDLE?n(si,{direction:"column",className:"w-[22.5rem]",children:[a&&t(dc,{}),i&&t(tc,{})]}):o===DE.SELECT_OPTION?t(Oc,{}):null},pc=()=>{const{toggleValues:e=[],selectValues:r={}}=mE(),{ref:o,onToggle:a,disabled:i}=tE(),l=(e?.length??0)+(null!==r?Object.values(r).filter((e=>null!==e)).length:0),s=l>0;return t("div",{ref:o,role:"button",className:k("rounded-in-8 border-in-gray-02 flex h-8 w-full items-center justify-between gap-x-1 overflow-hidden border px-4 py-2",s&&"border-in-primary-05 text-in-primary-06 bg-white",i&&"bg-in-gray-02 border-in-gray-04 text-in-gray-04 cursor-not-allowed"),"aria-disabled":i,onClick:e=>{e.preventDefault(),a()},children:n(si,{gap:{row:"4"},align:{items:"center"},children:[t(de,{iconKey:"funnel-simple",className:k("text-in-gray-06 text-[1rem]",s&&"text-inherit"),weight:"regular","aria-hidden":!0}),t(ua,{variant:"body-14-m",color:s?void 0:"gray-07",children:"필터"}),s&&n("dl",{className:"bg-in-primary-02 rounded-in-full in-flex-v-stack-center h-[1.125rem] w-[1.125rem] text-center",children:[t("dt",{className:"sr-only",children:"선택된 필터 옵션 갯수"}),t("dd",{className:"text-in-body-12-b",children:l})]})]})})};function fc(e,t,{signal:n,edges:r}={}){let o,a=null;const i=null!=r&&r.includes("leading"),l=null==r||r.includes("trailing"),s=()=>{null!==a&&(e.apply(o,a),o=void 0,a=null)};let E=null;const c=()=>{null!=E&&clearTimeout(E),E=setTimeout((()=>{E=null,l&&s(),u()}),t)},u=()=>{null!==E&&(clearTimeout(E),E=null),o=void 0,a=null},d=function(...e){if(n?.aborted)return;o=this,a=e;const t=null==E;c(),i&&t&&s()};return d.schedule=c,d.cancel=u,d.flush=()=>{s()},n?.addEventListener("abort",u,{once:!0}),d}function Ac(){}function Sc(e){return Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)))}function Cc(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Mc="[object Arguments]",Tc="[object Object]";function Nc(e){if(!e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t))&&"[object Object]"===Object.prototype.toString.call(e)}function Ic(e,t,n,r,o,a,i){const l=i(e,t,n,r,o,a);if(void 0!==l)return l;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return e===t;case"number":return e===t||Object.is(e,t);case"object":return hc(e,t,a,i)}return hc(e,t,a,i)}function hc(e,t,n,r){if(Object.is(e,t))return!0;let o=Cc(e),a=Cc(t);if(o===Mc&&(o=Tc),a===Mc&&(a=Tc),o!==a)return!1;switch(o){case"[object String]":return e.toString()===t.toString();case"[object Number]":{const n=e.valueOf(),r=t.valueOf();return(i=n)===(l=r)||Number.isNaN(i)&&Number.isNaN(l)}case"[object Boolean]":case"[object Date]":case"[object Symbol]":return Object.is(e.valueOf(),t.valueOf());case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Function]":return e===t}var i,l;const s=(n=n??new Map).get(e),E=n.get(t);if(null!=s&&null!=E)return s===t;n.set(e,t),n.set(t,e);try{switch(o){case"[object Map]":if(e.size!==t.size)return!1;for(const[o,a]of e.entries())if(!t.has(o)||!Ic(a,t.get(o),o,e,t,n,r))return!1;return!0;case"[object Set]":{if(e.size!==t.size)return!1;const o=Array.from(e.values()),a=Array.from(t.values());for(let i=0;i<o.length;i++){const l=o[i],s=a.findIndex((o=>Ic(l,o,void 0,e,t,n,r)));if(-1===s)return!1;a.splice(s,1)}return!0}case"[object Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":case"[object BigUint64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object BigInt64Array]":case"[object Float32Array]":case"[object Float64Array]":if("undefined"!=typeof Buffer&&Buffer.isBuffer(e)!==Buffer.isBuffer(t))return!1;if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!Ic(e[o],t[o],o,e,t,n,r))return!1;return!0;case"[object ArrayBuffer]":return e.byteLength===t.byteLength&&hc(new Uint8Array(e),new Uint8Array(t),n,r);case"[object DataView]":return e.byteLength===t.byteLength&&e.byteOffset===t.byteOffset&&hc(new Uint8Array(e),new Uint8Array(t),n,r);case"[object Error]":return e.name===t.name&&e.message===t.message;case Tc:{if(!(hc(e.constructor,t.constructor,n,r)||Nc(e)&&Nc(t)))return!1;const o=[...Object.keys(e),...Sc(e)],a=[...Object.keys(t),...Sc(t)];if(o.length!==a.length)return!1;for(let a=0;a<o.length;a++){const i=o[a],l=e[i];if(!Object.hasOwn(t,i))return!1;if(!Ic(l,t[i],i,e,t,n,r))return!1}return!0}default:return!1}}finally{n.delete(e),n.delete(t)}}function mc(e,t){return function(e,t,n){return Ic(e,t,void 0,void 0,void 0,void 0,n)}(e,t,Ac)}const bc=({value:e,label:t})=>`${e}-${t}`,Dc=i(void 0),gc=({selectListResultId:e,selectedListResultId:n,children:r,value:o,onChange:a,options:i})=>{const[l,s]=c([]),[E,u]=c(null),d=({key:e,isSelected:t})=>s((n=>n.map((n=>n.key===e?{...n,isSelected:t}:n)))),O=R(fc((({value:e})=>{u(e)}),300),[]),p=R((()=>{s((()=>{const e=o.map((({value:e})=>e));return i.map((t=>({...t,key:bc({value:t.value,label:t.label}),isSelected:e.includes(t.value)})))}))}),[o,i]),f={onRemove:({key:e})=>d({key:e,isSelected:!1}),onSelect:({key:e})=>d({key:e,isSelected:!0}),onAllSelect:e=>{const{checked:t}=e.target;s((e=>e.map((e=>({...e,isSelected:t})))))},value:o,internalOptions:l,selectListResultId:e,selectedListResultId:n,onChange:()=>{a(l.filter((e=>e.isSelected)).map((({value:e,label:t})=>({value:e,label:t}))))},onRemoveTriggerValueClick:({key:e})=>{a(l.filter((t=>t.key!==e&&t.isSelected)).map((({value:e,label:t})=>({value:e,label:t}))))},onSearch:O,currentSearchValue:E,setMultiSelectInternalOptions:p,setCurrentSearchValue:u};return t(Dc.Provider,{value:f,children:r})},yc=()=>{const e=l(Dc);if(!e)throw new Error("useMultiSelectBaseContext must be used within a MultiSelectBaseContext");return e},_c=({close:e})=>{const{onChange:n,onSearch:r}=yc();return t("div",{className:"border-t-in-gray-02 border-t p-4",children:t(fe,{label:"선택 완료",theme:Z.PRIMARY,size:ee.SM,onClick:()=>{r({value:null}),n(),e()},className:"w-full"})})},Lc=({isSelected:e})=>t(de,{iconKey:"check",className:k("text-in-gray-03 text-[1rem]",e&&"text-in-primary-06"),"aria-hidden":!0}),vc=()=>{const e=A(),r=`${e}-label`,{internalOptions:o,onAllSelect:a}=yc(),i=o.every((({isSelected:e})=>e));return n("label",{htmlFor:e,className:"group flex gap-x-1 hover:cursor-pointer",children:[t("input",{id:e,className:"peer hidden","aria-labelledby":r,type:"checkbox",onChange:a,checked:i}),t("span",{id:r,className:"peer-checked:text-in-primary-06 group-hover:text-in-primary-06",children:"전체"}),t(Lc,{isSelected:i})]})},Pc=({label:e,count:r,className:o})=>n("dl",{className:k(o,"text-in-gray-05 flex items-center"),children:[t("dt",{children:e}),n("dd",{children:["(",r,")"]})]}),Fc=({count:e})=>{const{selectListResultId:r}=yc();return n("div",{className:"text-in-body-14-r text-in-gray-05 mb-2 flex items-center justify-between px-3",children:[t("strong",{id:r,className:"sr-only",children:`${e}개 항목 검색됨`}),t(Pc,{label:"검색결과",count:e}),t(vc,{})]})},xc=({children:e,optionKey:r,label:o,className:a,isSelected:i})=>{const{onSelect:l,onRemove:s}=yc();return n(cE,{isSelected:i,className:k(a,"hover:bg-in-primary-02 flex items-center justify-between",i&&"bg-in-primary-02"),onClick:()=>i?s({key:r}):l({key:r}),label:o,children:[e,t(Lc,{isSelected:i})]})},Yc=({optionKey:e,label:n,isSelected:r})=>{const{currentSearchValue:o}=yc();return t(xc,{optionKey:e,className:k("text-in-black hover:text-in-primary-06 h-[2rem] gap-x-2 px-3",r&&"text-in-primary-06"),label:n,isSelected:r,children:t("span",{className:"text-in-body-14-r truncate",children:H({text:n,targetText:o??""})})})},wc=({children:e})=>{const{selectListResultId:n}=yc();return t("ul",{className:"in-flex-v-stack h-full gap-y-1 overflow-y-auto",role:"listbox","aria-label":"선택 가능한 목록","aria-labelledby":n,"aria-multiselectable":!0,children:e})},Bc=()=>{const{internalOptions:e,currentSearchValue:o}=yc(),a=o?e.filter((({label:e})=>e.includes(o))):e,i=!!o&&0===a.length;return n(r,{children:[t(Fc,{count:a.length}),t(wc,{children:i?t(OE,{}):a.map((({label:e,isSelected:n,key:r})=>t(Yc,{optionKey:r,label:e,isSelected:n},r)))})]})},Gc=({optionKey:e,label:n})=>{const{onRemove:r}=yc();return t("li",{role:"option",className:"flex items-stretch",title:n,children:t(Vs,{label:n,onClick:()=>r({key:e})})})},Uc=({className:e,children:n})=>{const{selectedListResultId:r}=yc();return t("ul",{"aria-label":"선택된 목록",className:k(e,"in-flex-h-stack in-tablet:h-full in-tablet:in-flex-v-stack in-tablet:overflow-y-auto in-tablet:overflow-x-hidden gap-2 overflow-x-auto overflow-y-hidden"),"aria-describedby":r,children:n})},Hc=()=>{const{internalOptions:e}=yc(),n=e.filter((({isSelected:e})=>e));return t(Uc,{className:"in-tablet:h-auto h-[1.5rem]",children:n.map((({label:e,key:n})=>t(Gc,{optionKey:n,label:e},n)))})},$c=({count:e,disabled:t})=>n(ua,{color:t?"gray-05":"black",variant:"body-14-r",className:"w-[2.375rem] shrink-0",children:["+",e]}),Wc=200,kc=5e3,jc=6,Vc={INPUT:"input",TEXTAREA:"textarea"},Jc=i(void 0),Kc=({feedbackId:e,isError:n=!1,children:r})=>t(Jc.Provider,{value:{feedbackId:e,isError:n},children:r}),Xc=({type:e="button",iconKey:n,weight:r="fill",disabled:o=!1,ariaLabel:a,className:i,onClick:l})=>t("button",{type:e,"aria-label":a,className:k(i,"shrink-0"),onClick:e=>{o||l?.(e)},disabled:o,children:t(de,{iconKey:n,weight:r,className:"text-in-gray-05 text-[1.125rem]"})}),zc=XE((()=>Promise.resolve().then((function(){return EE}))),{ssr:!1}),qc=({as:e=Vc.INPUT,value:r,variant:o,addonEnd:a,popover:i,isFocused:s,setIsFocused:E,onReset:c,ref:u,className:d,required:O=!1,disabled:R=!1,readOnly:p=!1,inputClassName:f,placeholder:A="입력해주세요",...S})=>{const{feedbackId:C,isError:M}=(()=>{const e=l(Jc);if(!e)throw new Error("useInputContext must be used within a InputContext");return e})(),T=R||p,N=e===Vc.INPUT,I=!!c&&r&&!T,h={readOnly:p,required:O,value:r??"",disabled:T,placeholder:A,onFocus:i?()=>E(!0):void 0,onBlur:i?()=>E(!1):void 0,"aria-invalid":M,"aria-errormessage":C,className:k(f,"input placeholder-in-gray-04 disabled:placeholder-in-gray-05 w-full text-inherit focus:outline-none disabled:cursor-not-allowed"),...S},m=()=>{const e=N?t("input",{ref:u,type:S.type??"text",...h}):t("textarea",{ref:u,...h});return n(Kl,{variant:o,isError:M,disabled:T,className:k(d,!M&&"focus-within:border-in-primary-05 focus-within:outline-in-gray-02 focus-within:outline-2"),children:[e,t(Xc,{ariaLabel:"초기화",disabled:T,iconKey:"x-circle",onClick:c,className:k(I?"visible":"invisible")}),a&&a]})};return i?t(zc,{trigger:m(),isOpen:s,offset:6,onPopoverClose:()=>E(!1),useAutoFocus:!1,applyMaxWidth:!0,children:t("div",{children:i})}):m()},Qc=({id:e,value:r,label:o,hiddenLabel:a,feedback:i,isError:l=!1,required:s=!1,badge:E,children:c,className:u,onSubmit:d})=>{const O=A(),R=!(!r||r.replaceAll(" ","").length<=0)&&!l;return n(uE,{className:k(u,"group"),onSubmit:d&&(e=>{d&&(e.preventDefault(),e.currentTarget.reset(),d(e))}),children:[t(Gl,{htmlFor:e,badge:E,required:s,hidden:a,children:o}),t(Kc,{feedbackId:i?O:void 0,isError:l,children:c}),i&&t(wl,{id:O,feedback:i,theme:l?"error":"info",className:k(R?"hidden group-has-[.input:focus]:flex":"flex")})]})},Zc=({value:e,name:t,onChange:n,regCallback:r,maxLength:o})=>{const[a,i]=c(null);return s((()=>{i(e)}),[e]),{inputValue:a,handleChange:e=>{let t=e.target.value;t.length>o&&(t=t.slice(0,o)),r&&(t=r(t)),e.target.value=t,i(t),n?.(e)},handleReset:()=>{const e={target:{value:"",name:t},currentTarget:{value:"",name:t}};i(""),n?.(e)}}},eu=({label:e,hiddenLabel:n,feedback:r,badge:o,isError:a,required:i,value:l,name:s,maxLength:E=200,onChange:u,regCallback:d,className:O,...R})=>{const p=A(),[f,S]=c(!1),{inputValue:C,handleChange:M,handleReset:T}=Zc({value:l,name:s,onChange:u,regCallback:d,maxLength:E});return t(Qc,{id:p,value:C,label:e,hiddenLabel:n,feedback:r,isError:a,badge:o,required:i,className:O,children:t(qc,{id:p,value:C,name:s,isFocused:f,setIsFocused:S,onChange:M,onReset:T,required:i,...R})})},tu=({rules:e,value:r})=>t("ul",{className:"shadow-in-4 rounded-in-8 bg-in-white flex flex-col gap-y-0.5 px-2.5 py-2",children:Object.entries(e).map((([e,{message:o,regex:a}])=>n("li",{className:k("text-in-body-12-m flex gap-x-0.5",r&&a.test(r)?"text-in-green-05":"text-in-gray-05"),children:[t(de,{iconKey:"check"}),o]},e)))}),nu=({label:e,hiddenLabel:n,feedback:r,badge:o,isError:a=!1,required:i=!1,className:l,value:s,name:E,rules:u,autoComplete:d="off",disabled:O=!1,readOnly:R=!1,maxLength:p=200,onChange:f,regCallback:S,...C})=>{const M=A(),T=O||R,[N,I]=c(!1),[h,m]=c(!1),{inputValue:b,handleChange:D}=Zc({value:s,name:E,onChange:f,regCallback:S,maxLength:p}),g=!!u&&Object.entries(u).some((([e,{regex:t}])=>!!b&&!t.test(b)));return t(Qc,{id:M,value:b,label:e,hiddenLabel:n,feedback:r,isError:a,badge:o,required:i,className:l,children:t(qc,{id:M,type:h?"text":"password",value:b,name:E,onChange:D,autoComplete:d,required:i,readOnly:R,disabled:O,isFocused:N&&!a&&g,setIsFocused:I,popover:u&&t(tu,{rules:u,value:b}),addonEnd:t(Xc,{onClick:()=>m((e=>!e)),ariaLabel:h?"비밀번호 숨기기":"비밀번호 보기",disabled:T,iconKey:h?"eye":"eye-slash"}),...C})})},ru=({label:e,hiddenLabel:n,feedback:r,badge:o,isError:a=!1,required:i=!1,className:l,value:s,name:E,autoComplete:u="off",disabled:d=!1,readOnly:O=!1,maxLength:R=200,onChange:p,regCallback:f,onSubmit:S,...C})=>{const M=A(),T=d||O,[N,I]=c(!1),{inputValue:h,handleChange:m,handleReset:b}=Zc({value:s,name:E,onChange:p,regCallback:f,maxLength:R});return t(Qc,{id:M,value:h,label:e,hiddenLabel:n,feedback:r,isError:a,badge:o,required:i,className:l,onSubmit:S?e=>{T||(b(),S(e))}:void 0,children:t(qc,{id:M,variant:$l,value:h,name:E,onChange:m,autoComplete:u,required:i,readOnly:O,disabled:d,onReset:b,isFocused:N,setIsFocused:I,addonEnd:t(Xc,{type:"submit",ariaLabel:"검색",iconKey:"magnifying-glass",weight:"bold",disabled:T}),...C})})},ou=({label:e,feedback:r,badge:o,isError:a=!1,required:i=!1,value:l,name:s,onChange:E,regCallback:u,className:d,disabled:O=!1,readOnly:R=!1,maxLength:p=5e3,hiddenLabel:f,...S})=>{const C=A(),[M,T]=c(!1),{inputValue:N,handleChange:I}=Zc({value:l,name:s,onChange:E,regCallback:u,maxLength:p});return t(Qc,{id:C,label:e,feedback:r,isError:a,badge:o,required:i,className:d,value:N,hiddenLabel:f,children:t(qc,{id:C,as:Vc.TEXTAREA,variant:Hl,value:N,name:s,onChange:I,required:i,readOnly:R,disabled:O,isFocused:M,setIsFocused:T,className:"flex-col",inputClassName:"resize-none h-full",addonEnd:n(ua,{variant:"body-12-m",color:"gray-03",className:"absolute bottom-[0.312rem] right-[0.687rem]",children:[t(ua,{variant:"body-12-m",as:"strong",color:"gray-07",children:String(N).length}),`/${p}`]}),...S})})},au=()=>{const{selectedListResultId:e,internalOptions:o}=yc(),a=o.filter((({isSelected:e})=>e)).length,i=o.map((e=>e.value)).join(", ");return n(r,{children:[t("strong",{id:e,className:"sr-only",children:`${a}개 항목 선택됨: ${i}`}),t(Pc,{className:"text-in-body-12-m in-tablet:text-in-body-14-r in-tablet:py-2.5",label:"선택",count:a})]})},iu=({className:e,labelId:r,searchPanel:o,selectedPanel:a,inputOption:i})=>{const{currentSearchValue:l,onSearch:E}=yc(),{placeholder:c="검색어를 입력해주세요",...u}=i??{};return(()=>{const{setMultiSelectInternalOptions:e}=yc();s((()=>{e()}),[])})(),n("div",{"aria-describedby":r,className:k(e,"in-tablet:in-flex-h-stack in-flex-v-stack flex-col-reverse overflow-auto"),children:[n("div",{className:"in-flex-v-stack bg-in-white in-tablet:min-w-[21.875rem] in-tablet:p-4 overflow-hidden p-[1.25rem]",children:[t(ru,{...u,label:"검색",hiddenLabel:!0,className:"in-tablet:mb-[0.875rem] mb-[1.125rem]",placeholder:c,value:l??"",onChange:e=>E({value:e.target.value})}),o]}),n("div",{className:"bg-in-gray-01 in-flex-v-stack in-tablet:shrink-0 in-tablet:w-[14.375rem] in-tablet:gap-y-[0.625rem] in-tablet:p-4 gap-y-[0.75rem] p-[1.25rem]",children:[t(au,{}),a]})]})},lu=()=>{const{placeholder:e,disabled:r}=tE(),{value:o,onRemove:a,onRemoveTriggerValueClick:i}=yc(),l=o.length>0,s=l&&o.length>2;return t(RE,{children:(()=>{if(!l)return t(ua,{variant:"body-16-r",color:"gray-04",children:e});const E=o.slice(0,2);return n("div",{className:"flex w-full gap-x-1 overflow-hidden",children:[t("div",{className:k("flex gap-x-1",s?"w-[calc(100%-2.625rem)]":"w-full"),children:E.map((({label:e,value:n})=>{const o=bc({value:n,label:e}),l=E.length>=2;return t(Vs,{className:k(l?"max-w-1/2":"max-w-full"),label:e,disabled:r,onClick:()=>{r||(i({key:o}),a({key:o}))}},n)}))}),s&&t($c,{disabled:r,count:o.length-2})]})})()})},su=({children:e,className:n,label:r,disabled:o,feedback:a,required:i,isError:l,placeholder:s,controls:E,labelId:c,popoverOption:u})=>{const{setMultiSelectInternalOptions:d,setCurrentSearchValue:O}=yc(),R={...u??{},onPopoverClose:()=>{u?.onPopoverClose?.(),d(),O(null)}};return t(dE,{className:n,type:zs.MULTI_SEARCH_SELECT,label:r,trigger:t(lu,{}),disabled:o,feedback:a,required:i,isError:l,placeholder:s,controls:E,labelId:c,popoverOption:R,children:e})},Eu=({inputOption:e,popoverOption:r,value:o,label:a,badge:i,disabled:l,feedback:s,required:E,isError:c,placeholder:u,className:d,options:O,hiddenLabel:R,onChange:p})=>{const f=A(),S=A(),C=A(),M=`${f} ${S}`;return t(gc,{onChange:p,value:o,options:O,selectListResultId:f,selectedListResultId:S,children:t(su,{className:d,label:t(dE.Label,{label:a,badge:i,hidden:R}),disabled:l,feedback:s,required:E,isError:c,placeholder:u,controls:M,labelId:C,popoverOption:r,children:({close:r})=>t(dE.PopoverWrapper,{useMobile:!0,children:n(si,{direction:"column",className:"in-tablet:min-w-[36.25rem] in-tablet:max-w-auto in-tablet:min-h-[34svh] in-tablet:max-h-[46svh] in-tablet:w-auto mx-auto h-full w-full min-w-[22.5rem] max-w-[26.875rem] justify-between",children:[t(iu,{className:"in-tablet:min-h-[calc(34svh-4.125rem)] in-tablet:max-h-[calc(44svh-4.125rem)]",labelId:C,inputOption:e,searchPanel:t(Bc,{}),selectedPanel:t(Hc,{})}),t(_c,{close:r})]})})})})};const cu=i(void 0),uu=({id:e,labelId:n,close:r,value:o,onSelect:a,children:i})=>{const l={id:e,labelId:n,close:r,value:o,onSelect:a};return t(cu.Provider,{value:l,children:i})},du=()=>{const e=l(cu);if(!e)throw new Error("useSingleSelectListContext must be used within a SingleSelectListContext");return e},Ou=({displayValue:e,disabled:r=!1,onSelect:o,useReset:a=!0})=>{const i=a&&!!e&&!r;return n(RE,{children:[t(pE,{displayValue:e,hasValue:!!e}),i&&t(fE,{onClick:()=>{o({value:null})}})]})},Ru=({className:e,label:n,popoverOption:r,disabled:o,badge:a,feedback:i,required:l,isError:s,onSelect:E,value:c,displayValue:u,placeholder:d,type:O,children:R,popoverWrapperClassName:p,hiddenLabel:f,useReset:S})=>{const C=A(),M=A();return t(dE,{type:O,className:e,label:t(dE.Label,{label:n,badge:a,hidden:f}),popoverOption:r,trigger:t(Ou,{displayValue:u,disabled:o,onSelect:E,useReset:S}),disabled:o,feedback:i,required:l,isError:s,placeholder:d,controls:C,labelId:M,children:({close:e})=>t(uu,{id:C,labelId:M,value:c,onSelect:E,close:e,children:t(dE.PopoverWrapper,{className:k("in-flex-v-stack",p),children:R})})})},pu=({label:e,value:n,children:r})=>{const{value:o,onSelect:a,close:i}=du(),l=n===o;return t(cE,{className:k("text-in-body-16-r text-in-black hover:bg-in-primary-01 h-[2.5rem] truncate px-4 py-2",l&&"bg-in-primary-01"),onClick:()=>{a({value:n}),i()},isSelected:l,label:e,children:r})},fu=({children:e})=>{const{id:n,labelId:r}=du();return t("ul",{id:n,role:"listbox",className:"in-flex-v-stack flex-1 gap-y-0.5 overflow-y-auto","aria-labelledby":r,children:e})},Au=({label:e,hiddenLabel:r,badge:o,children:a,feedback:i,className:l,placeholder:s,isError:E=!1,disabled:c=!1,required:u=!1,popoverOption:d,inputOption:O,onSelect:R,displayValue:p,value:f,useReset:A})=>{const{placeholder:C="검색어를 입력해주세요",value:M=null,...T}=O??{},N=S.count(a)>0;return n(Ru,{type:zs.SEARCH_SELECT,className:l,label:e,hiddenLabel:r,popoverOption:d,disabled:c,feedback:i,required:u,isError:E,value:f,badge:o,onSelect:R,displayValue:p,placeholder:s,useReset:A,popoverWrapperClassName:"max-h-[19rem] gap-y-[0.875rem] p-[0.875rem]",children:[t(ru,{...T,label:"검색",value:M,placeholder:C,hiddenLabel:!0}),t(fu,{children:N?a:t(OE,{})})]})};Au.displayName="SearchSelect",Au.Item=({children:e,value:n,label:r})=>t(pu,{value:n,label:r,children:e});const Su=({label:e,value:n,badge:r,children:o,feedback:a,className:i,placeholder:l,isError:s=!1,disabled:E=!1,required:c=!1,popoverOption:u,hiddenLabel:d,useReset:O,onSelect:R,displayValue:p})=>t(Ru,{type:zs.SELECT,className:i,label:e,hiddenLabel:d,popoverOption:u,disabled:E,feedback:a,required:c,isError:s,value:n,badge:r,onSelect:R,displayValue:p,placeholder:l,popoverWrapperClassName:"max-h-[14.875rem] p-1",useReset:O,children:t(fu,{children:o})});Su.displayName="Select",Su.Item=({children:e,value:n,label:r})=>t(pu,{value:n,label:r,children:e});const Cu=({className:e,label:r,disabled:o,popoverOption:a,toggleValues:i,toggleOptions:l,selectValues:s,selectOptions:E,onChange:c})=>{const u=A(),d=A();return t(hE,{toggleValues:i,toggleOptions:l,selectValues:s,selectOptions:E,onChange:c,children:t(dE,{className:e,type:zs.MULTI_SEARCH_SELECT,label:t(dE.Label,{label:r,hidden:!0}),trigger:t(pc,{}),disabled:o,controls:d,labelId:u,popoverOption:{...a,useClickOutsideEvent:!1},children:({close:e})=>t(dE.PopoverWrapper,{useMobile:!0,children:t(yE,{children:n(si,{direction:"column",className:"in-tablet:min-h-[34svh] in-tablet:max-h-[46svh] in-tablet:w-auto mx-auto h-full w-[22.5rem]",children:[t(wE,{close:e}),t(Rc,{})]})})})})})},Mu=i(void 0),Tu=({listRef:e,columns:n,disabled:r,children:o})=>t(Mu.Provider,{value:{listRef:e,columns:n,disabled:r},children:o}),Nu=()=>{const e=l(Mu);if(!e)throw new Error("useFormRepeaterContext must be used within a FormRepeaterContext");return e},Iu=({onAllReset:e,changedRowsCount:r,disabled:o})=>n("footer",{className:"in-flex-h-stack items-center justify-end gap-x-1.5",children:[n(ua,{color:"primary-05",variant:"body-12-m",children:[r,"건 수정"]}),t(fe,{label:"전체 초기화",theme:"gray",variant:"outlined",size:"xs",onClick:e,disabled:o})]}),hu=({children:e})=>t("header",{className:"in-flex-h-stack gap-x-3 px-4",children:e}),mu="shrink-0",bu="h-[2.5rem] in-flex-h-stack items-center",Du=({label:e,required:n=!1,className:r})=>t("div",{className:k(r,mu),children:t(ua,{className:k(n&&'before:content-["*"]'),color:"gray-06",variant:"body-14-m",children:e})}),gu=i(void 0),yu=({itemsCount:e,children:n})=>t(gu.Provider,{value:{itemsCount:e},children:n}),_u=({className:e,children:n})=>{const{listRef:r}=Nu();return t("ul",{ref:r,className:k(e,"overflow-y-auto"),children:t(yu,{itemsCount:S.count(n),children:n})})},Lu=i(void 0),vu=({column:e,children:n})=>t(Lu.Provider,{value:{column:e},children:n}),Pu=()=>{const e=l(Lu);if(!e)throw new Error("useFormRepeaterListItemContentContext must be used within a FormRepeaterListItemContentContext");return e},Fu=({isChanged:e,onClick:n})=>{const{disabled:r}=Nu(),{itemsCount:o}=(()=>{const e=l(gu);if(!e)throw new Error("useFormRepeaterListContext must be used within a FormRepeaterListContext");return e})(),a=1===o||r;return t(qn,{arialLabel:"삭제",iconKey:"trash",theme:e&&!a?"hover-white":"hover-gray",onClick:n,disabled:a})},xu=({isChanged:e,isAdded:n,onClick:r})=>{const{disabled:o}=Nu();return t(qn,{arialLabel:"초기화",iconKey:"arrow-bend-up-left",theme:o?"hover-gray":"hover-white",className:k(e&&!n?"visible":"invisible"),onClick:r,disabled:o})},Yu=({isChanged:e,isAdded:o,onDelete:a,onReset:i})=>n(r,{children:[t("div",{className:"bg-in-gray-02 h-[2.5rem] w-px shrink-0"}),n("div",{className:k(mu,bu,"gap-x-1"),children:[a&&t(Fu,{isChanged:e,onClick:a}),i&&t(xu,{isChanged:e,isAdded:o,onClick:i})]})]}),wu=({children:e,onDelete:r,onReset:o,changedValue:a})=>{const{columns:i}=Nu(),{originalValue:l}=a??{},s=!!a,E=!l&&s,c=!!r||!!o;return n("li",{className:k("in-flex-h-stack gap-x-3 px-4 py-2.5",s&&"bg-in-primary-01"),children:[S.map(e,((e,n)=>{const r=i[n];return r&&d(e)?t(vu,{column:r,children:e}):null})),c&&t(Yu,{isAdded:E,isChanged:s,onDelete:r,onReset:o?()=>{l&&o({originalValue:l})}:void 0})]})},Bu=({className:e,children:n})=>{const{column:r}=Pu(),{className:o}=r.props;return t("div",{className:k(e,o,mu),children:n})},Gu=({className:e,children:n})=>t(Bu,{className:k(e,bu),children:n}),Uu=({className:e,disabled:n,...r})=>{const{disabled:o}=Nu(),{column:a}=Pu(),{label:i,required:l}=a.props;return t(Bu,{className:e,children:t(eu,{...r,label:i,required:l,disabled:n||o,hiddenLabel:!0})})},Hu={SM:"sm",MD:"md"},$u="default",Wu="selected",ku="disabled",ju={[Hu.SM]:"h-[1.125rem] before:h-[0.6875rem] before:w-[0.6875rem] w-[1.125rem]",[Hu.MD]:"h-6 before:h-[0.875rem] before:w-[0.875rem] w-6"},Vu={[Hu.SM]:"body-14-r",[Hu.MD]:"body-16-r"},Ju={[$u]:{icon:"before:bg-in-white border-in-gray-02 bg-in-white",label:"text-in-black"},[Wu]:{icon:"peer-checked:before:bg-in-primary-05 peer-checked:border-in-primary-05",label:"peer-checked:text-in-black"},[ku]:{icon:"peer-disabled:before:bg-in-gray-02 peer-disabled:border-in-gray-02",label:"peer-disabled:text-in-gray-05"}},Ku=({size:e})=>t("div",{className:k("rounded-in-full before:rounded-in-full relative flex items-center justify-center overflow-hidden border-[0.125rem]",ju[e],...Object.values(Ju).map((({icon:e})=>e))),"aria-hidden":!0}),Xu=({size:e,label:n,labelId:r})=>t(ua,{className:k(...Object.values(Ju).map((({label:e})=>e))),id:r,color:"black",variant:Vu[e],children:n}),zu=({size:e=Hu.SM,checked:r=!1,disabled:o=!1,label:a,className:i,onChange:l})=>{const s=A(),E=`${s}-label`;return n("label",{className:k(i,"cursor-pointer",a&&"flex items-center gap-x-2","has-[.radio:disabled]:cursor-not-allowed"),htmlFor:s,children:[t("input",{"aria-labelledby":E,checked:r,className:"radio peer hidden",disabled:o,id:s,type:"radio",onChange:l}),t(Ku,{size:e}),a&&t(Xu,{label:a,labelId:E,size:e})]})},qu=({className:e,children:n})=>{const{disabled:r}=Nu();return t(Gu,{className:k(e,"gap-x-2.5"),children:S.toArray(n).map((e=>d(e)?u(e,{size:Hu.SM,disabled:e.props.disabled||r}):null))})},Qu=({className:e,disabled:n,...r})=>{const{column:o}=Pu(),{disabled:a}=Nu(),{label:i,required:l}=o.props;return t(Bu,{className:e,children:t(Su,{...r,className:"w-full",label:i,required:l,disabled:n||a,hiddenLabel:!0})})},Zu=({className:e,disabled:n,...r})=>{const{disabled:o}=Nu();return t(Gu,{className:e,children:t(cc,{...r,size:nc.SM,disabled:n||o})})},ed=({onAdd:e,onAllReset:r,changedRowsCount:o=0,disabled:a=!1,className:i,children:l})=>{const s=f(null),E=o>0,[c]=S.toArray(l),u=S.toArray(c.props.children);return n(si,{direction:"column",gap:"8",className:i,children:[n("div",{className:"in-flex-v-stack border-in-gray-02 rounded-in-12 bg-in-white border p-2.5 pt-4",children:[t(Tu,{listRef:s,columns:u,disabled:a,children:l}),e&&t(fe,{size:"sm",theme:"primary",variant:"outlined",label:"추가",className:"mt-3",iconOption:{iconKey:"plus"},onClick:()=>{e(),setTimeout((()=>{s&&s.current&&s.current.scrollTo({top:s.current.scrollHeight,behavior:"smooth"})}),50)},disabled:a})]}),E&&r&&t(Iu,{onAllReset:r,changedRowsCount:o,disabled:a})]})};ed.displayName="FormRepeater",ed.Header=hu,ed.HeaderContent=Du,ed.List=_u,ed.Item=wu,ed.Input=Uu,ed.Select=Qu,ed.Toggle=Zu,ed.Radio=qu,ed.Badge=({variant:e=ol.OUTLINED,className:n,...r})=>t(Gu,{className:n,children:t(Rl,{variant:e,...r})}),ed.Text=({className:e,children:n})=>t(Gu,{className:e,children:t(ua,{color:"black",variant:"body-16-r",children:n})});const td=({key:e,values:t,originalValues:n,initialValue:r,setValues:o})=>{const a=o,i=!mc(t,n);return{models:{changedValues:i?t.reduce(((e,t)=>{const r=n.find((({id:e})=>e===t.id)),o=!r,a=!!r&&!mc(t,r);return(o||a)&&(e[t.id]={originalValue:r??null,value:t}),e}),{}):{}},status:{isChanged:i},operations:{onAdd:()=>{a((t=>({...t,[e]:[...t[e],{...r,id:$()}]})))},onAllReset:()=>{a((t=>({...t,[e]:n})))},onChange:({id:t,key:n,value:r})=>{a((o=>({...o,[e]:o[e].map((e=>e.id===t?{...e,[n]:r}:e))})))},onReset:({id:t,originalValue:n})=>{a((r=>({...r,[e]:r[e].map((e=>e.id===t?n:e))})))},onDelete:({id:t})=>{a((n=>({...n,[e]:n[e].filter((e=>e.id!==t))})))}}}},nd=({isOpen:e,ref:n,children:r,className:o})=>t(bl,{variant:Sl,isOpen:e,ref:n,dimmed:!0,children:t("div",{className:k(o,"in-flex-v-stack bg-in-white w-full overflow-hidden"),children:r})});nd.displayName="FullScreenDialog",nd.Header=({title:e,onClose:r,isPending:o})=>n(_l,{className:"in-flex-h-stack items-center px-5 py-3",children:[t(qn,{iconKey:"x",arialLabel:"닫기",onClick:r,theme:"hover-white",disabled:o}),t(Ll,{variant:"body-16-b",title:e})]}),nd.ContentWrapper=({as:e,isLoading:n,children:r,className:o})=>t(Dl,{as:e,isLoading:n,className:k(o,"flex-1 overflow-y-auto px-5 py-10"),children:r}),nd.Divider=pl;const rd=({children:e,isOpen:r,ref:o,title:a,className:i,confirmOption:l,cancelOption:s,possibleConfirm:E,isPending:c,isLoading:u})=>{const{onCancel:d}=s;return n(nd,{isOpen:r,ref:o,className:i,children:[t(nd.Header,{title:a,onClose:d,isPending:c}),t(nd.ContentWrapper,{as:Tl,isLoading:u,className:"gap-y-8",children:e}),t(yl,{confirmOption:l,cancelOption:s,possibleConfirm:E,isPending:c,isLoading:u,className:"border-t-in-gray-02 border-t px-5 py-3",isFull:!0})]})},od=({children:e,isOpen:r,ref:o,title:a,className:i,isLoading:l,onClose:s})=>n(nd,{isOpen:r,ref:o,className:i,children:[t(nd.Header,{onClose:s,title:a}),t(nd.ContentWrapper,{isLoading:l,children:e})]}),ad=({description:e,className:n})=>t(ua,{as:"p",variant:"body-12-m",color:"black",className:n,children:e}),id=({title:e,children:r,className:o,innerClassName:a,...i})=>t(sE,{...i,children:n("div",{className:k(o,"shadow-in-4 rounded-in-8 bg-in-white"),children:[t("header",{className:"border-in-gray-01 border-b py-2.5 pl-4 pr-5",children:t(ua,{as:"strong",variant:"body-14-b",color:"black",children:e})}),t("div",{className:k("p-4",a),children:r})]})});id.displayName="InfoPopover",id.Description=ad;const ld=({isOpen:e,ref:n,children:r,className:o})=>t(bl,{ref:n,variant:fl,isOpen:e,dimmed:!0,children:t("div",{className:k(o,"rounded-in-16 shadow-in-24 animate-in-popup bg-in-white px-[1.875rem] pb-6"),children:r})});ld.displayName="Modal",ld.ContentWrapper=({children:e,isLoading:n})=>t(Dl,{isLoading:n,className:"mb-6",children:e}),ld.Footer=({confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a})=>t(yl,{confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a,isFull:!0});const sd=({ref:e,isOpen:r,title:o,children:a,iconOptions:i,useIcon:l=!1,confirmOption:s,cancelOption:E,possibleConfirm:c,isPending:u,isLoading:d,className:O})=>n(ld,{isOpen:r,ref:e,className:k(O,"pt-10"),children:[n(ld.ContentWrapper,{isLoading:d,children:[t(vl,{title:o,iconOptions:i,useIcon:l}),a]}),t(ld.Footer,{confirmOption:s,cancelOption:E,possibleConfirm:c,isPending:u,isLoading:d})]});sd.displayName="ConfirmModal",sd.Description=Pl;const Ed=({ref:e,isOpen:r,title:o,children:a,confirmOption:i,cancelOption:l={label:"닫기"},isLoading:s,className:E})=>n(ld,{isOpen:r,ref:e,className:k(E,"pt-5"),children:[n(ld.ContentWrapper,{isLoading:s,children:[t("header",{className:"mb-5",children:t(Ll,{title:o})}),a]}),t(ld.Footer,{confirmOption:i,cancelOption:l,possibleConfirm:!0})]});Ed.displayName="InfoModal",Ed.Description=gl;const cd={DARK:"dark",LIGHT:"light"},ud={[Ca.SM]:{root:{className:"gap-x-1.5"},profile:{align:{items:"center"},gap:{row:"4"}}},[Ca.MD]:{root:{className:"gap-x-2.5"},profile:{direction:"column",className:"-space-y-0.5"}}},dd={[cd.DARK]:{name:{color:"white"},description:{color:"gray-05"}},[cd.LIGHT]:{name:{color:"black"},description:{color:"gray-05"}}},Od=({name:e,description:r,size:o,profileTheme:a=cd.LIGHT})=>{const i=dd[a];return n(si,{...ud[o].profile,children:[t(ua,{...i.name,as:"strong",variant:"body-14-m",children:e}),r&&t(ua,{...i.description,variant:"body-12-m",children:r})]})},Rd=({size:e=Ca.SM,type:r,name:o,description:a,src:i,profileTheme:l})=>n(si,{...ud[e].root,align:{items:"center"},children:[t(tl,{src:i,alt:o,type:r,size:e}),t(Od,{name:o,description:a,size:e,profileTheme:l})]}),pd=a.createContext({}),fd=!0;
|
|
1015
|
+
// For performance & cleanliness, don't add any inline styles unless we have to
|
|
1016
|
+
function Ad({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:o,circle:a,direction:i,duration:l,enableAnimation:s=true,customHighlightBackground:E}){const c={};return"rtl"===i&&(c["--animation-direction"]="reverse"),"number"==typeof l&&(c["--animation-duration"]=`${l}s`),s||(c["--pseudo-element-display"]="none"),"string"!=typeof n&&"number"!=typeof n||(c.width=n),"string"!=typeof r&&"number"!=typeof r||(c.height=r),"string"!=typeof o&&"number"!=typeof o||(c.borderRadius=o),a&&(c.borderRadius="50%"),void 0!==e&&(c["--base-color"]=e),void 0!==t&&(c["--highlight-color"]=t),"string"==typeof E&&(c["--custom-highlight-background"]=E),c}function Sd({count:e=1,wrapper:t,className:n,containerClassName:r,containerTestId:o,circle:i=!1,style:l,...s}){var E,c,u;const d=a.useContext(pd),O={...s};
|
|
1017
|
+
// DO NOT overwrite style options from the context if `propsStyleOptions`
|
|
1018
|
+
// has properties explicity set to undefined
|
|
1019
|
+
for(const[e,t]of Object.entries(s))void 0===t&&delete O[e];
|
|
1020
|
+
// Props take priority over context
|
|
1021
|
+
const R={...d,...O,circle:i},p={...l,...Ad(R)};
|
|
1022
|
+
// `styleProp` has the least priority out of everything
|
|
1023
|
+
let f="react-loading-skeleton";n&&(f+=` ${n}`);const A=null!==(E=R.inline)&&void 0!==E&&E,S=[],C=Math.ceil(e);for(let t=0;t<C;t++){let n=p;if(C>e&&t===C-1){
|
|
1024
|
+
// count is not an integer and we've reached the last iteration of
|
|
1025
|
+
// the loop, so add a "fractional" skeleton.
|
|
1026
|
+
// For example, if count is 3.5, we've already added 3 full
|
|
1027
|
+
// skeletons, so now we add one more skeleton that is 0.5 times the
|
|
1028
|
+
// original width.
|
|
1029
|
+
const t=null!==(c=n.width)&&void 0!==c?c:"100%",r=e%1,o="number"==typeof t?t*r:`calc(${t} * ${r})`;// 100% is the default since that's what's in the CSS
|
|
1030
|
+
n={...n,width:o}}const r=a.createElement("span",{className:f,style:n,key:t},"");A?S.push(r):
|
|
1031
|
+
// Without the <br />, the skeleton lines will all run together if
|
|
1032
|
+
// `width` is specified
|
|
1033
|
+
S.push(a.createElement(a.Fragment,{key:t},r,a.createElement("br",null)))}return a.createElement("span",{className:r,"data-testid":o,"aria-live":"polite","aria-busy":null!==(u=R.enableAnimation)&&void 0!==u?u:fd},t?S.map(((e,n)=>a.createElement(t,{key:n},e))):S)}function Cd({children:e,...t}){return a.createElement(pd.Provider,{value:t},e)}const Md="var(--color-in-gray-02)",Td="var(--color-in-gray-01)",Nd=({containerClassName:e,borderRadius:n=4,...r})=>t(Sd,{...r,baseColor:Md,highlightColor:Td,borderRadius:n,containerClassName:k("flex w-full items-center",e)}),Id=({children:e,borderRadius:n=4,...r})=>t(Cd,{...r,baseColor:Md,highlightColor:Td,borderRadius:n,children:e}),hd=({displayValue:e,className:r})=>{const{ref:o,isOpen:a,onToggle:i,disabled:l}=tE();return n("div",{ref:o,role:"button",className:k(r,"rounded-in-8 flex h-8 w-full items-center justify-between gap-x-1 overflow-hidden border px-4 py-2",!l&&"border-in-primary-05 bg-white",l&&"bg-in-gray-02 border-in-gray-04 text-in-gray-04 cursor-not-allowed"),"aria-disabled":l,onClick:e=>{e.preventDefault(),i()},children:[n("div",{className:k("in-flex-h-stack-center gap-x-1 overflow-hidden",!l&&"text-in-primary-06"),children:[t(de,{iconKey:"sort-ascending",className:"text-[1rem]",weight:"regular","aria-hidden":!0}),t(ua,{variant:"body-14-m",className:"truncate",children:e})]}),t(de,{iconKey:a?"caret-up":"caret-down",className:k("shrink-0 text-[0.562rem]",!l&&"text-in-primary-05"),weight:"fill","aria-hidden":!0})]})},md=({value:e,displayValue:n,label:r,children:o,disabled:a=!1,popoverOption:i,onSelect:l,className:s})=>{const E=A(),c=A();return t(dE,{type:zs.SELECT,className:s,label:t(dE.Label,{label:r,hidden:!0}),popoverOption:i,trigger:t(hd,{displayValue:n}),disabled:a,controls:E,labelId:c,children:({close:n})=>t(uu,{id:E,labelId:c,value:e,onSelect:l,close:n,children:t(dE.PopoverWrapper,{className:"p-1",children:t(fu,{children:o})})})})};md.displayName="Sort",md.Item=({value:e,label:n,children:r})=>t(pu,{value:e,label:n,children:r});const bd="-panel",Dd={FILLED:"filled",LINE:"line"},gd={PRIMARY:"primary",GRAY:"gray"},yd={SM:"sm",MD:"md"},_d={[Dd.LINE]:{[yd.MD]:"h-11 px-4 text-in-body-16-r gap-x-[0.187rem]",[yd.SM]:"h-9 px-3 text-in-body-14-r gap-x-[0.187rem]"},[Dd.FILLED]:{[yd.MD]:"h-8 px-4 text-in-body-14-b gap-x-1",[yd.SM]:"h-[1.625rem] px-3 text-in-body-12-b gap-x-1"}},Ld={[gd.GRAY]:{[Dd.LINE]:{list:"border-b border-b-in-gray-02",label:"not-disabled:aria-selected:text-in-black",number:"not-group-disabled:group-aria-selected:text-in-gray-06",indicator:"border-b-in-black"},[Dd.FILLED]:{list:"bg-in-gray-02 rounded-in-8",label:"not-disabled:aria-selected:text-in-black",number:"not-group-disabled:group-aria-selected:text-in-gray-05",indicator:"border-in-gray-05"}},[gd.PRIMARY]:{[Dd.LINE]:{list:"border-b border-b-in-gray-02",label:"not-disabled:aria-selected:text-in-primary-06",number:"not-group-disabled:group-aria-selected:text-in-primary-05",indicator:"border-b-in-primary-06"},[Dd.FILLED]:{list:"bg-in-primary-02 rounded-in-8",label:"not-disabled:aria-selected:text-in-primary-05",number:"not-group-disabled:group-aria-selected:text-in-primary-05",indicator:"border-in-primary-05"}}},vd={[Dd.LINE]:"body-14-r",[Dd.FILLED]:"body-14-m"},Pd={[Dd.LINE]:'border-b-2 bottom-0 group-has-[button:disabled[aria-selected="true"]]/tablist:border-b-in-gray-04',[Dd.FILLED]:'bg-in-white h-full border rounded-in-8 group-has-[button:disabled[aria-selected="true"]]/tablist:border-in-gray-03'},Fd=i(void 0),xd=({currentValue:e,tabRefs:n,variant:r=Dd.LINE,theme:o=gd.GRAY,size:a=yd.MD,full:i=!1,disabled:l=!1,usePanel:s=!1,children:E})=>t(Fd.Provider,{value:{currentValue:e,tabRefs:n,variant:r,theme:o,size:a,full:i,disabled:l,usePanel:s},children:E}),Yd=()=>{const e=l(Fd);if(!e)throw new Error("useTabContext must be used within a TabContext");return e},wd=i(void 0),Bd=({currentValue:e,tabRefs:n,children:r})=>t(wd.Provider,{value:{currentValue:e,tabRefs:n},children:r}),Gd=()=>{const e=l(wd);if(!e)throw new Error("useTabListContext must be used within a TabListContext");return e},Ud=({children:e})=>{const{variant:n,theme:r}=Yd();return t(ua,{variant:vd[n],color:"gray-04",className:k("group-disabled:text-in-gray-03",Ld[r][n].number),children:e})},Hd=({id:e})=>e&&`${e}${bd}`,$d=({value:e,disabled:n,children:r,onChange:o})=>{const{variant:a,size:i,theme:l,full:s,tabRefs:E,currentValue:c,disabled:u,usePanel:d}=Yd(),O=A(),R=e===c,p=Hd({id:O});return t("button",{type:"button",role:"tab",id:O,tabIndex:R?0:-1,"aria-controls":d?p:void 0,ref:t=>{E.current[e]=t},className:k("text-in-gray-05 in-flex-h-stack-center group relative z-[1] min-w-fit transition-colors disabled:cursor-not-allowed",_d[a][i],Ld[l][a].label,R?"disabled:text-in-gray-04 font-bold":"disabled:text-in-gray-03",s&&"flex-1"),onClick:e=>!n&&o?.(e),"aria-selected":R,disabled:n||u,children:r})};$d.displayName="Tab",$d.Number=Ud;const Wd=()=>{const{theme:e,variant:n}=Yd(),[r,o]=c({});return(({setStyle:e})=>{const{tabRefs:t,currentValue:n}=Yd(),r=()=>e({opacity:0});s((()=>{const o=t.current[n],a=()=>{if(!o)return void r();const{offsetWidth:t,offsetLeft:n}=o;e({width:t,transform:`translateX(${n}px)`,opacity:1})},i=new ResizeObserver(a);return a(),i.observe(document.body),o&&i.observe(o),()=>{r(),i.disconnect()}}),[t.current,n])})({setStyle:o}),t("div",{className:k("absolute left-0 transition-transform will-change-transform",Pd[n],Ld[e][n].indicator),style:r,"aria-hidden":!0})},kd=({ariaLabel:e,children:n,className:r})=>{const{theme:o,variant:a,tabRefs:i}=Yd();return t("div",{role:"tablist","aria-label":e,className:k(r,"group/tablist relative flex items-center",Ld[o][a].list),onKeyDown:e=>(({e:e,refs:t})=>{if(!Xl.includes(e.key))return;e.preventDefault();const{current:n}=t,r=Object.entries(n).filter((([e,t])=>t&&"disabled"in t&&!t.disabled)),o=r.findIndex((([e])=>document.activeElement===n[e])),{length:a}=r,i=(({currentFocusIndex:e,eventKey:t,length:n})=>{const r=t=>(e+t+n)%n;switch(t){case"ArrowRight":case"ArrowDown":return r(1);case"ArrowLeft":case"ArrowUp":return r(-1);case"Home":return 0;case"End":return n-1;default:return e}})({currentFocusIndex:o,eventKey:e.key,length:a}),[l]=r[i],s=t.current[l];s&&s.focus()})({e:e,refs:i}),children:n})},jd=({children:e,value:n,className:r})=>{const{currentValue:o}=Gd(),[a,i]=c(),l=Hd({id:a});return(({value:e,setTabId:t})=>{const{tabRefs:n}=Gd();s((()=>{if(n.current){const r=n.current[e];if(!r)throw new Error("TabPanel value must match one of the values in Tab items");t(r.id)}}),[n.current])})({value:n,setTabId:i}),t("div",{role:"tabpanel",id:l,"aria-labelledby":a,tabIndex:0,hidden:o!==n,className:r,children:e})},Vd=({ariaLabel:e,variant:r,theme:o,size:a,disabled:i,full:l,children:s,className:E})=>{const{currentValue:c,tabRefs:u}=Gd();return t(xd,{currentValue:c,tabRefs:u,variant:r,theme:o,size:a,full:l,disabled:i,usePanel:!0,children:n(kd,{ariaLabel:e,className:E,children:[s,t(Wd,{})]})})};Vd.displayName="TabList",Vd.Tab=$d,Vd.Panel=jd;const Jd=({currentValue:e,ariaLabel:r,variant:o,theme:a,size:i,disabled:l,full:s,children:E,className:c})=>{const u=f({});return t(xd,{currentValue:e,tabRefs:u,variant:o,theme:a,size:i,full:s,disabled:l,usePanel:!0,children:n(kd,{ariaLabel:r,className:c,children:[E,t(Wd,{})]})})};Jd.displayName="Tabs",(Jd.Tab=$d).Number=Ud;const Kd="w-full min-w-fit",Xd={HEAD:"head",BODY:"body"},zd={COLUMN_HEADER:"columnheader",CELL:"cell",ROW_HEADER:"rowheader"},qd={[Xd.HEAD]:"text-in-body-14-m border-in-gray-03 border-b first:[&_.cell:first-child]:rounded-tl-in-8 first:[&_.cell:last-child]:rounded-tr-in-8 h-8",[Xd.BODY]:"text-in-body-14-r hover:bg-in-gray-01 last:[&_.cell]:border-0 [&_.cell]:border-b"},Qd={[Xd.HEAD]:"bg-in-gray-02 text-in-gray-06",[Xd.BODY]:"py-2.5 min-h-full in-flex-h-stack items-center"},Zd={[zd.COLUMN_HEADER]:`${Qd.head} h-full py-1.5`,[zd.CELL]:`${Qd.body} text-in-black border-in-gray-01`,[zd.ROW_HEADER]:`${Qd.body} ${Qd.head} border-in-gray-03`},eO={DEFAULT:"DEFAULT",FOCUS:"FOCUS",ERROR:"ERROR",DISABLED:"DISABLED"},tO={[eO.DEFAULT]:"text-in-body-14-r border border-transparent text-in-black placeholder-in-gray-04",[eO.FOCUS]:"focus:outline-none focus:border-in-primary-05",[eO.ERROR]:"group-[.error]:text-in-red-04 group-[.error]:border-in-red-04 group-[.error]:focus:border-in-red-04",[eO.DISABLED]:"disabled:text-in-gray-05 disabled:border-in-gray-01 disabled:bg-in-gray-01 disabled:cursor-not-allowed disabled:placeholder-in-gray-05"},nO=XE((()=>Promise.resolve().then((function(){return pO}))),{ssr:!1}),rO=({children:e,className:n})=>{const r=S.toArray(e),o=S.count(e)<=0;return t("div",{role:"rowgroup",className:k(n,Kd,"bg-in-white h-[calc(100%-2rem)]",o&&"sticky left-0"),children:o?t(nO,{}):r.map((e=>u(e,{variant:Xd.BODY})))})},oO=({items:e})=>t("ul",{className:"in-flex-h-stack-center gap-x-4",children:e.map(((e,n)=>t("li",{children:t(fe,{...e,size:"sm",variant:"text"})},n)))}),aO=({label:e,...n})=>t(zn,{content:e,hidden:!e,placement:"top",rootClassName:"h-full in-flex-h-stack-center",children:t(js,{...n,size:"sm"})}),iO=({items:e})=>t("ul",{className:"in-flex-h-stack items-center gap-x-2",children:e.map(((e,n)=>t("li",{children:t(qn,{...e,theme:"hover-white",type:"button"})},n)))}),lO=e=>t(Rd,{...e,type:"single",size:"sm",profileTheme:"light"}),sO=e=>t(cc,{...e,size:"sm",labelColor:"gray-06",labelClassName:"font-medium"}),EO=({role:e=zd.CELL,isFixedLeft:n=!1,children:r,className:o})=>t("div",{role:e,className:k(o,"cell shrink-0 pl-4 last:pr-4",Zd[e],n&&"sticky left-0"),children:r});EO.displayName="TableCell",EO.Checkbox=aO,EO.Toggle=sO,EO.Persona=lO,EO.Button=oO,EO.IconButton=iO;const cO=({children:e,className:n})=>{const r=S.toArray(e).map((e=>u(e,{variant:Xd.HEAD})));return t("div",{role:"rowgroup",className:k(n,Kd,"sticky top-0 z-[1]"),children:r})},uO=({value:e,name:n,type:r="text",isError:o=!1,feedback:a,onChange:i,regCallback:l,className:s,maxLength:E=200,...c})=>{const u=A(),{inputValue:d,handleChange:O}=Zc({value:e,name:n,onChange:i,regCallback:l,maxLength:E});return t(EO,{className:k(s,"has-[input]:p-0",o&&"error group"),children:t(zn,{id:u,role:"alert",ariaLive:"assertive",content:a,hidden:!o,placement:"bottom-start",color:"red-03",rootClassName:"h-full",isKeepFloating:!0,children:t("input",{type:r,value:d??"",onChange:O,"aria-invalid":o,"aria-errormessage":u,className:k("h-full w-full py-2.5 pl-4",Object.values(tO)),...c})})})},dO=({variant:e=Xd.BODY,className:n,children:r})=>{const o=S.toArray(r);return t("div",{role:"row",className:k(n,"in-flex-h-stack min-w-fit",qd[e]),children:o.map((t=>u(t,{role:e===Xd.HEAD?zd.COLUMN_HEADER:t.props.role})))})},OO=({caption:e,children:r,className:o})=>n("div",{role:"table","aria-label":e,"aria-describedby":e,className:k(o,"overflow-auto"),children:[e&&t("div",{className:"sr-only",id:e,children:e}),r]});OO.displayName="Table",OO.Head=cO,OO.Body=rO,OO.Row=dO,OO.Cell=EO,OO.InputCell=uO,OO.Cell.Checkbox=aO,OO.Cell.Toggle=sO,OO.Cell.Persona=lO,OO.Cell.Button=oO,OO.Cell.IconButton=iO;const RO=()=>n("div",{role:"row",className:"in-flex-v-stack-center h-full flex-1 gap-y-3",children:[t(de,{iconKey:"magnifying-glass",className:"border-in-gray-01 text-in-gray-03 rounded-in-full h-[3.25rem] w-[3.25rem] border-2 text-[1.5rem]"}),t(ua,{as:"p",color:"gray-06",variant:"body-16-r",children:"검색 결과가 없습니다. 다른 내용으로 검색해보세요."})]});var pO=Object.freeze({__proto__:null,default:RO});const fO={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error"},AO={[fO.INFO]:{iconKey:"info",color:"text-in-primary-04"},[fO.SUCCESS]:{iconKey:"check-circle",color:"text-in-green-04"},[fO.WARNING]:{iconKey:"warning-circle",color:"text-in-yellow-04"},[fO.ERROR]:{iconKey:"x-circle",color:"text-in-red-04"}},SO={[fO.INFO]:"primary",[fO.SUCCESS]:"green",[fO.WARNING]:"yellow",[fO.ERROR]:"red"},CO=({actionOption:e})=>{const{as:n="link",label:r,linkOption:o,buttonOption:a}=e,i="text-in-primary-03 in-button-sm in-flex-h-stack items-center";return ra({as:n,linkOption:o,buttonOption:a}),n===ta&&a?t("button",{type:"button",...a,className:i,children:r}):n===na&&o?t(Zo,{...o,className:i,children:r}):void 0},MO=({onClose:e})=>t(qn,{iconKey:"x",arialLabel:"닫기",theme:"white",className:"-mr-2",onClick:e}),TO=({content:e})=>t(ua,{as:"p",variant:"body-14-m",color:"white",children:e}),NO=({type:e})=>{const{iconKey:n,color:r}=AO[e];return t(de,{iconKey:n,className:k(r,"h-[1.312rem] shrink-0"),weight:"fill"})},IO=({visible:e,type:r=fO.INFO,content:o,useClose:a=!1,actionOption:i,onClose:l})=>n("div",{className:k("bg-in-gray-09 in-flex-h-stack shadow-in-8 rounded-in-8 min-h-11 max-w-full flex-wrap items-center overflow-hidden px-4 py-1.5 md:min-w-[21.25rem]",e?"animate-in-toast-in":"animate-in-toast-out"),children:[n(si,{gap:{row:"8"},children:[t(NO,{type:r}),t(TO,{content:o})]}),n(si,{align:{items:"center"},gap:{row:"4"},className:"ml-auto pl-2",children:[i&&t(CO,{actionOption:i}),a&&t(MO,{onClose:l})]})]});export{te as $,Aa as A,fe as B,ts as C,pl as D,ha as E,bE as F,ma as G,rl as H,nl as I,Rl as J,ol as K,al as L,gc as M,il as N,ll as O,El as P,cl as Q,ul as R,ql as S,Ql as T,qn as U,Ae as V,Se as W,ea as X,Oe as Y,q as Z,Q as _,yc as a,ti as a$,ne as a0,re as a1,oe as a2,ae as a3,ie as a4,le as a5,pe as a6,se as a7,ns as a8,rs as a9,ga as aA,ya as aB,_a as aC,La as aD,va as aE,Pa as aF,Fa as aG,xa as aH,Ya as aI,wa as aJ,Ba as aK,Ga as aL,Ua as aM,Ha as aN,$a as aO,Wa as aP,ka as aQ,ja as aR,Va as aS,Ja as aT,Ka as aU,Xa as aV,za as aW,qa as aX,Qa as aY,Za as aZ,ei as a_,os as aa,as as ab,is as ac,ls as ad,ss as ae,Es as af,cs as ag,us as ah,ds as ai,Os as aj,Rs as ak,ps as al,fs as am,As as an,Ss as ao,Ps as ap,js as aq,Ys as ar,Vs as as,Js as at,CE as au,TE as av,NE as aw,Cu as ax,ba as ay,Da as az,si as b,yd as b$,ni as b0,ri as b1,oi as b2,ai as b3,ii as b4,li as b5,ed as b6,hu as b7,Du as b8,_u as b9,cd as bA,ud as bB,dd as bC,sE as bD,nE as bE,rE as bF,oE as bG,aE as bH,hl as bI,Il as bJ,Hu as bK,zu as bL,zs as bM,Eu as bN,Au as bO,Su as bP,Nd as bQ,Id as bR,md as bS,Bd as bT,$d as bU,Vd as bV,jd as bW,Jd as bX,bd as bY,Dd as bZ,gd as b_,wu as ba,Uu as bb,qu as bc,Qu as bd,Zu as be,td as bf,rd as bg,od as bh,de as bi,id as bj,ad as bk,eu as bl,nu as bm,ru as bn,qc as bo,Qc as bp,Xc as bq,Wc as br,kc as bs,jc as bt,Vc as bu,ou as bv,sd as bw,Ed as bx,Rd as by,Od as bz,iu as c,_d as c0,Ld as c1,vd as c2,Pd as c3,OO as c4,rO as c5,RO as c6,EO as c7,aO as c8,sO as c9,Hn as cA,$n as cB,Wn as cC,kn as cD,jn as cE,Vn as cF,Jn as cG,Kn as cH,Xn as cI,cO as ca,uO as cb,dO as cc,Kd as cd,Xd as ce,zd as cf,qd as cg,Qd as ch,Zd as ci,eO as cj,tO as ck,IO as cl,fO as cm,AO as cn,SO as co,cc as cp,nc as cq,rc as cr,oc as cs,ac as ct,ic as cu,lc as cv,zn as cw,ua as cx,ca as cy,Un as cz,XE as d,Hc as e,Bc as f,ys as g,qE as h,Ks as i,gs as j,xs as k,ee as l,Z as m,mE as n,DE as o,ia as p,la as q,sa as r,tl as s,Sa as t,_E as u,Ca as v,Ma as w,Ta as x,Na as y,Ia as z};
|
|
1034
|
+
//# sourceMappingURL=index-0l9WSZHJ.js.map
|