@genesislcap/foundation-testing 10.3.1 → 11.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +1 -1
  2. package/dist/dts/playwright/setup.d.ts.map +1 -1
  3. package/dist/dts/playwright/test.d.ts +32 -5
  4. package/dist/dts/playwright/test.d.ts.map +1 -1
  5. package/dist/dts/suite/suite.d.ts +8 -1
  6. package/dist/dts/suite/suite.d.ts.map +1 -1
  7. package/dist/dts/utils/harness.d.ts +75 -0
  8. package/dist/dts/utils/harness.d.ts.map +1 -0
  9. package/dist/dts/utils/index.d.ts +2 -0
  10. package/dist/dts/utils/index.d.ts.map +1 -1
  11. package/dist/dts/utils/types.d.ts +11 -0
  12. package/dist/dts/utils/types.d.ts.map +1 -0
  13. package/dist/esm/component/fixture.js +0 -1
  14. package/dist/esm/component/index.js +0 -1
  15. package/dist/esm/index.federated.js +0 -1
  16. package/dist/esm/index.js +0 -1
  17. package/dist/esm/jsdom/setup.js +0 -1
  18. package/dist/esm/playwright/index.js +0 -1
  19. package/dist/esm/playwright/setup.js +5 -1
  20. package/dist/esm/playwright/test.js +42 -13
  21. package/dist/esm/suite/index.js +0 -1
  22. package/dist/esm/suite/suite.js +1 -2
  23. package/dist/esm/utils/harness.js +55 -0
  24. package/dist/esm/utils/index.js +2 -1
  25. package/dist/esm/utils/logger.js +0 -1
  26. package/dist/esm/utils/types.js +2 -0
  27. package/dist/esm/uvu/index.js +0 -1
  28. package/dist/esm/uvu/uvu.js +0 -1
  29. package/dist/foundation-testing.api.json +506 -0
  30. package/dist/foundation-testing.d.ts +100 -0
  31. package/docs/api/foundation-testing.equal.md +13 -0
  32. package/docs/api/foundation-testing.expect.md +13 -0
  33. package/docs/api/foundation-testing.filterconditionally.md +15 -0
  34. package/docs/api/foundation-testing.md +9 -0
  35. package/docs/api/foundation-testing.resettestharness.md +24 -0
  36. package/docs/api/foundation-testing.sinonwrapper.md +17 -0
  37. package/docs/api/foundation-testing.spiedfunctions.md +15 -0
  38. package/docs/api/foundation-testing.suitecallback.md +15 -0
  39. package/docs/api/foundation-testing.testspy.md +38 -0
  40. package/docs/api/foundation-testing.withtestharness.md +17 -0
  41. package/docs/api-report.md +123 -87
  42. package/package.json +12 -7
  43. package/dist/1.0.0.remoteEntry.js +0 -1
  44. package/dist/191.0099ca6c24422254d51d36c222dc6023.js.map +0 -1
  45. package/dist/191.191.613504f8a55556ba573c.js +0 -2
  46. package/dist/259.1ff0e7689abdc0527a57f2eb20369ada.js.map +0 -1
  47. package/dist/259.259.724449a74ba114ef0d82.js +0 -2
  48. package/dist/415.32cf4cabeed75f5d759d12434a4de5c7.js.map +0 -1
  49. package/dist/415.415.ee8e35767118401bccab.js +0 -3
  50. package/dist/415.415.ee8e35767118401bccab.js.LICENSE.txt +0 -4
  51. package/dist/623.1b885cabcffad0807eeb0de7ad5dd497.js.map +0 -1
  52. package/dist/623.623.148af50848667bfda381.js +0 -3
  53. package/dist/623.623.148af50848667bfda381.js.LICENSE.txt +0 -4
  54. package/dist/755.497b49c90948bc3e157823cb2632c52a.js.map +0 -1
  55. package/dist/755.755.5f9603173373118bd373.js +0 -2
  56. package/dist/772.1d442e2541aac79f2c1091cc41a66926.js.map +0 -1
  57. package/dist/772.772.76d81e3af1ce835f1f47.js +0 -2
  58. package/dist/dashboard.json +0 -1
  59. package/dist/esm/component/fixture.js.map +0 -1
  60. package/dist/esm/component/index.js.map +0 -1
  61. package/dist/esm/index.federated.js.map +0 -1
  62. package/dist/esm/index.js.map +0 -1
  63. package/dist/esm/jsdom/setup.js.map +0 -1
  64. package/dist/esm/playwright/index.js.map +0 -1
  65. package/dist/esm/playwright/setup.js.map +0 -1
  66. package/dist/esm/playwright/test.js.map +0 -1
  67. package/dist/esm/suite/index.js.map +0 -1
  68. package/dist/esm/suite/suite.js.map +0 -1
  69. package/dist/esm/utils/index.js.map +0 -1
  70. package/dist/esm/utils/logger.js.map +0 -1
  71. package/dist/esm/uvu/index.js.map +0 -1
  72. package/dist/esm/uvu/uvu.js.map +0 -1
  73. package/dist/favicon.ico +0 -0
  74. package/dist/foundation-testing.iife.min.js +0 -15
  75. package/dist/foundation-testing.js +0 -6991
  76. package/dist/foundation-testing.min.js +0 -15
  77. package/dist/foundationTesting.f38614af33c4c4be86b1918f8d126cd9.js.map +0 -1
  78. package/dist/index.ejs +0 -23
  79. package/dist/index.html +0 -14
  80. package/dist/info.ejs +0 -13
  81. package/dist/main.484382eb648d01b1b33d.js +0 -2
  82. package/dist/main.f58a8d7f17348e63bf4abb67acf3e598.js.map +0 -1
  83. package/dist/npm.consola.713.2f64f3cac7864c3b4057.js +0 -2
  84. package/dist/npm.consola.8813a44257414a02ed3be5608793f087.js.map +0 -1
  85. package/dist/npm.diff.83d06b572c2ee1bd4957fc9f121bf65a.js.map +0 -1
  86. package/dist/npm.diff.852.9166591dbfda57fefcc7.js +0 -2
  87. package/dist/npm.microsoft.127.8c2d0309b2c5ee49f9ed.js +0 -1469
  88. package/dist/npm.microsoft.127.8c2d0309b2c5ee49f9ed.js.LICENSE.txt +0 -14
  89. package/dist/npm.microsoft.53571229b0cfc6a6b1b069cfe9a8483d.js.map +0 -1
  90. package/dist/remoteEntry.js +0 -2
  91. package/dist/serve.json +0 -3
