@genesislcap/foundation-utils 10.3.1 → 11.3.1

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 (140) hide show
  1. package/dist/dts/{designSystem/designSystem.d.ts → design-system/design-system.d.ts} +1 -1
  2. package/dist/dts/design-system/design-system.d.ts.map +1 -0
  3. package/dist/dts/design-system/index.d.ts +2 -0
  4. package/dist/dts/design-system/index.d.ts.map +1 -0
  5. package/dist/dts/env/index.d.ts +2 -1
  6. package/dist/dts/env/index.d.ts.map +1 -1
  7. package/dist/dts/env/is-dev.d.ts +2 -0
  8. package/dist/dts/env/is-dev.d.ts.map +1 -0
  9. package/dist/dts/env/variables.d.ts +15 -0
  10. package/dist/dts/env/variables.d.ts.map +1 -0
  11. package/dist/dts/index.d.ts +1 -1
  12. package/dist/dts/index.d.ts.map +1 -1
  13. package/dist/dts/logger/logger.d.ts.map +1 -1
  14. package/dist/dts/utils/logger.d.ts.map +1 -1
  15. package/dist/esm/data/inMemoryDatabase.js +0 -1
  16. package/dist/esm/data/index.js +0 -1
  17. package/dist/esm/decorators/index.js +0 -1
  18. package/dist/esm/decorators/renderOnChange.js +0 -1
  19. package/dist/esm/{designSystem/designSystem.js → design-system/design-system.js} +0 -1
  20. package/dist/esm/design-system/index.js +1 -0
  21. package/dist/esm/directives/index.js +0 -1
  22. package/dist/esm/directives/sync/index.js +0 -1
  23. package/dist/esm/directives/sync/sync.js +0 -1
  24. package/dist/esm/env/index.js +2 -2
  25. package/dist/esm/env/is-dev.js +1 -0
  26. package/dist/esm/env/variables.js +42 -0
  27. package/dist/esm/formatters/datetime.js +0 -1
  28. package/dist/esm/formatters/index.js +0 -1
  29. package/dist/esm/index.federated.js +0 -1
  30. package/dist/esm/index.js +1 -2
  31. package/dist/esm/logger/index.js +0 -1
  32. package/dist/esm/logger/logger.js +0 -1
  33. package/dist/esm/mappers/dto/index.js +0 -1
  34. package/dist/esm/mappers/dto/serverRow.js +0 -1
  35. package/dist/esm/mappers/dto/types.js +0 -1
  36. package/dist/esm/mappers/index.js +0 -1
  37. package/dist/esm/mixins/index.js +0 -1
  38. package/dist/esm/mixins/lifecycle/index.js +0 -1
  39. package/dist/esm/mixins/lifecycle/lifecycle.js +0 -1
  40. package/dist/esm/mixins/pendingState/index.js +0 -1
  41. package/dist/esm/mixins/pendingState/pendingState.js +0 -1
  42. package/dist/esm/observer/index.js +0 -1
  43. package/dist/esm/observer/observer.js +0 -1
  44. package/dist/esm/resource/index.js +0 -1
  45. package/dist/esm/resource/types.js +0 -1
  46. package/dist/esm/serializers/index.js +0 -1
  47. package/dist/esm/serializers/json/index.js +0 -1
  48. package/dist/esm/serializers/json/json.js +0 -1
  49. package/dist/esm/styles/color.js +0 -1
  50. package/dist/esm/styles/dom.js +0 -1
  51. package/dist/esm/styles/index.js +0 -1
  52. package/dist/esm/styles/slotted-styles.js +0 -1
  53. package/dist/esm/styles/typography.js +0 -1
  54. package/dist/esm/utils/index.js +0 -1
  55. package/dist/esm/utils/logger.js +0 -1
  56. package/dist/esm/uuid/index.js +0 -1
  57. package/dist/esm/uuid/uuid.js +1 -2
  58. package/dist/esm/window/index.js +0 -1
  59. package/dist/esm/window/window.js +0 -1
  60. package/package.json +4 -4
  61. package/dist/1.0.0.remoteEntry.js +0 -1
  62. package/dist/191.191.c269f7289e58bf7b411d.js +0 -2
  63. package/dist/191.39a2e9203510a7519708c5b4aea7f704.js.map +0 -1
  64. package/dist/415.3cb7f8f1ac5100455b500b2031b3bad5.js.map +0 -1
  65. package/dist/415.415.4b5fb555089ec8cfcefc.js +0 -3
  66. package/dist/415.415.4b5fb555089ec8cfcefc.js.LICENSE.txt +0 -4
  67. package/dist/623.623.110a7cfaa949a6ed5af4.js +0 -3
  68. package/dist/623.623.110a7cfaa949a6ed5af4.js.LICENSE.txt +0 -4
  69. package/dist/623.634cdd52899e585371b85bd188223dd8.js.map +0 -1
  70. package/dist/755.755.0b7ce5e5697d1349a296.js +0 -2
  71. package/dist/755.b048a5e9f9f10fcc6eca65bc430df2d8.js.map +0 -1
  72. package/dist/771.771.1d3a6b8f94d8af130611.js +0 -2
  73. package/dist/771.77671405d7e88345d37fcb4dc866d245.js.map +0 -1
  74. package/dist/969.969.4469fc6efc6386f330d3.js +0 -2
  75. package/dist/969.96dbe89007eb6d111249898cf1e26a6f.js.map +0 -1
  76. package/dist/dashboard.json +0 -1
  77. package/dist/dts/designSystem/designSystem.d.ts.map +0 -1
  78. package/dist/dts/designSystem/index.d.ts +0 -2
  79. package/dist/dts/designSystem/index.d.ts.map +0 -1
  80. package/dist/esm/data/inMemoryDatabase.js.map +0 -1
  81. package/dist/esm/data/index.js.map +0 -1
  82. package/dist/esm/decorators/index.js.map +0 -1
  83. package/dist/esm/decorators/renderOnChange.js.map +0 -1
  84. package/dist/esm/designSystem/designSystem.js.map +0 -1
  85. package/dist/esm/designSystem/index.js +0 -2
  86. package/dist/esm/designSystem/index.js.map +0 -1
  87. package/dist/esm/directives/index.js.map +0 -1
  88. package/dist/esm/directives/sync/index.js.map +0 -1
  89. package/dist/esm/directives/sync/sync.js.map +0 -1
  90. package/dist/esm/env/index.js.map +0 -1
  91. package/dist/esm/formatters/datetime.js.map +0 -1
  92. package/dist/esm/formatters/index.js.map +0 -1
  93. package/dist/esm/index.federated.js.map +0 -1
  94. package/dist/esm/index.js.map +0 -1
  95. package/dist/esm/logger/index.js.map +0 -1
  96. package/dist/esm/logger/logger.js.map +0 -1
  97. package/dist/esm/mappers/dto/index.js.map +0 -1
  98. package/dist/esm/mappers/dto/serverRow.js.map +0 -1
  99. package/dist/esm/mappers/dto/types.js.map +0 -1
  100. package/dist/esm/mappers/index.js.map +0 -1
  101. package/dist/esm/mixins/index.js.map +0 -1
  102. package/dist/esm/mixins/lifecycle/index.js.map +0 -1
  103. package/dist/esm/mixins/lifecycle/lifecycle.js.map +0 -1
  104. package/dist/esm/mixins/pendingState/index.js.map +0 -1
  105. package/dist/esm/mixins/pendingState/pendingState.js.map +0 -1
  106. package/dist/esm/observer/index.js.map +0 -1
  107. package/dist/esm/observer/observer.js.map +0 -1
  108. package/dist/esm/resource/index.js.map +0 -1
  109. package/dist/esm/resource/types.js.map +0 -1
  110. package/dist/esm/serializers/index.js.map +0 -1
  111. package/dist/esm/serializers/json/index.js.map +0 -1
  112. package/dist/esm/serializers/json/json.js.map +0 -1
  113. package/dist/esm/styles/color.js.map +0 -1
  114. package/dist/esm/styles/dom.js.map +0 -1
  115. package/dist/esm/styles/index.js.map +0 -1
  116. package/dist/esm/styles/slotted-styles.js.map +0 -1
  117. package/dist/esm/styles/typography.js.map +0 -1
  118. package/dist/esm/utils/index.js.map +0 -1
  119. package/dist/esm/utils/logger.js.map +0 -1
  120. package/dist/esm/uuid/index.js.map +0 -1
  121. package/dist/esm/uuid/uuid.js.map +0 -1
  122. package/dist/esm/window/index.js.map +0 -1
  123. package/dist/esm/window/window.js.map +0 -1
  124. package/dist/favicon.ico +0 -0
  125. package/dist/foundation-utils.iife.min.js +0 -16
  126. package/dist/foundation-utils.js +0 -7761
  127. package/dist/foundation-utils.min.js +0 -15
  128. package/dist/foundationUtils.8e6a99a45fc60d4385efaab4edaffbd3.js.map +0 -1
  129. package/dist/index.ejs +0 -23
  130. package/dist/index.html +0 -16
  131. package/dist/info.ejs +0 -13
  132. package/dist/main.de5ec80023c2d4566929.js +0 -2
  133. package/dist/main.ec5161040143d5cd365675931c2e06c7.js.map +0 -1
  134. package/dist/npm.consola.713.aa55449b0ad5bbaff3d7.js +0 -2
  135. package/dist/npm.consola.d5540a4a6823a1a5324fd042a1cde286.js.map +0 -1
  136. package/dist/npm.microsoft.127.cb5f92dbc8ab4bb7086c.js +0 -6404
  137. package/dist/npm.microsoft.127.cb5f92dbc8ab4bb7086c.js.LICENSE.txt +0 -14
  138. package/dist/npm.microsoft.518a1c468bec250141dc5f62332217e8.js.map +0 -1
  139. package/dist/remoteEntry.js +0 -2
  140. package/dist/serve.json +0 -3
