@ms-cloudpack/overlay 0.19.1 → 0.19.2

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.
@@ -0,0 +1,2 @@
1
+ export const __webpack_id__=132;export const __webpack_ids__=[132];export const __webpack_modules__={132:(n,e,t)=>{t.r(e),t.d(e,{StatusDialog:()=>Q,default:()=>K});var r=t(48),a=t(645),o=t(104),s=t.n(o),i=t(15),l=t(606),c=t.n(l),d=t(607),u=t.n(d),A=t(437),p=t.n(A),h=t(750),g=t.n(h),x=t(994),C=t.n(x),b=t(415),m=t.n(b),f=t(181),B={};B.styleTagTransform=m(),B.setAttributes=g(),B.insert=p().bind(null,"head"),B.domAPI=u(),B.insertStyleElement=C(),c()(f.default,B);const v=f.default&&f.default.locals?f.default.locals:void 0;var k=t(91);const E=["ori","rollup","webpack","rspack","esbuild"],w=n=>{const{item:e,inputPath:t,index:a,type:o}=n,{location:i,notes:l=[]}=e,c=E.includes(e.source)?`${e.source} bundler`:`cloudpack ${e.source}`;return(0,r.jsxs)("div",{class:v.root,children:[(0,r.jsx)("div",{class:s()(v.statusBar,"warning"===o&&v.warning)}),(0,r.jsxs)("div",{class:v.content,children:[(0,r.jsxs)("div",{class:v.titleArea,children:[a+1,". ",(0,r.jsx)(y,{loc:i,inputPath:t})," (via: ",c,")"]}),(0,r.jsx)("pre",{class:v.text,children:j(e.text)}),l.length>0&&(0,r.jsxs)("details",{children:[(0,r.jsx)("summary",{children:"Expand for more details"}),(0,r.jsx)("ul",{children:l.map(((n,e)=>(0,r.jsx)("li",{children:n.location&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y,{loc:n.location,inputPath:t}),(0,r.jsx)("br",{}),(0,r.jsx)("pre",{class:v.text,children:j(n.text)})]})},e)))})]})]})]})};function j(n){return n.replace(/\x1b\[[\d;]+(m|[AKB]\b)/g,"")}const y=n=>{const{loc:e,inputPath:t}=n,a=(0,i.useCloudpack)();if(!e)return"(path unavailable)";const o=[e.file,e.line,e.column].filter((n=>void 0!==n)).join(":");return t?(0,r.jsx)(k.Button,{variant:"link",onClick:()=>{t&&a.openCodeEditor.mutate({rootPath:t,relativePath:e.file,line:e.line,column:e.column})},children:o}):o};var P=t(545);function R(n){return"pending"===n.status?"Running":[`Completed in ${n.durationMilliseconds}ms`,n.errors?.length&&`${n.errors.length} error${n.errors.length>1?"s":""}`,n.warnings?.length&&`${n.warnings.length} warning${n.warnings.length>1?"s":""}`].filter(Boolean).join(", ")}const D=n=>{const{task:e}=n,{name:t,warnings:a=[],errors:o=[],inputPath:s,outputPath:l}=e,c=(0,i.useCloudpack)(),d=n=>{c.openFilePath.mutate({rootPath:n})},u=()=>{s&&c.openCodeEditor.mutate({rootPath:s,relativePath:"package.json"})};return(0,r.jsx)(P.ResultsAccordion,{name:t||"<unknown>",index:n.index,result:o.length?"error":a.length?"warning":"success",headerEndContent:R(e),headerCommands:(0,r.jsx)(k.Button,{variant:"iconOnly",iconName:"refresh",onClick:()=>{s&&c.restartTask.mutate({id:e.id,inputPath:s})},title:"Re-bundle this package","aria-label":"Re-bundle this package"}),getContent:()=>(0,r.jsxs)(r.Fragment,{children:[s?(0,r.jsx)(P.ResultsAccordionContent,{itemName:"Input path",itemValue:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(k.Button,{variant:"link",onClick:()=>d(s),children:s})," ","(",(0,r.jsx)(k.Button,{variant:"link",onClick:u,children:"package.json"}),")"]})}):"No input path found for bundle task. This is a Cloudpack bug. Please report it.",l&&(0,r.jsx)(P.ResultsAccordionContent,{itemName:"Output path",itemValue:(0,r.jsx)(k.Button,{variant:"link",onClick:()=>d(l),children:l})}),o.length>0&&(0,r.jsx)(P.ResultsAccordionContent,{title:"Errors",children:o.map(((n,e)=>(0,r.jsx)(w,{type:"error",item:n,inputPath:s,index:e},e)))}),a.length>0&&(0,r.jsx)(P.ResultsAccordionContent,{title:"Warnings",children:a.map(((n,e)=>(0,r.jsx)(w,{type:"warning",item:n,inputPath:s,index:e},e)))})]})})};var S=t(279),T=t(920);const _=({searchFilter:n,issuesOnly:e})=>{let t=((()=>{const n=(0,i.useCloudpack)(),[e,t]=(0,a.useState)({tasks:[]});return(0,a.useEffect)((()=>{const e=n?.onDataChanged.subscribe(S.taskListSource,{onData:n=>{t(n)}});return()=>{e.unsubscribe()}}),[n]),e})().tasks||[]).sort(I);return n&&(n=n.toLowerCase(),t=t.filter((({name:e})=>n&&e?.toLowerCase().includes(n)))),e&&(t=t.filter((({errors:n,warnings:e})=>n?.length||e?.length))),(0,r.jsx)("div",{class:T.default.root,children:t.map(((n,e)=>(0,r.jsx)(D,{index:e,task:n},n.name)))})};function I(n,e){const t="pending"===n.status?1:0,r="pending"===e.status?1:0;if(t!==r)return t>r?-1:1;const a=n.errors?.length||0,o=e.errors?.length||0;return a!==o?a>o?-1:1:void 0===n.name&&void 0===e.name?n.id<e.id?-1:1:void 0===n.name?1:void 0===e.name||n.name<e.name?-1:1}var z=t(475),F=t(533),O={};O.styleTagTransform=m(),O.setAttributes=g(),O.insert=p().bind(null,"head"),O.domAPI=u(),O.insertStyleElement=C(),c()(F.default,O);const N=F.default&&F.default.locals?F.default.locals:void 0,X=n=>{const{value:e,onInput:t,style:a}=n;return(0,r.jsx)("input",{type:"text","aria-label":"Search",placeholder:"Search",class:N.searchbox,style:a,onInput:t,value:e})};var M=t(116);const Q=({onClose:n})=>{const e=(0,i.useCloudpack)(),[t,o]=(0,a.useState)(""),[s,l]=(0,a.useState)(!1),c=(0,a.useCallback)((n=>{n.preventDefault(),o(n.target.value)}),[]);return(0,r.jsx)(z.Dialog,{title:"Cloudpack bundle results",id:M.elementIds.statusDialogRoot,draggable:!0,onClose:n,commands:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(k.Button,{variant:"primary",iconName:"refresh",onClick:()=>{e.restartAllTasks.mutate()},children:"Re-bundle all packages"}),(0,r.jsx)(k.Button,{onClick:()=>{l((n=>!n))},children:s?"Show all packages":"Show packages with issues"}),(0,r.jsx)(X,{value:t,onInput:c,style:{marginLeft:"auto"}})]}),children:(0,r.jsx)(_,{searchFilter:t,issuesOnly:s})})},K=Q},181:(n,e,t)=>{t.d(e,{default:()=>i});var r=t(25),a=t.n(r),o=t(191),s=t.n(o)()(a());s.push([n.id,".Rl6XMfFcB4M4Sp5RJbh8 {\n display: flex;\n background: var(--cp-neutralLighter);\n}\n\n/* left border color indicator */\n.RsdQpgzZbI9fI4mSfjJX {\n flex-shrink: 0;\n border-radius: 4px;\n width: 4px;\n background: var(--cp-errorDark);\n box-shadow: 2px 0 4px 0 var(--cp-errorTransparent);\n}\n.RsdQpgzZbI9fI4mSfjJX.EcBSTvORlKqFlDbz3mr9 {\n background: var(--cp-warningDark);\n box-shadow: 2px 0 4px 0 var(--cp-warningTransparent);\n}\n\n/* everything but the status bar */\n.oaWQstIJN1TotKTOLcwX {\n padding: 8px;\n display: flex;\n flex-grow: 1;\n overflow: hidden;\n flex-direction: column;\n}\n\n/* file path and error source */\n.NUKs26I_j0KAivvaQbz4 {\n padding: 4px 0;\n font-weight: 500;\n}\n\n/* pre with error details */\n.qXRXiNO7j_FMkOf4b1Hi {\n word-wrap: break-word;\n white-space: pre-wrap;\n color: var(--cp-neutralPrimary);\n /* monospace fonts tend to have very tight line-height by default */\n line-height: 1.5em;\n /* they also tend to be rather large */\n font-size: 0.9em;\n}\n","",{version:3,sources:["webpack://./src/components/StatusDialog/TaskResultItem.module.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,oCAAoC;AACtC;;AAEA,gCAAgC;AAChC;EACE,cAAc;EACd,kBAAkB;EAClB,UAAU;EACV,+BAA+B;EAC/B,kDAAkD;AACpD;AACA;EACE,iCAAiC;EACjC,oDAAoD;AACtD;;AAEA,kCAAkC;AAClC;EACE,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,gBAAgB;EAChB,sBAAsB;AACxB;;AAEA,+BAA+B;AAC/B;EACE,cAAc;EACd,gBAAgB;AAClB;;AAEA,2BAA2B;AAC3B;EACE,qBAAqB;EACrB,qBAAqB;EACrB,+BAA+B;EAC/B,mEAAmE;EACnE,kBAAkB;EAClB,sCAAsC;EACtC,gBAAgB;AAClB",sourcesContent:[".root {\n display: flex;\n background: var(--cp-neutralLighter);\n}\n\n/* left border color indicator */\n.statusBar {\n flex-shrink: 0;\n border-radius: 4px;\n width: 4px;\n background: var(--cp-errorDark);\n box-shadow: 2px 0 4px 0 var(--cp-errorTransparent);\n}\n.statusBar.warning {\n background: var(--cp-warningDark);\n box-shadow: 2px 0 4px 0 var(--cp-warningTransparent);\n}\n\n/* everything but the status bar */\n.content {\n padding: 8px;\n display: flex;\n flex-grow: 1;\n overflow: hidden;\n flex-direction: column;\n}\n\n/* file path and error source */\n.titleArea {\n padding: 4px 0;\n font-weight: 500;\n}\n\n/* pre with error details */\n.text {\n word-wrap: break-word;\n white-space: pre-wrap;\n color: var(--cp-neutralPrimary);\n /* monospace fonts tend to have very tight line-height by default */\n line-height: 1.5em;\n /* they also tend to be rather large */\n font-size: 0.9em;\n}\n"],sourceRoot:""}]),s.locals={root:"Rl6XMfFcB4M4Sp5RJbh8",statusBar:"RsdQpgzZbI9fI4mSfjJX",warning:"EcBSTvORlKqFlDbz3mr9",content:"oaWQstIJN1TotKTOLcwX",titleArea:"NUKs26I_j0KAivvaQbz4",text:"qXRXiNO7j_FMkOf4b1Hi"};const i=s},533:(n,e,t)=>{t.d(e,{default:()=>i});var r=t(25),a=t.n(r),o=t(191),s=t.n(o)()(a());s.push([n.id,".VVonEYuUEQsjEgbwvMfP {\n font-size: 14px;\n font-weight: 400;\n box-shadow: none;\n padding: 0px 8px;\n box-sizing: border-box;\n color: var(--cp-neutralPrimary);\n background-color: white;\n border-radius: 2px;\n /* This should match the default button border */\n border: 1px solid var(--cp-border);\n height: 32px;\n min-width: 160px;\n}\n.VVonEYuUEQsjEgbwvMfP:focus-visible {\n outline: var(--cp-outline);\n}\n","",{version:3,sources:["webpack://./src/components/StatusDialog/Searchbox.module.css"],names:[],mappings:"AAAA;EACE,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,sBAAsB;EACtB,+BAA+B;EAC/B,uBAAuB;EACvB,kBAAkB;EAClB,gDAAgD;EAChD,kCAAkC;EAClC,YAAY;EACZ,gBAAgB;AAClB;AACA;EACE,0BAA0B;AAC5B",sourcesContent:[".searchbox {\n font-size: 14px;\n font-weight: 400;\n box-shadow: none;\n padding: 0px 8px;\n box-sizing: border-box;\n color: var(--cp-neutralPrimary);\n background-color: white;\n border-radius: 2px;\n /* This should match the default button border */\n border: 1px solid var(--cp-border);\n height: 32px;\n min-width: 160px;\n}\n.searchbox:focus-visible {\n outline: var(--cp-outline);\n}\n"],sourceRoot:""}]),s.locals={searchbox:"VVonEYuUEQsjEgbwvMfP"};const i=s}};
2
+ //# sourceMappingURL=132.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"132.chunk.js","mappings":"wUAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IACxBF,EAAQG,OAAS,SAAc,KAAM,QACrCH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,UAASL,GAKnB,QAAe,WAAW,UAAQM,OAAS,UAAQA,YAASC,E,YCLnE,MAAMC,EAAe,CAAC,MAAO,SAAU,UAAW,SAAU,WAK/CC,EAA0DC,IACrE,MAAM,KAAEC,EAAI,UAAEC,EAAS,MAAEC,EAAK,KAAEC,GAASJ,GACjCK,SAAUC,EAAG,MAAEC,EAAQ,IAAON,EAKhCO,EAAiBV,EAAaW,SAASR,EAAKS,QAAU,GAAGT,EAAKS,iBAAmB,aAAaT,EAAKS,SAEzG,OACE,UAACC,MAAAA,CAAIC,MAAOC,EAAOC,K,WACjB,SAACH,MAAAA,CAAIC,MAAOG,IAAGF,EAAOG,UAAoB,YAATZ,GAAsBS,EAAOI,YAC9D,UAACN,MAAAA,CAAIC,MAAOC,EAAOK,Q,WACjB,UAACP,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,QAAQ,E,SAYU,4BAGvE,SAACJ,EAAAA,OAAMA,CAACE,QAbS,KAAWkE,GAAeT,IAAWA,GAAM,E,SAaxBxB,EAAa,oBAAsB,+BAEvE,SAACuB,EAASA,CAACC,MAAOzB,EAAc0B,QAASS,EAAoBR,MAAO,CAAEmB,WAAY,a,UAItF,SAAC/C,EAAQA,CAACC,aAAcA,EAAcC,WAAYA,K,EAKxD,G,qEC9CI8C,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOzD,GAAI,igCA2CtC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,qEAAqE,MAAQ,GAAG,SAAW,4YAA4Y,eAAiB,CAAC,u6BAAu6B,WAAa,MAE38CuD,EAAwBhI,OAAS,CAChC,KAAQ,uBACR,UAAa,uBACb,QAAW,uBACX,QAAW,uBACX,UAAa,uBACb,KAAQ,wBAET,S,qECvDIgI,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOzD,GAAI,+aAiBtC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,gEAAgE,MAAQ,GAAG,SAAW,yLAAyL,eAAiB,CAAC,0ZAA0Z,WAAa,MAEtuBuD,EAAwBhI,OAAS,CAChC,UAAa,wBAEd,S","sources":["webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/TaskResultItem.module.css?58ec","webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/TaskResultItem.tsx","webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/TaskStatus.tsx","webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/TaskList.tsx","webpack://@ms-cloudpack/overlay/./src/components/CloudpackProvider/useStatusDetails.ts","webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/Searchbox.module.css?3e72","webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/Searchbox.tsx","webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/StatusDialog.tsx","webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/TaskResultItem.module.css","webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/Searchbox.module.css"],"sourcesContent":["\n import API from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/cjs.js??ruleSet[1].rules[0].oneOf[1].use[1]!./TaskResultItem.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/cjs.js??ruleSet[1].rules[0].oneOf[1].use[1]!./TaskResultItem.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import type { BundleMessage, BundleMessageLocation } from '@ms-cloudpack/common-types';\nimport type { FunctionComponent } from 'preact';\nimport cx from 'classnames';\nimport { useCloudpack } from '../CloudpackProvider/CloudpackProvider.js';\nimport styles from './TaskResultItem.module.css';\nimport { Button } from '../Button/Button.js';\n\nexport interface TaskResultItemProps {\n item: BundleMessage;\n inputPath: string | undefined;\n /** 0-based index (will be adjusted for display) */\n index: number;\n type: 'error' | 'warning';\n}\n\n/**\n * Current and possible future bundler names, just to help with a friendlier error message\n * (we can't access the authoritative list from the bundler package here)\n */\nconst bundlerNames = ['ori', 'rollup', 'webpack', 'rspack', 'esbuild'];\n\n/**\n * Error or warning item in the details of a task/bundle result.\n */\nexport const TaskResultItem: FunctionComponent<TaskResultItemProps> = (props) => {\n const { item, inputPath, index, type } = props;\n const { location: loc, notes = [] } = item;\n\n // Update the message source to be more user-friendly. Usually it's either a bundler name,\n // or some internal of cloudpack, and since the user might not know about the different bundlers\n // and certainly doesn't know about cloudpack internals, a bit of context is helpful.\n const friendlySource = bundlerNames.includes(item.source) ? `${item.source} bundler` : `cloudpack ${item.source}`;\n\n return (\n <div class={styles.root}>\n <div class={cx(styles.statusBar, type === 'warning' && styles.warning)}></div>\n <div class={styles.content}>\n <div class={styles.titleArea}>\n {index + 1}. <ItemLocation loc={loc} inputPath={inputPath} /> (via: {friendlySource})\n </div>\n <pre class={styles.text}>{stripAnsi(item.text)}</pre>\n {notes.length > 0 && (\n // Formatting here might not be ideal, but messages very rarely have notes\n <details>\n <summary>Expand for more details</summary>\n <ul>\n {notes.map((note, i) => (\n <li key={i}>\n {note.location && (\n <>\n <ItemLocation loc={note.location} inputPath={inputPath} />\n <br />\n <pre class={styles.text}>{stripAnsi(note.text)}</pre>\n </>\n )}\n </li>\n ))}\n </ul>\n </details>\n )}\n </div>\n </div>\n );\n};\n\n/**\n * Remove ANSI codes from a string. (This is duplicated from `task-reporter` to avoid needing\n * browser support in that package, since the implementation is trivial.)\n */\nfunction stripAnsi(text: string): string {\n // eslint-disable-next-line no-control-regex -- supposed to match a control character\n return text.replace(/\\x1b\\[[\\d;]+(m|[AKB]\\b)/g, '');\n}\n\n/**\n * Return a link-button to open the source file, or a placeholder if the location is undefined.\n */\nconst ItemLocation: FunctionComponent<{ loc: BundleMessageLocation | undefined; inputPath: string | undefined }> = (\n props,\n) => {\n const { loc, inputPath } = props;\n const cloudpack = useCloudpack();\n\n if (!loc) {\n return '(path unavailable)';\n }\n\n const locationString = [loc.file, loc.line, loc.column].filter((val) => val !== undefined).join(':');\n if (!inputPath) {\n return locationString;\n }\n\n const openSource = (): void => {\n if (!inputPath) return;\n void cloudpack.openCodeEditor.mutate({\n rootPath: inputPath,\n relativePath: loc.file,\n line: loc.line,\n column: loc.column,\n });\n };\n\n return (\n <Button variant=\"link\" onClick={openSource}>\n {locationString}\n </Button>\n );\n};\n","import type { FunctionComponent } from 'preact';\nimport type { TaskDescription } from '@ms-cloudpack/api-server/browser';\nimport { TaskResultItem } from './TaskResultItem.js';\nimport { useCloudpack } from '../CloudpackProvider/CloudpackProvider.js';\nimport { Button } from '../Button/Button.js';\nimport {\n ResultsAccordion,\n ResultsAccordionContent,\n type ResultsAccordionProps,\n} from '../ResultsAccordion/ResultsAccordion.js';\n\nexport interface TaskStatusProps extends Pick<ResultsAccordionProps, 'index'> {\n task: TaskDescription;\n}\n\nfunction getCompletion(task: TaskDescription): string {\n if (task.status === 'pending') {\n return 'Running';\n }\n return [\n `Completed in ${task.durationMilliseconds}ms`,\n task.errors?.length && `${task.errors.length} error${task.errors.length > 1 ? 's' : ''}`,\n task.warnings?.length && `${task.warnings.length} warning${task.warnings.length > 1 ? 's' : ''}`,\n ]\n .filter(Boolean)\n .join(', ');\n}\n\n/**\n * Item (collapsible section) in the list of bundle task results in the StatusDialog.\n */\nexport const TaskStatus: FunctionComponent<TaskStatusProps> = (props) => {\n const { task } = props;\n const { name, warnings = [], errors = [], inputPath, outputPath } = task;\n const cloudpack = useCloudpack();\n\n const openPath = (rootPath: string) => void cloudpack.openFilePath.mutate({ rootPath });\n\n const openPackageJson = (): void => {\n if (!inputPath) return; // the button won't be shown in this case\n\n void cloudpack.openCodeEditor.mutate({\n rootPath: inputPath,\n relativePath: 'package.json',\n });\n };\n\n const restartTask = (): void => {\n if (!inputPath) return;\n\n void cloudpack.restartTask.mutate({ id: task.id, inputPath });\n };\n\n // This callback prevents rendering thousands of bundle result details unnecessarily.\n // It could be further optimized with useMemo etc if it's an actual performance issue.\n const getContent = () => (\n <>\n {inputPath ? (\n <ResultsAccordionContent\n itemName=\"Input path\"\n itemValue={\n <>\n <Button variant=\"link\" onClick={() => openPath(inputPath)}>\n {inputPath}\n </Button>{' '}\n (\n <Button variant=\"link\" onClick={openPackageJson}>\n package.json\n </Button>\n )\n </>\n }\n />\n ) : (\n 'No input path found for bundle task. This is a Cloudpack bug. Please report it.'\n )}\n {outputPath && (\n <ResultsAccordionContent\n itemName=\"Output path\"\n itemValue={\n <Button variant=\"link\" onClick={() => openPath(outputPath)}>\n {outputPath}\n </Button>\n }\n />\n )}\n {errors.length > 0 && (\n <ResultsAccordionContent title=\"Errors\">\n {errors.map((item, index) => (\n <TaskResultItem type=\"error\" key={index} item={item} inputPath={inputPath} index={index} />\n ))}\n </ResultsAccordionContent>\n )}\n {warnings.length > 0 && (\n <ResultsAccordionContent title=\"Warnings\">\n {warnings.map((item, index) => (\n <TaskResultItem type=\"warning\" key={index} item={item} inputPath={inputPath} index={index} />\n ))}\n </ResultsAccordionContent>\n )}\n </>\n );\n\n return (\n <ResultsAccordion\n name={name || '<unknown>'}\n index={props.index}\n result={errors.length ? 'error' : warnings.length ? 'warning' : 'success'}\n headerEndContent={getCompletion(task)}\n headerCommands={\n <Button\n variant=\"iconOnly\"\n iconName=\"refresh\"\n onClick={restartTask}\n title=\"Re-bundle this package\"\n aria-label=\"Re-bundle this package\"\n />\n }\n getContent={getContent}\n />\n );\n};\n","import type { FunctionComponent } from 'preact';\nimport { TaskStatus } from './TaskStatus.js';\nimport { useStatusDetails } from '../CloudpackProvider/useStatusDetails.js';\nimport styles from './TaskList.module.css';\nimport type { TaskDescription } from '@ms-cloudpack/api-server/browser';\n\nexport interface TaskListProps {\n searchFilter?: string;\n issuesOnly?: boolean;\n}\n\nexport const TaskList: FunctionComponent<TaskListProps> = ({ searchFilter, issuesOnly }) => {\n const details = useStatusDetails();\n const tasks = (details.tasks || []).sort(sortTasks);\n\n let filteredTasks = tasks;\n if (searchFilter) {\n searchFilter = searchFilter.toLowerCase();\n filteredTasks = filteredTasks.filter(({ name }) => searchFilter && name?.toLowerCase().includes(searchFilter));\n }\n if (issuesOnly) {\n filteredTasks = filteredTasks.filter(({ errors, warnings }) => errors?.length || warnings?.length);\n }\n\n return (\n <div class={styles.root}>\n {filteredTasks.map((task, index) => (\n <TaskStatus key={task.name} index={index} task={task} />\n ))}\n </div>\n );\n};\n\n/**\n * Really the server should be sorting. Get stuff out of the browser.\n */\nfunction sortTasks(a: TaskDescription, b: TaskDescription): number {\n const aStatus = a.status === 'pending' ? 1 : 0;\n const bStatus = b.status === 'pending' ? 1 : 0;\n\n if (aStatus !== bStatus) {\n return aStatus > bStatus ? -1 : 1;\n }\n\n const aErrors = a.errors?.length || 0;\n const bErrors = b.errors?.length || 0;\n\n if (aErrors !== bErrors) {\n return aErrors > bErrors ? -1 : 1;\n }\n\n if (a.name === undefined && b.name === undefined) {\n return a.id < b.id ? -1 : 1;\n } else if (a.name === undefined) {\n return 1;\n } else if (b.name === undefined) {\n return -1;\n }\n\n return a.name < b.name ? -1 : 1;\n}\n","import { useEffect, useState } from 'preact/hooks';\nimport { useCloudpack } from './CloudpackProvider.js';\nimport { taskListSource, type TaskList } from '@ms-cloudpack/api-server/browser';\n\nexport const useStatusDetails = (): TaskList => {\n const cloudpack = useCloudpack();\n const [details, setDetails] = useState<TaskList>({ tasks: [] });\n\n useEffect(() => {\n const subscription = cloudpack?.onDataChanged.subscribe(taskListSource, {\n onData: (data) => {\n setDetails(data as TaskList);\n },\n });\n\n return () => {\n subscription.unsubscribe();\n };\n }, [cloudpack]);\n\n return details;\n};\n","\n import API from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/cjs.js??ruleSet[1].rules[0].oneOf[1].use[1]!./Searchbox.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/cjs.js??ruleSet[1].rules[0].oneOf[1].use[1]!./Searchbox.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import type { FunctionComponent } from 'preact';\nimport type { InputHTMLAttributes } from 'preact/compat';\nimport styles from './Searchbox.module.css';\n\nexport interface SearchboxProps\n extends Required<Pick<InputHTMLAttributes, 'onInput'>>,\n Pick<InputHTMLAttributes, 'style'> {\n value: string;\n}\n\nexport const Searchbox: FunctionComponent<SearchboxProps> = (props) => {\n const { value, onInput, style } = props;\n return (\n <input\n type=\"text\"\n aria-label=\"Search\"\n placeholder=\"Search\"\n class={styles.searchbox}\n style={style}\n onInput={onInput}\n value={value}\n />\n );\n};\n","import type { FunctionComponent } from 'preact';\nimport { useCallback, useState } from 'preact/hooks';\nimport { TaskList } from './TaskList.js';\nimport { useCloudpack } from '../CloudpackProvider/CloudpackProvider.js';\nimport { Button } from '../Button/Button.js';\nimport { Dialog } from '../Dialog/Dialog.js';\nimport { Searchbox, type SearchboxProps } from './Searchbox.js';\nimport { elementIds } from '../../constants.js';\n\nexport interface StatusDialogProps {\n onClose: () => void;\n}\n\nexport const StatusDialog: FunctionComponent<StatusDialogProps> = ({ onClose }) => {\n const cloudpack = useCloudpack();\n const [searchFilter, setSearchFilter] = useState('');\n const [issuesOnly, setIssuesOnly] = useState(false);\n\n const handleSearchChange = useCallback<SearchboxProps['onInput']>((event) => {\n event.preventDefault();\n setSearchFilter((event.target as HTMLInputElement).value);\n }, []);\n\n const restartAllTasks = () => void cloudpack.restartAllTasks.mutate();\n\n const toggleIssuesOnly = () => void setIssuesOnly((value) => !value);\n\n return (\n <Dialog\n title=\"Cloudpack bundle results\"\n id={elementIds.statusDialogRoot}\n draggable\n onClose={onClose}\n commands={\n <>\n <Button variant=\"primary\" iconName=\"refresh\" onClick={restartAllTasks}>\n Re-bundle all packages\n </Button>\n <Button onClick={toggleIssuesOnly}>{issuesOnly ? 'Show all packages' : 'Show packages with issues'}</Button>\n {/* Align the search box to the right */}\n <Searchbox value={searchFilter} onInput={handleSearchChange} style={{ marginLeft: 'auto' }} />\n </>\n }\n >\n <TaskList searchFilter={searchFilter} issuesOnly={issuesOnly} />\n </Dialog>\n );\n};\n\nexport default StatusDialog;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.Rl6XMfFcB4M4Sp5RJbh8 {\n display: flex;\n background: var(--cp-neutralLighter);\n}\n\n/* left border color indicator */\n.RsdQpgzZbI9fI4mSfjJX {\n flex-shrink: 0;\n border-radius: 4px;\n width: 4px;\n background: var(--cp-errorDark);\n box-shadow: 2px 0 4px 0 var(--cp-errorTransparent);\n}\n.RsdQpgzZbI9fI4mSfjJX.EcBSTvORlKqFlDbz3mr9 {\n background: var(--cp-warningDark);\n box-shadow: 2px 0 4px 0 var(--cp-warningTransparent);\n}\n\n/* everything but the status bar */\n.oaWQstIJN1TotKTOLcwX {\n padding: 8px;\n display: flex;\n flex-grow: 1;\n overflow: hidden;\n flex-direction: column;\n}\n\n/* file path and error source */\n.NUKs26I_j0KAivvaQbz4 {\n padding: 4px 0;\n font-weight: 500;\n}\n\n/* pre with error details */\n.qXRXiNO7j_FMkOf4b1Hi {\n word-wrap: break-word;\n white-space: pre-wrap;\n color: var(--cp-neutralPrimary);\n /* monospace fonts tend to have very tight line-height by default */\n line-height: 1.5em;\n /* they also tend to be rather large */\n font-size: 0.9em;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/StatusDialog/TaskResultItem.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,aAAa;EACb,oCAAoC;AACtC;;AAEA,gCAAgC;AAChC;EACE,cAAc;EACd,kBAAkB;EAClB,UAAU;EACV,+BAA+B;EAC/B,kDAAkD;AACpD;AACA;EACE,iCAAiC;EACjC,oDAAoD;AACtD;;AAEA,kCAAkC;AAClC;EACE,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,gBAAgB;EAChB,sBAAsB;AACxB;;AAEA,+BAA+B;AAC/B;EACE,cAAc;EACd,gBAAgB;AAClB;;AAEA,2BAA2B;AAC3B;EACE,qBAAqB;EACrB,qBAAqB;EACrB,+BAA+B;EAC/B,mEAAmE;EACnE,kBAAkB;EAClB,sCAAsC;EACtC,gBAAgB;AAClB\",\"sourcesContent\":[\".root {\\n display: flex;\\n background: var(--cp-neutralLighter);\\n}\\n\\n/* left border color indicator */\\n.statusBar {\\n flex-shrink: 0;\\n border-radius: 4px;\\n width: 4px;\\n background: var(--cp-errorDark);\\n box-shadow: 2px 0 4px 0 var(--cp-errorTransparent);\\n}\\n.statusBar.warning {\\n background: var(--cp-warningDark);\\n box-shadow: 2px 0 4px 0 var(--cp-warningTransparent);\\n}\\n\\n/* everything but the status bar */\\n.content {\\n padding: 8px;\\n display: flex;\\n flex-grow: 1;\\n overflow: hidden;\\n flex-direction: column;\\n}\\n\\n/* file path and error source */\\n.titleArea {\\n padding: 4px 0;\\n font-weight: 500;\\n}\\n\\n/* pre with error details */\\n.text {\\n word-wrap: break-word;\\n white-space: pre-wrap;\\n color: var(--cp-neutralPrimary);\\n /* monospace fonts tend to have very tight line-height by default */\\n line-height: 1.5em;\\n /* they also tend to be rather large */\\n font-size: 0.9em;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"root\": `Rl6XMfFcB4M4Sp5RJbh8`,\n\t\"statusBar\": `RsdQpgzZbI9fI4mSfjJX`,\n\t\"warning\": `EcBSTvORlKqFlDbz3mr9`,\n\t\"content\": `oaWQstIJN1TotKTOLcwX`,\n\t\"titleArea\": `NUKs26I_j0KAivvaQbz4`,\n\t\"text\": `qXRXiNO7j_FMkOf4b1Hi`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.VVonEYuUEQsjEgbwvMfP {\n font-size: 14px;\n font-weight: 400;\n box-shadow: none;\n padding: 0px 8px;\n box-sizing: border-box;\n color: var(--cp-neutralPrimary);\n background-color: white;\n border-radius: 2px;\n /* This should match the default button border */\n border: 1px solid var(--cp-border);\n height: 32px;\n min-width: 160px;\n}\n.VVonEYuUEQsjEgbwvMfP:focus-visible {\n outline: var(--cp-outline);\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/StatusDialog/Searchbox.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,sBAAsB;EACtB,+BAA+B;EAC/B,uBAAuB;EACvB,kBAAkB;EAClB,gDAAgD;EAChD,kCAAkC;EAClC,YAAY;EACZ,gBAAgB;AAClB;AACA;EACE,0BAA0B;AAC5B\",\"sourcesContent\":[\".searchbox {\\n font-size: 14px;\\n font-weight: 400;\\n box-shadow: none;\\n padding: 0px 8px;\\n box-sizing: border-box;\\n color: var(--cp-neutralPrimary);\\n background-color: white;\\n border-radius: 2px;\\n /* This should match the default button border */\\n border: 1px solid var(--cp-border);\\n height: 32px;\\n min-width: 160px;\\n}\\n.searchbox:focus-visible {\\n outline: var(--cp-outline);\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"searchbox\": `VVonEYuUEQsjEgbwvMfP`\n};\nexport default ___CSS_LOADER_EXPORT___;\n"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","undefined","bundlerNames","TaskResultItem","props","item","inputPath","index","type","location","loc","notes","friendlySource","includes","source","div","class","styles","root","cx","statusBar","warning","content","titleArea","ItemLocation","pre","text","stripAnsi","length","details","summary","ul","map","note","i","li","br","replace","cloudpack","useCloudpack","locationString","file","line","column","filter","val","join","Button","variant","onClick","openCodeEditor","mutate","rootPath","relativePath","getCompletion","task","status","durationMilliseconds","errors","warnings","Boolean","TaskStatus","name","outputPath","openPath","openFilePath","openPackageJson","ResultsAccordion","result","headerEndContent","headerCommands","iconName","restartTask","id","title","aria-label","getContent","ResultsAccordionContent","itemName","itemValue","TaskList","searchFilter","issuesOnly","filteredTasks","setDetails","useState","tasks","useEffect","subscription","onDataChanged","subscribe","taskListSource","onData","data","unsubscribe","useStatusDetails","sort","sortTasks","toLowerCase","a","b","aStatus","bStatus","aErrors","bErrors","Searchbox","value","onInput","style","input","placeholder","searchbox","StatusDialog","onClose","setSearchFilter","setIssuesOnly","handleSearchChange","useCallback","event","preventDefault","target","Dialog","elementIds","statusDialogRoot","draggable","commands","restartAllTasks","marginLeft","___CSS_LOADER_EXPORT___","push","module"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- export const __webpack_id__=240;export const __webpack_ids__=[240];export const __webpack_modules__={240:(e,r,t)=>{t.r(r),t.d(r,{ErrorDialog:()=>p,default:()=>m});var o=t(48),n=t(673),s=t(874),i=t(15),a=t(229);const d=e=>{const{packageName:r,importPath:t,issuerUrl:n,fixable:d,isValidPackage:c}=e,l=(0,i.useCloudpack)(),h=(0,o.jsxs)("code",{children:[r,"."===t?"":`/${t.replace(/^\.\//,"")}`]}),p=(0,o.jsx)("code",{children:r}),m=t.endsWith("/");return(0,o.jsx)(a.ResultsAccordion,{name:h,index:e.index,result:"error",headerCommands:d&&(0,o.jsx)(s.Button,{onClick:()=>{l.addPackageOverride.mutate({packageName:r,importPath:t,issuerUrl:n,initiatedBy:"user"})},children:"Add override"}),getContent:()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.ResultsAccordionContent,{itemName:"Problem",itemValue:(0,o.jsxs)(o.Fragment,{children:[c?(0,o.jsxs)(o.Fragment,{children:[h," was imported, but ",(0,o.jsx)("code",{children:t})," is not listed in ",p,"'s exports map",d?"":" and does not appear to exist on disk","."]}):(0,o.jsxs)(o.Fragment,{children:["An unrecognized package ",p," was imported."]}),n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("br",{}),"The bad import request came from:"," ",(0,o.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer",children:n})]})]})}),(0,o.jsx)(a.ResultsAccordionContent,{itemName:"Possible solutions",itemValue:d?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("p",{children:["Click ",(0,o.jsx)("strong",{children:"Add override"})," above to add an exports map entry for this path in your ","app's ",(0,o.jsx)("code",{children:"cloudpack.generated.json"}),"."]}),(0,o.jsxs)("p",{children:["To automatically make updates like this in the future, add the following to your ","app's ",(0,o.jsx)("code",{children:"cloudpack.config.json"}),":",(0,o.jsx)("br",{}),(0,o.jsx)("code",{children:'{ "features": { "autoUpdateEntries": true } }'})]})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:n?"Check the requesting URL above":"Search for this import in your repo"})," to determine whether the problematic import comes from your own code, or a dependency's code.",!n&&" (You can also try opening this page in Firefox and checking the console to see which package's bundle imported the bad path.)",(0,o.jsxs)("ul",{children:[(0,o.jsxs)("li",{children:[(0,o.jsx)("strong",{children:"If from your repo:"})," ",m?"Remove the trailing slash from the import path.":c?(0,o.jsxs)(o.Fragment,{children:["Import from the package root or a valid sub-path. (If you think the path is valid, verify that the correct version of ",p," is listed as a dependency.)"]}):"Make sure the package name is correct and listed as a dependency of the importing package."]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("strong",{children:"If from a dependency:"}),m?"Ask the owners to remove the trailing slash, or create a temporary patch in your repo.":(0,o.jsxs)("ul",{children:[(0,o.jsxs)("li",{children:["Verify that your local installation is up to date (run ",(0,o.jsx)("code",{children:"yarn"})," or your repo's package manager)."]}),(0,o.jsxs)("li",{children:["Verify whether ",p," is listed in the importing package's dependencies. If not, ask the owners to add it (or temporarily add the dependency in one of your own packages and run ",(0,o.jsx)("code",{children:"cloudpack init"}),")."]}),(0,o.jsxs)("li",{children:["If the dependency is listed, check whether any ",(0,o.jsx)("code",{children:"resolutions"})," exist for"," ",p," which might be forcing it to an incompatible version. If so, talk to your eng sys team about removing or scoping the resolution."]}),(0,o.jsxs)("li",{children:["If ",p," is in ",(0,o.jsx)("code",{children:"peerDependencies"})," of the importing package, the peer may be incorrectly satisfied in your dependency tree. Talk to your eng sys team for help."]})]})]})]})]})})]})})};var c=t(816),l=t(338),h=t(116);const p=({unsupported:e})=>{const r=(0,i.useCloudpack)();return(0,o.jsx)(l.Dialog,{title:"Cloudpack: Unsupported paths found in project",id:h.elementIds.errorDialogRoot,style:"error",commands:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.Button,{variant:"primary",iconName:"refresh",onClick:()=>{r.restartAllTasks.mutate()},children:"Retry bundling"}),(0,o.jsx)(s.Button,{onClick:()=>{r.openConfigEditor.mutate()},children:"Edit Cloudpack config"})]}),children:(0,o.jsx)("div",{class:c.default.root,children:e.map(((e,r)=>(0,n.createElement)(d,{...e,index:r,key:r})))})})},m=p}};
1
+ export const __webpack_id__=240;export const __webpack_ids__=[240];export const __webpack_modules__={240:(e,r,t)=>{t.r(r),t.d(r,{ErrorDialog:()=>p,default:()=>m});var o=t(48),n=t(673),s=t(91),i=t(15),a=t(545);const d=e=>{const{packageName:r,importPath:t,issuerUrl:n,fixable:d,isValidPackage:c}=e,l=(0,i.useCloudpack)(),h=(0,o.jsxs)("code",{children:[r,"."===t?"":`/${t.replace(/^\.\//,"")}`]}),p=(0,o.jsx)("code",{children:r}),m=t.endsWith("/");return(0,o.jsx)(a.ResultsAccordion,{name:h,index:e.index,result:"error",headerCommands:d&&(0,o.jsx)(s.Button,{onClick:()=>{l.addPackageOverride.mutate({packageName:r,importPath:t,issuerUrl:n,initiatedBy:"user"})},children:"Add override"}),getContent:()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.ResultsAccordionContent,{itemName:"Problem",itemValue:(0,o.jsxs)(o.Fragment,{children:[c?(0,o.jsxs)(o.Fragment,{children:[h," was imported, but ",(0,o.jsx)("code",{children:t})," is not listed in ",p,"'s exports map",d?"":" and does not appear to exist on disk","."]}):(0,o.jsxs)(o.Fragment,{children:["An unrecognized package ",p," was imported."]}),n&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("br",{}),"The bad import request came from:"," ",(0,o.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer",children:n})]})]})}),(0,o.jsx)(a.ResultsAccordionContent,{itemName:"Possible solutions",itemValue:d?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("p",{children:["Click ",(0,o.jsx)("strong",{children:"Add override"})," above to add an exports map entry for this path in your ","app's ",(0,o.jsx)("code",{children:"cloudpack.generated.json"}),"."]}),(0,o.jsxs)("p",{children:["To automatically make updates like this in the future, add the following to your ","app's ",(0,o.jsx)("code",{children:"cloudpack.config.json"}),":",(0,o.jsx)("br",{}),(0,o.jsx)("code",{children:'{ "features": { "autoUpdateEntries": true } }'})]})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("strong",{children:n?"Check the requesting URL above":"Search for this import in your repo"})," to determine whether the problematic import comes from your own code, or a dependency's code.",!n&&" (You can also try opening this page in Firefox and checking the console to see which package's bundle imported the bad path.)",(0,o.jsxs)("ul",{children:[(0,o.jsxs)("li",{children:[(0,o.jsx)("strong",{children:"If from your repo:"})," ",m?"Remove the trailing slash from the import path.":c?(0,o.jsxs)(o.Fragment,{children:["Import from the package root or a valid sub-path. (If you think the path is valid, verify that the correct version of ",p," is listed as a dependency.)"]}):"Make sure the package name is correct and listed as a dependency of the importing package."]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("strong",{children:"If from a dependency:"}),m?"Ask the owners to remove the trailing slash, or create a temporary patch in your repo.":(0,o.jsxs)("ul",{children:[(0,o.jsxs)("li",{children:["Verify that your local installation is up to date (run ",(0,o.jsx)("code",{children:"yarn"})," or your repo's package manager)."]}),(0,o.jsxs)("li",{children:["Verify whether ",p," is listed in the importing package's dependencies. If not, ask the owners to add it (or temporarily add the dependency in one of your own packages and run ",(0,o.jsx)("code",{children:"cloudpack init"}),")."]}),(0,o.jsxs)("li",{children:["If the dependency is listed, check whether any ",(0,o.jsx)("code",{children:"resolutions"})," exist for"," ",p," which might be forcing it to an incompatible version. If so, talk to your eng sys team about removing or scoping the resolution."]}),(0,o.jsxs)("li",{children:["If ",p," is in ",(0,o.jsx)("code",{children:"peerDependencies"})," of the importing package, the peer may be incorrectly satisfied in your dependency tree. Talk to your eng sys team for help."]})]})]})]})]})})]})})};var c=t(920),l=t(475),h=t(116);const p=({unsupported:e})=>{const r=(0,i.useCloudpack)();return(0,o.jsx)(l.Dialog,{title:"Cloudpack: Unsupported paths found in project",id:h.elementIds.errorDialogRoot,style:"error",commands:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.Button,{variant:"primary",iconName:"refresh",onClick:()=>{r.restartAllTasks.mutate()},children:"Retry bundling"}),(0,o.jsx)(s.Button,{onClick:()=>{r.openConfigEditor.mutate()},children:"Edit Cloudpack config"})]}),children:(0,o.jsx)("div",{class:c.default.root,children:e.map(((e,r)=>(0,n.createElement)(d,{...e,index:r,key:r})))})})},m=p}};
2
2
  //# sourceMappingURL=240.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"240.chunk.js","mappings":"kNAaO,MAAMA,EAA8FC,IACzG,MAAM,YAAEC,EAAW,WAAEC,EAAU,UAAEC,EAAS,QAAEC,EAAO,eAAEC,GAAmBL,EAClEM,GAAYC,EAAAA,EAAAA,gBACZC,GACJ,UAACC,OAAAA,C,UACER,EACe,MAAfC,EAAqB,GAAK,IAAIA,EAAWQ,QAAQ,QAAS,SAGzDC,GAAgB,SAACF,OAAAA,C,SAAMR,IACvBW,EAAkBV,EAAWW,SAAS,KA4G5C,OACE,SAACC,EAAAA,iBAAgBA,CACfC,KAAMP,EACNQ,MAAOhB,EAAMgB,MACbC,OAAO,QACPC,eAAgBd,IAAW,SAACe,EAAAA,OAAMA,CAACC,QA/GnB,KACbd,EAAUe,mBAAmBC,OAAO,CAAErB,cAAaC,aAAYC,YAAWoB,YAAa,QAAS,E,SA8G1C,iBACzDC,WA5Ge,KAEf,sB,WACE,SAACC,EAAAA,wBAAuBA,CACtBC,SAAS,UACTC,WACE,sB,UACGtB,GACC,sB,UACGG,EAAa,uBAAmB,SAACC,OAAAA,C,SAAMP,IAAkB,qBAAmBS,EAAc,iBAC/EP,EAAU,GAAK,wCAAwC,QAGrE,sB,UAAE,2BAAyBO,EAAc,oBAE1CR,IACC,sB,WACE,SAACyB,KAAAA,CAAAA,GAAK,oCAC4B,KAClC,SAACC,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,QAVtC,KAAWd,EAAU0C,gBAAgB1B,QAAQ,E,SAUU,oBAG9D,SAACH,EAAAA,OAAMA,CAACC,QAZG,KAAWd,EAAU2C,iBAAiB3B,QAAQ,E,SAY5B,6B,UAIjC,SAAC4B,MAAAA,CAAIC,MAAOC,EAAAA,QAAOC,K,SAChBf,EAAYgB,KAAI,CAACC,EAAMvC,KACtB,mBAACjB,EAASA,IAAKwD,EAAMvC,MAAOA,EAAOwC,IAAKxC,S,EAOlD,G","sources":["webpack://@ms-cloudpack/overlay/./src/components/ErrorDialog/PathError.tsx","webpack://@ms-cloudpack/overlay/./src/components/ErrorDialog/ErrorDialog.tsx"],"sourcesContent":["import type { FunctionComponent } from 'preact';\nimport type { UnsupportedErrorEvent } from './useErrorEvents.js';\nimport { Button } from '../Button/Button.js';\nimport { useCloudpack } from '../CloudpackProvider/CloudpackProvider.js';\nimport {\n ResultsAccordion,\n ResultsAccordionContent,\n type ResultsAccordionProps,\n} from '../ResultsAccordion/ResultsAccordion.js';\n\n/**\n * Item (collapsible section) in the list of path errors in the ErrorDialog.\n */\nexport const PathError: FunctionComponent<UnsupportedErrorEvent & Pick<ResultsAccordionProps, 'index'>> = (props) => {\n const { packageName, importPath, issuerUrl, fixable, isValidPackage } = props;\n const cloudpack = useCloudpack();\n const prettyImport = (\n <code>\n {packageName}\n {importPath === '.' ? '' : `/${importPath.replace(/^\\.\\//, '')}`}\n </code>\n );\n const prettyPackage = <code>{packageName}</code>;\n const isTrailingSlash = importPath.endsWith('/');\n\n const addOverride = () => {\n void cloudpack.addPackageOverride.mutate({ packageName, importPath, issuerUrl, initiatedBy: 'user' });\n };\n\n const getContent = () => {\n return (\n <>\n <ResultsAccordionContent\n itemName=\"Problem\"\n itemValue={\n <>\n {isValidPackage ? (\n <>\n {prettyImport} was imported, but <code>{importPath}</code> is not listed in {prettyPackage}&apos;s\n exports map{fixable ? '' : ' and does not appear to exist on disk'}.\n </>\n ) : (\n <>An unrecognized package {prettyPackage} was imported.</>\n )}\n {issuerUrl && (\n <>\n <br />\n The bad import request came from:{' '}\n <a href={issuerUrl} target=\"_blank\" rel=\"noopener noreferrer\">\n {issuerUrl}\n </a>\n </>\n )}\n </>\n }\n />\n <ResultsAccordionContent\n itemName=\"Possible solutions\"\n itemValue={\n fixable ? (\n <>\n <p>\n Click <strong>Add override</strong> above to add an exports map entry for this path in your {\"app's \"}\n <code>cloudpack.generated.json</code>.\n </p>\n <p>\n To automatically make updates like this in the future, add the following to your {\"app's \"}\n <code>cloudpack.config.json</code>:\n <br />\n <code>{'{ \"features\": { \"autoUpdateEntries\": true } }'}</code>\n </p>\n </>\n ) : (\n <>\n <strong>{issuerUrl ? 'Check the requesting URL above' : 'Search for this import in your repo'}</strong>\n {` to determine whether the problematic import comes from your own code, or a dependency's code.`}\n {!issuerUrl &&\n \" (You can also try opening this page in Firefox and checking the console to see which package's bundle imported the bad path.)\"}\n <ul>\n <li>\n <strong>If from your repo:</strong>{' '}\n {isTrailingSlash ? (\n 'Remove the trailing slash from the import path.'\n ) : isValidPackage ? (\n <>\n Import from the package root or a valid sub-path. (If you think the path is valid, verify that\n the correct version of {prettyPackage} is listed as a dependency.)\n </>\n ) : (\n 'Make sure the package name is correct and listed as a dependency of the importing package.'\n )}\n </li>\n <li>\n <strong>If from a dependency:</strong>\n {isTrailingSlash ? (\n 'Ask the owners to remove the trailing slash, or create a temporary patch in your repo.'\n ) : (\n <ul>\n <li>\n Verify that your local installation is up to date (run <code>yarn</code> or your repo&apos;s\n package manager).\n </li>\n {/* If isValidPackage is false, obviously a dependency is missing. But also show this message\n if the package is found in the repo, because there could be an implicit dependency resulting in\n the wrong version being picked up. */}\n <li>\n Verify whether {prettyPackage} is listed in the importing package&apos;s dependencies. If not,\n ask the owners to add it (or temporarily add the dependency in one of your own packages and\n run <code>cloudpack init</code>).\n </li>\n <li>\n If the dependency is listed, check whether any <code>resolutions</code> exist for{' '}\n {prettyPackage} which might be forcing it to an incompatible version. If so, talk to your eng\n sys team about removing or scoping the resolution.\n </li>\n <li>\n If {prettyPackage} is in <code>peerDependencies</code> of the importing package, the peer may\n be incorrectly satisfied in your dependency tree. Talk to your eng sys team for help.\n </li>\n </ul>\n )}\n </li>\n </ul>\n </>\n )\n }\n />\n </>\n );\n };\n\n return (\n <ResultsAccordion\n name={prettyImport}\n index={props.index}\n result=\"error\"\n headerCommands={fixable && <Button onClick={addOverride}>Add override</Button>}\n getContent={getContent}\n />\n );\n};\n","import type { FunctionComponent } from 'preact';\nimport { Button } from '../Button/Button.js';\nimport { useCloudpack } from '../CloudpackProvider/CloudpackProvider.js';\nimport { PathError } from './PathError.js';\nimport styles from '../StatusDialog/TaskList.module.css';\nimport type { UnsupportedErrorEvent } from './useErrorEvents.js';\nimport { Dialog } from '../Dialog/Dialog.js';\nimport { elementIds } from '../../constants.js';\n\nexport interface ErrorDialogProps {\n unsupported: UnsupportedErrorEvent[];\n}\n\nexport const ErrorDialog: FunctionComponent<ErrorDialogProps> = ({ unsupported }) => {\n const cloudpack = useCloudpack();\n\n const reload = () => void cloudpack.restartAllTasks.mutate();\n const editConfig = () => void cloudpack.openConfigEditor.mutate();\n\n return (\n <Dialog\n title=\"Cloudpack: Unsupported paths found in project\"\n id={elementIds.errorDialogRoot}\n style=\"error\"\n commands={\n <>\n <Button variant=\"primary\" iconName=\"refresh\" onClick={reload}>\n Retry bundling\n </Button>\n <Button onClick={editConfig}>Edit Cloudpack config</Button>\n </>\n }\n >\n <div class={styles.root}>\n {unsupported.map((data, index) => (\n <PathError {...data} index={index} key={index} />\n ))}\n </div>\n </Dialog>\n );\n};\n\nexport default ErrorDialog;\n"],"names":["PathError","props","packageName","importPath","issuerUrl","fixable","isValidPackage","cloudpack","useCloudpack","prettyImport","code","replace","prettyPackage","isTrailingSlash","endsWith","ResultsAccordion","name","index","result","headerCommands","Button","onClick","addPackageOverride","mutate","initiatedBy","getContent","ResultsAccordionContent","itemName","itemValue","br","a","href","target","rel","p","strong","ul","li","ErrorDialog","unsupported","Dialog","title","id","elementIds","errorDialogRoot","style","commands","variant","iconName","restartAllTasks","openConfigEditor","div","class","styles","root","map","data","key"],"sourceRoot":""}
1
+ {"version":3,"file":"240.chunk.js","mappings":"iNAaO,MAAMA,EAA8FC,IACzG,MAAM,YAAEC,EAAW,WAAEC,EAAU,UAAEC,EAAS,QAAEC,EAAO,eAAEC,GAAmBL,EAClEM,GAAYC,EAAAA,EAAAA,gBACZC,GACJ,UAACC,OAAAA,C,UACER,EACe,MAAfC,EAAqB,GAAK,IAAIA,EAAWQ,QAAQ,QAAS,SAGzDC,GAAgB,SAACF,OAAAA,C,SAAMR,IACvBW,EAAkBV,EAAWW,SAAS,KA4G5C,OACE,SAACC,EAAAA,iBAAgBA,CACfC,KAAMP,EACNQ,MAAOhB,EAAMgB,MACbC,OAAO,QACPC,eAAgBd,IAAW,SAACe,EAAAA,OAAMA,CAACC,QA/GnB,KACbd,EAAUe,mBAAmBC,OAAO,CAAErB,cAAaC,aAAYC,YAAWoB,YAAa,QAAS,E,SA8G1C,iBACzDC,WA5Ge,KAEf,sB,WACE,SAACC,EAAAA,wBAAuBA,CACtBC,SAAS,UACTC,WACE,sB,UACGtB,GACC,sB,UACGG,EAAa,uBAAmB,SAACC,OAAAA,C,SAAMP,IAAkB,qBAAmBS,EAAc,iBAC/EP,EAAU,GAAK,wCAAwC,QAGrE,sB,UAAE,2BAAyBO,EAAc,oBAE1CR,IACC,sB,WACE,SAACyB,KAAAA,CAAAA,GAAK,oCAC4B,KAClC,SAACC,IAAAA,CAAEC,KAAM3B,EAAW4B,OAAO,SAASC,IAAI,sB,SACrC7B,aAOb,SAACsB,EAAAA,wBAAuBA,CACtBC,SAAS,qBACTC,UACEvB,GACE,sB,WACE,UAAC6B,IAAAA,C,UAAE,UACK,SAACC,SAAAA,C,SAAO,iBAAqB,4DAA0D,UAC7F,SAACzB,OAAAA,C,SAAK,6BAA+B,QAEvC,UAACwB,IAAAA,C,UAAE,oFACiF,UAClF,SAACxB,OAAAA,C,SAAK,0BA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pack://@ms-cloudpack/overlay/./src/components/ErrorDialog/PathError.tsx","webpack://@ms-cloudpack/overlay/./src/components/ErrorDialog/ErrorDialog.tsx"],"sourcesContent":["import type { FunctionComponent } from 'preact';\nimport type { UnsupportedErrorEvent } from './useErrorEvents.js';\nimport { Button } from '../Button/Button.js';\nimport { useCloudpack } from '../CloudpackProvider/CloudpackProvider.js';\nimport {\n ResultsAccordion,\n ResultsAccordionContent,\n type ResultsAccordionProps,\n} from '../ResultsAccordion/ResultsAccordion.js';\n\n/**\n * Item (collapsible section) in the list of path errors in the ErrorDialog.\n */\nexport const PathError: FunctionComponent<UnsupportedErrorEvent & Pick<ResultsAccordionProps, 'index'>> = (props) => {\n const { packageName, importPath, issuerUrl, fixable, isValidPackage } = props;\n const cloudpack = useCloudpack();\n const prettyImport = (\n <code>\n {packageName}\n {importPath === '.' ? '' : `/${importPath.replace(/^\\.\\//, '')}`}\n </code>\n );\n const prettyPackage = <code>{packageName}</code>;\n const isTrailingSlash = importPath.endsWith('/');\n\n const addOverride = () => {\n void cloudpack.addPackageOverride.mutate({ packageName, importPath, issuerUrl, initiatedBy: 'user' });\n };\n\n const getContent = () => {\n return (\n <>\n <ResultsAccordionContent\n itemName=\"Problem\"\n itemValue={\n <>\n {isValidPackage ? (\n <>\n {prettyImport} was imported, but <code>{importPath}</code> is not listed in {prettyPackage}&apos;s\n exports map{fixable ? '' : ' and does not appear to exist on disk'}.\n </>\n ) : (\n <>An unrecognized package {prettyPackage} was imported.</>\n )}\n {issuerUrl && (\n <>\n <br />\n The bad import request came from:{' '}\n <a href={issuerUrl} target=\"_blank\" rel=\"noopener noreferrer\">\n {issuerUrl}\n </a>\n </>\n )}\n </>\n }\n />\n <ResultsAccordionContent\n itemName=\"Possible solutions\"\n itemValue={\n fixable ? (\n <>\n <p>\n Click <strong>Add override</strong> above to add an exports map entry for this path in your {\"app's \"}\n <code>cloudpack.generated.json</code>.\n </p>\n <p>\n To automatically make updates like this in the future, add the following to your {\"app's \"}\n <code>cloudpack.config.json</code>:\n <br />\n <code>{'{ \"features\": { \"autoUpdateEntries\": true } }'}</code>\n </p>\n </>\n ) : (\n <>\n <strong>{issuerUrl ? 'Check the requesting URL above' : 'Search for this import in your repo'}</strong>\n {` to determine whether the problematic import comes from your own code, or a dependency's code.`}\n {!issuerUrl &&\n \" (You can also try opening this page in Firefox and checking the console to see which package's bundle imported the bad path.)\"}\n <ul>\n <li>\n <strong>If from your repo:</strong>{' '}\n {isTrailingSlash ? (\n 'Remove the trailing slash from the import path.'\n ) : isValidPackage ? (\n <>\n Import from the package root or a valid sub-path. (If you think the path is valid, verify that\n the correct version of {prettyPackage} is listed as a dependency.)\n </>\n ) : (\n 'Make sure the package name is correct and listed as a dependency of the importing package.'\n )}\n </li>\n <li>\n <strong>If from a dependency:</strong>\n {isTrailingSlash ? (\n 'Ask the owners to remove the trailing slash, or create a temporary patch in your repo.'\n ) : (\n <ul>\n <li>\n Verify that your local installation is up to date (run <code>yarn</code> or your repo&apos;s\n package manager).\n </li>\n {/* If isValidPackage is false, obviously a dependency is missing. But also show this message\n if the package is found in the repo, because there could be an implicit dependency resulting in\n the wrong version being picked up. */}\n <li>\n Verify whether {prettyPackage} is listed in the importing package&apos;s dependencies. If not,\n ask the owners to add it (or temporarily add the dependency in one of your own packages and\n run <code>cloudpack init</code>).\n </li>\n <li>\n If the dependency is listed, check whether any <code>resolutions</code> exist for{' '}\n {prettyPackage} which might be forcing it to an incompatible version. If so, talk to your eng\n sys team about removing or scoping the resolution.\n </li>\n <li>\n If {prettyPackage} is in <code>peerDependencies</code> of the importing package, the peer may\n be incorrectly satisfied in your dependency tree. Talk to your eng sys team for help.\n </li>\n </ul>\n )}\n </li>\n </ul>\n </>\n )\n }\n />\n </>\n );\n };\n\n return (\n <ResultsAccordion\n name={prettyImport}\n index={props.index}\n result=\"error\"\n headerCommands={fixable && <Button onClick={addOverride}>Add override</Button>}\n getContent={getContent}\n />\n );\n};\n","import type { FunctionComponent } from 'preact';\nimport { Button } from '../Button/Button.js';\nimport { useCloudpack } from '../CloudpackProvider/CloudpackProvider.js';\nimport { PathError } from './PathError.js';\nimport styles from '../StatusDialog/TaskList.module.css';\nimport type { UnsupportedErrorEvent } from './useErrorEvents.js';\nimport { Dialog } from '../Dialog/Dialog.js';\nimport { elementIds } from '../../constants.js';\n\nexport interface ErrorDialogProps {\n unsupported: UnsupportedErrorEvent[];\n}\n\nexport const ErrorDialog: FunctionComponent<ErrorDialogProps> = ({ unsupported }) => {\n const cloudpack = useCloudpack();\n\n const reload = () => void cloudpack.restartAllTasks.mutate();\n const editConfig = () => void cloudpack.openConfigEditor.mutate();\n\n return (\n <Dialog\n title=\"Cloudpack: Unsupported paths found in project\"\n id={elementIds.errorDialogRoot}\n style=\"error\"\n commands={\n <>\n <Button variant=\"primary\" iconName=\"refresh\" onClick={reload}>\n Retry bundling\n </Button>\n <Button onClick={editConfig}>Edit Cloudpack config</Button>\n </>\n }\n >\n <div class={styles.root}>\n {unsupported.map((data, index) => (\n <PathError {...data} index={index} key={index} />\n ))}\n </div>\n </Dialog>\n );\n};\n\nexport default ErrorDialog;\n"],"names":["PathError","props","packageName","importPath","issuerUrl","fixable","isValidPackage","cloudpack","useCloudpack","prettyImport","code","replace","prettyPackage","isTrailingSlash","endsWith","ResultsAccordion","name","index","result","headerCommands","Button","onClick","addPackageOverride","mutate","initiatedBy","getContent","ResultsAccordionContent","itemName","itemValue","br","a","href","target","rel","p","strong","ul","li","ErrorDialog","unsupported","Dialog","title","id","elementIds","errorDialogRoot","style","commands","variant","iconName","restartAllTasks","openConfigEditor","div","class","styles","root","map","data","key"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ export const __webpack_id__=598;export const __webpack_ids__=[598];export const __webpack_modules__={64:(n,e,A)=>{A.d(e,{default:()=>o});var t=A(25),a=A.n(t),i=A(191),r=A.n(i)()(a());r.push([n.id,".XGfokeIdlhljyLrJoTUw {\n border: 1px solid var(--cp-borderSubtle);\n border-radius: 3px;\n box-shadow: 0 0 12px -6px rgba(0, 0, 0, 0.25);\n}\n\n.wuGrO61h0mxJCT13pKKi {\n /* offset the margin so this element's border overlaps the root's gray border */\n margin: -1px;\n /* this overlaps the parent border so there can be a hover border for the header only without jumping */\n border: 1px solid var(--cp-borderSubtle);\n border-radius: 3px;\n background: var(--cp-neutralLighter);\n padding: 0;\n display: flex;\n align-items: center;\n line-height: 1;\n}\n.wuGrO61h0mxJCT13pKKi:hover {\n border-color: black;\n}\n.wuGrO61h0mxJCT13pKKi.xUYhCGbIYOflP2MeZWAZ {\n /* change the margin-bottom when expanded so the border still shows up */\n margin-bottom: 0;\n}\n.wuGrO61h0mxJCT13pKKi.tYu_98mP3NNuncdgfx2e {\n background: var(--cp-errorLight);\n}\n.wuGrO61h0mxJCT13pKKi.sn79vVqYMTENjCFDp9o2 {\n background: var(--cp-successLight);\n}\n.wuGrO61h0mxJCT13pKKi.uBvWcRQWreqOQcQx11QC {\n background: var(--cp-warningLight);\n}\n\nh3.kGHJtSdatcFi9k0NuFhK {\n /* Ignore this element for flexbox layout purposes (children act as if they're directly under parent) */\n display: contents;\n margin: 0;\n padding: 0;\n}\n\n/* Unfortunately the button can't use display: contents due to browser bugs that would make it\nnot accessible with the tab key */\nbutton.DPU_BgMDvX9c3bs_hgJf {\n width: 100%;\n margin: 0;\n /* Set padding on the button so it's included in the click target */\n padding: 8px 16px;\n border: none;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n/* The chevron icon is 20x20. We want it to take up a 32x32 area. */\n.jZlxmg1VmtWr__jzMk1T {\n width: 20px;\n height: 20px;\n padding: 6px;\n transition: transform 0.1s ease-in-out;\n}\n\n.jZlxmg1VmtWr__jzMk1T.YFo31CeXA_PU_CMg_zld {\n padding-top: 8px;\n padding-bottom: 4px;\n transform: rotate(-90deg);\n}\n\n.cUZadJUKd9B70qLziRSU {\n /* this makes it right-aligned */\n margin-left: auto;\n font-size: 13px;\n font-weight: 400;\n text-align: end;\n}\n\n._LelyTIepA5pC2N_dHW2 {\n margin-right: 16px;\n display: flex;\n align-items: center;\n gap: 8px;\n justify-content: end;\n}\n\n.ERmJeA26FxA8sETCCLQS {\n font-size: 16px;\n font-weight: 500;\n color: var(--cp-neutralPrimary);\n /* in case it's applied directly to a h* element */\n margin: 0;\n padding: 0;\n}\n\n.QUAuafbYFPvmVwOUOqYN {\n display: none;\n}\n\n.xPBZFnKM72fLspTwq_5u {\n background: var(--cp-neutralLighterAlt);\n /* 24px optically aligns with the icons in the header */\n padding: 16px 24px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n /* Increase line-height so it's easier to read */\n line-height: 1.2em;\n}\n.xPBZFnKM72fLspTwq_5u li {\n margin: 3px 0;\n}\n.xPBZFnKM72fLspTwq_5u p {\n margin: 0;\n}\n.xPBZFnKM72fLspTwq_5u p + p {\n margin-top: 8px;\n}\n\n.MP8Xx_w4X_xqx1QcYVfk {\n font-size: 12px;\n font-weight: 600;\n text-transform: uppercase;\n padding-bottom: 2px;\n}\n\n.bS0g8MYKC82hwEKmB69Q {\n font-size: 14px;\n}\n","",{version:3,sources:["webpack://./src/components/ResultsAccordion/ResultsAccordion.module.css"],names:[],mappings:"AAAA;EACE,wCAAwC;EACxC,kBAAkB;EAClB,6CAA6C;AAC/C;;AAEA;EACE,+EAA+E;EAC/E,YAAY;EACZ,uGAAuG;EACvG,wCAAwC;EACxC,kBAAkB;EAClB,oCAAoC;EACpC,UAAU;EACV,aAAa;EACb,mBAAmB;EACnB,cAAc;AAChB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,wEAAwE;EACxE,gBAAgB;AAClB;AACA;EACE,gCAAgC;AAClC;AACA;EACE,kCAAkC;AACpC;AACA;EACE,kCAAkC;AACpC;;AAEA;EACE,uGAAuG;EACvG,iBAAiB;EACjB,SAAS;EACT,UAAU;AACZ;;AAEA;iCACiC;AACjC;EACE,WAAW;EACX,SAAS;EACT,mEAAmE;EACnE,iBAAiB;EACjB,YAAY;EACZ,aAAa;EACb,mBAAmB;EACnB,QAAQ;AACV;;AAEA,mEAAmE;AACnE;EACE,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,sCAAsC;AACxC;;AAEA;EACE,gBAAgB;EAChB,mBAAmB;EACnB,yBAAyB;AAC3B;;AAEA;EACE,gCAAgC;EAChC,iBAAiB;EACjB,eAAe;EACf,gBAAgB;EAChB,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,oBAAoB;AACtB;;AAEA;EACE,eAAe;EACf,gBAAgB;EAChB,+BAA+B;EAC/B,kDAAkD;EAClD,SAAS;EACT,UAAU;AACZ;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,uCAAuC;EACvC,uDAAuD;EACvD,kBAAkB;EAClB,aAAa;EACb,sBAAsB;EACtB,SAAS;EACT,gDAAgD;EAChD,kBAAkB;AACpB;AACA;EACE,aAAa;AACf;AACA;EACE,SAAS;AACX;AACA;EACE,eAAe;AACjB;;AAEA;EACE,eAAe;EACf,gBAAgB;EAChB,yBAAyB;EACzB,mBAAmB;AACrB;;AAEA;EACE,eAAe;AACjB",sourcesContent:[".root {\n border: 1px solid var(--cp-borderSubtle);\n border-radius: 3px;\n box-shadow: 0 0 12px -6px rgba(0, 0, 0, 0.25);\n}\n\n.header {\n /* offset the margin so this element's border overlaps the root's gray border */\n margin: -1px;\n /* this overlaps the parent border so there can be a hover border for the header only without jumping */\n border: 1px solid var(--cp-borderSubtle);\n border-radius: 3px;\n background: var(--cp-neutralLighter);\n padding: 0;\n display: flex;\n align-items: center;\n line-height: 1;\n}\n.header:hover {\n border-color: black;\n}\n.header.expanded {\n /* change the margin-bottom when expanded so the border still shows up */\n margin-bottom: 0;\n}\n.header.error {\n background: var(--cp-errorLight);\n}\n.header.success {\n background: var(--cp-successLight);\n}\n.header.warning {\n background: var(--cp-warningLight);\n}\n\nh3.headerButtonWrapper {\n /* Ignore this element for flexbox layout purposes (children act as if they're directly under parent) */\n display: contents;\n margin: 0;\n padding: 0;\n}\n\n/* Unfortunately the button can't use display: contents due to browser bugs that would make it\nnot accessible with the tab key */\nbutton.headerButton {\n width: 100%;\n margin: 0;\n /* Set padding on the button so it's included in the click target */\n padding: 8px 16px;\n border: none;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n/* The chevron icon is 20x20. We want it to take up a 32x32 area. */\n.expandIcon {\n width: 20px;\n height: 20px;\n padding: 6px;\n transition: transform 0.1s ease-in-out;\n}\n\n.expandIcon.collapsed {\n padding-top: 8px;\n padding-bottom: 4px;\n transform: rotate(-90deg);\n}\n\n.headerEnd {\n /* this makes it right-aligned */\n margin-left: auto;\n font-size: 13px;\n font-weight: 400;\n text-align: end;\n}\n\n.headerCommands {\n margin-right: 16px;\n display: flex;\n align-items: center;\n gap: 8px;\n justify-content: end;\n}\n\n.title {\n font-size: 16px;\n font-weight: 500;\n color: var(--cp-neutralPrimary);\n /* in case it's applied directly to a h* element */\n margin: 0;\n padding: 0;\n}\n\n.contentHidden {\n display: none;\n}\n\n.content {\n background: var(--cp-neutralLighterAlt);\n /* 24px optically aligns with the icons in the header */\n padding: 16px 24px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n /* Increase line-height so it's easier to read */\n line-height: 1.2em;\n}\n.content li {\n margin: 3px 0;\n}\n.content p {\n margin: 0;\n}\n.content p + p {\n margin-top: 8px;\n}\n\n.itemName {\n font-size: 12px;\n font-weight: 600;\n text-transform: uppercase;\n padding-bottom: 2px;\n}\n\n.itemValue {\n font-size: 14px;\n}\n"],sourceRoot:""}]),r.locals={root:"XGfokeIdlhljyLrJoTUw",header:"wuGrO61h0mxJCT13pKKi",expanded:"xUYhCGbIYOflP2MeZWAZ",error:"tYu_98mP3NNuncdgfx2e",success:"sn79vVqYMTENjCFDp9o2",warning:"uBvWcRQWreqOQcQx11QC",headerButtonWrapper:"kGHJtSdatcFi9k0NuFhK",headerButton:"DPU_BgMDvX9c3bs_hgJf",expandIcon:"jZlxmg1VmtWr__jzMk1T",collapsed:"YFo31CeXA_PU_CMg_zld",headerEnd:"cUZadJUKd9B70qLziRSU",headerCommands:"_LelyTIepA5pC2N_dHW2",title:"ERmJeA26FxA8sETCCLQS",contentHidden:"QUAuafbYFPvmVwOUOqYN",content:"xPBZFnKM72fLspTwq_5u",itemName:"MP8Xx_w4X_xqx1QcYVfk",itemValue:"bS0g8MYKC82hwEKmB69Q"};const o=r},475:(n,e,A)=>{A.d(e,{Dialog:()=>j});var t=A(48),a=A(104),i=A.n(a),r=A(645),o=A(606),s=A.n(o),d=A(607),g=A.n(d),l=A(437),c=A.n(l),C=A(750),p=A.n(C),x=A(994),M=A.n(x),E=A(415),u=A.n(E),h=A(564),m={};m.styleTagTransform=u(),m.setAttributes=p(),m.insert=c().bind(null,"head"),m.domAPI=g(),m.insertStyleElement=M(),s()(h.default,m);const D=h.default&&h.default.locals?h.default.locals:void 0;var N=A(658),I=A(91);const j=n=>{const{title:e,id:A,style:a,draggable:o,onClose:s,commands:d,children:g}=n,l=(0,r.useRef)(null),c=(0,r.useRef)(null);return(0,N.useDraggable)({enabled:!!o,containerElementRef:l,dragElementRef:c}),(0,t.jsx)("div",{id:A,class:D.overlay,children:(0,t.jsxs)("div",{ref:l,class:i()(D.dialog,"error"===a&&D.error),children:[(0,t.jsxs)("div",{class:D.titleArea,children:[(0,t.jsx)("h2",{ref:c,class:i()(D.title,o&&D.draggable),children:e}),s&&(0,t.jsx)(I.Button,{variant:"iconOnly",iconName:"close",onClick:s,"aria-label":"Close"})]}),d&&(0,t.jsx)("div",{class:D.commands,children:d}),g]})})}},527:(n,e,A)=>{A.d(e,{default:()=>o});var t=A(25),a=A.n(t),i=A(191),r=A.n(i)()(a());r.push([n.id,"/* NOTE: This is also used by ErrorDialog */\n.sQBBRBwDngEVzWzI6zAo {\n flex-grow: 1;\n overflow: auto;\n border-top: 1px solid var(--cp-border);\n box-sizing: border-box;\n padding: 16px 20px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n","",{version:3,sources:["webpack://./src/components/StatusDialog/TaskList.module.css"],names:[],mappings:"AAAA,2CAA2C;AAC3C;EACE,YAAY;EACZ,cAAc;EACd,sCAAsC;EACtC,sBAAsB;EACtB,kBAAkB;EAClB,aAAa;EACb,sBAAsB;EACtB,QAAQ;AACV",sourcesContent:["/* NOTE: This is also used by ErrorDialog */\n.root {\n flex-grow: 1;\n overflow: auto;\n border-top: 1px solid var(--cp-border);\n box-sizing: border-box;\n padding: 16px 20px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n"],sourceRoot:""}]),r.locals={root:"sQBBRBwDngEVzWzI6zAo"};const o=r},545:(n,e,A)=>{A.d(e,{ResultsAccordion:()=>j,ResultsAccordionContent:()=>b});var t=A(48),a=A(645),i=A(104),r=A.n(i),o=A(606),s=A.n(o),d=A(607),g=A.n(d),l=A(437),c=A.n(l),C=A(750),p=A.n(C),x=A(994),M=A.n(x),E=A(415),u=A.n(E),h=A(64),m={};m.styleTagTransform=u(),m.setAttributes=p(),m.insert=c().bind(null,"head"),m.domAPI=g(),m.insertStyleElement=M(),s()(h.default,m);const D=h.default&&h.default.locals?h.default.locals:void 0;var N=A(91);const I={error:(0,t.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDJDMTcuNTIyOCAyIDIyIDYuNDc3MTUgMjIgMTJDMjIgMTcuNTIyOCAxNy41MjI4IDIyIDEyIDIyQzYuNDc3MTUgMjIgMiAxNy41MjI4IDIgMTJDMiA2LjQ3NzE1IDYuNDc3MTUgMiAxMiAyWk0xNS41MzAzIDguNDY5NjdMMTUuNDQ2MiA4LjM5NzA1QzE1LjE4NTIgOC4yMDM0IDE0LjgyNyA4LjIwMTAxIDE0LjU2MzYgOC4zODk4OEwxNC40Njk3IDguNDY5NjdMMTIgM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MTYuNTczMiA5LjI2MjU2IDE2LjI4MDMgOC45Njk2N0MxNS45ODc0IDguNjc2NzggMTUuNTEyNiA4LjY3Njc4IDE1LjIxOTcgOC45Njk2N1oiIGZpbGw9IiMwMGFhMDAiLz4KPC9zdmc+Cg==",alt:"Success"})},j=n=>{const{name:e,result:A,headerEndContent:i,headerCommands:o,getContent:s,index:d}=n,[g,l]=(0,a.useState)(void 0),c=!0===g||void 0===g&&"error"===A,C=`results-accordion-button-${d}`,p=`results-accordion-content-${d}`;return(0,t.jsxs)("div",{class:D.root,children:[(0,t.jsxs)("div",{class:r()(D.header,D[A],c&&D.expanded),children:[(0,t.jsx)("h3",{class:D.headerButtonWrapper,children:(0,t.jsxs)(N.Button,{id:C,class:D.headerButton,variant:"custom","aria-expanded":c,"aria-controls":p,onClick:()=>l(!c),children:[(0,t.jsx)("img",{class:r()(D.expandIcon,!c&&D.collapsed),src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1Ljc5NCA3LjczMjcxQzE2LjA3OTcgOC4wMzI2MyAxNi4wNjgxIDguNTA3MzcgMTUuNzY4MiA4Ljc5MzA2TDEwLjUxNzggMTMuNzk0NEMxMC4yMjgxIDE0LjA3MDMgOS43NzI4NSAxNC4wNzAzIDkuNDgzMTggMTMuNzk0NEw0LjIzMjcxIDguNzkzMDZDMy45MzI3OSA4LjUwNzM3IDMuOTIxMjUgOC4wMzI2MyA0LjIwNjk0IDcuNzMyNzFDNC40OTI2NCA3LjQzMjc5IDQuOTY3MzcgNy40MjEyNSA1LjI2NzI5IDcuNzA2OTRMMTAuMDAwNSAxMi4yMTU1TDE0LjczMzYgNy43MDY5NEMxNS4wMzM2IDcuNDIxMjUgMTUuNTA4MyA3LjQzMjc5IDE1Ljc5NCA3LjczMjcxWiIgZmlsbD0iIzIxMjEyMSIvPgo8L3N2Zz4K",alt:""}),I[A],(0,t.jsx)("div",{class:D.title,children:e}),i&&(0,t.jsx)("div",{class:D.headerEnd,children:i})]})}),o&&(0,t.jsx)("div",{class:D.headerCommands,children:o})]}),(0,t.jsx)("div",{id:p,class:c?D.content:D.contentHidden,children:c&&s()})]})},b=n=>{const{title:e,itemName:A,itemValue:a,children:i}=n;return i||a&&A?(0,t.jsxs)(t.Fragment,{children:[e&&(0,t.jsx)("h4",{class:D.title,children:e}),A&&a?(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{class:D.itemName,children:A}),(0,t.jsx)("div",{class:D.itemValue,children:a})]}):null,i]}):null}},564:(n,e,A)=>{A.d(e,{default:()=>o});var t=A(25),a=A.n(t),i=A(191),r=A.n(i)()(a());r.push([n.id,".nFL23Zz8oxyuq_mozmYD {\n background: rgba(0, 0, 0, 0.1);\n border: none;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: var(--cp-zIndexDialog);\n}\n\n@keyframes RgoXtDCvXp_zLUEhFX0G {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.VZxKM817eSqGY6etKAYx {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-shrink: 0;\n padding: 0 20px 8px;\n}\n\n.ZWJzr7wpZVh1FbHdy6Q2 {\n /* used for the top border and title color */\n --cp-dialogAccent: var(--cp-themePrimary);\n animation: RgoXtDCvXp_zLUEhFX0G 0.1s ease-in-out;\n width: 80vw;\n align-self: stretch;\n margin: 20px 0;\n background: white;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n gap: 8px;\n border-top: 4px solid var(--cp-dialogAccent);\n border-radius: 3px;\n box-shadow:\n rgb(0 0 0 / 22%) 0px 25.6px 57.6px 0px,\n rgb(0 0 0 / 18%) 0px 4.8px 14.4px 0px;\n position: relative;\n outline: transparent solid 3px;\n}\n.ZWJzr7wpZVh1FbHdy6Q2.sqI0jdiToNIQgfQ6E95R {\n --cp-dialogAccent: var(--cp-errorDark);\n}\n\n.J68SmatPFr3O_E5JYUtt {\n cursor: move;\n}\n\n.Bq9plXsgb2IJ0KMqM0yK {\n display: flex;\n align-items: center;\n padding: 12px 12px 2px 20px;\n}\n\n.LTsU7kHigVvD2yo102t7 {\n margin: 0;\n padding: 0;\n flex-grow: 1;\n font-size: 24px;\n font-weight: 600;\n color: var(--cp-dialogAccent);\n}\n","",{version:3,sources:["webpack://./src/components/Dialog/Dialog.module.css"],names:[],mappings:"AAAA;EACE,8BAA8B;EAC9B,YAAY;EACZ,eAAe;EACf,MAAM;EACN,OAAO;EACP,QAAQ;EACR,SAAS;EACT,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,+BAA+B;AACjC;;AAEA;EACE;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;AACF;;AAEA;EACE,aAAa;EACb,QAAQ;EACR,mBAAmB;EACnB,cAAc;EACd,mBAAmB;AACrB;;AAEA;EACE,4CAA4C;EAC5C,yCAAyC;EACzC,gDAAmC;EACnC,WAAW;EACX,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,sBAAsB;EACtB,aAAa;EACb,sBAAsB;EACtB,QAAQ;EACR,4CAA4C;EAC5C,kBAAkB;EAClB;;yCAEuC;EACvC,kBAAkB;EAClB,8BAA8B;AAChC;AACA;EACE,sCAAsC;AACxC;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,2BAA2B;AAC7B;;AAEA;EACE,SAAS;EACT,UAAU;EACV,YAAY;EACZ,eAAe;EACf,gBAAgB;EAChB,6BAA6B;AAC/B",sourcesContent:[".overlay {\n background: rgba(0, 0, 0, 0.1);\n border: none;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: var(--cp-zIndexDialog);\n}\n\n@keyframes fade-in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.commands {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-shrink: 0;\n padding: 0 20px 8px;\n}\n\n.dialog {\n /* used for the top border and title color */\n --cp-dialogAccent: var(--cp-themePrimary);\n animation: fade-in 0.1s ease-in-out;\n width: 80vw;\n align-self: stretch;\n margin: 20px 0;\n background: white;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n gap: 8px;\n border-top: 4px solid var(--cp-dialogAccent);\n border-radius: 3px;\n box-shadow:\n rgb(0 0 0 / 22%) 0px 25.6px 57.6px 0px,\n rgb(0 0 0 / 18%) 0px 4.8px 14.4px 0px;\n position: relative;\n outline: transparent solid 3px;\n}\n.dialog.error {\n --cp-dialogAccent: var(--cp-errorDark);\n}\n\n.draggable {\n cursor: move;\n}\n\n.titleArea {\n display: flex;\n align-items: center;\n padding: 12px 12px 2px 20px;\n}\n\n.title {\n margin: 0;\n padding: 0;\n flex-grow: 1;\n font-size: 24px;\n font-weight: 600;\n color: var(--cp-dialogAccent);\n}\n"],sourceRoot:""}]),r.locals={overlay:"nFL23Zz8oxyuq_mozmYD",commands:"VZxKM817eSqGY6etKAYx",dialog:"ZWJzr7wpZVh1FbHdy6Q2","fade-in":"RgoXtDCvXp_zLUEhFX0G",error:"sqI0jdiToNIQgfQ6E95R",draggable:"J68SmatPFr3O_E5JYUtt",titleArea:"Bq9plXsgb2IJ0KMqM0yK",title:"LTsU7kHigVvD2yo102t7"};const o=r},920:(n,e,A)=>{A.d(e,{default:()=>E});var t=A(606),a=A.n(t),i=A(607),r=A.n(i),o=A(437),s=A.n(o),d=A(750),g=A.n(d),l=A(994),c=A.n(l),C=A(415),p=A.n(C),x=A(527),M={};M.styleTagTransform=p(),M.setAttributes=g(),M.insert=s().bind(null,"head"),M.domAPI=r(),M.insertStyleElement=c(),a()(x.default,M);const E=x.default&&x.default.locals?x.default.locals:void 0}};
2
+ //# sourceMappingURL=598.chunk.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UAAa,uBACb,UAAa,uBACb,MAAS,wBAEV,S,gKC/EIC,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IACxBF,EAAQG,OAAS,SAAc,KAAM,QACrCH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,UAASL,GAKnB,QAAe,WAAW,UAAQD,OAAS,UAAQA,YAASO,C","sources":["webpack://@ms-cloudpack/overlay/./src/components/ResultsAccordion/ResultsAccordion.module.css","webpack://@ms-cloudpack/overlay/./src/components/Dialog/Dialog.module.css?48ff","webpack://@ms-cloudpack/overlay/./src/components/Dialog/Dialog.tsx","webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/TaskList.module.css","webpack://@ms-cloudpack/overlay/./src/components/ResultsAccordion/ResultsAccordion.module.css?cb7f","webpack://@ms-cloudpack/overlay/./src/components/ResultsAccordion/ResultsAccordion.tsx","webpack://@ms-cloudpack/overlay/./src/components/Dialog/Dialog.module.css","webpack://@ms-cloudpack/overlay/./src/components/StatusDialog/TaskList.module.css?76fc"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.XGfokeIdlhljyLrJoTUw {\n border: 1px solid var(--cp-borderSubtle);\n border-radius: 3px;\n box-shadow: 0 0 12px -6px rgba(0, 0, 0, 0.25);\n}\n\n.wuGrO61h0mxJCT13pKKi {\n /* offset the margin so this element's border overlaps the root's gray border */\n margin: -1px;\n /* this overlaps the parent border so there can be a hover border for the header only without jumping */\n border: 1px solid var(--cp-borderSubtle);\n border-radius: 3px;\n background: var(--cp-neutralLighter);\n padding: 0;\n display: flex;\n align-items: center;\n line-height: 1;\n}\n.wuGrO61h0mxJCT13pKKi:hover {\n border-color: black;\n}\n.wuGrO61h0mxJCT13pKKi.xUYhCGbIYOflP2MeZWAZ {\n /* change the margin-bottom when expanded so the border still shows up */\n margin-bottom: 0;\n}\n.wuGrO61h0mxJCT13pKKi.tYu_98mP3NNuncdgfx2e {\n background: var(--cp-errorLight);\n}\n.wuGrO61h0mxJCT13pKKi.sn79vVqYMTENjCFDp9o2 {\n background: var(--cp-successLight);\n}\n.wuGrO61h0mxJCT13pKKi.uBvWcRQWreqOQcQx11QC {\n background: var(--cp-warningLight);\n}\n\nh3.kGHJtSdatcFi9k0NuFhK {\n /* Ignore this element for flexbox layout purposes (children act as if they're directly under parent) */\n display: contents;\n margin: 0;\n padding: 0;\n}\n\n/* Unfortunately the button can't use display: contents due to browser bugs that would make it\nnot accessible with the tab key */\nbutton.DPU_BgMDvX9c3bs_hgJf {\n width: 100%;\n margin: 0;\n /* Set padding on the button so it's included in the click target */\n padding: 8px 16px;\n border: none;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n/* The chevron icon is 20x20. We want it to take up a 32x32 area. */\n.jZlxmg1VmtWr__jzMk1T {\n width: 20px;\n height: 20px;\n padding: 6px;\n transition: transform 0.1s ease-in-out;\n}\n\n.jZlxmg1VmtWr__jzMk1T.YFo31CeXA_PU_CMg_zld {\n padding-top: 8px;\n padding-bottom: 4px;\n transform: rotate(-90deg);\n}\n\n.cUZadJUKd9B70qLziRSU {\n /* this makes it right-aligned */\n margin-left: auto;\n font-size: 13px;\n font-weight: 400;\n text-align: end;\n}\n\n._LelyTIepA5pC2N_dHW2 {\n margin-right: 16px;\n display: flex;\n align-items: center;\n gap: 8px;\n justify-content: end;\n}\n\n.ERmJeA26FxA8sETCCLQS {\n font-size: 16px;\n font-weight: 500;\n color: var(--cp-neutralPrimary);\n /* in case it's applied directly to a h* element */\n margin: 0;\n padding: 0;\n}\n\n.QUAuafbYFPvmVwOUOqYN {\n display: none;\n}\n\n.xPBZFnKM72fLspTwq_5u {\n background: var(--cp-neutralLighterAlt);\n /* 24px optically aligns with the icons in the header */\n padding: 16px 24px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n /* Increase line-height so it's easier to read */\n line-height: 1.2em;\n}\n.xPBZFnKM72fLspTwq_5u li {\n margin: 3px 0;\n}\n.xPBZFnKM72fLspTwq_5u p {\n margin: 0;\n}\n.xPBZFnKM72fLspTwq_5u p + p {\n margin-top: 8px;\n}\n\n.MP8Xx_w4X_xqx1QcYVfk {\n font-size: 12px;\n font-weight: 600;\n text-transform: uppercase;\n padding-bottom: 2px;\n}\n\n.bS0g8MYKC82hwEKmB69Q {\n font-size: 14px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/ResultsAccordion/ResultsAccordion.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,wCAAwC;EACxC,kBAAkB;EAClB,6CAA6C;AAC/C;;AAEA;EACE,+EAA+E;EAC/E,YAAY;EACZ,uGAAuG;EACvG,wCAAwC;EACxC,kBAAkB;EAClB,oCAAoC;EACpC,UAAU;EACV,aAAa;EACb,mBAAmB;EACnB,cAAc;AAChB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,wEAAwE;EACxE,gBAAgB;AAClB;AACA;EACE,gCAAgC;AAClC;AACA;EACE,kCAAkC;AACpC;AACA;EACE,kCAAkC;AACpC;;AAEA;EACE,uGAAuG;EACvG,iBAAiB;EACjB,SAAS;EACT,UAAU;AACZ;;AAEA;iCACiC;AACjC;EACE,WAAW;EACX,SAAS;EACT,mEAAmE;EACnE,iBAAiB;EACjB,YAAY;EACZ,aAAa;EACb,mBAAmB;EACnB,QAAQ;AACV;;AAEA,mEAAmE;AACnE;EACE,WAAW;EACX,YAAY;EACZ,YAAY;EACZ,sCAAsC;AACxC;;AAEA;EACE,gBAAgB;EAChB,mBAAmB;EACnB,yBAAyB;AAC3B;;AAEA;EACE,gCAAgC;EAChC,iBAAiB;EACjB,eAAe;EACf,gBAAgB;EAChB,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,oBAAoB;AACtB;;AAEA;EACE,eAAe;EACf,gBAAgB;EAChB,+BAA+B;EAC/B,kDAAkD;EAClD,SAAS;EACT,UAAU;AACZ;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,uCAAuC;EACvC,uDAAuD;EACvD,kBAAkB;EAClB,aAAa;EACb,sBAAsB;EACtB,SAAS;EACT,gDAAgD;EAChD,kBAAkB;AACpB;AACA;EACE,aAAa;AACf;AACA;EACE,SAAS;AACX;AACA;EACE,eAAe;AACjB;;AAEA;EACE,eAAe;EACf,gBAAgB;EAChB,yBAAyB;EACzB,mBAAmB;AACrB;;AAEA;EACE,eAAe;AACjB\",\"sourcesContent\":[\".root {\\n border: 1px solid var(--cp-borderSubtle);\\n border-radius: 3px;\\n box-shadow: 0 0 12px -6px rgba(0, 0, 0, 0.25);\\n}\\n\\n.header {\\n /* offset the margin so this element's border overlaps the root's gray border */\\n margin: -1px;\\n /* this overlaps the parent border so there can be a hover border for the header only without jumping */\\n border: 1px solid var(--cp-borderSubtle);\\n border-radius: 3px;\\n background: var(--cp-neutralLighter);\\n padding: 0;\\n display: flex;\\n align-items: center;\\n line-height: 1;\\n}\\n.header:hover {\\n border-color: black;\\n}\\n.header.expanded {\\n /* change the margin-bottom when expanded so the border still shows up */\\n margin-bottom: 0;\\n}\\n.header.error {\\n background: var(--cp-errorLight);\\n}\\n.header.success {\\n background: var(--cp-successLight);\\n}\\n.header.warning {\\n background: var(--cp-warningLight);\\n}\\n\\nh3.headerButtonWrapper {\\n /* Ignore this element for flexbox layout purposes (children act as if they're directly under parent) */\\n display: contents;\\n margin: 0;\\n padding: 0;\\n}\\n\\n/* Unfortunately the button can't use display: contents due to browser bugs that would make it\\nnot accessible with the tab key */\\nbutton.headerButton {\\n width: 100%;\\n margin: 0;\\n /* Set padding on the button so it's included in the click target */\\n padding: 8px 16px;\\n border: none;\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n}\\n\\n/* The chevron icon is 20x20. We want it to take up a 32x32 area. */\\n.expandIcon {\\n width: 20px;\\n height: 20px;\\n padding: 6px;\\n transition: transform 0.1s ease-in-out;\\n}\\n\\n.expandIcon.collapsed {\\n padding-top: 8px;\\n padding-bottom: 4px;\\n transform: rotate(-90deg);\\n}\\n\\n.headerEnd {\\n /* this makes it right-aligned */\\n margin-left: auto;\\n font-size: 13px;\\n font-weight: 400;\\n text-align: end;\\n}\\n\\n.headerCommands {\\n margin-right: 16px;\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n justify-content: end;\\n}\\n\\n.title {\\n font-size: 16px;\\n font-weight: 500;\\n color: var(--cp-neutralPrimary);\\n /* in case it's applied directly to a h* element */\\n margin: 0;\\n padding: 0;\\n}\\n\\n.contentHidden {\\n display: none;\\n}\\n\\n.content {\\n background: var(--cp-neutralLighterAlt);\\n /* 24px optically aligns with the icons in the header */\\n padding: 16px 24px;\\n display: flex;\\n flex-direction: column;\\n gap: 16px;\\n /* Increase line-height so it's easier to read */\\n line-height: 1.2em;\\n}\\n.content li {\\n margin: 3px 0;\\n}\\n.content p {\\n margin: 0;\\n}\\n.content p + p {\\n margin-top: 8px;\\n}\\n\\n.itemName {\\n font-size: 12px;\\n font-weight: 600;\\n text-transform: uppercase;\\n padding-bottom: 2px;\\n}\\n\\n.itemValue {\\n font-size: 14px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"root\": `XGfokeIdlhljyLrJoTUw`,\n\t\"header\": `wuGrO61h0mxJCT13pKKi`,\n\t\"expanded\": `xUYhCGbIYOflP2MeZWAZ`,\n\t\"error\": `tYu_98mP3NNuncdgfx2e`,\n\t\"success\": `sn79vVqYMTENjCFDp9o2`,\n\t\"warning\": `uBvWcRQWreqOQcQx11QC`,\n\t\"headerButtonWrapper\": `kGHJtSdatcFi9k0NuFhK`,\n\t\"headerButton\": `DPU_BgMDvX9c3bs_hgJf`,\n\t\"expandIcon\": `jZlxmg1VmtWr__jzMk1T`,\n\t\"collapsed\": `YFo31CeXA_PU_CMg_zld`,\n\t\"headerEnd\": `cUZadJUKd9B70qLziRSU`,\n\t\"headerCommands\": `_LelyTIepA5pC2N_dHW2`,\n\t\"title\": `ERmJeA26FxA8sETCCLQS`,\n\t\"contentHidden\": `QUAuafbYFPvmVwOUOqYN`,\n\t\"content\": `xPBZFnKM72fLspTwq_5u`,\n\t\"itemName\": `MP8Xx_w4X_xqx1QcYVfk`,\n\t\"itemValue\": `bS0g8MYKC82hwEKmB69Q`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/cjs.js??ruleSet[1].rules[0].oneOf[1].use[1]!./Dialog.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/cjs.js??ruleSet[1].rules[0].oneOf[1].use[1]!./Dialog.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import cx from 'classnames';\nimport type { ComponentChildren, FunctionComponent } from 'preact';\nimport { useRef } from 'preact/hooks';\nimport styles from './Dialog.module.css';\nimport { useDraggable } from '../../hooks/useDraggable.js';\nimport { Button } from '../Button/Button.js';\n\nexport interface DialogProps {\n title: string;\n id: string;\n style?: 'default' | 'error';\n draggable?: boolean;\n onClose?: () => void;\n commands?: ComponentChildren;\n children: ComponentChildren;\n}\n\nexport const Dialog: FunctionComponent<DialogProps> = (props) => {\n const { title, id, style, draggable, onClose, commands, children } = props;\n const draggableRef = useRef<HTMLDivElement>(null);\n const draggableTargetRef = useRef<HTMLDivElement>(null);\n\n useDraggable({\n enabled: !!draggable,\n containerElementRef: draggableRef,\n dragElementRef: draggableTargetRef,\n });\n\n return (\n <div id={id} class={styles.overlay}>\n <div ref={draggableRef} class={cx(styles.dialog, style === 'error' && styles.error)}>\n <div class={styles.titleArea}>\n <h2 ref={draggableTargetRef} class={cx(styles.title, draggable && styles.draggable)}>\n {title}\n </h2>\n {onClose && (\n // a close icon is common/universal enough that it doesn't need hover text\n <Button variant=\"iconOnly\" iconName=\"close\" onClick={onClose} aria-label=\"Close\" />\n )}\n </div>\n {commands && <div class={styles.commands}>{commands}</div>}\n {children}\n </div>\n </div>\n );\n};\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* NOTE: This is also used by ErrorDialog */\n.sQBBRBwDngEVzWzI6zAo {\n flex-grow: 1;\n overflow: auto;\n border-top: 1px solid var(--cp-border);\n box-sizing: border-box;\n padding: 16px 20px;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/StatusDialog/TaskList.module.css\"],\"names\":[],\"mappings\":\"AAAA,2CAA2C;AAC3C;EACE,YAAY;EACZ,cAAc;EACd,sCAAsC;EACtC,sBAAsB;EACtB,kBAAkB;EAClB,aAAa;EACb,sBAAsB;EACtB,QAAQ;AACV\",\"sourcesContent\":[\"/* NOTE: This is also used by ErrorDialog */\\n.root {\\n flex-grow: 1;\\n overflow: auto;\\n border-top: 1px solid var(--cp-border);\\n box-sizing: border-box;\\n padding: 16px 20px;\\n display: flex;\\n flex-direction: column;\\n gap: 8px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"root\": `sQBBRBwDngEVzWzI6zAo`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/cjs.js??ruleSet[1].rules[0].oneOf[1].use[1]!./ResultsAccordion.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/cjs.js??ruleSet[1].rules[0].oneOf[1].use[1]!./ResultsAccordion.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import type { ComponentChildren, FunctionComponent } from 'preact';\nimport { useState } from 'preact/hooks';\nimport cx from 'classnames';\nimport styles from './ResultsAccordion.module.css';\nimport ErrorIcon from '../../images/error-24.inline.svg';\nimport SuccessIcon from '../../images/success-24.inline.svg';\nimport WarningIcon from '../../images/warning-24.inline.svg';\nimport ChevronDownIcon from '../../images/chevrondown-20.inline.svg';\nimport { Button } from '../Button/Button.js';\n\nexport interface ResultsAccordionProps {\n /** Name of the bundle task or other item (can have formatting, but should not have a header element) */\n name: ComponentChildren;\n /** Index used for generating accordion element IDs */\n index: number;\n result: 'success' | 'warning' | 'error';\n /** Info that goes at the end of the header, inside the clickable area */\n headerEndContent?: string;\n /** Commands to go at the end of the header, outside the clickable area */\n headerCommands?: ComponentChildren;\n /**\n * Get the content, only if the section is expanded.\n * Use `CollapsibleResultsSubSection` for formatting (returning multiple sections if needed).\n *\n * This callback is to prevent rendering thousands of bundle result details unnecessarily.\n */\n getContent: () => ComponentChildren;\n}\n\nexport interface ResultsAccordionContentProps {\n /** Will be at start of sub-section and styled slightly larger if provided */\n title?: string;\n /** Item name, such as \"Input path\". Ignored if `itemValue` is not provided. */\n itemName?: string;\n /** Value corresponding to `itemName`, such as the path to a package. Requires `itemName`. */\n itemValue?: ComponentChildren;\n /** Custom children */\n children?: ComponentChildren;\n}\n\nconst resultIcons = {\n error: <img src={ErrorIcon} alt=\"Error\" />,\n warning: <img src={WarningIcon} alt=\"Warning\" />,\n success: <img src={SuccessIcon} alt=\"Success\" />,\n};\n\n/**\n * Collapsible section for displaying results of a bundle task or other item.\n * This handles the header formatting and layout, expanding/collapsing, and displaying content.\n */\nexport const ResultsAccordion: FunctionComponent<ResultsAccordionProps> = (props) => {\n const { name, result, headerEndContent, headerCommands, getContent, index } = props;\n const [isOpen, setIsOpen] = useState<boolean | undefined>(undefined);\n const showContent = isOpen === true || (isOpen === undefined && result === 'error');\n const headerButtonId = `results-accordion-button-${index}`;\n const contentId = `results-accordion-content-${index}`;\n\n // Trying to follow the accordion pattern: https://www.w3.org/WAI/ARIA/apg/patterns/accordion/\n // except the odd thing is we want to allow a separate click target for a refresh button at the end\n return (\n <div class={styles.root}>\n <div class={cx(styles.header, styles[result], showContent && styles.expanded)}>\n <h3 class={styles.headerButtonWrapper}>\n <Button\n id={headerButtonId}\n class={styles.headerButton}\n variant=\"custom\"\n aria-expanded={showContent}\n aria-controls={contentId}\n onClick={() => setIsOpen(!showContent)}\n >\n <img\n class={cx(styles.expandIcon, !showContent && styles.collapsed)}\n src={ChevronDownIcon}\n // With the wrapping button, the chevron is presentation-only\n alt=\"\"\n />\n {resultIcons[result]}\n <div class={styles.title}>{name}</div>\n {headerEndContent && <div class={styles.headerEnd}>{headerEndContent}</div>}\n </Button>\n </h3>\n {headerCommands && <div class={styles.headerCommands}>{headerCommands}</div>}\n </div>\n <div id={contentId} class={showContent ? styles.content : styles.contentHidden}>\n {showContent && getContent()}\n </div>\n </div>\n );\n};\n\n/**\n * Sub-section to return from `ResultsAccordionProps.getContent`.\n * If there are no children and no `itemValue`, the section will be ignored.\n */\nexport const ResultsAccordionContent: FunctionComponent<ResultsAccordionContentProps> = (props) => {\n const { title, itemName, itemValue, children } = props;\n if (!children && !(itemValue && itemName)) {\n return null;\n }\n\n // Use a fragment so the sub-parts use the parent's flex styling\n return (\n <>\n {title && <h4 class={styles.title}>{title}</h4>}\n {itemName && itemValue ? (\n <div>\n <div class={styles.itemName}>{itemName}</div>\n <div class={styles.itemValue}>{itemValue}</div>\n </div>\n ) : null}\n {children}\n </>\n );\n};\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.nFL23Zz8oxyuq_mozmYD {\n background: rgba(0, 0, 0, 0.1);\n border: none;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: var(--cp-zIndexDialog);\n}\n\n@keyframes RgoXtDCvXp_zLUEhFX0G {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n\n.VZxKM817eSqGY6etKAYx {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-shrink: 0;\n padding: 0 20px 8px;\n}\n\n.ZWJzr7wpZVh1FbHdy6Q2 {\n /* used for the top border and title color */\n --cp-dialogAccent: var(--cp-themePrimary);\n animation: RgoXtDCvXp_zLUEhFX0G 0.1s ease-in-out;\n width: 80vw;\n align-self: stretch;\n margin: 20px 0;\n background: white;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n gap: 8px;\n border-top: 4px solid var(--cp-dialogAccent);\n border-radius: 3px;\n box-shadow:\n rgb(0 0 0 / 22%) 0px 25.6px 57.6px 0px,\n rgb(0 0 0 / 18%) 0px 4.8px 14.4px 0px;\n position: relative;\n outline: transparent solid 3px;\n}\n.ZWJzr7wpZVh1FbHdy6Q2.sqI0jdiToNIQgfQ6E95R {\n --cp-dialogAccent: var(--cp-errorDark);\n}\n\n.J68SmatPFr3O_E5JYUtt {\n cursor: move;\n}\n\n.Bq9plXsgb2IJ0KMqM0yK {\n display: flex;\n align-items: center;\n padding: 12px 12px 2px 20px;\n}\n\n.LTsU7kHigVvD2yo102t7 {\n margin: 0;\n padding: 0;\n flex-grow: 1;\n font-size: 24px;\n font-weight: 600;\n color: var(--cp-dialogAccent);\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/Dialog/Dialog.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,8BAA8B;EAC9B,YAAY;EACZ,eAAe;EACf,MAAM;EACN,OAAO;EACP,QAAQ;EACR,SAAS;EACT,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,+BAA+B;AACjC;;AAEA;EACE;IACE,UAAU;EACZ;EACA;IACE,UAAU;EACZ;AACF;;AAEA;EACE,aAAa;EACb,QAAQ;EACR,mBAAmB;EACnB,cAAc;EACd,mBAAmB;AACrB;;AAEA;EACE,4CAA4C;EAC5C,yCAAyC;EACzC,gDAAmC;EACnC,WAAW;EACX,mBAAmB;EACnB,cAAc;EACd,iBAAiB;EACjB,sBAAsB;EACtB,aAAa;EACb,sBAAsB;EACtB,QAAQ;EACR,4CAA4C;EAC5C,kBAAkB;EAClB;;yCAEuC;EACvC,kBAAkB;EAClB,8BAA8B;AAChC;AACA;EACE,sCAAsC;AACxC;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,2BAA2B;AAC7B;;AAEA;EACE,SAAS;EACT,UAAU;EACV,YAAY;EACZ,eAAe;EACf,gBAAgB;EAChB,6BAA6B;AAC/B\",\"sourcesContent\":[\".overlay {\\n background: rgba(0, 0, 0, 0.1);\\n border: none;\\n position: fixed;\\n top: 0;\\n left: 0;\\n right: 0;\\n bottom: 0;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n z-index: var(--cp-zIndexDialog);\\n}\\n\\n@keyframes fade-in {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n}\\n\\n.commands {\\n display: flex;\\n gap: 8px;\\n align-items: center;\\n flex-shrink: 0;\\n padding: 0 20px 8px;\\n}\\n\\n.dialog {\\n /* used for the top border and title color */\\n --cp-dialogAccent: var(--cp-themePrimary);\\n animation: fade-in 0.1s ease-in-out;\\n width: 80vw;\\n align-self: stretch;\\n margin: 20px 0;\\n background: white;\\n box-sizing: border-box;\\n display: flex;\\n flex-direction: column;\\n gap: 8px;\\n border-top: 4px solid var(--cp-dialogAccent);\\n border-radius: 3px;\\n box-shadow:\\n rgb(0 0 0 / 22%) 0px 25.6px 57.6px 0px,\\n rgb(0 0 0 / 18%) 0px 4.8px 14.4px 0px;\\n position: relative;\\n outline: transparent solid 3px;\\n}\\n.dialog.error {\\n --cp-dialogAccent: var(--cp-errorDark);\\n}\\n\\n.draggable {\\n cursor: move;\\n}\\n\\n.titleArea {\\n display: flex;\\n align-items: center;\\n padding: 12px 12px 2px 20px;\\n}\\n\\n.title {\\n margin: 0;\\n padding: 0;\\n flex-grow: 1;\\n font-size: 24px;\\n font-weight: 600;\\n color: var(--cp-dialogAccent);\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"overlay\": `nFL23Zz8oxyuq_mozmYD`,\n\t\"commands\": `VZxKM817eSqGY6etKAYx`,\n\t\"dialog\": `ZWJzr7wpZVh1FbHdy6Q2`,\n\t\"fade-in\": `RgoXtDCvXp_zLUEhFX0G`,\n\t\"error\": `sqI0jdiToNIQgfQ6E95R`,\n\t\"draggable\": `J68SmatPFr3O_E5JYUtt`,\n\t\"titleArea\": `Bq9plXsgb2IJ0KMqM0yK`,\n\t\"title\": `LTsU7kHigVvD2yo102t7`\n};\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/.store/style-loader-virtual-bd73274477/package/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/cjs.js??ruleSet[1].rules[0].oneOf[1].use[1]!./TaskList.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.store/css-loader-virtual-bfb2cc7933/package/dist/cjs.js??ruleSet[1].rules[0].oneOf[1].use[1]!./TaskList.module.css\";\n export default content && content.locals ? content.locals : undefined;\n"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","Dialog","props","title","style","draggable","onClose","commands","children","draggableRef","useRef","draggableTargetRef","useDraggable","enabled","containerElementRef","dragElementRef","div","class","styles","overlay","ref","cx","dialog","error","titleArea","h2","Button","variant","iconName","onClick","aria-label","resultIcons","img","src","alt","warning","success","ResultsAccordion","name","result","headerEndContent","headerCommands","getContent","index","isOpen","setIsOpen","useState","showContent","headerButtonId","contentId","root","header","expanded","h3","headerButtonWrapper","headerButton","aria-expanded","aria-controls","expandIcon","collapsed","headerEnd","content","contentHidden","ResultsAccordionContent","itemName","itemValue","h4"],"sourceRoot":""}