@ms-cloudpack/overlay 0.19.56 → 0.19.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE.txt CHANGED
@@ -391,6 +391,33 @@ SOFTWARE.
391
391
 
392
392
  ----
393
393
 
394
+ react-refresh 0.18.0 - MIT
395
+ https://github.com/facebook/react.git
396
+
397
+ MIT License
398
+
399
+ Copyright (c) Meta Platforms, Inc. and affiliates.
400
+
401
+ Permission is hereby granted, free of charge, to any person obtaining a copy
402
+ of this software and associated documentation files (the "Software"), to deal
403
+ in the Software without restriction, including without limitation the rights
404
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
405
+ copies of the Software, and to permit persons to whom the Software is
406
+ furnished to do so, subject to the following conditions:
407
+
408
+ The above copyright notice and this permission notice shall be included in all
409
+ copies or substantial portions of the Software.
410
+
411
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
412
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
413
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
414
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
415
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
416
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
417
+ SOFTWARE.
418
+
419
+ ----
420
+
394
421
  react-remove-scroll 2.7.1 - MIT
395
422
  https://github.com/theKashey/react-remove-scroll
396
423
 
@@ -1,2 +1,2 @@
1
- export const __webpack_esm_id__=198;export const __webpack_esm_ids__=[198];export const __webpack_esm_modules__={198:(n,e,t)=>{t.d(e,{StatusDialog:()=>K,default:()=>V}),t.r(e);var r=t(362),a=t(104),s=t.n(a),o=t(435),i=t(15),l=t(606),c=t.n(l),d=t(607),A=t.n(d),u=t(437),p=t.n(u),h=t(750),g=t.n(h),x=t(994),C=t.n(x),m=t(415),f=t.n(m),b=t(464),B={};B.styleTagTransform=f(),B.setAttributes=g(),B.insert=p().bind(null,"head"),B.domAPI=A(),B.insertStyleElement=C(),c()(b.default,B);const k=b.default&&b.default.locals?b.default.locals:void 0;var w=t(965);const E=["ori","rollup","webpack","rspack","esbuild"],v=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:k.root,children:[(0,r.jsx)("div",{class:s()(k.statusBar,"warning"===o&&k.warning)}),(0,r.jsxs)("div",{class:k.content,children:[(0,r.jsxs)("div",{class:k.titleArea,children:[a+1,". ",(0,r.jsx)(j,{loc:i,inputPath:t})," (via: ",c,")"]}),(0,r.jsx)("pre",{class:k.text,children:_(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.jsxs)("li",{children:[n.location&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j,{loc:n.location,inputPath:t}),(0,r.jsx)("br",{})]}),n.text&&(0,r.jsx)("pre",{class:k.text,children:_(n.text)})]},e))})]})]})]})};function _(n){return n.replace(/\x1b\[[\d;]+(m|[AKB]\b)/g,"")}const j=n=>{const{loc:e,inputPath:t}=n,a=(0,i.useCloudpack)();if(!e)return"(path unavailable)";const s=[e.file,e.line,e.column].filter(n=>void 0!==n).join(":");return!t||/[?!]/.test(s)?s:(0,r.jsx)(w.Button,{variant:"link",onClick:()=>{t&&a.openCodeEditor.mutate({rootPath:t,relativePath:e.file,line:e.line,column:e.column})},children:s})};var R=t(927),D=t(942);function y(n){return"pending"===n.status?"Running":[`Completed in ${n.duration}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 S=n=>{const{task:e}=n,{name:t,warnings:a=[],errors:s=[],inputPath:o,outputPath:l}=e,c=(0,i.useCloudpack)(),d=n=>{c.openFilePath.mutate({rootPath:n})},A=()=>{o&&c.openCodeEditor.mutate({rootPath:o,relativePath:"package.json"})};return(0,r.jsx)(R.ResultsAccordion,{name:t||"<unknown>",index:n.index,result:s.length?"error":a.length?"warning":"success",headerEndContent:y(e),headerCommands:(0,r.jsx)(w.Button,{variant:"iconOnly",onClick:()=>{o&&c.restartTask.mutate({id:e.id,inputPath:o})},title:"Re-bundle this package","aria-label":"Re-bundle this package",children:(0,r.jsx)(D.Refresh20,{})}),getContent:()=>(0,r.jsxs)(r.Fragment,{children:[o?(0,r.jsx)(R.ResultsAccordionContent,{itemName:"Input path",itemValue:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w.Button,{variant:"link",onClick:()=>d(o),children:o})," ","(",(0,r.jsx)(w.Button,{variant:"link",onClick:A,children:"package.json"}),")"]})}):"No input path found for bundle task. This is a Cloudpack bug. Please report it.",l&&(0,r.jsx)(R.ResultsAccordionContent,{itemName:"Output path",itemValue:(0,r.jsx)(w.Button,{variant:"link",onClick:()=>d(l),children:l})}),s.length>0&&(0,r.jsx)(R.ResultsAccordionContent,{title:"Errors",children:s.map((n,e)=>(0,r.jsx)(v,{type:"error",item:n,inputPath:o,index:e},e))}),a.length>0&&(0,r.jsx)(R.ResultsAccordionContent,{title:"Warnings",children:a.map((n,e)=>(0,r.jsx)(v,{type:"warning",item:n,inputPath:o,index:e},e))})]})})};var F=t(141);const T=({searchFilter:n,issuesOnly:e})=>{let t=[...(()=>{const n=(0,i.useCloudpack)(),[e,t]=(0,o.useState)({tasks:[]});return(0,o.useEffect)(()=>{const e=n?.onDataChanged.subscribe(F.taskListSource,{onData:n=>{t(n)}});return()=>{e.unsubscribe()}},[n]),e})().tasks].sort(P);return n&&(n=n.toLowerCase(),t=t.filter(({name:e})=>e?.toLowerCase().includes(n))),e&&(t=t.filter(({errors:n,warnings:e})=>n?.length||e?.length)),(0,r.jsx)(r.Fragment,{children:t.map((n,e)=>(0,r.jsx)(S,{index:e,task:n},n.name))})};function P(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,s=e.errors?.length||0;return a!==s?a>s?-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 I=t(639),O=t(116),q=t(649),z={};z.styleTagTransform=f(),z.setAttributes=g(),z.insert=p().bind(null,"head"),z.domAPI=A(),z.insertStyleElement=C(),c()(q.default,z);const L=q.default&&q.default.locals?q.default.locals:void 0;var N=t(533);const K=({onClose:n})=>{const e=(0,i.useCloudpack)(),[t,a]=(0,o.useState)(""),[l,c]=(0,o.useState)(!1),[d,A]=(0,o.useState)(!1),u=(0,o.useCallback)(n=>{n.preventDefault(),a(n.target.value)},[]);return(0,r.jsx)(I.Dialog,{title:"Cloudpack bundle results",id:O.elementIds.statusDialogRoot,draggable:!0,onClose:d?void 0:n,commands:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(w.Button,{variant:"primary",onClick:()=>{A(!0),e.restartAllTasks.mutate()},disabled:d,children:[(0,r.jsx)(D.Refresh20,{class:s()(d&&L.spin)})," Re-bundle all packages"]}),(0,r.jsx)(w.Button,{onClick:()=>{c(n=>!n)},disabled:d,children:l?"Show all packages":"Show packages with issues"}),(0,r.jsx)("input",{type:"text","aria-label":"Search",placeholder:"Search",value:t,onInput:u,class:s()(L.searchbox,N.default.root,N.default.standard),disabled:d})]}),children:d?"Preparing to re-bundle (the page will refresh when ready)...":(0,r.jsx)(T,{searchFilter:t,issuesOnly:l})})},V=K},464:(n,e,t)=>{t.d(e,{default:()=>i});var r=t(692),a=t.n(r),s=t(860),o=t.n(s)()(a());o.push([n.id,".root__Rl6XMfFcB4M4Sp5RJbh8 {\n display: flex;\n background: var(--cp-neutralLighter);\n}\n\n/* left border color indicator */\n.statusBar__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.statusBar__RsdQpgzZbI9fI4mSfjJX.warning__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.content__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.titleArea__NUKs26I_j0KAivvaQbz4 {\n padding: 4px 0;\n font-weight: 500;\n}\n\n/* pre with error details */\n.text__qXRXiNO7j_FMkOf4b1Hi {\n word-wrap: break-word;\n white-space: pre-wrap;\n color: var(--cp-text);\n /* monospace fonts tend to have tight line-height and be too large */\n line-height: 1.5em;\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,qBAAqB;EACrB,oEAAoE;EACpE,kBAAkB;EAClB,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-text);\n /* monospace fonts tend to have tight line-height and be too large */\n line-height: 1.5em;\n font-size: 0.9em;\n}\n"],sourceRoot:""}]),o.locals={root:"root__Rl6XMfFcB4M4Sp5RJbh8",statusBar:"statusBar__RsdQpgzZbI9fI4mSfjJX",warning:"warning__EcBSTvORlKqFlDbz3mr9",content:"content__oaWQstIJN1TotKTOLcwX",titleArea:"titleArea__NUKs26I_j0KAivvaQbz4",text:"text__qXRXiNO7j_FMkOf4b1Hi"};const i=o},649:(n,e,t)=>{t.d(e,{default:()=>i});var r=t(692),a=t.n(r),s=t(860),o=t.n(s)()(a());o.push([n.id,"@keyframes cp-spin__gcFQred791GFVqluefOr {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.spin__cSlR0KG2ydLnzVkkbwdj {\n animation: cp-spin__gcFQred791GFVqluefOr 1s linear infinite;\n}\n\n.searchbox__LfVxJ7Te2Dle6scWlkNw {\n background-color: var(--cp-white);\n font-weight: 400;\n box-shadow: none;\n padding: 0px 8px;\n min-width: 160px;\n /* align to far right */\n margin-left: auto;\n}\n.searchbox__LfVxJ7Te2Dle6scWlkNw:disabled::placeholder {\n color: var(--cp-textDisabled);\n}\n","",{version:3,sources:["webpack://./src/components/StatusDialog/StatusDialog.module.css"],names:[],mappings:"AAAA;EACE;IACE,uBAAuB;EACzB;EACA;IACE,yBAAyB;EAC3B;AACF;;AAEA;EACE,2DAAqC;AACvC;;AAEA;EACE,iCAAiC;EACjC,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,uBAAuB;EACvB,iBAAiB;AACnB;AACA;EACE,6BAA6B;AAC/B",sourcesContent:["@keyframes cp-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.spin {\n animation: cp-spin 1s linear infinite;\n}\n\n.searchbox {\n background-color: var(--cp-white);\n font-weight: 400;\n box-shadow: none;\n padding: 0px 8px;\n min-width: 160px;\n /* align to far right */\n margin-left: auto;\n}\n.searchbox:disabled::placeholder {\n color: var(--cp-textDisabled);\n}\n"],sourceRoot:""}]),o.locals={spin:"spin__cSlR0KG2ydLnzVkkbwdj","cp-spin":"cp-spin__gcFQred791GFVqluefOr",searchbox:"searchbox__LfVxJ7Te2Dle6scWlkNw"};const i=o}};
1
+ export const __webpack_esm_id__=198;export const __webpack_esm_ids__=[198];export const __webpack_esm_modules__={198:(n,e,t)=>{t.d(e,{StatusDialog:()=>K,default:()=>V}),t.r(e);var r=t(362),a=t(104),s=t.n(a),o=t(435),i=t(15),l=t(606),c=t.n(l),d=t(607),A=t.n(d),u=t(437),p=t.n(u),h=t(750),g=t.n(h),x=t(994),C=t.n(x),m=t(415),f=t.n(m),b=t(464),B={};B.styleTagTransform=f(),B.setAttributes=g(),B.insert=p().bind(null,"head"),B.domAPI=A(),B.insertStyleElement=C(),c()(b.default,B);const k=b.default&&b.default.locals?b.default.locals:void 0;var w=t(965);const E=["ori","rollup","webpack","rspack","esbuild"],v=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:k.root,children:[(0,r.jsx)("div",{class:s()(k.statusBar,"warning"===o&&k.warning)}),(0,r.jsxs)("div",{class:k.content,children:[(0,r.jsxs)("div",{class:k.titleArea,children:[a+1,". ",(0,r.jsx)(j,{loc:i,inputPath:t})," (via: ",c,")"]}),(0,r.jsx)("pre",{class:k.text,children:_(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.jsxs)("li",{children:[n.location&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(j,{loc:n.location,inputPath:t}),(0,r.jsx)("br",{})]}),n.text&&(0,r.jsx)("pre",{class:k.text,children:_(n.text)})]},e))})]})]})]})};function _(n){return n.replace(/\x1b\[[\d;]+(m|[AKB]\b)/g,"")}const j=n=>{const{loc:e,inputPath:t}=n,a=(0,i.useCloudpack)();if(!e)return"(path unavailable)";const s=[e.file,e.line,e.column].filter(n=>void 0!==n).join(":");return!t||/[?!]/.test(s)?s:(0,r.jsx)(w.Button,{variant:"link",onClick:()=>{t&&a.openCodeEditor.mutate({rootPath:t,relativePath:e.file,line:e.line,column:e.column})},children:s})};var R=t(927),D=t(942);function y(n){return"pending"===n.status?"Running":[`Completed in ${n.duration}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 S=n=>{const{task:e}=n,{name:t,warnings:a=[],errors:s=[],inputPath:o,outputPath:l}=e,c=(0,i.useCloudpack)(),d=n=>{c.openFilePath.mutate({rootPath:n})},A=()=>{o&&c.openCodeEditor.mutate({rootPath:o,relativePath:"package.json"})};return(0,r.jsx)(R.ResultsAccordion,{name:t||"<unknown>",index:n.index,result:s.length?"error":a.length?"warning":"success",headerEndContent:y(e),headerCommands:(0,r.jsx)(w.Button,{variant:"iconOnly",onClick:()=>{o&&c.restartTask.mutate({id:e.id,inputPath:o})},title:"Re-bundle this package","aria-label":"Re-bundle this package",children:(0,r.jsx)(D.Refresh20,{})}),getContent:()=>(0,r.jsxs)(r.Fragment,{children:[o?(0,r.jsx)(R.ResultsAccordionContent,{itemName:"Input path",itemValue:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w.Button,{variant:"link",onClick:()=>d(o),children:o})," ","(",(0,r.jsx)(w.Button,{variant:"link",onClick:A,children:"package.json"}),")"]})}):"No input path found for bundle task. This is a Cloudpack bug. Please report it.",l&&(0,r.jsx)(R.ResultsAccordionContent,{itemName:"Output path",itemValue:(0,r.jsx)(w.Button,{variant:"link",onClick:()=>d(l),children:l})}),s.length>0&&(0,r.jsx)(R.ResultsAccordionContent,{title:"Errors",children:s.map((n,e)=>(0,r.jsx)(v,{type:"error",item:n,inputPath:o,index:e},e))}),a.length>0&&(0,r.jsx)(R.ResultsAccordionContent,{title:"Warnings",children:a.map((n,e)=>(0,r.jsx)(v,{type:"warning",item:n,inputPath:o,index:e},e))})]})})};var F=t(206);const T=({searchFilter:n,issuesOnly:e})=>{let t=[...(()=>{const n=(0,i.useCloudpack)(),[e,t]=(0,o.useState)({tasks:[]});return(0,o.useEffect)(()=>{const e=n?.onDataChanged.subscribe(F.taskListSource,{onData:n=>{t(n)}});return()=>{e.unsubscribe()}},[n]),e})().tasks].sort(P);return n&&(n=n.toLowerCase(),t=t.filter(({name:e})=>e?.toLowerCase().includes(n))),e&&(t=t.filter(({errors:n,warnings:e})=>n?.length||e?.length)),(0,r.jsx)(r.Fragment,{children:t.map((n,e)=>(0,r.jsx)(S,{index:e,task:n},n.name))})};function P(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,s=e.errors?.length||0;return a!==s?a>s?-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 I=t(639),O=t(116),q=t(649),z={};z.styleTagTransform=f(),z.setAttributes=g(),z.insert=p().bind(null,"head"),z.domAPI=A(),z.insertStyleElement=C(),c()(q.default,z);const L=q.default&&q.default.locals?q.default.locals:void 0;var N=t(533);const K=({onClose:n})=>{const e=(0,i.useCloudpack)(),[t,a]=(0,o.useState)(""),[l,c]=(0,o.useState)(!1),[d,A]=(0,o.useState)(!1),u=(0,o.useCallback)(n=>{n.preventDefault(),a(n.target.value)},[]);return(0,r.jsx)(I.Dialog,{title:"Cloudpack bundle results",id:O.elementIds.statusDialogRoot,draggable:!0,onClose:d?void 0:n,commands:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(w.Button,{variant:"primary",onClick:()=>{A(!0),e.restartAllTasks.mutate()},disabled:d,children:[(0,r.jsx)(D.Refresh20,{class:s()(d&&L.spin)})," Re-bundle all packages"]}),(0,r.jsx)(w.Button,{onClick:()=>{c(n=>!n)},disabled:d,children:l?"Show all packages":"Show packages with issues"}),(0,r.jsx)("input",{type:"text","aria-label":"Search",placeholder:"Search",value:t,onInput:u,class:s()(L.searchbox,N.default.root,N.default.standard),disabled:d})]}),children:d?"Preparing to re-bundle (the page will refresh when ready)...":(0,r.jsx)(T,{searchFilter:t,issuesOnly:l})})},V=K},464:(n,e,t)=>{t.d(e,{default:()=>i});var r=t(692),a=t.n(r),s=t(860),o=t.n(s)()(a());o.push([n.id,".root__Rl6XMfFcB4M4Sp5RJbh8 {\n display: flex;\n background: var(--cp-neutralLighter);\n}\n\n/* left border color indicator */\n.statusBar__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.statusBar__RsdQpgzZbI9fI4mSfjJX.warning__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.content__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.titleArea__NUKs26I_j0KAivvaQbz4 {\n padding: 4px 0;\n font-weight: 500;\n}\n\n/* pre with error details */\n.text__qXRXiNO7j_FMkOf4b1Hi {\n word-wrap: break-word;\n white-space: pre-wrap;\n color: var(--cp-text);\n /* monospace fonts tend to have tight line-height and be too large */\n line-height: 1.5em;\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,qBAAqB;EACrB,oEAAoE;EACpE,kBAAkB;EAClB,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-text);\n /* monospace fonts tend to have tight line-height and be too large */\n line-height: 1.5em;\n font-size: 0.9em;\n}\n"],sourceRoot:""}]),o.locals={root:"root__Rl6XMfFcB4M4Sp5RJbh8",statusBar:"statusBar__RsdQpgzZbI9fI4mSfjJX",warning:"warning__EcBSTvORlKqFlDbz3mr9",content:"content__oaWQstIJN1TotKTOLcwX",titleArea:"titleArea__NUKs26I_j0KAivvaQbz4",text:"text__qXRXiNO7j_FMkOf4b1Hi"};const i=o},649:(n,e,t)=>{t.d(e,{default:()=>i});var r=t(692),a=t.n(r),s=t(860),o=t.n(s)()(a());o.push([n.id,"@keyframes cp-spin__gcFQred791GFVqluefOr {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.spin__cSlR0KG2ydLnzVkkbwdj {\n animation: cp-spin__gcFQred791GFVqluefOr 1s linear infinite;\n}\n\n.searchbox__LfVxJ7Te2Dle6scWlkNw {\n background-color: var(--cp-white);\n font-weight: 400;\n box-shadow: none;\n padding: 0px 8px;\n min-width: 160px;\n /* align to far right */\n margin-left: auto;\n}\n.searchbox__LfVxJ7Te2Dle6scWlkNw:disabled::placeholder {\n color: var(--cp-textDisabled);\n}\n","",{version:3,sources:["webpack://./src/components/StatusDialog/StatusDialog.module.css"],names:[],mappings:"AAAA;EACE;IACE,uBAAuB;EACzB;EACA;IACE,yBAAyB;EAC3B;AACF;;AAEA;EACE,2DAAqC;AACvC;;AAEA;EACE,iCAAiC;EACjC,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,gBAAgB;EAChB,uBAAuB;EACvB,iBAAiB;AACnB;AACA;EACE,6BAA6B;AAC/B",sourcesContent:["@keyframes cp-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.spin {\n animation: cp-spin 1s linear infinite;\n}\n\n.searchbox {\n background-color: var(--cp-white);\n font-weight: 400;\n box-shadow: none;\n padding: 0px 8px;\n min-width: 160px;\n /* align to far right */\n margin-left: auto;\n}\n.searchbox:disabled::placeholder {\n color: var(--cp-textDisabled);\n}\n"],sourceRoot:""}]),o.locals={spin:"spin__cSlR0KG2ydLnzVkkbwdj","cp-spin":"cp-spin__gcFQred791GFVqluefOr",searchbox:"searchbox__LfVxJ7Te2Dle6scWlkNw"};const i=o}};
2
2
  //# sourceMappingURL=198.chunk.js.map
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 282.chunk.js.LICENSE.txt */
2
+ export const __webpack_esm_id__=282;export const __webpack_esm_ids__=[282];export const __webpack_esm_modules__={282:(e,t,o)=>{o.d(t,{registerReactRefresh:()=>r});var n=o(567);const r=()=>{n.injectIntoGlobalHook(window),window.$RefreshReg$=(e,t)=>{n.register(e,t)},window.$RefreshSig$=()=>n.createSignatureFunctionForTransform(),window.$RefreshRuntime$=n,console.log("[React Refresh] Runtime initialized")}},567:(e,t)=>{!function(){function e(t){if(null!==t.fullKey)return t.fullKey;var o=t.ownKey;try{var n=t.getCustomHooks()}catch(e){return t.forceReset=!0,t.fullKey=o}for(var r=0;r<n.length;r++){var i=n[r];if("function"!=typeof i)return t.forceReset=!0,t.fullKey=o;if(void 0!==(i=p.get(i))){var a=e(i);i.forceReset&&(t.forceReset=!0),o+="\n---\n"+a}}return t.fullKey=o}function o(e){return d.get(e)}function n(e){var t=new Set;return e.forEach(function(e){t.add(e)}),t}function r(e,t){try{return e[t]}catch(e){}}function i(e,t){var o=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=3<arguments.length?arguments[3]:void 0;if(p.has(e)||p.set(e,{forceReset:o,ownKey:t,fullKey:null,getCustomHooks:n||function(){return[]}}),"object"==typeof e&&null!==e)switch(r(e,"$$typeof")){case f:i(e.render,t,o,n);break;case c:i(e.type,t,o,n)}}function a(t){void 0!==(t=p.get(t))&&e(t)}var f=Symbol.for("react.forward_ref"),c=Symbol.for("react.memo"),u="function"==typeof WeakMap?WeakMap:Map,s=new Map,l=new u,p=new u,d=new u,h=[],y=new Map,m=new Map,_=new Set,R=new Set,v="function"==typeof WeakMap?new WeakMap:null,g=!1;t._getMountedRootCount=function(){return _.size},t.collectCustomHooksForSignature=a,t.createSignatureFunctionForTransform=function(){var e,t,o=!1;return function(n,r,f,c){if("string"==typeof r)return e||(e=n,t="function"==typeof c),null==n||"function"!=typeof n&&"object"!=typeof n||i(n,r,f,c),n;!o&&t&&(o=!0,a(e))}},t.getFamilyByID=function(e){return s.get(e)},t.getFamilyByType=function(e){return l.get(e)},t.hasUnrecoverableErrors=function(){return!1},t.injectIntoGlobalHook=function(e){var t=e.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(void 0===t){var o=0;e.__REACT_DEVTOOLS_GLOBAL_HOOK__=t={renderers:new Map,supportsFiber:!0,inject:function(){return o++},onScheduleFiberRoot:function(){},onCommitFiberRoot:function(){},onCommitFiberUnmount:function(){}}}if(t.isDisabled)console.warn("Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). Fast Refresh is not compatible with this shim and will be disabled.");else{var n=t.inject;t.inject=function(e){var t=n.apply(this,arguments);return"function"==typeof e.scheduleRefresh&&"function"==typeof e.setRefreshHandler&&y.set(t,e),t},t.renderers.forEach(function(e,t){"function"==typeof e.scheduleRefresh&&"function"==typeof e.setRefreshHandler&&y.set(t,e)});var r=t.onCommitFiberRoot,i=t.onScheduleFiberRoot||function(){};t.onScheduleFiberRoot=function(e,t,o){return g||(R.delete(t),null!==v&&v.set(t,o)),i.apply(this,arguments)},t.onCommitFiberRoot=function(e,t,o,n){var i=y.get(e);if(void 0!==i){m.set(t,i);var a=(i=t.current).alternate;null!==a?(a=null!=a.memoizedState&&null!=a.memoizedState.element&&_.has(t),i=null!=i.memoizedState&&null!=i.memoizedState.element,!a&&i?(_.add(t),R.delete(t)):a&&i||(a&&!i?(_.delete(t),n?R.add(t):m.delete(t)):a||i||n&&R.add(t))):_.add(t)}return r.apply(this,arguments)}}},t.isLikelyComponentType=function(e){switch(typeof e){case"function":if(null!=e.prototype){if(e.prototype.isReactComponent)return!0;var t=Object.getOwnPropertyNames(e.prototype);if(1<t.length||"constructor"!==t[0]||e.prototype.__proto__!==Object.prototype)return!1}return"string"==typeof(e=e.name||e.displayName)&&/^[A-Z]/.test(e);case"object":if(null!=e)switch(r(e,"$$typeof")){case f:case c:return!0}return!1;default:return!1}},t.performReactRefresh=function(){if(0===h.length||g)return null;g=!0;try{var t=new Set,r=new Set,i=h;h=[],i.forEach(function(o){var n=o[0];o=o[1];var i=n.current;d.set(i,n),d.set(o,n),n.current=o,i.prototype&&i.prototype.isReactComponent||o.prototype&&o.prototype.isReactComponent?o=!1:(i=p.get(i),o=p.get(o),o=void 0===i&&void 0===o||void 0!==i&&void 0!==o&&e(i)===e(o)&&!o.forceReset),o?r.add(n):t.add(n)});var a={updatedFamilies:r,staleFamilies:t};y.forEach(function(e){e.setRefreshHandler(o)});var f=!1,c=null,u=n(R),s=n(_),l=(w=m,b=new Map,w.forEach(function(e,t){b.set(t,e)}),b);if(u.forEach(function(e){var t=l.get(e);if(void 0===t)throw Error("Could not find helpers for a root. This is a bug in React Refresh.");if(R.has(e),null!==v&&v.has(e)){var o=v.get(e);try{t.scheduleRoot(e,o)}catch(e){f||(f=!0,c=e)}}}),s.forEach(function(e){var t=l.get(e);if(void 0===t)throw Error("Could not find helpers for a root. This is a bug in React Refresh.");_.has(e);try{t.scheduleRefresh(e,a)}catch(e){f||(f=!0,c=e)}}),f)throw c;return a}finally{g=!1}var w,b},t.register=function e(t,o){if(!(null===t||"function"!=typeof t&&"object"!=typeof t||l.has(t))){var n=s.get(o);if(void 0===n?(n={current:t},s.set(o,n)):h.push([n,t]),l.set(t,n),"object"==typeof t&&null!==t)switch(r(t,"$$typeof")){case f:e(t.render,o+"$render");break;case c:e(t.type,o+"$type")}}},t.setSignature=i}()}};
3
+ //# sourceMappingURL=282.chunk.js.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license React
3
+ * react-refresh-runtime.development.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
@@ -0,0 +1 @@
1
+ {"version":3,"file":"282.chunk.js","mappings":";gLAgBO,MAAMA,EAAuB,KAIlCC,EAAAA,qBAAoCC,QAiBpCA,OAAOC,aAAe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ACxB,CAxSF,IAAkB+D,EACZ5F,CAwSN,EACA8B,EAAQiE,SAvRR,SAASA,EAASvH,EAAMC,GACtB,KAEI,OAASD,GACR,mBAAsBA,GAAQ,iBAAoBA,GACnD8C,EAAkBX,IAAInC,IAExB,CACA,IAAI6G,EAAShE,EAAgB3B,IAAIjB,GAKjC,QAJA,IAAW4G,GACLA,EAAS,CAAElB,QAAS3F,GAAS6C,EAAgBtB,IAAItB,EAAI4G,IACvD9D,EAAeyE,KAAK,CAACX,EAAQ7G,IACjC8C,EAAkBvB,IAAIvB,EAAM6G,GACxB,iBAAoB7G,GAAQ,OAASA,EACvC,OAAQ6B,EAAY7B,EAAM,aACxB,KAAKoC,EACHmF,EAASvH,EAAKqC,OAAQpC,EAAK,WAC3B,MACF,KAAKqC,EACHiF,EAASvH,EAAKA,KAAMC,EAAK,SAEjC,CACF,EAkQAqD,EAAQtB,aAAeA,CACxB,CArUD,E","sources":["webpack://@ms-cloudpack/overlay/./src/registerReactRefresh.ts","webpack://@ms-cloudpack/overlay/../../node_modules/.store/react-refresh-patch-0b32d1125e/package/cjs/react-refresh-runtime.development.js"],"sourcesContent":["import RefreshRuntime from 'react-refresh';\n\n/**\n * Initializes the React Refresh runtime for hot module replacement (HMR).\n *\n * React Refresh enables fast refresh of React components without losing their state.\n * This function sets up the necessary global hooks and functions that the bundler-transformed\n * code will use to register components and trigger updates.\n *\n * This should be called once during application initialization, before any React components are loaded.\n *\n * @example\n * // In your app entry point:\n * import { registerReactRefresh } from '@ms-cloudpack/overlay';\n * registerReactRefresh();\n */\nexport const registerReactRefresh = (): void => {\n // Initialize React Refresh by injecting into React's internals\n // This hooks into React's reconciler to enable hot reloading capabilities\n // It modifies the global React DevTools hook to track component updates\n RefreshRuntime.injectIntoGlobalHook(window);\n\n // Set up the component registration function\n // This function is called by bundler-injected code for every React component/hook\n //\n // Example of what the bundler transforms:\n // Original code:\n // export const MyComponent = () => <div>Hello</div>\n //\n // Transformed code:\n // export const MyComponent = () => <div>Hello</div>\n // $RefreshReg$(MyComponent, 'MyComponent');\n //\n // The registration allows React Refresh to:\n // - Track which components exist in the module\n // - Match old and new versions of components during updates\n // - Determine if a full reload is needed (e.g., if hooks changed)\n window.$RefreshReg$ = (type: unknown, id: string) => {\n // TODO: Make this fully qualified with id including package name to avoid collisions\n // Currently, if two packages export a component with the same name, they could collide\n // Example collision: '@pkg-a/MyComponent' and '@pkg-b/MyComponent' both register as 'MyComponent'\n RefreshRuntime.register(type, id);\n };\n\n // Set up the signature function for tracking hook changes\n // This is used to detect when hooks in a component have changed\n //\n // Example of what the bundler transforms:\n // Original code:\n // const MyComponent = () => {\n // const [count, setCount] = useState(0);\n // return <div>{count}</div>\n // }\n //\n // Transformed code:\n // var _s = $RefreshSig$();\n // const MyComponent = () => {\n // _s(); // Signature call to track hooks\n // const [count, setCount] = useState(0);\n // return <div>{count}</div>\n // }\n // _s(MyComponent, \"useState{count}\");\n //\n // If hook signatures change (e.g., adding/removing useState), React Refresh will:\n // - Detect the change via the signature mismatch\n // - Force a full remount of the component (state will be lost)\n // - Warn the developer about the limitation\n window.$RefreshSig$ = () => {\n return RefreshRuntime.createSignatureFunctionForTransform();\n };\n\n // Store the runtime globally for manual refresh triggering\n // This is used by handlePackageUpdate.ts to call performReactRefresh()\n // after new modules are imported\n //\n // The runtime provides:\n // - performReactRefresh(): Triggers the actual component updates\n // - register(): Called by $RefreshReg$ to track components\n // - createSignatureFunctionForTransform(): Called by $RefreshSig$ to track hooks\n window.$RefreshRuntime$ = RefreshRuntime;\n\n console.log('[React Refresh] Runtime initialized');\n};\n","/**\n * @license React\n * react-refresh-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n (function () {\n function computeFullKey(signature) {\n if (null !== signature.fullKey) return signature.fullKey;\n var fullKey = signature.ownKey;\n try {\n var hooks = signature.getCustomHooks();\n } catch (err) {\n return (signature.forceReset = !0), (signature.fullKey = fullKey);\n }\n for (var i = 0; i < hooks.length; i++) {\n var hook = hooks[i];\n if (\"function\" !== typeof hook)\n return (signature.forceReset = !0), (signature.fullKey = fullKey);\n hook = allSignaturesByType.get(hook);\n if (void 0 !== hook) {\n var nestedHookKey = computeFullKey(hook);\n hook.forceReset && (signature.forceReset = !0);\n fullKey += \"\\n---\\n\" + nestedHookKey;\n }\n }\n return (signature.fullKey = fullKey);\n }\n function resolveFamily(type) {\n return updatedFamiliesByType.get(type);\n }\n function cloneMap(map) {\n var clone = new Map();\n map.forEach(function (value, key) {\n clone.set(key, value);\n });\n return clone;\n }\n function cloneSet(set) {\n var clone = new Set();\n set.forEach(function (value) {\n clone.add(value);\n });\n return clone;\n }\n function getProperty(object, property) {\n try {\n return object[property];\n } catch (err) {}\n }\n function register(type, id) {\n if (\n !(\n null === type ||\n (\"function\" !== typeof type && \"object\" !== typeof type) ||\n allFamiliesByType.has(type)\n )\n ) {\n var family = allFamiliesByID.get(id);\n void 0 === family\n ? ((family = { current: type }), allFamiliesByID.set(id, family))\n : pendingUpdates.push([family, type]);\n allFamiliesByType.set(type, family);\n if (\"object\" === typeof type && null !== type)\n switch (getProperty(type, \"$$typeof\")) {\n case REACT_FORWARD_REF_TYPE:\n register(type.render, id + \"$render\");\n break;\n case REACT_MEMO_TYPE:\n register(type.type, id + \"$type\");\n }\n }\n }\n function setSignature(type, key) {\n var forceReset =\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : !1,\n getCustomHooks = 3 < arguments.length ? arguments[3] : void 0;\n allSignaturesByType.has(type) ||\n allSignaturesByType.set(type, {\n forceReset: forceReset,\n ownKey: key,\n fullKey: null,\n getCustomHooks:\n getCustomHooks ||\n function () {\n return [];\n }\n });\n if (\"object\" === typeof type && null !== type)\n switch (getProperty(type, \"$$typeof\")) {\n case REACT_FORWARD_REF_TYPE:\n setSignature(type.render, key, forceReset, getCustomHooks);\n break;\n case REACT_MEMO_TYPE:\n setSignature(type.type, key, forceReset, getCustomHooks);\n }\n }\n function collectCustomHooksForSignature(type) {\n type = allSignaturesByType.get(type);\n void 0 !== type && computeFullKey(type);\n }\n var REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n PossiblyWeakMap = \"function\" === typeof WeakMap ? WeakMap : Map,\n allFamiliesByID = new Map(),\n allFamiliesByType = new PossiblyWeakMap(),\n allSignaturesByType = new PossiblyWeakMap(),\n updatedFamiliesByType = new PossiblyWeakMap(),\n pendingUpdates = [],\n helpersByRendererID = new Map(),\n helpersByRoot = new Map(),\n mountedRoots = new Set(),\n failedRoots = new Set(),\n rootElements = \"function\" === typeof WeakMap ? new WeakMap() : null,\n isPerformingRefresh = !1;\n exports._getMountedRootCount = function () {\n return mountedRoots.size;\n };\n exports.collectCustomHooksForSignature = collectCustomHooksForSignature;\n exports.createSignatureFunctionForTransform = function () {\n var savedType,\n hasCustomHooks,\n didCollectHooks = !1;\n return function (type, key, forceReset, getCustomHooks) {\n if (\"string\" === typeof key)\n return (\n savedType ||\n ((savedType = type),\n (hasCustomHooks = \"function\" === typeof getCustomHooks)),\n null == type ||\n (\"function\" !== typeof type && \"object\" !== typeof type) ||\n setSignature(type, key, forceReset, getCustomHooks),\n type\n );\n !didCollectHooks &&\n hasCustomHooks &&\n ((didCollectHooks = !0), collectCustomHooksForSignature(savedType));\n };\n };\n exports.getFamilyByID = function (id) {\n return allFamiliesByID.get(id);\n };\n exports.getFamilyByType = function (type) {\n return allFamiliesByType.get(type);\n };\n exports.hasUnrecoverableErrors = function () {\n return !1;\n };\n exports.injectIntoGlobalHook = function (globalObject) {\n var hook = globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (void 0 === hook) {\n var nextID = 0;\n globalObject.__REACT_DEVTOOLS_GLOBAL_HOOK__ = hook = {\n renderers: new Map(),\n supportsFiber: !0,\n inject: function () {\n return nextID++;\n },\n onScheduleFiberRoot: function () {},\n onCommitFiberRoot: function () {},\n onCommitFiberUnmount: function () {}\n };\n }\n if (hook.isDisabled)\n console.warn(\n \"Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). Fast Refresh is not compatible with this shim and will be disabled.\"\n );\n else {\n var oldInject = hook.inject;\n hook.inject = function (injected) {\n var id = oldInject.apply(this, arguments);\n \"function\" === typeof injected.scheduleRefresh &&\n \"function\" === typeof injected.setRefreshHandler &&\n helpersByRendererID.set(id, injected);\n return id;\n };\n hook.renderers.forEach(function (injected, id) {\n \"function\" === typeof injected.scheduleRefresh &&\n \"function\" === typeof injected.setRefreshHandler &&\n helpersByRendererID.set(id, injected);\n });\n var oldOnCommitFiberRoot = hook.onCommitFiberRoot,\n oldOnScheduleFiberRoot = hook.onScheduleFiberRoot || function () {};\n hook.onScheduleFiberRoot = function (id, root, children) {\n isPerformingRefresh ||\n (failedRoots.delete(root),\n null !== rootElements && rootElements.set(root, children));\n return oldOnScheduleFiberRoot.apply(this, arguments);\n };\n hook.onCommitFiberRoot = function (\n id,\n root,\n maybePriorityLevel,\n didError\n ) {\n var helpers = helpersByRendererID.get(id);\n if (void 0 !== helpers) {\n helpersByRoot.set(root, helpers);\n helpers = root.current;\n var alternate = helpers.alternate;\n null !== alternate\n ? ((alternate =\n null != alternate.memoizedState &&\n null != alternate.memoizedState.element &&\n mountedRoots.has(root)),\n (helpers =\n null != helpers.memoizedState &&\n null != helpers.memoizedState.element),\n !alternate && helpers\n ? (mountedRoots.add(root), failedRoots.delete(root))\n : (alternate && helpers) ||\n (alternate && !helpers\n ? (mountedRoots.delete(root),\n didError\n ? failedRoots.add(root)\n : helpersByRoot.delete(root))\n : alternate ||\n helpers ||\n (didError && failedRoots.add(root))))\n : mountedRoots.add(root);\n }\n return oldOnCommitFiberRoot.apply(this, arguments);\n };\n }\n };\n exports.isLikelyComponentType = function (type) {\n switch (typeof type) {\n case \"function\":\n if (null != type.prototype) {\n if (type.prototype.isReactComponent) return !0;\n var ownNames = Object.getOwnPropertyNames(type.prototype);\n if (\n 1 < ownNames.length ||\n \"constructor\" !== ownNames[0] ||\n type.prototype.__proto__ !== Object.prototype\n )\n return !1;\n }\n type = type.name || type.displayName;\n return \"string\" === typeof type && /^[A-Z]/.test(type);\n case \"object\":\n if (null != type)\n switch (getProperty(type, \"$$typeof\")) {\n case REACT_FORWARD_REF_TYPE:\n case REACT_MEMO_TYPE:\n return !0;\n }\n return !1;\n default:\n return !1;\n }\n };\n exports.performReactRefresh = function () {\n if (0 === pendingUpdates.length || isPerformingRefresh) return null;\n isPerformingRefresh = !0;\n try {\n var staleFamilies = new Set(),\n updatedFamilies = new Set(),\n updates = pendingUpdates;\n pendingUpdates = [];\n updates.forEach(function (_ref) {\n var family = _ref[0];\n _ref = _ref[1];\n var prevType = family.current;\n updatedFamiliesByType.set(prevType, family);\n updatedFamiliesByType.set(_ref, family);\n family.current = _ref;\n (prevType.prototype && prevType.prototype.isReactComponent) ||\n (_ref.prototype && _ref.prototype.isReactComponent)\n ? (_ref = !1)\n : ((prevType = allSignaturesByType.get(prevType)),\n (_ref = allSignaturesByType.get(_ref)),\n (_ref =\n (void 0 === prevType && void 0 === _ref) ||\n (void 0 !== prevType &&\n void 0 !== _ref &&\n computeFullKey(prevType) === computeFullKey(_ref) &&\n !_ref.forceReset)\n ? !0\n : !1));\n _ref ? updatedFamilies.add(family) : staleFamilies.add(family);\n });\n var update = {\n updatedFamilies: updatedFamilies,\n staleFamilies: staleFamilies\n };\n helpersByRendererID.forEach(function (helpers) {\n helpers.setRefreshHandler(resolveFamily);\n });\n var didError = !1,\n firstError = null,\n failedRootsSnapshot = cloneSet(failedRoots),\n mountedRootsSnapshot = cloneSet(mountedRoots),\n helpersByRootSnapshot = cloneMap(helpersByRoot);\n failedRootsSnapshot.forEach(function (root) {\n var helpers = helpersByRootSnapshot.get(root);\n if (void 0 === helpers)\n throw Error(\n \"Could not find helpers for a root. This is a bug in React Refresh.\"\n );\n failedRoots.has(root);\n if (null !== rootElements && rootElements.has(root)) {\n var element = rootElements.get(root);\n try {\n helpers.scheduleRoot(root, element);\n } catch (err) {\n didError || ((didError = !0), (firstError = err));\n }\n }\n });\n mountedRootsSnapshot.forEach(function (root) {\n var helpers = helpersByRootSnapshot.get(root);\n if (void 0 === helpers)\n throw Error(\n \"Could not find helpers for a root. This is a bug in React Refresh.\"\n );\n mountedRoots.has(root);\n try {\n helpers.scheduleRefresh(root, update);\n } catch (err) {\n didError || ((didError = !0), (firstError = err));\n }\n });\n if (didError) throw firstError;\n return update;\n } finally {\n isPerformingRefresh = !1;\n }\n };\n exports.register = register;\n exports.setSignature = setSignature;\n })();\n"],"names":["registerReactRefresh","RefreshRuntime","window","$RefreshReg$","type","id","$RefreshSig$","$RefreshRuntime$","console","log","computeFullKey","signature","fullKey","ownKey","hooks","getCustomHooks","err","forceReset","i","length","hook","allSignaturesByType","get","nestedHookKey","resolveFamily","updatedFamiliesByType","cloneSet","set","clone","Set","forEach","value","add","getProperty","object","property","setSignature","key","arguments","has","REACT_FORWARD_REF_TYPE","render","REACT_MEMO_TYPE","collectCustomHooksForSignature","Symbol","for","PossiblyWeakMap","WeakMap","Map","allFamiliesByID","allFamiliesByType","pendingUpdates","helpersByRendererID","helpersByRoot","mountedRoots","failedRoots","rootElements","isPerformingRefresh","exports","_getMountedRootCount","size","createSignatureFunctionForTransform","savedType","hasCustomHooks","didCollectHooks","getFamilyByID","getFamilyByType","hasUnrecoverableErrors","injectIntoGlobalHook","globalObject","__REACT_DEVTOOLS_GLOBAL_HOOK__","nextID","renderers","supportsFiber","inject","onScheduleFiberRoot","onCommitFiberRoot","onCommitFiberUnmount","isDisabled","warn","oldInject","injected","apply","this","scheduleRefresh","setRefreshHandler","oldOnCommitFiberRoot","oldOnScheduleFiberRoot","root","children","delete","maybePriorityLevel","didError","helpers","alternate","current","memoizedState","element","isLikelyComponentType","prototype","isReactComponent","ownNames","Object","getOwnPropertyNames","__proto__","name","displayName","test","performReactRefresh","staleFamilies","updatedFamilies","updates","_ref","family","prevType","update","firstError","failedRootsSnapshot","mountedRootsSnapshot","helpersByRootSnapshot","map","Error","scheduleRoot","register","push"],"sourceRoot":""}