@@ -1,15 +0,0 @@
1
- const e=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof global)return global;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;try{return new Function("return this")()}catch(e){return{}}}();void 0===e.trustedTypes&&(e.trustedTypes={createPolicy:(e,t)=>t});const t={configurable:!1,enumerable:!1,writable:!1};void 0===e.FAST&&Reflect.defineProperty(e,"FAST",Object.assign({value:Object.create(null)},t));const s=e.FAST;if(void 0===s.getById){const e=Object.create(null);Reflect.defineProperty(s,"getById",Object.assign({value(t,s){let n=e[t];return void 0===n&&(n=s?e[t]=s():null),n}},t))}const n=Object.freeze([]);function r(){const e=new WeakMap;return function(t){let s=e.get(t);if(void 0===s){let n=Reflect.getPrototypeOf(t);for(;void 0===s&&null!==n;)s=e.get(n),n=Reflect.getPrototypeOf(n);s=void 0===s?[]:s.slice(0),e.set(t,s)}return s}}const i=e.FAST.getById(1,(()=>{const t=[],s=[];function n(){if(s.length)throw s.shift()}function r(e){try{e.call()}catch(e){s.push(e),setTimeout(n,0)}}function i(){let e=0;for(;e<t.length;)if(r(t[e]),e++,e>1024){for(let s=0,n=t.length-e;s<n;s++)t[s]=t[s+e];t.length-=e,e=0}t.length=0}return Object.freeze({enqueue:function(s){t.length<1&&e.requestAnimationFrame(i),t.push(s)},process:i})})),o=e.trustedTypes.createPolicy("fast-html",{createHTML:e=>e});let a=o;const l=`fast-${Math.random().toString(36).substring(2,8)}`,c=`${l}{`,h=`}${l}`,u=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(e){if(a!==o)throw new Error("The HTML policy can only be set once.");a=e},createHTML:e=>a.createHTML(e),isMarker:e=>e&&8===e.nodeType&&e.data.startsWith(l),extractDirectiveIndexFromMarker:e=>parseInt(e.data.replace(`${l}:`,"")),createInterpolationPlaceholder:e=>`${c}${e}${h}`,createCustomAttributePlaceholder(e,t){return`${e}="${this.createInterpolationPlaceholder(t)}"`},createBlockPlaceholder:e=>`\x3c!--${l}:${e}--\x3e`,queueUpdate:i.enqueue,processUpdates:i.process,nextUpdate:()=>new Promise(i.enqueue),setAttribute(e,t,s){null==s?e.removeAttribute(t):e.setAttribute(t,s)},setBooleanAttribute(e,t,s){s?e.setAttribute(t,""):e.removeAttribute(t)},removeChildNodes(e){for(let t=e.firstChild;null!==t;t=e.firstChild)e.removeChild(t)},createTemplateWalker:e=>document.createTreeWalker(e,133,null,!1)});class d{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const s=t.indexOf(e);-1!==s&&t.splice(s,1)}}notify(e){const t=this.spillover,s=this.source;if(void 0===t){const t=this.sub1,n=this.sub2;void 0!==t&&t.handleChange(s,e),void 0!==n&&n.handleChange(s,e)}else for(let n=0,r=t.length;n<r;++n)t[n].handleChange(s,e)}}class f{constructor(e){this.subscribers={},this.sourceSubscribers=null,this.source=e}notify(e){var t;const s=this.subscribers[e];void 0!==s&&s.notify(e),null===(t=this.sourceSubscribers)||void 0===t||t.notify(e)}subscribe(e,t){var s;if(t){let s=this.subscribers[t];void 0===s&&(this.subscribers[t]=s=new d(this.source)),s.subscribe(e)}else this.sourceSubscribers=null!==(s=this.sourceSubscribers)&&void 0!==s?s:new d(this.source),this.sourceSubscribers.subscribe(e)}unsubscribe(e,t){var s;if(t){const s=this.subscribers[t];void 0!==s&&s.unsubscribe(e)}else null===(s=this.sourceSubscribers)||void 0===s||s.unsubscribe(e)}}const g=s.getById(2,(()=>{const e=/(:|&&|\|\||if)/,t=new WeakMap,s=u.queueUpdate;let n,i=e=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function o(e){let s=e.$fastController||t.get(e);return void 0===s&&(Array.isArray(e)?s=i(e):t.set(e,s=new f(e))),s}const a=r();class l{constructor(e){this.name=e,this.field=`_${e}`,this.callback=`${e}Changed`}getValue(e){return void 0!==n&&n.watch(e,this.name),e[this.field]}setValue(e,t){const s=this.field,n=e[s];if(n!==t){e[s]=t;const r=e[this.callback];"function"==typeof r&&r.call(e,n,t),o(e).notify(this.name)}}}class c extends d{constructor(e,t,s=!1){super(e,t),this.binding=e,this.isVolatileBinding=s,this.needsRefresh=!0,this.needsQueue=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}observe(e,t){this.needsRefresh&&null!==this.last&&this.disconnect();const s=n;n=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;const r=this.binding(e,t);return n=s,r}disconnect(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(e,t){const s=this.last,r=o(e),i=null===s?this.first:{};if(i.propertySource=e,i.propertyName=t,i.notifier=r,r.subscribe(this,t),null!==s){if(!this.needsRefresh){let t;n=void 0,t=s.propertySource[s.propertyName],n=this,e===t&&(this.needsRefresh=!0)}s.next=i}this.last=i}handleChange(){this.needsQueue&&(this.needsQueue=!1,s(this))}call(){null!==this.last&&(this.needsQueue=!0,this.notify(this))}records(){let e=this.first;return{next:()=>{const t=e;return void 0===t?{value:void 0,done:!0}:(e=e.next,{value:t,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(e){i=e},getNotifier:o,track(e,t){void 0!==n&&n.watch(e,t)},trackVolatile(){void 0!==n&&(n.needsRefresh=!0)},notify(e,t){o(e).notify(t)},defineProperty(e,t){"string"==typeof t&&(t=new l(t)),a(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get:function(){return t.getValue(this)},set:function(e){t.setValue(this,e)}})},getAccessors:a,binding(e,t,s=this.isVolatileBinding(e)){return new c(e,t,s)},isVolatileBinding:t=>e.test(t.toString())})}));function p(e,t){g.defineProperty(e,t)}const y=s.getById(3,(()=>{let e=null;return{get:()=>e,set(t){e=t}}}));class v{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return y.get()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}static setEvent(e){y.set(e)}}g.defineProperty(v.prototype,"index"),g.defineProperty(v.prototype,"length");const b=Object.seal(new v);class m{constructor(){this.targetIndex=0}}class w extends m{constructor(){super(...arguments),this.createPlaceholder=u.createInterpolationPlaceholder}}function C(e,t){this.source=e,this.context=t,null===this.bindingObserver&&(this.bindingObserver=g.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(e,t))}function _(e,t){this.source=e,this.context=t,this.target.addEventListener(this.targetName,this)}function S(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function O(){this.bindingObserver.disconnect(),this.source=null,this.context=null;const e=this.target.$fastView;void 0!==e&&e.isComposed&&(e.unbind(),e.needsBindOnly=!0)}function k(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function T(e){u.setAttribute(this.target,this.targetName,e)}function x(e){u.setBooleanAttribute(this.target,this.targetName,e)}function R(e){if(null==e&&(e=""),e.create){this.target.textContent="";let t=this.target.$fastView;void 0===t?t=e.create():this.target.$fastTemplate!==e&&(t.isComposed&&(t.remove(),t.unbind()),t=e.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(this.source,this.context)):(t.isComposed=!0,t.bind(this.source,this.context),t.insertBefore(this.target),this.target.$fastView=t,this.target.$fastTemplate=e)}else{const t=this.target.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),this.target.textContent=e}}function A(e){this.target[this.targetName]=e}function E(e){const t=this.classVersions||Object.create(null),s=this.target;let n=this.version||0;if(null!=e&&e.length){const r=e.split(/\s+/);for(let e=0,i=r.length;e<i;++e){const i=r[e];""!==i&&(t[i]=n,s.classList.add(i))}}if(this.classVersions=t,this.version=n+1,0!==n){n-=1;for(const e in t)t[e]===n&&s.classList.remove(e)}}class $ extends w{constructor(e){super(),this.binding=e,this.bind=C,this.unbind=S,this.updateTarget=T,this.isBindingVolatile=g.isVolatileBinding(this.binding)}get targetName(){return this.originalTargetName}set targetName(e){if(this.originalTargetName=e,void 0!==e)switch(e[0]){case":":if(this.cleanedTargetName=e.substr(1),this.updateTarget=A,"innerHTML"===this.cleanedTargetName){const e=this.binding;this.binding=(t,s)=>u.createHTML(e(t,s))}break;case"?":this.cleanedTargetName=e.substr(1),this.updateTarget=x;break;case"@":this.cleanedTargetName=e.substr(1),this.bind=_,this.unbind=k;break;default:this.cleanedTargetName=e,"class"===e&&(this.updateTarget=E)}}targetAtContent(){this.updateTarget=R,this.unbind=O}createBehavior(e){return new j(e,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class j{constructor(e,t,s,n,r,i,o){this.source=null,this.context=null,this.bindingObserver=null,this.target=e,this.binding=t,this.isBindingVolatile=s,this.bind=n,this.unbind=r,this.updateTarget=i,this.targetName=o}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(e){v.setEvent(e);const t=this.binding(this.source,this.context);v.setEvent(null),!0!==t&&e.preventDefault()}}let P=null;class F{addFactory(e){e.targetIndex=this.targetIndex,this.behaviorFactories.push(e)}captureContentBinding(e){e.targetAtContent(),this.addFactory(e)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){P=this}static borrow(e){const t=P||new F;return t.directives=e,t.reset(),P=null,t}}function L(e){if(1===e.length)return e[0];let t;const s=e.length,n=e.map((e=>"string"==typeof e?()=>e:(t=e.targetName||t,e.binding))),r=new $(((e,t)=>{let r="";for(let i=0;i<s;++i)r+=n[i](e,t);return r}));return r.targetName=t,r}const B=h.length;function M(e,t){const s=t.split(c);if(1===s.length)return null;const n=[];for(let t=0,r=s.length;t<r;++t){const r=s[t],i=r.indexOf(h);let o;if(-1===i)o=r;else{const t=parseInt(r.substring(0,i));n.push(e.directives[t]),o=r.substring(i+B)}""!==o&&n.push(o)}return n}function N(e,t,s=!1){const n=t.attributes;for(let r=0,i=n.length;r<i;++r){const o=n[r],a=o.value,l=M(e,a);let c=null;null===l?s&&(c=new $((()=>a)),c.targetName=o.name):c=L(l),null!==c&&(t.removeAttributeNode(o),r--,i--,e.addFactory(c))}}function I(e,t,s){const n=M(e,t.textContent);if(null!==n){let r=t;for(let i=0,o=n.length;i<o;++i){const o=n[i],a=0===i?t:r.parentNode.insertBefore(document.createTextNode(""),r.nextSibling);"string"==typeof o?a.textContent=o:(a.textContent=" ",e.captureContentBinding(o)),r=a,e.targetIndex++,a!==t&&s.nextNode()}e.targetIndex--}}const D=document.createRange();class V{constructor(e,t){this.fragment=e,this.behaviors=t,this.source=null,this.context=null,this.firstChild=e.firstChild,this.lastChild=e.lastChild}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const s=e.parentNode;let n,r=this.firstChild;for(;r!==t;)n=r.nextSibling,s.insertBefore(r,e),r=n;s.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let s,n=this.firstChild;for(;n!==t;)s=n.nextSibling,e.appendChild(n),n=s;e.appendChild(t)}dispose(){const e=this.firstChild.parentNode,t=this.lastChild;let s,n=this.firstChild;for(;n!==t;)s=n.nextSibling,e.removeChild(n),n=s;e.removeChild(t);const r=this.behaviors,i=this.source;for(let e=0,t=r.length;e<t;++e)r[e].unbind(i)}bind(e,t){const s=this.behaviors;if(this.source!==e)if(null!==this.source){const n=this.source;this.source=e,this.context=t;for(let r=0,i=s.length;r<i;++r){const i=s[r];i.unbind(n),i.bind(e,t)}}else{this.source=e,this.context=t;for(let n=0,r=s.length;n<r;++n)s[n].bind(e,t)}}unbind(){if(null===this.source)return;const e=this.behaviors,t=this.source;for(let s=0,n=e.length;s<n;++s)e[s].unbind(t);this.source=null}static disposeContiguousBatch(e){if(0!==e.length){D.setStartBefore(e[0].firstChild),D.setEndAfter(e[e.length-1].lastChild),D.deleteContents();for(let t=0,s=e.length;t<s;++t){const s=e[t],n=s.behaviors,r=s.source;for(let e=0,t=n.length;e<t;++e)n[e].unbind(r)}}}}class z{constructor(e,t){this.behaviorCount=0,this.hasHostBehaviors=!1,this.fragment=null,this.targetOffset=0,this.viewBehaviorFactories=null,this.hostBehaviorFactories=null,this.html=e,this.directives=t}create(e){if(null===this.fragment){let e;const t=this.html;if("string"==typeof t){e=document.createElement("template"),e.innerHTML=u.createHTML(t);const s=e.content.firstElementChild;null!==s&&"TEMPLATE"===s.tagName&&(e=s)}else e=t;const s=function(e,t){const s=e.content;document.adoptNode(s);const n=F.borrow(t);N(n,e,!0);const r=n.behaviorFactories;n.reset();const i=u.createTemplateWalker(s);let o;for(;o=i.nextNode();)switch(n.targetIndex++,o.nodeType){case 1:N(n,o);break;case 3:I(n,o,i);break;case 8:u.isMarker(o)&&n.addFactory(t[u.extractDirectiveIndexFromMarker(o)])}let a=0;(u.isMarker(s.firstChild)||1===s.childNodes.length&&t.length)&&(s.insertBefore(document.createComment(""),s.firstChild),a=-1);const l=n.behaviorFactories;return n.release(),{fragment:s,viewBehaviorFactories:l,hostBehaviorFactories:r,targetOffset:a}}(e,this.directives);this.fragment=s.fragment,this.viewBehaviorFactories=s.viewBehaviorFactories,this.hostBehaviorFactories=s.hostBehaviorFactories,this.targetOffset=s.targetOffset,this.behaviorCount=this.viewBehaviorFactories.length+this.hostBehaviorFactories.length,this.hasHostBehaviors=this.hostBehaviorFactories.length>0}const t=this.fragment.cloneNode(!0),s=this.viewBehaviorFactories,n=new Array(this.behaviorCount),r=u.createTemplateWalker(t);let i=0,o=this.targetOffset,a=r.nextNode();for(let e=s.length;i<e;++i){const e=s[i],t=e.targetIndex;for(;null!==a;){if(o===t){n[i]=e.createBehavior(a);break}a=r.nextNode(),o++}}if(this.hasHostBehaviors){const t=this.hostBehaviorFactories;for(let s=0,r=t.length;s<r;++s,++i)n[i]=t[s].createBehavior(e)}return new V(t,n)}render(e,t,s){"string"==typeof t&&(t=document.getElementById(t)),void 0===s&&(s=t);const n=this.create(s);return n.bind(e,b),n.appendTo(t),n}}class U{constructor(){this.targets=new WeakSet}addStylesTo(e){this.targets.add(e)}removeStylesFrom(e){this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}}function q(e){return e.map((e=>e instanceof U?q(e.styles):[e])).reduce(((e,t)=>e.concat(t)),[])}function W(e){return e.map((e=>e instanceof U?e.behaviors:null)).reduce(((e,t)=>null===t?e:(null===e&&(e=[]),e.concat(t))),null)}U.create=(()=>{if(u.supportsAdoptedStyleSheets){const e=new Map;return t=>new H(t,e)}return e=>new J(e)})();class H extends U{constructor(e,t){super(),this.styles=e,this.styleSheetCache=t,this._styleSheets=void 0,this.behaviors=W(e)}get styleSheets(){if(void 0===this._styleSheets){const e=this.styles,t=this.styleSheetCache;this._styleSheets=q(e).map((e=>{if(e instanceof CSSStyleSheet)return e;let s=t.get(e);return void 0===s&&(s=new CSSStyleSheet,s.replaceSync(e),t.set(e,s)),s}))}return this._styleSheets}addStylesTo(e){e.adoptedStyleSheets=[...e.adoptedStyleSheets,...this.styleSheets],super.addStylesTo(e)}removeStylesFrom(e){const t=this.styleSheets;e.adoptedStyleSheets=e.adoptedStyleSheets.filter((e=>-1===t.indexOf(e))),super.removeStylesFrom(e)}}let Q=0;class J extends U{constructor(e){super(),this.styles=e,this.behaviors=null,this.behaviors=W(e),this.styleSheets=q(e),this.styleClass="fast-style-class-"+ ++Q}addStylesTo(e){const t=this.styleSheets,s=this.styleClass;e=this.normalizeTarget(e);for(let n=0;n<t.length;n++){const r=document.createElement("style");r.innerHTML=t[n],r.className=s,e.append(r)}super.addStylesTo(e)}removeStylesFrom(e){const t=(e=this.normalizeTarget(e)).querySelectorAll(`.${this.styleClass}`);for(let s=0,n=t.length;s<n;++s)e.removeChild(t[s]);super.removeStylesFrom(e)}isAttachedTo(e){return super.isAttachedTo(this.normalizeTarget(e))}normalizeTarget(e){return e===document?document.body:e}}const Y=Object.freeze({locate:r()}),G={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};class K{constructor(e,t,s=t.toLowerCase(),n="reflect",r){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=s,this.mode=n,this.converter=r,this.fieldName=`_${t}`,this.callbackName=`${t}Changed`,this.hasCallback=this.callbackName in e.prototype,"boolean"===n&&void 0===r&&(this.converter=G)}setValue(e,t){const s=e[this.fieldName],n=this.converter;void 0!==n&&(t=n.fromView(t)),s!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](s,t),e.$fastController.notify(this.name))}getValue(e){return g.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,s=this.guards;s.has(e)||"fromView"===t||u.queueUpdate((()=>{s.add(e);const n=e[this.fieldName];switch(t){case"reflect":const t=this.converter;u.setAttribute(e,this.attribute,void 0!==t?t.toView(n):n);break;case"boolean":u.setBooleanAttribute(e,this.attribute,n)}s.delete(e)}))}static collect(e,...t){const s=[];t.push(Y.locate(e));for(let n=0,r=t.length;n<r;++n){const r=t[n];if(void 0!==r)for(let t=0,n=r.length;t<n;++t){const n=r[t];"string"==typeof n?s.push(new K(e,n)):s.push(new K(e,n.property,n.attribute,n.mode,n.converter))}}return s}}const X={mode:"open"},Z={},ee=s.getById(4,(()=>{const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t)})}));class te{constructor(e,t=e.definition){"string"==typeof t&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template;const s=K.collect(e,t.attributes),n=new Array(s.length),r={},i={};for(let e=0,t=s.length;e<t;++e){const t=s[e];n[e]=t.attribute,r[t.name]=t,i[t.attribute]=t}this.attributes=s,this.observedAttributes=n,this.propertyLookup=r,this.attributeLookup=i,this.shadowOptions=void 0===t.shadowOptions?X:null===t.shadowOptions?void 0:Object.assign(Object.assign({},X),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Z:Object.assign(Object.assign({},Z),t.elementOptions),this.styles=void 0===t.styles?void 0:Array.isArray(t.styles)?U.create(t.styles):t.styles instanceof U?t.styles:U.create([t.styles])}get isDefined(){return!!ee.getByType(this.type)}define(e=customElements){const t=this.type;if(ee.register(this)){const e=this.attributes,s=t.prototype;for(let t=0,n=e.length;t<n;++t)g.defineProperty(s,e[t]);Reflect.defineProperty(t,"observedAttributes",{value:this.observedAttributes,enumerable:!0})}return e.get(this.name)||e.define(this.name,t,this.elementOptions),this}}te.forType=ee.getByType;const se=new WeakMap,ne={bubbles:!0,composed:!0,cancelable:!0};function re(e){return e.shadowRoot||se.get(e)||null}class ie extends f{constructor(e,t){super(e),this.boundObservables=null,this.behaviors=null,this.needsInitialization=!0,this._template=null,this._styles=null,this._isConnected=!1,this.$fastController=this,this.view=null,this.element=e,this.definition=t;const s=t.shadowOptions;if(void 0!==s){const t=e.attachShadow(s);"closed"===s.mode&&se.set(e,t)}const n=g.getAccessors(e);if(n.length>0){const t=this.boundObservables=Object.create(null);for(let s=0,r=n.length;s<r;++s){const r=n[s].name,i=e[r];void 0!==i&&(delete e[r],t[r]=i)}}}get isConnected(){return g.track(this,"isConnected"),this._isConnected}setIsConnected(e){this._isConnected=e,g.notify(this,"isConnected")}get template(){return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get styles(){return this._styles}set styles(e){this._styles!==e&&(null!==this._styles&&this.removeStyles(this._styles),this._styles=e,this.needsInitialization||null===e||this.addStyles(e))}addStyles(e){const t=re(this.element)||this.element.getRootNode();if(e instanceof HTMLStyleElement)t.append(e);else if(!e.isAttachedTo(t)){const s=e.behaviors;e.addStylesTo(t),null!==s&&this.addBehaviors(s)}}removeStyles(e){const t=re(this.element)||this.element.getRootNode();if(e instanceof HTMLStyleElement)t.removeChild(e);else if(e.isAttachedTo(t)){const s=e.behaviors;e.removeStylesFrom(t),null!==s&&this.removeBehaviors(s)}}addBehaviors(e){const t=this.behaviors||(this.behaviors=new Map),s=e.length,n=[];for(let r=0;r<s;++r){const s=e[r];t.has(s)?t.set(s,t.get(s)+1):(t.set(s,1),n.push(s))}if(this._isConnected){const e=this.element;for(let t=0;t<n.length;++t)n[t].bind(e,b)}}removeBehaviors(e,t=!1){const s=this.behaviors;if(null===s)return;const n=e.length,r=[];for(let i=0;i<n;++i){const n=e[i];if(s.has(n)){const e=s.get(n)-1;0===e||t?s.delete(n)&&r.push(n):s.set(n,e)}}if(this._isConnected){const e=this.element;for(let t=0;t<r.length;++t)r[t].unbind(e)}}onConnectedCallback(){if(this._isConnected)return;const e=this.element;this.needsInitialization?this.finishInitialization():null!==this.view&&this.view.bind(e,b);const t=this.behaviors;if(null!==t)for(const[s]of t)s.bind(e,b);this.setIsConnected(!0)}onDisconnectedCallback(){if(!this._isConnected)return;this.setIsConnected(!1);const e=this.view;null!==e&&e.unbind();const t=this.behaviors;if(null!==t){const e=this.element;for(const[s]of t)s.unbind(e)}}onAttributeChangedCallback(e,t,s){const n=this.definition.attributeLookup[e];void 0!==n&&n.onAttributeChangedCallback(this.element,s)}emit(e,t,s){return!!this._isConnected&&this.element.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},ne),s)))}finishInitialization(){const e=this.element,t=this.boundObservables;if(null!==t){const s=Object.keys(t);for(let n=0,r=s.length;n<r;++n){const r=s[n];e[r]=t[r]}this.boundObservables=null}const s=this.definition;null===this._template&&(this.element.resolveTemplate?this._template=this.element.resolveTemplate():s.template&&(this._template=s.template||null)),null!==this._template&&this.renderTemplate(this._template),null===this._styles&&(this.element.resolveStyles?this._styles=this.element.resolveStyles():s.styles&&(this._styles=s.styles||null)),null!==this._styles&&this.addStyles(this._styles),this.needsInitialization=!1}renderTemplate(e){const t=this.element,s=re(t)||t;null!==this.view?(this.view.dispose(),this.view=null):this.needsInitialization||u.removeChildNodes(s),e&&(this.view=e.render(t,s,t))}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const s=te.forType(e.constructor);if(void 0===s)throw new Error("Missing FASTElement definition.");return e.$fastController=new ie(e,s)}}function oe(e){return class extends e{constructor(){super(),ie.forCustomElement(this)}$emit(e,t,s){return this.$fastController.emit(e,t,s)}connectedCallback(){this.$fastController.onConnectedCallback()}disconnectedCallback(){this.$fastController.onDisconnectedCallback()}attributeChangedCallback(e,t,s){this.$fastController.onAttributeChangedCallback(e,t,s)}}}const ae=Object.assign(oe(HTMLElement),{from:e=>oe(e),define:(e,t)=>new te(e,t).define().type});class le{createCSS(){return""}createBehavior(){}}
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */function ce(e,t,s,n){var r,i=arguments.length,o=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,s):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,s,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(o=(i<3?r(o):i>3?r(t,s,o):r(t,s))||o);return i>3&&o&&Object.defineProperty(t,s,o),o}const he=new Map;"metadata"in Reflect||(Reflect.metadata=function(e,t){return function(s){Reflect.defineMetadata(e,t,s)}},Reflect.defineMetadata=function(e,t,s){let n=he.get(s);void 0===n&&he.set(s,n=new Map),n.set(e,t)},Reflect.getOwnMetadata=function(e,t){const s=he.get(t);if(void 0!==s)return s.get(e)});class ue{constructor(e,t){this.container=e,this.key=t}instance(e){return this.registerResolver(0,e)}singleton(e){return this.registerResolver(1,e)}transient(e){return this.registerResolver(2,e)}callback(e){return this.registerResolver(3,e)}cachedCallback(e){return this.registerResolver(3,Pe(e))}aliasTo(e){return this.registerResolver(5,e)}registerResolver(e,t){const{container:s,key:n}=this;return this.container=this.key=void 0,s.registerResolver(n,new Ce(n,e,t))}}function de(e){const t=e.slice(),s=Object.keys(e),n=s.length;let r;for(let i=0;i<n;++i)r=s[i],Ve(r)||(t[r]=e[r]);return t}const fe=Object.freeze({none(e){throw Error(`${e.toString()} not registered, did you forget to add @singleton()?`)},singleton:e=>new Ce(e,1,e),transient:e=>new Ce(e,2,e)}),ge=Object.freeze({default:Object.freeze({parentLocator:()=>null,responsibleForOwnerRequests:!1,defaultResolver:fe.singleton})}),pe=new Map;function ye(e){return t=>Reflect.getOwnMetadata(e,t)}let ve=null;const be=Object.freeze({createContainer:e=>new $e(null,Object.assign({},ge.default,e)),findResponsibleContainer(e){const t=e.$$container$$;return t&&t.responsibleForOwnerRequests?t:be.findParentContainer(e)},findParentContainer(e){const t=new CustomEvent(Ae,{bubbles:!0,composed:!0,cancelable:!0,detail:{container:void 0}});return e.dispatchEvent(t),t.detail.container||be.getOrCreateDOMContainer()},getOrCreateDOMContainer:(e,t)=>e?e.$$container$$||new $e(e,Object.assign({},ge.default,t,{parentLocator:be.findParentContainer})):ve||(ve=new $e(null,Object.assign({},ge.default,t,{parentLocator:()=>null}))),getDesignParamtypes:ye("design:paramtypes"),getAnnotationParamtypes:ye("di:paramtypes"),getOrCreateAnnotationParamTypes(e){let t=this.getAnnotationParamtypes(e);return void 0===t&&Reflect.defineMetadata("di:paramtypes",t=[],e),t},getDependencies(e){let t=pe.get(e);if(void 0===t){const s=e.inject;if(void 0===s){const s=be.getDesignParamtypes(e),n=be.getAnnotationParamtypes(e);if(void 0===s)if(void 0===n){const s=Object.getPrototypeOf(e);t="function"==typeof s&&s!==Function.prototype?de(be.getDependencies(s)):[]}else t=de(n);else if(void 0===n)t=de(s);else{t=de(s);let e,r=n.length;for(let s=0;s<r;++s)e=n[s],void 0!==e&&(t[s]=e);const i=Object.keys(n);let o;r=i.length;for(let e=0;e<r;++e)o=i[e],Ve(o)||(t[o]=n[o])}}else t=de(s);pe.set(e,t)}return t},defineProperty(e,t,s,n=!1){const r=`$di_${t}`;Reflect.defineProperty(e,t,{get:function(){let e=this[r];if(void 0===e){const i=this instanceof HTMLElement?be.findResponsibleContainer(this):be.getOrCreateDOMContainer();if(e=i.get(s),this[r]=e,n&&this instanceof ae){const n=this.$fastController,i=()=>{be.findResponsibleContainer(this).get(s)!==this[r]&&(this[r]=e,n.notify(t))};n.subscribe({handleChange:i},"isConnected")}}return e}})},createInterface(e,t){const s="function"==typeof e?e:t,n="string"==typeof e?e:e&&"friendlyName"in e&&e.friendlyName||Me,r="string"!=typeof e&&(e&&"respectConnection"in e&&e.respectConnection||!1),i=function(e,t,s){if(null==e||void 0!==new.target)throw new Error(`No registration for interface: '${i.friendlyName}'`);if(t)be.defineProperty(e,t,i,r);else{be.getOrCreateAnnotationParamTypes(e)[s]=i}};return i.$isInterface=!0,i.friendlyName=null==n?"(anonymous)":n,null!=s&&(i.register=function(e,t){return s(new ue(e,null!=t?t:i))}),i.toString=function(){return`InterfaceSymbol<${i.friendlyName}>`},i},inject:(...e)=>function(t,s,n){if("number"==typeof n){const s=be.getOrCreateAnnotationParamTypes(t),r=e[0];void 0!==r&&(s[n]=r)}else if(s)be.defineProperty(t,s,e[0]);else{const s=n?be.getOrCreateAnnotationParamTypes(n.value):be.getOrCreateAnnotationParamTypes(t);let r;for(let t=0;t<e.length;++t)r=e[t],void 0!==r&&(s[t]=r)}},transient:e=>(e.register=function(t){return Fe.transient(e,e).register(t)},e.registerInRequestor=!1,e),singleton:(e,t=we)=>(e.register=function(t){return Fe.singleton(e,e).register(t)},e.registerInRequestor=t.scoped,e)}),me=be.createInterface("Container");be.inject;const we={scoped:!1};class Ce{constructor(e,t,s){this.key=e,this.strategy=t,this.state=s,this.resolving=!1}get $isResolver(){return!0}register(e){return e.registerResolver(this.key,this)}resolve(e,t){switch(this.strategy){case 0:return this.state;case 1:if(this.resolving)throw new Error(`Cyclic dependency found: ${this.state.name}`);return this.resolving=!0,this.state=e.getFactory(this.state).construct(t),this.strategy=0,this.resolving=!1,this.state;case 2:{const s=e.getFactory(this.state);if(null===s)throw new Error(`Resolver for ${String(this.key)} returned a null factory`);return s.construct(t)}case 3:return this.state(e,t,this);case 4:return this.state[0].resolve(e,t);case 5:return t.get(this.state);default:throw new Error(`Invalid resolver strategy specified: ${this.strategy}.`)}}getFactory(e){var t,s,n;switch(this.strategy){case 1:case 2:return e.getFactory(this.state);case 5:return null!==(n=null===(s=null===(t=e.getResolver(this.state))||void 0===t?void 0:t.getFactory)||void 0===s?void 0:s.call(t,e))&&void 0!==n?n:null;default:return null}}}function _e(e){return this.get(e)}function Se(e,t){return t(e)}class Oe{constructor(e,t){this.Type=e,this.dependencies=t,this.transformers=null}construct(e,t){let s;return s=void 0===t?new this.Type(...this.dependencies.map(_e,e)):new this.Type(...this.dependencies.map(_e,e),...t),null==this.transformers?s:this.transformers.reduce(Se,s)}registerTransformer(e){(this.transformers||(this.transformers=[])).push(e)}}const ke={$isResolver:!0,resolve:(e,t)=>t};function Te(e){return"function"==typeof e.register}function xe(e){return function(e){return Te(e)&&"boolean"==typeof e.registerInRequestor}(e)&&e.registerInRequestor}const Re=new Set(["Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","RangeError","ReferenceError","RegExp","Set","SharedArrayBuffer","String","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet"]),Ae="__DI_LOCATE_PARENT__",Ee=new Map;class $e{constructor(e,t){this.owner=e,this.config=t,this._parent=void 0,this.registerDepth=0,this.context=null,null!==e&&(e.$$container$$=this),this.resolvers=new Map,this.resolvers.set(me,ke),e instanceof Node&&e.addEventListener(Ae,(e=>{e.composedPath()[0]!==this.owner&&(e.detail.container=this,e.stopImmediatePropagation())}))}get parent(){return void 0===this._parent&&(this._parent=this.config.parentLocator(this.owner)),this._parent}get depth(){return null===this.parent?0:this.parent.depth+1}get responsibleForOwnerRequests(){return this.config.responsibleForOwnerRequests}registerWithContext(e,...t){return this.context=e,this.register(...t),this.context=null,this}register(...e){if(100==++this.registerDepth)throw new Error("Unable to autoregister dependency");let t,s,n,r,i;const o=this.context;for(let a=0,l=e.length;a<l;++a)if(t=e[a],Ne(t))if(Te(t))t.register(this,o);else if(void 0!==t.prototype)Fe.singleton(t,t).register(this);else for(s=Object.keys(t),r=0,i=s.length;r<i;++r)n=t[s[r]],Ne(n)&&(Te(n)?n.register(this,o):this.register(n));return--this.registerDepth,this}registerResolver(e,t){Le(e);const s=this.resolvers,n=s.get(e);return null==n?s.set(e,t):n instanceof Ce&&4===n.strategy?n.state.push(t):s.set(e,new Ce(e,4,[n,t])),t}registerTransformer(e,t){const s=this.getResolver(e);if(null==s)return!1;if(s.getFactory){const e=s.getFactory(this);return null!=e&&(e.registerTransformer(t),!0)}return!1}getResolver(e,t=!0){if(Le(e),void 0!==e.resolve)return e;let s,n=this;for(;null!=n;){if(s=n.resolvers.get(e),null!=s)return s;if(null==n.parent){const s=xe(e)?this:n;return t?this.jitRegister(e,s):null}n=n.parent}return null}has(e,t=!1){return!!this.resolvers.has(e)||!(!t||null==this.parent)&&this.parent.has(e,!0)}get(e){if(Le(e),e.$isResolver)return e.resolve(this,this);let t,s=this;for(;null!=s;){if(t=s.resolvers.get(e),null!=t)return t.resolve(s,this);if(null==s.parent){const n=xe(e)?this:s;return t=this.jitRegister(e,n),t.resolve(s,this)}s=s.parent}throw new Error(`Unable to resolve key: ${e}`)}getAll(e,t=!1){Le(e);const s=this;let r,i=s;if(t){let t=n;for(;null!=i;)r=i.resolvers.get(e),null!=r&&(t=t.concat(Be(r,i,s))),i=i.parent;return t}for(;null!=i;){if(r=i.resolvers.get(e),null!=r)return Be(r,i,s);if(i=i.parent,null==i)return n}return n}getFactory(e){let t=Ee.get(e);if(void 0===t){if(Ie(e))throw new Error(`${e.name} is a native function and therefore cannot be safely constructed by DI. If this is intentional, please use a callback or cachedCallback resolver.`);Ee.set(e,t=new Oe(e,be.getDependencies(e)))}return t}registerFactory(e,t){Ee.set(e,t)}createChild(e){return new $e(null,Object.assign({},this.config,e,{parentLocator:()=>this}))}jitRegister(e,t){if("function"!=typeof e)throw new Error(`Attempted to jitRegister something that is not a constructor: '${e}'. Did you forget to register this dependency?`);if(Re.has(e.name))throw new Error(`Attempted to jitRegister an intrinsic type: ${e.name}. Did you forget to add @inject(Key)`);if(Te(e)){const s=e.register(t);if(!(s instanceof Object)||null==s.resolve){const s=t.resolvers.get(e);if(null!=s)return s;throw new Error("A valid resolver was not returned from the static register method")}return s}if(e.$isInterface)throw new Error(`Attempted to jitRegister an interface: ${e.friendlyName}`);{const s=this.config.defaultResolver(e,t);return t.resolvers.set(e,s),s}}}const je=new WeakMap;function Pe(e){return function(t,s,n){if(je.has(n))return je.get(n);const r=e(t,s,n);return je.set(n,r),r}}const Fe=Object.freeze({instance:(e,t)=>new Ce(e,0,t),singleton:(e,t)=>new Ce(e,1,t),transient:(e,t)=>new Ce(e,2,t),callback:(e,t)=>new Ce(e,3,t),cachedCallback:(e,t)=>new Ce(e,3,Pe(t)),aliasTo:(e,t)=>new Ce(t,5,e)});function Le(e){if(null==e)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function Be(e,t,s){if(e instanceof Ce&&4===e.strategy){const n=e.state;let r=n.length;const i=new Array(r);for(;r--;)i[r]=n[r].resolve(t,s);return i}return[e.resolve(t,s)]}const Me="(anonymous)";function Ne(e){return"object"==typeof e&&null!==e||"function"==typeof e}const Ie=function(){const e=new WeakMap;let t=!1,s="",n=0;return function(r){return t=e.get(r),void 0===t&&(s=r.toString(),n=s.length,t=n>=29&&n<=100&&125===s.charCodeAt(n-1)&&s.charCodeAt(n-2)<=32&&93===s.charCodeAt(n-3)&&101===s.charCodeAt(n-4)&&100===s.charCodeAt(n-5)&&111===s.charCodeAt(n-6)&&99===s.charCodeAt(n-7)&&32===s.charCodeAt(n-8)&&101===s.charCodeAt(n-9)&&118===s.charCodeAt(n-10)&&105===s.charCodeAt(n-11)&&116===s.charCodeAt(n-12)&&97===s.charCodeAt(n-13)&&110===s.charCodeAt(n-14)&&88===s.charCodeAt(n-15),e.set(r,t)),t}}(),De={};function Ve(e){switch(typeof e){case"number":return e>=0&&(0|e)===e;case"string":{const t=De[e];if(void 0!==t)return t;const s=e.length;if(0===s)return De[e]=!1;let n=0;for(let t=0;t<s;++t)if(n=e.charCodeAt(t),0===t&&48===n&&s>1||n<48||n>57)return De[e]=!1;return De[e]=!0}default:return!1}}function ze(e){return`${e.toLowerCase()}:presentation`}const Ue=new Map,qe=Object.freeze({define(e,t,s){const n=ze(e);void 0===Ue.get(n)?Ue.set(n,t):Ue.set(n,!1),s.register(Fe.instance(n,t))},forTag(e,t){const s=ze(e),n=Ue.get(s);if(!1===n){return be.findResponsibleContainer(t).get(s)}return n||null}});class We{constructor(e,t){this.template=e||null,this.styles=void 0===t?null:Array.isArray(t)?U.create(t):t instanceof U?t:U.create([t])}applyTo(e){const t=e.$fastController;null===t.template&&(t.template=this.template),null===t.styles&&(t.styles=this.styles)}}class He extends ae{constructor(){super(...arguments),this._presentation=void 0}get $presentation(){return void 0===this._presentation&&(this._presentation=qe.forTag(this.tagName,this)),this._presentation}templateChanged(){void 0!==this.template&&(this.$fastController.template=this.template)}stylesChanged(){void 0!==this.styles&&(this.$fastController.styles=this.styles)}connectedCallback(){null!==this.$presentation&&this.$presentation.applyTo(this),super.connectedCallback()}static compose(e){return(t={})=>new Je(this===He?class extends He{}:this,e,t)}}function Qe(e,t,s){return"function"==typeof e?e(t,s):e}ce([p],He.prototype,"template",void 0),ce([p],He.prototype,"styles",void 0);class Je{constructor(e,t,s){this.type=e,this.elementDefinition=t,this.overrideDefinition=s,this.definition=Object.assign(Object.assign({},this.elementDefinition),this.overrideDefinition)}register(e,t){const s=this.definition,n=this.overrideDefinition,r=`${s.prefix||t.elementPrefix}-${s.baseName}`;t.tryDefineElement({name:r,type:this.type,baseClass:this.elementDefinition.baseClass,callback:e=>{const t=new We(Qe(s.template,e,s),Qe(s.styles,e,s));e.definePresentation(t);let r=Qe(s.shadowOptions,e,s);e.shadowRootMode&&(r?n.shadowOptions||(r.mode=e.shadowRootMode):null!==r&&(r={mode:e.shadowRootMode})),e.defineElement({elementOptions:Qe(s.elementOptions,e,s),shadowOptions:r,attributes:Qe(s.attributes,e,s)})}})}}function Ye(e){const t=e.parentElement;if(t)return t;{const t=e.getRootNode();if(t.host instanceof HTMLElement)return t.host}return null}const Ge=document.createElement("div");class Ke{setProperty(e,t){u.queueUpdate((()=>this.target.setProperty(e,t)))}removeProperty(e){u.queueUpdate((()=>this.target.removeProperty(e)))}}class Xe extends Ke{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Ze extends Ke{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class et{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),g.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),u.queueUpdate((()=>{null!==this.target&&this.target.setProperty(e,t)}))}removeProperty(e){this.store.delete(e),u.queueUpdate((()=>{null!==this.target&&this.target.removeProperty(e)}))}handleChange(e,t){const{sheet:s}=this.style;if(s){const e=s.insertRule(":host{}",s.cssRules.length);this.target=s.cssRules[e].style}else this.target=null}}ce([p],et.prototype,"target",void 0);class tt{constructor(e){this.target=e.style}setProperty(e,t){u.queueUpdate((()=>this.target.setProperty(e,t)))}removeProperty(e){u.queueUpdate((()=>this.target.removeProperty(e)))}}class st{setProperty(e,t){st.properties[e]=t;for(const s of st.roots.values())it.getOrCreate(st.normalizeRoot(s)).setProperty(e,t)}removeProperty(e){delete st.properties[e];for(const t of st.roots.values())it.getOrCreate(st.normalizeRoot(t)).removeProperty(e)}static registerRoot(e){const{roots:t}=st;if(!t.has(e)){t.add(e);const s=it.getOrCreate(this.normalizeRoot(e));for(const e in st.properties)s.setProperty(e,st.properties[e])}}static unregisterRoot(e){const{roots:t}=st;if(t.has(e)){t.delete(e);const s=it.getOrCreate(st.normalizeRoot(e));for(const e in st.properties)s.removeProperty(e)}}static normalizeRoot(e){return e===Ge?document:e}}st.roots=new Set,st.properties={};const nt=new WeakMap,rt=u.supportsAdoptedStyleSheets?class extends Ke{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(U.create([t]))}}:et,it=Object.freeze({getOrCreate(e){if(nt.has(e))return nt.get(e);let t;return e===Ge?t=new st:e instanceof Document?t=u.supportsAdoptedStyleSheets?new Xe:new Ze:t=e instanceof ae?new rt(e):new tt(e),nt.set(e,t),t}});class ot extends le{constructor(e){super(),this.subscribers=new WeakMap,this._appliedTo=new Set,this.name=e.name,null!==e.cssCustomPropertyName&&(this.cssCustomProperty=`--${e.cssCustomPropertyName}`,this.cssVar=`var(${this.cssCustomProperty})`),this.id=ot.uniqueId(),ot.tokensById.set(this.id,this)}get appliedTo(){return[...this._appliedTo]}static from(e){return new ot({name:"string"==typeof e?e:e.name,cssCustomPropertyName:"string"==typeof e?e:void 0===e.cssCustomPropertyName?e.name:e.cssCustomPropertyName})}static isCSSDesignToken(e){return"string"==typeof e.cssCustomProperty}static isDerivedDesignTokenValue(e){return"function"==typeof e}static getTokenById(e){return ot.tokensById.get(e)}getOrCreateSubscriberSet(e=this){return this.subscribers.get(e)||this.subscribers.set(e,new Set)&&this.subscribers.get(e)}createCSS(){return this.cssVar||""}getValueFor(e){const t=ut.getOrCreate(e).get(this);if(void 0!==t)return t;throw new Error(`Value could not be retrieved for token named "${this.name}". Ensure the value is set for ${e} or an ancestor of ${e}.`)}setValueFor(e,t){return this._appliedTo.add(e),t instanceof ot&&(t=this.alias(t)),ut.getOrCreate(e).set(this,t),this}deleteValueFor(e){return this._appliedTo.delete(e),ut.existsFor(e)&&ut.getOrCreate(e).delete(this),this}withDefault(e){return this.setValueFor(Ge,e),this}subscribe(e,t){const s=this.getOrCreateSubscriberSet(t);t&&!ut.existsFor(t)&&ut.getOrCreate(t),s.has(e)||s.add(e)}unsubscribe(e,t){const s=this.subscribers.get(t||this);s&&s.has(e)&&s.delete(e)}notify(e){const t=Object.freeze({token:this,target:e});this.subscribers.has(this)&&this.subscribers.get(this).forEach((e=>e.handleChange(t))),this.subscribers.has(e)&&this.subscribers.get(e).forEach((e=>e.handleChange(t)))}alias(e){return t=>e.getValueFor(t)}}ot.uniqueId=(()=>{let e=0;return()=>(e++,e.toString(16))})(),ot.tokensById=new Map;class at{constructor(e,t,s){this.source=e,this.token=t,this.node=s,this.dependencies=new Set,this.observer=g.binding(e,this,!1),this.observer.handleChange=this.observer.call,this.handleChange()}disconnect(){this.observer.disconnect()}handleChange(){this.node.store.set(this.token,this.observer.observe(this.node.target,b))}}class lt{constructor(){this.values=new Map}set(e,t){this.values.get(e)!==t&&(this.values.set(e,t),g.getNotifier(this).notify(e.id))}get(e){return g.track(this,e.id),this.values.get(e)}delete(e){this.values.delete(e)}all(){return this.values.entries()}}const ct=new WeakMap,ht=new WeakMap;class ut{constructor(e){this.target=e,this.store=new lt,this.children=[],this.assignedValues=new Map,this.reflecting=new Set,this.bindingObservers=new Map,this.tokenValueChangeHandler={handleChange:(e,t)=>{const s=ot.getTokenById(t);if(s&&(s.notify(this.target),ot.isCSSDesignToken(s))){const t=this.parent,n=this.isReflecting(s);if(t){const r=t.get(s),i=e.get(s);r===i||n?r===i&&n&&this.stopReflectToCSS(s):this.reflectToCSS(s)}else n||this.reflectToCSS(s)}}},ct.set(e,this),g.getNotifier(this.store).subscribe(this.tokenValueChangeHandler),e instanceof ae?e.$fastController.addBehaviors([this]):e.isConnected&&this.bind()}static getOrCreate(e){return ct.get(e)||new ut(e)}static existsFor(e){return ct.has(e)}static findParent(e){if(Ge!==e.target){let t=Ye(e.target);for(;null!==t;){if(ct.has(t))return ct.get(t);t=Ye(t)}return ut.getOrCreate(Ge)}return null}static findClosestAssignedNode(e,t){let s=t;do{if(s.has(e))return s;s=s.parent?s.parent:s.target!==Ge?ut.getOrCreate(Ge):null}while(null!==s);return null}get parent(){return ht.get(this)||null}has(e){return this.assignedValues.has(e)}get(e){const t=this.store.get(e);if(void 0!==t)return t;const s=this.getRaw(e);return void 0!==s?(this.hydrate(e,s),this.get(e)):void 0}getRaw(e){var t;return this.assignedValues.has(e)?this.assignedValues.get(e):null===(t=ut.findClosestAssignedNode(e,this))||void 0===t?void 0:t.getRaw(e)}set(e,t){ot.isDerivedDesignTokenValue(this.assignedValues.get(e))&&this.tearDownBindingObserver(e),this.assignedValues.set(e,t),ot.isDerivedDesignTokenValue(t)?this.setupBindingObserver(e,t):this.store.set(e,t)}delete(e){this.assignedValues.delete(e),this.tearDownBindingObserver(e);const t=this.getRaw(e);t?this.hydrate(e,t):this.store.delete(e)}bind(){const e=ut.findParent(this);e&&e.appendChild(this);for(const e of this.assignedValues.keys())e.notify(this.target)}unbind(){if(this.parent){ht.get(this).removeChild(this)}}appendChild(e){e.parent&&ht.get(e).removeChild(e);const t=this.children.filter((t=>e.contains(t)));ht.set(e,this),this.children.push(e),t.forEach((t=>e.appendChild(t))),g.getNotifier(this.store).subscribe(e);for(const[t,s]of this.store.all())e.hydrate(t,this.bindingObservers.has(t)?this.getRaw(t):s)}removeChild(e){const t=this.children.indexOf(e);return-1!==t&&this.children.splice(t,1),g.getNotifier(this.store).unsubscribe(e),e.parent===this&&ht.delete(e)}contains(e){return function(e,t){let s=t;for(;null!==s;){if(s===e)return!0;s=Ye(s)}return!1}(this.target,e.target)}reflectToCSS(e){this.isReflecting(e)||(this.reflecting.add(e),ut.cssCustomPropertyReflector.startReflection(e,this.target))}stopReflectToCSS(e){this.isReflecting(e)&&(this.reflecting.delete(e),ut.cssCustomPropertyReflector.stopReflection(e,this.target))}isReflecting(e){return this.reflecting.has(e)}handleChange(e,t){const s=ot.getTokenById(t);s&&this.hydrate(s,this.getRaw(s))}hydrate(e,t){if(!this.has(e)){const s=this.bindingObservers.get(e);ot.isDerivedDesignTokenValue(t)?s?s.source!==t&&(this.tearDownBindingObserver(e),this.setupBindingObserver(e,t)):this.setupBindingObserver(e,t):(s&&this.tearDownBindingObserver(e),this.store.set(e,t))}}setupBindingObserver(e,t){const s=new at(t,e,this);return this.bindingObservers.set(e,s),s}tearDownBindingObserver(e){return!!this.bindingObservers.has(e)&&(this.bindingObservers.get(e).disconnect(),this.bindingObservers.delete(e),!0)}}ut.cssCustomPropertyReflector=new class{startReflection(e,t){e.subscribe(this,t),this.handleChange({token:e,target:t})}stopReflection(e,t){e.unsubscribe(this,t),this.remove(e,t)}handleChange(e){const{token:t,target:s}=e;this.add(t,s)}add(e,t){it.getOrCreate(t).setProperty(e.cssCustomProperty,this.resolveCSSValue(ut.getOrCreate(t).get(e)))}remove(e,t){it.getOrCreate(t).removeProperty(e.cssCustomProperty)}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}},ce([p],ut.prototype,"children",void 0);const dt=Object.freeze({create:function(e){return ot.from(e)},notifyConnection:e=>!(!e.isConnected||!ut.existsFor(e))&&(ut.getOrCreate(e).bind(),!0),notifyDisconnection:e=>!(e.isConnected||!ut.existsFor(e))&&(ut.getOrCreate(e).unbind(),!0),registerRoot(e=Ge){st.registerRoot(e)},unregisterRoot(e=Ge){st.unregisterRoot(e)}}),ft=Object.freeze({definitionCallbackOnly:null,ignoreDuplicate:Symbol()}),gt=new Map,pt=new Map;let yt=null;const vt=be.createInterface((e=>e.cachedCallback((e=>(null===yt&&(yt=new mt(null,e)),yt))))),bt=Object.freeze({tagFor:e=>pt.get(e),responsibleFor(e){const t=e.$$designSystem$$;if(t)return t;return be.findResponsibleContainer(e).get(vt)},getOrCreate(e){if(!e)return null===yt&&(yt=be.getOrCreateDOMContainer().get(vt)),yt;const t=e.$$designSystem$$;if(t)return t;const s=be.getOrCreateDOMContainer(e);if(s.has(vt,!1))return s.get(vt);{const t=new mt(e,s);return s.register(Fe.instance(vt,t)),t}}});class mt{constructor(e,t){this.owner=e,this.container=t,this.designTokensInitialized=!1,this.prefix="fast",this.shadowRootMode=void 0,this.disambiguate=()=>ft.definitionCallbackOnly,null!==e&&(e.$$designSystem$$=this)}withPrefix(e){return this.prefix=e,this}withShadowRootMode(e){return this.shadowRootMode=e,this}withElementDisambiguation(e){return this.disambiguate=e,this}withDesignTokenRoot(e){return this.designTokenRoot=e,this}register(...e){const t=this.container,s=[],n=this.disambiguate,r=this.shadowRootMode,i={elementPrefix:this.prefix,tryDefineElement(e,i,o){const a=function(e,t,s){return"string"==typeof e?{name:e,type:t,callback:s}:e}(e,i,o),{name:l,callback:c,baseClass:h}=a;let{type:u}=a,d=l,f=gt.get(d),g=!0;for(;f;){const e=n(d,u,f);switch(e){case ft.ignoreDuplicate:return;case ft.definitionCallbackOnly:g=!1,f=void 0;break;default:d=e,f=gt.get(d)}}g&&((pt.has(u)||u===He)&&(u=class extends u{}),gt.set(d,u),pt.set(u,d),h&&pt.set(h,d)),s.push(new wt(t,d,u,r,c,g))}};this.designTokensInitialized||(this.designTokensInitialized=!0,null!==this.designTokenRoot&&dt.registerRoot(this.designTokenRoot)),t.registerWithContext(i,...e);for(const e of s)e.callback(e),e.willDefine&&null!==e.definition&&e.definition.define();return this}}class wt{constructor(e,t,s,n,r,i){this.container=e,this.name=t,this.type=s,this.shadowRootMode=n,this.callback=r,this.willDefine=i,this.definition=null}definePresentation(e){qe.define(this.name,e,this.container)}defineElement(e){this.definition=new te(this.type,Object.assign(Object.assign({},e),{name:this.name}))}tagFor(e){return bt.tagFor(e)}}function Ct(e,t,s,n){return new(s||(s=Promise))((function(r,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function a(e){try{l(n.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(o,a)}l((n=n.apply(e,t||[])).next())}))}function _t(e,t={}){return Ct(this,void 0,void 0,(function*(){const s=t.document||globalThis.document,n=t.parent||s.createElement("div"),r=t.source||{},i=t.context||b;if("string"==typeof e){e=new z(`<${e}></${e}>`,[])}else"function"==typeof e.register&&(e=[e]);if(Array.isArray(e)){const s=e[0],r=t.designSystem||bt.getOrCreate(n);let i="";r.register(e,{register(e,t){i=t.elementPrefix}});const o=`${i}-${s.definition.baseName}`;e=new z(`<${o}></${o}>`,[])}const o=e.create(),a=function(e){let t=e.firstChild;for(;null!==t&&1!==t.nodeType;)t=t.nextSibling;return t}(o);let l=!1;o.bind(r,i),o.appendTo(n),customElements.upgrade(n),yield Promise.resolve();return{document:s,template:e,view:o,parent:n,element:a,connect:()=>Ct(this,void 0,void 0,(function*(){l||(l=!0,s.body.appendChild(n),yield Promise.resolve())})),disconnect:()=>Ct(this,void 0,void 0,(function*(){l&&(l=!1,s.body.removeChild(n),yield Promise.resolve())}))}}))}let St,Ot,kt,Tt,xt=!0;"undefined"!=typeof process&&(({FORCE_COLOR:St,NODE_DISABLE_COLORS:Ot,NO_COLOR:kt,TERM:Tt}=process.env||{}),xt=process.stdout&&process.stdout.isTTY);const Rt={enabled:!Ot&&null==kt&&"dumb"!==Tt&&(null!=St&&"0"!==St||xt),reset:Et(0,0),bold:Et(1,22),dim:Et(2,22),italic:Et(3,23),underline:Et(4,24),inverse:Et(7,27),hidden:Et(8,28),strikethrough:Et(9,29),black:Et(30,39),red:Et(31,39),green:Et(32,39),yellow:Et(33,39),blue:Et(34,39),magenta:Et(35,39),cyan:Et(36,39),white:Et(37,39),gray:Et(90,39),grey:Et(90,39),bgBlack:Et(40,49),bgRed:Et(41,49),bgGreen:Et(42,49),bgYellow:Et(43,49),bgBlue:Et(44,49),bgMagenta:Et(45,49),bgCyan:Et(46,49),bgWhite:Et(47,49)};function At(e,t){let s,n=0,r="",i="";for(;n<e.length;n++)s=e[n],r+=s.open,i+=s.close,~t.indexOf(s.close)&&(t=t.replace(s.rgx,s.close+s.open));return r+t+i}function Et(e,t){let s={open:`[${e}m`,close:`[${t}m`,rgx:new RegExp(`\\x1b\\[${t}m`,"g")};return function(t){return void 0!==this&&void 0!==this.has?(~this.has.indexOf(e)||(this.has.push(e),this.keys.push(s)),void 0===t?this:Rt.enabled?At(this.keys,t+""):t+""):void 0===t?function(e,t){let s={has:e,keys:t};return s.reset=Rt.reset.bind(s),s.bold=Rt.bold.bind(s),s.dim=Rt.dim.bind(s),s.italic=Rt.italic.bind(s),s.underline=Rt.underline.bind(s),s.inverse=Rt.inverse.bind(s),s.hidden=Rt.hidden.bind(s),s.strikethrough=Rt.strikethrough.bind(s),s.black=Rt.black.bind(s),s.red=Rt.red.bind(s),s.green=Rt.green.bind(s),s.yellow=Rt.yellow.bind(s),s.blue=Rt.blue.bind(s),s.magenta=Rt.magenta.bind(s),s.cyan=Rt.cyan.bind(s),s.white=Rt.white.bind(s),s.gray=Rt.gray.bind(s),s.grey=Rt.grey.bind(s),s.bgBlack=Rt.bgBlack.bind(s),s.bgRed=Rt.bgRed.bind(s),s.bgGreen=Rt.bgGreen.bind(s),s.bgYellow=Rt.bgYellow.bind(s),s.bgBlue=Rt.bgBlue.bind(s),s.bgMagenta=Rt.bgMagenta.bind(s),s.bgCyan=Rt.bgCyan.bind(s),s.bgWhite=Rt.bgWhite.bind(s),s}([e],[s]):Rt.enabled?At([s],t+""):t+""}}function $t(){}function jt(e,t,s,n,r){for(var i=0,o=t.length,a=0,l=0;i<o;i++){var c=t[i];if(c.removed){if(c.value=e.join(n.slice(l,l+c.count)),l+=c.count,i&&t[i-1].added){var h=t[i-1];t[i-1]=t[i],t[i]=h}}else{if(!c.added&&r){var u=s.slice(a,a+c.count);u=u.map((function(e,t){var s=n[l+t];return s.length>e.length?s:e})),c.value=e.join(u)}else c.value=e.join(s.slice(a,a+c.count));a+=c.count,c.added||(l+=c.count)}}var d=t[o-1];return o>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(t[o-2].value+=d.value,t.pop()),t}$t.prototype={diff:function(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=s.callback;"function"==typeof s&&(n=s,s={}),this.options=s;var r=this;function i(e){return n?(setTimeout((function(){n(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var o=(t=this.removeEmpty(this.tokenize(t))).length,a=e.length,l=1,c=o+a;s.maxEditLength&&(c=Math.min(c,s.maxEditLength));var h=[{newPos:-1,components:[]}],u=this.extractCommon(h[0],t,e,0);if(h[0].newPos+1>=o&&u+1>=a)return i([{value:this.join(t),count:t.length}]);function d(){for(var s=-1*l;s<=l;s+=2){var n=void 0,c=h[s-1],u=h[s+1],d=(u?u.newPos:0)-s;c&&(h[s-1]=void 0);var f=c&&c.newPos+1<o,g=u&&0<=d&&d<a;if(f||g){if(!f||g&&c.newPos<u.newPos?(n={newPos:(p=u).newPos,components:p.components.slice(0)},r.pushComponent(n.components,void 0,!0)):((n=c).newPos++,r.pushComponent(n.components,!0,void 0)),d=r.extractCommon(n,t,e,s),n.newPos+1>=o&&d+1>=a)return i(jt(r,n.components,t,e,r.useLongestToken));h[s]=n}else h[s]=void 0}var p;l++}if(n)!function e(){setTimeout((function(){if(l>c)return n();d()||e()}),0)}();else for(;l<=c;){var f=d();if(f)return f}},pushComponent:function(e,t,s){var n=e[e.length-1];n&&n.added===t&&n.removed===s?e[e.length-1]={count:n.count+1,added:t,removed:s}:e.push({count:1,added:t,removed:s})},extractCommon:function(e,t,s,n){for(var r=t.length,i=s.length,o=e.newPos,a=o-n,l=0;o+1<r&&a+1<i&&this.equals(t[o+1],s[a+1]);)o++,a++,l++;return l&&e.components.push({count:l}),e.newPos=o,a},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],s=0;s<e.length;s++)e[s]&&t.push(e[s]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var Pt=new $t;var Ft=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,Lt=/\S/,Bt=new $t;Bt.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!Lt.test(e)&&!Lt.test(t)},Bt.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),s=0;s<t.length-1;s++)!t[s+1]&&t[s+2]&&Ft.test(t[s])&&Ft.test(t[s+2])&&(t[s]+=t[s+2],t.splice(s+1,2),s--);return t};var Mt=new $t;function Nt(e){return Nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nt(e)}Mt.tokenize=function(e){var t=[],s=e.split(/(\n|\r\n)/);s[s.length-1]||s.pop();for(var n=0;n<s.length;n++){var r=s[n];n%2&&!this.options.newlineIsToken?t[t.length-1]+=r:(this.options.ignoreWhitespace&&(r=r.trim()),t.push(r))}return t},(new $t).tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)},(new $t).tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var It=Object.prototype.toString,Dt=new $t;function Vt(e,t,s,n,r){var i,o;for(t=t||[],s=s||[],n&&(e=n(r,e)),i=0;i<t.length;i+=1)if(t[i]===e)return s[i];if("[object Array]"===It.call(e)){for(t.push(e),o=new Array(e.length),s.push(o),i=0;i<e.length;i+=1)o[i]=Vt(e[i],t,s,n,r);return t.pop(),s.pop(),o}if(e&&e.toJSON&&(e=e.toJSON()),"object"===Nt(e)&&null!==e){t.push(e),o={},s.push(o);var a,l=[];for(a in e)e.hasOwnProperty(a)&&l.push(a);for(l.sort(),i=0;i<l.length;i+=1)o[a=l[i]]=Vt(e[a],t,s,n,a);t.pop(),s.pop()}else o=e;return o}Dt.useLongestToken=!0,Dt.tokenize=Mt.tokenize,Dt.castInput=function(e){var t=this.options,s=t.undefinedReplacement,n=t.stringifyReplacer,r=void 0===n?function(e,t){return void 0===t?s:t}:n;return"string"==typeof e?e:JSON.stringify(Vt(e,null,null,r),r," ")},Dt.equals=function(e,t){return $t.prototype.equals.call(Dt,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};var zt=new $t;zt.tokenize=function(e){return e.slice()},zt.join=zt.removeEmpty=function(e){return e};const Ut={"--":Rt.red,"··":Rt.grey,"++":Rt.green},qt=Rt.dim().italic,Wt=Rt.dim("→"),Ht=Rt.dim("·"),Qt=Rt.dim("↵"),Jt=(e,t)=>Ut[e](e+Gt(t))+"\n",Yt=(e,t)=>Rt.dim("L"+String(e).padStart(t,"0")+" "),Gt=e=>e.replace(/[ ]/g,Ht).replace(/\t/g,Wt).replace(/(\r?\n)/g,Qt);function Kt(e,t,s){let n,r=e.removed?"--":e.added?"++":"··",i=e.value.replace(/\r?\n$/,"").split("\n"),o=0,a="";for(e.added?a+=Ut[r]().underline(qt("Expected:"))+"\n":e.removed&&(a+=Ut[r]().underline(qt("Actual:"))+"\n");o<i.length;o++)n=i[o],null!=n&&(t&&(a+=Yt(t+o,s)),a+=Jt(r,n||"\n"));return a}function Xt(e,t){let s=(n=e,r=t,zt.diff(n,r,i));var n,r,i;let o,a,l,c,h,u=0,d=0,f=0,g=Jt("··","[");for(;u<s.length;u++)for(l=(o=s[u]).removed?"--":o.added?"++":"··",o.added?g+=Ut[l]().underline(qt("Expected:"))+"\n":o.removed&&(g+=Ut[l]().underline(qt("Actual:"))+"\n"),d=0;d<o.value.length;d++)for(c=o.value[d]&&"object"==typeof o.value[d],a=ns(o.value[d]).split(/\r?\n/g),f=0;f<a.length;)h=" "+a[f++]+(c?"":","),c&&f===a.length&&d+1<o.value.length&&(h+=","),g+=Jt(l,h);return g+Jt("··","]")}function Zt(e,t,s=0){let n,r=0,i="",o=(a=e,l=t,Mt.diff(a,l,c));var a,l,c;let h=String(t.split(/\r?\n/g).length-s).length;for(;r<o.length;r++)i+=Kt(n=o[r],s,h),s&&!n.removed&&(s+=n.count);return i}function es(e,t){let s=(n=e,r=t,Pt.diff(n,r,i));var n,r,i;let o,a=0,l="",c=e.length,h=t.length,u=Gt(e),d=Gt(t);if(o=s[a],c===h);else if(o.removed&&s[a+1]){let n=o.count-s[a+1].count;0==n||(n>0?(t=" ".repeat(n)+t,d=" ".repeat(n)+d,h+=n):n<0&&(e=" ".repeat(-n)+e,u=" ".repeat(-n)+u,c+=-n))}if(l+=ts(u,d,c,h),c===h)for(o=" ";a<c;a++)o+=e[a]===t[a]?" ":"^";else for(o=" ";a<s.length;a++)o+=(s[a].added||s[a].removed?"^":" ").repeat(Math.max(s[a].count,0)),a+1<s.length&&(s[a].added&&s[a+1].removed||s[a].removed&&s[a+1].added)&&(s[a+1].count-=s[a].count);return l+Rt.red(o)}function ts(e,t,s=String(e).length,n=String(t).length){let r=4,i=Math.max(s,n),o=typeof e,a=typeof t;if(o!==a){r=2;let l=r+i-s,c=r+i-n;e+=" ".repeat(l)+Rt.dim(`[${o}]`),t+=" ".repeat(c)+Rt.dim(`[${a}]`),s+=l+o.length+2,n+=c+a.length+2,i=Math.max(s,n)}return Ut["++"]("++"+t+" ".repeat(r+i-n)+qt("(Expected)"))+"\n"+Ut["--"]("--"+e+" ".repeat(r+i-s)+qt("(Actual)"))+"\n"}function ss(e,t){var s,n,r=0,i=Array.isArray(e),o=[],a=i?Array(e.length):{};if(i)for(r=0;r<a.length;r++)n=e[r],a[r]=n&&"object"==typeof n?ss(n,t[r]):n;else{for(s in t)o.push(s);for(;r<o.length;r++)Object.prototype.hasOwnProperty.call(e,s=o[r])&&((n=e[s])&&"object"==typeof n?a[s]=ss(n,t[s]):a[s]=n);for(s in e)a.hasOwnProperty(s)||(a[s]=e[s])}return a}function ns(e){return JSON.stringify(e,function(){var e=new Set;return function(t,s){return void 0===s?"[__VOID__]":"number"==typeof s&&s!=s?"[__NAN__]":s&&"object"==typeof s?e.has(s)?"[Circular]":(e.add(s),s):s}}(),2).replace(/"\[__NAN__\]"/g,"NaN").replace(/"\[__VOID__\]"/g,"undefined")}function rs(e,t){if(Array.isArray(t)&&Array.isArray(e))return Xt(e,t);if(t instanceof RegExp)return es(""+e,""+t);let s=e&&"object"==typeof e,n=t&&"object"==typeof t;return s&&n&&(e=ss(e,t)),n&&(t=ns(t)),s&&(e=ns(e)),t&&"object"==typeof t&&(e=ns(ss(e,t)),t=ns(t)),s="string"==typeof e,n="string"==typeof t,s&&/\r?\n/.test(e)?Zt(e,""+t):n&&/\r?\n/.test(t)?Zt(""+e,t):s&&n?es(e,t):ts(e,t)}let is=!1,os=!1,as=(e=Date.now())=>()=>(Date.now()-e).toFixed(2)+"ms",ls=console.log;const cs=(e,t)=>(s,n)=>e[t].push({name:s,handler:n}),hs=e=>({tests:[],before:[],after:[],bEach:[],aEach:[],only:[],skips:0,state:e}),us=(e,t)=>s=>e[t].push(s);if(os=typeof process<"u"&&typeof process.stdout<"u"){"object"!=typeof globalThis&&Object.defineProperty(global,"globalThis",{get:function(){return this}});let e=/(\.bin[\\+\/]uvu$|uvu[\\+\/]bin\.js)/i;is=process.argv.some((t=>e.test(t))),ls=e=>process.stdout.write(e),as=(e=process.hrtime())=>()=>{return(1e3*(t=process.hrtime(e))[0]+t[1]/1e6).toFixed(2)+"ms";var t}}else typeof performance<"u"&&(as=(e=performance.now())=>()=>(performance.now()-e).toFixed(2)+"ms");globalThis.UVU_QUEUE=globalThis.UVU_QUEUE||[],is||UVU_QUEUE.push([null]);const ds=Rt.dim('"'),fs="\n ",gs=Rt.red("✘ "),ps=Rt.gray("• "),ys=/^\s*at.*(?:\(|\s)(?:node|(internal\/[\w/]*))/,vs=Rt.bold().bgRed(" FAIL "),bs=Rt.bold().underline().white,ms=Rt.bgWhite().bold;function ws(e,t,s=""){let{details:n,operator:r=""}=t,i=t.stack&&t.stack.indexOf("\n");t.name.startsWith("AssertionError")&&!r.includes("not")&&(n=rs(t.actual,t.expected));let o=" "+vs+(s?Rt.red(ms(` ${s} `)):"")+" "+ds+Rt.red().bold(e)+ds;return o+="\n "+t.message+(r?Rt.italic().dim(` (${r})`):"")+"\n",n&&(o+=fs+n.split("\n").join(fs)),~i&&(o+=function(e,t){let s,n=0,r="",i=e.substring(t).replace(/\\/g,"/").split("\n");for(;n<i.length;n++)s=i[n].trim(),s.length&&!ys.test(s)&&(r+="\n "+s);return Rt.grey(r)+"\n"}(t.stack,i)),o+"\n"}async function Cs(e,t){let s,n,{only:r,tests:i,before:o,after:a,bEach:l,aEach:c,state:h}=e,u=r.length?r:i,d=0,f="",g=u.length;try{for(s of(t&&ls(ms(Rt.black(` ${t} `))+" "),o))await s(h);for(n of u){h.__test__=n.name;try{for(s of l)await s(h);for(s of(await n.handler(h),c))await s(h);ls(ps),d++}catch(e){for(s of c)await s(h);f.length&&(f+="\n"),f+=ws(n.name,e,t),ls(gs)}}}finally{for(s of(h.__test__="",a))await s(h);let t=` (${d} / ${g})\n`,n=(r.length?i.length:0)+e.skips;return ls(f.length?Rt.red(t):Rt.green(t)),[f||!0,d,n,g]}}let _s;function Ss(e,t=""){e.state.__test__="",e.state.__suite__=t;const s=cs(e,"tests");return s.before=us(e,"before"),s.before.each=us(e,"bEach"),s.after=us(e,"after"),s.after.each=us(e,"aEach"),s.only=cs(e,"only"),s.skip=()=>{e.skips++},s.run=()=>{let s={...e},n=Cs.bind(0,s,t);Object.assign(e,hs(s.state)),UVU_QUEUE[globalThis.UVU_INDEX||0].push(n),is||(clearTimeout(_s),_s=setTimeout(Ts))},s}const Os=(e="",t={})=>Ss(hs(t),e),ks=Os();async function Ts(e){let t=as(),s=0,n=0,r=0,i=0;for(let t of UVU_QUEUE){n&&ls("\n");let o=t.shift();null!=o&&ls(bs(o)+"\n");for(let o of t){let[t,a,l,c]=await o();if(n+=c,s+=a,r+=l,t.length&&(ls("\n"+t+"\n"),i=1,e))return os&&process.exit(1)}}ls("\n Total: "+n),ls((i?Rt.red:Rt.green)("\n Passed: "+s)),ls("\n Skipped: "+(r?Rt.yellow(r):r)),ls("\n Duration: "+t()+"\n\n"),os&&(process.exitCode=i)}var xs=Object.prototype.hasOwnProperty;function Rs(e,t,s){for(s of e.keys())if(As(s,t))return s}function As(e,t){var s,n,r;if(e===t)return!0;if(e&&t&&(s=e.constructor)===t.constructor){if(s===Date)return e.getTime()===t.getTime();if(s===RegExp)return e.toString()===t.toString();if(s===Array){if((n=e.length)===t.length)for(;n--&&As(e[n],t[n]););return-1===n}if(s===Set){if(e.size!==t.size)return!1;for(n of e){if((r=n)&&"object"==typeof r&&!(r=Rs(t,r)))return!1;if(!t.has(r))return!1}return!0}if(s===Map){if(e.size!==t.size)return!1;for(n of e){if((r=n[0])&&"object"==typeof r&&!(r=Rs(t,r)))return!1;if(!As(n[1],t.get(r)))return!1}return!0}if(s===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(s===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return-1===n}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}if(!s||"object"==typeof e){for(s in n=0,e){if(xs.call(e,s)&&++n&&!xs.call(t,s))return!1;if(!(s in t)||!As(e[s],t[s]))return!1}return Object.keys(t).length===n}}return e!=e&&t!=t}function Es(e){let t=(e=e.replace(/\r?\n/g,"\n")).match(/^[ \t]*(?=\S)/gm),s=0,n=1/0,r=(t||[]).length;for(;s<r;s++)n=Math.min(n,t[s].length);return r&&n?e.replace(new RegExp(`^[ \\t]{${n}}`,"gm"),""):e}class $s extends Error{constructor(e={}){super(e.message),this.name="Assertion",this.code="ERR_ASSERTION",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.details=e.details||!1,this.generated=!!e.generated,this.operator=e.operator,this.expects=e.expects,this.actual=e.actual}}function js(e,t,s,n,r,i,o){if(e)return;let a=o||i;if(o instanceof Error)throw o;let l=r&&r(t,s);throw new $s({actual:t,expects:s,operator:n,message:a,details:l,generated:!o})}function Ps(e,t,s){js(e===t,e,t,"is",rs,"Expected values to be strictly equal:",s)}function Fs(e,t,s){let n=typeof e;js(n===t,n,t,"type",!1,`Expected "${n}" to be "${t}"`,s)}const Ls=(e,t)=>Zt(e,t,1);function Bs(e,t){js(!e,!0,!1,"not",!1,"Expected value to be falsey",t)}Bs.ok=Bs,Ps.not=function(e,t,s){js(e!==t,e,t,"is.not",!1,"Expected values not to be strictly equal",s)},Bs.equal=function(e,t,s){js(!As(e,t),e,t,"not.equal",!1,"Expected values not to be deeply equal",s)},Bs.type=function(e,t,s){let n=typeof e;js(n!==t,n,t,"not.type",!1,`Expected "${n}" not to be "${t}"`,s)},Bs.instance=function(e,t,s){js(!(e instanceof t),e,t,"not.instance",!1,`Expected value not to be an instance of ${"`"+(t.name||t.constructor.name)+"`"}`,s)},Bs.snapshot=function(e,t,s){js((e=Es(e))!==(t=Es(t)),e,t,"not.snapshot",!1,"Expected value not to match snapshot",s)},Bs.fixture=function(e,t,s){js((e=Es(e))!==(t=Es(t)),e,t,"not.fixture",!1,"Expected value not to match fixture",s)},Bs.match=function(e,t,s){"string"==typeof t?js(!e.includes(t),e,t,"not.match",!1,`Expected value not to include "${t}" substring`,s):js(!t.test(e),e,t,"not.match",!1,`Expected value not to match \`${String(t)}\` pattern`,s)},Bs.throws=function(e,t,s){s||"string"!=typeof t||(s=t,t=null);try{e()}catch(e){"function"==typeof t?js(!t(e),!0,!1,"not.throws",!1,"Expected function not to throw matching exception",s):t instanceof RegExp?js(!t.test(e.message),!0,!1,"not.throws",!1,`Expected function not to throw exception matching \`${String(t)}\` pattern`,s):t||js(!1,!0,!1,"not.throws",!1,"Expected function not to throw",s)}};var Ms=Object.freeze({__proto__:null,Assertion:$s,ok:function(e,t){js(!!e,!1,!0,"ok",!1,"Expected value to be truthy",t)},is:Ps,equal:function(e,t,s){js(As(e,t),e,t,"equal",rs,"Expected values to be deeply equal:",s)},unreachable:function(e){js(!1,!0,!1,"unreachable",!1,"Expected not to be reached!",e)},type:Fs,instance:function(e,t,s){js(e instanceof t,e,t,"instance",!1,`Expected value to be an instance of ${"`"+(t.name||t.constructor.name)+"`"}`,s)},match:function(e,t,s){"string"==typeof t?js(e.includes(t),e,t,"match",!1,`Expected value to include "${t}" substring`,s):js(t.test(e),e,t,"match",!1,`Expected value to match \`${String(t)}\` pattern`,s)},snapshot:function(e,t,s){js((e=Es(e))===(t=Es(t)),e,t,"snapshot",Zt,"Expected value to match snapshot:",s)},fixture:function(e,t,s){js((e=Es(e))===(t=Es(t)),e,t,"fixture",Ls,"Expected value to match fixture:",s)},throws:function(e,t,s){s||"string"!=typeof t||(s=t,t=null);try{e(),js(!1,!1,!0,"throws",!1,"Expected function to throw",s)}catch(e){if(e instanceof $s)throw e;"function"==typeof t?js(t(e),!1,!0,"throws",!1,"Expected function to throw matching exception",s):t instanceof RegExp&&js(t.test(e.message),!1,!0,"throws",!1,`Expected function to throw exception matching \`${String(t)}\` pattern`,s)}},not:Bs});function Ns(e,t,s,n=[]){const r=Os(e,Object.assign({element:void 0,disconnect:void 0,designSystem:void 0,container:void 0},s));return r.before.each((e=>Ct(this,void 0,void 0,(function*(){const s=document.createElement("div"),r=bt.getOrCreate(s).register(...n),i=be.getOrCreateDOMContainer(s),o={parent:s,designSystem:r},{element:a,connect:l,disconnect:c}=yield _t("string"==typeof t?t:t(),o);e.element=a,e.disconnect=c,e.designSystem=r,e.container=i,yield l()})))),r.after.each((e=>Ct(this,void 0,void 0,(function*(){yield e.disconnect(),e.element=void 0,e.disconnect=void 0,e.designSystem=void 0,e.container=void 0})))),r}function Is(e,t){return Os(e,Object.assign({runCases:(e,t)=>{Fs(e,"function"),t.forEach((([t,s,n])=>Ps(e(...t),s,n)))}},t))}const Ds={};Ds[Ds.Fatal=0]="Fatal",Ds[Ds.Error=0]="Error",Ds[Ds.Warn=1]="Warn",Ds[Ds.Log=2]="Log",Ds[Ds.Info=3]="Info",Ds[Ds.Success=3]="Success",Ds[Ds.Debug=4]="Debug",Ds[Ds.Trace=5]="Trace",Ds[Ds.Silent=-1/0]="Silent",Ds[Ds.Verbose=1/0]="Verbose";var Vs={silent:{level:-1},fatal:{level:Ds.Fatal},error:{level:Ds.Error},warn:{level:Ds.Warn},log:{level:Ds.Log},info:{level:Ds.Info},success:{level:Ds.Success},debug:{level:Ds.Debug},trace:{level:Ds.Trace},verbose:{level:Ds.Trace},ready:{level:Ds.Info},start:{level:Ds.Info}};function zs(e){return t=e,"[object Object]"===Object.prototype.toString.call(t)&&(!(!e.message&&!e.args)&&!e.stack);var t}let Us=!1;const qs=[];class Ws{constructor(e={}){this._reporters=e.reporters||[],this._types=e.types||Vs,this.level=void 0!==e.level?e.level:3,this._defaults=e.defaults||{},this._async=void 0!==e.async?e.async:void 0,this._stdout=e.stdout,this._stderr=e.stderr,this._mockFn=e.mockFn,this._throttle=e.throttle||1e3,this._throttleMin=e.throttleMin||5;for(const e in this._types){const t={type:e,...this._types[e],...this._defaults};this[e]=this._wrapLogFn(t),this[e].raw=this._wrapLogFn(t,!0)}this._mockFn&&this.mockTypes(),this._lastLogSerialized=void 0,this._lastLog=void 0,this._lastLogTime=void 0,this._lastLogCount=0,this._throttleTimeout=void 0}get stdout(){return this._stdout||console._stdout}get stderr(){return this._stderr||console._stderr}create(e){return new Ws(Object.assign({reporters:this._reporters,level:this.level,types:this._types,defaults:this._defaults,stdout:this._stdout,stderr:this._stderr,mockFn:this._mockFn},e))}withDefaults(e){return this.create({defaults:Object.assign({},this._defaults,e)})}withTag(e){return this.withDefaults({tag:this._defaults.tag?this._defaults.tag+":"+e:e})}addReporter(e){return this._reporters.push(e),this}removeReporter(e){if(e){const t=this._reporters.indexOf(e);if(t>=0)return this._reporters.splice(t,1)}else this._reporters.splice(0);return this}setReporters(e){return this._reporters=Array.isArray(e)?e:[e],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const e in this._types)console["__"+e]||(console["__"+e]=console[e]),console[e]=this[e].raw}restoreConsole(){for(const e in this._types)console["__"+e]&&(console[e]=console["__"+e],delete console["__"+e])}wrapStd(){this._wrapStream(this.stdout,"log"),this._wrapStream(this.stderr,"log")}_wrapStream(e,t){e&&(e.__write||(e.__write=e.write),e.write=e=>{this[t].raw(String(e).trim())})}restoreStd(){this._restoreStream(this.stdout),this._restoreStream(this.stderr)}_restoreStream(e){e&&e.__write&&(e.write=e.__write,delete e.__write)}pauseLogs(){Us=!0}resumeLogs(){Us=!1;const e=qs.splice(0);for(const t of e)t[0]._logFn(t[1],t[2])}mockTypes(e){if(this._mockFn=e||this._mockFn,"function"==typeof this._mockFn)for(const e in this._types)this[e]=this._mockFn(e,this._types[e])||this[e],this[e].raw=this[e]}_wrapLogFn(e,t){return(...s)=>{if(!Us)return this._logFn(e,s,t);qs.push([this,e,s,t])}}_logFn(e,t,s){if(e.level>this.level)return!!this._async&&Promise.resolve(!1);const n=Object.assign({date:new Date,args:[]},e);!s&&1===t.length&&zs(t[0])?Object.assign(n,t[0]):n.args=Array.from(t),n.message&&(n.args.unshift(n.message),delete n.message),n.additional&&(Array.isArray(n.additional)||(n.additional=n.additional.split("\n")),n.args.push("\n"+n.additional.join("\n")),delete n.additional),n.type="string"==typeof n.type?n.type.toLowerCase():"",n.tag="string"==typeof n.tag?n.tag.toLowerCase():"";const r=(e=!1)=>{const t=this._lastLogCount-this._throttleMin;if(this._lastLog&&t>0){const e=[...this._lastLog.args];t>1&&e.push(`(repeated ${t} times)`),this._log({...this._lastLog,args:e}),this._lastLogCount=1}if(e){if(this._lastLog=n,this._async)return this._logAsync(n);this._log(n)}};clearTimeout(this._throttleTimeout);const i=this._lastLogTime?n.date-this._lastLogTime:0;if(this._lastLogTime=n.date,i<this._throttle)try{const e=JSON.stringify([n.type,n.tag,n.args]),t=this._lastLogSerialized===e;if(this._lastLogSerialized=e,t&&(this._lastLogCount++,this._lastLogCount>this._throttleMin))return void(this._throttleTimeout=setTimeout(r,this._throttle))}catch(e){}r(!0)}_log(e){for(const t of this._reporters)t.log(e,{async:!1,stdout:this.stdout,stderr:this.stderr})}_logAsync(e){return Promise.all(this._reporters.map((t=>t.log(e,{async:!0,stdout:this.stdout,stderr:this.stderr}))))}}Ws.prototype.add=Ws.prototype.addReporter,Ws.prototype.remove=Ws.prototype.removeReporter,Ws.prototype.clear=Ws.prototype.removeReporter,Ws.prototype.withScope=Ws.prototype.withTag,Ws.prototype.mock=Ws.prototype.mockTypes,Ws.prototype.pause=Ws.prototype.pauseLogs,Ws.prototype.resume=Ws.prototype.resumeLogs;class Hs{constructor(e){this.options=Object.assign({},e),this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}log(e){const t=e.level<1?console.__error||console.error:1===e.level&&console.warn?console.__warn||console.warn:console.__log||console.log,s="log"!==e.type?e.type:"",n=e.tag?e.tag:"",r=`\n background: ${this.typeColorMap[e.type]||this.levelColorMap[e.level]||this.defaultColor};\n border-radius: 0.5em;\n color: white;\n font-weight: bold;\n padding: 2px 0.5em;\n `,i=`%c${[n,s].filter(Boolean).join(":")}`;"string"==typeof e.args[0]?t(`${i}%c ${e.args[0]}`,r,"",...e.args.slice(1)):t(i,r,...e.args)}}var Qs="undefined"!=typeof window&&window.consola||function(){const e=new Ws({reporters:[new Hs]});return e.Consola=Ws,e.LogLevel=Ds,e.BrowserReporter=Hs,e}();"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;!function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var s=0;s<t.length;s++){var n=t[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,s,n){return s&&t(e.prototype,s),n&&t(e,n),e}function n(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function r(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function i(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?r(Object(s),!0).forEach((function(t){n(e,t,s[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):r(Object(s)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))}))}return e}function o(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return l(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,n=new Array(t);s<t;s++)n[s]=e[s];return n}function c(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=a(e))){var t=0,s=function(){};return{s:s,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,r,i=!0,o=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){o=!0,r=e},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw r}}}}var h={};h[h.Fatal=0]="Fatal",h[h.Error=0]="Error",h[h.Warn=1]="Warn",h[h.Log=2]="Log",h[h.Info=3]="Info",h[h.Success=3]="Success",h[h.Debug=4]="Debug",h[h.Trace=5]="Trace",h[h.Silent=-1/0]="Silent",h[h.Verbose=1/0]="Verbose";var u={silent:{level:-1},fatal:{level:h.Fatal},error:{level:h.Error},warn:{level:h.Warn},log:{level:h.Log},info:{level:h.Info},success:{level:h.Success},debug:{level:h.Debug},trace:{level:h.Trace},verbose:{level:h.Trace},ready:{level:h.Info},start:{level:h.Info}};function d(e){return t=e,!("[object Object]"!==Object.prototype.toString.call(t)||!e.message&&!e.args||e.stack);var t}var f=!1,g=[],p=function(){function t(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var n in e(this,t),this._reporters=s.reporters||[],this._types=s.types||u,this.level=void 0!==s.level?s.level:3,this._defaults=s.defaults||{},this._async=void 0!==s.async?s.async:void 0,this._stdout=s.stdout,this._stderr=s.stderr,this._mockFn=s.mockFn,this._throttle=s.throttle||1e3,this._throttleMin=s.throttleMin||5,this._types){var r=i(i({type:n},this._types[n]),this._defaults);this[n]=this._wrapLogFn(r),this[n].raw=this._wrapLogFn(r,!0)}this._mockFn&&this.mockTypes(),this._lastLogSerialized=void 0,this._lastLog=void 0,this._lastLogTime=void 0,this._lastLogCount=0,this._throttleTimeout=void 0}return s(t,[{key:"create",value:function(e){return new t(Object.assign({reporters:this._reporters,level:this.level,types:this._types,defaults:this._defaults,stdout:this._stdout,stderr:this._stderr,mockFn:this._mockFn},e))}},{key:"withDefaults",value:function(e){return this.create({defaults:Object.assign({},this._defaults,e)})}},{key:"withTag",value:function(e){return this.withDefaults({tag:this._defaults.tag?this._defaults.tag+":"+e:e})}},{key:"addReporter",value:function(e){return this._reporters.push(e),this}},{key:"removeReporter",value:function(e){if(e){var t=this._reporters.indexOf(e);if(t>=0)return this._reporters.splice(t,1)}else this._reporters.splice(0);return this}},{key:"setReporters",value:function(e){return this._reporters=Array.isArray(e)?e:[e],this}},{key:"wrapAll",value:function(){this.wrapConsole(),this.wrapStd()}},{key:"restoreAll",value:function(){this.restoreConsole(),this.restoreStd()}},{key:"wrapConsole",value:function(){for(var e in this._types)console["__"+e]||(console["__"+e]=console[e]),console[e]=this[e].raw}},{key:"restoreConsole",value:function(){for(var e in this._types)console["__"+e]&&(console[e]=console["__"+e],delete console["__"+e])}},{key:"wrapStd",value:function(){this._wrapStream(this.stdout,"log"),this._wrapStream(this.stderr,"log")}},{key:"_wrapStream",value:function(e,t){var s=this;e&&(e.__write||(e.__write=e.write),e.write=function(e){s[t].raw(String(e).trim())})}},{key:"restoreStd",value:function(){this._restoreStream(this.stdout),this._restoreStream(this.stderr)}},{key:"_restoreStream",value:function(e){e&&e.__write&&(e.write=e.__write,delete e.__write)}},{key:"pauseLogs",value:function(){f=!0}},{key:"resumeLogs",value:function(){f=!1;var e,t=c(g.splice(0));try{for(t.s();!(e=t.n()).done;){var s=e.value;s[0]._logFn(s[1],s[2])}}catch(e){t.e(e)}finally{t.f()}}},{key:"mockTypes",value:function(e){if(this._mockFn=e||this._mockFn,"function"==typeof this._mockFn)for(var t in this._types)this[t]=this._mockFn(t,this._types[t])||this[t],this[t].raw=this[t]}},{key:"_wrapLogFn",value:function(e,t){var s=this;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];if(!f)return s._logFn(e,r,t);g.push([s,e,r,t])}}},{key:"_logFn",value:function(e,t,s){var n=this;if(e.level>this.level)return!!this._async&&Promise.resolve(!1);var r=Object.assign({date:new Date,args:[]},e);!s&&1===t.length&&d(t[0])?Object.assign(r,t[0]):r.args=Array.from(t),r.message&&(r.args.unshift(r.message),delete r.message),r.additional&&(Array.isArray(r.additional)||(r.additional=r.additional.split("\n")),r.args.push("\n"+r.additional.join("\n")),delete r.additional),r.type="string"==typeof r.type?r.type.toLowerCase():"",r.tag="string"==typeof r.tag?r.tag.toLowerCase():"";var a=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=n._lastLogCount-n._throttleMin;if(n._lastLog&&t>0){var s=o(n._lastLog.args);t>1&&s.push("(repeated ".concat(t," times)")),n._log(i(i({},n._lastLog),{},{args:s})),n._lastLogCount=1}if(e){if(n._lastLog=r,n._async)return n._logAsync(r);n._log(r)}};clearTimeout(this._throttleTimeout);var l=this._lastLogTime?r.date-this._lastLogTime:0;if(this._lastLogTime=r.date,l<this._throttle)try{var c=JSON.stringify([r.type,r.tag,r.args]),h=this._lastLogSerialized===c;if(this._lastLogSerialized=c,h&&(this._lastLogCount++,this._lastLogCount>this._throttleMin))return void(this._throttleTimeout=setTimeout(a,this._throttle))}catch(e){}a(!0)}},{key:"_log",value:function(e){var t,s=c(this._reporters);try{for(s.s();!(t=s.n()).done;)t.value.log(e,{async:!1,stdout:this.stdout,stderr:this.stderr})}catch(e){s.e(e)}finally{s.f()}}},{key:"_logAsync",value:function(e){var t=this;return Promise.all(this._reporters.map((function(s){return s.log(e,{async:!0,stdout:t.stdout,stderr:t.stderr})})))}},{key:"stdout",get:function(){return this._stdout||console._stdout}},{key:"stderr",get:function(){return this._stderr||console._stderr}}]),t}();p.prototype.add=p.prototype.addReporter,p.prototype.remove=p.prototype.removeReporter,p.prototype.clear=p.prototype.removeReporter,p.prototype.withScope=p.prototype.withTag,p.prototype.mock=p.prototype.mockTypes,p.prototype.pause=p.prototype.pauseLogs,p.prototype.resume=p.prototype.resumeLogs;var y,v=function(){function t(s){e(this,t),this.options=Object.assign({},s),this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}return s(t,[{key:"log",value:function(e){var t=e.level<1?console.__error||console.error:1===e.level&&console.warn?console.__warn||console.warn:console.__log||console.log,s="log"!==e.type?e.type:"",n=e.tag?e.tag:"",r=this.typeColorMap[e.type]||this.levelColorMap[e.level]||this.defaultColor,i="\n background: ".concat(r,";\n border-radius: 0.5em;\n color: white;\n font-weight: bold;\n padding: 2px 0.5em;\n "),a="%c".concat([n,s].filter(Boolean).join(":"));"string"==typeof e.args[0]?t.apply(void 0,["".concat(a,"%c ").concat(e.args[0]),i,""].concat(o(e.args.slice(1)))):t.apply(void 0,[a,i].concat(o(e.args)))}}]),t}();"undefined"!=typeof window&&window.consola||((y=new p({reporters:[new v]})).Consola=p,y.LogLevel=h,y.BrowserReporter=v)}();const Js={level:4};const Ys=function(e,t=Js){return Qs.create(t).withTag(e)}("foundation-testing");export{Fe as Registration,Ms as assert,Ns as createComponentSuite,Is as createLogicSuite,_t as fixture,Ys as logger,Os as suite,ks as test};
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://@genesislcap/foundation-testing/webpack/runtime/chunk loaded","webpack://@genesislcap/foundation-testing/webpack/runtime/load script","webpack://@genesislcap/foundation-testing/webpack/runtime/consumes","webpack://@genesislcap/foundation-testing/webpack/container-entry","webpack://@genesislcap/foundation-testing/webpack/bootstrap","webpack://@genesislcap/foundation-testing/webpack/runtime/define property getters","webpack://@genesislcap/foundation-testing/webpack/runtime/ensure chunk","webpack://@genesislcap/foundation-testing/webpack/runtime/get javascript chunk filename","webpack://@genesislcap/foundation-testing/webpack/runtime/get mini-css chunk filename","webpack://@genesislcap/foundation-testing/webpack/runtime/hasOwnProperty shorthand","webpack://@genesislcap/foundation-testing/webpack/runtime/make namespace object","webpack://@genesislcap/foundation-testing/webpack/runtime/sharing","webpack://@genesislcap/foundation-testing/webpack/runtime/publicPath","webpack://@genesislcap/foundation-testing/webpack/runtime/jsonp chunk loading","webpack://@genesislcap/foundation-testing/webpack/startup"],"names":["deferred","inProgress","dataWebpackPrefix","parseVersion","versionLt","satisfy","findValidVersion","get","loadStrictVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","moduleMap","__webpack_require__","e","then","module","getScope","R","o","Promise","resolve","Error","undefined","init","shareScope","initScope","S","oldScope","name","I","d","exports","__webpack_module_cache__","moduleId","cachedModule","threw","__webpack_modules__","call","m","c","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","definition","defineProperty","enumerable","f","chunkId","all","reduce","promises","u","miniCssF","obj","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","loaded","from","p","str","split","map","n","exec","apply","a","b","t","range","g","pop","requiredVersion","entry","scopeName","promise","fallback","consumes","id","onFactory","onError","error","catch","installedChunks","installedChunkData","test","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"mappings":"6CAAIA,ECAAC,EACAC,ECDAC,EAIAC,EAQAC,EAmCAC,EAuBAC,EAyCAC,EAQAC,EACAC,EAQAC,E,iBChIJ,IAAIC,EAAY,CACf,UAAW,IACHC,EAAoBC,EAAE,KAAKC,MAAK,IAAM,IAASF,EAAoB,QAGxEN,EAAM,CAACS,EAAQC,KAClBJ,EAAoBK,EAAID,EACxBA,EACCJ,EAAoBM,EAAEP,EAAWI,GAC9BJ,EAAUI,KACVI,QAAQC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3H,KACrCrB,EAAoB0B,EAAEL,GAAY2H,EAAY3H,IAGhD,GAAG4H,EAAS,IAAIpH,EAASoH,EAAQjJ,GAEjC,IADG8I,GAA4BA,EAA2BC,GACrD5G,EAAIL,EAASM,OAAQD,IACzBc,EAAUnB,EAASK,GAChBnC,EAAoBM,EAAE+H,EAAiBpF,IAAYoF,EAAgBpF,IACrEoF,EAAgBpF,GAAS,KAE1BoF,EAAgBvG,EAASK,IAAM,EAEhC,OAAOnC,EAAoB4B,EAAEC,EAAO,EAGjCqH,EAAqBC,KAAkD,4CAAIA,KAAkD,6CAAK,GACtID,EAAmB7D,QAAQwD,EAAqBtD,KAAK,KAAM,IAC3D2D,EAAmBpF,KAAO+E,EAAqBtD,KAAK,KAAM2D,EAAmBpF,KAAKyB,KAAK2D,G,KCjFvF,IAAIE,EAAsBpJ,EAAoB4B,OAAElB,EAAW,CAAC,MAAM,IAAOV,EAAoB,OAC7FoJ,EAAsBpJ,EAAoB4B,EAAEwH,G","file":"remoteEntry.js","sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"@genesislcap/foundation-testing:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar ensureExistence = (scopeName, key) => {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t147: () => (loadStrictVersionCheckFallback(\"default\", \"@microsoft/fast-element\", [1,1,7,0], () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(759))))))),\n\t951: () => (loadStrictVersionCheckFallback(\"default\", \"@microsoft/fast-foundation\", [1,2,33,2], () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(495), __webpack_require__.e(623)]).then(() => (() => (__webpack_require__(916))))))),\n\t304: () => (loadStrictVersionCheckFallback(\"default\", \"tslib\", [1,2,3,1], () => (__webpack_require__.e(191).then(() => (() => (__webpack_require__(191))))))),\n\t495: () => (loadStrictVersionCheckFallback(\"default\", \"tslib\", [1,2,3,1], () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(726))))))),\n\t622: () => (loadStrictVersionCheckFallback(\"default\", \"@genesislcap/foundation-utils\", [1,10,3,0], () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(713), __webpack_require__.e(259)]).then(() => (() => (__webpack_require__(259)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"147\": [\n\t\t147\n\t],\n\t\"495\": [\n\t\t495\n\t],\n\t\"758\": [\n\t\t951,\n\t\t304\n\t],\n\t\"772\": [\n\t\t622\n\t]\n};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory).catch(onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t});\n\t}\n}","var moduleMap = {\n\t\"./index\": () => {\n\t\treturn __webpack_require__.e(755).then(() => (() => ((__webpack_require__(755)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar oldScope = __webpack_require__.S[\"default\"];\n\tvar name = \"default\"\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + ({\"127\":\"npm.microsoft\",\"713\":\"npm.consola\",\"852\":\"npm.diff\"}[chunkId] || chunkId) + \".\" + chunkId + \".\" + {\"127\":\"8c2d0309b2c5ee49f9ed\",\"147\":\"a54af8a5adb9094ffaff\",\"191\":\"613504f8a55556ba573c\",\"259\":\"724449a74ba114ef0d82\",\"415\":\"ee8e35767118401bccab\",\"495\":\"b11308e0e345099bb22e\",\"623\":\"148af50848667bfda381\",\"713\":\"2f64f3cac7864c3b4057\",\"755\":\"5f9603173373118bd373\",\"758\":\"a5dc6c57a41294ba6b90\",\"772\":\"76d81e3af1ce835f1f47\",\"852\":\"9166591dbfda57fefcc7\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => (typeof console !== \"undefined\" && console.warn && console.warn(msg));\n\tvar uniqueName = \"@genesislcap/foundation-testing\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult.catch(handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@genesislcap/foundation-utils\", \"10.3.0\", () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(713), __webpack_require__.e(147), __webpack_require__.e(259), __webpack_require__.e(758)]).then(() => (() => (__webpack_require__(259))))));\n\t\t\tregister(\"@microsoft/fast-element\", \"1.11.0\", () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(759))))));\n\t\t\tregister(\"@microsoft/fast-foundation\", \"2.47.0\", () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(147), __webpack_require__.e(495), __webpack_require__.e(415)]).then(() => (() => (__webpack_require__(916))))));\n\t\t\tregister(\"tslib\", \"1.14.1\", () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(160))))));\n\t\t\tregister(\"tslib\", \"1.14.1\", () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(726))))));\n\t\t\tregister(\"tslib\", \"2.5.0\", () => (__webpack_require__.e(191).then(() => (() => (__webpack_require__(191))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t466: 0,\n\t701: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(147|495|701|758)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tfor(moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) var result = runtime(__webpack_require__);\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_genesislcap_foundation_testing\"] = self[\"webpackChunk_genesislcap_foundation_testing\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__.O(undefined, [701], () => (__webpack_require__(451)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"sourceRoot":""}
package/dist/index.ejs DELETED
@@ -1,23 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8"/>
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title><%= htmlWebpackPlugin.options.title %></title>
7
- <style>
8
- html,
9
- body {
10
- width: 100%;
11
- height: 100%;
12
- padding: 0;
13
- margin: 0;
14
- }
15
- :not(:defined) {
16
- visibility: hidden;
17
- }
18
- </style>
19
- </head>
20
- <body>
21
- <<%= htmlWebpackPlugin.options.customElementTagName %>></<%= htmlWebpackPlugin.options.customElementTagName %>>
22
- </body>
23
- </html>
package/dist/index.html DELETED
@@ -1,14 +0,0 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Genesis Foundation Testing (Federated)</title></head><body><h1>Genesis Foundation Testing (Federated)</h1><h3>Module Federation Details</h3><pre>{
2
- "name": "foundationTesting",
3
- "filename": "remoteEntry.js",
4
- "remotes": {},
5
- "exposes": {
6
- "./index": "./src/index.federated.ts"
7
- },
8
- "shared": {
9
- "@genesislcap/foundation-utils": "^10.3.0",
10
- "@microsoft/fast-element": "^1.7.0",
11
- "@microsoft/fast-foundation": "^2.33.2",
12
- "tslib": "^2.3.1"
13
- }
14
- }</pre>Read about <a href="https://webpack.js.org/concepts/module-federation/" target="_blank">Module Federation</a> in Webpack 5.</body></html>
package/dist/info.ejs DELETED
@@ -1,13 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <title><%= htmlWebpackPlugin.options.title %></title>
6
- </head>
7
- <body>
8
- <h1><%= htmlWebpackPlugin.options.title %></h1>
9
- <h3>Module Federation Details</h3>
10
- <pre><%= htmlWebpackPlugin.options.moduleFederationDetails %></pre>
11
- Read about <a href="https://webpack.js.org/concepts/module-federation/" target="_blank">Module Federation</a> in Webpack 5.
12
- </body>
13
- </html>
@@ -1,2 +0,0 @@
1
- (()=>{var e,t,r,n,a,o,i,f,l,s,u,d,c={755:(e,t,r)=>{Promise.all([r.e(852),r.e(147),r.e(758),r.e(772)]).then(r.bind(r,772))}},p={};function h(e){var t=p[e];if(void 0!==t)return t.exports;var r=p[e]={exports:{}},n=!0;try{c[e].call(r.exports,r,r.exports,h),n=!1}finally{n&&delete p[e]}return r.exports}h.m=c,h.c=p,e=[],h.O=(t,r,n,a)=>{if(!r){var o=1/0;for(s=0;s<e.length;s++){for(var[r,n,a]=e[s],i=!0,f=0;f<r.length;f++)(!1&a||o>=a)&&Object.keys(h.O).every((e=>h.O[e](r[f])))?r.splice(f--,1):(i=!1,a<o&&(o=a));if(i){e.splice(s--,1);var l=n();void 0!==l&&(t=l)}}return t}a=a||0;for(var s=e.length;s>0&&e[s-1][2]>a;s--)e[s]=e[s-1];e[s]=[r,n,a]},h.d=(e,t)=>{for(var r in t)h.o(t,r)&&!h.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},h.f={},h.e=e=>Promise.all(Object.keys(h.f).reduce(((t,r)=>(h.f[r](e,t),t)),[])),h.u=e=>(({127:"npm.microsoft",713:"npm.consola",852:"npm.diff"}[e]||e)+"."+e+"."+{127:"8c2d0309b2c5ee49f9ed",147:"a54af8a5adb9094ffaff",191:"613504f8a55556ba573c",259:"724449a74ba114ef0d82",415:"ee8e35767118401bccab",495:"b11308e0e345099bb22e",623:"148af50848667bfda381",713:"2f64f3cac7864c3b4057",758:"a5dc6c57a41294ba6b90",772:"76d81e3af1ce835f1f47",852:"9166591dbfda57fefcc7"}[e]+".js"),h.miniCssF=e=>{},h.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},r="@genesislcap/foundation-testing:",h.l=(e,n,a,o)=>{if(t[e])t[e].push(n);else{var i,f;if(void 0!==a)for(var l=document.getElementsByTagName("script"),s=0;s<l.length;s++){var u=l[s];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+a){i=u;break}}i||(f=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,h.nc&&i.setAttribute("nonce",h.nc),i.setAttribute("data-webpack",r+a),i.src=e),t[e]=[n];var d=(r,n)=>{i.onerror=i.onload=null,clearTimeout(c);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach((e=>e(n))),r)return r(n)},c=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),f&&document.head.appendChild(i)}},h.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{h.S={};var e={},t={};h.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];h.o(h.S,r)||(h.S[r]={});var o=h.S[r],i="@genesislcap/foundation-testing",f=(e,t,r,n)=>{var a=o[e]=o[e]||{},f=a[t];(!f||!f.loaded&&(!n!=!f.eager?n:i>f.from))&&(a[t]={get:r,from:i,eager:!!n})},l=[];if("default"===r)f("@genesislcap/foundation-utils","10.3.0",(()=>Promise.all([h.e(127),h.e(713),h.e(147),h.e(259),h.e(758)]).then((()=>()=>h(259))))),f("@microsoft/fast-element","1.11.0",(()=>h.e(127).then((()=>()=>h(759))))),f("@microsoft/fast-foundation","2.47.0",(()=>Promise.all([h.e(127),h.e(147),h.e(495),h.e(415)]).then((()=>()=>h(916))))),f("tslib","1.14.1",(()=>h.e(127).then((()=>()=>h(160))))),f("tslib","1.14.1",(()=>h.e(127).then((()=>()=>h(726))))),f("tslib","2.5.0",(()=>h.e(191).then((()=>()=>h(191)))));return l.length?e[r]=Promise.all(l).then((()=>e[r]=1)):e[r]=1}}})(),h.p="/",n=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},a=(e,t)=>{e=n(e),t=n(t);for(var r=0;;){if(r>=e.length)return r<t.length&&"u"!=(typeof t[r])[0];var a=e[r],o=(typeof a)[0];if(r>=t.length)return"u"==o;var i=t[r],f=(typeof i)[0];if(o!=f)return"o"==o&&"n"==f||"s"==f||"u"==o;if("o"!=o&&"u"!=o&&a!=i)return a<i;r++}},o=(e,t)=>{if(0 in e){t=n(t);var r=e[0],a=r<0;a&&(r=-r-1);for(var i=0,f=1,l=!0;;f++,i++){var s,u,d=f<e.length?(typeof e[f])[0]:"";if(i>=t.length||"o"==(u=(typeof(s=t[i]))[0]))return!l||("u"==d?f>r&&!a:""==d!=a);if("u"==u){if(!l||"u"!=d)return!1}else if(l)if(d==u)if(f<=r){if(s!=e[f])return!1}else{if(a?s>e[f]:s<e[f])return!1;s!=e[f]&&(l=!1)}else if("s"!=d&&"n"!=d){if(a||f<=r)return!1;l=!1,f--}else{if(f<=r||u<d!=a)return!1;l=!1}else"s"!=d&&"n"!=d&&(l=!1,f--)}}var c=[],p=c.pop.bind(c);for(i=1;i<e.length;i++){var h=e[i];c.push(1==h?p()|p():2==h?p()&p():h?o(h,t):!p())}return!!p()},i=(e,t,r)=>{var n=e[t];return(t=Object.keys(n).reduce(((e,t)=>!o(r,t)||e&&!a(e,t)?e:t),0))&&n[t]},f=e=>(e.loaded=1,e.get()),l=(e=>function(t,r,n,a){var o=h.I(t);return o&&o.then?o.then(e.bind(e,t,h.S[t],r,n,a)):e(t,h.S[t],r,n,a)})(((e,t,r,n,a)=>{var o=t&&h.o(t,r)&&i(t,r,n);return o?f(o):a()})),s={},u={147:()=>l("default","@microsoft/fast-element",[1,1,7,0],(()=>h.e(127).then((()=>()=>h(759))))),304:()=>l("default","tslib",[1,2,3,1],(()=>h.e(191).then((()=>()=>h(191))))),951:()=>l("default","@microsoft/fast-foundation",[1,2,33,2],(()=>Promise.all([h.e(127),h.e(495),h.e(623)]).then((()=>()=>h(916))))),622:()=>l("default","@genesislcap/foundation-utils",[1,10,3,0],(()=>Promise.all([h.e(127),h.e(713),h.e(259)]).then((()=>()=>h(259))))),495:()=>l("default","tslib",[1,2,3,1],(()=>h.e(127).then((()=>()=>h(726)))))},d={147:[147],495:[495],758:[304,951],772:[622]},h.f.consumes=(e,t)=>{h.o(d,e)&&d[e].forEach((e=>{if(h.o(s,e))return t.push(s[e]);var r=t=>{s[e]=0,h.m[e]=r=>{delete h.c[e],r.exports=t()}},n=t=>{delete s[e],h.m[e]=r=>{throw delete h.c[e],t}};try{var a=u[e]();a.then?t.push(s[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}))},(()=>{var e={179:0,755:0,701:0};h.f.j=(t,r)=>{var n=h.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(147|495|701|758)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=h.p+h.u(t),i=new Error;h.l(o,(r=>{if(h.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}}),"chunk-"+t,t)}},h.O.j=t=>0===e[t];var t=(t,r)=>{var n,a,[o,i,f]=r,l=0;for(n in i)h.o(i,n)&&(h.m[n]=i[n]);if(f)var s=f(h);for(t&&t(r);l<o.length;l++)a=o[l],h.o(e,a)&&e[a]&&e[a][0](),e[o[l]]=0;return h.O(s)},r=self.webpackChunk_genesislcap_foundation_testing=self.webpackChunk_genesislcap_foundation_testing||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var b=h.O(void 0,[701],(()=>h(755)));b=h.O(b)})();
2
- //# sourceMappingURL=main.f58a8d7f17348e63bf4abb67acf3e598.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://@genesislcap/foundation-testing/webpack/runtime/chunk loaded","webpack://@genesislcap/foundation-testing/webpack/runtime/load script","webpack://@genesislcap/foundation-testing/webpack/runtime/consumes","webpack://@genesislcap/foundation-testing/./src/index.federated.ts","webpack://@genesislcap/foundation-testing/webpack/bootstrap","webpack://@genesislcap/foundation-testing/webpack/runtime/define property getters","webpack://@genesislcap/foundation-testing/webpack/runtime/ensure chunk","webpack://@genesislcap/foundation-testing/webpack/runtime/get javascript chunk filename","webpack://@genesislcap/foundation-testing/webpack/runtime/get mini-css chunk filename","webpack://@genesislcap/foundation-testing/webpack/runtime/hasOwnProperty shorthand","webpack://@genesislcap/foundation-testing/webpack/runtime/make namespace object","webpack://@genesislcap/foundation-testing/webpack/runtime/sharing","webpack://@genesislcap/foundation-testing/webpack/runtime/publicPath","webpack://@genesislcap/foundation-testing/webpack/runtime/jsonp chunk loading","webpack://@genesislcap/foundation-testing/webpack/startup"],"names":["deferred","inProgress","dataWebpackPrefix","parseVersion","versionLt","satisfy","findValidVersion","get","loadStrictVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","threw","__webpack_modules__","call","m","c","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","d","definition","o","defineProperty","enumerable","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","obj","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","S","initPromises","initTokens","I","name","initScope","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","loaded","from","then","p","str","split","map","n","exec","apply","a","b","t","range","g","pop","requiredVersion","entry","scopeName","promise","init","fallback","consumes","id","onFactory","onError","error","catch","installedChunks","installedChunkData","test","resolve","reject","Error","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","chunkLoadingGlob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F,EAAgBjH,EAASK,IAAM,EAEhC,OAAOlB,EAAoBW,EAAEC,EAAO,EAGjCiI,EAAqBC,KAAkD,4CAAIA,KAAkD,6CAAK,GACtID,EAAmBrE,QAAQgE,EAAqB9D,KAAK,KAAM,IAC3DmE,EAAmB5F,KAAOuF,EAAqB9D,KAAK,KAAMmE,EAAmB5F,KAAKyB,KAAKmE,G,KClFvF,IAAIE,EAAsB/I,EAAoBW,OAAER,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7F+I,EAAsB/I,EAAoBW,EAAEoI,E","file":"main.xxxxxxxxxxxxxxxxxxxx.js","sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"@genesislcap/foundation-testing:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar ensureExistence = (scopeName, key) => {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t147: () => (loadStrictVersionCheckFallback(\"default\", \"@microsoft/fast-element\", [1,1,7,0], () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(759))))))),\n\t304: () => (loadStrictVersionCheckFallback(\"default\", \"tslib\", [1,2,3,1], () => (__webpack_require__.e(191).then(() => (() => (__webpack_require__(191))))))),\n\t951: () => (loadStrictVersionCheckFallback(\"default\", \"@microsoft/fast-foundation\", [1,2,33,2], () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(495), __webpack_require__.e(623)]).then(() => (() => (__webpack_require__(916))))))),\n\t622: () => (loadStrictVersionCheckFallback(\"default\", \"@genesislcap/foundation-utils\", [1,10,3,0], () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(713), __webpack_require__.e(259)]).then(() => (() => (__webpack_require__(259))))))),\n\t495: () => (loadStrictVersionCheckFallback(\"default\", \"tslib\", [1,2,3,1], () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(726)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"147\": [\n\t\t147\n\t],\n\t\"495\": [\n\t\t495\n\t],\n\t\"758\": [\n\t\t304,\n\t\t951\n\t],\n\t\"772\": [\n\t\t622\n\t]\n};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory).catch(onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t});\n\t}\n}","import('./index');\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + ({\"127\":\"npm.microsoft\",\"713\":\"npm.consola\",\"852\":\"npm.diff\"}[chunkId] || chunkId) + \".\" + chunkId + \".\" + {\"127\":\"8c2d0309b2c5ee49f9ed\",\"147\":\"a54af8a5adb9094ffaff\",\"191\":\"613504f8a55556ba573c\",\"259\":\"724449a74ba114ef0d82\",\"415\":\"ee8e35767118401bccab\",\"495\":\"b11308e0e345099bb22e\",\"623\":\"148af50848667bfda381\",\"713\":\"2f64f3cac7864c3b4057\",\"758\":\"a5dc6c57a41294ba6b90\",\"772\":\"76d81e3af1ce835f1f47\",\"852\":\"9166591dbfda57fefcc7\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => (typeof console !== \"undefined\" && console.warn && console.warn(msg));\n\tvar uniqueName = \"@genesislcap/foundation-testing\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult.catch(handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@genesislcap/foundation-utils\", \"10.3.0\", () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(713), __webpack_require__.e(147), __webpack_require__.e(259), __webpack_require__.e(758)]).then(() => (() => (__webpack_require__(259))))));\n\t\t\tregister(\"@microsoft/fast-element\", \"1.11.0\", () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(759))))));\n\t\t\tregister(\"@microsoft/fast-foundation\", \"2.47.0\", () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(147), __webpack_require__.e(495), __webpack_require__.e(415)]).then(() => (() => (__webpack_require__(916))))));\n\t\t\tregister(\"tslib\", \"1.14.1\", () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(160))))));\n\t\t\tregister(\"tslib\", \"1.14.1\", () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(726))))));\n\t\t\tregister(\"tslib\", \"2.5.0\", () => (__webpack_require__.e(191).then(() => (() => (__webpack_require__(191))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0,\n\t755: 0,\n\t701: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(147|495|701|758)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tfor(moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) var result = runtime(__webpack_require__);\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_genesislcap_foundation_testing\"] = self[\"webpackChunk_genesislcap_foundation_testing\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\nvar __webpack_exports__ = __webpack_require__.O(undefined, [701], () => (__webpack_require__(755)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self.webpackChunk_genesislcap_foundation_testing=self.webpackChunk_genesislcap_foundation_testing||[]).push([[713],{708:function(t){t.exports=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function r(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||a(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){if(t){if("string"==typeof t)return l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}function c(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=a(t))){var e=0,r=function(){};return{s:r,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s,i=!0,n=!1;return{s:function(){o=t[Symbol.iterator]()},n:function(){var t=o.next();return i=t.done,t},e:function(t){n=!0,s=t},f:function(){try{i||null==o.return||o.return()}finally{if(n)throw s}}}}var h={};h[h.Fatal=0]="Fatal",h[h.Error=0]="Error",h[h.Warn=1]="Warn",h[h.Log=2]="Log",h[h.Info=3]="Info",h[h.Success=3]="Success",h[h.Debug=4]="Debug",h[h.Trace=5]="Trace",h[h.Silent=-1/0]="Silent",h[h.Verbose=1/0]="Verbose";var u={silent:{level:-1},fatal:{level:h.Fatal},error:{level:h.Error},warn:{level:h.Warn},log:{level:h.Log},info:{level:h.Info},success:{level:h.Success},debug:{level:h.Debug},trace:{level:h.Trace},verbose:{level:h.Trace},ready:{level:h.Info},start:{level:h.Info}};function p(t){return e=t,!("[object Object]"!==Object.prototype.toString.call(e)||!t.message&&!t.args||t.stack);var e}var _=!1,d=[],g=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var o in t(this,e),this._reporters=r.reporters||[],this._types=r.types||u,this.level=void 0!==r.level?r.level:3,this._defaults=r.defaults||{},this._async=void 0!==r.async?r.async:void 0,this._stdout=r.stdout,this._stderr=r.stderr,this._mockFn=r.mockFn,this._throttle=r.throttle||1e3,this._throttleMin=r.throttleMin||5,this._types){var s=i(i({type:o},this._types[o]),this._defaults);this[o]=this._wrapLogFn(s),this[o].raw=this._wrapLogFn(s,!0)}this._mockFn&&this.mockTypes(),this._lastLogSerialized=void 0,this._lastLog=void 0,this._lastLogTime=void 0,this._lastLogCount=0,this._throttleTimeout=void 0}return r(e,[{key:"create",value:function(t){return new e(Object.assign({reporters:this._reporters,level:this.level,types:this._types,defaults:this._defaults,stdout:this._stdout,stderr:this._stderr,mockFn:this._mockFn},t))}},{key:"withDefaults",value:function(t){return this.create({defaults:Object.assign({},this._defaults,t)})}},{key:"withTag",value:function(t){return this.withDefaults({tag:this._defaults.tag?this._defaults.tag+":"+t:t})}},{key:"addReporter",value:function(t){return this._reporters.push(t),this}},{key:"removeReporter",value:function(t){if(t){var e=this._reporters.indexOf(t);if(e>=0)return this._reporters.splice(e,1)}else this._reporters.splice(0);return this}},{key:"setReporters",value:function(t){return this._reporters=Array.isArray(t)?t:[t],this}},{key:"wrapAll",value:function(){this.wrapConsole(),this.wrapStd()}},{key:"restoreAll",value:function(){this.restoreConsole(),this.restoreStd()}},{key:"wrapConsole",value:function(){for(var t in this._types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}},{key:"restoreConsole",value:function(){for(var t in this._types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}},{key:"wrapStd",value:function(){this._wrapStream(this.stdout,"log"),this._wrapStream(this.stderr,"log")}},{key:"_wrapStream",value:function(t,e){var r=this;t&&(t.__write||(t.__write=t.write),t.write=function(t){r[e].raw(String(t).trim())})}},{key:"restoreStd",value:function(){this._restoreStream(this.stdout),this._restoreStream(this.stderr)}},{key:"_restoreStream",value:function(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}},{key:"pauseLogs",value:function(){_=!0}},{key:"resumeLogs",value:function(){_=!1;var t,e=c(d.splice(0));try{for(e.s();!(t=e.n()).done;){var r=t.value;r[0]._logFn(r[1],r[2])}}catch(t){e.e(t)}finally{e.f()}}},{key:"mockTypes",value:function(t){if(this._mockFn=t||this._mockFn,"function"==typeof this._mockFn)for(var e in this._types)this[e]=this._mockFn(e,this._types[e])||this[e],this[e].raw=this[e]}},{key:"_wrapLogFn",value:function(t,e){var r=this;return function(){for(var o=arguments.length,s=new Array(o),i=0;i<o;i++)s[i]=arguments[i];if(!_)return r._logFn(t,s,e);d.push([r,t,s,e])}}},{key:"_logFn",value:function(t,e,r){var o=this;if(t.level>this.level)return!!this._async&&Promise.resolve(!1);var s=Object.assign({date:new Date,args:[]},t);!r&&1===e.length&&p(e[0])?Object.assign(s,e[0]):s.args=Array.from(e),s.message&&(s.args.unshift(s.message),delete s.message),s.additional&&(Array.isArray(s.additional)||(s.additional=s.additional.split("\n")),s.args.push("\n"+s.additional.join("\n")),delete s.additional),s.type="string"==typeof s.type?s.type.toLowerCase():"",s.tag="string"==typeof s.tag?s.tag.toLowerCase():"";var a=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=o._lastLogCount-o._throttleMin;if(o._lastLog&&e>0){var r=n(o._lastLog.args);e>1&&r.push("(repeated ".concat(e," times)")),o._log(i(i({},o._lastLog),{},{args:r})),o._lastLogCount=1}if(t){if(o._lastLog=s,o._async)return o._logAsync(s);o._log(s)}};clearTimeout(this._throttleTimeout);var l=this._lastLogTime?s.date-this._lastLogTime:0;if(this._lastLogTime=s.date,l<this._throttle)try{var c=JSON.stringify([s.type,s.tag,s.args]),h=this._lastLogSerialized===c;if(this._lastLogSerialized=c,h&&(this._lastLogCount++,this._lastLogCount>this._throttleMin))return void(this._throttleTimeout=setTimeout(a,this._throttle))}catch(t){}a(!0)}},{key:"_log",value:function(t){var e,r=c(this._reporters);try{for(r.s();!(e=r.n()).done;)e.value.log(t,{async:!1,stdout:this.stdout,stderr:this.stderr})}catch(t){r.e(t)}finally{r.f()}}},{key:"_logAsync",value:function(t){var e=this;return Promise.all(this._reporters.map((function(r){return r.log(t,{async:!0,stdout:e.stdout,stderr:e.stderr})})))}},{key:"stdout",get:function(){return this._stdout||console._stdout}},{key:"stderr",get:function(){return this._stderr||console._stderr}}]),e}();g.prototype.add=g.prototype.addReporter,g.prototype.remove=g.prototype.removeReporter,g.prototype.clear=g.prototype.removeReporter,g.prototype.withScope=g.prototype.withTag,g.prototype.mock=g.prototype.mockTypes,g.prototype.pause=g.prototype.pauseLogs,g.prototype.resume=g.prototype.resumeLogs;var f,y=function(){function e(r){t(this,e),this.options=Object.assign({},r),this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}return r(e,[{key:"log",value:function(t){var e=t.level<1?console.__error||console.error:1===t.level&&console.warn?console.__warn||console.warn:console.__log||console.log,r="log"!==t.type?t.type:"",o=t.tag?t.tag:"",s=this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor,i="\n background: ".concat(s,";\n border-radius: 0.5em;\n color: white;\n font-weight: bold;\n padding: 2px 0.5em;\n "),a="%c".concat([o,r].filter(Boolean).join(":"));"string"==typeof t.args[0]?e.apply(void 0,["".concat(a,"%c ").concat(t.args[0]),i,""].concat(n(t.args.slice(1)))):e.apply(void 0,[a,i].concat(n(t.args)))}}]),e}();return"undefined"!=typeof window&&window.consola||((f=new g({reporters:[new y]})).Consola=g,f.LogLevel=h,f.BrowserReporter=y,f)}()},100:(t,e,r)=>{"use strict";r.d(e,{Z:()=>u});const o={};o[o.Fatal=0]="Fatal",o[o.Error=0]="Error",o[o.Warn=1]="Warn",o[o.Log=2]="Log",o[o.Info=3]="Info",o[o.Success=3]="Success",o[o.Debug=4]="Debug",o[o.Trace=5]="Trace",o[o.Silent=-1/0]="Silent",o[o.Verbose=1/0]="Verbose";const s={silent:{level:-1},fatal:{level:o.Fatal},error:{level:o.Error},warn:{level:o.Warn},log:{level:o.Log},info:{level:o.Info},success:{level:o.Success},debug:{level:o.Debug},trace:{level:o.Trace},verbose:{level:o.Trace},ready:{level:o.Info},start:{level:o.Info}};function i(t){return e=t,"[object Object]"===Object.prototype.toString.call(e)&&(!(!t.message&&!t.args)&&!t.stack);var e}let n=!1;const a=[];class l{constructor(t={}){this._reporters=t.reporters||[],this._types=t.types||s,this.level=void 0!==t.level?t.level:3,this._defaults=t.defaults||{},this._async=void 0!==t.async?t.async:void 0,this._stdout=t.stdout,this._stderr=t.stderr,this._mockFn=t.mockFn,this._throttle=t.throttle||1e3,this._throttleMin=t.throttleMin||5;for(const t in this._types){const e={type:t,...this._types[t],...this._defaults};this[t]=this._wrapLogFn(e),this[t].raw=this._wrapLogFn(e,!0)}this._mockFn&&this.mockTypes(),this._lastLogSerialized=void 0,this._lastLog=void 0,this._lastLogTime=void 0,this._lastLogCount=0,this._throttleTimeout=void 0}get stdout(){return this._stdout||console._stdout}get stderr(){return this._stderr||console._stderr}create(t){return new l(Object.assign({reporters:this._reporters,level:this.level,types:this._types,defaults:this._defaults,stdout:this._stdout,stderr:this._stderr,mockFn:this._mockFn},t))}withDefaults(t){return this.create({defaults:Object.assign({},this._defaults,t)})}withTag(t){return this.withDefaults({tag:this._defaults.tag?this._defaults.tag+":"+t:t})}addReporter(t){return this._reporters.push(t),this}removeReporter(t){if(t){const e=this._reporters.indexOf(t);if(e>=0)return this._reporters.splice(e,1)}else this._reporters.splice(0);return this}setReporters(t){return this._reporters=Array.isArray(t)?t:[t],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(const t in this._types)console["__"+t]||(console["__"+t]=console[t]),console[t]=this[t].raw}restoreConsole(){for(const t in this._types)console["__"+t]&&(console[t]=console["__"+t],delete console["__"+t])}wrapStd(){this._wrapStream(this.stdout,"log"),this._wrapStream(this.stderr,"log")}_wrapStream(t,e){t&&(t.__write||(t.__write=t.write),t.write=t=>{this[e].raw(String(t).trim())})}restoreStd(){this._restoreStream(this.stdout),this._restoreStream(this.stderr)}_restoreStream(t){t&&t.__write&&(t.write=t.__write,delete t.__write)}pauseLogs(){n=!0}resumeLogs(){n=!1;const t=a.splice(0);for(const e of t)e[0]._logFn(e[1],e[2])}mockTypes(t){if(this._mockFn=t||this._mockFn,"function"==typeof this._mockFn)for(const t in this._types)this[t]=this._mockFn(t,this._types[t])||this[t],this[t].raw=this[t]}_wrapLogFn(t,e){return(...r)=>{if(!n)return this._logFn(t,r,e);a.push([this,t,r,e])}}_logFn(t,e,r){if(t.level>this.level)return!!this._async&&Promise.resolve(!1);const o=Object.assign({date:new Date,args:[]},t);!r&&1===e.length&&i(e[0])?Object.assign(o,e[0]):o.args=Array.from(e),o.message&&(o.args.unshift(o.message),delete o.message),o.additional&&(Array.isArray(o.additional)||(o.additional=o.additional.split("\n")),o.args.push("\n"+o.additional.join("\n")),delete o.additional),o.type="string"==typeof o.type?o.type.toLowerCase():"",o.tag="string"==typeof o.tag?o.tag.toLowerCase():"";const s=(t=!1)=>{const e=this._lastLogCount-this._throttleMin;if(this._lastLog&&e>0){const t=[...this._lastLog.args];e>1&&t.push(`(repeated ${e} times)`),this._log({...this._lastLog,args:t}),this._lastLogCount=1}if(t){if(this._lastLog=o,this._async)return this._logAsync(o);this._log(o)}};clearTimeout(this._throttleTimeout);const n=this._lastLogTime?o.date-this._lastLogTime:0;if(this._lastLogTime=o.date,n<this._throttle)try{const t=JSON.stringify([o.type,o.tag,o.args]),e=this._lastLogSerialized===t;if(this._lastLogSerialized=t,e&&(this._lastLogCount++,this._lastLogCount>this._throttleMin))return void(this._throttleTimeout=setTimeout(s,this._throttle))}catch(t){}s(!0)}_log(t){for(const e of this._reporters)e.log(t,{async:!1,stdout:this.stdout,stderr:this.stderr})}_logAsync(t){return Promise.all(this._reporters.map((e=>e.log(t,{async:!0,stdout:this.stdout,stderr:this.stderr}))))}}l.prototype.add=l.prototype.addReporter,l.prototype.remove=l.prototype.removeReporter,l.prototype.clear=l.prototype.removeReporter,l.prototype.withScope=l.prototype.withTag,l.prototype.mock=l.prototype.mockTypes,l.prototype.pause=l.prototype.pauseLogs,l.prototype.resume=l.prototype.resumeLogs;const c=l;class h{constructor(t){this.options=Object.assign({},t),this.defaultColor="#7f8c8d",this.levelColorMap={0:"#c0392b",1:"#f39c12",3:"#00BCD4"},this.typeColorMap={success:"#2ecc71"}}log(t){const e=t.level<1?console.__error||console.error:1===t.level&&console.warn?console.__warn||console.warn:console.__log||console.log,r="log"!==t.type?t.type:"",o=t.tag?t.tag:"",s=`\n background: ${this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor};\n border-radius: 0.5em;\n color: white;\n font-weight: bold;\n padding: 2px 0.5em;\n `,i=`%c${[o,r].filter(Boolean).join(":")}`;"string"==typeof t.args[0]?e(`${i}%c ${t.args[0]}`,s,"",...t.args.slice(1)):e(i,s,...t.args)}}const u="undefined"!=typeof window&&window.consola||function(){const t=new c({reporters:[new h]});return t.Consola=c,t.LogLevel=o,t.BrowserReporter=h,t}()}}]);
2
- //# sourceMappingURL=npm.consola.8813a44257414a02ed3be5608793f087.js.map