@@ -1,15 +0,0 @@
1
- function t(t,e,r,s){var n,i=arguments.length,o=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,s);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(i<3?n(o):i>3?n(e,r,o):n(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o}function e(t,e,r,s){return new(r||(r=Promise))((function(n,i){function o(t){try{l(s.next(t))}catch(t){i(t)}}function a(t){try{l(s.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(o,a)}l((s=s.apply(t,e||[])).next())}))}function r(t,e,r,s){if("a"===r&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?s:"a"===r?s.call(t):s?s.value:e.get(t)}const s=()=>{let t=[];return{subscribe:e=>(t.push(e),()=>t=t.filter((t=>t!==e))),publish(e){t.forEach((t=>t(e)))}}},n={};n[n.Fatal=0]="Fatal",n[n.Error=0]="Error",n[n.Warn=1]="Warn",n[n.Log=2]="Log",n[n.Info=3]="Info",n[n.Success=3]="Success",n[n.Debug=4]="Debug",n[n.Trace=5]="Trace",n[n.Silent=-1/0]="Silent",n[n.Verbose=1/0]="Verbose";var i={silent:{level:-1},fatal:{level:n.Fatal},error:{level:n.Error},warn:{level:n.Warn},log:{level:n.Log},info:{level:n.Info},success:{level:n.Success},debug:{level:n.Debug},trace:{level:n.Trace},verbose:{level:n.Trace},ready:{level:n.Info},start:{level:n.Info}};function o(t){return e=t,"[object Object]"===Object.prototype.toString.call(e)&&(!(!t.message&&!t.args)&&!t.stack);var e}let a=!1;const l=[];class u{constructor(t={}){this._reporters=t.reporters||[],this._types=t.types||i,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 u(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(){a=!0}resumeLogs(){a=!1;const t=l.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(!a)return this._logFn(t,r,e);l.push([this,t,r,e])}}_logFn(t,e,r){if(t.level>this.level)return!!this._async&&Promise.resolve(!1);const s=Object.assign({date:new Date,args:[]},t);!r&&1===e.length&&o(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():"";const n=(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=s,this._async)return this._logAsync(s);this._log(s)}};clearTimeout(this._throttleTimeout);const i=this._lastLogTime?s.date-this._lastLogTime:0;if(this._lastLogTime=s.date,i<this._throttle)try{const t=JSON.stringify([s.type,s.tag,s.args]),e=this._lastLogSerialized===t;if(this._lastLogSerialized=t,e&&(this._lastLogCount++,this._lastLogCount>this._throttleMin))return void(this._throttleTimeout=setTimeout(n,this._throttle))}catch(t){}n(!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}))))}}u.prototype.add=u.prototype.addReporter,u.prototype.remove=u.prototype.removeReporter,u.prototype.clear=u.prototype.removeReporter,u.prototype.withScope=u.prototype.withTag,u.prototype.mock=u.prototype.mockTypes,u.prototype.pause=u.prototype.pauseLogs,u.prototype.resume=u.prototype.resumeLogs;class c{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:"",s=t.tag?t.tag:"",n=`\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${[s,r].filter(Boolean).join(":")}`;"string"==typeof t.args[0]?e(`${i}%c ${t.args[0]}`,n,"",...t.args.slice(1)):e(i,n,...t.args)}}var h="undefined"!=typeof window&&window.consola||function(){const t=new u({reporters:[new c]});return t.Consola=u,t.LogLevel=n,t.BrowserReporter=c,t}(),f=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self,{exports:{}});f.exports=function(){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 s=e[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}function r(t,r,s){return r&&e(t.prototype,r),s&&e(t,s),t}function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(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,s=new Array(e);r<e;r++)s[r]=t[r];return s}function u(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 s,n,i=!0,o=!1;return{s:function(){s=t[Symbol.iterator]()},n:function(){var t=s.next();return i=t.done,t},e:function(t){o=!0,n=t},f:function(){try{i||null==s.return||s.return()}finally{if(o)throw n}}}}var c={};c[c.Fatal=0]="Fatal",c[c.Error=0]="Error",c[c.Warn=1]="Warn",c[c.Log=2]="Log",c[c.Info=3]="Info",c[c.Success=3]="Success",c[c.Debug=4]="Debug",c[c.Trace=5]="Trace",c[c.Silent=-1/0]="Silent",c[c.Verbose=1/0]="Verbose";var h={silent:{level:-1},fatal:{level:c.Fatal},error:{level:c.Error},warn:{level:c.Warn},log:{level:c.Log},info:{level:c.Info},success:{level:c.Success},debug:{level:c.Debug},trace:{level:c.Trace},verbose:{level:c.Trace},ready:{level:c.Info},start:{level:c.Info}};function f(t){return e=t,!("[object Object]"!==Object.prototype.toString.call(e)||!t.message&&!t.args||t.stack);var e}var d=!1,g=[],p=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var s in t(this,e),this._reporters=r.reporters||[],this._types=r.types||h,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 n=i(i({type:s},this._types[s]),this._defaults);this[s]=this._wrapLogFn(n),this[s].raw=this._wrapLogFn(n,!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(){d=!0}},{key:"resumeLogs",value:function(){d=!1;var t,e=u(g.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 s=arguments.length,n=new Array(s),i=0;i<s;i++)n[i]=arguments[i];if(!d)return r._logFn(t,n,e);g.push([r,t,n,e])}}},{key:"_logFn",value:function(t,e,r){var s=this;if(t.level>this.level)return!!this._async&&Promise.resolve(!1);var n=Object.assign({date:new Date,args:[]},t);!r&&1===e.length&&f(e[0])?Object.assign(n,e[0]):n.args=Array.from(e),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():"";var a=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=s._lastLogCount-s._throttleMin;if(s._lastLog&&e>0){var r=o(s._lastLog.args);e>1&&r.push("(repeated ".concat(e," times)")),s._log(i(i({},s._lastLog),{},{args:r})),s._lastLogCount=1}if(t){if(s._lastLog=n,s._async)return s._logAsync(n);s._log(n)}};clearTimeout(this._throttleTimeout);var l=this._lastLogTime?n.date-this._lastLogTime:0;if(this._lastLogTime=n.date,l<this._throttle)try{var u=JSON.stringify([n.type,n.tag,n.args]),c=this._lastLogSerialized===u;if(this._lastLogSerialized=u,c&&(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=u(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}();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 v,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:"",s=t.tag?t.tag:"",n=this.typeColorMap[t.type]||this.levelColorMap[t.level]||this.defaultColor,i="\n background: ".concat(n,";\n border-radius: 0.5em;\n color: white;\n font-weight: bold;\n padding: 2px 0.5em;\n "),a="%c".concat([s,r].filter(Boolean).join(":"));"string"==typeof t.args[0]?e.apply(void 0,["".concat(a,"%c ").concat(t.args[0]),i,""].concat(o(t.args.slice(1)))):e.apply(void 0,[a,i].concat(o(t.args)))}}]),e}();return"undefined"!=typeof window&&window.consola||((v=new p({reporters:[new y]})).Consola=p,v.LogLevel=c,v.BrowserReporter=y,v)}();const d={level:4};function g(t,e=d){return h.create(e).withTag(t)}const p=g("foundation-utils");class v{constructor(t){this.uuid=t,this.isWorking=!1,this.records={},this.beforeUpdateListeners=s(),this.afterUpdateListeners=s()}create(t){return e(this,void 0,void 0,(function*(){const e=yield this.uuid.createRemoteId();return this.update(e,t)}))}read(t){return e(this,void 0,void 0,(function*(){let e;try{this.isWorking=!0,e=this.records[t],p.debug(`Database.read ${JSON.stringify(e)}`)}catch(t){throw p.error("Database.read error",t),t}finally{this.isWorking=!1}return{value:e}}))}update(t,r){return e(this,void 0,void 0,(function*(){const e=Object.assign(Object.assign({},r),{id:t}),s=e;try{this.isWorking=!0,this.beforeUpdateListeners.publish({value:this.records[t],newValue:e}),this.records[t]=s,this.afterUpdateListeners.publish({value:e}),p.debug(`Database.create success ${JSON.stringify(s)}`)}catch(t){throw p.error("Database.create error",t),t}finally{this.isWorking=!1}return{value:e}}))}delete(t){return e(this,void 0,void 0,(function*(){let e=!0;try{this.isWorking=!0,e=delete this.records[t],p.debug(`Database.delete ${t}`)}catch(t){throw p.error("Database.delete error",t),t}finally{this.isWorking=!1}return{id:t,success:e}}))}visit(t){return e(this,void 0,void 0,(function*(){try{this.isWorking=!0,Object.values(this.records).forEach(t),p.debug("Database.visit complete")}catch(t){throw p.error("Database.visit error",t),t}finally{this.isWorking=!1}}))}onBeforeUpdate(t){return this.beforeUpdateListeners.subscribe(t)}onAfterUpdate(t){return this.afterUpdateListeners.subscribe(t)}}function y(t,e){t[e+"Changed"]=t.render}function b(t){if(!t)throw new Error("Undefined design system module");if("function"!=typeof t.provideDesignSystem)throw new Error("Required `provideDesignSystem` function missing from design system module");return t}const m=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(t){return{}}}();void 0===m.trustedTypes&&(m.trustedTypes={createPolicy:(t,e)=>e});const w={configurable:!1,enumerable:!1,writable:!1};void 0===m.FAST&&Reflect.defineProperty(m,"FAST",Object.assign({value:Object.create(null)},w));const C=m.FAST;if(void 0===C.getById){const t=Object.create(null);Reflect.defineProperty(C,"getById",Object.assign({value(e,r){let s=t[e];return void 0===s&&(s=r?t[e]=r():null),s}},w))}const _=Object.freeze([]);function S(){const t=new WeakMap;return function(e){let r=t.get(e);if(void 0===r){let s=Reflect.getPrototypeOf(e);for(;void 0===r&&null!==s;)r=t.get(s),s=Reflect.getPrototypeOf(s);r=void 0===r?[]:r.slice(0),t.set(e,r)}return r}}const D=m.FAST.getById(1,(()=>{const t=[],e=[];function r(){if(e.length)throw e.shift()}function s(t){try{t.call()}catch(t){e.push(t),setTimeout(r,0)}}function n(){let e=0;for(;e<t.length;)if(s(t[e]),e++,e>1024){for(let r=0,s=t.length-e;r<s;r++)t[r]=t[r+e];t.length-=e,e=0}t.length=0}return Object.freeze({enqueue:function(e){t.length<1&&m.requestAnimationFrame(n),t.push(e)},process:n})})),O=m.trustedTypes.createPolicy("fast-html",{createHTML:t=>t});let F=O;const V=`fast-${Math.random().toString(36).substring(2,8)}`,k=`${V}{`,T=`}${V}`,R=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(t){if(F!==O)throw new Error("The HTML policy can only be set once.");F=t},createHTML:t=>F.createHTML(t),isMarker:t=>t&&8===t.nodeType&&t.data.startsWith(V),extractDirectiveIndexFromMarker:t=>parseInt(t.data.replace(`${V}:`,"")),createInterpolationPlaceholder:t=>`${k}${t}${T}`,createCustomAttributePlaceholder(t,e){return`${t}="${this.createInterpolationPlaceholder(e)}"`},createBlockPlaceholder:t=>`\x3c!--${V}:${t}--\x3e`,queueUpdate:D.enqueue,processUpdates:D.process,nextUpdate:()=>new Promise(D.enqueue),setAttribute(t,e,r){null==r?t.removeAttribute(e):t.setAttribute(e,r)},setBooleanAttribute(t,e,r){r?t.setAttribute(e,""):t.removeAttribute(e)},removeChildNodes(t){for(let e=t.firstChild;null!==e;e=t.firstChild)t.removeChild(e)},createTemplateWalker:t=>document.createTreeWalker(t,133,null,!1)});class N{constructor(t,e){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=t,this.sub1=e}has(t){return void 0===this.spillover?this.sub1===t||this.sub2===t:-1!==this.spillover.indexOf(t)}subscribe(t){const e=this.spillover;if(void 0===e){if(this.has(t))return;if(void 0===this.sub1)return void(this.sub1=t);if(void 0===this.sub2)return void(this.sub2=t);this.spillover=[this.sub1,this.sub2,t],this.sub1=void 0,this.sub2=void 0}else{-1===e.indexOf(t)&&e.push(t)}}unsubscribe(t){const e=this.spillover;if(void 0===e)this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0);else{const r=e.indexOf(t);-1!==r&&e.splice(r,1)}}notify(t){const e=this.spillover,r=this.source;if(void 0===e){const e=this.sub1,s=this.sub2;void 0!==e&&e.handleChange(r,t),void 0!==s&&s.handleChange(r,t)}else for(let s=0,n=e.length;s<n;++s)e[s].handleChange(r,t)}}class A{constructor(t){this.subscribers={},this.sourceSubscribers=null,this.source=t}notify(t){var e;const r=this.subscribers[t];void 0!==r&&r.notify(t),null===(e=this.sourceSubscribers)||void 0===e||e.notify(t)}subscribe(t,e){var r;if(e){let r=this.subscribers[e];void 0===r&&(this.subscribers[e]=r=new N(this.source)),r.subscribe(t)}else this.sourceSubscribers=null!==(r=this.sourceSubscribers)&&void 0!==r?r:new N(this.source),this.sourceSubscribers.subscribe(t)}unsubscribe(t,e){var r;if(e){const r=this.subscribers[e];void 0!==r&&r.unsubscribe(t)}else null===(r=this.sourceSubscribers)||void 0===r||r.unsubscribe(t)}}const L=C.getById(2,(()=>{const t=/(:|&&|\|\||if)/,e=new WeakMap,r=R.queueUpdate;let s,n=t=>{throw new Error("Must call enableArrayObservation before observing arrays.")};function i(t){let r=t.$fastController||e.get(t);return void 0===r&&(Array.isArray(t)?r=n(t):e.set(t,r=new A(t))),r}const o=S();class a{constructor(t){this.name=t,this.field=`_${t}`,this.callback=`${t}Changed`}getValue(t){return void 0!==s&&s.watch(t,this.name),t[this.field]}setValue(t,e){const r=this.field,s=t[r];if(s!==e){t[r]=e;const n=t[this.callback];"function"==typeof n&&n.call(t,s,e),i(t).notify(this.name)}}}class l extends N{constructor(t,e,r=!1){super(t,e),this.binding=t,this.isVolatileBinding=r,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(t,e){this.needsRefresh&&null!==this.last&&this.disconnect();const r=s;s=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;const n=this.binding(t,e);return s=r,n}disconnect(){if(null!==this.last){let t=this.first;for(;void 0!==t;)t.notifier.unsubscribe(this,t.propertyName),t=t.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(t,e){const r=this.last,n=i(t),o=null===r?this.first:{};if(o.propertySource=t,o.propertyName=e,o.notifier=n,n.subscribe(this,e),null!==r){if(!this.needsRefresh){let e;s=void 0,e=r.propertySource[r.propertyName],s=this,t===e&&(this.needsRefresh=!0)}r.next=o}this.last=o}handleChange(){this.needsQueue&&(this.needsQueue=!1,r(this))}call(){null!==this.last&&(this.needsQueue=!0,this.notify(this))}records(){let t=this.first;return{next:()=>{const e=t;return void 0===e?{value:void 0,done:!0}:(t=t.next,{value:e,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(t){n=t},getNotifier:i,track(t,e){void 0!==s&&s.watch(t,e)},trackVolatile(){void 0!==s&&(s.needsRefresh=!0)},notify(t,e){i(t).notify(e)},defineProperty(t,e){"string"==typeof e&&(e=new a(e)),o(t).push(e),Reflect.defineProperty(t,e.name,{enumerable:!0,get:function(){return e.getValue(this)},set:function(t){e.setValue(this,t)}})},getAccessors:o,binding(t,e,r=this.isVolatileBinding(t)){return new l(t,e,r)},isVolatileBinding:e=>t.test(e.toString())})}));function x(t,e){L.defineProperty(t,e)}const P=C.getById(3,(()=>{let t=null;return{get:()=>t,set(e){t=e}}}));class M{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return P.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(t){P.set(t)}}L.defineProperty(M.prototype,"index"),L.defineProperty(M.prototype,"length");const j=Object.seal(new M);class I{constructor(){this.targetIndex=0}}class E extends I{constructor(){super(...arguments),this.createPlaceholder=R.createInterpolationPlaceholder}}function $(t,e){this.source=t,this.context=e,null===this.bindingObserver&&(this.bindingObserver=L.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(t,e))}function B(t,e){this.source=t,this.context=e,this.target.addEventListener(this.targetName,this)}function z(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function U(){this.bindingObserver.disconnect(),this.source=null,this.context=null;const t=this.target.$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}function H(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function W(t){R.setAttribute(this.target,this.targetName,t)}function q(t){R.setBooleanAttribute(this.target,this.targetName,t)}function G(t){if(null==t&&(t=""),t.create){this.target.textContent="";let e=this.target.$fastView;void 0===e?e=t.create():this.target.$fastTemplate!==t&&(e.isComposed&&(e.remove(),e.unbind()),e=t.create()),e.isComposed?e.needsBindOnly&&(e.needsBindOnly=!1,e.bind(this.source,this.context)):(e.isComposed=!0,e.bind(this.source,this.context),e.insertBefore(this.target),this.target.$fastView=e,this.target.$fastTemplate=t)}else{const e=this.target.$fastView;void 0!==e&&e.isComposed&&(e.isComposed=!1,e.remove(),e.needsBindOnly?e.needsBindOnly=!1:e.unbind()),this.target.textContent=t}}function X(t){this.target[this.targetName]=t}function J(t){const e=this.classVersions||Object.create(null),r=this.target;let s=this.version||0;if(null!=t&&t.length){const n=t.split(/\s+/);for(let t=0,i=n.length;t<i;++t){const i=n[t];""!==i&&(e[i]=s,r.classList.add(i))}}if(this.classVersions=e,this.version=s+1,0!==s){s-=1;for(const t in e)e[t]===s&&r.classList.remove(t)}}class Q extends E{constructor(t){super(),this.binding=t,this.bind=$,this.unbind=z,this.updateTarget=W,this.isBindingVolatile=L.isVolatileBinding(this.binding)}get targetName(){return this.originalTargetName}set targetName(t){if(this.originalTargetName=t,void 0!==t)switch(t[0]){case":":if(this.cleanedTargetName=t.substr(1),this.updateTarget=X,"innerHTML"===this.cleanedTargetName){const t=this.binding;this.binding=(e,r)=>R.createHTML(t(e,r))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=q;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=B,this.unbind=H;break;default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=J)}}targetAtContent(){this.updateTarget=G,this.unbind=U}createBehavior(t){return new Y(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class Y{constructor(t,e,r,s,n,i,o){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=e,this.isBindingVolatile=r,this.bind=s,this.unbind=n,this.updateTarget=i,this.targetName=o}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){M.setEvent(t);const e=this.binding(this.source,this.context);M.setEvent(null),!0!==e&&t.preventDefault()}}class Z{constructor(){this.targets=new WeakSet}addStylesTo(t){this.targets.add(t)}removeStylesFrom(t){this.targets.delete(t)}isAttachedTo(t){return this.targets.has(t)}withBehaviors(...t){return this.behaviors=null===this.behaviors?t:this.behaviors.concat(t),this}}function K(t){return t.map((t=>t instanceof Z?K(t.styles):[t])).reduce(((t,e)=>t.concat(e)),[])}function tt(t){return t.map((t=>t instanceof Z?t.behaviors:null)).reduce(((t,e)=>null===e?t:(null===t&&(t=[]),t.concat(e))),null)}Z.create=(()=>{if(R.supportsAdoptedStyleSheets){const t=new Map;return e=>new et(e,t)}return t=>new st(t)})();class et extends Z{constructor(t,e){super(),this.styles=t,this.styleSheetCache=e,this._styleSheets=void 0,this.behaviors=tt(t)}get styleSheets(){if(void 0===this._styleSheets){const t=this.styles,e=this.styleSheetCache;this._styleSheets=K(t).map((t=>{if(t instanceof CSSStyleSheet)return t;let r=e.get(t);return void 0===r&&(r=new CSSStyleSheet,r.replaceSync(t),e.set(t,r)),r}))}return this._styleSheets}addStylesTo(t){t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.styleSheets],super.addStylesTo(t)}removeStylesFrom(t){const e=this.styleSheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter((t=>-1===e.indexOf(t))),super.removeStylesFrom(t)}}let rt=0;class st extends Z{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=tt(t),this.styleSheets=K(t),this.styleClass="fast-style-class-"+ ++rt}addStylesTo(t){const e=this.styleSheets,r=this.styleClass;t=this.normalizeTarget(t);for(let s=0;s<e.length;s++){const n=document.createElement("style");n.innerHTML=e[s],n.className=r,t.append(n)}super.addStylesTo(t)}removeStylesFrom(t){const e=(t=this.normalizeTarget(t)).querySelectorAll(`.${this.styleClass}`);for(let r=0,s=e.length;r<s;++r)t.removeChild(e[r]);super.removeStylesFrom(t)}isAttachedTo(t){return super.isAttachedTo(this.normalizeTarget(t))}normalizeTarget(t){return t===document?document.body:t}}const nt=Object.freeze({locate:S()}),it={toView:t=>t?"true":"false",fromView:t=>null!=t&&"false"!==t&&!1!==t&&0!==t};class ot{constructor(t,e,r=e.toLowerCase(),s="reflect",n){this.guards=new Set,this.Owner=t,this.name=e,this.attribute=r,this.mode=s,this.converter=n,this.fieldName=`_${e}`,this.callbackName=`${e}Changed`,this.hasCallback=this.callbackName in t.prototype,"boolean"===s&&void 0===n&&(this.converter=it)}setValue(t,e){const r=t[this.fieldName],s=this.converter;void 0!==s&&(e=s.fromView(e)),r!==e&&(t[this.fieldName]=e,this.tryReflectToAttribute(t),this.hasCallback&&t[this.callbackName](r,e),t.$fastController.notify(this.name))}getValue(t){return L.track(t,this.name),t[this.fieldName]}onAttributeChangedCallback(t,e){this.guards.has(t)||(this.guards.add(t),this.setValue(t,e),this.guards.delete(t))}tryReflectToAttribute(t){const e=this.mode,r=this.guards;r.has(t)||"fromView"===e||R.queueUpdate((()=>{r.add(t);const s=t[this.fieldName];switch(e){case"reflect":const e=this.converter;R.setAttribute(t,this.attribute,void 0!==e?e.toView(s):s);break;case"boolean":R.setBooleanAttribute(t,this.attribute,s)}r.delete(t)}))}static collect(t,...e){const r=[];e.push(nt.locate(t));for(let s=0,n=e.length;s<n;++s){const n=e[s];if(void 0!==n)for(let e=0,s=n.length;e<s;++e){const s=n[e];"string"==typeof s?r.push(new ot(t,s)):r.push(new ot(t,s.property,s.attribute,s.mode,s.converter))}}return r}}const at={mode:"open"},lt={},ut=C.getById(4,(()=>{const t=new Map;return Object.freeze({register:e=>!t.has(e.type)&&(t.set(e.type,e),!0),getByType:e=>t.get(e)})}));class ct{constructor(t,e=t.definition){"string"==typeof e&&(e={name:e}),this.type=t,this.name=e.name,this.template=e.template;const r=ot.collect(t,e.attributes),s=new Array(r.length),n={},i={};for(let t=0,e=r.length;t<e;++t){const e=r[t];s[t]=e.attribute,n[e.name]=e,i[e.attribute]=e}this.attributes=r,this.observedAttributes=s,this.propertyLookup=n,this.attributeLookup=i,this.shadowOptions=void 0===e.shadowOptions?at:null===e.shadowOptions?void 0:Object.assign(Object.assign({},at),e.shadowOptions),this.elementOptions=void 0===e.elementOptions?lt:Object.assign(Object.assign({},lt),e.elementOptions),this.styles=void 0===e.styles?void 0:Array.isArray(e.styles)?Z.create(e.styles):e.styles instanceof Z?e.styles:Z.create([e.styles])}get isDefined(){return!!ut.getByType(this.type)}define(t=customElements){const e=this.type;if(ut.register(this)){const t=this.attributes,r=e.prototype;for(let e=0,s=t.length;e<s;++e)L.defineProperty(r,t[e]);Reflect.defineProperty(e,"observedAttributes",{value:this.observedAttributes,enumerable:!0})}return t.get(this.name)||t.define(this.name,e,this.elementOptions),this}}ct.forType=ut.getByType;const ht=new WeakMap,ft={bubbles:!0,composed:!0,cancelable:!0};function dt(t){return t.shadowRoot||ht.get(t)||null}class gt extends A{constructor(t,e){super(t),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=t,this.definition=e;const r=e.shadowOptions;if(void 0!==r){const e=t.attachShadow(r);"closed"===r.mode&&ht.set(t,e)}const s=L.getAccessors(t);if(s.length>0){const e=this.boundObservables=Object.create(null);for(let r=0,n=s.length;r<n;++r){const n=s[r].name,i=t[n];void 0!==i&&(delete t[n],e[n]=i)}}}get isConnected(){return L.track(this,"isConnected"),this._isConnected}setIsConnected(t){this._isConnected=t,L.notify(this,"isConnected")}get template(){return this._template}set template(t){this._template!==t&&(this._template=t,this.needsInitialization||this.renderTemplate(t))}get styles(){return this._styles}set styles(t){this._styles!==t&&(null!==this._styles&&this.removeStyles(this._styles),this._styles=t,this.needsInitialization||null===t||this.addStyles(t))}addStyles(t){const e=dt(this.element)||this.element.getRootNode();if(t instanceof HTMLStyleElement)e.append(t);else if(!t.isAttachedTo(e)){const r=t.behaviors;t.addStylesTo(e),null!==r&&this.addBehaviors(r)}}removeStyles(t){const e=dt(this.element)||this.element.getRootNode();if(t instanceof HTMLStyleElement)e.removeChild(t);else if(t.isAttachedTo(e)){const r=t.behaviors;t.removeStylesFrom(e),null!==r&&this.removeBehaviors(r)}}addBehaviors(t){const e=this.behaviors||(this.behaviors=new Map),r=t.length,s=[];for(let n=0;n<r;++n){const r=t[n];e.has(r)?e.set(r,e.get(r)+1):(e.set(r,1),s.push(r))}if(this._isConnected){const t=this.element;for(let e=0;e<s.length;++e)s[e].bind(t,j)}}removeBehaviors(t,e=!1){const r=this.behaviors;if(null===r)return;const s=t.length,n=[];for(let i=0;i<s;++i){const s=t[i];if(r.has(s)){const t=r.get(s)-1;0===t||e?r.delete(s)&&n.push(s):r.set(s,t)}}if(this._isConnected){const t=this.element;for(let e=0;e<n.length;++e)n[e].unbind(t)}}onConnectedCallback(){if(this._isConnected)return;const t=this.element;this.needsInitialization?this.finishInitialization():null!==this.view&&this.view.bind(t,j);const e=this.behaviors;if(null!==e)for(const[r]of e)r.bind(t,j);this.setIsConnected(!0)}onDisconnectedCallback(){if(!this._isConnected)return;this.setIsConnected(!1);const t=this.view;null!==t&&t.unbind();const e=this.behaviors;if(null!==e){const t=this.element;for(const[r]of e)r.unbind(t)}}onAttributeChangedCallback(t,e,r){const s=this.definition.attributeLookup[t];void 0!==s&&s.onAttributeChangedCallback(this.element,r)}emit(t,e,r){return!!this._isConnected&&this.element.dispatchEvent(new CustomEvent(t,Object.assign(Object.assign({detail:e},ft),r)))}finishInitialization(){const t=this.element,e=this.boundObservables;if(null!==e){const r=Object.keys(e);for(let s=0,n=r.length;s<n;++s){const n=r[s];t[n]=e[n]}this.boundObservables=null}const r=this.definition;null===this._template&&(this.element.resolveTemplate?this._template=this.element.resolveTemplate():r.template&&(this._template=r.template||null)),null!==this._template&&this.renderTemplate(this._template),null===this._styles&&(this.element.resolveStyles?this._styles=this.element.resolveStyles():r.styles&&(this._styles=r.styles||null)),null!==this._styles&&this.addStyles(this._styles),this.needsInitialization=!1}renderTemplate(t){const e=this.element,r=dt(e)||e;null!==this.view?(this.view.dispose(),this.view=null):this.needsInitialization||R.removeChildNodes(r),t&&(this.view=t.render(e,r,e))}static forCustomElement(t){const e=t.$fastController;if(void 0!==e)return e;const r=ct.forType(t.constructor);if(void 0===r)throw new Error("Missing FASTElement definition.");return t.$fastController=new gt(t,r)}}function pt(t){return class extends t{constructor(){super(),gt.forCustomElement(this)}$emit(t,e,r){return this.$fastController.emit(t,e,r)}connectedCallback(){this.$fastController.onConnectedCallback()}disconnectedCallback(){this.$fastController.onDisconnectedCallback()}attributeChangedCallback(t,e,r){this.$fastController.onAttributeChangedCallback(t,e,r)}}}const vt=Object.assign(pt(HTMLElement),{from:t=>pt(t),define:(t,e)=>new ct(t,e).define().type});class yt{createCSS(){return""}createBehavior(){}}const bt=new Map([["FAST-TEXT-AREA","input"],["FAST-TEXT-FIELD","input"],["FOUNDATION-TEXT-AREA","input"],["FOUNDATION-TEXT-FIELD","input"],["INPUT","input"],["ZERO-TEXT-FIELD","input"]]);function mt(t){this.keyAttr||(this.target[this.targetName]=t)}function wt(t,e){this.keyAttr&&(this.updateTarget=mt),this.originalBind.call(this,t,e),this.target.addEventListener(this.changeEvent,this.changeHandler)}function Ct(){this.originalUnbind.call(this),this.target.removeEventListener(this.changeEvent,this.changeHandler)}class _t extends Q{constructor(t,e,r,s){super(t),this.keyAttr=s,this.conversionType=e,this.eventName=r}createBehavior(t){const e=super.createBehavior(t);return e.originalBind=e.bind,e.originalUnbind=e.unbind,e.keyAttr=this.keyAttr,e.bind=wt,e.unbind=Ct,e.changeEvent=function(t,e){var r;const s=t.tagName;return"default"===e?null!==(r=bt.get(s))&&void 0!==r?r:"change":e}(t,this.eventName),e.changeHandler=()=>{const t="boolean"===this.conversionType?e.target.checked:e.target.value;if(this.keyAttr){const r=e.bindingObserver.last,s=e.target[this.keyAttr];r.propertySource[r.propertyName][s]=this.convert(t)}else{const r=e.bindingObserver.last;r.propertySource[r.propertyName]=this.convert(t)}},e}convert(t){if(null==t)return t;switch(this.conversionType){case"time":const e=new Date(t).getTime();return isNaN(e)?void 0:e;case"number":return t.length?Number(t):void 0;case"string":return String(t);case"boolean":return Boolean(t);default:return t}}}function St(t,e="string",r="default",s){return new _t(t,e,r,s)}const Dt=()=>!process.env.NODE_ENV||"development"===process.env.NODE_ENV,Ot=10;function Ft(t){return!t||isNaN(t)?null:new Date(t).toISOString().slice(0,Ot)}const Vt=19;function kt(t){return!t||isNaN(t)?null:new Date(t).toISOString().slice(0,Vt).replace("T"," ")}function Tt(t,e){return e?kt(t):Ft(t)}
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 Rt(t,e,r,s){var n,i=arguments.length,o=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,s);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(i<3?n(o):i>3?n(e,r,o):n(e,r))||o);return i>3&&o&&Object.defineProperty(e,r,o),o}const Nt=new Map;"metadata"in Reflect||(Reflect.metadata=function(t,e){return function(r){Reflect.defineMetadata(t,e,r)}},Reflect.defineMetadata=function(t,e,r){let s=Nt.get(r);void 0===s&&Nt.set(r,s=new Map),s.set(t,e)},Reflect.getOwnMetadata=function(t,e){const r=Nt.get(e);if(void 0!==r)return r.get(t)});class At{constructor(t,e){this.container=t,this.key=e}instance(t){return this.registerResolver(0,t)}singleton(t){return this.registerResolver(1,t)}transient(t){return this.registerResolver(2,t)}callback(t){return this.registerResolver(3,t)}cachedCallback(t){return this.registerResolver(3,te(t))}aliasTo(t){return this.registerResolver(5,t)}registerResolver(t,e){const{container:r,key:s}=this;return this.container=this.key=void 0,r.registerResolver(s,new zt(s,t,e))}}function Lt(t){const e=t.slice(),r=Object.keys(t),s=r.length;let n;for(let i=0;i<s;++i)n=r[i],le(n)||(e[n]=t[n]);return e}const xt=Object.freeze({none(t){throw Error(`${t.toString()} not registered, did you forget to add @singleton()?`)},singleton:t=>new zt(t,1,t),transient:t=>new zt(t,2,t)}),Pt=Object.freeze({default:Object.freeze({parentLocator:()=>null,responsibleForOwnerRequests:!1,defaultResolver:xt.singleton})}),Mt=new Map;function jt(t){return e=>Reflect.getOwnMetadata(t,e)}let It=null;const Et=Object.freeze({createContainer:t=>new Zt(null,Object.assign({},Pt.default,t)),findResponsibleContainer(t){const e=t.$$container$$;return e&&e.responsibleForOwnerRequests?e:Et.findParentContainer(t)},findParentContainer(t){const e=new CustomEvent(Qt,{bubbles:!0,composed:!0,cancelable:!0,detail:{container:void 0}});return t.dispatchEvent(e),e.detail.container||Et.getOrCreateDOMContainer()},getOrCreateDOMContainer:(t,e)=>t?t.$$container$$||new Zt(t,Object.assign({},Pt.default,e,{parentLocator:Et.findParentContainer})):It||(It=new Zt(null,Object.assign({},Pt.default,e,{parentLocator:()=>null}))),getDesignParamtypes:jt("design:paramtypes"),getAnnotationParamtypes:jt("di:paramtypes"),getOrCreateAnnotationParamTypes(t){let e=this.getAnnotationParamtypes(t);return void 0===e&&Reflect.defineMetadata("di:paramtypes",e=[],t),e},getDependencies(t){let e=Mt.get(t);if(void 0===e){const r=t.inject;if(void 0===r){const r=Et.getDesignParamtypes(t),s=Et.getAnnotationParamtypes(t);if(void 0===r)if(void 0===s){const r=Object.getPrototypeOf(t);e="function"==typeof r&&r!==Function.prototype?Lt(Et.getDependencies(r)):[]}else e=Lt(s);else if(void 0===s)e=Lt(r);else{e=Lt(r);let t,n=s.length;for(let r=0;r<n;++r)t=s[r],void 0!==t&&(e[r]=t);const i=Object.keys(s);let o;n=i.length;for(let t=0;t<n;++t)o=i[t],le(o)||(e[o]=s[o])}}else e=Lt(r);Mt.set(t,e)}return e},defineProperty(t,e,r,s=!1){const n=`$di_${e}`;Reflect.defineProperty(t,e,{get:function(){let t=this[n];if(void 0===t){const i=this instanceof HTMLElement?Et.findResponsibleContainer(this):Et.getOrCreateDOMContainer();if(t=i.get(r),this[n]=t,s&&this instanceof vt){const s=this.$fastController,i=()=>{Et.findResponsibleContainer(this).get(r)!==this[n]&&(this[n]=t,s.notify(e))};s.subscribe({handleChange:i},"isConnected")}}return t}})},createInterface(t,e){const r="function"==typeof t?t:e,s="string"==typeof t?t:t&&"friendlyName"in t&&t.friendlyName||ne,n="string"!=typeof t&&(t&&"respectConnection"in t&&t.respectConnection||!1),i=function(t,e,r){if(null==t||void 0!==new.target)throw new Error(`No registration for interface: '${i.friendlyName}'`);if(e)Et.defineProperty(t,e,i,n);else{Et.getOrCreateAnnotationParamTypes(t)[r]=i}};return i.$isInterface=!0,i.friendlyName=null==s?"(anonymous)":s,null!=r&&(i.register=function(t,e){return r(new At(t,null!=e?e:i))}),i.toString=function(){return`InterfaceSymbol<${i.friendlyName}>`},i},inject:(...t)=>function(e,r,s){if("number"==typeof s){const r=Et.getOrCreateAnnotationParamTypes(e),n=t[0];void 0!==n&&(r[s]=n)}else if(r)Et.defineProperty(e,r,t[0]);else{const r=s?Et.getOrCreateAnnotationParamTypes(s.value):Et.getOrCreateAnnotationParamTypes(e);let n;for(let e=0;e<t.length;++e)n=t[e],void 0!==n&&(r[e]=n)}},transient:t=>(t.register=function(e){return ee.transient(t,t).register(e)},t.registerInRequestor=!1,t),singleton:(t,e=Bt)=>(t.register=function(e){return ee.singleton(t,t).register(e)},t.registerInRequestor=e.scoped,t)}),$t=Et.createInterface("Container");Et.inject;const Bt={scoped:!1};class zt{constructor(t,e,r){this.key=t,this.strategy=e,this.state=r,this.resolving=!1}get $isResolver(){return!0}register(t){return t.registerResolver(this.key,this)}resolve(t,e){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=t.getFactory(this.state).construct(e),this.strategy=0,this.resolving=!1,this.state;case 2:{const r=t.getFactory(this.state);if(null===r)throw new Error(`Resolver for ${String(this.key)} returned a null factory`);return r.construct(e)}case 3:return this.state(t,e,this);case 4:return this.state[0].resolve(t,e);case 5:return e.get(this.state);default:throw new Error(`Invalid resolver strategy specified: ${this.strategy}.`)}}getFactory(t){var e,r,s;switch(this.strategy){case 1:case 2:return t.getFactory(this.state);case 5:return null!==(s=null===(r=null===(e=t.getResolver(this.state))||void 0===e?void 0:e.getFactory)||void 0===r?void 0:r.call(e,t))&&void 0!==s?s:null;default:return null}}}function Ut(t){return this.get(t)}function Ht(t,e){return e(t)}class Wt{constructor(t,e){this.Type=t,this.dependencies=e,this.transformers=null}construct(t,e){let r;return r=void 0===e?new this.Type(...this.dependencies.map(Ut,t)):new this.Type(...this.dependencies.map(Ut,t),...e),null==this.transformers?r:this.transformers.reduce(Ht,r)}registerTransformer(t){(this.transformers||(this.transformers=[])).push(t)}}const qt={$isResolver:!0,resolve:(t,e)=>e};function Gt(t){return"function"==typeof t.register}function Xt(t){return function(t){return Gt(t)&&"boolean"==typeof t.registerInRequestor}(t)&&t.registerInRequestor}const Jt=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"]),Qt="__DI_LOCATE_PARENT__",Yt=new Map;class Zt{constructor(t,e){this.owner=t,this.config=e,this._parent=void 0,this.registerDepth=0,this.context=null,null!==t&&(t.$$container$$=this),this.resolvers=new Map,this.resolvers.set($t,qt),t instanceof Node&&t.addEventListener(Qt,(t=>{t.composedPath()[0]!==this.owner&&(t.detail.container=this,t.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(t,...e){return this.context=t,this.register(...e),this.context=null,this}register(...t){if(100==++this.registerDepth)throw new Error("Unable to autoregister dependency");let e,r,s,n,i;const o=this.context;for(let a=0,l=t.length;a<l;++a)if(e=t[a],ie(e))if(Gt(e))e.register(this,o);else if(void 0!==e.prototype)ee.singleton(e,e).register(this);else for(r=Object.keys(e),n=0,i=r.length;n<i;++n)s=e[r[n]],ie(s)&&(Gt(s)?s.register(this,o):this.register(s));return--this.registerDepth,this}registerResolver(t,e){re(t);const r=this.resolvers,s=r.get(t);return null==s?r.set(t,e):s instanceof zt&&4===s.strategy?s.state.push(e):r.set(t,new zt(t,4,[s,e])),e}registerTransformer(t,e){const r=this.getResolver(t);if(null==r)return!1;if(r.getFactory){const t=r.getFactory(this);return null!=t&&(t.registerTransformer(e),!0)}return!1}getResolver(t,e=!0){if(re(t),void 0!==t.resolve)return t;let r,s=this;for(;null!=s;){if(r=s.resolvers.get(t),null!=r)return r;if(null==s.parent){const r=Xt(t)?this:s;return e?this.jitRegister(t,r):null}s=s.parent}return null}has(t,e=!1){return!!this.resolvers.has(t)||!(!e||null==this.parent)&&this.parent.has(t,!0)}get(t){if(re(t),t.$isResolver)return t.resolve(this,this);let e,r=this;for(;null!=r;){if(e=r.resolvers.get(t),null!=e)return e.resolve(r,this);if(null==r.parent){const s=Xt(t)?this:r;return e=this.jitRegister(t,s),e.resolve(r,this)}r=r.parent}throw new Error(`Unable to resolve key: ${t}`)}getAll(t,e=!1){re(t);const r=this;let s,n=r;if(e){let e=_;for(;null!=n;)s=n.resolvers.get(t),null!=s&&(e=e.concat(se(s,n,r))),n=n.parent;return e}for(;null!=n;){if(s=n.resolvers.get(t),null!=s)return se(s,n,r);if(n=n.parent,null==n)return _}return _}getFactory(t){let e=Yt.get(t);if(void 0===e){if(oe(t))throw new Error(`${t.name} is a native function and therefore cannot be safely constructed by DI. If this is intentional, please use a callback or cachedCallback resolver.`);Yt.set(t,e=new Wt(t,Et.getDependencies(t)))}return e}registerFactory(t,e){Yt.set(t,e)}createChild(t){return new Zt(null,Object.assign({},this.config,t,{parentLocator:()=>this}))}jitRegister(t,e){if("function"!=typeof t)throw new Error(`Attempted to jitRegister something that is not a constructor: '${t}'. Did you forget to register this dependency?`);if(Jt.has(t.name))throw new Error(`Attempted to jitRegister an intrinsic type: ${t.name}. Did you forget to add @inject(Key)`);if(Gt(t)){const r=t.register(e);if(!(r instanceof Object)||null==r.resolve){const r=e.resolvers.get(t);if(null!=r)return r;throw new Error("A valid resolver was not returned from the static register method")}return r}if(t.$isInterface)throw new Error(`Attempted to jitRegister an interface: ${t.friendlyName}`);{const r=this.config.defaultResolver(t,e);return e.resolvers.set(t,r),r}}}const Kt=new WeakMap;function te(t){return function(e,r,s){if(Kt.has(s))return Kt.get(s);const n=t(e,r,s);return Kt.set(s,n),n}}const ee=Object.freeze({instance:(t,e)=>new zt(t,0,e),singleton:(t,e)=>new zt(t,1,e),transient:(t,e)=>new zt(t,2,e),callback:(t,e)=>new zt(t,3,e),cachedCallback:(t,e)=>new zt(t,3,te(e)),aliasTo:(t,e)=>new zt(e,5,t)});function re(t){if(null==t)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function se(t,e,r){if(t instanceof zt&&4===t.strategy){const s=t.state;let n=s.length;const i=new Array(n);for(;n--;)i[n]=s[n].resolve(e,r);return i}return[t.resolve(e,r)]}const ne="(anonymous)";function ie(t){return"object"==typeof t&&null!==t||"function"==typeof t}const oe=function(){const t=new WeakMap;let e=!1,r="",s=0;return function(n){return e=t.get(n),void 0===e&&(r=n.toString(),s=r.length,e=s>=29&&s<=100&&125===r.charCodeAt(s-1)&&r.charCodeAt(s-2)<=32&&93===r.charCodeAt(s-3)&&101===r.charCodeAt(s-4)&&100===r.charCodeAt(s-5)&&111===r.charCodeAt(s-6)&&99===r.charCodeAt(s-7)&&32===r.charCodeAt(s-8)&&101===r.charCodeAt(s-9)&&118===r.charCodeAt(s-10)&&105===r.charCodeAt(s-11)&&116===r.charCodeAt(s-12)&&97===r.charCodeAt(s-13)&&110===r.charCodeAt(s-14)&&88===r.charCodeAt(s-15),t.set(n,e)),e}}(),ae={};function le(t){switch(typeof t){case"number":return t>=0&&(0|t)===t;case"string":{const e=ae[t];if(void 0!==e)return e;const r=t.length;if(0===r)return ae[t]=!1;let s=0;for(let e=0;e<r;++e)if(s=t.charCodeAt(e),0===e&&48===s&&r>1||s<48||s>57)return ae[t]=!1;return ae[t]=!0}default:return!1}}var ue;function ce(t){const e=t.parentElement;if(e)return e;{const e=t.getRootNode();if(e.host instanceof HTMLElement)return e.host}return null}!function(t){t.ltr="ltr",t.rtl="rtl"}(ue||(ue={}));const he=document.createElement("div");class fe{setProperty(t,e){R.queueUpdate((()=>this.target.setProperty(t,e)))}removeProperty(t){R.queueUpdate((()=>this.target.removeProperty(t)))}}class de extends fe{constructor(){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,t]}}class ge extends fe{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:t}=this.style;if(t){const e=t.insertRule(":root{}",t.cssRules.length);this.target=t.cssRules[e].style}}}class pe{constructor(t){this.store=new Map,this.target=null;const e=t.$fastController;this.style=document.createElement("style"),e.addStyles(this.style),L.getNotifier(e).subscribe(this,"isConnected"),this.handleChange(e,"isConnected")}targetChanged(){if(null!==this.target)for(const[t,e]of this.store.entries())this.target.setProperty(t,e)}setProperty(t,e){this.store.set(t,e),R.queueUpdate((()=>{null!==this.target&&this.target.setProperty(t,e)}))}removeProperty(t){this.store.delete(t),R.queueUpdate((()=>{null!==this.target&&this.target.removeProperty(t)}))}handleChange(t,e){const{sheet:r}=this.style;if(r){const t=r.insertRule(":host{}",r.cssRules.length);this.target=r.cssRules[t].style}else this.target=null}}Rt([x],pe.prototype,"target",void 0);class ve{constructor(t){this.target=t.style}setProperty(t,e){R.queueUpdate((()=>this.target.setProperty(t,e)))}removeProperty(t){R.queueUpdate((()=>this.target.removeProperty(t)))}}class ye{setProperty(t,e){ye.properties[t]=e;for(const r of ye.roots.values())we.getOrCreate(ye.normalizeRoot(r)).setProperty(t,e)}removeProperty(t){delete ye.properties[t];for(const e of ye.roots.values())we.getOrCreate(ye.normalizeRoot(e)).removeProperty(t)}static registerRoot(t){const{roots:e}=ye;if(!e.has(t)){e.add(t);const r=we.getOrCreate(this.normalizeRoot(t));for(const t in ye.properties)r.setProperty(t,ye.properties[t])}}static unregisterRoot(t){const{roots:e}=ye;if(e.has(t)){e.delete(t);const r=we.getOrCreate(ye.normalizeRoot(t));for(const t in ye.properties)r.removeProperty(t)}}static normalizeRoot(t){return t===he?document:t}}ye.roots=new Set,ye.properties={};const be=new WeakMap,me=R.supportsAdoptedStyleSheets?class extends fe{constructor(t){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":host{}")].style,t.$fastController.addStyles(Z.create([e]))}}:pe,we=Object.freeze({getOrCreate(t){if(be.has(t))return be.get(t);let e;return t===he?e=new ye:t instanceof Document?e=R.supportsAdoptedStyleSheets?new de:new ge:e=t instanceof vt?new me(t):new ve(t),be.set(t,e),e}});class Ce extends yt{constructor(t){super(),this.subscribers=new WeakMap,this._appliedTo=new Set,this.name=t.name,null!==t.cssCustomPropertyName&&(this.cssCustomProperty=`--${t.cssCustomPropertyName}`,this.cssVar=`var(${this.cssCustomProperty})`),this.id=Ce.uniqueId(),Ce.tokensById.set(this.id,this)}get appliedTo(){return[...this._appliedTo]}static from(t){return new Ce({name:"string"==typeof t?t:t.name,cssCustomPropertyName:"string"==typeof t?t:void 0===t.cssCustomPropertyName?t.name:t.cssCustomPropertyName})}static isCSSDesignToken(t){return"string"==typeof t.cssCustomProperty}static isDerivedDesignTokenValue(t){return"function"==typeof t}static getTokenById(t){return Ce.tokensById.get(t)}getOrCreateSubscriberSet(t=this){return this.subscribers.get(t)||this.subscribers.set(t,new Set)&&this.subscribers.get(t)}createCSS(){return this.cssVar||""}getValueFor(t){const e=Fe.getOrCreate(t).get(this);if(void 0!==e)return e;throw new Error(`Value could not be retrieved for token named "${this.name}". Ensure the value is set for ${t} or an ancestor of ${t}.`)}setValueFor(t,e){return this._appliedTo.add(t),e instanceof Ce&&(e=this.alias(e)),Fe.getOrCreate(t).set(this,e),this}deleteValueFor(t){return this._appliedTo.delete(t),Fe.existsFor(t)&&Fe.getOrCreate(t).delete(this),this}withDefault(t){return this.setValueFor(he,t),this}subscribe(t,e){const r=this.getOrCreateSubscriberSet(e);e&&!Fe.existsFor(e)&&Fe.getOrCreate(e),r.has(t)||r.add(t)}unsubscribe(t,e){const r=this.subscribers.get(e||this);r&&r.has(t)&&r.delete(t)}notify(t){const e=Object.freeze({token:this,target:t});this.subscribers.has(this)&&this.subscribers.get(this).forEach((t=>t.handleChange(e))),this.subscribers.has(t)&&this.subscribers.get(t).forEach((t=>t.handleChange(e)))}alias(t){return e=>t.getValueFor(e)}}Ce.uniqueId=(()=>{let t=0;return()=>(t++,t.toString(16))})(),Ce.tokensById=new Map;class _e{constructor(t,e,r){this.source=t,this.token=e,this.node=r,this.dependencies=new Set,this.observer=L.binding(t,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,j))}}class Se{constructor(){this.values=new Map}set(t,e){this.values.get(t)!==e&&(this.values.set(t,e),L.getNotifier(this).notify(t.id))}get(t){return L.track(this,t.id),this.values.get(t)}delete(t){this.values.delete(t)}all(){return this.values.entries()}}const De=new WeakMap,Oe=new WeakMap;class Fe{constructor(t){this.target=t,this.store=new Se,this.children=[],this.assignedValues=new Map,this.reflecting=new Set,this.bindingObservers=new Map,this.tokenValueChangeHandler={handleChange:(t,e)=>{const r=Ce.getTokenById(e);if(r&&(r.notify(this.target),Ce.isCSSDesignToken(r))){const e=this.parent,s=this.isReflecting(r);if(e){const n=e.get(r),i=t.get(r);n===i||s?n===i&&s&&this.stopReflectToCSS(r):this.reflectToCSS(r)}else s||this.reflectToCSS(r)}}},De.set(t,this),L.getNotifier(this.store).subscribe(this.tokenValueChangeHandler),t instanceof vt?t.$fastController.addBehaviors([this]):t.isConnected&&this.bind()}static getOrCreate(t){return De.get(t)||new Fe(t)}static existsFor(t){return De.has(t)}static findParent(t){if(he!==t.target){let e=ce(t.target);for(;null!==e;){if(De.has(e))return De.get(e);e=ce(e)}return Fe.getOrCreate(he)}return null}static findClosestAssignedNode(t,e){let r=e;do{if(r.has(t))return r;r=r.parent?r.parent:r.target!==he?Fe.getOrCreate(he):null}while(null!==r);return null}get parent(){return Oe.get(this)||null}has(t){return this.assignedValues.has(t)}get(t){const e=this.store.get(t);if(void 0!==e)return e;const r=this.getRaw(t);return void 0!==r?(this.hydrate(t,r),this.get(t)):void 0}getRaw(t){var e;return this.assignedValues.has(t)?this.assignedValues.get(t):null===(e=Fe.findClosestAssignedNode(t,this))||void 0===e?void 0:e.getRaw(t)}set(t,e){Ce.isDerivedDesignTokenValue(this.assignedValues.get(t))&&this.tearDownBindingObserver(t),this.assignedValues.set(t,e),Ce.isDerivedDesignTokenValue(e)?this.setupBindingObserver(t,e):this.store.set(t,e)}delete(t){this.assignedValues.delete(t),this.tearDownBindingObserver(t);const e=this.getRaw(t);e?this.hydrate(t,e):this.store.delete(t)}bind(){const t=Fe.findParent(this);t&&t.appendChild(this);for(const t of this.assignedValues.keys())t.notify(this.target)}unbind(){if(this.parent){Oe.get(this).removeChild(this)}}appendChild(t){t.parent&&Oe.get(t).removeChild(t);const e=this.children.filter((e=>t.contains(e)));Oe.set(t,this),this.children.push(t),e.forEach((e=>t.appendChild(e))),L.getNotifier(this.store).subscribe(t);for(const[e,r]of this.store.all())t.hydrate(e,this.bindingObservers.has(e)?this.getRaw(e):r)}removeChild(t){const e=this.children.indexOf(t);return-1!==e&&this.children.splice(e,1),L.getNotifier(this.store).unsubscribe(t),t.parent===this&&Oe.delete(t)}contains(t){return function(t,e){let r=e;for(;null!==r;){if(r===t)return!0;r=ce(r)}return!1}(this.target,t.target)}reflectToCSS(t){this.isReflecting(t)||(this.reflecting.add(t),Fe.cssCustomPropertyReflector.startReflection(t,this.target))}stopReflectToCSS(t){this.isReflecting(t)&&(this.reflecting.delete(t),Fe.cssCustomPropertyReflector.stopReflection(t,this.target))}isReflecting(t){return this.reflecting.has(t)}handleChange(t,e){const r=Ce.getTokenById(e);r&&this.hydrate(r,this.getRaw(r))}hydrate(t,e){if(!this.has(t)){const r=this.bindingObservers.get(t);Ce.isDerivedDesignTokenValue(e)?r?r.source!==e&&(this.tearDownBindingObserver(t),this.setupBindingObserver(t,e)):this.setupBindingObserver(t,e):(r&&this.tearDownBindingObserver(t),this.store.set(t,e))}}setupBindingObserver(t,e){const r=new _e(e,t,this);return this.bindingObservers.set(t,r),r}tearDownBindingObserver(t){return!!this.bindingObservers.has(t)&&(this.bindingObservers.get(t).disconnect(),this.bindingObservers.delete(t),!0)}}Fe.cssCustomPropertyReflector=new class{startReflection(t,e){t.subscribe(this,e),this.handleChange({token:t,target:e})}stopReflection(t,e){t.unsubscribe(this,e),this.remove(t,e)}handleChange(t){const{token:e,target:r}=t;this.add(e,r)}add(t,e){we.getOrCreate(e).setProperty(t.cssCustomProperty,this.resolveCSSValue(Fe.getOrCreate(e).get(t)))}remove(t,e){we.getOrCreate(e).removeProperty(t.cssCustomProperty)}resolveCSSValue(t){return t&&"function"==typeof t.createCSS?t.createCSS():t}},Rt([x],Fe.prototype,"children",void 0);const Ve=Object.freeze({create:function(t){return Ce.from(t)},notifyConnection:t=>!(!t.isConnected||!Fe.existsFor(t))&&(Fe.getOrCreate(t).bind(),!0),notifyDisconnection:t=>!(t.isConnected||!Fe.existsFor(t))&&(Fe.getOrCreate(t).unbind(),!0),registerRoot(t=he){ye.registerRoot(t)},unregisterRoot(t=he){ye.unregisterRoot(t)}});class ke{constructor(){this.fromDTO=t=>{var e,r,s;return{serverRowMetadata:{operation:null===(r=null===(e=null==t?void 0:t.DETAILS)||void 0===e?void 0:e.OPERATION)||void 0===r?void 0:r.toLowerCase(),rowRef:null===(s=null==t?void 0:t.DETAILS)||void 0===s?void 0:s.ROW_REF}}},this.toDTO=t=>{var e,r,s;return{DETAILS:{OPERATION:null===(r=null===(e=null==t?void 0:t.serverRowMetadata)||void 0===e?void 0:e.operation)||void 0===r?void 0:r.toUpperCase(),ROW_REF:null===(s=null==t?void 0:t.serverRowMetadata)||void 0===s?void 0:s.rowRef}}}}}const Te=Et.createInterface((t=>t.singleton(ke)));var Re;!function(t){t.state="pending-state",t.error="pending-state-error"}(Re||(Re={}));const Ne=r=>{class s extends r{constructor(){super(...arguments),this.pendingCount=0,this.resolvedCount=0,this.hasPendingChildren=!1}get progress(){return this.resolvedCount/this.pendingCount}connectedCallback(){super.connectedCallback(),p.debug("PendingState mixin is now connected to the DOM"),this.addEventListener(Re.state,this.onPendingState)}disconnectedCallback(){super.disconnectedCallback(),p.debug("PendingState mixin is now disconnected from the DOM"),this.removeEventListener(Re.state,this.onPendingState)}onPendingState({detail:t}){return e(this,void 0,void 0,(function*(){const{promise:e}=t;if(e){this.hasPendingChildren=!0,this.pendingCount+=1;try{yield e}catch(t){this.$emit(Re.error,{message:`Error in pending-state promise: ${t}`,error:t})}finally{this.resolvedCount+=1,this.pendingCount===this.resolvedCount&&(this.hasPendingChildren=!1)}}}))}}return t([x],s.prototype,"hasPendingChildren",void 0),s},Ae=t=>{var e,s,n,i;return i=class extends t{constructor(...t){super(t),e.add(this),s.set(this,null)}cloneNode(t){const e=this.deepClone();return t&&Array.from(this.childNodes).forEach((t=>{e.appendChild(t.cloneNode(!0))})),e}deepClone(){const t=document.createElement(this.tagName.toLowerCase());return this.getAttributeNames().forEach((e=>t.setAttribute(e,this.getAttribute(e)))),t}get shouldRunDisconnect(){return null===r(this,s,"f")||!r(this,s,"f").dragging}get shouldRunConnect(){return this.shouldRunDisconnect}connectedCallback(){super.connectedCallback(),null===r(this,s,"f")&&function(t,e,r,s,n){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");"a"===s?n.call(t,r):n?n.value=r:e.set(t,r)}(this,s,r(this,e,"m",n).call(this,this),"f")}},s=new WeakMap,e=new WeakSet,n=function t(s){if(s.getRootNode()instanceof Document||s.getRootNode()instanceof DocumentFragment)return null;const n=s.getRootNode().host;return"FoundationLayout"===n.constructor.name?n:r(this,e,"m",t).call(this,n)},i},Le={local:"local",remote:"remote"};class xe{constructor(){this.serialize=t=>JSON.stringify(t)}deserialize(t){return t&&t.ok?t.text().then((t=>JSON.parse(t))):(t&&t.data&&(t=t.data),JSON.parse(t))}}const Pe=Et.createInterface((t=>t.singleton(xe)));function Me(t,e,r){return isNaN(t)||t<=e?e:t>=r?r:t}function je(t,e,r){return isNaN(t)||t<=e?0:t>=r?1:t/(r-e)}function Ie(t,e,r){return isNaN(t)?e:e+t*(r-e)}function Ee(t){return t*(Math.PI/180)}function $e(t,e,r){return isNaN(t)||t<=0?e:t>=1?r:e+t*(r-e)}function Be(t,e,r){if(t<=0)return e%360;if(t>=1)return r%360;const s=(e-r+360)%360;return s<=(r-e+360)%360?(e-s*t+360)%360:(e+s*t+360)%360}function ze(t,e){const r=Math.pow(10,e);return Math.round(t*r)/r}class Ue{constructor(t,e,r){this.h=t,this.s=e,this.l=r}static fromObject(t){return!t||isNaN(t.h)||isNaN(t.s)||isNaN(t.l)?null:new Ue(t.h,t.s,t.l)}equalValue(t){return this.h===t.h&&this.s===t.s&&this.l===t.l}roundToPrecision(t){return new Ue(ze(this.h,t),ze(this.s,t),ze(this.l,t))}toObject(){return{h:this.h,s:this.s,l:this.l}}}class He{constructor(t,e,r){this.h=t,this.s=e,this.v=r}static fromObject(t){return!t||isNaN(t.h)||isNaN(t.s)||isNaN(t.v)?null:new He(t.h,t.s,t.v)}equalValue(t){return this.h===t.h&&this.s===t.s&&this.v===t.v}roundToPrecision(t){return new He(ze(this.h,t),ze(this.s,t),ze(this.v,t))}toObject(){return{h:this.h,s:this.s,v:this.v}}}class We{constructor(t,e,r){this.l=t,this.a=e,this.b=r}static fromObject(t){return!t||isNaN(t.l)||isNaN(t.a)||isNaN(t.b)?null:new We(t.l,t.a,t.b)}equalValue(t){return this.l===t.l&&this.a===t.a&&this.b===t.b}roundToPrecision(t){return new We(ze(this.l,t),ze(this.a,t),ze(this.b,t))}toObject(){return{l:this.l,a:this.a,b:this.b}}}We.epsilon=216/24389,We.kappa=24389/27;class qe{constructor(t,e,r){this.l=t,this.c=e,this.h=r}static fromObject(t){return!t||isNaN(t.l)||isNaN(t.c)||isNaN(t.h)?null:new qe(t.l,t.c,t.h)}equalValue(t){return this.l===t.l&&this.c===t.c&&this.h===t.h}roundToPrecision(t){return new qe(ze(this.l,t),ze(this.c,t),ze(this.h,t))}toObject(){return{l:this.l,c:this.c,h:this.h}}}class Ge{constructor(t,e,r,s){this.r=t,this.g=e,this.b=r,this.a="number"!=typeof s||isNaN(s)?1:s}static fromObject(t){return!t||isNaN(t.r)||isNaN(t.g)||isNaN(t.b)?null:new Ge(t.r,t.g,t.b,t.a)}equalValue(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}toStringHexRGB(){return"#"+[this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringHexRGBA(){return this.toStringHexRGB()+this.formatHexValue(this.a)}toStringHexARGB(){return"#"+[this.a,this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringWebRGB(){return`rgb(${Math.round(Ie(this.r,0,255))},${Math.round(Ie(this.g,0,255))},${Math.round(Ie(this.b,0,255))})`}toStringWebRGBA(){return`rgba(${Math.round(Ie(this.r,0,255))},${Math.round(Ie(this.g,0,255))},${Math.round(Ie(this.b,0,255))},${Me(this.a,0,1)})`}roundToPrecision(t){return new Ge(ze(this.r,t),ze(this.g,t),ze(this.b,t),ze(this.a,t))}clamp(){return new Ge(Me(this.r,0,1),Me(this.g,0,1),Me(this.b,0,1),Me(this.a,0,1))}toObject(){return{r:this.r,g:this.g,b:this.b,a:this.a}}formatHexValue(t){return function(t){const e=Math.round(Me(t,0,255)).toString(16);return 1===e.length?"0"+e:e}(Ie(t,0,255))}}class Xe{constructor(t,e,r){this.x=t,this.y=e,this.z=r}static fromObject(t){return!t||isNaN(t.x)||isNaN(t.y)||isNaN(t.z)?null:new Xe(t.x,t.y,t.z)}equalValue(t){return this.x===t.x&&this.y===t.y&&this.z===t.z}roundToPrecision(t){return new Xe(ze(this.x,t),ze(this.y,t),ze(this.z,t))}toObject(){return{x:this.x,y:this.y,z:this.z}}}function Je(t){return.2126*t.r+.7152*t.g+.0722*t.b}function Qe(t){function e(t){return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return Je(new Ge(e(t.r),e(t.g),e(t.b),1))}Xe.whitePoint=new Xe(.95047,1,1.08883);const Ye=(t,e)=>(t+.05)/(e+.05);function Ze(t,e){const r=Qe(t),s=Qe(e);return r>s?Ye(r,s):Ye(s,r)}function Ke(t){const e=Math.max(t.r,t.g,t.b),r=Math.min(t.r,t.g,t.b),s=e-r;let n=0;0!==s&&(n=e===t.r?(t.g-t.b)/s%6*60:e===t.g?60*((t.b-t.r)/s+2):60*((t.r-t.g)/s+4)),n<0&&(n+=360);const i=(e+r)/2;let o=0;return 0!==s&&(o=s/(1-Math.abs(2*i-1))),new Ue(n,o,i)}function tr(t,e=1){const r=(1-Math.abs(2*t.l-1))*t.s,s=r*(1-Math.abs(t.h/60%2-1)),n=t.l-r/2;let i=0,o=0,a=0;return t.h<60?(i=r,o=s,a=0):t.h<120?(i=s,o=r,a=0):t.h<180?(i=0,o=r,a=s):t.h<240?(i=0,o=s,a=r):t.h<300?(i=s,o=0,a=r):t.h<360&&(i=r,o=0,a=s),new Ge(i+n,o+n,a+n,e)}function er(t){const e=Math.max(t.r,t.g,t.b),r=e-Math.min(t.r,t.g,t.b);let s=0;0!==r&&(s=e===t.r?(t.g-t.b)/r%6*60:e===t.g?60*((t.b-t.r)/r+2):60*((t.r-t.g)/r+4)),s<0&&(s+=360);let n=0;return 0!==e&&(n=r/e),new He(s,n,e)}function rr(t){let e=0;(Math.abs(t.b)>.001||Math.abs(t.a)>.001)&&(e=function(t){return t*(180/Math.PI)}(Math.atan2(t.b,t.a))),e<0&&(e+=360);const r=Math.sqrt(t.a*t.a+t.b*t.b);return new qe(t.l,r,e)}function sr(t){function e(t){return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}const r=e(t.r),s=e(t.g),n=e(t.b);return new Xe(.4124564*r+.3575761*s+.1804375*n,.2126729*r+.7151522*s+.072175*n,.0193339*r+.119192*s+.9503041*n)}function nr(t,e=1){function r(t){return t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055}const s=r(3.2404542*t.x-1.5371385*t.y-.4985314*t.z),n=r(-.969266*t.x+1.8760108*t.y+.041556*t.z),i=r(.0556434*t.x-.2040259*t.y+1.0572252*t.z);return new Ge(s,n,i,e)}function ir(t){return function(t){function e(t){return t>We.epsilon?Math.pow(t,1/3):(We.kappa*t+16)/116}const r=e(t.x/Xe.whitePoint.x),s=e(t.y/Xe.whitePoint.y),n=e(t.z/Xe.whitePoint.z);return new We(116*s-16,500*(r-s),200*(s-n))}(sr(t))}function or(t,e=1){return nr(function(t){const e=(t.l+16)/116,r=e+t.a/500,s=e-t.b/200,n=Math.pow(r,3),i=Math.pow(e,3),o=Math.pow(s,3);let a=0;a=n>We.epsilon?n:(116*r-16)/We.kappa;let l=0;l=t.l>We.epsilon*We.kappa?i:t.l/We.kappa;let u=0;return u=o>We.epsilon?o:(116*s-16)/We.kappa,a=Xe.whitePoint.x*a,l=Xe.whitePoint.y*l,u=Xe.whitePoint.z*u,new Xe(a,l,u)}(t),e)}function ar(t){return rr(ir(t))}function lr(t,e=1){return or(function(t){let e=0,r=0;return 0!==t.h&&(e=Math.cos(Ee(t.h))*t.c,r=Math.sin(Ee(t.h))*t.c),new We(t.l,e,r)}(t),e)}function ur(t,e,r=18){const s=ar(t);let n=s.c+e*r;return n<0&&(n=0),lr(new qe(s.l,n,s.h))}function cr(t,e){return t*e}function hr(t,e){return new Ge(cr(t.r,e.r),cr(t.g,e.g),cr(t.b,e.b),1)}function fr(t,e){return Me(t<.5?2*e*t:1-2*(1-e)*(1-t),0,1)}function dr(t,e){return new Ge(fr(t.r,e.r),fr(t.g,e.g),fr(t.b,e.b),1)}var gr,pr;function vr(t,e,r,s){if(isNaN(t)||t<=0)return r;if(t>=1)return s;switch(e){case pr.HSL:return tr(function(t,e,r){return isNaN(t)||t<=0?e:t>=1?r:new Ue(Be(t,e.h,r.h),$e(t,e.s,r.s),$e(t,e.l,r.l))}(t,Ke(r),Ke(s)));case pr.HSV:return function(t,e=1){const r=t.s*t.v,s=r*(1-Math.abs(t.h/60%2-1)),n=t.v-r;let i=0,o=0,a=0;return t.h<60?(i=r,o=s,a=0):t.h<120?(i=s,o=r,a=0):t.h<180?(i=0,o=r,a=s):t.h<240?(i=0,o=s,a=r):t.h<300?(i=s,o=0,a=r):t.h<360&&(i=r,o=0,a=s),new Ge(i+n,o+n,a+n,e)}(function(t,e,r){return isNaN(t)||t<=0?e:t>=1?r:new He(Be(t,e.h,r.h),$e(t,e.s,r.s),$e(t,e.v,r.v))}(t,er(r),er(s)));case pr.XYZ:return nr(function(t,e,r){return isNaN(t)||t<=0?e:t>=1?r:new Xe($e(t,e.x,r.x),$e(t,e.y,r.y),$e(t,e.z,r.z))}(t,sr(r),sr(s)));case pr.LAB:return or(function(t,e,r){return isNaN(t)||t<=0?e:t>=1?r:new We($e(t,e.l,r.l),$e(t,e.a,r.a),$e(t,e.b,r.b))}(t,ir(r),ir(s)));case pr.LCH:return lr(function(t,e,r){return isNaN(t)||t<=0?e:t>=1?r:new qe($e(t,e.l,r.l),$e(t,e.c,r.c),Be(t,e.h,r.h))}(t,ar(r),ar(s)));default:return function(t,e,r){return isNaN(t)||t<=0?e:t>=1?r:new Ge($e(t,e.r,r.r),$e(t,e.g,r.g),$e(t,e.b,r.b),$e(t,e.a,r.a))}(t,r,s)}}!function(t){t[t.Burn=0]="Burn",t[t.Color=1]="Color",t[t.Darken=2]="Darken",t[t.Dodge=3]="Dodge",t[t.Lighten=4]="Lighten",t[t.Multiply=5]="Multiply",t[t.Overlay=6]="Overlay",t[t.Screen=7]="Screen"}(gr||(gr={})),function(t){t[t.RGB=0]="RGB",t[t.HSL=1]="HSL",t[t.HSV=2]="HSV",t[t.XYZ=3]="XYZ",t[t.LAB=4]="LAB",t[t.LCH=5]="LCH"}(pr||(pr={}));class yr{constructor(t){if(null==t||0===t.length)throw new Error("The stops argument must be non-empty");this.stops=this.sortColorScaleStops(t)}static createBalancedColorScale(t){if(null==t||0===t.length)throw new Error("The colors argument must be non-empty");const e=new Array(t.length);for(let r=0;r<t.length;r++)0===r?e[r]={color:t[r],position:0}:r===t.length-1?e[r]={color:t[r],position:1}:e[r]={color:t[r],position:r*(1/(t.length-1))};return new yr(e)}getColor(t,e=pr.RGB){if(1===this.stops.length)return this.stops[0].color;if(t<=0)return this.stops[0].color;if(t>=1)return this.stops[this.stops.length-1].color;let r=0;for(let e=0;e<this.stops.length;e++)this.stops[e].position<=t&&(r=e);let s=r+1;s>=this.stops.length&&(s=this.stops.length-1);return vr((t-this.stops[r].position)*(1/(this.stops[s].position-this.stops[r].position)),e,this.stops[r].color,this.stops[s].color)}trim(t,e,r=pr.RGB){if(t<0||e>1||e<t)throw new Error("Invalid bounds");if(t===e)return new yr([{color:this.getColor(t,r),position:0}]);const s=[];for(let r=0;r<this.stops.length;r++)this.stops[r].position>=t&&this.stops[r].position<=e&&s.push(this.stops[r]);if(0===s.length)return new yr([{color:this.getColor(t),position:t},{color:this.getColor(e),position:e}]);s[0].position!==t&&s.unshift({color:this.getColor(t),position:t}),s[s.length-1].position!==e&&s.push({color:this.getColor(e),position:e});const n=e-t,i=new Array(s.length);for(let e=0;e<s.length;e++)i[e]={color:s[e].color,position:(s[e].position-t)/n};return new yr(i)}findNextColor(t,e,r=!1,s=pr.RGB,n=.005,i=32){isNaN(t)||t<=0?t=0:t>=1&&(t=1);const o=this.getColor(t,s),a=r?0:1;if(Ze(o,this.getColor(a,s))<=e)return a;let l=r?0:t,u=r?t:0,c=a,h=0;for(;h<=i;){c=Math.abs(u-l)/2+l;const t=Ze(o,this.getColor(c,s));if(Math.abs(t-e)<=n)return c;t>e?r?l=c:u=c:r?u=c:l=c,h++}return c}clone(){const t=new Array(this.stops.length);for(let e=0;e<t.length;e++)t[e]={color:this.stops[e].color,position:this.stops[e].position};return new yr(t)}sortColorScaleStops(t){return t.sort(((t,e)=>{const r=t.position,s=e.position;return r<s?-1:r>s?1:0}))}}const br=/^#((?:[0-9a-f]{6}|[0-9a-f]{3}))$/i;function mr(t){const e=br.exec(t);if(null===e)return null;let r=e[1];if(3===r.length){const t=r.charAt(0),e=r.charAt(1),s=r.charAt(2);r=t.concat(t,e,e,s,s)}const s=parseInt(r,16);return isNaN(s)?null:new Ge(je((16711680&s)>>>16,0,255),je((65280&s)>>>8,0,255),je(255&s,0,255),1)}class wr{constructor(t){this.config=Object.assign({},wr.defaultPaletteConfig,t),this.palette=[],this.updatePaletteColors()}updatePaletteGenerationValues(t){let e=!1;for(const r in t)this.config[r]&&(this.config[r].equalValue?this.config[r].equalValue(t[r])||(this.config[r]=t[r],e=!0):t[r]!==this.config[r]&&(this.config[r]=t[r],e=!0));return e&&this.updatePaletteColors(),e}updatePaletteColors(){const t=this.generatePaletteColorScale();for(let e=0;e<this.config.steps;e++)this.palette[e]=t.getColor(e/(this.config.steps-1),this.config.interpolationMode)}generatePaletteColorScale(){const t=Ke(this.config.baseColor),e=new yr([{position:0,color:this.config.scaleColorLight},{position:.5,color:this.config.baseColor},{position:1,color:this.config.scaleColorDark}]).trim(this.config.clipLight,1-this.config.clipDark);let r=e.getColor(0),s=e.getColor(1);if(t.s>=this.config.saturationAdjustmentCutoff&&(r=ur(r,this.config.saturationLight),s=ur(s,this.config.saturationDark)),0!==this.config.multiplyLight){const t=hr(this.config.baseColor,r);r=vr(this.config.multiplyLight,this.config.interpolationMode,r,t)}if(0!==this.config.multiplyDark){const t=hr(this.config.baseColor,s);s=vr(this.config.multiplyDark,this.config.interpolationMode,s,t)}if(0!==this.config.overlayLight){const t=dr(this.config.baseColor,r);r=vr(this.config.overlayLight,this.config.interpolationMode,r,t)}if(0!==this.config.overlayDark){const t=dr(this.config.baseColor,s);s=vr(this.config.overlayDark,this.config.interpolationMode,s,t)}return this.config.baseScalePosition?this.config.baseScalePosition<=0?new yr([{position:0,color:this.config.baseColor},{position:1,color:s.clamp()}]):this.config.baseScalePosition>=1?new yr([{position:0,color:r.clamp()},{position:1,color:this.config.baseColor}]):new yr([{position:0,color:r.clamp()},{position:this.config.baseScalePosition,color:this.config.baseColor},{position:1,color:s.clamp()}]):new yr([{position:0,color:r.clamp()},{position:.5,color:this.config.baseColor},{position:1,color:s.clamp()}])}}wr.defaultPaletteConfig={baseColor:mr("#808080"),steps:11,interpolationMode:pr.RGB,scaleColorLight:new Ge(1,1,1,1),scaleColorDark:new Ge(0,0,0,1),clipLight:.185,clipDark:.16,saturationAdjustmentCutoff:.05,saturationLight:.35,saturationDark:1.25,overlayLight:0,overlayDark:.25,multiplyLight:0,multiplyDark:0,baseScalePosition:.5},wr.greyscalePaletteConfig={baseColor:mr("#808080"),steps:11,interpolationMode:pr.RGB,scaleColorLight:new Ge(1,1,1,1),scaleColorDark:new Ge(0,0,0,1),clipLight:0,clipDark:0,saturationAdjustmentCutoff:0,saturationLight:0,saturationDark:0,overlayLight:0,overlayDark:0,multiplyLight:0,multiplyDark:0,baseScalePosition:.5},wr.defaultPaletteConfig.scaleColorLight,wr.defaultPaletteConfig.scaleColorDark;class Cr{constructor(t){this.palette=[],this.config=Object.assign({},Cr.defaultPaletteConfig,t),this.regenPalettes()}regenPalettes(){let t=this.config.steps;(isNaN(t)||t<3)&&(t=3);const e=.14,r=new Ge(e,e,e,1),s=new wr(Object.assign(Object.assign({},wr.greyscalePaletteConfig),{baseColor:r,baseScalePosition:86/94,steps:t})).palette,n=(Je(this.config.baseColor)+Ke(this.config.baseColor).l)/2,i=this.matchRelativeLuminanceIndex(n,s)/(t-1),o=this.matchRelativeLuminanceIndex(e,s)/(t-1),a=Ke(this.config.baseColor),l=tr(Ue.fromObject({h:a.h,s:a.s,l:e})),u=tr(Ue.fromObject({h:a.h,s:a.s,l:.06})),c=new Array(5);c[0]={position:0,color:new Ge(1,1,1,1)},c[1]={position:i,color:this.config.baseColor},c[2]={position:o,color:l},c[3]={position:.99,color:u},c[4]={position:1,color:new Ge(0,0,0,1)};const h=new yr(c);this.palette=new Array(t);for(let e=0;e<t;e++){const r=h.getColor(e/(t-1),pr.RGB);this.palette[e]=r}}matchRelativeLuminanceIndex(t,e){let r=Number.MAX_VALUE,s=0,n=0;const i=e.length;for(;n<i;n++){const i=Math.abs(Je(e[n])-t);i<r&&(r=i,s=n)}return s}}function _r(t,e){const r=t.relativeLuminance>e.relativeLuminance?t:e,s=t.relativeLuminance>e.relativeLuminance?e:t;return(r.relativeLuminance+.05)/(s.relativeLuminance+.05)}Cr.defaultPaletteConfig={baseColor:mr("#808080"),steps:94};const Sr=Object.freeze({create:(t,e,r)=>new Dr(t,e,r),from:t=>new Dr(t.r,t.g,t.b)});class Dr extends Ge{constructor(t,e,r){super(t,e,r,1),this.toColorString=this.toStringHexRGB,this.contrast=_r.bind(null,this),this.createCSS=this.toColorString,this.relativeLuminance=Qe(this)}static fromObject(t){return new Dr(t.r,t.g,t.b)}}function Or(t,e,r=0,s=t.length-1){if(s===r)return t[r];const n=Math.floor((s-r)/2)+r;return e(t[n])?Or(t,e,r,n):Or(t,e,n+1,s)}const Fr=(-.1+Math.sqrt(.21))/2;function Vr(t){return function(t){return t.relativeLuminance<=Fr}(t)?-1:1}const kr=Object.freeze({create:function(t,e,r){return"number"==typeof t?kr.from(Sr.create(t,e,r)):kr.from(t)},from:function(t){return function(t){const e={r:0,g:0,b:0,toColorString:()=>"",contrast:()=>0,relativeLuminance:0};for(const r in e)if(typeof e[r]!=typeof t[r])return!1;return!0}(t)?Tr.from(t):Tr.from(Sr.create(t.r,t.g,t.b))}});class Tr{constructor(t,e){this.closestIndexCache=new Map,this.source=t,this.swatches=e,this.reversedSwatches=Object.freeze([...this.swatches].reverse()),this.lastIndex=this.swatches.length-1}colorContrast(t,e,r,s){void 0===r&&(r=this.closestIndexOf(t));let n=this.swatches;const i=this.lastIndex;let o=r;void 0===s&&(s=Vr(t));return-1===s&&(n=this.reversedSwatches,o=i-o),Or(n,(r=>_r(t,r)>=e),o,i)}get(t){return this.swatches[t]||this.swatches[Me(t,0,this.lastIndex)]}closestIndexOf(t){if(this.closestIndexCache.has(t.relativeLuminance))return this.closestIndexCache.get(t.relativeLuminance);let e=this.swatches.indexOf(t);if(-1!==e)return this.closestIndexCache.set(t.relativeLuminance,e),e;const r=this.swatches.reduce(((e,r)=>Math.abs(r.relativeLuminance-t.relativeLuminance)<Math.abs(e.relativeLuminance-t.relativeLuminance)?r:e));return e=this.swatches.indexOf(r),this.closestIndexCache.set(t.relativeLuminance,e),e}static from(t){return new Tr(t,Object.freeze(new Cr({baseColor:Ge.fromObject(t)}).palette.map((t=>{const e=mr(t.toStringHexRGB());return Sr.create(e.r,e.g,e.b)}))))}}const Rr=Sr.create(1,1,1),Nr=Sr.create(0,0,0),Ar=Sr.from(mr("#808080")),Lr=Sr.from(mr("#DA1A5F"));function xr(t){return Sr.create(t,t,t)}const Pr=1,Mr=.23;function jr(t,e,r,s,n,i){return Math.max(t.closestIndexOf(xr(e))+r,s,n,i)}const{create:Ir}=Ve;function Er(t){return Ve.create({name:t,cssCustomPropertyName:null})}Ir("body-font").withDefault('aktiv-grotesk, "Segoe UI", Arial, Helvetica, sans-serif');const $r=Ir("base-height-multiplier").withDefault(10);Ir("base-horizontal-spacing-multiplier").withDefault(3);const Br=Ir("base-layer-luminance").withDefault(Mr);Ir("control-corner-radius").withDefault(4);const zr=Ir("density").withDefault(0),Ur=Ir("design-unit").withDefault(4);Ir("direction").withDefault(ue.ltr),Ir("disabled-opacity").withDefault(.3),Ir("stroke-width").withDefault(1),Ir("focus-stroke-width").withDefault(2),Ir("type-ramp-base-font-size").withDefault("14px"),Ir("type-ramp-base-line-height").withDefault("20px"),Ir("type-ramp-minus-1-font-size").withDefault("12px"),Ir("type-ramp-minus-1-line-height").withDefault("16px"),Ir("type-ramp-minus-2-font-size").withDefault("10px"),Ir("type-ramp-minus-2-line-height").withDefault("16px"),Ir("type-ramp-plus-1-font-size").withDefault("16px"),Ir("type-ramp-plus-1-line-height").withDefault("24px"),Ir("type-ramp-plus-2-font-size").withDefault("20px"),Ir("type-ramp-plus-2-line-height").withDefault("28px"),Ir("type-ramp-plus-3-font-size").withDefault("28px"),Ir("type-ramp-plus-3-line-height").withDefault("36px"),Ir("type-ramp-plus-4-font-size").withDefault("34px"),Ir("type-ramp-plus-4-line-height").withDefault("44px"),Ir("type-ramp-plus-5-font-size").withDefault("46px"),Ir("type-ramp-plus-5-line-height").withDefault("56px"),Ir("type-ramp-plus-6-font-size").withDefault("60px"),Ir("type-ramp-plus-6-line-height").withDefault("72px"),Er("accent-fill-rest-delta").withDefault(0);const Hr=Er("accent-fill-hover-delta").withDefault(4),Wr=Er("accent-fill-active-delta").withDefault(-5),qr=Er("accent-fill-focus-delta").withDefault(0),Gr=Er("accent-foreground-rest-delta").withDefault(0),Xr=Er("accent-foreground-hover-delta").withDefault(6),Jr=Er("accent-foreground-active-delta").withDefault(-4),Qr=Er("accent-foreground-focus-delta").withDefault(0),Yr=Er("neutral-fill-rest-delta").withDefault(7),Zr=Er("neutral-fill-hover-delta").withDefault(10),Kr=Er("neutral-fill-active-delta").withDefault(5),ts=Er("neutral-fill-focus-delta").withDefault(0),es=Er("neutral-fill-input-rest-delta").withDefault(0),rs=Er("neutral-fill-input-hover-delta").withDefault(0),ss=Er("neutral-fill-input-active-delta").withDefault(0),ns=Er("neutral-fill-input-focus-delta").withDefault(0),is=Er("neutral-fill-stealth-rest-delta").withDefault(0),os=Er("neutral-fill-stealth-hover-delta").withDefault(5),as=Er("neutral-fill-stealth-active-delta").withDefault(3),ls=Er("neutral-fill-stealth-focus-delta").withDefault(0),us=Er("neutral-fill-strong-rest-delta").withDefault(0),cs=Er("neutral-fill-strong-hover-delta").withDefault(8),hs=Er("neutral-fill-strong-active-delta").withDefault(-5),fs=Er("neutral-fill-strong-focus-delta").withDefault(0),ds=Er("neutral-fill-layer-rest-delta").withDefault(3),gs=Er("neutral-stroke-rest-delta").withDefault(25),ps=Er("neutral-stroke-hover-delta").withDefault(40),vs=Er("neutral-stroke-active-delta").withDefault(16),ys=Er("neutral-stroke-focus-delta").withDefault(25),bs=Er("neutral-stroke-divider-rest-delta").withDefault(8),ms=Ir("neutral-color").withDefault(Ar),ws=Er("neutral-palette").withDefault((t=>kr.from(ms.getValueFor(t)))),Cs=Ir("accent-color").withDefault(Lr),_s=Er("accent-palette").withDefault((t=>kr.from(Cs.getValueFor(t)))),Ss=Er("neutral-layer-card-container-recipe").withDefault({evaluate:t=>{return e=ws.getValueFor(t),r=Br.getValueFor(t),s=ds.getValueFor(t),e.get(e.closestIndexOf(xr(r))+s);var e,r,s}});Ir("neutral-layer-card-container").withDefault((t=>Ss.getValueFor(t).evaluate(t)));const Ds=Er("neutral-layer-floating-recipe").withDefault({evaluate:t=>function(t,e,r){const s=t.closestIndexOf(xr(e))-r;return t.get(s-r)}(ws.getValueFor(t),Br.getValueFor(t),ds.getValueFor(t))});Ir("neutral-layer-floating").withDefault((t=>Ds.getValueFor(t).evaluate(t)));const Os=Er("neutral-layer-1-recipe").withDefault({evaluate:t=>function(t,e){return t.get(t.closestIndexOf(xr(e)))}(ws.getValueFor(t),Br.getValueFor(t))}),Fs=Ir("neutral-layer-1").withDefault((t=>Os.getValueFor(t).evaluate(t))),Vs=Er("neutral-layer-2-recipe").withDefault({evaluate:t=>{return e=ws.getValueFor(t),r=Br.getValueFor(t),s=ds.getValueFor(t),n=Yr.getValueFor(t),i=Zr.getValueFor(t),o=Kr.getValueFor(t),e.get(jr(e,r,s,n,i,o));var e,r,s,n,i,o}});Ir("neutral-layer-2").withDefault((t=>Vs.getValueFor(t).evaluate(t)));const ks=Er("neutral-layer-3-recipe").withDefault({evaluate:t=>{return e=ws.getValueFor(t),r=Br.getValueFor(t),s=ds.getValueFor(t),n=Yr.getValueFor(t),i=Zr.getValueFor(t),o=Kr.getValueFor(t),e.get(jr(e,r,s,n,i,o)+s);var e,r,s,n,i,o}});Ir("neutral-layer-3").withDefault((t=>ks.getValueFor(t).evaluate(t)));const Ts=Er("neutral-layer-4-recipe").withDefault({evaluate:t=>{return e=ws.getValueFor(t),r=Br.getValueFor(t),s=ds.getValueFor(t),n=Yr.getValueFor(t),i=Zr.getValueFor(t),o=Kr.getValueFor(t),e.get(jr(e,r,s,n,i,o)+2*s);var e,r,s,n,i,o}});Ir("neutral-layer-4").withDefault((t=>Ts.getValueFor(t).evaluate(t)));const Rs=Ir("fill-color").withDefault((t=>Fs.getValueFor(t)));var Ns;!function(t){t[t.normal=4.5]="normal",t[t.large=7]="large"}(Ns||(Ns={}));const As=Ir({name:"accent-fill-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(t,e)=>function(t,e,r,s,n,i,o,a,l){const u=t.source,c=e.closestIndexOf(r)>=Math.max(o,a,l)?-1:1,h=t.closestIndexOf(u),f=h+-1*c*s,d=f+c*n,g=f+c*i;return{rest:t.get(f),hover:t.get(h),active:t.get(d),focus:t.get(g)}}(_s.getValueFor(t),ws.getValueFor(t),e||Rs.getValueFor(t),Hr.getValueFor(t),Wr.getValueFor(t),qr.getValueFor(t),Yr.getValueFor(t),Zr.getValueFor(t),Kr.getValueFor(t))}),Ls=Ir("accent-fill-rest").withDefault((t=>As.getValueFor(t).evaluate(t).rest)),xs=Ir("accent-fill-hover").withDefault((t=>As.getValueFor(t).evaluate(t).hover)),Ps=Ir("accent-fill-active").withDefault((t=>As.getValueFor(t).evaluate(t).active)),Ms=Ir("accent-fill-focus").withDefault((t=>As.getValueFor(t).evaluate(t).focus)),js=t=>(e,r)=>function(t,e){return t.contrast(Rr)>=e?Rr:Nr}(r||Ls.getValueFor(e),t),Is=Er("foreground-on-accent-recipe").withDefault({evaluate:(t,e)=>js(Ns.normal)(t,e)});Ir("foreground-on-accent-rest").withDefault((t=>Is.getValueFor(t).evaluate(t,Ls.getValueFor(t)))),Ir("foreground-on-accent-hover").withDefault((t=>Is.getValueFor(t).evaluate(t,xs.getValueFor(t)))),Ir("foreground-on-accent-active").withDefault((t=>Is.getValueFor(t).evaluate(t,Ps.getValueFor(t)))),Ir("foreground-on-accent-focus").withDefault((t=>Is.getValueFor(t).evaluate(t,Ms.getValueFor(t))));const Es=Er("foreground-on-accent-large-recipe").withDefault({evaluate:(t,e)=>js(Ns.large)(t,e)});Ir("foreground-on-accent-rest-large").withDefault((t=>Es.getValueFor(t).evaluate(t,Ls.getValueFor(t)))),Ir("foreground-on-accent-hover-large").withDefault((t=>Es.getValueFor(t).evaluate(t,xs.getValueFor(t)))),Ir("foreground-on-accent-active-large").withDefault((t=>Es.getValueFor(t).evaluate(t,Ps.getValueFor(t)))),Ir("foreground-on-accent-focus-large").withDefault((t=>Es.getValueFor(t).evaluate(t,Ms.getValueFor(t))));const $s=t=>(e,r)=>function(t,e,r,s,n,i,o){const a=t.source,l=t.closestIndexOf(a),u=Vr(e),c=l+(1===u?Math.min(s,n):Math.max(u*s,u*n)),h=t.colorContrast(e,r,c,u),f=t.closestIndexOf(h),d=f+u*Math.abs(s-n);let g,p;return(1===u?s<n:u*s>u*n)?(g=f,p=d):(g=d,p=f),{rest:t.get(g),hover:t.get(p),active:t.get(g+u*i),focus:t.get(g+u*o)}}(_s.getValueFor(e),r||Rs.getValueFor(e),t,Gr.getValueFor(e),Xr.getValueFor(e),Jr.getValueFor(e),Qr.getValueFor(e)),Bs=Ir({name:"accent-foreground-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(t,e)=>$s(Ns.normal)(t,e)});Ir("accent-foreground-rest").withDefault((t=>Bs.getValueFor(t).evaluate(t).rest)),Ir("accent-foreground-hover").withDefault((t=>Bs.getValueFor(t).evaluate(t).hover)),Ir("accent-foreground-active").withDefault((t=>Bs.getValueFor(t).evaluate(t).active)),Ir("accent-foreground-focus").withDefault((t=>Bs.getValueFor(t).evaluate(t).focus));const zs=Ir({name:"neutral-fill-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(t,e)=>function(t,e,r,s,n,i){const o=t.closestIndexOf(e),a=o>=Math.max(r,s,n,i)?-1:1;return{rest:t.get(o+a*r),hover:t.get(o+a*s),active:t.get(o+a*n),focus:t.get(o+a*i)}}(ws.getValueFor(t),e||Rs.getValueFor(t),Yr.getValueFor(t),Zr.getValueFor(t),Kr.getValueFor(t),ts.getValueFor(t))});Ir("neutral-fill-rest").withDefault((t=>zs.getValueFor(t).evaluate(t).rest)),Ir("neutral-fill-hover").withDefault((t=>zs.getValueFor(t).evaluate(t).hover)),Ir("neutral-fill-active").withDefault((t=>zs.getValueFor(t).evaluate(t).active)),Ir("neutral-fill-focus").withDefault((t=>zs.getValueFor(t).evaluate(t).focus));const Us=Ir({name:"neutral-fill-input-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(t,e)=>function(t,e,r,s,n,i){const o=Vr(e),a=t.closestIndexOf(e);return{rest:t.get(a-o*r),hover:t.get(a-o*s),active:t.get(a-o*n),focus:t.get(a-o*i)}}(ws.getValueFor(t),e||Rs.getValueFor(t),es.getValueFor(t),rs.getValueFor(t),ss.getValueFor(t),ns.getValueFor(t))});Ir("neutral-fill-input-rest").withDefault((t=>Us.getValueFor(t).evaluate(t).rest)),Ir("neutral-fill-input-hover").withDefault((t=>Us.getValueFor(t).evaluate(t).hover)),Ir("neutral-fill-input-active").withDefault((t=>Us.getValueFor(t).evaluate(t).active)),Ir("neutral-fill-input-focus").withDefault((t=>Us.getValueFor(t).evaluate(t).focus));const Hs=Ir({name:"neutral-fill-stealth-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(t,e)=>function(t,e,r,s,n,i,o,a,l,u){const c=Math.max(r,s,n,i,o,a,l,u),h=t.closestIndexOf(e),f=h>=c?-1:1;return{rest:t.get(h+f*r),hover:t.get(h+f*s),active:t.get(h+f*n),focus:t.get(h+f*i)}}(ws.getValueFor(t),e||Rs.getValueFor(t),is.getValueFor(t),os.getValueFor(t),as.getValueFor(t),ls.getValueFor(t),Yr.getValueFor(t),Zr.getValueFor(t),Kr.getValueFor(t),ts.getValueFor(t))});Ir("neutral-fill-stealth-rest").withDefault((t=>Hs.getValueFor(t).evaluate(t).rest)),Ir("neutral-fill-stealth-hover").withDefault((t=>Hs.getValueFor(t).evaluate(t).hover)),Ir("neutral-fill-stealth-active").withDefault((t=>Hs.getValueFor(t).evaluate(t).active)),Ir("neutral-fill-stealth-focus").withDefault((t=>Hs.getValueFor(t).evaluate(t).focus));const Ws=Ir({name:"neutral-fill-strong-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(t,e)=>function(t,e,r,s,n,i){const o=Vr(e),a=t.closestIndexOf(t.colorContrast(e,4.5)),l=a+o*Math.abs(r-s);let u,c;return(1===o?r<s:o*r>o*s)?(u=a,c=l):(u=l,c=a),{rest:t.get(u),hover:t.get(c),active:t.get(u+o*n),focus:t.get(u+o*i)}}(ws.getValueFor(t),e||Rs.getValueFor(t),us.getValueFor(t),cs.getValueFor(t),hs.getValueFor(t),fs.getValueFor(t))});Ir("neutral-fill-strong-rest").withDefault((t=>Ws.getValueFor(t).evaluate(t).rest)),Ir("neutral-fill-strong-hover").withDefault((t=>Ws.getValueFor(t).evaluate(t).hover)),Ir("neutral-fill-strong-active").withDefault((t=>Ws.getValueFor(t).evaluate(t).active)),Ir("neutral-fill-strong-focus").withDefault((t=>Ws.getValueFor(t).evaluate(t).focus));const qs=Er("neutral-fill-layer-recipe").withDefault({evaluate:(t,e)=>function(t,e,r){const s=t.closestIndexOf(e);return t.get(s-(s<r?-1*r:r))}(ws.getValueFor(t),e||Rs.getValueFor(t),ds.getValueFor(t))});Ir("neutral-fill-layer-rest").withDefault((t=>qs.getValueFor(t).evaluate(t)));const Gs=Er("focus-stroke-outer-recipe").withDefault({evaluate:t=>{return e=ws.getValueFor(t),r=Rs.getValueFor(t),e.colorContrast(r,3.5);var e,r}}),Xs=Ir("focus-stroke-outer").withDefault((t=>Gs.getValueFor(t).evaluate(t))),Js=Er("focus-stroke-inner-recipe").withDefault({evaluate:t=>{return e=_s.getValueFor(t),r=Rs.getValueFor(t),s=Xs.getValueFor(t),e.colorContrast(s,3.5,e.closestIndexOf(e.source),-1*Vr(r));var e,r,s}});Ir("focus-stroke-inner").withDefault((t=>Js.getValueFor(t).evaluate(t)));const Qs=Er("neutral-foreground-hint-recipe").withDefault({evaluate:t=>{return e=ws.getValueFor(t),r=Rs.getValueFor(t),e.colorContrast(r,4.5);var e,r}});Ir("neutral-foreground-hint").withDefault((t=>Qs.getValueFor(t).evaluate(t)));const Ys=Er("neutral-foreground-recipe").withDefault({evaluate:t=>{return e=ws.getValueFor(t),r=Rs.getValueFor(t),e.colorContrast(r,14);var e,r}});Ir("neutral-foreground-rest").withDefault((t=>Ys.getValueFor(t).evaluate(t)));const Zs=Ir({name:"neutral-stroke-recipe",cssCustomPropertyName:null}).withDefault({evaluate:t=>function(t,e,r,s,n,i){const o=t.closestIndexOf(e),a=Vr(e),l=o+a*r,u=l+a*(s-r),c=l+a*(n-r),h=l+a*(i-r);return{rest:t.get(l),hover:t.get(u),active:t.get(c),focus:t.get(h)}}(ws.getValueFor(t),Rs.getValueFor(t),gs.getValueFor(t),ps.getValueFor(t),vs.getValueFor(t),ys.getValueFor(t))});Ir("neutral-stroke-rest").withDefault((t=>Zs.getValueFor(t).evaluate(t).rest)),Ir("neutral-stroke-hover").withDefault((t=>Zs.getValueFor(t).evaluate(t).hover)),Ir("neutral-stroke-active").withDefault((t=>Zs.getValueFor(t).evaluate(t).active)),Ir("neutral-stroke-focus").withDefault((t=>Zs.getValueFor(t).evaluate(t).focus));const Ks=Er("neutral-stroke-divider-recipe").withDefault({evaluate:(t,e)=>function(t,e,r){return t.get(t.closestIndexOf(e)+Vr(e)*r)}(ws.getValueFor(t),e||Rs.getValueFor(t),bs.getValueFor(t))});Ir("neutral-stroke-divider-rest").withDefault((t=>Ks.getValueFor(t).evaluate(t))),Ve.create({name:"height-number",cssCustomPropertyName:null}).withDefault((t=>($r.getValueFor(t)+zr.getValueFor(t))*Ur.getValueFor(t)));const{create:tn}=Ve,en=tn("active-color-scheme").withDefault((t=>Br.getValueFor(t)===Pr?"light":"dark")),rn=(t,e)=>{var r;let s=document.getElementById(e);if(s)return void p.debug(`\n An element with the id of '${e}' already exists and likely has the css rules applied.\n `);const n=null!==(r=document.head)&&void 0!==r?r:document.getElementsByTagName("head")[0];s=document.createElement("style"),s.id=e,n.appendChild(s);const i=s.sheet.insertRule(t);return()=>{s&&(s.sheet.deleteRule(i),n.removeChild(s))}},sn=t=>{const e=document.head.querySelectorAll("link");for(const r in e)if(e[r].href===t)return;const r=document.createElement("link");r.rel="stylesheet",r.href=t,document.head.appendChild(r)};let nn=class extends vt{stylesChanged(t,e){t&&this.parentElement.$fastController.removeStyles(t),this.parentElement.$fastController.addStyles(e)}};var on;t([x],nn.prototype,"styles",void 0),nn=t([(on={name:"slotted-styles"},function(t){new ct(t,on).define()})],nn);const an=(t,e)=>{rn(t,e)};var ln,un;!function(t){t.Italic="italic",t.Normal="normal"}(ln||(ln={})),function(t){t[t.Thin=100]="Thin",t[t.Light=300]="Light",t[t.Regular=400]="Regular",t[t.Medium=500]="Medium",t[t.Bold=700]="Bold",t[t.Black=900]="Black"}(un||(un={}));const cn=(t,e=ln.Normal,r=un.Regular)=>`\n font-family: ${t};\n font-style: ${e};\n font-weight: ${r};\n`;var hn,fn=new Uint8Array(16);function dn(){if(!hn&&!(hn="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return hn(fn)}var gn=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var pn=[],vn=0;vn<256;++vn)pn.push((vn+256).toString(16).substr(1));function yn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(pn[t[e+0]]+pn[t[e+1]]+pn[t[e+2]]+pn[t[e+3]]+"-"+pn[t[e+4]]+pn[t[e+5]]+"-"+pn[t[e+6]]+pn[t[e+7]]+"-"+pn[t[e+8]]+pn[t[e+9]]+"-"+pn[t[e+10]]+pn[t[e+11]]+pn[t[e+12]]+pn[t[e+13]]+pn[t[e+14]]+pn[t[e+15]]).toLowerCase();if(!function(t){return"string"==typeof t&&gn.test(t)}(r))throw TypeError("Stringified UUID is invalid");return r}function bn(t,e,r){var s=(t=t||{}).random||(t.rng||dn)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,e){r=r||0;for(var n=0;n<16;++n)e[r+n]=s[n];return e}return yn(s)}class mn{constructor(){}createId(t=!1){const e=bn();return t&&p.debug(`UUID.createID ${e}`),e}createRemoteId(t=!1){return e(this,void 0,void 0,(function*(){const e=bn();return t&&p.debug(`UUID.createRemoteID ${e}`),e}))}}const wn=Et.createInterface((t=>t.singleton(mn))),Cn=()=>{try{return window.self!==window.top}catch(t){return!0}},_n=()=>{const t=null===navigator||void 0===navigator?void 0:navigator.userAgent;return(null==t?void 0:t.includes("Symphony"))&&(null==t?void 0:t.includes("Electron"))},Sn=483,Dn=600,On=(t,e,r=483,s=600)=>{const n=window.innerWidth/2-r/2+window.screenX,i=window.innerHeight/2-s/2+window.screenY,o=window.open(t,e,"width="+r+", height="+s+", top="+i+", left="+n+", scrollbars=yes");return o.focus&&o.focus(),o};var Fn=f.exports.LogLevel;export{ke as DefaultServerRowDTOMapper,ln as FontStyle,un as FontWeight,v as InMemoryDatabase,Pe as JSONSerializer,Ae as LifecycleMixin,Fn as LogLevel,Dn as POPUP_DEFAULT_HEIGHT,Sn as POPUP_DEFAULT_WIDTH,Ne as PendingState,Re as PendingStateEvents,Le as ResourceType,Te as ServerRowDTOMapper,nn as SlottedStyles,wn as UUID,en as activeColorScheme,b as assureDesignSystem,g as createLogger,s as createObserver,bt as defaultEventMap,d as defaultLoggerOptions,kt as formatDateTimeTimestamp,Ft as formatDateTimestamp,Tt as formatTimestamp,cn as getFontMixin,Cn as inIFrame,_n as inSymphonyDesktop,rn as insertDocumentCSSRule,sn as insertDocumentLink,Dt as isDev,an as loadFontFaces,On as openPopup,y as renderOnChange,St as sync};
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://@genesislcap/foundation-utils/webpack/runtime/chunk loaded","webpack://@genesislcap/foundation-utils/webpack/runtime/load script","webpack://@genesislcap/foundation-utils/webpack/runtime/consumes","webpack://@genesislcap/foundation-utils/webpack/container-entry","webpack://@genesislcap/foundation-utils/webpack/bootstrap","webpack://@genesislcap/foundation-utils/webpack/runtime/define property getters","webpack://@genesislcap/foundation-utils/webpack/runtime/ensure chunk","webpack://@genesislcap/foundation-utils/webpack/runtime/get javascript chunk filename","webpack://@genesislcap/foundation-utils/webpack/runtime/get mini-css chunk filename","webpack://@genesislcap/foundation-utils/webpack/runtime/hasOwnProperty shorthand","webpack://@genesislcap/foundation-utils/webpack/runtime/make namespace object","webpack://@genesislcap/foundation-utils/webpack/runtime/sharing","webpack://@genesislcap/foundation-utils/webpack/runtime/publicPath","webpack://@genesislcap/foundation-utils/webpack/runtime/jsonp chunk loading","webpack://@genesislcap/foundation-utils/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":"2CAAIA,ECAAC,EACAC,ECDAC,EAIAC,EAQAC,EAmCAC,EAuBAC,EAyCAC,EAQAC,EACAC,EAWAC,E,iBCnIJ,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,UAAUN,MAAK,KACxB,MAAM,IAAIO,MAAM,WAAaN,EAAS,iCAAiC,IAG1EH,EAAoBK,OAAIK,EACjBN,GAEJO,EAAO,CAACC,EAAYC,KACvB,GAAKb,EAAoBc,EAAzB,CACA,IAAIC,EAAWf,EAAoBc,EAAW,QAC1CE,EAAO,UACX,GAAGD,GAAYA,IAAaH,EAAY,MAAM,IAAIH,MAAM,mGAExD,OADAT,EAAoBc,EAAEE,GAAQJ,EACvBZ,EAAoBiB,EAAED,EAAMH,EALD,CAKW,EAI9Cb,EAAoBkB,EAAEC,EAAS,CAC9BzB,IAAK,IAAM,EACXiB,KAAM,IAAM,G,GC5BTS,EAA2B,CAAC,EAGhC,SAASpB,EAAoBqB,GAE5B,IAAIC,EAAeF,EAAyBC,GAC5C,QAAqBX,IAAjBY,EACH,OAAOA,EAAaH,QAGrB,IAAIhB,EAASiB,EAAyBC,GAAY,CAGjDF,QAAS,CAAC,GAIPI,GAAQ,EACZ,IACCC,EAAoBH,GAAUI,KAAKtB,EAAOgB,QAAShB,EAAQA,EAAOgB,QAASnB,GAC3EuB,GAAQ,CACT,CAAE,QACEA,UAAcH,EAAyBC,EAC3C,CAGA,OAAOlB,EAAOgB,OACf,CAGAnB,EAAoB0B,EAAIF,EAGxBxB,EAAoB2B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AM,EAEhC,OAAOnC,EAAoB4B,EAAEC,EAAO,EAGjCqH,EAAqBC,KAAgD,0CAAIA,KAAgD,2CAAK,GAClID,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-utils:\";\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__(903))))))),\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__(674))))))),\n\t917: () => (loadStrictVersionCheckFallback(\"default\", \"tslib\", [1,2,3,1], () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(160))))))),\n\t495: () => (loadStrictVersionCheckFallback(\"default\", \"tslib\", [1,2,3,1], () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(726))))))),\n\t304: () => (loadStrictVersionCheckFallback(\"default\", \"tslib\", [1,2,3,1], () => (__webpack_require__.e(191).then(() => (() => (__webpack_require__(191))))))),\n\t375: () => (loadStrictVersionCheckFallback(\"default\", \"uuid\", [1,8,3,2], () => (__webpack_require__.e(969).then(() => (() => (__webpack_require__(969))))))),\n\t896: () => (loadStrictVersionCheckFallback(\"default\", \"@microsoft/fast-components\", [1,2,21,3], () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(917)]).then(() => (() => (__webpack_require__(521))))))),\n\t939: () => (loadStrictVersionCheckFallback(\"default\", \"consola\", [1,2,15,3], () => (__webpack_require__.e(713).then(() => (() => (__webpack_require__(708)))))))\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\"771\": [\n\t\t304,\n\t\t375,\n\t\t896,\n\t\t939\n\t],\n\t\"917\": [\n\t\t917\n\t],\n\t\"951\": [\n\t\t951\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\"}[chunkId] || chunkId) + \".\" + chunkId + \".\" + {\"127\":\"cb5f92dbc8ab4bb7086c\",\"147\":\"156474714e07fc7139b8\",\"191\":\"c269f7289e58bf7b411d\",\"415\":\"4b5fb555089ec8cfcefc\",\"495\":\"2c16bdeb453f0b5cd310\",\"623\":\"110a7cfaa949a6ed5af4\",\"713\":\"aa55449b0ad5bbaff3d7\",\"755\":\"0b7ce5e5697d1349a296\",\"771\":\"1d3a6b8f94d8af130611\",\"917\":\"5aff2a6e3f1091d69647\",\"951\":\"e2789a1f6cfc5a9bbafa\",\"969\":\"4469fc6efc6386f330d3\"}[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-utils\";\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(\"@microsoft/fast-components\", \"2.30.6\", () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(147), __webpack_require__.e(951), __webpack_require__.e(917)]).then(() => (() => (__webpack_require__(521))))));\n\t\t\tregister(\"@microsoft/fast-element\", \"1.11.0\", () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(903))))));\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__(674))))));\n\t\t\tregister(\"consola\", \"2.15.3\", () => (__webpack_require__.e(713).then(() => (() => (__webpack_require__(708))))));\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\tregister(\"uuid\", \"8.3.2\", () => (__webpack_require__.e(969).then(() => (() => (__webpack_require__(969))))));\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\t66: 0,\n\t907: 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(!/^(9(07|17|51)|147|495)$/.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_utils\"] = self[\"webpackChunk_genesislcap_foundation_utils\"] || [];\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, [907], () => (__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,16 +0,0 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Genesis Foundation Utils (Federated)</title></head><body><h1>Genesis Foundation Utils (Federated)</h1><h3>Module Federation Details</h3><pre>{
2
- "name": "foundationUtils",
3
- "filename": "remoteEntry.js",
4
- "remotes": {},
5
- "exposes": {
6
- "./index": "./src/index.federated.ts"
7
- },
8
- "shared": {
9
- "@microsoft/fast-components": "^2.21.3",
10
- "@microsoft/fast-element": "^1.7.0",
11
- "@microsoft/fast-foundation": "^2.33.2",
12
- "consola": "^2.15.3",
13
- "tslib": "^2.3.1",
14
- "uuid": "^8.3.2"
15
- }
16
- }</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,l,f,s,u,d,c={755:(e,t,r)=>{Promise.all([r.e(713),r.e(147),r.e(951),r.e(771)]).then(r.bind(r,771))}},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,l=0;l<r.length;l++)(!1&a||o>=a)&&Object.keys(h.O).every((e=>h.O[e](r[l])))?r.splice(l--,1):(i=!1,a<o&&(o=a));if(i){e.splice(s--,1);var f=n();void 0!==f&&(t=f)}}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"}[e]||e)+"."+e+"."+{127:"cb5f92dbc8ab4bb7086c",147:"156474714e07fc7139b8",191:"c269f7289e58bf7b411d",415:"4b5fb555089ec8cfcefc",495:"2c16bdeb453f0b5cd310",623:"110a7cfaa949a6ed5af4",713:"aa55449b0ad5bbaff3d7",771:"1d3a6b8f94d8af130611",917:"5aff2a6e3f1091d69647",951:"e2789a1f6cfc5a9bbafa",969:"4469fc6efc6386f330d3"}[e]+".js"),h.miniCssF=e=>{},h.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},r="@genesislcap/foundation-utils:",h.l=(e,n,a,o)=>{if(t[e])t[e].push(n);else{var i,l;if(void 0!==a)for(var f=document.getElementsByTagName("script"),s=0;s<f.length;s++){var u=f[s];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+a){i=u;break}}i||(l=!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),l&&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-utils",l=(e,t,r,n)=>{var a=o[e]=o[e]||{},l=a[t];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[t]={get:r,from:i,eager:!!n})},f=[];if("default"===r)l("@microsoft/fast-components","2.30.6",(()=>Promise.all([h.e(127),h.e(147),h.e(951),h.e(917)]).then((()=>()=>h(521))))),l("@microsoft/fast-element","1.11.0",(()=>h.e(127).then((()=>()=>h(903))))),l("@microsoft/fast-foundation","2.47.0",(()=>Promise.all([h.e(127),h.e(147),h.e(495),h.e(415)]).then((()=>()=>h(674))))),l("consola","2.15.3",(()=>h.e(713).then((()=>()=>h(708))))),l("tslib","1.14.1",(()=>h.e(127).then((()=>()=>h(160))))),l("tslib","1.14.1",(()=>h.e(127).then((()=>()=>h(726))))),l("tslib","2.5.0",(()=>h.e(191).then((()=>()=>h(191))))),l("uuid","8.3.2",(()=>h.e(969).then((()=>()=>h(969)))));return f.length?e[r]=Promise.all(f).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],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"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,l=1,f=!0;;l++,i++){var s,u,d=l<e.length?(typeof e[l])[0]:"";if(i>=t.length||"o"==(u=(typeof(s=t[i]))[0]))return!f||("u"==d?l>r&&!a:""==d!=a);if("u"==u){if(!f||"u"!=d)return!1}else if(f)if(d==u)if(l<=r){if(s!=e[l])return!1}else{if(a?s>e[l]:s<e[l])return!1;s!=e[l]&&(f=!1)}else if("s"!=d&&"n"!=d){if(a||l<=r)return!1;f=!1,l--}else{if(l<=r||u<d!=a)return!1;f=!1}else"s"!=d&&"n"!=d&&(f=!1,l--)}}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]},l=e=>(e.loaded=1,e.get()),f=(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?l(o):a()})),s={},u={147:()=>f("default","@microsoft/fast-element",[1,1,7,0],(()=>h.e(127).then((()=>()=>h(903))))),951:()=>f("default","@microsoft/fast-foundation",[1,2,33,2],(()=>Promise.all([h.e(127),h.e(495),h.e(623)]).then((()=>()=>h(674))))),304:()=>f("default","tslib",[1,2,3,1],(()=>h.e(191).then((()=>()=>h(191))))),375:()=>f("default","uuid",[1,8,3,2],(()=>h.e(969).then((()=>()=>h(969))))),896:()=>f("default","@microsoft/fast-components",[1,2,21,3],(()=>Promise.all([h.e(127),h.e(917)]).then((()=>()=>h(521))))),939:()=>f("default","consola",[1,2,15,3],(()=>h.e(713).then((()=>()=>h(708))))),917:()=>f("default","tslib",[1,2,3,1],(()=>h.e(127).then((()=>()=>h(160))))),495:()=>f("default","tslib",[1,2,3,1],(()=>h.e(127).then((()=>()=>h(726)))))},d={147:[147],495:[495],771:[304,375,896,939],917:[917],951:[951]},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,907: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(/^(9(07|17|51)|147|495)$/.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,l]=r,f=0;for(n in i)h.o(i,n)&&(h.m[n]=i[n]);if(l)var s=l(h);for(t&&t(r);f<o.length;f++)a=o[f],h.o(e,a)&&e[a]&&e[a][0](),e[o[f]]=0;return h.O(s)},r=self.webpackChunk_genesislcap_foundation_utils=self.webpackChunk_genesislcap_foundation_utils||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var b=h.O(void 0,[907],(()=>h(755)));b=h.O(b)})();
2
- //# sourceMappingURL=main.ec5161040143d5cd365675931c2e06c7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://@genesislcap/foundation-utils/webpack/runtime/chunk loaded","webpack://@genesislcap/foundation-utils/webpack/runtime/load script","webpack://@genesislcap/foundation-utils/webpack/runtime/consumes","webpack://@genesislcap/foundation-utils/./src/index.federated.ts","webpack://@genesislcap/foundation-utils/webpack/bootstrap","webpack://@genesislcap/foundation-utils/webpack/runtime/define property getters","webpack://@genesislcap/foundation-utils/webpack/runtime/ensure chunk","webpack://@genesislcap/foundation-utils/webpack/runtime/get javascript chunk filename","webpack://@genesislcap/foundation-utils/webpack/runtime/get mini-css chunk filename","webpack://@genesislcap/foundation-utils/webpack/runtime/hasOwnProperty shorthand","webpack://@genesislcap/foundation-utils/webpack/runtime/make namespace object","webpack://@genesislcap/foundation-utils/webpack/runtime/sharing","webpack://@genesislcap/foundation-utils/webpack/runtime/publicPath","webpack://@genesislcap/foundation-utils/webpack/runtime/jsonp chunk loading","webpack://@genesislcap/foundation-utils/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","chunkLoadingGlobal","self","__webpack_exports__"],"mappings":"UAAIA,ECAAC,EACAC,ECDAC,EAIAC,EAQAC,EAmCAC,EAuBAC,EAyCAC,EAQAC,EACAC,EAWAC,E,iBCnIJ,sE,GCCIC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAIPE,GAAQ,EACZ,IACCC,EAAoBN,GAAUO,KAAKH,EAAOD,QAASC,EAAQA,EAAOD,QAASJ,GAC3EM,GAAQ,CACT,CAAE,QACEA,UAAcP,EAAyBE,EAC3C,CAGA,OAAOI,EAAOD,OACf,CAGAJ,EAAoBS,EAAIF,EAGxBP,EAAoBU,EAAIX,EJlCpBZ,EAAW,GACfa,EAAoBW,EAAI,CAACC,EAAQC,EAAUC,EAAIC,KAC9C,IAAGF,EAAH,CAMA,IAAIG,EAAeC,IACnB,IAASC,EAAI,EAAGA,EAAI/B,EAASgC,OAAQD,IAAK,CAGzC,IAFA,IAAKL,EAAUC,EAAIC,GAAY5B,EAAS+B,GACpCE,GAAY,EACPC,EAAI,EAAGA,EA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AKmE,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-utils:\";\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__(903))))))),\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__(674))))))),\n\t304: () => (loadStrictVersionCheckFallback(\"default\", \"tslib\", [1,2,3,1], () => (__webpack_require__.e(191).then(() => (() => (__webpack_require__(191))))))),\n\t375: () => (loadStrictVersionCheckFallback(\"default\", \"uuid\", [1,8,3,2], () => (__webpack_require__.e(969).then(() => (() => (__webpack_require__(969))))))),\n\t896: () => (loadStrictVersionCheckFallback(\"default\", \"@microsoft/fast-components\", [1,2,21,3], () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(917)]).then(() => (() => (__webpack_require__(521))))))),\n\t939: () => (loadStrictVersionCheckFallback(\"default\", \"consola\", [1,2,15,3], () => (__webpack_require__.e(713).then(() => (() => (__webpack_require__(708))))))),\n\t917: () => (loadStrictVersionCheckFallback(\"default\", \"tslib\", [1,2,3,1], () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(160))))))),\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\"771\": [\n\t\t304,\n\t\t375,\n\t\t896,\n\t\t939\n\t],\n\t\"917\": [\n\t\t917\n\t],\n\t\"951\": [\n\t\t951\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\"}[chunkId] || chunkId) + \".\" + chunkId + \".\" + {\"127\":\"cb5f92dbc8ab4bb7086c\",\"147\":\"156474714e07fc7139b8\",\"191\":\"c269f7289e58bf7b411d\",\"415\":\"4b5fb555089ec8cfcefc\",\"495\":\"2c16bdeb453f0b5cd310\",\"623\":\"110a7cfaa949a6ed5af4\",\"713\":\"aa55449b0ad5bbaff3d7\",\"771\":\"1d3a6b8f94d8af130611\",\"917\":\"5aff2a6e3f1091d69647\",\"951\":\"e2789a1f6cfc5a9bbafa\",\"969\":\"4469fc6efc6386f330d3\"}[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-utils\";\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(\"@microsoft/fast-components\", \"2.30.6\", () => (Promise.all([__webpack_require__.e(127), __webpack_require__.e(147), __webpack_require__.e(951), __webpack_require__.e(917)]).then(() => (() => (__webpack_require__(521))))));\n\t\t\tregister(\"@microsoft/fast-element\", \"1.11.0\", () => (__webpack_require__.e(127).then(() => (() => (__webpack_require__(903))))));\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__(674))))));\n\t\t\tregister(\"consola\", \"2.15.3\", () => (__webpack_require__.e(713).then(() => (() => (__webpack_require__(708))))));\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\tregister(\"uuid\", \"8.3.2\", () => (__webpack_require__.e(969).then(() => (() => (__webpack_require__(969))))));\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\t907: 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(!/^(9(07|17|51)|147|495)$/.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_utils\"] = self[\"webpackChunk_genesislcap_foundation_utils\"] || [];\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, [907], () => (__webpack_require__(755)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self.webpackChunk_genesislcap_foundation_utils=self.webpackChunk_genesislcap_foundation_utils||[]).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 u={};u[u.Fatal=0]="Fatal",u[u.Error=0]="Error",u[u.Warn=1]="Warn",u[u.Log=2]="Log",u[u.Info=3]="Info",u[u.Success=3]="Success",u[u.Debug=4]="Debug",u[u.Trace=5]="Trace",u[u.Silent=-1/0]="Silent",u[u.Verbose=1/0]="Verbose";var h={silent:{level:-1},fatal:{level:u.Fatal},error:{level:u.Error},warn:{level:u.Warn},log:{level:u.Log},info:{level:u.Info},success:{level:u.Success},debug:{level:u.Debug},trace:{level:u.Trace},verbose:{level:u.Trace},ready:{level:u.Info},start:{level:u.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||h,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]),u=this._lastLogSerialized===c;if(this._lastLogSerialized=c,u&&(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=u,f.BrowserReporter=y,f)}()},100:(t,e,r)=>{"use strict";r.d(e,{Z:()=>h});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 u{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 h="undefined"!=typeof window&&window.consola||function(){const t=new c({reporters:[new u]});return t.Consola=c,t.LogLevel=o,t.BrowserReporter=u,t}()}}]);
2
- //# sourceMappingURL=npm.consola.d5540a4a6823a1a5324fd042a1cde286.js.map