cortex-react-components 1.16.2 → 1.17.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-WASENCYA.mjs → chunk-343CWVUF.mjs} +1 -1
- package/dist/chunk-52UEE46P.mjs +1 -0
- package/dist/{chunk-E7J5XS32.mjs → chunk-5M4ELXL3.mjs} +1 -1
- package/dist/{chunk-QETNP6ST.mjs → chunk-6MWJ4LJP.mjs} +1 -1
- package/dist/{chunk-TM4ETY55.mjs → chunk-ERWTLUYM.mjs} +1 -1
- package/dist/{chunk-HKHLTISI.mjs → chunk-G3JKNT32.mjs} +1 -1
- package/dist/chunk-H2JWQHUC.mjs +4 -0
- package/dist/chunk-HGT54DGN.mjs +1 -0
- package/dist/chunk-J3CPOHE6.mjs +1 -0
- package/dist/chunk-KML6U7IE.mjs +1 -0
- package/dist/chunk-MMBUMBDU.mjs +1 -0
- package/dist/chunk-NV7LUI3U.mjs +4 -0
- package/dist/{chunk-RFWJV4YU.mjs → chunk-PMSQWXAT.mjs} +1 -1
- package/dist/{chunk-4LYK6VPP.mjs → chunk-QCZZL6MD.mjs} +1 -1
- package/dist/{chunk-SXONQUDJ.mjs → chunk-QRV2F2XT.mjs} +1 -1
- package/dist/{chunk-ID2MGE2G.mjs → chunk-WASMU2IJ.mjs} +1 -1
- package/dist/{chunk-WZMQHIAK.mjs → chunk-XS2GYYRB.mjs} +1 -1
- package/dist/chunk-Y7INXZZZ.mjs +1 -0
- package/dist/chunk-YLVDYTR5.mjs +1 -0
- package/dist/common-types.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -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/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.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +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 +9 -9
- 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 +9 -9
- 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 +9 -9
- 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 +9 -9
- 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 +9 -9
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.d.ts +3 -0
- package/dist/components/ui/inputs/common/styles/index.js +1 -0
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -0
- package/dist/components/ui/inputs/text-input/index.d.ts +6 -0
- package/dist/components/ui/inputs/text-input/index.js +1 -0
- package/dist/components/ui/inputs/text-input/index.mjs +1 -0
- package/dist/components/ui/inputs/textarea-input/index.d.ts +6 -0
- package/dist/components/ui/inputs/textarea-input/index.js +1 -0
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -0
- package/dist/globals.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/ContactSection.d.ts +20 -0
- package/dist/sections/ContactSection.js +5 -0
- package/dist/sections/ContactSection.mjs +1 -0
- package/dist/sections/ContactSection.stories.js +5 -0
- package/dist/sections/ContactSection.stories.mjs +1 -0
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.d.ts +15 -0
- package/dist/sections/form/index.js +5 -0
- package/dist/sections/form/index.mjs +2 -0
- package/dist/sections/form/server/contact-us-form-submit.d.ts +3 -0
- package/dist/sections/form/server/contact-us-form-submit.js +4 -0
- package/dist/sections/form/server/contact-us-form-submit.mjs +2 -0
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +7 -3
- package/dist/chunk-7ZPEE4NV.mjs +0 -1
- package/dist/chunk-LZII3MF4.mjs +0 -1
|
@@ -208,24 +208,24 @@ ${T.description}`)},"showError"),showException:x(T=>{throw T},"showException"),f
|
|
|
208
208
|
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new Dg(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function kg(e,t){for(let r of e)try{if(r.test(t))return r}catch(WR){throw new Dg(WR.message,WR.stack)}return null}function dn(e,t,r,WR,o,i){let s=kg(t.plugins,e);if(s!==null)return Bg(s,e,t,r,WR,o);let l=qg(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:jg(e,t,r,WR,o,i)}var uc={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Fg=Object.keys(uc),mr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:uc};function QP(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(mr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function ZP(){return Fg.reduce((e,t)=>{let r=uc[t],WR=r&&Ur[r];if(WR&&typeof WR.close=="string"&&typeof WR.open=="string")e[t]=WR;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function eO(){return Fg.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Lg(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:mr.printFunctionName}function $g(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:mr.escapeRegex}function Ug(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:mr.escapeString}function Gm(e){var t,r,WR,o,i,s,l;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:mr.callToJSON,colors:e!=null&&e.highlight?ZP():eO(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:mr.compareKeys,escapeRegex:$g(e),escapeString:Ug(e),indent:e!=null&&e.min?"":tO((r=e==null?void 0:e.indent)!=null?r:mr.indent),maxDepth:(WR=e==null?void 0:e.maxDepth)!=null?WR:mr.maxDepth,maxWidth:(o=e==null?void 0:e.maxWidth)!=null?o:mr.maxWidth,min:(i=e==null?void 0:e.min)!=null?i:mr.min,plugins:(s=e==null?void 0:e.plugins)!=null?s:mr.plugins,printBasicPrototype:(l=e==null?void 0:e.printBasicPrototype)!=null?l:!0,printFunctionName:Lg(e),spacingInner:e!=null&&e.min?" ":`
|
|
209
209
|
`,spacingOuter:e!=null&&e.min?"":`
|
|
210
210
|
`}}function tO(e){return Array.from({length:e+1}).join(" ")}function Mr(e,t){if(t&&(QP(t),t.plugins)){let WR=kg(t.plugins,e);if(WR!==null)return Bg(WR,e,Gm(t),"",0,[])}let r=qg(e,Lg(t),$g(t),Ug(t));return r!==null?r:jg(e,Gm(t),"",0,[])}var Hg={AsymmetricMatcher:QR,DOMCollection:iP,DOMElement:mP,Immutable:xP,ReactElement:BP,ReactTestComponent:UP},Wm={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},rO={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ti="\u2026";function nO(e,t){let r=Wm[rO[t]]||Wm[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function oO({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:WR=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:d=String}={},c){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!WR,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:c,stylize:d};return p.colors&&(p.stylize=nO),p}function iO(e){return e>="\uD800"&&e<="\uDBFF"}function pn(e,t,r=ti){e=String(e);let WR=r.length,o=e.length;if(WR>t&&o>WR)return r;if(o>t&&o>WR){let i=t-WR;return i>0&&iO(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function gr(e,t,r,WR=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let d=0;d<o;d+=1){let c=d+1===e.length,p=d+2===e.length;u=`${ti}(${e.length-d})`;let h=e[d];t.truncate=i-s.length-(c?0:WR.length);let m=l||r(h,t)+(c?"":WR),g=s.length+m.length,y=g+u.length;if(c&&g>i&&s.length+u.length<=i||!c&&!p&&y>i||(l=c?"":r(e[d+1],t)+(p?"":WR),!c&&p&&y>i&&g+l.length>i))break;if(s+=m,!c&&!p&&g+l.length>=i){u=`${ti}(${e.length-d-1})`;break}u=""}return`${s}${u}`}function aO(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Wi([e,t],r){return r.truncate-=2,typeof e=="string"?e=aO(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function sO(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let WR=gr(e,t);t.truncate-=WR.length;let o="";return r.length&&(o=gr(r.map(i=>[i,e[i]]),t,Wi)),`[ ${WR}${o?`, ${o}`:""} ]`}var lO=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function $r(e,t){let r=lO(e);t.truncate-=r.length+4;let WR=Object.keys(e).slice(e.length);if(!e.length&&!WR.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(pn(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${ti}(${e.length-e[s]+1})`;break}o+=l}let i="";return WR.length&&(i=gr(WR.map(s=>[s,e[s]]),t,Wi)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function uO(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let WR=r.split("T"),o=WR[0];return t.stylize(`${o}T${pn(WR[1],t.truncate-o.length-1)}`,"date")}function Ym(e,t){let r=e[Symbol.toStringTag]||"Function",WR=e.name;return WR?t.stylize(`[${r} ${pn(WR,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function cO([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function dO(e){let t=[];return e.forEach((r,WR)=>{t.push([WR,r])}),t}function pO(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${gr(dO(e),t,cO)} }`)}var fO=Number.isNaN||(e=>e!==e);function Km(e,t){return fO(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(pn(String(e),t.truncate),"number")}function Jm(e,t){let r=pn(e.toString(),t.truncate-1);return r!==ti&&(r+="WR"),t.stylize(r,"bigint")}function hO(e,t){let r=e.toString().split("/")[2],WR=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${pn(o,WR)}/${r}`,"regexp")}function mO(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function gO(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${gr(mO(e),t)} }`)}var Xm=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),yO={"\b":"\\b"," ":"\\t","\WR":"\\WR","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},bO=16,vO=4;function EO(e){return yO[e]||`\\u${`0000${e.charCodeAt(0).toString(bO)}`.slice(-vO)}`}function Qm(e,t){return Xm.test(e)&&(e=e.replace(Xm,EO)),t.stylize(`'${pn(e,t.truncate-2)}'`,"string")}function Zm(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var zg=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(zg=(WR,o)=>{let[i,s]=e(WR);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`})}catch{}var _O=zg;function fs(e,t){let r=Object.getOwnPropertyNames(e),WR=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&WR.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=gr(r.map(l=>[l,e[l]]),t,Wi),i=gr(WR.map(l=>[l,e[l]]),t,Wi);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}var Hu=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function wO(e,t){let r="";return Hu&&Hu in e&&(r=e[Hu]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${fs(e,t)}`}function SO(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${gr(e,t)} ]`)}var AO=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function CO(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>AO.indexOf(s)===-1),WR=e.name;t.truncate-=WR.length;let o="";typeof e.message=="string"?o=pn(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=gr(r.map(s=>[s,e[s]]),t,Wi);return`${WR}${o}${i?` { ${i} }`:""}`}function TO([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Yu(e,t){return gr(e,t,Vg,`
|
|
211
|
-
`)}function Vg(e,t){let r=e.getAttributeNames(),WR=e.tagName.toLowerCase(),o=t.stylize(`<${WR}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${WR}>`,"special");t.truncate-=WR.length*2+5;let l="";r.length>0&&(l+=" ",l+=gr(r.map(c=>[c,e.getAttribute(c)]),t,TO," ")),t.truncate-=l.length;let u=t.truncate,d=Yu(e.children,t);return d&&d.length>u&&(d=`${ti}(${e.children.length})`),`${o}${l}${i}${d}${s}`}var RO=typeof Symbol=="function"&&typeof Symbol.for=="function",zu=RO?Symbol.for("chai/inspect"):"@@chai/inspect",Xo=!1;try{let e=require("util");Xo=e.inspect?e.inspect.custom:!1}catch{Xo=!1}var eg=new WeakMap,tg={},rg={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Km,Number:Km,bigint:Jm,BigInt:Jm,string:Qm,String:Qm,function:Ym,Function:Ym,symbol:Zm,Symbol:Zm,Array:sO,Date:uO,Map:pO,Set:gO,RegExp:hO,Promise:_O,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:SO,Int8Array:$r,Uint8Array:$r,Uint8ClampedArray:$r,Int16Array:$r,Uint16Array:$r,Int32Array:$r,Uint32Array:$r,Float32Array:$r,Float64Array:$r,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:CO,HTMLCollection:Yu,NodeList:Yu},PO=(e,t,r)=>zu in e&&typeof e[zu]=="function"?e[zu](t):Xo&&Xo in e&&typeof e[Xo]=="function"?e[Xo](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&eg.has(e.constructor)?eg.get(e.constructor)(e,t):tg[r]?tg[r](e,t):"",OO=Object.prototype.toString;function Ku(e,t={}){let r=oO(t,Ku),{customInspect:WR}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=OO.call(e).slice(8,-1)),o in rg)return rg[o](e,r);if(WR&&e){let s=PO(e,r,o);if(s)return typeof s=="string"?s:Ku(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?fs(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Vg(e,r):"constructor"in e?e.constructor!==Object?wO(e,r):fs(e,r):e===Object(e)?fs(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:xO,DOMCollection:NO,DOMElement:MO,Immutable:IO,ReactElement:DO,ReactTestComponent:qO}=Hg,ng=[qO,DO,MO,NO,IO,xO];function Yi(e,t=10,{maxLength:r,...WR}={}){let o=r!=null?r:1e4,i;try{i=Mr(e,{maxDepth:t,escapeString:!1,plugins:ng,...WR})}catch{i=Mr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:ng,...WR})}return i.length>=o&&t>1?Yi(e,Math.floor(t/2)):i}var jO=/%[sdjifoOc%]/g;function BO(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(Vi(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,WR=e[0],o=String(WR).replace(jO,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?Vi(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Vi(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Vi(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${Vi(i)}`;return o}function Vi(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Ku(e,t)}function kO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function FO(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Ju(e){return Object.prototype.toString.apply(e).slice(8,-1)}function LO(e,t){let r=typeof t=="function"?t:WR=>t.add(WR);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Gg(e){let t=new Set;return FO(e)?[]:(LO(e,t),Array.from(t))}var Wg={forceWritable:!1};function og(e,t=Wg){return Xu(e,new WeakMap,t)}function Xu(e,t,r=Wg){let WR,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:WR=e.length}),t.set(e,o);WR--;)o[WR]=Xu(e[WR],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=Gg(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=Xu(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}function ig(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Lt=-1,Bt=1,St=0,vt=class{constructor(e,t){bt(this,0);bt(this,1);this[0]=e,this[1]=t}},$O=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,WR=Math.min(e.length,t.length),o=WR,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):WR=o,o=Math.floor((WR-r)/2+r);return o},Yg=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,WR=Math.min(e.length,t.length),o=WR,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):WR=o,o=Math.floor((WR-r)/2+r);return o},ag=function(e,t){let r=e.length,WR=t.length;if(r===0||WR===0)return 0;r>WR?e=e.substring(r-WR):r<WR&&(t=t.substring(0,r));let o=Math.min(r,WR);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},UO=function(e){let t=!1,r=[],WR=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===St?(r[WR++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===Bt?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[WR-1],0,new vt(Lt,o)),e[r[WR-1]+1][0]=Bt,WR--,WR--,i=WR>0?r[WR-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&Kg(e),VO(e),i=1;i<e.length;){if(e[i-1][0]===Lt&&e[i][0]===Bt){let c=e[i-1][1],p=e[i][1],h=ag(c,p),m=ag(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new vt(St,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new vt(St,c.substring(0,m))),e[i-1][0]=Bt,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Lt,e[i+1][1]=c.substring(m),i++),i++}i++}},sg=/[^a-z0-9]/i,lg=/\s/,ug=/[\r\WR]/,HO=/\WR\r?\WR$/,zO=/^\r?\WR\r?\WR/;function VO(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===St&&e[t+1][0]===St){let r=e[t-1][1],WR=e[t][1],o=e[t+1][1],i=Yg(r,WR);if(i){let c=WR.substring(WR.length-i);r=r.substring(0,r.length-i),WR=c+WR.substring(0,WR.length-i),o=c+o}let s=r,l=WR,u=o,d=ds(r,WR)+ds(WR,o);for(;WR.charAt(0)===o.charAt(0);){r+=WR.charAt(0),WR=WR.substring(1)+o.charAt(0),o=o.substring(1);let c=ds(r,WR)+ds(WR,o);c>=d&&(d=c,s=r,l=WR,u=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function Kg(e){e.push(new vt(St,""));let t=0,r=0,WR=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Bt:WR++,i+=e[t][1],t++;break;case Lt:r++,o+=e[t][1],t++;break;case St:r+WR>1?(r!==0&&WR!==0&&(s=$O(i,o),s!==0&&(t-r-WR>0&&e[t-r-WR-1][0]===St?e[t-r-WR-1][1]+=i.substring(0,s):(e.splice(0,0,new vt(St,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=Yg(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+WR,e.splice(t,r+WR),o.length&&(e.splice(t,0,new vt(Lt,o)),t++),i.length&&(e.splice(t,0,new vt(Bt,i)),t++),t++):t!==0&&e[t-1][0]===St?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,WR=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===St&&e[t+1][0]===St&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&Kg(e)}function ds(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),WR=t.charAt(0),o=r.match(sg),i=WR.match(sg),s=o&&r.match(lg),l=i&&WR.match(lg),u=s&&r.match(ug),d=l&&WR.match(ug),c=u&&e.match(HO),p=d&&t.match(zO);return c||p?5:u||d?4:o&&!s&&l?3:s||l?2:o||i?1:0}var Jg="Compared values have no visual difference.",GO="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",ps={},cg;function WO(){if(cg)return ps;cg=1,Object.defineProperty(ps,"__esModule",{value:!0}),ps.default=h;let e="diff-sequences",t=0,r=(m,g,y,b,E)=>{let _=0;for(;m<g&&y<b&&E(m,y);)m+=1,y+=1,_+=1;return _},WR=(m,g,y,b,E)=>{let _=0;for(;m<=g&&y<=b&&E(g,b);)g-=1,b-=1,_+=1;return _},o=(m,g,y,b,E,_,O)=>{let A=0,w=-m,S=_[A],T=S;_[A]+=r(S+1,g,b+S-w+1,y,E);let C=m<O?m:O;for(A+=1,w+=2;A<=C;A+=1,w+=2){if(A!==m&&T<_[A])S=_[A];else if(S=T+1,g<=S)return A-1;T=_[A],_[A]=S+r(S+1,g,b+S-w+1,y,E)}return O},i=(m,g,y,b,E,_,O)=>{let A=0,w=m,S=_[A],T=S;_[A]-=WR(g,S-1,y,b+S-w-1,E);let C=m<O?m:O;for(A+=1,w-=2;A<=C;A+=1,w-=2){if(A!==m&&_[A]<T)S=_[A];else if(S=T-1,S<g)return A-1;T=_[A],_[A]=S-WR(g,S-1,y,b+S-w-1,E)}return O},s=(m,g,y,b,E,_,O,A,w,S,T)=>{let C=b-g,N=y-g,U=E-b-N,X=-U-(m-1),V=-U+(m-1),J=t,P=m<A?m:A;for(let B=0,K=-m;B<=P;B+=1,K+=2){let fe=B===0||B!==m&&J<O[B],ce=fe?O[B]:J,Se=fe?ce:ce+1,De=C+Se-K,Pe=r(Se+1,y,De+1,E,_),le=Se+Pe;if(J=O[B],O[B]=le,X<=K&&K<=V){let se=(m-1-(K+U))/2;if(se<=S&&w[se]-1<=le){let de=C+ce-(fe?K+1:K-1),we=WR(g,ce,b,de,_),Oe=ce-we,Ne=de-we,Qe=Oe+1,Pt=Ne+1;T.nChangePreceding=m-1,m-1===Qe+Pt-g-b?(T.aEndPreceding=g,T.bEndPreceding=b):(T.aEndPreceding=Qe,T.bEndPreceding=Pt),T.nCommonPreceding=we,we!==0&&(T.aCommonPreceding=Qe,T.bCommonPreceding=Pt),T.nCommonFollowing=Pe,Pe!==0&&(T.aCommonFollowing=Se+1,T.bCommonFollowing=De+1);let Y=le+1,Re=De+Pe+1;return T.nChangeFollowing=m-1,m-1===y+E-Y-Re?(T.aStartFollowing=y,T.bStartFollowing=E):(T.aStartFollowing=Y,T.bStartFollowing=Re),!0}}}return!1},l=(m,g,y,b,E,_,O,A,w,S,T)=>{let C=E-y,N=y-g,U=E-b-N,X=U-m,V=U+m,J=t,P=m<S?m:S;for(let B=0,K=m;B<=P;B+=1,K-=2){let fe=B===0||B!==m&&w[B]<J,ce=fe?w[B]:J,Se=fe?ce:ce-1,De=C+Se-K,Pe=WR(g,Se-1,b,De-1,_),le=Se-Pe;if(J=w[B],w[B]=le,X<=K&&K<=V){let se=(m+(K-U))/2;if(se<=A&&le-1<=O[se]){let de=De-Pe;if(T.nChangePreceding=m,m===le+de-g-b?(T.aEndPreceding=g,T.bEndPreceding=b):(T.aEndPreceding=le,T.bEndPreceding=de),T.nCommonPreceding=Pe,Pe!==0&&(T.aCommonPreceding=le,T.bCommonPreceding=de),T.nChangeFollowing=m-1,m===1)T.nCommonFollowing=0,T.aStartFollowing=y,T.bStartFollowing=E;else{let we=C+ce-(fe?K-1:K+1),Oe=r(ce,y,we,E,_);T.nCommonFollowing=Oe,Oe!==0&&(T.aCommonFollowing=ce,T.bCommonFollowing=we);let Ne=ce+Oe,Qe=we+Oe;m-1===y+E-Ne-Qe?(T.aStartFollowing=y,T.bStartFollowing=E):(T.aStartFollowing=Ne,T.bStartFollowing=Qe)}return!0}}}return!1},u=(m,g,y,b,E,_,O,A,w)=>{let S=b-g,T=E-y,C=y-g,N=E-b,U=N-C,X=C,V=C;if(O[0]=g-1,A[0]=y,U%2===0){let J=(m||U)/2,P=(C+N)/2;for(let B=1;B<=P;B+=1)if(X=o(B,y,E,S,_,O,X),B<J)V=i(B,g,b,T,_,A,V);else if(l(B,g,y,b,E,_,O,X,A,V,w))return}else{let J=((m||U)+1)/2,P=(C+N+1)/2,B=1;for(X=o(B,y,E,S,_,O,X),B+=1;B<=P;B+=1)if(V=i(B-1,g,b,T,_,A,V),B<J)X=o(B,y,E,S,_,O,X);else if(s(B,g,y,b,E,_,O,X,A,V,w))return}throw new Error(`${e}: no overlap aStart=${g} aEnd=${y} bStart=${b} bEnd=${E}`)},d=(m,g,y,b,E,_,O,A,w,S)=>{if(E-b<y-g){if(_=!_,_&&O.length===1){let{foundSubsequence:se,isCommon:de}=O[0];O[1]={foundSubsequence:(we,Oe,Ne)=>{se(we,Ne,Oe)},isCommon:(we,Oe)=>de(Oe,we)}}let Pe=g,le=y;g=b,y=E,b=Pe,E=le}let{foundSubsequence:T,isCommon:C}=O[_?1:0];u(m,g,y,b,E,C,A,w,S);let{nChangePreceding:N,aEndPreceding:U,bEndPreceding:X,nCommonPreceding:V,aCommonPreceding:J,bCommonPreceding:P,nCommonFollowing:B,aCommonFollowing:K,bCommonFollowing:fe,nChangeFollowing:ce,aStartFollowing:Se,bStartFollowing:De}=S;g<U&&b<X&&d(N,g,U,b,X,_,O,A,w,S),V!==0&&T(V,J,P),B!==0&&T(B,K,fe),Se<y&&De<E&&d(ce,Se,y,De,E,_,O,A,w,S)},c=(m,g)=>{if(typeof g!="number")throw new TypeError(`${e}: ${m} typeof ${typeof g} is not a number`);if(!Number.isSafeInteger(g))throw new RangeError(`${e}: ${m} value ${g} is not a safe integer`);if(g<0)throw new RangeError(`${e}: ${m} value ${g} is a negative integer`)},p=(m,g)=>{let y=typeof g;if(y!=="function")throw new TypeError(`${e}: ${m} typeof ${y} is not a function`)};function h(m,g,y,b){c("aLength",m),c("bLength",g),p("isCommon",y),p("foundSubsequence",b);let E=r(0,m,0,g,y);if(E!==0&&b(E,0,0),m!==E||g!==E){let _=E,O=E,A=WR(_,m-1,O,g-1,y),w=m-A,S=g-A,T=E+A;m!==T&&g!==T&&d(0,_,w,O,S,!1,[{foundSubsequence:b,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),A!==0&&b(A,w,S)}}return ps}var YO=WO(),Xg=kO(YO);function KO(e,t){return e.replace(/\s+$/,r=>t(r))}function cc(e,t,r,WR,o,i){return e.length!==0?r(`${WR} ${KO(e,o)}`):WR!==" "?r(WR):t&&i.length!==0?r(`${WR} ${i}`):""}function Qg(e,t,{aColor:r,aIndicator:WR,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return cc(e,t,r,WR,o,i)}function Zg(e,t,{bColor:r,bIndicator:WR,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return cc(e,t,r,WR,o,i)}function ey(e,t,{commonColor:r,commonIndicator:WR,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return cc(e,t,r,WR,o,i)}function dg(e,t,r,WR,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${WR-r} @@`)}function JO(e,t){let r=e.length,WR=t.contextLines,o=WR+WR,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===St;)u+=1;if(A!==u)if(A===0)u>WR&&(i-=u-WR,s=!0);else if(u===r){let w=u-A;w>WR&&(i-=w-WR,s=!0)}else{let w=u-A;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==St;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,y=0,b=0,E=A=>{let w=p.length;p.push(ey(A,w===0||w===c,t)),y+=1,b+=1},_=A=>{let w=p.length;p.push(Qg(A,w===0||w===c,t)),y+=1},O=A=>{let w=p.length;p.push(Zg(A,w===0||w===c,t)),b+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===St;)u+=1;if(A!==u)if(A===0){u>WR&&(A=u-WR,m=A,g=A,y=m,b=g);for(let w=A;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-A>WR?A+WR:u;for(let S=A;S!==w;S+=1)E(e[S][1])}else{let w=u-A;if(w>o){let S=A+WR;for(let C=A;C!==S;C+=1)E(e[C][1]);p[h]=dg(m,y,g,b,t),h=p.length,p.push("");let T=w-o;m=y+T,g=b+T,y=m,b=g;for(let C=u-WR;C!==u;C+=1)E(e[C][1])}else for(let S=A;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Lt;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Bt;)O(e[u][1]),u+=1}return d&&(p[h]=dg(m,y,g,b,t)),p.join(`
|
|
211
|
+
`)}function Vg(e,t){let r=e.getAttributeNames(),WR=e.tagName.toLowerCase(),o=t.stylize(`<${WR}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${WR}>`,"special");t.truncate-=WR.length*2+5;let l="";r.length>0&&(l+=" ",l+=gr(r.map(c=>[c,e.getAttribute(c)]),t,TO," ")),t.truncate-=l.length;let u=t.truncate,d=Yu(e.children,t);return d&&d.length>u&&(d=`${ti}(${e.children.length})`),`${o}${l}${i}${d}${s}`}var RO=typeof Symbol=="function"&&typeof Symbol.for=="function",zu=RO?Symbol.for("chai/inspect"):"@@chai/inspect",Xo=!1;try{let e=require("util");Xo=e.inspect?e.inspect.custom:!1}catch{Xo=!1}var eg=new WeakMap,tg={},rg={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Km,Number:Km,bigint:Jm,BigInt:Jm,string:Qm,String:Qm,function:Ym,Function:Ym,symbol:Zm,Symbol:Zm,Array:sO,Date:uO,Map:pO,Set:gO,RegExp:hO,Promise:_O,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:SO,Int8Array:$r,Uint8Array:$r,Uint8ClampedArray:$r,Int16Array:$r,Uint16Array:$r,Int32Array:$r,Uint32Array:$r,Float32Array:$r,Float64Array:$r,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:CO,HTMLCollection:Yu,NodeList:Yu},PO=(e,t,r)=>zu in e&&typeof e[zu]=="function"?e[zu](t):Xo&&Xo in e&&typeof e[Xo]=="function"?e[Xo](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&eg.has(e.constructor)?eg.get(e.constructor)(e,t):tg[r]?tg[r](e,t):"",OO=Object.prototype.toString;function Ku(e,t={}){let r=oO(t,Ku),{customInspect:WR}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=OO.call(e).slice(8,-1)),o in rg)return rg[o](e,r);if(WR&&e){let s=PO(e,r,o);if(s)return typeof s=="string"?s:Ku(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?fs(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Vg(e,r):"constructor"in e?e.constructor!==Object?wO(e,r):fs(e,r):e===Object(e)?fs(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:xO,DOMCollection:NO,DOMElement:MO,Immutable:IO,ReactElement:DO,ReactTestComponent:qO}=Hg,ng=[qO,DO,MO,NO,IO,xO];function Yi(e,t=10,{maxLength:r,...WR}={}){let o=r!=null?r:1e4,i;try{i=Mr(e,{maxDepth:t,escapeString:!1,plugins:ng,...WR})}catch{i=Mr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:ng,...WR})}return i.length>=o&&t>1?Yi(e,Math.floor(t/2)):i}var jO=/%[sdjifoOc%]/g;function BO(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(Vi(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,WR=e[0],o=String(WR).replace(jO,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?Vi(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Vi(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Vi(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${Vi(i)}`;return o}function Vi(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Ku(e,t)}function kO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function FO(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Ju(e){return Object.prototype.toString.apply(e).slice(8,-1)}function LO(e,t){let r=typeof t=="function"?t:WR=>t.add(WR);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Gg(e){let t=new Set;return FO(e)?[]:(LO(e,t),Array.from(t))}var Wg={forceWritable:!1};function og(e,t=Wg){return Xu(e,new WeakMap,t)}function Xu(e,t,r=Wg){let WR,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:WR=e.length}),t.set(e,o);WR--;)o[WR]=Xu(e[WR],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=Gg(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=Xu(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}function ig(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Lt=-1,Bt=1,St=0,Et=class{constructor(e,t){bt(this,0);bt(this,1);this[0]=e,this[1]=t}},$O=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,WR=Math.min(e.length,t.length),o=WR,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):WR=o,o=Math.floor((WR-r)/2+r);return o},Yg=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,WR=Math.min(e.length,t.length),o=WR,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):WR=o,o=Math.floor((WR-r)/2+r);return o},ag=function(e,t){let r=e.length,WR=t.length;if(r===0||WR===0)return 0;r>WR?e=e.substring(r-WR):r<WR&&(t=t.substring(0,r));let o=Math.min(r,WR);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},UO=function(e){let t=!1,r=[],WR=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===St?(r[WR++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===Bt?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[WR-1],0,new Et(Lt,o)),e[r[WR-1]+1][0]=Bt,WR--,WR--,i=WR>0?r[WR-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&Kg(e),VO(e),i=1;i<e.length;){if(e[i-1][0]===Lt&&e[i][0]===Bt){let c=e[i-1][1],p=e[i][1],h=ag(c,p),m=ag(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new Et(St,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new Et(St,c.substring(0,m))),e[i-1][0]=Bt,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Lt,e[i+1][1]=c.substring(m),i++),i++}i++}},sg=/[^a-z0-9]/i,lg=/\s/,ug=/[\r\WR]/,HO=/\WR\r?\WR$/,zO=/^\r?\WR\r?\WR/;function VO(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===St&&e[t+1][0]===St){let r=e[t-1][1],WR=e[t][1],o=e[t+1][1],i=Yg(r,WR);if(i){let c=WR.substring(WR.length-i);r=r.substring(0,r.length-i),WR=c+WR.substring(0,WR.length-i),o=c+o}let s=r,l=WR,u=o,d=ds(r,WR)+ds(WR,o);for(;WR.charAt(0)===o.charAt(0);){r+=WR.charAt(0),WR=WR.substring(1)+o.charAt(0),o=o.substring(1);let c=ds(r,WR)+ds(WR,o);c>=d&&(d=c,s=r,l=WR,u=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function Kg(e){e.push(new Et(St,""));let t=0,r=0,WR=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Bt:WR++,i+=e[t][1],t++;break;case Lt:r++,o+=e[t][1],t++;break;case St:r+WR>1?(r!==0&&WR!==0&&(s=$O(i,o),s!==0&&(t-r-WR>0&&e[t-r-WR-1][0]===St?e[t-r-WR-1][1]+=i.substring(0,s):(e.splice(0,0,new Et(St,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=Yg(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+WR,e.splice(t,r+WR),o.length&&(e.splice(t,0,new Et(Lt,o)),t++),i.length&&(e.splice(t,0,new Et(Bt,i)),t++),t++):t!==0&&e[t-1][0]===St?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,WR=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===St&&e[t+1][0]===St&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&Kg(e)}function ds(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),WR=t.charAt(0),o=r.match(sg),i=WR.match(sg),s=o&&r.match(lg),l=i&&WR.match(lg),u=s&&r.match(ug),d=l&&WR.match(ug),c=u&&e.match(HO),p=d&&t.match(zO);return c||p?5:u||d?4:o&&!s&&l?3:s||l?2:o||i?1:0}var Jg="Compared values have no visual difference.",GO="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",ps={},cg;function WO(){if(cg)return ps;cg=1,Object.defineProperty(ps,"__esModule",{value:!0}),ps.default=h;let e="diff-sequences",t=0,r=(m,g,y,b,E)=>{let _=0;for(;m<g&&y<b&&E(m,y);)m+=1,y+=1,_+=1;return _},WR=(m,g,y,b,E)=>{let _=0;for(;m<=g&&y<=b&&E(g,b);)g-=1,b-=1,_+=1;return _},o=(m,g,y,b,E,_,O)=>{let A=0,w=-m,S=_[A],T=S;_[A]+=r(S+1,g,b+S-w+1,y,E);let C=m<O?m:O;for(A+=1,w+=2;A<=C;A+=1,w+=2){if(A!==m&&T<_[A])S=_[A];else if(S=T+1,g<=S)return A-1;T=_[A],_[A]=S+r(S+1,g,b+S-w+1,y,E)}return O},i=(m,g,y,b,E,_,O)=>{let A=0,w=m,S=_[A],T=S;_[A]-=WR(g,S-1,y,b+S-w-1,E);let C=m<O?m:O;for(A+=1,w-=2;A<=C;A+=1,w-=2){if(A!==m&&_[A]<T)S=_[A];else if(S=T-1,S<g)return A-1;T=_[A],_[A]=S-WR(g,S-1,y,b+S-w-1,E)}return O},s=(m,g,y,b,E,_,O,A,w,S,T)=>{let C=b-g,N=y-g,U=E-b-N,X=-U-(m-1),V=-U+(m-1),J=t,P=m<A?m:A;for(let B=0,K=-m;B<=P;B+=1,K+=2){let fe=B===0||B!==m&&J<O[B],ce=fe?O[B]:J,Se=fe?ce:ce+1,De=C+Se-K,Pe=r(Se+1,y,De+1,E,_),le=Se+Pe;if(J=O[B],O[B]=le,X<=K&&K<=V){let se=(m-1-(K+U))/2;if(se<=S&&w[se]-1<=le){let de=C+ce-(fe?K+1:K-1),we=WR(g,ce,b,de,_),Oe=ce-we,Ne=de-we,Qe=Oe+1,Pt=Ne+1;T.nChangePreceding=m-1,m-1===Qe+Pt-g-b?(T.aEndPreceding=g,T.bEndPreceding=b):(T.aEndPreceding=Qe,T.bEndPreceding=Pt),T.nCommonPreceding=we,we!==0&&(T.aCommonPreceding=Qe,T.bCommonPreceding=Pt),T.nCommonFollowing=Pe,Pe!==0&&(T.aCommonFollowing=Se+1,T.bCommonFollowing=De+1);let Y=le+1,Re=De+Pe+1;return T.nChangeFollowing=m-1,m-1===y+E-Y-Re?(T.aStartFollowing=y,T.bStartFollowing=E):(T.aStartFollowing=Y,T.bStartFollowing=Re),!0}}}return!1},l=(m,g,y,b,E,_,O,A,w,S,T)=>{let C=E-y,N=y-g,U=E-b-N,X=U-m,V=U+m,J=t,P=m<S?m:S;for(let B=0,K=m;B<=P;B+=1,K-=2){let fe=B===0||B!==m&&w[B]<J,ce=fe?w[B]:J,Se=fe?ce:ce-1,De=C+Se-K,Pe=WR(g,Se-1,b,De-1,_),le=Se-Pe;if(J=w[B],w[B]=le,X<=K&&K<=V){let se=(m+(K-U))/2;if(se<=A&&le-1<=O[se]){let de=De-Pe;if(T.nChangePreceding=m,m===le+de-g-b?(T.aEndPreceding=g,T.bEndPreceding=b):(T.aEndPreceding=le,T.bEndPreceding=de),T.nCommonPreceding=Pe,Pe!==0&&(T.aCommonPreceding=le,T.bCommonPreceding=de),T.nChangeFollowing=m-1,m===1)T.nCommonFollowing=0,T.aStartFollowing=y,T.bStartFollowing=E;else{let we=C+ce-(fe?K-1:K+1),Oe=r(ce,y,we,E,_);T.nCommonFollowing=Oe,Oe!==0&&(T.aCommonFollowing=ce,T.bCommonFollowing=we);let Ne=ce+Oe,Qe=we+Oe;m-1===y+E-Ne-Qe?(T.aStartFollowing=y,T.bStartFollowing=E):(T.aStartFollowing=Ne,T.bStartFollowing=Qe)}return!0}}}return!1},u=(m,g,y,b,E,_,O,A,w)=>{let S=b-g,T=E-y,C=y-g,N=E-b,U=N-C,X=C,V=C;if(O[0]=g-1,A[0]=y,U%2===0){let J=(m||U)/2,P=(C+N)/2;for(let B=1;B<=P;B+=1)if(X=o(B,y,E,S,_,O,X),B<J)V=i(B,g,b,T,_,A,V);else if(l(B,g,y,b,E,_,O,X,A,V,w))return}else{let J=((m||U)+1)/2,P=(C+N+1)/2,B=1;for(X=o(B,y,E,S,_,O,X),B+=1;B<=P;B+=1)if(V=i(B-1,g,b,T,_,A,V),B<J)X=o(B,y,E,S,_,O,X);else if(s(B,g,y,b,E,_,O,X,A,V,w))return}throw new Error(`${e}: no overlap aStart=${g} aEnd=${y} bStart=${b} bEnd=${E}`)},d=(m,g,y,b,E,_,O,A,w,S)=>{if(E-b<y-g){if(_=!_,_&&O.length===1){let{foundSubsequence:se,isCommon:de}=O[0];O[1]={foundSubsequence:(we,Oe,Ne)=>{se(we,Ne,Oe)},isCommon:(we,Oe)=>de(Oe,we)}}let Pe=g,le=y;g=b,y=E,b=Pe,E=le}let{foundSubsequence:T,isCommon:C}=O[_?1:0];u(m,g,y,b,E,C,A,w,S);let{nChangePreceding:N,aEndPreceding:U,bEndPreceding:X,nCommonPreceding:V,aCommonPreceding:J,bCommonPreceding:P,nCommonFollowing:B,aCommonFollowing:K,bCommonFollowing:fe,nChangeFollowing:ce,aStartFollowing:Se,bStartFollowing:De}=S;g<U&&b<X&&d(N,g,U,b,X,_,O,A,w,S),V!==0&&T(V,J,P),B!==0&&T(B,K,fe),Se<y&&De<E&&d(ce,Se,y,De,E,_,O,A,w,S)},c=(m,g)=>{if(typeof g!="number")throw new TypeError(`${e}: ${m} typeof ${typeof g} is not a number`);if(!Number.isSafeInteger(g))throw new RangeError(`${e}: ${m} value ${g} is not a safe integer`);if(g<0)throw new RangeError(`${e}: ${m} value ${g} is a negative integer`)},p=(m,g)=>{let y=typeof g;if(y!=="function")throw new TypeError(`${e}: ${m} typeof ${y} is not a function`)};function h(m,g,y,b){c("aLength",m),c("bLength",g),p("isCommon",y),p("foundSubsequence",b);let E=r(0,m,0,g,y);if(E!==0&&b(E,0,0),m!==E||g!==E){let _=E,O=E,A=WR(_,m-1,O,g-1,y),w=m-A,S=g-A,T=E+A;m!==T&&g!==T&&d(0,_,w,O,S,!1,[{foundSubsequence:b,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),A!==0&&b(A,w,S)}}return ps}var YO=WO(),Xg=kO(YO);function KO(e,t){return e.replace(/\s+$/,r=>t(r))}function cc(e,t,r,WR,o,i){return e.length!==0?r(`${WR} ${KO(e,o)}`):WR!==" "?r(WR):t&&i.length!==0?r(`${WR} ${i}`):""}function Qg(e,t,{aColor:r,aIndicator:WR,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return cc(e,t,r,WR,o,i)}function Zg(e,t,{bColor:r,bIndicator:WR,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return cc(e,t,r,WR,o,i)}function ey(e,t,{commonColor:r,commonIndicator:WR,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return cc(e,t,r,WR,o,i)}function dg(e,t,r,WR,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${WR-r} @@`)}function JO(e,t){let r=e.length,WR=t.contextLines,o=WR+WR,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===St;)u+=1;if(A!==u)if(A===0)u>WR&&(i-=u-WR,s=!0);else if(u===r){let w=u-A;w>WR&&(i-=w-WR,s=!0)}else{let w=u-A;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==St;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,y=0,b=0,E=A=>{let w=p.length;p.push(ey(A,w===0||w===c,t)),y+=1,b+=1},_=A=>{let w=p.length;p.push(Qg(A,w===0||w===c,t)),y+=1},O=A=>{let w=p.length;p.push(Zg(A,w===0||w===c,t)),b+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===St;)u+=1;if(A!==u)if(A===0){u>WR&&(A=u-WR,m=A,g=A,y=m,b=g);for(let w=A;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-A>WR?A+WR:u;for(let S=A;S!==w;S+=1)E(e[S][1])}else{let w=u-A;if(w>o){let S=A+WR;for(let C=A;C!==S;C+=1)E(e[C][1]);p[h]=dg(m,y,g,b,t),h=p.length,p.push("");let T=w-o;m=y+T,g=b+T,y=m,b=g;for(let C=u-WR;C!==u;C+=1)E(e[C][1])}else for(let S=A;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Lt;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Bt;)O(e[u][1]),u+=1}return d&&(p[h]=dg(m,y,g,b,t)),p.join(`
|
|
212
212
|
`)}function XO(e,t){return e.map((r,WR,o)=>{let i=r[1],s=WR===0||WR===o.length-1;switch(r[0]){case Lt:return Qg(i,s,t);case Bt:return Zg(i,s,t);default:return ey(i,s,t)}}).join(`
|
|
213
213
|
`)}var Vu=e=>e,ty=5,QO=0;function ZO(){return{aAnnotation:"Expected",aColor:Ur.green,aIndicator:"-",bAnnotation:"Received",bColor:Ur.red,bIndicator:"+",changeColor:Ur.inverse,changeLineTrailingSpaceColor:Vu,commonColor:Ur.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Vu,compareKeys:void 0,contextLines:ty,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Ur.yellow,truncateThreshold:QO,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Vu}}function ex(e){return e&&typeof e=="function"?e:void 0}function tx(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:ty}function kn(e={}){return{...ZO(),...e,compareKeys:ex(e.compareKeys),contextLines:tx(e.contextLines)}}function Qo(e){return e.length===1&&e[0].length===0}function rx(e){let t=0,r=0;return e.forEach(WR=>{switch(WR[0]){case Lt:t+=1;break;case Bt:r+=1;break}}),{a:t,b:r}}function nx({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:WR,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let d="",c="";if(s){let m=String(u.a),g=String(u.b),y=WR.length-e.length,b=" ".repeat(Math.max(0,y)),E=" ".repeat(Math.max(0,-y)),_=g.length-m.length,O=" ".repeat(Math.max(0,_)),A=" ".repeat(Math.max(0,-_));d=`${b} ${r} ${O}${m}`,c=`${E} ${i} ${A}${g}`}let p=`${r} ${e}${d}`,h=`${i} ${WR}${c}`;return`${t(p)}
|
|
214
214
|
${o(h)}
|
|
215
215
|
|
|
216
216
|
`}function dc(e,t,r){return nx(r,rx(e))+(r.expand?XO(e,r):JO(e,r))+(t?r.truncateAnnotationColor(`
|
|
217
|
-
${r.truncateAnnotation}`):"")}function ys(e,t,r){let WR=kn(r),[o,i]=ry(Qo(e)?[]:e,Qo(t)?[]:t,WR);return dc(o,i,WR)}function ox(e,t,r,WR,o){if(Qo(e)&&Qo(r)&&(e=[],r=[]),Qo(t)&&Qo(WR)&&(t=[],WR=[]),e.length!==r.length||t.length!==WR.length)return ys(e,t,o);let[i,s]=ry(r,WR,o),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Lt:d[1]=e[l],l+=1;break;case Bt:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),dc(i,s,kn(o))}function ry(e,t,r){var h,m;let WR=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=WR?Math.min(e.length,o):e.length,s=WR?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=[],c=0,p=0;for(Xg(i,s,u,(g,y,b)=>{for(;c!==y;c+=1)d.push(new
|
|
217
|
+
${r.truncateAnnotation}`):"")}function ys(e,t,r){let WR=kn(r),[o,i]=ry(Qo(e)?[]:e,Qo(t)?[]:t,WR);return dc(o,i,WR)}function ox(e,t,r,WR,o){if(Qo(e)&&Qo(r)&&(e=[],r=[]),Qo(t)&&Qo(WR)&&(t=[],WR=[]),e.length!==r.length||t.length!==WR.length)return ys(e,t,o);let[i,s]=ry(r,WR,o),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Lt:d[1]=e[l],l+=1;break;case Bt:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),dc(i,s,kn(o))}function ry(e,t,r){var h,m;let WR=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=WR?Math.min(e.length,o):e.length,s=WR?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=[],c=0,p=0;for(Xg(i,s,u,(g,y,b)=>{for(;c!==y;c+=1)d.push(new Et(Lt,e[c]));for(;p!==b;p+=1)d.push(new Et(Bt,t[p]));for(;g!==0;g-=1,c+=1,p+=1)d.push(new Et(St,t[p]))});c!==i;c+=1)d.push(new Et(Lt,e[c]));for(;p!==s;p+=1)d.push(new Et(Bt,t[p]));return[d,l]}function pg(e){return e.includes(`\r
|
|
218
218
|
`)?`\r
|
|
219
219
|
`:`
|
|
220
220
|
`}function ix(e,t,r){var h,m;let WR=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=e.length,s=t.length;if(WR){let g=e.includes(`
|
|
221
221
|
`),y=t.includes(`
|
|
222
222
|
`),b=pg(e),E=pg(t),_=g?`${e.split(b,o).join(b)}
|
|
223
223
|
`:e,O=y?`${t.split(E,o).join(E)}
|
|
224
|
-
`:t;i=_.length,s=O.length}let l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=0,c=0,p=[];return Xg(i,s,u,(g,y,b)=>{d!==y&&p.push(new
|
|
224
|
+
`:t;i=_.length,s=O.length}let l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=0,c=0,p=[];return Xg(i,s,u,(g,y,b)=>{d!==y&&p.push(new Et(Lt,e.slice(d,y))),c!==b&&p.push(new Et(Bt,t.slice(c,b))),d=y+g,c=b+g,p.push(new Et(St,t.slice(b,c)))}),d!==i&&p.push(new Et(Lt,e.slice(d))),c!==s&&p.push(new Et(Bt,t.slice(c))),[p,l]}function ax(e,t,r){return t.reduce((WR,o)=>WR+(o[0]===St?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var fg=class{constructor(e,t){bt(this,"op");bt(this,"line");bt(this,"lines");bt(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Et(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Et(this.op,ax(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Et(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
225
225
|
`)){let r=t.split(`
|
|
226
226
|
`),WR=r.length-1;r.forEach((o,i)=>{i<WR?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},sx=class{constructor(e,t){bt(this,"deleteBuffer");bt(this,"insertBuffer");bt(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
227
227
|
`)){let WR=r.split(`
|
|
228
|
-
`),o=WR.length-1;WR.forEach((i,s)=>{if(s===0){let l=new
|
|
228
|
+
`),o=WR.length-1;WR.forEach((i,s)=>{if(s===0){let l=new Et(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else s<o?this.pushDiffCommonLine(new Et(t,i)):i.length!==0&&this.pushDiffChangeLines(new Et(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function lx(e,t){let r=new fg(Lt,t),WR=new fg(Bt,t),o=new sx(r,WR);return e.forEach(i=>{switch(i[0]){case Lt:r.align(i);break;case Bt:WR.align(i);break;default:o.align(i)}}),o.getLines()}function ux(e,t){if(t){let r=e.length-1;return e.some((WR,o)=>WR[0]===St&&(o!==r||WR[1]!==`
|
|
229
229
|
`))}return e.some(r=>r[0]===St)}function cx(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let WR=e.includes(`
|
|
230
230
|
`)||t.includes(`
|
|
231
231
|
`),[o,i]=ny(WR?`${e}
|
|
@@ -305,24 +305,24 @@ ${e.utils.RECEIVED_COLOR((0,Ey.default)(Oy(e,i),2))}`].join(`
|
|
|
305
305
|
`)&&(p=r.spacingOuter+l+p+r.spacingOuter+WR),p=`{${p}}`),`${r.spacingInner+WR+u.prop.open+d+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function Ap(e,t,r,WR,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?C1(s,t):i(s,t,r,WR,o))).join("")}function C1(e,t){let r=t.colors.content;return r.open+A1(e)+r.close}function mk(e,t){let r=t.colors.comment;return`${r.open}<!--${A1(e)}-->${r.close}`}function Cp(e,t,r,WR,o){let i=WR.colors.tag;return`${i.open}<${e}${t&&i.close+t+WR.spacingOuter+o+i.open}${r?`>${i.close}${r}${WR.spacingOuter}${o}${i.open}</${e}`:`${t&&!WR.min?"":" "}/`}>${i.close}`}function Tp(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var gk=1,T1=3,R1=8,P1=11,yk=/^(?:(?:HTML|SVG)\w*)?Element$/;function bk(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function vk(e){let t=e.constructor.name,{nodeType:r,tagName:WR}=e,o=typeof WR=="string"&&WR.includes("-")||bk(e);return r===gk&&(yk.test(t)||o)||r===T1&&t==="Text"||r===R1&&t==="Comment"||r===P1&&t==="DocumentFragment"}var Ek=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&vk(e)};function _k(e){return e.nodeType===T1}function wk(e){return e.nodeType===R1}function vc(e){return e.nodeType===P1}var Sk=(e,t,r,WR,o,i)=>{if(_k(e))return C1(e.data,t);if(wk(e))return mk(e.data,t);let s=vc(e)?"DocumentFragment":e.tagName.toLowerCase();return++WR>t.maxDepth?Tp(s,t):Cp(s,Sp(vc(e)?[]:Array.from(e.attributes,l=>l.name).sort(),vc(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,WR,o,i),Ap(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,WR,o,i),t,r)},Ak={serialize:Sk,test:Ek},Ck="@@__IMMUTABLE_ITERABLE__@@",Tk="@@__IMMUTABLE_LIST__@@",Rk="@@__IMMUTABLE_KEYED__@@",Pk="@@__IMMUTABLE_MAP__@@",Vy="@@__IMMUTABLE_ORDERED__@@",Ok="@@__IMMUTABLE_RECORD__@@",xk="@@__IMMUTABLE_SEQ__@@",Nk="@@__IMMUTABLE_SET__@@",Mk="@@__IMMUTABLE_STACK__@@",mi=e=>`Immutable.${e}`,El=e=>`[${e}]`,ua=" ",Gy="\u2026";function Ik(e,t,r,WR,o,i,s){return++WR>t.maxDepth?El(mi(s)):`${mi(s)+ua}{${vl(e.entries(),t,r,WR,o,i)}}`}function Dk(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function qk(e,t,r,WR,o,i){let s=mi(e._name||"Record");return++WR>t.maxDepth?El(s):`${s+ua}{${vl(Dk(e),t,r,WR,o,i)}}`}function jk(e,t,r,WR,o,i){let s=mi("Seq");return++WR>t.maxDepth?El(s):e[Rk]?`${s+ua}{${e._iter||e._object?vl(e.entries(),t,r,WR,o,i):Gy}}`:`${s+ua}[${e._iter||e._array||e._collection||e._iterable?_p(e.values(),t,r,WR,o,i):Gy}]`}function Ec(e,t,r,WR,o,i,s){return++WR>t.maxDepth?El(mi(s)):`${mi(s)+ua}[${_p(e.values(),t,r,WR,o,i)}]`}var Bk=(e,t,r,WR,o,i)=>e[Pk]?Ik(e,t,r,WR,o,i,e[Vy]?"OrderedMap":"Map"):e[Tk]?Ec(e,t,r,WR,o,i,"List"):e[Nk]?Ec(e,t,r,WR,o,i,e[Vy]?"OrderedSet":"Set"):e[Mk]?Ec(e,t,r,WR,o,i,"Stack"):e[xk]?jk(e,t,r,WR,o,i):qk(e,t,r,WR,o,i),kk=e=>e&&(e[Ck]===!0||e[Ok]===!0),Fk={serialize:Bk,test:kk},id={exports:{}},at={},Wy;function Lk(){if(Wy)return at;Wy=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),WR=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function y(b){if(typeof b=="object"&&b!==null){var E=b.$$typeof;switch(E){case e:switch(b=b.type,b){case r:case o:case WR:case d:case c:return b;default:switch(b=b&&b.$$typeof,b){case l:case s:case u:case h:case p:case i:return b;default:return E}}case t:return E}}}return at.ContextConsumer=s,at.ContextProvider=i,at.Element=e,at.ForwardRef=u,at.Fragment=r,at.Lazy=h,at.Memo=p,at.Portal=t,at.Profiler=o,at.StrictMode=WR,at.Suspense=d,at.SuspenseList=c,at.isAsyncMode=function(){return!1},at.isConcurrentMode=function(){return!1},at.isContextConsumer=function(b){return y(b)===s},at.isContextProvider=function(b){return y(b)===i},at.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},at.isForwardRef=function(b){return y(b)===u},at.isFragment=function(b){return y(b)===r},at.isLazy=function(b){return y(b)===h},at.isMemo=function(b){return y(b)===p},at.isPortal=function(b){return y(b)===t},at.isProfiler=function(b){return y(b)===o},at.isStrictMode=function(b){return y(b)===WR},at.isSuspense=function(b){return y(b)===d},at.isSuspenseList=function(b){return y(b)===c},at.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===o||b===WR||b===d||b===c||b===m||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===p||b.$$typeof===i||b.$$typeof===s||b.$$typeof===u||b.$$typeof===g||b.getModuleId!==void 0)},at.typeOf=y,at}var lt={},Yy;function $k(){return Yy||(Yy=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),WR=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=!1,y=!1,b=!1,E=!1,_=!1,O;O=Symbol.for("react.module.reference");function A(ae){return!!(typeof ae=="string"||typeof ae=="function"||ae===r||ae===o||_||ae===WR||ae===d||ae===c||E||ae===m||g||y||b||typeof ae=="object"&&ae!==null&&(ae.$$typeof===h||ae.$$typeof===p||ae.$$typeof===i||ae.$$typeof===s||ae.$$typeof===u||ae.$$typeof===O||ae.getModuleId!==void 0))}function w(ae){if(typeof ae=="object"&&ae!==null){var ye=ae.$$typeof;switch(ye){case e:var ke=ae.type;switch(ke){case r:case o:case WR:case d:case c:return ke;default:var nt=ke&&ke.$$typeof;switch(nt){case l:case s:case u:case h:case p:case i:return nt;default:return ye}}case t:return ye}}}var S=s,T=i,C=e,N=u,U=r,X=h,V=p,J=t,P=o,B=WR,K=d,fe=c,ce=!1,Se=!1;function De(ae){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Pe(ae){return Se||(Se=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function le(ae){return w(ae)===s}function se(ae){return w(ae)===i}function de(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===e}function we(ae){return w(ae)===u}function Oe(ae){return w(ae)===r}function Ne(ae){return w(ae)===h}function Qe(ae){return w(ae)===p}function Pt(ae){return w(ae)===t}function Y(ae){return w(ae)===o}function Re(ae){return w(ae)===WR}function qe(ae){return w(ae)===d}function Ge(ae){return w(ae)===c}lt.ContextConsumer=S,lt.ContextProvider=T,lt.Element=C,lt.ForwardRef=N,lt.Fragment=U,lt.Lazy=X,lt.Memo=V,lt.Portal=J,lt.Profiler=P,lt.StrictMode=B,lt.Suspense=K,lt.SuspenseList=fe,lt.isAsyncMode=De,lt.isConcurrentMode=Pe,lt.isContextConsumer=le,lt.isContextProvider=se,lt.isElement=de,lt.isForwardRef=we,lt.isFragment=Oe,lt.isLazy=Ne,lt.isMemo=Qe,lt.isPortal=Pt,lt.isProfiler=Y,lt.isStrictMode=Re,lt.isSuspense=qe,lt.isSuspenseList=Ge,lt.isValidElementType=A,lt.typeOf=w}()),lt}process.env.NODE_ENV==="production"?id.exports=Lk():id.exports=$k();var Ln=id.exports;function O1(e,t=[]){if(Array.isArray(e))for(let r of e)O1(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Ky(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ln.isFragment(e))return"React.Fragment";if(Ln.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ln.isContextProvider(e))return"Context.Provider";if(Ln.isContextConsumer(e))return"Context.Consumer";if(Ln.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ln.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function Uk(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var Hk=(e,t,r,WR,o,i)=>++WR>t.maxDepth?Tp(Ky(e),t):Cp(Ky(e),Sp(Uk(e),e.props,t,r+t.indent,WR,o,i),Ap(O1(e.props.children),t,r+t.indent,WR,o,i),t,r),zk=e=>e!=null&&Ln.isElement(e),Vk={serialize:Hk,test:zk},Gk=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function Wk(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var Yk=(e,t,r,WR,o,i)=>++WR>t.maxDepth?Tp(e.type,t):Cp(e.type,e.props?Sp(Wk(e),e.props,t,r+t.indent,WR,o,i):"",e.children?Ap(e.children,t,r+t.indent,WR,o,i):"",t,r),Kk=e=>e&&e.$$typeof===Gk,Jk={serialize:Yk,test:Kk},x1=Object.prototype.toString,Xk=Date.prototype.toISOString,Qk=Error.prototype.toString,Jy=RegExp.prototype.toString;function _c(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function Zk(e){return typeof window<"u"&&e===window}var eF=/^Symbol\((.*)\)(.*)$/,tF=/\WR/g,N1=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function rF(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function nF(e){return Object.is(e,-0)?"-0":String(e)}function oF(e){return`${e}WR`}function Xy(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Qy(e){return String(e).replace(eF,"Symbol($1)")}function Zy(e){return`[${Qk.call(e)}]`}function M1(e,t,r,WR){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return nF(e);if(o==="bigint")return oF(e);if(o==="string")return WR?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Xy(e,t);if(o==="symbol")return Qy(e);let i=x1.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Xy(e,t):i==="[object Symbol]"?Qy(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Xk.call(e):i==="[object Error]"?Zy(e):i==="[object RegExp]"?r?Jy.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Jy.call(e):e instanceof Error?Zy(e):null}function I1(e,t,r,WR,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++WR>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return bn(e.toJSON(),t,r,WR,o,!0);let u=x1.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${Fs(e,t,r,WR,o,bn)}]`:rF(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Fs(e,t,r,WR,o,bn)}]`:u==="[object Map]"?s?"[Map]":`Map {${vl(e.entries(),t,r,WR,o,bn," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${_p(e.values(),t,r,WR,o,bn)}}`:s||Zk(e)?`[${_c(e)}]`:`${l||!t.printBasicPrototype&&_c(e)==="Object"?"":`${_c(e)} `}{${wp(e,t,r,WR,o,bn)}}`}function iF(e){return e.serialize!=null}function D1(e,t,r,WR,o,i){let s;try{s=iF(e)?e.serialize(t,r,WR,o,i,bn):e.print(t,l=>bn(l,r,WR,o,i),l=>{let u=WR+r.indent;return u+l.replaceAll(tF,`
|
|
306
306
|
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new N1(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function q1(e,t){for(let r of e)try{if(r.test(t))return r}catch(WR){throw new N1(WR.message,WR.stack)}return null}function bn(e,t,r,WR,o,i){let s=q1(t.plugins,e);if(s!==null)return D1(s,e,t,r,WR,o);let l=M1(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:I1(e,t,r,WR,o,i)}var Rp={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},j1=Object.keys(Rp),yr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Rp};function aF(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(yr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function sF(){return j1.reduce((e,t)=>{let r=Rp[t],WR=r&&At[r];if(WR&&typeof WR.close=="string"&&typeof WR.open=="string")e[t]=WR;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function lF(){return j1.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function B1(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:yr.printFunctionName}function k1(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:yr.escapeRegex}function F1(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:yr.escapeString}function eb(e){var t,r,WR,o,i,s,l;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:yr.callToJSON,colors:e!=null&&e.highlight?sF():lF(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:yr.compareKeys,escapeRegex:k1(e),escapeString:F1(e),indent:e!=null&&e.min?"":uF((r=e==null?void 0:e.indent)!=null?r:yr.indent),maxDepth:(WR=e==null?void 0:e.maxDepth)!=null?WR:yr.maxDepth,maxWidth:(o=e==null?void 0:e.maxWidth)!=null?o:yr.maxWidth,min:(i=e==null?void 0:e.min)!=null?i:yr.min,plugins:(s=e==null?void 0:e.plugins)!=null?s:yr.plugins,printBasicPrototype:(l=e==null?void 0:e.printBasicPrototype)!=null?l:!0,printFunctionName:B1(e),spacingInner:e!=null&&e.min?" ":`
|
|
307
307
|
`,spacingOuter:e!=null&&e.min?"":`
|
|
308
|
-
`}}function uF(e){return Array.from({length:e+1}).join(" ")}function qr(e,t){if(t&&(aF(t),t.plugins)){let WR=q1(t.plugins,e);if(WR!==null)return D1(WR,e,eb(t),"",0,[])}let r=M1(e,B1(t),k1(t),F1(t));return r!==null?r:I1(e,eb(t),"",0,[])}var L1={AsymmetricMatcher:sk,DOMCollection:hk,DOMElement:Ak,Immutable:Fk,ReactElement:Vk,ReactTestComponent:Jk},{AsymmetricMatcher:cF,DOMCollection:dF,DOMElement:pF,Immutable:fF,ReactElement:hF,ReactTestComponent:mF}=L1,tb=[mF,hF,pF,dF,fF,cF];function pr(e,t=10,{maxLength:r,...WR}={}){let o=r!=null?r:1e4,i;try{i=qr(e,{maxDepth:t,escapeString:!1,plugins:tb,...WR})}catch{i=qr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:tb,...WR})}return i.length>=o&&t>1?pr(e,Math.floor(t/2)):i}var gF=/%[sdjifoOc%]/g;function yF(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(Ji(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,WR=e[0],o=String(WR).replace(gF,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?Ji(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ji(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ji(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${Ji(i)}`;return o}function Ji(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),od(e,t)}var F8=Symbol("vitest:SAFE_TIMERS"),bF,vF,EF,_F,wF,SF,AF,$1,CF,TF,RF,PF,OF,xF,NF,MF,IF,DF,qF;OF=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;PF=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;bF=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;NF=/(['"])(?:(?!\1)[^\\\WR\r]|\\(?:\r\WR|[^]))*(\1)?/y;RF=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)WR?|0n|[1-9](?:_?\d)*WR|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;MF=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;qF=/[\t\v\f\ufeff\p{Zs}]+/yu;$1=/\r?\WR|[\r\u2028\u2029]/y;CF=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;xF=/\/\/.*/y;EF=/[<>.:={}]|\/(?![\/*])/y;vF=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;_F=/(['"])(?:(?!\1)[^])*(\1)?/y;wF=/[^<>{}]+/y;DF=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;IF=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;SF=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;AF=/^(?:return|throw|yield)$/;TF=RegExp($1.source);var U1={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]},L8=new Set(U1.keyword),$8=new Set(U1.strict);function rb(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Ht=-1,kt=1,Ct=0,Et=class{constructor(e,t){bt(this,0);bt(this,1);this[0]=e,this[1]=t}},jF=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,WR=Math.min(e.length,t.length),o=WR,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):WR=o,o=Math.floor((WR-r)/2+r);return o},H1=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,WR=Math.min(e.length,t.length),o=WR,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):WR=o,o=Math.floor((WR-r)/2+r);return o},nb=function(e,t){let r=e.length,WR=t.length;if(r===0||WR===0)return 0;r>WR?e=e.substring(r-WR):r<WR&&(t=t.substring(0,r));let o=Math.min(r,WR);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},BF=function(e){let t=!1,r=[],WR=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===Ct?(r[WR++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===kt?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[WR-1],0,new Et(Ht,o)),e[r[WR-1]+1][0]=kt,WR--,WR--,i=WR>0?r[WR-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&z1(e),LF(e),i=1;i<e.length;){if(e[i-1][0]===Ht&&e[i][0]===kt){let c=e[i-1][1],p=e[i][1],h=nb(c,p),m=nb(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new Et(Ct,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new Et(Ct,c.substring(0,m))),e[i-1][0]=kt,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Ht,e[i+1][1]=c.substring(m),i++),i++}i++}},ob=/[^a-z0-9]/i,ib=/\s/,ab=/[\r\WR]/,kF=/\WR\r?\WR$/,FF=/^\r?\WR\r?\WR/;function LF(e){function t(WR,o){if(!WR||!o)return 6;let i=WR.charAt(WR.length-1),s=o.charAt(0),l=i.match(ob),u=s.match(ob),d=l&&i.match(ib),c=u&&s.match(ib),p=d&&i.match(ab),h=c&&s.match(ab),m=p&&WR.match(kF),g=h&&o.match(FF);return m||g?5:p||h?4:l&&!d&&c?3:d||c?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Ct&&e[r+1][0]===Ct){let WR=e[r-1][1],o=e[r][1],i=e[r+1][1],s=H1(WR,o);if(s){let p=o.substring(o.length-s);WR=WR.substring(0,WR.length-s),o=p+o.substring(0,o.length-s),i=p+i}let l=WR,u=o,d=i,c=t(WR,o)+t(o,i);for(;o.charAt(0)===i.charAt(0);){WR+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let p=t(WR,o)+t(o,i);p>=c&&(c=p,l=WR,u=o,d=i)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}}function z1(e){e.push(new Et(Ct,""));let t=0,r=0,WR=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case kt:WR++,i+=e[t][1],t++;break;case Ht:r++,o+=e[t][1],t++;break;case Ct:r+WR>1?(r!==0&&WR!==0&&(s=jF(i,o),s!==0&&(t-r-WR>0&&e[t-r-WR-1][0]===Ct?e[t-r-WR-1][1]+=i.substring(0,s):(e.splice(0,0,new Et(Ct,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=H1(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+WR,e.splice(t,r+WR),o.length&&(e.splice(t,0,new Et(Ht,o)),t++),i.length&&(e.splice(t,0,new Et(kt,i)),t++),t++):t!==0&&e[t-1][0]===Ct?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,WR=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Ct&&e[t+1][0]===Ct&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&z1(e)}var V1="Compared values have no visual difference.",$F="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",G1={};Object.defineProperty(G1,"__esModule",{value:!0});var W1=G1.default=VF,na="diff-sequences",$t=0,ca=(e,t,r,WR,o)=>{let i=0;for(;e<t&&r<WR&&o(e,r);)e+=1,r+=1,i+=1;return i},da=(e,t,r,WR,o)=>{let i=0;for(;e<=t&&r<=WR&&o(t,WR);)t-=1,WR-=1,i+=1;return i},wc=(e,t,r,WR,o,i,s)=>{let l=0,u=-e,d=i[l],c=d;i[l]+=ca(d+1,t,WR+d-u+1,r,o);let p=e<s?e:s;for(l+=1,u+=2;l<=p;l+=1,u+=2){if(l!==e&&c<i[l])d=i[l];else if(d=c+1,t<=d)return l-1;c=i[l],i[l]=d+ca(d+1,t,WR+d-u+1,r,o)}return s},sb=(e,t,r,WR,o,i,s)=>{let l=0,u=e,d=i[l],c=d;i[l]-=da(t,d-1,r,WR+d-u-1,o);let p=e<s?e:s;for(l+=1,u-=2;l<=p;l+=1,u-=2){if(l!==e&&i[l]<c)d=i[l];else if(d=c-1,d<t)return l-1;c=i[l],i[l]=d-da(t,d-1,r,WR+d-u-1,o)}return s},UF=(e,t,r,WR,o,i,s,l,u,d,c)=>{let p=WR-t,h=r-t,m=o-WR-h,g=-m-(e-1),y=-m+(e-1),b=$t,E=e<l?e:l;for(let _=0,O=-e;_<=E;_+=1,O+=2){let A=_===0||_!==e&&b<s[_],w=A?s[_]:b,S=A?w:w+1,T=p+S-O,C=ca(S+1,r,T+1,o,i),N=S+C;if(b=s[_],s[_]=N,g<=O&&O<=y){let U=(e-1-(O+m))/2;if(U<=d&&u[U]-1<=N){let X=p+w-(A?O+1:O-1),V=da(t,w,WR,X,i),J=w-V,P=X-V,B=J+1,K=P+1;c.nChangePreceding=e-1,e-1===B+K-t-WR?(c.aEndPreceding=t,c.bEndPreceding=WR):(c.aEndPreceding=B,c.bEndPreceding=K),c.nCommonPreceding=V,V!==0&&(c.aCommonPreceding=B,c.bCommonPreceding=K),c.nCommonFollowing=C,C!==0&&(c.aCommonFollowing=S+1,c.bCommonFollowing=T+1);let fe=N+1,ce=T+C+1;return c.nChangeFollowing=e-1,e-1===r+o-fe-ce?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=fe,c.bStartFollowing=ce),!0}}}return!1},HF=(e,t,r,WR,o,i,s,l,u,d,c)=>{let p=o-r,h=r-t,m=o-WR-h,g=m-e,y=m+e,b=$t,E=e<d?e:d;for(let _=0,O=e;_<=E;_+=1,O-=2){let A=_===0||_!==e&&u[_]<b,w=A?u[_]:b,S=A?w:w-1,T=p+S-O,C=da(t,S-1,WR,T-1,i),N=S-C;if(b=u[_],u[_]=N,g<=O&&O<=y){let U=(e+(O-m))/2;if(U<=l&&N-1<=s[U]){let X=T-C;if(c.nChangePreceding=e,e===N+X-t-WR?(c.aEndPreceding=t,c.bEndPreceding=WR):(c.aEndPreceding=N,c.bEndPreceding=X),c.nCommonPreceding=C,C!==0&&(c.aCommonPreceding=N,c.bCommonPreceding=X),c.nChangeFollowing=e-1,e===1)c.nCommonFollowing=0,c.aStartFollowing=r,c.bStartFollowing=o;else{let V=p+w-(A?O-1:O+1),J=ca(w,r,V,o,i);c.nCommonFollowing=J,J!==0&&(c.aCommonFollowing=w,c.bCommonFollowing=V);let P=w+J,B=V+J;e-1===r+o-P-B?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=P,c.bStartFollowing=B)}return!0}}}return!1},zF=(e,t,r,WR,o,i,s,l,u)=>{let d=WR-t,c=o-r,p=r-t,h=o-WR,m=h-p,g=p,y=p;if(s[0]=t-1,l[0]=r,m%2===0){let b=(e||m)/2,E=(p+h)/2;for(let _=1;_<=E;_+=1)if(g=wc(_,r,o,d,i,s,g),_<b)y=sb(_,t,WR,c,i,l,y);else if(HF(_,t,r,WR,o,i,s,g,l,y,u))return}else{let b=((e||m)+1)/2,E=(p+h+1)/2,_=1;for(g=wc(_,r,o,d,i,s,g),_+=1;_<=E;_+=1)if(y=sb(_-1,t,WR,c,i,l,y),_<b)g=wc(_,r,o,d,i,s,g);else if(UF(_,t,r,WR,o,i,s,g,l,y,u))return}throw new Error(`${na}: no overlap aStart=${t} aEnd=${r} bStart=${WR} bEnd=${o}`)},ad=(e,t,r,WR,o,i,s,l,u,d)=>{if(o-WR<r-t){if(i=!i,i&&s.length===1){let{foundSubsequence:U,isCommon:X}=s[0];s[1]={foundSubsequence:(V,J,P)=>{U(V,P,J)},isCommon:(V,J)=>X(J,V)}}let C=t,N=r;t=WR,r=o,WR=C,o=N}let{foundSubsequence:c,isCommon:p}=s[i?1:0];zF(e,t,r,WR,o,p,l,u,d);let{nChangePreceding:h,aEndPreceding:m,bEndPreceding:g,nCommonPreceding:y,aCommonPreceding:b,bCommonPreceding:E,nCommonFollowing:_,aCommonFollowing:O,bCommonFollowing:A,nChangeFollowing:w,aStartFollowing:S,bStartFollowing:T}=d;t<m&&WR<g&&ad(h,t,m,WR,g,i,s,l,u,d),y!==0&&c(y,b,E),_!==0&&c(_,O,A),S<r&&T<o&&ad(w,S,r,T,o,i,s,l,u,d)},lb=(e,t)=>{if(typeof t!="number")throw new TypeError(`${na}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${na}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${na}: ${e} value ${t} is a negative integer`)},ub=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${na}: ${e} typeof ${r} is not a function`)};function VF(e,t,r,WR){lb("aLength",e),lb("bLength",t),ub("isCommon",r),ub("foundSubsequence",WR);let o=ca(0,e,0,t,r);if(o!==0&&WR(o,0,0),e!==o||t!==o){let i=o,s=o,l=da(i,e-1,s,t-1,r),u=e-l,d=t-l,c=o+l;e!==c&&t!==c&&ad(0,i,u,s,d,!1,[{foundSubsequence:WR,isCommon:r}],[$t],[$t],{aCommonFollowing:$t,aCommonPreceding:$t,aEndPreceding:$t,aStartFollowing:$t,bCommonFollowing:$t,bCommonPreceding:$t,bEndPreceding:$t,bStartFollowing:$t,nChangeFollowing:$t,nChangePreceding:$t,nCommonFollowing:$t,nCommonPreceding:$t}),l!==0&&WR(l,u,d)}}function GF(e,t){return e.replace(/\s+$/,r=>t(r))}function Pp(e,t,r,WR,o,i){return e.length!==0?r(`${WR} ${GF(e,o)}`):WR!==" "?r(WR):t&&i.length!==0?r(`${WR} ${i}`):""}function Y1(e,t,{aColor:r,aIndicator:WR,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Pp(e,t,r,WR,o,i)}function K1(e,t,{bColor:r,bIndicator:WR,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Pp(e,t,r,WR,o,i)}function J1(e,t,{commonColor:r,commonIndicator:WR,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Pp(e,t,r,WR,o,i)}function cb(e,t,r,WR,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${WR-r} @@`)}function WF(e,t){let r=e.length,WR=t.contextLines,o=WR+WR,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===Ct;)u+=1;if(A!==u)if(A===0)u>WR&&(i-=u-WR,s=!0);else if(u===r){let w=u-A;w>WR&&(i-=w-WR,s=!0)}else{let w=u-A;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==Ct;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,y=0,b=0,E=A=>{let w=p.length;p.push(J1(A,w===0||w===c,t)),y+=1,b+=1},_=A=>{let w=p.length;p.push(Y1(A,w===0||w===c,t)),y+=1},O=A=>{let w=p.length;p.push(K1(A,w===0||w===c,t)),b+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===Ct;)u+=1;if(A!==u)if(A===0){u>WR&&(A=u-WR,m=A,g=A,y=m,b=g);for(let w=A;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-A>WR?A+WR:u;for(let S=A;S!==w;S+=1)E(e[S][1])}else{let w=u-A;if(w>o){let S=A+WR;for(let C=A;C!==S;C+=1)E(e[C][1]);p[h]=cb(m,y,g,b,t),h=p.length,p.push("");let T=w-o;m=y+T,g=b+T,y=m,b=g;for(let C=u-WR;C!==u;C+=1)E(e[C][1])}else for(let S=A;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Ht;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===kt;)O(e[u][1]),u+=1}return d&&(p[h]=cb(m,y,g,b,t)),p.join(`
|
|
308
|
+
`}}function uF(e){return Array.from({length:e+1}).join(" ")}function qr(e,t){if(t&&(aF(t),t.plugins)){let WR=q1(t.plugins,e);if(WR!==null)return D1(WR,e,eb(t),"",0,[])}let r=M1(e,B1(t),k1(t),F1(t));return r!==null?r:I1(e,eb(t),"",0,[])}var L1={AsymmetricMatcher:sk,DOMCollection:hk,DOMElement:Ak,Immutable:Fk,ReactElement:Vk,ReactTestComponent:Jk},{AsymmetricMatcher:cF,DOMCollection:dF,DOMElement:pF,Immutable:fF,ReactElement:hF,ReactTestComponent:mF}=L1,tb=[mF,hF,pF,dF,fF,cF];function pr(e,t=10,{maxLength:r,...WR}={}){let o=r!=null?r:1e4,i;try{i=qr(e,{maxDepth:t,escapeString:!1,plugins:tb,...WR})}catch{i=qr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:tb,...WR})}return i.length>=o&&t>1?pr(e,Math.floor(t/2)):i}var gF=/%[sdjifoOc%]/g;function yF(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(Ji(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,WR=e[0],o=String(WR).replace(gF,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?Ji(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}WR`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ji(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ji(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${Ji(i)}`;return o}function Ji(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),od(e,t)}var F8=Symbol("vitest:SAFE_TIMERS"),bF,vF,EF,_F,wF,SF,AF,$1,CF,TF,RF,PF,OF,xF,NF,MF,IF,DF,qF;OF=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;PF=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;bF=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;NF=/(['"])(?:(?!\1)[^\\\WR\r]|\\(?:\r\WR|[^]))*(\1)?/y;RF=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)WR?|0n|[1-9](?:_?\d)*WR|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;MF=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;qF=/[\t\v\f\ufeff\p{Zs}]+/yu;$1=/\r?\WR|[\r\u2028\u2029]/y;CF=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;xF=/\/\/.*/y;EF=/[<>.:={}]|\/(?![\/*])/y;vF=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;_F=/(['"])(?:(?!\1)[^])*(\1)?/y;wF=/[^<>{}]+/y;DF=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;IF=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;SF=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;AF=/^(?:return|throw|yield)$/;TF=RegExp($1.source);var U1={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]},L8=new Set(U1.keyword),$8=new Set(U1.strict);function rb(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Ht=-1,kt=1,Ct=0,_t=class{constructor(e,t){bt(this,0);bt(this,1);this[0]=e,this[1]=t}},jF=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,WR=Math.min(e.length,t.length),o=WR,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):WR=o,o=Math.floor((WR-r)/2+r);return o},H1=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,WR=Math.min(e.length,t.length),o=WR,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):WR=o,o=Math.floor((WR-r)/2+r);return o},nb=function(e,t){let r=e.length,WR=t.length;if(r===0||WR===0)return 0;r>WR?e=e.substring(r-WR):r<WR&&(t=t.substring(0,r));let o=Math.min(r,WR);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},BF=function(e){let t=!1,r=[],WR=0,o=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===Ct?(r[WR++]=i,s=u,l=d,u=0,d=0,o=e[i][1]):(e[i][0]===kt?u+=e[i][1].length:d+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,d)&&(e.splice(r[WR-1],0,new _t(Ht,o)),e[r[WR-1]+1][0]=kt,WR--,WR--,i=WR>0?r[WR-1]:-1,s=0,l=0,u=0,d=0,o=null,t=!0)),i++;for(t&&z1(e),LF(e),i=1;i<e.length;){if(e[i-1][0]===Ht&&e[i][0]===kt){let c=e[i-1][1],p=e[i][1],h=nb(c,p),m=nb(p,c);h>=m?(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new _t(Ct,p.substring(0,h))),e[i-1][1]=c.substring(0,c.length-h),e[i+1][1]=p.substring(h),i++):(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new _t(Ct,c.substring(0,m))),e[i-1][0]=kt,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=Ht,e[i+1][1]=c.substring(m),i++),i++}i++}},ob=/[^a-z0-9]/i,ib=/\s/,ab=/[\r\WR]/,kF=/\WR\r?\WR$/,FF=/^\r?\WR\r?\WR/;function LF(e){function t(WR,o){if(!WR||!o)return 6;let i=WR.charAt(WR.length-1),s=o.charAt(0),l=i.match(ob),u=s.match(ob),d=l&&i.match(ib),c=u&&s.match(ib),p=d&&i.match(ab),h=c&&s.match(ab),m=p&&WR.match(kF),g=h&&o.match(FF);return m||g?5:p||h?4:l&&!d&&c?3:d||c?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Ct&&e[r+1][0]===Ct){let WR=e[r-1][1],o=e[r][1],i=e[r+1][1],s=H1(WR,o);if(s){let p=o.substring(o.length-s);WR=WR.substring(0,WR.length-s),o=p+o.substring(0,o.length-s),i=p+i}let l=WR,u=o,d=i,c=t(WR,o)+t(o,i);for(;o.charAt(0)===i.charAt(0);){WR+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let p=t(WR,o)+t(o,i);p>=c&&(c=p,l=WR,u=o,d=i)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}}function z1(e){e.push(new _t(Ct,""));let t=0,r=0,WR=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case kt:WR++,i+=e[t][1],t++;break;case Ht:r++,o+=e[t][1],t++;break;case Ct:r+WR>1?(r!==0&&WR!==0&&(s=jF(i,o),s!==0&&(t-r-WR>0&&e[t-r-WR-1][0]===Ct?e[t-r-WR-1][1]+=i.substring(0,s):(e.splice(0,0,new _t(Ct,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=H1(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+WR,e.splice(t,r+WR),o.length&&(e.splice(t,0,new _t(Ht,o)),t++),i.length&&(e.splice(t,0,new _t(kt,i)),t++),t++):t!==0&&e[t-1][0]===Ct?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,WR=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Ct&&e[t+1][0]===Ct&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&z1(e)}var V1="Compared values have no visual difference.",$F="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",G1={};Object.defineProperty(G1,"__esModule",{value:!0});var W1=G1.default=VF,na="diff-sequences",$t=0,ca=(e,t,r,WR,o)=>{let i=0;for(;e<t&&r<WR&&o(e,r);)e+=1,r+=1,i+=1;return i},da=(e,t,r,WR,o)=>{let i=0;for(;e<=t&&r<=WR&&o(t,WR);)t-=1,WR-=1,i+=1;return i},wc=(e,t,r,WR,o,i,s)=>{let l=0,u=-e,d=i[l],c=d;i[l]+=ca(d+1,t,WR+d-u+1,r,o);let p=e<s?e:s;for(l+=1,u+=2;l<=p;l+=1,u+=2){if(l!==e&&c<i[l])d=i[l];else if(d=c+1,t<=d)return l-1;c=i[l],i[l]=d+ca(d+1,t,WR+d-u+1,r,o)}return s},sb=(e,t,r,WR,o,i,s)=>{let l=0,u=e,d=i[l],c=d;i[l]-=da(t,d-1,r,WR+d-u-1,o);let p=e<s?e:s;for(l+=1,u-=2;l<=p;l+=1,u-=2){if(l!==e&&i[l]<c)d=i[l];else if(d=c-1,d<t)return l-1;c=i[l],i[l]=d-da(t,d-1,r,WR+d-u-1,o)}return s},UF=(e,t,r,WR,o,i,s,l,u,d,c)=>{let p=WR-t,h=r-t,m=o-WR-h,g=-m-(e-1),y=-m+(e-1),b=$t,E=e<l?e:l;for(let _=0,O=-e;_<=E;_+=1,O+=2){let A=_===0||_!==e&&b<s[_],w=A?s[_]:b,S=A?w:w+1,T=p+S-O,C=ca(S+1,r,T+1,o,i),N=S+C;if(b=s[_],s[_]=N,g<=O&&O<=y){let U=(e-1-(O+m))/2;if(U<=d&&u[U]-1<=N){let X=p+w-(A?O+1:O-1),V=da(t,w,WR,X,i),J=w-V,P=X-V,B=J+1,K=P+1;c.nChangePreceding=e-1,e-1===B+K-t-WR?(c.aEndPreceding=t,c.bEndPreceding=WR):(c.aEndPreceding=B,c.bEndPreceding=K),c.nCommonPreceding=V,V!==0&&(c.aCommonPreceding=B,c.bCommonPreceding=K),c.nCommonFollowing=C,C!==0&&(c.aCommonFollowing=S+1,c.bCommonFollowing=T+1);let fe=N+1,ce=T+C+1;return c.nChangeFollowing=e-1,e-1===r+o-fe-ce?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=fe,c.bStartFollowing=ce),!0}}}return!1},HF=(e,t,r,WR,o,i,s,l,u,d,c)=>{let p=o-r,h=r-t,m=o-WR-h,g=m-e,y=m+e,b=$t,E=e<d?e:d;for(let _=0,O=e;_<=E;_+=1,O-=2){let A=_===0||_!==e&&u[_]<b,w=A?u[_]:b,S=A?w:w-1,T=p+S-O,C=da(t,S-1,WR,T-1,i),N=S-C;if(b=u[_],u[_]=N,g<=O&&O<=y){let U=(e+(O-m))/2;if(U<=l&&N-1<=s[U]){let X=T-C;if(c.nChangePreceding=e,e===N+X-t-WR?(c.aEndPreceding=t,c.bEndPreceding=WR):(c.aEndPreceding=N,c.bEndPreceding=X),c.nCommonPreceding=C,C!==0&&(c.aCommonPreceding=N,c.bCommonPreceding=X),c.nChangeFollowing=e-1,e===1)c.nCommonFollowing=0,c.aStartFollowing=r,c.bStartFollowing=o;else{let V=p+w-(A?O-1:O+1),J=ca(w,r,V,o,i);c.nCommonFollowing=J,J!==0&&(c.aCommonFollowing=w,c.bCommonFollowing=V);let P=w+J,B=V+J;e-1===r+o-P-B?(c.aStartFollowing=r,c.bStartFollowing=o):(c.aStartFollowing=P,c.bStartFollowing=B)}return!0}}}return!1},zF=(e,t,r,WR,o,i,s,l,u)=>{let d=WR-t,c=o-r,p=r-t,h=o-WR,m=h-p,g=p,y=p;if(s[0]=t-1,l[0]=r,m%2===0){let b=(e||m)/2,E=(p+h)/2;for(let _=1;_<=E;_+=1)if(g=wc(_,r,o,d,i,s,g),_<b)y=sb(_,t,WR,c,i,l,y);else if(HF(_,t,r,WR,o,i,s,g,l,y,u))return}else{let b=((e||m)+1)/2,E=(p+h+1)/2,_=1;for(g=wc(_,r,o,d,i,s,g),_+=1;_<=E;_+=1)if(y=sb(_-1,t,WR,c,i,l,y),_<b)g=wc(_,r,o,d,i,s,g);else if(UF(_,t,r,WR,o,i,s,g,l,y,u))return}throw new Error(`${na}: no overlap aStart=${t} aEnd=${r} bStart=${WR} bEnd=${o}`)},ad=(e,t,r,WR,o,i,s,l,u,d)=>{if(o-WR<r-t){if(i=!i,i&&s.length===1){let{foundSubsequence:U,isCommon:X}=s[0];s[1]={foundSubsequence:(V,J,P)=>{U(V,P,J)},isCommon:(V,J)=>X(J,V)}}let C=t,N=r;t=WR,r=o,WR=C,o=N}let{foundSubsequence:c,isCommon:p}=s[i?1:0];zF(e,t,r,WR,o,p,l,u,d);let{nChangePreceding:h,aEndPreceding:m,bEndPreceding:g,nCommonPreceding:y,aCommonPreceding:b,bCommonPreceding:E,nCommonFollowing:_,aCommonFollowing:O,bCommonFollowing:A,nChangeFollowing:w,aStartFollowing:S,bStartFollowing:T}=d;t<m&&WR<g&&ad(h,t,m,WR,g,i,s,l,u,d),y!==0&&c(y,b,E),_!==0&&c(_,O,A),S<r&&T<o&&ad(w,S,r,T,o,i,s,l,u,d)},lb=(e,t)=>{if(typeof t!="number")throw new TypeError(`${na}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${na}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${na}: ${e} value ${t} is a negative integer`)},ub=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${na}: ${e} typeof ${r} is not a function`)};function VF(e,t,r,WR){lb("aLength",e),lb("bLength",t),ub("isCommon",r),ub("foundSubsequence",WR);let o=ca(0,e,0,t,r);if(o!==0&&WR(o,0,0),e!==o||t!==o){let i=o,s=o,l=da(i,e-1,s,t-1,r),u=e-l,d=t-l,c=o+l;e!==c&&t!==c&&ad(0,i,u,s,d,!1,[{foundSubsequence:WR,isCommon:r}],[$t],[$t],{aCommonFollowing:$t,aCommonPreceding:$t,aEndPreceding:$t,aStartFollowing:$t,bCommonFollowing:$t,bCommonPreceding:$t,bEndPreceding:$t,bStartFollowing:$t,nChangeFollowing:$t,nChangePreceding:$t,nCommonFollowing:$t,nCommonPreceding:$t}),l!==0&&WR(l,u,d)}}function GF(e,t){return e.replace(/\s+$/,r=>t(r))}function Pp(e,t,r,WR,o,i){return e.length!==0?r(`${WR} ${GF(e,o)}`):WR!==" "?r(WR):t&&i.length!==0?r(`${WR} ${i}`):""}function Y1(e,t,{aColor:r,aIndicator:WR,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Pp(e,t,r,WR,o,i)}function K1(e,t,{bColor:r,bIndicator:WR,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Pp(e,t,r,WR,o,i)}function J1(e,t,{commonColor:r,commonIndicator:WR,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Pp(e,t,r,WR,o,i)}function cb(e,t,r,WR,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${WR-r} @@`)}function WF(e,t){let r=e.length,WR=t.contextLines,o=WR+WR,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===Ct;)u+=1;if(A!==u)if(A===0)u>WR&&(i-=u-WR,s=!0);else if(u===r){let w=u-A;w>WR&&(i-=w-WR,s=!0)}else{let w=u-A;w>o&&(i-=w-o,l+=1)}for(;u!==r&&e[u][0]!==Ct;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],h=0;d&&p.push("");let m=0,g=0,y=0,b=0,E=A=>{let w=p.length;p.push(J1(A,w===0||w===c,t)),y+=1,b+=1},_=A=>{let w=p.length;p.push(Y1(A,w===0||w===c,t)),y+=1},O=A=>{let w=p.length;p.push(K1(A,w===0||w===c,t)),b+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===Ct;)u+=1;if(A!==u)if(A===0){u>WR&&(A=u-WR,m=A,g=A,y=m,b=g);for(let w=A;w!==u;w+=1)E(e[w][1])}else if(u===r){let w=u-A>WR?A+WR:u;for(let S=A;S!==w;S+=1)E(e[S][1])}else{let w=u-A;if(w>o){let S=A+WR;for(let C=A;C!==S;C+=1)E(e[C][1]);p[h]=cb(m,y,g,b,t),h=p.length,p.push("");let T=w-o;m=y+T,g=b+T,y=m,b=g;for(let C=u-WR;C!==u;C+=1)E(e[C][1])}else for(let S=A;S!==u;S+=1)E(e[S][1])}for(;u!==r&&e[u][0]===Ht;)_(e[u][1]),u+=1;for(;u!==r&&e[u][0]===kt;)O(e[u][1]),u+=1}return d&&(p[h]=cb(m,y,g,b,t)),p.join(`
|
|
309
309
|
`)}function YF(e,t){return e.map((r,WR,o)=>{let i=r[1],s=WR===0||WR===o.length-1;switch(r[0]){case Ht:return Y1(i,s,t);case kt:return K1(i,s,t);default:return J1(i,s,t)}}).join(`
|
|
310
310
|
`)}var Sc=e=>e,X1=5,KF=0;function JF(){return{aAnnotation:"Expected",aColor:At.green,aIndicator:"-",bAnnotation:"Received",bColor:At.red,bIndicator:"+",changeColor:At.inverse,changeLineTrailingSpaceColor:Sc,commonColor:At.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Sc,compareKeys:void 0,contextLines:X1,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:At.yellow,truncateThreshold:KF,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Sc}}function XF(e){return e&&typeof e=="function"?e:void 0}function QF(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:X1}function Jn(e={}){return{...JF(),...e,compareKeys:XF(e.compareKeys),contextLines:QF(e.contextLines)}}function ii(e){return e.length===1&&e[0].length===0}function ZF(e){let t=0,r=0;return e.forEach(WR=>{switch(WR[0]){case Ht:t+=1;break;case kt:r+=1;break}}),{a:t,b:r}}function eL({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:WR,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let d="",c="";if(s){let m=String(u.a),g=String(u.b),y=WR.length-e.length,b=" ".repeat(Math.max(0,y)),E=" ".repeat(Math.max(0,-y)),_=g.length-m.length,O=" ".repeat(Math.max(0,_)),A=" ".repeat(Math.max(0,-_));d=`${b} ${r} ${O}${m}`,c=`${E} ${i} ${A}${g}`}let p=`${r} ${e}${d}`,h=`${i} ${WR}${c}`;return`${t(p)}
|
|
311
311
|
${o(h)}
|
|
312
312
|
|
|
313
313
|
`}function Op(e,t,r){return eL(r,ZF(e))+(r.expand?YF(e,r):WF(e,r))+(t?r.truncateAnnotationColor(`
|
|
314
|
-
${r.truncateAnnotation}`):"")}function _l(e,t,r){let WR=Jn(r),[o,i]=Q1(ii(e)?[]:e,ii(t)?[]:t,WR);return Op(o,i,WR)}function tL(e,t,r,WR,o){if(ii(e)&&ii(r)&&(e=[],r=[]),ii(t)&&ii(WR)&&(t=[],WR=[]),e.length!==r.length||t.length!==WR.length)return _l(e,t,o);let[i,s]=Q1(r,WR,o),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Ht:d[1]=e[l],l+=1;break;case kt:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),Op(i,s,Jn(o))}function Q1(e,t,r){var h,m;let WR=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=WR?Math.min(e.length,o):e.length,s=WR?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=[],c=0,p=0;for(W1(i,s,u,(g,y,b)=>{for(;c!==y;c+=1)d.push(new
|
|
314
|
+
${r.truncateAnnotation}`):"")}function _l(e,t,r){let WR=Jn(r),[o,i]=Q1(ii(e)?[]:e,ii(t)?[]:t,WR);return Op(o,i,WR)}function tL(e,t,r,WR,o){if(ii(e)&&ii(r)&&(e=[],r=[]),ii(t)&&ii(WR)&&(t=[],WR=[]),e.length!==r.length||t.length!==WR.length)return _l(e,t,o);let[i,s]=Q1(r,WR,o),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Ht:d[1]=e[l],l+=1;break;case kt:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),Op(i,s,Jn(o))}function Q1(e,t,r){var h,m;let WR=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=WR?Math.min(e.length,o):e.length,s=WR?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=[],c=0,p=0;for(W1(i,s,u,(g,y,b)=>{for(;c!==y;c+=1)d.push(new _t(Ht,e[c]));for(;p!==b;p+=1)d.push(new _t(kt,t[p]));for(;g!==0;g-=1,c+=1,p+=1)d.push(new _t(Ct,t[p]))});c!==i;c+=1)d.push(new _t(Ht,e[c]));for(;p!==s;p+=1)d.push(new _t(kt,t[p]));return[d,l]}function db(e){return e.includes(`\r
|
|
315
315
|
`)?`\r
|
|
316
316
|
`:`
|
|
317
317
|
`}function rL(e,t,r){var h,m;let WR=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,o=Math.max(Math.floor((m=r==null?void 0:r.truncateThreshold)!=null?m:0),0),i=e.length,s=t.length;if(WR){let g=e.includes(`
|
|
318
318
|
`),y=t.includes(`
|
|
319
319
|
`),b=db(e),E=db(t),_=g?`${e.split(b,o).join(b)}
|
|
320
320
|
`:e,O=y?`${t.split(E,o).join(E)}
|
|
321
|
-
`:t;i=_.length,s=O.length}let l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=0,c=0,p=[];return W1(i,s,u,(g,y,b)=>{d!==y&&p.push(new
|
|
321
|
+
`:t;i=_.length,s=O.length}let l=i!==e.length||s!==t.length,u=(g,y)=>e[g]===t[y],d=0,c=0,p=[];return W1(i,s,u,(g,y,b)=>{d!==y&&p.push(new _t(Ht,e.slice(d,y))),c!==b&&p.push(new _t(kt,t.slice(c,b))),d=y+g,c=b+g,p.push(new _t(Ct,t.slice(b,c)))}),d!==i&&p.push(new _t(Ht,e.slice(d))),c!==s&&p.push(new _t(kt,t.slice(c))),[p,l]}function nL(e,t,r){return t.reduce((WR,o)=>WR+(o[0]===Ct?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var pb=class{constructor(e,t){bt(this,"op");bt(this,"line");bt(this,"lines");bt(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new _t(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new _t(this.op,nL(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new _t(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
322
322
|
`)){let r=t.split(`
|
|
323
323
|
`),WR=r.length-1;r.forEach((o,i)=>{i<WR?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},oL=class{constructor(e,t){bt(this,"deleteBuffer");bt(this,"insertBuffer");bt(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
324
324
|
`)){let WR=r.split(`
|
|
325
|
-
`),o=WR.length-1;WR.forEach((i,s)=>{if(s===0){let l=new
|
|
325
|
+
`),o=WR.length-1;WR.forEach((i,s)=>{if(s===0){let l=new _t(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else s<o?this.pushDiffCommonLine(new _t(t,i)):i.length!==0&&this.pushDiffChangeLines(new _t(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function iL(e,t){let r=new pb(Ht,t),WR=new pb(kt,t),o=new oL(r,WR);return e.forEach(i=>{switch(i[0]){case Ht:r.align(i);break;case kt:WR.align(i);break;default:o.align(i)}}),o.getLines()}function aL(e,t){if(t){let r=e.length-1;return e.some((WR,o)=>WR[0]===Ct&&(o!==r||WR[1]!==`
|
|
326
326
|
`))}return e.some(r=>r[0]===Ct)}function sL(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let WR=e.includes(`
|
|
327
327
|
`)||t.includes(`
|
|
328
328
|
`),[o,i]=Z1(WR?`${e}
|
|
@@ -436,4 +436,4 @@ Unable to find an `+(WR===!1?"accessible ":"")+'element with the role "'+t+'"'+u
|
|
|
436
436
|
`)),s+=p+WR[u+1]}),s}var I9=M9,Od=(0,Pw.instrument)({...SE},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Od.screen=new Proxy(Od.screen,{get(e,t,r){return N9.once.warn(I9`
|
|
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:D9,configure:q9,createEvent:j9,fireEvent:B9,findAllByAltText:k9,findAllByDisplayValue:F9,findAllByLabelText:L9,findAllByPlaceholderText:$9,findAllByRole:U9,findAllByTestId:H9,findAllByText:z9,findAllByTitle:V9,findByAltText:G9,findByDisplayValue:W9,findByLabelText:Y9,findByPlaceholderText:K9,findByRole:J9,findByTestId:X9,findByText:Q9,findByTitle:Z9,getAllByAltText:e6,getAllByDisplayValue:t6,getAllByLabelText:r6,getAllByPlaceholderText:n6,getAllByRole:o6,getAllByTestId:i6,getAllByText:a6,getAllByTitle:s6,getByAltText:l6,getByDisplayValue:u6,getByLabelText:c6,getByPlaceholderText:d6,getByRole:p6,getByTestId:f6,getByText:h6,getByTitle:m6,getConfig:g6,getDefaultNormalizer:y6,getElementError:b6,getNodeText:v6,getQueriesForElement:E6,getRoles:_6,getSuggestedQuery:w6,isInaccessible:S6,logDOM:A6,logRoles:C6,prettyDOM:T6,queries:R6,queryAllByAltText:P6,queryAllByAttribute:O6,queryAllByDisplayValue:x6,queryAllByLabelText:N6,queryAllByPlaceholderText:M6,queryAllByRole:I6,queryAllByTestId:D6,queryAllByText:q6,queryAllByTitle:j6,queryByAltText:B6,queryByAttribute:k6,queryByDisplayValue:F6,queryByLabelText:L6,queryByPlaceholderText:$6,queryByRole:U6,queryByTestId:H6,queryByText:z6,queryByTitle:V6,queryHelpers:G6,screen:W6,waitFor:Y6,waitForElementToBeRemoved:K6,within:Ow,prettyFormat:J6}=Od,{userEvent:X6}=(0,Pw.instrument)({userEvent:x9},{intercept:!0}),{expect:Q6}=(0,dq.instrument)({expect:gE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let WR=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?WR:[...WR,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),Z6=({parameters:e})=>{var t,r,WR;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?_E():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?EE():((WR=e==null?void 0:e.test)==null?void 0:WR.restoreMocks)!==!1&&wE()},Xs=(e,t=0,r)=>{var WR;if(t>5||e==null)return e;if(xp(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=bE(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>Xs(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(WR=Object.getOwnPropertyDescriptor(e,o))!=null&&WR.writable&&(e[o]=Xs(i,t,o));return e}return e},eU=({initialArgs:e})=>{Xs(e)},tU=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Ow(e.canvasElement))};B0.global.__STORYBOOK_TEST_LOADERS__=[Z6,eU,tU];B0.global.__STORYBOOK_TEST_ON_MOCK_CALL__=yE});var pU={};pS(pU,{Default:()=>Ma,HighImpactHero:()=>cU,LowImpactHero:()=>lU,MediumImpactHero:()=>uU,PostHero:()=>dU,default:()=>aU});module.exports=fS(pU);var Rn=Sr(require("react"));var lf=require("clsx");var Dl="-",hS=e=>{let t=gS(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:WR}=e;return{getClassGroupId:s=>{let l=s.split(Dl);return l[0]===""&&l.length!==1&&l.shift(),tf(l,t)||mS(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&WR[s]?[...u,...WR[s]]:u}}},tf=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],WR=t.nextPart.get(r),o=WR?tf(e.slice(1),WR):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Dl);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},Zp=/^\[(.+)\]$/,mS=e=>{if(Zp.test(e)){let t=Zp.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},gS=e=>{let{theme:t,prefix:r}=e,WR={nextPart:new Map,validators:[]};return bS(Object.entries(e.classGroups),r).forEach(([i,s])=>{Il(s,WR,i,t)}),WR},Il=(e,t,r,WR)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:ef(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(yS(o)){Il(o(WR),t,r,WR);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Il(s,ef(t,i),r,WR)})})},ef=(e,t)=>{let r=e;return t.split(Dl).forEach(WR=>{r.nextPart.has(WR)||r.nextPart.set(WR,{nextPart:new Map,validators:[]}),r=r.nextPart.get(WR)}),r},yS=e=>e.isThemeGetter,bS=(e,t)=>t?e.map(([r,WR])=>{let o=WR.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,vS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,WR=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,WR=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=WR.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},rf="!",ES=e=>{let{separator:t,experimentalParseClassName:r}=e,WR=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let b=0;b<l.length;b++){let E=l[b];if(d===0){if(E===o&&(WR||l.slice(b,b+i)===t)){u.push(l.slice(c,b)),c=b+i;continue}if(E==="/"){p=b;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(rf),g=m?h.substring(1):h,y=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:s}):s},_S=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(WR=>{WR[0]==="["?(t.push(...r.sort(),WR),r=[]):r.push(WR)}),t.push(...r.sort()),t},wS=e=>({cache:vS(e.cacheSize),parseClassName:ES(e),...hS(e)}),SS=/\s+/,AS=(e,t)=>{let{parseClassName:r,getClassGroupId:WR,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(SS),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,y=WR(g?h.substring(0,m):h);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=WR(h),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=_S(c).join(":"),E=p?b+rf:b,_=E+y;if(i.includes(_))continue;i.push(_);let O=o(y,g);for(let A=0;A<O.length;++A){let w=O[A];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function CS(){let e=0,t,r,WR="";for(;e<arguments.length;)(t=arguments[e++])&&(r=nf(t))&&(WR&&(WR+=" "),WR+=r);return WR}var nf=e=>{if(typeof e=="string")return e;let t,r="";for(let WR=0;WR<e.length;WR++)e[WR]&&(t=nf(e[WR]))&&(r&&(r+=" "),r+=t);return r};function TS(e,...t){let r,WR,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=wS(d),WR=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=WR(u);if(d)return d;let c=AS(u,r);return o(u,c),c}return function(){return i(CS.apply(null,arguments))}}var ht=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},of=/^\[(?:([a-z-]+):)?(.+)\]$/i,RS=/^\d+\/\d+$/,PS=new Set(["px","full","screen"]),OS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,NS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,MS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,IS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Fr=e=>eo(e)||PS.has(e)||RS.test(e),en=e=>to(e,"length",$S),eo=e=>!!e&&!Number.isNaN(Number(e)),Ml=e=>to(e,"number",eo),Ni=e=>!!e&&Number.isInteger(Number(e)),DS=e=>e.endsWith("%")&&eo(e.slice(0,-1)),Fe=e=>of.test(e),tn=e=>OS.test(e),qS=new Set(["length","size","percentage"]),jS=e=>to(e,qS,af),BS=e=>to(e,"position",af),kS=new Set(["image","url"]),FS=e=>to(e,kS,HS),LS=e=>to(e,"",US),Mi=()=>!0,to=(e,t,r)=>{let WR=of.exec(e);return WR?WR[1]?typeof t=="string"?WR[1]===t:t.has(WR[1]):r(WR[2]):!1},$S=e=>xS.test(e)&&!NS.test(e),af=()=>!1,US=e=>MS.test(e),HS=e=>IS.test(e);var zS=()=>{let e=ht("colors"),t=ht("spacing"),r=ht("blur"),WR=ht("brightness"),o=ht("borderColor"),i=ht("borderRadius"),s=ht("borderSpacing"),l=ht("borderWidth"),u=ht("contrast"),d=ht("grayscale"),c=ht("hueRotate"),p=ht("invert"),h=ht("gap"),m=ht("gradientColorStops"),g=ht("gradientColorStopPositions"),y=ht("inset"),b=ht("margin"),E=ht("opacity"),_=ht("padding"),O=ht("saturate"),A=ht("scale"),w=ht("sepia"),S=ht("skew"),T=ht("space"),C=ht("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Fe,t],V=()=>[Fe,t],J=()=>["",Fr,en],P=()=>["auto",eo,Fe],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"],Se=()=>["","0",Fe],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Pe=()=>[eo,Fe];return{cacheSize:500,separator:":",theme:{colors:[Mi],spacing:[Fr,en],blur:["none","",tn,Fe],brightness:Pe(),borderColor:[e],borderRadius:["none","","full",tn,Fe],borderSpacing:V(),borderWidth:J(),contrast:Pe(),grayscale:Se(),hueRotate:Pe(),invert:Se(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[DS,en],inset:X(),margin:X(),opacity:Pe(),padding:V(),saturate:Pe(),scale:Pe(),sepia:Se(),skew:Pe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Fe]}],container:["container"],columns:[{columns:[tn]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"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(),Fe]}],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:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ni,Fe]}],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",Fe]}],grow:[{grow:Se()}],shrink:[{shrink:Se()}],order:[{order:["first","last","none",Ni,Fe]}],"grid-cols":[{"grid-cols":[Mi]}],"col-start-end":[{col:["auto",{span:["full",Ni,Fe]},Fe]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[Mi]}],"row-start-end":[{row:["auto",{span:[Ni,Fe]},Fe]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fe]}],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:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"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",Fe,t]}],"min-w":[{"min-w":[Fe,t,"min","max","fit"]}],"max-w":[{"max-w":[Fe,t,"none","full","min","max","fit","prose",{screen:[tn]},tn]}],h:[{h:[Fe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Fe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",tn,en]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ml]}],"font-family":[{font:[Mi]}],"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",Fe]}],"line-clamp":[{"line-clamp":["none",eo,Ml]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fr,Fe]}],"list-image":[{"list-image":["none",Fe]}],"list-style-type":[{list:["none","disc","decimal",Fe]}],"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",Fr,en]}],"underline-offset":[{"underline-offset":["auto",Fr,Fe]}],"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",Fe]}],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",Fe]}],"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(),BS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},FS]}],"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":[Fr,Fe]}],"outline-w":[{outline:[Fr,en]}],"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":[Fr,en]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",tn,LS]}],"shadow-color":[{shadow:[Mi]}],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:[WR]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",tn,Fe]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[O]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[WR]}],"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":[O]}],"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",Fe]}],duration:[{duration:Pe()}],ease:[{ease:["linear","in","out","in-out",Fe]}],delay:[{delay:Pe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[Ni,Fe]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"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",Fe]}],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","WR-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",Fe]}],"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-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":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",Fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Fr,en,Ml]}],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","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","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-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","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 sf=TS(zS);function mt(...e){return sf((0,lf.clsx)(e))}var Pn=require("react/jsx-runtime"),Da=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Da.displayName="Card";var qa=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("flex flex-col space-y-1.5 p-6",e),...t}));qa.displayName="CardHeader";var ja=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("font-semibold leading-none tracking-tight",e),...t}));ja.displayName="CardTitle";var VS=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("text-sm text-muted-foreground",e),...t}));VS.displayName="CardDescription";var Ba=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("p-6 pt-0",e),...t}));Ba.displayName="CardContent";var GS=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("flex items-center p-6 pt-0",e),...t}));GS.displayName="CardFooter";var uf=require("@radix-ui/react-slot"),cf=require("class-variance-authority"),df=Sr(require("react")),WS=(0,cf.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"}}}),On=df.forwardRef(({asChild:e=!1,className:t,size:r,variant:WR,...o},i)=>(0,Pn.jsx)(e?uf.Slot:"button",{className:mt(WS({className:t,size:r,variant:WR})),ref:i,...o}));On.displayName="Button";var Wa=require("lucide-react");var Ii=({type:e="solid",iconName:t="cloud",size:r="lg",className:WR})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=WR!=null?WR:"",l=o+i+" fa-"+r+" "+s;return(0,Pn.jsx)("i",{className:l})};var xn=require("react"),tr=require("@headlessui/react"),Fa=require("@heroicons/react/24/outline"),Di=require("@heroicons/react/20/solid");var YS=({name:e,items:t,actions:r=[],href:WR})=>!t&&WR?(0,Pn.jsxs)("a",{href:WR,className:"relative inline-block text-sm font-semibold text-foreground group",children:[e,(0,Pn.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,Pn.jsxs)(tr.Popover,{children:[(0,Pn.jsxs)(tr.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Pn.jsxs)("span",{className:"relative",children:[e,(0,Pn.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,Pn.jsx)(Di.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Pn.jsxs)(tr.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-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,Pn.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,Pn.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Pn.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,Pn.jsx)(o.icon,{"aria-hidden":"true",size:"6x"})}),(0,Pn.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,Pn.jsx)("span",{className:"absolute inset-0"})]}),(0,Pn.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,Pn.jsx)("div",{className:"bg-gray-50",children:(0,Pn.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Pn.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,Pn.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,Pn.jsx)(o.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),mf=YS;var ka=["light","dark","green"];function gf({title:e,logo:t,menuItems:r}){let[WR,o]=(0,xn.useState)(!1),[i,s]=(0,xn.useState)(!1),[l,u]=(0,xn.useState)("light"),d=t==null?void 0:t.split(".")[0],c=t==null?void 0:t.split(".")[1],[p,h]=(0,xn.useState)(`${d}.${c}`),m=y=>{ka.includes(y)?h(y==="light"?`${d}.${c}`:`${d}-${y}.${c}`):h(`${d}.${c}`)};(0,xn.useEffect)(()=>{let y=localStorage.getItem("theme")||"light";console.log("storedTheme",y),u(y),document.documentElement.setAttribute("class",y),m(y)},[]);let g=()=>{let y=ka[(ka.indexOf(l)+1)%ka.length];u(y),document.documentElement.setAttribute("class",y),localStorage.setItem("theme",y),m(y)};return(0,Pn.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,Pn.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Pn.jsx)("div",{className:"flex lg:flex-1",children:(0,Pn.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Pn.jsx)("span",{className:"sr-only",children:e}),(0,Pn.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,Pn.jsx)("div",{className:"flex lg:hidden",children:(0,Pn.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,Pn.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pn.jsx)(Fa.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Pn.jsx)(tr.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(y=>(0,Pn.jsx)(mf,{...y},y.name))}),(0,Pn.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Pn.jsx)("button",{onClick:g,className:"p-2 text-gray-700 outline-none",children:l==="dark"?(0,Pn.jsx)(Di.SunIcon,{className:"h-6 w-6"}):l==="green"?(0,Pn.jsx)(Di.MoonIcon,{className:"h-6 w-6"}):(0,Pn.jsx)(Di.SunIcon,{className:"h-6 w-6"})})})]}),(0,Pn.jsxs)(tr.Dialog,{open:WR,onClose:o,className:"lg:hidden",children:[(0,Pn.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pn.jsxs)(tr.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,Pn.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pn.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Pn.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Pn.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Pn.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Pn.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pn.jsx)(Fa.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Pn.jsx)("div",{className:"mt-6 flow-root",children:(0,Pn.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pn.jsx)("div",{className:"space-y-2 py-6",children:r.map(y=>(0,Pn.jsx)(KS,{...y},y.name))})})})]})]})]})}function KS({name:e,items:t,actions:r,href:WR}){return!t&&WR?(0,Pn.jsx)("a",{href:WR,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Pn.jsxs)(tr.Disclosure,{as:"div",className:"-mx-3",children:[(0,Pn.jsx)(tr.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,Pn.jsx)(tr.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,Pn.jsx)(tr.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 yf=({className:e,content:t,style:r})=>(0,Pn.jsx)("div",{className:mt("mx-auto my-8 w-full",e),children:(0,Pn.jsx)("div",{className:mt("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Pn.jsx)(Ar,{content:t,enableGutter:!1,enableProse:!1})})});var ql=Sr(require("next/link")),no=e=>{let{type:t,appearance:r="inline",children:WR,className:o,label:i,newTab:s,reference:l,size:u,url:d}=e,c=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!c)return null;let p=r==="link"?"clear":u,h=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Pn.jsxs)(ql.default,{className:mt(o),href:c||d||"",...h,children:[i&&i,WR&&WR]}):(0,Pn.jsx)(On,{asChild:!0,className:o,size:p,variant:r,children:(0,Pn.jsxs)(ql.default,{className:mt(o),href:c||d||"",...h,children:[i&&i,WR&&WR]})})};var bf=({links:e,richText:t})=>(0,Pn.jsx)("div",{className:"container",children:(0,Pn.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Pn.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Pn.jsx)(Ar,{className:"mb-0",content:t,enableGutter:!1})}),(0,Pn.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},WR)=>(0,Pn.jsx)(no,{size:"lg",...r},WR))})]})});var $a=require("prism-react-renderer");function _f({code:e}){let[t,r]=(0,xn.useState)("Copy");function WR(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Pn.jsx)("div",{className:"flex justify-end align-middle",children:(0,Pn.jsxs)(On,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),WR()},children:[(0,Pn.jsx)("p",{children:t}),(0,Pn.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Pn.jsx)(Wa.ClipboardCopy,{})})]})})}var wf=({code:e,language:t=""})=>e?(0,Pn.jsx)($a.Highlight,{code:e,language:t,theme:$a.themes.vsDark,children:({getLineProps:r,getTokenProps:WR,tokens:o})=>(0,Pn.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,Pn.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,Pn.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Pn.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,Pn.jsx)("span",{...WR({token:l})},u))})]},s)),(0,Pn.jsx)(_f,{code:e})]})}):null;var Sf=({className:e,code:t,language:r})=>(0,Pn.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Pn.jsx)(wf,{code:t,language:r})});var Cf=Sr(require("next/image"));var Af=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ua=()=>{if(Af){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var JS={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},XS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Tf=e=>{let{alt:t,fill:r,imgClassName:WR,priority:o,resource:i,size:s,src:l,loading:u}=e,d,c,p=t,h=l||"";if(!h&&i&&typeof i=="object"){let{alt:y,filename:b,height:E,url:_,width:O}=i;d=O,c=E,p=y||"",h=`${Ua()}${_}`}let m=u||"lazy",g=s||Object.entries(JS).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,Pn.jsx)("picture",{children:(0,Pn.jsx)(Cf.default,{alt:p||"",className:mt(WR),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:XS,priority:m!=="lazy"&&o,quality:100,loading:m,sizes:g,src:h,width:r?void 0:d})})};var Rf=e=>{let{onClick:t,resource:r,videoClassName:WR}=e,o=(0,xn.useRef)(null);if((0,xn.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,Pn.jsx)("video",{autoPlay:!0,className:mt(WR),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,Pn.jsx)("source",{src:`${Ua()}/media/${i}`})})}return null};var oo=e=>{var s;let{className:t,htmlElement:r="div",resource:WR}=e,o=typeof WR=="object"&&((s=WR==null?void 0:WR.mimeType)==null?void 0:s.includes("video"));return(0,Pn.jsx)(r||xn.Fragment,{...r!==null?{className:t}:{},children:o?(0,Pn.jsx)(Rf,{...e}):(0,Pn.jsx)(Tf,{...e})})};var Of=e=>{let{className:t,enableGutter:r=!0,imgClassName:WR,media:o,staticImage:i}=e;return(0,Pn.jsx)("div",{className:mt("",{container:r},t),children:(0,Pn.jsx)(oo,{imgClassName:mt("border border-border rounded-[0.8rem]",WR),resource:o,src:i})})};var Va=Sr(require("react"));function Ll({nodes:e}){return(0,Pn.jsx)(Va.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Pn.jsx)(Va.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,Pn.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,Pn.jsx)("em",{children:i},r)),t.format&4&&(i=(0,Pn.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,Pn.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,Pn.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,Pn.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,Pn.jsx)("sup",{children:i},r)),i}let WR=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let s of i.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Ll({nodes:i.children})},o="children"in t?WR(t):"";if(t.type==="block"){let i=t.fields,s=i==null?void 0:i.blockType;if(!i||!s)return null;switch(s){case"cta":return(0,Pn.jsx)(bf,{...i},r);case"mediaBlock":return(0,Pn.jsx)(Of,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Pn.jsx)(yf,{className:"col-start-2 mb-4",...i},r);case"code":return(0,Pn.jsx)(Sf,{className:"col-start-2",...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,Pn.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Pn.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,Pn.jsx)(i,{className:"col-start-2",children:o},r)}case"list":{let i=t==null?void 0:t.tag;return(0,Pn.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Pn.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},r):(0,Pn.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,Pn.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,Pn.jsx)(no,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var Ar=({className:e,content:t,enableGutter:r=!0,enableProse:WR=!0})=>{var o;return t?(0,Pn.jsx)("div",{className:mt({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":WR},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ll({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var Nf=({children:e,richText:t})=>(0,Pn.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Pn.jsx)("div",{className:"container",children:e||t&&(0,Pn.jsx)(Ar,{content:t,enableGutter:!1})})});var $l=Sr(require("next/image"));var QS=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:WR,url:o,width:i}=e;return(0,Pn.jsx)($l.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:WR||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Pn.jsx)("div",{children:(0,Pn.jsx)($l.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Mf=({links:e,media:t,children:r,richText:WR})=>(0,Pn.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Pn.jsx)(QS,{media:t}),(0,Pn.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Pn.jsx)("div",{className:"container text-brand-one-foreground",children:r||WR&&(0,Pn.jsx)(Ar,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:WR,enableProse:!0,enableGutter:!1})})})]});var If=Sr(require("next/image"));var Df=({links:e,media:t,children:r,richText:WR})=>(0,Pn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Pn.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,Pn.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||WR&&(0,Pn.jsx)(Ar,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:WR,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Pn.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,Pn.jsx)("li",{children:(0,Pn.jsx)(no,{...o})},i))})]})}),(0,Pn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Pn.jsx)(oo,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Pn.jsx)("div",{children:(0,Pn.jsx)(If.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Pn.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var qf=e=>{let r=new Date;e&&(r=new Date(e));let WR=r.getMonth(),o=r.getDate(),i=WR+1<10?`0${WR+1}`:WR+1,s=o<10?`0${o}`:o,l=r.getFullYear();return`${i}/${s}/${l}`};var Mn=Sr(require("react"));var jf=Sr(require("next/image")),Bf=({post:e})=>{let{categories:t,meta:{image:r}={},populatedAuthors:WR,publishedAt:o,title:i}=e;return(0,Pn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Pn.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Pn.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Pn.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((s,l)=>{if(typeof s=="object"&&s!==null){let{title:u}=s,d=u||"Untitled category",c=l===t.length-1;return(0,Pn.jsxs)(Mn.default.Fragment,{children:[d,!c&&(0,Pn.jsx)(Mn.default.Fragment,{children:", \xA0"})]},l)}return null})}),(0,Pn.jsx)("div",{className:"",children:(0,Pn.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Pn.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Pn.jsx)("div",{className:"flex flex-col gap-4",children:WR&&(0,Pn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pn.jsx)("p",{className:"text-sm",children:"Author"}),WR.map((s,l)=>{let{name:u}=s,d=l===WR.length-1,c=l===WR.length-2;return(0,Pn.jsxs)(Mn.default.Fragment,{children:[u,c&&WR.length>2&&(0,Pn.jsx)(Mn.default.Fragment,{children:", "}),c&&WR.length===2&&(0,Pn.jsx)(Mn.default.Fragment,{children:" "}),!d&&WR.length>1&&(0,Pn.jsx)(Mn.default.Fragment,{children:"and "})]},l)})]})}),o&&(0,Pn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pn.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Pn.jsx)("time",{dateTime:o,children:qf(o)})]})]})]})}),(0,Pn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r!="string"&&(0,Pn.jsx)(oo,{fill:!0,imgClassName:"-z-10 object-cover",resource:r}),r&&typeof r=="string"&&(0,Pn.jsx)("div",{children:(0,Pn.jsx)(jf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:r})}),(0,Pn.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};function Ya({...e}){return(0,Pn.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,Pn.jsx)(gf,{...e.header}),(0,Pn.jsxs)("div",{className:"relative",children:[e.hero&&e.hero.type==="lowImpact"&&(0,Pn.jsx)(Nf,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Pn.jsx)(Mf,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Pn.jsx)(Df,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,Pn.jsx)(Bf,{...e.hero}),(0,Pn.jsx)("div",{className:"container py-8",children:(0,Pn.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Pn.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Pn.jsxs)("div",{className:"space-y-6",children:[(0,Pn.jsxs)(Da,{children:[(0,Pn.jsx)(qa,{children:(0,Pn.jsx)(ja,{children:"Quick Actions"})}),(0,Pn.jsxs)(Ba,{children:[(0,Pn.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Pn.jsx)(On,{className:"w-full",children:"Create New"})]})]}),(0,Pn.jsxs)(Da,{children:[(0,Pn.jsx)(qa,{children:(0,Pn.jsx)(ja,{children:"Resources"})}),(0,Pn.jsx)(Ba,{children:(0,Pn.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Pn.jsx)(Wa.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Pn.jsx)(Wa.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Pn.jsx)(Wa.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}var Pl=Sr(xw());var rU=()=>(0,Pn.jsx)(Ii,{iconName:"github",size:"4x",type:"brands"});var nU=()=>(0,Pn.jsx)(Ii,{iconName:"people-sharing",size:"4x",type:"kit"}),oU=()=>(0,Pn.jsx)(Ii,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),iU=()=>(0,Pn.jsx)(Ii,{iconName:"development",size:"4x",type:"kit"}),aU={title:"Pages/Page",component:Ya,decorators:[e=>(0,Pn.jsx)("div",{className:"bg-sidebar",children:(0,Pn.jsx)(e,{})})]},sU=e=>(0,Pn.jsx)(Ya,{...e}),Ma={render:sU,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,Pn.jsxs)("div",{className:"prose max-w-none",children:[(0,Pn.jsx)("h2",{children:"How it works"}),(0,Pn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),(0,Pn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Pn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:oU},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:nU},{name:"Products",description:"Products that we sell",href:"#",icon:iU}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:Fa.ChartPieIcon},{name:"API Reference",href:"#",icon:Fa.CursorArrowRaysIcon},{name:"Github",href:"#",icon:rU}],actions:[{name:"Watch demo",href:"#",icon:Di.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Di.PhoneIcon},{name:"View all products",href:"#",icon:Di.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},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,Pl.fn)(),onEditDocument:(0,Pl.fn)(),onPrintDocument:(0,Pl.fn)()}}},lU={args:{...Ma.args,hero:{type:"lowImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},uU={args:{...Ma.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},cU={args:{...Ma.args,hero:{type:"highImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},dU={args:{...Ma.args,hero:{type:"highImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};0&&(module.exports={Default,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero});
|
|
439
|
+
`),Reflect.get(e,t,r)}});var{buildQueries:D9,configure:q9,createEvent:j9,fireEvent:B9,findAllByAltText:k9,findAllByDisplayValue:F9,findAllByLabelText:L9,findAllByPlaceholderText:$9,findAllByRole:U9,findAllByTestId:H9,findAllByText:z9,findAllByTitle:V9,findByAltText:G9,findByDisplayValue:W9,findByLabelText:Y9,findByPlaceholderText:K9,findByRole:J9,findByTestId:X9,findByText:Q9,findByTitle:Z9,getAllByAltText:e6,getAllByDisplayValue:t6,getAllByLabelText:r6,getAllByPlaceholderText:n6,getAllByRole:o6,getAllByTestId:i6,getAllByText:a6,getAllByTitle:s6,getByAltText:l6,getByDisplayValue:u6,getByLabelText:c6,getByPlaceholderText:d6,getByRole:p6,getByTestId:f6,getByText:h6,getByTitle:m6,getConfig:g6,getDefaultNormalizer:y6,getElementError:b6,getNodeText:v6,getQueriesForElement:E6,getRoles:_6,getSuggestedQuery:w6,isInaccessible:S6,logDOM:A6,logRoles:C6,prettyDOM:T6,queries:R6,queryAllByAltText:P6,queryAllByAttribute:O6,queryAllByDisplayValue:x6,queryAllByLabelText:N6,queryAllByPlaceholderText:M6,queryAllByRole:I6,queryAllByTestId:D6,queryAllByText:q6,queryAllByTitle:j6,queryByAltText:B6,queryByAttribute:k6,queryByDisplayValue:F6,queryByLabelText:L6,queryByPlaceholderText:$6,queryByRole:U6,queryByTestId:H6,queryByText:z6,queryByTitle:V6,queryHelpers:G6,screen:W6,waitFor:Y6,waitForElementToBeRemoved:K6,within:Ow,prettyFormat:J6}=Od,{userEvent:X6}=(0,Pw.instrument)({userEvent:x9},{intercept:!0}),{expect:Q6}=(0,dq.instrument)({expect:gE},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===F){let WR=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?WR:[...WR,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),Z6=({parameters:e})=>{var t,r,WR;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?_E():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?EE():((WR=e==null?void 0:e.test)==null?void 0:WR.restoreMocks)!==!1&&wE()},Xs=(e,t=0,r)=>{var WR;if(t>5||e==null)return e;if(xp(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=bE(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>Xs(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,i]of Object.entries(e))(WR=Object.getOwnPropertyDescriptor(e,o))!=null&&WR.writable&&(e[o]=Xs(i,t,o));return e}return e},eU=({initialArgs:e})=>{Xs(e)},tU=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Ow(e.canvasElement))};B0.global.__STORYBOOK_TEST_LOADERS__=[Z6,eU,tU];B0.global.__STORYBOOK_TEST_ON_MOCK_CALL__=yE});var pU={};pS(pU,{Default:()=>Ma,HighImpactHero:()=>cU,LowImpactHero:()=>lU,MediumImpactHero:()=>uU,PostHero:()=>dU,default:()=>aU});module.exports=fS(pU);var Rn=Sr(require("react"));var lf=require("clsx");var Dl="-",hS=e=>{let t=gS(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:WR}=e;return{getClassGroupId:s=>{let l=s.split(Dl);return l[0]===""&&l.length!==1&&l.shift(),tf(l,t)||mS(s)},getConflictingClassGroupIds:(s,l)=>{let u=r[s]||[];return l&&WR[s]?[...u,...WR[s]]:u}}},tf=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],WR=t.nextPart.get(r),o=WR?tf(e.slice(1),WR):void 0;if(o)return o;if(t.validators.length===0)return;let i=e.join(Dl);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},Zp=/^\[(.+)\]$/,mS=e=>{if(Zp.test(e)){let t=Zp.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},gS=e=>{let{theme:t,prefix:r}=e,WR={nextPart:new Map,validators:[]};return bS(Object.entries(e.classGroups),r).forEach(([i,s])=>{Il(s,WR,i,t)}),WR},Il=(e,t,r,WR)=>{e.forEach(o=>{if(typeof o=="string"){let i=o===""?t:ef(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(yS(o)){Il(o(WR),t,r,WR);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Il(s,ef(t,i),r,WR)})})},ef=(e,t)=>{let r=e;return t.split(Dl).forEach(WR=>{r.nextPart.has(WR)||r.nextPart.set(WR,{nextPart:new Map,validators:[]}),r=r.nextPart.get(WR)}),r},yS=e=>e.isThemeGetter,bS=(e,t)=>t?e.map(([r,WR])=>{let o=WR.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,vS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,WR=new Map,o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,WR=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=WR.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},rf="!",ES=e=>{let{separator:t,experimentalParseClassName:r}=e,WR=t.length===1,o=t[0],i=t.length,s=l=>{let u=[],d=0,c=0,p;for(let b=0;b<l.length;b++){let E=l[b];if(d===0){if(E===o&&(WR||l.slice(b,b+i)===t)){u.push(l.slice(c,b)),c=b+i;continue}if(E==="/"){p=b;continue}}E==="["?d++:E==="]"&&d--}let h=u.length===0?l:l.substring(c),m=h.startsWith(rf),g=m?h.substring(1):h,y=p&&p>c?p-c:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:g,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:s}):s},_S=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(WR=>{WR[0]==="["?(t.push(...r.sort(),WR),r=[]):r.push(WR)}),t.push(...r.sort()),t},wS=e=>({cache:vS(e.cacheSize),parseClassName:ES(e),...hS(e)}),SS=/\s+/,AS=(e,t)=>{let{parseClassName:r,getClassGroupId:WR,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(SS),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,y=WR(g?h.substring(0,m):h);if(!y){if(!g){l=d+(l.length>0?" "+l:l);continue}if(y=WR(h),!y){l=d+(l.length>0?" "+l:l);continue}g=!1}let b=_S(c).join(":"),E=p?b+rf:b,_=E+y;if(i.includes(_))continue;i.push(_);let O=o(y,g);for(let A=0;A<O.length;++A){let w=O[A];i.push(E+w)}l=d+(l.length>0?" "+l:l)}return l};function CS(){let e=0,t,r,WR="";for(;e<arguments.length;)(t=arguments[e++])&&(r=nf(t))&&(WR&&(WR+=" "),WR+=r);return WR}var nf=e=>{if(typeof e=="string")return e;let t,r="";for(let WR=0;WR<e.length;WR++)e[WR]&&(t=nf(e[WR]))&&(r&&(r+=" "),r+=t);return r};function TS(e,...t){let r,WR,o,i=s;function s(u){let d=t.reduce((c,p)=>p(c),e());return r=wS(d),WR=r.cache.get,o=r.cache.set,i=l,l(u)}function l(u){let d=WR(u);if(d)return d;let c=AS(u,r);return o(u,c),c}return function(){return i(CS.apply(null,arguments))}}var ht=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},of=/^\[(?:([a-z-]+):)?(.+)\]$/i,RS=/^\d+\/\d+$/,PS=new Set(["px","full","screen"]),OS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xS=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,NS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,MS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,IS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Fr=e=>eo(e)||PS.has(e)||RS.test(e),en=e=>to(e,"length",$S),eo=e=>!!e&&!Number.isNaN(Number(e)),Ml=e=>to(e,"number",eo),Ni=e=>!!e&&Number.isInteger(Number(e)),DS=e=>e.endsWith("%")&&eo(e.slice(0,-1)),Fe=e=>of.test(e),tn=e=>OS.test(e),qS=new Set(["length","size","percentage"]),jS=e=>to(e,qS,af),BS=e=>to(e,"position",af),kS=new Set(["image","url"]),FS=e=>to(e,kS,HS),LS=e=>to(e,"",US),Mi=()=>!0,to=(e,t,r)=>{let WR=of.exec(e);return WR?WR[1]?typeof t=="string"?WR[1]===t:t.has(WR[1]):r(WR[2]):!1},$S=e=>xS.test(e)&&!NS.test(e),af=()=>!1,US=e=>MS.test(e),HS=e=>IS.test(e);var zS=()=>{let e=ht("colors"),t=ht("spacing"),r=ht("blur"),WR=ht("brightness"),o=ht("borderColor"),i=ht("borderRadius"),s=ht("borderSpacing"),l=ht("borderWidth"),u=ht("contrast"),d=ht("grayscale"),c=ht("hueRotate"),p=ht("invert"),h=ht("gap"),m=ht("gradientColorStops"),g=ht("gradientColorStopPositions"),y=ht("inset"),b=ht("margin"),E=ht("opacity"),_=ht("padding"),O=ht("saturate"),A=ht("scale"),w=ht("sepia"),S=ht("skew"),T=ht("space"),C=ht("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Fe,t],V=()=>[Fe,t],J=()=>["",Fr,en],P=()=>["auto",eo,Fe],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"],Se=()=>["","0",Fe],De=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Pe=()=>[eo,Fe];return{cacheSize:500,separator:":",theme:{colors:[Mi],spacing:[Fr,en],blur:["none","",tn,Fe],brightness:Pe(),borderColor:[e],borderRadius:["none","","full",tn,Fe],borderSpacing:V(),borderWidth:J(),contrast:Pe(),grayscale:Se(),hueRotate:Pe(),invert:Se(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[DS,en],inset:X(),margin:X(),opacity:Pe(),padding:V(),saturate:Pe(),scale:Pe(),sepia:Se(),skew:Pe(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",Fe]}],container:["container"],columns:[{columns:[tn]}],"break-after":[{"break-after":De()}],"break-before":[{"break-before":De()}],"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(),Fe]}],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:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ni,Fe]}],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",Fe]}],grow:[{grow:Se()}],shrink:[{shrink:Se()}],order:[{order:["first","last","none",Ni,Fe]}],"grid-cols":[{"grid-cols":[Mi]}],"col-start-end":[{col:["auto",{span:["full",Ni,Fe]},Fe]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[Mi]}],"row-start-end":[{row:["auto",{span:[Ni,Fe]},Fe]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Fe]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Fe]}],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:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"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",Fe,t]}],"min-w":[{"min-w":[Fe,t,"min","max","fit"]}],"max-w":[{"max-w":[Fe,t,"none","full","min","max","fit","prose",{screen:[tn]},tn]}],h:[{h:[Fe,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Fe,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Fe,t,"auto","min","max","fit"]}],"font-size":[{text:["base",tn,en]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ml]}],"font-family":[{font:[Mi]}],"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",Fe]}],"line-clamp":[{"line-clamp":["none",eo,Ml]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Fr,Fe]}],"list-image":[{"list-image":["none",Fe]}],"list-style-type":[{list:["none","disc","decimal",Fe]}],"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",Fr,en]}],"underline-offset":[{"underline-offset":["auto",Fr,Fe]}],"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",Fe]}],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",Fe]}],"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(),BS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",jS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},FS]}],"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":[Fr,Fe]}],"outline-w":[{outline:[Fr,en]}],"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":[Fr,en]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",tn,LS]}],"shadow-color":[{shadow:[Mi]}],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:[WR]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",tn,Fe]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[O]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[WR]}],"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":[O]}],"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",Fe]}],duration:[{duration:Pe()}],ease:[{ease:["linear","in","out","in-out",Fe]}],delay:[{delay:Pe()}],animate:[{animate:["none","spin","ping","pulse","bounce",Fe]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[Ni,Fe]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"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",Fe]}],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","WR-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",Fe]}],"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-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":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",Fe]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Fr,en,Ml]}],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","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","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-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","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 sf=TS(zS);function mt(...e){return sf((0,lf.clsx)(e))}var Pn=require("react/jsx-runtime"),Da=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Da.displayName="Card";var qa=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("flex flex-col space-y-1.5 p-6",e),...t}));qa.displayName="CardHeader";var ja=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("font-semibold leading-none tracking-tight",e),...t}));ja.displayName="CardTitle";var VS=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("text-sm text-muted-foreground",e),...t}));VS.displayName="CardDescription";var Ba=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("p-6 pt-0",e),...t}));Ba.displayName="CardContent";var GS=Rn.forwardRef(({className:e,...t},r)=>(0,Pn.jsx)("div",{ref:r,className:mt("flex items-center p-6 pt-0",e),...t}));GS.displayName="CardFooter";var uf=require("@radix-ui/react-slot"),cf=require("class-variance-authority"),df=Sr(require("react")),WS=(0,cf.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"}}}),On=df.forwardRef(({asChild:e=!1,className:t,size:r,variant:WR,...o},i)=>(0,Pn.jsx)(e?uf.Slot:"button",{className:mt(WS({className:t,size:r,variant:WR})),ref:i,...o}));On.displayName="Button";var Wa=require("lucide-react");var Ii=({type:e="solid",iconName:t="cloud",size:r="lg",className:WR})=>{let o=e.includes("fa-")?e+" ":"fa-"+e+" ",i="fa-"+t,s=WR!=null?WR:"",l=o+i+" fa-"+r+" "+s;return(0,Pn.jsx)("i",{className:l})};var xn=require("react"),tr=require("@headlessui/react"),Fa=require("@heroicons/react/24/outline"),Di=require("@heroicons/react/20/solid");var YS=({name:e,items:t,actions:r=[],href:WR})=>!t&&WR?(0,Pn.jsx)("a",{href:WR,className:"flex items-center gap-x-1 text-sm font-semibold text-foreground group",children:(0,Pn.jsxs)("span",{className:"relative",children:[e,(0,Pn.jsx)("span",{className:"absolute -bottom-1 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,Pn.jsxs)(tr.Popover,{children:[(0,Pn.jsxs)(tr.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Pn.jsxs)("span",{className:"relative",children:[e,(0,Pn.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,Pn.jsx)(Di.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Pn.jsxs)(tr.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-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,Pn.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,Pn.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Pn.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,Pn.jsx)(o.icon,{"aria-hidden":"true",size:"6x"})}),(0,Pn.jsxs)("a",{href:o.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[o.name,(0,Pn.jsx)("span",{className:"absolute inset-0"})]}),(0,Pn.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:o.description})]},o.name))}),r.length>0&&(0,Pn.jsx)("div",{className:"bg-gray-50",children:(0,Pn.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Pn.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(o=>(0,Pn.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,Pn.jsx)(o.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),o.name]},o.name))})})})]})]}),mf=YS;var ka=["light","dark","green"];function gf({title:e,logo:t,menuItems:r}){let[WR,o]=(0,xn.useState)(!1),[i,s]=(0,xn.useState)(!1),[l,u]=(0,xn.useState)("light"),d=t==null?void 0:t.split(".")[0],c=t==null?void 0:t.split(".")[1],[p,h]=(0,xn.useState)(`${d}.${c}`),m=y=>{ka.includes(y)?h(y==="light"?`${d}.${c}`:`${d}-${y}.${c}`):h(`${d}.${c}`)};(0,xn.useEffect)(()=>{let y=localStorage.getItem("theme")||"light";console.log("storedTheme",y),u(y),document.documentElement.setAttribute("class",y),m(y)},[]);let g=()=>{let y=ka[(ka.indexOf(l)+1)%ka.length];u(y),document.documentElement.setAttribute("class",y),localStorage.setItem("theme",y),m(y)};return(0,Pn.jsxs)("header",{className:"relative isolate z-10 bg-background h-14",children:[(0,Pn.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[(0,Pn.jsx)("div",{className:"flex lg:flex-1",children:(0,Pn.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Pn.jsx)("span",{className:"sr-only",children:e}),(0,Pn.jsx)("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),(0,Pn.jsx)("div",{className:"flex lg:hidden",children:(0,Pn.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,Pn.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Pn.jsx)(Fa.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Pn.jsx)(tr.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:r.map(y=>(0,Pn.jsx)(mf,{...y},y.name))}),(0,Pn.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Pn.jsx)("button",{onClick:g,className:"p-2 text-gray-700 outline-none",children:l==="dark"?(0,Pn.jsx)(Di.SunIcon,{className:"h-6 w-6"}):l==="green"?(0,Pn.jsx)(Di.MoonIcon,{className:"h-6 w-6"}):(0,Pn.jsx)(Di.SunIcon,{className:"h-6 w-6"})})})]}),(0,Pn.jsxs)(tr.Dialog,{open:WR,onClose:o,className:"lg:hidden",children:[(0,Pn.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Pn.jsxs)(tr.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,Pn.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Pn.jsxs)("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[(0,Pn.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Pn.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Pn.jsxs)("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[(0,Pn.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Pn.jsx)(Fa.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Pn.jsx)("div",{className:"mt-6 flow-root",children:(0,Pn.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,Pn.jsx)("div",{className:"space-y-2 py-6",children:r.map(y=>(0,Pn.jsx)(KS,{...y},y.name))})})})]})]})]})}function KS({name:e,items:t,actions:r,href:WR}){return!t&&WR?(0,Pn.jsx)("a",{href:WR,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Pn.jsxs)(tr.Disclosure,{as:"div",className:"-mx-3",children:[(0,Pn.jsx)(tr.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,Pn.jsx)(tr.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(o=>(0,Pn.jsx)(tr.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 yf=({className:e,content:t,style:r})=>(0,Pn.jsx)("div",{className:mt("mx-auto my-8 w-full",e),children:(0,Pn.jsx)("div",{className:mt("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,Pn.jsx)(Ar,{content:t,enableGutter:!1,enableProse:!1})})});var ql=Sr(require("next/link")),no=e=>{let{type:t,appearance:r="inline",children:WR,className:o,label:i,newTab:s,reference:l,size:u,url:d}=e,c=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:d;if(!c)return null;let p=r==="link"?"clear":u,h=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Pn.jsxs)(ql.default,{className:mt(o),href:c||d||"",...h,children:[i&&i,WR&&WR]}):(0,Pn.jsx)(On,{asChild:!0,className:o,size:p,variant:r,children:(0,Pn.jsxs)(ql.default,{className:mt(o),href:c||d||"",...h,children:[i&&i,WR&&WR]})})};var bf=({links:e,richText:t})=>(0,Pn.jsx)("div",{className:"container",children:(0,Pn.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,Pn.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Pn.jsx)(Ar,{className:"mb-0",content:t,enableGutter:!1})}),(0,Pn.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},WR)=>(0,Pn.jsx)(no,{size:"lg",...r},WR))})]})});var $a=require("prism-react-renderer");function _f({code:e}){let[t,r]=(0,xn.useState)("Copy");function WR(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Pn.jsx)("div",{className:"flex justify-end align-middle",children:(0,Pn.jsxs)(On,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),WR()},children:[(0,Pn.jsx)("p",{children:t}),(0,Pn.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Pn.jsx)(Wa.ClipboardCopy,{})})]})})}var wf=({code:e,language:t=""})=>e?(0,Pn.jsx)($a.Highlight,{code:e,language:t,theme:$a.themes.vsDark,children:({getLineProps:r,getTokenProps:WR,tokens:o})=>(0,Pn.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[o.map((i,s)=>(0,Pn.jsxs)("div",{...r({className:"table-row",line:i}),children:[(0,Pn.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,Pn.jsx)("span",{className:"table-cell pl-4",children:i.map((l,u)=>(0,Pn.jsx)("span",{...WR({token:l})},u))})]},s)),(0,Pn.jsx)(_f,{code:e})]})}):null;var Sf=({className:e,code:t,language:r})=>(0,Pn.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Pn.jsx)(wf,{code:t,language:r})});var Cf=Sr(require("next/image"));var Af=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ua=()=>{if(Af){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var JS={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},XS="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Tf=e=>{let{alt:t,fill:r,imgClassName:WR,priority:o,resource:i,size:s,src:l,loading:u}=e,d,c,p=t,h=l||"";if(!h&&i&&typeof i=="object"){let{alt:y,filename:b,height:E,url:_,width:O}=i;d=O,c=E,p=y||"",h=`${Ua()}${_}`}let m=u||"lazy",g=s||Object.entries(JS).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,Pn.jsx)("picture",{children:(0,Pn.jsx)(Cf.default,{alt:p||"",className:mt(WR),fill:r,height:r?void 0:c,placeholder:"blur",blurDataURL:XS,priority:m!=="lazy"&&o,quality:100,loading:m,sizes:g,src:h,width:r?void 0:d})})};var Rf=e=>{let{onClick:t,resource:r,videoClassName:WR}=e,o=(0,xn.useRef)(null);if((0,xn.useEffect)(()=>{let{current:i}=o;i&&i.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:i}=r;return(0,Pn.jsx)("video",{autoPlay:!0,className:mt(WR),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:o,children:(0,Pn.jsx)("source",{src:`${Ua()}/media/${i}`})})}return null};var oo=e=>{var s;let{className:t,htmlElement:r="div",resource:WR}=e,o=typeof WR=="object"&&((s=WR==null?void 0:WR.mimeType)==null?void 0:s.includes("video"));return(0,Pn.jsx)(r||xn.Fragment,{...r!==null?{className:t}:{},children:o?(0,Pn.jsx)(Rf,{...e}):(0,Pn.jsx)(Tf,{...e})})};var Of=e=>{let{className:t,enableGutter:r=!0,imgClassName:WR,media:o,staticImage:i}=e;return(0,Pn.jsx)("div",{className:mt("",{container:r},t),children:(0,Pn.jsx)(oo,{imgClassName:mt("border border-border rounded-[0.8rem]",WR),resource:o,src:i})})};var Va=Sr(require("react"));function Ll({nodes:e}){return(0,Pn.jsx)(Va.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"){let i=(0,Pn.jsx)(Va.default.Fragment,{children:t.text},r);return t.format&1&&(i=(0,Pn.jsx)("strong",{children:i},r)),t.format&2&&(i=(0,Pn.jsx)("em",{children:i},r)),t.format&4&&(i=(0,Pn.jsx)("span",{style:{textDecoration:"line-through"},children:i},r)),t.format&8&&(i=(0,Pn.jsx)("span",{style:{textDecoration:"underline"},children:i},r)),t.format&16&&(i=(0,Pn.jsx)("code",{children:t.text},r)),t.format&32&&(i=(0,Pn.jsx)("sub",{children:i},r)),t.format&64&&(i=(0,Pn.jsx)("sup",{children:i},r)),i}let WR=i=>{if(i.children==null)return null;if((i==null?void 0:i.type)==="list"&&(i==null?void 0:i.listType)==="check")for(let s of i.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Ll({nodes:i.children})},o="children"in t?WR(t):"";if(t.type==="block"){let i=t.fields,s=i==null?void 0:i.blockType;if(!i||!s)return null;switch(s){case"cta":return(0,Pn.jsx)(bf,{...i},r);case"mediaBlock":return(0,Pn.jsx)(Of,{className:"col-start-1 col-span-3",imgClassName:"m-0",...i,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Pn.jsx)(yf,{className:"col-start-2 mb-4",...i},r);case"code":return(0,Pn.jsx)(Sf,{className:"col-start-2",...i},r);default:return null}}else switch(t.type){case"linebreak":return(0,Pn.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Pn.jsx)("p",{className:"col-start-2",children:o},r);case"heading":{let i=t==null?void 0:t.tag;return(0,Pn.jsx)(i,{className:"col-start-2",children:o},r)}case"list":{let i=t==null?void 0:t.tag;return(0,Pn.jsx)(i,{className:"list col-start-2",children:o},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Pn.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:o},r):(0,Pn.jsx)("li",{value:t==null?void 0:t.value,children:o},r);case"quote":return(0,Pn.jsx)("blockquote",{className:"col-start-2",children:o},r);case"link":{let i=t.fields;return(0,Pn.jsx)(no,{newTab:!!(i!=null&&i.newTab),reference:i.doc,type:i.linkType==="internal"?"reference":"custom",url:i.url,children:o},r)}default:return null}})})}var Ar=({className:e,content:t,enableGutter:r=!0,enableProse:WR=!0})=>{var o;return t?(0,Pn.jsx)("div",{className:mt({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":WR},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ll({nodes:(o=t==null?void 0:t.root)==null?void 0:o.children})}):null};var Nf=({children:e,richText:t})=>(0,Pn.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Pn.jsx)("div",{className:"container",children:e||t&&(0,Pn.jsx)(Ar,{content:t,enableGutter:!1})})});var $l=Sr(require("next/image"));var QS=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:WR,url:o,width:i}=e;return(0,Pn.jsx)($l.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:o||"",width:i||0,height:WR||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Pn.jsx)("div",{children:(0,Pn.jsx)($l.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Mf=({links:e,media:t,children:r,richText:WR})=>(0,Pn.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Pn.jsx)(QS,{media:t}),(0,Pn.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Pn.jsx)("div",{className:"container text-brand-one-foreground",children:r||WR&&(0,Pn.jsx)(Ar,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:WR,enableProse:!0,enableGutter:!1})})})]});var If=Sr(require("next/image"));var Df=({links:e,media:t,children:r,richText:WR})=>(0,Pn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Pn.jsx)("div",{className:"container mb-8 z-10 relative flex items-end justify-center",children:(0,Pn.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[r||WR&&(0,Pn.jsx)(Ar,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:WR,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Pn.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:o},i)=>(0,Pn.jsx)("li",{children:(0,Pn.jsx)(no,{...o})},i))})]})}),(0,Pn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Pn.jsx)(oo,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Pn.jsx)("div",{children:(0,Pn.jsx)(If.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Pn.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var qf=e=>{let r=new Date;e&&(r=new Date(e));let WR=r.getMonth(),o=r.getDate(),i=WR+1<10?`0${WR+1}`:WR+1,s=o<10?`0${o}`:o,l=r.getFullYear();return`${i}/${s}/${l}`};var Mn=Sr(require("react"));var jf=Sr(require("next/image")),Bf=({post:e})=>{let{categories:t,meta:{image:r}={},populatedAuthors:WR,publishedAt:o,title:i}=e;return(0,Pn.jsxs)("div",{className:"relative -mt-[10.4rem] flex items-end",children:[(0,Pn.jsx)("div",{className:"container z-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Pn.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Pn.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((s,l)=>{if(typeof s=="object"&&s!==null){let{title:u}=s,d=u||"Untitled category",c=l===t.length-1;return(0,Pn.jsxs)(Mn.default.Fragment,{children:[d,!c&&(0,Pn.jsx)(Mn.default.Fragment,{children:", \xA0"})]},l)}return null})}),(0,Pn.jsx)("div",{className:"",children:(0,Pn.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Pn.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Pn.jsx)("div",{className:"flex flex-col gap-4",children:WR&&(0,Pn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pn.jsx)("p",{className:"text-sm",children:"Author"}),WR.map((s,l)=>{let{name:u}=s,d=l===WR.length-1,c=l===WR.length-2;return(0,Pn.jsxs)(Mn.default.Fragment,{children:[u,c&&WR.length>2&&(0,Pn.jsx)(Mn.default.Fragment,{children:", "}),c&&WR.length===2&&(0,Pn.jsx)(Mn.default.Fragment,{children:" "}),!d&&WR.length>1&&(0,Pn.jsx)(Mn.default.Fragment,{children:"and "})]},l)})]})}),o&&(0,Pn.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Pn.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Pn.jsx)("time",{dateTime:o,children:qf(o)})]})]})]})}),(0,Pn.jsxs)("div",{className:"min-h-[80vh] select-none",children:[r&&typeof r!="string"&&(0,Pn.jsx)(oo,{fill:!0,imgClassName:"-z-10 object-cover",resource:r}),r&&typeof r=="string"&&(0,Pn.jsx)("div",{children:(0,Pn.jsx)(jf.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:r})}),(0,Pn.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};function Ya({...e}){return(0,Pn.jsxs)("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[(0,Pn.jsx)(gf,{...e.header}),(0,Pn.jsxs)("div",{className:"relative",children:[e.hero&&e.hero.type==="lowImpact"&&(0,Pn.jsx)(Nf,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Pn.jsx)(Mf,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Pn.jsx)(Df,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,Pn.jsx)(Bf,{...e.hero}),(0,Pn.jsx)("div",{className:"container py-8",children:(0,Pn.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Pn.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Pn.jsxs)("div",{className:"space-y-6",children:[(0,Pn.jsxs)(Da,{children:[(0,Pn.jsx)(qa,{children:(0,Pn.jsx)(ja,{children:"Quick Actions"})}),(0,Pn.jsxs)(Ba,{children:[(0,Pn.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Pn.jsx)(On,{className:"w-full",children:"Create New"})]})]}),(0,Pn.jsxs)(Da,{children:[(0,Pn.jsx)(qa,{children:(0,Pn.jsx)(ja,{children:"Resources"})}),(0,Pn.jsx)(Ba,{children:(0,Pn.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Pn.jsx)(Wa.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Pn.jsx)(Wa.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Pn.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Pn.jsx)(Wa.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}var Pl=Sr(xw());var rU=()=>(0,Pn.jsx)(Ii,{iconName:"github",size:"4x",type:"brands"});var nU=()=>(0,Pn.jsx)(Ii,{iconName:"people-sharing",size:"4x",type:"kit"}),oU=()=>(0,Pn.jsx)(Ii,{iconName:"cloud-network-sharing",size:"4x",type:"kit"}),iU=()=>(0,Pn.jsx)(Ii,{iconName:"development",size:"4x",type:"kit"}),aU={title:"Pages/Page",component:Ya,decorators:[e=>(0,Pn.jsx)("div",{className:"bg-sidebar",children:(0,Pn.jsx)(e,{})})]},sU=e=>(0,Pn.jsx)(Ya,{...e}),Ma={render:sU,args:{title:"Storage Service",section:"Storage",description:"A scalable object storage service that offers industry-leading performance, security, and availability.",children:(0,Pn.jsxs)("div",{className:"prose max-w-none",children:[(0,Pn.jsx)("h2",{children:"How it works"}),(0,Pn.jsx)("p",{children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}),(0,Pn.jsx)("div",{className:"aspect-video overflow-hidden rounded-lg bg-slate-100",children:(0,Pn.jsx)("div",{className:"flex h-full items-center justify-center",children:"Video Placeholder"})})]}),header:{title:"Your Company",logo:"cortex-reply.png",menuItems:[{name:"Documentation",items:[{name:"Platforms & Services",description:"Cloud services",href:"#",icon:oU},{name:"Solutions & Propositions",description:"Solutions that we have built",href:"#",icon:nU},{name:"Products",description:"Products that we sell",href:"#",icon:iU}]},{name:"Resources",items:[{name:"Documentation",href:"#",icon:Fa.ChartPieIcon},{name:"API Reference",href:"#",icon:Fa.CursorArrowRaysIcon},{name:"Github",href:"#",icon:rU}],actions:[{name:"Watch demo",href:"#",icon:Di.PlayCircleIcon},{name:"Contact sales",href:"#",icon:Di.PhoneIcon},{name:"View all products",href:"#",icon:Di.RectangleGroupIcon}]},{name:"Intranet",href:"#"}]},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,Pl.fn)(),onEditDocument:(0,Pl.fn)(),onPrintDocument:(0,Pl.fn)()}}},lU={args:{...Ma.args,hero:{type:"lowImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Low Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},uU={args:{...Ma.args,hero:{type:"mediumImpact",media:"stock1.jpg?height=400&width=800",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Medium Impact Hero"})},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},cU={args:{...Ma.args,hero:{type:"highImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"High Impact Hero"}),media:"stock1.jpg?height=400&width=800"},heroBackgroundImage:"stock1.jpg?height=400&width=800"}},dU={args:{...Ma.args,hero:{type:"highImpact",children:(0,Pn.jsx)("h1",{className:"text-4xl font-bold",children:"Post Hero"}),media:"stock1.jpg?height=400&width=800"},media:"stock1.jpg?height=400&width=800"}};0&&(module.exports={Default,HighImpactHero,LowImpactHero,MediumImpactHero,PostHero});
|