@micro-lc/preview 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Unreleased
2
2
 
3
+ ## [0.7.4] - 2024-10-08
4
+
5
+ ### Changed
6
+
7
+ - Value of `ctrl-space` message is used for preview mode
8
+
3
9
  ## [0.7.3] - 2024-07-23
4
10
 
5
11
  ### Versioning
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micro-lc/preview",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "module": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -11,7 +11,7 @@
11
11
  "dynamicImports": [
12
12
  "../../node_modules/@micro-lc/composer/dist/lib/logger/errors.js"
13
13
  ],
14
- "file": "assets/index-bbSGSfTl.js",
14
+ "file": "assets/index-UUnaDy2L.js",
15
15
  "isEntry": true,
16
16
  "src": "index.html"
17
17
  }
@@ -75,7 +75,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
75
75
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:o,tableCell:c,tableRow:l}};function o(h,v,y,M){return s(u(h,y,M),h.align)}function l(h,v,y,M){const m=f(h,y,M),g=s([m]);return g.slice(0,g.indexOf(`
76
76
  `))}function c(h,v,y,M){const m=y.enter("tableCell"),g=y.enter("phrasing"),_=y.containerPhrasing(h,{...M,before:i,after:i});return g(),m(),_}function s(h,v){return HMe(h,{align:v,alignDelimiters:r,padding:n,stringLength:a})}function u(h,v,y){const M=h.children;let m=-1;const g=[],_=v.enter("table");for(;++m<M.length;)g[m]=f(M[m],v,y);return _(),g}function f(h,v,y){const M=h.children;let m=-1;const g=[],_=v.enter("tableRow");for(;++m<M.length;)g[m]=c(M[m],h,v,y);return _(),g}function d(h,v,y){let M=SA.inlineCode(h,v,y);return y.stack.includes("tableCell")&&(M=M.replace(/\|/g,"\\$&")),M}}function Oze(){return{exit:{taskListCheckValueChecked:gg,taskListCheckValueUnchecked:gg,paragraph:zze}}}function Mze(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:xze}}}function gg(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function zze(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const a=t.children;let i=-1,o;for(;++i<a.length;){const l=a[i];if(l.type==="paragraph"){o=l;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function xze(e,t,n,r){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);i&&l.move(o);let c=SA.listItem(e,t,n,{...r,...l.current()});return i&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,s)),c;function s(u){return u+o}}function Sze(){return[rMe(),vMe(),EMe(),vze(),Oze()]}function Cze(e){return{extensions:[aMe(),mMe(),PMe(),wze(e),Mze()]}}const kze={tokenize:Hze,partial:!0},CA={tokenize:Vze,partial:!0},kA={tokenize:jze,partial:!0},EA={tokenize:Aze,partial:!0},Eze={tokenize:Fze,partial:!0},PA={tokenize:$ze,previous:$A},TA={tokenize:Lze,previous:LA},j1={tokenize:Tze,previous:HA},s1={};function Pze(){return{text:s1}}let Pa=48;for(;Pa<123;)s1[Pa]=j1,Pa++,Pa===58?Pa=65:Pa===91&&(Pa=97);s1[43]=j1;s1[45]=j1;s1[46]=j1;s1[95]=j1;s1[72]=[j1,TA];s1[104]=[j1,TA];s1[87]=[j1,PA];s1[119]=[j1,PA];function Tze(e,t,n){const r=this;let a,i;return o;function o(f){return!_f(f)||!HA.call(r,r.previous)||q9(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(f))}function l(f){return _f(f)?(e.consume(f),l):f===64?(e.consume(f),c):n(f)}function c(f){return f===46?e.check(Eze,u,s)(f):f===45||f===95||Cn(f)?(i=!0,e.consume(f),c):u(f)}function s(f){return e.consume(f),a=!0,c}function u(f){return i&&a&&Vn(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function $ze(e,t,n){const r=this;return a;function a(o){return o!==87&&o!==119||!$A.call(r,r.previous)||q9(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(kze,e.attempt(CA,e.attempt(kA,i),n),n)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function Lze(e,t,n){const r=this;let a="",i=!1;return o;function o(f){return(f===72||f===104)&&LA.call(r,r.previous)&&!q9(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(f),e.consume(f),l):n(f)}function l(f){if(Vn(f)&&a.length<5)return a+=String.fromCodePoint(f),e.consume(f),l;if(f===58){const d=a.toLowerCase();if(d==="http"||d==="https")return e.consume(f),c}return n(f)}function c(f){return f===47?(e.consume(f),i?s:(i=!0,c)):n(f)}function s(f){return f===null||Uc(f)||bt(f)||ii(f)||t8(f)?n(f):e.attempt(CA,e.attempt(kA,u),n)(f)}function u(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function Hze(e,t,n){let r=0;return a;function a(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),a):o===46&&r===3?(e.consume(o),i):n(o)}function i(o){return o===null?n(o):t(o)}}function Vze(e,t,n){let r,a,i;return o;function o(s){return s===46||s===95?e.check(EA,c,l)(s):s===null||bt(s)||ii(s)||s!==45&&t8(s)?c(s):(i=!0,e.consume(s),o)}function l(s){return s===95?r=!0:(a=r,r=void 0),e.consume(s),o}function c(s){return a||r||!i?n(s):t(s)}}function jze(e,t){let n=0,r=0;return a;function a(o){return o===40?(n++,e.consume(o),a):o===41&&r<n?i(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(EA,t,i)(o):o===null||bt(o)||ii(o)?t(o):(e.consume(o),a)}function i(o){return o===41&&r++,e.consume(o),a}}function Aze(e,t,n){return r;function r(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),r):l===38?(e.consume(l),i):l===93?(e.consume(l),a):l===60||l===null||bt(l)||ii(l)?t(l):n(l)}function a(l){return l===null||l===40||l===91||bt(l)||ii(l)?t(l):r(l)}function i(l){return Vn(l)?o(l):n(l)}function o(l){return l===59?(e.consume(l),r):Vn(l)?(e.consume(l),o):n(l)}}function Fze(e,t,n){return r;function r(i){return e.consume(i),a}function a(i){return Cn(i)?n(i):t(i)}}function $A(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||bt(e)}function LA(e){return!Vn(e)}function HA(e){return!(e===47||_f(e))}function _f(e){return e===43||e===45||e===46||e===95||Cn(e)}function q9(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const Ize={tokenize:Kze,partial:!0};function Bze(){return{document:{91:{tokenize:Wze,continuation:{tokenize:Uze},exit:qze}},text:{91:{tokenize:Nze},93:{add:"after",tokenize:Rze,resolveTo:Dze}}}}function Rze(e,t,n){const r=this;let a=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;a--;){const c=r.events[a][1];if(c.type==="labelImage"){o=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return l;function l(c){if(!o||!o._balanced)return n(c);const s=Dr(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!i.includes(s.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function Dze(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function Nze(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,o;return l;function l(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),c}function c(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(f){if(i>999||f===93&&!o||f===null||f===91||bt(f))return n(f);if(f===93){e.exit("chunkString");const d=e.exit("gfmFootnoteCallString");return a.includes(Dr(r.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return bt(f)||(o=!0),i++,e.consume(f),f===92?u:s}function u(f){return f===91||f===92||f===93?(e.consume(f),i++,s):s(f)}}function Wze(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0,l;return c;function c(v){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),s}function s(v){return v===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(v)}function u(v){if(o>999||v===93&&!l||v===null||v===91||bt(v))return n(v);if(v===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=Dr(r.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return bt(v)||(l=!0),o++,e.consume(v),v===92?f:u}function f(v){return v===91||v===92||v===93?(e.consume(v),o++,u):u(v)}function d(v){return v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),a.includes(i)||a.push(i),ct(e,h,"gfmFootnoteDefinitionWhitespace")):n(v)}function h(v){return t(v)}}function Uze(e,t,n){return e.check(V4,t,e.attempt(Ize,t,n))}function qze(e){e.exit("gfmFootnoteDefinition")}function Kze(e,t,n){const r=this;return ct(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(i):n(i)}}function Gze(e){let n=(e||{}).singleTilde;const r={tokenize:i,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(o,l){let c=-1;for(;++c<o.length;)if(o[c][0]==="enter"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._close){let s=c;for(;s--;)if(o[s][0]==="exit"&&o[s][1].type==="strikethroughSequenceTemporary"&&o[s][1]._open&&o[c][1].end.offset-o[c][1].start.offset===o[s][1].end.offset-o[s][1].start.offset){o[c][1].type="strikethroughSequence",o[s][1].type="strikethroughSequence";const u={type:"strikethrough",start:Object.assign({},o[s][1].start),end:Object.assign({},o[c][1].end)},f={type:"strikethroughText",start:Object.assign({},o[s][1].end),end:Object.assign({},o[c][1].start)},d=[["enter",u,l],["enter",o[s][1],l],["exit",o[s][1],l],["enter",f,l]],h=l.parser.constructs.insideSpan.null;h&&Sr(d,d.length,0,n8(h,o.slice(s+1,c),l)),Sr(d,d.length,0,[["exit",f,l],["enter",o[c][1],l],["exit",o[c][1],l],["exit",u,l]]),Sr(o,s-1,c-s+3,d),c=s+d.length-2;break}}for(c=-1;++c<o.length;)o[c][1].type==="strikethroughSequenceTemporary"&&(o[c][1].type="data");return o}function i(o,l,c){const s=this.previous,u=this.events;let f=0;return d;function d(v){return s===126&&u[u.length-1][1].type!=="characterEscape"?c(v):(o.enter("strikethroughSequenceTemporary"),h(v))}function h(v){const y=qc(s);if(v===126)return f>1?c(v):(o.consume(v),f++,h);if(f<2&&!n)return c(v);const M=o.exit("strikethroughSequenceTemporary"),m=qc(v);return M._open=!m||m===2&&!!y,M._close=!y||y===2&&!!m,l(v)}}}class Yze{constructor(){this.map=[]}add(t,n,r){Qze(this,t,n,r)}consume(t){if(this.map.sort(function(i,o){return i[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let a=r.pop();for(;a;)t.push(...a),a=r.pop();this.map.length=0}}function Qze(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function Xze(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Zze(){return{flow:{null:{tokenize:Jze,resolveAll:exe}}}}function Jze(e,t,n){const r=this;let a=0,i=0,o;return l;function l(O){let A=r.events.length-1;for(;A>-1;){const ce=r.events[A][1].type;if(ce==="lineEnding"||ce==="linePrefix")A--;else break}const G=A>-1?r.events[A][1].type:null,W=G==="tableHead"||G==="tableRow"?z:c;return W===z&&r.parser.lazy[r.now().line]?n(O):W(O)}function c(O){return e.enter("tableHead"),e.enter("tableRow"),s(O)}function s(O){return O===124||(o=!0,i+=1),u(O)}function u(O){return O===null?n(O):Ie(O)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),h):n(O):tt(O)?ct(e,u,"whitespace")(O):(i+=1,o&&(o=!1,a+=1),O===124?(e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),o=!0,u):(e.enter("data"),f(O)))}function f(O){return O===null||O===124||bt(O)?(e.exit("data"),u(O)):(e.consume(O),O===92?d:f)}function d(O){return O===92||O===124?(e.consume(O),f):f(O)}function h(O){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(O):(e.enter("tableDelimiterRow"),o=!1,tt(O)?ct(e,v,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):v(O))}function v(O){return O===45||O===58?M(O):O===124?(o=!0,e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),y):C(O)}function y(O){return tt(O)?ct(e,M,"whitespace")(O):M(O)}function M(O){return O===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(O),e.exit("tableDelimiterMarker"),m):O===45?(i+=1,m(O)):O===null||Ie(O)?p(O):C(O)}function m(O){return O===45?(e.enter("tableDelimiterFiller"),g(O)):C(O)}function g(O){return O===45?(e.consume(O),g):O===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(O),e.exit("tableDelimiterMarker"),_):(e.exit("tableDelimiterFiller"),_(O))}function _(O){return tt(O)?ct(e,p,"whitespace")(O):p(O)}function p(O){return O===124?v(O):O===null||Ie(O)?!o||a!==i?C(O):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(O)):C(O)}function C(O){return n(O)}function z(O){return e.enter("tableRow"),H(O)}function H(O){return O===124?(e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),H):O===null||Ie(O)?(e.exit("tableRow"),t(O)):tt(O)?ct(e,H,"whitespace")(O):(e.enter("data"),F(O))}function F(O){return O===null||O===124||bt(O)?(e.exit("data"),H(O)):(e.consume(O),O===92?L:F)}function L(O){return O===92||O===124?(e.consume(O),F):F(O)}}function exe(e,t){let n=-1,r=!0,a=0,i=[0,0,0,0],o=[0,0,0,0],l=!1,c=0,s,u,f;const d=new Yze;for(;++n<e.length;){const h=e[n],v=h[1];h[0]==="enter"?v.type==="tableHead"?(l=!1,c!==0&&(yg(d,t,c,s,u),u=void 0,c=0),s={type:"table",start:Object.assign({},v.start),end:Object.assign({},v.end)},d.add(n,0,[["enter",s,t]])):v.type==="tableRow"||v.type==="tableDelimiterRow"?(r=!0,f=void 0,i=[0,0,0,0],o=[0,n+1,0,0],l&&(l=!1,u={type:"tableBody",start:Object.assign({},v.start),end:Object.assign({},v.end)},d.add(n,0,[["enter",u,t]])),a=v.type==="tableDelimiterRow"?2:u?3:1):a&&(v.type==="data"||v.type==="tableDelimiterMarker"||v.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],f=L2(d,t,i,a,void 0,f),i=[0,0,0,0]),o[2]=n)):v.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(o[0]=o[1],f=L2(d,t,i,a,void 0,f)),i=o,o=[i[1],n,0,0])):v.type==="tableHead"?(l=!0,c=n):v.type==="tableRow"||v.type==="tableDelimiterRow"?(c=n,i[1]!==0?(o[0]=o[1],f=L2(d,t,i,a,n,f)):o[1]!==0&&(f=L2(d,t,o,a,n,f)),a=0):a&&(v.type==="data"||v.type==="tableDelimiterMarker"||v.type==="tableDelimiterFiller")&&(o[3]=n)}for(c!==0&&yg(d,t,c,s,u),d.consume(t.events),n=-1;++n<t.events.length;){const h=t.events[n];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=Xze(t.events,n))}return e}function L2(e,t,n,r,a,i){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(i.end=Object.assign({},ki(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const c=ki(t.events,n[1]);if(i={type:o,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const s=ki(t.events,n[2]),u=ki(t.events,n[3]),f={type:l,start:Object.assign({},s),end:Object.assign({},u)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const d=t.events[n[2]],h=t.events[n[3]];if(d[1].end=Object.assign({},h[1].end),d[1].type="chunkText",d[1].contentType="text",n[3]>n[2]+1){const v=n[2]+1,y=n[3]-n[2]-1;e.add(v,y,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return a!==void 0&&(i.end=Object.assign({},ki(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function yg(e,t,n,r,a){const i=[],o=ki(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function ki(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const txe={tokenize:rxe};function nxe(){return{text:{91:txe}}}function rxe(e,t,n){const r=this;return a;function a(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),i)}function i(c){return bt(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),o):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),o):n(c)}function o(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(c)}function l(c){return Ie(c)?t(c):tt(c)?e.check({tokenize:axe},t,n)(c):n(c)}}function axe(e,t,n){return ct(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function ixe(e){return Uj([Pze(),Bze(),Gze(e),Zze(),nxe()])}const oxe={};function bg(e){const t=this,n=e||oxe,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(ixe(n)),i.push(Sze()),o.push(Cze(n))}const lxe=e=>b.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("path",{d:"M13.9999 8.00047C13.9999 8.13308 13.9472 8.26025 13.8534 8.35402C13.7597 8.44779 13.6325 8.50047 13.4999 8.50047H3.70613L7.35613 12.1442C7.45002 12.239 7.5027 12.367 7.5027 12.5005C7.5027 12.6339 7.45002 12.7619 7.35613 12.8567C7.26056 12.9491 7.13282 13.0008 6.99988 13.0008C6.86694 13.0008 6.7392 12.9491 6.64363 12.8567L2.14363 8.35672C2.04974 8.26192 1.99707 8.13389 1.99707 8.00047C1.99707 7.86705 2.04974 7.73902 2.14363 7.64422L6.64363 3.14422C6.74078 3.06449 6.86411 3.02374 6.98964 3.02991C7.11516 3.03607 7.23391 3.08871 7.32278 3.17757C7.41164 3.26644 7.46428 3.38519 7.47045 3.51071C7.47661 3.63624 7.43586 3.75957 7.35613 3.85672L3.70613 7.50047H13.4999C13.6325 7.50047 13.7597 7.55315 13.8534 7.64692C13.9472 7.74068 13.9999 7.86786 13.9999 8.00047Z",fill:"#636363"})),cxe=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"#000000",viewBox:"0 0 256 256",...e},b.createElement("path",{d:"M93.31,70,28,128l65.27,58a8,8,0,1,1-10.62,12l-72-64a8,8,0,0,1,0-12l72-64A8,8,0,1,1,93.31,70Zm152,52-72-64a8,8,0,0,0-10.62,12L228,128l-65.27,58a8,8,0,1,0,10.62,12l72-64a8,8,0,0,0,0-12Z",fill:"#666666"})),_g=e=>b.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("path",{d:"M12.8538 12.1465C12.9002 12.193 12.9371 12.2481 12.9622 12.3088C12.9874 12.3695 13.0003 12.4346 13.0003 12.5003C13.0003 12.566 12.9874 12.631 12.9622 12.6917C12.9371 12.7524 12.9002 12.8076 12.8538 12.854C12.8073 12.9005 12.7522 12.9373 12.6915 12.9625C12.6308 12.9876 12.5657 13.0006 12.5 13.0006C12.4343 13.0006 12.3693 12.9876 12.3086 12.9625C12.2479 12.9373 12.1927 12.9005 12.1463 12.854L8.00003 8.70715L3.85378 12.854C3.75996 12.9478 3.63272 13.0006 3.50003 13.0006C3.36735 13.0006 3.2401 12.9478 3.14628 12.854C3.05246 12.7602 2.99976 12.633 2.99976 12.5003C2.99976 12.3676 3.05246 12.2403 3.14628 12.1465L7.29316 8.00028L3.14628 3.85403C3.05246 3.76021 2.99976 3.63296 2.99976 3.50028C2.99976 3.3676 3.05246 3.24035 3.14628 3.14653C3.2401 3.05271 3.36735 3 3.50003 3C3.63272 3 3.75996 3.05271 3.85378 3.14653L8.00003 7.2934L12.1463 3.14653C12.2401 3.05271 12.3674 3 12.5 3C12.6327 3 12.76 3.05271 12.8538 3.14653C12.9476 3.24035 13.0003 3.3676 13.0003 3.50028C13.0003 3.63296 12.9476 3.76021 12.8538 3.85403L8.70691 8.00028L12.8538 12.1465Z",fill:"#636363"})),sxe=e=>b.createElement("svg",{width:64,height:64,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("path",{d:"M21.725 18.4555C21.3367 18.0673 21.0287 17.6064 20.8185 17.0992C20.6083 16.592 20.5002 16.0483 20.5002 15.4992C20.5002 14.9502 20.6083 14.4065 20.8185 13.8993C21.0287 13.392 21.3367 12.9312 21.725 12.543L29.0425 5.22298C29.8275 4.43982 30.8911 4 32 4C33.1089 4 34.1725 4.43982 34.9575 5.22298L42.275 12.543C42.6633 12.9312 42.9713 13.392 43.1815 13.8993C43.3917 14.4065 43.4998 14.9502 43.4998 15.4992C43.4998 16.0483 43.3917 16.592 43.1815 17.0992C42.9713 17.6064 42.6633 18.0673 42.275 18.4555L34.9575 25.7755C34.1725 26.5586 33.1089 26.9985 32 26.9985C30.8911 26.9985 29.8275 26.5586 29.0425 25.7755L21.725 18.4555ZM58.7775 29.043L51.4575 21.723C50.6729 20.94 49.6097 20.5002 48.5012 20.5002C47.3928 20.5002 46.3296 20.94 45.545 21.723L38.225 29.043C37.4418 29.828 37.002 30.8916 37.002 32.0005C37.002 33.1094 37.4418 34.173 38.225 34.958L45.545 42.278C46.3296 43.061 47.3928 43.5008 48.5012 43.5008C49.6097 43.5008 50.6729 43.061 51.4575 42.278L58.7775 34.958C59.5607 34.173 60.0005 33.1094 60.0005 32.0005C60.0005 30.8916 59.5607 29.828 58.7775 29.043ZM25.7775 29.043L18.455 21.723C17.6704 20.94 16.6072 20.5002 15.4987 20.5002C14.3903 20.5002 13.3271 20.94 12.5425 21.723L5.2225 29.043C4.43933 29.828 3.99951 30.8916 3.99951 32.0005C3.99951 33.1094 4.43933 34.173 5.2225 34.958L12.5425 42.278C13.3271 43.061 14.3903 43.5008 15.4987 43.5008C16.6072 43.5008 17.6704 43.061 18.455 42.278L25.775 34.958C26.5582 34.173 26.998 33.1094 26.998 32.0005C26.998 30.8916 26.5582 29.828 25.775 29.043H25.7775ZM34.96 38.2255C34.175 37.4423 33.1114 37.0025 32.0025 37.0025C30.8936 37.0025 29.83 37.4423 29.045 38.2255L21.725 45.5455C21.3367 45.9337 21.0287 46.3945 20.8185 46.9018C20.6083 47.409 20.5002 47.9527 20.5002 48.5017C20.5002 49.0508 20.6083 49.5945 20.8185 50.1017C21.0287 50.6089 21.3367 51.0698 21.725 51.458L29.0425 58.778C29.8275 59.5611 30.8911 60.001 32 60.001C33.1089 60.001 34.1725 59.5611 34.9575 58.778L42.275 51.458C42.6633 51.0698 42.9713 50.6089 43.1815 50.1017C43.3917 49.5945 43.4998 49.0508 43.4998 48.5017C43.4998 47.9527 43.3917 47.409 43.1815 46.9018C42.9713 46.3945 42.6633 45.9337 42.275 45.5455L34.96 38.2255Z",fill:"#ACACAC"})),uxe=e=>b.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("path",{d:"M13 2H3C2.73478 2 2.48043 2.10536 2.29289 2.29289C2.10536 2.48043 2 2.73478 2 3V13C2 13.2652 2.10536 13.5196 2.29289 13.7071C2.48043 13.8946 2.73478 14 3 14H13C13.2652 14 13.5196 13.8946 13.7071 13.7071C13.8946 13.5196 14 13.2652 14 13V3C14 2.73478 13.8946 2.48043 13.7071 2.29289C13.5196 2.10536 13.2652 2 13 2ZM13 13H3V3H13V13ZM11 8C11 8.13261 10.9473 8.25979 10.8536 8.35355C10.7598 8.44732 10.6326 8.5 10.5 8.5H5.5C5.36739 8.5 5.24021 8.44732 5.14645 8.35355C5.05268 8.25979 5 8.13261 5 8C5 7.86739 5.05268 7.74021 5.14645 7.64645C5.24021 7.55268 5.36739 7.5 5.5 7.5H10.5C10.6326 7.5 10.7598 7.55268 10.8536 7.64645C10.9473 7.74021 11 7.86739 11 8Z",fill:"#636363"})),fxe=e=>b.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("path",{d:"M12.6667 1.5H3.33333C2.32081 1.5 1.5 2.32081 1.5 3.33333V12.6667C1.5 13.6792 2.32081 14.5 3.33333 14.5H12.6667C13.6792 14.5 14.5 13.6792 14.5 12.6667V3.33333C14.5 2.32081 13.6792 1.5 12.6667 1.5ZM3.33333 2.5H12.6667C13.1269 2.5 13.5 2.8731 13.5 3.33333V12.6667C13.5 13.1269 13.1269 13.5 12.6667 13.5H3.33333C2.8731 13.5 2.5 13.1269 2.5 12.6667V3.33333C2.5 2.8731 2.8731 2.5 3.33333 2.5Z",fill:"#636363"}),b.createElement("path",{d:"M8 4.83331C8.25313 4.83331 8.46233 5.02142 8.49544 5.26547L8.5 5.33331V10.6666C8.5 10.9428 8.27614 11.1666 8 11.1666C7.74687 11.1666 7.53767 10.9785 7.50456 10.7345L7.5 10.6666V5.33331C7.5 5.05717 7.72386 4.83331 8 4.83331Z",fill:"#636363"}),b.createElement("path",{d:"M10.6663 7.5C10.9425 7.5 11.1663 7.72386 11.1663 8C11.1663 8.25313 10.9782 8.46233 10.7342 8.49544L10.6663 8.5H5.33301C5.05687 8.5 4.83301 8.27614 4.83301 8C4.83301 7.74687 5.02111 7.53767 5.26516 7.50456L5.33301 7.5H10.6663Z",fill:"#636363"})),dxe=e=>b.createElement("svg",{width:64,height:64,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("path",{d:"M56 16V18C56 18.5304 55.7893 19.0391 55.4142 19.4142C55.0391 19.7893 54.5304 20 54 20H10C9.46957 20 8.96086 19.7893 8.58579 19.4142C8.21071 19.0391 8 18.5304 8 18V16C8 15.4696 8.21071 14.9609 8.58579 14.5858C8.96086 14.2107 9.46957 14 10 14H54C54.5304 14 55.0391 14.2107 55.4142 14.5858C55.7893 14.9609 56 15.4696 56 16ZM48 30C48.5304 30 49.0391 29.7893 49.4142 29.4142C49.7893 29.0391 50 28.5304 50 28V26C50 25.4696 49.7893 24.9609 49.4142 24.5858C49.0391 24.2107 48.5304 24 48 24H16C15.4696 24 14.9609 24.2107 14.5858 24.5858C14.2107 24.9609 14 25.4696 14 26V28C14 28.5304 14.2107 29.0391 14.5858 29.4142C14.9609 29.7893 15.4696 30 16 30H48ZM54 34H10C9.46957 34 8.96086 34.2107 8.58579 34.5858C8.21071 34.9609 8 35.4696 8 36V38C8 38.5304 8.21071 39.0391 8.58579 39.4142C8.96086 39.7893 9.46957 40 10 40H54C54.5304 40 55.0391 39.7893 55.4142 39.4142C55.7893 39.0391 56 38.5304 56 38V36C56 35.4696 55.7893 34.9609 55.4142 34.5858C55.0391 34.2107 54.5304 34 54 34ZM48 44H16C15.4696 44 14.9609 44.2107 14.5858 44.5858C14.2107 44.9609 14 45.4696 14 46V48C14 48.5304 14.2107 49.0391 14.5858 49.4142C14.9609 49.7893 15.4696 50 16 50H48C48.5304 50 49.0391 49.7893 49.4142 49.4142C49.7893 49.0391 50 48.5304 50 48V46C50 45.4696 49.7893 44.9609 49.4142 44.5858C49.0391 44.2107 48.5304 44 48 44Z",fill:"#ACACAC"}));var hxe=(e=>typeof yi<"u"?yi:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof yi<"u"?yi:t)[n]}):e)(function(e){if(typeof yi<"u")return yi.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),wf=function(e,t){return wf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},wf(e,t)};function A1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wf(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function pxe(e,t,n,r){function a(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function l(u){try{s(r.next(u))}catch(f){o(f)}}function c(u){try{s(r.throw(u))}catch(f){o(f)}}function s(u){u.done?i(u.value):a(u.value).then(l,c)}s((r=r.apply(e,t||[])).next())})}function VA(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,o;return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(s){return function(u){return c([s,u])}}function c(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(n=0)),n;)try{if(r=1,a&&(i=s[0]&2?a.return:s[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;switch(a=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,a=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1],i=s;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(s);break}i[2]&&n.ops.pop(),n.trys.pop();continue}s=t.call(e,n)}catch(u){s=[6,u],a=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function mo(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qc(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)i.push(a.value)}catch(l){o={error:l}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i}function Xc(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,i;r<a;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function ro(e){return this instanceof ro?(this.v=e,this):new ro(e)}function vxe(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),a,i=[];return a={},l("next"),l("throw"),l("return",o),a[Symbol.asyncIterator]=function(){return this},a;function o(h){return function(v){return Promise.resolve(v).then(h,f)}}function l(h,v){r[h]&&(a[h]=function(y){return new Promise(function(M,m){i.push([h,y,M,m])>1||c(h,y)})},v&&(a[h]=v(a[h])))}function c(h,v){try{s(r[h](v))}catch(y){d(i[0][3],y)}}function s(h){h.value instanceof ro?Promise.resolve(h.value.v).then(u,f):d(i[0][2],h)}function u(h){c("next",h)}function f(h){c("throw",h)}function d(h,v){h(v),i.shift(),i.length&&c(i[0][0],i[0][1])}}function mxe(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof mo=="function"?mo(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(o){return new Promise(function(l,c){o=e[i](o),a(l,c,o.done,o.value)})}}function a(i,o,l,c){Promise.resolve(c).then(function(s){i({value:s,done:l})},o)}}function vn(e){return typeof e=="function"}function K9(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ls=K9(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
77
77
  `+n.map(function(r,a){return a+1+") "+r.toString()}).join(`
78
- `):"",this.name="UnsubscriptionError",this.errors=n}});function Zc(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var To=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,a,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var l=mo(o),c=l.next();!c.done;c=l.next()){var s=c.value;s.remove(this)}}catch(y){t={error:y}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}else o.remove(this);var u=this.initialTeardown;if(vn(u))try{u()}catch(y){i=y instanceof ls?y.errors:[y]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=mo(f),h=d.next();!h.done;h=d.next()){var v=h.value;try{wg(v)}catch(y){i=i??[],y instanceof ls?i=Xc(Xc([],Qc(i)),Qc(y.errors)):i.push(y)}}}catch(y){r={error:y}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(r)throw r.error}}}if(i)throw new ls(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)wg(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&Zc(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&Zc(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),jA=To.EMPTY;function AA(e){return e instanceof To||e&&"closed"in e&&vn(e.remove)&&vn(e.add)&&vn(e.unsubscribe)}function wg(e){vn(e)?e():e.unsubscribe()}var FA={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},gxe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,Xc([e,t],Qc(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function IA(e){gxe.setTimeout(function(){throw e})}function Og(){}function A3(e){e()}var G9=function(e){A1(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,AA(n)&&n.add(r)):r.destination=wxe,r}return t.create=function(n,r,a){return new Jc(n,r,a)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(To),yxe=Function.prototype.bind;function cs(e,t){return yxe.call(e,t)}var bxe=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){H2(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){H2(r)}else H2(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){H2(n)}},e}(),Jc=function(e){A1(t,e);function t(n,r,a){var i=e.call(this)||this,o;if(vn(n)||!n)o={next:n??void 0,error:r??void 0,complete:a??void 0};else{var l;i&&FA.useDeprecatedNextContext?(l=Object.create(n),l.unsubscribe=function(){return i.unsubscribe()},o={next:n.next&&cs(n.next,l),error:n.error&&cs(n.error,l),complete:n.complete&&cs(n.complete,l)}):o=n}return i.destination=new bxe(o),i}return t}(G9);function H2(e){IA(e)}function _xe(e){throw e}var wxe={closed:!0,next:Og,error:_xe,complete:Og},Y9=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Oxe(e){return e}function Mxe(e){return e.length===0?Oxe:e.length===1?e[0]:function(n){return e.reduce(function(r,a){return a(r)},n)}}var a1=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var a=this,i=xxe(t)?t:new Jc(t,n,r);return A3(function(){var o=a,l=o.operator,c=o.source;i.add(l?l.call(i,c):c?a._subscribe(i):a._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Mg(n),new n(function(a,i){var o=new Jc({next:function(l){try{t(l)}catch(c){i(c),o.unsubscribe()}},error:i,complete:a});r.subscribe(o)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[Y9]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Mxe(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Mg(t),new t(function(r,a){var i;n.subscribe(function(o){return i=o},function(o){return a(o)},function(){return r(i)})})},e.create=function(t){return new e(t)},e}();function Mg(e){var t;return(t=e??FA.Promise)!==null&&t!==void 0?t:Promise}function zxe(e){return e&&vn(e.next)&&vn(e.error)&&vn(e.complete)}function xxe(e){return e&&e instanceof G9||zxe(e)&&AA(e)}function Sxe(e){return vn(e==null?void 0:e.lift)}function Q9(e){return function(t){if(Sxe(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function X9(e,t,n,r,a){return new Cxe(e,t,n,r,a)}var Cxe=function(e){A1(t,e);function t(n,r,a,i,o,l){var c=e.call(this,n)||this;return c.onFinalize=o,c.shouldUnsubscribe=l,c._next=r?function(s){try{r(s)}catch(u){n.error(u)}}:e.prototype._next,c._error=i?function(s){try{i(s)}catch(u){n.error(u)}finally{this.unsubscribe()}}:e.prototype._error,c._complete=a?function(){try{a()}catch(s){n.error(s)}finally{this.unsubscribe()}}:e.prototype._complete,c}return t.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))}},t}(G9),kxe=K9(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Z9=function(e){A1(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new zg(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new kxe},t.prototype.next=function(n){var r=this;A3(function(){var a,i;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=mo(r.currentObservers),l=o.next();!l.done;l=o.next()){var c=l.value;c.next(n)}}catch(s){a={error:s}}finally{try{l&&!l.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}})},t.prototype.error=function(n){var r=this;A3(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var a=r.observers;a.length;)a.shift().error(n)}})},t.prototype.complete=function(){var n=this;A3(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,a=this,i=a.hasError,o=a.isStopped,l=a.observers;return i||o?jA:(this.currentObservers=null,l.push(n),new To(function(){r.currentObservers=null,Zc(l,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,a=r.hasError,i=r.thrownError,o=r.isStopped;a?n.error(i):o&&n.complete()},t.prototype.asObservable=function(){var n=new a1;return n.source=this,n},t.create=function(n,r){return new zg(n,r)},t}(a1),zg=function(e){A1(t,e);function t(n,r){var a=e.call(this)||this;return a.destination=n,a.source=r,a}return t.prototype.next=function(n){var r,a;(a=(r=this.destination)===null||r===void 0?void 0:r.next)===null||a===void 0||a.call(r,n)},t.prototype.error=function(n){var r,a;(a=(r=this.destination)===null||r===void 0?void 0:r.error)===null||a===void 0||a.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,a;return(a=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&a!==void 0?a:jA},t}(Z9),J9={now:function(){return(J9.delegate||Date).now()},delegate:void 0},Exe=function(e){A1(t,e);function t(n,r,a){n===void 0&&(n=1/0),r===void 0&&(r=1/0),a===void 0&&(a=J9);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=r,i._timestampProvider=a,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,r),i}return t.prototype.next=function(n){var r=this,a=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,l=r._timestampProvider,c=r._windowTime;a||(i.push(n),!o&&i.push(l.now()+c)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),a=this,i=a._infiniteTimeWindow,o=a._buffer,l=o.slice(),c=0;c<l.length&&!n.closed;c+=i?1:2)n.next(l[c]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,a=n._timestampProvider,i=n._buffer,o=n._infiniteTimeWindow,l=(o?1:2)*r;if(r<1/0&&l<i.length&&i.splice(0,i.length-l),!o){for(var c=a.now(),s=0,u=1;u<i.length&&i[u]<=c;u+=2)s=u;s&&i.splice(0,s+1)}},t}(Z9),Pxe=function(e){A1(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t}(To),xg={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setInterval.apply(void 0,Xc([e,t],Qc(n)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},Txe=function(e){A1(t,e);function t(n,r){var a=e.call(this,n,r)||this;return a.scheduler=n,a.work=r,a.pending=!1,a}return t.prototype.schedule=function(n,r){var a;if(r===void 0&&(r=0),this.closed)return this;this.state=n;var i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,r)),this.pending=!0,this.delay=r,this.id=(a=this.id)!==null&&a!==void 0?a:this.requestAsyncId(o,this.id,r),this},t.prototype.requestAsyncId=function(n,r,a){return a===void 0&&(a=0),xg.setInterval(n.flush.bind(n,this),a)},t.prototype.recycleAsyncId=function(n,r,a){if(a===void 0&&(a=0),a!=null&&this.delay===a&&this.pending===!1)return r;r!=null&&xg.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var a=this._execute(n,r);if(a)return a;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var a=!1,i;try{this.work(n)}catch(o){a=!0,i=o||new Error("Scheduled action threw falsy error")}if(a)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,a=n.scheduler,i=a.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Zc(i,this),r!=null&&(this.id=this.recycleAsyncId(a,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Pxe),Sg=function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)},e.now=J9.now,e}(),$xe=function(e){A1(t,e);function t(n,r){r===void 0&&(r=Sg.now);var a=e.call(this,n,r)||this;return a.actions=[],a._active=!1,a}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var a;this._active=!0;do if(a=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,a){for(;n=r.shift();)n.unsubscribe();throw a}},t}(Sg),BA=new $xe(Txe),Lxe=BA,Hxe=new a1(function(e){return e.complete()});function Vxe(e){return e&&vn(e.schedule)}var jxe=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Axe(e){return vn(e==null?void 0:e.then)}function Fxe(e){return vn(e[Y9])}function Ixe(e){return Symbol.asyncIterator&&vn(e==null?void 0:e[Symbol.asyncIterator])}function Bxe(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Rxe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Dxe=Rxe();function Nxe(e){return vn(e==null?void 0:e[Dxe])}function Wxe(e){return vxe(this,arguments,function(){var n,r,a,i;return VA(this,function(o){switch(o.label){case 0:n=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,ro(n.read())];case 3:return r=o.sent(),a=r.value,i=r.done,i?[4,ro(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,ro(a)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function Uxe(e){return vn(e==null?void 0:e.getReader)}function Cg(e){if(e instanceof a1)return e;if(e!=null){if(Fxe(e))return qxe(e);if(jxe(e))return Kxe(e);if(Axe(e))return Gxe(e);if(Ixe(e))return RA(e);if(Nxe(e))return Yxe(e);if(Uxe(e))return Qxe(e)}throw Bxe(e)}function qxe(e){return new a1(function(t){var n=e[Y9]();if(vn(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Kxe(e){return new a1(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Gxe(e){return new a1(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,IA)})}function Yxe(e){return new a1(function(t){var n,r;try{for(var a=mo(e),i=a.next();!i.done;i=a.next()){var o=i.value;if(t.next(o),t.closed)return}}catch(l){n={error:l}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}t.complete()})}function RA(e){return new a1(function(t){Xxe(e,t).catch(function(n){return t.error(n)})})}function Qxe(e){return RA(Wxe(e))}function Xxe(e,t){var n,r,a,i;return pxe(this,void 0,void 0,function(){var o,l;return VA(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),n=mxe(e),c.label=1;case 1:return[4,n.next()];case 2:if(r=c.sent(),!!r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return l=c.sent(),a={error:l},[3,11];case 6:return c.trys.push([6,,9,10]),r&&!r.done&&(i=n.return)?[4,i.call(n)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(a)throw a.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}var DA=K9(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function Zxe(e,t){var n=typeof t=="object";return new Promise(function(r,a){var i=!1,o;e.subscribe({next:function(l){o=l,i=!0},error:a,complete:function(){i?r(o):n?r(t.defaultValue):a(new DA)}})})}function Jxe(e,t){var n=typeof t=="object";return new Promise(function(r,a){var i=new Jc({next:function(o){r(o),i.unsubscribe()},error:a,complete:function(){n?r(t.defaultValue):a(new DA)}});e.subscribe(i)})}function eSe(e){return e instanceof Date&&!isNaN(e)}function tSe(e,t){return Q9(function(n,r){var a=0;n.subscribe(X9(r,function(i){r.next(e.call(t,i,a++))}))})}function nSe(e,t,n){e===void 0&&(e=0),n===void 0&&(n=Lxe);var r=-1;return t!=null&&(Vxe(t)?n=t:r=t),new a1(function(a){var i=eSe(e)?+e-n.now():e;i<0&&(i=0);var o=0;return n.schedule(function(){a.closed||(a.next(o++),0<=r?this.schedule(void 0,r):a.complete())},i)})}function rSe(e,t){return e===void 0&&(e=0),t===void 0&&(t=BA),e<0&&(e=0),nSe(e,e,t)}function aSe(e,t){return function(n,r){return!e.call(t,n,r)}}function y1(e,t){return Q9(function(n,r){var a=0;n.subscribe(X9(r,function(i){return e.call(t,i,a++)&&r.next(i)}))})}function iSe(e,t,n){return[y1(t,n)(Cg(e)),y1(aSe(t,n))(Cg(e))]}function il(e){return e<=0?function(){return Hxe}:Q9(function(t,n){var r=0;t.subscribe(X9(n,function(a){++r<=e&&(n.next(a),e<=r&&n.complete())}))})}var NA=(e=>(e.Msg="msg",e))(NA||{}),WA=(e=>(e.Ack="ack",e.Syn="syn",e))(WA||{}),oSe=(e,t)=>n=>({postMessage:r=>{const{errorCatcher:a=()=>()=>{},...i}=t??{};e.clients.get(n).then(o=>o==null?void 0:o.postMessage(r,i)).catch(a(n,r))}}),ss=(e,t)=>({postMessage:n=>{e.postMessage(n,(t==null?void 0:t.targetOrigin)??"*",t==null?void 0:t.transfer)}}),lSe={fromChild(e){return{from:e,to:ss(e.parent)}},fromParent(e){if(e.contentWindow){if(e.ownerDocument.defaultView)return{from:e.ownerDocument.defaultView,to:ss(e.contentWindow)};throw new TypeError("iframe ownerDocument.defaultView is null")}throw new TypeError("iframe contentWindow is null")},fromServiceWorkerToReceiver:oSe,fromWindowToReceiver:ss},UA=Object.values(WA),cSe=Object.values(NA),sSe=e=>e.data,us=e=>t=>t.type===e,kg=e=>{const t=e.data;return typeof t=="object"&&t!==null&&"type"in t&&typeof t.type=="string"&&[...UA,...cSe].includes(t.type)&&"instance"in t&&typeof t.instance=="string"&&"content"in t},uSe=()=>{let e="#";for(let t=0;t<3;t++)e+=`0${Math.floor(Math.random()*Math.pow(16,2)/2).toString(16)}`.slice(-2);return e},ra,fSe=(ra=class{constructor(t,n){Tn(this,"__instance");Tn(this,"__sender");Tn(this,"__listener");Tn(this,"__log");Tn(this,"__receiver");Tn(this,"__handler");Tn(this,"__subscription");Tn(this,"__okToWrite");Tn(this,"__write$");Tn(this,"__synack$");Tn(this,"__user$");Tn(this,"__colors");const r=new Z9;this.__instance=n.instance??ra.__generateId(),this.__listener=t,this.__sender=n.from,this.__receiver=n.to,this.__handler=l=>r.next(l),this.__log=n.log&&n.log.bind(this),this.__subscription=new To,this.__sender.addEventListener("message",this.__handler);const[a,i]=iSe(r.pipe(y1(kg),tSe(sSe)),l=>UA.includes(l.type));this.__synack$=a,this.__user$=i,this.__okToWrite=new Exe(1),this.__write$=this.__okToWrite.pipe(il(1));const o=uSe();this.__colors={bg:`${o}22`,fg:o},this.__connect(n!=null&&n.period?n.period:10)}__connect(t){const n=rSe(t).subscribe(()=>this.__receiver.postMessage({content:this.__instance,instance:this.__instance,type:"syn"}));this.__subscription.add(n),this.__subscription.add(this.__user$.subscribe(r=>{Zxe(this.__okToWrite.pipe(il(1))).then(a=>{r.instance===a&&(this.__listener(r.content),r._id!==void 0&&this.__receiver.postMessage({content:r._id,instance:this.__instance,type:"ack"}))}).catch(a=>{console.error("Unexpected error",a.message)})})),this.__subscription.add(this.__synack$.pipe(y1(us("ack")),y1(({content:r})=>r===this.instance),il(1)).subscribe(({instance:r})=>{this.__okToWrite.next(r),n.unsubscribe()})),this.__subscription.add(this.__synack$.pipe(y1(us("syn")),y1(({instance:r})=>r!==this.instance),il(1)).subscribe(({content:r})=>{this.__receiver.postMessage({content:r,instance:this.instance,type:"ack"})}))}__write(t,n){this.__subscription.add(this.__write$.subscribe(()=>{var a;const r={_id:n,content:t,instance:this.__instance,type:"msg"};this.__receiver.postMessage(r),(a=this.__log)==null||a.call(this,t)}))}disconnect(){this.__subscription.unsubscribe(),this.__sender.removeEventListener("message",this.__handler)}send(t){this.__write(t)}ackSend(t){let n;const r=new Promise(i=>{n=i}),a=ra.__generateId();return this.__subscription.add(this.__synack$.pipe(y1(us("ack")),y1(({content:i})=>i===a),il(1)).subscribe(()=>n())),this.__write(t,a),r}get instance(){return this.__instance}get colors(){return this.__colors}get ready(){return Jxe(this.__write$).then(()=>{})}},Tn(ra,"__generateId",()=>window?window.crypto.randomUUID():hxe("crypto").randomUUID()),Tn(ra,"utils",{isPostChannelMessage:kg}),ra),qA=(e,t)=>{const n=new fSe(e,t);return n.ready.then(()=>n)},dSe=Object.defineProperty,hSe=(e,t,n)=>t in e?dSe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,W1=(e,t,n)=>(hSe(e,typeof t!="symbol"?t+"":t,n),n);class pSe{constructor(t){W1(this,"_input"),W1(this,"_length"),W1(this,"_idx",0),W1(this,"_mode",0),W1(this,"_literals",[]),W1(this,"_variables",[]),W1(this,"_braketCount",0),W1(this,"_done",!1),this._input=t,this._length=t.length}concatToLastLiteral(t){this._literals.push(this._literals.pop().concat(t))}concatToLastVariable(t){this._variables.push(this._variables.pop().concat(t))}get(){const t=[...this._literals],n=Object.assign([],t);return Object.defineProperty(n,"raw",{value:t,writable:!1}),{literals:n,variables:this._variables}}run(){for(this._length===0&&this._literals.push("");this._idx<this._length;){const t=this._input.charAt(this._idx);switch(this._mode){case 0:{this._literals.length===0&&this._literals.push(""),t==="{"&&this._idx+1!==this._length&&this._input.charAt(this._idx+1)==="{"?(this._literals.push(""),this._variables.push(""),this._mode=1,this._idx+=1):this.concatToLastLiteral(t);break}case 1:t==="}"&&this._input.charAt(this._idx+1)==="}"?(this._mode=0,this._idx+=1):this.concatToLastVariable(t);break}this._idx+=1}this._mode===1&&(this._literals.pop(),this.concatToLastLiteral("{{".concat(this._variables.pop()))),this._done=!0}}const vSe=e=>{const t=e.trim();if(!(t.startsWith("[")&&t.endsWith("]")))return!1;const n=t.slice(1).slice(0,-1).trim();return Number.parseInt(n).toString(10)===n},mSe=e=>Number.parseInt(e.trim().slice(1).slice(0,-1).trim());function gSe(e,t,n){if(!t.trim())return n?"{{".concat(t,"}}"):"";const r=t.trim().split(".").reduce((a,i)=>{if(Array.isArray(a)&&vSe(i))return a[mSe(i)];if(typeof a=="object"&&a!==null&&i in a)return a[i]},{...e});return typeof r=="string"?r:n?"{{".concat(t,"}}"):""}function ySe(e,t,n=!1){const r=new pSe(e);r.run();const a=r.get();let[i]=a.literals;for(let o=0;o<a.variables.length;o++)i=i.concat(gSe(t,a.variables[o],n)).concat(a.literals[o+1]);return i}const bSe=(e,t)=>Object.fromEntries(Object.entries(e).map(([n,r])=>[n,ySe(r,t)]));var KA=(e=>(e[e.Default=0]="Default",e[e.Skip=1]="Skip",e))(KA||{});const Of="__mia_preview_id",GA=1e6,_Se={"click-element":0,"ctrl-space":0,"focus-element":0,mousedown:0,mousemove:1,"new-configuration":0,notification:0,options:0,"request-resource":0,"set-source-map":0,"tag-info":0,"toggle-components-explorer":1,unload:0,update:0,updated:0},wSe=()=>({componentsExplorerVisible:new O8(!1),configuration:new $a,focus:new O8(void 0),infos:new $a,mocks:new $a,mode:new O8("select"),notification:new $a,setSourceMap:new $a(1),swSourceMapAck:new $a(1),updated:new n0,uppercaseTags:new Set}),YA=e=>{let t=0;const n=e.getValue();return n==="interact"?t="select":n==="select"&&(t="interact"),e.next(t),t},OSe=e=>t=>{switch(t.type){}};function MSe(e,t,n){const r=b.useMemo(()=>t,[]),[a,i]=b.useState(n);return b.useEffect(()=>{const o=e.subscribe(l=>{i(c=>r(c,l))});return()=>o.unsubscribe()},[e,r]),a}const zSe=async(e,t)=>{const{navigator:{serviceWorker:n}}=e;return Promise.all([n.register("./service-worker.js"),n.ready.then(r=>{if(!r.active)throw new TypeError("smth went wrong on sw activation");return qA(OSe(),{from:window.navigator.serviceWorker,instance:"preview-to-service-worker",to:r.active})})]).then(([,r])=>r)},xSe=(e,t)=>n=>{const r=n;switch(r.type){case"options":{const{content:{disableOverlay:a,redirectTo:i,timeout:o,run:l,language:c}}=r;l&&t.swSourceMapAck.next(0),a&&(Object.defineProperty(e,"__BACKOFFICE_CONFIGURATOR_DISABLE_OVERLAY__",{value:!0}),t.mode.next("interact")),o!==void 0&&Object.defineProperty(e,"__BACKOFFICE_CONFIGURATOR_PREVIEW_TIMEOUT__",{value:o}),c&&Object.defineProperty(e.navigator,"language",{value:c});const{history:s}=e;i&&s.pushState(s.state,"",i);break}case"toggle-components-explorer":t.componentsExplorerVisible.next(r.content.visible);break;case"ctrl-space":YA(t.mode);break;case"new-configuration":t.configuration.next({...r.content,type:"reset"});break;case"update":t.configuration.next({...r.content,type:"update"});break;case"focus-element":t.focus.next(r.content);break;case"set-source-map":{const{content:a}=r;t.setSourceMap.next(Object.entries(a).reduce((i,[o,l])=>{try{const{href:c}=new URL(o,e.location.href),s=typeof l=="string"?{headers:{},query:{},to:l}:l;i[c]={originalFrom:o,...s}}catch{}return i},{}));break}}},SSe=(e,t)=>qA(xSe(e,t),{from:e,instance:"preview-to-main-thread",log(n){if(e.__BACKOFFICE_CONFIGURATOR_LOG_LEVEL__==="debug"&&console.assert(e.parent!==e),e.__BACKOFFICE_CONFIGURATOR_LOG_LEVEL__==="debug"&&_Se[n.type]!==KA.Skip){const r={background:this.colors.bg,color:this.colors.fg};console.groupCollapsed("%c Msg from ".concat(e.origin," (inner) "),Object.entries(r).map(([a,i])=>"".concat(a,": ").concat(i)).join("; ")),console.info("window '".concat(e.origin,"' is sending a message of type %c ").concat(n.type," "),"background: lightgreen; color: darkgreen"),console.log(n.content),console.groupEnd()}},to:lSe.fromWindowToReceiver(e.parent)}),Eg={"components.DocIcon.Popover.title":{en:"Open documentation",it:"Apri la documentazione"},"components.InfoBox.Popover.title":{en:"Pods list",it:"Lista di Pod"},"components.components-explorer.detail.description":{en:"Description",it:"Descrizione"},"components.components-explorer.detail.description.expand":{en:"Show more",it:"Espandi"},"components.components-explorer.detail.description.reduce":{en:"Show less",it:"Riduci"},"components.components-explorer.detail.example":{en:"Example",it:"Esempio"},"components.components-explorer.detail.no-data.subtitle":{en:"The library does not provide any information about this component",it:"La libreria non fornisce alcuna informazione riguardo questo componente"},"components.components-explorer.detail.no-data.title":{en:"No information available",it:"Nessuna informazione disponibile"},"components.components-explorer.drawer.lib-filter.ph":{en:"Filter by library",it:"Filtra per libreria"},"components.components-explorer.drawer.no-data.subtitle":{en:"There are no components for the given sources and/or filters",it:"Non ci sono componenti per le sorgenti e/o filtri dati"},"components.components-explorer.drawer.no-data.title":{en:"No components found",it:"Nessun componente trovato"},"components.components-explorer.drawer.search.ph":{en:"Search component",it:"Cerca componente"},"components.components-explorer.drawer.title":{en:"Components Explorer",it:"Esploratore Componenti"},"components.components-explorer.other-libs.name":{en:"Others",it:"Altre"},"copyContent.copied":{en:"Copied",it:"Copiato"},"copyContent.copy":{en:"Copy",it:"Copia"},"json.collapseAll":{en:"Collapse All",it:"Collassa Tutto"},"json.expandAll":{en:"Expand All",it:"Espandi Tutto"}},CSe="en",kSe=e=>["en","it"].includes(e),Ln=(e,t=window.navigator.language)=>{const n=t.substring(0,2);return kSe(n)?Eg[e][n]:Eg[e][CSe]},ESe=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",...e},b.createElement("path",{d:"M5.4,2.5A3.074,3.074,0,0,1,8,3.959a3.072,3.072,0,0,1,2.6-1.459h3.907A.494.494,0,0,1,15,3h0V13a.494.494,0,0,1-.488.5H9.954A1.483,1.483,0,0,0,8.489,15a.471.471,0,0,1-.407.494L8,15.5a.474.474,0,0,1-.488-.5h0l-.007-.144A1.479,1.479,0,0,0,6.047,13.5H1.489A.494.494,0,0,1,1,13H1V3a.494.494,0,0,1,.489-.5Zm0,1H1.977v9h4.07a2.393,2.393,0,0,1,1.442.482h0L7.511,13V5.667A2.146,2.146,0,0,0,5.547,3.505h0Zm8.627,0H10.605A2.142,2.142,0,0,0,8.489,5.667h0V13l.023-.018a2.4,2.4,0,0,1,1.282-.477h0l.161-.005h4.069Z"})),PSe=e=>b.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.665 7.99996C14.665 11.6809 11.6809 14.665 7.99996 14.665C4.31898 14.665 1.33496 11.6809 1.33496 7.99996C1.33496 4.31898 4.31898 1.33496 7.99996 1.33496C11.6809 1.33496 14.665 4.31898 14.665 7.99996ZM7 7.49268C7 7.21653 7.22386 6.99268 7.5 6.99268H8C8.27614 6.99268 8.5 7.21653 8.5 7.49268V10.4927C8.77614 10.4927 9 10.7165 9 10.9927C9 11.2688 8.77614 11.4927 8.5 11.4927H8C7.72386 11.4927 7.5 11.2688 7.5 10.9927V7.99268C7.22386 7.99268 7 7.76882 7 7.49268ZM8.625 5.24268C8.625 5.65689 8.28921 5.99268 7.875 5.99268C7.46079 5.99268 7.125 5.65689 7.125 5.24268C7.125 4.82846 7.46079 4.49268 7.875 4.49268C8.28921 4.49268 8.625 4.82846 8.625 5.24268Z",fill:"currentColor"})),TSe={infoBox:{alignItems:"center",cursor:"help",display:"flex"}},$Se=({docLink:e,getPopupContainer:t=a=>a,onClick:n,placement:r="top"})=>{const a=e?"components.DocIcon.Popover.title":"components.InfoBox.Popover.title",i=Se.jsx("span",{children:Ln(a)});return Se.jsx(q5,{arrowPointAtCenter:!0,getPopupContainer:t,placement:r,title:i,children:e?Se.jsx("a",{href:e,rel:"noreferrer",style:{display:"inherit"},target:"_blank",children:Se.jsx(ESe,{fill:"var(--color-blue, #1890ff)"})}):Se.jsx("span",{onClick:n,style:TSe.infoBox,children:Se.jsx(PSe,{fill:"var(--color-grey2, #AAAAAA)"})})})};var QA={exports:{}};(function(e,t){(function(n,r){e.exports=r(b)})(mn,function(n){return function(r){var a={};function i(o){if(a[o])return a[o].exports;var l=a[o]={i:o,l:!1,exports:{}};return r[o].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=r,i.c=a,i.d=function(o,l,c){i.o(o,l)||Object.defineProperty(o,l,{enumerable:!0,get:c})},i.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},i.t=function(o,l){if(1&l&&(o=i(o)),8&l||4&l&&typeof o=="object"&&o&&o.__esModule)return o;var c=Object.create(null);if(i.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:o}),2&l&&typeof o!="string")for(var s in o)i.d(c,s,(function(u){return o[u]}).bind(null,s));return c},i.n=function(o){var l=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(l,"a",l),l},i.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},i.p="",i(i.s=48)}([function(r,a){r.exports=n},function(r,a){var i=r.exports={version:"2.6.12"};typeof __e=="number"&&(__e=i)},function(r,a,i){var o=i(26)("wks"),l=i(17),c=i(3).Symbol,s=typeof c=="function";(r.exports=function(u){return o[u]||(o[u]=s&&c[u]||(s?c:l)("Symbol."+u))}).store=o},function(r,a){var i=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=i)},function(r,a,i){r.exports=!i(8)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(r,a){var i={}.hasOwnProperty;r.exports=function(o,l){return i.call(o,l)}},function(r,a,i){var o=i(7),l=i(16);r.exports=i(4)?function(c,s,u){return o.f(c,s,l(1,u))}:function(c,s,u){return c[s]=u,c}},function(r,a,i){var o=i(10),l=i(35),c=i(23),s=Object.defineProperty;a.f=i(4)?Object.defineProperty:function(u,f,d){if(o(u),f=c(f,!0),o(d),l)try{return s(u,f,d)}catch{}if("get"in d||"set"in d)throw TypeError("Accessors not supported!");return"value"in d&&(u[f]=d.value),u}},function(r,a){r.exports=function(i){try{return!!i()}catch{return!0}}},function(r,a,i){var o=i(40),l=i(22);r.exports=function(c){return o(l(c))}},function(r,a,i){var o=i(11);r.exports=function(l){if(!o(l))throw TypeError(l+" is not an object!");return l}},function(r,a){r.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},function(r,a){r.exports={}},function(r,a,i){var o=i(39),l=i(27);r.exports=Object.keys||function(c){return o(c,l)}},function(r,a){r.exports=!0},function(r,a,i){var o=i(3),l=i(1),c=i(53),s=i(6),u=i(5),f=function(d,h,v){var y,M,m,g=d&f.F,_=d&f.G,p=d&f.S,C=d&f.P,z=d&f.B,H=d&f.W,F=_?l:l[h]||(l[h]={}),L=F.prototype,O=_?o:p?o[h]:(o[h]||{}).prototype;for(y in _&&(v=h),v)(M=!g&&O&&O[y]!==void 0)&&u(F,y)||(m=M?O[y]:v[y],F[y]=_&&typeof O[y]!="function"?v[y]:z&&M?c(m,o):H&&O[y]==m?function(A){var G=function(W,ce,X){if(this instanceof A){switch(arguments.length){case 0:return new A;case 1:return new A(W);case 2:return new A(W,ce)}return new A(W,ce,X)}return A.apply(this,arguments)};return G.prototype=A.prototype,G}(m):C&&typeof m=="function"?c(Function.call,m):m,C&&((F.virtual||(F.virtual={}))[y]=m,d&f.R&&L&&!L[y]&&s(L,y,m)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,r.exports=f},function(r,a){r.exports=function(i,o){return{enumerable:!(1&i),configurable:!(2&i),writable:!(4&i),value:o}}},function(r,a){var i=0,o=Math.random();r.exports=function(l){return"Symbol(".concat(l===void 0?"":l,")_",(++i+o).toString(36))}},function(r,a,i){var o=i(22);r.exports=function(l){return Object(o(l))}},function(r,a){a.f={}.propertyIsEnumerable},function(r,a,i){var o=i(52)(!0);i(34)(String,"String",function(l){this._t=String(l),this._i=0},function(){var l,c=this._t,s=this._i;return s>=c.length?{value:void 0,done:!0}:(l=o(c,s),this._i+=l.length,{value:l,done:!1})})},function(r,a){var i=Math.ceil,o=Math.floor;r.exports=function(l){return isNaN(l=+l)?0:(l>0?o:i)(l)}},function(r,a){r.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},function(r,a,i){var o=i(11);r.exports=function(l,c){if(!o(l))return l;var s,u;if(c&&typeof(s=l.toString)=="function"&&!o(u=s.call(l))||typeof(s=l.valueOf)=="function"&&!o(u=s.call(l))||!c&&typeof(s=l.toString)=="function"&&!o(u=s.call(l)))return u;throw TypeError("Can't convert object to primitive value")}},function(r,a){var i={}.toString;r.exports=function(o){return i.call(o).slice(8,-1)}},function(r,a,i){var o=i(26)("keys"),l=i(17);r.exports=function(c){return o[c]||(o[c]=l(c))}},function(r,a,i){var o=i(1),l=i(3),c=l["__core-js_shared__"]||(l["__core-js_shared__"]={});(r.exports=function(s,u){return c[s]||(c[s]=u!==void 0?u:{})})("versions",[]).push({version:o.version,mode:i(14)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(r,a){r.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(r,a,i){var o=i(7).f,l=i(5),c=i(2)("toStringTag");r.exports=function(s,u,f){s&&!l(s=f?s:s.prototype,c)&&o(s,c,{configurable:!0,value:u})}},function(r,a,i){i(62);for(var o=i(3),l=i(6),c=i(12),s=i(2)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),f=0;f<u.length;f++){var d=u[f],h=o[d],v=h&&h.prototype;v&&!v[s]&&l(v,s,d),c[d]=c.Array}},function(r,a,i){a.f=i(2)},function(r,a,i){var o=i(3),l=i(1),c=i(14),s=i(30),u=i(7).f;r.exports=function(f){var d=l.Symbol||(l.Symbol=c?{}:o.Symbol||{});f.charAt(0)=="_"||f in d||u(d,f,{value:s.f(f)})}},function(r,a){a.f=Object.getOwnPropertySymbols},function(r,a){r.exports=function(i,o,l){return Math.min(Math.max(i,o),l)}},function(r,a,i){var o=i(14),l=i(15),c=i(37),s=i(6),u=i(12),f=i(55),d=i(28),h=i(61),v=i(2)("iterator"),y=!([].keys&&"next"in[].keys()),M=function(){return this};r.exports=function(m,g,_,p,C,z,H){f(_,g,p);var F,L,O,A=function(k){if(!y&&k in X)return X[k];switch(k){case"keys":case"values":return function(){return new _(this,k)}}return function(){return new _(this,k)}},G=g+" Iterator",W=C=="values",ce=!1,X=m.prototype,K=X[v]||X["@@iterator"]||C&&X[C],fe=K||A(C),oe=C?W?A("entries"):fe:void 0,ge=g=="Array"&&X.entries||K;if(ge&&(O=h(ge.call(new m)))!==Object.prototype&&O.next&&(d(O,G,!0),o||typeof O[v]=="function"||s(O,v,M)),W&&K&&K.name!=="values"&&(ce=!0,fe=function(){return K.call(this)}),o&&!H||!y&&!ce&&X[v]||s(X,v,fe),u[g]=fe,u[G]=M,C)if(F={values:W?fe:A("values"),keys:z?fe:A("keys"),entries:oe},H)for(L in F)L in X||c(X,L,F[L]);else l(l.P+l.F*(y||ce),g,F);return F}},function(r,a,i){r.exports=!i(4)&&!i(8)(function(){return Object.defineProperty(i(36)("div"),"a",{get:function(){return 7}}).a!=7})},function(r,a,i){var o=i(11),l=i(3).document,c=o(l)&&o(l.createElement);r.exports=function(s){return c?l.createElement(s):{}}},function(r,a,i){r.exports=i(6)},function(r,a,i){var o=i(10),l=i(56),c=i(27),s=i(25)("IE_PROTO"),u=function(){},f=function(){var d,h=i(36)("iframe"),v=c.length;for(h.style.display="none",i(60).appendChild(h),h.src="javascript:",(d=h.contentWindow.document).open(),d.write("<script>document.F=Object<\/script>"),d.close(),f=d.F;v--;)delete f.prototype[c[v]];return f()};r.exports=Object.create||function(d,h){var v;return d!==null?(u.prototype=o(d),v=new u,u.prototype=null,v[s]=d):v=f(),h===void 0?v:l(v,h)}},function(r,a,i){var o=i(5),l=i(9),c=i(57)(!1),s=i(25)("IE_PROTO");r.exports=function(u,f){var d,h=l(u),v=0,y=[];for(d in h)d!=s&&o(h,d)&&y.push(d);for(;f.length>v;)o(h,d=f[v++])&&(~c(y,d)||y.push(d));return y}},function(r,a,i){var o=i(24);r.exports=Object("z").propertyIsEnumerable(0)?Object:function(l){return o(l)=="String"?l.split(""):Object(l)}},function(r,a,i){var o=i(39),l=i(27).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(c){return o(c,l)}},function(r,a,i){var o=i(24),l=i(2)("toStringTag"),c=o(function(){return arguments}())=="Arguments";r.exports=function(s){var u,f,d;return s===void 0?"Undefined":s===null?"Null":typeof(f=function(h,v){try{return h[v]}catch{}}(u=Object(s),l))=="string"?f:c?o(u):(d=o(u))=="Object"&&typeof u.callee=="function"?"Arguments":d}},function(r,a){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}r.exports=i},function(r,a){var i=/-?\d+(\.\d+)?%?/g;r.exports=function(o){return o.match(i)}},function(r,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a.getBase16Theme=a.createStyling=a.invertTheme=void 0;var o=M(i(49)),l=M(i(76)),c=M(i(81)),s=M(i(89)),u=M(i(93)),f=function(L){if(L&&L.__esModule)return L;var O={};if(L!=null)for(var A in L)Object.prototype.hasOwnProperty.call(L,A)&&(O[A]=L[A]);return O.default=L,O}(i(94)),d=M(i(132)),h=M(i(133)),v=M(i(138)),y=i(139);function M(L){return L&&L.__esModule?L:{default:L}}var m=f.default,g=(0,s.default)(m),_=(0,v.default)(h.default,y.rgb2yuv,function(L){var O,A=(0,c.default)(L,3),G=A[0],W=A[1],ce=A[2];return[(O=G,O<.25?1:O<.5?.9-O:1.1-O),W,ce]},y.yuv2rgb,d.default),p=function(L){return function(O){return{className:[O.className,L.className].filter(Boolean).join(" "),style:(0,l.default)({},O.style||{},L.style||{})}}},C=function(L,O){var A=(0,s.default)(O);for(var G in L)A.indexOf(G)===-1&&A.push(G);return A.reduce(function(W,ce){return W[ce]=function(X,K){if(X===void 0)return K;if(K===void 0)return X;var fe=X===void 0?"undefined":(0,o.default)(X),oe=K===void 0?"undefined":(0,o.default)(K);switch(fe){case"string":switch(oe){case"string":return[K,X].filter(Boolean).join(" ");case"object":return p({className:X,style:K});case"function":return function(ge){for(var k=arguments.length,ze=Array(k>1?k-1:0),Ce=1;Ce<k;Ce++)ze[Ce-1]=arguments[Ce];return p({className:X})(K.apply(void 0,[ge].concat(ze)))}}case"object":switch(oe){case"string":return p({className:K,style:X});case"object":return(0,l.default)({},K,X);case"function":return function(ge){for(var k=arguments.length,ze=Array(k>1?k-1:0),Ce=1;Ce<k;Ce++)ze[Ce-1]=arguments[Ce];return p({style:X})(K.apply(void 0,[ge].concat(ze)))}}case"function":switch(oe){case"string":return function(ge){for(var k=arguments.length,ze=Array(k>1?k-1:0),Ce=1;Ce<k;Ce++)ze[Ce-1]=arguments[Ce];return X.apply(void 0,[p(ge)({className:K})].concat(ze))};case"object":return function(ge){for(var k=arguments.length,ze=Array(k>1?k-1:0),Ce=1;Ce<k;Ce++)ze[Ce-1]=arguments[Ce];return X.apply(void 0,[p(ge)({style:K})].concat(ze))};case"function":return function(ge){for(var k=arguments.length,ze=Array(k>1?k-1:0),Ce=1;Ce<k;Ce++)ze[Ce-1]=arguments[Ce];return X.apply(void 0,[K.apply(void 0,[ge].concat(ze))].concat(ze))}}}}(L[ce],O[ce]),W},{})},z=function(L,O){for(var A=arguments.length,G=Array(A>2?A-2:0),W=2;W<A;W++)G[W-2]=arguments[W];if(O===null)return L;Array.isArray(O)||(O=[O]);var ce=O.map(function(K){return L[K]}).filter(Boolean),X=ce.reduce(function(K,fe){return typeof fe=="string"?K.className=[K.className,fe].filter(Boolean).join(" "):(fe===void 0?"undefined":(0,o.default)(fe))==="object"?K.style=(0,l.default)({},K.style,fe):typeof fe=="function"&&(K=(0,l.default)({},K,fe.apply(void 0,[K].concat(G)))),K},{className:"",style:{}});return X.className||delete X.className,(0,s.default)(X.style).length===0&&delete X.style,X},H=a.invertTheme=function(L){return(0,s.default)(L).reduce(function(O,A){return O[A]=/^base/.test(A)?_(L[A]):A==="scheme"?L[A]+":inverted":L[A],O},{})},F=(a.createStyling=(0,u.default)(function(L){for(var O=arguments.length,A=Array(O>3?O-3:0),G=3;G<O;G++)A[G-3]=arguments[G];var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},X=W.defaultBase16,K=X===void 0?m:X,fe=W.base16Themes,oe=fe===void 0?null:fe,ge=F(ce,oe);ge&&(ce=(0,l.default)({},ge,ce));var k=g.reduce(function(He,Ze){return He[Ze]=ce[Ze]||K[Ze],He},{}),ze=(0,s.default)(ce).reduce(function(He,Ze){return g.indexOf(Ze)===-1&&(He[Ze]=ce[Ze]),He},{}),Ce=L(k),D=C(ze,Ce);return(0,u.default)(z,2).apply(void 0,[D].concat(A))},3),a.getBase16Theme=function(L,O){if(L&&L.extend&&(L=L.extend),typeof L=="string"){var A=L.split(":"),G=(0,c.default)(A,2),W=G[0],ce=G[1];L=(O||{})[W]||f[W],ce==="inverted"&&(L=H(L))}return L&&L.hasOwnProperty("base00")?L:void 0})},function(r,a,i){var o,l=typeof Reflect=="object"?Reflect:null,c=l&&typeof l.apply=="function"?l.apply:function(p,C,z){return Function.prototype.apply.call(p,C,z)};o=l&&typeof l.ownKeys=="function"?l.ownKeys:Object.getOwnPropertySymbols?function(p){return Object.getOwnPropertyNames(p).concat(Object.getOwnPropertySymbols(p))}:function(p){return Object.getOwnPropertyNames(p)};var s=Number.isNaN||function(p){return p!=p};function u(){u.init.call(this)}r.exports=u,r.exports.once=function(p,C){return new Promise(function(z,H){function F(){L!==void 0&&p.removeListener("error",L),z([].slice.call(arguments))}var L;C!=="error"&&(L=function(O){p.removeListener(C,F),H(O)},p.once("error",L)),p.once(C,F)})},u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var f=10;function d(p){if(typeof p!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof p)}function h(p){return p._maxListeners===void 0?u.defaultMaxListeners:p._maxListeners}function v(p,C,z,H){var F,L,O,A;if(d(z),(L=p._events)===void 0?(L=p._events=Object.create(null),p._eventsCount=0):(L.newListener!==void 0&&(p.emit("newListener",C,z.listener?z.listener:z),L=p._events),O=L[C]),O===void 0)O=L[C]=z,++p._eventsCount;else if(typeof O=="function"?O=L[C]=H?[z,O]:[O,z]:H?O.unshift(z):O.push(z),(F=h(p))>0&&O.length>F&&!O.warned){O.warned=!0;var G=new Error("Possible EventEmitter memory leak detected. "+O.length+" "+String(C)+" listeners added. Use emitter.setMaxListeners() to increase limit");G.name="MaxListenersExceededWarning",G.emitter=p,G.type=C,G.count=O.length,A=G,console&&console.warn&&console.warn(A)}return p}function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function M(p,C,z){var H={fired:!1,wrapFn:void 0,target:p,type:C,listener:z},F=y.bind(H);return F.listener=z,H.wrapFn=F,F}function m(p,C,z){var H=p._events;if(H===void 0)return[];var F=H[C];return F===void 0?[]:typeof F=="function"?z?[F.listener||F]:[F]:z?function(L){for(var O=new Array(L.length),A=0;A<O.length;++A)O[A]=L[A].listener||L[A];return O}(F):_(F,F.length)}function g(p){var C=this._events;if(C!==void 0){var z=C[p];if(typeof z=="function")return 1;if(z!==void 0)return z.length}return 0}function _(p,C){for(var z=new Array(C),H=0;H<C;++H)z[H]=p[H];return z}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return f},set:function(p){if(typeof p!="number"||p<0||s(p))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+p+".");f=p}}),u.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},u.prototype.setMaxListeners=function(p){if(typeof p!="number"||p<0||s(p))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+p+".");return this._maxListeners=p,this},u.prototype.getMaxListeners=function(){return h(this)},u.prototype.emit=function(p){for(var C=[],z=1;z<arguments.length;z++)C.push(arguments[z]);var H=p==="error",F=this._events;if(F!==void 0)H=H&&F.error===void 0;else if(!H)return!1;if(H){var L;if(C.length>0&&(L=C[0]),L instanceof Error)throw L;var O=new Error("Unhandled error."+(L?" ("+L.message+")":""));throw O.context=L,O}var A=F[p];if(A===void 0)return!1;if(typeof A=="function")c(A,this,C);else{var G=A.length,W=_(A,G);for(z=0;z<G;++z)c(W[z],this,C)}return!0},u.prototype.addListener=function(p,C){return v(this,p,C,!1)},u.prototype.on=u.prototype.addListener,u.prototype.prependListener=function(p,C){return v(this,p,C,!0)},u.prototype.once=function(p,C){return d(C),this.on(p,M(this,p,C)),this},u.prototype.prependOnceListener=function(p,C){return d(C),this.prependListener(p,M(this,p,C)),this},u.prototype.removeListener=function(p,C){var z,H,F,L,O;if(d(C),(H=this._events)===void 0)return this;if((z=H[p])===void 0)return this;if(z===C||z.listener===C)--this._eventsCount==0?this._events=Object.create(null):(delete H[p],H.removeListener&&this.emit("removeListener",p,z.listener||C));else if(typeof z!="function"){for(F=-1,L=z.length-1;L>=0;L--)if(z[L]===C||z[L].listener===C){O=z[L].listener,F=L;break}if(F<0)return this;F===0?z.shift():function(A,G){for(;G+1<A.length;G++)A[G]=A[G+1];A.pop()}(z,F),z.length===1&&(H[p]=z[0]),H.removeListener!==void 0&&this.emit("removeListener",p,O||C)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(p){var C,z,H;if((z=this._events)===void 0)return this;if(z.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):z[p]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete z[p]),this;if(arguments.length===0){var F,L=Object.keys(z);for(H=0;H<L.length;++H)(F=L[H])!=="removeListener"&&this.removeAllListeners(F);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(C=z[p])=="function")this.removeListener(p,C);else if(C!==void 0)for(H=C.length-1;H>=0;H--)this.removeListener(p,C[H]);return this},u.prototype.listeners=function(p){return m(this,p,!0)},u.prototype.rawListeners=function(p){return m(this,p,!1)},u.listenerCount=function(p,C){return typeof p.listenerCount=="function"?p.listenerCount(C):g.call(p,C)},u.prototype.listenerCount=g,u.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]}},function(r,a,i){r.exports.Dispatcher=i(140)},function(r,a,i){r.exports=i(142)},function(r,a,i){a.__esModule=!0;var o=s(i(50)),l=s(i(65)),c=typeof l.default=="function"&&typeof o.default=="symbol"?function(u){return typeof u}:function(u){return u&&typeof l.default=="function"&&u.constructor===l.default&&u!==l.default.prototype?"symbol":typeof u};function s(u){return u&&u.__esModule?u:{default:u}}a.default=typeof l.default=="function"&&c(o.default)==="symbol"?function(u){return u===void 0?"undefined":c(u)}:function(u){return u&&typeof l.default=="function"&&u.constructor===l.default&&u!==l.default.prototype?"symbol":u===void 0?"undefined":c(u)}},function(r,a,i){r.exports={default:i(51),__esModule:!0}},function(r,a,i){i(20),i(29),r.exports=i(30).f("iterator")},function(r,a,i){var o=i(21),l=i(22);r.exports=function(c){return function(s,u){var f,d,h=String(l(s)),v=o(u),y=h.length;return v<0||v>=y?c?"":void 0:(f=h.charCodeAt(v))<55296||f>56319||v+1===y||(d=h.charCodeAt(v+1))<56320||d>57343?c?h.charAt(v):f:c?h.slice(v,v+2):d-56320+(f-55296<<10)+65536}}},function(r,a,i){var o=i(54);r.exports=function(l,c,s){if(o(l),c===void 0)return l;switch(s){case 1:return function(u){return l.call(c,u)};case 2:return function(u,f){return l.call(c,u,f)};case 3:return function(u,f,d){return l.call(c,u,f,d)}}return function(){return l.apply(c,arguments)}}},function(r,a){r.exports=function(i){if(typeof i!="function")throw TypeError(i+" is not a function!");return i}},function(r,a,i){var o=i(38),l=i(16),c=i(28),s={};i(6)(s,i(2)("iterator"),function(){return this}),r.exports=function(u,f,d){u.prototype=o(s,{next:l(1,d)}),c(u,f+" Iterator")}},function(r,a,i){var o=i(7),l=i(10),c=i(13);r.exports=i(4)?Object.defineProperties:function(s,u){l(s);for(var f,d=c(u),h=d.length,v=0;h>v;)o.f(s,f=d[v++],u[f]);return s}},function(r,a,i){var o=i(9),l=i(58),c=i(59);r.exports=function(s){return function(u,f,d){var h,v=o(u),y=l(v.length),M=c(d,y);if(s&&f!=f){for(;y>M;)if((h=v[M++])!=h)return!0}else for(;y>M;M++)if((s||M in v)&&v[M]===f)return s||M||0;return!s&&-1}}},function(r,a,i){var o=i(21),l=Math.min;r.exports=function(c){return c>0?l(o(c),9007199254740991):0}},function(r,a,i){var o=i(21),l=Math.max,c=Math.min;r.exports=function(s,u){return(s=o(s))<0?l(s+u,0):c(s,u)}},function(r,a,i){var o=i(3).document;r.exports=o&&o.documentElement},function(r,a,i){var o=i(5),l=i(18),c=i(25)("IE_PROTO"),s=Object.prototype;r.exports=Object.getPrototypeOf||function(u){return u=l(u),o(u,c)?u[c]:typeof u.constructor=="function"&&u instanceof u.constructor?u.constructor.prototype:u instanceof Object?s:null}},function(r,a,i){var o=i(63),l=i(64),c=i(12),s=i(9);r.exports=i(34)(Array,"Array",function(u,f){this._t=s(u),this._i=0,this._k=f},function(){var u=this._t,f=this._k,d=this._i++;return!u||d>=u.length?(this._t=void 0,l(1)):l(0,f=="keys"?d:f=="values"?u[d]:[d,u[d]])},"values"),c.Arguments=c.Array,o("keys"),o("values"),o("entries")},function(r,a){r.exports=function(){}},function(r,a){r.exports=function(i,o){return{value:o,done:!!i}}},function(r,a,i){r.exports={default:i(66),__esModule:!0}},function(r,a,i){i(67),i(73),i(74),i(75),r.exports=i(1).Symbol},function(r,a,i){var o=i(3),l=i(5),c=i(4),s=i(15),u=i(37),f=i(68).KEY,d=i(8),h=i(26),v=i(28),y=i(17),M=i(2),m=i(30),g=i(31),_=i(69),p=i(70),C=i(10),z=i(11),H=i(18),F=i(9),L=i(23),O=i(16),A=i(38),G=i(71),W=i(72),ce=i(32),X=i(7),K=i(13),fe=W.f,oe=X.f,ge=G.f,k=o.Symbol,ze=o.JSON,Ce=ze&&ze.stringify,D=M("_hidden"),He=M("toPrimitive"),Ze={}.propertyIsEnumerable,je=h("symbol-registry"),it=h("symbols"),T=h("op-symbols"),B=Object.prototype,R=typeof k=="function"&&!!ce.f,le=o.QObject,xe=!le||!le.prototype||!le.prototype.findChild,be=c&&d(function(){return A(oe({},"a",{get:function(){return oe(this,"a",{value:7}).a}})).a!=7})?function(N,J,se){var _e=fe(B,J);_e&&delete B[J],oe(N,J,se),_e&&N!==B&&oe(B,J,_e)}:oe,We=function(N){var J=it[N]=A(k.prototype);return J._k=N,J},Le=R&&typeof k.iterator=="symbol"?function(N){return typeof N=="symbol"}:function(N){return N instanceof k},Je=function(N,J,se){return N===B&&Je(T,J,se),C(N),J=L(J,!0),C(se),l(it,J)?(se.enumerable?(l(N,D)&&N[D][J]&&(N[D][J]=!1),se=A(se,{enumerable:O(0,!1)})):(l(N,D)||oe(N,D,O(1,{})),N[D][J]=!0),be(N,J,se)):oe(N,J,se)},_t=function(N,J){C(N);for(var se,_e=_(J=F(J)),Ae=0,Ve=_e.length;Ve>Ae;)Je(N,se=_e[Ae++],J[se]);return N},Ut=function(N){var J=Ze.call(this,N=L(N,!0));return!(this===B&&l(it,N)&&!l(T,N))&&(!(J||!l(this,N)||!l(it,N)||l(this,D)&&this[D][N])||J)},wt=function(N,J){if(N=F(N),J=L(J,!0),N!==B||!l(it,J)||l(T,J)){var se=fe(N,J);return!se||!l(it,J)||l(N,D)&&N[D][J]||(se.enumerable=!0),se}},Pr=function(N){for(var J,se=ge(F(N)),_e=[],Ae=0;se.length>Ae;)l(it,J=se[Ae++])||J==D||J==f||_e.push(J);return _e},lt=function(N){for(var J,se=N===B,_e=ge(se?T:F(N)),Ae=[],Ve=0;_e.length>Ve;)!l(it,J=_e[Ve++])||se&&!l(B,J)||Ae.push(it[J]);return Ae};R||(u((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var N=y(arguments.length>0?arguments[0]:void 0),J=function(se){this===B&&J.call(T,se),l(this,D)&&l(this[D],N)&&(this[D][N]=!1),be(this,N,O(1,se))};return c&&xe&&be(B,N,{configurable:!0,set:J}),We(N)}).prototype,"toString",function(){return this._k}),W.f=wt,X.f=Je,i(41).f=G.f=Pr,i(19).f=Ut,ce.f=lt,c&&!i(14)&&u(B,"propertyIsEnumerable",Ut,!0),m.f=function(N){return We(M(N))}),s(s.G+s.W+s.F*!R,{Symbol:k});for(var cn="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Re=0;cn.length>Re;)M(cn[Re++]);for(var vr=K(M.store),ue=0;vr.length>ue;)g(vr[ue++]);s(s.S+s.F*!R,"Symbol",{for:function(N){return l(je,N+="")?je[N]:je[N]=k(N)},keyFor:function(N){if(!Le(N))throw TypeError(N+" is not a symbol!");for(var J in je)if(je[J]===N)return J},useSetter:function(){xe=!0},useSimple:function(){xe=!1}}),s(s.S+s.F*!R,"Object",{create:function(N,J){return J===void 0?A(N):_t(A(N),J)},defineProperty:Je,defineProperties:_t,getOwnPropertyDescriptor:wt,getOwnPropertyNames:Pr,getOwnPropertySymbols:lt});var $=d(function(){ce.f(1)});s(s.S+s.F*$,"Object",{getOwnPropertySymbols:function(N){return ce.f(H(N))}}),ze&&s(s.S+s.F*(!R||d(function(){var N=k();return Ce([N])!="[null]"||Ce({a:N})!="{}"||Ce(Object(N))!="{}"})),"JSON",{stringify:function(N){for(var J,se,_e=[N],Ae=1;arguments.length>Ae;)_e.push(arguments[Ae++]);if(se=J=_e[1],(z(J)||N!==void 0)&&!Le(N))return p(J)||(J=function(Ve,Ge){if(typeof se=="function"&&(Ge=se.call(this,Ve,Ge)),!Le(Ge))return Ge}),_e[1]=J,Ce.apply(ze,_e)}}),k.prototype[He]||i(6)(k.prototype,He,k.prototype.valueOf),v(k,"Symbol"),v(Math,"Math",!0),v(o.JSON,"JSON",!0)},function(r,a,i){var o=i(17)("meta"),l=i(11),c=i(5),s=i(7).f,u=0,f=Object.isExtensible||function(){return!0},d=!i(8)(function(){return f(Object.preventExtensions({}))}),h=function(y){s(y,o,{value:{i:"O"+ ++u,w:{}}})},v=r.exports={KEY:o,NEED:!1,fastKey:function(y,M){if(!l(y))return typeof y=="symbol"?y:(typeof y=="string"?"S":"P")+y;if(!c(y,o)){if(!f(y))return"F";if(!M)return"E";h(y)}return y[o].i},getWeak:function(y,M){if(!c(y,o)){if(!f(y))return!0;if(!M)return!1;h(y)}return y[o].w},onFreeze:function(y){return d&&v.NEED&&f(y)&&!c(y,o)&&h(y),y}}},function(r,a,i){var o=i(13),l=i(32),c=i(19);r.exports=function(s){var u=o(s),f=l.f;if(f)for(var d,h=f(s),v=c.f,y=0;h.length>y;)v.call(s,d=h[y++])&&u.push(d);return u}},function(r,a,i){var o=i(24);r.exports=Array.isArray||function(l){return o(l)=="Array"}},function(r,a,i){var o=i(9),l=i(41).f,c={}.toString,s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];r.exports.f=function(u){return s&&c.call(u)=="[object Window]"?function(f){try{return l(f)}catch{return s.slice()}}(u):l(o(u))}},function(r,a,i){var o=i(19),l=i(16),c=i(9),s=i(23),u=i(5),f=i(35),d=Object.getOwnPropertyDescriptor;a.f=i(4)?d:function(h,v){if(h=c(h),v=s(v,!0),f)try{return d(h,v)}catch{}if(u(h,v))return l(!o.f.call(h,v),h[v])}},function(r,a){},function(r,a,i){i(31)("asyncIterator")},function(r,a,i){i(31)("observable")},function(r,a,i){a.__esModule=!0;var o,l=i(77),c=(o=l)&&o.__esModule?o:{default:o};a.default=c.default||function(s){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&(s[d]=f[d])}return s}},function(r,a,i){r.exports={default:i(78),__esModule:!0}},function(r,a,i){i(79),r.exports=i(1).Object.assign},function(r,a,i){var o=i(15);o(o.S+o.F,"Object",{assign:i(80)})},function(r,a,i){var o=i(4),l=i(13),c=i(32),s=i(19),u=i(18),f=i(40),d=Object.assign;r.exports=!d||i(8)(function(){var h={},v={},y=Symbol(),M="abcdefghijklmnopqrst";return h[y]=7,M.split("").forEach(function(m){v[m]=m}),d({},h)[y]!=7||Object.keys(d({},v)).join("")!=M})?function(h,v){for(var y=u(h),M=arguments.length,m=1,g=c.f,_=s.f;M>m;)for(var p,C=f(arguments[m++]),z=g?l(C).concat(g(C)):l(C),H=z.length,F=0;H>F;)p=z[F++],o&&!_.call(C,p)||(y[p]=C[p]);return y}:d},function(r,a,i){a.__esModule=!0;var o=c(i(82)),l=c(i(85));function c(s){return s&&s.__esModule?s:{default:s}}a.default=function(s,u){if(Array.isArray(s))return s;if((0,o.default)(Object(s)))return function(f,d){var h=[],v=!0,y=!1,M=void 0;try{for(var m,g=(0,l.default)(f);!(v=(m=g.next()).done)&&(h.push(m.value),!d||h.length!==d);v=!0);}catch(_){y=!0,M=_}finally{try{!v&&g.return&&g.return()}finally{if(y)throw M}}return h}(s,u);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(r,a,i){r.exports={default:i(83),__esModule:!0}},function(r,a,i){i(29),i(20),r.exports=i(84)},function(r,a,i){var o=i(42),l=i(2)("iterator"),c=i(12);r.exports=i(1).isIterable=function(s){var u=Object(s);return u[l]!==void 0||"@@iterator"in u||c.hasOwnProperty(o(u))}},function(r,a,i){r.exports={default:i(86),__esModule:!0}},function(r,a,i){i(29),i(20),r.exports=i(87)},function(r,a,i){var o=i(10),l=i(88);r.exports=i(1).getIterator=function(c){var s=l(c);if(typeof s!="function")throw TypeError(c+" is not iterable!");return o(s.call(c))}},function(r,a,i){var o=i(42),l=i(2)("iterator"),c=i(12);r.exports=i(1).getIteratorMethod=function(s){if(s!=null)return s[l]||s["@@iterator"]||c[o(s)]}},function(r,a,i){r.exports={default:i(90),__esModule:!0}},function(r,a,i){i(91),r.exports=i(1).Object.keys},function(r,a,i){var o=i(18),l=i(13);i(92)("keys",function(){return function(c){return l(o(c))}})},function(r,a,i){var o=i(15),l=i(1),c=i(8);r.exports=function(s,u){var f=(l.Object||{})[s]||Object[s],d={};d[s]=u(f),o(o.S+o.F*c(function(){f(1)}),"Object",d)}},function(r,a,i){(function(o){var l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c=/^\s+|\s+$/g,s=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,u=/\{\n\/\* \[wrapped with (.+)\] \*/,f=/,? & /,d=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,v=/^\[object .+?Constructor\]$/,y=/^0o[0-7]+$/i,M=/^(?:0|[1-9]\d*)$/,m=parseInt,g=typeof o=="object"&&o&&o.Object===Object&&o,_=typeof self=="object"&&self&&self.Object===Object&&self,p=g||_||Function("return this")();function C(ue,$,N){switch(N.length){case 0:return ue.call($);case 1:return ue.call($,N[0]);case 2:return ue.call($,N[0],N[1]);case 3:return ue.call($,N[0],N[1],N[2])}return ue.apply($,N)}function z(ue,$){return!!(ue&&ue.length)&&function(N,J,se){if(J!=J)return function(Ve,Ge,pt,ft){for(var st=Ve.length,rt=pt+(ft?1:-1);ft?rt--:++rt<st;)if(Ge(Ve[rt],rt,Ve))return rt;return-1}(N,H,se);for(var _e=se-1,Ae=N.length;++_e<Ae;)if(N[_e]===J)return _e;return-1}(ue,$,0)>-1}function H(ue){return ue!=ue}function F(ue,$){for(var N=ue.length,J=0;N--;)ue[N]===$&&J++;return J}function L(ue,$){for(var N=-1,J=ue.length,se=0,_e=[];++N<J;){var Ae=ue[N];Ae!==$&&Ae!=="__lodash_placeholder__"||(ue[N]="__lodash_placeholder__",_e[se++]=N)}return _e}var O,A,G,W=Function.prototype,ce=Object.prototype,X=p["__core-js_shared__"],K=(O=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",fe=W.toString,oe=ce.hasOwnProperty,ge=ce.toString,k=RegExp("^"+fe.call(oe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=Object.create,Ce=Math.max,D=Math.min,He=(A=We(Object,"defineProperty"),(G=We.name)&&G.length>2?A:void 0);function Ze(ue){return cn(ue)?ze(ue):{}}function je(ue){return!(!cn(ue)||function($){return!!K&&K in $}(ue))&&(function($){var N=cn($)?ge.call($):"";return N=="[object Function]"||N=="[object GeneratorFunction]"}(ue)||function($){var N=!1;if($!=null&&typeof $.toString!="function")try{N=!!($+"")}catch{}return N}(ue)?k:v).test(function($){if($!=null){try{return fe.call($)}catch{}try{return $+""}catch{}}return""}(ue))}function it(ue,$,N,J){for(var se=-1,_e=ue.length,Ae=N.length,Ve=-1,Ge=$.length,pt=Ce(_e-Ae,0),ft=Array(Ge+pt),st=!J;++Ve<Ge;)ft[Ve]=$[Ve];for(;++se<Ae;)(st||se<_e)&&(ft[N[se]]=ue[se]);for(;pt--;)ft[Ve++]=ue[se++];return ft}function T(ue,$,N,J){for(var se=-1,_e=ue.length,Ae=-1,Ve=N.length,Ge=-1,pt=$.length,ft=Ce(_e-Ve,0),st=Array(ft+pt),rt=!J;++se<ft;)st[se]=ue[se];for(var yt=se;++Ge<pt;)st[yt+Ge]=$[Ge];for(;++Ae<Ve;)(rt||se<_e)&&(st[yt+N[Ae]]=ue[se++]);return st}function B(ue){return function(){var $=arguments;switch($.length){case 0:return new ue;case 1:return new ue($[0]);case 2:return new ue($[0],$[1]);case 3:return new ue($[0],$[1],$[2]);case 4:return new ue($[0],$[1],$[2],$[3]);case 5:return new ue($[0],$[1],$[2],$[3],$[4]);case 6:return new ue($[0],$[1],$[2],$[3],$[4],$[5]);case 7:return new ue($[0],$[1],$[2],$[3],$[4],$[5],$[6])}var N=Ze(ue.prototype),J=ue.apply(N,$);return cn(J)?J:N}}function R(ue,$,N,J,se,_e,Ae,Ve,Ge,pt){var ft=128&$,st=1&$,rt=2&$,yt=24&$,Nt=512&$,sn=rt?void 0:B(ue);return function Zt(){for(var Pt=arguments.length,et=Array(Pt),$t=Pt;$t--;)et[$t]=arguments[$t];if(yt)var Jt=be(Zt),Jn=F(et,Jt);if(J&&(et=it(et,J,se,yt)),_e&&(et=T(et,_e,Ae,yt)),Pt-=Jn,yt&&Pt<pt){var Pn=L(et,Jt);return le(ue,$,R,Zt.placeholder,N,et,Pn,Ve,Ge,pt-Pt)}var en=st?N:this,Rn=rt?en[ue]:ue;return Pt=et.length,Ve?et=Ut(et,Ve):Nt&&Pt>1&&et.reverse(),ft&&Ge<Pt&&(et.length=Ge),this&&this!==p&&this instanceof Zt&&(Rn=sn||B(Rn)),Rn.apply(en,et)}}function le(ue,$,N,J,se,_e,Ae,Ve,Ge,pt){var ft=8&$;$|=ft?32:64,4&($&=~(ft?64:32))||($&=-4);var st=N(ue,$,se,ft?_e:void 0,ft?Ae:void 0,ft?void 0:_e,ft?void 0:Ae,Ve,Ge,pt);return st.placeholder=J,wt(st,ue,$)}function xe(ue,$,N,J,se,_e,Ae,Ve){var Ge=2&$;if(!Ge&&typeof ue!="function")throw new TypeError("Expected a function");var pt=J?J.length:0;if(pt||($&=-97,J=se=void 0),Ae=Ae===void 0?Ae:Ce(vr(Ae),0),Ve=Ve===void 0?Ve:vr(Ve),pt-=se?se.length:0,64&$){var ft=J,st=se;J=se=void 0}var rt=[ue,$,N,J,se,ft,st,_e,Ae,Ve];if(ue=rt[0],$=rt[1],N=rt[2],J=rt[3],se=rt[4],!(Ve=rt[9]=rt[9]==null?Ge?0:ue.length:Ce(rt[9]-pt,0))&&24&$&&($&=-25),$&&$!=1)yt=$==8||$==16?function(Nt,sn,Zt){var Pt=B(Nt);return function et(){for(var $t=arguments.length,Jt=Array($t),Jn=$t,Pn=be(et);Jn--;)Jt[Jn]=arguments[Jn];var en=$t<3&&Jt[0]!==Pn&&Jt[$t-1]!==Pn?[]:L(Jt,Pn);if(($t-=en.length)<Zt)return le(Nt,sn,R,et.placeholder,void 0,Jt,en,void 0,void 0,Zt-$t);var Rn=this&&this!==p&&this instanceof et?Pt:Nt;return C(Rn,this,Jt)}}(ue,$,Ve):$!=32&&$!=33||se.length?R.apply(void 0,rt):function(Nt,sn,Zt,Pt){var et=1&sn,$t=B(Nt);return function Jt(){for(var Jn=-1,Pn=arguments.length,en=-1,Rn=Pt.length,Tr=Array(Rn+Pn),F1=this&&this!==p&&this instanceof Jt?$t:Nt;++en<Rn;)Tr[en]=Pt[en];for(;Pn--;)Tr[en++]=arguments[++Jn];return C(F1,et?Zt:this,Tr)}}(ue,$,N,J);else var yt=function(Nt,sn,Zt){var Pt=1&sn,et=B(Nt);return function $t(){var Jt=this&&this!==p&&this instanceof $t?et:Nt;return Jt.apply(Pt?Zt:this,arguments)}}(ue,$,N);return wt(yt,ue,$)}function be(ue){return ue.placeholder}function We(ue,$){var N=function(J,se){return J==null?void 0:J[se]}(ue,$);return je(N)?N:void 0}function Le(ue){var $=ue.match(u);return $?$[1].split(f):[]}function Je(ue,$){var N=$.length,J=N-1;return $[J]=(N>1?"& ":"")+$[J],$=$.join(N>2?", ":" "),ue.replace(s,`{
78
+ `):"",this.name="UnsubscriptionError",this.errors=n}});function Zc(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var To=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,a,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var l=mo(o),c=l.next();!c.done;c=l.next()){var s=c.value;s.remove(this)}}catch(y){t={error:y}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}else o.remove(this);var u=this.initialTeardown;if(vn(u))try{u()}catch(y){i=y instanceof ls?y.errors:[y]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=mo(f),h=d.next();!h.done;h=d.next()){var v=h.value;try{wg(v)}catch(y){i=i??[],y instanceof ls?i=Xc(Xc([],Qc(i)),Qc(y.errors)):i.push(y)}}}catch(y){r={error:y}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(r)throw r.error}}}if(i)throw new ls(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)wg(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&Zc(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&Zc(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),jA=To.EMPTY;function AA(e){return e instanceof To||e&&"closed"in e&&vn(e.remove)&&vn(e.add)&&vn(e.unsubscribe)}function wg(e){vn(e)?e():e.unsubscribe()}var FA={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},gxe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,Xc([e,t],Qc(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function IA(e){gxe.setTimeout(function(){throw e})}function Og(){}function A3(e){e()}var G9=function(e){A1(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,AA(n)&&n.add(r)):r.destination=wxe,r}return t.create=function(n,r,a){return new Jc(n,r,a)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(To),yxe=Function.prototype.bind;function cs(e,t){return yxe.call(e,t)}var bxe=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){H2(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){H2(r)}else H2(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){H2(n)}},e}(),Jc=function(e){A1(t,e);function t(n,r,a){var i=e.call(this)||this,o;if(vn(n)||!n)o={next:n??void 0,error:r??void 0,complete:a??void 0};else{var l;i&&FA.useDeprecatedNextContext?(l=Object.create(n),l.unsubscribe=function(){return i.unsubscribe()},o={next:n.next&&cs(n.next,l),error:n.error&&cs(n.error,l),complete:n.complete&&cs(n.complete,l)}):o=n}return i.destination=new bxe(o),i}return t}(G9);function H2(e){IA(e)}function _xe(e){throw e}var wxe={closed:!0,next:Og,error:_xe,complete:Og},Y9=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Oxe(e){return e}function Mxe(e){return e.length===0?Oxe:e.length===1?e[0]:function(n){return e.reduce(function(r,a){return a(r)},n)}}var a1=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var a=this,i=xxe(t)?t:new Jc(t,n,r);return A3(function(){var o=a,l=o.operator,c=o.source;i.add(l?l.call(i,c):c?a._subscribe(i):a._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Mg(n),new n(function(a,i){var o=new Jc({next:function(l){try{t(l)}catch(c){i(c),o.unsubscribe()}},error:i,complete:a});r.subscribe(o)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[Y9]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Mxe(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Mg(t),new t(function(r,a){var i;n.subscribe(function(o){return i=o},function(o){return a(o)},function(){return r(i)})})},e.create=function(t){return new e(t)},e}();function Mg(e){var t;return(t=e??FA.Promise)!==null&&t!==void 0?t:Promise}function zxe(e){return e&&vn(e.next)&&vn(e.error)&&vn(e.complete)}function xxe(e){return e&&e instanceof G9||zxe(e)&&AA(e)}function Sxe(e){return vn(e==null?void 0:e.lift)}function Q9(e){return function(t){if(Sxe(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function X9(e,t,n,r,a){return new Cxe(e,t,n,r,a)}var Cxe=function(e){A1(t,e);function t(n,r,a,i,o,l){var c=e.call(this,n)||this;return c.onFinalize=o,c.shouldUnsubscribe=l,c._next=r?function(s){try{r(s)}catch(u){n.error(u)}}:e.prototype._next,c._error=i?function(s){try{i(s)}catch(u){n.error(u)}finally{this.unsubscribe()}}:e.prototype._error,c._complete=a?function(){try{a()}catch(s){n.error(s)}finally{this.unsubscribe()}}:e.prototype._complete,c}return t.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))}},t}(G9),kxe=K9(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Z9=function(e){A1(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new zg(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new kxe},t.prototype.next=function(n){var r=this;A3(function(){var a,i;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=mo(r.currentObservers),l=o.next();!l.done;l=o.next()){var c=l.value;c.next(n)}}catch(s){a={error:s}}finally{try{l&&!l.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}})},t.prototype.error=function(n){var r=this;A3(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var a=r.observers;a.length;)a.shift().error(n)}})},t.prototype.complete=function(){var n=this;A3(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,a=this,i=a.hasError,o=a.isStopped,l=a.observers;return i||o?jA:(this.currentObservers=null,l.push(n),new To(function(){r.currentObservers=null,Zc(l,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,a=r.hasError,i=r.thrownError,o=r.isStopped;a?n.error(i):o&&n.complete()},t.prototype.asObservable=function(){var n=new a1;return n.source=this,n},t.create=function(n,r){return new zg(n,r)},t}(a1),zg=function(e){A1(t,e);function t(n,r){var a=e.call(this)||this;return a.destination=n,a.source=r,a}return t.prototype.next=function(n){var r,a;(a=(r=this.destination)===null||r===void 0?void 0:r.next)===null||a===void 0||a.call(r,n)},t.prototype.error=function(n){var r,a;(a=(r=this.destination)===null||r===void 0?void 0:r.error)===null||a===void 0||a.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,a;return(a=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&a!==void 0?a:jA},t}(Z9),J9={now:function(){return(J9.delegate||Date).now()},delegate:void 0},Exe=function(e){A1(t,e);function t(n,r,a){n===void 0&&(n=1/0),r===void 0&&(r=1/0),a===void 0&&(a=J9);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=r,i._timestampProvider=a,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,r),i}return t.prototype.next=function(n){var r=this,a=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,l=r._timestampProvider,c=r._windowTime;a||(i.push(n),!o&&i.push(l.now()+c)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),a=this,i=a._infiniteTimeWindow,o=a._buffer,l=o.slice(),c=0;c<l.length&&!n.closed;c+=i?1:2)n.next(l[c]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,a=n._timestampProvider,i=n._buffer,o=n._infiniteTimeWindow,l=(o?1:2)*r;if(r<1/0&&l<i.length&&i.splice(0,i.length-l),!o){for(var c=a.now(),s=0,u=1;u<i.length&&i[u]<=c;u+=2)s=u;s&&i.splice(0,s+1)}},t}(Z9),Pxe=function(e){A1(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return this},t}(To),xg={setInterval:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setInterval.apply(void 0,Xc([e,t],Qc(n)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},Txe=function(e){A1(t,e);function t(n,r){var a=e.call(this,n,r)||this;return a.scheduler=n,a.work=r,a.pending=!1,a}return t.prototype.schedule=function(n,r){var a;if(r===void 0&&(r=0),this.closed)return this;this.state=n;var i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,r)),this.pending=!0,this.delay=r,this.id=(a=this.id)!==null&&a!==void 0?a:this.requestAsyncId(o,this.id,r),this},t.prototype.requestAsyncId=function(n,r,a){return a===void 0&&(a=0),xg.setInterval(n.flush.bind(n,this),a)},t.prototype.recycleAsyncId=function(n,r,a){if(a===void 0&&(a=0),a!=null&&this.delay===a&&this.pending===!1)return r;r!=null&&xg.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var a=this._execute(n,r);if(a)return a;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var a=!1,i;try{this.work(n)}catch(o){a=!0,i=o||new Error("Scheduled action threw falsy error")}if(a)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,a=n.scheduler,i=a.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Zc(i,this),r!=null&&(this.id=this.recycleAsyncId(a,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Pxe),Sg=function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)},e.now=J9.now,e}(),$xe=function(e){A1(t,e);function t(n,r){r===void 0&&(r=Sg.now);var a=e.call(this,n,r)||this;return a.actions=[],a._active=!1,a}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var a;this._active=!0;do if(a=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,a){for(;n=r.shift();)n.unsubscribe();throw a}},t}(Sg),BA=new $xe(Txe),Lxe=BA,Hxe=new a1(function(e){return e.complete()});function Vxe(e){return e&&vn(e.schedule)}var jxe=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Axe(e){return vn(e==null?void 0:e.then)}function Fxe(e){return vn(e[Y9])}function Ixe(e){return Symbol.asyncIterator&&vn(e==null?void 0:e[Symbol.asyncIterator])}function Bxe(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Rxe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Dxe=Rxe();function Nxe(e){return vn(e==null?void 0:e[Dxe])}function Wxe(e){return vxe(this,arguments,function(){var n,r,a,i;return VA(this,function(o){switch(o.label){case 0:n=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,ro(n.read())];case 3:return r=o.sent(),a=r.value,i=r.done,i?[4,ro(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,ro(a)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function Uxe(e){return vn(e==null?void 0:e.getReader)}function Cg(e){if(e instanceof a1)return e;if(e!=null){if(Fxe(e))return qxe(e);if(jxe(e))return Kxe(e);if(Axe(e))return Gxe(e);if(Ixe(e))return RA(e);if(Nxe(e))return Yxe(e);if(Uxe(e))return Qxe(e)}throw Bxe(e)}function qxe(e){return new a1(function(t){var n=e[Y9]();if(vn(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Kxe(e){return new a1(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Gxe(e){return new a1(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,IA)})}function Yxe(e){return new a1(function(t){var n,r;try{for(var a=mo(e),i=a.next();!i.done;i=a.next()){var o=i.value;if(t.next(o),t.closed)return}}catch(l){n={error:l}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}t.complete()})}function RA(e){return new a1(function(t){Xxe(e,t).catch(function(n){return t.error(n)})})}function Qxe(e){return RA(Wxe(e))}function Xxe(e,t){var n,r,a,i;return pxe(this,void 0,void 0,function(){var o,l;return VA(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),n=mxe(e),c.label=1;case 1:return[4,n.next()];case 2:if(r=c.sent(),!!r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return l=c.sent(),a={error:l},[3,11];case 6:return c.trys.push([6,,9,10]),r&&!r.done&&(i=n.return)?[4,i.call(n)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(a)throw a.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}var DA=K9(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function Zxe(e,t){var n=typeof t=="object";return new Promise(function(r,a){var i=!1,o;e.subscribe({next:function(l){o=l,i=!0},error:a,complete:function(){i?r(o):n?r(t.defaultValue):a(new DA)}})})}function Jxe(e,t){var n=typeof t=="object";return new Promise(function(r,a){var i=new Jc({next:function(o){r(o),i.unsubscribe()},error:a,complete:function(){n?r(t.defaultValue):a(new DA)}});e.subscribe(i)})}function eSe(e){return e instanceof Date&&!isNaN(e)}function tSe(e,t){return Q9(function(n,r){var a=0;n.subscribe(X9(r,function(i){r.next(e.call(t,i,a++))}))})}function nSe(e,t,n){e===void 0&&(e=0),n===void 0&&(n=Lxe);var r=-1;return t!=null&&(Vxe(t)?n=t:r=t),new a1(function(a){var i=eSe(e)?+e-n.now():e;i<0&&(i=0);var o=0;return n.schedule(function(){a.closed||(a.next(o++),0<=r?this.schedule(void 0,r):a.complete())},i)})}function rSe(e,t){return e===void 0&&(e=0),t===void 0&&(t=BA),e<0&&(e=0),nSe(e,e,t)}function aSe(e,t){return function(n,r){return!e.call(t,n,r)}}function y1(e,t){return Q9(function(n,r){var a=0;n.subscribe(X9(r,function(i){return e.call(t,i,a++)&&r.next(i)}))})}function iSe(e,t,n){return[y1(t,n)(Cg(e)),y1(aSe(t,n))(Cg(e))]}function il(e){return e<=0?function(){return Hxe}:Q9(function(t,n){var r=0;t.subscribe(X9(n,function(a){++r<=e&&(n.next(a),e<=r&&n.complete())}))})}var NA=(e=>(e.Msg="msg",e))(NA||{}),WA=(e=>(e.Ack="ack",e.Syn="syn",e))(WA||{}),oSe=(e,t)=>n=>({postMessage:r=>{const{errorCatcher:a=()=>()=>{},...i}=t??{};e.clients.get(n).then(o=>o==null?void 0:o.postMessage(r,i)).catch(a(n,r))}}),ss=(e,t)=>({postMessage:n=>{e.postMessage(n,(t==null?void 0:t.targetOrigin)??"*",t==null?void 0:t.transfer)}}),lSe={fromChild(e){return{from:e,to:ss(e.parent)}},fromParent(e){if(e.contentWindow){if(e.ownerDocument.defaultView)return{from:e.ownerDocument.defaultView,to:ss(e.contentWindow)};throw new TypeError("iframe ownerDocument.defaultView is null")}throw new TypeError("iframe contentWindow is null")},fromServiceWorkerToReceiver:oSe,fromWindowToReceiver:ss},UA=Object.values(WA),cSe=Object.values(NA),sSe=e=>e.data,us=e=>t=>t.type===e,kg=e=>{const t=e.data;return typeof t=="object"&&t!==null&&"type"in t&&typeof t.type=="string"&&[...UA,...cSe].includes(t.type)&&"instance"in t&&typeof t.instance=="string"&&"content"in t},uSe=()=>{let e="#";for(let t=0;t<3;t++)e+=`0${Math.floor(Math.random()*Math.pow(16,2)/2).toString(16)}`.slice(-2);return e},ra,fSe=(ra=class{constructor(t,n){Tn(this,"__instance");Tn(this,"__sender");Tn(this,"__listener");Tn(this,"__log");Tn(this,"__receiver");Tn(this,"__handler");Tn(this,"__subscription");Tn(this,"__okToWrite");Tn(this,"__write$");Tn(this,"__synack$");Tn(this,"__user$");Tn(this,"__colors");const r=new Z9;this.__instance=n.instance??ra.__generateId(),this.__listener=t,this.__sender=n.from,this.__receiver=n.to,this.__handler=l=>r.next(l),this.__log=n.log&&n.log.bind(this),this.__subscription=new To,this.__sender.addEventListener("message",this.__handler);const[a,i]=iSe(r.pipe(y1(kg),tSe(sSe)),l=>UA.includes(l.type));this.__synack$=a,this.__user$=i,this.__okToWrite=new Exe(1),this.__write$=this.__okToWrite.pipe(il(1));const o=uSe();this.__colors={bg:`${o}22`,fg:o},this.__connect(n!=null&&n.period?n.period:10)}__connect(t){const n=rSe(t).subscribe(()=>this.__receiver.postMessage({content:this.__instance,instance:this.__instance,type:"syn"}));this.__subscription.add(n),this.__subscription.add(this.__user$.subscribe(r=>{Zxe(this.__okToWrite.pipe(il(1))).then(a=>{r.instance===a&&(this.__listener(r.content),r._id!==void 0&&this.__receiver.postMessage({content:r._id,instance:this.__instance,type:"ack"}))}).catch(a=>{console.error("Unexpected error",a.message)})})),this.__subscription.add(this.__synack$.pipe(y1(us("ack")),y1(({content:r})=>r===this.instance),il(1)).subscribe(({instance:r})=>{this.__okToWrite.next(r),n.unsubscribe()})),this.__subscription.add(this.__synack$.pipe(y1(us("syn")),y1(({instance:r})=>r!==this.instance),il(1)).subscribe(({content:r})=>{this.__receiver.postMessage({content:r,instance:this.instance,type:"ack"})}))}__write(t,n){this.__subscription.add(this.__write$.subscribe(()=>{var a;const r={_id:n,content:t,instance:this.__instance,type:"msg"};this.__receiver.postMessage(r),(a=this.__log)==null||a.call(this,t)}))}disconnect(){this.__subscription.unsubscribe(),this.__sender.removeEventListener("message",this.__handler)}send(t){this.__write(t)}ackSend(t){let n;const r=new Promise(i=>{n=i}),a=ra.__generateId();return this.__subscription.add(this.__synack$.pipe(y1(us("ack")),y1(({content:i})=>i===a),il(1)).subscribe(()=>n())),this.__write(t,a),r}get instance(){return this.__instance}get colors(){return this.__colors}get ready(){return Jxe(this.__write$).then(()=>{})}},Tn(ra,"__generateId",()=>window?window.crypto.randomUUID():hxe("crypto").randomUUID()),Tn(ra,"utils",{isPostChannelMessage:kg}),ra),qA=(e,t)=>{const n=new fSe(e,t);return n.ready.then(()=>n)},dSe=Object.defineProperty,hSe=(e,t,n)=>t in e?dSe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,W1=(e,t,n)=>(hSe(e,typeof t!="symbol"?t+"":t,n),n);class pSe{constructor(t){W1(this,"_input"),W1(this,"_length"),W1(this,"_idx",0),W1(this,"_mode",0),W1(this,"_literals",[]),W1(this,"_variables",[]),W1(this,"_braketCount",0),W1(this,"_done",!1),this._input=t,this._length=t.length}concatToLastLiteral(t){this._literals.push(this._literals.pop().concat(t))}concatToLastVariable(t){this._variables.push(this._variables.pop().concat(t))}get(){const t=[...this._literals],n=Object.assign([],t);return Object.defineProperty(n,"raw",{value:t,writable:!1}),{literals:n,variables:this._variables}}run(){for(this._length===0&&this._literals.push("");this._idx<this._length;){const t=this._input.charAt(this._idx);switch(this._mode){case 0:{this._literals.length===0&&this._literals.push(""),t==="{"&&this._idx+1!==this._length&&this._input.charAt(this._idx+1)==="{"?(this._literals.push(""),this._variables.push(""),this._mode=1,this._idx+=1):this.concatToLastLiteral(t);break}case 1:t==="}"&&this._input.charAt(this._idx+1)==="}"?(this._mode=0,this._idx+=1):this.concatToLastVariable(t);break}this._idx+=1}this._mode===1&&(this._literals.pop(),this.concatToLastLiteral("{{".concat(this._variables.pop()))),this._done=!0}}const vSe=e=>{const t=e.trim();if(!(t.startsWith("[")&&t.endsWith("]")))return!1;const n=t.slice(1).slice(0,-1).trim();return Number.parseInt(n).toString(10)===n},mSe=e=>Number.parseInt(e.trim().slice(1).slice(0,-1).trim());function gSe(e,t,n){if(!t.trim())return n?"{{".concat(t,"}}"):"";const r=t.trim().split(".").reduce((a,i)=>{if(Array.isArray(a)&&vSe(i))return a[mSe(i)];if(typeof a=="object"&&a!==null&&i in a)return a[i]},{...e});return typeof r=="string"?r:n?"{{".concat(t,"}}"):""}function ySe(e,t,n=!1){const r=new pSe(e);r.run();const a=r.get();let[i]=a.literals;for(let o=0;o<a.variables.length;o++)i=i.concat(gSe(t,a.variables[o],n)).concat(a.literals[o+1]);return i}const bSe=(e,t)=>Object.fromEntries(Object.entries(e).map(([n,r])=>[n,ySe(r,t)]));var KA=(e=>(e[e.Default=0]="Default",e[e.Skip=1]="Skip",e))(KA||{});const Of="__mia_preview_id",GA=1e6,_Se={"click-element":0,"ctrl-space":0,"focus-element":0,mousedown:0,mousemove:1,"new-configuration":0,notification:0,options:0,"request-resource":0,"set-source-map":0,"tag-info":0,"toggle-components-explorer":1,unload:0,update:0,updated:0},wSe=()=>({componentsExplorerVisible:new O8(!1),configuration:new $a,focus:new O8(void 0),infos:new $a,mocks:new $a,mode:new O8("select"),notification:new $a,setSourceMap:new $a(1),swSourceMapAck:new $a(1),updated:new n0,uppercaseTags:new Set}),YA=(e,t)=>{let n=t;if(t===0){const r=e.getValue();r==="interact"?n="select":r==="select"&&(n="interact")}e.next(n)},OSe=e=>t=>{switch(t.type){}};function MSe(e,t,n){const r=b.useMemo(()=>t,[]),[a,i]=b.useState(n);return b.useEffect(()=>{const o=e.subscribe(l=>{i(c=>r(c,l))});return()=>o.unsubscribe()},[e,r]),a}const zSe=async(e,t)=>{const{navigator:{serviceWorker:n}}=e;return Promise.all([n.register("./service-worker.js"),n.ready.then(r=>{if(!r.active)throw new TypeError("smth went wrong on sw activation");return qA(OSe(),{from:window.navigator.serviceWorker,instance:"preview-to-service-worker",to:r.active})})]).then(([,r])=>r)},xSe=(e,t)=>n=>{const r=n;switch(r.type){case"options":{const{content:{disableOverlay:a,redirectTo:i,timeout:o,run:l,language:c}}=r;l&&t.swSourceMapAck.next(0),a&&(Object.defineProperty(e,"__BACKOFFICE_CONFIGURATOR_DISABLE_OVERLAY__",{value:!0}),t.mode.next("interact")),o!==void 0&&Object.defineProperty(e,"__BACKOFFICE_CONFIGURATOR_PREVIEW_TIMEOUT__",{value:o}),c&&Object.defineProperty(e.navigator,"language",{value:c});const{history:s}=e;i&&s.pushState(s.state,"",i);break}case"toggle-components-explorer":t.componentsExplorerVisible.next(r.content.visible);break;case"ctrl-space":YA(t.mode,r.content.mode);break;case"new-configuration":t.configuration.next({...r.content,type:"reset"});break;case"update":t.configuration.next({...r.content,type:"update"});break;case"focus-element":t.focus.next(r.content);break;case"set-source-map":{const{content:a}=r;t.setSourceMap.next(Object.entries(a).reduce((i,[o,l])=>{try{const{href:c}=new URL(o,e.location.href),s=typeof l=="string"?{headers:{},query:{},to:l}:l;i[c]={originalFrom:o,...s}}catch{}return i},{}));break}}},SSe=(e,t)=>qA(xSe(e,t),{from:e,instance:"preview-to-main-thread",log(n){if(e.__BACKOFFICE_CONFIGURATOR_LOG_LEVEL__==="debug"&&console.assert(e.parent!==e),e.__BACKOFFICE_CONFIGURATOR_LOG_LEVEL__==="debug"&&_Se[n.type]!==KA.Skip){const r={background:this.colors.bg,color:this.colors.fg};console.groupCollapsed("%c Msg from ".concat(e.origin," (inner) "),Object.entries(r).map(([a,i])=>"".concat(a,": ").concat(i)).join("; ")),console.info("window '".concat(e.origin,"' is sending a message of type %c ").concat(n.type," "),"background: lightgreen; color: darkgreen"),console.log(n.content),console.groupEnd()}},to:lSe.fromWindowToReceiver(e.parent)}),Eg={"components.DocIcon.Popover.title":{en:"Open documentation",it:"Apri la documentazione"},"components.InfoBox.Popover.title":{en:"Pods list",it:"Lista di Pod"},"components.components-explorer.detail.description":{en:"Description",it:"Descrizione"},"components.components-explorer.detail.description.expand":{en:"Show more",it:"Espandi"},"components.components-explorer.detail.description.reduce":{en:"Show less",it:"Riduci"},"components.components-explorer.detail.example":{en:"Example",it:"Esempio"},"components.components-explorer.detail.no-data.subtitle":{en:"The library does not provide any information about this component",it:"La libreria non fornisce alcuna informazione riguardo questo componente"},"components.components-explorer.detail.no-data.title":{en:"No information available",it:"Nessuna informazione disponibile"},"components.components-explorer.drawer.lib-filter.ph":{en:"Filter by library",it:"Filtra per libreria"},"components.components-explorer.drawer.no-data.subtitle":{en:"There are no components for the given sources and/or filters",it:"Non ci sono componenti per le sorgenti e/o filtri dati"},"components.components-explorer.drawer.no-data.title":{en:"No components found",it:"Nessun componente trovato"},"components.components-explorer.drawer.search.ph":{en:"Search component",it:"Cerca componente"},"components.components-explorer.drawer.title":{en:"Components Explorer",it:"Esploratore Componenti"},"components.components-explorer.other-libs.name":{en:"Others",it:"Altre"},"copyContent.copied":{en:"Copied",it:"Copiato"},"copyContent.copy":{en:"Copy",it:"Copia"},"json.collapseAll":{en:"Collapse All",it:"Collassa Tutto"},"json.expandAll":{en:"Expand All",it:"Espandi Tutto"}},CSe="en",kSe=e=>["en","it"].includes(e),Ln=(e,t=window.navigator.language)=>{const n=t.substring(0,2);return kSe(n)?Eg[e][n]:Eg[e][CSe]},ESe=e=>b.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",...e},b.createElement("path",{d:"M5.4,2.5A3.074,3.074,0,0,1,8,3.959a3.072,3.072,0,0,1,2.6-1.459h3.907A.494.494,0,0,1,15,3h0V13a.494.494,0,0,1-.488.5H9.954A1.483,1.483,0,0,0,8.489,15a.471.471,0,0,1-.407.494L8,15.5a.474.474,0,0,1-.488-.5h0l-.007-.144A1.479,1.479,0,0,0,6.047,13.5H1.489A.494.494,0,0,1,1,13H1V3a.494.494,0,0,1,.489-.5Zm0,1H1.977v9h4.07a2.393,2.393,0,0,1,1.442.482h0L7.511,13V5.667A2.146,2.146,0,0,0,5.547,3.505h0Zm8.627,0H10.605A2.142,2.142,0,0,0,8.489,5.667h0V13l.023-.018a2.4,2.4,0,0,1,1.282-.477h0l.161-.005h4.069Z"})),PSe=e=>b.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.665 7.99996C14.665 11.6809 11.6809 14.665 7.99996 14.665C4.31898 14.665 1.33496 11.6809 1.33496 7.99996C1.33496 4.31898 4.31898 1.33496 7.99996 1.33496C11.6809 1.33496 14.665 4.31898 14.665 7.99996ZM7 7.49268C7 7.21653 7.22386 6.99268 7.5 6.99268H8C8.27614 6.99268 8.5 7.21653 8.5 7.49268V10.4927C8.77614 10.4927 9 10.7165 9 10.9927C9 11.2688 8.77614 11.4927 8.5 11.4927H8C7.72386 11.4927 7.5 11.2688 7.5 10.9927V7.99268C7.22386 7.99268 7 7.76882 7 7.49268ZM8.625 5.24268C8.625 5.65689 8.28921 5.99268 7.875 5.99268C7.46079 5.99268 7.125 5.65689 7.125 5.24268C7.125 4.82846 7.46079 4.49268 7.875 4.49268C8.28921 4.49268 8.625 4.82846 8.625 5.24268Z",fill:"currentColor"})),TSe={infoBox:{alignItems:"center",cursor:"help",display:"flex"}},$Se=({docLink:e,getPopupContainer:t=a=>a,onClick:n,placement:r="top"})=>{const a=e?"components.DocIcon.Popover.title":"components.InfoBox.Popover.title",i=Se.jsx("span",{children:Ln(a)});return Se.jsx(q5,{arrowPointAtCenter:!0,getPopupContainer:t,placement:r,title:i,children:e?Se.jsx("a",{href:e,rel:"noreferrer",style:{display:"inherit"},target:"_blank",children:Se.jsx(ESe,{fill:"var(--color-blue, #1890ff)"})}):Se.jsx("span",{onClick:n,style:TSe.infoBox,children:Se.jsx(PSe,{fill:"var(--color-grey2, #AAAAAA)"})})})};var QA={exports:{}};(function(e,t){(function(n,r){e.exports=r(b)})(mn,function(n){return function(r){var a={};function i(o){if(a[o])return a[o].exports;var l=a[o]={i:o,l:!1,exports:{}};return r[o].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=r,i.c=a,i.d=function(o,l,c){i.o(o,l)||Object.defineProperty(o,l,{enumerable:!0,get:c})},i.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},i.t=function(o,l){if(1&l&&(o=i(o)),8&l||4&l&&typeof o=="object"&&o&&o.__esModule)return o;var c=Object.create(null);if(i.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:o}),2&l&&typeof o!="string")for(var s in o)i.d(c,s,(function(u){return o[u]}).bind(null,s));return c},i.n=function(o){var l=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(l,"a",l),l},i.o=function(o,l){return Object.prototype.hasOwnProperty.call(o,l)},i.p="",i(i.s=48)}([function(r,a){r.exports=n},function(r,a){var i=r.exports={version:"2.6.12"};typeof __e=="number"&&(__e=i)},function(r,a,i){var o=i(26)("wks"),l=i(17),c=i(3).Symbol,s=typeof c=="function";(r.exports=function(u){return o[u]||(o[u]=s&&c[u]||(s?c:l)("Symbol."+u))}).store=o},function(r,a){var i=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=i)},function(r,a,i){r.exports=!i(8)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(r,a){var i={}.hasOwnProperty;r.exports=function(o,l){return i.call(o,l)}},function(r,a,i){var o=i(7),l=i(16);r.exports=i(4)?function(c,s,u){return o.f(c,s,l(1,u))}:function(c,s,u){return c[s]=u,c}},function(r,a,i){var o=i(10),l=i(35),c=i(23),s=Object.defineProperty;a.f=i(4)?Object.defineProperty:function(u,f,d){if(o(u),f=c(f,!0),o(d),l)try{return s(u,f,d)}catch{}if("get"in d||"set"in d)throw TypeError("Accessors not supported!");return"value"in d&&(u[f]=d.value),u}},function(r,a){r.exports=function(i){try{return!!i()}catch{return!0}}},function(r,a,i){var o=i(40),l=i(22);r.exports=function(c){return o(l(c))}},function(r,a,i){var o=i(11);r.exports=function(l){if(!o(l))throw TypeError(l+" is not an object!");return l}},function(r,a){r.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},function(r,a){r.exports={}},function(r,a,i){var o=i(39),l=i(27);r.exports=Object.keys||function(c){return o(c,l)}},function(r,a){r.exports=!0},function(r,a,i){var o=i(3),l=i(1),c=i(53),s=i(6),u=i(5),f=function(d,h,v){var y,M,m,g=d&f.F,_=d&f.G,p=d&f.S,C=d&f.P,z=d&f.B,H=d&f.W,F=_?l:l[h]||(l[h]={}),L=F.prototype,O=_?o:p?o[h]:(o[h]||{}).prototype;for(y in _&&(v=h),v)(M=!g&&O&&O[y]!==void 0)&&u(F,y)||(m=M?O[y]:v[y],F[y]=_&&typeof O[y]!="function"?v[y]:z&&M?c(m,o):H&&O[y]==m?function(A){var G=function(W,ce,X){if(this instanceof A){switch(arguments.length){case 0:return new A;case 1:return new A(W);case 2:return new A(W,ce)}return new A(W,ce,X)}return A.apply(this,arguments)};return G.prototype=A.prototype,G}(m):C&&typeof m=="function"?c(Function.call,m):m,C&&((F.virtual||(F.virtual={}))[y]=m,d&f.R&&L&&!L[y]&&s(L,y,m)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,r.exports=f},function(r,a){r.exports=function(i,o){return{enumerable:!(1&i),configurable:!(2&i),writable:!(4&i),value:o}}},function(r,a){var i=0,o=Math.random();r.exports=function(l){return"Symbol(".concat(l===void 0?"":l,")_",(++i+o).toString(36))}},function(r,a,i){var o=i(22);r.exports=function(l){return Object(o(l))}},function(r,a){a.f={}.propertyIsEnumerable},function(r,a,i){var o=i(52)(!0);i(34)(String,"String",function(l){this._t=String(l),this._i=0},function(){var l,c=this._t,s=this._i;return s>=c.length?{value:void 0,done:!0}:(l=o(c,s),this._i+=l.length,{value:l,done:!1})})},function(r,a){var i=Math.ceil,o=Math.floor;r.exports=function(l){return isNaN(l=+l)?0:(l>0?o:i)(l)}},function(r,a){r.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},function(r,a,i){var o=i(11);r.exports=function(l,c){if(!o(l))return l;var s,u;if(c&&typeof(s=l.toString)=="function"&&!o(u=s.call(l))||typeof(s=l.valueOf)=="function"&&!o(u=s.call(l))||!c&&typeof(s=l.toString)=="function"&&!o(u=s.call(l)))return u;throw TypeError("Can't convert object to primitive value")}},function(r,a){var i={}.toString;r.exports=function(o){return i.call(o).slice(8,-1)}},function(r,a,i){var o=i(26)("keys"),l=i(17);r.exports=function(c){return o[c]||(o[c]=l(c))}},function(r,a,i){var o=i(1),l=i(3),c=l["__core-js_shared__"]||(l["__core-js_shared__"]={});(r.exports=function(s,u){return c[s]||(c[s]=u!==void 0?u:{})})("versions",[]).push({version:o.version,mode:i(14)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(r,a){r.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(r,a,i){var o=i(7).f,l=i(5),c=i(2)("toStringTag");r.exports=function(s,u,f){s&&!l(s=f?s:s.prototype,c)&&o(s,c,{configurable:!0,value:u})}},function(r,a,i){i(62);for(var o=i(3),l=i(6),c=i(12),s=i(2)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),f=0;f<u.length;f++){var d=u[f],h=o[d],v=h&&h.prototype;v&&!v[s]&&l(v,s,d),c[d]=c.Array}},function(r,a,i){a.f=i(2)},function(r,a,i){var o=i(3),l=i(1),c=i(14),s=i(30),u=i(7).f;r.exports=function(f){var d=l.Symbol||(l.Symbol=c?{}:o.Symbol||{});f.charAt(0)=="_"||f in d||u(d,f,{value:s.f(f)})}},function(r,a){a.f=Object.getOwnPropertySymbols},function(r,a){r.exports=function(i,o,l){return Math.min(Math.max(i,o),l)}},function(r,a,i){var o=i(14),l=i(15),c=i(37),s=i(6),u=i(12),f=i(55),d=i(28),h=i(61),v=i(2)("iterator"),y=!([].keys&&"next"in[].keys()),M=function(){return this};r.exports=function(m,g,_,p,C,z,H){f(_,g,p);var F,L,O,A=function(k){if(!y&&k in X)return X[k];switch(k){case"keys":case"values":return function(){return new _(this,k)}}return function(){return new _(this,k)}},G=g+" Iterator",W=C=="values",ce=!1,X=m.prototype,K=X[v]||X["@@iterator"]||C&&X[C],fe=K||A(C),oe=C?W?A("entries"):fe:void 0,ge=g=="Array"&&X.entries||K;if(ge&&(O=h(ge.call(new m)))!==Object.prototype&&O.next&&(d(O,G,!0),o||typeof O[v]=="function"||s(O,v,M)),W&&K&&K.name!=="values"&&(ce=!0,fe=function(){return K.call(this)}),o&&!H||!y&&!ce&&X[v]||s(X,v,fe),u[g]=fe,u[G]=M,C)if(F={values:W?fe:A("values"),keys:z?fe:A("keys"),entries:oe},H)for(L in F)L in X||c(X,L,F[L]);else l(l.P+l.F*(y||ce),g,F);return F}},function(r,a,i){r.exports=!i(4)&&!i(8)(function(){return Object.defineProperty(i(36)("div"),"a",{get:function(){return 7}}).a!=7})},function(r,a,i){var o=i(11),l=i(3).document,c=o(l)&&o(l.createElement);r.exports=function(s){return c?l.createElement(s):{}}},function(r,a,i){r.exports=i(6)},function(r,a,i){var o=i(10),l=i(56),c=i(27),s=i(25)("IE_PROTO"),u=function(){},f=function(){var d,h=i(36)("iframe"),v=c.length;for(h.style.display="none",i(60).appendChild(h),h.src="javascript:",(d=h.contentWindow.document).open(),d.write("<script>document.F=Object<\/script>"),d.close(),f=d.F;v--;)delete f.prototype[c[v]];return f()};r.exports=Object.create||function(d,h){var v;return d!==null?(u.prototype=o(d),v=new u,u.prototype=null,v[s]=d):v=f(),h===void 0?v:l(v,h)}},function(r,a,i){var o=i(5),l=i(9),c=i(57)(!1),s=i(25)("IE_PROTO");r.exports=function(u,f){var d,h=l(u),v=0,y=[];for(d in h)d!=s&&o(h,d)&&y.push(d);for(;f.length>v;)o(h,d=f[v++])&&(~c(y,d)||y.push(d));return y}},function(r,a,i){var o=i(24);r.exports=Object("z").propertyIsEnumerable(0)?Object:function(l){return o(l)=="String"?l.split(""):Object(l)}},function(r,a,i){var o=i(39),l=i(27).concat("length","prototype");a.f=Object.getOwnPropertyNames||function(c){return o(c,l)}},function(r,a,i){var o=i(24),l=i(2)("toStringTag"),c=o(function(){return arguments}())=="Arguments";r.exports=function(s){var u,f,d;return s===void 0?"Undefined":s===null?"Null":typeof(f=function(h,v){try{return h[v]}catch{}}(u=Object(s),l))=="string"?f:c?o(u):(d=o(u))=="Object"&&typeof u.callee=="function"?"Arguments":d}},function(r,a){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}r.exports=i},function(r,a){var i=/-?\d+(\.\d+)?%?/g;r.exports=function(o){return o.match(i)}},function(r,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a.getBase16Theme=a.createStyling=a.invertTheme=void 0;var o=M(i(49)),l=M(i(76)),c=M(i(81)),s=M(i(89)),u=M(i(93)),f=function(L){if(L&&L.__esModule)return L;var O={};if(L!=null)for(var A in L)Object.prototype.hasOwnProperty.call(L,A)&&(O[A]=L[A]);return O.default=L,O}(i(94)),d=M(i(132)),h=M(i(133)),v=M(i(138)),y=i(139);function M(L){return L&&L.__esModule?L:{default:L}}var m=f.default,g=(0,s.default)(m),_=(0,v.default)(h.default,y.rgb2yuv,function(L){var O,A=(0,c.default)(L,3),G=A[0],W=A[1],ce=A[2];return[(O=G,O<.25?1:O<.5?.9-O:1.1-O),W,ce]},y.yuv2rgb,d.default),p=function(L){return function(O){return{className:[O.className,L.className].filter(Boolean).join(" "),style:(0,l.default)({},O.style||{},L.style||{})}}},C=function(L,O){var A=(0,s.default)(O);for(var G in L)A.indexOf(G)===-1&&A.push(G);return A.reduce(function(W,ce){return W[ce]=function(X,K){if(X===void 0)return K;if(K===void 0)return X;var fe=X===void 0?"undefined":(0,o.default)(X),oe=K===void 0?"undefined":(0,o.default)(K);switch(fe){case"string":switch(oe){case"string":return[K,X].filter(Boolean).join(" ");case"object":return p({className:X,style:K});case"function":return function(ge){for(var k=arguments.length,ze=Array(k>1?k-1:0),Ce=1;Ce<k;Ce++)ze[Ce-1]=arguments[Ce];return p({className:X})(K.apply(void 0,[ge].concat(ze)))}}case"object":switch(oe){case"string":return p({className:K,style:X});case"object":return(0,l.default)({},K,X);case"function":return function(ge){for(var k=arguments.length,ze=Array(k>1?k-1:0),Ce=1;Ce<k;Ce++)ze[Ce-1]=arguments[Ce];return p({style:X})(K.apply(void 0,[ge].concat(ze)))}}case"function":switch(oe){case"string":return function(ge){for(var k=arguments.length,ze=Array(k>1?k-1:0),Ce=1;Ce<k;Ce++)ze[Ce-1]=arguments[Ce];return X.apply(void 0,[p(ge)({className:K})].concat(ze))};case"object":return function(ge){for(var k=arguments.length,ze=Array(k>1?k-1:0),Ce=1;Ce<k;Ce++)ze[Ce-1]=arguments[Ce];return X.apply(void 0,[p(ge)({style:K})].concat(ze))};case"function":return function(ge){for(var k=arguments.length,ze=Array(k>1?k-1:0),Ce=1;Ce<k;Ce++)ze[Ce-1]=arguments[Ce];return X.apply(void 0,[K.apply(void 0,[ge].concat(ze))].concat(ze))}}}}(L[ce],O[ce]),W},{})},z=function(L,O){for(var A=arguments.length,G=Array(A>2?A-2:0),W=2;W<A;W++)G[W-2]=arguments[W];if(O===null)return L;Array.isArray(O)||(O=[O]);var ce=O.map(function(K){return L[K]}).filter(Boolean),X=ce.reduce(function(K,fe){return typeof fe=="string"?K.className=[K.className,fe].filter(Boolean).join(" "):(fe===void 0?"undefined":(0,o.default)(fe))==="object"?K.style=(0,l.default)({},K.style,fe):typeof fe=="function"&&(K=(0,l.default)({},K,fe.apply(void 0,[K].concat(G)))),K},{className:"",style:{}});return X.className||delete X.className,(0,s.default)(X.style).length===0&&delete X.style,X},H=a.invertTheme=function(L){return(0,s.default)(L).reduce(function(O,A){return O[A]=/^base/.test(A)?_(L[A]):A==="scheme"?L[A]+":inverted":L[A],O},{})},F=(a.createStyling=(0,u.default)(function(L){for(var O=arguments.length,A=Array(O>3?O-3:0),G=3;G<O;G++)A[G-3]=arguments[G];var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},X=W.defaultBase16,K=X===void 0?m:X,fe=W.base16Themes,oe=fe===void 0?null:fe,ge=F(ce,oe);ge&&(ce=(0,l.default)({},ge,ce));var k=g.reduce(function(He,Ze){return He[Ze]=ce[Ze]||K[Ze],He},{}),ze=(0,s.default)(ce).reduce(function(He,Ze){return g.indexOf(Ze)===-1&&(He[Ze]=ce[Ze]),He},{}),Ce=L(k),D=C(ze,Ce);return(0,u.default)(z,2).apply(void 0,[D].concat(A))},3),a.getBase16Theme=function(L,O){if(L&&L.extend&&(L=L.extend),typeof L=="string"){var A=L.split(":"),G=(0,c.default)(A,2),W=G[0],ce=G[1];L=(O||{})[W]||f[W],ce==="inverted"&&(L=H(L))}return L&&L.hasOwnProperty("base00")?L:void 0})},function(r,a,i){var o,l=typeof Reflect=="object"?Reflect:null,c=l&&typeof l.apply=="function"?l.apply:function(p,C,z){return Function.prototype.apply.call(p,C,z)};o=l&&typeof l.ownKeys=="function"?l.ownKeys:Object.getOwnPropertySymbols?function(p){return Object.getOwnPropertyNames(p).concat(Object.getOwnPropertySymbols(p))}:function(p){return Object.getOwnPropertyNames(p)};var s=Number.isNaN||function(p){return p!=p};function u(){u.init.call(this)}r.exports=u,r.exports.once=function(p,C){return new Promise(function(z,H){function F(){L!==void 0&&p.removeListener("error",L),z([].slice.call(arguments))}var L;C!=="error"&&(L=function(O){p.removeListener(C,F),H(O)},p.once("error",L)),p.once(C,F)})},u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var f=10;function d(p){if(typeof p!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof p)}function h(p){return p._maxListeners===void 0?u.defaultMaxListeners:p._maxListeners}function v(p,C,z,H){var F,L,O,A;if(d(z),(L=p._events)===void 0?(L=p._events=Object.create(null),p._eventsCount=0):(L.newListener!==void 0&&(p.emit("newListener",C,z.listener?z.listener:z),L=p._events),O=L[C]),O===void 0)O=L[C]=z,++p._eventsCount;else if(typeof O=="function"?O=L[C]=H?[z,O]:[O,z]:H?O.unshift(z):O.push(z),(F=h(p))>0&&O.length>F&&!O.warned){O.warned=!0;var G=new Error("Possible EventEmitter memory leak detected. "+O.length+" "+String(C)+" listeners added. Use emitter.setMaxListeners() to increase limit");G.name="MaxListenersExceededWarning",G.emitter=p,G.type=C,G.count=O.length,A=G,console&&console.warn&&console.warn(A)}return p}function y(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function M(p,C,z){var H={fired:!1,wrapFn:void 0,target:p,type:C,listener:z},F=y.bind(H);return F.listener=z,H.wrapFn=F,F}function m(p,C,z){var H=p._events;if(H===void 0)return[];var F=H[C];return F===void 0?[]:typeof F=="function"?z?[F.listener||F]:[F]:z?function(L){for(var O=new Array(L.length),A=0;A<O.length;++A)O[A]=L[A].listener||L[A];return O}(F):_(F,F.length)}function g(p){var C=this._events;if(C!==void 0){var z=C[p];if(typeof z=="function")return 1;if(z!==void 0)return z.length}return 0}function _(p,C){for(var z=new Array(C),H=0;H<C;++H)z[H]=p[H];return z}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return f},set:function(p){if(typeof p!="number"||p<0||s(p))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+p+".");f=p}}),u.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},u.prototype.setMaxListeners=function(p){if(typeof p!="number"||p<0||s(p))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+p+".");return this._maxListeners=p,this},u.prototype.getMaxListeners=function(){return h(this)},u.prototype.emit=function(p){for(var C=[],z=1;z<arguments.length;z++)C.push(arguments[z]);var H=p==="error",F=this._events;if(F!==void 0)H=H&&F.error===void 0;else if(!H)return!1;if(H){var L;if(C.length>0&&(L=C[0]),L instanceof Error)throw L;var O=new Error("Unhandled error."+(L?" ("+L.message+")":""));throw O.context=L,O}var A=F[p];if(A===void 0)return!1;if(typeof A=="function")c(A,this,C);else{var G=A.length,W=_(A,G);for(z=0;z<G;++z)c(W[z],this,C)}return!0},u.prototype.addListener=function(p,C){return v(this,p,C,!1)},u.prototype.on=u.prototype.addListener,u.prototype.prependListener=function(p,C){return v(this,p,C,!0)},u.prototype.once=function(p,C){return d(C),this.on(p,M(this,p,C)),this},u.prototype.prependOnceListener=function(p,C){return d(C),this.prependListener(p,M(this,p,C)),this},u.prototype.removeListener=function(p,C){var z,H,F,L,O;if(d(C),(H=this._events)===void 0)return this;if((z=H[p])===void 0)return this;if(z===C||z.listener===C)--this._eventsCount==0?this._events=Object.create(null):(delete H[p],H.removeListener&&this.emit("removeListener",p,z.listener||C));else if(typeof z!="function"){for(F=-1,L=z.length-1;L>=0;L--)if(z[L]===C||z[L].listener===C){O=z[L].listener,F=L;break}if(F<0)return this;F===0?z.shift():function(A,G){for(;G+1<A.length;G++)A[G]=A[G+1];A.pop()}(z,F),z.length===1&&(H[p]=z[0]),H.removeListener!==void 0&&this.emit("removeListener",p,O||C)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(p){var C,z,H;if((z=this._events)===void 0)return this;if(z.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):z[p]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete z[p]),this;if(arguments.length===0){var F,L=Object.keys(z);for(H=0;H<L.length;++H)(F=L[H])!=="removeListener"&&this.removeAllListeners(F);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(C=z[p])=="function")this.removeListener(p,C);else if(C!==void 0)for(H=C.length-1;H>=0;H--)this.removeListener(p,C[H]);return this},u.prototype.listeners=function(p){return m(this,p,!0)},u.prototype.rawListeners=function(p){return m(this,p,!1)},u.listenerCount=function(p,C){return typeof p.listenerCount=="function"?p.listenerCount(C):g.call(p,C)},u.prototype.listenerCount=g,u.prototype.eventNames=function(){return this._eventsCount>0?o(this._events):[]}},function(r,a,i){r.exports.Dispatcher=i(140)},function(r,a,i){r.exports=i(142)},function(r,a,i){a.__esModule=!0;var o=s(i(50)),l=s(i(65)),c=typeof l.default=="function"&&typeof o.default=="symbol"?function(u){return typeof u}:function(u){return u&&typeof l.default=="function"&&u.constructor===l.default&&u!==l.default.prototype?"symbol":typeof u};function s(u){return u&&u.__esModule?u:{default:u}}a.default=typeof l.default=="function"&&c(o.default)==="symbol"?function(u){return u===void 0?"undefined":c(u)}:function(u){return u&&typeof l.default=="function"&&u.constructor===l.default&&u!==l.default.prototype?"symbol":u===void 0?"undefined":c(u)}},function(r,a,i){r.exports={default:i(51),__esModule:!0}},function(r,a,i){i(20),i(29),r.exports=i(30).f("iterator")},function(r,a,i){var o=i(21),l=i(22);r.exports=function(c){return function(s,u){var f,d,h=String(l(s)),v=o(u),y=h.length;return v<0||v>=y?c?"":void 0:(f=h.charCodeAt(v))<55296||f>56319||v+1===y||(d=h.charCodeAt(v+1))<56320||d>57343?c?h.charAt(v):f:c?h.slice(v,v+2):d-56320+(f-55296<<10)+65536}}},function(r,a,i){var o=i(54);r.exports=function(l,c,s){if(o(l),c===void 0)return l;switch(s){case 1:return function(u){return l.call(c,u)};case 2:return function(u,f){return l.call(c,u,f)};case 3:return function(u,f,d){return l.call(c,u,f,d)}}return function(){return l.apply(c,arguments)}}},function(r,a){r.exports=function(i){if(typeof i!="function")throw TypeError(i+" is not a function!");return i}},function(r,a,i){var o=i(38),l=i(16),c=i(28),s={};i(6)(s,i(2)("iterator"),function(){return this}),r.exports=function(u,f,d){u.prototype=o(s,{next:l(1,d)}),c(u,f+" Iterator")}},function(r,a,i){var o=i(7),l=i(10),c=i(13);r.exports=i(4)?Object.defineProperties:function(s,u){l(s);for(var f,d=c(u),h=d.length,v=0;h>v;)o.f(s,f=d[v++],u[f]);return s}},function(r,a,i){var o=i(9),l=i(58),c=i(59);r.exports=function(s){return function(u,f,d){var h,v=o(u),y=l(v.length),M=c(d,y);if(s&&f!=f){for(;y>M;)if((h=v[M++])!=h)return!0}else for(;y>M;M++)if((s||M in v)&&v[M]===f)return s||M||0;return!s&&-1}}},function(r,a,i){var o=i(21),l=Math.min;r.exports=function(c){return c>0?l(o(c),9007199254740991):0}},function(r,a,i){var o=i(21),l=Math.max,c=Math.min;r.exports=function(s,u){return(s=o(s))<0?l(s+u,0):c(s,u)}},function(r,a,i){var o=i(3).document;r.exports=o&&o.documentElement},function(r,a,i){var o=i(5),l=i(18),c=i(25)("IE_PROTO"),s=Object.prototype;r.exports=Object.getPrototypeOf||function(u){return u=l(u),o(u,c)?u[c]:typeof u.constructor=="function"&&u instanceof u.constructor?u.constructor.prototype:u instanceof Object?s:null}},function(r,a,i){var o=i(63),l=i(64),c=i(12),s=i(9);r.exports=i(34)(Array,"Array",function(u,f){this._t=s(u),this._i=0,this._k=f},function(){var u=this._t,f=this._k,d=this._i++;return!u||d>=u.length?(this._t=void 0,l(1)):l(0,f=="keys"?d:f=="values"?u[d]:[d,u[d]])},"values"),c.Arguments=c.Array,o("keys"),o("values"),o("entries")},function(r,a){r.exports=function(){}},function(r,a){r.exports=function(i,o){return{value:o,done:!!i}}},function(r,a,i){r.exports={default:i(66),__esModule:!0}},function(r,a,i){i(67),i(73),i(74),i(75),r.exports=i(1).Symbol},function(r,a,i){var o=i(3),l=i(5),c=i(4),s=i(15),u=i(37),f=i(68).KEY,d=i(8),h=i(26),v=i(28),y=i(17),M=i(2),m=i(30),g=i(31),_=i(69),p=i(70),C=i(10),z=i(11),H=i(18),F=i(9),L=i(23),O=i(16),A=i(38),G=i(71),W=i(72),ce=i(32),X=i(7),K=i(13),fe=W.f,oe=X.f,ge=G.f,k=o.Symbol,ze=o.JSON,Ce=ze&&ze.stringify,D=M("_hidden"),He=M("toPrimitive"),Ze={}.propertyIsEnumerable,je=h("symbol-registry"),it=h("symbols"),T=h("op-symbols"),B=Object.prototype,R=typeof k=="function"&&!!ce.f,le=o.QObject,xe=!le||!le.prototype||!le.prototype.findChild,be=c&&d(function(){return A(oe({},"a",{get:function(){return oe(this,"a",{value:7}).a}})).a!=7})?function(N,J,se){var _e=fe(B,J);_e&&delete B[J],oe(N,J,se),_e&&N!==B&&oe(B,J,_e)}:oe,We=function(N){var J=it[N]=A(k.prototype);return J._k=N,J},Le=R&&typeof k.iterator=="symbol"?function(N){return typeof N=="symbol"}:function(N){return N instanceof k},Je=function(N,J,se){return N===B&&Je(T,J,se),C(N),J=L(J,!0),C(se),l(it,J)?(se.enumerable?(l(N,D)&&N[D][J]&&(N[D][J]=!1),se=A(se,{enumerable:O(0,!1)})):(l(N,D)||oe(N,D,O(1,{})),N[D][J]=!0),be(N,J,se)):oe(N,J,se)},_t=function(N,J){C(N);for(var se,_e=_(J=F(J)),Ae=0,Ve=_e.length;Ve>Ae;)Je(N,se=_e[Ae++],J[se]);return N},Ut=function(N){var J=Ze.call(this,N=L(N,!0));return!(this===B&&l(it,N)&&!l(T,N))&&(!(J||!l(this,N)||!l(it,N)||l(this,D)&&this[D][N])||J)},wt=function(N,J){if(N=F(N),J=L(J,!0),N!==B||!l(it,J)||l(T,J)){var se=fe(N,J);return!se||!l(it,J)||l(N,D)&&N[D][J]||(se.enumerable=!0),se}},Pr=function(N){for(var J,se=ge(F(N)),_e=[],Ae=0;se.length>Ae;)l(it,J=se[Ae++])||J==D||J==f||_e.push(J);return _e},lt=function(N){for(var J,se=N===B,_e=ge(se?T:F(N)),Ae=[],Ve=0;_e.length>Ve;)!l(it,J=_e[Ve++])||se&&!l(B,J)||Ae.push(it[J]);return Ae};R||(u((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var N=y(arguments.length>0?arguments[0]:void 0),J=function(se){this===B&&J.call(T,se),l(this,D)&&l(this[D],N)&&(this[D][N]=!1),be(this,N,O(1,se))};return c&&xe&&be(B,N,{configurable:!0,set:J}),We(N)}).prototype,"toString",function(){return this._k}),W.f=wt,X.f=Je,i(41).f=G.f=Pr,i(19).f=Ut,ce.f=lt,c&&!i(14)&&u(B,"propertyIsEnumerable",Ut,!0),m.f=function(N){return We(M(N))}),s(s.G+s.W+s.F*!R,{Symbol:k});for(var cn="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Re=0;cn.length>Re;)M(cn[Re++]);for(var vr=K(M.store),ue=0;vr.length>ue;)g(vr[ue++]);s(s.S+s.F*!R,"Symbol",{for:function(N){return l(je,N+="")?je[N]:je[N]=k(N)},keyFor:function(N){if(!Le(N))throw TypeError(N+" is not a symbol!");for(var J in je)if(je[J]===N)return J},useSetter:function(){xe=!0},useSimple:function(){xe=!1}}),s(s.S+s.F*!R,"Object",{create:function(N,J){return J===void 0?A(N):_t(A(N),J)},defineProperty:Je,defineProperties:_t,getOwnPropertyDescriptor:wt,getOwnPropertyNames:Pr,getOwnPropertySymbols:lt});var $=d(function(){ce.f(1)});s(s.S+s.F*$,"Object",{getOwnPropertySymbols:function(N){return ce.f(H(N))}}),ze&&s(s.S+s.F*(!R||d(function(){var N=k();return Ce([N])!="[null]"||Ce({a:N})!="{}"||Ce(Object(N))!="{}"})),"JSON",{stringify:function(N){for(var J,se,_e=[N],Ae=1;arguments.length>Ae;)_e.push(arguments[Ae++]);if(se=J=_e[1],(z(J)||N!==void 0)&&!Le(N))return p(J)||(J=function(Ve,Ge){if(typeof se=="function"&&(Ge=se.call(this,Ve,Ge)),!Le(Ge))return Ge}),_e[1]=J,Ce.apply(ze,_e)}}),k.prototype[He]||i(6)(k.prototype,He,k.prototype.valueOf),v(k,"Symbol"),v(Math,"Math",!0),v(o.JSON,"JSON",!0)},function(r,a,i){var o=i(17)("meta"),l=i(11),c=i(5),s=i(7).f,u=0,f=Object.isExtensible||function(){return!0},d=!i(8)(function(){return f(Object.preventExtensions({}))}),h=function(y){s(y,o,{value:{i:"O"+ ++u,w:{}}})},v=r.exports={KEY:o,NEED:!1,fastKey:function(y,M){if(!l(y))return typeof y=="symbol"?y:(typeof y=="string"?"S":"P")+y;if(!c(y,o)){if(!f(y))return"F";if(!M)return"E";h(y)}return y[o].i},getWeak:function(y,M){if(!c(y,o)){if(!f(y))return!0;if(!M)return!1;h(y)}return y[o].w},onFreeze:function(y){return d&&v.NEED&&f(y)&&!c(y,o)&&h(y),y}}},function(r,a,i){var o=i(13),l=i(32),c=i(19);r.exports=function(s){var u=o(s),f=l.f;if(f)for(var d,h=f(s),v=c.f,y=0;h.length>y;)v.call(s,d=h[y++])&&u.push(d);return u}},function(r,a,i){var o=i(24);r.exports=Array.isArray||function(l){return o(l)=="Array"}},function(r,a,i){var o=i(9),l=i(41).f,c={}.toString,s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];r.exports.f=function(u){return s&&c.call(u)=="[object Window]"?function(f){try{return l(f)}catch{return s.slice()}}(u):l(o(u))}},function(r,a,i){var o=i(19),l=i(16),c=i(9),s=i(23),u=i(5),f=i(35),d=Object.getOwnPropertyDescriptor;a.f=i(4)?d:function(h,v){if(h=c(h),v=s(v,!0),f)try{return d(h,v)}catch{}if(u(h,v))return l(!o.f.call(h,v),h[v])}},function(r,a){},function(r,a,i){i(31)("asyncIterator")},function(r,a,i){i(31)("observable")},function(r,a,i){a.__esModule=!0;var o,l=i(77),c=(o=l)&&o.__esModule?o:{default:o};a.default=c.default||function(s){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var d in f)Object.prototype.hasOwnProperty.call(f,d)&&(s[d]=f[d])}return s}},function(r,a,i){r.exports={default:i(78),__esModule:!0}},function(r,a,i){i(79),r.exports=i(1).Object.assign},function(r,a,i){var o=i(15);o(o.S+o.F,"Object",{assign:i(80)})},function(r,a,i){var o=i(4),l=i(13),c=i(32),s=i(19),u=i(18),f=i(40),d=Object.assign;r.exports=!d||i(8)(function(){var h={},v={},y=Symbol(),M="abcdefghijklmnopqrst";return h[y]=7,M.split("").forEach(function(m){v[m]=m}),d({},h)[y]!=7||Object.keys(d({},v)).join("")!=M})?function(h,v){for(var y=u(h),M=arguments.length,m=1,g=c.f,_=s.f;M>m;)for(var p,C=f(arguments[m++]),z=g?l(C).concat(g(C)):l(C),H=z.length,F=0;H>F;)p=z[F++],o&&!_.call(C,p)||(y[p]=C[p]);return y}:d},function(r,a,i){a.__esModule=!0;var o=c(i(82)),l=c(i(85));function c(s){return s&&s.__esModule?s:{default:s}}a.default=function(s,u){if(Array.isArray(s))return s;if((0,o.default)(Object(s)))return function(f,d){var h=[],v=!0,y=!1,M=void 0;try{for(var m,g=(0,l.default)(f);!(v=(m=g.next()).done)&&(h.push(m.value),!d||h.length!==d);v=!0);}catch(_){y=!0,M=_}finally{try{!v&&g.return&&g.return()}finally{if(y)throw M}}return h}(s,u);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(r,a,i){r.exports={default:i(83),__esModule:!0}},function(r,a,i){i(29),i(20),r.exports=i(84)},function(r,a,i){var o=i(42),l=i(2)("iterator"),c=i(12);r.exports=i(1).isIterable=function(s){var u=Object(s);return u[l]!==void 0||"@@iterator"in u||c.hasOwnProperty(o(u))}},function(r,a,i){r.exports={default:i(86),__esModule:!0}},function(r,a,i){i(29),i(20),r.exports=i(87)},function(r,a,i){var o=i(10),l=i(88);r.exports=i(1).getIterator=function(c){var s=l(c);if(typeof s!="function")throw TypeError(c+" is not iterable!");return o(s.call(c))}},function(r,a,i){var o=i(42),l=i(2)("iterator"),c=i(12);r.exports=i(1).getIteratorMethod=function(s){if(s!=null)return s[l]||s["@@iterator"]||c[o(s)]}},function(r,a,i){r.exports={default:i(90),__esModule:!0}},function(r,a,i){i(91),r.exports=i(1).Object.keys},function(r,a,i){var o=i(18),l=i(13);i(92)("keys",function(){return function(c){return l(o(c))}})},function(r,a,i){var o=i(15),l=i(1),c=i(8);r.exports=function(s,u){var f=(l.Object||{})[s]||Object[s],d={};d[s]=u(f),o(o.S+o.F*c(function(){f(1)}),"Object",d)}},function(r,a,i){(function(o){var l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c=/^\s+|\s+$/g,s=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,u=/\{\n\/\* \[wrapped with (.+)\] \*/,f=/,? & /,d=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,v=/^\[object .+?Constructor\]$/,y=/^0o[0-7]+$/i,M=/^(?:0|[1-9]\d*)$/,m=parseInt,g=typeof o=="object"&&o&&o.Object===Object&&o,_=typeof self=="object"&&self&&self.Object===Object&&self,p=g||_||Function("return this")();function C(ue,$,N){switch(N.length){case 0:return ue.call($);case 1:return ue.call($,N[0]);case 2:return ue.call($,N[0],N[1]);case 3:return ue.call($,N[0],N[1],N[2])}return ue.apply($,N)}function z(ue,$){return!!(ue&&ue.length)&&function(N,J,se){if(J!=J)return function(Ve,Ge,pt,ft){for(var st=Ve.length,rt=pt+(ft?1:-1);ft?rt--:++rt<st;)if(Ge(Ve[rt],rt,Ve))return rt;return-1}(N,H,se);for(var _e=se-1,Ae=N.length;++_e<Ae;)if(N[_e]===J)return _e;return-1}(ue,$,0)>-1}function H(ue){return ue!=ue}function F(ue,$){for(var N=ue.length,J=0;N--;)ue[N]===$&&J++;return J}function L(ue,$){for(var N=-1,J=ue.length,se=0,_e=[];++N<J;){var Ae=ue[N];Ae!==$&&Ae!=="__lodash_placeholder__"||(ue[N]="__lodash_placeholder__",_e[se++]=N)}return _e}var O,A,G,W=Function.prototype,ce=Object.prototype,X=p["__core-js_shared__"],K=(O=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",fe=W.toString,oe=ce.hasOwnProperty,ge=ce.toString,k=RegExp("^"+fe.call(oe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=Object.create,Ce=Math.max,D=Math.min,He=(A=We(Object,"defineProperty"),(G=We.name)&&G.length>2?A:void 0);function Ze(ue){return cn(ue)?ze(ue):{}}function je(ue){return!(!cn(ue)||function($){return!!K&&K in $}(ue))&&(function($){var N=cn($)?ge.call($):"";return N=="[object Function]"||N=="[object GeneratorFunction]"}(ue)||function($){var N=!1;if($!=null&&typeof $.toString!="function")try{N=!!($+"")}catch{}return N}(ue)?k:v).test(function($){if($!=null){try{return fe.call($)}catch{}try{return $+""}catch{}}return""}(ue))}function it(ue,$,N,J){for(var se=-1,_e=ue.length,Ae=N.length,Ve=-1,Ge=$.length,pt=Ce(_e-Ae,0),ft=Array(Ge+pt),st=!J;++Ve<Ge;)ft[Ve]=$[Ve];for(;++se<Ae;)(st||se<_e)&&(ft[N[se]]=ue[se]);for(;pt--;)ft[Ve++]=ue[se++];return ft}function T(ue,$,N,J){for(var se=-1,_e=ue.length,Ae=-1,Ve=N.length,Ge=-1,pt=$.length,ft=Ce(_e-Ve,0),st=Array(ft+pt),rt=!J;++se<ft;)st[se]=ue[se];for(var yt=se;++Ge<pt;)st[yt+Ge]=$[Ge];for(;++Ae<Ve;)(rt||se<_e)&&(st[yt+N[Ae]]=ue[se++]);return st}function B(ue){return function(){var $=arguments;switch($.length){case 0:return new ue;case 1:return new ue($[0]);case 2:return new ue($[0],$[1]);case 3:return new ue($[0],$[1],$[2]);case 4:return new ue($[0],$[1],$[2],$[3]);case 5:return new ue($[0],$[1],$[2],$[3],$[4]);case 6:return new ue($[0],$[1],$[2],$[3],$[4],$[5]);case 7:return new ue($[0],$[1],$[2],$[3],$[4],$[5],$[6])}var N=Ze(ue.prototype),J=ue.apply(N,$);return cn(J)?J:N}}function R(ue,$,N,J,se,_e,Ae,Ve,Ge,pt){var ft=128&$,st=1&$,rt=2&$,yt=24&$,Nt=512&$,sn=rt?void 0:B(ue);return function Zt(){for(var Pt=arguments.length,et=Array(Pt),$t=Pt;$t--;)et[$t]=arguments[$t];if(yt)var Jt=be(Zt),Jn=F(et,Jt);if(J&&(et=it(et,J,se,yt)),_e&&(et=T(et,_e,Ae,yt)),Pt-=Jn,yt&&Pt<pt){var Pn=L(et,Jt);return le(ue,$,R,Zt.placeholder,N,et,Pn,Ve,Ge,pt-Pt)}var en=st?N:this,Rn=rt?en[ue]:ue;return Pt=et.length,Ve?et=Ut(et,Ve):Nt&&Pt>1&&et.reverse(),ft&&Ge<Pt&&(et.length=Ge),this&&this!==p&&this instanceof Zt&&(Rn=sn||B(Rn)),Rn.apply(en,et)}}function le(ue,$,N,J,se,_e,Ae,Ve,Ge,pt){var ft=8&$;$|=ft?32:64,4&($&=~(ft?64:32))||($&=-4);var st=N(ue,$,se,ft?_e:void 0,ft?Ae:void 0,ft?void 0:_e,ft?void 0:Ae,Ve,Ge,pt);return st.placeholder=J,wt(st,ue,$)}function xe(ue,$,N,J,se,_e,Ae,Ve){var Ge=2&$;if(!Ge&&typeof ue!="function")throw new TypeError("Expected a function");var pt=J?J.length:0;if(pt||($&=-97,J=se=void 0),Ae=Ae===void 0?Ae:Ce(vr(Ae),0),Ve=Ve===void 0?Ve:vr(Ve),pt-=se?se.length:0,64&$){var ft=J,st=se;J=se=void 0}var rt=[ue,$,N,J,se,ft,st,_e,Ae,Ve];if(ue=rt[0],$=rt[1],N=rt[2],J=rt[3],se=rt[4],!(Ve=rt[9]=rt[9]==null?Ge?0:ue.length:Ce(rt[9]-pt,0))&&24&$&&($&=-25),$&&$!=1)yt=$==8||$==16?function(Nt,sn,Zt){var Pt=B(Nt);return function et(){for(var $t=arguments.length,Jt=Array($t),Jn=$t,Pn=be(et);Jn--;)Jt[Jn]=arguments[Jn];var en=$t<3&&Jt[0]!==Pn&&Jt[$t-1]!==Pn?[]:L(Jt,Pn);if(($t-=en.length)<Zt)return le(Nt,sn,R,et.placeholder,void 0,Jt,en,void 0,void 0,Zt-$t);var Rn=this&&this!==p&&this instanceof et?Pt:Nt;return C(Rn,this,Jt)}}(ue,$,Ve):$!=32&&$!=33||se.length?R.apply(void 0,rt):function(Nt,sn,Zt,Pt){var et=1&sn,$t=B(Nt);return function Jt(){for(var Jn=-1,Pn=arguments.length,en=-1,Rn=Pt.length,Tr=Array(Rn+Pn),F1=this&&this!==p&&this instanceof Jt?$t:Nt;++en<Rn;)Tr[en]=Pt[en];for(;Pn--;)Tr[en++]=arguments[++Jn];return C(F1,et?Zt:this,Tr)}}(ue,$,N,J);else var yt=function(Nt,sn,Zt){var Pt=1&sn,et=B(Nt);return function $t(){var Jt=this&&this!==p&&this instanceof $t?et:Nt;return Jt.apply(Pt?Zt:this,arguments)}}(ue,$,N);return wt(yt,ue,$)}function be(ue){return ue.placeholder}function We(ue,$){var N=function(J,se){return J==null?void 0:J[se]}(ue,$);return je(N)?N:void 0}function Le(ue){var $=ue.match(u);return $?$[1].split(f):[]}function Je(ue,$){var N=$.length,J=N-1;return $[J]=(N>1?"& ":"")+$[J],$=$.join(N>2?", ":" "),ue.replace(s,`{
79
79
  /* [wrapped with `+$+`] */
80
80
  `)}function _t(ue,$){return!!($=$??9007199254740991)&&(typeof ue=="number"||M.test(ue))&&ue>-1&&ue%1==0&&ue<$}function Ut(ue,$){for(var N=ue.length,J=D($.length,N),se=function(Ae,Ve){var Ge=-1,pt=Ae.length;for(Ve||(Ve=Array(pt));++Ge<pt;)Ve[Ge]=Ae[Ge];return Ve}(ue);J--;){var _e=$[J];ue[J]=_t(_e,N)?se[_e]:void 0}return ue}var wt=He?function(ue,$,N){var J,se=$+"";return He(ue,"toString",{configurable:!0,enumerable:!1,value:(J=Je(se,Pr(Le(se),N)),function(){return J})})}:function(ue){return ue};function Pr(ue,$){return function(N,J){for(var se=-1,_e=N?N.length:0;++se<_e&&J(N[se],se,N)!==!1;);}(l,function(N){var J="_."+N[0];$&N[1]&&!z(ue,J)&&ue.push(J)}),ue.sort()}function lt(ue,$,N){var J=xe(ue,8,void 0,void 0,void 0,void 0,void 0,$=N?void 0:$);return J.placeholder=lt.placeholder,J}function cn(ue){var $=typeof ue;return!!ue&&($=="object"||$=="function")}function Re(ue){return ue?(ue=function($){if(typeof $=="number")return $;if(function(se){return typeof se=="symbol"||function(_e){return!!_e&&typeof _e=="object"}(se)&&ge.call(se)=="[object Symbol]"}($))return NaN;if(cn($)){var N=typeof $.valueOf=="function"?$.valueOf():$;$=cn(N)?N+"":N}if(typeof $!="string")return $===0?$:+$;$=$.replace(c,"");var J=h.test($);return J||y.test($)?m($.slice(2),J?2:8):d.test($)?NaN:+$}(ue))===1/0||ue===-1/0?17976931348623157e292*(ue<0?-1:1):ue==ue?ue:0:ue===0?ue:0}function vr(ue){var $=Re(ue),N=$%1;return $==$?N?$-N:$:0}lt.placeholder={},r.exports=lt}).call(this,i(43))},function(r,a,i){function o(T){return T&&T.__esModule?T.default:T}a.__esModule=!0;var l=i(95);a.threezerotwofour=o(l);var c=i(96);a.apathy=o(c);var s=i(97);a.ashes=o(s);var u=i(98);a.atelierDune=o(u);var f=i(99);a.atelierForest=o(f);var d=i(100);a.atelierHeath=o(d);var h=i(101);a.atelierLakeside=o(h);var v=i(102);a.atelierSeaside=o(v);var y=i(103);a.bespin=o(y);var M=i(104);a.brewer=o(M);var m=i(105);a.bright=o(m);var g=i(106);a.chalk=o(g);var _=i(107);a.codeschool=o(_);var p=i(108);a.colors=o(p);var C=i(109);a.default=o(C);var z=i(110);a.eighties=o(z);var H=i(111);a.embers=o(H);var F=i(112);a.flat=o(F);var L=i(113);a.google=o(L);var O=i(114);a.grayscale=o(O);var A=i(115);a.greenscreen=o(A);var G=i(116);a.harmonic=o(G);var W=i(117);a.hopscotch=o(W);var ce=i(118);a.isotope=o(ce);var X=i(119);a.marrakesh=o(X);var K=i(120);a.mocha=o(K);var fe=i(121);a.monokai=o(fe);var oe=i(122);a.ocean=o(oe);var ge=i(123);a.paraiso=o(ge);var k=i(124);a.pop=o(k);var ze=i(125);a.railscasts=o(ze);var Ce=i(126);a.shapeshifter=o(Ce);var D=i(127);a.solarized=o(D);var He=i(128);a.summerfruit=o(He);var Ze=i(129);a.tomorrow=o(Ze);var je=i(130);a.tube=o(je);var it=i(131);a.twilight=o(it)},function(r,a,i){a.__esModule=!0,a.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},r.exports=a.default},function(r,a,i){a.__esModule=!0,a.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},r.exports=a.default},function(r,a,i){var o=i(33);function l(c){var s=Math.round(o(c,0,255)).toString(16);return s.length==1?"0"+s:s}r.exports=function(c){var s=c.length===4?l(255*c[3]):"";return"#"+l(c[0])+l(c[1])+l(c[2])+s}},function(r,a,i){var o=i(134),l=i(135),c=i(136),s=i(137),u={"#":l,hsl:function(d){var h=o(d),v=s(h);return h.length===4&&v.push(h[3]),v},rgb:c};function f(d){for(var h in u)if(d.indexOf(h)===0)return u[h](d)}f.rgb=c,f.hsl=o,f.hex=l,r.exports=f},function(r,a,i){var o=i(44),l=i(33);function c(s,u){switch(s=parseFloat(s),u){case 0:return l(s,0,360);case 1:case 2:return l(s,0,100);case 3:return l(s,0,1)}}r.exports=function(s){return o(s).map(c)}},function(r,a){r.exports=function(i){i.length!==4&&i.length!==5||(i=function(c){for(var s="#",u=1;u<c.length;u++){var f=c.charAt(u);s+=f+f}return s}(i));var o=[parseInt(i.substring(1,3),16),parseInt(i.substring(3,5),16),parseInt(i.substring(5,7),16)];if(i.length===9){var l=parseFloat((parseInt(i.substring(7,9),16)/255).toFixed(2));o.push(l)}return o}},function(r,a,i){var o=i(44),l=i(33);function c(s,u){return u<3?s.indexOf("%")!=-1?Math.round(255*l(parseInt(s,10),0,100)/100):l(parseInt(s,10),0,255):l(parseFloat(s),0,1)}r.exports=function(s){return o(s).map(c)}},function(r,a){r.exports=function(i){var o,l,c,s,u,f=i[0]/360,d=i[1]/100,h=i[2]/100;if(d==0)return[u=255*h,u,u];o=2*h-(l=h<.5?h*(1+d):h+d-h*d),s=[0,0,0];for(var v=0;v<3;v++)(c=f+1/3*-(v-1))<0&&c++,c>1&&c--,u=6*c<1?o+6*(l-o)*c:2*c<1?l:3*c<2?o+(l-o)*(2/3-c)*6:o,s[v]=255*u;return s}},function(r,a,i){(function(o){var l=typeof o=="object"&&o&&o.Object===Object&&o,c=typeof self=="object"&&self&&self.Object===Object&&self,s=l||c||Function("return this")();function u(L,O,A){switch(A.length){case 0:return L.call(O);case 1:return L.call(O,A[0]);case 2:return L.call(O,A[0],A[1]);case 3:return L.call(O,A[0],A[1],A[2])}return L.apply(O,A)}function f(L,O){for(var A=-1,G=O.length,W=L.length;++A<G;)L[W+A]=O[A];return L}var d=Object.prototype,h=d.hasOwnProperty,v=d.toString,y=s.Symbol,M=d.propertyIsEnumerable,m=y?y.isConcatSpreadable:void 0,g=Math.max;function _(L){return p(L)||function(O){return function(A){return function(G){return!!G&&typeof G=="object"}(A)&&function(G){return G!=null&&function(W){return typeof W=="number"&&W>-1&&W%1==0&&W<=9007199254740991}(G.length)&&!function(W){var ce=function(X){var K=typeof X;return!!X&&(K=="object"||K=="function")}(W)?v.call(W):"";return ce=="[object Function]"||ce=="[object GeneratorFunction]"}(G)}(A)}(O)&&h.call(O,"callee")&&(!M.call(O,"callee")||v.call(O)=="[object Arguments]")}(L)||!!(m&&L&&L[m])}var p=Array.isArray,C,z,H,F=(z=function(L){var O=(L=function G(W,ce,X,K,fe){var oe=-1,ge=W.length;for(X||(X=_),fe||(fe=[]);++oe<ge;){var k=W[oe];ce>0&&X(k)?ce>1?G(k,ce-1,X,K,fe):f(fe,k):K||(fe[fe.length]=k)}return fe}(L,1)).length,A=O;for(C;A--;)if(typeof L[A]!="function")throw new TypeError("Expected a function");return function(){for(var G=0,W=O?L[G].apply(this,arguments):arguments[0];++G<O;)W=L[G].call(this,W);return W}},H=g(H===void 0?z.length-1:H,0),function(){for(var L=arguments,O=-1,A=g(L.length-H,0),G=Array(A);++O<A;)G[O]=L[H+O];O=-1;for(var W=Array(H+1);++O<H;)W[O]=L[O];return W[H]=G,u(z,this,W)});r.exports=F}).call(this,i(43))},function(r,a,i){Object.defineProperty(a,"__esModule",{value:!0}),a.yuv2rgb=function(o){var l,c,s,u=o[0],f=o[1],d=o[2];return l=1*u+0*f+1.13983*d,c=1*u+-.39465*f+-.5806*d,s=1*u+2.02311*f+0*d,l=Math.min(Math.max(0,l),1),c=Math.min(Math.max(0,c),1),s=Math.min(Math.max(0,s),1),[255*l,255*c,255*s]},a.rgb2yuv=function(o){var l=o[0]/255,c=o[1]/255,s=o[2]/255;return[.299*l+.587*c+.114*s,-.14713*l+-.28886*c+.436*s,.615*l+-.51499*c+-.10001*s]}},function(r,a,i){function o(s,u,f){return u in s?Object.defineProperty(s,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):s[u]=f,s}var l=i(141),c=function(){function s(){o(this,"_callbacks",void 0),o(this,"_isDispatching",void 0),o(this,"_isHandled",void 0),o(this,"_isPending",void 0),o(this,"_lastID",void 0),o(this,"_pendingPayload",void 0),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}var u=s.prototype;return u.register=function(f){var d="ID_"+this._lastID++;return this._callbacks[d]=f,d},u.unregister=function(f){this._callbacks[f]||l(!1),delete this._callbacks[f]},u.waitFor=function(f){this._isDispatching||l(!1);for(var d=0;d<f.length;d++){var h=f[d];this._isPending[h]?this._isHandled[h]||l(!1):(this._callbacks[h]||l(!1),this._invokeCallback(h))}},u.dispatch=function(f){this._isDispatching&&l(!1),this._startDispatching(f);try{for(var d in this._callbacks)this._isPending[d]||this._invokeCallback(d)}finally{this._stopDispatching()}},u.isDispatching=function(){return this._isDispatching},u._invokeCallback=function(f){this._isPending[f]=!0,this._callbacks[f](this._pendingPayload),this._isHandled[f]=!0},u._startDispatching=function(f){for(var d in this._callbacks)this._isPending[d]=!1,this._isHandled[d]=!1;this._pendingPayload=f,this._isDispatching=!0},u._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},s}();r.exports=c},function(r,a,i){r.exports=function(o,l){for(var c=arguments.length,s=new Array(c>2?c-2:0),u=2;u<c;u++)s[u-2]=arguments[u];if(!o){var f;if(l===void 0)f=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=0;(f=new Error(l.replace(/%s/g,function(){return String(s[d++])}))).name="Invariant Violation"}throw f.framesToPop=1,f}}},function(r,a,i){function o(j,I,x){return I in j?Object.defineProperty(j,I,{value:x,enumerable:!0,configurable:!0,writable:!0}):j[I]=x,j}function l(j,I){var x=Object.keys(j);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(j);I&&(E=E.filter(function(P){return Object.getOwnPropertyDescriptor(j,P).enumerable})),x.push.apply(x,E)}return x}function c(j){for(var I=1;I<arguments.length;I++){var x=arguments[I]!=null?arguments[I]:{};I%2?l(Object(x),!0).forEach(function(E){o(j,E,x[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(x)):l(Object(x)).forEach(function(E){Object.defineProperty(j,E,Object.getOwnPropertyDescriptor(x,E))})}return j}function s(j,I){if(!(j instanceof I))throw new TypeError("Cannot call a class as a function")}function u(j,I){for(var x=0;x<I.length;x++){var E=I[x];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(j,E.key,E)}}function f(j,I,x){return I&&u(j.prototype,I),x&&u(j,x),j}function d(j,I){return(d=Object.setPrototypeOf||function(x,E){return x.__proto__=E,x})(j,I)}function h(j,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");j.prototype=Object.create(I&&I.prototype,{constructor:{value:j,writable:!0,configurable:!0}}),I&&d(j,I)}function v(j){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)})(j)}function y(j){return(y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I})(j)}function M(j){if(j===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return j}function m(j,I){return!I||y(I)!=="object"&&typeof I!="function"?M(j):I}function g(j){var I=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var x,E=v(j);if(I){var P=v(this).constructor;x=Reflect.construct(E,arguments,P)}else x=E.apply(this,arguments);return m(this,x)}}i.r(a);var _=i(0),p=i.n(_);function C(){var j=this.constructor.getDerivedStateFromProps(this.props,this.state);j!=null&&this.setState(j)}function z(j){this.setState((function(I){var x=this.constructor.getDerivedStateFromProps(j,I);return x??null}).bind(this))}function H(j,I){try{var x=this.props,E=this.state;this.props=j,this.state=I,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(x,E)}finally{this.props=x,this.state=E}}function F(j){var I=j.prototype;if(!I||!I.isReactComponent)throw new Error("Can only polyfill class components");if(typeof j.getDerivedStateFromProps!="function"&&typeof I.getSnapshotBeforeUpdate!="function")return j;var x=null,E=null,P=null;if(typeof I.componentWillMount=="function"?x="componentWillMount":typeof I.UNSAFE_componentWillMount=="function"&&(x="UNSAFE_componentWillMount"),typeof I.componentWillReceiveProps=="function"?E="componentWillReceiveProps":typeof I.UNSAFE_componentWillReceiveProps=="function"&&(E="UNSAFE_componentWillReceiveProps"),typeof I.componentWillUpdate=="function"?P="componentWillUpdate":typeof I.UNSAFE_componentWillUpdate=="function"&&(P="UNSAFE_componentWillUpdate"),x!==null||E!==null||P!==null){var Z=j.displayName||j.name,ie=typeof j.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
81
81
 
@@ -89,7 +89,7 @@ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof j.getDerivedStat
89
89
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Z,ie=!0,re=!1;return{s:function(){x=j[Symbol.iterator]()},n:function(){var Y=x.next();return ie=Y.done,Y},e:function(Y){re=!0,Z=Y},f:function(){try{ie||x.return==null||x.return()}finally{if(re)throw Z}}}}function He(j){return function(I){if(Array.isArray(I))return ze(I)}(j)||function(I){if(typeof Symbol<"u"&&Symbol.iterator in Object(I))return Array.from(I)}(j)||Ce(j)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
90
90
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}var Ze=i(46),je=new(i(47)).Dispatcher,it=new(function(j){h(x,j);var I=g(x);function x(){var E;s(this,x);for(var P=arguments.length,Z=new Array(P),ie=0;ie<P;ie++)Z[ie]=arguments[ie];return(E=I.call.apply(I,[this].concat(Z))).objects={},E.set=function(re,Y,pe,Te){E.objects[re]===void 0&&(E.objects[re]={}),E.objects[re][Y]===void 0&&(E.objects[re][Y]={}),E.objects[re][Y][pe]=Te},E.get=function(re,Y,pe,Te){return E.objects[re]===void 0||E.objects[re][Y]===void 0||E.objects[re][Y][pe]==null?Te:E.objects[re][Y][pe]},E.handleAction=function(re){var Y=re.rjvId,pe=re.data;switch(re.name){case"RESET":E.emit("reset-"+Y);break;case"VARIABLE_UPDATED":re.data.updated_src=E.updateSrc(Y,pe),E.set(Y,"action","variable-update",c(c({},pe),{},{type:"variable-edited"})),E.emit("variable-update-"+Y);break;case"VARIABLE_REMOVED":re.data.updated_src=E.updateSrc(Y,pe),E.set(Y,"action","variable-update",c(c({},pe),{},{type:"variable-removed"})),E.emit("variable-update-"+Y);break;case"VARIABLE_ADDED":re.data.updated_src=E.updateSrc(Y,pe),E.set(Y,"action","variable-update",c(c({},pe),{},{type:"variable-added"})),E.emit("variable-update-"+Y);break;case"ADD_VARIABLE_KEY_REQUEST":E.set(Y,"action","new-key-request",pe),E.emit("add-key-request-"+Y)}},E.updateSrc=function(re,Y){var pe=Y.name,Te=Y.namespace,Ye=Y.new_value,ot=(Y.existing_value,Y.variable_removed);Te.shift();var dt,Qe=E.get(re,"global","src"),ht=E.deepCopy(Qe,He(Te)),Ct=ht,De=D(Te);try{for(De.s();!(dt=De.n()).done;)Ct=Ct[dt.value]}catch(V){De.e(V)}finally{De.f()}return ot?O(Ct)=="array"?Ct.splice(pe,1):delete Ct[pe]:pe!==null?Ct[pe]=Ye:ht=Ye,E.set(re,"global","src",ht),ht},E.deepCopy=function(re,Y){var pe,Te=O(re),Ye=Y.shift();return Te=="array"?pe=He(re):Te=="object"&&(pe=c({},re)),Ye!==void 0&&(pe[Ye]=E.deepCopy(re[Ye],Y)),pe},E}return x}(Ze.EventEmitter));je.register(it.handleAction.bind(it));var T=it,B=function(j){h(x,j);var I=g(x);function x(E){var P;return s(this,x),(P=I.call(this,E)).toggleCollapsed=function(){P.setState({collapsed:!P.state.collapsed},function(){T.set(P.props.rjvId,P.props.namespace,"collapsed",P.state.collapsed)})},P.getFunctionDisplay=function(Z){var ie=M(P).props;return Z?p.a.createElement("span",null,P.props.value.toString().slice(9,-1).replace(/\{[\s\S]+/,""),p.a.createElement("span",{className:"function-collapsed",style:{fontWeight:"bold"}},p.a.createElement("span",null,"{"),p.a.createElement("span",K(ie.theme,"ellipsis"),"..."),p.a.createElement("span",null,"}"))):P.props.value.toString().slice(9,-1)},P.state={collapsed:T.get(E.rjvId,E.namespace,"collapsed",!0)},P}return f(x,[{key:"render",value:function(){var E=this.props,P=this.state.collapsed;return p.a.createElement("div",K(E.theme,"function"),p.a.createElement(fe,Object.assign({type_name:"function"},E)),p.a.createElement("span",Object.assign({},K(E.theme,"function-value"),{className:"rjv-function-container",onClick:this.toggleCollapsed}),this.getFunctionDisplay(P)))}}]),x}(p.a.PureComponent),R=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){return p.a.createElement("div",K(this.props.theme,"nan"),"NaN")}}]),x}(p.a.PureComponent),le=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){return p.a.createElement("div",K(this.props.theme,"null"),"NULL")}}]),x}(p.a.PureComponent),xe=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props;return p.a.createElement("div",K(E.theme,"integer"),p.a.createElement(fe,Object.assign({type_name:"int"},E)),this.props.value)}}]),x}(p.a.PureComponent),be=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props;return p.a.createElement("div",K(E.theme,"regexp"),p.a.createElement(fe,Object.assign({type_name:"regexp"},E)),this.props.value.toString())}}]),x}(p.a.PureComponent),We=function(j){h(x,j);var I=g(x);function x(E){var P;return s(this,x),(P=I.call(this,E)).toggleCollapsed=function(){P.setState({collapsed:!P.state.collapsed},function(){T.set(P.props.rjvId,P.props.namespace,"collapsed",P.state.collapsed)})},P.state={collapsed:T.get(E.rjvId,E.namespace,"collapsed",!0)},P}return f(x,[{key:"render",value:function(){this.state.collapsed;var E=this.props,P=E.collapseStringsAfterLength,Z=E.theme,ie=E.value,re={style:{cursor:"default"}};return O(P)==="integer"&&ie.length>P&&(re.style.cursor="pointer",this.state.collapsed&&(ie=p.a.createElement("span",null,ie.substring(0,P),p.a.createElement("span",K(Z,"ellipsis")," ...")))),p.a.createElement("div",K(Z,"string"),p.a.createElement(fe,Object.assign({type_name:"string"},E)),p.a.createElement("span",Object.assign({className:"string-value"},re,{onClick:this.toggleCollapsed}),'"',ie,'"'))}}]),x}(p.a.PureComponent),Le=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){return p.a.createElement("div",K(this.props.theme,"undefined"),"undefined")}}]),x}(p.a.PureComponent);function Je(){return(Je=Object.assign||function(j){for(var I=1;I<arguments.length;I++){var x=arguments[I];for(var E in x)Object.prototype.hasOwnProperty.call(x,E)&&(j[E]=x[E])}return j}).apply(this,arguments)}var _t=_.useLayoutEffect,Ut=function(j){var I=Object(_.useRef)(j);return _t(function(){I.current=j}),I},wt=function(j,I){typeof j!="function"?j.current=I:j(I)},Pr=function(j,I){var x=Object(_.useRef)();return Object(_.useCallback)(function(E){j.current=E,x.current&&wt(x.current,null),x.current=I,I&&wt(I,E)},[I])},lt={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},cn=function(j){Object.keys(lt).forEach(function(I){j.style.setProperty(I,lt[I],"important")})},Re=null,vr=function(){},ue=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width"],$=!!document.documentElement.currentStyle,N=function(j,I){var x=j.cacheMeasurements,E=j.maxRows,P=j.minRows,Z=j.onChange,ie=Z===void 0?vr:Z,re=j.onHeightChange,Y=re===void 0?vr:re,pe=function(De,V){if(De==null)return{};var Q,ae,we={},he=Object.keys(De);for(ae=0;ae<he.length;ae++)Q=he[ae],V.indexOf(Q)>=0||(we[Q]=De[Q]);return we}(j,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]),Te,Ye=pe.value!==void 0,ot=Object(_.useRef)(null),dt=Pr(ot,I),Qe=Object(_.useRef)(0),ht=Object(_.useRef)(),Ct=function(){var De=ot.current,V=x&&ht.current?ht.current:function(he){var me=window.getComputedStyle(he);if(me===null)return null;var Me,ke=(Me=me,ue.reduce(function(Ee,ve){return Ee[ve]=Me[ve],Ee},{})),Be=ke.boxSizing;return Be===""?null:($&&Be==="border-box"&&(ke.width=parseFloat(ke.width)+parseFloat(ke.borderRightWidth)+parseFloat(ke.borderLeftWidth)+parseFloat(ke.paddingRight)+parseFloat(ke.paddingLeft)+"px"),{sizingStyle:ke,paddingSize:parseFloat(ke.paddingBottom)+parseFloat(ke.paddingTop),borderSize:parseFloat(ke.borderBottomWidth)+parseFloat(ke.borderTopWidth)})}(De);if(V){ht.current=V;var Q=function(he,me,Me,ke){Me===void 0&&(Me=1),ke===void 0&&(ke=1/0),Re||((Re=document.createElement("textarea")).setAttribute("tab-index","-1"),Re.setAttribute("aria-hidden","true"),cn(Re)),Re.parentNode===null&&document.body.appendChild(Re);var Be=he.paddingSize,Ee=he.borderSize,ve=he.sizingStyle,S=ve.boxSizing;Object.keys(ve).forEach(function(mr){var vt=mr;Re.style[vt]=ve[vt]}),cn(Re),Re.value=me;var un=function(mr,vt){var $r=mr.scrollHeight;return vt.sizingStyle.boxSizing==="border-box"?$r+vt.borderSize:$r-vt.paddingSize}(Re,he);Re.value="x";var Lt=Re.scrollHeight-Be,It=Lt*Me;S==="border-box"&&(It=It+Be+Ee),un=Math.max(It,un);var _n=Lt*ke;return S==="border-box"&&(_n=_n+Be+Ee),[un=Math.min(_n,un),Lt]}(V,De.value||De.placeholder||"x",P,E),ae=Q[0],we=Q[1];Qe.current!==ae&&(Qe.current=ae,De.style.setProperty("height",ae+"px","important"),Y(ae,{rowHeight:we}))}};return Object(_.useLayoutEffect)(Ct),Te=Ut(Ct),Object(_.useLayoutEffect)(function(){var De=function(V){Te.current(V)};return window.addEventListener("resize",De),function(){window.removeEventListener("resize",De)}},[]),Object(_.createElement)("textarea",Je({},pe,{onChange:function(De){Ye||Ct(),ie(De)},ref:dt}))},J=Object(_.forwardRef)(N);function se(j){j=j.trim();try{if((j=JSON.stringify(JSON.parse(j)))[0]==="[")return _e("array",JSON.parse(j));if(j[0]==="{")return _e("object",JSON.parse(j));if(j.match(/\-?\d+\.\d+/)&&j.match(/\-?\d+\.\d+/)[0]===j)return _e("float",parseFloat(j));if(j.match(/\-?\d+e-\d+/)&&j.match(/\-?\d+e-\d+/)[0]===j)return _e("float",Number(j));if(j.match(/\-?\d+/)&&j.match(/\-?\d+/)[0]===j)return _e("integer",parseInt(j));if(j.match(/\-?\d+e\+\d+/)&&j.match(/\-?\d+e\+\d+/)[0]===j)return _e("integer",Number(j))}catch{}switch(j=j.toLowerCase()){case"undefined":return _e("undefined",void 0);case"nan":return _e("nan",NaN);case"null":return _e("null",null);case"true":return _e("boolean",!0);case"false":return _e("boolean",!1);default:if(j=Date.parse(j))return _e("date",new Date(j))}return _e(!1,null)}function _e(j,I){return{type:j,value:I}}var Ae=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]);return p.a.createElement("span",Z,p.a.createElement("svg",Object.assign({},et(P),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),p.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7"})))}}]),x}(p.a.PureComponent),Ve=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]);return p.a.createElement("span",Z,p.a.createElement("svg",Object.assign({},et(P),{viewBox:"0 0 24 24",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),p.a.createElement("path",{d:"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M13,7H11V11H7V13H11V17H13V13H17V11H13V7Z"})))}}]),x}(p.a.PureComponent),Ge=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]),ie=et(P).style;return p.a.createElement("span",Z,p.a.createElement("svg",{fill:ie.color,width:ie.height,height:ie.width,style:ie,viewBox:"0 0 1792 1792"},p.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-832q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h832q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),x}(p.a.PureComponent),pt=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]),ie=et(P).style;return p.a.createElement("span",Z,p.a.createElement("svg",{fill:ie.color,width:ie.height,height:ie.width,style:ie,viewBox:"0 0 1792 1792"},p.a.createElement("path",{d:"M1344 800v64q0 14-9 23t-23 9h-352v352q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-352h-352q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h352v-352q0-14 9-23t23-9h64q14 0 23 9t9 23v352h352q14 0 23 9t9 23zm128 448v-832q0-66-47-113t-113-47h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113zm128-832v832q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q119 0 203.5 84.5t84.5 203.5z"})))}}]),x}(p.a.PureComponent),ft=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]);return p.a.createElement("span",Z,p.a.createElement("svg",{style:c(c({},et(P).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},p.a.createElement("path",{d:"M0 14l6-6-6-6z"})))}}]),x}(p.a.PureComponent),st=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]);return p.a.createElement("span",Z,p.a.createElement("svg",{style:c(c({},et(P).style),{},{paddingLeft:"2px",verticalAlign:"top"}),viewBox:"0 0 15 15",fill:"currentColor"},p.a.createElement("path",{d:"M0 5l6 6 6-6z"})))}}]),x}(p.a.PureComponent),rt=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]);return p.a.createElement("span",Z,p.a.createElement("svg",Object.assign({},et(P),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),p.a.createElement("g",null,p.a.createElement("path",{d:"m30 35h-25v-22.5h25v7.5h2.5v-12.5c0-1.4-1.1-2.5-2.5-2.5h-7.5c0-2.8-2.2-5-5-5s-5 2.2-5 5h-7.5c-1.4 0-2.5 1.1-2.5 2.5v27.5c0 1.4 1.1 2.5 2.5 2.5h25c1.4 0 2.5-1.1 2.5-2.5v-5h-2.5v5z m-20-27.5h2.5s2.5-1.1 2.5-2.5 1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5 1.3 2.5 2.5 2.5h2.5s2.5 1.1 2.5 2.5h-20c0-1.5 1.1-2.5 2.5-2.5z m-2.5 20h5v-2.5h-5v2.5z m17.5-5v-5l-10 7.5 10 7.5v-5h12.5v-5h-12.5z m-17.5 10h7.5v-2.5h-7.5v2.5z m12.5-17.5h-12.5v2.5h12.5v-2.5z m-7.5 5h-5v2.5h5v-2.5z"}))))}}]),x}(p.a.PureComponent),yt=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]);return p.a.createElement("span",Z,p.a.createElement("svg",Object.assign({},et(P),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),p.a.createElement("g",null,p.a.createElement("path",{d:"m28.6 25q0-0.5-0.4-1l-4-4 4-4q0.4-0.5 0.4-1 0-0.6-0.4-1.1l-2-2q-0.4-0.4-1-0.4-0.6 0-1 0.4l-4.1 4.1-4-4.1q-0.4-0.4-1-0.4-0.6 0-1 0.4l-2 2q-0.5 0.5-0.5 1.1 0 0.5 0.5 1l4 4-4 4q-0.5 0.5-0.5 1 0 0.7 0.5 1.1l2 2q0.4 0.4 1 0.4 0.6 0 1-0.4l4-4.1 4.1 4.1q0.4 0.4 1 0.4 0.6 0 1-0.4l2-2q0.4-0.4 0.4-1z m8.7-5q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),x}(p.a.PureComponent),Nt=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]);return p.a.createElement("span",Z,p.a.createElement("svg",Object.assign({},et(P),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),p.a.createElement("g",null,p.a.createElement("path",{d:"m30.1 21.4v-2.8q0-0.6-0.4-1t-1-0.5h-5.7v-5.7q0-0.6-0.4-1t-1-0.4h-2.9q-0.6 0-1 0.4t-0.4 1v5.7h-5.7q-0.6 0-1 0.5t-0.5 1v2.8q0 0.6 0.5 1t1 0.5h5.7v5.7q0 0.5 0.4 1t1 0.4h2.9q0.6 0 1-0.4t0.4-1v-5.7h5.7q0.6 0 1-0.5t0.4-1z m7.2-1.4q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),x}(p.a.PureComponent),sn=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]);return p.a.createElement("span",Z,p.a.createElement("svg",Object.assign({},et(P),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),p.a.createElement("g",null,p.a.createElement("path",{d:"m31.6 21.6h-10v10h-3.2v-10h-10v-3.2h10v-10h3.2v10h10v3.2z"}))))}}]),x}(p.a.PureComponent),Zt=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]);return p.a.createElement("span",Z,p.a.createElement("svg",Object.assign({},et(P),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),p.a.createElement("g",null,p.a.createElement("path",{d:"m19.8 26.4l2.6-2.6-3.4-3.4-2.6 2.6v1.3h2.2v2.1h1.2z m9.8-16q-0.3-0.4-0.7 0l-7.8 7.8q-0.4 0.4 0 0.7t0.7 0l7.8-7.8q0.4-0.4 0-0.7z m1.8 13.2v4.3q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h18.6q1.4 0 2.6 0.5 0.3 0.2 0.4 0.5 0.1 0.4-0.2 0.7l-1.1 1.1q-0.3 0.3-0.7 0.1-0.5-0.1-1-0.1h-18.6q-1.4 0-2.5 1.1t-1 2.5v18.6q0 1.4 1 2.5t2.5 1h18.6q1.5 0 2.5-1t1.1-2.5v-2.9q0-0.2 0.2-0.4l1.4-1.5q0.3-0.3 0.8-0.1t0.4 0.6z m-2.1-16.5l6.4 6.5-15 15h-6.4v-6.5z m9.9 3l-2.1 2-6.4-6.4 2.1-2q0.6-0.7 1.5-0.7t1.5 0.7l3.4 3.4q0.6 0.6 0.6 1.5t-0.6 1.5z"}))))}}]),x}(p.a.PureComponent),Pt=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.style,Z=L(E,["style"]);return p.a.createElement("span",Z,p.a.createElement("svg",Object.assign({},et(P),{viewBox:"0 0 40 40",fill:"currentColor",preserveAspectRatio:"xMidYMid meet"}),p.a.createElement("g",null,p.a.createElement("path",{d:"m31.7 16.4q0-0.6-0.4-1l-2.1-2.1q-0.4-0.4-1-0.4t-1 0.4l-9.1 9.1-5-5q-0.5-0.4-1-0.4t-1 0.4l-2.1 2q-0.4 0.4-0.4 1 0 0.6 0.4 1l8.1 8.1q0.4 0.4 1 0.4 0.6 0 1-0.4l12.2-12.1q0.4-0.4 0.4-1z m5.6 3.6q0 4.7-2.3 8.6t-6.3 6.2-8.6 2.3-8.6-2.3-6.2-6.2-2.3-8.6 2.3-8.6 6.2-6.2 8.6-2.3 8.6 2.3 6.3 6.2 2.3 8.6z"}))))}}]),x}(p.a.PureComponent);function et(j){return j||(j={}),{style:c(c({verticalAlign:"middle"},j),{},{color:j.color?j.color:"#000000",height:"1em",width:"1em"})}}var $t=function(j){h(x,j);var I=g(x);function x(E){var P;return s(this,x),(P=I.call(this,E)).copiedTimer=null,P.handleCopy=function(){var Z=document.createElement("textarea"),ie=P.props,re=ie.clickCallback,Y=ie.src,pe=ie.namespace;Z.innerHTML=JSON.stringify(P.clipboardValue(Y),null," "),document.body.appendChild(Z),Z.select(),document.execCommand("copy"),document.body.removeChild(Z),P.copiedTimer=setTimeout(function(){P.setState({copied:!1})},5500),P.setState({copied:!0},function(){typeof re=="function"&&re({src:Y,namespace:pe,name:pe[pe.length-1]})})},P.getClippyIcon=function(){var Z=P.props.theme;return P.state.copied?p.a.createElement("span",null,p.a.createElement(rt,Object.assign({className:"copy-icon"},K(Z,"copy-icon"))),p.a.createElement("span",K(Z,"copy-icon-copied"),"✔")):p.a.createElement(rt,Object.assign({className:"copy-icon"},K(Z,"copy-icon")))},P.clipboardValue=function(Z){switch(O(Z)){case"function":case"regexp":return Z.toString();default:return Z}},P.state={copied:!1},P}return f(x,[{key:"componentWillUnmount",value:function(){this.copiedTimer&&(clearTimeout(this.copiedTimer),this.copiedTimer=null)}},{key:"render",value:function(){var E=this.props,P=(E.src,E.theme),Z=E.hidden,ie=E.rowHovered,re=K(P,"copy-to-clipboard").style,Y="inline";return Z&&(Y="none"),p.a.createElement("span",{className:"copy-to-clipboard-container",title:"Copy to clipboard",style:{verticalAlign:"top",display:ie?"inline-block":"none"}},p.a.createElement("span",{style:c(c({},re),{},{display:Y}),onClick:this.handleCopy},this.getClippyIcon()))}}]),x}(p.a.PureComponent),Jt=function(j){h(x,j);var I=g(x);function x(E){var P;return s(this,x),(P=I.call(this,E)).getEditIcon=function(){var Z=P.props,ie=Z.variable,re=Z.theme;return p.a.createElement("div",{className:"click-to-edit",style:{verticalAlign:"top",display:P.state.hovered?"inline-block":"none"}},p.a.createElement(Zt,Object.assign({className:"click-to-edit-icon"},K(re,"editVarIcon"),{onClick:function(){P.prepopInput(ie)}})))},P.prepopInput=function(Z){if(P.props.onEdit!==!1){var ie=function(Y){var pe;switch(O(Y)){case"undefined":pe="undefined";break;case"nan":pe="NaN";break;case"string":pe=Y;break;case"date":case"function":case"regexp":pe=Y.toString();break;default:try{pe=JSON.stringify(Y,null," ")}catch{pe=""}}return pe}(Z.value),re=se(ie);P.setState({editMode:!0,editValue:ie,parsedInput:{type:re.type,value:re.value}})}},P.getRemoveIcon=function(){var Z=P.props,ie=Z.variable,re=Z.namespace,Y=Z.theme,pe=Z.rjvId;return p.a.createElement("div",{className:"click-to-remove",style:{verticalAlign:"top",display:P.state.hovered?"inline-block":"none"}},p.a.createElement(yt,Object.assign({className:"click-to-remove-icon"},K(Y,"removeVarIcon"),{onClick:function(){je.dispatch({name:"VARIABLE_REMOVED",rjvId:pe,data:{name:ie.name,namespace:re,existing_value:ie.value,variable_removed:!0}})}})))},P.getValue=function(Z,ie){var re=!ie&&Z.type,Y=M(P).props;switch(re){case!1:return P.getEditInput();case"string":return p.a.createElement(We,Object.assign({value:Z.value},Y));case"integer":return p.a.createElement(xe,Object.assign({value:Z.value},Y));case"float":return p.a.createElement(k,Object.assign({value:Z.value},Y));case"boolean":return p.a.createElement(oe,Object.assign({value:Z.value},Y));case"function":return p.a.createElement(B,Object.assign({value:Z.value},Y));case"null":return p.a.createElement(le,Y);case"nan":return p.a.createElement(R,Y);case"undefined":return p.a.createElement(Le,Y);case"date":return p.a.createElement(ge,Object.assign({value:Z.value},Y));case"regexp":return p.a.createElement(be,Object.assign({value:Z.value},Y));default:return p.a.createElement("div",{className:"object-value"},JSON.stringify(Z.value))}},P.getEditInput=function(){var Z=P.props.theme,ie=P.state.editValue;return p.a.createElement("div",null,p.a.createElement(J,Object.assign({type:"text",inputRef:function(re){return re&&re.focus()},value:ie,className:"variable-editor",onChange:function(re){var Y=re.target.value,pe=se(Y);P.setState({editValue:Y,parsedInput:{type:pe.type,value:pe.value}})},onKeyDown:function(re){switch(re.key){case"Escape":P.setState({editMode:!1,editValue:""});break;case"Enter":(re.ctrlKey||re.metaKey)&&P.submitEdit(!0)}re.stopPropagation()},placeholder:"update this value",minRows:2},K(Z,"edit-input"))),p.a.createElement("div",K(Z,"edit-icon-container"),p.a.createElement(yt,Object.assign({className:"edit-cancel"},K(Z,"cancel-icon"),{onClick:function(){P.setState({editMode:!1,editValue:""})}})),p.a.createElement(Pt,Object.assign({className:"edit-check string-value"},K(Z,"check-icon"),{onClick:function(){P.submitEdit()}})),p.a.createElement("div",null,P.showDetected())))},P.submitEdit=function(Z){var ie=P.props,re=ie.variable,Y=ie.namespace,pe=ie.rjvId,Te=P.state,Ye=Te.editValue,ot=Te.parsedInput,dt=Ye;Z&&ot.type&&(dt=ot.value),P.setState({editMode:!1}),je.dispatch({name:"VARIABLE_UPDATED",rjvId:pe,data:{name:re.name,namespace:Y,existing_value:re.value,new_value:dt,variable_removed:!1}})},P.showDetected=function(){var Z=P.props,ie=Z.theme,re=(Z.variable,Z.namespace,Z.rjvId,P.state.parsedInput),Y=(re.type,re.value,P.getDetectedInput());if(Y)return p.a.createElement("div",null,p.a.createElement("div",K(ie,"detected-row"),Y,p.a.createElement(Pt,{className:"edit-check detected",style:c({verticalAlign:"top",paddingLeft:"3px"},K(ie,"check-icon").style),onClick:function(){P.submitEdit(!0)}})))},P.getDetectedInput=function(){var Z=P.state.parsedInput,ie=Z.type,re=Z.value,Y=M(P).props,pe=Y.theme;if(ie!==!1)switch(ie.toLowerCase()){case"object":return p.a.createElement("span",null,p.a.createElement("span",{style:c(c({},K(pe,"brace").style),{},{cursor:"default"})},"{"),p.a.createElement("span",{style:c(c({},K(pe,"ellipsis").style),{},{cursor:"default"})},"..."),p.a.createElement("span",{style:c(c({},K(pe,"brace").style),{},{cursor:"default"})},"}"));case"array":return p.a.createElement("span",null,p.a.createElement("span",{style:c(c({},K(pe,"brace").style),{},{cursor:"default"})},"["),p.a.createElement("span",{style:c(c({},K(pe,"ellipsis").style),{},{cursor:"default"})},"..."),p.a.createElement("span",{style:c(c({},K(pe,"brace").style),{},{cursor:"default"})},"]"));case"string":return p.a.createElement(We,Object.assign({value:re},Y));case"integer":return p.a.createElement(xe,Object.assign({value:re},Y));case"float":return p.a.createElement(k,Object.assign({value:re},Y));case"boolean":return p.a.createElement(oe,Object.assign({value:re},Y));case"function":return p.a.createElement(B,Object.assign({value:re},Y));case"null":return p.a.createElement(le,Y);case"nan":return p.a.createElement(R,Y);case"undefined":return p.a.createElement(Le,Y);case"date":return p.a.createElement(ge,Object.assign({value:new Date(re)},Y))}},P.state={editMode:!1,editValue:"",hovered:!1,renameKey:!1,parsedInput:{type:!1,value:null}},P}return f(x,[{key:"render",value:function(){var E=this,P=this.props,Z=P.variable,ie=P.singleIndent,re=P.type,Y=P.theme,pe=P.namespace,Te=P.indentWidth,Ye=P.enableClipboard,ot=P.onEdit,dt=P.onDelete,Qe=P.onSelect,ht=P.displayArrayKey,Ct=P.quotesOnKeys,De=this.state.editMode;return p.a.createElement("div",Object.assign({},K(Y,"objectKeyVal",{paddingLeft:Te*ie}),{onMouseEnter:function(){return E.setState(c(c({},E.state),{},{hovered:!0}))},onMouseLeave:function(){return E.setState(c(c({},E.state),{},{hovered:!1}))},className:"variable-row",key:Z.name}),re=="array"?ht?p.a.createElement("span",Object.assign({},K(Y,"array-key"),{key:Z.name+"_"+pe}),Z.name,p.a.createElement("div",K(Y,"colon"),":")):null:p.a.createElement("span",null,p.a.createElement("span",Object.assign({},K(Y,"object-name"),{className:"object-key",key:Z.name+"_"+pe}),!!Ct&&p.a.createElement("span",{style:{verticalAlign:"top"}},'"'),p.a.createElement("span",{style:{display:"inline-block"}},Z.name),!!Ct&&p.a.createElement("span",{style:{verticalAlign:"top"}},'"')),p.a.createElement("span",K(Y,"colon"),":")),p.a.createElement("div",Object.assign({className:"variable-value",onClick:Qe===!1&&ot===!1?null:function(V){var Q=He(pe);(V.ctrlKey||V.metaKey)&&ot!==!1?E.prepopInput(Z):Qe!==!1&&(Q.shift(),Qe(c(c({},Z),{},{namespace:Q})))}},K(Y,"variableValue",{cursor:Qe===!1?"default":"pointer"})),this.getValue(Z,De)),Ye?p.a.createElement($t,{rowHovered:this.state.hovered,hidden:De,src:Z.value,clickCallback:Ye,theme:Y,namespace:[].concat(He(pe),[Z.name])}):null,ot!==!1&&De==0?this.getEditIcon():null,dt!==!1&&De==0?this.getRemoveIcon():null)}}]),x}(p.a.PureComponent),Jn=function(j){h(x,j);var I=g(x);function x(){var E;s(this,x);for(var P=arguments.length,Z=new Array(P),ie=0;ie<P;ie++)Z[ie]=arguments[ie];return(E=I.call.apply(I,[this].concat(Z))).getObjectSize=function(){var re=E.props,Y=re.size,pe=re.theme;if(re.displayObjectSize)return p.a.createElement("span",Object.assign({className:"object-size"},K(pe,"object-size")),Y," item",Y===1?"":"s")},E.getAddAttribute=function(re){var Y=E.props,pe=Y.theme,Te=Y.namespace,Ye=Y.name,ot=Y.src,dt=Y.rjvId,Qe=Y.depth;return p.a.createElement("span",{className:"click-to-add",style:{verticalAlign:"top",display:re?"inline-block":"none"}},p.a.createElement(Nt,Object.assign({className:"click-to-add-icon"},K(pe,"addVarIcon"),{onClick:function(){var ht={name:Qe>0?Ye:null,namespace:Te.splice(0,Te.length-1),existing_value:ot,variable_removed:!1,key_name:null};O(ot)==="object"?je.dispatch({name:"ADD_VARIABLE_KEY_REQUEST",rjvId:dt,data:ht}):je.dispatch({name:"VARIABLE_ADDED",rjvId:dt,data:c(c({},ht),{},{new_value:[].concat(He(ot),[null])})})}})))},E.getRemoveObject=function(re){var Y=E.props,pe=Y.theme,Te=(Y.hover,Y.namespace),Ye=Y.name,ot=Y.src,dt=Y.rjvId;if(Te.length!==1)return p.a.createElement("span",{className:"click-to-remove",style:{display:re?"inline-block":"none"}},p.a.createElement(yt,Object.assign({className:"click-to-remove-icon"},K(pe,"removeVarIcon"),{onClick:function(){je.dispatch({name:"VARIABLE_REMOVED",rjvId:dt,data:{name:Ye,namespace:Te.splice(0,Te.length-1),existing_value:ot,variable_removed:!0}})}})))},E.render=function(){var re=E.props,Y=re.theme,pe=re.onDelete,Te=re.onAdd,Ye=re.enableClipboard,ot=re.src,dt=re.namespace,Qe=re.rowHovered;return p.a.createElement("div",Object.assign({},K(Y,"object-meta-data"),{className:"object-meta-data",onClick:function(ht){ht.stopPropagation()}}),E.getObjectSize(),Ye?p.a.createElement($t,{rowHovered:Qe,clickCallback:Ye,src:ot,theme:Y,namespace:dt}):null,Te!==!1?E.getAddAttribute(Qe):null,pe!==!1?E.getRemoveObject(Qe):null)},E}return x}(p.a.PureComponent);function Pn(j){var I=j.parent_type,x=j.namespace,E=j.quotesOnKeys,P=j.theme,Z=j.jsvRoot,ie=j.name,re=j.displayArrayKey,Y=j.name?j.name:"";return!Z||ie!==!1&&ie!==null?I=="array"?re?p.a.createElement("span",Object.assign({},K(P,"array-key"),{key:x}),p.a.createElement("span",{className:"array-key"},Y),p.a.createElement("span",K(P,"colon"),":")):p.a.createElement("span",null):p.a.createElement("span",Object.assign({},K(P,"object-name"),{key:x}),p.a.createElement("span",{className:"object-key"},E&&p.a.createElement("span",{style:{verticalAlign:"top"}},'"'),p.a.createElement("span",null,Y),E&&p.a.createElement("span",{style:{verticalAlign:"top"}},'"')),p.a.createElement("span",K(P,"colon"),":")):p.a.createElement("span",null)}function en(j){var I=j.theme;switch(j.iconStyle){case"triangle":return p.a.createElement(st,Object.assign({},K(I,"expanded-icon"),{className:"expanded-icon"}));case"square":return p.a.createElement(Ge,Object.assign({},K(I,"expanded-icon"),{className:"expanded-icon"}));default:return p.a.createElement(Ae,Object.assign({},K(I,"expanded-icon"),{className:"expanded-icon"}))}}function Rn(j){var I=j.theme;switch(j.iconStyle){case"triangle":return p.a.createElement(ft,Object.assign({},K(I,"collapsed-icon"),{className:"collapsed-icon"}));case"square":return p.a.createElement(pt,Object.assign({},K(I,"collapsed-icon"),{className:"collapsed-icon"}));default:return p.a.createElement(Ve,Object.assign({},K(I,"collapsed-icon"),{className:"collapsed-icon"}))}}var Tr=function(j){h(x,j);var I=g(x);function x(E){var P;return s(this,x),(P=I.call(this,E)).toggleCollapsed=function(Z){var ie=[];for(var re in P.state.expanded)ie.push(P.state.expanded[re]);ie[Z]=!ie[Z],P.setState({expanded:ie})},P.state={expanded:[]},P}return f(x,[{key:"getExpandedIcon",value:function(E){var P=this.props,Z=P.theme,ie=P.iconStyle;return this.state.expanded[E]?p.a.createElement(en,{theme:Z,iconStyle:ie}):p.a.createElement(Rn,{theme:Z,iconStyle:ie})}},{key:"render",value:function(){var E=this,P=this.props,Z=P.src,ie=P.groupArraysAfterLength,re=(P.depth,P.name),Y=P.theme,pe=P.jsvRoot,Te=P.namespace,Ye=(P.parent_type,L(P,["src","groupArraysAfterLength","depth","name","theme","jsvRoot","namespace","parent_type"])),ot=0,dt=5*this.props.indentWidth;pe||(ot=5*this.props.indentWidth);var Qe=ie,ht=Math.ceil(Z.length/Qe);return p.a.createElement("div",Object.assign({className:"object-key-val"},K(Y,pe?"jsv-root":"objectKeyVal",{paddingLeft:ot})),p.a.createElement(Pn,this.props),p.a.createElement("span",null,p.a.createElement(Jn,Object.assign({size:Z.length},this.props))),He(Array(ht)).map(function(Ct,De){return p.a.createElement("div",Object.assign({key:De,className:"object-key-val array-group"},K(Y,"objectKeyVal",{marginLeft:6,paddingLeft:dt})),p.a.createElement("span",K(Y,"brace-row"),p.a.createElement("div",Object.assign({className:"icon-container"},K(Y,"icon-container"),{onClick:function(V){E.toggleCollapsed(De)}}),E.getExpandedIcon(De)),E.state.expanded[De]?p.a.createElement(pi,Object.assign({key:re+De,depth:0,name:!1,collapsed:!1,groupArraysAfterLength:Qe,index_offset:De*Qe,src:Z.slice(De*Qe,De*Qe+Qe),namespace:Te,type:"array",parent_type:"array_group",theme:Y},Ye)):p.a.createElement("span",Object.assign({},K(Y,"brace"),{onClick:function(V){E.toggleCollapsed(De)},className:"array-group-brace"}),"[",p.a.createElement("div",Object.assign({},K(Y,"array-group-meta-data"),{className:"array-group-meta-data"}),p.a.createElement("span",Object.assign({className:"object-size"},K(Y,"object-size")),De*Qe," - ",De*Qe+Qe>Z.length?Z.length:De*Qe+Qe)),"]")))}))}}]),x}(p.a.PureComponent),F1=function(j){h(x,j);var I=g(x);function x(E){var P;s(this,x),(P=I.call(this,E)).toggleCollapsed=function(){P.setState({expanded:!P.state.expanded},function(){T.set(P.props.rjvId,P.props.namespace,"expanded",P.state.expanded)})},P.getObjectContent=function(ie,re,Y){return p.a.createElement("div",{className:"pushed-content object-container"},p.a.createElement("div",Object.assign({className:"object-content"},K(P.props.theme,"pushed-content")),P.renderObjectContents(re,Y)))},P.getEllipsis=function(){return P.state.size===0?null:p.a.createElement("div",Object.assign({},K(P.props.theme,"ellipsis"),{className:"node-ellipsis",onClick:P.toggleCollapsed}),"...")},P.getObjectMetaData=function(ie){var re=P.props,Y=(re.rjvId,re.theme,P.state),pe=Y.size,Te=Y.hovered;return p.a.createElement(Jn,Object.assign({rowHovered:Te,size:pe},P.props))},P.renderObjectContents=function(ie,re){var Y,pe=P.props,Te=pe.depth,Ye=pe.parent_type,ot=pe.index_offset,dt=pe.groupArraysAfterLength,Qe=pe.namespace,ht=P.state.object_type,Ct=[],De=Object.keys(ie||{});return P.props.sortKeys&&ht!=="array"&&(De=De.sort()),De.forEach(function(V){if(Y=new c8(V,ie[V]),Ye==="array_group"&&ot&&(Y.name=parseInt(Y.name)+ot),ie.hasOwnProperty(V))if(Y.type==="object")Ct.push(p.a.createElement(pi,Object.assign({key:Y.name,depth:Te+1,name:Y.name,src:Y.value,namespace:Qe.concat(Y.name),parent_type:ht},re)));else if(Y.type==="array"){var Q=pi;dt&&Y.value.length>dt&&(Q=Tr),Ct.push(p.a.createElement(Q,Object.assign({key:Y.name,depth:Te+1,name:Y.name,src:Y.value,namespace:Qe.concat(Y.name),type:"array",parent_type:ht},re)))}else Ct.push(p.a.createElement(Jt,Object.assign({key:Y.name+"_"+Qe,variable:Y,singleIndent:5,namespace:Qe,type:P.props.type},re)))}),Ct};var Z=x.getState(E);return P.state=c(c({},Z),{},{prevProps:{}}),P}return f(x,[{key:"getBraceStart",value:function(E,P){var Z=this,ie=this.props,re=ie.src,Y=ie.theme,pe=ie.iconStyle;if(ie.parent_type==="array_group")return p.a.createElement("span",null,p.a.createElement("span",K(Y,"brace"),E==="array"?"[":"{"),P?this.getObjectMetaData(re):null);var Te=P?en:Rn;return p.a.createElement("span",null,p.a.createElement("span",Object.assign({onClick:function(Ye){Z.toggleCollapsed()}},K(Y,"brace-row")),p.a.createElement("div",Object.assign({className:"icon-container"},K(Y,"icon-container")),p.a.createElement(Te,{theme:Y,iconStyle:pe})),p.a.createElement(Pn,this.props),p.a.createElement("span",K(Y,"brace"),E==="array"?"[":"{")),P?this.getObjectMetaData(re):null)}},{key:"render",value:function(){var E=this,P=this.props,Z=P.depth,ie=P.src,re=(P.namespace,P.name,P.type,P.parent_type),Y=P.theme,pe=P.jsvRoot,Te=P.iconStyle,Ye=L(P,["depth","src","namespace","name","type","parent_type","theme","jsvRoot","iconStyle"]),ot=this.state,dt=ot.object_type,Qe=ot.expanded,ht={};return pe||re==="array_group"?re==="array_group"&&(ht.borderLeft=0,ht.display="inline"):ht.paddingLeft=5*this.props.indentWidth,p.a.createElement("div",Object.assign({className:"object-key-val",onMouseEnter:function(){return E.setState(c(c({},E.state),{},{hovered:!0}))},onMouseLeave:function(){return E.setState(c(c({},E.state),{},{hovered:!1}))}},K(Y,pe?"jsv-root":"objectKeyVal",ht)),this.getBraceStart(dt,Qe),Qe?this.getObjectContent(Z,ie,c({theme:Y,iconStyle:Te},Ye)):this.getEllipsis(),p.a.createElement("span",{className:"brace-row"},p.a.createElement("span",{style:c(c({},K(Y,"brace").style),{},{paddingLeft:Qe?"3px":"0px"})},dt==="array"?"]":"}"),Qe?null:this.getObjectMetaData(ie)))}}],[{key:"getDerivedStateFromProps",value:function(E,P){var Z=P.prevProps;return E.src!==Z.src||E.collapsed!==Z.collapsed||E.name!==Z.name||E.namespace!==Z.namespace||E.rjvId!==Z.rjvId?c(c({},x.getState(E)),{},{prevProps:E}):null}}]),x}(p.a.PureComponent);F1.getState=function(j){var I=Object.keys(j.src).length,x=(j.collapsed===!1||j.collapsed!==!0&&j.collapsed>j.depth)&&(!j.shouldCollapse||j.shouldCollapse({name:j.name,src:j.src,type:O(j.src),namespace:j.namespace})===!1)&&I!==0;return{expanded:T.get(j.rjvId,j.namespace,"expanded",x),object_type:j.type==="array"?"array":"object",parent_type:j.type==="array"?"array":"object",size:I,hovered:!1}};var c8=function j(I,x){s(this,j),this.name=I,this.value=x,this.type=O(x)};F(F1);var pi=F1,s8=function(j){h(x,j);var I=g(x);function x(){var E;s(this,x);for(var P=arguments.length,Z=new Array(P),ie=0;ie<P;ie++)Z[ie]=arguments[ie];return(E=I.call.apply(I,[this].concat(Z))).render=function(){var re=M(E).props,Y=[re.name],pe=pi;return Array.isArray(re.src)&&re.groupArraysAfterLength&&re.src.length>re.groupArraysAfterLength&&(pe=Tr),p.a.createElement("div",{className:"pretty-json-container object-container"},p.a.createElement("div",{className:"object-content"},p.a.createElement(pe,Object.assign({namespace:Y,depth:0,jsvRoot:!0},re))))},E}return x}(p.a.PureComponent),u8=function(j){h(x,j);var I=g(x);function x(E){var P;return s(this,x),(P=I.call(this,E)).closeModal=function(){je.dispatch({rjvId:P.props.rjvId,name:"RESET"})},P.submit=function(){P.props.submit(P.state.input)},P.state={input:E.input?E.input:""},P}return f(x,[{key:"render",value:function(){var E=this,P=this.props,Z=P.theme,ie=P.rjvId,re=P.isValid,Y=this.state.input,pe=re(Y);return p.a.createElement("div",Object.assign({className:"key-modal-request"},K(Z,"key-modal-request"),{onClick:this.closeModal}),p.a.createElement("div",Object.assign({},K(Z,"key-modal"),{onClick:function(Te){Te.stopPropagation()}}),p.a.createElement("div",K(Z,"key-modal-label"),"Key Name:"),p.a.createElement("div",{style:{position:"relative"}},p.a.createElement("input",Object.assign({},K(Z,"key-modal-input"),{className:"key-modal-input",ref:function(Te){return Te&&Te.focus()},spellCheck:!1,value:Y,placeholder:"...",onChange:function(Te){E.setState({input:Te.target.value})},onKeyPress:function(Te){pe&&Te.key==="Enter"?E.submit():Te.key==="Escape"&&E.closeModal()}})),pe?p.a.createElement(Pt,Object.assign({},K(Z,"key-modal-submit"),{className:"key-modal-submit",onClick:function(Te){return E.submit()}})):null),p.a.createElement("span",K(Z,"key-modal-cancel"),p.a.createElement(sn,Object.assign({},K(Z,"key-modal-cancel-icon"),{className:"key-modal-cancel",onClick:function(){je.dispatch({rjvId:ie,name:"RESET"})}})))))}}]),x}(p.a.PureComponent),f8=function(j){h(x,j);var I=g(x);function x(){var E;s(this,x);for(var P=arguments.length,Z=new Array(P),ie=0;ie<P;ie++)Z[ie]=arguments[ie];return(E=I.call.apply(I,[this].concat(Z))).isValid=function(re){var Y=E.props.rjvId,pe=T.get(Y,"action","new-key-request");return re!=""&&Object.keys(pe.existing_value).indexOf(re)===-1},E.submit=function(re){var Y=E.props.rjvId,pe=T.get(Y,"action","new-key-request");pe.new_value=c({},pe.existing_value),pe.new_value[re]=E.props.defaultValue,je.dispatch({name:"VARIABLE_ADDED",rjvId:Y,data:pe})},E}return f(x,[{key:"render",value:function(){var E=this.props,P=E.active,Z=E.theme,ie=E.rjvId;return P?p.a.createElement(u8,{rjvId:ie,theme:Z,isValid:this.isValid,submit:this.submit}):null}}]),x}(p.a.PureComponent),$o=function(j){h(x,j);var I=g(x);function x(){return s(this,x),I.apply(this,arguments)}return f(x,[{key:"render",value:function(){var E=this.props,P=E.message,Z=E.active,ie=E.theme,re=E.rjvId;return Z?p.a.createElement("div",Object.assign({className:"validation-failure"},K(ie,"validation-failure"),{onClick:function(){je.dispatch({rjvId:re,name:"RESET"})}}),p.a.createElement("span",K(ie,"validation-failure-label"),P),p.a.createElement(sn,K(ie,"validation-failure-clear"))):null}}]),x}(p.a.PureComponent),za=function(j){h(x,j);var I=g(x);function x(E){var P;return s(this,x),(P=I.call(this,E)).rjvId=Date.now().toString(),P.getListeners=function(){return{reset:P.resetState,"variable-update":P.updateSrc,"add-key-request":P.addKeyRequest}},P.updateSrc=function(){var Z,ie=T.get(P.rjvId,"action","variable-update"),re=ie.name,Y=ie.namespace,pe=ie.new_value,Te=ie.existing_value,Ye=(ie.variable_removed,ie.updated_src),ot=ie.type,dt=P.props,Qe=dt.onEdit,ht=dt.onDelete,Ct=dt.onAdd,De={existing_src:P.state.src,new_value:pe,updated_src:Ye,name:re,namespace:Y,existing_value:Te};switch(ot){case"variable-added":Z=Ct(De);break;case"variable-edited":Z=Qe(De);break;case"variable-removed":Z=ht(De)}Z!==!1?(T.set(P.rjvId,"global","src",Ye),P.setState({src:Ye})):P.setState({validationFailure:!0})},P.addKeyRequest=function(){P.setState({addKeyRequest:!0})},P.resetState=function(){P.setState({validationFailure:!1,addKeyRequest:!1})},P.state={addKeyRequest:!1,editKeyRequest:!1,validationFailure:!1,src:x.defaultProps.src,name:x.defaultProps.name,theme:x.defaultProps.theme,validationMessage:x.defaultProps.validationMessage,prevSrc:x.defaultProps.src,prevName:x.defaultProps.name,prevTheme:x.defaultProps.theme},P}return f(x,[{key:"componentDidMount",value:function(){T.set(this.rjvId,"global","src",this.state.src);var E=this.getListeners();for(var P in E)T.on(P+"-"+this.rjvId,E[P]);this.setState({addKeyRequest:!1,editKeyRequest:!1})}},{key:"componentDidUpdate",value:function(E,P){P.addKeyRequest!==!1&&this.setState({addKeyRequest:!1}),P.editKeyRequest!==!1&&this.setState({editKeyRequest:!1}),E.src!==this.state.src&&T.set(this.rjvId,"global","src",this.state.src)}},{key:"componentWillUnmount",value:function(){var E=this.getListeners();for(var P in E)T.removeListener(P+"-"+this.rjvId,E[P])}},{key:"render",value:function(){var E=this.state,P=E.validationFailure,Z=E.validationMessage,ie=E.addKeyRequest,re=E.theme,Y=E.src,pe=E.name,Te=this.props,Ye=Te.style,ot=Te.defaultValue;return p.a.createElement("div",{className:"react-json-view",style:c(c({},K(re,"app-container").style),Ye)},p.a.createElement($o,{message:Z,active:P,theme:re,rjvId:this.rjvId}),p.a.createElement(s8,Object.assign({},this.props,{src:Y,name:pe,theme:re,type:O(Y),rjvId:this.rjvId})),p.a.createElement(f8,{active:ie,theme:re,rjvId:this.rjvId,defaultValue:ot}))}}],[{key:"getDerivedStateFromProps",value:function(E,P){if(E.src!==P.prevSrc||E.name!==P.prevName||E.theme!==P.prevTheme){var Z={src:E.src,name:E.name,theme:E.theme,validationMessage:E.validationMessage,prevSrc:E.src,prevName:E.name,prevTheme:E.theme};return x.validateState(Z)}return null}}]),x}(p.a.PureComponent);za.defaultProps={src:{},name:"root",theme:"rjv-default",collapsed:!1,collapseStringsAfterLength:!1,shouldCollapse:!1,sortKeys:!1,quotesOnKeys:!0,groupArraysAfterLength:100,indentWidth:4,enableClipboard:!0,displayObjectSize:!0,displayDataTypes:!0,onEdit:!1,onDelete:!1,onAdd:!1,onSelect:!1,iconStyle:"triangle",style:{},validationMessage:"Validation Error",defaultValue:null,displayArrayKey:!0},za.validateState=function(j){var I={};return O(j.theme)!=="object"||function(x){var E=["base00","base01","base02","base03","base04","base05","base06","base07","base08","base09","base0A","base0B","base0C","base0D","base0E","base0F"];if(O(x)==="object"){for(var P=0;P<E.length;P++)if(!(E[P]in x))return!1;return!0}return!1}(j.theme)||(console.error("react-json-view error:","theme prop must be a theme name or valid base-16 theme object.",'defaulting to "rjv-default" theme'),I.theme="rjv-default"),O(j.src)!=="object"&&O(j.src)!=="array"&&(console.error("react-json-view error:","src property must be a valid json object"),I.name="ERROR",I.src={message:"src property must be a valid json object"}),c(c({},j),I)},F(za),a.default=za}])})})(QA);var LSe=QA.exports;const HSe=Fn(LSe),VSe=({onClick:e,isCollapsed:t})=>{const n="json.".concat(t?"expandAll":"collapseAll");return Se.jsx(Qr,{onClick:e,children:Se.jsx("span",{children:Ln(n)})})};var o8={};function Mf(e){"@babel/helpers - typeof";return Mf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mf(e)}Object.defineProperty(o8,"__esModule",{value:!0});o8.CopyToClipboard=void 0;var V2=XA(b),jSe=XA(Cj),ASe=["text","onCopy","options","children"];function XA(e){return e&&e.__esModule?e:{default:e}}function Pg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Tg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pg(Object(n),!0).forEach(function(r){ed(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pg(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function FSe(e,t){if(e==null)return{};var n=ISe(e,t),r,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)r=i[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ISe(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i<r.length;i++)a=r[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function BSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RSe(e,t,n){return t&&$g(e.prototype,t),n&&$g(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function DSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zf(e,t)}function zf(e,t){return zf=Object.setPrototypeOf||function(r,a){return r.__proto__=a,r},zf(e,t)}function NSe(e){var t=USe();return function(){var r=e0(e),a;if(t){var i=e0(this).constructor;a=Reflect.construct(r,arguments,i)}else a=r.apply(this,arguments);return WSe(this,a)}}function WSe(e,t){if(t&&(Mf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ZA(e)}function ZA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function USe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function e0(e){return e0=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},e0(e)}function ed(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var JA=function(e){DSe(n,e);var t=NSe(n);function n(){var r;BSe(this,n);for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return r=t.call.apply(t,[this].concat(i)),ed(ZA(r),"onClick",function(l){var c=r.props,s=c.text,u=c.onCopy,f=c.children,d=c.options,h=V2.default.Children.only(f),v=(0,jSe.default)(s,d);u&&u(s,v),h&&h.props&&typeof h.props.onClick=="function"&&h.props.onClick(l)}),r}return RSe(n,[{key:"render",value:function(){var a=this.props;a.text,a.onCopy,a.options;var i=a.children,o=FSe(a,ASe),l=V2.default.Children.only(i);return V2.default.cloneElement(l,Tg(Tg({},o),{},{onClick:this.onClick}))}}]),n}(V2.default.PureComponent);o8.CopyToClipboard=JA;ed(JA,"defaultProps",{onCopy:void 0,options:void 0});var qSe=o8,xf=qSe.CopyToClipboard;xf.CopyToClipboard=xf;var KSe=xf;const GSe=1e3,YSe=({children:e,toCopy:t,copiedInterval:n=GSe})=>{const[r,a]=b.useState(!1),i=()=>{r||a(!0)};b.useEffect(()=>{if(r){const l=setTimeout(()=>a(!1),n);return()=>clearTimeout(l)}},[n,r]);const o="copyContent.".concat(r?"copied":"copy");return Se.jsx(KSe.CopyToClipboard,{onCopy:i,text:t??"",children:e({copyMessageId:o,isCopied:r,toCopy:t})})};function QSe(e){try{return JSON.stringify(e,void 0,2)}catch{return null}}const XSe=({schema:e})=>{const t=QSe(e);return Se.jsx(YSe,{toCopy:t,children:({copyMessageId:n})=>Se.jsx(Qr,{children:Se.jsx("span",{children:Ln(n)})})})},ZSe=1,JSe=10,ol={buttons:{display:"flex",gap:8,position:"absolute",right:10,top:10},center:{left:"50%",position:"absolute",top:"50%",transform:"translate(-50%, -50%)"},container:{height:"100%",position:"relative"},viewer:{backgroundColor:"#f1f1f1",borderRadius:8,height:"100%",overflow:"auto",padding:16}},eCe=({schema:e})=>{const[t,n]=b.useState(!0),r=()=>n(!t);return e?Se.jsxs("div",{className:"reactord-jsonviewer",style:ol.container,children:[Se.jsx(HSe,{collapseStringsAfterLength:150,collapsed:t?ZSe:JSe,displayDataTypes:!1,displayObjectSize:!1,enableClipboard:!1,name:!1,quotesOnKeys:!1,src:e,style:ol.viewer}),Se.jsxs("div",{style:ol.buttons,children:[Se.jsx(XSe,{schema:e}),Se.jsx(VSe,{isCollapsed:t,onClick:r})]})]}):Se.jsx("div",{style:ol.viewer,children:Se.jsx("div",{style:ol.center,children:Se.jsx("span",{children:"Missing schema message"})})})},Lg=e=>e.source||"__other_libraries_key__",fs=e=>{var t;return((t=e.libraryName)!=null?t:e.source)||Ln("components.components-explorer.other-libs.name")},tCe=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "),ds=e=>{var t;return(t=e.info.label)!=null?t:tCe(e.tag)},nCe=({info$:e,hide:t})=>{var n;const[r,a]=b.useState(""),[i,o]=b.useState([]),[l,c]=b.useState(),[s,u]=b.useState(!1),f=b.useRef(null),[d,h]=b.useState(!1),[v,y]=b.useState(!1),M=MSe(e,(A,G)=>[...A,...G],[]),m=b.useCallback(()=>{c(void 0),y(!1),h(!1),u(!1)},[]),g=b.useCallback(()=>{t(),setTimeout(()=>{a(""),o([]),m()},300)},[m,t]),_=b.useMemo(()=>{if(l!=null&&l.info.example)try{return JSON.parse(l.info.example)}catch{console.error("Invalid example for component ".concat(l.tag));return}},[l]),p=b.useMemo(()=>{const A=M.reduce((G,{info:W})=>{const ce=Lg(W);return G[ce]===void 0?{...G,[ce]:fs(W)}:G},{});return Object.entries(A).map(([G,W])=>Se.jsx(ai.Option,{value:G,children:W},G))},[M]),C=b.useMemo(()=>M.reduce((A,G)=>{const W=Lg(G.info);if(i.length>0&&!i.includes(W)||r&&!ds(G).toLowerCase().includes(r.toLowerCase()))return A;const ce=A[W];return ce===void 0?{...A,[W]:{components:[G],label:fs(G.info)}}:(ce.components.push(G),A)},{}),[i,r,M]),z=b.useMemo(()=>Se.jsxs("div",{className:"components-explorer-comp-header",children:[Se.jsx("div",{className:"components-explorer-comp-title",children:Se.jsx("span",{children:Ln("components.components-explorer.drawer.title")})}),Se.jsx(Qr,{className:"components-explorer-comp-title-btn",onClick:g,type:"link",children:Se.jsx(_g,{})})]}),[g]),H=b.useMemo(()=>{const A=Object.entries(C).map(([G,W])=>{const ce=W.components.map(X=>Se.jsxs("div",{className:"components-explorer-component-row",onClick:()=>c(X),children:[X.info.iconSrc?Se.jsx("img",{alt:"",height:16,src:X.info.iconSrc,width:16}):Se.jsx(cxe,{}),ds(X)]},X.tag));return Se.jsxs("div",{className:"components-explorer-lib",children:[Se.jsx("span",{className:"components-explorer-lib-name",children:W.label}),ce]},G)});return Se.jsxs("div",{className:"components-explorer-lib-container",children:[Se.jsxs("div",{className:"components-explorer-lib-filters",children:[Se.jsx(di.Search,{allowClear:!0,onChange:G=>a(G.target.value),placeholder:Ln("components.components-explorer.drawer.search.ph"),value:r}),Se.jsx(ai,{allowClear:!0,getPopupContainer:G=>G,mode:"multiple",onChange:G=>o(G),placeholder:Ln("components.components-explorer.drawer.lib-filter.ph"),value:i,children:p})]}),Se.jsx("div",{style:{overflowY:"auto"},children:A.length>0?A:Se.jsx(fm,{icon:Se.jsx(sxe,{}),subTitle:Se.jsx("span",{children:Ln("components.components-explorer.drawer.no-data.subtitle")}),title:Se.jsx("span",{children:Ln("components.components-explorer.drawer.no-data.title")})})})]})},[p,i,C,r]),F=b.useMemo(()=>l&&Se.jsxs("div",{className:"components-explorer-comp-header",children:[Se.jsxs("div",{className:"components-explorer-comp-title",children:[Se.jsx(Qr,{className:"components-explorer-comp-title-btn",onClick:m,type:"link",children:Se.jsx(lxe,{})}),Se.jsx("span",{children:ds(l)}),Se.jsx(zme,{className:"components-explorer-comp-title-tag",color:"blue",children:fs(l.info)}),l.info.docLink&&Se.jsx($Se,{docLink:l.info.docLink})]}),Se.jsx(Qr,{className:"components-explorer-comp-title-btn",onClick:g,type:"link",children:Se.jsx(_g,{})})]}),[g,m,l]),L=b.useMemo(()=>l&&Se.jsxs("div",{className:"components-explorer-comp-detail",children:[l.info.previewImage&&Se.jsxs("div",{className:"components-explorer-comp-detail-img",children:[!s&&Se.jsx(xge,{active:!0}),Se.jsx("img",{alt:"Preview",onError:()=>u(!0),onLoad:()=>u(!0),src:l.info.previewImage,style:s?{}:{display:"none"}})]}),l.info.descriptionLong&&Se.jsxs("div",{className:"components-explorer-comp-detail-section",children:[Se.jsx("span",{children:Ln("components.components-explorer.detail.description")}),Se.jsx("div",{style:{display:"flex",flexDirection:"column",gap:8},children:v?Se.jsxs(Se.Fragment,{children:[Se.jsx(Om,{children:Se.jsx(fg,{className:"components-explorer-markdown",remarkPlugins:[bg],children:l.info.descriptionLong})}),Se.jsxs(Qr,{className:"components-explorer-expand-btn",onClick:()=>y(!1),children:[Se.jsx(uxe,{}),Se.jsx("span",{children:Ln("components.components-explorer.detail.description.reduce")})]})]}):Se.jsxs(Se.Fragment,{children:[Se.jsx(Om,{className:"components-explorer-collapsed-description",style:d?{boxShadow:"inset 0 -8px 6px -6px rgb(0 0 0 / 20%)"}:{},children:Se.jsx("div",{ref:f,children:Se.jsx(fg,{className:"components-explorer-markdown",remarkPlugins:[bg],children:l.info.descriptionLong})})}),d&&Se.jsxs(Qr,{className:"components-explorer-expand-btn",onClick:()=>y(!0),children:[Se.jsx(fxe,{}),Se.jsx("span",{children:Ln("components.components-explorer.detail.description.expand")})]})]})})]}),_!==void 0&&Se.jsxs("div",{className:"components-explorer-comp-detail-section",children:[Se.jsx("span",{children:Ln("components.components-explorer.detail.example")}),Se.jsx(eCe,{schema:_})]}),!l.info.previewImage&&!l.info.descriptionLong&&!_&&Se.jsx(fm,{icon:Se.jsx(dxe,{}),subTitle:Se.jsx("span",{children:Ln("components.components-explorer.detail.no-data.subtitle")}),title:Se.jsx("span",{children:Ln("components.components-explorer.detail.no-data.title")})})]}),[d,v,f,_,s,l]),O=b.useMemo(()=>l===void 0?{content:H,title:z}:{content:L,title:F},[L,F,H,z,l]);return b.useEffect(()=>{var A;const G=(A=f.current)==null?void 0:A.offsetHeight;G&&!d&&h(G>44)},[d,(n=f.current)==null?void 0:n.offsetHeight]),Se.jsxs("div",{className:"components-explorer-container",children:[O.title,O.content]})},rCe="en",aCe=(e,t=rCe)=>typeof e=="string"?e:e==null?void 0:e[t];function iCe(e){return Object.entries(e).reduce((t,[n,r])=>(t[n]=aCe(r),t),{})}const go=(...e)=>{},eF=e=>Array.isArray(e)?e:[e],tF=({document:{baseURI:e},location:{href:t}})=>n=>new URL(n,new URL(e,t)),nF=(e,t)=>{let n=t;return t instanceof URL||(n=e(typeof t=="string"?t:t.url)),n},oCe=(e,t)=>{const{href:n,origin:r}=t;return e===r?n.substring(e.length):n},lCe=(e,t,n=0)=>{const{selectors:r}=t;return e.querySelector(r[n])};function cCe(e){return document.querySelector(e)}const sCe=(e,t)=>{const n=t.get(e);if(n){const{css:r,rest:a,subscription:i}=n;a.forEach(o=>{var l;return(l=o.__unfocus_handler)==null?void 0:l.call(o)}),i.unsubscribe(),n.elementToFocus.forEach((o,l)=>{Object.assign(o.style,r[l])})}t.delete(e)},uCe=e=>e!==void 0;function fCe(e,t,n){const r=new Map,a=cCe.bind(e),i=t.pipe(LI(),HI(([o])=>{var l;if(o!==void 0){const c=lCe(e,o);c!==null&&((l=c.__unfocus_handler)==null||l.call(c),sCe(c,r))}}),Fa(([,o])=>o),Na(uCe),Fa(o=>{const[l,...c]=o.selectors,s=c.reduce((u,f)=>{var d;const h=a(f);if(h){u.push(h);const v=(d=h.__focus_handler)==null?void 0:d.call(h);v&&"then"in v&&v.catch(go)}return u},[]);return{first:l,next:o,otherElements:s}}),Fa(o=>({...o,firstElement:a(o.first)})),Na(o=>o.firstElement!==null),Fa(o=>{var l,c;return{...o,focus:(c=(l=o.firstElement).__focus_handler)==null?void 0:c.call(l)}}),$I(({focus:o,...l})=>(o&&"then"in o?o:Promise.resolve(o??l.firstElement)).then(s=>({focus:s,...l})).catch(()=>({focus:void 0,...l})))).subscribe(({otherElements:o,next:l,firstElement:c,focus:s})=>{const u=Object.keys(l.style),f=new o1,d=eF(s??c).filter(Boolean),h={css:[],elementToFocus:d,rest:o,subscription:f},v=u.reduce((y,M)=>(d.forEach((m,g)=>{var _;y.css[g]=Object.assign((_=y.css[g])!=null?_:{},{[M]:m.style[M]})}),y),h);f.add(n.pipe(Na(y=>y==="select"),_s(1)).subscribe(()=>{d.forEach(y=>{Object.assign(y.style,l.style)})})),r.set(c,v)});return()=>i.unsubscribe()}var hs;const t0=window,yo=t0.trustedTypes,Hg=yo?yo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Sf="$lit$",X1=`lit$${(Math.random()+"").slice(9)}$`,rF="?"+X1,dCe=`<${rF}>`,oi=document,s4=()=>oi.createComment(""),u4=e=>e===null||typeof e!="object"&&typeof e!="function",aF=Array.isArray,hCe=e=>aF(e)||typeof(e==null?void 0:e[Symbol.iterator])=="function",ps=`[
91
91
  \f\r]`,ll=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vg=/-->/g,jg=/>/g,Ta=RegExp(`>|${ps}(?:([^\\s"'>=/]+)(${ps}*=${ps}*(?:[^
92
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ag=/'/g,Fg=/"/g,iF=/^(?:script|style|textarea|title)$/i,pCe=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),vCe=pCe(1),f4=Symbol.for("lit-noChange"),nn=Symbol.for("lit-nothing"),Ig=new WeakMap,Da=oi.createTreeWalker(oi,129,null,!1);function oF(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Hg!==void 0?Hg.createHTML(t):t}const mCe=(e,t)=>{const n=e.length-1,r=[];let a,i=t===2?"<svg>":"",o=ll;for(let l=0;l<n;l++){const c=e[l];let s,u,f=-1,d=0;for(;d<c.length&&(o.lastIndex=d,u=o.exec(c),u!==null);)d=o.lastIndex,o===ll?u[1]==="!--"?o=Vg:u[1]!==void 0?o=jg:u[2]!==void 0?(iF.test(u[2])&&(a=RegExp("</"+u[2],"g")),o=Ta):u[3]!==void 0&&(o=Ta):o===Ta?u[0]===">"?(o=a??ll,f=-1):u[1]===void 0?f=-2:(f=o.lastIndex-u[2].length,s=u[1],o=u[3]===void 0?Ta:u[3]==='"'?Fg:Ag):o===Fg||o===Ag?o=Ta:o===Vg||o===jg?o=ll:(o=Ta,a=void 0);const h=o===Ta&&e[l+1].startsWith("/>")?" ":"";i+=o===ll?c+dCe:f>=0?(r.push(s),c.slice(0,f)+Sf+c.slice(f)+X1+h):c+X1+(f===-2?(r.push(void 0),l):h)}return[oF(e,i+(e[n]||"<?>")+(t===2?"</svg>":"")),r]};class d4{constructor({strings:t,_$litType$:n},r){let a;this.parts=[];let i=0,o=0;const l=t.length-1,c=this.parts,[s,u]=mCe(t,n);if(this.el=d4.createElement(s,r),Da.currentNode=this.el.content,n===2){const f=this.el.content,d=f.firstChild;d.remove(),f.append(...d.childNodes)}for(;(a=Da.nextNode())!==null&&c.length<l;){if(a.nodeType===1){if(a.hasAttributes()){const f=[];for(const d of a.getAttributeNames())if(d.endsWith(Sf)||d.startsWith(X1)){const h=u[o++];if(f.push(d),h!==void 0){const v=a.getAttribute(h.toLowerCase()+Sf).split(X1),y=/([.?@])?(.*)/.exec(h);c.push({type:1,index:i,name:y[2],strings:v,ctor:y[1]==="."?yCe:y[1]==="?"?_Ce:y[1]==="@"?wCe:l8})}else c.push({type:6,index:i})}for(const d of f)a.removeAttribute(d)}if(iF.test(a.tagName)){const f=a.textContent.split(X1),d=f.length-1;if(d>0){a.textContent=yo?yo.emptyScript:"";for(let h=0;h<d;h++)a.append(f[h],s4()),Da.nextNode(),c.push({type:2,index:++i});a.append(f[d],s4())}}}else if(a.nodeType===8)if(a.data===rF)c.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(X1,f+1))!==-1;)c.push({type:7,index:i}),f+=X1.length-1}i++}}static createElement(t,n){const r=oi.createElement("template");return r.innerHTML=t,r}}function bo(e,t,n=e,r){var a,i,o,l;if(t===f4)return t;let c=r!==void 0?(a=n._$Co)===null||a===void 0?void 0:a[r]:n._$Cl;const s=u4(t)?void 0:t._$litDirective$;return(c==null?void 0:c.constructor)!==s&&((i=c==null?void 0:c._$AO)===null||i===void 0||i.call(c,!1),s===void 0?c=void 0:(c=new s(e),c._$AT(e,n,r)),r!==void 0?((o=(l=n)._$Co)!==null&&o!==void 0?o:l._$Co=[])[r]=c:n._$Cl=c),c!==void 0&&(t=bo(e,c._$AS(e,t.values),c,r)),t}class gCe{constructor(t,n){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var n;const{el:{content:r},parts:a}=this._$AD,i=((n=t==null?void 0:t.creationScope)!==null&&n!==void 0?n:oi).importNode(r,!0);Da.currentNode=i;let o=Da.nextNode(),l=0,c=0,s=a[0];for(;s!==void 0;){if(l===s.index){let u;s.type===2?u=new A4(o,o.nextSibling,this,t):s.type===1?u=new s.ctor(o,s.name,s.strings,this,t):s.type===6&&(u=new OCe(o,this,t)),this._$AV.push(u),s=a[++c]}l!==(s==null?void 0:s.index)&&(o=Da.nextNode(),l++)}return Da.currentNode=oi,i}v(t){let n=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,n),n+=r.strings.length-2):r._$AI(t[n])),n++}}class A4{constructor(t,n,r,a){var i;this.type=2,this._$AH=nn,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=r,this.options=a,this._$Cp=(i=a==null?void 0:a.isConnected)===null||i===void 0||i}get _$AU(){var t,n;return(n=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&n!==void 0?n:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const n=this._$AM;return n!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=n.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,n=this){t=bo(this,t,n),u4(t)?t===nn||t==null||t===""?(this._$AH!==nn&&this._$AR(),this._$AH=nn):t!==this._$AH&&t!==f4&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):hCe(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==nn&&u4(this._$AH)?this._$AA.nextSibling.data=t:this.$(oi.createTextNode(t)),this._$AH=t}g(t){var n;const{values:r,_$litType$:a}=t,i=typeof a=="number"?this._$AC(t):(a.el===void 0&&(a.el=d4.createElement(oF(a.h,a.h[0]),this.options)),a);if(((n=this._$AH)===null||n===void 0?void 0:n._$AD)===i)this._$AH.v(r);else{const o=new gCe(i,this),l=o.u(this.options);o.v(r),this.$(l),this._$AH=o}}_$AC(t){let n=Ig.get(t.strings);return n===void 0&&Ig.set(t.strings,n=new d4(t)),n}T(t){aF(this._$AH)||(this._$AH=[],this._$AR());const n=this._$AH;let r,a=0;for(const i of t)a===n.length?n.push(r=new A4(this.k(s4()),this.k(s4()),this,this.options)):r=n[a],r._$AI(i),a++;a<n.length&&(this._$AR(r&&r._$AB.nextSibling,a),n.length=a)}_$AR(t=this._$AA.nextSibling,n){var r;for((r=this._$AP)===null||r===void 0||r.call(this,!1,!0,n);t&&t!==this._$AB;){const a=t.nextSibling;t.remove(),t=a}}setConnected(t){var n;this._$AM===void 0&&(this._$Cp=t,(n=this._$AP)===null||n===void 0||n.call(this,t))}}class l8{constructor(t,n,r,a,i){this.type=1,this._$AH=nn,this._$AN=void 0,this.element=t,this.name=n,this._$AM=a,this.options=i,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=nn}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,n=this,r,a){const i=this.strings;let o=!1;if(i===void 0)t=bo(this,t,n,0),o=!u4(t)||t!==this._$AH&&t!==f4,o&&(this._$AH=t);else{const l=t;let c,s;for(t=i[0],c=0;c<i.length-1;c++)s=bo(this,l[r+c],n,c),s===f4&&(s=this._$AH[c]),o||(o=!u4(s)||s!==this._$AH[c]),s===nn?t=nn:t!==nn&&(t+=(s??"")+i[c+1]),this._$AH[c]=s}o&&!a&&this.j(t)}j(t){t===nn?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class yCe extends l8{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===nn?void 0:t}}const bCe=yo?yo.emptyScript:"";class _Ce extends l8{constructor(){super(...arguments),this.type=4}j(t){t&&t!==nn?this.element.setAttribute(this.name,bCe):this.element.removeAttribute(this.name)}}class wCe extends l8{constructor(t,n,r,a,i){super(t,n,r,a,i),this.type=5}_$AI(t,n=this){var r;if((t=(r=bo(this,t,n,0))!==null&&r!==void 0?r:nn)===f4)return;const a=this._$AH,i=t===nn&&a!==nn||t.capture!==a.capture||t.once!==a.once||t.passive!==a.passive,o=t!==nn&&(a===nn||i);i&&this.element.removeEventListener(this.name,this,a),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var n,r;typeof this._$AH=="function"?this._$AH.call((r=(n=this.options)===null||n===void 0?void 0:n.host)!==null&&r!==void 0?r:this.element,t):this._$AH.handleEvent(t)}}class OCe{constructor(t,n,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=n,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){bo(this,t)}}const Bg=t0.litHtmlPolyfillSupport;Bg==null||Bg(d4,A4),((hs=t0.litHtmlVersions)!==null&&hs!==void 0?hs:t0.litHtmlVersions=[]).push("2.8.0");const MCe=(e,t,n)=>{var r,a;const i=(r=n==null?void 0:n.renderBefore)!==null&&r!==void 0?r:t;let o=i._$litPart$;if(o===void 0){const l=(a=n==null?void 0:n.renderBefore)!==null&&a!==void 0?a:null;i._$litPart$=o=new A4(t.insertBefore(s4(),l),l,void 0,n??{})}return o._$AI(e),o};const zCe=e=>{const t=e.charAt(0);return!(t!==e.charAt(e.length-1)||t!=="'"&&t!=='"')};function xCe(e){const t=e.match(/([^.]+)/g);return n=>t.reduce((r,a)=>{let i=a;if(a.startsWith("[")&&a.endsWith("]")){const o=a.slice(1,-1),l=Number.parseInt(o);!Number.isNaN(l)&&l.toString()===o?i=l:(o.startsWith('"')&&o.endsWith('"')||o.startsWith("'")&&o.endsWith("'"))&&(i=o.slice(1,-1))}if(i==="")throw new TypeError("42",{cause:e});return typeof r=="object"&&r!==null?r[i]:void 0},n)}function SCe(e,t={}){return e.reduce((n,r,a)=>{const i=r.trim(),o=Number.parseInt(i),l=Number.parseFloat(i);if(i==="")n[a]=i;else if(zCe(i))n[a]=i.slice(1,-1);else if(["true","false"].includes(i))n[a]=i==="true";else if(!Number.isNaN(o)&&o.toString()===i)n[a]=o;else if(!Number.isNaN(l)&&l.toString()===i)n[a]=l;else if(i.startsWith("{")||i.startsWith("["))try{n[a]=JSON.parse(i)}catch(c){if(c instanceof SyntaxError)throw new TypeError("43",{cause:c.message})}else n[a]=xCe(i)(t);return n},[])}function lF(e){return Array.isArray(e)?e:[e]}function CCe(e){const t=typeof e=="string"?[e]:e;return Array.isArray(t)?t:lF(t.uris)}const kCe=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function ECe(e){return kCe.includes(e.tag)}function PCe(e){return Array.isArray(e)?e:[e]}function cF(e,t,n){if(typeof t!="object"){e.push("".concat(t));return}PCe(t).forEach(r=>{if(typeof r!="object"){e.push("".concat(r));return}const{tag:a,attributes:i={},booleanAttributes:o=[],properties:l={}}=r,c=ECe(r),s="<".concat(a),u=c?"/>":">",f="</".concat(a,">"),d=Object.entries(i).reduce((g,[_,p])=>(g.push("".concat(_,'="').concat(p,'"')),g),[]),h=lF(o),{override:v,props:y}=Object.entries(l).reduce((g,[_,p])=>(n.has(_)?typeof p=="string"&&(g.override[_]=p):g.props[_]=p,g),{override:{},props:{}}),M=Array.from(n.keys()).map(g=>{var _;return".".concat(g,"=${").concat((_=v[g])!=null?_:g,"}")}),m=Object.entries(y).reduce((g,[_,p])=>{switch(typeof p){case"object":case"number":case"boolean":g.push(".".concat(_,"=${").concat(JSON.stringify(p),"}"));break;case"string":g.push(".".concat(_,'=${"').concat(p,'"}'));break}return g},[]);if(e.push([s,d.join(" "),h.join(" "),M.join(" "),m.join(" "),u].join(" ")),!c){const{content:g}=r;g!==void 0&&cF(e,g,n),e.push(f)}})}function TCe(e,t=new Set){const n=[];return cF(n,e,t),n.join(" ")}const $Ce="modulepreload",LCe=function(e,t){return new URL(e,t).href},Rg={},HCe=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");a=Promise.all(n.map(o=>{if(o=LCe(o,r),o in Rg)return;Rg[o]=!0;const l=o.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(!!r)for(let f=i.length-1;f>=0;f--){const d=i[f];if(d.href===o&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${c}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":$Ce,l||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),l)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})}))}return a.then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},sF=(e,...t)=>{HCe(()=>import("./errors-xGUFKyGs.js"),__vite__mapDeps([]),import.meta.url).then(({default:n})=>{const r=n[e];r?console.error(r(...t)):console.error(...t)}).catch(n=>{console.error("[micro-lc][composer]: Dynamic import error while importing logger utils - ".concat(n.message))})},VCe=e=>t=>{sF("0",e,t.message)},jCe={dynamicImportError:VCe,error:sF},ACe=Object.freeze(Object.defineProperty({__proto__:null,logger:jCe},Symbol.toStringTag,{value:"Module"}));var FCe=ACe;const ICe=()=>{const e=[];return Object.assign(e,{append:t=>{e[e.length-1]+=t},flush:()=>{e.push("")}})},BCe=()=>{const e=[""];return Object.assign(e,{append:t=>{e[e.length-1]+=t},flush:()=>{e.push("")}})},RCe=(e,t)=>{const n=[...e];return{literals:Object.defineProperty(n,"raw",{get:()=>n}),variables:[...t]}},Dg=()=>({braceCnt:0,literals:BCe(),mode:0,variables:ICe()}),DCe=e=>{const t=()=>{const r=Array.from(e).reduce((a,i)=>{switch(a.mode){case 2:{if(i==="}"&&a.braceCnt===0){a.mode=0;break}i==="{"?a.braceCnt+=1:i==="}"&&a.braceCnt>0&&(a.braceCnt-=1),a.variables.append(i);break}case 1:{a.literals.append(i),i==="{"?(a.literals.flush(),a.variables.flush(),a.mode=2):a.mode=0;break}case 0:default:i==="$"&&(a.mode=1),a.literals.append(i)}return a},Dg());return r.mode===2&&(r.literals.pop(),r.literals.append(r.variables.pop())),r.literals.forEach((a,i,o)=>{i<o.length-1&&(o[i]=a.slice(0,-2))}),r};let n=e.length===0;return{run:()=>{let r;n||(r=t(),n=!0);const{literals:a,variables:i}=r??Dg();return RCe(a,i)}}},NCe=async(e,t="SHA-1")=>window.crypto.subtle.digest(t,new TextEncoder().encode(e)),vs=new Map,WCe=async e=>{const t=await NCe(e).catch(n=>{FCe.logger.error("40",e,n.message)});if(!t||!vs.has(t)){const n=DCe(e).run();return t&&vs.set(t,n),n}return vs.get(t)};class ms extends $a{}function UCe(){const e=[],t=new Proxy({},{get(n,r,a){return typeof r=="string"&&!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=new ms),Reflect.get(n,r,a)}});return new Proxy(new ms,{get(n,r,a){if(r==="pool")return t;const i=typeof r=="string"?Number.parseInt(r,10):Number.NaN;return Number.isNaN(i)?Reflect.get(n,r,a):(e.at(i)===void 0&&(e[i]=new ms),e[i])}})}async function qCe(e,{extraProperties:t,context:n={}}={}){const r=Array.isArray(t)?new Set(t):t,a=TCe(e,r),i=await WCe(a),o=SCe(i.variables,n),l=vCe(i.literals,...o);return(c,s)=>MCe(l,c,s)}async function KCe(e,t=window,n=console.error){var r;let a=[],i,o={},l=Promise.resolve();if(e.sources){const{sources:c}=e;i=!Array.isArray(c)&&typeof c!="string"?(r=c.importmap)!=null?r:{}:{};try{t.importShim.addImportMap(i)}catch(s){n(s)}a=CCe(c),a.length>0&&(l=Promise.all(a.map(s=>t.importShim(s).then(u=>{o={...o,[s]:u}}).catch(n))))}return l.then(()=>({...e,sources:{importmap:i,modules:o,uris:a}}))}async function GCe(e,t,n={}){return qCe(e.content,{context:n,extraProperties:new Set(Object.keys(n))}).then(a=>(a(t),null))}const YCe=e=>{var t;return{data:{message:e.message,name:e.name,stack:(t=e.stack)!=null?t:""},description:"preview.notifications.error.description",message:"preview.notifications.error.message",status:"error"}},uF=(e,t)=>e.send({content:YCe(t),type:"notification"}),fF=e=>"clientX"in e&&"clientY"in e;function Ng(e,t){return n=>{fF(n)&&e.send({content:{bubbles:!0,cancelable:!1,clientX:n.clientX,clientY:n.clientY},type:t})}}const QCe=(e,t)=>e.has(t.tagName)&&t.hasAttribute(Of),XCe=(e,t,n)=>{const{document:r}=e;return a=>{let i;if(fF(a)){const{clientX:o,clientY:l}=a;i=r.elementsFromPoint(o,l).reduce((c,s)=>{if(QCe(n.uppercaseTags,s)){const u=s.getAttribute(Of);c.ids.push(u),c.selectors.push("[".concat(Of,'="').concat(u,'"]'))}return c},{ids:[],selectors:[]})}(n.mode.getValue()==="select"||i===void 0)&&t.send({content:i&&(i.ids.length>0?i:void 0),type:"click-element"})}},ZCe=e=>t=>{t.ctrlKey&&t.key===" "&&(t.preventDefault(),YA(e.mode),e.focus.next(void 0))},JCe=e=>typeof e=="object"&&e!==null&&"libraryName"in e&&typeof e.libraryName=="string"&&"components"in e&&Array.isArray(e.components),eke=([e,t])=>p4(t.then(n=>[e,n])),tke=([e,t])=>{const n={properties:{},type:"layout"},{__manifest:r=Promise.resolve(n)}=t,a=r.then(i=>[t,{__manifest:{...n,...i},tag:e}]).catch(()=>[t,{__manifest:n,tag:e}]);return p4(a)},nke=(e,t)=>p4(t.map(n=>[n,e.whenDefined(n.name)])).pipe(ao(eke),ao(tke)),rke=500,td=(e,t)=>{t instanceof Error&&uF(e,t)},ake=(e,t,n)=>t.pipe(ao(([,{__manifest:{label:r,description:a,descriptionLong:i,...o},tag:l}])=>(delete o.mocks,_I({info:{libraryName:l.libraryName,source:l.source,...iCe({description:a,descriptionLong:i,label:r}),...o},tag:l.name}))),PI(rke),Na(r=>r.length>0)).subscribe({error:r=>td(e,r),next:r=>n(r)}),ike=(e,t,n)=>n.pipe(Fa(([,{__manifest:{mocks:r={}},tag:a}])=>[a.name,r])).subscribe({error:r=>td(e,r),next:r=>{t.mocks.next(r)}});async function dF(e,t,n,{addInfo:r,tags:a}){const{subscription:i}=this;if(n)return KCe(n,this,o=>{td(e,o),r([])}).then(o=>{const l=Object.entries(o.sources.modules).reduce((s,[u,f])=>{if(JCe(f.default)){const{components:d,libraryName:h}=f.default,v=d.map(y=>({libraryName:h,name:y,source:u}));s.push(...v)}return s},[]);a.forEach(s=>{l.find(u=>u.name===s)===void 0&&l.push({name:s,source:""})});const c=nke(this.customElements,l);i.add(ake(e,c,r)),i.add(ike(e,t,c))})}const hF=(e,t)=>{const{document:n}=e;let r=t.firstElementChild;return r===null&&(r=n.createElement("div"),r.style.height="inherit",r.style.display="flex",t.appendChild(r)),r};async function Cf(e,t){const n=UCe(),{proxyWindow:r=this}=this;return GCe({content:e,sources:{importmap:{},modules:{},uris:[]}},hF(this,t),{eventBus:n,proxyWindow:r})}function pF(e){hF(this,e).remove()}var oke=Object.defineProperty,lke=(e,t,n)=>t in e?oke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wg=(e,t,n)=>(lke(e,typeof t!="symbol"?t+"":t,n),n);function Ug(e,t,n){const{properties:r,attributes:a,booleanAttributes:i=[]}=e,o=Object.assign(Object.fromEntries(eF(i).map(c=>[c,!0])),{...a,...r});return t(o).map(({url:c,method:s="GET",notify:u=!1,handler:f=()=>Promise.resolve(new Response)})=>{var d;const h=bSe({...c,method:s},o),v=new URL(h.pathname,(d=h.origin)!=null?d:n);return[v.href,s,(y,M)=>f(y,M).finally(()=>{u&&this.notify(vF(s,v))})]})}const cke=(e,t)=>{const{href:n,search:r}=e;return n.replace(/\?$/,"").substring(0,n.length-r.length).match(new RegExp("^".concat(t,"$")))!==null},ske=(e,t)=>{const{href:n}=e;return n.match(new RegExp("^".concat(t.replace(/\/$/,""),"/")))!==null};class uke extends Map{constructor(t){super(),Wg(this,"notify"),Wg(this,"__urlMap",new Map),this.notify=t}add(t,n){var r,a;const{method:i,url:o}=t,l=(r=this.get(i))!=null?r:new Map,c=(a=this.__urlMap.get(i))!=null?a:[];l.set(o,n),c.push(o),this.set(i,l),this.__urlMap.set(i,c)}match(t){var n;const{method:r,url:a}=t,i=this.__urlMap.get(r);if(i===void 0)return;const o=i.reduce((l,c,s,u)=>{if(cke(a,c)||ske(a,c)){if(l===void 0)return s;if(u[l].length<c.length)return s}return l},void 0);if(o!==void 0)return(n=this.get(r))==null?void 0:n.get(i[o])}}const fke=e=>([t,n,r])=>e.add({method:n,url:t},r);async function qg(e,t,n,r){const a=fke(e);return Array.isArray(t)?Promise.all(t.map(i=>Ug.call(e,i,n,r)).flat().map(a)).then(go):Promise.all(Ug.call(e,t,n,r).map(a)).then(go)}var Kg;const Gg=(Kg=window.__BACKOFFICE_CONFIGURATOR_PREVIEW_TIMEOUT__)!=null?Kg:5e3,dke=e=>e.includes("-"),Yg=e=>({data:{tag:e},description:"preview.notifications.no-webcomponent-definition.description",message:"preview.notifications.no-webcomponent-definition.message",status:"warning"});async function hke(e,t,n,r=[]){const{location:{href:a},fetch:i}=this,o=tF(this),l=new uke(this.notify.bind(this));await Promise.all(r.map(async s=>{var u;let f=()=>[];const d=await Promise.race([D4(hd(Gg)),D4(t.mocks.pipe(Na(([v])=>v===s),_s(1)))]);if(d===0)this.notify(Yg(s));else{const[,{fetch:v}]=d;v!==void 0&&(f=v)}const h=(u=n.get(s))!=null?u:[];return qg(l,h,f,a)})).catch(s=>s instanceof Error&&uF(e,s));const c=async(s,u)=>{var f;const d=nF(o,s),h=l.match({method:(f=u==null?void 0:u.method)!=null?f:"GET",url:d});return h!==void 0?h(d,u).then(v=>v):i(s,u)};if(this.proxyWindow){const s=Object.assign(c,{update:async u=>{let f=()=>[];if(dke(u.tag)){const d=await Promise.race([D4(hd(Gg)),D4(t.mocks.pipe(Na(([h])=>h===u.tag),_s(1)))]);if(d===0)this.notify(Yg(u.tag));else{const[,{fetch:h}]=d;h!==void 0&&(f=h)}}return qg(l,u,f,a)}});this.fetch=s,this.proxyWindow.fetch=s}}function pke(e,t){const{href:n,origin:r,pathname:a}=new URL(e??"",this.location.href);let i=n;return r===this.location.origin&&(i="{ your domain }".concat(a)),this.notify({data:{nextUrl:i,target:t??"[undefined]"},description:"preview.notifications.navigation-event.description.open",message:"preview.notifications.navigation-event.message",status:"default"}),this}function vke(e,t,n){const{href:r,origin:a,pathname:i}=new URL(n);let o=r;a===this.location.origin&&(o="".concat(i)),this.notify({data:{nextUrl:o},description:"preview.notifications.navigation-event.description.pushState",message:"preview.notifications.navigation-event.message",status:"default"})}function mke(e,t,n){const{href:r,origin:a,pathname:i,search:o}=new URL(n);let l=r;a===this.location.origin&&(l="".concat(i).concat(o)),this.notify({data:{nextUrl:l},description:"preview.notifications.navigation-event.description.replaceState",message:"preview.notifications.navigation-event.message",status:"info"})}function gke(e){return new Proxy(e,{get:(t,n)=>n==="pushState"?(r,a,i)=>{vke.call(this,r,a,new URL(i??"",new URL(this.document.baseURI,this.location.href)))}:n==="replaceState"?(r,a,i)=>{mke.call(this,r,a,new URL(i??"",new URL(this.document.baseURI,this.location.href)))}:t[n]})}class Qg extends Map{get length(){return this.size}clear(){super.clear()}getItem(t){var n;return(n=super.get(t))!=null?n:null}key(){return null}removeItem(t){super.delete(t)}setItem(t,n){super.set(t,n)}}const yke=e=>e.tagName==="A";function bke(e){const{prototype:{createElement:t}}=Document;return Document.prototype.createElement=function(r,a){const i=t.call(this,r,a);if(yke(i)){const o=()=>{var l;return e.notify({data:{href:oCe(e.location.origin,new URL(i.href,e.location.href)),target:(l=i.getAttribute("target"))!=null?l:"_self"},description:"preview.notifications.anchor.description",message:"preview.notifications.anchor.message",status:"info"})};Object.defineProperty(i,"click",{get(){return o},set:go})}return i},()=>{Document.prototype.createElement=t}}function _ke(e,t){let n=e.fetch.bind(e);const r={notify:u=>t.next(u)},a=new Qg,i=new Qg,o=Object.assign(e,r),l=new Proxy(o,{get(u,f,d){if(f==="fetch")return n;if(f==="history")return gke.call(u,u.history);if(f==="location")return Object.entries(window.location).reduce((v,[y,M])=>(Object.defineProperty(v,y,{get:()=>M,set:m=>{y==="href"&&typeof m=="string"&&u.notify({data:{nextUrl:m,target:"_self"},description:"preview.notifications.navigation-event.description.location.href",message:"preview.notifications.navigation-event.message",status:"info"})}}),v),{});if(f==="open")return pke.bind(u);if(f==="localStorage")return a;if(f==="sessionStorage")return i;const h=Reflect.get(u,f);return typeof h!="function"?h:function(...y){return Reflect.apply(h,this===d?e:this,y)}},set(u,f,d){return f==="fetch"?(n=d,!0):Reflect.set(u,f,d)}}),c=Object.assign(o,{proxyWindow:l}),s=bke(c);return{sandbox:c,unpatch:s}}var wke=Object.defineProperty,Oke=(e,t,n)=>t in e?wke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xg=(e,t,n)=>(Oke(e,typeof t!="symbol"?t+"":t,n),n);function Mke(e,t,n,r){const{document:a}=e,i=a.createElement("div"),o="";i.style.display=o,i.style.height="inherit",i.style.width="inherit",i.style.position="fixed",i.style.zIndex="".concat(GA+1);const l=r.subscribe(s=>{i.style.display=s?o:"none"});a.body.appendChild(i);const c=L_(i);return c.render(b.createElement(nCe,{hide:()=>{t.send({content:{visible:!1},type:"toggle-components-explorer"})},info$:n},null)),()=>{l.unsubscribe(),c.unmount()}}function zke(e,t){const{document:n}=e,r=n.createElement("div"),a="";r.style.display=a,r.style.position="fixed",r.style.width="100vw",r.style.height="100%",r.style.backgroundColor="rgba(0, 0, 0, 0.05)",r.style.zIndex="".concat(GA);const i=()=>r.style.display===a,o=()=>i()?r.style.display="none":r.style.display=a,l=t.pipe(Na(c=>e.__BACKOFFICE_CONFIGURATOR_DISABLE_OVERLAY__?c==="interact":!0)).subscribe(c=>{switch(c){case"interact":e.dispatchEvent(new Event("mousedown")),r.style.display="none";break;case"select":r.style.display=a;break;case 0:default:o();break}});return n.body.appendChild(r),{cleanup:()=>l.unsubscribe(),overlay:r}}const xke=(e,t)=>{const n=e.createElement("div");n.style.display="flex",n.style.flexDirection="column",n.style.height="inherit";const r=t.subscribe(a=>{n.style.display=a?"none":"flex"});return e.body.appendChild(n),{cleanup:()=>r.unsubscribe(),renderRoot:n}};function Ske(e,t){const n=e;return Object.assign(e,{bootstrap:dF.bind(n),mocks:{fetch:new Map},postChannel:t,subscription:new o1,unmount:pF.bind(n),update:Cf.bind(n)})}class Cke{constructor(){Xg(this,"_results",new Map),Xg(this,"_queue",Promise.resolve())}add(t){const r=[...t].map(a=>{let i,o;const l=new Promise((c,s)=>{i=c,o=s});return this._queue=this._queue.then(()=>a()).then(c=>{i(c)}).catch(c=>o(c)),l});return Promise.allSettled(r)}get(t){return this._results.get(t)}}const kke=e=>t=>{t.forEach(n=>{n.status==="rejected"&&e.next({data:{reason:n.reason},description:"preview.notifications.lifecycle.description",message:"preview.notifications.lifecycle.message",status:"error"})})},Eke=e=>t=>{e.infos.next(t),t.forEach(({tag:n})=>e.uppercaseTags.add(n.toUpperCase()))},Pke=(e,t,n,r)=>{const a=new Cke,i=r.configuration.pipe(TI(r.swSourceMapAck)).subscribe(([o])=>{const{configuration:l}=o,{content:c}=l;let s;if(o.type==="reset"){const{contexts:u,tags:f}=o;s=a.add([()=>pF.call(e,t),()=>dF.call(e,n,r,l,{addInfo:Eke(r),tags:f}),()=>hke.call(e,n,r,u,o.tags),()=>Cf.call(e,c,t).finally(()=>r.updated.next(0))])}else{const{context:u}=o;s=a.add([()=>{var f,d,h;return(h=(f=e.proxyWindow)==null?void 0:(d=f.fetch).update)==null?void 0:h.call(d,u)},()=>Cf.call(e,c,t).finally(()=>r.updated.next(0))])}s.then(kke(r.notification)).catch(go)});return()=>i.unsubscribe()},Tke=e=>{const{body:t}=e;t.style.height="100%",t.style.padding="0",t.style.margin="0"},$ke=(e,t)=>{const{location:{origin:n,port:r,protocol:a}}=e;return!(n!==t.origin||r!==t.port||a!==t.protocol)},vF=(e,t)=>({data:{method:e,url:t.href.substring(t.origin.length)},description:"preview.notifications.fetch-event.description",message:"preview.notifications.fetch-event.message",status:"info"}),Lke=(e,t)=>{const n=tF(e),{document:r,parent:a}=e;if(a===e)return;const i=e.fetch.bind(e);e.fetch=(o,l)=>{var c;const s=nF(n,o);return $ke(r,s)&&t.next(vF((c=l==null?void 0:l.method)!=null?c:"GET",s)),i(o,l)}},Hke=(e,t,n)=>{Tke(e.document),Lke(e,n.notification);const{cleanup:r}=zke(e,n.mode.asObservable()),a=Mke(e,t,n.infos.asObservable(),n.componentsExplorerVisible.asObservable()),i=fCe(e.document,n.focus.asObservable(),n.mode.asObservable()),{cleanup:o,renderRoot:l}=xke(e.document,n.componentsExplorerVisible.asObservable()),c=Ske(e,t),{sandbox:s,unpatch:u}=_ke(c,n.notification),f=Pke(s,l,t,n);return{cleanup:()=>{f(),u(),i(),r(),a(),o()},sandboxedWindow:s}};function Vke(e){const t=new o1;return t.add(e.updated.subscribe(()=>this.send({content:{},type:"updated"}))),t.add(e.infos.subscribe(n=>this.send({content:n,type:"tag-info"}))),t.add(e.notification.subscribe(n=>this.send({content:n,type:"notification"}))),t.add(e.mode.subscribe(n=>this.send({content:{mode:n},type:"ctrl-space"}))),()=>{this.send({content:{},type:"unload"}),t.unsubscribe()}}function jke(e){const t=new o1;return t.add(e.setSourceMap.subscribe(n=>{this.ackSend({content:n,type:"set-source-map"}).then(()=>e.swSourceMapAck.next(0)).catch(go)})),()=>t.unsubscribe()}function Ake(e,...t){const n=t.map(({type:r,handler:a})=>(e.addEventListener(r,a),()=>e.removeEventListener(r,a)));return()=>{n.forEach(r=>r())}}function Fke(e,t){e.addEventListener("unload",()=>{e.subscription.unsubscribe(),t.forEach(n=>n())})}(async e=>{const t=wSe(),n=await zSe(e),r=await SSe(e,t),a=jke.call(n,t),i=Vke.call(r,t),o=Ake(e,{handler:ZCe(t),type:"keydown"},{handler:Ng(r,"mousemove"),type:"mousemove"},{handler:Ng(r,"mousedown"),type:"mousedown"},{handler:XCe(e,r,t),type:"mousedown"}),{cleanup:l,sandboxedWindow:c}=Hke(e,r,t);Fke(c,[l,o,i,a,()=>r.disconnect(),()=>n.send({content:{},type:"unload-client"}),()=>n.disconnect()])})(window).catch(e=>{throw console.error("[preview] Error Boundary: ".concat(String(e))),e});
92
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ag=/'/g,Fg=/"/g,iF=/^(?:script|style|textarea|title)$/i,pCe=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),vCe=pCe(1),f4=Symbol.for("lit-noChange"),nn=Symbol.for("lit-nothing"),Ig=new WeakMap,Da=oi.createTreeWalker(oi,129,null,!1);function oF(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Hg!==void 0?Hg.createHTML(t):t}const mCe=(e,t)=>{const n=e.length-1,r=[];let a,i=t===2?"<svg>":"",o=ll;for(let l=0;l<n;l++){const c=e[l];let s,u,f=-1,d=0;for(;d<c.length&&(o.lastIndex=d,u=o.exec(c),u!==null);)d=o.lastIndex,o===ll?u[1]==="!--"?o=Vg:u[1]!==void 0?o=jg:u[2]!==void 0?(iF.test(u[2])&&(a=RegExp("</"+u[2],"g")),o=Ta):u[3]!==void 0&&(o=Ta):o===Ta?u[0]===">"?(o=a??ll,f=-1):u[1]===void 0?f=-2:(f=o.lastIndex-u[2].length,s=u[1],o=u[3]===void 0?Ta:u[3]==='"'?Fg:Ag):o===Fg||o===Ag?o=Ta:o===Vg||o===jg?o=ll:(o=Ta,a=void 0);const h=o===Ta&&e[l+1].startsWith("/>")?" ":"";i+=o===ll?c+dCe:f>=0?(r.push(s),c.slice(0,f)+Sf+c.slice(f)+X1+h):c+X1+(f===-2?(r.push(void 0),l):h)}return[oF(e,i+(e[n]||"<?>")+(t===2?"</svg>":"")),r]};class d4{constructor({strings:t,_$litType$:n},r){let a;this.parts=[];let i=0,o=0;const l=t.length-1,c=this.parts,[s,u]=mCe(t,n);if(this.el=d4.createElement(s,r),Da.currentNode=this.el.content,n===2){const f=this.el.content,d=f.firstChild;d.remove(),f.append(...d.childNodes)}for(;(a=Da.nextNode())!==null&&c.length<l;){if(a.nodeType===1){if(a.hasAttributes()){const f=[];for(const d of a.getAttributeNames())if(d.endsWith(Sf)||d.startsWith(X1)){const h=u[o++];if(f.push(d),h!==void 0){const v=a.getAttribute(h.toLowerCase()+Sf).split(X1),y=/([.?@])?(.*)/.exec(h);c.push({type:1,index:i,name:y[2],strings:v,ctor:y[1]==="."?yCe:y[1]==="?"?_Ce:y[1]==="@"?wCe:l8})}else c.push({type:6,index:i})}for(const d of f)a.removeAttribute(d)}if(iF.test(a.tagName)){const f=a.textContent.split(X1),d=f.length-1;if(d>0){a.textContent=yo?yo.emptyScript:"";for(let h=0;h<d;h++)a.append(f[h],s4()),Da.nextNode(),c.push({type:2,index:++i});a.append(f[d],s4())}}}else if(a.nodeType===8)if(a.data===rF)c.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(X1,f+1))!==-1;)c.push({type:7,index:i}),f+=X1.length-1}i++}}static createElement(t,n){const r=oi.createElement("template");return r.innerHTML=t,r}}function bo(e,t,n=e,r){var a,i,o,l;if(t===f4)return t;let c=r!==void 0?(a=n._$Co)===null||a===void 0?void 0:a[r]:n._$Cl;const s=u4(t)?void 0:t._$litDirective$;return(c==null?void 0:c.constructor)!==s&&((i=c==null?void 0:c._$AO)===null||i===void 0||i.call(c,!1),s===void 0?c=void 0:(c=new s(e),c._$AT(e,n,r)),r!==void 0?((o=(l=n)._$Co)!==null&&o!==void 0?o:l._$Co=[])[r]=c:n._$Cl=c),c!==void 0&&(t=bo(e,c._$AS(e,t.values),c,r)),t}class gCe{constructor(t,n){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var n;const{el:{content:r},parts:a}=this._$AD,i=((n=t==null?void 0:t.creationScope)!==null&&n!==void 0?n:oi).importNode(r,!0);Da.currentNode=i;let o=Da.nextNode(),l=0,c=0,s=a[0];for(;s!==void 0;){if(l===s.index){let u;s.type===2?u=new A4(o,o.nextSibling,this,t):s.type===1?u=new s.ctor(o,s.name,s.strings,this,t):s.type===6&&(u=new OCe(o,this,t)),this._$AV.push(u),s=a[++c]}l!==(s==null?void 0:s.index)&&(o=Da.nextNode(),l++)}return Da.currentNode=oi,i}v(t){let n=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,n),n+=r.strings.length-2):r._$AI(t[n])),n++}}class A4{constructor(t,n,r,a){var i;this.type=2,this._$AH=nn,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=r,this.options=a,this._$Cp=(i=a==null?void 0:a.isConnected)===null||i===void 0||i}get _$AU(){var t,n;return(n=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&n!==void 0?n:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const n=this._$AM;return n!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=n.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,n=this){t=bo(this,t,n),u4(t)?t===nn||t==null||t===""?(this._$AH!==nn&&this._$AR(),this._$AH=nn):t!==this._$AH&&t!==f4&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):hCe(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==nn&&u4(this._$AH)?this._$AA.nextSibling.data=t:this.$(oi.createTextNode(t)),this._$AH=t}g(t){var n;const{values:r,_$litType$:a}=t,i=typeof a=="number"?this._$AC(t):(a.el===void 0&&(a.el=d4.createElement(oF(a.h,a.h[0]),this.options)),a);if(((n=this._$AH)===null||n===void 0?void 0:n._$AD)===i)this._$AH.v(r);else{const o=new gCe(i,this),l=o.u(this.options);o.v(r),this.$(l),this._$AH=o}}_$AC(t){let n=Ig.get(t.strings);return n===void 0&&Ig.set(t.strings,n=new d4(t)),n}T(t){aF(this._$AH)||(this._$AH=[],this._$AR());const n=this._$AH;let r,a=0;for(const i of t)a===n.length?n.push(r=new A4(this.k(s4()),this.k(s4()),this,this.options)):r=n[a],r._$AI(i),a++;a<n.length&&(this._$AR(r&&r._$AB.nextSibling,a),n.length=a)}_$AR(t=this._$AA.nextSibling,n){var r;for((r=this._$AP)===null||r===void 0||r.call(this,!1,!0,n);t&&t!==this._$AB;){const a=t.nextSibling;t.remove(),t=a}}setConnected(t){var n;this._$AM===void 0&&(this._$Cp=t,(n=this._$AP)===null||n===void 0||n.call(this,t))}}class l8{constructor(t,n,r,a,i){this.type=1,this._$AH=nn,this._$AN=void 0,this.element=t,this.name=n,this._$AM=a,this.options=i,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=nn}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,n=this,r,a){const i=this.strings;let o=!1;if(i===void 0)t=bo(this,t,n,0),o=!u4(t)||t!==this._$AH&&t!==f4,o&&(this._$AH=t);else{const l=t;let c,s;for(t=i[0],c=0;c<i.length-1;c++)s=bo(this,l[r+c],n,c),s===f4&&(s=this._$AH[c]),o||(o=!u4(s)||s!==this._$AH[c]),s===nn?t=nn:t!==nn&&(t+=(s??"")+i[c+1]),this._$AH[c]=s}o&&!a&&this.j(t)}j(t){t===nn?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class yCe extends l8{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===nn?void 0:t}}const bCe=yo?yo.emptyScript:"";class _Ce extends l8{constructor(){super(...arguments),this.type=4}j(t){t&&t!==nn?this.element.setAttribute(this.name,bCe):this.element.removeAttribute(this.name)}}class wCe extends l8{constructor(t,n,r,a,i){super(t,n,r,a,i),this.type=5}_$AI(t,n=this){var r;if((t=(r=bo(this,t,n,0))!==null&&r!==void 0?r:nn)===f4)return;const a=this._$AH,i=t===nn&&a!==nn||t.capture!==a.capture||t.once!==a.once||t.passive!==a.passive,o=t!==nn&&(a===nn||i);i&&this.element.removeEventListener(this.name,this,a),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var n,r;typeof this._$AH=="function"?this._$AH.call((r=(n=this.options)===null||n===void 0?void 0:n.host)!==null&&r!==void 0?r:this.element,t):this._$AH.handleEvent(t)}}class OCe{constructor(t,n,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=n,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){bo(this,t)}}const Bg=t0.litHtmlPolyfillSupport;Bg==null||Bg(d4,A4),((hs=t0.litHtmlVersions)!==null&&hs!==void 0?hs:t0.litHtmlVersions=[]).push("2.8.0");const MCe=(e,t,n)=>{var r,a;const i=(r=n==null?void 0:n.renderBefore)!==null&&r!==void 0?r:t;let o=i._$litPart$;if(o===void 0){const l=(a=n==null?void 0:n.renderBefore)!==null&&a!==void 0?a:null;i._$litPart$=o=new A4(t.insertBefore(s4(),l),l,void 0,n??{})}return o._$AI(e),o};const zCe=e=>{const t=e.charAt(0);return!(t!==e.charAt(e.length-1)||t!=="'"&&t!=='"')};function xCe(e){const t=e.match(/([^.]+)/g);return n=>t.reduce((r,a)=>{let i=a;if(a.startsWith("[")&&a.endsWith("]")){const o=a.slice(1,-1),l=Number.parseInt(o);!Number.isNaN(l)&&l.toString()===o?i=l:(o.startsWith('"')&&o.endsWith('"')||o.startsWith("'")&&o.endsWith("'"))&&(i=o.slice(1,-1))}if(i==="")throw new TypeError("42",{cause:e});return typeof r=="object"&&r!==null?r[i]:void 0},n)}function SCe(e,t={}){return e.reduce((n,r,a)=>{const i=r.trim(),o=Number.parseInt(i),l=Number.parseFloat(i);if(i==="")n[a]=i;else if(zCe(i))n[a]=i.slice(1,-1);else if(["true","false"].includes(i))n[a]=i==="true";else if(!Number.isNaN(o)&&o.toString()===i)n[a]=o;else if(!Number.isNaN(l)&&l.toString()===i)n[a]=l;else if(i.startsWith("{")||i.startsWith("["))try{n[a]=JSON.parse(i)}catch(c){if(c instanceof SyntaxError)throw new TypeError("43",{cause:c.message})}else n[a]=xCe(i)(t);return n},[])}function lF(e){return Array.isArray(e)?e:[e]}function CCe(e){const t=typeof e=="string"?[e]:e;return Array.isArray(t)?t:lF(t.uris)}const kCe=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function ECe(e){return kCe.includes(e.tag)}function PCe(e){return Array.isArray(e)?e:[e]}function cF(e,t,n){if(typeof t!="object"){e.push("".concat(t));return}PCe(t).forEach(r=>{if(typeof r!="object"){e.push("".concat(r));return}const{tag:a,attributes:i={},booleanAttributes:o=[],properties:l={}}=r,c=ECe(r),s="<".concat(a),u=c?"/>":">",f="</".concat(a,">"),d=Object.entries(i).reduce((g,[_,p])=>(g.push("".concat(_,'="').concat(p,'"')),g),[]),h=lF(o),{override:v,props:y}=Object.entries(l).reduce((g,[_,p])=>(n.has(_)?typeof p=="string"&&(g.override[_]=p):g.props[_]=p,g),{override:{},props:{}}),M=Array.from(n.keys()).map(g=>{var _;return".".concat(g,"=${").concat((_=v[g])!=null?_:g,"}")}),m=Object.entries(y).reduce((g,[_,p])=>{switch(typeof p){case"object":case"number":case"boolean":g.push(".".concat(_,"=${").concat(JSON.stringify(p),"}"));break;case"string":g.push(".".concat(_,'=${"').concat(p,'"}'));break}return g},[]);if(e.push([s,d.join(" "),h.join(" "),M.join(" "),m.join(" "),u].join(" ")),!c){const{content:g}=r;g!==void 0&&cF(e,g,n),e.push(f)}})}function TCe(e,t=new Set){const n=[];return cF(n,e,t),n.join(" ")}const $Ce="modulepreload",LCe=function(e,t){return new URL(e,t).href},Rg={},HCe=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");a=Promise.all(n.map(o=>{if(o=LCe(o,r),o in Rg)return;Rg[o]=!0;const l=o.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(!!r)for(let f=i.length-1;f>=0;f--){const d=i[f];if(d.href===o&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${c}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":$Ce,l||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),l)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})}))}return a.then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},sF=(e,...t)=>{HCe(()=>import("./errors-xGUFKyGs.js"),__vite__mapDeps([]),import.meta.url).then(({default:n})=>{const r=n[e];r?console.error(r(...t)):console.error(...t)}).catch(n=>{console.error("[micro-lc][composer]: Dynamic import error while importing logger utils - ".concat(n.message))})},VCe=e=>t=>{sF("0",e,t.message)},jCe={dynamicImportError:VCe,error:sF},ACe=Object.freeze(Object.defineProperty({__proto__:null,logger:jCe},Symbol.toStringTag,{value:"Module"}));var FCe=ACe;const ICe=()=>{const e=[];return Object.assign(e,{append:t=>{e[e.length-1]+=t},flush:()=>{e.push("")}})},BCe=()=>{const e=[""];return Object.assign(e,{append:t=>{e[e.length-1]+=t},flush:()=>{e.push("")}})},RCe=(e,t)=>{const n=[...e];return{literals:Object.defineProperty(n,"raw",{get:()=>n}),variables:[...t]}},Dg=()=>({braceCnt:0,literals:BCe(),mode:0,variables:ICe()}),DCe=e=>{const t=()=>{const r=Array.from(e).reduce((a,i)=>{switch(a.mode){case 2:{if(i==="}"&&a.braceCnt===0){a.mode=0;break}i==="{"?a.braceCnt+=1:i==="}"&&a.braceCnt>0&&(a.braceCnt-=1),a.variables.append(i);break}case 1:{a.literals.append(i),i==="{"?(a.literals.flush(),a.variables.flush(),a.mode=2):a.mode=0;break}case 0:default:i==="$"&&(a.mode=1),a.literals.append(i)}return a},Dg());return r.mode===2&&(r.literals.pop(),r.literals.append(r.variables.pop())),r.literals.forEach((a,i,o)=>{i<o.length-1&&(o[i]=a.slice(0,-2))}),r};let n=e.length===0;return{run:()=>{let r;n||(r=t(),n=!0);const{literals:a,variables:i}=r??Dg();return RCe(a,i)}}},NCe=async(e,t="SHA-1")=>window.crypto.subtle.digest(t,new TextEncoder().encode(e)),vs=new Map,WCe=async e=>{const t=await NCe(e).catch(n=>{FCe.logger.error("40",e,n.message)});if(!t||!vs.has(t)){const n=DCe(e).run();return t&&vs.set(t,n),n}return vs.get(t)};class ms extends $a{}function UCe(){const e=[],t=new Proxy({},{get(n,r,a){return typeof r=="string"&&!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=new ms),Reflect.get(n,r,a)}});return new Proxy(new ms,{get(n,r,a){if(r==="pool")return t;const i=typeof r=="string"?Number.parseInt(r,10):Number.NaN;return Number.isNaN(i)?Reflect.get(n,r,a):(e.at(i)===void 0&&(e[i]=new ms),e[i])}})}async function qCe(e,{extraProperties:t,context:n={}}={}){const r=Array.isArray(t)?new Set(t):t,a=TCe(e,r),i=await WCe(a),o=SCe(i.variables,n),l=vCe(i.literals,...o);return(c,s)=>MCe(l,c,s)}async function KCe(e,t=window,n=console.error){var r;let a=[],i,o={},l=Promise.resolve();if(e.sources){const{sources:c}=e;i=!Array.isArray(c)&&typeof c!="string"?(r=c.importmap)!=null?r:{}:{};try{t.importShim.addImportMap(i)}catch(s){n(s)}a=CCe(c),a.length>0&&(l=Promise.all(a.map(s=>t.importShim(s).then(u=>{o={...o,[s]:u}}).catch(n))))}return l.then(()=>({...e,sources:{importmap:i,modules:o,uris:a}}))}async function GCe(e,t,n={}){return qCe(e.content,{context:n,extraProperties:new Set(Object.keys(n))}).then(a=>(a(t),null))}const YCe=e=>{var t;return{data:{message:e.message,name:e.name,stack:(t=e.stack)!=null?t:""},description:"preview.notifications.error.description",message:"preview.notifications.error.message",status:"error"}},uF=(e,t)=>e.send({content:YCe(t),type:"notification"}),fF=e=>"clientX"in e&&"clientY"in e;function Ng(e,t){return n=>{fF(n)&&e.send({content:{bubbles:!0,cancelable:!1,clientX:n.clientX,clientY:n.clientY},type:t})}}const QCe=(e,t)=>e.has(t.tagName)&&t.hasAttribute(Of),XCe=(e,t,n)=>{const{document:r}=e;return a=>{let i;if(fF(a)){const{clientX:o,clientY:l}=a;i=r.elementsFromPoint(o,l).reduce((c,s)=>{if(QCe(n.uppercaseTags,s)){const u=s.getAttribute(Of);c.ids.push(u),c.selectors.push("[".concat(Of,'="').concat(u,'"]'))}return c},{ids:[],selectors:[]})}(n.mode.getValue()==="select"||i===void 0)&&t.send({content:i&&(i.ids.length>0?i:void 0),type:"click-element"})}},ZCe=e=>t=>{t.ctrlKey&&t.key===" "&&(t.preventDefault(),YA(e.mode,0),e.focus.next(void 0))},JCe=e=>typeof e=="object"&&e!==null&&"libraryName"in e&&typeof e.libraryName=="string"&&"components"in e&&Array.isArray(e.components),eke=([e,t])=>p4(t.then(n=>[e,n])),tke=([e,t])=>{const n={properties:{},type:"layout"},{__manifest:r=Promise.resolve(n)}=t,a=r.then(i=>[t,{__manifest:{...n,...i},tag:e}]).catch(()=>[t,{__manifest:n,tag:e}]);return p4(a)},nke=(e,t)=>p4(t.map(n=>[n,e.whenDefined(n.name)])).pipe(ao(eke),ao(tke)),rke=500,td=(e,t)=>{t instanceof Error&&uF(e,t)},ake=(e,t,n)=>t.pipe(ao(([,{__manifest:{label:r,description:a,descriptionLong:i,...o},tag:l}])=>(delete o.mocks,_I({info:{libraryName:l.libraryName,source:l.source,...iCe({description:a,descriptionLong:i,label:r}),...o},tag:l.name}))),PI(rke),Na(r=>r.length>0)).subscribe({error:r=>td(e,r),next:r=>n(r)}),ike=(e,t,n)=>n.pipe(Fa(([,{__manifest:{mocks:r={}},tag:a}])=>[a.name,r])).subscribe({error:r=>td(e,r),next:r=>{t.mocks.next(r)}});async function dF(e,t,n,{addInfo:r,tags:a}){const{subscription:i}=this;if(n)return KCe(n,this,o=>{td(e,o),r([])}).then(o=>{const l=Object.entries(o.sources.modules).reduce((s,[u,f])=>{if(JCe(f.default)){const{components:d,libraryName:h}=f.default,v=d.map(y=>({libraryName:h,name:y,source:u}));s.push(...v)}return s},[]);a.forEach(s=>{l.find(u=>u.name===s)===void 0&&l.push({name:s,source:""})});const c=nke(this.customElements,l);i.add(ake(e,c,r)),i.add(ike(e,t,c))})}const hF=(e,t)=>{const{document:n}=e;let r=t.firstElementChild;return r===null&&(r=n.createElement("div"),r.style.height="inherit",r.style.display="flex",t.appendChild(r)),r};async function Cf(e,t){const n=UCe(),{proxyWindow:r=this}=this;return GCe({content:e,sources:{importmap:{},modules:{},uris:[]}},hF(this,t),{eventBus:n,proxyWindow:r})}function pF(e){hF(this,e).remove()}var oke=Object.defineProperty,lke=(e,t,n)=>t in e?oke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wg=(e,t,n)=>(lke(e,typeof t!="symbol"?t+"":t,n),n);function Ug(e,t,n){const{properties:r,attributes:a,booleanAttributes:i=[]}=e,o=Object.assign(Object.fromEntries(eF(i).map(c=>[c,!0])),{...a,...r});return t(o).map(({url:c,method:s="GET",notify:u=!1,handler:f=()=>Promise.resolve(new Response)})=>{var d;const h=bSe({...c,method:s},o),v=new URL(h.pathname,(d=h.origin)!=null?d:n);return[v.href,s,(y,M)=>f(y,M).finally(()=>{u&&this.notify(vF(s,v))})]})}const cke=(e,t)=>{const{href:n,search:r}=e;return n.replace(/\?$/,"").substring(0,n.length-r.length).match(new RegExp("^".concat(t,"$")))!==null},ske=(e,t)=>{const{href:n}=e;return n.match(new RegExp("^".concat(t.replace(/\/$/,""),"/")))!==null};class uke extends Map{constructor(t){super(),Wg(this,"notify"),Wg(this,"__urlMap",new Map),this.notify=t}add(t,n){var r,a;const{method:i,url:o}=t,l=(r=this.get(i))!=null?r:new Map,c=(a=this.__urlMap.get(i))!=null?a:[];l.set(o,n),c.push(o),this.set(i,l),this.__urlMap.set(i,c)}match(t){var n;const{method:r,url:a}=t,i=this.__urlMap.get(r);if(i===void 0)return;const o=i.reduce((l,c,s,u)=>{if(cke(a,c)||ske(a,c)){if(l===void 0)return s;if(u[l].length<c.length)return s}return l},void 0);if(o!==void 0)return(n=this.get(r))==null?void 0:n.get(i[o])}}const fke=e=>([t,n,r])=>e.add({method:n,url:t},r);async function qg(e,t,n,r){const a=fke(e);return Array.isArray(t)?Promise.all(t.map(i=>Ug.call(e,i,n,r)).flat().map(a)).then(go):Promise.all(Ug.call(e,t,n,r).map(a)).then(go)}var Kg;const Gg=(Kg=window.__BACKOFFICE_CONFIGURATOR_PREVIEW_TIMEOUT__)!=null?Kg:5e3,dke=e=>e.includes("-"),Yg=e=>({data:{tag:e},description:"preview.notifications.no-webcomponent-definition.description",message:"preview.notifications.no-webcomponent-definition.message",status:"warning"});async function hke(e,t,n,r=[]){const{location:{href:a},fetch:i}=this,o=tF(this),l=new uke(this.notify.bind(this));await Promise.all(r.map(async s=>{var u;let f=()=>[];const d=await Promise.race([D4(hd(Gg)),D4(t.mocks.pipe(Na(([v])=>v===s),_s(1)))]);if(d===0)this.notify(Yg(s));else{const[,{fetch:v}]=d;v!==void 0&&(f=v)}const h=(u=n.get(s))!=null?u:[];return qg(l,h,f,a)})).catch(s=>s instanceof Error&&uF(e,s));const c=async(s,u)=>{var f;const d=nF(o,s),h=l.match({method:(f=u==null?void 0:u.method)!=null?f:"GET",url:d});return h!==void 0?h(d,u).then(v=>v):i(s,u)};if(this.proxyWindow){const s=Object.assign(c,{update:async u=>{let f=()=>[];if(dke(u.tag)){const d=await Promise.race([D4(hd(Gg)),D4(t.mocks.pipe(Na(([h])=>h===u.tag),_s(1)))]);if(d===0)this.notify(Yg(u.tag));else{const[,{fetch:h}]=d;h!==void 0&&(f=h)}}return qg(l,u,f,a)}});this.fetch=s,this.proxyWindow.fetch=s}}function pke(e,t){const{href:n,origin:r,pathname:a}=new URL(e??"",this.location.href);let i=n;return r===this.location.origin&&(i="{ your domain }".concat(a)),this.notify({data:{nextUrl:i,target:t??"[undefined]"},description:"preview.notifications.navigation-event.description.open",message:"preview.notifications.navigation-event.message",status:"default"}),this}function vke(e,t,n){const{href:r,origin:a,pathname:i}=new URL(n);let o=r;a===this.location.origin&&(o="".concat(i)),this.notify({data:{nextUrl:o},description:"preview.notifications.navigation-event.description.pushState",message:"preview.notifications.navigation-event.message",status:"default"})}function mke(e,t,n){const{href:r,origin:a,pathname:i,search:o}=new URL(n);let l=r;a===this.location.origin&&(l="".concat(i).concat(o)),this.notify({data:{nextUrl:l},description:"preview.notifications.navigation-event.description.replaceState",message:"preview.notifications.navigation-event.message",status:"info"})}function gke(e){return new Proxy(e,{get:(t,n)=>n==="pushState"?(r,a,i)=>{vke.call(this,r,a,new URL(i??"",new URL(this.document.baseURI,this.location.href)))}:n==="replaceState"?(r,a,i)=>{mke.call(this,r,a,new URL(i??"",new URL(this.document.baseURI,this.location.href)))}:t[n]})}class Qg extends Map{get length(){return this.size}clear(){super.clear()}getItem(t){var n;return(n=super.get(t))!=null?n:null}key(){return null}removeItem(t){super.delete(t)}setItem(t,n){super.set(t,n)}}const yke=e=>e.tagName==="A";function bke(e){const{prototype:{createElement:t}}=Document;return Document.prototype.createElement=function(r,a){const i=t.call(this,r,a);if(yke(i)){const o=()=>{var l;return e.notify({data:{href:oCe(e.location.origin,new URL(i.href,e.location.href)),target:(l=i.getAttribute("target"))!=null?l:"_self"},description:"preview.notifications.anchor.description",message:"preview.notifications.anchor.message",status:"info"})};Object.defineProperty(i,"click",{get(){return o},set:go})}return i},()=>{Document.prototype.createElement=t}}function _ke(e,t){let n=e.fetch.bind(e);const r={notify:u=>t.next(u)},a=new Qg,i=new Qg,o=Object.assign(e,r),l=new Proxy(o,{get(u,f,d){if(f==="fetch")return n;if(f==="history")return gke.call(u,u.history);if(f==="location")return Object.entries(window.location).reduce((v,[y,M])=>(Object.defineProperty(v,y,{get:()=>M,set:m=>{y==="href"&&typeof m=="string"&&u.notify({data:{nextUrl:m,target:"_self"},description:"preview.notifications.navigation-event.description.location.href",message:"preview.notifications.navigation-event.message",status:"info"})}}),v),{});if(f==="open")return pke.bind(u);if(f==="localStorage")return a;if(f==="sessionStorage")return i;const h=Reflect.get(u,f);return typeof h!="function"?h:function(...y){return Reflect.apply(h,this===d?e:this,y)}},set(u,f,d){return f==="fetch"?(n=d,!0):Reflect.set(u,f,d)}}),c=Object.assign(o,{proxyWindow:l}),s=bke(c);return{sandbox:c,unpatch:s}}var wke=Object.defineProperty,Oke=(e,t,n)=>t in e?wke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xg=(e,t,n)=>(Oke(e,typeof t!="symbol"?t+"":t,n),n);function Mke(e,t,n,r){const{document:a}=e,i=a.createElement("div"),o="";i.style.display=o,i.style.height="inherit",i.style.width="inherit",i.style.position="fixed",i.style.zIndex="".concat(GA+1);const l=r.subscribe(s=>{i.style.display=s?o:"none"});a.body.appendChild(i);const c=L_(i);return c.render(b.createElement(nCe,{hide:()=>{t.send({content:{visible:!1},type:"toggle-components-explorer"})},info$:n},null)),()=>{l.unsubscribe(),c.unmount()}}function zke(e,t){const{document:n}=e,r=n.createElement("div"),a="";r.style.display=a,r.style.position="fixed",r.style.width="100vw",r.style.height="100%",r.style.backgroundColor="rgba(0, 0, 0, 0.05)",r.style.zIndex="".concat(GA);const i=()=>r.style.display===a,o=()=>i()?r.style.display="none":r.style.display=a,l=t.pipe(Na(c=>e.__BACKOFFICE_CONFIGURATOR_DISABLE_OVERLAY__?c==="interact":!0)).subscribe(c=>{switch(c){case"interact":e.dispatchEvent(new Event("mousedown")),r.style.display="none";break;case"select":r.style.display=a;break;case 0:default:o();break}});return n.body.appendChild(r),{cleanup:()=>l.unsubscribe(),overlay:r}}const xke=(e,t)=>{const n=e.createElement("div");n.style.display="flex",n.style.flexDirection="column",n.style.height="inherit";const r=t.subscribe(a=>{n.style.display=a?"none":"flex"});return e.body.appendChild(n),{cleanup:()=>r.unsubscribe(),renderRoot:n}};function Ske(e,t){const n=e;return Object.assign(e,{bootstrap:dF.bind(n),mocks:{fetch:new Map},postChannel:t,subscription:new o1,unmount:pF.bind(n),update:Cf.bind(n)})}class Cke{constructor(){Xg(this,"_results",new Map),Xg(this,"_queue",Promise.resolve())}add(t){const r=[...t].map(a=>{let i,o;const l=new Promise((c,s)=>{i=c,o=s});return this._queue=this._queue.then(()=>a()).then(c=>{i(c)}).catch(c=>o(c)),l});return Promise.allSettled(r)}get(t){return this._results.get(t)}}const kke=e=>t=>{t.forEach(n=>{n.status==="rejected"&&e.next({data:{reason:n.reason},description:"preview.notifications.lifecycle.description",message:"preview.notifications.lifecycle.message",status:"error"})})},Eke=e=>t=>{e.infos.next(t),t.forEach(({tag:n})=>e.uppercaseTags.add(n.toUpperCase()))},Pke=(e,t,n,r)=>{const a=new Cke,i=r.configuration.pipe(TI(r.swSourceMapAck)).subscribe(([o])=>{const{configuration:l}=o,{content:c}=l;let s;if(o.type==="reset"){const{contexts:u,tags:f}=o;s=a.add([()=>pF.call(e,t),()=>dF.call(e,n,r,l,{addInfo:Eke(r),tags:f}),()=>hke.call(e,n,r,u,o.tags),()=>Cf.call(e,c,t).finally(()=>r.updated.next(0))])}else{const{context:u}=o;s=a.add([()=>{var f,d,h;return(h=(f=e.proxyWindow)==null?void 0:(d=f.fetch).update)==null?void 0:h.call(d,u)},()=>Cf.call(e,c,t).finally(()=>r.updated.next(0))])}s.then(kke(r.notification)).catch(go)});return()=>i.unsubscribe()},Tke=e=>{const{body:t}=e;t.style.height="100%",t.style.padding="0",t.style.margin="0"},$ke=(e,t)=>{const{location:{origin:n,port:r,protocol:a}}=e;return!(n!==t.origin||r!==t.port||a!==t.protocol)},vF=(e,t)=>({data:{method:e,url:t.href.substring(t.origin.length)},description:"preview.notifications.fetch-event.description",message:"preview.notifications.fetch-event.message",status:"info"}),Lke=(e,t)=>{const n=tF(e),{document:r,parent:a}=e;if(a===e)return;const i=e.fetch.bind(e);e.fetch=(o,l)=>{var c;const s=nF(n,o);return $ke(r,s)&&t.next(vF((c=l==null?void 0:l.method)!=null?c:"GET",s)),i(o,l)}},Hke=(e,t,n)=>{Tke(e.document),Lke(e,n.notification);const{cleanup:r}=zke(e,n.mode.asObservable()),a=Mke(e,t,n.infos.asObservable(),n.componentsExplorerVisible.asObservable()),i=fCe(e.document,n.focus.asObservable(),n.mode.asObservable()),{cleanup:o,renderRoot:l}=xke(e.document,n.componentsExplorerVisible.asObservable()),c=Ske(e,t),{sandbox:s,unpatch:u}=_ke(c,n.notification),f=Pke(s,l,t,n);return{cleanup:()=>{f(),u(),i(),r(),a(),o()},sandboxedWindow:s}};function Vke(e){const t=new o1;return t.add(e.updated.subscribe(()=>this.send({content:{},type:"updated"}))),t.add(e.infos.subscribe(n=>this.send({content:n,type:"tag-info"}))),t.add(e.notification.subscribe(n=>this.send({content:n,type:"notification"}))),t.add(e.mode.subscribe(n=>this.send({content:{mode:n},type:"ctrl-space"}))),()=>{this.send({content:{},type:"unload"}),t.unsubscribe()}}function jke(e){const t=new o1;return t.add(e.setSourceMap.subscribe(n=>{this.ackSend({content:n,type:"set-source-map"}).then(()=>e.swSourceMapAck.next(0)).catch(go)})),()=>t.unsubscribe()}function Ake(e,...t){const n=t.map(({type:r,handler:a})=>(e.addEventListener(r,a),()=>e.removeEventListener(r,a)));return()=>{n.forEach(r=>r())}}function Fke(e,t){e.addEventListener("unload",()=>{e.subscription.unsubscribe(),t.forEach(n=>n())})}(async e=>{const t=wSe(),n=await zSe(e),r=await SSe(e,t),a=jke.call(n,t),i=Vke.call(r,t),o=Ake(e,{handler:ZCe(t),type:"keydown"},{handler:Ng(r,"mousemove"),type:"mousemove"},{handler:Ng(r,"mousedown"),type:"mousedown"},{handler:XCe(e,r,t),type:"mousedown"}),{cleanup:l,sandboxedWindow:c}=Hke(e,r,t);Fke(c,[l,o,i,a,()=>r.disconnect(),()=>n.send({content:{},type:"unload-client"}),()=>n.disconnect()])})(window).catch(e=>{throw console.error("[preview] Error Boundary: ".concat(String(e))),e});
93
93
  function __vite__mapDeps(indexes) {
94
94
  if (!__vite__mapDeps.viteFileDeps) {
95
95
  __vite__mapDeps.viteFileDeps = []
@@ -11,7 +11,7 @@
11
11
  "dynamicImports": [
12
12
  "../../node_modules/@micro-lc/composer/dist/lib/logger/errors.js"
13
13
  ],
14
- "file": "assets/index-C5kjVVQ-.js",
14
+ "file": "assets/index-tHug5tbN.js",
15
15
  "isEntry": true,
16
16
  "src": "index.html"
17
17
  }
@@ -12415,11 +12415,19 @@ var _fails = function(exec) {
12415
12415
  return true;
12416
12416
  }
12417
12417
  };
12418
- var _descriptors = !_fails(function() {
12419
- return Object.defineProperty({}, "a", { get: function() {
12420
- return 7;
12421
- } }).a != 7;
12422
- });
12418
+ var _descriptors;
12419
+ var hasRequired_descriptors;
12420
+ function require_descriptors() {
12421
+ if (hasRequired_descriptors)
12422
+ return _descriptors;
12423
+ hasRequired_descriptors = 1;
12424
+ _descriptors = !_fails(function() {
12425
+ return Object.defineProperty({}, "a", { get: function() {
12426
+ return 7;
12427
+ } }).a != 7;
12428
+ });
12429
+ return _descriptors;
12430
+ }
12423
12431
  var _domCreate;
12424
12432
  var hasRequired_domCreate;
12425
12433
  function require_domCreate() {
@@ -12434,11 +12442,19 @@ function require_domCreate() {
12434
12442
  };
12435
12443
  return _domCreate;
12436
12444
  }
12437
- var _ie8DomDefine = !_descriptors && !_fails(function() {
12438
- return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
12439
- return 7;
12440
- } }).a != 7;
12441
- });
12445
+ var _ie8DomDefine;
12446
+ var hasRequired_ie8DomDefine;
12447
+ function require_ie8DomDefine() {
12448
+ if (hasRequired_ie8DomDefine)
12449
+ return _ie8DomDefine;
12450
+ hasRequired_ie8DomDefine = 1;
12451
+ _ie8DomDefine = !require_descriptors() && !_fails(function() {
12452
+ return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
12453
+ return 7;
12454
+ } }).a != 7;
12455
+ });
12456
+ return _ie8DomDefine;
12457
+ }
12442
12458
  var isObject$2 = _isObject;
12443
12459
  var _toPrimitive = function(it, S2) {
12444
12460
  if (!isObject$2(it))
@@ -12452,25 +12468,32 @@ var _toPrimitive = function(it, S2) {
12452
12468
  return val;
12453
12469
  throw TypeError("Can't convert object to primitive value");
12454
12470
  };
12455
- var anObject$3 = _anObject;
12456
- var IE8_DOM_DEFINE$1 = _ie8DomDefine;
12457
- var toPrimitive$2 = _toPrimitive;
12458
- var dP$3 = Object.defineProperty;
12459
- _objectDp.f = _descriptors ? Object.defineProperty : function defineProperty(O2, P2, Attributes) {
12460
- anObject$3(O2);
12461
- P2 = toPrimitive$2(P2, true);
12462
- anObject$3(Attributes);
12463
- if (IE8_DOM_DEFINE$1)
12464
- try {
12465
- return dP$3(O2, P2, Attributes);
12466
- } catch (e2) {
12467
- }
12468
- if ("get" in Attributes || "set" in Attributes)
12469
- throw TypeError("Accessors not supported!");
12470
- if ("value" in Attributes)
12471
- O2[P2] = Attributes.value;
12472
- return O2;
12473
- };
12471
+ var hasRequired_objectDp;
12472
+ function require_objectDp() {
12473
+ if (hasRequired_objectDp)
12474
+ return _objectDp;
12475
+ hasRequired_objectDp = 1;
12476
+ var anObject2 = _anObject;
12477
+ var IE8_DOM_DEFINE2 = require_ie8DomDefine();
12478
+ var toPrimitive2 = _toPrimitive;
12479
+ var dP2 = Object.defineProperty;
12480
+ _objectDp.f = require_descriptors() ? Object.defineProperty : function defineProperty4(O2, P2, Attributes) {
12481
+ anObject2(O2);
12482
+ P2 = toPrimitive2(P2, true);
12483
+ anObject2(Attributes);
12484
+ if (IE8_DOM_DEFINE2)
12485
+ try {
12486
+ return dP2(O2, P2, Attributes);
12487
+ } catch (e2) {
12488
+ }
12489
+ if ("get" in Attributes || "set" in Attributes)
12490
+ throw TypeError("Accessors not supported!");
12491
+ if ("value" in Attributes)
12492
+ O2[P2] = Attributes.value;
12493
+ return O2;
12494
+ };
12495
+ return _objectDp;
12496
+ }
12474
12497
  var _propertyDesc = function(bitmap, value) {
12475
12498
  return {
12476
12499
  enumerable: !(bitmap & 1),
@@ -12479,9 +12502,9 @@ var _propertyDesc = function(bitmap, value) {
12479
12502
  value
12480
12503
  };
12481
12504
  };
12482
- var dP$2 = _objectDp;
12505
+ var dP$2 = require_objectDp();
12483
12506
  var createDesc$2 = _propertyDesc;
12484
- var _hide = _descriptors ? function(object, key2, value) {
12507
+ var _hide = require_descriptors() ? function(object, key2, value) {
12485
12508
  return dP$2.f(object, key2, createDesc$2(1, value));
12486
12509
  } : function(object, key2, value) {
12487
12510
  object[key2] = value;
@@ -12685,7 +12708,7 @@ function require_objectAssign() {
12685
12708
  if (hasRequired_objectAssign)
12686
12709
  return _objectAssign;
12687
12710
  hasRequired_objectAssign = 1;
12688
- var DESCRIPTORS2 = _descriptors;
12711
+ var DESCRIPTORS2 = require_descriptors();
12689
12712
  var getKeys2 = _objectKeys;
12690
12713
  var gOPS2 = _objectGops;
12691
12714
  var pIE2 = require_objectPie();
@@ -15206,9 +15229,9 @@ ClassList.prototype.has = ClassList.prototype.contains = function(name2) {
15206
15229
  };
15207
15230
  const classes = /* @__PURE__ */ getDefaultExportFromCjs(componentClasses);
15208
15231
  var $export$3 = _export;
15209
- $export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
15232
+ $export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
15210
15233
  var $Object$1 = _coreExports.Object;
15211
- var defineProperty$4 = function defineProperty2(it, key2, desc) {
15234
+ var defineProperty$4 = function defineProperty(it, key2, desc) {
15212
15235
  return $Object$1.defineProperty(it, key2, desc);
15213
15236
  };
15214
15237
  var defineProperty$3 = { "default": defineProperty$4, __esModule: true };
@@ -15276,10 +15299,10 @@ var _stringAt = function(TO_STRING) {
15276
15299
  };
15277
15300
  var _redefine = _hide;
15278
15301
  var _iterators = {};
15279
- var dP$1 = _objectDp;
15302
+ var dP$1 = require_objectDp();
15280
15303
  var anObject$2 = _anObject;
15281
15304
  var getKeys$1 = _objectKeys;
15282
- var _objectDps = _descriptors ? Object.defineProperties : function defineProperties(O2, Properties) {
15305
+ var _objectDps = require_descriptors() ? Object.defineProperties : function defineProperties(O2, Properties) {
15283
15306
  anObject$2(O2);
15284
15307
  var keys3 = getKeys$1(Properties);
15285
15308
  var length = keys3.length;
@@ -15345,7 +15368,7 @@ var $exports = _wks.exports = function(name2) {
15345
15368
  };
15346
15369
  $exports.store = store;
15347
15370
  var _wksExports = _wks.exports;
15348
- var def = _objectDp.f;
15371
+ var def = require_objectDp().f;
15349
15372
  var has$4 = _has;
15350
15373
  var TAG = _wksExports("toStringTag");
15351
15374
  var _setToStringTag = function(it, tag, stat) {
@@ -15528,7 +15551,7 @@ var _meta = { exports: {} };
15528
15551
  var META$1 = _uid("meta");
15529
15552
  var isObject$1 = _isObject;
15530
15553
  var has$2 = _has;
15531
- var setDesc = _objectDp.f;
15554
+ var setDesc = require_objectDp().f;
15532
15555
  var id$1 = 0;
15533
15556
  var isExtensible = Object.isExtensible || function() {
15534
15557
  return true;
@@ -15581,7 +15604,7 @@ var meta = _meta.exports = {
15581
15604
  var _metaExports = _meta.exports;
15582
15605
  var core = _coreExports;
15583
15606
  var wksExt$1 = _wksExt;
15584
- var defineProperty$2 = _objectDp.f;
15607
+ var defineProperty$2 = require_objectDp().f;
15585
15608
  var _wksDefine = function(name2) {
15586
15609
  var $Symbol2 = core.Symbol || (core.Symbol = {});
15587
15610
  if (name2.charAt(0) != "_" && !(name2 in $Symbol2))
@@ -15635,9 +15658,9 @@ var createDesc$1 = _propertyDesc;
15635
15658
  var toIObject$1 = _toIobject;
15636
15659
  var toPrimitive$1 = _toPrimitive;
15637
15660
  var has$1 = _has;
15638
- var IE8_DOM_DEFINE = _ie8DomDefine;
15661
+ var IE8_DOM_DEFINE = require_ie8DomDefine();
15639
15662
  var gOPD$2 = Object.getOwnPropertyDescriptor;
15640
- _objectGopd.f = _descriptors ? gOPD$2 : function getOwnPropertyDescriptor(O2, P2) {
15663
+ _objectGopd.f = require_descriptors() ? gOPD$2 : function getOwnPropertyDescriptor(O2, P2) {
15641
15664
  O2 = toIObject$1(O2);
15642
15665
  P2 = toPrimitive$1(P2, true);
15643
15666
  if (IE8_DOM_DEFINE)
@@ -15650,7 +15673,7 @@ _objectGopd.f = _descriptors ? gOPD$2 : function getOwnPropertyDescriptor(O2, P2
15650
15673
  };
15651
15674
  var global$1 = _globalExports;
15652
15675
  var has = _has;
15653
- var DESCRIPTORS = _descriptors;
15676
+ var DESCRIPTORS = require_descriptors();
15654
15677
  var $export$2 = _export;
15655
15678
  var redefine = _redefine;
15656
15679
  var META = _metaExports.KEY;
@@ -15673,7 +15696,7 @@ var _create$1 = _objectCreate;
15673
15696
  var gOPNExt = _objectGopnExt;
15674
15697
  var $GOPD = _objectGopd;
15675
15698
  var $GOPS = _objectGops;
15676
- var $DP = _objectDp;
15699
+ var $DP = require_objectDp();
15677
15700
  var $keys = _objectKeys;
15678
15701
  var gOPD$1 = $GOPD.f;
15679
15702
  var dP = $DP.f;
@@ -15716,7 +15739,7 @@ var isSymbol = USE_NATIVE && typeof $Symbol.iterator == "symbol" ? function(it)
15716
15739
  } : function(it) {
15717
15740
  return it instanceof $Symbol;
15718
15741
  };
15719
- var $defineProperty = function defineProperty3(it, key2, D2) {
15742
+ var $defineProperty = function defineProperty2(it, key2, D2) {
15720
15743
  if (it === ObjectProto)
15721
15744
  $defineProperty(OPSymbols, key2, D2);
15722
15745
  anObject(it);
@@ -58973,7 +58996,7 @@ function bail(error2) {
58973
58996
  }
58974
58997
  var hasOwn = Object.prototype.hasOwnProperty;
58975
58998
  var toStr = Object.prototype.toString;
58976
- var defineProperty4 = Object.defineProperty;
58999
+ var defineProperty3 = Object.defineProperty;
58977
59000
  var gOPD = Object.getOwnPropertyDescriptor;
58978
59001
  var isArray2 = function isArray3(arr) {
58979
59002
  if (typeof Array.isArray === "function") {
@@ -58996,8 +59019,8 @@ var isPlainObject$1 = function isPlainObject(obj) {
58996
59019
  return typeof key2 === "undefined" || hasOwn.call(obj, key2);
58997
59020
  };
58998
59021
  var setProperty = function setProperty2(target2, options) {
58999
- if (defineProperty4 && options.name === "__proto__") {
59000
- defineProperty4(target2, options.name, {
59022
+ if (defineProperty3 && options.name === "__proto__") {
59023
+ defineProperty3(target2, options.name, {
59001
59024
  enumerable: true,
59002
59025
  configurable: true,
59003
59026
  value: options.newValue,
@@ -65480,16 +65503,17 @@ const registerChannels = () => ({
65480
65503
  updated: new Subject$1(),
65481
65504
  uppercaseTags: /* @__PURE__ */ new Set()
65482
65505
  });
65483
- const nextMode = (mode) => {
65484
- let next = 0;
65485
- const currentValue = mode.getValue();
65486
- if (currentValue === "interact") {
65487
- next = "select";
65488
- } else if (currentValue === "select") {
65489
- next = "interact";
65506
+ const nextMode = (mode, received) => {
65507
+ let next = received;
65508
+ if (received === 0) {
65509
+ const currentValue = mode.getValue();
65510
+ if (currentValue === "interact") {
65511
+ next = "select";
65512
+ } else if (currentValue === "select") {
65513
+ next = "interact";
65514
+ }
65490
65515
  }
65491
65516
  mode.next(next);
65492
- return next;
65493
65517
  };
65494
65518
  const swMakeListener = (_2) => (message) => {
65495
65519
  switch (message.type) {
@@ -65544,7 +65568,7 @@ const parentMakeListener = (self2, channels) => (_message) => {
65544
65568
  channels.componentsExplorerVisible.next(message.content.visible);
65545
65569
  break;
65546
65570
  case "ctrl-space":
65547
- nextMode(channels.mode);
65571
+ nextMode(channels.mode, message.content.mode);
65548
65572
  break;
65549
65573
  case "new-configuration":
65550
65574
  channels.configuration.next({ ...message.content, type: "reset" });
@@ -69895,7 +69919,7 @@ const ctrlSpaceFactory = (channels) => {
69895
69919
  return (evt) => {
69896
69920
  if (evt.ctrlKey && evt.key === " ") {
69897
69921
  evt.preventDefault();
69898
- nextMode(channels.mode);
69922
+ nextMode(channels.mode, 0);
69899
69923
  channels.focus.next(void 0);
69900
69924
  }
69901
69925
  };
@@ -16,7 +16,7 @@
16
16
  }
17
17
  </style>
18
18
  <script src="https://unpkg.com/zone.js"></script>
19
- <script type="module" crossorigin src="./assets/index-C5kjVVQ-.js"></script>
19
+ <script type="module" crossorigin src="./assets/index-tHug5tbN.js"></script>
20
20
  <link rel="stylesheet" crossorigin href="./assets/index-HuzVlez9.css">
21
21
  </head>
22
22
  <body></body>
@@ -16,7 +16,7 @@
16
16
  }
17
17
  </style>
18
18
  <script src="https://unpkg.com/zone.js"></script>
19
- <script type="module" crossorigin src="./assets/index-bbSGSfTl.js"></script>
19
+ <script type="module" crossorigin src="./assets/index-UUnaDy2L.js"></script>
20
20
  <link rel="stylesheet" crossorigin href="./assets/index-_9UZNNtx.css">
21
21
  </head>
22
22
  <body></body>