cortex-react-components 1.15.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-AYOLIWMA.mjs → chunk-4LYK6VPP.mjs} +1 -1
- package/dist/{chunk-3JTJE3CH.mjs → chunk-56XJMQVR.mjs} +1 -1
- package/dist/{chunk-XBGHKEWQ.mjs → chunk-7ZPEE4NV.mjs} +1 -1
- package/dist/{chunk-4LIC6MZK.mjs → chunk-C34U2N2O.mjs} +1 -1
- package/dist/{chunk-CU7IGMOR.mjs → chunk-C4W4JBZN.mjs} +1 -1
- package/dist/{chunk-LKMZ5ROU.mjs → chunk-E7J5XS32.mjs} +1 -1
- package/dist/{chunk-WMZYFRHZ.mjs → chunk-GCBC75DA.mjs} +1 -1
- package/dist/chunk-I2GY5WTT.mjs +4 -0
- package/dist/chunk-INXPK24X.mjs +4 -0
- package/dist/{chunk-M62IIIAN.mjs → chunk-LZII3MF4.mjs} +1 -1
- package/dist/{chunk-NUOP7T5Z.mjs → chunk-RFWJV4YU.mjs} +1 -1
- package/dist/chunk-SABHLBUI.mjs +4 -0
- package/dist/chunk-SQC52R4J.mjs +4 -0
- package/dist/{chunk-4RF3TPM7.mjs → chunk-VPMCRWSX.mjs} +1 -1
- package/dist/{chunk-NC75G3JN.mjs → chunk-VQWGXZ5A.mjs} +1 -1
- package/dist/{chunk-XWTX2W5V.mjs → chunk-WASENCYA.mjs} +1 -1
- package/dist/{chunk-KW7X3P7R.mjs → chunk-WTZ6GABZ.mjs} +1 -1
- package/dist/{chunk-7YKANUOC.mjs → chunk-WWXGKYL4.mjs} +1 -1
- package/dist/{chunk-QQIP4XUL.mjs → chunk-WZMQHIAK.mjs} +1 -1
- package/dist/components/Blocks/Insight.js +1 -1
- package/dist/components/Blocks/Insight.mjs +1 -1
- package/dist/components/Blocks/Insight.stories.js +1 -1
- package/dist/components/Blocks/Insight.stories.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/ServiceCard.js +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.js +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/AppLauncher.js +1 -1
- package/dist/components/HeaderFooter/AppLauncher.mjs +1 -1
- package/dist/components/HeaderFooter/AppLauncher.stories.js +1 -1
- package/dist/components/HeaderFooter/AppLauncher.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.d.ts +3 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.d.ts +2 -3
- package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.d.ts +3 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.d.ts +2 -0
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Images/DynamicIcon.js +1 -1
- package/dist/components/Images/DynamicIcon.mjs +1 -1
- package/dist/components/Images/DynamicIcon.stories.js +1 -1
- package/dist/components/Images/DynamicIcon.stories.mjs +1 -1
- package/dist/components/Images/index.js +1 -1
- package/dist/components/Images/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.js +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.js +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.js +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Pages/Documentation.js +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.js +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.js +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.js +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Intranet.js +1 -1
- package/dist/components/Pages/Intranet.mjs +1 -1
- package/dist/components/Pages/Intranet.stories.js +1 -1
- package/dist/components/Pages/Intranet.stories.mjs +1 -1
- package/dist/components/Pages/LandingPage.js +1 -1
- package/dist/components/Pages/LandingPage.mjs +1 -1
- package/dist/components/Pages/LandingPage.stories.js +192 -192
- package/dist/components/Pages/LandingPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.js +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.js +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.js +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.js +187 -187
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +4 -5
- package/dist/index.mjs +1 -4
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/AboutSection.d.ts +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/index.d.ts +1 -0
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-5VW5YOZB.mjs +0 -4
- package/dist/chunk-H3G73HG7.mjs +0 -4
- package/dist/chunk-TP4XDQAI.mjs +0 -4
- package/dist/chunk-XMMVD3EW.mjs +0 -4
|
@@ -436,4 +436,4 @@ Unable to find an `+(rP===!1?"accessible ":"")+'element with the role "'+t+'"'+u
|
|
|
436
436
|
`)),s+=p+rP[u+1]}),s}var U6=$6,lp=(0,hS.instrument)({...u_},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});lp.screen=new Proxy(lp.screen,{get(e,t,r){return L6.once.warn(U6`
|
|
437
437
|
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
438
438
|
More info: https://storybook.js.org/docs/essentials/interactions
|
|
439
|
-
`),Reflect.get(e,t,r)}});var{buildQueries:H6,configure:z6,createEvent:V6,fireEvent:G6,findAllByAltText:W6,findAllByDisplayValue:Y6,findAllByLabelText:K6,findAllByPlaceholderText:J6,findAllByRole:X6,findAllByTestId:Q6,findAllByText:Z6,findAllByTitle:eU,findByAltText:tU,findByDisplayValue:rU,findByLabelText:nU,findByPlaceholderText:oU,findByRole:aU,findByTestId:iU,findByText:sU,findByTitle:lU,getAllByAltText:uU,getAllByDisplayValue:cU,getAllByLabelText:dU,getAllByPlaceholderText:pU,getAllByRole:fU,getAllByTestId:hU,getAllByText:mU,getAllByTitle:gU,getByAltText:bU,getByDisplayValue:yU,getByLabelText:vU,getByPlaceholderText:EU,getByRole:_U,getByTestId:wU,getByText:SU,getByTitle:CU,getConfig:AU,getDefaultNormalizer:RU,getElementError:TU,getNodeText:xU,getQueriesForElement:PU,getRoles:OU,getSuggestedQuery:NU,isInaccessible:MU,logDOM:IU,logRoles:DU,prettyDOM:qU,queries:jU,queryAllByAltText:BU,queryAllByAttribute:kU,queryAllByDisplayValue:FU,queryAllByLabelText:LU,queryAllByPlaceholderText:$U,queryAllByRole:UU,queryAllByTestId:HU,queryAllByText:zU,queryAllByTitle:VU,queryByAltText:GU,queryByAttribute:WU,queryByDisplayValue:YU,queryByLabelText:KU,queryByPlaceholderText:JU,queryByRole:XU,queryByTestId:QU,queryByText:ZU,queryByTitle:eH,queryHelpers:tH,screen:rH,waitFor:nH,waitForElementToBeRemoved:oH,within:mS,prettyFormat:aH}=lp,{userEvent:iH}=(0,hS.instrument)({userEvent:F6},{intercept:!0}),{expect:sH}=(0,Ej.instrument)({expect:r_},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let rP=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?rP:[...rP,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),lH=({parameters:e})=>{var t,r,rP;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?s_():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?i_():((rP=e==null?void 0:e.test)==null?void 0:rP.restoreMocks)!==!1&&l_()},hl=(e,t=0,r)=>{var rP;if(t>5||e==null)return e;if(cf(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=o_(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>hl(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(rP=Object.getOwnPropertyDescriptor(e,o))!=null&&rP.writable&&(e[o]=hl(i,t,o));return e}return e},uH=({initialArgs:e})=>{hl(e)},cH=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=mS(e.canvasElement))};Sv.global.__STORYBOOK_TEST_LOADERS__=[lH,uH,cH];Sv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=n_});var EH={};QS(EH,{Default:()=>vH,default:()=>bH});module.exports=ZS(EH);var Ln=require("lucide-react");var mo=$t(require("react")),rs=require("@radix-ui/react-icons"),Uf=require("@radix-ui/react-slot");var $f=require("clsx");var Jl="-",e2=e=>{let t=r2(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:rP}=e;return{getClassGroupId:s=>{let l=s.split(Jl);return l[0]===""&&l.length!==1&&l.shift(),qf(l,t)||t2(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&rP[s]?[...u,...rP[s]]:u}}},qf=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],rP=t.nextPart.get(r),o=rP?qf(e.slice(1),rP):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Jl);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},If=/^\[(.+)\]$/,t2=e=>{if(If.test(e)){let t=If.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},r2=e=>{let{theme:t,prefix:r}=e,rP={nextPart:new Map,validators:[]};return o2(Object.entries(e.classGroups),r).forEach(([i,s])=>{Kl(s,rP,i,t)}),rP},Kl=(e,t,r,rP)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:Df(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(n2(o)){Kl(o(rP),t,r,rP);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Kl(s,Df(t,i),r,rP)})})},Df=(e,t)=>{let r=e;return t.split(Jl).forEach(rP=>{r.nextPart.has(rP)||r.nextPart.set(rP,{nextPart:new Map,validators:[]}),r=r.nextPart.get(rP)}),r},n2=e=>e.isThemeGetter,o2=(e,t)=>t?e.map(([r,rP])=>{let o=rP.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,a2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,rP=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,rP=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=rP.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},jf="!",i2=e=>{let{separator:t,experimentalParseClassName:r}=e,rP=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let y=0;y<l.length;y++){let E=l[y];if(d===0){if(E===o&&(rP||l.slice(y,y+i)===t)){u.push(l.slice(c,y)),c=y+i;continue}if(E==="/"){p=y;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(jf),g=m?h.substring(1):h,b=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:b}};return r?l=>r({className:l,parseClassName:s}):s},s2=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(rP=>{rP[0]==="["?(t.push(...r.sort(),rP),r=[]):r.push(rP)}),t.push(...r.sort()),t},l2=e=>({cache:a2(e.cacheSize),parseClassName:i2(e),...e2(e)}),u2=/\s+/,c2=(e,t)=>{let{parseClassName:r,getClassGroupId:rP,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(u2),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=r(d),g=!!m,b=rP(g?h.substring(0,m):h);if(!b){if(!g){l=d+(l.length>0?" "+l:l);continue}if(b=rP(h),!b){l=d+(l.length>0?" "+l:l);continue}g=!1}let y=s2(c).join(":"),E=p?y+jf:y,_=E+b;if(i.includes(_))continue;i.push(_);let P=o(b,g);for(let C=0;C<P.length;++C){let w=P[C];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function d2(){let e=0,t,r,rP="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Bf(t))&&(rP&&(rP+=" "),rP+=r);return rP}var Bf=e=>{if(typeof e=="string")return e;let t,r="";for(let rP=0;rP<e.length;rP++)e[rP]&&(t=Bf(e[rP]))&&(r&&(r+=" "),r+=t);return r};function p2(e,...t){let r,rP,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=l2(d),rP=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=rP(u);if(d)return d;let c=c2(u,r);return o(u,c),c}return function(){return i(d2.apply(null,arguments))}}var yt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},kf=/^\[(?:([a-z-]+):)?(.+)\]$/i,f2=/^\d+\/\d+$/,h2=new Set(["px","full","screen"]),m2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|fr|ex|r?Ln|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,b2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,y2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xr=e=>fo(e)||h2.has(e)||f2.test(e),hn=e=>ho(e,"length",T2),fo=e=>!!e&&!Number.isNaN(Number(e)),Yl=e=>ho(e,"number",fo),Ja=e=>!!e&&Number.isInteger(Number(e)),E2=e=>e.endsWith("%")&&fo(e.slice(0,-1)),ze=e=>kf.test(e),mn=e=>m2.test(e),_2=new Set(["length","size","percentage"]),w2=e=>ho(e,_2,Ff),S2=e=>ho(e,"position",Ff),C2=new Set(["image","url"]),A2=e=>ho(e,C2,P2),R2=e=>ho(e,"",x2),Xa=()=>!0,ho=(e,t,r)=>{let rP=kf.exec(e);return rP?rP[1]?typeof t=="string"?rP[1]===t:t.has(rP[1]):r(rP[2]):!1},T2=e=>g2.test(e)&&!b2.test(e),Ff=()=>!1,x2=e=>y2.test(e),P2=e=>v2.test(e);var O2=()=>{let e=yt("colors"),t=yt("spacing"),r=yt("blur"),rP=yt("brightness"),o=yt("borderColor"),i=yt("borderRadius"),s=yt("borderSpacing"),l=yt("borderWidth"),u=yt("contrast"),d=yt("grayscale"),c=yt("hueRotate"),p=yt("invert"),h=yt("gap"),m=yt("gradientColorStops"),g=yt("gradientColorStopPositions"),b=yt("inset"),y=yt("margin"),E=yt("opacity"),_=yt("padding"),P=yt("saturate"),C=yt("scale"),w=yt("sepia"),S=yt("skew"),T=yt("space"),A=yt("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",ze,t],V=()=>[ze,t],J=()=>["",Xr,hn],x=()=>["auto",fo,ze],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Re=()=>["","0",ze],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Oe=()=>[fo,ze];return{cacheSize:500,separator:":",theme:{colors:[Xa],spacing:[Xr,hn],blur:["none","",mn,ze],brightness:Oe(),borderColor:[e],borderRadius:["none","","full",mn,ze],borderSpacing:V(),borderWidth:J(),contrast:Oe(),grayscale:Re(),hueRotate:Oe(),invert:Re(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[E2,hn],inset:X(),margin:X(),opacity:Oe(),padding:V(),saturate:Oe(),scale:Oe(),sepia:Re(),skew:Oe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",ze]}],container:["container"],columns:[{columns:[mn]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),ze]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ja,ze]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ze]}],grow:[{grow:Re()}],shrink:[{shrink:Re()}],order:[{order:["first","last","none",Ja,ze]}],"grid-cols":[{"grid-cols":[Xa]}],"col-start-end":[{col:["auto",{span:["full",Ja,ze]},ze]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Xa]}],"row-start-end":[{row:["auto",{span:[Ja,ze]},ze]}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ze]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ze]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],fr:[{fr:[y]}],Ln:[{Ln:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ze,t]}],"min-w":[{"min-w":[ze,t,"min","max","fit"]}],"max-w":[{"max-w":[ze,t,"none","full","min","max","fit","prose",{screen:[mn]},mn]}],h:[{h:[ze,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ze,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ze,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ze,t,"auto","min","max","fit"]}],"font-size":[{text:["base",mn,hn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Yl]}],"font-family":[{font:[Xa]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ze]}],"line-clamp":[{"line-clamp":["none",fo,Yl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xr,ze]}],"list-image":[{"list-image":["none",ze]}],"list-style-type":[{list:["none","disc","decimal",ze]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xr,hn]}],"underline-offset":[{"underline-offset":["auto",Xr,ze]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ze]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ze]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),S2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",w2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},A2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Xr,ze]}],"outline-w":[{outline:[Xr,hn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Xr,hn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",mn,R2]}],"shadow-color":[{shadow:[Xa]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[rP]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",mn,ze]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[P]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[rP]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ze]}],duration:[{duration:Oe()}],ease:[{ease:["linear","in","out","in-out",ze]}],delay:[{delay:Oe()}],animate:[{animate:["none","spin","ping","pulse","bounce",ze]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Ja,ze]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ze]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","rP-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ze]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-fr":[{"scroll-fr":V()}],"scroll-Ln":[{"scroll-Ln":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ze]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Xr,hn,Yl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","fr","Ln","mb","ml"],mx:["Ln","ml"],my:["fr","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-fr","scroll-Ln","scroll-mb","scroll-ml"],"scroll-mx":["scroll-Ln","scroll-ml"],"scroll-my":["scroll-fr","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Lf=p2(O2);function De(...e){return Lf((0,$f.clsx)(e))}var fr=require("react/jsx-runtime"),Xl=mo.forwardRef(({...e},t)=>(0,fr.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Xl.displayName="Breadcrumb";var Ql=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ol",{ref:r,className:De("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Ql.displayName="BreadcrumbList";var ns=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("li",{ref:r,className:De("inline-flex items-center gap-1.5",e),...t}));ns.displayName="BreadcrumbItem";var Zl=mo.forwardRef(({asChild:e,className:t,...r},rP)=>(0,fr.jsx)(e?Uf.Slot:"a",{ref:rP,className:De("transition-colors hover:text-foreground",t),...r}));Zl.displayName="BreadcrumbLink";var eu=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:De("font-normal text-foreground",e),...t}));eu.displayName="BreadcrumbPage";var tu=({children:e,className:t,...r})=>(0,fr.jsx)("li",{role:"presentation","aria-hidden":"true",className:De("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...r,children:e!=null?e:(0,fr.jsx)(rs.ChevronRightIcon,{})});tu.displayName="BreadcrumbSeparator";var N2=({className:e,...t})=>(0,fr.jsxs)("span",{role:"presentation","aria-hidden":"true",className:De("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,fr.jsx)(rs.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,fr.jsx)("span",{className:"sr-only",children:"More"})]});N2.displayName="BreadcrumbElipssis";var Hf=$t(require("react")),ru=$t(require("@radix-ui/react-separator"));var Qa=Hf.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...rP},o)=>(0,fr.jsx)(ru.Root,{ref:o,decorative:r,orientation:t,className:De("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...rP}));Qa.displayName=ru.Root.displayName;var et=$t(require("react")),sh=require("class-variance-authority");var os=require("react"),Vf=(e=768)=>{let[t,r]=(0,os.useState)(!1);return(0,os.useEffect)(()=>{let rP=()=>{r(window.innerWidth<e)};return rP(),window.addEventListener("resize",rP),()=>window.removeEventListener("resize",rP)},[e]),t};var Yf=$t(require("react")),M2=(0,sh.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),nu=Yf.forwardRef(({asChild:e=!1,className:t,size:r,variant:rP,...o},i)=>(0,fr.jsx)(e?Uf.Slot:"button",{className:De(M2({className:t,size:r,variant:rP})),ref:i,...o}));nu.displayName="Button";var Jf=$t(require("react"));var ou=Jf.forwardRef(({className:e,type:t,...r},rP)=>(0,fr.jsx)("input",{type:t,className:De("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:rP,...r}));ou.displayName="Input";var Za=$t(require("react")),It=$t(require("@radix-ui/react-dialog"));var eh=It.Root;var I2=It.Portal,th=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Overlay,{className:De("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));th.displayName=It.Overlay.displayName;var D2=(0,sh.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),au=Za.forwardRef(({side:e="right",className:t,children:r,...rP},o)=>(0,fr.jsxs)(I2,{children:[(0,fr.jsx)(th,{}),(0,fr.jsxs)(It.Content,{ref:o,className:De(D2({side:e}),t),...rP,children:[(0,fr.jsxs)(It.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,fr.jsx)(rs.Cross2Icon,{className:"h-4 w-4"}),(0,fr.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]}));au.displayName=It.Content.displayName;var q2=({className:e,...t})=>(0,fr.jsx)("div",{className:De("flex flex-col space-y-2 text-center sm:text-left",e),...t});q2.displayName="SheetHeader";var j2=({className:e,...t})=>(0,fr.jsx)("div",{className:De("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});j2.displayName="SheetFooter";var B2=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Title,{ref:r,className:De("text-lg font-semibold text-foreground",e),...t}));B2.displayName=It.Title.displayName;var k2=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Description,{ref:r,className:De("text-sm text-muted-foreground",e),...t}));k2.displayName=It.Description.displayName;function Dt({className:e,...t}){return(0,fr.jsx)("div",{className:De("animate-pulse rounded-md bg-primary/10",e),...t})}var nh=$t(require("react")),wr=$t(require("@radix-ui/react-tooltip"));var oh=wr.Provider,ah=wr.Root,ih=wr.Trigger,su=nh.forwardRef(({className:e,sideOffset:t=4,...r},rP)=>(0,fr.jsx)(wr.Portal,{children:(0,fr.jsx)(wr.Content,{ref:rP,sideOffset:t,className:De("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));su.displayName=wr.Content.displayName;var F2="sidebar:state",L2=60*60*24*7,$2="16rem",U2="18rem",H2="3rem",z2="b",uh=et.createContext(null);function as(){let e=et.useContext(uh);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var lu=et.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:r,className:rP,style:o,children:i,...s},l)=>{let u=Vf(),[d,c]=et.useState(!1),[p,h]=et.useState(e),m=t!=null?t:p,g=et.useCallback(_=>{if(r)return r==null?void 0:r(typeof _=="function"?_(m):_);h(_),document.cookie=`${F2}=${m}; path=/; max-age=${L2}`},[r,m]),b=et.useCallback(()=>u?c(_=>!_):g(_=>!_),[u,g,c]);et.useEffect(()=>{let _=P=>{P.key===z2&&(P.metaKey||P.ctrlKey)&&(P.preventDefault(),b())};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[b]);let y=m?"expanded":"collapsed",E=et.useMemo(()=>({state:y,open:m,setOpen:g,isMobile:u,openMobile:d,setOpenMobile:c,toggleSidebar:b}),[y,m,g,u,d,c,b]);return(0,fr.jsx)(uh.Provider,{value:E,children:(0,fr.jsx)(oh,{delayDuration:0,children:(0,fr.jsx)("div",{style:{"--sidebar-width":$2,"--sidebar-width-icon":H2,...o},className:De("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",rP),ref:l,...s,children:i})})})});lu.displayName="SidebarProvider";var ei=et.forwardRef(({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:rP,children:o,...i},s)=>{let{isMobile:l,state:u,openMobile:d,setOpenMobile:c}=as();return r==="none"?(0,fr.jsx)("div",{className:De("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",rP),ref:s,...i,children:o}):l?(0,fr.jsx)(eh,{open:d,onOpenChange:c,...i,children:(0,fr.jsx)(au,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":U2},side:e,children:(0,fr.jsx)("div",{className:"flex h-full w-full flex-col",children:o})})}):(0,fr.jsxs)("div",{ref:s,className:"group peer hidden md:block text-sidebar-foreground","data-state":u,"data-collapsible":u==="collapsed"?r:"","data-variant":t,"data-side":e,children:[(0,fr.jsx)("div",{className:De("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,fr.jsx)("div",{className:De("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",rP),...i,children:(0,fr.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:o})})]})});ei.displayName="Sidebar";var uu=et.forwardRef(({className:e,onClick:t,...r},rP)=>{let{toggleSidebar:o}=as();return(0,fr.jsxs)(nu,{ref:rP,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:De("h-7 w-7",e),onClick:i=>{t==null||t(i),o()},...r,children:[(0,fr.jsx)(Ln.PanelLeft,{}),(0,fr.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});uu.displayName="SidebarTrigger";var V2=et.forwardRef(({className:e,...t},r)=>{let{toggleSidebar:rP}=as();return(0,fr.jsx)("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:rP,title:"Toggle Sidebar",className:De("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});V2.displayName="SidebarRail";var cu=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("main",{ref:r,className:De("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));cu.displayName="SidebarInset";var G2=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(ou,{ref:r,"data-sidebar":"input",className:De("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));G2.displayName="SidebarInput";var ti=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"header",className:De("flex flex-col gap-2 p-2",e),...t}));ti.displayName="SidebarHeader";var ri=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"footer",className:De("flex flex-col gap-2 p-2",e),...t}));ri.displayName="SidebarFooter";var du=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Qa,{ref:r,"data-sidebar":"separator",className:De("mx-2 w-auto bg-sidebar-border",e),...t}));du.displayName="SidebarSeparator";var bo=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"content",className:De("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));bo.displayName="SidebarContent";var Ir=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"group",className:De("relative flex w-full min-w-0 flex-col p-2",e),...t}));Ir.displayName="SidebarGroup";var $rP=et.forwardRef(({className:e,asChild:t=!1,...r},rP)=>(0,fr.jsx)(t?Uf.Slot:"div",{ref:rP,"data-sidebar":"group-label",className:De("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-fr-8 group-data-[collapsible=icon]:opacity-0",e),...r}));$rP.displayName="SidebarGroupLabel";var W2=et.forwardRef(({className:e,asChild:t=!1,...r},rP)=>(0,fr.jsx)(t?Uf.Slot:"button",{ref:rP,"data-sidebar":"group-action",className:De("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...r}));W2.displayName="SidebarGroupAction";var Qr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"group-content",className:De("w-full text-sm",e),...t}));Qr.displayName="SidebarGroupContent";var hr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ul",{ref:r,"data-sidebar":"menu",className:De("flex w-full min-w-0 flex-col gap-1",e),...t}));hr.displayName="SidebarMenu";var rr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("li",{ref:r,"data-sidebar":"menu-item",className:De("group/menu-item relative",e),...t}));rr.displayName="SidebarMenuItem";var Y2=(0,sh.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Dr=et.forwardRef(({asChild:e=!1,isActive:t=!1,variant:r="default",size:rP="default",tooltip:o,className:i,...s},l)=>{let u=e?Uf.Slot:"button",{isMobile:d,state:c}=as(),p=(0,fr.jsx)(u,{ref:l,"data-sidebar":"menu-button","data-size":rP,"data-active":t,className:De(Y2({variant:r,size:rP}),i),...s});return o?(typeof o=="string"&&(o={children:o}),(0,fr.jsxs)(ah,{children:[(0,fr.jsx)(ih,{asChild:!0,children:p}),(0,fr.jsx)(su,{side:"right",align:"center",hidden:c!=="collapsed"||d,...o})]})):p});Dr.displayName="SidebarMenuButton";var pu=et.forwardRef(({className:e,asChild:t=!1,showOnHover:r=!1,...rP},o)=>(0,fr.jsx)(t?Uf.Slot:"button",{ref:o,"data-sidebar":"menu-action",className:De("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...rP}));pu.displayName="SidebarMenuAction";var K2=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"menu-badge",className:De("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));K2.displayName="SidebarMenuBadge";var J2=et.forwardRef(({className:e,showIcon:t=!1,...r},rP)=>{let o=et.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,fr.jsxs)("div",{ref:rP,"data-sidebar":"menu-skeleton",className:De("rounded-md h-8 flex gap-2 px-2 items-center",e),...r,children:[t&&(0,fr.jsx)(Dt,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,fr.jsx)(Dt,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})});J2.displayName="SidebarMenuSkeleton";var yo=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ul",{ref:r,"data-sidebar":"menu-sub",className:De("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));yo.displayName="SidebarMenuSub";var vo=et.forwardRef(({...e},t)=>(0,fr.jsx)("li",{ref:t,...e}));vo.displayName="SidebarMenuSubItem";var Eo=et.forwardRef(({asChild:e=!1,size:t="md",isActive:r,className:rP,...o},i)=>(0,fr.jsx)(e?Uf.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:De("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",rP),...o}));Eo.displayName="SidebarMenuSubButton";var _o=$t(require("@radix-ui/react-collapsible")),Un=_o.Root,wo=_o.CollapsibleTrigger,So=_o.CollapsibleContent;var dh=$t(require("clsx"));var qr=({type:e="solid",iconName:t="cloud",size:r="lg",className:rP})=>{let o="fa-"+e+" ",i="fa-"+t,s=rP!=null?rP:"",l=o+i+" fa-"+r+" "+s;return(0,fr.jsx)("i",{className:l})};var X2=()=>(0,fr.jsx)(qr,{iconName:"github",size:"10x"});function ph({relatedContent:e,tableOfContents:t,editorComponent:r,loading:rP=!1,editMode:o=!1,onAddDocument:i,onEditDocument:s,onPrintDocument:l,onGithubClick:u,onNavClick:d,LinkComponent:c,...p}){let g=c?b=>(0,fr.jsx)(c,{...b}):d?({item:b,children:y,...E})=>(0,fr.jsx)("button",{onClick:()=>d&&d(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...E,children:y}):b=>(0,fr.jsx)("a",{href:b.href,...b});return(0,fr.jsxs)(ei,{side:"right",variant:"inset",...p,children:[(0,fr.jsxs)(ti,{className:"border-b border-sidebar-border",children:[(0,fr.jsxs)(hr,{className:"flex-row space-x-1",children:[(0,fr.jsx)(rr,{children:(0,fr.jsxs)(Dr,{onClick:i,children:[(0,fr.jsx)(Ln.FilePlus,{})," ",(0,fr.jsx)("span",{children:"Add Document"})]})}),u&&(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dr,{onClick:u,tooltip:"Open in GitHub",children:(0,fr.jsx)(X2,{})})})]}),(0,fr.jsxs)(hr,{className:"flex-row space-x-1",children:[(0,fr.jsx)(rr,{className:"w-5/12",children:(0,fr.jsxs)(Dr,{onClick:()=>s(),variant:o?"outline":"default",className:(0,dh.default)(o&&"text-accent"),children:[(0,fr.jsx)(Ln.Edit,{})," ",(0,fr.jsx)("span",{children:"Edit"})]})}),(0,fr.jsx)(rr,{className:"w-5/12",children:(0,fr.jsxs)(Dr,{onClick:l,children:[(0,fr.jsx)(Ln.Printer,{})," ",(0,fr.jsx)("span",{children:"Print"})]})})]})]}),r&&(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Ir,{children:[(0,fr.jsx)($rP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Editor Controls",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:r})})]})}),(0,fr.jsx)(du,{className:"mx-0"})]}),(0,fr.jsxs)(bo,{className:"overflow-auto",children:[rP&&(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsxs)(Ir,{children:[(0,fr.jsx)($rP,{children:"Related Content"}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:Array.from({length:3}).map((b,y)=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dt,{className:"bg-gray-200 w-full h-10"})},y))})})]}),(0,fr.jsxs)(Ir,{children:[(0,fr.jsx)($rP,{children:"Table of Contents"}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:Array.from({length:3}).map((b,y)=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dt,{className:"bg-gray-200 w-full h-10"})},y))})})]})]}),e&&!rP&&Object.keys(e).length>0&&(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Ir,{children:[(0,fr.jsx)($rP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Related Content",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:(0,fr.jsx)(hr,{children:e&&Object.keys(e).map(b=>(0,fr.jsxs)(rr,{children:[(0,fr.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",b.charAt(0).toUpperCase()+b.slice(1)]}),b&&e[b]&&(0,fr.jsx)(yo,{children:e[b].map(y=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,isActive:!1,size:"sm",children:(0,fr.jsxs)(g,{href:y.url,item:y,className:"flex justify-between items-center w-full text-xs",children:[(0,fr.jsx)("span",{children:y.label}),y.type==="note"&&(0,fr.jsx)(Ln.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),y.type==="draft"&&(0,fr.jsx)(qr,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},y.label))})]},b))})})})]})}),t&&!rP&&(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Ir,{children:[(0,fr.jsx)($rP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Table of Contents",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:(0,fr.jsx)(hr,{children:t.map(b=>{var y;return(0,fr.jsxs)(rr,{children:[(0,fr.jsx)(Dr,{asChild:!0,children:(0,fr.jsx)("a",{href:`#${b.url}`,className:"text-xs",children:b.title})}),(y=b.items)!=null&&y.length?(0,fr.jsx)(yo,{children:b.items.map(E=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,isActive:E.isActive,size:"sm",children:(0,fr.jsx)("a",{href:`#${E.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,fr.jsx)("span",{children:E.title})})})},E.title))}):null]},b.title)})})})})]})})]}),(0,fr.jsx)(ri,{})]})}var fu=$t(require("clsx"));function hh({mainNav:e,secondaryNav:t,title:r,subTitle:rP,pathName:o,menuHeading:i,onNavClick:s,loading:l=!1,LinkComponent:u,...d}){let p=u?h=>(0,fr.jsx)(u,{...h}):s?({href:h,children:m,...g})=>(0,fr.jsx)("button",{onClick:()=>s&&s(h),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...g,children:m}):h=>(0,fr.jsx)("a",{...h});return(0,fr.jsxs)(ei,{...d,variant:"inset",children:[(0,fr.jsx)(ti,{children:(0,fr.jsx)(hr,{children:(0,fr.jsx)(rr,{children:l?(0,fr.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,fr.jsx)(Dt,{className:"bg-gray-200 my-2 w-full h-7"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,fr.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,fr.jsx)("span",{className:"truncate font-semibold",children:r}),rP&&(0,fr.jsx)("span",{className:"truncate text-sm",children:rP})]})})})}),l&&(0,fr.jsxs)(bo,{children:[(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,fr.jsxs)(bo,{children:[e&&!l&&e.map((h,m)=>(0,fr.jsx)(Q2,{subNav:h,pathName:o,Link:p},m)),(0,fr.jsx)(Ir,{className:"fr-auto",children:(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:t&&!l&&t.map(h=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dr,{asChild:!0,size:"sm",children:(0,fr.jsxs)(p,{href:h.url||"",children:[h.icon&&(0,fr.jsx)(h.icon,{}),(0,fr.jsx)("span",{children:h.label})]})})},h.label))})})})]}),(0,fr.jsx)(ri,{})]})}function Q2({subNav:e,pathName:t,Link:r}){var i,s;let rP=e,o=!1;return rP.links&&rP.links.map(l=>{l.url===t&&(o=!0)}),(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsx)(Ir,{className:"py-0",children:(0,fr.jsx)(hr,{children:(0,fr.jsx)(Un,{asChild:!0,defaultOpen:rP.isActive,children:(0,fr.jsxs)(rr,{children:[(0,fr.jsx)(Dr,{asChild:!0,tooltip:rP.label,className:(0,fu.default)(o&&"font-bold text-accent"),children:(0,fr.jsxs)(r,{href:rP.url,children:[rP.icon&&(0,fr.jsx)(rP.icon,{}),(0,fr.jsx)("span",{children:rP.label})]})}),(i=rP.links)!=null&&i.length?(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(wo,{asChild:!0,children:(0,fr.jsxs)(pu,{className:"data-[state=open]:rotate-90",children:[(0,fr.jsx)(Ln.ChevronRight,{}),(0,fr.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,fr.jsx)(So,{children:(0,fr.jsx)(yo,{children:(s=rP.links)==null?void 0:s.map(l=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,className:(0,fu.default)(l.url===t&&"font-bold text-accent"),children:(0,fr.jsx)(r,{href:l.url,children:(0,fr.jsx)("span",{children:l.label})})})},l.label))})})]}):null]})},rP.label)})})})}var sr=require("@headlessui/react"),ss=require("@heroicons/react/24/outline"),ni=require("@heroicons/react/20/solid");var Z2=({name:e,items:t,actions:r=[],href:rP})=>!t&&rP?(0,fr.jsxs)("a",{href:rP,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,fr.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,fr.jsxs)(sr.Popover,{children:[(0,fr.jsxs)(sr.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,fr.jsxs)("span",{className:"relative",children:[e,(0,fr.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,fr.jsx)(ni.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,fr.jsxs)(sr.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover fr-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,fr.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,fr.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,fr.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,fr.jsx)(o.icon,{"aria-hidden":"true",size:"6x"})}),(0,fr.jsxs)("a",{href:o.href,className:"fr-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,fr.jsx)("span",{className:"absolute inset-0"})]}),(0,fr.jsx)("p",{className:"fr-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,fr.jsx)("div",{className:"bg-gray-50",children:(0,fr.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,fr.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,fr.jsxs)("a",{href:o.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,fr.jsx)(o.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),gh=Z2;var is=["light","dark","green"];function bh({title:e,logo:t,menuItems:r}){let[rP,o]=(0,os.useState)(!1),[i,s]=(0,os.useState)(!1),[l,u]=(0,os.useState)("light"),d=t==null?void 0:t.split(".")[0],c=t==null?void 0:t.split(".")[1],[p,h]=(0,os.useState)(`${d}.${c}`),m=b=>{is.includes(b)?h(b==="light"?`${d}.${c}`:`${d}-${b}.${c}`):h(`${d}.${c}`)};(0,os.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";console.log("storedTheme",b),u(b),document.documentElement.setAttribute("class",b),m(b)},[]);let g=()=>{let b=is[(is.indexOf(l)+1)%is.length];u(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b),m(b)};return(0,fr.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,fr.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,fr.jsx)("div",{className:"flex lg:flex-1",children:(0,fr.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:e}),(0,fr.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,fr.jsx)("div",{className:"flex lg:hidden",children:(0,fr.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,fr.jsx)(ss.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,fr.jsx)(sr.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(b=>(0,fr.jsx)(gh,{...b},b.name))}),(0,fr.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,fr.jsx)("button",{onClick:g,className:"p-2 text-gray-700 outline-none",children:l==="dark"?(0,fr.jsx)(ni.SunIcon,{className:"h-6 w-6"}):l==="green"?(0,fr.jsx)(ni.MoonIcon,{className:"h-6 w-6"}):(0,fr.jsx)(ni.SunIcon,{className:"h-6 w-6"})})})]}),(0,fr.jsxs)(sr.Dialog,{open:rP,onClose:o,className:"lg:hidden",children:[(0,fr.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,fr.jsxs)(sr.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,fr.jsxs)("div",{className:"flex items-center justify-between",children:[(0,fr.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,fr.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,fr.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,fr.jsx)(ss.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,fr.jsx)("div",{className:"fr-6 flow-root",children:(0,fr.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,fr.jsx)("div",{className:"space-y-2 py-6",children:r.map(b=>(0,fr.jsx)(eC,{...b},b.name))})})})]})]})]})}function eC({name:e,items:t,actions:r,href:rP}){return!t&&rP?(0,fr.jsx)("a",{href:rP,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,fr.jsxs)(sr.Disclosure,{as:"div",className:"-mx-3",children:[(0,fr.jsx)(sr.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,fr.jsx)(sr.DisclosurePanel,{className:"fr-2 space-y-2",children:t&&t.map(o=>(0,fr.jsx)(sr.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var cs=$t(require("react")),tC=1,rC=1e6;var hu=0;function nC(){return hu=(hu+1)%Number.MAX_SAFE_INTEGER,hu.toString()}var mu=new Map,yh=e=>{if(mu.has(e))return;let t=setTimeout(()=>{mu.delete(e),oi({type:"REMOVE_TOAST",toastId:e})},rC);mu.set(e,t)},oC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,tC)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?yh(r):e.toasts.forEach(rP=>{yh(rP.id)}),{...e,toasts:e.toasts.map(rP=>rP.id===r||r===void 0?{...rP,open:!1}:rP)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},ls=[],us={toasts:[]};function oi(e){us=oC(us,e),ls.forEach(t=>{t(us)})}function aC({...e}){let t=nC(),r=o=>oi({type:"UPDATE_TOAST",toast:{...o,id:t}}),rP=()=>oi({type:"DISMISS_TOAST",toastId:t});return oi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||rP()}}}),{id:t,dismiss:rP,update:r}}function vh(){let[e,t]=cs.useState(us);return cs.useEffect(()=>(ls.push(t),()=>{let r=ls.indexOf(t);r>-1&&ls.splice(r,1)}),[e]),{...e,toast:aC,dismiss:r=>oi({type:"DISMISS_TOAST",toastId:r})}}var zn=$t(require("react")),Nt=$t(require("@radix-ui/react-toast"));var wh=Nt.Provider,gu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Viewport,{ref:r,className:De("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));gu.displayName=Nt.Viewport.displayName;var iC=(0,sh.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),bu=zn.forwardRef(({className:e,variant:t,...r},rP)=>(0,fr.jsx)(Nt.Root,{ref:rP,className:De(iC({variant:t}),e),...r}));bu.displayName=Nt.Root.displayName;var sC=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Action,{ref:r,className:De("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));sC.displayName=Nt.Action.displayName;var yu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Close,{ref:r,className:De("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,fr.jsx)(Ln.X,{className:"h-4 w-4"})}));yu.displayName=Nt.Close.displayName;var vu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Title,{ref:r,className:De("text-sm font-semibold [&+div]:text-xs",e),...t}));vu.displayName=Nt.Title.displayName;var Eu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Description,{ref:r,className:De("text-sm opacity-90",e),...t}));Eu.displayName=Nt.Description.displayName;function Sh(){let{toasts:e}=vh();return(0,fr.jsxs)(wh,{children:[e.map(function({id:t,title:r,description:rP,action:o,...i}){return(0,fr.jsxs)(bu,{...i,children:[(0,fr.jsxs)("div",{className:"grid gap-1",children:[r&&(0,fr.jsx)(vu,{children:r}),rP&&(0,fr.jsx)(Eu,{children:rP})]}),o,(0,fr.jsx)(yu,{})]},t)}),(0,fr.jsx)(gu,{})]})}function ds({...e}){return(0,fr.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,fr.jsx)(bh,{...e.header}),(0,fr.jsxs)(lu,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[(0,fr.jsx)(hh,{...e.sidebarLeft,className:"flex-none"}),(0,fr.jsxs)(cu,{className:"grow overflow-hidden",children:[(0,fr.jsx)("header",{className:"flex h-16 shrink-0 items-center gap-2",children:(0,fr.jsxs)("div",{className:"flex items-center gap-2 px-4",children:[(0,fr.jsx)(uu,{className:"-ml-1"}),(0,fr.jsx)(Qa,{orientation:"vertical",className:"Ln-2 h-4"}),(0,fr.jsx)(Xl,{children:(0,fr.jsxs)(Ql,{children:[(0,fr.jsx)(ns,{className:"hidden md:block",children:(0,fr.jsx)(Zl,{href:"#",children:"Building Your Application"})}),(0,fr.jsx)(tu,{className:"hidden md:block"}),(0,fr.jsx)(ns,{children:(0,fr.jsx)(eu,{children:"Data Fetching"})})]})})]})}),(0,fr.jsxs)("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[(0,fr.jsxs)("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),(0,fr.jsx)("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),(0,fr.jsx)(ph,{...e.sidebarRight,className:"flex-none"})]}),(0,fr.jsx)(Sh,{})]})}var Kr=$t(gS());var dH=()=>(0,fr.jsx)(qr,{iconName:"github",size:"4x",type:"brands"}),pH=()=>(0,fr.jsx)(qr,{iconName:"aws",type:"brands"}),fH=()=>(0,fr.jsx)(qr,{iconName:"azure",type:"kit"}),hH=()=>(0,fr.jsx)(qr,{iconName:"people-sharing",size:"4x",type:"kit"}),mH=()=>(0,fr.jsx)(qr,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),gH=()=>(0,fr.jsx)(qr,{iconName:"development",size:"4x",type:"kit"}),bH={title:"Pages/Documentation",component:ds,decorators:[e=>(0,fr.jsx)("div",{className:"bg-sidebar",children:(0,fr.jsx)(e,{})})]},yH=e=>(0,fr.jsx)(ds,{...e}),vH={render:yH,args:{header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:mH},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:hH},{name:"Products",description:"Products that we sell",href:"#",icon:gH}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:ss.ChartPieIcon},{name:"API Reference",href:"#",icon:ss.CursorArrowRaysIcon},{name:"Github",href:"#",icon:dH}],actions:[{name:"Watch demo",href:"#",icon:ni.PlayCircleIcon},{name:"Contact sales",href:"#",icon:ni.PhoneIcon},{name:"View all products",href:"#",icon:ni.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},onToggleAppGrid:()=>{(0,Kr.fn)()},sidebarLeft:{title:"Playground",subTitle:"Airview",mainNav:[{label:"AWS",url:"#",icon:pH,isActive:!0,links:[{label:"EC2",url:"#"},{label:"IAM",url:"#"},{label:"S3",url:"#"}]},{label:"Microsoft Azure",url:"#",icon:fH,links:[{label:"Virtual Machines",url:"#"},{label:"Storage",url:"#"},{label:"Azure SQL",url:"#"}]},{label:"Documentation",url:"#",icon:Ln.BookOpen,links:[{label:"Introduction",url:"#"},{label:"Get Started",url:"#"},{label:"Tutorials",url:"#"},{label:"Changelog",url:"#"}]},{label:"Settings",url:"#",icon:Ln.Settings2,links:[{label:"General",url:"#"},{label:"Team",url:"#"},{label:"Billing",url:"#"},{label:"Limits",url:"#"}]}],secondaryNav:[{label:"Support",url:"#",icon:Ln.LifeBuoy},{label:"Feedback",url:"#",icon:Ln.Send}],onSidebarMenu:(0,Kr.fn)()},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,Kr.fn)(),onEditDocument:(0,Kr.fn)(),onPrintDocument:(0,Kr.fn)()},github:{onPublishDraft:(0,Kr.fn)(),handleNewBranch:(0,Kr.fn)(),handlePR:(0,Kr.fn)(),onSave:(0,Kr.fn)()}}};0&&(module.exports={Default});
|
|
439
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:H6,configure:z6,createEvent:V6,fireEvent:G6,findAllByAltText:W6,findAllByDisplayValue:Y6,findAllByLabelText:K6,findAllByPlaceholderText:J6,findAllByRole:X6,findAllByTestId:Q6,findAllByText:Z6,findAllByTitle:eU,findByAltText:tU,findByDisplayValue:rU,findByLabelText:nU,findByPlaceholderText:oU,findByRole:aU,findByTestId:iU,findByText:sU,findByTitle:lU,getAllByAltText:uU,getAllByDisplayValue:cU,getAllByLabelText:dU,getAllByPlaceholderText:pU,getAllByRole:fU,getAllByTestId:hU,getAllByText:mU,getAllByTitle:gU,getByAltText:bU,getByDisplayValue:yU,getByLabelText:vU,getByPlaceholderText:EU,getByRole:_U,getByTestId:wU,getByText:SU,getByTitle:CU,getConfig:AU,getDefaultNormalizer:RU,getElementError:TU,getNodeText:xU,getQueriesForElement:PU,getRoles:OU,getSuggestedQuery:NU,isInaccessible:MU,logDOM:IU,logRoles:DU,prettyDOM:qU,queries:jU,queryAllByAltText:BU,queryAllByAttribute:kU,queryAllByDisplayValue:FU,queryAllByLabelText:LU,queryAllByPlaceholderText:$U,queryAllByRole:UU,queryAllByTestId:HU,queryAllByText:zU,queryAllByTitle:VU,queryByAltText:GU,queryByAttribute:WU,queryByDisplayValue:YU,queryByLabelText:KU,queryByPlaceholderText:JU,queryByRole:XU,queryByTestId:QU,queryByText:ZU,queryByTitle:eH,queryHelpers:tH,screen:rH,waitFor:nH,waitForElementToBeRemoved:oH,within:mS,prettyFormat:aH}=lp,{userEvent:iH}=(0,hS.instrument)({userEvent:F6},{intercept:!0}),{expect:sH}=(0,Ej.instrument)({expect:r_},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let rP=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?rP:[...rP,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),lH=({parameters:e})=>{var t,r,rP;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?s_():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?i_():((rP=e==null?void 0:e.test)==null?void 0:rP.restoreMocks)!==!1&&l_()},hl=(e,t=0,r)=>{var rP;if(t>5||e==null)return e;if(cf(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=o_(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>hl(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(rP=Object.getOwnPropertyDescriptor(e,o))!=null&&rP.writable&&(e[o]=hl(i,t,o));return e}return e},uH=({initialArgs:e})=>{hl(e)},cH=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=mS(e.canvasElement))};Sv.global.__STORYBOOK_TEST_LOADERS__=[lH,uH,cH];Sv.global.__STORYBOOK_TEST_ON_MOCK_CALL__=n_});var EH={};QS(EH,{Default:()=>vH,default:()=>bH});module.exports=ZS(EH);var Ln=require("lucide-react");var mo=$t(require("react")),rs=require("@radix-ui/react-icons"),Uf=require("@radix-ui/react-slot");var $f=require("clsx");var Jl="-",e2=e=>{let t=r2(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:rP}=e;return{getClassGroupId:s=>{let l=s.split(Jl);return l[0]===""&&l.length!==1&&l.shift(),qf(l,t)||t2(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&rP[s]?[...u,...rP[s]]:u}}},qf=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],rP=t.nextPart.get(r),o=rP?qf(e.slice(1),rP):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Jl);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},If=/^\[(.+)\]$/,t2=e=>{if(If.test(e)){let t=If.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},r2=e=>{let{theme:t,prefix:r}=e,rP={nextPart:new Map,validators:[]};return o2(Object.entries(e.classGroups),r).forEach(([i,s])=>{Kl(s,rP,i,t)}),rP},Kl=(e,t,r,rP)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:Df(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(n2(o)){Kl(o(rP),t,r,rP);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Kl(s,Df(t,i),r,rP)})})},Df=(e,t)=>{let r=e;return t.split(Jl).forEach(rP=>{r.nextPart.has(rP)||r.nextPart.set(rP,{nextPart:new Map,validators:[]}),r=r.nextPart.get(rP)}),r},n2=e=>e.isThemeGetter,o2=(e,t)=>t?e.map(([r,rP])=>{let o=rP.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,a2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,rP=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,rP=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=rP.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},jf="!",i2=e=>{let{separator:t,experimentalParseClassName:r}=e,rP=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let y=0;y<l.length;y++){let E=l[y];if(d===0){if(E===o&&(rP||l.slice(y,y+i)===t)){u.push(l.slice(c,y)),c=y+i;continue}if(E==="/"){p=y;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(jf),g=m?h.substring(1):h,b=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:b}};return r?l=>r({className:l,parseClassName:s}):s},s2=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(rP=>{rP[0]==="["?(t.push(...r.sort(),rP),r=[]):r.push(rP)}),t.push(...r.sort()),t},l2=e=>({cache:a2(e.cacheSize),parseClassName:i2(e),...e2(e)}),u2=/\s+/,c2=(e,t)=>{let{parseClassName:r,getClassGroupId:rP,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(u2),l="";for(let u=s.length-1;u>=0;u-=1){let d=s[u],{modifiers:c,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}=r(d),g=!!m,b=rP(g?h.substring(0,m):h);if(!b){if(!g){l=d+(l.length>0?" "+l:l);continue}if(b=rP(h),!b){l=d+(l.length>0?" "+l:l);continue}g=!1}let y=s2(c).join(":"),E=p?y+jf:y,_=E+b;if(i.includes(_))continue;i.push(_);let P=o(b,g);for(let C=0;C<P.length;++C){let w=P[C];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function d2(){let e=0,t,r,rP="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Bf(t))&&(rP&&(rP+=" "),rP+=r);return rP}var Bf=e=>{if(typeof e=="string")return e;let t,r="";for(let rP=0;rP<e.length;rP++)e[rP]&&(t=Bf(e[rP]))&&(r&&(r+=" "),r+=t);return r};function p2(e,...t){let r,rP,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=l2(d),rP=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=rP(u);if(d)return d;let c=c2(u,r);return o(u,c),c}return function(){return i(d2.apply(null,arguments))}}var yt=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},kf=/^\[(?:([a-z-]+):)?(.+)\]$/i,f2=/^\d+\/\d+$/,h2=new Set(["px","full","screen"]),m2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|fr|ex|r?Ln|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,b2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,y2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Xr=e=>fo(e)||h2.has(e)||f2.test(e),hn=e=>ho(e,"length",T2),fo=e=>!!e&&!Number.isNaN(Number(e)),Yl=e=>ho(e,"number",fo),Ja=e=>!!e&&Number.isInteger(Number(e)),E2=e=>e.endsWith("%")&&fo(e.slice(0,-1)),ze=e=>kf.test(e),mn=e=>m2.test(e),_2=new Set(["length","size","percentage"]),w2=e=>ho(e,_2,Ff),S2=e=>ho(e,"position",Ff),C2=new Set(["image","url"]),A2=e=>ho(e,C2,P2),R2=e=>ho(e,"",x2),Xa=()=>!0,ho=(e,t,r)=>{let rP=kf.exec(e);return rP?rP[1]?typeof t=="string"?rP[1]===t:t.has(rP[1]):r(rP[2]):!1},T2=e=>g2.test(e)&&!b2.test(e),Ff=()=>!1,x2=e=>y2.test(e),P2=e=>v2.test(e);var O2=()=>{let e=yt("colors"),t=yt("spacing"),r=yt("blur"),rP=yt("brightness"),o=yt("borderColor"),i=yt("borderRadius"),s=yt("borderSpacing"),l=yt("borderWidth"),u=yt("contrast"),d=yt("grayscale"),c=yt("hueRotate"),p=yt("invert"),h=yt("gap"),m=yt("gradientColorStops"),g=yt("gradientColorStopPositions"),b=yt("inset"),y=yt("margin"),E=yt("opacity"),_=yt("padding"),P=yt("saturate"),C=yt("scale"),w=yt("sepia"),S=yt("skew"),T=yt("space"),A=yt("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",ze,t],V=()=>[ze,t],J=()=>["",Xr,hn],x=()=>["auto",fo,ze],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],Re=()=>["","0",ze],Fe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Oe=()=>[fo,ze];return{cacheSize:500,separator:":",theme:{colors:[Xa],spacing:[Xr,hn],blur:["none","",mn,ze],brightness:Oe(),borderColor:[e],borderRadius:["none","","full",mn,ze],borderSpacing:V(),borderWidth:J(),contrast:Oe(),grayscale:Re(),hueRotate:Oe(),invert:Re(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[E2,hn],inset:X(),margin:X(),opacity:Oe(),padding:V(),saturate:Oe(),scale:Oe(),sepia:Re(),skew:Oe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",ze]}],container:["container"],columns:[{columns:[mn]}],"break-after":[{"break-after":Fe()}],"break-before":[{"break-before":Fe()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),ze]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ja,ze]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ze]}],grow:[{grow:Re()}],shrink:[{shrink:Re()}],order:[{order:["first","last","none",Ja,ze]}],"grid-cols":[{"grid-cols":[Xa]}],"col-start-end":[{col:["auto",{span:["full",Ja,ze]},ze]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Xa]}],"row-start-end":[{row:["auto",{span:[Ja,ze]},ze]}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ze]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ze]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],fr:[{fr:[y]}],Ln:[{Ln:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ze,t]}],"min-w":[{"min-w":[ze,t,"min","max","fit"]}],"max-w":[{"max-w":[ze,t,"none","full","min","max","fit","prose",{screen:[mn]},mn]}],h:[{h:[ze,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ze,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ze,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ze,t,"auto","min","max","fit"]}],"font-size":[{text:["base",mn,hn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Yl]}],"font-family":[{font:[Xa]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ze]}],"line-clamp":[{"line-clamp":["none",fo,Yl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Xr,ze]}],"list-image":[{"list-image":["none",ze]}],"list-style-type":[{list:["none","disc","decimal",ze]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Xr,hn]}],"underline-offset":[{"underline-offset":["auto",Xr,ze]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ze]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ze]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),S2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",w2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},A2]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:K()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Xr,ze]}],"outline-w":[{outline:[Xr,hn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[Xr,hn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",mn,R2]}],"shadow-color":[{shadow:[Xa]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":[...fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[rP]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",mn,ze]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[P]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[rP]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ze]}],duration:[{duration:Oe()}],ease:[{ease:["linear","in","out","in-out",ze]}],delay:[{delay:Oe()}],animate:[{animate:["none","spin","ping","pulse","bounce",ze]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[Ja,ze]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ze]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","rP-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ze]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-fr":[{"scroll-fr":V()}],"scroll-Ln":[{"scroll-Ln":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ze]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Xr,hn,Yl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","fr","Ln","mb","ml"],mx:["Ln","ml"],my:["fr","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-fr","scroll-Ln","scroll-mb","scroll-ml"],"scroll-mx":["scroll-Ln","scroll-ml"],"scroll-my":["scroll-fr","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Lf=p2(O2);function De(...e){return Lf((0,$f.clsx)(e))}var fr=require("react/jsx-runtime"),Xl=mo.forwardRef(({...e},t)=>(0,fr.jsx)("nav",{ref:t,"aria-label":"breadcrumb",...e}));Xl.displayName="Breadcrumb";var Ql=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ol",{ref:r,className:De("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Ql.displayName="BreadcrumbList";var ns=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("li",{ref:r,className:De("inline-flex items-center gap-1.5",e),...t}));ns.displayName="BreadcrumbItem";var Zl=mo.forwardRef(({asChild:e,className:t,...r},rP)=>(0,fr.jsx)(e?Uf.Slot:"a",{ref:rP,className:De("transition-colors hover:text-foreground",t),...r}));Zl.displayName="BreadcrumbLink";var eu=mo.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:De("font-normal text-foreground",e),...t}));eu.displayName="BreadcrumbPage";var tu=({children:e,className:t,...r})=>(0,fr.jsx)("li",{role:"presentation","aria-hidden":"true",className:De("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...r,children:e!=null?e:(0,fr.jsx)(rs.ChevronRightIcon,{})});tu.displayName="BreadcrumbSeparator";var N2=({className:e,...t})=>(0,fr.jsxs)("span",{role:"presentation","aria-hidden":"true",className:De("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,fr.jsx)(rs.DotsHorizontalIcon,{className:"h-4 w-4"}),(0,fr.jsx)("span",{className:"sr-only",children:"More"})]});N2.displayName="BreadcrumbElipssis";var Hf=$t(require("react")),ru=$t(require("@radix-ui/react-separator"));var Qa=Hf.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...rP},o)=>(0,fr.jsx)(ru.Root,{ref:o,decorative:r,orientation:t,className:De("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...rP}));Qa.displayName=ru.Root.displayName;var et=$t(require("react")),sh=require("class-variance-authority");var os=require("react"),Vf=(e=768)=>{let[t,r]=(0,os.useState)(!1);return(0,os.useEffect)(()=>{let rP=()=>{r(window.innerWidth<e)};return rP(),window.addEventListener("resize",rP),()=>window.removeEventListener("resize",rP)},[e]),t};var Yf=$t(require("react")),M2=(0,sh.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-primary text-primary-foreground hover:bg-primary-ON_HOVER",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80"}}}),nu=Yf.forwardRef(({asChild:e=!1,className:t,size:r,variant:rP,...o},i)=>(0,fr.jsx)(e?Uf.Slot:"button",{className:De(M2({className:t,size:r,variant:rP})),ref:i,...o}));nu.displayName="Button";var Jf=$t(require("react"));var ou=Jf.forwardRef(({className:e,type:t,...r},rP)=>(0,fr.jsx)("input",{type:t,className:De("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:rP,...r}));ou.displayName="Input";var Za=$t(require("react")),It=$t(require("@radix-ui/react-dialog"));var eh=It.Root;var I2=It.Portal,th=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Overlay,{className:De("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:r}));th.displayName=It.Overlay.displayName;var D2=(0,sh.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),au=Za.forwardRef(({side:e="right",className:t,children:r,...rP},o)=>(0,fr.jsxs)(I2,{children:[(0,fr.jsx)(th,{}),(0,fr.jsxs)(It.Content,{ref:o,className:De(D2({side:e}),t),...rP,children:[(0,fr.jsxs)(It.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,fr.jsx)(rs.Cross2Icon,{className:"h-4 w-4"}),(0,fr.jsx)("span",{className:"sr-only",children:"Close"})]}),r]})]}));au.displayName=It.Content.displayName;var q2=({className:e,...t})=>(0,fr.jsx)("div",{className:De("flex flex-col space-y-2 text-center sm:text-left",e),...t});q2.displayName="SheetHeader";var j2=({className:e,...t})=>(0,fr.jsx)("div",{className:De("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});j2.displayName="SheetFooter";var B2=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Title,{ref:r,className:De("text-lg font-semibold text-foreground",e),...t}));B2.displayName=It.Title.displayName;var k2=Za.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(It.Description,{ref:r,className:De("text-sm text-muted-foreground",e),...t}));k2.displayName=It.Description.displayName;function Dt({className:e,...t}){return(0,fr.jsx)("div",{className:De("animate-pulse rounded-md bg-primary/10",e),...t})}var nh=$t(require("react")),wr=$t(require("@radix-ui/react-tooltip"));var oh=wr.Provider,ah=wr.Root,ih=wr.Trigger,su=nh.forwardRef(({className:e,sideOffset:t=4,...r},rP)=>(0,fr.jsx)(wr.Portal,{children:(0,fr.jsx)(wr.Content,{ref:rP,sideOffset:t,className:De("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));su.displayName=wr.Content.displayName;var F2="sidebar:state",L2=60*60*24*7,$2="16rem",U2="18rem",H2="3rem",z2="b",uh=et.createContext(null);function as(){let e=et.useContext(uh);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var lu=et.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:r,className:rP,style:o,children:i,...s},l)=>{let u=Vf(),[d,c]=et.useState(!1),[p,h]=et.useState(e),m=t!=null?t:p,g=et.useCallback(_=>{if(r)return r==null?void 0:r(typeof _=="function"?_(m):_);h(_),document.cookie=`${F2}=${m}; path=/; max-age=${L2}`},[r,m]),b=et.useCallback(()=>u?c(_=>!_):g(_=>!_),[u,g,c]);et.useEffect(()=>{let _=P=>{P.key===z2&&(P.metaKey||P.ctrlKey)&&(P.preventDefault(),b())};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[b]);let y=m?"expanded":"collapsed",E=et.useMemo(()=>({state:y,open:m,setOpen:g,isMobile:u,openMobile:d,setOpenMobile:c,toggleSidebar:b}),[y,m,g,u,d,c,b]);return(0,fr.jsx)(uh.Provider,{value:E,children:(0,fr.jsx)(oh,{delayDuration:0,children:(0,fr.jsx)("div",{style:{"--sidebar-width":$2,"--sidebar-width-icon":H2,...o},className:De("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",rP),ref:l,...s,children:i})})})});lu.displayName="SidebarProvider";var ei=et.forwardRef(({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:rP,children:o,...i},s)=>{let{isMobile:l,state:u,openMobile:d,setOpenMobile:c}=as();return r==="none"?(0,fr.jsx)("div",{className:De("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",rP),ref:s,...i,children:o}):l?(0,fr.jsx)(eh,{open:d,onOpenChange:c,...i,children:(0,fr.jsx)(au,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":U2},side:e,children:(0,fr.jsx)("div",{className:"flex h-full w-full flex-col",children:o})})}):(0,fr.jsxs)("div",{ref:s,className:"group peer hidden md:block text-sidebar-foreground","data-state":u,"data-collapsible":u==="collapsed"?r:"","data-variant":t,"data-side":e,children:[(0,fr.jsx)("div",{className:De("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),(0,fr.jsx)("div",{className:De("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",rP),...i,children:(0,fr.jsx)("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:o})})]})});ei.displayName="Sidebar";var uu=et.forwardRef(({className:e,onClick:t,...r},rP)=>{let{toggleSidebar:o}=as();return(0,fr.jsxs)(nu,{ref:rP,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:De("h-7 w-7",e),onClick:i=>{t==null||t(i),o()},...r,children:[(0,fr.jsx)(Ln.PanelLeft,{}),(0,fr.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})});uu.displayName="SidebarTrigger";var V2=et.forwardRef(({className:e,...t},r)=>{let{toggleSidebar:rP}=as();return(0,fr.jsx)("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:rP,title:"Toggle Sidebar",className:De("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});V2.displayName="SidebarRail";var cu=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("main",{ref:r,className:De("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));cu.displayName="SidebarInset";var G2=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(ou,{ref:r,"data-sidebar":"input",className:De("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));G2.displayName="SidebarInput";var ti=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"header",className:De("flex flex-col gap-2 p-2",e),...t}));ti.displayName="SidebarHeader";var ri=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"footer",className:De("flex flex-col gap-2 p-2",e),...t}));ri.displayName="SidebarFooter";var du=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Qa,{ref:r,"data-sidebar":"separator",className:De("mx-2 w-auto bg-sidebar-border",e),...t}));du.displayName="SidebarSeparator";var bo=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"content",className:De("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));bo.displayName="SidebarContent";var Ir=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"group",className:De("relative flex w-full min-w-0 flex-col p-2",e),...t}));Ir.displayName="SidebarGroup";var $rP=et.forwardRef(({className:e,asChild:t=!1,...r},rP)=>(0,fr.jsx)(t?Uf.Slot:"div",{ref:rP,"data-sidebar":"group-label",className:De("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-fr-8 group-data-[collapsible=icon]:opacity-0",e),...r}));$rP.displayName="SidebarGroupLabel";var W2=et.forwardRef(({className:e,asChild:t=!1,...r},rP)=>(0,fr.jsx)(t?Uf.Slot:"button",{ref:rP,"data-sidebar":"group-action",className:De("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...r}));W2.displayName="SidebarGroupAction";var Qr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"group-content",className:De("w-full text-sm",e),...t}));Qr.displayName="SidebarGroupContent";var hr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ul",{ref:r,"data-sidebar":"menu",className:De("flex w-full min-w-0 flex-col gap-1",e),...t}));hr.displayName="SidebarMenu";var rr=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("li",{ref:r,"data-sidebar":"menu-item",className:De("group/menu-item relative",e),...t}));rr.displayName="SidebarMenuItem";var Y2=(0,sh.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Dr=et.forwardRef(({asChild:e=!1,isActive:t=!1,variant:r="default",size:rP="default",tooltip:o,className:i,...s},l)=>{let u=e?Uf.Slot:"button",{isMobile:d,state:c}=as(),p=(0,fr.jsx)(u,{ref:l,"data-sidebar":"menu-button","data-size":rP,"data-active":t,className:De(Y2({variant:r,size:rP}),i),...s});return o?(typeof o=="string"&&(o={children:o}),(0,fr.jsxs)(ah,{children:[(0,fr.jsx)(ih,{asChild:!0,children:p}),(0,fr.jsx)(su,{side:"right",align:"center",hidden:c!=="collapsed"||d,...o})]})):p});Dr.displayName="SidebarMenuButton";var pu=et.forwardRef(({className:e,asChild:t=!1,showOnHover:r=!1,...rP},o)=>(0,fr.jsx)(t?Uf.Slot:"button",{ref:o,"data-sidebar":"menu-action",className:De("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...rP}));pu.displayName="SidebarMenuAction";var K2=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("div",{ref:r,"data-sidebar":"menu-badge",className:De("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));K2.displayName="SidebarMenuBadge";var J2=et.forwardRef(({className:e,showIcon:t=!1,...r},rP)=>{let o=et.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return(0,fr.jsxs)("div",{ref:rP,"data-sidebar":"menu-skeleton",className:De("rounded-md h-8 flex gap-2 px-2 items-center",e),...r,children:[t&&(0,fr.jsx)(Dt,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,fr.jsx)(Dt,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})});J2.displayName="SidebarMenuSkeleton";var yo=et.forwardRef(({className:e,...t},r)=>(0,fr.jsx)("ul",{ref:r,"data-sidebar":"menu-sub",className:De("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));yo.displayName="SidebarMenuSub";var vo=et.forwardRef(({...e},t)=>(0,fr.jsx)("li",{ref:t,...e}));vo.displayName="SidebarMenuSubItem";var Eo=et.forwardRef(({asChild:e=!1,size:t="md",isActive:r,className:rP,...o},i)=>(0,fr.jsx)(e?Uf.Slot:"a",{ref:i,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:De("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",rP),...o}));Eo.displayName="SidebarMenuSubButton";var _o=$t(require("@radix-ui/react-collapsible")),Un=_o.Root,wo=_o.CollapsibleTrigger,So=_o.CollapsibleContent;var dh=$t(require("clsx"));var qr=({type:e="solid",iconName:t="cloud",size:r="lg",className:rP})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=rP!=null?rP:"",l=o+i+" fa-"+r+" "+s;return(0,fr.jsx)("i",{className:l})};var X2=()=>(0,fr.jsx)(qr,{iconName:"github",size:"10x"});function ph({relatedContent:e,tableOfContents:t,editorComponent:r,loading:rP=!1,editMode:o=!1,onAddDocument:i,onEditDocument:s,onPrintDocument:l,onGithubClick:u,onNavClick:d,LinkComponent:c,...p}){let g=c?b=>(0,fr.jsx)(c,{...b}):d?({item:b,children:y,...E})=>(0,fr.jsx)("button",{onClick:()=>d&&d(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...E,children:y}):b=>(0,fr.jsx)("a",{href:b.href,...b});return(0,fr.jsxs)(ei,{side:"right",variant:"inset",...p,children:[(0,fr.jsxs)(ti,{className:"border-b border-sidebar-border",children:[(0,fr.jsxs)(hr,{className:"flex-row space-x-1",children:[(0,fr.jsx)(rr,{children:(0,fr.jsxs)(Dr,{onClick:i,children:[(0,fr.jsx)(Ln.FilePlus,{})," ",(0,fr.jsx)("span",{children:"Add Document"})]})}),u&&(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dr,{onClick:u,tooltip:"Open in GitHub",children:(0,fr.jsx)(X2,{})})})]}),(0,fr.jsxs)(hr,{className:"flex-row space-x-1",children:[(0,fr.jsx)(rr,{className:"w-5/12",children:(0,fr.jsxs)(Dr,{onClick:()=>s(),variant:o?"outline":"default",className:(0,dh.default)(o&&"text-accent"),children:[(0,fr.jsx)(Ln.Edit,{})," ",(0,fr.jsx)("span",{children:"Edit"})]})}),(0,fr.jsx)(rr,{className:"w-5/12",children:(0,fr.jsxs)(Dr,{onClick:l,children:[(0,fr.jsx)(Ln.Printer,{})," ",(0,fr.jsx)("span",{children:"Print"})]})})]})]}),r&&(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Ir,{children:[(0,fr.jsx)($rP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Editor Controls",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:r})})]})}),(0,fr.jsx)(du,{className:"mx-0"})]}),(0,fr.jsxs)(bo,{className:"overflow-auto",children:[rP&&(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsxs)(Ir,{children:[(0,fr.jsx)($rP,{children:"Related Content"}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:Array.from({length:3}).map((b,y)=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dt,{className:"bg-gray-200 w-full h-10"})},y))})})]}),(0,fr.jsxs)(Ir,{children:[(0,fr.jsx)($rP,{children:"Table of Contents"}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:Array.from({length:3}).map((b,y)=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dt,{className:"bg-gray-200 w-full h-10"})},y))})})]})]}),e&&!rP&&Object.keys(e).length>0&&(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Ir,{children:[(0,fr.jsx)($rP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Related Content",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:(0,fr.jsx)(hr,{children:e&&Object.keys(e).map(b=>(0,fr.jsxs)(rr,{children:[(0,fr.jsxs)("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",b.charAt(0).toUpperCase()+b.slice(1)]}),b&&e[b]&&(0,fr.jsx)(yo,{children:e[b].map(y=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,isActive:!1,size:"sm",children:(0,fr.jsxs)(g,{href:y.url,item:y,className:"flex justify-between items-center w-full text-xs",children:[(0,fr.jsx)("span",{children:y.label}),y.type==="note"&&(0,fr.jsx)(Ln.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),y.type==="draft"&&(0,fr.jsx)(qr,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},y.label))})]},b))})})})]})}),t&&!rP&&(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsxs)(Ir,{children:[(0,fr.jsx)($rP,{asChild:!0,children:(0,fr.jsxs)(wo,{children:["Table of Contents",(0,fr.jsx)(Ln.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,fr.jsx)(Qr,{children:(0,fr.jsx)(So,{children:(0,fr.jsx)(hr,{children:t.map(b=>{var y;return(0,fr.jsxs)(rr,{children:[(0,fr.jsx)(Dr,{asChild:!0,children:(0,fr.jsx)("a",{href:`#${b.url}`,className:"text-xs",children:b.title})}),(y=b.items)!=null&&y.length?(0,fr.jsx)(yo,{children:b.items.map(E=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,isActive:E.isActive,size:"sm",children:(0,fr.jsx)("a",{href:`#${E.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,fr.jsx)("span",{children:E.title})})})},E.title))}):null]},b.title)})})})})]})})]}),(0,fr.jsx)(ri,{})]})}var fu=$t(require("clsx"));function hh({mainNav:e,secondaryNav:t,title:r,subTitle:rP,pathName:o,menuHeading:i,onNavClick:s,loading:l=!1,LinkComponent:u,...d}){let p=u?h=>(0,fr.jsx)(u,{...h}):s?({href:h,children:m,...g})=>(0,fr.jsx)("button",{onClick:()=>s&&s(h),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...g,children:m}):h=>(0,fr.jsx)("a",{...h});return(0,fr.jsxs)(ei,{...d,variant:"inset",children:[(0,fr.jsx)(ti,{children:(0,fr.jsx)(hr,{children:(0,fr.jsx)(rr,{children:l?(0,fr.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,fr.jsx)(Dt,{className:"bg-gray-200 my-2 w-full h-7"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,fr.jsxs)("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[(0,fr.jsx)("span",{className:"truncate font-semibold",children:r}),rP&&(0,fr.jsx)("span",{className:"truncate text-sm",children:rP})]})})})}),l&&(0,fr.jsxs)(bo,{children:[(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"}),(0,fr.jsx)(Dt,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,fr.jsxs)(bo,{children:[e&&!l&&e.map((h,m)=>(0,fr.jsx)(Q2,{subNav:h,pathName:o,Link:p},m)),(0,fr.jsx)(Ir,{className:"fr-auto",children:(0,fr.jsx)(Qr,{children:(0,fr.jsx)(hr,{children:t&&!l&&t.map(h=>(0,fr.jsx)(rr,{children:(0,fr.jsx)(Dr,{asChild:!0,size:"sm",children:(0,fr.jsxs)(p,{href:h.url||"",children:[h.icon&&(0,fr.jsx)(h.icon,{}),(0,fr.jsx)("span",{children:h.label})]})})},h.label))})})})]}),(0,fr.jsx)(ri,{})]})}function Q2({subNav:e,pathName:t,Link:r}){var i,s;let rP=e,o=!1;return rP.links&&rP.links.map(l=>{l.url===t&&(o=!0)}),(0,fr.jsx)(Un,{defaultOpen:!0,className:"group/collapsible",children:(0,fr.jsx)(Ir,{className:"py-0",children:(0,fr.jsx)(hr,{children:(0,fr.jsx)(Un,{asChild:!0,defaultOpen:rP.isActive,children:(0,fr.jsxs)(rr,{children:[(0,fr.jsx)(Dr,{asChild:!0,tooltip:rP.label,className:(0,fu.default)(o&&"font-bold text-accent"),children:(0,fr.jsxs)(r,{href:rP.url,children:[rP.icon&&(0,fr.jsx)(rP.icon,{}),(0,fr.jsx)("span",{children:rP.label})]})}),(i=rP.links)!=null&&i.length?(0,fr.jsxs)(fr.Fragment,{children:[(0,fr.jsx)(wo,{asChild:!0,children:(0,fr.jsxs)(pu,{className:"data-[state=open]:rotate-90",children:[(0,fr.jsx)(Ln.ChevronRight,{}),(0,fr.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,fr.jsx)(So,{children:(0,fr.jsx)(yo,{children:(s=rP.links)==null?void 0:s.map(l=>(0,fr.jsx)(vo,{children:(0,fr.jsx)(Eo,{asChild:!0,className:(0,fu.default)(l.url===t&&"font-bold text-accent"),children:(0,fr.jsx)(r,{href:l.url,children:(0,fr.jsx)("span",{children:l.label})})})},l.label))})})]}):null]})},rP.label)})})})}var sr=require("@headlessui/react"),ss=require("@heroicons/react/24/outline"),ni=require("@heroicons/react/20/solid");var Z2=({name:e,items:t,actions:r=[],href:rP})=>!t&&rP?(0,fr.jsxs)("a",{href:rP,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,fr.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}):(0,fr.jsxs)(sr.Popover,{children:[(0,fr.jsxs)(sr.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,fr.jsxs)("span",{className:"relative",children:[e,(0,fr.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,fr.jsx)(ni.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,fr.jsxs)(sr.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover fr-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,fr.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(o=>(0,fr.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,fr.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,fr.jsx)(o.icon,{"aria-hidden":"true",size:"6x"})}),(0,fr.jsxs)("a",{href:o.href,className:"fr-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,fr.jsx)("span",{className:"absolute inset-0"})]}),(0,fr.jsx)("p",{className:"fr-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,fr.jsx)("div",{className:"bg-gray-50",children:(0,fr.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,fr.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,fr.jsxs)("a",{href:o.href,className:"flex items-center justify-center gap-x-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,fr.jsx)(o.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),gh=Z2;var is=["light","dark","green"];function bh({title:e,logo:t,menuItems:r}){let[rP,o]=(0,os.useState)(!1),[i,s]=(0,os.useState)(!1),[l,u]=(0,os.useState)("light"),d=t==null?void 0:t.split(".")[0],c=t==null?void 0:t.split(".")[1],[p,h]=(0,os.useState)(`${d}.${c}`),m=b=>{is.includes(b)?h(b==="light"?`${d}.${c}`:`${d}-${b}.${c}`):h(`${d}.${c}`)};(0,os.useEffect)(()=>{let b=localStorage.getItem("theme")||"light";console.log("storedTheme",b),u(b),document.documentElement.setAttribute("class",b),m(b)},[]);let g=()=>{let b=is[(is.indexOf(l)+1)%is.length];u(b),document.documentElement.setAttribute("class",b),localStorage.setItem("theme",b),m(b)};return(0,fr.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,fr.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,fr.jsx)("div",{className:"flex lg:flex-1",children:(0,fr.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:e}),(0,fr.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,fr.jsx)("div",{className:"flex lg:hidden",children:(0,fr.jsxs)("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,fr.jsx)(ss.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,fr.jsx)(sr.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(b=>(0,fr.jsx)(gh,{...b},b.name))}),(0,fr.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,fr.jsx)("button",{onClick:g,className:"p-2 text-gray-700 outline-none",children:l==="dark"?(0,fr.jsx)(ni.SunIcon,{className:"h-6 w-6"}):l==="green"?(0,fr.jsx)(ni.MoonIcon,{className:"h-6 w-6"}):(0,fr.jsx)(ni.SunIcon,{className:"h-6 w-6"})})})]}),(0,fr.jsxs)(sr.Dialog,{open:rP,onClose:o,className:"lg:hidden",children:[(0,fr.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,fr.jsxs)(sr.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,fr.jsxs)("div",{className:"flex items-center justify-between",children:[(0,fr.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,fr.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,fr.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,fr.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,fr.jsx)(ss.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,fr.jsx)("div",{className:"fr-6 flow-root",children:(0,fr.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,fr.jsx)("div",{className:"space-y-2 py-6",children:r.map(b=>(0,fr.jsx)(eC,{...b},b.name))})})})]})]})]})}function eC({name:e,items:t,actions:r,href:rP}){return!t&&rP?(0,fr.jsx)("a",{href:rP,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,fr.jsxs)(sr.Disclosure,{as:"div",className:"-mx-3",children:[(0,fr.jsx)(sr.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,fr.jsx)(sr.DisclosurePanel,{className:"fr-2 space-y-2",children:t&&t.map(o=>(0,fr.jsx)(sr.DisclosureButton,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}var cs=$t(require("react")),tC=1,rC=1e6;var hu=0;function nC(){return hu=(hu+1)%Number.MAX_SAFE_INTEGER,hu.toString()}var mu=new Map,yh=e=>{if(mu.has(e))return;let t=setTimeout(()=>{mu.delete(e),oi({type:"REMOVE_TOAST",toastId:e})},rC);mu.set(e,t)},oC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,tC)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(r=>r.id===t.toast.id?{...r,...t.toast}:r)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?yh(r):e.toasts.forEach(rP=>{yh(rP.id)}),{...e,toasts:e.toasts.map(rP=>rP.id===r||r===void 0?{...rP,open:!1}:rP)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(r=>r.id!==t.toastId)}}},ls=[],us={toasts:[]};function oi(e){us=oC(us,e),ls.forEach(t=>{t(us)})}function aC({...e}){let t=nC(),r=o=>oi({type:"UPDATE_TOAST",toast:{...o,id:t}}),rP=()=>oi({type:"DISMISS_TOAST",toastId:t});return oi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||rP()}}}),{id:t,dismiss:rP,update:r}}function vh(){let[e,t]=cs.useState(us);return cs.useEffect(()=>(ls.push(t),()=>{let r=ls.indexOf(t);r>-1&&ls.splice(r,1)}),[e]),{...e,toast:aC,dismiss:r=>oi({type:"DISMISS_TOAST",toastId:r})}}var zn=$t(require("react")),Nt=$t(require("@radix-ui/react-toast"));var wh=Nt.Provider,gu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Viewport,{ref:r,className:De("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));gu.displayName=Nt.Viewport.displayName;var iC=(0,sh.cva)("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),bu=zn.forwardRef(({className:e,variant:t,...r},rP)=>(0,fr.jsx)(Nt.Root,{ref:rP,className:De(iC({variant:t}),e),...r}));bu.displayName=Nt.Root.displayName;var sC=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Action,{ref:r,className:De("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));sC.displayName=Nt.Action.displayName;var yu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Close,{ref:r,className:De("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,fr.jsx)(Ln.X,{className:"h-4 w-4"})}));yu.displayName=Nt.Close.displayName;var vu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Title,{ref:r,className:De("text-sm font-semibold [&+div]:text-xs",e),...t}));vu.displayName=Nt.Title.displayName;var Eu=zn.forwardRef(({className:e,...t},r)=>(0,fr.jsx)(Nt.Description,{ref:r,className:De("text-sm opacity-90",e),...t}));Eu.displayName=Nt.Description.displayName;function Sh(){let{toasts:e}=vh();return(0,fr.jsxs)(wh,{children:[e.map(function({id:t,title:r,description:rP,action:o,...i}){return(0,fr.jsxs)(bu,{...i,children:[(0,fr.jsxs)("div",{className:"grid gap-1",children:[r&&(0,fr.jsx)(vu,{children:r}),rP&&(0,fr.jsx)(Eu,{children:rP})]}),o,(0,fr.jsx)(yu,{})]},t)}),(0,fr.jsx)(gu,{})]})}function ds({...e}){return(0,fr.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,fr.jsx)(bh,{...e.header}),(0,fr.jsxs)(lu,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[(0,fr.jsx)(hh,{...e.sidebarLeft,className:"flex-none"}),(0,fr.jsxs)(cu,{className:"grow overflow-hidden",children:[(0,fr.jsx)("header",{className:"flex h-16 shrink-0 items-center gap-2",children:(0,fr.jsxs)("div",{className:"flex items-center gap-2 px-4",children:[(0,fr.jsx)(uu,{className:"-ml-1"}),(0,fr.jsx)(Qa,{orientation:"vertical",className:"Ln-2 h-4"}),(0,fr.jsx)(Xl,{children:(0,fr.jsxs)(Ql,{children:[(0,fr.jsx)(ns,{className:"hidden md:block",children:(0,fr.jsx)(Zl,{href:"#",children:"Building Your Application"})}),(0,fr.jsx)(tu,{className:"hidden md:block"}),(0,fr.jsx)(ns,{children:(0,fr.jsx)(eu,{children:"Data Fetching"})})]})})]})}),(0,fr.jsxs)("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[(0,fr.jsxs)("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"}),(0,fr.jsx)("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),(0,fr.jsx)("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),(0,fr.jsx)(ph,{...e.sidebarRight,className:"flex-none"})]}),(0,fr.jsx)(Sh,{})]})}var Kr=$t(gS());var dH=()=>(0,fr.jsx)(qr,{iconName:"github",size:"4x",type:"brands"}),pH=()=>(0,fr.jsx)(qr,{iconName:"aws",type:"brands"}),fH=()=>(0,fr.jsx)(qr,{iconName:"azure",type:"kit"}),hH=()=>(0,fr.jsx)(qr,{iconName:"people-sharing",size:"4x",type:"kit"}),mH=()=>(0,fr.jsx)(qr,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),gH=()=>(0,fr.jsx)(qr,{iconName:"development",size:"4x",type:"kit"}),bH={title:"Pages/Documentation",component:ds,decorators:[e=>(0,fr.jsx)("div",{className:"bg-sidebar",children:(0,fr.jsx)(e,{})})]},yH=e=>(0,fr.jsx)(ds,{...e}),vH={render:yH,args:{header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:mH},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:hH},{name:"Products",description:"Products that we sell",href:"#",icon:gH}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:ss.ChartPieIcon},{name:"API Reference",href:"#",icon:ss.CursorArrowRaysIcon},{name:"Github",href:"#",icon:dH}],actions:[{name:"Watch demo",href:"#",icon:ni.PlayCircleIcon},{name:"Contact sales",href:"#",icon:ni.PhoneIcon},{name:"View all products",href:"#",icon:ni.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},onToggleAppGrid:()=>{(0,Kr.fn)()},sidebarLeft:{title:"Playground",subTitle:"Airview",mainNav:[{label:"AWS",url:"#",icon:pH,isActive:!0,links:[{label:"EC2",url:"#"},{label:"IAM",url:"#"},{label:"S3",url:"#"}]},{label:"Microsoft Azure",url:"#",icon:fH,links:[{label:"Virtual Machines",url:"#"},{label:"Storage",url:"#"},{label:"Azure SQL",url:"#"}]},{label:"Documentation",url:"#",icon:Ln.BookOpen,links:[{label:"Introduction",url:"#"},{label:"Get Started",url:"#"},{label:"Tutorials",url:"#"},{label:"Changelog",url:"#"}]},{label:"Settings",url:"#",icon:Ln.Settings2,links:[{label:"General",url:"#"},{label:"Team",url:"#"},{label:"Billing",url:"#"},{label:"Limits",url:"#"}]}],secondaryNav:[{label:"Support",url:"#",icon:Ln.LifeBuoy},{label:"Feedback",url:"#",icon:Ln.Send}],onSidebarMenu:(0,Kr.fn)()},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,Kr.fn)(),onEditDocument:(0,Kr.fn)(),onPrintDocument:(0,Kr.fn)()},github:{onPublishDraft:(0,Kr.fn)(),handleNewBranch:(0,Kr.fn)(),handlePR:(0,Kr.fn)(),onSave:(0,Kr.fn)()}}};0&&(module.exports={Default});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"../../chunk-
|
|
1
|
+
import{a as r}from"../../chunk-RFWJV4YU.mjs";import{a as o}from"../../chunk-PAG346RY.mjs";import"../../chunk-AWFQEK7A.mjs";import"../../chunk-3YZN4MJB.mjs";import"../../chunk-WNPA7YT3.mjs";import"../../chunk-GCBC75DA.mjs";import"../../chunk-LBKMUSVR.mjs";import"../../chunk-IPHHUHS3.mjs";import"../../chunk-Y5VTKEKS.mjs";import"../../chunk-CGBVZQYY.mjs";import"../../chunk-BSQVKZCW.mjs";import"../../chunk-QOIH63J3.mjs";import"../../chunk-YNCJATT7.mjs";import"../../chunk-ZDPQXVTF.mjs";import"../../chunk-WASENCYA.mjs";import"../../chunk-SQC52R4J.mjs";import"../../chunk-I2GY5WTT.mjs";import"../../chunk-VQWGXZ5A.mjs";import"../../chunk-EO3M2F7M.mjs";import"../../chunk-INXPK24X.mjs";import"../../chunk-HAYRX2WO.mjs";import"../../chunk-LZII3MF4.mjs";import{a as l}from"../../chunk-SABHLBUI.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-OAOCXXC2.mjs";import"../../chunk-UESKYRNK.mjs";import"../../chunk-GLEWUUGS.mjs";import"../../chunk-NIQ4466A.mjs";import"../../chunk-CV7PH2KH.mjs";import"../../chunk-FRWX5YES.mjs";import{c as n}from"../../chunk-D2WXBUVJ.mjs";import{BookOpen as a,LifeBuoy as u,Send as s,Settings2 as c}from"lucide-react";var e=n(o());import{PhoneIcon as m,PlayCircleIcon as d,RectangleGroupIcon as p}from"@heroicons/react/20/solid";import{ChartPieIcon as b,CursorArrowRaysIcon as h}from"@heroicons/react/24/outline";import{jsx as t}from"react/jsx-runtime";var g=()=>t(l,{iconName:"github",size:"4x",type:"brands"}),f=()=>t(l,{iconName:"aws",type:"brands"}),S=()=>t(l,{iconName:"azure",type:"kit"}),k=()=>t(l,{iconName:"people-sharing",size:"4x",type:"kit"}),A=()=>t(l,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),C=()=>t(l,{iconName:"development",size:"4x",type:"kit"}),X={title:"Pages/Documentation",component:r,decorators:[i=>t("div",{className:"bg-sidebar",children:t(i,{})})]},w=i=>t(r,{...i}),Z={render:w,args:{header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:A},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:k},{name:"Products",description:"Products that we sell",href:"#",icon:C}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:b},{name:"API Reference",href:"#",icon:h},{name:"Github",href:"#",icon:g}],actions:[{name:"Watch demo",href:"#",icon:d},{name:"Contact sales",href:"#",icon:m},{name:"View all products",href:"#",icon:p}]},{name:"Intranet",href:"#"}]},onToggleAppGrid:()=>{(0,e.fn)()},sidebarLeft:{title:"Playground",subTitle:"Airview",mainNav:[{label:"AWS",url:"#",icon:f,isActive:!0,links:[{label:"EC2",url:"#"},{label:"IAM",url:"#"},{label:"S3",url:"#"}]},{label:"Microsoft Azure",url:"#",icon:S,links:[{label:"Virtual Machines",url:"#"},{label:"Storage",url:"#"},{label:"Azure SQL",url:"#"}]},{label:"Documentation",url:"#",icon:a,links:[{label:"Introduction",url:"#"},{label:"Get Started",url:"#"},{label:"Tutorials",url:"#"},{label:"Changelog",url:"#"}]},{label:"Settings",url:"#",icon:c,links:[{label:"General",url:"#"},{label:"Team",url:"#"},{label:"Billing",url:"#"},{label:"Limits",url:"#"}]}],secondaryNav:[{label:"Support",url:"#",icon:u},{label:"Feedback",url:"#",icon:s}],onSidebarMenu:(0,e.fn)()},sidebarRight:{tableOfContents:[{title:"Getting Started",url:"#",links:[{title:"Installation",url:"#",isActive:!0},{title:"Project Structure",url:"#"}]},{title:"Building Your Application",url:"#",links:[{title:"Routing",url:"#",isDraft:!0},{title:"Data Fetching",url:"#"},{title:"Rendering",url:"#"},{title:"Caching",url:"#"},{title:"Styling",url:"#"},{title:"Optimizing",url:"#"},{title:"Configuring",url:"#"},{title:"Testing",url:"#"},{title:"Authentication",url:"#"},{title:"Deploying",url:"#"},{title:"Upgrading",url:"#"},{title:"Examples",url:"#"}]},{title:"API Reference",url:"#",links:[{title:"Components",url:"#"},{title:"File Conventions",url:"#"},{title:"Functions",url:"#"},{title:"next.config.js Options",url:"#"},{title:"CLI",url:"#"},{title:"Edge Runtime",url:"#"}]},{title:"Architecture",url:"#",links:[{title:"Accessibility",url:"#"},{title:"Fast Refresh",url:"#"},{title:"Next.js Compiler",url:"#"},{title:"Supported Browsers",url:"#"},{title:"Turbopack",url:"#"}]},{title:"Community",url:"#",links:[{title:"Contribution Guide",url:"#"}]}],relatedContent:{knowledge:[{label:"AWS Risk Assessment Terraform Module",url:"/knowledge/terraform_risk_assessment_AWS/_index.md",type:"published"},{label:"AWS Airview CCF Terraform Module",url:"/knowledge/terraform_aws_airview_ccf/_index.md",type:"note"}],services:[{label:"AWS Account Vending Machine",url:"/services/aws_account_vending_machine/_index.md",type:"published"},{label:"AWS Beanstalk",url:"/services/aws_beanstalk/_index.md",type:"draft"},{label:"AWS Airwalk Network Firewall Terraform Module",url:"/services/aws_vpc/terraform-aws-airwalk-module-networkfirewall.md",type:"published"},{label:"AWS WAF and Shield",url:"/services/aws_waf_and_shield/_index.md",type:"published"}]},onAddDocument:(0,e.fn)(),onEditDocument:(0,e.fn)(),onPrintDocument:(0,e.fn)()},github:{onPublishDraft:(0,e.fn)(),handleNewBranch:(0,e.fn)(),handlePR:(0,e.fn)(),onSave:(0,e.fn)()}}};export{Z as Default,X as default};
|