UNPKG

chromatic

Version:

Automate visual testing across browsers. Gather UI feedback. Versioned documentation.

6 lines (4 loc) • 35.2 kB
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="19a54568-0749-5061-a9e2-7f663d944bb6")}catch(e){}}(); const e=require("./rolldown-runtime-DMt3xDJx.cjs"),t=require("./e2ePackage-Osg93awL.cjs"),n=require("./log-CBUJ6DPe.cjs");let r=require("fs"),i=require("path");i=e.a(i);const{CHROMATIC_DNS_FAILOVER_SERVERS:a=`1.1.1.1, 8.8.8.8`,CHROMATIC_DNS_SERVERS:o=``,CHROMATIC_HASH_CONCURRENCY:s=`48`,CHROMATIC_INDEX_URL:c=`https://index.chromatic.com`,CHROMATIC_NOTIFY_SERVICE_URL:l,CHROMATIC_OUTPUT_INTERVAL:u=`10000`,CHROMATIC_POLL_INTERVAL:d=`1000`,CHROMATIC_PROJECT_TOKEN:f,CHROMATIC_RETRIES:p=`5`,CHROMATIC_SHARE_PROGRESS_INTERVAL:m=`100`,CHROMATIC_STORYBOOK_VERSION:h,CHROMATIC_TIMEOUT:g=`300000`,CHROMATIC_TURBOSNAP_DISABLE_HASHES:_,CHROMATIC_TURBOSNAP_DISABLE_V1:v,CHROMATIC_TURBOSNAP_PACKAGE_CONCURRENCY:y=`1`,CHROMATIC_UPGRADE_TIMEOUT:b=`3600000`,HTTP_PROXY:ee=process.env.http_proxy,HTTPS_PROXY:te=process.env.https_proxy,STORYBOOK_BUILD_TIMEOUT:ne=`600000`,STORYBOOK_VERIFY_TIMEOUT:re=`180000`,STORYBOOK_NODE_ENV:ie=`production`}=process.env,ae=[/^GERRIT/,/^TRAVIS/];function x(){return{CHROMATIC_DNS_FAILOVER_SERVERS:a.split(`,`).map(e=>e.trim()).filter(Boolean),CHROMATIC_DNS_SERVERS:o.split(`,`).map(e=>e.trim()).filter(Boolean),CHROMATIC_HASH_CONCURRENCY:Number.parseInt(s,10),CHROMATIC_INDEX_URL:c,CHROMATIC_NOTIFY_SERVICE_URL:l||oe(c),CHROMATIC_OUTPUT_INTERVAL:Number.parseInt(u,10),CHROMATIC_POLL_INTERVAL:Number.parseInt(d,10),CHROMATIC_PROJECT_TOKEN:f,CHROMATIC_RETRIES:Number.parseInt(p,10),CHROMATIC_SHARE_PROGRESS_INTERVAL:Number.parseInt(m,10),CHROMATIC_STORYBOOK_VERSION:h,CHROMATIC_TIMEOUT:Number.parseInt(g,10),CHROMATIC_TURBOSNAP_DISABLE_HASHES:_===`true`,CHROMATIC_TURBOSNAP_DISABLE_V1:v===`true`,CHROMATIC_TURBOSNAP_PACKAGE_CONCURRENCY:Number.parseInt(y,10),CHROMATIC_UPGRADE_TIMEOUT:Number.parseInt(b,10),ENVIRONMENT_WHITELIST:ae,HTTP_PROXY:ee,HTTPS_PROXY:te,STORYBOOK_BUILD_TIMEOUT:Number.parseInt(ne,10),STORYBOOK_VERIFY_TIMEOUT:Number.parseInt(re,10),STORYBOOK_NODE_ENV:ie}}function oe(e){return e.includes(`dev`)?`wss://notify.dev-chromatic.com`:e.includes(`staging`)?`wss://notify.staging-chromatic.com`:`wss://notify.chromatic.com`}const se=new Uint8Array([0,97,115,109,1,0,0,0,1,48,8,96,3,127,127,127,1,127,96,3,127,127,127,0,96,2,127,127,0,96,1,127,1,127,96,3,127,127,126,1,126,96,3,126,127,127,1,126,96,2,127,126,0,96,1,127,1,126,3,11,10,0,0,2,1,3,4,5,6,1,7,5,3,1,0,1,7,85,9,3,109,101,109,2,0,5,120,120,104,51,50,0,0,6,105,110,105,116,51,50,0,2,8,117,112,100,97,116,101,51,50,0,3,8,100,105,103,101,115,116,51,50,0,4,5,120,120,104,54,52,0,5,6,105,110,105,116,54,52,0,7,8,117,112,100,97,116,101,54,52,0,8,8,100,105,103,101,115,116,54,52,0,9,10,251,22,10,242,1,1,4,127,32,0,32,1,106,33,3,32,1,65,16,79,4,127,32,3,65,16,107,33,6,32,2,65,168,136,141,161,2,106,33,3,32,2,65,137,235,208,208,7,107,33,4,32,2,65,207,140,162,142,6,106,33,5,3,64,32,3,32,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,3,32,4,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,4,32,2,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,2,32,5,32,0,65,4,106,34,0,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,5,32,6,32,0,65,4,106,34,0,79,13,0,11,32,2,65,12,119,32,5,65,18,119,106,32,4,65,7,119,106,32,3,65,1,119,106,5,32,2,65,177,207,217,178,1,106,11,32,1,106,32,0,32,1,65,15,113,16,1,11,146,1,0,32,1,32,2,106,33,2,3,64,32,1,65,4,106,32,2,75,69,4,64,32,0,32,1,40,2,0,65,189,220,202,149,124,108,106,65,17,119,65,175,214,211,190,2,108,33,0,32,1,65,4,106,33,1,12,1,11,11,3,64,32,1,32,2,79,69,4,64,32,0,32,1,45,0,0,65,177,207,217,178,1,108,106,65,11,119,65,177,243,221,241,121,108,33,0,32,1,65,1,106,33,1,12,1,11,11,32,0,32,0,65,15,118,115,65,247,148,175,175,120,108,34,0,65,13,118,32,0,115,65,189,220,202,149,124,108,34,0,65,16,118,32,0,115,11,63,0,32,0,65,8,106,32,1,65,168,136,141,161,2,106,54,2,0,32,0,65,12,106,32,1,65,137,235,208,208,7,107,54,2,0,32,0,65,16,106,32,1,54,2,0,32,0,65,20,106,32,1,65,207,140,162,142,6,106,54,2,0,11,195,4,1,6,127,32,1,32,2,106,33,6,32,0,65,24,106,33,4,32,0,65,40,106,40,2,0,33,3,32,0,32,0,40,2,0,32,2,106,54,2,0,32,0,65,4,106,34,5,32,5,40,2,0,32,2,65,16,79,32,0,40,2,0,65,16,79,114,114,54,2,0,32,2,32,3,106,65,16,73,4,64,32,3,32,4,106,32,1,32,2,252,10,0,0,32,0,65,40,106,32,2,32,3,106,54,2,0,15,11,32,3,4,64,32,3,32,4,106,32,1,65,16,32,3,107,34,2,252,10,0,0,32,0,65,8,106,34,3,32,3,40,2,0,32,4,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,12,106,34,3,32,3,40,2,0,32,4,65,4,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,16,106,34,3,32,3,40,2,0,32,4,65,8,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,20,106,34,3,32,3,40,2,0,32,4,65,12,106,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,54,2,0,32,0,65,40,106,65,0,54,2,0,32,1,32,2,106,33,1,11,32,1,32,6,65,16,107,77,4,64,32,6,65,16,107,33,8,32,0,65,8,106,40,2,0,33,2,32,0,65,12,106,40,2,0,33,3,32,0,65,16,106,40,2,0,33,5,32,0,65,20,106,40,2,0,33,7,3,64,32,2,32,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,2,32,3,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,3,32,5,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,5,32,7,32,1,65,4,106,34,1,40,2,0,65,247,148,175,175,120,108,106,65,13,119,65,177,243,221,241,121,108,33,7,32,8,32,1,65,4,106,34,1,79,13,0,11,32,0,65,8,106,32,2,54,2,0,32,0,65,12,106,32,3,54,2,0,32,0,65,16,106,32,5,54,2,0,32,0,65,20,106,32,7,54,2,0,11,32,1,32,6,73,4,64,32,4,32,1,32,6,32,1,107,34,1,252,10,0,0,32,0,65,40,106,32,1,54,2,0,11,11,97,1,1,127,32,0,65,16,106,40,2,0,33,1,32,0,65,4,106,40,2,0,4,127,32,1,65,12,119,32,0,65,20,106,40,2,0,65,18,119,106,32,0,65,12,106,40,2,0,65,7,119,106,32,0,65,8,106,40,2,0,65,1,119,106,5,32,1,65,177,207,217,178,1,106,11,32,0,40,2,0,106,32,0,65,24,106,32,0,65,40,106,40,2,0,16,1,11,255,3,2,3,126,1,127,32,0,32,1,106,33,6,32,1,65,32,79,4,126,32,6,65,32,107,33,6,32,2,66,214,235,130,238,234,253,137,245,224,0,124,33,3,32,2,66,177,169,172,193,173,184,212,166,61,125,33,4,32,2,66,249,234,208,208,231,201,161,228,225,0,124,33,5,3,64,32,3,32,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,3,32,4,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,4,32,2,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,2,32,5,32,0,65,8,106,34,0,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,5,32,6,32,0,65,8,106,34,0,79,13,0,11,32,2,66,12,137,32,5,66,18,137,124,32,4,66,7,137,124,32,3,66,1,137,124,32,3,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,4,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,2,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,5,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,5,32,2,66,197,207,217,178,241,229,186,234,39,124,11,32,1,173,124,32,0,32,1,65,31,113,16,6,11,134,2,0,32,1,32,2,106,33,2,3,64,32,2,32,1,65,8,106,79,4,64,32,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,32,0,133,66,27,137,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,33,0,32,1,65,8,106,33,1,12,1,11,11,32,1,65,4,106,32,2,77,4,64,32,0,32,1,53,2,0,66,135,149,175,175,152,182,222,155,158,127,126,133,66,23,137,66,207,214,211,190,210,199,171,217,66,126,66,249,243,221,241,153,246,153,171,22,124,33,0,32,1,65,4,106,33,1,11,3,64,32,1,32,2,73,4,64,32,0,32,1,49,0,0,66,197,207,217,178,241,229,186,234,39,126,133,66,11,137,66,135,149,175,175,152,182,222,155,158,127,126,33,0,32,1,65,1,106,33,1,12,1,11,11,32,0,32,0,66,33,136,133,66,207,214,211,190,210,199,171,217,66,126,34,0,32,0,66,29,136,133,66,249,243,221,241,153,246,153,171,22,126,34,0,32,0,66,32,136,133,11,77,0,32,0,65,8,106,32,1,66,214,235,130,238,234,253,137,245,224,0,124,55,3,0,32,0,65,16,106,32,1,66,177,169,172,193,173,184,212,166,61,125,55,3,0,32,0,65,24,106,32,1,55,3,0,32,0,65,32,106,32,1,66,249,234,208,208,231,201,161,228,225,0,124,55,3,0,11,244,4,2,3,127,4,126,32,1,32,2,106,33,5,32,0,65,40,106,33,4,32,0,65,200,0,106,40,2,0,33,3,32,0,32,0,41,3,0,32,2,173,124,55,3,0,32,2,32,3,106,65,32,73,4,64,32,3,32,4,106,32,1,32,2,252,10,0,0,32,0,65,200,0,106,32,2,32,3,106,54,2,0,15,11,32,3,4,64,32,3,32,4,106,32,1,65,32,32,3,107,34,2,252,10,0,0,32,0,65,8,106,34,3,32,3,41,3,0,32,4,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,16,106,34,3,32,3,41,3,0,32,4,65,8,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,24,106,34,3,32,3,41,3,0,32,4,65,16,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,32,106,34,3,32,3,41,3,0,32,4,65,24,106,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,55,3,0,32,0,65,200,0,106,65,0,54,2,0,32,1,32,2,106,33,1,11,32,1,65,32,106,32,5,77,4,64,32,5,65,32,107,33,2,32,0,65,8,106,41,3,0,33,6,32,0,65,16,106,41,3,0,33,7,32,0,65,24,106,41,3,0,33,8,32,0,65,32,106,41,3,0,33,9,3,64,32,6,32,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,6,32,7,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,7,32,8,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,8,32,9,32,1,65,8,106,34,1,41,3,0,66,207,214,211,190,210,199,171,217,66,126,124,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,33,9,32,2,32,1,65,8,106,34,1,79,13,0,11,32,0,65,8,106,32,6,55,3,0,32,0,65,16,106,32,7,55,3,0,32,0,65,24,106,32,8,55,3,0,32,0,65,32,106,32,9,55,3,0,11,32,1,32,5,73,4,64,32,4,32,1,32,5,32,1,107,34,1,252,10,0,0,32,0,65,200,0,106,32,1,54,2,0,11,11,188,2,1,5,126,32,0,65,24,106,41,3,0,33,1,32,0,41,3,0,34,2,66,32,90,4,126,32,0,65,8,106,41,3,0,34,3,66,1,137,32,0,65,16,106,41,3,0,34,4,66,7,137,124,32,1,66,12,137,32,0,65,32,106,41,3,0,34,5,66,18,137,124,124,32,3,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,4,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,1,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,32,5,66,207,214,211,190,210,199,171,217,66,126,66,31,137,66,135,149,175,175,152,182,222,155,158,127,126,133,66,135,149,175,175,152,182,222,155,158,127,126,66,157,163,181,234,131,177,141,138,250,0,125,5,32,1,66,197,207,217,178,241,229,186,234,39,124,11,32,2,124,32,0,65,40,106,32,2,66,31,131,167,16,6,11]);async function ce(){return function(e){let{exports:{mem:t,xxh32:n,xxh64:r,init32:i,update32:a,digest32:o,init64:s,update64:c,digest64:l}}=e,u=new Uint8Array(t.buffer);function d(e,n){if(t.buffer.byteLength<e+n){let r=Math.ceil((e+n-t.buffer.byteLength)/65536);t.grow(r),u=new Uint8Array(t.buffer)}}function f(e,t,n,r,i,a){d(e);let o=new Uint8Array(e);return u.set(o),n(0,t),o.set(u.subarray(0,e)),{update(t){let n;return u.set(o),typeof t==`string`?(d(3*t.length,e),n=g.encodeInto(t,u.subarray(e)).written):(d(t.byteLength,e),u.set(t,e),n=t.byteLength),r(0,e,n),o.set(u.subarray(0,e)),this},digest:()=>(u.set(o),a(i(0)))}}function p(e){return e>>>0}let m=2n**64n-1n;function h(e){return e&m}let g=new TextEncoder,_=0n;function v(e,t=0){return d(3*e.length,0),p(n(0,g.encodeInto(e,u).written,t))}function y(e,t=_){return d(3*e.length,0),h(r(0,g.encodeInto(e,u).written,t))}return{h32:v,h32ToString:(e,t=0)=>v(e,t).toString(16).padStart(8,`0`),h32Raw:(e,t=0)=>(d(e.byteLength,0),u.set(e),p(n(0,e.byteLength,t))),create32:(e=0)=>f(48,e,i,a,o,p),h64:y,h64ToString:(e,t=_)=>y(e,t).toString(16).padStart(16,`0`),h64Raw:(e,t=_)=>(d(e.byteLength,0),u.set(e),h(r(0,e.byteLength,t))),create64:(e=_)=>f(88,e,s,c,l,h)}}((await WebAssembly.instantiate(se)).instance)}function S(e,t){let n=e.get(t);return n!==void 0&&n!==`<skipped>`}function C(e,t,n,r){return w([...t].flatMap(t=>{let n=e.get(t)??``;return n===`<skipped>`?[]:[[r(t),n]]}),n)}function w(e,t){return t(T(e))}function T(e){return[...e].map(e=>E(e)).sort().join(``)}function E([e,t]){return JSON.stringify([e,t])}function D(e,t,n=/* @__PURE__ */ new Set,r=/* @__PURE__ */ new Set){let i=[t];for(;i.length>0;){let t=i.pop();t===void 0||n.has(t)||r.has(t)||(n.add(t),i.push(...e.get(t)?.dependencies??[]))}return n}function O(e,n){return t.o(e).map(e=>F(I(e),n.projectRoot,n.statsRoot))}function k(e,t){return(e.reasons??[]).map(e=>e.moduleName).filter(e=>typeof e==`string`).map(e=>F(I(e),t.projectRoot,t.statsRoot))}function le(e,t){return O(e,t)[0]}const ue=/* @__PURE__ */ new Set([`.federation`]);function de(e){let t=e.split(/[\\/]/);return t.some((e,n)=>e===`node_modules`&&ue.has(t[n+1]))}function fe(e){return t.a(e)&&!de(e)}const pe=/(^|[\\/])node_modules[\\/](\.pnpm[\\/]([^\\/]+)[\\/]node_modules[\\/])((?:@[^\\/]+[\\/])?[^\\/]+)[\\/]/,me=/(^|[\\/])node_modules[\\/]((?:@[^\\/]+[\\/])?[^\\/.][^\\/]*)[\\/]/;function A(e){let t=pe.exec(e);if(t){let n=t.index+t[1].length+13;return{packagePath:e.slice(0,n)+t[4],copy:t[3],hopStart:n,hopLength:t[2].length}}let n=me.exec(e);if(n){let t=n.index+n[1].length+13;return{packagePath:e.slice(0,t)+n[2],copy:``,hopStart:0,hopLength:0}}}function he(e){let t=/* @__PURE__ */ new Map;for(let n of e){let e=A(n);if(!e)continue;let r=t.get(e.packagePath)??/* @__PURE__ */ new Set;t.set(e.packagePath,r.add(e.copy))}return e=>{let n=A(e);return!n?.hopLength||t.get(n.packagePath)?.size!==1?e:e.slice(0,n.hopStart)+e.slice(n.hopStart+n.hopLength)}}const ge=[`\0./`,`\0../`],j=[`sync`,`eager`,`weak`,`async-weak`,`lazy`,`lazy-once`],M=j.filter(e=>e===`lazy`),_e=` (?:${j.join(`|`)}) |\\|(?:${j.join(`|`)})\\|`,ve=` (?:${M.join(`|`)}) |\\|(?:${M.join(`|`)})\\|`,ye=new RegExp(_e),N=new RegExp(ve);function P(e){return e.includes(`virtual:`)||e.startsWith(`data:`)?!0:e.startsWith(`\0`)&&!ge.some(t=>e.startsWith(t))}function F(e,n,r=n){return P(e)?e:be(t.u(n,L(e,r)))}function be(e){return e.startsWith(`../`)?e:`./${e}`}function I(e){if(P(e)||ye.test(e))return e;let t=xe(e);return P(t)?t:Se(t.startsWith(`\0`)?t.slice(1):t)}function xe(e){return e.slice(e.lastIndexOf(`!`)+1)}function Se(e){let t=e.indexOf(`?`);return t===-1?e:e.slice(0,t)}function L(e,n){let r=Ce(t.c(e));return i.default.isAbsolute(r)?r:i.default.resolve(n,r)}function Ce(e){return e.replaceAll(`\0`,``)}function R(e,r){let i=r.filter(Boolean);return r=>{let a=t.u(e,r);return i.some(e=>n.f(e,a))}}function z(e,t){let n=[],r=/* @__PURE__ */ new Map;for(let i of e){let e=t(i);e?r.set(i,e):n.push(i)}return{hashable:n,skipped:r}}async function we(e,t){let n=R(e.gitRoot,e.untraced),r=/* @__PURE__ */ new Map,i=/* @__PURE__ */ new Map;for(let a of new Set(t)){let t=e.projectFiles.realPath(a);n(t)?r.set(a,`untraced`):fe(t)?r.set(a,void 0):i.set(a,t)}let a=await e.projectFiles.untrackedPaths(i.values());for(let[e,t]of i)r.set(e,a.has(t)?`untracked`:void 0);return e=>{if(!r.has(e))throw Error(`File missing from the manifest inventory: ${e}`);return r.get(e)}}var B=class extends Error{constructor(e){super(`No Storybook main config file found in ${e}`),this.configDirectory=e,this.name=`MissingStorybookConfigError`}};function Te(e){return{configTree:e.e2ePackage?[]:Ee(e),staticTree:e.staticDirs.flatMap(t=>e.projectFiles.listTree(t))}}function Ee(e){let n=e.projectFiles.listTree(e.configDir).filter(n=>t.m(n,e.configDir));if(!n.some(n=>t.f(n,e.configDir)))throw new B(e.configDir);return n}async function De(e,t,n){let{configTree:r,staticTree:i}=n,{hashable:a,skipped:o}=z(r,t),{hashable:s,skipped:c}=z(i,t);return{files:{storybookConfigFiles:await V(a,e.projectRoot,e.projectFiles),staticFiles:await V(s,e.projectRoot,e.projectFiles),externals:await V(await Oe(e),e.projectRoot,e.projectFiles)},skippedFiles:new Map([...o,...c].map(([t,n])=>[F(t,e.projectRoot),n]))}}async function Oe(e){let{log:t,gitRoot:n,externals:r,projectFiles:i}=e;if(!r.some(Boolean))return[];let a=R(n,r),o=Date.now(),s=0,c=[];for await(let e of i.trackedFiles(n,r))s+=1,a(e)&&i.isFile(e)&&c.push(e);return t.debug(`Matched ${c.length} external files against ${s} indexed paths in ${Date.now()-o}ms`),c}function ke(e,t){let n=[[`storybookConfigFiles`,e.storybookConfigFiles],[`staticFiles`,e.staticFiles],[`externals`,e.externals]];return new Map(n.filter(([e,t])=>e===`storybookConfigFiles`||t.size>0).map(([e,n])=>[e,w([...n],t)]))}async function V(e,t,n){let r=await n.hashAll(e);return new Map(e.map(e=>[F(e,t),r[e]]).sort(([e],[t])=>e.localeCompare(t)))}function Ae(e,n){if(!e.modules.some(e=>je(e)))return;let r=t.x(n.configDir,n.log),i=`so TurboSnap 2.0 can't read the installed dependencies. Run Chromatic through Yarn, such as with yarn chromatic.`;if(r.status!==`active`&&r.status!==`loaded`)throw r.status===`not-pnp`?new t.S(`The stats file lists files inside Yarn Plug'n'Play archives, but there is no .pnp.cjs in ${n.configDir} or above it. TurboSnap hashes installed dependencies, so install them with Yarn before running Chromatic, even for a prebuilt Storybook.`):new t.S(r.status===`failed`?`Failed to load the Yarn Plug'n'Play runtime from ${r.pnpFile}, ${i}`:`This project uses Yarn Plug'n'Play (${r.pnpFile}), and its runtime isn't loaded in this process, ${i}`)}function je(e){return[e.id,e.name].some(e=>typeof e==`string`&&/\.zip[/\\]/.test(e))}const H=/* @__PURE__ */ new Set([`./generated-stories-entry.js`,`./generated-stories-entry.cjs`,`./storybook-stories.js`,`/virtual:/@storybook/builder-vite/storybook-stories.js`,`virtual:@storybook/builder-vite/storybook-stories.js`,`./node_modules/.cache/storybook/default/dev-server/storybook-stories.js`,`./node_modules/.cache/storybook-rsbuild-builder/storybook-stories.js`]),U=/* @__PURE__ */ new Set([`./storybook-config-entry.js`,`./node_modules/.cache/storybook-rsbuild-builder/storybook-config-entry.js`,`./node_modules/.cache/storybook/storybook-rsbuild-builder/storybook-config-entry.js`]),Me=/^external "/;function Ne(e,t){let n=Pe(e,t),{storyImporters:r,contextsExcludingNodeModules:i}=Ie(e,n),a=/* @__PURE__ */ new Set,o=!1;for(let e of n){let t=e.importers.filter(e=>r.has(e));o||=t.length>0,e.onDisk&&Fe(e.filePath,t,i)&&a.add(e.filePath)}return{storyFiles:a,foundStoriesEntry:o}}function Pe(e,t){let{onDiskFiles:n}=e,r=[];for(let i of t.modules){if(Me.test(i.name))continue;let t=le(i,e);if(!t)continue;let a=k(i,e);r.push({rawName:i.name,filePath:t,onDisk:n.has(t),importers:a})}return r}function Fe(e,n,r){return n.length===0?!1:!t.a(e)||!n.every(e=>r.has(e))}function Ie(e,t){let{projectRoot:n,statsRoot:r}=e,i=e=>F(e,n,r),a=new Set([...H,...U].map(e=>i(e))),o=new Set([...H].map(e=>i(e))),s=/* @__PURE__ */ new Set;for(let e of t)e.onDisk||e.importers.some(e=>a.has(e))&&(o.add(e.filePath),Le(e.rawName)&&Re(e.rawName)&&s.add(e.filePath));return{storyImporters:o,contextsExcludingNodeModules:s}}function Le(e){return N.test(e)}function Re(e){return!t.a(e.split(N)[0])}const ze=/* @__PURE__ */ new Set([`/virtual:/@storybook/builder-vite/vite-app.js`,`virtual:@storybook/builder-vite/vite-app.js`,`/virtual:/@storybook/builder-vite/project-annotations.js`,`virtual:@storybook/builder-vite/project-annotations.js`]);async function Be(e,t,n,r){let{projectRoot:i,statsRoot:a=i,projectFiles:o}=t,s={projectRoot:i,statsRoot:a},{hashes:c,skippedFiles:l}=await Ke(r,n,o),{storyFiles:u,foundStoriesEntry:d}=Ne({...s,onDiskFiles:r},e),f=/* @__PURE__ */ new Map;for(let t of e.modules){let e=O(t,s);if(e.length===0)continue;let[n,...r]=e,i=k(t,s);Ue(f,n,r,c);for(let e of i)e!==n&&W(f,e,c).dependencies.add(n)}let p=Ve(f,l);return{files:f,hashes:c,storyFiles:u,foundStoriesEntry:d,globalRoots:He(f,s),skippedFiles:l,untracedSubtrees:p}}function Ve(e,t){let n=[...t].filter(([,e])=>e===`untraced`).map(([e])=>e),r=/* @__PURE__ */ new Set;for(let t of n)D(e,t,r);for(let t of n)e.get(t)?.dependencies.clear();return r}function He(e,t){let n=[...U,...ze].map(e=>F(e,t.projectRoot,t.statsRoot));return new Set(n.filter(t=>e.has(t)))}function Ue(e,t,n,r){let i=W(e,t,r);for(let a of n)a!==t&&(i.dependencies.add(a),W(e,a,r))}function W(e,t,n){let r=e.get(t);return r||(r={hash:n.get(t)??``,dependencies:/* @__PURE__ */ new Set},e.set(t,r)),r}function We(e,t,n){if(P(e))return;let r=L(e,t);return n.isFile(r)?r:void 0}function Ge(e,n){let{projectRoot:r,statsRoot:i=r,projectFiles:a}=n,o=/* @__PURE__ */ new Set;for(let n of e.modules){for(let e of t.o(n))o.add(I(e));for(let e of n.reasons??[])e.moduleName&&o.add(I(e.moduleName))}let s=/* @__PURE__ */ new Map;for(let e of o){let t=We(e,i,a);t&&s.set(F(e,r,i),t)}return s}async function Ke(e,t,n){let{hashable:r,skipped:i}=z(e.values(),t),a=await n.hashAll(r),o=/* @__PURE__ */ new Map,s=/* @__PURE__ */ new Map;for(let[t,n]of e){let e=i.get(n);e===void 0?o.set(t,a[n]):(o.set(t,`<skipped>`),s.set(t,e))}return{hashes:o,skippedFiles:s}}function qe(e,n,r,i,a,o,s,c){let l=/* @__PURE__ */ new Map,u=/* @__PURE__ */ new Set;for(let r of e.keys())n.has(r)&&t.p(r,i)&&D(e,r,u);let d=G(n,u);d.size>0&&l.set(`preview`,C(n,u,s,c));let f=/* @__PURE__ */ new Set;for(let t of r)D(e,t,f);let p=Je(e,a,r,[...n.keys()].filter(e=>S(n,e)&&!f.has(e)&&!u.has(e)&&!o.has(e))),m=new Set([...p].filter(e=>S(n,e)&&!u.has(e)));return m.size>0&&l.set(`storybookGlobals`,C(n,m,s,c)),{storybookConfigHashes:l,attribution:{storyReachable:G(n,f),previewSubtree:d,storybookGlobals:m}}}function G(e,t){return new Set([...t].filter(t=>S(e,t)))}function Je(e,t,n,r){let i=/* @__PURE__ */ new Set;for(let a of[...t,...r])D(e,a,i,n);return i}function Ye(e){return e.e2ePackage?Xe(e.e2ePackage,e):t.C(e.configDir,e.projectFiles.packageVersion)}function Xe(e,n){let r=n.projectFiles.packageVersion(n.projectRoot,e);if(!r)throw new t.S(`Could not resolve a version of ${e} from ${n.projectRoot}. TurboSnap hashes installed dependencies, so they must be installed before running Chromatic.`);return`${e}@${r}`}function Ze(e,t,n,r,i){let a=Qe(e,n),{rankOf:o,identities:s}=$e(a.paths,t,r),c=et(s,a.paths.length),l=tt(a,o),u=nt(a.paths.length),d=/* @__PURE__ */ new Map;for(let e of n){let t=o[a.index.get(e)],n=it(u,rt(l,t,u));d.set(e,st(u,n,c,i))}return d}function Qe(e,t){let n=[],r=/* @__PURE__ */ new Map,i=e=>{let t=r.get(e);return t===void 0&&(t=n.length,n.push(e),r.set(e,t)),t},a=0;for(let[t,n]of e)i(t),a+=n.dependencies.size;let o=new Uint32Array(e.size+1),s=new Uint32Array(a),c=0,l=0;for(let t of e.values()){o[l]=c,l+=1;for(let e of t.dependencies)s[c]=i(e),c+=1}o[e.size]=c;for(let e of t)i(e);return{paths:n,index:r,edgeStart:o,edgeTargets:s}}function $e(e,t,n){let r=[],i=[],a=[];for(let[o,s]of e.entries()){let e=t.get(s)??``;e===`<skipped>`?a.push(o):(r[o]=E([n(s),e]),i.push(o))}i.sort((e,t)=>r[e]<r[t]?-1:+(r[e]>r[t]));let o=new Uint32Array(e.length),s=[];for(let[e,t]of[...i,...a].entries())o[t]=e,e<i.length&&s.push(r[t]);return{rankOf:o,identities:s}}function et(e,t){let n=new TextEncoder().encode(e.join(``)),r=new Uint32Array(t+1),i=0;for(let[t,n]of e.entries())r[t]=i,i+=Buffer.byteLength(n);return r.fill(i,e.length),{bytes:n,byteOffsets:r}}function tt(e,t){let{paths:n,edgeStart:r,edgeTargets:i}=e,a=r.length-1,o=new Uint32Array(n.length+1);for(let e=0;e<a;e+=1)o[t[e]+1]=r[e+1]-r[e];for(let e=0;e<n.length;e+=1)o[e+1]+=o[e];let s=new Uint32Array(i.length);for(let e=0;e<a;e+=1){let n=o[t[e]];for(let a=r[e];a<r[e+1];a+=1)s[n]=t[i[a]],n+=1}return{start:o,targets:s}}function nt(e){return{visited:new Uint32Array(e),stamp:0,stack:/* @__PURE__ */ new Uint32Array(1024),found:/* @__PURE__ */ new Uint32Array(1024),bits:new Uint32Array(e+31>>>5),bitsetThreshold:Math.max(64,Math.floor(e/512)),runs:/* @__PURE__ */ new Uint32Array(2048),output:/* @__PURE__ */ new Uint8Array(65536)}}function rt(e,t,n){let{start:r,targets:i}=e;n.stamp+=1;let{visited:a,stamp:o}=n,s=0,c=0;for(n.stack[s]=t,s+=1;s>0;){--s;let e=n.stack[s];if(a[e]===o)continue;a[e]=o,c===n.found.length&&(n.found=K(n.found,c+1)),n.found[c]=e,c+=1;let t=r[e+1];s+t-r[e]>n.stack.length&&(n.stack=K(n.stack,s+t-r[e]));for(let a=r[e];a<t;a+=1)n.stack[s]=i[a],s+=1}return c}function it(e,t){return e.runs.length<2*t&&(e.runs=new Uint32Array(4*t)),t<=e.bitsetThreshold?at(e.found.subarray(0,t).sort(),e.runs):ot(e.found.subarray(0,t),e.bits,e.runs)}function at(e,t){let n=0,r=e[0],i=e[0];for(let a=1;a<e.length;a+=1){let o=e[a];o!==i+1&&(t[n]=r,t[n+1]=i+1,n+=2,r=o),i=o}return t[n]=r,t[n+1]=i+1,n+2}function ot(e,t,n){let r=0;for(let n of e){let e=n>>>5;t[e]|=1<<(n&31),e>r&&(r=e)}let i=0,a=-1,o=-2;for(let e=0;e<=r;e+=1){let r=t[e];if(r!==0)for(t[e]=0;r!==0;){let t=r&-r,s=(e<<5)+31-Math.clz32(t);r^=t,s!==o+1&&(a>=0&&(n[i]=a,n[i+1]=o+1,i+=2),a=s),o=s}}return n[i]=a,n[i+1]=o+1,i+2}function st(e,t,n,r){let{bytes:i,byteOffsets:a}=n,o=0;for(let n=0;n<t;n+=2)o+=a[e.runs[n+1]]-a[e.runs[n]];o>e.output.length&&(e.output=new Uint8Array(Math.max(o,e.output.length*2)));let s=0;for(let n=0;n<t;n+=2){let t=a[e.runs[n]],r=a[e.runs[n+1]];e.output.set(i.subarray(t,r),s),s+=r-t}return r.h64Raw(e.output.subarray(0,o)).toString(16).padStart(16,`0`)}function K(e,t){let n=new Uint32Array(Math.max(t,e.length*2));return n.set(e),n}var q=class extends Error{constructor(e){super(`Found no story files in the stats file for the project at ${e}. A stories entry imports modules, but none of them is a story file on disk under that directory. If Storybook was built in another directory, pass --storybook-base-dir <dir> pointing at it.`),this.projectRoot=e,this.name=`StoryFilesNotFoundError`}};async function ct(e,t){let n=Te(t);Ae(e,t);let r=Ge(e,t),i=await we(t,[...r.values(),...n.configTree,...n.staticTree]),{files:a,hashes:o,storyFiles:s,foundStoriesEntry:c,globalRoots:l,skippedFiles:u,untracedSubtrees:d}=await Be(e,t,i,r);if(t.log.debug(`Found ${s.size} story files from preview-stats.json`),s.size===0)throw c?new q(t.projectRoot):Error(`Found no stories entry TurboSnap recognizes in the stats file, so it cannot tell which modules are story files.`);if(t.e2ePackage&&!ut(a,o,s))throw Error(`Found no tracked files behind the story files of this E2E build. For Vitest, make sure you've enabled chromaticPlugin({ turboSnap: true }) in your Vitest configuration before running tests.`);let f=await ce(),{h64ToString:p}=f,m=he(o.keys()),h=Ze(a,o,s,m,f),{storybookConfigHashes:g,attribution:_}=qe(a,o,s,F(t.configDir,t.projectRoot),l,d,p,m);t.log.debug(`Attributed ${_.previewSubtree.size} files to the preview config subtree`),t.log.debug(`Found ${_.storybookGlobals.size} files in Storybook globals (files that could impact rendering across the entire Storybook)`);let{files:v,skippedFiles:y}=await De(t,i,n);g.set(`storybookVersion`,Ye(t));for(let[e,t]of ke(v,p))g.set(e,t);t.log.debug(`Hashed ${v.staticFiles.size} static files in ${t.staticDirs.join(`, `)}`),t.log.debug(`Hashed ${v.storybookConfigFiles.size} storybook config files in ${t.configDir}`),t.log.debug(`Hashed ${v.externals.size} external files from ${t.externals.length} --externals globs`);let b=new Map([...u,...y]);return t.log.debug(`Skipped hashing ${b.size} files; the manifest's skippedFiles lists each with its reason`),{storybookHash:p(T(h)+T(g)),storybookConfigHashes:g,storyFileHashes:h,attribution:_,outOfGraphFiles:v,files:a,skippedFiles:b}}function J(e){return{storybookHash:e.storybookHash,storybookConfigHashes:Y(Object.fromEntries(e.storybookConfigHashes)),storybookConfigFiles:Y(Object.fromEntries(e.outOfGraphFiles.storybookConfigFiles)),staticFiles:Y(Object.fromEntries(e.outOfGraphFiles.staticFiles)),externals:Y(Object.fromEntries(e.outOfGraphFiles.externals)),storyFiles:Y(Object.fromEntries(e.storyFileHashes)),attribution:Y(Object.fromEntries(Object.entries(e.attribution).map(([e,t])=>[e,[...t].sort(X)]))),files:Y(lt(e.files)),skippedFiles:Y(Object.fromEntries(e.skippedFiles))}}function lt(e){let t=t=>!!e.get(t)?.hash,n={};for(let[r,i]of e)t(r)&&(n[r]={hash:i.hash,dependencies:[...i.dependencies].filter(e=>t(e)).sort(X)});return n}function ut(e,t,n){return[...n].some(n=>[...D(e,n)].some(e=>e!==n&&S(t,e)))}function Y(e){return Object.fromEntries(Object.entries(e).sort(([e],[t])=>X(e,t)))}function X(e,t){return e.localeCompare(t)}function dt(e){return i.default.join(e,`.chromatic`,`turbosnap-manifest.json`)}function ft(e,t,n){n.writeFile(t,JSON.stringify(J(e)))}const pt=(e,t,n)=>{let i=e.length;return new Promise((a,o)=>{let s=(e,t)=>{let n=BigInt(0);(0,r.close)(e,e=>{e?o(e):a(n.toString(16).padStart(16,`0`))}),n=t()},c=(t,n)=>{(0,r.read)(t,e,0,i,-1,(a,l)=>{if(a)return(0,r.close)(t,()=>o(a));l===i?(n.update(e),c(t,n)):(n.update(e.subarray(0,l)),s(t,()=>n.digest()))})};(0,r.open)(t,`r`,(t,a)=>{if(t)return o(t);(0,r.read)(a,e,0,i,-1,(t,l)=>{if(t)return(0,r.close)(a,()=>o(t));if(l<i)s(a,()=>n.h64Raw(e.subarray(0,l)));else{let t=n.create64();t.update(e),c(a,t)}})})})},mt=async({files:e,concurrency:n=x().CHROMATIC_HASH_CONCURRENCY,directory:r=``})=>{let a=t.wt(n),o=await ce(),s=await Promise.all(e.map(e=>a(async()=>{let t=Buffer.allocUnsafe(65536),n=r?i.default.join(r,e):e;return[e,await pt(t,n,o)]})));return Object.fromEntries(s)},ht=t.wt(10);function gt(e,t){let n=i.default.relative(e,t);return!n||n===`..`||n.startsWith(`..${i.default.sep}`)||i.default.isAbsolute(n)?[]:n.split(i.default.sep,2)}function _t(e,t){let n=/* @__PURE__ */ new Set;for(let r of t){if(!i.default.isAbsolute(r))return;let t=gt(e,r);t.length>0&&n.add(t.join(`/`))}return n}const Z=e=>e.split(`/`,1)[0];function vt(e){let t=[...e].reduce((e,t)=>e+Buffer.byteLength(t)+1,0);return e.size<=128&&t<=8192}async function yt(e,n){for await(let r of t.st(e,[`git`,`ls-files`,`--cached`,`--full-name`,`-z`,`--`,`:(top,literal)${n}/`]))return r.startsWith(`${n}/`);return!1}async function bt(e,t){let n=[...new Set([...t].filter(e=>e.includes(`/`)).map(e=>Z(e)))],r=await Promise.all(n.map(t=>ht(()=>yt(e,t))));return new Set(n.filter((e,t)=>r[t]))}async function xt(e,t,n){if([`GIT_LITERAL_PATHSPECS`,`GIT_GLOB_PATHSPECS`,`GIT_NOGLOB_PATHSPECS`,`GIT_ICASE_PATHSPECS`].some(e=>process.env[e]!==void 0))return;let r=_t(t,n);if(!r)return;let i=new Set([...r].map(e=>Z(e)));if(!vt(i))return;let a=await bt(e,r),o=new Set([...r].map(e=>{let t=Z(e);return a.has(t)&&!r.has(t)?e:t}));return vt(o)?o:i}var St=class extends Error{constructor(e){super(`Git tracks no files in ${e}, so TurboSnap 2.0 cannot tell which files are untracked. Commit the project's files, or restore the git index if it is missing.`),this.name=`NoTrackedFilesError`}};async function Ct(e,n){let r=await t.K(e),a=!1;for await(let n of t.it(e,r)){a=!0;break}if(!a)throw new St(r);let o=n&&await xt(e,r,n),s=/* @__PURE__ */ new Set;if(o?.size!==0){let n=o?[...o].map(e=>`:(top,literal)${e}`):[`:/`];o&&n.push(`:(top,literal).git`);for await(let a of t.st(e,[`git`,`ls-files`,`--others`,`--directory`,`-z`,`--full-name`,`--`,...n]))s.add(i.default.join(r,a))}return{has:e=>{if(o){let t=gt(r,e);if(t.length>0&&!o.has(t[0])&&!o.has(t.join(`/`)))throw Error(`Untracked file check outside the requested paths: ${e}`)}if(s.has(e))return!0;let t=i.default.dirname(e);for(;t.startsWith(r+i.default.sep);){if(s.has(t+i.default.sep))return!0;t=i.default.dirname(t)}return!1}}}function wt(e){let{log:n}=e;return{isFile:e=>Q(n,e)?.isFile()??!1,isDirectory:e=>Q(n,e)?.isDirectory()??!1,packageVersion:(e,r)=>t.T(n,e,r),hashAll:Et,listTree:e=>kt(n,e),trackedFiles:(t,n)=>Ot(e,t,n),writeFile:(e,t)=>{(0,r.mkdirSync)(i.default.dirname(e),{recursive:!0}),(0,r.writeFileSync)(e,t)},realPath:Tt,untrackedPaths:t=>Ct(e,t)}}function Tt(e){try{return(0,r.realpathSync)(e)}catch{return e}}function Q(e,t){try{return(0,r.statSync)(t,{throwIfNoEntry:!1})}catch(n){if(n.code===`ENOENT`)return;if(n.code===`ENAMETOOLONG`){e.debug(`Unable to read file path of ${t.length} characters, skipping since it's not likely to be a real file`);return}throw n}}async function Et(e,t){if(e.length===0)return{};let n;try{n=await mt({files:e,concurrency:t})}catch(t){throw Error(`Could not hash ${Dt(t,e)}: ${t.message}`)}let r=e.find(e=>!n[e]);if(r)throw Error(`No hash was produced for ${r}`);return n}function Dt(e,t){return e?.path?String(e.path):`one of the ${t.length} files hashed`}async function*Ot(e,n,r){for await(let a of t.it(e,n,r))yield i.default.join(n,a)}function kt(e,t){return Q(e,t)?.isFile()?[t]:$(e,t)}function $(e,t,n=/* @__PURE__ */ new Set){let a;try{a=(0,r.realpathSync)(t)}catch(n){return e.debug(`Failed to resolve ${t} when listing files`,n),[]}if(n.has(a))return[];n.add(a);try{let a;try{a=(0,r.readdirSync)(t,{withFileTypes:!0})}catch(n){return e.debug(`Failed to read directory ${t} when listing files`,n),[]}return a.flatMap(a=>{let o=i.default.join(t,a.name);if(a.isDirectory())return $(e,o,n);if(a.isFile())return[o];try{let t=(0,r.statSync)(o);return t.isDirectory()?$(e,o,n):t.isFile()?[o]:[]}catch(t){return e.debug(`Failed to stat ${o} when listing files`,t),[]}})}finally{n.delete(a)}}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return ct}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return ft}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return B}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return St}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return dt}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return mt}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return wt}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return x}}); //# sourceMappingURL=projectFiles-1_t6i9OT.cjs.map //# debugId=19a54568-0749-5061-a9e2-7f663d944bb6