@olympeio/runtime-web 9.10.6 → 9.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -249,23 +249,23 @@ ea('Object.fromEntries',function(a){return a?a:function(b){var c={};if(!(Symbol.
249
249
  ea('Promise.prototype.finally',function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});function za(a){if(null==a)throw new TypeError("The 'this' value for String.prototype.padStart must not be null or undefined");return a+''}function Aa(a,b){a=void 0!==a?String(a):' ';return 0<b&&a?a.repeat(Math.ceil(b/a.length)).substring(0,b):''}
250
250
  ea('String.prototype.padStart',function(a){return a?a:function(b,c){var d=za(this);return Aa(c,b-d.length)+d}});ea('String.prototype.padEnd',function(a){return a?a:function(b,c){var d=za(this);return d+Aa(c,b-d.length)}});ea('Object.values',function(a){return a?a:function(b){var c=[],d;for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&c.push(b[d]);return c}});
251
251
  ea('Array.prototype.flatMap',function(a){return a?a:function(b,c){for(var d=[],e=0;e<this.length;e++){var f=b.call(c,this[e],e,this);Array.isArray(f)?d.push.apply(d,f):d.push(f)}return d}});ea('Array.prototype.flat',function(a){return a?a:function(b){b=void 0===b?1:b;for(var c=[],d=0;d<this.length;d++){var e=this[d];Array.isArray(e)&&0<b?(e=Array.prototype.flat.call(e,b-1),c.push.apply(c,e)):c.push(e)}return c}});
252
- ea('Promise.allSettled',function(a){function b(d){return{status:'fulfilled',value:d}}function c(d){return{status:'rejected',reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(f){return e.resolve(f).then(b,c)});return e.all(d)}});var Ba=this||self;function z(a,b){a=a.split('.');let c=Ba;a[0]in c||'undefined'==typeof c.execScript||c.execScript('var '+a[0]);for(let d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b};const olympe={Jj:()=>'object'===typeof window?window:'object'===typeof global?global:self};if('olympe'in olympe.Jj())throw Error('The olympe runtime is loaded more than once. Make sure not to import `@olympeio/runtime-web` or `@olympeio/runtime-node` explicitly, and to always use the `olympe` alias.');olympe.Jj().olympe=olympe;olympe.Wh=(a,...b)=>{b.forEach(c=>{Object.getOwnPropertyNames(c.prototype).forEach(d=>{'constructor'!==d&&void 0===a.prototype[d]&&(a.prototype[d]=c.prototype[d])})})};olympe.G={};olympe.G.H={};olympe.G.H.Worker=class{};olympe.sa={};olympe.sa.vo={};olympe.sa.vo.XF=class{process(a){for(const b of Object.keys(a.Rk))if(a.kg(b).dE())throw Error('Service "'+b+'" is defined as abstract and needs to be overridden');}};olympe.sa.vo.XF.Aa=[olympe.sa.vo.gK];olympe.sa.vo.YF=class{process(a){function b(e,f){if(f.includes(e))throw Error('Circular dependency detected: '+f.join(' > ')+' > '+e);if(d.has(e)){f=f.concat(e);d.delete(e);e=a.kg(e);c(e.Sw(),f);for(const g of Ca(e))c(g.Sw(),f)}}function c(e,f){for(const g of e)g instanceof olympe.sa.de&&b(g.ja(),f)}const d=new Set(Object.keys(a.Rk));for(const e of d)b(e,[])}};olympe.sa.vo.YF.Aa=[olympe.sa.vo.gK];olympe.sa.vo.gK=class{process(){}};const Da=[],Ea=[];function Fa(a){const b=a.Cb();b.debug('Registering configurations...');b.C++;Da.forEach(c=>{Ga(a.V,'Registering configure callback '+(c.C?'for module '+c.C:''));a.R.push(c.D)});Ha(b);b.debug('done registering')}function Ja(a){const b=a.Cb();b.debug('Running run callbacks of container...');b.C++;Ea.forEach(c=>{const d=Ka(a,c.Sw());a.V.debug('Calling run callback '+`for module ${c.C}`);c.D.apply(null,d)});Ha(b);b.debug('done calling run callbacks. DI process completed!')}
253
- olympe.sa.dG=class{constructor(){}static C(a,b){Da.push(new olympe.sa.LB(a,b))}static D(a,b,c){a.forEach(d=>{if(null===d||void 0===d)throw Error('Cannot proceed - DI configuration error. '+(c?`Run callback "${c}"`:'A run callback')+' cannot have a null or undefined dependency');});Ea.push(new olympe.sa.LB(b,c,a))}};olympe.sa.$e=olympe.sa.dG.C;olympe.sa.run=olympe.sa.dG.D;olympe.sa.KW=a=>{const b=new Map,c=(d,e)=>{for(const [f,g]of Object.entries(d))d=e.concat((f.startsWith('#')?f.substring(1):f).toLowerCase()),'object'!==typeof g||null===g||f.startsWith('#')?b.set(d.join('.'),g):c(g,d)};c(a,[]);return b};olympe.sa.ty=class{constructor(){}getValue(){}};function La(a,b){let c,d;return null!=(d=null==(c=a.O)?void 0:c.call(a,b))?d:!0}olympe.sa.LB=class{constructor(a,b,c){this.D=a;this.R=(null!=c?c:[]).map(d=>'string'===typeof d?new olympe.sa.de(d):d);this.C=null!=b?b:'no name di callback';this.O=null}Sw(){return this.R}};function Ma(a,b){var c=olympe.sa.ba.rp;if(void 0!==a.C[c])throw Error('Service "'+c+'" has already been instantiated');a.C[c]=b}function Na(a,b,c){let d=a.C[b];if(void 0===d){const e=a.R[b];if(void 0===e){if(c===olympe.sa.Xs.C.LC)return null;throw Error('Service "'+b+'" not found');}try{d=e.instantiate(a)}catch(f){throw a.V.error('Error during instantiation of service '+b),f;}!e.R&&(a.C[b]=d)}return d}
252
+ ea('Promise.allSettled',function(a){function b(d){return{status:'fulfilled',value:d}}function c(d){return{status:'rejected',reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(f){return e.resolve(f).then(b,c)});return e.all(d)}});var Ba=this||self;function z(a,b){a=a.split('.');let c=Ba;a[0]in c||'undefined'==typeof c.execScript||c.execScript('var '+a[0]);for(let d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b};const olympe={Jj:()=>'object'===typeof window?window:'object'===typeof global?global:self};if('olympe'in olympe.Jj())throw Error('The olympe runtime is loaded more than once. Make sure not to import `@olympeio/runtime-web` or `@olympeio/runtime-node` explicitly, and to always use the `olympe` alias.');olympe.Jj().olympe=olympe;olympe.Wh=(a,...b)=>{b.forEach(c=>{Object.getOwnPropertyNames(c.prototype).forEach(d=>{'constructor'!==d&&void 0===a.prototype[d]&&(a.prototype[d]=c.prototype[d])})})};olympe.G={};olympe.G.H={};olympe.G.H.Worker=class{};olympe.sa={};olympe.sa.vo={};olympe.sa.vo.YF=class{process(a){for(const b of Object.keys(a.Rk))if(a.kg(b).eE())throw Error('Service "'+b+'" is defined as abstract and needs to be overridden');}};olympe.sa.vo.YF.Aa=[olympe.sa.vo.gK];olympe.sa.vo.ZF=class{process(a){function b(e,f){if(f.includes(e))throw Error('Circular dependency detected: '+f.join(' > ')+' > '+e);if(d.has(e)){f=f.concat(e);d.delete(e);e=a.kg(e);c(e.Sw(),f);for(const g of Ca(e))c(g.Sw(),f)}}function c(e,f){for(const g of e)g instanceof olympe.sa.de&&b(g.ja(),f)}const d=new Set(Object.keys(a.Rk));for(const e of d)b(e,[])}};olympe.sa.vo.ZF.Aa=[olympe.sa.vo.gK];olympe.sa.vo.gK=class{process(){}};const Da=[],Ea=[];function Fa(a){const b=a.Cb();b.debug('Registering configurations...');b.C++;Da.forEach(c=>{Ga(a.V,'Registering configure callback '+(c.C?'for module '+c.C:''));a.R.push(c.D)});Ha(b);b.debug('done registering')}function Ja(a){const b=a.Cb();b.debug('Running run callbacks of container...');b.C++;Ea.forEach(c=>{const d=Ka(a,c.Sw());a.V.debug('Calling run callback '+`for module ${c.C}`);c.D.apply(null,d)});Ha(b);b.debug('done calling run callbacks. DI process completed!')}
253
+ olympe.sa.eG=class{constructor(){}static C(a,b){Da.push(new olympe.sa.LB(a,b))}static D(a,b,c){a.forEach(d=>{if(null===d||void 0===d)throw Error('Cannot proceed - DI configuration error. '+(c?`Run callback "${c}"`:'A run callback')+' cannot have a null or undefined dependency');});Ea.push(new olympe.sa.LB(b,c,a))}};olympe.sa.$e=olympe.sa.eG.C;olympe.sa.run=olympe.sa.eG.D;olympe.sa.KW=a=>{const b=new Map,c=(d,e)=>{for(const [f,g]of Object.entries(d))d=e.concat((f.startsWith('#')?f.substring(1):f).toLowerCase()),'object'!==typeof g||null===g||f.startsWith('#')?b.set(d.join('.'),g):c(g,d)};c(a,[]);return b};olympe.sa.ty=class{constructor(){}getValue(){}};function La(a,b){let c,d;return null!=(d=null==(c=a.O)?void 0:c.call(a,b))?d:!0}olympe.sa.LB=class{constructor(a,b,c){this.D=a;this.R=(null!=c?c:[]).map(d=>'string'===typeof d?new olympe.sa.de(d):d);this.C=null!=b?b:'no name di callback';this.O=null}Sw(){return this.R}};function Ma(a,b){var c=olympe.sa.ba.rp;if(void 0!==a.C[c])throw Error('Service "'+c+'" has already been instantiated');a.C[c]=b}function Na(a,b,c){let d=a.C[b];if(void 0===d){const e=a.R[b];if(void 0===e){if(c===olympe.sa.Xs.C.MC)return null;throw Error('Service "'+b+'" not found');}try{d=e.instantiate(a)}catch(f){throw a.V.error('Error during instantiation of service '+b),f;}!e.R&&(a.C[b]=d)}return d}
254
254
  function Oa(a,b,c){b=b.toLowerCase();let d;const e=null!=(d=a.D.get(b))?d:[];e.push(c);a.D.set(b,e)}function Ka(a,b){const c=b.length,d=Array(c);let e,f;for(e=0;e<c;e++)a.V.C++,f=b[e],d[e]=f instanceof olympe.sa.ty?f.getValue(a):f,Ha(a.V);return d}
255
255
  olympe.sa.Xs=class{constructor(a,b,c,d,e=2){this.R=a;this.O=b;this.parameters=c;this.C=Object.create(null);this.V=new olympe.sa.sJ(e);this.D=new Map;Ma(this,this);this.V.debug('Instantiate all computed parameters');d.forEach(f=>Na(this,f).subscribe(this.pB.bind(this,f)))}Cb(){return this.V}getParameter(a){a=a.toLowerCase();let b;return null!=(b=this.parameters[a])?b:this.O[a]}pB(a,b){a=a.toLowerCase();if(this.parameters[a]!==b){var c,d;this.V.debug(`Updating parameter ${a} to ${b} and notify ${null!=
256
- (d=null==(c=this.D.get(a))?void 0:c.length)?d:0} listeners.`);this.parameters[a]=b;var e;for(const f of null!=(e=this.D.get(a))?e:[])f(b)}}};olympe.sa.Xs.C={EQ:'exception',LC:'null'};function Pa(a,b){b=olympe.sa.KW(b);for(const [c,d]of b)Qa(a,c,d)}function B(a,b,c,...d){Ga(a.V,'Defining service '+b);a.C(b,c,d,!1,!1)}function Ta(a,b,c,...d){Ga(a.V,'Defining service '+b);a.C(b,c,d,!1,!0)}function C(a,b,c,d,e=!1){Ga(a.V,'Defining service (as a factory) '+b);a.C(b,d,c,!0,e)}function Ua(a,b,c,d=!1){Ga(a.V,'Defining service alias '+b);a.C(b,e=>e,[c],!0,d)}function Wa(a,b){Ga(a.V,'Defining abstract service '+b);a.C(b).O=!0}function Qa(a,b,c){a.parameters[b.toLowerCase()]=c}
256
+ (d=null==(c=this.D.get(a))?void 0:c.length)?d:0} listeners.`);this.parameters[a]=b;var e;for(const f of null!=(e=this.D.get(a))?e:[])f(b)}}};olympe.sa.Xs.C={EQ:'exception',MC:'null'};function Pa(a,b){b=olympe.sa.KW(b);for(const [c,d]of b)Qa(a,c,d)}function B(a,b,c,...d){Ga(a.V,'Defining service '+b);a.C(b,c,d,!1,!1)}function Ta(a,b,c,...d){Ga(a.V,'Defining service '+b);a.C(b,c,d,!1,!0)}function C(a,b,c,d,e=!1){Ga(a.V,'Defining service (as a factory) '+b);a.C(b,d,c,!0,e)}function Ua(a,b,c,d=!1){Ga(a.V,'Defining service alias '+b);a.C(b,e=>e,[c],!0,d)}function Wa(a,b){Ga(a.V,'Defining abstract service '+b);a.C(b).O=!0}function Qa(a,b,c){a.parameters[b.toLowerCase()]=c}
257
257
  function Xa(a,b,c,d){a.O.push(b);Qa(a,b,d(...c.map(e=>a.getParameter(e))));C(a,b,c.map(e=>new olympe.sa.at(e)),(...e)=>rxjs.combineLatest(e).pipe(rxjs.operators.skip(1),rxjs.operators.map(f=>d(...f)),rxjs.operators.distinctUntilChanged()))}function E(a,b,c){a.D[b.toLowerCase()]=c}
258
- olympe.sa.sQ=class{constructor(a,b){this.Rk=Object.create(null);this.parameters=Object.create(null);this.D=Object.create(null);this.O=[];Pa(this,a);Pa(this,b);this.W=[new olympe.sa.vo.XF,new olympe.sa.vo.YF];this.R=[];a=this.getParameter(olympe.sa.pa.GS);this.T=void 0!==a?a:3;this.V=new olympe.sa.sJ(this.T)}Cb(){return this.V}C(a,b,c,d,e){const f=a instanceof olympe.sa.de?a.ja():a;if(3<=arguments.length&&c){const k=c.indexOf(f);if(-1!==k){if(void 0===this.Rk[f])throw Error(`ContainerBuilder.define: Service ${f} references itself and is not an override definition!`);
258
+ olympe.sa.sQ=class{constructor(a,b){this.Rk=Object.create(null);this.parameters=Object.create(null);this.D=Object.create(null);this.O=[];Pa(this,a);Pa(this,b);this.W=[new olympe.sa.vo.YF,new olympe.sa.vo.ZF];this.R=[];a=this.getParameter(olympe.sa.pa.GS);this.T=void 0!==a?a:3;this.V=new olympe.sa.sJ(this.T)}Cb(){return this.V}C(a,b,c,d,e){const f=a instanceof olympe.sa.de?a.ja():a;if(3<=arguments.length&&c){const k=c.indexOf(f);if(-1!==k){if(void 0===this.Rk[f])throw Error(`ContainerBuilder.define: Service ${f} references itself and is not an override definition!`);
259
259
  var g=this.Rk[f];g.id=g.id+'!!'+ ++olympe.sa.WB.C;g.R=!0;g=g.id;c[k]=g;this.Rk[g]=this.Rk[f]}}this.Rk[f]=new olympe.sa.WB(b,c,d||!1,f);return this.Rk[f]}kg(a){const b=this.Rk[a];if(void 0===b)throw Error(`DI Error: Definition ${a} was not found`);return b}getParameter(a){a=a.toLowerCase();let b;return null!=(b=this.parameters[a])?b:this.D[a]}compile(){const a=this.R;this.V.debug('Calling '+a.length+' configure callbacks');this.V.C++;a.forEach(b=>{Ga(this.V,'Calling callback');this.V.C++;b(this);Ha(this.V)});
260
260
  Ha(this.V);this.V.debug('Configuration summary: '+Object.keys(this.Rk).length+' definitions');this.V.debug('Compiling...');this.V.C++;this.W.forEach((b,c)=>{this.V.debug('running compilation pass '+(c+1)+': '+b.constructor.name);b.process(this)});Ha(this.V);this.V.debug('Compilation done, returning container');return new olympe.sa.Xs(this.Rk,this.D,this.parameters,this.O,this.T)}};function Ca(a){let b,c;return null!=(c=null==(b=a.C)?void 0:b.values())?c:[]}
261
261
  olympe.sa.WB=class{constructor(a,b,c,d){this.T=a||null;this.W=!!c;this.D=(null!=b?b:[]).map(e=>'string'===typeof e?new olympe.sa.de(e):e);this.O=!1;this.C=null;this.id=null!=d?d:'';this.R=!1}ja(){return this.id}instantiate(a){const b=a.Cb();b.debug('Resolving arguments for '+this.id);const c=this.T;let d=Ka(a,this.D);const e=()=>{if(this.W)return c.apply(null,d);d.unshift(null);return new (c.bind.apply(c,d))};Ga(b,'Instantiating '+this.id);const f=olympe.j?olympe.j.Eo().run(()=>e()):e();let g;if(0<
262
- (null==(g=this.C)?void 0:g.size)){b.C++;Ga(b,'Calling configuration callbacks:');for(const k of this.C.values())b.C++,Ga(b,'Check if need to call additional configuration callback '+k.C),La(k,f)?(Ga(b,'Calling additional configuration callback '+k.C),d=Ka(a,k.Sw()),d.push(f),k.D.apply(null,d)):Ga(b,'Will not call additional configuration callback '+k.C+'predicate has returned false'),Ha(b);Ha(b)}Ga(b,'Done instantiating '+this.id);return f}Sw(){return this.D}dE(){return this.O}$e(a,b,c,d,e){null===
262
+ (null==(g=this.C)?void 0:g.size)){b.C++;Ga(b,'Calling configuration callbacks:');for(const k of this.C.values())b.C++,Ga(b,'Check if need to call additional configuration callback '+k.C),La(k,f)?(Ga(b,'Calling additional configuration callback '+k.C),d=Ka(a,k.Sw()),d.push(f),k.D.apply(null,d)):Ga(b,'Will not call additional configuration callback '+k.C+'predicate has returned false'),Ha(b);Ha(b)}Ga(b,'Done instantiating '+this.id);return f}Sw(){return this.D}eE(){return this.O}$e(a,b,c,d,e){null===
263
263
  this.C&&(this.C=new Map);var f=this.C,g=f.set;b=new olympe.sa.LB(c,e,b);b.O=d;g.call(f,a,b)}};olympe.sa.WB.C=0;olympe.sa.at=class extends olympe.sa.ty{constructor(a){super();this.id=a}ja(){return this.id}getValue(a){return new rxjs.Observable(b=>{b.next(a.getParameter(this.id));Oa(a,this.id,c=>b.next(c))})}};function Ha(a){0<a.C&&a.C--}function Ga(a,b){1>=a.D&&Ya(a,'log','DI: '+b)}function Ya(a,b,c){if(console&&console[b]){var d='';for(let e=0;e<a.C;e++)d+=' ';console[b](d+c)}}olympe.sa.sJ=class{constructor(a){this.D=a;this.C=0}debug(a){2>=this.D&&Ya(this,'log','DI: '+a)}info(a){3>=this.D&&Ya(this,'info','DI: '+a)}warn(a){4>=this.D&&Ya(this,'warn','DI: '+a)}error(a){5>=this.D&&Ya(this,'error','DI: '+a)}};olympe.sa.zb=class extends olympe.sa.ty{constructor(a){super();this.id=a}ja(){return this.id}getValue(a){return a.getParameter(this.id)}};olympe.sa.de=class extends olympe.sa.ty{constructor(a,b){super();this.id=a;this.C=b||olympe.sa.Xs.C.EQ}ja(){return this.id}getValue(a){return Na(a,this.id,this.C)}};olympe.sa.ba={rp:'di.Container',Z0:'di.PublicContainer'};olympe.sa.pa={GS:'logging.di'};olympe.sa.run([olympe.sa.ba.rp],a=>{olympe.sa.getParameter=b=>a.getParameter(b);olympe.sa.pB=(b,c)=>a.pB(b,c);olympe.Jj().getConfig=b=>a.getParameter(b);olympe.Jj().getConfigNames=()=>Object.keys(a.parameters);olympe.Jj().updateConfig=(b,c)=>a.pB(b,c)});olympe.oa={};olympe.oa.FH=class{constructor(a){this.id=a||olympe.oa.FH.C++}Rb(a){return a?this.id===a.id:!1}toJSON(){return this.id.toString()}toString(){return this.id.toString()}};olympe.oa.FH.C=0;function Za(a,b){return new olympe.oa.hz(1,0,0,1,a,b)}function $a(a,b){const c=new olympe.oa.hz;for(let d=0;3>d;d++)for(let e=0;3>e;e++){let f=0;for(let g=0;3>g;g++)f+=a.get(d,g)*b.get(g,e);c.set(d,e,f)}return c}function ab(a,b,c){void 0===b&&(b=0);void 0===c&&(c=0);const d=Math.cos(a),e=Math.sin(a),f=-Math.sin(a);a=Math.cos(a);if(0===b&&0===c)b=new olympe.oa.hz(d,e,f,a,0,0);else{const g=Za(-b,-c);b=$a($a(Za(b,c),new olympe.oa.hz(d,e,f,a,0,0)),g)}return b}
264
264
  function bb(a){return'matrix('+a.get(0,0)+','+a.get(0,1)+','+a.get(1,0)+','+a.get(1,1)+','+a.get(2,0)+','+a.get(2,1)+')'}olympe.oa.hz=class{constructor(a,b,c,d,e,f){this.C=[a||0,b||0,0,c||0,d||0,0,e||0,f||0,1]}set(a,b,c){this.C[3*a+b]=c}get(a,b){return this.C[3*a+b]}};olympe.oa.bo=function(a,b,c,d,e,f,g,k,l,m,n,p,r,t,u,v,w,x,y,A){this.values=[a,b,c,d,e,f,g,k,l,m,n,p,r,t,u,v,w,x,y,A]};olympe.oa.bo.D=function(a){return new olympe.oa.bo(.213+.787*a,.715-.715*a,.072-.072*a,0,0,.213-.213*a,.715+.285*a,.072-.072*a,0,0,.213-.213*a,.715-.715*a,.072+.928*a,0,0,0,0,0,1,0)};olympe.oa.bo.C=function(){return new olympe.oa.bo(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0)};olympe.oa.bo.prototype.set=function(a,b,c){this.values[5*a+b]=c};
265
265
  olympe.oa.bo.prototype.get=function(a,b){return this.values[5*a+b]};olympe.oa.bo.prototype.getStringValue=function(){return this.values.join(' ')};function cb(a){return(new TextEncoder).encode(a)}function db(a){return q(function*(){if(a instanceof ArrayBuffer)return new Uint8Array(a);if(a instanceof Uint8Array)return a;if('string'===typeof a)return cb(a);if(a instanceof Blob)return new Uint8Array(yield a.arrayBuffer());if(a instanceof olympe.oa.stream.lo){const b=[];for(const c=ia(a);;){const d=yield c.next();if(d.done)break;b.push(...d.value)}return new Uint8Array(b)}throw Error('Unsupported value type for binary conversion.');})}
266
266
  function eb(a,b){return a.C(cb(b))}function fb(a){return(new TextDecoder('utf8')).decode(a)}function gb(a){const b=new olympe.oa.stream.lo;for(let c=0;c<a.length;c+=65536){const d=c+65536;b.write(a.subarray(c,d>a.length?a.length:d))}b.complete();return b}olympe.oa.EB=class{D(){}C(){}O(){}};olympe.oa.tM=a=>a.replace('+','-').replace('/','_');olympe.oa.vV=a=>a.replace('-','+').replace('_','/');function hb(a){a.C=setTimeout(()=>{const b=Date.now(),c=a.timeout;for(const [d,e]of a.values)b-e>c&&(a.delete(d),a.D&&a.D(d));if(0<a.values.size)hb(a);else{let d;null==(d=a.O)||d.call(a)}},a.R)}function ib(a,b){return a.values.has(b)?(a.values.set(b,Date.now()),!0):!1}function jb(a,b){a.D=b;return a}
267
- olympe.oa.nD=class{constructor(a,b=a/2){this.timeout=a;this.R=b;this.values=new Map;this.O=this.D=this.C=null}add(a){this.values.set(a,Date.now());null===this.C&&hb(this)}has(a){return this.values.has(a)}Qc(){return this.values.size}forEach(a){this.values.forEach((b,c)=>a(c))}delete(a){a=this.values.delete(a);if(0===this.values.size){this.C&&clearTimeout(this.C);this.C=null;let b;null==(b=this.O)||b.call(this)}return a}clear(){this.C&&clearTimeout(this.C);this.C=null;this.values.clear();return this}};function kb(a,b){a.D=b;return a}function lb(a,b){a.C.O=b}
268
- olympe.oa.Nt=class{constructor(a){this.C=jb(new olympe.oa.nD(a,void 0),b=>{const c=this.values.get(b);this.values.delete(b);let d;null==(d=this.D)||d.call(this,b,c)});this.values=new Map;this.D=null}set(a,b){this.values.set(a,b);this.C.add(a);return this}has(a){return this.values.has(a)}get(a){return this.values.get(a)}Qc(){return this.values.size}forEach(a){this.values.forEach((b,c)=>a(b,c))}delete(a){this.values.delete(a);return this.C.delete(a)}clear(){this.C.clear();this.values.clear();return this}};function mb(a,b){a.T.push(b)}function nb(a,b){a.W.push(b)}function ob(a,b){let c;'object'!==typeof b&&'function'!==typeof b?c=b:b instanceof olympe.dc.CloudObject?c=b.toJSON():Array.isArray(b)?c=b.map(d=>ob(a,d)):c='N/A';return c}function pb(a,b,c,d){b={cat:b,epoch:null!=d?d:performance.now()-a.D};let e;for(const [f,g]of null!=(e=c)?e:[])b[f]=ob(a,g);a.X.push(b)}
267
+ olympe.oa.oD=class{constructor(a,b=a/2){this.timeout=a;this.R=b;this.values=new Map;this.O=this.D=this.C=null}add(a){this.values.set(a,Date.now());null===this.C&&hb(this)}has(a){return this.values.has(a)}Qc(){return this.values.size}forEach(a){this.values.forEach((b,c)=>a(c))}delete(a){a=this.values.delete(a);if(0===this.values.size){this.C&&clearTimeout(this.C);this.C=null;let b;null==(b=this.O)||b.call(this)}return a}clear(){this.C&&clearTimeout(this.C);this.C=null;this.values.clear();return this}};function kb(a,b){a.D=b;return a}function lb(a,b){a.C.O=b}
268
+ olympe.oa.Nt=class{constructor(a){this.C=jb(new olympe.oa.oD(a,void 0),b=>{const c=this.values.get(b);this.values.delete(b);let d;null==(d=this.D)||d.call(this,b,c)});this.values=new Map;this.D=null}set(a,b){this.values.set(a,b);this.C.add(a);return this}has(a){return this.values.has(a)}get(a){return this.values.get(a)}Qc(){return this.values.size}forEach(a){this.values.forEach((b,c)=>a(b,c))}delete(a){this.values.delete(a);return this.C.delete(a)}clear(){this.C.clear();this.values.clear();return this}};function mb(a,b){a.T.push(b)}function nb(a,b){a.W.push(b)}function ob(a,b){let c;'object'!==typeof b&&'function'!==typeof b?c=b:b instanceof olympe.dc.CloudObject?c=b.toJSON():Array.isArray(b)?c=b.map(d=>ob(a,d)):c='N/A';return c}function pb(a,b,c,d){b={cat:b,epoch:null!=d?d:performance.now()-a.D};let e;for(const [f,g]of null!=(e=c)?e:[])b[f]=ob(a,g);a.X.push(b)}
269
269
  olympe.oa.DT=class{constructor(){this.X=[];this.T=[];this.W=[];this.R=new Map;this.O=new Map;this.C=!1;this.D=null}start(){this.C||(this.D||(this.D=performance.now()),this.C=!0,this.T.forEach(a=>a()))}stop(){this.C&&(this.W.forEach(a=>a()),this.C=!1)}};function qb(a,b,c=5E3){return rxjs.operators.retry({resetOnSuccess:!0,delay:(d,e)=>{if(d instanceof a){const f=Math.round(Math.random()*(e+1)*c);return rxjs.timer(f).pipe(rxjs.operators.tap(()=>null==b?void 0:b(d,f)))}return rxjs.throwError(()=>d)}})}olympe.oa.operators={y3(a,b=0){return c=>c.pipe(rxjs.operators.map((d,e)=>{e===b&&a(d);return d}))}};olympe.oa.Promise={};olympe.oa.Promise.dA=function(a,b){let c=null;return(...d)=>new Promise((e,f)=>{clearTimeout(c);c=setTimeout(()=>q(function*(){try{const g=yield a(...d);e(g)}catch(g){f(g)}}),b)})};olympe.oa.Promise.FP=function(a){new Promise((b,c)=>{const d=setTimeout(()=>{c(Error('Promise timeout'))},void 0);a.then(e=>{clearTimeout(d);b(e)}).catch(e=>{clearTimeout(d);c(e)})})};olympe.oa.promise={};function rb(a){if(0===a.size())a.O.next(!1);else if(a.R()){a.D++;var b=sb(a);b&&b.O.call(a).then(c=>{b.D(c)}).catch(c=>{b.C(c)}).finally(()=>{a.D--;a.T(b);rb(a)})}}function sb(a){a.O.next(!0);let b;return null!=(b=a.$b.shift())?b:null}
270
270
  olympe.oa.promise.mw=class{constructor(){this.$b=[];this.O=new rxjs.BehaviorSubject(!1);this.D=0}C(a){return new Promise((b,c)=>{this.$b.push(new olympe.oa.promise.jL(b,c,a));rb(this)})}R(){return 0===this.D}clear(){for(;0<this.$b.length;)this.$b.shift().C(Error('Canceled by a clearStack'));rb(this)}size(){return this.$b.length}T(){0===this.size()&&this.O.next(!1)}};olympe.oa.promise.jL=class{constructor(a,b,c){this.D=a;this.C=b;this.O=c}};olympe.oa.promise.kL=class extends olympe.oa.promise.mw{constructor(a){super();if('number'!==typeof a||0>=a)throw Error('StackWindow with an invalid concurrentLimit. It must be a number > 0 for the stack to work properly');this.bn=a}R(){return this.D<this.bn}};olympe.oa.promise.u2=class{constructor(a,...b){this.O=a;this.parameters=b;this.C=this.D=null;this.promise=new Promise((c,d)=>{this.D=c;this.C=d});this.start()}then(a){return this.promise.then(a)}catch(a){return this.promise.catch(a)}finally(a){return this.promise.finally(a)}start(){'undefined'!==typeof Worker?setTimeout(()=>{const a=URL.createObjectURL(new Blob([`
271
271
  function onFullfilledCallback(data) {
@@ -302,13 +302,13 @@ olympe.oa.SX=a=>{var b=['oConfig.json','conf.d/oConfig.json','version.json'];ret
302
302
  b[e]?'version.':'');return c},Object.create(null))})};olympe.oa.EV=a=>{const b=/^true|false$/i,c=/^\d+(\.\d+)?$/;void 0===a?a=!0:a.startsWith('"')&&a.endsWith('"')?a=a.substring(1,a.length-1):b.test(a)?a='true'===a.toLowerCase():c.test(a)&&(a=parseFloat(a));return a};olympe.oa.GO=(a,b,c)=>{if(b instanceof Object)for(const d of Object.keys(b)){const e=c+d,f=b[d];f instanceof Object&&void 0!==a[e]?olympe.oa.GO(a[e],f,''):a[e]=f}};olympe.oa.D2=class a{constructor(b,c){this.x=b;this.y=c}add(b){return new a(this.x+b.x,this.y+b.y)}rotate(b,c){c=c*Math.PI/180;const d=Math.cos(c);c=Math.sin(c);return new a(d*(this.x-b.x)-c*(this.y-b.y)+b.x,c*(this.x-b.x)+d*(this.y-b.y)+b.y)}clone(){return new a(this.x,this.y)}tA(){return Math.sqrt(this.x*this.x+this.y*this.y)}toString(){return`Vector(${this.x}, ${this.y})`}};olympe.oa.MS=class{constructor(a,b){this.start=a;this.end=b}};olympe.oa.MS.C={Tf:'left',wi:'right',zh:'bottom',gh:'top'};function Gb(a){return`${a.C}.${a.D}.${a.O}`}
303
303
  olympe.oa.so=class{constructor(a,b,c,d){this.C=a;this.D=b;this.O=c;this.R=d||null}static parse(a){a=/([0-9]*)\.([0-9]*)\.([0-9]*)-?([A-z\-_0-9]*)/.exec(a);if(null===a||4>a.length)return olympe.oa.so.C;const b=Number.parseInt(a[1],10),c=Number.parseInt(a[2],10),d=Number.parseInt(a[3],10);return isNaN(b)||isNaN(c)||isNaN(d)?olympe.oa.so.C:new olympe.oa.so(b,c,d,a[4])}HA(a){return this.C!==a.C?this.C>a.C:this.D!==a.D?this.D>a.D:this.O>a.O}ey(a){return this.C!==a.C?this.C<a.C:this.D!==a.D?this.D<a.D:
304
304
  this.O<a.O}Rb(a){return this.C===a.C&&this.D===a.D&&this.O===a.O}toString(){return`${this.C}.${this.D}.${this.O}`+(null!==this.R?`-${this.R}`:'')}};olympe.oa.so.C=new olympe.oa.so(Number.NaN,Number.NaN,Number.NaN);olympe.oa.ba={Uq:'utils.binaryConverter',TP:'utils.base64Converter',ho:'utils.Profiler'};olympe.sa.$e(a=>{Wa(a,olympe.oa.ba.Uq);Ua(a,olympe.oa.ba.TP,olympe.oa.ba.Uq,!0);B(a,olympe.oa.ba.ho,olympe.oa.DT)},'Utils services');olympe.sa.run([olympe.oa.ba.Uq,olympe.oa.ba.ho],(a,b)=>{olympe.oa.Dj=()=>a;olympe.Jj().isProfilerEnabled=()=>b.C;olympe.Jj().startProfiler=()=>b.start();olympe.Jj().stopProfiler=()=>b.stop();olympe.Jj().getProfilerEvents=()=>({events:b.X,names:Object.fromEntries(b.R.entries()),models:Object.fromEntries(b.O.entries())})});olympe.G.H.oa={};olympe.G.H.oa.EB=class extends olympe.oa.EB{D(a){a=window.atob(a);const b=new Uint8Array(new ArrayBuffer(a.length));for(let c=0,d=a.length;c<d;c++)b[c]=a.charCodeAt(c);return b}C(a){let b='';a=a instanceof Uint8Array?a:new Uint8Array(a);for(let c=0,d=a.byteLength;c<d;c++)b+=String.fromCodePoint(a[c]);return window.btoa(b)}O(a){return q(function*(){return yield(yield fetch(a)).blob()})}};olympe.sa.$e(a=>{Ta(a,olympe.oa.ba.Uq,olympe.G.H.oa.EB)},'olympe.native.html.utils');olympe.gb={};olympe.gb.Ge=class{bb(){}R(){}O(){}C(){}ma(){}T(){}za(){}ca(){}da(){}trace(){}debug(){}log(){}info(){}warn(){}error(){}fatal(){}};olympe.gb.Ge.prototype.fatal=olympe.gb.Ge.prototype.fatal;olympe.gb.Ge.prototype.error=olympe.gb.Ge.prototype.error;olympe.gb.Ge.prototype.warn=olympe.gb.Ge.prototype.warn;olympe.gb.Ge.prototype.info=olympe.gb.Ge.prototype.info;olympe.gb.Ge.prototype.log=olympe.gb.Ge.prototype.log;olympe.gb.Ge.prototype.debug=olympe.gb.Ge.prototype.debug;olympe.gb.Ge.prototype.trace=olympe.gb.Ge.prototype.trace;
305
- olympe.gb.Ge.C={BU:0,tp:1,FS:2,oC:3,VU:4,we:5,KQ:6,B0:7};olympe.gb.Ge.D={0:'TRACE',1:'DEBUG',2:'LOG',3:'INFO',4:'WARN',5:'ERROR',6:'FATAL',7:'NOTHING'};olympe.gb.Cc=class{Vg(){}};olympe.gb.Zh={};function Hb(a,b,c){a.Pa[b](`[OLYMPE.${a.$}]:`,...c);if(0<a.W.size){var d=new Date;d=('00'+d.getHours()).substring(-2)+':'+('00'+d.getMinutes()).substring(-2)+':'+('00'+d.getSeconds()).substring(-2)+'.'+('00'+d.getMilliseconds()).substring(-3);for(const e of a.W.values())e(d,a.$,b,...c)}}
306
- olympe.gb.Zh.Ge=class{constructor(a,b){this.name=a;const c=b instanceof rxjs.Observable;this.D=c?olympe.gb.Ge.C.oC:b;c&&b.subscribe(d=>{this.D=d});this.$=a.toUpperCase();this.W=new Map;this.Pa=console}bb(){return this.name}R(){return this.D}O(){return this.D<=olympe.gb.Ge.C.BU}C(){return this.D<=olympe.gb.Ge.C.tp}T(){return this.D<=olympe.gb.Ge.C.FS}ma(){return this.D<=olympe.gb.Ge.C.oC}za(){return this.D<=olympe.gb.Ge.C.VU}ca(){return this.D<=olympe.gb.Ge.C.we}da(){return this.D<=olympe.gb.Ge.C.KQ}trace(...a){this.O()&&
305
+ olympe.gb.Ge.C={BU:0,tp:1,FS:2,pC:3,VU:4,we:5,KQ:6,B0:7};olympe.gb.Ge.D={0:'TRACE',1:'DEBUG',2:'LOG',3:'INFO',4:'WARN',5:'ERROR',6:'FATAL',7:'NOTHING'};olympe.gb.Cc=class{Vg(){}};olympe.gb.Zh={};function Hb(a,b,c){a.Pa[b](`[OLYMPE.${a.$}]:`,...c);if(0<a.W.size){var d=new Date;d=('00'+d.getHours()).substring(-2)+':'+('00'+d.getMinutes()).substring(-2)+':'+('00'+d.getSeconds()).substring(-2)+'.'+('00'+d.getMilliseconds()).substring(-3);for(const e of a.W.values())e(d,a.$,b,...c)}}
306
+ olympe.gb.Zh.Ge=class{constructor(a,b){this.name=a;const c=b instanceof rxjs.Observable;this.D=c?olympe.gb.Ge.C.pC:b;c&&b.subscribe(d=>{this.D=d});this.$=a.toUpperCase();this.W=new Map;this.Pa=console}bb(){return this.name}R(){return this.D}O(){return this.D<=olympe.gb.Ge.C.BU}C(){return this.D<=olympe.gb.Ge.C.tp}T(){return this.D<=olympe.gb.Ge.C.FS}ma(){return this.D<=olympe.gb.Ge.C.pC}za(){return this.D<=olympe.gb.Ge.C.VU}ca(){return this.D<=olympe.gb.Ge.C.we}da(){return this.D<=olympe.gb.Ge.C.KQ}trace(...a){this.O()&&
307
307
  Hb(this,'trace',a)}debug(...a){this.C()&&Hb(this,'debug',a)}log(...a){this.T()&&Hb(this,'log',a)}info(...a){this.ma()&&Hb(this,'info',a)}warn(...a){this.za()&&Hb(this,'warn',a)}error(...a){this.ca()&&Hb(this,'error',a)}fatal(...a){this.da()&&Hb(this,'error',a)}};olympe.gb.Zh.Ge.Aa=[olympe.gb.Ge];olympe.gb.Zh.Cc=class{constructor(a,b,c){this.C=a;this.D=parseInt(b,10);this.O=c;this.channels=new Map;this.V=this.Vg('logging');this.V.log('Logging initialized, global log level is '+olympe.gb.Ge.D[b])}Vg(a){var b=this.channels.get(a);if(!b){b=`${olympe.gb.pa.dQ}.${a}`;var c;const d=new rxjs.BehaviorSubject(null!=(c=this.C.getParameter(b))?c:this.D);Oa(this.C,b,e=>{d.next(e)});c=this.O;b=`${b}.${olympe.gb.pa.eU}`;Object.prototype.hasOwnProperty.call(this.C.parameters,b.toLowerCase())&&(c=!0===this.C.getParameter(b));
308
- b=new olympe.gb.Zh.Ge(a,d.asObservable(),c);this.channels.set(a,b)}return b}};olympe.gb.Zh.Cc.Aa=[olympe.gb.Cc];olympe.gb.ba={Ob:'logging.Manager'};olympe.gb.pa={ZG:'logging',$G:'logging.showLogLevel',dQ:'logging',eU:'showLogLevel'};olympe.sa.$e(function(a){E(a,olympe.gb.pa.ZG,olympe.gb.Ge.C.oC);E(a,olympe.gb.pa.$G,!0);Ta(a,olympe.gb.ba.Ob,olympe.gb.Zh.Cc,olympe.sa.ba.rp,new olympe.sa.zb(olympe.gb.pa.ZG),new olympe.sa.zb(olympe.gb.pa.$G))},'olympe.logging');olympe.sa.run([olympe.gb.ba.Ob],a=>{olympe.gb.Cb=b=>a.Vg(b)},'Logging singleton getter initialization');olympe.j={};olympe.j.pa={KJ:'df.nodeCreationThreshold'};const Ib=[];function Jb(){}function Kb(){}olympe.j.J=class a{constructor(b,c,d){this.C=void 0===b?Jb:b;this.D=void 0===c?Ib:c;this.$=d}static C(b){return void 0===b||0===b.length?olympe.j.J.ca:new a(Kb,b)}R(){return this.C?this.C():void 0}O(){return this.D?this.D:Ib}T(){return null===this.C&&null===this.D}W(){return this.C===Kb}};olympe.j.J.$=new olympe.j.J;olympe.j.J.O=new olympe.j.J(null,null);olympe.j.J.ca=new olympe.j.J(Kb);olympe.j.J.D=new olympe.j.J(()=>olympe.j.aa);
309
- olympe.j.J.R=new olympe.j.J(()=>olympe.j.kb);olympe.j.J.T=new olympe.j.J(()=>olympe.j.ia);olympe.j.J.W=new olympe.j.J(()=>olympe.j.ga);olympe.j.et=class{ja(){return''}PD(){return''}destroy(){}lc(){return!1}$f(){return!1}run(a,...b){return a(...b)}re(a){return a}getParent(){return null}Ef(){}nk(){}detach(){}cA(){}xo(){}onDestroy(){return''}Lo(){}Ve(){return''}IO(){}};olympe.j.et.prototype.offDestroy=olympe.j.et.prototype.Lo;olympe.j.et.prototype.onDestroy=olympe.j.et.prototype.onDestroy;let Lb=0;olympe.sa.run([new olympe.sa.zb(olympe.j.pa.KJ)],()=>{});
310
- olympe.j.ee=class{constructor(a='SimpleContext',b){++Lb;this.children=new Map;this.ca=new Map;this.$=new Map;this.za=0;this.name=a;this.id=String(Lb);this.O=this.da=!1;(this.parent=void 0===b?olympe.j.yb():b)&&this.parent.nk(this);this.debug=!1}ja(){return this.id}PD(){return this.name}run(a,...b){if(!this.da){var c=olympe.j.ZO(this);a=a(...b);c&&olympe.j.ZO(c);return a}}re(a){return(...b)=>this.run(a,...b)}destroy(){if(!this.da&&!this.O){this.O=!0;this.xo();for(const a of this.ca.keys())this.ca.has(a)&&
311
- this.ca.get(a)();this.ca.clear();this.$.clear();this.parent&&(this.parent.detach(this,!1),this.parent=null);this.da=!0;this.O=!1;this.xo()}}lc(){return this.da}$f(){return this.O}nk(a){if(!this.da){var b;olympe.j.Zb(a)?b=a.Tb:olympe.j.gE(a)&&(b=a);b&&this.children.set(b.ja(),b)}}detach(a,b=!0){let c;olympe.j.Zb(a)?c=a.Tb:olympe.j.gE(a)&&(c=a);c&&this.children.has(c.ja())&&(b&&c.cA(this),this.children.delete(c.ja()))}cA(){this.parent=null;this.destroy()}xo(){const a=this.children;for(const b of a.keys())a.has(b)&&
308
+ b=new olympe.gb.Zh.Ge(a,d.asObservable(),c);this.channels.set(a,b)}return b}};olympe.gb.Zh.Cc.Aa=[olympe.gb.Cc];olympe.gb.ba={Ob:'logging.Manager'};olympe.gb.pa={ZG:'logging',$G:'logging.showLogLevel',dQ:'logging',eU:'showLogLevel'};olympe.sa.$e(function(a){E(a,olympe.gb.pa.ZG,olympe.gb.Ge.C.pC);E(a,olympe.gb.pa.$G,!0);Ta(a,olympe.gb.ba.Ob,olympe.gb.Zh.Cc,olympe.sa.ba.rp,new olympe.sa.zb(olympe.gb.pa.ZG),new olympe.sa.zb(olympe.gb.pa.$G))},'olympe.logging');olympe.sa.run([olympe.gb.ba.Ob],a=>{olympe.gb.Cb=b=>a.Vg(b)},'Logging singleton getter initialization');olympe.j={};olympe.j.pa={KJ:'df.nodeCreationThreshold'};const Ib=[];function Jb(){}function Kb(){}olympe.j.J=class a{constructor(b,c,d){this.C=void 0===b?Jb:b;this.D=void 0===c?Ib:c;this.$=d}static C(b){return void 0===b||0===b.length?olympe.j.J.ca:new a(Kb,b)}R(){return this.C?this.C():void 0}O(){return this.D?this.D:Ib}T(){return null===this.C&&null===this.D}W(){return this.C===Kb}};olympe.j.J.$=new olympe.j.J;olympe.j.J.O=new olympe.j.J(null,null);olympe.j.J.ca=new olympe.j.J(Kb);olympe.j.J.D=new olympe.j.J(()=>olympe.j.aa);
309
+ olympe.j.J.R=new olympe.j.J(()=>olympe.j.kb);olympe.j.J.T=new olympe.j.J(()=>olympe.j.ia);olympe.j.J.W=new olympe.j.J(()=>olympe.j.ga);olympe.j.et=class{ja(){return''}QD(){return''}destroy(){}lc(){return!1}$f(){return!1}run(a,...b){return a(...b)}re(a){return a}getParent(){return null}Ef(){}nk(){}detach(){}cA(){}xo(){}onDestroy(){return''}Lo(){}Ve(){return''}IO(){}};olympe.j.et.prototype.offDestroy=olympe.j.et.prototype.Lo;olympe.j.et.prototype.onDestroy=olympe.j.et.prototype.onDestroy;let Lb=0;olympe.sa.run([new olympe.sa.zb(olympe.j.pa.KJ)],()=>{});
310
+ olympe.j.ee=class{constructor(a='SimpleContext',b){++Lb;this.children=new Map;this.ca=new Map;this.$=new Map;this.za=0;this.name=a;this.id=String(Lb);this.O=this.da=!1;(this.parent=void 0===b?olympe.j.yb():b)&&this.parent.nk(this);this.debug=!1}ja(){return this.id}QD(){return this.name}run(a,...b){if(!this.da){var c=olympe.j.ZO(this);a=a(...b);c&&olympe.j.ZO(c);return a}}re(a){return(...b)=>this.run(a,...b)}destroy(){if(!this.da&&!this.O){this.O=!0;this.xo();for(const a of this.ca.keys())this.ca.has(a)&&
311
+ this.ca.get(a)();this.ca.clear();this.$.clear();this.parent&&(this.parent.detach(this,!1),this.parent=null);this.da=!0;this.O=!1;this.xo()}}lc(){return this.da}$f(){return this.O}nk(a){if(!this.da){var b;olympe.j.Zb(a)?b=a.Tb:olympe.j.hE(a)&&(b=a);b&&this.children.set(b.ja(),b)}}detach(a,b=!0){let c;olympe.j.Zb(a)?c=a.Tb:olympe.j.hE(a)&&(c=a);c&&this.children.has(c.ja())&&(b&&c.cA(this),this.children.delete(c.ja()))}cA(){this.parent=null;this.destroy()}xo(){const a=this.children;for(const b of a.keys())a.has(b)&&
312
312
  a.get(b).cA(this);this.children.clear();for(const b of this.$.keys())this.$.has(b)&&this.$.get(b)();this.$.clear()}onDestroy(a,b){void 0===b&&(++this.za,b=String(this.za));this.ca.set(b,a);return b}Lo(a){this.ca.delete(a)}Ve(a){if(void 0===b){++this.za;var b=String(this.za)}this.$.set(b,a);return b}IO(a){this.$.delete(a)}Ef(a){this.parent&&this.parent.detach(this,!1);(this.parent=a||null)&&this.parent.nk(this)}getParent(){return this.parent}};
313
313
  olympe.j.EK=class extends olympe.j.ee{constructor(){super('Root',null)}destroy(){}onDestroy(){return''}Lo(){}};olympe.j.et.Aa=[olympe.j.et];let Mb=0;
314
314
  function Ob(a,b){a.T||(a.T=new Map);a.T.set(b.ja(),b);switch(b.jh()){case olympe.j.Node.C.yt:break;case olympe.j.Node.C.Qt:break;case olympe.j.Node.C.kz:case olympe.j.Node.C.up:olympe.j.V.warn('Not bad as such but should not happen!');break;case olympe.j.Node.C.ft:Pb(a,olympe.j.Node.C.ft);break;case olympe.j.Node.C.OBSOLETE:a.Ha=!0;a.C!==olympe.j.Node.C.ft&&Pb(a,olympe.j.Node.C.OBSOLETE);break;case olympe.j.Node.C.tj:olympe.j.V.warn('Adding a destroyed node as upstream => should never happen!');break;
@@ -322,44 +322,44 @@ c instanceof Object?d=!0:b.toLowerCase()!==e.toLowerCase()&&a.valueType!==Object
322
322
  function dc(a,b){if(a.C!==olympe.j.Node.C.up&&a.C!==olympe.j.Node.C.tj&&(a.C!==olympe.j.Node.C.yt||a.Jh)){var c=void 0!==a.defaultValue;a.Jh&&b!==a.D&&a.xo();if(c)Ub(a,a.defaultValue,!0);else if(a.pg=void 0,Pb(a,olympe.j.Node.C.yt),b=a.R)for(const d of b.values())dc(d,a)}}function Vb(a){if(a.C!==olympe.j.Node.C.ft){Pb(a,olympe.j.Node.C.ft);var b=a.R;if(b)for(const c of b.values())Vb(c);a.xo();void 0!==a.D&&Yb(a);a.pg=a.defaultValue}}function Sb(a){return a.C===olympe.j.Node.C.Qt}
323
323
  function Tb(a,b){b===a?olympe.j.V.error('Setting a node as provider of itself. Ignoring'):(a.D&&a.D!==b&&Yb(a),Qb(b,a),Sb(b)?Ub(a,b.pg,!0):void 0!==a.defaultValue?Ub(a,a.defaultValue,!0):dc(a),a.D=b)}function ec(a,b){a.Jh&&(a.Jh=void 0);a.Bd='Repeater';Tb(a,b)}function ac(a){a.D?$b(a):null!==a.T&&0===Array.from(a.T.values()).filter(b=>!Sb(b)).length&&(a.Ha&&(a.Ha=!1,Rb(a)),$b(a))}
324
324
  function Qb(a,b){a.R||(a.R=new Map);a.R.set(b.ja(),b);a.C===olympe.j.Node.C.tj&&olympe.j.V.warn('adding a downstream node on a deleted one (#'+a.ja()+') !')}function Zb(a,b){a.R&&(b=b.ja(),a.R.has(b)&&(a.R.delete(b),fc(a)))}function fc(a){if(null===a.getParent()){var b=a.R;b&&0<b.size||a.destroy()}}
325
- olympe.j.Node=class extends olympe.j.ee{constructor({valueType:a,Jh:b,uY:c=!0,Zo:d,cE:e,debug:f=!1,Xp:g=null,Bd:k='Node',Dw:l}={}){++Mb;super(String(Mb));this.debug=!!f;this.Bd=k;k&&'string'===typeof k||(b?this.Bd=b.name?b.name:'anon()':this.Bd='Node');this.W=e&&0<e.length?e:null;this.Xp=g&&0<g.length?g:null;this.valueType=a;this.pg=void 0;this.ma=!1;this.C=olympe.j.Node.C.yt;this.Ha=!1;this.R=this.T=null;this.Jh=b;this.Zo=d||null;this.defaultValue=this.Pa=this.D=void 0;this.Dw=l;d&&d instanceof olympe.j.Node&&
325
+ olympe.j.Node=class extends olympe.j.ee{constructor({valueType:a,Jh:b,uY:c=!0,Zo:d,dE:e,debug:f=!1,Xp:g=null,Bd:k='Node',Dw:l}={}){++Mb;super(String(Mb));this.debug=!!f;this.Bd=k;k&&'string'===typeof k||(b?this.Bd=b.name?b.name:'anon()':this.Bd='Node');this.W=e&&0<e.length?e:null;this.Xp=g&&0<g.length?g:null;this.valueType=a;this.pg=void 0;this.ma=!1;this.C=olympe.j.Node.C.yt;this.Ha=!1;this.R=this.T=null;this.Jh=b;this.Zo=d||null;this.defaultValue=this.Pa=this.D=void 0;this.Dw=l;d&&d instanceof olympe.j.Node&&
326
326
  Ob(this,d);if(g)for(b=0;b<g.length;b++)a=e[g[b]],Ob(this,a);c&&Rb(this)}kj(a){this.defaultValue=a;this.C===olympe.j.Node.C.yt&&Ub(this,a,!0);return this}Gw(a){this.valueType=a}Ee(){return this.valueType||Object}asObservable(a=olympe.j.yb()){return new rxjs.Observable(b=>{const c=a.run(()=>olympe.j.createNode(this.valueType,b.next.bind(b),null,[this],[0],`Observable of ${this.Bd}`));c.onDestroy(()=>b.complete());return()=>c.destroy()})}jh(){return this.C}lc(){return this.C===olympe.j.Node.C.tj}$f(){return this.C===
327
327
  olympe.j.Node.C.up}Ka(...a){if(this.Dw instanceof Function)return this.Dw(...a);var b=a.length;--b;const c=a[b];--b;const d=a[b],e=Array(b);for(var f=0;f<b;f++)e[f]=a[f];a=this.jh();a!==olympe.j.Node.C.up&&a!==olympe.j.Node.C.tj||olympe.j.V.warn('Calling a function on a destroyed node!!!',this);a=d.O();b=[];if(1===a.length&&-1===a[0])for(var g of e)olympe.j.Zb(g)&&b.push(g.Tb);else for(let k=0,l=a.length;k<l;k++)g=a[k],f=e[g],void 0!==f&&null!==f&&f.Gh&&(e[g]=f.Tb,b.push(g));return Wb(new olympe.j.Node({valueType:d.R(),
328
- Jh:c,Zo:this,cE:e,debug:!1,Xp:b,Bd:'Proxy.'+c+'()'}))}cA(a){if(null===this.getParent())olympe.j.V.warn('context is undefined, investigate');else if(this.getParent()!==a){olympe.j.V.warn('Investigate a potential issue in creator-createe link: create node mismatch',a,this.getParent());return}this.Ef(null);fc(this)}destroy(){var a=this.C;if(a!==olympe.j.Node.C.up&&a!==olympe.j.Node.C.tj){Pb(this,olympe.j.Node.C.up);if(a=this.R){for(const c of a.values())if(a.has(c.ja())){var b=c;b.T&&b.T.delete(this.ja());
329
- b.D&&b.D.ja()===this.ja()?b.D=void 0:b.destroy()}a.clear()}this.R=null;super.destroy();if(this.T){for(const c of this.T.values())this.T.has(c.ja())&&Zb(c,this);this.T.clear()}this.T=null;this.D&&(Zb(this.D,this),this.D=void 0);this.pg=void 0;this.W&&(this.W.length=0,this.W=null);this.Xp&&(this.Xp.length=0,this.Xp=null);this.Dw=this.Jh=void 0;this.defaultValue=this.Zo=null;this.Bd=`** Destroyed ** ${this.Bd}`;Pb(this,olympe.j.Node.C.tj)}}PD(){return this.Bd}};olympe.j.Node.D='rootNode';
330
- olympe.j.Node.C={yt:0,Qt:1,ft:3,kz:4,OBSOLETE:5,up:6,tj:7};function Xb(a,b){if('function'!==typeof a)return new olympe.j.Proxy(a,b);var c=olympe.j.Proxy.prototype;void 0===a.prototype&&olympe.j.V.error('investigate');c=Object.create(gc(c,a.prototype));c.Vt=a;c.jM=b;return c}function F(a){return a.Tb.pg}function gc(a,b){Object.prototype.hasOwnProperty.call(b,olympe.j.Proxy.TC)||Object.defineProperty(b,olympe.j.Proxy.TC,{enumerable:!1,configurable:!1,writable:!1,value:hc(a,b)});return b[olympe.j.Proxy.TC]}
328
+ Jh:c,Zo:this,dE:e,debug:!1,Xp:b,Bd:'Proxy.'+c+'()'}))}cA(a){if(null===this.getParent())olympe.j.V.warn('context is undefined, investigate');else if(this.getParent()!==a){olympe.j.V.warn('Investigate a potential issue in creator-createe link: create node mismatch',a,this.getParent());return}this.Ef(null);fc(this)}destroy(){var a=this.C;if(a!==olympe.j.Node.C.up&&a!==olympe.j.Node.C.tj){Pb(this,olympe.j.Node.C.up);if(a=this.R){for(const c of a.values())if(a.has(c.ja())){var b=c;b.T&&b.T.delete(this.ja());
329
+ b.D&&b.D.ja()===this.ja()?b.D=void 0:b.destroy()}a.clear()}this.R=null;super.destroy();if(this.T){for(const c of this.T.values())this.T.has(c.ja())&&Zb(c,this);this.T.clear()}this.T=null;this.D&&(Zb(this.D,this),this.D=void 0);this.pg=void 0;this.W&&(this.W.length=0,this.W=null);this.Xp&&(this.Xp.length=0,this.Xp=null);this.Dw=this.Jh=void 0;this.defaultValue=this.Zo=null;this.Bd=`** Destroyed ** ${this.Bd}`;Pb(this,olympe.j.Node.C.tj)}}QD(){return this.Bd}};olympe.j.Node.D='rootNode';
330
+ olympe.j.Node.C={yt:0,Qt:1,ft:3,kz:4,OBSOLETE:5,up:6,tj:7};function Xb(a,b){if('function'!==typeof a)return new olympe.j.Proxy(a,b);var c=olympe.j.Proxy.prototype;void 0===a.prototype&&olympe.j.V.error('investigate');c=Object.create(gc(c,a.prototype));c.Vt=a;c.jM=b;return c}function F(a){return a.Tb.pg}function gc(a,b){Object.prototype.hasOwnProperty.call(b,olympe.j.Proxy.UC)||Object.defineProperty(b,olympe.j.Proxy.UC,{enumerable:!1,configurable:!1,writable:!1,value:hc(a,b)});return b[olympe.j.Proxy.UC]}
331
331
  function ic(a,b){if(a.Vt===b)return a;a.Vt=b;b.prototype||olympe.j.V.error('Cast not possible, provided type is not a valid type!');const c=gc(a,b.prototype);Object.setPrototypeOf?Object.setPrototypeOf(a,c):a.__proto__=c;a.Tb&&a.Tb.Gw(b);return a}function jc(a,b,c,d){return Wb(olympe.j.createNode(d,b,c,[a.Tb],[0],'onResolved('+(b.name||'')+')'))}
332
332
  function hc(a,b){let c={};if(b.prototype)olympe.j.V.error('first level of prototyping, investigate');else if(b.__proto__)c=Object.create(gc(a,b.__proto__));else return olympe.j.Proxy.prototype;Object.getOwnPropertyNames(b).forEach(d=>{if('function'===typeof b[d]&&'__getReplacementFunction'!==d){var e=b[d].K;null===e||e&&e.T()?c[d]=function(...f){var g=this.Tb;if(g&&Sb(g)&&(g=g.pg)&&g[d]&&'function'===typeof g[d])return g[d].apply(g,f)}:(e=e||b[d].__oSig__||olympe.j.J.$,c[d]=function(...f){f=this.jM.call(this.Tb,
333
333
  ...f,e,d);const g=e.$;if(g){const k=this.Tb.pg;k&&k[g]&&ic(f,k[g])}return e.W()?this:f})}});return c}function I(a,b){Ub(a.Tb,b);return a}function kc(a){dc(a.Tb)}function lc(a,b){olympe.j.Wa([b],c=>{a.Tb.kj(c)},'setDefaultValue');return a}function mc(a,b){ec(a.Tb,olympe.j.$m(b)?b:b.Tb)}function nc(a){(a=a.Tb)&&void 0!==a.D&&void 0===a.Jh&&void 0!==a.D&&void 0===a.Jh&&Yb(a)}function K(a,b){olympe.j.Zb(b)||olympe.j.$m(b)?mc(a,b):I(a,b);return a}
334
- olympe.j.Proxy=class{constructor(a,b){this.Tb=null;this.Vt=a;this.jM=b}static Zb(a){return!(!a||!a.Gh)}Rb(a){return olympe.j.Xa([this,a],(b,c)=>b===c,Boolean)}Se(a){return olympe.j.Xa([this,a],(b,c)=>null===b||null===c?b===c?olympe.j.ia.C:olympe.j.ia.pb:b.valueOf()===c.valueOf()?olympe.j.ia.C:olympe.j.ia.pb,olympe.j.ia)}asObservable(a){return this.Tb.asObservable(a)}iM(){return this.Tb}};olympe.j.Proxy.TC='__opp__';olympe.j.Proxy.prototype.Gh=!0;function M(a,b){a.C.kj(b);return a}olympe.j.Ty=class{constructor(a,b='FlowSource'){this.C=olympe.j.createNode(a,void 0,void 0,void 0,void 0,b)}update(a){olympe.j.Zb(a)?Ub(this.C,olympe.j.Qa(a)):Ub(this.C,a);return this}repeat(a){ec(this.C,olympe.j.Zb(a)?a.Tb:a);return this}clear(){dc(this.C);return this}wa(){return Wb(this.C)}getContext(){return this.C}};function oc(...a){return olympe.j.Xa(a,(...b)=>{let c=Infinity;for(let d=0;d<b.length;d++){const e=b[d].valueOf();e<c&&(c=e)}return olympe.j.Ba(c)},olympe.j.aa,'ONumber.minF')}function pc(...a){return olympe.j.Xa(a,(...b)=>{let c=-Infinity;for(let d=0;d<b.length;d++){const e=b[d].valueOf();e>c&&(c=e)}return olympe.j.Ba(c)},olympe.j.aa,'ONumber.maxF')}
334
+ olympe.j.Proxy=class{constructor(a,b){this.Tb=null;this.Vt=a;this.jM=b}static Zb(a){return!(!a||!a.Gh)}Rb(a){return olympe.j.Xa([this,a],(b,c)=>b===c,Boolean)}Se(a){return olympe.j.Xa([this,a],(b,c)=>null===b||null===c?b===c?olympe.j.ia.C:olympe.j.ia.pb:b.valueOf()===c.valueOf()?olympe.j.ia.C:olympe.j.ia.pb,olympe.j.ia)}asObservable(a){return this.Tb.asObservable(a)}iM(){return this.Tb}};olympe.j.Proxy.UC='__opp__';olympe.j.Proxy.prototype.Gh=!0;function M(a,b){a.C.kj(b);return a}olympe.j.Ty=class{constructor(a,b='FlowSource'){this.C=olympe.j.createNode(a,void 0,void 0,void 0,void 0,b)}update(a){olympe.j.Zb(a)?Ub(this.C,olympe.j.Qa(a)):Ub(this.C,a);return this}repeat(a){ec(this.C,olympe.j.Zb(a)?a.Tb:a);return this}clear(){dc(this.C);return this}wa(){return Wb(this.C)}getContext(){return this.C}};function oc(...a){return olympe.j.Xa(a,(...b)=>{let c=Infinity;for(let d=0;d<b.length;d++){const e=b[d].valueOf();e<c&&(c=e)}return olympe.j.Ba(c)},olympe.j.aa,'ONumber.minF')}function pc(...a){return olympe.j.Xa(a,(...b)=>{let c=-Infinity;for(let d=0;d<b.length;d++){const e=b[d].valueOf();e>c&&(c=e)}return olympe.j.Ba(c)},olympe.j.aa,'ONumber.maxF')}
335
335
  function qc(a,b,c=1E3,d,e){const f=olympe.j.Za(olympe.j.aa),g=d||olympe.j.aa.Dh.qJ;let k,l,m,n;f.update(olympe.j.Ba(a));const p=window.performance.now(),r=b.valueOf();m=r-a.valueOf();if(0!==m&&void 0===n){const t=()=>{f.getContext().lc()||(m=r-a.valueOf(),l=(window.performance.now()-p)/c,1<=l&&(l=1,n=void 0),k=a.valueOf()+m*g(l,0,1,1),f.update(olympe.j.Ba(k)),1===l&&void 0!==e&&e(k),1>l&&(n=window.requestAnimationFrame(t)))};n=window.requestAnimationFrame(t)}return f.wa()}
336
- olympe.j.aa=class{constructor(a){this.value=void 0===a||null===a?0:a}toJSON(){return'{ "type": "number", "value": '+JSON.stringify(this.value)+' }'}static ke(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return olympe.j.Ba(b.value)}iF(){return'number'===typeof this.value&&!isNaN(this.value)}isNaN(){return olympe.j.hc(!this.iF())}og(){return null===this.value||void 0===this.value||void 0===this.value.toString||isNaN(this.value)?olympe.j.ic(''):olympe.j.ic(this.value.toString())}toString(a,b){return void 0!==
337
- this.value&&null!==this.value?'number'===typeof a?this.value.toString(a):'number'===typeof b?this.value.toFixed(b):this.value.toString():'-'}toFixed(a){return this.iF()?this.valueOf().toFixed(a):''}static max(a){const b=new Map;let c=-Infinity;const d=olympe.j.Za(olympe.j.aa,'ONumber.max result'),e=()=>{c=-Infinity;for(const f of b.values())f>c&&(c=f);d.update(olympe.j.Ba(c))};a.forEach((f,g)=>{olympe.j.Wa([f],k=>{b.set(g,k.valueOf());e()})},f=>{if(!d.getContext().lc()){var g=b.get(f);b.delete(f);
336
+ olympe.j.aa=class{constructor(a){this.value=void 0===a||null===a?0:a}toJSON(){return'{ "type": "number", "value": '+JSON.stringify(this.value)+' }'}static ke(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return olympe.j.Ba(b.value)}jF(){return'number'===typeof this.value&&!isNaN(this.value)}isNaN(){return olympe.j.hc(!this.jF())}og(){return null===this.value||void 0===this.value||void 0===this.value.toString||isNaN(this.value)?olympe.j.ic(''):olympe.j.ic(this.value.toString())}toString(a,b){return void 0!==
337
+ this.value&&null!==this.value?'number'===typeof a?this.value.toString(a):'number'===typeof b?this.value.toFixed(b):this.value.toString():'-'}toFixed(a){return this.jF()?this.valueOf().toFixed(a):''}static max(a){const b=new Map;let c=-Infinity;const d=olympe.j.Za(olympe.j.aa,'ONumber.max result'),e=()=>{c=-Infinity;for(const f of b.values())f>c&&(c=f);d.update(olympe.j.Ba(c))};a.forEach((f,g)=>{olympe.j.Wa([f],k=>{b.set(g,k.valueOf());e()})},f=>{if(!d.getContext().lc()){var g=b.get(f);b.delete(f);
338
338
  g===c&&e()}});return d.wa()}Sa(a){return olympe.j.Xa([this,a],(b,c)=>olympe.j.Ba(b.valueOf()+c.valueOf()),olympe.j.aa,'ONumber.plus')}ya(a){return olympe.j.Xa([this,a],(b,c)=>olympe.j.Ba(b.valueOf()-c.valueOf()),olympe.j.aa,'ONumber.minus')}round(){return olympe.j.Ba(Math.round(this.valueOf()))}iy(){return olympe.j.Ba(-this.valueOf())}hb(a){return olympe.j.Xa([this,a],(b,c)=>olympe.j.Ba(b.valueOf()*c.valueOf()),olympe.j.aa,'ONumber.mul')}Ua(a){return olympe.j.Xa([this,a],(b,c)=>olympe.j.Ba(b.valueOf()/
339
339
  c.valueOf()),olympe.j.aa,'ONumber.div')}ox(a){return olympe.j.Xa([this,a],(b,c)=>olympe.j.Ba(b.valueOf()%c.valueOf()),olympe.j.aa,'ONumber.div')}floor(){return olympe.j.Ba(Math.floor(this.valueOf()))}ceil(){return olympe.j.Ba(Math.ceil(this.valueOf()))}trunc(){return olympe.j.Ba(Math.trunc(this.valueOf()))}log(){return olympe.j.Ba(Math.log(this.valueOf()))}pow(a){return olympe.j.Xa([this,a],(b,c)=>olympe.j.Ba(Math.pow(b.valueOf(),c.valueOf())),olympe.j.aa,'ONumber.pow')}exp(){return olympe.j.Ba(Math.exp(this.valueOf()))}Se(a){return olympe.j.Xa([this,
340
340
  a],(b,c)=>olympe.j.hc(b.Rb(c)),olympe.j.ia,'ONumber.oEquals')}Rb(a){return this.valueOf()===(void 0!==a&&null!==a?a.valueOf():void 0)}valueOf(){return void 0!==this.value?this.value.valueOf():void 0}cX(){return this.valueOf()}Mj(a){return olympe.j.Xa([this,a],(b,c)=>b.valueOf()>c.valueOf()?olympe.j.ia.C:olympe.j.ia.pb,olympe.j.ia,'ONumber.isBiggerThan')}VO(a){return olympe.j.Xa([this,a],(b,c)=>b.valueOf()>=c.valueOf()?b:olympe.j.Ba(c),olympe.j.aa,'ONumber.returnsBiggest')}vn(a){return olympe.j.Xa([this,
341
- a],(b,c)=>b.valueOf()<=c.valueOf()?b:olympe.j.Ba(c),olympe.j.aa,'ONumber.returnsSmallest')}hE(a){return olympe.j.Xa([this,a],(b,c)=>b.valueOf()<c.valueOf()?olympe.j.ia.C:olympe.j.ia.pb,olympe.j.ia,'ONumber.isSmallerThan')}sin(){return olympe.j.Ba(Math.sin(this.valueOf()))}cos(){return olympe.j.Ba(Math.cos(this.valueOf()))}atan2(a){return olympe.j.Zb(a)?olympe.j.di([a],b=>olympe.j.Ba(Math.atan2(this.valueOf(),b.valueOf())),olympe.j.aa):olympe.j.Ba(Math.atan2(this.valueOf(),a.valueOf()))}abs(){return olympe.j.Ba(Math.abs(this.valueOf()))}nx(a,
341
+ a],(b,c)=>b.valueOf()<=c.valueOf()?b:olympe.j.Ba(c),olympe.j.aa,'ONumber.returnsSmallest')}iE(a){return olympe.j.Xa([this,a],(b,c)=>b.valueOf()<c.valueOf()?olympe.j.ia.C:olympe.j.ia.pb,olympe.j.ia,'ONumber.isSmallerThan')}sin(){return olympe.j.Ba(Math.sin(this.valueOf()))}cos(){return olympe.j.Ba(Math.cos(this.valueOf()))}atan2(a){return olympe.j.Zb(a)?olympe.j.di([a],b=>olympe.j.Ba(Math.atan2(this.valueOf(),b.valueOf())),olympe.j.aa):olympe.j.Ba(Math.atan2(this.valueOf(),a.valueOf()))}abs(){return olympe.j.Ba(Math.abs(this.valueOf()))}nx(a,
342
342
  b){return olympe.j.Zb(a)||olympe.j.Zb(b)?olympe.j.di([a,b],(c,d)=>olympe.j.Ba(this.valueOf()*d.valueOf()+c.valueOf()*(1-d.valueOf())),olympe.j.aa):olympe.j.Ba(this.valueOf()*b.valueOf()+a.valueOf()*(1-b.valueOf()))}static gV(a,b,c,d){'number'===typeof a&&(a=olympe.j.la(a));'number'===typeof b&&(b=olympe.j.la(b));'number'===typeof c&&(c=olympe.j.la(c));let e=0;const f=olympe.j.la(0);let g,k;void 0!==b&&void 0!==c&&olympe.j.$a(b.Mj(c),()=>{olympe.gb.Cb('df').warn('You have a min bigger than max, cap your inputs')});
343
343
  const l=(m,n)=>{n=olympe.j.la(n);const p=olympe.j.aa.animate(n,500);mc(f,p);I(n,olympe.j.Ba(m));e=m};olympe.j.di([a],m=>{e+=m.valueOf();e>k?l(k,e):e<g?l(g,e):mc(f,olympe.j.la(e))},olympe.j.aa);void 0!==b&&olympe.j.cg(b.valueOf(),m=>{if(g!==m&&(g=m,g>e)){const n=olympe.j.la(e),p=olympe.j.aa.animate(n,400,d);m=olympe.j.Ba(g);Ub(n.Tb,m);e=g;mc(f,p)}});void 0!==c&&olympe.j.cg(c.valueOf(),m=>{if(k!==m&&(k=m,k<e)){const n=olympe.j.la(e),p=olympe.j.aa.animate(n,400,d);m=olympe.j.Ba(k);Ub(n.Tb,m);e=k;mc(f,
344
344
  p)}});return f}static offset(a){let b;return olympe.j.di([a],c=>{void 0===b&&(b=c);return olympe.j.Ba(c-b)},olympe.j.aa,'offset')}static AM(a){let b,c,d;return olympe.j.Xa([a],e=>{if(void 0===b)return b=e,c=window.performance.now(),olympe.j.Ba(0);d=window.performance.now();const f=olympe.j.Ba((e.valueOf()-b.valueOf())/(d-c));b=e;c=d;return f},olympe.j.aa,'derivative')}static EX(a){let b=olympe.j.Ba(0),c,d,e;return olympe.j.Xa([a],f=>{if(void 0===c)return c=f,d=window.performance.now(),olympe.j.Ba(0);
345
- e=window.performance.now();b=b.Sa((f.valueOf()+c.valueOf())/2*(e-d));c=f;d=e;return b},olympe.j.aa,'integrate')}static RV(a){let b;return olympe.j.Xa([a],c=>{void 0===b&&(b=c.valueOf());const d=olympe.j.Ba(c.valueOf()-b.valueOf());b=c;return d},olympe.j.aa,'diff')}static DD(a,b,c){return olympe.j.di([a,b,c],(d,e,f)=>{d='number'===typeof d?d:d.valueOf();e='number'===typeof e?e:e.valueOf();f='number'===typeof f?f:f.valueOf();return olympe.j.Ba(d>=e?d<=f?d:f:e)},olympe.j.aa)}static animate(a,b,c,d){let e;
345
+ e=window.performance.now();b=b.Sa((f.valueOf()+c.valueOf())/2*(e-d));c=f;d=e;return b},olympe.j.aa,'integrate')}static RV(a){let b;return olympe.j.Xa([a],c=>{void 0===b&&(b=c.valueOf());const d=olympe.j.Ba(c.valueOf()-b.valueOf());b=c;return d},olympe.j.aa,'diff')}static ED(a,b,c){return olympe.j.di([a,b,c],(d,e,f)=>{d='number'===typeof d?d:d.valueOf();e='number'===typeof e?e:e.valueOf();f='number'===typeof f?f:f.valueOf();return olympe.j.Ba(d>=e?d<=f?d:f:e)},olympe.j.aa)}static animate(a,b,c,d){let e;
346
346
  return e=olympe.j.Xa([a],f=>{const g=olympe.j.Qa(b,1E3),k=olympe.j.Qa(e);return void 0===k?olympe.j.Ba(f):qc(k,f,g,c,l=>{d&&d(l)})},olympe.j.aa)}static sV(a,b,c){let d,e,f,g,k,l,m=olympe.j.la(),n;olympe.j.Wa([a],p=>{void 0===d?g=d=p.valueOf():d=g;f=window.performance.now();e=p.valueOf();l=e-d;0!==l&&void 0===n&&(n=setInterval(()=>{l=e-d;k=(window.performance.now()-f)/b;1<=k&&(k=1);g=d+l*c(k,0,1,1);I(m,olympe.j.Ba(g));1===k&&(clearTimeout(n),n=void 0)},0))});return m}static og(a){return olympe.j.Zb(a)?
347
347
  olympe.j.Xa([a],b=>olympe.j.ic(b.valueOf().toString()),olympe.j.kb):olympe.j.ic(a)}static iy(a){return olympe.j.Zb(a)?olympe.j.Xa([a],b=>olympe.j.Ba(-b.valueOf()),olympe.j.aa):olympe.j.Ba(-a.valueOf())}static Sa(a,b){return olympe.j.Zb(a)||olympe.j.Zb(b)?olympe.j.Xa([a,b],(c,d)=>olympe.j.Ba(c.valueOf()+d.valueOf()),olympe.j.aa,'plus'):olympe.j.Ba(a.valueOf()+b.valueOf())}static ya(a,b){return olympe.j.Zb(a)||olympe.j.Zb(b)?olympe.j.di([a,b],(c,d)=>olympe.j.Ba(c.valueOf()-d.valueOf()),olympe.j.aa,
348
348
  'minus'):olympe.j.Ba(a.valueOf()-b.valueOf())}static Ua(a,b){return olympe.j.Zb(a)||olympe.j.Zb(b)?olympe.j.di([a,b],(c,d)=>olympe.j.Ba(c.valueOf()/d.valueOf()),olympe.j.aa,'div'):olympe.j.Ba(a.valueOf()/b.valueOf())}static rY(a,b){if(void 0===b)return a;olympe.j.Wa([b],c=>{c=olympe.j.Ba(F(a).valueOf()+c.valueOf());Ub(a.Tb,c)},'plusEqual');return a}};olympe.j.aa.ZERO=new olympe.j.aa(0);olympe.j.aa.ONE=new olympe.j.aa(1);olympe.j.aa.uL=new olympe.j.aa(2);olympe.j.aa.PI=new olympe.j.aa(Math.PI);
349
- olympe.j.aa.mR=new olympe.j.aa(Infinity);olympe.j.aa.TS=new olympe.j.aa(-Infinity);olympe.j.aa.JJ=new olympe.j.aa(NaN);olympe.j.aa.a1=olympe.j.aa.rY;olympe.j.aa.FZ=olympe.j.aa.gV;olympe.j.aa.M0=olympe.j.aa.offset;olympe.j.aa.l_=olympe.j.aa.AM;olympe.j.aa.R2=olympe.j.aa.AM;olympe.j.aa.l0=olympe.j.aa.EX;olympe.j.aa.m_=olympe.j.aa.RV;olympe.j.aa.UZ=olympe.j.aa.DD;olympe.j.aa.HZ=olympe.j.aa.animate;olympe.j.aa.IZ=olympe.j.aa.sV;olympe.j.aa.v2=olympe.j.aa.og;olympe.j.aa.w2=olympe.j.aa.iy;
349
+ olympe.j.aa.mR=new olympe.j.aa(Infinity);olympe.j.aa.TS=new olympe.j.aa(-Infinity);olympe.j.aa.JJ=new olympe.j.aa(NaN);olympe.j.aa.a1=olympe.j.aa.rY;olympe.j.aa.FZ=olympe.j.aa.gV;olympe.j.aa.M0=olympe.j.aa.offset;olympe.j.aa.l_=olympe.j.aa.AM;olympe.j.aa.R2=olympe.j.aa.AM;olympe.j.aa.l0=olympe.j.aa.EX;olympe.j.aa.m_=olympe.j.aa.RV;olympe.j.aa.UZ=olympe.j.aa.ED;olympe.j.aa.HZ=olympe.j.aa.animate;olympe.j.aa.IZ=olympe.j.aa.sV;olympe.j.aa.v2=olympe.j.aa.og;olympe.j.aa.w2=olympe.j.aa.iy;
350
350
  olympe.j.aa.$0=olympe.j.aa.Sa;olympe.j.aa.y0=olympe.j.aa.ya;olympe.j.aa.n_=olympe.j.aa.Ua;
351
351
  olympe.j.aa.Dh={qJ:function(a,b,c,d){return c*a/d+b},F_:function(a,b,c,d){a/=d;return c*a*a+b},dt:function(a,b,c,d){a/=d;return-c*a*(a-2)+b},B_:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a+b;a--;return-c/2*(a*(a-2)-1)+b},v_:function(a,b,c,d){a/=d;return c*a*a*a+b},L_:function(a,b,c,d){a/=d;a--;return c*(a*a*a+1)+b},xp:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a+b;a-=2;return c/2*(a*a*a+2)+b},G_:function(a,b,c,d){a/=d;return c*a*a*a*a+b},P_:function(a,b,c,d){a/=d;a--;return-c*(a*a*a*a-1)+b},
352
352
  C_:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a*a+b;a-=2;return-c/2*(a*a*a*a-2)+b},H_:function(a,b,c,d){a/=d;return c*a*a*a*a*a+b},Q_:function(a,b,c,d){a/=d;a--;return c*(a*a*a*a*a+1)+b},D_:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a*a*a+b;a-=2;return c/2*(a*a*a*a*a+2)+b},I_:function(a,b,c,d){return-c*Math.cos(a/d*(Math.PI/2))+c+b},R_:function(a,b,c,d){return c*Math.sin(a/d*(Math.PI/2))+b},E_:function(a,b,c,d){return-c/2*(Math.cos(Math.PI*a/d)-1)+b},y_:function(a,b,c,d){return c*Math.pow(2,
353
353
  10*(a/d-1))+b},O_:function(a,b,c,d){return c*(-Math.pow(2,-10*a/d)+1)+b},A_:function(a,b,c,d){a/=d/2;if(1>a)return c/2*Math.pow(2,10*(a-1))+b;a--;return c/2*(-Math.pow(2,-10*a)+2)+b},u_:function(a,b,c,d){a/=d;return-c*(Math.sqrt(1-a*a)-1)+b},K_:function(a,b,c,d){a/=d;a--;return c*Math.sqrt(1-a*a)+b},z_:function(a,b,c,d){a/=d/2;if(1>a)return-c/2*(Math.sqrt(1-a*a)-1)+b;a-=2;return c/2*(Math.sqrt(1-a*a)+1)+b},q_:function(a,b,c,d){d=(a/=d)*a;return b+c*(4*d*a+-3*d)},r_:function(a,b,c,d){d=(a/=d)*a;return b+
354
354
  c*(2*d*d+2*d*a+-3*d)},GQ:function(a,b,c,d){d=(a/=d)*a;return b+c*(4*d*a+-9*d+6*a)},s_:function(a,b,c,d){d=(a/=d)*a;return b+c*(-2*d*d+10*d*a+-15*d+8*a)},N_:function(a,b,c,d){d=(a/=d)*a;const e=d*a;return b+c*(33*e*d+-106*d*d+126*e+-67*d+15*a)},M_:function(a,b,c,d){d=(a/=d)*a;const e=d*a;return b+c*(56*e*d+-175*d*d+200*e+-100*d+20*a)},x_:function(a,b,c,d){d=(a/=d)*a;a*=d;return b+c*(33*a*d+-59*d*d+32*a+-5*d)},w_:function(a,b,c,d){d=(a/=d)*a;a*=d;return b+c*(56*a*d+-105*d*d+60*a+-10*d)},J_:function(a,
355
- b,c,d){return(a/=d)<1/2.75?7.5625*c*a*a+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b},t_:function(a,b,c,d){a=d-a;d=(a/=d)<1/2.75?7.5625*c*a*a:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75):a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375):c*(7.5625*(a-=2.625/2.75)*a+.984375);return c-d+b}};h=olympe.j.aa.prototype;h.toJSON.K=olympe.j.J.O;h.iF.K=olympe.j.J.O;h.isNaN.K=olympe.j.J.T;h.og.K=olympe.j.J.R;
355
+ b,c,d){return(a/=d)<1/2.75?7.5625*c*a*a+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b},t_:function(a,b,c,d){a=d-a;d=(a/=d)<1/2.75?7.5625*c*a*a:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75):a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375):c*(7.5625*(a-=2.625/2.75)*a+.984375);return c-d+b}};h=olympe.j.aa.prototype;h.toJSON.K=olympe.j.J.O;h.jF.K=olympe.j.J.O;h.isNaN.K=olympe.j.J.T;h.og.K=olympe.j.J.R;
356
356
  h.toString.K=new olympe.j.J(()=>String,[]);h.toFixed.K=new olympe.j.J(()=>String,[]);h.Sa.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.ya.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.round.K=olympe.j.J.D;h.iy.K=olympe.j.J.D;h.hb.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.Ua.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.ox.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.floor.K=olympe.j.J.D;h.ceil.K=olympe.j.J.D;h.trunc.K=olympe.j.J.D;h.log.K=olympe.j.J.D;h.pow.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.exp.K=olympe.j.J.D;
357
- h.Se.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.Rb.K=olympe.j.J.O;h.valueOf.K=olympe.j.J.O;h.cX.K=olympe.j.J.O;h.Mj.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.VO.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.vn.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.hE.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.sin.K=olympe.j.J.D;h.cos.K=olympe.j.J.D;h.atan2.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.abs.K=olympe.j.J.D;h.nx.K=new olympe.j.J(()=>olympe.j.aa,[0,1]);olympe.j.kb=class{constructor(a){this.value=a}toJSON(){return'{ "type": "string", "value": '+JSON.stringify(this.value)+' }'}static ke(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return olympe.j.ic(b.value)}bA(a,b){return void 0!==b?olympe.j.kb.concat(this,b,a):olympe.j.kb.concat(this,a)}concat(...a){let b;Array.isArray(a[0])?b=a[0]:b=a;return olympe.j.Xa([this,...b],(...c)=>{let d='';for(let e=0,f=c.length;e<f;e++)d=c[e]?d+c[e].valueOf():d+c[e];return olympe.j.ic(d)},olympe.j.kb,'OString.concat')}og(){return this}rZ(a){return olympe.j.Ba(parseInt(this.value,
357
+ h.Se.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.Rb.K=olympe.j.J.O;h.valueOf.K=olympe.j.J.O;h.cX.K=olympe.j.J.O;h.Mj.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.VO.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.vn.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.iE.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.sin.K=olympe.j.J.D;h.cos.K=olympe.j.J.D;h.atan2.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.abs.K=olympe.j.J.D;h.nx.K=new olympe.j.J(()=>olympe.j.aa,[0,1]);olympe.j.kb=class{constructor(a){this.value=a}toJSON(){return'{ "type": "string", "value": '+JSON.stringify(this.value)+' }'}static ke(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return olympe.j.ic(b.value)}bA(a,b){return void 0!==b?olympe.j.kb.concat(this,b,a):olympe.j.kb.concat(this,a)}concat(...a){let b;Array.isArray(a[0])?b=a[0]:b=a;return olympe.j.Xa([this,...b],(...c)=>{let d='';for(let e=0,f=c.length;e<f;e++)d=c[e]?d+c[e].valueOf():d+c[e];return olympe.j.ic(d)},olympe.j.kb,'OString.concat')}og(){return this}rZ(a){return olympe.j.Ba(parseInt(this.value,
358
358
  a))}BP(){return olympe.j.Ba(parseFloat(this.value))}toString(){return this.value}valueOf(){return this.value.valueOf()}Rb(a){return this.value===(void 0===a||null===a?void 0:a.valueOf())}Se(a){return olympe.j.Xa([this,a],(b,c)=>olympe.j.hc(c&&b.valueOf()===c.valueOf()),olympe.j.ia,'OString.oEquals')}Fi(){return olympe.j.hc(!this.value||0===this.value.length)}contains(a){return olympe.j.Xa([this,a],(b,c)=>olympe.j.hc((c instanceof olympe.j.kb||'string'===typeof c)&&b.valueOf().includes(c.valueOf())),
359
359
  olympe.j.ia,'OString.contains')}startsWith(a,b){return olympe.j.Xa([this,a,b||0],(c,d,e)=>olympe.j.hc(c.valueOf().startsWith(d.valueOf(),e.valueOf())),olympe.j.ia,'OString.startsWith')}endsWith(a,b){return olympe.j.Xa([this,a,b||-1],(c,d,e)=>{e=0<=e.valueOf()?e.valueOf():this.tA().valueOf()+e.valueOf()+1;return olympe.j.hc(c.valueOf().endsWith(d.valueOf(),e))},olympe.j.ia,'OString.endsWith')}indexOf(a,b){return olympe.j.Xa([this,a,b||0],(c,d,e)=>olympe.j.Ba(c.valueOf().indexOf(d.valueOf(),e.valueOf())),
360
360
  olympe.j.aa,'OString.indexOf')}lastIndexOf(a,b){return olympe.j.Xa([this,a,b||Infinity],(c,d,e)=>olympe.j.Ba(c.valueOf().lastIndexOf(d.valueOf(),e.valueOf())),olympe.j.aa,'OString.lastIndexOf')}slice(a,b){return olympe.j.Xa([this,a,b],(c,d,e)=>olympe.j.ic(c.valueOf().slice(d.valueOf(),e?e.valueOf():void 0)),olympe.j.kb,'OString.slice')}tA(){return olympe.j.Ba(this.value.length)}threshold(a){return olympe.j.Xa([this,a],(b,c)=>b.valueOf().length>=c.valueOf()?b:olympe.j.kb.EMPTY,olympe.j.kb,'OString.threshold')}toLowerCase(){return olympe.j.ic(this.value.toLowerCase())}toUpperCase(){return olympe.j.ic(this.value.toUpperCase())}trim(){return olympe.j.ic(this.value.trim())}padStart(a,
361
361
  b){return olympe.j.Xa([this,a,b],(c,d,e)=>olympe.j.ic(c.valueOf().padStart(d.valueOf(),e.valueOf())),olympe.j.kb,'OString.padStart')}padEnd(a,b){return olympe.j.Xa([this,a,b],(c,d,e)=>olympe.j.ic(c.valueOf().padEnd(d.valueOf(),e.valueOf())),olympe.j.kb,'OString.padEnd')}replace(a,b){return olympe.j.Xa([this,a,b],(c,d,e)=>olympe.j.ic(c.valueOf().replace(d.valueOf(),e.valueOf())),olympe.j.kb,'OString.replace')}nZ(a,b){return olympe.j.Xa([this,a,b],(c,d,e)=>olympe.j.ic(c.valueOf().substr(d.valueOf(),
362
- e.valueOf())),olympe.j.kb,'OString.subOStr')}static concat(...a){return olympe.j.ic('').concat(...a)}};olympe.j.kb.EMPTY=new olympe.j.kb('');olympe.j.kb.cD=new olympe.j.kb(' ');h=olympe.j.kb.prototype;h.toJSON.K=olympe.j.J.O;h.bA.K=new olympe.j.J(()=>olympe.j.kb,[0,1]);h.concat.K=olympe.j.J.R;h.og.K=olympe.j.J.R;h.rZ.K=olympe.j.J.D;h.BP.K=olympe.j.J.D;h.toString.K=olympe.j.J.O;h.valueOf.K=olympe.j.J.O;h.Rb.K=olympe.j.J.O;h.Se.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.Fi.K=olympe.j.J.T;
362
+ e.valueOf())),olympe.j.kb,'OString.subOStr')}static concat(...a){return olympe.j.ic('').concat(...a)}};olympe.j.kb.EMPTY=new olympe.j.kb('');olympe.j.kb.dD=new olympe.j.kb(' ');h=olympe.j.kb.prototype;h.toJSON.K=olympe.j.J.O;h.bA.K=new olympe.j.J(()=>olympe.j.kb,[0,1]);h.concat.K=olympe.j.J.R;h.og.K=olympe.j.J.R;h.rZ.K=olympe.j.J.D;h.BP.K=olympe.j.J.D;h.toString.K=olympe.j.J.O;h.valueOf.K=olympe.j.J.O;h.Rb.K=olympe.j.J.O;h.Se.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.Fi.K=olympe.j.J.T;
363
363
  h.contains.K=new olympe.j.J(()=>olympe.j.ia,[0]);h.startsWith.K=new olympe.j.J(()=>olympe.j.ia,[0,1]);h.endsWith.K=new olympe.j.J(()=>olympe.j.ia,[0,1]);h.indexOf.K=new olympe.j.J(()=>olympe.j.aa,[0,1]);h.lastIndexOf.K=new olympe.j.J(()=>olympe.j.aa,[0,1]);h.slice.K=new olympe.j.J(()=>olympe.j.kb,[0,1]);h.tA.K=olympe.j.J.D;h.threshold.K=new olympe.j.J(()=>olympe.j.kb,[0]);h.toLowerCase.K=olympe.j.J.R;h.toUpperCase.K=olympe.j.J.R;h.trim.K=olympe.j.J.R;h.padStart.K=olympe.j.J.R;h.padEnd.K=olympe.j.J.R;
364
364
  h.replace.K=olympe.j.J.R;h.nZ.K=olympe.j.J.R;olympe.j.ia=class{constructor(a){this.value=a}toJSON(){return`{ "type": "boolean", "value": ${this.value.valueOf()}}`}static ke(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return b.value?olympe.j.ia.C:olympe.j.ia.pb}and(a){if(void 0!==a)return olympe.j.Zb(a)?olympe.j.di([a],b=>new olympe.j.ia(this.valueOf()&&b.valueOf()),olympe.j.ia,'and'):this.value&&a.valueOf()?olympe.j.ia.C:olympe.j.ia.pb}Rb(a){return this.valueOf()===(void 0!==a?a.valueOf():void 0)}Se(a){if(void 0!==a)return olympe.j.Zb(a)?
365
365
  olympe.j.di([a],b=>new olympe.j.ia(this.valueOf()===b.valueOf()),olympe.j.ia,'oEquals'):this.Rb(a)?olympe.j.ia.C:olympe.j.ia.pb}Re(){return this.value?olympe.j.ia.pb:olympe.j.ia.C}rV(a){if(void 0!==a)return olympe.j.Zb(a)?olympe.j.di([a],b=>new olympe.j.ia(!(this.valueOf()&&b.valueOf())),olympe.j.ia,'andNot'):this.value&&!a.valueOf()?olympe.j.ia.C:olympe.j.ia.pb}or(a){if(void 0!==a)return olympe.j.Zb(a)?olympe.j.di([a],b=>new olympe.j.ia(this.valueOf()||b.valueOf()),olympe.j.ia,'or'):this.value||
@@ -378,59 +378,59 @@ h.lZ.K=new olympe.j.J(()=>olympe.j.ac,[]);h.mZ.K=new olympe.j.J(()=>olympe.j.ac,
378
378
  function Ec(a){const b=c=>{let d;c=c.valueOf();6>c.length?(d=17,c=yc.exec(c)):(d=1,c=xc.exec(c));c=c?c.slice(1).map(e=>parseInt(e,16)*d):[0,0,0];return olympe.j.Color.create(c[0],c[1],c[2],isNaN(c[3])?1:c[3]/255)};return olympe.j.Mg(a)?olympe.j.di([a],b,olympe.j.Color):b(a)}function Fc(a,b,c){return olympe.j.di([a,b,c,.5],(d,e,f,g)=>olympe.j.Color.create(d,e,f,g),olympe.j.Color)}function P(a){return olympe.j.ub(olympe.j.Color,a)}
379
379
  olympe.j.Color=class{constructor(a,b,c,d){this.C=olympe.j.Ba(void 0!==a?Math.min(255,Math.max(0,Math.round(a))):0);this.D=olympe.j.Ba(void 0!==b?Math.min(255,Math.max(0,Math.round(b))):0);this.b=olympe.j.Ba(void 0!==c?Math.min(255,Math.max(0,Math.round(c))):0);this.a=olympe.j.Ba(void 0!==d?Math.min(1,Math.max(0,d)):1)}toJSON(){return{r:this.C.valueOf(),g:this.D.valueOf(),b:this.b.valueOf(),a:this.a.valueOf()}}static ke(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return olympe.j.Color.create(b.r,
380
380
  b.g,b.b,b.a)}static create(a,b,c,d=1){return olympe.j.Xa([a,b,c,d],(e,f,g,k)=>{e=olympe.j.Ba(void 0!==e?Math.min(255,Math.max(0,Math.round(e.valueOf()))):0);f=olympe.j.Ba(void 0!==f?Math.min(255,Math.max(0,Math.round(f.valueOf()))):0);g=olympe.j.Ba(void 0!==g?Math.min(255,Math.max(0,Math.round(g.valueOf()))):0);k=olympe.j.Ba(void 0!==k?Math.min(1,Math.max(0,k.valueOf())):1);for(let l of wc.values())if(l&&l.C.Rb(e)&&l.D.Rb(f)&&l.b.Rb(g)&&l.a.Rb(k))return l;return new olympe.j.Color(e,f,g,k)},olympe.j.Color)}static green(){return zc('green',
381
- 0,128,0,1)}static red(){return zc('red',255,0,0,1)}Al(){return this.C}ol(){return this.b}zl(){return this.D}nl(){return this.a}xV(a,b){return olympe.j.Color.create(this.C.nx(a.Al(),b),this.D.nx(a.zl(),b),this.b.nx(a.ol(),b),this.a.nx(a.nl(),b))}LD(a){return olympe.j.Color.create(this.C,this.D,this.b,a)}ei(){return`rgba(${this.C},${this.D},${this.b},${this.a})`}lB(){const a=(16777216|this.b|this.D<<8|this.C<<16).toString(16).slice(1),b=1===this.a.valueOf()?'':(256|255*this.a).toString(16).slice(1);
381
+ 0,128,0,1)}static red(){return zc('red',255,0,0,1)}Al(){return this.C}ol(){return this.b}zl(){return this.D}nl(){return this.a}xV(a,b){return olympe.j.Color.create(this.C.nx(a.Al(),b),this.D.nx(a.zl(),b),this.b.nx(a.ol(),b),this.a.nx(a.nl(),b))}MD(a){return olympe.j.Color.create(this.C,this.D,this.b,a)}ei(){return`rgba(${this.C},${this.D},${this.b},${this.a})`}lB(){const a=(16777216|this.b|this.D<<8|this.C<<16).toString(16).slice(1),b=1===this.a.valueOf()?'':(256|255*this.a).toString(16).slice(1);
382
382
  return'#'+(a+b).toUpperCase()}toString(){return this.lB()}Rb(a){return a instanceof olympe.j.Color?this.C.valueOf()===a.C.valueOf()&&this.D.valueOf()===a.D.valueOf()&&this.b.valueOf()===a.b.valueOf()&&this.a.valueOf()===a.a.valueOf():!1}compare(a){const b=(this.Al().valueOf()<<16|this.zl().valueOf()<<8|this.ol().valueOf())-(a.Al().valueOf()<<16|a.zl().valueOf()<<8|a.ol().valueOf());return 0===b?this.nl().valueOf()-a.nl().valueOf():b}};olympe.j.Color.prototype.equals=olympe.j.Color.prototype.Rb;
383
383
  olympe.j.Color.prototype.toHexString=olympe.j.Color.prototype.lB;olympe.j.Color.prototype.toRGBString=olympe.j.Color.prototype.ei;olympe.j.Color.prototype.getAlpha=olympe.j.Color.prototype.nl;olympe.j.Color.prototype.getGreen=olympe.j.Color.prototype.zl;olympe.j.Color.prototype.getBlue=olympe.j.Color.prototype.ol;olympe.j.Color.prototype.getRed=olympe.j.Color.prototype.Al;olympe.j.Color.create=olympe.j.Color.create;h=olympe.j.Color.prototype;h.toJSON.K=olympe.j.J.O;h.Al.K=olympe.j.J.D;h.ol.K=olympe.j.J.D;
384
- h.zl.K=olympe.j.J.D;h.nl.K=olympe.j.J.D;h.xV.K=new olympe.j.J(()=>olympe.j.Color,[]);h.LD.K=new olympe.j.J(()=>olympe.j.Color,[]);h.ei.K=new olympe.j.J(()=>String,[]);h.lB.K=new olympe.j.J(()=>String,[]);h.Rb.K=olympe.j.J.O;h.compare.K=olympe.j.J.O;olympe.j.File=class{bb(){}Zy(){}le(){}bx(){}Uw(){}jA(){}Vr(){}rE(){}};olympe.j.ga=class{constructor(a,b){this.x=olympe.j.la(a);this.y=olympe.j.la(b)}toJSON(){return'{ "type": "vector2", "x": '+JSON.stringify(olympe.j.Qa(this.x).valueOf())+', "y": '+JSON.stringify(olympe.j.Qa(this.y).valueOf())+' }'}static ke(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return new olympe.j.ga(b.x,b.y)}qa(){return this.x}oe(a){K(this.x,a)}ta(){return this.y}Fe(a){K(this.y,a)}rX(){return this.x.vn(this.y)}Sa(a){return olympe.j.Xa([this,a],(b,c)=>new olympe.j.ga(b.x.Sa(c.x),b.y.Sa(c.y)),
384
+ h.zl.K=olympe.j.J.D;h.nl.K=olympe.j.J.D;h.xV.K=new olympe.j.J(()=>olympe.j.Color,[]);h.MD.K=new olympe.j.J(()=>olympe.j.Color,[]);h.ei.K=new olympe.j.J(()=>String,[]);h.lB.K=new olympe.j.J(()=>String,[]);h.Rb.K=olympe.j.J.O;h.compare.K=olympe.j.J.O;olympe.j.File=class{bb(){}Zy(){}le(){}bx(){}Uw(){}jA(){}Vr(){}sE(){}};olympe.j.ga=class{constructor(a,b){this.x=olympe.j.la(a);this.y=olympe.j.la(b)}toJSON(){return'{ "type": "vector2", "x": '+JSON.stringify(olympe.j.Qa(this.x).valueOf())+', "y": '+JSON.stringify(olympe.j.Qa(this.y).valueOf())+' }'}static ke(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return new olympe.j.ga(b.x,b.y)}qa(){return this.x}oe(a){K(this.x,a)}ta(){return this.y}Fe(a){K(this.y,a)}rX(){return this.x.vn(this.y)}Sa(a){return olympe.j.Xa([this,a],(b,c)=>new olympe.j.ga(b.x.Sa(c.x),b.y.Sa(c.y)),
385
385
  olympe.j.ga,'Vector2.plus')}ya(a){return olympe.j.Xa([this,a],(b,c)=>new olympe.j.ga(b.x.ya(c.x),b.y.ya(c.y)),olympe.j.ga,'Vector2.minus')}$X(a){return new olympe.j.ga(this.x.hb(a),this.y.hb(a))}TV(a){return new olympe.j.ga(this.x.Ua(a),this.y.Ua(a))}bY(){return new olympe.j.ga(this.x.iy(),this.y.iy())}UV(a){return olympe.j.Xa([this,a],(b,c)=>olympe.j.Xa([b.x,b.y,c.x,c.y],(d,e,f,g)=>olympe.j.Ba(d*f+e*g),olympe.j.aa),olympe.j.aa)}length(){return olympe.j.Xa([this.x,this.y],(a,b)=>olympe.j.Ba(Math.sqrt(a*
386
386
  a+b*b)),olympe.j.aa)}ER(){return olympe.j.Xa([this.x,this.y],(a,b)=>{const c=Math.sqrt(a*a+b*b);return new olympe.j.ga(a/c,b/c)},olympe.j.ga)}floor(){return olympe.j.Xa([this.x,this.y],(a,b)=>new olympe.j.ga(Math.floor(a),Math.floor(b)),olympe.j.ga)}ceil(){return olympe.j.Xa([this.x,this.y],(a,b)=>new olympe.j.ga(Math.ceil(a),Math.ceil(b)),olympe.j.ga)}round(){return olympe.j.Xa([this.x,this.y],(a,b)=>new olympe.j.ga(Math.round(a),Math.round(b)),olympe.j.ga)}lV(a){return new olympe.j.ga(this.x.Sa(a),
387
387
  this.y.Sa(a))}mV(a,b){return new olympe.j.ga(this.x.Sa(a),this.y.Sa(b))}og(){return olympe.j.Xa([this.x,this.y],(a,b)=>olympe.j.ic(`Vector2[${a.valueOf()}, ${b.valueOf()}]`),olympe.j.kb)}toString(){return`Vector2[${F(this.x)}, ${F(this.y)}]`}Rb(a){return this===a?!0:!1}};h=olympe.j.ga.prototype;h.toJSON.K=olympe.j.J.O;h.qa.K=olympe.j.J.D;h.oe.K=olympe.j.J.O;h.ta.K=olympe.j.J.D;h.Fe.K=olympe.j.J.O;h.rX.K=olympe.j.J.D;h.Sa.K=new olympe.j.J(()=>olympe.j.ga,[0]);
388
388
  h.ya.K=new olympe.j.J(()=>olympe.j.ga,[0]);h.$X.K=olympe.j.J.W;h.TV.K=olympe.j.J.W;h.bY.K=olympe.j.J.W;h.UV.K=new olympe.j.J(()=>olympe.j.aa,[0]);h.length.K=olympe.j.J.D;h.ER.K=olympe.j.J.W;h.floor.K=olympe.j.J.W;h.ceil.K=olympe.j.J.W;h.round.K=olympe.j.J.W;h.lV.K=olympe.j.J.W;h.mV.K=olympe.j.J.W;h.og.K=olympe.j.J.R;h.toString.K=olympe.j.J.O;h.Rb.K=olympe.j.J.O;olympe.j.Kk=class{constructor(){}Ee(){}mi(){}get(){}Fj(){}has(){}Ei(){}Vd(){}Sm(){}Qc(){}aj(){}forEach(){}yi(){}};olympe.j.Kk.prototype.forEachCurrentValue=olympe.j.Kk.prototype.yi;olympe.j.Kk.prototype.forEach=olympe.j.Kk.prototype.forEach;h=olympe.j.Kk.prototype;h.has.K=olympe.j.J.T;h.Ei.K=olympe.j.J.O;h.Vd.K=new olympe.j.J(()=>Object,[]);h.Sm.K=new olympe.j.J(()=>String,[]);h.Qc.K=olympe.j.J.D;h.aj.K=olympe.j.J.O;h.forEach.K=new olympe.j.J(()=>{},[]);h.yi.K=olympe.j.J.O;olympe.j.Ug=class extends olympe.j.Kk{gf(){}Hm(){}Um(){}rl(){}Hh(){}ql(){}Ow(){}qu(){}};olympe.j.Ug.prototype.getCurrentAt=olympe.j.Ug.prototype.ql;olympe.j.Ug.prototype.getAt=olympe.j.Ug.prototype.Hh;olympe.j.Ug.prototype.getCurrentKeyAt=olympe.j.Ug.prototype.rl;olympe.j.Ug.prototype.getKeyAt=olympe.j.Ug.prototype.Um;olympe.j.Ug.prototype.getCurrentRank=olympe.j.Ug.prototype.Hm;olympe.j.Ug.prototype.getRank=olympe.j.Ug.prototype.gf;h=olympe.j.Ug.prototype;h.gf.K=olympe.j.J.D;h.Hm.K=olympe.j.J.O;
389
389
  h.Um.K=new olympe.j.J(()=>String,[]);h.rl.K=olympe.j.J.O;h.Hh.K=new olympe.j.J(()=>Object,[]);h.ql.K=olympe.j.J.O;h.Ow.K=olympe.j.J.O;h.qu.K=new olympe.j.J(()=>Array,[]);olympe.j.uv=class{constructor(a,b){this.T=b||olympe.j.yb();this.valueType=a||Object;this.values={};this.Ka=this.za=null;this.gd=0;this.$=Object.create(null);this.Oa=Object.create(null);this.size=0;this.R=null;this.T.onDestroy(()=>{const c=this.$;if(c){const d=Object.keys(c),e=d.length;for(let f=0;f<e;f++){const g=c[d[f]],k=Object.keys(g);for(let l=k.length,m=0;m<l;m++)g[k[m]].destroy()}}})}getContext(){return this.T}Ee(){return this.valueType}mi(a){this.valueType=a;const b=this.za;if(null!==b)for(const c in b)Object.prototype.hasOwnProperty.call(b,
390
390
  c)&&ic(b[c],a)}get(a){const b=c=>{null===this.za&&(this.za={});return this.Ww(this.za,c,this.values[c],this.valueType,'Map.get('+c+')')};return olympe.j.Xa([a],c=>b(c),this.valueType)}Fj(a){a=this.values[a];return olympe.j.Zb(a)?Sb(a.Tb)?F(a):void 0:a}has(a){const b=c=>{null===this.Ka&&(this.Ka={});return this.Ww(this.Ka,c,c in this.values?olympe.j.ia.C:olympe.j.ia.pb,olympe.j.ia,'Map.has('+c+')')};return olympe.j.Xa([a],c=>b(c),olympe.j.ia)}Ei(a){return a in this.values}Ww(a,b,c,d,e){let f=a[b];
391
- f||this.T.run(()=>{f=olympe.j.ub(d,void 0,e);a[b]=f;f.Tb.onDestroy(()=>delete a[b]);olympe.j.Zb(c)?mc(f,c):I(f,c)});return f}Vd(){throw Error('Abstract method getFirstKey needs to be overridden');}Sm(){throw Error('Abstract method getFirstKey needs to be overridden');}Qc(){null===this.R&&this.T.run(()=>{this.R=olympe.j.ub(olympe.j.aa,olympe.j.Ba(this.size));this.R.Tb.onDestroy(()=>{this.R=null})});return this.R}aj(){return this.size}forEach(a,b){const c=this.vD();a=this.kM(c,a,b);this.uD(c,a)}vD(){return String(++this.gd)}uD(a,
392
- b){this.Oa[a]=b;olympe.j.yb().Ve(()=>{const c=this.$;for(const d in c)Object.prototype.hasOwnProperty.call(c,d)&&delete c[d][a];delete this.Oa[a]});this.yi(b)}kM(a,b,c){const d=olympe.j.yb();return(e,f)=>{d.run(()=>{const g=olympe.j.createNode(void 0,b,null,[e,f,this],null,`forEach-${a}-${f}`);if(void 0!==c)g.onDestroy(()=>{c(f)});this.xD(a,f,g)})}}xD(a,b,c){void 0===this.$[b]&&(this.$[b]={});this.$[b][a]=c}yi(a){const b=this.values;for(const c in b)if(Object.prototype.hasOwnProperty.call(b,c)&&!1===
391
+ f||this.T.run(()=>{f=olympe.j.ub(d,void 0,e);a[b]=f;f.Tb.onDestroy(()=>delete a[b]);olympe.j.Zb(c)?mc(f,c):I(f,c)});return f}Vd(){throw Error('Abstract method getFirstKey needs to be overridden');}Sm(){throw Error('Abstract method getFirstKey needs to be overridden');}Qc(){null===this.R&&this.T.run(()=>{this.R=olympe.j.ub(olympe.j.aa,olympe.j.Ba(this.size));this.R.Tb.onDestroy(()=>{this.R=null})});return this.R}aj(){return this.size}forEach(a,b){const c=this.wD();a=this.kM(c,a,b);this.vD(c,a)}wD(){return String(++this.gd)}vD(a,
392
+ b){this.Oa[a]=b;olympe.j.yb().Ve(()=>{const c=this.$;for(const d in c)Object.prototype.hasOwnProperty.call(c,d)&&delete c[d][a];delete this.Oa[a]});this.yi(b)}kM(a,b,c){const d=olympe.j.yb();return(e,f)=>{d.run(()=>{const g=olympe.j.createNode(void 0,b,null,[e,f,this],null,`forEach-${a}-${f}`);if(void 0!==c)g.onDestroy(()=>{c(f)});this.yD(a,f,g)})}}yD(a,b,c){void 0===this.$[b]&&(this.$[b]={});this.$[b][a]=c}yi(a){const b=this.values;for(const c in b)if(Object.prototype.hasOwnProperty.call(b,c)&&!1===
393
393
  a(b[c],c,this))break}Vz(a,b){void 0!==this.values[a]&&this.uw(a,!0);this.values[a]=b;var c=this.za;null!==c&&void 0!==c[a]&&(b&&b instanceof olympe.j.Proxy?mc(c[a],b):I(c[a],b));c=this.Ka;null!==c&&void 0!==c[a]&&K(c[a],!0);this.size++;c=this.Oa;for(const d in c)if(Object.prototype.hasOwnProperty.call(c,d))c[d](b,a,this)}uw(a,b){const c=this.values;if(Object.prototype.hasOwnProperty.call(c,a)){var d=(d=c[a])&&d.Gh?F(d):d;var e=this.za;null!==e&&void 0!==e[a]&&kc(e[a]);e=this.Ka;null!==e&&void 0!==
394
394
  e[a]&&K(e[a],!1);delete c[a];this.size--;b||this.uo()}a=this.$[a];if(void 0!==a)for(const f in a)Object.prototype.hasOwnProperty.call(a,f)&&a[f].destroy();return d}uo(){null!==this.R&&K(this.R,this.size)}Xt(){var a=this.za;if(null!==a)for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&kc(a[c]);a=this.Ka;if(null!==a)for(var b in a)Object.prototype.hasOwnProperty.call(a,b)&&K(a[b],!1);for(const c in this.values)Object.prototype.hasOwnProperty.call(this.values,c)&&delete this.values[c];for(const c in this.$)if(Object.prototype.hasOwnProperty.call(this.$,
395
395
  c)){b=this.$[c];for(const d in b)Object.prototype.hasOwnProperty.call(b,d)&&b[d].destroy()}this.size=0;null!==this.R&&K(this.R,this.size)}jr(){const a=this.values;let b='\n';for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b+=a[c]+'\n');return b}};olympe.j.uv.Aa=[olympe.j.Kk];h=olympe.j.uv.prototype;h.getContext.K=olympe.j.J.O;h.Ee.K=olympe.j.J.O;h.mi.K=olympe.j.J.O;h.get.K=new olympe.j.J(()=>Object,[],'valueType');h.Fj.K=olympe.j.J.O;h.has.K=olympe.j.J.T;h.Ei.K=olympe.j.J.O;h.Ww.K=olympe.j.J.O;
396
- h.Qc.K=olympe.j.J.D;h.aj.K=olympe.j.J.O;h.forEach.K=new olympe.j.J(()=>{},[]);h.vD.K=olympe.j.J.O;h.uD.K=olympe.j.J.O;h.kM.K=olympe.j.J.O;h.xD.K=olympe.j.J.O;h.yi.K=olympe.j.J.O;h.Vz.K=olympe.j.J.O;h.uw.K=olympe.j.J.O;h.uo.K=olympe.j.J.O;h.Xt.K=olympe.j.J.O;h.jr.K=olympe.j.J.O;olympe.j.py=class extends olympe.j.uv{constructor(a,b){super(a,b);this.D=Object.create(null);this.C=[];this.ma=this.Pa=this.Ha=this.da=null}mi(a){super.mi(a);if(null!==this.ma)for(let b of this.ma.values())ic(b,a)}Vd(){return this.Hh(0)}Sm(){return this.Um(0)}gf(a){const b=c=>{null===this.Ha&&(this.Ha=Object.create(null));let d=this.Hm(a);d=void 0!==d?olympe.j.Ba(d):void 0;return this.Ww(this.Ha,c,d,olympe.j.aa,`List.getRank(${c})`)};return olympe.j.Zb(a)?jc(a,b,null,olympe.j.aa):b(a)}Hm(a){return this.D[a]}Um(a){const b=
396
+ h.Qc.K=olympe.j.J.D;h.aj.K=olympe.j.J.O;h.forEach.K=new olympe.j.J(()=>{},[]);h.wD.K=olympe.j.J.O;h.vD.K=olympe.j.J.O;h.kM.K=olympe.j.J.O;h.yD.K=olympe.j.J.O;h.yi.K=olympe.j.J.O;h.Vz.K=olympe.j.J.O;h.uw.K=olympe.j.J.O;h.uo.K=olympe.j.J.O;h.Xt.K=olympe.j.J.O;h.jr.K=olympe.j.J.O;olympe.j.py=class extends olympe.j.uv{constructor(a,b){super(a,b);this.D=Object.create(null);this.C=[];this.ma=this.Pa=this.Ha=this.da=null}mi(a){super.mi(a);if(null!==this.ma)for(let b of this.ma.values())ic(b,a)}Vd(){return this.Hh(0)}Sm(){return this.Um(0)}gf(a){const b=c=>{null===this.Ha&&(this.Ha=Object.create(null));let d=this.Hm(a);d=void 0!==d?olympe.j.Ba(d):void 0;return this.Ww(this.Ha,c,d,olympe.j.aa,`List.getRank(${c})`)};return olympe.j.Zb(a)?jc(a,b,null,olympe.j.aa):b(a)}Hm(a){return this.D[a]}Um(a){const b=
397
397
  c=>{const d=c.valueOf(),e=this.rl(d);null===this.Pa&&(this.Pa=Object.create(null));return this.Ww(this.Pa,String(d),e,String,'List.getKeyAt('+c+')')};return olympe.j.Xa([a],c=>b(c),String)}rl(a){return this.C[a.valueOf()]}Hh(a){if(olympe.j.Zb(a))return this.get(olympe.j.Xa([a],c=>{c=this.Um(c);if(!Sb(c.Tb)){const d=olympe.j.yb();olympe.j.$m(d)&&dc(d)}return c},String));null===this.ma&&(this.ma=new Map);let b=this.ma.get(a);b||this.T.run(()=>{b=this.get(this.Um(a));this.ma.set(a,b);b.Tb.onDestroy(()=>
398
- this.ma.delete(a))});return b}ql(a){return this.Fj(this.rl(a))}Ow(a,b,c,d){let e=this.vD();a=this.FO(e,a,b,c,d);this.uD(e,a)}FO(a,b,c,d,e){return olympe.j.yb().re((f,g)=>{let k=!1,l=olympe.j.mv([b,c,this.gf(g)],(m,n,p)=>{p>=m&&p<m+n?k||(d(f,g,this),k=!0):k&&(e(g),k=!1)});if(void 0!==e)l.onDestroy(e.bind(null,g));this.xD(a,g,l)})}qu(){null===this.da&&this.T.run(()=>{this.da=olympe.j.ub(Array,this.C.filter(a=>void 0!==a));this.da.Tb.onDestroy(()=>{this.R=null})});return this.da}yi(a){if(this.C.length!==
398
+ this.ma.delete(a))});return b}ql(a){return this.Fj(this.rl(a))}Ow(a,b,c,d){let e=this.wD();a=this.FO(e,a,b,c,d);this.vD(e,a)}FO(a,b,c,d,e){return olympe.j.yb().re((f,g)=>{let k=!1,l=olympe.j.mv([b,c,this.gf(g)],(m,n,p)=>{p>=m&&p<m+n?k||(d(f,g,this),k=!0):k&&(e(g),k=!1)});if(void 0!==e)l.onDestroy(e.bind(null,g));this.yD(a,g,l)})}qu(){null===this.da&&this.T.run(()=>{this.da=olympe.j.ub(Array,this.C.filter(a=>void 0!==a));this.da.Tb.onDestroy(()=>{this.R=null})});return this.da}yi(a){if(this.C.length!==
399
399
  this.size)super.yi(a);else{var b=this.values;for(let c of this.C.filter(d=>void 0!==d))if(Object.prototype.hasOwnProperty.call(b,c)&&!1===a(b[c],c,this))break}}Wz(a,b){const c=this.Ha,d=this.Pa,e=this.D[a],f=b.valueOf();if(e!==f||this.C[e]!==a){var g=this.C[f];void 0!==g&&delete this.D[g];void 0!==e&&null!==e&&this.C[e]===a&&(this.C[e]=void 0);this.D[a]=f;this.C[f]=a;null!==c&&(void 0!==g&&void 0!==c[g]&&kc(c[g]),void 0!==c[a]&&I(c[a],olympe.j.Ba(f)));null!==d&&(void 0!==e&&null!==e&&void 0!==d[e]&&
400
- kc(d[e]),void 0!==d[b]&&I(d[b],a))}}wD(a){var b=this.Pa,c=this.D[a];null!==c&&void 0!==c&&null!==b&&(b=b[c],void 0!==b&&F(b)===a&&kc(b));delete this.D[a];this.C.splice(c,1);c=this.Ha;null!==c&&void 0!==c[a]&&kc(c[a])}yD(){if(null!==this.da){const a=this.C,b=F(this.da);b&&a.join(',')!==b.join(',')&&I(this.da,a)}}uo(){this.yD();super.uo()}Xt(){var a=this.D;for(b in a)delete a[b];this.C.length=0;a=this.Ha;if(null!==a)for(b in a)kc(a[b]);a=this.Pa;if(null!==a)for(b in a)kc(a[parseInt(b,10)]);var b=this.da;
400
+ kc(d[e]),void 0!==d[b]&&I(d[b],a))}}xD(a){var b=this.Pa,c=this.D[a];null!==c&&void 0!==c&&null!==b&&(b=b[c],void 0!==b&&F(b)===a&&kc(b));delete this.D[a];this.C.splice(c,1);c=this.Ha;null!==c&&void 0!==c[a]&&kc(c[a])}zD(){if(null!==this.da){const a=this.C,b=F(this.da);b&&a.join(',')!==b.join(',')&&I(this.da,a)}}uo(){this.zD();super.uo()}Xt(){var a=this.D;for(b in a)delete a[b];this.C.length=0;a=this.Ha;if(null!==a)for(b in a)kc(a[b]);a=this.Pa;if(null!==a)for(b in a)kc(a[parseInt(b,10)]);var b=this.da;
401
401
  null!==b&&(bc(b.Tb),I(b,this.C));return olympe.j.uv.prototype.Xt.call(this)}jr(){const a=this.values,b=this.D;let c='[\n';for(let d in a)Object.prototype.hasOwnProperty.call(a,d)&&(c+=`${b[d]}. ${a[d]}\n`);return c+']'}};olympe.j.py.Aa=[olympe.j.Ug];h=olympe.j.py.prototype;h.mi.K=olympe.j.J.O;h.Vd.K=new olympe.j.J(()=>Object,[]);h.Sm.K=new olympe.j.J(()=>String,[]);h.gf.K=olympe.j.J.D;h.Hm.K=olympe.j.J.O;h.Um.K=new olympe.j.J(()=>String,[]);h.rl.K=olympe.j.J.O;h.Hh.K=new olympe.j.J(()=>Object,[]);
402
- h.ql.K=olympe.j.J.O;h.Ow.K=new olympe.j.J(()=>{},[]);h.FO.K=olympe.j.J.O;h.qu.K=new olympe.j.J(()=>Array,[]);h.yi.K=olympe.j.J.O;h.Wz.K=olympe.j.J.O;h.wD.K=olympe.j.J.O;h.yD.K=olympe.j.J.O;h.uo.K=olympe.j.J.O;h.Xt.K=olympe.j.J.O;h.jr.K=olympe.j.J.O;olympe.j.Map=class extends olympe.j.uv{constructor(a){a===olympe.j.Proxy&&(a=Object);super(a);this.C=this.D=null}mi(a){a===olympe.j.Proxy&&(a=Object);null!==this.D&&ic(this.D,a);super.mi(a)}Vd(){null===this.D&&this.ID();return this.D}Sm(){null===this.C&&this.ID();return this.C}ID(){this.getContext().run(()=>{this.D=olympe.j.ub(this.Ee());this.C=olympe.j.ub(String);this.Ix(this.MD())})}MD(){const a=this.values;let b,c;for(b in a)if(Object.prototype.hasOwnProperty.call(a,b)){c=b;break}return c}Ix(a){if(void 0!==
403
- a){const b=this.values[a];b&&b instanceof olympe.j.Proxy?mc(this.D,b):I(this.D,b);I(this.C,a)}else void 0!==F(this.D)&&(kc(this.D),kc(this.C))}set(a,b){this.Vz(a,b);1===this.size&&null!==this.C&&this.Ix(a);this.uo()}remove(a){const b=this.uw(a);null!==this.C&&F(this.C)===a&&this.Ix(this.MD());return b}clear(){this.Xt();null!==this.C&&this.Ix()}};h=olympe.j.Map.prototype;h.mi.K=olympe.j.J.O;h.Vd.K=new olympe.j.J(()=>Object,[]);h.Sm.K=new olympe.j.J(()=>String,[]);h.ID.K=olympe.j.J.O;h.MD.K=olympe.j.J.O;
404
- h.Ix.K=olympe.j.J.O;h.set.K=olympe.j.J.O;h.remove.K=new olympe.j.J(()=>Object,[]);h.clear.K=olympe.j.J.O;olympe.j.Be=class extends olympe.j.py{constructor(a){super(a)}set(a,b,c){this.Vz(a,b);void 0!==c&&olympe.j.Wa([c],d=>{this.Wz(a,d)});this.uo()}Cs(a,b){olympe.j.Wa([b],c=>{this.Wz(a,c);this.yD()})}remove(a){this.wD(a);return this.uw(a)}clear(){this.Xt()}};olympe.j.Be.prototype.remove.K=olympe.j.J.O;olympe.j.Be.prototype.clear.K=olympe.j.J.O;olympe.j.PP=class extends olympe.j.Ty{constructor(a,b){super(olympe.j.aa,'animatedFlowSource');this.duration=a;this.D=b||olympe.j.aa.Dh.qJ}wa(){return olympe.j.Gi(this.C,this.duration,this.D,void 0)}};let Gc=null;olympe.j.V=void 0;olympe.j.vE=void 0;olympe.j.fu=void 0;olympe.j.Wt=new Map;olympe.j.Wt.set(0,olympe.j.aa.ZERO);olympe.j.Wt.set(1,olympe.j.aa.ONE);olympe.j.Wt.set(2,olympe.j.aa.uL);olympe.j.Uz=new Map;olympe.j.Uz.set('',olympe.j.kb.EMPTY);olympe.j.Uz.set(' ',olympe.j.kb.cD);olympe.j.createNode=function(a,b,c,d,e,f,g,k){return new olympe.j.Node({valueType:a,Jh:b,Zo:c,cE:d,debug:g,Xp:e,Bd:f,Dw:k})};olympe.j.$m=function(a){return a instanceof olympe.j.Node};
405
- olympe.j.ub=function(a,b,c){a=olympe.j.createNode(a,void 0,void 0,void 0,void 0,c);olympe.j.$m(b)?ec(a,b):olympe.j.Zb(b)?ec(a,b.Tb):Ub(a,b);return Wb(a)};olympe.j.Zb=function(a){return!(!a||!a.Gh)};olympe.j.Mg=function(a){return!(!a||!(a instanceof olympe.j.Node||a.Gh))};olympe.j.gE=function(a){return a instanceof olympe.j.ee||a instanceof olympe.j.EK||a instanceof olympe.j.Node};olympe.j.ds=function(a){return a instanceof olympe.j.Ty};
402
+ h.ql.K=olympe.j.J.O;h.Ow.K=new olympe.j.J(()=>{},[]);h.FO.K=olympe.j.J.O;h.qu.K=new olympe.j.J(()=>Array,[]);h.yi.K=olympe.j.J.O;h.Wz.K=olympe.j.J.O;h.xD.K=olympe.j.J.O;h.zD.K=olympe.j.J.O;h.uo.K=olympe.j.J.O;h.Xt.K=olympe.j.J.O;h.jr.K=olympe.j.J.O;olympe.j.Map=class extends olympe.j.uv{constructor(a){a===olympe.j.Proxy&&(a=Object);super(a);this.C=this.D=null}mi(a){a===olympe.j.Proxy&&(a=Object);null!==this.D&&ic(this.D,a);super.mi(a)}Vd(){null===this.D&&this.JD();return this.D}Sm(){null===this.C&&this.JD();return this.C}JD(){this.getContext().run(()=>{this.D=olympe.j.ub(this.Ee());this.C=olympe.j.ub(String);this.Ix(this.ND())})}ND(){const a=this.values;let b,c;for(b in a)if(Object.prototype.hasOwnProperty.call(a,b)){c=b;break}return c}Ix(a){if(void 0!==
403
+ a){const b=this.values[a];b&&b instanceof olympe.j.Proxy?mc(this.D,b):I(this.D,b);I(this.C,a)}else void 0!==F(this.D)&&(kc(this.D),kc(this.C))}set(a,b){this.Vz(a,b);1===this.size&&null!==this.C&&this.Ix(a);this.uo()}remove(a){const b=this.uw(a);null!==this.C&&F(this.C)===a&&this.Ix(this.ND());return b}clear(){this.Xt();null!==this.C&&this.Ix()}};h=olympe.j.Map.prototype;h.mi.K=olympe.j.J.O;h.Vd.K=new olympe.j.J(()=>Object,[]);h.Sm.K=new olympe.j.J(()=>String,[]);h.JD.K=olympe.j.J.O;h.ND.K=olympe.j.J.O;
404
+ h.Ix.K=olympe.j.J.O;h.set.K=olympe.j.J.O;h.remove.K=new olympe.j.J(()=>Object,[]);h.clear.K=olympe.j.J.O;olympe.j.Be=class extends olympe.j.py{constructor(a){super(a)}set(a,b,c){this.Vz(a,b);void 0!==c&&olympe.j.Wa([c],d=>{this.Wz(a,d)});this.uo()}Cs(a,b){olympe.j.Wa([b],c=>{this.Wz(a,c);this.zD()})}remove(a){this.xD(a);return this.uw(a)}clear(){this.Xt()}};olympe.j.Be.prototype.remove.K=olympe.j.J.O;olympe.j.Be.prototype.clear.K=olympe.j.J.O;olympe.j.PP=class extends olympe.j.Ty{constructor(a,b){super(olympe.j.aa,'animatedFlowSource');this.duration=a;this.D=b||olympe.j.aa.Dh.qJ}wa(){return olympe.j.Gi(this.C,this.duration,this.D,void 0)}};let Gc=null;olympe.j.V=void 0;olympe.j.wE=void 0;olympe.j.fu=void 0;olympe.j.Wt=new Map;olympe.j.Wt.set(0,olympe.j.aa.ZERO);olympe.j.Wt.set(1,olympe.j.aa.ONE);olympe.j.Wt.set(2,olympe.j.aa.uL);olympe.j.Uz=new Map;olympe.j.Uz.set('',olympe.j.kb.EMPTY);olympe.j.Uz.set(' ',olympe.j.kb.dD);olympe.j.createNode=function(a,b,c,d,e,f,g,k){return new olympe.j.Node({valueType:a,Jh:b,Zo:c,dE:d,debug:g,Xp:e,Bd:f,Dw:k})};olympe.j.$m=function(a){return a instanceof olympe.j.Node};
405
+ olympe.j.ub=function(a,b,c){a=olympe.j.createNode(a,void 0,void 0,void 0,void 0,c);olympe.j.$m(b)?ec(a,b):olympe.j.Zb(b)?ec(a,b.Tb):Ub(a,b);return Wb(a)};olympe.j.Zb=function(a){return!(!a||!a.Gh)};olympe.j.Mg=function(a){return!(!a||!(a instanceof olympe.j.Node||a.Gh))};olympe.j.hE=function(a){return a instanceof olympe.j.ee||a instanceof olympe.j.EK||a instanceof olympe.j.Node};olympe.j.ds=function(a){return a instanceof olympe.j.Ty};
406
406
  olympe.j.cg=function(a,b){if(void 0!==a){olympe.j.ds(a)&&(a=a.wa().Tb);if(!olympe.j.Mg(a))return b(a);var c=[];olympe.j.Zb(a)?c.push(a.Tb):c.push(a);return olympe.j.createNode(void 0,b,null,c,[0],'onResolved')}};olympe.j.Qa=function(a,b){let c=a;olympe.j.Zb(a)?c=F(a):olympe.j.$m(a)?c=a.pg:olympe.j.ds(a)&&(c=F(a.wa()));return void 0===c?b:c};olympe.j.kj=function(a,b){let c;olympe.j.Zb(a)?c=a.Tb:olympe.j.$m(a)?c=a:olympe.j.ds(a)&&(c=a.wa().Tb);c&&olympe.j.Wa([b],d=>{c.kj(d)},'setDefaultValue');return a};
407
407
  olympe.j.mv=function(a,b,c,d){const e=a.length,f=Array(e),g=[];let k;for(let l=0;l<e;l++)k=a[l],void 0!==k&&null!==k&&(void 0!==k.iM?(k=k.Tb,g.push(l)):k instanceof olympe.j.Node?g.push(l):olympe.j.ds(k)&&(k=k.wa().Tb,g.push(l))),f[l]=k;return olympe.j.createNode(c,b,null,f,g,d||'syncNodes')};olympe.j.di=function(a,b,c,d){return Wb(olympe.j.mv(a,b,c,d||'syncProxies'))};const Hc=a=>{for(const b of a)if(olympe.j.Mg(b)||olympe.j.ds(b))return!1;return!0};
408
408
  olympe.j.Xa=function(a,b,c,d,e){if(Hc(a))return b(...a);const f=olympe.j.mv(a,b,c,d||'TransformFlows');e&&olympe.j.Wa([e],g=>{f.kj(g)},'setDefaultValue');return Wb(f)};olympe.j.Wa=function(a,b,c){Hc(a)?b(...a):olympe.j.mv(a,b,void 0,c||'processFlows')};olympe.j.P2=function(a,b,c){const d=olympe.j.$m(a)?a.Ee():olympe.j.ds(a)?a.wa().Vt:a.Vt,e=olympe.j.Za(d,c),f=olympe.oa.Promise.dA(g=>{e.getContext().lc()||e.update(g)},b);olympe.j.Wa([a],g=>f(g).then());return e.wa()};
409
- olympe.j.ls=function(a,b){if(Hc(a))b(...a);else{const c=olympe.j.yb();olympe.j.mv(a,(...d)=>{olympe.j.yb().destroy();c.run(b,...d)},void 0,'processFlowsOnce')}};olympe.j.Fl=function(a,b,c){const d=a.length,e=Array(d),f=[];let g;for(let k=0;k<d;k++)g=a[k],void 0!==g&&null!==g&&(olympe.j.Zb(g)?(g=g.Tb,f.push(k)):g instanceof olympe.j.Node?f.push(k):olympe.j.ds(g)&&(g=g.wa().Tb,f.push(k))),e[k]=g;0!==f.length&&new olympe.j.Node({Jh:b,cE:e,Xp:f,uY:!1,Bd:c})};
409
+ olympe.j.ls=function(a,b){if(Hc(a))b(...a);else{const c=olympe.j.yb();olympe.j.mv(a,(...d)=>{olympe.j.yb().destroy();c.run(b,...d)},void 0,'processFlowsOnce')}};olympe.j.Fl=function(a,b,c){const d=a.length,e=Array(d),f=[];let g;for(let k=0;k<d;k++)g=a[k],void 0!==g&&null!==g&&(olympe.j.Zb(g)?(g=g.Tb,f.push(k)):g instanceof olympe.j.Node?f.push(k):olympe.j.ds(g)&&(g=g.wa().Tb,f.push(k))),e[k]=g;0!==f.length&&new olympe.j.Node({Jh:b,dE:e,Xp:f,uY:!1,Bd:c})};
410
410
  olympe.j.QO=function(a,b){const c=olympe.j.yb();olympe.j.Fl(a,(...d)=>{olympe.j.yb().destroy();c.run(b,...d)},'processFutureFlowsOnce')};olympe.j.N2=function(a,b,c){a=new olympe.j.Ty(a,c);b(a);return a.wa()};olympe.j.Za=function(a,b='flowSource'){return new olympe.j.Ty(a,b)};olympe.j.x3=function(a,b,c,d){const e=olympe.j.yb();olympe.j.mv(a,(...f)=>{olympe.j.yb().destroy();e.run(b,...f)},c,d||'syncProxiesOnce')};
411
411
  olympe.j.$a=function(a,b,c,d,e,f){return olympe.j.Xa([a],g=>g.valueOf()?b.apply(null,e):c&&c.apply(null,e),d||Object,f||'If')};olympe.j.a3=function(a,b,c='from observable'){const d=olympe.j.Za(b,c),e=a.subscribe(f=>d.update(f));d.getContext().onDestroy(()=>e.unsubscribe());return d.wa()};olympe.j.W2=function(a,b,...c){return a?a.run(b,...c):b(...c)};olympe.j.B3=function(a){return olympe.j.yb().re(a)};olympe.j.U2=function(a,b,c){olympe.j.VV(a?a.Tb:a,b,c)};
412
412
  olympe.j.VV=function(a,b,c){if(a){var d=a.ja();null===Gc&&(Gc={});if(Gc[d])olympe.j.V.log(`Already started node #${d} dump`+(b?`: ${b}`:''));else{Gc[d]=!0;var e=`Starting node #${d} dump`+(b?`: ${b}`:'');c?olympe.j.V.warn(e):olympe.j.V.log(e);var f=`#${d}`+(b?`: ${b}`:'')+':';c=olympe.j.createNode(null,g=>{void 0===g?olympe.j.V.log(f,'undefined'):null===g?olympe.j.V.log(f,'null'):olympe.j.V.log(f,String(g))},null,[a],[0],'DataFlowDump');a.onDestroy(()=>{olympe.j.V.log(`Node #${d} destroyed`+(b?`: ${b}`:
413
- ''))});c.onDestroy(()=>{delete Gc[d]})}}else olympe.j.V.log('NOT starting node dump, node is '+String(a))};olympe.j.T2=function(){let a='',b=olympe.j.yb();for(;null!==b;)a+=b.PD()+' --\x3e ',b=b.getParent();olympe.j.V.log(a)};
413
+ ''))});c.onDestroy(()=>{delete Gc[d]})}}else olympe.j.V.log('NOT starting node dump, node is '+String(a))};olympe.j.T2=function(){let a='',b=olympe.j.yb();for(;null!==b;)a+=b.QD()+' --\x3e ',b=b.getParent();olympe.j.V.log(a)};
414
414
  olympe.j.Ba=function(a){if(void 0===a)return olympe.j.aa.ZERO;if(a instanceof olympe.j.aa)return a;a&&a.valueOf&&(a=a.valueOf());if('number'===typeof a){if(isNaN(a))return olympe.j.aa.JJ;if(a===Math.PI)return olympe.j.aa.PI;if(Infinity===a)return olympe.j.aa.mR;if(-Infinity===a)return olympe.j.aa.TS;if(isNaN(a))var b=!1;else b=parseFloat(a),b=(b|0)===b;return b&&-1<=a&&100>=a?(olympe.j.Wt.has(a)||olympe.j.Wt.set(a,new olympe.j.aa(a)),olympe.j.Wt.get(a)):new olympe.j.aa(a)}return null};
415
415
  olympe.j.la=function(a){return void 0===a?olympe.j.ub(olympe.j.aa):olympe.j.ub(olympe.j.aa,olympe.j.Mg(a)?a:olympe.j.Ba(a))};olympe.j.Gi=olympe.j.aa.animate;olympe.j.n3=function(a,b){return new olympe.j.PP(a,b)};olympe.j.ic=function(a){if(a instanceof olympe.j.kb)return a;a instanceof Object&&(a=a.valueOf());const b=typeof a;if('string'===b||'number'===b||'boolean'===b)return a=String(a),olympe.j.Uz.has(a)?olympe.j.Uz.get(a):new olympe.j.kb(a)};
416
416
  olympe.j.Ab=function(a){return void 0===a?olympe.j.ub(olympe.j.kb):olympe.j.ub(olympe.j.kb,olympe.j.Mg(a)?a:olympe.j.ic(a))};olympe.j.hc=function(a){return a instanceof olympe.j.ia?a:void 0!==a&&null!==a&&a.valueOf()?olympe.j.ia.C:olympe.j.ia.pb};olympe.j.Wc=function(a){return void 0===a?olympe.j.ub(olympe.j.ia):olympe.j.ub(olympe.j.ia,olympe.j.Mg(a)?a:olympe.j.hc(a))};olympe.j.o3=function(a){if(a instanceof Date)return uc(a)};
417
417
  olympe.j.oY=function(){var a=new Date;return olympe.j.ub(olympe.j.ac,void 0!==a?uc(a):null)};olympe.j.CO=a=>a instanceof olympe.j.ia||a instanceof olympe.j.aa||a instanceof olympe.j.kb||a instanceof olympe.j.ac;olympe.j.dd=function(a,b){return olympe.j.ub(olympe.j.ga,void 0===a&&void 0===b?void 0:new olympe.j.ga(a,b))};olympe.j.qd=function(a,b,c,d){let e;void 0!==a&&(a instanceof olympe.j.Color?e=a:e=olympe.j.Color.create(a,b,c,d));return olympe.j.ub(olympe.j.Color,e)};olympe.j.r3=olympe.j.qd;
418
- olympe.j.MV=function(a){olympe.j.V=a;olympe.j.fu=olympe.j.Eo()};olympe.j.Eo=function(){olympe.j.vE||(olympe.j.vE=new olympe.j.EK);return olympe.j.vE};olympe.j.yb=function(){olympe.j.fu||(olympe.j.fu=olympe.j.Eo());return olympe.j.fu};olympe.j.ZO=function(a){const b=olympe.j.fu;olympe.j.gE(a)&&(olympe.j.fu=a);return null!=b?b:null};
418
+ olympe.j.MV=function(a){olympe.j.V=a;olympe.j.fu=olympe.j.Eo()};olympe.j.Eo=function(){olympe.j.wE||(olympe.j.wE=new olympe.j.EK);return olympe.j.wE};olympe.j.yb=function(){olympe.j.fu||(olympe.j.fu=olympe.j.Eo());return olympe.j.fu};olympe.j.ZO=function(a){const b=olympe.j.fu;olympe.j.hE(a)&&(olympe.j.fu=a);return null!=b?b:null};
419
419
  olympe.j.ke=a=>{a='string'===typeof a?JSON.parse(a):a;if(a.type){let b=null;switch(a.type){case 'dateTime':b=olympe.j.ac.ke(a);break;case 'number':b=olympe.j.aa.ke(a);break;case 'string':b=olympe.j.kb.ke(a);break;case 'vector2':b=olympe.j.ga.ke(a);break;case 'color':b=olympe.j.Color.ke(a);break;case 'boolean':b=olympe.j.ia.ke(a)}return b}return null};function Ic(a){a.O.lc()||(a.D.forEach(b=>{b.destroy()}),a.D.clear(),a.T.clear(),a.size.clear(),a.W.clear(),a.C.length=0,a.R.length=0)}function Jc(a,b,c){Kc(a,c).push(b)}
420
420
  function Lc(a){for(var b=a.C.length-1;0<=b&&0===a.C[b].length;b--)a.C.length=b;b=0;let c=a.R.length,d=0,e=a.C.length,f=null;const g=[];for(;b<c||d<e;){const k=d<e&&a.C[d++][0]||b<c&&a.R[b++]||null;if(null===k)break;g.push(k.ja());k.nP(f);f=k}b=g.length-1;a.D.forEach((k,l)=>{g.includes(l)||k.JH()});a.W.update(olympe.j.Ba(b));0>b?a.T.clear():a.T.update(a.D.get(g[b]))}
421
421
  function Mc(a,b){if(!a.O.lc()){var c=a.D.get(b);void 0!==c&&(c.MA()?a.R.splice(a.R.indexOf(c),1):Nc(a,c),a.D.delete(b),c.destroy(),Lc(a))}}
422
422
  function Oc(a,b,c=olympe.j.aa.ONE,d){if(a.D.has(b))throw Error('Already existing slot with id: '+b);var e=olympe.j.Qa(a.W)+1;const f=olympe.j.Qa(d,e).valueOf();e=a.O.run(()=>new Pc(b,c,f,void 0===d));a.D.set(b,e);e.MA()?a.R.push(e):Jc(a,e,f);Lc(a);olympe.j.Mg(d)&&olympe.j.Fl([d],g=>{g=g.valueOf();if(!a.O.lc()){var k=a.D.get(b);if(void 0!==k){if(k.MA())throw Error('SlotManager: Cannot move explicitly an auto ranked entry');Nc(a,k);k.DP(g);Jc(a,k,g);Lc(a)}}});olympe.j.yb().Ve(()=>{Mc(a,b)});return e.bO()}
423
423
  function Nc(a,b){a=Kc(a,b.gf());a.splice(a.indexOf(b),1)}function Kc(a,b){var c=a.C[b];if(void 0===c){c=b;let d;for(;0<=c&&void 0===d;)a.C[c]=[],c--,d=a.C[c];c=a.C[b]}return c}
424
- olympe.j.Hz=class{constructor(){this.O=new olympe.j.ee('Slot Manager context');this.D=new Map;this.O.run(()=>{this.T=olympe.j.Za(Pc,'Last slot manager entry');this.size=M(olympe.j.Za(olympe.j.aa,'SlotManager size').repeat(this.T.wa().QD()),olympe.j.aa.ZERO);this.W=M(olympe.j.Za(olympe.j.aa,'last valid slots'),olympe.j.Ba(-1))});this.C=[];this.R=[];this.O.onDestroy(()=>{Ic(this)})}Qc(){return this.size.wa()}};
425
- class Pc{constructor(a,b,c,d){this.id=a;this.D=new olympe.j.ee('Slot manager entry');this.O=c;this.T=d;this.D.run(()=>{const e=M(olympe.j.Za(olympe.j.aa),olympe.j.aa.ZERO);olympe.j.Zb(b)?e.repeat(b):e.update(b);this.C=olympe.j.Za(olympe.j.aa);this.R=this.C.wa().Sa(e.wa())});this.next=null}ja(){return this.id}bO(){return this.C.wa()}QD(){return this.R}gf(){return this.O}MA(){return this.T}DP(a){this.O=a}nP(a){null===a?this.C.update(olympe.j.aa.ZERO):(this.C.repeat(a.QD()),a.next=this)}JH(){this.C.clear();
426
- this.next=null}destroy(){this.D.destroy();this.R=this.C=this.next=null}}h=Pc.prototype;h.ja.K=olympe.j.J.O;h.bO.K=new olympe.j.J(()=>olympe.j.aa);h.QD.K=new olympe.j.J(()=>olympe.j.aa);h.gf.K=olympe.j.J.O;h.MA.K=olympe.j.J.O;h.DP.K=olympe.j.J.O;h.nP.K=olympe.j.J.O;h.JH.K=olympe.j.J.O;h.destroy.K=olympe.j.J.O;olympe.j.ba={Vb:'df.Logger'};olympe.sa.$e(a=>{E(a,olympe.j.pa.KJ,Number.POSITIVE_INFINITY);C(a,olympe.j.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('df'))},'olympe.df');olympe.sa.run([olympe.j.ba.Vb],a=>{olympe.j.MV(a)},'olympe.df');olympe.host={};const Qc=new Map,Rc=new Map;olympe.host.Xc=class{static register(a,b,...c){Qc.set(a,b);0<c.length&&Rc.set(a,c)}static create(a,b,c,d){const e=Qc.get(a);if(void 0===e)throw Error('Undefined UI element type: '+a);a=Rc.get(a);return void 0!==a?new e(b,c,...a.map(f=>Na(d,f))):new e(b,c)}};function Sc(a,b,c){a.V.debug('CREATE #',b,', type=',c);a.C.set(b,olympe.host.Xc.create(c,b,a.V,a.R))}function Tc(a,b,c,...d){const e=a.C.get(b);if(void 0!==e){a.V.R()<=olympe.gb.Ge.C.tp&&a.V.debug('CALL #'+b+', '+c+'('+Array.prototype.slice.call(d,0)+')');b=[];for(const f of d)if(void 0===f||null===f)b.push(f);else if(olympe.j.Zb(f))b.push(a.C.get(f.tD)||null);else if('function'===typeof f){const g=f,k=olympe.j.yb();b.push((...l)=>{k.lc()||g(...l)})}else b.push(f.valueOf());e[c].apply(e,b)}}
424
+ olympe.j.Hz=class{constructor(){this.O=new olympe.j.ee('Slot Manager context');this.D=new Map;this.O.run(()=>{this.T=olympe.j.Za(Pc,'Last slot manager entry');this.size=M(olympe.j.Za(olympe.j.aa,'SlotManager size').repeat(this.T.wa().RD()),olympe.j.aa.ZERO);this.W=M(olympe.j.Za(olympe.j.aa,'last valid slots'),olympe.j.Ba(-1))});this.C=[];this.R=[];this.O.onDestroy(()=>{Ic(this)})}Qc(){return this.size.wa()}};
425
+ class Pc{constructor(a,b,c,d){this.id=a;this.D=new olympe.j.ee('Slot manager entry');this.O=c;this.T=d;this.D.run(()=>{const e=M(olympe.j.Za(olympe.j.aa),olympe.j.aa.ZERO);olympe.j.Zb(b)?e.repeat(b):e.update(b);this.C=olympe.j.Za(olympe.j.aa);this.R=this.C.wa().Sa(e.wa())});this.next=null}ja(){return this.id}bO(){return this.C.wa()}RD(){return this.R}gf(){return this.O}MA(){return this.T}DP(a){this.O=a}nP(a){null===a?this.C.update(olympe.j.aa.ZERO):(this.C.repeat(a.RD()),a.next=this)}JH(){this.C.clear();
426
+ this.next=null}destroy(){this.D.destroy();this.R=this.C=this.next=null}}h=Pc.prototype;h.ja.K=olympe.j.J.O;h.bO.K=new olympe.j.J(()=>olympe.j.aa);h.RD.K=new olympe.j.J(()=>olympe.j.aa);h.gf.K=olympe.j.J.O;h.MA.K=olympe.j.J.O;h.DP.K=olympe.j.J.O;h.nP.K=olympe.j.J.O;h.JH.K=olympe.j.J.O;h.destroy.K=olympe.j.J.O;olympe.j.ba={Vb:'df.Logger'};olympe.sa.$e(a=>{E(a,olympe.j.pa.KJ,Number.POSITIVE_INFINITY);C(a,olympe.j.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('df'))},'olympe.df');olympe.sa.run([olympe.j.ba.Vb],a=>{olympe.j.MV(a)},'olympe.df');olympe.host={};const Qc=new Map,Rc=new Map;olympe.host.Xc=class{static register(a,b,...c){Qc.set(a,b);0<c.length&&Rc.set(a,c)}static create(a,b,c,d){const e=Qc.get(a);if(void 0===e)throw Error('Undefined UI element type: '+a);a=Rc.get(a);return void 0!==a?new e(b,c,...a.map(f=>Na(d,f))):new e(b,c)}};function Sc(a,b,c){a.V.debug('CREATE #',b,', type=',c);a.C.set(b,olympe.host.Xc.create(c,b,a.V,a.R))}function Tc(a,b,c,...d){const e=a.C.get(b);if(void 0!==e){a.V.R()<=olympe.gb.Ge.C.tp&&a.V.debug('CALL #'+b+', '+c+'('+Array.prototype.slice.call(d,0)+')');b=[];for(const f of d)if(void 0===f||null===f)b.push(f);else if(olympe.j.Zb(f))b.push(a.C.get(f.uD)||null);else if('function'===typeof f){const g=f,k=olympe.j.yb();b.push((...l)=>{k.lc()||g(...l)})}else b.push(f.valueOf());e[c].apply(e,b)}}
427
427
  function Uc(a,b,c){++a.O;const d=a.O;Sc(a,d,c);const e=olympe.j.createNode(b,void 0,void 0,void 0,void 0,'Native('+d+')',!1,function(){var f=arguments.length-2;const g=Array.from({length:f}),k=[],l=arguments[f+1],m=d+'_'+l;this.D.has(m)&&this.D.get(m).destroy();for(let n=0;n<f;n++){let p=arguments[n];olympe.j.Zb(p)?(k.push(n),p=p.Tb):olympe.j.$m(p)&&k.push(n);g[n]=p}0===k.length?e.run(()=>{Tc(this,d,l,...g)}):(f=olympe.j.createNode(void 0,(...n)=>{e.run(()=>{Tc(this,d,l,...n)})},void 0,g,k,'Native('+
428
- d+').'+l),this.D.set(m,f),f.onDestroy(()=>this.D.delete(m)));return null}.bind(a));e.Ve(a.T.bind(a,d));a=Wb(e);a.tD=d;Ub(e,a);return a}olympe.host.Cc=class{constructor(a,b){this.V=a;this.R=b;this.O=0;this.C=new Map;this.D=new Map;a.debug('Starting host manager')}Cb(){return this.V}T(a){this.V.debug('DESTROY #',a);const b=this.C.get(a);this.C.delete(a);b.destroy()}};function Q(a,b){return a.Hg.run(b)}function Vc(a,b){return a.Hg.re(b)}olympe.host.Ui=class{constructor(a){this.Yh=a;this.Hg=olympe.j.yb()}vg(){return this.Yh}$f(){return this.Yh.Tb.$f()||this.Hg.$f()}lc(){return this.Yh.Tb.lc()}};olympe.host.Ui.prototype.vg.K=new olympe.j.J(()=>olympe.host.ab.Ui,[]);olympe.host.Kz=class{D(){}C(){}R(){}};olympe.host.gR=class{an(){}};function Wc(a,b,c){var d=olympe.host.wn;const e=c||olympe.oa.bf(),f=new olympe.j.ee('onTimeout context');d.C.$(b,e,()=>{f.lc()||f.$f()||f.run(a);d.C.C(e)});return new olympe.host.Th.D(d.C,e,f)}function Xc(a){var b=olympe.host.wn;a=a instanceof olympe.host.Th.D?a.ja():a;b.C.C(a)}function Yc(a,b){var c=olympe.host.wn;const d=olympe.oa.bf(),e=new olympe.j.ee('onInterval context');c.C.W(b,d,()=>{e.lc()||e.$f()?c.C.R(d):e.run(a)})}olympe.host.Th=class{constructor(a){this.C=Uc(a,olympe.host.ab.Th,olympe.host.ab.jb.CL)}};
429
- olympe.host.Th.C=class{constructor(a,b,c){this.wn=a;this.id=b;this.C=null!=c?c:null}ja(){return this.id}cancel(){}};olympe.host.Th.R=class extends olympe.host.Th.C{cancel(){this.wn.T(this.id);let a;null==(a=this.C)||a.destroy();this.C=null}};olympe.host.Th.D=class extends olympe.host.Th.C{cancel(){this.wn.C(this.id);let a;null==(a=this.C)||a.destroy();this.C=null}};olympe.host.Th.O=class extends olympe.host.Th.C{cancel(){this.wn.R(this.id);let a;null==(a=this.C)||a.destroy();this.C=null}};olympe.host.WC=class{};olympe.host.WC.C={LIVENESS:'liveness',READINESS:'readiness',ALL:'all'};olympe.host.ab={};olympe.host.ab.Ui=class{destroy(){}};olympe.host.ab.Ui.prototype.destroy=olympe.host.ab.Ui.prototype.destroy;olympe.host.ab.jb={BF:100,UP:101,LZ:102,DF:103,CF:104,KZ:105,WK:201,Ez:202,pU:204,u1:205,UK:206,VK:207,XK:208,YK:209,ZK:210,$K:211,eD:212,t1:218,s1:219,aL:220,TK:221,SK:222,E1:300,F1:301,G1:302,pL:303,K1:304,L1:305,H1:310,I1:311,J1:312,N0:400,O0:401,P0:402,A0:450,CJ:500,AJ:501,EJ:502,DJ:503,BJ:504,RS:505,f2:600,W1:601,a2:602,S1:603,T1:604,Q1:605,V1:606,m2:607,d2:608,N1:609,R1:610,U1:611,c2:612,h2:613,O1:614,g2:615,b2:616,l2:617,X1:618,Y1:619,Z1:620,e2:630,P1:631,i2:632,j2:633,aM:700,EL:701,FL:702,
428
+ d+').'+l),this.D.set(m,f),f.onDestroy(()=>this.D.delete(m)));return null}.bind(a));e.Ve(a.T.bind(a,d));a=Wb(e);a.uD=d;Ub(e,a);return a}olympe.host.Cc=class{constructor(a,b){this.V=a;this.R=b;this.O=0;this.C=new Map;this.D=new Map;a.debug('Starting host manager')}Cb(){return this.V}T(a){this.V.debug('DESTROY #',a);const b=this.C.get(a);this.C.delete(a);b.destroy()}};function Q(a,b){return a.Hg.run(b)}function Vc(a,b){return a.Hg.re(b)}olympe.host.Ui=class{constructor(a){this.Yh=a;this.Hg=olympe.j.yb()}vg(){return this.Yh}$f(){return this.Yh.Tb.$f()||this.Hg.$f()}lc(){return this.Yh.Tb.lc()}};olympe.host.Ui.prototype.vg.K=new olympe.j.J(()=>olympe.host.ab.Ui,[]);olympe.host.Kz=class{D(){}C(){}R(){}};olympe.host.gR=class{an(){}};function Wc(a,b,c){var d=olympe.host.wn;const e=c||olympe.oa.bf(),f=new olympe.j.ee('onTimeout context');d.C.$(b,e,()=>{f.lc()||f.$f()||f.run(a);d.C.C(e)});return new olympe.host.Th.D(d.C,e,f)}function Xc(a){var b=olympe.host.wn;a=a instanceof olympe.host.Th.D?a.ja():a;b.C.C(a)}function Yc(a,b){var c=olympe.host.wn;const d=olympe.oa.bf(),e=new olympe.j.ee('onInterval context');c.C.W(b,d,()=>{e.lc()||e.$f()?c.C.R(d):e.run(a)})}olympe.host.Th=class{constructor(a){this.C=Uc(a,olympe.host.ab.Th,olympe.host.ab.jb.CL)}};
429
+ olympe.host.Th.C=class{constructor(a,b,c){this.wn=a;this.id=b;this.C=null!=c?c:null}ja(){return this.id}cancel(){}};olympe.host.Th.R=class extends olympe.host.Th.C{cancel(){this.wn.T(this.id);let a;null==(a=this.C)||a.destroy();this.C=null}};olympe.host.Th.D=class extends olympe.host.Th.C{cancel(){this.wn.C(this.id);let a;null==(a=this.C)||a.destroy();this.C=null}};olympe.host.Th.O=class extends olympe.host.Th.C{cancel(){this.wn.R(this.id);let a;null==(a=this.C)||a.destroy();this.C=null}};olympe.host.XC=class{};olympe.host.XC.C={LIVENESS:'liveness',READINESS:'readiness',ALL:'all'};olympe.host.ab={};olympe.host.ab.Ui=class{destroy(){}};olympe.host.ab.Ui.prototype.destroy=olympe.host.ab.Ui.prototype.destroy;olympe.host.ab.jb={CF:100,UP:101,LZ:102,EF:103,DF:104,KZ:105,WK:201,Ez:202,pU:204,u1:205,UK:206,VK:207,XK:208,YK:209,ZK:210,$K:211,fD:212,t1:218,s1:219,aL:220,TK:221,SK:222,E1:300,F1:301,G1:302,pL:303,K1:304,L1:305,H1:310,I1:311,J1:312,N0:400,O0:401,P0:402,A0:450,CJ:500,AJ:501,EJ:502,DJ:503,BJ:504,RS:505,f2:600,W1:601,a2:602,S1:603,T1:604,Q1:605,V1:606,m2:607,d2:608,N1:609,R1:610,U1:611,c2:612,h2:613,O1:614,g2:615,b2:616,l2:617,X1:618,Y1:619,Z1:620,e2:630,P1:631,i2:632,j2:633,aM:700,EL:701,FL:702,
430
430
  GL:703,IL:704,JL:705,KL:706,HL:707,ML:708,LL:709,NL:710,RL:711,ZL:712,OL:713,PL:714,SL:715,TL:716,VL:717,WL:718,YL:719,UL:720,XL:721,$L:722,QL:723,bM:724,cM:725,CL:800};olympe.host.ab.Th=class{T(){}$(){}C(){}W(){}R(){}};olympe.host.ba={Lt:'host.System',hH:'host.HistoryManager',GK:'host.Scheduler',Vb:'host.platform.Logger',Ob:'host.Manager',fo:'host.ProcessManager'};olympe.host.pa={Cz:'role',iH:'host.currentHost',W0:'host.processProbe',n1:'host.gracefulShutdownTimeout'};olympe.host.vr={tB:'active',At:'preview'};olympe.host.wn=null;
431
- olympe.sa.$e(function(a){var b,c;const d='object'===typeof window&&(null==(b=window)?void 0:null==(c=b.location)?void 0:c.hostname)||'127.0.0.1';Qa(a,olympe.host.pa.iH,d);b=olympe.host.vr.tB;c=olympe.host.vr.At;E(a,olympe.host.pa.Cz,d.startsWith(`${c}.`)?c:b);Wa(a,olympe.host.ba.Lt);Wa(a,olympe.host.ba.hH);B(a,olympe.host.ba.fo,olympe.host.WC);C(a,olympe.host.ba.Vb,[olympe.gb.ba.Ob],e=>e.Vg('host'));B(a,olympe.host.ba.Ob,olympe.host.Cc,olympe.host.ba.Vb,olympe.sa.ba.rp);C(a,olympe.host.ba.GK,[olympe.host.ba.Ob],
432
- e=>{null===olympe.host.wn&&(olympe.host.wn=new olympe.host.Th(e));return olympe.host.wn},!0)},'olympe.host');olympe.sa.run([olympe.host.ba.GK],a=>a,'olympe.host.scheduler');olympe.sa.run([olympe.host.ba.Ob],a=>a,'olympe.host');olympe.sa.run([olympe.host.ba.fo],a=>{olympe.host.f3=()=>a});olympe.G.H.host={};olympe.G.H.host.Ui=class{constructor(a,b){this.uid=a;this.V=b}destroy(){}Cb(){return this.V}};olympe.G.H.host.Ui.prototype.destroy=olympe.G.H.host.Ui.prototype.destroy;olympe.G.H.host.Ui.Aa=[olympe.host.ab.Ui];olympe.G.H.host.Kz=class{constructor(){this.O=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.C);document.addEventListener('visibilitychange',()=>{this.O.update(olympe.j.hc('visible'===document.visibilityState))})}D(){window.location.reload()}C(){return this.O.wa()}R(){return!1}};olympe.G.H.host.Kz.Aa=[olympe.host.Kz];function Zc(a){const b=olympe.oa.OO(),c=[];for(const [d,e]of b.entries()){if(a.C.get(d)!==e){let f;null==(f=a.D.get(d))||f.forEach(g=>c.push(g.bind(null,e)))}a.C.delete(d)}for(const d of a.C.keys()){let e;null==(e=a.D.get(d))||e.forEach(f=>c.push(f.bind(null,null)))}a.C=b;c.forEach(d=>d())}olympe.G.H.host.jH=class{constructor(){this.C=olympe.oa.OO();this.D=new Map;new olympe.oa.promise.mw;window.addEventListener('hashchange',()=>Zc(this))}an(){return!0}};olympe.G.H.host.jH.Aa=[olympe.host.gR];olympe.G.H.host.Th=class{constructor(){this.O=new Map;this.D=new Map}destroy(){}T(a){this.O.has(a)&&(clearTimeout(this.O.get(a)),this.O.delete(a))}$(a,b,c){this.O.set(b,setTimeout(c,a))}C(a){this.T(a)}W(a,b,c){this.D.set(b,setInterval(c,a))}R(a){this.D.has(a)&&(clearInterval(this.D.get(a)),this.D.delete(a))}};olympe.host.Xc.register(olympe.host.ab.jb.CL,olympe.G.H.host.Th);olympe.G.H.host.Th.Aa=[olympe.host.ab.Th];olympe.sa.$e(function(a){Ta(a,olympe.host.ba.hH,olympe.G.H.host.jH,olympe.host.ba.Vb);Ta(a,olympe.host.ba.Lt,olympe.G.H.host.Kz)},'olympe.native.html.host');olympe.Fa={};olympe.Fa.Rc={};olympe.Fa.Rc.gk={Pp:'POST',GET:'GET',XQ:'HEAD',eK:'PUT',Qg:'DELETE',lT:'OPTIONS',Q0:'PATCH'};olympe.Fa.Rc.ResponseType={Lz:'text',JSON:'json',AB:'blob',Pt:'uint8array',el:'stream'};olympe.Fa.Rc.Headers={Ey:'content-type',WZ:'content-length',xF:'authorization',EZ:'access-control-allow-origin',CZ:'access-control-allow-headers',DZ:'access-control-allow-methods',Y_:'x-forwarded-host',Z_:'x-forwarded-proto'};olympe.Fa.Rc.eG={gC:'text/html',JSON:'application/json',dV:'application/zip',el:'application/octet-stream'};
433
- olympe.Fa.Rc.lk={SF:0,TJ:200,lQ:201,ny:202,JZ:400,FU:401,OQ:403,bT:404,s0:405,XT:500,ZT:503};function $c(a){return a.host&&encodeURI(a.host)}function ad(a){return encodeURI(a.path).replace(olympe.Fa.tw.C,(b,c)=>'%'+c)}olympe.Fa.tw=class{constructor(a,b,c,d){this.host='localhost';this.port=80;this.path='';this.C=!1;void 0!==a&&(this.host=a);void 0!==b&&(this.port=b);void 0!==c&&this.As(c);void 0!==d&&(this.C=d)}As(a){this.path=a.replace(/^\/+/,'')}le(){return`${(void 0===this.C?443===this.port:this.C)?'wss':'ws'}://${$c(this)}:${this.port}/${ad(this)}`}toString(){return`${$c(this)}:${this.port}/${ad(this)}`}};
431
+ olympe.sa.$e(function(a){var b,c;const d='object'===typeof window&&(null==(b=window)?void 0:null==(c=b.location)?void 0:c.hostname)||'127.0.0.1';Qa(a,olympe.host.pa.iH,d);b=olympe.host.vr.tB;c=olympe.host.vr.At;E(a,olympe.host.pa.Cz,d.startsWith(`${c}.`)?c:b);Wa(a,olympe.host.ba.Lt);Wa(a,olympe.host.ba.hH);B(a,olympe.host.ba.fo,olympe.host.XC);C(a,olympe.host.ba.Vb,[olympe.gb.ba.Ob],e=>e.Vg('host'));B(a,olympe.host.ba.Ob,olympe.host.Cc,olympe.host.ba.Vb,olympe.sa.ba.rp);C(a,olympe.host.ba.GK,[olympe.host.ba.Ob],
432
+ e=>{null===olympe.host.wn&&(olympe.host.wn=new olympe.host.Th(e));return olympe.host.wn},!0)},'olympe.host');olympe.sa.run([olympe.host.ba.GK],a=>a,'olympe.host.scheduler');olympe.sa.run([olympe.host.ba.Ob],a=>a,'olympe.host');olympe.sa.run([olympe.host.ba.fo],a=>{olympe.host.f3=()=>a});olympe.G.H.host={};olympe.G.H.host.Ui=class{constructor(a,b){this.uid=a;this.V=b}destroy(){}Cb(){return this.V}};olympe.G.H.host.Ui.prototype.destroy=olympe.G.H.host.Ui.prototype.destroy;olympe.G.H.host.Ui.Aa=[olympe.host.ab.Ui];olympe.G.H.host.Kz=class{constructor(){this.O=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.C);document.addEventListener('visibilitychange',()=>{this.O.update(olympe.j.hc('visible'===document.visibilityState))})}D(){window.location.reload()}C(){return this.O.wa()}R(){return!1}};olympe.G.H.host.Kz.Aa=[olympe.host.Kz];function Zc(a){const b=olympe.oa.OO(),c=[];for(const [d,e]of b.entries()){if(a.C.get(d)!==e){let f;null==(f=a.D.get(d))||f.forEach(g=>c.push(g.bind(null,e)))}a.C.delete(d)}for(const d of a.C.keys()){let e;null==(e=a.D.get(d))||e.forEach(f=>c.push(f.bind(null,null)))}a.C=b;c.forEach(d=>d())}olympe.G.H.host.jH=class{constructor(){this.C=olympe.oa.OO();this.D=new Map;new olympe.oa.promise.mw;window.addEventListener('hashchange',()=>Zc(this))}an(){return!0}};olympe.G.H.host.jH.Aa=[olympe.host.gR];olympe.G.H.host.Th=class{constructor(){this.O=new Map;this.D=new Map}destroy(){}T(a){this.O.has(a)&&(clearTimeout(this.O.get(a)),this.O.delete(a))}$(a,b,c){this.O.set(b,setTimeout(c,a))}C(a){this.T(a)}W(a,b,c){this.D.set(b,setInterval(c,a))}R(a){this.D.has(a)&&(clearInterval(this.D.get(a)),this.D.delete(a))}};olympe.host.Xc.register(olympe.host.ab.jb.CL,olympe.G.H.host.Th);olympe.G.H.host.Th.Aa=[olympe.host.ab.Th];olympe.sa.$e(function(a){Ta(a,olympe.host.ba.hH,olympe.G.H.host.jH,olympe.host.ba.Vb);Ta(a,olympe.host.ba.Lt,olympe.G.H.host.Kz)},'olympe.native.html.host');olympe.Fa={};olympe.Fa.Rc={};olympe.Fa.Rc.gk={Pp:'POST',GET:'GET',XQ:'HEAD',eK:'PUT',Qg:'DELETE',lT:'OPTIONS',Q0:'PATCH'};olympe.Fa.Rc.ResponseType={Lz:'text',JSON:'json',AB:'blob',Pt:'uint8array',el:'stream'};olympe.Fa.Rc.Headers={Ey:'content-type',WZ:'content-length',yF:'authorization',EZ:'access-control-allow-origin',CZ:'access-control-allow-headers',DZ:'access-control-allow-methods',Y_:'x-forwarded-host',Z_:'x-forwarded-proto'};olympe.Fa.Rc.fG={hC:'text/html',JSON:'application/json',dV:'application/zip',el:'application/octet-stream'};
433
+ olympe.Fa.Rc.lk={TF:0,TJ:200,lQ:201,ny:202,JZ:400,FU:401,OQ:403,bT:404,s0:405,XT:500,ZT:503};function $c(a){return a.host&&encodeURI(a.host)}function ad(a){return encodeURI(a.path).replace(olympe.Fa.tw.C,(b,c)=>'%'+c)}olympe.Fa.tw=class{constructor(a,b,c,d){this.host='localhost';this.port=80;this.path='';this.C=!1;void 0!==a&&(this.host=a);void 0!==b&&(this.port=b);void 0!==c&&this.As(c);void 0!==d&&(this.C=d)}As(a){this.path=a.replace(/^\/+/,'')}le(){return`${(void 0===this.C?443===this.port:this.C)?'wss':'ws'}://${$c(this)}:${this.port}/${ad(this)}`}toString(){return`${$c(this)}:${this.port}/${ad(this)}`}};
434
434
  olympe.Fa.tw.C=/%25([0-9a-f]{2})/i;olympe.Fa.WebSocket=class{send(){}close(){}da(){}ca(){}$(){}D(){}};function bd(a,b,c,d){a=olympe.oa.PO(a.valueOf());if(!a.host&&!a.path)return null;const e=a.scheme?a.scheme.includes('s'):!1;b=new olympe.Fa.Mv(a.host,a.port||(e?443:80),a.path||'',e,b,c,d,a.query||void 0);a.EP&&(c=a.EP.split(':'),2===c.length&&(c=eb(olympe.oa.Dj(),`${c[0]}:${c[1]}`),cd(b,{Authorization:`Basic ${c}`})));return b}function dd(a){return void 0!==a.query?a.query.replace(/[^=&]+/g,b=>encodeURIComponent(b)):null}function ed(a,b){a.O=b;return a}
435
435
  function cd(a,b){Object.assign(a.headers,b)}olympe.Fa.Mv=class extends olympe.Fa.tw{constructor(a,b,c,d,e,f,g,k){super(a,b,c,d);this.method=null!=e?e:olympe.Fa.Rc.gk.GET;this.query=k;this.headers={};this.body=f;this.O=null!=g?g:olympe.Fa.Rc.ResponseType.Lz}D(){return this.headers}le(){let a=dd(this);a=a?`?${a}`:'';if(!$c(this))return`${ad(this)}${a}`;const b=Number.isInteger(this.port)?`:${this.port}`:'';return`${(void 0===this.C?443===this.port:this.C)?'https':'http'}://${$c(this)}${b}/${ad(this)}${a}`}toString(){return this.le()}};
436
436
  olympe.Fa.Mv.gk={Pp:'POST',GET:'GET',XQ:'HEAD',eK:'PUT',Qg:'DELETE',lT:'OPTIONS'};olympe.Fa.Nv=class{constructor(a,b,c,d){this.data=a;this.status=null!=b?b:200;this.statusText=null!=c?c:'';this.headers=null!=d?d:{}}jh(){return this.status}D(){return this.headers}};olympe.Fa.Cc=class{constructor(a){this.V=a;this.O=new olympe.Fa.Zh.hR(a);this.T=1;this.D=null;a='Initializing NET layer';this.V.C()&&(a+=' (implementation: '+this.ca()+')');this.V.log(a);this.V.log('DONE initializing NET layer (ready to receive connection requests)')}C(a){if(!a)throw Error('Try to send an invalid HTTP request: '+a);this.V.debug('SEND HTTP '+a.method+' to '+a.le());const b=this.T++,c=olympe.j.yb(),d=c.onDestroy(()=>{var e=this.O;const f=e.C.get(b);e.C.delete(b);null==f||f()});return fd(this.O,
@@ -440,27 +440,27 @@ olympe.Fa.eo=class{constructor(a){this.V=olympe.gb.Cb('MQTT');this.O=!1;this.C=t
440
440
  hd(this)),this.C.on(olympe.Fa.eo.La.SS,(b,c)=>{this.V.C()&&this.V.debug(`MQTT < ${c}`);this.D.has(b)?this.D.get(b)(JSON.parse(c.toString())):this.V.warn('There is no subscriber for topic '+b)}),this.C.on(olympe.Fa.eo.La.jQ,()=>{this.V.info('Mqtt client is connected to bus');this.R.forEach(b=>b())}),this.C.on(olympe.Fa.eo.La.JT,()=>{this.V.info('Mqtt client is reconnecting to bus ... ');null===this.options&&this.end(!1);this.W.forEach(b=>b())}),this.C.on(olympe.Fa.eo.La.we,b=>{this.V.error('Mqtt client error ',
441
441
  b);this.$.forEach(c=>c(b))}),this.C.on(olympe.Fa.eo.La.jk,()=>{this.V.info('Mqtt client is offline');this.ca.forEach(b=>b())}),this.C.on(olympe.Fa.eo.La.iQ,()=>{this.V.info('Mqtt client is closed');this.T.forEach(b=>b())}),this.C.on(olympe.Fa.eo.La.wp,()=>{this.V.info('Mqtt client has ended')}));return this}publish(a,b,c){if(!gd(this))return Promise.reject(Error('Cannot publish message because the MQTT client is disconnected'));const d=JSON.stringify(b);this.V.C()&&this.V.debug(`MQTT > ${d}`);return new Promise((e,
442
442
  f)=>{this.C.publish(a,d,c,g=>{g?f(Error('Failed to publish a message '+d)):e()})})}subscribe(a,b){if(!gd(this))return Promise.reject(Error('Cannot subscribe because the MQTT client is disconnected'));this.V.debug(`MQTT subscribe to topic ${a}`);return new Promise((c,d)=>{this.C.subscribe(a,void 0,e=>{e?d(Error(`Failed to subscribe to topic ${a}: ${e}`)):(this.D.set(a,b),c())})})}end(a,b){this.O=!1;this.D.clear();this.C?this.C.end(a,{},()=>{this.C=null;null==b||b()}):null==b||b();return this}};
443
- olympe.Fa.eo.La={jQ:'connect',JT:'reconnect',SS:'message',iQ:'close',wp:'end',we:'error',jk:'offline'};function md(){return Promise.reject('Try to open a route on a web server using the browser implementation.')}olympe.Fa.hM=class{constructor(a){this.V=a}start(){return Promise.reject('Try to start web server with the browser implementation.')}stop(){return Promise.reject('Try to stop web server with the browser implementation.')}};olympe.Fa.hM.ALL='*';olympe.Fa.gl=class{O(){return!1}register(){return q(function*(){throw Error('Service Worker Manager must be overridden by a native layer: called "register"');})}C(){console.error('Service Worker Manager must be overridden by a native layer: called "addUrlToCache"')}W(){console.error('Service Worker Manager must be overridden by a native layer: called "postMessage"')}};olympe.Fa.ba={Ob:'net.Manager',Vb:'net.Logger',rD:'net.WebServer',Dz:'net.ServiceWorkerManager',lz:'net.OfflineConfig'};olympe.Fa.pa={Jp:'net.httpPort',dR:'net.httpBodyLimit',NU:'net.http2',bR:'net.httpsCertificatesPath',EC:'net.localNetworkSuffix',mz:'offline.enabled',MC:'offline.autoBackOnline',SJ:'offline.downloadBatchSize'};
444
- olympe.sa.$e(function(a){E(a,olympe.Fa.pa.Jp,3141);E(a,olympe.Fa.pa.dR,100);E(a,olympe.Fa.pa.NU,!1);E(a,olympe.Fa.pa.bR,null);E(a,olympe.Fa.pa.EC,'frontend');E(a,olympe.Fa.pa.mz,!1);E(a,olympe.Fa.pa.MC,!1);E(a,olympe.Fa.pa.SJ,20);Wa(a,olympe.Fa.ba.Ob);C(a,olympe.Fa.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('net'));B(a,olympe.Fa.ba.rD,olympe.Fa.hM,olympe.Fa.ba.Vb);B(a,olympe.Fa.ba.Dz,olympe.Fa.gl);C(a,olympe.Fa.ba.lz,[new olympe.sa.zb(olympe.Fa.pa.mz),new olympe.sa.zb(olympe.Fa.pa.MC)],(b,c)=>new Map([['offlineEnabled',
445
- b],['offlineAutoBackOnline',!b||c]]))},'olympe.net');olympe.Fa.Zh={};function fd(a,b,c){const d=olympe.Fa.Rc.lk.SF,e=olympe.Fa.Rc.lk.XT,f=new AbortController;a.C.set(b,()=>f.abort());const g=c.le(),k=c.method;let l;return fetch(g,{method:k,headers:c.D(),body:null!=(l=c.body)?l:void 0,signal:f.signal}).then(m=>m.ok?nd(m,c.O).catch(n=>new olympe.Fa.Nv(`Error parsing response from ${g} with method ${k}: ${n.message}`,e,'Error handling response')):new olympe.Fa.Nv(`Error fetching data from ${g} with method ${k}`,m.status,m.statusText,m.headers)).catch(m=>'AbortError'===
443
+ olympe.Fa.eo.La={jQ:'connect',JT:'reconnect',SS:'message',iQ:'close',wp:'end',we:'error',jk:'offline'};function md(){return Promise.reject('Try to open a route on a web server using the browser implementation.')}olympe.Fa.hM=class{constructor(a){this.V=a}start(){return Promise.reject('Try to start web server with the browser implementation.')}stop(){return Promise.reject('Try to stop web server with the browser implementation.')}};olympe.Fa.hM.ALL='*';olympe.Fa.gl=class{O(){return!1}register(){return q(function*(){throw Error('Service Worker Manager must be overridden by a native layer: called "register"');})}C(){console.error('Service Worker Manager must be overridden by a native layer: called "addUrlToCache"')}W(){console.error('Service Worker Manager must be overridden by a native layer: called "postMessage"')}};olympe.Fa.ba={Ob:'net.Manager',Vb:'net.Logger',sD:'net.WebServer',Dz:'net.ServiceWorkerManager',lz:'net.OfflineConfig'};olympe.Fa.pa={Jp:'net.httpPort',dR:'net.httpBodyLimit',NU:'net.http2',bR:'net.httpsCertificatesPath',FC:'net.localNetworkSuffix',mz:'offline.enabled',NC:'offline.autoBackOnline',SJ:'offline.downloadBatchSize'};
444
+ olympe.sa.$e(function(a){E(a,olympe.Fa.pa.Jp,3141);E(a,olympe.Fa.pa.dR,100);E(a,olympe.Fa.pa.NU,!1);E(a,olympe.Fa.pa.bR,null);E(a,olympe.Fa.pa.FC,'frontend');E(a,olympe.Fa.pa.mz,!1);E(a,olympe.Fa.pa.NC,!1);E(a,olympe.Fa.pa.SJ,20);Wa(a,olympe.Fa.ba.Ob);C(a,olympe.Fa.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('net'));B(a,olympe.Fa.ba.sD,olympe.Fa.hM,olympe.Fa.ba.Vb);B(a,olympe.Fa.ba.Dz,olympe.Fa.gl);C(a,olympe.Fa.ba.lz,[new olympe.sa.zb(olympe.Fa.pa.mz),new olympe.sa.zb(olympe.Fa.pa.NC)],(b,c)=>new Map([['offlineEnabled',
445
+ b],['offlineAutoBackOnline',!b||c]]))},'olympe.net');olympe.Fa.Zh={};function fd(a,b,c){const d=olympe.Fa.Rc.lk.TF,e=olympe.Fa.Rc.lk.XT,f=new AbortController;a.C.set(b,()=>f.abort());const g=c.le(),k=c.method;let l;return fetch(g,{method:k,headers:c.D(),body:null!=(l=c.body)?l:void 0,signal:f.signal}).then(m=>m.ok?nd(m,c.O).catch(n=>new olympe.Fa.Nv(`Error parsing response from ${g} with method ${k}: ${n.message}`,e,'Error handling response')):new olympe.Fa.Nv(`Error fetching data from ${g} with method ${k}`,m.status,m.statusText,m.headers)).catch(m=>'AbortError'===
446
446
  m.name?new olympe.Fa.Nv('',d,'Request canceled'):new olympe.Fa.Nv(`Error connecting to ${g} with method ${k}`,e,'Failed to fetch:'+m.message))}
447
447
  function nd(a,b){return q(function*(){switch(b){case olympe.Fa.Rc.ResponseType.AB:var c=yield a.blob();break;case olympe.Fa.Rc.ResponseType.Pt:c=yield a.arrayBuffer();c=new Uint8Array(c,0,c.byteLength);break;case olympe.Fa.Rc.ResponseType.JSON:c=yield a.json();break;case olympe.Fa.Rc.ResponseType.el:c=a.body;break;default:c=yield a.text()}return new olympe.Fa.Nv(c,a.status,a.statusText,a.headers)})}olympe.Fa.Zh.hR=class{constructor(a){this.V=a;this.C=new Map}};function od(a,b){const c=`#${a.id}`,d=a.ma(b);d.binaryType='arraybuffer';d.addEventListener('open',()=>{a.V.info(`Websocket ${c} OPENED`);a.W?(a.V.debug('Notifying upper layer for WebSocket',c),a.W()):a.V.warn('Nothing to notify for WebSocket',c);a.V.debug(c,`Send all buffered messages (n=${a.buffer.length}).`);a.buffer.forEach(d.send.bind(d));a.buffer.length=0});d.addEventListener('message',e=>{e='string'===typeof e.data?String(e.data):fb(e.data);(a.V.O()||a.V.C()&&!e.startsWith('pong'))&&a.V.debug(c,
448
448
  '<',e);a.O&&a.O(e)});d.addEventListener('close',()=>{a.V.info(`WebSocket ${c} CLOSED`);a.R&&a.R()});d.addEventListener('error',()=>{a.V.debug(`WebSocket ${c} ERROR`);a.T&&a.T()});a.C=d}
449
449
  olympe.Fa.Zh.WebSocket=class{constructor(a,b){this.V=b;this.id=a;this.C=null;this.buffer=[];this.T=this.O=this.R=this.W=null;this.Zc=olympe.oa.Dj()}ja(){return this.id}send(a){const b=`#${this.id}`;if(null!==this.C){const c=this.C.constructor;switch(this.C.readyState){case c.OPEN:(this.V.O()||this.V.C()&&!a.startsWith('ping'))&&this.V.debug(b,'>',a);this.C.send(a);break;case c.CONNECTING:this.V.debug(b,'- Connecting: BUFFER','>',a);this.buffer.push(a);break;default:return this.V.debug(b,'- Closed',
450
450
  '>',a),!1}}else this.V.debug(b,'- Not opened yet: BUFFER','>',a),this.buffer.push(a);return!0}close(){if(null!==this.C){const a=this.C.constructor,b=this.C.readyState;if(b===a.OPEN||b===a.CONNECTING){this.V.debug(`Force closing native websocket ${`#${this.id}`}`);this.C.close(1E3);return}}this.V.debug('Try to force close native websocket, but not open nor connecting')}da(a){this.W=a||null}ca(a){this.O=a||null}D(a){this.T=a||null}$(a){this.R=a||null}ma(){}};olympe.Fa.Zh.WebSocket.Aa=[olympe.Fa.WebSocket];olympe.G.H.Fa={};olympe.G.H.Fa.fT=class extends olympe.Fa.Cc{constructor(a,b,c){super(a,b);this.da=new olympe.j.ee('NetManager context');this.$=c}ca(){return'Progressive web app'}Io(){null===this.D&&(this.da.run(()=>{this.D=olympe.j.Za(olympe.j.ia).update(olympe.j.hc(navigator.onLine))}),window.addEventListener('online',()=>{this.D.update(olympe.j.ia.C)}),window.addEventListener('offline',()=>{this.D.update(olympe.j.ia.pb)}));return this.D.wa()}C(a){let b;!this.$.O()||a.method!==olympe.Fa.Rc.gk.GET||(null==(b=a.D())?
451
- 0:b[olympe.Fa.Rc.Headers.xF])||this.$.C(a.le());return super.C(a)}R(a){a=a.le();var b=this.T++;this.V.C()?this.V.log('Received websocket request. Opening Websocket #'+b+' to '+a):this.V.log('Received websocket request to ',a);b=new olympe.G.H.Fa.$Q(b,this.V);od(b,a);return b}W(a,b,c){olympe.j.Zb(a)&&(a=olympe.j.Qa(a));const d=(g,k)=>{const l=document.createElement('a');l.setAttribute('href',g);l.setAttribute('download',k||'downloaded_file');document.body.appendChild(l);l.click();document.body.removeChild(l)};
451
+ 0:b[olympe.Fa.Rc.Headers.yF])||this.$.C(a.le());return super.C(a)}R(a){a=a.le();var b=this.T++;this.V.C()?this.V.log('Received websocket request. Opening Websocket #'+b+' to '+a):this.V.log('Received websocket request to ',a);b=new olympe.G.H.Fa.$Q(b,this.V);od(b,a);return b}W(a,b,c){olympe.j.Zb(a)&&(a=olympe.j.Qa(a));const d=(g,k)=>{const l=document.createElement('a');l.setAttribute('href',g);l.setAttribute('download',k||'downloaded_file');document.body.appendChild(l);l.click();document.body.removeChild(l)};
452
452
  if(a instanceof olympe.dm.File){c=olympe.dc.eb();var e=c.Ac(a,olympe.dm.File.urlProp),f=c.Ac(a,olympe.dm.File.C);b=b||c.name(a)||'new_file';e&&!e.startsWith('blob:')&&f?a.Vr(g=>{d(g,b)}):e&&d(e,b)}else if('string'===typeof a.valueOf()||a instanceof Uint8Array||a instanceof Blob){'string'===typeof a.valueOf()?e=new Blob([a.valueOf()],{type:c||'text;charset=utf-8;'}):a instanceof Uint8Array?e=new Blob([a],{type:c||'application/octet-stream;'}):e=a;let g;(null==(f=window)?0:null==(g=f.navigator)?0:g.msSaveOrOpenBlob)?
453
453
  window.navigator.msSaveOrOpenBlob(e,b||'downloaded_file'):(a=URL.createObjectURL(e),d(a,b),URL.revokeObjectURL(a))}else throw Error('Try to download a file which is neither a string, Blob or a File instance');}};function pd(a,b){b=new URL(b,location.origin);b.searchParams.set(`logging.${a.V.bb()}`,a.V.R().toString());b.searchParams.set('cacheEnabled',a.R?'true':'false');return b.toString()}function qd(a){return q(function*(){if(a.$)return a.D;yield new Promise(b=>{a.T.push(()=>b())});return a.D})}
454
454
  olympe.G.H.Fa.gl=class extends olympe.Fa.gl{constructor(a,b){super();this.V=a;this.R=b.get('offlineEnabled');this.D=null;this.$=!1;this.T=[]}O(){return!0===this.R}register(a){const b=this;return q(function*(){if('serviceWorker'in navigator)try{for(b.V.log('[SWM] Registering service worker'),b.D=yield navigator.serviceWorker.register(pd(b,a),{scope:'.'}),navigator.serviceWorker.addEventListener('message',c=>{c=c.data;const [d,e]=c.split(/:(.*)/);switch(d){case olympe.G.H.Fa.gl.C.JP.toString():b.V.log(`[SWM] Successfully added URL in cache: ${e}`);
455
455
  break;case olympe.G.H.Fa.gl.C.IP.toString():b.V.log(`[SWM] Failed to add URL in cache: ${e}`);break;case olympe.G.H.Fa.gl.C.dU.toString():b.V.log(`[SWM] Successfully set cache strategy: ${e}`);break;case olympe.G.H.Fa.gl.C.cU.toString():b.V.log(`[SWM] Failed to set cache strategy: ${e}`);break;default:b.V.log('[SWM] Unknown incoming message',c)}}),yield navigator.serviceWorker.ready,b.V.info('[SWM] Service worker: registration is ready'),b.$=!0;0<b.T.length;)b.T.shift().call(b)}catch(c){b.V.error(`[SWM] Registration failed with ${c}`)}})}C(a){this.R?
456
456
  !a.startsWith('http')&&a.includes('://')||a.startsWith('data:')||(this.V.debug(`Request to add "${a}" in cache`),this.W(olympe.G.H.Fa.gl.C.HP,a)):this.V.debug(`Offline is not enabled, ignoring request to add "${a}" in cache`)}W(a,b){this.V.debug('[SWM] Attempt to post a message');qd(this).then(()=>{const c=`${a.toString()}:${b}`;this.V.log('[SWM] Posting message',c);this.D.active.postMessage(c)})}};olympe.G.H.Fa.gl.C={HP:0,JP:1,IP:2,m1:3,dU:3,cU:4};olympe.G.H.Fa.gl.D={PZ:0,z0:1};olympe.G.H.Fa.$Q=class extends olympe.Fa.Zh.WebSocket{ma(a){return new WebSocket(a)}};olympe.G.H.Fa.pa={B2:'native.html.net.useWorkers'};olympe.G.H.Fa.ba={OK:'native.html.net.serviceWorkerLogger'};olympe.sa.$e(function(a){Ta(a,olympe.Fa.ba.Ob,olympe.G.H.Fa.fT,olympe.Fa.ba.Vb,olympe.host.ba.Ob,olympe.Fa.ba.Dz);C(a,olympe.G.H.Fa.ba.OK,[olympe.gb.ba.Ob],b=>b.Vg('sw'));B(a,olympe.Fa.ba.Dz,olympe.G.H.Fa.gl,olympe.G.H.Fa.ba.OK,olympe.Fa.ba.lz)},'olympe.native.html.net');olympe.async={};function rd(a,b){a.R||a.ca.push(a.O.re(b))}
457
- olympe.async.IG=class{constructor(a,b=void 0===a){this.D=[];this.ca=[];this.O=a||new olympe.j.ee('Async executor context');this.za=b;this.C=null;this.T=new Map;this.T.set('Executor',this);this.R=this.W=!1;this.V=null;this.timer=this.timeout=0;this.da=olympe.oa.bf()}FP(a){0<=a&&(this.timeout=a)}Cb(){return this.V}add(a){this.R||this.D.push(this.O.re(a));return this}start(){this.W||(this.V&&this.V.log('Executor started.'),this.W=!0,this.O.onDestroy(()=>{this.C='Context destroyed.';this.complete(!1)},
457
+ olympe.async.JG=class{constructor(a,b=void 0===a){this.D=[];this.ca=[];this.O=a||new olympe.j.ee('Async executor context');this.za=b;this.C=null;this.T=new Map;this.T.set('Executor',this);this.R=this.W=!1;this.V=null;this.timer=this.timeout=0;this.da=olympe.oa.bf()}FP(a){0<=a&&(this.timeout=a)}Cb(){return this.V}add(a){this.R||this.D.push(this.O.re(a));return this}start(){this.W||(this.V&&this.V.log('Executor started.'),this.W=!0,this.O.onDestroy(()=>{this.C='Context destroyed.';this.complete(!1)},
458
458
  this.da),0<this.timeout&&(this.timer=setTimeout(()=>{this.C='Timeout expired.';this.timer=0;this.complete(!1)},this.timeout)))}clear(){this.D=[];this.ca=[];this.T.clear();this.za&&this.O.destroy()}complete(a){this.O.Lo(this.da);if(!this.R){this.R=!0;this.timer&&(clearTimeout(this.timer),this.timer=0);this.V&&this.V.log(a?'Executor completed successfully':`Executor completed with error: ${this.C}`);for(const b of this.ca)b(a,a?null:this.C,this.T);this.clear()}}getContext(){return this.O}};
459
- olympe.async.fL=class extends olympe.async.IG{static create(){return new olympe.async.fL(new olympe.j.ee('SequencedExecutor'),!0)}start(){this.W||(super.start(),this.continue())}continue(){if(0<this.D.length){const a=this.D.shift();this.V&&this.V.log(`Executing next task. ${this.D.length} tasks left in the pipeline.`);this.getContext().run(()=>{a(()=>{Promise.resolve().then(()=>{this.continue()})},b=>{b&&(this.C=b);this.complete(!1)},this.T)})}else this.complete(!0)}};
460
- olympe.async.wz=class extends olympe.async.IG{constructor(a,b){super(a,b);this.$=0;this.ma=!0}static create(){return new olympe.async.wz(new olympe.j.ee('ParallelExecutor'),!0)}run(a){this.V&&this.V.log('Starting a task');this.getContext().run(()=>{a(()=>{this.done()},b=>{this.ma=!1;b&&(this.C=this.C?`${this.C}. ${b}`:b);this.done()},this.T)})}add(a){super.add(a);this.W&&!this.R&&(this.$++,this.run(a));return this}done(){this.$--;0>=this.$&&this.complete(this.ma)}start(){if(!this.W)if(super.start(),
461
- 0<this.D.length){this.$=this.D.length;for(const a of this.D)this.run(a)}else this.complete(!0)}};olympe.Bc={};olympe.Bc.AS=class{C(){return q(function*(){})}Ka(){}za(){}O(){}Pa(){}forEach(){}has(){}get(){}set(){}remove(){}T(){}$(){}W(){}clear(){}da(){}};olympe.Bc.BS=class{D(){}};olympe.Bc.Storage=class{write(){}close(){}};olympe.Bc.gz=class{get(){return null}set(){return this}delete(){}};olympe.Bc.ba={dz:'localStorage.KeyValueDatabaseManager',kw:'localStorage.Storage',ZZ:'localStorage.DatacloudStorage',fz:'localStorage.LocalStorage',Vb:'localStorage.Logger',Ar:'localStorage.prefix'};olympe.sa.$e(function(a){Wa(a,olympe.Bc.ba.dz);C(a,olympe.Bc.ba.Ar,[],()=>'olympe');C(a,olympe.Bc.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('localstorage'));B(a,olympe.Bc.ba.fz,olympe.Bc.gz)},'olympe.localstorage');olympe.Y={};olympe.Y.errors={};olympe.Y.errors.xG=class extends Error{};olympe.Y.errors.XJ=class extends Error{};olympe.Y.errors.OJ=class extends Error{};olympe.Y.errors.Nz=class extends Error{};olympe.Y.errors.cG=class extends Error{};olympe.Y.errors.BK=class extends Error{};olympe.Y.errors.aK=class extends Error{};olympe.Y.errors.PU=class extends Error{};olympe.Y.errors.hD=class extends Error{constructor(a,b){super(a);this.id=b}ja(){return this.id}};olympe.Y.errors.Zv=class extends olympe.Y.errors.hD{};
462
- olympe.Y.errors.MF=class extends olympe.Y.errors.hD{};olympe.Y.errors.fH=class extends olympe.Y.errors.hD{};olympe.Y.xf={Qy:'urls.FileSvc',yF:'urls.BackupSvc',sK:'urls.RestoreBackupSvc',cr:'urls.GetContext',bH:'urls.GraphDef',OF:'urls.StaticGraphDef',TRANSACTION:'urls.Transaction',BL:'urls.UserTagFromToken',MU:'urls.UserNameFromTag',LU:'urls.UserRoles',OT:'urls.RoleMembers',nz:'urls.OpenIDSvc'};
463
- olympe.sa.$e(a=>{E(a,olympe.Y.xf.Qy,'rest/filesvc');E(a,olympe.Y.xf.yF,'rest/backupsvc');E(a,olympe.Y.xf.sK,'rest/backupsvc/restore');E(a,olympe.Y.xf.nz,'rest/openid');E(a,olympe.Y.xf.cr,'rest/initialData');E(a,olympe.Y.xf.bH,'rest/querysvc/graphDef');E(a,olympe.Y.xf.OF,'rest/querysvc/graphDef/static');E(a,olympe.Y.xf.TRANSACTION,'rest/transaction');E(a,olympe.Y.xf.BL,'rest/token');E(a,olympe.Y.xf.MU,'rest/authorization/getUserTag');E(a,olympe.Y.xf.LU,'rest/authorization/getUserRoles');E(a,olympe.Y.xf.OT,
459
+ olympe.async.fL=class extends olympe.async.JG{static create(){return new olympe.async.fL(new olympe.j.ee('SequencedExecutor'),!0)}start(){this.W||(super.start(),this.continue())}continue(){if(0<this.D.length){const a=this.D.shift();this.V&&this.V.log(`Executing next task. ${this.D.length} tasks left in the pipeline.`);this.getContext().run(()=>{a(()=>{Promise.resolve().then(()=>{this.continue()})},b=>{b&&(this.C=b);this.complete(!1)},this.T)})}else this.complete(!0)}};
460
+ olympe.async.wz=class extends olympe.async.JG{constructor(a,b){super(a,b);this.$=0;this.ma=!0}static create(){return new olympe.async.wz(new olympe.j.ee('ParallelExecutor'),!0)}run(a){this.V&&this.V.log('Starting a task');this.getContext().run(()=>{a(()=>{this.done()},b=>{this.ma=!1;b&&(this.C=this.C?`${this.C}. ${b}`:b);this.done()},this.T)})}add(a){super.add(a);this.W&&!this.R&&(this.$++,this.run(a));return this}done(){this.$--;0>=this.$&&this.complete(this.ma)}start(){if(!this.W)if(super.start(),
461
+ 0<this.D.length){this.$=this.D.length;for(const a of this.D)this.run(a)}else this.complete(!0)}};olympe.Bc={};olympe.Bc.AS=class{C(){return q(function*(){})}Ka(){}za(){}O(){}Pa(){}forEach(){}has(){}get(){}set(){}remove(){}T(){}$(){}W(){}clear(){}da(){}};olympe.Bc.BS=class{D(){}};olympe.Bc.Storage=class{write(){}close(){}};olympe.Bc.gz=class{get(){return null}set(){return this}delete(){}};olympe.Bc.ba={dz:'localStorage.KeyValueDatabaseManager',kw:'localStorage.Storage',ZZ:'localStorage.DatacloudStorage',fz:'localStorage.LocalStorage',Vb:'localStorage.Logger',Ar:'localStorage.prefix'};olympe.sa.$e(function(a){Wa(a,olympe.Bc.ba.dz);C(a,olympe.Bc.ba.Ar,[],()=>'olympe');C(a,olympe.Bc.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('localstorage'));B(a,olympe.Bc.ba.fz,olympe.Bc.gz)},'olympe.localstorage');olympe.Y={};olympe.Y.errors={};olympe.Y.errors.yG=class extends Error{};olympe.Y.errors.XJ=class extends Error{};olympe.Y.errors.OJ=class extends Error{};olympe.Y.errors.Nz=class extends Error{};olympe.Y.errors.dG=class extends Error{};olympe.Y.errors.BK=class extends Error{};olympe.Y.errors.aK=class extends Error{};olympe.Y.errors.PU=class extends Error{};olympe.Y.errors.iD=class extends Error{constructor(a,b){super(a);this.id=b}ja(){return this.id}};olympe.Y.errors.Zv=class extends olympe.Y.errors.iD{};
462
+ olympe.Y.errors.NF=class extends olympe.Y.errors.iD{};olympe.Y.errors.fH=class extends olympe.Y.errors.iD{};olympe.Y.xf={Qy:'urls.FileSvc',zF:'urls.BackupSvc',sK:'urls.RestoreBackupSvc',cr:'urls.GetContext',bH:'urls.GraphDef',PF:'urls.StaticGraphDef',TRANSACTION:'urls.Transaction',BL:'urls.UserTagFromToken',MU:'urls.UserNameFromTag',LU:'urls.UserRoles',OT:'urls.RoleMembers',nz:'urls.OpenIDSvc'};
463
+ olympe.sa.$e(a=>{E(a,olympe.Y.xf.Qy,'rest/filesvc');E(a,olympe.Y.xf.zF,'rest/backupsvc');E(a,olympe.Y.xf.sK,'rest/backupsvc/restore');E(a,olympe.Y.xf.nz,'rest/openid');E(a,olympe.Y.xf.cr,'rest/initialData');E(a,olympe.Y.xf.bH,'rest/querysvc/graphDef');E(a,olympe.Y.xf.PF,'rest/querysvc/graphDef/static');E(a,olympe.Y.xf.TRANSACTION,'rest/transaction');E(a,olympe.Y.xf.BL,'rest/token');E(a,olympe.Y.xf.MU,'rest/authorization/getUserTag');E(a,olympe.Y.xf.LU,'rest/authorization/getUserRoles');E(a,olympe.Y.xf.OT,
464
464
  'rest/authorization/roleMembers')});function sd(a){jd(a.D,()=>{td(a)});ld(a.D,()=>{a.ca=!0});kd(a.D,()=>{ud(a).then(()=>{a.ca=!1;vd(a)}).catch(b=>{a.V.error(`An error occurred while trying to subscribe to "response topic" on the bus. Close connection: ${b}`);a.D.end()})})}function wd(a){return xd(a.Oa)&&gd(a.D)}
465
465
  function yd(a,b,c){return q(function*(){wd(a)||(yield a.connect());a.V.debug(`Bus: Subscribe to ${b}`);a.da.set(b,c);yield a.D.subscribe(a.ma+b,d=>{a.V.C()&&a.V.debug(`BUS < #${b}:`,JSON.stringify(d));let e=null;try{if(zd(a,d.seq,'consumed'),e=olympe.Y.Gz.D(d,a.Pa,f=>Ad(a,d.src,f).stream),zd(a,e.dk.toString(),'deserialized',(new Map).set('source',e.Sd()).set('messageType',e.getType().toString())),e.getType()===olympe.Y.pd.C.el){Bd(a,e);return}}catch(f){a.V.error(`An error occurred while trying to deserialize the request: ${JSON.stringify(d)} with error ${f}`)}null!==
466
466
  e&&c(e)})})}function td(a){a.V.info('Disconnected from bus');let b;null==(b=a.C)||b.forEach((c,d)=>{null!==c.D&&(a.V.info(`Disconnected from bus: pause keep alive of ${c.Qc()} subscriptions for ${d} service.`),Cd(c))})}
@@ -470,75 +470,75 @@ function zd(a,b,c,d=new Map){a.sb.C&&pb(a.sb,'com',d.set('id',`${b}`).set('chann
470
470
  function Bd(a,b){const c=olympe.Y.il.Xq,d=olympe.Y.il.wp,e=olympe.Y.il.we,f=b.C,{id:g,e:k}=f,l=`${b.Sd()}:${g}`,m=Ad(a,b.Sd(),g);if(k===c){ib(a.za.C,l);const {i:n,c:p}=f;m.write(p,n).catch(r=>{m.throw(r)})}else k===d?m.complete(f.s):k===e&&m.throw(Error(`Received stream error: ${f.reason}`))}function Ed(a,b,c,d){const e=Fd(a.T).Ci();a.$++;return new olympe.Y.Gz(b,a.R,e,a.$,c,d)}
471
471
  function Gd(a,b,c,d){const e=b.dk;let f=null;f=setTimeout(()=>Hd(a,e),a.xb);a.O.set(e,g=>{f&&clearTimeout(f);g.getType()===olympe.Y.pd.C.sB?f=setTimeout(()=>Hd(a,e),d):(a.O.delete(e),c(g))})}function Id(a,b,c,d,e){const f=Ed(a,b,c,d);d=olympe.Y.pd.C.sB;if(c===olympe.Y.pd.C.PUBLISH){const g=new olympe.Y.pd(b,a.R,f.dk,d);return a.publish(f).then(()=>g)}return new Promise((g,k)=>{Gd(a,f,g,null!=e?e:a.ob);a.publish(f).catch(k)})}
472
472
  function Hd(a,b){const c=a.O.get(b);a.O.delete(b);null==c||c(new olympe.Y.pd(a.R,a.R,b,olympe.Y.pd.C.we,{reason:'Timeout'}))}function Jd(a,b){a.$++;const c=a.$,d=setTimeout(()=>Hd(a,c),a.xb);a.O.set(c,e=>{a.O.delete(c);clearTimeout(d);b(e)});return a.$}function Kd(a,b){return q(function*(){let c;const d=null==(c=a.C)?void 0:c.get(b);d&&(Cd(d),a.C.delete(b));a.da.delete(b);a.V.debug(`Bus: Unsubscribe to ${b}`);wd(a)&&(yield id(a.D,a.ma+b))})}
473
- function Ld(a,b,c,d,e){null===a.C&&(a.C=new Map);let f=a.C.get(b);f?(a=f,a.O!==d&&(a.O=d,null!==a.D&&(Cd(a),Dd(a,!1)))):(f=new olympe.Y.yU(a.V,a,b,d),a.C.set(b,f));d=f;d.C.set(c,e);1===d.C.size&&Dd(d,!1)}function Md(a,b,c){var d;const e=null==(d=a.C)?void 0:d.get(b);if(null==e?0:Nd(e,c))d=olympe.Y.pd.C.pD,wd(a)&&a.publish(Ed(a,b,d,c)).catch(f=>a.V.error(`Impossible to keep alive subscriptions: ${f}`)),0===e.Qc()&&(a.C.delete(b),0===a.C.size&&(a.C=null))}
473
+ function Ld(a,b,c,d,e){null===a.C&&(a.C=new Map);let f=a.C.get(b);f?(a=f,a.O!==d&&(a.O=d,null!==a.D&&(Cd(a),Dd(a,!1)))):(f=new olympe.Y.yU(a.V,a,b,d),a.C.set(b,f));d=f;d.C.set(c,e);1===d.C.size&&Dd(d,!1)}function Md(a,b,c){var d;const e=null==(d=a.C)?void 0:d.get(b);if(null==e?0:Nd(e,c))d=olympe.Y.pd.C.qD,wd(a)&&a.publish(Ed(a,b,d,c)).catch(f=>a.V.error(`Impossible to keep alive subscriptions: ${f}`)),0===e.Qc()&&(a.C.delete(b),0===a.C.size&&(a.C=null))}
474
474
  function Od(a,b){return new Promise((c,d)=>{a.T.xu(b.vk(),(e,f)=>{e?d(e):c(f)})})}
475
- olympe.Y.NF=class{constructor(a,b,c,d,e,f,g,k){this.V=a;this.Oa=c;this.T=d;this.Pa=f;this.sb=g;this.O=new Map;this.xb=k.get('shortTimeout');this.ob=k.get('requestTimeout');this.Eb=k.get('subscriptionsRefreshRate');this.Ka=k.get('allowGuest');a=k.get('connection');b=this.T.C.wa().asObservable();c=c.Io().asObservable();c=rxjs.combineLatest([a,b,c]).pipe(rxjs.operators.map(([l,m,n])=>n.valueOf()?Object.assign({},l,{username:m.Lg(),password:m.Ci()}):null));this.D=new olympe.Fa.eo(c);sd(this);this.ma=
475
+ olympe.Y.OF=class{constructor(a,b,c,d,e,f,g,k){this.V=a;this.Oa=c;this.T=d;this.Pa=f;this.sb=g;this.O=new Map;this.xb=k.get('shortTimeout');this.ob=k.get('requestTimeout');this.Eb=k.get('subscriptionsRefreshRate');this.Ka=k.get('allowGuest');a=k.get('connection');b=this.T.C.wa().asObservable();c=c.Io().asObservable();c=rxjs.combineLatest([a,b,c]).pipe(rxjs.operators.map(([l,m,n])=>n.valueOf()?Object.assign({},l,{username:m.Lg(),password:m.Ci()}):null));this.D=new olympe.Fa.eo(c);sd(this);this.ma=
476
476
  '';k.get('topicPrefix').subscribe(l=>{this.V.debug(`Bus: new topic prefix: ${l}`);const m=this.ma;this.ma=l;if(wd(this)){this.V.debug(`Resubscribe to queues with new topic prefix: ${l}`);Promise.all(Array.from(this.da).map(([p,r])=>{const t=this;return q(function*(){yield yd(t,p,r);yield id(t.D,m+p)})})).catch(p=>this.V.error(`Failed to subscribe topics after changing the topic prefix: ${p}`));let n;null==(n=this.C)||n.forEach(p=>{Pd(p)})}});this.Pb=this.$=0;this.R=olympe.oa.bf();this.C=null;this.ca=
477
477
  !1;this.W=[];this.da=new Map;this.za=new olympe.oa.Nt(this.ob);this.Ha=!1}connect(){return new Promise((a,b)=>{const c=d=>{b(d);this.W.forEach(e=>e(d));this.W=[]};wd(this)?a():this.ca||this.Ha?this.W.push(d=>d?b(d):a()):xd(this.Oa)?(this.Ha=!0,olympe.j.ls([this.T.mx()],d=>{this.Ha=!1;d.valueOf()||this.Ka?(this.Ka||Qd(this.T,()=>this.disconnect().then()),this.ca=!0,this.W.push(e=>e?b(e):a()),this.D.connect()):c(Error('Guest user is not allowed to connect to RabbitMQ, you can allow guest with the bus.allowGuest oConfig parameter!'))})):
478
478
  c(Error('Cannot connect to the bus if working offline'))})}disconnect(){return new Promise(a=>{this.V.debug('Disconnecting from bus');this.T.ca.delete('busLogoutCallback');this.D.end(!1,()=>a())})}publish(a,b=!1){const c=this;return q(function*(){if(!c.ca||a.getType()!==olympe.Y.pd.C.Tk){wd(c)||(yield c.connect());var d=b?a.Yf():c.ma+a.Yf();try{zd(c,a.dk.toString(),'serialize');var e=a.fb(c.Pa,c.qc.bind(c,a));c.V.C()&&c.V.debug(`BUS > #${d}:`,JSON.stringify(e))}catch(f){throw Error(`An error occurred while serializing the message (seqId=${a.dk}): ${f}`);
479
479
  }yield c.D.publish(d,e);zd(c,a.dk.toString(),'publish',(new Map).set('destination',a.Yf()).set('messageType',a.getType().toString()))}})}qc(a,b){const c=this.Pb++;(()=>{const d=this;return q(function*(){const e=m=>d.publish(new olympe.Y.pd(a.Yf(),a.Sd(),a.dk,olympe.Y.pd.C.el,m)),f=olympe.Y.il.Xq,g=olympe.Y.il.wp,k=olympe.Y.il.we;let l=0;try{for(const m=ia(b);;){const n=yield m.next();if(n.done)break;const p=n.value;yield e({id:c,i:l++,e:f,c:p})}yield e({id:c,s:l,e:g})}catch(m){yield e({id:c,e:k,reason:`Error to complete the stream: ${m}`})}})})();
480
- return c}ai(a,b,c){return this.send(a.dk,a.Sd(),b,c,!0)}send(a,b,c,d,e){return this.publish(new olympe.Y.pd(b,this.R,a,c,d),e)}};olympe.Y.NF.C='Timeout';const Rd=olympe.Fa.Rc.Headers.xF,Sd=olympe.Fa.Rc.lk.TJ,Td=olympe.Fa.Rc.lk.lQ,Ud=olympe.Fa.Rc.lk.ny,Vd=olympe.Fa.Rc.lk.ZT,Wd=olympe.Fa.Rc.lk.SF,Xd=olympe.Fa.Rc.lk.OQ,Yd=olympe.Fa.Rc.lk.FU,Zd=olympe.Fa.Rc.lk.bT;function $d(a,b){let c;return null!=(c=a.O.get(b))?c:''}function ae(a,b,c,d=new Map){a.C.C&&pb(a.C,'com',d.set('id',`${b}`).set('channel','http').set('eventType',c))}
480
+ return c}ai(a,b,c){return this.send(a.dk,a.Sd(),b,c,!0)}send(a,b,c,d,e){return this.publish(new olympe.Y.pd(b,this.R,a,c,d),e)}};olympe.Y.OF.C='Timeout';const Rd=olympe.Fa.Rc.Headers.yF,Sd=olympe.Fa.Rc.lk.TJ,Td=olympe.Fa.Rc.lk.lQ,Ud=olympe.Fa.Rc.lk.ny,Vd=olympe.Fa.Rc.lk.ZT,Wd=olympe.Fa.Rc.lk.TF,Xd=olympe.Fa.Rc.lk.OQ,Yd=olympe.Fa.Rc.lk.FU,Zd=olympe.Fa.Rc.lk.bT;function $d(a,b){let c;return null!=(c=a.O.get(b))?c:''}function ae(a,b,c,d=new Map){a.C.C&&pb(a.C,'com',d.set('id',`${b}`).set('channel','http').set('eventType',c))}
481
481
  function be(a,b,c){if(null===b)return Promise.reject('No http request to send');cd(b,{[Rd]:c});const d=b.le();return rxjs.firstValueFrom(rxjs.defer(()=>{a.D++;const e=a.D;if(a.V.C()){const f=b.body;a.V.debug('HTTP >',d,`body: ${'string'===typeof f?f:typeof f}`)}ae(a,e,'request',(new Map).set('destination',b.le()).set('messageType',b.method.toString()));return a.R.C(b).then(f=>{ae(a,e,'reply');switch(f.jh()){case Sd:case Td:case Ud:var g=f.data;a.V.C()&&a.V.debug('HTTP <',f.jh(),`content: ${'string'===
482
482
  typeof g?g:typeof g}`);return f;case Vd:throw f=`HTTP < Service provider for http request to ${b.le()} is overloaded, retry later`,a.V.warn(f),new olympe.Y.errors.aK(f);case Wd:return a.V.debug(`HTTP < request canceled (${b.le()}).`),f;case Xd:case Yd:throw f=`HTTP < request authorization denied: ${b.le()}`,a.V.error(f),new olympe.Y.errors.PU(f);case Zd:throw f=`HTTP < requested resource not found: ${b.le()}`,a.V.error(f),new olympe.Y.errors.OJ(f);default:g=`HTTP < Error: ${f.jh()}, ${f.statusText}`;
483
- a.V.error(g);if(500===f.jh()&&'Connection refused'===f.statusText)throw new olympe.Y.errors.cG(g);throw Error(g);}})}).pipe(qb(olympe.Y.errors.aK,(e,f)=>{a.V.warn(`Service overloaded (${d}), retry sending http request after ${f}ms.`)},a.T)))}olympe.Y.aR=class{constructor(a,b,c,d,e){this.V=a;this.R=b;this.C=c;this.O=null;d.subscribe(f=>{this.O=f});this.T=e;this.D=0}};function ce(a,b){if(a.C!==b)switch(a.V.debug('State change '+a.C+' --\x3e '+b),a.C=b,a.ob.forEach(c=>c(b)),b){case olympe.Y.Mc.C.Tz:case olympe.Y.Mc.C.CONNECTING:case olympe.Y.Mc.C.sG:break;case olympe.Y.Mc.C.Vq:a.ma.update(olympe.j.ia.C);break;case olympe.Y.Mc.C.sr:a.R=[0,0,a.R[2]];de(a);break;case olympe.Y.Mc.C.we:let c;a.V.error('Connection to server',null==(c=a.W)?void 0:c.le(),'aborted due to error');a.ma.update(olympe.j.ia.pb);break;case olympe.Y.Mc.C.rF:de(a);break;case olympe.Y.Mc.C.hi:a.ma.update(olympe.j.ia.pb);
483
+ a.V.error(g);if(500===f.jh()&&'Connection refused'===f.statusText)throw new olympe.Y.errors.dG(g);throw Error(g);}})}).pipe(qb(olympe.Y.errors.aK,(e,f)=>{a.V.warn(`Service overloaded (${d}), retry sending http request after ${f}ms.`)},a.T)))}olympe.Y.aR=class{constructor(a,b,c,d,e){this.V=a;this.R=b;this.C=c;this.O=null;d.subscribe(f=>{this.O=f});this.T=e;this.D=0}};function ce(a,b){if(a.C!==b)switch(a.V.debug('State change '+a.C+' --\x3e '+b),a.C=b,a.ob.forEach(c=>c(b)),b){case olympe.Y.Mc.C.Tz:case olympe.Y.Mc.C.CONNECTING:case olympe.Y.Mc.C.tG:break;case olympe.Y.Mc.C.Vq:a.ma.update(olympe.j.ia.C);break;case olympe.Y.Mc.C.sr:a.R=[0,0,a.R[2]];de(a);break;case olympe.Y.Mc.C.we:let c;a.V.error('Connection to server',null==(c=a.W)?void 0:c.le(),'aborted due to error');a.ma.update(olympe.j.ia.pb);break;case olympe.Y.Mc.C.sF:de(a);break;case olympe.Y.Mc.C.hi:a.ma.update(olympe.j.ia.pb);
484
484
  break;default:throw Error('State machine error in server manager. Should not get in state '+b);}}
485
- function ee(a){const b=olympe.Y.Mc.C.rF,c=olympe.Y.Mc.C.Tz,d=olympe.Y.Mc.C.hi,e=ad(a.da);a.V.info(`Trying to wakeup orchestrator with ${e}`);ce(a,c);const f=a.Eb.R(a.da);f.ca(g=>{const k=JSON.parse(g);a.V.info(`${e}: ${null==k?void 0:k.status}`);switch(null==k?void 0:k.status){case 'ready':ce(a,b);f.close();break;case 'asleep':a.V.info(`Trying to wakeup orchestrator with ${e}`);f.send('{"action": "wakeup"}');ce(a,c);break;case 'waking-up':break;default:a.V.warn(`Invalid message from ${e}: ${g}`),
485
+ function ee(a){const b=olympe.Y.Mc.C.sF,c=olympe.Y.Mc.C.Tz,d=olympe.Y.Mc.C.hi,e=ad(a.da);a.V.info(`Trying to wakeup orchestrator with ${e}`);ce(a,c);const f=a.Eb.R(a.da);f.ca(g=>{const k=JSON.parse(g);a.V.info(`${e}: ${null==k?void 0:k.status}`);switch(null==k?void 0:k.status){case 'ready':ce(a,b);f.close();break;case 'asleep':a.V.info(`Trying to wakeup orchestrator with ${e}`);f.send('{"action": "wakeup"}');ce(a,c);break;case 'waking-up':break;default:a.V.warn(`Invalid message from ${e}: ${g}`),
486
486
  f.close(),ce(a,d)}});f.D(()=>{a.V.warn(`Communication with ${e} failed.`);f.close();ce(a,d)});f.da(()=>{a.V.info(`Checking orchestrator status with ${e}`);f.send('{"action": "status"}')})}
487
- function fe(a,b){a.V.log('Initializing COMMUNICATION layer');if(a.V.C()){const c=['Server layer parameters:'];b.forEach((d,e)=>{c.push(e+'="'+d+'"')});a.V.debug(c.join('\n\t'))}ge(a,olympe.Y.xj.we,c=>{switch(c.c){case olympe.Y.xt.HU:a.V.error('Unknown message sent to the server:',olympe.Y.Mc.Vf[c.s]);break;case olympe.Y.xt.LQ:a.V.error('Fatal error, the last message is probably too big according to the websocket config.'),a.O.forEach((d,e)=>{null!==d.yE&&he(a,e,c.i)})}});ge(a,olympe.Y.xj.Vf,c=>{c.c===
487
+ function fe(a,b){a.V.log('Initializing COMMUNICATION layer');if(a.V.C()){const c=['Server layer parameters:'];b.forEach((d,e)=>{c.push(e+'="'+d+'"')});a.V.debug(c.join('\n\t'))}ge(a,olympe.Y.xj.we,c=>{switch(c.c){case olympe.Y.xt.HU:a.V.error('Unknown message sent to the server:',olympe.Y.Mc.Vf[c.s]);break;case olympe.Y.xt.LQ:a.V.error('Fatal error, the last message is probably too big according to the websocket config.'),a.O.forEach((d,e)=>{null!==d.zE&&he(a,e,c.i)})}});ge(a,olympe.Y.xj.Vf,c=>{c.c===
488
488
  olympe.Y.xt.IT&&'boolean'===typeof c.a&&a.Yh.update(olympe.j.hc(c.a))});olympe.j.$a(a.ma,()=>{let c=!1;olympe.j.$a(a.Pa.C(),()=>{c&&(a.qc(),a.sb(),c=!1);Yc(a.qc.bind(a),a.ld);Yc(a.sb.bind(a),a.Ka)},()=>{a.R=[0,0,a.R[2]];c=!0})},()=>{a.$=null;Wc(a.sb.bind(a),a.Ka)});kb(a.T,(c,d)=>{d.throw(Error('Stream timeout'))});a.V.log('DONE initializing SERVER layer (waiting for NET layer connection to be opened)')}function ie(a){return a.C===olympe.Y.Mc.C.Vq}
489
489
  function je(a,b,c,d=!1){const e=f=>{if(0===b.length||b.includes(f))d&&a.ob.delete(e),c(f)};a.ob.add(e);e(a.C)}function ke(a,b,c,d,e){a.za.C&&pb(a.za,'com',d.set('id',`${b}`).set('channel','ws').set('eventType',c),e)}
490
490
  function de(a){const b=olympe.Y.Mc.C.INIT,c=olympe.Y.Mc.C.CONNECTING,d=olympe.Y.Mc.C.Vq,e=olympe.Y.Mc.C.hi,f=olympe.Y.Mc.C.sr,g=olympe.Y.Mc.C.Tz,k=olympe.Y.Mc.C.we;if(null===a.W)a.V.warn('Trying to open a connection to the orchestrator without a valid server request. Ignoring...'),ce(a,e);else{null!==a.D&&(a.D.$(null),a.D.close());var l,m;a.V.log(`Asking NET layer for a connection to ${null==(l=a.W)?void 0:$c(l)}:${null==(m=a.W)?void 0:m.port}...`);a.D=a.Eb.R(a.W);a.D.da(a.Yc.bind(a));a.D.ca(a.vg.bind(a));
491
- a.D.$(()=>{a.D=null;a.C===d?ce(a,f):a.C!==k&&a.C!==g&&ce(a,e)});a.da&&a.C===b&&a.D.D(()=>{a.D.D(null);a.C===c&&ee(a);a.da=null});a.C!==f&&ce(a,c)}}function le(a,b,c,d){const e=a.gd;a.gd++;c={message:{seqId:e,messageFamily:b,payload:c},Bm:d?me(d):null,yE:null};a.O.set(e,c);ke(a,e,'publish',(new Map).set('family',b));d=[olympe.Y.Mc.C.CONNECTING,olympe.Y.Mc.C.sr];(ie(a)||b===olympe.Y.xj.Wy&&d.includes(a.C))&&ne(a,e,c)}
491
+ a.D.$(()=>{a.D=null;a.C===d?ce(a,f):a.C!==k&&a.C!==g&&ce(a,e)});a.da&&a.C===b&&a.D.D(()=>{a.D.D(null);a.C===c&&ee(a);a.da=null});a.C!==f&&ce(a,c)}}function le(a,b,c,d){const e=a.gd;a.gd++;c={message:{seqId:e,messageFamily:b,payload:c},Bm:d?me(d):null,zE:null};a.O.set(e,c);ke(a,e,'publish',(new Map).set('family',b));d=[olympe.Y.Mc.C.CONNECTING,olympe.Y.Mc.C.sr];(ie(a)||b===olympe.Y.xj.Wy&&d.includes(a.C))&&ne(a,e,c)}
492
492
  function me(a){const b=olympe.Y.Mc.D.lw;return c=>{if(null!==c&&void 0!==c){var d=null,e=c.s;if(void 0!==e&&e!==b){d=void 0!==olympe.Y.Mc.Vf[e]?`Status code = ${e} [${olympe.Y.Mc.Vf[e]}]`:`Status code = ${e}`;e=olympe.Y.errors.BK;const f=c.error;'string'===typeof f&&0<f.length&&(f.includes('Message timeout')&&(e=olympe.Y.errors.Nz),d+=`\nReason:\n${f}`);d=new e('Rejected by orchestrator:\n'+d)}a(d,c)}}}
493
- function ne(a,b,c){var d=c.message;a.V.C()&&a.V.debug('WS >',JSON.stringify(d.payload));(d=a.D.send(JSON.stringify(d)))?null===c.Bm?a.O.delete(b):c.yE=Date.now():olympe.j.Qa(a.Pa.C()).valueOf()&&ce(a,olympe.Y.Mc.C.sr);return d}function ge(a,b,c,d){void 0===d&&(d=olympe.oa.bf());let e=a.Ha.get(b);void 0===e&&(e=new Map,a.Ha.set(b,e));e.set(d,c);return d}function oe(a,b,c){a=a.Ha.get(b);void 0!==a&&a.delete(c)}
493
+ function ne(a,b,c){var d=c.message;a.V.C()&&a.V.debug('WS >',JSON.stringify(d.payload));(d=a.D.send(JSON.stringify(d)))?null===c.Bm?a.O.delete(b):c.zE=Date.now():olympe.j.Qa(a.Pa.C()).valueOf()&&ce(a,olympe.Y.Mc.C.sr);return d}function ge(a,b,c,d){void 0===d&&(d=olympe.oa.bf());let e=a.Ha.get(b);void 0===e&&(e=new Map,a.Ha.set(b,e));e.set(d,c);return d}function oe(a,b,c){a=a.Ha.get(b);void 0!==a&&a.delete(c)}
494
494
  function he(a,b,c){if(a.O.has(b)){const {Bm:d}=a.O.get(b);a.O.delete(b);null==d||d({s:olympe.Y.Mc.D.qR,error:c})}}function pe(a,b){a.V.error(b);ce(a,olympe.Y.Mc.C.we)}function qe(a,b,c){a.Pb=c?1E3*c:-1;let d;a.V.info(`Connected to ${null==(d=a.W)?void 0:d.le()}`,'|',b?`server version: ${b}`:'','|',null!==c?`activity timeout: ${c}s`:'');b=Array.from(a.O).sort(([e],[f])=>e-f);for(const [e,f]of b)if(!ne(a,e,f))return;ce(a,olympe.Y.Mc.C.Vq)}
495
495
  function re(a,b){const c=olympe.Y.il.Xq,d=olympe.Y.il.wp,e=olympe.Y.il.we,{id:f,e:g}=b;let k=a.T.get(f);k||(k=new olympe.Y.ZJ(()=>a.T.delete(f)),a.T.set(f,k));if(g===c){ib(a.T.C,f);const {i:l,c:m}=b;k.write(m,l).catch(n=>{k.throw(n)})}else g===d?k.complete(b.s):g===e&&k.throw(Error(`Received stream error: ${b.reason}`))}
496
496
  olympe.Y.Mc=class{constructor(a,b,c,d,e,f,g,k){this.V=a;this.Eb=b;this.W=null;e.subscribe(l=>{this.W=l;l=olympe.Y.Mc.C.CONNECTING;if(this.C===olympe.Y.Mc.C.Vq||this.C===l){let m;null==(m=this.D)||m.close()}});this.da=this.D=null;e.subscribe(l=>{this.da=l;l=olympe.Y.Mc.C.hi;this.C===olympe.Y.Mc.C.Tz&&(ce(this,l),ee(this))});this.za=g;this.ld=k.get('pingInterval');this.Ka=k.get('messageTimeout');this.ca=olympe.oa.so.parse(k.get('clientVersion'));this.Oa=olympe.oa.so.parse(k.get('serverVersion'));this.C=
497
497
  olympe.Y.Mc.C.INIT;this.Pa=d;this.xb=k.get('getContextMode');this.gd=1;this.$=null;this.R=[0,0,0];this.Ha=new Map;this.ma=olympe.j.Za(olympe.j.ia,'Server is connected');this.Yh=M(olympe.j.Za(olympe.j.ia,'Server is readonly'),olympe.j.ia.pb);this.ob=new Set;this.O=new Map;this.T=new olympe.oa.Nt(this.Ka);this.kc=new Map;this.Pb=-1;fe(this,k)}connect(){const a=olympe.Y.Mc.C.Vq,b=olympe.Y.Mc.C.hi,c=olympe.Y.Mc.C.we,d=olympe.Y.Mc.C.INIT;return new Promise((e,f)=>{this.C!==d&&this.C!==b||de(this);je(this,
498
- [a,b,c],g=>{g===a?e():f(Error('Was not able to open a connection to the orchestrator'))},!0)})}disconnect(){return new Promise((a,b)=>{const c=olympe.Y.Mc.C.sG,d=olympe.Y.Mc.C.hi,e=olympe.Y.Mc.C.CONNECTING,f=olympe.Y.Mc.C.we;this.C===olympe.Y.Mc.C.Vq||this.C===e||this.C===c?(je(this,[d,f],g=>{g===d?a():b(Error('Was not able to disconnect'))},!0),this.C!==c&&(ce(this,c),this.D.close())):(ce(this,d),a())})}Yc(){this.V.debug('Websocket connected, sending handshake. Client version:',Gb(this.ca),'subscribeEverything:',
498
+ [a,b,c],g=>{g===a?e():f(Error('Was not able to open a connection to the orchestrator'))},!0)})}disconnect(){return new Promise((a,b)=>{const c=olympe.Y.Mc.C.tG,d=olympe.Y.Mc.C.hi,e=olympe.Y.Mc.C.CONNECTING,f=olympe.Y.Mc.C.we;this.C===olympe.Y.Mc.C.Vq||this.C===e||this.C===c?(je(this,[d,f],g=>{g===d?a():b(Error('Was not able to disconnect'))},!0),this.C!==c&&(ce(this,c),this.D.close())):(ce(this,d),a())})}Yc(){this.V.debug('Websocket connected, sending handshake. Client version:',Gb(this.ca),'subscribeEverything:',
499
499
  this.xb?'NO':'YES');le(this,olympe.Y.xj.Wy,{c:olympe.Y.xt.Wy,cv:Gb(this.ca),m:this.xb?0:1,s:this.$,b:this.Pa.R()},this.Hg.bind(this))}Hg(a,b){if(a)pe(this,'Error in receiving handshake response: '+a.message);else{this.V.debug('Handshake response received');var c=olympe.Y.Mc.O;a=b.sv||'undefined';var d=b.activityTimeout?Math.max(b.activityTimeout-60,5):null;switch(b.status){case c.rR:pe(this,`Framework version (${Gb(this.ca)}) provided to the orchestrator was not valid. See orchestrator logs for more info.`);
500
500
  return;case c.AU:pe(this,`Framework version (${Gb(this.ca)}) is not compatible with the orchestrator in use. See orchestrator logs for more info.`);return;case c.SQ:pe(this,'Handshake failed. See orchestrator logs for more info.');return}if(this.Oa.Rb(olympe.oa.so.C))this.V.warn('Handshake successful but received server version',a,'is invalid. Cannot check against it');else try{var e=olympe.oa.so.parse(a);if(e.ey(this.Oa)){pe(this,`Framework v${Gb(this.ca)} is expecting Orchestrator to be at least in v${Gb(this.Oa)}`);
501
501
  return}this.V.log('Handshake successful. Orchestrator version: ',JSON.stringify(e),'required:',Gb(this.Oa))}catch(f){pe(this,f);return}e=olympe.Y.Mc.C.hi;if(this.C===olympe.Y.Mc.C.sr&&null!==this.$&&this.$!==b.sessionId)this.V.warn('Trying to do a session recovering, but got another session id so retry from disconnected state'),ce(this,e);else{if(e=b.identityProviders)for(const [f,g]of Object.entries(e))this.kc.set(f,g);this.$=b.sessionId||null;qe(this,a,d)}}}qc(){this.R[0]-this.R[1]>this.ld/2?(this.V.debug('Ping did not get answer, try to reconnect'),
502
502
  ce(this,olympe.Y.Mc.C.sr)):(this.R[0]=Date.now(),this.D.send('ping')||(this.V.debug('Impossible to send ping, try to reconnect'),ce(this,olympe.Y.Mc.C.sr)))}vg(a){this.R[2]=Date.now();if(a.startsWith('pong'))return olympe.j.Qa(this.Pa.C()).valueOf()&&(this.R[1]=this.R[2]),null;var b=0;this.za.C&&(b=performance.now()-this.za.D);try{var c=JSON.parse(a)}catch(g){return this.V.error('Unable to parse response from server: '+g.toString()),Error('Unable to parse response from server')}a=c.seqId;var d=c.stream;
503
503
  const e=c.messageFamily;c=c.payload;if(this.V.C()){const g=({id:k,i:l,e:m,c:n})=>m===olympe.Y.il.Xq?`stream[${k}][${l}]: ${JSON.stringify(n)}`:m===olympe.Y.il.wp?`stream[${k}]:END`:`stream[${k}]:ERROR`;this.V.debug(`WS < ${JSON.stringify(c)}, ${d?g(d):''}`)}ke(this,a,'consumed',new Map,b);ke(this,a,'deserialized',(new Map).set('family',e));if(void 0!==d){var f=d.id;b=this.T.has(f);re(this,d);if(b)return null;d=this.T.get(f);if(!d)return this.V.error(`Received a stream chunk for an unknown stream id: ${f}`),
504
- null;f=d.stream}this.O.has(a)&&({Bm:d}=this.O.get(a),this.O.delete(a),null==d||d(c,f));a=this.Ha.get(e);if(void 0!==a)for(const g of a.values())g(c,f);return null}sb(){const a=Date.now();for(const [b,{yE:c}]of this.O)null!==c&&a-c>this.Ka&&(this.V.warn(`No response was received from the server for the seqId = ${b}`),he(this,b,'Message timeout: never receive acknowledge'))}};function xd(a){return olympe.j.Qa(a.C)===olympe.Y.mf.C.nr}
505
- function se(a,b){const c=olympe.Y.mf.C.RC,d=olympe.Y.mf.C.jk,e=olympe.Y.mf.C.hi,f=olympe.Y.mf.C.fU,g=b.get('reconnectionDelay');je(a.O,[olympe.Y.Mc.C.INIT],()=>{te(a)?(a.C.update(c),a.connect().catch(k=>a.V.error(k))):a.O.disconnect().catch(k=>a.V.error(k))},!0);je(a.O,[olympe.Y.Mc.C.hi],()=>{if(olympe.j.Qa(a.C)===f)a.V.info('Disconnected, from orchestrator for shutdown');else if(a.C.update(a.D?d:e),te(a)&&a.T){const k=`Disconnected, will try to auto reconnect in ${g} ms`;a.D?a.V.log(k):a.V.error(k);
504
+ null;f=d.stream}this.O.has(a)&&({Bm:d}=this.O.get(a),this.O.delete(a),null==d||d(c,f));a=this.Ha.get(e);if(void 0!==a)for(const g of a.values())g(c,f);return null}sb(){const a=Date.now();for(const [b,{zE:c}]of this.O)null!==c&&a-c>this.Ka&&(this.V.warn(`No response was received from the server for the seqId = ${b}`),he(this,b,'Message timeout: never receive acknowledge'))}};function xd(a){return olympe.j.Qa(a.C)===olympe.Y.mf.C.nr}
505
+ function se(a,b){const c=olympe.Y.mf.C.SC,d=olympe.Y.mf.C.jk,e=olympe.Y.mf.C.hi,f=olympe.Y.mf.C.fU,g=b.get('reconnectionDelay');je(a.O,[olympe.Y.Mc.C.INIT],()=>{te(a)?(a.C.update(c),a.connect().catch(k=>a.V.error(k))):a.O.disconnect().catch(k=>a.V.error(k))},!0);je(a.O,[olympe.Y.Mc.C.hi],()=>{if(olympe.j.Qa(a.C)===f)a.V.info('Disconnected, from orchestrator for shutdown');else if(a.C.update(a.D?d:e),te(a)&&a.T){const k=`Disconnected, will try to auto reconnect in ${g} ms`;a.D?a.V.log(k):a.V.error(k);
506
506
  setTimeout(()=>a.connect().catch(l=>a.V.error(l)),g)}else a.V.info('Disconnected, stay offline.')})}function te(a){return null===a.storage.get(a.R+'olympe_manual_offline')}
507
507
  olympe.Y.mf=class{constructor(a,b,c,d,e,f){this.V=a;this.O=b;this.storage=e;this.C=olympe.j.Za(Number).update(olympe.Y.mf.C.INIT);this.D=f.get('offlineEnabled');this.T=f.get('offlineAutoBackOnline');this.R=f.get('storagePrefix');se(this,f)}Io(){const a=olympe.Y.mf.C.nr,b=olympe.Y.mf.C.jk,c=olympe.Y.mf.C.hi;let d=olympe.j.ia.pb;return olympe.j.Xa([this.C],e=>{if(e===a)d=olympe.j.ia.C;else if(e===b||e===c)d=olympe.j.ia.pb;return d},olympe.j.ia)}getState(){return this.C.wa()}connect(){const a=this;return q(function*(){const b=
508
- olympe.Y.mf.C.nr,c=olympe.Y.mf.C.RC;olympe.j.Qa(a.C)!==b&&(a.C.update(c),a.storage.delete(a.R+'olympe_manual_offline'),yield a.O.connect(),yield ue(),a.C.update(b))})}disconnect(){const a=this;return q(function*(){const b=olympe.Y.mf.C.jk,c=olympe.Y.mf.C.RC;if(!a.D)throw Error('Try to go offline manually while the process does not support it. Please add `offline.enabled=true` in the config');a.storage.set(a.R+'olympe_manual_offline','true');olympe.j.Qa(a.C)!==b&&(a.C.update(c),yield olympe.Y.mu().disconnect(),
509
- yield a.O.disconnect())})}};olympe.Y.mf.C={INIT:0,RC:1,nr:2,jk:3,hi:4,fU:5};olympe.Y.mf.D='olympe_manual_offline';olympe.Y.pd=class{constructor(a,b,c,d,e){this.dk=c;this.D=a;this.source=b;this.messageType=d;this.C=null!=e?e:null}static D(a,b,c){let d;var e=olympe.Y.pd,f=a.dest,g=a.src,k=a.seq,l=a.type;b.T=c;return new e(f,g,k,l,b.W(null!=(d=a.content)?d:null))}Yf(){return this.D}Sd(){return this.source}getType(){return this.messageType}fb(a,b){const c={dest:this.D,src:this.source,seq:this.dk,type:this.messageType};null!==this.C&&(a.$=b,c.content=a.fb(this.C));return c}toString(){return`Message(dest: ${this.D}, src: ${this.source}, seqId: ${this.dk}, type: ${this.messageType})`}};
510
- olympe.Y.pd.C={SEND:0,GET:1,SUBSCRIBE:2,PUBLISH:3,DL:4,el:5,jD:6,we:7,sB:10,IK:11,rL:12,Tk:13,pD:14};olympe.Y.Gz=class extends olympe.Y.pd{constructor(a,b,c,d,e,f){super(a,b,d,e,f);this.O=c}static D(a,b,c){let d;var e=olympe.Y.Gz,f=a.dest,g=a.src,k=a.auth,l=a.seq,m=a.type;b.T=c;return new e(f,g,k,l,m,b.W(null!=(d=a.content)?d:null))}vk(){return this.O}fb(a,b){return Object.assign(super.fb(a,b),{auth:this.O})}};olympe.Y.Gz.xt={SEND:0,GET:1,PUBLISH:2,SUBSCRIBE:3,Tk:4,pD:5};const ve=olympe.Y.pd.C.SEND,we=olympe.Y.pd.C.GET,xe=olympe.Y.pd.C.SUBSCRIBE,ye=olympe.Y.pd.C.Tk,ze=olympe.Y.pd.C.IK,Ae=olympe.Y.pd.C.we,Be=olympe.Y.pd.C.DL,Ce=olympe.Y.pd.C.jD,De=olympe.Y.pd.C.rL;
511
- olympe.Y.uh=class{constructor(a,b,c){this.C=a;this.Na=b;this.O=c;this.D=null}qv(){return null!==this.D?Promise.resolve(this.D):Od(this.Na,this.C).then(a=>this.D=a)}UO(){return this.C.getType()}source(){return this.C.Sd()}body(){return this.C.C}nM(){return this.C.getType()===ve?this.Na.ai(this.C,ze):Promise.reject('Should only call `ack` on SEND requests')}ai(a){const b=this.C.getType();return b===we||b===ye?this.Na.ai(this.C,Be,a):Promise.reject('Should only call `reply` on GET requests')}jE(a){if(this.C.getType()!==
508
+ olympe.Y.mf.C.nr,c=olympe.Y.mf.C.SC;olympe.j.Qa(a.C)!==b&&(a.C.update(c),a.storage.delete(a.R+'olympe_manual_offline'),yield a.O.connect(),yield ue(),a.C.update(b))})}disconnect(){const a=this;return q(function*(){const b=olympe.Y.mf.C.jk,c=olympe.Y.mf.C.SC;if(!a.D)throw Error('Try to go offline manually while the process does not support it. Please add `offline.enabled=true` in the config');a.storage.set(a.R+'olympe_manual_offline','true');olympe.j.Qa(a.C)!==b&&(a.C.update(c),yield olympe.Y.mu().disconnect(),
509
+ yield a.O.disconnect())})}};olympe.Y.mf.C={INIT:0,SC:1,nr:2,jk:3,hi:4,fU:5};olympe.Y.mf.D='olympe_manual_offline';olympe.Y.pd=class{constructor(a,b,c,d,e){this.dk=c;this.D=a;this.source=b;this.messageType=d;this.C=null!=e?e:null}static D(a,b,c){let d;var e=olympe.Y.pd,f=a.dest,g=a.src,k=a.seq,l=a.type;b.T=c;return new e(f,g,k,l,b.W(null!=(d=a.content)?d:null))}Yf(){return this.D}Sd(){return this.source}getType(){return this.messageType}fb(a,b){const c={dest:this.D,src:this.source,seq:this.dk,type:this.messageType};null!==this.C&&(a.$=b,c.content=a.fb(this.C));return c}toString(){return`Message(dest: ${this.D}, src: ${this.source}, seqId: ${this.dk}, type: ${this.messageType})`}};
510
+ olympe.Y.pd.C={SEND:0,GET:1,SUBSCRIBE:2,PUBLISH:3,DL:4,el:5,kD:6,we:7,sB:10,IK:11,rL:12,Tk:13,qD:14};olympe.Y.Gz=class extends olympe.Y.pd{constructor(a,b,c,d,e,f){super(a,b,d,e,f);this.O=c}static D(a,b,c){let d;var e=olympe.Y.Gz,f=a.dest,g=a.src,k=a.auth,l=a.seq,m=a.type;b.T=c;return new e(f,g,k,l,m,b.W(null!=(d=a.content)?d:null))}vk(){return this.O}fb(a,b){return Object.assign(super.fb(a,b),{auth:this.O})}};olympe.Y.Gz.xt={SEND:0,GET:1,PUBLISH:2,SUBSCRIBE:3,Tk:4,qD:5};const ve=olympe.Y.pd.C.SEND,we=olympe.Y.pd.C.GET,xe=olympe.Y.pd.C.SUBSCRIBE,ye=olympe.Y.pd.C.Tk,ze=olympe.Y.pd.C.IK,Ae=olympe.Y.pd.C.we,Be=olympe.Y.pd.C.DL,Ce=olympe.Y.pd.C.kD,De=olympe.Y.pd.C.rL;
511
+ olympe.Y.uh=class{constructor(a,b,c){this.C=a;this.Na=b;this.O=c;this.D=null}qv(){return null!==this.D?Promise.resolve(this.D):Od(this.Na,this.C).then(a=>this.D=a)}UO(){return this.C.getType()}source(){return this.C.Sd()}body(){return this.C.C}nM(){return this.C.getType()===ve?this.Na.ai(this.C,ze):Promise.reject('Should only call `ack` on SEND requests')}ai(a){const b=this.C.getType();return b===we||b===ye?this.Na.ai(this.C,Be,a):Promise.reject('Should only call `reply` on GET requests')}kE(a){if(this.C.getType()!==
512
512
  xe)return Promise.reject('Should only call `notifyOn` on SUBSCRIBE requests');const b=olympe.oa.bf();return new Promise((c,d)=>{const e={seq:Jd(this.Na,f=>{switch(f.getType()){case De:Ee(this.O,b);c(b);break;case Ae:d(f.C.reason);break;default:d('Unsupported response type for a SUBSCRIBE request')}}),topic:a,id:b,refresh:this.Na.Eb};this.Na.ai(this.C,Ce,e).catch(d)})}gu(a){return this.Na.ai(this.C,Ae,{reason:a.message})}};olympe.Y.uh.prototype.fail=olympe.Y.uh.prototype.gu;
513
- olympe.Y.uh.prototype.notifyOn=olympe.Y.uh.prototype.jE;olympe.Y.uh.prototype.reply=olympe.Y.uh.prototype.ai;olympe.Y.uh.prototype.ack=olympe.Y.uh.prototype.nM;olympe.Y.uh.prototype.body=olympe.Y.uh.prototype.body;olympe.Y.uh.prototype.source=olympe.Y.uh.prototype.source;olympe.Y.uh.prototype.requestType=olympe.Y.uh.prototype.UO;olympe.Y.uh.prototype.userTag=olympe.Y.uh.prototype.qv;function Pd(a){const b=olympe.Y.errors.Zv;a.C.forEach((c,d)=>{Nd(a,d);null==c||c(new b(`Subscription ${d} to be refreshed`,d))})}function Cd(a){if(null!==a.D){var b=a.D;a.D=null;clearInterval(b)}}function Dd(a,b){b&&a.xn();null===a.D&&(a.D=setInterval(a.xn.bind(a),a.O))}function Nd(a,b){b=a.C.delete(b);0===a.C.size&&Cd(a);return b}function Fe(a,b){a.C.forEach((c,d)=>{Nd(a,d);c(b)})}
513
+ olympe.Y.uh.prototype.notifyOn=olympe.Y.uh.prototype.kE;olympe.Y.uh.prototype.reply=olympe.Y.uh.prototype.ai;olympe.Y.uh.prototype.ack=olympe.Y.uh.prototype.nM;olympe.Y.uh.prototype.body=olympe.Y.uh.prototype.body;olympe.Y.uh.prototype.source=olympe.Y.uh.prototype.source;olympe.Y.uh.prototype.requestType=olympe.Y.uh.prototype.UO;olympe.Y.uh.prototype.userTag=olympe.Y.uh.prototype.qv;function Pd(a){const b=olympe.Y.errors.Zv;a.C.forEach((c,d)=>{Nd(a,d);null==c||c(new b(`Subscription ${d} to be refreshed`,d))})}function Cd(a){if(null!==a.D){var b=a.D;a.D=null;clearInterval(b)}}function Dd(a,b){b&&a.xn();null===a.D&&(a.D=setInterval(a.xn.bind(a),a.O))}function Nd(a,b){b=a.C.delete(b);0===a.C.size&&Cd(a);return b}function Fe(a,b){a.C.forEach((c,d)=>{Nd(a,d);c(b)})}
514
514
  olympe.Y.yU=class{constructor(a,b,c,d){this.V=a;this.Na=b;this.R=c;this.O=d;this.C=new Map;this.D=null}Qc(){return this.C.size}xn(){const a=olympe.Y.errors.Zv;wd(this.Na)?Id(this.Na,this.R,olympe.Y.pd.C.Tk,Array.from(this.C.keys())).then(b=>{b=b.C;0<b.length&&b.forEach(c=>{const d=this.C.get(c);Nd(this,c);null==d||d(new a('Subscription does not exist in the service.',c))})}).catch(b=>{b=`Impossible to keep alive subscriptions: ${b}`;this.V.error(b);Fe(this,Error(b))}):Cd(this)}};function Ge(a,b){return{t:a,v:b}}
515
515
  olympe.Y.Mf=class{constructor(){this.T=this.$=null}fb(a){a=this.D(a);this.$=null;return a}W(a){a=this.C(a);this.T=null;return a}D(a){switch(!0){case null===a:case void 0===a:return null;case 'string'===typeof a:case 'boolean'===typeof a:case 'number'===typeof a:return a;case a instanceof olympe.j.ac:return Ge(olympe.Y.Mf.C.PB,a.valueOf().toISOString());case a instanceof Date:return Ge(olympe.Y.Mf.C.PB,a.toISOString());case a instanceof olympe.j.Color:return Ge(olympe.Y.Mf.C.COLOR,a.toJSON());case a instanceof
516
516
  Map:return a=Object.fromEntries(Array.from(a).map(([c,d])=>[c,this.D(d)])),Ge(olympe.Y.Mf.C.yJ,a);case a instanceof Set:return a=Array.from(a).map(this.D.bind(this)),Ge(olympe.Y.Mf.C.zr,a);case Array.isArray(a):return a.map(this.D.bind(this));case a instanceof ArrayBuffer:return a=olympe.oa.Dj().C(new Uint8Array(a)),Ge(olympe.Y.Mf.C.ARRAY_BUFFER,a);case a instanceof Uint8Array:return a=olympe.oa.Dj().C(a),Ge(olympe.Y.Mf.C.Pt,a);case a instanceof olympe.oa.stream.lo:if(!this.$)throw Error('No stream handler has been set, so cannot serialize the stream.');
517
- let b;return Ge(olympe.Y.Mf.C.el,null==(b=this.$)?void 0:b.call(this,a));case 'object'===typeof a:return a=Object.entries(a).reduce((c,[d,e])=>{c[d]=this.D(e);return c},{}),Ge(olympe.Y.Mf.C.QJ,a);default:throw Error(`Impossible to serialize the following value: ${a}`);}}C(a){switch(!0){case null===a:case void 0===a:return null;case 'string'===typeof a:case 'boolean'===typeof a:case 'number'===typeof a:return a}if(Array.isArray(a))return a.map(d=>this.C(d));if('object'!==typeof a)throw new olympe.Y.errors.xG(`Impossible to deserialize the following value: ${a}`);
517
+ let b;return Ge(olympe.Y.Mf.C.el,null==(b=this.$)?void 0:b.call(this,a));case 'object'===typeof a:return a=Object.entries(a).reduce((c,[d,e])=>{c[d]=this.D(e);return c},{}),Ge(olympe.Y.Mf.C.QJ,a);default:throw Error(`Impossible to serialize the following value: ${a}`);}}C(a){switch(!0){case null===a:case void 0===a:return null;case 'string'===typeof a:case 'boolean'===typeof a:case 'number'===typeof a:return a}if(Array.isArray(a))return a.map(d=>this.C(d));if('object'!==typeof a)throw new olympe.Y.errors.yG(`Impossible to deserialize the following value: ${a}`);
518
518
  const {t:b,v:c}=a;switch(b){case olympe.Y.Mf.C.PB:return new Date(c);case olympe.Y.Mf.C.COLOR:return olympe.j.Color.ke(c);case olympe.Y.Mf.C.yJ:return new Map(Object.entries(c).map(([e,f])=>[e,this.C(f)]));case olympe.Y.Mf.C.zr:return new Set(c.map(e=>this.C(e)));case olympe.Y.Mf.C.ARRAY_BUFFER:return olympe.oa.Dj().D(c).buffer;case olympe.Y.Mf.C.Pt:return olympe.oa.Dj().D(c);case olympe.Y.Mf.C.el:if(!this.T)throw Error('No stream handler has been set, so cannot deserialize the stream.');let d;return null==
519
- (d=this.T)?void 0:d.call(this,c);case olympe.Y.Mf.C.QJ:return Object.entries(c).reduce((e,[f,g])=>{e[f]=this.C(g);return e},{});default:throw new olympe.Y.errors.xG(`Impossible to deserialize the following value: ${c}`);}}};olympe.Y.Mf.C={PB:1,COLOR:2,yJ:3,zr:4,ARRAY_BUFFER:5,Pt:6,el:7,QJ:8};const He=olympe.Y.pd.C.SEND,Ie=olympe.Y.pd.C.GET,Je=olympe.Y.pd.C.PUBLISH,Ke=olympe.Y.pd.C.SUBSCRIBE,Le=olympe.Y.pd.C.Tk,Me=olympe.Y.pd.C.pD,Ne=olympe.Y.pd.C.IK,Oe=olympe.Y.pd.C.sB,Pe=olympe.Y.pd.C.we,Qe=olympe.Y.pd.C.DL,Re=olympe.Y.pd.C.jD;function Ee(a,b){a.C||(a.C=jb(new olympe.oa.nD(a.Na.Eb+3E4),c=>{let d;null==(d=a.D)||d.call(a,c)}));a.C.add(b)}
520
- function Se(a,b){const c=olympe.Y.pd.C.jD,d=olympe.Y.pd.C.rL;return b.getType()!==c?Promise.reject('Should only call `topicAck` on TOPIC responses'):a.send(b.C.seq,b.Sd(),d,null,!0)}function Te(a){let b,c;a=null!=(c=null==(b=a.C)?void 0:b.reason)?c:'Unknown reason';return'Timeout'===a?new olympe.Y.errors.Nz(a):Error(a)}
519
+ (d=this.T)?void 0:d.call(this,c);case olympe.Y.Mf.C.QJ:return Object.entries(c).reduce((e,[f,g])=>{e[f]=this.C(g);return e},{});default:throw new olympe.Y.errors.yG(`Impossible to deserialize the following value: ${c}`);}}};olympe.Y.Mf.C={PB:1,COLOR:2,yJ:3,zr:4,ARRAY_BUFFER:5,Pt:6,el:7,QJ:8};const He=olympe.Y.pd.C.SEND,Ie=olympe.Y.pd.C.GET,Je=olympe.Y.pd.C.PUBLISH,Ke=olympe.Y.pd.C.SUBSCRIBE,Le=olympe.Y.pd.C.Tk,Me=olympe.Y.pd.C.qD,Ne=olympe.Y.pd.C.IK,Oe=olympe.Y.pd.C.sB,Pe=olympe.Y.pd.C.we,Qe=olympe.Y.pd.C.DL,Re=olympe.Y.pd.C.kD;function Ee(a,b){a.C||(a.C=jb(new olympe.oa.oD(a.Na.Eb+3E4),c=>{let d;null==(d=a.D)||d.call(a,c)}));a.C.add(b)}
520
+ function Se(a,b){const c=olympe.Y.pd.C.kD,d=olympe.Y.pd.C.rL;return b.getType()!==c?Promise.reject('Should only call `topicAck` on TOPIC responses'):a.send(b.C.seq,b.Sd(),d,null,!0)}function Te(a){let b,c;a=null!=(c=null==(b=a.C)?void 0:b.reason)?c:'Unknown reason';return'Timeout'===a?new olympe.Y.errors.Nz(a):Error(a)}
521
521
  olympe.Y.de=class{constructor(a,b){this.Na=olympe.Y.mu();this.O=a;this.D=this.C=null;this.R=new olympe.j.ee(`Service ${a}`,'function'===typeof b.se?b.se():b);this.V=olympe.gb.Cb(`Service ${this.O}`)}static observe(a,b,c,d={}){const e='function'===typeof b.se?b.se():b,f=olympe.Y.mu();return(new rxjs.Observable(g=>{let k=null,l=null;const m=()=>{g.complete();l&&Md(f,a,l);k&&Kd(f,k).catch(n=>olympe.gb.Cb('Service '+a).error('Failed to unsubscribe from a topic '+n))};e.Ve(m);Id(f,a,Ke,c,d.timeout).then(n=>
522
522
  {switch(n.getType()){case Re:const p=n.C;k=p.topic;yd(f,k,r=>{r.getType()===Je?g.next(r.C):(g.error('Unsupported notification message. It should be a publish'),m())}).then(()=>{l=p.id;Ld(f,a,l,p.refresh,r=>g.error(r));Se(f,n).catch(r=>{g.error(`Was unable to ack the subscription: ${r}`);m()})}).catch(r=>{g.error(`Was not able to subscribe to notification topic ${k}: ${r}`);m()});break;case Pe:g.error(Te(n));break;default:g.error('Unsupported response type for a SUBSCRIBE request')}}).catch(n=>g.error(n));
523
523
  return m})).pipe(qb(olympe.Y.errors.Zv,(g,k)=>{olympe.gb.Cb(`Service ${a}`).debug(`Subscribed to topic ${g.ja()} now that we are back online, after waiting for ${k}ms`);let l;null==(l=d.onRetry)||l.call(d)}))}wP(a){this.D=a;return this}stop(){this.R.destroy()}clear(){Kd(this.Na,this.O).catch(b=>this.V.error('Failed to unsubscribe from '+this.O+', error: '+b));if(this.D){let b;null==(b=this.C)||b.forEach(c=>{let d;return null==(d=this.D)?void 0:d.call(this,c)})}let a;null==(a=this.C)||a.clear()}static publish(a,
524
524
  b){return q(function*(){yield Id(olympe.Y.mu(),a,Je,b)})}static send(a,b,c={}){return Id(olympe.Y.mu(),a,He,b,c.timeout).then(d=>{switch(d.getType()){case Ne:break;case Pe:throw Te(d);default:throw Error('Unsupported response type for a SEND request');}})}static get(a,b,c={}){return Id(olympe.Y.mu(),a,Ie,b,c.timeout).then(d=>{switch(d.getType()){case Qe:d=d.C;if(null!==d)return d;throw Error('No payload after request to service: '+a);case Pe:throw Te(d);default:throw Error('Unsupported response type for a GET request');
525
525
  }})}Bu(){return new rxjs.Observable(a=>{const b=()=>{a.complete();this.clear()};this.R.onDestroy(b);yd(this.Na,this.O,c=>{const d=new olympe.Y.uh(c,this.Na,this);switch(c.getType()){case Le:var e=d.body().filter(g=>{let k;return!(null==(k=this.C)?0:ib(k,g))});d.ai(e).catch(g=>this.V.error('Not able to validate subscription keep alive',g));break;case Me:c=d.body();null==(e=this.C)||e.delete(c);let f;null==(f=this.D)||f.call(this,c);break;case Je:a.next(d);break;default:this.Na.ai(c,Oe).then(()=>a.next(d))}}).catch(c=>
526
526
  {c='Failed to connect to the bus: '+c;this.V.error(c);a.error(Error(c))});return b})}};olympe.Y.de.prototype.listen=olympe.Y.de.prototype.Bu;olympe.Y.de.get=olympe.Y.de.get;olympe.Y.de.send=olympe.Y.de.send;olympe.Y.de.publish=olympe.Y.de.publish;olympe.Y.de.prototype.stop=olympe.Y.de.prototype.stop;olympe.Y.de.prototype.setUnsubscriptionHandler=olympe.Y.de.prototype.wP;olympe.Y.de.observe=olympe.Y.de.observe;olympe.Y.ZJ=class{constructor(a){this.C=0;this.buffer=[];this.size=null;this.stream=new olympe.oa.stream.lo;this.D=null!=a?a:()=>{}}write(a,b){const c=this;return q(function*(){if(b<c.C||null!==c.size&&b>=c.size)throw Error(`Received stream chunk with unexpected index = ${b}. That index has already been processed. Next expected once is ${c.C}`);for(c.buffer[b-c.C]=a;void 0!==c.buffer[0];){c.C++;const d=c.buffer.shift();yield c.stream.write(d)}c.C===c.size&&(c.D(),c.stream.complete())})}complete(a){if(null!==
527
- this.size)throw Error('The stream has already been completed');if(a<this.C+this.buffer.length)throw Error(`The stream has already reached element n\u00b0${this.C+this.buffer.length}, specified index must be greater or equal to it.`);this.size=a;this.C===this.size&&(this.D(),this.stream.complete())}throw(a){this.D();this.stream.throw(a)}};olympe.Y.xj={Xq:1,tp:2,we:3,lr:4,RZ:5,Wy:6,Vf:7};olympe.Y.xt={Wy:1,HU:2,LQ:3,Tk:5,IT:1,JU:2};olympe.Y.il={Xq:0,wp:1,we:2};olympe.Y.Mc.C={INIT:'initialize',CONNECTING:'connecting',hi:'disconnected',sG:'disconnecting',Vq:'connected',sr:'reconnecting',Tz:'waking',rF:'awake',we:'error'};olympe.Y.Mc.O={TJ:1,SQ:-1,rR:-2,AU:-3};olympe.Y.Mc.D={lw:0,qR:23};
527
+ this.size)throw Error('The stream has already been completed');if(a<this.C+this.buffer.length)throw Error(`The stream has already reached element n\u00b0${this.C+this.buffer.length}, specified index must be greater or equal to it.`);this.size=a;this.C===this.size&&(this.D(),this.stream.complete())}throw(a){this.D();this.stream.throw(a)}};olympe.Y.xj={Xq:1,tp:2,we:3,lr:4,RZ:5,Wy:6,Vf:7};olympe.Y.xt={Wy:1,HU:2,LQ:3,Tk:5,IT:1,JU:2};olympe.Y.il={Xq:0,wp:1,we:2};olympe.Y.Mc.C={INIT:'initialize',CONNECTING:'connecting',hi:'disconnected',tG:'disconnecting',Vq:'connected',sr:'reconnecting',Tz:'waking',sF:'awake',we:'error'};olympe.Y.Mc.O={TJ:1,SQ:-1,rR:-2,AU:-3};olympe.Y.Mc.D={lw:0,qR:23};
528
528
  olympe.Y.Mc.Vf={0:'OK',1:'SRP Authentication First Step Failed',2:'SRP Authentication Last Step Failed',3:'SRP Authentication Bad Credentials',4:'AutoLogin Authentication Failed',5:'AutoLogin Authentication Token Invalid',6:'Logout Failed',7:'SAML Request Generation Failed',8:'SAML Authentication Save Failed',9:'Invalid SAML Response',10:'SAML User Not Found',11:'Transaction Failed',12:'GetContext Failed',13:'Notification Failed',15:'FileService Clean Failed',17:'Try to subscribe multiple times',
529
- 18:'Try to unsubscribe multiple times',21:'GraphDef Query Failed',22:'Client Request Invalid',23:'Internal Server Error',24:'File Retrieval Error',25:'File Does Not Exists',26:'Restore Failed',27:'Permission Error',14:'Handshake Failed',28:'Client Version Too Old',29:'Client Version Invalid Format',34:'Server overloaded, retry later',35:'Add token error',36:'Keep token alive error',37:'Unknown client message',39:'Fetch data while concurrency transaction'};olympe.Y.ba={bm:'com.ConnectivityManager',Jt:'com.ServerManager',IF:'com.BusManager',jC:'com.HttpManager',cl:'com.Serializer',Vb:'com.Logger',RK:'com.Source',zL:'com.Urls',R0:'com.peerFileSvcUrl'};
530
- olympe.Y.pa={Hy:'defaultHost',YT:'server.host',$T:'server.port',aU:'server.ssl',JK:'server.basePath',fM:'server.wsPath',XC:'server.reconnectionDelay',cK:'server.pingInterval',eM:'server.messageTimeout',uK:'server.retryHttpOnOverload',IB:'server.clientVersion',MK:'server.serverVersion',bU:'server.wakeUpService',YP:'bus.host',ZP:'bus.path',$P:'bus.port',bQ:'bus.vhost',aQ:'bus.ssl',Tk:'bus.keepalive',NT:'bus.reschedulePings',hQ:'bus.clientId',fQ:'bus.clean',kQ:'bus.connectTimeout',JF:'bus.shortTimeout',
531
- DB:'bus.requestTimeout',KF:'bus.subscriptionRefreshRate',FT:'bus.queueQoSZero',CB:'bus.allowGuest',sL:'bus.topicPrefix'};
532
- olympe.sa.$e(function(a){const b=olympe.host.vr.At;E(a,olympe.Y.pa.Hy,a.getParameter(olympe.host.pa.iH));E(a,olympe.Y.pa.JK,'OlympeServer');E(a,olympe.Y.pa.sL,'');Xa(a,'com.hostConfig',[olympe.host.pa.Cz,olympe.Y.pa.Hy,olympe.Y.pa.YT,olympe.Y.pa.$T,olympe.Y.pa.aU,olympe.Y.pa.JK,olympe.Y.pa.YP,olympe.Y.pa.bQ,olympe.Y.pa.$P,olympe.Y.pa.ZP,olympe.Y.pa.aQ],(e,f,g,k,l,m,n,p,r,t,u)=>{var v=a.getParameter(olympe.Fa.pa.EC);e=e===olympe.host.vr.At;var w=['localhost','127.0.0.1'],x=(v=f.endsWith(v))&&e?`${f}-${b}`:
533
- f;g=null!=g?g:x;n=null!=n?n:x;const y=(x=w.includes(g))||v;v=(w=w.includes(n))||v;f=w?'/':f.split('.')[0];return{zE:g,AE:null!=k?k:x?8080:y?e?85:80:443,BE:null!=l?l:!y,XO:m,yV:n,CV:null!=p?p:f,AV:null!=r?r:w?15675:v?e?85:80:443,zV:null!=t?t:w?'':'/mqtt',BV:null!=u?u:!v}});E(a,olympe.Y.pa.fM,'websocket');E(a,olympe.Y.pa.XC,5E3);E(a,olympe.Y.pa.cK,5E3);E(a,olympe.Y.pa.eM,3E4);E(a,olympe.Y.pa.uK,4E3);E(a,olympe.Y.pa.MK,'7.5.0');E(a,olympe.Y.pa.Tk,30);E(a,olympe.Y.pa.DB,3E4);E(a,olympe.Y.pa.JF,a.getParameter(olympe.Y.pa.DB));
534
- E(a,olympe.Y.pa.KF,6E4);E(a,olympe.Y.pa.CB,!1);const c=a.getParameter(olympe.Jo.pa.PG);if(void 0!==c)Qa(a,olympe.Y.pa.IB,c);else throw Error('Framework version could not be found! Is field "olympe-framework" present in version.json?');C(a,olympe.Y.ba.Vb,[olympe.gb.ba.Ob],e=>e.Vg('communication'));C(a,'server.WebSocketRequest',[new olympe.sa.at('com.hostConfig'),new olympe.sa.zb(olympe.Y.pa.fM)],(e,f)=>e.pipe(rxjs.operators.map(({zE:g,AE:k,BE:l,XO:m})=>new olympe.Fa.tw(g,k,(m+'/'+f).replace(/\/+/g,
535
- '/').replace(/\/$/,''),l))).pipe(rxjs.operators.shareReplay(1)));C(a,'server.wakeUpRequest',[new olympe.sa.at('com.hostConfig'),new olympe.sa.zb(olympe.Y.pa.bU)],(e,f)=>e.pipe(rxjs.operators.map(({zE:g,AE:k,BE:l})=>{if(null===f||void 0===f)return null;const m=f.replace(/\/+/g,'/').replace(/\/$/,'');return new olympe.Fa.tw(g,k,m,l)})).pipe(rxjs.operators.shareReplay(1)));const d=Array.from(Object.values(olympe.Y.xf));C(a,olympe.Y.ba.zL,[new olympe.sa.at('com.hostConfig'),...d.map(e=>new olympe.sa.zb(e))],
536
- (e,...f)=>e.pipe(rxjs.operators.map(({zE:g,AE:k,BE:l,XO:m})=>{const n=d.map((p,r)=>{r=f[r];r=(new olympe.Fa.Mv(g,k,`${m}${r?'/'+r:''}`.replace(/\/+/g,'/').replace(/\/$/,''),l)).le();return[p,r]});return new Map(n)})).pipe(rxjs.operators.shareReplay(1)));B(a,olympe.Y.ba.cl,olympe.Y.Mf);B(a,olympe.Y.ba.jC,olympe.Y.aR,olympe.Y.ba.Vb,olympe.Fa.ba.Ob,olympe.oa.ba.ho,olympe.Y.ba.zL,new olympe.sa.zb(olympe.Y.pa.uK));C(a,'com.server.ManagerConfig',[new olympe.sa.zb(olympe.Y.pa.cK),new olympe.sa.zb(olympe.Y.pa.eM),
529
+ 18:'Try to unsubscribe multiple times',21:'GraphDef Query Failed',22:'Client Request Invalid',23:'Internal Server Error',24:'File Retrieval Error',25:'File Does Not Exists',26:'Restore Failed',27:'Permission Error',14:'Handshake Failed',28:'Client Version Too Old',29:'Client Version Invalid Format',34:'Server overloaded, retry later',35:'Add token error',36:'Keep token alive error',37:'Unknown client message',39:'Fetch data while concurrency transaction'};olympe.Y.ba={bm:'com.ConnectivityManager',Jt:'com.ServerManager',JF:'com.BusManager',kC:'com.HttpManager',cl:'com.Serializer',Vb:'com.Logger',RK:'com.Source',zL:'com.Urls',R0:'com.peerFileSvcUrl'};
530
+ olympe.Y.pa={Hy:'defaultHost',YT:'server.host',$T:'server.port',aU:'server.ssl',JK:'server.basePath',fM:'server.wsPath',YC:'server.reconnectionDelay',cK:'server.pingInterval',eM:'server.messageTimeout',uK:'server.retryHttpOnOverload',IB:'server.clientVersion',MK:'server.serverVersion',bU:'server.wakeUpService',YP:'bus.host',ZP:'bus.path',$P:'bus.port',bQ:'bus.vhost',aQ:'bus.ssl',Tk:'bus.keepalive',NT:'bus.reschedulePings',hQ:'bus.clientId',fQ:'bus.clean',kQ:'bus.connectTimeout',KF:'bus.shortTimeout',
531
+ DB:'bus.requestTimeout',LF:'bus.subscriptionRefreshRate',FT:'bus.queueQoSZero',CB:'bus.allowGuest',sL:'bus.topicPrefix'};
532
+ olympe.sa.$e(function(a){const b=olympe.host.vr.At;E(a,olympe.Y.pa.Hy,a.getParameter(olympe.host.pa.iH));E(a,olympe.Y.pa.JK,'OlympeServer');E(a,olympe.Y.pa.sL,'');Xa(a,'com.hostConfig',[olympe.host.pa.Cz,olympe.Y.pa.Hy,olympe.Y.pa.YT,olympe.Y.pa.$T,olympe.Y.pa.aU,olympe.Y.pa.JK,olympe.Y.pa.YP,olympe.Y.pa.bQ,olympe.Y.pa.$P,olympe.Y.pa.ZP,olympe.Y.pa.aQ],(e,f,g,k,l,m,n,p,r,t,u)=>{var v=a.getParameter(olympe.Fa.pa.FC);e=e===olympe.host.vr.At;var w=['localhost','127.0.0.1'],x=(v=f.endsWith(v))&&e?`${f}-${b}`:
533
+ f;g=null!=g?g:x;n=null!=n?n:x;const y=(x=w.includes(g))||v;v=(w=w.includes(n))||v;f=w?'/':f.split('.')[0];return{AE:g,BE:null!=k?k:x?8080:y?e?85:80:443,CE:null!=l?l:!y,XO:m,yV:n,CV:null!=p?p:f,AV:null!=r?r:w?15675:v?e?85:80:443,zV:null!=t?t:w?'':'/mqtt',BV:null!=u?u:!v}});E(a,olympe.Y.pa.fM,'websocket');E(a,olympe.Y.pa.YC,5E3);E(a,olympe.Y.pa.cK,5E3);E(a,olympe.Y.pa.eM,3E4);E(a,olympe.Y.pa.uK,4E3);E(a,olympe.Y.pa.MK,'7.5.0');E(a,olympe.Y.pa.Tk,30);E(a,olympe.Y.pa.DB,3E4);E(a,olympe.Y.pa.KF,a.getParameter(olympe.Y.pa.DB));
534
+ E(a,olympe.Y.pa.LF,6E4);E(a,olympe.Y.pa.CB,!1);const c=a.getParameter(olympe.Jo.pa.QG);if(void 0!==c)Qa(a,olympe.Y.pa.IB,c);else throw Error('Framework version could not be found! Is field "olympe-framework" present in version.json?');C(a,olympe.Y.ba.Vb,[olympe.gb.ba.Ob],e=>e.Vg('communication'));C(a,'server.WebSocketRequest',[new olympe.sa.at('com.hostConfig'),new olympe.sa.zb(olympe.Y.pa.fM)],(e,f)=>e.pipe(rxjs.operators.map(({AE:g,BE:k,CE:l,XO:m})=>new olympe.Fa.tw(g,k,(m+'/'+f).replace(/\/+/g,
535
+ '/').replace(/\/$/,''),l))).pipe(rxjs.operators.shareReplay(1)));C(a,'server.wakeUpRequest',[new olympe.sa.at('com.hostConfig'),new olympe.sa.zb(olympe.Y.pa.bU)],(e,f)=>e.pipe(rxjs.operators.map(({AE:g,BE:k,CE:l})=>{if(null===f||void 0===f)return null;const m=f.replace(/\/+/g,'/').replace(/\/$/,'');return new olympe.Fa.tw(g,k,m,l)})).pipe(rxjs.operators.shareReplay(1)));const d=Array.from(Object.values(olympe.Y.xf));C(a,olympe.Y.ba.zL,[new olympe.sa.at('com.hostConfig'),...d.map(e=>new olympe.sa.zb(e))],
536
+ (e,...f)=>e.pipe(rxjs.operators.map(({AE:g,BE:k,CE:l,XO:m})=>{const n=d.map((p,r)=>{r=f[r];r=(new olympe.Fa.Mv(g,k,`${m}${r?'/'+r:''}`.replace(/\/+/g,'/').replace(/\/$/,''),l)).le();return[p,r]});return new Map(n)})).pipe(rxjs.operators.shareReplay(1)));B(a,olympe.Y.ba.cl,olympe.Y.Mf);B(a,olympe.Y.ba.kC,olympe.Y.aR,olympe.Y.ba.Vb,olympe.Fa.ba.Ob,olympe.oa.ba.ho,olympe.Y.ba.zL,new olympe.sa.zb(olympe.Y.pa.uK));C(a,'com.server.ManagerConfig',[new olympe.sa.zb(olympe.Y.pa.cK),new olympe.sa.zb(olympe.Y.pa.eM),
537
537
  new olympe.sa.zb(olympe.Y.pa.IB),new olympe.sa.zb(olympe.Y.pa.MK),new olympe.sa.zb(olympe.dc.pa.Kt)],(...e)=>{const f=['pingInterval','messageTimeout','clientVersion','serverVersion','getContextMode'],g=new Map;e.forEach((k,l)=>g.set(f[l],k));return g});B(a,olympe.Y.ba.Jt,olympe.Y.Mc,olympe.Y.ba.Vb,olympe.Fa.ba.Ob,olympe.host.ba.fo,olympe.host.ba.Lt,'server.WebSocketRequest','server.wakeUpRequest',olympe.oa.ba.ho,'com.server.ManagerConfig');Xa(a,'com.bus.TopicPrefix',[olympe.host.pa.Cz,olympe.Y.pa.sL],
538
- (e,f)=>e===olympe.host.vr.At?`${b}-${f}`:f);C(a,'com.bus.ManagerConfig',[new olympe.sa.at('com.hostConfig'),new olympe.sa.at('com.bus.TopicPrefix'),new olympe.sa.zb(olympe.Y.pa.CB),new olympe.sa.zb(olympe.Y.pa.JF),new olympe.sa.zb(olympe.Y.pa.DB),new olympe.sa.zb(olympe.Y.pa.KF),new olympe.sa.zb(olympe.Y.pa.Tk),new olympe.sa.zb(olympe.Y.pa.NT),new olympe.sa.zb(olympe.Y.pa.hQ),new olympe.sa.zb(olympe.Y.pa.fQ),new olympe.sa.zb(olympe.Y.pa.XC),new olympe.sa.zb(olympe.Y.pa.kQ),new olympe.sa.zb(olympe.Y.pa.FT)],
538
+ (e,f)=>e===olympe.host.vr.At?`${b}-${f}`:f);C(a,'com.bus.ManagerConfig',[new olympe.sa.at('com.hostConfig'),new olympe.sa.at('com.bus.TopicPrefix'),new olympe.sa.zb(olympe.Y.pa.CB),new olympe.sa.zb(olympe.Y.pa.KF),new olympe.sa.zb(olympe.Y.pa.DB),new olympe.sa.zb(olympe.Y.pa.LF),new olympe.sa.zb(olympe.Y.pa.Tk),new olympe.sa.zb(olympe.Y.pa.NT),new olympe.sa.zb(olympe.Y.pa.hQ),new olympe.sa.zb(olympe.Y.pa.fQ),new olympe.sa.zb(olympe.Y.pa.YC),new olympe.sa.zb(olympe.Y.pa.kQ),new olympe.sa.zb(olympe.Y.pa.FT)],
539
539
  (e,f,g,k,l,m,...n)=>{e=e.pipe(rxjs.operators.map(({yV:p,zV:r,AV:t,CV:u,BV:v})=>{p=`${v?'wss://':'ws://'}${p}:${t}${r}/ws`;const w='keepalive reschedulePings clientId clean reconnectPeriod connectTimeout queueQoSZero shortTimeout requestTimeout'.split(' ');r=n.reduce((x,y,A)=>{x[w[A]]=y;return x},{});r.url=p;r.vhost=u;return r})).pipe(rxjs.operators.shareReplay(1));return new Map([['connection',e],['topicPrefix',f],['allowGuest',g],['shortTimeout',k],['requestTimeout',l],['subscriptionsRefreshRate',
540
- m]])});B(a,olympe.Y.ba.IF,olympe.Y.NF,olympe.Y.ba.Vb,olympe.Fa.ba.Ob,olympe.Y.ba.bm,olympe.xa.ba.Ob,olympe.host.ba.fo,olympe.Y.ba.cl,olympe.oa.ba.ho,'com.bus.ManagerConfig');C(a,'com.connectivity.ManagerConfig',[olympe.Fa.ba.lz,olympe.Bc.ba.Ar,new olympe.sa.zb(olympe.Y.pa.XC)],(e,...f)=>['storagePrefix','reconnectionDelay'].reduce((g,k,l)=>g.set(k,f[l]),e));B(a,olympe.Y.ba.bm,olympe.Y.mf,olympe.Y.ba.Vb,olympe.Y.ba.Jt,olympe.Fa.ba.Ob,olympe.host.ba.fo,olympe.Bc.ba.fz,'com.connectivity.ManagerConfig')},
541
- 'olympe.communication');olympe.sa.run([olympe.Y.ba.IF,olympe.Y.ba.bm],(a,b)=>{olympe.Y.mu=()=>a;olympe.Y.ND=()=>b});olympe.xa={};function Ue(a,b){oe(a.C,olympe.Y.xj.lr,'logoutHandler');ge(a.C,olympe.Y.xj.lr,c=>{const d=c.c;d===olympe.xa.Uh.C.HS?(a.C.Yc(),b(olympe.xa.Cc.D.ny,c)):d===olympe.xa.Uh.C.UT&&b(olympe.xa.Cc.D.tH,c)},'logoutHandler')}
540
+ m]])});B(a,olympe.Y.ba.JF,olympe.Y.OF,olympe.Y.ba.Vb,olympe.Fa.ba.Ob,olympe.Y.ba.bm,olympe.xa.ba.Ob,olympe.host.ba.fo,olympe.Y.ba.cl,olympe.oa.ba.ho,'com.bus.ManagerConfig');C(a,'com.connectivity.ManagerConfig',[olympe.Fa.ba.lz,olympe.Bc.ba.Ar,new olympe.sa.zb(olympe.Y.pa.YC)],(e,...f)=>['storagePrefix','reconnectionDelay'].reduce((g,k,l)=>g.set(k,f[l]),e));B(a,olympe.Y.ba.bm,olympe.Y.mf,olympe.Y.ba.Vb,olympe.Y.ba.Jt,olympe.Fa.ba.Ob,olympe.host.ba.fo,olympe.Bc.ba.fz,'com.connectivity.ManagerConfig')},
541
+ 'olympe.communication');olympe.sa.run([olympe.Y.ba.JF,olympe.Y.ba.bm],(a,b)=>{olympe.Y.mu=()=>a;olympe.Y.OD=()=>b});olympe.xa={};function Ue(a,b){oe(a.C,olympe.Y.xj.lr,'logoutHandler');ge(a.C,olympe.Y.xj.lr,c=>{const d=c.c;d===olympe.xa.Uh.C.HS?(a.C.Yc(),b(olympe.xa.Cc.D.ny,c)):d===olympe.xa.Uh.C.UT&&b(olympe.xa.Cc.D.tH,c)},'logoutHandler')}
542
542
  function Ve(a,b,c){const d=null==b?void 0:b.qm();if(b instanceof olympe.xa.rz){const e=g=>{const k=Object.create(null);k.url=g;k.olympe_token=b.Ci();k.access_token=We(b);g=`${$d(a.vt,olympe.Y.xf.nz)}/logout${d?`?idpName=${d}`:''}`;a.D.redirect(g,k)};c=a.D.C();const f=new URL(c);0!==f.hash.length||0!==f.search.length?(f.hash='',f.search='',a.O.db.set('main',c,'redirectTo').then(()=>{e(f.toString())}).catch(g=>{a.V.error(`Error when trying to set the redirectKey in Auth store: ${g}`)})):e(c)}else le(a.C,
543
543
  olympe.Y.xj.lr,Object.assign({},{c:olympe.xa.Uh.C.IS},d&&{idpName:d}),c)}function Xe(a,b,c,d){olympe.j.Qa(a.R.getState())===olympe.Y.mf.C.jk?d(new olympe.Y.errors.XJ('Working offline'),'Working offline'):(c.c=b,le(a.C,olympe.Y.xj.lr,c,d))}
544
544
  function Ye(a,b,c){if(b.kr()!==olympe.xa.Tg.C.OAUTH2)c(Error('Only oAuth2 tokens can be refreshed'),null);else{var d=`?idpName=${b.qm()}&access_token=${We(b)}`;d=`${$d(a.vt,olympe.Y.xf.nz)}/refresh${d}`;d=ed(bd(d),olympe.Fa.Rc.ResponseType.JSON);be(a.vt,d,b.Ci()).then(e=>{(e=e.data)?(e=new olympe.xa.rz(b.Lg(),b.wk(),b.Ci(),e,b.qm()),c(null,e)):c(null,b)}).catch(e=>c(Error(e),null))}}
@@ -549,7 +549,7 @@ function cf(a){a.V.log('Initializing AUTH layer');let b=a.sb;if('object'===typeo
549
549
  bf(a);break;case olympe.Y.mf.C.hi:switch(olympe.j.Qa(a.D)){case olympe.xa.Cc.C.Mn:c=olympe.j.Qa(a.C).Lg();ef(a,`Disconnected from server - session of user ${c} lost`);break;case olympe.xa.Cc.C.Gv:a.V.info('Disconnected from server - guest session lost');break;case olympe.xa.Cc.C.oy:ef(a,'Disconnected from server - authentication aborted');break;case olympe.xa.Cc.C.INIT:ef(a,'Cannot open auth session - no server connection');break;default:ef(a,'Should not get there, investigate',!0)}}});Ue(a.R,(c,
550
550
  d)=>{if(c===olympe.xa.Cc.D.ny){ef(a,'authentication revoked');var e;null==(e=a.storage)||ff(e).catch(f=>a.V.error('Failed to clear token',f));a.ca.forEach(f=>{f(c,d)})}else if(c===olympe.xa.Cc.D.tH){a.V.info('Redirection to IDP to invalidate token (SAML)');e=Fd(a).qm()||void 0;let f;null==(f=a.storage)||ff(f).catch(g=>a.V.error('Failed to clear token',g));a.Pa.D(d.url,d.request,d.id,e)}else throw Error(`Unknown logout step coming from server : ${c}`);});gf(a);a.V.log('DONE initializing AUTH layer (waiting for connector to be online)')}
551
551
  function hf(a,b){let c=null;olympe.j.$a(a.D.wa().Se(olympe.xa.Cc.C.Mn).and(b),()=>{const d=Fd(a);!jf(a)&&d&&(c=a.hj.get(d.kr()).R(d,(e,f)=>{e?(a.V.error('Failed to refresh token, error message: ',e.message),a.Cu().catch(g=>a.V.error(`Failed to logout after wrong refresh ${g}`))):f&&kf(a,f)}))},()=>{let d;null==(d=c)||d()})}
552
- function bf(a){null!==a.storage?(a.V.debug('Retrieving token from local storage'),a.storage.vk().then(b=>{if(b){const e=new olympe.xa.Request;var c=b.Lg();e.set('username',c);c=e;var d=b.Ci();c.set('nonce',d);'string'===typeof b.qm()&&e.set('idpName',b.qm());a.V.debug('Token found, trying login with',e);lf(a,e,olympe.xa.Tg.C.NC)}else ef(a,'No token found, cannot perform auto login')}).catch(b=>{ef(a,b.message,!0)})):ef(a,'Cannot retrieve token: no storage configured, cannot perform auto login',!0)}
552
+ function bf(a){null!==a.storage?(a.V.debug('Retrieving token from local storage'),a.storage.vk().then(b=>{if(b){const e=new olympe.xa.Request;var c=b.Lg();e.set('username',c);c=e;var d=b.Ci();c.set('nonce',d);'string'===typeof b.qm()&&e.set('idpName',b.qm());a.V.debug('Token found, trying login with',e);lf(a,e,olympe.xa.Tg.C.OC)}else ef(a,'No token found, cannot perform auto login')}).catch(b=>{ef(a,b.message,!0)})):ef(a,'Cannot retrieve token: no storage configured, cannot perform auto login',!0)}
553
553
  function ef(a,b,c=!1){a.C.update(a.$);$e(a,olympe.xa.Cc.C.Gv);b=`Authenticated as guest (${b})`;c?a.V.error(b):a.V.info(b)}function gf(a){const b=[olympe.xa.Cc.C.Mn];a.ma||b.push(olympe.xa.Cc.C.Gv)}function $e(a,b){a.V.log('State change: ',olympe.j.Qa(a.D.wa()),'--\x3e',b);a.D.update(b)}function af(a){if(a.W){const b=new olympe.xa.Request;b.set('username',a.W);mf(b,a.Ha);a.V.log('Autologin with user "'+a.W+'"');lf(a,b)}else ef(a,'No user specified for auto login',!0)}
554
554
  function jf(a){return olympe.j.Qa(a.C)===a.$}function kf(a,b){if(b){a.C.update(b);let c;null==(c=a.storage)||df(c,b).catch(d=>a.V.error(d));a.V.debug('Token updated')}}function nf(){var a=olympe.public.Lc.get();return new Map(a.R.C.kc)}function of(a,b,c,d=!1){b=b+c?':'+c.message:'';a.V.error(b);a.error.update(olympe.j.ic(b));$e(a,olympe.xa.Cc.C.we);if(d)throw Error(b);}
555
555
  function lf(a,b,c,d){void 0===c&&(c=a.Ka);void 0===c&&of(a,'No authentication provider specified',null,!0);const e=a.hj.get(c);e||of(a,'Undefined authentication provider "'+c+'"',null,!0);d&&a.T.set('login',d);a.V.log('Sending authentication request using "'+c+'" for '+b);e.vk(b,a.Oa.bind(a));$e(a,olympe.xa.Cc.C.oy)}function pf(a,b,c){a.T.forEach(d=>{d(b,c)})}
@@ -558,44 +558,44 @@ this.T=new Map;this.ca=new Map;this.da=new olympe.oa.Nt(l.get('cacheTokenTimeout
558
558
  return d.wa()}Iq(a){if(olympe.j.Qa(this.D)===olympe.xa.Cc.C.Mn){var b=Fd(this);!jf(this)&&b&&this.hj.get(b.kr()).Iq(b,(c,d)=>{c?(this.V.error('Failed to refresh token, error message: ',c.message),this.Cu().catch(e=>this.V.error(`Failed to logout after wrong refresh ${e}`))):d&&kf(this,d);a(c)})}}getState(){return this.D.wa()}Lg(){return this.C.wa().Lg()}wk(){return this.C.wa().wk()}ou(){return this.C.wa().ou()}xu(a,b){if(ib(this.da.C,a))b(null,this.da.get(a));else{var c,d=null==(c=olympe.j.Qa(this.C.wa()))?
559
559
  void 0:c.Ci();this.R.xu(a,d,(e,f)=>{'string'===typeof f&&this.da.set(a,f);b(e,f)})}}Cu(){return jf(this)?(this.V.warn('Logout called for Guest user so it will be ignored'),Promise.resolve()):new Promise((a,b)=>{this.V.debug('Sending logout');let c;null==(c=this.storage)||ff(c).catch(d=>this.V.error('Failed to clear token',d));Ve(this.R,Fd(this),d=>{d?(of(this,'Logout request rejected:',d),b(d)):(this.V.debug('Logout request acknowledged'),a())})})}xn(a){olympe.j.Qa(this.D.wa())===olympe.xa.Cc.C.Mn&&
560
560
  this.R.xn(b=>{b&&this.V.error('Was not able to send the auth keep alive message:',b.message);null==a||a(b)})}Oa(a,b){const c=null===this.O?olympe.xa.Cc.O.Uf:this.O;this.O=null;if(!a||a instanceof olympe.Y.errors.XJ){null===a?this.V.info(`User ${b.Lg()} (#${b.wk()}) successfully authenticated`):this.V.info(`User ${b.Lg()} (#${b.wk()}) recovered from token, while offline`);this.C.update(b);$e(this,olympe.xa.Cc.C.Mn);pf(this,a,c);let d;null==(d=this.storage)||df(d,b).catch(e=>this.V.error(e))}else{let d;
561
- null==(d=this.storage)||ff(d).catch(e=>this.V.error(e));this.error.update(olympe.j.ic(a.message));ef(this,'authentication rejected: '+a.message);pf(this,a,c)}this.T.has('login')&&this.T.delete('login')}};olympe.xa.Cc.C={INIT:'init',oy:'authenticating',Gv:'guest',Mn:'authenticated',we:'error'};olympe.xa.Cc.O={Uf:'manual',Qs:'auto',ow:'tokenOnFirstConnection'};olympe.xa.Cc.D={ny:'accepted',tH:'redirect'};olympe.xa.Tg=class{constructor(a,b){this.V=a;this.D=b;this.C=null}O(){}vk(){}R(a,b){const c=()=>{this.C=setTimeout(()=>this.D.xn(d=>{d?b(d,null):(b(null,null),c())}),this.D.C.Pb)};c();return()=>{this.C&&clearTimeout(this.C);this.C=null}}Iq(a,b){this.D.xn(c=>{b(c,null)})}};olympe.xa.Tg.C={SAML:'saml',OAUTH2:'openID',SRP:'srp',NC:'olympeToken'};function mf(a,b){a.set('password',b)}function qf(a){return a.get('idpName')}
561
+ null==(d=this.storage)||ff(d).catch(e=>this.V.error(e));this.error.update(olympe.j.ic(a.message));ef(this,'authentication rejected: '+a.message);pf(this,a,c)}this.T.has('login')&&this.T.delete('login')}};olympe.xa.Cc.C={INIT:'init',oy:'authenticating',Gv:'guest',Mn:'authenticated',we:'error'};olympe.xa.Cc.O={Uf:'manual',Qs:'auto',ow:'tokenOnFirstConnection'};olympe.xa.Cc.D={ny:'accepted',tH:'redirect'};olympe.xa.Tg=class{constructor(a,b){this.V=a;this.D=b;this.C=null}O(){}vk(){}R(a,b){const c=()=>{this.C=setTimeout(()=>this.D.xn(d=>{d?b(d,null):(b(null,null),c())}),this.D.C.Pb)};c();return()=>{this.C&&clearTimeout(this.C);this.C=null}}Iq(a,b){this.D.xn(c=>{b(c,null)})}};olympe.xa.Tg.C={SAML:'saml',OAUTH2:'openID',SRP:'srp',OC:'olympeToken'};function mf(a,b){a.set('password',b)}function qf(a){return a.get('idpName')}
562
562
  olympe.xa.Request=class{constructor(){this.attributes=new Map}set(a,b){olympe.j.Wa([b],c=>{this.attributes.set(a.toLocaleLowerCase(),c.toString())})}get(a){(a=this.attributes.get(a.toLowerCase()))&&a.Gh&&(a=F(a));return a?a.valueOf():a}Lg(){return this.get('username')}Ci(){return this.get('nonce')}toString(){return this.Lg()+(this.Ci()?' with nonce':'')+(this.get('password')?' with password':'')+(qf(this)?` with idp name ${qf(this)}`:'')}};olympe.xa.Fr=class{constructor(a,b,c,d={},e=null){this.O=a;this.qv=b;this.nonce=c;this.C=e;this.D=d}Lg(){return this.O}wk(){return this.qv}Ci(){return this.nonce}Rv(){return this.D}ou(){return null}qm(){return this.C}fb(){const a=olympe.oa.Dj(),b=Object.assign({},{user:this.O,userTag:this.qv,nonce:this.nonce},this.C&&{idpName:this.C},{payload:this.D});return olympe.oa.tM(eb(a,JSON.stringify(b)))}kr(){return olympe.xa.Tg.C.SRP}};h=olympe.xa.Fr.prototype;h.Lg.K=new olympe.j.J(()=>String,[]);
563
563
  h.wk.K=new olympe.j.J(()=>String,[]);h.Ci.K=new olympe.j.J(()=>String,[]);h.Rv.K=new olympe.j.J(()=>Object,[]);h.ou.K=new olympe.j.J(()=>String,[]);h.qm.K=new olympe.j.J(()=>String,[]);h.fb.K=new olympe.j.J(()=>String,[]);h.kr.K=new olympe.j.J(()=>String,[]);function We(a){return a.Rv().access_token||null}function rf(a){return 1E3*parseInt(a.Rv().access_token_exp||'0',10)}olympe.xa.rz=class extends olympe.xa.Fr{constructor(a,b,c,d,e){super(a,b,c,d,e);this.R=Date.now()}ou(){return We(this)}kr(){return olympe.xa.Tg.C.OAUTH2}};olympe.xa.FK=class extends olympe.xa.Fr{constructor(a,b,c,d,e,f){super(a,b,c,e,f);this.R=d}ou(){return this.R}kr(){return olympe.xa.Tg.C.SAML}fb(){const a=olympe.oa.Dj(),b=Object.assign({},{user:this.Lg(),userTag:this.wk(),nonce:this.Ci()},this.qm()&&{idpName:this.qm()},{payload:this.Rv(),fullToken:this.R});return olympe.oa.tM(eb(a,JSON.stringify(b)))}};function Ze(a){let b;return null!=(b=a.db.get('main','redirectTo'))?b:null}function df(a,b){return a.D.C(()=>a.db.set('main','string'===typeof b?b:b.fb(),a.C).catch(c=>{throw Error(`Error when trying to set the token from the auth store: ${c}`);}))}function ff(a){return a.D.C(()=>a.db.remove('main',a.C).catch(b=>{a.V.error(`Error when trying to remove the token from the auth store: ${b}`)}))}
564
564
  olympe.xa.QP=class{constructor(a,b,c){this.O=a;this.V=b;this.C='OlympeToken-'+c.C;this.D=new olympe.oa.promise.mw;this.db=this.O.D('AUTH',1,d=>{d.objectStoreNames.contains('main')&&d.deleteObjectStore('main');const e=d.createObjectStore('main');return new Promise((f,g)=>{e.transaction.oncomplete=()=>f();e.transaction.onerror=()=>g(e.transaction.error)})})}vk(){this.V.debug(`olympe.auth.AuthStorage: retrieve token with key ${this.C}`);return this.D.C(()=>{const a=this;return q(function*(){let b;try{b=
565
565
  yield a.db.get('main',a.C)}catch(g){throw Error(`Error when trying to get the token from the auth store: ${g}`);}let c=null;if(b)try{a.V.debug('olympe.auth.AuthStorage: Token retrieved successfully');var d=JSON,e=d.parse;var f=fb(olympe.oa.Dj().D(olympe.oa.vV(b)));const g=e.call(d,f);let k;g.fullToken?k=new olympe.xa.FK(g.user,g.userTag,g.nonce,g.fullToken,g.payload,g.idpName):g.payload&&g.payload.id_token?k=new olympe.xa.rz(g.user,g.userTag,g.nonce,g.payload,g.idpName):k=new olympe.xa.Fr(g.user,
566
- g.userTag,g.nonce,g.payload,g.idpName);c=k}catch(g){throw Error(`Error while unserializing token: ${g}`);}else a.V.debug('olympe.auth.AuthStorage: No token found');return c})})}};olympe.xa.Gt=class{redirect(){}D(){}C(){}};olympe.xa.Gt.C={GET:'GET',Pp:'POST'};olympe.xa.vF=class{constructor(a){this.C=a||'default'}};olympe.xa.hj={};function sf(a,b,c){Xe(a.D,olympe.xa.Uh.C.lr,{token:b.Ci()},(d,e)=>{if(null!==d)c(d,null);else switch(e.c){case olympe.xa.Uh.C.we:c(Error('Invalid token'),null);break;case olympe.xa.Uh.C.lw:d=null;if(e=e.payload){const f=e.userName,g=e.userTag,k=e.rndCook,l=e.payload,m=e.protocol;'SAML'===m?d=new olympe.xa.FK(f,g,k,e.samlToken,l,qf(b)):'openid'===m&&(d=new olympe.xa.rz(f,g,k,l,qf(b)))}c(null,d);break;default:c(Error('Unknown response from server'),null)}})}
567
- olympe.xa.hj.PS=class extends olympe.xa.Tg{constructor(a,b,c){super(a,b);this.storage=c}O(){return olympe.xa.Tg.C.NC}vk(a,b){this.storage.vk().then(c=>{sf(this,a,(d,e)=>{b(d,null!=e?e:c)})}).catch(c=>{b(c,null)})}};function tf(a,b,c){var d=rf(b);const e=Math.max(d-b.R,0),f=olympe.sa.getParameter(olympe.xa.pa.qL);d=Math.max(Math.round(d-e*(1-Math.max(Math.min((f||50)/100,.95),0))-Date.now()),0);if(0<d)return setTimeout(()=>{a.Iq(b,c)},d);a.Iq(b,c);return null}
566
+ g.userTag,g.nonce,g.payload,g.idpName);c=k}catch(g){throw Error(`Error while unserializing token: ${g}`);}else a.V.debug('olympe.auth.AuthStorage: No token found');return c})})}};olympe.xa.Gt=class{redirect(){}D(){}C(){}};olympe.xa.Gt.C={GET:'GET',Pp:'POST'};olympe.xa.wF=class{constructor(a){this.C=a||'default'}};olympe.xa.hj={};function sf(a,b,c){Xe(a.D,olympe.xa.Uh.C.lr,{token:b.Ci()},(d,e)=>{if(null!==d)c(d,null);else switch(e.c){case olympe.xa.Uh.C.we:c(Error('Invalid token'),null);break;case olympe.xa.Uh.C.lw:d=null;if(e=e.payload){const f=e.userName,g=e.userTag,k=e.rndCook,l=e.payload,m=e.protocol;'SAML'===m?d=new olympe.xa.FK(f,g,k,e.samlToken,l,qf(b)):'openid'===m&&(d=new olympe.xa.rz(f,g,k,l,qf(b)))}c(null,d);break;default:c(Error('Unknown response from server'),null)}})}
567
+ olympe.xa.hj.PS=class extends olympe.xa.Tg{constructor(a,b,c){super(a,b);this.storage=c}O(){return olympe.xa.Tg.C.OC}vk(a,b){this.storage.vk().then(c=>{sf(this,a,(d,e)=>{b(d,null!=e?e:c)})}).catch(c=>{b(c,null)})}};function tf(a,b,c){var d=rf(b);const e=Math.max(d-b.R,0),f=olympe.sa.getParameter(olympe.xa.pa.qL);d=Math.max(Math.round(d-e*(1-Math.max(Math.min((f||50)/100,.95),0))-Date.now()),0);if(0<d)return setTimeout(()=>{a.Iq(b,c)},d);a.Iq(b,c);return null}
568
568
  olympe.xa.hj.qT=class extends olympe.xa.Tg{constructor(a,b,c,d){super(a,b);this.T=c;this.W=d}O(){return olympe.xa.Tg.C.OAUTH2}vk(a){const b=encodeURIComponent(this.T.C());a=qf(a)?`idpName=${qf(a)}&`:'';this.T.redirect(`${this.W}/auth?${a}url=${b}`,null,olympe.xa.Gt.C.GET)}R(a,b){0<rf(a)?this.C=tf(this,a,b):b(null,a);return this.$.bind(this)}Iq(a,b){Ye(this.D,a,(c,d)=>{c?b(c,null):d&&(b(null,d),this.C&&(this.C=tf(this,d,b)))})}$(){this.C&&clearTimeout(this.C);this.C=null}};function uf(a,b){Xe(a.D,olympe.xa.Uh.C.SAML,{},(c,d)=>{null!==c?b(c):d.url&&d.request?b(null,d.url,d.request.replace(/\s/g,''),d.id):b(Error('Missing parameters from server response'))})}olympe.xa.hj.SAML=class extends olympe.xa.Tg{constructor(a,b,c){super(a,b);this.T=c}O(){return olympe.xa.Tg.C.SAML}vk(a,b){uf(this,(c,d,e,f)=>{c?b(c,null):this.T.D(d,e,f,qf(a))})}};function vf(a,b,c){const d=olympe.xa.Uh.C.iR,e=olympe.xa.Uh.C.we,f=olympe.xa.Uh.C.sU,g={I:b.Lg()};Xe(a.D,d,g,(k,l)=>{if(null!==k)c(k);else switch(l.c){case e:c(Error(`Username '${b.Lg()}' invalid, or password does not match`));break;case f:k=l.payload;c(null,k.S,k.B);break;default:c(Error('Unknown response from server'))}})}
569
569
  function xf(a,b,c){const d=olympe.xa.Uh.C.NP,e=olympe.xa.Uh.C.we,f=olympe.xa.Uh.C.lw;b={A:b.get('a'),M:b.get('m1'),I:b.Lg()};Xe(a.D,d,b,(g,k)=>{if(null!==g)c(g,null);else switch(k.c){case e:a.V.debug('Login failed, invalid username or password');c(Error('Invalid username or password'),null);break;case f:g=k.payload;a.V.debug('Login successful, creating token');k=g.payload?JSON.parse(g.payload):void 0;c(null,new olympe.xa.Fr(g.userName,g.userTag,g.rndCook,k));break;default:c(Error(`Unknown response from server (type ${k.c})`),
570
- null)}})}olympe.xa.hj.SRP=class extends olympe.xa.Tg{O(){return olympe.xa.Tg.C.SRP}vk(a,b){const c=a.get('password');a.attributes.delete('password');this.V.debug('Sending SRP request');vf(this,a,(d,e,f)=>{this.V.debug('Received Salt+B message');if(d)b(d,null);else{try{const g=new SRPClient;g.step1(a.Lg(),c);const k=g.step2(e,f);a.set('a',k.A);a.set('m1',k.M1)}catch(g){b(g,null);return}this.V.debug('Sending SRP A+M (proof) message');xf(this,a,b)}})}};olympe.xa.ba={Ob:'auth.Manager',Vb:'auth.Logger',kw:'auth.Storage',vB:'auth.appNameToken',Az:'auth.Redirector',KK:'auth.ServerConnector'};olympe.xa.pa={RB:'auth.defaultProvider',nF:'auth.autoLogin',pF:'auth.autoUser',oF:'auth.autoPassword',ow:'auth.token',PF:'auth.cacheTokenTimeout',qL:'auth.tokenDurationPercentage'};
571
- olympe.sa.$e(function(a){E(a,olympe.xa.pa.RB,olympe.xa.Tg.C.SRP);E(a,olympe.xa.pa.nF,!1);E(a,olympe.xa.pa.pF,'');E(a,olympe.xa.pa.oF,'');E(a,olympe.xa.pa.ow,'');E(a,olympe.xa.pa.qL,50);E(a,olympe.xa.pa.PF,3E5);C(a,olympe.xa.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('auth'));B(a,olympe.xa.ba.vB,olympe.xa.vF,olympe.Bc.ba.Ar);B(a,olympe.xa.ba.kw,olympe.xa.QP,olympe.Bc.ba.dz,olympe.xa.ba.Vb,olympe.xa.ba.vB);B(a,olympe.xa.ba.KK,olympe.xa.Uh,olympe.xa.ba.Vb,olympe.Y.ba.Jt,olympe.Y.ba.jC,olympe.Y.ba.bm,olympe.xa.ba.Az,
572
- olympe.xa.ba.kw);Wa(a,olympe.xa.ba.Az);C(a,olympe.xa.ba.Ob,[olympe.xa.ba.Vb,olympe.Y.ba.bm,olympe.xa.ba.KK,olympe.host.ba.fo,olympe.host.ba.Lt,new olympe.sa.de(olympe.xa.ba.kw,olympe.sa.Xs.C.LC),new olympe.sa.de(olympe.xa.ba.Az,olympe.sa.Xs.C.LC),new olympe.sa.zb(olympe.xa.pa.RB),new olympe.sa.zb(olympe.xa.pa.nF),new olympe.sa.zb(olympe.xa.pa.pF),new olympe.sa.zb(olympe.xa.pa.oF),new olympe.sa.zb(olympe.xa.pa.ow),new olympe.sa.zb(olympe.xa.pa.PF)],(b,c,d,e,f,g,k,l,m,n,p,r,t)=>{const u=[new olympe.xa.hj.PS(b,
570
+ null)}})}olympe.xa.hj.SRP=class extends olympe.xa.Tg{O(){return olympe.xa.Tg.C.SRP}vk(a,b){const c=a.get('password');a.attributes.delete('password');this.V.debug('Sending SRP request');vf(this,a,(d,e,f)=>{this.V.debug('Received Salt+B message');if(d)b(d,null);else{try{const g=new SRPClient;g.step1(a.Lg(),c);const k=g.step2(e,f);a.set('a',k.A);a.set('m1',k.M1)}catch(g){b(g,null);return}this.V.debug('Sending SRP A+M (proof) message');xf(this,a,b)}})}};olympe.xa.ba={Ob:'auth.Manager',Vb:'auth.Logger',kw:'auth.Storage',vB:'auth.appNameToken',Az:'auth.Redirector',KK:'auth.ServerConnector'};olympe.xa.pa={RB:'auth.defaultProvider',oF:'auth.autoLogin',qF:'auth.autoUser',pF:'auth.autoPassword',ow:'auth.token',QF:'auth.cacheTokenTimeout',qL:'auth.tokenDurationPercentage'};
571
+ olympe.sa.$e(function(a){E(a,olympe.xa.pa.RB,olympe.xa.Tg.C.SRP);E(a,olympe.xa.pa.oF,!1);E(a,olympe.xa.pa.qF,'');E(a,olympe.xa.pa.pF,'');E(a,olympe.xa.pa.ow,'');E(a,olympe.xa.pa.qL,50);E(a,olympe.xa.pa.QF,3E5);C(a,olympe.xa.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('auth'));B(a,olympe.xa.ba.vB,olympe.xa.wF,olympe.Bc.ba.Ar);B(a,olympe.xa.ba.kw,olympe.xa.QP,olympe.Bc.ba.dz,olympe.xa.ba.Vb,olympe.xa.ba.vB);B(a,olympe.xa.ba.KK,olympe.xa.Uh,olympe.xa.ba.Vb,olympe.Y.ba.Jt,olympe.Y.ba.kC,olympe.Y.ba.bm,olympe.xa.ba.Az,
572
+ olympe.xa.ba.kw);Wa(a,olympe.xa.ba.Az);C(a,olympe.xa.ba.Ob,[olympe.xa.ba.Vb,olympe.Y.ba.bm,olympe.xa.ba.KK,olympe.host.ba.fo,olympe.host.ba.Lt,new olympe.sa.de(olympe.xa.ba.kw,olympe.sa.Xs.C.MC),new olympe.sa.de(olympe.xa.ba.Az,olympe.sa.Xs.C.MC),new olympe.sa.zb(olympe.xa.pa.RB),new olympe.sa.zb(olympe.xa.pa.oF),new olympe.sa.zb(olympe.xa.pa.qF),new olympe.sa.zb(olympe.xa.pa.pF),new olympe.sa.zb(olympe.xa.pa.ow),new olympe.sa.zb(olympe.xa.pa.QF)],(b,c,d,e,f,g,k,l,m,n,p,r,t)=>{const u=[new olympe.xa.hj.PS(b,
573
573
  d,g),new olympe.xa.hj.SRP(b,d),new olympe.xa.hj.SAML(b,d,k),new olympe.xa.hj.qT(b,d,k,$d(d.vt,olympe.Y.xf.nz))];if(!u.map(v=>v.O()).includes(l))throw Error(`Default provider name ${l} given by parameter ${olympe.xa.pa.RB} cannot be found`);return new olympe.xa.Cc(b,c,d,g,k,e,f,u,new Map([['defaultProvider',l],['autoLogin',m],['autoUser',n],['autoPassword',p],['autoToken',r],['cacheTokenTimeout',t]]))},!0)},'olympe.auth');olympe.sa.run([olympe.xa.ba.Ob],a=>{olympe.xa.rk=()=>a});olympe.G.H.xa={};olympe.G.H.xa.kH=class{redirect(a,b=null,c=olympe.xa.Gt.C.Pp){let d='';if(b)for(let e in b)Object.prototype.hasOwnProperty.call(b,e)&&(d+=`<input type="hidden" name="${e}" value="${b[e]}"/>`);d=''===d&&'GET'===c.toUpperCase()?`<script>window.location.href='${a}'</script>`:`<form method="${c}" action="${a}" id="redirectorForm">`+d+"</form><script>document.getElementById('redirectorForm').submit()\x3c/script>";document.write('<!DOCTYPE html>\n<html><head><title>Please wait...</title></head>\n<body>'+
574
574
  d+'</body>\n</html>\n')}D(a,b,c,d){var e=olympe.xa.Gt.C.Pp;this.redirect(a,{SAMLRequest:b,RelayState:window.btoa(JSON.stringify(Object.assign({},{url:window.location.href},d&&{idpName:d},{id:c})))},e)}C(){return window.location.href}};olympe.G.H.xa.kH.Aa=[olympe.xa.Gt];olympe.sa.$e(a=>{B(a,olympe.xa.ba.Az,olympe.G.H.xa.kH)},'olympe.native.html.auth');olympe.N={};olympe.N.wf=class extends olympe.host.ab.Ui{};olympe.Wh(olympe.N.wf,olympe.host.ab.Ui);olympe.N.X={};olympe.N.X.nH=class{hq(){}};olympe.N.X.ir=class{Gl(){}Yl(){}};olympe.N.X.ir.prototype.unregisterValueChanged=olympe.N.X.ir.prototype.Yl;olympe.N.X.ir.prototype.registerValueChanged=olympe.N.X.ir.prototype.Gl;olympe.N.X.oH=class{qb(){}};olympe.N.X.Md=class{ap(){}Bn(){}hp(){}Ln(){}$o(){}An(){}gp(){}Kn(){}bp(){}Cn(){}Kq(){}Dn(){}ep(){}Fn(){}cp(){}En(){}};olympe.N.X.Md.prototype.unregisterPinch=olympe.N.X.Md.prototype.En;olympe.N.X.Md.prototype.registerPinch=olympe.N.X.Md.prototype.cp;olympe.N.X.Md.prototype.unregisterRotate=olympe.N.X.Md.prototype.Fn;olympe.N.X.Md.prototype.registerRotate=olympe.N.X.Md.prototype.ep;olympe.N.X.Md.prototype.unregisterLongPressUp=olympe.N.X.Md.prototype.Dn;
575
575
  olympe.N.X.Md.prototype.registerLongPressUp=olympe.N.X.Md.prototype.Kq;olympe.N.X.Md.prototype.unregisterLongPress=olympe.N.X.Md.prototype.Cn;olympe.N.X.Md.prototype.registerLongPress=olympe.N.X.Md.prototype.bp;olympe.N.X.Md.prototype.unregisterVerticalPan=olympe.N.X.Md.prototype.Kn;olympe.N.X.Md.prototype.registerVerticalPan=olympe.N.X.Md.prototype.gp;olympe.N.X.Md.prototype.unregisterHorizontalPan=olympe.N.X.Md.prototype.An;olympe.N.X.Md.prototype.registerHorizontalPan=olympe.N.X.Md.prototype.$o;
576
- olympe.N.X.Md.prototype.unregisterVerticalSwipe=olympe.N.X.Md.prototype.Ln;olympe.N.X.Md.prototype.registerVerticalSwipe=olympe.N.X.Md.prototype.hp;olympe.N.X.Md.prototype.unregisterHorizontalSwipe=olympe.N.X.Md.prototype.Bn;olympe.N.X.Md.prototype.registerHorizontalSwipe=olympe.N.X.Md.prototype.ap;olympe.N.X.lC=class{Uc(){}};olympe.N.X.sg=class{Ek(){}qj(){}Dk(){}pj(){}Fk(){}rj(){}};olympe.N.X.sg.prototype.unregisterKeyUp=olympe.N.X.sg.prototype.rj;olympe.N.X.sg.prototype.registerKeyUp=olympe.N.X.sg.prototype.Fk;olympe.N.X.sg.prototype.unregisterKeyDown=olympe.N.X.sg.prototype.pj;olympe.N.X.sg.prototype.registerKeyDown=olympe.N.X.sg.prototype.Dk;olympe.N.X.sg.prototype.unregisterKeyPressed=olympe.N.X.sg.prototype.qj;olympe.N.X.sg.prototype.registerKeyPressed=olympe.N.X.sg.prototype.Ek;olympe.N.X.pH=class{Da(){}};olympe.N.X.nc=class{gn(){}Pl(){}hn(){}Ql(){}jn(){}Rl(){}pn(){}Wl(){}mn(){}Ul(){}nn(){}Vl(){}kn(){}Sl(){}ln(){}Tl(){}qn(){}Xl(){}un(){}Jn(){}sn(){}Hn(){}tn(){}In(){}rn(){}Gn(){}};olympe.N.X.nc.prototype.unregisterTouchCancel=olympe.N.X.nc.prototype.Gn;olympe.N.X.nc.prototype.registerTouchCancel=olympe.N.X.nc.prototype.rn;olympe.N.X.nc.prototype.unregisterTouchMove=olympe.N.X.nc.prototype.In;olympe.N.X.nc.prototype.registerTouchMove=olympe.N.X.nc.prototype.tn;
576
+ olympe.N.X.Md.prototype.unregisterVerticalSwipe=olympe.N.X.Md.prototype.Ln;olympe.N.X.Md.prototype.registerVerticalSwipe=olympe.N.X.Md.prototype.hp;olympe.N.X.Md.prototype.unregisterHorizontalSwipe=olympe.N.X.Md.prototype.Bn;olympe.N.X.Md.prototype.registerHorizontalSwipe=olympe.N.X.Md.prototype.ap;olympe.N.X.mC=class{Uc(){}};olympe.N.X.sg=class{Ek(){}qj(){}Dk(){}pj(){}Fk(){}rj(){}};olympe.N.X.sg.prototype.unregisterKeyUp=olympe.N.X.sg.prototype.rj;olympe.N.X.sg.prototype.registerKeyUp=olympe.N.X.sg.prototype.Fk;olympe.N.X.sg.prototype.unregisterKeyDown=olympe.N.X.sg.prototype.pj;olympe.N.X.sg.prototype.registerKeyDown=olympe.N.X.sg.prototype.Dk;olympe.N.X.sg.prototype.unregisterKeyPressed=olympe.N.X.sg.prototype.qj;olympe.N.X.sg.prototype.registerKeyPressed=olympe.N.X.sg.prototype.Ek;olympe.N.X.pH=class{Da(){}};olympe.N.X.nc=class{gn(){}Pl(){}hn(){}Ql(){}jn(){}Rl(){}pn(){}Wl(){}mn(){}Ul(){}nn(){}Vl(){}kn(){}Sl(){}ln(){}Tl(){}qn(){}Xl(){}un(){}Jn(){}sn(){}Hn(){}tn(){}In(){}rn(){}Gn(){}};olympe.N.X.nc.prototype.unregisterTouchCancel=olympe.N.X.nc.prototype.Gn;olympe.N.X.nc.prototype.registerTouchCancel=olympe.N.X.nc.prototype.rn;olympe.N.X.nc.prototype.unregisterTouchMove=olympe.N.X.nc.prototype.In;olympe.N.X.nc.prototype.registerTouchMove=olympe.N.X.nc.prototype.tn;
577
577
  olympe.N.X.nc.prototype.unregisterTouchEnd=olympe.N.X.nc.prototype.Hn;olympe.N.X.nc.prototype.registerTouchEnd=olympe.N.X.nc.prototype.sn;olympe.N.X.nc.prototype.unregisterTouchStart=olympe.N.X.nc.prototype.Jn;olympe.N.X.nc.prototype.registerTouchStart=olympe.N.X.nc.prototype.un;olympe.N.X.nc.prototype.unregisterMouseWheel=olympe.N.X.nc.prototype.Xl;olympe.N.X.nc.prototype.registerMouseWheel=olympe.N.X.nc.prototype.qn;olympe.N.X.nc.prototype.unregisterMouseLeave=olympe.N.X.nc.prototype.Tl;
578
578
  olympe.N.X.nc.prototype.registerMouseLeave=olympe.N.X.nc.prototype.ln;olympe.N.X.nc.prototype.unregisterMouseEnter=olympe.N.X.nc.prototype.Sl;olympe.N.X.nc.prototype.registerMouseEnter=olympe.N.X.nc.prototype.kn;olympe.N.X.nc.prototype.unregisterMouseOver=olympe.N.X.nc.prototype.Vl;olympe.N.X.nc.prototype.registerMouseOver=olympe.N.X.nc.prototype.nn;olympe.N.X.nc.prototype.unregisterMouseMove=olympe.N.X.nc.prototype.Ul;olympe.N.X.nc.prototype.registerMouseMove=olympe.N.X.nc.prototype.mn;
579
579
  olympe.N.X.nc.prototype.unregisterMouseUp=olympe.N.X.nc.prototype.Wl;olympe.N.X.nc.prototype.registerMouseUp=olympe.N.X.nc.prototype.pn;olympe.N.X.nc.prototype.unregisterMouseDown=olympe.N.X.nc.prototype.Rl;olympe.N.X.nc.prototype.registerMouseDown=olympe.N.X.nc.prototype.jn;olympe.N.X.nc.prototype.unregisterDoubleClick=olympe.N.X.nc.prototype.Ql;olympe.N.X.nc.prototype.registerDoubleClick=olympe.N.X.nc.prototype.hn;olympe.N.X.nc.prototype.unregisterClickOrTap=olympe.N.X.nc.prototype.Pl;
580
- olympe.N.X.nc.prototype.registerClickOrTap=olympe.N.X.nc.prototype.gn;olympe.N.X.fR=class{kq(){}};olympe.N.X.Si=class{ns(){}Os(){}ms(){}Ns(){}os(){}Ps(){}};olympe.N.X.Si.prototype.unregisterSize=olympe.N.X.Si.prototype.Ps;olympe.N.X.Si.prototype.registerSize=olympe.N.X.Si.prototype.os;olympe.N.X.Si.prototype.unregisterBlur=olympe.N.X.Si.prototype.Ns;olympe.N.X.Si.prototype.registerBlur=olympe.N.X.Si.prototype.ms;olympe.N.X.Si.prototype.unregisterFocus=olympe.N.X.Si.prototype.Os;olympe.N.X.Si.prototype.registerFocus=olympe.N.X.Si.prototype.ns;olympe.N.F={};olympe.N.F.Element=class extends olympe.N.wf{Tm(){}Ma(){}ws(){}IE(){}ng(){}Yg(){}us(){}kp(){}Lq(){}ss(){}rs(){}rd(){}Gs(){}mj(){}yn(){}ib(){}yh(){}Uu(){}};olympe.N.F.Element.prototype.setContextMenuEnabled=olympe.N.F.Element.prototype.Uu;olympe.N.F.Element.prototype.setIgnoreUserInteraction=olympe.N.F.Element.prototype.yh;olympe.N.F.Element.prototype.setBlur=olympe.N.F.Element.prototype.yn;olympe.N.F.Element.prototype.setFocus=olympe.N.F.Element.prototype.mj;
581
- olympe.N.F.Element.prototype.setTabIndex=olympe.N.F.Element.prototype.Gs;olympe.N.F.Element.prototype.setHidden=olympe.N.F.Element.prototype.rd;olympe.N.F.Element.prototype.setBackgroundImage=olympe.N.F.Element.prototype.Yg;olympe.N.F.Element.prototype.setOpacity=olympe.N.F.Element.prototype.ng;olympe.N.F.Element.prototype.setRGBABackgoundColor=olympe.N.F.Element.prototype.IE;olympe.N.F.Element.prototype.setHTMLId=olympe.N.F.Element.prototype.ws;olympe.N.F.Element.prototype.setBackgroundColor=olympe.N.F.Element.prototype.Ma;
582
- olympe.Wh(olympe.N.F.Element,olympe.N.wf,olympe.N.X.nc,olympe.N.X.pH,olympe.N.X.Md,olympe.N.X.oH,olympe.N.X.Si,olympe.N.X.fR);olympe.N.F.mb=class extends olympe.N.F.Element{oe(){}Fe(){}XE(){}ah(){}Cg(){}Ag(){}Oq(){}dv(){}LE(){}$g(){}Ld(){}ad(){}nd(){}Wb(){}Tj(){}Bf(){}nE(){}CP(){}Cs(){}bE(){}};olympe.N.F.mb.prototype.initAllProperties=olympe.N.F.mb.prototype.bE;olympe.N.F.mb.prototype.unregisterParentHandler=olympe.N.F.mb.prototype.CP;olympe.N.F.mb.prototype.registerParentHandler=olympe.N.F.mb.prototype.nE;olympe.N.F.mb.prototype.setAccelerated=olympe.N.F.mb.prototype.Tj;olympe.N.F.mb.prototype.setCornerRadius=olympe.N.F.mb.prototype.Wb;
583
- olympe.N.F.mb.prototype.setBorder=olympe.N.F.mb.prototype.Ld;olympe.N.F.mb.prototype.setShadow=olympe.N.F.mb.prototype.$g;olympe.N.F.mb.prototype.setScaleFactorXY=olympe.N.F.mb.prototype.LE;olympe.N.F.mb.prototype.setScaleFactor=olympe.N.F.mb.prototype.dv;olympe.N.F.mb.prototype.setRotationAngle=olympe.N.F.mb.prototype.Oq;olympe.N.F.mb.prototype.setHeight=olympe.N.F.mb.prototype.Ag;olympe.N.F.mb.prototype.setWidth=olympe.N.F.mb.prototype.Cg;olympe.N.F.mb.prototype.setZIndex=olympe.N.F.mb.prototype.ah;
584
- olympe.N.F.mb.prototype.setXY=olympe.N.F.mb.prototype.XE;olympe.N.F.mb.prototype.setY=olympe.N.F.mb.prototype.Fe;olympe.N.F.mb.prototype.setX=olympe.N.F.mb.prototype.oe;olympe.Wh(olympe.N.F.mb,olympe.N.F.Element);olympe.N.F.pf=class extends olympe.N.F.Element{appendChild(){}removeChild(){}mg(){}ci(){}Qr(){}TA(){}gF(){}O(){}T(){}ww(){}Gx(){}Nx(){}};olympe.N.F.pf.prototype.unregisterScreenOrientation=olympe.N.F.pf.prototype.gF;olympe.N.F.pf.prototype.registerScreenOrientation=olympe.N.F.pf.prototype.TA;olympe.N.F.pf.prototype.clearLoader=olympe.N.F.pf.prototype.Qr;olympe.N.F.pf.prototype.setTitle=olympe.N.F.pf.prototype.ci;olympe.N.F.pf.prototype.removeAllChildren=olympe.N.F.pf.prototype.mg;
585
- olympe.N.F.pf.prototype.removeChild=olympe.N.F.pf.prototype.removeChild;olympe.N.F.pf.prototype.appendChild=olympe.N.F.pf.prototype.appendChild;olympe.Wh(olympe.N.F.pf,olympe.N.F.Element,olympe.N.X.sg,olympe.N.X.lC);olympe.N.F.Ie=class extends olympe.N.F.mb{Zt(){}Qu(){}Cf(){}zs(){}eu(){}Js(){}yx(){}SA(){}};olympe.N.F.Ie.prototype.registerLoadEnd=olympe.N.F.Ie.prototype.SA;olympe.N.F.Ie.prototype.setClickEnabled=olympe.N.F.Ie.prototype.yx;olympe.N.F.Ie.prototype.showFileSelector=olympe.N.F.Ie.prototype.Js;olympe.N.F.Ie.prototype.clearFiles=olympe.N.F.Ie.prototype.eu;olympe.N.F.Ie.prototype.setMultiple=olympe.N.F.Ie.prototype.zs;olympe.N.F.Ie.prototype.setDisabled=olympe.N.F.Ie.prototype.Cf;
586
- olympe.N.F.Ie.prototype.setBackgroundText=olympe.N.F.Ie.prototype.Qu;olympe.N.F.Ie.prototype.addAcceptedMimeType=olympe.N.F.Ie.prototype.Zt;olympe.Wh(olympe.N.F.Ie,olympe.N.F.mb);olympe.N.F.cb=class extends olympe.N.F.mb{Jb(){}vb(){}rb(){}Od(){}Bb(){}lb(){}Vj(){}Kl(){}Ub(){}Xb(){}bi(){}jv(){}Ml(){}Yd(){}Ed(){}Fc(){}Kc(){}td(){}sd(){}fp(){}Rq(){}};olympe.N.F.cb.prototype.unregisterTextSize=olympe.N.F.cb.prototype.Rq;olympe.N.F.cb.prototype.registerTextSize=olympe.N.F.cb.prototype.fp;olympe.N.F.cb.prototype.setPaddingBottom=olympe.N.F.cb.prototype.sd;olympe.N.F.cb.prototype.setPaddingTop=olympe.N.F.cb.prototype.td;olympe.N.F.cb.prototype.setPaddingRight=olympe.N.F.cb.prototype.Kc;
580
+ olympe.N.X.nc.prototype.registerClickOrTap=olympe.N.X.nc.prototype.gn;olympe.N.X.fR=class{kq(){}};olympe.N.X.Si=class{ns(){}Os(){}ms(){}Ns(){}os(){}Ps(){}};olympe.N.X.Si.prototype.unregisterSize=olympe.N.X.Si.prototype.Ps;olympe.N.X.Si.prototype.registerSize=olympe.N.X.Si.prototype.os;olympe.N.X.Si.prototype.unregisterBlur=olympe.N.X.Si.prototype.Ns;olympe.N.X.Si.prototype.registerBlur=olympe.N.X.Si.prototype.ms;olympe.N.X.Si.prototype.unregisterFocus=olympe.N.X.Si.prototype.Os;olympe.N.X.Si.prototype.registerFocus=olympe.N.X.Si.prototype.ns;olympe.N.F={};olympe.N.F.Element=class extends olympe.N.wf{Tm(){}Ma(){}ws(){}JE(){}ng(){}Yg(){}us(){}kp(){}Lq(){}ss(){}rs(){}rd(){}Gs(){}mj(){}yn(){}ib(){}yh(){}Uu(){}};olympe.N.F.Element.prototype.setContextMenuEnabled=olympe.N.F.Element.prototype.Uu;olympe.N.F.Element.prototype.setIgnoreUserInteraction=olympe.N.F.Element.prototype.yh;olympe.N.F.Element.prototype.setBlur=olympe.N.F.Element.prototype.yn;olympe.N.F.Element.prototype.setFocus=olympe.N.F.Element.prototype.mj;
581
+ olympe.N.F.Element.prototype.setTabIndex=olympe.N.F.Element.prototype.Gs;olympe.N.F.Element.prototype.setHidden=olympe.N.F.Element.prototype.rd;olympe.N.F.Element.prototype.setBackgroundImage=olympe.N.F.Element.prototype.Yg;olympe.N.F.Element.prototype.setOpacity=olympe.N.F.Element.prototype.ng;olympe.N.F.Element.prototype.setRGBABackgoundColor=olympe.N.F.Element.prototype.JE;olympe.N.F.Element.prototype.setHTMLId=olympe.N.F.Element.prototype.ws;olympe.N.F.Element.prototype.setBackgroundColor=olympe.N.F.Element.prototype.Ma;
582
+ olympe.Wh(olympe.N.F.Element,olympe.N.wf,olympe.N.X.nc,olympe.N.X.pH,olympe.N.X.Md,olympe.N.X.oH,olympe.N.X.Si,olympe.N.X.fR);olympe.N.F.mb=class extends olympe.N.F.Element{oe(){}Fe(){}YE(){}ah(){}Cg(){}Ag(){}Oq(){}dv(){}ME(){}$g(){}Ld(){}ad(){}nd(){}Wb(){}Tj(){}Bf(){}oE(){}CP(){}Cs(){}cE(){}};olympe.N.F.mb.prototype.initAllProperties=olympe.N.F.mb.prototype.cE;olympe.N.F.mb.prototype.unregisterParentHandler=olympe.N.F.mb.prototype.CP;olympe.N.F.mb.prototype.registerParentHandler=olympe.N.F.mb.prototype.oE;olympe.N.F.mb.prototype.setAccelerated=olympe.N.F.mb.prototype.Tj;olympe.N.F.mb.prototype.setCornerRadius=olympe.N.F.mb.prototype.Wb;
583
+ olympe.N.F.mb.prototype.setBorder=olympe.N.F.mb.prototype.Ld;olympe.N.F.mb.prototype.setShadow=olympe.N.F.mb.prototype.$g;olympe.N.F.mb.prototype.setScaleFactorXY=olympe.N.F.mb.prototype.ME;olympe.N.F.mb.prototype.setScaleFactor=olympe.N.F.mb.prototype.dv;olympe.N.F.mb.prototype.setRotationAngle=olympe.N.F.mb.prototype.Oq;olympe.N.F.mb.prototype.setHeight=olympe.N.F.mb.prototype.Ag;olympe.N.F.mb.prototype.setWidth=olympe.N.F.mb.prototype.Cg;olympe.N.F.mb.prototype.setZIndex=olympe.N.F.mb.prototype.ah;
584
+ olympe.N.F.mb.prototype.setXY=olympe.N.F.mb.prototype.YE;olympe.N.F.mb.prototype.setY=olympe.N.F.mb.prototype.Fe;olympe.N.F.mb.prototype.setX=olympe.N.F.mb.prototype.oe;olympe.Wh(olympe.N.F.mb,olympe.N.F.Element);olympe.N.F.pf=class extends olympe.N.F.Element{appendChild(){}removeChild(){}mg(){}ci(){}Qr(){}TA(){}hF(){}O(){}T(){}ww(){}Gx(){}Nx(){}};olympe.N.F.pf.prototype.unregisterScreenOrientation=olympe.N.F.pf.prototype.hF;olympe.N.F.pf.prototype.registerScreenOrientation=olympe.N.F.pf.prototype.TA;olympe.N.F.pf.prototype.clearLoader=olympe.N.F.pf.prototype.Qr;olympe.N.F.pf.prototype.setTitle=olympe.N.F.pf.prototype.ci;olympe.N.F.pf.prototype.removeAllChildren=olympe.N.F.pf.prototype.mg;
585
+ olympe.N.F.pf.prototype.removeChild=olympe.N.F.pf.prototype.removeChild;olympe.N.F.pf.prototype.appendChild=olympe.N.F.pf.prototype.appendChild;olympe.Wh(olympe.N.F.pf,olympe.N.F.Element,olympe.N.X.sg,olympe.N.X.mC);olympe.N.F.Ie=class extends olympe.N.F.mb{Zt(){}Qu(){}Cf(){}zs(){}eu(){}Js(){}yx(){}SA(){}};olympe.N.F.Ie.prototype.registerLoadEnd=olympe.N.F.Ie.prototype.SA;olympe.N.F.Ie.prototype.setClickEnabled=olympe.N.F.Ie.prototype.yx;olympe.N.F.Ie.prototype.showFileSelector=olympe.N.F.Ie.prototype.Js;olympe.N.F.Ie.prototype.clearFiles=olympe.N.F.Ie.prototype.eu;olympe.N.F.Ie.prototype.setMultiple=olympe.N.F.Ie.prototype.zs;olympe.N.F.Ie.prototype.setDisabled=olympe.N.F.Ie.prototype.Cf;
586
+ olympe.N.F.Ie.prototype.setBackgroundText=olympe.N.F.Ie.prototype.Qu;olympe.N.F.Ie.prototype.addAcceptedMimeType=olympe.N.F.Ie.prototype.Zt;olympe.Wh(olympe.N.F.Ie,olympe.N.F.mb);olympe.N.F.cb=class extends olympe.N.F.mb{Jb(){}wb(){}rb(){}Od(){}Bb(){}lb(){}Vj(){}Kl(){}Ub(){}Xb(){}bi(){}jv(){}Ml(){}Yd(){}Ed(){}Fc(){}Kc(){}td(){}sd(){}fp(){}Rq(){}};olympe.N.F.cb.prototype.unregisterTextSize=olympe.N.F.cb.prototype.Rq;olympe.N.F.cb.prototype.registerTextSize=olympe.N.F.cb.prototype.fp;olympe.N.F.cb.prototype.setPaddingBottom=olympe.N.F.cb.prototype.sd;olympe.N.F.cb.prototype.setPaddingTop=olympe.N.F.cb.prototype.td;olympe.N.F.cb.prototype.setPaddingRight=olympe.N.F.cb.prototype.Kc;
587
587
  olympe.N.F.cb.prototype.setPaddingLeft=olympe.N.F.cb.prototype.Fc;olympe.N.F.cb.prototype.setAutoHeight=olympe.N.F.cb.prototype.Ed;olympe.N.F.cb.prototype.setAutoWidth=olympe.N.F.cb.prototype.Yd;olympe.N.F.cb.prototype.setSelectable=olympe.N.F.cb.prototype.Ml;olympe.N.F.cb.prototype.setWhiteSpaceWrap=olympe.N.F.cb.prototype.jv;olympe.N.F.cb.prototype.setTextOverflow=olympe.N.F.cb.prototype.bi;olympe.N.F.cb.prototype.setTextVerticalAlign=olympe.N.F.cb.prototype.Xb;
588
588
  olympe.N.F.cb.prototype.setTextHorizontalAlign=olympe.N.F.cb.prototype.Ub;olympe.N.F.cb.prototype.setRGBATextColor=olympe.N.F.cb.prototype.Kl;olympe.N.F.cb.prototype.setLineHeight=olympe.N.F.cb.prototype.Vj;olympe.N.F.cb.prototype.setTextColor=olympe.N.F.cb.prototype.lb;olympe.N.F.cb.prototype.setFontWeight=olympe.N.F.cb.prototype.Bb;olympe.N.F.cb.prototype.setFontStyle=olympe.N.F.cb.prototype.Od;olympe.N.F.cb.prototype.setFontSize=olympe.N.F.cb.prototype.rb;
589
- olympe.N.F.cb.prototype.setFontFamily=olympe.N.F.cb.prototype.vb;olympe.N.F.cb.prototype.setText=olympe.N.F.cb.prototype.Jb;olympe.Wh(olympe.N.F.cb,olympe.N.F.mb);olympe.N.F.ce=class extends olympe.N.F.mb{appendChild(){}removeChild(){}mg(){}Lr(){}$(){}};olympe.N.F.ce.prototype.authorizeOverflow=olympe.N.F.ce.prototype.Lr;olympe.N.F.ce.prototype.removeAllChildren=olympe.N.F.ce.prototype.mg;olympe.N.F.ce.prototype.removeChild=olympe.N.F.ce.prototype.removeChild;olympe.N.F.ce.prototype.appendChild=olympe.N.F.ce.prototype.appendChild;olympe.Wh(olympe.N.F.ce,olympe.N.F.mb);olympe.N.F.Ue=class extends olympe.N.F.mb{dB(){}setAttribute(){}Ru(){}Tu(){}Su(){}vb(){}rb(){}Od(){}Bb(){}lb(){}Df(){}jp(){}da(){}};olympe.N.F.Ue.prototype.setPadding=olympe.N.F.Ue.prototype.Df;olympe.N.F.Ue.prototype.setTextColor=olympe.N.F.Ue.prototype.lb;olympe.N.F.Ue.prototype.setFontWeight=olympe.N.F.Ue.prototype.Bb;olympe.N.F.Ue.prototype.setFontStyle=olympe.N.F.Ue.prototype.Od;olympe.N.F.Ue.prototype.setFontSize=olympe.N.F.Ue.prototype.rb;olympe.N.F.Ue.prototype.setFontFamily=olympe.N.F.Ue.prototype.vb;
590
- olympe.N.F.Ue.prototype.setCSSLink=olympe.N.F.Ue.prototype.Su;olympe.N.F.Ue.prototype.setClass=olympe.N.F.Ue.prototype.Tu;olympe.N.F.Ue.prototype.setCSS=olympe.N.F.Ue.prototype.Ru;olympe.N.F.Ue.prototype.setAttribute=olympe.N.F.Ue.prototype.setAttribute;olympe.N.F.Ue.prototype.setHTML=olympe.N.F.Ue.prototype.dB;olympe.Wh(olympe.N.F.Ue,olympe.N.F.mb);olympe.N.F.wd=class extends olympe.N.F.mb{Ds(){}ev(){}Es(){}Vx(){}fB(){}gB(){}UA(){}nB(){}xb(){}Eb(){}Nd(){}du(){}qE(){}oB(){}pE(){}mB(){}};olympe.N.F.wd.prototype.unregisterScrollEnd=olympe.N.F.wd.prototype.mB;olympe.N.F.wd.prototype.registerScrollEnd=olympe.N.F.wd.prototype.pE;olympe.N.F.wd.prototype.unregisterScrollStart=olympe.N.F.wd.prototype.oB;olympe.N.F.wd.prototype.registerScrollStart=olympe.N.F.wd.prototype.qE;olympe.N.F.wd.prototype.clearContent=olympe.N.F.wd.prototype.du;
589
+ olympe.N.F.cb.prototype.setFontFamily=olympe.N.F.cb.prototype.wb;olympe.N.F.cb.prototype.setText=olympe.N.F.cb.prototype.Jb;olympe.Wh(olympe.N.F.cb,olympe.N.F.mb);olympe.N.F.ce=class extends olympe.N.F.mb{appendChild(){}removeChild(){}mg(){}Lr(){}$(){}};olympe.N.F.ce.prototype.authorizeOverflow=olympe.N.F.ce.prototype.Lr;olympe.N.F.ce.prototype.removeAllChildren=olympe.N.F.ce.prototype.mg;olympe.N.F.ce.prototype.removeChild=olympe.N.F.ce.prototype.removeChild;olympe.N.F.ce.prototype.appendChild=olympe.N.F.ce.prototype.appendChild;olympe.Wh(olympe.N.F.ce,olympe.N.F.mb);olympe.N.F.Ue=class extends olympe.N.F.mb{dB(){}setAttribute(){}Ru(){}Tu(){}Su(){}wb(){}rb(){}Od(){}Bb(){}lb(){}Df(){}jp(){}da(){}};olympe.N.F.Ue.prototype.setPadding=olympe.N.F.Ue.prototype.Df;olympe.N.F.Ue.prototype.setTextColor=olympe.N.F.Ue.prototype.lb;olympe.N.F.Ue.prototype.setFontWeight=olympe.N.F.Ue.prototype.Bb;olympe.N.F.Ue.prototype.setFontStyle=olympe.N.F.Ue.prototype.Od;olympe.N.F.Ue.prototype.setFontSize=olympe.N.F.Ue.prototype.rb;olympe.N.F.Ue.prototype.setFontFamily=olympe.N.F.Ue.prototype.wb;
590
+ olympe.N.F.Ue.prototype.setCSSLink=olympe.N.F.Ue.prototype.Su;olympe.N.F.Ue.prototype.setClass=olympe.N.F.Ue.prototype.Tu;olympe.N.F.Ue.prototype.setCSS=olympe.N.F.Ue.prototype.Ru;olympe.N.F.Ue.prototype.setAttribute=olympe.N.F.Ue.prototype.setAttribute;olympe.N.F.Ue.prototype.setHTML=olympe.N.F.Ue.prototype.dB;olympe.Wh(olympe.N.F.Ue,olympe.N.F.mb);olympe.N.F.wd=class extends olympe.N.F.mb{Ds(){}ev(){}Es(){}Vx(){}fB(){}gB(){}UA(){}nB(){}xb(){}Eb(){}Nd(){}du(){}rE(){}oB(){}qE(){}mB(){}};olympe.N.F.wd.prototype.unregisterScrollEnd=olympe.N.F.wd.prototype.mB;olympe.N.F.wd.prototype.registerScrollEnd=olympe.N.F.wd.prototype.qE;olympe.N.F.wd.prototype.unregisterScrollStart=olympe.N.F.wd.prototype.oB;olympe.N.F.wd.prototype.registerScrollStart=olympe.N.F.wd.prototype.rE;olympe.N.F.wd.prototype.clearContent=olympe.N.F.wd.prototype.du;
591
591
  olympe.N.F.wd.prototype.setContent=olympe.N.F.wd.prototype.Nd;olympe.N.F.wd.prototype.unregisterScrollOffset=olympe.N.F.wd.prototype.nB;olympe.N.F.wd.prototype.registerScrollOffset=olympe.N.F.wd.prototype.UA;olympe.N.F.wd.prototype.setScrollOffsetY=olympe.N.F.wd.prototype.gB;olympe.N.F.wd.prototype.setScrollOffsetX=olympe.N.F.wd.prototype.fB;olympe.N.F.wd.prototype.setScrollbarColor=olympe.N.F.wd.prototype.Vx;olympe.N.F.wd.prototype.setScrollbarVisible=olympe.N.F.wd.prototype.Es;
592
- olympe.N.F.wd.prototype.setScrollY=olympe.N.F.wd.prototype.ev;olympe.N.F.wd.prototype.setScrollX=olympe.N.F.wd.prototype.Ds;olympe.Wh(olympe.N.F.wd,olympe.N.F.mb);olympe.N.F.Pc=class extends olympe.N.F.mb{Cf(){}vb(){}rb(){}Od(){}Bb(){}lb(){}Og(){}Zg(){}Kl(){}Sj(){}Ff(){}getValue(){}Ub(){}Xb(){}Fc(){}Kc(){}td(){}sd(){}jp(){}};olympe.N.F.Pc.prototype.setAutoResize=olympe.N.F.Pc.prototype.jp;olympe.N.F.Pc.prototype.setPaddingBottom=olympe.N.F.Pc.prototype.sd;olympe.N.F.Pc.prototype.setPaddingTop=olympe.N.F.Pc.prototype.td;olympe.N.F.Pc.prototype.setPaddingRight=olympe.N.F.Pc.prototype.Kc;olympe.N.F.Pc.prototype.setPaddingLeft=olympe.N.F.Pc.prototype.Fc;
592
+ olympe.N.F.wd.prototype.setScrollY=olympe.N.F.wd.prototype.ev;olympe.N.F.wd.prototype.setScrollX=olympe.N.F.wd.prototype.Ds;olympe.Wh(olympe.N.F.wd,olympe.N.F.mb);olympe.N.F.Pc=class extends olympe.N.F.mb{Cf(){}wb(){}rb(){}Od(){}Bb(){}lb(){}Og(){}Zg(){}Kl(){}Sj(){}Ff(){}getValue(){}Ub(){}Xb(){}Fc(){}Kc(){}td(){}sd(){}jp(){}};olympe.N.F.Pc.prototype.setAutoResize=olympe.N.F.Pc.prototype.jp;olympe.N.F.Pc.prototype.setPaddingBottom=olympe.N.F.Pc.prototype.sd;olympe.N.F.Pc.prototype.setPaddingTop=olympe.N.F.Pc.prototype.td;olympe.N.F.Pc.prototype.setPaddingRight=olympe.N.F.Pc.prototype.Kc;olympe.N.F.Pc.prototype.setPaddingLeft=olympe.N.F.Pc.prototype.Fc;
593
593
  olympe.N.F.Pc.prototype.setTextVerticalAlign=olympe.N.F.Pc.prototype.Xb;olympe.N.F.Pc.prototype.setTextHorizontalAlign=olympe.N.F.Pc.prototype.Ub;olympe.N.F.Pc.prototype.getValue=olympe.N.F.Pc.prototype.getValue;olympe.N.F.Pc.prototype.setValue=olympe.N.F.Pc.prototype.Ff;olympe.N.F.Pc.prototype.selectText=olympe.N.F.Pc.prototype.Sj;olympe.N.F.Pc.prototype.setRGBATextColor=olympe.N.F.Pc.prototype.Kl;olympe.N.F.Pc.prototype.setPlaceholderColor=olympe.N.F.Pc.prototype.Zg;
594
- olympe.N.F.Pc.prototype.setPlaceholder=olympe.N.F.Pc.prototype.Og;olympe.N.F.Pc.prototype.setTextColor=olympe.N.F.Pc.prototype.lb;olympe.N.F.Pc.prototype.setFontWeight=olympe.N.F.Pc.prototype.Bb;olympe.N.F.Pc.prototype.setFontStyle=olympe.N.F.Pc.prototype.Od;olympe.N.F.Pc.prototype.setFontSize=olympe.N.F.Pc.prototype.rb;olympe.N.F.Pc.prototype.setFontFamily=olympe.N.F.Pc.prototype.vb;olympe.N.F.Pc.prototype.setDisabled=olympe.N.F.Pc.prototype.Cf;
595
- olympe.Wh(olympe.N.F.Pc,olympe.N.F.mb,olympe.N.X.sg,olympe.N.X.lC,olympe.N.X.ir,olympe.N.X.nH);olympe.N.F.Mb=class extends olympe.N.F.mb{Cf(){}vb(){}rb(){}Od(){}Bb(){}lb(){}Kl(){}Sj(){}Ff(){}getValue(){}Ub(){}Xb(){}bi(){}Fc(){}Kc(){}td(){}sd(){}zn(){}av(){}Yu(){}fv(){}Og(){}Zg(){}Pu(){}ip(){}};olympe.N.F.Mb.prototype.setAutoComplete=olympe.N.F.Mb.prototype.ip;olympe.N.F.Mb.prototype.setAutoCapitalization=olympe.N.F.Mb.prototype.Pu;olympe.N.F.Mb.prototype.setPlaceholderColor=olympe.N.F.Mb.prototype.Zg;olympe.N.F.Mb.prototype.setPlaceholder=olympe.N.F.Mb.prototype.Og;
594
+ olympe.N.F.Pc.prototype.setPlaceholder=olympe.N.F.Pc.prototype.Og;olympe.N.F.Pc.prototype.setTextColor=olympe.N.F.Pc.prototype.lb;olympe.N.F.Pc.prototype.setFontWeight=olympe.N.F.Pc.prototype.Bb;olympe.N.F.Pc.prototype.setFontStyle=olympe.N.F.Pc.prototype.Od;olympe.N.F.Pc.prototype.setFontSize=olympe.N.F.Pc.prototype.rb;olympe.N.F.Pc.prototype.setFontFamily=olympe.N.F.Pc.prototype.wb;olympe.N.F.Pc.prototype.setDisabled=olympe.N.F.Pc.prototype.Cf;
595
+ olympe.Wh(olympe.N.F.Pc,olympe.N.F.mb,olympe.N.X.sg,olympe.N.X.mC,olympe.N.X.ir,olympe.N.X.nH);olympe.N.F.Mb=class extends olympe.N.F.mb{Cf(){}wb(){}rb(){}Od(){}Bb(){}lb(){}Kl(){}Sj(){}Ff(){}getValue(){}Ub(){}Xb(){}bi(){}Fc(){}Kc(){}td(){}sd(){}zn(){}av(){}Yu(){}fv(){}Og(){}Zg(){}Pu(){}ip(){}};olympe.N.F.Mb.prototype.setAutoComplete=olympe.N.F.Mb.prototype.ip;olympe.N.F.Mb.prototype.setAutoCapitalization=olympe.N.F.Mb.prototype.Pu;olympe.N.F.Mb.prototype.setPlaceholderColor=olympe.N.F.Mb.prototype.Zg;olympe.N.F.Mb.prototype.setPlaceholder=olympe.N.F.Mb.prototype.Og;
596
596
  olympe.N.F.Mb.prototype.setStep=olympe.N.F.Mb.prototype.fv;olympe.N.F.Mb.prototype.setMax=olympe.N.F.Mb.prototype.Yu;olympe.N.F.Mb.prototype.setMin=olympe.N.F.Mb.prototype.av;olympe.N.F.Mb.prototype.setType=olympe.N.F.Mb.prototype.zn;olympe.N.F.Mb.prototype.setPaddingBottom=olympe.N.F.Mb.prototype.sd;olympe.N.F.Mb.prototype.setPaddingTop=olympe.N.F.Mb.prototype.td;olympe.N.F.Mb.prototype.setPaddingRight=olympe.N.F.Mb.prototype.Kc;olympe.N.F.Mb.prototype.setPaddingLeft=olympe.N.F.Mb.prototype.Fc;
597
597
  olympe.N.F.Mb.prototype.setTextOverflow=olympe.N.F.Mb.prototype.bi;olympe.N.F.Mb.prototype.setTextVerticalAlign=olympe.N.F.Mb.prototype.Xb;olympe.N.F.Mb.prototype.setTextHorizontalAlign=olympe.N.F.Mb.prototype.Ub;olympe.N.F.Mb.prototype.getValue=olympe.N.F.Mb.prototype.getValue;olympe.N.F.Mb.prototype.setValue=olympe.N.F.Mb.prototype.Ff;olympe.N.F.Mb.prototype.selectText=olympe.N.F.Mb.prototype.Sj;olympe.N.F.Mb.prototype.setRGBATextColor=olympe.N.F.Mb.prototype.Kl;
598
- olympe.N.F.Mb.prototype.setTextColor=olympe.N.F.Mb.prototype.lb;olympe.N.F.Mb.prototype.setFontWeight=olympe.N.F.Mb.prototype.Bb;olympe.N.F.Mb.prototype.setFontStyle=olympe.N.F.Mb.prototype.Od;olympe.N.F.Mb.prototype.setFontSize=olympe.N.F.Mb.prototype.rb;olympe.N.F.Mb.prototype.setFontFamily=olympe.N.F.Mb.prototype.vb;olympe.N.F.Mb.prototype.setDisabled=olympe.N.F.Mb.prototype.Cf;olympe.Wh(olympe.N.F.Mb,olympe.N.F.mb,olympe.N.X.sg,olympe.N.X.lC,olympe.N.X.ir,olympe.N.X.nH);olympe.N.F.Jd=class extends olympe.N.F.mb{ne(){}Xj(){}jj(){}$j(){}hx(){}nj(){}oj(){}Ik(){}Gk(){}play(){}pause(){}reload(){}Vo(){}Uo(){}Po(){}Yo(){}Wo(){}Oo(){}};olympe.N.F.Jd.prototype.onDurationChange=olympe.N.F.Jd.prototype.Oo;olympe.N.F.Jd.prototype.onTimeUpdate=olympe.N.F.Jd.prototype.Wo;olympe.N.F.Jd.prototype.onVolumeChange=olympe.N.F.Jd.prototype.Yo;olympe.N.F.Jd.prototype.onEnded=olympe.N.F.Jd.prototype.Po;olympe.N.F.Jd.prototype.onPause=olympe.N.F.Jd.prototype.Uo;
598
+ olympe.N.F.Mb.prototype.setTextColor=olympe.N.F.Mb.prototype.lb;olympe.N.F.Mb.prototype.setFontWeight=olympe.N.F.Mb.prototype.Bb;olympe.N.F.Mb.prototype.setFontStyle=olympe.N.F.Mb.prototype.Od;olympe.N.F.Mb.prototype.setFontSize=olympe.N.F.Mb.prototype.rb;olympe.N.F.Mb.prototype.setFontFamily=olympe.N.F.Mb.prototype.wb;olympe.N.F.Mb.prototype.setDisabled=olympe.N.F.Mb.prototype.Cf;olympe.Wh(olympe.N.F.Mb,olympe.N.F.mb,olympe.N.X.sg,olympe.N.X.mC,olympe.N.X.ir,olympe.N.X.nH);olympe.N.F.Jd=class extends olympe.N.F.mb{ne(){}Xj(){}jj(){}$j(){}hx(){}nj(){}oj(){}Ik(){}Gk(){}play(){}pause(){}reload(){}Vo(){}Uo(){}Po(){}Yo(){}Wo(){}Oo(){}};olympe.N.F.Jd.prototype.onDurationChange=olympe.N.F.Jd.prototype.Oo;olympe.N.F.Jd.prototype.onTimeUpdate=olympe.N.F.Jd.prototype.Wo;olympe.N.F.Jd.prototype.onVolumeChange=olympe.N.F.Jd.prototype.Yo;olympe.N.F.Jd.prototype.onEnded=olympe.N.F.Jd.prototype.Po;olympe.N.F.Jd.prototype.onPause=olympe.N.F.Jd.prototype.Uo;
599
599
  olympe.N.F.Jd.prototype.onPlay=olympe.N.F.Jd.prototype.Vo;olympe.N.F.Jd.prototype.reload=olympe.N.F.Jd.prototype.reload;olympe.N.F.Jd.prototype.pause=olympe.N.F.Jd.prototype.pause;olympe.N.F.Jd.prototype.play=olympe.N.F.Jd.prototype.play;olympe.N.F.Jd.prototype.setTimeIndex=olympe.N.F.Jd.prototype.Gk;olympe.N.F.Jd.prototype.setVolume=olympe.N.F.Jd.prototype.Ik;olympe.N.F.Jd.prototype.showControls=olympe.N.F.Jd.prototype.oj;olympe.N.F.Jd.prototype.setLoop=olympe.N.F.Jd.prototype.nj;
600
600
  olympe.N.F.Jd.prototype.getStreamDimension=olympe.N.F.Jd.prototype.hx;olympe.N.F.Jd.prototype.setSourceStream=olympe.N.F.Jd.prototype.$j;olympe.N.F.Jd.prototype.setAutoplay=olympe.N.F.Jd.prototype.jj;olympe.N.F.Jd.prototype.setMuted=olympe.N.F.Jd.prototype.Xj;olympe.N.F.Jd.prototype.setSource=olympe.N.F.Jd.prototype.ne;olympe.Wh(olympe.N.F.Jd,olympe.N.F.mb);olympe.N.F.Audio=class extends olympe.N.F.mb{ne(){}Xj(){}jj(){}$j(){}nj(){}oj(){}Ik(){}Gk(){}play(){}pause(){}reload(){}Vo(){}Uo(){}Po(){}Yo(){}Wo(){}Oo(){}};olympe.N.F.Audio.prototype.onDurationChange=olympe.N.F.Audio.prototype.Oo;olympe.N.F.Audio.prototype.onTimeUpdate=olympe.N.F.Audio.prototype.Wo;olympe.N.F.Audio.prototype.onVolumeChange=olympe.N.F.Audio.prototype.Yo;olympe.N.F.Audio.prototype.onEnded=olympe.N.F.Audio.prototype.Po;olympe.N.F.Audio.prototype.onPause=olympe.N.F.Audio.prototype.Uo;
601
601
  olympe.N.F.Audio.prototype.onPlay=olympe.N.F.Audio.prototype.Vo;olympe.N.F.Audio.prototype.reload=olympe.N.F.Audio.prototype.reload;olympe.N.F.Audio.prototype.pause=olympe.N.F.Audio.prototype.pause;olympe.N.F.Audio.prototype.play=olympe.N.F.Audio.prototype.play;olympe.N.F.Audio.prototype.setTimeIndex=olympe.N.F.Audio.prototype.Gk;olympe.N.F.Audio.prototype.setVolume=olympe.N.F.Audio.prototype.Ik;olympe.N.F.Audio.prototype.showControls=olympe.N.F.Audio.prototype.oj;
@@ -603,38 +603,38 @@ olympe.N.F.Audio.prototype.setLoop=olympe.N.F.Audio.prototype.nj;olympe.N.F.Audi
603
603
  olympe.N.F.cc.prototype.setLineWidth=olympe.N.F.cc.prototype.Lh;olympe.N.F.cc.prototype.setLineJoin=olympe.N.F.cc.prototype.Wj;olympe.N.F.cc.prototype.setLineCap=olympe.N.F.cc.prototype.mh;olympe.N.F.cc.prototype.setFont=olympe.N.F.cc.prototype.Uj;olympe.N.F.cc.prototype.setStrokeStyle=olympe.N.F.cc.prototype.Fs;olympe.N.F.cc.prototype.setFillStyle=olympe.N.F.cc.prototype.lj;olympe.N.F.cc.prototype.fillStyleWithCurrentGradient=olympe.N.F.cc.prototype.Nw;olympe.N.F.cc.prototype.addColorStop=olympe.N.F.cc.prototype.addColorStop;
604
604
  olympe.N.F.cc.prototype.createLinearGradient=olympe.N.F.cc.prototype.createLinearGradient;olympe.N.F.cc.prototype.strokeText=olympe.N.F.cc.prototype.strokeText;olympe.N.F.cc.prototype.strokeRect=olympe.N.F.cc.prototype.strokeRect;olympe.N.F.cc.prototype.stroke=olympe.N.F.cc.prototype.stroke;olympe.N.F.cc.prototype.rect=olympe.N.F.cc.prototype.rect;olympe.N.F.cc.prototype.quadraticCurveTo=olympe.N.F.cc.prototype.quadraticCurveTo;olympe.N.F.cc.prototype.moveTo=olympe.N.F.cc.prototype.moveTo;
605
605
  olympe.N.F.cc.prototype.lineToRelative=olympe.N.F.cc.prototype.cj;olympe.N.F.cc.prototype.lineTo=olympe.N.F.cc.prototype.lineTo;olympe.N.F.cc.prototype.fillText=olympe.N.F.cc.prototype.fillText;olympe.N.F.cc.prototype.fillRect=olympe.N.F.cc.prototype.fillRect;olympe.N.F.cc.prototype.fill=olympe.N.F.cc.prototype.fill;olympe.N.F.cc.prototype.closePath=olympe.N.F.cc.prototype.closePath;olympe.N.F.cc.prototype.clip=olympe.N.F.cc.prototype.clip;olympe.N.F.cc.prototype.clearRect=olympe.N.F.cc.prototype.clearRect;
606
- olympe.N.F.cc.prototype.bezierCurveTo=olympe.N.F.cc.prototype.bezierCurveTo;olympe.N.F.cc.prototype.beginPath=olympe.N.F.cc.prototype.beginPath;olympe.N.F.cc.prototype.arcTo=olympe.N.F.cc.prototype.arcTo;olympe.N.F.cc.prototype.arc=olympe.N.F.cc.prototype.arc;olympe.Wh(olympe.N.F.cc,olympe.N.F.mb);olympe.N.ua={};olympe.N.ua.Zc={};olympe.N.ua.Zc.kd=class extends olympe.N.wf{ME(){}wY(){}oE(){}mE(){}xP(){}oP(){}MO(){}start(){}stop(){}};olympe.N.ua.Zc.kd.prototype.stop=olympe.N.ua.Zc.kd.prototype.stop;olympe.N.ua.Zc.kd.prototype.start=olympe.N.ua.Zc.kd.prototype.start;olympe.N.ua.Zc.kd.prototype.onScan=olympe.N.ua.Zc.kd.prototype.MO;olympe.N.ua.Zc.kd.prototype.setScanInterval=olympe.N.ua.Zc.kd.prototype.oP;olympe.N.ua.Zc.kd.prototype.setVideo=olympe.N.ua.Zc.kd.prototype.xP;
607
- olympe.N.ua.Zc.kd.prototype.registerCornerPointsCallback=olympe.N.ua.Zc.kd.prototype.mE;olympe.N.ua.Zc.kd.prototype.registerPatternPointsCallback=olympe.N.ua.Zc.kd.prototype.oE;olympe.N.ua.Zc.kd.prototype.registerActualScanZoneCallback=olympe.N.ua.Zc.kd.prototype.wY;olympe.N.ua.Zc.kd.prototype.setScanZone=olympe.N.ua.Zc.kd.prototype.ME;olympe.N.ua.uc=class extends olympe.N.F.mb{arc(){}arcTo(){}beginPath(){}bezierCurveTo(){}clearRect(){}clip(){}closePath(){}fill(){}fillRect(){}fillText(){}lineTo(){}cj(){}moveTo(){}quadraticCurveTo(){}rect(){}stroke(){}strokeRect(){}strokeText(){}lj(){}Uj(){}mh(){}Wj(){}Lh(){}Nd(){}Kh(){}};olympe.N.ua.uc.prototype.saveAsPicture=olympe.N.ua.uc.prototype.Kh;olympe.N.ua.uc.prototype.setContent=olympe.N.ua.uc.prototype.Nd;olympe.N.ua.uc.prototype.setLineWidth=olympe.N.ua.uc.prototype.Lh;
606
+ olympe.N.F.cc.prototype.bezierCurveTo=olympe.N.F.cc.prototype.bezierCurveTo;olympe.N.F.cc.prototype.beginPath=olympe.N.F.cc.prototype.beginPath;olympe.N.F.cc.prototype.arcTo=olympe.N.F.cc.prototype.arcTo;olympe.N.F.cc.prototype.arc=olympe.N.F.cc.prototype.arc;olympe.Wh(olympe.N.F.cc,olympe.N.F.mb);olympe.N.ua={};olympe.N.ua.Zc={};olympe.N.ua.Zc.kd=class extends olympe.N.wf{NE(){}wY(){}pE(){}nE(){}xP(){}oP(){}MO(){}start(){}stop(){}};olympe.N.ua.Zc.kd.prototype.stop=olympe.N.ua.Zc.kd.prototype.stop;olympe.N.ua.Zc.kd.prototype.start=olympe.N.ua.Zc.kd.prototype.start;olympe.N.ua.Zc.kd.prototype.onScan=olympe.N.ua.Zc.kd.prototype.MO;olympe.N.ua.Zc.kd.prototype.setScanInterval=olympe.N.ua.Zc.kd.prototype.oP;olympe.N.ua.Zc.kd.prototype.setVideo=olympe.N.ua.Zc.kd.prototype.xP;
607
+ olympe.N.ua.Zc.kd.prototype.registerCornerPointsCallback=olympe.N.ua.Zc.kd.prototype.nE;olympe.N.ua.Zc.kd.prototype.registerPatternPointsCallback=olympe.N.ua.Zc.kd.prototype.pE;olympe.N.ua.Zc.kd.prototype.registerActualScanZoneCallback=olympe.N.ua.Zc.kd.prototype.wY;olympe.N.ua.Zc.kd.prototype.setScanZone=olympe.N.ua.Zc.kd.prototype.NE;olympe.N.ua.uc=class extends olympe.N.F.mb{arc(){}arcTo(){}beginPath(){}bezierCurveTo(){}clearRect(){}clip(){}closePath(){}fill(){}fillRect(){}fillText(){}lineTo(){}cj(){}moveTo(){}quadraticCurveTo(){}rect(){}stroke(){}strokeRect(){}strokeText(){}lj(){}Uj(){}mh(){}Wj(){}Lh(){}Nd(){}Kh(){}};olympe.N.ua.uc.prototype.saveAsPicture=olympe.N.ua.uc.prototype.Kh;olympe.N.ua.uc.prototype.setContent=olympe.N.ua.uc.prototype.Nd;olympe.N.ua.uc.prototype.setLineWidth=olympe.N.ua.uc.prototype.Lh;
608
608
  olympe.N.ua.uc.prototype.setLineJoin=olympe.N.ua.uc.prototype.Wj;olympe.N.ua.uc.prototype.setLineCap=olympe.N.ua.uc.prototype.mh;olympe.N.ua.uc.prototype.setFont=olympe.N.ua.uc.prototype.Uj;olympe.N.ua.uc.prototype.setFillStyle=olympe.N.ua.uc.prototype.lj;olympe.N.ua.uc.prototype.strokeText=olympe.N.ua.uc.prototype.strokeText;olympe.N.ua.uc.prototype.strokeRect=olympe.N.ua.uc.prototype.strokeRect;olympe.N.ua.uc.prototype.stroke=olympe.N.ua.uc.prototype.stroke;olympe.N.ua.uc.prototype.rect=olympe.N.ua.uc.prototype.rect;
609
609
  olympe.N.ua.uc.prototype.quadraticCurveTo=olympe.N.ua.uc.prototype.quadraticCurveTo;olympe.N.ua.uc.prototype.moveTo=olympe.N.ua.uc.prototype.moveTo;olympe.N.ua.uc.prototype.lineToRelative=olympe.N.ua.uc.prototype.cj;olympe.N.ua.uc.prototype.lineTo=olympe.N.ua.uc.prototype.lineTo;olympe.N.ua.uc.prototype.fillText=olympe.N.ua.uc.prototype.fillText;olympe.N.ua.uc.prototype.fillRect=olympe.N.ua.uc.prototype.fillRect;olympe.N.ua.uc.prototype.fill=olympe.N.ua.uc.prototype.fill;
610
610
  olympe.N.ua.uc.prototype.closePath=olympe.N.ua.uc.prototype.closePath;olympe.N.ua.uc.prototype.clip=olympe.N.ua.uc.prototype.clip;olympe.N.ua.uc.prototype.clearRect=olympe.N.ua.uc.prototype.clearRect;olympe.N.ua.uc.prototype.bezierCurveTo=olympe.N.ua.uc.prototype.bezierCurveTo;olympe.N.ua.uc.prototype.beginPath=olympe.N.ua.uc.prototype.beginPath;olympe.N.ua.uc.prototype.arcTo=olympe.N.ua.uc.prototype.arcTo;olympe.N.ua.uc.prototype.arc=olympe.N.ua.uc.prototype.arc;
611
- olympe.N.ua.uc.C={LF:'butt',Et:'round',dD:'square'};olympe.N.ua.uc.D={AF:'bevel',Et:'round',FJ:'miter'};olympe.N.ua.Image=class extends olympe.N.F.mb{Kh(){}Lw(){}Kw(){}};olympe.N.ua.Image.prototype.drawUrl=olympe.N.ua.Image.prototype.Kw;olympe.N.ua.Image.prototype.drawVectorial=olympe.N.ua.Image.prototype.Lw;olympe.N.ua.Image.prototype.saveAsPicture=olympe.N.ua.Image.prototype.Kh;olympe.N.ua.aC=class extends olympe.N.F.mb{eB(){}};olympe.N.ua.aC.prototype.setImage=olympe.N.ua.aC.prototype.eB;olympe.N.ua.filters={};olympe.N.ua.filters.Wv=class extends olympe.N.ua.aC{hB(){}};olympe.N.ua.filters.Wv.prototype.setSquareSize=olympe.N.ua.filters.Wv.prototype.hB;olympe.N.media={};olympe.N.media.bc={};olympe.N.media.bc.Np=class extends olympe.N.wf{bb(){}};olympe.N.media.bc.Np.prototype.getName=olympe.N.media.bc.Np.prototype.bb;olympe.N.media.bc.op=class extends olympe.N.media.bc.Np{lp(){}};olympe.N.media.bc.op.prototype.setIdAndName=olympe.N.media.bc.op.prototype.lp;olympe.N.media.bc.Am=class extends olympe.N.media.bc.Np{lp(){}};olympe.N.media.bc.Am.prototype.setIdAndName=olympe.N.media.bc.Am.prototype.lp;olympe.N.media.Op=class extends olympe.N.wf{Rw(){}Qw(){}};olympe.N.media.Op.prototype.getAllAudioInputDevices=olympe.N.media.Op.prototype.Qw;olympe.N.media.Op.prototype.getAllVideoInputDevices=olympe.N.media.Op.prototype.Rw;olympe.N.media.vU=class extends olympe.N.wf{};olympe.N.media.MediaStream=class extends olympe.N.media.vU{Ms(){}};olympe.N.media.MediaStream.prototype.takePicture=olympe.N.media.MediaStream.prototype.Ms;olympe.N.media.Ir=class extends olympe.N.media.MediaStream{ma(){}};olympe.N.media.oi=class extends olympe.N.media.Ir{Ou(){}YA(){}hv(){}RE(){}Ms(){}Ho(){}};olympe.N.media.oi.prototype.initStream=olympe.N.media.oi.prototype.Ho;olympe.N.media.oi.prototype.takePicture=olympe.N.media.oi.prototype.Ms;olympe.N.media.oi.prototype.setVideoInputDevice=olympe.N.media.oi.prototype.RE;olympe.N.media.oi.prototype.setVideoEnabled=olympe.N.media.oi.prototype.hv;olympe.N.media.oi.prototype.setAudioInputDevice=olympe.N.media.oi.prototype.YA;
611
+ olympe.N.ua.uc.C={MF:'butt',Et:'round',eD:'square'};olympe.N.ua.uc.D={BF:'bevel',Et:'round',FJ:'miter'};olympe.N.ua.Image=class extends olympe.N.F.mb{Kh(){}Lw(){}Kw(){}};olympe.N.ua.Image.prototype.drawUrl=olympe.N.ua.Image.prototype.Kw;olympe.N.ua.Image.prototype.drawVectorial=olympe.N.ua.Image.prototype.Lw;olympe.N.ua.Image.prototype.saveAsPicture=olympe.N.ua.Image.prototype.Kh;olympe.N.ua.aC=class extends olympe.N.F.mb{eB(){}};olympe.N.ua.aC.prototype.setImage=olympe.N.ua.aC.prototype.eB;olympe.N.ua.filters={};olympe.N.ua.filters.Wv=class extends olympe.N.ua.aC{hB(){}};olympe.N.ua.filters.Wv.prototype.setSquareSize=olympe.N.ua.filters.Wv.prototype.hB;olympe.N.media={};olympe.N.media.bc={};olympe.N.media.bc.Np=class extends olympe.N.wf{bb(){}};olympe.N.media.bc.Np.prototype.getName=olympe.N.media.bc.Np.prototype.bb;olympe.N.media.bc.op=class extends olympe.N.media.bc.Np{lp(){}};olympe.N.media.bc.op.prototype.setIdAndName=olympe.N.media.bc.op.prototype.lp;olympe.N.media.bc.Am=class extends olympe.N.media.bc.Np{lp(){}};olympe.N.media.bc.Am.prototype.setIdAndName=olympe.N.media.bc.Am.prototype.lp;olympe.N.media.Op=class extends olympe.N.wf{Rw(){}Qw(){}};olympe.N.media.Op.prototype.getAllAudioInputDevices=olympe.N.media.Op.prototype.Qw;olympe.N.media.Op.prototype.getAllVideoInputDevices=olympe.N.media.Op.prototype.Rw;olympe.N.media.vU=class extends olympe.N.wf{};olympe.N.media.MediaStream=class extends olympe.N.media.vU{Ms(){}};olympe.N.media.MediaStream.prototype.takePicture=olympe.N.media.MediaStream.prototype.Ms;olympe.N.media.Ir=class extends olympe.N.media.MediaStream{ma(){}};olympe.N.media.oi=class extends olympe.N.media.Ir{Ou(){}YA(){}hv(){}SE(){}Ms(){}Ho(){}};olympe.N.media.oi.prototype.initStream=olympe.N.media.oi.prototype.Ho;olympe.N.media.oi.prototype.takePicture=olympe.N.media.oi.prototype.Ms;olympe.N.media.oi.prototype.setVideoInputDevice=olympe.N.media.oi.prototype.SE;olympe.N.media.oi.prototype.setVideoEnabled=olympe.N.media.oi.prototype.hv;olympe.N.media.oi.prototype.setAudioInputDevice=olympe.N.media.oi.prototype.YA;
612
612
  olympe.N.media.oi.prototype.setAudioEnabled=olympe.N.media.oi.prototype.Ou;olympe.N.media.DK=class extends olympe.N.media.Ir{};olympe.N.media.Rt=class extends olympe.N.media.MediaStream{Hk(){}le(){}};olympe.N.media.Rt.prototype.getUrl=olympe.N.media.Rt.prototype.le;olympe.N.media.Rt.prototype.setUrl=olympe.N.media.Rt.prototype.Hk;olympe.N.Ta={};olympe.N.Ta.Va={};olympe.N.Ta.Va.Map=class extends olympe.N.F.mb{ue(){}Hs(){}au(){}Aw(){}ps(){}xw(){}Iu(){}pv(){}Is(){}ux(){}ys(){}xs(){}tx(){}sx(){}rv(){}tv(){}kv(){}hu(){}iu(){}Gu(){}Eu(){}ju(){}ku(){}Zu(){}bv(){}$u(){}Fu(){}mq(){}stop(){}};olympe.N.Ta.Va.Map.prototype.stop=olympe.N.Ta.Va.Map.prototype.stop;olympe.N.Ta.Va.Map.prototype.invalidateSize=olympe.N.Ta.Va.Map.prototype.mq;olympe.N.Ta.Va.Map.prototype.panInsideBounds=olympe.N.Ta.Va.Map.prototype.Fu;olympe.N.Ta.Va.Map.prototype.setMaxZoom=olympe.N.Ta.Va.Map.prototype.$u;
613
613
  olympe.N.Ta.Va.Map.prototype.setMinZoom=olympe.N.Ta.Va.Map.prototype.bv;olympe.N.Ta.Va.Map.prototype.setMaxBounds=olympe.N.Ta.Va.Map.prototype.Zu;olympe.N.Ta.Va.Map.prototype.flyToBounds=olympe.N.Ta.Va.Map.prototype.ku;olympe.N.Ta.Va.Map.prototype.flyTo=olympe.N.Ta.Va.Map.prototype.ju;olympe.N.Ta.Va.Map.prototype.panBy=olympe.N.Ta.Va.Map.prototype.Eu;olympe.N.Ta.Va.Map.prototype.panTo=olympe.N.Ta.Va.Map.prototype.Gu;olympe.N.Ta.Va.Map.prototype.fitWorld=olympe.N.Ta.Va.Map.prototype.iu;
614
614
  olympe.N.Ta.Va.Map.prototype.fitBounds=olympe.N.Ta.Va.Map.prototype.hu;olympe.N.Ta.Va.Map.prototype.setZoomAround=olympe.N.Ta.Va.Map.prototype.kv;olympe.N.Ta.Va.Map.prototype.zoomOut=olympe.N.Ta.Va.Map.prototype.tv;olympe.N.Ta.Va.Map.prototype.zoomIn=olympe.N.Ta.Va.Map.prototype.rv;olympe.N.Ta.Va.Map.prototype.registerLatitudeCallback=olympe.N.Ta.Va.Map.prototype.sx;olympe.N.Ta.Va.Map.prototype.registerLongitudeCallback=olympe.N.Ta.Va.Map.prototype.tx;olympe.N.Ta.Va.Map.prototype.setLatitude=olympe.N.Ta.Va.Map.prototype.xs;
615
615
  olympe.N.Ta.Va.Map.prototype.setLongitude=olympe.N.Ta.Va.Map.prototype.ys;olympe.N.Ta.Va.Map.prototype.registerZoomCallback=olympe.N.Ta.Va.Map.prototype.ux;olympe.N.Ta.Va.Map.prototype.setZoom=olympe.N.Ta.Va.Map.prototype.Is;olympe.N.Ta.Va.Map.prototype.updateTileLayer=olympe.N.Ta.Va.Map.prototype.pv;olympe.N.Ta.Va.Map.prototype.removeGeoJson=olympe.N.Ta.Va.Map.prototype.Iu;olympe.N.Ta.Va.Map.prototype.addGeoJson=olympe.N.Ta.Va.Map.prototype.xw;olympe.N.Ta.Va.Map.prototype.removeMarker=olympe.N.Ta.Va.Map.prototype.ps;
616
- olympe.N.Ta.Va.Map.prototype.addMarkers=olympe.N.Ta.Va.Map.prototype.Aw;olympe.N.Ta.Va.Map.prototype.addMarker=olympe.N.Ta.Va.Map.prototype.au;olympe.N.Ta.Va.Map.prototype.setView=olympe.N.Ta.Va.Map.prototype.Hs;olympe.N.Ta.Va.Map.C={zJ:'MAPBOX',kT:'OPENTOPOMAP',G0:'OPENSTREETMAP',NONE:'NONE'};olympe.N.P={};olympe.N.P.xi=class extends olympe.N.F.mb{constructor(){super()}uk(){}ay(){}appendChild(){}removeChild(){}$w(){}TD(){}};olympe.N.P.xi.prototype.getImageUrl=olympe.N.P.xi.prototype.TD;olympe.N.P.xi.prototype.getImageContent=olympe.N.P.xi.prototype.$w;olympe.N.P.xi.prototype.removeChild=olympe.N.P.xi.prototype.removeChild;olympe.N.P.xi.prototype.appendChild=olympe.N.P.xi.prototype.appendChild;olympe.N.P.xi.prototype.setViewbox=olympe.N.P.xi.prototype.ay;olympe.N.P.xi.prototype.getSvgDefsElement=olympe.N.P.xi.prototype.uk;olympe.N.P.ze=class extends olympe.N.wf{va(){}setAttribute(){}Xu(){}ja(){}Ef(){}getParent(){}Pf(){}zo(){}rd(){}yh(){}Bs(){}};olympe.N.P.ze.prototype.setPointerEvents=olympe.N.P.ze.prototype.Bs;olympe.N.P.ze.prototype.setIgnoreUserInteraction=olympe.N.P.ze.prototype.yh;olympe.N.P.ze.prototype.setHidden=olympe.N.P.ze.prototype.rd;olympe.N.P.ze.prototype.getContainer=olympe.N.P.ze.prototype.zo;olympe.N.P.ze.prototype.setContainer=olympe.N.P.ze.prototype.Pf;olympe.N.P.ze.prototype.getParent=olympe.N.P.ze.prototype.getParent;
616
+ olympe.N.Ta.Va.Map.prototype.addMarkers=olympe.N.Ta.Va.Map.prototype.Aw;olympe.N.Ta.Va.Map.prototype.addMarker=olympe.N.Ta.Va.Map.prototype.au;olympe.N.Ta.Va.Map.prototype.setView=olympe.N.Ta.Va.Map.prototype.Hs;olympe.N.Ta.Va.Map.C={zJ:'MAPBOX',kT:'OPENTOPOMAP',G0:'OPENSTREETMAP',NONE:'NONE'};olympe.N.P={};olympe.N.P.xi=class extends olympe.N.F.mb{constructor(){super()}uk(){}ay(){}appendChild(){}removeChild(){}$w(){}UD(){}};olympe.N.P.xi.prototype.getImageUrl=olympe.N.P.xi.prototype.UD;olympe.N.P.xi.prototype.getImageContent=olympe.N.P.xi.prototype.$w;olympe.N.P.xi.prototype.removeChild=olympe.N.P.xi.prototype.removeChild;olympe.N.P.xi.prototype.appendChild=olympe.N.P.xi.prototype.appendChild;olympe.N.P.xi.prototype.setViewbox=olympe.N.P.xi.prototype.ay;olympe.N.P.xi.prototype.getSvgDefsElement=olympe.N.P.xi.prototype.uk;olympe.N.P.ze=class extends olympe.N.wf{va(){}setAttribute(){}Xu(){}ja(){}Ef(){}getParent(){}Pf(){}zo(){}rd(){}yh(){}Bs(){}};olympe.N.P.ze.prototype.setPointerEvents=olympe.N.P.ze.prototype.Bs;olympe.N.P.ze.prototype.setIgnoreUserInteraction=olympe.N.P.ze.prototype.yh;olympe.N.P.ze.prototype.setHidden=olympe.N.P.ze.prototype.rd;olympe.N.P.ze.prototype.getContainer=olympe.N.P.ze.prototype.zo;olympe.N.P.ze.prototype.setContainer=olympe.N.P.ze.prototype.Pf;olympe.N.P.ze.prototype.getParent=olympe.N.P.ze.prototype.getParent;
617
617
  olympe.N.P.ze.prototype.setParent=olympe.N.P.ze.prototype.Ef;olympe.N.P.ze.prototype.getId=olympe.N.P.ze.prototype.ja;olympe.N.P.ze.prototype.setId=olympe.N.P.ze.prototype.Xu;olympe.N.P.ze.prototype.setAttribute=olympe.N.P.ze.prototype.setAttribute;olympe.N.P.ze.prototype.getHtmlElement=olympe.N.P.ze.prototype.va;olympe.N.P.yd=class extends olympe.N.P.ze{constructor(){super()}oe(){}qa(){}Fe(){}ta(){}setPosition(){}Ag(){}Ce(){}Cg(){}Cd(){}setScale(){}jq(){}Gb(){}Dx(){}ge(){}};olympe.N.P.yd.prototype.refreshBox=olympe.N.P.yd.prototype.ge;olympe.N.P.yd.prototype.setDefaultBox=olympe.N.P.yd.prototype.Dx;olympe.N.P.yd.prototype.setDimension=olympe.N.P.yd.prototype.Gb;olympe.N.P.yd.prototype.getScale=olympe.N.P.yd.prototype.jq;olympe.N.P.yd.prototype.setScale=olympe.N.P.yd.prototype.setScale;
618
618
  olympe.N.P.yd.prototype.getWidth=olympe.N.P.yd.prototype.Cd;olympe.N.P.yd.prototype.setWidth=olympe.N.P.yd.prototype.Cg;olympe.N.P.yd.prototype.getHeight=olympe.N.P.yd.prototype.Ce;olympe.N.P.yd.prototype.setHeight=olympe.N.P.yd.prototype.Ag;olympe.N.P.yd.prototype.setPosition=olympe.N.P.yd.prototype.setPosition;olympe.N.P.yd.prototype.getY=olympe.N.P.yd.prototype.ta;olympe.N.P.yd.prototype.setY=olympe.N.P.yd.prototype.Fe;olympe.N.P.yd.prototype.getX=olympe.N.P.yd.prototype.qa;
619
- olympe.N.P.yd.prototype.setX=olympe.N.P.yd.prototype.oe;olympe.N.P.mc=class extends olympe.N.P.yd{constructor(){super()}rotate(){}Hx(){}setFillColor(){}EE(){}cB(){}gv(){}Wm(){}setStrokeColor(){}PE(){}jB(){}Yx(){}Xx(){}Zx(){}Vu(){}ly(){}vs(){}ky(){}Ox(){}my(){}vw(){}};olympe.N.P.mc.prototype.addAnimation=olympe.N.P.mc.prototype.vw;olympe.N.P.mc.prototype.unsetMask=olympe.N.P.mc.prototype.my;olympe.N.P.mc.prototype.setMask=olympe.N.P.mc.prototype.Ox;olympe.N.P.mc.prototype.unsetFilter=olympe.N.P.mc.prototype.ky;olympe.N.P.mc.prototype.setFilter=olympe.N.P.mc.prototype.vs;
620
- olympe.N.P.mc.prototype.unsetGradient=olympe.N.P.mc.prototype.ly;olympe.N.P.mc.prototype.setGradient=olympe.N.P.mc.prototype.Vu;olympe.N.P.mc.prototype.setStrokeLinecap=olympe.N.P.mc.prototype.Zx;olympe.N.P.mc.prototype.setStrokeDashOffset=olympe.N.P.mc.prototype.Xx;olympe.N.P.mc.prototype.setStrokeDashPattern=olympe.N.P.mc.prototype.Yx;olympe.N.P.mc.prototype.setStrokeColorAndOpacity=olympe.N.P.mc.prototype.jB;olympe.N.P.mc.prototype.setStrokeOpacity=olympe.N.P.mc.prototype.PE;
621
- olympe.N.P.mc.prototype.setStrokeColor=olympe.N.P.mc.prototype.setStrokeColor;olympe.N.P.mc.prototype.getStrokeWidth=olympe.N.P.mc.prototype.Wm;olympe.N.P.mc.prototype.setStrokeWidth=olympe.N.P.mc.prototype.gv;olympe.N.P.mc.prototype.setFillColorAndOpacity=olympe.N.P.mc.prototype.cB;olympe.N.P.mc.prototype.setFillOpacity=olympe.N.P.mc.prototype.EE;olympe.N.P.mc.prototype.setFillColor=olympe.N.P.mc.prototype.setFillColor;olympe.N.P.mc.prototype.setFilled=olympe.N.P.mc.prototype.Hx;
622
- olympe.N.P.mc.prototype.rotate=olympe.N.P.mc.prototype.rotate;olympe.Wh(olympe.N.P.mc,olympe.N.P.yd,olympe.N.X.nc,olympe.N.X.pH,olympe.N.X.Md,olympe.N.X.oH);olympe.N.P.em=class extends olympe.N.P.mc{constructor(){super()}setRadius(){}};olympe.N.P.em.prototype.setRadius=olympe.N.P.em.prototype.setRadius;olympe.N.P.Tn=class extends olympe.N.P.mc{constructor(){super()}JE(){}KE(){}setRadius(){}};olympe.N.P.Tn.prototype.setRadius=olympe.N.P.Tn.prototype.setRadius;olympe.N.P.Tn.prototype.setRy=olympe.N.P.Tn.prototype.KE;olympe.N.P.Tn.prototype.setRx=olympe.N.P.Tn.prototype.JE;olympe.N.P.Image=class extends olympe.N.P.mc{constructor(){super()}ne(){}Il(){}Jl(){}Nl(){}};olympe.N.P.Image.prototype.setVerticalAlignment=olympe.N.P.Image.prototype.Nl;olympe.N.P.Image.prototype.setHorizontalAlignment=olympe.N.P.Image.prototype.Jl;olympe.N.P.Image.prototype.setAspectRatioMode=olympe.N.P.Image.prototype.Il;olympe.N.P.Image.prototype.setSource=olympe.N.P.Image.prototype.ne;olympe.N.P.ye=class extends olympe.N.P.mc{constructor(){super()}Wb(){}};olympe.N.P.ye.prototype.setCornerRadius=olympe.N.P.ye.prototype.Wb;olympe.N.P.Text=class extends olympe.N.P.mc{constructor(){super()}Jb(){}rb(){}vb(){}Bb(){}Kx(){}fp(){}Rq(){}};olympe.N.P.Text.prototype.unregisterTextSize=olympe.N.P.Text.prototype.Rq;olympe.N.P.Text.prototype.registerTextSize=olympe.N.P.Text.prototype.fp;olympe.N.P.Text.prototype.setHorizontalAlign=olympe.N.P.Text.prototype.Kx;olympe.N.P.Text.prototype.setFontWeight=olympe.N.P.Text.prototype.Bb;olympe.N.P.Text.prototype.setFontFamily=olympe.N.P.Text.prototype.vb;
623
- olympe.N.P.Text.prototype.setFontSize=olympe.N.P.Text.prototype.rb;olympe.N.P.Text.prototype.setText=olympe.N.P.Text.prototype.Jb;olympe.N.P.qw=class extends olympe.N.P.Text{constructor(){super()}As(){}};olympe.N.P.qw.prototype.setPath=olympe.N.P.qw.prototype.As;olympe.N.P.Yk=class extends olympe.N.P.mc{constructor(){super()}zx(){}mh(){}Vp(){}Ku(){}};olympe.N.P.Yk.prototype.removeSegment=olympe.N.P.Yk.prototype.Ku;olympe.N.P.Yk.prototype.addSegment=olympe.N.P.Yk.prototype.Vp;olympe.N.P.Yk.prototype.setLineCap=olympe.N.P.Yk.prototype.mh;olympe.N.P.Yk.prototype.setClosed=olympe.N.P.Yk.prototype.zx;olympe.N.P.If=class extends olympe.N.P.ze{constructor(){super()}$i(){}oe(){}Fe(){}setPosition(){}Yj(){}Jg(){}};olympe.N.P.If.prototype.getNext=olympe.N.P.If.prototype.Jg;olympe.N.P.If.prototype.setNext=olympe.N.P.If.prototype.Yj;olympe.N.P.If.prototype.setPosition=olympe.N.P.If.prototype.setPosition;olympe.N.P.If.prototype.setY=olympe.N.P.If.prototype.Fe;olympe.N.P.If.prototype.setX=olympe.N.P.If.prototype.oe;olympe.N.P.If.prototype.getCommandString=olympe.N.P.If.prototype.$i;olympe.N.P.si=class extends olympe.N.P.If{constructor(){super()}VE(){}aF(){}Bx(){}WE(){}bF(){}Cx(){}};olympe.N.P.si.prototype.setControl2=olympe.N.P.si.prototype.Cx;olympe.N.P.si.prototype.setYControl2=olympe.N.P.si.prototype.bF;olympe.N.P.si.prototype.setXControl2=olympe.N.P.si.prototype.WE;olympe.N.P.si.prototype.setControl1=olympe.N.P.si.prototype.Bx;olympe.N.P.si.prototype.setYControl1=olympe.N.P.si.prototype.aF;olympe.N.P.si.prototype.setXControl1=olympe.N.P.si.prototype.VE;olympe.N.P.xz=class extends olympe.N.P.If{constructor(){super()}rd(){}};olympe.N.P.io=class extends olympe.N.P.If{constructor(){super()}UE(){}$E(){}Ax(){}};olympe.N.P.io.prototype.setControl=olympe.N.P.io.prototype.Ax;olympe.N.P.io.prototype.setYControl=olympe.N.P.io.prototype.$E;olympe.N.P.io.prototype.setXControl=olympe.N.P.io.prototype.UE;olympe.N.P.Vi=class extends olympe.N.P.If{constructor(){super()}Tx(){}Ux(){}by(){}Mx(){}$x(){}};olympe.N.P.Vi.prototype.setSweepFlag=olympe.N.P.Vi.prototype.$x;olympe.N.P.Vi.prototype.setLargeArcSweepFlag=olympe.N.P.Vi.prototype.Mx;olympe.N.P.Vi.prototype.setXAxisRotation=olympe.N.P.Vi.prototype.by;olympe.N.P.Vi.prototype.setRY=olympe.N.P.Vi.prototype.Ux;olympe.N.P.Vi.prototype.setRX=olympe.N.P.Vi.prototype.Tx;olympe.N.P.yz=class extends olympe.N.P.If{constructor(){super()}};olympe.N.P.dr=class extends olympe.N.P.mc{constructor(){super()}appendChild(){}removeChild(){}};olympe.N.P.dr.prototype.removeChild=olympe.N.P.dr.prototype.removeChild;olympe.N.P.dr.prototype.appendChild=olympe.N.P.dr.prototype.appendChild;olympe.N.P.Qf=class extends olympe.N.P.yd{constructor(){super()}Li(){}addElement(){}Hu(){}vx(){}};olympe.N.P.Qf.prototype.removeAllElements=olympe.N.P.Qf.prototype.vx;olympe.N.P.Qf.prototype.removeElement=olympe.N.P.Qf.prototype.Hu;olympe.N.P.Qf.prototype.addElement=olympe.N.P.Qf.prototype.addElement;olympe.N.P.Qf.prototype.setAbsolute=olympe.N.P.Qf.prototype.Li;olympe.N.P.Eg=class extends olympe.N.P.yd{constructor(){super()}Yj(){}Jg(){}};olympe.N.P.Eg.prototype.getNext=olympe.N.P.Eg.prototype.Jg;olympe.N.P.Eg.prototype.setNext=olympe.N.P.Eg.prototype.Yj;olympe.N.P.Nn=class extends olympe.N.P.Eg{constructor(){super()}wx(){}lf(){}};olympe.N.P.Nn.prototype.setInput=olympe.N.P.Nn.prototype.lf;olympe.N.P.Nn.prototype.setAmount=olympe.N.P.Nn.prototype.wx;olympe.N.P.Wq=class extends olympe.N.P.Eg{constructor(){super()}lf(){}setMatrix(){}};olympe.N.P.Wq.prototype.setMatrix=olympe.N.P.Wq.prototype.setMatrix;olympe.N.P.Wq.prototype.setInput=olympe.N.P.Wq.prototype.lf;olympe.N.P.Rn=class extends olympe.N.P.Eg{constructor(){super()}lf(){}Lx(){}Px(){}};olympe.N.P.Rn.prototype.setMode=olympe.N.P.Rn.prototype.Px;olympe.N.P.Rn.prototype.setInput2=olympe.N.P.Rn.prototype.Lx;olympe.N.P.Rn.prototype.setInput=olympe.N.P.Rn.prototype.lf;olympe.N.P.Un=class extends olympe.N.P.Eg{constructor(){super()}FE(){}HE(){}GE(){}};olympe.N.P.Un.prototype.setFloodColorAndOpacity=olympe.N.P.Un.prototype.GE;olympe.N.P.Un.prototype.setFloodOpacity=olympe.N.P.Un.prototype.HE;olympe.N.P.Un.prototype.setFloodColor=olympe.N.P.Un.prototype.FE;olympe.N.P.Pk=class extends olympe.N.P.Eg{constructor(){super()}ne(){}Il(){}Jl(){}Nl(){}};olympe.N.P.Pk.prototype.setVerticalAlignment=olympe.N.P.Pk.prototype.Nl;olympe.N.P.Pk.prototype.setHorizontalAlignment=olympe.N.P.Pk.prototype.Jl;olympe.N.P.Pk.prototype.setAspectRatioMode=olympe.N.P.Pk.prototype.Il;olympe.N.P.Pk.prototype.setSource=olympe.N.P.Pk.prototype.ne;olympe.N.P.co=class extends olympe.N.P.Eg{constructor(){super()}yw(){}Ju(){}lf(){}};olympe.N.P.co.prototype.setInput=olympe.N.P.co.prototype.lf;olympe.N.P.co.prototype.removeInput=olympe.N.P.co.prototype.Ju;olympe.N.P.co.prototype.addInput=olympe.N.P.co.prototype.yw;olympe.N.P.Vk=class extends olympe.N.P.Eg{constructor(){super()}CE(){}DE(){}Fx(){}lf(){}};olympe.N.P.Vk.prototype.setInput=olympe.N.P.Vk.prototype.lf;olympe.N.P.Vk.prototype.setDelta=olympe.N.P.Vk.prototype.Fx;olympe.N.P.Vk.prototype.setDeltaY=olympe.N.P.Vk.prototype.DE;olympe.N.P.Vk.prototype.setDeltaX=olympe.N.P.Vk.prototype.CE;olympe.N.P.Eh=class extends olympe.N.P.ze{constructor(){super()}Li(){}Bw(){}Lu(){}};olympe.N.P.Eh.prototype.removeStop=olympe.N.P.Eh.prototype.Lu;olympe.N.P.Eh.prototype.addStop=olympe.N.P.Eh.prototype.Bw;olympe.N.P.Eh.prototype.setAbsolute=olympe.N.P.Eh.prototype.Li;olympe.N.P.Nk=class extends olympe.N.P.ze{constructor(){super()}Qx(){}NE(){}OE(){}iB(){}};olympe.N.P.Nk.prototype.setStopColorAndOpacity=olympe.N.P.Nk.prototype.iB;olympe.N.P.Nk.prototype.setStopOpacity=olympe.N.P.Nk.prototype.OE;olympe.N.P.Nk.prototype.setStopColor=olympe.N.P.Nk.prototype.NE;olympe.N.P.Nk.prototype.setOffset=olympe.N.P.Nk.prototype.Qx;olympe.N.P.ni=class extends olympe.N.P.Eh{constructor(){super()}SE(){}YE(){}Rx(){}TE(){}ZE(){}Sx(){}};olympe.N.P.ni.prototype.setPoint2=olympe.N.P.ni.prototype.Sx;olympe.N.P.ni.prototype.setY2=olympe.N.P.ni.prototype.ZE;olympe.N.P.ni.prototype.setX2=olympe.N.P.ni.prototype.TE;olympe.N.P.ni.prototype.setPoint=olympe.N.P.ni.prototype.Rx;olympe.N.P.ni.prototype.setY1=olympe.N.P.ni.prototype.YE;olympe.N.P.ni.prototype.setX1=olympe.N.P.ni.prototype.SE;olympe.N.P.ko=class extends olympe.N.P.Eh{constructor(){super()}setRadius(){}xx(){}Jx(){}};olympe.N.P.ko.prototype.setFocalPoint=olympe.N.P.ko.prototype.Jx;olympe.N.P.ko.prototype.setCenter=olympe.N.P.ko.prototype.xx;olympe.N.P.ko.prototype.setRadius=olympe.N.P.ko.prototype.setRadius;olympe.N.P.ao=class extends olympe.N.P.yd{constructor(){super()}appendChild(){}removeChild(){}Li(){}};olympe.N.P.ao.prototype.setAbsolute=olympe.N.P.ao.prototype.Li;olympe.N.P.ao.prototype.removeChild=olympe.N.P.ao.prototype.removeChild;olympe.N.P.ao.prototype.appendChild=olympe.N.P.ao.prototype.appendChild;olympe.ui={};olympe.ui.Cc=class{constructor(){}C(){}hf(){}ci(){return this}D(){}da(){}O(){}R(){}Cb(){}Tm(){}W(){}$(){}};olympe.ui.wf=class extends olympe.host.Ui{constructor(a){super(a)}ra(){return this.vg()}};olympe.ui.wf.prototype.ra.K=new olympe.j.J(()=>olympe.N.wf,[]);olympe.ui.it=class{constructor(a,b,c,d,e){this.C=a;this.style=b||'normal';this.O=c||300;this.D=d||Object.create(null);this.id=e||olympe.oa.bf()}SD(){return this.C}BA(){return this.style}aE(){return this.O}DA(){return this.D}ja(){return this.id}};olympe.ui.it.prototype.SD.K=new olympe.j.J(()=>String,[]);olympe.ui.it.prototype.BA.K=new olympe.j.J(()=>String,[]);olympe.ui.it.prototype.aE.K=new olympe.j.J(()=>Number,[]);olympe.ui.it.prototype.DA.K=new olympe.j.J(()=>Object,[]);olympe.ui.ha={};olympe.ui.ha.uy={S_:'fill',Us:'contain',Vs:'cover'};olympe.ui.ha.df={Uf:'manual',xm:'topleft',gh:'top',ym:'topright',TF:'centerleft',Sb:'center',UF:'centerright',$l:'bottomleft',zh:'bottom',Ts:'bottomright'};olympe.ui.ha.Ah={Qs:'auto',Uf:'manual',Us:'contain',Vs:'cover'};olympe.ui.ha.pp={jz:'normal',WS:'multiply',VT:'screen',tQ:'darken',DS:'lighten',nU:'srcin',oU:'srcout',mU:'srcatop',aV:'xor'};olympe.ui.ha.gt={lU:'source_graphic',kU:'source_alpha',SP:'background_image',RP:'background_alpha',MQ:'fill_paint',qU:'stroke_paint'};olympe.ui.ha.Uy={jz:'normal',tR:'italic',D0:'oblique'};olympe.ui.ha.zp={Uf:'manual',MP:'auto_width',LP:'auto_height',qF:'auto_width_height',hU:'smart_width',gU:'smart_height',iU:'smart_width_height'};olympe.ui.ha.Db={Tf:'left',Sb:'center',wi:'right'};olympe.ui.ha.Lp={qG:'defaultaudio',rG:'defaultvideo',JG:'facingvideo',CG:'environmentvideo'};olympe.ui.ha.Tv={LF:'butt',Et:'round',dD:'square'};olympe.ui.ha.FC={AF:'bevel',Et:'round',FJ:'miter'};olympe.ui.ha.$J={vT:'portrait',CS:'landscape'};olympe.ui.ha.Mz={NONE:'none',eQ:'characters',XU:'words',WT:'sentences'};olympe.ui.ha.Er={Lz:'text',bK:'password',zG:'email',tT:'phone',dT:'number'};olympe.ui.ha.oo={Av:'clip',yG:'ellipsis',KG:'fade'};olympe.ui.ha.rc={gh:'top',Sc:'middle',zh:'bottom'};olympe.ui.X={};olympe.ui.X.Event=class{constructor(a){this.ca=a}RD(){return this.ca}};olympe.ui.X.Event.prototype.RD.K=new olympe.j.J(()=>olympe.j.ac,[]);olympe.ui.X.JQ=class{constructor(a,b,c,d){this.Bm=a;this.sC=b;this.priority=void 0!==d?d:0;this.id=void 0!==c?c:olympe.oa.pk();this.next=null}ja(){return this.id}Jg(){return this.next}Yj(a){null!==this.next&&a.Yj(this.next);this.next=a}};olympe.ui.X.Ae=class{constructor(){this.first=null}Vd(){return this.first}contains(a){let b=this.first;for(;b;){if(b===a)return!0;b=b.Jg()}return!1}clear(){this.first=null}toString(){let a='',b=this.first;for(;b;)a+=(a?', ':'')+b.ja(),b=b.Jg();return'EventCallbackList('+a+')'}};function yf(a,b,c){const d=olympe.j.ac.now();Q(a,()=>{olympe.j.Wa([b.RD()],e=>{const f=olympe.j.Qa(b);if(e.zO(d).valueOf()){e=[];let g=c.Vd();for(;null!==g;)e.push(g),g=g.Jg();for(const k of e)if(c.contains(k)&&!0===k.sC.run(k.Bm.bind(null,f)))break}})})}function zf(a,b,c,d,e,f){b=new olympe.ui.X.JQ(b,olympe.j.yb(),c,d);let g=c=e.Vd();for(;c&&c.priority<d;)g=c,c=c.Jg();g?g.Yj(b):e.first=b;olympe.j.yb().Ve(f.bind(a,b.ja()));return b.ja()}
619
+ olympe.N.P.yd.prototype.setX=olympe.N.P.yd.prototype.oe;olympe.N.P.mc=class extends olympe.N.P.yd{constructor(){super()}rotate(){}Hx(){}setFillColor(){}FE(){}cB(){}gv(){}Wm(){}setStrokeColor(){}QE(){}jB(){}Yx(){}Xx(){}Zx(){}Vu(){}ly(){}vs(){}ky(){}Ox(){}my(){}vw(){}};olympe.N.P.mc.prototype.addAnimation=olympe.N.P.mc.prototype.vw;olympe.N.P.mc.prototype.unsetMask=olympe.N.P.mc.prototype.my;olympe.N.P.mc.prototype.setMask=olympe.N.P.mc.prototype.Ox;olympe.N.P.mc.prototype.unsetFilter=olympe.N.P.mc.prototype.ky;olympe.N.P.mc.prototype.setFilter=olympe.N.P.mc.prototype.vs;
620
+ olympe.N.P.mc.prototype.unsetGradient=olympe.N.P.mc.prototype.ly;olympe.N.P.mc.prototype.setGradient=olympe.N.P.mc.prototype.Vu;olympe.N.P.mc.prototype.setStrokeLinecap=olympe.N.P.mc.prototype.Zx;olympe.N.P.mc.prototype.setStrokeDashOffset=olympe.N.P.mc.prototype.Xx;olympe.N.P.mc.prototype.setStrokeDashPattern=olympe.N.P.mc.prototype.Yx;olympe.N.P.mc.prototype.setStrokeColorAndOpacity=olympe.N.P.mc.prototype.jB;olympe.N.P.mc.prototype.setStrokeOpacity=olympe.N.P.mc.prototype.QE;
621
+ olympe.N.P.mc.prototype.setStrokeColor=olympe.N.P.mc.prototype.setStrokeColor;olympe.N.P.mc.prototype.getStrokeWidth=olympe.N.P.mc.prototype.Wm;olympe.N.P.mc.prototype.setStrokeWidth=olympe.N.P.mc.prototype.gv;olympe.N.P.mc.prototype.setFillColorAndOpacity=olympe.N.P.mc.prototype.cB;olympe.N.P.mc.prototype.setFillOpacity=olympe.N.P.mc.prototype.FE;olympe.N.P.mc.prototype.setFillColor=olympe.N.P.mc.prototype.setFillColor;olympe.N.P.mc.prototype.setFilled=olympe.N.P.mc.prototype.Hx;
622
+ olympe.N.P.mc.prototype.rotate=olympe.N.P.mc.prototype.rotate;olympe.Wh(olympe.N.P.mc,olympe.N.P.yd,olympe.N.X.nc,olympe.N.X.pH,olympe.N.X.Md,olympe.N.X.oH);olympe.N.P.em=class extends olympe.N.P.mc{constructor(){super()}setRadius(){}};olympe.N.P.em.prototype.setRadius=olympe.N.P.em.prototype.setRadius;olympe.N.P.Tn=class extends olympe.N.P.mc{constructor(){super()}KE(){}LE(){}setRadius(){}};olympe.N.P.Tn.prototype.setRadius=olympe.N.P.Tn.prototype.setRadius;olympe.N.P.Tn.prototype.setRy=olympe.N.P.Tn.prototype.LE;olympe.N.P.Tn.prototype.setRx=olympe.N.P.Tn.prototype.KE;olympe.N.P.Image=class extends olympe.N.P.mc{constructor(){super()}ne(){}Il(){}Jl(){}Nl(){}};olympe.N.P.Image.prototype.setVerticalAlignment=olympe.N.P.Image.prototype.Nl;olympe.N.P.Image.prototype.setHorizontalAlignment=olympe.N.P.Image.prototype.Jl;olympe.N.P.Image.prototype.setAspectRatioMode=olympe.N.P.Image.prototype.Il;olympe.N.P.Image.prototype.setSource=olympe.N.P.Image.prototype.ne;olympe.N.P.ye=class extends olympe.N.P.mc{constructor(){super()}Wb(){}};olympe.N.P.ye.prototype.setCornerRadius=olympe.N.P.ye.prototype.Wb;olympe.N.P.Text=class extends olympe.N.P.mc{constructor(){super()}Jb(){}rb(){}wb(){}Bb(){}Kx(){}fp(){}Rq(){}};olympe.N.P.Text.prototype.unregisterTextSize=olympe.N.P.Text.prototype.Rq;olympe.N.P.Text.prototype.registerTextSize=olympe.N.P.Text.prototype.fp;olympe.N.P.Text.prototype.setHorizontalAlign=olympe.N.P.Text.prototype.Kx;olympe.N.P.Text.prototype.setFontWeight=olympe.N.P.Text.prototype.Bb;olympe.N.P.Text.prototype.setFontFamily=olympe.N.P.Text.prototype.wb;
623
+ olympe.N.P.Text.prototype.setFontSize=olympe.N.P.Text.prototype.rb;olympe.N.P.Text.prototype.setText=olympe.N.P.Text.prototype.Jb;olympe.N.P.qw=class extends olympe.N.P.Text{constructor(){super()}As(){}};olympe.N.P.qw.prototype.setPath=olympe.N.P.qw.prototype.As;olympe.N.P.Yk=class extends olympe.N.P.mc{constructor(){super()}zx(){}mh(){}Vp(){}Ku(){}};olympe.N.P.Yk.prototype.removeSegment=olympe.N.P.Yk.prototype.Ku;olympe.N.P.Yk.prototype.addSegment=olympe.N.P.Yk.prototype.Vp;olympe.N.P.Yk.prototype.setLineCap=olympe.N.P.Yk.prototype.mh;olympe.N.P.Yk.prototype.setClosed=olympe.N.P.Yk.prototype.zx;olympe.N.P.If=class extends olympe.N.P.ze{constructor(){super()}$i(){}oe(){}Fe(){}setPosition(){}Yj(){}Jg(){}};olympe.N.P.If.prototype.getNext=olympe.N.P.If.prototype.Jg;olympe.N.P.If.prototype.setNext=olympe.N.P.If.prototype.Yj;olympe.N.P.If.prototype.setPosition=olympe.N.P.If.prototype.setPosition;olympe.N.P.If.prototype.setY=olympe.N.P.If.prototype.Fe;olympe.N.P.If.prototype.setX=olympe.N.P.If.prototype.oe;olympe.N.P.If.prototype.getCommandString=olympe.N.P.If.prototype.$i;olympe.N.P.si=class extends olympe.N.P.If{constructor(){super()}WE(){}bF(){}Bx(){}XE(){}cF(){}Cx(){}};olympe.N.P.si.prototype.setControl2=olympe.N.P.si.prototype.Cx;olympe.N.P.si.prototype.setYControl2=olympe.N.P.si.prototype.cF;olympe.N.P.si.prototype.setXControl2=olympe.N.P.si.prototype.XE;olympe.N.P.si.prototype.setControl1=olympe.N.P.si.prototype.Bx;olympe.N.P.si.prototype.setYControl1=olympe.N.P.si.prototype.bF;olympe.N.P.si.prototype.setXControl1=olympe.N.P.si.prototype.WE;olympe.N.P.xz=class extends olympe.N.P.If{constructor(){super()}rd(){}};olympe.N.P.io=class extends olympe.N.P.If{constructor(){super()}VE(){}aF(){}Ax(){}};olympe.N.P.io.prototype.setControl=olympe.N.P.io.prototype.Ax;olympe.N.P.io.prototype.setYControl=olympe.N.P.io.prototype.aF;olympe.N.P.io.prototype.setXControl=olympe.N.P.io.prototype.VE;olympe.N.P.Vi=class extends olympe.N.P.If{constructor(){super()}Tx(){}Ux(){}by(){}Mx(){}$x(){}};olympe.N.P.Vi.prototype.setSweepFlag=olympe.N.P.Vi.prototype.$x;olympe.N.P.Vi.prototype.setLargeArcSweepFlag=olympe.N.P.Vi.prototype.Mx;olympe.N.P.Vi.prototype.setXAxisRotation=olympe.N.P.Vi.prototype.by;olympe.N.P.Vi.prototype.setRY=olympe.N.P.Vi.prototype.Ux;olympe.N.P.Vi.prototype.setRX=olympe.N.P.Vi.prototype.Tx;olympe.N.P.yz=class extends olympe.N.P.If{constructor(){super()}};olympe.N.P.dr=class extends olympe.N.P.mc{constructor(){super()}appendChild(){}removeChild(){}};olympe.N.P.dr.prototype.removeChild=olympe.N.P.dr.prototype.removeChild;olympe.N.P.dr.prototype.appendChild=olympe.N.P.dr.prototype.appendChild;olympe.N.P.Qf=class extends olympe.N.P.yd{constructor(){super()}Li(){}addElement(){}Hu(){}vx(){}};olympe.N.P.Qf.prototype.removeAllElements=olympe.N.P.Qf.prototype.vx;olympe.N.P.Qf.prototype.removeElement=olympe.N.P.Qf.prototype.Hu;olympe.N.P.Qf.prototype.addElement=olympe.N.P.Qf.prototype.addElement;olympe.N.P.Qf.prototype.setAbsolute=olympe.N.P.Qf.prototype.Li;olympe.N.P.Eg=class extends olympe.N.P.yd{constructor(){super()}Yj(){}Jg(){}};olympe.N.P.Eg.prototype.getNext=olympe.N.P.Eg.prototype.Jg;olympe.N.P.Eg.prototype.setNext=olympe.N.P.Eg.prototype.Yj;olympe.N.P.Nn=class extends olympe.N.P.Eg{constructor(){super()}wx(){}lf(){}};olympe.N.P.Nn.prototype.setInput=olympe.N.P.Nn.prototype.lf;olympe.N.P.Nn.prototype.setAmount=olympe.N.P.Nn.prototype.wx;olympe.N.P.Wq=class extends olympe.N.P.Eg{constructor(){super()}lf(){}setMatrix(){}};olympe.N.P.Wq.prototype.setMatrix=olympe.N.P.Wq.prototype.setMatrix;olympe.N.P.Wq.prototype.setInput=olympe.N.P.Wq.prototype.lf;olympe.N.P.Rn=class extends olympe.N.P.Eg{constructor(){super()}lf(){}Lx(){}Px(){}};olympe.N.P.Rn.prototype.setMode=olympe.N.P.Rn.prototype.Px;olympe.N.P.Rn.prototype.setInput2=olympe.N.P.Rn.prototype.Lx;olympe.N.P.Rn.prototype.setInput=olympe.N.P.Rn.prototype.lf;olympe.N.P.Un=class extends olympe.N.P.Eg{constructor(){super()}GE(){}IE(){}HE(){}};olympe.N.P.Un.prototype.setFloodColorAndOpacity=olympe.N.P.Un.prototype.HE;olympe.N.P.Un.prototype.setFloodOpacity=olympe.N.P.Un.prototype.IE;olympe.N.P.Un.prototype.setFloodColor=olympe.N.P.Un.prototype.GE;olympe.N.P.Pk=class extends olympe.N.P.Eg{constructor(){super()}ne(){}Il(){}Jl(){}Nl(){}};olympe.N.P.Pk.prototype.setVerticalAlignment=olympe.N.P.Pk.prototype.Nl;olympe.N.P.Pk.prototype.setHorizontalAlignment=olympe.N.P.Pk.prototype.Jl;olympe.N.P.Pk.prototype.setAspectRatioMode=olympe.N.P.Pk.prototype.Il;olympe.N.P.Pk.prototype.setSource=olympe.N.P.Pk.prototype.ne;olympe.N.P.co=class extends olympe.N.P.Eg{constructor(){super()}yw(){}Ju(){}lf(){}};olympe.N.P.co.prototype.setInput=olympe.N.P.co.prototype.lf;olympe.N.P.co.prototype.removeInput=olympe.N.P.co.prototype.Ju;olympe.N.P.co.prototype.addInput=olympe.N.P.co.prototype.yw;olympe.N.P.Vk=class extends olympe.N.P.Eg{constructor(){super()}DE(){}EE(){}Fx(){}lf(){}};olympe.N.P.Vk.prototype.setInput=olympe.N.P.Vk.prototype.lf;olympe.N.P.Vk.prototype.setDelta=olympe.N.P.Vk.prototype.Fx;olympe.N.P.Vk.prototype.setDeltaY=olympe.N.P.Vk.prototype.EE;olympe.N.P.Vk.prototype.setDeltaX=olympe.N.P.Vk.prototype.DE;olympe.N.P.Eh=class extends olympe.N.P.ze{constructor(){super()}Li(){}Bw(){}Lu(){}};olympe.N.P.Eh.prototype.removeStop=olympe.N.P.Eh.prototype.Lu;olympe.N.P.Eh.prototype.addStop=olympe.N.P.Eh.prototype.Bw;olympe.N.P.Eh.prototype.setAbsolute=olympe.N.P.Eh.prototype.Li;olympe.N.P.Nk=class extends olympe.N.P.ze{constructor(){super()}Qx(){}OE(){}PE(){}iB(){}};olympe.N.P.Nk.prototype.setStopColorAndOpacity=olympe.N.P.Nk.prototype.iB;olympe.N.P.Nk.prototype.setStopOpacity=olympe.N.P.Nk.prototype.PE;olympe.N.P.Nk.prototype.setStopColor=olympe.N.P.Nk.prototype.OE;olympe.N.P.Nk.prototype.setOffset=olympe.N.P.Nk.prototype.Qx;olympe.N.P.ni=class extends olympe.N.P.Eh{constructor(){super()}TE(){}ZE(){}Rx(){}UE(){}$E(){}Sx(){}};olympe.N.P.ni.prototype.setPoint2=olympe.N.P.ni.prototype.Sx;olympe.N.P.ni.prototype.setY2=olympe.N.P.ni.prototype.$E;olympe.N.P.ni.prototype.setX2=olympe.N.P.ni.prototype.UE;olympe.N.P.ni.prototype.setPoint=olympe.N.P.ni.prototype.Rx;olympe.N.P.ni.prototype.setY1=olympe.N.P.ni.prototype.ZE;olympe.N.P.ni.prototype.setX1=olympe.N.P.ni.prototype.TE;olympe.N.P.ko=class extends olympe.N.P.Eh{constructor(){super()}setRadius(){}xx(){}Jx(){}};olympe.N.P.ko.prototype.setFocalPoint=olympe.N.P.ko.prototype.Jx;olympe.N.P.ko.prototype.setCenter=olympe.N.P.ko.prototype.xx;olympe.N.P.ko.prototype.setRadius=olympe.N.P.ko.prototype.setRadius;olympe.N.P.ao=class extends olympe.N.P.yd{constructor(){super()}appendChild(){}removeChild(){}Li(){}};olympe.N.P.ao.prototype.setAbsolute=olympe.N.P.ao.prototype.Li;olympe.N.P.ao.prototype.removeChild=olympe.N.P.ao.prototype.removeChild;olympe.N.P.ao.prototype.appendChild=olympe.N.P.ao.prototype.appendChild;olympe.ui={};olympe.ui.Cc=class{constructor(){}C(){}hf(){}ci(){return this}D(){}da(){}O(){}R(){}Cb(){}Tm(){}W(){}$(){}};olympe.ui.wf=class extends olympe.host.Ui{constructor(a){super(a)}ra(){return this.vg()}};olympe.ui.wf.prototype.ra.K=new olympe.j.J(()=>olympe.N.wf,[]);olympe.ui.it=class{constructor(a,b,c,d,e){this.C=a;this.style=b||'normal';this.O=c||300;this.D=d||Object.create(null);this.id=e||olympe.oa.bf()}TD(){return this.C}BA(){return this.style}bE(){return this.O}DA(){return this.D}ja(){return this.id}};olympe.ui.it.prototype.TD.K=new olympe.j.J(()=>String,[]);olympe.ui.it.prototype.BA.K=new olympe.j.J(()=>String,[]);olympe.ui.it.prototype.bE.K=new olympe.j.J(()=>Number,[]);olympe.ui.it.prototype.DA.K=new olympe.j.J(()=>Object,[]);olympe.ui.ha={};olympe.ui.ha.uy={S_:'fill',Us:'contain',Vs:'cover'};olympe.ui.ha.df={Uf:'manual',xm:'topleft',gh:'top',ym:'topright',UF:'centerleft',Sb:'center',VF:'centerright',$l:'bottomleft',zh:'bottom',Ts:'bottomright'};olympe.ui.ha.Ah={Qs:'auto',Uf:'manual',Us:'contain',Vs:'cover'};olympe.ui.ha.pp={jz:'normal',WS:'multiply',VT:'screen',tQ:'darken',DS:'lighten',nU:'srcin',oU:'srcout',mU:'srcatop',aV:'xor'};olympe.ui.ha.gt={lU:'source_graphic',kU:'source_alpha',SP:'background_image',RP:'background_alpha',MQ:'fill_paint',qU:'stroke_paint'};olympe.ui.ha.Uy={jz:'normal',tR:'italic',D0:'oblique'};olympe.ui.ha.zp={Uf:'manual',MP:'auto_width',LP:'auto_height',rF:'auto_width_height',hU:'smart_width',gU:'smart_height',iU:'smart_width_height'};olympe.ui.ha.Db={Tf:'left',Sb:'center',wi:'right'};olympe.ui.ha.Lp={rG:'defaultaudio',sG:'defaultvideo',KG:'facingvideo',DG:'environmentvideo'};olympe.ui.ha.Tv={MF:'butt',Et:'round',eD:'square'};olympe.ui.ha.GC={BF:'bevel',Et:'round',FJ:'miter'};olympe.ui.ha.$J={vT:'portrait',CS:'landscape'};olympe.ui.ha.Mz={NONE:'none',eQ:'characters',XU:'words',WT:'sentences'};olympe.ui.ha.Er={Lz:'text',bK:'password',AG:'email',tT:'phone',dT:'number'};olympe.ui.ha.oo={Av:'clip',zG:'ellipsis',LG:'fade'};olympe.ui.ha.rc={gh:'top',Sc:'middle',zh:'bottom'};olympe.ui.X={};olympe.ui.X.Event=class{constructor(a){this.ca=a}SD(){return this.ca}};olympe.ui.X.Event.prototype.SD.K=new olympe.j.J(()=>olympe.j.ac,[]);olympe.ui.X.JQ=class{constructor(a,b,c,d){this.Bm=a;this.tC=b;this.priority=void 0!==d?d:0;this.id=void 0!==c?c:olympe.oa.pk();this.next=null}ja(){return this.id}Jg(){return this.next}Yj(a){null!==this.next&&a.Yj(this.next);this.next=a}};olympe.ui.X.Ae=class{constructor(){this.first=null}Vd(){return this.first}contains(a){let b=this.first;for(;b;){if(b===a)return!0;b=b.Jg()}return!1}clear(){this.first=null}toString(){let a='',b=this.first;for(;b;)a+=(a?', ':'')+b.ja(),b=b.Jg();return'EventCallbackList('+a+')'}};function yf(a,b,c){const d=olympe.j.ac.now();Q(a,()=>{olympe.j.Wa([b.SD()],e=>{const f=olympe.j.Qa(b);if(e.zO(d).valueOf()){e=[];let g=c.Vd();for(;null!==g;)e.push(g),g=g.Jg();for(const k of e)if(c.contains(k)&&!0===k.tC.run(k.Bm.bind(null,f)))break}})})}function zf(a,b,c,d,e,f){b=new olympe.ui.X.JQ(b,olympe.j.yb(),c,d);let g=c=e.Vd();for(;c&&c.priority<d;)g=c,c=c.Jg();g?g.Yj(b):e.first=b;olympe.j.yb().Ve(f.bind(a,b.ja()));return b.ja()}
624
624
  function Af(a,b){olympe.j.Zb(a)&&(a=F(a));let c=null!==b?b.Vd():null;if(null!==c)if(c.ja()===a)null!==b.first&&(a=b.first.Jg(),b.first.next=null,b.first=a);else for(;null!==c.next;){b=c.Jg();if(b.ja()===a){a=c;null!==a.next&&(b=a.next.Jg(),a.next.next=null,a.next=b);break}c=b}}olympe.ui.X.ZB=class extends olympe.ui.wf{constructor(a){super(a)}};olympe.ui.X.qe=class extends olympe.ui.X.Event{constructor(a,b,c,d,e,f,g,k){super(g);this.key=a;this.char=b;this.ctrlKey=c;this.shiftKey=d;this.altKey=e;this.metaKey=f;this.C=k}sA(){return this.key}VW(){return this.char}GR(){return this.ctrlKey}IR(){return this.shiftKey}FR(){return this.altKey}HR(){return this.metaKey}preventDefault(){this.C instanceof KeyboardEvent&&this.C.preventDefault()}};olympe.ui.X.qe.C=8;olympe.ui.X.qe.T=46;olympe.ui.X.qe.Ha=9;olympe.ui.X.qe.da=10;olympe.ui.X.qe.D=13;
625
- olympe.ui.X.qe.R=27;olympe.ui.X.qe.cD=32;olympe.ui.X.qe.Pa=16;olympe.ui.X.qe.O=17;olympe.ui.X.qe.ma=91;olympe.ui.X.qe.za=93;olympe.ui.X.qe.Ka=38;olympe.ui.X.qe.W=40;olympe.ui.X.qe.$=37;olympe.ui.X.qe.ca=39;olympe.ui.X.qe.Oa=90;h=olympe.ui.X.qe.prototype;h.sA.K=olympe.j.J.D;h.VW.K=olympe.j.J.R;h.GR.K=olympe.j.J.T;h.IR.K=olympe.j.J.T;h.FR.K=olympe.j.J.T;h.HR.K=olympe.j.J.T;olympe.ui.X.sg=class{Hj(){}Gj(){}Ij(){}ej(){}D(){}Ak(){}T(){}fj(){}O(){}};h=olympe.ui.X.sg.prototype;h.Hj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Gj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Ij.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.ej.K=new olympe.j.J(()=>String,[]);h.Ak.K=new olympe.j.J(()=>String,[]);h.fj.K=new olympe.j.J(()=>String,[]);olympe.ui.X.Zn=class extends olympe.ui.X.ZB{constructor(a){super(a);this.W=this.da=this.C=this.$=this.R=this.ca=null}Uc(a){return Q(this,()=>{const b=olympe.j.ub(olympe.ui.X.qe);a((c,d,e=!1,f=!1,g=!1,k=!1,l={})=>{I(b,new olympe.ui.X.qe(olympe.j.Ba(c),olympe.j.ic(d),olympe.j.hc(e),olympe.j.hc(f),olympe.j.hc(g),olympe.j.hc(k),olympe.j.ac.now(),l))});return b})}Hj(){null===this.ca&&(this.ca=this.Uc(function(a){this.ra().registerKeyPressed(a)}.bind(this)));return this.ca}Gj(){null===this.$&&(this.$=this.Uc(function(a){this.ra().registerKeyDown(a)}.bind(this)));
625
+ olympe.ui.X.qe.R=27;olympe.ui.X.qe.dD=32;olympe.ui.X.qe.Pa=16;olympe.ui.X.qe.O=17;olympe.ui.X.qe.ma=91;olympe.ui.X.qe.za=93;olympe.ui.X.qe.Ka=38;olympe.ui.X.qe.W=40;olympe.ui.X.qe.$=37;olympe.ui.X.qe.ca=39;olympe.ui.X.qe.Oa=90;h=olympe.ui.X.qe.prototype;h.sA.K=olympe.j.J.D;h.VW.K=olympe.j.J.R;h.GR.K=olympe.j.J.T;h.IR.K=olympe.j.J.T;h.FR.K=olympe.j.J.T;h.HR.K=olympe.j.J.T;olympe.ui.X.sg=class{Hj(){}Gj(){}Ij(){}ej(){}D(){}Ak(){}T(){}fj(){}O(){}};h=olympe.ui.X.sg.prototype;h.Hj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Gj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Ij.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.ej.K=new olympe.j.J(()=>String,[]);h.Ak.K=new olympe.j.J(()=>String,[]);h.fj.K=new olympe.j.J(()=>String,[]);olympe.ui.X.Zn=class extends olympe.ui.X.ZB{constructor(a){super(a);this.W=this.da=this.C=this.$=this.R=this.ca=null}Uc(a){return Q(this,()=>{const b=olympe.j.ub(olympe.ui.X.qe);a((c,d,e=!1,f=!1,g=!1,k=!1,l={})=>{I(b,new olympe.ui.X.qe(olympe.j.Ba(c),olympe.j.ic(d),olympe.j.hc(e),olympe.j.hc(f),olympe.j.hc(g),olympe.j.hc(k),olympe.j.ac.now(),l))});return b})}Hj(){null===this.ca&&(this.ca=this.Uc(function(a){this.ra().registerKeyPressed(a)}.bind(this)));return this.ca}Gj(){null===this.$&&(this.$=this.Uc(function(a){this.ra().registerKeyDown(a)}.bind(this)));
626
626
  return this.$}Ij(){null===this.da&&(this.da=this.Uc(function(a){this.ra().registerKeyUp(a)}.bind(this)));return this.da}ej(a,b,c){null===this.R&&(this.R=new olympe.ui.X.Ae,yf(this,this.Hj(),this.R));return zf(this,a,b,c,this.R,this.D)}D(a){Af(a,this.R)}Ak(a,b,c){null===this.C&&(this.C=new olympe.ui.X.Ae,yf(this,this.Gj(),this.C));return zf(this,a,b,c,this.C,this.T)}T(a){Af(a,this.C)}fj(a,b,c){null===this.W&&(this.W=new olympe.ui.X.Ae,yf(this,this.Ij(),this.W));return zf(this,a,b,c,this.W,this.O)}O(a){Af(a,
627
627
  this.W)}};olympe.ui.X.Zn.Aa=[olympe.ui.X.sg];olympe.ui.X.Zn.prototype.Hj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);olympe.ui.X.Zn.prototype.Gj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);olympe.ui.X.Zn.prototype.Ij.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);olympe.ui.X.MouseEvent=class extends olympe.ui.X.Event{constructor(a,b,c,d,e,f,g,k,l){super(l);this.D=a;this.C=b;this.ctrlKey=c;this.shiftKey=d;this.altKey=e;this.metaKey=f;this.W=g;this.O=k}sk(){this.D instanceof olympe.j.ga||(this.D=new olympe.j.ga(this.D[0],this.D[1]));return this.D}wh(){this.C instanceof olympe.j.ga||(this.C=new olympe.j.ga(this.C[0],this.C[1]));return this.C}KR(){return this.ctrlKey}LR(){return this.shiftKey}JR(){return this.altKey}$y(){return this.metaKey}Gm(){return this.W}iX(){const a=
628
628
  [],b=this.O.valueOf(),c=[olympe.ui.X.MouseEvent.xy,olympe.ui.X.MouseEvent.C,olympe.ui.X.MouseEvent.D,olympe.ui.X.MouseEvent.O,olympe.ui.X.MouseEvent.R];for(const d of c)0!==(b&d.valueOf())&&a.push(d);return a}AO(a){return olympe.j.hc(0!==(this.O.valueOf()&a.valueOf()))}};olympe.ui.X.MouseEvent.xy=olympe.j.aa.ONE;olympe.ui.X.MouseEvent.C=olympe.j.aa.uL;olympe.ui.X.MouseEvent.D=olympe.j.Ba(4);olympe.ui.X.MouseEvent.O=olympe.j.Ba(8);olympe.ui.X.MouseEvent.R=olympe.j.Ba(16);h=olympe.ui.X.MouseEvent.prototype;
629
629
  h.sk.K=olympe.j.J.W;h.wh.K=olympe.j.J.W;h.KR.K=olympe.j.J.T;h.LR.K=olympe.j.J.T;h.JR.K=olympe.j.J.T;h.$y.K=olympe.j.J.T;h.Gm.K=olympe.j.J.D;h.iX.K=new olympe.j.J(()=>Array,[]);h.AO.K=olympe.j.J.T;olympe.ui.X.nc=class{Vc(){}Pj(){}en(){}qq(){}Bo(){}Do(){}qk(){}Co(){}Km(){}Lm(){}Mm(){}Ao(){}Im(){}Fo(){}kh(){}yk(){}El(){}cn(){}Qo(){}vq(){}gj(){}zk(){}Hi(){}Qj(){}Ro(){}wq(){}Wg(){}Ng(){}Ih(){}Ym(){}Zm(){}Pm(){}Qm(){}Om(){}Nm(){}Ck(){}No(){}Bk(){}dj(){}Xo(){}zq(){}fn(){}Mo(){}To(){}So(){}xq(){}dn(){}};h=olympe.ui.X.nc.prototype;h.Vc.K=new olympe.j.J(()=>String,[]);h.en.K=new olympe.j.J(()=>String,[]);h.Bo.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);
630
630
  h.Do.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.qk.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Co.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Km.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Lm.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Mm.K=new olympe.j.J(()=>olympe.ui.X.hk,[]);h.Im.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Fo.K=new olympe.j.J(()=>olympe.ui.X.Uk,[]);h.kh.K=new olympe.j.J(()=>String,[]);h.El.K=new olympe.j.J(()=>String,[]);
631
631
  h.Qo.K=new olympe.j.J(()=>String,[]);h.gj.K=new olympe.j.J(()=>String,[]);h.Hi.K=new olympe.j.J(()=>String,[]);h.Ro.K=new olympe.j.J(()=>String,[]);h.Wg.K=new olympe.j.J(()=>String,[]);h.Ih.K=olympe.j.J.T;h.Ym.K=olympe.j.J.T;h.Zm.K=olympe.j.J.T;h.Pm.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Qm.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Om.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Nm.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Ck.K=new olympe.j.J(()=>String,[]);
632
- h.Bk.K=new olympe.j.J(()=>String,[]);h.Xo.K=new olympe.j.J(()=>String,[]);h.fn.K=new olympe.j.J(()=>String,[]);h.To.K=new olympe.j.J(()=>String,[]);h.So.K=new olympe.j.J(()=>String,[]);function Bf(a){a.touches=new olympe.j.Map(olympe.ui.X.Gr);const b=c=>{for(c=c.Vd();null!==c&&!c.sC.run(c.Bm.bind(void 0,a.touches));)c=c.Jg()};a.sb=new olympe.ui.X.Ae;a.Oa=new olympe.ui.X.Ae;a.Ka=new olympe.ui.X.Ae;a.Ha=new olympe.ui.X.Ae;a.ra().un(c=>{c.forEach(d=>{a.touches.set(d.identifier.toString(),new olympe.ui.X.Gr(new olympe.j.ga(d.RO,d.SO),new olympe.j.ga(d.lM,d.mM),new olympe.j.ga(d.radiusX,d.radiusY),olympe.j.la(d.rotationAngle),olympe.j.la(d.force),d.identifier.toString()))});b(a.sb)});
633
- a.ra().tn(c=>{c.forEach(d=>{const e=a.touches.Fj(d.identifier);e&&(e.sk().oe(d.RO),e.sk().Fe(d.SO),e.wh().oe(d.lM),e.wh().Fe(d.mM),e.tC().oe(d.radiusX),e.tC().Fe(d.radiusY),K(e.XN(),d.rotationAngle),K(e.sN(),d.force))});b(a.Oa)});a.ra().rn(c=>{b(a.Ha);c.forEach(d=>a.touches.remove(d.identifier))});a.ra().sn(c=>{b(a.Ka);c.forEach(d=>a.touches.remove(d.identifier))})}
632
+ h.Bk.K=new olympe.j.J(()=>String,[]);h.Xo.K=new olympe.j.J(()=>String,[]);h.fn.K=new olympe.j.J(()=>String,[]);h.To.K=new olympe.j.J(()=>String,[]);h.So.K=new olympe.j.J(()=>String,[]);function Bf(a){a.touches=new olympe.j.Map(olympe.ui.X.Gr);const b=c=>{for(c=c.Vd();null!==c&&!c.tC.run(c.Bm.bind(void 0,a.touches));)c=c.Jg()};a.sb=new olympe.ui.X.Ae;a.Oa=new olympe.ui.X.Ae;a.Ka=new olympe.ui.X.Ae;a.Ha=new olympe.ui.X.Ae;a.ra().un(c=>{c.forEach(d=>{a.touches.set(d.identifier.toString(),new olympe.ui.X.Gr(new olympe.j.ga(d.RO,d.SO),new olympe.j.ga(d.lM,d.mM),new olympe.j.ga(d.radiusX,d.radiusY),olympe.j.la(d.rotationAngle),olympe.j.la(d.force),d.identifier.toString()))});b(a.sb)});
633
+ a.ra().tn(c=>{c.forEach(d=>{const e=a.touches.Fj(d.identifier);e&&(e.sk().oe(d.RO),e.sk().Fe(d.SO),e.wh().oe(d.lM),e.wh().Fe(d.mM),e.uC().oe(d.radiusX),e.uC().Fe(d.radiusY),K(e.XN(),d.rotationAngle),K(e.sN(),d.force))});b(a.Oa)});a.ra().rn(c=>{b(a.Ha);c.forEach(d=>a.touches.remove(d.identifier))});a.ra().sn(c=>{b(a.Ka);c.forEach(d=>a.touches.remove(d.identifier))})}
634
634
  function Cf(a,b){null===a.touches&&Bf(a);const c=olympe.j.ub(olympe.j.ac,olympe.j.ac.now());a=new olympe.ui.X.TouchEvent(a.touches,c);b(()=>I(c,olympe.j.ac.now()));return a}
635
- function Df(a){const b=olympe.j.Qa,c=olympe.j.ga,d=olympe.j.Za(olympe.ui.X.Uk);a.ma=d.wa();const e=(f,g)=>{for(f=f.Vd();null!==f&&!f.sC.run(f.Bm,g);)f=f.Jg()};a.Pa=new olympe.ui.X.Ae;a.za=new olympe.ui.X.Ae;a.kh(f=>{const g=f.sk();f=f.wh();const k=b(f.qa()),l=b(f.ta()),m=b(g.qa()),n=b(g.ta());let p,r,t,u;const v=H=>{const G=b(H.wh().qa());H=b(H.wh().ta());return new olympe.ui.X.Uk(new c(m,n),new c(k,l),new c(G.ya(k),H.ya(l)),olympe.j.ac.now())},w=olympe.ui.Na.hf(),x=H=>{d.update(v(H))},y=H=>{d.update(v(H));
635
+ function Df(a){const b=olympe.j.Qa,c=olympe.j.ga,d=olympe.j.Za(olympe.ui.X.Uk);a.ma=d.wa();const e=(f,g)=>{for(f=f.Vd();null!==f&&!f.tC.run(f.Bm,g);)f=f.Jg()};a.Pa=new olympe.ui.X.Ae;a.za=new olympe.ui.X.Ae;a.kh(f=>{const g=f.sk();f=f.wh();const k=b(f.qa()),l=b(f.ta()),m=b(g.qa()),n=b(g.ta());let p,r,t,u;const v=H=>{const G=b(H.wh().qa());H=b(H.wh().ta());return new olympe.ui.X.Uk(new c(m,n),new c(k,l),new c(G.ya(k),H.ya(l)),olympe.j.ac.now())},w=olympe.ui.Na.hf(),x=H=>{d.update(v(H))},y=H=>{d.update(v(H));
636
636
  p&&w.Ng(p);t&&w.Qj(t);u&&w.cn(u);r&&a.Ng(r);e(a.za,a.ma)},A=()=>{u&&w.cn(u);p&&w.Ng(p);r&&a.Ng(r);r=p=u=void 0};u=w.El(H=>{const G=b(H.wh().qa()).ya(k);H=b(H.wh().ta()).ya(l);if(5<Math.abs(G.valueOf())||5<Math.abs(H.valueOf()))A(),d.update(new olympe.ui.X.Uk(new c(m,n),new c(k,l),new c(olympe.j.aa.ZERO,olympe.j.aa.ZERO),olympe.j.ac.now())),e(a.Pa,a.ma),u=w.El(x),p=w.Wg(y),t=w.Hi(y),r=a.Wg(y)});p=w.Wg(A);r=a.Wg(A)});a.Ck(f=>{var g=f.Vd().wh();const k=olympe.j.Qa(g.qa()),l=olympe.j.Qa(g.ta()),m=new olympe.j.ga(k,
637
- l);g=new olympe.j.ga(g.qa().ya(k),g.ta().ya(l));olympe.j.kj(g.qa(),olympe.j.aa.ZERO);olympe.j.kj(g.ta(),olympe.j.aa.ZERO);const n=new olympe.ui.X.Uk(new olympe.j.ga(olympe.j.Qa(f.Vd().sk().qa()),olympe.j.Qa(f.Vd().sk().ta())),m,g,olympe.j.ub(olympe.j.ac));d.update(n);f=()=>{const t=olympe.j.Qa(n.fq());nc(t.qa());nc(t.ta());nc(n.RD());a.dj(p);a.Mo(r);e(a.za,n)};const p=a.Bk(f),r=a.fn(f);e(a.Pa,n)})}
637
+ l);g=new olympe.j.ga(g.qa().ya(k),g.ta().ya(l));olympe.j.kj(g.qa(),olympe.j.aa.ZERO);olympe.j.kj(g.ta(),olympe.j.aa.ZERO);const n=new olympe.ui.X.Uk(new olympe.j.ga(olympe.j.Qa(f.Vd().sk().qa()),olympe.j.Qa(f.Vd().sk().ta())),m,g,olympe.j.ub(olympe.j.ac));d.update(n);f=()=>{const t=olympe.j.Qa(n.fq());nc(t.qa());nc(t.ta());nc(n.SD());a.dj(p);a.Mo(r);e(a.za,n)};const p=a.Bk(f),r=a.fn(f);e(a.Pa,n)})}
638
638
  olympe.ui.X.Xv=class extends olympe.ui.X.ZB{constructor(a){super(a);this.Pa=this.za=this.ma=this.cf=this.vf=this.lg=this.ag=this.Ha=this.Ka=this.Oa=this.sb=this.touches=this.$=this.ld=this.da=this.gd=this.T=this.Pb=this.R=this.qc=this.W=this.kc=this.ca=this.Yc=this.O=this.Eb=this.D=this.xb=this.C=this.ob=null}Da(a){const b=olympe.j.hc,c=olympe.j.Ba;return Q(this,()=>{const d=olympe.j.Za(olympe.ui.X.MouseEvent);a(Vc(this,(e,f,g,k,l=!1,m=!1,n=!1,p=!1,r=0,t=0)=>{e=new olympe.ui.X.MouseEvent([e,f],[g,
639
639
  k],b(l),b(m),b(n),b(p),c(r),c(t),olympe.j.ac.now());d.update(e)}));return d.wa()})}Vc(a,b,c){null===this.ob&&(this.ob=this.Da(d=>{this.ra().gn(d)}));null===this.C&&(this.C=new olympe.ui.X.Ae,yf(this,this.ob,this.C));return zf(this,a,b,c,this.C,this.Pj)}Pj(a){this.C&&(Af(a,this.C),null===this.C.first&&(this.C=null,this.ob&&(this.ra().Tb.lc()||this.ra().Pl(),this.ob=null)))}Ao(){const a=olympe.j.Za(olympe.ui.X.MouseEvent);this.Vc(b=>{a.update(b)});return a.wa()}en(a,b,c){null===this.xb&&(this.xb=this.Da(d=>
640
640
  {this.ra().hn(d)}));null===this.D&&(this.D=new olympe.ui.X.Ae,yf(this,this.xb,this.D));return zf(this,a,b,c,this.D,this.qq)}qq(a){this.D&&(Af(a,this.D),null===this.D.first&&(this.D=null,this.xb&&(this.ra().Tb.lc()||this.ra().Ql(),this.xb=null)))}Im(){const a=olympe.j.Za(olympe.ui.X.MouseEvent);this.en(b=>{a.update(b)});return a.wa()}kh(a,b,c){null===this.Eb&&(this.Eb=this.Da(d=>{this.ra().jn(d)}));null===this.O&&(this.O=new olympe.ui.X.Ae,yf(this,this.Eb,this.O));return zf(this,a,b,c,this.O,this.yk)}yk(a){this.O&&
@@ -649,18 +649,18 @@ Bf(this);null===this.Oa&&(this.Oa=new olympe.ui.X.Ae);return zf(this,a,b,c,this.
649
649
  Cf(this,this.Ck.bind(this)));return this.ag}Om(){null===this.vf&&(this.vf=Cf(this,this.Bk.bind(this)));return this.vf}Nm(){null===this.cf&&(this.cf=Cf(this,this.fn.bind(this)));return this.cf}To(a,b,c){null===this.ma&&Q(this,()=>{Df(this)});null===this.Pa&&(this.Pa=new olympe.ui.X.Ae);return zf(this,a,b,c,this.Pa,this.xq)}xq(a){Af(a,this.Pa)}So(a,b,c){null===this.ma&&Q(this,()=>{Df(this)});null===this.za&&(this.za=new olympe.ui.X.Ae);return zf(this,a,b,c,this.za,this.dn)}dn(a){Af(a,this.za)}Fo(){null===
650
650
  this.ma&&Q(this,()=>{Df(this)});return this.ma}};olympe.ui.X.Xv.Aa=[olympe.ui.X.nc];h=olympe.ui.X.Xv.prototype;h.Ao.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Im.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Bo.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.qk.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Co.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Km.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Lm.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);
651
651
  h.Mm.K=new olympe.j.J(()=>olympe.ui.X.hk,[]);h.Do.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Ih.K=olympe.j.J.T;h.Ym.K=olympe.j.J.T;h.Zm.K=olympe.j.J.T;h.Pm.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Qm.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Om.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Nm.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Fo.K=new olympe.j.J(()=>olympe.ui.X.Uk,[]);olympe.ui.X.GestureEvent=class extends olympe.ui.X.Event{constructor(a,b,c,d,e,f,g,k,l,m,n){super(n);this.C=a;this.W=b;this.$=c;this.O=d;this.T=e;this.D=f;this.rotation=g;this.R=k;this.first=l;this.da=m}fq(){this.C instanceof olympe.j.ga||(this.C=new olympe.j.ga(this.C[0],this.C[1]));return this.C}yW(){return this.W}GW(){return this.$}fW(){return this.O}jq(){return this.T}xX(){this.D instanceof olympe.j.ga||(this.D=new olympe.j.ga(this.D[0],this.D[1]));return this.D}mX(){return this.rotation}nW(){return this.R}KX(){return this.first}MR(){return this.da}};
652
- h=olympe.ui.X.GestureEvent.prototype;h.fq.K=olympe.j.J.W;h.yW.K=olympe.j.J.D;h.GW.K=olympe.j.J.D;h.fW.K=olympe.j.J.D;h.jq.K=olympe.j.J.D;h.xX.K=olympe.j.J.W;h.mX.K=olympe.j.J.D;h.nW.K=olympe.j.J.D;h.KX.K=olympe.j.J.T;h.MR.K=olympe.j.J.T;olympe.ui.X.Gr=class{constructor(a,b,c,d,e,f){this.O=a;this.C=b;this.D=c;this.rotationAngle=d;this.force=e;this.identifier=f}sk(){return this.O}wh(){return this.C}tC(){return this.D}XN(){return this.rotationAngle}sN(){return this.force}QW(){return this.identifier}};h=olympe.ui.X.Gr.prototype;h.sk.K=olympe.j.J.W;h.wh.K=olympe.j.J.W;h.tC.K=olympe.j.J.W;h.XN.K=olympe.j.J.D;h.sN.K=olympe.j.J.D;h.QW.K=new olympe.j.J(()=>String,[]);olympe.ui.X.TouchEvent=class extends olympe.ui.X.Event{constructor(a,b){super(b);this.touches=a}D(){return this.touches}C(){return this.touches.Vd()}};olympe.ui.X.TouchEvent.prototype.D.K=new olympe.j.J(()=>olympe.j.Map,[]);olympe.ui.X.TouchEvent.prototype.C.K=new olympe.j.J(()=>olympe.ui.X.Gr,[]);olympe.ui.X.Uk=class extends olympe.ui.X.Event{constructor(a,b,c,d){super(d);this.O=a;this.D=c;this.C=b}sk(){return this.O}wh(){return this.C}fq(){return this.D}};olympe.ui.X.Uk.prototype.sk.K=olympe.j.J.W;olympe.ui.X.Uk.prototype.wh.K=olympe.j.J.W;olympe.ui.X.Uk.prototype.fq.K=olympe.j.J.W;olympe.ui.X.hk=class extends olympe.ui.X.MouseEvent{constructor(a,b,c,d,e,f,g,k,l,m,n){super(c,d,e,f,g,k,l,m,n);this.deltaX=a;this.deltaY=b}R(){return this.deltaX}T(){return this.deltaY}};olympe.ui.X.hk.prototype.R.K=olympe.j.J.D;olympe.ui.X.hk.prototype.T.K=olympe.j.J.D;olympe.ui.X.Md=class{sl(){}xl(){}tl(){}Rm(){}ul(){}Jm(){}wl(){}vl(){}Bq(){}rq(){}Hq(){}Aq(){}Cq(){}sq(){}ks(){}hs(){}Dq(){}tq(){}Eq(){}uq(){}Gq(){}yq(){}Fq(){}za(){}};h=olympe.ui.X.Md.prototype;h.sl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.xl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.tl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.Rm.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.ul.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);
652
+ h=olympe.ui.X.GestureEvent.prototype;h.fq.K=olympe.j.J.W;h.yW.K=olympe.j.J.D;h.GW.K=olympe.j.J.D;h.fW.K=olympe.j.J.D;h.jq.K=olympe.j.J.D;h.xX.K=olympe.j.J.W;h.mX.K=olympe.j.J.D;h.nW.K=olympe.j.J.D;h.KX.K=olympe.j.J.T;h.MR.K=olympe.j.J.T;olympe.ui.X.Gr=class{constructor(a,b,c,d,e,f){this.O=a;this.C=b;this.D=c;this.rotationAngle=d;this.force=e;this.identifier=f}sk(){return this.O}wh(){return this.C}uC(){return this.D}XN(){return this.rotationAngle}sN(){return this.force}QW(){return this.identifier}};h=olympe.ui.X.Gr.prototype;h.sk.K=olympe.j.J.W;h.wh.K=olympe.j.J.W;h.uC.K=olympe.j.J.W;h.XN.K=olympe.j.J.D;h.sN.K=olympe.j.J.D;h.QW.K=new olympe.j.J(()=>String,[]);olympe.ui.X.TouchEvent=class extends olympe.ui.X.Event{constructor(a,b){super(b);this.touches=a}D(){return this.touches}C(){return this.touches.Vd()}};olympe.ui.X.TouchEvent.prototype.D.K=new olympe.j.J(()=>olympe.j.Map,[]);olympe.ui.X.TouchEvent.prototype.C.K=new olympe.j.J(()=>olympe.ui.X.Gr,[]);olympe.ui.X.Uk=class extends olympe.ui.X.Event{constructor(a,b,c,d){super(d);this.O=a;this.D=c;this.C=b}sk(){return this.O}wh(){return this.C}fq(){return this.D}};olympe.ui.X.Uk.prototype.sk.K=olympe.j.J.W;olympe.ui.X.Uk.prototype.wh.K=olympe.j.J.W;olympe.ui.X.Uk.prototype.fq.K=olympe.j.J.W;olympe.ui.X.hk=class extends olympe.ui.X.MouseEvent{constructor(a,b,c,d,e,f,g,k,l,m,n){super(c,d,e,f,g,k,l,m,n);this.deltaX=a;this.deltaY=b}R(){return this.deltaX}T(){return this.deltaY}};olympe.ui.X.hk.prototype.R.K=olympe.j.J.D;olympe.ui.X.hk.prototype.T.K=olympe.j.J.D;olympe.ui.X.Md=class{sl(){}xl(){}tl(){}Rm(){}ul(){}Jm(){}wl(){}vl(){}Bq(){}rq(){}Hq(){}Aq(){}Cq(){}sq(){}ks(){}hs(){}Dq(){}tq(){}Eq(){}uq(){}Gq(){}yq(){}Fq(){}za(){}};h=olympe.ui.X.Md.prototype;h.sl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.xl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.tl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.Rm.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.ul.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);
653
653
  h.Jm.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.wl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.vl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.Bq.K=new olympe.j.J(()=>String,[]);h.Hq.K=new olympe.j.J(()=>String,[]);h.Cq.K=new olympe.j.J(()=>String,[]);h.ks.K=new olympe.j.J(()=>String,[]);h.Dq.K=new olympe.j.J(()=>String,[]);h.Eq.K=new olympe.j.J(()=>String,[]);h.Gq.K=new olympe.j.J(()=>String,[]);h.Fq.K=new olympe.j.J(()=>String,[]);olympe.ui.X.Hv=class extends olympe.ui.X.ZB{constructor(a){super(a);this.T=this.Ka=this.W=this.Oa=this.R=this.Ha=this.O=this.Pa=this.ca=this.ob=this.D=this.ma=this.$=this.sb=this.C=this.da=null}qb(a){return Q(this,()=>{const b=olympe.j.ub(olympe.ui.X.GestureEvent);a(Vc(this,(c,d,e,f,g,k,l,m,n,p,r,t)=>{I(b,new olympe.ui.X.GestureEvent([c,d],olympe.j.Ba(e),olympe.j.Ba(f),olympe.j.Ba(g),olympe.j.Ba(k),[l,m],olympe.j.Ba(n),olympe.j.Ba(p),olympe.j.hc(r),olympe.j.hc(t),olympe.j.ac.now()))}));return b})}sl(){null===
654
654
  this.da&&(this.da=this.qb(function(a){this.ra().registerHorizontalPan(a)}.bind(this)));return this.da}xl(){null===this.sb&&(this.sb=this.qb(function(a){this.ra().registerVerticalPan(a)}.bind(this)));return this.sb}tl(){null===this.ma&&(this.ma=this.qb(function(a){this.ra().registerHorizontalSwipe(a)}.bind(this)));return this.ma}Rm(){null===this.ob&&(this.ob=this.qb(function(a){this.ra().registerVerticalSwipe(a)}.bind(this)));return this.ob}ul(a){null===this.Pa&&(this.Pa=this.qb(function(b){this.ra().registerLongPress(b,
655
655
  a)}.bind(this)));return this.Pa}Jm(a){null===this.Ha&&(this.Ha=this.qb(function(b){this.ra().registerLongPressUp(b,a)}.bind(this)));return this.Ha}wl(){null===this.Oa&&(this.Oa=this.qb(function(a){this.ra().registerRotate(a)}.bind(this)));return this.Oa}vl(){null===this.Ka&&(this.Ka=this.qb(function(a){this.ra().registerPinch(a)}.bind(this)));return this.Ka}Bq(a,b,c){null===this.C&&(this.C=new olympe.ui.X.Ae,yf(this,this.sl(),this.C));return zf(this,a,b,c,this.C,this.rq)}rq(a){Af(a,this.C)}Hq(a,b,
656
656
  c){null===this.$&&(this.$=new olympe.ui.X.Ae,yf(this,this.xl(),this.$));return zf(this,a,b,c,this.$,this.Aq)}Aq(a){Af(a,this.$)}Cq(a,b,c){null===this.D&&(this.D=new olympe.ui.X.Ae,yf(this,this.tl(),this.D));return zf(this,a,b,c,this.D,this.sq)}sq(a){Af(a,this.D)}ks(a,b,c){null===this.ca&&(this.ca=new olympe.ui.X.Ae,yf(this,this.Rm(),this.ca));return zf(this,a,b,c,this.ca,this.hs)}hs(a){Af(a,this.ca)}Dq(a,b,c,d){null===this.O&&(this.O=new olympe.ui.X.Ae,yf(this,this.ul(b),this.O));return zf(this,a,
657
657
  c,d,this.O,this.tq)}tq(a){Af(a,this.O)}Eq(a,b,c,d){null===this.R&&(this.R=new olympe.ui.X.Ae,yf(this,this.Jm(b),this.R));return zf(this,a,c,d,this.R,this.uq)}uq(a){Af(a,this.R)}Gq(a,b,c){null===this.W&&(this.W=new olympe.ui.X.Ae,yf(this,this.wl(),this.W));return zf(this,a,b,c,this.W,this.yq)}yq(a){Af(a,this.W)}Fq(a,b,c){null===this.T&&(this.T=new olympe.ui.X.Ae,yf(this,this.vl(),this.T));return zf(this,a,b,c,this.T,this.za)}za(a){Af(a,this.T)}};olympe.ui.X.Hv.Aa=[olympe.ui.X.Md];h=olympe.ui.X.Hv.prototype;
658
- h.sl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.xl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.tl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.Rm.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.ul.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.Jm.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.wl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.vl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);olympe.ui.media={};olympe.ui.media.MediaStream=class extends olympe.ui.wf{Ms(a,b){this.ra().Ms(a,b?b.qa():void 0,b?b.ta():void 0)}};olympe.ui.media.Ir=class extends olympe.ui.media.MediaStream{constructor(a){super(a);this.status=olympe.j.Za(olympe.j.ia);this.ra().ma(b=>{b?this.status.update(olympe.j.ia.C):this.status.update(olympe.j.ia.pb)})}C(){return this.status.wa()}};olympe.ui.media.Ir.prototype.C.K=olympe.j.J.T;olympe.ui.media.oi=class extends olympe.ui.media.Ir{constructor(a,b){super(olympe.ui.Na.C(olympe.N.media.oi,olympe.host.ab.jb.BJ));olympe.j.Wa([a],c=>{if(c instanceof olympe.ui.media.bc.Am)this.ra().RE(c.ra());else{if(null===c||void 0===c)throw Error('LocalUserStream cannot start: Video device is null or undefined');throw Error('Cannot handle MediaDevice of unknown type '+c.bb());}});olympe.j.Wa([b],c=>{if(c instanceof olympe.ui.media.bc.op)this.ra().YA(c.ra());else{if(null===c||void 0===c)throw Error('LocalUserStream cannot start: Audio device is null or undefined');
659
- throw Error('Cannot handle MediaDevice of unknown type '+c.bb());}})}Ou(a){this.ra().Ou(a)}hv(a){this.ra().hv(a)}Ho(){this.ra().Ho()}};olympe.ui.media.DK=class extends olympe.ui.media.Ir{constructor(){super(olympe.ui.Na.C(olympe.N.media.DK,olympe.host.ab.jb.RS))}};olympe.ui.media.Op=class extends olympe.ui.wf{constructor(){super(olympe.ui.Na.C(olympe.N.media.Op,olympe.host.ab.jb.CJ))}Rw(a){this.ra().Rw(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.bc.Am(olympe.j.ic(d.id),olympe.j.ic(d.name)))});a(c)})}Qw(a){this.ra().Qw(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.bc.op(olympe.j.ic(d.id),olympe.j.ic(d.name)))});a(c)})}};olympe.ui.media.Rt=class extends olympe.ui.media.MediaStream{constructor(){super(olympe.ui.Na.C(olympe.N.media.Rt,olympe.host.ab.jb.DJ))}Hk(a){this.ra().Hk(a)}};olympe.ui.media.bc={};olympe.ui.media.bc.Np=class extends olympe.ui.wf{bb(){}};olympe.ui.media.bc.op=class extends olympe.ui.media.bc.Np{constructor(a,b){super(olympe.ui.Na.C(olympe.N.media.bc.op,olympe.host.ab.jb.AJ));this.name=b;this.id=a;this.ra().lp(a,this.name)}bb(){return this.name}};olympe.ui.media.bc.Am=class extends olympe.ui.media.bc.Np{constructor(a,b){super(olympe.ui.Na.C(olympe.N.media.bc.Am,olympe.host.ab.jb.EJ));this.name=b;this.id=a;this.ra().lp(a,b)}bb(){return this.name}toString(){return'VideoInputDevice [name: '+this.name+']'}};olympe.ui.media.bc.i_=class extends olympe.ui.media.bc.op{constructor(){super(olympe.ui.ha.Lp.qG,'Default microphone')}};olympe.ui.media.bc.j_=class extends olympe.ui.media.bc.Am{constructor(){super(olympe.ui.ha.Lp.rG,'Default camera')}};olympe.ui.media.bc.V_=class extends olympe.ui.media.bc.Am{constructor(){super(olympe.ui.ha.Lp.JG,'Facing camera')}};olympe.ui.media.bc.OZ=class extends olympe.ui.media.bc.Am{constructor(){super(olympe.ui.ha.Lp.CG,'Environment (back) camera')}};olympe.ui.F={};function Ef(a){null===a.sb&&(a.sb=Q(a,()=>olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb)),a.te().ns(()=>{a.sb.update(olympe.j.ia.C)}),a.te().ms(()=>{a.sb.update(olympe.j.ia.pb)}))}
658
+ h.sl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.xl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.tl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.Rm.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.ul.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.Jm.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.wl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.vl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);olympe.ui.media={};olympe.ui.media.MediaStream=class extends olympe.ui.wf{Ms(a,b){this.ra().Ms(a,b?b.qa():void 0,b?b.ta():void 0)}};olympe.ui.media.Ir=class extends olympe.ui.media.MediaStream{constructor(a){super(a);this.status=olympe.j.Za(olympe.j.ia);this.ra().ma(b=>{b?this.status.update(olympe.j.ia.C):this.status.update(olympe.j.ia.pb)})}C(){return this.status.wa()}};olympe.ui.media.Ir.prototype.C.K=olympe.j.J.T;olympe.ui.media.oi=class extends olympe.ui.media.Ir{constructor(a,b){super(olympe.ui.Na.C(olympe.N.media.oi,olympe.host.ab.jb.BJ));olympe.j.Wa([a],c=>{if(c instanceof olympe.ui.media.bc.Am)this.ra().SE(c.ra());else{if(null===c||void 0===c)throw Error('LocalUserStream cannot start: Video device is null or undefined');throw Error('Cannot handle MediaDevice of unknown type '+c.bb());}});olympe.j.Wa([b],c=>{if(c instanceof olympe.ui.media.bc.op)this.ra().YA(c.ra());else{if(null===c||void 0===c)throw Error('LocalUserStream cannot start: Audio device is null or undefined');
659
+ throw Error('Cannot handle MediaDevice of unknown type '+c.bb());}})}Ou(a){this.ra().Ou(a)}hv(a){this.ra().hv(a)}Ho(){this.ra().Ho()}};olympe.ui.media.DK=class extends olympe.ui.media.Ir{constructor(){super(olympe.ui.Na.C(olympe.N.media.DK,olympe.host.ab.jb.RS))}};olympe.ui.media.Op=class extends olympe.ui.wf{constructor(){super(olympe.ui.Na.C(olympe.N.media.Op,olympe.host.ab.jb.CJ))}Rw(a){this.ra().Rw(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.bc.Am(olympe.j.ic(d.id),olympe.j.ic(d.name)))});a(c)})}Qw(a){this.ra().Qw(b=>{const c=[];b.forEach(d=>{c.push(new olympe.ui.media.bc.op(olympe.j.ic(d.id),olympe.j.ic(d.name)))});a(c)})}};olympe.ui.media.Rt=class extends olympe.ui.media.MediaStream{constructor(){super(olympe.ui.Na.C(olympe.N.media.Rt,olympe.host.ab.jb.DJ))}Hk(a){this.ra().Hk(a)}};olympe.ui.media.bc={};olympe.ui.media.bc.Np=class extends olympe.ui.wf{bb(){}};olympe.ui.media.bc.op=class extends olympe.ui.media.bc.Np{constructor(a,b){super(olympe.ui.Na.C(olympe.N.media.bc.op,olympe.host.ab.jb.AJ));this.name=b;this.id=a;this.ra().lp(a,this.name)}bb(){return this.name}};olympe.ui.media.bc.Am=class extends olympe.ui.media.bc.Np{constructor(a,b){super(olympe.ui.Na.C(olympe.N.media.bc.Am,olympe.host.ab.jb.EJ));this.name=b;this.id=a;this.ra().lp(a,b)}bb(){return this.name}toString(){return'VideoInputDevice [name: '+this.name+']'}};olympe.ui.media.bc.i_=class extends olympe.ui.media.bc.op{constructor(){super(olympe.ui.ha.Lp.rG,'Default microphone')}};olympe.ui.media.bc.j_=class extends olympe.ui.media.bc.Am{constructor(){super(olympe.ui.ha.Lp.sG,'Default camera')}};olympe.ui.media.bc.V_=class extends olympe.ui.media.bc.Am{constructor(){super(olympe.ui.ha.Lp.KG,'Facing camera')}};olympe.ui.media.bc.OZ=class extends olympe.ui.media.bc.Am{constructor(){super(olympe.ui.ha.Lp.DG,'Environment (back) camera')}};olympe.ui.F={};function Ef(a){null===a.sb&&(a.sb=Q(a,()=>olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb)),a.te().ns(()=>{a.sb.update(olympe.j.ia.C)}),a.te().ms(()=>{a.sb.update(olympe.j.ia.pb)}))}
660
660
  olympe.ui.F.Element=class extends olympe.ui.wf{constructor(a){super(a);this.$=this.wg=this.zg=this.sb=this.hidden=null}te(){return this.ra()}Tm(){return olympe.ui.Na.Tm(this)}xh(){}$d(a){a&&(this.Ma(a.Zp()),this.Yg(a.bq(),olympe.ui.ha.Ah.Uf,olympe.ui.ha.df.Uf,a.aq(),a.$p()),this.ng(a.MN()))}Ma(a){this.te().Ma(olympe.j.cg(a,b=>b instanceof olympe.j.Color?b.ei():void 0));return this}ws(a){this.te().ws(a);return this}Yg(a,b,c,d,e){this.te().Yg(a,b,c,olympe.j.cg(d,f=>f.qa()),olympe.j.cg(d,f=>f.ta()),
661
661
  olympe.j.cg(e,f=>f.qa()),olympe.j.cg(e,f=>f.ta()));return this}us(a){this.te().us(a);return this}Lq(a){this.te().Lq(a);return this}kp(a){this.te().kp(a);return this}rs(a){this.te().rs(olympe.j.cg(a,b=>b.qa()),olympe.j.cg(a,b=>b.ta()));return this}ss(a){olympe.j.Wa([a],b=>{this.te().ss(b.qa(),b.ta())});return this}ng(a){this.te().ng(a);return this}na(){}rd(a){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Wc(!1)});K(this.hidden,a);this.te().rd(a);return this}Gs(a){this.te().Gs(a);return this}ib(a,
662
662
  b){this.te().ib(a,b)}es(){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Wc(!1)});return this.hidden}nu(){Ef(this);return this.sb.wa()}mj(a=!0){Ef(this);this.te().mj(a);return this}yn(){Ef(this);this.te().yn();return this}yh(a){this.te().yh(a);return this}Uu(a){this.te().Uu(a);return this}OR(a,b={}){if(olympe.ui.Na.$())return this;this.$||(this.$=new olympe.j.ee('tooltipContext'),this.$.onDestroy(()=>{this.$=null}));let c,d;const e=null!=(d=b.delay)?d:null!=(c=olympe.ui.F.Element.C.delay)?c:
663
- 500;this.$.run(()=>{let f=!1;const g=olympe.ui.Na.hf();let k=null;const l=p=>{const r=olympe.j.Qa(a);r&&0!==r.valueOf().length&&(p?(Xc('tooltipTimeout'),k=Wc(()=>{k=null;const t=Object.assign({},olympe.ui.F.Element.C,b);null!=t.position||(t.position=this.xh());g.cF(a,t);f=!0},e.valueOf(),'tooltipTimeout')):null!==k?(Xc(k),k=null):(g.lx(),f=!1))},m=this.gj(p=>{l(!0,p)}),n=this.Hi(p=>{l(!1,p)});this.$.onDestroy(()=>{null!==k&&(Xc(k),k=null);f&&(g.lx(),f=!1);this.zk(m);this.Qj(n)})});return this}NR(){this.$&&
663
+ 500;this.$.run(()=>{let f=!1;const g=olympe.ui.Na.hf();let k=null;const l=p=>{const r=olympe.j.Qa(a);r&&0!==r.valueOf().length&&(p?(Xc('tooltipTimeout'),k=Wc(()=>{k=null;const t=Object.assign({},olympe.ui.F.Element.C,b);null!=t.position||(t.position=this.xh());g.dF(a,t);f=!0},e.valueOf(),'tooltipTimeout')):null!==k?(Xc(k),k=null):(g.lx(),f=!1))},m=this.gj(p=>{l(!0,p)}),n=this.Hi(p=>{l(!1,p)});this.$.onDestroy(()=>{null!==k&&(Xc(k),k=null);f&&(g.lx(),f=!1);this.zk(m);this.Qj(n)})});return this}NR(){this.$&&
664
664
  this.$.destroy();this.$=null;return this}Da(){null===this.zg&&Q(this,()=>{this.zg=new olympe.ui.X.Xv(this.te())});return this.zg}Vc(a,b,c){return this.Da().Vc(a,b,c)}Pj(a){this.Da().Pj(a)}en(a,b,c){return this.Da().en(a,b,c)}qq(a){this.Da().qq(a)}Ao(){return this.Da().Ao()}Im(){return this.Da().Im()}Bo(){return this.Da().Bo()}Do(){return this.Da().Do()}qk(){return this.Da().qk()}Co(){return this.Da().Co()}Km(){return this.Da().Km()}Lm(){return this.Da().Lm()}Mm(){return this.Da().Mm()}El(a,b,c){return this.Da().El(a,
665
665
  b,c)}cn(a){this.Da().cn(a)}Qo(a,b,c){return this.Da().Qo(a,b,c)}vq(a){this.Da().vq(a)}gj(a,b,c){return this.Da().gj(a,b,c)}zk(a){this.Da().zk(a)}Hi(a,b,c){return this.Da().Hi(a,b,c)}Qj(a){this.Da().Qj(a)}Ro(a,b,c){return this.Da().Ro(a,b,c)}wq(a){this.Da().wq(a)}kh(a,b,c){return this.Da().kh(a,b,c)}yk(a){this.Da().yk(a)}Wg(a,b,c){return this.Da().Wg(a,b,c)}Ng(a){this.Da().Ng(a)}Ih(){return this.Da().Ih()}Ym(){return this.Da().Ym()}Zm(){return this.Da().Zm()}Pm(){return this.Da().Pm()}Qm(){return this.Da().Qm()}Om(){return this.Da().Om()}Nm(){return this.Da().Nm()}Ck(a,
666
666
  b,c){return this.Da().Ck(a,b,c)}No(a){this.Da().No(a)}Bk(a,b,c){return this.Da().Bk(a,b,c)}dj(a){this.Da().dj(a)}Xo(a,b,c){return this.Da().Xo(a,b,c)}zq(a){this.Da().zq(a)}fn(a,b,c){return this.Da().fn(a,b,c)}Mo(a){this.Da().Mo(a)}Fo(){return this.Da().Fo()}To(a,b,c){return this.Da().To(a,b,c)}So(a,b,c){return this.Da().So(a,b,c)}xq(a){this.Da().xq(a)}dn(a){this.Da().dn(a)}qb(){this.wg||Q(this,function(){this.wg=new olympe.ui.X.Hv(this.te())}.bind(this));return this.wg}sl(){return this.qb().sl()}xl(){return this.qb().xl()}tl(){return this.qb().tl()}Rm(){return this.qb().Rm()}ul(a){return this.qb().ul(a||
@@ -672,51 +672,51 @@ h.Lm.K=new olympe.j.J(()=>olympe.ui.X.MouseEvent,[]);h.Mm.K=new olympe.j.J(()=>o
672
672
  h.yk.K=new olympe.j.J(()=>{},[]);h.Wg.K=new olympe.j.J(()=>String,[]);h.Ng.K=new olympe.j.J(()=>{},[]);h.Ih.K=olympe.j.J.T;h.Ym.K=olympe.j.J.T;h.Zm.K=olympe.j.J.T;h.Pm.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Qm.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Om.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Nm.K=new olympe.j.J(()=>olympe.ui.X.TouchEvent,[]);h.Ck.K=new olympe.j.J(()=>String,[]);h.No.K=new olympe.j.J(()=>{},[]);h.Bk.K=new olympe.j.J(()=>String,[]);
673
673
  h.dj.K=new olympe.j.J(()=>{},[]);h.Xo.K=new olympe.j.J(()=>String,[]);h.zq.K=new olympe.j.J(()=>{},[]);h.fn.K=new olympe.j.J(()=>String,[]);h.Mo.K=new olympe.j.J(()=>{},[]);h.Fo.K=new olympe.j.J(()=>olympe.ui.X.Uk,[]);h.To.K=new olympe.j.J(()=>String,[]);h.So.K=new olympe.j.J(()=>String,[]);h.xq.K=new olympe.j.J(()=>{},[]);h.dn.K=new olympe.j.J(()=>{},[]);h.qb.K=new olympe.j.J(()=>olympe.ui.X.Hv,[]);h.sl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);
674
674
  h.xl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.tl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.Rm.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.ul.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.Jm.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.wl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.vl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.Bq.K=new olympe.j.J(()=>String,[]);h.rq.K=new olympe.j.J(()=>{},[]);h.Hq.K=new olympe.j.J(()=>String,[]);
675
- h.Aq.K=new olympe.j.J(()=>{},[]);h.Cq.K=new olympe.j.J(()=>String,[]);h.sq.K=new olympe.j.J(()=>{},[]);h.ks.K=new olympe.j.J(()=>String,[]);h.hs.K=new olympe.j.J(()=>{},[]);h.Dq.K=new olympe.j.J(()=>String,[]);h.tq.K=new olympe.j.J(()=>{},[]);h.Eq.K=new olympe.j.J(()=>String,[]);h.uq.K=new olympe.j.J(()=>{},[]);h.Gq.K=new olympe.j.J(()=>String,[]);h.yq.K=new olympe.j.J(()=>{},[]);h.Fq.K=new olympe.j.J(()=>String,[]);olympe.ui.F.We={};olympe.ui.F.We.ut=class{constructor(){}render(){}getType(){}};olympe.ui.F.We.gD=class{constructor(a,b,c,d,e){this.R=a;this.fontSize=b;this.O=c;this.D=d;this.C=e;this.paddingLeft=void 0}render(a,b){b=new olympe.ui.F.cb(b);b.Jb(a);this.R&&b.Ub(this.R);this.fontSize&&b.rb(this.fontSize);this.O&&b.Bb(this.O);this.D&&b.vb(this.D);this.C&&b.lb(this.C);this.paddingLeft&&b.Fc(this.paddingLeft);return b}getType(){return olympe.j.kb}};olympe.ui.F.We.gD.Aa=[olympe.ui.F.We.ut];olympe.ui.F.We.zR=class{constructor(a,b,c,d,e,f){this.R=a;this.align=b;this.fontSize=c;this.O=d;this.D=e;this.C=f}render(a,b){b=new olympe.ui.F.cb(b);b.Jb(a.Rd(this.R));this.align&&b.Ub(this.align);this.fontSize&&b.rb(this.fontSize);this.O&&b.Bb(this.O);this.D&&b.vb(this.D);this.C&&b.lb(this.C);return b}getType(){return olympe.dc.CloudObject}};olympe.ui.F.We.zR.Aa=[olympe.ui.F.We.ut];olympe.ui.F.We.ZS=class{constructor(a,b,c,d,e){this.align=a;this.fontSize=b;this.O=c;this.D=d;this.C=e}render(a,b){const c=new olympe.ui.F.cb(b);olympe.j.Wa([a.bb()],d=>{c.Jb(d)});this.align&&c.Ub(this.align);this.fontSize&&c.rb(this.fontSize);this.O&&c.Bb(this.O);this.D&&c.vb(this.D);this.C&&c.lb(this.C);return c}getType(){return olympe.dc.CloudObject}};olympe.ui.F.We.ZS.Aa=[olympe.ui.F.We.ut];olympe.ui.F.We.$S=class{constructor(a,b,c,d,e){this.align=a;this.fontSize=b;this.O=c;this.D=d;this.C=e}render(a,b){b=new olympe.ui.F.cb(b);b.Jb(null==a?void 0:a.ka().toString());this.align&&b.Ub(this.align);this.fontSize&&b.rb(this.fontSize);this.O&&b.Bb(this.O);this.D&&b.vb(this.D);this.C&&b.lb(this.C);return b}getType(){return olympe.dc.CloudObject}};olympe.ui.F.We.$S.Aa=[olympe.ui.F.We.ut];olympe.ui.F.We.hT=class extends olympe.ui.F.We.gD{constructor(a,b,c,d,e){super(a,b,c,d,e)}render(a,b){return olympe.ui.F.We.gD.prototype.render.call(this,a instanceof olympe.j.Proxy||a instanceof olympe.j.aa?a.valueOf():a,b)}getType(){return olympe.j.aa}};olympe.ui.F.We.hT.Aa=[olympe.ui.F.We.ut];olympe.ui.F.ea={};function S(a,b,c,d,e){const f=k=>{k=k?k.valueOf():'default';const l=b+'_'+k;e&&k&&!a.za[l]&&(a.za[l]=olympe.j.Eo().run(e,k));return a.za[l]||a.za['default']},g=olympe.j.ub(c);d&&d.Gh?(I(g,f()),jc(d,function(k){I(g,f(k))})):I(g,f(d));return g}olympe.ui.F.ea.vh=class{constructor(){this.za=Object.create(null)}Gm(){}WN(){}ru(){}jx(){}ix(){}ZD(){}ex(){}Sr(){}iA(){}Xw(){}rA(){}Tw(){}hf(){}Zw(){}pu(){}EA(){}OD(){}uA(){}mA(){}};olympe.ui.F.ea.vh.$='default';h=olympe.ui.F.ea.vh.prototype;
676
- h.Gm.K=new olympe.j.J(()=>olympe.ui.F.ea.ak,[]);h.WN.K=new olympe.j.J(()=>olympe.ui.F.ea.iw,[]);h.ru.K=new olympe.j.J(()=>olympe.ui.F.ea.Ph,[]);h.jx.K=new olympe.j.J(()=>olympe.ui.F.ea.kl,[]);h.ix.K=new olympe.j.J(()=>olympe.ui.F.ea.jl,[]);h.ZD.K=new olympe.j.J(()=>olympe.ui.F.ea.Ot,[]);h.ex.K=new olympe.j.J(()=>olympe.ui.F.ea.yj,[]);h.Sr.K=new olympe.j.J(()=>olympe.ui.F.ea.Jk,[]);h.iA.K=new olympe.j.J(()=>olympe.ui.F.ea.qp,[]);h.Xw.K=new olympe.j.J(()=>olympe.ui.F.ea.ji,[]);
677
- h.rA.K=new olympe.j.J(()=>olympe.ui.F.ea.pm,[]);h.Tw.K=new olympe.j.J(()=>olympe.ui.F.ea.gi,[]);h.hf.K=new olympe.j.J(()=>olympe.ui.F.ea.ar,[]);h.Zw.K=new olympe.j.J(()=>olympe.ui.F.ea.vj,[]);h.pu.K=new olympe.j.J(()=>olympe.ui.F.ea.Qk,[]);h.EA.K=new olympe.j.J(()=>olympe.ui.F.ea.Tp,[]);h.OD.K=new olympe.j.J(()=>olympe.ui.F.ea.$s,[]);h.uA.K=new olympe.j.J(()=>olympe.ui.F.ea.sm,[]);h.mA.K=new olympe.j.J(()=>olympe.ui.F.ea.nf,[]);olympe.ui.F.ea.ar=class{constructor(){this.backgroundColor=P(Dc());this.uV=olympe.j.Ab('');this.sM=olympe.j.dd();this.rM=olympe.j.dd(0,0);this.opacity=olympe.j.la(1)}Zp(){return this.backgroundColor}Ma(a){K(this.backgroundColor,a)}bq(){return this.uV}aq(){return this.sM}ss(a){K(this.sM,a)}$p(){return this.rM}rs(a){K(this.rM,a)}MN(){return this.opacity}ng(a){K(this.opacity,a)}};h=olympe.ui.F.ea.ar.prototype;h.Zp.K=new olympe.j.J(()=>olympe.j.Color,[]);h.bq.K=olympe.j.J.R;h.aq.K=olympe.j.J.W;
675
+ h.Aq.K=new olympe.j.J(()=>{},[]);h.Cq.K=new olympe.j.J(()=>String,[]);h.sq.K=new olympe.j.J(()=>{},[]);h.ks.K=new olympe.j.J(()=>String,[]);h.hs.K=new olympe.j.J(()=>{},[]);h.Dq.K=new olympe.j.J(()=>String,[]);h.tq.K=new olympe.j.J(()=>{},[]);h.Eq.K=new olympe.j.J(()=>String,[]);h.uq.K=new olympe.j.J(()=>{},[]);h.Gq.K=new olympe.j.J(()=>String,[]);h.yq.K=new olympe.j.J(()=>{},[]);h.Fq.K=new olympe.j.J(()=>String,[]);olympe.ui.F.We={};olympe.ui.F.We.ut=class{constructor(){}render(){}getType(){}};olympe.ui.F.We.hD=class{constructor(a,b,c,d,e){this.R=a;this.fontSize=b;this.O=c;this.D=d;this.C=e;this.paddingLeft=void 0}render(a,b){b=new olympe.ui.F.cb(b);b.Jb(a);this.R&&b.Ub(this.R);this.fontSize&&b.rb(this.fontSize);this.O&&b.Bb(this.O);this.D&&b.wb(this.D);this.C&&b.lb(this.C);this.paddingLeft&&b.Fc(this.paddingLeft);return b}getType(){return olympe.j.kb}};olympe.ui.F.We.hD.Aa=[olympe.ui.F.We.ut];olympe.ui.F.We.zR=class{constructor(a,b,c,d,e,f){this.R=a;this.align=b;this.fontSize=c;this.O=d;this.D=e;this.C=f}render(a,b){b=new olympe.ui.F.cb(b);b.Jb(a.Rd(this.R));this.align&&b.Ub(this.align);this.fontSize&&b.rb(this.fontSize);this.O&&b.Bb(this.O);this.D&&b.wb(this.D);this.C&&b.lb(this.C);return b}getType(){return olympe.dc.CloudObject}};olympe.ui.F.We.zR.Aa=[olympe.ui.F.We.ut];olympe.ui.F.We.ZS=class{constructor(a,b,c,d,e){this.align=a;this.fontSize=b;this.O=c;this.D=d;this.C=e}render(a,b){const c=new olympe.ui.F.cb(b);olympe.j.Wa([a.bb()],d=>{c.Jb(d)});this.align&&c.Ub(this.align);this.fontSize&&c.rb(this.fontSize);this.O&&c.Bb(this.O);this.D&&c.wb(this.D);this.C&&c.lb(this.C);return c}getType(){return olympe.dc.CloudObject}};olympe.ui.F.We.ZS.Aa=[olympe.ui.F.We.ut];olympe.ui.F.We.$S=class{constructor(a,b,c,d,e){this.align=a;this.fontSize=b;this.O=c;this.D=d;this.C=e}render(a,b){b=new olympe.ui.F.cb(b);b.Jb(null==a?void 0:a.ka().toString());this.align&&b.Ub(this.align);this.fontSize&&b.rb(this.fontSize);this.O&&b.Bb(this.O);this.D&&b.wb(this.D);this.C&&b.lb(this.C);return b}getType(){return olympe.dc.CloudObject}};olympe.ui.F.We.$S.Aa=[olympe.ui.F.We.ut];olympe.ui.F.We.hT=class extends olympe.ui.F.We.hD{constructor(a,b,c,d,e){super(a,b,c,d,e)}render(a,b){return olympe.ui.F.We.hD.prototype.render.call(this,a instanceof olympe.j.Proxy||a instanceof olympe.j.aa?a.valueOf():a,b)}getType(){return olympe.j.aa}};olympe.ui.F.We.hT.Aa=[olympe.ui.F.We.ut];olympe.ui.F.ea={};function S(a,b,c,d,e){const f=k=>{k=k?k.valueOf():'default';const l=b+'_'+k;e&&k&&!a.za[l]&&(a.za[l]=olympe.j.Eo().run(e,k));return a.za[l]||a.za['default']},g=olympe.j.ub(c);d&&d.Gh?(I(g,f()),jc(d,function(k){I(g,f(k))})):I(g,f(d));return g}olympe.ui.F.ea.vh=class{constructor(){this.za=Object.create(null)}Gm(){}WN(){}ru(){}jx(){}ix(){}$D(){}ex(){}Sr(){}iA(){}Xw(){}rA(){}Tw(){}hf(){}Zw(){}pu(){}EA(){}PD(){}uA(){}mA(){}};olympe.ui.F.ea.vh.$='default';h=olympe.ui.F.ea.vh.prototype;
676
+ h.Gm.K=new olympe.j.J(()=>olympe.ui.F.ea.ak,[]);h.WN.K=new olympe.j.J(()=>olympe.ui.F.ea.iw,[]);h.ru.K=new olympe.j.J(()=>olympe.ui.F.ea.Ph,[]);h.jx.K=new olympe.j.J(()=>olympe.ui.F.ea.kl,[]);h.ix.K=new olympe.j.J(()=>olympe.ui.F.ea.jl,[]);h.$D.K=new olympe.j.J(()=>olympe.ui.F.ea.Ot,[]);h.ex.K=new olympe.j.J(()=>olympe.ui.F.ea.yj,[]);h.Sr.K=new olympe.j.J(()=>olympe.ui.F.ea.Jk,[]);h.iA.K=new olympe.j.J(()=>olympe.ui.F.ea.qp,[]);h.Xw.K=new olympe.j.J(()=>olympe.ui.F.ea.ji,[]);
677
+ h.rA.K=new olympe.j.J(()=>olympe.ui.F.ea.pm,[]);h.Tw.K=new olympe.j.J(()=>olympe.ui.F.ea.gi,[]);h.hf.K=new olympe.j.J(()=>olympe.ui.F.ea.ar,[]);h.Zw.K=new olympe.j.J(()=>olympe.ui.F.ea.vj,[]);h.pu.K=new olympe.j.J(()=>olympe.ui.F.ea.Qk,[]);h.EA.K=new olympe.j.J(()=>olympe.ui.F.ea.Tp,[]);h.PD.K=new olympe.j.J(()=>olympe.ui.F.ea.$s,[]);h.uA.K=new olympe.j.J(()=>olympe.ui.F.ea.sm,[]);h.mA.K=new olympe.j.J(()=>olympe.ui.F.ea.nf,[]);olympe.ui.F.ea.ar=class{constructor(){this.backgroundColor=P(Dc());this.uV=olympe.j.Ab('');this.sM=olympe.j.dd();this.rM=olympe.j.dd(0,0);this.opacity=olympe.j.la(1)}Zp(){return this.backgroundColor}Ma(a){K(this.backgroundColor,a)}bq(){return this.uV}aq(){return this.sM}ss(a){K(this.sM,a)}$p(){return this.rM}rs(a){K(this.rM,a)}MN(){return this.opacity}ng(a){K(this.opacity,a)}};h=olympe.ui.F.ea.ar.prototype;h.Zp.K=new olympe.j.J(()=>olympe.j.Color,[]);h.bq.K=olympe.j.J.R;h.aq.K=olympe.j.J.W;
678
678
  h.$p.K=olympe.j.J.W;h.MN.K=olympe.j.J.D;olympe.ui.F.ea.wr=class extends olympe.ui.F.ea.ar{constructor(){super()}};olympe.ui.F.ea.wr.Dc='rootElement';olympe.ui.F.ea.ed=class extends olympe.ui.F.ea.ar{constructor(){super();this.za=olympe.j.dd(200,40);this.borderWidth=olympe.j.la(0);this.borderColor=P(Dc());this.ma=olympe.j.la(0);this.Pb=olympe.j.dd(0,0);this.kc=olympe.j.la(0);this.ld=olympe.j.la(0);this.Pa=P(Dc());this.qc=olympe.j.Wc(!1)}na(){return this.za}Gb(a){K(this.za,a)}zi(){return this.borderWidth}ad(a){K(this.borderWidth,a)}pl(){return this.borderColor}nd(a){K(this.borderColor,a)}cq(){return this.ma}Wb(a){K(this.ma,a)}Yr(){return this.Pb}Zr(){return this.kc}$r(){return this.ld}Wr(){return this.Pa}Xr(){return this.qc}$g(a,
679
679
  b,c,d,e){K(this.Pb,a);K(this.kc,b);K(this.ld,c);K(this.Pa,d);K(this.qc,e)}};h=olympe.ui.F.ea.ed.prototype;h.Gb.Jr=!0;h.ad.Jr=!0;h.nd.Jr=!0;h.na.K=olympe.j.J.W;h.zi.K=olympe.j.J.D;h.pl.K=new olympe.j.J(()=>olympe.j.Color,[]);h.cq.K=olympe.j.J.D;h.Yr.K=olympe.j.J.W;h.Zr.K=olympe.j.J.D;h.$r.K=olympe.j.J.D;h.Wr.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Xr.K=olympe.j.J.T;olympe.ui.F.ea.ak=class extends olympe.ui.F.ea.ed{constructor(){super();this.Ka=P(O());this.C=P(O());this.sb=P(O());this.Oa=P(N());this.O=P(N());this.ca=P(N());this.R=P(N());this.D=P(N());this.fontSize=olympe.j.la(14);this.$=olympe.j.la(500);this.W=olympe.j.Ab('');this.da=olympe.j.ub(String,olympe.ui.ha.Db.Sb);this.Ha=olympe.j.ub(String,olympe.ui.ha.rc.Sc);this.Nf=olympe.j.Wc(!1);this.T=olympe.j.la(0)}SN(){return this.Ka}Zj(a){K(this.Ka,a)}kN(){return this.C}NW(){return this.sb}TN(){return this.Oa}lN(){return this.O}MH(){return this.ca}lb(a){K(this.ca,
680
- a)}UN(){return this.R}mN(){return this.D}LH(){return this.fontSize}rb(a){K(this.fontSize,a)}Bi(){return this.$}Bb(a){K(this.$,a)}vb(a){K(this.W,a)}Ai(){return this.W}NH(){return this.da}Ub(a){K(this.da,a)}OH(){return this.Ha}Xb(a){K(this.Ha,a)}KH(){return this.Nf}OM(){return this.T}Yd(a,b){K(this.Nf,a);K(this.T,b)}};olympe.ui.F.ea.ak.Dc='button';olympe.ui.F.ea.ak.C='selected';olympe.ui.F.ea.ak.D='warning';h=olympe.ui.F.ea.ak.prototype;h.SN.K=new olympe.j.J(()=>olympe.j.Color,[]);
680
+ a)}UN(){return this.R}mN(){return this.D}LH(){return this.fontSize}rb(a){K(this.fontSize,a)}Bi(){return this.$}Bb(a){K(this.$,a)}wb(a){K(this.W,a)}Ai(){return this.W}NH(){return this.da}Ub(a){K(this.da,a)}OH(){return this.Ha}Xb(a){K(this.Ha,a)}KH(){return this.Nf}OM(){return this.T}Yd(a,b){K(this.Nf,a);K(this.T,b)}};olympe.ui.F.ea.ak.Dc='button';olympe.ui.F.ea.ak.C='selected';olympe.ui.F.ea.ak.D='warning';h=olympe.ui.F.ea.ak.prototype;h.SN.K=new olympe.j.J(()=>olympe.j.Color,[]);
681
681
  h.kN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.NW.K=new olympe.j.J(()=>olympe.j.Color,[]);h.TN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.lN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.MH.K=new olympe.j.J(()=>olympe.j.Color,[]);h.UN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.mN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.LH.K=olympe.j.J.D;h.Bi.K=olympe.j.J.D;h.Ai.K=olympe.j.J.R;h.NH.K=new olympe.j.J(()=>String,[]);h.OH.K=new olympe.j.J(()=>String,[]);h.KH.K=olympe.j.J.T;h.OM.K=olympe.j.J.D;olympe.ui.F.ea.iw=class extends olympe.ui.F.ea.ar{constructor(){super()}};olympe.ui.F.ea.iw.Dc='rectangle';olympe.ui.F.ea.gi=class extends olympe.ui.F.ea.ed{constructor(){super();this.T=olympe.j.ub(olympe.ui.F.ea.ed,new olympe.ui.F.ea.ed);this.O=olympe.j.ub(olympe.ui.F.ea.ed,new olympe.ui.F.ea.ed);this.W=olympe.j.ub(olympe.ui.F.ea.ed,new olympe.ui.F.ea.ed);this.R=olympe.j.ub(olympe.ui.F.ea.ed,new olympe.ui.F.ea.ed);this.D=olympe.j.ub(olympe.ui.F.ea.ed,new olympe.ui.F.ea.ed);this.C=olympe.j.la(200)}tf(){return this.T}Kg(){return this.O}uf(){return this.W}sf(){return this.R}oA(){return this.D}hA(){return this.C}};
682
682
  olympe.ui.F.ea.gi.C='selected';olympe.ui.F.ea.gi.D='warning';olympe.ui.F.ea.gi.Dc='checkbox';h=olympe.ui.F.ea.gi.prototype;h.tf.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);h.Kg.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);h.uf.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);h.sf.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);h.oA.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);h.hA.K=olympe.j.J.D;function Ff(a){K(a.W,'dropdown-selectedvalue')}function Gf(a){K(a.T,'dropdown-mouseoveritem')}
683
683
  olympe.ui.F.ea.ji=class extends olympe.ui.F.ea.ed{constructor(){super();this.W=olympe.j.Ab('');this.O=olympe.j.Ab('');this.T=olympe.j.Ab('');this.R=olympe.j.Ab('');this.C=olympe.j.dd();this.$=olympe.j.dd(0,0);this.da=olympe.j.dd(0,0);this.paddingTop=olympe.j.la(0);this.paddingBottom=olympe.j.la(0);this.paddingLeft=olympe.j.la(0);this.paddingRight=olympe.j.la(0);this.ca=olympe.j.la(0);this.D=olympe.j.ub(olympe.ui.F.ea.ed,new olympe.ui.F.ea.ed)}$N(){return this.W}FN(){return this.O}KN(){return this.T}az(a){K(this.R,
684
684
  a)}LM(){return this.C}KM(){return this.$}GN(){return this.da}td(a){K(this.paddingTop,a)}SH(){return this.paddingTop}sd(a){K(this.paddingBottom,a)}PH(){return this.paddingBottom}Fc(a){K(this.paddingLeft,a)}QH(){return this.paddingLeft}Kc(a){K(this.paddingRight,a)}RH(){return this.paddingRight}aO(){return this.ca}HN(){return this.D}};olympe.ui.F.ea.ji.Dc='dropdown';olympe.ui.F.ea.ji.O='dropdown-selectedvalue';olympe.ui.F.ea.ji.C='dropdown-item';olympe.ui.F.ea.ji.D='dropdown-mouseoveritem';h=olympe.ui.F.ea.ji.prototype;
685
685
  h.$N.K=olympe.j.J.R;h.FN.K=olympe.j.J.R;h.KN.K=olympe.j.J.R;h.az.K=olympe.j.J.R;h.LM.K=olympe.j.J.W;h.KM.K=olympe.j.J.W;h.GN.K=olympe.j.J.W;h.SH.K=olympe.j.J.D;h.PH.K=olympe.j.J.D;h.QH.K=olympe.j.J.D;h.RH.K=olympe.j.J.D;h.aO.K=olympe.j.J.D;h.HN.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);function Hf(a){K(a.T,olympe.j.la(100))}olympe.ui.F.ea.vj=class extends olympe.ui.F.ea.ed{constructor(){super();this.W=olympe.j.la(30);this.T=olympe.j.la(100);this.O=P(Dc());this.R=olympe.j.Ab('grid-cell');this.C=olympe.j.Ab('grid-cell');this.D=olympe.j.Ab('grid-selected-cell')}JN(){return this.W}Vj(a){K(this.W,olympe.j.la(a))}fN(){return this.T}oN(){return this.O}tN(){return this.R}XM(){return this.C}ZN(){return this.D}};olympe.ui.F.ea.vj.C='grid-cell';olympe.ui.F.ea.vj.D='grid-selected-cell';
686
686
  olympe.ui.F.ea.vj.Dc='grid';h=olympe.ui.F.ea.vj.prototype;h.JN.K=olympe.j.J.D;h.fN.K=olympe.j.J.D;h.oN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.tN.K=olympe.j.J.R;h.XM.K=olympe.j.J.R;h.ZN.K=olympe.j.J.R;olympe.ui.F.ea.Sy=class extends olympe.ui.F.ea.ed{constructor(){super();this.C=olympe.j.qd(0,0,0,.8);this.animation=olympe.j.ub(olympe.ui.F.zm,null);this.Yc=olympe.j.Wc(!1);this.Ha=olympe.j.Wc(!1);this.Nf=olympe.j.Wc(!1);this.Ne=olympe.j.Wc(!1)}VH(){return this.C}Tr(){return this.animation}TH(){return this.Yc}UH(){return this.Ha}cz(){return this.Nf}Yd(a){K(this.Nf,a)}bz(){return this.Ne}Ed(a){K(this.Ne,a)}};olympe.ui.F.ea.Sy.Dc='FloatingElement';h=olympe.ui.F.ea.Sy.prototype;
687
- h.VH.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Tr.K=new olympe.j.J(()=>olympe.ui.F.zm,[]);h.TH.K=olympe.j.J.T;h.UH.K=olympe.j.J.T;h.cz.K=olympe.j.J.T;h.bz.K=olympe.j.J.T;olympe.ui.F.ea.Ot=class extends olympe.ui.F.ea.Sy{constructor(){super();this.D=olympe.j.Ab('')}IN(){return this.D}};olympe.ui.F.ea.Ot.Dc='toolTip';olympe.ui.F.ea.Ot.prototype.IN.K=olympe.j.J.R;olympe.ui.F.ea.yj=class extends olympe.ui.F.ea.Sy{constructor(){super();var a=new olympe.ui.F.rf.QG;K(this.animation,a);K(this.Ha,!0)}};olympe.ui.F.ea.yj.Dc='PopupPanel';olympe.ui.F.ea.Qk=class extends olympe.ui.F.ea.yj{constructor(){super();this.$=olympe.j.Ab('');this.Ka=olympe.j.Ab('');this.W=olympe.j.Ab('');this.ca=P(Dc());this.da=P(Dc());this.sb=P(Dc());this.Eb=olympe.j.la(2);this.xb=olympe.j.la(2);this.R=olympe.j.la(2);this.T=olympe.j.la(2);this.ob=olympe.j.la(2);this.gd=olympe.j.la(40);this.O=olympe.j.Ab('');this.Oa=olympe.j.la(20);this.D=olympe.j.la(10)}wu(){return this.$}su(){return this.Ka}UM(){return this.W}uN(){return this.ca}CN(){return this.da}vN(){return this.sb}RW(){return this.ob}BN(){return this.Eb}yN(){return this.xb}zN(){return this.R}AN(){return this.T}wN(){return this.O}tu(){return this.Oa}Df(a){K(this.Oa,
687
+ h.VH.K=new olympe.j.J(()=>olympe.j.Color,[]);h.Tr.K=new olympe.j.J(()=>olympe.ui.F.zm,[]);h.TH.K=olympe.j.J.T;h.UH.K=olympe.j.J.T;h.cz.K=olympe.j.J.T;h.bz.K=olympe.j.J.T;olympe.ui.F.ea.Ot=class extends olympe.ui.F.ea.Sy{constructor(){super();this.D=olympe.j.Ab('')}IN(){return this.D}};olympe.ui.F.ea.Ot.Dc='toolTip';olympe.ui.F.ea.Ot.prototype.IN.K=olympe.j.J.R;olympe.ui.F.ea.yj=class extends olympe.ui.F.ea.Sy{constructor(){super();var a=new olympe.ui.F.rf.SG;K(this.animation,a);K(this.Ha,!0)}};olympe.ui.F.ea.yj.Dc='PopupPanel';olympe.ui.F.ea.Qk=class extends olympe.ui.F.ea.yj{constructor(){super();this.$=olympe.j.Ab('');this.Ka=olympe.j.Ab('');this.W=olympe.j.Ab('');this.ca=P(Dc());this.da=P(Dc());this.sb=P(Dc());this.Eb=olympe.j.la(2);this.xb=olympe.j.la(2);this.R=olympe.j.la(2);this.T=olympe.j.la(2);this.ob=olympe.j.la(2);this.gd=olympe.j.la(40);this.O=olympe.j.Ab('');this.Oa=olympe.j.la(20);this.D=olympe.j.la(10)}wu(){return this.$}su(){return this.Ka}UM(){return this.W}uN(){return this.ca}CN(){return this.da}vN(){return this.sb}RW(){return this.ob}BN(){return this.Eb}yN(){return this.xb}zN(){return this.R}AN(){return this.T}wN(){return this.O}tu(){return this.Oa}Df(a){K(this.Oa,
688
688
  a)}vu(){return this.D}xN(){return this.gd}cz(){return this.Nf}Yd(a){K(this.Nf,a)}bz(){return this.Ne}Ed(a){K(this.Ne,a)}};olympe.ui.F.ea.Qk.Dc='inputpopup';h=olympe.ui.F.ea.Qk.prototype;h.wu.K=olympe.j.J.R;h.su.K=olympe.j.J.R;h.UM.K=olympe.j.J.R;h.uN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.CN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.vN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.RW.K=olympe.j.J.D;h.BN.K=olympe.j.J.D;h.yN.K=olympe.j.J.D;h.zN.K=olympe.j.J.D;h.AN.K=olympe.j.J.D;h.wN.K=olympe.j.J.R;
689
689
  h.tu.K=olympe.j.J.D;h.vu.K=olympe.j.J.D;h.xN.K=olympe.j.J.D;h.cz.K=olympe.j.J.T;h.bz.K=olympe.j.J.T;olympe.ui.F.ea.qp=class extends olympe.ui.F.ea.yj{constructor(){super();this.T=P(olympe.j.Color.red());this.W=P(N());this.$=olympe.j.la(1);this.R=olympe.j.la(10);this.D=olympe.j.la(10);this.O=olympe.j.la(5)}PM(){return this.T}QM(){return this.W}RM(){return this.$}NM(){return this.R}JM(){return this.D}MM(){return this.O}};olympe.ui.F.ea.qp.Dc='bubble';h=olympe.ui.F.ea.qp.prototype;h.PM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.QM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.RM.K=olympe.j.J.D;h.NM.K=olympe.j.J.D;
690
- h.JM.K=olympe.j.J.D;h.MM.K=olympe.j.J.D;olympe.ui.F.ea.pm=class extends olympe.ui.F.ea.ed{constructor(){super();this.C=this.O=this.D=null}T(){return this.D}W(){return this.O}R(){return this.C}};olympe.ui.F.ea.pm.Dc='IntervalSlider';olympe.ui.F.ea.pm.prototype.T.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);olympe.ui.F.ea.pm.prototype.W.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);olympe.ui.F.ea.pm.prototype.R.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);olympe.ui.F.ea.nf=class extends olympe.ui.F.ea.ed{constructor(){super();this.T=olympe.j.Ab(olympe.ui.F.ea.nf.C.Oy);this.C=olympe.j.Ab(olympe.ui.F.ea.nf.C.aw);this.W=olympe.j.Ab(olympe.ui.F.ea.nf.C.aD)}D(){return this.T}O(){return this.C}R(){return this.W}};olympe.ui.F.ea.nf.Dc='ForEachTheme';olympe.ui.F.ea.nf.D={GG:'EVEN_ODD'};olympe.ui.F.ea.nf.C={Oy:'for_each_item_even',aw:'for_each_item_odd',aD:'for_each_item_selected'};olympe.ui.F.ea.nf.prototype.D.K=olympe.j.J.R;
690
+ h.JM.K=olympe.j.J.D;h.MM.K=olympe.j.J.D;olympe.ui.F.ea.pm=class extends olympe.ui.F.ea.ed{constructor(){super();this.C=this.O=this.D=null}T(){return this.D}W(){return this.O}R(){return this.C}};olympe.ui.F.ea.pm.Dc='IntervalSlider';olympe.ui.F.ea.pm.prototype.T.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);olympe.ui.F.ea.pm.prototype.W.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);olympe.ui.F.ea.pm.prototype.R.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);olympe.ui.F.ea.nf=class extends olympe.ui.F.ea.ed{constructor(){super();this.T=olympe.j.Ab(olympe.ui.F.ea.nf.C.Oy);this.C=olympe.j.Ab(olympe.ui.F.ea.nf.C.aw);this.W=olympe.j.Ab(olympe.ui.F.ea.nf.C.bD)}D(){return this.T}O(){return this.C}R(){return this.W}};olympe.ui.F.ea.nf.Dc='ForEachTheme';olympe.ui.F.ea.nf.D={HG:'EVEN_ODD'};olympe.ui.F.ea.nf.C={Oy:'for_each_item_even',aw:'for_each_item_odd',bD:'for_each_item_selected'};olympe.ui.F.ea.nf.prototype.D.K=olympe.j.J.R;
691
691
  olympe.ui.F.ea.nf.prototype.O.K=olympe.j.J.R;olympe.ui.F.ea.nf.prototype.R.K=olympe.j.J.R;olympe.ui.F.ea.sm=class{constructor(){this.Jw=olympe.j.ub(olympe.ui.F.ea.ed);this.Iw=olympe.j.la(1);this.CM=olympe.j.Wc(!1);this.animation=null;this.Zz=olympe.j.la(0)}qN(){return this.Jw}bB(a){K(this.Jw,a)}pN(){return this.Iw}aB(a){K(this.Iw,a)}IA(){return this.CM}Wu(a){K(this.CM,a)}Tr(){return this.animation}};olympe.ui.F.ea.sm.Dc='ListForEachLayoutTheme';olympe.ui.F.ea.sm.prototype.qN.K=new olympe.j.J(()=>olympe.ui.F.ea.ed,[]);olympe.ui.F.ea.sm.prototype.pN.K=olympe.j.J.D;olympe.ui.F.ea.Ph=class extends olympe.ui.F.ea.ed{constructor(){super();this.R=P(N());this.fontSize=olympe.j.la(14);this.O=olympe.j.la(500);this.C=olympe.j.Ab('');this.D=olympe.j.ub(String,olympe.ui.ha.Uy.jz);this.$=olympe.j.ub(String,olympe.ui.ha.Db.Tf);this.T=olympe.j.ub(String,olympe.ui.ha.rc.gh);this.paddingLeft=olympe.j.ub(olympe.j.aa,olympe.j.aa.ZERO);this.paddingRight=olympe.j.ub(olympe.j.aa,olympe.j.aa.ZERO);this.paddingTop=olympe.j.ub(olympe.j.aa,olympe.j.aa.ZERO);this.paddingBottom=olympe.j.ub(olympe.j.aa,
692
- olympe.j.aa.ZERO);this.W=null}aI(){return this.R}lb(a){void 0===this.R&&(this.R=olympe.j.ub(olympe.j.Color));K(this.R,a)}WH(){return this.fontSize}rb(a){void 0===this.fontSize&&(this.fontSize=olympe.j.ub(olympe.j.aa));K(this.fontSize,a)}Bi(){return this.O}Bb(a){void 0===this.O&&(this.O=olympe.j.ub(olympe.j.aa));K(this.O,a)}vb(a){void 0===this.C&&(this.C=olympe.j.ub(olympe.j.kb));K(this.C,a)}Ai(){return this.C}yl(){return this.D}Od(a){void 0===this.D&&(this.D=olympe.j.ub(olympe.j.kb));K(this.D,a)}bI(){return this.$}Ub(a){void 0===
692
+ olympe.j.aa.ZERO);this.W=null}aI(){return this.R}lb(a){void 0===this.R&&(this.R=olympe.j.ub(olympe.j.Color));K(this.R,a)}WH(){return this.fontSize}rb(a){void 0===this.fontSize&&(this.fontSize=olympe.j.ub(olympe.j.aa));K(this.fontSize,a)}Bi(){return this.O}Bb(a){void 0===this.O&&(this.O=olympe.j.ub(olympe.j.aa));K(this.O,a)}wb(a){void 0===this.C&&(this.C=olympe.j.ub(olympe.j.kb));K(this.C,a)}Ai(){return this.C}yl(){return this.D}Od(a){void 0===this.D&&(this.D=olympe.j.ub(olympe.j.kb));K(this.D,a)}bI(){return this.$}Ub(a){void 0===
693
693
  this.$&&(this.$=olympe.j.ub(String));K(this.$,a)}cI(){return this.T}Xb(a){void 0===this.T&&(this.T=olympe.j.ub(String));K(this.T,a)}YH(){return this.paddingLeft}Fc(a){void 0===this.paddingLeft&&(this.paddingLeft=olympe.j.ub(olympe.j.aa));K(this.paddingLeft,a)}ZH(){return this.paddingRight}Kc(a){void 0===this.paddingRight&&(this.paddingRight=olympe.j.ub(olympe.j.aa));K(this.paddingRight,a)}$H(){return this.paddingTop}td(a){void 0===this.paddingTop&&(this.paddingTop=olympe.j.ub(olympe.j.aa));K(this.paddingTop,
694
694
  a)}XH(){return this.paddingBottom}sd(a){void 0===this.paddingBottom&&(this.paddingBottom=olympe.j.ub(olympe.j.aa));this.paddingBottom=a}};olympe.ui.F.ea.Ph.C='header1';olympe.ui.F.ea.Ph.D='header2';olympe.ui.F.ea.Ph.R='selected';olympe.ui.F.ea.Ph.O='mouseover';olympe.ui.F.ea.Ph.Dc='label';h=olympe.ui.F.ea.Ph.prototype;h.aI.K=new olympe.j.J(()=>olympe.j.Color,[]);h.WH.K=olympe.j.J.D;h.Bi.K=olympe.j.J.D;h.Ai.K=olympe.j.J.R;h.yl.K=new olympe.j.J(()=>String,[]);h.bI.K=new olympe.j.J(()=>String,[]);
695
695
  h.cI.K=new olympe.j.J(()=>String,[]);h.YH.K=olympe.j.J.D;h.ZH.K=olympe.j.J.D;h.$H.K=olympe.j.J.D;h.XH.K=olympe.j.J.D;olympe.ui.F.ea.Jk=class extends olympe.ui.F.ea.yj{constructor(){super();this.O=olympe.j.Ab('');this.T=olympe.j.Ab('');this.R=olympe.j.Ab('');this.W=olympe.j.la(0);this.D=olympe.j.la(10)}wu(){return this.O}su(){return this.T}vA(){return this.R}tu(){return this.W}Df(a){K(this.W,a)}vu(){return this.D}};olympe.ui.F.ea.Jk.Dc='alert';h=olympe.ui.F.ea.Jk.prototype;h.wu.K=olympe.j.J.R;h.su.K=olympe.j.J.R;h.vA.K=olympe.j.J.R;h.tu.K=olympe.j.J.D;h.vu.K=olympe.j.J.D;olympe.ui.F.ea.jl=class extends olympe.ui.F.ea.ed{constructor(){super();this.R=olympe.j.qd(0,0,0);this.fontSize=olympe.j.la(14);this.O=olympe.j.la(500);this.C=olympe.j.Ab('');this.D=olympe.j.ub(String,olympe.ui.ha.Uy.jz);this.T=olympe.j.ub(String,olympe.ui.ha.Db.Tf);this.W=olympe.j.ub(String,olympe.ui.ha.rc.gh);this.paddingLeft=olympe.j.la(0);this.paddingRight=olympe.j.la(0);this.paddingTop=olympe.j.la(0);this.paddingBottom=olympe.j.la(0)}iI(){return this.R}lb(a){K(this.R,a)}dI(){return this.fontSize}rb(a){K(this.fontSize,
696
- a)}Bi(){return this.O}vb(a){K(this.C,a)}Ai(){return this.C}yl(){return this.D}Od(a){K(this.D,a)}Bb(a){K(this.O,a)}jI(){return this.T}Ub(a){K(this.T,a)}kI(){return this.W}Xb(a){K(this.W,a)}fI(){return this.paddingLeft}Fc(a){K(this.paddingLeft,a)}gI(){return this.paddingRight}Kc(a){K(this.paddingRight,a)}hI(){return this.paddingTop}td(a){K(this.paddingTop,a)}eI(){return this.paddingBottom}sd(a){this.paddingBottom=a}};olympe.ui.F.ea.jl.Dc='TextArea';h=olympe.ui.F.ea.jl.prototype;
696
+ a)}Bi(){return this.O}wb(a){K(this.C,a)}Ai(){return this.C}yl(){return this.D}Od(a){K(this.D,a)}Bb(a){K(this.O,a)}jI(){return this.T}Ub(a){K(this.T,a)}kI(){return this.W}Xb(a){K(this.W,a)}fI(){return this.paddingLeft}Fc(a){K(this.paddingLeft,a)}gI(){return this.paddingRight}Kc(a){K(this.paddingRight,a)}hI(){return this.paddingTop}td(a){K(this.paddingTop,a)}eI(){return this.paddingBottom}sd(a){this.paddingBottom=a}};olympe.ui.F.ea.jl.Dc='TextArea';h=olympe.ui.F.ea.jl.prototype;
697
697
  h.iI.K=new olympe.j.J(()=>olympe.j.Color,[]);h.dI.K=olympe.j.J.D;h.Bi.K=olympe.j.J.D;h.Ai.K=olympe.j.J.R;h.yl.K=new olympe.j.J(()=>String,[]);h.jI.K=new olympe.j.J(()=>String,[]);h.kI.K=new olympe.j.J(()=>String,[]);h.fI.K=olympe.j.J.D;h.gI.K=olympe.j.J.D;h.hI.K=olympe.j.J.D;h.eI.K=olympe.j.J.D;olympe.ui.F.ea.kl=class extends olympe.ui.F.ea.ed{constructor(){super();this.R=P(N());this.$=P(N());this.fontSize=olympe.j.la(14);this.O=olympe.j.la(500);this.C=olympe.j.Ab('');this.D=olympe.j.ub(String);this.T=olympe.j.ub(String,olympe.ui.ha.Db.Tf);this.W=olympe.j.ub(String,olympe.ui.ha.rc.Sc);this.paddingLeft=olympe.j.la(0);this.paddingRight=olympe.j.la(0);this.paddingTop=olympe.j.la(0);this.paddingBottom=olympe.j.la(0)}qI(){return this.R}lb(a){K(this.R,a)}RN(){return this.$}Zg(a){K(this.$,a)}lI(){return this.fontSize}rb(a){K(this.fontSize,
698
- a)}Bi(){return this.O}vb(a){K(this.C,a)}Ai(){return this.C}Bb(a){K(this.O,a)}yl(){return this.D}Od(a){K(this.D,a)}rI(){return this.T}Ub(a){K(this.T,a)}sI(){return this.W}Xb(a){K(this.W,a)}nI(){return this.paddingLeft}Fc(a){K(this.paddingLeft,a)}oI(){return this.paddingRight}Kc(a){K(this.paddingRight,a)}pI(){return this.paddingTop}td(a){K(this.paddingRight,a)}mI(){return this.paddingBottom}sd(a){K(this.paddingBottom,a)}};olympe.ui.F.ea.kl.Dc='textfield';h=olympe.ui.F.ea.kl.prototype;
698
+ a)}Bi(){return this.O}wb(a){K(this.C,a)}Ai(){return this.C}Bb(a){K(this.O,a)}yl(){return this.D}Od(a){K(this.D,a)}rI(){return this.T}Ub(a){K(this.T,a)}sI(){return this.W}Xb(a){K(this.W,a)}nI(){return this.paddingLeft}Fc(a){K(this.paddingLeft,a)}oI(){return this.paddingRight}Kc(a){K(this.paddingRight,a)}pI(){return this.paddingTop}td(a){K(this.paddingRight,a)}mI(){return this.paddingBottom}sd(a){K(this.paddingBottom,a)}};olympe.ui.F.ea.kl.Dc='textfield';h=olympe.ui.F.ea.kl.prototype;
699
699
  h.qI.K=new olympe.j.J(()=>olympe.j.Color,[]);h.RN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.lI.K=olympe.j.J.D;h.Bi.K=olympe.j.J.D;h.Ai.K=olympe.j.J.R;h.yl.K=new olympe.j.J(()=>String,[]);h.rI.K=new olympe.j.J(()=>String,[]);h.sI.K=new olympe.j.J(()=>String,[]);h.nI.K=olympe.j.J.D;h.oI.K=olympe.j.J.D;h.pI.K=olympe.j.J.D;h.mI.K=olympe.j.J.D;function If(a){K(a.sb,olympe.j.Ab(olympe.ui.ha.Db.Sb))}function Jf(a){K(a.ob,olympe.j.Ab(olympe.ui.ha.rc.Sc))}
700
700
  olympe.ui.F.ea.Tp=class extends olympe.ui.F.ea.ed{constructor(){super();this.W=olympe.j.la(40);this.R=olympe.j.la(12);this.T=olympe.j.la(500);this.Yh=olympe.j.Ab('Arial');this.vg=olympe.j.la(2);this.Oa=P(Dc());this.Ha=olympe.j.la(0);this.C=olympe.j.la(0);this.ca=P(Dc());this.da=P(Dc());this.gd=P(Dc());this.Ka=P(Dc());this.sb=olympe.j.ub(String,olympe.ui.ha.Db.Sb);this.ob=olympe.j.ub(String,olympe.ui.ha.rc.Sc);this.Hg=olympe.j.la(0);this.D=olympe.j.dd(10,10);this.O=olympe.j.Ab('images/close.png');
701
701
  this.Yc=olympe.j.dd(0,0);this.Eb=olympe.j.Wc(!1);this.$=Dc();this.xb=olympe.j.la(40)}aN(){return this.Eb}rO(){return this.W}pO(){return this.R}qO(){return this.T}oO(){return this.Yh}mO(){return this.vg}sO(){return this.Oa}lO(){return this.gd}tO(){return this.sb}uO(){return this.ob}kO(){return this.Ka}hN(){return this.Ha}gN(){return this.da}nO(){return this.Hg}cN(){return this.D}YM(){return this.$}dN(){return this.O}TM(){return this.xb}bN(){return this.Yc}$M(){return this.C}ZM(){return this.ca}};
702
702
  olympe.ui.F.ea.Tp.Dc='windowcomponent';h=olympe.ui.F.ea.Tp.prototype;h.aN.K=olympe.j.J.T;h.rO.K=olympe.j.J.D;h.pO.K=olympe.j.J.D;h.qO.K=olympe.j.J.D;h.oO.K=olympe.j.J.R;h.mO.K=olympe.j.J.D;h.sO.K=new olympe.j.J(()=>olympe.j.Color,[]);h.lO.K=new olympe.j.J(()=>olympe.j.Color,[]);h.tO.K=new olympe.j.J(()=>String,[]);h.uO.K=new olympe.j.J(()=>String,[]);h.kO.K=new olympe.j.J(()=>olympe.j.Color,[]);h.hN.K=olympe.j.J.D;h.gN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.nO.K=olympe.j.J.D;h.cN.K=olympe.j.J.W;
703
703
  h.YM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.dN.K=olympe.j.J.R;h.TM.K=olympe.j.J.D;h.bN.K=olympe.j.J.W;h.$M.K=olympe.j.J.D;h.ZM.K=new olympe.j.J(()=>olympe.j.Color,[]);olympe.ui.F.ea.My=class extends olympe.ui.F.ea.vh{constructor(){super();this.Pa=olympe.j.Color.create(43,62,80);this.R=olympe.j.Color.create(78,93,108);this.xb=olympe.j.Color.create(92,184,92);this.Eb=olympe.j.Color.create(92,184,92,.65);this.ob=olympe.j.Color.create(217,83,79);this.T=O();this.da=N();this.D=olympe.j.Color.create(230,230,230);this.Pb=olympe.j.Color.create(230,230,230,.65);this.Ka=olympe.j.Color.create(72,85,99);this.qc=olympe.j.Color.create(73,71,63)}Gm(a){return S(this,olympe.ui.F.ea.ak.Dc,
704
- olympe.ui.F.ea.ak,a,b=>{const c=new olympe.ui.F.ea.ak;c.Gb(new olympe.j.ga(150,40));c.lb(this.T);c.rb(15);c.Bb(400);c.Ub(olympe.ui.ha.Db.Sb);c.Xb(olympe.ui.ha.rc.Sc);c.vb('"Helvetica Neue",Helvetica, Arial, sans-serif');K(c.D,this.Pb);K(c.C,this.Eb);c.Zj(olympe.j.Color.create(215,215,215));switch(b){case 'selected':c.Ma(this.xb);break;case 'warning':c.Ma(this.ob);break;default:c.Ma(this.R)}return c})}WN(a){return S(this,olympe.ui.F.ea.iw.Dc,olympe.ui.F.ea.iw,a,()=>{const b=new olympe.ui.F.ea.iw;b.Ma(this.D);
705
- return b})}jx(a){return S(this,olympe.ui.F.ea.kl.Dc,olympe.ui.F.ea.kl,a,()=>{const b=new olympe.ui.F.ea.kl;b.Ma(this.D);b.lb(this.da);b.td(2);b.sd(2);b.Fc(5);b.Kc(5);b.vb('"Helvetica Neue",Helvetica, Arial, sans-serif');return b})}ix(a){return S(this,olympe.ui.F.ea.jl.Dc,olympe.ui.F.ea.jl,a,()=>{const b=new olympe.ui.F.ea.jl;b.Ma(this.D);b.lb(this.da);b.td(2);b.sd(2);b.Fc(5);b.Kc(5);b.Ma(olympe.j.Color.create(230,230,230));b.vb('"Helvetica Neue",Helvetica, Arial, sans-serif');return b})}rA(a){return S(this,
704
+ olympe.ui.F.ea.ak,a,b=>{const c=new olympe.ui.F.ea.ak;c.Gb(new olympe.j.ga(150,40));c.lb(this.T);c.rb(15);c.Bb(400);c.Ub(olympe.ui.ha.Db.Sb);c.Xb(olympe.ui.ha.rc.Sc);c.wb('"Helvetica Neue",Helvetica, Arial, sans-serif');K(c.D,this.Pb);K(c.C,this.Eb);c.Zj(olympe.j.Color.create(215,215,215));switch(b){case 'selected':c.Ma(this.xb);break;case 'warning':c.Ma(this.ob);break;default:c.Ma(this.R)}return c})}WN(a){return S(this,olympe.ui.F.ea.iw.Dc,olympe.ui.F.ea.iw,a,()=>{const b=new olympe.ui.F.ea.iw;b.Ma(this.D);
705
+ return b})}jx(a){return S(this,olympe.ui.F.ea.kl.Dc,olympe.ui.F.ea.kl,a,()=>{const b=new olympe.ui.F.ea.kl;b.Ma(this.D);b.lb(this.da);b.td(2);b.sd(2);b.Fc(5);b.Kc(5);b.wb('"Helvetica Neue",Helvetica, Arial, sans-serif');return b})}ix(a){return S(this,olympe.ui.F.ea.jl.Dc,olympe.ui.F.ea.jl,a,()=>{const b=new olympe.ui.F.ea.jl;b.Ma(this.D);b.lb(this.da);b.td(2);b.sd(2);b.Fc(5);b.Kc(5);b.Ma(olympe.j.Color.create(230,230,230));b.wb('"Helvetica Neue",Helvetica, Arial, sans-serif');return b})}rA(a){return S(this,
706
706
  olympe.ui.F.ea.pm.Dc,olympe.ui.F.ea.pm,a,()=>{const b=new olympe.ui.F.ea.pm;var c=new olympe.ui.F.ea.ed;c.Gb(new olympe.j.ga(204,19));c.ad(olympe.j.la(2));c.nd(olympe.j.Color.create(148,157,159));c.Ma(olympe.j.Color.create(18,18,18,0));c.Wb(olympe.j.la(10));b.C=c;c=new olympe.ui.F.ea.ed;c.Gb(new olympe.j.ga(12,24));c.ad(olympe.j.la(2));c.nd(olympe.j.Color.create(148,157,159));c.Ma(olympe.j.Color.create(180,181,181));c.Wb(olympe.j.la(10));b.D=c;c=new olympe.ui.F.ea.ed;c.Gb(new olympe.j.ga(12,24));
707
- c.ad(olympe.j.la(2));c.nd(olympe.j.Color.create(148,157,159));c.Ma(olympe.j.Color.create(180,181,181));c.Wb(olympe.j.la(10));b.O=c;return b})}ru(a){return S(this,olympe.ui.F.ea.Ph.Dc,olympe.ui.F.ea.Ph,a,b=>{const c=new olympe.ui.F.ea.Ph;c.rb(12);c.vb('"Helvetica Neue",Helvetica, Arial, sans-serif');c.lb(this.T);switch(b){case 'header1':c.Bb(800);c.rb(16);break;case 'header2':c.Bb(800);c.rb(14);break;case 'dropdown-item':case 'dropdown-selectedvalue':c.Xb(olympe.ui.ha.rc.Sc);c.Fc(10);c.Kc(10);c.W=
708
- new olympe.ui.F.ea.Ph;c.W.Xb(olympe.ui.ha.rc.Sc);c.W.Fc(10);c.W.Kc(10);break;case 'dropdown-mouseoveritem':c.Ma(this.Ka);c.Xb(olympe.ui.ha.rc.Sc);c.Fc(10);c.Kc(10);break;case 'grid-cell':c.Xb(olympe.ui.ha.rc.Sc);c.Ub(olympe.ui.ha.Db.Sb);c.Fc(10);c.Kc(10);break;case 'grid-selected-cell':c.Ma(this.R);c.lb(this.T);c.Xb(olympe.ui.ha.rc.Sc);c.Ub(olympe.ui.ha.Db.Sb);c.Fc(10);c.Kc(10);break;case olympe.ui.F.ea.nf.C.aw:c.Ma(this.qc);break;case olympe.ui.F.ea.nf.C.aD:c.Ma(this.Ka)}return c})}ex(){return S(this,
707
+ c.ad(olympe.j.la(2));c.nd(olympe.j.Color.create(148,157,159));c.Ma(olympe.j.Color.create(180,181,181));c.Wb(olympe.j.la(10));b.O=c;return b})}ru(a){return S(this,olympe.ui.F.ea.Ph.Dc,olympe.ui.F.ea.Ph,a,b=>{const c=new olympe.ui.F.ea.Ph;c.rb(12);c.wb('"Helvetica Neue",Helvetica, Arial, sans-serif');c.lb(this.T);switch(b){case 'header1':c.Bb(800);c.rb(16);break;case 'header2':c.Bb(800);c.rb(14);break;case 'dropdown-item':case 'dropdown-selectedvalue':c.Xb(olympe.ui.ha.rc.Sc);c.Fc(10);c.Kc(10);c.W=
708
+ new olympe.ui.F.ea.Ph;c.W.Xb(olympe.ui.ha.rc.Sc);c.W.Fc(10);c.W.Kc(10);break;case 'dropdown-mouseoveritem':c.Ma(this.Ka);c.Xb(olympe.ui.ha.rc.Sc);c.Fc(10);c.Kc(10);break;case 'grid-cell':c.Xb(olympe.ui.ha.rc.Sc);c.Ub(olympe.ui.ha.Db.Sb);c.Fc(10);c.Kc(10);break;case 'grid-selected-cell':c.Ma(this.R);c.lb(this.T);c.Xb(olympe.ui.ha.rc.Sc);c.Ub(olympe.ui.ha.Db.Sb);c.Fc(10);c.Kc(10);break;case olympe.ui.F.ea.nf.C.aw:c.Ma(this.qc);break;case olympe.ui.F.ea.nf.C.bD:c.Ma(this.Ka)}return c})}ex(){return S(this,
709
709
  olympe.ui.F.ea.yj.Dc,olympe.ui.F.ea.yj,void 0,()=>{const a=new olympe.ui.F.ea.yj;a.Wb(4);var b=olympe.j.Color.create(0,0,0,.6);K(a.C,b);a.Ma(O());return a})}Sr(a){return S(this,olympe.ui.F.ea.Jk.Dc,olympe.ui.F.ea.Jk,a,()=>{const b=new olympe.ui.F.ea.Jk;b.Gb(new olympe.j.ga(500,1));b.Yd(!1);b.Ed(!0);b.Wb(4);var c=olympe.j.Color.create(0,0,0,.6);K(b.C,c);b.Ma(O());K(b.D,20);b.Df(20);K(b.O,'header1');K(b.T,'black_std');K(b.R,'selected');return b})}Xw(a){return S(this,olympe.ui.F.ea.ji.Dc,olympe.ui.F.ea.ji,
710
710
  a,()=>{const b=new olympe.ui.F.ea.ji;K(b.O,'dropdown-item');Ff(b);Gf(b);b.az('images/arrow2.png');var c=new olympe.j.ga(12,8);K(b.C,c);b.nd(Ac());b.Ma(this.R);b.td(2);b.sd(2);b.Fc(5);b.Kc(5);c=new olympe.ui.F.ea.ed;K(b.D,c);c.Ma(this.R);return b})}Tw(){return S(this,olympe.ui.F.ea.gi.Dc,olympe.ui.F.ea.gi,void 0,()=>{const a=new olympe.ui.F.ea.gi;a.oA().Gb(new olympe.j.ga(60,30));a.tf().Ma(olympe.j.Color.create(230,230,230));a.tf().nd(olympe.j.Color.create(191,191,191));a.tf().ad(2);a.tf().Wb(100);
711
711
  a.Kg().Ma(olympe.j.Color.create(60,187,51));a.Kg().Wb(100);a.uf().nd(olympe.j.Color.create(191,191,191));a.uf().ad(2);a.uf().Wb(100);a.uf().Ma(olympe.j.Color.create(230,230,230));a.sf().nd(olympe.j.Color.create(191,191,191));a.sf().ad(2);a.sf().Wb(100);a.sf().Ma(olympe.j.Color.create(230,230,230));return a})}Zw(a){return S(this,olympe.ui.F.ea.vj.Dc,olympe.ui.F.ea.vj,a,()=>{const b=new olympe.ui.F.ea.vj;b.Ma(this.Pa);K(b.R,'grid-cell');K(b.C,'grid-cell');K(b.D,'grid-selected-cell');b.Vj(30);Hf(b);
712
712
  var c=olympe.j.Color.create(0,0,0);K(b.O,c);return b})}pu(a){return S(this,olympe.ui.F.ea.Qk.Dc,olympe.ui.F.ea.Qk,a,()=>{const b=new olympe.ui.F.ea.Qk;b.Gb(new olympe.j.ga(500,1));b.Yd(!1);b.Ed(!0);b.Wb(4);var c=olympe.j.Color.create(0,0,0,.6);K(b.C,c);b.Ma(O());K(b.D,10);b.Df(10);K(b.$,'header1');K(b.Ka,'black_std');K(b.W,'selected');K(b.ca,this.D);K(b.da,this.da);K(b.R,5);K(b.T,5);K(b.O,'"Helvetica Neue",Helvetica, Arial, sans-serif');return b})}hf(){return S(this,olympe.ui.F.ea.wr.Dc,olympe.ui.F.ea.wr,
713
- void 0,()=>{const a=new olympe.ui.F.ea.wr;a.Ma(this.Pa);return a})}EA(a){return S(this,olympe.ui.F.ea.Tp.Dc,olympe.ui.F.ea.Tp,a,()=>{const b=new olympe.ui.F.ea.Tp;K(b.W,olympe.j.la(40));K(b.R,olympe.j.la(12));K(b.T,olympe.j.la(400));K(b.Oa,this.T);K(b.Ka,this.R);If(b);Jf(b);K(b.Ha,olympe.j.la(1));var c=Ac();K(b.da,c);K(b.C,1);c=Ac();K(b.ca,c);K(b.$,this.D);c=olympe.j.dd(15,15);K(b.D,c);K(b.O,'images/close.png');return b})}OD(a){return S(this,olympe.ui.F.ea.$s.Dc,olympe.ui.F.ea.$s,a,()=>{const b=new olympe.ui.F.ea.$s;
714
- K(b.O,this.Pa);K(b.T,this.T);var c=olympe.j.Color.create(240,173,78);K(b.R,c);K(b.D,'images/datepicker.png');c=new olympe.j.ga(10,10);K(b.C,c);return b})}uA(a){return S(this,olympe.ui.F.ea.sm.Dc,olympe.ui.F.ea.sm,a,()=>{const b=new olympe.ui.F.ea.sm;b.Wu(!1);return b})}mA(a){return S(this,olympe.ui.F.ea.nf.Dc,olympe.ui.F.ea.nf,a,b=>{const c=new olympe.ui.F.ea.nf;switch(b){case olympe.ui.F.ea.nf.D.GG:K(c.C,olympe.ui.F.ea.nf.C.aw);break;default:K(c.C,olympe.ui.F.ea.nf.C.Oy)}return c})}ZD(a){return S(this,
713
+ void 0,()=>{const a=new olympe.ui.F.ea.wr;a.Ma(this.Pa);return a})}EA(a){return S(this,olympe.ui.F.ea.Tp.Dc,olympe.ui.F.ea.Tp,a,()=>{const b=new olympe.ui.F.ea.Tp;K(b.W,olympe.j.la(40));K(b.R,olympe.j.la(12));K(b.T,olympe.j.la(400));K(b.Oa,this.T);K(b.Ka,this.R);If(b);Jf(b);K(b.Ha,olympe.j.la(1));var c=Ac();K(b.da,c);K(b.C,1);c=Ac();K(b.ca,c);K(b.$,this.D);c=olympe.j.dd(15,15);K(b.D,c);K(b.O,'images/close.png');return b})}PD(a){return S(this,olympe.ui.F.ea.$s.Dc,olympe.ui.F.ea.$s,a,()=>{const b=new olympe.ui.F.ea.$s;
714
+ K(b.O,this.Pa);K(b.T,this.T);var c=olympe.j.Color.create(240,173,78);K(b.R,c);K(b.D,'images/datepicker.png');c=new olympe.j.ga(10,10);K(b.C,c);return b})}uA(a){return S(this,olympe.ui.F.ea.sm.Dc,olympe.ui.F.ea.sm,a,()=>{const b=new olympe.ui.F.ea.sm;b.Wu(!1);return b})}mA(a){return S(this,olympe.ui.F.ea.nf.Dc,olympe.ui.F.ea.nf,a,b=>{const c=new olympe.ui.F.ea.nf;switch(b){case olympe.ui.F.ea.nf.D.HG:K(c.C,olympe.ui.F.ea.nf.C.aw);break;default:K(c.C,olympe.ui.F.ea.nf.C.Oy)}return c})}$D(a){return S(this,
715
715
  olympe.ui.F.ea.Ot.Dc,olympe.ui.F.ea.Ot,a,()=>{let b=new olympe.ui.F.ea.Ot;b.Yd(!0);b.Ed(!0);b.nd(Ac());b.ad(1);var c=b.Ma;var d=zc('yellow',233,214,107,1);c.call(b,d);K(b.D,'grid-cell');return b})}iA(a){return S(this,olympe.ui.F.ea.qp.Dc,olympe.ui.F.ea.qp,a,()=>new olympe.ui.F.ea.qp)}};olympe.ui.F.ea.GZ=class extends olympe.ui.F.ea.My{Gm(a){return S(this,'button',olympe.ui.F.ea.ak,a,b=>{const c=new olympe.ui.F.ea.ak;switch(b){case 'selected':c.Gb(new olympe.j.ga(150,20));c.Ma(olympe.j.Color.create(0,138,227));c.Zj(olympe.j.Color.create(0,110,180));b=O();K(c.C,b);c.nd(olympe.j.Color.create(128,128,128));b=olympe.j.Color.create(242,242,242);K(c.O,b);c.lb(O());b=olympe.j.Color.create(242,242,242);K(c.D,b);c.rb(14);c.Bb(700);c.Ub(olympe.ui.ha.Db.Sb);c.Xb(olympe.ui.ha.rc.Sc);c.Wb(4);
716
- c.ad(0);c.vb('Arial');break;case 'warning':c.Gb(new olympe.j.ga(150,20));c.Ma(olympe.j.Color.red());c.Zj(olympe.j.Color.create(180,0,0));b=O();K(c.C,b);c.nd(Ac());b=Ac();K(c.O,b);c.lb(O());b=Ac();K(c.D,b);c.rb(14);c.Bb(700);c.Ub(olympe.ui.ha.Db.Sb);c.Xb(olympe.ui.ha.rc.Sc);c.Wb(4);c.ad(0);c.vb('Arial');break;case 'default':c.Gb(new olympe.j.ga(150,20));c.Ma(O());c.nd(Ac());c.ad(1);b=O();K(c.C,b);b=olympe.j.Color.create(242,242,242);K(c.O,b);b=olympe.j.Color.create(242,242,242);K(c.D,b);c.Zj(olympe.j.Color.create(215,
717
- 215,215));c.rb(14);c.Bb(700);c.Ub(olympe.ui.ha.Db.Sb);c.Xb(olympe.ui.ha.rc.Sc);c.Wb(4);c.vb('Arial');break;default:return olympe.ui.F.ea.My.prototype.Gm.call(this,b)}return c})}jx(a){return S(this,olympe.ui.F.ea.kl.Dc,olympe.ui.F.ea.kl,a,()=>{const b=new olympe.ui.F.ea.kl;b.ad(1);b.nd(N());b.td(2);b.sd(2);b.Fc(2);b.Kc(2);b.Wb(2);b.vb('Arial');return b})}ix(a){return S(this,olympe.ui.F.ea.jl.Dc,olympe.ui.F.ea.jl,a,()=>{const b=new olympe.ui.F.ea.jl;b.nd(N());b.ad(1);b.td(2);b.sd(2);b.Fc(2);b.Kc(2);
718
- b.Wb(2);b.vb('Arial');return b})}ru(a){return S(this,olympe.ui.F.ea.Ph.Dc,olympe.ui.F.ea.Ph,a,b=>{const c=new olympe.ui.F.ea.Ph;c.rb(12);c.vb('Arial');switch(b){case 'header1':c.Bb(800);c.rb(16);c.vb('Arial');break;case 'header2':c.Bb(800);c.rb(14);c.vb('Arial');break;case 'dropdown-item':case 'dropdown-selectedvalue':c.rb(14);c.Xb(olympe.ui.ha.rc.Sc);c.Fc(5);c.Kc(5);c.vb('Arial');break;case 'dropdown-mouseoveritem':c.rb(14);c.Ma(olympe.j.Color.create(17,108,214));c.lb(O());c.Xb(olympe.ui.ha.rc.Sc);
719
- c.Fc(5);c.Kc(5);c.vb('Arial');break;case 'grid-selected-cell':c.rb(12),c.Ma(olympe.j.Color.create(0,138,227)),c.lb(O()),c.vb('Arial')}return c})}ex(){return S(this,olympe.ui.F.ea.yj.Dc,olympe.ui.F.ea.yj,void 0,()=>{const a=new olympe.ui.F.ea.yj;a.Wb(4);var b=olympe.j.Color.create(0,0,0,.6);K(a.C,b);a.Ma(O());return a})}Sr(a){return S(this,olympe.ui.F.ea.Jk.Dc,olympe.ui.F.ea.Jk,a,()=>{const b=new olympe.ui.F.ea.Jk;b.Gb(new olympe.j.ga(500,1));b.Yd(!1);b.Ed(!0);b.Wb(4);var c=olympe.j.Color.create(0,
716
+ c.ad(0);c.wb('Arial');break;case 'warning':c.Gb(new olympe.j.ga(150,20));c.Ma(olympe.j.Color.red());c.Zj(olympe.j.Color.create(180,0,0));b=O();K(c.C,b);c.nd(Ac());b=Ac();K(c.O,b);c.lb(O());b=Ac();K(c.D,b);c.rb(14);c.Bb(700);c.Ub(olympe.ui.ha.Db.Sb);c.Xb(olympe.ui.ha.rc.Sc);c.Wb(4);c.ad(0);c.wb('Arial');break;case 'default':c.Gb(new olympe.j.ga(150,20));c.Ma(O());c.nd(Ac());c.ad(1);b=O();K(c.C,b);b=olympe.j.Color.create(242,242,242);K(c.O,b);b=olympe.j.Color.create(242,242,242);K(c.D,b);c.Zj(olympe.j.Color.create(215,
717
+ 215,215));c.rb(14);c.Bb(700);c.Ub(olympe.ui.ha.Db.Sb);c.Xb(olympe.ui.ha.rc.Sc);c.Wb(4);c.wb('Arial');break;default:return olympe.ui.F.ea.My.prototype.Gm.call(this,b)}return c})}jx(a){return S(this,olympe.ui.F.ea.kl.Dc,olympe.ui.F.ea.kl,a,()=>{const b=new olympe.ui.F.ea.kl;b.ad(1);b.nd(N());b.td(2);b.sd(2);b.Fc(2);b.Kc(2);b.Wb(2);b.wb('Arial');return b})}ix(a){return S(this,olympe.ui.F.ea.jl.Dc,olympe.ui.F.ea.jl,a,()=>{const b=new olympe.ui.F.ea.jl;b.nd(N());b.ad(1);b.td(2);b.sd(2);b.Fc(2);b.Kc(2);
718
+ b.Wb(2);b.wb('Arial');return b})}ru(a){return S(this,olympe.ui.F.ea.Ph.Dc,olympe.ui.F.ea.Ph,a,b=>{const c=new olympe.ui.F.ea.Ph;c.rb(12);c.wb('Arial');switch(b){case 'header1':c.Bb(800);c.rb(16);c.wb('Arial');break;case 'header2':c.Bb(800);c.rb(14);c.wb('Arial');break;case 'dropdown-item':case 'dropdown-selectedvalue':c.rb(14);c.Xb(olympe.ui.ha.rc.Sc);c.Fc(5);c.Kc(5);c.wb('Arial');break;case 'dropdown-mouseoveritem':c.rb(14);c.Ma(olympe.j.Color.create(17,108,214));c.lb(O());c.Xb(olympe.ui.ha.rc.Sc);
719
+ c.Fc(5);c.Kc(5);c.wb('Arial');break;case 'grid-selected-cell':c.rb(12),c.Ma(olympe.j.Color.create(0,138,227)),c.lb(O()),c.wb('Arial')}return c})}ex(){return S(this,olympe.ui.F.ea.yj.Dc,olympe.ui.F.ea.yj,void 0,()=>{const a=new olympe.ui.F.ea.yj;a.Wb(4);var b=olympe.j.Color.create(0,0,0,.6);K(a.C,b);a.Ma(O());return a})}Sr(a){return S(this,olympe.ui.F.ea.Jk.Dc,olympe.ui.F.ea.Jk,a,()=>{const b=new olympe.ui.F.ea.Jk;b.Gb(new olympe.j.ga(500,1));b.Yd(!1);b.Ed(!0);b.Wb(4);var c=olympe.j.Color.create(0,
720
720
  0,0,.6);K(b.C,c);b.Ma(O());K(b.D,20);b.Df(20);K(b.O,'header1');K(b.R,'selected');return b})}Xw(a){return S(this,olympe.ui.F.ea.ji.Dc,olympe.ui.F.ea.ji,a,()=>{const b=new olympe.ui.F.ea.ji;K(b.O,'dropdown-item');Ff(b);Gf(b);b.az('images/arrow.png');var c=new olympe.j.ga(20,20);K(b.C,c);b.nd(Ac());b.ad(1);b.Ma(O());b.td(2);b.sd(2);b.Fc(5);b.Kc(5);c=new olympe.ui.F.ea.ed;K(b.D,c);c.$g(new olympe.j.ga(2,2),10,1,olympe.j.Color.create(160,160,160));c.nd(Ac());c.ad(1);c.Ma(olympe.j.Color.create(255,255,
721
721
  255,.9));return b})}Tw(){return S(this,olympe.ui.F.ea.gi.Dc,olympe.ui.F.ea.gi,void 0,()=>{const a=new olympe.ui.F.ea.gi;a.tf().Ma(O());a.tf().nd(olympe.j.Color.create(191,191,191));a.tf().ad(2);a.tf().Wb(100);a.Kg().Ma(olympe.j.Color.create(60,187,51));a.Kg().Wb(100);a.uf().nd(olympe.j.Color.create(191,191,191));a.uf().ad(2);a.uf().Wb(100);a.uf().Ma(O());a.sf().nd(olympe.j.Color.create(191,191,191));a.sf().ad(2);a.sf().Wb(100);a.sf().Ma(O());return a})}Zw(a){return S(this,olympe.ui.F.ea.vj.Dc,olympe.ui.F.ea.vj,
722
722
  a,()=>{const b=new olympe.ui.F.ea.vj;K(b.R,'grid-cell');K(b.C,'grid-cell');K(b.D,'grid-selected-cell');b.Vj(30);Hf(b);var c=Ac();K(b.O,c);return b})}pu(a){return S(this,olympe.ui.F.ea.Qk.Dc,olympe.ui.F.ea.Qk,a,()=>{const b=new olympe.ui.F.ea.Qk;b.Gb(new olympe.j.ga(500,1));b.Yd(!1);b.Ed(!0);var c=olympe.j.Color.create(0,0,0,.6);K(b.C,c);b.Ma(O());K(b.D,20);b.Df(20);K(b.$,'header1');K(b.W,'selected');K(b.ob,1);c=N();K(b.sb,c);K(b.ca,this.D);K(b.da,this.da);K(b.Eb,2);K(b.xb,2);K(b.R,2);K(b.T,2);K(b.O,
@@ -724,33 +724,33 @@ a,()=>{const b=new olympe.ui.F.ea.vj;K(b.R,'grid-cell');K(b.C,'grid-cell');K(b.D
724
724
  olympe.ui.F.ea.$s.Dc='datepicker';h=olympe.ui.F.ea.$s.prototype;h.WM.K=olympe.j.J.R;h.VM.K=olympe.j.J.W;h.ON.K=new olympe.j.J(()=>olympe.j.Color,[]);h.PR.K=new olympe.j.J(()=>olympe.j.Color,[]);h.fX.K=olympe.j.J.D;h.QN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.PN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.SM.K=new olympe.j.J(()=>olympe.j.Color,[]);h.cO.K=new olympe.j.J(()=>olympe.j.Color,[]);h.jO.K=new olympe.j.J(()=>olympe.j.Color,[]);h.iO.K=new olympe.j.J(()=>olympe.j.Color,[]);h.fO.K=olympe.j.J.D;
725
725
  h.gO.K=olympe.j.J.D;h.dO.K=new olympe.j.J(()=>olympe.j.Color,[]);h.eO.K=olympe.j.J.D;h.hO.K=olympe.j.J.D;olympe.ui.F.pf=class extends olympe.ui.F.Element{constructor(a){super(a.C(olympe.N.F.pf,olympe.host.ab.jb.WK));a=a.D().hf();this.ma=new olympe.j.ga(0,0);this.W=void 0;this.R=new olympe.ui.X.Zn(this.bj());this.size=new olympe.j.ga;this.da=this.ca=this.C=null;this.bj().os((b,c)=>{this.size.oe(b);this.size.Fe(c)});this.Ma(a.Zp());this.Yg(a.bq(),olympe.ui.ha.Ah.Uf,olympe.ui.ha.df.Uf,a.aq(),a.$p())}bj(){return this.ra()}ci(a){this.bj().ci(a);return this}Qr(){this.bj().Qr();return this}ww(a){this.bj().ww(a);
726
726
  return this}Gx(a){this.bj().Gx(a);return this}appendChild(a,b,c){void 0!==c&&a.setPosition(c);this.bj().appendChild(T(a),b);a.Ef(this);return this}removeChild(a){this.bj().removeChild(a);return this}clear(){this.bj().mg();return this}na(){return this.size}Cd(){return this.size.qa()}Ce(){return this.size.ta()}xh(){return this.ma}Hj(){return this.R.Hj()}ej(a,b,c){return this.R.ej(a,b,c)}D(a){this.R.D(a)}Gj(){return this.R.Gj()}Ak(a,b,c){return this.R.Ak(a,b,c)}T(a){this.R.T(a)}Ij(){return this.R.Ij()}fj(a,
727
- b,c){return this.R.fj(a,b,c)}O(a){this.R.O(a)}QR(){void 0===this.W&&(this.W=olympe.j.ub(String),this.bj().TA(a=>{I(this.W,a)}));return this.W}tI(a){olympe.j.yb().Ve(()=>this.bj().T(a.ja()));var b=a.DA();const c=Object.keys(b);let d;if(1<=c.length)d=c[0],b=b[d],1<c.length&&console.warn('Multiple font files is currently not supported.');else throw Error('No url was provided for the font file.');this.bj().O(a.SD(),a.BA(),a.aE(),d,b,a.ja())}cF(a,b={}){const c=olympe.j.Qa;this.C||olympe.j.Eo().run(()=>
727
+ b,c){return this.R.fj(a,b,c)}O(a){this.R.O(a)}QR(){void 0===this.W&&(this.W=olympe.j.ub(String),this.bj().TA(a=>{I(this.W,a)}));return this.W}tI(a){olympe.j.yb().Ve(()=>this.bj().T(a.ja()));var b=a.DA();const c=Object.keys(b);let d;if(1<=c.length)d=c[0],b=b[d],1<c.length&&console.warn('Multiple font files is currently not supported.');else throw Error('No url was provided for the font file.');this.bj().O(a.TD(),a.BA(),a.bE(),d,b,a.ja())}dF(a,b={}){const c=olympe.j.Qa;this.C||olympe.j.Eo().run(()=>
728
728
  {this.C=new olympe.ui.F.cb;this.C.Yd(!0).Ed(!0).td(5).sd(5).Fc(5).Kc(5).ah(1E4).rd(!0);this.ca=olympe.j.Za(olympe.j.aa);M(this.ca,olympe.j.aa.ZERO);this.da=olympe.j.Za(olympe.j.aa);M(this.da,olympe.j.aa.ZERO);this.C.setPosition(new olympe.j.ga(this.ca.wa(),this.da.wa()))});this.C.Bg(b.ea||'');this.C.Jb(a);this.C.Ma(b.background||O());this.C.lb(b.X2||N());b.fontSize&&this.C.rb(b.fontSize);a=b.I2||1;const d=b.borderColor||N();this.C.Ld(a,d);this.C.ib('pointer-events','none');b.position&&(a=olympe.j.Xa([b.position.qa(),
729
729
  this.C.Cd(),this.na().qa()],(e,f,g)=>oc(pc(olympe.j.aa.ZERO,e.ya(f.Sa(10))),g.ya(f)),olympe.j.aa),b=olympe.j.Xa([b.position.ta(),this.C.Ce(),this.na().ta()],(e,f,g)=>oc(pc(olympe.j.aa.ZERO,e.ya(f.Sa(5))),g.ya(f)),olympe.j.aa),this.ca.repeat(a),this.da.repeat(b));c(this.C.es()).valueOf()&&(this.C.rd(!1),this.appendChild(this.C,'tooltip'))}lx(){this.C&&!olympe.j.Qa(this.C.es()).valueOf()&&(this.C.rd(!0),this.removeChild('tooltip'))}Nx(a){this.bj().Nx(a);return this}};olympe.ui.F.pf.prototype.D.Jr=!0;
730
730
  olympe.ui.F.pf.prototype.T.Jr=!0;olympe.ui.F.pf.prototype.O.Jr=!0;olympe.ui.F.pf.Aa=[olympe.ui.X.sg];h=olympe.ui.F.pf.prototype;h.bj.K=new olympe.j.J(()=>olympe.N.F.pf,[]);h.ci.K=olympe.j.J.C([]);h.Qr.K=olympe.j.J.C([]);h.ww.K=olympe.j.J.C([]);h.Gx.K=olympe.j.J.C([]);h.appendChild.K=olympe.j.J.C([]);h.removeChild.K=olympe.j.J.C([]);h.clear.K=olympe.j.J.C([]);h.na.K=olympe.j.J.W;h.Cd.K=olympe.j.J.D;h.Ce.K=olympe.j.J.D;h.xh.K=olympe.j.J.W;h.Hj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);
731
- h.ej.K=new olympe.j.J(()=>String,[]);h.Gj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Ak.K=new olympe.j.J(()=>String,[]);h.Ij.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.fj.K=new olympe.j.J(()=>String,[]);h.QR.K=new olympe.j.J(()=>String,[]);h.tI.K=olympe.j.J.C([]);h.cF.K=olympe.j.J.C([]);h.lx.K=olympe.j.J.C([]);function T(a){return a.ra()}
731
+ h.ej.K=new olympe.j.J(()=>String,[]);h.Gj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Ak.K=new olympe.j.J(()=>String,[]);h.Ij.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.fj.K=new olympe.j.J(()=>String,[]);h.QR.K=new olympe.j.J(()=>String,[]);h.tI.K=olympe.j.J.C([]);h.dF.K=olympe.j.J.C([]);h.lx.K=olympe.j.J.C([]);function T(a){return a.ra()}
732
732
  olympe.ui.F.mb=class extends olympe.ui.F.Element{constructor(a,b){super(a);this.Pa=olympe.j.dd();this.position=olympe.j.Za(olympe.j.ga);M(this.position,new olympe.j.ga(olympe.j.aa.ZERO,olympe.j.aa.ZERO));this.qc=null;this.RA=!1;this.parent=olympe.j.Za(olympe.ui.F.Element);void 0!==b&&this.Gb(b);T(this).oe(this.position.wa().qa());T(this).Fe(this.position.wa().ta());T(this).Cg(this.Pa.qa());T(this).Ag(this.Pa.ta())}setPosition(a){olympe.j.Zb(a)?this.position.repeat(a):this.position.update(a);return this}ae(){return this.position.wa()}qa(){return this.position.wa().qa()}ta(){return this.position.wa().ta()}Gb(a){this.RA=
733
733
  !0;K(this.Pa,a);return this}na(){return this.Pa}Cd(){return this.Pa.qa()}Ce(){return this.Pa.ta()}Wb(a){T(this).Wb(a);return this}Ld(a,b){this.ad(a);this.nd(b);return this}ad(a){T(this).ad(a)}nd(a){T(this).nd(a.ei())}Oq(a){T(this).Oq(a);return this}$g(a,b,c,d,e){T(this).$g(olympe.j.cg(a,f=>f.qa()),olympe.j.cg(a,f=>f.ta()),b||0,c||0,olympe.j.cg(d,f=>f.ei()),e);return this}eZ(a,b,c,d,e){olympe.j.Wa([c,b,e,d,a],(f,g,k,l,m)=>{T(this).$g(f*Math.cos(g),f*Math.sin(g),k*(1-l/100),k*l/100,m.ei())});return this}setScale(a){olympe.j.Wa([a],
734
734
  b=>{T(this).dv(b.qa(),b.ta())});return this}iZ(a){T(this).dv(a,a);return this}ah(a){T(this).ah(a);return this}getParent(){return this.parent.wa()}Ef(a){olympe.j.Zb(a)?this.parent.repeat(a):this.parent.update(a);return this}xh(){null===this.qc&&Q(this,()=>{this.qc=new olympe.j.ga(0,0);olympe.j.Wa([this.parent,this.ae()],(a,b)=>{const c=a.xh(),d=this.qc;a instanceof olympe.ui.F.wd?(a=a.T(),olympe.j.Wa([b.qa(),c.qa(),a.qa()],(e,f,g)=>{d.oe(olympe.j.Ba(e).Sa(f).ya(g))}),olympe.j.Wa([b.ta(),c.ta(),a.ta()],
735
- (e,f,g)=>{d.Fe(olympe.j.Ba(e).Sa(f).ya(g))})):(olympe.j.Wa([b.qa(),c.qa()],(e,f)=>{d.oe(olympe.j.Ba(e).Sa(f))}),olympe.j.Wa([b.ta(),c.ta()],(e,f)=>{d.Fe(olympe.j.Ba(e).Sa(f))}))})});return this.qc}Tj(a){T(this).Tj(a);return this}Bg(){return this}$d(a){a&&(super.$d(a),this.Ld(a.zi(),a.pl()),this.Wb(a.cq()),this.RA||this.Gb(a.na()),this.$g(a.Yr(),a.Zr(),a.$r(),a.Wr(),a.Xr()))}Bf(){T(this).Bf()}Ii(a){T(this).nE(b=>{let c=!1;for(const d of b.children)if(d===this.Tm()){c=!0;a(d);break}if(!c){const d=new MutationObserver(e=>
735
+ (e,f,g)=>{d.Fe(olympe.j.Ba(e).Sa(f).ya(g))})):(olympe.j.Wa([b.qa(),c.qa()],(e,f)=>{d.oe(olympe.j.Ba(e).Sa(f))}),olympe.j.Wa([b.ta(),c.ta()],(e,f)=>{d.Fe(olympe.j.Ba(e).Sa(f))}))})});return this.qc}Tj(a){T(this).Tj(a);return this}Bg(){return this}$d(a){a&&(super.$d(a),this.Ld(a.zi(),a.pl()),this.Wb(a.cq()),this.RA||this.Gb(a.na()),this.$g(a.Yr(),a.Zr(),a.$r(),a.Wr(),a.Xr()))}Bf(){T(this).Bf()}Ii(a){T(this).oE(b=>{let c=!1;for(const d of b.children)if(d===this.Tm()){c=!0;a(d);break}if(!c){const d=new MutationObserver(e=>
736
736
  {for(const f of e)f.addedNodes.forEach(g=>{1===g.nodeType&&g===this.Tm()&&(d.disconnect(),a(g))})});d.observe(b,{attributes:!1,childList:!0,characterData:!1,subtree:!1})}})}Cs(a){T(this).Cs(a)}};h=olympe.ui.F.mb.prototype;h.setPosition.K=olympe.j.J.C([]);h.ae.K=olympe.j.J.W;h.qa.K=olympe.j.J.D;h.ta.K=olympe.j.J.D;h.Gb.K=olympe.j.J.C([]);h.na.K=olympe.j.J.W;h.Cd.K=olympe.j.J.D;h.Ce.K=olympe.j.J.D;h.Wb.K=olympe.j.J.C([]);h.Ld.K=olympe.j.J.C([]);h.Oq.K=olympe.j.J.C([]);h.$g.K=olympe.j.J.C([]);
737
- h.eZ.K=olympe.j.J.C([]);h.setScale.K=olympe.j.J.C([]);h.iZ.K=olympe.j.J.C([]);h.ah.K=olympe.j.J.C([]);h.getParent.K=new olympe.j.J(()=>olympe.ui.F.Element,[]);h.Ef.K=olympe.j.J.C([]);h.xh.K=olympe.j.J.W;h.Tj.K=olympe.j.J.C([]);h.Bg.K=olympe.j.J.C([]);olympe.ui.F.Dv=class{constructor(){}Jb(){}Bb(){}vb(){}rb(){}Od(){}lb(){}Xb(){}Ub(){}};olympe.ui.F.cb=class extends olympe.ui.F.mb{constructor(a,b){const c=new olympe.j.ga;super(olympe.ui.Na.C(olympe.N.F.cb,olympe.host.ab.jb.VK),c);this.paddingTop=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.Wa([this.paddingTop],g=>{T(this).td(g.valueOf())});this.paddingBottom=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.Wa([this.paddingBottom],g=>{T(this).sd(g.valueOf())});this.paddingLeft=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.Wa([this.paddingLeft],
737
+ h.eZ.K=olympe.j.J.C([]);h.setScale.K=olympe.j.J.C([]);h.iZ.K=olympe.j.J.C([]);h.ah.K=olympe.j.J.C([]);h.getParent.K=new olympe.j.J(()=>olympe.ui.F.Element,[]);h.Ef.K=olympe.j.J.C([]);h.xh.K=olympe.j.J.W;h.Tj.K=olympe.j.J.C([]);h.Bg.K=olympe.j.J.C([]);olympe.ui.F.Dv=class{constructor(){}Jb(){}Bb(){}wb(){}rb(){}Od(){}lb(){}Xb(){}Ub(){}};olympe.ui.F.cb=class extends olympe.ui.F.mb{constructor(a,b){const c=new olympe.j.ga;super(olympe.ui.Na.C(olympe.N.F.cb,olympe.host.ab.jb.VK),c);this.paddingTop=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.Wa([this.paddingTop],g=>{T(this).td(g.valueOf())});this.paddingBottom=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.Wa([this.paddingBottom],g=>{T(this).sd(g.valueOf())});this.paddingLeft=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.Wa([this.paddingLeft],
738
738
  g=>{T(this).Fc(g.valueOf())});this.paddingRight=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);olympe.j.Wa([this.paddingRight],g=>{T(this).Kc(g.valueOf())});this.O=olympe.j.Ab(b);this.D=olympe.j.Za(olympe.j.ia);M(this.D,olympe.j.ia.pb);this.C=olympe.j.Za(olympe.j.kb);M(this.C,olympe.j.ic(olympe.ui.ha.oo.Av));T(this).bi(this.C.wa());olympe.j.Wa([this.D,this.C],(g,k)=>{g.valueOf()?T(this).jv('pre-wrap'):k.valueOf()!==olympe.ui.ha.oo.Av?T(this).jv('nowrap'):T(this).jv('pre')});this.T=olympe.j.Wc(void 0===
739
739
  a);this.R=olympe.j.Wc(void 0===a);b=olympe.ui.Na.D().ru(this.O);olympe.ui.F.cb.prototype.$d.call(this,b);const d=void 0!==a?a:b.na();let e=null;const f=olympe.j.yb().re(()=>{e=new olympe.j.ga;T(this).fp((g,k)=>{e.oe(g);e.Fe(k)})});olympe.j.Wa([this.T,this.R],(g,k)=>{g=g.valueOf();k=k.valueOf();T(this).Yd(g);T(this).Ed(k);g||k?(null===e&&f(),g?c.oe(e.qa().Sa(this.paddingLeft.wa()).Sa(this.paddingRight.wa())):c.oe(d.qa()),k?c.Fe(e.ta().Sa(this.paddingTop.wa()).Sa(this.paddingBottom.wa())):c.Fe(d.ta())):
740
- (T(this).Rq(),e=null,c.oe(d.qa()),c.Fe(d.ta()))})}Jb(a){T(this).Jb(a);return this}Bb(a){T(this).Bb(a);return this}vb(a){T(this).vb(a);return this}rb(a){T(this).rb(a);return this}Od(a){T(this).Od(a);return this}lb(a){T(this).lb(olympe.j.cg(a,b=>b.ei()));return this}Yn(a){olympe.j.Mg(a)?this.D.repeat(a):this.D.update(a);return this}bi(a){olympe.j.Mg(a)?this.C.repeat(a):this.C.update(a);return this}Ub(a){T(this).Ub(a);return this}Xb(a){T(this).Xb(a);return this}Yd(a){K(this.T,a);return this}Ed(a){K(this.R,
740
+ (T(this).Rq(),e=null,c.oe(d.qa()),c.Fe(d.ta()))})}Jb(a){T(this).Jb(a);return this}Bb(a){T(this).Bb(a);return this}wb(a){T(this).wb(a);return this}rb(a){T(this).rb(a);return this}Od(a){T(this).Od(a);return this}lb(a){T(this).lb(olympe.j.cg(a,b=>b.ei()));return this}Yn(a){olympe.j.Mg(a)?this.D.repeat(a):this.D.update(a);return this}bi(a){olympe.j.Mg(a)?this.C.repeat(a):this.C.update(a);return this}Ub(a){T(this).Ub(a);return this}Xb(a){T(this).Xb(a);return this}Yd(a){K(this.T,a);return this}Ed(a){K(this.R,
741
741
  a);return this}Vj(a){T(this).Vj(a);return this}Fc(a){olympe.j.Mg(a)?this.paddingLeft.repeat(a):('number'===typeof a&&(a=olympe.j.Ba(a)),this.paddingLeft.update(a));return this}Kc(a){olympe.j.Mg(a)?this.paddingRight.repeat(a):('number'===typeof a&&(a=olympe.j.Ba(a)),this.paddingRight.update(a));return this}td(a){olympe.j.Mg(a)?this.paddingTop.repeat(a):('number'===typeof a&&(a=olympe.j.Ba(a)),this.paddingTop.update(a));return this}sd(a){olympe.j.Mg(a)?this.paddingBottom.repeat(a):('number'===typeof a&&
742
- (a=olympe.j.Ba(a)),this.paddingBottom.update(a));return this}Ml(a){olympe.j.Wa([a],b=>{T(this).Ml(b.valueOf())});return this}Bg(a){K(this.O,a);return this}$d(a){a&&(super.$d(a),this.rb(a.WH()),this.Bb(a.Bi()),this.vb(a.Ai()),this.Od(a.yl()),this.sd(a.XH()),this.Fc(a.YH()),this.Kc(a.ZH()),this.td(a.$H()),this.lb(a.aI()),this.Ub(a.bI()),this.Xb(a.cI()))}};olympe.ui.F.cb.Aa=[olympe.ui.F.Dv];h=olympe.ui.F.cb.prototype;h.Jb.K=olympe.j.J.C([]);h.Bb.K=olympe.j.J.C([]);h.vb.K=olympe.j.J.C([]);h.rb.K=olympe.j.J.C([]);
742
+ (a=olympe.j.Ba(a)),this.paddingBottom.update(a));return this}Ml(a){olympe.j.Wa([a],b=>{T(this).Ml(b.valueOf())});return this}Bg(a){K(this.O,a);return this}$d(a){a&&(super.$d(a),this.rb(a.WH()),this.Bb(a.Bi()),this.wb(a.Ai()),this.Od(a.yl()),this.sd(a.XH()),this.Fc(a.YH()),this.Kc(a.ZH()),this.td(a.$H()),this.lb(a.aI()),this.Ub(a.bI()),this.Xb(a.cI()))}};olympe.ui.F.cb.Aa=[olympe.ui.F.Dv];h=olympe.ui.F.cb.prototype;h.Jb.K=olympe.j.J.C([]);h.Bb.K=olympe.j.J.C([]);h.wb.K=olympe.j.J.C([]);h.rb.K=olympe.j.J.C([]);
743
743
  h.Od.K=olympe.j.J.C([]);h.lb.K=olympe.j.J.C([]);h.Yn.K=olympe.j.J.C([]);h.Ub.K=olympe.j.J.C([]);h.Xb.K=olympe.j.J.C([]);h.Yd.K=olympe.j.J.C([]);h.Ed.K=olympe.j.J.C([]);h.Vj.K=olympe.j.J.C([]);h.Fc.K=olympe.j.J.C([0]);h.Kc.K=olympe.j.J.C([0]);h.td.K=olympe.j.J.C([0]);h.sd.K=olympe.j.J.C([0]);h.Ml.K=olympe.j.J.C([0]);h.Bg.K=olympe.j.J.C([]);function Kf(a,b,c){a.O().appendChild(T(b),c);b.Ef(a)}function Lf(a,b){a.O().$(b)}olympe.ui.F.ce=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.F.ce,olympe.host.ab.jb.Ez),a)}O(){return this.te()}appendChild(){}removeChild(){}Lr(){this.O().Lr();return this}};function Mf(a){const b=olympe.j.Qa(a.ma),c=olympe.j.Qa(a.ca),d=olympe.j.Qa(a.da),e=olympe.ui.Na.W(a,'getScrollbarThicknessX'),f=olympe.ui.Na.W(a,'getScrollbarThicknessY');a.gd.update(b&&c?e:0);a.cf.update(b&&d?f:0)}function Nf(a,b){a.te().fB(b.qa());a.te().gB(b.ta())}
744
744
  olympe.ui.F.wd=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.F.wd,olympe.host.ab.jb.XK),a);this.W=null;this.ma=M(olympe.j.Za(olympe.j.ia),olympe.j.ia.pb);this.ca=M(olympe.j.Za(olympe.j.ia),olympe.j.ia.pb);this.da=M(olympe.j.Za(olympe.j.ia),olympe.j.ia.pb);this.gd=M(olympe.j.Za(olympe.j.aa),olympe.j.aa.ZERO);this.cf=M(olympe.j.Za(olympe.j.aa),olympe.j.aa.ZERO);olympe.j.Wa([this.ma,this.ca,this.da],()=>{Wc(()=>Mf(this),0)});this.Ii(()=>{Mf(this)})}Nd(a){this.te().Nd(T(a));
745
- a.Ef(this)}du(){this.te().du()}Ds(a){this.te().Ds(a);olympe.j.Zb(a)?this.ca.repeat(a):this.ca.update(a)}ev(a){this.te().ev(a);olympe.j.Zb(a)?this.da.repeat(a):this.da.update(a)}Es(a){this.te().Es(a);olympe.j.Zb(a)?this.ma.repeat(a):this.ma.update(a)}Vx(a){this.te().Vx(a.lB())}T(){null===this.W&&Q(this,()=>{this.W=new olympe.j.ga(0,0);this.te().UA((a,b)=>{this.W.oe(a);this.W.Fe(b)})});return this.W}};olympe.ui.F.wd.prototype.T.K=olympe.j.J.W;olympe.ui.F.br=class{zw(){}na(){}AA(){}kA(){}};olympe.ui.F.br.prototype.zw.K=new olympe.j.J(()=>olympe.ui.F.mb,[]);olympe.ui.F.br.prototype.na.K=olympe.j.J.W;olympe.ui.F.br.prototype.AA.K=olympe.j.J.D;olympe.ui.F.br.prototype.kA.K=olympe.j.J.D;olympe.ui.F.GC=class{constructor(a,b,c){this.C=new olympe.j.Be(olympe.ui.F.mb);this.ca=olympe.j.la(0);this.$=olympe.j.la(Number.MAX_SAFE_INTEGER);this.T=olympe.j.la(a);const d=this.C.Hh(this.C.Qc().ya(1));this.D=olympe.j.Wc(void 0!==b?b:!1);this.IA=olympe.j.Wc(!1);this.Jw=olympe.j.ub(olympe.ui.F.ea.ed);this.Iw=olympe.j.la();this.O=olympe.j.$a(this.IA,()=>this.Iw,()=>olympe.j.Ba(0),olympe.j.aa);this.animation=olympe.j.ub(olympe.ui.F.zm);this.Zz=olympe.j.la(0);this.R=!1;this.W=olympe.j.$a(this.D,()=>
746
- new olympe.j.ga(olympe.j.kj(d.qa().Sa(d.Cd()),0),a),()=>new olympe.j.ga(a,olympe.j.kj(d.ta().Sa(d.Ce()),0)),olympe.j.ga);olympe.ui.F.GC.prototype.da.call(this,olympe.ui.Na.D().uA(c))}zw(a,b,c,d,e,f,g){const k=e.gf(d),l=olympe.j.Ba(0),m=olympe.j.Za(olympe.ui.F.mb);olympe.j.Wa([k],w=>{0<w.valueOf()?(w=this.C.Hh(w.valueOf()-1),olympe.j.Wa([w],x=>{m.update(x)})):(w=olympe.j.yb(),olympe.j.$m(w)&&dc(w),m.clear())});const n=m.wa(),p=olympe.j.$a(this.D,()=>new olympe.j.ga(lc(n.qa().Sa(n.Cd()),l),l),()=>new olympe.j.ga(l,
745
+ a.Ef(this)}du(){this.te().du()}Ds(a){this.te().Ds(a);olympe.j.Zb(a)?this.ca.repeat(a):this.ca.update(a)}ev(a){this.te().ev(a);olympe.j.Zb(a)?this.da.repeat(a):this.da.update(a)}Es(a){this.te().Es(a);olympe.j.Zb(a)?this.ma.repeat(a):this.ma.update(a)}Vx(a){this.te().Vx(a.lB())}T(){null===this.W&&Q(this,()=>{this.W=new olympe.j.ga(0,0);this.te().UA((a,b)=>{this.W.oe(a);this.W.Fe(b)})});return this.W}};olympe.ui.F.wd.prototype.T.K=olympe.j.J.W;olympe.ui.F.br=class{zw(){}na(){}AA(){}kA(){}};olympe.ui.F.br.prototype.zw.K=new olympe.j.J(()=>olympe.ui.F.mb,[]);olympe.ui.F.br.prototype.na.K=olympe.j.J.W;olympe.ui.F.br.prototype.AA.K=olympe.j.J.D;olympe.ui.F.br.prototype.kA.K=olympe.j.J.D;olympe.ui.F.HC=class{constructor(a,b,c){this.C=new olympe.j.Be(olympe.ui.F.mb);this.ca=olympe.j.la(0);this.$=olympe.j.la(Number.MAX_SAFE_INTEGER);this.T=olympe.j.la(a);const d=this.C.Hh(this.C.Qc().ya(1));this.D=olympe.j.Wc(void 0!==b?b:!1);this.IA=olympe.j.Wc(!1);this.Jw=olympe.j.ub(olympe.ui.F.ea.ed);this.Iw=olympe.j.la();this.O=olympe.j.$a(this.IA,()=>this.Iw,()=>olympe.j.Ba(0),olympe.j.aa);this.animation=olympe.j.ub(olympe.ui.F.zm);this.Zz=olympe.j.la(0);this.R=!1;this.W=olympe.j.$a(this.D,()=>
746
+ new olympe.j.ga(olympe.j.kj(d.qa().Sa(d.Cd()),0),a),()=>new olympe.j.ga(a,olympe.j.kj(d.ta().Sa(d.Ce()),0)),olympe.j.ga);olympe.ui.F.HC.prototype.da.call(this,olympe.ui.Na.D().uA(c))}zw(a,b,c,d,e,f,g){const k=e.gf(d),l=olympe.j.Ba(0),m=olympe.j.Za(olympe.ui.F.mb);olympe.j.Wa([k],w=>{0<w.valueOf()?(w=this.C.Hh(w.valueOf()-1),olympe.j.Wa([w],x=>{m.update(x)})):(w=olympe.j.yb(),olympe.j.$m(w)&&dc(w),m.clear())});const n=m.wa(),p=olympe.j.$a(this.D,()=>new olympe.j.ga(lc(n.qa().Sa(n.Cd()),l),l),()=>new olympe.j.ga(l,
747
747
  lc(n.ta().Sa(n.Ce()),l)),olympe.j.ga),r=olympe.j.$a(this.D,()=>new olympe.j.ga(p.qa().Sa(this.O),p.ta()),()=>new olympe.j.ga(p.qa(),p.ta().Sa(this.O)),olympe.j.ga),t=new olympe.ui.F.ye(olympe.j.$a(this.D,()=>new olympe.j.ga(this.O,this.T),()=>new olympe.j.ga(this.T,this.O),olympe.j.ga));t.$d(this.Jw);t.rd(k.Se(0));t.setPosition(p);a.appendChild(t,'divider-'+d);const u=b(c,d,k,e,g);u.setPosition(r);a.appendChild(u,d);const v=F(this.animation);v&&(u.ng(0),olympe.j.Wa([k],w=>{const x=F(this.Zz).valueOf()*
748
- w.valueOf();0<x&&!this.R?Wc(()=>{w.valueOf()>=e.aj()-1&&(this.R=!0);u.ng(1);v.Rj(u,a)},x):(u.ng(1),v.Rj(u,a))}));this.C.set(d,u,k);olympe.j.yb().Ve(()=>{f.$f()||(this.C.remove(d),0===this.C.aj()&&(this.R=!1))});return u}na(){return this.W}AA(){return this.ca}kA(){return this.$}bB(a){K(this.Jw,a)}aB(a){K(this.Iw,a)}Wu(a){K(this.IA,a)}uI(a){K(this.animation,a)}vI(a){K(this.Zz,a)}da(a){this.bB(a.qN());this.aB(a.pN());this.Wu(a.IA());this.uI(a.Tr());this.vI(a.Zz)}};olympe.ui.F.GC.Aa=[olympe.ui.F.br];
749
- h=olympe.ui.F.GC.prototype;h.zw.K=new olympe.j.J(()=>olympe.ui.F.mb,[]);h.na.K=olympe.j.J.W;h.AA.K=olympe.j.J.D;h.kA.K=olympe.j.J.D;h.bB.K=olympe.j.J.C([]);h.aB.K=olympe.j.J.C([]);h.Wu.K=olympe.j.J.C([]);h.uI.K=olympe.j.J.C([]);h.vI.K=olympe.j.J.C([]);olympe.ui.F.cC=class extends olympe.ui.F.wd{constructor(a,b,c,d,e,f,g,k){super();this.data=olympe.j.ub(olympe.j.Ug);this.We=olympe.j.ub(olympe.ui.F.cC.D);this.R=olympe.j.ub(olympe.ui.F.br);this.content=new olympe.ui.F.Xe(d.na());this.Ka=olympe.j.ub(String);this.Eb=olympe.j.Ab(olympe.ui.F.ea.nf.C.aD);this.ob=olympe.j.Ab(olympe.ui.F.ea.nf.C.Oy);this.xb=olympe.j.Ab(olympe.ui.F.ea.nf.C.aw);this.Oa=olympe.j.Wc(f);this.Ha=olympe.j.Wc(g);this.C=new olympe.j.Map;this.O=new olympe.j.Map;this.D=olympe.j.ub(olympe.j.ga);
750
- this.xI(c);this.Nd(this.content);this.jP(d);this.wI(b);this.dP(void 0===e?void 0!==a?olympe.ui.ha.zp.Uf:olympe.ui.ha.zp.qF:e);K(this.D,a);super.Gb(jc(this.Ka,l=>{switch(l.valueOf()){case olympe.ui.ha.zp.MP:return new olympe.j.ga(this.R.na().qa(),this.D.ta());case olympe.ui.ha.zp.LP:return new olympe.j.ga(this.D.qa(),this.R.na().ta());case olympe.ui.ha.zp.qF:return this.R.na();case olympe.ui.ha.zp.hU:return new olympe.j.ga(this.R.na().qa().vn(this.D.qa()),this.D.ta());case olympe.ui.ha.zp.gU:return new olympe.j.ga(this.D.qa(),
751
- this.R.na().ta().vn(this.D.ta()));case olympe.ui.ha.zp.iU:return new olympe.j.ga(this.R.na().qa().vn(this.D.qa()),this.R.na().ta().vn(this.D.ta()));default:return a}},null,olympe.j.ga));olympe.ui.F.cC.prototype.$d.call(this,olympe.ui.Na.D().mA(k));olympe.j.Wa([this.data],l=>{this.C.mi(l.Ee())});olympe.j.di([this.data,this.We,this.R,this.Ka],(l,m,n)=>{l.forEach((p,r,t)=>{const u=olympe.j.Ab(),v=n.zw(this.content,m,p,r,t,this,u),w=olympe.j.Qa(this.Oa);void 0!==w&&w.valueOf()&&v.Vc(x=>{void 0===this.C.Fj(r)?
748
+ w.valueOf();0<x&&!this.R?Wc(()=>{w.valueOf()>=e.aj()-1&&(this.R=!0);u.ng(1);v.Rj(u,a)},x):(u.ng(1),v.Rj(u,a))}));this.C.set(d,u,k);olympe.j.yb().Ve(()=>{f.$f()||(this.C.remove(d),0===this.C.aj()&&(this.R=!1))});return u}na(){return this.W}AA(){return this.ca}kA(){return this.$}bB(a){K(this.Jw,a)}aB(a){K(this.Iw,a)}Wu(a){K(this.IA,a)}uI(a){K(this.animation,a)}vI(a){K(this.Zz,a)}da(a){this.bB(a.qN());this.aB(a.pN());this.Wu(a.IA());this.uI(a.Tr());this.vI(a.Zz)}};olympe.ui.F.HC.Aa=[olympe.ui.F.br];
749
+ h=olympe.ui.F.HC.prototype;h.zw.K=new olympe.j.J(()=>olympe.ui.F.mb,[]);h.na.K=olympe.j.J.W;h.AA.K=olympe.j.J.D;h.kA.K=olympe.j.J.D;h.bB.K=olympe.j.J.C([]);h.aB.K=olympe.j.J.C([]);h.Wu.K=olympe.j.J.C([]);h.uI.K=olympe.j.J.C([]);h.vI.K=olympe.j.J.C([]);olympe.ui.F.dC=class extends olympe.ui.F.wd{constructor(a,b,c,d,e,f,g,k){super();this.data=olympe.j.ub(olympe.j.Ug);this.We=olympe.j.ub(olympe.ui.F.dC.D);this.R=olympe.j.ub(olympe.ui.F.br);this.content=new olympe.ui.F.Xe(d.na());this.Ka=olympe.j.ub(String);this.Eb=olympe.j.Ab(olympe.ui.F.ea.nf.C.bD);this.ob=olympe.j.Ab(olympe.ui.F.ea.nf.C.Oy);this.xb=olympe.j.Ab(olympe.ui.F.ea.nf.C.aw);this.Oa=olympe.j.Wc(f);this.Ha=olympe.j.Wc(g);this.C=new olympe.j.Map;this.O=new olympe.j.Map;this.D=olympe.j.ub(olympe.j.ga);
750
+ this.xI(c);this.Nd(this.content);this.jP(d);this.wI(b);this.dP(void 0===e?void 0!==a?olympe.ui.ha.zp.Uf:olympe.ui.ha.zp.rF:e);K(this.D,a);super.Gb(jc(this.Ka,l=>{switch(l.valueOf()){case olympe.ui.ha.zp.MP:return new olympe.j.ga(this.R.na().qa(),this.D.ta());case olympe.ui.ha.zp.LP:return new olympe.j.ga(this.D.qa(),this.R.na().ta());case olympe.ui.ha.zp.rF:return this.R.na();case olympe.ui.ha.zp.hU:return new olympe.j.ga(this.R.na().qa().vn(this.D.qa()),this.D.ta());case olympe.ui.ha.zp.gU:return new olympe.j.ga(this.D.qa(),
751
+ this.R.na().ta().vn(this.D.ta()));case olympe.ui.ha.zp.iU:return new olympe.j.ga(this.R.na().qa().vn(this.D.qa()),this.R.na().ta().vn(this.D.ta()));default:return a}},null,olympe.j.ga));olympe.ui.F.dC.prototype.$d.call(this,olympe.ui.Na.D().mA(k));olympe.j.Wa([this.data],l=>{this.C.mi(l.Ee())});olympe.j.di([this.data,this.We,this.R,this.Ka],(l,m,n)=>{l.forEach((p,r,t)=>{const u=olympe.j.Ab(),v=n.zw(this.content,m,p,r,t,this,u),w=olympe.j.Qa(this.Oa);void 0!==w&&w.valueOf()&&v.Vc(x=>{void 0===this.C.Fj(r)?
752
752
  (x.$y().valueOf()&&olympe.j.Qa(this.Ha).valueOf()||(this.C.clear(),this.O.clear()),this.C.set(r,p),this.O.set(r,r)):!x.$y().valueOf()&&1<this.C.aj()?(this.C.clear(),this.O.clear(),this.C.set(r,p),this.O.set(r,r)):x.$y().valueOf()?(this.O.remove(r),this.C.remove(r)):(this.C.clear(),this.O.clear())});K(u,olympe.j.$a(this.C.has(r),()=>this.Eb,()=>olympe.j.$a(t.gf(r).ox(2).Se(0),()=>this.ob,()=>this.xb,olympe.j.kb),olympe.j.kb))})})}wI(a){K(this.data,a)}xI(a){K(this.We,a)}jP(a){K(this.R,a)}dP(a){K(this.Ka,
753
- a)}Ml(a){K(this.Oa,a);return this}WY(a){K(this.Ha,a);return this}pX(){return this.O}RR(){return this.O.Vd()}qX(){return this.C}SR(){return this.C.Vd()}bP(a){K(this.ob,a)}lP(a){K(this.xb,a)}pP(a){K(this.Eb,a)}Gb(a){K(this.D,a);return this}DY(){F(this.Ha).valueOf()&&this.data.yi((a,b)=>{this.C.set(b,a);this.O.set(b,b)});return this}HV(){this.C.clear();this.O.clear();return this}$d(a){super.$d(a);this.bP(a.D());this.lP(a.O());this.pP(a.R())}};h=olympe.ui.F.cC.prototype;h.wI.K=olympe.j.J.C([]);
753
+ a)}Ml(a){K(this.Oa,a);return this}WY(a){K(this.Ha,a);return this}pX(){return this.O}RR(){return this.O.Vd()}qX(){return this.C}SR(){return this.C.Vd()}bP(a){K(this.ob,a)}lP(a){K(this.xb,a)}pP(a){K(this.Eb,a)}Gb(a){K(this.D,a);return this}DY(){F(this.Ha).valueOf()&&this.data.yi((a,b)=>{this.C.set(b,a);this.O.set(b,b)});return this}HV(){this.C.clear();this.O.clear();return this}$d(a){super.$d(a);this.bP(a.D());this.lP(a.O());this.pP(a.R())}};h=olympe.ui.F.dC.prototype;h.wI.K=olympe.j.J.C([]);
754
754
  h.xI.K=olympe.j.J.C([]);h.jP.K=olympe.j.J.C([]);h.dP.K=olympe.j.J.C([]);h.Ml.K=olympe.j.J.C([]);h.WY.K=olympe.j.J.C([]);h.pX.K=new olympe.j.J(()=>olympe.j.Map,[]);h.RR.K=new olympe.j.J(()=>String,[]);h.qX.K=new olympe.j.J(()=>olympe.j.Map,[]);h.SR.K=new olympe.j.J(()=>Object,[]);h.bP.K=olympe.j.J.C([]);h.lP.K=olympe.j.J.C([]);h.pP.K=olympe.j.J.C([]);h.Gb.K=olympe.j.J.C([]);h.DY.K=olympe.j.J.C([]);h.HV.K=olympe.j.J.C([]);olympe.ui.F.jt=class extends olympe.ui.F.wd{constructor(a,b,c,d,e=0,f=!1){super();this.D=olympe.j.yb();this.data=b;this.Pb=c;this.We=d;this.ob=f||!1;this.R=olympe.j.createNode(olympe.j.aa);this.Ka=olympe.j.createNode(olympe.j.aa);this.scrollWidth=a.qa();this.Yc=a.ta();this.O=olympe.j.createNode(Number);this.Oa=olympe.j.createNode(Number);olympe.j.Wa([this.Ka,this.scrollWidth],(l,m)=>{m=m.valueOf();const n=Math.max(1,Math.floor(m/l));Ub(this.Oa,(m-l*n)/(n+1));Ub(this.O,n)},'ForEachLimited itemLineSize and scrollWidth');
755
755
  olympe.j.cg(c,l=>{const m=this.data.Hh(0);olympe.j.Zb(m)&&ic(m,l);l=this.We(m,0,olympe.j.ia.pb).na();ec(this.R,l.ta().Sa(e).Tb);ec(this.Ka,l.qa().Tb)});this.Ha=olympe.j.Za(olympe.j.aa);this.Eb=olympe.j.Za(olympe.j.aa);olympe.j.Wa([this.Yc,this.R,this.O,this.data.Qc()],(l,m,n,p)=>{this.D.$f()||(l=l.valueOf(),p=p.valueOf(),l=Math.min(Math.ceil(l/m)+2,Math.ceil(p/n))*m,bc(this.Ha.C),this.Eb.update(olympe.j.Ba(l)),m=n*Math.ceil(l/m),m=isNaN(m)?Infinity:m,this.Ha.update(olympe.j.Ba(Math.max(0,Math.min(p,
756
756
  m)))))},'ForEachLimited count process flow');const g=olympe.j.Xa([this.R,this.data.Qc(),this.O,e],(l,m,n,p)=>olympe.j.Ba(Math.max(0,l*Math.ceil(m.valueOf()/n)-p)),olympe.j.aa);this.content=new olympe.ui.F.Xe(new olympe.j.ga(a.qa(),g));this.C=[];this.selected=new olympe.j.Map(c);olympe.j.Wa([this.Ha],l=>{if(!this.D.$f()){var m=l.valueOf(),n=this.O.pg,p=this.C.length,r=Math.floor(p/n),t=p%n,u=olympe.j.Qa(this.data);this.D.run(()=>{var v=u?u.aj():0;if(p<m){var w=Math.ceil(m/n);for(var x=r;x<w;x++)for(let y=
@@ -763,14 +763,14 @@ class Of{constructor(a,b,c){this.id=olympe.oa.IM('ForEachLimited_row');this.D=ol
763
763
  this.O.wa()))}ja(){return this.id}destroy(){this.D&&(this.D.destroy(),this.D=null)}}olympe.ui.F.jt.prototype.ld.K=new olympe.j.J(()=>olympe.j.Map,[]);olympe.ui.F.jt.prototype.kc.K=olympe.j.J.W;olympe.ui.F.jt.prototype.vf.K=olympe.j.J.C([]);olympe.ui.F.jc=class extends olympe.ui.F.ce{constructor(a,b,c){super();this.Pb=olympe.j.Ab(c);this.R=olympe.j.la(0);this.cf=olympe.j.qd();this.ld=olympe.j.qd();this.xk=olympe.j.qd();this.vf=olympe.j.qd();this.xb=olympe.j.qd();this.Eb=olympe.j.qd();this.Yc=olympe.j.qd();this.Cl=olympe.j.qd();this.lg=olympe.j.qd();this.Ko=olympe.j.la();this.ag=olympe.j.la();this.gd=olympe.j.la();this.kc=olympe.j.qd();this.W=olympe.j.qd();this.Nf=olympe.j.Wc(!1);this.Ne=olympe.j.Wc(!1);this.T=olympe.j.la(0);this.ob=
764
764
  olympe.j.la(0);this.Oa=olympe.j.la(0);this.da=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.Ha=olympe.j.Ab('');c=this.Cd().ya(this.R.hb(2));var d=this.Ce().ya(this.R.hb(2));this.C=new olympe.ui.F.cb(new olympe.j.ga(20,d));this.label=new olympe.ui.F.cb(new olympe.j.ga(0,d));this.label.Yd(!0);this.label.ib('pointer-events','inherit');this.ma=olympe.j.la();this.ca=olympe.j.la();this.D=olympe.j.Za(olympe.j.ia);this.D.update(olympe.j.ia.pb);this.Ka=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);
765
765
  const e=olympe.ui.X.MouseEvent,f=this.kh(p=>{p.Gm().Rb(e.xy)&&this.D.update(olympe.j.ia.C)}),g=this.Wg(p=>{p.Gm().Rb(e.xy)&&this.D.update(olympe.j.ia.pb)}),k=this.Hi(()=>{this.D.update(olympe.j.ia.pb);this.Ka.update(olympe.j.ia.pb)}),l=this.gj(p=>{this.Ka.update(olympe.j.ia.C);p.AO(e.xy).valueOf()&&this.D.update(olympe.j.ia.C)}),m=this.Vc(()=>{this.D.update(olympe.j.ia.pb)});olympe.j.yb().Ve(()=>{this.yk(f);this.Ng(g);this.Qj(k);this.zk(l);this.Pj(m)});const n=olympe.ui.Na.D().Gm(this.Pb);d=(p,r,
766
- t,u)=>olympe.j.Xa([this.da.wa(),this.D.wa(),this.Ka.wa()],(v,w,x)=>v.valueOf()?t:w.valueOf()?r:x.valueOf()&&void 0!==u?u:p,olympe.j.Color);void 0!==b&&this.Jb(b);this.label.lb(d(this.W,this.Eb,this.xb,this.W));this.C.Jb(this.Ha);this.C.lb(d(this.W,this.Eb,this.xb,this.W));this.C.vb('FontAwesome');this.C.Ub(olympe.ui.ha.Db.Sb);this.C.rd(this.Ha.Fi());b=olympe.j.$a(this.Ha.Fi(),()=>this.label.Cd(),()=>this.label.Cd().Sa(this.C.Cd()).Sa(this.Oa),olympe.j.aa);b=c.ya(b).Ua(2);this.label.setPosition(new olympe.j.ga(this.R.Sa(b),
766
+ t,u)=>olympe.j.Xa([this.da.wa(),this.D.wa(),this.Ka.wa()],(v,w,x)=>v.valueOf()?t:w.valueOf()?r:x.valueOf()&&void 0!==u?u:p,olympe.j.Color);void 0!==b&&this.Jb(b);this.label.lb(d(this.W,this.Eb,this.xb,this.W));this.C.Jb(this.Ha);this.C.lb(d(this.W,this.Eb,this.xb,this.W));this.C.wb('FontAwesome');this.C.Ub(olympe.ui.ha.Db.Sb);this.C.rd(this.Ha.Fi());b=olympe.j.$a(this.Ha.Fi(),()=>this.label.Cd(),()=>this.label.Cd().Sa(this.C.Cd()).Sa(this.Oa),olympe.j.aa);b=c.ya(b).Ua(2);this.label.setPosition(new olympe.j.ga(this.R.Sa(b),
767
767
  this.R));this.C.setPosition(new olympe.j.ga(this.label.ae().qa().Sa(this.label.Cd()).Sa(this.Oa),this.R));Kf(this,this.label,'label');Kf(this,this.C,'icon');olympe.ui.F.jc.prototype.$d.call(this,n);olympe.ui.F.ce.prototype.ad.call(this,((p,r,t,u)=>olympe.j.Xa([this.da.wa(),this.D.wa(),this.Ka.wa()],(v,w,x)=>v.valueOf()?t:w.valueOf()?r:x.valueOf()&&void 0!==u?u:p,olympe.j.aa))(this.R,this.Ko,this.gd,this.ag));olympe.ui.F.mb.prototype.nd.call(this,d(this.kc,this.Cl,this.Yc,this.lg));olympe.ui.F.mb.prototype.Ma.call(this,
768
768
  d(this.cf,this.xk,this.ld,this.vf));K(this.ca,void 0!==a?a.ta():n.na().ta());olympe.ui.F.mb.prototype.Gb.call(this,new olympe.j.ga(this.ma,this.ca));olympe.j.$a(this.Nf,()=>{this.label.Fc(this.T);olympe.j.Qa(this.Ha.Fi()).valueOf()?(this.label.Kc(this.T),K(this.ma,this.label.Cd())):(this.C.Kc(this.T),K(this.ma,this.label.Cd().Sa(this.C.Cd()).Sa(this.Oa).Sa(this.T)))},()=>{this.label.Fc(olympe.j.aa.ZERO);this.label.Kc(olympe.j.aa.ZERO);this.C.Kc(olympe.j.aa.ZERO);K(this.ma,void 0!==a?a.qa():n.na().qa())});
769
769
  olympe.j.$a(this.Ne,()=>{this.label.td(this.ob);this.label.sd(this.ob);K(this.ca,this.label.na().ta())},()=>{this.label.td(olympe.j.aa.ZERO);this.label.sd(olympe.j.aa.ZERO);K(this.ca,void 0!==a?a.ta():n.na().ta())})}TY(a){this.label.Jb(a);return this}RY(a){K(this.Ha,a);return this}Jb(a){this.label.Jb(a);return this}bi(a){this.label.bi(a);return this}VR(a){this.label.Yn(a);return this}Ub(a){this.label.Ub(a);return this}Xb(a){this.label.Xb(a);return this}rb(a){this.label.rb(a);return this}Od(a){this.label.Od(a);
770
- return this}lb(a){return this.Ex(a)}Bb(a){this.label.Bb(a);return this}vb(a){this.label.vb(a);return this}Ma(a){K(this.cf,a);return this}uC(a){K(this.ld,a)}Zj(a){K(this.xk,a);return this}UR(a){K(this.vf,a);return this}vC(a){K(this.xb,a)}wC(a){K(this.Eb,a)}yI(a){K(this.Yc,a)}zI(a){K(this.Cl,a)}PY(a){K(this.lg,a);return this}aZ(a){K(this.Ko,a);return this}QY(a){K(this.ag,a);return this}MY(a){K(this.gd,a);return this}Yd(a,b=0){a='boolean'===typeof a?olympe.j.hc(a):a;b='number'===typeof b?olympe.j.Ba(b):
770
+ return this}lb(a){return this.Ex(a)}Bb(a){this.label.Bb(a);return this}wb(a){this.label.wb(a);return this}Ma(a){K(this.cf,a);return this}vC(a){K(this.ld,a)}Zj(a){K(this.xk,a);return this}UR(a){K(this.vf,a);return this}wC(a){K(this.xb,a)}xC(a){K(this.Eb,a)}yI(a){K(this.Yc,a)}zI(a){K(this.Cl,a)}PY(a){K(this.lg,a);return this}aZ(a){K(this.Ko,a);return this}QY(a){K(this.ag,a);return this}MY(a){K(this.gd,a);return this}Yd(a,b=0){a='boolean'===typeof a?olympe.j.hc(a):a;b='number'===typeof b?olympe.j.Ba(b):
771
771
  b;K(this.Nf,a);K(this.T,b);return this}Ed(a,b=0){a='boolean'===typeof a?olympe.j.hc(a):a;b='number'===typeof b?olympe.j.Ba(b):b;K(this.Ne,a);K(this.ob,b);return this}SY(a=0){K(this.Oa,a);return this}Ld(a,b){this.ad(a);this.nd(b);return this}ad(a){K(this.R,a)}nd(a){K(this.kc,a)}Ex(a){K(this.W,a);return this}TR(a){return this.Ex(a)}Cf(a){olympe.j.Mg(a)?this.da.repeat(a):this.da.update(a);return this}Gb(a){K(this.Nf,!1);K(this.ma,a.qa());K(this.ca,a.ta());return this}Vc(a,b,c){return super.Vc(d=>{if(!olympe.j.Qa(this.da).valueOf())return a(d)},
772
- b,c)}$d(a){a&&(super.$d(a),this.Yd(a.KH(),a.OM()),this.uC(a.kN()),this.Zj(a.SN()),this.vC(a.mN()),this.wC(a.UN()),this.yI(a.lN()),this.zI(a.TN()),this.Ub(a.NH()),this.Xb(a.OH()),this.Ex(a.MH()),this.rb(a.LH()),this.vb(a.Ai()),this.Bb(a.Bi()))}Bg(a){K(this.Pb,a);return this}};olympe.ui.F.jc.Aa=[olympe.ui.F.Dv];h=olympe.ui.F.jc.prototype;h.TY.K=olympe.j.J.C([]);h.RY.K=olympe.j.J.C([]);h.Jb.K=olympe.j.J.C([]);h.bi.K=olympe.j.J.C([]);h.VR.K=olympe.j.J.C([]);h.Ub.K=olympe.j.J.C([]);h.Xb.K=olympe.j.J.C([]);
773
- h.rb.K=olympe.j.J.C([]);h.Od.K=olympe.j.J.C([]);h.lb.K=olympe.j.J.C([]);h.Bb.K=olympe.j.J.C([]);h.vb.K=olympe.j.J.C([]);h.Ma.K=olympe.j.J.C([]);h.uC.K=olympe.j.J.C([]);h.Zj.K=olympe.j.J.C([]);h.UR.K=olympe.j.J.C([]);h.vC.K=olympe.j.J.C([]);h.wC.K=olympe.j.J.C([]);h.yI.K=olympe.j.J.C([]);h.zI.K=olympe.j.J.C([]);h.PY.K=olympe.j.J.C([]);h.aZ.K=olympe.j.J.C([]);h.QY.K=olympe.j.J.C([]);h.MY.K=olympe.j.J.C([]);h.Yd.K=olympe.j.J.C([]);h.Ed.K=olympe.j.J.C([]);h.SY.K=olympe.j.J.C([]);h.ad.K=olympe.j.J.C([]);
772
+ b,c)}$d(a){a&&(super.$d(a),this.Yd(a.KH(),a.OM()),this.vC(a.kN()),this.Zj(a.SN()),this.wC(a.mN()),this.xC(a.UN()),this.yI(a.lN()),this.zI(a.TN()),this.Ub(a.NH()),this.Xb(a.OH()),this.Ex(a.MH()),this.rb(a.LH()),this.wb(a.Ai()),this.Bb(a.Bi()))}Bg(a){K(this.Pb,a);return this}};olympe.ui.F.jc.Aa=[olympe.ui.F.Dv];h=olympe.ui.F.jc.prototype;h.TY.K=olympe.j.J.C([]);h.RY.K=olympe.j.J.C([]);h.Jb.K=olympe.j.J.C([]);h.bi.K=olympe.j.J.C([]);h.VR.K=olympe.j.J.C([]);h.Ub.K=olympe.j.J.C([]);h.Xb.K=olympe.j.J.C([]);
773
+ h.rb.K=olympe.j.J.C([]);h.Od.K=olympe.j.J.C([]);h.lb.K=olympe.j.J.C([]);h.Bb.K=olympe.j.J.C([]);h.wb.K=olympe.j.J.C([]);h.Ma.K=olympe.j.J.C([]);h.vC.K=olympe.j.J.C([]);h.Zj.K=olympe.j.J.C([]);h.UR.K=olympe.j.J.C([]);h.wC.K=olympe.j.J.C([]);h.xC.K=olympe.j.J.C([]);h.yI.K=olympe.j.J.C([]);h.zI.K=olympe.j.J.C([]);h.PY.K=olympe.j.J.C([]);h.aZ.K=olympe.j.J.C([]);h.QY.K=olympe.j.J.C([]);h.MY.K=olympe.j.J.C([]);h.Yd.K=olympe.j.J.C([]);h.Ed.K=olympe.j.J.C([]);h.SY.K=olympe.j.J.C([]);h.ad.K=olympe.j.J.C([]);
774
774
  h.nd.K=olympe.j.J.C([]);h.Ex.K=olympe.j.J.C([]);h.TR.K=olympe.j.J.C([]);h.Cf.K=olympe.j.J.C([]);h.Gb.K=olympe.j.J.C([]);h.Bg.K=olympe.j.J.C([]);olympe.ui.F.ye=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.F.ce,olympe.host.ab.jb.Ez),a)}};olympe.ui.F.em=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.F.ce,olympe.host.ab.jb.Ez));this.Gb(new olympe.j.ga(a,a));this.Wb(this.na().qa().Ua(2))}};function Qf(a,b,c,d,e){d=void 0===d?olympe.j.aa.ZERO:olympe.j.la(d);e=void 0===e?olympe.j.aa.ZERO:olympe.j.la(e);olympe.j.$a(a.Ka.wa(),()=>{a.W.repeat(olympe.j.aa.max(a.T))},()=>{olympe.j.Mg(b)?a.W.repeat(b):a.W.update(void 0!==b?b:olympe.j.aa.ZERO)});c=void 0!==c?olympe.j.Mg(c)?c:olympe.j.Ba(c):olympe.j.Xa([a.R.Qc(),a.Eb],(f,g)=>olympe.j.Ba(f-g),olympe.j.aa);a.ob(a.W.wa(),c,d,e);Kf(a,a.content,'Layout content')}
775
775
  olympe.ui.F.Rs=class extends olympe.ui.F.ce{constructor(a,b,c,d,e,f=!1,g=!1){super();this.R=new olympe.j.Hz;this.Pb=g;this.kc=f;this.Ka=olympe.j.Za(olympe.j.ia,'Abstract Layout childWatchedDimensionFS').update(void 0!==a?olympe.j.ia.pb:olympe.j.ia.C);this.W=M(olympe.j.Za(olympe.j.aa,'abstract Layout childWatchedDimension'),olympe.j.aa.ZERO);this.T=new olympe.j.Map(olympe.j.aa);this.T.set('DefaultSize',olympe.j.aa.ZERO);this.Eb=void 0===c?olympe.j.aa.ZERO:olympe.j.la(c);this.content=new olympe.ui.F.Xe;
776
776
  this.content.Lr();Qf(this,a,b,d,e)}lc(){return this.content.lc()||super.lc()}appendChild(a,b,...c){const d=0<c.length?c[0]:olympe.j.aa.ONE,e=1<c.length?c[1]:olympe.j.aa.ONE;var f=2<c.length?c[2]:olympe.ui.ha.Db.Tf,g=3<c.length?c[3]:void 0;if('string'!==typeof b)throw Error('A child should be registered using a string id');void 0!==this.T.Fj(b)&&this.removeChild(b);c=olympe.j.$a(a.es(),()=>olympe.j.aa.ZERO,()=>d.Sa(this.Eb),olympe.j.aa);g=Oc(this.R,b,c,g);switch(f){case olympe.ui.ha.Db.Sb:f=this.content.na().qa().ya(a.na().qa()).Ua(2);
@@ -784,58 +784,58 @@ var c=Oc(this.Ha,b,olympe.j.la(1)),d=a.na().qa().Sa(this.D);const e=a.na().ta().
784
784
  a);return this}aP(a){K(this.Oa,a)}};h=olympe.ui.F.Hf.prototype;h.appendChild.K=olympe.j.J.C([]);h.removeChild.K=olympe.j.J.C([]);h.mg.K=olympe.j.J.C([]);h.Qc.K=olympe.j.J.D;h.Ed.K=olympe.j.J.C([]);h.aP.K=olympe.j.J.C([]);olympe.ui.F.IJ=class{constructor(a,b,c,d,e,f,g,k,l,m,n,p){this.sb=olympe.j.la(0);this.Oa=olympe.j.la(Number.MAX_SAFE_INTEGER);new olympe.j.Hz;this.R=olympe.j.la(0);this.Ne=olympe.j.Wc(!1);this.height=void 0===b?olympe.j.la(0):olympe.j.la(b);this.width=void 0===a?olympe.j.la(0):olympe.j.la(a);this.Ka=olympe.j.Wc(void 0!==p?p:!0);this.ca=void 0===d?olympe.j.la(0):olympe.j.la(d);this.da=void 0===e?olympe.j.la(0):olympe.j.la(e);this.za=void 0===f?olympe.j.la(0):olympe.j.la(f);this.ob=void 0===k?olympe.j.la(0):
785
785
  olympe.j.la(k);this.Pa=void 0===l?olympe.j.la(0):olympe.j.la(l);this.xb=void 0===m?olympe.j.la(0):olympe.j.la(m);this.ma=this.width.ya(this.da).ya(this.za);this.W=olympe.j.la(c).Sa(this.ca);this.T=olympe.j.la(g).Sa(this.ob);this.D=this.ma.Ua(this.W).floor();this.$=this.R.Ua(this.D).ceil();this.C=olympe.j.la();this.O=olympe.j.la();void 0===b&&K(this.Ne,!0);olympe.j.$a(this.Ne,()=>{K(this.height,this.T)});void 0===n||n?olympe.j.$a(this.$.Mj(1),()=>{K(this.C,this.D)},()=>{K(this.C,this.R)}):K(this.C,
786
786
  this.D);olympe.j.$a(this.Ka,()=>{var r=this.W.hb(this.ma.Ua(this.W).ya(this.C));const t=this.C.Sa(1);r=r.Ua(t);K(this.O,r.Sa(this.ca))},()=>{K(this.O,this.ca)});this.Ha=new olympe.j.ga(this.width.Sa(this.da).Sa(this.za),this.height.Sa(this.Pa).Sa(this.xb))}zw(a,b,c,d,e,f,g){f=e.gf(d);const k=b(c,d,f,e,g);olympe.j.Qa(e.Qc()).Sa(1).Se(olympe.j.Qa(this.R)).valueOf()||K(this.R,e.Qc());b=k.na().qa().Sa(this.O);const l=k.na().ta().Sa(this.O);b=olympe.j.Gi(f.ox(this.D).hb(b).Sa(this.O),olympe.j.la(300),
787
- olympe.j.aa.Dh.xp);f=olympe.j.Gi(f.Ua(this.D).ya(.5).round().hb(l),olympe.j.la(300),olympe.j.aa.Dh.xp);olympe.j.$a(this.$.Mj(1).and(this.Ne),()=>{K(this.T,this.$.hb(l))},()=>{K(this.T,k.na().ta())});k.setPosition(new olympe.j.ga(b.Sa(this.da),f.Sa(this.Pa)));a.appendChild(k,d);return k}na(){return this.Ha}AA(){return this.sb}kA(){return this.Oa}};olympe.ui.F.IJ.Aa=[olympe.ui.F.br];olympe.ui.F.IJ.prototype.na.K=olympe.j.J.W;olympe.ui.F.Ue=class extends olympe.ui.F.mb{constructor(a,b){super(olympe.ui.Na.C(olympe.N.F.Ue,olympe.host.ab.jb.eD),b)}C(){return this.te()}};olympe.ui.F.Ue.prototype.C.K=new olympe.j.J(()=>olympe.N.F.Ue,[]);function Rf(a,b){a.C[olympe.oa.pk()]=b}
788
- olympe.ui.F.Ie=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.F.Ie,olympe.host.ab.jb.UK));this.D=olympe.j.ia.C;this.C=Object.create(null);T(this).SA(b=>{const c=[];let d,e,f;d=0;for(e=b.length;d<e;d++)f=b[d],c.push(new olympe.ui.F.SG(f.content,f.name,f.mimeType,f.size));for(let g in this.C)this.C[g](c)});this.Gb(void 0!==a?a:new olympe.j.ga(400,200));this.Vc(()=>{const b=olympe.j.Qa(this.D);b&&b.valueOf()&&T(this).Js()})}Zt(a){T(this).Zt(a);return this}Qu(a){T(this).Qu(a);
789
- return this}yx(a){this.D=a;return this}Cf(a){T(this).Cf(a);return this}zs(a){T(this).zs(a);return this}eu(){T(this).eu();return this}Js(){T(this).Js();return this}};h=olympe.ui.F.Ie.prototype;h.Zt.K=olympe.j.J.C([]);h.Qu.K=olympe.j.J.C([]);h.yx.K=olympe.j.J.C([]);h.Cf.K=olympe.j.J.C([]);h.zs.K=olympe.j.J.C([]);h.eu.K=olympe.j.J.C([]);h.Js.K=olympe.j.J.C([]);olympe.ui.F.SG=class{constructor(a,b,c,d){this.content=a;this.name=b;this.mimeType=c;this.size=d}le(){return olympe.j.ic(`file:${this.name}`)}Pe(){return this.content}Uw(a,b){void 0===a&&void 0===b||olympe.gb.Cb('olympe.ui.std.FileUploadItem.getContentAsBinary').warn('"onSuccess" and "onFailure" callbacks are deprecated in favor of the returned promise');null==a||a(this.content);return Promise.resolve(this.content)}jA(a,b){void 0===a&&void 0===b||olympe.gb.Cb('olympe.ui.std.FileUploadItem.getContentAsString').warn('"onSuccess" and "onFailure" callbacks are deprecated in favor of the returned promise');
790
- b=fb(this.content);null==a||a(b);return Promise.resolve(b)}Vr(a,b){void 0===a&&void 0===b||olympe.gb.Cb('olympe.ui.std.FileUploadItem.getContentUrl').warn('"onSuccess" and "onFailure" callbacks are deprecated in favor of the returned promise');b=`data:${this.mimeType};base64,${olympe.oa.Dj().C(this.content)}`;null==a||a(b);return Promise.resolve(b)}rE(a,b){olympe.j.Wa([a],c=>{this.name=c.valueOf()});b(!0)}bb(){return olympe.j.ic(this.name)}Zy(){return olympe.j.ic(this.name)}bx(){return olympe.j.ic(this.mimeType)}Qc(){return this.size}};
791
- olympe.ui.F.SG.Aa=[olympe.j.File];olympe.ui.F.Qf=class{constructor(){}filter(){}};olympe.ui.F.Be=class extends olympe.ui.F.wd{constructor(a,b,c,d){super(a);this.data=olympe.j.ub(olympe.j.Ug);this.C=olympe.j.la();this.R=new olympe.j.ga(this.na().qa(),this.C);this.We=olympe.j.ub(Object);this.content=new olympe.ui.F.Xe(new olympe.j.ga(this.na().qa(),this.C.hb(this.data.Qc())));olympe.j.qd();olympe.j.qd();this.D=olympe.j.ub();this.O=olympe.j.ub(String);a&&this.Gb(a);b&&this.AI(b);c&&this.gP(c);d&&this.BI(d);this.Nd(this.content);jc(this.data,e=>{ic(this.D,e.Ee())});jc(this.We,e=>{this.data.forEach((f,
792
- g,k)=>{k=k.gf(g);const l=e(this.R,f,g,k);l.Vc(()=>{I(this.D,f);I(this.O,g)});this.content.appendChild(l,g,new olympe.j.ga(0,k.hb(this.C)))})})}AI(a){K(this.data,a)}gP(a){K(this.C,a)}BI(a){K(this.We,a)}WR(){return this.O}XR(){return this.D}};h=olympe.ui.F.Be.prototype;h.AI.K=olympe.j.J.C([]);h.gP.K=olympe.j.J.C([]);h.BI.K=olympe.j.J.C([]);h.WR.K=new olympe.j.J(()=>String,[]);h.XR.K=new olympe.j.J(()=>Object,[]);olympe.ui.F.zm=class{constructor(){}run(){}Rj(){}C(){}};function Sf(a){const b=a.ma+String((new Date).getTime()+Math.random());olympe.j.$a(a.Oa,()=>{null!==a.D&&a.D.ah(olympe.ui.Na.O(b+'_overlay').Sa(1));a.C.ah(olympe.ui.Na.O(b).Sa(1));a.O=F(a.T);a.O.appendChild(a.C,a.ma);const c=()=>{for(const e in a.xb)if(Object.prototype.hasOwnProperty.call(a.xb,e))a.xb[e]();a.tE();null!==a.D&&a.D.setPosition(new olympe.j.ga(0,0))},d=F(a.animation);null!==d?F(a.Ka).valueOf()?d.Rj(a.content,a.O,c):d.Rj(a.C,a.O,c):c();null!==a.D&&(a.O.mj(),a.O.appendChild(a.D,a.ma+'_overlay'),
793
- null!==d&&F(a.za).valueOf()&&d.Rj(a.D,a.O,c))},()=>{if(null!==a.O){const c=a.O;a.O=null;const d=()=>{olympe.ui.Na.R(b+'_overlay');olympe.ui.Na.R(b);c.removeChild(a.ma);null!==a.D&&c.removeChild(a.ma+'_overlay');a.tE();null!==a.D&&a.D.setPosition(new olympe.j.ga(0,0));for(const f in a.$)if(Object.prototype.hasOwnProperty.call(a.$,f))a.$[f]()},e=olympe.j.Qa(a.animation);if(null!==e&&void 0!==e){const f=null!==a.D&&olympe.j.Qa(a.za)===olympe.j.ia.C;F(a.Ka).valueOf()?e.C(a.content,c,f?void 0:d):e.C(a.C,
787
+ olympe.j.aa.Dh.xp);f=olympe.j.Gi(f.Ua(this.D).ya(.5).round().hb(l),olympe.j.la(300),olympe.j.aa.Dh.xp);olympe.j.$a(this.$.Mj(1).and(this.Ne),()=>{K(this.T,this.$.hb(l))},()=>{K(this.T,k.na().ta())});k.setPosition(new olympe.j.ga(b.Sa(this.da),f.Sa(this.Pa)));a.appendChild(k,d);return k}na(){return this.Ha}AA(){return this.sb}kA(){return this.Oa}};olympe.ui.F.IJ.Aa=[olympe.ui.F.br];olympe.ui.F.IJ.prototype.na.K=olympe.j.J.W;olympe.ui.F.Ue=class extends olympe.ui.F.mb{constructor(a,b){super(olympe.ui.Na.C(olympe.N.F.Ue,olympe.host.ab.jb.fD),b)}C(){return this.te()}};olympe.ui.F.Ue.prototype.C.K=new olympe.j.J(()=>olympe.N.F.Ue,[]);function Rf(a,b){a.C[olympe.oa.pk()]=b}
788
+ olympe.ui.F.Ie=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.F.Ie,olympe.host.ab.jb.UK));this.D=olympe.j.ia.C;this.C=Object.create(null);T(this).SA(b=>{const c=[];let d,e,f;d=0;for(e=b.length;d<e;d++)f=b[d],c.push(new olympe.ui.F.TG(f.content,f.name,f.mimeType,f.size));for(let g in this.C)this.C[g](c)});this.Gb(void 0!==a?a:new olympe.j.ga(400,200));this.Vc(()=>{const b=olympe.j.Qa(this.D);b&&b.valueOf()&&T(this).Js()})}Zt(a){T(this).Zt(a);return this}Qu(a){T(this).Qu(a);
789
+ return this}yx(a){this.D=a;return this}Cf(a){T(this).Cf(a);return this}zs(a){T(this).zs(a);return this}eu(){T(this).eu();return this}Js(){T(this).Js();return this}};h=olympe.ui.F.Ie.prototype;h.Zt.K=olympe.j.J.C([]);h.Qu.K=olympe.j.J.C([]);h.yx.K=olympe.j.J.C([]);h.Cf.K=olympe.j.J.C([]);h.zs.K=olympe.j.J.C([]);h.eu.K=olympe.j.J.C([]);h.Js.K=olympe.j.J.C([]);olympe.ui.F.TG=class{constructor(a,b,c,d){this.content=a;this.name=b;this.mimeType=c;this.size=d}le(){return olympe.j.ic(`file:${this.name}`)}Pe(){return this.content}Uw(a,b){void 0===a&&void 0===b||olympe.gb.Cb('olympe.ui.std.FileUploadItem.getContentAsBinary').warn('"onSuccess" and "onFailure" callbacks are deprecated in favor of the returned promise');null==a||a(this.content);return Promise.resolve(this.content)}jA(a,b){void 0===a&&void 0===b||olympe.gb.Cb('olympe.ui.std.FileUploadItem.getContentAsString').warn('"onSuccess" and "onFailure" callbacks are deprecated in favor of the returned promise');
790
+ b=fb(this.content);null==a||a(b);return Promise.resolve(b)}Vr(a,b){void 0===a&&void 0===b||olympe.gb.Cb('olympe.ui.std.FileUploadItem.getContentUrl').warn('"onSuccess" and "onFailure" callbacks are deprecated in favor of the returned promise');b=`data:${this.mimeType};base64,${olympe.oa.Dj().C(this.content)}`;null==a||a(b);return Promise.resolve(b)}sE(a,b){olympe.j.Wa([a],c=>{this.name=c.valueOf()});b(!0)}bb(){return olympe.j.ic(this.name)}Zy(){return olympe.j.ic(this.name)}bx(){return olympe.j.ic(this.mimeType)}Qc(){return this.size}};
791
+ olympe.ui.F.TG.Aa=[olympe.j.File];olympe.ui.F.Qf=class{constructor(){}filter(){}};olympe.ui.F.Be=class extends olympe.ui.F.wd{constructor(a,b,c,d){super(a);this.data=olympe.j.ub(olympe.j.Ug);this.C=olympe.j.la();this.R=new olympe.j.ga(this.na().qa(),this.C);this.We=olympe.j.ub(Object);this.content=new olympe.ui.F.Xe(new olympe.j.ga(this.na().qa(),this.C.hb(this.data.Qc())));olympe.j.qd();olympe.j.qd();this.D=olympe.j.ub();this.O=olympe.j.ub(String);a&&this.Gb(a);b&&this.AI(b);c&&this.gP(c);d&&this.BI(d);this.Nd(this.content);jc(this.data,e=>{ic(this.D,e.Ee())});jc(this.We,e=>{this.data.forEach((f,
792
+ g,k)=>{k=k.gf(g);const l=e(this.R,f,g,k);l.Vc(()=>{I(this.D,f);I(this.O,g)});this.content.appendChild(l,g,new olympe.j.ga(0,k.hb(this.C)))})})}AI(a){K(this.data,a)}gP(a){K(this.C,a)}BI(a){K(this.We,a)}WR(){return this.O}XR(){return this.D}};h=olympe.ui.F.Be.prototype;h.AI.K=olympe.j.J.C([]);h.gP.K=olympe.j.J.C([]);h.BI.K=olympe.j.J.C([]);h.WR.K=new olympe.j.J(()=>String,[]);h.XR.K=new olympe.j.J(()=>Object,[]);olympe.ui.F.zm=class{constructor(){}run(){}Rj(){}C(){}};function Sf(a){const b=a.ma+String((new Date).getTime()+Math.random());olympe.j.$a(a.Oa,()=>{null!==a.D&&a.D.ah(olympe.ui.Na.O(b+'_overlay').Sa(1));a.C.ah(olympe.ui.Na.O(b).Sa(1));a.O=F(a.T);a.O.appendChild(a.C,a.ma);const c=()=>{for(const e in a.xb)if(Object.prototype.hasOwnProperty.call(a.xb,e))a.xb[e]();a.uE();null!==a.D&&a.D.setPosition(new olympe.j.ga(0,0))},d=F(a.animation);null!==d?F(a.Ka).valueOf()?d.Rj(a.content,a.O,c):d.Rj(a.C,a.O,c):c();null!==a.D&&(a.O.mj(),a.O.appendChild(a.D,a.ma+'_overlay'),
793
+ null!==d&&F(a.za).valueOf()&&d.Rj(a.D,a.O,c))},()=>{if(null!==a.O){const c=a.O;a.O=null;const d=()=>{olympe.ui.Na.R(b+'_overlay');olympe.ui.Na.R(b);c.removeChild(a.ma);null!==a.D&&c.removeChild(a.ma+'_overlay');a.uE();null!==a.D&&a.D.setPosition(new olympe.j.ga(0,0));for(const f in a.$)if(Object.prototype.hasOwnProperty.call(a.$,f))a.$[f]()},e=olympe.j.Qa(a.animation);if(null!==e&&void 0!==e){const f=null!==a.D&&olympe.j.Qa(a.za)===olympe.j.ia.C;F(a.Ka).valueOf()?e.C(a.content,c,f?void 0:d):e.C(a.C,
794
794
  c,f?void 0:d);f&&e.C(a.D,a.O,d)}else d()}})}function Tf(a,b,c){c=void 0!==c?c:olympe.oa.bf();a.$[c]=b}function Uf(a,b,c){c=void 0!==c?c:olympe.oa.bf();0===a.Ha.size&&a.D.Vc(d=>{for(const e of a.Ha.values())e(d)},'onOverlayClick');a.Ha.set(c,b)}function Vf(a){a.Ha.has('closableByClickingOut')||Uf(a,()=>{a.Sk(!1)},'closableByClickingOut')}
795
795
  olympe.ui.F.hg=class{constructor(a,b,c,d){this.cf=olympe.ui.F.hg.R;olympe.ui.F.hg.R++;this.ma=(d?d:'floatingElement')+'_'+this.cf;this.animation=olympe.j.ub(olympe.ui.F.zm,null);this.Ka=olympe.j.Wc(!1);this.C=new olympe.ui.F.Xe(a);this.content=olympe.j.ub(olympe.ui.F.mb);this.T=null===c||void 0===c?olympe.j.ub(olympe.ui.F.pf,olympe.ui.Na.hf()):c instanceof olympe.j.Proxy?c:olympe.j.ub(olympe.ui.F.ce,c);this.O=null;this.Oa=olympe.j.Wc(!1);this.$={};this.xb={};this.W=null;this.Nf=olympe.j.Wc(!1);this.Ne=
796
796
  olympe.j.Wc(!1);this.Hg=void 0!==b?b:!0;this.za=this.D=this.ob=null;this.Ha=new Map;this.Hg&&(this.ob=olympe.j.qd(),this.D=new olympe.ui.F.ye(this.T.na()),this.za=olympe.j.Wc(!1),this.D.Ma(this.ob));this.C.Ef(this.T);this.C.Tj(!0);Sf(this);this.C.appendChild(this.content,'content');this.ZA()}ZA(){olympe.j.$a(this.Nf,()=>{olympe.j.$a(this.Ne,()=>{this.C.Gb(this.content.na())},()=>{olympe.j.Wa([this.C.na()],a=>a.oe(this.content.na().qa()))})},()=>{olympe.j.$a(this.Ne,()=>{olympe.j.Wa([this.C.na()],
797
- a=>a.Fe(this.content.na().ta()))})})}Nd(a){K(this.content,a);return this}getParent(){return this.T}Sk(a){K(this.Oa,a)}isVisible(){return this.Oa}EI(a){K(this.animation,a)}Tr(){return this.animation}CI(a){K(this.Ka,a)}DI(a){K(this.za,a)}xC(a){K(this.ob,a)}Yd(a){K(this.Nf,a);return this}Ed(a){K(this.Ne,a);return this}setPosition(a){this.C.setPosition(a);return this}ae(){return this.C.ae()}Gb(a){this.C.Gb(a);return this}na(){return this.C.na()}setScale(a){this.C.setScale(a);return this}Ma(a){this.C.Ma(a);
797
+ a=>a.Fe(this.content.na().ta()))})})}Nd(a){K(this.content,a);return this}getParent(){return this.T}Sk(a){K(this.Oa,a)}isVisible(){return this.Oa}EI(a){K(this.animation,a)}Tr(){return this.animation}CI(a){K(this.Ka,a)}DI(a){K(this.za,a)}yC(a){K(this.ob,a)}Yd(a){K(this.Nf,a);return this}Ed(a){K(this.Ne,a);return this}setPosition(a){this.C.setPosition(a);return this}ae(){return this.C.ae()}Gb(a){this.C.Gb(a);return this}na(){return this.C.na()}setScale(a){this.C.setScale(a);return this}Ma(a){this.C.Ma(a);
798
798
  return this}Wb(a){this.C.Wb(a);return this}Ld(a,b){this.C.Ld(a,b);return this}ng(a){this.C.ng(a);return this}Yg(a,b,c,d,e){this.C.Yg(a,b,c,d,e);return this}pV(){olympe.j.Wa([this.T],a=>{this.Ew(a,olympe.ui.F.hg.D.Sc,olympe.ui.F.hg.O.Sc)});return this}Ew(a,b,c){const d=olympe.ui.F.hg.O,e=olympe.ui.F.hg.D,f=a.xh().qa(),g=a.xh().ta();var k=olympe.ui.Na.hf().na().ta(),l=olympe.ui.Na.hf().na().qa();switch(b){case e.mJ:b=f.ya(this.C.na().qa());break;case e.ez:b=f;break;case e.wK:b=f.Sa(a.na().qa().ya(this.C.na().qa()));
799
- break;case e.xK:b=f.Sa(a.na().qa());break;default:b=f.Sa(a.na().qa().ya(this.C.na().qa()).Ua(2))}switch(c){case d.kD:a=g.ya(this.C.na().ta());break;case d.tL:a=g;break;case d.EF:a=g.Sa(a.na().ta().ya(this.C.na().ta()));break;case d.wy:a=g.Sa(a.na().ta());break;default:a=g.Sa(a.na().ta().ya(this.C.na().ta()).Ua(2))}c=olympe.j.Qa(this.T).xh();b=b.ya(c.qa());a=a.ya(c.ta());const m=(n,p,r,t)=>{n+p+t>r&&(n=r-p-t);return n<t?t:n};l=olympe.j.Xa([b,this.na().qa(),l],(n,p,r)=>olympe.j.Ba(m(n.valueOf(),p.valueOf(),
800
- r.valueOf(),10)),olympe.j.aa);k=olympe.j.Xa([a,this.na().ta(),k],(n,p,r)=>olympe.j.Ba(m(n.valueOf(),p.valueOf(),r.valueOf(),10)),olympe.j.aa);k=new olympe.j.ga(l,k);this.C.setPosition(k);this.W=k}qV(a,b,c,d){const e=olympe.ui.F.hg.O,f=olympe.ui.F.hg.D,g=a.wh().qa();a=a.wh().ta();switch(b){case f.mJ:case f.ez:b=g.ya(this.C.na().qa());break;case f.wK:case f.xK:b=g.Sa(10);break;default:b=g.ya(this.C.na().qa().Ua(2))}switch(c){case e.kD:case e.tL:c=a.ya(this.C.na().ta()).ya(10);break;case e.EF:case e.wy:c=
801
- a;break;default:c=a.ya(this.C.na().ta().Ua(2))}c=new olympe.j.ga(b,c);d&&(c=c.Sa(d));c=c.ya(F(this.T).xh());this.C.setPosition(c);this.W=c;return this}tE(){null!==this.W&&this.C.setPosition(this.W)}xY(){this.W=null;return this}rh(a){a&&(this.C.$d(a),this.EI(a.Tr()),this.Hg&&(this.xC(a.VH()),this.DI(a.UH())),this.CI(a.TH()),this.Yd(a.cz()),this.Ed(a.bz()))}};olympe.ui.F.hg.R=0;olympe.ui.F.hg.O={kD:'top_out',tL:'top_in',Sc:'middle',EF:'bottom_in',wy:'bottom_out'};
802
- olympe.ui.F.hg.D={mJ:'left_out',ez:'top_in',Sc:'middle',wK:'bottom_in',xK:'bottom_out'};h=olympe.ui.F.hg.prototype;h.ZA.K=olympe.j.J.C([]);h.Nd.K=olympe.j.J.C([]);h.getParent.K=new olympe.j.J(()=>olympe.ui.F.mb,[]);h.Sk.K=olympe.j.J.C([]);h.isVisible.K=olympe.j.J.T;h.EI.K=olympe.j.J.C([]);h.CI.K=olympe.j.J.C([]);h.DI.K=olympe.j.J.C([]);h.xC.K=olympe.j.J.C([]);h.Yd.K=olympe.j.J.C([]);h.Ed.K=olympe.j.J.C([]);h.setPosition.K=olympe.j.J.C([]);h.ae.K=olympe.j.J.W;h.Gb.K=olympe.j.J.C([]);h.na.K=olympe.j.J.W;
803
- h.setScale.K=olympe.j.J.C([]);h.Ma.K=olympe.j.J.C([]);h.Wb.K=olympe.j.J.C([]);h.Ld.K=olympe.j.J.C([]);h.ng.K=olympe.j.J.C([]);h.Yg.K=olympe.j.J.C([]);h.pV.K=olympe.j.J.C([]);h.Ew.K=olympe.j.J.C([]);h.qV.K=olympe.j.J.C([]);h.tE.K=olympe.j.J.C([]);h.xY.K=olympe.j.J.C([]);h.rh.K=new olympe.j.J(()=>{},[0]);olympe.ui.F.RQ=class extends olympe.ui.F.hg{constructor(a){super(void 0,!1,void 0,'floating panel');this.Ma(O());this.Yd(!0);this.Ed(!0);this.Ld(olympe.j.aa.ONE,Ac());a&&this.Nd(a)}};olympe.ui.F.z2=class extends olympe.ui.F.hg{constructor(a,b,c,d){super(b,!1,c,'tooltip');const e=olympe.ui.Na.D().ZD(d);this.rh(e);this.label=olympe.j.$a(this.isVisible(),()=>{const f=new olympe.ui.F.cb(void 0,e.IN());f.Jb(a);f.Yd(!0);return f},void 0,olympe.ui.F.cb);this.Nd(this.label)}ru(){return this.label}rh(a){super.rh(a)}};olympe.ui.F.ew=class extends olympe.ui.F.hg{constructor(a,b,c){void 0===b&&(b=!0);super(a,b,c,'popup');this.lg=new Map;this.vf=new Map;this.W=new olympe.j.ga(this.T.na().qa().ya(this.na().qa()).Ua(2),this.T.na().ta().ya(this.na().ta()).Ua(2));this.setPosition(this.W);a=olympe.ui.Na.D().ex();olympe.ui.F.ew.prototype.rh.call(this,a)}Pa(){Tf(this,()=>{for(const a of this.lg.values())a();delete this.$.onConfirm},'onConfirm');this.Sk(!1)}cancel(){Tf(this,()=>{for(const a of this.vf.values())a();delete this.$.onCancel},
799
+ break;case e.xK:b=f.Sa(a.na().qa());break;default:b=f.Sa(a.na().qa().ya(this.C.na().qa()).Ua(2))}switch(c){case d.lD:a=g.ya(this.C.na().ta());break;case d.tL:a=g;break;case d.FF:a=g.Sa(a.na().ta().ya(this.C.na().ta()));break;case d.wy:a=g.Sa(a.na().ta());break;default:a=g.Sa(a.na().ta().ya(this.C.na().ta()).Ua(2))}c=olympe.j.Qa(this.T).xh();b=b.ya(c.qa());a=a.ya(c.ta());const m=(n,p,r,t)=>{n+p+t>r&&(n=r-p-t);return n<t?t:n};l=olympe.j.Xa([b,this.na().qa(),l],(n,p,r)=>olympe.j.Ba(m(n.valueOf(),p.valueOf(),
800
+ r.valueOf(),10)),olympe.j.aa);k=olympe.j.Xa([a,this.na().ta(),k],(n,p,r)=>olympe.j.Ba(m(n.valueOf(),p.valueOf(),r.valueOf(),10)),olympe.j.aa);k=new olympe.j.ga(l,k);this.C.setPosition(k);this.W=k}qV(a,b,c,d){const e=olympe.ui.F.hg.O,f=olympe.ui.F.hg.D,g=a.wh().qa();a=a.wh().ta();switch(b){case f.mJ:case f.ez:b=g.ya(this.C.na().qa());break;case f.wK:case f.xK:b=g.Sa(10);break;default:b=g.ya(this.C.na().qa().Ua(2))}switch(c){case e.lD:case e.tL:c=a.ya(this.C.na().ta()).ya(10);break;case e.FF:case e.wy:c=
801
+ a;break;default:c=a.ya(this.C.na().ta().Ua(2))}c=new olympe.j.ga(b,c);d&&(c=c.Sa(d));c=c.ya(F(this.T).xh());this.C.setPosition(c);this.W=c;return this}uE(){null!==this.W&&this.C.setPosition(this.W)}xY(){this.W=null;return this}rh(a){a&&(this.C.$d(a),this.EI(a.Tr()),this.Hg&&(this.yC(a.VH()),this.DI(a.UH())),this.CI(a.TH()),this.Yd(a.cz()),this.Ed(a.bz()))}};olympe.ui.F.hg.R=0;olympe.ui.F.hg.O={lD:'top_out',tL:'top_in',Sc:'middle',FF:'bottom_in',wy:'bottom_out'};
802
+ olympe.ui.F.hg.D={mJ:'left_out',ez:'top_in',Sc:'middle',wK:'bottom_in',xK:'bottom_out'};h=olympe.ui.F.hg.prototype;h.ZA.K=olympe.j.J.C([]);h.Nd.K=olympe.j.J.C([]);h.getParent.K=new olympe.j.J(()=>olympe.ui.F.mb,[]);h.Sk.K=olympe.j.J.C([]);h.isVisible.K=olympe.j.J.T;h.EI.K=olympe.j.J.C([]);h.CI.K=olympe.j.J.C([]);h.DI.K=olympe.j.J.C([]);h.yC.K=olympe.j.J.C([]);h.Yd.K=olympe.j.J.C([]);h.Ed.K=olympe.j.J.C([]);h.setPosition.K=olympe.j.J.C([]);h.ae.K=olympe.j.J.W;h.Gb.K=olympe.j.J.C([]);h.na.K=olympe.j.J.W;
803
+ h.setScale.K=olympe.j.J.C([]);h.Ma.K=olympe.j.J.C([]);h.Wb.K=olympe.j.J.C([]);h.Ld.K=olympe.j.J.C([]);h.ng.K=olympe.j.J.C([]);h.Yg.K=olympe.j.J.C([]);h.pV.K=olympe.j.J.C([]);h.Ew.K=olympe.j.J.C([]);h.qV.K=olympe.j.J.C([]);h.uE.K=olympe.j.J.C([]);h.xY.K=olympe.j.J.C([]);h.rh.K=new olympe.j.J(()=>{},[0]);olympe.ui.F.RQ=class extends olympe.ui.F.hg{constructor(a){super(void 0,!1,void 0,'floating panel');this.Ma(O());this.Yd(!0);this.Ed(!0);this.Ld(olympe.j.aa.ONE,Ac());a&&this.Nd(a)}};olympe.ui.F.z2=class extends olympe.ui.F.hg{constructor(a,b,c,d){super(b,!1,c,'tooltip');const e=olympe.ui.Na.D().$D(d);this.rh(e);this.label=olympe.j.$a(this.isVisible(),()=>{const f=new olympe.ui.F.cb(void 0,e.IN());f.Jb(a);f.Yd(!0);return f},void 0,olympe.ui.F.cb);this.Nd(this.label)}ru(){return this.label}rh(a){super.rh(a)}};olympe.ui.F.ew=class extends olympe.ui.F.hg{constructor(a,b,c){void 0===b&&(b=!0);super(a,b,c,'popup');this.lg=new Map;this.vf=new Map;this.W=new olympe.j.ga(this.T.na().qa().ya(this.na().qa()).Ua(2),this.T.na().ta().ya(this.na().ta()).Ua(2));this.setPosition(this.W);a=olympe.ui.Na.D().ex();olympe.ui.F.ew.prototype.rh.call(this,a)}Pa(){Tf(this,()=>{for(const a of this.lg.values())a();delete this.$.onConfirm},'onConfirm');this.Sk(!1)}cancel(){Tf(this,()=>{for(const a of this.vf.values())a();delete this.$.onCancel},
804
804
  'onCancel');this.Sk(!1)}rh(a){super.rh(a)}};olympe.ui.F.qy=class extends olympe.ui.F.ew{constructor(a,b,c,d,e,f,g){super(d,e,f);this.Pb=g;this.R=olympe.j.la(0);this.sb=olympe.j.la(0);this.da=olympe.j.Ab(void 0!==c?c:'OK');this.qc=olympe.j.la();this.Eb=olympe.j.la();this.title=olympe.j.Ab(void 0!==b?b:'');this.message=olympe.j.Ab(void 0!==a?a:'');b=olympe.ui.Na.D().Sr(g);olympe.ui.F.qy.prototype.rh.call(this,b);c=new olympe.ui.F.cb(new olympe.j.ga(this.na().qa().ya(this.R.hb(2)),1),b.wu());a=new olympe.ui.F.xd(this.na().qa(),this.sb,this.R,
805
805
  this.R);c.Ed(!0);c.Jb(this.title);c.lb(N());c.Ub(olympe.ui.ha.Db.Sb);a.appendChild(c,'title',olympe.ui.ha.Db.Sb);c=new olympe.ui.F.cb(new olympe.j.ga(this.na().qa().ya(this.R.hb(2)),1),b.su());c.Ed(!0);c.Yn(!0);c.Jb(this.message);c.lb(N());c.Ub(olympe.ui.ha.Db.Sb);a.appendChild(c,'text',olympe.ui.ha.Db.Sb);this.ca=new olympe.ui.F.jc(void 0,this.da,b.vA());b=new olympe.ui.F.xd(this.na().qa().ya(this.R.hb(2)));a.appendChild(b,'button',olympe.ui.ha.Db.Sb);b.appendChild(this.ca,'okBtn',olympe.ui.ha.Db.Sb);
806
806
  this.ca.Vc(this.Pa.bind(this));olympe.j.$a(this.isVisible(),()=>{olympe.ui.Na.hf().Ak(k=>{k.sA().Rb(13)&&this.Pa()})});this.Nd(a)}ci(a){K(this.title,a);return this}YR(a){K(this.message,a);return this}YY(a){K(this.da,a);return this}ZY(a){K(this.qc,a);return this}XY(a){K(this.Eb,a);return this}FI(a){K(this.sb,a)}Df(a){K(this.R,a);return this}rh(){const a=olympe.ui.Na.D().Sr(this.Pb);super.rh(a);this.Df(a.tu());this.FI(a.vu())}};olympe.ui.F.qy.T=500;olympe.ui.F.qy.C=150;h=olympe.ui.F.qy.prototype;
807
807
  h.ci.K=olympe.j.J.C([]);h.YR.K=olympe.j.J.C([]);h.YY.K=olympe.j.J.C([]);h.ZY.K=olympe.j.J.C([]);h.XY.K=olympe.j.J.C([]);h.FI.K=olympe.j.J.C([]);h.Df.K=olympe.j.J.C([]);olympe.ui.F.GH=class extends olympe.ui.F.ew{constructor(a,b,c,d){super(a,b,c);this.Yh=d;this.ca=olympe.j.la(0);this.da=olympe.j.la(0);this.gd=olympe.j.Ab('');this.kc=olympe.j.Ab('');this.sb=olympe.j.Ab('');this.Pb=olympe.j.la(0);const e=olympe.j.la();this.R=new olympe.ui.F.Mb(new olympe.j.ga(e.ya(this.ca),this.Pb));this.qc=olympe.j.Ab('CANCEL');this.Yc=olympe.j.Ab('CONFIRM');this.title=olympe.j.Ab('');this.message=olympe.j.Ab('');this.vg=olympe.j.Ab('');this.ld=new olympe.ui.F.jc(void 0,this.Yc,this.sb);
808
808
  this.Eb=new olympe.ui.F.jc(void 0,this.qc,this.sb);a=olympe.ui.Na.D().pu(d);b=new olympe.ui.F.xd(e,this.da,this.ca,this.ca);const f=new olympe.ui.F.cb(void 0,this.gd);f.Ed(!0);f.Yd(!0);f.Jb(this.title);f.lb(N());f.Ub(olympe.ui.ha.Db.Sb);b.appendChild(f,'title',olympe.ui.ha.Db.Sb);c=new olympe.ui.F.cb(new olympe.j.ga(this.na().qa().ya(this.ca.hb(2)),1),this.kc);c.Ed(!0);c.Yn(!0);c.Jb(this.message);c.lb(N());c.Ub(olympe.ui.ha.Db.Tf);b.appendChild(c,'text',olympe.ui.ha.Db.Sb);K(this.vg,this.R.Lj());
809
809
  b.appendChild(this.R,'inputBox',olympe.ui.ha.Db.Sb);var g=new olympe.ui.F.Zd(void 0,this.da,this.da,this.da);b.appendChild(g,'button',olympe.ui.ha.Db.Sb);g.appendChild(this.Eb,'cancelBtn');g.appendChild(this.ld,'okBtn');this.ld.Vc(this.Pa.bind(this));this.Eb.Vc(this.cancel.bind(this));olympe.j.$a(this.Nf,()=>{f.Yd(!0);K(e,f.na().qa().VO(g.na().qa()))},()=>{f.Yd(!1);f.na().oe(this.na().qa());K(e,this.na().qa())});this.Nd(b);olympe.ui.F.GH.prototype.rh.call(this,a)}ci(a){K(this.title,a);return this}aS(a){K(this.message,
810
- a);return this}$R(a){K(this.Yc,a);return this}ZR(a){K(this.qc,a);return this}gZ(a){this.R.zn(a);return this}RI(a){K(this.da,a)}Df(a){K(this.ca,a);return this}SW(){return this.vg}HI(a){this.R.Ma(a)}OI(a){this.R.lb(a)}NI(a){this.R.td(a)}KI(a){this.R.sd(a)}LI(a){this.R.Fc(a)}MI(a){this.R.Kc(a)}fP(a,b){this.R.Ld(a,b)}JI(a){K(this.Pb,a)}II(a){this.R.vb(a)}SI(a){K(this.gd,a)}GI(a){K(this.sb,a)}QI(a){K(this.kc,a)}rh(){const a=olympe.ui.Na.D().pu(this.Yh);super.rh(a);this.SI(a.wu());this.GI(a.UM());this.QI(a.su());
810
+ a);return this}$R(a){K(this.Yc,a);return this}ZR(a){K(this.qc,a);return this}gZ(a){this.R.zn(a);return this}RI(a){K(this.da,a)}Df(a){K(this.ca,a);return this}SW(){return this.vg}HI(a){this.R.Ma(a)}OI(a){this.R.lb(a)}NI(a){this.R.td(a)}KI(a){this.R.sd(a)}LI(a){this.R.Fc(a)}MI(a){this.R.Kc(a)}fP(a,b){this.R.Ld(a,b)}JI(a){K(this.Pb,a)}II(a){this.R.wb(a)}SI(a){K(this.gd,a)}GI(a){K(this.sb,a)}QI(a){K(this.kc,a)}rh(){const a=olympe.ui.Na.D().pu(this.Yh);super.rh(a);this.SI(a.wu());this.GI(a.UM());this.QI(a.su());
811
811
  this.JI(a.xN());this.Df(a.tu());this.RI(a.vu());this.HI(a.uN());this.OI(a.CN());this.NI(a.BN());this.KI(a.yN());this.LI(a.zN());this.MI(a.AN());this.II(a.wN());this.fP(a.zi(),a.vN())}};h=olympe.ui.F.GH.prototype;h.ci.K=olympe.j.J.C([]);h.aS.K=olympe.j.J.C([]);h.$R.K=olympe.j.J.C([]);h.ZR.K=olympe.j.J.C([]);h.gZ.K=olympe.j.J.C([]);h.RI.K=olympe.j.J.C([]);h.Df.K=olympe.j.J.C([]);h.SW.K=olympe.j.J.R;h.HI.K=olympe.j.J.C([]);h.OI.K=olympe.j.J.C([]);h.NI.K=olympe.j.J.C([]);h.KI.K=olympe.j.J.C([]);
812
- h.LI.K=olympe.j.J.C([]);h.MI.K=olympe.j.J.C([]);h.fP.K=olympe.j.J.C([]);h.JI.K=olympe.j.J.C([]);h.II.K=olympe.j.J.C([]);h.SI.K=olympe.j.J.C([]);h.GI.K=olympe.j.J.C([]);h.QI.K=olympe.j.J.C([]);olympe.ui.F.bG=class extends olympe.ui.F.ew{constructor(a,b,c,d){d=olympe.ui.Na.D().Sr(d);super(a,b,c);this.R=olympe.j.la(20);this.ca=olympe.j.la(20);this.Eb=olympe.j.Ab('CANCEL');this.Pb=olympe.j.la(20);this.gd=this.na().qa().Ua(2).ya(this.Pb);this.Yc=olympe.j.la(40);this.qc=olympe.j.Ab('OK');this.ld=this.na().qa().Ua(2).ya(this.Pb);this.kc=olympe.j.la(40);olympe.j.qd(0,0,0);olympe.j.qd(51,51,51);this.title=olympe.j.Ab('');olympe.j.la(20);this.message=olympe.j.Ab('');olympe.j.la(16);a=new olympe.ui.F.xd(this.na().qa(),
812
+ h.LI.K=olympe.j.J.C([]);h.MI.K=olympe.j.J.C([]);h.fP.K=olympe.j.J.C([]);h.JI.K=olympe.j.J.C([]);h.II.K=olympe.j.J.C([]);h.SI.K=olympe.j.J.C([]);h.GI.K=olympe.j.J.C([]);h.QI.K=olympe.j.J.C([]);olympe.ui.F.cG=class extends olympe.ui.F.ew{constructor(a,b,c,d){d=olympe.ui.Na.D().Sr(d);super(a,b,c);this.R=olympe.j.la(20);this.ca=olympe.j.la(20);this.Eb=olympe.j.Ab('CANCEL');this.Pb=olympe.j.la(20);this.gd=this.na().qa().Ua(2).ya(this.Pb);this.Yc=olympe.j.la(40);this.qc=olympe.j.Ab('OK');this.ld=this.na().qa().Ua(2).ya(this.Pb);this.kc=olympe.j.la(40);olympe.j.qd(0,0,0);olympe.j.qd(51,51,51);this.title=olympe.j.Ab('');olympe.j.la(20);this.message=olympe.j.Ab('');olympe.j.la(16);a=new olympe.ui.F.xd(this.na().qa(),
813
813
  this.ca,this.R,this.R);b=new olympe.ui.F.cb(new olympe.j.ga(this.na().qa().ya(this.R.hb(2)),1),d.wu());b.Ed(!0);b.Jb(this.title);b.lb(N());b.Ub(olympe.ui.ha.Db.Sb);a.appendChild(b,'title',olympe.ui.ha.Db.Sb);b=new olympe.ui.F.cb(new olympe.j.ga(this.na().qa().ya(this.R.hb(2)),1),d.su());b.Ed(!0);b.Yn(!0);b.Jb(this.message);b.lb(N());b.Ub(olympe.ui.ha.Db.Tf);a.appendChild(b,'text',olympe.ui.ha.Db.Sb);this.da=new olympe.ui.F.jc(void 0,this.qc,d.vA());this.sb=new olympe.ui.F.jc(void 0,this.Eb,d.vA());
814
- b=new olympe.ui.F.Zd(this.da.na().ta(),this.ca,this.ca,this.ca);a.appendChild(b,'button',olympe.ui.ha.Db.Sb);b.appendChild(this.sb,'cancelBtn');b.appendChild(this.da,'okBtn');this.da.Vc(this.Pa.bind(this));this.sb.Vc(this.cancel.bind(this));this.Nd(a);olympe.ui.F.bG.prototype.rh.call(this,d)}ci(a){K(this.title,a);return this}LY(a){K(this.message,a);return this}cS(a){K(this.qc,a);return this}bS(a){K(this.Eb,a);return this}KY(a){K(this.ld,a);return this}JY(a){K(this.kc,a);return this}FY(a){K(this.gd,
815
- a);return this}EY(a){K(this.Yc,a);return this}TI(a){K(this.ca,a)}Df(a){K(this.R,a);return this}rh(a){super.rh(a);this.Df(a.tu());this.TI(a.vu())}};h=olympe.ui.F.bG.prototype;h.ci.K=olympe.j.J.C([]);h.LY.K=olympe.j.J.C([]);h.cS.K=olympe.j.J.C([]);h.bS.K=olympe.j.J.C([]);h.KY.K=olympe.j.J.C([]);h.JY.K=olympe.j.J.C([]);h.FY.K=olympe.j.J.C([]);h.EY.K=olympe.j.J.C([]);h.TI.K=olympe.j.J.C([]);h.Df.K=olympe.j.J.C([]);olympe.ui.F.fi=class extends olympe.ui.F.hg{constructor(a,b,c){super(void 0,a,null,'bubble');this.Pb=olympe.j.ub(String);this.sb=olympe.j.ub(olympe.j.Color);this.Eb=olympe.j.ub(olympe.j.Color);this.qc=olympe.j.la(1);this.Pa=olympe.j.la(1);this.ca=olympe.j.la(1);this.da=olympe.j.la(1);this.R=null;void 0!==b&&this.Nd(b);a&&Uf(this,()=>{this.Sk(!1);return!1},'hide');Tf(this,()=>{null!==this.R&&(this.R.Tb.destroy(),this.R=null)},'disposeSyncProxy');olympe.ui.F.fi.prototype.rh.call(this,olympe.ui.Na.D().iA(c));
814
+ b=new olympe.ui.F.Zd(this.da.na().ta(),this.ca,this.ca,this.ca);a.appendChild(b,'button',olympe.ui.ha.Db.Sb);b.appendChild(this.sb,'cancelBtn');b.appendChild(this.da,'okBtn');this.da.Vc(this.Pa.bind(this));this.sb.Vc(this.cancel.bind(this));this.Nd(a);olympe.ui.F.cG.prototype.rh.call(this,d)}ci(a){K(this.title,a);return this}LY(a){K(this.message,a);return this}cS(a){K(this.qc,a);return this}bS(a){K(this.Eb,a);return this}KY(a){K(this.ld,a);return this}JY(a){K(this.kc,a);return this}FY(a){K(this.gd,
815
+ a);return this}EY(a){K(this.Yc,a);return this}TI(a){K(this.ca,a)}Df(a){K(this.R,a);return this}rh(a){super.rh(a);this.Df(a.tu());this.TI(a.vu())}};h=olympe.ui.F.cG.prototype;h.ci.K=olympe.j.J.C([]);h.LY.K=olympe.j.J.C([]);h.cS.K=olympe.j.J.C([]);h.bS.K=olympe.j.J.C([]);h.KY.K=olympe.j.J.C([]);h.JY.K=olympe.j.J.C([]);h.FY.K=olympe.j.J.C([]);h.EY.K=olympe.j.J.C([]);h.TI.K=olympe.j.J.C([]);h.Df.K=olympe.j.J.C([]);olympe.ui.F.fi=class extends olympe.ui.F.hg{constructor(a,b,c){super(void 0,a,null,'bubble');this.Pb=olympe.j.ub(String);this.sb=olympe.j.ub(olympe.j.Color);this.Eb=olympe.j.ub(olympe.j.Color);this.qc=olympe.j.la(1);this.Pa=olympe.j.la(1);this.ca=olympe.j.la(1);this.da=olympe.j.la(1);this.R=null;void 0!==b&&this.Nd(b);a&&Uf(this,()=>{this.Sk(!1);return!1},'hide');Tf(this,()=>{null!==this.R&&(this.R.Tb.destroy(),this.R=null)},'disposeSyncProxy');olympe.ui.F.fi.prototype.rh.call(this,olympe.ui.Na.D().iA(c));
816
816
  this.C.Yg(this.Pb,olympe.ui.ha.Ah.Qs,olympe.ui.ha.df.Sb)}ZA(){}ZI(a){K(this.qc,a)}YI(a){K(this.Eb,a)}XI(a){K(this.sb,a)}WI(a){K(this.Pa,a)}UI(a){K(this.ca,a)}VI(a){K(this.da,a)}jZ(a,b,c,d=0,e=!0){const f=this.T;this.R&&this.R.Tb.destroy();this.R=olympe.j.di([f.na().qa(),f.na().ta(),this.content.na().qa(),this.content.na().ta(),a.qa(),a.ta(),this.Pa,this.ca,this.da,b,c,d,this.qc,this.Eb.ei(),this.sb.ei(),this.Nf,this.Ne,this.isVisible()],(g,k,l,m,n,p,r,t,u,v,w,x,y,A,H,G,R,fa)=>{if(fa.valueOf()&&!this.C.getParent().Tb.lc()){g=
817
817
  g.valueOf();k=k.valueOf();l=Math.round(l.valueOf()+2*y);m=Math.round(m.valueOf()+2*y);n=Math.round(n.valueOf());p=Math.round(p.valueOf());v=v?v.valueOf():olympe.ui.F.fi.C.zh;G=G.valueOf();R=R.valueOf();0===v%2?(fa=v,k=Math.max(0,Math.min(k-m,void 0===w?p-m/2:w)),v===olympe.ui.F.fi.C.wi?(v=n,w=y+t,v>g-l-t&&(fa=olympe.ui.F.fi.C.Tf,v=n-t-l+x,w=y)):(v=n-t-l,w=y,0>v&&n+t+l<g&&(fa=olympe.ui.F.fi.C.wi,v=n+x,w=y+t)),x=p-k,x<r+u?(x=r+u,k=p-x):x>m-t-u&&(x=m-t-u,k=p-x),n=[l+t,m,v,k,w,y,fa,n-v,x]):(fa=v,g=Math.max(0,
818
818
  Math.min(g-l,void 0===w?n-l/2:w)),v===olympe.ui.F.fi.C.gh?(v=p-t-m,w=y,0>v&&(fa=olympe.ui.F.fi.C.zh,v=p+x,w=y+t)):(v=p,w=y+t,v>k-m-t&&(fa=olympe.ui.F.fi.C.gh,v=p-t-m+x,w=y)),x=n-g,x<r+u?(x=r+u,g=n-x):x>l-t-u&&(x=l-t-u,g=n-x),n=[l,m+t,g,v,y,w,fa,x,p-v]);var [Ra,sa,Nb,J,V,Ia,ta,Sa,Va]=n;this.C.Gb(new olympe.j.ga(Ra,sa));G&&this.Gb(new olympe.j.ga(Ra,this.na().ta()));R&&this.Gb(new olympe.j.ga(this.na().qa(),sa));this.setPosition(new olympe.j.ga(Nb,J));this.content.setPosition(new olympe.j.ga(V,Ia));
819
819
  r=r.valueOf();t=t.valueOf();y=y.valueOf();G=y/2;switch(ta){case olympe.ui.F.fi.C.gh:var ja=G;l-=G;R=G;n=m-G;ja='M'+ja+','+R+' L'+l+','+R+' L'+l+','+n+' L'+(Sa+r)+','+n+' L'+Sa+','+(t+m-G)+' L'+(Sa-r)+','+n+' L'+ja+','+n+' Z';break;case olympe.ui.F.fi.C.wi:n=t+G;l=t+l-G;R=G;m-=G;ja='M'+n+','+R+' L'+l+','+R+' L'+l+','+m+' L'+n+','+m+' L'+n+','+(Va+r)+' L'+G+','+Va+' L'+n+','+(Va-r)+' Z';break;case olympe.ui.F.fi.C.zh:ja=G;l-=G;n=t+G;m=t+m-G;ja='M'+ja+','+n+' L'+(Sa-r)+','+n+' L'+Sa+','+G+' L'+(Sa+r)+
820
820
  ','+n+' L'+l+','+n+' L'+l+','+m+' L'+ja+','+m+' Z';break;case olympe.ui.F.fi.C.Tf:ja=G,n=l-G,R=G,m-=G,ja='M'+ja+','+R+' L'+n+','+R+' L'+n+','+(Va-r)+' L'+(t+l-G)+','+Va+' L'+n+','+(Va+r)+' L'+n+','+m+' L'+ja+','+m+' Z'}I(this.Pb,'data:image/svg+xml,'+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" >'+` <path d="${ja}" fill="${H.valueOf()}" stroke="${A.valueOf()}" stroke-width="${y}"/>`+'</svg>'))}});this.Sk(e);return this}rh(a){this.XI(a.PM());this.YI(a.QM());this.ZI(a.RM());this.WI(a.NM());
821
- this.UI(a.JM());this.VI(a.MM())}};olympe.ui.F.fi.C={gh:1,wi:2,zh:3,Tf:4};olympe.ui.F.fi.T={Qz:'vertical',fC:'horizontal'};h=olympe.ui.F.fi.prototype;h.ZA.K=olympe.j.J.C([]);h.ZI.K=olympe.j.J.C([]);h.YI.K=olympe.j.J.C([]);h.XI.K=olympe.j.J.C([]);h.WI.K=olympe.j.J.C([]);h.UI.K=olympe.j.J.C([]);h.VI.K=olympe.j.J.C([]);h.jZ.K=olympe.j.J.C([]);olympe.ui.F.He=class extends olympe.ui.F.ce{constructor(a){super(a);this.C=olympe.j.Qa(olympe.ui.Na.D().Tw());this.T=Object.create(null);this.D=olympe.j.Wc(!1);this.W=olympe.j.la(0);this.da=olympe.j.la(0);this.ma=this.na().ta().ya(this.W.hb(2));this.R=new olympe.ui.F.ye(new olympe.j.ga(this.ma,this.ma));this.disabled=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.R.setPosition(new olympe.j.ga(this.da,this.W));Kf(this,this.R,'switchBlock');this.ca=new olympe.ui.F.ye(this.na());this.ca.ah(-1);
821
+ this.UI(a.JM());this.VI(a.MM())}};olympe.ui.F.fi.C={gh:1,wi:2,zh:3,Tf:4};olympe.ui.F.fi.T={Qz:'vertical',gC:'horizontal'};h=olympe.ui.F.fi.prototype;h.ZA.K=olympe.j.J.C([]);h.ZI.K=olympe.j.J.C([]);h.YI.K=olympe.j.J.C([]);h.XI.K=olympe.j.J.C([]);h.WI.K=olympe.j.J.C([]);h.UI.K=olympe.j.J.C([]);h.VI.K=olympe.j.J.C([]);h.jZ.K=olympe.j.J.C([]);olympe.ui.F.He=class extends olympe.ui.F.ce{constructor(a){super(a);this.C=olympe.j.Qa(olympe.ui.Na.D().Tw());this.T=Object.create(null);this.D=olympe.j.Wc(!1);this.W=olympe.j.la(0);this.da=olympe.j.la(0);this.ma=this.na().ta().ya(this.W.hb(2));this.R=new olympe.ui.F.ye(new olympe.j.ga(this.ma,this.ma));this.disabled=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.R.setPosition(new olympe.j.ga(this.da,this.W));Kf(this,this.R,'switchBlock');this.ca=new olympe.ui.F.ye(this.na());this.ca.ah(-1);
822
822
  Kf(this,this.ca,'animOverlay');void 0===a&&this.Gb(this.C.oA().na());let b=null;olympe.j.$a(this.disabled.wa().Re(),()=>{b=this.Vc(()=>{this.$I();setTimeout(()=>{for(const e in this.T)this.T[e](F(this.D).valueOf())},F(this.C.hA()).valueOf())})},()=>{null!==b&&(this.Pj(b),b=null)});this.$g(olympe.j.$a(this.D,()=>this.C.Kg().Yr(),()=>this.C.tf().Yr(),olympe.j.ga),olympe.j.$a(this.D,()=>this.C.Kg().Zr(),()=>this.C.tf().Zr(),olympe.j.aa),olympe.j.$a(this.D,()=>this.C.Kg().$r(),()=>this.C.tf().$r(),olympe.j.aa),
823
823
  olympe.j.$a(this.D,()=>this.C.Kg().Wr(),()=>this.C.tf().Wr(),olympe.j.Color),olympe.j.$a(this.D,()=>this.C.Kg().Xr(),()=>this.C.tf().Xr(),olympe.j.ia));this.Ma(olympe.j.Xa([this.D],e=>e.valueOf()?this.C.Kg().Zp():this.C.tf().Zp(),olympe.j.Color));this.Wb(olympe.j.$a(this.D,()=>this.C.Kg().cq(),()=>this.C.tf().cq(),olympe.j.aa));this.Ld(olympe.j.$a(this.D,()=>this.C.Kg().zi(),()=>this.C.tf().zi(),olympe.j.aa),olympe.j.$a(this.D,()=>this.C.Kg().pl(),()=>this.C.tf().pl(),olympe.j.Color));this.Yg(olympe.j.$a(this.D,
824
824
  ()=>this.C.Kg().bq(),()=>this.C.tf().bq(),olympe.j.kb),olympe.ui.ha.Ah.Uf,olympe.ui.ha.df.Uf,olympe.j.$a(this.D,()=>this.C.Kg().aq(),()=>this.C.tf().aq(),olympe.j.ga),olympe.j.$a(this.D,()=>this.C.Kg().$p(),()=>this.C.tf().$p(),olympe.j.ga));this.R.Wb(olympe.j.$a(this.D,()=>this.C.sf().cq(),()=>this.C.uf().cq(),olympe.j.aa));this.R.Ld(olympe.j.$a(this.D,()=>this.C.sf().zi(),()=>this.C.uf().zi(),olympe.j.aa),olympe.j.$a(this.D,()=>this.C.sf().pl(),()=>this.C.uf().pl(),olympe.j.Color));this.R.$g(olympe.j.$a(this.D,
825
825
  ()=>this.C.sf().Yr(),()=>this.C.uf().Yr(),olympe.j.ga),olympe.j.$a(this.D,()=>this.C.sf().Zr(),()=>this.C.uf().Zr(),olympe.j.aa),olympe.j.$a(this.D,()=>this.C.sf().$r(),()=>this.C.uf().$r(),olympe.j.aa),olympe.j.$a(this.D,()=>this.C.sf().Wr(),()=>this.C.uf().Wr(),olympe.j.Color),olympe.j.$a(this.D,()=>this.C.sf().Xr(),()=>this.C.uf().Xr(),olympe.j.ia));this.R.Ma(olympe.j.$a(this.D,()=>this.C.sf().Zp(),()=>this.C.uf().Zp(),olympe.j.Color));this.R.Yg(olympe.j.$a(this.D,()=>this.C.sf().bq(),()=>this.C.uf().bq(),
826
826
  olympe.j.kb),olympe.ui.ha.Ah.Uf,olympe.ui.ha.df.Uf,olympe.j.$a(this.D,()=>this.C.sf().aq(),()=>this.C.uf().aq(),olympe.j.ga),olympe.j.$a(this.D,()=>this.C.sf().$p(),()=>this.C.uf().$p(),olympe.j.ga));const c=this.W,d=this.Cd().ya(this.R.Cd()).ya(this.W);a=olympe.j.$a(this.D,()=>d,()=>c,olympe.j.aa);a=olympe.j.Gi(a,this.C.hA(),olympe.j.aa.Dh.GQ);olympe.j.cg(this.D,()=>{this.ca.ah(1);const e=setTimeout(()=>{this.ca.ah(-1)},olympe.j.Qa(lc(this.C.hA(),200)).valueOf());olympe.j.yb().Ve(clearTimeout.bind(null,
827
- e))});mc(this.da,a)}$I(){const a=F(this.D);I(this.D,!(a&&a.valueOf()))}Ka(a,b){b=b?b:olympe.oa.pk();this.T[b]||(this.T[b]=a);return b}Ha(a){delete this.T[a]}qA(){return this.D}Ff(a){olympe.j.Wa([a],b=>{K(this.D,b)});return this}Cf(a){olympe.j.Zb(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.hc(a))}Df(a){K(this.W,a);return this}YD(){return this.R}oW(){return this.C}};h=olympe.ui.F.He.prototype;h.$I.K=olympe.j.J.C([]);h.qA.K=olympe.j.J.T;h.Ff.K=olympe.j.J.C([0]);h.Df.K=olympe.j.J.C([]);
828
- h.YD.K=new olympe.j.J(()=>olympe.ui.F.ye,[]);h.oW.K=new olympe.j.J(()=>olympe.ui.F.ea.gi,[]);olympe.ui.F.od=class extends olympe.ui.F.ce{constructor(a,b,c,d){super(a);const e=olympe.ui.Na.D().Xw(d);this.ma=olympe.j.ub(olympe.j.Kk,b);this.Eb=olympe.j.Ab();this.R=olympe.j.dd();this.xb=olympe.j.dd();this.da=M(olympe.j.Za(olympe.j.aa,'DropDown.arrowIconPaddingRight'),olympe.j.Ba(10));this.W=M(olympe.j.Za(olympe.j.ia,'DropDown.displayOnTop'),olympe.j.ia.pb);this.Oa=M(olympe.j.Za(olympe.j.aa,'DropDown.arrowIconPaddingRight'),olympe.j.aa.ZERO);this.paddingLeft=olympe.j.la(0);this.paddingRight=olympe.j.la(0);
827
+ e))});mc(this.da,a)}$I(){const a=F(this.D);I(this.D,!(a&&a.valueOf()))}Ka(a,b){b=b?b:olympe.oa.pk();this.T[b]||(this.T[b]=a);return b}Ha(a){delete this.T[a]}qA(){return this.D}Ff(a){olympe.j.Wa([a],b=>{K(this.D,b)});return this}Cf(a){olympe.j.Zb(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.hc(a))}Df(a){K(this.W,a);return this}ZD(){return this.R}oW(){return this.C}};h=olympe.ui.F.He.prototype;h.$I.K=olympe.j.J.C([]);h.qA.K=olympe.j.J.T;h.Ff.K=olympe.j.J.C([0]);h.Df.K=olympe.j.J.C([]);
828
+ h.ZD.K=new olympe.j.J(()=>olympe.ui.F.ye,[]);h.oW.K=new olympe.j.J(()=>olympe.ui.F.ea.gi,[]);olympe.ui.F.od=class extends olympe.ui.F.ce{constructor(a,b,c,d){super(a);const e=olympe.ui.Na.D().Xw(d);this.ma=olympe.j.ub(olympe.j.Kk,b);this.Eb=olympe.j.Ab();this.R=olympe.j.dd();this.xb=olympe.j.dd();this.da=M(olympe.j.Za(olympe.j.aa,'DropDown.arrowIconPaddingRight'),olympe.j.Ba(10));this.W=M(olympe.j.Za(olympe.j.ia,'DropDown.displayOnTop'),olympe.j.ia.pb);this.Oa=M(olympe.j.Za(olympe.j.aa,'DropDown.arrowIconPaddingRight'),olympe.j.aa.ZERO);this.paddingLeft=olympe.j.la(0);this.paddingRight=olympe.j.la(0);
829
829
  this.paddingTop=olympe.j.la(0);this.paddingBottom=olympe.j.la(0);this.Ka=olympe.j.Ab();this.Pb=olympe.j.Ab();this.kc=olympe.j.Ab();this.vf=olympe.j.la();this.ld=olympe.j.dd();this.Ha=olympe.j.Ab();this.T=olympe.j.ub(Object);this.cf=olympe.j.Xa([this.T],()=>olympe.j.ia.C,olympe.j.ia,'hasSelectedValue',olympe.j.ia.pb);this.ca=new Map;this.C=M(olympe.j.Za(olympe.j.ia,'DropDown.isExpanded'),olympe.j.ia.pb);this.Yc=olympe.j.Ab(this.Ka);this.gd=olympe.j.Ab();olympe.ui.F.od.prototype.$d.call(this,e);olympe.j.Wa([this.ma],
830
830
  g=>{ic(this.T,g.Ee())});this.D=new olympe.ui.F.Xe(this.na());this.D.kh(()=>{this.C.update(olympe.j.Qa(this.C.wa().Re()))});Kf(this,this.D,'summaryContainer');a=new olympe.ui.F.Xe(new olympe.j.ga(this.na().qa().ya(this.R.qa()).ya(this.paddingLeft).ya(this.paddingRight).ya(this.da.wa()),this.na().ta().ya(this.paddingTop).ya(this.paddingBottom)));this.ob=new olympe.ui.F.cb(a.na(),this.Yc);this.ob.Jb(this.gd).rd(this.cf);a.appendChild(this.ob,'placeholder');b=c.render(ic(this.T,c.getType()),a.na());b.Bg(this.kc);
831
831
  a.appendChild(b,'currentValue');this.D.appendChild(a,'textContainer',new olympe.j.ga(this.paddingLeft,this.paddingTop));a=new olympe.ui.F.ye(this.R);a.Yg(this.Eb,olympe.ui.ha.Ah.Uf,olympe.ui.ha.df.Uf,this.R,this.xb);this.D.appendChild(a,'arrowImg',new olympe.j.ga(this.na().qa().ya(this.da.wa()).ya(this.R.qa()),this.na().ta().ya(this.R.ta()).Ua(2)));jc(this.ma.get(this.Ha),g=>{olympe.j.Zb(g)?mc(this.T,g):I(this.T,g)});const f=new olympe.ui.F.xd(this.na().qa());this.ma.forEach((g,k)=>{const l=new olympe.ui.F.Xe(this.na());
832
- f.appendChild(l,k);const m=c.render(g,this.na());l.appendChild(m,k);l.Vc(()=>{I(this.Ha,k);this.C.update(olympe.j.ia.pb);for(const n of this.ca.values())n(k,g)});olympe.j.$a(l.Ih(),()=>m.Bg(this.Pb),()=>m.Bg(this.Ka))});olympe.j.$a(this.C.wa(),()=>{const g=olympe.ui.Na.hf();var k=g.na().qa();const l=g.na().ta(),m=this.D.xh().ta(),n=m.Sa(this.D.na().ta()),p=e.HN(),r=olympe.ui.Na.O('dropdown-overlay'),t=olympe.ui.Na.O('dropdown-list'),u=olympe.j.la(),v=olympe.j.la();olympe.j.$a(f.na().ta().hE(l.ya(n)).or(l.ya(m).Mj(m)),
832
+ f.appendChild(l,k);const m=c.render(g,this.na());l.appendChild(m,k);l.Vc(()=>{I(this.Ha,k);this.C.update(olympe.j.ia.pb);for(const n of this.ca.values())n(k,g)});olympe.j.$a(l.Ih(),()=>m.Bg(this.Pb),()=>m.Bg(this.Ka))});olympe.j.$a(this.C.wa(),()=>{const g=olympe.ui.Na.hf();var k=g.na().qa();const l=g.na().ta(),m=this.D.xh().ta(),n=m.Sa(this.D.na().ta()),p=e.HN(),r=olympe.ui.Na.O('dropdown-overlay'),t=olympe.ui.Na.O('dropdown-list'),u=olympe.j.la(),v=olympe.j.la();olympe.j.$a(f.na().ta().iE(l.ya(n)).or(l.ya(m).Mj(m)),
833
833
  ()=>{mc(u,olympe.j.$a(this.W,()=>m,()=>n,olympe.j.aa));mc(v,f.na().ta().vn(l.ya(u)))},()=>{mc(v,f.na().ta().vn(olympe.j.$a(this.W,()=>n,()=>m,olympe.j.aa)));mc(u,olympe.j.$a(this.W,()=>n.ya(v),()=>m.ya(v),olympe.j.aa))});const w=new olympe.ui.F.wd(new olympe.j.ga(this.na().qa(),v));w.Ld(p.zi(),p.pl());w.Wb(p.cq());w.Ma(p.Zp());w.Yg(p.bq(),olympe.ui.ha.Ah.Uf,olympe.ui.ha.df.Uf,p.aq(),p.$p());w.$g(p.Yr(),p.Zr(),p.$r(),p.Wr(),p.Xr());w.ah(t);w.Nd(f);w.Wb(this.Oa.wa());k=new olympe.ui.F.ye(new olympe.j.ga(k,
834
- l));k.Vc(()=>{this.C.update(olympe.j.ia.pb)});k.ah(r);g.appendChild(k,'dropdown-overlay');g.appendChild(w,'dropdown-list',new olympe.j.ga(this.D.xh().qa().Sa(this.ld.qa()),u))},()=>{olympe.ui.Na.R('dropdown-overlay');olympe.ui.Na.R('dropdown-list')})}qP(a){olympe.j.Zb(a)?mc(this.Ha,a):I(this.Ha,a);return this}BO(){return this.C.wa()}ag(a,b){b=b?b:olympe.oa.pk();this.ca.has(b)||this.ca.set(b,a);return b}lg(a){this.ca.delete(a)}zC(a){K(this.Eb,a)}yC(a){K(this.R,a)}aJ(a){K(this.xb,a)}YO(a){olympe.j.Zb(a)?
834
+ l));k.Vc(()=>{this.C.update(olympe.j.ia.pb)});k.ah(r);g.appendChild(k,'dropdown-overlay');g.appendChild(w,'dropdown-list',new olympe.j.ga(this.D.xh().qa().Sa(this.ld.qa()),u))},()=>{olympe.ui.Na.R('dropdown-overlay');olympe.ui.Na.R('dropdown-list')})}qP(a){olympe.j.Zb(a)?mc(this.Ha,a):I(this.Ha,a);return this}BO(){return this.C.wa()}ag(a,b){b=b?b:olympe.oa.pk();this.ca.has(b)||this.ca.set(b,a);return b}lg(a){this.ca.delete(a)}AC(a){K(this.Eb,a)}zC(a){K(this.R,a)}aJ(a){K(this.xb,a)}YO(a){olympe.j.Zb(a)?
835
835
  this.da.repeat(a):this.da.update(a)}cP(a){olympe.j.Zb(a)?this.C.repeat(a):this.C.update(a)}$O(a){olympe.j.Zb(a)?this.W.repeat(a):this.W.update(a)}iP(a){olympe.j.Zb(a)?this.Oa.repeat(a):this.Oa.update(a)}kP(a){K(this.ld,a)}Fc(a){K(this.paddingLeft,a);return this}Kc(a){K(this.paddingRight,a);return this}td(a){K(this.paddingTop,a);return this}sd(a){K(this.paddingBottom,a);return this}Og(a){K(this.gd,a);return this}$Y(a){K(this.Yc,a);return this}bJ(a){K(this.Ka,a)}cJ(a){K(this.Pb,a)}dJ(a){K(this.kc,a)}eJ(a){K(this.vf,
836
- a)}$d(a){a&&(super.$d(a),this.bJ(a.FN()),this.cJ(a.KN()),this.dJ(a.$N()),this.eJ(a.aO()),this.kP(a.GN()),this.sd(a.PH()),this.Fc(a.QH()),this.Kc(a.RH()),this.td(a.SH()),this.zC(a.R),this.yC(a.LM()),this.aJ(a.KM()))}};h=olympe.ui.F.od.prototype;h.qP.K=olympe.j.J.C([]);h.BO.K=olympe.j.J.T;h.zC.K=olympe.j.J.C([]);h.yC.K=olympe.j.J.C([]);h.aJ.K=olympe.j.J.C([]);h.YO.K=olympe.j.J.C([]);h.cP.K=olympe.j.J.C([]);h.$O.K=olympe.j.J.C([]);h.iP.K=olympe.j.J.C([]);h.kP.K=olympe.j.J.C([]);h.Fc.K=olympe.j.J.C([]);
837
- h.Kc.K=olympe.j.J.C([]);h.td.K=olympe.j.J.C([]);h.sd.K=olympe.j.J.C([]);h.Og.K=olympe.j.J.C([]);h.$Y.K=olympe.j.J.C([]);h.bJ.K=olympe.j.J.C([]);h.cJ.K=olympe.j.J.C([]);h.dJ.K=olympe.j.J.C([]);h.eJ.K=olympe.j.J.C([]);function Wf(a){a.C.setPosition(new olympe.j.ga(a.T,0));const b=olympe.j.Wc(!1),c=olympe.ui.Na.hf().qk().wh().qa().ya(a.xh().qa()),d=olympe.j.aa.DD(c.ya(a.da),0,a.W.ya(a.C.na().qa()));K(a.T,olympe.j.$a(b,()=>d,()=>F(a.T)));a.C.kh(()=>{I(a.da,olympe.j.Ba(F(c).valueOf()-F(a.T).valueOf()));I(b,olympe.j.hc(!0))});olympe.ui.Na.hf().Wg(()=>{I(b,olympe.j.hc(!1))})}
838
- function Xf(a){a.R.setPosition(new olympe.j.ga(a.W,0));const b=olympe.j.Wc(!1),c=olympe.ui.Na.hf().qk().wh().qa().ya(a.xh().qa()),d=olympe.j.aa.DD(c.ya(a.ma),a.T.Sa(a.C.na().qa()),a.D.na().qa().ya(a.R.na().qa()));K(a.W,olympe.j.$a(b,()=>d,()=>F(a.W)));a.R.kh(()=>{I(a.ma,olympe.j.Ba(F(c).valueOf()-F(a.W).valueOf()));I(b,olympe.j.hc(!0))});olympe.ui.Na.hf().Wg(()=>{I(b,olympe.j.hc(!1))})}
836
+ a)}$d(a){a&&(super.$d(a),this.bJ(a.FN()),this.cJ(a.KN()),this.dJ(a.$N()),this.eJ(a.aO()),this.kP(a.GN()),this.sd(a.PH()),this.Fc(a.QH()),this.Kc(a.RH()),this.td(a.SH()),this.AC(a.R),this.zC(a.LM()),this.aJ(a.KM()))}};h=olympe.ui.F.od.prototype;h.qP.K=olympe.j.J.C([]);h.BO.K=olympe.j.J.T;h.AC.K=olympe.j.J.C([]);h.zC.K=olympe.j.J.C([]);h.aJ.K=olympe.j.J.C([]);h.YO.K=olympe.j.J.C([]);h.cP.K=olympe.j.J.C([]);h.$O.K=olympe.j.J.C([]);h.iP.K=olympe.j.J.C([]);h.kP.K=olympe.j.J.C([]);h.Fc.K=olympe.j.J.C([]);
837
+ h.Kc.K=olympe.j.J.C([]);h.td.K=olympe.j.J.C([]);h.sd.K=olympe.j.J.C([]);h.Og.K=olympe.j.J.C([]);h.$Y.K=olympe.j.J.C([]);h.bJ.K=olympe.j.J.C([]);h.cJ.K=olympe.j.J.C([]);h.dJ.K=olympe.j.J.C([]);h.eJ.K=olympe.j.J.C([]);function Wf(a){a.C.setPosition(new olympe.j.ga(a.T,0));const b=olympe.j.Wc(!1),c=olympe.ui.Na.hf().qk().wh().qa().ya(a.xh().qa()),d=olympe.j.aa.ED(c.ya(a.da),0,a.W.ya(a.C.na().qa()));K(a.T,olympe.j.$a(b,()=>d,()=>F(a.T)));a.C.kh(()=>{I(a.da,olympe.j.Ba(F(c).valueOf()-F(a.T).valueOf()));I(b,olympe.j.hc(!0))});olympe.ui.Na.hf().Wg(()=>{I(b,olympe.j.hc(!1))})}
838
+ function Xf(a){a.R.setPosition(new olympe.j.ga(a.W,0));const b=olympe.j.Wc(!1),c=olympe.ui.Na.hf().qk().wh().qa().ya(a.xh().qa()),d=olympe.j.aa.ED(c.ya(a.ma),a.T.Sa(a.C.na().qa()),a.D.na().qa().ya(a.R.na().qa()));K(a.W,olympe.j.$a(b,()=>d,()=>F(a.W)));a.R.kh(()=>{I(a.ma,olympe.j.Ba(F(c).valueOf()-F(a.W).valueOf()));I(b,olympe.j.hc(!0))});olympe.ui.Na.hf().Wg(()=>{I(b,olympe.j.hc(!1))})}
839
839
  olympe.ui.F.IH=class extends olympe.ui.F.ce{constructor(a,b){super(a);this.ca=olympe.j.Ab(b);this.Gb(a);this.D=new olympe.ui.F.ye;this.D.Tj(!0);this.C=new olympe.ui.F.ye;this.C.Tj(!0);this.R=new olympe.ui.F.ye;this.R.Tj(!0);a=olympe.ui.Na.D().rA(this.ca);olympe.ui.F.IH.prototype.$d.call(this,a);this.Ha=olympe.j.qd(215,217,218);this.T=olympe.j.la(0);this.W=olympe.j.la(this.D.na().qa().ya(this.R.na().qa()));this.da=olympe.j.la(0);this.ma=olympe.j.la(0);this.D.setPosition(new olympe.j.ga(0,2.5));Wf(this);
840
840
  Xf(this);a=new olympe.ui.F.ye(new olympe.j.ga(this.W.ya(this.T).ya(this.C.na().qa().Ua(2)).Sa(this.R.na().qa().Ua(2)),this.D.na().ta()));a.Tj(!0);a.Ma(this.Ha);a.setPosition(new olympe.j.ga(this.T.Sa(this.C.na().qa().Ua(2)),this.D.ae().ta()));Kf(this,a,'selectedZone');Kf(this,this.D,'bar');Kf(this,this.C,'button1');Kf(this,this.R,'button2')}cZ(a){this.Ha=a;return this}iW(){return this.T.Ua(this.D.na().qa().ya(this.C.na().qa().Sa(this.R.na().qa())))}jW(){return this.W.ya(this.C.na().qa()).Ua(this.D.na().qa().ya(this.C.na().qa().Sa(this.R.na().qa())))}EW(){return this.W.ya(this.T).ya(this.C.na().qa()).Ua(this.D.na().qa().ya(this.C.na().qa().Sa(this.R.na().qa())))}Bg(a){K(this.ca,
841
841
  a);return this}$d(a){a&&(this.C.$d(a.T()),this.R.$d(a.W()),this.D.$d(a.R()))}};h=olympe.ui.F.IH.prototype;h.cZ.K=olympe.j.J.C([]);h.iW.K=olympe.j.J.D;h.jW.K=olympe.j.J.D;h.EW.K=olympe.j.J.D;h.Bg.K=olympe.j.J.C([]);olympe.ui.F.gH=class extends olympe.ui.F.ce{constructor(a,b,c,d,e,f,g){super(a);this.ag=olympe.j.Ab(g);this.xk=new olympe.ui.F.xd;this.values=b;this.Cl=0;this.Ne=olympe.j.Wc(void 0===a);this.Nf=olympe.j.Wc(void 0===a);this.vf=olympe.j.Wc(void 0!==e?e:!1);this.C=(this.cf=void 0!==d)?olympe.j.la(d):olympe.j.la();this.ca=new olympe.ui.F.xd(this.na().qa());this.Eb=olympe.j.la();this.Ha=olympe.j.ub(olympe.j.Map,new olympe.j.Map(olympe.j.aa));this.ob=olympe.j.ub(olympe.j.Map,new olympe.j.Map(olympe.j.kb));
@@ -848,47 +848,47 @@ r);I(this.da,p);for(let x=0;x<this.D.length;x++)this.D[x](r,p)}});olympe.j.$a(u,
848
848
  c=F(this.ob),d=F(this.ma);void 0!==b&&b.remove(a);void 0!==c&&c.remove(a);void 0!==d&&d.remove(a);return this}GY(a){K(this.ma,a);return this}IY(a){K(this.Ha,a);return this}HY(a){K(this.ob,a);return this}fS(a){this.D.push(a);return this}NY(a){this.ca.appendChild(a,'footerContent');return this}dS(){return this.da}bZ(a,b){a instanceof olympe.j.Proxy&&(a=F(a));I(this.T,a);mc(this.da,this.values.get(a));void 0!==b&&!0!==b||Nf(this.W,new olympe.j.ga(0,F(this.lg.ae().ta())));for(b=0;b<this.D.length;b++)this.D[b](a,
849
849
  F(this.da));return this}eS(){return this.Oa}Ml(a){K(this.ld,a);return this}MW(){return this.R}vs(a){I(this.gd,a);return this}Gb(a){this.Ka=a;return this}Yd(a){K(this.Nf,a);return this}Ed(a){K(this.Ne,a);return this}iJ(a){K(this.kc,a)}fJ(a){K(this.xb,a)}jJ(a){K(this.Yc,a)}Vj(a){K(this.C,a);return this}gJ(a){K(this.Eb,a)}hJ(a){K(this.Pb,a)}$d(a){super.$d(a);this.iJ(a.tN());this.fJ(a.XM());this.jJ(a.ZN());this.cf||this.Vj(a.JN());this.gJ(a.fN());this.hJ(a.oN())}};h=olympe.ui.F.gH.prototype;h.hV.K=olympe.j.J.C([]);
850
850
  h.yY.K=olympe.j.J.C([]);h.GY.K=olympe.j.J.C([]);h.IY.K=olympe.j.J.C([]);h.HY.K=olympe.j.J.C([]);h.fS.K=olympe.j.J.C([]);h.NY.K=olympe.j.J.C([]);h.dS.K=new olympe.j.J(()=>Object,[]);h.bZ.K=olympe.j.J.C([]);h.eS.K=olympe.j.J.T;h.Ml.K=olympe.j.J.C([]);h.MW.K=new olympe.j.J(()=>olympe.ui.F.wd,[]);h.vs.K=olympe.j.J.C([]);h.Gb.K=olympe.j.J.C([]);h.Yd.K=olympe.j.J.C([]);h.Ed.K=olympe.j.J.C([]);h.iJ.K=olympe.j.J.C([]);h.fJ.K=olympe.j.J.C([]);h.jJ.K=olympe.j.J.C([]);h.Vj.K=olympe.j.J.C([]);h.gJ.K=olympe.j.J.C([]);
851
- h.hJ.K=olympe.j.J.C([]);olympe.ui.F.Screen=class{constructor(){}render(){}};olympe.ui.F.Screen.prototype.render.K=new olympe.j.J(()=>olympe.ui.F.mb,[]);olympe.ui.F.Transition=class{constructor(a,b,c,d,e){this.D=a;this.C=b;this.animation=olympe.j.ub(olympe.ui.F.zm);void 0!==e&&K(this.animation,e)}Tr(){return this.animation}};olympe.ui.F.mL=class extends olympe.ui.F.ce{constructor(a){super();this.V=olympe.ui.Na.Cb();this.da=new Map;this.ma=new Map;this.D=new Map;this.C=new Map;this.md=new Map;this.R=olympe.j.Za(olympe.j.kb);this.W=new Map;this.ca=new olympe.ui.F.ye(this.na());this.T='storyboard_overlay_'+String((new Date).getTime()+Math.random()).replace(/[^0-9]/,'');this.Gb(a)}vW(){return this.R.wa()}BD(a,b){this.da.set(b,a);this.C.set(b,olympe.j.Wc(!1));this.ma.set(b,olympe.j.$a(this.C.get(b),()=>{const c=this.da.get(b);
852
- let d=this.D.get(b);c?d||(d=c.render(this.na(),void 0),d instanceof olympe.j.Proxy||(d=olympe.j.ub(olympe.ui.F.mb,d)),this.D.set(b,d)):this.V.warn(`Screen with id ${b} doesn't exist!`)},()=>{this.D.delete(b)},void 0,[],'If screen loaded '+b).Tb)}zD(a,b,c){this.W.set(c,new olympe.ui.F.Transition(a,b,c,void 0,void 0))}zY(a){this.W.delete(a);return this}eP(){I(this.C.get('login'),olympe.j.hc(!0));this.ma.get('login').run(()=>{Kf(this,this.D.get('login'),'login')});this.R.update(olympe.j.ic('login'))}VA(a){const b=
851
+ h.hJ.K=olympe.j.J.C([]);olympe.ui.F.Screen=class{constructor(){}render(){}};olympe.ui.F.Screen.prototype.render.K=new olympe.j.J(()=>olympe.ui.F.mb,[]);olympe.ui.F.Transition=class{constructor(a,b,c,d,e){this.D=a;this.C=b;this.animation=olympe.j.ub(olympe.ui.F.zm);void 0!==e&&K(this.animation,e)}Tr(){return this.animation}};olympe.ui.F.mL=class extends olympe.ui.F.ce{constructor(a){super();this.V=olympe.ui.Na.Cb();this.da=new Map;this.ma=new Map;this.D=new Map;this.C=new Map;this.md=new Map;this.R=olympe.j.Za(olympe.j.kb);this.W=new Map;this.ca=new olympe.ui.F.ye(this.na());this.T='storyboard_overlay_'+String((new Date).getTime()+Math.random()).replace(/[^0-9]/,'');this.Gb(a)}vW(){return this.R.wa()}CD(a,b){this.da.set(b,a);this.C.set(b,olympe.j.Wc(!1));this.ma.set(b,olympe.j.$a(this.C.get(b),()=>{const c=this.da.get(b);
852
+ let d=this.D.get(b);c?d||(d=c.render(this.na(),void 0),d instanceof olympe.j.Proxy||(d=olympe.j.ub(olympe.ui.F.mb,d)),this.D.set(b,d)):this.V.warn(`Screen with id ${b} doesn't exist!`)},()=>{this.D.delete(b)},void 0,[],'If screen loaded '+b).Tb)}AD(a,b,c){this.W.set(c,new olympe.ui.F.Transition(a,b,c,void 0,void 0))}zY(a){this.W.delete(a);return this}eP(){I(this.C.get('login'),olympe.j.hc(!0));this.ma.get('login').run(()=>{Kf(this,this.D.get('login'),'login')});this.R.update(olympe.j.ic('login'))}VA(a){const b=
853
853
  olympe.ui.Na,c=b.hf(),d=olympe.j.Qa,e=this.W.get(a);if(void 0===e)return this.V.warn('Transition with id '+a+" doesn't exist!"),this;const f=e.C,g='*'===e.D?F(this.R.wa()).valueOf():e.D;if(f===g)return this;I(this.C.get(f),olympe.j.hc(!0));a=this.D.get(f);const k=this.D.get(g),l=()=>{for(const n in this.C.keys()){const p=this.C.get(n);d(p).valueOf()&&n!==e.C&&!this.md.has(e.C+n)&&K(p,olympe.j.hc(!1))}this.R.update(olympe.j.ic(f))},m=d(e.Tr());void 0!==m&&null!==m?(Kf(this,d(a),f),this.ca.ah(b.O(this.T)),
854
- c.appendChild(this.ca,this.T),m.run(k,a,g,f,this,()=>{this.O().removeChild(g);b.R(this.T);c.removeChild(this.T);l()})):(this.O().removeChild(g),Kf(this,d(a),f),l());return this}O(){return this.te()}};h=olympe.ui.F.mL.prototype;h.vW.K=olympe.j.J.R;h.BD.K=olympe.j.J.C([]);h.zD.K=olympe.j.J.C([]);h.zY.K=olympe.j.J.C([]);h.eP.K=olympe.j.J.C([]);h.VA.K=olympe.j.J.C([]);olympe.ui.F.Mb=class extends olympe.ui.F.mb{constructor(a,b){const c=olympe.j.ga,d=olympe.j.Color,e=olympe.j.Qa;super(olympe.ui.Na.C(olympe.N.F.Mb,olympe.host.ab.jb.ZK),a);this.W=olympe.j.Ab('');this.da=olympe.j.Za(olympe.j.kb);this.fontSize=olympe.j.Za(olympe.j.aa);this.ma=olympe.j.Za(olympe.j.aa);this.Oa=olympe.j.Za(d);this.backgroundColor=olympe.j.Za(d);this.Ha=null;this.ob=olympe.j.Ab(b);this.R=olympe.j.Za(olympe.j.Kk);this.Ka=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.ca=olympe.j.Za(olympe.j.Be);
855
- this.C=null;const f=this.na().qa(),g=this.fontSize.wa(),k=l=>{const m=(new olympe.ui.F.cb(new c(f,this.fontSize.wa().Sa(4)))).Xb(olympe.ui.ha.rc.Sc).lb(this.Oa.wa()).Jb(l).Fc(5);m.rb(g).vb(this.da.wa()).Bb(this.ma.wa());m.kh(()=>{this.Ka.update(olympe.j.ia.C);this.Jb(e(l));this.mj();this.Ka.update(olympe.j.ia.pb)});m.gj(()=>{m.Ma(Cc().LD(.5))});m.Hi(()=>{m.Ma(Dc())});return m};olympe.j.Wa([super.nu(),this.R.wa().Qc()],(l,m)=>{0<m.valueOf()&&null===this.C&&l.valueOf()&&(Q(this,()=>{let n=new olympe.j.Be(olympe.j.kb),
854
+ c.appendChild(this.ca,this.T),m.run(k,a,g,f,this,()=>{this.O().removeChild(g);b.R(this.T);c.removeChild(this.T);l()})):(this.O().removeChild(g),Kf(this,d(a),f),l());return this}O(){return this.te()}};h=olympe.ui.F.mL.prototype;h.vW.K=olympe.j.J.R;h.CD.K=olympe.j.J.C([]);h.AD.K=olympe.j.J.C([]);h.zY.K=olympe.j.J.C([]);h.eP.K=olympe.j.J.C([]);h.VA.K=olympe.j.J.C([]);olympe.ui.F.Mb=class extends olympe.ui.F.mb{constructor(a,b){const c=olympe.j.ga,d=olympe.j.Color,e=olympe.j.Qa;super(olympe.ui.Na.C(olympe.N.F.Mb,olympe.host.ab.jb.ZK),a);this.W=olympe.j.Ab('');this.da=olympe.j.Za(olympe.j.kb);this.fontSize=olympe.j.Za(olympe.j.aa);this.ma=olympe.j.Za(olympe.j.aa);this.Oa=olympe.j.Za(d);this.backgroundColor=olympe.j.Za(d);this.Ha=null;this.ob=olympe.j.Ab(b);this.R=olympe.j.Za(olympe.j.Kk);this.Ka=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.ca=olympe.j.Za(olympe.j.Be);
855
+ this.C=null;const f=this.na().qa(),g=this.fontSize.wa(),k=l=>{const m=(new olympe.ui.F.cb(new c(f,this.fontSize.wa().Sa(4)))).Xb(olympe.ui.ha.rc.Sc).lb(this.Oa.wa()).Jb(l).Fc(5);m.rb(g).wb(this.da.wa()).Bb(this.ma.wa());m.kh(()=>{this.Ka.update(olympe.j.ia.C);this.Jb(e(l));this.mj();this.Ka.update(olympe.j.ia.pb)});m.gj(()=>{m.Ma(Cc().MD(.5))});m.Hi(()=>{m.Ma(Dc())});return m};olympe.j.Wa([super.nu(),this.R.wa().Qc()],(l,m)=>{0<m.valueOf()&&null===this.C&&l.valueOf()&&(Q(this,()=>{let n=new olympe.j.Be(olympe.j.kb),
856
856
  p=new olympe.j.Be(olympe.j.kb);olympe.j.Wa([this.R.wa(),this.R.wa().Qc(),this.W],(u,v,w)=>{const x=n;p.clear();let y=0;0<v&&u.yi(A=>{(0===w.tA().valueOf()||A.toLowerCase().contains(w.toLowerCase()).and(A.Se(w).Re()).valueOf())&&p.set(A.valueOf(),A,y++)});n=p;p=x;this.ca.update(n)});var r=this.ca.wa().Qc();r=new c(f,g.Sa(9).hb(oc(3,r)));const t=new olympe.ui.F.jt(r,this.ca.wa(),olympe.j.kb,k,5,!1);this.C=new olympe.ui.F.RQ(t);this.C.Ma(this.backgroundColor.wa());this.C.Sk(super.nu().and(this.ca.wa().Qc().Mj(0)));
857
- olympe.j.Wa([r.ta(),this.xh().ta(),this.na().ta(),olympe.ui.Na.hf().na().ta()],(u,v,w,x)=>{w.Sa(v).Sa(u).valueOf()<x.valueOf()?this.C.Ew(this,olympe.ui.F.hg.D.ez,olympe.ui.F.hg.O.wy):this.C.Ew(this,olympe.ui.F.hg.D.ez,olympe.ui.F.hg.O.kD)})}),olympe.j.yb().destroy())});a=olympe.ui.Na.D().jx(this.ob);olympe.ui.F.Mb.prototype.$d.call(this,a);T(this).Gl(l=>{I(this.W,olympe.j.ic(l))})}Sj(){T(this).Sj();return this}Cf(a){T(this).Cf(a);return this}Ff(a){T(this).Ff(a);return this}Jb(a){T(this).Ff(a);return this}Lj(){return this.W}fZ(a){olympe.j.Zb(a)?
858
- this.R.repeat(a):this.R.update(a);return this}getValue(){return this.W}nu(){return super.nu().or(this.Ka.wa())}Bb(a){olympe.j.Zb(a)?this.ma.repeat(a):this.ma.update(olympe.j.Ba(a));T(this).Bb(a);return this}vb(a){olympe.j.Zb(a)?this.da.repeat(a):this.da.update(olympe.j.ic(a));T(this).vb(a);return this}rb(a){olympe.j.Zb(a)?this.fontSize.repeat(a):this.fontSize.update(olympe.j.Ba(a));T(this).rb(a);return this}Od(a){T(this).Od(a);return this}lb(a){olympe.j.cg(a,b=>{b&&b.ei&&(this.Oa.update(b),T(this).lb(b.ei()))});
857
+ olympe.j.Wa([r.ta(),this.xh().ta(),this.na().ta(),olympe.ui.Na.hf().na().ta()],(u,v,w,x)=>{w.Sa(v).Sa(u).valueOf()<x.valueOf()?this.C.Ew(this,olympe.ui.F.hg.D.ez,olympe.ui.F.hg.O.wy):this.C.Ew(this,olympe.ui.F.hg.D.ez,olympe.ui.F.hg.O.lD)})}),olympe.j.yb().destroy())});a=olympe.ui.Na.D().jx(this.ob);olympe.ui.F.Mb.prototype.$d.call(this,a);T(this).Gl(l=>{I(this.W,olympe.j.ic(l))})}Sj(){T(this).Sj();return this}Cf(a){T(this).Cf(a);return this}Ff(a){T(this).Ff(a);return this}Jb(a){T(this).Ff(a);return this}Lj(){return this.W}fZ(a){olympe.j.Zb(a)?
858
+ this.R.repeat(a):this.R.update(a);return this}getValue(){return this.W}nu(){return super.nu().or(this.Ka.wa())}Bb(a){olympe.j.Zb(a)?this.ma.repeat(a):this.ma.update(olympe.j.Ba(a));T(this).Bb(a);return this}wb(a){olympe.j.Zb(a)?this.da.repeat(a):this.da.update(olympe.j.ic(a));T(this).wb(a);return this}rb(a){olympe.j.Zb(a)?this.fontSize.repeat(a):this.fontSize.update(olympe.j.Ba(a));T(this).rb(a);return this}Od(a){T(this).Od(a);return this}lb(a){olympe.j.cg(a,b=>{b&&b.ei&&(this.Oa.update(b),T(this).lb(b.ei()))});
859
859
  return this}Ma(a){olympe.j.Zb(a)?this.backgroundColor.repeat(a):this.backgroundColor.update(a);super.Ma(a);return this}zn(a){T(this).zn(a);return this}av(a){T(this).av(a);return this}Yu(a){T(this).Yu(a);return this}fv(a){T(this).fv(a);return this}Og(a){T(this).Og(a);return this}Zg(a){T(this).Zg(olympe.j.cg(a,b=>b.ei()));return this}Ub(a){T(this).Ub(a);return this}Xb(a){T(this).Xb(a);return this}bi(a){T(this).bi(a);return this}Fc(a){T(this).Fc(a);return this}Kc(a){T(this).Kc(a);return this}td(a){T(this).td(a);
860
860
  return this}sd(a){T(this).sd(a);return this}Pu(a){T(this).Pu(a);return this}ip(a=olympe.j.ia.C){T(this).ip(a);return this}Uc(){null===this.Ha&&(this.Ha=new olympe.ui.X.Zn(T(this)));return this.Ha}Hj(){return this.Uc().Hj()}Gj(){return this.Uc().Gj()}Ij(){return this.Uc().Ij()}ej(a,b,c){return this.Uc().ej(a,b,c)}D(a){this.Uc().D(a)}Ak(a,b,c){return this.Uc().Ak(a,b,c)}T(a){this.Uc().T(a)}fj(a,b,c){return this.Uc().fj(a,b,c)}O(a){this.Uc().O(a)}Bg(a){K(this.ob,a);return this}$d(a){a&&(olympe.ui.F.mb.prototype.$d.call(this,
861
- a),this.rb(a.lI()),this.Bb(a.Bi()),this.vb(a.Ai()),this.Od(a.yl()),this.sd(a.mI()),this.Fc(a.nI()),this.Kc(a.oI()),this.td(a.pI()),this.lb(a.qI()),this.Ub(a.rI()),this.Xb(a.sI()),this.Zg(a.RN()))}};olympe.ui.F.Mb.Aa=[olympe.ui.X.sg,olympe.ui.F.Dv];h=olympe.ui.F.Mb.prototype;h.Sj.K=olympe.j.J.C([]);h.Cf.K=olympe.j.J.C([]);h.Ff.K=olympe.j.J.C([]);h.Jb.K=olympe.j.J.C([]);h.Lj.K=olympe.j.J.R;h.fZ.K=olympe.j.J.C([0]);h.getValue.K=olympe.j.J.R;h.nu.K=olympe.j.J.T;h.Bb.K=olympe.j.J.C([]);h.vb.K=olympe.j.J.C([]);
861
+ a),this.rb(a.lI()),this.Bb(a.Bi()),this.wb(a.Ai()),this.Od(a.yl()),this.sd(a.mI()),this.Fc(a.nI()),this.Kc(a.oI()),this.td(a.pI()),this.lb(a.qI()),this.Ub(a.rI()),this.Xb(a.sI()),this.Zg(a.RN()))}};olympe.ui.F.Mb.Aa=[olympe.ui.X.sg,olympe.ui.F.Dv];h=olympe.ui.F.Mb.prototype;h.Sj.K=olympe.j.J.C([]);h.Cf.K=olympe.j.J.C([]);h.Ff.K=olympe.j.J.C([]);h.Jb.K=olympe.j.J.C([]);h.Lj.K=olympe.j.J.R;h.fZ.K=olympe.j.J.C([0]);h.getValue.K=olympe.j.J.R;h.nu.K=olympe.j.J.T;h.Bb.K=olympe.j.J.C([]);h.wb.K=olympe.j.J.C([]);
862
862
  h.rb.K=olympe.j.J.C([]);h.Od.K=olympe.j.J.C([]);h.lb.K=olympe.j.J.C([]);h.zn.K=olympe.j.J.C([]);h.av.K=olympe.j.J.C([]);h.Yu.K=olympe.j.J.C([]);h.fv.K=olympe.j.J.C([]);h.Og.K=olympe.j.J.C([]);h.Zg.K=olympe.j.J.C([]);h.Ub.K=olympe.j.J.C([]);h.Xb.K=olympe.j.J.C([]);h.bi.K=olympe.j.J.C([]);h.Fc.K=olympe.j.J.C([]);h.Kc.K=olympe.j.J.C([]);h.td.K=olympe.j.J.C([]);h.sd.K=olympe.j.J.C([]);h.Pu.K=olympe.j.J.C([]);h.ip.K=olympe.j.J.C([]);h.Uc.K=new olympe.j.J(()=>olympe.ui.X.Zn,[]);
863
- h.Hj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Gj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Ij.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.ej.K=new olympe.j.J(()=>String,[]);h.Ak.K=new olympe.j.J(()=>String,[]);h.fj.K=new olympe.j.J(()=>String,[]);h.Bg.K=olympe.j.J.C([]);olympe.ui.F.Pc=class extends olympe.ui.F.mb{constructor(a,b){super(olympe.ui.Na.C(olympe.N.F.Pc,olympe.host.ab.jb.YK));this.C=olympe.j.Ab('');this.R=null;b=olympe.ui.Na.D().ix(b);olympe.ui.F.Pc.prototype.$d.call(this,b);this.Gb(void 0!==a?a:b.na());T(this).Gl(c=>{I(this.C,olympe.j.ic(c))})}Ff(a){T(this).Ff(a);return this}Jb(a){T(this).Ff(a);return this}getValue(){return this.C}Lj(){return this.C}Bb(a){T(this).Bb(a);return this}vb(a){T(this).vb(a);return this}rb(a){T(this).rb(a);return this}Od(a){T(this).Od(a);
863
+ h.Hj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Gj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Ij.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.ej.K=new olympe.j.J(()=>String,[]);h.Ak.K=new olympe.j.J(()=>String,[]);h.fj.K=new olympe.j.J(()=>String,[]);h.Bg.K=olympe.j.J.C([]);olympe.ui.F.Pc=class extends olympe.ui.F.mb{constructor(a,b){super(olympe.ui.Na.C(olympe.N.F.Pc,olympe.host.ab.jb.YK));this.C=olympe.j.Ab('');this.R=null;b=olympe.ui.Na.D().ix(b);olympe.ui.F.Pc.prototype.$d.call(this,b);this.Gb(void 0!==a?a:b.na());T(this).Gl(c=>{I(this.C,olympe.j.ic(c))})}Ff(a){T(this).Ff(a);return this}Jb(a){T(this).Ff(a);return this}getValue(){return this.C}Lj(){return this.C}Bb(a){T(this).Bb(a);return this}wb(a){T(this).wb(a);return this}rb(a){T(this).rb(a);return this}Od(a){T(this).Od(a);
864
864
  return this}lb(a){olympe.j.cg(a,b=>{b&&b.ei&&T(this).lb(b.ei())});return this}Ub(a){T(this).Ub(a);return this}Xb(a){T(this).Xb(a);return this}Fc(a){T(this).Fc(a);return this}Kc(a){T(this).Kc(a);return this}td(a){T(this).td(a);return this}sd(a){T(this).sd(a);return this}Og(a){T(this).Og(a);return this}Zg(a){T(this).Zg(olympe.j.cg(a,b=>b.ei()));return this}Sj(){T(this).Sj();return this}Cf(a){T(this).Cf(a);return this}jp(a){olympe.j.Wa([a],b=>{b.valueOf()?T(this).jp(!0,olympe.j.yb().re(c=>{I(olympe.j.Qa(this.na()).ta(),
865
- olympe.j.Ba(c))})):T(this).jp(!1)});return this}Uc(){this.R||(this.R=new olympe.ui.X.Zn(T(this)));return this.R}Hj(){return this.Uc().Hj()}Gj(){return this.Uc().Gj()}Ij(){return this.Uc().Ij()}ej(a){return this.Uc().ej(a)}D(a){this.Uc().D(a)}Ak(a){return this.Uc().Ak(a)}T(a){this.Uc().T(a)}fj(a){return this.Uc().fj(a)}O(a){this.Uc().O(a)}$d(a){super.$d(a);this.rb(a.dI());this.Bb(a.Bi());this.vb(a.Ai());this.Od(a.yl());this.sd(a.eI());this.Fc(a.fI());this.Kc(a.gI());this.td(a.hI());this.lb(a.iI());
866
- this.Ub(a.jI());this.Xb(a.kI())}};olympe.ui.F.Pc.Aa=[olympe.ui.F.Dv,olympe.ui.X.sg];h=olympe.ui.F.Pc.prototype;h.Ff.K=olympe.j.J.C([]);h.Jb.K=olympe.j.J.C([]);h.getValue.K=olympe.j.J.R;h.Lj.K=olympe.j.J.R;h.Bb.K=olympe.j.J.C([]);h.vb.K=olympe.j.J.C([]);h.rb.K=olympe.j.J.C([]);h.Od.K=olympe.j.J.C([]);h.lb.K=olympe.j.J.C([]);h.Ub.K=olympe.j.J.C([]);h.Xb.K=olympe.j.J.C([]);h.Fc.K=olympe.j.J.C([]);h.Kc.K=olympe.j.J.C([]);h.td.K=olympe.j.J.C([]);h.sd.K=olympe.j.J.C([]);h.Og.K=olympe.j.J.C([]);h.Zg.K=olympe.j.J.C([]);
865
+ olympe.j.Ba(c))})):T(this).jp(!1)});return this}Uc(){this.R||(this.R=new olympe.ui.X.Zn(T(this)));return this.R}Hj(){return this.Uc().Hj()}Gj(){return this.Uc().Gj()}Ij(){return this.Uc().Ij()}ej(a){return this.Uc().ej(a)}D(a){this.Uc().D(a)}Ak(a){return this.Uc().Ak(a)}T(a){this.Uc().T(a)}fj(a){return this.Uc().fj(a)}O(a){this.Uc().O(a)}$d(a){super.$d(a);this.rb(a.dI());this.Bb(a.Bi());this.wb(a.Ai());this.Od(a.yl());this.sd(a.eI());this.Fc(a.fI());this.Kc(a.gI());this.td(a.hI());this.lb(a.iI());
866
+ this.Ub(a.jI());this.Xb(a.kI())}};olympe.ui.F.Pc.Aa=[olympe.ui.F.Dv,olympe.ui.X.sg];h=olympe.ui.F.Pc.prototype;h.Ff.K=olympe.j.J.C([]);h.Jb.K=olympe.j.J.C([]);h.getValue.K=olympe.j.J.R;h.Lj.K=olympe.j.J.R;h.Bb.K=olympe.j.J.C([]);h.wb.K=olympe.j.J.C([]);h.rb.K=olympe.j.J.C([]);h.Od.K=olympe.j.J.C([]);h.lb.K=olympe.j.J.C([]);h.Ub.K=olympe.j.J.C([]);h.Xb.K=olympe.j.J.C([]);h.Fc.K=olympe.j.J.C([]);h.Kc.K=olympe.j.J.C([]);h.td.K=olympe.j.J.C([]);h.sd.K=olympe.j.J.C([]);h.Og.K=olympe.j.J.C([]);h.Zg.K=olympe.j.J.C([]);
867
867
  h.Sj.K=olympe.j.J.C([]);h.Cf.K=olympe.j.J.C([]);h.jp.K=olympe.j.J.C([0]);h.Uc.K=new olympe.j.J(()=>olympe.ui.X.Zn,[]);h.Hj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Gj.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.Ij.K=new olympe.j.J(()=>olympe.ui.X.qe,[]);h.ej.K=new olympe.j.J(()=>String,[]);h.Ak.K=new olympe.j.J(()=>String,[]);h.fj.K=new olympe.j.J(()=>String,[]);olympe.ui.F.Jd=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.F.Jd,olympe.host.ab.jb.$K),a);this.C=new olympe.j.ga(olympe.j.la(),olympe.j.la());this.ra().hx((b,c)=>{K(this.C.qa(),b);K(this.C.ta(),c)});this.D=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.C);this.R=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.O=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.volume=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ONE);this.T=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);
868
868
  this.duration=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);this.ra().Vo(()=>{this.D.update(olympe.j.ia.pb)});this.ra().Uo(()=>{this.D.update(olympe.j.ia.C)});this.ra().Yo((b,c)=>{this.volume.update(olympe.j.Ba(b));this.R.update(olympe.j.hc(c))});this.ra().Wo(b=>{this.T.update(olympe.j.Ba(b))});this.ra().Po(()=>{this.O.update(olympe.j.ia.C)});this.ra().Oo(b=>{this.duration.update(olympe.j.Ba(b))})}ne(a){this.ra().ne(a);return this}$j(a){this.ra().$j(olympe.j.cg(a,b=>b?b.ra():null));return this}hx(){return this.C}nj(a){this.ra().nj(a);
869
869
  return this}jj(a){this.ra().jj(a);return this}Xj(a){this.ra().Xj(a);return this}oj(a){this.ra().oj(a);return this}play(){this.ra().play();return this}pause(){this.ra().pause();return this}reload(){this.ra().reload();return this}Ik(a){this.ra().Ik(pc(0,oc(1,a)));return this}Gk(a){this.ra().Gk(a);return this}};h=olympe.ui.F.Jd.prototype;h.ne.K=olympe.j.J.C([]);h.$j.K=olympe.j.J.C([]);h.nj.K=olympe.j.J.C([]);h.jj.K=olympe.j.J.C([]);h.Xj.K=olympe.j.J.C([]);h.oj.K=olympe.j.J.C([]);olympe.ui.F.Audio=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.F.Audio,olympe.host.ab.jb.SK),a);this.C=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.C);this.D=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.R=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.volume=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ONE);this.O=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);this.duration=olympe.j.Za(olympe.j.aa).update(olympe.j.aa.ZERO);this.ra().Vo(()=>{this.C.update(olympe.j.ia.pb)});
870
870
  this.ra().Uo(()=>{this.C.update(olympe.j.ia.C)});this.ra().Yo((b,c)=>{this.volume.update(olympe.j.Ba(b));this.D.update(olympe.j.hc(c))});this.ra().Wo(b=>{this.O.update(olympe.j.Ba(b))});this.ra().Po(()=>{this.R.update(olympe.j.ia.C)});this.ra().Oo(b=>{this.duration.update(olympe.j.Ba(b))})}ne(a){this.ra().ne(a);return this}$j(a){this.ra().$j(olympe.j.cg(a,b=>b?b.ra():null));return this}nj(a){this.ra().nj(a);return this}jj(a){this.ra().jj(a);return this}Xj(a){this.ra().Xj(a);return this}oj(a){this.ra().oj(a);
871
871
  return this}play(){this.ra().play();return this}pause(){this.ra().pause();return this}reload(){this.ra().reload();return this}Ik(a){this.ra().Ik(pc(0,oc(1,a)));return this}Gk(a){this.ra().Gk(a);return this}};h=olympe.ui.F.Audio.prototype;h.ne.K=olympe.j.J.C([]);h.$j.K=olympe.j.J.C([]);h.nj.K=olympe.j.J.C([]);h.jj.K=olympe.j.J.C([]);h.Xj.K=olympe.j.J.C([]);h.oj.K=olympe.j.J.C([]);olympe.ui.F.Tt=class extends olympe.ui.F.mb{constructor(a,b){super(olympe.ui.Na.C(olympe.N.F.Tt,olympe.host.ab.jb.aL),a);void 0!==b&&this.Hk(b)}Hk(a){T(this).Hk(a)}};olympe.ui.F.ZU=class extends olympe.ui.F.ce{constructor(a,b){super(a);this.kc=olympe.j.Ab(b);a=olympe.ui.Na.D().EA(this.kc);this.D=olympe.j.la();this.vf=olympe.j.la();this.lg=olympe.j.la();this.cf=olympe.j.Ab();this.Yc=olympe.j.la();this.ld=olympe.j.qd();this.Pb=olympe.j.la();this.Eb=olympe.j.qd();this.ag=olympe.j.qd();this.da=olympe.j.la();this.xk=olympe.j.ub(String,olympe.ui.ha.Db.Sb);this.Ko=olympe.j.ub(String,olympe.ui.ha.rc.Sc);this.ca=olympe.j.qd();this.gd=olympe.j.la();this.T=new olympe.ui.F.xd(this.na().qa(),
872
872
  0,0,0,!1,this.na().ta());this.C=new olympe.ui.F.Xe(olympe.j.dd(this.na().qa(),this.D));this.R=new olympe.ui.F.tm(olympe.j.dd(this.da,this.D));this.xb=olympe.j.Ab();this.W=olympe.j.dd();this.ob=olympe.j.dd();this.Oa=olympe.j.Wc();this.ma=olympe.j.qd();this.Ka=olympe.j.la();this.Ha=olympe.j.qd();this.Cl=new olympe.ui.F.cb(olympe.j.dd(this.na().qa(),this.D));this.close=new olympe.ui.F.ye(this.W);this.close.rd(this.Oa);this.close.Ma(this.ma);this.close.Ld(this.Ka,this.Ha);this.close.Yg(this.xb,olympe.ui.ha.Ah.Us,
873
- olympe.ui.ha.df.Sb,this.W,this.ob);this.T.appendChild(this.C,'titleContainer');this.T.Ld(this.Pb,this.Eb);this.C.appendChild(this.Cl,'titleText',olympe.j.dd(0,0));this.C.appendChild(this.R,'closeButtonContainer',olympe.j.dd(this.na().qa().ya(this.R.na().ta()),0));this.C.Ld(this.Yc,this.ld);this.C.Wb(this.gd);this.R.Ma(this.ca);this.R.appendChild(this.close,'closeButton',olympe.j.dd(.5,.5));olympe.ui.F.ZU.prototype.$d.call(this,a);a=this.Cl;a.rb(this.vf);a.Bb(this.lg);a.vb(this.cf);a.lb(this.ag);a.Ma(this.ca);
873
+ olympe.ui.ha.df.Sb,this.W,this.ob);this.T.appendChild(this.C,'titleContainer');this.T.Ld(this.Pb,this.Eb);this.C.appendChild(this.Cl,'titleText',olympe.j.dd(0,0));this.C.appendChild(this.R,'closeButtonContainer',olympe.j.dd(this.na().qa().ya(this.R.na().ta()),0));this.C.Ld(this.Yc,this.ld);this.C.Wb(this.gd);this.R.Ma(this.ca);this.R.appendChild(this.close,'closeButton',olympe.j.dd(.5,.5));olympe.ui.F.ZU.prototype.$d.call(this,a);a=this.Cl;a.rb(this.vf);a.Bb(this.lg);a.wb(this.cf);a.lb(this.ag);a.Ma(this.ca);
874
874
  a.Ub(this.xk);a.Xb(this.Ko);Kf(this,this.T,'WindowComponent')}Nd(a,b){this.T.appendChild(a,b);return this}$d(a){super.$d(a);K(this.D,olympe.j.la(a.rO()));K(this.vf,olympe.j.la(a.pO()));K(this.lg,olympe.j.la(a.qO()));K(this.cf,olympe.j.Ab(a.oO()));K(this.ag,a.sO());K(this.Yc,olympe.j.la(a.mO()));K(this.ld,a.lO());var b=a.uO();K(this.xk,a.tO());K(this.Ko,b);K(this.ca,a.kO());K(this.gd,a.nO());K(this.Pb,a.hN());K(this.Eb,a.gN());K(this.xb,a.dN());K(this.W,a.cN());K(this.Oa,a.aN());K(this.ma,a.YM());
875
875
  K(this.da,a.TM());K(this.ob,a.bN());K(this.Ka,a.$M());K(this.Ha,a.ZM())}Bg(a){K(this.kc,a);return this}};let Yf=0;function Zf(a,b){return a.C.wa().getMonth().Se(b.getMonth())}function $f(a,b){return a.C.wa().eq().Se(b.eq()).and(Zf(a,b))}function ag(a,b){K(a.Yc,olympe.j.hc(b))}
876
876
  olympe.ui.F.eg=class extends olympe.ui.F.ce{constructor(a,b,c,d){function e(u,v){return olympe.j.Xa([u],w=>{let x=(new Date(w.getYear(),w.getMonth()-1,1)).getDay();const y=(new Date(w.getYear(),w.getMonth(),0)).getDate();0===x&&(x=7);return v<x-1?uc(new Date(w.getYear(),w.getMonth()-1,1)).$t(-(x-(v+1))):v-(x-1)<y?uc(new Date(w.getYear(),w.getMonth()-1,1)).$t(v-(x-1)):42>v?uc(new Date(w.getYear(),w.getMonth(),1)).$t(v-(x-1)-y):uc(w)},olympe.j.ac)}function f(){for(let u=0;3>u;u++)for(let v=0;4>v;v++)p(u,
877
- v)}function g(){for(let u=0;6>u;u++)for(let v=0;7>v;v++)r(u,v)}super(a);const k=void 0===c?olympe.j.Ba(400):c.qa(),l=void 0===c?olympe.j.Ba(400):c.ta();c='Mon Tue Wed Thu Fri Sat Sun'.split(' ');this.Cl=olympe.j.dd();this.Ko=olympe.j.Ab();this.T=olympe.j.qd();this.lE=olympe.j.la();this.kE=olympe.j.qd();this.da=olympe.j.qd();this.xE=olympe.j.qd();olympe.j.qd();this.hF=Fc(this.da.Al(),this.da.zl(),this.da.ol());this.Oa=olympe.j.oY();this.C=olympe.j.Za(olympe.j.ac).update(olympe.j.Qa(olympe.j.ac.now()));
878
- this.Yc=olympe.j.Wc(!1);this.ag=void 0===b?olympe.j.ia.C:b;this.Ha=null;this.D=new olympe.ui.F.Mb(void 0,'default');this.Ka=null;this.lg=olympe.j.ub(olympe.ui.F.pf,olympe.ui.Na.hf());this.Pb=this.cf=this.vf=this.gd=this.Eb=this.xb=this.ma=this.ld=this.ob=this.W=this.R=null;this.kc=Yf++;this.Ls=olympe.j.qd();this.fF=olympe.j.la();this.ca=olympe.j.Wc(!0);const m=new Intl.DateTimeFormat(void 0,{month:'short'}),n=new Intl.DateTimeFormat(void 0,{weekday:'short'}),p=(u,v)=>{const w=new olympe.ui.F.cb(new olympe.j.ga(k.Ua(5),
877
+ v)}function g(){for(let u=0;6>u;u++)for(let v=0;7>v;v++)r(u,v)}super(a);const k=void 0===c?olympe.j.Ba(400):c.qa(),l=void 0===c?olympe.j.Ba(400):c.ta();c='Mon Tue Wed Thu Fri Sat Sun'.split(' ');this.Cl=olympe.j.dd();this.Ko=olympe.j.Ab();this.T=olympe.j.qd();this.mE=olympe.j.la();this.lE=olympe.j.qd();this.da=olympe.j.qd();this.yE=olympe.j.qd();olympe.j.qd();this.iF=Fc(this.da.Al(),this.da.zl(),this.da.ol());this.Oa=olympe.j.oY();this.C=olympe.j.Za(olympe.j.ac).update(olympe.j.Qa(olympe.j.ac.now()));
878
+ this.Yc=olympe.j.Wc(!1);this.ag=void 0===b?olympe.j.ia.C:b;this.Ha=null;this.D=new olympe.ui.F.Mb(void 0,'default');this.Ka=null;this.lg=olympe.j.ub(olympe.ui.F.pf,olympe.ui.Na.hf());this.Pb=this.cf=this.vf=this.gd=this.Eb=this.xb=this.ma=this.ld=this.ob=this.W=this.R=null;this.kc=Yf++;this.Ls=olympe.j.qd();this.gF=olympe.j.la();this.ca=olympe.j.Wc(!0);const m=new Intl.DateTimeFormat(void 0,{month:'short'}),n=new Intl.DateTimeFormat(void 0,{weekday:'short'}),p=(u,v)=>{const w=new olympe.ui.F.cb(new olympe.j.ga(k.Ua(5),
879
879
  k.Ua(5)));w.Wb(k);w.Ub(olympe.ui.ha.Db.Sb);w.Xb(olympe.ui.ha.rc.Sc);const x=olympe.j.ub(olympe.j.ac,tc({year:olympe.j.Qa(this.C.wa()).getYear(),month:4*u+v+1,day:olympe.j.Qa(this.C.wa()).eq()}));olympe.j.Wa([x],y=>{m.format(y.nv())});olympe.j.$a(Zf(this,x),()=>{w.lb(O()).rb(18).Bb(600).Ld(1,O())},()=>{w.lb(this.da).Bb(400).rb(16).Ld(0,O())});w.Ma(this.T);w.Vc(()=>{this.C.update(tc({year:olympe.j.Qa(this.C.wa()).getYear(),month:4*u+v+1,day:olympe.j.Qa(this.C.wa()).eq()}));K(this.ca,olympe.j.ia.C);
880
880
  g()});olympe.j.$a(w.Ih(),()=>w.Ld(1,O()),()=>{const y=olympe.j.Qa(Zf(this,x));y&&y.valueOf()||w.Ld(1,this.T)});this.vf.appendChild(w,'dpMonthElem'+(4*u+v),new olympe.j.ga(k.Ua(4).hb(v).Sa(k.Ua(4).ya(k.Ua(5)).Ua(2)),l.Ua(10).hb(9).Ua(3).hb(u)))},r=(u,v)=>{const w=new olympe.ui.F.cb(new olympe.j.ga(l.Ua(10),l.Ua(10)));w.Wb(k);w.Ub(olympe.ui.ha.Db.Sb);w.Xb(olympe.ui.ha.rc.Sc);const x=e(this.C.wa(),7*u+v);w.Jb(x.eq().og());olympe.j.$a(Zf(this,x),()=>{olympe.j.$a($f(this,x),()=>{w.lb(Ac());w.Ma(O())},
881
- ()=>{w.lb(this.da);w.Ma(Dc())})},()=>{w.lb(this.hF);w.Ma(Dc())});w.Vc(()=>{this.C.update(tc({year:olympe.j.Qa(x).getYear(),month:olympe.j.Qa(x).getMonth(),day:olympe.j.Qa(x).eq()}));K(this.Oa,this.C.wa());ag(this,olympe.j.Wc(!1))});olympe.j.$a(this.C.wa().mp().Se(x.mp()).Re(),()=>{const y=olympe.j.Qa(Zf(this,x));void 0!==y&&y.valueOf()&&w.lb(O());w.Ma(this.T)});w.Ld(olympe.j.$a(w.Ih(),()=>1,()=>0,olympe.j.aa),olympe.j.$a(w.Ih(),()=>O(),()=>this.T,olympe.j.Color));this.cf.appendChild(w,'dpElem'+(7*
882
- u+v),new olympe.j.ga(k.Ua(7).hb(v).Sa(k.Ua(7).ya(l.Ua(8)).Ua(2)),l.Ua(10).hb(u).hb(7).Ua(6)))},t=(u,v)=>{u=u.split('/');if(3===u.length){const w=tc({year:parseInt(u[2],10),month:parseInt(u[1],10),day:parseInt(u[0],10)});if(!w.an()||4>u[2].length)return v;K(this.Oa,w);return w}return v};b=olympe.ui.Na.D().OD(d);olympe.ui.F.eg.prototype.$d.call(this,b);this.R=new olympe.ui.F.xd;this.R.Ma(this.T);this.R.Ld(this.lE,this.kE);this.ag.valueOf()?this.D.Gb(new olympe.j.ga(a.qa().ya(a.ta()).ya(8),a.ta())):
883
- this.D.Gb(a);this.D.Bg('default');this.Pb=new olympe.ui.F.Zd(a.ta(),8);this.Pb.appendChild(this.D,'datepickerField');this.D.fj(()=>{this.C.update(t(olympe.j.Qa(this.D.Lj()).valueOf(),this.C.wa()))});olympe.j.Wa([this.Oa],u=>{this.D.Jb(u.mp())});if(this.ag){this.gd=(new olympe.ui.F.jc(new olympe.j.ga(a.ta(),a.ta()),'default')).Bg('default').Jb('\uf073').vb('Fontawesome');this.gd.Vc(()=>{ag(this,olympe.j.$a(F(this.Yc),()=>olympe.j.ia.pb,()=>olympe.j.ia.C,olympe.j.ia))});this.W=new olympe.ui.F.cb(new olympe.j.ga(k.Ua(8).hb(6),
884
- l.Ua(8)));this.W.Jb(olympe.j.Xa([this.C.wa(),this.ca],(v,w)=>{const x=v.getYear().og();return w.valueOf()?olympe.j.ic(m.format(v.nv())).bA(x,' '):x},olympe.j.kb));this.W.lb(O());olympe.j.$a(this.W.Ih(),()=>{this.W.rb(18);this.W.Bb(600)},()=>{this.W.rb(16);this.W.Bb(400)});this.W.Xb(olympe.ui.ha.rc.Sc);this.W.Ub(olympe.ui.ha.Db.Sb);this.W.Vc(()=>{olympe.j.$a(F(this.ca),()=>K(this.ca,olympe.j.ia.pb))});this.xb=new olympe.ui.F.jc(new olympe.j.ga(k.Ua(8),l.Ua(8)),'\uf053');this.xb.Ma(this.T).rb(20).Bb(500).lb(O()).vb('FontAwesome');
885
- this.xb.Vc(()=>{if(void 0===this.C.wa())return!1;if(F(this.ca).valueOf()){if(void 0!==this.C.wa())return this.C.update(this.C.wa().Xz(-1)),g(),!0}else if(void 0!==this.C.wa())return this.C.update(this.C.wa().Cw(-1)),g(),!0;return!1});this.xb.Ld(0,this.T);this.Eb=new olympe.ui.F.jc(new olympe.j.ga(k.Ua(8),l.Ua(8)),'\uf054');this.Eb.Ma(this.T).rb(20).Bb(500).lb(O()).vb('FontAwesome');this.Eb.Vc(()=>{if(void 0===this.C.wa())return!1;F(this.ca).valueOf()?this.C.update(this.C.wa().Xz(1)):this.C.update(this.C.wa().Cw(1));
881
+ ()=>{w.lb(this.da);w.Ma(Dc())})},()=>{w.lb(this.iF);w.Ma(Dc())});w.Vc(()=>{this.C.update(tc({year:olympe.j.Qa(x).getYear(),month:olympe.j.Qa(x).getMonth(),day:olympe.j.Qa(x).eq()}));K(this.Oa,this.C.wa());ag(this,olympe.j.Wc(!1))});olympe.j.$a(this.C.wa().mp().Se(x.mp()).Re(),()=>{const y=olympe.j.Qa(Zf(this,x));void 0!==y&&y.valueOf()&&w.lb(O());w.Ma(this.T)});w.Ld(olympe.j.$a(w.Ih(),()=>1,()=>0,olympe.j.aa),olympe.j.$a(w.Ih(),()=>O(),()=>this.T,olympe.j.Color));this.cf.appendChild(w,'dpElem'+(7*
882
+ u+v),new olympe.j.ga(k.Ua(7).hb(v).Sa(k.Ua(7).ya(l.Ua(8)).Ua(2)),l.Ua(10).hb(u).hb(7).Ua(6)))},t=(u,v)=>{u=u.split('/');if(3===u.length){const w=tc({year:parseInt(u[2],10),month:parseInt(u[1],10),day:parseInt(u[0],10)});if(!w.an()||4>u[2].length)return v;K(this.Oa,w);return w}return v};b=olympe.ui.Na.D().PD(d);olympe.ui.F.eg.prototype.$d.call(this,b);this.R=new olympe.ui.F.xd;this.R.Ma(this.T);this.R.Ld(this.mE,this.lE);this.ag.valueOf()?this.D.Gb(new olympe.j.ga(a.qa().ya(a.ta()).ya(8),a.ta())):
883
+ this.D.Gb(a);this.D.Bg('default');this.Pb=new olympe.ui.F.Zd(a.ta(),8);this.Pb.appendChild(this.D,'datepickerField');this.D.fj(()=>{this.C.update(t(olympe.j.Qa(this.D.Lj()).valueOf(),this.C.wa()))});olympe.j.Wa([this.Oa],u=>{this.D.Jb(u.mp())});if(this.ag){this.gd=(new olympe.ui.F.jc(new olympe.j.ga(a.ta(),a.ta()),'default')).Bg('default').Jb('\uf073').wb('Fontawesome');this.gd.Vc(()=>{ag(this,olympe.j.$a(F(this.Yc),()=>olympe.j.ia.pb,()=>olympe.j.ia.C,olympe.j.ia))});this.W=new olympe.ui.F.cb(new olympe.j.ga(k.Ua(8).hb(6),
884
+ l.Ua(8)));this.W.Jb(olympe.j.Xa([this.C.wa(),this.ca],(v,w)=>{const x=v.getYear().og();return w.valueOf()?olympe.j.ic(m.format(v.nv())).bA(x,' '):x},olympe.j.kb));this.W.lb(O());olympe.j.$a(this.W.Ih(),()=>{this.W.rb(18);this.W.Bb(600)},()=>{this.W.rb(16);this.W.Bb(400)});this.W.Xb(olympe.ui.ha.rc.Sc);this.W.Ub(olympe.ui.ha.Db.Sb);this.W.Vc(()=>{olympe.j.$a(F(this.ca),()=>K(this.ca,olympe.j.ia.pb))});this.xb=new olympe.ui.F.jc(new olympe.j.ga(k.Ua(8),l.Ua(8)),'\uf053');this.xb.Ma(this.T).rb(20).Bb(500).lb(O()).wb('FontAwesome');
885
+ this.xb.Vc(()=>{if(void 0===this.C.wa())return!1;if(F(this.ca).valueOf()){if(void 0!==this.C.wa())return this.C.update(this.C.wa().Xz(-1)),g(),!0}else if(void 0!==this.C.wa())return this.C.update(this.C.wa().Cw(-1)),g(),!0;return!1});this.xb.Ld(0,this.T);this.Eb=new olympe.ui.F.jc(new olympe.j.ga(k.Ua(8),l.Ua(8)),'\uf054');this.Eb.Ma(this.T).rb(20).Bb(500).lb(O()).wb('FontAwesome');this.Eb.Vc(()=>{if(void 0===this.C.wa())return!1;F(this.ca).valueOf()?this.C.update(this.C.wa().Xz(1)):this.C.update(this.C.wa().Cw(1));
886
886
  g();return!0});this.Eb.Ld(0,this.T);this.ma=new olympe.ui.F.jc(new olympe.j.ga(k,l.Ua(10)));this.ma.Jb(olympe.j.Xa([this.C.wa()],v=>{v=v.nv();return olympe.j.ic(`${n.format(v)} ${v.getDate()} ${m.format(v)} ${v.getFullYear()}`)},olympe.j.kb));this.ma.lb(this.da);this.ma.Ma(this.T);this.ma.Zj(olympe.j.Color.create(0,150,136,.8));this.ma.Vc(()=>{ag(this,olympe.j.ia.pb);K(this.ca,olympe.j.ia.C);K(this.Oa,this.C.wa())});this.ma.Ld(0,this.T);this.ob=new olympe.ui.F.Zd;this.ld=new olympe.ui.F.Zd(l.Ua(10));
887
887
  this.cf=new olympe.ui.F.Xe(new olympe.j.ga(k,l.Ua(10).hb(7)));this.vf=new olympe.ui.F.Xe(new olympe.j.ga(k,l.Ua(10).hb(9)));this.xk=new olympe.ui.F.Zd;this.ob.appendChild(this.xb,'topNavLeft');this.ob.appendChild(this.W,'panelTopTitle');this.ob.appendChild(this.Eb,'topNavRight');for(b=0;b<c.length;b++)d=new olympe.ui.F.cb(new olympe.j.ga(k.Ua(7),l.Ua(10))),d.Jb(c[b]),d.Ub(olympe.ui.ha.Db.Sb),d.Xb(olympe.ui.ha.rc.Sc),d.lb(this.da),this.ld.appendChild(d,'titleRow'+F(this.ld.Qc()).valueOf());g();f();
888
888
  this.xk.appendChild(this.ma,'panelBottomDate');let u=olympe.j.ia.C;this.R.appendChild(this.ob,'panelTop');olympe.j.$a(this.ca,()=>{u.Re().valueOf()&&this.R.removeChild('panelMonthsContent');this.R.appendChild(this.ld,'panelTitles');this.R.appendChild(this.cf,'panelDaysContent');this.R.appendChild(this.xk,'panelBottom');u=olympe.j.ia.pb},()=>{u.Re().valueOf()&&(this.R.removeChild('panelTitles'),this.R.removeChild('panelDaysContent'),this.R.removeChild('panelBottom'));this.R.appendChild(this.vf,'panelMonthsContent');
889
889
  u=olympe.j.ia.pb});this.Ha=new olympe.ui.F.wd(this.lg.na());this.Ha.Ma(new olympe.j.Color(0,0,0,0));this.Ha.Vc(()=>{ag(this,olympe.j.ia.pb);K(this.ca,olympe.j.ia.C)});olympe.j.$a(this.Yc,()=>{this.Ka=F(this.lg);this.Ha&&this.Ka.appendChild(this.Ha,'datepickerPanelOverlay_'+this.kc);this.Ka.appendChild(this.R,'datepickerPanel_'+this.kc,new olympe.j.ga(this.xh().qa(),this.xh().ta().Sa(a.ta().Sa(8))))},()=>{if(this.Ka){const v=this.Ka;this.Ka=null;v.removeChild('datepickerPanel_'+this.kc);this.Ha&&v.removeChild('datepickerPanelOverlay_'+
890
- this.kc)}});this.Pb.appendChild(this.gd,' datepickerButton')}Kf(this,this.Pb,'datepickerFieldContent')}getValue(){return this.Oa}Ff(a){this.C.update(a);K(this.Oa,a)}Og(a){this.D.Og(a)}Ub(a){this.D.Ub(a);return this}Xb(a){this.D.Xb(a);return this}Jb(a){const b=rc(a);this.Ff(olympe.j.$a(b.an(),()=>b,()=>{},olympe.j.ac));return this}Bb(a){this.D.Bb(a);return this}vb(a){this.D.vb(a);return this}rb(a){this.D.rb(a);return this}Od(a){this.D.Od(a);return this}lb(a){this.D.lb(a);return this}$d(a){super.$d(a);
891
- K(this.T,a.ON());K(this.da,a.QN());K(this.xE,a.PN());K(this.Cl,a.VM());K(this.Ko,a.WM());this.Ma(a.SM());this.D.Ma(a.cO());this.D.lb(a.jO());this.D.Zg(a.iO());this.D.rb(a.fO());this.D.Bb(a.gO());K(this.Ls,a.dO());K(this.fF,a.eO());this.D.Fc(a.hO())}};olympe.ui.F.eg.Aa=[olympe.ui.F.Dv];olympe.ui.F.Id=class extends olympe.ui.F.ce{constructor(a,b=0,c=100,d=1){super(a);const e=this.na();this.D=olympe.j.Xa([e.qa(),e.ta()],(y,A)=>olympe.j.hc(y>=A),olympe.j.ia);this.min=olympe.j.la(b);this.max=olympe.j.la(c);this.ob=olympe.j.la(d);this.R=olympe.j.Za(olympe.j.aa);this.disabled=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);a=olympe.j.Qa(this.min);M(this.R,a?a:olympe.j.aa.ZERO);olympe.j.ls([this.max.ya(this.min).Ua(2).Sa(this.min)],y=>{this.R.update(y)});this.value=this.R.wa();olympe.j.Wa([this.min],
890
+ this.kc)}});this.Pb.appendChild(this.gd,' datepickerButton')}Kf(this,this.Pb,'datepickerFieldContent')}getValue(){return this.Oa}Ff(a){this.C.update(a);K(this.Oa,a)}Og(a){this.D.Og(a)}Ub(a){this.D.Ub(a);return this}Xb(a){this.D.Xb(a);return this}Jb(a){const b=rc(a);this.Ff(olympe.j.$a(b.an(),()=>b,()=>{},olympe.j.ac));return this}Bb(a){this.D.Bb(a);return this}wb(a){this.D.wb(a);return this}rb(a){this.D.rb(a);return this}Od(a){this.D.Od(a);return this}lb(a){this.D.lb(a);return this}$d(a){super.$d(a);
891
+ K(this.T,a.ON());K(this.da,a.QN());K(this.yE,a.PN());K(this.Cl,a.VM());K(this.Ko,a.WM());this.Ma(a.SM());this.D.Ma(a.cO());this.D.lb(a.jO());this.D.Zg(a.iO());this.D.rb(a.fO());this.D.Bb(a.gO());K(this.Ls,a.dO());K(this.gF,a.eO());this.D.Fc(a.hO())}};olympe.ui.F.eg.Aa=[olympe.ui.F.Dv];olympe.ui.F.Id=class extends olympe.ui.F.ce{constructor(a,b=0,c=100,d=1){super(a);const e=this.na();this.D=olympe.j.Xa([e.qa(),e.ta()],(y,A)=>olympe.j.hc(y>=A),olympe.j.ia);this.min=olympe.j.la(b);this.max=olympe.j.la(c);this.ob=olympe.j.la(d);this.R=olympe.j.Za(olympe.j.aa);this.disabled=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);a=olympe.j.Qa(this.min);M(this.R,a?a:olympe.j.aa.ZERO);olympe.j.ls([this.max.ya(this.min).Ua(2).Sa(this.min)],y=>{this.R.update(y)});this.value=this.R.wa();olympe.j.Wa([this.min],
892
892
  y=>{M(this.R,y)});this.T=Object.create(null);const f=oc(e.qa(),e.ta()).ya(4),g=pc(f.Ua(2).Sa(2),olympe.j.Ba(5));this.lineWidth=olympe.j.la(5);const k=olympe.j.Xa([this.D],y=>y.valueOf()?new olympe.j.ga(e.qa().ya(g.hb(2)),this.lineWidth):new olympe.j.ga(this.lineWidth,e.ta().ya(g.hb(2))),olympe.j.ga);a=olympe.j.Xa([this.D],y=>y.valueOf()?new olympe.j.ga(g,e.ta().ya(this.lineWidth).Ua(2)):new olympe.j.ga(e.qa().ya(this.lineWidth).Ua(2),g),olympe.j.ga);this.Ha=P(N());this.ma=P(Cc());this.Oa=P(Ac());
893
893
  this.da=P(N());this.Ka=P(zc('lime',0,255,0,1));this.W=olympe.j.la(1);this.ca=new olympe.ui.F.ye(k);this.ca.setPosition(a).Ma(this.Ha);Kf(this,this.ca,'SliderLine');a=olympe.j.Xa([this.D],y=>y.valueOf()?new olympe.j.ga(this.value.ya(this.min).Ua(this.max.ya(this.min)).hb(k.qa()).round().ya(f.Ua(2)).Sa(g),e.ta().ya(f).Ua(2)):new olympe.j.ga(e.qa().ya(f).Ua(2),this.value.ya(this.min).Ua(this.max.ya(this.min)).hb(k.ta()).round().ya(f.Ua(2)).Sa(g)),olympe.j.ga);this.C=new olympe.ui.F.em(f);this.C.setPosition(a).Ld(this.W,
894
894
  this.da).Ma(this.ma);Kf(this,this.C,'SliderKnob');this.ca.yh(!0);this.yh(!1);const l=olympe.j.Qa,m=y=>{var A=l(this.D).valueOf();const H=l(this.min).valueOf(),G=l(this.max).valueOf()-H,R=l(g);A=A?l(l(k).qa()).valueOf():l(l(k).ta()).valueOf();y=y<R?0:y-R;y=y>A?A:y;this.Ff(y/A*G+H)},n=y=>{y?(this.C.Ld(this.W,this.Ka),this.C.Ma(this.Oa)):(this.C.Ld(this.W,this.da),this.C.Ma(this.ma))};let p=null,r=null,t=null,u=null,v=null,w=null,x=null;olympe.j.$a(this.disabled.wa().Re(),()=>{const y=()=>{n(!1);null!==
@@ -908,22 +908,22 @@ return this}Nd(a){this.ra().Nd(a.ra());return this}};h=olympe.ui.F.cc.prototype;
908
908
  h.moveTo.K=olympe.j.J.C([0,1]);h.quadraticCurveTo.K=olympe.j.J.C([0,1,2,3]);h.rect.K=olympe.j.J.C([0,1,2,3]);h.stroke.K=olympe.j.J.C([]);h.strokeRect.K=olympe.j.J.C([0,1,2,3]);h.strokeText.K=olympe.j.J.C([0,1,2,3]);h.createLinearGradient.K=olympe.j.J.C([0,1,2,3]);h.addColorStop.K=olympe.j.J.C([0,1]);h.Nw.K=olympe.j.J.C([]);h.lj.K=olympe.j.J.C([0]);h.Fs.K=olympe.j.J.C([0]);h.gS.K=olympe.j.J.C([0]);h.Uj.K=olympe.j.J.C([0]);h.Mq.K=olympe.j.J.C([0]);h.mh.K=olympe.j.J.C([0]);h.Wj.K=olympe.j.J.C([0]);
909
909
  h.Lh.K=olympe.j.J.C([0]);h.Kh.K=olympe.j.J.C([0]);h.Nd.K=olympe.j.J.C([0]);function kg(a,b){const c=(k,l)=>{k=a+k;let m=b;-1===k?(k=11,m--):12===k&&(k=0,m++);return{day:l,month:k,year:m}};var d=new Date(b,a,1),e=(new Date(d.getTime()-864E5)).getDate(),f=(new Date((new Date(b,a+1,1)).getTime()-864E5)).getDate();d=Array((d.getDay()||7)-1).fill(0).map((k,l)=>c(-1,e-l)).reverse();f=Array(f).fill(0).map((k,l)=>c(0,l+1));var g=7-(d.length+f.length)%7;g=Array(7===g?0:g).fill(0).map((k,l)=>c(1,l+1));return d.concat(f,g).reduce((k,l,m)=>{m=Math.floor(m/7);void 0===k[m]&&(k[m]=[]);
910
910
  k[m].push(l);return k},[])}
911
- olympe.ui.F.WF=class extends olympe.ui.F.xd{constructor(a,{oZ:b,CX:c,tV:d,vZ:e}={}){const f=olympe.j.ic,g=olympe.j.ac,k=olympe.j.Wa,l=olympe.j.Qa,m=olympe.j.Color;var n=olympe.j.Za;const p=olympe.j.$a,r=olympe.j.ga,t=olympe.j.kj,u=a.qa(),v=a.ta();super(u,0,0,0,v);this.disabled=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.Oa=n(g);this.C=M(n(g),g.now());this.da=tc({year:100});this.ca=tc({year:1E4});this.ma=()=>{};a=pc(40,v.Ua(7));const w=pc(20,v.Ua(10)),x=a.Sa(w),y=u.Ua(7),A=new Intl.DateTimeFormat(void 0,
912
- {month:'long'});this.D={AP:(J,V)=>{J.Jb(f(V.day));J.Ma(p(V.oq,()=>Cc(),()=>Dc(),m));J.Xb(olympe.ui.ha.rc.Sc);J.Ub(olympe.ui.ha.Db.Sb);J.lb(p(V.iE,()=>m.red(),()=>p(V.fE,()=>N(),()=>Ac(),m),m))},vO:(J,V,Ia)=>{J.Jb(olympe.j.Xa([Ia],ta=>olympe.j.ic(A.format(ta.nv())),olympe.j.kb)).Bb(800);V.Jb(Ia.getYear().og()).Bb(800);J.Xb(olympe.ui.ha.rc.Sc);J.Ub(olympe.ui.ha.Db.Sb);V.Xb(olympe.ui.ha.rc.Sc);V.Ub(olympe.ui.ha.Db.Sb)},pM:(J,V)=>{J.Jb('<'===V?'\uf104':'\uf105').Bb(800).vb('FontAwesome').Xb(olympe.ui.ha.rc.Sc).Ub(olympe.ui.ha.Db.Sb)},
911
+ olympe.ui.F.XF=class extends olympe.ui.F.xd{constructor(a,{oZ:b,CX:c,tV:d,vZ:e}={}){const f=olympe.j.ic,g=olympe.j.ac,k=olympe.j.Wa,l=olympe.j.Qa,m=olympe.j.Color;var n=olympe.j.Za;const p=olympe.j.$a,r=olympe.j.ga,t=olympe.j.kj,u=a.qa(),v=a.ta();super(u,0,0,0,v);this.disabled=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb);this.Oa=n(g);this.C=M(n(g),g.now());this.da=tc({year:100});this.ca=tc({year:1E4});this.ma=()=>{};a=pc(40,v.Ua(7));const w=pc(20,v.Ua(10)),x=a.Sa(w),y=u.Ua(7),A=new Intl.DateTimeFormat(void 0,
912
+ {month:'long'});this.D={AP:(J,V)=>{J.Jb(f(V.day));J.Ma(p(V.oq,()=>Cc(),()=>Dc(),m));J.Xb(olympe.ui.ha.rc.Sc);J.Ub(olympe.ui.ha.Db.Sb);J.lb(p(V.jE,()=>m.red(),()=>p(V.gE,()=>N(),()=>Ac(),m),m))},vO:(J,V,Ia)=>{J.Jb(olympe.j.Xa([Ia],ta=>olympe.j.ic(A.format(ta.nv())),olympe.j.kb)).Bb(800);V.Jb(Ia.getYear().og()).Bb(800);J.Xb(olympe.ui.ha.rc.Sc);J.Ub(olympe.ui.ha.Db.Sb);V.Xb(olympe.ui.ha.rc.Sc);V.Ub(olympe.ui.ha.Db.Sb)},pM:(J,V)=>{J.Jb('<'===V?'\uf104':'\uf105').Bb(800).wb('FontAwesome').Xb(olympe.ui.ha.rc.Sc).Ub(olympe.ui.ha.Db.Sb)},
913
913
  weekday:(J,V)=>{J.Jb('Mo Tu We Th Fr Sa Su'.split(' ')[V]);J.Xb(olympe.ui.ha.rc.Sc);J.Ub(olympe.ui.ha.Db.Sb)}};void 0!==b&&(this.D.AP=b);void 0!==c&&(this.D.vO=c);void 0!==d&&(this.D.pM=d);void 0!==e&&(this.D.weekday=e);b=new olympe.ui.F.Zd(a,0,0,0,!1,u);const H=new r(y.ya(10),a);n=J=>{const V=new olympe.ui.F.cb(H);this.D.pM(V,J);return V};const G=J=>{J=l(this.C.wa()).clone().Xz(J);J.NA(this.da,this.ca).Rb(olympe.j.ia.C)&&(this.C.update(J),this.ma(J))};c=n('<');c.Vc(()=>G(-1));d=n('>');d.Vc(()=>G(1));
914
914
  e=new olympe.ui.F.cb(new r(u.ya(y.hb(2)).hb(.55),a));a=new olympe.ui.F.cb(new r(u.ya(y.hb(2)).hb(.3),a));const R=n('<');R.Vc(()=>{const J=l(this.C.wa()).clone().Cw(-1);J.NA(this.da,this.ca).Rb(olympe.j.ia.C)&&(this.C.update(J),this.ma(J))});n=n('>');n.Vc(()=>{const J=l(this.C.wa()).clone().Cw(1);J.NA(this.da,this.ca).Rb(olympe.j.ia.C)&&(this.C.update(J),this.ma(J))});this.D.vO(e,a,this.C.wa());b.appendChild(c,'hl_left_arrow');b.appendChild(e,'hl_year');b.appendChild(d,'hl_right_arrow');b.appendChild(R,
915
- 'hl_yleft_arrow');b.appendChild(a,'hl_month');b.appendChild(n,'hl_yright_arrow');this.Ha=new olympe.ui.F.ye(new olympe.j.ga(u,1));this.Ha.Ma(Cc());const fa=new olympe.ui.F.Zd(w,0,0,0,!1,u),Ra=J=>{const V=new olympe.ui.F.cb(new r(y,w));this.D.weekday(V,J);return V};Array(7).fill(0).forEach((J,V)=>fa.appendChild(Ra(V),'weekday_'+V));const sa=new olympe.ui.F.xd(u,0,0,0,!1,v.ya(x)),Nb=(J,V)=>{const Ia=new olympe.ui.F.cb(new r(y,V));let ta=null;olympe.j.$a(this.disabled.wa().Re(),()=>{ta=Ia.Vc(()=>{l(J.fE).valueOf()||
916
- this.C.update(tc({year:J.year,month:J.month,day:1}));this.Wx(tc({year:J.year,month:J.month,day:J.day}))})},()=>{null!==ta&&(this.Pj(ta),ta=null)});this.D.AP(Ia,J);return Ia};k([this.C.wa().getMonth(),this.C.wa().getYear()],(J,V)=>{J=kg(J-1,V);const Ia=v.ya(x).Ua(J.length);J.forEach((ta,Sa)=>{const Va=new olympe.ui.F.Zd(Ia,0,0,0,!1,u);ta.forEach(ja=>{ja.month++;const Yh=wf=>wf.getYear().Se(ja.year).and(wf.getMonth().Se(ja.month).and(wf.eq().Se(ja.day)));ja.iE=Yh(g.now());ja.oq=t(Yh(this.Oa.wa()),!1);
917
- ja.fE=t(this.C.wa().getMonth().Se(ja.month),!1);Va.appendChild(Nb(ja,Ia),`tile_${ja.month}-${ja.day}`)});sa.appendChild(Va,`tile_line-${Sa}`)})});this.Ma(O());this.ah(1);this.appendChild(sa,'content_layout');this.appendChild(fa,'weekday_layout');this.appendChild(this.Ha,'separator');this.appendChild(b,'header_layout')}dZ(a){this.Ha.Ma(a);return this}VY(a){this.da=a;return this}UY(a){this.ca=a;return this}$A(a){olympe.j.Wa([a],b=>{b=b.clone();b.an().valueOf()&&this.C.update(b)})}FW(){return this.C.wa()}lY(a){this.ma=
918
- a}Cf(a){olympe.j.Zb(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.hc(a))}Wx(a){olympe.j.Wa([a],b=>{b=b.clone();b.an().valueOf()&&this.Oa.update(b)})}zA(){return this.Oa.wa()}};h=olympe.ui.F.WF.prototype;h.dZ.K=olympe.j.J.C([]);h.VY.K=olympe.j.J.C([]);h.UY.K=olympe.j.J.C([]);h.$A.K=olympe.j.J.C([]);h.FW.K=new olympe.j.J(()=>olympe.j.ac,[]);h.lY.K=olympe.j.J.O;h.Wx.K=olympe.j.J.O;h.zA.K=new olympe.j.J(()=>olympe.j.ac,[]);olympe.ui.F.jw=class extends olympe.ui.F.mb{constructor(a=olympe.ui.F.jw.D.gC,b){const c=new olympe.j.ga;super(olympe.ui.Na.C(olympe.N.F.Ue,olympe.host.ab.jb.eD),c);this.C=olympe.j.Za(olympe.j.aa).update(olympe.j.Ba(a));this.Nf=olympe.j.Za(olympe.j.ia).update(olympe.j.hc(void 0===b));this.Ne=olympe.j.Za(olympe.j.ia).update(olympe.j.hc(void 0===b));const d=b||new olympe.j.ga(100,100);let e=null;const f=olympe.j.yb().re(()=>{null===e&&(e=new olympe.j.ga);T(this).da((g,k)=>{e.oe(g);e.Fe(k)})});olympe.j.Wa([this.Nf,
919
- this.Ne],(g,k)=>{T(this).jp(g.valueOf(),k.valueOf());k=k.valueOf();g.valueOf()?(f(),c.oe(e.qa()),k?c.Fe(e.ta()):c.Fe(d.ta())):k?(f(),c.oe(d.qa()),c.Fe(e.ta())):(c.oe(d.qa()),c.Fe(d.ta()))})}Jb(a){olympe.j.Wa([a,this.C.wa()],(b,c)=>{switch(c.valueOf()){case olympe.ui.F.jw.D.YS:b=(new remarkable.Remarkable({html:!0,typographer:!0,xhtmlOut:!0})).render(b.valueOf());break;case olympe.ui.F.jw.D.gC:b=b.valueOf();break;default:b=b.valueOf()}T(this).dB(b)});return this}Yd(a){olympe.j.Wa([a],b=>{this.Nf.update(olympe.j.hc(b))});
920
- return this}Ed(a){olympe.j.Wa([a],b=>{this.Ne.update(olympe.j.hc(b))});return this}OY(a){this.C.update(olympe.j.Ba(a));return this}Ru(a){T(this).Ru(a);return this}Tu(a){T(this).Tu(a);return this}Su(a,b){T(this).Su(a,b.valueOf());return this}Bb(a){T(this).Bb(a);return this}vb(a){T(this).vb(a);return this}rb(a){T(this).rb(a);return this}Od(a){T(this).Od(a);return this}lb(a){T(this).lb(olympe.j.cg(a,b=>b.ei()));return this}Df(a=0,b=0,c=0,d=0){T(this).Df(a,b,c,d);return this}};
921
- olympe.ui.F.jw.D={YS:1,gC:2};h=olympe.ui.F.jw.prototype;h.Jb.K=olympe.j.J.C([0]);h.Yd.K=olympe.j.J.C([0]);h.Ed.K=olympe.j.J.C([0]);h.OY.K=olympe.j.J.C([0]);h.Ru.K=olympe.j.J.C([0]);h.Tu.K=olympe.j.J.C([0]);h.Su.K=olympe.j.J.C([0]);h.Bb.K=olympe.j.J.C([0]);h.vb.K=olympe.j.J.C([0]);h.rb.K=olympe.j.J.C([0]);h.Od.K=olympe.j.J.C([0]);h.lb.K=olympe.j.J.C([0]);h.Df.K=olympe.j.J.C([0,1,2,3]);function lg(a,b){const c=new olympe.j.Map(olympe.j.aa),d=new olympe.j.Map(olympe.j.aa);a.D.forEach((f,g)=>{c.set(g,f.na().qa());d.set(g,f.na().ta())});const e=new olympe.ui.F.Xe(new olympe.j.ga(olympe.j.aa.max(c),olympe.j.aa.max(d)));olympe.j.Wa([a.C],f=>{e.mg();f=a.D.Hh(f);const g=new olympe.j.ga(e.Cd().ya(f.Cd()).Ua(2),e.Ce().ya(f.Ce()).Ua(2));e.appendChild(f,'displayedElement',g)});b.appendChild(e,'displayPort',olympe.ui.ha.Db.Sb)}
915
+ 'hl_yleft_arrow');b.appendChild(a,'hl_month');b.appendChild(n,'hl_yright_arrow');this.Ha=new olympe.ui.F.ye(new olympe.j.ga(u,1));this.Ha.Ma(Cc());const fa=new olympe.ui.F.Zd(w,0,0,0,!1,u),Ra=J=>{const V=new olympe.ui.F.cb(new r(y,w));this.D.weekday(V,J);return V};Array(7).fill(0).forEach((J,V)=>fa.appendChild(Ra(V),'weekday_'+V));const sa=new olympe.ui.F.xd(u,0,0,0,!1,v.ya(x)),Nb=(J,V)=>{const Ia=new olympe.ui.F.cb(new r(y,V));let ta=null;olympe.j.$a(this.disabled.wa().Re(),()=>{ta=Ia.Vc(()=>{l(J.gE).valueOf()||
916
+ this.C.update(tc({year:J.year,month:J.month,day:1}));this.Wx(tc({year:J.year,month:J.month,day:J.day}))})},()=>{null!==ta&&(this.Pj(ta),ta=null)});this.D.AP(Ia,J);return Ia};k([this.C.wa().getMonth(),this.C.wa().getYear()],(J,V)=>{J=kg(J-1,V);const Ia=v.ya(x).Ua(J.length);J.forEach((ta,Sa)=>{const Va=new olympe.ui.F.Zd(Ia,0,0,0,!1,u);ta.forEach(ja=>{ja.month++;const Yh=wf=>wf.getYear().Se(ja.year).and(wf.getMonth().Se(ja.month).and(wf.eq().Se(ja.day)));ja.jE=Yh(g.now());ja.oq=t(Yh(this.Oa.wa()),!1);
917
+ ja.gE=t(this.C.wa().getMonth().Se(ja.month),!1);Va.appendChild(Nb(ja,Ia),`tile_${ja.month}-${ja.day}`)});sa.appendChild(Va,`tile_line-${Sa}`)})});this.Ma(O());this.ah(1);this.appendChild(sa,'content_layout');this.appendChild(fa,'weekday_layout');this.appendChild(this.Ha,'separator');this.appendChild(b,'header_layout')}dZ(a){this.Ha.Ma(a);return this}VY(a){this.da=a;return this}UY(a){this.ca=a;return this}$A(a){olympe.j.Wa([a],b=>{b=b.clone();b.an().valueOf()&&this.C.update(b)})}FW(){return this.C.wa()}lY(a){this.ma=
918
+ a}Cf(a){olympe.j.Zb(a)?this.disabled.repeat(a):this.disabled.update(olympe.j.hc(a))}Wx(a){olympe.j.Wa([a],b=>{b=b.clone();b.an().valueOf()&&this.Oa.update(b)})}zA(){return this.Oa.wa()}};h=olympe.ui.F.XF.prototype;h.dZ.K=olympe.j.J.C([]);h.VY.K=olympe.j.J.C([]);h.UY.K=olympe.j.J.C([]);h.$A.K=olympe.j.J.C([]);h.FW.K=new olympe.j.J(()=>olympe.j.ac,[]);h.lY.K=olympe.j.J.O;h.Wx.K=olympe.j.J.O;h.zA.K=new olympe.j.J(()=>olympe.j.ac,[]);olympe.ui.F.jw=class extends olympe.ui.F.mb{constructor(a=olympe.ui.F.jw.D.hC,b){const c=new olympe.j.ga;super(olympe.ui.Na.C(olympe.N.F.Ue,olympe.host.ab.jb.fD),c);this.C=olympe.j.Za(olympe.j.aa).update(olympe.j.Ba(a));this.Nf=olympe.j.Za(olympe.j.ia).update(olympe.j.hc(void 0===b));this.Ne=olympe.j.Za(olympe.j.ia).update(olympe.j.hc(void 0===b));const d=b||new olympe.j.ga(100,100);let e=null;const f=olympe.j.yb().re(()=>{null===e&&(e=new olympe.j.ga);T(this).da((g,k)=>{e.oe(g);e.Fe(k)})});olympe.j.Wa([this.Nf,
919
+ this.Ne],(g,k)=>{T(this).jp(g.valueOf(),k.valueOf());k=k.valueOf();g.valueOf()?(f(),c.oe(e.qa()),k?c.Fe(e.ta()):c.Fe(d.ta())):k?(f(),c.oe(d.qa()),c.Fe(e.ta())):(c.oe(d.qa()),c.Fe(d.ta()))})}Jb(a){olympe.j.Wa([a,this.C.wa()],(b,c)=>{switch(c.valueOf()){case olympe.ui.F.jw.D.YS:b=(new remarkable.Remarkable({html:!0,typographer:!0,xhtmlOut:!0})).render(b.valueOf());break;case olympe.ui.F.jw.D.hC:b=b.valueOf();break;default:b=b.valueOf()}T(this).dB(b)});return this}Yd(a){olympe.j.Wa([a],b=>{this.Nf.update(olympe.j.hc(b))});
920
+ return this}Ed(a){olympe.j.Wa([a],b=>{this.Ne.update(olympe.j.hc(b))});return this}OY(a){this.C.update(olympe.j.Ba(a));return this}Ru(a){T(this).Ru(a);return this}Tu(a){T(this).Tu(a);return this}Su(a,b){T(this).Su(a,b.valueOf());return this}Bb(a){T(this).Bb(a);return this}wb(a){T(this).wb(a);return this}rb(a){T(this).rb(a);return this}Od(a){T(this).Od(a);return this}lb(a){T(this).lb(olympe.j.cg(a,b=>b.ei()));return this}Df(a=0,b=0,c=0,d=0){T(this).Df(a,b,c,d);return this}};
921
+ olympe.ui.F.jw.D={YS:1,hC:2};h=olympe.ui.F.jw.prototype;h.Jb.K=olympe.j.J.C([0]);h.Yd.K=olympe.j.J.C([0]);h.Ed.K=olympe.j.J.C([0]);h.OY.K=olympe.j.J.C([0]);h.Ru.K=olympe.j.J.C([0]);h.Tu.K=olympe.j.J.C([0]);h.Su.K=olympe.j.J.C([0]);h.Bb.K=olympe.j.J.C([0]);h.wb.K=olympe.j.J.C([0]);h.rb.K=olympe.j.J.C([0]);h.Od.K=olympe.j.J.C([0]);h.lb.K=olympe.j.J.C([0]);h.Df.K=olympe.j.J.C([0,1,2,3]);function lg(a,b){const c=new olympe.j.Map(olympe.j.aa),d=new olympe.j.Map(olympe.j.aa);a.D.forEach((f,g)=>{c.set(g,f.na().qa());d.set(g,f.na().ta())});const e=new olympe.ui.F.Xe(new olympe.j.ga(olympe.j.aa.max(c),olympe.j.aa.max(d)));olympe.j.Wa([a.C],f=>{e.mg();f=a.D.Hh(f);const g=new olympe.j.ga(e.Cd().ya(f.Cd()).Ua(2),e.Ce().ya(f.Ce()).Ua(2));e.appendChild(f,'displayedElement',g)});b.appendChild(e,'displayPort',olympe.ui.ha.Db.Sb)}
922
922
  function mg(a,b){const c=new olympe.ui.F.Zd(a.R.wa().hb(2),a.R.wa()),d=new olympe.ui.F.Xe(new olympe.j.ga(b.Cd(),40));a.D.forEach((f,g)=>{const k=new olympe.ui.F.em(a.R.wa());k.Ld(1,Ac());olympe.j.$a(a.C.wa().Se(a.D.gf(g)),()=>{k.Ma(Ac())},()=>{k.Ma(Dc())});k.Vc(()=>{var l=olympe.j.Ba(a.D.Hm(g));olympe.j.Zb(l)?a.C.repeat(l):a.C.update(l)});c.appendChild(k,g,olympe.ui.ha.rc.Sc)});d.appendChild(c,'stepper',new olympe.j.ga(d.Cd().Ua(2).ya(c.Cd().Ua(2)),d.Ce().Ua(2).ya(c.Ce().Ua(2))));const e=new olympe.ui.F.jc;
923
- e.Jb(olympe.j.$a(ng(a),()=>olympe.j.ic(a.ca),()=>olympe.j.ic('Next'),olympe.j.kb));e.Yd(!0,28);e.Ed(!0,8);e.Ma(N());e.Ld(1,Ac());e.Wb(5);e.vb('Roboto');e.ah(10);e.rd(a.T.wa().Re());e.Vc(()=>{olympe.j.ls([ng(a)],f=>{f.valueOf()&&a.Bm?a.Bm():(f=olympe.j.Qa(a.C).Sa(1).ox(a.D.aj()),olympe.j.Zb(f)?a.C.repeat(f):a.C.update(f))})});d.appendChild(e,'nextButton',new olympe.j.ga(d.Cd().ya(e.Cd()),d.Ce().Ua(2).ya(e.Ce().Ua(2))));b.appendChild(d,'c')}function ng(a){return a.C.wa().Se(a.D.Qc().ya(1))}
923
+ e.Jb(olympe.j.$a(ng(a),()=>olympe.j.ic(a.ca),()=>olympe.j.ic('Next'),olympe.j.kb));e.Yd(!0,28);e.Ed(!0,8);e.Ma(N());e.Ld(1,Ac());e.Wb(5);e.wb('Roboto');e.ah(10);e.rd(a.T.wa().Re());e.Vc(()=>{olympe.j.ls([ng(a)],f=>{f.valueOf()&&a.Bm?a.Bm():(f=olympe.j.Qa(a.C).Sa(1).ox(a.D.aj()),olympe.j.Zb(f)?a.C.repeat(f):a.C.update(f))})});d.appendChild(e,'nextButton',new olympe.j.ga(d.Cd().ya(e.Cd()),d.Ce().Ua(2).ya(e.Ce().Ua(2))));b.appendChild(d,'c')}function ng(a){return a.C.wa().Se(a.D.Qc().ya(1))}
924
924
  olympe.ui.F.VZ=class extends olympe.ui.F.ce{constructor(a,b,c='Next'){super();this.ea=b;this.D=a;this.C=olympe.j.Za(olympe.j.aa,'Carousel currentRank FlowSource');M(this.C,olympe.j.aa.ZERO);this.R=olympe.j.Za(olympe.j.aa,'Carousel bulletWidth FlowSource');this.W=olympe.j.Za(olympe.j.aa,'Carousel stepperSpacing FlowSource');this.T=olympe.j.Za(olympe.j.ia,'Carousel show ctrl btn');M(this.R,olympe.j.Ba(10));M(this.W,olympe.j.Ba(10));M(this.T,olympe.j.ia.pb);this.Bm=null;this.ca=c;a=new olympe.ui.F.xd(void 0,
925
- this.W.wa());lg(this,a);mg(this,a);this.Gb(a.na());Kf(this,a,'mainContainer')}};olympe.ui.F.rf={};olympe.ui.F.rf.CQ=class{constructor(a=300){this.duration=olympe.j.la(a)}run(a,b,c,d,e,f){f&&setTimeout(f,F(this.duration))}Rj(a,b,c){a=F(this.duration).valueOf();let d;d=olympe.j.la(0);b=olympe.j.Gi(d,a,olympe.j.aa.Dh.dt);d&&K(d,1);c&&setTimeout(c,a);return b}C(a,b,c,d){a=F(this.duration).valueOf();let e;void 0===d?(e=olympe.j.la(1),olympe.j.Gi(e,a,olympe.j.aa.Dh.dt)):olympe.j.la(1).ya(d);e&&K(e,0);c&&setTimeout(c,a)}};olympe.ui.F.rf.CQ.Aa=[olympe.ui.F.zm];olympe.ui.F.rf.QG=class{constructor(){this.duration=olympe.j.la(400)}run(a,b,c,d,e,f){b.ng(0);c=F(this.duration).valueOf();b=this.Rj(b,e);this.C(a,e,null,b);Wc(function(){f&&f()},c)}Rj(a,b,c){b=F(this.duration).valueOf();let d,e;e=olympe.j.la(0);d=olympe.j.Gi(e,b,olympe.j.aa.Dh.dt);a.ng(d);e&&K(e,1);c&&Wc(c,b);return d}C(a,b,c,d){b=F(this.duration).valueOf();let e;void 0===d?(e=olympe.j.la(1),d=olympe.j.Gi(e,b,olympe.j.aa.Dh.dt)):d=olympe.j.la(1).ya(d);a.ng(d);e&&K(e,0);c&&Wc(c,b)}};
926
- olympe.ui.F.rf.QG.Aa=[olympe.ui.F.zm];olympe.ui.F.rf.hl=class{constructor(a,b,c,d){this.direction=olympe.j.Ab(olympe.ui.F.rf.hl.C.Tf);this.duration=olympe.j.la(300);this.D=olympe.j.la();this.easing=d||olympe.j.aa.Dh.xp;a&&K(this.direction,a);b&&K(this.duration,b);c&&K(this.D,c)}run(a,b,c,d,e,f){c=F(this.duration).valueOf();b=this.Rj(b,e);this.C(a,e,null,b);f&&Wc(f,c)}Rj(a,b,c){const d=F(this.duration).valueOf();let e=olympe.j.Qa(this.D)||null,f=F(a.ae()).qa();f=f?f:olympe.j.la(0);let g=F(a.ae()).ta();g=g?g:olympe.j.la(0);let k=f,l=g,
925
+ this.W.wa());lg(this,a);mg(this,a);this.Gb(a.na());Kf(this,a,'mainContainer')}};olympe.ui.F.rf={};olympe.ui.F.rf.CQ=class{constructor(a=300){this.duration=olympe.j.la(a)}run(a,b,c,d,e,f){f&&setTimeout(f,F(this.duration))}Rj(a,b,c){a=F(this.duration).valueOf();let d;d=olympe.j.la(0);b=olympe.j.Gi(d,a,olympe.j.aa.Dh.dt);d&&K(d,1);c&&setTimeout(c,a);return b}C(a,b,c,d){a=F(this.duration).valueOf();let e;void 0===d?(e=olympe.j.la(1),olympe.j.Gi(e,a,olympe.j.aa.Dh.dt)):olympe.j.la(1).ya(d);e&&K(e,0);c&&setTimeout(c,a)}};olympe.ui.F.rf.CQ.Aa=[olympe.ui.F.zm];olympe.ui.F.rf.SG=class{constructor(){this.duration=olympe.j.la(400)}run(a,b,c,d,e,f){b.ng(0);c=F(this.duration).valueOf();b=this.Rj(b,e);this.C(a,e,null,b);Wc(function(){f&&f()},c)}Rj(a,b,c){b=F(this.duration).valueOf();let d,e;e=olympe.j.la(0);d=olympe.j.Gi(e,b,olympe.j.aa.Dh.dt);a.ng(d);e&&K(e,1);c&&Wc(c,b);return d}C(a,b,c,d){b=F(this.duration).valueOf();let e;void 0===d?(e=olympe.j.la(1),d=olympe.j.Gi(e,b,olympe.j.aa.Dh.dt)):d=olympe.j.la(1).ya(d);a.ng(d);e&&K(e,0);c&&Wc(c,b)}};
926
+ olympe.ui.F.rf.SG.Aa=[olympe.ui.F.zm];olympe.ui.F.rf.hl=class{constructor(a,b,c,d){this.direction=olympe.j.Ab(olympe.ui.F.rf.hl.C.Tf);this.duration=olympe.j.la(300);this.D=olympe.j.la();this.easing=d||olympe.j.aa.Dh.xp;a&&K(this.direction,a);b&&K(this.duration,b);c&&K(this.D,c)}run(a,b,c,d,e,f){c=F(this.duration).valueOf();b=this.Rj(b,e);this.C(a,e,null,b);f&&Wc(f,c)}Rj(a,b,c){const d=F(this.duration).valueOf();let e=olympe.j.Qa(this.D)||null,f=F(a.ae()).qa();f=f?f:olympe.j.la(0);let g=F(a.ae()).ta();g=g?g:olympe.j.la(0);let k=f,l=g,
927
927
  m,n;n=olympe.j.la(0);m=olympe.j.Gi(n,d,this.easing);const p=olympe.j.la(1).ya(m);switch(F(this.direction).valueOf()){default:case olympe.ui.F.rf.hl.C.Tf:null===e&&(e=b.na().qa());k=f.Sa(p.hb(e));break;case olympe.ui.F.rf.hl.C.wi:null===e&&(e=b.na().qa());k=f.ya(p.hb(e));break;case olympe.ui.F.rf.hl.C.zh:null===e&&(e=b.na().ta());l=g.ya(p.hb(e));break;case olympe.ui.F.rf.hl.C.gh:null===e&&(e=b.na().ta()),l=g.Sa(p.hb(e))}a.setPosition(new olympe.j.ga(k,l));n&&K(n,1);c&&Wc(c,d);return m}C(a,b,c,d){const e=
928
928
  F(this.duration).valueOf();let f=olympe.j.Qa(this.D)||null,g=F(a.ae()).qa();g=g?g:olympe.j.la(0);let k=F(a.ae()).ta();k=k?k:olympe.j.la(0);let l=g,m=k,n,p;void 0===d?(n=olympe.j.la(1),d=olympe.j.Gi(n,e,this.easing),p=olympe.j.la(1).ya(d)):(p=d,olympe.j.la(1).ya(d));switch(F(this.direction).valueOf()){default:case olympe.ui.F.rf.hl.C.Tf:null===f&&(f=b.na().qa());l=g.ya(p.hb(f));break;case olympe.ui.F.rf.hl.C.wi:null===f&&(f=b.na().qa());l=g.Sa(p.hb(f));break;case olympe.ui.F.rf.hl.C.zh:null===f&&(f=
929
929
  b.na().ta());m=k.Sa(p.hb(f));break;case olympe.ui.F.rf.hl.C.gh:null===f&&(f=b.na().ta()),m=k.ya(p.hb(f))}a.setPosition(new olympe.j.ga(l,m));n&&K(n,0);c&&Wc(c,e)}};olympe.ui.F.rf.hl.C={Tf:'left',wi:'right',zh:'bottom',gh:'top'};olympe.ui.F.rf.hl.Aa=[olympe.ui.F.zm];olympe.ui.F.rf.Zoom=class{constructor(a,b,c,d=600){this.position=a;this.D=b;this.O=olympe.j.Wc(!1);this.duration=olympe.j.la(d);c&&K(this.O,c)}run(a,b,c,d,e,f){b.ng(0);c=F(this.O).valueOf();d=F(this.duration).valueOf();const g=olympe.j.la(c?1:0),k=olympe.j.Gi(g,d,olympe.j.aa.Dh.xp);var l=olympe.j.la(1);const m=l.ya(k);var n=e.na().qa(),p=e.na().ta();const r=this.position.qa(),t=this.position.ta(),u=this.D.qa(),v=this.D.ta();e=u.Ua(n);var w=v.Ua(p),x=l.ya(e),y=l.ya(w);l=x.Ua(-2).hb(n).Sa(r).hb(m);
@@ -932,22 +932,22 @@ c){b=(b=F(a.ae()).qa())?b:olympe.j.la(0);let d=F(a.ae()).ta();d=d?d:olympe.j.la(
932
932
  H=p.hb(H).Sa(y);e=e.Ua(2).ya(t).ya(v.Ua(2)).Ua(x).hb(p);f=f.Ua(2).ya(u).ya(w.Ua(2)).Ua(y).hb(p);y=H.Ua(y);x=A.Ua(x);g?(a.setPosition(new olympe.j.ga(e.Sa(b),f.Sa(d))),a.setScale(new olympe.j.ga(x,y))):(a.setPosition(new olympe.j.ga(l.Sa(b),r.Sa(d))),a.setScale(new olympe.j.ga(A,H)));n&&K(n,1);c&&Wc(c,k);return m}C(a,b,c,d){b=(b=F(a.ae()).qa())?b:olympe.j.la(0);let e=F(a.ae()).ta();e=e?e:olympe.j.la(0);var f=F(a.na()).qa(),g=F(a.na()).ta();let k=F(this.O).valueOf(),l=F(this.duration).valueOf();var m=
933
933
  olympe.j.la(1);let n;if(void 0===d){n=olympe.j.la(1);var p=olympe.j.Gi(n,l,olympe.j.aa.Dh.xp);var r=olympe.j.la(1).ya(p)}else p=olympe.j.la(1).ya(d),r=d;d=p;k&&(d=r,r=p);const t=this.position.qa(),u=this.position.ta(),v=this.D.qa(),w=this.D.ta();p=v.Ua(f);const x=w.Ua(g);var y=m.ya(p),A=m.ya(x);m=y.Ua(-2).hb(f).Sa(t).hb(r);r=A.Ua(-2).hb(g).Sa(u).hb(r);y=d.hb(y).Sa(p);A=d.hb(A).Sa(x);f=f.Ua(2).ya(t).ya(v.Ua(2)).Ua(p).hb(d);g=g.Ua(2).ya(u).ya(w.Ua(2)).Ua(x).hb(d);d=A.Ua(x);p=y.Ua(p);k?(a.setPosition(new olympe.j.ga(f.Sa(b),
934
934
  g.Sa(e))),a.setScale(new olympe.j.ga(p,d))):(a.setPosition(new olympe.j.ga(m.Sa(b),r.Sa(e))),a.setScale(new olympe.j.ga(y,A)));n&&K(n,0);c&&Wc(c,l)}};olympe.ui.F.rf.Zoom.Aa=[olympe.ui.F.zm];olympe.ui.F.rf.er=class{constructor(a,b,c){this.O=olympe.j.Ab(olympe.ui.F.rf.er.C.Qz);this.duration=olympe.j.la(300);this.D=olympe.j.dd();a&&K(this.O,a);b&&K(this.duration,b);c&&K(this.D,c)}run(a,b,c,d,e,f){a=F(this.duration).valueOf();c=e.na().qa();d=e.na().ta();b.setPosition(new olympe.j.ga(c,d));this.Rj(b,e);f&&Wc(f,a)}Rj(a,b,c){b=F(this.duration).valueOf();var d=void 0!==F(this.D)?F(this.D):F(a.na());const e=F(d.qa());d=F(d.ta());let f=e,g=d,k,l;l=olympe.j.la(0);k=olympe.j.Gi(l,b,olympe.j.aa.Dh.xp);
935
- switch(F(this.O).valueOf()){default:case olympe.ui.F.rf.er.C.fC:f=k.hb(e);break;case olympe.ui.F.rf.er.C.Qz:g=k.hb(d)}a.Gb(new olympe.j.ga(f,g));l&&K(l,1);c&&Wc(c,b);return k}C(a,b,c,d){b=F(this.duration).valueOf();var e=void 0!==F(this.D)?F(this.D):F(a.na());const f=F(e.qa());e=F(e.ta());let g=f,k=e,l;void 0===d?(l=olympe.j.la(1),d=olympe.j.Gi(l,b,olympe.j.aa.Dh.xp)):d=olympe.j.la(1).ya(d);switch(F(this.O).valueOf()){default:case olympe.ui.F.rf.er.C.fC:g=d.hb(f);break;case olympe.ui.F.rf.er.C.Qz:k=
936
- d.hb(e)}a.Gb(new olympe.j.ga(g,k));l&&K(l,0);c&&Wc(c,b)}};olympe.ui.F.rf.er.C={fC:'hor',Qz:'ver'};olympe.ui.F.rf.er.Aa=[olympe.ui.F.zm];olympe.ui.ua={};olympe.ui.ua.Zc={};olympe.ui.ua.Zc.kd=class extends olympe.ui.wf{constructor(){super(olympe.ui.Na.C(olympe.N.ua.Zc.kd,olympe.host.ab.jb.UP));this.D=this.C=null}ME(a,b){this.ra().ME(a.qa(),a.ta(),b.qa(),b.ta())}mE(){this.C=new olympe.j.Map(olympe.j.ga);const a=olympe.j.dd(),b=olympe.j.dd(),c=olympe.j.dd(),d=olympe.j.dd();this.ra().mE(e=>{e[0]&&e[1]&&e[2]&&e[3]&&e[4]&&e[5]&&e[6]&&e[7]?(this.C.Ei(olympe.ui.ua.Zc.kd.C.xm)&&this.C.Ei(olympe.ui.ua.Zc.kd.C.ym)&&this.C.Ei(olympe.ui.ua.Zc.kd.C.$l)&&this.C.Ei(olympe.ui.ua.Zc.kd.C.Ts)||
937
- (this.C.set(olympe.ui.ua.Zc.kd.C.xm,a),this.C.set(olympe.ui.ua.Zc.kd.C.ym,b),this.C.set(olympe.ui.ua.Zc.kd.C.Ts,d),this.C.set(olympe.ui.ua.Zc.kd.C.$l,c)),K(a,new olympe.j.ga(e[0],e[1])),K(b,new olympe.j.ga(e[2],e[3])),K(c,new olympe.j.ga(e[4],e[5])),K(d,new olympe.j.ga(e[6],e[7]))):(this.C.remove(olympe.ui.ua.Zc.kd.C.xm),this.C.remove(olympe.ui.ua.Zc.kd.C.ym),this.C.remove(olympe.ui.ua.Zc.kd.C.$l),this.C.remove(olympe.ui.ua.Zc.kd.C.Ts))})}oE(){this.D=new olympe.j.Map(olympe.j.ga);const a=olympe.j.dd(),
938
- b=olympe.j.dd(),c=olympe.j.dd(),d=olympe.j.dd();this.ra().oE(e=>{e[0]&&e[1]?(this.D.Ei(olympe.ui.ua.Zc.kd.D.xm)||this.D.set(olympe.ui.ua.Zc.kd.D.xm,a),K(a,new olympe.j.ga(e[0],e[1]))):this.D.remove(olympe.ui.ua.Zc.kd.D.xm);e[2]&&e[3]?(this.D.Ei(olympe.ui.ua.Zc.kd.D.ym)||this.D.set(olympe.ui.ua.Zc.kd.D.ym,b),K(b,new olympe.j.ga(e[2],e[3]))):this.D.remove(olympe.ui.ua.Zc.kd.D.ym);e[4]&&e[5]?(this.D.Ei(olympe.ui.ua.Zc.kd.D.$l)||this.D.set(olympe.ui.ua.Zc.kd.D.$l,c),K(c,new olympe.j.ga(e[4],e[5]))):this.D.remove(olympe.ui.ua.Zc.kd.D.$l);
939
- e[6]&&e[7]?(this.D.Ei(olympe.ui.ua.Zc.kd.D.BB)||this.D.set(olympe.ui.ua.Zc.kd.D.BB,d),K(d,new olympe.j.ga(e[6],e[7]))):this.D.remove(olympe.ui.ua.Zc.kd.D.BB)})}xP(){}oP(){}MO(){}start(a){this.ra().start(a)}stop(){this.ra().stop()}};olympe.ui.ua.Zc.kd.C={xm:'TopLeftCorner',ym:'TopRightCorner',$l:'BottomLeftCorner',Ts:'BottomRightCorner'};olympe.ui.ua.Zc.kd.D={xm:'TopLeftPatternPoint',ym:'TopRightPatternPoint',$l:'BottomLeftPatternPoint',BB:'BottomRightAlignmentPoint'};olympe.ui.ua.uc=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.ua.uc,olympe.host.ab.jb.BF),a)}C(){return this.ra()}arc(a,b,c,d,e,f){this.C().arc(a,b,c,d,e,f)}arcTo(a,b,c,d,e){this.C().arcTo(a,b,c,d,e)}beginPath(){this.C().beginPath()}bezierCurveTo(a,b,c,d,e,f){this.C().bezierCurveTo(a,b,c,d,e,f)}clearRect(a,b,c,d){this.C().clearRect(a,b,c,d)}clip(){this.C().clip()}closePath(){this.C().closePath()}fill(){this.C().fill()}fillRect(a,b,c,d){this.C().fillRect(a,b,c,d)}fillText(a,
935
+ switch(F(this.O).valueOf()){default:case olympe.ui.F.rf.er.C.gC:f=k.hb(e);break;case olympe.ui.F.rf.er.C.Qz:g=k.hb(d)}a.Gb(new olympe.j.ga(f,g));l&&K(l,1);c&&Wc(c,b);return k}C(a,b,c,d){b=F(this.duration).valueOf();var e=void 0!==F(this.D)?F(this.D):F(a.na());const f=F(e.qa());e=F(e.ta());let g=f,k=e,l;void 0===d?(l=olympe.j.la(1),d=olympe.j.Gi(l,b,olympe.j.aa.Dh.xp)):d=olympe.j.la(1).ya(d);switch(F(this.O).valueOf()){default:case olympe.ui.F.rf.er.C.gC:g=d.hb(f);break;case olympe.ui.F.rf.er.C.Qz:k=
936
+ d.hb(e)}a.Gb(new olympe.j.ga(g,k));l&&K(l,0);c&&Wc(c,b)}};olympe.ui.F.rf.er.C={gC:'hor',Qz:'ver'};olympe.ui.F.rf.er.Aa=[olympe.ui.F.zm];olympe.ui.ua={};olympe.ui.ua.Zc={};olympe.ui.ua.Zc.kd=class extends olympe.ui.wf{constructor(){super(olympe.ui.Na.C(olympe.N.ua.Zc.kd,olympe.host.ab.jb.UP));this.D=this.C=null}NE(a,b){this.ra().NE(a.qa(),a.ta(),b.qa(),b.ta())}nE(){this.C=new olympe.j.Map(olympe.j.ga);const a=olympe.j.dd(),b=olympe.j.dd(),c=olympe.j.dd(),d=olympe.j.dd();this.ra().nE(e=>{e[0]&&e[1]&&e[2]&&e[3]&&e[4]&&e[5]&&e[6]&&e[7]?(this.C.Ei(olympe.ui.ua.Zc.kd.C.xm)&&this.C.Ei(olympe.ui.ua.Zc.kd.C.ym)&&this.C.Ei(olympe.ui.ua.Zc.kd.C.$l)&&this.C.Ei(olympe.ui.ua.Zc.kd.C.Ts)||
937
+ (this.C.set(olympe.ui.ua.Zc.kd.C.xm,a),this.C.set(olympe.ui.ua.Zc.kd.C.ym,b),this.C.set(olympe.ui.ua.Zc.kd.C.Ts,d),this.C.set(olympe.ui.ua.Zc.kd.C.$l,c)),K(a,new olympe.j.ga(e[0],e[1])),K(b,new olympe.j.ga(e[2],e[3])),K(c,new olympe.j.ga(e[4],e[5])),K(d,new olympe.j.ga(e[6],e[7]))):(this.C.remove(olympe.ui.ua.Zc.kd.C.xm),this.C.remove(olympe.ui.ua.Zc.kd.C.ym),this.C.remove(olympe.ui.ua.Zc.kd.C.$l),this.C.remove(olympe.ui.ua.Zc.kd.C.Ts))})}pE(){this.D=new olympe.j.Map(olympe.j.ga);const a=olympe.j.dd(),
938
+ b=olympe.j.dd(),c=olympe.j.dd(),d=olympe.j.dd();this.ra().pE(e=>{e[0]&&e[1]?(this.D.Ei(olympe.ui.ua.Zc.kd.D.xm)||this.D.set(olympe.ui.ua.Zc.kd.D.xm,a),K(a,new olympe.j.ga(e[0],e[1]))):this.D.remove(olympe.ui.ua.Zc.kd.D.xm);e[2]&&e[3]?(this.D.Ei(olympe.ui.ua.Zc.kd.D.ym)||this.D.set(olympe.ui.ua.Zc.kd.D.ym,b),K(b,new olympe.j.ga(e[2],e[3]))):this.D.remove(olympe.ui.ua.Zc.kd.D.ym);e[4]&&e[5]?(this.D.Ei(olympe.ui.ua.Zc.kd.D.$l)||this.D.set(olympe.ui.ua.Zc.kd.D.$l,c),K(c,new olympe.j.ga(e[4],e[5]))):this.D.remove(olympe.ui.ua.Zc.kd.D.$l);
939
+ e[6]&&e[7]?(this.D.Ei(olympe.ui.ua.Zc.kd.D.BB)||this.D.set(olympe.ui.ua.Zc.kd.D.BB,d),K(d,new olympe.j.ga(e[6],e[7]))):this.D.remove(olympe.ui.ua.Zc.kd.D.BB)})}xP(){}oP(){}MO(){}start(a){this.ra().start(a)}stop(){this.ra().stop()}};olympe.ui.ua.Zc.kd.C={xm:'TopLeftCorner',ym:'TopRightCorner',$l:'BottomLeftCorner',Ts:'BottomRightCorner'};olympe.ui.ua.Zc.kd.D={xm:'TopLeftPatternPoint',ym:'TopRightPatternPoint',$l:'BottomLeftPatternPoint',BB:'BottomRightAlignmentPoint'};olympe.ui.ua.uc=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.ua.uc,olympe.host.ab.jb.CF),a)}C(){return this.ra()}arc(a,b,c,d,e,f){this.C().arc(a,b,c,d,e,f)}arcTo(a,b,c,d,e){this.C().arcTo(a,b,c,d,e)}beginPath(){this.C().beginPath()}bezierCurveTo(a,b,c,d,e,f){this.C().bezierCurveTo(a,b,c,d,e,f)}clearRect(a,b,c,d){this.C().clearRect(a,b,c,d)}clip(){this.C().clip()}closePath(){this.C().closePath()}fill(){this.C().fill()}fillRect(a,b,c,d){this.C().fillRect(a,b,c,d)}fillText(a,
940
940
  b,c,d){this.C().fillText(a,b,c,d)}lineTo(a,b){this.C().lineTo(a,b)}cj(a,b){this.C().cj(a,b)}moveTo(a,b){this.C().moveTo(a,b)}quadraticCurveTo(a,b,c,d){this.C().quadraticCurveTo(a,b,c,d)}rect(a,b,c,d){this.C().rect(a,b,c,d)}stroke(){this.C().stroke()}strokeRect(a,b,c,d){this.C().strokeRect(a,b,c,d)}strokeText(a,b,c,d){this.C().strokeText(a,b,c,d)}createLinearGradient(a,b,c,d){const e=new olympe.ui.F.Eh;this.C().createLinearGradient(e.C(),a,b,c,d);return e}addColorStop(a,b){this.C().addColorStop(a,
941
- b)}lj(a){this.C().fillStyle=a}Uj(a){this.C().font=a}Mq(a){this.C().Mq(a)}mh(a){this.C().lineCap=a}Wj(a){this.C().lineJoin=a}Lh(a){this.C().Lh(a)}Kh(a){this.C().Kh(a)}Nd(a){this.C().Nd(a.ra())}};olympe.ui.ua.uc.prototype.C.K=new olympe.j.J(()=>olympe.N.ua.uc,[]);olympe.ui.ua.uc.prototype.createLinearGradient.K=new olympe.j.J(()=>olympe.ui.F.Eh,[]);olympe.ui.ua.Image=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.ua.Image,olympe.host.ab.jb.CF),a)}Kh(a){this.ra().Kh(a)}Lw(a,b){this.ra().Lw(a.ra(),b)}Kw(a,b){this.ra().Kw(a.toString(),b)}};olympe.ui.ua.filters={};olympe.ui.ua.filters.Wv=class extends olympe.ui.F.mb{constructor(a,b){super(olympe.ui.Na.C(olympe.N.ua.filters.Wv,olympe.host.ab.jb.DF),a.na());this.lq().hB(b);this.lq().eB(a.ra())}lq(){return this.ra()}};olympe.ui.Ta={};olympe.ui.Ta.Va={};olympe.ui.Ta.Va.Map=class extends olympe.ui.F.ce{constructor(a){super(a);this.map=null;this.D=!1;this.Ma(Ac());this.longitude=olympe.j.Za(olympe.j.aa).update(6.5);this.latitude=olympe.j.Za(olympe.j.aa).update(46.5);this.C=olympe.j.Za(olympe.j.aa).update(10);a=new olympe.ui.F.cb(a);a.Jb('Maps are not available in offline mode');a.Ub(olympe.ui.ha.Db.Sb);a.Xb(olympe.ui.ha.rc.Sc);Kf(this,a,'offlineMessageText');this.map=olympe.ui.Na.C(olympe.N.Ta.Va.Map,olympe.host.ab.jb.pL);olympe.j.Wa([this.na().qa()],
941
+ b)}lj(a){this.C().fillStyle=a}Uj(a){this.C().font=a}Mq(a){this.C().Mq(a)}mh(a){this.C().lineCap=a}Wj(a){this.C().lineJoin=a}Lh(a){this.C().Lh(a)}Kh(a){this.C().Kh(a)}Nd(a){this.C().Nd(a.ra())}};olympe.ui.ua.uc.prototype.C.K=new olympe.j.J(()=>olympe.N.ua.uc,[]);olympe.ui.ua.uc.prototype.createLinearGradient.K=new olympe.j.J(()=>olympe.ui.F.Eh,[]);olympe.ui.ua.Image=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.ua.Image,olympe.host.ab.jb.DF),a)}Kh(a){this.ra().Kh(a)}Lw(a,b){this.ra().Lw(a.ra(),b)}Kw(a,b){this.ra().Kw(a.toString(),b)}};olympe.ui.ua.filters={};olympe.ui.ua.filters.Wv=class extends olympe.ui.F.mb{constructor(a,b){super(olympe.ui.Na.C(olympe.N.ua.filters.Wv,olympe.host.ab.jb.EF),a.na());this.lq().hB(b);this.lq().eB(a.ra())}lq(){return this.ra()}};olympe.ui.Ta={};olympe.ui.Ta.Va={};olympe.ui.Ta.Va.Map=class extends olympe.ui.F.ce{constructor(a){super(a);this.map=null;this.D=!1;this.Ma(Ac());this.longitude=olympe.j.Za(olympe.j.aa).update(6.5);this.latitude=olympe.j.Za(olympe.j.aa).update(46.5);this.C=olympe.j.Za(olympe.j.aa).update(10);a=new olympe.ui.F.cb(a);a.Jb('Maps are not available in offline mode');a.Ub(olympe.ui.ha.Db.Sb);a.Xb(olympe.ui.ha.rc.Sc);Kf(this,a,'offlineMessageText');this.map=olympe.ui.Na.C(olympe.N.Ta.Va.Map,olympe.host.ab.jb.pL);olympe.j.Wa([this.na().qa()],
942
942
  b=>{this.map.Cg(b.valueOf());this.mq({animate:!0})});olympe.j.Wa([this.na().ta()],b=>{this.map.Ag(b.valueOf());this.mq({animate:!0})});this.map.Hs(olympe.j.Qa(this.longitude.wa()),olympe.j.Qa(this.latitude.wa()),olympe.j.Qa(this.C.wa()),null);this.map.Is(this.C.wa());this.map.ys(this.longitude.wa());this.map.xs(this.latitude.wa());this.map.ux(b=>{this.C.update(olympe.j.Ba(b))});this.map.tx(b=>{const c=olympe.j.Qa(this.longitude.wa());(void 0===c||c.isNaN().valueOf()||.001<Math.abs(c.valueOf()-b))&&
943
943
  this.longitude.update(olympe.j.Ba(b))});this.map.sx(b=>{const c=olympe.j.Qa(this.latitude.wa());(void 0===c||c.isNaN().valueOf()||.001<Math.abs(c.valueOf()-b))&&this.latitude.update(olympe.j.Ba(b))});this.O().appendChild(this.map,'map');this.map.Tb.onDestroy(()=>{this.D=!0})}Hs(a,b,c,d){this.map.Hs(a,b,c,d);return this.map}Is(a){olympe.j.Wa([a],b=>{this.C.update(b)});return this.map}R(){return this.C.wa()}ys(a){olympe.j.Wa([a],b=>{this.longitude.update(b)});return this.map}xs(a){olympe.j.Wa([a],b=>
944
- {this.latitude.update(b)});return this.map}WD(){return this.longitude.wa()}UD(){return this.latitude.wa()}au(a,b,c){this.map.au(a,b,c);return this.map}Aw(a){this.map.Aw(a);return this.map}ps(a){this.D||this.map.ps(a);return this.map}xw(a,b){this.map.xw(a,b);return this.map}Iu(a){this.D||this.map.Iu(a);return this.map}pv(a,b){this.map.pv(a,b);return this.map}rv(a,b){this.map.rv(a,b);return this.map}tv(a,b){this.map.tv(a,b);return this.map}kv(a,b,c){this.map.kv(a,b,c);return this.map}hu(a,b){this.map.hu(a,
944
+ {this.latitude.update(b)});return this.map}XD(){return this.longitude.wa()}VD(){return this.latitude.wa()}au(a,b,c){this.map.au(a,b,c);return this.map}Aw(a){this.map.Aw(a);return this.map}ps(a){this.D||this.map.ps(a);return this.map}xw(a,b){this.map.xw(a,b);return this.map}Iu(a){this.D||this.map.Iu(a);return this.map}pv(a,b){this.map.pv(a,b);return this.map}rv(a,b){this.map.rv(a,b);return this.map}tv(a,b){this.map.tv(a,b);return this.map}kv(a,b,c){this.map.kv(a,b,c);return this.map}hu(a,b){this.map.hu(a,
945
945
  b);return this.map}iu(a){this.map.iu(a);return this.map}Gu(a,b){this.map.Gu(a,b);return this.map}Eu(a,b){this.map.Eu(a,b);return this.map}ju(a,b,c){this.map.ju(a,b,c);return this.map}ku(a,b){this.map.ku(a,b);return this.map}Zu(a){this.map.Zu(a);return this.map}bv(a){this.map.bv(a);return this.map}$u(a){this.map.$u(a);return this.map}Fu(a,b){this.map.Fu(a,b);return this.map}mq(a){this.map.mq(a);return this.map}stop(){this.map.stop();return this.map}appendChild(a,b,...c){Kf(this,a,b,...c);return this}removeChild(a){this.O().removeChild(a);
946
- return this}};olympe.ui.Ta.Va.Map.prototype.R.K=olympe.j.J.D;olympe.ui.Ta.Va.Map.prototype.WD.K=olympe.j.J.D;olympe.ui.Ta.Va.Map.prototype.UD.K=olympe.j.J.D;olympe.ui.P={};olympe.ui.P.xi=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.P.xi,olympe.host.ab.jb.aM),a);this.C=this.D=void 0}ay(a,b){this.D||Q(this,()=>{this.D=olympe.j.dd(0,0);this.C=olympe.j.dd();this.ra().ay(this.D.qa(),this.D.ta(),this.C.qa(),this.C.ta())});K(this.C,a);b&&K(this.C,b)}appendChild(a,b){this.ra().appendChild(a.ra(),b)}removeChild(a){this.ra().removeChild(a)}};olympe.ui.P.ze=class extends olympe.ui.wf{constructor(a){super(a);this.hidden=null}yh(a){this.ra().yh(a)}Bs(a){this.ra().Bs(a)}rd(a){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Wc(!1)});K(this.hidden,a);this.ra().rd(a);return this}es(){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Wc(!1)});return this.hidden}};olympe.ui.P.ze.prototype.es.K=olympe.j.J.T;olympe.ui.P.yd=class extends olympe.ui.P.ze{constructor(a){super(a);this.O=this.D=this.position=void 0}ca(){return this.ra()}setPosition(a){this.position||Q(this,()=>{this.position=olympe.j.dd();this.ca().setPosition(this.position.qa(),this.position.ta())});K(this.position,a);return this}ae(){this.position||this.setPosition(new olympe.j.ga);return this.position}Gb(a){this.D||Q(this,()=>{this.D=olympe.j.dd();this.ca().Gb(this.D.qa(),this.D.ta())});K(this.D,a);return this}na(){this.D||this.Gb(new olympe.j.ga);
946
+ return this}};olympe.ui.Ta.Va.Map.prototype.R.K=olympe.j.J.D;olympe.ui.Ta.Va.Map.prototype.XD.K=olympe.j.J.D;olympe.ui.Ta.Va.Map.prototype.VD.K=olympe.j.J.D;olympe.ui.P={};olympe.ui.P.xi=class extends olympe.ui.F.mb{constructor(a){super(olympe.ui.Na.C(olympe.N.P.xi,olympe.host.ab.jb.aM),a);this.C=this.D=void 0}ay(a,b){this.D||Q(this,()=>{this.D=olympe.j.dd(0,0);this.C=olympe.j.dd();this.ra().ay(this.D.qa(),this.D.ta(),this.C.qa(),this.C.ta())});K(this.C,a);b&&K(this.C,b)}appendChild(a,b){this.ra().appendChild(a.ra(),b)}removeChild(a){this.ra().removeChild(a)}};olympe.ui.P.ze=class extends olympe.ui.wf{constructor(a){super(a);this.hidden=null}yh(a){this.ra().yh(a)}Bs(a){this.ra().Bs(a)}rd(a){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Wc(!1)});K(this.hidden,a);this.ra().rd(a);return this}es(){null===this.hidden&&Q(this,()=>{this.hidden=olympe.j.Wc(!1)});return this.hidden}};olympe.ui.P.ze.prototype.es.K=olympe.j.J.T;olympe.ui.P.yd=class extends olympe.ui.P.ze{constructor(a){super(a);this.O=this.D=this.position=void 0}ca(){return this.ra()}setPosition(a){this.position||Q(this,()=>{this.position=olympe.j.dd();this.ca().setPosition(this.position.qa(),this.position.ta())});K(this.position,a);return this}ae(){this.position||this.setPosition(new olympe.j.ga);return this.position}Gb(a){this.D||Q(this,()=>{this.D=olympe.j.dd();this.ca().Gb(this.D.qa(),this.D.ta())});K(this.D,a);return this}na(){this.D||this.Gb(new olympe.j.ga);
947
947
  return this.D}setScale(a){this.O||Q(this,()=>{this.O=olympe.j.la();this.ca().setScale(this.O)});K(this.O,a);return this}jq(){this.O||this.setScale(olympe.j.la(1));return this.O}};olympe.ui.P.yd.prototype.ca.K=new olympe.j.J(()=>olympe.N.P.yd,[]);olympe.ui.P.yd.prototype.ae.K=olympe.j.J.W;olympe.ui.P.yd.prototype.na.K=olympe.j.J.W;olympe.ui.P.yd.prototype.jq.K=new olympe.j.J(()=>olympe.j.U0,[]);olympe.ui.P.mc=class extends olympe.ui.P.yd{constructor(a){super(a);this.C=this.wg=this.zg=this.strokeLinecap=this.da=this.ma=this.strokeWidth=this.strokeColor=this.fillColor=null}Hx(a){this.ra().Hx(a)}setFillColor(a){this.fillColor||Q(this,()=>{this.fillColor=olympe.j.qd();this.ra().cB(this.fillColor.Al(),this.fillColor.zl(),this.fillColor.ol(),this.fillColor.nl())});K(this.fillColor,a);return this}setStrokeColor(a){this.strokeColor||Q(this,()=>{this.strokeColor=olympe.j.qd();this.ra().jB(this.strokeColor.Al(),
948
948
  this.strokeColor.zl(),this.strokeColor.ol(),this.strokeColor.nl())});K(this.strokeColor,a);return this}gv(a){this.strokeWidth||Q(this,()=>{this.strokeWidth=olympe.j.la();this.ra().gv(this.strokeWidth)});K(this.strokeWidth,a);return this}Yx(a){this.ma||Q(this,()=>{this.ma=olympe.j.Ab();this.ra().Yx(this.ma)});K(this.ma,a);return this}Xx(a){this.da||Q(this,()=>{this.da=olympe.j.la();this.ra().Xx(this.da)});K(this.da,a);return this}Zx(a){this.strokeLinecap||Q(this,()=>{this.strokeLinecap=olympe.j.Ab();
949
949
  this.ra().Zx(this.strokeLinecap)});K(this.strokeLinecap,a);return this}vs(a){const b=c=>{this.ra().vs(c.lq())};a.Gh?jc(a,b):b(a);return this}ky(){this.ra().ky()}Vu(a){const b=c=>{this.ra().Vu(c.ra())};a.Gh?jc(a,b):b(a);return this}ly(){this.ra().ly()}Ox(a){olympe.j.Wa([a],b=>{this.ra().Ox(b.ra())});return this}my(){this.ra().my()}vw(a,b,c,d='linear',e='indefinite'){this.ra().vw(a,b,c,d,e)}rotate(a,b,c){this.ra().rotate(a,b,c);return this}iS(a,b={}){if(olympe.ui.Na.$())return this;this.C||(this.C=
950
- new olympe.j.ee('tooltipContext'));let c,d;const e=null!=(d=b.delay)?d:null!=(c=olympe.ui.F.Element.C.delay)?c:500;this.C.run(()=>{let f=!1;const g=olympe.ui.Na.hf();let k=null;const l=(p,r)=>{const t=olympe.j.Qa(a);t&&0!==t.valueOf().length&&(p?(Xc('tooltipTimeout'),k=Wc(()=>{k=null;const u=Object.assign({},olympe.ui.F.Element.C,b);null!=u.position||(u.position=r.wh());g.cF(a,u);f=!0},e.valueOf(),'tooltipTimeout')):k?(Xc(k),k=null):(g.lx(),f=!1))},m=this.gj(p=>{l(!0,p)}),n=this.Hi(p=>{l(!1,p)});
950
+ new olympe.j.ee('tooltipContext'));let c,d;const e=null!=(d=b.delay)?d:null!=(c=olympe.ui.F.Element.C.delay)?c:500;this.C.run(()=>{let f=!1;const g=olympe.ui.Na.hf();let k=null;const l=(p,r)=>{const t=olympe.j.Qa(a);t&&0!==t.valueOf().length&&(p?(Xc('tooltipTimeout'),k=Wc(()=>{k=null;const u=Object.assign({},olympe.ui.F.Element.C,b);null!=u.position||(u.position=r.wh());g.dF(a,u);f=!0},e.valueOf(),'tooltipTimeout')):k?(Xc(k),k=null):(g.lx(),f=!1))},m=this.gj(p=>{l(!0,p)}),n=this.Hi(p=>{l(!1,p)});
951
951
  this.C.onDestroy(()=>{f&&(g.lx(),f=!1);k&&(Xc(k),k=null);this.zk(m);this.Qj(n)})});return this}hS(){this.C&&this.C.destroy();this.C=null;return this}Da(){this.zg||(this.zg=new olympe.ui.X.Xv(this.ra()));return this.zg}Vc(a,b,c){return this.Da().Vc(a,b,c)}Pj(a){this.Da().Pj(a)}en(a,b,c){return this.Da().en(a,b,c)}qq(a){this.Da().qq(a)}Bo(){return this.Da().Bo()}Do(){return this.Da().Do()}qk(){return this.Da().qk()}Co(){return this.Da().Co()}Km(){return this.Da().Km()}Lm(){return this.Da().Lm()}gj(a,
952
952
  b,c){return this.Da().gj(a,b,c)}zk(a){this.Da().zk(a)}Hi(a,b,c){return this.Da().Hi(a,b,c)}Qj(a){this.Da().Qj(a)}kh(a,b,c){return this.Da().kh(a,b,c)}yk(a){this.Da().yk(a)}Wg(a,b,c){return this.Da().Wg(a,b,c)}Ng(a){this.Da().Ng(a)}Ih(){return this.Da().Ih()}Ym(){return this.Da().Ym()}Zm(){return this.Da().Zm()}Pm(){return this.Da().Pm()}Qm(){return this.Da().Qm()}Om(){return this.Da().Om()}Nm(){return this.Da().Nm()}Ck(a,b,c){return this.Da().Ck(a,b,c)}No(a){return this.Da().No(a)}Bk(a,b,c){return this.Da().Bk(a,
953
953
  b,c)}dj(a){return this.Da().dj(a)}Xo(a,b,c){return this.Da().Xo(a,b,c)}zq(a){return this.Da().zq(a)}fn(a,b,c){return this.Da().fn(a,b,c)}Mo(a){return this.Da().Mo(a)}Fo(){return this.Da().Fo()}To(a,b,c){return this.Da().To(a,b,c)}So(a,b,c){return this.Da().So(a,b,c)}xq(a){return this.Da().xq(a)}dn(a){return this.Da().dn(a)}Mm(){return this.Da().Mm()}Ao(){return this.Da().Ao()}Im(){return this.Da().Im()}qb(){this.wg||(this.wg=new olympe.ui.X.Hv(this.ra()));return this.wg}sl(){return this.qb().sl()}xl(){return this.qb().xl()}tl(){return this.qb().tl()}Rm(){return this.qb().Rm()}ul(a){return this.qb().ul(a||
@@ -959,10 +959,10 @@ h.wl.K=new olympe.j.J(()=>olympe.ui.X.GestureEvent,[]);h.vl.K=new olympe.j.J(()=
959
959
  return this}Nl(a){this.T||Q(this,()=>{this.T=olympe.j.Ab();this.ra().Nl(this.T)});K(this.T,a);return this}};olympe.ui.P.Pk=class extends olympe.ui.P.Eg{constructor(){super(olympe.ui.Na.C(olympe.N.P.Pk,olympe.host.ab.jb.LL));this.R=this.C=this.aspectRatio=this.source=void 0}ne(a){this.source||Q(this,()=>{this.source=olympe.j.Ab();this.ra().ne(this.source)});K(this.source,a);return this}Il(a){this.aspectRatio||Q(this,()=>{this.aspectRatio=olympe.j.Ab();this.ra().Il(this.aspectRatio)});K(this.aspectRatio,a);return this}Jl(a){this.C||Q(this,()=>{this.C=olympe.j.Ab();this.ra().Jl(this.C)});K(this.C,a);return this}Nl(a){this.R||
960
960
  Q(this,()=>{this.R=olympe.j.Ab();this.ra().Nl(this.R)});K(this.R,a);return this}};olympe.ui.P.ni=class extends olympe.ui.P.Eh{constructor(){super(olympe.ui.Na.C(olympe.N.P.ni,olympe.host.ab.jb.RL));this.D=this.C=void 0}Rx(a){this.C||Q(this,function(){this.C=olympe.j.dd();this.ra().Rx(this.C.qa(),this.C.ta())}.bind(this));K(this.C,a);return this}Sx(a){this.D||Q(this,function(){this.D=olympe.j.dd();this.ra().Sx(this.D.qa(),this.D.ta())}.bind(this));K(this.D,a);return this}};olympe.ui.P.ao=class extends olympe.ui.P.yd{constructor(){super(olympe.ui.Na.C(olympe.N.P.ao,olympe.host.ab.jb.SL));this.absolute=void 0}appendChild(a,b){this.ra().appendChild(a.ra(),b);return this}removeChild(a){this.ra().removeChild(a);return this}Li(a){this.absolute||Q(this,()=>{this.absolute=olympe.j.Wc();this.ra().Li(this.absolute)});K(this.absolute,a);return this}};olympe.ui.P.co=class extends olympe.ui.P.Eg{constructor(){super(olympe.ui.Na.C(olympe.N.P.co,olympe.host.ab.jb.ML))}yw(a,b){const c=d=>{this.ra().lf(og(d),b)};a.Gh?jc(a,c):c(a);return this}Ju(a){this.ra().Ju(a);return this}};olympe.ui.P.Vk=class extends olympe.ui.P.Eg{constructor(){super(olympe.ui.Na.C(olympe.N.P.Vk,olympe.host.ab.jb.NL));this.offset=void 0}Fx(a){this.offset||Q(this,()=>{this.offset=olympe.j.dd();this.ra().Fx(this.offset.qa(),this.offset.ta())});K(this.offset,a);return this}lf(a){const b=c=>{this.ra().lf(og(c))};a.Gh?jc(a,b):b(a);return this}};olympe.ui.P.Yk=class extends olympe.ui.P.mc{constructor(){super(olympe.ui.Na.C(olympe.N.P.Yk,olympe.host.ab.jb.TL));this.R=this.T=void 0;this.W=1}zx(a){const b=this;this.T||Q(this,()=>{b.T=olympe.j.Wc();b.ra().zx(b.T)});K(this.T,a);return this}mh(a){const b=this;this.R||Q(this,()=>{b.R=olympe.j.Ab();b.ra().mh(b.R)});K(this.R,a);return this}Vp(a,b){this.ra().Vp(a.ra(),b);return this}Ku(a){this.ra().Ku(a);return this}moveTo(a){this.Vp(new olympe.ui.P.yz(a),'seg'+this.W++);return this}lineTo(a){this.Vp(new olympe.ui.P.xz(a),
961
961
  'seg'+this.W++);return this}arcTo(a,b,c,d,e,f){this.Vp(new olympe.ui.P.Vi(a,b,c,d,e,f),'seg'+this.W++);return this}};olympe.ui.P.If=class extends olympe.ui.P.ze{constructor(a,b){super(a);this.position=olympe.j.dd();this.ra().setPosition(this.position.qa(),this.position.ta());b&&K(this.position,b)}setPosition(a){K(this.position,a);return this}ae(){return this.position}};olympe.ui.P.If.prototype.ae.K=olympe.j.J.W;olympe.ui.P.Vi=class extends olympe.ui.P.If{constructor(a,b,c,d,e,f){super(olympe.ui.Na.C(olympe.N.P.Vi,olympe.host.ab.jb.UL),a);this.O=olympe.j.la();this.C=olympe.j.la();this.T=olympe.j.la(0);this.D=olympe.j.Wc(!1);this.R=olympe.j.Wc(!1);this.ra().Tx(this.O);this.ra().Ux(this.C);this.ra().by(this.T);this.ra().Mx(this.D);this.ra().$x(this.R);void 0!==b&&(K(this.O,b),K(this.C,b));void 0!==c&&K(this.C,c);void 0!==d&&K(this.T,d);void 0!==e&&K(this.D,e);void 0!==f&&K(this.R,f)}Tx(a){K(this.O,a);return this}Ux(a){K(this.C,
962
- a);return this}by(a){K(this.T,a);return this}Mx(a){K(this.D,a);return this}$x(a){K(this.R,a);return this}};olympe.ui.P.si=class extends olympe.ui.P.If{constructor(a,b,c){super(olympe.ui.Na.C(olympe.N.P.si,olympe.host.ab.jb.VL),a);this.C=olympe.j.dd();this.D=olympe.j.dd();this.ra().Bx(this.C.qa(),this.C.ta());this.ra().Cx(this.D.qa(),this.D.ta());b&&K(this.C,b);c&&K(this.D,c)}Bx(a){K(this.C,a);return this}Cx(a){K(this.D,a);return this}};olympe.ui.P.xz=class extends olympe.ui.P.If{constructor(a,b){super(olympe.ui.Na.C(olympe.N.P.xz,olympe.host.ab.jb.WL),a);this.C=null;void 0!==b&&this.rd(b)}rd(a){null===this.C&&this.C.Tb.destroy();this.C=this.ra().rd(a);return this}};olympe.ui.P.yz=class extends olympe.ui.P.If{constructor(a){super(olympe.ui.Na.C(olympe.N.P.yz,olympe.host.ab.jb.XL),a)}};olympe.ui.P.io=class extends olympe.ui.P.If{constructor(a,b){super(olympe.ui.Na.C(olympe.N.P.io,olympe.host.ab.jb.YL),a);this.C=olympe.j.dd();this.ra().Ax(this.C.qa(),this.C.ta());b&&K(this.C,b)}Ax(a){K(this.C,a);return this}};olympe.ui.P.ko=class extends olympe.ui.P.Eh{constructor(){super(olympe.ui.Na.C(olympe.N.P.ko,olympe.host.ab.jb.ZL));this.D=this.C=void 0}xx(a){this.C||Q(this,()=>{this.C=olympe.j.dd();this.ra().xx(this.C.qa(),this.C.ta())});K(this.C,a);return this}Jx(a){this.D||Q(this,()=>{this.D=olympe.j.dd();this.ra().Jx(this.D.qa(),this.D.ta())});K(this.D,a);return this}};olympe.ui.P.ye=class extends olympe.ui.P.mc{constructor(){super(olympe.ui.Na.C(olympe.N.P.ye,olympe.host.ab.jb.$L))}Wb(a){this.ra().Wb(a);return this}};olympe.ui.P.B1=class{constructor(){this.height=this.width=100;this.strokeWidth=1;this.strokeColor='rgb(0,0,0)';this.D='Arial,Helvetica';this.fontSize=12;this.C=this.path=''}Gb(a,b){this.width=a;this.height=b;return this}gv(a){this.strokeWidth=a}setStrokeColor(a,b,c,d){this.strokeColor=void 0===d?`rgb(${a},${b},${c})`:`rgba(${a},${b},${c},${d})`}moveTo(a,b){this.path+=`M${a} ${b}`;return this}lineTo(a,b){this.path+=`L${a} ${b}`;return this}vb(a){this.D=a;return this}rb(a){this.fontSize=a;return this}clear(){this.path=
963
- this.C='';return this}toString(){var a='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '+this.width+' '+this.height+'">';''!==this.C&&(a+='<g font-family="'+this.D+'" font-size="'+this.fontSize+'" stroke="none" fill="rgb(255,255,255)">'+this.C+'</g>');''!==this.path&&(a+='<path stroke-width="'+this.strokeWidth+'" stroke="'+this.strokeColor+'" d="'+this.path+'"/>');return a+'</svg>'}eF(){return'data:image/svg+xml,'+encodeURIComponent(this.toString())}};olympe.ui.P.vL=class extends olympe.ui.P.mc{constructor(a){super(a);this.text=null;this.$=this.W=this.T=this.fontSize=void 0;this.R=null}Jb(a){const b=this;this.text||Q(this,()=>{b.text=olympe.j.Ab();b.ra().Jb(b.text)});K(this.text,a);return this}Lj(){this.text||this.Jb('');return this.text}Gb(){return this}na(){this.R||Q(this,()=>{this.R=new olympe.j.ga(0,0);this.ra().fp((a,b)=>{this.R.oe(a);this.R.Fe(b)})});return this.R}rb(a){const b=this;this.fontSize||Q(this,()=>{b.fontSize=olympe.j.la();b.ra().rb(b.fontSize)});
964
- K(this.fontSize,a);return this}vb(a){const b=this;this.T||Q(this,()=>{b.T=olympe.j.Ab();b.ra().vb(b.T)});K(this.T,a);return this}Bb(a){const b=this;this.W||Q(this,()=>{b.W=olympe.j.la();b.ra().Bb(b.W)});K(this.W,a);return this}Kx(a){const b=this;this.$||Q(this,()=>{b.$=olympe.j.Ab();b.ra().Kx(b.$)});K(this.$,a);return this}};olympe.ui.P.Text=class extends olympe.ui.P.vL{constructor(){super(olympe.ui.Na.C(olympe.N.P.Text,olympe.host.ab.jb.bM))}};olympe.ui.P.qw=class extends olympe.ui.P.vL{constructor(){super(olympe.ui.Na.C(olympe.N.P.qw,olympe.host.ab.jb.cM))}As(a){olympe.j.Wa([a],b=>{this.ra().As(b.ra())});return this}};olympe.ui.Zh={};olympe.ui.Zh.Cc=class{constructor(a,b,c=!1){this.V=a;this.T=b;this.ca=olympe.j.ub(olympe.ui.F.ea.vh,new olympe.ui.F.ea.My);this.ma=new olympe.j.Hz;this.za=new olympe.ui.F.pf(this);this.Pa=c}$(){return this.Pa}C(a,b){return Uc(this.T,a,b)}hf(){return this.za}ci(a){this.hf().ci(a);return this}D(){return this.ca}da(a){K(this.ca,a)}O(a){return Oc(this.ma,a)}R(a){Mc(this.ma,a)}Cb(){return this.V}Tm(a){a=this.T.C.get(a.vg().tD)||null;return null!==a&&'function'===typeof a.Tm?a.Tm():null}W(a,b){var c=[];
965
- return(a=this.T.C.get(a.vg().tD)||null)&&'function'===typeof a[b]?a[b].call(a,...c):void 0}};olympe.ui.Zh.Cc.Aa=[olympe.ui.Cc];olympe.ui.ba={Ob:'ui.Manager',Vb:'ui.Logger',QS:'ui.MediaDeviceProvider'};olympe.ui.pa={NJ:'ui.noTooltips'};olympe.ui.Na=null;olympe.sa.$e(function(a){E(a,olympe.ui.pa.NJ,!1);C(a,olympe.ui.ba.Ob,[olympe.ui.ba.Vb,olympe.host.ba.Ob,new olympe.sa.zb(olympe.ui.pa.NJ)],(b,c,d)=>{null===olympe.ui.Na&&(olympe.ui.Na=new olympe.ui.Zh.Cc(b,c,d));return olympe.ui.Na},!0);C(a,olympe.ui.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('ui'));B(a,olympe.ui.ba.QS,olympe.ui.media.Op)},'olympe.ui');
962
+ a);return this}by(a){K(this.T,a);return this}Mx(a){K(this.D,a);return this}$x(a){K(this.R,a);return this}};olympe.ui.P.si=class extends olympe.ui.P.If{constructor(a,b,c){super(olympe.ui.Na.C(olympe.N.P.si,olympe.host.ab.jb.VL),a);this.C=olympe.j.dd();this.D=olympe.j.dd();this.ra().Bx(this.C.qa(),this.C.ta());this.ra().Cx(this.D.qa(),this.D.ta());b&&K(this.C,b);c&&K(this.D,c)}Bx(a){K(this.C,a);return this}Cx(a){K(this.D,a);return this}};olympe.ui.P.xz=class extends olympe.ui.P.If{constructor(a,b){super(olympe.ui.Na.C(olympe.N.P.xz,olympe.host.ab.jb.WL),a);this.C=null;void 0!==b&&this.rd(b)}rd(a){null===this.C&&this.C.Tb.destroy();this.C=this.ra().rd(a);return this}};olympe.ui.P.yz=class extends olympe.ui.P.If{constructor(a){super(olympe.ui.Na.C(olympe.N.P.yz,olympe.host.ab.jb.XL),a)}};olympe.ui.P.io=class extends olympe.ui.P.If{constructor(a,b){super(olympe.ui.Na.C(olympe.N.P.io,olympe.host.ab.jb.YL),a);this.C=olympe.j.dd();this.ra().Ax(this.C.qa(),this.C.ta());b&&K(this.C,b)}Ax(a){K(this.C,a);return this}};olympe.ui.P.ko=class extends olympe.ui.P.Eh{constructor(){super(olympe.ui.Na.C(olympe.N.P.ko,olympe.host.ab.jb.ZL));this.D=this.C=void 0}xx(a){this.C||Q(this,()=>{this.C=olympe.j.dd();this.ra().xx(this.C.qa(),this.C.ta())});K(this.C,a);return this}Jx(a){this.D||Q(this,()=>{this.D=olympe.j.dd();this.ra().Jx(this.D.qa(),this.D.ta())});K(this.D,a);return this}};olympe.ui.P.ye=class extends olympe.ui.P.mc{constructor(){super(olympe.ui.Na.C(olympe.N.P.ye,olympe.host.ab.jb.$L))}Wb(a){this.ra().Wb(a);return this}};olympe.ui.P.B1=class{constructor(){this.height=this.width=100;this.strokeWidth=1;this.strokeColor='rgb(0,0,0)';this.D='Arial,Helvetica';this.fontSize=12;this.C=this.path=''}Gb(a,b){this.width=a;this.height=b;return this}gv(a){this.strokeWidth=a}setStrokeColor(a,b,c,d){this.strokeColor=void 0===d?`rgb(${a},${b},${c})`:`rgba(${a},${b},${c},${d})`}moveTo(a,b){this.path+=`M${a} ${b}`;return this}lineTo(a,b){this.path+=`L${a} ${b}`;return this}wb(a){this.D=a;return this}rb(a){this.fontSize=a;return this}clear(){this.path=
963
+ this.C='';return this}toString(){var a='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '+this.width+' '+this.height+'">';''!==this.C&&(a+='<g font-family="'+this.D+'" font-size="'+this.fontSize+'" stroke="none" fill="rgb(255,255,255)">'+this.C+'</g>');''!==this.path&&(a+='<path stroke-width="'+this.strokeWidth+'" stroke="'+this.strokeColor+'" d="'+this.path+'"/>');return a+'</svg>'}fF(){return'data:image/svg+xml,'+encodeURIComponent(this.toString())}};olympe.ui.P.vL=class extends olympe.ui.P.mc{constructor(a){super(a);this.text=null;this.$=this.W=this.T=this.fontSize=void 0;this.R=null}Jb(a){const b=this;this.text||Q(this,()=>{b.text=olympe.j.Ab();b.ra().Jb(b.text)});K(this.text,a);return this}Lj(){this.text||this.Jb('');return this.text}Gb(){return this}na(){this.R||Q(this,()=>{this.R=new olympe.j.ga(0,0);this.ra().fp((a,b)=>{this.R.oe(a);this.R.Fe(b)})});return this.R}rb(a){const b=this;this.fontSize||Q(this,()=>{b.fontSize=olympe.j.la();b.ra().rb(b.fontSize)});
964
+ K(this.fontSize,a);return this}wb(a){const b=this;this.T||Q(this,()=>{b.T=olympe.j.Ab();b.ra().wb(b.T)});K(this.T,a);return this}Bb(a){const b=this;this.W||Q(this,()=>{b.W=olympe.j.la();b.ra().Bb(b.W)});K(this.W,a);return this}Kx(a){const b=this;this.$||Q(this,()=>{b.$=olympe.j.Ab();b.ra().Kx(b.$)});K(this.$,a);return this}};olympe.ui.P.Text=class extends olympe.ui.P.vL{constructor(){super(olympe.ui.Na.C(olympe.N.P.Text,olympe.host.ab.jb.bM))}};olympe.ui.P.qw=class extends olympe.ui.P.vL{constructor(){super(olympe.ui.Na.C(olympe.N.P.qw,olympe.host.ab.jb.cM))}As(a){olympe.j.Wa([a],b=>{this.ra().As(b.ra())});return this}};olympe.ui.Zh={};olympe.ui.Zh.Cc=class{constructor(a,b,c=!1){this.V=a;this.T=b;this.ca=olympe.j.ub(olympe.ui.F.ea.vh,new olympe.ui.F.ea.My);this.ma=new olympe.j.Hz;this.za=new olympe.ui.F.pf(this);this.Pa=c}$(){return this.Pa}C(a,b){return Uc(this.T,a,b)}hf(){return this.za}ci(a){this.hf().ci(a);return this}D(){return this.ca}da(a){K(this.ca,a)}O(a){return Oc(this.ma,a)}R(a){Mc(this.ma,a)}Cb(){return this.V}Tm(a){a=this.T.C.get(a.vg().uD)||null;return null!==a&&'function'===typeof a.Tm?a.Tm():null}W(a,b){var c=[];
965
+ return(a=this.T.C.get(a.vg().uD)||null)&&'function'===typeof a[b]?a[b].call(a,...c):void 0}};olympe.ui.Zh.Cc.Aa=[olympe.ui.Cc];olympe.ui.ba={Ob:'ui.Manager',Vb:'ui.Logger',QS:'ui.MediaDeviceProvider'};olympe.ui.pa={NJ:'ui.noTooltips'};olympe.ui.Na=null;olympe.sa.$e(function(a){E(a,olympe.ui.pa.NJ,!1);C(a,olympe.ui.ba.Ob,[olympe.ui.ba.Vb,olympe.host.ba.Ob,new olympe.sa.zb(olympe.ui.pa.NJ)],(b,c,d)=>{null===olympe.ui.Na&&(olympe.ui.Na=new olympe.ui.Zh.Cc(b,c,d));return olympe.ui.Na},!0);C(a,olympe.ui.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('ui'));B(a,olympe.ui.ba.QS,olympe.ui.media.Op)},'olympe.ui');
966
966
  olympe.sa.run([olympe.ui.ba.Ob],a=>a,'olympe.ui');olympe.G.H.ui={};olympe.G.H.ui.wf=class extends olympe.G.H.host.Ui{constructor(a,b){super(a,b)}};olympe.G.H.ui.wf.Aa=[olympe.N.wf];olympe.G.H.ui.oa={};const pg='b i s sub sup u br'.split(' '),qg=new RegExp('</?('+pg.join('|')+')/?>'),rg=new RegExp('<(?!/?('+pg.join('|')+')/?>)','g'),sg=new RegExp('>(?!/?('+pg.map(a=>a.split('').reverse().join('')).join('|')+')/?<)','g');olympe.G.H.ui.oa.d0=class{};olympe.G.H.ui.La={};olympe.G.H.ui.La.Iv=class{constructor(a){this.C=a}addEventListener(a,b,c){this.C.addEventListener(a,b,c||!1)}removeEventListener(a,b,c){this.C.removeEventListener(a,b,c||!1)}};olympe.G.H.ui.La.fr=class extends olympe.G.H.ui.La.Iv{constructor(a){super(a);this.D=void 0}Gl(a){void 0===this.D&&(this.D=b=>{b.stopPropagation();a(this.C.value)},this.addEventListener('input',this.D,!1))}Yl(){this.D&&(this.removeEventListener('input',this.D),this.D=void 0)}};olympe.G.H.ui.La.fr.prototype.unregisterValueChanged=olympe.G.H.ui.La.fr.prototype.Yl;olympe.G.H.ui.La.fr.prototype.registerValueChanged=olympe.G.H.ui.La.fr.prototype.Gl;olympe.G.H.ui.La.fr.Aa=[olympe.N.X.ir];olympe.G.H.ui.La.Nh=class extends olympe.G.H.ui.La.Iv{constructor(a){super(a);this.R=this.D=this.O=null}Ek(a){null===this.O&&(this.O=function(b){b.stopPropagation();a(void 0!==b.which?b.which:b.charCode,String.fromCharCode(b.keyCode||b.charCode),b.ctrlKey,b.shiftKey,b.altKey,b.metaKey,b)},this.addEventListener('keypress',this.O,!1))}qj(){this.removeEventListener('keypress',this.O);this.O=null}Dk(a){null===this.D&&(this.D=function(b){b.stopPropagation();a(void 0!==b.which?b.which:b.charCode,String.fromCharCode(b.keyCode||
967
967
  b.charCode),b.ctrlKey,b.shiftKey,b.altKey,b.metaKey,b)},this.addEventListener('keydown',this.D,!1))}pj(){this.removeEventListener('keydown',this.D);this.D=null}Fk(a){null===this.R&&(this.R=function(b){b.stopPropagation();a(void 0!==b.which?b.which:b.charCode,String.fromCharCode(b.keyCode||b.charCode),b.ctrlKey,b.shiftKey,b.altKey,b.metaKey,b)},this.addEventListener('keyup',this.R,!1))}rj(){this.removeEventListener('keyup',this.R);this.R=null}};olympe.G.H.ui.La.Nh.prototype.unregisterKeyUp=olympe.G.H.ui.La.Nh.prototype.rj;
968
968
  olympe.G.H.ui.La.Nh.prototype.registerKeyUp=olympe.G.H.ui.La.Nh.prototype.Fk;olympe.G.H.ui.La.Nh.prototype.unregisterKeyDown=olympe.G.H.ui.La.Nh.prototype.pj;olympe.G.H.ui.La.Nh.prototype.registerKeyDown=olympe.G.H.ui.La.Nh.prototype.Dk;olympe.G.H.ui.La.Nh.prototype.unregisterKeyPressed=olympe.G.H.ui.La.Nh.prototype.qj;olympe.G.H.ui.La.Nh.prototype.registerKeyPressed=olympe.G.H.ui.La.Nh.prototype.Ek;olympe.G.H.ui.La.Nh.Aa=[olympe.N.X.sg];olympe.G.H.ui.La.Ic=class a extends olympe.G.H.ui.La.Iv{constructor(b){super(b);this.R=Object.create(null);this.W=!1}$(){this.W=!0}static C(b){let c=0;switch(b){case 0:c=1;break;case 1:c=4;break;case 2:c=2;break;case 3:c=8;break;case 4:c=16}return c}O(b,c){if(!this.R[b]){const d=e=>{e.stopPropagation();e.target!==this.C&&void 0!==e.target.tagName&&'a'===e.target.tagName.toLowerCase()||e.preventDefault();if('click'===b||'mouseup'===b||'mousedown'===b)document.activeElement&&document.activeElement.blur(),
@@ -992,8 +992,8 @@ c();this.height=b();a(this.width,this.height)},a(this.width,this.height),window.
992
992
  olympe.G.H.ui.La.Ri.prototype.unregisterFocus=olympe.G.H.ui.La.Ri.prototype.Os;olympe.G.H.ui.La.Ri.prototype.registerFocus=olympe.G.H.ui.La.Ri.prototype.ns;olympe.G.H.ui.La.Ri.Aa=[olympe.N.X.Si];olympe.G.H.ui.F={};let ug,vg=null;function wg(){vg||(vg=new olympe.G.H.ui.F.YQ);return vg}function xg(a,b,c,d){const e=b.va();e.id||(e.id='o'+b.uid);b='#'+e.id+c;d=b+'{'+d+'}';void 0!==a.C[b]&&a.D.deleteRule(a.C[b]);a.C[b]=a.D.cssRules.length;a.D.insertRule(d,a.C[b])}function yg(a,b,c){switch(ug){case 'webkit':xg(a,b,'::-webkit-input-placeholder',c);break;case 'moz':xg(a,b,'::-moz-placeholder',c);break;case 'ms':xg(a,b,':-ms-input-placeholder',c);break;default:xg(a,b,'::input-placeholder',c)}}
993
993
  olympe.G.H.ui.F.YQ=class{constructor(){const a=document.createElement('style');document.head.appendChild(a);if(!ug){const b=window.getComputedStyle(document.documentElement,'');ug=(Array.prototype.slice.call(b).join('').match(/-(moz|webkit|ms)-/)||''===b.OLink&&['','o'])[1]}this.D=a.sheet;this.C={}}};const zg=new Set;let Ag=0;function Bg(a){const b=()=>{const d=new Map;zg.forEach(e=>{const f=e.parentElement;null===f||zg.has(f)||d.set(e,f)});zg.clear();d.forEach((e,f)=>{e.removeChild(f)})},c=d=>{if(d<Ag){const e=Ag;window.setTimeout(()=>c(e),30)}else Ag=0,b()};zg.add(a.va());Ag++;1===Ag&&c(0)}function U(a,b,c){a.R.has(b)||a.R.set(b,c)}function W(a,b){a.R.has(b)&&a.R.delete(b)}
994
994
  olympe.G.H.ui.F.HTMLElement=class extends olympe.G.H.ui.wf{constructor(a,b,c){super(a,b);this.ca=c;this.setAttribute('O_Id',this.uid);this.ma=this.borderWidth=this.rotationAngle=0;this.W=this.Ka=this.Ha=null;this.kc=olympe.ui.ha.Ah.Qs;this.qc=olympe.ui.ha.df.Sb;this.Nu=this.Mu=1;this.Oa=this.wg=this.zg=null;this.R=new Map;a=Object.create(null);a['overflow-x']='hidden';a['overflow-y']='hidden';a.position='absolute';a.outline='0px solid transparent';a['pointer-events']='auto';Object.assign(this.ca.style,
995
- a)}Tm(){return this.ca}Ma(a){this.ib('backgroundColor',a)}IE(a,b,c,d){this.ib('backgroundColor','rgba('+a+','+b+','+c+','+d+')')}ng(a){this.ib('opacity',a)}Yg(a,b,c,d,e,f){this.Ha=d||null;this.Ka=e||null;this.ma=f||0;this.Lq(c);this.kp(b);this.us(a)}us(a){a&&(this.ib('backgroundRepeat','no-repeat'),this.ib('backgroundImage',"url('"+a+"')"))}Lq(a){this.qc=a;switch(a){case olympe.ui.ha.df.gh:a='center top';break;case olympe.ui.ha.df.ym:a='right top';break;case olympe.ui.ha.df.TF:a='left center';break;
996
- case olympe.ui.ha.df.Sb:a='center center';break;case olympe.ui.ha.df.UF:a='right center';break;case olympe.ui.ha.df.$l:a='left bottom';break;case olympe.ui.ha.df.zh:a='center bottom';break;case olympe.ui.ha.df.Ts:a='right bottom';break;case olympe.ui.ha.df.xm:a='left top';break;default:a=this.ma+'px '+this.ma+'px'}this.ib('backgroundPosition',a)}kp(a){this.kc=a;switch(a){case olympe.ui.ha.Ah.Us:a='contain';break;case olympe.ui.ha.Ah.Vs:a='cover';break;case olympe.ui.ha.Ah.Qs:a='auto';break;default:a=
995
+ a)}Tm(){return this.ca}Ma(a){this.ib('backgroundColor',a)}JE(a,b,c,d){this.ib('backgroundColor','rgba('+a+','+b+','+c+','+d+')')}ng(a){this.ib('opacity',a)}Yg(a,b,c,d,e,f){this.Ha=d||null;this.Ka=e||null;this.ma=f||0;this.Lq(c);this.kp(b);this.us(a)}us(a){a&&(this.ib('backgroundRepeat','no-repeat'),this.ib('backgroundImage',"url('"+a+"')"))}Lq(a){this.qc=a;switch(a){case olympe.ui.ha.df.gh:a='center top';break;case olympe.ui.ha.df.ym:a='right top';break;case olympe.ui.ha.df.UF:a='left center';break;
996
+ case olympe.ui.ha.df.Sb:a='center center';break;case olympe.ui.ha.df.VF:a='right center';break;case olympe.ui.ha.df.$l:a='left bottom';break;case olympe.ui.ha.df.zh:a='center bottom';break;case olympe.ui.ha.df.Ts:a='right bottom';break;case olympe.ui.ha.df.xm:a='left top';break;default:a=this.ma+'px '+this.ma+'px'}this.ib('backgroundPosition',a)}kp(a){this.kc=a;switch(a){case olympe.ui.ha.Ah.Us:a='contain';break;case olympe.ui.ha.Ah.Vs:a='cover';break;case olympe.ui.ha.Ah.Qs:a='auto';break;default:a=
997
997
  this.Ha&&this.Ka?this.Ha+'px '+this.Ka+'px':'auto'}this.ib('backgroundSize',a)}ss(a,b){this.Ha=a;this.Ka=b;this.kp(this.kc)}rs(a=0){this.ma=a;this.Lq(this.qc)}yn(){this.va().blur()}mj(a=!0){this.va().focus({preventScroll:a})}rd(a){this.ib('display',a?'none':'initial')}Gs(a){'number'===typeof a?this.setAttribute('tabIndex',a.toString()):this.removeAttribute('tabIndex')}yh(a){this.ib('pointer-events',a?'none':'auto')}Uu(a){a||null!==this.W?a&&null!==this.W&&(this.ca.removeEventListener('contextmenu',
998
998
  this.W),this.W=null):(this.W=b=>{b.preventDefault()},this.ca.addEventListener('contextmenu',this.W,!1))}destroy(){for(const a of this.R.values())a();this.R.clear();this.wg=this.Oa=this.zg=this.R=null;Bg(this)}setAttribute(a,b){this.va().setAttribute(a,b)}removeAttribute(a){this.va().removeAttribute(a)}va(){return this.ca}ib(a,b){this.va().style[a]=b.toString()}BA(){return this.va().style[void 0]}ws(a){a&&'string'===typeof a?this.setAttribute('id',a):this.removeAttribute('id')}Da(){this.zg||(this.zg=
999
999
  new olympe.G.H.ui.La.Ic(this.va()),this.wg&&(this.wg.ma=this.zg));return this.zg}qb(){this.wg||(this.wg=new olympe.G.H.ui.La.xe(this.va()),this.zg&&(this.wg.ma=this.zg));return this.wg}kq(){this.Oa||(this.Oa=new olympe.G.H.ui.La.Ri(this.va()));return this.Oa}gn(a){this.ib('cursor','pointer');U(this,'clickOrTap',this.Pl.bind(this));return this.Da().gn(a)}Pl(){this.ib('cursor','default');W(this,'clickOrTap');return this.Da().Pl()}hn(a){U(this,'doubleClick',this.Ql.bind(this));return this.Da().hn(a)}Ql(){W(this,
@@ -1015,30 +1015,30 @@ olympe.G.H.ui.F.HTMLElement.prototype.registerDoubleClick=olympe.G.H.ui.F.HTMLEl
1015
1015
  olympe.G.H.ui.F.HTMLElement.prototype.getMouseEvent=olympe.G.H.ui.F.HTMLElement.prototype.Da;olympe.G.H.ui.F.HTMLElement.prototype.destroy=olympe.G.H.ui.F.HTMLElement.prototype.destroy;olympe.G.H.ui.F.HTMLElement.prototype.setContextMenuEnabled=olympe.G.H.ui.F.HTMLElement.prototype.Uu;olympe.G.H.ui.F.HTMLElement.prototype.setIgnoreUserInteraction=olympe.G.H.ui.F.HTMLElement.prototype.yh;olympe.G.H.ui.F.HTMLElement.prototype.setTabIndex=olympe.G.H.ui.F.HTMLElement.prototype.Gs;
1016
1016
  olympe.G.H.ui.F.HTMLElement.prototype.setHidden=olympe.G.H.ui.F.HTMLElement.prototype.rd;olympe.G.H.ui.F.HTMLElement.prototype.setFocus=olympe.G.H.ui.F.HTMLElement.prototype.mj;olympe.G.H.ui.F.HTMLElement.prototype.setBlur=olympe.G.H.ui.F.HTMLElement.prototype.yn;olympe.G.H.ui.F.HTMLElement.prototype.setBackgroundImagePosition=olympe.G.H.ui.F.HTMLElement.prototype.rs;olympe.G.H.ui.F.HTMLElement.prototype.setBackgroundImageSize=olympe.G.H.ui.F.HTMLElement.prototype.ss;
1017
1017
  olympe.G.H.ui.F.HTMLElement.prototype.setBackgroundImageSizeMode=olympe.G.H.ui.F.HTMLElement.prototype.kp;olympe.G.H.ui.F.HTMLElement.prototype.setBackgroundImagePositionMode=olympe.G.H.ui.F.HTMLElement.prototype.Lq;olympe.G.H.ui.F.HTMLElement.prototype.setBackgroundImageSrc=olympe.G.H.ui.F.HTMLElement.prototype.us;olympe.G.H.ui.F.HTMLElement.prototype.setBackgroundImage=olympe.G.H.ui.F.HTMLElement.prototype.Yg;olympe.G.H.ui.F.HTMLElement.prototype.setOpacity=olympe.G.H.ui.F.HTMLElement.prototype.ng;
1018
- olympe.G.H.ui.F.HTMLElement.prototype.setRGBABackgoundColor=olympe.G.H.ui.F.HTMLElement.prototype.IE;olympe.G.H.ui.F.HTMLElement.prototype.setBackgroundColor=olympe.G.H.ui.F.HTMLElement.prototype.Ma;olympe.G.H.ui.F.HTMLElement.Aa=[olympe.N.F.Element];const Cg=new Map,Dg=document.fonts||null;function Eg(a,b){if(null===Dg||Dg.check(`1em ${a}`))b();else{let c=Cg.get(a);c?c.add(b):(c=new Set([b]),Cg.set(a,c),Dg.load(`1em ${a}`).then(()=>{c.forEach(d=>d())}))}}
1018
+ olympe.G.H.ui.F.HTMLElement.prototype.setRGBABackgoundColor=olympe.G.H.ui.F.HTMLElement.prototype.JE;olympe.G.H.ui.F.HTMLElement.prototype.setBackgroundColor=olympe.G.H.ui.F.HTMLElement.prototype.Ma;olympe.G.H.ui.F.HTMLElement.Aa=[olympe.N.F.Element];const Cg=new Map,Dg=document.fonts||null;function Eg(a,b){if(null===Dg||Dg.check(`1em ${a}`))b();else{let c=Cg.get(a);c?c.add(b):(c=new Set([b]),Cg.set(a,c),Dg.load(`1em ${a}`).then(()=>{c.forEach(d=>d())}))}}
1019
1019
  olympe.G.H.ui.F.Gd=class extends olympe.G.H.ui.F.HTMLElement{constructor(a,b){super(a,b,document.body);window.oncontextmenu=function(c){return 0===c.buttons};this.children=new Map;this.C=this.D=null;this.va().style.width='100%';this.va().style.height='100%';this.va().style.position='fixed';this.va().style.margin='0';this.va().style.lineHeight='normal'}ww(a){const b=document.createElement('link');b.type='text/css';b.rel='stylesheet';b.href=a;document.head.appendChild(b);for(const c of this.children.values())c.Bj()}Gx(a){let b=
1020
1020
  document.querySelector("link[rel~='icon']");b||(b=document.createElement('link'),b.rel='icon',document.getElementsByTagName('head')[0].appendChild(b));b.href=a}Nx(a){let b=document.querySelector("link[rel~='manifest']");b||(b=document.createElement('link'),b.rel='manifest',document.getElementsByTagName('head')[0].appendChild(b));b.href=a}appendChild(a,b){a instanceof olympe.G.H.ui.F.fc||this.Cb().warn('Trying to attach a wrongly typed object to absPosLayer (only HTMLDockableElement objects can be used with DOM UI implementation');
1021
1021
  b||(b=olympe.G.H.ui.F.Gd.Dg);this.children.get(b)&&this.removeChild(b);this.children.set(b,a);this.va().appendChild(a.va());a.setAttribute('name_As_A_Child',b);a.Ef(this,b);a.ij();a.Bj()}removeChild(a){a||(a=olympe.G.H.ui.F.Gd.Dg);const b=this.children.get(a);if(void 0!==b)try{this.va().removeChild(b.va()),b.parent=null,b.yu=null,b.Ll()}catch(c){this.Cb().debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.Cb().warn('Trying to remove a non existing child: '+
1022
1022
  a)}Pr(a){void 0!==a&&this.children.delete(a)}mg(){for(const a of this.children.keys())this.removeChild(a);this.children.clear()}ci(a){document.title=a}Qr(){let a;null==(a=document.body.querySelector('#olympe-loading'))||a.remove()}Uc(){this.D||(this.D=new olympe.G.H.ui.La.Nh(this.va()));return this.D}Ek(a){return this.Uc().Ek(a)}qj(){return this.Uc().qj()}Dk(a){return this.Uc().Dk(a)}pj(){return this.Uc().pj()}Fk(a){return this.Uc().Fk(a)}rj(){return this.Uc().rj()}TA(a){this.C||(this.C=function(){setTimeout(function(){90===
1023
- Math.abs(window.orientation)?a(olympe.ui.ha.$J.CS):a(olympe.ui.ha.$J.vT)},0)},{}.hasOwnProperty.call(window,'orientation')&&window.addEventListener('resize',this.C))}gF(){window.removeEventListener('resize',this.C);this.C=null}O(a,b,c,d,e,f){f='font_'+f;let g=document.getElementById(f);g||(g=document.createElement('style'),g.id=f,document.body.appendChild(g));g.innerHTML=`@font-face {font-family:'${a}'; font-style:${b}; font-weight:${c}; src:${`url('${e}') format('${d}')`};`;b=()=>{(Cg.get(a)||new Set).forEach(k=>
1024
- k());Cg.delete(a)};Dg?(Cg.set(a,new Set),Dg.load(`1em ${a}`).then(b)):setTimeout(b,50)}T(a){(a=document.getElementById('font_'+a))&&a.parentNode.removeChild(a)}};olympe.G.H.ui.F.Gd.prototype.unregisterScreenOrientation=olympe.G.H.ui.F.Gd.prototype.gF;olympe.G.H.ui.F.Gd.prototype.registerScreenOrientation=olympe.G.H.ui.F.Gd.prototype.TA;olympe.G.H.ui.F.Gd.prototype.unregisterKeyUp=olympe.G.H.ui.F.Gd.prototype.rj;olympe.G.H.ui.F.Gd.prototype.registerKeyUp=olympe.G.H.ui.F.Gd.prototype.Fk;
1023
+ Math.abs(window.orientation)?a(olympe.ui.ha.$J.CS):a(olympe.ui.ha.$J.vT)},0)},{}.hasOwnProperty.call(window,'orientation')&&window.addEventListener('resize',this.C))}hF(){window.removeEventListener('resize',this.C);this.C=null}O(a,b,c,d,e,f){f='font_'+f;let g=document.getElementById(f);g||(g=document.createElement('style'),g.id=f,document.body.appendChild(g));g.innerHTML=`@font-face {font-family:'${a}'; font-style:${b}; font-weight:${c}; src:${`url('${e}') format('${d}')`};`;b=()=>{(Cg.get(a)||new Set).forEach(k=>
1024
+ k());Cg.delete(a)};Dg?(Cg.set(a,new Set),Dg.load(`1em ${a}`).then(b)):setTimeout(b,50)}T(a){(a=document.getElementById('font_'+a))&&a.parentNode.removeChild(a)}};olympe.G.H.ui.F.Gd.prototype.unregisterScreenOrientation=olympe.G.H.ui.F.Gd.prototype.hF;olympe.G.H.ui.F.Gd.prototype.registerScreenOrientation=olympe.G.H.ui.F.Gd.prototype.TA;olympe.G.H.ui.F.Gd.prototype.unregisterKeyUp=olympe.G.H.ui.F.Gd.prototype.rj;olympe.G.H.ui.F.Gd.prototype.registerKeyUp=olympe.G.H.ui.F.Gd.prototype.Fk;
1025
1025
  olympe.G.H.ui.F.Gd.prototype.unregisterKeyDown=olympe.G.H.ui.F.Gd.prototype.pj;olympe.G.H.ui.F.Gd.prototype.registerKeyDown=olympe.G.H.ui.F.Gd.prototype.Dk;olympe.G.H.ui.F.Gd.prototype.unregisterKeyPressed=olympe.G.H.ui.F.Gd.prototype.qj;olympe.G.H.ui.F.Gd.prototype.registerKeyPressed=olympe.G.H.ui.F.Gd.prototype.Ek;olympe.G.H.ui.F.Gd.prototype.getKeyEvent=olympe.G.H.ui.F.Gd.prototype.Uc;olympe.G.H.ui.F.Gd.prototype.clearLoader=olympe.G.H.ui.F.Gd.prototype.Qr;
1026
1026
  olympe.G.H.ui.F.Gd.prototype.setTitle=olympe.G.H.ui.F.Gd.prototype.ci;olympe.G.H.ui.F.Gd.prototype.removeAllChildren=olympe.G.H.ui.F.Gd.prototype.mg;olympe.G.H.ui.F.Gd.prototype.childDestroyed=olympe.G.H.ui.F.Gd.prototype.Pr;olympe.G.H.ui.F.Gd.prototype.removeChild=olympe.G.H.ui.F.Gd.prototype.removeChild;olympe.G.H.ui.F.Gd.prototype.appendChild=olympe.G.H.ui.F.Gd.prototype.appendChild;olympe.G.H.ui.F.Gd.prototype.setManifestUrl=olympe.G.H.ui.F.Gd.prototype.Nx;
1027
- olympe.G.H.ui.F.Gd.prototype.setFavicon=olympe.G.H.ui.F.Gd.prototype.Gx;olympe.G.H.ui.F.Gd.prototype.addCSSLink=olympe.G.H.ui.F.Gd.prototype.ww;olympe.host.Xc.register(olympe.host.ab.jb.WK,olympe.G.H.ui.F.Gd);olympe.G.H.ui.F.Gd.Dg='default';olympe.G.H.ui.F.Gd.Aa=[olympe.N.F.pf,olympe.G.H.ui.F.hC];let Fg=null;function Gg(a){var b=a.getParent(),c=b instanceof olympe.G.H.ui.F.fc?b.borderWidth:0;b=Math.round(a.x-c);c=Math.round(a.y-c);a.ib('transform',a.eE?'translate3d('+b+'px, '+c+'px, 0px) rotate('+a.rotationAngle+'deg) scale3d('+a.Mu+', '+a.Nu+', 1)':'translate('+b+'px, '+c+'px) rotate('+a.rotationAngle+'deg) scale('+a.Mu+', '+a.Nu+')')}function Hg(a,b,c){c='auto'===c?c:c+'px';a.ib('width','auto'===b?b:b+'px');a.ib('height',c);for(const d of a.sE.values())d(a.width,a.height)}
1028
- function Ig(a,b){a.sE.set('htmlscroller',b)}function Jg(a,b){a.KO.push(b);a.cu&&b()}function Kg(a,b){a.LO.push(b)}
1029
- olympe.G.H.ui.F.fc=class extends olympe.G.H.ui.F.HTMLElement{constructor(a,b,c){super(a,b,c);this.yu=this.parent=null;this.y=this.x=0;this.eE=!1;this.height=this.width=0;this.borderColor='#000000';this.sE=new Map;this.KO=[];this.LO=[];this.focus=this.cu=!1;this.Du=null;this.ib('-webkit-user-select','none');this.ib('-moz-user-select','none');this.ib('-ms-user-select','none');this.ib('-user-select','none');Gg(this);this.kZ=olympe.oa.Promise.dA(()=>{const d=this.va();[...d.children].sort((e,f)=>{e=parseInt(e.getAttribute('rank'),
1030
- 10);f=parseInt(f.getAttribute('rank'),10);return e>f?1:-1}).forEach(e=>d.appendChild(e))},0)}Bf(){const a=Math.round(Math.min(this.width/2,this.height/2,this.borderWidth));this.ib('border-style',0<a?'solid':'');this.ib('border-width',a+'px');Hg(this,Math.max(Math.round(this.width-2*this.borderWidth),0),Math.max(Math.round(this.height-2*this.borderWidth),0))}oe(a){a!==this.x&&(this.x=a,Gg(this))}Fe(a){a!==this.y&&(this.y=a,Gg(this))}XE(a,b){if(a!==this.x||b!==this.y)this.x=a,this.y=b,Gg(this)}ah(a){this.ib('z-index',
1031
- a)}Cg(a){this.width=a;this.Bf()}Cd(){return this.width}Ag(a){this.height=a;this.Bf()}Ce(){return this.height}Ld(a,b){this.nd(b);this.ad(a)}ad(a){this.borderWidth=a;this.Bf()}nd(a){this.ib('border-color',a);this.borderColor=a}zi(){return this.borderWidth}pl(){return this.borderColor}Tj(a){a!==this.eE&&(this.eE=a,Gg(this))}Oq(a){a!==this.rotationAngle&&(this.rotationAngle=a,Gg(this))}dv(a,b){if(a!==this.Mu||b!==this.Nu)this.Mu=a,this.Nu=b,Gg(this)}LE(a,b){if(a!==this.Mu||b!==this.Nu)this.Mu=a,this.Nu=
1032
- b,Gg(this)}$g(a,b,c,d,e,f){this.ib('boxShadow',(f?'inset ':'')+(a?a:0)+'px '+(b?b:0)+'px '+(c&&0<c?c:0)+'px '+(d?d:0)+'px '+(e?e:'#000000'))}Wb(a){this.ib('border-radius',a+'px')}nE(a){this.Du=a;a=this.getParent();a instanceof olympe.G.H.ui.F.fc&&this.Du&&this.Du(a.va())}CP(){this.Du=null}Ef(a,b){this.parent=a;this.yu=b;a instanceof olympe.G.H.ui.F.fc&&this.Du&&this.Du(a.va())}getParent(){return this.parent}mj(a){Fg&&Fg!==this&&Fg.yn();this.focus=!0;super.mj(a);Fg=this}yn(){Fg===this&&(Fg=null);this.focus=
1033
- !1;super.yn()}ij(){this.cu=!0;this.focus&&super.mj();this.KO.forEach(function(a){a()})}Ll(){this.cu=!1;this.LO.forEach(function(a){a()})}Cs(a){this.setAttribute('rank',a.toString());a=this.parent;a instanceof olympe.G.H.ui.F.fc&&a.kZ().catch(console.error)}bE(a,b,c,d,e,f,g,k,l,m,n,p,r,t){this.Wb(a);this.Ld(b,c);this.Oq(d);this.$g(e,f,g,k,l,m);this.dv(n,n);this.ah(p);this.Cg(r);this.Ag(t)}destroy(){null!==this.parent&&null!==this.yu&&this.parent.Pr(this.yu);super.destroy()}Bj(){}};
1034
- olympe.G.H.ui.F.fc.prototype.ancestorBecameVisible=olympe.G.H.ui.F.fc.prototype.Bj;olympe.G.H.ui.F.fc.prototype.destroy=olympe.G.H.ui.F.fc.prototype.destroy;olympe.G.H.ui.F.fc.prototype.initAllProperties=olympe.G.H.ui.F.fc.prototype.bE;olympe.G.H.ui.F.fc.prototype.setBlur=olympe.G.H.ui.F.fc.prototype.yn;olympe.G.H.ui.F.fc.prototype.setFocus=olympe.G.H.ui.F.fc.prototype.mj;olympe.G.H.ui.F.fc.prototype.setCornerRadius=olympe.G.H.ui.F.fc.prototype.Wb;olympe.G.H.ui.F.fc.prototype.setShadow=olympe.G.H.ui.F.fc.prototype.$g;
1035
- olympe.G.H.ui.F.fc.prototype.setScaleFactorXY=olympe.G.H.ui.F.fc.prototype.LE;olympe.G.H.ui.F.fc.prototype.setScaleFactor=olympe.G.H.ui.F.fc.prototype.dv;olympe.G.H.ui.F.fc.prototype.setRotationAngle=olympe.G.H.ui.F.fc.prototype.Oq;olympe.G.H.ui.F.fc.prototype.setAccelerated=olympe.G.H.ui.F.fc.prototype.Tj;olympe.G.H.ui.F.fc.prototype.setBorder=olympe.G.H.ui.F.fc.prototype.Ld;olympe.G.H.ui.F.fc.prototype.setHeight=olympe.G.H.ui.F.fc.prototype.Ag;olympe.G.H.ui.F.fc.prototype.setWidth=olympe.G.H.ui.F.fc.prototype.Cg;
1036
- olympe.G.H.ui.F.fc.prototype.setZIndex=olympe.G.H.ui.F.fc.prototype.ah;olympe.G.H.ui.F.fc.prototype.setXY=olympe.G.H.ui.F.fc.prototype.XE;olympe.G.H.ui.F.fc.prototype.setY=olympe.G.H.ui.F.fc.prototype.Fe;olympe.G.H.ui.F.fc.prototype.setX=olympe.G.H.ui.F.fc.prototype.oe;olympe.G.H.ui.F.fc.Aa=[olympe.N.F.mb];olympe.G.H.ui.F.Sf=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,document.createElement('div'));this.$=this.T=this.O=this.za=0;this.D=this.C=null;this.ib('user-select','text')}Bf(){let a=this.width-Math.min(2*this.borderWidth,this.width)-this.T-this.$,b=this.height-Math.min(2*this.borderWidth,this.height)-this.za-this.O,c=Math.min(this.width/2,this.height/2,this.borderWidth);a=Math.round(a);b=Math.round(b);c=Math.round(c);const d=this.va();'auto'===d.style.height&&(b='auto');'auto'===
1027
+ olympe.G.H.ui.F.Gd.prototype.setFavicon=olympe.G.H.ui.F.Gd.prototype.Gx;olympe.G.H.ui.F.Gd.prototype.addCSSLink=olympe.G.H.ui.F.Gd.prototype.ww;olympe.host.Xc.register(olympe.host.ab.jb.WK,olympe.G.H.ui.F.Gd);olympe.G.H.ui.F.Gd.Dg='default';olympe.G.H.ui.F.Gd.Aa=[olympe.N.F.pf,olympe.G.H.ui.F.iC];let Fg=null;function Gg(a){var b=a.getParent(),c=b instanceof olympe.G.H.ui.F.fc?b.borderWidth:0;b=Math.round(a.x-c);c=Math.round(a.y-c);a.ib('transform',a.fE?'translate3d('+b+'px, '+c+'px, 0px) rotate('+a.rotationAngle+'deg) scale3d('+a.Mu+', '+a.Nu+', 1)':'translate('+b+'px, '+c+'px) rotate('+a.rotationAngle+'deg) scale('+a.Mu+', '+a.Nu+')')}function Hg(a,b,c){c='auto'===c?c:c+'px';a.ib('width','auto'===b?b:b+'px');a.ib('height',c);for(const d of a.tE.values())d(a.width,a.height)}
1028
+ function Ig(a,b){a.tE.set('htmlscroller',b)}function Jg(a,b){a.KO.push(b);a.cu&&b()}function Kg(a,b){a.LO.push(b)}
1029
+ olympe.G.H.ui.F.fc=class extends olympe.G.H.ui.F.HTMLElement{constructor(a,b,c){super(a,b,c);this.yu=this.parent=null;this.y=this.x=0;this.fE=!1;this.height=this.width=0;this.borderColor='#000000';this.tE=new Map;this.KO=[];this.LO=[];this.focus=this.cu=!1;this.Du=null;this.ib('-webkit-user-select','none');this.ib('-moz-user-select','none');this.ib('-ms-user-select','none');this.ib('-user-select','none');Gg(this);this.kZ=olympe.oa.Promise.dA(()=>{const d=this.va();[...d.children].sort((e,f)=>{e=parseInt(e.getAttribute('rank'),
1030
+ 10);f=parseInt(f.getAttribute('rank'),10);return e>f?1:-1}).forEach(e=>d.appendChild(e))},0)}Bf(){const a=Math.round(Math.min(this.width/2,this.height/2,this.borderWidth));this.ib('border-style',0<a?'solid':'');this.ib('border-width',a+'px');Hg(this,Math.max(Math.round(this.width-2*this.borderWidth),0),Math.max(Math.round(this.height-2*this.borderWidth),0))}oe(a){a!==this.x&&(this.x=a,Gg(this))}Fe(a){a!==this.y&&(this.y=a,Gg(this))}YE(a,b){if(a!==this.x||b!==this.y)this.x=a,this.y=b,Gg(this)}ah(a){this.ib('z-index',
1031
+ a)}Cg(a){this.width=a;this.Bf()}Cd(){return this.width}Ag(a){this.height=a;this.Bf()}Ce(){return this.height}Ld(a,b){this.nd(b);this.ad(a)}ad(a){this.borderWidth=a;this.Bf()}nd(a){this.ib('border-color',a);this.borderColor=a}zi(){return this.borderWidth}pl(){return this.borderColor}Tj(a){a!==this.fE&&(this.fE=a,Gg(this))}Oq(a){a!==this.rotationAngle&&(this.rotationAngle=a,Gg(this))}dv(a,b){if(a!==this.Mu||b!==this.Nu)this.Mu=a,this.Nu=b,Gg(this)}ME(a,b){if(a!==this.Mu||b!==this.Nu)this.Mu=a,this.Nu=
1032
+ b,Gg(this)}$g(a,b,c,d,e,f){this.ib('boxShadow',(f?'inset ':'')+(a?a:0)+'px '+(b?b:0)+'px '+(c&&0<c?c:0)+'px '+(d?d:0)+'px '+(e?e:'#000000'))}Wb(a){this.ib('border-radius',a+'px')}oE(a){this.Du=a;a=this.getParent();a instanceof olympe.G.H.ui.F.fc&&this.Du&&this.Du(a.va())}CP(){this.Du=null}Ef(a,b){this.parent=a;this.yu=b;a instanceof olympe.G.H.ui.F.fc&&this.Du&&this.Du(a.va())}getParent(){return this.parent}mj(a){Fg&&Fg!==this&&Fg.yn();this.focus=!0;super.mj(a);Fg=this}yn(){Fg===this&&(Fg=null);this.focus=
1033
+ !1;super.yn()}ij(){this.cu=!0;this.focus&&super.mj();this.KO.forEach(function(a){a()})}Ll(){this.cu=!1;this.LO.forEach(function(a){a()})}Cs(a){this.setAttribute('rank',a.toString());a=this.parent;a instanceof olympe.G.H.ui.F.fc&&a.kZ().catch(console.error)}cE(a,b,c,d,e,f,g,k,l,m,n,p,r,t){this.Wb(a);this.Ld(b,c);this.Oq(d);this.$g(e,f,g,k,l,m);this.dv(n,n);this.ah(p);this.Cg(r);this.Ag(t)}destroy(){null!==this.parent&&null!==this.yu&&this.parent.Pr(this.yu);super.destroy()}Bj(){}};
1034
+ olympe.G.H.ui.F.fc.prototype.ancestorBecameVisible=olympe.G.H.ui.F.fc.prototype.Bj;olympe.G.H.ui.F.fc.prototype.destroy=olympe.G.H.ui.F.fc.prototype.destroy;olympe.G.H.ui.F.fc.prototype.initAllProperties=olympe.G.H.ui.F.fc.prototype.cE;olympe.G.H.ui.F.fc.prototype.setBlur=olympe.G.H.ui.F.fc.prototype.yn;olympe.G.H.ui.F.fc.prototype.setFocus=olympe.G.H.ui.F.fc.prototype.mj;olympe.G.H.ui.F.fc.prototype.setCornerRadius=olympe.G.H.ui.F.fc.prototype.Wb;olympe.G.H.ui.F.fc.prototype.setShadow=olympe.G.H.ui.F.fc.prototype.$g;
1035
+ olympe.G.H.ui.F.fc.prototype.setScaleFactorXY=olympe.G.H.ui.F.fc.prototype.ME;olympe.G.H.ui.F.fc.prototype.setScaleFactor=olympe.G.H.ui.F.fc.prototype.dv;olympe.G.H.ui.F.fc.prototype.setRotationAngle=olympe.G.H.ui.F.fc.prototype.Oq;olympe.G.H.ui.F.fc.prototype.setAccelerated=olympe.G.H.ui.F.fc.prototype.Tj;olympe.G.H.ui.F.fc.prototype.setBorder=olympe.G.H.ui.F.fc.prototype.Ld;olympe.G.H.ui.F.fc.prototype.setHeight=olympe.G.H.ui.F.fc.prototype.Ag;olympe.G.H.ui.F.fc.prototype.setWidth=olympe.G.H.ui.F.fc.prototype.Cg;
1036
+ olympe.G.H.ui.F.fc.prototype.setZIndex=olympe.G.H.ui.F.fc.prototype.ah;olympe.G.H.ui.F.fc.prototype.setXY=olympe.G.H.ui.F.fc.prototype.YE;olympe.G.H.ui.F.fc.prototype.setY=olympe.G.H.ui.F.fc.prototype.Fe;olympe.G.H.ui.F.fc.prototype.setX=olympe.G.H.ui.F.fc.prototype.oe;olympe.G.H.ui.F.fc.Aa=[olympe.N.F.mb];olympe.G.H.ui.F.Sf=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,document.createElement('div'));this.$=this.T=this.O=this.za=0;this.D=this.C=null;this.ib('user-select','text')}Bf(){let a=this.width-Math.min(2*this.borderWidth,this.width)-this.T-this.$,b=this.height-Math.min(2*this.borderWidth,this.height)-this.za-this.O,c=Math.min(this.width/2,this.height/2,this.borderWidth);a=Math.round(a);b=Math.round(b);c=Math.round(c);const d=this.va();'auto'===d.style.height&&(b='auto');'auto'===
1037
1037
  d.style.width&&(a='auto');Hg(this,a,b);this.ib('border',c+'px solid '+this.borderColor)}da(a){this.D=a}jp(a,b){const c=this.va();b&&(c.style.height='auto');a&&(c.style.width='auto');this.C||!b&&!a||(this.C=new ResizeObserver(d=>{const e=d[0];window.requestAnimationFrame(()=>{let f=c.offsetHeight,g=c.offsetWidth;b&&(f=e.contentRect.height);a&&(g=e.contentRect.width);this.D?this.D(g,f):this.V.error('No resize callback for observer on HTML element was set')})}),this.C.observe(this.va()));if(!b&&!a){let d;
1038
1038
  null==(d=this.C)||d.disconnect()}}dB(a){const b=this.va(),c=[],d=e=>{for(const f of e.children)f instanceof HTMLImageElement?c.push(f):f.children&&0<f.children.length&&d(f)};b.innerHTML=a;d(b);if(0<c.length){let e=c.length;for(const f of c)f.onload=()=>{e--}}}Ru(a){const b=document.createElement('style');b.innerHTML=a;this.va().appendChild(b)}Tu(a){this.va().className=a}Su(a,b){const c=this.va();b&&(c.className=b);b=document.createElement('link');b.type='text/css';b.rel='stylesheet';b.href=a;c.appendChild(b)}Bb(a){this.ib('fontWeight',
1039
- a)}vb(a){this.ib('font-family',a||'')}rb(a){this.ib('fontSize',a.toString()+'px')}Od(a){this.ib('fontStyle',a.toString())}lb(a){this.ib('color',a)}Df(a=0,b=0,c=0,d=0){this.za=a;this.O=b;this.T=c;this.$=d;this.ib('padding-left',c+'px');this.ib('padding-right',d+'px');this.ib('padding-top',a+'px');this.ib('padding-bottom',b+'px')}rd(a){super.rd(a)}};olympe.G.H.ui.F.Sf.prototype.setHidden=olympe.G.H.ui.F.Sf.prototype.rd;olympe.G.H.ui.F.Sf.prototype.setPadding=olympe.G.H.ui.F.Sf.prototype.Df;
1040
- olympe.G.H.ui.F.Sf.prototype.setTextColor=olympe.G.H.ui.F.Sf.prototype.lb;olympe.G.H.ui.F.Sf.prototype.setFontStyle=olympe.G.H.ui.F.Sf.prototype.Od;olympe.G.H.ui.F.Sf.prototype.setFontSize=olympe.G.H.ui.F.Sf.prototype.rb;olympe.G.H.ui.F.Sf.prototype.setFontFamily=olympe.G.H.ui.F.Sf.prototype.vb;olympe.G.H.ui.F.Sf.prototype.setFontWeight=olympe.G.H.ui.F.Sf.prototype.Bb;olympe.G.H.ui.F.Sf.prototype.setCSSLink=olympe.G.H.ui.F.Sf.prototype.Su;olympe.G.H.ui.F.Sf.prototype.setClass=olympe.G.H.ui.F.Sf.prototype.Tu;
1041
- olympe.G.H.ui.F.Sf.prototype.setCSS=olympe.G.H.ui.F.Sf.prototype.Ru;olympe.G.H.ui.F.Sf.prototype.setHTML=olympe.G.H.ui.F.Sf.prototype.dB;olympe.host.Xc.register(olympe.host.ab.jb.eD,olympe.G.H.ui.F.Sf);olympe.G.H.ui.F.Sf.Aa=[olympe.N.F.Ue];function Lg(a,b){if(0===a.$.length||!b.type||0===b.type.length)return!0;for(const c of a.$)if('*'===c.charAt(c.length-1)){if(c.slice(0,c.length-2)===b.type.slice(0,b.type.indexOf('/')))return!0}else if(c===b.type)return!0;return!1}function Mg(a,b){if(Lg(a,b)){var c=new FileReader;c.onloadend=()=>{a.files.push({content:c.result,lastModifiedDate:new Date(b.lastModified),name:b.name,size:b.size,mimeType:b.type});a.da&&a.files.length===a.T&&(a.T=null,a.da())};c.readAsArrayBuffer(b)}}
1039
+ a)}wb(a){this.ib('font-family',a||'')}rb(a){this.ib('fontSize',a.toString()+'px')}Od(a){this.ib('fontStyle',a.toString())}lb(a){this.ib('color',a)}Df(a=0,b=0,c=0,d=0){this.za=a;this.O=b;this.T=c;this.$=d;this.ib('padding-left',c+'px');this.ib('padding-right',d+'px');this.ib('padding-top',a+'px');this.ib('padding-bottom',b+'px')}rd(a){super.rd(a)}};olympe.G.H.ui.F.Sf.prototype.setHidden=olympe.G.H.ui.F.Sf.prototype.rd;olympe.G.H.ui.F.Sf.prototype.setPadding=olympe.G.H.ui.F.Sf.prototype.Df;
1040
+ olympe.G.H.ui.F.Sf.prototype.setTextColor=olympe.G.H.ui.F.Sf.prototype.lb;olympe.G.H.ui.F.Sf.prototype.setFontStyle=olympe.G.H.ui.F.Sf.prototype.Od;olympe.G.H.ui.F.Sf.prototype.setFontSize=olympe.G.H.ui.F.Sf.prototype.rb;olympe.G.H.ui.F.Sf.prototype.setFontFamily=olympe.G.H.ui.F.Sf.prototype.wb;olympe.G.H.ui.F.Sf.prototype.setFontWeight=olympe.G.H.ui.F.Sf.prototype.Bb;olympe.G.H.ui.F.Sf.prototype.setCSSLink=olympe.G.H.ui.F.Sf.prototype.Su;olympe.G.H.ui.F.Sf.prototype.setClass=olympe.G.H.ui.F.Sf.prototype.Tu;
1041
+ olympe.G.H.ui.F.Sf.prototype.setCSS=olympe.G.H.ui.F.Sf.prototype.Ru;olympe.G.H.ui.F.Sf.prototype.setHTML=olympe.G.H.ui.F.Sf.prototype.dB;olympe.host.Xc.register(olympe.host.ab.jb.fD,olympe.G.H.ui.F.Sf);olympe.G.H.ui.F.Sf.Aa=[olympe.N.F.Ue];function Lg(a,b){if(0===a.$.length||!b.type||0===b.type.length)return!0;for(const c of a.$)if('*'===c.charAt(c.length-1)){if(c.slice(0,c.length-2)===b.type.slice(0,b.type.indexOf('/')))return!0}else if(c===b.type)return!0;return!1}function Mg(a,b){if(Lg(a,b)){var c=new FileReader;c.onloadend=()=>{a.files.push({content:c.result,lastModifiedDate:new Date(b.lastModified),name:b.name,size:b.size,mimeType:b.type});a.da&&a.files.length===a.T&&(a.T=null,a.da())};c.readAsArrayBuffer(b)}}
1042
1042
  function Ng(a,b){a.files=[];for(var c=0,d=b.length;c<d;++c)Mg(a,b[c])}
1043
1043
  olympe.G.H.ui.F.Rg=class extends olympe.G.H.ui.F.fc{constructor(a,b){function c(d){d.preventDefault();d.stopPropagation()}super(a,b,document.createElement('div'));this.files=[];this.disabled=this.multiple=!1;this.$=[];this.O=this.D=this.T=null;this.C=document.createElement('input');this.da=null;document.body.appendChild(this.C);a=this.va();this.C.setAttribute('type','file');this.C.style.display='none';this.C.style.border='none';this.C.style.position='absolute';a.addEventListener('dragenter',c);a.addEventListener('dragleave',
1044
1044
  c);a.addEventListener('dragover',c);a.addEventListener('drop',d=>{c(d);d=d.dataTransfer.files;this.disabled||(this.multiple?(this.T=d.length,Ng(this,d)):(this.T=1,Mg(this,d[0])))});this.C.addEventListener('change',this.za.bind(this))}destroy(){document.body.removeChild(this.C);super.destroy()}Zt(a){if(-1===this.$.indexOf(a)){this.$.push(a);var b=this.C.getAttribute('accept');b?this.C.setAttribute('accept',b+','+a):this.C.setAttribute('accept',a)}}Qu(a){this.D&&this.O&&this.D.removeChild(this.O);this.O=
@@ -1049,23 +1049,23 @@ olympe.G.H.ui.F.Nc=class a extends olympe.G.H.ui.F.fc{constructor(b,c){super(b,c
1049
1049
  b.height='auto';b['overflow-wrap']='break-word';Object.assign(this.Dd.style,b);this.va().appendChild(this.Dd)}Bf(){const b=Math.round(Math.min(this.Cd()/2,this.Ce()/2,this.zi())),c=Math.round(this.paddingLeft),d=Math.round(this.paddingTop),e=Math.round(this.paddingRight),f=Math.round(this.paddingBottom),g=Math.round(this.Cd()-Math.min(2*this.zi(),this.Cd())-this.paddingLeft-this.paddingRight),k=Math.round(this.Ce()-Math.min(2*this.zi(),this.Ce())-this.paddingTop-this.paddingBottom),l=g+this.paddingLeft+
1050
1050
  this.paddingRight,m=k+this.paddingTop+this.paddingBottom;this.ib('border',b+'px solid '+this.pl());this.Dd.style.padding=`${d}px ${e}px ${f}px ${c}px`;this.Dd.style['max-width']=l+'px';this.Dd.style.width=g+'px';this.Dd.style.height=k+'px';Hg(this,l,m)}static C(){const b=new Map;Og.forEach((c,d)=>{c=c[0].Dd;b.set(d,[c.style.width,c.style.height])});Og.forEach(c=>{c=c[0].Dd;c.style.removeProperty('max-width');Object.assign(c.style,{width:'auto',height:'auto'})});Og.forEach(c=>{const d=c[0];var e=d.Dd;
1051
1051
  const f=e.clientWidth;e=e.clientHeight;if(d.gs!==f||d.Au!==e)d.gs=f,d.Au=e,c[1].lc()||null===d.hy||c[1].run(()=>{d.hy(d.gs-d.paddingRight-d.paddingLeft,d.Au-d.paddingTop-d.paddingBottom)})});Og.forEach((c,d)=>{const e=c[0],f=e.Dd;d=b.get(d);Object.assign(f.style,{width:e.Nf?e.gs:d[0],height:e.Ne?e.Au:d[1],'max-width':c[0].gs})});Og.clear()}C(){if(null!==this.hy){const b=c=>{if(c<Pg){const d=Pg;window.setTimeout(()=>b(d),0)}else Pg=0,a.C()};Og.set(this.uid,[this,olympe.j.yb()]);Pg++;1===Pg&&b(0)}}rd(b){super.rd(b);
1052
- this.C()}Jb(b){if(-1<b.toString().search(qg)){var c=this.Dd;b=b.split('').reverse().join('').replace(sg,';tg&').split('').reverse().join('').replace(rg,'&lt;');c.innerHTML=b}else this.Dd.textContent=b;this.C()}Yd(b){this.Nf=b;this.C()}Ed(b){this.Ne=b;this.C()}Cg(b){super.Cg(b);this.Bf();this.C()}Ag(b){super.Ag(b);this.Bf();this.C()}Bb(b){this.Dd.style['font-weight']=b.toString();this.C()}vb(b){this.Dd.style['font-family']=b||'';b&&Eg(b,()=>this.C())}rb(b){this.Dd.style['font-size']=b.toString()+'px';
1052
+ this.C()}Jb(b){if(-1<b.toString().search(qg)){var c=this.Dd;b=b.split('').reverse().join('').replace(sg,';tg&').split('').reverse().join('').replace(rg,'&lt;');c.innerHTML=b}else this.Dd.textContent=b;this.C()}Yd(b){this.Nf=b;this.C()}Ed(b){this.Ne=b;this.C()}Cg(b){super.Cg(b);this.Bf();this.C()}Ag(b){super.Ag(b);this.Bf();this.C()}Bb(b){this.Dd.style['font-weight']=b.toString();this.C()}wb(b){this.Dd.style['font-family']=b||'';b&&Eg(b,()=>this.C())}rb(b){this.Dd.style['font-size']=b.toString()+'px';
1053
1053
  this.C()}Od(b){this.Dd.style['font-style']=b.toString();this.C()}lb(b){this.ib('color',b)}Kl(b,c,d,e){this.ib('color','rgba('+b+', '+c+', '+d+', '+e+')')}Vj(b){this.Dd.style['line-height']=b.toString();this.C()}Ub(b){switch(b){case olympe.ui.ha.Db.Tf:this.Dd.style['text-align']='left';break;case olympe.ui.ha.Db.Sb:this.Dd.style['text-align']='center';break;case olympe.ui.ha.Db.wi:this.Dd.style['text-align']='right';break;default:this.Cb().warn('Unexpected text horizontal align value '+b+' ignored')}this.C()}Xb(b){switch(b){case olympe.ui.ha.rc.gh:this.Dd.style['vertical-align']=
1054
- 'top';break;case olympe.ui.ha.rc.Sc:this.Dd.style['vertical-align']='middle';break;case olympe.ui.ha.rc.zh:this.Dd.style['vertical-align']='bottom';break;default:this.Cb().warn('Unexpected text vertical align value '+b+' ignored')}this.D();this.C()}bi(b){const c=()=>{this.Dd.style.removeProperty('overflow');this.Dd.style['text-overflow']='clip'};switch(b){case olympe.ui.ha.oo.Av:c();break;case olympe.ui.ha.oo.yG:this.Dd.style['text-overflow']='ellipsis';this.Dd.style.overflow='hidden';break;case olympe.ui.ha.oo.KG:this.Cb().warn('Fade is not supported yet');
1054
+ 'top';break;case olympe.ui.ha.rc.Sc:this.Dd.style['vertical-align']='middle';break;case olympe.ui.ha.rc.zh:this.Dd.style['vertical-align']='bottom';break;default:this.Cb().warn('Unexpected text vertical align value '+b+' ignored')}this.D();this.C()}bi(b){const c=()=>{this.Dd.style.removeProperty('overflow');this.Dd.style['text-overflow']='clip'};switch(b){case olympe.ui.ha.oo.Av:c();break;case olympe.ui.ha.oo.zG:this.Dd.style['text-overflow']='ellipsis';this.Dd.style.overflow='hidden';break;case olympe.ui.ha.oo.LG:this.Cb().warn('Fade is not supported yet');
1055
1055
  c();break;default:this.Cb().warn('Unexpected text overflow handling',b,'ignored'),c()}this.D()}jv(b){'pre'===b||'pre-wrap'===b||'nowrap'===b?this.Dd.style['white-space']=b:(this.Cb().warn('Unexpected white space wrap value',b,'ignored'),this.Dd.style['white-space']='pre');this.C()}Ml(b){b?(this.Dd.style['user-select']='text',this.Dd.style['-webkit-user-select']='text',this.Dd.style['-moz-user-select']='text',this.Dd.style['-ms-user-select']='text',this.Dd.style.cursor='auto'):(this.Dd.style['user-select']=
1056
1056
  'none',this.Dd.style['-webkit-user-select']='none',this.Dd.style['-moz-user-select']='none',this.Dd.style['-ms-user-select']='none',this.Dd.style.cursor='default')}fp(b){this.hy=b;this.gs&&this.Au?b(this.gs-this.paddingRight-this.paddingLeft,this.Au-this.paddingTop-this.paddingBottom):this.C()}Rq(){this.hy=null}Fc(b){this.paddingLeft=b||0;this.Bf();this.C()}Kc(b){this.paddingRight=b||0;this.Bf();this.C()}td(b){this.paddingTop=b||0;this.Bf();this.C()}sd(b){this.paddingBottom=b||0;this.Bf();this.C()}ij(){super.ij();
1057
1057
  this.C()}Bj(){this.C()}D(){const b=this.Dd.style['vertical-align'],c=this.Dd.style['text-overflow'];this.Dd.style.display=b&&'top'!==b||'ellipsis'!==c?'table-cell':'block'}};olympe.G.H.ui.F.Nc.prototype.ancestorBecameVisible=olympe.G.H.ui.F.Nc.prototype.Bj;olympe.G.H.ui.F.Nc.prototype.setAppended=olympe.G.H.ui.F.Nc.prototype.ij;olympe.G.H.ui.F.Nc.prototype.setPaddingBottom=olympe.G.H.ui.F.Nc.prototype.sd;olympe.G.H.ui.F.Nc.prototype.setPaddingTop=olympe.G.H.ui.F.Nc.prototype.td;
1058
1058
  olympe.G.H.ui.F.Nc.prototype.setPaddingRight=olympe.G.H.ui.F.Nc.prototype.Kc;olympe.G.H.ui.F.Nc.prototype.setPaddingLeft=olympe.G.H.ui.F.Nc.prototype.Fc;olympe.G.H.ui.F.Nc.prototype.unregisterTextSize=olympe.G.H.ui.F.Nc.prototype.Rq;olympe.G.H.ui.F.Nc.prototype.registerTextSize=olympe.G.H.ui.F.Nc.prototype.fp;olympe.G.H.ui.F.Nc.prototype.setSelectable=olympe.G.H.ui.F.Nc.prototype.Ml;olympe.G.H.ui.F.Nc.prototype.setWhiteSpaceWrap=olympe.G.H.ui.F.Nc.prototype.jv;
1059
1059
  olympe.G.H.ui.F.Nc.prototype.setTextOverflow=olympe.G.H.ui.F.Nc.prototype.bi;olympe.G.H.ui.F.Nc.prototype.setTextVerticalAlign=olympe.G.H.ui.F.Nc.prototype.Xb;olympe.G.H.ui.F.Nc.prototype.setTextHorizontalAlign=olympe.G.H.ui.F.Nc.prototype.Ub;olympe.G.H.ui.F.Nc.prototype.setLineHeight=olympe.G.H.ui.F.Nc.prototype.Vj;olympe.G.H.ui.F.Nc.prototype.setRGBATextColor=olympe.G.H.ui.F.Nc.prototype.Kl;olympe.G.H.ui.F.Nc.prototype.setTextColor=olympe.G.H.ui.F.Nc.prototype.lb;
1060
- olympe.G.H.ui.F.Nc.prototype.setFontStyle=olympe.G.H.ui.F.Nc.prototype.Od;olympe.G.H.ui.F.Nc.prototype.setFontSize=olympe.G.H.ui.F.Nc.prototype.rb;olympe.G.H.ui.F.Nc.prototype.setFontFamily=olympe.G.H.ui.F.Nc.prototype.vb;olympe.G.H.ui.F.Nc.prototype.setFontWeight=olympe.G.H.ui.F.Nc.prototype.Bb;olympe.G.H.ui.F.Nc.prototype.setHeight=olympe.G.H.ui.F.Nc.prototype.Ag;olympe.G.H.ui.F.Nc.prototype.setWidth=olympe.G.H.ui.F.Nc.prototype.Cg;olympe.G.H.ui.F.Nc.prototype.setAutoHeight=olympe.G.H.ui.F.Nc.prototype.Ed;
1060
+ olympe.G.H.ui.F.Nc.prototype.setFontStyle=olympe.G.H.ui.F.Nc.prototype.Od;olympe.G.H.ui.F.Nc.prototype.setFontSize=olympe.G.H.ui.F.Nc.prototype.rb;olympe.G.H.ui.F.Nc.prototype.setFontFamily=olympe.G.H.ui.F.Nc.prototype.wb;olympe.G.H.ui.F.Nc.prototype.setFontWeight=olympe.G.H.ui.F.Nc.prototype.Bb;olympe.G.H.ui.F.Nc.prototype.setHeight=olympe.G.H.ui.F.Nc.prototype.Ag;olympe.G.H.ui.F.Nc.prototype.setWidth=olympe.G.H.ui.F.Nc.prototype.Cg;olympe.G.H.ui.F.Nc.prototype.setAutoHeight=olympe.G.H.ui.F.Nc.prototype.Ed;
1061
1061
  olympe.G.H.ui.F.Nc.prototype.setAutoWidth=olympe.G.H.ui.F.Nc.prototype.Yd;olympe.G.H.ui.F.Nc.prototype.setText=olympe.G.H.ui.F.Nc.prototype.Jb;olympe.G.H.ui.F.Nc.prototype.setHidden=olympe.G.H.ui.F.Nc.prototype.rd;olympe.host.Xc.register(olympe.host.ab.jb.VK,olympe.G.H.ui.F.Nc);olympe.G.H.ui.F.Nc.Aa=[olympe.N.F.cb];olympe.G.H.ui.F.rg=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,document.createElement('div'));this.children=new Map;this.Pa=new Map}appendChild(a,b){a instanceof olympe.G.H.ui.F.fc||this.Cb().warn('Trying to attach a wrongly typed object to absPosLayer (only HTMLDockableElement objects can be used with DOM UI implementation');b=void 0!==b?b:olympe.G.H.ui.F.rg.Dg;void 0!==this.children.get(b)&&this.removeChild(b);this.children.set(b,a);this.va().appendChild(a.va());a.setAttribute('name_As_A_Child',
1062
1062
  b);a.Ef(this,b);Gg(a);this.cu&&'none'!==this.va().display&&a.Bj();this.cu&&a.ij()}removeChild(a){a=void 0!==a?a:olympe.G.H.ui.F.rg.Dg;const b=this.children.get(a);if(void 0!==b){b.parent=null;b.yu=null;try{this.va().removeChild(b.va()),b.Ll()}catch(c){this.Cb().debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}}else this.Cb().warn('Trying to remove a non existing child: '+a)}Pr(a){void 0!==a&&(this.children.delete(a),this.Pa.forEach(b=>b(a)))}mg(){for(const a of this.children.keys())this.removeChild(a)}ad(a){super.ad(a);
1063
1063
  for(const b of this.children.values())Gg(b)}Lr(){this.ib('overflow','visible')}ij(){super.ij();for(const a of this.children.values())a.ij()}Ll(){super.Ll();for(const a of this.children.values())a.Ll()}rd(a){super.rd(a);if(!a)for(const b of this.children.values())b.Bj()}Bj(){for(const a of this.children.values())a.Bj()}$(a){const b=olympe.oa.bf();this.Pa.set(b,a)}};olympe.G.H.ui.F.rg.prototype.setHidden=olympe.G.H.ui.F.rg.prototype.rd;olympe.G.H.ui.F.rg.prototype.setRemoved=olympe.G.H.ui.F.rg.prototype.Ll;
1064
1064
  olympe.G.H.ui.F.rg.prototype.setAppended=olympe.G.H.ui.F.rg.prototype.ij;olympe.G.H.ui.F.rg.prototype.authorizeOverflow=olympe.G.H.ui.F.rg.prototype.Lr;olympe.G.H.ui.F.rg.prototype.removeAllChildren=olympe.G.H.ui.F.rg.prototype.mg;olympe.G.H.ui.F.rg.prototype.childDestroyed=olympe.G.H.ui.F.rg.prototype.Pr;olympe.G.H.ui.F.rg.prototype.removeChild=olympe.G.H.ui.F.rg.prototype.removeChild;olympe.G.H.ui.F.rg.prototype.appendChild=olympe.G.H.ui.F.rg.prototype.appendChild;olympe.G.H.ui.F.rg.Dg='default';
1065
- olympe.host.Xc.register(olympe.host.ab.jb.Ez,olympe.G.H.ui.F.rg);olympe.G.H.ui.F.rg.Aa=[olympe.N.F.ce,olympe.G.H.ui.F.hC];olympe.G.H.ui.F.hC=class{constructor(){}Pr(){}};olympe.G.H.ui.F.wc=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,document.createElement('textarea'));this.paddingBottom=this.paddingTop=this.paddingRight=this.paddingLeft=0;this.D=this.O=void 0;this.da='';this.T=!1;this.za=void 0;this.$=!1;this.va().removeAttribute('tabindex');this.ib('resize','none');this.ib('outline','0px');this.ib('overflow','auto');this.Fc(this.paddingLeft);this.Kc(this.paddingRight);this.td(this.paddingTop);this.sd(this.paddingBottom);this.ib('-webkit-user-select',
1065
+ olympe.host.Xc.register(olympe.host.ab.jb.Ez,olympe.G.H.ui.F.rg);olympe.G.H.ui.F.rg.Aa=[olympe.N.F.ce,olympe.G.H.ui.F.iC];olympe.G.H.ui.F.iC=class{constructor(){}Pr(){}};olympe.G.H.ui.F.wc=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,document.createElement('textarea'));this.paddingBottom=this.paddingTop=this.paddingRight=this.paddingLeft=0;this.D=this.O=void 0;this.da='';this.T=!1;this.za=void 0;this.$=!1;this.va().removeAttribute('tabindex');this.ib('resize','none');this.ib('outline','0px');this.ib('overflow','auto');this.Fc(this.paddingLeft);this.Kc(this.paddingRight);this.td(this.paddingTop);this.sd(this.paddingBottom);this.ib('-webkit-user-select',
1066
1066
  'text');this.ib('-moz-user-select','text');this.ib('-ms-user-select','text');this.ib('-user-select','text');this.va().addEventListener('mousedown',c=>{c.stopPropagation()});this.va().addEventListener('mouseup',c=>{c.stopPropagation()});this.va().addEventListener('click',c=>{c.stopPropagation()});this.va().addEventListener('keyup',c=>{c.stopPropagation()});this.va().addEventListener('keydown',c=>{c.stopPropagation()});this.va().addEventListener('keypress',c=>{c.stopPropagation()});this.C=()=>{requestAnimationFrame(this.Pa.bind(this))}}Bf(){const a=
1067
1067
  Math.max(Math.round(this.width-2*this.borderWidth-this.paddingRight-this.paddingLeft),0),b=Math.max(Math.round(this.height-2*this.borderWidth-this.paddingTop-this.paddingBottom),0);this.ib('border',this.borderWidth+'px solid '+this.pl());this.ib('paddingLeft',this.paddingLeft+'px');this.ib('paddingRight',this.paddingRight+'px');this.ib('paddingTop',this.paddingTop+'px');this.ib('paddingBottom',this.paddingBottom+'px');Hg(this,a,b)}Cf(a){this.va().disabled=a}Bb(a){this.ib('fontWeight',a.toString());
1068
- Gg(this)}Fc(a){this.paddingLeft=a||0;this.Bf()}Kc(a){this.paddingRight=a||0;this.Bf()}td(a){this.paddingTop=a||0;this.Bf()}sd(a){this.paddingBottom=a||0;this.Bf()}vb(a){this.ib('fontFamily',a||'')}rb(a){this.ib('fontSize',a.toString()+'px')}Od(a){this.ib('fontStyle',a.toString())}lb(a){this.ib('color',a)}Kl(a,b,c,d){this.ib('color','rgba('+a+', '+b+', '+c+', '+d+')')}Og(a){this.va().placeholder=a}Zg(a){yg(wg(),this,'color:'+a)}Ub(a){switch(a){case olympe.ui.ha.Db.Tf:this.ib('text-align','left');break;
1068
+ Gg(this)}Fc(a){this.paddingLeft=a||0;this.Bf()}Kc(a){this.paddingRight=a||0;this.Bf()}td(a){this.paddingTop=a||0;this.Bf()}sd(a){this.paddingBottom=a||0;this.Bf()}wb(a){this.ib('fontFamily',a||'')}rb(a){this.ib('fontSize',a.toString()+'px')}Od(a){this.ib('fontStyle',a.toString())}lb(a){this.ib('color',a)}Kl(a,b,c,d){this.ib('color','rgba('+a+', '+b+', '+c+', '+d+')')}Og(a){this.va().placeholder=a}Zg(a){yg(wg(),this,'color:'+a)}Ub(a){switch(a){case olympe.ui.ha.Db.Tf:this.ib('text-align','left');break;
1069
1069
  case olympe.ui.ha.Db.Sb:this.ib('text-align','center');break;case olympe.ui.ha.Db.wi:this.ib('text-align','right');break;default:this.Cb().warn('Unexpected text horizontal align value '+a+' ignored')}}Xb(a){switch(a){case olympe.ui.ha.rc.gh:this.ib('vertical-align','top');break;case olympe.ui.ha.rc.Sc:this.ib('vertical-align','middle');break;case olympe.ui.ha.rc.zh:this.ib('vertical-align','bottom');break;default:this.Cb().warn('Unexpected text vertical align value '+a+' ignored')}}Sj(){return this.va().select()}getValue(){return this.va().value}Ff(a){''!==
1070
1070
  document.activeElement.id&&document.activeElement.id===this.va().id||this.va().value===a||(this.va().value=a,this.T&&window.setTimeout(this.Pa.bind(this),0),a=document.createEvent('HTMLEvents'),a.initEvent('input',!0,!0),a.C='input',this.va().dispatchEvent(a))}Uc(){this.O||(this.O=new olympe.G.H.ui.La.Nh(this.va()));return this.O}hq(){this.D||(this.D=new olympe.G.H.ui.La.fr(this.va()));return this.D}Gl(a){U(this,'valueChanged',this.Yl.bind(this));return this.hq().Gl(a)}Yl(){W(this,'valueChanged');
1071
1071
  return this.hq().Yl()}Ek(a){U(this,'keyPressed',this.qj.bind(this));return this.Uc().Ek(a)}qj(){W(this,'keyPressed');return this.Uc().qj()}Dk(a){U(this,'keyDown',this.pj.bind(this));return this.Uc().Dk(a)}pj(){W(this,'keyDown');return this.Uc().pj()}Fk(a){U(this,'keyUp',this.rj.bind(this));return this.Uc().Fk(a)}rj(){W(this,'keyUp');return this.Uc().rj()}Pa(){const a=this.va();a.style.height=this.da;const b=Number.parseInt(this.da,10);let c=a.scrollHeight-this.paddingTop-this.paddingBottom;c=c>b?
@@ -1073,32 +1073,32 @@ c:b;a.style.height=c+'px';this.za&&this.za(c);this.Bf()}jp(a,b){const c=this.va(
1073
1073
  !1),c.removeEventListener('drop',this.C,!1),c.removeEventListener('keydown',this.C,!1),this.$=!1)}destroy(){super.destroy();this.D=this.O=null}};olympe.G.H.ui.F.wc.prototype.destroy=olympe.G.H.ui.F.wc.prototype.destroy;olympe.G.H.ui.F.wc.prototype.unregisterKeyUp=olympe.G.H.ui.F.wc.prototype.rj;olympe.G.H.ui.F.wc.prototype.registerKeyUp=olympe.G.H.ui.F.wc.prototype.Fk;olympe.G.H.ui.F.wc.prototype.unregisterKeyDown=olympe.G.H.ui.F.wc.prototype.pj;olympe.G.H.ui.F.wc.prototype.registerKeyDown=olympe.G.H.ui.F.wc.prototype.Dk;
1074
1074
  olympe.G.H.ui.F.wc.prototype.unregisterKeyPressed=olympe.G.H.ui.F.wc.prototype.qj;olympe.G.H.ui.F.wc.prototype.registerKeyPressed=olympe.G.H.ui.F.wc.prototype.Ek;olympe.G.H.ui.F.wc.prototype.unregisterValueChanged=olympe.G.H.ui.F.wc.prototype.Yl;olympe.G.H.ui.F.wc.prototype.registerValueChanged=olympe.G.H.ui.F.wc.prototype.Gl;olympe.G.H.ui.F.wc.prototype.getFormEvent=olympe.G.H.ui.F.wc.prototype.hq;olympe.G.H.ui.F.wc.prototype.getKeyEvent=olympe.G.H.ui.F.wc.prototype.Uc;
1075
1075
  olympe.G.H.ui.F.wc.prototype.setValue=olympe.G.H.ui.F.wc.prototype.Ff;olympe.G.H.ui.F.wc.prototype.getValue=olympe.G.H.ui.F.wc.prototype.getValue;olympe.G.H.ui.F.wc.prototype.selectText=olympe.G.H.ui.F.wc.prototype.Sj;olympe.G.H.ui.F.wc.prototype.setTextVerticalAlign=olympe.G.H.ui.F.wc.prototype.Xb;olympe.G.H.ui.F.wc.prototype.setTextHorizontalAlign=olympe.G.H.ui.F.wc.prototype.Ub;olympe.G.H.ui.F.wc.prototype.setPlaceholderColor=olympe.G.H.ui.F.wc.prototype.Zg;
1076
- olympe.G.H.ui.F.wc.prototype.setPlaceholder=olympe.G.H.ui.F.wc.prototype.Og;olympe.G.H.ui.F.wc.prototype.setRGBATextColor=olympe.G.H.ui.F.wc.prototype.Kl;olympe.G.H.ui.F.wc.prototype.setTextColor=olympe.G.H.ui.F.wc.prototype.lb;olympe.G.H.ui.F.wc.prototype.setFontStyle=olympe.G.H.ui.F.wc.prototype.Od;olympe.G.H.ui.F.wc.prototype.setFontSize=olympe.G.H.ui.F.wc.prototype.rb;olympe.G.H.ui.F.wc.prototype.setFontFamily=olympe.G.H.ui.F.wc.prototype.vb;olympe.G.H.ui.F.wc.prototype.setPaddingBottom=olympe.G.H.ui.F.wc.prototype.sd;
1076
+ olympe.G.H.ui.F.wc.prototype.setPlaceholder=olympe.G.H.ui.F.wc.prototype.Og;olympe.G.H.ui.F.wc.prototype.setRGBATextColor=olympe.G.H.ui.F.wc.prototype.Kl;olympe.G.H.ui.F.wc.prototype.setTextColor=olympe.G.H.ui.F.wc.prototype.lb;olympe.G.H.ui.F.wc.prototype.setFontStyle=olympe.G.H.ui.F.wc.prototype.Od;olympe.G.H.ui.F.wc.prototype.setFontSize=olympe.G.H.ui.F.wc.prototype.rb;olympe.G.H.ui.F.wc.prototype.setFontFamily=olympe.G.H.ui.F.wc.prototype.wb;olympe.G.H.ui.F.wc.prototype.setPaddingBottom=olympe.G.H.ui.F.wc.prototype.sd;
1077
1077
  olympe.G.H.ui.F.wc.prototype.setPaddingTop=olympe.G.H.ui.F.wc.prototype.td;olympe.G.H.ui.F.wc.prototype.setPaddingRight=olympe.G.H.ui.F.wc.prototype.Kc;olympe.G.H.ui.F.wc.prototype.setPaddingLeft=olympe.G.H.ui.F.wc.prototype.Fc;olympe.G.H.ui.F.wc.prototype.setFontWeight=olympe.G.H.ui.F.wc.prototype.Bb;olympe.host.Xc.register(olympe.host.ab.jb.YK,olympe.G.H.ui.F.wc);olympe.G.H.ui.F.wc.Aa=[olympe.N.F.Pc];olympe.G.H.ui.F.Nb=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,document.createElement('input'));this.paddingBottom=this.paddingTop=this.paddingRight=this.paddingLeft=0;this.C=this.D=void 0;this.va().removeAttribute('tabindex');this.ib('resize','none');this.ib('outline','0px');this.Fc(this.paddingLeft);this.Kc(this.paddingRight);this.td(this.paddingTop);this.sd(this.paddingBottom);this.va().type='text';this.va().autocapitalize='off';this.ib('outline','0px');this.ib('-webkit-user-select',
1078
1078
  'text');this.ib('-moz-user-select','text');this.ib('-ms-user-select','text');this.ib('-user-select','text');this.va().setAttribute('autocomplete','off');this.va().addEventListener('mousedown',c=>{c.stopPropagation()});this.va().addEventListener('mouseup',c=>{c.stopPropagation()});this.va().addEventListener('click',c=>{c.stopPropagation()});this.va().addEventListener('keyup',c=>{c.stopPropagation()});this.va().addEventListener('keydown',c=>{c.stopPropagation()});this.va().addEventListener('keypress',
1079
1079
  c=>{c.stopPropagation()})}Bf(){let a=Math.min(this.Cd()/2,this.Ce()/2,this.zi()),b=this.paddingLeft,c=this.paddingTop,d=Math.min(this.paddingRight,this.Cd()-2*a-this.paddingLeft),e=Math.min(this.paddingBottom,this.Ce()-2*a-this.paddingTop),f=this.Cd()-Math.min(2*this.zi()+this.paddingLeft+this.paddingRight,this.Cd()),g=this.Ce()-Math.min(2*this.zi()+this.paddingTop+this.paddingBottom,this.Ce());b=b+.5|0;c=c+.5|0;d=d+.5|0;e=e+.5|0;f=f+.5|0;g=g+.5|0;this.ib('border',(a+.5|0)+'px solid '+this.pl());
1080
- this.ib('padding-left',b+'px');this.ib('padding-right',d+'px');this.ib('padding-top',c+'px');this.ib('padding-bottom',e+'px');Hg(this,f,g)}Cf(a){this.va().disabled=a}Bb(a){this.ib('fontWeight',a.toString())}Fc(a){this.paddingLeft=a||0;this.Bf()}Kc(a){this.paddingRight=a||0;this.Bf()}td(a){this.paddingTop=a||0;this.Bf()}sd(a){this.paddingBottom=a||0;this.Bf()}vb(a){this.ib('fontFamily',a||'')}rb(a){this.ib('fontSize',a.toString()+'px')}Od(a){this.ib('fontStyle',a.toString())}lb(a){this.ib('color',
1080
+ this.ib('padding-left',b+'px');this.ib('padding-right',d+'px');this.ib('padding-top',c+'px');this.ib('padding-bottom',e+'px');Hg(this,f,g)}Cf(a){this.va().disabled=a}Bb(a){this.ib('fontWeight',a.toString())}Fc(a){this.paddingLeft=a||0;this.Bf()}Kc(a){this.paddingRight=a||0;this.Bf()}td(a){this.paddingTop=a||0;this.Bf()}sd(a){this.paddingBottom=a||0;this.Bf()}wb(a){this.ib('fontFamily',a||'')}rb(a){this.ib('fontSize',a.toString()+'px')}Od(a){this.ib('fontStyle',a.toString())}lb(a){this.ib('color',
1081
1081
  a)}Kl(a,b,c,d){this.ib('color','rgba('+a+', '+b+', '+c+', '+d+')')}Ub(a){switch(a){case olympe.ui.ha.Db.Tf:this.ib('text-align','left');break;case olympe.ui.ha.Db.Sb:this.ib('text-align','center');break;case olympe.ui.ha.Db.wi:this.ib('text-align','right');break;default:this.Cb().warn('Unexpected text horizontal align value '+a+' ignored')}}Xb(a){switch(a){case olympe.ui.ha.rc.gh:this.ib('vertical-align','left');break;case olympe.ui.ha.rc.Sc:this.ib('vertical-align','center');break;case olympe.ui.ha.rc.zh:this.ib('vertical-align',
1082
1082
  'right');break;default:this.Cb().warn('Unexpected text vertical align value '+a+' ignored')}}Sj(){return this.va().select()}getValue(){return this.va().value}Ff(a){''!==document.activeElement.id&&document.activeElement.id===this.va().id||this.va().value===a||(this.va().value=a,a=document.createEvent('HTMLEvents'),a.initEvent('input',!0,!0),a.C='input',this.va().dispatchEvent(a))}Og(a){this.va().placeholder=a}Zg(a){yg(wg(),this,'color:'+a)}zn(a){switch(a){case olympe.ui.ha.Er.Lz:this.va().type='text';
1083
- break;case olympe.ui.ha.Er.bK:this.va().type='password';break;case olympe.ui.ha.Er.dT:this.va().type='number';break;case olympe.ui.ha.Er.zG:this.va().type='email';break;case olympe.ui.ha.Er.tT:this.va().type='phone';break;default:this.Cb().warn('Unexpected text field type '+a+' ignored')}}av(a){this.va().min=a}Yu(a){this.va().max=a}fv(a){this.va().step=a}Pu(a){switch(a){case olympe.ui.ha.Mz.NONE:this.va().autocapitalize='off';break;case olympe.ui.ha.Mz.eQ:this.va().autocapitalize='characters';break;
1084
- case olympe.ui.ha.Mz.XU:this.va().autocapitalize='words';break;case olympe.ui.ha.Mz.WT:this.va().autocapitalize='sentences';break;default:this.Cb().warn('Unexpected text field capitalization mode '+a+' ignored')}}bi(a){const b=()=>{this.removeAttribute('overflow');this.ib('text-overflow','clip')};switch(a){case olympe.ui.ha.oo.Av:b();break;case olympe.ui.ha.oo.yG:this.ib('text-overflow','ellipsis');this.ib('overflow','hidden');break;case olympe.ui.ha.oo.KG:this.Cb().warn('Fade is not supported yet');
1083
+ break;case olympe.ui.ha.Er.bK:this.va().type='password';break;case olympe.ui.ha.Er.dT:this.va().type='number';break;case olympe.ui.ha.Er.AG:this.va().type='email';break;case olympe.ui.ha.Er.tT:this.va().type='phone';break;default:this.Cb().warn('Unexpected text field type '+a+' ignored')}}av(a){this.va().min=a}Yu(a){this.va().max=a}fv(a){this.va().step=a}Pu(a){switch(a){case olympe.ui.ha.Mz.NONE:this.va().autocapitalize='off';break;case olympe.ui.ha.Mz.eQ:this.va().autocapitalize='characters';break;
1084
+ case olympe.ui.ha.Mz.XU:this.va().autocapitalize='words';break;case olympe.ui.ha.Mz.WT:this.va().autocapitalize='sentences';break;default:this.Cb().warn('Unexpected text field capitalization mode '+a+' ignored')}}bi(a){const b=()=>{this.removeAttribute('overflow');this.ib('text-overflow','clip')};switch(a){case olympe.ui.ha.oo.Av:b();break;case olympe.ui.ha.oo.zG:this.ib('text-overflow','ellipsis');this.ib('overflow','hidden');break;case olympe.ui.ha.oo.LG:this.Cb().warn('Fade is not supported yet');
1085
1085
  b();break;default:this.Cb().warn('Unexpected text overflow handling',a,'ignored'),b()}}ip(a){this.va().setAttribute('autocomplete',a.valueOf()?'on':'off')}Uc(){this.D||(this.D=new olympe.G.H.ui.La.Nh(this.va()));return this.D}hq(){this.C||(this.C=new olympe.G.H.ui.La.fr(this.va()));return this.C}Gl(a){U(this,'valueChanged',this.Yl.bind(this));return this.hq().Gl(a)}Yl(){W(this,'valueChanged');return this.hq().Yl()}Ek(a){U(this,'keyPressed',this.qj.bind(this));return this.Uc().Ek(a)}qj(){W(this,'keyPressed');
1086
1086
  return this.Uc().qj()}Dk(a){U(this,'keyDown',this.pj.bind(this));return this.Uc().Dk(a)}pj(){W(this,'keyDown');return this.Uc().pj()}Fk(a){U(this,'keyUp',this.rj.bind(this));return this.Uc().Fk(a)}rj(){W(this,'keyUp');return this.Uc().rj()}destroy(){super.destroy();this.C=this.D=null}};olympe.G.H.ui.F.Nb.prototype.destroy=olympe.G.H.ui.F.Nb.prototype.destroy;olympe.G.H.ui.F.Nb.prototype.unregisterKeyUp=olympe.G.H.ui.F.Nb.prototype.rj;olympe.G.H.ui.F.Nb.prototype.registerKeyUp=olympe.G.H.ui.F.Nb.prototype.Fk;
1087
1087
  olympe.G.H.ui.F.Nb.prototype.unregisterKeyDown=olympe.G.H.ui.F.Nb.prototype.pj;olympe.G.H.ui.F.Nb.prototype.registerKeyDown=olympe.G.H.ui.F.Nb.prototype.Dk;olympe.G.H.ui.F.Nb.prototype.unregisterKeyPressed=olympe.G.H.ui.F.Nb.prototype.qj;olympe.G.H.ui.F.Nb.prototype.registerKeyPressed=olympe.G.H.ui.F.Nb.prototype.Ek;olympe.G.H.ui.F.Nb.prototype.unregisterValueChanged=olympe.G.H.ui.F.Nb.prototype.Yl;olympe.G.H.ui.F.Nb.prototype.registerValueChanged=olympe.G.H.ui.F.Nb.prototype.Gl;
1088
1088
  olympe.G.H.ui.F.Nb.prototype.getFormEvent=olympe.G.H.ui.F.Nb.prototype.hq;olympe.G.H.ui.F.Nb.prototype.getKeyEvent=olympe.G.H.ui.F.Nb.prototype.Uc;olympe.G.H.ui.F.Nb.prototype.setAutoComplete=olympe.G.H.ui.F.Nb.prototype.ip;olympe.G.H.ui.F.Nb.prototype.setTextOverflow=olympe.G.H.ui.F.Nb.prototype.bi;olympe.G.H.ui.F.Nb.prototype.setAutoCapitalization=olympe.G.H.ui.F.Nb.prototype.Pu;olympe.G.H.ui.F.Nb.prototype.setStep=olympe.G.H.ui.F.Nb.prototype.fv;olympe.G.H.ui.F.Nb.prototype.setMax=olympe.G.H.ui.F.Nb.prototype.Yu;
1089
1089
  olympe.G.H.ui.F.Nb.prototype.setMin=olympe.G.H.ui.F.Nb.prototype.av;olympe.G.H.ui.F.Nb.prototype.setType=olympe.G.H.ui.F.Nb.prototype.zn;olympe.G.H.ui.F.Nb.prototype.setPlaceholderColor=olympe.G.H.ui.F.Nb.prototype.Zg;olympe.G.H.ui.F.Nb.prototype.setPlaceholder=olympe.G.H.ui.F.Nb.prototype.Og;olympe.G.H.ui.F.Nb.prototype.setValue=olympe.G.H.ui.F.Nb.prototype.Ff;olympe.G.H.ui.F.Nb.prototype.getValue=olympe.G.H.ui.F.Nb.prototype.getValue;olympe.G.H.ui.F.Nb.prototype.selectText=olympe.G.H.ui.F.Nb.prototype.Sj;
1090
1090
  olympe.G.H.ui.F.Nb.prototype.setTextVerticalAlign=olympe.G.H.ui.F.Nb.prototype.Xb;olympe.G.H.ui.F.Nb.prototype.setTextHorizontalAlign=olympe.G.H.ui.F.Nb.prototype.Ub;olympe.G.H.ui.F.Nb.prototype.setRGBATextColor=olympe.G.H.ui.F.Nb.prototype.Kl;olympe.G.H.ui.F.Nb.prototype.setTextColor=olympe.G.H.ui.F.Nb.prototype.lb;olympe.G.H.ui.F.Nb.prototype.setFontStyle=olympe.G.H.ui.F.Nb.prototype.Od;olympe.G.H.ui.F.Nb.prototype.setFontSize=olympe.G.H.ui.F.Nb.prototype.rb;
1091
- olympe.G.H.ui.F.Nb.prototype.setFontFamily=olympe.G.H.ui.F.Nb.prototype.vb;olympe.G.H.ui.F.Nb.prototype.setPaddingBottom=olympe.G.H.ui.F.Nb.prototype.sd;olympe.G.H.ui.F.Nb.prototype.setPaddingTop=olympe.G.H.ui.F.Nb.prototype.td;olympe.G.H.ui.F.Nb.prototype.setPaddingRight=olympe.G.H.ui.F.Nb.prototype.Kc;olympe.G.H.ui.F.Nb.prototype.setPaddingLeft=olympe.G.H.ui.F.Nb.prototype.Fc;olympe.G.H.ui.F.Nb.prototype.setFontWeight=olympe.G.H.ui.F.Nb.prototype.Bb;olympe.G.H.ui.F.Nb.prototype.setDisabled=olympe.G.H.ui.F.Nb.prototype.Cf;
1091
+ olympe.G.H.ui.F.Nb.prototype.setFontFamily=olympe.G.H.ui.F.Nb.prototype.wb;olympe.G.H.ui.F.Nb.prototype.setPaddingBottom=olympe.G.H.ui.F.Nb.prototype.sd;olympe.G.H.ui.F.Nb.prototype.setPaddingTop=olympe.G.H.ui.F.Nb.prototype.td;olympe.G.H.ui.F.Nb.prototype.setPaddingRight=olympe.G.H.ui.F.Nb.prototype.Kc;olympe.G.H.ui.F.Nb.prototype.setPaddingLeft=olympe.G.H.ui.F.Nb.prototype.Fc;olympe.G.H.ui.F.Nb.prototype.setFontWeight=olympe.G.H.ui.F.Nb.prototype.Bb;olympe.G.H.ui.F.Nb.prototype.setDisabled=olympe.G.H.ui.F.Nb.prototype.Cf;
1092
1092
  olympe.host.Xc.register(olympe.host.ab.jb.ZK,olympe.G.H.ui.F.Nb);olympe.G.H.ui.F.Nb.Aa=[olympe.N.F.Mb];function Qg(a){const b=a.sb?'scroll':'auto';3===a.T?(a.C.style.overflow=b,delete a.C.style['overflow-x'],delete a.C.style['overflow-y']):0!==(a.T&2)?(a.C.style['overflow-x']=b,a.C.style['overflow-y']='hidden',delete a.C.style.overflow,a.scrollTop=0):0!==(a.T&1)?(a.C.style['overflow-y']=b,a.C.style['overflow-x']='hidden',delete a.C.style.overflow,a.scrollLeft=0):(a.C.style.overflow='hidden',delete a.C.style['overflow-x'],delete a.C.style['overflow-y'],a.scrollLeft=0,a.scrollTop=0)}
1093
1093
  olympe.G.H.ui.F.vd=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,document.createElement('div'));this.D=null;this.sb=!1;this.Pb='transparent';this.C=document.createElement('div');this.O=document.createElement('div');this.da=!1;this.za=this.Pa=this.$=null;this.ob=!1;this.T=3;this.scrollLeft=this.scrollTop=0;a=this.va();this.O.style.overflow='hidden';Qg(this);this.C.className='scroller';this.C.style.position='absolute';this.Es(this.sb);this.C.appendChild(this.O);a.appendChild(this.C)}Ds(a){this.T=
1094
1094
  this.T&1|(void 0===a?1:a)<<1;Qg(this)}ev(a){this.T=this.T&2|(void 0===a?1:a);Qg(this)}Es(a=!1){this.sb=a;this.C.classList.toggle('hidescrollbar',!a);Qg(this)}Vx(a){this.Pb=a;this.C.style.setProperty('--scrollbar-color',this.Pb)}Cg(a){super.Cg(a);this.C.style.width=a+'px'}Ag(a){super.Ag(a);this.C.style.height=a+'px'}fB(a){this.C.scrollLeft=a}gB(a){this.C.scrollTop=a}UA(a){null===this.$&&(this.$=b=>{b.stopPropagation();b.preventDefault();a(this.C.scrollLeft,this.C.scrollTop)},this.C.addEventListener('scroll',
1095
1095
  this.$,!1),U(this,'scroll',this.nB.bind(this)),a(this.C.scrollLeft,this.C.scrollTop))}nB(){null!==this.$&&(this.C.removeEventListener('scroll',this.$,!1),W(this,'scroll'));this.$=null}ad(a){super.ad(a);null!==this.D&&Gg(this.D)}xb(){return this.C.offsetHeight-this.C.clientHeight}Eb(){return this.C.offsetWidth-this.C.clientWidth}Nd(a){a instanceof olympe.G.H.ui.F.fc||this.Cb().warn('Trying to attach a wrongly typed object to absPosLayer (only HTMLUIElement objects can be used with DOM UI implementation');
1096
- null!==this.D&&this.du();this.D=a;this.O.appendChild(a.va());a.setAttribute('name_As_A_Child','scrollContent');a.Ef(this,'scrollContent');Gg(a);this.O.style.width=a.Cd()+'px';this.O.style.height=a.Ce()+'px';Ig(a,(b,c)=>{const d=this.xb();this.O.style.width=b-this.Eb()+'px';this.O.style.height=c-d+'px'});this.cu?this.D.ij():this.da=!0}du(){if(null!==this.D){var a=this.D;a.parent=null;a.yu=null;try{this.O.removeChild(this.D.va()),this.D.Ll(),this.da=!1}catch(b){this.Cb().debug('Not able to remove a child, has probably already been removed')}finally{this.D.sE.delete('htmlScroller'),
1097
- this.D=null}}}Pr(){this.D=null}ij(){super.ij();this.da&&(this.D.ij(),this.da=!1)}Ll(){super.Ll();this.D&&this.D.Ll()}rd(a){super.rd(a);this.D&&this.D.Bj()}Bj(){this.D&&this.D.Bj()}qE(a){null===this.Pa&&(this.Pa=b=>{this.ob||(this.ob=!0,a(b.ctrlKey,b.shiftKey,b.altKey,b.metaKey))},this.C.addEventListener('scroll',this.Pa),U(this,'scrollStart',this.oB.bind(this)))}oB(){this.C.removeEventListener('scroll',this.Pa);W(this,'scrollStart')}pE(a){let b;null===this.za&&(this.za=c=>{clearTimeout(b);b=setTimeout(()=>
1098
- {this.ob=!1;a(c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)},100)},this.C.addEventListener('scroll',this.za),U(this,'scrollEnd',this.mB.bind(this)))}mB(){this.C.removeEventListener('scroll',this.za);W(this,'scrollEnd')}};olympe.G.H.ui.F.vd.prototype.unregisterScrollEnd=olympe.G.H.ui.F.vd.prototype.mB;olympe.G.H.ui.F.vd.prototype.registerScrollEnd=olympe.G.H.ui.F.vd.prototype.pE;olympe.G.H.ui.F.vd.prototype.unregisterScrollStart=olympe.G.H.ui.F.vd.prototype.oB;
1099
- olympe.G.H.ui.F.vd.prototype.registerScrollStart=olympe.G.H.ui.F.vd.prototype.qE;olympe.G.H.ui.F.vd.prototype.ancestorBecameVisible=olympe.G.H.ui.F.vd.prototype.Bj;olympe.G.H.ui.F.vd.prototype.setHidden=olympe.G.H.ui.F.vd.prototype.rd;olympe.G.H.ui.F.vd.prototype.setRemoved=olympe.G.H.ui.F.vd.prototype.Ll;olympe.G.H.ui.F.vd.prototype.setAppended=olympe.G.H.ui.F.vd.prototype.ij;olympe.G.H.ui.F.vd.prototype.childDestroyed=olympe.G.H.ui.F.vd.prototype.Pr;olympe.G.H.ui.F.vd.prototype.clearContent=olympe.G.H.ui.F.vd.prototype.du;
1096
+ null!==this.D&&this.du();this.D=a;this.O.appendChild(a.va());a.setAttribute('name_As_A_Child','scrollContent');a.Ef(this,'scrollContent');Gg(a);this.O.style.width=a.Cd()+'px';this.O.style.height=a.Ce()+'px';Ig(a,(b,c)=>{const d=this.xb();this.O.style.width=b-this.Eb()+'px';this.O.style.height=c-d+'px'});this.cu?this.D.ij():this.da=!0}du(){if(null!==this.D){var a=this.D;a.parent=null;a.yu=null;try{this.O.removeChild(this.D.va()),this.D.Ll(),this.da=!1}catch(b){this.Cb().debug('Not able to remove a child, has probably already been removed')}finally{this.D.tE.delete('htmlScroller'),
1097
+ this.D=null}}}Pr(){this.D=null}ij(){super.ij();this.da&&(this.D.ij(),this.da=!1)}Ll(){super.Ll();this.D&&this.D.Ll()}rd(a){super.rd(a);this.D&&this.D.Bj()}Bj(){this.D&&this.D.Bj()}rE(a){null===this.Pa&&(this.Pa=b=>{this.ob||(this.ob=!0,a(b.ctrlKey,b.shiftKey,b.altKey,b.metaKey))},this.C.addEventListener('scroll',this.Pa),U(this,'scrollStart',this.oB.bind(this)))}oB(){this.C.removeEventListener('scroll',this.Pa);W(this,'scrollStart')}qE(a){let b;null===this.za&&(this.za=c=>{clearTimeout(b);b=setTimeout(()=>
1098
+ {this.ob=!1;a(c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)},100)},this.C.addEventListener('scroll',this.za),U(this,'scrollEnd',this.mB.bind(this)))}mB(){this.C.removeEventListener('scroll',this.za);W(this,'scrollEnd')}};olympe.G.H.ui.F.vd.prototype.unregisterScrollEnd=olympe.G.H.ui.F.vd.prototype.mB;olympe.G.H.ui.F.vd.prototype.registerScrollEnd=olympe.G.H.ui.F.vd.prototype.qE;olympe.G.H.ui.F.vd.prototype.unregisterScrollStart=olympe.G.H.ui.F.vd.prototype.oB;
1099
+ olympe.G.H.ui.F.vd.prototype.registerScrollStart=olympe.G.H.ui.F.vd.prototype.rE;olympe.G.H.ui.F.vd.prototype.ancestorBecameVisible=olympe.G.H.ui.F.vd.prototype.Bj;olympe.G.H.ui.F.vd.prototype.setHidden=olympe.G.H.ui.F.vd.prototype.rd;olympe.G.H.ui.F.vd.prototype.setRemoved=olympe.G.H.ui.F.vd.prototype.Ll;olympe.G.H.ui.F.vd.prototype.setAppended=olympe.G.H.ui.F.vd.prototype.ij;olympe.G.H.ui.F.vd.prototype.childDestroyed=olympe.G.H.ui.F.vd.prototype.Pr;olympe.G.H.ui.F.vd.prototype.clearContent=olympe.G.H.ui.F.vd.prototype.du;
1100
1100
  olympe.G.H.ui.F.vd.prototype.setContent=olympe.G.H.ui.F.vd.prototype.Nd;olympe.G.H.ui.F.vd.prototype.unregisterScrollOffset=olympe.G.H.ui.F.vd.prototype.nB;olympe.G.H.ui.F.vd.prototype.registerScrollOffset=olympe.G.H.ui.F.vd.prototype.UA;olympe.G.H.ui.F.vd.prototype.setScrollOffsetY=olympe.G.H.ui.F.vd.prototype.gB;olympe.G.H.ui.F.vd.prototype.setScrollOffsetX=olympe.G.H.ui.F.vd.prototype.fB;olympe.G.H.ui.F.vd.prototype.setHeight=olympe.G.H.ui.F.vd.prototype.Ag;
1101
- olympe.G.H.ui.F.vd.prototype.setWidth=olympe.G.H.ui.F.vd.prototype.Cg;olympe.G.H.ui.F.vd.prototype.setScrollbarColor=olympe.G.H.ui.F.vd.prototype.Vx;olympe.G.H.ui.F.vd.prototype.setScrollbarVisible=olympe.G.H.ui.F.vd.prototype.Es;olympe.G.H.ui.F.vd.prototype.setScrollY=olympe.G.H.ui.F.vd.prototype.ev;olympe.G.H.ui.F.vd.prototype.setScrollX=olympe.G.H.ui.F.vd.prototype.Ds;olympe.host.Xc.register(olympe.host.ab.jb.XK,olympe.G.H.ui.F.vd);olympe.G.H.ui.F.vd.Aa=[olympe.N.F.wd,olympe.G.H.ui.F.hC];olympe.G.H.ui.F.Hd=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,document.createElement('video'));this.za=!1;this.C=this.D=this.T=this.O=this.$=this.da=null;this.va().addEventListener('loadedmetadata',()=>{if(this.da){const c=this.va();(0,this.da)(c.videoWidth,c.videoHeight)}this.D&&this.D(this.va().duration)});this.va().addEventListener('playing',()=>{this.za=!0;this.O&&this.O()});this.va().addEventListener('volumechange',()=>{this.$&&this.$(this.va().volume,this.va().muted)});this.va().addEventListener('timeupdate',
1101
+ olympe.G.H.ui.F.vd.prototype.setWidth=olympe.G.H.ui.F.vd.prototype.Cg;olympe.G.H.ui.F.vd.prototype.setScrollbarColor=olympe.G.H.ui.F.vd.prototype.Vx;olympe.G.H.ui.F.vd.prototype.setScrollbarVisible=olympe.G.H.ui.F.vd.prototype.Es;olympe.G.H.ui.F.vd.prototype.setScrollY=olympe.G.H.ui.F.vd.prototype.ev;olympe.G.H.ui.F.vd.prototype.setScrollX=olympe.G.H.ui.F.vd.prototype.Ds;olympe.host.Xc.register(olympe.host.ab.jb.XK,olympe.G.H.ui.F.vd);olympe.G.H.ui.F.vd.Aa=[olympe.N.F.wd,olympe.G.H.ui.F.iC];olympe.G.H.ui.F.Hd=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,document.createElement('video'));this.za=!1;this.C=this.D=this.T=this.O=this.$=this.da=null;this.va().addEventListener('loadedmetadata',()=>{if(this.da){const c=this.va();(0,this.da)(c.videoWidth,c.videoHeight)}this.D&&this.D(this.va().duration)});this.va().addEventListener('playing',()=>{this.za=!0;this.O&&this.O()});this.va().addEventListener('volumechange',()=>{this.$&&this.$(this.va().volume,this.va().muted)});this.va().addEventListener('timeupdate',
1102
1102
  ()=>{this.T&&this.T(this.va().currentTime)});this.va().addEventListener('durationchange',()=>{this.D&&this.D(this.va().duration)});this.setAttribute('muted','true');this.setAttribute('autoplay','true');this.setAttribute('controls','false');this.setAttribute('playsinline','true')}destroy(){null!==this.C&&(this.C.ca(this),this.C=null);this.$=this.da=this.O=this.T=this.D=null;const a=this.va();'srcObject'in a&&(a.srcObject=null);super.destroy()}ne(a){this.setAttribute('src',a)}Xj(a){this.va().muted=
1103
1103
  a}jj(a){this.va().autoplay=a}$j(a){a!==this.C&&(null!==this.C&&(this.C.ca(this),this.C=null),a&&(this.C=a,this.C.$(this)))}hx(a){if(this.za){const b=this.va();a(b.videoWidth,b.videoHeight)}else this.da=a}nj(a){this.va().loop=a}play(){this.va().play()}reload(){this.va().load()}oj(a){this.va().controls=a}pause(){this.va().pause()}Ik(a){this.va().volume=a}Gk(a){this.va().currentTime=a}Vo(a){this.O=a}Uo(a){return this.va().addEventListener('pause',a)}Yo(a){this.$=a}Po(a){this.va().addEventListener('ended',
1104
1104
  a)}Wo(a){this.T=a}Oo(a){this.D=a}};olympe.G.H.ui.F.Hd.prototype.onDurationChange=olympe.G.H.ui.F.Hd.prototype.Oo;olympe.G.H.ui.F.Hd.prototype.onTimeUpdate=olympe.G.H.ui.F.Hd.prototype.Wo;olympe.G.H.ui.F.Hd.prototype.onEnded=olympe.G.H.ui.F.Hd.prototype.Po;olympe.G.H.ui.F.Hd.prototype.onVolumeChange=olympe.G.H.ui.F.Hd.prototype.Yo;olympe.G.H.ui.F.Hd.prototype.onPause=olympe.G.H.ui.F.Hd.prototype.Uo;olympe.G.H.ui.F.Hd.prototype.onPlay=olympe.G.H.ui.F.Hd.prototype.Vo;
@@ -1116,7 +1116,7 @@ olympe.G.H.ui.F.vc=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,d
1116
1116
  a,b,c,d,e]);this.C.arcTo(a,b,c,d,e)}beginPath(){this.D.push(['beginPath']);this.C.beginPath()}bezierCurveTo(a,b,c,d,e,f){this.D.push(['bezierCurveTo',a,b,c,d,e,f]);this.C.bezierCurveTo(a,b,c,d,e,f)}clearRect(a,b,c,d){for(;0<this.D.length;)this.D.pop();this.C.clearRect(a,b,c,d)}clip(){this.D.push(['clip']);this.C.clip()}closePath(){this.D.push(['closePath']);this.C.closePath()}fill(){this.D.push(['fill']);this.C.fill()}fillRect(a,b,c,d){this.D.push(['fillRect',a,b,c,d]);this.C.fillRect(a,b,c,d)}fillText(a,
1117
1117
  b,c,d){this.D.push(['fillText',a,b,c,d]);this.C.fillText(a,b,c,d)}lineTo(a,b){this.D.push(['lineTo',a,b]);this.C.lineTo(a,b)}cj(a,b){this.D.push(['lineToRelative',a,b]);this.C.lineTo(a*this.Cd(),b*this.Ce())}moveTo(a,b){this.D.push(['moveTo',a,b]);this.C.moveTo(a,b)}quadraticCurveTo(a,b,c,d){this.D.push(['quadraticCurveTo',a,b,c,d]);this.C.quadraticCurveTo(a,b,c,d)}rect(a,b,c,d){this.D.push(['rect',a,b,c,d]);this.C.rect(a,b,c,d)}stroke(){this.D.push(['stroke']);this.C.stroke()}strokeRect(a,b,c,d){this.D.push(['strokeRect',
1118
1118
  a,b,c,d]);this.C.strokeRect(a,b,c,d)}strokeText(a,b,c,d){this.D.push(['strokeText',a,b,c,d]);this.C.strokeText(a,b,c,d)}createLinearGradient(a,b,c,d){this.O=this.C.createLinearGradient(a,b,c,d)}addColorStop(a,b){this.O&&this.O.addColorStop(a,b)}Nw(){this.O&&(this.C.fillStyle=this.O);this.O=void 0}lj(a){this.D.push(['setFillStyle',a]);this.C.fillStyle=a}Fs(a){this.D.push(['setStrokeStyle',a]);this.C.strokeStyle=a}Mq(a){this.D.push(['setGlobalCompositeOperation',a]);this.C.globalCompositeOperation=
1119
- a}Uj(a){this.D.push(['setFont',a]);this.C.font=a}mh(a){let b;switch(a){case olympe.ui.ha.Tv.LF:b='butt';break;case olympe.ui.ha.Tv.Et:b='round';break;case olympe.ui.ha.Tv.dD:b='square';break;default:this.Cb().warn('Unexpected lime cap value '+a+' ignored')}b&&(this.D.push(['setLineCap',b]),this.C.lineCap=b)}Wj(a){let b;switch(a){case olympe.ui.ha.FC.AF:b='bevel';break;case olympe.ui.ha.FC.Et:b='round';break;case olympe.ui.ha.FC.FJ:b='miter';break;default:this.Cb().warn('Unexpected line join value '+
1119
+ a}Uj(a){this.D.push(['setFont',a]);this.C.font=a}mh(a){let b;switch(a){case olympe.ui.ha.Tv.MF:b='butt';break;case olympe.ui.ha.Tv.Et:b='round';break;case olympe.ui.ha.Tv.eD:b='square';break;default:this.Cb().warn('Unexpected lime cap value '+a+' ignored')}b&&(this.D.push(['setLineCap',b]),this.C.lineCap=b)}Wj(a){let b;switch(a){case olympe.ui.ha.GC.BF:b='bevel';break;case olympe.ui.ha.GC.Et:b='round';break;case olympe.ui.ha.GC.FJ:b='miter';break;default:this.Cb().warn('Unexpected line join value '+
1120
1120
  a+' ignored')}b&&(this.D.push(['setLineJoin',b]),this.C.lineJoin=b)}Lh(a){this.D.push(['setLineWidth',a]);this.C.lineWidth=a}Kh(a){const b=this.va().toDataURL('image/png',1);a(b)}Nd(a){a=a.C;this.C.drawImage(a,0,0,a.width,a.height)}};olympe.G.H.ui.F.vc.prototype.setContent=olympe.G.H.ui.F.vc.prototype.Nd;olympe.G.H.ui.F.vc.prototype.saveAsPicture=olympe.G.H.ui.F.vc.prototype.Kh;olympe.G.H.ui.F.vc.prototype.setLineWidth=olympe.G.H.ui.F.vc.prototype.Lh;olympe.G.H.ui.F.vc.prototype.setLineJoin=olympe.G.H.ui.F.vc.prototype.Wj;
1121
1121
  olympe.G.H.ui.F.vc.prototype.setLineCap=olympe.G.H.ui.F.vc.prototype.mh;olympe.G.H.ui.F.vc.prototype.setFont=olympe.G.H.ui.F.vc.prototype.Uj;olympe.G.H.ui.F.vc.prototype.setStrokeStyle=olympe.G.H.ui.F.vc.prototype.Fs;olympe.G.H.ui.F.vc.prototype.setFillStyle=olympe.G.H.ui.F.vc.prototype.lj;olympe.G.H.ui.F.vc.prototype.strokeText=olympe.G.H.ui.F.vc.prototype.strokeText;olympe.G.H.ui.F.vc.prototype.strokeRect=olympe.G.H.ui.F.vc.prototype.strokeRect;olympe.G.H.ui.F.vc.prototype.stroke=olympe.G.H.ui.F.vc.prototype.stroke;
1122
1122
  olympe.G.H.ui.F.vc.prototype.rect=olympe.G.H.ui.F.vc.prototype.rect;olympe.G.H.ui.F.vc.prototype.quadraticCurveTo=olympe.G.H.ui.F.vc.prototype.quadraticCurveTo;olympe.G.H.ui.F.vc.prototype.moveTo=olympe.G.H.ui.F.vc.prototype.moveTo;olympe.G.H.ui.F.vc.prototype.lineToRelative=olympe.G.H.ui.F.vc.prototype.cj;olympe.G.H.ui.F.vc.prototype.lineTo=olympe.G.H.ui.F.vc.prototype.lineTo;olympe.G.H.ui.F.vc.prototype.fillText=olympe.G.H.ui.F.vc.prototype.fillText;olympe.G.H.ui.F.vc.prototype.fillRect=olympe.G.H.ui.F.vc.prototype.fillRect;
@@ -1132,25 +1132,25 @@ a}Kh(a){const b=this.va().toDataURL('image/png',1);a(b)}Nd(a){a=a.C;this.D.drawI
1132
1132
  olympe.G.H.ui.ua.Hc.prototype.setFont=olympe.G.H.ui.ua.Hc.prototype.Uj;olympe.G.H.ui.ua.Hc.prototype.setFillStyle=olympe.G.H.ui.ua.Hc.prototype.lj;olympe.G.H.ui.ua.Hc.prototype.strokeText=olympe.G.H.ui.ua.Hc.prototype.strokeText;olympe.G.H.ui.ua.Hc.prototype.strokeRect=olympe.G.H.ui.ua.Hc.prototype.strokeRect;olympe.G.H.ui.ua.Hc.prototype.stroke=olympe.G.H.ui.ua.Hc.prototype.stroke;olympe.G.H.ui.ua.Hc.prototype.rect=olympe.G.H.ui.ua.Hc.prototype.rect;
1133
1133
  olympe.G.H.ui.ua.Hc.prototype.quadraticCurveTo=olympe.G.H.ui.ua.Hc.prototype.quadraticCurveTo;olympe.G.H.ui.ua.Hc.prototype.moveTo=olympe.G.H.ui.ua.Hc.prototype.moveTo;olympe.G.H.ui.ua.Hc.prototype.lineToRelative=olympe.G.H.ui.ua.Hc.prototype.cj;olympe.G.H.ui.ua.Hc.prototype.lineTo=olympe.G.H.ui.ua.Hc.prototype.lineTo;olympe.G.H.ui.ua.Hc.prototype.fillText=olympe.G.H.ui.ua.Hc.prototype.fillText;olympe.G.H.ui.ua.Hc.prototype.fillRect=olympe.G.H.ui.ua.Hc.prototype.fillRect;
1134
1134
  olympe.G.H.ui.ua.Hc.prototype.fill=olympe.G.H.ui.ua.Hc.prototype.fill;olympe.G.H.ui.ua.Hc.prototype.closePath=olympe.G.H.ui.ua.Hc.prototype.closePath;olympe.G.H.ui.ua.Hc.prototype.clip=olympe.G.H.ui.ua.Hc.prototype.clip;olympe.G.H.ui.ua.Hc.prototype.clearRect=olympe.G.H.ui.ua.Hc.prototype.clearRect;olympe.G.H.ui.ua.Hc.prototype.bezierCurveTo=olympe.G.H.ui.ua.Hc.prototype.bezierCurveTo;olympe.G.H.ui.ua.Hc.prototype.beginPath=olympe.G.H.ui.ua.Hc.prototype.beginPath;
1135
- olympe.G.H.ui.ua.Hc.prototype.arcTo=olympe.G.H.ui.ua.Hc.prototype.arcTo;olympe.G.H.ui.ua.Hc.prototype.arc=olympe.G.H.ui.ua.Hc.prototype.arc;olympe.G.H.ui.ua.Hc.prototype.setHeight=olympe.G.H.ui.ua.Hc.prototype.Ag;olympe.G.H.ui.ua.Hc.prototype.setWidth=olympe.G.H.ui.ua.Hc.prototype.Cg;olympe.host.Xc.register(olympe.host.ab.jb.BF,olympe.G.H.ui.ua.Hc);olympe.G.H.ui.ua.Hc.Aa=[olympe.N.ua.uc];olympe.G.H.ui.ua.Image=class extends olympe.G.H.ui.F.fc{constructor(a,b){const c=document.createElement('canvas');super(a,b,c);this.C=c;this.D=new Map}eF(){return this.C.toDataURL('image/png',1)}Kh(a){a(this.eF())}Lw(a){const b=a.Cd(),c=a.Ce();this.C.width=b;this.C.height=c;const d=this.C.getContext('2d');d.clearRect(0,0,b,c);const e=new Image;e.width=b;e.height=c;e.src='data:image/svg+xml;base64,'+btoa(a.$w());e.onload=()=>{d.drawImage(e,0,0,b,c,0,0,b,c);for(const f of this.D.values())f(this.C)}}Kw(a,
1136
- b){const c=this.C.getContext('2d'),d=new Image;d.crossOrigin='Anonymous';d.onload=()=>{this.C.width=d.width;this.C.height=d.height;c.clearRect(0,0,d.width,d.height);c.drawImage(d,0,0,d.width,d.height,0,0,d.width,d.height);b(!0,d.width,d.height)};d.onerror=()=>{b(!1,0,0)};d.src=a}};olympe.G.H.ui.ua.Image.prototype.drawUrl=olympe.G.H.ui.ua.Image.prototype.Kw;olympe.G.H.ui.ua.Image.prototype.drawVectorial=olympe.G.H.ui.ua.Image.prototype.Lw;olympe.G.H.ui.ua.Image.prototype.toDataUrl=olympe.G.H.ui.ua.Image.prototype.eF;
1137
- olympe.host.Xc.register(olympe.host.ab.jb.CF,olympe.G.H.ui.ua.Image);olympe.G.H.ui.ua.Image.Aa=[olympe.N.ua.Image];olympe.G.H.ui.ua.filters={};olympe.G.H.ui.ua.filters.nt=class extends olympe.G.H.ui.F.fc{constructor(a,b){const c=document.createElement('canvas');super(a,b,c);this.O=1;this.C=null;this.T=c;window.D=this.D.bind(this)}hB(a){this.O=a;this.D()}eB(a){const b=this.uid;null!==this.C&&this.C.D.delete(b);this.C=a;this.C.D.set(b,this.D.bind(this))}D(){if(null!==this.C){var a=this.C.C,b=a.width,c=a.height;a=a.getContext('2d').getImageData(0,0,b,c).data;var d=this.T;d.width=b;d.height=c;var e=d.getContext('2d').getImageData(0,0,b,c),f=
1135
+ olympe.G.H.ui.ua.Hc.prototype.arcTo=olympe.G.H.ui.ua.Hc.prototype.arcTo;olympe.G.H.ui.ua.Hc.prototype.arc=olympe.G.H.ui.ua.Hc.prototype.arc;olympe.G.H.ui.ua.Hc.prototype.setHeight=olympe.G.H.ui.ua.Hc.prototype.Ag;olympe.G.H.ui.ua.Hc.prototype.setWidth=olympe.G.H.ui.ua.Hc.prototype.Cg;olympe.host.Xc.register(olympe.host.ab.jb.CF,olympe.G.H.ui.ua.Hc);olympe.G.H.ui.ua.Hc.Aa=[olympe.N.ua.uc];olympe.G.H.ui.ua.Image=class extends olympe.G.H.ui.F.fc{constructor(a,b){const c=document.createElement('canvas');super(a,b,c);this.C=c;this.D=new Map}fF(){return this.C.toDataURL('image/png',1)}Kh(a){a(this.fF())}Lw(a){const b=a.Cd(),c=a.Ce();this.C.width=b;this.C.height=c;const d=this.C.getContext('2d');d.clearRect(0,0,b,c);const e=new Image;e.width=b;e.height=c;e.src='data:image/svg+xml;base64,'+btoa(a.$w());e.onload=()=>{d.drawImage(e,0,0,b,c,0,0,b,c);for(const f of this.D.values())f(this.C)}}Kw(a,
1136
+ b){const c=this.C.getContext('2d'),d=new Image;d.crossOrigin='Anonymous';d.onload=()=>{this.C.width=d.width;this.C.height=d.height;c.clearRect(0,0,d.width,d.height);c.drawImage(d,0,0,d.width,d.height,0,0,d.width,d.height);b(!0,d.width,d.height)};d.onerror=()=>{b(!1,0,0)};d.src=a}};olympe.G.H.ui.ua.Image.prototype.drawUrl=olympe.G.H.ui.ua.Image.prototype.Kw;olympe.G.H.ui.ua.Image.prototype.drawVectorial=olympe.G.H.ui.ua.Image.prototype.Lw;olympe.G.H.ui.ua.Image.prototype.toDataUrl=olympe.G.H.ui.ua.Image.prototype.fF;
1137
+ olympe.host.Xc.register(olympe.host.ab.jb.DF,olympe.G.H.ui.ua.Image);olympe.G.H.ui.ua.Image.Aa=[olympe.N.ua.Image];olympe.G.H.ui.ua.filters={};olympe.G.H.ui.ua.filters.nt=class extends olympe.G.H.ui.F.fc{constructor(a,b){const c=document.createElement('canvas');super(a,b,c);this.O=1;this.C=null;this.T=c;window.D=this.D.bind(this)}hB(a){this.O=a;this.D()}eB(a){const b=this.uid;null!==this.C&&this.C.D.delete(b);this.C=a;this.C.D.set(b,this.D.bind(this))}D(){if(null!==this.C){var a=this.C.C,b=a.width,c=a.height;a=a.getContext('2d').getImageData(0,0,b,c).data;var d=this.T;d.width=b;d.height=c;var e=d.getContext('2d').getImageData(0,0,b,c),f=
1138
1138
  e.data,g=this.O+.5|0,k=b/g+1|0,l=c/g+1|0,m,n,p,r,t,u,v;for(n=0;n<l;n++){var w=n*g;var x=Math.min(g,c-w);for(m=0;m<k;m++){var y=m*g;var A=Math.min(g,b-y);var H=x*A;for(r=v=u=t=0;r<x;r++){var G=(w+r)*b;for(p=0;p<A;p++){var R=4*(y+p+G);t+=a[R];u+=a[R+1];v+=a[R+2]}}t/=H;u/=H;v/=H;for(r=0;r<x;r++)for(G=(w+r)*b,p=0;p<A;p++)R=4*(y+p+G),f[R]=t,f[R+1]=u,f[R+2]=v,f[R+3]=255}}d.getContext('2d').putImageData(e,0,0)}}};olympe.G.H.ui.ua.filters.nt.prototype.setImage=olympe.G.H.ui.ua.filters.nt.prototype.eB;
1139
- olympe.G.H.ui.ua.filters.nt.prototype.setSquareSize=olympe.G.H.ui.ua.filters.nt.prototype.hB;olympe.host.Xc.register(olympe.host.ab.jb.DF,olympe.G.H.ui.ua.filters.nt);olympe.G.H.ui.ua.filters.nt.Aa=[olympe.N.ua.filters.Wv];olympe.G.H.ui.media={};olympe.G.H.ui.media.hr=class extends olympe.G.H.ui.wf{constructor(a,b){super(a,b)}destroy(){}$(){}ca(){}Ms(a,b,c){const d=new olympe.G.H.ui.F.Hd('takePictureVideo',this.Cb()),e=d.va(),f=document.createElement('canvas'),g=()=>{var k=e.videoWidth,l=e.videoHeight,m=void 0!==b?b:k;const n=void 0!==c?c:l;var p=Math.max(m/k,n/l);const r=Math.floor(m/p);p=Math.floor(n/p);k=(k-r)/2;l=(l-p)/2;f.setAttribute('width',m+'px');f.setAttribute('height',n+'px');const t=f.getContext('2d');t.clearRect(0,0,m,n);t.drawImage(e,
1139
+ olympe.G.H.ui.ua.filters.nt.prototype.setSquareSize=olympe.G.H.ui.ua.filters.nt.prototype.hB;olympe.host.Xc.register(olympe.host.ab.jb.EF,olympe.G.H.ui.ua.filters.nt);olympe.G.H.ui.ua.filters.nt.Aa=[olympe.N.ua.filters.Wv];olympe.G.H.ui.media={};olympe.G.H.ui.media.hr=class extends olympe.G.H.ui.wf{constructor(a,b){super(a,b)}destroy(){}$(){}ca(){}Ms(a,b,c){const d=new olympe.G.H.ui.F.Hd('takePictureVideo',this.Cb()),e=d.va(),f=document.createElement('canvas'),g=()=>{var k=e.videoWidth,l=e.videoHeight,m=void 0!==b?b:k;const n=void 0!==c?c:l;var p=Math.max(m/k,n/l);const r=Math.floor(m/p);p=Math.floor(n/p);k=(k-r)/2;l=(l-p)/2;f.setAttribute('width',m+'px');f.setAttribute('height',n+'px');const t=f.getContext('2d');t.clearRect(0,0,m,n);t.drawImage(e,
1140
1140
  k,l,r,p,0,0,m,n);m=f.toDataURL();document.body.removeChild(f);e.removeEventListener('canplay',g);d.destroy();a(m)};f.style.display='none';e.style.display='none';document.body.appendChild(f);document.body.appendChild(e);e.addEventListener('canplay',g);this.$(d)}};olympe.G.H.ui.media.hr.prototype.takePicture=olympe.G.H.ui.media.hr.prototype.Ms;olympe.G.H.ui.media.hr.prototype.destroy=olympe.G.H.ui.media.hr.prototype.destroy;olympe.G.H.ui.media.hr.Aa=[olympe.N.media.MediaStream];function Tg(a){a.getTracks().forEach(b=>b.stop())}function Ug(a,b){a.D&&(a.C=b,Object.values(a.D).forEach(c=>c(b)))}function Vg(a,b){a.W&&Object.values(a.W).forEach(c=>c(b))}
1141
1141
  olympe.G.H.ui.media.Kv=class extends olympe.G.H.ui.media.hr{constructor(a,b){super(a,b);this.C=null;this.D={};this.W=Object.create(null);this.O=Object.create(null)}destroy(){null!==this.C&&Tg(this.C);this.W=this.D=this.C=null}$(a){const b=a.uid;this.O[b]&&(this.D&&delete this.D[this.O[b]],delete this.O[b]);this.O[b]=this.da(c=>{const d=a.va();'srcObject'in d?d.srcObject=c:'URL'in window?d.src=window.URL.createObjectURL(c):a.Cb().error('Cannot set stream as video input source')})}ca(a){a=a.uid;this.O[a]&&
1142
1142
  (this.D&&delete this.D[this.O[a]],delete this.O[a]);0===Object.keys(this.O).length&&(null!==this.C&&Tg(this.C),this.C=null)}ma(a){var b;b||(b=olympe.oa.bf());this.W&&(this.W[b]=a)}da(a,b){b||(b=olympe.oa.bf());this.D&&(this.D[b]=a,null!==this.C&&a(this.C));return b}};olympe.G.H.ui.media.Kv.prototype.destroy=olympe.G.H.ui.media.Kv.prototype.destroy;olympe.G.H.ui.media.Kv.Aa=[olympe.N.media.Ir];function Wg(a,b,c){const d=olympe.G.H.ui.media.Ep.C;d&&(Tg(d),olympe.G.H.ui.media.Ep.C=null);navigator.mediaDevices?navigator.mediaDevices.getUserMedia(a).then(function(e){olympe.G.H.ui.media.Ep.C=e;b(e)}).catch(c):c(Error('Media devices are not supported by this browser'))}
1143
- olympe.G.H.ui.media.Ep=class extends olympe.G.H.ui.media.Kv{constructor(a,b){super(a,b);this.R=new olympe.G.H.ui.media.ZQ;this.T=!1;Xg(this.R)}hv(a){this.R.hv(a);null!==this.C&&!this.T&&this.Ho()}RE(a){a.ov(this.R);null!==this.C&&!this.T&&this.Ho()}Ou(a){this.R.Ou(a);null!==this.C&&!this.T&&this.Ho()}YA(a){a.ov(this.R);null!==this.C&&!this.T&&this.Ho()}da(a,b){null!==this.C||this.T||this.Ho();return olympe.G.H.ui.media.Kv.prototype.da.call(this,a,b)}Ho(){this.T=!0;Wg(Yg(this.R),a=>{this.T=!1;Ug(this,
1143
+ olympe.G.H.ui.media.Ep=class extends olympe.G.H.ui.media.Kv{constructor(a,b){super(a,b);this.R=new olympe.G.H.ui.media.ZQ;this.T=!1;Xg(this.R)}hv(a){this.R.hv(a);null!==this.C&&!this.T&&this.Ho()}SE(a){a.ov(this.R);null!==this.C&&!this.T&&this.Ho()}Ou(a){this.R.Ou(a);null!==this.C&&!this.T&&this.Ho()}YA(a){a.ov(this.R);null!==this.C&&!this.T&&this.Ho()}da(a,b){null!==this.C||this.T||this.Ho();return olympe.G.H.ui.media.Kv.prototype.da.call(this,a,b)}Ho(){this.T=!0;Wg(Yg(this.R),a=>{this.T=!1;Ug(this,
1144
1144
  a);Vg(this,!0)},a=>{if('OverconstrainedError'===a.name){a=this.Cb();var b=a.error,c=this.R;let d;d='('+(c.R?'video:'+c.R+' ':'');d+=c.O?'audio:'+c.O+' ':'';b.call(a,'Stream(s) requested '+(d+') not available'))}else a=a.message||a.name||String(a),this.Cb().error('HTMLLocalUserStream.initStream, getUserMedia error: '+a);Vg(this,!1)})}};olympe.G.H.ui.media.Ep.prototype.setAudioInputDevice=olympe.G.H.ui.media.Ep.prototype.YA;olympe.host.Xc.register(olympe.host.ab.jb.BJ,olympe.G.H.ui.media.Ep);
1145
1145
  olympe.G.H.ui.media.Ep.C=null;void 0===navigator.mediaDevices&&console.error("Current platform doesn't support media devices.");olympe.G.H.ui.media.Ep.Aa=[olympe.N.media.oi];function Zg(a,b){null===olympe.G.H.ui.media.ck.bc?navigator.mediaDevices.getUserMedia({audio:!1,video:!0}).then(c=>{c.getTracks().forEach(d=>{d.stop()});navigator.mediaDevices.enumerateDevices().then(d=>{olympe.G.H.ui.media.ck.bc=d;b(d)}).catch(d=>{a.Cb().error('Failed to obtain media list:',d);b([])})}).catch(c=>{a.Cb().error(c);b([])}):b(olympe.G.H.ui.media.ck.bc)}
1146
1146
  function $g(a,b,c){const d='videoinput'===b?'Camera ':'Microphone ';void 0===navigator.mediaDevices?(a.Cb().error('Media devices are not supported by this browser'),c([])):Zg(a,e=>{const f=[];e.forEach(g=>{g.kind===b&&f.push({id:g.deviceId,name:g.label||d+f.length})});c(f)})}olympe.G.H.ui.media.ck=class extends olympe.G.H.ui.wf{constructor(a,b){super(a,b)}destroy(){}Rw(a){$g(this,'videoinput',a)}Qw(a){$g(this,'audioinput',a)}};olympe.G.H.ui.media.ck.prototype.getAllAudioInputDevices=olympe.G.H.ui.media.ck.prototype.Qw;
1147
- olympe.G.H.ui.media.ck.prototype.getAllVideoInputDevices=olympe.G.H.ui.media.ck.prototype.Rw;olympe.G.H.ui.media.ck.prototype.destroy=olympe.G.H.ui.media.ck.prototype.destroy;olympe.G.H.ui.media.ck.bc=null;olympe.host.Xc.register(olympe.host.ab.jb.CJ,olympe.G.H.ui.media.ck);olympe.G.H.ui.media.ck.Aa=[olympe.N.media.Op];olympe.G.H.ui.media.pt=class extends olympe.G.H.ui.media.hr{constructor(a,b){super(a,b);this.url=null}$(a){a.ne(this.url||'')}ca(a){a.ne('')}Hk(a){this.url=a}le(){return this.url}};olympe.G.H.ui.media.pt.prototype.getUrl=olympe.G.H.ui.media.pt.prototype.le;olympe.G.H.ui.media.pt.prototype.setUrl=olympe.G.H.ui.media.pt.prototype.Hk;olympe.host.Xc.register(olympe.host.ab.jb.DJ,olympe.G.H.ui.media.pt);olympe.G.H.ui.media.pt.Aa=[olympe.N.media.MediaStream];function Yg(a){return{audio:a.T?a.D:!1,video:a.W?a.C:!1}}function Xg(a){a.C={facingMode:{exact:'environment'}}}olympe.G.H.ui.media.ZQ=class{constructor(){this.T=!0;this.D={};this.W=!0;this.C={};this.O=this.R=null}Ou(a){this.T=a}hv(a){this.W=a}};olympe.G.H.ui.media.bc={};olympe.G.H.ui.media.bc.gr=class extends olympe.G.H.ui.wf{constructor(a,b){super(a,b)}destroy(){}bb(){}ov(){}};olympe.G.H.ui.media.bc.gr.prototype.getName=olympe.G.H.ui.media.bc.gr.prototype.bb;olympe.G.H.ui.media.bc.gr.prototype.destroy=olympe.G.H.ui.media.bc.gr.prototype.destroy;olympe.G.H.ui.media.bc.gr.Aa=[olympe.N.media.bc.Np];olympe.G.H.ui.media.bc.Ap=class extends olympe.G.H.ui.media.bc.gr{constructor(a,b){super(a,b);this.name=this.id=''}lp(a,b){this.id=a;this.name=b}bb(){return this.name}ov(a){var b=this.id;a.O=b;switch(b){case olympe.ui.ha.Lp.qG:a.D={};break;default:a.D={deviceId:{exact:b}}}}};olympe.G.H.ui.media.bc.Ap.prototype.updateConstraints=olympe.G.H.ui.media.bc.Ap.prototype.ov;olympe.G.H.ui.media.bc.Ap.prototype.getName=olympe.G.H.ui.media.bc.Ap.prototype.bb;
1148
- olympe.G.H.ui.media.bc.Ap.prototype.setIdAndName=olympe.G.H.ui.media.bc.Ap.prototype.lp;olympe.host.Xc.register(olympe.host.ab.jb.AJ,olympe.G.H.ui.media.bc.Ap);olympe.G.H.ui.media.bc.Ap.Aa=[olympe.N.media.bc.op];olympe.G.H.ui.media.bc.Ip=class extends olympe.G.H.ui.media.bc.gr{constructor(a,b){super(a,b);this.name=this.id=''}lp(a,b){this.id=a;this.name=b}bb(){return this.name}ov(a){var b=this.id;a.R=b;switch(b){case olympe.ui.ha.Lp.JG:a.C={facingMode:'user'};break;case olympe.ui.ha.Lp.rG:Xg(a);break;case olympe.ui.ha.Lp.CG:Xg(a);break;default:a.C={deviceId:{exact:b}}}}};olympe.G.H.ui.media.bc.Ip.prototype.updateConstraints=olympe.G.H.ui.media.bc.Ip.prototype.ov;
1147
+ olympe.G.H.ui.media.ck.prototype.getAllVideoInputDevices=olympe.G.H.ui.media.ck.prototype.Rw;olympe.G.H.ui.media.ck.prototype.destroy=olympe.G.H.ui.media.ck.prototype.destroy;olympe.G.H.ui.media.ck.bc=null;olympe.host.Xc.register(olympe.host.ab.jb.CJ,olympe.G.H.ui.media.ck);olympe.G.H.ui.media.ck.Aa=[olympe.N.media.Op];olympe.G.H.ui.media.pt=class extends olympe.G.H.ui.media.hr{constructor(a,b){super(a,b);this.url=null}$(a){a.ne(this.url||'')}ca(a){a.ne('')}Hk(a){this.url=a}le(){return this.url}};olympe.G.H.ui.media.pt.prototype.getUrl=olympe.G.H.ui.media.pt.prototype.le;olympe.G.H.ui.media.pt.prototype.setUrl=olympe.G.H.ui.media.pt.prototype.Hk;olympe.host.Xc.register(olympe.host.ab.jb.DJ,olympe.G.H.ui.media.pt);olympe.G.H.ui.media.pt.Aa=[olympe.N.media.MediaStream];function Yg(a){return{audio:a.T?a.D:!1,video:a.W?a.C:!1}}function Xg(a){a.C={facingMode:{exact:'environment'}}}olympe.G.H.ui.media.ZQ=class{constructor(){this.T=!0;this.D={};this.W=!0;this.C={};this.O=this.R=null}Ou(a){this.T=a}hv(a){this.W=a}};olympe.G.H.ui.media.bc={};olympe.G.H.ui.media.bc.gr=class extends olympe.G.H.ui.wf{constructor(a,b){super(a,b)}destroy(){}bb(){}ov(){}};olympe.G.H.ui.media.bc.gr.prototype.getName=olympe.G.H.ui.media.bc.gr.prototype.bb;olympe.G.H.ui.media.bc.gr.prototype.destroy=olympe.G.H.ui.media.bc.gr.prototype.destroy;olympe.G.H.ui.media.bc.gr.Aa=[olympe.N.media.bc.Np];olympe.G.H.ui.media.bc.Ap=class extends olympe.G.H.ui.media.bc.gr{constructor(a,b){super(a,b);this.name=this.id=''}lp(a,b){this.id=a;this.name=b}bb(){return this.name}ov(a){var b=this.id;a.O=b;switch(b){case olympe.ui.ha.Lp.rG:a.D={};break;default:a.D={deviceId:{exact:b}}}}};olympe.G.H.ui.media.bc.Ap.prototype.updateConstraints=olympe.G.H.ui.media.bc.Ap.prototype.ov;olympe.G.H.ui.media.bc.Ap.prototype.getName=olympe.G.H.ui.media.bc.Ap.prototype.bb;
1148
+ olympe.G.H.ui.media.bc.Ap.prototype.setIdAndName=olympe.G.H.ui.media.bc.Ap.prototype.lp;olympe.host.Xc.register(olympe.host.ab.jb.AJ,olympe.G.H.ui.media.bc.Ap);olympe.G.H.ui.media.bc.Ap.Aa=[olympe.N.media.bc.op];olympe.G.H.ui.media.bc.Ip=class extends olympe.G.H.ui.media.bc.gr{constructor(a,b){super(a,b);this.name=this.id=''}lp(a,b){this.id=a;this.name=b}bb(){return this.name}ov(a){var b=this.id;a.R=b;switch(b){case olympe.ui.ha.Lp.KG:a.C={facingMode:'user'};break;case olympe.ui.ha.Lp.sG:Xg(a);break;case olympe.ui.ha.Lp.DG:Xg(a);break;default:a.C={deviceId:{exact:b}}}}};olympe.G.H.ui.media.bc.Ip.prototype.updateConstraints=olympe.G.H.ui.media.bc.Ip.prototype.ov;
1149
1149
  olympe.G.H.ui.media.bc.Ip.prototype.getName=olympe.G.H.ui.media.bc.Ip.prototype.bb;olympe.G.H.ui.media.bc.Ip.prototype.setIdAndName=olympe.G.H.ui.media.bc.Ip.prototype.lp;olympe.host.Xc.register(olympe.host.ab.jb.EJ,olympe.G.H.ui.media.bc.Ip);olympe.G.H.ui.media.bc.Ip.Aa=[olympe.N.media.bc.Am];olympe.G.H.ui.Ta={};olympe.G.H.ui.Ta.Va={};function ah(a){var b=document.createElement('link');b.rel='stylesheet';b.type='text/css';b.href='https://unpkg.com/leaflet@1.7.1/dist/leaflet.css';document.head.appendChild(b);b=document.createElement('script');b.type='text/javascript';b.src='https://unpkg.com/leaflet@1.7.1/dist/leaflet.js';b.id='LEAFLET';b.onload=a;document.body.appendChild(b)}
1150
1150
  olympe.G.H.ui.Ta.Va.Map=class extends olympe.G.H.ui.F.rg{constructor(a,b){super(a,b);this.map=null;this.da=[];this.C=!1;this.O=new Map;this.D=new Map;this.T={};a=document.createElement('div');this.za=olympe.oa.IM('leafletMap');a.id=this.za;a.style.height='100%';this.va().appendChild(a);this.yO()}ue(a){this.da.push(a);this.C&&a()}yO(){ah(()=>{this.map=window.L.map(this.za);this.C=!0;this.da.forEach(a=>a())})}Hs(a,b,c,d){this.C?this.map.setView({lon:a,lat:b},c,d):this.ue(this.Hs.bind(this,a,b,c,d));
1151
1151
  return this}pv(a,b){var c=()=>{switch(a){case olympe.N.Ta.Va.Map.C.zJ:return void 0===b&&(this.V.warn('No layer style provided. Defaulting to "streets-v11"'),b='streets-v11'),{url:'https://api.mapbox.com/styles/v1/mapbox/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}',options:{attributionControl:!1,maxZoom:18,id:b,accessToken:'pk.eyJ1Ijoib2x5bXBlIiwiYSI6ImNqaXB5ZHU2dzA5azMzd252OWpsOTl6bmMifQ.8WQkMAXowdeuNj4x34NYfA',tileSize:512,zoomOffset:-1}};case olympe.N.Ta.Va.Map.C.kT:return{url:'https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
1152
1152
  options:{maxZoom:16}};default:return{url:'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',options:{}}}};this.C?(c=c(),this.map.removeLayer(this.T),this.T=window.L.tileLayer(c.url,c.options),this.T.addTo(this.map),this.T.on('tileerror',()=>{this.V.error('Failed to fetch tile.')})):this.ue(this.pv.bind(this,a,b));return this}au(a,b,c){this.C?(this.O.has(c)&&this.ps(c),a=window.L.marker({lon:a,lat:b}).addTo(this.map),this.O.set(c,a)):this.ue(this.au.bind(this,a,b,c));return this}Aw(a){this.C?a.forEach(b=>
1153
- {window.L.marker({lon:b.WD(),lat:b.UD()}).addTo(this.map)}):this.ue(this.Aw.bind(this,a));return this}ps(a){this.O.has(a)&&(this.O.get(a).remove(),this.O.delete(a));return this}xw(a,b){this.C?(this.D.has(b)&&this.Iu(b),a=window.L.geoJSON(a,{style:c=>c.properties&&c.properties.style,q3:(c,d)=>{c.properties&&c.properties.tY&&d.H2(c.properties.tY)},t3:(c,d)=>window.L.circleMarker(d,c.properties.style)}).addTo(this.map),this.D.set(b,a)):this.ue(this.xw.bind(this,a,b));return this}Iu(a){this.D.has(a)&&
1153
+ {window.L.marker({lon:b.XD(),lat:b.VD()}).addTo(this.map)}):this.ue(this.Aw.bind(this,a));return this}ps(a){this.O.has(a)&&(this.O.get(a).remove(),this.O.delete(a));return this}xw(a,b){this.C?(this.D.has(b)&&this.Iu(b),a=window.L.geoJSON(a,{style:c=>c.properties&&c.properties.style,q3:(c,d)=>{c.properties&&c.properties.tY&&d.H2(c.properties.tY)},t3:(c,d)=>window.L.circleMarker(d,c.properties.style)}).addTo(this.map),this.D.set(b,a)):this.ue(this.xw.bind(this,a,b));return this}Iu(a){this.D.has(a)&&
1154
1154
  (this.D.get(a).remove(),this.D.delete(a));return this}Is(a,b){this.C?this.map.setZoom(a,b):this.ue(this.Is.bind(this,a,b));return this.map}ux(a){this.C?this.map.addEventListener('zoom',function(){a(this.map.getZoom())}.bind(this)):this.ue(this.ux.bind(this,a))}ys(a){this.C?this.map.setView({lon:a,lat:this.map.getCenter().lat},this.map.getZoom()):this.ue(this.ys.bind(this,a));return this}xs(a){this.C?this.map.setView({lon:this.map.getCenter().lng,lat:a},this.map.getZoom()):this.ue(this.xs.bind(this,
1155
1155
  a));return this}tx(a){this.C?this.map.addEventListener('moveend',function(){a(this.map.getCenter().lng)}.bind(this)):this.ue(this.tx.bind(this,a))}sx(a){this.C?this.map.addEventListener('moveend',function(){a(this.map.getCenter().lat)}.bind(this)):this.ue(this.sx.bind(this,a))}rv(a,b){this.C?this.map.zoomIn(a,b):this.ue(this.rv.bind(this,a,b));return this}tv(a,b){this.C?this.map.zoomOut(a,b):this.ue(this.tv.bind(this,a,b));return this}kv(a,b,c){this.C?this.map.setZoomAround(a,b,c):this.ue(this.kv.bind(this,
1156
1156
  a,b,c));return this}hu(a,b){this.C?this.map.fitBounds(a,b):this.ue(this.hu.bind(this,a,b));return this}iu(a){this.C?this.map.fitWorld(a):this.ue(this.iu.bind(this,a));return this}Gu(a,b){this.C?this.map.panTo(a,b):this.ue(this.Gu.bind(this,a,b));return this}Eu(a,b){this.C?this.map.panBy(a,b):this.ue(this.Eu.bind(this,a,b));return this}ju(a,b,c){this.C?this.map.flyTo(a,b,c):this.ue(this.ju.bind(this,a,b,c));return this}ku(a,b){this.C?this.map.flyToBounds(a,b):this.ue(this.ku.bind(this,a,b));return this}Zu(a){this.C?
@@ -1161,15 +1161,15 @@ olympe.G.H.ui.Ta.Va.Map.prototype.setZoomAround=olympe.G.H.ui.Ta.Va.Map.prototyp
1161
1161
  olympe.G.H.ui.Ta.Va.Map.prototype.setLongitude=olympe.G.H.ui.Ta.Va.Map.prototype.ys;olympe.G.H.ui.Ta.Va.Map.prototype.registerZoomCallback=olympe.G.H.ui.Ta.Va.Map.prototype.ux;olympe.G.H.ui.Ta.Va.Map.prototype.setZoom=olympe.G.H.ui.Ta.Va.Map.prototype.Is;olympe.G.H.ui.Ta.Va.Map.prototype.removeGeoJson=olympe.G.H.ui.Ta.Va.Map.prototype.Iu;olympe.G.H.ui.Ta.Va.Map.prototype.setView=olympe.G.H.ui.Ta.Va.Map.prototype.Hs;olympe.G.H.ui.Ta.Va.Map.prototype.initMap=olympe.G.H.ui.Ta.Va.Map.prototype.yO;
1162
1162
  olympe.G.H.ui.Ta.Va.Map.prototype.onLoad=olympe.G.H.ui.Ta.Va.Map.prototype.ue;olympe.host.Xc.register(olympe.host.ab.jb.pL,olympe.G.H.ui.Ta.Va.Map);olympe.G.H.ui.Ta.Va.Map.Aa=[olympe.N.Ta.Va.Map];olympe.G.H.ui.P={};olympe.G.H.ui.P.hd={Ke:{Gf:'http://www.w3.org/2000/svg',xZ:'http://www.w3.org/2000/xmlns/',rB:'http://www.w3.org/1999/xlink'},Dg:'default'};olympe.G.H.ui.P.Qi=class extends olympe.G.H.ui.F.fc{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'svg'));this.C=null;this.children=new Map;this.va().setAttribute('xmlns',olympe.G.H.ui.P.hd.Ke.Gf);this.va().setAttributeNS(olympe.G.H.ui.P.hd.Ke.xZ,'xmlns:xlink',olympe.G.H.ui.P.hd.Ke.rB);this.va().addEventListener('focus',()=>{});Jg(this,()=>{for(const c of this.children.values())c.Pf(this)});Kg(this,()=>{for(const c of this.children.values())c.Pf(null)})}uk(){null===
1163
1163
  this.C&&(this.C=this.va().insertBefore(document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'defs'),this.va().firstChild));return this.C}ay(a,b,c,d){this.setAttribute('viewBox',a+' '+b+' '+c+' '+d)}appendChild(a,b){b=null!=b?b:olympe.G.H.ui.P.hd.Dg;this.children.has(b)&&this.removeChild(b);this.children.set(b,a);a.setAttribute('name_As_A_Child',b);this.va().appendChild(a.va());a.Ef(this);a.Pf(this)}removeChild(a){a||(a=olympe.G.H.ui.P.hd.Dg);const b=this.children.get(a);if(b)try{this.va().removeChild(b.va()),
1164
- b.Ef(null),b.Pf(null)}catch(c){this.V.debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.V.debug('Trying to remove a non existing child: '+a)}$w(){return this.va().outerHTML}TD(){return'data:image/svg+xml;utf8,'+this.$w()}};olympe.G.H.ui.P.Qi.prototype.getImageUrl=olympe.G.H.ui.P.Qi.prototype.TD;olympe.G.H.ui.P.Qi.prototype.getImageContent=olympe.G.H.ui.P.Qi.prototype.$w;olympe.G.H.ui.P.Qi.prototype.removeChild=olympe.G.H.ui.P.Qi.prototype.removeChild;
1164
+ b.Ef(null),b.Pf(null)}catch(c){this.V.debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.V.debug('Trying to remove a non existing child: '+a)}$w(){return this.va().outerHTML}UD(){return'data:image/svg+xml;utf8,'+this.$w()}};olympe.G.H.ui.P.Qi.prototype.getImageUrl=olympe.G.H.ui.P.Qi.prototype.UD;olympe.G.H.ui.P.Qi.prototype.getImageContent=olympe.G.H.ui.P.Qi.prototype.$w;olympe.G.H.ui.P.Qi.prototype.removeChild=olympe.G.H.ui.P.Qi.prototype.removeChild;
1165
1165
  olympe.G.H.ui.P.Qi.prototype.appendChild=olympe.G.H.ui.P.Qi.prototype.appendChild;olympe.G.H.ui.P.Qi.prototype.setViewbox=olympe.G.H.ui.P.Qi.prototype.ay;olympe.G.H.ui.P.Qi.prototype.getSvgDefsElement=olympe.G.H.ui.P.Qi.prototype.uk;olympe.host.Xc.register(olympe.host.ab.jb.aM,olympe.G.H.ui.P.Qi);olympe.G.H.ui.P.Qi.Aa=[olympe.N.P.xi];olympe.G.H.ui.P.Je=class extends olympe.G.H.ui.wf{constructor(a,b,c){super(a,b);this.C=c;this.W=this.parent=null;this.id='';this.C&&this.Bs('auto')}va(){return this.C}uk(){return this.W?this.W.uk():null}setAttribute(a,b,c){c?this.va().setAttributeNS(c||'',a,String(b)):this.va().setAttribute(a,String(b))}Xu(a){this.setAttribute('id',this.id=a)}ja(){this.id||this.Xu(this.uid);return this.id}Ef(a){this.parent=a}getParent(){return this.parent}Pf(a){this.W=a}zo(){return this.W}destroy(){this.parent&&(this.parent=
1166
1166
  null);if(this.C){const a=this.C.parentNode;a&&a.removeChild(this.C)}}ib(a,b){this.va().style[a]=b}yh(a){this.Bs(a?'none':'auto')}Bs(a){this.ib('pointer-events',a)}rd(a){this.ib('display',a?'none':'initial')}};olympe.G.H.ui.P.Je.prototype.setHidden=olympe.G.H.ui.P.Je.prototype.rd;olympe.G.H.ui.P.Je.prototype.setPointerEvents=olympe.G.H.ui.P.Je.prototype.Bs;olympe.G.H.ui.P.Je.prototype.setIgnoreUserInteraction=olympe.G.H.ui.P.Je.prototype.yh;olympe.G.H.ui.P.Je.prototype.destroy=olympe.G.H.ui.P.Je.prototype.destroy;
1167
1167
  olympe.G.H.ui.P.Je.prototype.getContainer=olympe.G.H.ui.P.Je.prototype.zo;olympe.G.H.ui.P.Je.prototype.setContainer=olympe.G.H.ui.P.Je.prototype.Pf;olympe.G.H.ui.P.Je.prototype.getParent=olympe.G.H.ui.P.Je.prototype.getParent;olympe.G.H.ui.P.Je.prototype.setParent=olympe.G.H.ui.P.Je.prototype.Ef;olympe.G.H.ui.P.Je.prototype.getId=olympe.G.H.ui.P.Je.prototype.ja;olympe.G.H.ui.P.Je.prototype.setId=olympe.G.H.ui.P.Je.prototype.Xu;olympe.G.H.ui.P.Je.prototype.setAttribute=olympe.G.H.ui.P.Je.prototype.setAttribute;
1168
1168
  olympe.G.H.ui.P.Je.prototype.getSvgDefsElement=olympe.G.H.ui.P.Je.prototype.uk;olympe.G.H.ui.P.Je.prototype.getHtmlElement=olympe.G.H.ui.P.Je.prototype.va;olympe.G.H.ui.P.Je.Aa=[olympe.N.P.ze];olympe.G.H.ui.P.pe=class extends olympe.G.H.ui.P.Je{constructor(a,b,c){super(a,b,c);this.y=this.x=0;this.ca=this.height=this.width=1;this.T=this.R=!1}oe(a){this.x=a;this.R=!0;this.ge()}qa(){return this.x}Fe(a){this.y=a;this.R=!0;this.ge()}ta(){return this.y}setPosition(a,b){this.x=a;this.y=b;this.R=!0;this.ge()}Ag(a){this.height=a;this.T=!0;this.ge()}Ce(){return this.height}Cg(a){this.width=a;this.T=!0;this.ge()}Cd(){return this.width}setScale(a){this.ca=a;this.ge()}jq(){return this.ca}Gb(a,b){this.width=
1169
1169
  a;this.height=b;this.T=!0;this.ge()}Dx(a,b,c,d){let e=!1;void 0===a||this.R||(this.x=a,this.y=b||0,e=!0);void 0===c||this.T||(this.width=c,this.height=d||0,e=!0);e&&this.ge()}ge(){this.setAttribute('x',this.x);this.setAttribute('y',this.y);this.setAttribute('width',this.width);this.setAttribute('height',this.height);this.setAttribute('transform','scale('+this.ca+')')}};olympe.G.H.ui.P.pe.prototype.refreshBox=olympe.G.H.ui.P.pe.prototype.ge;olympe.G.H.ui.P.pe.prototype.setDefaultBox=olympe.G.H.ui.P.pe.prototype.Dx;
1170
1170
  olympe.G.H.ui.P.pe.prototype.setDimension=olympe.G.H.ui.P.pe.prototype.Gb;olympe.G.H.ui.P.pe.prototype.getScale=olympe.G.H.ui.P.pe.prototype.jq;olympe.G.H.ui.P.pe.prototype.setScale=olympe.G.H.ui.P.pe.prototype.setScale;olympe.G.H.ui.P.pe.prototype.getWidth=olympe.G.H.ui.P.pe.prototype.Cd;olympe.G.H.ui.P.pe.prototype.setWidth=olympe.G.H.ui.P.pe.prototype.Cg;olympe.G.H.ui.P.pe.prototype.getHeight=olympe.G.H.ui.P.pe.prototype.Ce;olympe.G.H.ui.P.pe.prototype.setHeight=olympe.G.H.ui.P.pe.prototype.Ag;
1171
- olympe.G.H.ui.P.pe.prototype.setPosition=olympe.G.H.ui.P.pe.prototype.setPosition;olympe.G.H.ui.P.pe.prototype.getY=olympe.G.H.ui.P.pe.prototype.ta;olympe.G.H.ui.P.pe.prototype.setY=olympe.G.H.ui.P.pe.prototype.Fe;olympe.G.H.ui.P.pe.prototype.getX=olympe.G.H.ui.P.pe.prototype.qa;olympe.G.H.ui.P.pe.prototype.setX=olympe.G.H.ui.P.pe.prototype.oe;olympe.G.H.ui.P.pe.Aa=[olympe.N.P.yd];olympe.G.H.ui.P.Ia=class extends olympe.G.H.ui.P.pe{constructor(a,b,c){super(a,b,c);this.wE=ab(0,0,0);this.strokeColor=this.fillOpacity=this.fillColor=null;this.strokeOpacity=1;this.strokeWidth=0;this.zP=null;this.yP=0;this.wg=this.zg=this.Oj=this.filter=this.cs=this.strokeLinecap=null}ge(){this.setAttribute('transform',bb($a(this.wE,this.$D()))+' scale('+this.jq()+')');this.setAttribute('stroke-width',this.Wm())}$D(){return Za(this.x,this.y)}ax(){return Infinity}rotate(a,b,c){this.wE=ab(a,b||0,c||
1172
- 0);this.ge()}Hx(a){this.setAttribute('fill',a?this.fillColor?this.fillColor:'rgb(0,0,0)':'none')}setFillColor(a){this.setAttribute('fill',this.fillColor=a)}EE(a){this.setAttribute('fill-opacity',this.fillOpacity=a)}cB(a,b,c,d){this.setAttribute('fill',this.fillColor='rgb('+a+','+b+','+c+')');this.setAttribute('fill-opacity',this.fillOpacity=d)}setStrokeColor(a){this.setAttribute('stroke',this.strokeColor=a)}PE(a){this.strokeOpacity=a;this.setAttribute('stroke-opacity',this.strokeOpacity)}jB(a,b,c,
1171
+ olympe.G.H.ui.P.pe.prototype.setPosition=olympe.G.H.ui.P.pe.prototype.setPosition;olympe.G.H.ui.P.pe.prototype.getY=olympe.G.H.ui.P.pe.prototype.ta;olympe.G.H.ui.P.pe.prototype.setY=olympe.G.H.ui.P.pe.prototype.Fe;olympe.G.H.ui.P.pe.prototype.getX=olympe.G.H.ui.P.pe.prototype.qa;olympe.G.H.ui.P.pe.prototype.setX=olympe.G.H.ui.P.pe.prototype.oe;olympe.G.H.ui.P.pe.Aa=[olympe.N.P.yd];olympe.G.H.ui.P.Ia=class extends olympe.G.H.ui.P.pe{constructor(a,b,c){super(a,b,c);this.xE=ab(0,0,0);this.strokeColor=this.fillOpacity=this.fillColor=null;this.strokeOpacity=1;this.strokeWidth=0;this.zP=null;this.yP=0;this.wg=this.zg=this.Oj=this.filter=this.cs=this.strokeLinecap=null}ge(){this.setAttribute('transform',bb($a(this.xE,this.aE()))+' scale('+this.jq()+')');this.setAttribute('stroke-width',this.Wm())}aE(){return Za(this.x,this.y)}ax(){return Infinity}rotate(a,b,c){this.xE=ab(a,b||0,c||
1172
+ 0);this.ge()}Hx(a){this.setAttribute('fill',a?this.fillColor?this.fillColor:'rgb(0,0,0)':'none')}setFillColor(a){this.setAttribute('fill',this.fillColor=a)}FE(a){this.setAttribute('fill-opacity',this.fillOpacity=a)}cB(a,b,c,d){this.setAttribute('fill',this.fillColor='rgb('+a+','+b+','+c+')');this.setAttribute('fill-opacity',this.fillOpacity=d)}setStrokeColor(a){this.setAttribute('stroke',this.strokeColor=a)}QE(a){this.strokeOpacity=a;this.setAttribute('stroke-opacity',this.strokeOpacity)}jB(a,b,c,
1173
1173
  d){this.strokeOpacity=d;this.setAttribute('stroke',this.strokeColor='rgb('+a+','+b+','+c+')');this.setAttribute('stroke-opacity',this.strokeOpacity)}Yx(a){this.zP=a;this.setAttribute('stroke-dasharray',this.zP)}Xx(a){this.yP=a;this.setAttribute('stroke-dashoffset',this.yP)}Zx(a){this.strokeLinecap=a;this.setAttribute('stroke-linecap',this.strokeLinecap)}gv(a){this.strokeWidth=a;this.ge()}Wm(){return Math.min(this.strokeWidth,this.ax())}vs(a){this.filter=a;this.setAttribute('filter','url(#'+this.filter.ja()+
1174
1174
  ')');this.Kr()}ky(){if(this.filter)try{const a=this.filter.va(),b=this.uk();b&&a.parentNode===b&&b.removeChild(a)}catch(a){this.V.debug('Not able to remove the filter, has probably already been removed')}finally{this.va().removeAttribute('filter'),this.filter=null}}Ox(a){this.Oj=a;this.setAttribute('mask','url(#'+a.ja()+')');this.Kr()}my(){if(this.Oj)try{const a=this.Oj.va(),b=this.uk();b&&a.parentNode===b&&b.removeChild(a)}catch(a){this.V.debug('Not able to remove the mask, has probably already been removed')}finally{this.va().removeAttribute('mask'),
1175
1175
  this.Oj=null}}Vu(a){this.cs=a;this.setAttribute('fill','url(#'+this.cs.ja()+')');this.Kr()}ly(){if(this.cs)try{const a=this.cs.va(),b=this.uk();b&&a.parentNode===b&&b.removeChild(a)}catch(a){this.V.debug('Not able to remove the gradient, has probably already been removed')}finally{this.va().removeAttribute('gradient'),this.cs=null}}vw(a,b,c,d='linear',e='indefinite'){const f=document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'animate');f.setAttribute('attributeName',a);f.setAttribute('values',b);f.setAttribute('dur',
@@ -1185,7 +1185,7 @@ olympe.G.H.ui.P.Ia.prototype.registerMouseMove=olympe.G.H.ui.P.Ia.prototype.mn;o
1185
1185
  olympe.G.H.ui.P.Ia.prototype.registerDoubleClick=olympe.G.H.ui.P.Ia.prototype.hn;olympe.G.H.ui.P.Ia.prototype.unregisterClickOrTap=olympe.G.H.ui.P.Ia.prototype.Pl;olympe.G.H.ui.P.Ia.prototype.registerClickOrTap=olympe.G.H.ui.P.Ia.prototype.gn;olympe.G.H.ui.P.Ia.prototype.getGestureEvent=olympe.G.H.ui.P.Ia.prototype.qb;olympe.G.H.ui.P.Ia.prototype.getMouseEvent=olympe.G.H.ui.P.Ia.prototype.Da;olympe.G.H.ui.P.Ia.prototype.setContainer=olympe.G.H.ui.P.Ia.prototype.Pf;
1186
1186
  olympe.G.H.ui.P.Ia.prototype.addAnimation=olympe.G.H.ui.P.Ia.prototype.vw;olympe.G.H.ui.P.Ia.prototype.unsetGradient=olympe.G.H.ui.P.Ia.prototype.ly;olympe.G.H.ui.P.Ia.prototype.setGradient=olympe.G.H.ui.P.Ia.prototype.Vu;olympe.G.H.ui.P.Ia.prototype.unsetMask=olympe.G.H.ui.P.Ia.prototype.my;olympe.G.H.ui.P.Ia.prototype.setMask=olympe.G.H.ui.P.Ia.prototype.Ox;olympe.G.H.ui.P.Ia.prototype.unsetFilter=olympe.G.H.ui.P.Ia.prototype.ky;olympe.G.H.ui.P.Ia.prototype.setFilter=olympe.G.H.ui.P.Ia.prototype.vs;
1187
1187
  olympe.G.H.ui.P.Ia.prototype.getStrokeWidth=olympe.G.H.ui.P.Ia.prototype.Wm;olympe.G.H.ui.P.Ia.prototype.setStrokeWidth=olympe.G.H.ui.P.Ia.prototype.gv;olympe.G.H.ui.P.Ia.prototype.setStrokeLinecap=olympe.G.H.ui.P.Ia.prototype.Zx;olympe.G.H.ui.P.Ia.prototype.setStrokeDashOffset=olympe.G.H.ui.P.Ia.prototype.Xx;olympe.G.H.ui.P.Ia.prototype.setStrokeDashPattern=olympe.G.H.ui.P.Ia.prototype.Yx;olympe.G.H.ui.P.Ia.prototype.setStrokeColorAndOpacity=olympe.G.H.ui.P.Ia.prototype.jB;
1188
- olympe.G.H.ui.P.Ia.prototype.setStrokeOpacity=olympe.G.H.ui.P.Ia.prototype.PE;olympe.G.H.ui.P.Ia.prototype.setStrokeColor=olympe.G.H.ui.P.Ia.prototype.setStrokeColor;olympe.G.H.ui.P.Ia.prototype.setFillColorAndOpacity=olympe.G.H.ui.P.Ia.prototype.cB;olympe.G.H.ui.P.Ia.prototype.setFillOpacity=olympe.G.H.ui.P.Ia.prototype.EE;olympe.G.H.ui.P.Ia.prototype.setFillColor=olympe.G.H.ui.P.Ia.prototype.setFillColor;olympe.G.H.ui.P.Ia.prototype.setFilled=olympe.G.H.ui.P.Ia.prototype.Hx;
1188
+ olympe.G.H.ui.P.Ia.prototype.setStrokeOpacity=olympe.G.H.ui.P.Ia.prototype.QE;olympe.G.H.ui.P.Ia.prototype.setStrokeColor=olympe.G.H.ui.P.Ia.prototype.setStrokeColor;olympe.G.H.ui.P.Ia.prototype.setFillColorAndOpacity=olympe.G.H.ui.P.Ia.prototype.cB;olympe.G.H.ui.P.Ia.prototype.setFillOpacity=olympe.G.H.ui.P.Ia.prototype.FE;olympe.G.H.ui.P.Ia.prototype.setFillColor=olympe.G.H.ui.P.Ia.prototype.setFillColor;olympe.G.H.ui.P.Ia.prototype.setFilled=olympe.G.H.ui.P.Ia.prototype.Hx;
1189
1189
  olympe.G.H.ui.P.Ia.prototype.rotate=olympe.G.H.ui.P.Ia.prototype.rotate;olympe.G.H.ui.P.Ia.prototype.refreshBox=olympe.G.H.ui.P.Ia.prototype.ge;olympe.G.H.ui.P.Ia.Aa=[olympe.N.P.mc];olympe.G.H.ui.P.HTMLFilter=class extends olympe.G.H.ui.P.pe{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'filter'));this.children=new Map}Li(a){this.setAttribute('filterUnits',a?'userSpaceOnUse':'objectBoundingBox')}addElement(a,b){b||(b=olympe.G.H.ui.P.hd.Dg);this.children.get(b)&&this.Hu(b);this.children.set(b,a);this.va().appendChild(a.va());a.Ef(this)}Hu(a){a||(a=olympe.G.H.ui.P.hd.Dg);const b=this.children.get(a);if(void 0!==b)try{this.va().removeChild(b.va()),
1190
1190
  b.Ef(null)}catch(c){this.Cb().debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.Cb().warn('Trying to remove a non existing child: '+a)}vx(){this.children.clear();let a;const b=this.va();for(;a=b.firstChild;)b.removeChild(a)}TO(a,b){this.va().replaceChild(b,a)}ge(){olympe.G.H.ui.P.pe.prototype.ge.call(this);const a=this.Cd(),b=this.Ce(),c=this.qa(),d=this.ta();for(const e of this.children.values())e.Dx(c,d,a,b)}};
1191
1191
  olympe.G.H.ui.P.HTMLFilter.prototype.refreshBox=olympe.G.H.ui.P.HTMLFilter.prototype.ge;olympe.G.H.ui.P.HTMLFilter.prototype.replaceChildHtmlElement=olympe.G.H.ui.P.HTMLFilter.prototype.TO;olympe.G.H.ui.P.HTMLFilter.prototype.removeAllElements=olympe.G.H.ui.P.HTMLFilter.prototype.vx;olympe.G.H.ui.P.HTMLFilter.prototype.removeElement=olympe.G.H.ui.P.HTMLFilter.prototype.Hu;olympe.G.H.ui.P.HTMLFilter.prototype.addElement=olympe.G.H.ui.P.HTMLFilter.prototype.addElement;
@@ -1195,34 +1195,34 @@ olympe.host.Xc.register(olympe.host.ab.jb.HL,olympe.G.H.ui.P.kt);olympe.G.H.ui.P
1195
1195
  olympe.G.H.ui.P.lt.Aa=[olympe.N.P.em];olympe.G.H.ui.P.mt=class extends olympe.G.H.ui.P.Fh{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'feColorMatrix'));this.setAttribute('type','matrix')}lf(a){this.setAttribute('in',this.gq(a))}setMatrix(a){a instanceof olympe.oa.bo&&(a=a.getStringValue());this.setAttribute('values',a)}};olympe.G.H.ui.P.mt.prototype.setMatrix=olympe.G.H.ui.P.mt.prototype.setMatrix;olympe.G.H.ui.P.mt.prototype.setInput=olympe.G.H.ui.P.mt.prototype.lf;
1196
1196
  olympe.host.Xc.register(olympe.host.ab.jb.IL,olympe.G.H.ui.P.mt);olympe.G.H.ui.P.mt.Aa=[olympe.N.P.Wq];olympe.G.H.ui.P.Bp=class extends olympe.G.H.ui.P.Fh{constructor(a,b){const c=document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'feBlend');super(a,b,c);this.D=c;this.O=document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'feComposite');this.mode='normal';this.da=this.$=null}lf(a){this.setAttribute('in',this.$=this.gq(a))}Lx(a){this.setAttribute('in2',this.da=this.gq(a))}Px(a){let b;switch(a){case olympe.ui.ha.pp.tQ:a='darken';b=this.D;break;case olympe.ui.ha.pp.DS:a='lighten';b=this.D;break;case olympe.ui.ha.pp.WS:a=
1197
1197
  'multiply';b=this.D;break;case olympe.ui.ha.pp.VT:a='screen';b=this.D;break;case olympe.ui.ha.pp.nU:a='in';b=this.O;break;case olympe.ui.ha.pp.oU:a='out';b=this.O;break;case olympe.ui.ha.pp.mU:a='atop';b=this.O;break;case olympe.ui.ha.pp.aV:a='xor';b=this.O;break;default:a='normal',b=this.D}b!==this.C&&(this.getParent()instanceof olympe.G.H.ui.P.HTMLFilter&&this.getParent().TO(this.C,b),this.C=b,this.$&&this.setAttribute('in',this.$),this.da&&this.setAttribute('in2',this.da));this.setAttribute(this.C===
1198
- this.D?'mode':'operator',this.mode=a)}};olympe.G.H.ui.P.Bp.prototype.setMode=olympe.G.H.ui.P.Bp.prototype.Px;olympe.G.H.ui.P.Bp.prototype.setInput2=olympe.G.H.ui.P.Bp.prototype.Lx;olympe.G.H.ui.P.Bp.prototype.setInput=olympe.G.H.ui.P.Bp.prototype.lf;olympe.host.Xc.register(olympe.host.ab.jb.JL,olympe.G.H.ui.P.Bp);olympe.G.H.ui.P.Bp.Aa=[olympe.N.P.Rn];olympe.G.H.ui.P.im=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'ellipse'));this.O=this.D=1}$D(){const a=this.Wm();return Za(this.qa()+a/2,this.ta()+a/2)}ge(){olympe.G.H.ui.P.Ia.prototype.ge.call(this);const a=this.Wm();this.setAttribute('rx',this.D-a/2);this.setAttribute('ry',this.O-a/2)}ax(){return Math.min(this.D,this.O)}JE(a){this.D=Math.abs(a);this.ge()}KE(a){this.O=Math.abs(a);this.ge()}setRadius(a,b){this.D=Math.abs(a);this.O=
1199
- Math.abs(b);this.ge()}};olympe.G.H.ui.P.im.prototype.setRadius=olympe.G.H.ui.P.im.prototype.setRadius;olympe.G.H.ui.P.im.prototype.setRy=olympe.G.H.ui.P.im.prototype.KE;olympe.G.H.ui.P.im.prototype.setRx=olympe.G.H.ui.P.im.prototype.JE;olympe.G.H.ui.P.im.prototype.refreshBox=olympe.G.H.ui.P.im.prototype.ge;olympe.host.Xc.register(olympe.host.ab.jb.FL,olympe.G.H.ui.P.im);olympe.G.H.ui.P.im.Aa=[olympe.N.P.Tn];olympe.G.H.ui.P.Cp=class extends olympe.G.H.ui.P.Fh{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'feFlood'));this.D=this.O=null}FE(a){this.O=a;this.setAttribute('flood-color',this.O)}HE(a){this.D=a;this.setAttribute('flood-opacity',this.D)}GE(a,b,c,d){this.setAttribute('flood-color',this.O='rgb('+a+','+b+','+c+')');this.D=d;this.setAttribute('flood-opacity',this.D)}};olympe.G.H.ui.P.Cp.prototype.setFloodColorAndOpacity=olympe.G.H.ui.P.Cp.prototype.GE;
1200
- olympe.G.H.ui.P.Cp.prototype.setFloodOpacity=olympe.G.H.ui.P.Cp.prototype.HE;olympe.G.H.ui.P.Cp.prototype.setFloodColor=olympe.G.H.ui.P.Cp.prototype.FE;olympe.host.Xc.register(olympe.host.ab.jb.KL,olympe.G.H.ui.P.Cp);olympe.G.H.ui.P.Cp.Aa=[olympe.N.P.Un];olympe.G.H.ui.P.Wn=class extends olympe.G.H.ui.P.Je{constructor(a,b,c){super(a,b,c);this.D=new Map}Li(a){this.setAttribute('gradientUnits',a?'userSpaceOnUse':'objectBoundingBox')}Bw(a,b){b||(b=olympe.G.H.ui.P.hd.Dg);this.D.has(b)&&this.Lu(b);this.D.set(b,a);this.va().appendChild(a.va())}Lu(a){a||(a=olympe.G.H.ui.P.hd.Dg);const b=this.D.get(a);if(void 0!==b)try{this.va().removeChild(b.va())}catch(c){this.Cb().debug('Not able to remove a child, has probably already been removed')}finally{this.D.delete(a)}else this.Cb().warn('Trying to remove a non existing child: '+
1201
- a)}};olympe.G.H.ui.P.Wn.prototype.removeStop=olympe.G.H.ui.P.Wn.prototype.Lu;olympe.G.H.ui.P.Wn.prototype.addStop=olympe.G.H.ui.P.Wn.prototype.Bw;olympe.G.H.ui.P.Wn.prototype.setAbsolute=olympe.G.H.ui.P.Wn.prototype.Li;olympe.G.H.ui.P.Wn.Aa=[olympe.N.P.Eh];olympe.G.H.ui.P.jm=class extends olympe.G.H.ui.P.Je{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'stop'));this.D=this.O=this.offset=null}Qx(a){this.setAttribute('offset',this.offset=a)}NE(a){this.O=a;this.setAttribute('stop-color',this.O)}OE(a){this.D=a;this.setAttribute('stop-opacity',this.D)}iB(a,b,c,d){this.setAttribute('stop-color',this.O='rgb('+a+','+b+','+c+')');this.D=d;this.setAttribute('stop-opacity',this.D)}};
1202
- olympe.G.H.ui.P.jm.prototype.setStopColorAndOpacity=olympe.G.H.ui.P.jm.prototype.iB;olympe.G.H.ui.P.jm.prototype.setStopOpacity=olympe.G.H.ui.P.jm.prototype.OE;olympe.G.H.ui.P.jm.prototype.setStopColor=olympe.G.H.ui.P.jm.prototype.NE;olympe.G.H.ui.P.jm.prototype.setOffset=olympe.G.H.ui.P.jm.prototype.Qx;olympe.host.Xc.register(olympe.host.ab.jb.OL,olympe.G.H.ui.P.jm);olympe.G.H.ui.P.jm.Aa=[olympe.N.P.Nk];olympe.G.H.ui.P.Dp=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'g'));this.children=new Map}appendChild(a,b){b=null!=b?b:olympe.G.H.ui.P.hd.Dg;this.children.has(b)&&this.removeChild(b);this.children.set(b,a);this.va().appendChild(a.va());a.setAttribute('name_As_A_Child',b);a.Ef(this);a.Pf(this.zo())}removeChild(a){a||(a=olympe.G.H.ui.P.hd.Dg);const b=this.children.get(a);if(void 0!==b)try{this.va().removeChild(b.va()),b.Ef(null),b.Pf(null)}catch(c){this.V.debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.V.warn('Trying to remove a non existing child: '+
1198
+ this.D?'mode':'operator',this.mode=a)}};olympe.G.H.ui.P.Bp.prototype.setMode=olympe.G.H.ui.P.Bp.prototype.Px;olympe.G.H.ui.P.Bp.prototype.setInput2=olympe.G.H.ui.P.Bp.prototype.Lx;olympe.G.H.ui.P.Bp.prototype.setInput=olympe.G.H.ui.P.Bp.prototype.lf;olympe.host.Xc.register(olympe.host.ab.jb.JL,olympe.G.H.ui.P.Bp);olympe.G.H.ui.P.Bp.Aa=[olympe.N.P.Rn];olympe.G.H.ui.P.im=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'ellipse'));this.O=this.D=1}aE(){const a=this.Wm();return Za(this.qa()+a/2,this.ta()+a/2)}ge(){olympe.G.H.ui.P.Ia.prototype.ge.call(this);const a=this.Wm();this.setAttribute('rx',this.D-a/2);this.setAttribute('ry',this.O-a/2)}ax(){return Math.min(this.D,this.O)}KE(a){this.D=Math.abs(a);this.ge()}LE(a){this.O=Math.abs(a);this.ge()}setRadius(a,b){this.D=Math.abs(a);this.O=
1199
+ Math.abs(b);this.ge()}};olympe.G.H.ui.P.im.prototype.setRadius=olympe.G.H.ui.P.im.prototype.setRadius;olympe.G.H.ui.P.im.prototype.setRy=olympe.G.H.ui.P.im.prototype.LE;olympe.G.H.ui.P.im.prototype.setRx=olympe.G.H.ui.P.im.prototype.KE;olympe.G.H.ui.P.im.prototype.refreshBox=olympe.G.H.ui.P.im.prototype.ge;olympe.host.Xc.register(olympe.host.ab.jb.FL,olympe.G.H.ui.P.im);olympe.G.H.ui.P.im.Aa=[olympe.N.P.Tn];olympe.G.H.ui.P.Cp=class extends olympe.G.H.ui.P.Fh{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'feFlood'));this.D=this.O=null}GE(a){this.O=a;this.setAttribute('flood-color',this.O)}IE(a){this.D=a;this.setAttribute('flood-opacity',this.D)}HE(a,b,c,d){this.setAttribute('flood-color',this.O='rgb('+a+','+b+','+c+')');this.D=d;this.setAttribute('flood-opacity',this.D)}};olympe.G.H.ui.P.Cp.prototype.setFloodColorAndOpacity=olympe.G.H.ui.P.Cp.prototype.HE;
1200
+ olympe.G.H.ui.P.Cp.prototype.setFloodOpacity=olympe.G.H.ui.P.Cp.prototype.IE;olympe.G.H.ui.P.Cp.prototype.setFloodColor=olympe.G.H.ui.P.Cp.prototype.GE;olympe.host.Xc.register(olympe.host.ab.jb.KL,olympe.G.H.ui.P.Cp);olympe.G.H.ui.P.Cp.Aa=[olympe.N.P.Un];olympe.G.H.ui.P.Wn=class extends olympe.G.H.ui.P.Je{constructor(a,b,c){super(a,b,c);this.D=new Map}Li(a){this.setAttribute('gradientUnits',a?'userSpaceOnUse':'objectBoundingBox')}Bw(a,b){b||(b=olympe.G.H.ui.P.hd.Dg);this.D.has(b)&&this.Lu(b);this.D.set(b,a);this.va().appendChild(a.va())}Lu(a){a||(a=olympe.G.H.ui.P.hd.Dg);const b=this.D.get(a);if(void 0!==b)try{this.va().removeChild(b.va())}catch(c){this.Cb().debug('Not able to remove a child, has probably already been removed')}finally{this.D.delete(a)}else this.Cb().warn('Trying to remove a non existing child: '+
1201
+ a)}};olympe.G.H.ui.P.Wn.prototype.removeStop=olympe.G.H.ui.P.Wn.prototype.Lu;olympe.G.H.ui.P.Wn.prototype.addStop=olympe.G.H.ui.P.Wn.prototype.Bw;olympe.G.H.ui.P.Wn.prototype.setAbsolute=olympe.G.H.ui.P.Wn.prototype.Li;olympe.G.H.ui.P.Wn.Aa=[olympe.N.P.Eh];olympe.G.H.ui.P.jm=class extends olympe.G.H.ui.P.Je{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'stop'));this.D=this.O=this.offset=null}Qx(a){this.setAttribute('offset',this.offset=a)}OE(a){this.O=a;this.setAttribute('stop-color',this.O)}PE(a){this.D=a;this.setAttribute('stop-opacity',this.D)}iB(a,b,c,d){this.setAttribute('stop-color',this.O='rgb('+a+','+b+','+c+')');this.D=d;this.setAttribute('stop-opacity',this.D)}};
1202
+ olympe.G.H.ui.P.jm.prototype.setStopColorAndOpacity=olympe.G.H.ui.P.jm.prototype.iB;olympe.G.H.ui.P.jm.prototype.setStopOpacity=olympe.G.H.ui.P.jm.prototype.PE;olympe.G.H.ui.P.jm.prototype.setStopColor=olympe.G.H.ui.P.jm.prototype.OE;olympe.G.H.ui.P.jm.prototype.setOffset=olympe.G.H.ui.P.jm.prototype.Qx;olympe.host.Xc.register(olympe.host.ab.jb.OL,olympe.G.H.ui.P.jm);olympe.G.H.ui.P.jm.Aa=[olympe.N.P.Nk];olympe.G.H.ui.P.Dp=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'g'));this.children=new Map}appendChild(a,b){b=null!=b?b:olympe.G.H.ui.P.hd.Dg;this.children.has(b)&&this.removeChild(b);this.children.set(b,a);this.va().appendChild(a.va());a.setAttribute('name_As_A_Child',b);a.Ef(this);a.Pf(this.zo())}removeChild(a){a||(a=olympe.G.H.ui.P.hd.Dg);const b=this.children.get(a);if(void 0!==b)try{this.va().removeChild(b.va()),b.Ef(null),b.Pf(null)}catch(c){this.V.debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.V.warn('Trying to remove a non existing child: '+
1203
1203
  a)}Pf(a){olympe.G.H.ui.P.Ia.prototype.Pf.call(this,a);for(const b of this.children.values())b.Pf(a)}};olympe.G.H.ui.P.Dp.prototype.setContainer=olympe.G.H.ui.P.Dp.prototype.Pf;olympe.G.H.ui.P.Dp.prototype.removeChild=olympe.G.H.ui.P.Dp.prototype.removeChild;olympe.G.H.ui.P.Dp.prototype.appendChild=olympe.G.H.ui.P.Dp.prototype.appendChild;olympe.host.Xc.register(olympe.host.ab.jb.PL,olympe.G.H.ui.P.Dp);olympe.G.H.ui.P.Dp.Aa=[olympe.N.P.dr];function bh(a){let b;switch(a.D){case olympe.ui.ha.uy.Us:b=ch(a)+' meet';break;case olympe.ui.ha.uy.Vs:b=ch(a)+' slice';break;default:b='none'}a.setAttribute('preserveAspectRatio',b)}function ch(a){let b='';switch(a.O){case olympe.ui.ha.Db.Tf:b+='xMin';break;case olympe.ui.ha.Db.wi:b+='xMax';break;default:b+='xMid'}switch(a.$){case olympe.ui.ha.rc.gh:b+='YMin';break;case olympe.ui.ha.rc.zh:b+='YMax';break;default:b+='YMid'}return b}
1204
1204
  olympe.G.H.ui.P.bk=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'image'));this.$=this.O=this.D=this.source=''}ge(){super.ge();this.setAttribute('width',this.Cd());this.setAttribute('height',this.Ce())}ne(a){this.setAttribute('xlink:href',this.source=a,olympe.G.H.ui.P.hd.Ke.rB)}Il(a){this.D=a;bh(this)}Jl(a){this.O=a;bh(this)}Nl(a){this.$=a;bh(this)}};olympe.G.H.ui.P.bk.prototype.setVerticalAlignment=olympe.G.H.ui.P.bk.prototype.Nl;
1205
1205
  olympe.G.H.ui.P.bk.prototype.setHorizontalAlignment=olympe.G.H.ui.P.bk.prototype.Jl;olympe.G.H.ui.P.bk.prototype.setAspectRatioMode=olympe.G.H.ui.P.bk.prototype.Il;olympe.G.H.ui.P.bk.prototype.setSource=olympe.G.H.ui.P.bk.prototype.ne;olympe.G.H.ui.P.bk.prototype.refreshBox=olympe.G.H.ui.P.bk.prototype.ge;olympe.host.Xc.register(olympe.host.ab.jb.QL,olympe.G.H.ui.P.bk);olympe.G.H.ui.P.bk.Aa=[olympe.N.P.Image];function dh(a){let b;switch(a.D){case olympe.ui.ha.uy.Us:b=eh(a)+' meet';break;case olympe.ui.ha.uy.Vs:b=eh(a)+' slice';break;default:b='none'}a.setAttribute('preserveAspectRatio',b)}function eh(a){let b='';switch(a.O){case olympe.ui.ha.Db.Tf:b+='xMin';break;case olympe.ui.ha.Db.wi:b+='xMax';break;default:b+='xMid'}switch(a.$){case olympe.ui.ha.rc.gh:b+='YMin';break;case olympe.ui.ha.rc.zh:b+='YMax';break;default:b+='YMid'}return b}
1206
1206
  olympe.G.H.ui.P.km=class extends olympe.G.H.ui.P.Fh{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'feImage'));this.$=this.O=this.D=this.source=''}ne(a){this.source=a;this.setAttribute('xlink:href',this.source,olympe.G.H.ui.P.hd.Ke.rB)}Il(a){this.D=a;dh(this)}Jl(a){this.O=a;dh(this)}Nl(a){this.$=a;dh(this)}};olympe.G.H.ui.P.km.prototype.setVerticalAlignment=olympe.G.H.ui.P.km.prototype.Nl;olympe.G.H.ui.P.km.prototype.setHorizontalAlignment=olympe.G.H.ui.P.km.prototype.Jl;
1207
- olympe.G.H.ui.P.km.prototype.setAspectRatioMode=olympe.G.H.ui.P.km.prototype.Il;olympe.G.H.ui.P.km.prototype.setSource=olympe.G.H.ui.P.km.prototype.ne;olympe.host.Xc.register(olympe.host.ab.jb.LL,olympe.G.H.ui.P.km);olympe.G.H.ui.P.km.Aa=[olympe.N.P.Pk];olympe.G.H.ui.P.Oi=class extends olympe.G.H.ui.P.Wn{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'linearGradient'))}SE(a){this.setAttribute('x1',a)}YE(a){this.setAttribute('y1',a)}Rx(a,b){this.setAttribute('x1',a);this.setAttribute('y1',b)}TE(a){this.setAttribute('x2',a)}ZE(a){this.setAttribute('y2',a)}Sx(a,b){this.setAttribute('x2',a);this.setAttribute('y2',b)}};olympe.G.H.ui.P.Oi.prototype.setPoint2=olympe.G.H.ui.P.Oi.prototype.Sx;
1208
- olympe.G.H.ui.P.Oi.prototype.setY2=olympe.G.H.ui.P.Oi.prototype.ZE;olympe.G.H.ui.P.Oi.prototype.setX2=olympe.G.H.ui.P.Oi.prototype.TE;olympe.G.H.ui.P.Oi.prototype.setPoint=olympe.G.H.ui.P.Oi.prototype.Rx;olympe.G.H.ui.P.Oi.prototype.setY1=olympe.G.H.ui.P.Oi.prototype.YE;olympe.G.H.ui.P.Oi.prototype.setX1=olympe.G.H.ui.P.Oi.prototype.SE;olympe.host.Xc.register(olympe.host.ab.jb.RL,olympe.G.H.ui.P.Oi);olympe.G.H.ui.P.Oi.Aa=[olympe.N.P.ni];olympe.G.H.ui.P.mm=class extends olympe.G.H.ui.P.pe{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'mask'));this.children=new Map}appendChild(a,b){b||(b=olympe.G.H.ui.P.hd.Dg);this.children.has(b)&&this.removeChild(b);this.children.set(b,a);this.va().appendChild(a.va());a.Ef(this);a.setAttribute('name_As_A_Child',b);a.Pf(this.zo())}removeChild(a){a||(a=olympe.G.H.ui.P.hd.Dg);let b=this.children.get(a);if(void 0!==b)try{this.va().removeChild(b.va()),b.Ef(null),b.Pf(null)}catch(c){this.V.debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.V.warn('Trying to remove a non existing child: '+
1207
+ olympe.G.H.ui.P.km.prototype.setAspectRatioMode=olympe.G.H.ui.P.km.prototype.Il;olympe.G.H.ui.P.km.prototype.setSource=olympe.G.H.ui.P.km.prototype.ne;olympe.host.Xc.register(olympe.host.ab.jb.LL,olympe.G.H.ui.P.km);olympe.G.H.ui.P.km.Aa=[olympe.N.P.Pk];olympe.G.H.ui.P.Oi=class extends olympe.G.H.ui.P.Wn{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'linearGradient'))}TE(a){this.setAttribute('x1',a)}ZE(a){this.setAttribute('y1',a)}Rx(a,b){this.setAttribute('x1',a);this.setAttribute('y1',b)}UE(a){this.setAttribute('x2',a)}$E(a){this.setAttribute('y2',a)}Sx(a,b){this.setAttribute('x2',a);this.setAttribute('y2',b)}};olympe.G.H.ui.P.Oi.prototype.setPoint2=olympe.G.H.ui.P.Oi.prototype.Sx;
1208
+ olympe.G.H.ui.P.Oi.prototype.setY2=olympe.G.H.ui.P.Oi.prototype.$E;olympe.G.H.ui.P.Oi.prototype.setX2=olympe.G.H.ui.P.Oi.prototype.UE;olympe.G.H.ui.P.Oi.prototype.setPoint=olympe.G.H.ui.P.Oi.prototype.Rx;olympe.G.H.ui.P.Oi.prototype.setY1=olympe.G.H.ui.P.Oi.prototype.ZE;olympe.G.H.ui.P.Oi.prototype.setX1=olympe.G.H.ui.P.Oi.prototype.TE;olympe.host.Xc.register(olympe.host.ab.jb.RL,olympe.G.H.ui.P.Oi);olympe.G.H.ui.P.Oi.Aa=[olympe.N.P.ni];olympe.G.H.ui.P.mm=class extends olympe.G.H.ui.P.pe{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'mask'));this.children=new Map}appendChild(a,b){b||(b=olympe.G.H.ui.P.hd.Dg);this.children.has(b)&&this.removeChild(b);this.children.set(b,a);this.va().appendChild(a.va());a.Ef(this);a.setAttribute('name_As_A_Child',b);a.Pf(this.zo())}removeChild(a){a||(a=olympe.G.H.ui.P.hd.Dg);let b=this.children.get(a);if(void 0!==b)try{this.va().removeChild(b.va()),b.Ef(null),b.Pf(null)}catch(c){this.V.debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.V.warn('Trying to remove a non existing child: '+
1209
1209
  a)}Li(a){this.setAttribute('maskUnits',a?'userSpaceOnUse':'objectBoundingBox')}Pf(a){olympe.G.H.ui.P.Ia.prototype.Pf.call(this,a);for(const b of this.children.values())b.Pf(a)}};olympe.G.H.ui.P.mm.prototype.setContainer=olympe.G.H.ui.P.mm.prototype.Pf;olympe.G.H.ui.P.mm.prototype.setAbsolute=olympe.G.H.ui.P.mm.prototype.Li;olympe.G.H.ui.P.mm.prototype.removeChild=olympe.G.H.ui.P.mm.prototype.removeChild;olympe.G.H.ui.P.mm.prototype.appendChild=olympe.G.H.ui.P.mm.prototype.appendChild;
1210
1210
  olympe.host.Xc.register(olympe.host.ab.jb.SL,olympe.G.H.ui.P.mm);olympe.G.H.ui.P.mm.Aa=[olympe.N.P.ao];olympe.G.H.ui.P.Fp=class extends olympe.G.H.ui.P.Fh{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'feMerge'));this.children=new Map}yw(a,b){b||(b=olympe.G.H.ui.P.hd.Dg);this.children.has(b)&&this.Ju(b);const c=document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'feMergeNode');c.setAttributeNS('','in',this.gq(a));this.children.set(b,c);this.va().appendChild(c)}Ju(a){a||(a=olympe.G.H.ui.P.hd.Dg);const b=this.children.get(a);if(b)try{this.va().removeChild(b)}catch(c){this.V.debug('Not able to remove a child, has probably already been removed')}finally{this.children.delete(a)}else this.V.warn('Trying to remove a non existing child: '+
1211
- a)}lf(a,b){b||(b=olympe.G.H.ui.P.hd.Dg);const c=this.children.get(b);c?c.setAttributeNS('','in',this.gq(a)):this.yw(a,b)}};olympe.G.H.ui.P.Fp.prototype.setInput=olympe.G.H.ui.P.Fp.prototype.lf;olympe.G.H.ui.P.Fp.prototype.removeInput=olympe.G.H.ui.P.Fp.prototype.Ju;olympe.G.H.ui.P.Fp.prototype.addInput=olympe.G.H.ui.P.Fp.prototype.yw;olympe.host.Xc.register(olympe.host.ab.jb.ML,olympe.G.H.ui.P.Fp);olympe.G.H.ui.P.Fp.Aa=[olympe.N.P.co];olympe.G.H.ui.P.nm=class extends olympe.G.H.ui.P.Fh{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'feOffset'))}CE(a){this.setAttribute('dx',a)}DE(a){this.setAttribute('dy',a)}Fx(a,b){this.setAttribute('dx',a);this.setAttribute('dy',b)}lf(a){this.setAttribute('in',this.gq(a))}};olympe.G.H.ui.P.nm.prototype.setInput=olympe.G.H.ui.P.nm.prototype.lf;olympe.G.H.ui.P.nm.prototype.setDelta=olympe.G.H.ui.P.nm.prototype.Fx;olympe.G.H.ui.P.nm.prototype.setDeltaY=olympe.G.H.ui.P.nm.prototype.DE;
1212
- olympe.G.H.ui.P.nm.prototype.setDeltaX=olympe.G.H.ui.P.nm.prototype.CE;olympe.host.Xc.register(olympe.host.ab.jb.NL,olympe.G.H.ui.P.nm);olympe.G.H.ui.P.nm.Aa=[olympe.N.P.Vk];function fh(a){let b='',c=a.firstChild;const d=a.qa(),e=a.ta();for(c instanceof olympe.G.H.ui.P.Jv||(b='M'+d+','+e);c;)b+=' '+c.$i(d,e),c=c.Jg();b&&(b+=a.closePath?'Z':'');a.setAttribute('d',b)}
1213
- olympe.G.H.ui.P.wj=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'path'));this.children=new Map;this.O=this.firstChild=null;this.closePath=!1;this.D=null}ax(){return Infinity}ge(){this.setAttribute('transform',bb(this.wE));this.setAttribute('stroke-width',this.Wm());fh(this)}zx(a){this.closePath=a;fh(this)}mh(a){switch(a){case olympe.ui.ha.Tv.Et:this.D='round';break;case olympe.ui.ha.Tv.dD:this.D='square';break;default:this.D='butt'}this.setAttribute('stroke-linecap',
1211
+ a)}lf(a,b){b||(b=olympe.G.H.ui.P.hd.Dg);const c=this.children.get(b);c?c.setAttributeNS('','in',this.gq(a)):this.yw(a,b)}};olympe.G.H.ui.P.Fp.prototype.setInput=olympe.G.H.ui.P.Fp.prototype.lf;olympe.G.H.ui.P.Fp.prototype.removeInput=olympe.G.H.ui.P.Fp.prototype.Ju;olympe.G.H.ui.P.Fp.prototype.addInput=olympe.G.H.ui.P.Fp.prototype.yw;olympe.host.Xc.register(olympe.host.ab.jb.ML,olympe.G.H.ui.P.Fp);olympe.G.H.ui.P.Fp.Aa=[olympe.N.P.co];olympe.G.H.ui.P.nm=class extends olympe.G.H.ui.P.Fh{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'feOffset'))}DE(a){this.setAttribute('dx',a)}EE(a){this.setAttribute('dy',a)}Fx(a,b){this.setAttribute('dx',a);this.setAttribute('dy',b)}lf(a){this.setAttribute('in',this.gq(a))}};olympe.G.H.ui.P.nm.prototype.setInput=olympe.G.H.ui.P.nm.prototype.lf;olympe.G.H.ui.P.nm.prototype.setDelta=olympe.G.H.ui.P.nm.prototype.Fx;olympe.G.H.ui.P.nm.prototype.setDeltaY=olympe.G.H.ui.P.nm.prototype.EE;
1212
+ olympe.G.H.ui.P.nm.prototype.setDeltaX=olympe.G.H.ui.P.nm.prototype.DE;olympe.host.Xc.register(olympe.host.ab.jb.NL,olympe.G.H.ui.P.nm);olympe.G.H.ui.P.nm.Aa=[olympe.N.P.Vk];function fh(a){let b='',c=a.firstChild;const d=a.qa(),e=a.ta();for(c instanceof olympe.G.H.ui.P.Jv||(b='M'+d+','+e);c;)b+=' '+c.$i(d,e),c=c.Jg();b&&(b+=a.closePath?'Z':'');a.setAttribute('d',b)}
1213
+ olympe.G.H.ui.P.wj=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'path'));this.children=new Map;this.O=this.firstChild=null;this.closePath=!1;this.D=null}ax(){return Infinity}ge(){this.setAttribute('transform',bb(this.xE));this.setAttribute('stroke-width',this.Wm());fh(this)}zx(a){this.closePath=a;fh(this)}mh(a){switch(a){case olympe.ui.ha.Tv.Et:this.D='round';break;case olympe.ui.ha.Tv.eD:this.D='square';break;default:this.D='butt'}this.setAttribute('stroke-linecap',
1214
1214
  this.D)}Vp(a,b){b||(b=olympe.G.H.ui.P.hd.Dg);this.children.has(b)&&this.Ku(b);this.children.set(b,a);this.firstChild||(this.firstChild=a);this.O&&this.O.Yj(a);this.O=a;a.Ef(this);fh(this)}Ku(a){a||(a=olympe.G.H.ui.P.hd.Dg);const b=this.children.get(a);if(void 0!==b)for(let c=this.firstChild,d=null;c;d=c,c=c.Jg()){if(c===b){d?d.Yj(c.Jg()):this.firstChild=c.Jg();b.Yj(null);b.Ef(null);this.children.delete(a);break}}else this.V.warn('Trying to remove a non existing child: '+a);fh(this)}};
1215
1215
  olympe.G.H.ui.P.wj.prototype.removeSegment=olympe.G.H.ui.P.wj.prototype.Ku;olympe.G.H.ui.P.wj.prototype.addSegment=olympe.G.H.ui.P.wj.prototype.Vp;olympe.G.H.ui.P.wj.prototype.setLineCap=olympe.G.H.ui.P.wj.prototype.mh;olympe.G.H.ui.P.wj.prototype.setClosed=olympe.G.H.ui.P.wj.prototype.zx;olympe.G.H.ui.P.wj.prototype.refreshBox=olympe.G.H.ui.P.wj.prototype.ge;olympe.host.Xc.register(olympe.host.ab.jb.TL,olympe.G.H.ui.P.wj);olympe.G.H.ui.P.wj.Aa=[olympe.N.P.Yk];function gh(a){a=a.getParent();a instanceof olympe.G.H.ui.P.wj&&fh(a)}olympe.G.H.ui.P.qh=class extends olympe.G.H.ui.P.Je{constructor(a,b){super(a,b,null);this.y=this.x=0;this.$=null}$i(){}oe(a){this.x=a;gh(this)}Fe(a){this.y=a;gh(this)}setPosition(a,b){this.x=a;this.y=b;gh(this)}Yj(a){this.$=a}Jg(){return this.$}};olympe.G.H.ui.P.qh.prototype.getNext=olympe.G.H.ui.P.qh.prototype.Jg;olympe.G.H.ui.P.qh.prototype.setNext=olympe.G.H.ui.P.qh.prototype.Yj;olympe.G.H.ui.P.qh.prototype.setPosition=olympe.G.H.ui.P.qh.prototype.setPosition;
1216
1216
  olympe.G.H.ui.P.qh.prototype.setY=olympe.G.H.ui.P.qh.prototype.Fe;olympe.G.H.ui.P.qh.prototype.setX=olympe.G.H.ui.P.qh.prototype.oe;olympe.G.H.ui.P.qh.prototype.getCommandString=olympe.G.H.ui.P.qh.prototype.$i;olympe.G.H.ui.P.qh.Aa=[olympe.N.P.If];olympe.G.H.ui.P.Pi=class extends olympe.G.H.ui.P.qh{constructor(a,b){super(a,b);this.ca=this.R=this.O=0;this.T=this.D=!1}Tx(a){this.O=a;gh(this)}Ux(a){this.R=a;gh(this)}by(a){this.ca=a;gh(this)}Mx(a){this.D=a;gh(this)}$x(a){this.T=a;gh(this)}$i(a,b){return'A'+this.O+','+this.R+','+this.ca+','+(this.D?'1':'0')+','+(this.T?'1':'0')+','+(a+this.x)+','+(b+this.y)}};olympe.G.H.ui.P.Pi.prototype.getCommandString=olympe.G.H.ui.P.Pi.prototype.$i;olympe.G.H.ui.P.Pi.prototype.setSweepFlag=olympe.G.H.ui.P.Pi.prototype.$x;
1217
- olympe.G.H.ui.P.Pi.prototype.setLargeArcSweepFlag=olympe.G.H.ui.P.Pi.prototype.Mx;olympe.G.H.ui.P.Pi.prototype.setXAxisRotation=olympe.G.H.ui.P.Pi.prototype.by;olympe.G.H.ui.P.Pi.prototype.setRY=olympe.G.H.ui.P.Pi.prototype.Ux;olympe.G.H.ui.P.Pi.prototype.setRX=olympe.G.H.ui.P.Pi.prototype.Tx;olympe.host.Xc.register(olympe.host.ab.jb.UL,olympe.G.H.ui.P.Pi);olympe.G.H.ui.P.Pi.Aa=[olympe.N.P.Vi];olympe.G.H.ui.P.Oh=class extends olympe.G.H.ui.P.qh{constructor(a,b){super(a,b);this.T=this.O=this.R=this.D=0}VE(a){this.D=a;gh(this)}aF(a){this.R=a;gh(this)}Bx(a,b){this.D=a;this.R=b;gh(this)}WE(a){this.O=a;gh(this)}bF(a){this.T=a;gh(this)}Cx(a,b){this.O=a;this.T=b;gh(this)}$i(a,b){return'C'+(a+this.D)+','+(b+this.R)+' '+(a+this.O)+','+(b+this.T)+' '+(a+this.x)+','+(b+this.y)}};olympe.G.H.ui.P.Oh.prototype.getCommandString=olympe.G.H.ui.P.Oh.prototype.$i;
1218
- olympe.G.H.ui.P.Oh.prototype.setControl2=olympe.G.H.ui.P.Oh.prototype.Cx;olympe.G.H.ui.P.Oh.prototype.setYControl2=olympe.G.H.ui.P.Oh.prototype.bF;olympe.G.H.ui.P.Oh.prototype.setXControl2=olympe.G.H.ui.P.Oh.prototype.WE;olympe.G.H.ui.P.Oh.prototype.setControl1=olympe.G.H.ui.P.Oh.prototype.Bx;olympe.G.H.ui.P.Oh.prototype.setYControl1=olympe.G.H.ui.P.Oh.prototype.aF;olympe.G.H.ui.P.Oh.prototype.setXControl1=olympe.G.H.ui.P.Oh.prototype.VE;olympe.host.Xc.register(olympe.host.ab.jb.VL,olympe.G.H.ui.P.Oh);
1219
- olympe.G.H.ui.P.Oh.Aa=[olympe.N.P.si];olympe.G.H.ui.P.Xy=class extends olympe.G.H.ui.P.qh{constructor(a,b){super(a,b);this.D='L'}rd(a){this.D=a?'M':'L'}$i(a,b){return this.D+(a+this.x)+','+(b+this.y)}};olympe.G.H.ui.P.Xy.prototype.getCommandString=olympe.G.H.ui.P.Xy.prototype.$i;olympe.host.Xc.register(olympe.host.ab.jb.WL,olympe.G.H.ui.P.Xy);olympe.G.H.ui.P.Xy.Aa=[olympe.N.P.xz];olympe.G.H.ui.P.Jv=class extends olympe.G.H.ui.P.qh{constructor(a,b){super(a,b)}$i(a,b){return'M'+(a+this.x)+','+(b+this.y)}};olympe.G.H.ui.P.Jv.prototype.getCommandString=olympe.G.H.ui.P.Jv.prototype.$i;olympe.host.Xc.register(olympe.host.ab.jb.XL,olympe.G.H.ui.P.Jv);olympe.G.H.ui.P.Jv.Aa=[olympe.N.P.yz];olympe.G.H.ui.P.om=class extends olympe.G.H.ui.P.qh{constructor(a,b){super(a,b);this.O=this.D=0}UE(a){this.D=a;gh(this)}$E(a){this.O=a;gh(this)}Ax(a,b){this.D=a;this.O=b;gh(this)}$i(a,b){return'S'+(a+this.D)+','+(b+this.O)+' '+(a+this.x)+','+(b+this.y)}};olympe.G.H.ui.P.om.prototype.getCommandString=olympe.G.H.ui.P.om.prototype.$i;olympe.G.H.ui.P.om.prototype.setControl=olympe.G.H.ui.P.om.prototype.Ax;olympe.G.H.ui.P.om.prototype.setYControl=olympe.G.H.ui.P.om.prototype.$E;
1220
- olympe.G.H.ui.P.om.prototype.setXControl=olympe.G.H.ui.P.om.prototype.UE;olympe.host.Xc.register(olympe.host.ab.jb.YL,olympe.G.H.ui.P.om);olympe.G.H.ui.P.om.Aa=[olympe.N.P.io];olympe.G.H.ui.P.Gp=class extends olympe.G.H.ui.P.Wn{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'radialGradient'))}setRadius(a){this.setAttribute('r',a)}xx(a,b){this.setAttribute('cx',a);this.setAttribute('cy',b)}Jx(a,b){this.setAttribute('fx',a);this.setAttribute('fy',b)}};olympe.G.H.ui.P.Gp.prototype.setFocalPoint=olympe.G.H.ui.P.Gp.prototype.Jx;olympe.G.H.ui.P.Gp.prototype.setCenter=olympe.G.H.ui.P.Gp.prototype.xx;olympe.G.H.ui.P.Gp.prototype.setRadius=olympe.G.H.ui.P.Gp.prototype.setRadius;
1221
- olympe.host.Xc.register(olympe.host.ab.jb.ZL,olympe.G.H.ui.P.Gp);olympe.G.H.ui.P.Gp.Aa=[olympe.N.P.ko];olympe.G.H.ui.P.ot=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'rect'))}$D(){const a=this.Wm();return Za(this.qa()+a/2,this.ta()+a/2)}ax(){return Math.min(this.Cd()/2,this.Ce()/2)}ge(){olympe.G.H.ui.P.Ia.prototype.ge.call(this);const a=this.Wm(),b=this.Cd(),c=this.Ce();this.setAttribute('height',c-a);this.setAttribute('width',b-a);this.filter&&this.filter.Dx(-a/2,-a/2,b,c)}Wb(a){this.setAttribute('rx',a);this.setAttribute('ry',a)}};
1217
+ olympe.G.H.ui.P.Pi.prototype.setLargeArcSweepFlag=olympe.G.H.ui.P.Pi.prototype.Mx;olympe.G.H.ui.P.Pi.prototype.setXAxisRotation=olympe.G.H.ui.P.Pi.prototype.by;olympe.G.H.ui.P.Pi.prototype.setRY=olympe.G.H.ui.P.Pi.prototype.Ux;olympe.G.H.ui.P.Pi.prototype.setRX=olympe.G.H.ui.P.Pi.prototype.Tx;olympe.host.Xc.register(olympe.host.ab.jb.UL,olympe.G.H.ui.P.Pi);olympe.G.H.ui.P.Pi.Aa=[olympe.N.P.Vi];olympe.G.H.ui.P.Oh=class extends olympe.G.H.ui.P.qh{constructor(a,b){super(a,b);this.T=this.O=this.R=this.D=0}WE(a){this.D=a;gh(this)}bF(a){this.R=a;gh(this)}Bx(a,b){this.D=a;this.R=b;gh(this)}XE(a){this.O=a;gh(this)}cF(a){this.T=a;gh(this)}Cx(a,b){this.O=a;this.T=b;gh(this)}$i(a,b){return'C'+(a+this.D)+','+(b+this.R)+' '+(a+this.O)+','+(b+this.T)+' '+(a+this.x)+','+(b+this.y)}};olympe.G.H.ui.P.Oh.prototype.getCommandString=olympe.G.H.ui.P.Oh.prototype.$i;
1218
+ olympe.G.H.ui.P.Oh.prototype.setControl2=olympe.G.H.ui.P.Oh.prototype.Cx;olympe.G.H.ui.P.Oh.prototype.setYControl2=olympe.G.H.ui.P.Oh.prototype.cF;olympe.G.H.ui.P.Oh.prototype.setXControl2=olympe.G.H.ui.P.Oh.prototype.XE;olympe.G.H.ui.P.Oh.prototype.setControl1=olympe.G.H.ui.P.Oh.prototype.Bx;olympe.G.H.ui.P.Oh.prototype.setYControl1=olympe.G.H.ui.P.Oh.prototype.bF;olympe.G.H.ui.P.Oh.prototype.setXControl1=olympe.G.H.ui.P.Oh.prototype.WE;olympe.host.Xc.register(olympe.host.ab.jb.VL,olympe.G.H.ui.P.Oh);
1219
+ olympe.G.H.ui.P.Oh.Aa=[olympe.N.P.si];olympe.G.H.ui.P.Xy=class extends olympe.G.H.ui.P.qh{constructor(a,b){super(a,b);this.D='L'}rd(a){this.D=a?'M':'L'}$i(a,b){return this.D+(a+this.x)+','+(b+this.y)}};olympe.G.H.ui.P.Xy.prototype.getCommandString=olympe.G.H.ui.P.Xy.prototype.$i;olympe.host.Xc.register(olympe.host.ab.jb.WL,olympe.G.H.ui.P.Xy);olympe.G.H.ui.P.Xy.Aa=[olympe.N.P.xz];olympe.G.H.ui.P.Jv=class extends olympe.G.H.ui.P.qh{constructor(a,b){super(a,b)}$i(a,b){return'M'+(a+this.x)+','+(b+this.y)}};olympe.G.H.ui.P.Jv.prototype.getCommandString=olympe.G.H.ui.P.Jv.prototype.$i;olympe.host.Xc.register(olympe.host.ab.jb.XL,olympe.G.H.ui.P.Jv);olympe.G.H.ui.P.Jv.Aa=[olympe.N.P.yz];olympe.G.H.ui.P.om=class extends olympe.G.H.ui.P.qh{constructor(a,b){super(a,b);this.O=this.D=0}VE(a){this.D=a;gh(this)}aF(a){this.O=a;gh(this)}Ax(a,b){this.D=a;this.O=b;gh(this)}$i(a,b){return'S'+(a+this.D)+','+(b+this.O)+' '+(a+this.x)+','+(b+this.y)}};olympe.G.H.ui.P.om.prototype.getCommandString=olympe.G.H.ui.P.om.prototype.$i;olympe.G.H.ui.P.om.prototype.setControl=olympe.G.H.ui.P.om.prototype.Ax;olympe.G.H.ui.P.om.prototype.setYControl=olympe.G.H.ui.P.om.prototype.aF;
1220
+ olympe.G.H.ui.P.om.prototype.setXControl=olympe.G.H.ui.P.om.prototype.VE;olympe.host.Xc.register(olympe.host.ab.jb.YL,olympe.G.H.ui.P.om);olympe.G.H.ui.P.om.Aa=[olympe.N.P.io];olympe.G.H.ui.P.Gp=class extends olympe.G.H.ui.P.Wn{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'radialGradient'))}setRadius(a){this.setAttribute('r',a)}xx(a,b){this.setAttribute('cx',a);this.setAttribute('cy',b)}Jx(a,b){this.setAttribute('fx',a);this.setAttribute('fy',b)}};olympe.G.H.ui.P.Gp.prototype.setFocalPoint=olympe.G.H.ui.P.Gp.prototype.Jx;olympe.G.H.ui.P.Gp.prototype.setCenter=olympe.G.H.ui.P.Gp.prototype.xx;olympe.G.H.ui.P.Gp.prototype.setRadius=olympe.G.H.ui.P.Gp.prototype.setRadius;
1221
+ olympe.host.Xc.register(olympe.host.ab.jb.ZL,olympe.G.H.ui.P.Gp);olympe.G.H.ui.P.Gp.Aa=[olympe.N.P.ko];olympe.G.H.ui.P.ot=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'rect'))}aE(){const a=this.Wm();return Za(this.qa()+a/2,this.ta()+a/2)}ax(){return Math.min(this.Cd()/2,this.Ce()/2)}ge(){olympe.G.H.ui.P.Ia.prototype.ge.call(this);const a=this.Wm(),b=this.Cd(),c=this.Ce();this.setAttribute('height',c-a);this.setAttribute('width',b-a);this.filter&&this.filter.Dx(-a/2,-a/2,b,c)}Wb(a){this.setAttribute('rx',a);this.setAttribute('ry',a)}};
1222
1222
  olympe.G.H.ui.P.ot.prototype.setCornerRadius=olympe.G.H.ui.P.ot.prototype.Wb;olympe.G.H.ui.P.ot.prototype.refreshBox=olympe.G.H.ui.P.ot.prototype.ge;olympe.host.Xc.register(olympe.host.ab.jb.$L,olympe.G.H.ui.P.ot);olympe.G.H.ui.P.ot.Aa=[olympe.N.P.ye];function hh(a){null!==a.$&&a.zo()&&setTimeout(()=>{const b=a.va().getBBox();a.$(b.width,b.height)},0)}
1223
- olympe.G.H.ui.P.bh=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'text'));this.ma=this.da=this.text=this.fontSize=null;this.O='inherit';this.$=null}rb(a){this.fontSize=a;this.setAttribute('font-size',this.fontSize);hh(this)}Jb(a){this.text=a;this.va().textContent=this.text;this.setAttribute('text',this.text);hh(this)}vb(a){this.da=a;this.setAttribute('font-family',this.da);hh(this)}Bb(a){this.ma=a;this.setAttribute('font-weight',this.ma);
1223
+ olympe.G.H.ui.P.bh=class extends olympe.G.H.ui.P.Ia{constructor(a,b){super(a,b,document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'text'));this.ma=this.da=this.text=this.fontSize=null;this.O='inherit';this.$=null}rb(a){this.fontSize=a;this.setAttribute('font-size',this.fontSize);hh(this)}Jb(a){this.text=a;this.va().textContent=this.text;this.setAttribute('text',this.text);hh(this)}wb(a){this.da=a;this.setAttribute('font-family',this.da);hh(this)}Bb(a){this.ma=a;this.setAttribute('font-weight',this.ma);
1224
1224
  hh(this)}Kx(a){switch(a){case olympe.ui.ha.Db.Sb:this.O='middle';break;case olympe.ui.ha.Db.wi:this.O='end';break;default:this.O='left'}this.setAttribute('text-anchor',this.O)}Pf(a){olympe.G.H.ui.P.Ia.prototype.Pf.call(this,a);hh(this)}fp(a){this.$=a;hh(this)}Rq(){this.$=null}};olympe.G.H.ui.P.bh.prototype.unregisterTextSize=olympe.G.H.ui.P.bh.prototype.Rq;olympe.G.H.ui.P.bh.prototype.registerTextSize=olympe.G.H.ui.P.bh.prototype.fp;olympe.G.H.ui.P.bh.prototype.setContainer=olympe.G.H.ui.P.bh.prototype.Pf;
1225
- olympe.G.H.ui.P.bh.prototype.setHorizontalAlign=olympe.G.H.ui.P.bh.prototype.Kx;olympe.G.H.ui.P.bh.prototype.setFontWeight=olympe.G.H.ui.P.bh.prototype.Bb;olympe.G.H.ui.P.bh.prototype.setFontFamily=olympe.G.H.ui.P.bh.prototype.vb;olympe.G.H.ui.P.bh.prototype.setText=olympe.G.H.ui.P.bh.prototype.Jb;olympe.G.H.ui.P.bh.prototype.setFontSize=olympe.G.H.ui.P.bh.prototype.rb;olympe.host.Xc.register(olympe.host.ab.jb.bM,olympe.G.H.ui.P.bh);olympe.G.H.ui.P.bh.Aa=[olympe.N.P.Text];olympe.G.H.ui.P.Hp=class extends olympe.G.H.ui.P.bh{constructor(a,b){super(a,b);this.path=null;this.D=document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'textPath');this.va().appendChild(this.D)}As(a){this.path=a;this.D.setAttributeNS(olympe.G.H.ui.P.hd.Ke.rB,'xlink:href','#'+this.path.ja());a=this.uk();const b=this.path.va();a&&b.parentNode!==a&&a.appendChild(b)}Jb(a){let b;for(;b=this.D.firstChild;)this.D.removeChild(b);this.D.appendChild(document.createTextNode(a))}Kr(){olympe.G.H.ui.P.Ia.prototype.Kr.call(this);
1225
+ olympe.G.H.ui.P.bh.prototype.setHorizontalAlign=olympe.G.H.ui.P.bh.prototype.Kx;olympe.G.H.ui.P.bh.prototype.setFontWeight=olympe.G.H.ui.P.bh.prototype.Bb;olympe.G.H.ui.P.bh.prototype.setFontFamily=olympe.G.H.ui.P.bh.prototype.wb;olympe.G.H.ui.P.bh.prototype.setText=olympe.G.H.ui.P.bh.prototype.Jb;olympe.G.H.ui.P.bh.prototype.setFontSize=olympe.G.H.ui.P.bh.prototype.rb;olympe.host.Xc.register(olympe.host.ab.jb.bM,olympe.G.H.ui.P.bh);olympe.G.H.ui.P.bh.Aa=[olympe.N.P.Text];olympe.G.H.ui.P.Hp=class extends olympe.G.H.ui.P.bh{constructor(a,b){super(a,b);this.path=null;this.D=document.createElementNS(olympe.G.H.ui.P.hd.Ke.Gf,'textPath');this.va().appendChild(this.D)}As(a){this.path=a;this.D.setAttributeNS(olympe.G.H.ui.P.hd.Ke.rB,'xlink:href','#'+this.path.ja());a=this.uk();const b=this.path.va();a&&b.parentNode!==a&&a.appendChild(b)}Jb(a){let b;for(;b=this.D.firstChild;)this.D.removeChild(b);this.D.appendChild(document.createTextNode(a))}Kr(){olympe.G.H.ui.P.Ia.prototype.Kr.call(this);
1226
1226
  if(this.path){const a=this.uk();a&&a.appendChild(this.path.va())}}};olympe.G.H.ui.P.Hp.prototype.appendDefs=olympe.G.H.ui.P.Hp.prototype.Kr;olympe.G.H.ui.P.Hp.prototype.setText=olympe.G.H.ui.P.Hp.prototype.Jb;olympe.G.H.ui.P.Hp.prototype.setPath=olympe.G.H.ui.P.Hp.prototype.As;olympe.host.Xc.register(olympe.host.ab.jb.cM,olympe.G.H.ui.P.Hp);olympe.G.H.ui.P.Hp.Aa=[olympe.N.P.qw];olympe.G.H.Bc={};function ih(a){switch(a.D){case olympe.G.H.Bc.dh.C.CLOSING:case olympe.G.H.Bc.dh.C.OPEN:return a.D=olympe.G.H.Bc.dh.C.OPEN,Promise.resolve();case olympe.G.H.Bc.dh.C.oz:break;case olympe.G.H.Bc.dh.C.CLOSED:a.V.debug(`Opening DB ${a.ca}`);a.D=olympe.G.H.Bc.dh.C.oz;let b=Promise.resolve();const c=indexedDB.open(a.ca,a.Ha);c.onerror=()=>{a.V.error(`Failed to open DB with code: ${c.error}`);for(const d of a.R)d(c.error);a.R=[]};c.onblocked=()=>{a.V.error('Database blocked')};c.onupgradeneeded=()=>{const d=
1227
1227
  c.result;a.V.debug(`Upgrading DB ${a.ca} to version ${a.Ha}`);b=a.update(d)};c.onsuccess=()=>{a.db=c.result;a.D===olympe.G.H.Bc.dh.C.oz&&(a.D=olympe.G.H.Bc.dh.C.OPEN);b.then(()=>{for(const d of a.R)d(null)}).catch(d=>{for(const e of a.R)e(d)}).finally(()=>{a.R=[]})};break;default:a.V.error('DB is in invalid state, it should never happen')}return new Promise((b,c)=>{a.R.push(d=>d?c(d):b())})}
1228
1228
  olympe.G.H.Bc.dh=class{constructor(a,b,c,d){this.ca=a;this.Ha=b;this.V=c;this.D=olympe.G.H.Bc.dh.C.CLOSED;this.db=null;this.stack=new olympe.G.H.Bc.jR;this.update=d;this.R=[];this.ma=[]}close(){switch(this.D){case olympe.G.H.Bc.dh.C.CLOSED:return Promise.resolve();case olympe.G.H.Bc.dh.C.oz:case olympe.G.H.Bc.dh.C.OPEN:case olympe.G.H.Bc.dh.C.CLOSING:this.V.debug(`Closing DB ${this.ca}`);this.D=olympe.G.H.Bc.dh.C.CLOSING;if(null===this.db)break;this.db.close();this.db=null;this.stack.clear();this.D=
@@ -1235,44 +1235,44 @@ c.ud,Nj:!0})}T(a,b,c){return this.C(()=>{const d=this.db.transaction(a,'readonly
1235
1235
  {const c=this.db.transaction(a,'readwrite').objectStore(a).clear();return new Promise((d,e)=>{c.onsuccess=()=>d(c.result);c.onerror=()=>e(c.error)})},{Bd:'clear',ud:null==b?void 0:b.ud,Nj:!0})}da(a,b,c,d){return this.C(()=>{const e=this.db.transaction(a,'readonly').objectStore(a).index(b).getAll(IDBKeyRange.only(c));return new Promise((f,g)=>{e.onsuccess=()=>f(e.result);e.onerror=()=>g(e.error)})},{Bd:'getFromIndex',ud:null==d?void 0:d.ud})}C(a,b){const c=this;return q(function*(){if(!1===(null==
1236
1236
  b?void 0:b.ud)){(null==b?0:b.Bd)&&c.V.trace(`Processing operation ${b.Bd} immediately - without using the stack`);if(c.D!==olympe.G.H.Bc.dh.C.OPEN)throw c.V.error('Trying to run an operation when the DB is closed. You probably should run this operation with the options "useStack" to "true"'),Error('Trying to run an operation when the DB is closed. You probably should run this operation with the options "useStack" to "true"');return a().then(d=>{(null==b?0:b.Bd)&&c.V.trace(`Operation ${b.Bd} ran immediately has resolved`);
1237
1237
  return d}).catch(d=>{(null==b?0:b.Bd)&&c.V.trace(`Operation ${b.Bd} ran immediately has been rejected with message: ${d}`);throw d;})}(null==b?0:b.Bd)&&c.V.trace(`Adding operation ${b.Bd} to the stack`);return((null==b?0:b.Nj)?c.stack.$:c.stack.W).call(c.stack,()=>q(function*(){yield ih(c);const d=yield a();0===c.stack.size()&&(yield c.close());return d}))})}};olympe.G.H.Bc.dh.C={CLOSED:0,oz:1,OPEN:2,CLOSING:3};olympe.G.H.Bc.dh.Aa=[olympe.Bc.AS];olympe.G.H.Bc.qH=class{constructor(a){this.C=new Map;this.V=a}D(a,b,c){if(!c)throw Error(`Missing mandatory "update" method when calling "getDatabase('${a}', ${b})"`);this.C.has(a)||this.C.set(a,new olympe.G.H.Bc.dh(a,b,this.V,c));return this.C.get(a)}};olympe.G.H.Bc.qH.Aa=[olympe.Bc.BS];function jh(a,b,c){return new Promise((d,e)=>{a.$b.push(new olympe.G.H.Bc.kR(d,e,b,c));rb(a)})}olympe.G.H.Bc.jR=class extends olympe.oa.promise.mw{constructor(){super();this.bn=5E3}C(){throw Error('Use addReadOperation() or addWriteOperation() instead');}W(a){return jh(this,a,!1)}$(a){return jh(this,a,!0)}T(a){super.T(a);1!==this.bn||0!==this.$b.length&&this.$b[0].Nj()||(this.bn=5E3)}R(){this.$b.length&&this.$b[0].Nj()&&(this.bn=1);return this.D<this.bn}};
1238
- olympe.G.H.Bc.kR=class extends olympe.oa.promise.jL{constructor(a,b,c,d){super(a,b,c);this.write=d}Nj(){return this.write}};olympe.G.H.Bc.gz=class extends olympe.Bc.gz{constructor(){super();this.storage=window.localStorage}get(a){let b;return null!=(b=this.storage.getItem(a))?b:null}set(a,b){this.storage.setItem(a,b);return this}delete(a){this.storage.removeItem(a)}};olympe.sa.$e(function(a){B(a,olympe.Bc.ba.fz,olympe.G.H.Bc.gz);B(a,olympe.Bc.ba.dz,olympe.G.H.Bc.qH,olympe.Bc.ba.Vb)},'olympe.native.html.localstorage');olympe.G.H.storage={};olympe.G.H.storage.Storage=class{constructor(a){this.V=a}write(a,b,c,d,e){const f=`${b}/${a}`;if(c instanceof Blob){const g=new FileReader;g.onloadend=()=>{localStorage.setItem(f,olympe.oa.Dj().C(g.result));e()};g.readAsArrayBuffer(c)}else localStorage.setItem(f,c),e()}close(a){a(null)}};olympe.G.H.storage.Storage.Aa=[olympe.Bc.Storage];olympe.sa.$e(function(a){Ta(a,olympe.Bc.ba.kw,olympe.G.H.storage.Storage,olympe.host.ba.Vb)},'olympe.native.html.storage');olympe.Jo={};olympe.Jo.pa={VERSION:'version.version',WP:'version.branch',Pn:'version.commit',zU:'version.tag',PG:'version.olympe-framework',XP:'version.build'};olympe.sa.$e(function(a){E(a,olympe.Jo.pa.VERSION,'');E(a,olympe.Jo.pa.WP,'');E(a,olympe.Jo.pa.Pn,'');E(a,olympe.Jo.pa.zU,'');E(a,olympe.Jo.pa.PG,'');E(a,olympe.Jo.pa.XP,'')},'olympe.main');const kh=a=>{const b=olympe.oa.PO(location.href).parameters;a=new olympe.sa.sQ(a,Object.assign({},b));Fa(a);Ja(a.compile())};
1238
+ olympe.G.H.Bc.kR=class extends olympe.oa.promise.jL{constructor(a,b,c,d){super(a,b,c);this.write=d}Nj(){return this.write}};olympe.G.H.Bc.gz=class extends olympe.Bc.gz{constructor(){super();this.storage=window.localStorage}get(a){let b;return null!=(b=this.storage.getItem(a))?b:null}set(a,b){this.storage.setItem(a,b);return this}delete(a){this.storage.removeItem(a)}};olympe.sa.$e(function(a){B(a,olympe.Bc.ba.fz,olympe.G.H.Bc.gz);B(a,olympe.Bc.ba.dz,olympe.G.H.Bc.qH,olympe.Bc.ba.Vb)},'olympe.native.html.localstorage');olympe.G.H.storage={};olympe.G.H.storage.Storage=class{constructor(a){this.V=a}write(a,b,c,d,e){const f=`${b}/${a}`;if(c instanceof Blob){const g=new FileReader;g.onloadend=()=>{localStorage.setItem(f,olympe.oa.Dj().C(g.result));e()};g.readAsArrayBuffer(c)}else localStorage.setItem(f,c),e()}close(a){a(null)}};olympe.G.H.storage.Storage.Aa=[olympe.Bc.Storage];olympe.sa.$e(function(a){Ta(a,olympe.Bc.ba.kw,olympe.G.H.storage.Storage,olympe.host.ba.Vb)},'olympe.native.html.storage');olympe.Jo={};olympe.Jo.pa={VERSION:'version.version',WP:'version.branch',Pn:'version.commit',zU:'version.tag',QG:'version.olympe-framework',XP:'version.build'};olympe.sa.$e(function(a){E(a,olympe.Jo.pa.VERSION,'');E(a,olympe.Jo.pa.WP,'');E(a,olympe.Jo.pa.Pn,'');E(a,olympe.Jo.pa.zU,'');E(a,olympe.Jo.pa.QG,'');E(a,olympe.Jo.pa.XP,'')},'olympe.main');const kh=a=>{const b=olympe.oa.PO(location.href).parameters;a=new olympe.sa.sQ(a,Object.assign({},b));Fa(a);Ja(a.compile())};
1239
1239
  olympe.oa.SX(a=>{const b=new Headers;b.append('pragma','no-cache');b.append('cache-control','no-cache');return fetch(a,{method:olympe.Fa.Rc.gk.GET,headers:b}).then(c=>c.ok?c.text():null).catch(c=>{console.error(`Failed to load config file: ${c}`);return null})}).then(a=>{try{'loading'===document.readyState?document.addEventListener('DOMContentLoaded',()=>kh(a),{once:!0}):kh(a)}catch(b){console.error(`Failed to start Olympe: ${b}`)}}).catch(a=>{console.error(`Failed to load config files: ${a}`)});olympe.dc={};olympe.dc.Ib={ORIGIN:'<',DESTINATION:'>'};z('olympe.dc.Direction',olympe.dc.Ib);olympe.dc.Lf={sh:'ff022000000000000000',bt:'ff02200000000000000e',By:'ff02200000000000000f'};olympe.dc.HH={VERSION:'@v',RK:'@s'};olympe.dc.li={sj:'?',Kp:'~'};olympe.dc.A1={nr:'online',jk:'offline',h0:'invalidate'};olympe.dc.Jc={SELF:'self',SERVER:'server',Rp:'remote'};
1240
- olympe.dc.Te={NONE:null,tG:'ff023000000000000037',Qg:'ff023000000000000137',Wi:'ff023000000000000237',jU:'ff023000000000000337',zQ:'ff023000000000000437',KU:'ff023000000000000537',j0:olympe.dc.li.Kp+'ff023000000000000037',k0:olympe.dc.li.Kp+'ff023000000000000237',i0:olympe.dc.li.Kp+'ff023000000000000437',A2:olympe.dc.li.Kp+'ff023000000000000537'};olympe.dc.WJ=class extends Error{constructor(a){var b=olympe.dc.eb(),c=olympe.dc.Kj(),d=b.model(a);d=`\n- model: ${d} (${d?b.name(d):'no name'})`;b=b.source(a);c=`\n- source: ${b} (${b?c.Sd(b).name():'no name'})`;super(`Trying to use a CloudObject that does not exist:\n- tag: ${a}${d}${c}${''}`)}};olympe.dc.PJ=class extends Error{constructor(){var a=lh();super('Try to access a resource not available yet: BusinessContainer, wait for it to be ready');this.C=a}};olympe.dc.Ut=class{yf(){}oh(){}D(){}Qb(){}Xf(){}};olympe.dc.hK=class{Wf(){}ja(){}Qc(){}};function mh(a){return olympe.dc.CloudObject.get(a.tag)}olympe.dc.Kf=class{constructor(a){this.tag='string'===typeof a?a:a.ka()}ka(){return this.tag}Rb(a){return a instanceof olympe.dc.Kf&&this.tag===a.tag}};olympe.dc.Kf.Aa=[olympe.dc.Ok];olympe.dc.Kf.prototype.Rb.K=olympe.j.J.O;olympe.dc.QQ=class a{constructor(b,c,d,e,f,g){this.V=b;this.ca=c;this.db=c.view;this.da=d;this.kf=e;this.R=f;this.T=g;this.C=new Map;this.D=kb(new olympe.oa.Nt(6E5),(k,l)=>{URL.revokeObjectURL(l);nh(this.db,k,a.C(k))})}ma(b,c,d,e,f){this.Ha(c).then(g=>{this.Ka(b,g,d,!!this.T,e,f)}).catch(g=>this.V.error(g))}O(b){const c=this;return q(function*(){const d=f=>{f=`Failed to download file ${b.ka()}: ${f}`;c.V.error(f);throw Error(f);},e=b.ka();if(ib(c.D.C,e)){const f=c.D.get(e);return c.R.O(f).then(g=>
1240
+ olympe.dc.Te={NONE:null,uG:'ff023000000000000037',Qg:'ff023000000000000137',Wi:'ff023000000000000237',jU:'ff023000000000000337',zQ:'ff023000000000000437',KU:'ff023000000000000537',j0:olympe.dc.li.Kp+'ff023000000000000037',k0:olympe.dc.li.Kp+'ff023000000000000237',i0:olympe.dc.li.Kp+'ff023000000000000437',A2:olympe.dc.li.Kp+'ff023000000000000537'};olympe.dc.WJ=class extends Error{constructor(a){var b=olympe.dc.eb(),c=olympe.dc.Kj(),d=b.model(a);d=`\n- model: ${d} (${d?b.name(d):'no name'})`;b=b.source(a);c=`\n- source: ${b} (${b?c.Sd(b).name():'no name'})`;super(`Trying to use a CloudObject that does not exist:\n- tag: ${a}${d}${c}${''}`)}};olympe.dc.PJ=class extends Error{constructor(){var a=lh();super('Try to access a resource not available yet: BusinessContainer, wait for it to be ready');this.C=a}};olympe.dc.Ut=class{yf(){}oh(){}D(){}Qb(){}Xf(){}};olympe.dc.hK=class{Wf(){}ja(){}Qc(){}};function mh(a){return olympe.dc.CloudObject.get(a.tag)}olympe.dc.Kf=class{constructor(a){this.tag='string'===typeof a?a:a.ka()}ka(){return this.tag}Rb(a){return a instanceof olympe.dc.Kf&&this.tag===a.tag}};olympe.dc.Kf.Aa=[olympe.dc.Ok];olympe.dc.Kf.prototype.Rb.K=olympe.j.J.O;olympe.dc.QQ=class a{constructor(b,c,d,e,f,g){this.V=b;this.ca=c;this.db=c.view;this.da=d;this.kf=e;this.R=f;this.T=g;this.C=new Map;this.D=kb(new olympe.oa.Nt(6E5),(k,l)=>{URL.revokeObjectURL(l);nh(this.db,k,a.C(k))})}ma(b,c,d,e,f){this.Ha(c).then(g=>{this.Ka(b,g,d,!!this.T,e,f)}).catch(g=>this.V.error(g))}O(b){const c=this;return q(function*(){const d=f=>{f=`Failed to download file ${b.ka()}: ${f}`;c.V.error(f);throw Error(f);},e=b.ka();if(ib(c.D.C,e)){const f=c.D.get(e);return c.R.O(f).then(g=>
1241
1241
  g.arrayBuffer()).then(g=>new Uint8Array(g,0,g.byteLength)).catch(d)}return c.downloadFileContent(b).then(f=>db(f)).then(f=>{if(c.T){let g;const k=null!=(g=b.get(olympe.dm.File.mimeTypeProp))?g:'application/data';c.W(e,new Blob([f],{type:k}))}return f}).catch(d)})}downloadFileContent(b){var c=b.ka(),d=b.get(olympe.dm.File.C);const e=b.get(olympe.dm.File.urlProp);if(e.startsWith('stream:'))return this.$(c).then(()=>this.downloadFileContent(b));if(e.startsWith('blob:'))return this.R.O(e).then(f=>f.arrayBuffer()).then(f=>
1242
1242
  new Uint8Array(f,0,f.byteLength));if(d)return d=this.db.model(b),c=new olympe.dc.Request(olympe.dc.Request.C.Zq,olympe.dc.Kj().Em(b),{tag:c,model:d,url:e.valueOf()}),oh(this.kf,c);c=bd(e);ed(c,olympe.Fa.Rc.ResponseType.AB);return this.da.C(c).then(f=>{const g=f.jh();if(200<=g&&300>g)return f.data;throw Error(`Failed to download file ${b}. Response code ${g}`);})}za(b,c,d){c=new olympe.dc.Request(olympe.dc.Request.C.Yq,d,{tag:b,model:c});return oh(this.kf,c).then(()=>this.V.debug(`Successfully deleted file: ${b}`)).catch(e=>
1243
1243
  {throw Error(`Failed to delete file ${b}: ${e.message}`);})}Pa(b){const c=new olympe.oa.stream.lo;this.O(b).then(d=>{gb(d).pipeTo(c).catch(()=>{})});return c}Oa(b,c){db(c).then(d=>{d=URL.createObjectURL(new Blob([d]));const e=new olympe.dc.db.Rf;e.oh(b,(new Map).set(olympe.dm.File.urlProp.ka(),d));this.ca.lh(ph(e));let f;null==(f=this.C.get(b))||f.forEach(g=>g(null))}).catch(d=>{let e;null==(e=this.C.get(b))||e.forEach(f=>f(d))}).finally(()=>{this.C.delete(b)})}$(b){return new Promise((c,d)=>{let e;
1244
1244
  const f=null!=(e=this.C.get(b))?e:[];f.push(g=>g?d(g):c());this.C.set(b,f)})}Ka(b,c,d,e,f,g){const k=e?l=>{this.W(b,new Blob([c],{type:d}));f(l)}:f;e=this.db.model(b);e=new olympe.dc.Request(olympe.dc.Request.C.Hr,olympe.dc.Kj().Em(b),{tag:b,model:e,content:c,mimeType:d});oh(this.kf,e).then(l=>k(null!=l?l:'')).catch(null!=g?g:this.V.error.bind(this.V))}Ha(b){return q(function*(){var c=b instanceof olympe.j.kb?b.valueOf():b;return'string'===typeof c?cb(c):c instanceof ArrayBuffer?new Uint8Array(c,
1245
1245
  0,c.byteLength):c instanceof Blob?(c=yield c.arrayBuffer(),new Uint8Array(c,0,c.byteLength)):c})}W(b,c){const d=olympe.dc.Ya(b);b=URL.createObjectURL(c);this.D.set(d,b);const e=a.C(d);qh(this.db,d,f=>{f||(this.D.delete(d),nh(this.db,d,e))},e)}static C(b){return`cacheBinary${b}`}};function rh(a,b){let c=sh(b),d=null;for(;!c&&b&&b!==d;){d=b;b=a.db.Cm(b);if(null===b)break;c=sh(b)}let e;return null!=(e=c)?e:null}olympe.dc.yR=class{constructor(a,b,c){this.V=a;this.C=b;this.db=b.view;this.D=c;this.Oc=new FinalizationRegistry(d=>{this.V.O()&&this.V.debug(`Collect instance ${d} (${this.db.name(d)||'no name'})`);this.C.detach([d],olympe.dc.db.Instance.C.yH)})}};function th(a,b){a.origin=b;return a}function uh(a,b,c){a.D.set(b,c);return a}function vh(a){let b;return null!=(b=a.D)?b:new Map}olympe.dc.Request=class{constructor(a,b,c,d){this.type=a;this.origin=olympe.dc.Jc.SELF;this.C=b;this.content=null!=c?c:null;this.O=null!=d?d:Fd(olympe.xa.rk()).wk();this.D=new Map}getType(){return this.type}Lg(){return this.O}Yf(){return this.C}Pe(){return this.content}toString(){return`Request of type ${this.type}, from ${this.origin} to ${this.C}; content: ${this.content}`}};
1246
- olympe.dc.Request.C={Vf:1,cr:10,TQ:24,cH:25,UQ:28,Ct:30,zz:31,c1:32,no:40,Mt:41,zF:42,tK:43,t2:44,wv:45,GF:46,Ry:47,Hr:50,Zq:51,Yq:52,GU:60,KT:61,YG:62,$_:63,gQ:64,xv:65,jG:91,VQ:93,KC:95,QUERY_RESULT:97};function oh(a,b){a.V.debug('Router: sends',b);return a.Sd(b.Yf()).da(b)}
1246
+ olympe.dc.Request.C={Vf:1,cr:10,TQ:24,cH:25,UQ:28,Ct:30,zz:31,c1:32,no:40,Mt:41,AF:42,tK:43,t2:44,wv:45,HF:46,Ry:47,Hr:50,Zq:51,Yq:52,GU:60,KT:61,YG:62,$_:63,gQ:64,xv:65,kG:91,VQ:93,LC:95,QUERY_RESULT:97};function oh(a,b){a.V.debug('Router: sends',b);return a.Sd(b.Yf()).da(b)}
1247
1247
  function wh(a,b,c,d){const e=olympe.j.Eo();a.sources.set(olympe.dc.Jc.SERVER,d.init(a));a.O?a.sources.set(olympe.dc.Jc.Rp,c.init(a)):qh(b,a.C,()=>{a.sources.set(olympe.dc.Jc.Rp,c.init(a));const f=new Map;olympe.dc.nb.from(a.C,a.C).oc(olympe.dm.DataSource.qx).filter(olympe.dc.query.Yb.Rb(olympe.dm.DataSource.Yt,!0)).observe(e).subscribe(g=>{var k=g.uu();for(var l of k){f.get(l);k=a.sources.get(l);a.sources.delete(l);var m=void 0;null==(m=k)||m.destroy()}g=g.lu();for(const n of g)l=n.ka(),a.sources.has(l)||
1248
1248
  (m=new olympe.dc.sources.rJ(a.V,n),a.sources.set(l,m),g=`Datasource ${l}`,f.set(l,[null!=l?l:'',null!=g?g:'']),m.init(a))});nh(b,a.C,'router',!0)},'router')}function xh(a,b,c){let d=a.D.get(b);void 0===d&&(d=[],a.D.set(b,d));d.push(c)}
1249
1249
  olympe.dc.ST=class{constructor(a,b,c,d,e,f,g){this.V=a;this.C=f;this.O=g;this.sources=new Map;this.D=new Map;wh(this,d,b,c)}subscribe(a,b){this.V.debug('Router: subscribes',a);return this.Sd(a.Yf()).subscribe(a,b)}ai(a){const b=a.Yf();if(b===this.C){let c;null==(c=this.D.get(a.getType()))||c.forEach(d=>d(a))}else olympe.Y.de.publish(b,a).catch(c=>{this.V.error(`Error while publishing the message ${a} to remote router: ${c}`)})}Sd(a){let b;return null!=(b=this.sources.get(a))?b:this.sources.get(olympe.dc.Jc.Rp)}};function ph(a,b){b=new olympe.dc.$q(a.ja(),null!=b?b:null);b.C=a;return b}function yh(a,b,c,d){c=new olympe.dc.$q(null!=d?d:olympe.oa.bf(),null!=c?c:null);c.D=b;c.$b=a;return c}
1250
1250
  olympe.dc.$q=class{constructor(a,b){this.id=a;this.$b=this.C=this.D=null;this.aA=b}static C(a){return yh(a.p,a.s,a.t,a.i)}ja(){return this.id}Wf(a){return this.C instanceof olympe.dc.db.Rf?this.C.Wf(a):Array.isArray(this.$b)?(new olympe.dc.transaction.cw(this.D)).D(this.$b,a):a}Qc(){let a,b,c,d;return null!=(d=null!=(c=null==(a=this.$b)?void 0:a.length)?c:null==(b=this.C)?void 0:b.Qc())?d:0}Zf(){return this.C instanceof olympe.dc.db.Rf?this.C:Array.isArray(this.$b)?(this.C=(new olympe.dc.transaction.cw(this.D)).C(this.$b,
1251
- this.id),this.$b=null,this.C):new olympe.dc.db.Rf(this.id)}wA(){if(Array.isArray(this.$b))return this.$b;if(this.C instanceof olympe.dc.db.Rf){const a=new olympe.dc.transaction.Xk;this.C.Wf(a);return zh(a)}return[]}fb(){return{p:this.wA(),t:this.aA,s:this.D,i:this.id}}};olympe.dc.$q.Aa=[olympe.dc.hK];olympe.dc.Oc={};const Ah=olympe.dc.Ib.ORIGIN,Bh=olympe.dc.Ib.DESTINATION,Ch=new Map,Dh=new Map,Eh=new Map,Fh=new Map;function sh(a){let b;return null!=(b=Ch.get(a))?b:null}function Gh(a,b,c){let d=a;'function'===typeof a&&(d=c.entry);a=[...(d.dF||[])];return olympe.dc.Ja.C(b,c,...a)}function Hh(a,b){Fh.set(a,b);return a}function Ih(a){let b,c;return null!=(c=null==(b=Ch.get(a))?void 0:b.D)?c:olympe.dc.CloudObject}
1251
+ this.id),this.$b=null,this.C):new olympe.dc.db.Rf(this.id)}wA(){if(Array.isArray(this.$b))return this.$b;if(this.C instanceof olympe.dc.db.Rf){const a=new olympe.dc.transaction.Xk;this.C.Wf(a);return zh(a)}return[]}fb(){return{p:this.wA(),t:this.aA,s:this.D,i:this.id}}};olympe.dc.$q.Aa=[olympe.dc.hK];olympe.dc.Oc={};const Ah=olympe.dc.Ib.ORIGIN,Bh=olympe.dc.Ib.DESTINATION,Ch=new Map,Dh=new Map,Eh=new Map,Fh=new Map;function sh(a){let b;return null!=(b=Ch.get(a))?b:null}function Gh(a,b,c){let d=a;'function'===typeof a&&(d=c.entry);a=[...(d.eF||[])];return olympe.dc.Ja.C(b,c,...a)}function Hh(a,b){Fh.set(a,b);return a}function Ih(a){let b,c;return null!=(c=null==(b=Ch.get(a))?void 0:b.D)?c:olympe.dc.CloudObject}
1252
1252
  function Jh(a,b,c){const d=a+'@'+(b===Bh?Ah:Bh);if(Dh.has(d))throw Error(`Try to register the same relation (${b+a}) multiple times.`);Dh.set(d,c)}function Kh(a){a=a.ka()+'@'+a.zc();return Dh.get(a)||olympe.dc.CloudObject}function X(a,b){b.NAME=a;Eh.set(a,b)}function Lh(a){let b;return null!=(b=a.NAME)?b:null}
1253
1253
  olympe.dc.Ja=class{constructor(){}static C(a,b,...c){if(Ch.has(a))throw Error(`Tag: ${a} - overwriting already defined CloudObject class ${Ch.get(a).D.name} with ${b.name}`);let d=null;const e=c.length;if(0<e){d=Array(e);for(let f=0;f<e;f++){let g=c[f];d[f]='string'===typeof g?new olympe.sa.de(g):g}}b=new olympe.dc.Oc.Entry(a,b,d);Ch.set(a,b);return b.D.entry=b}static De(a){let b,c;return null!=(c=null==(b=a.entry)?void 0:b.ka())?c:null}};function Mh(a,b){a.C=b}function Y(a,b){b=b.fe();Jh(b.ka(),b.zc(),a.D);return b}function Nh(a){a.O=!0;return a}
1254
- olympe.dc.Oc.Entry=class{constructor(a,b,c){this.tag=a;this.D=b;this.dF=c||null;this.C=null;this.O=!1}ka(){return this.tag}instantiate(a,b){const c=this.D;if(this.dE()&&b.getParameter(olympe.dc.pa.EG)){var d=olympe.dc.eb();d=`Trying to instantiate an abstract class ${d.name(this)} (${this.ka()}).`+` This may happen when the implementation of another class extending ${d.name(this)} has not been registered`;olympe.gb.Cb('dc').error(d)}return this.dF?(a=[void 0,a].concat(Ka(b,this.dF)),new c(...a)):
1255
- new c(void 0,a)}fa(a){return new olympe.dc.Oc.Property(a)}tb(a,b=olympe.dc.Ib.DESTINATION){Jh(a,b,this.D);return new olympe.dc.Ra.um(a,b)}dE(){return this.O}};z('olympe.dc.registry.Entry',olympe.dc.Oc.Entry);olympe.dc.Oc.Entry.prototype.addRelation=olympe.dc.Oc.Entry.prototype.tb;olympe.dc.Oc.Entry.prototype.addProperty=olympe.dc.Oc.Entry.prototype.fa;olympe.dc.Oc.Entry.Aa=[olympe.dc.Ok];olympe.dc.Oc.Property=class{constructor(a){this.tag=a}ka(){return this.tag}toString(){return`Property: ${this.tag}`}};olympe.dc.Oc.Property.prototype.getTag=olympe.dc.Oc.Property.prototype.ka;olympe.dc.Oc.Property.Aa=[olympe.dc.Ok];olympe.dc.Oc.Relation=class{constructor(a,b=olympe.dc.Ib.DESTINATION,c=olympe.dc.CloudObject,d=olympe.dc.CloudObject){this.tag=olympe.dc.Ya(a);this.direction=b;this.origin=c;this.R=d}ka(){return this.tag}zc(){return this.direction}type(){return this.R}fe(){return new olympe.dc.Oc.Relation(this.tag,this.direction===olympe.dc.Ib.DESTINATION?olympe.dc.Ib.ORIGIN:olympe.dc.Ib.DESTINATION,this.R,this.origin)}Rb(a){return a instanceof olympe.dc.Oc.Relation?a.ka()===this.ka()&&a.zc()===this.zc():!1}toString(){return`${this.direction}${olympe.dc.eb().name(this.tag)} (${this.tag})`}};
1254
+ olympe.dc.Oc.Entry=class{constructor(a,b,c){this.tag=a;this.D=b;this.eF=c||null;this.C=null;this.O=!1}ka(){return this.tag}instantiate(a,b){const c=this.D;if(this.eE()&&b.getParameter(olympe.dc.pa.FG)){var d=olympe.dc.eb();d=`Trying to instantiate an abstract class ${d.name(this)} (${this.ka()}).`+` This may happen when the implementation of another class extending ${d.name(this)} has not been registered`;olympe.gb.Cb('dc').error(d)}return this.eF?(a=[void 0,a].concat(Ka(b,this.eF)),new c(...a)):
1255
+ new c(void 0,a)}fa(a){return new olympe.dc.Oc.Property(a)}tb(a,b=olympe.dc.Ib.DESTINATION){Jh(a,b,this.D);return new olympe.dc.Ra.um(a,b)}eE(){return this.O}};z('olympe.dc.registry.Entry',olympe.dc.Oc.Entry);olympe.dc.Oc.Entry.prototype.addRelation=olympe.dc.Oc.Entry.prototype.tb;olympe.dc.Oc.Entry.prototype.addProperty=olympe.dc.Oc.Entry.prototype.fa;olympe.dc.Oc.Entry.Aa=[olympe.dc.Ok];olympe.dc.Oc.Property=class{constructor(a){this.tag=a}ka(){return this.tag}toString(){return`Property: ${this.tag}`}};olympe.dc.Oc.Property.prototype.getTag=olympe.dc.Oc.Property.prototype.ka;olympe.dc.Oc.Property.Aa=[olympe.dc.Ok];olympe.dc.Oc.Relation=class{constructor(a,b=olympe.dc.Ib.DESTINATION,c=olympe.dc.CloudObject,d=olympe.dc.CloudObject){this.tag=olympe.dc.Ya(a);this.direction=b;this.origin=c;this.R=d}ka(){return this.tag}zc(){return this.direction}type(){return this.R}fe(){return new olympe.dc.Oc.Relation(this.tag,this.direction===olympe.dc.Ib.DESTINATION?olympe.dc.Ib.ORIGIN:olympe.dc.Ib.DESTINATION,this.R,this.origin)}Rb(a){return a instanceof olympe.dc.Oc.Relation?a.ka()===this.ka()&&a.zc()===this.zc():!1}toString(){return`${this.direction}${olympe.dc.eb().name(this.tag)} (${this.tag})`}};
1256
1256
  olympe.dc.Oc.Relation.prototype.getInverse=olympe.dc.Oc.Relation.prototype.fe;olympe.dc.Oc.Relation.prototype.getDirection=olympe.dc.Oc.Relation.prototype.zc;olympe.dc.Oc.Relation.prototype.getTag=olympe.dc.Oc.Relation.prototype.ka;olympe.dc.Oc.Relation.Aa=[olympe.dc.Ok];olympe.dc.db={};function Oh(a,b){const c=a.R,d=olympe.dc.eb(),e=olympe.dc.db.Database.C.dw,f=olympe.dc.db.Database.C.sj,g=olympe.dc.db.Database.C.ORIGIN,k=olympe.dc.db.Database.C.DESTINATION,l=new olympe.dc.db.Rf('rev-'+b.ja());a.V.debug('Generate the reverse graphLayer of',b.ja());b.je.forEach((m,n)=>{if(m.O()){l.D(n,olympe.dc.Te.NONE);for(const [t,u]of m.Xh())l.Xf(t,n,u)}else{var p=c.get(n);if(void 0!==p)if(m.$h())for(const t of Ph(d,n,m.R())){m=c.get(t);const u=new Map;m.forEach((v,w)=>{const x=w[0],y=w.substring(1);
1257
1257
  x===e?u.set(y,v):x===f?u.set(w,v):x===g?v.forEach((A,H)=>{l.Qb(y,H,t)}):x===k&&v.forEach((A,H)=>{l.Qb(y,t,H)})});m=m.source();l.yf(t,m,u)}else{const t=new Map;for(const u of m.be().keys()){var r=u[0]===f;const v=r?u.substring(1):u;r=r?Qh(p,v,!0):p.Ac(v,!0);let w;t.set(u,null!=(w=r)?w:null)}0<t.size&&l.oh(n,t);for(const [u,v,w]of m.Xh())w?l.Xf(u,n,v):l.Qb(u,n,v)}}});return l}
1258
1258
  function Rh(a,b,c){const d=b.ja();if(a.O.has(d))throw Error(`You try to execute the patch ${d} a second times whereas the first execution has not been validated yet.`);const e=new Sh(b,Oh(a,b));a.D.unshift(d);a.O.set(d,e);a.R.lg(c);a.write(b,!1,!1)}
1259
1259
  function Th(a,b,c){if(0>=a.T||null===c)return b;var d=a.C.findIndex(k=>k.ja()===b.ja()),e=a.C[d];-1<d&&a.C.splice(d,1);d=0<a.C.length?a.C.findIndex(k=>c>=k.D):0;d=-1<d?d:a.C.length;const f=a.C.slice(0,d).reduce((k,l)=>l.lh(k),b);let g;e=null!=(g=null==e?void 0:e.update(f,c))?g:new Uh(f,c,a.C,a.T);a.C.splice(d,0,e);a.V.O()&&a.V.debug('CommitController buffer:\n',a.C.map(k=>`${k.ja()} at ${k.D}`).join('\n'));return f}
1260
- function Vh(a,b,c){return a.D.slice(0,c).map(d=>a.O.get(d)).reduce((d,e)=>{let f;return null!=(f=null==e?void 0:e.lh(d))?f:d},b)}function Wh(a,b,c,d=!1){return q(function*(){const e=new olympe.dc.db.sD(a.V,a.R,a.eb,c);Xh(e,d);for(const f=ia(b);;){const g=yield f.next();if(g.done)break;e.write(g.value,a.W)}e.close()})}
1260
+ function Vh(a,b,c){return a.D.slice(0,c).map(d=>a.O.get(d)).reduce((d,e)=>{let f;return null!=(f=null==e?void 0:e.lh(d))?f:d},b)}function Wh(a,b,c,d=!1){return q(function*(){const e=new olympe.dc.db.tD(a.V,a.R,a.eb,c);Xh(e,d);for(const f=ia(b);;){const g=yield f.next();if(g.done)break;e.write(g.value,a.W)}e.close()})}
1261
1261
  function Zh(a,b,c,d){b=b.pipeThrough(olympe.oa.stream.tap(e=>{0<a.D.length&&Th(a,Vh(a,e.Zf(),a.D.length),e.aA)}));return Wh(a,b,c,d).then(()=>a.V.debug('Rebase stream completed')).catch(e=>a.V.error('Rebase stream failed:',e))}
1262
1262
  olympe.dc.db.qQ=class{constructor(a,b,c,d){this.V=a;this.R=b;this.eb=c;let e;this.W=null!=(e=d.get('debug'))?e:!1;let f;this.T=null!=(f=d.get('bufferTimeout'))?f:0;this.D=[];this.O=new Map;this.C=[];b.addEventListener(olympe.dc.db.Database.Event.VG,g=>{this.C.forEach(k=>{for(const l of g)k.C.C(l)})})}lh(a,b,c){const d=a.ja(),e=a.aA;this.O.has(d)?this.push(d,e):(a=Th(this,Vh(this,a.Zf(),this.D.length),e),this.write(a,b,c))}push(a,b){const c=this.D.indexOf(a);if(-1<c){const d=this.O.get(a);this.D.splice(c,
1263
- 1);Th(this,Vh(this,d.D,c),b);this.O.delete(a)}}write(a,b,c=!1){b=new olympe.dc.db.sD(this.V,this.R,this.eb,b);Xh(b,c);b.write(a,this.W);b.close()}};class $h{ja(){}lh(){}}function ai(a,b,c,d){const e=olympe.dc.Ib.DESTINATION;c=c.tag();const f=a.C.ih(c);b.be().forEach((g,k)=>{f.fa(k,g);b.Pa(k)});for(const [g,k,l,m]of b.Ha()){if(!m)continue;const n=k===e?c:l,p=k===e?l:c;a.C.Qb(g,n,p);d.R(g,n,p)}}
1263
+ 1);Th(this,Vh(this,d.D,c),b);this.O.delete(a)}}write(a,b,c=!1){b=new olympe.dc.db.tD(this.V,this.R,this.eb,b);Xh(b,c);b.write(a,this.W);b.close()}};class $h{ja(){}lh(){}}function ai(a,b,c,d){const e=olympe.dc.Ib.DESTINATION;c=c.tag();const f=a.C.ih(c);b.be().forEach((g,k)=>{f.fa(k,g);b.Pa(k)});for(const [g,k,l,m]of b.Ha()){if(!m)continue;const n=k===e?c:l,p=k===e?l:c;a.C.Qb(g,n,p);d.R(g,n,p)}}
1264
1264
  function bi(a,b,c,d){const e=olympe.dc.Ib.DESTINATION,f=c.tag(),g=a.C.ih(f);b.be().forEach((k,l)=>{void 0!==c.Ac(l)&&(g.fa(l,k),b.Pa(l))});for(const [k,l,m]of b.Xh()){const n=c.qc(k,e,l);void 0!==n&&(d.R(k,f,l),n===m&&a.C.R(k,f,l))}}
1265
1265
  class Sh extends $h{constructor(a,b){super();this.D=a;this.C=b;this.db=olympe.dc.eb()}ja(){return this.D.ja()}lh(a){for(const [b,c]of this.D.ca(a)){const d=b.tag();c.$h()?b.O()?a.C(d,b.R()):(this.D.C(d,c.R()),this.C.C(d,c.R())):b.$h()?(ai(this,c,b,a),a.C(d,b.R())):bi(this,c,b,a)}return a}}function ci(a){clearTimeout(a.O);a.O=setTimeout(()=>{a.buffer.splice(a.buffer.indexOf(a),1)},a.R)}
1266
1266
  class Uh extends $h{constructor(a,b,c,d){super();this.C=a;this.D=b;this.buffer=c;this.R=d;this.O=null;ci(this)}ja(){return this.C.ja()}lh(a){return a.T(this.C)}update(a,b){this.D=b;a.Wf(this.C);ci(this);return this}};const di=olympe.dc.Lf.sh,ei=olympe.dc.Lf.bt,fi=olympe.dc.Ib.ORIGIN,gi=olympe.dc.Ib.DESTINATION;let hi=0;
1267
1267
  olympe.dc.db.Database=class a extends Map{constructor(b,c,d){super();let e;this.id=null!=(e=d.get('selfTag'))?e:olympe.dc.Jc.SELF;this.V=b;this.qc=olympe.j.yb();this.W=olympe.dc.db.Database.D.IDLE;this.da=new Map;this.ob=[];this.ca=new Map;this.R=null;this.za=new Set;var f;b=null!=(f=d.get('garbageCollector'))?f:olympe.dc.db.Vn.C.TB;let g;f=null!=(g=d.get('garbageCollectorDelay'))?g:5E3;this.Pb=new olympe.dc.db.Vn(c,this,b,f);d.get('debug')&&this.vf()}ja(){return this.id}getState(){return this.W}Cb(){return this.V}create(b,
1268
1268
  c,d,e=!1){var f=this.T(b,!0);if(!f.e&&null!==c&&(null===f.R||f.R===c)){f.R=c;let g;(null==(g=f.model())?0:g.e)&&f.db.ma(f,!0)}e&&f.persist();this.W===a.D.zB&&ii(f,!0);d&&this.Eb(f,d);this.D(a.Event.zH,b)}update(b,c){c&&(b=this.T(b,!0),this.Eb(b,c))}Pa(b){const c=this.get(b);void 0!==c&&(this.ma(c,!1),this.D(a.Event.AH,b))}Ka(b,c,d){c=this.T(c,!0);d=this.T(d,!0);switch(b){case di:ji(c,d);break;case ei:ki(c,d);break;default:li(c,b,d)}}vg(b,c,d){c=this.get(c);d=this.get(d);if(void 0!==c&&void 0!==d)switch(b){case di:mi(c,
1269
- d);break;case ei:ni(c,d);break;default:oi(c,b,d)}}Hg(b,c){for(const d of b)this.T(d).nk(c)}cf(b,c){for(const d of b)(b=this.get(d))&&b.detach(c)}lg(b){b.forEach(c=>{this.T(c).persist()})}kc(b){const c=this.get(b);void 0!==c&&(c.clear(),super.delete(b),this.D(a.Event.BG,b))}T(b,c=!1){let d;return null!=(d=this.get(b))?d:this.yf(b,c)}yf(b,c){const d=new olympe.dc.db.Instance(b,this);this.set(b,d);this.D(a.Event.AG,b);c&&this.W!==a.D.zB&&this.D(a.Event.qD,b);return d}sb(b){var c=olympe.oa.pk();this.R?
1269
+ d);break;case ei:ni(c,d);break;default:oi(c,b,d)}}Hg(b,c){for(const d of b)this.T(d).nk(c)}cf(b,c){for(const d of b)(b=this.get(d))&&b.detach(c)}lg(b){b.forEach(c=>{this.T(c).persist()})}kc(b){const c=this.get(b);void 0!==c&&(c.clear(),super.delete(b),this.D(a.Event.CG,b))}T(b,c=!1){let d;return null!=(d=this.get(b))?d:this.yf(b,c)}yf(b,c){const d=new olympe.dc.db.Instance(b,this);this.set(b,d);this.D(a.Event.BG,b);c&&this.W!==a.D.zB&&this.D(a.Event.rD,b);return d}sb(b){var c=olympe.oa.pk();this.R?
1270
1270
  pi(this.R,c,b):b()}$(b){let c;null!=(c=this.R)&&c.C.delete(b)}dispatchEvent(b,...c){this.da.has(b)&&this.da.get(b).forEach(d=>{d(...c)})}D(b,c,...d){this.dispatchEvent(b,c,...d)}ma(b,c){let d;null!=(d=this.R)&&d.O.set(b,c)}Yc(b,c,d,e){let f;null!=(f=this.R)&&qi(f,b).fa(e?ri+c:c,d)}gd(b,c,d,e,f){let g;null!=(g=this.R)&&(d===si?f?qi(g,b).ma(c,e):qi(g,b).za(c,e):f?qi(g,b).Oa(c,e):qi(g,b).xb(c,e))}Ha(b,c,d){let e;null!=(e=this.R)&&qi(e,b).ld(c,d)}addEventListener(b,c){let d=this.da.get(b);void 0===d&&
1271
1271
  (d=[],this.da.set(b,d));d.push(c)}C(b,c){this.addEventListener(b,c)}Oa(b){this.ob.push(b)}O(b){for(const c of this.ca.values())if(c.T.has(b))return!0;return!1}Yh(b=!1){const c=hi++;this.W=a.D.tB;this.za.add(c);b||this.ca.set(c,new olympe.dc.db.IQ(c,this,this.qc));return c}ag(b,c){if(!this.za.has(b))throw Error('Database: cannot use a transaction that has not been started');let d;this.R=null!=(d=this.ca.get(b))?d:null;b=this.W;this.W=null===this.R?a.D.zB:a.D.xT;c();this.W=b;this.R=null}ld(b){this.W=
1272
1272
  a.D.Pn;const c=this.ca.get(b);c&&(this.R=c,ti(this.R),ui(this.R),this.ca.delete(b),this.R=null);this.za.delete(b);0===this.za.size&&(this.W=a.D.IDLE,this.ob.forEach(d=>{d()}),vi(this.Pb))}Eb(b,c){const d=a.C.sj;for(const [e,f]of c)void 0!==f&&(e[0]===d?wi(b,e.substring(1),f):b.update(e,f))}xb(b,c,d=[]){const e=c.tag();if(!b.has(e)&&(b.add(e),d.push(c),c=c.get(fi+di)))for(const f of c.values())null!==f.source()&&this.xb(b,f,d);return d}vf(){const b=a.Event.XB,c=a.Event.Bz,d=new Set,e=new Map;this.C(a.Event.zH,
1273
1273
  f=>{d.add(f)});this.C(b,f=>{d.delete(f);e.delete(f)});this.C(c,(f,...g)=>{if(g[0]===ei&&g[1]===gi){const k=g[2];this.get(k).tc()||(g=e.get(k)||new Set,0===g.size&&e.set(k,g),g.add(f))}});this.Oa(()=>{d.forEach(f=>{const g=this.get(f);g&&null===g.model()&&this.V.error(`\n[DEBUG - DATABASE]\nInstance ${f} created but does not exist !\n${g.toString()}`)});d.clear();e.forEach((f,g)=>{const k=this.get(g);k&&this.V.error(`\n[DEBUG - DATABASE]\nThe model ${g} is extended by other models but does not exist !`+
1274
- `\nExtension models: ${Array.from(f.values()).join(', ')}`+`\n\n ${k.toString()}`)});e.clear()})}};olympe.dc.db.Database.C={dw:'$',nR:'~',sj:'?',uB:'=',vH:'|',zv:'@',ORIGIN:olympe.dc.Ib.ORIGIN,DESTINATION:olympe.dc.Ib.DESTINATION};olympe.dc.db.Database.Event={AG:0,BG:1,AL:2,qD:3,QF:4,RF:5,XB:6,Qg:7,Bz:8,YC:9,zH:10,AH:11,oK:12,TZ:13,SZ:14,DU:15,VG:16};olympe.dc.db.Database.D={IDLE:0,tB:1,xT:2,zB:3,Pn:4};function xi(a,b,c=[]){const d=b.ja();Rh(a.C,b,c);return e=>{if(null!==e)a.C.push(d,e);else{e=a.C;var f=e.O.get(d);if(void 0!==f){const g=e.D.indexOf(d);e.D.splice(g,1);f=Vh(e,f.C,e.D.length);e.write(Th(e,f,Date.now()),!1);e.O.delete(d)}}}}function yi(a,b,c={}){let d,e;return Zh(a.C,b,null!=(d=c.persist)?d:!0,null!=(e=c.CD)?e:!1)}function zi(a,b){a.D.Oa(b)}
1275
- olympe.dc.db.BQ=class{constructor(a,b,c,d,e){this.V=a;this.D=b;this.view=c;this.C=new olympe.dc.db.qQ(a,b,c,d);this.ZX=new olympe.dc.db.aT(a,c,b,e)}Cb(){return this.V}lh(a,b={}){let c,d;this.C.lh(a,null!=(c=b.persist)?c:!0,null!=(d=b.CD)?d:!1)}nk(a,b){this.D.Hg(a,b)}detach(a,b){this.D.cf(a,b);return this}};const Ai=olympe.dc.db.Database.C.ORIGIN,Bi=olympe.dc.db.Database.C.DESTINATION,Ci=olympe.dc.db.Database.C.dw,Di=olympe.dc.db.Database.C.sj,Ei=olympe.dc.db.Database.C.uB,Fi=olympe.dc.db.Database.C.vH,Gi=Ai+Bi,Hi=Ci+Ci,Ii=olympe.dc.db.Database.D;let Ji=0;function nh(a,b,c,d=!1){const e=Ki(a,b);if(null!==e){const f=Li(e,'',c);void 0!==f&&(a.C.getState()!==Ii.Pn||e.O()&&!d||a.C.$(c),d||!e.tc()&&!e.O()||f(!1,b))}}
1274
+ `\nExtension models: ${Array.from(f.values()).join(', ')}`+`\n\n ${k.toString()}`)});e.clear()})}};olympe.dc.db.Database.C={dw:'$',nR:'~',sj:'?',uB:'=',vH:'|',zv:'@',ORIGIN:olympe.dc.Ib.ORIGIN,DESTINATION:olympe.dc.Ib.DESTINATION};olympe.dc.db.Database.Event={BG:0,CG:1,AL:2,rD:3,RF:4,SF:5,XB:6,Qg:7,Bz:8,ZC:9,zH:10,AH:11,oK:12,TZ:13,SZ:14,DU:15,VG:16};olympe.dc.db.Database.D={IDLE:0,tB:1,xT:2,zB:3,Pn:4};function xi(a,b,c=[]){const d=b.ja();Rh(a.C,b,c);return e=>{if(null!==e)a.C.push(d,e);else{e=a.C;var f=e.O.get(d);if(void 0!==f){const g=e.D.indexOf(d);e.D.splice(g,1);f=Vh(e,f.C,e.D.length);e.write(Th(e,f,Date.now()),!1);e.O.delete(d)}}}}function yi(a,b,c={}){let d,e;return Zh(a.C,b,null!=(d=c.persist)?d:!0,null!=(e=c.DD)?e:!1)}function zi(a,b){a.D.Oa(b)}
1275
+ olympe.dc.db.BQ=class{constructor(a,b,c,d,e){this.V=a;this.D=b;this.view=c;this.C=new olympe.dc.db.qQ(a,b,c,d);this.ZX=new olympe.dc.db.aT(a,c,b,e)}Cb(){return this.V}lh(a,b={}){let c,d;this.C.lh(a,null!=(c=b.persist)?c:!0,null!=(d=b.DD)?d:!1)}nk(a,b){this.D.Hg(a,b)}detach(a,b){this.D.cf(a,b);return this}};const Ai=olympe.dc.db.Database.C.ORIGIN,Bi=olympe.dc.db.Database.C.DESTINATION,Ci=olympe.dc.db.Database.C.dw,Di=olympe.dc.db.Database.C.sj,Ei=olympe.dc.db.Database.C.uB,Fi=olympe.dc.db.Database.C.vH,Gi=Ai+Bi,Hi=Ci+Ci,Ii=olympe.dc.db.Database.D;let Ji=0;function nh(a,b,c,d=!1){const e=Ki(a,b);if(null!==e){const f=Li(e,'',c);void 0!==f&&(a.C.getState()!==Ii.Pn||e.O()&&!d||a.C.$(c),d||!e.tc()&&!e.O()||f(!1,b))}}
1276
1276
  function qh(a,b,c,d){a=a.C.T(Mi(b));d=null!=d?d:Ni();Oi(a,'',d,c)&&a.tc()&&c(!0,b);return d}function Ph(a,b,c){return{[Symbol.iterator]:function*(d,e,f){const g=(new Set).add(olympe.dc.Ya(e));for(const k of g)yield k,d.pA(k,f).forEach(([l,,,m])=>{m&&g.add(l)})}.bind(null,a,b,c)}}function Ni(){++Ji;return String(Ji)}function Mi(a){if(a)return olympe.dc.Ya(a);throw Error('DBView: Impossible to transform tag to string, provided tag is empty, null or undefined.');}
1277
1277
  function Pi(a,b,c,d,e){a=a.C.T(Mi(b));c=Mi(c);b=Ci+c;e=null!=e?e:Ni();if(Oi(a,b,e,d)&&a.tc()){let f=!1;b=a.get(b);void 0===b&&(f=!0,b=a.get(Ei+c));void 0!==b&&d(b,f)}return e}function Ki(a,b,c=!1){if(b)return a=a.C.get(olympe.dc.Ya(b)),!a||c&&!a.tc()?null:a;throw Error('DBView: Impossible to get instance, provided tag is empty, null or undefined.');}function Qi(a,b,c,d){b=Ki(a,b);null!==b&&(c=olympe.dc.Ya(c),Li(b,Ci+c,d),a.C.getState()===Ii.Pn&&a.C.$(d))}
1278
1278
  function Ri(a,b,c,d){a=a.C.T(Mi(b));d=null!=d?d:Ni();Oi(a,Hi,d,c)&&a.tc()&&a.forEach((e,f)=>{const g=f[0];g!==Ci&&g!==Ei||c(f.substring(1),e,g===Ei)});return d}function Si(a,b,c){b=Ki(a,b);null!==b&&(Li(b,Hi,c),a.C.getState()===Ii.Pn&&a.C.$(c))}function Ti(a,b,c,d,e){let f;null==(f=a.get(b))||f.forEach((g,k)=>{if(g.tc()||!c&&g.O())e?d(b.substring(1),b[0],c,k):d(c,k)})}function Ui(a,b,c,d,e){a=a.C.T(Mi(b));c=c.zc()+c.ka();e=null!=e?e:Ni();(d=Vi(a,c,e,d))&&a.tc()&&Ti(a,c,!0,d,!1);return e}
@@ -1283,20 +1283,20 @@ function Zi(a,b,c){if(c===olympe.dc.Te.NONE)return 0;const d=c[0]===olympe.dc.li
1283
1283
  function dj(a,b,c){if(!a.tc(b))return a.V.warn(`No instance found with tag ${b}`),new Map;const d=new Map,e=[olympe.dc.Ya(b)];for(const f of e){const g=a.pc(f,c);d.set(f,g);for(const k of g.filter(l=>!d.has(l)))e.push(k)}a.V.debug(`Found ${d.size} instances in sub-tree rooted at ${olympe.dc.Ya(b)}`);return d}function ej(a,b,c,d){return(c=(a=Ki(a,b,!0))&&a.get(d+c))?Array.from(c.values()).filter(e=>e.tc()).length:0}
1284
1284
  olympe.dc.zd=class{constructor(a,b){this.V=a;this.C=b}ja(){return this.C.ja()}D(a,b,c,d=!1){a=Ki(this,a);if(null!==a){b=b.zc()+b.ka();const e=Li(a,b,c);void 0!==e&&(this.C.getState()!==Ii.Pn||a.O()&&!d||this.C.$(c),d||!a.tc()&&!a.O()||Ti(a,b,!1,e,!1))}}tc(a){a=this.C.get(olympe.dc.Ya(a));return!(null==a||!a.tc())}name(a){let b,c;return null!=(c=null==(b=Ki(this,a))?void 0:b.Ac(olympe.dc.CloudObject.nameProp.ka()))?c:''}model(a){return(a=(a=Ki(this,a,!0))?a.model():null)?a.tag():null}Cm(a){return(a=
1285
1285
  (a=Ki(this,a,!0))&&a.Cm())?a.tag():null}zu(a){a=Ki(this,a,!0);return!(!a||!a.Cm())}me(a,b){a=(a=Ki(this,a,!0))&&a.model();return!(!a||!this.Xm(a.tag(),b))}source(a){return(a=Ki(this,a,!0))&&a.source()}Bl(a){a=Ki(this,a,!1);return!a||a.T}Ac(a,b,c){a=Ki(this,a,!0);b=olympe.dc.Ya(b);let d;return null!=(d=null==a?void 0:a.Ac(b,c))?d:null}be(a,b=!1){var c=Ki(this,a,!0);a=new Map;if(c)for(const [d,e]of c)c=d[0],(c===Ci||!b&&c===Ei)&&a.set(d.substring(1),e);return a}pA(a,b){return Yi(this,a,b).filter(([c])=>
1286
- c.tc()).map(([c,...d])=>[c.tag(),...d])}pc(a,b){a=Ki(this,a,!0);b=b.zc()+b.ka();b=null==a?void 0:a.get(b);a=[];if(b)for(const c of b.values())c.tc()&&a.push(c.tag());return a}EO(a,b,c){let d,e;a=null==(d=Ki(this,a,!0))?void 0:null==(e=d.get(b.zc()+b.ka()))?void 0:e.get(olympe.dc.Ya(c));return!(null==a||!a.tc())}XD(a,b){a=Ki(this,a,!0);if(!a)return[];a=[a.tag()];for(const c of b){b=[];for(const d of a)if(a=Ki(this,d,!0).get(c.zc()+c.ka()),void 0!==a)for(const e of a.values())e.tc()&&b.push(e.tag());
1286
+ c.tc()).map(([c,...d])=>[c.tag(),...d])}pc(a,b){a=Ki(this,a,!0);b=b.zc()+b.ka();b=null==a?void 0:a.get(b);a=[];if(b)for(const c of b.values())c.tc()&&a.push(c.tag());return a}EO(a,b,c){let d,e;a=null==(d=Ki(this,a,!0))?void 0:null==(e=d.get(b.zc()+b.ka()))?void 0:e.get(olympe.dc.Ya(c));return!(null==a||!a.tc())}YD(a,b){a=Ki(this,a,!0);if(!a)return[];a=[a.tag()];for(const c of b){b=[];for(const d of a)if(a=Ki(this,d,!0).get(c.zc()+c.ka()),void 0!==a)for(const e of a.values())e.tc()&&b.push(e.tag());
1287
1287
  a=b}return a}Wd(a,b){var c=Ki(this,a,!0);const d=b.zc()+b.ka();c=null==c?void 0:c.get(d);if(1<(null==c?void 0:c.size))return this.V.warn(`Relation ${b.ka()} to instance ${a} is not unique: found ${c.size} related items`),null;a=null==c?void 0:c.values().next().value;return(null==a?0:a.tc())?a.tag():null}iq(a,b,c){a=olympe.dc.Ya(a);const d=dj(this,a,b);d.delete(a);return c?(c=olympe.dc.Ya(c),d.has(c)?Array.from(dj(this,c,b.fe()).keys()).filter(e=>d.has(e)):[]):Array.from(d.keys())}EM(a,b,c){if(!this.tc(a))return null;
1288
- b=dj(this,a,b);const d=[olympe.dc.Ya(a)];for(const e of d){if(c(e))return e;if(a=b.get(e))for(const f of a.filter(g=>!d.includes(g)))d.push(f)}return null}eA(a,b,c){return this.XD(a,b).find(c)||null}aW(a,b,c){return this.XD(a,b).filter(c)}Yw(a,b=olympe.dc.CloudObject){var c=Ki(this,a,!0);const d=b&&Ki(this,b,!0),e=[c];for(;c&&c!==d;){c=c.Cm();if(e.includes(c))throw Error(`Cycle detected when following recursively extend relations from base model instance "${a}".`);if(c&&!c.tc())throw a=`Try to get all extensions of the model ${olympe.dc.Ya(a)} but one of them does not exists (${c.tag()})`,
1288
+ b=dj(this,a,b);const d=[olympe.dc.Ya(a)];for(const e of d){if(c(e))return e;if(a=b.get(e))for(const f of a.filter(g=>!d.includes(g)))d.push(f)}return null}eA(a,b,c){return this.YD(a,b).find(c)||null}aW(a,b,c){return this.YD(a,b).filter(c)}Yw(a,b=olympe.dc.CloudObject){var c=Ki(this,a,!0);const d=b&&Ki(this,b,!0),e=[c];for(;c&&c!==d;){c=c.Cm();if(e.includes(c))throw Error(`Cycle detected when following recursively extend relations from base model instance "${a}".`);if(c&&!c.tc())throw a=`Try to get all extensions of the model ${olympe.dc.Ya(a)} but one of them does not exists (${c.tag()})`,
1289
1289
  Error(a);null!==c&&e.push(c)}c=Ki(this,olympe.dc.CloudObject,!0);if(d!==c&&e[e.length-1]===c)throw Error(`The model "${this.name(a)}" (tag = ${a}) does not extend the expected model "${this.name(b)}" (tag = ${b}).`);return e.map(f=>f.tag())}Xm(a,b){const c=olympe.dc.Ya(b);return!!this.EM(a,olympe.dc.CloudObject.extendRel,d=>d===c)}xg(a){return this.pc(a,olympe.dc.CloudObject.instancesRel)}};olympe.dc.zd.prototype.getInstances=olympe.dc.zd.prototype.xg;olympe.dc.zd.prototype.isExtending=olympe.dc.zd.prototype.Xm;
1290
- olympe.dc.zd.prototype.getExtendedModels=olympe.dc.zd.prototype.Yw;olympe.dc.zd.prototype.findAllRelated=olympe.dc.zd.prototype.aW;olympe.dc.zd.prototype.findRelated=olympe.dc.zd.prototype.eA;olympe.dc.zd.prototype.findRecursive=olympe.dc.zd.prototype.EM;olympe.dc.zd.prototype.getRecursiveRelated=olympe.dc.zd.prototype.iq;olympe.dc.zd.prototype.getUniqueRelated=olympe.dc.zd.prototype.Wd;olympe.dc.zd.prototype.getMultiRelated=olympe.dc.zd.prototype.XD;olympe.dc.zd.prototype.isRelated=olympe.dc.zd.prototype.EO;
1290
+ olympe.dc.zd.prototype.getExtendedModels=olympe.dc.zd.prototype.Yw;olympe.dc.zd.prototype.findAllRelated=olympe.dc.zd.prototype.aW;olympe.dc.zd.prototype.findRelated=olympe.dc.zd.prototype.eA;olympe.dc.zd.prototype.findRecursive=olympe.dc.zd.prototype.EM;olympe.dc.zd.prototype.getRecursiveRelated=olympe.dc.zd.prototype.iq;olympe.dc.zd.prototype.getUniqueRelated=olympe.dc.zd.prototype.Wd;olympe.dc.zd.prototype.getMultiRelated=olympe.dc.zd.prototype.YD;olympe.dc.zd.prototype.isRelated=olympe.dc.zd.prototype.EO;
1291
1291
  olympe.dc.zd.prototype.getRelated=olympe.dc.zd.prototype.pc;olympe.dc.zd.prototype.getProperties=olympe.dc.zd.prototype.be;olympe.dc.zd.prototype.getProperty=olympe.dc.zd.prototype.Ac;olympe.dc.zd.prototype.isPersisted=olympe.dc.zd.prototype.Bl;olympe.dc.zd.prototype.instanceOf=olympe.dc.zd.prototype.me;olympe.dc.zd.prototype.isModel=olympe.dc.zd.prototype.zu;olympe.dc.zd.prototype.extension=olympe.dc.zd.prototype.Cm;olympe.dc.zd.prototype.model=olympe.dc.zd.prototype.model;
1292
1292
  olympe.dc.zd.prototype.name=olympe.dc.zd.prototype.name;olympe.dc.zd.prototype.exist=olympe.dc.zd.prototype.tc;const fj=olympe.dc.db.Database.C.ORIGIN,si=olympe.dc.db.Database.C.DESTINATION,ri=olympe.dc.db.Database.C.uB,gj=olympe.dc.db.Database.C.dw,hj=olympe.dc.db.Database.C.vH,ij=olympe.dc.db.Database.C.zv,jj=fj+si,kj=gj+gj,lj=Array.from(Object.values(olympe.dc.Te)).filter(a=>null!==a);function pi(a,b,c){let d=a.C.get(b);void 0===d&&(d=[],a.C.set(b,d));a.buffer.push([b,d.length]);d.push(c)}
1293
1293
  function ti(a){for(const [b,c]of a.O)a.D.xb(new Set,b).filter(d=>ii(d,c)).forEach(d=>{d=d.tag();c?qi(a,d).create():qi(a,d).delete()})}
1294
1294
  function ui(a){const b=a.D;a.X.forEach((c,d)=>{var e=b.get(d);if(c.O()||c.$h()){var f=e.get(ij);f&&mj(a,f,c.O(),d);c.$h()&&a.T.add(d)}for(const [n,p]of c.be()){var g=n[0]===ri,k=g?n.substring(1):n;f=a;var l=e,m=p;const r=l.get(ij+gj+k);r&&mj(f,r,m,g);(l=l.get(ij+kj))&&mj(f,l,k,m,g)}for(const n of c.Ha())nj(a,e,...n);(e=c.da)&&oj(a,e,d,c.Pb,!c.$h())});a.O.clear();a.X.clear();a.R.clear();pj(a)}function qi(a,b){let c=a.X.get(b);void 0===c&&(c=new olympe.dc.db.st(b),a.X.set(b,c));return c}
1295
1295
  function mj(a,b,...c){b.forEach((d,e)=>{pi(a,e,d.bind(null,...c))})}function nj(a,b,c,d,e,f){var g=b.get(ij+d+c);g&&mj(a,g,f,e);(g=b.get(ij+jj))&&mj(a,g,c,d,f,e);qj(a,c,d).forEach((k,l)=>{(l=b.get(ij+hj+l))&&mj(a,l,c,d,k,f,e)})}function oj(a,b,c,d,e){lj.forEach(f=>{const g=f[0]===olympe.dc.li.Kp;(f=a.D.get(g?c:b).get(ij+hj+f))&&mj(a,f,d,null,!0,e,g?b:c)})}
1296
1296
  function pj(a){a.W.run(()=>{const b=a.C;for(const [c,d]of a.buffer){let e,f,g;null==(e=b.get(c))||null==(g=(f=e)[d])||g.call(f)}});a.C.clear();a.buffer.length=0}function qj(a,b,c){const d=b+c;let e=a.R.get(d);if(!e){const f=a.D.get(b);e=new Map;lj.forEach(g=>{const k=g[0]===olympe.dc.li.Kp;var l=k?g.substring(1):g;let m;l=null!=(m=null==f?void 0:f.get(gj+l))?m:0;l=k?((l&3)<<2)+((l&12)>>2):l;(c===fj?12:3)&l&&e.set(g,!!((c===fj?8:2)&l))});a.R.set(d,e)}return e}
1297
- olympe.dc.db.IQ=class{constructor(a,b,c){this.id=a;this.D=b;this.W=c;this.O=new Map;this.X=new Map;this.T=new Set;this.C=new Map;this.R=new Map;this.buffer=[]}ja(){return this.id}};function vi(a){if(!a.O&&0<a.D.size)switch(a.mode){case olympe.dc.db.Vn.C.lF:a.O=!0;setTimeout(()=>{a.C.getState()===olympe.dc.db.Database.D.IDLE&&a.run()},a.delay);break;case olympe.dc.db.Vn.C.rU:a.O=!0,a.run()}}
1297
+ olympe.dc.db.IQ=class{constructor(a,b,c){this.id=a;this.D=b;this.W=c;this.O=new Map;this.X=new Map;this.T=new Set;this.C=new Map;this.R=new Map;this.buffer=[]}ja(){return this.id}};function vi(a){if(!a.O&&0<a.D.size)switch(a.mode){case olympe.dc.db.Vn.C.mF:a.O=!0;setTimeout(()=>{a.C.getState()===olympe.dc.db.Database.D.IDLE&&a.run()},a.delay);break;case olympe.dc.db.Vn.C.rU:a.O=!0,a.run()}}
1298
1298
  olympe.dc.db.Vn=class{constructor(a,b,c,d){this.V=a;this.C=b;this.D=new Set;this.mode=c;this.delay=d;this.O=!1;c!==olympe.dc.db.Vn.C.TB&&this.init()}run(){const a=this.C;this.V.debug('Start garbage collector with',this.D.size,'instances to check');const b=[];for(const c of this.D){const d=a.get(c);!d||0<d.c||(this.V.debug('Remove unused instance',c,'from database'),a.kc(c),b.push(c))}this.D.clear();this.C.dispatchEvent(olympe.dc.db.Database.Event.VG,b);this.O=!1}init(){const a=olympe.dc.db.Database.Event.AL,
1299
- b=olympe.dc.db.Database.Event.AH,c=olympe.dc.db.Database.Event.oK,d=olympe.dc.db.Database.D.IDLE,e=f=>{this.D.add(f);this.C.getState()===d&&vi(this)};this.C.C(olympe.dc.db.Database.Event.qD,e.bind(this));this.C.C(b,e.bind(this));this.C.C(a,f=>{this.D.delete(f)});this.C.addEventListener(olympe.dc.db.Database.Event.DU,()=>{this.run()});this.C.C(c,(f,...g)=>{this.V.error(g[0])})}};olympe.dc.db.Vn.C={TB:0,rU:1,lF:2};olympe.dc.db.Vn.D=5E3;olympe.dc.db.Rf=class a{constructor(b){this.id=null!=b?b:olympe.oa.Rr();this.je=new Map}ja(){return this.id}Wf(b){const c=olympe.dc.db.st.C.JC,d=olympe.dc.db.st.C.Qg,e=olympe.dc.db.st.C.Pz;this.je.forEach((f,g)=>{const k=f.Qe();switch(f.getState()){case c:const l=f.Sd();if(null===l)throw Error(`GraphPatch: try to create the instance ${g} with no source`);const m=f.$()?f.be():void 0;b.yf(g,l,m,k);break;case e:f.$()&&b.oh(g,f.be(),k);break;case d:b.D(g,f.R(),k)}for(const [l,m,n]of f.Xh())f=this.je.get(m),
1299
+ b=olympe.dc.db.Database.Event.AH,c=olympe.dc.db.Database.Event.oK,d=olympe.dc.db.Database.D.IDLE,e=f=>{this.D.add(f);this.C.getState()===d&&vi(this)};this.C.C(olympe.dc.db.Database.Event.rD,e.bind(this));this.C.C(b,e.bind(this));this.C.C(a,f=>{this.D.delete(f)});this.C.addEventListener(olympe.dc.db.Database.Event.DU,()=>{this.run()});this.C.C(c,(f,...g)=>{this.V.error(g[0])})}};olympe.dc.db.Vn.C={TB:0,rU:1,mF:2};olympe.dc.db.Vn.D=5E3;olympe.dc.db.Rf=class a{constructor(b){this.id=null!=b?b:olympe.oa.Rr();this.je=new Map}ja(){return this.id}Wf(b){const c=olympe.dc.db.st.C.KC,d=olympe.dc.db.st.C.Qg,e=olympe.dc.db.st.C.Pz;this.je.forEach((f,g)=>{const k=f.Qe();switch(f.getState()){case c:const l=f.Sd();if(null===l)throw Error(`GraphPatch: try to create the instance ${g} with no source`);const m=f.$()?f.be():void 0;b.yf(g,l,m,k);break;case e:f.$()&&b.oh(g,f.be(),k);break;case d:b.D(g,f.R(),k)}for(const [l,m,n]of f.Xh())f=this.je.get(m),
1300
1300
  n?b.Qb(l,g,m,k,f.Qe()):b.Xf(l,g,m,k,f.Qe())});return b}Fi(){return 0===this.je.size}Qc(){let b=0;this.je.forEach(c=>{b+=c.Qc()});return b}yf(b,c,d,e=null){c=this.O(b).create(c);'string'===typeof e&&this.Qb(olympe.dc.Lf.sh,b,e,e,null);d&&c.Yz(d)}oh(b,c,d=null){c&&this.O(b,d).Yz(c)}D(b,c=olympe.dc.Te.NONE,d=null){const e=this.je.get(b);if(e&&e.O())this.C(b,c);else{this.O(b,d).delete(c);for(const f of this.pA(b,c,!1))this.je.get(f).be().clear(),this.W(f,!0)}}Qb(b,c,d,e=null,f=null){this.O(c,e).ma(b,
1301
1301
  d);this.O(d,f).Oa(b,c)}Xf(b,c,d,e=null,f=null){this.O(c,e).za(b,d);this.O(d,f).xb(b,c)}$(b){var c=olympe.dc.eb();if(c.tc(b)){const d=c.model(b),e=c.source(b),f=c.be(b,!0);bj(c,b).forEach((g,k)=>{f.set(`${olympe.dc.li.sj}${k}`,g)});this.yf(b,e,f,d);(c=c.Cm(b))&&this.Qb(olympe.dc.Lf.bt,b,c);f.forEach(g=>{g instanceof olympe.dc.Kf&&this.$(g.ka())})}}xg(){return function*(b){for(const c of b.values())if(c.O()||c.$h()||c.$())yield c}(this.je)}ih(b){let c;return null!=(c=this.je.get(olympe.dc.Ya(b)))?c:
1302
1302
  null}C(b,c=olympe.dc.Te.NONE){b=this.pA(b,c);for(const d of b)this.W(d,!1),this.je.delete(d)}Xh(){return function*(b){for(var c=b.next();!c.done;){c=c.value;const d=c.tag();yield*c.Xh((e,f,g)=>[e,d,f,g]);c=b.next()}}(this.je.values())}iq(b,c,d=(e,f)=>[e,f]){return this.da(b,c,d)}*da(b,c,d,e=[]){e.push(b);b=this.ih(b);for(const [f,g]of b.pc(c))e.includes(f)||(yield*this.da(f,c,d,e),yield d(f,g))}R(b,c,d){const e=this.je.get(c),f=this.je.get(d);e&&e.W(b,olympe.dc.Ib.DESTINATION,d);f&&f.W(b,olympe.dc.Ib.ORIGIN,
@@ -1306,8 +1306,8 @@ d&&(d=new olympe.dc.db.st(b),this.je.set(b,d));return c?d.ob(c):d}T(b){const c=o
1306
1306
  olympe.dc.db.Rf.Aa=[olympe.dc.Ut,olympe.dc.hK];const rj=olympe.dc.db.Database.Event,sj=olympe.dc.db.Database.C.dw,tj=olympe.dc.db.Database.C.nR,uj=olympe.dc.db.Database.C.sj,vj=olympe.dc.db.Database.C.uB,wj=olympe.dc.db.Database.C.zv,xj=olympe.dc.Ib.ORIGIN,yj=olympe.dc.Ib.DESTINATION,zj=olympe.dc.Lf.sh,Aj=olympe.dc.Lf.bt;function Qh(a,b,c=!1){const d=a.get(uj+b);return c||void 0!==d?d:a.get(tj+b)}function ii(a,b){const c=a.e!==b;c&&(b?(a.e=b,Bj(a)):(Cj(a),a.e=b),a.db.D(b?rj.XB:rj.Qg,a.C));return c}
1307
1307
  function ji(a,b){const c=a.model();if(null!==c){if(c===b)return;oi(a,zj,c)}li(a,zj,b);b.forEach((d,e)=>{if(e[0]===uj||e[0]===tj)e=e.substring(1),Dj(a,e,d)});null===a.R||!b.e&&b!==a||a.db.ma(a,!0)}function ki(a,b){const c=a.Cm();if(null!==c){if(c===b)return;oi(a,Aj,c)}li(a,Aj,b);const d=new Map;b.forEach((e,f)=>{if(f[0]===uj||f[0]===tj)f=f.substring(1),a.has(uj+f)||(a.set(tj+f,e),d.set(f,e))});Ej(a,d)}
1308
1308
  function li(a,b,c){var d=xj+b;const e=Fj(a,yj+b);d=Fj(c,d);e.has(c.C)||(e.set(c.C,c),d.set(a.C,a),a.db.D(rj.Bz,a.C,b,yj,c.C),a.db.D(rj.Bz,c.C,b,xj,a.C),a.e&&c.e&&(Gj(a,b,yj,c,!0),Gj(c,b,xj,a,!0)))}function mi(a,b){oi(a,zj,b);a.forEach((c,d)=>{c=d.substring(1);Dj(a,c,null)});a.db.ma(a,!1)}function ni(a,b){oi(a,Aj,b);const c=new Map;a.forEach((d,e)=>{e[0]===tj&&(a.delete(e),d=e.substring(1),c.set(d,null))});Ej(a,c)}
1309
- function oi(a,b,c){const d=xj+b;void 0!==Hj(a,yj+b,c.C)&&(Hj(c,d,a.C),a.db.D(rj.YC,a.C,b,yj,c.C),a.db.D(rj.YC,c.C,b,xj,a.C),a.e&&c.e&&(Gj(a,b,yj,c,!1),Gj(c,b,xj,a,!1)))}function wi(a,b,c){const d=uj+b;var e=a.get(d);e=void 0===e?null:e;if(!Ij(e,c))if(Jj(a,b,e,c,!0),e=tj+b,null===c){a.delete(d);let f;c=null==(f=a.Cm())?void 0:Qh(f,b);c=void 0===c?null:c;null!==c&&a.set(e,c);Ej(a,(new Map).set(b,c))}else void 0!==a.get(e)&&a.delete(e),a.set(d,c),Ej(a,(new Map).set(b,c))}
1310
- function Oi(a,b,c,d){const e=Fj(a,wj+b);return e.has(c)?!1:(e.set(c,d),a.nk(olympe.dc.db.Instance.C.zv+b),a.db.D(rj.QF,a.C,b,c),!0)}function Li(a,b,c){const d=Hj(a,wj+b,c);void 0!==d&&(a.detach(olympe.dc.db.Instance.C.zv+b),a.db.D(rj.RF,a.C,b,c));return d}function Vi(a,b,c,d){const e=(...f)=>{var g=f.length;const k=f[g-2];if(g=a.db.get(f[g-1])){const l=olympe.dc.db.Instance.C.MT+b;k?g.nk(l):g.detach(l)}d(...f)};return Oi(a,b,c,e)?e:null}
1309
+ function oi(a,b,c){const d=xj+b;void 0!==Hj(a,yj+b,c.C)&&(Hj(c,d,a.C),a.db.D(rj.ZC,a.C,b,yj,c.C),a.db.D(rj.ZC,c.C,b,xj,a.C),a.e&&c.e&&(Gj(a,b,yj,c,!1),Gj(c,b,xj,a,!1)))}function wi(a,b,c){const d=uj+b;var e=a.get(d);e=void 0===e?null:e;if(!Ij(e,c))if(Jj(a,b,e,c,!0),e=tj+b,null===c){a.delete(d);let f;c=null==(f=a.Cm())?void 0:Qh(f,b);c=void 0===c?null:c;null!==c&&a.set(e,c);Ej(a,(new Map).set(b,c))}else void 0!==a.get(e)&&a.delete(e),a.set(d,c),Ej(a,(new Map).set(b,c))}
1310
+ function Oi(a,b,c,d){const e=Fj(a,wj+b);return e.has(c)?!1:(e.set(c,d),a.nk(olympe.dc.db.Instance.C.zv+b),a.db.D(rj.RF,a.C,b,c),!0)}function Li(a,b,c){const d=Hj(a,wj+b,c);void 0!==d&&(a.detach(olympe.dc.db.Instance.C.zv+b),a.db.D(rj.SF,a.C,b,c));return d}function Vi(a,b,c,d){const e=(...f)=>{var g=f.length;const k=f[g-2];if(g=a.db.get(f[g-1])){const l=olympe.dc.db.Instance.C.MT+b;k?g.nk(l):g.detach(l)}d(...f)};return Oi(a,b,c,e)?e:null}
1311
1311
  function Ij(a,b){return a instanceof Date?b instanceof Date&&a.getTime()===b.getTime():null!==a&&'function'===typeof a.Rb?a.Rb(b):a===b}
1312
1312
  function Jj(a,b,c,d,e){c instanceof olympe.dc.Kf&&(Kj(a.db.get(c.ka())),a.db.Pa(c.ka()));d instanceof olympe.dc.Kf&&(c=a.db.T(d.ka(),!0),c.D&&c.D.tag!==a.C&&a.db.Cb().fatal('Instance',d.ka(),'referenced multiple times!\nThis instance is currently property of',c.D.tag,'(for the property '+c.D.Ec+')','and is assigned as a property of',a.C,'(for the property '+b+')'),d=c,a=a.C,void 0===d.D&&(d.nk(olympe.dc.db.Instance.C.gw+a+':'+b),d.db.Ha(d.C,a,b)),d.D={tag:a,Ec:b,IX:e})}
1313
1313
  function Lj(a,b,c,d){a.e&&a.db.Yc(a.C,b,c,d)}function Ej(a,b,c=[]){const d=a.get(xj+zj);void 0!==d&&d.forEach(e=>{b.forEach((f,g)=>Dj(e,g,f))});a=a.get(xj+Aj);void 0!==a&&a.forEach((e,f)=>{if(!c.includes(e.tag())){var g=new Map;b.forEach((k,l)=>{e.has(uj+l)||(g.set(l,k),null!==k?e.set(tj+l,k):e.delete(tj+l))});Ej(e,g,[...c,f])}})}function Fj(a,b){let c;return null!=(c=a.get(b))?c:a.create(b)}function Gj(a,b,c,d,e){a.db.gd(a.C,b,c,d.C,e)}
@@ -1317,21 +1317,21 @@ function Kj(a){void 0!==a.D&&(a.detach(olympe.dc.db.Instance.C.gw+a.D.tag+':'+a.
1317
1317
  olympe.dc.db.Instance=class extends Map{constructor(a,b){super();this.C=a;this.R=null;this.e=!1;this.D=void 0;this.c=0;this.T=!1;this.db=b}tag(){return this.C}tc(){return this.e}O(){return this.db.O(this.C)}source(){return this.R}model(){const a=this.get(yj+zj);let b;return null!=(b=a&&Array.from(a.values())[0])?b:null}Cm(){const a=this.get(yj+Aj);let b;return null!=(b=a&&Array.from(a.values())[0])?b:null}toString(){var a=this.Ac(olympe.dc.CloudObject.nameProp.ka());a=`Instance: ${this.C}, Exist: ${this.e}, Name: ${a}`;
1318
1318
  var b=this.model();if(b){var c=b.Ac(olympe.dc.CloudObject.nameProp.ka())||'No model name';a+=`\nModel: ${b.C}, Exist: ${b.e}, Model name: ${c}`}else a+='\nModel: no model';(b=this.Cm())?(c=b.Ac(olympe.dc.CloudObject.nameProp.ka())||'No extension name',a+=`\nExtension: ${b.C}, Exist: ${b.e}, Extension name: ${c}`):a+='\nExtension: no extension';return a}Ac(a,b=!1){const c=this.get(sj+a);return b||void 0!==c?c:this.get(vj+a)}update(a,b){const c=sj+a;var d=this.get(c);d=void 0===d?null:d;if(!Ij(d,b))if(Jj(this,
1319
1319
  a,d,b,!1),d=vj+a,null===b){this.delete(c);let e;b=null==(e=this.model())?void 0:Qh(e,a);void 0!==b?(this.set(d,b),Lj(this,a,b,!0)):Lj(this,a,null,!1)}else this.set(c,b),this.delete(d),Lj(this,a,b,!1)}persist(){this.T=!0;return this}nk(){this.c++;1===this.c&&this.db.D(rj.AL,this.C)}detach(){0<this.c?--this.c:this.db.D(rj.oK,this.C,`Try to decrease references on instance ${this.C} but the reference counter is already 0.\n`+'It happens when you try to remove a callback from an instance multiple times.\nThis counter reference is used for garbage collection of instances in the database.');
1320
- 0===this.c&&this.db.D(rj.qD,this.C)}clear(){this.forEach((a,b)=>{const c=b[0];if(c===xj||c===yj){const d=b.substring(1),e=c===xj?yj:xj;a.forEach(f=>{const g=f.get(e+d);g.delete(this.C);0===g.size&&f.delete(e+d)})}c===sj&&a instanceof olympe.dc.Kf&&Kj(this.db.get(a.ka()))});void 0!==this.D&&this.db.get(this.D.tag).delete(sj+this.D.Ec)}create(a){const b=new Map;this.set(a,b);return b}};olympe.dc.db.Instance.C={yH:'instance',MT:'rel',zv:'cb',gw:'ref',TRANSACTION:'tx'};olympe.dc.db.st=class a{constructor(b){this.Eb=b;this.T=this.ca=null;this.af=olympe.dc.Te.NONE;this.D=a.C.Pz;this.C=this.md=this.Pb=this.da=this.properties=null}tag(){return this.Eb}Qe(){return this.T}Sd(){return this.ca}getState(){return this.D}ob(b){if(null===this.T)this.T=b;else if(this.T!==b)throw Error(`Try to set a model relation with another model ${b} than the one set initially ${this.T}`);return this}R(){return this.D===a.C.Qg?this.af:olympe.dc.Te.NONE}create(b){this.D=a.C.JC;this.ca=null!=
1320
+ 0===this.c&&this.db.D(rj.rD,this.C)}clear(){this.forEach((a,b)=>{const c=b[0];if(c===xj||c===yj){const d=b.substring(1),e=c===xj?yj:xj;a.forEach(f=>{const g=f.get(e+d);g.delete(this.C);0===g.size&&f.delete(e+d)})}c===sj&&a instanceof olympe.dc.Kf&&Kj(this.db.get(a.ka()))});void 0!==this.D&&this.db.get(this.D.tag).delete(sj+this.D.Ec)}create(a){const b=new Map;this.set(a,b);return b}};olympe.dc.db.Instance.C={yH:'instance',MT:'rel',zv:'cb',gw:'ref',TRANSACTION:'tx'};olympe.dc.db.st=class a{constructor(b){this.Eb=b;this.T=this.ca=null;this.af=olympe.dc.Te.NONE;this.D=a.C.Pz;this.C=this.md=this.Pb=this.da=this.properties=null}tag(){return this.Eb}Qe(){return this.T}Sd(){return this.ca}getState(){return this.D}ob(b){if(null===this.T)this.T=b;else if(this.T!==b)throw Error(`Try to set a model relation with another model ${b} than the one set initially ${this.T}`);return this}R(){return this.D===a.C.Qg?this.af:olympe.dc.Te.NONE}create(b){this.D=a.C.KC;this.ca=null!=
1321
1321
  b?b:null;return this}delete(b=olympe.dc.Te.NONE){this.D=a.C.Qg;this.af=b;this.properties=null;return this}fa(b,c){if(this.D===a.C.Qg)return this;this.properties||(this.properties=new Map);this.properties.set(b,c);return this}Yz(b){this.D!==a.C.Qg&&(this.properties||(this.properties=new Map),b.forEach((c,d)=>{this.properties.set(d,c)}))}ld(b,c){if(null!==this.da&&this.da!==b)throw Error('An instance should never be set as complex property of multiple instances');this.da=b;this.Pb=c}Pa(b){let c;null==
1322
1322
  (c=this.properties)||c.delete(b);0===this.properties.size&&(this.properties=null)}ma(b,c){null===this.md&&(this.md=new Map);b===olympe.dc.Lf.sh&&this.ob(c);this.tb(this.md,b,c,!0)}za(b,c){null===this.md&&(this.md=new Map);b===olympe.dc.Lf.sh&&this.ob(c);this.tb(this.md,b,c,!1)}Oa(b,c){null===this.C&&(this.C=new Map);this.tb(this.C,b,c,!0)}xb(b,c){null===this.C&&(this.C=new Map);this.tb(this.C,b,c,!1)}qc(b,c,d){if(c=c===olympe.dc.Ib.ORIGIN?this.C:this.md)return(b=c.get(b))&&b.get(d)}W(b,c,d){const e=
1323
- (c=c===olympe.dc.Ib.ORIGIN?this.C:this.md)&&c.get(b);e&&e.delete(d);e&&0===e.size&&c.delete(b)}O(){return this.D===a.C.JC}$h(){return this.D===a.C.Qg}Qc(){let b=this.properties?this.properties.size:0,c;null==(c=this.md)||c.forEach(d=>{b+=d.size});return b}clone(){const b=new a(this.Eb);b.D=this.D;b.T=this.T;b.ca=this.ca;this.properties&&b.Yz(this.properties);for(const [c,d,e]of this.Xh())e?b.ma(c,d):b.za(c,d);for(const [c,d,e]of this.Ka())e?b.Oa(c,d):b.xb(c,d);return b}$(){return null!==this.properties}kc(){return null!==
1323
+ (c=c===olympe.dc.Ib.ORIGIN?this.C:this.md)&&c.get(b);e&&e.delete(d);e&&0===e.size&&c.delete(b)}O(){return this.D===a.C.KC}$h(){return this.D===a.C.Qg}Qc(){let b=this.properties?this.properties.size:0,c;null==(c=this.md)||c.forEach(d=>{b+=d.size});return b}clone(){const b=new a(this.Eb);b.D=this.D;b.T=this.T;b.ca=this.ca;this.properties&&b.Yz(this.properties);for(const [c,d,e]of this.Xh())e?b.ma(c,d):b.za(c,d);for(const [c,d,e]of this.Ka())e?b.Oa(c,d):b.xb(c,d);return b}$(){return null!==this.properties}kc(){return null!==
1324
1324
  this.md||null!==this.C}be(){let b;return null!=(b=this.properties)?b:new Map}Ac(b){if(this.properties)return this.properties.get(b)}pc(b,c=(d,e)=>[d,e]){return function*(d){if(d=d&&d.get(b.ka()))for(const [e,f]of d)yield c(e,f)}(b.zc()===olympe.dc.Ib.ORIGIN?this.C:this.md)}Wd(b){const c=b.zc()===olympe.dc.Ib.ORIGIN?this.C:this.md;return(b=c&&c.get(b.ka()))&&0!==b.size?Array.from(b.keys())[0]:null}Xh(b=(c,d,e)=>[c,d,e]){return this.sb(this.md,b)}Ka(b=(c,d,e)=>[c,d,e]){return this.sb(this.C,b)}Ha(b=
1325
- (c,d,e,f)=>[c,d,e,f]){const c=olympe.dc.Ib.ORIGIN,d=olympe.dc.Ib.DESTINATION;return function*(e,f,g){yield*e(f,(k,l,m)=>b(k,d,l,m));yield*e(g,(k,l,m)=>b(k,c,l,m))}(this.sb.bind(this),this.md,this.C)}tb(b,c,d,e){if(this.D!==a.C.Qg||!e){var f=b.get(c);if(void 0===f)f=new Map,b.set(c,f);else if(b=f.get(d),void 0!==b&&b!==e){f.delete(d);return}f.set(d,e)}}*sb(b,c){if(null!==b)for(const [d,e]of b){b=e.entries();for(const [f,g]of b)yield c(d,f,g)}}};olympe.dc.db.st.C={JC:0,Pz:1,Qg:2};olympe.dc.db.aT=class{constructor(a,b,c,d){this.V=a;this.view=b;this.C=c;(this.active=d.get('active'))&&this.init()}debug(a){const b=olympe.dc.Ya(a);if(this.C.has(b)){var c=this.C.get(a);a='\n[DEBUG - DATABASE]\n'+c.toString();if(!c.tc()){const d=[];for(;null!==c&&!d.includes(c.tag());)d.push(c.tag()),c=c.model();c=this.C.get(d[d.length-1]);const e=olympe.dc.db.Database.C.dw+olympe.dc.CloudObject.nameProp.ka();d.push('???');a+='\n\nThe instance <<'+b+'>> does not exists because the instance '+c.tag()+
1326
- ' (name: '+c.get(e)+') has no model.\nList: '+d.join(' --M--\x3e ')}this.V.info(a)}else this.V.info('[DATABASE] Instance',b,'has never been created or referred by the database')}init(){const a=olympe.dc.db.Database.Event.BG,b=olympe.dc.db.Database.Event.XB,c=olympe.dc.db.Database.Event.Qg,d=olympe.dc.db.Database.Event.Bz,e=olympe.dc.db.Database.Event.YC,f=olympe.dc.db.Database.Event.QF,g=olympe.dc.db.Database.Event.RF,k=()=>{};this.C.C(olympe.dc.db.Database.Event.AG,()=>{});this.C.C(a,()=>{});this.C.C(b,
1325
+ (c,d,e,f)=>[c,d,e,f]){const c=olympe.dc.Ib.ORIGIN,d=olympe.dc.Ib.DESTINATION;return function*(e,f,g){yield*e(f,(k,l,m)=>b(k,d,l,m));yield*e(g,(k,l,m)=>b(k,c,l,m))}(this.sb.bind(this),this.md,this.C)}tb(b,c,d,e){if(this.D!==a.C.Qg||!e){var f=b.get(c);if(void 0===f)f=new Map,b.set(c,f);else if(b=f.get(d),void 0!==b&&b!==e){f.delete(d);return}f.set(d,e)}}*sb(b,c){if(null!==b)for(const [d,e]of b){b=e.entries();for(const [f,g]of b)yield c(d,f,g)}}};olympe.dc.db.st.C={KC:0,Pz:1,Qg:2};olympe.dc.db.aT=class{constructor(a,b,c,d){this.V=a;this.view=b;this.C=c;(this.active=d.get('active'))&&this.init()}debug(a){const b=olympe.dc.Ya(a);if(this.C.has(b)){var c=this.C.get(a);a='\n[DEBUG - DATABASE]\n'+c.toString();if(!c.tc()){const d=[];for(;null!==c&&!d.includes(c.tag());)d.push(c.tag()),c=c.model();c=this.C.get(d[d.length-1]);const e=olympe.dc.db.Database.C.dw+olympe.dc.CloudObject.nameProp.ka();d.push('???');a+='\n\nThe instance <<'+b+'>> does not exists because the instance '+c.tag()+
1326
+ ' (name: '+c.get(e)+') has no model.\nList: '+d.join(' --M--\x3e ')}this.V.info(a)}else this.V.info('[DATABASE] Instance',b,'has never been created or referred by the database')}init(){const a=olympe.dc.db.Database.Event.CG,b=olympe.dc.db.Database.Event.XB,c=olympe.dc.db.Database.Event.Qg,d=olympe.dc.db.Database.Event.Bz,e=olympe.dc.db.Database.Event.ZC,f=olympe.dc.db.Database.Event.RF,g=olympe.dc.db.Database.Event.SF,k=()=>{};this.C.C(olympe.dc.db.Database.Event.BG,()=>{});this.C.C(a,()=>{});this.C.C(b,
1327
1327
  l=>{this.C.sb(()=>{Wi(this.view,l,k,`monitorRelations${l}`)})});this.C.C(c,l=>{this.C.sb(()=>{Xi(this.view,l,`monitorRelations${l}`)})});this.C.C(d,()=>{});this.C.C(e,()=>{});this.C.C(f,()=>{});this.C.C(g,()=>{})}};function Xh(a,b){if(null!==a.transactionId)throw Error('A transaction is already open');a.transactionId=a.C.Yh(b);a.V.debug(`DB Writer: transaction ${a.transactionId} opened`)}
1328
- olympe.dc.db.sD=class{constructor(a,b,c,d){this.V=a;this.C=b;this.eb=c;this.O=d;this.transactionId=null}write(a,b){b&&(b=new Mj(this.eb),a.Wf(b),this.V.info(b.flush()));if(null===this.transactionId)throw Error('You must first open a transaction before to write');this.V.debug('DB Writer: writing patch',a.ja(),'for transaction',this.transactionId);this.C.ag(this.transactionId,()=>a.Wf(this))}close(){if(null===this.transactionId)throw Error('No transaction is open');this.C.ld(this.transactionId);this.V.debug(`DB Writer: transaction ${this.transactionId} committed`);
1328
+ olympe.dc.db.tD=class{constructor(a,b,c,d){this.V=a;this.C=b;this.eb=c;this.O=d;this.transactionId=null}write(a,b){b&&(b=new Mj(this.eb),a.Wf(b),this.V.info(b.flush()));if(null===this.transactionId)throw Error('You must first open a transaction before to write');this.V.debug('DB Writer: writing patch',a.ja(),'for transaction',this.transactionId);this.C.ag(this.transactionId,()=>a.Wf(this))}close(){if(null===this.transactionId)throw Error('No transaction is open');this.C.ld(this.transactionId);this.V.debug(`DB Writer: transaction ${this.transactionId} committed`);
1329
1329
  this.transactionId=null}yf(a,b,c,d){this.C.create(a,b,c,this.O);d&&this.C.Ka(olympe.dc.Lf.sh,a,d)}oh(a,b){this.C.update(a,b)}D(a,b=olympe.dc.Te.NONE){for(const c of Ph(this.eb,a,b))this.C.Pa(c)}Qb(a,b,c){this.C.Ka(a,b,c)}Xf(a,b,c){this.C.vg(a,b,c)}};
1330
1330
  function Nj(a,b,c){if(!b)return'';let d='';if(c&&1<c)return'...';for(const [e,f]of b)if(d+=(d?', "':'"')+e+'":',!f)d+=JSON.stringify(f);else if(f instanceof olympe.dc.Kf||f instanceof olympe.dc.CloudObject)d+='Reference("'+f.ka()+'")';else if(f instanceof olympe.j.Color)d+='Color("'+f.Al()+','+f.zl()+','+f.ol()+','+f.nl()+'")';else if(f.constructor&&Object.prototype.hasOwnProperty.call(f.constructor.prototype,'toString'))d+=JSON.stringify(f.toString());else if('object'===typeof f){let g;d+=Nj(a,f,
1331
1331
  (null!=(g=c)?g:0)+1)}return'{'+(d?d:'')+'}'}function Oj(a,b){let c;return'string'===typeof b?null!=(c=a.db.name(b))?c:b:''}function Pj(a,b){let c;return b===olympe.dc.Lf.sh?'Model':null!=(c=a.db.name(b))?c:b}
1332
1332
  class Mj{constructor(a){this.db=a;this.C='Applying patch on the local database'}flush(){const a=this.C;this.C='';return a}log(a,b){this.C+=`\ndb.${a};${b?`// ${b}`:''}`}yf(a,b,c,d){this.log(`createInstance(tag: ${a}, source: ${b}, ${Nj(this,c)})`,Oj(this,d))}oh(a,b,c){this.log(`updateInstance(tag: ${a}, ${Nj(this,b)})`,Oj(this,c))}D(a,b,c){this.log(`deleteInstance("${a}", rule: ${b})`,Oj(this,c))}Qb(a,b,c){this.log(`createRelation("${a}", "${b}", "${c}")`,Pj(this,a))}Xf(a,b,c){this.log(`deleteRelation("${a}", "${b}", "${c}")`,
1333
- Pj(this,a))}}olympe.dc.db.sD.Aa=[olympe.dc.Ut,olympe.dc.Ut];olympe.dc.db.ba={Vb:'dc.db.Logger',dC:'dc.db.gc.Logger',Ob:'dc.db.DatabaseManager',Gy:'dc.db.Database',QB:'dc.db.DBView',a0:'dc.db.Graph',YZ:'dc.db.DatabaseWriter',S0:'dc.db.PermissionProcessor',Vv:'dc.db.GraphMonitor'};olympe.dc.db.pa={WG:'db.garbageCollector',XG:'db.garbageCollectorDelay',JB:'db.commitBufferTimeout',Vv:'db.monitor',VS:'db.monitorCounters',US:'db.monitorCallbacks',pG:'db.debug'};
1334
- olympe.sa.$e(function(a){E(a,olympe.dc.db.pa.WG,olympe.dc.db.Vn.C.lF);E(a,olympe.dc.db.pa.XG,5E3);E(a,olympe.dc.db.pa.JB,3E4);E(a,olympe.dc.db.pa.Vv,!1);E(a,olympe.dc.db.pa.pG,!1);C(a,olympe.dc.db.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('db'));C(a,olympe.dc.db.ba.dC,[olympe.gb.ba.Ob],b=>b.Vg('gc'));C(a,olympe.dc.db.ba.Gy,[olympe.dc.db.ba.Vb,olympe.dc.db.ba.dC,new olympe.sa.zb(olympe.dc.pa.yr),new olympe.sa.zb(olympe.dc.db.pa.WG),new olympe.sa.zb(olympe.dc.db.pa.XG),new olympe.sa.zb(olympe.dc.pa.Kt),new olympe.sa.zb(olympe.dc.db.pa.pG)],
1333
+ Pj(this,a))}}olympe.dc.db.tD.Aa=[olympe.dc.Ut,olympe.dc.Ut];olympe.dc.db.ba={Vb:'dc.db.Logger',eC:'dc.db.gc.Logger',Ob:'dc.db.DatabaseManager',Gy:'dc.db.Database',QB:'dc.db.DBView',a0:'dc.db.Graph',YZ:'dc.db.DatabaseWriter',S0:'dc.db.PermissionProcessor',Vv:'dc.db.GraphMonitor'};olympe.dc.db.pa={WG:'db.garbageCollector',XG:'db.garbageCollectorDelay',JB:'db.commitBufferTimeout',Vv:'db.monitor',VS:'db.monitorCounters',US:'db.monitorCallbacks',qG:'db.debug'};
1334
+ olympe.sa.$e(function(a){E(a,olympe.dc.db.pa.WG,olympe.dc.db.Vn.C.mF);E(a,olympe.dc.db.pa.XG,5E3);E(a,olympe.dc.db.pa.JB,3E4);E(a,olympe.dc.db.pa.Vv,!1);E(a,olympe.dc.db.pa.qG,!1);C(a,olympe.dc.db.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('db'));C(a,olympe.dc.db.ba.eC,[olympe.gb.ba.Ob],b=>b.Vg('gc'));C(a,olympe.dc.db.ba.Gy,[olympe.dc.db.ba.Vb,olympe.dc.db.ba.eC,new olympe.sa.zb(olympe.dc.pa.yr),new olympe.sa.zb(olympe.dc.db.pa.WG),new olympe.sa.zb(olympe.dc.db.pa.XG),new olympe.sa.zb(olympe.dc.pa.Kt),new olympe.sa.zb(olympe.dc.db.pa.qG)],
1335
1335
  (b,c,d,e,f,g,k)=>{e=g?olympe.dc.db.Vn.C.TB:e;d=(new Map).set('selfTag',d).set('garbageCollector',e).set('garbageCollectorDelay',f).set('debug',k);return new olympe.dc.db.Database(b,c,d)});B(a,olympe.dc.db.ba.QB,olympe.dc.zd,olympe.dc.db.ba.Vb,olympe.dc.db.ba.Gy);C(a,olympe.dc.db.ba.Vv,[olympe.dc.db.ba.Ob],b=>b.ZX);C(a,olympe.dc.db.ba.Ob,[olympe.dc.db.ba.Vb,olympe.dc.db.ba.Gy,olympe.dc.db.ba.QB,new olympe.sa.zb(olympe.dc.pa.tp),new olympe.sa.zb(olympe.dc.db.pa.JB),new olympe.sa.zb(olympe.dc.db.pa.Vv),
1336
1336
  new olympe.sa.zb(olympe.dc.db.pa.VS),new olympe.sa.zb(olympe.dc.db.pa.US)],(b,c,d,e,f,g,k,l)=>{g=(new Map).set('active',g).set('counters',k).set('callbacks',l);e=(new Map).set('debug',e).set('bufferTimeout',f);return new olympe.dc.db.BQ(b,c,d,e,g)})},'olympe.dc.db');olympe.sa.run([olympe.dc.db.ba.Gy,olympe.dc.db.ba.Vv],(a,b)=>{olympe.Jj().db=a;olympe.Jj().dbMonitor=b},'DC.DB debug service injection');olympe.dc.query={};function Qj(a){return(b,c)=>{const d=null===b,e=null===c;return d||e?d&&e?0:d?1:-1:a(b,c)}}
1337
1337
  olympe.dc.query.Qn=class{constructor(a,b,c){this.db=olympe.dc.eb();this.C=a;this.Ec=b;this.Sv=c}fb(){return{p:this.Ec.ka(),o:this.Sv}}toString(){return'sortByQueryPart-'+this.Sv+this.Ec.ka()}Ur(){const a=this.db.Wd(this.Ec,olympe.dm.Property.typeRel),b=olympe.dc.Ya;if(this.db.Xm(a,olympe.dm.String))return Qj((c,d)=>c.localeCompare(d));if(a===b(olympe.dm.Number)||a===b(olympe.dm.Boolean))return Qj((c,d)=>c-d);if(a===b(olympe.dm.DateTime))return Qj((c,d)=>c.getTime()-d.getTime());if(a===b(olympe.dm.Color))return Qj((c,
@@ -1341,41 +1341,41 @@ function Uj(a){let b;const c=!(null==(b=a.C)?0:b.Fi());a.O=c?a.C:null;a.R.forEac
1341
1341
  r+A)))});c.set(g,[w,u&&k,r+v])}else c.set(g,[n,k,r])}let d;a=null==(d=c.get('root'))?void 0:d[0].get('root');return Array.from(null!=a?a:[]).map(e=>e.slice(0,-1).split(';'))}function Xj(a){if(null===a.D){const b={Oe:a.query.Ur(),Mi:a.Mi,max:a.query.C.max,offset:a.query.C.offset};a.D=olympe.dc.xc.from(a.$,Vj(a),b)}return a.D}function Yj(a,b){a.W=b}function Zj(a){if(!a.T){null!==a.D&&(a.$=a.D);a.D=null;a.T=!0;let b;null==(b=a.W)||b.call(a)}}
1342
1342
  function ak(a,b){let c;return null!=(c=a.C.get(b).xg())?c:[]}function bk(a,b,c){let d,e;return null!=(e=null==(d=a.C.get(c))?void 0:d.has(b))?e:!1}function ck(a,b,c=a.O,d='root'){const e=a.C.get(c);if(!e)return a.V.error('Try to insert result entry to a higher level than possible'),null;const f=!e.has(b);e.D(b,d)&&Zj(a);let g;f&&(null==(g=a.Dl)||Sj(g,b,a.R.has(c)));return f}function dk(a,b,c,d,e,f){null!==a.Dl&&(d===olympe.dc.Ib.ORIGIN?Tj(a.Dl,b,c,f,e):Tj(a.Dl,b,c,e,f))}
1343
1343
  function ek(a){a.V.C()&&a.V.debug(`Start sending notifications for query ${a.query.ja()}`);const b=new olympe.dc.query.gT(a.V,a.query.Sd(),a.query.ja(),a);a.C.forEach((c,d)=>{for(const e of c.xg())Sj(b,e,a.R.has(d))});null!=b.C||(b.C=new olympe.dc.db.Rf);a.Dl=b}function fk(a){null!==a.Dl&&(a.V.C()&&a.V.debug(`Stop sending notifications for query ${a.query.ja()}`),a.C.forEach(b=>{for(const c of b.xg())a.Dl.stop(c)}),a.Dl=null)}function gk(a){a.T=!1;let b;null==(b=a.Dl)||Uj(b)}
1344
- olympe.dc.query.fK=class{constructor(a,b){this.V=a;this.query=b;this.O=olympe.oa.Xd(b.D);this.wb=new Map;this.C=(new Map).set(this.O,new olympe.dc.query.wb.fD);this.R=new Set(b.O);this.Mi=-1;this.T=!1;this.W=null;this.$=olympe.dc.xc.empty();this.Dl=this.D=null;a=Wj(b);a.forEach(c=>{const d=c.ja();this.wb.set(d,c.clone());this.C.set(d,c.da())});b=b.Ur();if(null!==b){b=b.C;let c=-1;for(const d of[this.O].concat(a.map(e=>e.ja())))if(c+=this.R.has(d)?1:0,b===d){this.Mi=c;break}}}remove(a,b=this.O,c='root'){b=
1345
- this.C.get(b);if(null==b?0:b.remove(a,c))if(Zj(this),!b.has(a)){let d;null==(d=this.Dl)||d.stop(a);return!0}return!1}hh(a){const b=a.D,c=olympe.oa.Xd(b);a=Wj(a);const d=[];for(const [f,g]of this.C){if(g.R(b))return!0;g.has(b)&&d.push(f)}const e=(new Map).set(c,d);return 0<d.length&&a.every(f=>{let g;const k=(null!=(g=e.get(f.C))?g:[]).flatMap(l=>f.$(l,this.wb.get(l))).filter(l=>{let m,n;return null!=(n=null==(m=this.wb.get(l))?void 0:m.hh(f))?n:!1});e.set(f.ja(),k);return 0<k.length})}};function hk(a){if(!olympe.dc.eb().me(a,olympe.dm.Property))throw new olympe.dc.query.ti(`The specified property while trying to build a query predicate is invalid: ${a}`);}
1346
- function ik(a){var b=olympe.dc.query.Yb.C.nL;const c=olympe.dc.query.Yb.C.DG,d=olympe.dc.query.Yb.C.By,e=olympe.dc.query.Yb.C.xH,f=olympe.dc.query.Yb.C.LJ,g=olympe.dc.query.Yb.C.pK,k=olympe.dc.query.Yb.C.kF,l=olympe.dc.query.Yb.C.UJ;switch(a.pr){case b:return new olympe.dc.query.Ca.mD(a.t);case c:b=a.v;switch(a.t){case 2:b=new Date(b);break;case 3:b=olympe.dc.CloudObject.get(b);break;case 4:b=olympe.j.Color.create(b.r,b.g,b.b,b.a)}return new olympe.dc.query.Ca.Lk(a.p,b,olympe.dc.eb());case d:return new olympe.dc.query.Ca.Sn(a.p,
1344
+ olympe.dc.query.fK=class{constructor(a,b){this.V=a;this.query=b;this.O=olympe.oa.Xd(b.D);this.vb=new Map;this.C=(new Map).set(this.O,new olympe.dc.query.vb.gD);this.R=new Set(b.O);this.Mi=-1;this.T=!1;this.W=null;this.$=olympe.dc.xc.empty();this.Dl=this.D=null;a=Wj(b);a.forEach(c=>{const d=c.ja();this.vb.set(d,c.clone());this.C.set(d,c.da())});b=b.Ur();if(null!==b){b=b.C;let c=-1;for(const d of[this.O].concat(a.map(e=>e.ja())))if(c+=this.R.has(d)?1:0,b===d){this.Mi=c;break}}}remove(a,b=this.O,c='root'){b=
1345
+ this.C.get(b);if(null==b?0:b.remove(a,c))if(Zj(this),!b.has(a)){let d;null==(d=this.Dl)||d.stop(a);return!0}return!1}hh(a){const b=a.D,c=olympe.oa.Xd(b);a=Wj(a);const d=[];for(const [f,g]of this.C){if(g.R(b))return!0;g.has(b)&&d.push(f)}const e=(new Map).set(c,d);return 0<d.length&&a.every(f=>{let g;const k=(null!=(g=e.get(f.C))?g:[]).flatMap(l=>f.$(l,this.vb.get(l))).filter(l=>{let m,n;return null!=(n=null==(m=this.vb.get(l))?void 0:m.hh(f))?n:!1});e.set(f.ja(),k);return 0<k.length})}};function hk(a){if(!olympe.dc.eb().me(a,olympe.dm.Property))throw new olympe.dc.query.ti(`The specified property while trying to build a query predicate is invalid: ${a}`);}
1346
+ function ik(a){var b=olympe.dc.query.Yb.C.nL;const c=olympe.dc.query.Yb.C.EG,d=olympe.dc.query.Yb.C.By,e=olympe.dc.query.Yb.C.xH,f=olympe.dc.query.Yb.C.LJ,g=olympe.dc.query.Yb.C.pK,k=olympe.dc.query.Yb.C.lF,l=olympe.dc.query.Yb.C.UJ;switch(a.pr){case b:return new olympe.dc.query.Ca.nD(a.t);case c:b=a.v;switch(a.t){case 2:b=new Date(b);break;case 3:b=olympe.dc.CloudObject.get(b);break;case 4:b=olympe.j.Color.create(b.r,b.g,b.b,b.a)}return new olympe.dc.query.Ca.Lk(a.p,b,olympe.dc.eb());case d:return new olympe.dc.query.Ca.Sn(a.p,
1347
1347
  a.s,olympe.dc.eb(),a.c);case e:return new olympe.dc.query.Ca.Ov(olympe.dc.eb(),a.p,a.b,a.l,a.s);case f:return new olympe.dc.query.Ca.ik(ik(a.v));case g:return new olympe.dc.query.Ca.mo(a.p,new RegExp(a.r),olympe.dc.eb(),a.c);case l:return new olympe.dc.query.Ca.Wk(...a.p.map(m=>ik(m)));case k:return new olympe.dc.query.Ca.Ni(...a.p.map(m=>ik(m)));default:return null}}
1348
- olympe.dc.query.Yb=class{observe(){}Kd(){}compile(){return[[this]]}Re(){return new olympe.dc.query.Ca.ik(this)}be(){}hh(){}clear(){}fb(){}nh(){}toString(){}Rb(a){return this===a}static xO(...a){return new olympe.dc.query.Ca.mD(a)}static Rb(a,b){hk(a);return new olympe.dc.query.Ca.Lk(a,b,olympe.dc.eb())}static contains(a,b,c=!0){hk(a);return new olympe.dc.query.Ca.Sn(a,b,olympe.dc.eb(),c)}static vY(a,b,c=!0){hk(a);return new olympe.dc.query.Ca.mo(a,b,olympe.dc.eb(),c)}static HA(a,b,c=!0){hk(a);return new olympe.dc.query.Ca.Ov(olympe.dc.eb(),
1348
+ olympe.dc.query.Yb=class{observe(){}Kd(){}compile(){return[[this]]}Re(){return new olympe.dc.query.Ca.ik(this)}be(){}hh(){}clear(){}fb(){}nh(){}toString(){}Rb(a){return this===a}static xO(...a){return new olympe.dc.query.Ca.nD(a)}static Rb(a,b){hk(a);return new olympe.dc.query.Ca.Lk(a,b,olympe.dc.eb())}static contains(a,b,c=!0){hk(a);return new olympe.dc.query.Ca.Sn(a,b,olympe.dc.eb(),c)}static vY(a,b,c=!0){hk(a);return new olympe.dc.query.Ca.mo(a,b,olympe.dc.eb(),c)}static HA(a,b,c=!0){hk(a);return new olympe.dc.query.Ca.Ov(olympe.dc.eb(),
1349
1349
  a,b,!1,c)}static ey(a,b,c=!0){hk(a);return new olympe.dc.query.Ca.Ov(olympe.dc.eb(),a,b,!0,c)}static and(...a){if(!a.every(b=>b instanceof olympe.dc.query.Yb))throw new olympe.dc.query.ti(`Some specified predicates, while trying to build an AND query predicate are invalid: ${a}`);return new olympe.dc.query.Ca.Ni(...a)}static or(...a){if(!a.every(b=>b instanceof olympe.dc.query.Yb))throw new olympe.dc.query.ti(`Some specified predicates, while trying to build an OR query predicate are invalid: ${a}`);
1350
1350
  return new olympe.dc.query.Ca.Wk(...a)}static Re(a){if(!(a instanceof olympe.dc.query.Yb))throw new olympe.dc.query.ti(`The specified predicate, while trying to build a NOT query predicate is invalid: ${a}`);return new olympe.dc.query.Ca.ik(a)}};olympe.dc.query.Yb.not=olympe.dc.query.Yb.Re;olympe.dc.query.Yb.or=olympe.dc.query.Yb.or;olympe.dc.query.Yb.and=olympe.dc.query.Yb.and;olympe.dc.query.Yb.smallerThan=olympe.dc.query.Yb.ey;olympe.dc.query.Yb.greaterThan=olympe.dc.query.Yb.HA;
1351
- olympe.dc.query.Yb.regex=olympe.dc.query.Yb.vY;olympe.dc.query.Yb.contains=olympe.dc.query.Yb.contains;olympe.dc.query.Yb.equals=olympe.dc.query.Yb.Rb;olympe.dc.query.Yb['in']=olympe.dc.query.Yb.xO;olympe.dc.query.Yb.C={nL:0,DG:1,By:2,xH:3,LJ:4,pK:5,UJ:6,kF:7};function Wj(a){return Array.from(a.wb)}
1352
- function jk(a,b){var c=b.relation,d=olympe.dm.Relation.originModelRel,e=olympe.dm.Relation.destinationModelRel;d=a.db.Wd(c,c.zc()===olympe.dc.Ib.ORIGIN?e:d);if(0>a.cursor)e=a.C.Hl;else if(e=a.wb[a.cursor],null!==e.ma)e=e.ma;else{var f=olympe.dc.Ib.ORIGIN;e=olympe.dc.eb().Wd(e.relation,e.relation.zc()===f?olympe.dm.Relation.originModelRel:olympe.dm.Relation.destinationModelRel)}if(a.db.tc(olympe.dc.CloudObject)&&(null===d||!a.db.Xm(d,e)&&!a.db.Xm(e,d)))throw new olympe.dc.query.ti(`The specified relation "${c}" is invalid at the current level "${a.db.name(e)} (${e})" of the Query you are building. Please make sure you did not forget a .back() or another relation.`);d=
1353
- b.ja();for(c=a.cursor+1;c<a.wb.length&&a.wb[c].ja()!==d;)c++;b=c<a.wb.length?a.wb:a.wb.concat(b);return new olympe.dc.nb(a.D,a.source,b,c,a.O,a.C)}function kk(a,b=a.cursor){return 0<=b?a.wb[b].ja():olympe.oa.Xd(a.D)}
1354
- function lk(a,b,c,d={}){var e=olympe.dc.Te.Wi;const f=(null==d?0:d.Xg)?d.Xg:olympe.dc.nb.Jf.cm,g=(null==d?0:d.kB)?'__code-as-data__':void 0;b=olympe.dc.Ya(b);const k=olympe.dc.Kj().Em(b);b=(new olympe.dc.nb(b,k)).Zi();b.wb=[f===olympe.dc.nb.Jf.Qp?new olympe.dc.query.wb.TG(kk(b),e,c):new olympe.dc.query.wb.ph(kk(b),e,c)];let l;b.R=null!=(l=null==d?void 0:d.DO)?l:!1;return b.observe(a,{Xg:f,$z:g})}
1351
+ olympe.dc.query.Yb.regex=olympe.dc.query.Yb.vY;olympe.dc.query.Yb.contains=olympe.dc.query.Yb.contains;olympe.dc.query.Yb.equals=olympe.dc.query.Yb.Rb;olympe.dc.query.Yb['in']=olympe.dc.query.Yb.xO;olympe.dc.query.Yb.C={nL:0,EG:1,By:2,xH:3,LJ:4,pK:5,UJ:6,lF:7};function Wj(a){return Array.from(a.vb)}
1352
+ function jk(a,b){var c=b.relation,d=olympe.dm.Relation.originModelRel,e=olympe.dm.Relation.destinationModelRel;d=a.db.Wd(c,c.zc()===olympe.dc.Ib.ORIGIN?e:d);if(0>a.cursor)e=a.C.Hl;else if(e=a.vb[a.cursor],null!==e.ma)e=e.ma;else{var f=olympe.dc.Ib.ORIGIN;e=olympe.dc.eb().Wd(e.relation,e.relation.zc()===f?olympe.dm.Relation.originModelRel:olympe.dm.Relation.destinationModelRel)}if(a.db.tc(olympe.dc.CloudObject)&&(null===d||!a.db.Xm(d,e)&&!a.db.Xm(e,d)))throw new olympe.dc.query.ti(`The specified relation "${c}" is invalid at the current level "${a.db.name(e)} (${e})" of the Query you are building. Please make sure you did not forget a .back() or another relation.`);d=
1353
+ b.ja();for(c=a.cursor+1;c<a.vb.length&&a.vb[c].ja()!==d;)c++;b=c<a.vb.length?a.vb:a.vb.concat(b);return new olympe.dc.nb(a.D,a.source,b,c,a.O,a.C)}function kk(a,b=a.cursor){return 0<=b?a.vb[b].ja():olympe.oa.Xd(a.D)}
1354
+ function lk(a,b,c,d={}){var e=olympe.dc.Te.Wi;const f=(null==d?0:d.Xg)?d.Xg:olympe.dc.nb.Jf.cm,g=(null==d?0:d.kB)?'__code-as-data__':void 0;b=olympe.dc.Ya(b);const k=olympe.dc.Kj().Em(b);b=(new olympe.dc.nb(b,k)).Zi();b.vb=[f===olympe.dc.nb.Jf.Qp?new olympe.dc.query.vb.cC(kk(b),e,c):new olympe.dc.query.vb.ph(kk(b),e,c)];let l;b.R=null!=(l=null==d?void 0:d.DO)?l:!1;return b.observe(a,{Xg:f,$z:g})}
1355
1355
  function mk(a,b,...c){a=b.reduce((d,e)=>d.oc(e),a);return(c?a.filter(olympe.dc.query.Yb.xO(...c)):a).back(b.length)}function nk(a){const b=0===a.O.size?a.Zi():a;if(null!==b.C.Mi&&!b.O.has(kk(a,b.C.Mi)))throw new olympe.dc.query.ti('AndReturn was not called for the current level before sortBy operator');return b}function ok(a,b){let c,d;return b.R||(null!=(d=null==(c=a.T)?void 0:c.has(b.ja()))?d:!1)}
1356
- olympe.dc.nb=class{constructor(a,b,c=[],d=-1,e=new Set,f={max:-1,offset:0,Mi:null,Hl:null}){this.db=olympe.dc.eb();if('string'!==typeof a||''===a)throw new olympe.dc.query.ti('The root of the query cannot be empty.');this.D=a;this.source=b;this.wb=c;this.cursor=d;this.O=e;this.C=f;this.T=this.id=null;this.R=!1}static from(a,b){a=olympe.dc.Ya(a);if(!olympe.dc.CloudObject.Mw(a))throw new olympe.dc.query.ti(`Try to create a query from an instance that does not exist (${a}). Please try to use \`Query.fromTag()\` instead.`);
1356
+ olympe.dc.nb=class{constructor(a,b,c=[],d=-1,e=new Set,f={max:-1,offset:0,Mi:null,Hl:null}){this.db=olympe.dc.eb();if('string'!==typeof a||''===a)throw new olympe.dc.query.ti('The root of the query cannot be empty.');this.D=a;this.source=b;this.vb=c;this.cursor=d;this.O=e;this.C=f;this.T=this.id=null;this.R=!1}static from(a,b){a=olympe.dc.Ya(a);if(!olympe.dc.CloudObject.Mw(a))throw new olympe.dc.query.ti(`Try to create a query from an instance that does not exist (${a}). Please try to use \`Query.fromTag()\` instead.`);
1357
1357
  b=null!=b?b:olympe.dc.Kj().Em(a);b=new olympe.dc.nb(a,b);b.C.Hl=olympe.dc.eb().model(a);return b}static Em(a,b,c){if(!olympe.dc.CloudObject.Mw(b)&&!c)throw new olympe.dc.query.ti(`Try to create a query from an instance (${a}) with an explicit datatype that does not exist (${b})`);a=olympe.dc.Ya(a);c=null!=c?c:olympe.dc.Kj().fromModel(b);c=new olympe.dc.nb(a,c);c.C.Hl=olympe.dc.Ya(b);return c}static KA(a,b=!0,c){const d=olympe.dc.Ya(a);var e=olympe.dc.eb();if(!e.zu(d))throw new olympe.dc.query.ti(`Try to create a query to get instances of ${a}, which is not a data type or does not exist.`);
1358
- a=null!=c?c:olympe.dc.Kj().fromModel(d);a=new olympe.dc.nb(d,a);a.C.Hl=e.model(d);b&&(a=jk(a,new olympe.dc.query.wb.Mk(kk(a),olympe.dc.CloudObject.extendedByRel,!0,!1)));b=a;e=new olympe.dc.query.wb.ht(kk(a),olympe.dc.CloudObject.instancesRel,!1);e.ma=d;return jk(b,e)}static af(a,b,c,d,e){var f;const g=null!=(f=null==e?void 0:e.Xg)?f:olympe.dc.nb.Jf.cm;f=(null==e?0:e.kB)?'__code-as-data__':void 0;b=olympe.dc.Ya(b);d=null!=d?d:olympe.dc.Kj().Em(b);d=(new olympe.dc.nb(b,d)).Zi();b=g===olympe.dc.nb.Jf.Qp;
1359
- d.wb=[b?new olympe.dc.query.wb.TG(kk(d),c):new olympe.dc.query.wb.ph(kk(d),c)];let k;d.R=null!=(k=null==e?void 0:e.DO)?k:!1;let l;return d.observe(a,{Xg:g,$z:f,Fw:null!=(l=null==e?void 0:e.Fw)?l:b})}oc(a,b=!1){if(!(a instanceof olympe.dc.Oc.Relation))throw new olympe.dc.query.ti(`The relation given to follow() is invalid: ${a}`);return jk(this,new olympe.dc.query.wb.ht(kk(this),a,b))}Yp(a,b=!1,c=!1){if(!(a instanceof olympe.dc.Oc.Relation))throw new olympe.dc.query.ti(`The relation given to followRecursively() is invalid: ${a}`);
1360
- return jk(this,new olympe.dc.query.wb.Mk(kk(this),a,b,c))}Zi(){const a=(new Set(this.O)).add(kk(this));return new olympe.dc.nb(this.D,this.source,this.wb,this.cursor,a,this.C)}Qc(){return this.wb.length}filter(a){if(!(a instanceof olympe.dc.query.Yb))throw new olympe.dc.query.ti(`The specified predicate while trying to filter a query is invalid: ${a}`);const b=Array.from(this.wb);b[this.cursor]=b[this.cursor].filter(a);return new olympe.dc.nb(this.D,this.source,b,this.cursor,this.O,this.C)}Gw(){return this}bn(a,
1361
- b=0){return new olympe.dc.nb(this.D,this.source,this.wb,this.cursor,this.O,{Mi:this.C.Mi,max:a,offset:b,Hl:this.C.Hl})}lv(a,b=olympe.dc.query.uz.ASC){if(0>this.cursor)throw new olympe.dc.query.ti('You are trying to sort an empty query. Please first follow at least one relation to sort a query.');if(!olympe.dc.eb().me(a,olympe.dm.Property))throw new olympe.dc.query.ti(`The specified property while trying to sort a query is invalid: ${a}`);const c=this.wb[this.cursor],d={Mi:this.cursor,max:this.C.max,
1362
- offset:this.C.offset,Hl:this.C.Hl},e=Array.from(this.wb);e[this.cursor]=c.sort(a,b);return new olympe.dc.nb(this.D,this.source,e,this.cursor,this.O,d)}Ur(){const a=this.C.Mi;let b;return null!==a?null==(b=this.wb[a])?void 0:b.Ur():null}back(a=1){if(0>this.cursor||1>a)return this;let b=this.cursor;for(let c=0;c<a;c++){const d=this.wb[b].C;for(b--;-1<b&&kk(this,b)!==d;)b--}return new olympe.dc.nb(this.D,this.source,Array.from(this.wb),b,this.O,this.C)}parse(){const a=new Map,b=kk(this,-1),c={limit:this.C.max,
1363
- offset:this.C.offset,returned:this.O.has(b),filter:[],optional:!1,inheritance:!1,next:[]};a.set(b,c);this.db.zu(this.D)?c.dataType=olympe.dc.Ya(this.D):(c.root=olympe.dc.Ya(this.D),c.dataType=this.C.Hl);this.wb.forEach((d,e)=>{const f=d.ja(),g=d.nh();Object.assign(g,{returned:this.O.has(f),next:[]});a.set(f,g);g.sort&&this.C.Mi!==e&&delete g.sort;if(1>=e&&d instanceof olympe.dc.query.wb.ht&&d.relation.Rb(olympe.dc.CloudObject.instancesRel))Object.assign(c,g);else if(0===e&&d instanceof olympe.dc.query.wb.Mk&&
1358
+ a=null!=c?c:olympe.dc.Kj().fromModel(d);a=new olympe.dc.nb(d,a);a.C.Hl=e.model(d);b&&(a=jk(a,new olympe.dc.query.vb.Mk(kk(a),olympe.dc.CloudObject.extendedByRel,!0,!1)));b=a;e=new olympe.dc.query.vb.ht(kk(a),olympe.dc.CloudObject.instancesRel,!1);e.ma=d;return jk(b,e)}static af(a,b,c,d,e){var f;const g=null!=(f=null==e?void 0:e.Xg)?f:olympe.dc.nb.Jf.cm;f=(null==e?0:e.kB)?'__code-as-data__':void 0;b=olympe.dc.Ya(b);d=null!=d?d:olympe.dc.Kj().Em(b);d=(new olympe.dc.nb(b,d)).Zi();b=g===olympe.dc.nb.Jf.Qp;
1359
+ d.vb=[b?new olympe.dc.query.vb.cC(kk(d),c):new olympe.dc.query.vb.ph(kk(d),c)];let k;d.R=null!=(k=null==e?void 0:e.DO)?k:!1;let l;return d.observe(a,{Xg:g,$z:f,Fw:null!=(l=null==e?void 0:e.Fw)?l:b})}oc(a,b=!1){if(!(a instanceof olympe.dc.Oc.Relation))throw new olympe.dc.query.ti(`The relation given to follow() is invalid: ${a}`);return jk(this,new olympe.dc.query.vb.ht(kk(this),a,b))}Yp(a,b=!1,c=!1){if(!(a instanceof olympe.dc.Oc.Relation))throw new olympe.dc.query.ti(`The relation given to followRecursively() is invalid: ${a}`);
1360
+ return jk(this,new olympe.dc.query.vb.Mk(kk(this),a,b,c))}Zi(){const a=(new Set(this.O)).add(kk(this));return new olympe.dc.nb(this.D,this.source,this.vb,this.cursor,a,this.C)}Qc(){return this.vb.length}filter(a){if(!(a instanceof olympe.dc.query.Yb))throw new olympe.dc.query.ti(`The specified predicate while trying to filter a query is invalid: ${a}`);const b=Array.from(this.vb);b[this.cursor]=b[this.cursor].filter(a);return new olympe.dc.nb(this.D,this.source,b,this.cursor,this.O,this.C)}Gw(){return this}bn(a,
1361
+ b=0){return new olympe.dc.nb(this.D,this.source,this.vb,this.cursor,this.O,{Mi:this.C.Mi,max:a,offset:b,Hl:this.C.Hl})}lv(a,b=olympe.dc.query.uz.ASC){if(0>this.cursor)throw new olympe.dc.query.ti('You are trying to sort an empty query. Please first follow at least one relation to sort a query.');if(!olympe.dc.eb().me(a,olympe.dm.Property))throw new olympe.dc.query.ti(`The specified property while trying to sort a query is invalid: ${a}`);const c=this.vb[this.cursor],d={Mi:this.cursor,max:this.C.max,
1362
+ offset:this.C.offset,Hl:this.C.Hl},e=Array.from(this.vb);e[this.cursor]=c.sort(a,b);return new olympe.dc.nb(this.D,this.source,e,this.cursor,this.O,d)}Ur(){const a=this.C.Mi;let b;return null!==a?null==(b=this.vb[a])?void 0:b.Ur():null}back(a=1){if(0>this.cursor||1>a)return this;let b=this.cursor;for(let c=0;c<a;c++){const d=this.vb[b].C;for(b--;-1<b&&kk(this,b)!==d;)b--}return new olympe.dc.nb(this.D,this.source,Array.from(this.vb),b,this.O,this.C)}parse(){const a=new Map,b=kk(this,-1),c={limit:this.C.max,
1363
+ offset:this.C.offset,returned:this.O.has(b),filter:[],optional:!1,inheritance:!1,next:[]};a.set(b,c);this.db.zu(this.D)?c.dataType=olympe.dc.Ya(this.D):(c.root=olympe.dc.Ya(this.D),c.dataType=this.C.Hl);this.vb.forEach((d,e)=>{const f=d.ja(),g=d.nh();Object.assign(g,{returned:this.O.has(f),next:[]});a.set(f,g);g.sort&&this.C.Mi!==e&&delete g.sort;if(1>=e&&d instanceof olympe.dc.query.vb.ht&&d.relation.Rb(olympe.dc.CloudObject.instancesRel))Object.assign(c,g);else if(0===e&&d instanceof olympe.dc.query.vb.Mk&&
1364
1364
  d.relation.Rb(olympe.dc.CloudObject.extendedByRel))Object.assign(c,g),c.inheritance=!0;else{let k;null==(k=a.get(d.C))||k.next.push(g)}});return c}Kd(a){const b=(null==a?0:a.Xg)?a.Xg:olympe.dc.nb.Jf.vz;let c;return olympe.dc.query.yA().executeQuery(nk(this),b,{Nr:null!=(c=null==a?void 0:a.$z)?c:null==a?void 0:a.cacheId,jg:null==a?void 0:a.jg}).then(d=>{let e;return null!=(e=null==d?void 0:Xj(d))?e:olympe.dc.xc.empty()})}zf(){return Xj(pk(olympe.dc.query.yA(),nk(this)))}observe(a,b){const c=(null==
1365
1365
  b?0:b.Xg)?b.Xg:olympe.dc.nb.Jf.cm;a='function'===typeof a.se?a.se():a;let d;return qk(olympe.dc.query.yA(),nk(this),a,olympe.dc.Jc.SELF,c,{Nr:null!=(d=null==b?void 0:b.$z)?d:null==b?void 0:b.cacheId,jg:null==b?void 0:b.jg,Fw:null==b?void 0:b.Fw}).pipe(rxjs.operators.map(e=>Xj(e)),rxjs.operators.distinctUntilChanged())}ja(){null===this.id&&(this.id=olympe.oa.Xd(this.D+Wj(this).map(a=>a.R()).join()+Array.from(new Set(this.O)).sort().toString()+this.C.Mi+this.C.max+this.C.offset));return this.id}Sd(){return this.source}fb(){let a;
1366
- return{b:this.D,p:this.wb.map(b=>b.fb()),r:Array.from(this.O),s:this.source,e:{m:this.C.max,o:this.C.offset,s:this.C.Mi,rm:null!=(a=this.C.Hl)?a:this.db.model(this.D)}}}toString(){return`Query: ${JSON.stringify(this)}`}toJSON(){return{origin:this.db.tc(this.D)?olympe.dc.CloudObject.get(this.D):this.D,relations:this.wb.map(a=>a.toJSON())}}};olympe.dc.nb.prototype.observe=olympe.dc.nb.prototype.observe;olympe.dc.nb.prototype.executeFromCache=olympe.dc.nb.prototype.zf;
1366
+ return{b:this.D,p:this.vb.map(b=>b.fb()),r:Array.from(this.O),s:this.source,e:{m:this.C.max,o:this.C.offset,s:this.C.Mi,rm:null!=(a=this.C.Hl)?a:this.db.model(this.D)}}}toString(){return`Query: ${JSON.stringify(this)}`}toJSON(){return{origin:this.db.tc(this.D)?olympe.dc.CloudObject.get(this.D):this.D,relations:this.vb.map(a=>a.toJSON())}}};olympe.dc.nb.prototype.observe=olympe.dc.nb.prototype.observe;olympe.dc.nb.prototype.executeFromCache=olympe.dc.nb.prototype.zf;
1367
1367
  olympe.dc.nb.prototype.execute=olympe.dc.nb.prototype.Kd;olympe.dc.nb.prototype.parse=olympe.dc.nb.prototype.parse;olympe.dc.nb.prototype.back=olympe.dc.nb.prototype.back;olympe.dc.nb.prototype.sortBy=olympe.dc.nb.prototype.lv;olympe.dc.nb.prototype.limit=olympe.dc.nb.prototype.bn;olympe.dc.nb.prototype.cast=olympe.dc.nb.prototype.Gw;olympe.dc.nb.prototype.filter=olympe.dc.nb.prototype.filter;olympe.dc.nb.prototype.andReturn=olympe.dc.nb.prototype.Zi;olympe.dc.nb.prototype.followRecursively=olympe.dc.nb.prototype.Yp;
1368
1368
  olympe.dc.nb.prototype.follow=olympe.dc.nb.prototype.oc;olympe.dc.nb.followRule=olympe.dc.nb.af;olympe.dc.nb.instancesOf=olympe.dc.nb.KA;olympe.dc.nb.fromTag=olympe.dc.nb.Em;olympe.dc.nb.from=olympe.dc.nb.from;olympe.dc.nb.Jf={cm:1,vz:2,Qp:3};olympe.dc.nb.C={GB:'cacheBucketName',DH:'isCacheable'};function rk(a){null===a.$b&&null===a.C&&(a.$b=zh(a.O))}
1369
1369
  olympe.dc.query.vi=class extends olympe.dc.$q{constructor(a){super(a,null);this.O=new olympe.dc.transaction.Xk}static Pw(a){const b=new olympe.dc.query.vi(`DataResult_${a.ja()}`);b.D=a.Sd();return b}static C(a){const b=new olympe.dc.query.vi(a.i);let c;b.D=null!=(c=a.s)?c:null;let d;b.aA=null!=(d=a.t)?d:null;let e;b.$b=null!=(e=a.p)?e:[];return b}Wf(a){rk(this);return super.Wf(a)}Zf(){rk(this);return super.Zf()}wA(){rk(this);return super.wA()}create(a,b,c){this.O.yf(a,this.D,c,b);return this}Qb(a,
1370
1370
  b,c){this.O.Qb(a,b,c,null,null);return this}fb(){return super.fb()}};olympe.dc.query.vi.prototype.createRelation=olympe.dc.query.vi.prototype.Qb;olympe.dc.query.vi.prototype.create=olympe.dc.query.vi.prototype.create;olympe.dc.query.vi.fromQuery=olympe.dc.query.vi.Pw;function pk(a,b){const c=new olympe.dc.query.fK(a.V,b);if(a.D.view.tc(b.D)){ck(c,b.D);for(const d of Wj(b))d.Kd(c)}return c}
1371
1371
  function qk(a,b,c,d,e,f){const g=b.ja();let k=a.C.get(g);if(!k){var l=b.Sd();a.V.debug(`Create new subscription for query ${g} for subscriber ${d}, to be executed by the data source ${l}`);l=!1===f.jg||a.R&&l===olympe.dc.Jc.SERVER?[]:Array.from(a.C.values());k=new olympe.dc.query.nK(a.V,a.D,b,e,a.W.bind(a,e,f));a.C.set(g,k);sk(k,m=>a.O.add(m));k.start(l)&&(null==f?0:f.Nr)&&tk(a,b,e,f).catch(m=>{a.V.error(`Was not able to get the result of the subscribed query ${g} to add it to the cache: ${m}`)})}return new rxjs.Observable(m=>
1372
1372
  {const n=()=>{p&&c.IO(p);m.complete();if(r){var t=r;const v=a.C.get(g);a.V.debug(`${d} unsubscribed from ${g}`);if(null==v)t=0;else{var u=v;u.O.delete(t)&&u.V.debug(`Remove subscriber ${d} for query ${u.query.ja()}, now have ${u.O.size} subscribers`);d!==olympe.dc.Jc.SELF&&(u.ca--,0===u.ca&&fk(u.C));t=0===u.O.size}t&&(a.V.debug(`No more subscriber to ${g}, remove the subscription`),a.O.delete(g),a.C.delete(g),v.destroy())}},p=c.Ve(n),r=uk(k,d,m);return n})}
1373
- function vk(a){a.O.forEach(b=>{let c;null==(c=a.C.get(b))||wk(c)});a.O.clear()}function xk(a,b,c,d){return q(function*(){const e=null!=d?d:c===olympe.dc.nb.Jf.Qp;if(b instanceof ReadableStream)yield yi(a.D,b,{CD:e});else{var f;if(f=b instanceof olympe.dc.$q)f=b.ja(),f=!a.T.R.has(f);f&&a.D.lh(b,{CD:e})}})}function yk(a){a.V.debug('Send GetContext request to the orchestrator');const b=new olympe.dc.Request(olympe.dc.Request.C.cr,olympe.dc.Jc.SERVER);return oh(a.kf,b).then(c=>{a.D.lh(c)})}
1373
+ function vk(a){a.O.forEach(b=>{let c;null==(c=a.C.get(b))||wk(c)});a.O.clear()}function xk(a,b,c,d){return q(function*(){const e=null!=d?d:c===olympe.dc.nb.Jf.Qp;if(b instanceof ReadableStream)yield yi(a.D,b,{DD:e});else{var f;if(f=b instanceof olympe.dc.$q)f=b.ja(),f=!a.T.R.has(f);f&&a.D.lh(b,{DD:e})}})}function yk(a){a.V.debug('Send GetContext request to the orchestrator');const b=new olympe.dc.Request(olympe.dc.Request.C.cr,olympe.dc.Jc.SERVER);return oh(a.kf,b).then(c=>{a.D.lh(c)})}
1374
1374
  function zk(a,b){const c=b.Sd();if(c===olympe.dc.Jc.SELF||a.R&&c===olympe.dc.Jc.SERVER)return Promise.resolve(!0);a=Array.from(a.C.values()).filter(d=>d.hh(b)).map(d=>new Promise(e=>d.Ii(f=>e(!f))));return Promise.all(a).then(d=>d.some(e=>e))}function tk(a,b,c,d){return q(function*(){var e=b.Sd();e=uh(uh(new olympe.dc.Request(olympe.dc.Request.C.Ct,e,b),olympe.dc.nb.C.DH,c===olympe.dc.nb.Jf.Qp),olympe.dc.nb.C.GB,null==d?void 0:d.Nr);return oh(a.kf,e)})}
1375
1375
  function Ak(a,b,c){const d=[];for(const e of a.C.values())Bk(e,b,c)&&d.push(tk(a,e.query,olympe.dc.nb.Jf.vz,{}).then(f=>xk(a,f,olympe.dc.nb.Jf.vz)));return Promise.all(d).then(()=>{})}
1376
- olympe.dc.query.HT=class{constructor(a,b,c,d,e){this.V=a;this.D=b;this.T=c;this.kf=d;this.R=e;this.C=new Map;this.O=new Set;zi(b,()=>vk(this));xh(d,olympe.dc.Request.C.jG,f=>{xk(this,f.Pe(),olympe.dc.nb.Jf.cm).catch(g=>this.V.error(`Error while applying data notification on DB: ${g}`))})}executeQuery(a,b,c){const d=this;return q(function*(){const e='boolean'===typeof c.jg?c.jg:yield zk(d,a);if(!e||(null==c?0:c.Nr))try{const f=yield tk(d,a,b,c);e||(yield xk(d,f,b))}catch(f){return d.V.error(`Error while sending a query to data source ${a.Sd()}: ${f}`),
1376
+ olympe.dc.query.HT=class{constructor(a,b,c,d,e){this.V=a;this.D=b;this.T=c;this.kf=d;this.R=e;this.C=new Map;this.O=new Set;zi(b,()=>vk(this));xh(d,olympe.dc.Request.C.kG,f=>{xk(this,f.Pe(),olympe.dc.nb.Jf.cm).catch(g=>this.V.error(`Error while applying data notification on DB: ${g}`))})}executeQuery(a,b,c){const d=this;return q(function*(){const e='boolean'===typeof c.jg?c.jg:yield zk(d,a);if(!e||(null==c?0:c.Nr))try{const f=yield tk(d,a,b,c);e||(yield xk(d,f,b))}catch(f){return d.V.error(`Error while sending a query to data source ${a.Sd()}: ${f}`),
1377
1377
  null}return pk(d,a)})}W(a,b,c,d,e,f){const g=c.Sd();if(g===olympe.dc.Jc.SELF||b.jg||this.R&&g===olympe.dc.Jc.SERVER)return e(),null;if(a!==olympe.dc.nb.Jf.cm)return tk(this,c,a,b).then(t=>{var u=t;t instanceof ReadableStream&&(u=(u=d())?t.pipeThrough(u):t);return xk(this,u,a,b.Fw)}).then(e).catch(f),null;let k,l=!1;const m=t=>{k=[];t&&this.V.debug(`Resend subscription ${c.ja()} after detection of dead subscription in the remote service`);tk(this,c,a,b).then(u=>{if(l)return this.V.warn(`Received data result after query subscription ${c.ja()} has been destroyed. Could happen with queries observed multiple times successively quickly.`),
1378
- Promise.resolve();var v=u;u instanceof ReadableStream&&(v=(v=d())?u.pipeThrough(v):u);return xk(this,v,a,b.Fw).then(()=>{k.forEach(w=>xk(this,w,a))}).finally(()=>{k=null})}).then(e).catch(f)},n=c.ja();m(!1);const p=uh(new olympe.dc.Request(olympe.dc.Request.C.zz,g,c),olympe.dc.nb.C.GB,null==b?void 0:b.Nr),r=this.kf.subscribe(p,m.bind(this,!0)).pipe(qb(olympe.Y.errors.fH,()=>{},0)).pipe(qb(olympe.Y.errors.MF,(t,u)=>{this.V.debug(`Data Provider: Subscribe to topic ${t.ja()} now that we are back online, after waiting for ${u}ms`);
1378
+ Promise.resolve();var v=u;u instanceof ReadableStream&&(v=(v=d())?u.pipeThrough(v):u);return xk(this,v,a,b.Fw).then(()=>{k.forEach(w=>xk(this,w,a))}).finally(()=>{k=null})}).then(e).catch(f)},n=c.ja();m(!1);const p=uh(new olympe.dc.Request(olympe.dc.Request.C.zz,g,c),olympe.dc.nb.C.GB,null==b?void 0:b.Nr),r=this.kf.subscribe(p,m.bind(this,!0)).pipe(qb(olympe.Y.errors.fH,()=>{},0)).pipe(qb(olympe.Y.errors.NF,(t,u)=>{this.V.debug(`Data Provider: Subscribe to topic ${t.ja()} now that we are back online, after waiting for ${u}ms`);
1379
1379
  m(!0)},0)).subscribe(rxjs.Subscriber.create(t=>{Array.isArray(k)?k.push(t):xk(this,t,a)},t=>{this.V.error(`An error occurred with the subscription ${n}: ${t}`);f(String(t))}));return()=>{l=!0;this.V.debug(`Unsubscribe to query ${n} from data source ${g}`);r.unsubscribe()}}};function Ck(a){const b=olympe.dc.eb();let c=!1;const d=a.k.map(e=>{const f=e.split('.').map(g=>b.tc(g)?olympe.dc.CloudObject.get(g):(olympe.gb.Cb('dc.query').error(`CloudObject with tag ${g} not present but required for deserialization`),c=!0,null));return[e,1===f.length?f[0]:f]});return c?null:olympe.dc.xc.create(d,a.a,a.r)}
1380
1380
  olympe.dc.xc=class{constructor(){this.C=[];this.D=new Map;this.O=[];this.R=[];this.hash=''}static empty(){return new olympe.dc.xc}[Symbol.iterator](){let a=0;return{next:()=>{var b={done:!0};a<this.C.length&&(b=this.C[a],b={value:[b,this.D.get(b)],done:!1},a++);return b}}}entries(){return this.C.map(a=>[a,this.D.get(a)])}values(){return this.D.values()}keys(){return this.C.values()}Ol(){return this.C.map(a=>this.D.get(a))}size(){return this.C.length}has(a){return this.D.has(a)||this.Ol().includes(a)}indexOf(a){return null===
1381
1381
  a||void 0===a?-1:'string'===typeof a?this.C.indexOf(a):this.Ol().indexOf(a)}get(a){return(a=this.D.get(a))?a:null}Vd(){return this.Hh(0)}Hh(a){return a<this.C.length?this.D.get(this.C[a]):null}push(...a){const b=this.Ol();b.push(...a);return b}pop(){if(0===this.C.length)return[];const a=this.Ol();a.pop();return a}shift(){if(0<this.C.length){const a=this.Ol();a.shift();return a}return[]}filter(a){return this.Ol().filter(a)}find(a){return(a=this.Ol().find(a))?a:null}forEach(a){this.C.forEach((b,c)=>
@@ -1392,51 +1392,52 @@ function Hk(a){const b=a.query.ja(),c=new Map,d=r=>{const t=c.get(r);return t?1=
1392
1392
  function Jk(a){const b=a.za(a.query,a.Pa.bind(a),()=>{null===a.D||a.lc()||Hk(a)},d=>{a.lc()||(a.V.error(`Error while getting data from data source (${a.query.Sd()}) to ensure coverage of the query ${a.query.ja()}: ${d}`),Ik(a))});let c;b&&(null==(c=a.$)||c.push(b))}function Kk(a,b){a.T.delete(b);0===a.T.size&&(a.T=null,Promise.resolve().then(()=>{!a.lc()&&Jk(a)}))}function Ik(a){const b=a.D;a.D=null;null==b||b.forEach(c=>c())}
1393
1393
  olympe.dc.query.nK=class{constructor(a,b,c,d,e){this.V=a;this.ma=b;this.db=b.view;this.query=c;this.Xg=d;this.C=new olympe.dc.query.fK(this.V,c);this.ca=0;this.uid=1;this.$=[];this.O=new Map;this.D=[()=>gk(this.C)];this.za=e;this.da=new Lk(a,this.db,c,this.C);this.R=this.T=null;this.W=[]}start(a){return Gk(this,a,b=>{0<b.length?(this.T=new Set(b),this.T.forEach(c=>{null===c.R&&(c.R=new Set);c.R.add(this)}),Hk(this)):Jk(this)})}hh(a){return!this.lc()&&this.query.Sd()===a.Sd()&&(this.query.ja()===a.ja()||
1394
1394
  (null===this.D||this.query.D===a.D)&&this.C.hh(a))}Ii(a){null!==this.D?this.D.push(a):a();return this}destroy(a){a?this.V.error(`Destroy subscription ${this.query.ja()} after error: ${a}`):this.V.debug(`Destroy subscription ${this.query.ja()}`);const b=this.$;this.$=null;this.O.forEach(e=>a?e.error(a):e.complete());let c;null==(c=this.R)||c.forEach(e=>Kk(e,this));let d;null==(d=this.T)||d.forEach(e=>{e.R.delete(this);0===e.R.size&&(e.R=null)});b.forEach(e=>e())}lc(){return null===this.$}Pa(){const a=
1395
- olympe.dc.nb.Jf.Qp;if(this.Xg===a)return olympe.oa.stream.tap(c=>{c=c.wA().filter(d=>d.o===olympe.dc.eh.C).map(d=>d.t);this.ma.nk(c,'Batch mode')});let b;if(0<(null==(b=this.W)?void 0:b.length)){const c=this.W.filter(e=>e.Xg===a).map(e=>new Promise(f=>e.Ii(f))),d=this.W.filter(e=>e.Xg!==a).map(e=>new Promise(f=>e.Ii(f)));this.W=void 0;return new TransformStream({start:()=>Promise.all(c),flush:()=>Promise.all(d)})}return null}};function Mk(a,b){return a.C.has(Fk+b)||a.C.has(Ek+b)}
1396
- class Lk{constructor(a,b,c,d){this.V=a;this.db=b;this.O=d;this.T=[];this.R=-1<c.C.max||0<c.C.offset;this.C=new Map;this.result=!1;const e=new Map;for(const f of Wj(c)){a=f.ja();this.T.push(a);if(f instanceof olympe.dc.query.wb.Ht){a=f.relation;a=`${a.zc()}${a.ka()}`;let g;b=null!=(g=this.C.get(a))?g:[];b.push(f);this.C.set(a,b)}Nk(f).forEach(g=>{let k;const l=null!=(k=e.get(g))?k:[];l.push(f.ja());e.set(g,l)})}this.properties=Array.from(e.entries())}flush(){const a=this.result;this.result=!1;return a}yf(){}oh(a,
1395
+ olympe.dc.nb.Jf.Qp;if(this.Xg===a)return olympe.oa.stream.tap(c=>{c=c.wA().filter(e=>e.o===olympe.dc.eh.C).map(e=>e.t);this.ma.nk(c,'Batch mode');const d=Wj(this.query)[0];d instanceof olympe.dc.query.vb.cC&&c.forEach(e=>ck(this.C,e,d.ja(),d.C))});let b;if(0<(null==(b=this.W)?void 0:b.length)){const c=this.W.filter(e=>e.Xg===a).map(e=>new Promise(f=>e.Ii(f))),d=this.W.filter(e=>e.Xg!==a).map(e=>new Promise(f=>e.Ii(f)));this.W=void 0;return new TransformStream({start:()=>Promise.all(c),flush:()=>Promise.all(d)})}return null}};
1396
+ function Mk(a,b){return a.C.has(Fk+b)||a.C.has(Ek+b)}
1397
+ class Lk{constructor(a,b,c,d){this.V=a;this.db=b;this.O=d;this.T=[];this.R=-1<c.C.max||0<c.C.offset;this.C=new Map;this.result=!1;const e=new Map;for(const f of Wj(c)){a=f.ja();this.T.push(a);if(f instanceof olympe.dc.query.vb.Ht){a=f.relation;a=`${a.zc()}${a.ka()}`;let g;b=null!=(g=this.C.get(a))?g:[];b.push(f);this.C.set(a,b)}Nk(f).forEach(g=>{let k;const l=null!=(k=e.get(g))?k:[];l.push(f.ja());e.set(g,l)})}this.properties=Array.from(e.entries())}flush(){const a=this.result;this.result=!1;return a}yf(){}oh(a,
1397
1398
  b){if(!(this.result||!this.R&&this.db.tc(a))){var c;this.result||(this.result=null==(c=this.properties)?void 0:c.some(([d,e])=>b.has(d)&&bk(this.O,a,e)))}}D(a){this.result||this.db.tc(a)&&!this.R||this.result||(this.result=this.T.some(b=>bk(this.O,a,b)))}Qb(a,b,c){if(!this.result&&Mk(this,a)){var d=this.db.tc(b),e=this.db.tc(c);if(d&&!e||!d&&e){const f=this.C.get(Fk+a);a=this.C.get(Ek+a);this.result||(this.result=d&&(null==f?void 0:f.some(g=>bk(this.O,b,g.C)))||e&&(null==a?void 0:a.some(g=>bk(this.O,
1398
1399
  c,g.C))))}}}Xf(a,b,c){if(!this.result&&this.R&&Mk(this,a)&&this.db.EO(b,new olympe.dc.Oc.Relation(a),c)){const d=this.C.get(Fk+a);a=this.C.get(Ek+a);const e=this.O;this.result||(this.result=(null==d?void 0:d.some(f=>bk(e,b,f.C)&&bk(e,c,f.ja())))||(null==a?void 0:a.some(f=>bk(e,c,f.C)&&bk(e,b,f.ja()))))}}}olympe.dc.query.nK.Aa=[olympe.dc.Ut];function Ok(a){return new olympe.dc.query.Relation(a.tag,a.direction,!0)}
1399
1400
  olympe.dc.query.Relation=class extends olympe.dc.Oc.Relation{constructor(a,b,c){super(a,b);this.recursive=c}toJSON(){let a='{ "tag": '+JSON.stringify(this.ka())+', ';a+='"direction": '+JSON.stringify(this.zc())+', ';a+='"recursive": '+JSON.stringify(this.recursive);return a+'}'}static ke(a){let b;'string'===typeof a?b=JSON.parse(a):b=a;return new olympe.dc.query.Relation(b.tag,b.direction,b.recursive)}static from(a,b){return new olympe.dc.query.Relation(a.ka(),a.zc(),null!=b?b:a instanceof olympe.dc.Ra.zj)}fe(){const a=
1400
1401
  olympe.dc.Ib.DESTINATION,b=olympe.dc.Ib.ORIGIN;return new olympe.dc.query.Relation(this.tag,this.direction===a?b:a,this.recursive)}ja(){return`${this.direction}${this.tag}${this.recursive?'-r':''}`}};olympe.dc.query.ba={Vb:'dc.query.Logger',fw:'dc.query.QueryProcessor'};olympe.sa.$e(function(a){C(a,olympe.dc.query.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('query'));B(a,olympe.dc.query.ba.fw,olympe.dc.query.HT,olympe.dc.query.ba.Vb,olympe.dc.db.ba.Ob,olympe.dc.transaction.ba.Ob,olympe.dc.ba.tr,new olympe.sa.zb(olympe.dc.pa.Kt))});olympe.sa.run([olympe.dc.query.ba.fw],a=>{olympe.dc.query.yA=()=>a});olympe.dc.query.ti=class extends Error{};olympe.dc.query.Ca={};olympe.dc.query.Ca.Ni=class extends olympe.dc.query.Yb{constructor(...a){super();this.Ca=a}compile(){const a=b=>0<b.length?b[0].reduce((c,d)=>[...c,...a(b.slice(1)).map(e=>[...d,...e])],[]):[[]];return a(this.Ca.map(b=>b.compile()))}Re(){return new olympe.dc.query.Ca.Wk(...this.Ca.map(a=>a.Re()))}be(){return this.Ca.flatMap(a=>a.be())}hh(){throw Error('Should not try to check predicate coverage on And (should be removed by compiling predicates');}Kd(a){return this.Ca.reduce((b,c)=>b&&c.Kd(a),!0)}observe(a,
1401
- b,c){const d=Array(this.Ca.length).fill(!1);let e=null;const f=(g,k)=>{d[g]=k;g=d.every(l=>l);e!==g&&(e=g,c(g))};this.Ca.forEach((g,k)=>{g.observe(a,olympe.oa.Xd('AND-'+b+a+k),f.bind(null,k))})}fb(){return{pr:olympe.dc.query.Yb.C.kF,p:this.Ca.map(a=>a.fb())}}nh(){throw Error('toObject for AND predicate should not be called');}toString(){return'And-'+this.Ca.reduce((a,b)=>a+'-'+b.toString(),'')}clear(a,b){this.Ca.forEach((c,d)=>{c.clear(a,olympe.oa.Xd('AND-'+b+a+d))})}};olympe.dc.query.Ca.Sn=class extends olympe.dc.query.Yb{constructor(a,b,c,d=!1){super();this.Ec=olympe.dc.Ya(a);this.substring=b;this.db=c;this.C=d}be(){return[this.Ec]}hh(a,b){return a instanceof olympe.dc.query.Ca.Sn&&a.Ec===this.Ec?b?a.C?a.substring.toLowerCase().includes(this.substring.toLowerCase()):a.substring.includes(this.substring):this.C?this.substring.toLowerCase().includes(a.substring.toLowerCase()):this.substring.includes(a.substring):!1}Ac(){return this.Ec}Kd(a){return this.apply(this.db.Ac(a,
1402
+ b,c){const d=Array(this.Ca.length).fill(!1);let e=null;const f=(g,k)=>{d[g]=k;g=d.every(l=>l);e!==g&&(e=g,c(g))};this.Ca.forEach((g,k)=>{g.observe(a,olympe.oa.Xd('AND-'+b+a+k),f.bind(null,k))})}fb(){return{pr:olympe.dc.query.Yb.C.lF,p:this.Ca.map(a=>a.fb())}}nh(){throw Error('toObject for AND predicate should not be called');}toString(){return'And-'+this.Ca.reduce((a,b)=>a+'-'+b.toString(),'')}clear(a,b){this.Ca.forEach((c,d)=>{c.clear(a,olympe.oa.Xd('AND-'+b+a+d))})}};olympe.dc.query.Ca.Sn=class extends olympe.dc.query.Yb{constructor(a,b,c,d=!1){super();this.Ec=olympe.dc.Ya(a);this.substring=b;this.db=c;this.C=d}be(){return[this.Ec]}hh(a,b){return a instanceof olympe.dc.query.Ca.Sn&&a.Ec===this.Ec?b?a.C?a.substring.toLowerCase().includes(this.substring.toLowerCase()):a.substring.includes(this.substring):this.C?this.substring.toLowerCase().includes(a.substring.toLowerCase()):this.substring.includes(a.substring):!1}Ac(){return this.Ec}Kd(a){return this.apply(this.db.Ac(a,
1402
1403
  this.Ec))}observe(a,b,c){Pi(this.db,a,this.Ec,d=>{c(this.apply(d))},olympe.oa.Xd(b+a+this.toString()))}apply(a){a=olympe.dc.Ad.ug(a);return'string'===typeof a?this.C?a.includes(this.substring):a.toLowerCase().includes(this.substring.toLowerCase()):!1}toString(){return'Contains'+this.Ec+'-'+this.substring+'-'+this.C}clear(a,b){Qi(this.db,a,this.Ec,olympe.oa.Xd(b+a+this.toString()))}nh(){return{name:'CONTAINS',property:this.Ac(),value:this.substring,caseSensitive:this.C}}fb(){return{pr:olympe.dc.query.Yb.C.By,
1403
1404
  p:this.Ec,s:this.substring,c:this.C}}};olympe.dc.query.Ca.Lk=class extends olympe.dc.query.Yb{constructor(a,b,c){super();this.Ec=olympe.dc.Ya(a);this.C=olympe.dc.Ad.ug(null!=b?b:null);this.db=c}be(){return[this.Ec]}hh(a){if(a instanceof olympe.dc.query.Ca.Lk&&this.Ec===a.Ec)if('object'===typeof this.C&&null!==this.C){if(this.C instanceof olympe.dc.CloudObject)return this.C.Rb(a.C);if(this.C instanceof Date)return a.C instanceof Date&&this.C.getTime()===a.C.getTime();if(this.C instanceof olympe.j.Color)return this.C.Rb(a.C)}else return this.C===
1404
1405
  a.C;return!1}Kd(a){return this.apply(this.db.Ac(a,this.Ec))}observe(a,b,c){Pi(this.db,a,this.Ec,d=>{c(this.apply(d))},olympe.oa.Xd(b+a+this.toString()));null===this.C&&null===this.db.Ac(a,this.Ec)&&c(!0)}clear(a,b){Qi(this.db,a,this.Ec,olympe.oa.Xd(b+a+this.toString()))}apply(a){a=olympe.dc.Ad.ug(a);return'object'===typeof a&&null!==a?a instanceof olympe.dc.CloudObject?a.Rb(this.C):a instanceof Date?this.C instanceof Date&&this.C.getTime()===a.getTime():a instanceof olympe.j.Color?a.Rb(this.C):!1:
1405
- a===this.C}toString(){let a,b;const c=null!=(b=null==(a=this.C)?void 0:a.toString())?b:'null';return'Equals-'+this.Ec+'-'+c}nh(){return{name:'EQUALS',property:this.Ec,value:this.C}}fb(){let a=1,b=this.C;switch(!0){case this.C instanceof Date:a=2;b=this.C.toJSON();break;case this.C instanceof olympe.dc.CloudObject:a=3;b=this.C.ka();break;case this.C instanceof olympe.j.Color:a=4,b=this.C.toJSON()}return{pr:olympe.dc.query.Yb.C.DG,p:this.Ec,t:a,v:b}}};function Pk(a,b,c){return olympe.oa.Xd(c+b+a.C+a.Ec)}
1406
+ a===this.C}toString(){let a,b;const c=null!=(b=null==(a=this.C)?void 0:a.toString())?b:'null';return'Equals-'+this.Ec+'-'+c}nh(){return{name:'EQUALS',property:this.Ec,value:this.C}}fb(){let a=1,b=this.C;switch(!0){case this.C instanceof Date:a=2;b=this.C.toJSON();break;case this.C instanceof olympe.dc.CloudObject:a=3;b=this.C.ka();break;case this.C instanceof olympe.j.Color:a=4,b=this.C.toJSON()}return{pr:olympe.dc.query.Yb.C.EG,p:this.Ec,t:a,v:b}}};function Pk(a,b,c){return olympe.oa.Xd(c+b+a.C+a.Ec)}
1406
1407
  olympe.dc.query.Ca.Ov=class extends olympe.dc.query.Yb{constructor(a,b,c,d=!0,e=!0){super();this.db=a;this.Ec=olympe.dc.Ya(b);this.C=(this.O=('object'===typeof c||'string'===typeof c)&&olympe.dc.CloudObject.Mw(c))?olympe.dc.Ya(c):c;this.D=d;this.R=e}Re(){return new olympe.dc.query.Ca.Ov(this.db,this.Ec,this.C,!this.D,!this.R)}be(){return[this.Ec]}hh(a,b){if(b)throw Error('Check coverage of inequality should not happen with opposite = true');return a instanceof olympe.dc.query.Ca.Ov&&this.Ec===a.Ec?
1407
1408
  typeof this.C!==typeof a.C||this.D!==a.D?!1:this.O?this.C===a.C:this.D&&this.C>=a.C||!this.D&&this.C<=a.C:!1}Ac(){return this.Ec}Kd(a){return this.compare(this.db.Ac(a,this.Ec),this.O?this.db.Ac(a,this.C):this.C)}observe(a,b,c){this.O&&Pi(this.db,a,this.C,d=>{const e=this.db.Ac(a,this.Ec);null!==e&&c(this.compare(e,d))},Pk(this,a,b));Pi(this.db,a,this.Ec,d=>{const e=this.O?this.db.Ac(a,this.C):this.C;c(null!==e?this.compare(d,e):!0)},Pk(this,a,b))}compare(a,b){return null===a?!1:null===b?!0:this.R?
1408
1409
  this.D?a<b:a>b:this.D?a<=b:a>=b}clear(a,b){Qi(this.db,a,this.Ec,Pk(this,a,b));this.O&&Qi(this.db,a,this.C,Pk(this,a,b))}nh(){return{name:'INEQUALITY_OPERATOR',property:this.Ac(),operator:this.D?'<':'>',strict:this.R,value:this.C}}fb(){return{pr:olympe.dc.query.Yb.C.xH,p:this.Ec,b:this.C,l:this.D,s:this.R}}toString(){return(this.D?'LowerThan-':'GreaterThan-')+this.Ec+'-'+this.R+'-'+this.C}};olympe.dc.query.Ca.ik=class extends olympe.dc.query.Yb{constructor(a){super();this.C=a}compile(){const a=this.C.Re();return this.Rb(a)?super.compile():a.compile()}Re(){return this.C}be(){return this.C.be()}hh(a,b){return a instanceof olympe.dc.query.Ca.ik?this.C.hh(a.C,b):this.C.hh(a,!b)}Kd(a){return!this.C.Kd(a)}observe(a,b,c){let d=null;this.C.observe(a,olympe.oa.Xd('NOT'+b+a),e=>{!e!==d&&(d=!e,c(d))})}nh(){return{name:'NOT',predicate:this.C.nh()}}fb(){return{pr:olympe.dc.query.Yb.C.LJ,v:this.C.fb()}}toString(){return`NOT-${this.C.toString()}`}clear(a,
1409
1410
  b){this.C.clear(a,olympe.oa.Xd('NOT'+b+a))}Rb(a){return a instanceof olympe.dc.query.Ca.ik?this.C.Rb(a.C):!1}};olympe.dc.query.Ca.Wk=class extends olympe.dc.query.Yb{constructor(...a){super();this.Ca=a}compile(){return this.Ca.map(a=>a.compile()).flat()}Re(){return new olympe.dc.query.Ca.Ni(...this.Ca.map(a=>a.Re()))}be(){return this.Ca.flatMap(a=>a.be())}hh(){throw Error('Should not try to check predicate coverage on And (should be removed by compiling predicates');}Kd(a){return this.Ca.reduce((b,c)=>b||c.Kd(a),!1)}observe(a,b,c){const d=Array(this.Ca.length).fill(!1);let e=null;const f=(g,k)=>{d[g]=k;g=
1410
1411
  d.some(l=>l);e!==g&&(e=g,c(g))};this.Ca.forEach((g,k)=>{g.observe(a,olympe.oa.Xd('OR-'+b+a+k),f.bind(null,k))})}nh(){throw Error('toObject for OR predicate should not be called');}fb(){return{pr:olympe.dc.query.Yb.C.UJ,p:this.Ca.map(a=>a.fb())}}toString(){return'Or-'+this.Ca.reduce((a,b)=>a.toString()+'-'+b.toString(),'')}clear(a,b){this.Ca.forEach((c,d)=>{c.clear(a,olympe.oa.Xd('OR-'+b+a+d))})}};olympe.dc.query.Ca.mo=class extends olympe.dc.query.Yb{constructor(a,b,c,d=!0){super();this.Ec=olympe.dc.Ya(a);this.C='string'===typeof b?new RegExp(d?b:b.toLowerCase()):d?b:new RegExp(b.source.toLowerCase());this.db=c;this.D=d}be(){return[this.Ec]}hh(a){return a instanceof olympe.dc.query.Ca.mo&&this.Ec===a.Ec&&this.C.toString()===a.C.toString()}Kd(a){return this.apply(this.db.Ac(a,this.Ec))}observe(a,b,c){Pi(this.db,a,this.Ec,d=>{c(this.apply(d))},olympe.oa.Xd(b+a+this.toString()))}apply(a){a=olympe.dc.Ad.ug(a);
1411
- return'string'===typeof a?(a=this.C.test(this.D?a:a.toLowerCase()),this.C.lastIndex=0,a):!1}toString(){return'Regex'+this.Ec+'-'+this.C.toString()+'-'+this.D}nh(){return{name:'REGEX',property:this.Ec,pattern:this.C,caseSensitive:this.D}}fb(){return{pr:olympe.dc.query.Yb.C.pK,p:this.Ec,r:this.C.source,c:this.D}}clear(a,b){Qi(this.db,a,this.Ec,olympe.oa.Xd(b+a+this.toString()))}};olympe.dc.query.Ca.mD=class extends olympe.dc.query.Yb{constructor(a){super();this.C=new Set(a.map(olympe.dc.Ya))}be(){return[]}hh(a){return a instanceof olympe.dc.query.Ca.mD&&Array.from(a.C).every(b=>this.C.has(b))}Kd(a){return this.C.has(a)}observe(a,b,c){c(this.C.has(a))}clear(){}toString(){return'Tags-'+Array.from(this.C)}nh(){return{name:'IS',tags:Array.from(this.C)}}fb(){return{pr:olympe.dc.query.Yb.C.nL,t:Array.from(this.C)}}};olympe.dc.query.wb={};function Nk(a){let b,c;const d=new Set(null!=(c=null==(b=a.D)?void 0:b.be())?c:[]);let e;a.Oe&&d.add(null==(e=a.Oe)?void 0:e.Ac().ka());return d}function Qk(a){if(!a.ca){let b,c;a.ca=null!=(c=null==(b=a.D)?void 0:b.compile())?c:[]}return a.ca}function Rk(a,b){for(const c of b)if(a.some(d=>d.hh(c,!1)))return!0;return!1}
1412
+ return'string'===typeof a?(a=this.C.test(this.D?a:a.toLowerCase()),this.C.lastIndex=0,a):!1}toString(){return'Regex'+this.Ec+'-'+this.C.toString()+'-'+this.D}nh(){return{name:'REGEX',property:this.Ec,pattern:this.C,caseSensitive:this.D}}fb(){return{pr:olympe.dc.query.Yb.C.pK,p:this.Ec,r:this.C.source,c:this.D}}clear(a,b){Qi(this.db,a,this.Ec,olympe.oa.Xd(b+a+this.toString()))}};olympe.dc.query.Ca.nD=class extends olympe.dc.query.Yb{constructor(a){super();this.C=new Set(a.map(olympe.dc.Ya))}be(){return[]}hh(a){return a instanceof olympe.dc.query.Ca.nD&&Array.from(a.C).every(b=>this.C.has(b))}Kd(a){return this.C.has(a)}observe(a,b,c){c(this.C.has(a))}clear(){}toString(){return'Tags-'+Array.from(this.C)}nh(){return{name:'IS',tags:Array.from(this.C)}}fb(){return{pr:olympe.dc.query.Yb.C.nL,t:Array.from(this.C)}}};olympe.dc.query.vb={};function Nk(a){let b,c;const d=new Set(null!=(c=null==(b=a.D)?void 0:b.be())?c:[]);let e;a.Oe&&d.add(null==(e=a.Oe)?void 0:e.Ac().ka());return d}function Qk(a){if(!a.ca){let b,c;a.ca=null!=(c=null==(b=a.D)?void 0:b.compile())?c:[]}return a.ca}function Rk(a,b){for(const c of b)if(a.some(d=>d.hh(c,!1)))return!0;return!1}
1412
1413
  function Sk(a,b){if(null===a.D)return b;let c=!1;const d=a.toString();return(e,f,g,k)=>{const l=olympe.oa.Xd(k+f+d);e?a.D.observe(f,l,m=>{c||b(m,f,g,l)}):(c=!0,a.D.clear(f,l),c=!1,b(!1,f,g,l))}}function Tk(a,b,c){if(null===a.Oe)return c;const d=a.toString();return(e,f,g,k)=>{const l=a.Oe.Ac();k=olympe.oa.Xd(k+d);e?Pi(a.db,f,l,()=>{Zj(b)},k):Qi(a.db,f,l,k);c(e,f,g,k)}}
1413
- olympe.dc.query.wb.UC=class{constructor(a,b){this.db=olympe.dc.eb();this.C=a;this.optional=b;this.ca=this.Oe=this.D=this.id=null}static C(a){var b=a.i;if('string'===typeof a.f)return new olympe.dc.query.wb.ph(b,a.f);var c=a.o;const d=new olympe.dc.Oc.Relation(a.t,a.d);b='boolean'===typeof a.s?new olympe.dc.query.wb.Mk(b,d,a.s,c):new olympe.dc.query.wb.ht(b,d,c);void 0!==a.p&&(b.D=ik(a.p));void 0!==a.c&&(c=b.ja(),a=a.c,a=new olympe.dc.query.Qn(c,new olympe.dc.Oc.Property(a.p),a.o),b.Oe=a);return b}clone(){}R(){let a,
1414
- b,c,d;return`${this.C}-${this.optional}${null!=(c=null==(a=this.D)?void 0:a.toString())?c:''}${null!=(d=null==(b=this.Oe)?void 0:b.toString())?d:''}`}nh(){}toJSON(){}fb(){const a={i:this.C,o:this.optional};null!==this.D&&(a.p=this.D.fb());null!==this.Oe&&(a.c=this.Oe.fb());return a}W(){}da(){return new olympe.dc.query.wb.fD}$(){}ja(){this.id||(this.id=this.W());return this.id}T(){return this.optional}hh(a){const b=Qk(this);if(0===b.length)return!0;a=Qk(a);if(0===a.length)return!1;for(const c of a)if(!b.some(d=>
1414
+ olympe.dc.query.vb.VC=class{constructor(a,b){this.db=olympe.dc.eb();this.C=a;this.optional=b;this.ca=this.Oe=this.D=this.id=null}static C(a){var b=a.i;if('string'===typeof a.f)return new olympe.dc.query.vb.ph(b,a.f);var c=a.o;const d=new olympe.dc.Oc.Relation(a.t,a.d);b='boolean'===typeof a.s?new olympe.dc.query.vb.Mk(b,d,a.s,c):new olympe.dc.query.vb.ht(b,d,c);void 0!==a.p&&(b.D=ik(a.p));void 0!==a.c&&(c=b.ja(),a=a.c,a=new olympe.dc.query.Qn(c,new olympe.dc.Oc.Property(a.p),a.o),b.Oe=a);return b}clone(){}R(){let a,
1415
+ b,c,d;return`${this.C}-${this.optional}${null!=(c=null==(a=this.D)?void 0:a.toString())?c:''}${null!=(d=null==(b=this.Oe)?void 0:b.toString())?d:''}`}nh(){}toJSON(){}fb(){const a={i:this.C,o:this.optional};null!==this.D&&(a.p=this.D.fb());null!==this.Oe&&(a.c=this.Oe.fb());return a}W(){}da(){return new olympe.dc.query.vb.gD}$(){}ja(){this.id||(this.id=this.W());return this.id}T(){return this.optional}hh(a){const b=Qk(this);if(0===b.length)return!0;a=Qk(a);if(0===a.length)return!1;for(const c of a)if(!b.some(d=>
1415
1416
  Rk(d,c)))return!1;return!0}filter(a){const b=this.clone(),c=b.D;null===c?b.D=a:b.D=c instanceof olympe.dc.query.Ca.Ni?new olympe.dc.query.Ca.Ni(...Array.from(c.Ca),a):new olympe.dc.query.Ca.Ni(b.D,a);return b}sort(a,b){const c=this.clone();c.Oe=new olympe.dc.query.Qn(this.ja(),a,b);return c}Ur(){return this.Oe}Kd(a){if(null!==this.D){var b=this.ja();for(const c of ak(a,b))this.D.Kd(c)||a.remove(c,b,null)}}observe(a,b){const c=this.ja();return Sk(this,Tk(this,a,(d,e,f,g)=>{(d?ck(a,e,c,f):a.remove(e,
1416
- c,f))&&b(d,e,f,g)}))}Rb(){}};olympe.dc.query.wb.Ht=class extends olympe.dc.query.wb.UC{constructor(a,b,c){super(a,c);this.relation=b;this.ma=null}};olympe.dc.query.wb.VC=class{has(){}R(){}C(){}xg(){}D(){}remove(){}};olympe.dc.query.wb.ph=class extends olympe.dc.query.wb.UC{constructor(a,b,c){super(a,!1);this.af=b;this.O=null!=c?c:null}clone(){return new olympe.dc.query.wb.ph(this.C,this.af,this.O)}W(){return olympe.oa.Xd(this.C+olympe.dc.query.wb.ph.Dc)}da(){return new olympe.dc.query.wb.EH(this.db,this.O)}$(a,b){return b instanceof olympe.dc.query.wb.ph?[a]:[olympe.oa.Xd(a+olympe.dc.query.wb.ph.Dc)]}hh(a){if(a instanceof olympe.dc.query.wb.Ht){const b=olympe.dc.Ib.ORIGIN,c=olympe.dc.Ib.DESTINATION,d=olympe.dc.Lf.sh,
1417
- e=olympe.dc.Lf.bt,f=olympe.dm.Relation.C.vK,g=olympe.dm.Relation.C.yL;a=a.relation;const k=a.zc(),l=a.ka();return k!==c||l!==d&&l!==e?!!(Zi(this.db,a,this.af)&(a.zc()===b?f:g)):!0}return a instanceof olympe.dc.query.wb.ph?this.af===a.af:!1}Kd(a){const b=this.ja();for(const c of ak(a,this.C))for(const d of Ph(this.db,c,this.af))ck(a,d,b,c)}observe(a,b){const c=this.ja(),d=(e,f,g,k)=>{const l=`${k}:${g}`;f?$i(this.db,g,this.af,(m,n,p,r,t)=>{p&&(p=r?ck(a,t,c,g):a.remove(t,c,g),null!==n&&dk(a,r,m,n,g,
1418
- t),p&&d(e,r,t,k))},l):aj(this.db,g,this.af,l);b(f,g,e,l)};return(e,f,g,k)=>{(e?ck(a,f,c,f):a.remove(f,c,f))&&d(f,e,f,olympe.oa.Xd(k+f+this.toString()))}}fb(){return Object.assign(super.fb(),{f:this.af})}R(){return`followRulePart-${this.af}-${super.R()}`}nh(){throw Error('Try to parse a part of an implicit query. Data connectors do not support those queries.');}toString(){return`FollowRule Part: ${this.db.name(this.af)} (${this.af})`}Rb(a){return a instanceof olympe.dc.query.wb.ph&&this.af===a.af}toJSON(){return{type:'follow rule',
1419
- rule:`${this.db.name(this.af)} (${this.af})`}}T(){return!1}filter(){olympe.gb.Cb('dc.query').warn('Should never try to filter on queries with follow rules, ignore...');return this}sort(){olympe.gb.Cb('dc.query').warn('Should never try to sort queries with follow rules, ignore...');return this}};olympe.dc.query.wb.ph.Dc='followRules';olympe.dc.query.wb.ht=class extends olympe.dc.query.wb.Ht{constructor(a,b,c){super(a,olympe.dc.query.Relation.from(b,!1),c)}clone(){const a=new olympe.dc.query.wb.ht(this.C,this.relation,this.optional);a.D=this.D;a.Oe=this.Oe;return a}W(){return olympe.oa.Xd(this.C+this.relation.ja())}$(a,b){if(b instanceof olympe.dc.query.wb.ph)return[a];const c=[a+this.relation.ja(),a+Ok(this.relation).ja()+!1,a+Ok(this.relation).ja()+!0,a+olympe.dc.query.wb.ph.Dc].map(d=>olympe.oa.Xd(d));b instanceof olympe.dc.query.wb.Mk&&
1417
+ c,f))&&b(d,e,f,g)}))}Rb(){}};olympe.dc.query.vb.Ht=class extends olympe.dc.query.vb.VC{constructor(a,b,c){super(a,c);this.relation=b;this.ma=null}};olympe.dc.query.vb.WC=class{has(){}R(){}C(){}xg(){}D(){}remove(){}};olympe.dc.query.vb.ph=class extends olympe.dc.query.vb.VC{constructor(a,b,c){super(a,!1);this.af=b;this.O=null!=c?c:null}clone(){return new olympe.dc.query.vb.ph(this.C,this.af,this.O)}W(){return olympe.oa.Xd(this.C+olympe.dc.query.vb.ph.Dc)}da(){return new olympe.dc.query.vb.EH(this.db,this.O)}$(a,b){return b instanceof olympe.dc.query.vb.ph?[a]:[olympe.oa.Xd(a+olympe.dc.query.vb.ph.Dc)]}hh(a){if(a instanceof olympe.dc.query.vb.Ht){const b=olympe.dc.Ib.ORIGIN,c=olympe.dc.Ib.DESTINATION,d=olympe.dc.Lf.sh,
1418
+ e=olympe.dc.Lf.bt,f=olympe.dm.Relation.C.vK,g=olympe.dm.Relation.C.yL;a=a.relation;const k=a.zc(),l=a.ka();return k!==c||l!==d&&l!==e?!!(Zi(this.db,a,this.af)&(a.zc()===b?f:g)):!0}return a instanceof olympe.dc.query.vb.ph?this.af===a.af:!1}Kd(a){const b=this.ja();for(const c of ak(a,this.C))for(const d of Ph(this.db,c,this.af))ck(a,d,b,c)}observe(a,b){const c=this.ja(),d=(e,f,g,k)=>{const l=`${k}:${g}`;f?$i(this.db,g,this.af,(m,n,p,r,t)=>{p&&(p=r?ck(a,t,c,g):a.remove(t,c,g),null!==n&&dk(a,r,m,n,g,
1419
+ t),p&&d(e,r,t,k))},l):aj(this.db,g,this.af,l);b(f,g,e,l)};return(e,f,g,k)=>{(e?ck(a,f,c,f):a.remove(f,c,f))&&d(f,e,f,olympe.oa.Xd(k+f+this.toString()))}}fb(){return Object.assign(super.fb(),{f:this.af})}R(){return`followRulePart-${this.af}-${super.R()}`}nh(){throw Error('Try to parse a part of an implicit query. Data connectors do not support those queries.');}toString(){return`FollowRule Part: ${this.db.name(this.af)} (${this.af})`}Rb(a){return a instanceof olympe.dc.query.vb.ph&&this.af===a.af}toJSON(){return{type:'follow rule',
1420
+ rule:`${this.db.name(this.af)} (${this.af})`}}T(){return!1}filter(){olympe.gb.Cb('dc.query').warn('Should never try to filter on queries with follow rules, ignore...');return this}sort(){olympe.gb.Cb('dc.query').warn('Should never try to sort queries with follow rules, ignore...');return this}};olympe.dc.query.vb.ph.Dc='followRules';olympe.dc.query.vb.ht=class extends olympe.dc.query.vb.Ht{constructor(a,b,c){super(a,olympe.dc.query.Relation.from(b,!1),c)}clone(){const a=new olympe.dc.query.vb.ht(this.C,this.relation,this.optional);a.D=this.D;a.Oe=this.Oe;return a}W(){return olympe.oa.Xd(this.C+this.relation.ja())}$(a,b){if(b instanceof olympe.dc.query.vb.ph)return[a];const c=[a+this.relation.ja(),a+Ok(this.relation).ja()+!1,a+Ok(this.relation).ja()+!0,a+olympe.dc.query.vb.ph.Dc].map(d=>olympe.oa.Xd(d));b instanceof olympe.dc.query.vb.Mk&&
1420
1421
  b.relation.Rb(this.relation)&&c.push(a);return c}Kd(a){const b=this.ja();for(const c of ak(a,this.C))this.db.pc(c,this.relation).forEach(d=>{ck(a,d,b,c)});super.Kd(a)}observe(a,b){const c=super.observe(a,b),d=this.relation.ka(),e=this.relation.zc(),f=this.toString();return(g,k,l,m)=>{const n=olympe.oa.Xd(m+k+f);g?Ui(this.db,k,this.relation,(p,r)=>{dk(a,p,d,e,k,r);c(p,r,k,n)},n):this.db.D(k,this.relation,n)}}fb(){return Object.assign(super.fb(),{t:this.relation.ka(),d:this.relation.zc()})}R(){return`followPart-${this.relation.ja()}-${super.R()}`}nh(){const a=
1421
- {recursive:!1,relation:this.relation,filter:Qk(this).map(b=>b.map(c=>c.nh())),optional:this.T()};this.Oe&&(a.sort={property:this.Oe.Ac(),order:this.Oe.Sv});return a}toString(){return`Follow Part: ${this.relation}`}toJSON(){return{type:'follow',relation:`${this.db.name(this.relation)} (${this.relation.ka()})`,direction:this.relation.zc()}}Rb(a){return a instanceof olympe.dc.query.wb.ht&&this.relation.Rb(a.relation)}};olympe.dc.query.wb.Mk=class extends olympe.dc.query.wb.Ht{constructor(a,b,c,d){super(a,olympe.dc.query.Relation.from(b,!0),d);this.O=c}da(){return new olympe.dc.query.wb.AK}clone(){const a=new olympe.dc.query.wb.Mk(this.C,this.relation,this.O,this.optional);a.D=this.D;a.Oe=this.Oe;return a}W(){return olympe.oa.Xd(this.C+this.relation.ja()+this.O)}$(a,b){if(b instanceof olympe.dc.query.wb.ph)return[a];const c=[a+this.relation.ja()+this.O,a+olympe.dc.query.wb.ph.Dc].map(d=>olympe.oa.Xd(d));b instanceof
1422
- olympe.dc.query.wb.Mk&&b.relation.Rb(this.relation)&&c.push(a);return c}Kd(a){const b=this.ja();for(const c of ak(a,this.C))this.O&&ck(a,c,b,c),this.db.iq(c,this.relation).forEach(d=>{ck(a,d,b,c)});super.Kd(a)}observe(a,b){const c=this.relation.ka(),d=this.relation.zc(),e=(f,g,k,l)=>{const m=olympe.oa.Xd(l+g);f?Ui(this.db,g,this.relation,(n,p)=>{dk(a,n,c,d,g,p);super.observe(a,(r,t,u,v)=>{b(r,t,u,v);e(r,t,u,l)})(n,p,k,m)},m):this.db.D(g,this.relation,m)};return(f,g,k,l)=>{k=l+this.toString();this.O&&
1422
+ {recursive:!1,relation:this.relation,filter:Qk(this).map(b=>b.map(c=>c.nh())),optional:this.T()};this.Oe&&(a.sort={property:this.Oe.Ac(),order:this.Oe.Sv});return a}toString(){return`Follow Part: ${this.relation}`}toJSON(){return{type:'follow',relation:`${this.db.name(this.relation)} (${this.relation.ka()})`,direction:this.relation.zc()}}Rb(a){return a instanceof olympe.dc.query.vb.ht&&this.relation.Rb(a.relation)}};olympe.dc.query.vb.Mk=class extends olympe.dc.query.vb.Ht{constructor(a,b,c,d){super(a,olympe.dc.query.Relation.from(b,!0),d);this.O=c}da(){return new olympe.dc.query.vb.AK}clone(){const a=new olympe.dc.query.vb.Mk(this.C,this.relation,this.O,this.optional);a.D=this.D;a.Oe=this.Oe;return a}W(){return olympe.oa.Xd(this.C+this.relation.ja()+this.O)}$(a,b){if(b instanceof olympe.dc.query.vb.ph)return[a];const c=[a+this.relation.ja()+this.O,a+olympe.dc.query.vb.ph.Dc].map(d=>olympe.oa.Xd(d));b instanceof
1423
+ olympe.dc.query.vb.Mk&&b.relation.Rb(this.relation)&&c.push(a);return c}Kd(a){const b=this.ja();for(const c of ak(a,this.C))this.O&&ck(a,c,b,c),this.db.iq(c,this.relation).forEach(d=>{ck(a,d,b,c)});super.Kd(a)}observe(a,b){const c=this.relation.ka(),d=this.relation.zc(),e=(f,g,k,l)=>{const m=olympe.oa.Xd(l+g);f?Ui(this.db,g,this.relation,(n,p)=>{dk(a,n,c,d,g,p);super.observe(a,(r,t,u,v)=>{b(r,t,u,v);e(r,t,u,l)})(n,p,k,m)},m):this.db.D(g,this.relation,m)};return(f,g,k,l)=>{k=l+this.toString();this.O&&
1423
1424
  super.observe(a,b)(f,g,g,olympe.oa.Xd(k+g));e(f,g,g,k)}}fb(){return Object.assign(super.fb(),{s:this.O,t:this.relation.ka(),d:this.relation.zc()})}R(){return`followRecursivelyPart-${this.relation.ja()}-${this.O}-${super.R()}`}nh(){const a={recursive:this.O?'INCLUDE_SELF':'EXCLUDE_SELF',relation:this.relation,filter:Qk(this).map(b=>b.map(c=>c.nh())),optional:this.T()};this.Oe&&(a.sort={property:this.Oe.Ac(),order:this.Oe.Sv});return a}toString(){return`FollowRecursively Part: ${this.relation}`}toJSON(){return{type:'follow recursively',
1424
- relation:`${this.db.name(this.relation)} (${this.relation.ka()})`,direction:this.relation.zc()}}Rb(a){return a instanceof olympe.dc.query.wb.Mk&&this.relation.Rb(a.relation)&&this.O===a.O}};olympe.dc.query.wb.TG=class extends olympe.dc.query.wb.ph{observe(a,b){const c=this.ja();return(d,e,f,g)=>{d?ck(a,e,c,e):a.remove(e,c,e);b(d,e,e,g)}}};olympe.dc.query.wb.EH=class{constructor(a,b){this.db=a;this.origin=null;this.content=new Map;this.O=null!=b?b:null}xg(){return this.content.keys()}C(a){return this.content.has(a)&&null!==this.origin?[this.origin].values():[].values()}has(a){return this.content.has(a)}R(a){let b;return(null==(b=this.O)?void 0:b.call(this,a))||!1}D(a,b){null===this.origin&&(this.origin=b);const c=this.content.get(a);if(!c)return this.content.set(a,(new Map).set(b,1)),!0;let d;a=null!=(d=c.get(b))?d:0;c.set(b,a+1);return!1}remove(a,
1425
- b){a===this.origin&&(this.origin=null);if(null===this.origin||!this.db.tc(a)||!b)return this.content.delete(a);var c=this.content.get(a);if(!c)return!1;const d=c.get(b);if(1<d)return c.set(b,d-1),!0;b=c.delete(b);if(0===c.size)return this.content.delete(a);if(b){c=new Set(c.keys());for(const e of c){if(this.origin===e)return!0;let f,g;for(const k of null!=(g=null==(f=this.content.get(e))?void 0:f.keys())?g:[])c.add(k)}return this.content.delete(a)}return!1}};olympe.dc.query.wb.EH.Aa=[olympe.dc.query.wb.VC];olympe.dc.query.wb.AK=class{constructor(){this.content=new Map}xg(){return this.content.keys()}C(a){let b,c;return null!=(c=null==(b=this.content.get(a))?void 0:b.keys())?c:[]}has(a){return this.content.has(a)}R(){return!1}D(a,b){let c=this.content.get(a);c||(c=new Map,this.content.set(a,c));let d;a=null!=(d=c.get(b))?d:0;c.set(b,a+1);return 0===a}remove(a,b){if(null===b)return this.content.delete(a);const c=this.content.get(a),d=null==c?void 0:c.get(b);if(1<d)return c.set(b,d-1),!1;let e;b=null!=
1426
- (e=null==c?void 0:c.delete(b))?e:!1;0===(null==c?void 0:c.size)&&this.content.delete(a);return b}};olympe.dc.query.wb.AK.Aa=[olympe.dc.query.wb.VC];olympe.dc.query.wb.fD=class{constructor(){this.content=new Map}xg(){return this.content.keys()}C(a){let b,c;return null!=(c=null==(b=this.content.get(a))?void 0:b.values())?c:[]}has(a){return this.content.has(a)}R(){return!1}D(a,b){let c=this.content.get(a);c||(c=new Set,this.content.set(a,c));a=c.size;c.add(b);return a<c.size}remove(a,b){if(null===b)return this.content.delete(a);const c=this.content.get(a);let d;b=null!=(d=null==c?void 0:c.delete(b))?d:!1;0===(null==c?void 0:c.size)&&this.content.delete(a);
1427
- return b}};olympe.dc.query.wb.fD.Aa=[olympe.dc.query.wb.VC];olympe.dc.sources={};olympe.dc.sources.RT=class extends Error{};olympe.dc.sources.Ly=class{ja(){}init(){}destroy(){}da(){return q(function*(){})}subscribe(){}};const Uk=olympe.Fa.Rc.gk.GET,Vk=olympe.Fa.Rc.gk.Pp,Wk=olympe.Fa.Rc.gk.Qg,Xk=olympe.Fa.Rc.gk.eK,Yk=olympe.Fa.Rc.Headers.Ey;function Zk(a){const b=`/${olympe.sa.getParameter(olympe.dc.sources.pa.iC)}/:${'sourceId'}/:${'requestType'}`.replace(/\/+/g,'/').replace(/\/$/,'');md().catch(c=>a.V.error(`Error while starting the HTTP Service: ${c}`));a.V.debug(`Started HTTP service with path: ${b}`)}
1425
+ relation:`${this.db.name(this.relation)} (${this.relation.ka()})`,direction:this.relation.zc()}}Rb(a){return a instanceof olympe.dc.query.vb.Mk&&this.relation.Rb(a.relation)&&this.O===a.O}};olympe.dc.query.vb.cC=class extends olympe.dc.query.vb.ph{observe(a,b){const c=this.ja();return(d,e,f,g)=>{d?ck(a,e,c,e):a.remove(e,c,e);b(d,e,e,g)}}};olympe.dc.query.vb.EH=class{constructor(a,b){this.db=a;this.origin=null;this.content=new Map;this.O=null!=b?b:null}xg(){return this.content.keys()}C(a){return this.content.has(a)&&null!==this.origin?[this.origin].values():[].values()}has(a){return this.content.has(a)}R(a){let b;return(null==(b=this.O)?void 0:b.call(this,a))||!1}D(a,b){null===this.origin&&(this.origin=b);const c=this.content.get(a);if(!c)return this.content.set(a,(new Map).set(b,1)),!0;let d;a=null!=(d=c.get(b))?d:0;c.set(b,a+1);return!1}remove(a,
1426
+ b){a===this.origin&&(this.origin=null);if(null===this.origin||!this.db.tc(a)||!b)return this.content.delete(a);var c=this.content.get(a);if(!c)return!1;const d=c.get(b);if(1<d)return c.set(b,d-1),!0;b=c.delete(b);if(0===c.size)return this.content.delete(a);if(b){c=new Set(c.keys());for(const e of c){if(this.origin===e)return!0;let f,g;for(const k of null!=(g=null==(f=this.content.get(e))?void 0:f.keys())?g:[])c.add(k)}return this.content.delete(a)}return!1}};olympe.dc.query.vb.EH.Aa=[olympe.dc.query.vb.WC];olympe.dc.query.vb.AK=class{constructor(){this.content=new Map}xg(){return this.content.keys()}C(a){let b,c;return null!=(c=null==(b=this.content.get(a))?void 0:b.keys())?c:[]}has(a){return this.content.has(a)}R(){return!1}D(a,b){let c=this.content.get(a);c||(c=new Map,this.content.set(a,c));let d;a=null!=(d=c.get(b))?d:0;c.set(b,a+1);return 0===a}remove(a,b){if(null===b)return this.content.delete(a);const c=this.content.get(a),d=null==c?void 0:c.get(b);if(1<d)return c.set(b,d-1),!1;let e;b=null!=
1427
+ (e=null==c?void 0:c.delete(b))?e:!1;0===(null==c?void 0:c.size)&&this.content.delete(a);return b}};olympe.dc.query.vb.AK.Aa=[olympe.dc.query.vb.WC];olympe.dc.query.vb.gD=class{constructor(){this.content=new Map}xg(){return this.content.keys()}C(a){let b,c;return null!=(c=null==(b=this.content.get(a))?void 0:b.values())?c:[]}has(a){return this.content.has(a)}R(){return!1}D(a,b){let c=this.content.get(a);c||(c=new Set,this.content.set(a,c));a=c.size;c.add(b);return a<c.size}remove(a,b){if(null===b)return this.content.delete(a);const c=this.content.get(a);let d;b=null!=(d=null==c?void 0:c.delete(b))?d:!1;0===(null==c?void 0:c.size)&&this.content.delete(a);
1428
+ return b}};olympe.dc.query.vb.gD.Aa=[olympe.dc.query.vb.WC];olympe.dc.sources={};olympe.dc.sources.RT=class extends Error{};olympe.dc.sources.Ly=class{ja(){}init(){}destroy(){}da(){return q(function*(){})}subscribe(){}};const Uk=olympe.Fa.Rc.gk.GET,Vk=olympe.Fa.Rc.gk.Pp,Wk=olympe.Fa.Rc.gk.Qg,Xk=olympe.Fa.Rc.gk.eK,Yk=olympe.Fa.Rc.Headers.Ey;function Zk(a){const b=`/${olympe.sa.getParameter(olympe.dc.sources.pa.jC)}/:${'sourceId'}/:${'requestType'}`.replace(/\/+/g,'/').replace(/\/$/,'');md().catch(c=>a.V.error(`Error while starting the HTTP Service: ${c}`));a.V.debug(`Started HTTP service with path: ${b}`)}
1428
1429
  function $k(a){Promise.reject('Try to close a route on a web server using the browser implementation.').catch(b=>{a.V.error(`An error occurred while stopping the data sources http service: ${b}`)})}function al(a,b,c){0===a.D.size&&Zk(a);a.D.set(b,c);return()=>{a.D.delete(b);0===a.D.size&&$k(a)}}function bl(a,b){return b instanceof olympe.Fa.Mv?be(a.R,b,Fd(a.$).Ci()):Promise.reject('No http request to send')}
1429
1430
  function cl(a,b){var c=a.le(b.Yf(),b.getType());if(!c)return Promise.reject(`No destination URL to send the query to destination: ${b.Yf()}`);const d=b.Pe(),e=JSON.stringify(a.O.fb(d));c=bd(c,Vk,e,olympe.Fa.Rc.ResponseType.JSON);cd(c,{['X-Source-Origin']:b.origin,[Yk]:'application/json'});return bl(a,c).then(f=>(f=f.data)?a.O.W(f):olympe.dc.query.vi.Pw(d))}
1430
1431
  function dl(a,b){var c=a.le(b.Yf(),b.getType());if(!c)return Promise.reject(`No destination URL to send the transaction to destination: ${b.Yf()}`);const d=JSON.stringify(a.O.fb(b.Pe()));c=bd(c,Vk,d);cd(c,{['X-Source-Origin']:b.origin,[Yk]:'application/json'});return bl(a,c).then(e=>Number.parseInt(e.data,10))}
1431
- olympe.dc.sources.cR=class{constructor(a,b,c,d,e,f){this.V=a;this.R=c;this.$=d;this.W=e;this.O=f;this.D=new Map;new olympe.j.ee('Http service of remote data provider');this.T=new Map;this.C=new Map;this.ca=new Map([[olympe.dc.Request.C.cr,olympe.Y.xf.cr],[olympe.dc.Request.C.Zq,olympe.Y.xf.Qy],[olympe.dc.Request.C.Hr,olympe.Y.xf.Qy],[olympe.dc.Request.C.Yq,olympe.Y.xf.Qy],[olympe.dc.Request.C.zF,olympe.Y.xf.yF],[olympe.dc.Request.C.tK,olympe.Y.xf.sK],[olympe.dc.Request.C.cH,olympe.Y.xf.bH],[olympe.dc.Request.C.Ct,
1432
- olympe.Y.xf.OF],[olympe.dc.Request.C.Mt,olympe.Y.xf.TRANSACTION]])}le(a,b){if(a===olympe.dc.Jc.SERVER){var c;return null!=(c=$d(this.R,this.ca.get(b)))?c:null}var d=this.T.get(a);if(!d){const e=this.W.Sd(a);c=m=>{var n=null!=e?e:a;m=n instanceof olympe.dm.DataSource?n.yo(m):el(n,m);null===m&&this.V.error(`Impossible to build URL for data source ${n}`);return m};d=olympe.dc.sources.pa.qt;const f=olympe.dc.sources.pa.Jp,g=olympe.dc.sources.pa.Lv,k=olympe.dc.sources.pa.iC;let l;d=`${c(g)?'https':'http'}://${c(d)}:${null!=
1432
+ olympe.dc.sources.cR=class{constructor(a,b,c,d,e,f){this.V=a;this.R=c;this.$=d;this.W=e;this.O=f;this.D=new Map;new olympe.j.ee('Http service of remote data provider');this.T=new Map;this.C=new Map;this.ca=new Map([[olympe.dc.Request.C.cr,olympe.Y.xf.cr],[olympe.dc.Request.C.Zq,olympe.Y.xf.Qy],[olympe.dc.Request.C.Hr,olympe.Y.xf.Qy],[olympe.dc.Request.C.Yq,olympe.Y.xf.Qy],[olympe.dc.Request.C.AF,olympe.Y.xf.zF],[olympe.dc.Request.C.tK,olympe.Y.xf.sK],[olympe.dc.Request.C.cH,olympe.Y.xf.bH],[olympe.dc.Request.C.Ct,
1433
+ olympe.Y.xf.PF],[olympe.dc.Request.C.Mt,olympe.Y.xf.TRANSACTION]])}le(a,b){if(a===olympe.dc.Jc.SERVER){var c;return null!=(c=$d(this.R,this.ca.get(b)))?c:null}var d=this.T.get(a);if(!d){const e=this.W.Sd(a);c=m=>{var n=null!=e?e:a;m=n instanceof olympe.dm.DataSource?n.yo(m):el(n,m);null===m&&this.V.error(`Impossible to build URL for data source ${n}`);return m};d=olympe.dc.sources.pa.qt;const f=olympe.dc.sources.pa.Jp,g=olympe.dc.sources.pa.Lv,k=olympe.dc.sources.pa.jC;let l;d=`${c(g)?'https':'http'}://${c(d)}:${null!=
1433
1434
  (l=c(f))?l:c(g)?443:80}`+`/${c(k)}/${a}`.replace(/\/+/g,'/').replace(/\/$/,'');this.T.set(a,d)}return`${d}/${b}`}jh(a){var b=this.le(a.Yf(),a.getType());if(!b)return Promise.reject(`No destination URL to send the status request to destination: ${a.Yf()}`);b=ed(bd(b,Uk),olympe.Fa.Rc.ResponseType.JSON);cd(b,{['X-Source-Origin']:a.origin});return bl(this,b).then(c=>c.data)}uploadFileContent(a){const {tag:b,model:c,content:d}=a.Pe(),e=a.Yf(),f=this.le(e,a.getType());if(!f)return Promise.reject(`No destination URL to upload the file. ${b}`);
1434
1435
  const g=bd(e===olympe.dc.Jc.SERVER?`${f}/${b}`:`${f}?tag=${b}&model=${c}`,Xk,d);cd(g,{[Yk]:'application/octet-stream'});e!==olympe.dc.Jc.SERVER&&cd(g,{['X-Source-Origin']:a.origin});return bl(this,g).then(()=>(new URL(g.le())).pathname)}deleteFileContent(a){const {tag:b,model:c}=a.Pe(),d=a.Yf();var e=this.le(d,a.getType());if(!e)return Promise.reject(`No destination URL to delete the file. ${b}`);e=bd(d===olympe.dc.Jc.SERVER?`${e}/${b}`:`${e}?tag=${b}&model=${c}`,Wk,b);d!==olympe.dc.Jc.SERVER&&cd(e,
1435
1436
  {['X-Source-Origin']:a.origin});return bl(this,e).then(()=>{})}downloadFileContent(a){const {tag:b,model:c}=a.Pe(),d=a.Yf();var e=this.le(d,a.getType());if(!e)return Promise.reject(Error(`No destination URL to download the file. ${b}`));var f;const g=null!=(f=this.C.get(b))?f:[];f=new Promise((k,l)=>{g.push({done:k,gu:l})});if(this.C.has(b))return f;this.C.set(b,g);e=bd(d===olympe.dc.Jc.SERVER?`${e}/${b}`:`${e}?tag=${b}&model=${c}`,Uk,void 0,olympe.Fa.Rc.ResponseType.Pt);d!==olympe.dc.Jc.SERVER&&
1436
1437
  cd(e,{['X-Source-Origin']:a.origin});bl(this,e).then(k=>{let l;null==(l=this.C.get(b))||l.forEach(m=>m.done(k.data))}).catch(k=>{let l;null==(l=this.C.get(b))||l.forEach(m=>m.gu(`${k}`))}).finally(()=>{this.C.delete(b)});return f}};olympe.dc.sources.CH=class{constructor(a,b){this.V=a;this.kf=b}};olympe.dc.sources.CH.lk={lw:0,j1:1,l1:3,C0:4};const fl=olympe.dc.Request.C.Vf,gl=olympe.dc.Request.C.Ct,hl=olympe.dc.Request.C.zz,il=olympe.dc.Request.C.Hr,jl=olympe.dc.Request.C.Zq,kl=olympe.dc.Request.C.Yq,ll=olympe.dc.Request.C.wv,ml=olympe.dc.Request.C.xv,nl=olympe.dc.Request.C.no,ol=olympe.dc.Request.C.Mt;
1437
1438
  function pl(a,b){const c=b.ja();null===a.D&&(a.D=new olympe.oa.Nt(6E4),kb(a.D,(f,g)=>{a.applyTransaction(g,!1).catch(k=>{a.V.error(`Error occurred when applying burst transaction ${f} to the data source: ${k}`)})}),lb(a.D,()=>{a.D=null}));let d;const e=null!=(d=a.D.get(c))?d:new olympe.dc.db.Rf(c);b.Wf(e);ib(a.D.C,c)||a.D.set(c,e)}
1438
1439
  function ql(a,b){const c=b.ja();let d,e;const f=null!=(e=null==(d=a.D)?void 0:d.get(c))?e:new olympe.dc.db.Rf(c);let g;null==(g=a.D)||g.delete(c);b.Wf(f);return a.applyTransaction(f,!1).catch(k=>{a.V.error(`Error occurred when applying burst transaction ${c} to the data source: ${k}`)})}function rl(a,b){const c=rxjs.defer(()=>a.C.executeQuery(b));return 0<a.W?rxjs.interval(a.W).pipe(rxjs.operators.switchMap(()=>c)):c}
1439
- olympe.dc.sources.rJ=class{constructor(a,b){this.V=a;this.C=b;this.kf=null;this.T=olympe.dc.query.yA();this.R=olympe.dc.iN();this.O=new olympe.j.ee('Context of source '+this.ja());let c;this.W=null!=(c=b.yo(olympe.dc.sources.pa.SC))?c:-1;this.D=null}ja(){return this.C.ja()}init(a){this.kf=a;if(this.ja()===olympe.dc.Jc.SELF)return this;(new Promise((b,c)=>{let d=!0;sl(this.C,this.O).subscribe(rxjs.Subscriber.create(e=>{if(this.V.C()){this.V.debug(`Data source ${this.C.name()} has loaded ${e.size()} data types in its cache:`);
1440
+ olympe.dc.sources.rJ=class{constructor(a,b){this.V=a;this.C=b;this.kf=null;this.T=olympe.dc.query.yA();this.R=olympe.dc.iN();this.O=new olympe.j.ee('Context of source '+this.ja());let c;this.W=null!=(c=b.yo(olympe.dc.sources.pa.TC))?c:-1;this.D=null}ja(){return this.C.ja()}init(a){this.kf=a;if(this.ja()===olympe.dc.Jc.SELF)return this;(new Promise((b,c)=>{let d=!0;sl(this.C,this.O).subscribe(rxjs.Subscriber.create(e=>{if(this.V.C()){this.V.debug(`Data source ${this.C.name()} has loaded ${e.size()} data types in its cache:`);
1440
1441
  for(const [f,g]of e)this.V.debug(`=> DataType: ${g.name()} (${f})`)}d&&(d=!1,b())},c))})).then(()=>this.C.init(this.O)).catch(b=>{this.V.error(`Error while initialization of DataSource ${this.C.name()} (${this.ja()}): ${b}`)});return this}healthCheck(){return this.C.healthCheck().then(()=>`Data source ${this.C.name()} (${this.C.ja()}) OK`)}destroy(){this.O.destroy();return this.C.destroy()}da(a){const b=a.Pe();var c=a.getType();switch(c){case fl:const d=olympe.dm.DataSource.Vf.we,e=olympe.dm.DataSource.Vf.Dt;
1441
1442
  return this.C.healthCheck().then(()=>({s:e})).catch(g=>({s:d,r:String(g)}));case gl:return this.C.executeQuery(b);case ll:return c=b.Zf(),pl(this,c),this.R.lh(ph(c)),Promise.resolve();case nl:case ol:const f=b.Zf();return this.applyTransaction(f,c===ol).finally(()=>{if(a.origin===olympe.dc.Jc.SELF){var g=f.ja();g=th(new olympe.dc.Request(olympe.dc.Request.C.Ry,olympe.dc.Jc.SELF,{id:g,finalize:olympe.dc.transaction.po.C.Yv,error:null}),this.ja());let k;null==(k=this.kf)||k.ai(g)}});case ml:return ql(this,
1442
1443
  b.Zf());case il:return b.content instanceof Uint8Array?this.C.uploadFileContent(b.tag,b.model,b.content).then(()=>`datasource://${b.tag}`):Promise.reject('File content is undefined');case jl:return this.C.downloadFileContent(b.tag,b.model);case kl:return this.C.deleteFileContent(b.tag,b.model);default:return Promise.reject(`Request of type ${a.getType()} is not supported by the data source`)}}subscribe(a){if(a.getType()===hl){const b=a.Pe();a=a.origin;return a===olympe.dc.Jc.SELF?rl(this,b):qk(this.T,
@@ -1447,32 +1448,32 @@ olympe.dc.sources.KB=class{constructor(a,b){this.V=a;this.D=b;this.kf=null}ja(){
1447
1448
  a.getType(),t=a.Yf();if(xd(b.D)){r===d&&(c=a.Pe(),(g=vh(a).get(olympe.dc.nb.C.GB))&&(yield yl(p,c.ja(),g)),b.V.debug(`Data Provider: Query ${c.ja()} will be executed with its default Remote or Server provider`));if(r===m&&(m=a.Pe(),'string'===typeof(null==m?void 0:m.url)&&m.url.startsWith('offline://')))return p.downloadFileContent(m.tag);m=yield b.W(a);if(r===d){const u=a.Pe();d=m;const v=new olympe.dc.db.Rf(`fullResult_${u.ja()}`);m=d.pipeThrough(new TransformStream({transform:(w,x)=>q(function*(){const y=
1448
1449
  w.Zf();yield zl(p,y);y.Wf(v);b.V.C()&&b.V.debug(`Data Provider: Data result for query ${u.ja()}`,y.je.size,'instances',Array.from(y.Xh()).length,'relations');x.enqueue(w)}),flush:()=>q(function*(){yield Al(p,u.ja(),t,v,!0)})}))}else if(r===e||r===f||r===k)b.V.debug('Data Provider: Persisting graph patch in offline cache after successful transaction'),yield Bl(p,null,t,a.Pe().Zf(),!1);return m}b.V.debug(`Data Provider: Request (type: ${r}) will be sent to the cache data provider: ${a.Pe()}`);switch(r){case c:return{s:olympe.dm.DataSource.Vf.jk};
1449
1450
  case d:return p.executeQuery(a.Pe());case e:case f:case k:d=a.Pe();const u=d.Zf().ja();return p.applyTransaction(d,t).finally(()=>xl(b,u));case g:return Promise.resolve();case l:return d=a.Pe(),p.uploadFileContent(d.tag,d.content,d.mimeType);case m:return p.downloadFileContent(a.Pe().tag);case n:return p.deleteFileContent(a.Pe().tag);default:return Promise.reject(`Messages of type ${a.getType()} is not supported by the source ${b.ja()}`)}})}subscribe(a,b){if(!this.D.D)return this.$(a,b);const c=olympe.dc.sources.Ej(),
1450
- d=a.Pe(),e=a.Yf();return rxjs.of(null).pipe(rxjs.operators.switchMap(()=>{if(xd(this.D)){const f=new rxjs.Observable(k=>{olympe.j.QO([this.D.Io()],()=>{k.error(new olympe.Y.errors.fH('Go Offline',d.ja()))})}),g=this.$(a,b);return rxjs.merge(f,g)}return new rxjs.Observable(f=>{olympe.j.QO([this.D.Io()],()=>{f.error(new olympe.Y.errors.MF('Back Online',d.ja()))})})})).pipe(rxjs.operators.switchMap(f=>rxjs.from(Bl(c,d.ja(),e,f.Zf()).then(()=>f).catch(g=>{this.V.error(`Data Provider: Cache database failed to handle the data result with message: ${g}`);
1451
+ d=a.Pe(),e=a.Yf();return rxjs.of(null).pipe(rxjs.operators.switchMap(()=>{if(xd(this.D)){const f=new rxjs.Observable(k=>{olympe.j.QO([this.D.Io()],()=>{k.error(new olympe.Y.errors.fH('Go Offline',d.ja()))})}),g=this.$(a,b);return rxjs.merge(f,g)}return new rxjs.Observable(f=>{olympe.j.QO([this.D.Io()],()=>{f.error(new olympe.Y.errors.NF('Back Online',d.ja()))})})})).pipe(rxjs.operators.switchMap(f=>rxjs.from(Bl(c,d.ja(),e,f.Zf()).then(()=>f).catch(g=>{this.V.error(`Data Provider: Cache database failed to handle the data result with message: ${g}`);
1451
1452
  throw g;}))))}};olympe.dc.sources.KB.Aa=[olympe.dc.sources.Ly];const Cl=olympe.dc.Request.C.Vf,Dl=olympe.dc.Request.C.Ct,El=olympe.dc.Request.C.zz,Fl=olympe.dc.Request.C.no,Gl=olympe.dc.Request.C.Mt,Hl=olympe.dc.Request.C.wv,Il=olympe.dc.Request.C.xv,Jl=olympe.dc.Request.C.Hr,Kl=olympe.dc.Request.C.Zq,Ll=olympe.dc.Request.C.Yq;function Ml(a,b){let c;return(null==(c=a.za.Sd(b))?void 0:c.yo(olympe.dc.sources.pa.am))!==olympe.dm.DataSource.am.lH}
1452
- function Nl(a,b){let c;return(null==(c=a.za.Sd(b))?void 0:c.yo(olympe.dc.sources.pa.am))!==olympe.dm.DataSource.am.HF}function Ol(a,b){b=b.Lg();if(b!==olympe.dm.User.C&&a.yo(olympe.dc.sources.pa.ZC))throw a=`User ${b} has no right to access the restricted data source ${a.name()} (${a.ja()}). Please use an admin account instead.`,new olympe.dc.sources.RT(a);}
1453
+ function Nl(a,b){let c;return(null==(c=a.za.Sd(b))?void 0:c.yo(olympe.dc.sources.pa.am))!==olympe.dm.DataSource.am.IF}function Ol(a,b){b=b.Lg();if(b!==olympe.dm.User.C&&a.yo(olympe.dc.sources.pa.$C))throw a=`User ${b} has no right to access the restricted data source ${a.name()} (${a.ja()}). Please use an admin account instead.`,new olympe.dc.sources.RT(a);}
1453
1454
  function Pl(a,b,c,d,e){return q(function*(){var f=olympe.Y.pd.C.SEND,g=olympe.Y.pd.C.GET;const k=olympe.Y.pd.C.PUBLISH,l=olympe.Y.pd.C.SUBSCRIBE,m=d.UO();var n=d.body();if(e!==n.Lg())throw Error('Access denied: try to impersonate a user');Ol(c,n);let p;if(null==(p=a.kf)||!p.sources.has(n.Yf()))throw Error(`Try to process a message with destination data source ${n.Yf()} coming from remote but not started here`);if(m===l){if(n.getType()===El)f=n.Pe().ja();else throw Error('Not supported type of subscription');
1454
- g=yield d.jE(f);a.ca.set(g,f);g=a.T.get(f);g||(g=new Ql(a.V,f,b,th(n,olympe.dc.Jc.Rp)),a.T.set(f,g));g.subscribe()}else m===g?(n=yield oh(b,n),void 0!==n?yield d.ai(n):a.V.warn(`Request from ${d.source()} requires an output value, but got undefined instead.`)):m===f?(yield oh(b,n),yield d.nM()):m===k&&(yield oh(b,n))})}
1455
+ g=yield d.kE(f);a.ca.set(g,f);g=a.T.get(f);g||(g=new Ql(a.V,f,b,th(n,olympe.dc.Jc.Rp)),a.T.set(f,g));g.subscribe()}else m===g?(n=yield oh(b,n),void 0!==n?yield d.ai(n):a.V.warn(`Request from ${d.source()} requires an output value, but got undefined instead.`)):m===f?(yield oh(b,n),yield d.nM()):m===k&&(yield oh(b,n))})}
1455
1456
  olympe.dc.sources.CK=class extends olympe.dc.sources.KB{constructor(a,b,c,d,e,f){super(a,d);this.R=b;this.C=c;this.db=e;this.O=new olympe.j.ee('Remote Provider Context');this.ma=new Map;this.T=new Map;this.ca=new Map;this.za=f}ja(){return olympe.dc.Jc.Rp}W(a){var b=olympe.Y.de;const c=a.Yf(),d=a.getType();this.V.C()&&this.V.debug(`Request (type: ${d}) will be sent to remote data provider ${c}: ${a.Pe()}`);switch(d){case Cl:const e=olympe.dm.DataSource.Vf.we,f=olympe.dm.DataSource.Vf.Dt;b=Ml(this,
1456
1457
  c)?b.get(c,a):Promise.resolve({s:f});a=Nl(this,c)?this.C.jh(a):Promise.resolve({s:f});return Promise.all([b,a]).then(([l,m])=>{if((null==l?void 0:l.s)===e||(null==m?void 0:m.s)===e){let n,p;return{s:e,r:`${null!=(n=null==l?void 0:l.r)?n:''} ${null!=(p=null==m?void 0:m.r)?p:''}`}}return{s:f}});case Dl:return Nl(this,c)?cl(this.C,a):b.get(c,a);case Fl:const g=a.Pe().Zf().ja();return(Ml(this,c)?b.get(c,a):dl(this.C,a)).finally(()=>xl(this,g));case Gl:const k=a.Pe().Zf().ja();return(Nl(this,c)?dl(this.C,
1457
1458
  a):b.get(c,a)).finally(()=>xl(this,k));case Hl:return Ml(this,c)?b.publish(c,a).catch(l=>{this.V.error(`An error occurred while sending "burst transaction" to the data source ${c}: ${l}`)}):Promise.resolve();case Il:return Ml(this,c)?b.get(c,a):dl(this.C,a);case Jl:return Nl(this,c)?this.C.uploadFileContent(a):b.get(c,a);case Kl:return Nl(this,c)?this.C.downloadFileContent(a):b.get(c,a);case Ll:return Nl(this,c)?this.C.deleteFileContent(a):b.send(c,a);default:return Promise.reject(`Messages of type ${a.getType()} is not supported by the source ${this.ja()}`)}}$(a,
1458
1459
  b){const c=a.Yf(),d=a.getType();if(!Ml(this,c))return rxjs.throwError(()=>Error(`Subscription request not supported for data source ${this.db.name(c)} (${c}) which uses HTTP only.`));this.V.C()&&this.V.debug(`Subscription (type: ${d}) will be sent to remote data provider ${c}: ${a.Pe()}`);return d===El?olympe.Y.de.observe(c,this.O,a,{onRetry:b}):rxjs.throwError(()=>Error(`Do not handle subscription request of type ${d}`))}init(a){super.init(a);if(a.O)return this;olympe.dc.nb.from(this.R,this.R).oc(olympe.dm.DataSource.qx).filter(olympe.dc.query.Yb.Rb(olympe.dm.DataSource.Yt,
1459
1460
  !0)).filter(olympe.dc.query.Yb.Rb(olympe.dm.DataSource.DM,!0)).observe(this.O).subscribe(b=>{b.lu().forEach(this.Ha.bind(this,a));b.uu().forEach(c=>{let d;null==(d=this.ma.get(c))||d.destroy();this.ma.delete(c)})});this.db.Ac(this.R,olympe.dm.DataSource.DM)&&(new olympe.Y.de(this.R,this.O)).Bu().subscribe(b=>{b=b.body();b instanceof olympe.dc.Request?a.ai(b):this.V.error('Self source received something else than a data request, ignore it.')});return this}destroy(){return q(function*(){})}Ha(a,b){const c=
1460
- b.ka(),d=new olympe.j.ee(`Published data provider context ${c}`,this.O);this.ma.set(c,d);let e,f;Rl(b,d).subscribe(g=>{let k;null==(k=e)||k();let l;null==(l=f)||l.stop();g!==olympe.dm.DataSource.am.HF&&(e=al(this.C,c,m=>{Ol(b,m);return oh(a,m)}),d.onDestroy(()=>{let m;return null==(m=e)?void 0:m()}));g!==olympe.dm.DataSource.am.lH&&(g=new olympe.j.ee(`Bus Service of data source ${c}`,d),f=(new olympe.Y.de(c,g)).wP(this.Pa.bind(this)),f.Bu().subscribe(m=>{m.qv().then(n=>Pl(this,a,b,m,n)).catch(n=>
1461
+ b.ka(),d=new olympe.j.ee(`Published data provider context ${c}`,this.O);this.ma.set(c,d);let e,f;Rl(b,d).subscribe(g=>{let k;null==(k=e)||k();let l;null==(l=f)||l.stop();g!==olympe.dm.DataSource.am.IF&&(e=al(this.C,c,m=>{Ol(b,m);return oh(a,m)}),d.onDestroy(()=>{let m;return null==(m=e)?void 0:m()}));g!==olympe.dm.DataSource.am.lH&&(g=new olympe.j.ee(`Bus Service of data source ${c}`,d),f=(new olympe.Y.de(c,g)).wP(this.Pa.bind(this)),f.Bu().subscribe(m=>{m.qv().then(n=>Pl(this,a,b,m,n)).catch(n=>
1461
1462
  {this.V.warn(`Error occurred while processing request from ${m.source()}: ${n}`);return m.gu(n instanceof Error?n:Error(n))})}))})}Pa(a){const b=this.ca.get(a);this.ca.delete(a);if(a=b)null==(a=this.T.get(b))?a=0:(0<a.C&&--a.C,0===a.C?(a.V.debug(`Data subscription ${a.D} has more subscriber: unsubscribe`),a.O.unsubscribe(),a=!0):(a.V.debug(`Data subscription ${a.D} has ${a.C} subscribers`),a=!1));a&&this.T.delete(b)}};
1462
- class Ql{constructor(a,b,c,d){this.V=a;this.D=b;this.C=0;this.O=c.subscribe(d).subscribe({next:e=>{olympe.Y.de.publish(b,e).catch(f=>a.error(`Error occurred while publishing a data notification: ${f}`))},error:e=>a.error(`Error occurred while trying to subscribe to topic ${b} for a datasource: ${e}`)})}subscribe(){this.C++;this.V.debug(`Data subscription ${this.D} has ${this.C} subscribers`);return this}}olympe.dc.sources.CK.Aa=[olympe.dc.sources.Ly];const Sl={gM:10,VF:11,LG:12,kK:13,QUERY_RESULT:14,dH:15,nG:16,no:17,lK:18,mG:19,gw:20};function Tl(a,b){const c=new olympe.dc.transaction.Xk,d=new olympe.dc.transaction.Xk;b.forEach(e=>{const f=new Map(Array.from(Object.entries(e.p).map(([k,l])=>[k,a.C(l)]))),g=e.v?d:c;g.yf(e.t,e.s,f,e.m);e.r.forEach(k=>g.Qb(k.r,k.o,k.d))});a.ca.lh(yh(zh(d),olympe.dc.Jc.SELF),{persist:!1});a.ca.lh(yh(zh(c),olympe.dc.Jc.SELF))}
1463
- olympe.dc.sources.Mf=class extends olympe.Y.Mf{constructor(a){super();this.ca=a;this.db=a.view;this.O=new Map}fb(a){a=super.fb(a);if(0<this.O.size){const b=Array.from(this.O.values());this.O.clear();return Object.assign(Ge(Sl.gM,a),{i:b})}return a}W(a){return(null==a?void 0:a.t)===Sl.gM&&Array.isArray(null==a?void 0:a.i)?(Tl(this,a.i),this.C(a.v)):this.C(a)}D(a){switch(!0){case a instanceof olympe.dm.File:var b=Sl.LG;{const c=a.ka(),d={t:c};if(!this.O.has(c)&&(this.R(c),!this.db.Bl(c))){const e=a.get(olympe.dm.File.urlProp);
1464
- if(e.startsWith('blob:')||e.startsWith('stream:'))a=olympe.dc.rN().Pa(a),this.O.get(c).p[olympe.dm.File.urlProp.ka()]='stream://'+c,d.s=this.D(a)}a=d}return Ge(b,a);case a instanceof olympe.dc.CloudObject:return Ge(Sl.VF,this.R(a.ka()));case a instanceof olympe.dc.nb:return Ge(Sl.kK,a.fb());case a instanceof olympe.dc.xc:return Ge(Sl.QUERY_RESULT,a.fb(this.R.bind(this)));case a instanceof olympe.dc.db.Rf:return b=new olympe.dc.transaction.Xk,a.Wf(b),Ge(Sl.dH,{i:a.ja(),p:zh(b)});case a instanceof olympe.dc.Request:return Ge(Sl.nG,
1465
- {r:a.getType(),o:a.origin,d:a.Yf(),u:a.Lg(),c:this.D(a.Pe())});case a instanceof olympe.dc.transaction.rw:return Ge(Sl.no,{r:a.fs(),p:this.D(a.Zf())});case a instanceof olympe.dc.query.vi:return Ge(Sl.lK,a.fb());case a instanceof olympe.dc.$q:return Ge(Sl.mG,a.fb());case a instanceof olympe.dc.Kf:return Ge(Sl.gw,this.R(a.ka()));default:return super.D(a)}}C(a){if(null===a||'object'!==typeof a)return super.C(a);const {t:b,v:c}=a;switch(b){case Sl.LG:var d=c.t;c.s&&(a=this.C(c.s),olympe.dc.rN().Oa(d,
1466
- a));return olympe.dc.CloudObject.get(d);case Sl.VF:return olympe.dc.CloudObject.get(c);case Sl.kK:return d=c.p.map(olympe.dc.query.wb.UC.C),a=c.e,new olympe.dc.nb(c.b,c.s,d,d.length-1,new Set(c.r),{max:a.m,offset:a.o,Mi:a.s,Hl:a.rm});case Sl.QUERY_RESULT:return Ck(c);case Sl.dH:return(new olympe.dc.transaction.cw).C(c.p,c.i);case Sl.nG:return a=null!=(d=this.C(c.c))?d:void 0,th(new olympe.dc.Request(c.r,c.d,a,c.u),c.o);case Sl.no:return d=this.C(c.p),new olympe.dc.transaction.rw(d,c.r);case Sl.lK:return olympe.dc.query.vi.C(c);
1467
- case Sl.mG:return olympe.dc.$q.C(c);case Sl.gw:return new olympe.dc.Kf(c);default:return super.C(a)}}R(a){if(this.O.has(a))return a;if(!this.db.tc(a))throw new olympe.dc.WJ(a);const b={};this.db.be(a).forEach((d,e)=>{b[e]=this.D(d)});var c=[];for(const [d,e,f]of cj(this.db,a))this.O.has(f)&&c.push(e===olympe.dc.Ib.DESTINATION?{r:d,o:a,d:f}:{r:d,o:f,d:a});c={t:a,m:this.db.model(a),s:this.db.source(a),p:b,r:c};this.db.Bl(a)||(c.v=!0);this.O.set(a,c);return a}};const Ul=olympe.dc.Request.C.cr,Vl=olympe.dc.Request.C.no,Wl=olympe.dc.Request.C.Mt,Xl=olympe.dc.Request.C.wv,Yl=olympe.dc.Request.C.zF,Zl=olympe.dc.Request.C.tK,$l=olympe.dc.Request.C.Ct,am=olympe.dc.Request.C.zz,bm=olympe.dc.Request.C.cH,cm=olympe.dc.Request.C.TQ,dm=olympe.dc.Request.C.UQ,em=olympe.dc.Request.C.VQ,fm=olympe.dc.Request.C.Yq,gm=olympe.dc.Request.C.Zq,hm=olympe.dc.Request.C.Hr,im=olympe.dc.Request.C.Ry,jm=olympe.dc.Request.C.GU,km=olympe.dc.Request.C.KT,lm=olympe.dc.Request.C.YG,mm=
1463
+ class Ql{constructor(a,b,c,d){this.V=a;this.D=b;this.C=0;this.O=c.subscribe(d).subscribe({next:e=>{olympe.Y.de.publish(b,e).catch(f=>a.error(`Error occurred while publishing a data notification: ${f}`))},error:e=>a.error(`Error occurred while trying to subscribe to topic ${b} for a datasource: ${e}`)})}subscribe(){this.C++;this.V.debug(`Data subscription ${this.D} has ${this.C} subscribers`);return this}}olympe.dc.sources.CK.Aa=[olympe.dc.sources.Ly];const Sl={gM:10,WF:11,MG:12,kK:13,QUERY_RESULT:14,dH:15,oG:16,no:17,lK:18,nG:19,gw:20};function Tl(a,b){const c=new olympe.dc.transaction.Xk,d=new olympe.dc.transaction.Xk;b.forEach(e=>{const f=new Map(Array.from(Object.entries(e.p).map(([k,l])=>[k,a.C(l)]))),g=e.v?d:c;g.yf(e.t,e.s,f,e.m);e.r.forEach(k=>g.Qb(k.r,k.o,k.d))});a.ca.lh(yh(zh(d),olympe.dc.Jc.SELF),{persist:!1});a.ca.lh(yh(zh(c),olympe.dc.Jc.SELF))}
1464
+ olympe.dc.sources.Mf=class extends olympe.Y.Mf{constructor(a){super();this.ca=a;this.db=a.view;this.O=new Map}fb(a){a=super.fb(a);if(0<this.O.size){const b=Array.from(this.O.values());this.O.clear();return Object.assign(Ge(Sl.gM,a),{i:b})}return a}W(a){return(null==a?void 0:a.t)===Sl.gM&&Array.isArray(null==a?void 0:a.i)?(Tl(this,a.i),this.C(a.v)):this.C(a)}D(a){switch(!0){case a instanceof olympe.dm.File:var b=Sl.MG;{const c=a.ka(),d={t:c};if(!this.O.has(c)&&(this.R(c),!this.db.Bl(c))){const e=a.get(olympe.dm.File.urlProp);
1465
+ if(e.startsWith('blob:')||e.startsWith('stream:'))a=olympe.dc.rN().Pa(a),this.O.get(c).p[olympe.dm.File.urlProp.ka()]='stream://'+c,d.s=this.D(a)}a=d}return Ge(b,a);case a instanceof olympe.dc.CloudObject:return Ge(Sl.WF,this.R(a.ka()));case a instanceof olympe.dc.nb:return Ge(Sl.kK,a.fb());case a instanceof olympe.dc.xc:return Ge(Sl.QUERY_RESULT,a.fb(this.R.bind(this)));case a instanceof olympe.dc.db.Rf:return b=new olympe.dc.transaction.Xk,a.Wf(b),Ge(Sl.dH,{i:a.ja(),p:zh(b)});case a instanceof olympe.dc.Request:return Ge(Sl.oG,
1466
+ {r:a.getType(),o:a.origin,d:a.Yf(),u:a.Lg(),c:this.D(a.Pe())});case a instanceof olympe.dc.transaction.rw:return Ge(Sl.no,{r:a.fs(),p:this.D(a.Zf())});case a instanceof olympe.dc.query.vi:return Ge(Sl.lK,a.fb());case a instanceof olympe.dc.$q:return Ge(Sl.nG,a.fb());case a instanceof olympe.dc.Kf:return Ge(Sl.gw,this.R(a.ka()));default:return super.D(a)}}C(a){if(null===a||'object'!==typeof a)return super.C(a);const {t:b,v:c}=a;switch(b){case Sl.MG:var d=c.t;c.s&&(a=this.C(c.s),olympe.dc.rN().Oa(d,
1467
+ a));return olympe.dc.CloudObject.get(d);case Sl.WF:return olympe.dc.CloudObject.get(c);case Sl.kK:return d=c.p.map(olympe.dc.query.vb.VC.C),a=c.e,new olympe.dc.nb(c.b,c.s,d,d.length-1,new Set(c.r),{max:a.m,offset:a.o,Mi:a.s,Hl:a.rm});case Sl.QUERY_RESULT:return Ck(c);case Sl.dH:return(new olympe.dc.transaction.cw).C(c.p,c.i);case Sl.oG:return a=null!=(d=this.C(c.c))?d:void 0,th(new olympe.dc.Request(c.r,c.d,a,c.u),c.o);case Sl.no:return d=this.C(c.p),new olympe.dc.transaction.rw(d,c.r);case Sl.lK:return olympe.dc.query.vi.C(c);
1468
+ case Sl.nG:return olympe.dc.$q.C(c);case Sl.gw:return new olympe.dc.Kf(c);default:return super.C(a)}}R(a){if(this.O.has(a))return a;if(!this.db.tc(a))throw new olympe.dc.WJ(a);const b={};this.db.be(a).forEach((d,e)=>{b[e]=this.D(d)});var c=[];for(const [d,e,f]of cj(this.db,a))this.O.has(f)&&c.push(e===olympe.dc.Ib.DESTINATION?{r:d,o:a,d:f}:{r:d,o:f,d:a});c={t:a,m:this.db.model(a),s:this.db.source(a),p:b,r:c};this.db.Bl(a)||(c.v=!0);this.O.set(a,c);return a}};const Ul=olympe.dc.Request.C.cr,Vl=olympe.dc.Request.C.no,Wl=olympe.dc.Request.C.Mt,Xl=olympe.dc.Request.C.wv,Yl=olympe.dc.Request.C.AF,Zl=olympe.dc.Request.C.tK,$l=olympe.dc.Request.C.Ct,am=olympe.dc.Request.C.zz,bm=olympe.dc.Request.C.cH,cm=olympe.dc.Request.C.TQ,dm=olympe.dc.Request.C.UQ,em=olympe.dc.Request.C.VQ,fm=olympe.dc.Request.C.Yq,gm=olympe.dc.Request.C.Zq,hm=olympe.dc.Request.C.Hr,im=olympe.dc.Request.C.Ry,jm=olympe.dc.Request.C.GU,km=olympe.dc.Request.C.KT,lm=olympe.dc.Request.C.YG,mm=
1468
1469
  olympe.dc.Request.C.xv,nm=olympe.dc.Request.C.gQ,om=olympe.dc.Request.C.Vf;function pm(a){return qm(a,olympe.dc.Request.C.cr).then(b=>{b=b.data.p;const c=yh(b,a.ja());a.V.C()&&a.V.debug('< Get Context result',b);a.V.T()&&a.V.log('< Get Context result has',b.length,'operations');return c})}function rm(a,b){const c=new olympe.dc.transaction.Xk({mk:!1,bu:!1}),d=b.Zf(),e=b.C;d.Wf(c);return sm(a,Vl,{i:d.ja(),r:b.fs(),p:zh(c),bd:e?!0:void 0}).then(f=>f.ct)}
1469
1470
  function tm(a,b){const c=b.Zf(),d=new olympe.dc.transaction.Xk({XA:!0,mk:!1,bu:!1});c.Wf(d);b=b.C?'bd=true':'';return qm(a,Wl,zh(d),b,olympe.Fa.Rc.ResponseType.Lz).then(e=>{try{let f;return null!=(f=JSON.parse(e.data).ct)?f:Date.now()}catch(f){return Date.now()}}).finally(()=>{um(a,im,{id:c.ja(),finalize:olympe.dc.transaction.po.C.Yv})})}
1470
1471
  function vm(a,b){const c=new olympe.dc.transaction.Xk({mk:!1,bu:!1}),d=b.Zf();d.Wf(c);return sm(a,Xl,{i:d.ja(),r:b.fs(),p:zh(c)},!1).catch(e=>a.V.error(`Error while publishing burst transaction: ${e}`))}function wm(a,b){const c=new olympe.dc.transaction.Xk({mk:!1,bu:!1});b=b.Zf();b.Wf(c);return sm(a,mm,{i:b.ja(),p:zh(c)}).then(d=>d.ct)}
1471
1472
  function xm(a,b){const c=encodeURI(eb(olympe.oa.Dj(),JSON.stringify(ym(a,b))));a.V.C()&&a.V.debug(`Static GraphDef query ${b} sent to orchestrator`);return qm(a,$l,void 0,`query=${c}&v=${a.version}`,olympe.Fa.Rc.ResponseType.el).then(d=>zm(a,d))}function Am(a,b){const c=b.ja();a.V.C()&&a.V.debug(`Query (${c}) sent to orchestrator: ${b}`);const d=ym(a,b);return a.za.C(()=>qm(a,bm,d,void 0,olympe.Fa.Rc.ResponseType.el)).then(e=>zm(a,e))}
1472
- function Bm(a,b){if(!ie(a.Na))return a.V.error(`Server is disconnected, backup of instance ${b} is canceled.`),Promise.reject('Server is disconnected');b=ym(a,olympe.dc.nb.from(b));b.f=olympe.dc.Te.tG;b=bd(a.C.le(olympe.dc.Jc.SERVER,Yl),olympe.Fa.Rc.gk.Pp,JSON.stringify(b),olympe.Fa.Rc.ResponseType.Pt);cd(b,{[olympe.Fa.Rc.Headers.Ey]:olympe.Fa.Rc.eG.JSON});return bl(a.C,b).then(c=>c.data)}
1473
- function Cm(a,b,c,d){if(!ie(a.Na))return a.V.error('Server is disconnected, restore of instance is canceled.'),Promise.reject('Server is disconnected');const e=a.C.le(olympe.dc.Jc.SERVER,Zl);b=bd(e+`?debug=${c}&optional=${d}`,olympe.Fa.Rc.gk.Pp,b);cd(b,{[olympe.Fa.Rc.Headers.Ey]:olympe.Fa.Rc.eG.dV});return bl(a.C,b).then(f=>f.data)}
1473
+ function Bm(a,b){if(!ie(a.Na))return a.V.error(`Server is disconnected, backup of instance ${b} is canceled.`),Promise.reject('Server is disconnected');b=ym(a,olympe.dc.nb.from(b));b.f=olympe.dc.Te.uG;b=bd(a.C.le(olympe.dc.Jc.SERVER,Yl),olympe.Fa.Rc.gk.Pp,JSON.stringify(b),olympe.Fa.Rc.ResponseType.Pt);cd(b,{[olympe.Fa.Rc.Headers.Ey]:olympe.Fa.Rc.fG.JSON});return bl(a.C,b).then(c=>c.data)}
1474
+ function Cm(a,b,c,d){if(!ie(a.Na))return a.V.error('Server is disconnected, restore of instance is canceled.'),Promise.reject('Server is disconnected');const e=a.C.le(olympe.dc.Jc.SERVER,Zl);b=bd(e+`?debug=${c}&optional=${d}`,olympe.Fa.Rc.gk.Pp,b);cd(b,{[olympe.Fa.Rc.Headers.Ey]:olympe.Fa.Rc.fG.dV});return bl(a.C,b).then(f=>f.data)}
1474
1475
  function sm(a,b,c,d=!0){const e=olympe.Y.xj.Xq,f={c:b};Object.assign(f,c);if(d)return new Promise((g,k)=>{le(a.Na,e,f,(l,m)=>{l?k(l):g(m)})});le(a.Na,e,f);return Promise.resolve()}
1475
- function ym(a,b){var c=Wj(b);b={i:b.ja(),b:[b.D],m:!0,v:!0};if(c[0]instanceof olympe.dc.query.wb.ph)Object.assign(b,{f:c[0].af,q:[]});else{const d=(k,l)=>{k.every(m=>!m.Rb(l))&&k.push(l);return k},e=new Map;for(let k=c.length-1;0<=k;k--){const l=c[k],m=l.C;let n;const p=d(null!=(n=e.get(m))?n:[],l);if(l instanceof olympe.dc.query.wb.Mk&&l.O){let r;null==(r=e.get(l.ja()))||r.forEach(t=>d(p,t))}e.set(m,p)}let f,g;c=null!=(g=e.get(null==(f=c[0])?void 0:f.C))?g:[];Object.assign(b,{f:olympe.dc.Te.NONE,
1476
+ function ym(a,b){var c=Wj(b);b={i:b.ja(),b:[b.D],m:!0,v:!0};if(c[0]instanceof olympe.dc.query.vb.ph)Object.assign(b,{f:c[0].af,q:[]});else{const d=(k,l)=>{k.every(m=>!m.Rb(l))&&k.push(l);return k},e=new Map;for(let k=c.length-1;0<=k;k--){const l=c[k],m=l.C;let n;const p=d(null!=(n=e.get(m))?n:[],l);if(l instanceof olympe.dc.query.vb.Mk&&l.O){let r;null==(r=e.get(l.ja()))||r.forEach(t=>d(p,t))}e.set(m,p)}let f,g;c=null!=(g=e.get(null==(f=c[0])?void 0:f.C))?g:[];Object.assign(b,{f:olympe.dc.Te.NONE,
1476
1477
  q:c.map(a.ca.bind(a,e))})}return b}function um(a,b,c){b=th(new olympe.dc.Request(b,olympe.dc.Jc.SELF,c),a.ja());let d;null==(d=a.kf)||d.ai(b)}
1477
1478
  function qm(a,b,c,d,e){const f=a.C.le(a.ja(),b);if('string'!==typeof f)return Promise.reject(`ServerProvider: no url for type ${b}`);b=bd(`${f}${'string'===typeof d&&0<d.length?`?${d}`:''}`,void 0!==c?olympe.Fa.Rc.gk.Pp:olympe.Fa.Rc.gk.GET,c&&JSON.stringify(c));cd(b,{[olympe.Fa.Rc.Headers.Ey]:'application/json'});ed(b,null!=e?e:olympe.Fa.Rc.ResponseType.JSON);return bl(a.C,b)}
1478
1479
  function zm(a,b){return q(function*(){const c=b.headers.graphId,d=b.data;let e,f;return(null!=(f=null==(e=a.Pa)?void 0:tb(e,d))?f:olympe.oa.stream.sz.transform(b.data)).pipeThrough(new TransformStream({transform:(g,k)=>{a.V.debug(`Received ${g.length} operations for patch ${c}`);k.enqueue(yh(g,a.ja(),null,c))}}))})}
@@ -1480,18 +1481,18 @@ function Dm(a,b,c){return q(function*(){const d=b.pi;let e;if(c instanceof olymp
1480
1481
  olympe.dc.sources.gL=class extends olympe.dc.sources.KB{constructor(a,b,c,d,e,f,g){super(a,c);this.Na=b;this.C=d;this.T=new olympe.dc.transaction.cw(this.ja());this.O=new Map;this.R=new Set;this.version=e||'unknown';this.Pa=g?new olympe.oa.stream.$U:null;this.za=new olympe.oa.promise.kL(f);olympe.j.$a(this.D.Io(),()=>{this.O.forEach((k,l)=>{k.error(new olympe.Y.errors.Zv('Connection to server has been recovered',l))})})}ja(){return olympe.dc.Jc.SERVER}W(a){var b=a.getType();const c=a.Pe(),d=vh(a);
1481
1482
  switch(b){case om:return a=olympe.dm.DataSource.Vf.we,b=olympe.dm.DataSource.Vf.Dt,Promise.resolve(ie(this.Na)?{s:b}:{s:a,r:'Disconnected'});case Ul:return pm(this);case Vl:return rm(this,c);case Wl:return tm(this,c);case Xl:return vm(this,c);case mm:return wm(this,c);case $l:return d.get(olympe.dc.nb.C.DH)?xm(this,c):Am(this,c);case Yl:return Bm(this,c);case Zl:return Cm(this,c.C3,c.debug,c.optional);case jm:case km:case lm:case nm:return sm(this,b,{});case gm:return this.C.downloadFileContent(a);
1482
1483
  case fm:return this.C.deleteFileContent(a);case hm:return this.C.uploadFileContent(a);default:return Promise.reject(`ServerProvider: Message of type ${b} not supported yet`)}}$(a,b){if(a.getType()===am){const c=a.Pe(),d=c.ja();return(new rxjs.Observable(e=>{const f=ym(this,c);this.R.delete(d);this.O.set(d,e);sm(this,cm,f).catch(g=>e.error(g))})).pipe(qb(olympe.Y.errors.Zv,(e,f)=>{this.V.debug(`Subscribe to topic ${e.ja()} now that we are back online, after waiting for ${f}ms`);b()}),rxjs.operators.finalize(()=>
1483
- {this.R.add(d);sm(this,dm,{i:d}).catch(e=>{this.V.warn(`Fail to unsubscribe to graphdef ${d}: ${e}`)}).finally(()=>{this.R.has(d)&&this.O.delete(d);this.R.delete(d)})}))}return rxjs.throwError(()=>Error(`Subscription of type ${a.getType()} is not supported`))}init(a){super.init(a);ge(this.Na,olympe.Y.xj.Xq,this.ma.bind(this));return this}destroy(){return q(function*(){})}ma(a,b){const c=olympe.dc.Request.C.GF,d=olympe.dc.Request.C.KC,e=a.c;if(e===olympe.dc.Request.C.jG)Dm(this,a,b).then(f=>{um(this,
1484
- e,f)});else if(e===c)b=this.T.C(a.p,a.i),b=ph(b,a.ct),um(this,e,{rollback:b,error:a.error});else if(e===em){const f=a.i;Dm(this,a,b).then(g=>{let k;null==(k=this.O.get(f))||k.next(g)})}else e===d&&um(this,im,{id:a.i,finalize:olympe.dc.transaction.po.C.KC,error:0<a.s?a.error:null})}ca(a,b){if(b instanceof olympe.dc.query.wb.Ht){const c=b.relation;let d;b=null!=(d=a.get(b.ja()))?d:[];return{t:c.ka(),d:c.zc()===olympe.dc.Ib.ORIGIN?1:2,v:!0,r:c.recursive,q:b.map(this.ca.bind(this,a))}}return{}}};
1484
+ {this.R.add(d);sm(this,dm,{i:d}).catch(e=>{this.V.warn(`Fail to unsubscribe to graphdef ${d}: ${e}`)}).finally(()=>{this.R.has(d)&&this.O.delete(d);this.R.delete(d)})}))}return rxjs.throwError(()=>Error(`Subscription of type ${a.getType()} is not supported`))}init(a){super.init(a);ge(this.Na,olympe.Y.xj.Xq,this.ma.bind(this));return this}destroy(){return q(function*(){})}ma(a,b){const c=olympe.dc.Request.C.HF,d=olympe.dc.Request.C.LC,e=a.c;if(e===olympe.dc.Request.C.kG)Dm(this,a,b).then(f=>{um(this,
1485
+ e,f)});else if(e===c)b=this.T.C(a.p,a.i),b=ph(b,a.ct),um(this,e,{rollback:b,error:a.error});else if(e===em){const f=a.i;Dm(this,a,b).then(g=>{let k;null==(k=this.O.get(f))||k.next(g)})}else e===d&&um(this,im,{id:a.i,finalize:olympe.dc.transaction.po.C.LC,error:0<a.s?a.error:null})}ca(a,b){if(b instanceof olympe.dc.query.vb.Ht){const c=b.relation;let d;b=null!=(d=a.get(b.ja()))?d:[];return{t:c.ka(),d:c.zc()===olympe.dc.Ib.ORIGIN?1:2,v:!0,r:c.recursive,q:b.map(this.ca.bind(this,a))}}return{}}};
1485
1486
  olympe.dc.sources.gL.Aa=[olympe.dc.sources.Ly];function Em(a,b,c){const d=new olympe.j.ee(`Source solver ${b.ka()}`);b.oc(olympe.dm.ii.O.fe()).oc(olympe.dm.ii.D).Zi().back().oc(olympe.dm.ii.C).Zi().observe(d,{Xg:c,jg:!0}).subscribe(e=>{e.lu().forEach(([f,g])=>{a.D.set(f.ka(),g.ja())});e.uu().forEach(([f])=>{a.D.delete(f)})});b.oc(olympe.dm.fd.O).observe(d,{Xg:c,jg:!0}).subscribe(e=>{let f,g;a.O=null!=(g=null==(f=e.Vd())?void 0:f.ja())?g:null});d.onDestroy(()=>{a.D.clear();a.O=null})}
1486
1487
  olympe.dc.sources.Jz=class{constructor(a,b,c){this.db=a;this.C=b;this.T=c;this.D=new Map;this.O=null;this.R=!1}fromModel(a){a=olympe.dc.Ya(a);return this.D.has(a)?this.D.get(a):this.O&&this.W(a)?this.O:this.T}Em(a){let b;return null!=(b=this.db.source(a))?b:this.T}Sd(a){return a===this.C?olympe.dc.CloudObject.get(this.C):a===olympe.dc.Jc.SERVER?olympe.dc.CloudObject.get(olympe.dm.DataSource.SERVER):this.db.tc(a)&&this.db.me(a,olympe.dm.DataSource)?olympe.dc.CloudObject.get(a):null}W(){return!1}init(){if(!this.R){this.R=
1487
- !0;var a=new olympe.dc.Tc;Z(a.create(olympe.dm.DataSource,this.C).ne(this.C),olympe.dm.DataSource.Yt,!0);a.Qb(olympe.dm.DataSource.qx,this.C,this.C);a.Kd(()=>{olympe.dc.nb.from(this.C).observe(olympe.j.Eo()).subscribe(()=>{})})}}};olympe.dc.sources.ba={Vb:'dc.sources.Logger',kC:'dc.sources.HTTPService',sR:'dc.sources.IOService',rK:'dc.sources.RemoteProvider',LK:'dc.sources.ServerProvider',E0:'dc.sources.OfflineProvider',dl:'dc.sources.SourceSolver',cl:'dc.sources.Serializer',kG:'dc.sources.cache.Cache',lG:'dc.sources.cache.DATABASE',HB:'dc.sources.cache.Logger'};
1488
- olympe.dc.sources.pa={qt:'data.httpHost',Jp:'data.httpPort',Lv:'data.httpSSL',iC:'data.httpBasePath',SC:'data.pollingFrequency',am:'data.communicationMode',ZC:'data.restrictedUse',VERSION:'version.version',bL:'data.streamWorker',VJ:'data.queryConcurrencyLimit'};olympe.dc.sources.tt={wT:'olympe.internal.data.',qt:'olympe.internal.data.httpHost',Jp:'olympe.internal.data.httpPort',Lv:'olympe.internal.data.httpSSL'};
1489
- olympe.sa.$e(function(a){const b=['localhost','127.0.0.1'],c=a.getParameter(olympe.Fa.pa.EC),d=`-${olympe.host.vr.At}`;E(a,olympe.dc.sources.pa.qt,null);E(a,olympe.dc.sources.pa.Jp,null);E(a,olympe.dc.sources.pa.Lv,null);E(a,olympe.dc.sources.pa.iC,'runtime/data');E(a,olympe.dc.sources.pa.bL,!1);E(a,olympe.dc.sources.pa.VJ,10);Xa(a,olympe.dc.sources.tt.qt,[olympe.host.pa.Cz,olympe.Y.pa.Hy,olympe.dc.sources.pa.qt],(e,f,g)=>{if(g)return g;e=e===olympe.host.vr.At;return f.endsWith(c)&&e?f+d:f});Xa(a,
1490
- olympe.dc.sources.tt.Jp,[olympe.dc.sources.tt.qt,olympe.dc.sources.pa.Jp],(e,f)=>{if(f)return f;f=b.includes(e);const g=e.endsWith(d);e=e.endsWith(c);return f?3141:g?85:e?80:443});Xa(a,olympe.dc.sources.tt.Lv,[olympe.dc.sources.tt.Jp,olympe.dc.sources.pa.Lv],(e,f)=>null!==f?f:443===e);E(a,olympe.dc.sources.pa.SC,null);E(a,olympe.dc.sources.pa.am,null);E(a,olympe.dc.sources.pa.ZC,null);C(a,olympe.dc.sources.ba.Vb,[olympe.gb.ba.Ob],e=>e.Vg('data'));B(a,olympe.dc.sources.ba.cl,olympe.dc.sources.Mf,olympe.dc.db.ba.Ob);
1491
- Ua(a,olympe.Y.ba.cl,olympe.dc.sources.ba.cl);B(a,olympe.dc.sources.ba.kC,olympe.dc.sources.cR,olympe.dc.sources.ba.Vb,olympe.Fa.ba.rD,olympe.Y.ba.jC,olympe.xa.ba.Ob,olympe.dc.sources.ba.dl,olympe.Y.ba.cl,new olympe.sa.zb(olympe.Y.pa.CB));B(a,olympe.dc.sources.ba.sR,olympe.dc.sources.CH,olympe.dc.sources.ba.Vb,olympe.dc.ba.tr,olympe.Fa.ba.Ob,olympe.xa.ba.Ob);B(a,olympe.dc.sources.ba.rK,olympe.dc.sources.CK,olympe.dc.sources.ba.Vb,new olympe.sa.zb(olympe.dc.pa.yr),olympe.dc.sources.ba.kC,olympe.Y.ba.bm,
1492
- olympe.dc.ba.Zs,olympe.dc.sources.ba.dl);B(a,olympe.dc.sources.ba.LK,olympe.dc.sources.gL,olympe.dc.sources.ba.Vb,olympe.Y.ba.Jt,olympe.Y.ba.bm,olympe.dc.sources.ba.kC,new olympe.sa.zb(olympe.dc.sources.pa.VERSION),new olympe.sa.zb(olympe.dc.sources.pa.VJ),new olympe.sa.zb(olympe.dc.sources.pa.bL));B(a,olympe.dc.sources.ba.dl,olympe.dc.sources.Jz,olympe.dc.ba.Zs,new olympe.sa.zb(olympe.dc.pa.yr),new olympe.sa.zb(olympe.dc.pa.SB));C(a,olympe.dc.sources.ba.HB,[olympe.gb.ba.Ob],e=>e.Vg('datacache'));
1493
- B(a,olympe.dc.sources.ba.kG,olympe.dc.sources.cache.Cache,olympe.dc.sources.ba.HB,olympe.dc.ba.tr,olympe.dc.sources.ba.lG,olympe.dc.db.ba.Ob,olympe.Fa.ba.Ob,olympe.Y.ba.bm,olympe.Bc.ba.fz,olympe.oa.ba.Uq,new olympe.sa.zb(olympe.Fa.pa.SJ),new olympe.sa.zb(olympe.dc.sources.pa.VERSION));B(a,olympe.dc.sources.ba.lG,olympe.dc.sources.cache.qz,olympe.Bc.ba.Ar,olympe.dc.sources.ba.HB,olympe.Bc.ba.dz)},'olympe.dc.sources');
1494
- olympe.sa.run([olympe.dc.sources.ba.dl,olympe.dc.sources.ba.kG],(a,b)=>{olympe.dc.Kj=()=>a;olympe.dc.sources.Ej=()=>b});olympe.dc.sources.cache={};olympe.dc.sources.cache.errors={};olympe.dc.sources.cache.errors.iD=class extends Error{constructor(a){super(a)}};olympe.dc.sources.cache.errors.rQ=class extends olympe.dc.sources.cache.errors.iD{};olympe.dc.sources.cache.errors.EU=class extends olympe.dc.sources.cache.errors.iD{};olympe.dc.sources.cache.errors.QU=class extends olympe.dc.sources.cache.errors.iD{};function Fm(a){switch(!0){case null===a:case void 0===a:return null;case 'string'===typeof a:case 'boolean'===typeof a:case 'number'===typeof a:return a}switch(a.t){case 1:return new Date(a.d);case 2:return olympe.j.Color.ke(a);case 17:return new olympe.dc.Kf(a.v);case 13:return(new olympe.dc.transaction.cw).C(a.v,a.i);default:throw Error(`Impossible to deserialize the following value: ${a}`);}}
1488
+ !0;var a=new olympe.dc.Tc;Z(a.create(olympe.dm.DataSource,this.C).ne(this.C),olympe.dm.DataSource.Yt,!0);a.Qb(olympe.dm.DataSource.qx,this.C,this.C);a.Kd(()=>{olympe.dc.nb.from(this.C).observe(olympe.j.Eo()).subscribe(()=>{})})}}};olympe.dc.sources.ba={Vb:'dc.sources.Logger',lC:'dc.sources.HTTPService',sR:'dc.sources.IOService',rK:'dc.sources.RemoteProvider',LK:'dc.sources.ServerProvider',E0:'dc.sources.OfflineProvider',dl:'dc.sources.SourceSolver',cl:'dc.sources.Serializer',lG:'dc.sources.cache.Cache',mG:'dc.sources.cache.DATABASE',HB:'dc.sources.cache.Logger'};
1489
+ olympe.dc.sources.pa={qt:'data.httpHost',Jp:'data.httpPort',Lv:'data.httpSSL',jC:'data.httpBasePath',TC:'data.pollingFrequency',am:'data.communicationMode',$C:'data.restrictedUse',VERSION:'version.version',bL:'data.streamWorker',VJ:'data.queryConcurrencyLimit'};olympe.dc.sources.tt={wT:'olympe.internal.data.',qt:'olympe.internal.data.httpHost',Jp:'olympe.internal.data.httpPort',Lv:'olympe.internal.data.httpSSL'};
1490
+ olympe.sa.$e(function(a){const b=['localhost','127.0.0.1'],c=a.getParameter(olympe.Fa.pa.FC),d=`-${olympe.host.vr.At}`;E(a,olympe.dc.sources.pa.qt,null);E(a,olympe.dc.sources.pa.Jp,null);E(a,olympe.dc.sources.pa.Lv,null);E(a,olympe.dc.sources.pa.jC,'runtime/data');E(a,olympe.dc.sources.pa.bL,!1);E(a,olympe.dc.sources.pa.VJ,10);Xa(a,olympe.dc.sources.tt.qt,[olympe.host.pa.Cz,olympe.Y.pa.Hy,olympe.dc.sources.pa.qt],(e,f,g)=>{if(g)return g;e=e===olympe.host.vr.At;return f.endsWith(c)&&e?f+d:f});Xa(a,
1491
+ olympe.dc.sources.tt.Jp,[olympe.dc.sources.tt.qt,olympe.dc.sources.pa.Jp],(e,f)=>{if(f)return f;f=b.includes(e);const g=e.endsWith(d);e=e.endsWith(c);return f?3141:g?85:e?80:443});Xa(a,olympe.dc.sources.tt.Lv,[olympe.dc.sources.tt.Jp,olympe.dc.sources.pa.Lv],(e,f)=>null!==f?f:443===e);E(a,olympe.dc.sources.pa.TC,null);E(a,olympe.dc.sources.pa.am,null);E(a,olympe.dc.sources.pa.$C,null);C(a,olympe.dc.sources.ba.Vb,[olympe.gb.ba.Ob],e=>e.Vg('data'));B(a,olympe.dc.sources.ba.cl,olympe.dc.sources.Mf,olympe.dc.db.ba.Ob);
1492
+ Ua(a,olympe.Y.ba.cl,olympe.dc.sources.ba.cl);B(a,olympe.dc.sources.ba.lC,olympe.dc.sources.cR,olympe.dc.sources.ba.Vb,olympe.Fa.ba.sD,olympe.Y.ba.kC,olympe.xa.ba.Ob,olympe.dc.sources.ba.dl,olympe.Y.ba.cl,new olympe.sa.zb(olympe.Y.pa.CB));B(a,olympe.dc.sources.ba.sR,olympe.dc.sources.CH,olympe.dc.sources.ba.Vb,olympe.dc.ba.tr,olympe.Fa.ba.Ob,olympe.xa.ba.Ob);B(a,olympe.dc.sources.ba.rK,olympe.dc.sources.CK,olympe.dc.sources.ba.Vb,new olympe.sa.zb(olympe.dc.pa.yr),olympe.dc.sources.ba.lC,olympe.Y.ba.bm,
1493
+ olympe.dc.ba.Zs,olympe.dc.sources.ba.dl);B(a,olympe.dc.sources.ba.LK,olympe.dc.sources.gL,olympe.dc.sources.ba.Vb,olympe.Y.ba.Jt,olympe.Y.ba.bm,olympe.dc.sources.ba.lC,new olympe.sa.zb(olympe.dc.sources.pa.VERSION),new olympe.sa.zb(olympe.dc.sources.pa.VJ),new olympe.sa.zb(olympe.dc.sources.pa.bL));B(a,olympe.dc.sources.ba.dl,olympe.dc.sources.Jz,olympe.dc.ba.Zs,new olympe.sa.zb(olympe.dc.pa.yr),new olympe.sa.zb(olympe.dc.pa.SB));C(a,olympe.dc.sources.ba.HB,[olympe.gb.ba.Ob],e=>e.Vg('datacache'));
1494
+ B(a,olympe.dc.sources.ba.lG,olympe.dc.sources.cache.Cache,olympe.dc.sources.ba.HB,olympe.dc.ba.tr,olympe.dc.sources.ba.mG,olympe.dc.db.ba.Ob,olympe.Fa.ba.Ob,olympe.Y.ba.bm,olympe.Bc.ba.fz,olympe.oa.ba.Uq,new olympe.sa.zb(olympe.Fa.pa.SJ),new olympe.sa.zb(olympe.dc.sources.pa.VERSION));B(a,olympe.dc.sources.ba.mG,olympe.dc.sources.cache.qz,olympe.Bc.ba.Ar,olympe.dc.sources.ba.HB,olympe.Bc.ba.dz)},'olympe.dc.sources');
1495
+ olympe.sa.run([olympe.dc.sources.ba.dl,olympe.dc.sources.ba.lG],(a,b)=>{olympe.dc.Kj=()=>a;olympe.dc.sources.Ej=()=>b});olympe.dc.sources.cache={};olympe.dc.sources.cache.errors={};olympe.dc.sources.cache.errors.jD=class extends Error{constructor(a){super(a)}};olympe.dc.sources.cache.errors.rQ=class extends olympe.dc.sources.cache.errors.jD{};olympe.dc.sources.cache.errors.EU=class extends olympe.dc.sources.cache.errors.jD{};olympe.dc.sources.cache.errors.QU=class extends olympe.dc.sources.cache.errors.jD{};function Fm(a){switch(!0){case null===a:case void 0===a:return null;case 'string'===typeof a:case 'boolean'===typeof a:case 'number'===typeof a:return a}switch(a.t){case 1:return new Date(a.d);case 2:return olympe.j.Color.ke(a);case 17:return new olympe.dc.Kf(a.v);case 13:return(new olympe.dc.transaction.cw).C(a.v,a.i);default:throw Error(`Impossible to deserialize the following value: ${a}`);}}
1495
1496
  olympe.dc.sources.cache.rH=class{fb(a){switch(!0){case null===a:case void 0===a:return null;case 'string'===typeof a:case 'boolean'===typeof a:case 'number'===typeof a:return a;case a instanceof olympe.j.ac:return{t:1,d:a.valueOf().toISOString()};case a instanceof Date:return{t:1,d:a.toISOString()};case a instanceof olympe.j.Color:return Object.assign({t:2},a.toJSON());case a instanceof olympe.dc.Kf:return{t:17,v:a.ka()};case a instanceof olympe.dc.db.Rf:const b=new olympe.dc.transaction.Xk;a.Wf(b);
1496
1497
  return{t:13,i:a.ja(),v:zh(b)};default:throw Error(`Impossible to serialize the following value: ${a}`);}}};function yl(a,b,c){return q(function*(){Gm(a,'queries',b);yield a.init();const d=a.D.has(c)?a.D.get(c):new Set;d.has(b)||(d.add(b),a.D.set(c,d),a.T.next(Hm(a)));return Im(a.C,b,c)})}function zl(a,b){return q(function*(){yield a.init();a.V.debug(`Cache: subtract pending transaction operations from ${b.ja()}`);b.T(a.O)})}
1497
1498
  function Al(a,b,c,d,e=!1){(()=>q(function*(){a.V.debug(`Cache: handle query ${b} graph patch: ${d.ja()}`);try{const f=null===b?[]:Array.from(a.D.entries()).filter(([,k])=>k.has(b)).map(([k])=>k),g=1===f.length&&'__code-as-data__'===f[0];if(null===b||!g||a.ca){a.V.debug('Cache: persist graph patch',d.ja());if(e&&b){const k=new Set(Array.from(d.xg()).filter(l=>!l.$h()).map(l=>l.tag()));yield Jm(a.C,[b],k)}yield Km(a.C,d,0<f.length?b:null);Lm(a,d,c).catch(k=>{a.V.error(`Cache: Failed to download files of a graph patch: ${k}`)})}}catch(f){a.V.error(`Cache: Failed to handle graph patch ${d.ja()} with message: ${f}`),
@@ -1504,7 +1505,7 @@ function Tm(a,b){return Array.from(a.D.values()).some(c=>c.has(b))}function Hm(a
1504
1505
  function Wm(a){if(!(2>a.length))for(let b=a.length-1;0<b;b--)for(let c=b-1;0<=c;c--)a[c].T(a[b])}
1505
1506
  function Xm(a,b,c){return q(function*(){var d=olympe.dc.Request.C.no;const e=olympe.dc.Request.C.Yq,f=olympe.dc.Request.C.Hr;a.V.debug('Sync Cache: Applying transaction patch to destination',c,b.ja());const g=Qm(b);a.V.debug(`Sync Cache: Found ${g.length} files to send`);yield Promise.all(g.map(k=>q(function*(){const l=k.tag();var m=k.Qe();if(k.$h())m=new olympe.dc.Request(e,c,{tag:l,model:m});else{const n=yield Ym(a.C,l);m=new olympe.dc.Request(f,c,{tag:l,model:m,content:n.content,mimeType:n.C})}if(!xd(a.Ka))throw Error('Lost connection, stop syncing');
1506
1507
  m=yield oh(a.kf,m);b.oh(l,new Map([[olympe.dm.File.urlProp.ka(),m]]))})));d=new olympe.dc.Request(d,c,new olympe.dc.transaction.rw(b,!1));if(!xd(a.Ka))throw Error('Lost connection, stop syncing');yield oh(a.kf,d)})}
1507
- function Zm(a,b,c){return c instanceof olympe.Y.errors.Nz||c instanceof olympe.Y.errors.cG?(a.V.error('Sync Cache: Timeout or Connection error',c),new olympe.dc.sources.cache.errors.rQ('The connection has been lost. It can happen when the application loose connectivity or when the remote server is not responding correctly',c.message)):c instanceof olympe.Y.errors.BK?(a.V.error(`Sync Cache: transaction has been rejected by ${b} data source`,c),new olympe.dc.sources.cache.errors.EU('The transaction has been rejected by the datasource',
1508
+ function Zm(a,b,c){return c instanceof olympe.Y.errors.Nz||c instanceof olympe.Y.errors.dG?(a.V.error('Sync Cache: Timeout or Connection error',c),new olympe.dc.sources.cache.errors.rQ('The connection has been lost. It can happen when the application loose connectivity or when the remote server is not responding correctly',c.message)):c instanceof olympe.Y.errors.BK?(a.V.error(`Sync Cache: transaction has been rejected by ${b} data source`,c),new olympe.dc.sources.cache.errors.EU('The transaction has been rejected by the datasource',
1508
1509
  c.message)):new olympe.dc.sources.cache.errors.QU('Synchronisation error',c.message)}
1509
1510
  function $m(){var a=olympe.dc.sources.Ej();if(a.W)return rxjs.throwError(()=>Error('Another synchronisation is in progress'));a.W=!0;a.V.info('Sync Cache: Start synchronising transactions');const b=new rxjs.BehaviorSubject([null,null]);(()=>q(function*(){yield a.init();const c=yield an(a.C);let d=0;const e=Array.from(c.values()).reduce((f,g)=>f+g.length,0);0<e&&b.next([e,d]);for(const [f,g]of c){Wm(g);for(const k of g){a.V.debug(`Sync Cache: Processing patch ${d+1}/${e} (${k.ja()})`);try{yield Xm(a,
1510
1511
  k,f),yield bn(a.C,k)}catch(l){throw Zm(a,f,l);}d+=1;b.next([e,d])}}a.R=null}))().then(()=>{a.W=!1;b.complete()}).catch(c=>{b.error(c.message)}).finally(()=>{Om(a).finally(()=>{a.W=!1})});return b.asObservable()}
@@ -1512,7 +1513,7 @@ function cn(){const a=olympe.dc.sources.Ej();return q(function*(){var b=new Set;
1512
1513
  function en(a){const b=olympe.dc.sources.Ej();return q(function*(){let c;try{c=JSON.parse(a)}catch(e){throw Error('Invalid pending changes, must be a JSON string');}var d=c.files;if(!Array.isArray(c.patches)||!Array.isArray(d))throw Error('Invalid pending changes, must contain a `patches` array and a `files` array');for(const e of c.files)d=b.za.D(e.c),yield Sm(b.C,e.t,d,e.m);yield fn(b.C,c.patches);yield Om(b);b.Pa.lh(ph(b.O))})}
1513
1514
  function gn(){const a=olympe.dc.sources.Ej();return q(function*(){yield hn(a.C);yield Om(a)})}
1514
1515
  olympe.dc.sources.cache.Cache=class{constructor(a,b,c,d,e,f,g,k,l,m){this.V=a;this.kf=b;this.C=c;this.Pa=d;this.qc=e;this.Ka=f;this.Ha=g;this.za=k;this.version=m;this.ca=this.version!==this.Ha.get('__code-as-data-version__');this.sb=this.Oa=!1;this.D=new Map;this.T=new rxjs.BehaviorSubject([]);this.R=null;this.da=new rxjs.BehaviorSubject(!1);this.O=new olympe.dc.db.Rf;this.xb=this.ob=!1;this.ma=[];this.$=0;this.kc=new rxjs.BehaviorSubject(!1);this.status=new rxjs.BehaviorSubject({processing:!1});
1515
- this.W=!1;this.Eb=new rxjs.Subject;this.Pb=new olympe.oa.promise.kL(l)}jh(){return this.status.asObservable()}init(){const a=this;return q(function*(){if(!a.ob)if(a.xb)yield new Promise(b=>{a.ma.push(b)});else{a.xb=!0;(yield jn(a.C)).forEach(b=>{a.D.set(b.name,new Set(b.Ki))});a.T.next(Hm(a));yield Om(a);a.Pa.lh(ph(a.O));for(const b of a.ma)b();a.ob=!0;a.ma=[]}})}executeQuery(a){const b=this;return q(function*(){yield b.init();return Tm(b,a.ja())&&Wj(a).some(c=>c instanceof olympe.dc.query.wb.ph)?
1516
+ this.W=!1;this.Eb=new rxjs.Subject;this.Pb=new olympe.oa.promise.kL(l)}jh(){return this.status.asObservable()}init(){const a=this;return q(function*(){if(!a.ob)if(a.xb)yield new Promise(b=>{a.ma.push(b)});else{a.xb=!0;(yield jn(a.C)).forEach(b=>{a.D.set(b.name,new Set(b.Ki))});a.T.next(Hm(a));yield Om(a);a.Pa.lh(ph(a.O));for(const b of a.ma)b();a.ob=!0;a.ma=[]}})}executeQuery(a){const b=this;return q(function*(){yield b.init();return Tm(b,a.ja())&&Wj(a).some(c=>c instanceof olympe.dc.query.vb.ph)?
1516
1517
  kn(b.C,a).then(olympe.oa.stream.HM):b.C.executeQuery(a).then(olympe.oa.stream.HM)})}applyTransaction(a,b){const c=this;return q(function*(){c.V.debug('Cache: apply transaction',a,b);yield c.init();const d=a.Zf(),e=Array.from(d.je.keys());let f,g;const k=Array.from(null!=(g=null==(f=c.R)?void 0:f.C.je.keys())?g:[]);let l;b!==(null==(l=c.R)?void 0:l.D)||e.some(m=>!k.includes(m))?(yield ln(c.C,d,b),c.R=new olympe.dc.sources.cache.pQ(d,b),c.da.next(!0)):(d.Wf(c.R.C),yield ln(c.C,c.R.C,b));d.Wf(c.O);yield Km(c.C,
1517
1518
  d,'local-transaction')})}uploadFileContent(a,b,c){const d=this;return q(function*(){yield d.init();yield Sm(d.C,a,b,c);return`offline://${a}`})}downloadFileContent(a){const b=this;return q(function*(){yield b.init();return Ym(b.C,a).then(c=>c.content)})}deleteFileContent(a){const b=this;return q(function*(){yield b.init();yield mn(b.C,[a])})}};olympe.dc.sources.cache.pQ=class{constructor(a,b){this.C=a;this.D=b}};olympe.dc.sources.cache.Cache.D='__code-as-data-version__';
1518
1519
  olympe.dc.sources.cache.Cache.C='__code-as-data__';function jn(a){return q(function*(){return(yield a.db.O('buckets')).map(b=>olympe.dc.sources.cache.bw.ke(b))})}function Pm(a){return q(function*(){return(yield a.db.O('pending-transactions')).map(b=>{b=olympe.dc.sources.cache.zt.ke(b);return Fm(b.C)})})}
@@ -1521,9 +1522,9 @@ function Jm(a,b,c=new Set){return q(function*(){return a.db.C(()=>q(function*(){
1521
1522
  k,{ud:!1})]);yield nn(a,d)}),{Bd:'releaseQueryId',Nj:!0})})}
1522
1523
  function Km(a,b,c){a.V.debug(`Offline DB: Apply patch ${b.ja()} on local offline db`);const d=Array.from(b.je.keys()),e=new olympe.dc.sources.cache.sH(a.V,c);return a.db.C(()=>a.db.T('instances',d,{ud:!1,pq:olympe.dc.sources.cache.kk.ke}).then(f=>{e.C=f;e.R.clear();b.Wf(e)}).then(()=>{const f=e.$;if(null===c&&0<f.size){const g=e.xg();return a.db.O('buckets',{ud:!1}).then(k=>{const l=k.map(olympe.dc.sources.cache.bw.ke).reduce((m,n)=>{'__code-as-data__'!==n.name&&n.Ki.forEach(p=>m.add(p));return m},
1523
1524
  new Set);f.forEach(m=>{g.get(m).Ki.push(...l)})})}return Promise.resolve()}).then(()=>{const f=e.xg();return a.db.$('instances',f,{ud:!1,pq:g=>g.toJSON()})}).then(()=>q(function*(){const f=Array.from(e.R);if(0<f.length){const g=yield a.db.T('instances',f,{ud:!1,pq:olympe.dc.sources.cache.kk.ke});yield Promise.all([a.db.W('instances',f,{ud:!1}),mn(a,f,{ud:!1})]);yield nn(a,g)}})),{Bd:'Persist Patch',Nj:!0}).then(()=>{null===c&&(b.je.forEach((f,g)=>a.C.add(g)),a.O().then(()=>{}))})}
1524
- function Rm(a,b){return new Promise((c,d)=>{null!==a.files?c(a.files.has(b)):a.D.push(e=>{let f;return e?d(e):c(!(null==(f=a.files)||!f.has(b)))})})}function Sm(a,b,c,d){c=new olympe.dc.sources.cache.QC(b,c,d);a.files.add(b);return a.db.set('files',c.toJSON()).then(()=>{}).catch(e=>{a.files.delete(b);throw e;})}function Vm(a,b){return q(function*(){return a.db.remove('buckets',b).then(()=>{})})}
1525
+ function Rm(a,b){return new Promise((c,d)=>{null!==a.files?c(a.files.has(b)):a.D.push(e=>{let f;return e?d(e):c(!(null==(f=a.files)||!f.has(b)))})})}function Sm(a,b,c,d){c=new olympe.dc.sources.cache.RC(b,c,d);a.files.add(b);return a.db.set('files',c.toJSON()).then(()=>{}).catch(e=>{a.files.delete(b);throw e;})}function Vm(a,b){return q(function*(){return a.db.remove('buckets',b).then(()=>{})})}
1525
1526
  function an(a){return q(function*(){return(yield a.db.O('pending-transactions')).reduce((b,c)=>{c=olympe.dc.sources.cache.zt.ke(c);const d=c.D;let e;const f=null!=(e=b.get(d))?e:[];f.push(Fm(c.C));b.set(d,f);return b},new Map)})}function bn(a,b){return q(function*(){return a.db.remove('pending-transactions',b.ja()).then(()=>{})})}
1526
- function Ym(a,b){return q(function*(){const c=yield a.db.get('files',b);if(!c)throw Error(`File ${b} not found in offline cache database`);return olympe.dc.sources.cache.QC.ke(c)})}function dn(a){return q(function*(){return a.db.O('pending-transactions')})}function fn(a,b){return q(function*(){const c=new Map;for(const d of b){const e=olympe.dc.sources.cache.zt.ke(d);e&&c.set(e.C.i,d)}yield a.db.$('pending-transactions',c)})}
1527
+ function Ym(a,b){return q(function*(){const c=yield a.db.get('files',b);if(!c)throw Error(`File ${b} not found in offline cache database`);return olympe.dc.sources.cache.RC.ke(c)})}function dn(a){return q(function*(){return a.db.O('pending-transactions')})}function fn(a,b){return q(function*(){const c=new Map;for(const d of b){const e=olympe.dc.sources.cache.zt.ke(d);e&&c.set(e.C.i,d)}yield a.db.$('pending-transactions',c)})}
1527
1528
  function hn(a){return q(function*(){return a.db.clear('pending-transactions').then(()=>{})})}
1528
1529
  function kn(a,b){return q(function*(){const c=b.Sd();a.V.debug(`Offline DB: Executing query ${b.ja()} by ID with source ${c}`);const d=olympe.dc.query.vi.Pw(b);var e=(yield a.db.da('instances','queryIds',b.ja())).map(f=>olympe.dc.sources.cache.kk.ke(f));for(const f of e){if(f.source!==c)continue;e=olympe.dc.sources.cache.qz.De(f);const g=on(f.Ji);d.create(f.tag,e,g);for(const k of f.md)if(e=k.match(/^([a-z0-9]*)(<|>)([a-z0-9]*)$/)){const [,l,m,n]=e;e='<'===m;l===olympe.dc.Lf.sh&&!0===e||d.Qb(l,e?
1529
1530
  n:f.tag,e?f.tag:n)}}a.V.C()&&a.V.debug(`Offline DB: Data result for query ${b.ja()}`,d.Zf().je.size,'instances',Array.from(d.Zf().Xh()).length,'relations');return d})}function ln(a,b,c){b=a.T.fb(b);a.V.debug(`save transaction in destination '${c}'`,JSON.stringify(b));return a.db.set('pending-transactions',(new olympe.dc.sources.cache.zt(c,b,Date.now())).toJSON())}function pn(a){return q(function*(){return a.db.za('pending-transactions')})}
@@ -1534,18 +1535,18 @@ olympe.dc.sources.cache.qz=class{constructor(a,b,c){this.R=`Olympe_Cache_${a}`;t
1534
1535
  const k=e('pending-transactions',{keyPath:'patch.i'});k.createIndex('destination','destination');const l=e('failed-transactions',{keyPath:'timestamp'});e=e('files',{keyPath:'tag'});return Promise.all([f,g,k,l,e].map(m=>new Promise((n,p)=>{m.transaction.oncomplete=()=>n();m.transaction.onerror=()=>p(m.transaction.error)}))).then(()=>{})});this.C=new Set;this.D=[];this.files=null;this.db.Pa('files').then(d=>{this.files=new Set(d);this.D.forEach(e=>e(null))}).catch(d=>{this.D.forEach(e=>e(d))});this.O=
1535
1536
  olympe.oa.Promise.dA(()=>{const d=this;return q(function*(){if(!(0===d.C.size||0<(yield pn(d))))if(0<d.db.Ka())d.O().then(()=>{}),d.V.debug('Offline DB GC: Postponing round while the stack is busy');else{d.V.debug(`Offline DB GC: Round with ${d.C.size} candidates`);var e=Date.now();yield d.db.C(()=>{const f=new Map;return d.db.T('instances',Array.from(d.C),{ud:!1}).then(g=>{for(const k of g.values()){g=olympe.dc.sources.cache.kk.ke(k);let l;0===(null==(l=g)?void 0:l.Ki.length)&&(d.V.debug(`Offline DB GC: Garbage collecting ${g.tag}`),
1536
1537
  f.set(g.tag,g))}}).then(()=>q(function*(){if(0<f.size){const g=Array.from(f.keys());yield Promise.all([d.db.W('instances',g,{ud:!1}),mn(d,g,{ud:!1})]);yield nn(d,f)}}))},{Bd:'garbageCollector',Nj:!0}).then(()=>{});d.V.debug(`Offline DB GC: has taken ${Date.now()-e}ms to run`)}})},5E3)}static De(a){const b=new RegExp(`^(${olympe.dc.Lf.sh})>([a-z0-9]*)$`);for(const c of a.md)if(a=c.match(b))return a[2];return null}executeQuery(a){const b=this;return q(function*(){const c=Date.now();b.V.debug(`Offline DB: Executing query ${a.ja()} with source ${a.Sd()}`);
1537
- const d=olympe.dc.query.vi.Pw(a),e=a.Sd();var f=yield b.db.get('instances',a.D),g=olympe.dc.sources.cache.kk.ke(f);if(!g)return d;f=new Map;const k=new Set([g.tag]);d.create(g.tag,olympe.dc.sources.cache.qz.De(g),on(g.Ji));for(const p of Wj(a))if(p instanceof olympe.dc.query.wb.Ht){var l=p.relation;g=l.zc()===olympe.dc.Ib.ORIGIN;const r=l.ka(),t=l.fe();l=new Set;f.set(p.ja(),l);const u=[f.has(p.C)?new Set(f.get(p.C)):new Set([a.D])];for(const v of u){const w=new Map;var m=yield Promise.all(Array.from(v).map(x=>
1538
- {if(!k.has(x))return b.V.warn(`Offline DB: Instance ${x} not found while processing query part, this should not happen`),Promise.resolve([]);const y=`${t.ka()}${t.zc()}${x}`;return b.db.da('instances','relations',y,{ud:!0}).then(A=>A.map(H=>olympe.dc.sources.cache.kk.ke(H))).then(A=>{w.set(x,A)})})).then(()=>w);for(const [x,y]of m){p instanceof olympe.dc.query.wb.Mk&&p.O&&l.add(x);for(const A of y)if(m=A.tag,A.source===e){if(p instanceof olympe.dc.query.wb.Mk&&!l.has(m)){var n=u[u.length-1];n||(n=
1539
- new Set,u.push(n));n.add(m)}l.add(m);k.has(m)||(k.add(m),n=olympe.dc.sources.cache.qz.De(A),d.create(m,n,on(A.Ji)));r===olympe.dc.Lf.sh&&!0===g||d.Qb(r,g?m:x,g?x:m)}}}}else p instanceof olympe.dc.query.wb.ph&&b.V.warn(`Offline DB: Trying to execute a query ${a.ja()} on the Cache DB that contains a FollowRule part. This is not supported and designed not to happen.`);b.V.C()&&(b.V.debug(`Offline DB: Data result for query ${a.ja()}`,d.Zf().je.size,'instances',Array.from(d.Zf().Xh()).length,'relations'),
1538
+ const d=olympe.dc.query.vi.Pw(a),e=a.Sd();var f=yield b.db.get('instances',a.D),g=olympe.dc.sources.cache.kk.ke(f);if(!g)return d;f=new Map;const k=new Set([g.tag]);d.create(g.tag,olympe.dc.sources.cache.qz.De(g),on(g.Ji));for(const p of Wj(a))if(p instanceof olympe.dc.query.vb.Ht){var l=p.relation;g=l.zc()===olympe.dc.Ib.ORIGIN;const r=l.ka(),t=l.fe();l=new Set;f.set(p.ja(),l);const u=[f.has(p.C)?new Set(f.get(p.C)):new Set([a.D])];for(const v of u){const w=new Map;var m=yield Promise.all(Array.from(v).map(x=>
1539
+ {if(!k.has(x))return b.V.warn(`Offline DB: Instance ${x} not found while processing query part, this should not happen`),Promise.resolve([]);const y=`${t.ka()}${t.zc()}${x}`;return b.db.da('instances','relations',y,{ud:!0}).then(A=>A.map(H=>olympe.dc.sources.cache.kk.ke(H))).then(A=>{w.set(x,A)})})).then(()=>w);for(const [x,y]of m){p instanceof olympe.dc.query.vb.Mk&&p.O&&l.add(x);for(const A of y)if(m=A.tag,A.source===e){if(p instanceof olympe.dc.query.vb.Mk&&!l.has(m)){var n=u[u.length-1];n||(n=
1540
+ new Set,u.push(n));n.add(m)}l.add(m);k.has(m)||(k.add(m),n=olympe.dc.sources.cache.qz.De(A),d.create(m,n,on(A.Ji)));r===olympe.dc.Lf.sh&&!0===g||d.Qb(r,g?m:x,g?x:m)}}}}else p instanceof olympe.dc.query.vb.ph&&b.V.warn(`Offline DB: Trying to execute a query ${a.ja()} on the Cache DB that contains a FollowRule part. This is not supported and designed not to happen.`);b.V.C()&&(b.V.debug(`Offline DB: Data result for query ${a.ja()}`,d.Zf().je.size,'instances',Array.from(d.Zf().Xh()).length,'relations'),
1540
1541
  b.V.debug(`Offline DB: Data result for query ${a.ja()} took ${Date.now()-c}ms to be executed`));return d})}};olympe.dc.sources.cache.bw=class{constructor(a,b){this.name=a;this.Ki=b}static ke(a){return a?new olympe.dc.sources.cache.bw(a.name,a.queryIds):null}toJSON(){return{name:this.name,queryIds:this.Ki}}};
1541
1542
  olympe.dc.sources.cache.kk=class{constructor(a,b,c,d,e){this.tag=a;this.source=b;this.Ji=null!=c?c:{};this.md=null!=d?d:[];this.Ki=null!=e?e:[]}static ke(a){return a?new olympe.dc.sources.cache.kk(a.tag,a.source,a.props,a.relations,a.queryIds):null}toJSON(){return{tag:this.tag,source:this.source,props:this.Ji,relations:this.md,queryIds:this.Ki}}};
1542
1543
  olympe.dc.sources.cache.zt=class{constructor(a,b,c){this.D=a;this.C=b;this.timestamp=c}static ke(a){return a?new olympe.dc.sources.cache.zt(a.destination,a.patch,a.timestamp):null}toJSON(){return{destination:this.D,patch:this.C,timestamp:this.timestamp}}};
1543
1544
  olympe.dc.sources.cache.pT=class extends olympe.dc.sources.cache.zt{constructor(a,b,c,d){super(a,b,c);this.error=d}static ke(a){return a?new olympe.dc.sources.cache.pT(a.destination,a.patch,a.timestamp,a.error):null}toJSON(){return{destination:this.D,patch:this.C,timestamp:this.timestamp,error:this.error}}};
1544
- olympe.dc.sources.cache.QC=class{constructor(a,b,c){this.tag=a;this.content=b;this.C=c}static ke(a){return a?new olympe.dc.sources.cache.QC(a.tag,a.content,a.mimetype):null}toJSON(){return{tag:this.tag,content:this.content,mimetype:this.C}}};function qn(a,b){let c=a.W.get(b);c||(c=new Set(a.C.get(b).md),a.W.set(b,c));return c}
1545
+ olympe.dc.sources.cache.RC=class{constructor(a,b,c){this.tag=a;this.content=b;this.C=c}static ke(a){return a?new olympe.dc.sources.cache.RC(a.tag,a.content,a.mimetype):null}toJSON(){return{tag:this.tag,content:this.content,mimetype:this.C}}};function qn(a,b){let c=a.W.get(b);c||(c=new Set(a.C.get(b).md),a.W.set(b,c));return c}
1545
1546
  olympe.dc.sources.cache.sH=class{constructor(a,b){this.V=a;this.O=b;this.C=new Map;this.R=new Set;this.$=new Set;this.T=new olympe.dc.sources.cache.rH;this.W=new Map}xg(){this.R.forEach(a=>this.C.delete(a));Array.from(this.C.entries()).forEach(([a,b])=>{b||this.C.delete(a)});return this.C}yf(a,b,c){const d=this.C.get(a);d||this.$.add(a);var e;c=Array.from(null!=c?c:[]).reduce((k,l)=>{k[l[0]]=this.T.fb(l[1]);return k},null!=(e=null==d?void 0:d.Ji)?e:{});let f;e=null!=(f=null==d?void 0:d.Ki)?f:[];null===
1546
1547
  this.O||e.includes(this.O)||e.push(this.O);let g;b=new olympe.dc.sources.cache.kk(a,b,c,null!=(g=null==d?void 0:d.md)?g:[],e);this.C.set(a,b)}oh(a,b){const c=this.C.get(a);if(c){var d;c.Ji=Array.from(b).reduce((e,[f,g])=>{null===g?delete e[f]:e[f]=this.T.fb(g);return e},null!=(d=c.Ji)?d:{})}else this.V.warn(`Trying to update an instance (${a}) which do not exists in the cache database: ignoring.`)}D(a){this.R.add(a)}Qb(a,b,c){var d;const e=null!=(d=this.C.get(b))?d:new olympe.dc.sources.cache.kk(b,
1547
1548
  'unknown',{},[],[]);var f;d=null!=(f=this.C.get(c))?f:new olympe.dc.sources.cache.kk(c,'unknown',{},[],[]);b=`${a}${olympe.dc.Ib.ORIGIN}${b}`;f=(g,k)=>{this.C.set(g.tag,g);const l=qn(this,g.tag);l.has(k)||(g.md.push(k),l.add(k));null===this.O||g.Ki.includes(this.O)||g.Ki.push(this.O)};f(e,`${a}${olympe.dc.Ib.DESTINATION}${c}`);f(d,b)}Xf(a,b,c){const d=this.C.get(b),e=this.C.get(c);c=`${a}${olympe.dc.Ib.DESTINATION}${c}`;a=`${a}${olympe.dc.Ib.ORIGIN}${b}`;b=(f,g)=>{const k=qn(this,f.tag);if(k.has(g)){const l=
1548
- f.md.indexOf(g);f.md.splice(l,1);k.delete(g)}};d&&b(d,c);e&&b(e,a)}};olympe.dc.sources.cache.sH.Aa=[olympe.dc.Ut];olympe.dc.transaction={};olympe.dc.yv=class a{constructor(b,c){this.id=null!=b?b:olympe.oa.bf();this.D=new olympe.j.ee('BurstTransaction#'+this.id,c);this.Oa=rn(this);this.W=!1;this.D.onDestroy(()=>this.T());this.$=new Set;this.O=new Map;this.R=new Set;this.C=null;let d;this.Ha=null!=(d=olympe.sa.getParameter(olympe.dc.transaction.pa.FF))?d:30;this.ma=[]}static C(b,c){return`${b},${c}`}sb(b){for(const c of this.ma)c(b);this.stop()}Pa(){null!==this.C&&(clearTimeout(this.C),this.C=null);const b=this.da(this.R);0<b.size&&sn(this,
1549
+ f.md.indexOf(g);f.md.splice(l,1);k.delete(g)}};d&&b(d,c);e&&b(e,a)}};olympe.dc.sources.cache.sH.Aa=[olympe.dc.Ut];olympe.dc.transaction={};olympe.dc.yv=class a{constructor(b,c){this.id=null!=b?b:olympe.oa.bf();this.D=new olympe.j.ee('BurstTransaction#'+this.id,c);this.Oa=rn(this);this.W=!1;this.D.onDestroy(()=>this.T());this.$=new Set;this.O=new Map;this.R=new Set;this.C=null;let d;this.Ha=null!=(d=olympe.sa.getParameter(olympe.dc.transaction.pa.GF))?d:30;this.ma=[]}static C(b,c){return`${b},${c}`}sb(b){for(const c of this.ma)c(b);this.stop()}Pa(){null!==this.C&&(clearTimeout(this.C),this.C=null);const b=this.da(this.R);0<b.size&&sn(this,
1549
1550
  b,!1);this.R.clear()}da(b){const c=new Map;b.forEach(d=>{const e=d.split(',');let f=c.get(e[0]);void 0===f&&(f=new Map,c.set(e[0],f));f.set(e[1],this.O.get(d))});return c}ca(b,c,d){this.za(b,c,d);this.Oa(b,c,d);null===this.C&&(this.C=setTimeout(this.Pa.bind(this),this.Ha))}za(b,c,d){b=a.C(b,c);this.O.set(b,d);this.R.add(b)}Ka(b,c){return this.O.get(a.C(b,c))}push(b,c){const d=olympe.dc.Ya(b);b=c.subscribe(e=>{for(const [f,g]of e)e=olympe.dc.Ya(f),this.Ka(d,e)!==g&&this.ca(d,e,g.valueOf())});this.$.add(b)}complete(){return new Promise((b,
1550
1551
  c)=>{this.T((d,e)=>{for(const f of this.$)f.unsubscribe();d?b():c(e)})})}update(b,c,d){const e=olympe.dc.Ya(b),f=olympe.dc.Ya(c);void 0===e||void 0===f?olympe.gb.Cb('dc').error('Burst transaction: instance tag or property tag is undefined'):(this.D.run(()=>{olympe.j.Fl([d],g=>{this.W=!0;if(g instanceof olympe.dc.Kf)olympe.gb.Cb('dc').error('Cannot send complex property values in burst transactions');else{var k;this.ca(e,f,null!=(k=null==g?void 0:g.valueOf())?k:null)}})}),this.D.Ve(()=>{this.T()}))}stop(){this.D.destroy();
1551
1552
  this.ma.length=0}getContext(){return this.D}ja(){return this.id}fs(){return!1}T(b){if(this.W){this.W=!1;null!==this.C&&(clearTimeout(this.C),this.C=null);this.R.clear();const c=this.da(new Set(this.O.keys()));sn(this,c,!0,b)}else null==b||b(!0)}toString(){return'Burst transaction #'+this.id}};olympe.dc.yv.prototype.complete=olympe.dc.yv.prototype.complete;olympe.dc.yv.prototype.push=olympe.dc.yv.prototype.push;olympe.dc.eh=class{C(){}toString(){}};olympe.dc.eh.C=1;olympe.dc.eh.D=2;olympe.dc.eh.R=3;olympe.dc.eh.O=4;olympe.dc.eh.T=5;olympe.dc.transaction.cw=class a{constructor(b){this.O=null!=b?b:olympe.dc.Jc.SERVER}static C(b){const c=new Map;for(const [d,e]of Object.entries(b)){b=d;let f=typeof e;20<b.length&&b.startsWith('fd')&&(b=olympe.dc.li.sj+b.substring(2));'object'===f&&(f=e&&e.c?String(e.c):'untyped');switch(f){case '1':case '2':case '3':throw Error('Complex format for primitive types not supported.');case 'string':case 'boolean':case 'number':c.set(b,e);break;case '4':c.set(b,new Date(Date.UTC(e.y,e.M-1,e.d,e.h,e.m,
@@ -1560,16 +1561,16 @@ typeof a.ka?{c:8,t:a.ka()}:a}}function zh(a){const b=a.R.concat(a.O).concat(a.T)
1560
1561
  olympe.dc.transaction.Xk=class{constructor({XA:a=!1,bu:b=!0,mk:c=!0}={}){this.T=[];this.O=[];this.C=[];this.W=[];this.R=[];this.XA=null!=a?a:!1;this.mk=null!=c?c:!0;this.bu=null!=b?b:!0;this.$=olympe.j?new Dn:new class extends Dn{W(d){return d&&'function'===typeof d.ka?{c:8,t:d.ka()}:d}}}flush(){return JSON.stringify(zh(this))}yf(a,b,c,d=null){c=Bn(this.$,null!=c?c:null,this.XA);c={o:olympe.dc.eh.C,t:a,p:c};this.bu&&(c.s=b);this.mk&&d&&(c.m=d);this.T.push(c);this.XA&&(b=Cn(this.$))&&this.C.push({o:olympe.dc.eh.D,
1561
1562
  t:a,p:b})}oh(a,b,c=null){b=Bn(this.$,b||null,!1);a={o:olympe.dc.eh.D,t:a,p:b};this.mk&&c&&(a.m=c);this.C.push(a)}D(a,b,c=null){a={o:olympe.dc.eh.R,t:a,f:b};this.mk&&c&&(a.m=c);this.O.push(a)}Qb(a,b,c,d=null,e=null){if(!a)throw Error('Cannot create relation of undefined type');if(!b)throw Error(`Cannot create relation ${a} from undefined origin to ${c}`);if(!c)throw Error(`Cannot create relation ${a} from ${b} to undefined destination`);a={o:olympe.dc.eh.O,m:a,l:b,r:c};this.mk&&d&&(a.lm=d);this.mk&&
1562
1563
  e&&(a.rm=e);this.W.push(a)}Xf(a,b,c,d=null,e=null){if(!a)throw Error('Cannot delete relation of undefined type');if(!b)throw Error('Cannot delete relation with undefined origin');if(!c)throw Error('Cannot delete relation with undefined destination');a={o:olympe.dc.eh.T,m:a,l:b,r:c};this.mk&&d&&(a.lm=d);this.mk&&e&&(a.rm=e);this.R.push(a)}};olympe.dc.transaction.Xk.Aa=[olympe.dc.Ut];function En(a){var b=new olympe.dc.Tc;b.$=a;return b}function Fn(a,b){b instanceof olympe.dc.Tc&&b.D.forEach((c,d)=>a.D.set(d,c));a.$b.push(b);return b}function Gn(){var a=new olympe.dc.Tc;a.da=!0;return a}
1563
- function Hn(a,b,c,d){c=a.create(null!=c?c:olympe.dc.CloudObject,void 0);if('string'===typeof b)b=b||'',Z(c,olympe.dc.CloudObject.nameProp.ka(),b);else for(const [f,g]of Object.entries(b))Z(c,f,g);b=c.ka();d=null!=d?d:olympe.dc.CloudObject;const e=olympe.dc.CloudObject.extendRel.ka();Fn(a,new olympe.dc.transaction.$b.vG(e,b));Fn(a,new olympe.dc.transaction.$b.OB(e,b,d));return c}
1564
+ function Hn(a,b,c,d){c=a.create(null!=c?c:olympe.dc.CloudObject,void 0);if('string'===typeof b)b=b||'',Z(c,olympe.dc.CloudObject.nameProp.ka(),b);else for(const [f,g]of Object.entries(b))Z(c,f,g);b=c.ka();d=null!=d?d:olympe.dc.CloudObject;const e=olympe.dc.CloudObject.extendRel.ka();Fn(a,new olympe.dc.transaction.$b.wG(e,b));Fn(a,new olympe.dc.transaction.$b.OB(e,b,d));return c}
1564
1565
  function In(a,b){if(a.R)throw Error('Operation not permitted: this transaction has already been executed');a.R=!0;const c=[d=>{a.R=d},...a.ca,null!=b?b:()=>{}];return(d,e)=>{c.forEach(f=>f(d,e))}}
1565
- olympe.dc.Tc=class{constructor(a){this.id=null!=a?a:olympe.oa.bf();this.$b=[];this.O=new Map;this.da=!1;this.$=!0;this.D=new Map;this.ca=[];this.R=this.T=!1;this.W=[...olympe.dc.kx().ca]}ja(){return this.id}model(a){let b;return null!=(b=this.O.get(olympe.dc.Ya(a)))?b:olympe.dc.eb().model(a)}C(a){this.da&&(a.T=!0);wn(a,this.D);for(const b of this.$b)b.C(a);try{this.W.forEach(b=>b(a))}catch(b){throw Error(`Transaction compilation error: ${b.message}`);}}create(a,b){b=Fn(this,new olympe.dc.transaction.$b.hG(a,
1566
+ olympe.dc.Tc=class{constructor(a){this.id=null!=a?a:olympe.oa.bf();this.$b=[];this.O=new Map;this.da=!1;this.$=!0;this.D=new Map;this.ca=[];this.R=this.T=!1;this.W=[...olympe.dc.kx().ca]}ja(){return this.id}model(a){let b;return null!=(b=this.O.get(olympe.dc.Ya(a)))?b:olympe.dc.eb().model(a)}C(a){this.da&&(a.T=!0);wn(a,this.D);for(const b of this.$b)b.C(a);try{this.W.forEach(b=>b(a))}catch(b){throw Error(`Transaction compilation error: ${b.message}`);}}create(a,b){b=Fn(this,new olympe.dc.transaction.$b.iG(a,
1566
1567
  b));const c=b.ka();this.O.set(c,olympe.dc.Ya(a));let d;this.persist(c,null!=(d=this.D.get(c))?d:this.$);return b}persist(a,b=!0){const c=olympe.dc.Ya(a);var d=olympe.dc.eb();this.D.set(c,b);if(b){let f;b=null!=(f=this.O.get(c))?f:d.model(c);if(null===b)throw Error(`Try to persist an instance that does not exist: ${c}`);var e;d=null!=(e=d.source(a))?e:olympe.dc.Kj().fromModel(b);Fn(this,new olympe.dc.transaction.$b.CT(c,d))}else{if((e=d.tc(c))&&d.Bl(c))throw Error(`Try to remove persistence of an instance already persisted: ${c}`);
1567
- if(!e&&!this.O.has(c))throw Error(`Try to remove persistence of an instance that does not exist and is not part of the transaction: ${c}`);}return this}delete(a,b=olympe.dc.Te.Qg){Fn(this,new olympe.dc.transaction.$b.wG(a,b))}update(a,b,c){return Fn(this,new olympe.dc.transaction.$b.SU(a,b,c))}Qb(a,b,c){Fn(this,new olympe.dc.transaction.$b.OB(a,b,c))}Xf(a,b,c){Fn(this,new olympe.dc.transaction.$b.DQ(a,b,c))}JD(a,b){Fn(this,new olympe.dc.transaction.$b.vG(a,b))}defineProperty(a,b,c,d,e,f){d=this.create(olympe.dm.Property,
1568
+ if(!e&&!this.O.has(c))throw Error(`Try to remove persistence of an instance that does not exist and is not part of the transaction: ${c}`);}return this}delete(a,b=olympe.dc.Te.Qg){Fn(this,new olympe.dc.transaction.$b.xG(a,b))}update(a,b,c){return Fn(this,new olympe.dc.transaction.$b.SU(a,b,c))}Qb(a,b,c){Fn(this,new olympe.dc.transaction.$b.OB(a,b,c))}Xf(a,b,c){Fn(this,new olympe.dc.transaction.$b.DQ(a,b,c))}KD(a,b){Fn(this,new olympe.dc.transaction.$b.wG(a,b))}defineProperty(a,b,c,d,e,f){d=this.create(olympe.dm.Property,
1568
1569
  f);Z(d,olympe.dc.CloudObject.nameProp,c||'');void 0!==e&&this.update(a,olympe.dc.li.sj+d.ka(),e);this.Qb(olympe.dc.CloudObject.propertyRel,a,d);this.Qb(olympe.dm.Property.typeRel,d,b);this.Qb(olympe.dc.CloudObject.containsRel,a,d);return d}zM(a,b,c='',{K2:d=olympe.dm.Relation.R.iT,V2:e=olympe.dm.Relation.C.LT,Q2:f=olympe.dm.Relation.C.VP,v3:g=olympe.dm.Relation.C.uH,F2:k=olympe.dm.xB.NONE,s3:l=olympe.dm.Relation.T|k}={},m=olympe.oa.bf()){c=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(this.create(olympe.dm.Relation,m),olympe.dc.CloudObject.nameProp,
1569
- c||''),olympe.dm.Relation.D,d),olympe.dm.Relation.O,l),olympe.dm.Relation.da,e),olympe.dm.Relation.za,e),olympe.dm.Relation.ca,e),olympe.dm.Relation.$,f),olympe.dm.Relation.ma,g),olympe.dm.Relation.Pa,olympe.dm.Relation.C.uH),olympe.dm.Relation.W,k);this.Qb(olympe.dc.CloudObject.px,a,c);this.Qb(olympe.dm.Relation.destinationModelRel,c,b);this.Qb(olympe.dc.CloudObject.containsRel,a,c);return c}fs(){return!1}AD(a){this.ca.push(olympe.j.yb().re(a))}Kd(a,b){Jn(olympe.dc.kx(),this,In(this,a),b)}KD(a){a=
1570
+ c||''),olympe.dm.Relation.D,d),olympe.dm.Relation.O,l),olympe.dm.Relation.da,e),olympe.dm.Relation.za,e),olympe.dm.Relation.ca,e),olympe.dm.Relation.$,f),olympe.dm.Relation.ma,g),olympe.dm.Relation.Pa,olympe.dm.Relation.C.uH),olympe.dm.Relation.W,k);this.Qb(olympe.dc.CloudObject.px,a,c);this.Qb(olympe.dm.Relation.destinationModelRel,c,b);this.Qb(olympe.dc.CloudObject.containsRel,a,c);return c}fs(){return!1}BD(a){this.ca.push(olympe.j.yb().re(a))}Kd(a,b){Jn(olympe.dc.kx(),this,In(this,a),b)}LD(a){a=
1570
1571
  In(this,a);Kn(olympe.dc.kx(),this,a,!0)}toString(){return`Transaction #${this.id}`}};olympe.dc.Tc.Aa=[olympe.dc.eh];function rn(a){var b=olympe.dc.kx();const c=a.ja();b.R.set(c,a);return(d,e,f)=>{const g=new olympe.dc.db.Rf(c);g.oh(d,(new Map).set(e,f),b.db.model(d));b.C.lh(ph(g,Infinity))}}
1571
1572
  function sn(a,b,c,d){var e=olympe.dc.kx();const f=olympe.dc.Request.C.wv,g=olympe.dc.Request.C.xv,k=a.ja();a=a.fs();const l=new Map;for(const m of b.keys()){const n=e.db.source(m);if(n===olympe.dc.Jc.SELF||!e.db.Bl(m))continue;let p=l.get(n);p||(p=new olympe.dc.db.Rf(k),l.set(n,p));p.oh(m,b.get(m),e.db.model(m))}for(const [m,n]of l)b=new olympe.dc.Request(c?g:f,m,new olympe.dc.transaction.rw(n,a)),b=oh(e.kf,b).catch(p=>null==d?void 0:d(!1,`${p}`)),c&&b.then(p=>{e.C.lh(ph(n,p));null==d||d(!0)})}
1572
- function Jn(a,b,c,d){if(d){const e=b.ja();a.D.set(e,c);Kn(a,b,(f,g)=>{f||(a.D.delete(e),c(f,g))},!1)}else Kn(a,b,c,!1)}function Ln(a){const b=olympe.dc.Request.C.Ry;xh(a.kf,olympe.dc.Request.C.GF,c=>{var d=c.Pe();c=d.rollback;d=d.error;const e=c.ja(),f=a.R.get(e);void 0!==f&&(a.R.delete(e),f.sb(d));a.C.lh(c);a.V.warn(`Burst update (id=${e}) has been refused and is rolled back. Error: ${d}`)});xh(a.kf,b,c=>{c=c.Pe();Mn(a,c.id,c.finalize,c.error)})}
1573
+ function Jn(a,b,c,d){if(d){const e=b.ja();a.D.set(e,c);Kn(a,b,(f,g)=>{f||(a.D.delete(e),c(f,g))},!1)}else Kn(a,b,c,!1)}function Ln(a){const b=olympe.dc.Request.C.Ry;xh(a.kf,olympe.dc.Request.C.HF,c=>{var d=c.Pe();c=d.rollback;d=d.error;const e=c.ja(),f=a.R.get(e);void 0!==f&&(a.R.delete(e),f.sb(d));a.C.lh(c);a.V.warn(`Burst update (id=${e}) has been refused and is rolled back. Error: ${d}`)});xh(a.kf,b,c=>{c=c.Pe();Mn(a,c.id,c.finalize,c.error)})}
1573
1574
  function Nn(a,b,c){if(!c)throw Error('Transaction compiler id is required');a.za.has(c)||a.ca.push(b);return a}
1574
1575
  function Kn(a,b,c,d=!1){const e=b.ja(),f=new olympe.dc.transaction.BT(a.db,a.ma,e);try{b.C(f)}catch(r){if(r instanceof olympe.dc.PJ){r.C.then(()=>Kn(a,b,c,d));return}c(!1,r.message);return}if(f.Fi()){c(!0);var g;null==(g=a.D.get(e))||g(!0);a.D.delete(e)}else{a.O.set(e,[]);var k=xn(f);a.C.nk(k,olympe.dc.db.Instance.C.TRANSACTION);g=k.filter(r=>vn(f,r));var l=yn(f).filter(r=>a.db.Bl(r)&&a.db.me(r,olympe.dm.File)&&a.db.source(r)!==olympe.dc.Jc.SERVER).map(r=>[r,a.db.model(r),a.db.source(r)]),m=xi(a.C,
1575
1576
  f.C,g),n=olympe.j.yb().re((r,t)=>c(null!==r,t)),p=[m,n];On(a,f,g).then(r=>{p.splice(1,0,r);Pn(a,e,k,f.Qc()+1);return Qn(a,f.D,d,b.fs(),b.T)}).then(r=>Promise.allSettled(l.map(([t,u,v])=>a.T.za(t,u,v))).then(t=>{t.forEach(u=>{'rejected'===u.status&&a.V.warn('Some binary files have not been deleted after the transaction:',u.reason)});return r})).then(r=>{p.forEach(t=>t(r));Mn(a,e,olympe.dc.transaction.po.C.Yv)}).catch(r=>{a.V.error(r);p.forEach(t=>t(null,`${r}`));Rn(a,e)})}}
@@ -1579,20 +1580,20 @@ new olympe.dc.db.Rf);return xi(a.C,n)})}function Pn(a,b,c,d){const e=olympe.j.Eo
1579
1580
  function Qn(a,b,c,d,e){if(c&&olympe.j.Qa(a.da.D)!==olympe.xa.Cc.C.Mn)return Promise.reject('Cannot persist with batch transactions API if not authenticated (aka: `Transaction.executeAsLarge()`).');const f=c?olympe.dc.Request.C.Mt:olympe.dc.Request.C.no;return Promise.all(Array.from(b).map(([g,k])=>{g=new olympe.dc.Request(f,g,new olympe.dc.transaction.rw(k,d,e));return oh(a.kf,g)})).then(g=>g[0])}function Mn(a,b,c,d){let e,f;null==(f=null==(e=a.O.get(b))?void 0:e.pop())||f(c,null!=d?d:null)}
1580
1581
  function Rn(a,b){var c;null==(c=a.O.get(b))||c.forEach(d=>{d(olympe.dc.transaction.po.C.Yv,null)});a.O.delete(b);if(0===a.O.size){for(const d of a.$)d();a.$=[]}a.D.has(b)&&(c=a.D.get(b),a.D.delete(b),c(!0))}
1581
1582
  olympe.dc.transaction.po=class{constructor(a,b,c,d,e,f,g){this.V=a;this.C=b;this.db=b.view;this.kf=c;this.ma=d;this.T=e;this.da=f;this.W=g.get('notificationTimeout');this.ca=[];let k;this.za=new Set(null!=(k=g.get('disabledCompilers'))?k:[]);this.R=new olympe.oa.Nt(g.get('burstHoldTime'));this.O=new Map;this.$=[];this.D=new Map;this.Pa=new olympe.oa.promise.mw;Ln(this)}tk(a){this.Pa.C(()=>oh(this.kf,new olympe.dc.Request(olympe.dc.Request.C.YG,olympe.dc.Jc.SERVER)).then(b=>{a(b.ids,b.undo_stack_size,
1582
- b.redo_stack_size)}).catch(b=>this.V.error('Failed to process get stack request',b))).then(()=>{})}};olympe.dc.transaction.po.C={KC:0,Yv:1,cT:2};olympe.dc.transaction.rw=class{constructor(a,b=!1,c=!1){this.D=a;this.O=b;this.C=c}fs(){return this.O}Zf(){return this.D}};olympe.dc.transaction.ba={Vb:'dc.transaction.Logger',Ob:'dc.transaction.Manager'};olympe.dc.transaction.pa={MJ:'dc.transaction.timeout',FF:'dc.transaction.burstInterval',UB:'dc.transaction.disabledCompilers'};
1583
- olympe.sa.$e(function(a){E(a,olympe.dc.transaction.pa.MJ,9E4);E(a,olympe.dc.transaction.pa.FF,30);E(a,olympe.dc.transaction.pa.UB,[]);C(a,olympe.dc.transaction.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('dc'));C(a,'olympe.dc.transaction.Config',[new olympe.sa.zb(olympe.dc.transaction.pa.MJ),new olympe.sa.zb(olympe.dc.transaction.pa.UB),new olympe.sa.zb(olympe.dc.db.pa.JB)],(b,c,d)=>new Map([['notificationTimeout',b],['disabledCompilers',c],['burstHoldTime',d]]));B(a,olympe.dc.transaction.ba.Ob,olympe.dc.transaction.po,
1584
- olympe.dc.transaction.ba.Vb,olympe.dc.db.ba.Ob,olympe.dc.ba.tr,olympe.dc.sources.ba.dl,olympe.dc.ba.Py,olympe.xa.ba.Ob,'olympe.dc.transaction.Config')},'olympe.dc.transaction');olympe.dc.transaction.$b={};function Sn(a,b){const c=new Map;for(const [d,e]of b)c.set(d,a.Qa(e));return c}olympe.dc.transaction.$b.Tq=class{constructor(){this.eb=olympe.dc.eb()}C(){throw Error('Abstract method build() not override !');}toString(){throw Error('Abstract method toString() not override !');}Qa(a){a=olympe.j.Qa(a);return void 0===a||null===a?null:olympe.j.CO(a)?a.valueOf():a}};olympe.dc.transaction.$b.Tq.Aa=[olympe.dc.eh];olympe.dc.transaction.$b.sF=class extends olympe.dc.transaction.$b.Tq{constructor(a,b){super();this.relation=a instanceof olympe.dc.Oc.Relation?a:new olympe.dc.Oc.Relation(olympe.dc.Ya(a));this.origin=this.eb.tc(b)?olympe.dc.CloudObject.get(b):b}getType(){return this.relation.ka()}zc(){return this.relation.zc()}C(){throw Error('Abstract method build() not override !');}toString(){throw Error('Abstract method toString() not override !');}};function Z(a,b,c){a.Ji.set(olympe.dc.Ya(b),c);return a}olympe.dc.transaction.$b.hG=class extends olympe.dc.transaction.$b.Tq{constructor(a,b){super();let c;this.tag=null!=(c=b&&olympe.dc.Ya(b))?c:olympe.oa.Rr();this.model=olympe.dc.Ya(a);this.source=null;this.Ji=new Map}ka(){return this.tag}De(){return this.model}ne(a){this.source=a;return this}C(a){const b=this.De(),c=this.ka();if(!b)throw Error('OperationError: Cannot create instance, model tag is undefined');a.yf(c,b,this.source,Sn(this,this.Ji))}toString(){return`CreateInstance(${this.De()}, ${this.ka()})`}};
1585
- olympe.dc.transaction.$b.hG.Aa=[olympe.dc.Ok];olympe.dc.transaction.$b.OB=class extends olympe.dc.transaction.$b.sF{constructor(a,b,c){super(a,b);this.D=this.eb.tc(c)?olympe.dc.CloudObject.get(c):c}C(a){const b=this.getType();if(''===b)throw Error('OperationError: Cannot create relation, type is undefined, null or empty string');if(b===olympe.dc.Lf.sh)throw Error('OperationError: Cannot create the instance -> model relation');if(!this.origin)throw Error('OperationError: Cannot create relation, origin tag is undefined, null or empty string');
1586
- if(!this.D)throw Error('OperationError: Cannot create relation, destination tag is undefined, null or empty string');this.relation.zc()===olympe.dc.Ib.DESTINATION?a.Qb(b,olympe.dc.Ya(this.origin),olympe.dc.Ya(this.D)):a.Qb(b,olympe.dc.Ya(this.D),olympe.dc.Ya(this.origin))}toString(){return`CreateRelation('${this.relation.zc()}${this.relation.ka()}, ${olympe.dc.Ya(this.origin)}, ${olympe.dc.Ya(this.D)})`}};olympe.dc.transaction.$b.k_=class extends olympe.dc.transaction.$b.Tq{constructor(a,b=olympe.dc.Te.Qg){super();this.model=a instanceof olympe.dc.CloudObject?a:olympe.dc.CloudObject.get(a);this.af=b}C(a){for(const b of this.eb.xg(this.model))b!==olympe.dc.Ya(this.model)&&(new olympe.dc.transaction.$b.wG(b,this.af)).C(a)}toString(){return`DeleteAllInstances(${this.model.ka()}, ${this.af})`}};olympe.dc.transaction.$b.vG=class extends olympe.dc.transaction.$b.sF{C(a){const b=this.getType();if(void 0===b)throw Error('OperationError: Cannot delete relation, type is undefined');if(b===olympe.dc.Lf.sh)throw Error('OperationError: Cannot delete the instance -> model relation');const c=olympe.dc.Ya(this.origin);if(!this.origin)throw Error('OperationError: Cannot delete relation, left tag is undefined');const d=this.zc(),e=this.eb.pc(c,this.relation);for(const f of e)d===olympe.dc.Ib.DESTINATION?
1587
- a.Xf(b,c,f):a.Xf(b,f,c)}toString(){return`DeleteAllRelations(${this.zc()}${this.getType()})`}};olympe.dc.transaction.$b.wG=class extends olympe.dc.transaction.$b.Tq{constructor(a,b=olympe.dc.Te.Qg){super();this.tag=this.eb.tc(a)?olympe.dc.CloudObject.get(a):a;this.af=b}ka(){return olympe.dc.Ya(this.tag)}C(a){const b=this.ka();if(void 0===b)throw Error('OperationError: Cannot delete instance, tag is undefined');this.eb.tc(b)&&An(a,b,this.af)}toString(){return'DeleteInstance('+this.ka()+', '+this.af+')'}};olympe.dc.transaction.$b.DQ=class extends olympe.dc.transaction.$b.OB{C(a){const b=this.relation.ka();if(void 0===b)throw Error('OperationError: Cannot delete relation, type is undefined');if(b===olympe.dc.Lf.sh)throw Error('OperationError: Cannot delete the instance -> model relation');const c=olympe.dc.Ya(this.origin);if(void 0===c)throw Error('OperationError: Cannot delete relation, left tag is undefined');const d=olympe.dc.Ya(this.D);if(void 0===d)throw Error('OperationError: Cannot delete relation, right tag is undefined');
1583
+ b.redo_stack_size)}).catch(b=>this.V.error('Failed to process get stack request',b))).then(()=>{})}};olympe.dc.transaction.po.C={LC:0,Yv:1,cT:2};olympe.dc.transaction.rw=class{constructor(a,b=!1,c=!1){this.D=a;this.O=b;this.C=c}fs(){return this.O}Zf(){return this.D}};olympe.dc.transaction.ba={Vb:'dc.transaction.Logger',Ob:'dc.transaction.Manager'};olympe.dc.transaction.pa={MJ:'dc.transaction.timeout',GF:'dc.transaction.burstInterval',UB:'dc.transaction.disabledCompilers'};
1584
+ olympe.sa.$e(function(a){E(a,olympe.dc.transaction.pa.MJ,9E4);E(a,olympe.dc.transaction.pa.GF,30);E(a,olympe.dc.transaction.pa.UB,[]);C(a,olympe.dc.transaction.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('dc'));C(a,'olympe.dc.transaction.Config',[new olympe.sa.zb(olympe.dc.transaction.pa.MJ),new olympe.sa.zb(olympe.dc.transaction.pa.UB),new olympe.sa.zb(olympe.dc.db.pa.JB)],(b,c,d)=>new Map([['notificationTimeout',b],['disabledCompilers',c],['burstHoldTime',d]]));B(a,olympe.dc.transaction.ba.Ob,olympe.dc.transaction.po,
1585
+ olympe.dc.transaction.ba.Vb,olympe.dc.db.ba.Ob,olympe.dc.ba.tr,olympe.dc.sources.ba.dl,olympe.dc.ba.Py,olympe.xa.ba.Ob,'olympe.dc.transaction.Config')},'olympe.dc.transaction');olympe.dc.transaction.$b={};function Sn(a,b){const c=new Map;for(const [d,e]of b)c.set(d,a.Qa(e));return c}olympe.dc.transaction.$b.Tq=class{constructor(){this.eb=olympe.dc.eb()}C(){throw Error('Abstract method build() not override !');}toString(){throw Error('Abstract method toString() not override !');}Qa(a){a=olympe.j.Qa(a);return void 0===a||null===a?null:olympe.j.CO(a)?a.valueOf():a}};olympe.dc.transaction.$b.Tq.Aa=[olympe.dc.eh];olympe.dc.transaction.$b.tF=class extends olympe.dc.transaction.$b.Tq{constructor(a,b){super();this.relation=a instanceof olympe.dc.Oc.Relation?a:new olympe.dc.Oc.Relation(olympe.dc.Ya(a));this.origin=this.eb.tc(b)?olympe.dc.CloudObject.get(b):b}getType(){return this.relation.ka()}zc(){return this.relation.zc()}C(){throw Error('Abstract method build() not override !');}toString(){throw Error('Abstract method toString() not override !');}};function Z(a,b,c){a.Ji.set(olympe.dc.Ya(b),c);return a}olympe.dc.transaction.$b.iG=class extends olympe.dc.transaction.$b.Tq{constructor(a,b){super();let c;this.tag=null!=(c=b&&olympe.dc.Ya(b))?c:olympe.oa.Rr();this.model=olympe.dc.Ya(a);this.source=null;this.Ji=new Map}ka(){return this.tag}De(){return this.model}ne(a){this.source=a;return this}C(a){const b=this.De(),c=this.ka();if(!b)throw Error('OperationError: Cannot create instance, model tag is undefined');a.yf(c,b,this.source,Sn(this,this.Ji))}toString(){return`CreateInstance(${this.De()}, ${this.ka()})`}};
1586
+ olympe.dc.transaction.$b.iG.Aa=[olympe.dc.Ok];olympe.dc.transaction.$b.OB=class extends olympe.dc.transaction.$b.tF{constructor(a,b,c){super(a,b);this.D=this.eb.tc(c)?olympe.dc.CloudObject.get(c):c}C(a){const b=this.getType();if(''===b)throw Error('OperationError: Cannot create relation, type is undefined, null or empty string');if(b===olympe.dc.Lf.sh)throw Error('OperationError: Cannot create the instance -> model relation');if(!this.origin)throw Error('OperationError: Cannot create relation, origin tag is undefined, null or empty string');
1587
+ if(!this.D)throw Error('OperationError: Cannot create relation, destination tag is undefined, null or empty string');this.relation.zc()===olympe.dc.Ib.DESTINATION?a.Qb(b,olympe.dc.Ya(this.origin),olympe.dc.Ya(this.D)):a.Qb(b,olympe.dc.Ya(this.D),olympe.dc.Ya(this.origin))}toString(){return`CreateRelation('${this.relation.zc()}${this.relation.ka()}, ${olympe.dc.Ya(this.origin)}, ${olympe.dc.Ya(this.D)})`}};olympe.dc.transaction.$b.k_=class extends olympe.dc.transaction.$b.Tq{constructor(a,b=olympe.dc.Te.Qg){super();this.model=a instanceof olympe.dc.CloudObject?a:olympe.dc.CloudObject.get(a);this.af=b}C(a){for(const b of this.eb.xg(this.model))b!==olympe.dc.Ya(this.model)&&(new olympe.dc.transaction.$b.xG(b,this.af)).C(a)}toString(){return`DeleteAllInstances(${this.model.ka()}, ${this.af})`}};olympe.dc.transaction.$b.wG=class extends olympe.dc.transaction.$b.tF{C(a){const b=this.getType();if(void 0===b)throw Error('OperationError: Cannot delete relation, type is undefined');if(b===olympe.dc.Lf.sh)throw Error('OperationError: Cannot delete the instance -> model relation');const c=olympe.dc.Ya(this.origin);if(!this.origin)throw Error('OperationError: Cannot delete relation, left tag is undefined');const d=this.zc(),e=this.eb.pc(c,this.relation);for(const f of e)d===olympe.dc.Ib.DESTINATION?
1588
+ a.Xf(b,c,f):a.Xf(b,f,c)}toString(){return`DeleteAllRelations(${this.zc()}${this.getType()})`}};olympe.dc.transaction.$b.xG=class extends olympe.dc.transaction.$b.Tq{constructor(a,b=olympe.dc.Te.Qg){super();this.tag=this.eb.tc(a)?olympe.dc.CloudObject.get(a):a;this.af=b}ka(){return olympe.dc.Ya(this.tag)}C(a){const b=this.ka();if(void 0===b)throw Error('OperationError: Cannot delete instance, tag is undefined');this.eb.tc(b)&&An(a,b,this.af)}toString(){return'DeleteInstance('+this.ka()+', '+this.af+')'}};olympe.dc.transaction.$b.DQ=class extends olympe.dc.transaction.$b.OB{C(a){const b=this.relation.ka();if(void 0===b)throw Error('OperationError: Cannot delete relation, type is undefined');if(b===olympe.dc.Lf.sh)throw Error('OperationError: Cannot delete the instance -> model relation');const c=olympe.dc.Ya(this.origin);if(void 0===c)throw Error('OperationError: Cannot delete relation, left tag is undefined');const d=olympe.dc.Ya(this.D);if(void 0===d)throw Error('OperationError: Cannot delete relation, right tag is undefined');
1588
1589
  this.relation.zc()===olympe.dc.Ib.DESTINATION?a.Xf(b,c,d):a.Xf(b,d,c)}toString(){return'DeleteRelation('+this.relation.zc()+this.relation.ka()+', '+olympe.dc.Ya(this.origin)+', '+olympe.dc.Ya(this.D)+')'}};olympe.dc.transaction.$b.SU=class extends olympe.dc.transaction.$b.Tq{constructor(a,b,c){super();this.tag=this.eb.tc(a)?olympe.dc.CloudObject.get(a):a;this.Ji=new Map;void 0!==b&&this.Ji.set(olympe.dc.Ya(b),c)}ka(){return olympe.dc.Ya(this.tag)}C(a){const b=this.ka();if(void 0===b)throw Error('OperationError: Cannot update instance, tag is undefined');var c;if(!(null!=(c=a.C.ih(b))&&c.O()||this.eb.tc(b)))throw Error('OperationError: Instance #'+b+' not found so it cannot be updated');c=Sn(this,this.Ji);
1589
1590
  for(const [e,f]of c){var d=this.eb.Ac(b,e,!0);d instanceof olympe.dc.Kf&&An(a,d.ka(),olympe.dc.Te.Qg);f instanceof olympe.dc.Kf&&!vn(a,f.ka())&&(d=new olympe.dc.Tc,d.persist(f.ka()),d.C(a))}a.oh(b,c)}toString(){return'UpdateInstance('+this.ka()+', '+Sn(this,this.Ji)+')'}};olympe.dc.transaction.$b.CT=class a extends olympe.dc.transaction.$b.Tq{constructor(b,c){super();this.tag=b;this.source=c}C(b){const c=olympe.dc.eb();if(vn(b,this.tag)&&c.tc(this.tag)&&!c.Bl(this.tag)){const e=c.be(this.tag,!0);var d;let f;null==(f=null==(d=b.C.ih(this.tag))?void 0:d.be())||f.forEach((g,k)=>{e.set(k,g)});for(const g of e.values())g instanceof olympe.dc.Kf&&c.tc(g.ka())&&(new a(g.ka(),this.source)).C(b);d=c.model(this.tag);b.yf(this.tag,d,this.source,e);for(const [g,k,l]of cj(c,this.tag))vn(b,
1590
1591
  l)&&(k===olympe.dc.Ib.ORIGIN?b.Qb(g,l,this.tag):b.Qb(g,this.tag,l))}}toString(){return`PersistOperation: tag - ${this.tag}, src - ${this.source}`}};olympe.dc.Ya=function(a){let b=null;if('string'===typeof a)return a;if('function'===typeof(null==a?void 0:a.ka)&&(null==a||!a.Gh))b=a.ka();else if('function'===typeof a){let d;b=null!=(d=olympe.dc.Ja.De(a))?d:''}else if(olympe.j.Mg(a)){let d;b=olympe.dc.Ya(null==(d=olympe.j.Qa(a))?void 0:d.valueOf())}let c;return null!=(c=b)?c:''};z('olympe.dc.instanceToTag',olympe.dc.Ya);olympe.dc.eb=function(){return olympe.dc.iN().view};olympe.dc.register=function(a,b){olympe.dc.Ja.C(a,b)};
1591
- olympe.dc.defineProperty=function(a){return new olympe.dc.Oc.Property(a)};olympe.dc.zM=function(a,b=olympe.dc.Ib.DESTINATION,c=olympe.dc.CloudObject,d=olympe.dc.Ib.DESTINATION){const e=olympe.dc.Ib.DESTINATION;return b===olympe.dc.Ib.ORIGIN||b===e?new olympe.dc.Oc.Relation(a,b):new olympe.dc.Oc.Relation(a,d,b,c)};olympe.dc.OV=function(a){return a.fe()};olympe.dc.Ad={};olympe.dc.Ad.HD=a=>'string'===typeof a||'number'===typeof a||'boolean'===typeof a||a instanceof String?olympe.j.ic(a):a instanceof olympe.j.kb?a:null;olympe.dc.Ad.ED=a=>'boolean'===typeof a||a instanceof Boolean?olympe.j.hc(a):a instanceof olympe.j.ia?a:null;olympe.dc.Ad.GD=a=>'number'===typeof a||a instanceof Number?olympe.j.Ba(a):'string'===typeof a||a instanceof String?olympe.j.Ba(Number.parseFloat(a.valueOf())):a instanceof olympe.j.aa?a:null;
1592
- olympe.dc.Ad.FD=a=>'number'===typeof a||a instanceof Number?vc(a.valueOf()):'string'===typeof a||a instanceof String?rc(a.valueOf()):a instanceof Date?uc(a):a instanceof olympe.j.ac?a:null;olympe.dc.Ad.uM=function(a){return a instanceof olympe.j.Color?a:'string'===typeof a||a instanceof String?Ec(a.valueOf()):null};olympe.dc.Ad.vM=a=>a instanceof olympe.dc.CloudObject?a:a instanceof olympe.dc.Kf?mh(a):null;olympe.dc.Ad.Hw=a=>a instanceof olympe.dc.Kf?mh(a):a;
1593
- olympe.dc.Ad.ug=a=>{a=a instanceof olympe.dc.Kf?mh(a):a;let b;return null!=(b=a instanceof olympe.dc.CloudObject?a.ug():a)?b:null};olympe.dc.Ad.lW=a=>{switch(a){case olympe.j.ia:return olympe.dc.Ad.ED;case olympe.j.kb:return olympe.dc.Ad.HD;case olympe.j.aa:return olympe.dc.Ad.GD;case olympe.j.ac:return olympe.dc.Ad.FD;case olympe.j.Color:return olympe.dc.Ad.uM;case olympe.dc.CloudObject:return olympe.dc.Ad.vM;default:return olympe.dc.Ad.Hw}};olympe.dc.bg={};olympe.dc.Qn=class{bb(){}O(){}compare(){}R(){}fb(){}toString(){}};function Tn(a){let b=null;for(a=[...a.Ra];null===b&&0<a.length;)b=a.pop().Ee();return b}function Un(a,b){a.W()||(a=`Calling "${b}" on subscription with id ${a.ja()} while it is not ready (thus no data is available).`+'This call should be made within an onReady callback. You can also consider to use Queries API instead of ListDefs (which are deprecated)',olympe.gb.Cb('dc').warn(a))}
1592
+ olympe.dc.defineProperty=function(a){return new olympe.dc.Oc.Property(a)};olympe.dc.zM=function(a,b=olympe.dc.Ib.DESTINATION,c=olympe.dc.CloudObject,d=olympe.dc.Ib.DESTINATION){const e=olympe.dc.Ib.DESTINATION;return b===olympe.dc.Ib.ORIGIN||b===e?new olympe.dc.Oc.Relation(a,b):new olympe.dc.Oc.Relation(a,d,b,c)};olympe.dc.OV=function(a){return a.fe()};olympe.dc.Ad={};olympe.dc.Ad.ID=a=>'string'===typeof a||'number'===typeof a||'boolean'===typeof a||a instanceof String?olympe.j.ic(a):a instanceof olympe.j.kb?a:null;olympe.dc.Ad.FD=a=>'boolean'===typeof a||a instanceof Boolean?olympe.j.hc(a):a instanceof olympe.j.ia?a:null;olympe.dc.Ad.HD=a=>'number'===typeof a||a instanceof Number?olympe.j.Ba(a):'string'===typeof a||a instanceof String?olympe.j.Ba(Number.parseFloat(a.valueOf())):a instanceof olympe.j.aa?a:null;
1593
+ olympe.dc.Ad.GD=a=>'number'===typeof a||a instanceof Number?vc(a.valueOf()):'string'===typeof a||a instanceof String?rc(a.valueOf()):a instanceof Date?uc(a):a instanceof olympe.j.ac?a:null;olympe.dc.Ad.uM=function(a){return a instanceof olympe.j.Color?a:'string'===typeof a||a instanceof String?Ec(a.valueOf()):null};olympe.dc.Ad.vM=a=>a instanceof olympe.dc.CloudObject?a:a instanceof olympe.dc.Kf?mh(a):null;olympe.dc.Ad.Hw=a=>a instanceof olympe.dc.Kf?mh(a):a;
1594
+ olympe.dc.Ad.ug=a=>{a=a instanceof olympe.dc.Kf?mh(a):a;let b;return null!=(b=a instanceof olympe.dc.CloudObject?a.ug():a)?b:null};olympe.dc.Ad.lW=a=>{switch(a){case olympe.j.ia:return olympe.dc.Ad.FD;case olympe.j.kb:return olympe.dc.Ad.ID;case olympe.j.aa:return olympe.dc.Ad.HD;case olympe.j.ac:return olympe.dc.Ad.GD;case olympe.j.Color:return olympe.dc.Ad.uM;case olympe.dc.CloudObject:return olympe.dc.Ad.vM;default:return olympe.dc.Ad.Hw}};olympe.dc.bg={};olympe.dc.Qn=class{bb(){}O(){}compare(){}R(){}fb(){}toString(){}};function Tn(a){let b=null;for(a=[...a.Ra];null===b&&0<a.length;)b=a.pop().Ee();return b}function Un(a,b){a.W()||(a=`Calling "${b}" on subscription with id ${a.ja()} while it is not ready (thus no data is available).`+'This call should be made within an onReady callback. You can also consider to use Queries API instead of ListDefs (which are deprecated)',olympe.gb.Cb('dc').warn(a))}
1594
1595
  olympe.dc.Kb=class{constructor(a,b,c){void 0===a||null===a?olympe.gb.Cb('dc').warn('attempt to create a listdef with a null or undefind basetag. This listdef is thus without effect.'):(this.D=olympe.j.Xa([a],olympe.dc.Ya,String),this.Ra=void 0!==b&&(Array.isArray(b)?b:[b])||[],this.valueType=c||Tn(this),this.C=null,this.jg=void 0)}rk(){return olympe.dc.rk()}Kd(){if(null===this.C){const a=olympe.dc.bg.XW();this.C=Vn(a,this,this.jg);null!==this.valueType&&this.C.mi(this.valueType);olympe.j.yb().Ve(()=>
1595
- {var b=this.C.ja();a.V.debug('QueryMGR: [ID:',b,'] - Unregistered');const c=a.C.get(b);if(null==c)var d=0;else 0<c.counter&&c.counter--,d=0===c.counter;d&&(c.getSubscription().kc(),a.C.delete(b));this.C=null})}return this}getSubscription(){null===this.C&&this.Kd();return this.C}mi(a){this.valueType=a;null!==this.C&&this.C.mi(this.valueType)}Ee(){return null!==this.C?this.C.Ee():null===this.valueType?olympe.dc.CloudObject:this.valueType}Cj(){return this.D}AC(){return this.Ra}Ii(a,b){return this.getSubscription().Ii(a,
1596
+ {var b=this.C.ja();a.V.debug('QueryMGR: [ID:',b,'] - Unregistered');const c=a.C.get(b);if(null==c)var d=0;else 0<c.counter&&c.counter--,d=0===c.counter;d&&(c.getSubscription().kc(),a.C.delete(b));this.C=null})}return this}getSubscription(){null===this.C&&this.Kd();return this.C}mi(a){this.valueType=a;null!==this.C&&this.C.mi(this.valueType)}Ee(){return null!==this.C?this.C.Ee():null===this.valueType?olympe.dc.CloudObject:this.valueType}Cj(){return this.D}BC(){return this.Ra}Ii(a,b){return this.getSubscription().Ii(a,
1596
1597
  b)}PA(a){this.getSubscription().PA(a)}lS(){return this.getSubscription().Pb()}kS(){return this.getSubscription().W()}get(a){return this.getSubscription().get(a)}qu(){return this.getSubscription().qu()}Fj(a){const b=this.getSubscription();Un(b,'getCurrent');return b.Fj(a)}has(a){return this.getSubscription().has(a)}Ei(a){const b=this.getSubscription();Un(b,'hasCurrent');return b.Ei(a)}Hh(a){return this.getSubscription().Hh(a)}dY(a){return this.Hh(a).asObservable()}ql(a){const b=this.getSubscription();
1597
1598
  Un(b,'getCurrentAt');return b.ql(a)}Um(a){return this.getSubscription().Um(a)}rl(a){const b=this.getSubscription();Un(b,'getCurrentKeyAt');return b.rl(a)}gf(a){return this.getSubscription().gf(a)}iY(a){return this.gf(a).asObservable()}Hm(a){const b=this.getSubscription();Un(b,'getCurrentRank');return b.Hm(a)}Vd(){return this.getSubscription().Vd()}eY(){return this.Vd().asObservable()}Sm(){return this.getSubscription().Sm()}Qc(){return this.getSubscription().Qc()}jY(){return this.Qc().asObservable()}aj(){const a=
1598
1599
  this.getSubscription();Un(a,'getCurrentSize');return a.aj()}forEach(a,b){this.getSubscription().forEach(a,b)}yi(a){const b=this.getSubscription();Un(b,'forEachCurrentValue');return b.yi(a)}Ow(a,b,c,d){a=new olympe.dc.Ra.wt(a,b);(new olympe.dc.Kb(this.D,[...this.Ra,a],this.valueType)).forEach(c,d)}transform(...a){var b=a;if(Array.isArray(a[0])){if(1<a.length)throw Error('ListDef.transform() should be called either with one array argument, or with ... arguments, but not both');b=a[0]}a=[...this.Ra];
@@ -1600,20 +1601,20 @@ for(const c of b){if(void 0===c)throw Error('ListDef.transform(): Trying to set
1600
1601
  null===this.valueType?void 0:this.valueType);'boolean'===typeof this.jg&&(a.jg=this.jg);let b=this.Ra;b instanceof Array||(b=b?[b]:[]);a.transform(b);return a}toString(){let a=this.Ra;a=a?', '+(a.join?a.join(', '):a.toString()):'';return'ListDef(#'+olympe.j.Qa(this.D)+a+')'}jS(){return this.getSubscription().jr()}og(){return olympe.j.Xa([this.Qc()],a=>{let b='[';for(let c=0;c<a;c++){const d=this.ql(c).toString();b=0<c&&c<a?b+(', '+d):b+d}return olympe.j.ic(b+']')},olympe.j.kb)}};
1601
1602
  olympe.dc.Kb.prototype.filter=olympe.dc.Kb.prototype.filter;olympe.dc.Kb.prototype.union=olympe.dc.Kb.prototype.jy;olympe.dc.Kb.prototype.transform=olympe.dc.Kb.prototype.transform;olympe.dc.Kb.prototype.forEachCurrentValue=olympe.dc.Kb.prototype.yi;olympe.dc.Kb.prototype.forEach=olympe.dc.Kb.prototype.forEach;olympe.dc.Kb.prototype.getCurrentSize=olympe.dc.Kb.prototype.aj;olympe.dc.Kb.prototype.observeSize=olympe.dc.Kb.prototype.jY;olympe.dc.Kb.prototype.observeFirst=olympe.dc.Kb.prototype.eY;
1602
1603
  olympe.dc.Kb.prototype.getCurrentRank=olympe.dc.Kb.prototype.Hm;olympe.dc.Kb.prototype.observeRank=olympe.dc.Kb.prototype.iY;olympe.dc.Kb.prototype.getCurrentAt=olympe.dc.Kb.prototype.ql;olympe.dc.Kb.prototype.observeAt=olympe.dc.Kb.prototype.dY;olympe.dc.Kb.prototype.offReady=olympe.dc.Kb.prototype.PA;olympe.dc.Kb.prototype.onReady=olympe.dc.Kb.prototype.Ii;olympe.dc.Kb.prototype.getBaseTag=olympe.dc.Kb.prototype.Cj;olympe.dc.Kb.Aa=[olympe.j.Ug];h=olympe.dc.Kb.prototype;h.rk.K=olympe.j.J.O;
1603
- h.Kd.K=olympe.j.J.C([]);h.getSubscription.K=new olympe.j.J(()=>olympe.dc.bg.Subscription,[]);h.mi.K=new olympe.j.J(()=>{},[]);h.Cj.K=new olympe.j.J(()=>String,[]);h.AC.K=new olympe.j.J(()=>Array,[]);h.Ii.K=new olympe.j.J(()=>String,[]);h.PA.K=new olympe.j.J(()=>{},[]);h.lS.K=olympe.j.J.T;h.kS.K=olympe.j.J.O;h.get.K=new olympe.j.J(()=>olympe.dc.CloudObject,[],'valueType');h.qu.K=new olympe.j.J(()=>Array,[]);h.Fj.K=olympe.j.J.O;h.has.K=olympe.j.J.T;h.Ei.K=olympe.j.J.O;
1604
+ h.Kd.K=olympe.j.J.C([]);h.getSubscription.K=new olympe.j.J(()=>olympe.dc.bg.Subscription,[]);h.mi.K=new olympe.j.J(()=>{},[]);h.Cj.K=new olympe.j.J(()=>String,[]);h.BC.K=new olympe.j.J(()=>Array,[]);h.Ii.K=new olympe.j.J(()=>String,[]);h.PA.K=new olympe.j.J(()=>{},[]);h.lS.K=olympe.j.J.T;h.kS.K=olympe.j.J.O;h.get.K=new olympe.j.J(()=>olympe.dc.CloudObject,[],'valueType');h.qu.K=new olympe.j.J(()=>Array,[]);h.Fj.K=olympe.j.J.O;h.has.K=olympe.j.J.T;h.Ei.K=olympe.j.J.O;
1604
1605
  h.Hh.K=new olympe.j.J(()=>olympe.dc.CloudObject,[],'valueType');h.ql.K=olympe.j.J.O;h.Um.K=new olympe.j.J(()=>String,[]);h.rl.K=olympe.j.J.O;h.gf.K=olympe.j.J.D;h.Hm.K=olympe.j.J.O;h.Vd.K=new olympe.j.J(()=>olympe.dc.CloudObject,[],'valueType');h.Sm.K=new olympe.j.J(()=>String,[]);h.Qc.K=olympe.j.J.D;h.aj.K=olympe.j.J.O;h.forEach.K=new olympe.j.J(()=>{},[]);h.yi.K=olympe.j.J.O;h.Ow.K=new olympe.j.J(()=>{},[]);h.transform.K=new olympe.j.J(()=>olympe.dc.Kb,[]);
1605
- h.jy.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.filter.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.Mr.K=new olympe.j.J(()=>olympe.dc.Mp,[]);h.toString.K=olympe.j.J.O;h.jS.K=olympe.j.J.O;h.og.K=olympe.j.J.R;const Wn={AZ:'append',$B:'filter_not',NG:'filter_and',OG:'filter_or'};function Xn(a,b){a=Yn(a);a=olympe.dc.CloudObject.get(a);return(new olympe.dc.cd.tF(a,b)).D}
1606
+ h.jy.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.filter.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.Mr.K=new olympe.j.J(()=>olympe.dc.Mp,[]);h.toString.K=olympe.j.J.O;h.jS.K=olympe.j.J.O;h.og.K=olympe.j.J.R;const Wn={AZ:'append',$B:'filter_not',OG:'filter_and',PG:'filter_or'};function Xn(a,b){a=Yn(a);a=olympe.dc.CloudObject.get(a);return(new olympe.dc.cd.uF(a,b)).D}
1606
1607
  olympe.dc.Mp=class{constructor(a,b){this.C=Yn(a);this.V=olympe.gb.Cb('dc.query');this.valueType=void 0===b?olympe.dc.CloudObject:b;this.Ra=[];this.$b=[];this.jg=void 0}ek(){const a=new olympe.dc.Kb(this.C,this.Ra,this.valueType);'boolean'===typeof this.jg&&(a.jg=this.jg);return a}transform(a){for(let b=0,c=a.length,d;b<c;b++){d=a[b];if(void 0===d)throw new Zn('transform','Trying to set an undefined transformer');if(d instanceof olympe.dc.Oc.Property)throw new Zn('transform','Properties cannot be used as transformer, unlike relations '+
1607
1608
  d);if(!d||'function'!==typeof d.C)throw new Zn('transform','one of the argument is not a Transformer '+d);const e=d.Ee();null!==e&&(this.valueType=e);this.Ra.push(d)}return this}jy(a){this.Ra.push(new olympe.dc.Ra.ro(a));return this}tZ(a){this.Ra.push(new olympe.dc.Ra.ro(Yn(a)));return this}mS(a){this.valueType=a;return this}oc(a){this.Ra.push(a);this.valueType=a.Ee()||olympe.dc.CloudObject;return this}GM(){var a=[olympe.dc.CloudObject.containsRel,olympe.dc.CloudObject.containsRel];for(const b of a)this.Ra.push(b),
1608
- this.valueType=b.Ee()||olympe.dc.CloudObject;return this}FM(a){var b=olympe.dc.CloudObject.extendRel;a=new olympe.dc.Ra.zj(b,b.zc(),olympe.dc.Ra.$C.wH,a);this.Ra.push(a);this.valueType=a.Ee()||olympe.dc.CloudObject;return this}bW(a){const b=[];let c;for(let d=0;d<a.length;d++){const e=a[d];b.push(e.ka());void 0===c&&(c=e.zc())}a=new olympe.dc.Ra.iz(b,c);this.Ra.push(a);this.valueType=a.Ee()||olympe.dc.CloudObject;return this}kJ(){this.oc(olympe.dc.CloudObject.instancesRel);return this}Dm(a){var b=
1609
- this.$b.pop();b===Wn.$B&&(a=new olympe.dc.Ca.ik(a),b=this.$b.pop());switch(b){case Wn.NG:b=this.Ra.pop().D;b instanceof olympe.dc.Ca.Ni?(b=b.Ca,b.push(a),a=new olympe.dc.Ca.Ni(...b)):a=new olympe.dc.Ca.Ni(b,a);b=this.$b.pop();break;case Wn.OG:b=this.Ra.pop().D,b instanceof olympe.dc.Ca.Wk?(b=b.Ca,b.push(a),a=new olympe.dc.Ca.Wk(...b)):a=new olympe.dc.Ca.Wk(b,a),b=this.$b.pop()}b===Wn.$B&&(a=new olympe.dc.Ca.ik(a),this.$b.pop());this.Ra.push(new olympe.dc.Ra.Qf(a));return this}YV(a,b,c){return this.Dm(new olympe.dc.Ca.Lk(Xn(a,
1609
+ this.valueType=b.Ee()||olympe.dc.CloudObject;return this}FM(a){var b=olympe.dc.CloudObject.extendRel;a=new olympe.dc.Ra.zj(b,b.zc(),olympe.dc.Ra.aD.wH,a);this.Ra.push(a);this.valueType=a.Ee()||olympe.dc.CloudObject;return this}bW(a){const b=[];let c;for(let d=0;d<a.length;d++){const e=a[d];b.push(e.ka());void 0===c&&(c=e.zc())}a=new olympe.dc.Ra.iz(b,c);this.Ra.push(a);this.valueType=a.Ee()||olympe.dc.CloudObject;return this}kJ(){this.oc(olympe.dc.CloudObject.instancesRel);return this}Dm(a){var b=
1610
+ this.$b.pop();b===Wn.$B&&(a=new olympe.dc.Ca.ik(a),b=this.$b.pop());switch(b){case Wn.OG:b=this.Ra.pop().D;b instanceof olympe.dc.Ca.Ni?(b=b.Ca,b.push(a),a=new olympe.dc.Ca.Ni(...b)):a=new olympe.dc.Ca.Ni(b,a);b=this.$b.pop();break;case Wn.PG:b=this.Ra.pop().D,b instanceof olympe.dc.Ca.Wk?(b=b.Ca,b.push(a),a=new olympe.dc.Ca.Wk(...b)):a=new olympe.dc.Ca.Wk(b,a),b=this.$b.pop()}b===Wn.$B&&(a=new olympe.dc.Ca.ik(a),this.$b.pop());this.Ra.push(new olympe.dc.Ra.Qf(a));return this}YV(a,b,c){return this.Dm(new olympe.dc.Ca.Lk(Xn(a,
1610
1611
  c),new olympe.dc.cd.gm(b)))}contains(a,b,c=!1,d){return this.Dm(new olympe.dc.Ca.Sn(Xn(a,d),new olympe.dc.cd.gm(b),c))}me(a){if(!(a instanceof Array))throw new Zn('instanceOf','Provided argument "models" must be an array.');const b=[];for(let c=0;c<a.length;c++)b.push(Yn(a[c]));return this.Dm(new olympe.dc.Ca.Pv(b))}JA(a){return this.Dm(new olympe.dc.Ca.Lk(new olympe.dc.cd.pw,new olympe.dc.cd.gm(Yn(a))))}ZV(a){if(!Array.isArray(a))throw Error('ExcludeInstances should be called with an array');if(0<
1611
1612
  a.length){this.Re().JA(a[0]);for(let b=1,c=a.length;b<c;b++)this.and().Re().JA(a[b])}return this}AX(a,b){if(!(a instanceof Array))throw new Zn('hasRelated','Provided argument "relations" must be an array.');const c=[],d=[];a.forEach(e=>{c.push(e);d.push(e.zc())});return this.Dm(new olympe.dc.Ca.rt(c,d,b))}HA(a,b,c){a=Xn(a,c);return this.Dm(new olympe.dc.Ca.Vy(a,new olympe.dc.cd.gm(b)))}ey(a,b,c){a=Xn(a,c);return this.Dm(new olympe.dc.Ca.Iz(a,new olympe.dc.cd.gm(b)))}YX(a,b,c,d){a=Xn(a,d);return this.Dm(new olympe.dc.Ca.mo(a,
1612
- b,c))}filter(a){const b=new class extends olympe.dc.Ca.Sq{C(c,d){return a(olympe.dc.CloudObject.get(d))}};return this.Dm(b)}Re(){this.$b.push(Wn.$B);return this}and(){this.Ra[this.Ra.length-1]instanceof olympe.dc.Ra.Qf&&this.$b.push(Wn.NG);return this}or(){this.Ra[this.Ra.length-1]instanceof olympe.dc.Ra.Qf&&this.$b.push(Wn.OG);return this}lv(a,b,c){a=Yn(a);let d=null;switch(olympe.dc.eb().Wd(a,olympe.dm.Property.typeRel)){case olympe.dm.String.U.ka():d=new olympe.dc.tg.String(new olympe.dc.cd.nw(a,
1613
+ b,c))}filter(a){const b=new class extends olympe.dc.Ca.Sq{C(c,d){return a(olympe.dc.CloudObject.get(d))}};return this.Dm(b)}Re(){this.$b.push(Wn.$B);return this}and(){this.Ra[this.Ra.length-1]instanceof olympe.dc.Ra.Qf&&this.$b.push(Wn.OG);return this}or(){this.Ra[this.Ra.length-1]instanceof olympe.dc.Ra.Qf&&this.$b.push(Wn.PG);return this}lv(a,b,c){a=Yn(a);let d=null;switch(olympe.dc.eb().Wd(a,olympe.dm.Property.typeRel)){case olympe.dm.String.U.ka():d=new olympe.dc.tg.String(new olympe.dc.cd.nw(a,
1613
1614
  c));break;case olympe.dm.Number.U.ka():d=new olympe.dc.tg.Number(new olympe.dc.cd.$v(a,c));break;case olympe.dm.DateTime.U.ka():d=new olympe.dc.tg.DateTime(new olympe.dc.cd.Bv(a,c))}c=d;null!==c&&this.Ra.push(new olympe.dc.Ra.Cr(c,b));return this}sort(a,b,c){const d=new class extends olympe.dc.tg.Sq{O(e,f){return a(olympe.dc.CloudObject.get(f))}compare(e,f){return b(e,f).valueOf()}};this.Ra.push(new olympe.dc.Ra.Cr(d,c));return this}SV(){this.Ra.push(new olympe.dc.Ra.Cv);return this}bn(a,b){this.Ra.push(new olympe.dc.Ra.wt(a,
1614
1615
  b));return this}};class Zn extends Error{constructor(a,b){super(`ListDefBuilder.${a}(): ${b}`)}}function Yn(a){return'string'===typeof a||a instanceof olympe.j.kb?a:'function'===typeof a?olympe.dc.Ja.De(a):olympe.j.Zb(a)?a.Vt===olympe.j.kb?a:olympe.j.Xa([a],b=>olympe.j.ic(olympe.dc.Ya(b)),olympe.j.kb):a.ka()}h=olympe.dc.Mp.prototype;h.ek.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.transform.K=olympe.j.J.C([]);h.jy.K=olympe.j.J.C([]);h.tZ.K=olympe.j.J.C([]);h.mS.K=olympe.j.J.C([]);h.oc.K=olympe.j.J.C([]);
1615
1616
  h.GM.K=olympe.j.J.C([]);h.FM.K=olympe.j.J.C([]);h.bW.K=olympe.j.J.C([]);h.kJ.K=olympe.j.J.C([]);h.Dm.K=olympe.j.J.C([]);h.YV.K=olympe.j.J.C([]);h.contains.K=olympe.j.J.C([]);h.me.K=olympe.j.J.C([]);h.JA.K=olympe.j.J.C([]);h.ZV.K=olympe.j.J.C([]);h.AX.K=olympe.j.J.C([]);h.HA.K=olympe.j.J.C([]);h.ey.K=olympe.j.J.C([]);h.YX.K=olympe.j.J.C([]);h.filter.K=olympe.j.J.C([]);h.Re.K=olympe.j.J.C([]);h.and.K=olympe.j.J.C([]);h.or.K=olympe.j.J.C([]);h.lv.K=olympe.j.J.C([]);h.sort.K=olympe.j.J.C([]);h.SV.K=olympe.j.J.C([]);
1616
- h.bn.K=olympe.j.J.C([]);function Vn(a,b,c){const d=b.Cj();var e=new olympe.dc.query.AT;let f;f=d;olympe.j.Zb(f)&&(f=e.add(d));b=(b=b.AC())?Array.isArray(b)?b:[b]:null;e=olympe.dc.bg.Subscription.O(f,b,e);let g,k,l=null!=(k=null==(g=a.C.get(e))?void 0:g.getSubscription())?k:null;null===l&&(a.V.debug('QueryMGR: new',a.D?'local':'remote','subscription "',e,'": #',`${f},`,b),l=new olympe.dc.bg.Subscription(e,d,b,a.O));l.getContext().run(()=>a.process(l,c));return l}
1617
+ h.bn.K=olympe.j.J.C([]);function Vn(a,b,c){const d=b.Cj();var e=new olympe.dc.query.AT;let f;f=d;olympe.j.Zb(f)&&(f=e.add(d));b=(b=b.BC())?Array.isArray(b)?b:[b]:null;e=olympe.dc.bg.Subscription.O(f,b,e);let g,k,l=null!=(k=null==(g=a.C.get(e))?void 0:g.getSubscription())?k:null;null===l&&(a.V.debug('QueryMGR: new',a.D?'local':'remote','subscription "',e,'": #',`${f},`,b),l=new olympe.dc.bg.Subscription(e,d,b,a.O));l.getContext().run(()=>a.process(l,c));return l}
1617
1618
  function $n(a,b){if(b.W())a.V.debug('ListProcessor: [ID:',b.ja(),'] - Subscription already booted, ignoring');else{a.V.debug('ListProcessor: [ID:',b.ja(),'] - Booting subscription');var c=new olympe.dc.dg.lL(a.db,a.V),d=b.ja();olympe.j.Wa([b.Cj()],e=>{const f=olympe.dc.Ya(e);a.V.debug('ListProcessor: [ID:',b.ja(),'] - Booting with baseTag',f);b.Hg()||b.cf();qh(a.db,f,ao(a,b,c),d);olympe.j.yb().Ve(()=>nh(a.db,f,d));a.db.tc(f.valueOf())||bo(c);b.W()||(bo(c),b.Eb([]))})}}
1618
1619
  function co(a,b,c,d,e){const f=[b.Cj()],g=m=>m instanceof olympe.dc.Ra.ro;let k;const l=(null!=(k=b.bs())?k:[]).filter(g);for(const m of l){f.push(m.Cj());let n;l.push(...(null!=(n=m.bs())?n:[]).filter(g))}olympe.j.Wa(f,()=>{const m=b.Yc(c);eo(a,m,b.ja(),d,e)})}
1619
1620
  function eo(a,b,c,d,e){a.V.debug('CoverageProcessor: [ID:',c,'] - checking coverage of remote query over',b.length,'paths.');const f=olympe.j.yb(),g=new olympe.async.wz(f);b.forEach(k=>{g.add((l,m)=>{let n=!1;qk(a.R,k,f,olympe.dc.Jc.SELF,olympe.dc.nb.Jf.cm,{jg:e}).subscribe(rxjs.Subscriber.create(()=>{n||(n=!0,f.run(l))},p=>f.run(()=>m(`The query ${c} is not covered by an existing graphdef, `+`and the specific graphdef id ${k.ja()} has encountered an error: ${p}`))))})});rd(g,(k,l)=>d(l));g.start()}
@@ -1624,7 +1625,7 @@ $n(this,a)):co(this,a,d,e=>{e?this.V.error(e):$n(this,a)},b))}};function jo(a){r
1624
1625
  olympe.dc.query.AT=class{constructor(){this.uid=0;this.values=null}add(a){let b;b=olympe.j.Zb(a)?'n'+a.Tb.ja():'p'+ ++this.uid;null===this.values&&(this.values={});this.values[b]=a;return b}get(a){return this.values[a]}clear(){const a=this.values;if(null!==a)for(let b=Object.keys(a),c=b.length,d=0;d<c;d++)delete a[b[d]]}forEach(a){const b=this.values;if(null!==b)for(let c=Object.keys(b),d=c.length,e=0;e<d;e++)a(b[c[e]],c[e])}};olympe.dc.Yb=class{bb(){}C(){}D(){}fb(){}toString(){}};olympe.dc.bg.Subscription=class a extends olympe.j.py{constructor(b,c,d,e){super(olympe.dc.CloudObject,new olympe.j.ee('context subscription '+b,e));this.id=b;this.qc=c;this.Ra=d||null;this.O=this.T.run(()=>olympe.j.la(olympe.dc.bg.Subscription.C.INIT));this.xb=!1;this.ca=this.ob=null}static O(b,c,d){let e;try{e=b;if(c)for(let f=0,g=c.length;f<g;f++)e+='|'+c[f].fb(d);else e+='|null';e=olympe.oa.Xd(e)}catch(f){e=olympe.oa.bf()}return e}ja(){return this.id}Cj(){return this.qc}bs(){return this.Ra}vg(){const b=
1625
1626
  olympe.dc.Kj(),c=olympe.j.Qa(this.Cj());let d;return olympe.dc.CloudObject.instancesRel.Rb(null==(d=this.Ra)?void 0:d[0])?b.fromModel(c):b.Em(c)}Hg(){const b=olympe.j.Qa(this.O);return b&&b.valueOf()>=olympe.dc.bg.Subscription.C.cL}cf(){if(this.O.Tb.lc())throw Error(`Cannot set destroyed subscription '${this.id}' as subscribed`);const b=this.ob;this.ob=null;for(let c in b)if(Object.prototype.hasOwnProperty.call(b,c))b[c](this);K(this.O,olympe.j.la(olympe.dc.bg.Subscription.C.cL))}Pb(){return olympe.j.Xa([this.O],
1626
1627
  ()=>{},olympe.j.ia)}W(){const b=F(this.O);return b&&b.valueOf()>=olympe.dc.bg.Subscription.C.Dt}Ii(b,c){this.W()?b(this):(null===this.ca&&(this.ca=new Map),void 0===c&&(c=olympe.oa.bf()),this.ca.set(c,olympe.j.yb().re(b)));return c||''}PA(b){null!==this.ca&&b&&this.ca.delete(b)}sb(){const b=olympe.dc.bg.Subscription.C.Dt;if(!this.O.Tb.lc()&&olympe.j.Qa(this.O)!==b&&(this.uo(),K(this.O,b),null!==this.ca)){for(const c of this.ca.values())c(this);this.ca=null}}onDestroy(b){this.T.onDestroy(b)}kc(){this.T.destroy()}Eb(b){if(!this.O.Tb.lc()){for(let c=
1627
- 0,d=b.length;c<d;c++)this.Wz(b[c],c);if(this.W())this.uo();else{this.xb=b=!0;for(let c in this.D)if(Object.prototype.hasOwnProperty.call(this.D,c)&&!Object.prototype.hasOwnProperty.call(this.values,c)){b=!1;break}b&&this.sb()}}}ld(b,c){if(!this.O.Tb.lc()&&(this.Vz(b,olympe.dc.CloudObject.get(c)),b=this.W(),this.xb&&!b)){b=!0;for(let d in this.D)if(Object.prototype.hasOwnProperty.call(this.D,d)&&!Object.prototype.hasOwnProperty.call(this.values,d)){b=!1;break}b&&this.sb()}}Yh(b){this.O.Tb.lc()||(this.wD(b),
1628
+ 0,d=b.length;c<d;c++)this.Wz(b[c],c);if(this.W())this.uo();else{this.xb=b=!0;for(let c in this.D)if(Object.prototype.hasOwnProperty.call(this.D,c)&&!Object.prototype.hasOwnProperty.call(this.values,c)){b=!1;break}b&&this.sb()}}}ld(b,c){if(!this.O.Tb.lc()&&(this.Vz(b,olympe.dc.CloudObject.get(c)),b=this.W(),this.xb&&!b)){b=!0;for(let d in this.D)if(Object.prototype.hasOwnProperty.call(this.D,d)&&!Object.prototype.hasOwnProperty.call(this.values,d)){b=!1;break}b&&this.sb()}}Yh(b){this.O.Tb.lc()||(this.xD(b),
1628
1629
  this.uw(b,!this.W()))}jr(){return this.W()?super.jr():'Subscription is not ready!'}Yc(b){const c=olympe.j.Qa(this.Cj());return olympe.dc.bg.Subscription.D(c,b,this.bs())}static D(b,c,d){var e=olympe.dc.nb.from(b,c).Zi();if(null===d)return[e];b=[];b.push(e);for(let f=0,g=d.length;f<g;f++)if(e=d[f],e instanceof olympe.dc.Ra.um){const k=olympe.dc.query.Relation.from(e);b=b.map(l=>l.oc(k,!0))}else if(e instanceof olympe.dc.Ra.zj){const k=olympe.dc.query.Relation.from(e);b=b.map(l=>l.Yp(k,!0,!0))}else if(e instanceof
1629
1630
  olympe.dc.Ra.ro)e=a.D(olympe.j.Qa(e.Cj()),c,e.bs()),b.push(...e);else if(e instanceof olympe.dc.Ra.Qf||e instanceof olympe.dc.Ra.Cr){const k=e.O();b=b.map(l=>{for(const m of k){for(const n of m)l=n.recursive?l.Yp(n,!0,!0):l.oc(n,!0);l=l.back(m.length)}return l})}return b}};olympe.dc.bg.Subscription.C={INIT:0,cL:1,Dt:2};olympe.dc.bg.Subscription.prototype.jr.K=olympe.j.J.O;function io(a){const b=a.C;a.C=!0;return b}olympe.dc.bg.xU=class{constructor(a){this.counter=0;this.C=!1;this.D=a}getSubscription(){return this.D}};olympe.dc.qo=class{bb(){}Ee(){}C(){}fb(){}toString(){}};olympe.dc.iK=class{O(){}};olympe.dc.Rz=class{bb(){}getValue(){}C(){}fb(){}toString(){}};olympe.dc.tg={};let lo=0;olympe.dc.tg.Sq=class{constructor(){this.id=lo++}bb(){return'CustomLocalComparator#'+lo}R(){return[]}O(){throw Error('GetComparedValue function was not implemented.');}compare(){throw Error('Compare function was not implemented.');}fb(){return`{"c":"${this.bb()}"}`}toString(){return this.bb()+'()'}};olympe.dc.tg.Sq.Aa=[olympe.dc.Qn];olympe.dc.tg.DateTime=class{constructor(a){this.C=a}bb(){return Lh(olympe.dc.tg.DateTime)}R(){return this.C.C()}O(a,b){return this.C.getValue(a,b)}compare(a,b){if(!a)return b?-1:0;if(!b)return 1;a=a.getTime();b=b.getTime();return a!==b?a>b?1:-1:0}fb(a){return'{"c":"'+this.bb()+'",a:['+this.C.fb(a)+']}'}toString(){return'Number('+this.C.toString()+')'}};X('olympe.dc.comparators.DateTime',olympe.dc.tg.DateTime);olympe.dc.tg.DateTime.Aa=[olympe.dc.Qn];olympe.dc.tg.Number=class{constructor(a){this.C=a}bb(){return Lh(olympe.dc.tg.Number)}R(){return this.C.C()}O(a,b){return this.C.getValue(a,b)}compare(a,b){return a!==b?a>b?1:-1:0}fb(a){return`{"c":"${this.bb()}",a:[${this.C.fb(a)}]}`}toString(){return`Number(${this.C.toString()})`}};X('olympe.dc.comparators.Number',olympe.dc.tg.Number);olympe.dc.tg.Number.Aa=[olympe.dc.Qn];olympe.dc.tg.String=class{constructor(a){this.C=a}bb(){return Lh(olympe.dc.tg.String)}R(){return this.C.C()}O(a,b){return olympe.j.Xa([this.C.getValue(a,b)],c=>c.toLowerCase(),olympe.j.kb)}compare(a,b){return void 0===a?void 0===b?0:1:a!==b?a>b?1:-1:0}fb(a){return`{"c":"${this.bb()}",a:[${this.C.fb(a)}]}`}toString(){return`String(${this.C.toString()})`}};X('olympe.dc.comparators.String',olympe.dc.tg.String);olympe.dc.tg.String.Aa=[olympe.dc.Qn];olympe.dc.Ca={};let mo=0;olympe.dc.Ca.Sq=class{constructor(){this.id=mo++}bb(){return'CustomLocalPredicate#'+this.id}D(){return[]}C(){throw Error('Test function was not implemented.');}fb(){return`{"c":"${this.bb()}"}`}toString(){return this.bb()+'()'}};olympe.dc.Ca.Sq.Aa=[olympe.dc.Yb];olympe.dc.Ca.yB=class{constructor(a,b){this.O=a;this.R=b}bb(){}D(){return[this.O.C(),this.R.C()]}C(a,b){return a.run(()=>olympe.j.Xa([this.O.getValue(a,b),this.R.getValue(a,b)],(c,d)=>{c=c.valueOf();d=d.valueOf();return olympe.j.hc(this.T('string'===typeof c?c:Number(c),'string'===typeof d?d:Number(d)))},olympe.j.ia))}T(){}fb(a){return'{"c":"'+this.bb()+'","a":['+this.O.fb(a)+','+this.R.fb(a)+']}'}toString(){return this.bb().replace(/^.+\./,'')+'('+this.O.toString()+','+this.R.toString()+')'}};
1630
1631
  olympe.dc.Ca.yB.Aa=[olympe.dc.Yb];olympe.dc.Ca.Ni=class{constructor(a){this.Ca=[];for(let b=arguments.length,c=0;c<b;c++)Array.isArray(arguments[c])?this.Ca=this.Ca.concat(arguments[c]):this.Ca.push(arguments[c])}bb(){return Lh(olympe.dc.Ca.Ni)}D(){return this.Ca.reduce((a,b)=>a.concat(b.D()),[])}C(a,b){return a.run(()=>olympe.j.Xa(this.Ca.map(c=>c.C(a,b)),(...c)=>olympe.j.hc(c.every(d=>d.valueOf())),olympe.j.ia))}fb(a){const b=this.Ca.map(c=>c.fb(a));return'{"c":"'+this.bb()+'","a":['+b.join(',')+']}'}toString(){return'And('+this.Ca.map(a=>
@@ -1633,18 +1634,18 @@ return this.bb().replace(/^.+\./,'')+'('+a.toString()+','+this.value.toString()+
1633
1634
  return'{"c":"'+this.bb()+'","a":['+b+','+c+','+a+']}'}toString(){const a=jo(this.O);return'Contains('+this.source.toString()+','+this.value.toString()+','+a+')'}};X('olympe.dc.predicates.Contains',olympe.dc.Ca.Sn);olympe.dc.Ca.Sn.Aa=[olympe.dc.Yb];olympe.dc.Ca.Lk=class{constructor(a,b){this.O=a;this.R=b}bb(){return Lh(olympe.dc.Ca.Lk)}D(){return[this.O.C(),this.R.C()]}C(a,b){return a.run(()=>olympe.j.Xa([this.O.getValue(a,b),this.R.getValue(a,b)],(c,d)=>'object'===typeof c&&void 0!==c.Se?c.Se(d):'object'===typeof d&&void 0!==d.Se?d.Se(c):olympe.j.hc(c.valueOf()===d.valueOf()),olympe.j.ia,'Test equal predicate'))}fb(a){return'{"c":"'+this.bb()+'","a":['+this.O.fb(a)+','+this.R.fb(a)+']}'}toString(){return'Equals('+this.O.toString()+','+this.R.toString()+
1634
1635
  ')'}};X('olympe.dc.predicates.Equals',olympe.dc.Ca.Lk);olympe.dc.Ca.Lk.Aa=[olympe.dc.Yb];olympe.dc.Ca.HQ=class extends olympe.dc.Ca.Lk{constructor(a,b){super(a,new olympe.dc.cd.gm(b))}};olympe.dc.Ca.HQ.Aa=[olympe.dc.Yb];olympe.dc.Ca.Vy=class extends olympe.dc.Ca.yB{constructor(a,b){super(a,b)}bb(){return Lh(olympe.dc.Ca.Vy)}T(a,b){return a>b}};X('olympe.dc.predicates.Greater',olympe.dc.Ca.Vy);olympe.dc.Ca.rt=class{constructor(a,b,c){this.md=[];this.O=c instanceof Array?c:void 0!==c?[olympe.dc.Ya(c)]:[];a=Array.isArray(a)?a:[a];for(let d=0,e=a.length;d<e;d++)c=a[d],c instanceof olympe.dc.Ra.zj?this.md.push(new no(c.ka(),c.zc(),c.O,c.D)):this.md.push(new no(olympe.dc.Ya(c),b[d],1,1))}bb(){return Lh(olympe.dc.Ca.rt)}D(){return[this.md.reduce((a,b)=>a.concat(b),[])]}C(a,b){const c=a.run(()=>M(olympe.j.Za(Boolean),!1)),d=olympe.oa.bf(),e=olympe.dc.eb();let f=0;a=(k,l)=>{0!==this.O.length&&
1635
1636
  !this.O.includes(l)||c.getContext().lc()||c.getContext().$f()||(f+=k?1:-1,c.update(0<f))};const g=this.md;for(let k=g.length-1;0<=k;k--)a=oo(g[k],e,a,d+k);qh(e,b,a,d);c.getContext().onDestroy(()=>{nh(e,b,d)});return c.wa()}fb(){return'{"c":"'+this.bb()+'","a":['+JSON.stringify(this.md.map(a=>a.fb()))+(0!==this.O.length?',"'+this.O.toString():'')+'"]}'}toString(){return'HasRelated('+(0!==this.O.length?'#'+this.O.toString()+', ':'')+this.md.map(a=>a.fb())+')'}};X('olympe.dc.predicates.HasRelated',olympe.dc.Ca.rt);
1636
- function oo(a,b,c,d){const e=Object.create(null);d+=olympe.oa.pk();const f=(g,k,l)=>{l>=a.D&&c(g,k);if(!(0<=a.C&&l>=a.C)){var m=d+l;g?e[k]||(e[k]=!0,Ui(b,k,a,(n,p)=>{f(n,p,l+1)},m)):(delete e[k],b.D(k,a,m))}};return(g,k)=>f(g,k,0)}class no extends olympe.dc.query.Relation{constructor(a,b,c,d){super(a,b,1!==c||1!==d);this.D=c;this.C=d}fb(){return`${this.ka()}, ${this.zc()}, ${this.D}, ${this.C}`}}olympe.dc.Ca.rt.Aa=[olympe.dc.Yb];olympe.dc.Ca.mC=class{constructor(a,b,c){this.md=[];this.O=void 0!==c?c.map(olympe.dc.Ya):null;a=Array.isArray(a)?a:[a];for(let d=0,e=a.length;d<e;d++)c=a[d],c instanceof olympe.dc.Ra.zj?this.md.push(new po(c.ka(),c.zc(),c.O,c.D)):this.md.push(new po(olympe.dc.Ya(c),b[d],1,1))}bb(){return Lh(olympe.dc.Ca.mC)}D(){return[this.md.reduce((a,b)=>a.concat(b),[])]}C(a,b){const c=a.run(()=>M(olympe.j.Za(Boolean),!1)),d=olympe.dc.eb(),e=olympe.oa.pk();let f=(l,m,n)=>{m&&(null===this.O||this.O.includes(n))&&
1637
- l(1)};const g=this.md;for(let l=g.length-1;0<=l;l--)f=qo(g[l],d,f,e+l);let k=0;qh(d,b,f.bind(null,l=>{c.getContext().$f()||c.getContext().lc()||(k+=l,c.update(0<k))}),e);a.onDestroy(()=>nh(d,b,e));return c.wa()}fb(){return'{"c":"'+this.bb()+'","a":['+JSON.stringify(this.md.map(a=>a.fb()))+(null!==this.O?',"'+this.O.toString():'')+'"]}'}toString(){return'HasRelatedTree('+(null!==this.O?'#['+this.O.toString()+'], ':'')+this.md.map(a=>a.fb())+')'}};X('olympe.dc.predicates.HasRelatedTree',olympe.dc.Ca.mC);
1637
+ function oo(a,b,c,d){const e=Object.create(null);d+=olympe.oa.pk();const f=(g,k,l)=>{l>=a.D&&c(g,k);if(!(0<=a.C&&l>=a.C)){var m=d+l;g?e[k]||(e[k]=!0,Ui(b,k,a,(n,p)=>{f(n,p,l+1)},m)):(delete e[k],b.D(k,a,m))}};return(g,k)=>f(g,k,0)}class no extends olympe.dc.query.Relation{constructor(a,b,c,d){super(a,b,1!==c||1!==d);this.D=c;this.C=d}fb(){return`${this.ka()}, ${this.zc()}, ${this.D}, ${this.C}`}}olympe.dc.Ca.rt.Aa=[olympe.dc.Yb];olympe.dc.Ca.nC=class{constructor(a,b,c){this.md=[];this.O=void 0!==c?c.map(olympe.dc.Ya):null;a=Array.isArray(a)?a:[a];for(let d=0,e=a.length;d<e;d++)c=a[d],c instanceof olympe.dc.Ra.zj?this.md.push(new po(c.ka(),c.zc(),c.O,c.D)):this.md.push(new po(olympe.dc.Ya(c),b[d],1,1))}bb(){return Lh(olympe.dc.Ca.nC)}D(){return[this.md.reduce((a,b)=>a.concat(b),[])]}C(a,b){const c=a.run(()=>M(olympe.j.Za(Boolean),!1)),d=olympe.dc.eb(),e=olympe.oa.pk();let f=(l,m,n)=>{m&&(null===this.O||this.O.includes(n))&&
1638
+ l(1)};const g=this.md;for(let l=g.length-1;0<=l;l--)f=qo(g[l],d,f,e+l);let k=0;qh(d,b,f.bind(null,l=>{c.getContext().$f()||c.getContext().lc()||(k+=l,c.update(0<k))}),e);a.onDestroy(()=>nh(d,b,e));return c.wa()}fb(){return'{"c":"'+this.bb()+'","a":['+JSON.stringify(this.md.map(a=>a.fb()))+(null!==this.O?',"'+this.O.toString():'')+'"]}'}toString(){return'HasRelatedTree('+(null!==this.O?'#['+this.O.toString()+'], ':'')+this.md.map(a=>a.fb())+')'}};X('olympe.dc.predicates.HasRelatedTree',olympe.dc.Ca.nC);
1638
1639
  function qo(a,b,c,d){const e=a.O,f=a.T,g=new Set,k=(m,n,p)=>{f.has(n)?f.get(n).set(d+p,m):f.set(n,(new Map).set(d+p,m))},l=(m,n,p,r,t)=>{const u=olympe.oa.pk();if(r){const v=p+t,w=x=>{const y=f.get(t);if(g.has(v))throw Error(`Try to use the predicate HasRelatedTree with recursion in a graph cluster containing a loop around instances ${p} and ${t}`);void 0!==y&&null!==y&&(g.add(v),e.set(t,(e.get(t)||0)+x),Array.from(y.values()).forEach(A=>A(x)));g.delete(v)};k(m,t,p);e.has(t)?m(e.get(t)):(n>=a.D&&
1639
- c(x=>{e.set(t,(e.get(t)||0)+x);m(x)},r,t),(0>a.C||n<=a.C)&&t!==p&&Ui(b,t,a,l.bind(a,w,n+1,t),u))}else m(-e.get(t)),f.get(t).delete(d+p),0===f.get(t).size&&(e.delete(t),f.delete(t),b.D(t,a,u))};return(m,n,p)=>l(m,0,'origin',n,p)}class po extends olympe.dc.query.Relation{constructor(a,b,c,d){super(a,b,1!==c||1!==d);this.D=c;this.C=d;this.T=new Map;this.O=new Map}fb(){return`${this.ka()}, ${this.zc()}, ${this.D}, ${this.C}`}}olympe.dc.Ca.mC.Aa=[olympe.dc.Yb];olympe.dc.Ca.Pv=class{constructor(a){this.O=new Set;a instanceof Array?a.forEach(b=>{this.O.add(olympe.dc.Ya(b))}):this.O.add(olympe.dc.Ya(a))}bb(){return Lh(olympe.dc.Ca.Pv)}D(){return[]}C(a,b){const c=a.run(()=>M(olympe.j.Za(olympe.j.ia),olympe.j.ia.pb)),d=olympe.dc.eb();let e=[];const f=()=>{e.forEach(k=>{d.D(k.tag,k.relation,k.id)});e=[]},g=(k,l)=>{if(k)if(l===olympe.dc.Ya(olympe.dc.CloudObject))c.update(olympe.j.hc(this.O.has(l))),f();else{for(const m of e)if(m.tag===l)throw Error(`You should never extend a model to itself (${l})`);
1640
+ c(x=>{e.set(t,(e.get(t)||0)+x);m(x)},r,t),(0>a.C||n<=a.C)&&t!==p&&Ui(b,t,a,l.bind(a,w,n+1,t),u))}else m(-e.get(t)),f.get(t).delete(d+p),0===f.get(t).size&&(e.delete(t),f.delete(t),b.D(t,a,u))};return(m,n,p)=>l(m,0,'origin',n,p)}class po extends olympe.dc.query.Relation{constructor(a,b,c,d){super(a,b,1!==c||1!==d);this.D=c;this.C=d;this.T=new Map;this.O=new Map}fb(){return`${this.ka()}, ${this.zc()}, ${this.D}, ${this.C}`}}olympe.dc.Ca.nC.Aa=[olympe.dc.Yb];olympe.dc.Ca.Pv=class{constructor(a){this.O=new Set;a instanceof Array?a.forEach(b=>{this.O.add(olympe.dc.Ya(b))}):this.O.add(olympe.dc.Ya(a))}bb(){return Lh(olympe.dc.Ca.Pv)}D(){return[]}C(a,b){const c=a.run(()=>M(olympe.j.Za(olympe.j.ia),olympe.j.ia.pb)),d=olympe.dc.eb();let e=[];const f=()=>{e.forEach(k=>{d.D(k.tag,k.relation,k.id)});e=[]},g=(k,l)=>{if(k)if(l===olympe.dc.Ya(olympe.dc.CloudObject))c.update(olympe.j.hc(this.O.has(l))),f();else{for(const m of e)if(m.tag===l)throw Error(`You should never extend a model to itself (${l})`);
1640
1641
  this.O.has(l)?(c.update(olympe.j.ia.C),f()):(k=new ro(l,olympe.dc.CloudObject.extendRel),e.push(k),Ui(d,k.tag,k.relation,g,k.id))}};a=new ro(b,olympe.dc.CloudObject.modelRel);e.push(a);Ui(d,a.tag,a.relation,g,a.id);c.getContext().onDestroy(f);return c.wa()}fb(){return'{"c":"'+this.bb()+'","a":['+JSON.stringify(Array.from(this.O))+']}'}toString(){return'InstanceOf('+Array.from(this.O).join(', ')+')'}};class ro{constructor(a,b){this.tag=a;this.relation=b;this.id=olympe.oa.pk()}}
1641
1642
  X('olympe.dc.predicates.InstanceOf',olympe.dc.Ca.Pv);olympe.dc.Ca.Pv.Aa=[olympe.dc.Yb];olympe.dc.Ca.ik=class{constructor(a){this.O=a}bb(){return Lh(olympe.dc.Ca.ik)}D(){return this.O.D()}C(a,b){return a.run(()=>olympe.j.Xa([this.O.C(a,b)],c=>olympe.j.hc(!c.valueOf()),olympe.j.ia))}fb(a){return`{"c":"${this.bb()}","a":[${this.O.fb(a)}]}`}toString(){return'Not('+this.O.toString()+')'}};X('olympe.dc.predicates.Not',olympe.dc.Ca.ik);olympe.dc.Ca.ik.Aa=[olympe.dc.Yb];olympe.dc.Ca.Wk=class{constructor(a){this.Ca=[];for(let b=arguments.length,c=0;c<b;c++)Array.isArray(arguments[c])?this.Ca=this.Ca.concat(arguments[c]):this.Ca.push(arguments[c])}bb(){return Lh(olympe.dc.Ca.Wk)}D(){return this.Ca.reduce((a,b)=>a.concat(b.D()),[])}C(a,b){return a.run(()=>olympe.j.Xa(this.Ca.map(c=>c.C(a,b)),(...c)=>olympe.j.hc(c.some(d=>d.valueOf())),olympe.j.ia))}fb(a){const b=this.Ca.map(c=>c.fb(a));return'{"c":"'+this.bb()+'","a":['+b.join(',')+']}'}toString(){return'Or('+this.Ca.map(a=>
1642
1643
  a.toString()).join(',')+')'}};X('olympe.dc.predicates.Or',olympe.dc.Ca.Wk);olympe.dc.Ca.Wk.Aa=[olympe.dc.Yb];olympe.dc.Ca.mo=class{constructor(a,b,c){this.source=a;this.R=b;this.O=void 0===c?!0:c}bb(){return Lh(olympe.dc.Ca.mo)}D(){return[this.source.C()]}Sd(){return this.source}C(a,b){return a.run(()=>olympe.j.Xa([this.source.getValue(a,b),this.R,this.O],(c,d,e)=>{c=String(c);d=String(d);e.valueOf()||(c=c.toLowerCase(),d=d.toLowerCase());return olympe.j.hc((new RegExp(d)).test(c))},olympe.j.ia))}fb(a){const b=this.source.fb(a),c=ko(a,this.R);a=ko(a,this.O);return'{"c":"'+this.bb()+'","a":['+b+','+c+','+
1643
1644
  a+']}'}toString(){const a=jo(this.O);return'Regex('+this.source.toString()+','+this.R+','+a+')'}};X('olympe.dc.predicates.Regex',olympe.dc.Ca.mo);olympe.dc.Ca.mo.Aa=[olympe.dc.Yb];olympe.dc.Ca.Iz=class extends olympe.dc.Ca.yB{constructor(a,b){super(a,b)}bb(){return Lh(olympe.dc.Ca.Iz)}T(a,b){return a<b}};X('olympe.dc.predicates.Smaller',olympe.dc.Ca.Iz);olympe.dc.dg={};olympe.dc.dg.vy=class{constructor(){this.W=this.item=this.R=this.D=null}T(){return null!==this.D}$(a){if(null!==this.D)throw Error('Manager already activated (depth='+this.D+')');this.D=a;this.O()}C(a,b,c){b=this.item;if(a&&null!==b)throw Error('The AutoManger handles only a single item.');a?(b=new olympe.dc.dg.Ny(this),this.R=c,this.item=b):this.item=this.R=null;return b}O(){if(null===this.D)throw Error('Manager not activated, need to set a depth before updating ranks');if(null!==this.W){const a=
1644
1645
  [];null!==this.item&&(0<=this.D?so(to(this.item,this.D),a):a.push(this.R));this.W(a)}}Nq(a){this.W=a}};olympe.dc.dg.vy.Aa=[olympe.dc.dg.Cc];function ho(a,b,c,d){b?a.T[d]=c:delete a.T[d];null===a.D&&(a.D=new olympe.dc.dg.Ny(a.Na,a));return a.D}function to(a,b){for(let c=0;c<b;c++)if(null!==a.D)a=a.D;else break;return a}function so(a,b){a=a.T;if(null!==a)for(let c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c)}olympe.dc.dg.Ny=class{constructor(a,b){this.Na=a;this.parent=b||null;this.depth=b?b.depth+1:0;this.T=Object.create(null);this.D=null}rk(){return this.Na}Up(){this.Na.T()?this.Na.O():this.Na.$(this.depth-1)}};class uo extends olympe.dc.dg.Ny{constructor(a,b,c){super(a);this.R=b;this.tag=c;this.$=this.W=this.O=!1;this.C=null}}
1645
1646
  function vo(a,b,c,d,e){const f=Object.create(null),g=a.ma,k=a.R;let l,m,n;a.da=!0;m=0;for(n=g.length;m<n;m++)f[g[m]]=null;g.length=0;m=c;for(n=Math.min(b.length,d);m<n;m++)l=b[m],c=k[l],void 0!==c&&(delete f[l],g.push(l),c.O||(c.O=!0,e(!0,c.tag,c.R,c)));for(l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c=k[l],c.O&&(c.O=!1,e(!1,c.tag,c.R,c)),c.W&&(c.C=null,delete k[l]),delete f[l]);a.da=!1;null!==a.D&&a.O()}
1646
- olympe.dc.dg.IC=class{constructor(){this.R={};this.ma=[];this.D=null;this.da=!1;this.W=[];this.ca=null}T(){return null!==this.D}$(a){if(null!==this.D)throw Error('Manager already activated (depth='+this.D+')');this.D=a;this.O()}O(){if(null===this.D)throw Error('Manager not activated, need to set a depth before updating ranks');if(!this.da){var a=this.ma,b=a.length,c=this.R,d;for(d=this.W.length=0;d<b;d++){var e=c[a[d]];if(0>this.D)this.W.push(e.R);else{if(!e.$){var f=e,g=this.D;f.$=!0;f.C=to(f,g)}null!==
1647
- e.C&&so(e.C,this.W)}}this.ca&&this.ca(this.W)}}Nq(a){this.ca=a}C(a,b,c){let d=this.R[c];a?void 0===d?(d=new uo(this,c,b),this.R[c]=d):(d.tag=b,d.W=!1):void 0!==d&&(d.W=!0);return d}};olympe.dc.dg.IC.Aa=[olympe.dc.dg.Cc];olympe.dc.dg.Cc=class{constructor(){}C(){}T(){}$(){}O(){}Nq(){}};function wo(a,b){olympe.j.Mg(a.value)?(a.C=olympe.j.cg(a.value,b),Sb(a.C)||b()):b()}function xo(a,b){if(olympe.j.Mg(a.value)){const c=olympe.j.yb(),d=a.R;olympe.j.Wa([a.value],e=>{d!==e.valueOf()&&(c.run(()=>wo(a,b)),olympe.j.yb().destroy())})}}
1647
+ olympe.dc.dg.JC=class{constructor(){this.R={};this.ma=[];this.D=null;this.da=!1;this.W=[];this.ca=null}T(){return null!==this.D}$(a){if(null!==this.D)throw Error('Manager already activated (depth='+this.D+')');this.D=a;this.O()}O(){if(null===this.D)throw Error('Manager not activated, need to set a depth before updating ranks');if(!this.da){var a=this.ma,b=a.length,c=this.R,d;for(d=this.W.length=0;d<b;d++){var e=c[a[d]];if(0>this.D)this.W.push(e.R);else{if(!e.$){var f=e,g=this.D;f.$=!0;f.C=to(f,g)}null!==
1648
+ e.C&&so(e.C,this.W)}}this.ca&&this.ca(this.W)}}Nq(a){this.ca=a}C(a,b,c){let d=this.R[c];a?void 0===d?(d=new uo(this,c,b),this.R[c]=d):(d.tag=b,d.W=!1):void 0!==d&&(d.W=!0);return d}};olympe.dc.dg.JC.Aa=[olympe.dc.dg.Cc];olympe.dc.dg.Cc=class{constructor(){}C(){}T(){}$(){}O(){}Nq(){}};function wo(a,b){olympe.j.Mg(a.value)?(a.C=olympe.j.cg(a.value,b),Sb(a.C)||b()):b()}function xo(a,b){if(olympe.j.Mg(a.value)){const c=olympe.j.yb(),d=a.R;olympe.j.Wa([a.value],e=>{d!==e.valueOf()&&(c.run(()=>wo(a,b)),olympe.j.yb().destroy())})}}
1648
1649
  class yo extends olympe.dc.dg.Ny{constructor(a,b,c){super(a);this.$=b;this.value=c;this.R=this.Qa();this.position=this.C=null;this.W=!1;this.O=null}Qa(){const a=olympe.j.Qa(this.value);return a?a.valueOf():a}destroy(){this.C&&(this.C.destroy(),this.C=null);this.O=this.value=null}lc(){return null===this.value}}
1649
1650
  function zo(a,b){if(!b.lc()){var c=a.D;var d=a.ma,e=b.Qa(),f=0;let g=c.length,k=0,l;for(null!==b.position&&--g;g>f;){k=Math.floor((f+g)/2);l=d(c[k].R,e);if(0===l||2>g-f){0>l&&null!==b.position&&b.position<=k&&(l=d(c[g].R,e));k=0>l?g:k;break}0>l?f=k:g=k}c=k;b.R=b.Qa();if(c!==b.position){d=a.D;e=d.length;f=b.position;null===f&&(f=e);if(c<f)for(e=f;e>c;e--)d[e]=d[e-1],d[e].position=e;else for(e=f;e<c;e++)d[e]=d[e+1],d[e].position=e;d[c]=b;d[c].position=c;b.W&&a.O()}}}
1650
1651
  function Ao(a){const b=a.ma;a.D.sort((c,d)=>b(c.Qa(),d.Qa()))}
@@ -1656,11 +1657,11 @@ olympe.dc.dg.lL=class{constructor(a,b){this.db=a;this.V=b||null;this.R=Object.cr
1656
1657
  class Ho{constructor(a,b){this.id=a;this.parent=b||null;this.C=this.R=this.D=this.children=null;this.O=!1}ja(){return this.id}Up(a){const b=this.R;if(this.O||this.C===a||null===a)b&&b(),!b&&Bo(this)}notify(a){const b=this.D,c=this.children;if(this.O)b&&b();else if(!c[a]){a=c[a]=!0;for(let d in c)if(!c[d]){a=!1;break}a&&b&&b()}}};olympe.dc.cd={};function Lo(a,b,c,d){const e=olympe.dc.eb(),f=new olympe.dc.dg.vy,g=new olympe.dc.dg.lL(e);let k=!1;const l=Object.create(null),m=r=>{if(0<r.length)for(const t in l)r[0]===t&&d(l[t])};let n=(r,t,u,v)=>{a.$f()||a.lc()||(k||(fo(g,()=>{v.Up();bo(g)}),v.rk().Nq(m),k=!0),r?l[u]=t:delete l[u],go(g,u))};if(null!==c)for(let r=c.length-1;0<=r;r--)n=c[r].C(a,g,n);const p=olympe.oa.bf();qh(e,b,(r,t)=>{g.register(p,null);const u=f.C(r,b,p,null);n(r,t,p,ho(u,r,b,p))},p);a.onDestroy(()=>{nh(e,b,p)});e.tc(b)||bo(g)}
1657
1658
  function Mo(a,b,c){const d=c.getContext(),e=olympe.dc.eb(),f=a.O(),g=Pi(e,b,a.R,d.re(k=>{null!==k&&(k=f(k));null===k?c.clear():c.update(k)}));d.onDestroy(()=>Qi(e,b,a.R,g))}
1658
1659
  olympe.dc.cd.vv=class{constructor(a,b,c){this.R=a&&a.ka?a.ka():a;this.Ra=b&&b.filter(d=>d instanceof olympe.dc.Ra.um||d instanceof olympe.dc.Ra.zj)||null;this.D=c||null;this.defaultValue=null}bb(){}Ee(){}O(){}C(){return(this.Ra||[]).reduce((a,b)=>a.concat(olympe.dc.query.Relation.from(b)),[])}kj(a){this.defaultValue=a;return this}bs(){return this.Ra}Cj(){return this.D}getValue(a,b){const c=a.run(()=>olympe.j.Za(this.Ee()||Object,'AbstractProperty valueType'));null!==this.defaultValue&&M(c,this.defaultValue);
1659
- b=this.D||b;null!==this.Ra?Lo(a,b,this.Ra,d=>{Mo(this,d,c)}):Mo(this,b,c);return c.wa()}fb(a){const b=ko(a,this.R),c=ko(a,this.D);let d='null';this.Ra&&(d=this.Ra.map(function(e){return e.fb(a)}).join(','));return`{"c":"${this.bb()}","a":["${b}",${d},${c}]}`}toString(){const a=jo(this.R),b=this.D?','+jo(this.D):'';let c='';this.Ra&&(c=','+this.Ra.join(','));return this.bb().replace(/^.+\./,'')+'('+a+c+b+')'}};olympe.dc.cd.vv.Aa=[olympe.dc.Rz];olympe.dc.cd.tF=class{constructor(a,b){if(olympe.j.Mg(a))throw Error('Dataflows of Property not supported by AnyProperty');const c=a.ka();var d=olympe.dc.eb();const e=d.Wd(a,olympe.dm.Property.typeRel);if(!e)throw Error('Type of property '+a+'unavailable locally, cannot proceed with AnyProperty');a=d.iq(e,olympe.dc.CloudObject.extendRel,olympe.dm.$k);d=null;switch(1<a.length?a[a.length-2]:e){case olympe.dm.String.U.ka():d=new olympe.dc.cd.nw(c,b);break;case olympe.dm.Number.U.ka():d=new olympe.dc.cd.$v(c,
1660
- b);break;case olympe.dm.Boolean.U.ka():d=new olympe.dc.cd.yy(c,b);break;case olympe.dm.DateTime.U.ka():d=new olympe.dc.cd.Bv(c,b)}this.D=d}bb(){return this.D.bb()}C(){return this.D.C()}getValue(a,b){return this.D.getValue(a,b)}fb(a){return this.D.fb(a)}toString(){return this.D.toString()}};olympe.dc.cd.tF.Aa=[olympe.dc.Rz];olympe.dc.cd.yy=class extends olympe.dc.cd.vv{constructor(a,b,c){super(a,b,c)}bb(){return Lh(olympe.dc.cd.yy)}O(){return olympe.dc.Ad.ED}Ee(){return olympe.j.ia}};X('olympe.dc.valuedefs.BooleanProperty',olympe.dc.cd.yy);olympe.dc.cd.gm=class{constructor(a){this.value=a}bb(){return Lh(olympe.dc.cd.gm)}C(){return[]}getValue(){return this.value}fb(a){a=ko(a,this.value);return`{"c":"${this.bb()}","a":[${a}]}`}toString(){return`Constant(${jo(this.value)})`}};X('olympe.dc.valuedefs.Constant',olympe.dc.cd.gm);olympe.dc.cd.gm.Aa=[olympe.dc.Rz];olympe.dc.cd.Bv=class extends olympe.dc.cd.vv{constructor(a,b,c){super(a,b,c)}bb(){return Lh(olympe.dc.cd.Bv)}O(){return olympe.dc.Ad.FD}Ee(){return olympe.j.ac}};X('olympe.dc.valuedefs.DateTimeProperty',olympe.dc.cd.Bv);olympe.dc.cd.$v=class extends olympe.dc.cd.vv{constructor(a,b,c){super(a,b,c)}bb(){return Lh(olympe.dc.cd.$v)}O(){return olympe.dc.Ad.GD}Ee(){return olympe.j.aa}};X('olympe.dc.valuedefs.NumberProperty',olympe.dc.cd.$v);olympe.dc.cd.nw=class extends olympe.dc.cd.vv{constructor(a,b,c){super(a,b,c)}bb(){return Lh(olympe.dc.cd.nw)}O(){return olympe.dc.Ad.HD}Ee(){return olympe.j.kb}};X('olympe.dc.valuedefs.StringProperty',olympe.dc.cd.nw);olympe.dc.cd.pw=class{bb(){return Lh(olympe.dc.cd.pw)}C(){return[]}getValue(a,b){return b}fb(){return'{"c":"'+this.bb()+'","a":[]}'}toString(){return'Tag()'}};X('olympe.dc.valuedefs.Tag',olympe.dc.cd.pw);olympe.dc.cd.pw.Aa=[olympe.dc.Rz];olympe.dc.Ra={};olympe.dc.Ra.Cv=class{Ee(){return null}bb(){return Lh(olympe.dc.Ra.Cv)}C(a,b,c){const d={};return function(e,f,g,k){e?void 0===d[f]?(d[f]=1,b.C.C!==g||b.D||(b.C.C=f),c(!0,f,f,ho(k,!0,f,f))):(d[f]++,Do(b,g)):void 0!==d[f]&&0>=--d[f]&&(delete d[f],c(!1,f,f,ho(k,!1,f,f)))}}fb(){return'{"c":"'+this.bb()+'"}'}toString(){return'Distinct()'}};X('olympe.dc.transformers.Distinct',olympe.dc.Ra.Cv);olympe.dc.Ra.Cv.Aa=[olympe.dc.qo];olympe.dc.Ra.Qf=class{constructor(a){this.D=a}Ee(){return null}bb(){return Lh(olympe.dc.Ra.Qf)}O(){return this.D.D()}C(a,b,c){function d(f,g,k,l){l=l.valueOf();!1===l&&Do(b,g);l!==!!e[g]&&(e[g]=l,c(l,f,g,ho(k,l,f,g)))}const e={};return(f,g,k,l)=>{const m='@'+k;if(f){let n=this.D.C(a,g);olympe.j.Zb(n)&&(n=n.Tb);olympe.j.$m(n)?(b.D||void 0!==olympe.j.Qa(n)||Do(b,k),e[m]=n,a.run(()=>{olympe.j.Wa([n],p=>{d(g,k,l,p)},'filterResultHandler')})):d(g,k,l,n)}else void 0!==e[m]&&(e[m].destroy(),delete e[m]),
1660
+ b=this.D||b;null!==this.Ra?Lo(a,b,this.Ra,d=>{Mo(this,d,c)}):Mo(this,b,c);return c.wa()}fb(a){const b=ko(a,this.R),c=ko(a,this.D);let d='null';this.Ra&&(d=this.Ra.map(function(e){return e.fb(a)}).join(','));return`{"c":"${this.bb()}","a":["${b}",${d},${c}]}`}toString(){const a=jo(this.R),b=this.D?','+jo(this.D):'';let c='';this.Ra&&(c=','+this.Ra.join(','));return this.bb().replace(/^.+\./,'')+'('+a+c+b+')'}};olympe.dc.cd.vv.Aa=[olympe.dc.Rz];olympe.dc.cd.uF=class{constructor(a,b){if(olympe.j.Mg(a))throw Error('Dataflows of Property not supported by AnyProperty');const c=a.ka();var d=olympe.dc.eb();const e=d.Wd(a,olympe.dm.Property.typeRel);if(!e)throw Error('Type of property '+a+'unavailable locally, cannot proceed with AnyProperty');a=d.iq(e,olympe.dc.CloudObject.extendRel,olympe.dm.$k);d=null;switch(1<a.length?a[a.length-2]:e){case olympe.dm.String.U.ka():d=new olympe.dc.cd.nw(c,b);break;case olympe.dm.Number.U.ka():d=new olympe.dc.cd.$v(c,
1661
+ b);break;case olympe.dm.Boolean.U.ka():d=new olympe.dc.cd.yy(c,b);break;case olympe.dm.DateTime.U.ka():d=new olympe.dc.cd.Bv(c,b)}this.D=d}bb(){return this.D.bb()}C(){return this.D.C()}getValue(a,b){return this.D.getValue(a,b)}fb(a){return this.D.fb(a)}toString(){return this.D.toString()}};olympe.dc.cd.uF.Aa=[olympe.dc.Rz];olympe.dc.cd.yy=class extends olympe.dc.cd.vv{constructor(a,b,c){super(a,b,c)}bb(){return Lh(olympe.dc.cd.yy)}O(){return olympe.dc.Ad.FD}Ee(){return olympe.j.ia}};X('olympe.dc.valuedefs.BooleanProperty',olympe.dc.cd.yy);olympe.dc.cd.gm=class{constructor(a){this.value=a}bb(){return Lh(olympe.dc.cd.gm)}C(){return[]}getValue(){return this.value}fb(a){a=ko(a,this.value);return`{"c":"${this.bb()}","a":[${a}]}`}toString(){return`Constant(${jo(this.value)})`}};X('olympe.dc.valuedefs.Constant',olympe.dc.cd.gm);olympe.dc.cd.gm.Aa=[olympe.dc.Rz];olympe.dc.cd.Bv=class extends olympe.dc.cd.vv{constructor(a,b,c){super(a,b,c)}bb(){return Lh(olympe.dc.cd.Bv)}O(){return olympe.dc.Ad.GD}Ee(){return olympe.j.ac}};X('olympe.dc.valuedefs.DateTimeProperty',olympe.dc.cd.Bv);olympe.dc.cd.$v=class extends olympe.dc.cd.vv{constructor(a,b,c){super(a,b,c)}bb(){return Lh(olympe.dc.cd.$v)}O(){return olympe.dc.Ad.HD}Ee(){return olympe.j.aa}};X('olympe.dc.valuedefs.NumberProperty',olympe.dc.cd.$v);olympe.dc.cd.nw=class extends olympe.dc.cd.vv{constructor(a,b,c){super(a,b,c)}bb(){return Lh(olympe.dc.cd.nw)}O(){return olympe.dc.Ad.ID}Ee(){return olympe.j.kb}};X('olympe.dc.valuedefs.StringProperty',olympe.dc.cd.nw);olympe.dc.cd.pw=class{bb(){return Lh(olympe.dc.cd.pw)}C(){return[]}getValue(a,b){return b}fb(){return'{"c":"'+this.bb()+'","a":[]}'}toString(){return'Tag()'}};X('olympe.dc.valuedefs.Tag',olympe.dc.cd.pw);olympe.dc.cd.pw.Aa=[olympe.dc.Rz];olympe.dc.Ra={};olympe.dc.Ra.Cv=class{Ee(){return null}bb(){return Lh(olympe.dc.Ra.Cv)}C(a,b,c){const d={};return function(e,f,g,k){e?void 0===d[f]?(d[f]=1,b.C.C!==g||b.D||(b.C.C=f),c(!0,f,f,ho(k,!0,f,f))):(d[f]++,Do(b,g)):void 0!==d[f]&&0>=--d[f]&&(delete d[f],c(!1,f,f,ho(k,!1,f,f)))}}fb(){return'{"c":"'+this.bb()+'"}'}toString(){return'Distinct()'}};X('olympe.dc.transformers.Distinct',olympe.dc.Ra.Cv);olympe.dc.Ra.Cv.Aa=[olympe.dc.qo];olympe.dc.Ra.Qf=class{constructor(a){this.D=a}Ee(){return null}bb(){return Lh(olympe.dc.Ra.Qf)}O(){return this.D.D()}C(a,b,c){function d(f,g,k,l){l=l.valueOf();!1===l&&Do(b,g);l!==!!e[g]&&(e[g]=l,c(l,f,g,ho(k,l,f,g)))}const e={};return(f,g,k,l)=>{const m='@'+k;if(f){let n=this.D.C(a,g);olympe.j.Zb(n)&&(n=n.Tb);olympe.j.$m(n)?(b.D||void 0!==olympe.j.Qa(n)||Do(b,k),e[m]=n,a.run(()=>{olympe.j.Wa([n],p=>{d(g,k,l,p)},'filterResultHandler')})):d(g,k,l,n)}else void 0!==e[m]&&(e[m].destroy(),delete e[m]),
1661
1662
  d(g,k,l,!1),delete e[k]}}fb(a){return'{"c":"'+this.bb()+'","a":['+this.D.fb(a)+']}'}toString(){return'Filter('+this.D.toString()+')'}};X('olympe.dc.transformers.Filter',olympe.dc.Ra.Qf);olympe.dc.Ra.Qf.Aa=[olympe.dc.qo,olympe.dc.iK];olympe.dc.Ra.bC=class{constructor(a,b,c,d){this.rel=new olympe.dc.Oc.Relation(olympe.dc.Ya(a),c||olympe.dc.Ib.DESTINATION);this.D=new olympe.dc.Oc.Relation(olympe.dc.Ya(b),d||olympe.dc.Ib.DESTINATION)}Ee(){return Kh(this.rel)}bb(){return Lh(olympe.dc.Ra.bC)}C(a,b,c){const d=olympe.dc.eb(),e={},f=this.rel.ka(),g=this.rel.zc(),k=this.D.ka(),l=this.D.zc();let m=null,n=null;const p=(t,u,v,w,x,y)=>{if(x){if(x=()=>{const A=olympe.oa.Xd(v+g+(f+'_'+t)+y,20),H=ho(u,!0,y,A);m=t;n=()=>{c(!1,y,A,ho(u,!1,y,A))};
1662
1663
  b.register(A,v,w,f,g);c(!0,y,A,H)},x.wO=t,e[w]=x,null===m||t<m)n&&n(),x()}else if(m===t){n();e[w]=!0;x=Infinity;let A=null;for(let H=Object.keys(e),G=H.length,R=0;R<G;R++){let fa=e[H[R]];fa.wO<x&&(x=fa.wO,A=fa)}A&&A()}},r=(t,u,v,w,x)=>{w?e[x]||(e[x]=!0,Eo(b,v,x,f,g),Eo(b,v,x,k,l),Ui(d,x,this.rel,p.bind(this,t,u,v,x),v+'_val'),Ui(d,x,this.D,r.bind(this,t+1,u,v),v+'_follow')):(d.D(x,this.D,v+'_follow'),d.D(x,this.rel,v+'_val'),delete e[x])};return(t,u,v,w)=>r(0,w,v,t,u)}fb(){return'{"c":"'+this.bb()+
1663
- '","a":["'+this.rel.toString()+'","'+this.D.toString()+'"]}'}toString(){return'FirstRelated('+this.rel.toString()+', '+this.D.toString()+')'}};X('olympe.dc.transformers.FirstRelated',olympe.dc.Ra.bC);olympe.dc.Ra.bC.Aa=[olympe.dc.qo];olympe.dc.Ra.wt=class{constructor(a,b){this.start=a;this.D=b}Ee(){return null}bb(){return Lh(olympe.dc.Ra.wt)}C(a,b,c){const d=new olympe.dc.dg.IC;let e,f,g,k=!1;const l=()=>{if(void 0!==f&&void 0!==g&&void 0!==e){var n=f+g;b.D||(b.C.C=e[0>n-1?0:Math.min(e.length,n)-1]);vo(d,e,f,n,c)}};a.run(()=>olympe.j.Wa([this.start,this.D],(n,p)=>{f=n.valueOf();g=p.valueOf();l()}));Jo(b,l);const m=Go(b);Fo(b,m);return(n,p,r,t)=>{k||(t.rk().Nq(u=>{e=u;Ko(b,m)}),fo(b,()=>t.Up(),m),k=!0);d.C(n,p,r,null);go(b,r,m)}}fb(a){return'{"c":"'+
1664
+ '","a":["'+this.rel.toString()+'","'+this.D.toString()+'"]}'}toString(){return'FirstRelated('+this.rel.toString()+', '+this.D.toString()+')'}};X('olympe.dc.transformers.FirstRelated',olympe.dc.Ra.bC);olympe.dc.Ra.bC.Aa=[olympe.dc.qo];olympe.dc.Ra.wt=class{constructor(a,b){this.start=a;this.D=b}Ee(){return null}bb(){return Lh(olympe.dc.Ra.wt)}C(a,b,c){const d=new olympe.dc.dg.JC;let e,f,g,k=!1;const l=()=>{if(void 0!==f&&void 0!==g&&void 0!==e){var n=f+g;b.D||(b.C.C=e[0>n-1?0:Math.min(e.length,n)-1]);vo(d,e,f,n,c)}};a.run(()=>olympe.j.Wa([this.start,this.D],(n,p)=>{f=n.valueOf();g=p.valueOf();l()}));Jo(b,l);const m=Go(b);Fo(b,m);return(n,p,r,t)=>{k||(t.rk().Nq(u=>{e=u;Ko(b,m)}),fo(b,()=>t.Up(),m),k=!0);d.C(n,p,r,null);go(b,r,m)}}fb(a){return'{"c":"'+
1664
1665
  this.bb()+'","a":['+ko(a,this.start)+','+ko(a,this.D)+']}'}toString(){return`Limit(${olympe.j.Qa(this.start)},${olympe.j.Qa(this.D)})`}};X('olympe.dc.transformers.Limit',olympe.dc.Ra.wt);olympe.dc.Ra.wt.Aa=[olympe.dc.qo];function No(a){return a.md.map(b=>b.ka())}
1665
1666
  olympe.dc.Ra.iz=class{constructor(a,b){this.direction=b||olympe.dc.Ib.DESTINATION;this.md=a.map(c=>new olympe.dc.Oc.Relation(c,this.direction))}Ee(){return olympe.dc.CloudObject}bb(){return Lh(olympe.dc.Ra.iz)}zc(){return this.direction}C(a,b,c){const d=olympe.dc.eb(),e=(f,g,k,l)=>Ui(d,f,l,(m,n)=>{var p=l.ka();p=olympe.oa.Xd(g+l.zc()+p+n,20);const r=ho(k,m,n,p);m&&b.register(p,g,f,l.ka(),l.zc());c(m,n,p,r)},g);return(f,g,k,l)=>{f?this.md.forEach(m=>{Eo(b,k,g,m.ka(),m.zc());e(g,k,l,m)}):this.md.forEach(m=>
1666
1667
  {d.D(g,m,k)})}}fb(){return'{"c":"'+this.bb()+'","a":['+JSON.stringify(No(this))+',"'+this.direction+'"]}'}toString(){return'MultiRelated('+this.zc()+'['+No(this).join(',')+'])'}};X('olympe.dc.transformers.MultiRelated',olympe.dc.Ra.iz);olympe.dc.Ra.iz.Aa=[olympe.dc.qo];olympe.dc.Ra.zj=class extends olympe.dc.Oc.Relation{constructor(a,b=olympe.dc.Ib.DESTINATION,c=1,d=-1){super(a,b);this.O=c;this.D=d}Ee(){return Kh(this)}bb(){return Lh(olympe.dc.Ra.zj)}C(a,b,c){const d=olympe.dc.eb(),e=Object.create(null),f=olympe.dc.Ib.ORIGIN,g=olympe.dc.Ib.DESTINATION,k=this.ka(),l=this.zc(),m=(p,r,t)=>{if(!(0<=this.D&&p>=this.D)){var u=d.pc(t,this);p+=1;for(let v=0,w=u.length;v<w;v++){if(void 0!==e[u[v]]||t===u[v])continue;const x=olympe.oa.Xd(r+l+(k+'_'+p)+u[v],20);b.register(x,
@@ -1668,16 +1669,16 @@ r,t,k,l||g);null===l&&b.register(x,r,t,k,f)}}},n=(p,r,t,u,v,w)=>{v&&!b.D&&m(p,u,
1668
1669
  X('olympe.dc.transformers.RecursiveRelated',olympe.dc.Ra.zj);olympe.dc.Ra.zj.Aa=[olympe.dc.qo];olympe.dc.Ra.um=class extends olympe.dc.Oc.Relation{constructor(a,b){super(a,b||olympe.dc.Ib.DESTINATION)}Ee(){return Kh(this)}bb(){return Lh(olympe.dc.Ra.um)}fe(){return new olympe.dc.Ra.um(this.tag,this.direction===olympe.dc.Ib.DESTINATION?olympe.dc.Ib.ORIGIN:olympe.dc.Ib.DESTINATION)}C(a,b,c){const d=olympe.dc.eb(),e=this.ka(),f=this.zc();return(g,k,l,m)=>{Eo(b,l,k,e,f);g?Ui(d,k,this,(n,p)=>{const r=olympe.oa.Xd(l+f+e+p,20),t=ho(m,n,p,r);n&&b.register(r,l,k,e,f);c(n,p,r,t)},l):d.D(k,this,l)}}fb(){return'{"c":"'+
1669
1670
  this.bb()+'","a":["'+this.ka()+'","'+this.zc()+'"]}'}toString(){return'Related('+this.zc()+this.ka()+')'}};X('olympe.dc.transformers.Related',olympe.dc.Ra.um);olympe.dc.Ra.um.Aa=[olympe.dc.qo];olympe.dc.Ra.Cr=class{constructor(a,b){this.Oe=a;this.D=void 0===b?!0:!!b}Ee(){return null}bb(){return Lh(olympe.dc.Ra.Cr)}Ur(){return this.Oe}O(){return[this.Oe.R()]}C(a,b,c){const d=new olympe.dc.dg.iL(a.re(this.D?this.Oe.compare.bind(this.Oe):(e,f)=>this.Oe.compare(f,e)));return(e,f,g)=>{var k=e?this.Oe.O(a,f):void 0;k=d.C(e,f,g,k);c(e,f,g,k)}}fb(a){return'{"c":"'+this.bb()+'","a":['+this.Oe.fb(a)+','+JSON.stringify(this.D)+']}'}toString(){return'Sort('+this.Oe.toString()+','+JSON.stringify(this.D)+
1670
1671
  ')'}};X('olympe.dc.transformers.Sort',olympe.dc.Ra.Cr);olympe.dc.Ra.Cr.Aa=[olympe.dc.qo,olympe.dc.iK];function Oo(a,b,c,d,e,f){function g(n,p){if(m)for(var r=m.length-1;0<=r;r--)f=m[r].C(b,e,f);e.register(k,null);r=d.C(n,p,c,null);f(n,p,k,ho(r,n,p,k))}const k=olympe.oa.bf(),l=olympe.dc.eb(),m=a.Ra;b.run(()=>olympe.j.Wa([a.D],n=>{Po(l,n,g,k);void 0===l.model(n)&&bo(e)}))}function Po(a,b,c,d){const e=b&&b.valueOf();e&&(qh(a,e,c,d),olympe.j.yb().Ve(()=>nh(a,e,d)))}
1671
- olympe.dc.Ra.ro=class{constructor(a,b){this.Ra=this.D=null;a instanceof olympe.dc.Kb?(this.D=a.Cj(),this.Ra=a.AC()):(this.D=a,b&&(this.Ra=b))}Ee(){return null}bb(){return Lh(olympe.dc.Ra.ro)||''}bs(){return this.Ra}Cj(){return this.D}C(a,b,c){const d=new olympe.dc.dg.IC,e=new olympe.dc.dg.vy;let f=[],g=[],k=!1,l=!1;const m=Go(b),n=Go(b);Jo(b,()=>{const p=f.concat(g);0<p.length?b.D||(b.C.C=p[p.length-1]):Ko(b);vo(d,p,0,p.length,c)});Fo(b,n);Oo(this,a,this.D,e,b,(p,r,t,u)=>{const v=olympe.j.yb();v.$f()||
1672
+ olympe.dc.Ra.ro=class{constructor(a,b){this.Ra=this.D=null;a instanceof olympe.dc.Kb?(this.D=a.Cj(),this.Ra=a.BC()):(this.D=a,b&&(this.Ra=b))}Ee(){return null}bb(){return Lh(olympe.dc.Ra.ro)||''}bs(){return this.Ra}Cj(){return this.D}C(a,b,c){const d=new olympe.dc.dg.JC,e=new olympe.dc.dg.vy;let f=[],g=[],k=!1,l=!1;const m=Go(b),n=Go(b);Jo(b,()=>{const p=f.concat(g);0<p.length?b.D||(b.C.C=p[p.length-1]):Ko(b);vo(d,p,0,p.length,c)});Fo(b,n);Oo(this,a,this.D,e,b,(p,r,t,u)=>{const v=olympe.j.yb();v.$f()||
1672
1673
  v.lc()||(l||(u.rk().Nq(w=>{g=w;Ko(b,n)}),fo(b,()=>u.Up(),n),l=!0),d.C(p,r,t),go(b,t,n))});Fo(b,m);return(p,r,t,u)=>{k||(u.rk().Nq(v=>{f=v;Ko(b,m)}),fo(b,()=>u.Up(),m),k=!0);d.C(p,r,t,m);go(b,t,m)}}fb(a){const b=this.Ra?'['+this.Ra.map(c=>c.fb(a)).join(',')+']':'null';return'{"c":"'+this.bb()+'","a":['+ko(a,this.D)+','+b+']}'}toString(){const a=olympe.j.Zb(this.D)?'N:'+this.D.Tb.ja():this.D.valueOf(),b=this.Ra?','+this.Ra.map(c=>c.toString()).join(','):'';return'Union('+a+b+')'}};
1673
- X('olympe.dc.transformers.Union',olympe.dc.Ra.ro);olympe.dc.Ra.ro.Aa=[olympe.dc.qo];olympe.dc.Ra.$C={T_:1,lR:-1,wH:0};olympe.dc.Ra.z1={BZ:!0,b_:!1};olympe.dc.bg.ba={oJ:'dc.legacy.listdefProcessor'};olympe.dc.bg.pa={nJ:'dc.legacy.listdefsCovered'};olympe.sa.$e(a=>{E(a,olympe.dc.bg.pa.nJ,!1);B(a,olympe.dc.bg.ba.oJ,olympe.dc.bg.NS,olympe.dc.query.ba.Vb,olympe.dc.ba.Zs,olympe.dc.transaction.ba.Ob,olympe.dc.query.ba.fw,new olympe.sa.zb(olympe.dc.pa.Kt),new olympe.sa.zb(olympe.dc.bg.pa.nJ))});olympe.sa.run([olympe.dc.bg.ba.oJ],a=>{olympe.dc.bg.XW=()=>a});function Qo(a){const b=olympe.dc.eb(),c=new Map;b.Yw(a).forEach(d=>{b.pc(d,olympe.dc.CloudObject.propertyRel).forEach(e=>{const f=b.name(e);c.has(f)||c.set(f,e)})});return c}
1674
+ X('olympe.dc.transformers.Union',olympe.dc.Ra.ro);olympe.dc.Ra.ro.Aa=[olympe.dc.qo];olympe.dc.Ra.aD={T_:1,lR:-1,wH:0};olympe.dc.Ra.z1={BZ:!0,b_:!1};olympe.dc.bg.ba={oJ:'dc.legacy.listdefProcessor'};olympe.dc.bg.pa={nJ:'dc.legacy.listdefsCovered'};olympe.sa.$e(a=>{E(a,olympe.dc.bg.pa.nJ,!1);B(a,olympe.dc.bg.ba.oJ,olympe.dc.bg.NS,olympe.dc.query.ba.Vb,olympe.dc.ba.Zs,olympe.dc.transaction.ba.Ob,olympe.dc.query.ba.fw,new olympe.sa.zb(olympe.dc.pa.Kt),new olympe.sa.zb(olympe.dc.bg.pa.nJ))});olympe.sa.run([olympe.dc.bg.ba.oJ],a=>{olympe.dc.bg.XW=()=>a});function Qo(a){const b=olympe.dc.eb(),c=new Map;b.Yw(a).forEach(d=>{b.pc(d,olympe.dc.CloudObject.propertyRel).forEach(e=>{const f=b.name(e);c.has(f)||c.set(f,e)})});return c}
1674
1675
  olympe.dc.CloudObject=class{constructor(a,b){this.tag=b;this.db=olympe.dc.eb();Object.defineProperty(this,'db',{enumerable:!1});this.model=null}static yf(a,b,c,...d){b=olympe.dc.Ya(b);var e=sh(b);if(e=e&&e.C)return e(a,c,...d);a=a.create(b);void 0!==c&&null!==c&&Z(a,olympe.dc.CloudObject.nameProp,c);return a.ka()}static get(a){if(a instanceof olympe.dc.CloudObject)var b=a;else{b=olympe.dc.DN();a=olympe.dc.Ya(a);var c=b.db.model(a);c=rh(b,c);if(null===c)throw new olympe.dc.WJ(a);c=c.instantiate(a,
1675
1676
  b.D);b.C.nk([a],olympe.dc.db.Instance.C.yH);b.Oc.register(c,a);b=c}return b}static Mw(a){return olympe.dc.eb().tc(olympe.dc.Ya(a))}static NV(a,b,c){const d=olympe.dc.eb();let e=null;const f=l=>{null===e&&(e=Qo(b||this));return e.has(l)?e.get(l):null},g=En(!1),k=g.create(null!=b?b:this);void 0!==c&&k.ne(c);a.forEach((l,m)=>{d.tc(olympe.dc.Ya(m))?Z(k,m,l):(m=f(m))&&Z(k,m,l)});g.Kd((l,m)=>{l||olympe.gb.Cb('dc').error(`Error occurred for transaction executed by CloudObject.createWith: ${m}`)});return this.get(k)}static qM(){return this.get(this)}static KA(a){return olympe.dc.nb.KA(a)}static be(){return olympe.dc.eb().pc(this,
1676
1677
  olympe.dc.CloudObject.propertyRel).map(a=>new olympe.dc.Oc.Property(a))}static Xh(){const a=olympe.dc.eb();return a.pc(this,olympe.dc.CloudObject.px).map(b=>new olympe.dc.Oc.Relation(b)).concat(a.pc(this,olympe.dc.CloudObject.BM).map(b=>new olympe.dc.Oc.Relation(b,olympe.dc.Ib.ORIGIN)))}static ih(a){return olympe.dc.CloudObject.get(a)}static EN(a){var b=rh(olympe.dc.DN(),olympe.dc.Ya(a));b=b&&b.D;return new olympe.dc.Kb(olympe.dc.Ya(a),olympe.dc.CloudObject.instancesRel,b)}ka(){return this.tag}name(){return this.db.name(this)}bb(){return this.Rd(olympe.dc.CloudObject.nameProp)}Qe(){this.model||
1677
1678
  (this.model=olympe.dc.CloudObject.get(this.db.model(this)));return this.model}query(){return olympe.dc.nb.from(this)}Bl(){return this.db.Bl(this)}Sd(){return this.db.source(this)}TW(){return this.db.zu(this)?olympe.dc.Kj().fromModel(this):null}nN(){return olympe.j.Xa([this.bb()],a=>olympe.j.ic(a),olympe.j.kb,'getDisplayName',olympe.j.ic('('+this.toString()+')'))}De(){return this.model?this.model.ka():this.db.model(this)}observe(a,b,c=!0){const d='function'===typeof a.se?a.se():a;return new rxjs.Observable(e=>
1678
1679
  {const f=olympe.dc.Ad.ug(this.db.Ac(this.tag,b));c||null!==f||e.next(f);const g=Pi(this.db,this.tag,b,k=>{e.next(olympe.dc.Ad.ug(k))});d.Ve(()=>{e.complete();Qi(this.db,this.tag,b,g)});return()=>Qi(this.db,this.tag,b,g)})}gY(a){const b='function'===typeof a.se?a.se():a;return new rxjs.Observable(c=>{const d=Ri(this.db,this.tag,(e,f)=>{null===f||void 0===f?c.next([new olympe.dc.Oc.Property(e),null]):c.next([new olympe.dc.Oc.Property(e),f])});b.Ve(()=>{c.complete();Si(this.db,this.tag,d)});return()=>
1679
1680
  Si(this.db,this.tag,d)})}hY(a){return this.observe(olympe.j.yb(),a)}get(a){return olympe.dc.Ad.ug(this.db.Ac(this.tag,a))}Ac(a){return this.get(a)}oc(a){return olympe.dc.nb.from(this).oc(a)}ml(a){return olympe.dc.Rh.from(this).oc(a)}ug(){return this}zo(){return this.Ig(olympe.dc.CloudObject.JV,olympe.dc.CloudObject)}Vw(){return this.pc(olympe.dc.CloudObject.containsRel,olympe.dc.CloudObject)}Go(a,b,c){const d=olympe.j.Za(c,'Sync valueType'),e=Pi(this.db,this.tag,a,olympe.j.yb().re(f=>{b&&null!==f&&
1680
- void 0!==f&&(f=b(f));null===f||void 0===f?d.clear():d.update(f)}));d.getContext().onDestroy(()=>Qi(this.db,this.tag,a,e));return d.getContext()}Rd(a){return Wb(this.Go(a,olympe.dc.Ad.HD,olympe.j.kb))}yg(a){return Wb(this.Go(a,olympe.dc.Ad.GD,olympe.j.aa))}Vm(a){return Wb(this.Go(a,olympe.dc.Ad.ED,olympe.j.ia))}gx(a){return Wb(this.Go(a,olympe.dc.Ad.FD,olympe.j.ac))}VN(){return Wb(this.Go(olympe.dm.Color.valueProp,olympe.dc.Ad.uM,olympe.j.Color))}xA(a){return Wb(this.Go(a,olympe.dc.Ad.vM,olympe.dc.CloudObject))}pc(a,
1681
+ void 0!==f&&(f=b(f));null===f||void 0===f?d.clear():d.update(f)}));d.getContext().onDestroy(()=>Qi(this.db,this.tag,a,e));return d.getContext()}Rd(a){return Wb(this.Go(a,olympe.dc.Ad.ID,olympe.j.kb))}yg(a){return Wb(this.Go(a,olympe.dc.Ad.HD,olympe.j.aa))}Vm(a){return Wb(this.Go(a,olympe.dc.Ad.FD,olympe.j.ia))}gx(a){return Wb(this.Go(a,olympe.dc.Ad.GD,olympe.j.ac))}VN(){return Wb(this.Go(olympe.dm.Color.valueProp,olympe.dc.Ad.uM,olympe.j.Color))}xA(a){return Wb(this.Go(a,olympe.dc.Ad.vM,olympe.dc.CloudObject))}pc(a,
1681
1682
  b){a=a instanceof olympe.dc.Ra.um?a:new olympe.dc.Ra.um(a.ka(),a.zc());return new olympe.dc.Kb(this.ka(),a,b)}Ig(a,b){return this.pc(a,b).Vd()}fA(a,b){const c=this.db,d=olympe.oa.bf(),e=olympe.j.yb(),f=new Map;Ui(c,this.tag,a,(k,l)=>{if(k)(k=e.run(b,olympe.dc.CloudObject.get(l)))&&f.set(l,k);else{let m;null==(m=f.get(l))||m();f.delete(l)}},d);const g=()=>{c.D(this.tag,a,d)};e.onDestroy(g);return g}pZ(){return new olympe.dc.Kb(this.ka(),[],Ih(this.ka()))}transform(...a){return(new olympe.dc.Kb(this.ka(),
1682
1683
  [],this.constructor)).transform(...a)}og(){return this.nN()}toString(){return`CloudObject: ${JSON.stringify(this)}`}toJSON(){return this.db.tc(this.tag)?Object.assign({'#tag':this.ka(),'#type':this.Qe().name()},this.nh(!0,!0)):{'#tag':this.ka(),'#error':'The object does not exist in the local database.'}}nh(a=!1,b=!0){const c={};this.db.be(this,b).forEach((d,e)=>{this.db.tc(e)&&(e=a?this.db.name(e):e,c[e]=olympe.dc.Ad.ug(d))});return c}Rb(a){return a instanceof olympe.dc.CloudObject?this.ka()===a.ka():
1683
1684
  'function'===typeof a?olympe.dc.Ja.De(a)===this.ka():!1}Se(a){return olympe.j.Xa([a],b=>olympe.j.hc(this.Rb(b)),olympe.j.ia)}QV(a){const b=this.db;let c=!1;if(void 0===a||null===a)a=new olympe.dc.Tc,c=!0;const d=olympe.dc.Ib.ORIGIN;for(const [e,f,g]of cj(b,this))f===d?a.Xf(e,g,this):e!==olympe.dc.CloudObject.modelRel.ka()&&a.Xf(e,this,g);a.delete(this,olympe.dc.Te.NONE);c&&a.Kd()}};olympe.dc.CloudObject.prototype.equals=olympe.dc.CloudObject.prototype.Rb;olympe.dc.CloudObject.prototype.toObject=olympe.dc.CloudObject.prototype.nh;
@@ -1690,25 +1691,25 @@ olympe.dc.CloudObject.typeRel=olympe.dc.CloudObject.U.tb('ff02200000000000000d',
1690
1691
  z('olympe.dc.CloudObject.extendRel',olympe.dc.CloudObject.extendRel);olympe.dc.CloudObject.extendedByRel=Y(olympe.dc.CloudObject.U,olympe.dc.CloudObject.extendRel);z('olympe.dc.CloudObject.extendedByRel',olympe.dc.CloudObject.extendedByRel);olympe.dc.CloudObject.containsRel=olympe.dc.CloudObject.U.tb(olympe.dc.Lf.By);z('olympe.dc.CloudObject.containsRel',olympe.dc.CloudObject.containsRel);olympe.dc.CloudObject.JV=Y(olympe.dc.CloudObject.U,olympe.dc.CloudObject.containsRel);
1691
1692
  olympe.dc.CloudObject.PV=olympe.dc.CloudObject.U.tb('018282d3ac0a474a0bf4');z('olympe.dc.CloudObject.deleteAlsoRel',olympe.dc.CloudObject.PV);olympe.dc.C1=olympe.dc.CloudObject;olympe.dc.CloudObject.Aa=[olympe.dc.Ok];h=olympe.dc.CloudObject.prototype;h.ka.K=new olympe.j.J(()=>String,[]);h.name.K=new olympe.j.J(()=>String,[]);h.bb.K=olympe.j.J.R;h.Qe.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.Sd.K=new olympe.j.J(()=>String,[]);h.TW.K=new olympe.j.J(()=>String,[]);h.nN.K=olympe.j.J.R;
1692
1693
  h.De.K=new olympe.j.J(()=>String,[]);h.zo.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.Vw.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.Go.K=new olympe.j.J(()=>olympe.j.Node,[]);h.Rd.K=olympe.j.J.R;h.yg.K=olympe.j.J.D;h.Vm.K=olympe.j.J.T;h.gx.K=new olympe.j.J(()=>olympe.j.ac,[]);h.VN.K=new olympe.j.J(()=>olympe.j.Color,[]);h.xA.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.pc.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.Ig.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);
1693
- h.fA.K=new olympe.j.J(()=>Function,[]);h.pZ.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.transform.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.og.K=olympe.j.J.R;h.toString.K=olympe.j.J.O;h.Rb.K=olympe.j.J.O;h.Se.K=olympe.j.J.T;h.QV.K=new olympe.j.J(()=>{},[]);olympe.dc.ba={Zs:'dc.DBView',BH:'dc.InstanceManager',Vb:'dc.Logger',CU:'dc.TransactionLogger',Py:'dc.FileServiceManager',tr:'dc.Router'};olympe.dc.pa={yr:'dc.tag',tp:'dc.debug',Kt:'dc.subscribeAll',SB:'dc.defaultSource',MG:'dc.fileCache',iG:'dc.dataConsumerOnly',EG:'dc.errorOnAbstractInstantiation'};
1694
- olympe.sa.$e(function(a){const b='object'===typeof window;E(a,olympe.dc.pa.tp,!1);E(a,olympe.dc.pa.Kt,!1);E(a,olympe.dc.pa.SB,olympe.dc.Jc.SERVER);E(a,olympe.dc.pa.iG,b);E(a,olympe.dc.pa.MG,b);E(a,olympe.dc.pa.EG,!0);E(a,olympe.dc.pa.yr,olympe.oa.bf());C(a,olympe.dc.ba.Vb,[olympe.gb.ba.Ob],c=>c.Vg('dc'));Ua(a,olympe.dc.ba.CU,olympe.dc.transaction.ba.Vb);Ua(a,olympe.dc.ba.Zs,olympe.dc.db.ba.QB);B(a,olympe.dc.ba.Py,olympe.dc.QQ,olympe.dc.ba.Vb,olympe.dc.db.ba.Ob,olympe.Fa.ba.Ob,olympe.dc.ba.tr,olympe.oa.ba.Uq,
1695
- new olympe.sa.zb(olympe.dc.pa.MG));B(a,olympe.dc.ba.tr,olympe.dc.ST,olympe.dc.ba.Vb,olympe.dc.sources.ba.rK,olympe.dc.sources.ba.LK,olympe.dc.ba.Zs,olympe.host.ba.fo,new olympe.sa.zb(olympe.dc.pa.yr),new olympe.sa.zb(olympe.dc.pa.iG));B(a,olympe.dc.ba.BH,olympe.dc.yR,olympe.dc.db.ba.dC,olympe.dc.db.ba.Ob,olympe.sa.ba.rp)},'olympe.dc');
1694
+ h.fA.K=new olympe.j.J(()=>Function,[]);h.pZ.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.transform.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.og.K=olympe.j.J.R;h.toString.K=olympe.j.J.O;h.Rb.K=olympe.j.J.O;h.Se.K=olympe.j.J.T;h.QV.K=new olympe.j.J(()=>{},[]);olympe.dc.ba={Zs:'dc.DBView',BH:'dc.InstanceManager',Vb:'dc.Logger',CU:'dc.TransactionLogger',Py:'dc.FileServiceManager',tr:'dc.Router'};olympe.dc.pa={yr:'dc.tag',tp:'dc.debug',Kt:'dc.subscribeAll',SB:'dc.defaultSource',NG:'dc.fileCache',jG:'dc.dataConsumerOnly',FG:'dc.errorOnAbstractInstantiation'};
1695
+ olympe.sa.$e(function(a){const b='object'===typeof window;E(a,olympe.dc.pa.tp,!1);E(a,olympe.dc.pa.Kt,!1);E(a,olympe.dc.pa.SB,olympe.dc.Jc.SERVER);E(a,olympe.dc.pa.jG,b);E(a,olympe.dc.pa.NG,b);E(a,olympe.dc.pa.FG,!0);E(a,olympe.dc.pa.yr,olympe.oa.bf());C(a,olympe.dc.ba.Vb,[olympe.gb.ba.Ob],c=>c.Vg('dc'));Ua(a,olympe.dc.ba.CU,olympe.dc.transaction.ba.Vb);Ua(a,olympe.dc.ba.Zs,olympe.dc.db.ba.QB);B(a,olympe.dc.ba.Py,olympe.dc.QQ,olympe.dc.ba.Vb,olympe.dc.db.ba.Ob,olympe.Fa.ba.Ob,olympe.dc.ba.tr,olympe.oa.ba.Uq,
1696
+ new olympe.sa.zb(olympe.dc.pa.NG));B(a,olympe.dc.ba.tr,olympe.dc.ST,olympe.dc.ba.Vb,olympe.dc.sources.ba.rK,olympe.dc.sources.ba.LK,olympe.dc.ba.Zs,olympe.host.ba.fo,new olympe.sa.zb(olympe.dc.pa.yr),new olympe.sa.zb(olympe.dc.pa.jG));B(a,olympe.dc.ba.BH,olympe.dc.yR,olympe.dc.db.ba.eC,olympe.dc.db.ba.Ob,olympe.sa.ba.rp)},'olympe.dc');
1696
1697
  olympe.sa.run([olympe.dc.db.ba.Ob,olympe.dc.transaction.ba.Ob,olympe.dc.ba.BH,olympe.dc.ba.Py,new olympe.sa.zb(olympe.dc.pa.yr)],(a,b,c,d,e)=>{olympe.dc.iN=()=>a;olympe.dc.kx=()=>b;olympe.dc.DN=()=>c;olympe.dc.rN=()=>d;olympe.dc.Jc.SELF=e},'DC singleton getter initialization');olympe.dm={};olympe.dm.Xi=class extends olympe.dc.CloudObject{bb(){return this.Rd(olympe.dc.CloudObject.nameProp)}C(){return olympe.j.kb.EMPTY}D(){return olympe.j.ia.pb}};olympe.dm.Xi.U=olympe.dc.Ja.C('ff021000000000000002',olympe.dm.Xi);olympe.dm.Xi.T=olympe.dm.Xi.U.fa('ff023000000000000035');olympe.dm.Xi.C=olympe.dm.Xi.U.tb('ff022000000000000005');olympe.dm.Xi.O=Hh('ff011000000000000001','AUTHENTICATED_USERS');olympe.dm.Xi.R=Hh('ff011000000000000002','PROJECT_RUNNER_USERS_ROLE');
1697
- olympe.dm.Xi.D=Hh('014831d95f83635090ea','ADMIN_USERS_ROLE');olympe.dm.Xi.prototype.bb.K=olympe.j.J.R;olympe.dm.Xi.prototype.C.K=olympe.j.J.R;olympe.dm.Xi.prototype.D.K=olympe.j.J.T;olympe.dm.xB={NONE:0,f_:1,wQ:2,g_:4,c_:8,e_:16,d_:31,K0:32,H0:64,L0:128,I0:256,mT:512,J0:992,U_:1023};olympe.dm.User=class extends olympe.dc.CloudObject{LW(){return this.VD()}bb(){return this.VD()}VD(){return this.Rd(olympe.dm.User.loginProp)}oS(){return this.Rd(olympe.dm.User.D)}nS(){return olympe.j.kb.EMPTY}nX(){return this.Rd(olympe.dm.User.saltProp)}yX(){return this.Rd(olympe.dm.User.verifierProp)}lX(){return this.pc(olympe.dm.User.O,olympe.dm.Xi)}};olympe.dm.User.U=olympe.dc.Ja.C('ff021000000000000003',olympe.dm.User);olympe.dm.User.loginProp=olympe.dm.User.U.fa('ff023000000000000001');
1698
+ olympe.dm.Xi.D=Hh('014831d95f83635090ea','ADMIN_USERS_ROLE');olympe.dm.Xi.prototype.bb.K=olympe.j.J.R;olympe.dm.Xi.prototype.C.K=olympe.j.J.R;olympe.dm.Xi.prototype.D.K=olympe.j.J.T;olympe.dm.xB={NONE:0,f_:1,wQ:2,g_:4,c_:8,e_:16,d_:31,K0:32,H0:64,L0:128,I0:256,mT:512,J0:992,U_:1023};olympe.dm.User=class extends olympe.dc.CloudObject{LW(){return this.WD()}bb(){return this.WD()}WD(){return this.Rd(olympe.dm.User.loginProp)}oS(){return this.Rd(olympe.dm.User.D)}nS(){return olympe.j.kb.EMPTY}nX(){return this.Rd(olympe.dm.User.saltProp)}yX(){return this.Rd(olympe.dm.User.verifierProp)}lX(){return this.pc(olympe.dm.User.O,olympe.dm.Xi)}};olympe.dm.User.U=olympe.dc.Ja.C('ff021000000000000003',olympe.dm.User);olympe.dm.User.loginProp=olympe.dm.User.U.fa('ff023000000000000001');
1698
1699
  z('olympe.dm.User.loginProp',olympe.dm.User.loginProp);olympe.dm.User.D=olympe.dm.User.U.fa('ff023000000000000002');olympe.dm.User.W=olympe.dm.User.U.fa('ff023000000000000003');olympe.dm.User.saltProp=olympe.dm.User.U.fa('ff023000000000000004');z('olympe.dm.User.saltProp',olympe.dm.User.saltProp);olympe.dm.User.verifierProp=olympe.dm.User.U.fa('ff023000000000000005');z('olympe.dm.User.verifierProp',olympe.dm.User.verifierProp);olympe.dm.User.T=olympe.dm.User.U.fa('ff023000000000000020');
1699
- olympe.dm.User.SAMLnameIdProp=olympe.dm.User.U.fa('ff023000000000000036');z('olympe.dm.User.SAMLnameIdProp',olympe.dm.User.SAMLnameIdProp);olympe.dm.User.O=Y(olympe.dm.User.U,olympe.dm.Xi.C);olympe.dm.User.$=olympe.dm.User.U.tb('ff022000000000000002');olympe.dm.User.C=Hh('014831d95fd7d12b8568','ADMIN_USER');olympe.dm.User.R=Hh('0163d9653067b6237f62','GUEST_USER');h=olympe.dm.User.prototype;h.LW.K=olympe.j.J.R;h.bb.K=olympe.j.J.R;h.VD.K=olympe.j.J.R;h.oS.K=olympe.j.J.R;h.nS.K=olympe.j.J.R;h.nX.K=olympe.j.J.R;
1700
+ olympe.dm.User.SAMLnameIdProp=olympe.dm.User.U.fa('ff023000000000000036');z('olympe.dm.User.SAMLnameIdProp',olympe.dm.User.SAMLnameIdProp);olympe.dm.User.O=Y(olympe.dm.User.U,olympe.dm.Xi.C);olympe.dm.User.$=olympe.dm.User.U.tb('ff022000000000000002');olympe.dm.User.C=Hh('014831d95fd7d12b8568','ADMIN_USER');olympe.dm.User.R=Hh('0163d9653067b6237f62','GUEST_USER');h=olympe.dm.User.prototype;h.LW.K=olympe.j.J.R;h.bb.K=olympe.j.J.R;h.WD.K=olympe.j.J.R;h.oS.K=olympe.j.J.R;h.nS.K=olympe.j.J.R;h.nX.K=olympe.j.J.R;
1700
1701
  h.yX.K=olympe.j.J.R;h.lX.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.hm=class extends olympe.dc.CloudObject{R(){return this.Vw()}Oa(){return this.Rd(olympe.dm.hm.Ka)}};olympe.dm.hm.U=olympe.dc.Ja.C('01621fb84e3300000000',olympe.dm.hm);olympe.dm.hm.Ka=olympe.dm.hm.U.fa('01609de3f292e3c2c6ff');olympe.dm.hm.prototype.R.K=new olympe.j.J(()=>olympe.j.Ug,[]);olympe.dm.hm.prototype.Oa.K=olympe.j.J.R;olympe.dm.BrickMetadata=class extends olympe.dm.hm{zX(){return this.Rd(olympe.dm.BrickMetadata.Pb)}jh(){return this.Rd(olympe.dm.BrickMetadata.Ha)}getType(){return this.Rd(olympe.dm.BrickMetadata.W)}MX(){return this.Vm(olympe.dm.BrickMetadata.ob)}Di(){return null}qW(){return this.pc(olympe.sc.ui.Ze.Comment.C.fe(),olympe.sc.ui.Ze.Comment)}ae(){return this.ml(olympe.dm.BrickMetadata.ma).zf().ae()}};olympe.dm.BrickMetadata.U=Nh(olympe.dc.Ja.C('01621fb84e3500000000',olympe.dm.BrickMetadata));
1701
1702
  olympe.dm.BrickMetadata.Pb=olympe.dm.BrickMetadata.U.fa('01621fb84e320000f001');olympe.dm.BrickMetadata.Ha=olympe.dm.BrickMetadata.U.fa('01703376c4a81c0e9d94');olympe.dm.BrickMetadata.W=olympe.dm.BrickMetadata.U.fa('01703376c4a81c0e9d00');olympe.dm.BrickMetadata.ob=olympe.dm.BrickMetadata.U.fa('01703376c4a81c0eaea5');olympe.dm.BrickMetadata.ma=olympe.dm.BrickMetadata.U.tb('0161ae97622bb21f335b');olympe.dm.BrickMetadata.ld={V0:'private',Y0:'public'};
1702
1703
  olympe.dm.BrickMetadata.lk={p_:'experimental',o1:'stable',a_:'deprecated'};olympe.dm.BrickMetadata.kc={NZ:'business',D1:'technical'};h=olympe.dm.BrickMetadata.prototype;h.zX.K=olympe.j.J.R;h.jh.K=olympe.j.J.R;h.getType.K=olympe.j.J.R;h.MX.K=olympe.j.J.T;h.Di.K=new olympe.j.J(()=>String,[]);h.qW.K=new olympe.j.J(()=>olympe.dc.Kb,[]);h.ae.K=olympe.j.J.W;function el(a,b){b=b.startsWith('data.')?b.substring(5):b;let c,d;return null!=(d=null!=(c=olympe.sa.getParameter(`${'data.'}${a}.${b}`))?c:olympe.sa.getParameter(`${'data.'}${b}`))?d:olympe.sa.getParameter(`${olympe.dc.sources.tt.wT}${b}`)}
1703
1704
  function sl(a,b){const c=a.query().oc(olympe.dm.ii.C.fe()).oc(olympe.dm.ii.D);a=a.query().oc(olympe.dm.fd.O.fe()).Yp(olympe.dm.fd.C,!0).oc(olympe.sc.qg.C.fe());const d=e=>e.Zi().Yp(olympe.dc.CloudObject.extendRel,!0).oc(olympe.dc.CloudObject.px,!0).oc(olympe.dm.Relation.destinationModelRel).back(2).oc(olympe.dc.CloudObject.propertyRel,!0).oc(olympe.dm.Property.typeRel).observe(b);return rxjs.combineLatest([d(c),d(a)]).pipe(rxjs.operators.map(([e,...f])=>e.concat(...f)))}
1704
1705
  function Rl(a,b){return a.observe(b,olympe.dm.DataSource.xM).pipe(rxjs.operators.map(()=>a.yo(olympe.dc.sources.pa.am)),rxjs.operators.distinctUntilChanged())}
1705
- olympe.dm.DataSource=class extends olympe.dc.CloudObject{constructor(a,b,c){super(a,b);this.kf=c;this.yM=new Map([[olympe.dc.sources.pa.SC,olympe.dm.DataSource.sY],[olympe.dc.sources.pa.am,olympe.dm.DataSource.xM],[olympe.dc.sources.pa.ZC,olympe.dm.DataSource.BY]])}ja(){return this.tag===olympe.dm.DataSource.SERVER?olympe.dc.Jc.SERVER:this.tag}yo(a){const b=a.startsWith('data.')?a.split('.')[1]:a,c=`${'data.'}${b}`;let d,e;return null!=(e=null!=(d=olympe.sa.getParameter(`${'data.'}${this.name().toLowerCase().replace(/\W/g,
1706
+ olympe.dm.DataSource=class extends olympe.dc.CloudObject{constructor(a,b,c){super(a,b);this.kf=c;this.yM=new Map([[olympe.dc.sources.pa.TC,olympe.dm.DataSource.sY],[olympe.dc.sources.pa.am,olympe.dm.DataSource.xM],[olympe.dc.sources.pa.$C,olympe.dm.DataSource.BY]])}ja(){return this.tag===olympe.dm.DataSource.SERVER?olympe.dc.Jc.SERVER:this.tag}yo(a){const b=a.startsWith('data.')?a.split('.')[1]:a,c=`${'data.'}${b}`;let d,e;return null!=(e=null!=(d=olympe.sa.getParameter(`${'data.'}${this.name().toLowerCase().replace(/\W/g,
1706
1707
  '_')}.${b}`))?d:el(this.ka(),a))?e:this.yM.has(c)?this.get(this.yM.get(c)):null}jh(){const a=this;return q(function*(){const b=olympe.dm.DataSource.Vf.yQ,c=olympe.dm.DataSource.Vf.we,d=new olympe.dc.Request(olympe.dc.Request.C.Vf,a.ja());return oh(a.kf,d).then(e=>{let f;const g=null!=(f=null==e?void 0:e.s)?f:c;(e=null==e?void 0:e.r)&&olympe.gb.Cb('dc').warn(`Source ${a.name()} (${a.ja()}) has encountered issues: ${e}`);return g}).catch(e=>{const f=olympe.Y.errors.OJ;return e instanceof olympe.Y.errors.Nz||
1707
1708
  e instanceof f?b:c})})}init(){const a=this;return q(function*(){if(a.constructor===olympe.dm.DataSource)throw Error(`Data source ${a.name()} (${a.tag}) has no implementation (is the file missing ?)`);})}destroy(){return q(function*(){})}healthCheck(){return q(function*(){})}executeQuery(a){return q(function*(){return olympe.dc.query.vi.Pw(a)})}applyTransaction(){return q(function*(){})}uploadFileContent(){return q(function*(){throw Error('Should not try to upload files with SELF source');})}downloadFileContent(){return q(function*(){throw Error('Should not try to download files with SELF source');
1708
1709
  })}deleteFileContent(){return q(function*(){})}};olympe.dm.DataSource.prototype.deleteFileContent=olympe.dm.DataSource.prototype.deleteFileContent;olympe.dm.DataSource.prototype.downloadFileContent=olympe.dm.DataSource.prototype.downloadFileContent;olympe.dm.DataSource.prototype.uploadFileContent=olympe.dm.DataSource.prototype.uploadFileContent;olympe.dm.DataSource.prototype.applyTransaction=olympe.dm.DataSource.prototype.applyTransaction;olympe.dm.DataSource.prototype.executeQuery=olympe.dm.DataSource.prototype.executeQuery;
1709
1710
  olympe.dm.DataSource.prototype.healthCheck=olympe.dm.DataSource.prototype.healthCheck;olympe.dm.DataSource.prototype.destroy=olympe.dm.DataSource.prototype.destroy;olympe.dm.DataSource.prototype.init=olympe.dm.DataSource.prototype.init;olympe.dm.DataSource.prototype.getConfig=olympe.dm.DataSource.prototype.yo;olympe.dm.DataSource.prototype.getId=olympe.dm.DataSource.prototype.ja;olympe.dm.DataSource.U=olympe.dc.Ja.C('ff021000000000000060',olympe.dm.DataSource,olympe.dc.ba.tr);
1710
1711
  olympe.dm.DataSource.Yt=olympe.dm.DataSource.U.fa('ff023000000000000060');z('olympe.dm.DataSource.activatedProp',olympe.dm.DataSource.Yt);olympe.dm.DataSource.O2=olympe.dm.DataSource.U.fa('ff023000000000000061');olympe.dm.DataSource.sY=olympe.dm.DataSource.U.fa('ff023000000000000062');olympe.dm.DataSource.xM=olympe.dm.DataSource.U.fa('ff023000000000000063');olympe.dm.DataSource.DM=olympe.dm.DataSource.U.fa('ff023000000000000064');olympe.dm.DataSource.BY=olympe.dm.DataSource.U.fa('ff023000000000000065');
1711
- olympe.dm.DataSource.qx=olympe.dm.DataSource.U.tb('ff022000000000000060');olympe.dm.DataSource.SERVER=Hh('00000000000000000060','Server source');olympe.dm.DataSource.am={e0:'hybrid',HF:'bus',lH:'http'};olympe.dm.DataSource.Vf={Dt:'ready',we:'error',yQ:'down',jk:'offline'};olympe.dm.ii=class extends olympe.dc.CloudObject{};olympe.dm.ii.U=olympe.dc.Ja.C('ff021000000000000070',olympe.dm.ii);olympe.dm.ii.C=olympe.dm.ii.U.tb('ff023000000000000071');olympe.dm.ii.D=olympe.dm.ii.U.tb('ff023000000000000072');olympe.dm.ii.O=olympe.dm.ii.U.tb('ff023000000000000073');olympe.dm.Ye=class extends olympe.dm.BrickMetadata{W(){return new olympe.dc.Kb(this.ka(),[new olympe.dc.Ra.zj(olympe.dm.Ye.D.ka(),olympe.dc.Ib.DESTINATION,olympe.dc.Ra.$C.wH,olympe.dc.Ra.$C.lR),olympe.dm.Ye.R])}Di(){return olympe.sc.jf.Yi.NQ}C(){return this.pc(olympe.dm.Ye.D,olympe.dm.Ye)}D(){return this.pc(olympe.dm.Ye.R)}};olympe.dm.Ye.U=olympe.dc.Ja.C('01612df1db9749227626',olympe.dm.Ye);olympe.dm.Ye.D=olympe.dm.Ye.U.tb('016a697ef00ce7554691');olympe.dm.Ye.Oa=Y(olympe.dm.Ye.U,olympe.dm.Ye.D);
1712
+ olympe.dm.DataSource.qx=olympe.dm.DataSource.U.tb('ff022000000000000060');olympe.dm.DataSource.SERVER=Hh('00000000000000000060','Server source');olympe.dm.DataSource.am={e0:'hybrid',IF:'bus',lH:'http'};olympe.dm.DataSource.Vf={Dt:'ready',we:'error',yQ:'down',jk:'offline'};olympe.dm.ii=class extends olympe.dc.CloudObject{};olympe.dm.ii.U=olympe.dc.Ja.C('ff021000000000000070',olympe.dm.ii);olympe.dm.ii.C=olympe.dm.ii.U.tb('ff023000000000000071');olympe.dm.ii.D=olympe.dm.ii.U.tb('ff023000000000000072');olympe.dm.ii.O=olympe.dm.ii.U.tb('ff023000000000000073');olympe.dm.Ye=class extends olympe.dm.BrickMetadata{W(){return new olympe.dc.Kb(this.ka(),[new olympe.dc.Ra.zj(olympe.dm.Ye.D.ka(),olympe.dc.Ib.DESTINATION,olympe.dc.Ra.aD.wH,olympe.dc.Ra.aD.lR),olympe.dm.Ye.R])}Di(){return olympe.sc.jf.Yi.NQ}C(){return this.pc(olympe.dm.Ye.D,olympe.dm.Ye)}D(){return this.pc(olympe.dm.Ye.R)}};olympe.dm.Ye.U=olympe.dc.Ja.C('01612df1db9749227626',olympe.dm.Ye);olympe.dm.Ye.D=olympe.dm.Ye.U.tb('016a697ef00ce7554691');olympe.dm.Ye.Oa=Y(olympe.dm.Ye.U,olympe.dm.Ye.D);
1712
1713
  olympe.dm.Ye.R=olympe.dm.Ye.U.tb('016a697ef00ce7554692');Y(olympe.dc.CloudObject.U,olympe.dm.Ye.R);olympe.dm.Ye.prototype.W.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.Ye.prototype.C.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.Ye.prototype.D.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.fh=class extends olympe.dm.Ye{C(){return this.ka()===olympe.dm.fh.za?this.pc(olympe.dm.fh.$,olympe.dm.Ye):this.pc(olympe.dm.fh.ca,olympe.dm.Ye)}};olympe.dm.fh.U=olympe.dc.Ja.C('ff021000000000000020',olympe.dm.fh);olympe.dm.fh.ca=olympe.dm.fh.U.tb('017e9c34cf48bd6965c1');olympe.dm.fh.$=olympe.dm.fh.U.tb('017e9c2e013e06bfffd9');olympe.dm.fh.Hg=olympe.dm.fh.U.tb('01811f12ad77673770d4');olympe.dm.fh.za=Hh('10000000000000000000','ROOT_OF_ROOTS');olympe.dm.fh.Eb=Hh('10000000000000000001','OLYMPE_FOLDER');
1713
1714
  olympe.dm.fh.xb=Hh('10000000000000000002','INTERNAL_FOLDER');olympe.dm.fh.prototype.C.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.Module=class extends olympe.dc.CloudObject{IW(){return this.Rd(olympe.dm.Module.T)}aX(){return this.yg(olympe.dm.Module.W)}pS(){return this.Rd(olympe.dm.Module.D)}eX(){return this.Rd(olympe.dm.Module.$)}rW(){return this.Rd(olympe.dm.Module.O)}bX(){return this.pc(olympe.dm.Module.R,olympe.dm.Module)}oX(){return this.pc(olympe.dm.Module.C,olympe.dm.Ti)}};olympe.dm.Module.U=olympe.dc.Ja.C('ff021000000000000040',olympe.dm.Module);olympe.dm.Module.T=olympe.dm.Module.U.fa('ff023000000000000042');
1714
1715
  olympe.dm.Module.W=olympe.dm.Module.U.fa('ff023000000000000043');olympe.dm.Module.D=olympe.dm.Module.U.fa('ff023000000000000044');olympe.dm.Module.$=olympe.dm.Module.U.fa('ff023000000000000045');olympe.dm.Module.O=olympe.dm.Module.U.fa('ff023000000000000046');olympe.dm.Module.creationDateProp=olympe.dm.Module.U.fa('ff023000000000000049');olympe.dm.Module.C=olympe.dm.Module.U.tb('ff022000000000000013');olympe.dm.Module.R=olympe.dm.Module.U.tb('ff022000000000000014');
@@ -1716,33 +1717,33 @@ olympe.dm.Module.ca=Hh('016a69b9bceabd815b77','OLYMPE_SERVER_MODULE');h=olympe.d
1716
1717
  b);this.C=c;this.R=d;this.O=e}bx(){return this.Rd(olympe.dm.File.mimeTypeProp)}Uw(a,b){void 0===a&&void 0===b||olympe.gb.Cb('File.getContentAsBinary').warn('"onSuccess" and "onFailure" callbacks are deprecated in favor of the returned promise');const c=a&&olympe.j.yb().re(a),d=b&&olympe.j.yb().re(e=>null==b?void 0:b(`${e}`));return this.C.O(this).then(e=>{e=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);null==c||c(e);return e}).catch(e=>{null==d||d(e.message);throw e;})}jA(a,b){void 0===a&&
1717
1718
  void 0===b||olympe.gb.Cb('File.getContentAsString').warn('"onSuccess" and "onFailure" callbacks are deprecated in favor of the returned promise');const c=a&&olympe.j.yb().re(a),d=b&&olympe.j.yb().re(e=>null==b?void 0:b(`${e}`));return this.Uw().then(e=>{e=fb(e);null==c||c(e);return e}).catch(e=>{null==d||d(e.message);throw e;})}Vr(a,b){void 0===a&&void 0===b||olympe.gb.Cb('File.getContentUrl').warn('"onSuccess" and "onFailure" callbacks are deprecated in favor of the returned promise');const c=a&&
1718
1719
  olympe.j.yb().re(a),d=b&&olympe.j.yb().re(g=>null==b?void 0:b(`${g}`));a=this.get(olympe.dm.File.C);const e=this.get(olympe.dm.File.urlProp),f=this.get(olympe.dm.File.mimeTypeProp);if(a||(null==e?0:e.startsWith('blob:'))||(null==e?0:e.startsWith('stream:')))return this.C.O(this).then(g=>{g=`data:${f};base64,${this.O.C(g)}`;null==c||c(g);return g}).catch(g=>{null==d||d(g.message);throw g;});if('string'===typeof e)return null==c||c(e),Promise.resolve(e);a=`No content nor URL associated to the file ${this.ka()}`;
1719
- null==d||d(a);return Promise.reject(Error(a))}rE(a,b){const c=b&&olympe.j.yb().re(b);olympe.j.ls([a],d=>{const e=new olympe.dc.Tc;e.update(this,olympe.dc.CloudObject.nameProp,d);e.update(this,olympe.dm.File.fileNameProp,d);e.Kd(f=>{c&&c(f)})})}WO(a){this.get(olympe.dm.File.urlProp).startsWith('stream:')?this.C.$(this.tag).then(()=>this.WO(a)).catch(b=>this.V.error(`Error while getting the content of a streamed file: ${b}`)):this.R.W(this,a,this.get(olympe.dm.File.mimeTypeProp))}le(){return this.Rd(olympe.dm.File.urlProp)}Zy(){return this.Rd(olympe.dm.File.fileNameProp)}uW(){return this.gx(olympe.dm.File.creationDateProp)}$W(){return this.gx(olympe.dm.File.modificationDateProp)}LX(){return this.Vm(olympe.dm.File.C)}};
1720
+ null==d||d(a);return Promise.reject(Error(a))}sE(a,b){const c=b&&olympe.j.yb().re(b);olympe.j.ls([a],d=>{const e=new olympe.dc.Tc;e.update(this,olympe.dc.CloudObject.nameProp,d);e.update(this,olympe.dm.File.fileNameProp,d);e.Kd(f=>{c&&c(f)})})}WO(a){this.get(olympe.dm.File.urlProp).startsWith('stream:')?this.C.$(this.tag).then(()=>this.WO(a)).catch(b=>this.V.error(`Error while getting the content of a streamed file: ${b}`)):this.R.W(this,a,this.get(olympe.dm.File.mimeTypeProp))}le(){return this.Rd(olympe.dm.File.urlProp)}Zy(){return this.Rd(olympe.dm.File.fileNameProp)}uW(){return this.gx(olympe.dm.File.creationDateProp)}$W(){return this.gx(olympe.dm.File.modificationDateProp)}LX(){return this.Vm(olympe.dm.File.C)}};
1720
1721
  olympe.dm.File.prototype.saveAs=olympe.dm.File.prototype.WO;olympe.dm.File.prototype.getContentUrl=olympe.dm.File.prototype.Vr;olympe.dm.File.prototype.getContentAsString=olympe.dm.File.prototype.jA;olympe.dm.File.prototype.getContentAsBinary=olympe.dm.File.prototype.Uw;olympe.dm.File.U=olympe.dc.Ja.C('ff021000000000000030',olympe.dm.File,olympe.dc.ba.Py,olympe.Fa.ba.Ob,olympe.oa.ba.Uq);olympe.dm.File.nameProp=olympe.dm.File.U.fa('ff023000000000000050');z('olympe.dm.File.nameProp',olympe.dm.File.nameProp);
1721
1722
  olympe.dm.File.fileNameProp=olympe.dm.File.U.fa('ff023000000000000050');z('olympe.dm.File.fileNameProp',olympe.dm.File.fileNameProp);olympe.dm.File.creationDateProp=olympe.dm.File.U.fa('ff023000000000000051');z('olympe.dm.File.creationDateProp',olympe.dm.File.creationDateProp);olympe.dm.File.modificationDateProp=olympe.dm.File.U.fa('ff023000000000000055');z('olympe.dm.File.modificationDateProp',olympe.dm.File.modificationDateProp);olympe.dm.File.mimeTypeProp=olympe.dm.File.U.fa('ff023000000000000052');
1722
- z('olympe.dm.File.mimeTypeProp',olympe.dm.File.mimeTypeProp);olympe.dm.File.urlProp=olympe.dm.File.U.fa('ff023000000000000053');z('olympe.dm.File.urlProp',olympe.dm.File.urlProp);olympe.dm.File.C=olympe.dm.File.U.fa('ff023000000000000054');olympe.dm.File.U.C=olympe.dm.File.D.bind(null,olympe.dm.File);olympe.dm.File.T='application/data';olympe.dm.File.Aa=[olympe.j.File];h=olympe.dm.File.prototype;h.bx.K=olympe.j.J.R;h.Uw.K=olympe.j.J.O;h.jA.K=olympe.j.J.O;h.Vr.K=olympe.j.J.O;h.rE.K=olympe.j.J.O;
1723
+ z('olympe.dm.File.mimeTypeProp',olympe.dm.File.mimeTypeProp);olympe.dm.File.urlProp=olympe.dm.File.U.fa('ff023000000000000053');z('olympe.dm.File.urlProp',olympe.dm.File.urlProp);olympe.dm.File.C=olympe.dm.File.U.fa('ff023000000000000054');olympe.dm.File.U.C=olympe.dm.File.D.bind(null,olympe.dm.File);olympe.dm.File.T='application/data';olympe.dm.File.Aa=[olympe.j.File];h=olympe.dm.File.prototype;h.bx.K=olympe.j.J.R;h.Uw.K=olympe.j.J.O;h.jA.K=olympe.j.J.O;h.Vr.K=olympe.j.J.O;h.sE.K=olympe.j.J.O;
1723
1724
  h.le.K=olympe.j.J.R;h.Zy.K=olympe.j.J.R;h.uW.K=new olympe.j.J(()=>olympe.j.ac,[]);h.$W.K=new olympe.j.J(()=>olympe.j.ac,[]);h.LX.K=olympe.j.J.T;olympe.dm.Ti=class extends olympe.dc.CloudObject{C(){return this.Rd(olympe.dm.Ti.D)}O(){return this.yg(olympe.dm.Ti.O)}D(){return this.pc(olympe.dm.Ti.C,olympe.dm.Module)}};olympe.dm.Ti.U=olympe.dc.Ja.C('ff021000000000000041',olympe.dm.Ti);olympe.dm.Ti.D=olympe.dm.Ti.U.fa('ff023000000000000047');olympe.dm.Ti.O=olympe.dm.Ti.U.fa('ff023000000000000048');olympe.dm.Ti.C=olympe.dm.Module.C.fe();olympe.dm.Ti.prototype.C.K=olympe.j.J.R;olympe.dm.Ti.prototype.O.K=olympe.j.J.D;
1724
1725
  olympe.dm.Ti.prototype.D.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.fd=class extends olympe.dm.fh{C(){return this.pc(olympe.dm.Ye.D,olympe.dm.Ye)}T(){return this.Rd(olympe.dm.fd.da)}$(){return this.Rd(olympe.dm.fd.sb)}O(){return this.pc(olympe.dm.fd.C,olympe.dm.fd)}};olympe.dm.fd.U=olympe.dc.Ja.C('0163d9594700fcf61e54',olympe.dm.fd);olympe.dm.fd.da=olympe.dm.fd.U.fa('017869c7d2833c9492c1');olympe.dm.fd.vf=olympe.dm.fd.U.fa('017869c7d2833c9492c2');olympe.dm.fd.Yc=olympe.dm.fd.U.fa('017869c7d2833c9492c3');olympe.dm.fd.sb=olympe.dm.fd.U.fa('017869c80bb9929c76d0');
1725
1726
  olympe.dm.fd.T=olympe.dm.fd.U.tb('ff02200000000000002a');olympe.dm.fd.C=olympe.dm.fd.U.tb('ff02200000000000002b');olympe.dm.fd.Pa=Y(olympe.dm.fd.U,olympe.dm.fd.C);olympe.dm.fd.O=olympe.dm.fd.U.tb('ff02200000000000002c');olympe.dm.fd.vg=olympe.dm.fd.U.tb('017e9c412e2b944bc48f');olympe.dm.fd.gd=olympe.dm.fd.U.tb('017e9c412e2b944bd590');olympe.dm.fd.cf=olympe.dm.fd.U.tb('017e9c416872a89d3415');olympe.dm.fd.Yh=olympe.dm.fd.U.tb('017ebf8fe5c506662098');Y(olympe.dc.CloudObject.U,olympe.dm.fd.T);
1726
1727
  olympe.dm.fd.qc=Hh('100000000000000000dd','PRIMORDIAL');olympe.dm.fd.prototype.C.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.fd.prototype.T.K=olympe.j.J.R;olympe.dm.fd.prototype.$.K=olympe.j.J.R;olympe.dm.fd.prototype.O.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.dm.Property=class extends olympe.dc.CloudObject{C(){return this.Ig(olympe.dm.Property.definingModelRel,olympe.dc.CloudObject)}getType(){return this.Ig(olympe.dm.Property.typeRel,olympe.dc.CloudObject)}D(){return this.ml(olympe.dm.Property.typeRel).zf()}og(){return this.C().bb().bA(this.bb(),'.')}};olympe.dm.Property.U=olympe.dc.Ja.C('ff021000000000000005',olympe.dm.Property);olympe.dm.Property.definingModelRel=Y(olympe.dm.Property.U,olympe.dc.CloudObject.propertyRel);
1727
1728
  z('olympe.dm.Property.definingModelRel',olympe.dm.Property.definingModelRel);olympe.dm.Property.typeRel=Y(olympe.dm.Property.U,olympe.dc.CloudObject.typeRel);z('olympe.dm.Property.typeRel',olympe.dm.Property.typeRel);olympe.dm.Property.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.dm.Property.prototype.getType.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.dm.Property.prototype.D.K=olympe.j.J.O;olympe.dm.Relation=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}WW(){return olympe.j.kb.EMPTY}kW(){return this.yg(olympe.dm.Relation.D)}gX(){return this.yg(olympe.dm.Relation.O)}jN(){return this.pc(olympe.dm.Relation.destinationModelRel,olympe.dc.CloudObject).Vd()}NN(){return this.pc(olympe.dm.Relation.originModelRel,olympe.dc.CloudObject).Vd()}og(){return this.NN().bb().concat(['-',this.bb(),'->',this.jN().bb()])}};olympe.dm.Relation.U=olympe.dc.Ja.C('ff021000000000000006',olympe.dm.Relation);
1728
- olympe.dm.Relation.O=olympe.dm.Relation.U.fa('ff023000000000000030');olympe.dm.Relation.D=olympe.dm.Relation.U.fa('ff023000000000000034');olympe.dm.Relation.da=olympe.dm.Relation.U.fa(olympe.dc.Te.tG);olympe.dm.Relation.$=olympe.dm.Relation.U.fa(olympe.dc.Te.Qg);olympe.dm.Relation.ma=olympe.dm.Relation.U.fa(olympe.dc.Te.Wi);olympe.dm.Relation.za=olympe.dm.Relation.U.fa(olympe.dc.Te.jU);olympe.dm.Relation.ca=olympe.dm.Relation.U.fa(olympe.dc.Te.zQ);olympe.dm.Relation.Pa=olympe.dm.Relation.U.fa(olympe.dc.Te.KU);
1729
+ olympe.dm.Relation.O=olympe.dm.Relation.U.fa('ff023000000000000030');olympe.dm.Relation.D=olympe.dm.Relation.U.fa('ff023000000000000034');olympe.dm.Relation.da=olympe.dm.Relation.U.fa(olympe.dc.Te.uG);olympe.dm.Relation.$=olympe.dm.Relation.U.fa(olympe.dc.Te.Qg);olympe.dm.Relation.ma=olympe.dm.Relation.U.fa(olympe.dc.Te.Wi);olympe.dm.Relation.za=olympe.dm.Relation.U.fa(olympe.dc.Te.jU);olympe.dm.Relation.ca=olympe.dm.Relation.U.fa(olympe.dc.Te.zQ);olympe.dm.Relation.Pa=olympe.dm.Relation.U.fa(olympe.dc.Te.KU);
1729
1730
  olympe.dm.Relation.W=olympe.dm.Relation.U.fa('ff023000000000000031');olympe.dm.Relation.originModelRel=Y(olympe.dm.Relation.U,olympe.dc.CloudObject.px);z('olympe.dm.Relation.originModelRel',olympe.dm.Relation.originModelRel);olympe.dm.Relation.destinationModelRel=Y(olympe.dm.Relation.U,olympe.dc.CloudObject.BM);z('olympe.dm.Relation.destinationModelRel',olympe.dm.Relation.destinationModelRel);olympe.dm.Relation.C={uH:0,VP:5,LT:1,g1:4,yL:2,vK:8,o_:10,d1:6,e1:9,sj:6,f1:9};
1730
1731
  olympe.dm.Relation.R={F0:3,iT:4,r0:5,q0:6};olympe.dm.Relation.T=olympe.dm.xB.mT+olympe.dm.xB.wQ;h=olympe.dm.Relation.prototype;h.WW.K=olympe.j.J.R;h.kW.K=olympe.j.J.D;h.gX.K=olympe.j.J.D;h.jN.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.NN.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);function Ro(a){a=olympe.dc.Ya(a);if(olympe.dc.eb().Xm(a,olympe.dm.String))return olympe.dm.String.valueProp;switch(a){case olympe.dm.Number.U.ka():return olympe.dm.Number.valueProp;case olympe.dm.Boolean.U.ka():return olympe.dm.Boolean.valueProp;case olympe.dm.DateTime.U.ka():return olympe.dm.DateTime.valueProp;case olympe.dm.Color.U.ka():return olympe.dm.Color.valueProp;default:throw Error('Unknown primitive model: '+a);}}olympe.dm.$k=class extends olympe.dc.CloudObject{getValue(){}};
1731
1732
  olympe.dm.$k.U=olympe.dc.Ja.C('ff021000000000000019',olympe.dm.$k);olympe.dm.String=class extends olympe.dm.$k{getValue(){return this.Rd(olympe.dm.String.valueProp)}ug(){return this.get(olympe.dm.String.valueProp)}toString(){let a;return null!=(a=this.get(olympe.dm.String.valueProp))?a:''}};olympe.dm.String.U=olympe.dc.Ja.C('ff021000000000000011',olympe.dm.String);olympe.dm.String.valueProp=olympe.dm.String.U.fa('ff023000000000000026');z('olympe.dm.String.valueProp',olympe.dm.String.valueProp);olympe.dm.String.prototype.getValue.K=olympe.j.J.R;
1732
- olympe.dm.String.prototype.toString.K=olympe.j.J.O;olympe.dm.Boolean=class extends olympe.dm.$k{getValue(){return this.Vm(olympe.dm.Boolean.valueProp)}ug(){return this.get(olympe.dm.Boolean.valueProp)}};olympe.dm.Boolean.U=olympe.dc.Ja.C('ff021000000000000012',olympe.dm.Boolean);olympe.dm.Boolean.valueProp=olympe.dm.Boolean.U.fa('ff023000000000000027');z('olympe.dm.Boolean.valueProp',olympe.dm.Boolean.valueProp);olympe.dm.Boolean.prototype.getValue.K=olympe.j.J.T;olympe.dm.Color=class extends olympe.dm.$k{getValue(){return this.VN()}ug(){return this.get(olympe.dm.Color.valueProp)}};olympe.dm.Color.U=olympe.dc.Ja.C('ff021000000000000017',olympe.dm.Color);olympe.dm.Color.valueProp=olympe.dm.Color.U.fa('ff023000000000000032');z('olympe.dm.Color.valueProp',olympe.dm.Color.valueProp);olympe.dm.Color.prototype.getValue.K=new olympe.j.J(()=>olympe.j.Color,[]);olympe.dm.DateTime=class extends olympe.dm.$k{getValue(){return this.gx(olympe.dm.DateTime.valueProp)}ug(){return this.get(olympe.dm.DateTime.valueProp)}};olympe.dm.DateTime.U=olympe.dc.Ja.C('ff021000000000000014',olympe.dm.DateTime);olympe.dm.DateTime.valueProp=olympe.dm.DateTime.U.fa('ff023000000000000029');z('olympe.dm.DateTime.valueProp',olympe.dm.DateTime.valueProp);olympe.dm.DateTime.prototype.getValue.K=new olympe.j.J(()=>olympe.j.ac,[]);olympe.dm.Enum=class extends olympe.dm.String{bb(){return olympe.j.Xa([super.bb(),super.getValue()],(a,b)=>''!==a.valueOf()?a:b,olympe.j.kb)}gf(){return this.yg(olympe.dm.Enum.rankProp)}};olympe.dm.Enum.U=olympe.dc.Ja.C('016cdd861b32d56c81f7',olympe.dm.Enum);olympe.dm.Enum.rankProp=olympe.dm.Enum.U.fa('017a7690c915975ea995');olympe.dm.Enum.prototype.gf.K=olympe.j.J.D;olympe.dm.yp=class extends olympe.dm.BrickMetadata{wX(){return this.oc(olympe.dc.CloudObject.instancesRel).lv(olympe.dm.Enum.rankProp,olympe.dc.query.uz.ASC).zf()}static create(a,b){b=a.create(olympe.dm.yp,(new Map).set(olympe.dc.CloudObject.nameProp,b));a.Qb(olympe.dc.CloudObject.extendRel,b,olympe.dm.Enum);return b}};olympe.dm.yp.create=olympe.dm.yp.create;olympe.dm.yp.prototype.getValues=olympe.dm.yp.prototype.wX;olympe.dm.yp.U=olympe.dc.Ja.C('017a768f966fc08ebb98',olympe.dm.yp);olympe.dm.Number=class extends olympe.dm.$k{getValue(){return this.yg(olympe.dm.Number.valueProp)}ug(){return this.get(olympe.dm.Number.valueProp)}};olympe.dm.Number.U=olympe.dc.Ja.C('ff021000000000000013',olympe.dm.Number);olympe.dm.Number.valueProp=olympe.dm.Number.U.fa('ff023000000000000028');z('olympe.dm.Number.valueProp',olympe.dm.Number.valueProp);olympe.dm.Number.prototype.getValue.K=olympe.j.J.D;olympe.sc={};olympe.sc.ba={Vb:'sc.Logger',hw:'sc.RootContext',cl:'sc.Serializer'};olympe.sc.pa={Zl:'sc.app',tp:'sc.debug',mF:'sc.autostartProfiler',oG:'sc.debugger',VB:'sc.disableTheme',PRODUCTION:'sc.production',jT:'sc.onstartTimeout',qK:'sc.remoteActionTimeout'};
1733
- olympe.sa.$e(a=>{E(a,olympe.sc.pa.Zl,'');E(a,olympe.sc.pa.tp,!1);E(a,olympe.sc.pa.VB,!0);E(a,olympe.sc.pa.PRODUCTION,!1);E(a,olympe.sc.pa.jT,2E4);E(a,olympe.sc.pa.qK,3E4);E(a,olympe.sc.pa.mF,!1);C(a,olympe.sc.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('sc'));B(a,olympe.sc.ba.cl,olympe.sc.Mf,olympe.dc.db.ba.Ob);Ua(a,olympe.dc.sources.ba.cl,olympe.sc.ba.cl);C(a,olympe.sc.ba.hw,[new olympe.sa.zb(olympe.sc.pa.PRODUCTION)],b=>{const c=new olympe.sc.sp('root','root',null);olympe.sc.uE=c;c.set(olympe.sc.Hb.C.PRODUCTION,
1733
+ olympe.dm.String.prototype.toString.K=olympe.j.J.O;olympe.dm.Boolean=class extends olympe.dm.$k{getValue(){return this.Vm(olympe.dm.Boolean.valueProp)}ug(){return this.get(olympe.dm.Boolean.valueProp)}};olympe.dm.Boolean.U=olympe.dc.Ja.C('ff021000000000000012',olympe.dm.Boolean);olympe.dm.Boolean.valueProp=olympe.dm.Boolean.U.fa('ff023000000000000027');z('olympe.dm.Boolean.valueProp',olympe.dm.Boolean.valueProp);olympe.dm.Boolean.prototype.getValue.K=olympe.j.J.T;olympe.dm.Color=class extends olympe.dm.$k{getValue(){return this.VN()}ug(){return this.get(olympe.dm.Color.valueProp)}};olympe.dm.Color.U=olympe.dc.Ja.C('ff021000000000000017',olympe.dm.Color);olympe.dm.Color.valueProp=olympe.dm.Color.U.fa('ff023000000000000032');z('olympe.dm.Color.valueProp',olympe.dm.Color.valueProp);olympe.dm.Color.prototype.getValue.K=new olympe.j.J(()=>olympe.j.Color,[]);olympe.dm.DateTime=class extends olympe.dm.$k{getValue(){return this.gx(olympe.dm.DateTime.valueProp)}ug(){return this.get(olympe.dm.DateTime.valueProp)}};olympe.dm.DateTime.U=olympe.dc.Ja.C('ff021000000000000014',olympe.dm.DateTime);olympe.dm.DateTime.valueProp=olympe.dm.DateTime.U.fa('ff023000000000000029');z('olympe.dm.DateTime.valueProp',olympe.dm.DateTime.valueProp);olympe.dm.DateTime.prototype.getValue.K=new olympe.j.J(()=>olympe.j.ac,[]);olympe.dm.Enum=class extends olympe.dm.String{bb(){return olympe.j.Xa([super.bb(),super.getValue()],(a,b)=>''!==a.valueOf()?a:b,olympe.j.kb)}gf(){return this.yg(olympe.dm.Enum.rankProp)}};olympe.dm.Enum.U=olympe.dc.Ja.C('016cdd861b32d56c81f7',olympe.dm.Enum);olympe.dm.Enum.rankProp=olympe.dm.Enum.U.fa('017a7690c915975ea995');olympe.dm.Enum.prototype.gf.K=olympe.j.J.D;olympe.dm.yp=class extends olympe.dm.BrickMetadata{wX(){return this.oc(olympe.dc.CloudObject.instancesRel).lv(olympe.dm.Enum.rankProp,olympe.dc.query.uz.ASC).zf()}static create(a,b){b=a.create(olympe.dm.yp,(new Map).set(olympe.dc.CloudObject.nameProp,b));a.Qb(olympe.dc.CloudObject.extendRel,b,olympe.dm.Enum);return b}};olympe.dm.yp.create=olympe.dm.yp.create;olympe.dm.yp.prototype.getValues=olympe.dm.yp.prototype.wX;olympe.dm.yp.U=olympe.dc.Ja.C('017a768f966fc08ebb98',olympe.dm.yp);olympe.dm.Number=class extends olympe.dm.$k{getValue(){return this.yg(olympe.dm.Number.valueProp)}ug(){return this.get(olympe.dm.Number.valueProp)}};olympe.dm.Number.U=olympe.dc.Ja.C('ff021000000000000013',olympe.dm.Number);olympe.dm.Number.valueProp=olympe.dm.Number.U.fa('ff023000000000000028');z('olympe.dm.Number.valueProp',olympe.dm.Number.valueProp);olympe.dm.Number.prototype.getValue.K=olympe.j.J.D;olympe.sc={};olympe.sc.ba={Vb:'sc.Logger',hw:'sc.RootContext',cl:'sc.Serializer'};olympe.sc.pa={Zl:'sc.app',tp:'sc.debug',nF:'sc.autostartProfiler',pG:'sc.debugger',VB:'sc.disableTheme',PRODUCTION:'sc.production',jT:'sc.onstartTimeout',qK:'sc.remoteActionTimeout'};
1734
+ olympe.sa.$e(a=>{E(a,olympe.sc.pa.Zl,'');E(a,olympe.sc.pa.tp,!1);E(a,olympe.sc.pa.VB,!0);E(a,olympe.sc.pa.PRODUCTION,!1);E(a,olympe.sc.pa.jT,2E4);E(a,olympe.sc.pa.qK,3E4);E(a,olympe.sc.pa.nF,!1);C(a,olympe.sc.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('sc'));B(a,olympe.sc.ba.cl,olympe.sc.Mf,olympe.dc.db.ba.Ob);Ua(a,olympe.dc.sources.ba.cl,olympe.sc.ba.cl);C(a,olympe.sc.ba.hw,[new olympe.sa.zb(olympe.sc.pa.PRODUCTION)],b=>{const c=new olympe.sc.sp('root','root',null);olympe.sc.vE=c;c.set(olympe.sc.Hb.C.PRODUCTION,
1734
1735
  b);return new olympe.sc.Hb(c)})},'olympe.sc');olympe.sa.run([olympe.sc.ba.hw,new olympe.sa.zb(olympe.Y.pa.IB)],(a,b)=>{olympe.Jj().ctx=a;olympe.Jj().oVersion=()=>b});olympe.sc.LA=()=>null!==olympe.dc.eb().Wd(void 0,olympe.sc.Runnable.W.fe());olympe.sc.M2=(a,b,c,d)=>{c=Z(Z(a.create(olympe.sc.Ch),olympe.sc.Ch.C,c||null),olympe.sc.Ch.O,d||null);a.Qb(olympe.sc.Ch.D,c,b);a.Qb(olympe.dc.CloudObject.containsRel,b,c);return c.ka()};olympe.sc.Hw=(a,b)=>{a=olympe.dc.Ad.lW(b)(a);return a instanceof olympe.sc.ri?a.C():a};
1735
1736
  olympe.sc.d3=function(a){const b=olympe.dc.CloudObject.containsRel.fe();var c=olympe.dc.Ya(a);if(void 0===c)return[];a=olympe.dc.eb();const d=[];let e=[];const f=new Set;for(;!a.me(c,olympe.dm.Ye);){f.add(c);const g=a.Wd(c,b);if(null===g)return olympe.gb.Cb('sc').warn(`Object ${c} has no container`),[];a.me(c,olympe.sc.logic.jd)||g===a.Wd(c,olympe.sc.Runnable.W.fe())||d.push(c);c=g;if(f.has(c))throw Error(`Instance ${c} (${a.name(c)}) is part of a cyclic contain pattern`);}e.push(c);e=e.concat(a.iq(e[0],
1736
1737
  olympe.dm.Ye.Oa));e=e.concat(a.iq(e[e.length-1],olympe.dm.fh.ca.fe()));e=e.concat(a.iq(e[e.length-1],olympe.dm.fh.$.fe()));return[...d,...e].reverse()};olympe.sc.JW=a=>{a=a&&a.valueOf()||'';return a.startsWith('image/')?olympe.sc.Xn:a.startsWith('video/')?olympe.sc.St:a.startsWith('font/')||a.startsWith('application/font-woff')?olympe.sc.Fg:olympe.dm.File};
1737
1738
  olympe.sc.c3=a=>a instanceof olympe.sc.Xn?'image/*':a instanceof olympe.sc.St?'video/*':a instanceof olympe.sc.Fg?'font/*,application/font-woff':null;olympe.sc.$c={};function So(a,b){var c=olympe.sc.Hb,d=a.C;a=a.se();b=olympe.dc.Ya(b);let e,f=null==(e=d.children)?void 0:e.get(b);if(!f){f=d.wo(a,void 0,b);for(d=f.getParent();d&&d.ca&&!d.id.startsWith('_');)d=d.getParent();let g;null==(g=d)||To(g,b,f)}return new c(f)}function Uo(a,b){let c,d;return(a=null!=(d=null==(c=a.C.children)?void 0:c.get(olympe.dc.Ya(b)))?d:null)?new olympe.sc.Hb(a):null}function Vo(a){let b;return null!=(b=a.Qa(olympe.sc.Hb.C.EDITION))?b:!1}
1738
1739
  function Wo(a){let b;return null!=(b=a.Qa(olympe.sc.Hb.C.PRODUCTION))?b:!1}
1739
- olympe.sc.Hb=class{constructor(a=olympe.sc.uE){this.C=a;this.V=olympe.gb.Cb('sc');this.parent=null}ja(){return this.C.ja()}getParent(){if(null===this.parent){const a=this.C.getParent();this.parent=null===a?null:new olympe.sc.Hb(a)}return this.parent}pW(a){const b=olympe.dc.eb();let c=this.getParent();if(!c)return this;const d=e=>{e=e.Fm();if('string'!==typeof e)return!1;const f=b.model(e);return f&&b.Ac(f,olympe.sc.yc.da)||a.modelTag&&!b.me(e,a.modelTag)?!1:!0};for(;c&&!d(c);){const e=c.getParent();
1740
+ olympe.sc.Hb=class{constructor(a=olympe.sc.vE){this.C=a;this.V=olympe.gb.Cb('sc');this.parent=null}ja(){return this.C.ja()}getParent(){if(null===this.parent){const a=this.C.getParent();this.parent=null===a?null:new olympe.sc.Hb(a)}return this.parent}pW(a){const b=olympe.dc.eb();let c=this.getParent();if(!c)return this;const d=e=>{e=e.Fm();if('string'!==typeof e)return!1;const f=b.model(e);return f&&b.Ac(f,olympe.sc.yc.da)||a.modelTag&&!b.me(e,a.modelTag)?!1:!0};for(;c&&!d(c);){const e=c.getParent();
1740
1741
  if(!e)break;c=e}return c}Fm(){return this.C.Fm()}se(){return this.C.se()}set(a,b){this.C.set(a,b);return this}Qq(a){return this.set(a,Date.now())}remove(a){this.set(a,null)}wa(a,b,c=!1){const d=olympe.dc.Ya(a),e=olympe.j.Za(null!=b?b:Object,`Get context value flow source of ${d}`);e.getContext().onDestroy(this.on(a,f=>{null===f?e.clear():e.update(f)},c?this.C.ja():void 0));return e.wa()}get(a,b=!1){a=this.Qa(a,b);return void 0!==a?a:null}has(a,b=!1){return this.C.has(a,b)}observe(a,b=!0,c=!1){return new rxjs.Observable(d=>
1741
1742
  {const e=this.get(a);b||null!==e||d.next(e);const f=this.on(a,d.next.bind(d),c?void 0:this.C.ja(),!1);this.onDestroy(()=>{f();d.complete()});return f})}repeat(a,b){const c=Xo(this.C,a);a=b.subscribe(d=>{null!==d?this.set(c,d):this.remove(c)});this.js(a.unsubscribe.bind(a));return this}CY(a){a=a instanceof olympe.sc.Runnable?a:this.get(a);if(!a)return null;const b=this.wo(`Runner ${a.name()}`);a.run(b);return b}qB(a,b=!0,c=!1){return new Promise((d,e)=>{this.observe(a,b,c).pipe(rxjs.operators.first()).subscribe(rxjs.Subscriber.create(d,
1742
1743
  f=>{let g=`An error occurred while calling \`waitFor(${olympe.dc.Ya(a)})\``+`on the context ${this.ja()}:\nStack: ${this.tk()}\n${f}`;f instanceof rxjs.EmptyError&&(g=`The context ${this.ja()} has been destroyed while a Promise `+`created from a call to \`waitFor(${olympe.dc.Ya(a)})\` `+`has never received any value:\nStack: ${this.tk()}`);e(Error(g))}))})}throw(a){var b=a instanceof Error?a.message:String(a);if(a instanceof Error){var c;const d=(null==(c=a.tk)?void 0:c.call(a))||this.tk();let e,
1743
1744
  f;c=null!=(f=null==(e=a.eN)?void 0:e.call(a))?f:0;b=Yo(b,c,d);b.stack=a.stack}else b=Yo(b,0,this.tk());Zo(this.C,b);return this}mP(a){this.set(olympe.sc.Hb.C.rp,a);return this}Qa(a,b=!0){return this.C.Qa(a,b)}on(a,b,c,d=!0){return this.C.on(a,b,c,d)}wo(a){return new olympe.sc.Hb(this.C.wo(this.se(),a))}QA(a,b){return this.C.QA(a,c=>{b(new olympe.sc.Hb(c))})}dX(a){a=$o(this.C,a);return a===this.C?this:a&&new olympe.sc.Hb(a)}destroy(){this.C.destroy()}js(a,b){return this.C.js(a,b)}OA(a){this.C.OA(a)}onDestroy(a){return this.lc()?
1744
1745
  (a(),'noId'):this.se().onDestroy(a)}Lo(a){this.lc()||this.se().Lo(a)}clear(){this.C.clear()}lc(){return this.se().lc()||this.se().$f()}Ac(a){a=ap(this.C,a);return null!==a?new olympe.sc.ui.fm(a,this):null}lA(a){a=ap(this.C,a);return null!==a?new olympe.sc.ui.NB(a,this):null}fY(...a){return rxjs.combineLatest(a.map(b=>{b=ap(this.C,b);return null!==b?this.observe(b):rxjs.of(null)}))}Rb(a){return(null==a?void 0:a.constructor)!==this.constructor?!1:this.C===a.C}tk(){const a=olympe.dc.eb();let b;try{const c=
1745
- [this];let d=this.getParent();for(;null!==d&&d.C!==olympe.sc.uE;)c.push(d),d=d.getParent();b='> '+c.map(e=>{const f=e.Fm();return null!==f?(e=a.model(f),`${a.name(f)||e&&a.name(e)||f} (${e})`):e.ja()}).join('\n> ')}catch(c){b=`No stack available for context ${this.ja()}: ${c}`,this.V.warn(b)}return b}};olympe.sc.Hb.prototype.observeMany=olympe.sc.Hb.prototype.fY;olympe.sc.Hb.prototype.getEvent=olympe.sc.Hb.prototype.lA;olympe.sc.Hb.prototype.getProperty=olympe.sc.Hb.prototype.Ac;
1746
+ [this];let d=this.getParent();for(;null!==d&&d.C!==olympe.sc.vE;)c.push(d),d=d.getParent();b='> '+c.map(e=>{const f=e.Fm();return null!==f?(e=a.model(f),`${a.name(f)||e&&a.name(e)||f} (${e})`):e.ja()}).join('\n> ')}catch(c){b=`No stack available for context ${this.ja()}: ${c}`,this.V.warn(b)}return b}};olympe.sc.Hb.prototype.observeMany=olympe.sc.Hb.prototype.fY;olympe.sc.Hb.prototype.getEvent=olympe.sc.Hb.prototype.lA;olympe.sc.Hb.prototype.getProperty=olympe.sc.Hb.prototype.Ac;
1746
1747
  olympe.sc.Hb.prototype.isDestroyed=olympe.sc.Hb.prototype.lc;olympe.sc.Hb.prototype.clear=olympe.sc.Hb.prototype.clear;olympe.sc.Hb.prototype.offDestroy=olympe.sc.Hb.prototype.Lo;olympe.sc.Hb.prototype.onDestroy=olympe.sc.Hb.prototype.onDestroy;olympe.sc.Hb.prototype.offClear=olympe.sc.Hb.prototype.OA;olympe.sc.Hb.prototype.onClear=olympe.sc.Hb.prototype.js;olympe.sc.Hb.prototype.destroy=olympe.sc.Hb.prototype.destroy;olympe.sc.Hb.prototype.getOtherContext=olympe.sc.Hb.prototype.dX;
1747
1748
  olympe.sc.Hb.prototype.onContext=olympe.sc.Hb.prototype.QA;olympe.sc.Hb.prototype.createChild=olympe.sc.Hb.prototype.wo;olympe.sc.Hb.prototype.setParentElement=olympe.sc.Hb.prototype.mP;olympe.sc.Hb.prototype['throw']=olympe.sc.Hb.prototype.throw;olympe.sc.Hb.prototype.waitFor=olympe.sc.Hb.prototype.qB;olympe.sc.Hb.prototype.runner=olympe.sc.Hb.prototype.CY;olympe.sc.Hb.prototype.repeat=olympe.sc.Hb.prototype.repeat;olympe.sc.Hb.prototype.observe=olympe.sc.Hb.prototype.observe;
1748
1749
  olympe.sc.Hb.prototype.has=olympe.sc.Hb.prototype.has;olympe.sc.Hb.prototype.get=olympe.sc.Hb.prototype.get;olympe.sc.Hb.prototype.remove=olympe.sc.Hb.prototype.remove;olympe.sc.Hb.prototype.trigger=olympe.sc.Hb.prototype.Qq;olympe.sc.Hb.prototype.set=olympe.sc.Hb.prototype.set;olympe.sc.Hb.prototype.getClosest=olympe.sc.Hb.prototype.pW;olympe.sc.Hb.prototype.getParent=olympe.sc.Hb.prototype.getParent;
@@ -1754,22 +1755,22 @@ function ep(a,b){if(null===a)return null;if(a.has(b))return a.get(b);for(const c
1754
1755
  function mp(a){a.da=!0;let b;null==(b=a.children)||b.forEach(c=>{mp(c)})}function np(a){a.da=!1;let b;null==(b=a.children)||b.forEach(c=>{np(c)})}function dp(a,b){return['*',a.id,...a.R].map(c=>`${'@'}${c}.${b}`)}function op(a,b,c,d){c.forEach(f=>{let g,k;null==(g=a.D)||null==(k=g.get(f))||k.forEach(l=>{l(d)})});let e;null==(e=a.children)||e.forEach(f=>{!f.da&&f.data.has(b)||op(f,b,c,d)})}
1755
1756
  function pp(a,b,c){a.D||(a.D=new Map);let d=a.D.get(b);void 0===d&&(d=new Map,a.D.set(b,d));bp++;const e=bp;d.set(e,c);return()=>{const f=a.D.get(b);f&&(f.delete(e),0===f.size&&a.D.delete(b))}}function To(a,b,c){a.O.add(b);let d,e;null==(d=a.D)||null==(e=d.get('&'+b))||e.forEach(f=>{f(c)});gp(a,f=>{f.O.has(b)||To(f,b,c)});a.O.delete(b)}function gp(a,b){let c;null==(c=a.children)||c.forEach(b)}function qp(a,b){a.data.forEach((c,d)=>b(c,d.slice(1)))}
1756
1757
  function rp(a){var b=olympe.sc.$c.ig.D.Rp;const c=[];if(null!==a.$c)for(const {WA:d}of a.$c.values())d.getType()===b&&(c.push(d.ja()),d.D(),hp(a,d.ja()))}function jp(a,b){null===a.children&&(a.children=new Map);a.children.set(b.id,b)}
1757
- olympe.sc.sp=class{constructor(a,b='no name',c=olympe.sc.uE){this.id=a;this.Bd=b;this.R=new Set;this.parent=c;this.C=new olympe.j.ee('SC Context');this.data=new Map;this.$=this.T=this.children=this.D=null;this.ca=!1;this.O=new Set;this.da=!1;this.W=null;this.V=olympe.gb.Cb('sc');this.$c=null;ip(this)}ja(){return this.id}getParent(){return this.parent}Fm(){return this.$}set(a,b){if(!this.C.$f()&&!this.C.lc()){const g=olympe.dc.Ya(a);var c,d;let k,l;a=null!=(l=null!=(k=null==(c=this.W)?void 0:c.get('O#'+
1758
+ olympe.sc.sp=class{constructor(a,b='no name',c=olympe.sc.vE){this.id=a;this.Bd=b;this.R=new Set;this.parent=c;this.C=new olympe.j.ee('SC Context');this.data=new Map;this.$=this.T=this.children=this.D=null;this.ca=!1;this.O=new Set;this.da=!1;this.W=null;this.V=olympe.gb.Cb('sc');this.$c=null;ip(this)}ja(){return this.id}getParent(){return this.parent}Fm(){return this.$}set(a,b){if(!this.C.$f()&&!this.C.lc()){const g=olympe.dc.Ya(a);var c,d;let k,l;a=null!=(l=null!=(k=null==(c=this.W)?void 0:c.get('O#'+
1758
1759
  g))?k:null==(d=this.W)?void 0:d.get('IO#'+g))?l:g;c='$'+a;var e;d=null!=(e=this.data.get(c))?e:null;b=null!=b?b:null;if(e=!this.O.has(c)){a:{if('function'===typeof(null==b?void 0:b.Rb))try{var f=b.Rb(d);break a}catch(m){f=!1;break a}f=b===d}e=!f}e&&(null===b?this.data.delete(c):this.data.set(c,b),null!==this.$c&&0<this.$c.size&&kp(this,olympe.sc.$c.ig.C.zr,a,b),f=dp(this,a),this.O.add(c),op(this,c,f,b),this.O.delete(c))}}on(a,b,c,d=!0){if(this.C.lc()||this.C.$f())return()=>{};const e=Xo(this,a),f=
1759
1760
  c?olympe.dc.Ya(c):'*';a=pp(this,'@'+f+'.'+e,b);c=c?(c=$o(this,f))?c.Qa(e,!1):void 0:this.Qa(e);void 0!==c&&b(c);if(d)olympe.j.yb().onDestroy(a);return a}has(a,b=!1){a='$'+Xo(this,a);let c=this.data.has(a),d=this.getParent();if(b)for(;!c&&d;)c=d.data.has(a),d=d.getParent();return c}wo(a,b,c){const d=null!=c?c:'_'+olympe.oa.bf();if(a.lc()||a.$f())throw Error(`Try to create new child context in a destroyed context ${a.ja()}, probably because \`runner()\` is called on a destroyed context`);const e=a.run(()=>
1760
1761
  new olympe.sc.sp(d,b,this));null!==this.$c&&0<this.$c.size&&this.$c.forEach(({WA:f,depth:g})=>{(-1===f.O||g<f.O)&&fp(e,f,g+1)});return e}QA(a,b){const c=$o(this,a);if(c)return b(c),()=>{};const d=pp(this,'&'+a,e=>{let f;null==(f=d)||f();b(e)});return d}Qa(a,b=!0){a='$'+Xo(this,a);let c=this.data.get(a),d=this.getParent();if(b)for(;void 0===c&&null!==d;)c=d.data.get(a),d=d.getParent();return c}destroy(){this.C.$f()||this.C.lc()||(kp(this,olympe.sc.$c.ig.C.Iy),this.C.destroy(),kp(this,olympe.sc.$c.ig.C.tj))}js(a,
1761
1762
  b){if(this.C.lc())a();else return bp++,b=null!=b?b:String(bp),null===this.T&&(this.T=new Map),this.T.set(b,a),b;return b||'noId'}OA(a){null!==this.T&&this.T.delete(a)}onDestroy(a){return this.lc()?(a(),'noId'):this.C.onDestroy(a)}clear(){if(!this.C.lc()){kp(this,olympe.sc.$c.ig.C.zy);let a;null==(a=this.T)||a.forEach(b=>b());kp(this,olympe.sc.$c.ig.C.Ay)}}lc(){return this.C.lc()}se(){return this.C}};olympe.sc.sp.prototype.getParent=olympe.sc.sp.prototype.getParent;
1762
- olympe.sc.sp.C={pC:'I#',OC:'O#',pR:'IO#'};function sp(a,b,c){return(c=c.Fm())?`${a}.${c}.${b}`:`${a}.${b}`}olympe.sc.$c.ig=class{constructor(a=-1){this.id=olympe.oa.Rr();this.active=!0;this.O=a}D(){this.active=!1}ja(){return this.id}getType(){}process(){}};olympe.sc.$c.ig.C={INIT:'INIT',zr:'SET',zy:'CLEAR',Ay:'CLEARED',Iy:'DESTROY',tj:'DESTROYED'};olympe.sc.$c.ig.D={Rp:'REMOTE',ES:'LOCAL',ho:'PROFILER'};olympe.sc.uj=class a{constructor(){this.D=this.R=this.T=null;this.W=new Map;this.O=new Map;this.C=new olympe.oa.nD(1E4);jb(this.C,b=>{rp(b)})}$(b,c,d){const e=b.body(),f=e.c,g=this.W.get(f);switch(e.t){case olympe.sc.uj.C.rT:c=this.O.get(e.f);b.ai(c).catch(m=>{d.error('Unable to reply with paths: ',m)});break;case olympe.sc.uj.C.sT:const k=f+c,l=(m,n,p=0)=>{qp(m,(r,t)=>{let u;r instanceof olympe.dc.CloudObject?u=a.O(r):u=r;let v;r=null!=(v=m.Fm())?v:'';0<r.length&&(r+='.');n.push([`${p}.${r}${t}`,
1763
- u])})};b.jE(k).then(()=>{const m=[];l(g,m,0);gp(g,p=>{l(p,m,1)});olympe.Y.de.publish(k,{t:olympe.sc.uj.C.oR,v:m,ts:0}).catch(p=>{d.error('Error publishing on service : ',p)});const n=new olympe.sc.$c.QT(k);fp(g,n);this.C.has(g)?ib(this.C,g):this.C.add(g)}).catch(m=>{d.error('Error notifying on a contextId : ',m)});break;case olympe.sc.uj.C.uT:void 0!==g&&this.C.has(g)&&ib(this.C,g);break;case olympe.sc.uj.C.wp:void 0!==g&&(this.C.delete(g),rp(g))}}da(b,c,d){this.T=new olympe.Y.de('discovery_debug_id',
1764
- c);this.T.Bu().subscribe(e=>{var f=e.body();if(f.t===olympe.sc.uj.C.xQ){e=f.i;f=f.f;if(!this.O.has(f)){const g=this.ca(f,c,b);if(0!==g.length)this.O.set(f,g);else return}null===this.D&&(this.D=olympe.oa.Rr(),f=new olympe.j.ee(this.D,c.se()),this.R=new olympe.Y.de(this.D,f),this.R.Bu().subscribe(g=>{this.$(g,b,d)}));olympe.Y.de.publish(e,{t:olympe.sc.uj.C.KP,n:olympe.sa.getParameter(olympe.sc.pa.oG)||'no name',a:b,s:this.D}).catch(g=>{d.error('Error publishing on draw service : '+g)})}})}ca(b,c,d){const e=
1763
+ olympe.sc.sp.C={qC:'I#',PC:'O#',pR:'IO#'};function sp(a,b,c){return(c=c.Fm())?`${a}.${c}.${b}`:`${a}.${b}`}olympe.sc.$c.ig=class{constructor(a=-1){this.id=olympe.oa.Rr();this.active=!0;this.O=a}D(){this.active=!1}ja(){return this.id}getType(){}process(){}};olympe.sc.$c.ig.C={INIT:'INIT',zr:'SET',zy:'CLEAR',Ay:'CLEARED',Iy:'DESTROY',tj:'DESTROYED'};olympe.sc.$c.ig.D={Rp:'REMOTE',ES:'LOCAL',ho:'PROFILER'};olympe.sc.uj=class a{constructor(){this.D=this.R=this.T=null;this.W=new Map;this.O=new Map;this.C=new olympe.oa.oD(1E4);jb(this.C,b=>{rp(b)})}$(b,c,d){const e=b.body(),f=e.c,g=this.W.get(f);switch(e.t){case olympe.sc.uj.C.rT:c=this.O.get(e.f);b.ai(c).catch(m=>{d.error('Unable to reply with paths: ',m)});break;case olympe.sc.uj.C.sT:const k=f+c,l=(m,n,p=0)=>{qp(m,(r,t)=>{let u;r instanceof olympe.dc.CloudObject?u=a.O(r):u=r;let v;r=null!=(v=m.Fm())?v:'';0<r.length&&(r+='.');n.push([`${p}.${r}${t}`,
1764
+ u])})};b.kE(k).then(()=>{const m=[];l(g,m,0);gp(g,p=>{l(p,m,1)});olympe.Y.de.publish(k,{t:olympe.sc.uj.C.oR,v:m,ts:0}).catch(p=>{d.error('Error publishing on service : ',p)});const n=new olympe.sc.$c.QT(k);fp(g,n);this.C.has(g)?ib(this.C,g):this.C.add(g)}).catch(m=>{d.error('Error notifying on a contextId : ',m)});break;case olympe.sc.uj.C.uT:void 0!==g&&this.C.has(g)&&ib(this.C,g);break;case olympe.sc.uj.C.wp:void 0!==g&&(this.C.delete(g),rp(g))}}da(b,c,d){this.T=new olympe.Y.de('discovery_debug_id',
1765
+ c);this.T.Bu().subscribe(e=>{var f=e.body();if(f.t===olympe.sc.uj.C.xQ){e=f.i;f=f.f;if(!this.O.has(f)){const g=this.ca(f,c,b);if(0!==g.length)this.O.set(f,g);else return}null===this.D&&(this.D=olympe.oa.Rr(),f=new olympe.j.ee(this.D,c.se()),this.R=new olympe.Y.de(this.D,f),this.R.Bu().subscribe(g=>{this.$(g,b,d)}));olympe.Y.de.publish(e,{t:olympe.sc.uj.C.KP,n:olympe.sa.getParameter(olympe.sc.pa.pG)||'no name',a:b,s:this.D}).catch(g=>{d.error('Error publishing on draw service : '+g)})}})}ca(b,c,d){const e=
1765
1766
  [],f=olympe.dc.eb(),g=(k,l)=>{gp(k,m=>{if(null!==m.Fm()){const n=olympe.dc.CloudObject.get(m.Fm()).ml(olympe.sc.Runnable.ca).zf();if(null!==n){const p=l+'/'+f.name(n);n.ka()===b&&(e.push([p,m.ja()]),this.W.set(m.ja(),m));g(m,p)}}})};g(c.C,f.name(d));return e}static D(b,c,d){let e=d;d instanceof olympe.dc.CloudObject&&(e=a.O(d));olympe.Y.de.publish(b,{t:olympe.sc.uj.C.Pz,k:c,v:e,ts:Date.now()}).catch(f=>{olympe.gb.Cb('Debugger').error('Error publishing on service : ',f)})}static O(b){if(null===b||
1766
1767
  void 0===b)return'<null>';const c=olympe.dc.eb();if(b instanceof olympe.dc.CloudObject){var d=b.De();if(!c.me(d,olympe.sc.qg))return b.toString();let f=`${b.Qe().name()} (${b.ka()})`;var e=olympe.dc.CloudObject.get(d);d=olympe.dc.nb.from(e).Yp(olympe.dc.CloudObject.extendRel,!0).Zi().oc(olympe.dc.CloudObject.propertyRel).Zi().zf();e=olympe.dc.nb.from(e).Yp(olympe.dc.CloudObject.extendRel,!0).Zi().oc(olympe.dc.CloudObject.px).Zi().zf();d=d.filter(([g])=>g instanceof olympe.sc.qg);0!==d.length&&(f+=
1767
1768
  '<br> ',f+='Properties:<br>',d.forEach(([,g])=>{f+=' ';f+=' - '+c.name(g)+' : '+c.Ac(b.ka(),g)+'<br>'}));d=e.filter(([g])=>g instanceof olympe.sc.qg);0!==d.length&&(f+=' ',f+='Relations:<br>',d.forEach(([,g])=>{f+=' ';f+=' - '+c.name(g)+'<br>'}));return f}return b.toString()}};olympe.sc.uj.R='discovery_debug_id';olympe.sc.uj.C={xQ:0,KP:1,rT:2,sT:3,oR:4,Pz:5,uT:6,wp:7};olympe.sc.$c.p0=class extends olympe.sc.$c.ig{constructor(a=-1){super(a);this.C=new Map}getType(){return olympe.sc.$c.ig.D.ES}process(a,b,c,...d){if(this.active&&b===olympe.sc.$c.ig.C.zr){a=sp(c,Xo(a,d[0]),a);d=d[1];let e;null==(e=this.C.get(a))||e(d)}}on(a,b){this.C.set(a,b)}};function tp(a,b,c,d=new Map){for(var e=[];b;){const n=b.Fm();if(!n)break;e.push(n);b=b.getParent()}pb(a.C,c,d.set('context',e));var f;let g;for(const n of[...e,null==(f=d)?void 0:f.get('propId'),null==(g=d)?void 0:g.get('type')])if(c=n,'string'===typeof c&&!a.R.has(c)){e=a;f=c;e.eb||(e.eb=olympe.dc.eb());d=e.eb.name(f);e=(f=e.eb.model(f))?e.eb.name(f):'';var [k,l,m]=[d,f,e];d=a.C;e=(new Map).set(c,k).set(l,m);c=(new Map).set(c,l);for(const [p,r]of e.entries())d.R.set(p,r);for(const [p,r]of c.entries())d.O.set(p,
1768
1769
  r)}}
1769
- olympe.sc.$c.ET=class extends olympe.sc.$c.ig{constructor(a){super();this.C=a;this.eb=olympe.dc.eb();this.R=new Set}getType(){return olympe.sc.$c.ig.D.ho}process(a,b,c,...d){var e=up.pC,f=up.OC,g=up.yT;const k=up.INIT,l=up.zy,m=up.Ay,n=up.Iy,p=up.tj;c=up.nT;if(b===olympe.sc.$c.ig.C.zr){const [r,t]=d;b=(d=a.Fm())?olympe.dc.eb().me(d,olympe.sc.logic.Function):!1;d=d?olympe.dc.eb().me(d,olympe.sc.ui.Renderable):!1;b?(g=this.eb.Wd(r,olympe.dm.Property.typeRel),b=this.eb.me(r,olympe.sc.logic.ie),d=this.eb.me(r,
1770
+ olympe.sc.$c.ET=class extends olympe.sc.$c.ig{constructor(a){super();this.C=a;this.eb=olympe.dc.eb();this.R=new Set}getType(){return olympe.sc.$c.ig.D.ho}process(a,b,c,...d){var e=up.qC,f=up.PC,g=up.yT;const k=up.INIT,l=up.zy,m=up.Ay,n=up.Iy,p=up.tj;c=up.nT;if(b===olympe.sc.$c.ig.C.zr){const [r,t]=d;b=(d=a.Fm())?olympe.dc.eb().me(d,olympe.sc.logic.Function):!1;d=d?olympe.dc.eb().me(d,olympe.sc.ui.Renderable):!1;b?(g=this.eb.Wd(r,olympe.dm.Property.typeRel),b=this.eb.me(r,olympe.sc.logic.ie),d=this.eb.me(r,
1770
1771
  olympe.sc.logic.Le),tp(this,a,b?e:d?f:c,new Map([['propId',r],['value',t],['type',g]]))):d&&(e=this.eb.me(r,olympe.dm.Property),f=this.eb.Wd(r,olympe.dm.Property.typeRel),tp(this,a,e?g:c,new Map([['propId',r],['value',t],['type',f]])))}else b===olympe.sc.$c.ig.C.INIT?tp(this,a,k):b===olympe.sc.$c.ig.C.zy?tp(this,a,l):b===olympe.sc.$c.ig.C.Ay?tp(this,a,m):b===olympe.sc.$c.ig.C.Iy?tp(this,a,n):b===olympe.sc.$c.ig.C.tj&&tp(this,a,p)}};
1771
- const up={pC:'input',OC:'output',yT:'prop',INIT:'init',zy:'clear',Ay:'cleared',Iy:'destroy',tj:'destroyed',nT:'other'};olympe.sc.$c.QT=class extends olympe.sc.$c.ig{constructor(a){super(1);this.R=a;this.C=new Map;this.db=olympe.dc.eb()}getType(){return olympe.sc.$c.ig.D.Rp}D(){super.D();for(const a of this.C.values())a();this.C.clear()}process(a,b,c,...d){if(this.active&&b===olympe.sc.$c.ig.C.zr&&void 0!==d[0]&&null!==d[0]){const e=sp(c,Xo(a,d[0]),a),f=d[1];let g;null==(g=this.C.get(e))||g();this.C.delete(e);if(f instanceof olympe.dc.CloudObject&&f.Qe()instanceof olympe.sc.qg){const k=Ri(this.db,f,()=>{olympe.sc.uj.D(this.R,
1772
- e,f)});this.C.set(e,()=>{Si(this.db,f,k)})}olympe.sc.uj.D(this.R,e,f)}}};olympe.sc.Metadata=class extends olympe.dc.CloudObject{qa(){return this.yg(this.FA())}ta(){return this.yg(this.GA())}ae(){return new olympe.j.ga(this.yg(this.FA()),this.yg(this.GA()))}FA(){}GA(){}};olympe.sc.Metadata.U=olympe.dc.Ja.C('0161ae936c62f9fcd131',olympe.sc.Metadata);h=olympe.sc.Metadata.prototype;h.qa.K=olympe.j.J.D;h.ta.K=olympe.j.J.D;h.ae.K=olympe.j.J.W;h.FA.K=olympe.j.J.O;h.GA.K=olympe.j.J.O;olympe.sc.Ch=class extends olympe.dc.CloudObject{D(){return this.Rd(olympe.sc.Ch.O)}C(){return this.Rd(olympe.sc.Ch.C)}};olympe.sc.Ch.U=olympe.dc.Ja.C('01703376c4a81c0e9d90',olympe.sc.Ch);olympe.sc.Ch.O=olympe.sc.Ch.U.fa('01703376c4a81c0e9d91');olympe.sc.Ch.C=olympe.sc.Ch.U.fa('01703376c4a81c0e9d92');olympe.sc.Ch.D=olympe.sc.Ch.U.tb('01703376c4a81c0e9d93');Y(olympe.dc.CloudObject.U,olympe.sc.Ch.D);olympe.sc.Ch.prototype.D.K=olympe.j.J.R;olympe.sc.Ch.prototype.C.K=olympe.j.J.R;olympe.sc.jf={};olympe.sc.jf.Yi={NQ:'folders',HK:'screenflow',oD:'ui-design',QK:'software-intelligence',Ys:'data-management',X0:'projects'};olympe.sc.bl=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}gf(){return this.yg(olympe.sc.bl.C)}};olympe.sc.bl.U=olympe.dc.Ja.C('019131fb930466a1ad79',olympe.sc.bl);olympe.sc.bl.C=olympe.sc.bl.U.fa('016d1bb681929c2cc3f1');olympe.sc.bl.D=olympe.sc.bl.U.tb('019131fb930466a1ad7a');Y(olympe.dc.CloudObject.U,olympe.sc.bl.D);olympe.sc.bl.prototype.gf.K=olympe.j.J.D;olympe.sc.Sh=class extends olympe.dm.BrickMetadata{Di(){return olympe.sc.jf.Yi.QK}C(){return this.pc(olympe.sc.Sh.C,olympe.sc.logic.Bt)}D(){return this.pc(olympe.sc.Sh.D,olympe.sc.logic.rr)}};olympe.sc.Sh.U=olympe.dc.Ja.C('011100000000000adef0',olympe.sc.Sh);olympe.sc.Sh.C=olympe.sc.Sh.U.tb('016ac4f59a2917fdef01');olympe.sc.Sh.D=olympe.sc.Sh.U.tb('016ac4f59a2917fdef02');olympe.sc.Sh.U.C=(a,b)=>Hn(a,b||'New function signature',olympe.sc.Sh,olympe.sc.logic.ki).ka();
1772
+ const up={qC:'input',PC:'output',yT:'prop',INIT:'init',zy:'clear',Ay:'cleared',Iy:'destroy',tj:'destroyed',nT:'other'};olympe.sc.$c.QT=class extends olympe.sc.$c.ig{constructor(a){super(1);this.R=a;this.C=new Map;this.db=olympe.dc.eb()}getType(){return olympe.sc.$c.ig.D.Rp}D(){super.D();for(const a of this.C.values())a();this.C.clear()}process(a,b,c,...d){if(this.active&&b===olympe.sc.$c.ig.C.zr&&void 0!==d[0]&&null!==d[0]){const e=sp(c,Xo(a,d[0]),a),f=d[1];let g;null==(g=this.C.get(e))||g();this.C.delete(e);if(f instanceof olympe.dc.CloudObject&&f.Qe()instanceof olympe.sc.qg){const k=Ri(this.db,f,()=>{olympe.sc.uj.D(this.R,
1773
+ e,f)});this.C.set(e,()=>{Si(this.db,f,k)})}olympe.sc.uj.D(this.R,e,f)}}};olympe.sc.Metadata=class extends olympe.dc.CloudObject{qa(){return this.yg(this.FA())}ta(){return this.yg(this.GA())}ae(){return new olympe.j.ga(this.yg(this.FA()),this.yg(this.GA()))}FA(){}GA(){}};olympe.sc.Metadata.U=olympe.dc.Ja.C('0161ae936c62f9fcd131',olympe.sc.Metadata);h=olympe.sc.Metadata.prototype;h.qa.K=olympe.j.J.D;h.ta.K=olympe.j.J.D;h.ae.K=olympe.j.J.W;h.FA.K=olympe.j.J.O;h.GA.K=olympe.j.J.O;olympe.sc.Ch=class extends olympe.dc.CloudObject{D(){return this.Rd(olympe.sc.Ch.O)}C(){return this.Rd(olympe.sc.Ch.C)}};olympe.sc.Ch.U=olympe.dc.Ja.C('01703376c4a81c0e9d90',olympe.sc.Ch);olympe.sc.Ch.O=olympe.sc.Ch.U.fa('01703376c4a81c0e9d91');olympe.sc.Ch.C=olympe.sc.Ch.U.fa('01703376c4a81c0e9d92');olympe.sc.Ch.D=olympe.sc.Ch.U.tb('01703376c4a81c0e9d93');Y(olympe.dc.CloudObject.U,olympe.sc.Ch.D);olympe.sc.Ch.prototype.D.K=olympe.j.J.R;olympe.sc.Ch.prototype.C.K=olympe.j.J.R;olympe.sc.jf={};olympe.sc.jf.Yi={NQ:'folders',HK:'screenflow',pD:'ui-design',QK:'software-intelligence',Ys:'data-management',X0:'projects'};olympe.sc.bl=class extends olympe.dc.CloudObject{constructor(a,b){super(a,b)}gf(){return this.yg(olympe.sc.bl.C)}};olympe.sc.bl.U=olympe.dc.Ja.C('019131fb930466a1ad79',olympe.sc.bl);olympe.sc.bl.C=olympe.sc.bl.U.fa('016d1bb681929c2cc3f1');olympe.sc.bl.D=olympe.sc.bl.U.tb('019131fb930466a1ad7a');Y(olympe.dc.CloudObject.U,olympe.sc.bl.D);olympe.sc.bl.prototype.gf.K=olympe.j.J.D;olympe.sc.Sh=class extends olympe.dm.BrickMetadata{Di(){return olympe.sc.jf.Yi.QK}C(){return this.pc(olympe.sc.Sh.C,olympe.sc.logic.Bt)}D(){return this.pc(olympe.sc.Sh.D,olympe.sc.logic.rr)}};olympe.sc.Sh.U=olympe.dc.Ja.C('011100000000000adef0',olympe.sc.Sh);olympe.sc.Sh.C=olympe.sc.Sh.U.tb('016ac4f59a2917fdef01');olympe.sc.Sh.D=olympe.sc.Sh.U.tb('016ac4f59a2917fdef02');olympe.sc.Sh.U.C=(a,b)=>Hn(a,b||'New function signature',olympe.sc.Sh,olympe.sc.logic.ki).ka();
1773
1774
  olympe.sc.Sh.prototype.C.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.sc.Sh.prototype.D.K=new olympe.j.J(()=>olympe.dc.Kb,[]);function vp(a,b){a.$().forEach(c=>c.call(a,b,(d,e)=>{null===e?b.remove(d):b.set(d,e)}))}function wp(a,b){b=b.filter(c=>'string'===typeof c&&a.db.me(c,olympe.sc.logic.qf));b.sort((c,d)=>{let e;c=null!=(e=a.db.Ac(c,olympe.sc.logic.qf.C,!0))?e:0;let f;d=null!=(f=a.db.Ac(d,olympe.sc.logic.qf.C,!0))?f:0;return c-d});return b}function xp(a){return wp(a,a.db.pc(a.tag,olympe.sc.yc.O))}function yp(a){return wp(a,a.db.pc(a.tag,olympe.sc.yc.D))}
1774
1775
  olympe.sc.yc=class extends olympe.dm.BrickMetadata{Ea(a,b,c,d,e=!0){e||olympe.gb.Cb('sc').error('parameter own= false ignored, investigate');return olympe.j.kj(Wb(this.Go(a,olympe.dc.Ad.Hw,c)),d)}$(){return[]}za(a,b){const c=this.db,d=olympe.oa.pk();a=olympe.j.yb();Ri(c,this.tag,a.re((e,f)=>{b(e,olympe.dc.Ad.ug(f))}),d);a.onDestroy(()=>{Si(c,this.tag,d)})}T(){return[]}O(){return rxjs.of([])}YN(){return this.pc(olympe.sc.yc.R,olympe.sc.Runnable)}sW(){return this.pc(olympe.sc.yc.T,olympe.sc.Runnable)}nq(){return this.db.Ac(this,
1775
1776
  olympe.sc.yc.da)}LA(){return null!==this.db.Wd(this.tag,olympe.sc.Runnable.W.fe())}getInputs(){return this.pc(olympe.sc.yc.O,olympe.sc.logic.ie)}getOutputs(){return this.pc(olympe.sc.yc.D,olympe.sc.logic.Le)}W(){return[olympe.sc.yc.Oa]}};olympe.sc.yc.U=olympe.dc.Ja.C('0112000000000000def0',olympe.sc.yc);olympe.sc.yc.da=olympe.sc.yc.U.fa('01692aa71f3108454479');olympe.sc.yc.sb=olympe.sc.yc.U.fa('0166446c1f128ebc903a');olympe.sc.yc.Oa=olympe.sc.yc.U.fa('0166446c1f128ebc904e');olympe.sc.yc.R=olympe.sc.yc.U.tb('01692a4af82e8984742c');
@@ -1784,22 +1785,22 @@ d,olympe.sc.yc.ca,a)}ue(a){a.Qq(olympe.sc.yc.sb)}clear(){}destroy(a){this.onDest
1784
1785
  b,c,d,e=!0){a=b.wa(a,c,e);void 0!==d&&olympe.j.kj(a,d);return a}O(a,b,c,d,e){olympe.j.Fl([d],f=>{b.set(a,olympe.j.CO(f)?f.valueOf():f)});return this.Ea(a,b,c,e)}T(){return[this.ca,this.$]}ca(a,b){Cp(this,a,b,null)}$(a,b){Cp(this,a,null,b)}ma(a,b){const c=this.db,d=olympe.sc.logic.jd.O.fe(),e=olympe.sc.logic.jd.C,f=olympe.sc.logic.jd.D;this.fA(d,g=>{var k=g.ka();if(k=c.Wd(k,e)||c.Wd(k,f))return Gp(g,a,b.bind(null,k))})}sb(a,b){const c=olympe.sc.gg.O.fe();this.fA(c,d=>d.fA(olympe.sc.gg.C,e=>{const f=
1785
1786
  e.ka(),g=a.on(Hp(d,f),k=>{b(f,k)});return()=>{g();b(f,null)}}))}};olympe.sc.Runnable.U=Nh(olympe.dc.Ja.C('01130000000000ca1100',olympe.sc.Runnable));olympe.sc.Runnable.ca=olympe.sc.Runnable.U.tb('01692a4af82e8984742b');olympe.sc.Runnable.W=olympe.sc.Runnable.U.tb('01756a18d4921c103111');olympe.sc.Runnable.j3=Y(olympe.sc.Runnable.U,olympe.sc.yc.R);olympe.sc.Runnable.m3=Y(olympe.sc.Runnable.U,olympe.sc.yc.T);olympe.sc.Runnable.p3=Y(olympe.sc.Runnable.U,olympe.sc.yc.ca);Y(olympe.sc.yc.U,olympe.sc.Runnable.ca);
1786
1787
  Y(olympe.sc.yc.U,olympe.sc.Runnable.W);olympe.sc.Runnable.prototype.kg.K=new olympe.j.J(()=>olympe.sc.yc,[]);olympe.sc.Runnable.prototype.Ea.K=new olympe.j.J(()=>Object,[]);olympe.sc.Runnable.prototype.O.K=olympe.j.J.O;function Ip(a){if(a){if('string'===typeof a)return a;if(a instanceof olympe.sc.ri)return(a=a.D())?a.valueOf():null;if('function'===typeof a.ka)return a.ka()}return null}olympe.sc.ri=class extends olympe.dc.CloudObject{D(){return this.db.pc(this,olympe.sc.ri.C)[0]}C(){const a=Ip(this);return olympe.dc.CloudObject.get(a)}ug(){return this.C().ug()}toString(){const a=Ip(this);let b;a&&(b=this.db.name(a));return b||super.toString()}};olympe.sc.ri.U=olympe.dc.Ja.C('0163c9ae01f2d6e9ca49',olympe.sc.ri);
1787
- olympe.sc.ri.C=olympe.sc.ri.U.tb('0169b5a8a33144fb0b49');Y(olympe.dc.CloudObject.U,olympe.sc.ri.C);olympe.sc.ri.prototype.D.K=new olympe.j.J(()=>String,[]);olympe.sc.ri.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.sc.uG=class extends olympe.dm.Ye{Di(){return olympe.sc.jf.Yi.Ys}};olympe.sc.uG.U=olympe.dc.Ja.C('0163a68ce44f3d1fa84c',olympe.sc.uG);olympe.sc.qg=class extends olympe.dm.BrickMetadata{};olympe.sc.qg.U=olympe.dc.Ja.C('016324fde11a836f76c2',olympe.sc.qg);olympe.sc.qg.C=olympe.sc.qg.U.tb('016324fde11a836087c2');olympe.sc.qg.U.C=function(a,b){return Hn(a,null!=b?b:'New type',olympe.sc.qg).ka()};let Jp=null,Kp=null,Lp=[];
1788
+ olympe.sc.ri.C=olympe.sc.ri.U.tb('0169b5a8a33144fb0b49');Y(olympe.dc.CloudObject.U,olympe.sc.ri.C);olympe.sc.ri.prototype.D.K=new olympe.j.J(()=>String,[]);olympe.sc.ri.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.sc.vG=class extends olympe.dm.Ye{Di(){return olympe.sc.jf.Yi.Ys}};olympe.sc.vG.U=olympe.dc.Ja.C('0163a68ce44f3d1fa84c',olympe.sc.vG);olympe.sc.qg=class extends olympe.dm.BrickMetadata{};olympe.sc.qg.U=olympe.dc.Ja.C('016324fde11a836f76c2',olympe.sc.qg);olympe.sc.qg.C=olympe.sc.qg.U.tb('016324fde11a836087c2');olympe.sc.qg.U.C=function(a,b){return Hn(a,null!=b?b:'New type',olympe.sc.qg).ka()};let Jp=null,Kp=null,Lp=[];
1788
1789
  function Mp(a,b){Jp=a;const c=olympe.j.yb();return olympe.dc.Rh.from(a).oc(olympe.sc.Fb.Pg.C).oc(olympe.sc.On.C.fe()).Kd({Nr:'__code-as-data__'}).then(d=>{let e;null==(e=Lp)||e.forEach(f=>f());Lp=null;Kp=d;if(null!==d){if(b){const f=olympe.dc.eb();return new Promise(g=>{lk(c,d,k=>{k=f.zu(k)?k:f.model(k);return null!==k&&f.me(k,olympe.sc.qg)},{kB:!0}).subscribe(rxjs.Subscriber.create(()=>{g()},()=>{olympe.gb.Cb('sc').error('Impossible to load the business container for the application',a,'maybe are you offline?');
1789
1790
  g()}))})}olympe.gb.Cb('sc').debug("Found business container but won't load it's content according to configuration.")}else olympe.gb.Cb('sc').info(`No business container for application ${a}. You probably miss permissions.`);return Promise.resolve()}).catch(d=>{Lp=null;throw d;})}function lh(){return null===Lp?Promise.resolve():new Promise(a=>{Lp.push(()=>a())})}olympe.sc.On=class extends olympe.dc.CloudObject{};olympe.sc.On.U=olympe.dc.Ja.C('017b3aa8fae1e3d044dc',olympe.sc.On);olympe.sc.On.C=olympe.sc.On.U.tb('017b3aa8fd1659291b92');
1790
- olympe.sc.On.D=olympe.sc.On.U.tb('017b3aa8fe7ec3fd52f2');olympe.sc.Map=class extends olympe.dc.CloudObject{};olympe.sc.Map.U=olympe.dc.Ja.C('018119241abce0e5696e',olympe.sc.Map);olympe.sc.Be=class extends olympe.sc.Map{};olympe.sc.Be.U=olympe.dc.Ja.C('01631aacd8276ea98490',olympe.sc.Be);olympe.sc.File=class extends olympe.dm.File{static KV(a,b,c,d,e,f){e=a.create(olympe.sc.File,new Map,e,f);olympe.sc.File.Nd(a,e,b,c,d);return e}static LV(a,b,c,d,e,f){e=a.create(olympe.sc.File,new Map,e,f);olympe.sc.File.QE(a,e,b,c,d);return e}static Nd(a,b,c,d,e){e=null!=e?e:'application/data';d=URL.createObjectURL(new Blob([d],{type:e}));olympe.sc.File.QE(a,b,c,d,e)}static QE(a,b,c,d,e){const f=olympe.dc.eb(),g=f.tc(b);var k;const l=null!=(k=a.model(b))?k:olympe.sc.File;if(null===l||!f.Xm(l,olympe.dm.File))throw Error(`Try to set the content of an object which is not a file: ${b}`);
1791
- k=new Date;c=(new Map).set(olympe.dm.File.fileNameProp,null!=c?c:'file').set(olympe.dm.File.urlProp,d).set(olympe.dm.File.modificationDateProp,k).set(olympe.dm.File.mimeTypeProp,null!=e?e:'application/data');g&&null!==f.Ac(b,olympe.dm.File.urlProp)||c.set(olympe.dm.File.creationDateProp,k).set(olympe.dm.File.C,!1);a.HO(b,c)}};olympe.sc.File.setURLContent=olympe.sc.File.QE;olympe.sc.File.setContent=olympe.sc.File.Nd;olympe.sc.File.createFromURL=olympe.sc.File.LV;olympe.sc.File.createFromContent=olympe.sc.File.KV;
1791
+ olympe.sc.On.D=olympe.sc.On.U.tb('017b3aa8fe7ec3fd52f2');olympe.sc.Map=class extends olympe.dc.CloudObject{};olympe.sc.Map.U=olympe.dc.Ja.C('018119241abce0e5696e',olympe.sc.Map);olympe.sc.Be=class extends olympe.sc.Map{};olympe.sc.Be.U=olympe.dc.Ja.C('01631aacd8276ea98490',olympe.sc.Be);olympe.sc.File=class extends olympe.dm.File{static KV(a,b,c,d,e,f){e=a.create(olympe.sc.File,new Map,e,f);olympe.sc.File.Nd(a,e,b,c,d);return e}static LV(a,b,c,d,e,f){e=a.create(olympe.sc.File,new Map,e,f);olympe.sc.File.RE(a,e,b,c,d);return e}static Nd(a,b,c,d,e){e=null!=e?e:'application/data';d=URL.createObjectURL(new Blob([d],{type:e}));olympe.sc.File.RE(a,b,c,d,e)}static RE(a,b,c,d,e){const f=olympe.dc.eb(),g=f.tc(b);var k;const l=null!=(k=a.model(b))?k:olympe.sc.File;if(null===l||!f.Xm(l,olympe.dm.File))throw Error(`Try to set the content of an object which is not a file: ${b}`);
1792
+ k=new Date;c=(new Map).set(olympe.dm.File.fileNameProp,null!=c?c:'file').set(olympe.dm.File.urlProp,d).set(olympe.dm.File.modificationDateProp,k).set(olympe.dm.File.mimeTypeProp,null!=e?e:'application/data');g&&null!==f.Ac(b,olympe.dm.File.urlProp)||c.set(olympe.dm.File.creationDateProp,k).set(olympe.dm.File.C,!1);a.HO(b,c)}};olympe.sc.File.setURLContent=olympe.sc.File.RE;olympe.sc.File.setContent=olympe.sc.File.Nd;olympe.sc.File.createFromURL=olympe.sc.File.LV;olympe.sc.File.createFromContent=olympe.sc.File.KV;
1792
1793
  olympe.sc.File.U=Gh(olympe.dm.File,'ff021000000000000031',olympe.sc.File);olympe.sc.Xn=class extends olympe.sc.File{D(){const a=olympe.j.Za(olympe.j.kb);this.Vr(b=>{a.update(olympe.j.ic(b))});return a.wa()}};olympe.sc.Xn.U=Gh(olympe.sc.File,'01644b6297305d62fca2',olympe.sc.Xn);olympe.sc.Xn.U.C=olympe.sc.File.D.bind(null,olympe.sc.Xn);olympe.sc.Xn.prototype.D.K=olympe.j.J.R;olympe.sc.Fg=class extends olympe.sc.File{Ai(){return this.Rd(olympe.sc.Fg.fontFamilyProp)}yl(){return this.Rd(olympe.sc.Fg.O)}Bi(){return this.yg(olympe.sc.Fg.R)}};olympe.sc.Fg.U=Gh(olympe.sc.File,'01647e113043c637b541',olympe.sc.Fg);olympe.sc.Fg.fontFamilyProp=olympe.sc.Fg.U.fa('01647e35ecd24ef0b88d');olympe.sc.Fg.O=olympe.sc.Fg.U.fa('01647e677f5d1cfbdf42');olympe.sc.Fg.R=olympe.sc.Fg.U.fa('01647e6780999bf8bd25');
1793
1794
  olympe.sc.Fg.U.C=(a,b,c,d)=>{c=olympe.sc.File.D(olympe.sc.Fg,a,b,c,d);a.update(c,olympe.sc.Fg.fontFamilyProp,b.split('.')[0]);return c};olympe.sc.Fg.prototype.Ai.K=olympe.j.J.R;olympe.sc.Fg.prototype.yl.K=olympe.j.J.R;olympe.sc.Fg.prototype.Bi.K=olympe.j.J.D;olympe.sc.St=class extends olympe.sc.File{};olympe.sc.St.U=Gh(olympe.sc.File,'0164643c432146a71d5c',olympe.sc.St);olympe.sc.St.U.C=olympe.sc.File.D.bind(null,olympe.sc.St);olympe.sc.dM=class extends olympe.dc.CloudObject{};olympe.sc.dM.U=olympe.dc.Ja.C('016421bb3797e22d1c4e',olympe.sc.dM);olympe.sc.logic={};olympe.sc.logic.eH=(a,b)=>a===b?0:a>b?1:-1;
1794
1795
  olympe.sc.logic.o0=(a,b,c,d,e,f,g)=>{const k=b.ka();b=olympe.j.Qa(b.getType().ka());let l,m;if(b===olympe.dc.Ya(olympe.dm.String))l=c.valueOf().toLowerCase(),m=p=>p.Rd(k).toLowerCase();else if(b===olympe.dc.Ya(olympe.dm.Number))l=c.valueOf(),m=p=>p.yg(k);else if(b===olympe.dc.Ya(olympe.dm.DateTime))l=c.getTime(),m=p=>olympe.j.Xa([p.gx(k)],r=>r.getTime(),Number,'FilterList Date&DateTime TransformFlows');else{c=olympe.dc.eb().name(b);g.warn(`Properties of type ${c} are not supported. List will not be filtered.`);e(a);
1795
1796
  return}let n;if('<'===f)n=(p,r)=>olympe.sc.logic.eH(r,p);else if('>'===f)n=(p,r)=>olympe.sc.logic.eH(p,r);else{g.error(`Unknown inequality ${f}. Please use '<' or '>'`);return}e(a.Mr().filter(p=>olympe.j.Xa([m(p)],r=>{r=n(r.valueOf(),l);return olympe.j.hc(d.valueOf()?1===r:0<=r)},olympe.j.ia,'FilterList ListDefBuilder Filter TransformFlows')).ek())};
1796
1797
  olympe.sc.logic.L2=(a,b)=>{if(a instanceof olympe.j.aa)return a;if(a instanceof olympe.j.kb)return a.BP();if(a instanceof olympe.j.ia)return a.LN();if('string'===typeof a||'number'===typeof a)return olympe.j.Ba(Number(a));b.error(`Could not parse provided value ${a} into a number`);return olympe.j.aa.JJ};olympe.sc.logic.Oc={};function Np(a){Mh(a.U,(b,c)=>{b=b.create(a.U.D);Z(b,olympe.dc.CloudObject.nameProp,c);return b.ka()})}olympe.sc.logic.Oc.UG=class{constructor(a,b,c){this.U=olympe.dc.Ja.C(a,b,...c);Np(this)}ka(){return this.U.ka()}getInputs(){return xp(olympe.dc.CloudObject.get(this.U))}getOutputs(){return yp(olympe.dc.CloudObject.get(this.U))}};olympe.sc.logic.Oc.UG.Aa=[olympe.dc.Ok];const Op=Object.create(null),Pp=new Map;function Qp(a){if(void 0===Op[a])throw Error(`Tag: ${a} - does not correspond to a registered function`);return Ih(a)}function Rp(a,b,c=olympe.sc.logic.Function){if(Pp.has(a))throw c=Qp(a),Error(`Tag: ${a} - overwriting existing function definition "${c.name}" with "${b.name}"`);const d=olympe.dc.Ja.C(a,b,...[]);Pp.set(a,{U:d,b3:b,G2:c});return d}
1797
- olympe.sc.logic.Ja=class{constructor(){}static C(a,b,...c){if(Op[a])throw c=Qp(a),Error(`Tag: ${a} - overwriting already defined function "${c.name}" with "${b.name}"`);b=new olympe.sc.logic.Oc.UG(a,b,[olympe.sc.ba.Vb].concat(c));return Op[a]=b}};olympe.sc.logic.gG=class a{static C(b){var c=olympe.sc.ui.Pd.O;let d=!1;const e=olympe.dc.Ya(c),f=olympe.dc.eb();f.pc(b,olympe.sc.gg.O.fe()).forEach(g=>{d=d||f.pc(g,olympe.sc.gg.C).includes(e)});!1===d&&(d=null!==a.D(c,b));return d}static D(b,c){const d=olympe.sc.logic.jd.O,e=olympe.sc.logic.jd.C,f=olympe.sc.logic.jd.Ks,g=olympe.dc.eb();let k=null;g.pc(c,d.fe()).some(l=>g.Wd(l,e)===b.ka()?(k=g.Wd(l,f)||null,!0):!1);return k}};olympe.sc.logic.Fy=class extends olympe.dc.CloudObject{};olympe.sc.logic.Fy.U=olympe.dc.Ja.C('01621fb84e320000cf00',olympe.sc.logic.Fy);function Yo(a,b,c){return new olympe.sc.logic.Error(a,b,c)}olympe.sc.logic.Error=class extends Error{constructor(a,b,c){super(a);this.code=b;this.C=null!=c?c:null}static create(a,b){return new olympe.sc.logic.Error(a,b)}ZW(){return this.message}eN(){return this.code}tk(){let a;return null!=(a=this.C)?a:''}toString(){return`${this.message}\nError found in:\n${this.tk()}\n\n${this.stack}`}};olympe.sc.logic.Error.prototype.getStack=olympe.sc.logic.Error.prototype.tk;
1798
+ olympe.sc.logic.Ja=class{constructor(){}static C(a,b,...c){if(Op[a])throw c=Qp(a),Error(`Tag: ${a} - overwriting already defined function "${c.name}" with "${b.name}"`);b=new olympe.sc.logic.Oc.UG(a,b,[olympe.sc.ba.Vb].concat(c));return Op[a]=b}};olympe.sc.logic.hG=class a{static C(b){var c=olympe.sc.ui.Pd.O;let d=!1;const e=olympe.dc.Ya(c),f=olympe.dc.eb();f.pc(b,olympe.sc.gg.O.fe()).forEach(g=>{d=d||f.pc(g,olympe.sc.gg.C).includes(e)});!1===d&&(d=null!==a.D(c,b));return d}static D(b,c){const d=olympe.sc.logic.jd.O,e=olympe.sc.logic.jd.C,f=olympe.sc.logic.jd.Ks,g=olympe.dc.eb();let k=null;g.pc(c,d.fe()).some(l=>g.Wd(l,e)===b.ka()?(k=g.Wd(l,f)||null,!0):!1);return k}};olympe.sc.logic.Fy=class extends olympe.dc.CloudObject{};olympe.sc.logic.Fy.U=olympe.dc.Ja.C('01621fb84e320000cf00',olympe.sc.logic.Fy);function Yo(a,b,c){return new olympe.sc.logic.Error(a,b,c)}olympe.sc.logic.Error=class extends Error{constructor(a,b,c){super(a);this.code=b;this.C=null!=c?c:null}static create(a,b){return new olympe.sc.logic.Error(a,b)}ZW(){return this.message}eN(){return this.code}tk(){let a;return null!=(a=this.C)?a:''}toString(){return`${this.message}\nError found in:\n${this.tk()}\n\n${this.stack}`}};olympe.sc.logic.Error.prototype.getStack=olympe.sc.logic.Error.prototype.tk;
1798
1799
  olympe.sc.logic.Error.prototype.getCode=olympe.sc.logic.Error.prototype.eN;olympe.sc.logic.Error.prototype.getMessage=olympe.sc.logic.Error.prototype.ZW;olympe.sc.logic.Error.create=olympe.sc.logic.Error.create;olympe.sc.logic.Fv=class extends olympe.sc.logic.Fy{};olympe.sc.logic.Fv.U=olympe.dc.Ja.C('016eeb5ede9f3094d8f0',olympe.sc.logic.Fv);olympe.sc.logic.Qh=class extends olympe.dc.CloudObject{C(){return this.Ig(olympe.sc.logic.Qh.C,olympe.dc.CloudObject)}};olympe.sc.logic.Qh.U=olympe.dc.Ja.C('016ac4f59ee8ea2081ba',olympe.sc.logic.Qh);olympe.sc.logic.Qh.D=olympe.sc.logic.Qh.U.fa('017bc044aeacce7ffc8f');olympe.sc.logic.Qh.C=olympe.sc.logic.Qh.U.tb('016ac4f5a0091c4790e2');Y(olympe.dc.CloudObject.U,olympe.sc.logic.Qh.C);olympe.sc.logic.Qh.prototype.C.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.sc.logic.Bt=class extends olympe.sc.logic.Qh{};olympe.sc.logic.Bt.U=olympe.dc.Ja.C('016ac4f59c592b862457',olympe.sc.logic.Bt);olympe.sc.logic.Bt.O=olympe.sc.Sh.C.fe();olympe.sc.logic.Bt.U.C=(a,b,c,d,e)=>{b=Hn(a,b||'New Predefined Input',olympe.sc.logic.Bt,olympe.sc.logic.ie);Z(b,olympe.sc.logic.Qh.D,e);a.Qb(olympe.sc.logic.Qh.C,b,c);a.Qb(olympe.sc.Sh.C,d,b);return b.ka()};olympe.sc.logic.rr=class extends olympe.sc.logic.Qh{};olympe.sc.logic.rr.U=olympe.dc.Ja.C('016ac4f59dd99f5df3e1',olympe.sc.logic.rr);olympe.sc.logic.rr.O=Y(olympe.sc.logic.rr.U,olympe.sc.Sh.D);olympe.sc.logic.rr.U.C=(a,b,c,d,e)=>{b=Hn(a,b||'New Predefined Output',olympe.sc.logic.rr,olympe.sc.logic.Le);Z(b,olympe.sc.logic.Qh.D,e);a.Qb(olympe.sc.logic.Qh.C,b,c);a.Qb(olympe.sc.Sh.D,d,b);return b.ka()};olympe.sc.logic.ki=class extends olympe.sc.yc{Di(){return olympe.sc.jf.Yi.QK}R(){return this.Vw().Mr().me([olympe.sc.logic.Function]).and().Re().me([olympe.sc.logic.Mh,olympe.sc.logic.Bh]).ek()}W(){const a=olympe.dc.Ya(olympe.sc.logic.Fv);return this.db.pc(this,olympe.sc.logic.ki.D).filter(b=>this.db.Wd(b,olympe.sc.logic.qf.typeRel)===a)}C(a){const b=this.db.eA(this,[olympe.sc.yc.O],c=>this.db.model(c)===olympe.dc.Ya(a));return b?olympe.dc.CloudObject.get(b):null}D(a){const b=this.db.eA(this,[olympe.sc.yc.D],
1799
1800
  c=>this.db.model(c)===olympe.dc.Ya(a));return b?olympe.dc.CloudObject.get(b):null}T(a){if(!this.nq())return super.T(a);const b=olympe.dc.Ya(olympe.sc.logic.Fy),c=olympe.dc.Ya(olympe.sc.logic.Fv);return yp(this).map(d=>{switch(this.db.Wd(d,olympe.sc.logic.qf.typeRel)){case b:return a.Qq.bind(a,d);case c:return a.throw.bind(a);default:return a.set.bind(a,d)}})}O(a){if(!this.nq())return super.O(a);const b=xp(this);return 0<b.length?rxjs.combineLatest(b.map(c=>a.observe(c))).pipe(rxjs.operators.map(c=>
1800
1801
  c.includes(null)?null:c)):rxjs.of([])}};olympe.sc.logic.ki.U=Rp('01621fb84e320000f000',olympe.sc.logic.ki,olympe.sc.logic.Function);olympe.sc.logic.ki.prototype.C.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.logic.ki.prototype.D.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);let Sp=null;function Tp(){if(null===Sp){let a;Sp=null!=(a=olympe.sa.getParameter('sc.action.experimental'))?a:!1}return Sp}
1801
1802
  olympe.sc.logic.np=class extends olympe.sc.logic.ki{ca(){return this.C('016ac63229782039429f')}da(){return this.D('016ac6322acf67eebfe7')}ma(){return this.getOutputs().Mr().oc(olympe.sc.logic.qf.typeRel).JA(olympe.sc.logic.Fv).ek().Qc().Mj(olympe.j.aa.ZERO)}O(a){if(this.nq()||Tp()){const b=this.ca().ka();return a.observe(b).pipe(rxjs.operators.map(c=>null===c?null:xp(this).filter(d=>d!==b).map(d=>a.get(d))))}return super.O(a)}};olympe.sc.logic.np.C='016ac63229782039429f';olympe.sc.logic.np.$='016ac6322acf67eebfe7';
1802
- olympe.sc.logic.np.U=Rp('01621fb84e320000a000',olympe.sc.logic.np,olympe.sc.logic.Action);olympe.sc.logic.np.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.logic.np.prototype.da.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);olympe.sc.logic.np.prototype.ma.K=olympe.j.J.T;olympe.sc.logic.$F=class extends olympe.sc.logic.ki{};olympe.sc.logic.$F.U=Rp('01621fb84e320000f011',olympe.sc.logic.$F);olympe.sc.logic.ZF=class extends olympe.sc.logic.np{};olympe.sc.logic.ZF.U=Rp('01621fb84e320000f012',olympe.sc.logic.ZF);olympe.sc.logic.Function=class extends olympe.sc.Runnable{T(){return[this.ma]}W(){if(!this.kg().nq())return super.W();const a=olympe.sc.sp.C.pC,b=olympe.sc.sp.C.OC,c=this.db,d=new Map,e=this.De();c.pc(e,olympe.sc.yc.O).forEach(f=>{d.set(a+c.name(f),f)});c.pc(e,olympe.sc.yc.D).forEach(f=>{d.set(b+c.name(f),f)});return d}};olympe.sc.logic.Function.U=olympe.dc.Ja.C('0168c6f020f2a96f0000',olympe.sc.logic.Function,olympe.sc.ba.Vb);olympe.sc.logic.qf=class extends olympe.dc.CloudObject{getType(){return this.Ig(olympe.sc.logic.qf.typeRel,olympe.dc.CloudObject)}C(){return this.yg(olympe.sc.logic.qf.C)}};olympe.sc.logic.qf.U=olympe.dc.Ja.C('0168a431d25001540000',olympe.sc.logic.qf);olympe.sc.logic.qf.C=olympe.sc.logic.qf.U.fa('01740c5d4ae4b520dd01');olympe.sc.logic.qf.typeRel=olympe.sc.logic.qf.U.tb('0168a431d3b9b7438424');Y(olympe.dc.CloudObject.U,olympe.sc.logic.qf.typeRel);
1803
+ olympe.sc.logic.np.U=Rp('01621fb84e320000a000',olympe.sc.logic.np,olympe.sc.logic.Action);olympe.sc.logic.np.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.logic.np.prototype.da.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);olympe.sc.logic.np.prototype.ma.K=olympe.j.J.T;olympe.sc.logic.aG=class extends olympe.sc.logic.ki{};olympe.sc.logic.aG.U=Rp('01621fb84e320000f011',olympe.sc.logic.aG);olympe.sc.logic.$F=class extends olympe.sc.logic.np{};olympe.sc.logic.$F.U=Rp('01621fb84e320000f012',olympe.sc.logic.$F);olympe.sc.logic.Function=class extends olympe.sc.Runnable{T(){return[this.ma]}W(){if(!this.kg().nq())return super.W();const a=olympe.sc.sp.C.qC,b=olympe.sc.sp.C.PC,c=this.db,d=new Map,e=this.De();c.pc(e,olympe.sc.yc.O).forEach(f=>{d.set(a+c.name(f),f)});c.pc(e,olympe.sc.yc.D).forEach(f=>{d.set(b+c.name(f),f)});return d}};olympe.sc.logic.Function.U=olympe.dc.Ja.C('0168c6f020f2a96f0000',olympe.sc.logic.Function,olympe.sc.ba.Vb);olympe.sc.logic.qf=class extends olympe.dc.CloudObject{getType(){return this.Ig(olympe.sc.logic.qf.typeRel,olympe.dc.CloudObject)}C(){return this.yg(olympe.sc.logic.qf.C)}};olympe.sc.logic.qf.U=olympe.dc.Ja.C('0168a431d25001540000',olympe.sc.logic.qf);olympe.sc.logic.qf.C=olympe.sc.logic.qf.U.fa('01740c5d4ae4b520dd01');olympe.sc.logic.qf.typeRel=olympe.sc.logic.qf.U.tb('0168a431d3b9b7438424');Y(olympe.dc.CloudObject.U,olympe.sc.logic.qf.typeRel);
1803
1804
  olympe.sc.logic.qf.prototype.getType.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);olympe.sc.logic.qf.prototype.C.K=olympe.j.J.D;olympe.sc.logic.ie=class extends olympe.sc.logic.qf{};olympe.sc.logic.ie.U=olympe.dc.Ja.C('0168a431d25001540001',olympe.sc.logic.ie);olympe.sc.logic.ie.W=olympe.sc.logic.qf.U.fa('01740c5d4ae4b520dd02');olympe.sc.logic.ie.T=Y(olympe.sc.logic.ie.U,olympe.sc.yc.O);olympe.sc.logic.ie.D=olympe.sc.logic.ie.U.tb('0168a431d91f2578000b',olympe.dc.Ib.ORIGIN);olympe.sc.logic.ie.O=olympe.sc.logic.ie.U.tb('01621fb84e32000000a1',olympe.dc.Ib.ORIGIN);
1804
1805
  olympe.sc.logic.ie.R=olympe.sc.logic.ie.U.tb('01621fb84e32000000d1',olympe.dc.Ib.ORIGIN);olympe.sc.logic.ie.U.C=function(a,b,c,d,e,f=olympe.sc.logic.ie){f=a.create(f);Z(f,olympe.dc.CloudObject.nameProp,b||'New input');a.Qb(olympe.sc.logic.qf.typeRel,f,c);void 0!==e&&Z(f,olympe.sc.logic.qf.C,e);d&&a.Qb(olympe.sc.yc.O,d,f);return f.ka()};olympe.sc.logic.Le=class extends olympe.sc.logic.qf{};olympe.sc.logic.Le.U=olympe.dc.Ja.C('0168a431d25001540002',olympe.sc.logic.Le);olympe.sc.logic.Le.T=Y(olympe.sc.logic.Le.U,olympe.sc.yc.D);olympe.sc.logic.Le.D=olympe.sc.logic.Le.U.tb('0168a431d91f25780003',olympe.dc.Ib.ORIGIN);olympe.sc.logic.Le.R=olympe.sc.logic.Le.U.tb('01621fb84e32000000a2',olympe.dc.Ib.ORIGIN);olympe.sc.logic.Le.O=olympe.sc.logic.Le.U.tb('01621fb84e32000000d2',olympe.dc.Ib.ORIGIN);
1805
1806
  olympe.sc.logic.Le.U.C=function(a,b,c,d,e,f=olympe.sc.logic.Le){f=a.create(f);Z(f,olympe.dc.CloudObject.nameProp,b||'New output');a.Qb(olympe.sc.logic.qf.typeRel,f,c);void 0!==e&&Z(f,olympe.sc.logic.qf.C,e);d&&a.Qb(olympe.sc.yc.D,d,f);return f.ka()};olympe.sc.logic.Mh=class extends olympe.sc.logic.Function{run(a){Ap(this,a);const b=a.getParent(),c=this.db.Wd(this,olympe.sc.logic.Mh.D),d=this.db.Wd(this,olympe.sc.logic.Mh.C);a.on(c,e=>b.set(d,e),this.tag)}C(){return this.ml(olympe.sc.logic.Mh.D).zf()}D(){return this.ml(olympe.sc.logic.Mh.C).zf()}};olympe.sc.logic.Mh.U=olympe.dc.Ja.C('01621fb84e32000000a0',olympe.sc.logic.Mh,olympe.sc.ba.Vb);olympe.sc.logic.Mh.D=Y(olympe.sc.logic.Mh.U,olympe.sc.logic.ie.O);
@@ -1809,14 +1810,14 @@ k)}}function Up(a){let b=null,c=a.db.Wd(a,olympe.sc.logic.jd.C);c?b=a.db.Wd(c,ol
1809
1810
  olympe.sc.logic.jd=class extends olympe.dc.CloudObject{constructor(a,b,c){super(a,b);this.V=c}C(a,b,c){const d=olympe.sc.Hw(c);null==b||b.xo();b&&d instanceof olympe.dm.$k?null==b||b.run(()=>{olympe.j.Wa([d.getValue()],e=>{a(e.valueOf())})}):a(d)}getValue(a){return this.Go(olympe.sc.logic.jd.valueProp,a||olympe.dc.Ad.Hw,Object)}getType(){const a=this.transform(olympe.sc.logic.jd.D,olympe.sc.logic.qf.typeRel);a.mi(olympe.dc.CloudObject);return a.Vd()}uX(){return this.Ig(olympe.sc.logic.jd.Ks,olympe.dc.CloudObject)}sX(){return this.Ig(olympe.sc.logic.jd.R,
1810
1811
  olympe.sc.logic.Le)}tX(){return this.Ig(olympe.sc.logic.jd.gy,olympe.dm.Property)}BW(){return this.Ig(olympe.sc.logic.jd.O,olympe.dc.CloudObject)}zW(){return this.Ig(olympe.sc.logic.jd.D,olympe.sc.logic.ie)}AW(){return this.Ig(olympe.sc.logic.jd.C,olympe.dm.Property)}};olympe.sc.logic.jd.U=olympe.dc.Ja.C('0168a431d91f25780000',olympe.sc.logic.jd,olympe.sc.ba.Vb);olympe.sc.logic.jd.valueProp=olympe.sc.logic.jd.U.fa('0168a431d91f25780001');olympe.sc.logic.jd.Ks=olympe.sc.logic.jd.U.tb('0168a431d91f25780002');
1811
1812
  olympe.sc.logic.jd.R=Y(olympe.sc.logic.jd.U,olympe.sc.logic.Le.D);olympe.sc.logic.jd.gy=olympe.sc.logic.jd.U.tb('0168a431d91f25780004');olympe.sc.logic.jd.O=olympe.sc.logic.jd.U.tb('0168a431d91f2578000a');olympe.sc.logic.jd.D=Y(olympe.sc.logic.jd.U,olympe.sc.logic.ie.D);olympe.sc.logic.jd.C=olympe.sc.logic.jd.U.tb('0168a431d91f2578000c');Y(olympe.dc.CloudObject.U,olympe.sc.logic.jd.Ks);Y(olympe.dm.Property.U,olympe.sc.logic.jd.gy);Y(olympe.dc.CloudObject.U,olympe.sc.logic.jd.O);
1812
- Y(olympe.dm.Property.U,olympe.sc.logic.jd.C);h=olympe.sc.logic.jd.prototype;h.getType.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.uX.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.sX.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);h.tX.K=new olympe.j.J(()=>olympe.dm.Property,[]);h.BW.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.zW.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);h.AW.K=new olympe.j.J(()=>olympe.dm.Property,[]);function Vp(a,b){const c=a.kg(),d=c.BC().ka(),e=c.CC().ka(),f=c.DC().ka();b.on(d,g=>{if(g){g=new Map(a.getInputs().map(l=>[l,b.get(l)]));const k={timeout:a.timeout};olympe.Y.de.get(a.De(),g,k).then(l=>{for(const [m,n]of l)m!==e&&m!==f&&b.set(m,n);b.set(e,l.get(e));l=l.get(f);l instanceof olympe.sc.logic.Error&&(l=Yo(l.message,l.code,l.tk()+'\n===== Remote Call =====\n'+b.tk()),b.throw(l))}).catch(l=>{l=`RemoteAction "${a.Qe().name()}" (${a.tag}) encountered an error:\n${l}`;a.V.error(l);b.throw(olympe.sc.logic.Error.create(l,
1813
+ Y(olympe.dm.Property.U,olympe.sc.logic.jd.C);h=olympe.sc.logic.jd.prototype;h.getType.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.uX.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.sX.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);h.tX.K=new olympe.j.J(()=>olympe.dm.Property,[]);h.BW.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);h.zW.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);h.AW.K=new olympe.j.J(()=>olympe.dm.Property,[]);function Vp(a,b){const c=a.kg(),d=c.CC().ka(),e=c.DC().ka(),f=c.EC().ka();b.on(d,g=>{if(g){g=new Map(a.getInputs().map(l=>[l,b.get(l)]));const k={timeout:a.timeout};olympe.Y.de.get(a.De(),g,k).then(l=>{for(const [m,n]of l)m!==e&&m!==f&&b.set(m,n);b.set(e,l.get(e));l=l.get(f);l instanceof olympe.sc.logic.Error&&(l=Yo(l.message,l.code,l.tk()+'\n===== Remote Call =====\n'+b.tk()),b.throw(l))}).catch(l=>{l=`RemoteAction "${a.Qe().name()}" (${a.tag}) encountered an error:\n${l}`;a.V.error(l);b.throw(olympe.sc.logic.Error.create(l,
1813
1814
  400))})}},b.ja())}
1814
1815
  function Wp(a,b,c,d,e,f){const g=n=>q(function*(){if(null!==n){e.cancel();let p;null==(p=l)||p();let r;null==(r=m)||r();try{const t=new Map(a.getOutputs().map(u=>[u,b.get(u)]));yield f.ai(t)}catch(t){const u=Error(`Error while trying to send the response of remote action ${a.Qe().name()} (${a.De()}): ${t}`);f.gu(u).catch(v=>{a.V.error(`Cannot reply with an error to a remote action call ${a.Qe().name()} (${a.De()}): ${v}`)})}finally{b.destroy()}}}),k=b.ja(),l=b.on(c,g,k),m=b.on(d,g,k)}
1815
- olympe.sc.logic.It=class extends olympe.sc.logic.Function{constructor(a,b,c,d){super(a,b,c);this.timeout=d}run(a){Vo(a)||(this.db.Ac(this,olympe.sc.logic.It.C)?(lp(a.C,this),this.C(a)):(Ap(this,a),Vp(this,a)))}C(a){const b=this.De(),c=this.kg(),d=c.lJ().ka(),e=c.BC().ka(),f=c.CC().ka(),g=c.DC().ka();(new olympe.Y.de(b,a)).Bu().subscribe(rxjs.Subscriber.create(k=>{const l=a.wo('remote call'),m=k.body(),n=Wc(()=>{k.gu(Error(`Timeout reached on remote action ${this.db.name(this)} (${this.tag})`));l.destroy()},
1816
+ olympe.sc.logic.It=class extends olympe.sc.logic.Function{constructor(a,b,c,d){super(a,b,c);this.timeout=d}run(a){Vo(a)||(this.db.Ac(this,olympe.sc.logic.It.C)?(lp(a.C,this),this.C(a)):(Ap(this,a),Vp(this,a)))}C(a){const b=this.De(),c=this.kg(),d=c.lJ().ka(),e=c.CC().ka(),f=c.DC().ka(),g=c.EC().ka();(new olympe.Y.de(b,a)).Bu().subscribe(rxjs.Subscriber.create(k=>{const l=a.wo('remote call'),m=k.body(),n=Wc(()=>{k.gu(Error(`Timeout reached on remote action ${this.db.name(this)} (${this.tag})`));l.destroy()},
1816
1817
  this.timeout);Wp(this,l,f,g,n,k);super.run(l);for(const [p,r]of m)p!==e&&l.set(p,r);k.qv().then(p=>{var r=l.get(d);null!==r&&olympe.dc.Ya(r)!==p&&(r=this.De(),this.V.warn(`Remote action ${this.db.name(r)} ${r}: try to run it with an input user that is not the real authenticated user.`));l.set(d,p);l.set(e,m.get(e))}).catch(p=>{const r=this.De();this.V.warn(`Remote action ${this.db.name(r)} ${r} Triggered by unrecognized user: ${p}.`);l.set(g,olympe.sc.logic.Error.create('Unrecognized User',1))})},
1817
- k=>{const l=this.De();this.V.error(`Error while listening on remote action ${this.db.name(l)} (${l}): ${k.message}`)}))}};olympe.sc.logic.It.U=olympe.dc.Ja.C('017a7b0c5dcbd8964c5d',olympe.sc.logic.It,olympe.sc.ba.Vb,new olympe.sa.zb(olympe.sc.pa.qK));olympe.sc.logic.It.C=olympe.sc.logic.It.U.fa('017a7b0c62a02a89444f');olympe.sc.logic.controllers={};olympe.sc.logic.controllers.qC=class{constructor(a){this.db=olympe.dc.eb();this.typeRel=a}};olympe.sc.logic.controllers.qC.C={$Z:-1,g0:1};olympe.sc.logic.controllers.b1=class extends olympe.sc.logic.controllers.qC{constructor(){super(olympe.sc.logic.Qh.C)}};olympe.sc.logic.controllers.i1=class extends olympe.sc.logic.controllers.qC{constructor(){super(olympe.sc.logic.qf.typeRel)}};olympe.sc.logic.gA={};olympe.sc.logic.gA.wU=class extends olympe.sc.logic.Function{update(a,[b],[c]){const d=olympe.dc.Ya(b);d?olympe.dc.nb.af(a,d,olympe.dc.Te.Wi).subscribe(()=>{c(olympe.dc.CloudObject.get(d))}):this.V.warn('Cannot subscribe to an instance with no tag: '+d)}};olympe.sc.logic.Ja.C('0174bf4b7e006e4b788a',olympe.sc.logic.gA.wU);olympe.sc.logic.actions={};olympe.sc.logic.gA.OS=class extends olympe.sc.logic.Function{run(a){Ap(this,a);const [b,c,d]=Ep(this,a);let e,f=null,g=null;const k=a.getParent(),l=()=>{null===g||0===e?(this.V.warn('No list to iter upon'),this.V.info(a.ja())):f<e?(b(g.ql(f)),f++,c(Date.now())):(np(k.C),d(Date.now()))};this.getInputs().forEach((m,n)=>a.on(m,p=>{if(p)switch(n){case 0:g=p;break;case 1:e=g.aj();f=0;mp(k.C);l();break;case 2:l();break;default:this.V.error('Unhandled input')}},this.tag))}};
1818
- olympe.sc.logic.Ja.C('0171889b060b6cd54300',olympe.sc.logic.gA.OS);olympe.sc.logic.ff={};olympe.sc.logic.ff.YB=class extends olympe.sc.logic.ki{ca(){return this.C('016ac638085357047a2d')}};olympe.sc.logic.ff.YB.U=Rp('0169b6876a03f14ae61b',olympe.sc.logic.ff.YB);olympe.sc.logic.ff.YB.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);let Xp=null;olympe.sc.logic.ff.rC=class extends olympe.sc.logic.ki{ca(){return this.C('016ac63808535703691c')}O(a){if(null===Xp){let b;Xp=null!=(b=olympe.sa.getParameter('sc.event.experimental'))?b:!1}return Xp?a.observe(xp(this)[0]):super.O(a)}};olympe.sc.logic.ff.rC.U=Rp('0169b6876a03f139d50a',olympe.sc.logic.ff.rC);olympe.sc.logic.ff.rC.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.logic.ff.PC=class extends olympe.sc.logic.ki{ca(){return this.C('016ac63809a9a8e6db96')}da(){return this.D('016ac6380ab003363b3e')}};Rp('01646ad602f933b8caaf',olympe.sc.logic.ff.PC);olympe.sc.logic.ff.PC.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.logic.ff.PC.prototype.da.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);olympe.sc.logic.ff.pz=class extends olympe.sc.logic.ki{ca(){return this.C('016ac6380bd98f1d91a0')}ma(){return this.D('016ac63c589ae38ca3ae')}da(){return this.D('016ac63c5a377fceabaa')}};Rp('0168ec42fc01747a98b6',olympe.sc.logic.ff.pz);olympe.sc.logic.ff.pz.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.logic.ff.pz.prototype.ma.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);olympe.sc.logic.ff.pz.prototype.da.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);olympe.sc.logic.ff.ur=class extends olympe.sc.logic.ki{BC(){return this.C('017a7b07b09e3b22c8b4')}lJ(){return this.C('017a7b07ba05807a74b0')}CC(){return this.D('017a7b0818c12388d731')}DC(){return this.D('017a7b085146d5e69aec')}qS(){return olympe.j.ia.C}};olympe.sc.logic.ff.ur.$='017a7b07b09e3b22c8b4';olympe.sc.logic.ff.ur.Pa='017a7b07ba05807a74b0';olympe.sc.logic.ff.ur.za='017a7b0818c12388d731';olympe.sc.logic.ff.ur.C='017a7b085146d5e69aec';
1819
- olympe.sc.logic.ff.ur.U=Rp('017a7b07a948e30508fa',olympe.sc.logic.ff.ur,olympe.sc.logic.It);h=olympe.sc.logic.ff.ur.prototype;h.BC.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);h.lJ.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);h.CC.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);h.DC.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);h.qS.K=olympe.j.J.T;olympe.sc.logic.ff.hL=class extends olympe.sc.logic.ki{ca(){return this.C('016ac63c5b3ed0562740')}};Rp('016a9766c230916ea5ec',olympe.sc.logic.ff.hL);olympe.sc.logic.ff.hL.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.query={};olympe.sc.query.wF=class extends olympe.sc.Be{};olympe.sc.query.wF.U=olympe.dc.Ja.C('01631aacd8276ea98491',olympe.sc.query.wF);olympe.sc.query.YJ=class extends olympe.dm.Enum{};olympe.sc.query.YJ.U=olympe.dc.Ja.C('01631aacd8276ea98495',olympe.sc.query.YJ);olympe.sc.query.jK=class extends olympe.dm.Enum{};olympe.sc.query.jK.U=olympe.dc.Ja.C('01631aacd8276ea98494',olympe.sc.query.jK);olympe.sc.query.mK=class extends olympe.sc.Be{};olympe.sc.query.mK.U=olympe.dc.Ja.C('01631aacd8276ea98492',olympe.sc.query.mK);olympe.sc.query.Jf=class extends olympe.dc.CloudObject{};olympe.sc.query.Jf.U=olympe.dc.Ja.C('01631aacd8276ea98493',olympe.sc.query.Jf);olympe.sc.fG=class extends olympe.dc.CloudObject{};olympe.sc.fG.U=olympe.dc.Ja.C('018312ceeb3e93618a85',olympe.sc.fG);olympe.sc.workflow={};olympe.sc.workflow.ObjectState=class extends olympe.dc.CloudObject{};olympe.sc.workflow.ObjectState.U=olympe.dc.Ja.C('017ffdd8f0b1e31fe138',olympe.sc.workflow.ObjectState);olympe.sc.workflow.ObjectState.workflowProp=olympe.sc.workflow.ObjectState.U.fa('017ffdd8f0b1e31fe13e');olympe.sc.workflow.ObjectState.stateProp=olympe.sc.workflow.ObjectState.U.fa('017ffdd8f0b1e31fe139');olympe.sc.workflow.ObjectState.assigneeProp=olympe.sc.workflow.ObjectState.U.fa('017ffdd8f0b1e31fe13a');
1818
+ k=>{const l=this.De();this.V.error(`Error while listening on remote action ${this.db.name(l)} (${l}): ${k.message}`)}))}};olympe.sc.logic.It.U=olympe.dc.Ja.C('017a7b0c5dcbd8964c5d',olympe.sc.logic.It,olympe.sc.ba.Vb,new olympe.sa.zb(olympe.sc.pa.qK));olympe.sc.logic.It.C=olympe.sc.logic.It.U.fa('017a7b0c62a02a89444f');olympe.sc.logic.controllers={};olympe.sc.logic.controllers.rC=class{constructor(a){this.db=olympe.dc.eb();this.typeRel=a}};olympe.sc.logic.controllers.rC.C={$Z:-1,g0:1};olympe.sc.logic.controllers.b1=class extends olympe.sc.logic.controllers.rC{constructor(){super(olympe.sc.logic.Qh.C)}};olympe.sc.logic.controllers.i1=class extends olympe.sc.logic.controllers.rC{constructor(){super(olympe.sc.logic.qf.typeRel)}};olympe.sc.logic.gA={};olympe.sc.logic.gA.wU=class extends olympe.sc.logic.Function{update(a,[b],[c]){const d=olympe.dc.Ya(b);d?olympe.dc.nb.af(a,d,olympe.dc.Te.Wi).subscribe(()=>{c(olympe.dc.CloudObject.get(d))}):this.V.warn('Cannot subscribe to an instance with no tag: '+d)}};olympe.sc.logic.Ja.C('0174bf4b7e006e4b788a',olympe.sc.logic.gA.wU);olympe.sc.logic.actions={};olympe.sc.logic.gA.OS=class extends olympe.sc.logic.Function{run(a){Ap(this,a);const [b,c,d]=Ep(this,a);let e,f=null,g=null;const k=a.getParent(),l=()=>{null===g||0===e?(this.V.warn('No list to iter upon'),this.V.info(a.ja())):f<e?(b(g.ql(f)),f++,c(Date.now())):(np(k.C),d(Date.now()))};this.getInputs().forEach((m,n)=>a.on(m,p=>{if(p)switch(n){case 0:g=p;break;case 1:e=g.aj();f=0;mp(k.C);l();break;case 2:l();break;default:this.V.error('Unhandled input')}},this.tag))}};
1819
+ olympe.sc.logic.Ja.C('0171889b060b6cd54300',olympe.sc.logic.gA.OS);olympe.sc.logic.ff={};olympe.sc.logic.ff.YB=class extends olympe.sc.logic.ki{ca(){return this.C('016ac638085357047a2d')}};olympe.sc.logic.ff.YB.U=Rp('0169b6876a03f14ae61b',olympe.sc.logic.ff.YB);olympe.sc.logic.ff.YB.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);let Xp=null;olympe.sc.logic.ff.sC=class extends olympe.sc.logic.ki{ca(){return this.C('016ac63808535703691c')}O(a){if(null===Xp){let b;Xp=null!=(b=olympe.sa.getParameter('sc.event.experimental'))?b:!1}return Xp?a.observe(xp(this)[0]):super.O(a)}};olympe.sc.logic.ff.sC.U=Rp('0169b6876a03f139d50a',olympe.sc.logic.ff.sC);olympe.sc.logic.ff.sC.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.logic.ff.QC=class extends olympe.sc.logic.ki{ca(){return this.C('016ac63809a9a8e6db96')}da(){return this.D('016ac6380ab003363b3e')}};Rp('01646ad602f933b8caaf',olympe.sc.logic.ff.QC);olympe.sc.logic.ff.QC.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.logic.ff.QC.prototype.da.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);olympe.sc.logic.ff.pz=class extends olympe.sc.logic.ki{ca(){return this.C('016ac6380bd98f1d91a0')}ma(){return this.D('016ac63c589ae38ca3ae')}da(){return this.D('016ac63c5a377fceabaa')}};Rp('0168ec42fc01747a98b6',olympe.sc.logic.ff.pz);olympe.sc.logic.ff.pz.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.logic.ff.pz.prototype.ma.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);olympe.sc.logic.ff.pz.prototype.da.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);olympe.sc.logic.ff.ur=class extends olympe.sc.logic.ki{CC(){return this.C('017a7b07b09e3b22c8b4')}lJ(){return this.C('017a7b07ba05807a74b0')}DC(){return this.D('017a7b0818c12388d731')}EC(){return this.D('017a7b085146d5e69aec')}qS(){return olympe.j.ia.C}};olympe.sc.logic.ff.ur.$='017a7b07b09e3b22c8b4';olympe.sc.logic.ff.ur.Pa='017a7b07ba05807a74b0';olympe.sc.logic.ff.ur.za='017a7b0818c12388d731';olympe.sc.logic.ff.ur.C='017a7b085146d5e69aec';
1820
+ olympe.sc.logic.ff.ur.U=Rp('017a7b07a948e30508fa',olympe.sc.logic.ff.ur,olympe.sc.logic.It);h=olympe.sc.logic.ff.ur.prototype;h.CC.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);h.lJ.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);h.DC.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);h.EC.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);h.qS.K=olympe.j.J.T;olympe.sc.logic.ff.hL=class extends olympe.sc.logic.ki{ca(){return this.C('016ac63c5b3ed0562740')}};Rp('016a9766c230916ea5ec',olympe.sc.logic.ff.hL);olympe.sc.logic.ff.hL.prototype.ca.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);olympe.sc.query={};olympe.sc.query.xF=class extends olympe.sc.Be{};olympe.sc.query.xF.U=olympe.dc.Ja.C('01631aacd8276ea98491',olympe.sc.query.xF);olympe.sc.query.YJ=class extends olympe.dm.Enum{};olympe.sc.query.YJ.U=olympe.dc.Ja.C('01631aacd8276ea98495',olympe.sc.query.YJ);olympe.sc.query.jK=class extends olympe.dm.Enum{};olympe.sc.query.jK.U=olympe.dc.Ja.C('01631aacd8276ea98494',olympe.sc.query.jK);olympe.sc.query.mK=class extends olympe.sc.Be{};olympe.sc.query.mK.U=olympe.dc.Ja.C('01631aacd8276ea98492',olympe.sc.query.mK);olympe.sc.query.Jf=class extends olympe.dc.CloudObject{};olympe.sc.query.Jf.U=olympe.dc.Ja.C('01631aacd8276ea98493',olympe.sc.query.Jf);olympe.sc.gG=class extends olympe.dc.CloudObject{};olympe.sc.gG.U=olympe.dc.Ja.C('018312ceeb3e93618a85',olympe.sc.gG);olympe.sc.workflow={};olympe.sc.workflow.ObjectState=class extends olympe.dc.CloudObject{};olympe.sc.workflow.ObjectState.U=olympe.dc.Ja.C('017ffdd8f0b1e31fe138',olympe.sc.workflow.ObjectState);olympe.sc.workflow.ObjectState.workflowProp=olympe.sc.workflow.ObjectState.U.fa('017ffdd8f0b1e31fe13e');olympe.sc.workflow.ObjectState.stateProp=olympe.sc.workflow.ObjectState.U.fa('017ffdd8f0b1e31fe139');olympe.sc.workflow.ObjectState.assigneeProp=olympe.sc.workflow.ObjectState.U.fa('017ffdd8f0b1e31fe13a');
1820
1821
  olympe.sc.workflow.ObjectState.dateTimeProp=olympe.sc.workflow.ObjectState.U.fa('017ffdd8f0b1e31fe13b');olympe.sc.workflow.ObjectState.serializedObjectProp=olympe.sc.workflow.ObjectState.U.fa('017ffdd8f0b1e31fe13d');olympe.sc.workflow.ObjectState.objectRel=olympe.sc.workflow.ObjectState.U.tb('017ffdd8f0b1e31fe13c');olympe.sc.workflow.ObjectState.currentObjectRel=olympe.sc.workflow.ObjectState.U.tb('017ffdd8f0b1e31fe13f');olympe.sc.workflow.jo=class extends olympe.sc.logic.ki{rS(){return this.C('017ffe02381f9fac5060')}uS(){return this.C('017ffe02381f9fac5061')}vS(){return this.C('017ffe02381f9fac5062')}xW(){return this.C('017ffe02381f9fac5065')}sS(){return this.D('017ffe02381f9fac5063')}tS(){return this.D('017ffe02381f9fac5064')}};olympe.sc.workflow.jo.U=Rp('017ffde21f5fe0f704ce',olympe.sc.workflow.jo);olympe.sc.workflow.jo.C='017ffe02381f9fac5060';olympe.sc.workflow.jo.xb='017ffe02381f9fac5061';
1821
1822
  olympe.sc.workflow.jo.Eb='017ffe02381f9fac5062';olympe.sc.workflow.jo.za='017ffe02381f9fac5065';olympe.sc.workflow.jo.$='017ffe02381f9fac5063';olympe.sc.workflow.jo.Pa='017ffe02381f9fac5064';h=olympe.sc.workflow.jo.prototype;h.rS.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);h.uS.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);h.vS.K=new olympe.j.J(()=>olympe.sc.logic.ie,[]);h.xW.K=new olympe.j.J(()=>Map,[]);h.sS.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);h.tS.K=new olympe.j.J(()=>olympe.sc.logic.Le,[]);olympe.sc.workflow.wm=class extends olympe.dm.BrickMetadata{og(){return this.Ig(olympe.sc.workflow.Workflow.statesRel.fe(),olympe.sc.workflow.Workflow).bb().concat(['.',this.bb()])}};olympe.sc.workflow.wm.U=olympe.dc.Ja.C('017ffdc2dda51d46b430',olympe.sc.workflow.wm);olympe.sc.workflow.Transition=class extends olympe.dc.CloudObject{D(){return this.xA(olympe.sc.workflow.Transition.processRefProp)}C(){return this.Ig(olympe.sc.workflow.Transition.fromStateRel,olympe.sc.workflow.wm)}O(){return this.Ig(olympe.sc.workflow.Transition.toStateRel,olympe.sc.workflow.wm)}og(){const a=this.Ig(olympe.sc.workflow.Transition.fromStateRel,olympe.sc.workflow.wm);return a.Ig(olympe.sc.workflow.Workflow.statesRel.fe(),olympe.sc.workflow.Workflow).bb().concat(['.',a.bb(),'->',this.bb()])}};
1822
1823
  olympe.sc.workflow.Transition.U=olympe.dc.Ja.C('017ffdc633219f16beea',olympe.sc.workflow.Transition);olympe.sc.workflow.Transition.processRefProp=olympe.sc.workflow.Transition.U.fa('017ffdc633219f16beec');olympe.sc.workflow.Transition.fromStateRel=olympe.sc.workflow.Transition.U.tb('017ffdc2dda51d46b431');olympe.sc.workflow.Transition.toStateRel=olympe.sc.workflow.Transition.U.tb('017ffdc633219f16beeb');olympe.sc.workflow.Transition.prototype.D.K=new olympe.j.J(()=>olympe.dc.CloudObject,[]);
@@ -1825,21 +1826,21 @@ olympe.sc.workflow.Workflow.dataTypeRel=olympe.sc.workflow.Workflow.U.tb('017ffd
1825
1826
  olympe.sc.workflow.Workflow.prototype.D.K=new olympe.j.J(()=>olympe.sc.workflow.wm,[]);olympe.sc.Fb={};olympe.sc.Fb.Pg=class extends olympe.sc.yc{Di(){return olympe.sc.jf.Yi.HK}};olympe.sc.Fb.Pg.U=olympe.dc.Ja.C('01120300000000adef00',olympe.sc.Fb.Pg);olympe.sc.Fb.Pg.C=olympe.sc.Fb.Pg.U.tb('0171bc1f15da96dfdb89');olympe.sc.Fb.Pg.Pa=olympe.sc.Fb.Pg.U.tb('0171bc1f15da96dfdb90');Y(olympe.dm.fh.U,olympe.sc.Fb.Pg.C);olympe.sc.Fb.Ss=class extends olympe.sc.Runnable{da(){return[this.De()]}za(){return olympe.dc.Rh.from(this.De()).oc(olympe.sc.Fb.Pg.C).zf()}};olympe.sc.Fb.Ss.U=Nh(olympe.dc.Ja.C('0113030000000aca1100',olympe.sc.Fb.Ss));olympe.sc.Fb.Ss.prototype.za.K=new olympe.j.J(()=>olympe.dm.fd,[]);olympe.sc.Fb.Fd=class extends olympe.dc.CloudObject{xS(){return this.Vm(olympe.sc.Fb.Fd.Yt)}aY(){return this.Vm(olympe.sc.Fb.Fd.ma)}jh(){return this.yg(olympe.sc.Fb.Fd.C)}HW(){return this.Rd(olympe.sc.Fb.Fd.R)}kX(){return this.Rd(olympe.sc.Fb.Fd.da)}jX(){return this.Rd(olympe.sc.Fb.Fd.$)}yo(){return this.Rd(olympe.sc.Fb.Fd.ca)}YW(){return this.Rd(olympe.sc.Fb.Fd.T)}hW(){return this.Rd(olympe.sc.Fb.Fd.D)}hX(){return this.Rd(olympe.sc.Fb.Fd.W)}wS(){return this.Rd(olympe.sc.Fb.Fd.O)}};
1826
1827
  olympe.sc.Fb.Fd.U=olympe.dc.Ja.C('011203300000000adef5',olympe.sc.Fb.Fd);olympe.sc.Fb.Fd.Yt=olympe.sc.Fb.Fd.U.fa('011203300000000adef6');olympe.sc.Fb.Fd.ma=olympe.sc.Fb.Fd.U.fa('011203300000000adef7');olympe.sc.Fb.Fd.C=olympe.sc.Fb.Fd.U.fa('011203300000000adef8');olympe.sc.Fb.Fd.R=olympe.sc.Fb.Fd.U.fa('011203300000000adef9');olympe.sc.Fb.Fd.da=olympe.sc.Fb.Fd.U.fa('011203300000000adefa');olympe.sc.Fb.Fd.$=olympe.sc.Fb.Fd.U.fa('011203300000000adefb');olympe.sc.Fb.Fd.D=olympe.sc.Fb.Fd.U.fa('011203300000000adefc');
1827
1828
  olympe.sc.Fb.Fd.ca=olympe.sc.Fb.Fd.U.fa('011203300000000adefd');olympe.sc.Fb.Fd.T=olympe.sc.Fb.Fd.U.fa('011203300000000adefe');olympe.sc.Fb.Fd.W=olympe.sc.Fb.Fd.U.fa('011203300000000adeff');olympe.sc.Fb.Fd.O=olympe.sc.Fb.Fd.U.fa('011203300000000adee0');olympe.sc.Fb.Fd.Vf={INIT:0,MZ:1,v1:2,q1:3,p1:4,w1:5,we:9};h=olympe.sc.Fb.Fd.prototype;h.xS.K=olympe.j.J.T;h.aY.K=olympe.j.J.T;h.jh.K=olympe.j.J.D;h.HW.K=olympe.j.J.R;h.kX.K=olympe.j.J.R;h.jX.K=olympe.j.J.R;h.yo.K=olympe.j.J.R;h.YW.K=olympe.j.J.R;
1828
- h.hW.K=olympe.j.J.R;h.hX.K=olympe.j.J.R;h.wS.K=olympe.j.J.R;olympe.sc.Fb.nC=class extends olympe.sc.Fb.Ss{ue(a){a.set(olympe.sc.Hb.C.wB,!0);super.ue(a)}Ha(){return!0}};olympe.sc.Fb.nC.U=olympe.dc.Ja.C('0113032000000aca1102',olympe.sc.Fb.nC,olympe.sc.ba.Vb);olympe.sc.Fb.vm=class extends olympe.sc.Fb.Pg{C(){return(new olympe.dc.Mp(this.ka(),olympe.sc.Fb.Fd)).oc(olympe.sc.Fb.vm.$).ek().Vd()}};olympe.sc.Fb.vm.U=olympe.dc.Ja.C('011203300000000adef3',olympe.sc.Fb.vm);olympe.sc.Fb.vm.$=olympe.sc.Fb.vm.U.tb('011203300000000adef4');Y(olympe.sc.Fb.Fd.U,olympe.sc.Fb.vm.$);
1829
- olympe.sc.Fb.vm.U.C=(a,b,c)=>{b=Hn(a,b||'New Service Application model',olympe.sc.Fb.vm,olympe.sc.Fb.nC);a.Qb(olympe.sc.Fb.Pg.C,b,c);c=a.create(olympe.sc.Fb.Fd).ka();a.Qb(olympe.sc.Fb.vm.$,b,c);return b.ka()};olympe.sc.Fb.vm.prototype.C.K=new olympe.j.J(()=>olympe.sc.Fb.Fd,[]);olympe.sc.Dr=class extends olympe.dc.CloudObject{static get(){return olympe.dc.CloudObject.get('011203300000000adf0f')}};olympe.sc.Dr.U=olympe.dc.Ja.C('011203300000000adf00',olympe.sc.Dr);olympe.sc.Dr.D=olympe.sc.Dr.U.fa('011203300000000adf01');olympe.sc.Dr.C=olympe.sc.Dr.U.fa('011203300000000adf02');olympe.sc.Dr.O='011203300000000adf0f';olympe.sc.Pq={};olympe.sc.Pq.RX=a=>{var b=a.C;const c=olympe.dc.eb();var d=null;var e=null===Lp;for(const f of b.xg())if((b=f.Qe())&&f.O()&&f.Sd()===olympe.dc.Jc.SERVER&&vn(a,f.tag())&&c.me(b,olympe.sc.qg)){if(!e)throw new olympe.dc.PJ;let g,k;null==d&&(d=null,null!==Kp?d=Kp:'string'===typeof Jp&&(d=olympe.dc.Rh.from(Jp).oc(olympe.sc.Fb.Pg.C).oc(olympe.sc.On.C.fe()).zf()),d=null==(g=d)?void 0:g.ka());d=null!=(k=d)?k:null;if(null===d)throw Error(`No business container for new instance of ${olympe.dc.Ya(b)}`);a.Qb(olympe.sc.On.D.ka(),
1829
+ h.hW.K=olympe.j.J.R;h.hX.K=olympe.j.J.R;h.wS.K=olympe.j.J.R;olympe.sc.Fb.oC=class extends olympe.sc.Fb.Ss{ue(a){a.set(olympe.sc.Hb.C.wB,!0);super.ue(a)}Ha(){return!0}};olympe.sc.Fb.oC.U=olympe.dc.Ja.C('0113032000000aca1102',olympe.sc.Fb.oC,olympe.sc.ba.Vb);olympe.sc.Fb.vm=class extends olympe.sc.Fb.Pg{C(){return(new olympe.dc.Mp(this.ka(),olympe.sc.Fb.Fd)).oc(olympe.sc.Fb.vm.$).ek().Vd()}};olympe.sc.Fb.vm.U=olympe.dc.Ja.C('011203300000000adef3',olympe.sc.Fb.vm);olympe.sc.Fb.vm.$=olympe.sc.Fb.vm.U.tb('011203300000000adef4');Y(olympe.sc.Fb.Fd.U,olympe.sc.Fb.vm.$);
1830
+ olympe.sc.Fb.vm.U.C=(a,b,c)=>{b=Hn(a,b||'New Service Application model',olympe.sc.Fb.vm,olympe.sc.Fb.oC);a.Qb(olympe.sc.Fb.Pg.C,b,c);c=a.create(olympe.sc.Fb.Fd).ka();a.Qb(olympe.sc.Fb.vm.$,b,c);return b.ka()};olympe.sc.Fb.vm.prototype.C.K=new olympe.j.J(()=>olympe.sc.Fb.Fd,[]);olympe.sc.Dr=class extends olympe.dc.CloudObject{static get(){return olympe.dc.CloudObject.get('011203300000000adf0f')}};olympe.sc.Dr.U=olympe.dc.Ja.C('011203300000000adf00',olympe.sc.Dr);olympe.sc.Dr.D=olympe.sc.Dr.U.fa('011203300000000adf01');olympe.sc.Dr.C=olympe.sc.Dr.U.fa('011203300000000adf02');olympe.sc.Dr.O='011203300000000adf0f';olympe.sc.Pq={};olympe.sc.Pq.RX=a=>{var b=a.C;const c=olympe.dc.eb();var d=null;var e=null===Lp;for(const f of b.xg())if((b=f.Qe())&&f.O()&&f.Sd()===olympe.dc.Jc.SERVER&&vn(a,f.tag())&&c.me(b,olympe.sc.qg)){if(!e)throw new olympe.dc.PJ;let g,k;null==d&&(d=null,null!==Kp?d=Kp:'string'===typeof Jp&&(d=olympe.dc.Rh.from(Jp).oc(olympe.sc.Fb.Pg.C).oc(olympe.sc.On.C.fe()).zf()),d=null==(g=d)?void 0:g.ka());d=null!=(k=d)?k:null;if(null===d)throw Error(`No business container for new instance of ${olympe.dc.Ya(b)}`);a.Qb(olympe.sc.On.D.ka(),
1830
1831
  d,f.tag())}};
1831
1832
  olympe.sc.Pq.cY=a=>{const b=a.C,c=olympe.dc.eb();for(const d of b.xg()){const e=d.Qe();e&&!d.$h()&&c.me(e,olympe.sc.qg)&&d.be().forEach((f,g)=>{if(f instanceof olympe.dc.Kf){const m=b.ih(f.ka());if(null===m)throw Error(`Try to assign an instance as complex property which is not created within the same transaction: ${f.ka()}`);var k;f=null!=(k=null==m?void 0:m.Qe())?k:null;k=m.tag();let n;if(f===olympe.dc.Ya(olympe.sc.ri)){k=m.Wd(olympe.sc.ri.C);if(!k)throw Error('No object reference found for new ObjectRef');var l;
1832
1833
  let p;f=null!=(p=null==(l=b.ih(k))?void 0:l.Qe())?p:c.model(k)}if(c.Xm(f,olympe.dm.$k)){l=Ro(f);let p;n=null!=(p=m.Ac(l.ka()))?p:c.Ac(k,l)}if(void 0===n)throw Error(`Try to set a complex property to an instance of a DataType: ${c.name(e)} (${e})`);a.oh(d.tag(),new Map([[g,n]]));An(a,m.tag(),olympe.dc.Te.Qg)}})}};
1833
1834
  olympe.sc.Pq.DV=a=>{const b=a.C,c=olympe.dc.eb(),d=new Set;for(var e of b.je.values()){a=e.tag();let f;const g=null!=(f=e.Qe())?f:c.model(a);if(null!==g&&e.kc()&&(d.has(g)||c.me(g,olympe.sc.qg))){d.add(g);const k=Array.from(e.Ha()).flatMap(([l,,m,n])=>n&&l!==olympe.dc.Lf.sh?[m]:[]).find(l=>{let m,n;const p=null!=(n=null==(m=b.ih(l))?void 0:m.Qe())?n:c.model(l);return!p||!(d.has(p)||c.me(p,olympe.sc.qg))});if(void 0!==k){let l,m,n;e=null!=(n=null!=(m=null==(l=b.ih(k))?void 0:l.Qe())?m:c.model(k))?
1834
1835
  n:'unknown';throw Error(`Try to link an instance (${a}) of DataType ${c.name(g)} (${g}) to an instance which is not (${k}) a DataType: ${c.name(e)} (${e})`);}}}};olympe.sc.Pq.qY=a=>{var b=a.C;const c=olympe.dc.eb();for(const d of b.xg()){b=d.tag();const e=d.Qe();if(e&&!c.me(e,olympe.sc.qg)&&vn(a,b))throw Error(`You are trying to persist an instance of : ${c.name(e)} (${e}), but only instances of DataType can be persisted`);}};
1835
- olympe.sa.run([olympe.dc.transaction.ba.Ob],a=>{Nn(Nn(Nn(a,olympe.sc.Pq.DV,'businessDataRelations'),olympe.sc.Pq.RX,'linkBusinessContainer'),olympe.sc.Pq.cY,'noBusinessComplexProperty')});olympe.sc.Dy=class extends olympe.dm.BrickMetadata{Di(){return olympe.sc.jf.Yi.Ys}};olympe.sc.Dy.U=olympe.dc.Ja.C('01645fe6873aeea59e64',olympe.sc.Dy);olympe.sc.Dy.C=olympe.sc.Dy.U.tb('017ed8ac775f48d4d589');olympe.sc.aG=class extends olympe.dm.Ye{Di(){return olympe.sc.jf.Yi.Ys}};olympe.sc.aG.U=olympe.dc.Ja.C('0163a68ce44f3d1fa95d',olympe.sc.aG);olympe.sc.Ws=class extends olympe.dm.BrickMetadata{};olympe.sc.Ws.U=olympe.dc.Ja.C('016324fde11a836f77d3',olympe.sc.Ws);olympe.sc.Ws.C=olympe.sc.qg.U.tb('016324fde11a836088d3');olympe.sc.Ws.U.C=(a,b)=>Hn(a,null!=b?b:'New config type',olympe.sc.Ws).ka();olympe.sc.XZ=class{};olympe.sc.Ky=class extends olympe.dm.BrickMetadata{Di(){return olympe.sc.jf.Yi.Ys}};olympe.sc.Ky.U=olympe.dc.Ja.C('017dc8d6c8fd8c8bd2ff',olympe.sc.Ky);olympe.sc.Ky.U.C=(a,b)=>Hn(a,null!=b?b:'New data connector',olympe.sc.Ky,olympe.dm.DataSource).ka();function Hp(a,b){return`delegated^${olympe.dc.Ya(a)}^${olympe.dc.Ya(b)}`}olympe.sc.gg=class extends olympe.sc.Runnable{Pa(){return this.pc(olympe.sc.gg.O,olympe.sc.Runnable)}za(){return this.pc(olympe.sc.gg.C,olympe.dm.Property)}};olympe.sc.gg.U=Nh(olympe.dc.Ja.C('016c2d996d9ca27fa9d8',olympe.sc.gg));olympe.sc.gg.O=olympe.sc.gg.U.tb('016c3cb7742ec9309e0b');olympe.sc.gg.C=olympe.sc.gg.U.tb('016c42d3454636f90533');olympe.sc.gg.prototype.Pa.K=new olympe.j.J(()=>olympe.dc.Kb,[]);
1836
- olympe.sc.gg.prototype.za.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.sc.HG=class extends olympe.dm.Ye{Di(){return olympe.sc.jf.Yi.Ys}};olympe.sc.HG.U=olympe.dc.Ja.C('017a7a9ff057958e5678',olympe.sc.HG);olympe.sc.Ev=class extends olympe.dm.Enum{static create(a,b,c,d,e){const f=olympe.dc.eb();e=void 0!==e?e:f.tc(b)&&f.xg(b).length||0;c=(new Map).set(olympe.dm.String.valueProp,c).set(olympe.dc.CloudObject.nameProp,d||c).set(olympe.dm.Enum.rankProp,e);return a.create(b,c)}};olympe.sc.Ev.create=olympe.sc.Ev.create;olympe.sc.Ev.U=olympe.dc.Ja.C('016cdd861b32d56c8208',olympe.sc.Ev);olympe.sc.GJ=class extends olympe.dm.Ye{Di(){return olympe.sc.jf.Yi.oD}};olympe.sc.GJ.U=olympe.dc.Ja.C('01644b6d4543b344b857',olympe.sc.GJ);olympe.sc.HJ=class extends olympe.dc.CloudObject{};olympe.sc.HJ.U=olympe.dc.Ja.C('0162f672366be5ca7a86',olympe.sc.HJ);const Yp={FG:30};olympe.sc.Mf=class extends olympe.dc.sources.Mf{D(a){return a instanceof olympe.sc.logic.Error?Ge(Yp.FG,{c:a.code,m:a.message,s:a.tk()}):super.D(a)}C(a){return(null==a?void 0:a.t)===Yp.FG?(a=a.v,Yo(a.m,a.c,a.s)):super.C(a)}R(a){super.R(a);if(this.db.model(a)===olympe.sc.ri.U.ka()){const b=olympe.sc.ri.C;this.O.get(a).r.push({r:b.ka(),o:a,d:this.db.Wd(a,b)})}return a}};function Zp(a,b,c,d){const e=Hp(a,c);olympe.j.Wa([d],f=>{b.set(e,f)});olympe.j.yb().Ve(()=>{b.remove(e)})}olympe.sc.Br=class extends olympe.sc.gg{};olympe.sc.Br.U=olympe.dc.Ja.C('016d3f37610ae4fc3962',olympe.sc.Br);olympe.sc.Text=class extends olympe.dm.String{};olympe.sc.Text.U=olympe.dc.Ja.C('016cfca73e63f9ab5ba4',olympe.sc.Text);olympe.sc.Tc=class{constructor(a=!0){a=En(a);a.T=!0;var b=olympe.sc.Pq.qY;let c;(null==(c=olympe.sa.getParameter(olympe.dc.transaction.pa.UB))?0:c.includes('persistenceBusinessDataOnly'))||a.W.push(b);this.C=a;this.D=[];this.source=null}static from(a){const b=olympe.sc.Hb.C.TRANSACTION;return a.has(b,!0)?a.get(b,!0):new olympe.sc.Tc}static process(a,b){return a.has(olympe.sc.Hb.C.TRANSACTION,!0)?Promise.resolve(!1):b.Kd().then(()=>!0)}ja(){return this.C.ja()}create(a,b=new Map,c=this.source,d){c=
1837
- 'string'===typeof c?c:olympe.dc.Kj().fromModel(a);a=this.C.create(a,d).ne(c);for(const [e,f]of b)Z(a,e,f);b=a.ka();this.D.push(b);return b}update(a,b,c){this.C.update(a,b,c);return this}HO(a,b){a=this.C.update(a);for(const [c,d]of b)b=d,a.Ji.set(olympe.dc.Ya(c),b);return this}delete(a){this.C.delete(a);return this}Qb(a,b,c){this.C.Qb(a,b,c);return this}Xf(a,b,c){this.C.Xf(a,b,c);return this}JD(a,b){this.C.JD(a,b);return this}persist(a,b=!0){this.C.persist(a,b);return this}pY(a,b=!0){olympe.gb.Cb('dc').warn('Transaction#persistInstance() has been deprecated. Please use Transaction#persist() instead.');
1838
- return this.persist(a,b)}ne(a){this.source=a;return this}model(a){return this.C.model(a)}merge(a){Fn(this.C,a.C);return this}AD(a){this.C.AD(a);return this}Kd(){return new Promise((a,b)=>{this.C.Kd((c,d)=>{c?a(new olympe.sc.sw(this.D)):b(d)})})}KD(){return new Promise((a,b)=>{this.C.KD((c,d)=>{c?a(new olympe.sc.sw(this.D)):b(d)})})}};olympe.sc.Tc.prototype.executeAsLarge=olympe.sc.Tc.prototype.KD;olympe.sc.Tc.prototype.execute=olympe.sc.Tc.prototype.Kd;olympe.sc.Tc.prototype.afterExecution=olympe.sc.Tc.prototype.AD;
1839
- olympe.sc.Tc.prototype.merge=olympe.sc.Tc.prototype.merge;olympe.sc.Tc.prototype.model=olympe.sc.Tc.prototype.model;olympe.sc.Tc.prototype.setSource=olympe.sc.Tc.prototype.ne;olympe.sc.Tc.prototype.persistInstance=olympe.sc.Tc.prototype.pY;olympe.sc.Tc.prototype.persist=olympe.sc.Tc.prototype.persist;olympe.sc.Tc.prototype.deleteAllRelations=olympe.sc.Tc.prototype.JD;olympe.sc.Tc.prototype.deleteRelation=olympe.sc.Tc.prototype.Xf;olympe.sc.Tc.prototype.createRelation=olympe.sc.Tc.prototype.Qb;
1840
- olympe.sc.Tc.prototype['delete']=olympe.sc.Tc.prototype.delete;olympe.sc.Tc.prototype.multiUpdate=olympe.sc.Tc.prototype.HO;olympe.sc.Tc.prototype.update=olympe.sc.Tc.prototype.update;olympe.sc.Tc.prototype.create=olympe.sc.Tc.prototype.create;olympe.sc.Tc.prototype.getId=olympe.sc.Tc.prototype.ja;olympe.sc.Tc.process=olympe.sc.Tc.process;olympe.sc.Tc.from=olympe.sc.Tc.from;olympe.sc.sw=class{constructor(a){this.C=a}tW(){return this.C.map(olympe.dc.CloudObject.get)}};olympe.sc.sw.prototype.getCreatedObjects=olympe.sc.sw.prototype.tW;olympe.Af={};olympe.Af.uF=class{run(){}};function $p(a,b='default'){return a.C===b}
1836
+ olympe.sa.run([olympe.dc.transaction.ba.Ob],a=>{Nn(Nn(Nn(a,olympe.sc.Pq.DV,'businessDataRelations'),olympe.sc.Pq.RX,'linkBusinessContainer'),olympe.sc.Pq.cY,'noBusinessComplexProperty')});olympe.sc.Dy=class extends olympe.dm.BrickMetadata{Di(){return olympe.sc.jf.Yi.Ys}};olympe.sc.Dy.U=olympe.dc.Ja.C('01645fe6873aeea59e64',olympe.sc.Dy);olympe.sc.Dy.C=olympe.sc.Dy.U.tb('017ed8ac775f48d4d589');olympe.sc.bG=class extends olympe.dm.Ye{Di(){return olympe.sc.jf.Yi.Ys}};olympe.sc.bG.U=olympe.dc.Ja.C('0163a68ce44f3d1fa95d',olympe.sc.bG);olympe.sc.Ws=class extends olympe.dm.BrickMetadata{};olympe.sc.Ws.U=olympe.dc.Ja.C('016324fde11a836f77d3',olympe.sc.Ws);olympe.sc.Ws.C=olympe.sc.qg.U.tb('016324fde11a836088d3');olympe.sc.Ws.U.C=(a,b)=>Hn(a,null!=b?b:'New config type',olympe.sc.Ws).ka();olympe.sc.XZ=class{};olympe.sc.Ky=class extends olympe.dm.BrickMetadata{Di(){return olympe.sc.jf.Yi.Ys}};olympe.sc.Ky.U=olympe.dc.Ja.C('017dc8d6c8fd8c8bd2ff',olympe.sc.Ky);olympe.sc.Ky.U.C=(a,b)=>Hn(a,null!=b?b:'New data connector',olympe.sc.Ky,olympe.dm.DataSource).ka();function Hp(a,b){return`delegated^${olympe.dc.Ya(a)}^${olympe.dc.Ya(b)}`}olympe.sc.gg=class extends olympe.sc.Runnable{Pa(){return this.pc(olympe.sc.gg.O,olympe.sc.Runnable)}za(){return this.pc(olympe.sc.gg.C,olympe.dm.Property)}};olympe.sc.gg.U=Nh(olympe.dc.Ja.C('016c2d996d9ca27fa9d8',olympe.sc.gg));olympe.sc.gg.O=olympe.sc.gg.U.tb('016c3cb7742ec9309e0b');olympe.sc.gg.C=olympe.sc.gg.U.tb('016c42d3454636f90533');olympe.sc.gg.prototype.Pa.K=new olympe.j.J(()=>olympe.dc.Kb,[]);
1837
+ olympe.sc.gg.prototype.za.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.sc.IG=class extends olympe.dm.Ye{Di(){return olympe.sc.jf.Yi.Ys}};olympe.sc.IG.U=olympe.dc.Ja.C('017a7a9ff057958e5678',olympe.sc.IG);olympe.sc.Ev=class extends olympe.dm.Enum{static create(a,b,c,d,e){const f=olympe.dc.eb();e=void 0!==e?e:f.tc(b)&&f.xg(b).length||0;c=(new Map).set(olympe.dm.String.valueProp,c).set(olympe.dc.CloudObject.nameProp,d||c).set(olympe.dm.Enum.rankProp,e);return a.create(b,c)}};olympe.sc.Ev.create=olympe.sc.Ev.create;olympe.sc.Ev.U=olympe.dc.Ja.C('016cdd861b32d56c8208',olympe.sc.Ev);olympe.sc.GJ=class extends olympe.dm.Ye{Di(){return olympe.sc.jf.Yi.pD}};olympe.sc.GJ.U=olympe.dc.Ja.C('01644b6d4543b344b857',olympe.sc.GJ);olympe.sc.HJ=class extends olympe.dc.CloudObject{};olympe.sc.HJ.U=olympe.dc.Ja.C('0162f672366be5ca7a86',olympe.sc.HJ);const Yp={GG:30};olympe.sc.Mf=class extends olympe.dc.sources.Mf{D(a){return a instanceof olympe.sc.logic.Error?Ge(Yp.GG,{c:a.code,m:a.message,s:a.tk()}):super.D(a)}C(a){return(null==a?void 0:a.t)===Yp.GG?(a=a.v,Yo(a.m,a.c,a.s)):super.C(a)}R(a){super.R(a);if(this.db.model(a)===olympe.sc.ri.U.ka()){const b=olympe.sc.ri.C;this.O.get(a).r.push({r:b.ka(),o:a,d:this.db.Wd(a,b)})}return a}};function Zp(a,b,c,d){const e=Hp(a,c);olympe.j.Wa([d],f=>{b.set(e,f)});olympe.j.yb().Ve(()=>{b.remove(e)})}olympe.sc.Br=class extends olympe.sc.gg{};olympe.sc.Br.U=olympe.dc.Ja.C('016d3f37610ae4fc3962',olympe.sc.Br);olympe.sc.Text=class extends olympe.dm.String{};olympe.sc.Text.U=olympe.dc.Ja.C('016cfca73e63f9ab5ba4',olympe.sc.Text);olympe.sc.Tc=class{constructor(a=!0){a=En(a);a.T=!0;var b=olympe.sc.Pq.qY;let c;(null==(c=olympe.sa.getParameter(olympe.dc.transaction.pa.UB))?0:c.includes('persistenceBusinessDataOnly'))||a.W.push(b);this.C=a;this.D=[];this.source=null}static from(a){const b=olympe.sc.Hb.C.TRANSACTION;return a.has(b,!0)?a.get(b,!0):new olympe.sc.Tc}static process(a,b){return a.has(olympe.sc.Hb.C.TRANSACTION,!0)?Promise.resolve(!1):b.Kd().then(()=>!0)}ja(){return this.C.ja()}create(a,b=new Map,c=this.source,d){c=
1838
+ 'string'===typeof c?c:olympe.dc.Kj().fromModel(a);a=this.C.create(a,d).ne(c);for(const [e,f]of b)Z(a,e,f);b=a.ka();this.D.push(b);return b}update(a,b,c){this.C.update(a,b,c);return this}HO(a,b){a=this.C.update(a);for(const [c,d]of b)b=d,a.Ji.set(olympe.dc.Ya(c),b);return this}delete(a){this.C.delete(a);return this}Qb(a,b,c){this.C.Qb(a,b,c);return this}Xf(a,b,c){this.C.Xf(a,b,c);return this}KD(a,b){this.C.KD(a,b);return this}persist(a,b=!0){this.C.persist(a,b);return this}pY(a,b=!0){olympe.gb.Cb('dc').warn('Transaction#persistInstance() has been deprecated. Please use Transaction#persist() instead.');
1839
+ return this.persist(a,b)}ne(a){this.source=a;return this}model(a){return this.C.model(a)}merge(a){Fn(this.C,a.C);return this}BD(a){this.C.BD(a);return this}Kd(){return new Promise((a,b)=>{this.C.Kd((c,d)=>{c?a(new olympe.sc.sw(this.D)):b(d)})})}LD(){return new Promise((a,b)=>{this.C.LD((c,d)=>{c?a(new olympe.sc.sw(this.D)):b(d)})})}};olympe.sc.Tc.prototype.executeAsLarge=olympe.sc.Tc.prototype.LD;olympe.sc.Tc.prototype.execute=olympe.sc.Tc.prototype.Kd;olympe.sc.Tc.prototype.afterExecution=olympe.sc.Tc.prototype.BD;
1840
+ olympe.sc.Tc.prototype.merge=olympe.sc.Tc.prototype.merge;olympe.sc.Tc.prototype.model=olympe.sc.Tc.prototype.model;olympe.sc.Tc.prototype.setSource=olympe.sc.Tc.prototype.ne;olympe.sc.Tc.prototype.persistInstance=olympe.sc.Tc.prototype.pY;olympe.sc.Tc.prototype.persist=olympe.sc.Tc.prototype.persist;olympe.sc.Tc.prototype.deleteAllRelations=olympe.sc.Tc.prototype.KD;olympe.sc.Tc.prototype.deleteRelation=olympe.sc.Tc.prototype.Xf;olympe.sc.Tc.prototype.createRelation=olympe.sc.Tc.prototype.Qb;
1841
+ olympe.sc.Tc.prototype['delete']=olympe.sc.Tc.prototype.delete;olympe.sc.Tc.prototype.multiUpdate=olympe.sc.Tc.prototype.HO;olympe.sc.Tc.prototype.update=olympe.sc.Tc.prototype.update;olympe.sc.Tc.prototype.create=olympe.sc.Tc.prototype.create;olympe.sc.Tc.prototype.getId=olympe.sc.Tc.prototype.ja;olympe.sc.Tc.process=olympe.sc.Tc.process;olympe.sc.Tc.from=olympe.sc.Tc.from;olympe.sc.sw=class{constructor(a){this.C=a}tW(){return this.C.map(olympe.dc.CloudObject.get)}};olympe.sc.sw.prototype.getCreatedObjects=olympe.sc.sw.prototype.tW;olympe.Af={};olympe.Af.vF=class{run(){}};function $p(a,b='default'){return a.C===b}
1841
1842
  olympe.Af.Cc=class{constructor(a,b){this.C=a;this.V=b;this.D=null;this.O='';this.V.info('HC Manager will execute application registered as:',this.C)}Jq(a,b,c=''){b||(b='default');b===this.C?(null===this.D?this.V.log('Application',c,'designated to be launched'):this.V.log('OVERRIDE: Application',c,'designated to be launched'),this.D=a,this.O=c):this.V.debug('ignoring application:'+c+' as it is registered under name '+b+' and not '+this.C)}run(){null!==this.D?(this.V.info('Running application:',this.O),
1842
- this.D.run()):this.V.error('No app registered under name: '+this.C)}};olympe.Af.Jq=function(a,b,c='default'){const d=a.Cb();c?d.debug('Pre-registering application '+b+' under name '+c+' (use '+olympe.Af.pa.Zl+'='+c+' to start it)'):d.debug('Pre-registering application '+b+' as default one');a.kg(olympe.Af.ba.Ob).$e(c,[b],(e,f)=>f.Jq(e,c,b),e=>$p(e,c),'olympe.hc.registerApp')};olympe.Af.ba={Ob:'hc.Manager',Vb:'hc.Logger'};olympe.Af.pa={Zl:'hc.app',aH:'hc.globalToken'};olympe.sa.$e(function(a){E(a,olympe.Af.pa.Zl,'default');E(a,olympe.Af.pa.aH,!1);C(a,olympe.Af.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('hc'));C(a,olympe.Bc.ba.Ar,[new olympe.sa.zb(olympe.Af.pa.Zl)],b=>b);C(a,olympe.xa.ba.vB,[olympe.Bc.ba.Ar,new olympe.sa.zb(olympe.Af.pa.aH)],(b,c)=>new olympe.xa.vF(c?'':b));B(a,olympe.Af.ba.Ob,olympe.Af.Cc,new olympe.sa.zb(olympe.Af.pa.Zl),olympe.Af.ba.Vb)},'olympe.hc');
1843
+ this.D.run()):this.V.error('No app registered under name: '+this.C)}};olympe.Af.Jq=function(a,b,c='default'){const d=a.Cb();c?d.debug('Pre-registering application '+b+' under name '+c+' (use '+olympe.Af.pa.Zl+'='+c+' to start it)'):d.debug('Pre-registering application '+b+' as default one');a.kg(olympe.Af.ba.Ob).$e(c,[b],(e,f)=>f.Jq(e,c,b),e=>$p(e,c),'olympe.hc.registerApp')};olympe.Af.ba={Ob:'hc.Manager',Vb:'hc.Logger'};olympe.Af.pa={Zl:'hc.app',aH:'hc.globalToken'};olympe.sa.$e(function(a){E(a,olympe.Af.pa.Zl,'default');E(a,olympe.Af.pa.aH,!1);C(a,olympe.Af.ba.Vb,[olympe.gb.ba.Ob],b=>b.Vg('hc'));C(a,olympe.Bc.ba.Ar,[new olympe.sa.zb(olympe.Af.pa.Zl)],b=>b);C(a,olympe.xa.ba.vB,[olympe.Bc.ba.Ar,new olympe.sa.zb(olympe.Af.pa.aH)],(b,c)=>new olympe.xa.wF(c?'':b));B(a,olympe.Af.ba.Ob,olympe.Af.Cc,new olympe.sa.zb(olympe.Af.pa.Zl),olympe.Af.ba.Vb)},'olympe.hc');
1843
1844
  olympe.sa.run([olympe.Af.ba.Ob],a=>a.run(),'olympe.hc');olympe.sc.ve={};function aq(a){if(a.Ha)return a.V.debug('Sending getContext request'),yk(a.Ka).then(()=>{a.V.debug('synchronisation request successful');var f=a.C;Lp=null;Jp=f}).catch(f=>{a.V.error('failed to synchronise (authenticated) with server: '+f.message)});const b=Wo(a.D);!b&&Nm();a.V.debug((b?'PULLING':'SUBSCRIBING')+' application '+a.C);const c=a.D.se(),d=new Promise((f,g)=>{const k=olympe.dc.eb(),l=new olympe.j.ee('Primordial Subscription Context',c);lk(l,a.C,m=>{m=k.zu(m)?m:k.model(m);return null!==m&&
1844
1845
  k.me(m,olympe.sc.Ws)},{Xg:bq(b),kB:!0,DO:!0}).subscribe(rxjs.Subscriber.create(c.re(()=>{k.me(a.C,olympe.sc.Fb.Pg)?(a.Oa.$(a.C,b),f()):xd(a.O)?g(Error(`The specified application tag (${a.C}) is not an application or does not exist`)):(l.destroy(),a.O.connect().catch(m=>{g(Error(`Failed to load the app while offline, you might want to try again when online: ${m}`))}))}),m=>g(m)))}),e=new Promise(f=>{olympe.j.Wa([a.T.wk()],g=>{const k=bq(b,!1);olympe.dc.nb.Em(g,olympe.dm.User,olympe.dc.Jc.SERVER).observe(c,
1845
1846
  {Xg:k,$z:'__code-as-data__'}).subscribe(()=>f())})});return Promise.all([d,e]).then(()=>{if(a.Pa)return cq(a);cq(a).then(()=>{})})}
@@ -1848,19 +1849,19 @@ a.ca()})}else a.V.error('application retrieved: not an Application with a run()
1848
1849
  function cq(a){return q(function*(){fq(a.C)&&(yield Mp(a.C,a.Pa).catch(b=>{throw Error(`Failed to load the business container for the application ${a.C}: ${b}`);}))})}function eq(a){a.V.info('Stop the application');a.D.se().xo()}
1849
1850
  olympe.sc.ve.xr=class{constructor(a,b,c,d,e,f,g,k,l,m){this.V=a;this.T=b;this.O=c;this.Ka=d;this.D=f;this.Oa=g;this.W=k;this.qc=m;this.C=l.get('appTag');this.Ha=l.get('getContextMode');let n;this.Eb=null!=(n=l.get('debuggerName'))?n:null;this.xb=l.get('autostartProfiler');this.Pa=l.get('requireBusinessContainer');this.ob=olympe.j.Za(olympe.j.ia).update(olympe.j.ia.pb)}run(){this.V.debug('runtime starting for app #'+this.C);let a=!1;const b=olympe.Y.mf.C.nr,c=olympe.Y.mf.C.jk,d=olympe.Y.mf.C.hi;olympe.j.Wa([this.O.getState()],
1850
1851
  e=>{switch(e){case b:case c:this.V.debug('Server session opened or working offline, start the application');a||(a=!0,this.da(),aq(this).then(olympe.j.yb().re(()=>dq(this))));break;case d:this.V.debug('Impossible to open a connection to the orchestrator and offline mode is disabled.')}})}da(){}ca(){this.V.info(`Application ${olympe.dc.eb().name(this.C)} (${this.C}) started`);var a=olympe.dc.sources.Ej();a.sb=!0;a.$+=0;a.kc.next(0<a.$);0===a.$&&a.ca&&a.sb&&(a.V.debug(`Cache: set code-as-data version in local storage: ${a.version}`),
1851
- a.Ha.set('__code-as-data-version__',a.version),a.Oa||(a.ca=!1))}};olympe.sc.ve.xr.C='app_instance';olympe.sc.ve.xr.Aa=[olympe.Af.uF];olympe.sc.ve.TT=class{constructor(a,b,c,d){this.V=a;d.get('httpManifestPath');this.C=d.get('manifestCommon');if(!this.C)this.C={};else if('string'===typeof this.C)try{this.C=JSON.parse(this.C)}catch(e){this.V.warn('Invalid manifest common config'),this.C={}}}start(){md().catch(()=>this.V.error('Error while starting the RuntimeHTTPService'));this.V.debug('Started RuntimeHTTPService')}};function fq(a){var b=olympe.dm.DataSource.SERVER;const c=olympe.dc.nb.from(a).oc(olympe.sc.Fb.Pg.C).oc(olympe.dm.ii.O.fe()).oc(olympe.dm.ii.C).zf();a=olympe.dc.nb.from(a).oc(olympe.sc.Fb.Pg.C).oc(olympe.dm.fd.O).zf();return c.concat(a).has(b)}
1852
+ a.Ha.set('__code-as-data-version__',a.version),a.Oa||(a.ca=!1))}};olympe.sc.ve.xr.C='app_instance';olympe.sc.ve.xr.Aa=[olympe.Af.vF];olympe.sc.ve.TT=class{constructor(a,b,c,d){this.V=a;d.get('httpManifestPath');this.C=d.get('manifestCommon');if(!this.C)this.C={};else if('string'===typeof this.C)try{this.C=JSON.parse(this.C)}catch(e){this.V.warn('Invalid manifest common config'),this.C={}}}start(){md().catch(()=>this.V.error('Error while starting the RuntimeHTTPService'));this.V.debug('Started RuntimeHTTPService')}};function fq(a){var b=olympe.dm.DataSource.SERVER;const c=olympe.dc.nb.from(a).oc(olympe.sc.Fb.Pg.C).oc(olympe.dm.ii.O.fe()).oc(olympe.dm.ii.C).zf();a=olympe.dc.nb.from(a).oc(olympe.sc.Fb.Pg.C).oc(olympe.dm.fd.O).zf();return c.concat(a).has(b)}
1852
1853
  olympe.sc.ve.Jz=class extends olympe.dc.sources.Jz{W(a){return this.db.me(a,olympe.sc.qg)}$(a,b){if(!this.R){super.init();var c=olympe.dc.Rh.from(a).oc(olympe.sc.Fb.Pg.C).zf();if(!(c instanceof olympe.dm.fd))throw Error(`Impossible to initialize the source solver for the application ${a}: no project is linked to it`);b=b?olympe.dc.nb.Jf.Qp:olympe.dc.nb.Jf.cm;Em(this,c,b);c=new olympe.j.ee('deployed data sources');olympe.dc.nb.from(a).oc(olympe.sc.Fb.Pg.Pa).observe(c,{Xg:b}).subscribe(d=>{const e=
1853
1854
  new olympe.dc.Tc;d.lu().forEach(f=>{e.Qb(olympe.dm.DataSource.qx,this.C,f)});d.uu().forEach(f=>{e.Xf(olympe.dm.DataSource.qx,this.C,f)});e.Kd()})}}};olympe.sc.ve.ba={Wi:'sc.runtime.Main',dl:'sc.runtime.SourceSolver',Ft:'sc.runtime.appConfig',zK:'sc.runtime.runtimeHTTPServiceConfig',yK:'sc.runtime.RuntimeHTTPService',RJ:'sc.runtime.OfflineAppConfig'};olympe.sc.ve.pa={mH:'app.httpManifestPath',tJ:'app.manifest.common',pJ:'sc.loadBusinessContainer'};
1854
- olympe.sa.$e(function(a){E(a,olympe.sc.ve.pa.mH,'/runtime/manifest');E(a,olympe.sc.ve.pa.tJ,null);E(a,olympe.sc.ve.pa.pJ,!1);C(a,olympe.Bc.ba.Ar,[new olympe.sa.zb(olympe.Af.pa.Zl),new olympe.sa.zb(olympe.sc.pa.Zl)],(b,c)=>`${b}${c?'-'+c:''}`);C(a,olympe.sc.ve.ba.RJ,[new olympe.sa.zb(olympe.sc.pa.Zl),new olympe.sa.zb(olympe.Fa.pa.mz),new olympe.sa.zb(olympe.Fa.pa.MC)],(b,c,d)=>{let e;const f=null!=(e=a.getParameter(`offline.${b}.enabled`))?e:c;let g;b=null!=(g=a.getParameter(`offline.${b}.autoBackOnline`))?
1855
- g:d;return new Map([['offlineEnabled',f],['offlineAutoBackOnline',!f||b]])});Ua(a,olympe.Fa.ba.lz,olympe.sc.ve.ba.RJ);B(a,olympe.sc.ve.ba.dl,olympe.sc.ve.Jz,olympe.dc.ba.Zs,new olympe.sa.zb(olympe.dc.pa.yr),new olympe.sa.zb(olympe.dc.pa.SB));Ua(a,olympe.dc.sources.ba.dl,olympe.sc.ve.ba.dl);C(a,olympe.sc.ve.ba.Ft,[new olympe.sa.zb(olympe.sc.pa.Zl),new olympe.sa.zb(olympe.dc.pa.Kt),new olympe.sa.zb(olympe.sc.pa.oG),new olympe.sa.zb(olympe.sc.pa.mF),new olympe.sa.zb(olympe.sc.ve.pa.pJ)],(b,c,d,e,f)=>
1855
+ olympe.sa.$e(function(a){E(a,olympe.sc.ve.pa.mH,'/runtime/manifest');E(a,olympe.sc.ve.pa.tJ,null);E(a,olympe.sc.ve.pa.pJ,!1);C(a,olympe.Bc.ba.Ar,[new olympe.sa.zb(olympe.Af.pa.Zl),new olympe.sa.zb(olympe.sc.pa.Zl)],(b,c)=>`${b}${c?'-'+c:''}`);C(a,olympe.sc.ve.ba.RJ,[new olympe.sa.zb(olympe.sc.pa.Zl),new olympe.sa.zb(olympe.Fa.pa.mz),new olympe.sa.zb(olympe.Fa.pa.NC)],(b,c,d)=>{let e;const f=null!=(e=a.getParameter(`offline.${b}.enabled`))?e:c;let g;b=null!=(g=a.getParameter(`offline.${b}.autoBackOnline`))?
1856
+ g:d;return new Map([['offlineEnabled',f],['offlineAutoBackOnline',!f||b]])});Ua(a,olympe.Fa.ba.lz,olympe.sc.ve.ba.RJ);B(a,olympe.sc.ve.ba.dl,olympe.sc.ve.Jz,olympe.dc.ba.Zs,new olympe.sa.zb(olympe.dc.pa.yr),new olympe.sa.zb(olympe.dc.pa.SB));Ua(a,olympe.dc.sources.ba.dl,olympe.sc.ve.ba.dl);C(a,olympe.sc.ve.ba.Ft,[new olympe.sa.zb(olympe.sc.pa.Zl),new olympe.sa.zb(olympe.dc.pa.Kt),new olympe.sa.zb(olympe.sc.pa.pG),new olympe.sa.zb(olympe.sc.pa.nF),new olympe.sa.zb(olympe.sc.ve.pa.pJ)],(b,c,d,e,f)=>
1856
1857
  new Map([['appTag',b],['getContextMode',c],['debuggerName',d],['autostartProfiler',e],['requireBusinessContainer',f]]));B(a,olympe.sc.ve.ba.Wi,olympe.sc.ve.xr,olympe.sc.ba.Vb,olympe.xa.ba.Ob,olympe.Y.ba.bm,olympe.dc.query.ba.fw,olympe.host.ba.fo,olympe.sc.ba.hw,olympe.sc.ve.ba.dl,olympe.oa.ba.ho,olympe.sc.ve.ba.Ft,olympe.sc.ve.ba.yK);C(a,olympe.sc.ve.ba.zK,[new olympe.sa.zb(olympe.sc.ve.pa.mH),new olympe.sa.zb(olympe.sc.ve.pa.tJ)],(b,c)=>new Map([['httpManifestPath',b],['manifestCommon',c]]));B(a,
1857
- olympe.sc.ve.ba.yK,olympe.sc.ve.TT,olympe.sc.ba.Vb,olympe.Fa.ba.rD,olympe.sc.ba.hw,olympe.sc.ve.ba.zK);olympe.Af.Jq(a,olympe.sc.ve.ba.Wi,'sc.runtime');olympe.Af.Jq(a,olympe.sc.ve.ba.Wi,'sc.headless');olympe.Af.Jq(a,olympe.sc.ve.ba.Wi)},'olympe.sc.runtime');olympe.sc.ui={};olympe.sc.ui.i3=function(a){return a instanceof olympe.sc.ui.Td};function gq(a){const b=olympe.dc.eb(),c=[a.ka()].concat(b.iq(a,olympe.dm.fd.C));return b.xg(olympe.sc.Fg).filter(d=>c.includes(b.Wd(d,olympe.dm.fd.T.fe()))).map(d=>olympe.dc.CloudObject.get(d))}function hq(a){return(new olympe.dc.Kb(olympe.sc.Fg)).transform(olympe.dc.CloudObject.instancesRel).transform(new olympe.dc.Ra.Qf(new olympe.dc.Ca.rt([olympe.dm.fd.T,new olympe.dc.Ra.zj(olympe.dm.fd.Pa,olympe.dc.Ib.ORIGIN,0)],[olympe.dc.Ib.ORIGIN,olympe.dc.Ib.ORIGIN],a)))}
1858
- function iq(a,b=!1){const c=new olympe.j.Map,d=e=>{let f,g;const k=olympe.j.Za(olympe.j.kb);e.Vr(l=>k.update(olympe.j.ic(l)));olympe.j.Wa([e.Ai(),e.yl(),e.Bi(),e.bx(),k],(l,m,n,p,r)=>{const t=l+':'+m+':'+n;var u=c.Fj(t);const v=u?u.DA():Object.create(null);u=u?u.ja():null;const w=f?c.Fj(f):null;p=p.valueOf().replace(/^font\//,'');g&&g!==p&&delete v[g];if(w&&t!==f){const x=w.DA();delete x[g];0===Object.keys(x).length?c.remove(f):c.set(f,new olympe.ui.it(w.SD(),w.BA(),w.aE(),x,w.ja()))}g=p;f=t;v[p]=
1859
- r.valueOf();c.set(t,new olympe.ui.it(l.valueOf(),m.valueOf(),n.valueOf(),v,u))});if(!b)olympe.j.yb().onDestroy(()=>{f&&c.remove(f)})};b?gq(a).forEach(d):hq(a).forEach(d);return c}olympe.sc.ui.X_=class{};function jq(a,b=!0){const c=d=>{d=a.db.Wd(d,olympe.sc.ui.Gg.propertyRel.fe());return a.db.Ac(d,olympe.sc.bl.C)};return[a.tag].concat(a.db.Yw(a,olympe.sc.ui.Renderable)).reduce((d,e)=>{e=a.db.pc(e,olympe.dc.CloudObject.propertyRel);b&&e.sort((f,g)=>c(f)-c(g));return d.concat(e)},[])}olympe.sc.ui.Aj=class extends olympe.sc.yc{C(){const a=olympe.dc.eb().Yw(this,olympe.sc.ui.Renderable).length;return(new olympe.dc.Mp(this.tag)).FM(a-1).oc(olympe.dc.CloudObject.propertyRel).ek()}Di(){return olympe.sc.jf.Yi.oD}R(){return null}};
1858
+ olympe.sc.ve.ba.yK,olympe.sc.ve.TT,olympe.sc.ba.Vb,olympe.Fa.ba.sD,olympe.sc.ba.hw,olympe.sc.ve.ba.zK);olympe.Af.Jq(a,olympe.sc.ve.ba.Wi,'sc.runtime');olympe.Af.Jq(a,olympe.sc.ve.ba.Wi,'sc.headless');olympe.Af.Jq(a,olympe.sc.ve.ba.Wi)},'olympe.sc.runtime');olympe.sc.ui={};olympe.sc.ui.i3=function(a){return a instanceof olympe.sc.ui.Td};function gq(a){const b=olympe.dc.eb(),c=[a.ka()].concat(b.iq(a,olympe.dm.fd.C));return b.xg(olympe.sc.Fg).filter(d=>c.includes(b.Wd(d,olympe.dm.fd.T.fe()))).map(d=>olympe.dc.CloudObject.get(d))}function hq(a){return(new olympe.dc.Kb(olympe.sc.Fg)).transform(olympe.dc.CloudObject.instancesRel).transform(new olympe.dc.Ra.Qf(new olympe.dc.Ca.rt([olympe.dm.fd.T,new olympe.dc.Ra.zj(olympe.dm.fd.Pa,olympe.dc.Ib.ORIGIN,0)],[olympe.dc.Ib.ORIGIN,olympe.dc.Ib.ORIGIN],a)))}
1859
+ function iq(a,b=!1){const c=new olympe.j.Map,d=e=>{let f,g;const k=olympe.j.Za(olympe.j.kb);e.Vr(l=>k.update(olympe.j.ic(l)));olympe.j.Wa([e.Ai(),e.yl(),e.Bi(),e.bx(),k],(l,m,n,p,r)=>{const t=l+':'+m+':'+n;var u=c.Fj(t);const v=u?u.DA():Object.create(null);u=u?u.ja():null;const w=f?c.Fj(f):null;p=p.valueOf().replace(/^font\//,'');g&&g!==p&&delete v[g];if(w&&t!==f){const x=w.DA();delete x[g];0===Object.keys(x).length?c.remove(f):c.set(f,new olympe.ui.it(w.TD(),w.BA(),w.bE(),x,w.ja()))}g=p;f=t;v[p]=
1860
+ r.valueOf();c.set(t,new olympe.ui.it(l.valueOf(),m.valueOf(),n.valueOf(),v,u))});if(!b)olympe.j.yb().onDestroy(()=>{f&&c.remove(f)})};b?gq(a).forEach(d):hq(a).forEach(d);return c}olympe.sc.ui.X_=class{};function jq(a,b=!0){const c=d=>{d=a.db.Wd(d,olympe.sc.ui.Gg.propertyRel.fe());return a.db.Ac(d,olympe.sc.bl.C)};return[a.tag].concat(a.db.Yw(a,olympe.sc.ui.Renderable)).reduce((d,e)=>{e=a.db.pc(e,olympe.dc.CloudObject.propertyRel);b&&e.sort((f,g)=>c(f)-c(g));return d.concat(e)},[])}olympe.sc.ui.Aj=class extends olympe.sc.yc{C(){const a=olympe.dc.eb().Yw(this,olympe.sc.ui.Renderable).length;return(new olympe.dc.Mp(this.tag)).FM(a-1).oc(olympe.dc.CloudObject.propertyRel).ek()}Di(){return olympe.sc.jf.Yi.pD}R(){return null}};
1860
1861
  olympe.sc.ui.Aj.U=olympe.dc.Ja.C('01612df1f810c91e8997',olympe.sc.ui.Aj);olympe.sc.ui.Aj.$=olympe.sc.ui.Aj.U.tb('016951f802614c4350bf');Y(olympe.dm.Property.U,olympe.sc.ui.Aj.$);olympe.sc.ui.Aj.U.C=(a,b)=>Z(Hn(a,b||'New Abstract Visual Component',olympe.sc.ui.Aj,olympe.sc.ui.ec),olympe.dc.CloudObject.FX,!0).ka();olympe.sc.ui.Aj.prototype.C.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.sc.ui.Cy=class extends olympe.sc.ui.Aj{};olympe.sc.ui.Cy.U=olympe.dc.Ja.C('017a8a97979d7c51ab6a',olympe.sc.ui.Cy);olympe.sc.ui.Cy.U.C=function(a,b){return Hn(a,b||'New Coded Visual Component',olympe.sc.ui.Cy,olympe.sc.ui.ec).ka()};function kq(a){return(new olympe.dc.Mp(a,olympe.sc.ui.ec)).oc(olympe.sc.yc.R).me([olympe.sc.ui.ec]).lv(olympe.sc.ui.Renderable.da).ek()}function lq(a,b,c,d,e){const f=olympe.j.aa,g=olympe.j.ia,k=olympe.sc.ui.Td.za,l=olympe.sc.ui.Td.Pa,m=mq(a,b,e);a=c.Ea(k,b,g,g.pb);b=c.Ea(l,b,g,g.pb);return new olympe.j.ga(olympe.j.$a(a,()=>pc(m.qa(),d.qa()),()=>d.qa(),f),olympe.j.$a(b,()=>pc(m.ta(),d.ta()),()=>d.ta(),f))}
1861
1862
  function nq(a,b,c,d,e,f,g,k){const l=olympe.j.aa,m=olympe.sc.ui.Td.Eb,n=olympe.sc.ui.Td.qc;a=a.Ea(olympe.sc.ui.Td.xb,b,olympe.j.ia,olympe.j.ia.pb);const p=new olympe.ui.F.wd(e);p.Ds(g);p.ev(k);p.Es(a);olympe.j.$a(a,()=>{var r=p.T();const t=c.O(m,b,l,r.qa());r=c.O(n,b,l,r.ta());Nf(p,new olympe.j.ga(t,r));const u=e.qa(),v=e.ta();oq(d,v,u,r,f.ta(),!1);oq(d,u,v,t,f.qa(),!0)});return p}
1862
1863
  function mq(a,b,c){const d=olympe.sc.ui.Renderable.C,e=olympe.sc.ui.Renderable.D,f=olympe.sc.ui.ec.R,g=olympe.sc.ui.ec.T,k=olympe.j.aa;a=void 0===c?kq(a):c;c=(l,m,n)=>{const p=new olympe.j.Map(k);p.set('0',k.ZERO);l.forEach(r=>{var t=r.ka(),u=So(b,t);t=r.Ea(m,u,k);u=r.Ea(n,u,k);p.set(r.ka(),t.Sa(u))},r=>{p.remove(r)});return k.max(p)};return new olympe.j.ga(c(a,f,d),c(a,g,e))}
1863
- function oq(a,b,c,d,e,f){olympe.j.$a(b.hE(e),()=>{var g=olympe.j.Xa([b,e],(l,m)=>olympe.j.Ba(0>=m?1:l.valueOf()/m.valueOf()),olympe.j.aa);if(f){var k=new olympe.j.ga(b.hb(g),3);g=new olympe.j.ga(d.hb(g),c.ya(3))}else k=new olympe.j.ga(3,b.hb(g)),g=new olympe.j.ga(c.ya(3),d.hb(g));k=new olympe.ui.F.ye(k);k.Ma(Ac());k.Wb(3);k.ah(1E3);a.appendChild(k,'lift'+(f?'X':'Y'),g)})}
1864
+ function oq(a,b,c,d,e,f){olympe.j.$a(b.iE(e),()=>{var g=olympe.j.Xa([b,e],(l,m)=>olympe.j.Ba(0>=m?1:l.valueOf()/m.valueOf()),olympe.j.aa);if(f){var k=new olympe.j.ga(b.hb(g),3);g=new olympe.j.ga(d.hb(g),c.ya(3))}else k=new olympe.j.ga(3,b.hb(g)),g=new olympe.j.ga(c.ya(3),d.hb(g));k=new olympe.ui.F.ye(k);k.Ma(Ac());k.Wb(3);k.ah(1E3);a.appendChild(k,'lift'+(f?'X':'Y'),g)})}
1864
1865
  olympe.sc.ui.Td=class extends olympe.sc.ui.Aj{ca(){return this.xA(olympe.sc.ui.Td.C)}$(){return[this.za]}D(a,b){var c=olympe.j.ia;const d=olympe.sc.ui.Td.C,e=olympe.sc.ui.Td.za,f=olympe.sc.ui.Td.Pa,g=b.na(a),k=b.Ea(e,a,c,c.pb),l=b.Ea(f,a,c,c.pb),m=kq(this);c=b.Ea(d,a,olympe.sc.ui.mr);const n=new olympe.ui.F.Xe(g),p=b.Ea(olympe.sc.ui.ec.$,a,olympe.j.Color).nl().Se(1).Re();olympe.j.Wa([c],r=>{r.init(a);const t=r.qs(a,m);t.yh(p);t.ws(a.wa(olympe.sc.ui.Renderable.Ha,olympe.j.kb,!0));n.appendChild(olympe.j.$a(k.or(l),
1865
1866
  ()=>{var u=lq(this,a,b,g,m);t.Gb(u);const v=new olympe.ui.F.Xe(g);u=nq(this,a,b,v,g,u,k,l);u.Nd(t);v.appendChild(u,'scroller');return v},()=>{t.Lr();return t},olympe.ui.F.mb),'groupContent')});return n}C(){return super.C().jy(olympe.sc.ui.Td.qM().transform(olympe.dc.CloudObject.propertyRel))}R(){return kq(this)}};olympe.sc.ui.Td.U=olympe.dc.Ja.C('016be61ab63fb8a838ee',olympe.sc.ui.Td);olympe.sc.ui.Td.C=olympe.sc.ui.Td.U.fa('016be61ab921cb3bdef9');olympe.sc.ui.Td.za=olympe.sc.ui.Td.U.fa('01664466071718f2a34b');
1866
1867
  olympe.sc.ui.Td.Pa=olympe.sc.ui.Td.U.fa('016652f9cd0b1e216e6b');olympe.sc.ui.Td.xb=olympe.sc.ui.Td.U.fa('01665907468d5e684177');olympe.sc.ui.Td.Eb=olympe.sc.ui.Td.U.fa('016e7ee3fd5998d599ce');olympe.sc.ui.Td.qc=olympe.sc.ui.Td.U.fa('016e7ee3fd59d238eec0');olympe.sc.ui.Td.U.C=function(a,b,c,d){b=b||'Group';d=d||Hn(a,b,olympe.sc.ui.Td,olympe.sc.ui.ec);Z(d,olympe.dc.li.sj+olympe.dc.CloudObject.nameProp.ka(),b);a=a.create(olympe.sc.ui.Lb.Xe,c);Z(d,olympe.sc.ui.Td.C.ka(),new olympe.dc.Kf(a));return d.ka()};
@@ -1880,15 +1881,15 @@ olympe.sc.ui.ec.$V=olympe.sc.ui.ec.U.fa('016b08fd79c14bad3193');olympe.sc.ui.ec.
1880
1881
  olympe.sc.ui.fm=class{constructor(a,b){this.tag=a;this.C=b}ka(){return this.tag}get(){return this.C.get(this.tag)}observe(){return this.C.observe(this.tag)}set(a){this.C.set(this.tag,a)}};olympe.sc.ui.fm.prototype.set=olympe.sc.ui.fm.prototype.set;olympe.sc.ui.fm.prototype.observe=olympe.sc.ui.fm.prototype.observe;olympe.sc.ui.fm.prototype.get=olympe.sc.ui.fm.prototype.get;olympe.sc.ui.fm.prototype.getTag=olympe.sc.ui.fm.prototype.ka;olympe.sc.ui.NB=class extends olympe.sc.ui.fm{Qq(){this.set(Date.now())}};
1881
1882
  olympe.sc.ui.NB.prototype.trigger=olympe.sc.ui.NB.prototype.Qq;olympe.sc.ui.ec.Aa=[olympe.dc.Ok];olympe.sc.ui.ec.prototype.ae.K=olympe.j.J.W;function Aq(a,b){const c=(d,e,f)=>{sq(b,a,d,e,f)};sq(b,a,olympe.sc.ui.Ga.PQ,a.en.bind(a),a.qq.bind(a));sq(b,a,olympe.sc.ui.Ga.zS,a.kh.bind(a),a.yk.bind(a));sq(b,a,olympe.sc.ui.Ga.zT,a.Wg.bind(a),a.Ng.bind(a));sq(b,a,olympe.sc.ui.Ga.JS,a.gj.bind(a),a.zk.bind(a));sq(b,a,olympe.sc.ui.Ga.XS,a.Hi.bind(a),a.Qj.bind(a));sq(b,a,olympe.sc.ui.Ga.eT,a.El.bind(a),a.cn.bind(a));sq(b,a,olympe.sc.ui.Ga.oT,a.Qo.bind(a),a.vq.bind(a));sq(b,a,olympe.sc.ui.Ga.GT,a.Ro.bind(a),a.wq.bind(a));sq(b,a,olympe.sc.ui.Ga.bV,a.Ck.bind(a),
1882
1883
  a.No.bind(a));sq(b,a,olympe.sc.ui.Ga.UU,a.Bk.bind(a),a.dj.bind(a));sq(b,a,olympe.sc.ui.Ga.YU,a.Xo.bind(a),a.zq.bind(a));sq(b,a,olympe.sc.ui.Ga.OU,a.fn.bind(a),a.Mo.bind(a));sq(b,a,olympe.sc.ui.Ga.WQ,a.Bq.bind(a),a.rq.bind(a));sq(b,a,olympe.sc.ui.Ga.cV,a.Hq.bind(a),a.Aq.bind(a));sq(b,a,olympe.sc.ui.Ga.eR,a.Cq.bind(a),a.sq.bind(a));sq(b,a,olympe.sc.ui.Ga.xR,a.Dq.bind(a),a.tq.bind(a));sq(b,a,olympe.sc.ui.Ga.yS,a.Eq.bind(a),a.uq.bind(a));sq(b,a,olympe.sc.ui.Ga.tU,a.Gq.bind(a),a.yq.bind(a));sq(b,a,olympe.sc.ui.Ga.PT,
1883
- a.Fq.bind(a),a.za.bind(a));c(olympe.sc.ui.Ga.uZ,()=>{a.Ao()});c(olympe.sc.ui.Ga.wZ,()=>{a.Im()});c(olympe.sc.ui.Ga.OP,()=>{a.qk()});c(olympe.sc.ui.Ga.yZ,()=>{a.Km()});c(olympe.sc.ui.Ga.zZ,()=>{a.Lm()});c(olympe.sc.ui.Ga.cQ,()=>{a.Mm()});c(olympe.sc.ui.Ga.kE,()=>{a.Ym()});c(olympe.sc.ui.Ga.xE,()=>{a.Zm()});c(olympe.sc.ui.Ga.lE,()=>{a.Ih()});c(olympe.sc.ui.Ga.OX,()=>{a.Qm()});c(olympe.sc.ui.Ga.DX,()=>{a.Pm()});c(olympe.sc.ui.Ga.BX,()=>{a.Om()});c(olympe.sc.ui.Ga.cW,()=>{a.Nm()});c(olympe.sc.ui.Ga.Cl,
1884
- ()=>{a.sl()});c(olympe.sc.ui.Ga.PX,()=>{a.xl()});c(olympe.sc.ui.Ga.Ko,()=>{a.tl()});c(olympe.sc.ui.Ga.fF,()=>{a.ul()});c(olympe.sc.ui.Ga.hF,()=>{a.Jm()});c(olympe.sc.ui.Ga.fV,()=>{a.wl()});c(olympe.sc.ui.Ga.eV,()=>{a.vl()})}
1884
+ a.Fq.bind(a),a.za.bind(a));c(olympe.sc.ui.Ga.uZ,()=>{a.Ao()});c(olympe.sc.ui.Ga.wZ,()=>{a.Im()});c(olympe.sc.ui.Ga.OP,()=>{a.qk()});c(olympe.sc.ui.Ga.yZ,()=>{a.Km()});c(olympe.sc.ui.Ga.zZ,()=>{a.Lm()});c(olympe.sc.ui.Ga.cQ,()=>{a.Mm()});c(olympe.sc.ui.Ga.lE,()=>{a.Ym()});c(olympe.sc.ui.Ga.yE,()=>{a.Zm()});c(olympe.sc.ui.Ga.mE,()=>{a.Ih()});c(olympe.sc.ui.Ga.OX,()=>{a.Qm()});c(olympe.sc.ui.Ga.DX,()=>{a.Pm()});c(olympe.sc.ui.Ga.BX,()=>{a.Om()});c(olympe.sc.ui.Ga.cW,()=>{a.Nm()});c(olympe.sc.ui.Ga.Cl,
1885
+ ()=>{a.sl()});c(olympe.sc.ui.Ga.PX,()=>{a.xl()});c(olympe.sc.ui.Ga.Ko,()=>{a.tl()});c(olympe.sc.ui.Ga.gF,()=>{a.ul()});c(olympe.sc.ui.Ga.iF,()=>{a.Jm()});c(olympe.sc.ui.Ga.fV,()=>{a.wl()});c(olympe.sc.ui.Ga.eV,()=>{a.vl()})}
1885
1886
  olympe.sc.ui.Ga=class extends olympe.sc.ui.ec{C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ia;a.Oq(this.Ea(olympe.sc.ui.Ga.wV,b,d,d.ZERO));a.$g(new olympe.j.ga(this.Ea(olympe.sc.ui.Ga.oQ,b,d,d.ZERO),this.Ea(olympe.sc.ui.Ga.AQ,b,d,d.ZERO)),pc(this.Ea(olympe.sc.ui.Ga.GP,b,d,d.ZERO),0),this.Ea(olympe.sc.ui.Ga.WV,b,d,d.ZERO),this.Ea(olympe.sc.ui.Ga.FV,b,c,Dc()),this.Ea(olympe.sc.ui.Ga.RA,b,e,e.pb));Aq(a,b);super.C(a,b)}};olympe.sc.ui.Ga.U=olympe.dc.Ja.C('01612df263119ee77622',olympe.sc.ui.Ga);
1886
1887
  olympe.sc.ui.Ga.wV=olympe.sc.ui.Ga.U.fa('01631febba3ab94ae368');olympe.sc.ui.Ga.oQ=olympe.sc.ui.Ga.U.fa('0163baa7ccf69a395b87');olympe.sc.ui.Ga.AQ=olympe.sc.ui.Ga.U.fa('0163bab1436a39979789');olympe.sc.ui.Ga.GP=olympe.sc.ui.Ga.U.fa('0163baa7e220ba9a58da');olympe.sc.ui.Ga.WV=olympe.sc.ui.Ga.U.fa('0163baa7f80f046eaf31');olympe.sc.ui.Ga.FV=olympe.sc.ui.Ga.U.fa('0163baa80bd84ac855fc');olympe.sc.ui.Ga.RA=olympe.sc.ui.Ga.U.fa('0163baa821c816754827');olympe.sc.ui.Ga.uZ=olympe.sc.ui.Ga.U.fa('0168dc764f26c7e92f9b');
1887
- olympe.sc.ui.Ga.wZ=olympe.sc.ui.Ga.U.fa('0168dc76919c78c432de');olympe.sc.ui.Ga.OP=olympe.sc.ui.Ga.U.fa('0168c7726a7e3da3f394');olympe.sc.ui.Ga.yZ=olympe.sc.ui.Ga.U.fa('0168dc77a52c67b749ec');olympe.sc.ui.Ga.zZ=olympe.sc.ui.Ga.U.fa('0168dc77cf5a80ff7502');olympe.sc.ui.Ga.cQ=olympe.sc.ui.Ga.U.fa('0168dc77f26c3af6380e');olympe.sc.ui.Ga.kE=olympe.sc.ui.Ga.U.fa('0168dc76c4ce4dfa21ce');olympe.sc.ui.Ga.xE=olympe.sc.ui.Ga.U.fa('0168dc771521d4989f44');olympe.sc.ui.Ga.lE=olympe.sc.ui.Ga.U.fa('0168dc776679ae991d32');
1888
- olympe.sc.ui.Ga.Cl=olympe.sc.ui.Ga.U.fa('0168dcdbac93683e961f');olympe.sc.ui.Ga.PX=olympe.sc.ui.Ga.U.fa('0168dcdbe096622948a4');olympe.sc.ui.Ga.Ko=olympe.sc.ui.Ga.U.fa('0168dcdc172e489c48b9');olympe.sc.ui.Ga.fF=olympe.sc.ui.Ga.U.fa('0168dcdc4ef0492f7be9');olympe.sc.ui.Ga.hF=olympe.sc.ui.Ga.U.fa('0168dcdc6d186bf8c60d');olympe.sc.ui.Ga.fV=olympe.sc.ui.Ga.U.fa('0168dcdcaa879e1d49ec');olympe.sc.ui.Ga.eV=olympe.sc.ui.Ga.U.fa('0168dcdcd0e43889eeaf');olympe.sc.ui.Ga.OX=olympe.sc.ui.Ga.U.fa('0168e13a2c9eff4b1bb2');
1888
+ olympe.sc.ui.Ga.wZ=olympe.sc.ui.Ga.U.fa('0168dc76919c78c432de');olympe.sc.ui.Ga.OP=olympe.sc.ui.Ga.U.fa('0168c7726a7e3da3f394');olympe.sc.ui.Ga.yZ=olympe.sc.ui.Ga.U.fa('0168dc77a52c67b749ec');olympe.sc.ui.Ga.zZ=olympe.sc.ui.Ga.U.fa('0168dc77cf5a80ff7502');olympe.sc.ui.Ga.cQ=olympe.sc.ui.Ga.U.fa('0168dc77f26c3af6380e');olympe.sc.ui.Ga.lE=olympe.sc.ui.Ga.U.fa('0168dc76c4ce4dfa21ce');olympe.sc.ui.Ga.yE=olympe.sc.ui.Ga.U.fa('0168dc771521d4989f44');olympe.sc.ui.Ga.mE=olympe.sc.ui.Ga.U.fa('0168dc776679ae991d32');
1889
+ olympe.sc.ui.Ga.Cl=olympe.sc.ui.Ga.U.fa('0168dcdbac93683e961f');olympe.sc.ui.Ga.PX=olympe.sc.ui.Ga.U.fa('0168dcdbe096622948a4');olympe.sc.ui.Ga.Ko=olympe.sc.ui.Ga.U.fa('0168dcdc172e489c48b9');olympe.sc.ui.Ga.gF=olympe.sc.ui.Ga.U.fa('0168dcdc4ef0492f7be9');olympe.sc.ui.Ga.iF=olympe.sc.ui.Ga.U.fa('0168dcdc6d186bf8c60d');olympe.sc.ui.Ga.fV=olympe.sc.ui.Ga.U.fa('0168dcdcaa879e1d49ec');olympe.sc.ui.Ga.eV=olympe.sc.ui.Ga.U.fa('0168dcdcd0e43889eeaf');olympe.sc.ui.Ga.OX=olympe.sc.ui.Ga.U.fa('0168e13a2c9eff4b1bb2');
1889
1890
  olympe.sc.ui.Ga.DX=olympe.sc.ui.Ga.U.fa('0168e13a668be409860f');olympe.sc.ui.Ga.BX=olympe.sc.ui.Ga.U.fa('0168e13a9bbb31492482');olympe.sc.ui.Ga.cW=olympe.sc.ui.Ga.U.fa('0168e13ad49117906a9b');olympe.sc.ui.Ga.PQ=olympe.sc.ui.Ga.U.fa('016880862139c3324a2b');olympe.sc.ui.Ga.zS=olympe.sc.ui.Ga.U.fa('0168808622067a6ccc86');olympe.sc.ui.Ga.zT=olympe.sc.ui.Ga.U.fa('01688086226bdf417abe');olympe.sc.ui.Ga.eT=olympe.sc.ui.Ga.U.fa('0168808622d577c581a5');olympe.sc.ui.Ga.oT=olympe.sc.ui.Ga.U.fa('0168c772451ab8b1295c');
1890
1891
  olympe.sc.ui.Ga.JS=olympe.sc.ui.Ga.U.fa('0168c772458260728005');olympe.sc.ui.Ga.XS=olympe.sc.ui.Ga.U.fa('0168c77245ec33d5d3d6');olympe.sc.ui.Ga.GT=olympe.sc.ui.Ga.U.fa('0168c7724654174d5289');olympe.sc.ui.Ga.bV=olympe.sc.ui.Ga.U.fa('0168c7724990f6c6e2c5');olympe.sc.ui.Ga.UU=olympe.sc.ui.Ga.U.fa('0168c77249f71507f1a0');olympe.sc.ui.Ga.YU=olympe.sc.ui.Ga.U.fa('0168c7724a5ffdb8603c');olympe.sc.ui.Ga.OU=olympe.sc.ui.Ga.U.fa('0168c7724ac89011b0f1');olympe.sc.ui.Ga.WQ=olympe.sc.ui.Ga.U.fa('0168c7724ccef19bd4fe');
1891
- olympe.sc.ui.Ga.cV=olympe.sc.ui.Ga.U.fa('0168c7724d3698b4bacc');olympe.sc.ui.Ga.eR=olympe.sc.ui.Ga.U.fa('0168c7724d9a84b5addb');olympe.sc.ui.Ga.xR=olympe.sc.ui.Ga.U.fa('0168c7724dff8c67d120');olympe.sc.ui.Ga.yS=olympe.sc.ui.Ga.U.fa('0168c7724e65de8791ac');olympe.sc.ui.Ga.tU=olympe.sc.ui.Ga.U.fa('0168c7724eca5653c809');olympe.sc.ui.Ga.PT=olympe.sc.ui.Ga.U.fa('0168c7724f30c049da91');olympe.sc.ui.ll=class extends olympe.sc.ui.Aj{D(){return this.Ig(olympe.sc.ui.ll.C,olympe.sc.ui.Screen)}};olympe.sc.ui.ll.U=olympe.dc.Ja.C('0112025000000015def0',olympe.sc.ui.ll);olympe.sc.ui.ll.C=olympe.sc.ui.ll.U.tb('0163f988aa658051daeb');olympe.sc.ui.ll.prototype.D.K=new olympe.j.J(()=>olympe.sc.ui.Screen,[]);olympe.sc.ui.mr=class extends olympe.sc.gg{init(a){const b=a.set.bind(a);Cp(this,a,b,b)}run(){}qs(){}D(){}C(){}};olympe.sc.ui.mr.U=Nh(olympe.dc.Ja.C('016be61abe39070d9c42',olympe.sc.ui.mr));olympe.sc.ui.mr.prototype.qs.K=new olympe.j.J(()=>olympe.ui.F.mb,[]);olympe.sc.ui.Pd=class extends olympe.sc.ui.Ga{C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ia,f=olympe.j.kb;a instanceof olympe.ui.F.od||(a.Jb(this.Ea(olympe.sc.ui.Pd.O,b,f)),a.vb(this.Ea(olympe.sc.ui.Pd.fontFamilyProp,b,f)),a.rb(this.Ea(olympe.sc.ui.Pd.xk,b,d)),a.Bb(this.Ea(olympe.sc.ui.Pd.sb,b,d)),a.Od(olympe.j.$a(this.Ea(olympe.sc.ui.Pd.Oa,b,e,e.pb),()=>olympe.ui.ha.Uy.tR,()=>olympe.ui.ha.Uy.jz,f)),a.lb(this.Ea(olympe.sc.ui.Pd.Ka,b,c)),a.Ub(this.Ea(olympe.sc.ui.Pd.xb,b,f)),a.Xb(this.Ea(olympe.sc.ui.Pd.Eb,
1892
+ olympe.sc.ui.Ga.cV=olympe.sc.ui.Ga.U.fa('0168c7724d3698b4bacc');olympe.sc.ui.Ga.eR=olympe.sc.ui.Ga.U.fa('0168c7724d9a84b5addb');olympe.sc.ui.Ga.xR=olympe.sc.ui.Ga.U.fa('0168c7724dff8c67d120');olympe.sc.ui.Ga.yS=olympe.sc.ui.Ga.U.fa('0168c7724e65de8791ac');olympe.sc.ui.Ga.tU=olympe.sc.ui.Ga.U.fa('0168c7724eca5653c809');olympe.sc.ui.Ga.PT=olympe.sc.ui.Ga.U.fa('0168c7724f30c049da91');olympe.sc.ui.ll=class extends olympe.sc.ui.Aj{D(){return this.Ig(olympe.sc.ui.ll.C,olympe.sc.ui.Screen)}};olympe.sc.ui.ll.U=olympe.dc.Ja.C('0112025000000015def0',olympe.sc.ui.ll);olympe.sc.ui.ll.C=olympe.sc.ui.ll.U.tb('0163f988aa658051daeb');olympe.sc.ui.ll.prototype.D.K=new olympe.j.J(()=>olympe.sc.ui.Screen,[]);olympe.sc.ui.mr=class extends olympe.sc.gg{init(a){const b=a.set.bind(a);Cp(this,a,b,b)}run(){}qs(){}D(){}C(){}};olympe.sc.ui.mr.U=Nh(olympe.dc.Ja.C('016be61abe39070d9c42',olympe.sc.ui.mr));olympe.sc.ui.mr.prototype.qs.K=new olympe.j.J(()=>olympe.ui.F.mb,[]);olympe.sc.ui.Pd=class extends olympe.sc.ui.Ga{C(a,b){const c=olympe.j.Color,d=olympe.j.aa,e=olympe.j.ia,f=olympe.j.kb;a instanceof olympe.ui.F.od||(a.Jb(this.Ea(olympe.sc.ui.Pd.O,b,f)),a.wb(this.Ea(olympe.sc.ui.Pd.fontFamilyProp,b,f)),a.rb(this.Ea(olympe.sc.ui.Pd.xk,b,d)),a.Bb(this.Ea(olympe.sc.ui.Pd.sb,b,d)),a.Od(olympe.j.$a(this.Ea(olympe.sc.ui.Pd.Oa,b,e,e.pb),()=>olympe.ui.ha.Uy.tR,()=>olympe.ui.ha.Uy.jz,f)),a.lb(this.Ea(olympe.sc.ui.Pd.Ka,b,c)),a.Ub(this.Ea(olympe.sc.ui.Pd.xb,b,f)),a.Xb(this.Ea(olympe.sc.ui.Pd.Eb,
1892
1893
  b,f)));super.C(a,b)}};olympe.sc.ui.Pd.U=Nh(olympe.dc.Ja.C('01633e9252d8e1c4f25b',olympe.sc.ui.Pd));olympe.sc.ui.Pd.fontFamilyProp=olympe.sc.ui.Pd.U.fa('01635eaa384788490dc5');olympe.sc.ui.Pd.xk=olympe.sc.ui.Pd.U.fa('01633fa38ad45c58d04d');olympe.sc.ui.Pd.Oa=olympe.sc.ui.Pd.U.fa('01633fa38c309356404a');olympe.sc.ui.Pd.sb=olympe.sc.ui.Pd.U.fa('01633fa38d2863f0a464');olympe.sc.ui.Pd.Ka=olympe.sc.ui.Pd.U.fa('01633fa5303ccd8c1801');olympe.sc.ui.Pd.xb=olympe.sc.ui.Pd.U.fa('0164229fd527ecd56900');
1893
1894
  olympe.sc.ui.Pd.Eb=olympe.sc.ui.Pd.U.fa('016422a069b9bd45e8a8');olympe.sc.ui.Pd.O=olympe.sc.ui.Pd.U.fa('01633fa386be67e6fd1d');olympe.sc.ui.Me=class extends olympe.sc.ui.Pd{C(a,b){const c=olympe.j.aa,d=olympe.j.ia;qq.add(a.constructor);a.Og(this.Ea(olympe.sc.ui.Me.ma,b,olympe.j.kb));a.Zg(this.Ea(olympe.sc.ui.Me.Hg,b,olympe.j.Color));a.td(this.Ea(olympe.sc.ui.Me.Ls,b,c,c.ZERO));a.sd(this.Ea(olympe.sc.ui.Me.Pb,b,c,c.ZERO));a.Fc(this.Ea(olympe.sc.ui.Me.Yc,b,c,c.ZERO));a.Kc(this.Ea(olympe.sc.ui.Me.ag,b,c,c.ZERO));a.Cf(this.Ea(olympe.sc.ui.Me.kc,b,d,d.pb));sq(b,a,olympe.sc.ui.Me.vg,a.fj.bind(a),a.O.bind(a));sq(b,a,olympe.sc.ui.Me.gd,
1894
1895
  a.ej.bind(a),a.D.bind(a));super.C(a,b)}};olympe.sc.ui.Me.U=olympe.dc.Ja.C('016e64ba43b2367826cd',olympe.sc.ui.Me);olympe.sc.ui.Me.ma=olympe.sc.ui.Me.U.fa('0164b26aecbaa5ca5b23');olympe.sc.ui.Me.Hg=olympe.sc.ui.Me.U.fa('0164b69dd71d223649bc');olympe.sc.ui.Me.kc=olympe.sc.ui.Me.U.fa('016e64de79ddfffad3ea');olympe.sc.ui.Me.Ls=olympe.sc.ui.Me.U.fa('0168387e0011b88e3095');olympe.sc.ui.Me.Pb=olympe.sc.ui.Me.U.fa('0168387e0527edb9bd2a');olympe.sc.ui.Me.Yc=olympe.sc.ui.Me.U.fa('0168387e0a992ee500be');
@@ -1902,7 +1903,7 @@ olympe.sc.ui.Vh.U.C=(a,b,c,d)=>{b=Hn(a,b||'New UI App',olympe.sc.ui.Vh,olympe.sc
1902
1903
  olympe.sc.ui.Screen.Ka=olympe.sc.ui.Screen.U.fa('01648dde0de26fef1ae0');olympe.sc.ui.Screen.Oa=olympe.sc.ui.Screen.U.fa('01648dde0de218c6a40b');olympe.sc.ui.Screen.ma=olympe.sc.ui.Screen.U.fa('01648dde0de2ffac7f66');olympe.sc.ui.Screen.Pa=olympe.sc.ui.Screen.U.fa('01648dde0de283af36bd');olympe.sc.ui.Screen.R=olympe.sc.ui.Screen.U.fa('01648dde0de2ea82e114');Y(olympe.sc.ui.Screen.U,olympe.sc.ui.ll.C);olympe.sc.ui.dL=class extends olympe.sc.ui.Screen{D(){const a=new olympe.ui.F.Xe(new olympe.j.ga(100,100));a.Ma(Ac());return a}};olympe.sc.ui.dL.U=olympe.dc.Ja.C('016402313e7c1e9fd8fa',olympe.sc.ui.dL);olympe.sc.ui.th=class extends olympe.dc.CloudObject{nA(){return this.pc(olympe.sc.ui.th.C,olympe.dm.Property).Vd()}CA(){return this.pc(olympe.sc.ui.th.D,olympe.dm.Property).Vd()}};olympe.sc.ui.th.O='MAP_PROPS';olympe.sc.ui.th.U=olympe.dc.Ja.C('0162d3e045580eac6c53',olympe.sc.ui.th);olympe.sc.ui.th.C=olympe.sc.ui.th.U.tb('0162bef0c00ce7782cee');olympe.sc.ui.th.D=olympe.sc.ui.th.U.tb('0162bef120e8ca8f61a3');olympe.sc.ui.th.R=Y(olympe.sc.ui.th.U,olympe.sc.ui.ef.D);Y(olympe.dm.Property.U,olympe.sc.ui.th.C);
1903
1904
  Y(olympe.dm.Property.U,olympe.sc.ui.th.D);olympe.sc.ui.th.prototype.nA.K=new olympe.j.J(()=>olympe.dm.Property,[]);olympe.sc.ui.th.prototype.CA.K=new olympe.j.J(()=>olympe.dm.Property,[]);olympe.sc.ui.xL=class extends olympe.dc.CloudObject{};olympe.sc.ui.xL.U=olympe.dc.Ja.C('0162d3ede786c89fb31b',olympe.sc.ui.xL);olympe.sc.ui.UIEvent=class extends olympe.dc.CloudObject{};olympe.sc.ui.UIEvent.U=olympe.dc.Ja.C('0163fe51d83dad2a0f4b',olympe.sc.ui.UIEvent);olympe.sc.ui.wL=class extends olympe.dc.CloudObject{};olympe.sc.ui.wL.U=olympe.dc.Ja.C('016c865bbf883591cc25',olympe.sc.ui.wL);function xq(a,b,c){return a+'^'+b+'^'+('string'===typeof c?c:c.ka())}function Cq(a,b){void 0===a.C[b]&&(a.C[b]=new olympe.dc.Kb(b,[new olympe.dc.Ra.zj(olympe.dc.Lf.bt,olympe.dc.Ib.DESTINATION,0),olympe.sc.ui.Aj.$],olympe.dm.Property));return a.C[b].getSubscription()}
1904
1905
  olympe.sc.ui.vh=class extends olympe.dm.BrickMetadata{constructor(a,b,c){super(a,b);this.C={};this.O=c}oM(a){if(!this.O){var b=this.db;this.D().forEach(c=>{const d=b.model(c);olympe.j.Wa([c.bb(),c.Rd(olympe.sc.ui.Renderable.ob)],(e,f)=>{const g=xq(e,d,'');a.Qa(g)||(a.set(g,!0),Cq(this,d).forEach(k=>{const l=xq(e,d,k);let m=null,n=null;const p=()=>{null!==m?a.set(l,m):null!==n?a.set(l,n):a.remove(l)},r=Pi(b,c,k,(t,u)=>{m=u?null:t;p()});if(!e.Rb(f)){const t=xq(f,d,k);a.on(t,u=>{n=u;p()})}olympe.j.yb().Ve(()=>
1905
- {Qi(b,c,k,r);a.remove(l)})}),olympe.j.yb().Ve(()=>{a.set(g,!1)}))})})}}Di(){return olympe.sc.jf.Yi.oD}D(){return this.pc(olympe.sc.ui.vh.C,olympe.sc.ui.Renderable)}};olympe.sc.ui.vh.U=olympe.dc.Ja.C('0161d7b7e11e93199927',olympe.sc.ui.vh,new olympe.sa.zb(olympe.sc.pa.VB));olympe.sc.ui.vh.O=Y(olympe.sc.ui.vh.U,olympe.sc.ui.Vh.$);olympe.sc.ui.vh.C=olympe.sc.ui.vh.U.tb('0170171c1c9e2f1555bb');Y(olympe.sc.ui.Renderable.U,olympe.sc.ui.vh.C);olympe.sc.ui.vh.D=Hh('01644110be563fae3bf9','DEFAULT_THEME');
1906
+ {Qi(b,c,k,r);a.remove(l)})}),olympe.j.yb().Ve(()=>{a.set(g,!1)}))})})}}Di(){return olympe.sc.jf.Yi.pD}D(){return this.pc(olympe.sc.ui.vh.C,olympe.sc.ui.Renderable)}};olympe.sc.ui.vh.U=olympe.dc.Ja.C('0161d7b7e11e93199927',olympe.sc.ui.vh,new olympe.sa.zb(olympe.sc.pa.VB));olympe.sc.ui.vh.O=Y(olympe.sc.ui.vh.U,olympe.sc.ui.Vh.$);olympe.sc.ui.vh.C=olympe.sc.ui.vh.U.tb('0170171c1c9e2f1555bb');Y(olympe.sc.ui.Renderable.U,olympe.sc.ui.vh.C);olympe.sc.ui.vh.D=Hh('01644110be563fae3bf9','DEFAULT_THEME');
1906
1907
  olympe.sc.ui.vh.prototype.oM.K=new olympe.j.J(()=>{},[]);olympe.sc.ui.vh.prototype.D.K=new olympe.j.J(()=>olympe.dc.Kb,[]);olympe.sc.ui.ThemeModel=class extends olympe.sc.qg{};olympe.sc.ui.ThemeModel.U=olympe.dc.Ja.C('018170e67563c0afc0bb',olympe.sc.ui.ThemeModel);olympe.sc.ui.ThemeModel.nameProp=olympe.sc.ui.ThemeModel.U.fa('018170e8784d922f000e');olympe.sc.ui.ThemeModel.primaryColorProp=olympe.sc.ui.ThemeModel.U.fa('018170ee2608eacd830c');olympe.sc.ui.ThemeModel.secondaryColorProp=olympe.sc.ui.ThemeModel.U.fa('018170ee44ec5d550b90');olympe.sc.ui.ThemeModel.errorColorProp=olympe.sc.ui.ThemeModel.U.fa('018170ee5d9539e6d248');
1907
1908
  olympe.sc.ui.ThemeModel.warningColorProp=olympe.sc.ui.ThemeModel.U.fa('018170ee7bbb1e53309c');olympe.sc.ui.ThemeModel.infoColorProp=olympe.sc.ui.ThemeModel.U.fa('018170ee9a10111a31b4');olympe.sc.ui.ThemeModel.successColorProp=olympe.sc.ui.ThemeModel.U.fa('018170eeb3a585062ad4');olympe.sc.ui.ThemeModel.fontFamilyProp=olympe.sc.ui.ThemeModel.U.fa('018170ef10002db20904');olympe.sc.ui.Sg=class extends olympe.dm.hm{gf(){return this.yg(olympe.sc.ui.Sg.C)}C(){return this.oc(olympe.sc.ui.Sg.D).zf()}};olympe.sc.ui.Sg.U=olympe.dc.Ja.C('01611e77c1becc16025b',olympe.sc.ui.Sg);olympe.sc.ui.Sg.C=olympe.sc.ui.Sg.U.fa('01611e7ad37b715e393d');olympe.sc.ui.Sg.propertyRel=olympe.sc.ui.Sg.U.tb('01611e7cd458bd5607ac');olympe.sc.ui.Sg.D=olympe.sc.ui.Sg.U.tb('016952415429cb0a0c0a');olympe.sc.ui.Sg.W=Hh('0164188f5cc0c205bc06','CUSTOM_PROPERTIES_TAB_CAT');
1908
1909
  olympe.sc.ui.Sg.T=Hh('0165335122d2ea44dd92','CUSTOM_EVENT_CAT');olympe.sc.ui.Sg.R=Hh('0161bd31111c6b32e43d','CATEGORY_SPECIFIC_VALUE');olympe.sc.ui.Sg.O=Hh('016362a33e99ca8f8ade','CATEGORY_SPECIFIC_FONT');olympe.sc.ui.Sg.$=Hh('016122a51eea77d3dd8a','ROOT_CATEGORY');olympe.sc.ui.Sg.prototype.gf.K=olympe.j.J.D;olympe.sc.ui.Sg.prototype.C.K=new olympe.j.J(()=>olympe.dc.xc,[]);olympe.sc.ui.Gg=class extends olympe.sc.bl{constructor(a,b){super(a,b)}HX(){return this.Vm(olympe.sc.ui.Gg.IV)}NX(){return this.Vm(olympe.sc.ui.Gg.AY)}JX(){return this.Vm(olympe.sc.ui.Gg.XV)}be(){return this.pc(olympe.sc.ui.Gg.propertyRel,olympe.dm.Property)}mW(){return this.pc(olympe.sc.ui.Gg.wM,olympe.sc.ui.Sg).Vd()}};olympe.sc.ui.Gg.U=olympe.dc.Ja.C('016d1bb681929c2cc3f0',olympe.sc.ui.Gg);olympe.sc.ui.Gg.AY=olympe.sc.ui.Gg.U.fa('016d1bb681929c2cc3f2');olympe.sc.ui.Gg.IV=olympe.sc.ui.Gg.U.fa('016d1bb681929c2cc3f3');
@@ -1911,30 +1912,30 @@ this.yg(olympe.sc.ui.Ze.Comment.D))}};olympe.sc.ui.Ze.Comment.$=100;olympe.sc.ui
1911
1912
  olympe.sc.ui.Ze.Comment.C=olympe.sc.ui.Ze.Comment.U.tb('0184be3f135a83fd6cc3');olympe.sc.ui.Ze.Comment.prototype.getType.K=olympe.j.J.R;olympe.sc.ui.Ze.Comment.prototype.Lj.K=olympe.j.J.R;olympe.sc.ui.Ze.Comment.prototype.na.K=olympe.j.J.W;olympe.sc.ui.Ze.MB=class extends olympe.dm.Enum{};olympe.sc.ui.Ze.MB.C={QZ:'Comment',n2:'Todo'};olympe.sc.ui.Ze.MB.U=olympe.dc.Ja.C('0184cc42e06205501bc7',olympe.sc.ui.Ze.MB);olympe.sc.ui.Z={};olympe.sc.ui.Z.he=class extends olympe.sc.ui.Ga{constructor(a,b){super(a,b)}D(a){const b=new olympe.ui.F.Audio(this.na(a));b.ne(this.Ea(olympe.sc.ui.Z.he.urlProp,a,olympe.j.kb));this.C(b,a);b.nj(this.Ea(olympe.sc.ui.Z.he.za,a,olympe.j.ia,olympe.j.ia.pb));olympe.j.Fl([b.D.wa()],()=>{});b.oj(this.Ea(olympe.sc.ui.Z.he.Ka,a,olympe.j.ia));b.jj(this.Ea(olympe.sc.ui.Z.he.ma,a,olympe.j.ia));olympe.j.Fl([this.Ea(olympe.sc.ui.Z.he.O,a,olympe.j.ia)],c=>{c.valueOf()?b.play():b.pause()});olympe.j.Fl([b.C.wa()],
1912
1913
  c=>{a.set(olympe.sc.ui.Z.he.O,c.Re())});b.Ik(this.O(olympe.sc.ui.Z.he.sb,a,olympe.j.aa,b.volume.wa(),olympe.j.aa.ONE));olympe.j.Fl([this.Ea(olympe.sc.ui.Z.he.Oa,a,olympe.j.aa)],c=>{olympe.j.Qa(this.Ea(olympe.sc.ui.Z.he.O,a,olympe.j.ia)).valueOf()||b.Gk(c)});olympe.j.Fl([b.O.wa()],c=>{a.set(olympe.sc.ui.Z.he.Oa,c.hb(100).trunc().Ua(100))});olympe.j.Wa([b.duration.wa()],c=>{a.set(olympe.sc.ui.Z.he.xb,c)});return b}};olympe.sc.ui.Z.he.U=olympe.dc.Ja.C('016c04e78462a540a8e0',olympe.sc.ui.Z.he);
1913
1914
  olympe.sc.ui.Z.he.urlProp=olympe.sc.ui.Z.he.U.fa('016c04e78462a540a8e1');olympe.sc.ui.Z.he.Ka=olympe.sc.ui.Z.he.U.fa('016c04e78462a540a8e2');olympe.sc.ui.Z.he.ma=olympe.sc.ui.Z.he.U.fa('016c04e78462a540a8e3');olympe.sc.ui.Z.he.sb=olympe.sc.ui.Z.he.U.fa('016c04e78462a540a8e5');olympe.sc.ui.Z.he.O=olympe.sc.ui.Z.he.U.fa('016c04e78462a540a8e4');olympe.sc.ui.Z.he.xb=olympe.sc.ui.Z.he.U.fa('016c04e78462a540a8e7');olympe.sc.ui.Z.he.Oa=olympe.sc.ui.Z.he.U.fa('016c04e78462a540a8e6');
1914
- olympe.sc.ui.Z.he.za=olympe.sc.ui.Z.he.U.fa('016c04e78462a540a8e8');olympe.sc.ui.Z.he.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.he);b&&Z(a,olympe.dc.CloudObject.nameProp,b);Z(a,olympe.sc.ui.Renderable.C,olympe.j.Ba(384));Z(a,olympe.sc.ui.Renderable.D,olympe.j.Ba(55));Z(a,olympe.sc.ui.Z.he.Ka,olympe.j.ia.C);Z(a,olympe.sc.ui.Z.he.ma,olympe.j.ia.pb);Z(a,olympe.sc.ui.Z.he.za,olympe.j.ia.pb);Z(a,olympe.sc.ui.Z.he.sb,olympe.j.aa.ONE);return a.ka()};olympe.sc.ui.Z.jc=class extends olympe.sc.ui.Pd{D(a){var b=olympe.j.Color,c=olympe.j.ia;const d=olympe.sc.ui.Z.jc.ma;var e=olympe.sc.ui.Z.jc.za;const f=olympe.sc.ui.Z.jc.lD,g=olympe.sc.ui.Renderable.C,k=olympe.sc.ui.Renderable.D,l=new olympe.ui.F.jc(this.na(a));this.C(l,a);const m=this.Ea(olympe.sc.ui.Renderable.$,a,b);var n=this.Ea(olympe.sc.ui.Z.jc.ag,a,b);l.Zj(n);l.uC(this.Ea(olympe.sc.ui.Z.jc.Pb,a,b));const p=this.Ea(olympe.sc.ui.Z.jc.Yc,a,b);l.Ma(olympe.j.$a(l.Ih(),()=>p,()=>m,olympe.j.Color));
1915
- const r=this.Ea(olympe.sc.ui.Pd.Ka,a,b);n=this.Ea(olympe.sc.ui.Z.jc.Ls,a,b);l.wC(n);l.vC(this.Ea(olympe.sc.ui.Z.jc.kc,a,b));const t=this.Ea(olympe.sc.ui.Z.jc.gd,a,b);l.Ex(olympe.j.$a(l.Ih(),()=>t,()=>r,b));l.Cf(this.Ea(olympe.sc.ui.Z.jc.qc,a,c));b=this.Ea(olympe.sc.ui.Z.jc.vg,a,olympe.j.aa);n=this.Ea(olympe.sc.ui.Z.jc.Hg,a,olympe.j.aa);l.Yd(this.Ea(e,a,c),b);l.Ed(this.Ea(d,a,c),n);e=this.Ea(e,a,c,olympe.j.ia.pb);c=this.Ea(d,a,c,olympe.j.ia.pb);olympe.j.$a(e,()=>{Zp(this.Ea(f,a,olympe.sc.Br),a,g,olympe.j.Xa([l.na().qa()],
1916
- u=>u.valueOf(),Number))});olympe.j.$a(c,()=>{Zp(this.Ea(f,a,olympe.sc.Br),a,k,olympe.j.Xa([l.na().ta()],u=>u.valueOf(),Number))});Vo(a)&&(c=this.Ea(olympe.sc.ui.Pd.O,a,olympe.j.kb,olympe.j.ic('%UNDEFINED%')),l.Jb(olympe.j.Xa([c],u=>olympe.sc.logic.gG.C(this)?u.Rb('%UNDEFINED%')||u.Fi&&u.Fi().valueOf()?olympe.j.ic('%COMPUTED VALUE%'):u:u,olympe.j.kb)));return l}};olympe.sc.ui.Z.jc.U=olympe.dc.Ja.C('01612df3ae3701933b03',olympe.sc.ui.Z.jc);olympe.sc.ui.Z.jc.za=olympe.sc.ui.Z.jc.U.fa('016c8b3713bf8f4db871');
1915
+ olympe.sc.ui.Z.he.za=olympe.sc.ui.Z.he.U.fa('016c04e78462a540a8e8');olympe.sc.ui.Z.he.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.he);b&&Z(a,olympe.dc.CloudObject.nameProp,b);Z(a,olympe.sc.ui.Renderable.C,olympe.j.Ba(384));Z(a,olympe.sc.ui.Renderable.D,olympe.j.Ba(55));Z(a,olympe.sc.ui.Z.he.Ka,olympe.j.ia.C);Z(a,olympe.sc.ui.Z.he.ma,olympe.j.ia.pb);Z(a,olympe.sc.ui.Z.he.za,olympe.j.ia.pb);Z(a,olympe.sc.ui.Z.he.sb,olympe.j.aa.ONE);return a.ka()};olympe.sc.ui.Z.jc=class extends olympe.sc.ui.Pd{D(a){var b=olympe.j.Color,c=olympe.j.ia;const d=olympe.sc.ui.Z.jc.ma;var e=olympe.sc.ui.Z.jc.za;const f=olympe.sc.ui.Z.jc.mD,g=olympe.sc.ui.Renderable.C,k=olympe.sc.ui.Renderable.D,l=new olympe.ui.F.jc(this.na(a));this.C(l,a);const m=this.Ea(olympe.sc.ui.Renderable.$,a,b);var n=this.Ea(olympe.sc.ui.Z.jc.ag,a,b);l.Zj(n);l.vC(this.Ea(olympe.sc.ui.Z.jc.Pb,a,b));const p=this.Ea(olympe.sc.ui.Z.jc.Yc,a,b);l.Ma(olympe.j.$a(l.Ih(),()=>p,()=>m,olympe.j.Color));
1916
+ const r=this.Ea(olympe.sc.ui.Pd.Ka,a,b);n=this.Ea(olympe.sc.ui.Z.jc.Ls,a,b);l.xC(n);l.wC(this.Ea(olympe.sc.ui.Z.jc.kc,a,b));const t=this.Ea(olympe.sc.ui.Z.jc.gd,a,b);l.Ex(olympe.j.$a(l.Ih(),()=>t,()=>r,b));l.Cf(this.Ea(olympe.sc.ui.Z.jc.qc,a,c));b=this.Ea(olympe.sc.ui.Z.jc.vg,a,olympe.j.aa);n=this.Ea(olympe.sc.ui.Z.jc.Hg,a,olympe.j.aa);l.Yd(this.Ea(e,a,c),b);l.Ed(this.Ea(d,a,c),n);e=this.Ea(e,a,c,olympe.j.ia.pb);c=this.Ea(d,a,c,olympe.j.ia.pb);olympe.j.$a(e,()=>{Zp(this.Ea(f,a,olympe.sc.Br),a,g,olympe.j.Xa([l.na().qa()],
1917
+ u=>u.valueOf(),Number))});olympe.j.$a(c,()=>{Zp(this.Ea(f,a,olympe.sc.Br),a,k,olympe.j.Xa([l.na().ta()],u=>u.valueOf(),Number))});Vo(a)&&(c=this.Ea(olympe.sc.ui.Pd.O,a,olympe.j.kb,olympe.j.ic('%UNDEFINED%')),l.Jb(olympe.j.Xa([c],u=>olympe.sc.logic.hG.C(this)?u.Rb('%UNDEFINED%')||u.Fi&&u.Fi().valueOf()?olympe.j.ic('%COMPUTED VALUE%'):u:u,olympe.j.kb)));return l}};olympe.sc.ui.Z.jc.U=olympe.dc.Ja.C('01612df3ae3701933b03',olympe.sc.ui.Z.jc);olympe.sc.ui.Z.jc.za=olympe.sc.ui.Z.jc.U.fa('016c8b3713bf8f4db871');
1917
1918
  olympe.sc.ui.Z.jc.ma=olympe.sc.ui.Z.jc.U.fa('016c8b3713bf8f4db872');olympe.sc.ui.Z.jc.vg=olympe.sc.ui.Z.jc.U.fa('0170ca4983528b9f6bd7');olympe.sc.ui.Z.jc.Hg=olympe.sc.ui.Z.jc.U.fa('0170ca4991f5dcc3a484');olympe.sc.ui.Z.jc.ag=olympe.sc.ui.Z.jc.U.fa('016437688914581fea4d');olympe.sc.ui.Z.jc.Yc=olympe.sc.ui.Z.jc.U.fa('016437688914b03261ce');olympe.sc.ui.Z.jc.Pb=olympe.sc.ui.Z.jc.U.fa('0168997eefed6611afa2');olympe.sc.ui.Z.jc.Ls=olympe.sc.ui.Z.jc.U.fa('016437688914bcb67a39');olympe.sc.ui.Z.jc.gd=olympe.sc.ui.Z.jc.U.fa('016437688914221515ed');
1918
- olympe.sc.ui.Z.jc.kc=olympe.sc.ui.Z.jc.U.fa('0168997f731e2170e16e');olympe.sc.ui.Z.jc.qc=olympe.sc.ui.Z.jc.U.fa('0168990cc9a77f2a16b8');olympe.sc.ui.Z.jc.lD=olympe.sc.ui.Z.jc.U.fa('016d3f37610ae4fc3964');olympe.sc.ui.Z.jc.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.jc);b&&(Z(a,olympe.dc.CloudObject.nameProp,b),Z(a,olympe.sc.ui.Pd.O,b));return a.ka()};olympe.sc.ui.Z.jc.prototype.D.K=new olympe.j.J(()=>olympe.ui.F.jc,[]);olympe.sc.ui.Z.He=class extends olympe.sc.ui.Ga{D(a){const b=new olympe.ui.F.He(this.na(a)),c=olympe.j.Xa([b.qA()],d=>d.valueOf(),Boolean);b.Ff(this.O(olympe.sc.ui.Z.He.valueProp,a,Boolean,c));this.C(b,a);b.Ma(olympe.j.$a(b.qA(),()=>this.Ea(olympe.sc.ui.Z.He.za,a,olympe.j.Color),()=>this.Ea(olympe.sc.ui.Renderable.$,a,olympe.j.Color),olympe.j.Color));b.YD().Ld(this.Ea(olympe.sc.ui.Z.He.Oa,a,olympe.j.aa),this.Ea(olympe.sc.ui.Z.He.Ka,a,olympe.j.Color));b.YD().Ma(olympe.j.$a(b.qA(),()=>this.Ea(olympe.sc.ui.Z.He.xb,
1919
+ olympe.sc.ui.Z.jc.kc=olympe.sc.ui.Z.jc.U.fa('0168997f731e2170e16e');olympe.sc.ui.Z.jc.qc=olympe.sc.ui.Z.jc.U.fa('0168990cc9a77f2a16b8');olympe.sc.ui.Z.jc.mD=olympe.sc.ui.Z.jc.U.fa('016d3f37610ae4fc3964');olympe.sc.ui.Z.jc.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.jc);b&&(Z(a,olympe.dc.CloudObject.nameProp,b),Z(a,olympe.sc.ui.Pd.O,b));return a.ka()};olympe.sc.ui.Z.jc.prototype.D.K=new olympe.j.J(()=>olympe.ui.F.jc,[]);olympe.sc.ui.Z.He=class extends olympe.sc.ui.Ga{D(a){const b=new olympe.ui.F.He(this.na(a)),c=olympe.j.Xa([b.qA()],d=>d.valueOf(),Boolean);b.Ff(this.O(olympe.sc.ui.Z.He.valueProp,a,Boolean,c));this.C(b,a);b.Ma(olympe.j.$a(b.qA(),()=>this.Ea(olympe.sc.ui.Z.He.za,a,olympe.j.Color),()=>this.Ea(olympe.sc.ui.Renderable.$,a,olympe.j.Color),olympe.j.Color));b.ZD().Ld(this.Ea(olympe.sc.ui.Z.He.Oa,a,olympe.j.aa),this.Ea(olympe.sc.ui.Z.He.Ka,a,olympe.j.Color));b.ZD().Ma(olympe.j.$a(b.qA(),()=>this.Ea(olympe.sc.ui.Z.He.xb,
1919
1920
  a,olympe.j.Color),()=>this.Ea(olympe.sc.ui.Z.He.sb,a,olympe.j.Color),olympe.j.Color));b.Df(this.Ea(olympe.sc.ui.Z.He.O,a,olympe.j.aa,olympe.j.aa.ZERO));sq(a,b,olympe.sc.ui.Z.He.ma,b.Ka.bind(b),b.Ha.bind(b));return b}};olympe.sc.ui.Z.He.U=olympe.dc.Ja.C('0161bce1f151ed95683f',olympe.sc.ui.Z.He);olympe.sc.ui.Z.He.valueProp=olympe.sc.ui.Z.He.U.fa('0161bce236ebb4125ff7');olympe.sc.ui.Z.He.ma=olympe.sc.ui.Z.He.U.fa('0161bce2516b5beb66ee');olympe.sc.ui.Z.He.za=olympe.sc.ui.Z.He.U.fa('016952bd9b2945e0cf2d');
1920
- olympe.sc.ui.Z.He.Oa=olympe.sc.ui.Z.He.U.fa('016eef124b767b01de0e');olympe.sc.ui.Z.He.Ka=olympe.sc.ui.Z.He.U.fa('016eef2694489f36a6d3');olympe.sc.ui.Z.He.sb=olympe.sc.ui.Z.He.U.fa('016eeb3de5c4036fe1fa');olympe.sc.ui.Z.He.xb=olympe.sc.ui.Z.He.U.fa('016eeb3df78614f0290b');olympe.sc.ui.Z.He.O=olympe.sc.ui.Z.He.U.fa('016eeb5e545fbe43dd7a');olympe.sc.ui.Z.He.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.He);b&&Z(a,olympe.dc.CloudObject.nameProp,b);return a.ka()};olympe.sc.ui.Z.eg=class extends olympe.sc.ui.Ga{D(a){const b=new Intl.DateTimeFormat(void 0,{month:'long'});var c=this.yg(olympe.sc.ui.Z.eg.ma),d=this.yg(olympe.sc.ui.Z.eg.O);const e=new olympe.ui.F.WF(new olympe.j.ga(c,d),{oZ:(m,n)=>{m.Jb(olympe.j.ic(n.day));m.Ma(olympe.j.$a(n.oq,()=>O(),()=>Dc(),olympe.j.Color));m.Xb(olympe.ui.ha.rc.Sc);m.Ub(olympe.ui.ha.Db.Sb);m.lb(olympe.j.$a(n.oq,()=>zc('dark slate gray',69,90,100,1),()=>olympe.j.$a(n.iE,()=>zc('dark cyan',0,150,136,1),()=>olympe.j.$a(n.fE,()=>
1921
- O(),()=>Ac(),olympe.j.Color),olympe.j.Color),olympe.j.Color));m.Bb(olympe.j.$a(n.iE.and(n.oq.Re()),()=>700,()=>400,Number));m.Wb(5)},CX:(m,n,p)=>{m.Jb(olympe.j.Xa([p],r=>olympe.j.ic(b.format(r.nv())),olympe.j.kb)).Bb(800).lb(O());n.Jb(p.getYear().og()).Bb(800).lb(O());m.Xb(olympe.ui.ha.rc.Sc);m.Ub(olympe.ui.ha.Db.Sb);n.Xb(olympe.ui.ha.rc.Sc);n.Ub(olympe.ui.ha.Db.Sb)},tV:(m,n)=>{m.Jb('<'===n?'\uf104':'\uf105').Bb(800).vb('FontAwesome').lb(O()).Xb(olympe.ui.ha.rc.Sc).Ub(olympe.ui.ha.Db.Sb)},vZ:(m,n)=>
1921
+ olympe.sc.ui.Z.He.Oa=olympe.sc.ui.Z.He.U.fa('016eef124b767b01de0e');olympe.sc.ui.Z.He.Ka=olympe.sc.ui.Z.He.U.fa('016eef2694489f36a6d3');olympe.sc.ui.Z.He.sb=olympe.sc.ui.Z.He.U.fa('016eeb3de5c4036fe1fa');olympe.sc.ui.Z.He.xb=olympe.sc.ui.Z.He.U.fa('016eeb3df78614f0290b');olympe.sc.ui.Z.He.O=olympe.sc.ui.Z.He.U.fa('016eeb5e545fbe43dd7a');olympe.sc.ui.Z.He.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.He);b&&Z(a,olympe.dc.CloudObject.nameProp,b);return a.ka()};olympe.sc.ui.Z.eg=class extends olympe.sc.ui.Ga{D(a){const b=new Intl.DateTimeFormat(void 0,{month:'long'});var c=this.yg(olympe.sc.ui.Z.eg.ma),d=this.yg(olympe.sc.ui.Z.eg.O);const e=new olympe.ui.F.XF(new olympe.j.ga(c,d),{oZ:(m,n)=>{m.Jb(olympe.j.ic(n.day));m.Ma(olympe.j.$a(n.oq,()=>O(),()=>Dc(),olympe.j.Color));m.Xb(olympe.ui.ha.rc.Sc);m.Ub(olympe.ui.ha.Db.Sb);m.lb(olympe.j.$a(n.oq,()=>zc('dark slate gray',69,90,100,1),()=>olympe.j.$a(n.jE,()=>zc('dark cyan',0,150,136,1),()=>olympe.j.$a(n.gE,()=>
1922
+ O(),()=>Ac(),olympe.j.Color),olympe.j.Color),olympe.j.Color));m.Bb(olympe.j.$a(n.jE.and(n.oq.Re()),()=>700,()=>400,Number));m.Wb(5)},CX:(m,n,p)=>{m.Jb(olympe.j.Xa([p],r=>olympe.j.ic(b.format(r.nv())),olympe.j.kb)).Bb(800).lb(O());n.Jb(p.getYear().og()).Bb(800).lb(O());m.Xb(olympe.ui.ha.rc.Sc);m.Ub(olympe.ui.ha.Db.Sb);n.Xb(olympe.ui.ha.rc.Sc);n.Ub(olympe.ui.ha.Db.Sb)},tV:(m,n)=>{m.Jb('<'===n?'\uf104':'\uf105').Bb(800).wb('FontAwesome').lb(O()).Xb(olympe.ui.ha.rc.Sc).Ub(olympe.ui.ha.Db.Sb)},vZ:(m,n)=>
1922
1923
  {m.Jb('Mo Tu We Th Fr Sa Su'.split(' ')[n]);m.lb(O());m.Xb(olympe.ui.ha.rc.Sc);m.Ub(olympe.ui.ha.Db.Sb)}});e.Ma(olympe.j.Color.create(69,90,100));d=olympe.j.Qa(olympe.j.ac.now());e.Wx(d);e.$A(d);olympe.j.Wa([this.Ea(olympe.sc.ui.Z.eg.za,a,olympe.j.kb)],m=>{'DD.MM.YYYY'!==m.valueOf()&&this.V.warn('[DatePicker] Using custom format is no longer supported! Date will be formatted as DD.MM.YYYY!')});d=this.O(olympe.sc.ui.Z.eg.valueProp,a,String,olympe.j.Xa([e.zA()],m=>m.mp().valueOf(),String),olympe.j.ac.now().mp().valueOf());
1923
- olympe.j.Wa([d],m=>{const n=sc(m),p=olympe.j.Qa(e.zA());n&&n.an().valueOf()&&!p.mp().Rb(m)&&(e.Wx(n),e.$A(n))});e.Wb(5);const f=olympe.j.Za(olympe.j.ia);f.update(olympe.j.ia.pb);d=new olympe.ui.F.Zd(40,8);const g=(new olympe.ui.F.Mb(new olympe.j.ga(140,40))).Jb(e.zA().mp()).Bg('default');g.fj(()=>{const m=sc(olympe.j.Qa(g.Lj()));m&&m.an().valueOf()&&(e.Wx(m),e.$A(m))});var k=(new olympe.ui.F.jc(new olympe.j.ga(60,40))).Jb('\uf073').vb('FontAwesome').Bg('default');let l;k.Vc(()=>{const m=olympe.j.Qa(f.wa()).valueOf(),
1924
+ olympe.j.Wa([d],m=>{const n=sc(m),p=olympe.j.Qa(e.zA());n&&n.an().valueOf()&&!p.mp().Rb(m)&&(e.Wx(n),e.$A(n))});e.Wb(5);const f=olympe.j.Za(olympe.j.ia);f.update(olympe.j.ia.pb);d=new olympe.ui.F.Zd(40,8);const g=(new olympe.ui.F.Mb(new olympe.j.ga(140,40))).Jb(e.zA().mp()).Bg('default');g.fj(()=>{const m=sc(olympe.j.Qa(g.Lj()));m&&m.an().valueOf()&&(e.Wx(m),e.$A(m))});var k=(new olympe.ui.F.jc(new olympe.j.ga(60,40))).Jb('\uf073').wb('FontAwesome').Bg('default');let l;k.Vc(()=>{const m=olympe.j.Qa(f.wa()).valueOf(),
1924
1925
  n=olympe.ui.Na.hf();m?(l&&(n.Pj(l.valueOf()),l=void 0),f.update(olympe.j.ia.pb)):(l=n.Vc(()=>{f.update(olympe.j.ia.pb);n.Pj(l.valueOf());l=void 0}),f.update(olympe.j.ia.C))});d.appendChild(g,'datepicker input');d.appendChild(k,'datepicker toggle');c=new olympe.ui.F.xd(c,0,8);c.appendChild(e,'calendar widget');k=new olympe.ui.F.hg(c.na(),!1,null,'floating');k.Sk(f.wa());k.Nd(c);k.Ew(d,olympe.ui.F.hg.D.Sc,olympe.ui.F.hg.O.wy);this.C(d,a);return d}};
1925
1926
  olympe.sc.ui.Z.eg.U=olympe.dc.Ja.C('01719cda197c37ff5018',olympe.sc.ui.Z.eg);olympe.sc.ui.Z.eg.valueProp=olympe.sc.ui.Z.eg.U.fa('01719cdb1c36b870db0d');olympe.sc.ui.Z.eg.za=olympe.sc.ui.Z.eg.U.fa('01611e3015371b459ce8');olympe.sc.ui.Z.eg.ma=olympe.sc.ui.Z.eg.U.fa('01611e3015371b459cf9');olympe.sc.ui.Z.eg.O=olympe.sc.ui.Z.eg.U.fa('01611e3015371b459cd5');
1926
- olympe.sc.ui.Z.eg.U.C=(a,b)=>{a=a.create(olympe.sc.ui.Z.eg);Z(a,olympe.dc.CloudObject.nameProp,b);Z(a,olympe.sc.ui.Z.eg.za,'DD.MM.YYYY');Z(a,olympe.sc.ui.Z.eg.valueProp,olympe.j.ac.now().mp());Z(a,olympe.sc.ui.Z.eg.ma,250);Z(a,olympe.sc.ui.Z.eg.O,250);Z(a,olympe.sc.ui.Renderable.C,olympe.j.Ba(250));Z(a,olympe.sc.ui.Renderable.D,olympe.j.Ba(40));return a.ka()};olympe.sc.ui.Z.od=class extends olympe.sc.ui.Pd{D(a){const b=this.Ea(olympe.sc.ui.Z.od.qc,a,olympe.j.Kk),c=this.Ea(olympe.sc.ui.Z.od.kc,a,olympe.sc.logic.Function,null),d=this.na(a),e=new olympe.ui.F.od(d,b,{render:(g,k)=>{const l=new olympe.ui.F.cb(k);l.Fc(5);this.C(l,a);olympe.j.Wa([c,g],(m,n)=>{if(null===m)l.Jb('');else{const p=a.wo('dropdown_renderer'),[r]=m.getInputs(),[t]=m.getOutputs();p.set(r,n);m.run(p);l.Jb(p.wa(t,String,!0))}});return l},getType:()=>olympe.dc.CloudObject});e.Kc(10);e.Og(olympe.j.kb.cD.bA(this.Ea(olympe.sc.ui.Z.od.Pb,
1927
- a,olympe.j.kb)));this.C(e.ob,a);e.$O(this.Ea(olympe.sc.ui.Z.od.ag,a,olympe.j.ia,olympe.j.ia.pb));e.iP(d.ta().Ua(2).vn(this.Ea(olympe.sc.ui.Z.od.Ls,a,olympe.j.aa,olympe.j.aa.ZERO)));e.YO(this.Ea(olympe.sc.ui.Z.od.Hg,a,olympe.j.aa,olympe.j.Ba(10)));e.yC(new olympe.j.ga(this.Ea(olympe.sc.ui.Z.od.vg,a,olympe.j.aa),this.Ea(olympe.sc.ui.Z.od.Yc,a,olympe.j.aa)));e.zC(this.Ea(olympe.sc.ui.Z.od.gd,a,olympe.j.kb));this.C(e,a);olympe.j.cg(e.T,g=>{a.set(olympe.sc.ui.Z.od.za,g)});this.O(olympe.sc.ui.Z.od.ma,a,
1928
- olympe.j.ia,e.BO(),olympe.j.ia.pb);a.on(olympe.sc.ui.Z.od.ma,g=>{e.cP(g)},this);const f=this.Ea(olympe.sc.ui.Z.od.za,a,olympe.dc.CloudObject);e.ma.forEach((g,k)=>{olympe.j.$a(olympe.j.Xa([f,g],(l,m)=>olympe.j.hc(l.ka&&l.ka()===m.ka()),olympe.j.ia),()=>e.qP(k))});sq(a,e,olympe.sc.ui.Z.od.lD,e.ag.bind(e),e.lg.bind(e));return e}};olympe.sc.ui.Z.od.U=olympe.dc.Ja.C('01646ac1cbb34f2ae625',olympe.sc.ui.Z.od);olympe.sc.ui.Z.od.qc=olympe.sc.ui.Z.od.U.fa('01646ac1ce7698272467');olympe.sc.ui.Z.od.kc=olympe.sc.ui.Z.od.U.fa('01646ac1cf8521b01aba');
1927
+ olympe.sc.ui.Z.eg.U.C=(a,b)=>{a=a.create(olympe.sc.ui.Z.eg);Z(a,olympe.dc.CloudObject.nameProp,b);Z(a,olympe.sc.ui.Z.eg.za,'DD.MM.YYYY');Z(a,olympe.sc.ui.Z.eg.valueProp,olympe.j.ac.now().mp());Z(a,olympe.sc.ui.Z.eg.ma,250);Z(a,olympe.sc.ui.Z.eg.O,250);Z(a,olympe.sc.ui.Renderable.C,olympe.j.Ba(250));Z(a,olympe.sc.ui.Renderable.D,olympe.j.Ba(40));return a.ka()};olympe.sc.ui.Z.od=class extends olympe.sc.ui.Pd{D(a){const b=this.Ea(olympe.sc.ui.Z.od.qc,a,olympe.j.Kk),c=this.Ea(olympe.sc.ui.Z.od.kc,a,olympe.sc.logic.Function,null),d=this.na(a),e=new olympe.ui.F.od(d,b,{render:(g,k)=>{const l=new olympe.ui.F.cb(k);l.Fc(5);this.C(l,a);olympe.j.Wa([c,g],(m,n)=>{if(null===m)l.Jb('');else{const p=a.wo('dropdown_renderer'),[r]=m.getInputs(),[t]=m.getOutputs();p.set(r,n);m.run(p);l.Jb(p.wa(t,String,!0))}});return l},getType:()=>olympe.dc.CloudObject});e.Kc(10);e.Og(olympe.j.kb.dD.bA(this.Ea(olympe.sc.ui.Z.od.Pb,
1928
+ a,olympe.j.kb)));this.C(e.ob,a);e.$O(this.Ea(olympe.sc.ui.Z.od.ag,a,olympe.j.ia,olympe.j.ia.pb));e.iP(d.ta().Ua(2).vn(this.Ea(olympe.sc.ui.Z.od.Ls,a,olympe.j.aa,olympe.j.aa.ZERO)));e.YO(this.Ea(olympe.sc.ui.Z.od.Hg,a,olympe.j.aa,olympe.j.Ba(10)));e.zC(new olympe.j.ga(this.Ea(olympe.sc.ui.Z.od.vg,a,olympe.j.aa),this.Ea(olympe.sc.ui.Z.od.Yc,a,olympe.j.aa)));e.AC(this.Ea(olympe.sc.ui.Z.od.gd,a,olympe.j.kb));this.C(e,a);olympe.j.cg(e.T,g=>{a.set(olympe.sc.ui.Z.od.za,g)});this.O(olympe.sc.ui.Z.od.ma,a,
1929
+ olympe.j.ia,e.BO(),olympe.j.ia.pb);a.on(olympe.sc.ui.Z.od.ma,g=>{e.cP(g)},this);const f=this.Ea(olympe.sc.ui.Z.od.za,a,olympe.dc.CloudObject);e.ma.forEach((g,k)=>{olympe.j.$a(olympe.j.Xa([f,g],(l,m)=>olympe.j.hc(l.ka&&l.ka()===m.ka()),olympe.j.ia),()=>e.qP(k))});sq(a,e,olympe.sc.ui.Z.od.mD,e.ag.bind(e),e.lg.bind(e));return e}};olympe.sc.ui.Z.od.U=olympe.dc.Ja.C('01646ac1cbb34f2ae625',olympe.sc.ui.Z.od);olympe.sc.ui.Z.od.qc=olympe.sc.ui.Z.od.U.fa('01646ac1ce7698272467');olympe.sc.ui.Z.od.kc=olympe.sc.ui.Z.od.U.fa('01646ac1cf8521b01aba');
1929
1930
  olympe.sc.ui.Z.od.za=olympe.sc.ui.Z.od.U.fa('01646b41d4fb284e88c4');olympe.sc.ui.Z.od.Pb=olympe.sc.ui.Z.od.U.fa('016dca2998c1f20c3c6e');olympe.sc.ui.Z.od.Hg=olympe.sc.ui.Z.od.U.fa('016edaa40fdb543d0176');olympe.sc.ui.Z.od.gd=olympe.sc.ui.Z.od.U.fa('016edacf08785409c410');olympe.sc.ui.Z.od.vg=olympe.sc.ui.Z.od.U.fa('016edb1bc5fb269bfce8');olympe.sc.ui.Z.od.Yc=olympe.sc.ui.Z.od.U.fa('016edb1bcff460c08af3');olympe.sc.ui.Z.od.ag=olympe.sc.ui.Z.od.U.fa('016edb8f1f3e173ffa3e');olympe.sc.ui.Z.od.Ls=olympe.sc.ui.Z.od.U.fa('016edbc49fa2c9ef9e8d');
1930
- olympe.sc.ui.Z.od.ma=olympe.sc.ui.Z.od.U.fa('016eda7c30ccd9936f6d');olympe.sc.ui.Z.od.lD=olympe.sc.ui.Z.od.U.fa('0165cdf57056f7394839');olympe.sc.ui.Z.Ie=class extends olympe.sc.ui.Ga{D(a){const b=new olympe.ui.F.Ie(this.na(a));b.zs(!0);Rf(b,c=>{const d=Gn(),e=[];for(const f of c){c=f.bx().valueOf();const g=olympe.sc.JW(c);c=olympe.dm.File.D(g,d,f.Zy().valueOf(),f.Pe(),c);e.push(c)}d.Kd(f=>{f?(a.set(olympe.sc.ui.Z.Ie.O,e.map(olympe.dc.CloudObject.get)),a.Qq(olympe.sc.ui.Z.Ie.ma)):this.V.warn('The application encountered a problem while uploading files. The transaction failed.')})});this.C(b,a);return b}};
1931
+ olympe.sc.ui.Z.od.ma=olympe.sc.ui.Z.od.U.fa('016eda7c30ccd9936f6d');olympe.sc.ui.Z.od.mD=olympe.sc.ui.Z.od.U.fa('0165cdf57056f7394839');olympe.sc.ui.Z.Ie=class extends olympe.sc.ui.Ga{D(a){const b=new olympe.ui.F.Ie(this.na(a));b.zs(!0);Rf(b,c=>{const d=Gn(),e=[];for(const f of c){c=f.bx().valueOf();const g=olympe.sc.JW(c);c=olympe.dm.File.D(g,d,f.Zy().valueOf(),f.Pe(),c);e.push(c)}d.Kd(f=>{f?(a.set(olympe.sc.ui.Z.Ie.O,e.map(olympe.dc.CloudObject.get)),a.Qq(olympe.sc.ui.Z.Ie.ma)):this.V.warn('The application encountered a problem while uploading files. The transaction failed.')})});this.C(b,a);return b}};
1931
1932
  olympe.sc.ui.Z.Ie.U=olympe.dc.Ja.C('0165cd420a0ddfa948a2',olympe.sc.ui.Z.Ie);olympe.sc.ui.Z.Ie.O=olympe.sc.ui.Z.Ie.U.fa('0165cd42349c06193ae4');olympe.sc.ui.Z.Ie.ma=olympe.sc.ui.Z.Ie.U.fa('0165cd424c8ac11a98ba');olympe.sc.ui.Z.Image=class extends olympe.sc.ui.Ga{D(a){const b=new olympe.ui.F.ye(this.na(a));this.C(b,a);const c=olympe.dc.CloudObject.get('016eb13ba1388f7bdd71');b.us(olympe.j.Xa([this.Ea(olympe.sc.ui.Z.Image.xb,a,olympe.sc.Xn,c)],d=>{d instanceof olympe.sc.ri&&(d=d.C());if(d instanceof olympe.sc.Xn)return d.D();if('string'===typeof d||d instanceof olympe.j.kb)return olympe.j.ic(d);this.V.warn('Image: cannot set value as background image source',d);return olympe.j.kb.EMPTY},olympe.j.kb));b.Lq(this.Ea(olympe.sc.ui.Z.Image.O,
1932
1933
  a,olympe.j.kb));b.kp(this.Ea(olympe.sc.ui.Z.Image.Ka,a,olympe.j.kb));b.rs(new olympe.j.ga(this.Ea(olympe.sc.ui.Z.Image.ma,a,olympe.j.aa),this.Ea(olympe.sc.ui.Z.Image.za,a,olympe.j.aa)));b.ss(new olympe.j.ga(this.Ea(olympe.sc.ui.Z.Image.Oa,a,olympe.j.aa),this.Ea(olympe.sc.ui.Z.Image.sb,a,olympe.j.aa)));return b}};olympe.sc.ui.Z.Image.U=olympe.dc.Ja.C('0162f1bd4db6b5603fd8',olympe.sc.ui.Z.Image);olympe.sc.ui.Z.Image.xb=olympe.sc.ui.Z.Image.U.fa('01642664ca2b59d1a196');olympe.sc.ui.Z.Image.ma=olympe.sc.ui.Z.Image.U.fa('01642664d2bc3e1478f4');
1933
1934
  olympe.sc.ui.Z.Image.za=olympe.sc.ui.Z.Image.U.fa('01642664d44038c8eac1');olympe.sc.ui.Z.Image.Oa=olympe.sc.ui.Z.Image.U.fa('016426668f80d9bf7693');olympe.sc.ui.Z.Image.sb=olympe.sc.ui.Z.Image.U.fa('016426669197f66aef82');olympe.sc.ui.Z.Image.O=olympe.sc.ui.Z.Image.U.fa('01642664d0eb249710d2');olympe.sc.ui.Z.Image.Ka=olympe.sc.ui.Z.Image.U.fa('01642664d5baa65fdfc5');
1934
1935
  olympe.sc.ui.Z.Image.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.Image);Z(a,olympe.dc.CloudObject.nameProp,b);Z(a,olympe.sc.ui.Z.Image.ma,0);Z(a,olympe.sc.ui.Z.Image.za,0);Z(a,olympe.sc.ui.Z.Image.Oa,0);Z(a,olympe.sc.ui.Z.Image.sb,0);Z(a,olympe.sc.ui.Z.Image.O,'center');Z(a,olympe.sc.ui.Z.Image.Ka,'contain');return a.ka()};
1935
- olympe.sc.ui.Z.Image.qc={'01611e082c56483c8ef2':olympe.ui.ha.df.Uf,'01611e09c8b095637f65':olympe.ui.ha.df.gh,'01611e09e1b2c0f0cad5':olympe.ui.ha.df.ym,'01611e09a8b328e05369':olympe.ui.ha.df.xm,'01611e0a13c26c6002fd':olympe.ui.ha.df.Sb,'01611e09fac0ad53f906':olympe.ui.ha.df.TF,'01611e0a31ba45895327':olympe.ui.ha.df.UF,'01611e0a81e4ce36d596':olympe.ui.ha.df.zh,'01611e0a67b24a1c4f54':olympe.ui.ha.df.$l,'01611e0aa70621354cbb':olympe.ui.ha.df.Ts};
1936
+ olympe.sc.ui.Z.Image.qc={'01611e082c56483c8ef2':olympe.ui.ha.df.Uf,'01611e09c8b095637f65':olympe.ui.ha.df.gh,'01611e09e1b2c0f0cad5':olympe.ui.ha.df.ym,'01611e09a8b328e05369':olympe.ui.ha.df.xm,'01611e0a13c26c6002fd':olympe.ui.ha.df.Sb,'01611e09fac0ad53f906':olympe.ui.ha.df.UF,'01611e0a31ba45895327':olympe.ui.ha.df.VF,'01611e0a81e4ce36d596':olympe.ui.ha.df.zh,'01611e0a67b24a1c4f54':olympe.ui.ha.df.$l,'01611e0aa70621354cbb':olympe.ui.ha.df.Ts};
1936
1937
  olympe.sc.ui.Z.Image.Pb={'01611e0bda4db5357514':olympe.ui.ha.Ah.Uf,'01611e0bf880be3d343d':olympe.ui.ha.Ah.Us,'01611e0c10abf1090731':olympe.ui.ha.Ah.Vs,'01611e0bbbd851a47e01':olympe.ui.ha.Ah.Qs};olympe.sc.ui.Z.Image.Eb='016eb13ba1388f7bdd71';olympe.sc.ui.Z.cb=class extends olympe.sc.ui.Pd{D(a){var b=olympe.sc.ui.Z.cb.Pb,c=olympe.sc.ui.Z.cb.ma;const d=olympe.sc.ui.Z.cb.za,e=olympe.sc.ui.Z.cb.Yc;var f=olympe.sc.ui.Z.cb.kc;const g=olympe.sc.ui.Z.cb.qc,k=olympe.sc.ui.Renderable.C,l=olympe.sc.ui.Renderable.D,m=olympe.j.ia.pb,n=new olympe.ui.F.cb(this.na(a));this.C(n,a);b=this.Ea(b,a,olympe.j.ia);n.Yn(b);n.bi(this.Ea(e,a,olympe.j.kb));n.Yd(this.Ea(d,a,olympe.j.ia));n.Ed(this.Ea(c,a,olympe.j.ia));n.Ml(this.Ea(f,a,olympe.j.ia));f=this.Ea(d,a,
1937
- olympe.j.ia,m);c=this.Ea(c,a,olympe.j.ia,m);olympe.j.$a(b,()=>{const p=this.Ea(g,a,olympe.sc.Br);Zp(p,a,e,olympe.ui.ha.oo.Av);Zp(p,a,d,!1)});olympe.j.$a(f,()=>{Zp(this.Ea(g,a,olympe.sc.Br),a,k,olympe.j.Xa([n.na().qa()],p=>p.valueOf(),Number))});olympe.j.$a(c,()=>{Zp(this.Ea(g,a,olympe.sc.Br),a,l,olympe.j.Xa([n.na().ta()],p=>p.valueOf(),Number))});Vo(a)&&(c=this.Ea(olympe.sc.ui.Pd.O,a,String,'%UNDEFINED%'),n.Jb(olympe.j.Xa([c],p=>olympe.sc.logic.gG.C(this)?'%UNDEFINED%'===p||''===p?'%COMPUTED VALUE%':
1938
+ olympe.j.ia,m);c=this.Ea(c,a,olympe.j.ia,m);olympe.j.$a(b,()=>{const p=this.Ea(g,a,olympe.sc.Br);Zp(p,a,e,olympe.ui.ha.oo.Av);Zp(p,a,d,!1)});olympe.j.$a(f,()=>{Zp(this.Ea(g,a,olympe.sc.Br),a,k,olympe.j.Xa([n.na().qa()],p=>p.valueOf(),Number))});olympe.j.$a(c,()=>{Zp(this.Ea(g,a,olympe.sc.Br),a,l,olympe.j.Xa([n.na().ta()],p=>p.valueOf(),Number))});Vo(a)&&(c=this.Ea(olympe.sc.ui.Pd.O,a,String,'%UNDEFINED%'),n.Jb(olympe.j.Xa([c],p=>olympe.sc.logic.hG.C(this)?'%UNDEFINED%'===p||''===p?'%COMPUTED VALUE%':
1938
1939
  p:p,olympe.j.kb)));return n}};olympe.sc.ui.Z.cb.U=olympe.dc.Ja.C('01612df39109cf82fa8d',olympe.sc.ui.Z.cb);olympe.sc.ui.Z.cb.qc=olympe.sc.ui.Z.cb.U.fa('016d3f37610ae4fc3963');olympe.sc.ui.Z.cb.Pb=olympe.sc.ui.Z.cb.U.fa('016c8b3713bf8f4db860');olympe.sc.ui.Z.cb.Yc=olympe.sc.ui.Z.cb.U.fa('0170a5a1ad57c8e9545b');olympe.sc.ui.Z.cb.za=olympe.sc.ui.Z.cb.U.fa('016c8b3713bf8f4db861');olympe.sc.ui.Z.cb.ma=olympe.sc.ui.Z.cb.U.fa('016c8b3713bf8f4db862');olympe.sc.ui.Z.cb.kc=olympe.sc.ui.Z.cb.U.fa('016ea1b4cb51e0229e85');
1939
1940
  olympe.sc.ui.Z.cb.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.cb);b&&(Z(a,olympe.dc.CloudObject.nameProp,b),Z(a,olympe.sc.ui.Z.cb.O,b));return a.ka()};olympe.sc.ui.Z.cb.prototype.D.K=new olympe.j.J(()=>olympe.ui.F.cb,[]);function Dq(a,b){var c=a.na(b);const d=Eq(a,b),e=Fq(a,b),f=new olympe.j.Be(olympe.dc.CloudObject);olympe.j.Wa([c.ta(),d.ta(),olympe.j.kj(e.Qc(),0)],(k,l)=>{k=Math.ceil(k/l);if(Number.isFinite(k)){l=f.aj();if(k<l)for(var m=l-1;m>=k;m--)f.remove(f.rl(m));for(m=olympe.j.Qa(e);l<k;l++)f.set('item'+l,m&&m.ql(l)||null,l)}});const g=Gq(a);c=new olympe.ui.F.jt(c,f,olympe.dc.CloudObject,a.ob.bind(a,d,b,g));a.C(c,b);return c}
1940
1941
  function Gq(a){a=a.db.Ac(a,olympe.sc.ui.Z.Be.O);return a instanceof olympe.dc.Kf?mh(a):null}function Fq(a,b){a=a.Ea(olympe.sc.ui.Z.Be.ma,b,olympe.dc.Kb);return olympe.j.Xa([a],c=>{if(c instanceof olympe.j.Be)return c;if(c instanceof olympe.dc.Kb){const e=olympe.j.Za(olympe.dc.Kb);c.Ii(()=>e.update(c));return e.wa()}const d=new olympe.j.Be(olympe.dc.CloudObject);c instanceof Array&&c.forEach((e,f)=>{const g=olympe.oa.bf();d.set(g,e);d.Cs(g,f)});return d},olympe.j.Ug)}
@@ -1942,7 +1943,7 @@ function Eq(a,b){const c=olympe.j.aa,d=a.Ea(olympe.sc.ui.Renderable.C,b,c,c.ZERO
1942
1943
  olympe.sc.ui.Z.Be=class extends olympe.sc.ui.Ga{D(a){if(Vo(a))return Dq(this,a);var b=Gq(this);b=new olympe.ui.F.jt(this.na(a),Fq(this,a),olympe.dc.CloudObject,this.Pa.bind(this,Eq(this,a),a,b));this.C(b,a);return b}R(a){return a.includes(this.ka())?this.Vw().Mr().me([olympe.sc.ui.Td]).filter(b=>a.includes(olympe.dc.Ya(b))).ek():null}ob(a,b,c,d,e,f){a=this.Pa(a,b,c,d,e,f);a.Ld(1,olympe.j.Color.create(46,135,239));a.ng(.4);return a}Pa(a,b,c,d,e){const f=new olympe.ui.F.Xe(a);olympe.j.Wa([d],g=>{const k=
1943
1944
  b.wo('list_row');c.run(k);const l=k.get(olympe.sc.Hb.C.vp);olympe.j.Wa([a.qa()],m=>k.set(olympe.sc.ui.Renderable.C,m));olympe.j.Wa([a.ta()],m=>{0===m.valueOf()&&(m=olympe.j.aa.ONE);k.set(olympe.sc.ui.Renderable.D,m)});k.set(olympe.sc.ui.ec.R,0);k.set(olympe.sc.ui.ec.T,0);k.set(olympe.sc.ui.Z.$n.ma,g);olympe.j.Wa([e],m=>k.set(olympe.sc.ui.Z.$n.O,m));f.appendChild(l,'currentRenderedItem');olympe.j.yb().Ve(()=>{k.destroy()})});return f}};olympe.sc.ui.Z.Be.U=olympe.dc.Ja.C('01633eae77762d97b497',olympe.sc.ui.Z.Be);
1944
1945
  olympe.sc.ui.Z.Be.O=olympe.sc.ui.Z.Be.U.fa('01633eda39772493a535');olympe.sc.ui.Z.Be.ma=olympe.sc.ui.Z.Be.U.fa('01633eaf88c467023dac');olympe.sc.ui.Z.Be.za=olympe.sc.ui.Z.Be.U.fa('01633eaf88c4b25d8071');
1945
- olympe.sc.ui.Z.Be.U.C=function(a,b){const c=a.create(olympe.sc.ui.Z.Be);Z(c,olympe.dc.CloudObject.nameProp,b);Z(c,olympe.sc.ui.Renderable.C,200);Z(c,olympe.sc.ui.Renderable.D,400);b=olympe.dc.CloudObject.yf(a,olympe.sc.ui.Uv,'Item Renderer',!0);const d=olympe.dc.CloudObject.yf(a,b,'item renderer');Z(c,olympe.sc.ui.Z.Be.O,new olympe.dc.Kf(d));a.Qb(olympe.sc.Runnable.ca,d,b);a.Qb(olympe.sc.Runnable.W,d,b);a.Qb(olympe.dc.CloudObject.containsRel,c,b);return c.ka()};olympe.sc.ui.Z.$n=class extends olympe.sc.ui.ec{D(a){return super.D(a)}};olympe.sc.ui.Z.$n.U=olympe.dc.Ja.C('016995c9f3cd1db60dc7',olympe.sc.ui.Z.$n);olympe.sc.ui.Z.$n.ma=olympe.sc.ui.Z.$n.U.fa('016343f1676b2cb4ad06');olympe.sc.ui.Z.$n.O=olympe.sc.ui.Z.$n.U.fa('016343f1676b131af556');olympe.sc.ui.Z.Map=class extends olympe.sc.ui.Ga{D(a){const b=new olympe.ui.Ta.Va.Map(this.na(a));this.C(b,a);b.pv(this.Ea(olympe.sc.ui.Z.Map.Ka,a,olympe.j.kb),this.Ea(olympe.sc.ui.Z.Map.za,a,olympe.j.kb));b.ys(this.O(olympe.sc.ui.Z.Map.ma,a,olympe.j.aa,b.WD()));b.xs(this.O(olympe.sc.ui.Z.Map.O,a,olympe.j.aa,b.UD()));b.Is(this.O(olympe.sc.ui.Z.Map.Oa,a,olympe.j.aa,b.R()));const c=this.Ea(olympe.sc.ui.Z.Map.sb,a,olympe.sc.logic.Function,null);olympe.j.Wa([this.Ea(olympe.sc.ui.Z.Map.xb,a,olympe.j.Ug)],
1946
+ olympe.sc.ui.Z.Be.U.C=function(a,b){const c=a.create(olympe.sc.ui.Z.Be);Z(c,olympe.dc.CloudObject.nameProp,b);Z(c,olympe.sc.ui.Renderable.C,200);Z(c,olympe.sc.ui.Renderable.D,400);b=olympe.dc.CloudObject.yf(a,olympe.sc.ui.Uv,'Item Renderer',!0);const d=olympe.dc.CloudObject.yf(a,b,'item renderer');Z(c,olympe.sc.ui.Z.Be.O,new olympe.dc.Kf(d));a.Qb(olympe.sc.Runnable.ca,d,b);a.Qb(olympe.sc.Runnable.W,d,b);a.Qb(olympe.dc.CloudObject.containsRel,c,b);return c.ka()};olympe.sc.ui.Z.$n=class extends olympe.sc.ui.ec{D(a){return super.D(a)}};olympe.sc.ui.Z.$n.U=olympe.dc.Ja.C('016995c9f3cd1db60dc7',olympe.sc.ui.Z.$n);olympe.sc.ui.Z.$n.ma=olympe.sc.ui.Z.$n.U.fa('016343f1676b2cb4ad06');olympe.sc.ui.Z.$n.O=olympe.sc.ui.Z.$n.U.fa('016343f1676b131af556');olympe.sc.ui.Z.Map=class extends olympe.sc.ui.Ga{D(a){const b=new olympe.ui.Ta.Va.Map(this.na(a));this.C(b,a);b.pv(this.Ea(olympe.sc.ui.Z.Map.Ka,a,olympe.j.kb),this.Ea(olympe.sc.ui.Z.Map.za,a,olympe.j.kb));b.ys(this.O(olympe.sc.ui.Z.Map.ma,a,olympe.j.aa,b.XD()));b.xs(this.O(olympe.sc.ui.Z.Map.O,a,olympe.j.aa,b.VD()));b.Is(this.O(olympe.sc.ui.Z.Map.Oa,a,olympe.j.aa,b.R()));const c=this.Ea(olympe.sc.ui.Z.Map.sb,a,olympe.sc.logic.Function,null);olympe.j.Wa([this.Ea(olympe.sc.ui.Z.Map.xb,a,olympe.j.Ug)],
1946
1947
  d=>{d&&d.forEach&&d.forEach((e,f)=>{olympe.j.Wa([c],g=>{if(null===g)b.ps(f);else{const k=a.wo('object_to_marker'),[l]=g.getInputs(),[m,n]=g.getOutputs();k.set(l,e);g.run(k);olympe.j.Wa([k.wa(n,Number,!0),k.wa(m,Number,!0)],(p,r)=>b.au(p,r,f))}});olympe.j.yb().Ve(()=>b.ps(f))})});return b}};olympe.sc.ui.Z.Map.U=olympe.dc.Ja.C('016426b17399ffc56c99',olympe.sc.ui.Z.Map);olympe.sc.ui.Z.Map.za=olympe.sc.ui.Z.Map.U.fa('016427a99e367fa6c09d');olympe.sc.ui.Z.Map.Eb=olympe.sc.ui.Z.Map.U.fa('01766b9dcec160a517e1');
1947
1948
  olympe.sc.ui.Z.Map.ma=olympe.sc.ui.Z.Map.U.fa('016427a9b97eea350e50');olympe.sc.ui.Z.Map.O=olympe.sc.ui.Z.Map.U.fa('016427a9cfb705df606e');olympe.sc.ui.Z.Map.Oa=olympe.sc.ui.Z.Map.U.fa('016427a9e5efd39a5071');olympe.sc.ui.Z.Map.Ka=olympe.sc.ui.Z.Map.U.fa('016436f8c0383becf392');olympe.sc.ui.Z.Map.xb=olympe.sc.ui.Z.Map.U.fa('0164378b2cebf5cc6b6b');olympe.sc.ui.Z.Map.sb=olympe.sc.ui.Z.Map.U.fa('0168ec49fe6e55ebe510');
1948
1949
  olympe.sc.ui.Z.Map.U.C=(a,b)=>{a=a.create(olympe.sc.ui.Z.Map);Z(a,olympe.dc.CloudObject.nameProp,b);Z(a,olympe.sc.ui.Z.Map.Ka,olympe.N.Ta.Va.Map.C.zJ);Z(a,olympe.sc.ui.Z.Map.za,'streets-v11');Z(a,olympe.sc.ui.Z.Map.O,46.5);Z(a,olympe.sc.ui.Z.Map.ma,6.5);Z(a,olympe.sc.ui.Z.Map.Oa,10);Z(a,olympe.sc.ui.Renderable.C,500);Z(a,olympe.sc.ui.Renderable.D,500);return a.ka()};olympe.sc.ui.Z.ye=class extends olympe.sc.ui.Ga{D(a){const b=new olympe.ui.F.ye(this.na(a));this.C(b,a);return b}};olympe.sc.ui.Z.ye.U=olympe.dc.Ja.C('01646f6a3fa5615a5bd1',olympe.sc.ui.Z.ye);olympe.sc.ui.Z.ye.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.ye);Z(a,olympe.dc.CloudObject.nameProp,b);return a.ka()};function Hq(a,b){if(Vo(b))b.set(olympe.sc.Hb.C.vp,Iq(a,b));else{var c=a.na(b),d=new olympe.ui.F.Xe(c),e=a.Qe(),f=a.Ea(olympe.sc.ui.Z.fl.O,b,olympe.sc.ui.Screen),g=Wo(b),k=new Set;Jq(a,g,()=>{a.Pa?Kq(a,e,k,g,()=>{Lq(e,f,b)}):Lq(e,f,b)});var l=olympe.j.yb(),m=olympe.j.Za(olympe.sc.ui.Screen,'Screenflow loaded screen');Mq(e,g,()=>{olympe.j.Wa([m],p=>{Nq(p,b)})});olympe.j.Wa([f],p=>{k.has(p.ka())?m.update(p):l.run(()=>Oq(p,g,()=>{k.add(p.ka());olympe.dc.Ya(f)===p.ka()?m.update(p):a.V.warn(`The selected screen ${olympe.dc.Ya(f)} has changed while the loading of another one ${p.ka()}`)}))},
@@ -1959,7 +1960,7 @@ olympe.sc.ui.Z.Id.Ka=olympe.sc.ui.Z.Id.U.fa('0163df0bca9e746a1bda');olympe.sc.ui
1959
1960
  olympe.sc.ui.Z.Id.xb=olympe.sc.ui.Z.Id.U.fa('01697cda25b97273ee84');olympe.sc.ui.Z.Id.sb=olympe.sc.ui.Z.Id.U.fa('01697cda53b82f03b323');olympe.sc.ui.Z.Pc=class extends olympe.sc.ui.Me{D(a){const b=new olympe.ui.F.Pc(this.na(a));this.C(b,a);b.Jb(this.O(olympe.sc.ui.Pd.O,a,String,olympe.j.Xa([b.Lj()],c=>c.valueOf(),String)));return b}};olympe.sc.ui.Z.Pc.U=olympe.dc.Ja.C('01683779d3c3769a590f',olympe.sc.ui.Z.Pc);olympe.sc.ui.Z.Pc.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.Pc);b&&Z(a,olympe.dc.CloudObject.nameProp,b);Z(a,olympe.sc.ui.Pd.O,'');return a.ka()};olympe.sc.ui.Z.Pc.prototype.D.K=new olympe.j.J(()=>olympe.ui.F.Pc,[]);olympe.sc.ui.Z.Mb=class extends olympe.sc.ui.Me{D(a){const b=new olympe.ui.F.Mb(this.na(a));this.C(b,a);b.Jb(this.O(olympe.sc.ui.Pd.O,a,String,olympe.j.Xa([b.Lj()],c=>c.valueOf(),String)));b.zn(this.Ea(olympe.sc.ui.Z.Mb.za,a,olympe.j.kb));b.ip(this.Ea(olympe.sc.ui.Z.Mb.qc,a,olympe.j.ia));return b}};olympe.sc.ui.Z.Mb.U=olympe.dc.Ja.C('01626ce8543dd37b31dd',olympe.sc.ui.Z.Mb);olympe.sc.ui.Z.Mb.za=olympe.sc.ui.Z.Mb.U.fa('01699631db815bc2f18a');olympe.sc.ui.Z.Mb.qc=olympe.sc.ui.Z.Mb.U.fa('016e220471bea6ac38dd');
1960
1961
  olympe.sc.ui.Z.Mb.U.C=function(a,b){a=a.create(olympe.sc.ui.Z.Mb);b&&Z(a,olympe.dc.CloudObject.nameProp,b);Z(a,olympe.sc.ui.Pd.O,'');return a.ka()};olympe.sc.ui.Z.Mb.prototype.D.K=new olympe.j.J(()=>olympe.ui.F.Mb,[]);olympe.sc.ui.Z.TU=class extends olympe.ui.F.ew{constructor(a){super();const b=new olympe.ui.F.xd(500,0);this.C.Gb(b.na());b.Wb(8);b.Ld(1,Ec('#D2D2D2'));b.Ma(Ec('#D2D2D2'));const c=new olympe.ui.F.Zd(void 0,0,32,32);c.Wb(8);var d=new olympe.ui.F.xd(434,8,16,16);const e=(new olympe.ui.F.cb(new olympe.j.ga(300,0))).Jb('A new version is available').rb(24).Bb(800).Ed(!0).Yn(!0),f=(new olympe.ui.F.cb(new olympe.j.ga(300,0))).Jb('Your application has been upgraded in the background').rb(16).Ed(!0).Yn(!0);
1961
1962
  d.appendChild(e,'title',olympe.ui.ha.Db.Tf);d.appendChild(f,'subtitle',olympe.ui.ha.Db.Tf);c.appendChild(d,'topContent');const g=new olympe.ui.F.Zd(void 0,8,32,32);g.Wb(8);g.Ma(O());d=(k,l,m,n)=>{l=(new olympe.ui.F.jc(new olympe.j.ga(100,40),k)).Ma(l).lb(m).$g(new olympe.j.ga(0,0),0,0,N(),!1);n=(new olympe.ui.F.cb(new olympe.j.ga(213,0))).Jb(n).rb(12).Yn(!0).Ed(!0);m=new olympe.ui.F.xd(213,8,16,16);m.appendChild(l,'button',olympe.ui.ha.Db.Tf);m.appendChild(n,'text',olympe.ui.ha.Db.Tf);g.appendChild(m,
1962
- k,olympe.ui.ha.rc.Sc);return l};d('Close',Ec('#D2D2D2'),Ec('#000000'),'Ignore the new version for now and continue working on this page').Vc(()=>{this.Sk(!1)});d('Refresh',Ec('#2e87ef'),Ec('#ffffff'),'Click to reload this page and start using the new version right now').Vc(()=>{this.Sk(!1);a.D()});b.appendChild(c,'top',olympe.ui.ha.Db.Sb);b.appendChild(g,'bottom',olympe.ui.ha.Db.Sb);this.xC(N().LD(.6));this.Wb(8);Vf(this);this.Nd(b)}};olympe.sc.ui.Lb={};function Qq(a,b,c,d,e,f,g){const k=c.ka(),l=So(f,k);olympe.j.ls([l.wa(olympe.sc.Hb.C.vp,olympe.ui.F.mb,!0)],m=>{m.Tj(!0);b.appendChild(m,k+'_'+a.db.name(k),d,e);m.Cs(e);Rq(a,f,l,m,g)})}function Sq(a,b,c,d,e,f=olympe.j.kb.EMPTY){f!==olympe.j.kb.EMPTY&&olympe.j.Fl([f],g=>{g=g.valueOf();b.mg();d.yi((k,l,m)=>{Qq(a,b,k,g,m.gf(l),c,e)})});d.forEach((g,k,l)=>{const m=olympe.j.Qa(f).valueOf();Qq(a,b,g,m,l.gf(k),c,e)})}
1963
+ k,olympe.ui.ha.rc.Sc);return l};d('Close',Ec('#D2D2D2'),Ec('#000000'),'Ignore the new version for now and continue working on this page').Vc(()=>{this.Sk(!1)});d('Refresh',Ec('#2e87ef'),Ec('#ffffff'),'Click to reload this page and start using the new version right now').Vc(()=>{this.Sk(!1);a.D()});b.appendChild(c,'top',olympe.ui.ha.Db.Sb);b.appendChild(g,'bottom',olympe.ui.ha.Db.Sb);this.yC(N().MD(.6));this.Wb(8);Vf(this);this.Nd(b)}};olympe.sc.ui.Lb={};function Qq(a,b,c,d,e,f,g){const k=c.ka(),l=So(f,k);olympe.j.ls([l.wa(olympe.sc.Hb.C.vp,olympe.ui.F.mb,!0)],m=>{m.Tj(!0);b.appendChild(m,k+'_'+a.db.name(k),d,e);m.Cs(e);Rq(a,f,l,m,g)})}function Sq(a,b,c,d,e,f=olympe.j.kb.EMPTY){f!==olympe.j.kb.EMPTY&&olympe.j.Fl([f],g=>{g=g.valueOf();b.mg();d.yi((k,l,m)=>{Qq(a,b,k,g,m.gf(l),c,e)})});d.forEach((g,k,l)=>{const m=olympe.j.Qa(f).valueOf();Qq(a,b,g,m,l.gf(k),c,e)})}
1963
1964
  function Rq(a,b,c,d,e){var f=olympe.sc.ui.ec.T,g=olympe.sc.ui.Renderable.C,k=olympe.sc.ui.Renderable.D;const l=Hp(a,olympe.sc.ui.ec.R);f=Hp(a,f);g=Hp(a,g);k=Hp(a,k);const m=d.na(),n=a.C(b);a=a.D(b);b=olympe.j.$a(n,()=>e.ta(),()=>m.ta(),olympe.j.aa);const p=olympe.j.$a(a,()=>e.qa(),()=>m.qa(),olympe.j.aa),r=(t,u,v)=>{void 0===v?olympe.j.Wa([u],w=>{c.set(t,w.valueOf())}):olympe.j.Wa([u,v],(w,x)=>{x.valueOf()?c.set(t,w.valueOf()):c.remove(t)});olympe.j.yb().onDestroy(()=>c.remove(t))};d=d.ae();r(f,d.ta());
1964
1965
  r(l,d.qa());r(g,p,a);r(k,b,n)}olympe.sc.ui.Lb.fk=class extends olympe.sc.ui.mr{qs(){}D(){}C(){}};olympe.sc.ui.Lb.fk.D={Jy:'distributed',Uf:'manual'};olympe.sc.ui.Lb.Xe=class extends olympe.sc.ui.mr{qs(a,b){const c=olympe.j.aa,d=olympe.sc.ui.Ga.QX,e=new olympe.j.ga(this.Ea(olympe.sc.ui.Renderable.C,a,c,c.ZERO,!0),this.Ea(olympe.sc.ui.Renderable.D,a,c,c.ZERO,!0)),f=new olympe.ui.F.Xe(e);b.forEach((g,k,l)=>{const m=g.ka(),n=So(a,m);olympe.j.ls([n.wa(olympe.sc.Hb.C.vp,olympe.ui.F.mb,!0)],p=>{p.setPosition(g.ae(n));p.ah(g.Ea(d,n,c,c.ZERO));f.appendChild(p,m+'_'+this.db.name(m));p.Cs(l.gf(k))})});return f}D(){return olympe.j.ia.pb}C(){return olympe.j.ia.pb}};
1965
1966
  olympe.sc.ui.Lb.Xe.U=olympe.dc.Ja.C('016c2458e07561155a49',olympe.sc.ui.Lb.Xe);olympe.sc.ui.Lb.Zd=class extends olympe.sc.ui.Lb.fk{qs(a,b){var c=olympe.j.kb,d=olympe.j.aa;const e=olympe.j.ga,f=olympe.ui.F.Zd;var g=olympe.ui.ha.rc.Sc;const k=olympe.sc.ui.Lb.fk.D.Uf,l=olympe.sc.ui.Lb.fk.D.Jy,m=olympe.sc.ui.Lb.Zd.R,n=olympe.sc.ui.Lb.Zd.da;var p=olympe.sc.ui.Lb.Zd.$,r=olympe.sc.ui.Lb.Zd.T,t=this.Ea(olympe.sc.ui.Renderable.C,a,d,d.ZERO,!0);const u=this.Ea(olympe.sc.ui.Renderable.D,a,d,d.ZERO,!0);p=this.Ea(p,a,d,d.ZERO,!0);g=this.Ea(n,a,c,g,!0);c=this.Ea(m,a,c,k,!0);r=this.Ea(r,a,
@@ -1969,41 +1970,41 @@ new f(p,r,g,k,l,c);f.aP(d);Sq(this,f,a,b,new e(g,-1));return f}D(a){return this.
1969
1970
  olympe.sc.ui.Lb.Hf.T=olympe.sc.ui.Lb.Hf.U.fa('016c24680a7ae4f6964c');olympe.sc.ui.Lb.Hf.za=olympe.sc.ui.Lb.Hf.U.fa('016c2468a81749b0dea5');olympe.sc.ui.Lb.Hf.U.C=a=>{const b=a.create(olympe.sc.ui.Lb.Hf);a.Qb(olympe.sc.gg.C,b,olympe.sc.ui.ec.R);a.Qb(olympe.sc.gg.C,b,olympe.sc.ui.ec.T);a.Qb(olympe.sc.gg.C,b,olympe.sc.ui.Renderable.C);return b.ka()};olympe.sc.ui.Lb.xd=class extends olympe.sc.ui.Lb.fk{qs(a,b){var c=olympe.j.kb,d=olympe.j.aa;const e=olympe.j.ga,f=olympe.ui.F.xd;var g=olympe.ui.ha.Db.Sb;const k=olympe.sc.ui.Lb.fk.D.Uf,l=olympe.sc.ui.Lb.fk.D.Jy,m=olympe.sc.ui.Lb.xd.$,n=olympe.sc.ui.Lb.xd.T;var p=olympe.sc.ui.Lb.xd.da,r=olympe.sc.ui.Lb.xd.R;const t=this.Ea(olympe.sc.ui.Renderable.C,a,d,d.ZERO,!0);var u=this.Ea(olympe.sc.ui.Renderable.D,a,d,d.ZERO,!0);p=this.Ea(p,a,d,d.ZERO,!0);g=this.Ea(m,a,c,g,!0);c=this.Ea(n,a,c,k,!0);r=this.Ea(r,
1970
1971
  a,d,olympe.j.Ba(-1),!0);u=olympe.j.Xa([c,u,b.Qc(),p],(v,w,x,y)=>olympe.j.Ba(v.valueOf()===l&&0<x?(w-(x-1)*y)/x:-1),olympe.j.aa);d=new f(t,p,d.ZERO,d.ZERO);Sq(this,d,a,b,new e(r,u),g);return d}D(a){return this.Ea(olympe.sc.ui.Lb.xd.R,a,olympe.j.aa,olympe.j.Ba(-1)).Mj(-1)}C(a){const b=olympe.sc.ui.Lb.fk.D.Jy;return this.Ea(olympe.sc.ui.Lb.xd.T,a,olympe.j.kb,olympe.sc.ui.Lb.fk.D.Uf).Se(b)}};olympe.sc.ui.Lb.xd.U=olympe.dc.Ja.C('016c245de13d033efad4',olympe.sc.ui.Lb.xd);olympe.sc.ui.Lb.xd.$=olympe.sc.ui.Lb.xd.U.fa('016c2463a6aab57119e9');
1971
1972
  olympe.sc.ui.Lb.xd.T=olympe.sc.ui.Lb.xd.U.fa('016c245e748f56bc527c');olympe.sc.ui.Lb.xd.da=olympe.sc.ui.Lb.xd.U.fa('016c24642a7b84145c27');olympe.sc.ui.Lb.xd.R=olympe.sc.ui.Lb.xd.U.fa('016c2464540a0699987e');olympe.sc.ui.Lb.xd.U.C=a=>{const b=a.create(olympe.sc.ui.Lb.xd);a.Qb(olympe.sc.gg.C,b,olympe.sc.ui.ec.R);a.Qb(olympe.sc.gg.C,b,olympe.sc.ui.ec.T);return b.ka()};olympe.sc.ui.Of={};olympe.sc.ui.Of.Qv=class extends olympe.dc.CloudObject{};olympe.sc.ui.Of.Qv.U=olympe.dc.Ja.C('0168c77252629e4b7e4b',olympe.sc.ui.Of.Qv);olympe.sc.ui.Of.GestureEvent=class extends olympe.sc.ui.Of.Qv{};olympe.sc.ui.Of.GestureEvent.U=olympe.dc.Ja.C('0168dcccfca62952a55f',olympe.sc.ui.Of.GestureEvent);olympe.sc.ui.Of.GestureEvent.C={b0:'Horizontal Pan',C2:'Vertical Pan',c0:'Horizontal Swipe',m0:'Long Press',n0:'Long Press Up',h1:'Rotate',T0:'Pinch'};olympe.sc.ui.Of.MouseEvent=class extends olympe.sc.ui.Of.Qv{};olympe.sc.ui.Of.MouseEvent.U=olympe.dc.Ja.C('0168c772532efa4be843',olympe.sc.ui.Of.MouseEvent);olympe.sc.ui.Of.MouseEvent.C={t0:'Mouse Click',h_:'Mouse Double Click',w0:'Mouse Move',u0:'Mouse Enter',v0:'Mouse Leave',x0:'Mouse Wheel'};olympe.sc.ui.Of.hk=class extends olympe.sc.ui.Of.MouseEvent{};olympe.sc.ui.Of.hk.U=olympe.dc.Ja.C('0168dc74bc018fb93ca2',olympe.sc.ui.Of.hk);olympe.sc.ui.Of.Gr=class extends olympe.dc.CloudObject{};olympe.sc.ui.Of.Gr.U=olympe.dc.Ja.C('0168e0e2c4621df32516',olympe.sc.ui.Of.Gr);olympe.sc.ui.Of.TouchEvent=class extends olympe.sc.ui.Of.Qv{};olympe.sc.ui.Of.TouchEvent.U=olympe.dc.Ja.C('0168e0f0f8b8d1b6daa2',olympe.sc.ui.Of.TouchEvent);olympe.sc.ui.Of.TouchEvent.C={s2:'Touch Start',q2:'Touch Move',p2:'Touch End',o2:'Touch Cancel'};olympe.sc.ui.jf={};olympe.sc.ui.jf.Zk=class extends olympe.sc.Metadata{FA(){return olympe.sc.ui.jf.Zk.C}GA(){return olympe.sc.ui.jf.Zk.D}};olympe.sc.ui.jf.Zk.U=olympe.dc.Ja.C('01621f6ab29d770a3bba',olympe.sc.ui.jf.Zk);olympe.sc.ui.jf.Zk.C=olympe.sc.ui.jf.Zk.U.fa('01621f6ab58c2f884654');olympe.sc.ui.jf.Zk.D=olympe.sc.ui.jf.Zk.U.fa('01621f6ab6ac89348f20');olympe.sc.Gc={};olympe.sc.Gc.fg=class extends olympe.ui.F.ea.My{constructor(a){super();a=a.hf().na();olympe.j.yb();this.size=a.qa().vn(a.ta());this.fontSize=olympe.j.Ba(16);this.ca=Bc();Ac();this.ld=Cc();this.Ha=O();this.W=new olympe.j.Color(245,110,50);this.kc=olympe.j.Color.create(236,101,87);this.sb=olympe.j.Color.create(251,211,131);olympe.j.Color.create(217,83,79);this.$=olympe.j.Color.create(247,247,247);this.C=O();Bc();olympe.j.Color.create(43,43,43);this.Oa=olympe.j.Color.create(255,255,255,.5);this.ma=olympe.j.Color.create(218,
1972
- 218,218);this.O=olympe.j.Color.create(38,38,38);olympe.j.Color.create(172,146,236)}Ai(){return'Helvetica'}Bi(){return 100}cq(){return 0}hf(){return S(this,'rootElement',olympe.ui.F.ea.ar,void 0,()=>{let a=new olympe.ui.F.ea.ar;a.Ma(this.$);return a})}Gm(a){return S(this,'button',olympe.ui.F.ea.ak,a,b=>{let c=new olympe.ui.F.ea.ak;switch(b){case olympe.sc.Gc.fg.C.dK:c.Gb(new olympe.j.ga(this.fontSize.hb(12),this.fontSize.hb(3)));c.vb('Helvetica');c.rb(this.fontSize);c.Bb(100);c.Ma(this.W);c.lb(this.Ha);
1973
- c.Wb(0);c.nd(this.W);c.ad(1);c.Zj(this.C);K(c.Oa,this.W);K(c.R,this.W);break;case olympe.sc.Gc.fg.C.WU:c.Gb(new olympe.j.ga(this.fontSize.hb(12),this.fontSize.hb(3)));c.vb('Helvetica');c.rb(this.fontSize);c.Bb(100);c.Ma(this.sb);c.lb(this.ca);c.Wb(0);c.nd(this.sb);c.ad(1);break;case olympe.sc.Gc.fg.C.eC:c.Gb(new olympe.j.ga(0,90));c.vb('Helvetica');c.Bb(100);break;case olympe.sc.Gc.fg.C.bD:c.Gb(new olympe.j.ga(10,90));c.vb('Helvetica');c.Bb(100);break;default:c.Gb(new olympe.j.ga(this.fontSize.hb(12),
1974
- this.fontSize.hb(3))),c.vb('Helvetica'),c.rb(16),c.Bb(100),c.Ma(olympe.j.Color.create(69,90,100)),b=olympe.j.Color.create(255,255,255,.8),K(c.R,b),c.lb(this.Ha),c.Wb(5),c.nd(Dc()),c.ad(1),c.$g(new olympe.j.ga(0,0),5,1,olympe.j.Color.create(0,0,0,.2)),c.Zj(olympe.j.Color.create(69,90,100))}return c})}ru(a){return S(this,'label',olympe.ui.F.ea.Ph,a,b=>{let c=new olympe.ui.F.ea.Ph;c.vb('Helvetica');c.Bb(100);c.rb(this.fontSize);c.lb(this.ca);c.Xb(olympe.ui.ha.rc.Sc);switch(b){case olympe.sc.Gc.fg.D.jF:c.Bb(700);
1973
+ 218,218);this.O=olympe.j.Color.create(38,38,38);olympe.j.Color.create(172,146,236)}Ai(){return'Helvetica'}Bi(){return 100}cq(){return 0}hf(){return S(this,'rootElement',olympe.ui.F.ea.ar,void 0,()=>{let a=new olympe.ui.F.ea.ar;a.Ma(this.$);return a})}Gm(a){return S(this,'button',olympe.ui.F.ea.ak,a,b=>{let c=new olympe.ui.F.ea.ak;switch(b){case olympe.sc.Gc.fg.C.dK:c.Gb(new olympe.j.ga(this.fontSize.hb(12),this.fontSize.hb(3)));c.wb('Helvetica');c.rb(this.fontSize);c.Bb(100);c.Ma(this.W);c.lb(this.Ha);
1974
+ c.Wb(0);c.nd(this.W);c.ad(1);c.Zj(this.C);K(c.Oa,this.W);K(c.R,this.W);break;case olympe.sc.Gc.fg.C.WU:c.Gb(new olympe.j.ga(this.fontSize.hb(12),this.fontSize.hb(3)));c.wb('Helvetica');c.rb(this.fontSize);c.Bb(100);c.Ma(this.sb);c.lb(this.ca);c.Wb(0);c.nd(this.sb);c.ad(1);break;case olympe.sc.Gc.fg.C.fC:c.Gb(new olympe.j.ga(0,90));c.wb('Helvetica');c.Bb(100);break;case olympe.sc.Gc.fg.C.cD:c.Gb(new olympe.j.ga(10,90));c.wb('Helvetica');c.Bb(100);break;default:c.Gb(new olympe.j.ga(this.fontSize.hb(12),
1975
+ this.fontSize.hb(3))),c.wb('Helvetica'),c.rb(16),c.Bb(100),c.Ma(olympe.j.Color.create(69,90,100)),b=olympe.j.Color.create(255,255,255,.8),K(c.R,b),c.lb(this.Ha),c.Wb(5),c.nd(Dc()),c.ad(1),c.$g(new olympe.j.ga(0,0),5,1,olympe.j.Color.create(0,0,0,.2)),c.Zj(olympe.j.Color.create(69,90,100))}return c})}ru(a){return S(this,'label',olympe.ui.F.ea.Ph,a,b=>{let c=new olympe.ui.F.ea.Ph;c.wb('Helvetica');c.Bb(100);c.rb(this.fontSize);c.lb(this.ca);c.Xb(olympe.ui.ha.rc.Sc);switch(b){case olympe.sc.Gc.fg.D.kF:c.Bb(700);
1975
1976
  break;case olympe.sc.Gc.fg.D.qr:c.Fc(this.fontSize.Ua(2)),c.Kc(this.fontSize.Ua(2)),c.lb(this.Ha),c.rb(this.fontSize.hb(.8))}return c})}jx(a){return S(this,'textField',olympe.ui.F.ea.kl,a,b=>{let c=new olympe.ui.F.ea.kl;c.lb(this.ca);c.Zg(this.ld);c.td(2);c.sd(2);c.Fc(8);c.Kc(8);c.rb(this.fontSize.hb(.8));c.Bb(100);c.nd(this.ma);c.ad(1);c.Ma(this.C);switch(b){case olympe.sc.Gc.fg.W.qr:c.Fc(2);c.Kc(2);c.td(1);c.sd(1);c.nd(this.O);break;default:c.Ma(olympe.j.Color.create(234,234,234)),c.$g(new olympe.j.ga(0,
1976
- 1),2,0,olympe.j.Color.create(0,0,0,.2),!0),c.Wb(5),c.nd(olympe.j.Color.create(128,128,128,.2)),c.lb(olympe.j.Color.create(128,128,128)),c.Bb(400)}return c})}ix(a){return S(this,'textArea',olympe.ui.F.ea.jl,a,()=>{let b=new olympe.ui.F.ea.jl;b.Ma(this.$);b.lb(this.ca);b.nd(this.ma);b.rb(12);b.vb('Helvetica')})}Xw(a){return S(this,olympe.ui.F.ea.ji.Dc,olympe.ui.F.ea.ji,a,b=>{let c=new olympe.ui.F.ea.ji;switch(b){case olympe.sc.Gc.fg.O.uR:c.Ma(this.C);break;case olympe.sc.Gc.fg.O.wR:c.Ma(this.W);break;
1977
+ 1),2,0,olympe.j.Color.create(0,0,0,.2),!0),c.Wb(5),c.nd(olympe.j.Color.create(128,128,128,.2)),c.lb(olympe.j.Color.create(128,128,128)),c.Bb(400)}return c})}ix(a){return S(this,'textArea',olympe.ui.F.ea.jl,a,()=>{let b=new olympe.ui.F.ea.jl;b.Ma(this.$);b.lb(this.ca);b.nd(this.ma);b.rb(12);b.wb('Helvetica')})}Xw(a){return S(this,olympe.ui.F.ea.ji.Dc,olympe.ui.F.ea.ji,a,b=>{let c=new olympe.ui.F.ea.ji;switch(b){case olympe.sc.Gc.fg.O.uR:c.Ma(this.C);break;case olympe.sc.Gc.fg.O.wR:c.Ma(this.W);break;
1977
1978
  case olympe.sc.Gc.fg.O.vR:c.Ma(this.kc);break;default:c.Ma(this.C),c.nd(this.ma),c.ad(1),c.az('images/arrow.png'),b=new olympe.j.ga(this.fontSize.hb(.6),this.fontSize.hb(.6)),K(c.C,b),b=new olympe.ui.F.ea.ed,b.Ma(this.C),b.nd(this.ma),b.ad(1),b.$g(new olympe.j.ga(2,2),5),K(c.D,b)}return c})}Tw(){return S(this,olympe.ui.F.ea.gi.Dc,olympe.ui.F.ea.gi,void 0,a=>{const b=new olympe.ui.F.ea.gi;b.oA().Gb(new olympe.j.ga(60,30));b.tf().Ma(olympe.j.Color.create(230,230,230));b.tf().nd(olympe.j.Color.create(191,
1978
1979
  191,191));b.tf().ad(2);b.tf().Wb(100);b.Kg().Ma(olympe.j.Color.create(60,187,51));b.Kg().Wb(100);b.uf().nd(olympe.j.Color.create(191,191,191));b.uf().ad(2);b.uf().Wb(100);b.uf().Ma(olympe.j.Color.create(230,230,230));b.sf().nd(olympe.j.Color.create(191,191,191));b.sf().ad(2);b.sf().Wb(100);b.sf().Ma(olympe.j.Color.create(230,230,230));switch(a){case olympe.sc.Gc.fg.R.qr:b.sf().nd(this.O),b.sf().ad(1),b.Kg().nd(this.O),b.Kg().ad(1),b.tf().nd(this.O),b.tf().ad(1),b.uf().nd(this.O),b.uf().ad(1)}return b})}rA(a){return S(this,
1979
1980
  '',olympe.ui.F.ea.pm,a,()=>{let b=new olympe.ui.F.ea.pm;var c=new olympe.ui.F.ea.ed;c.Gb(new olympe.j.ga(206,19));c.ad(olympe.j.aa.ONE);c.Wb(olympe.j.Ba(10));b.C=c;c=new olympe.ui.F.ea.ed;c.Gb(new olympe.j.ga(12,24));c.ad(olympe.j.aa.ONE);c.Wb(olympe.j.Ba(10));b.D=c;c=new olympe.ui.F.ea.ed;c.Gb(new olympe.j.ga(12,24));c.ad(olympe.j.aa.ONE);c.Wb(olympe.j.Ba(10));b.O=c;return b})}ex(){return S(this,'popupPanel',olympe.ui.F.ea.yj,void 0,()=>{let a=new olympe.ui.F.ea.yj;K(a.C,this.Oa);a.Ma(this.C);return a})}Sr(a){return S(this,
1980
- 'alert',olympe.ui.F.ea.Jk,a,()=>{let b=new olympe.ui.F.ea.Jk;b.Gb(new olympe.j.ga(360,1));b.Yd(!1);b.Ed(!0);K(b.C,this.Oa);b.Ma(this.C);var c=this.fontSize.hb(1.5);K(b.D,c);b.Df(this.fontSize.hb(1.5));K(b.O,olympe.sc.Gc.fg.D.jF);K(b.R,olympe.sc.Gc.fg.C.dK);b.Wb(0);return b})}Zw(a){return S(this,'grid',olympe.ui.F.ea.vj,a,()=>{let b=new olympe.ui.F.ea.vj;b.Ma(this.$);K(b.C,olympe.sc.Gc.fg.D.eC);K(b.D,olympe.sc.Gc.fg.D.bD);b.Vj(30);Hf(b);return b})}iA(a){return S(this,'bubble',olympe.ui.F.ea.qp,a,()=>
1981
+ 'alert',olympe.ui.F.ea.Jk,a,()=>{let b=new olympe.ui.F.ea.Jk;b.Gb(new olympe.j.ga(360,1));b.Yd(!1);b.Ed(!0);K(b.C,this.Oa);b.Ma(this.C);var c=this.fontSize.hb(1.5);K(b.D,c);b.Df(this.fontSize.hb(1.5));K(b.O,olympe.sc.Gc.fg.D.kF);K(b.R,olympe.sc.Gc.fg.C.dK);b.Wb(0);return b})}Zw(a){return S(this,'grid',olympe.ui.F.ea.vj,a,()=>{let b=new olympe.ui.F.ea.vj;b.Ma(this.$);K(b.C,olympe.sc.Gc.fg.D.fC);K(b.D,olympe.sc.Gc.fg.D.cD);b.Vj(30);Hf(b);return b})}iA(a){return S(this,'bubble',olympe.ui.F.ea.qp,a,()=>
1981
1982
  {let b=new olympe.ui.F.ea.qp;K(b.D,10);K(b.O,5);K(b.R,10);var c=olympe.j.Color.create(255,255,255);K(b.T,c);c=olympe.j.Color.create(200,200,200);K(b.W,c);K(b.$,1);return b})}pu(a){return S(this,'inputPopup',olympe.ui.F.ea.Qk,a,()=>{let b=new olympe.ui.F.ea.Qk;b.Gb(new olympe.j.ga(500,1));b.Yd(!1);b.Ed(!0);var c=olympe.j.Color.create(0,0,0,.6);K(b.C,c);b.Ma(this.$);K(b.D,10);b.Df(10);K(b.R,5);K(b.T,5);K(b.O,'Helvetica');return b})}EA(a){return S(this,'windowComponent',olympe.ui.F.ea.Tp,a,()=>{let b=
1982
- new olympe.ui.F.ea.Tp;K(b.W,olympe.j.la(40));K(b.R,olympe.j.la(100));K(b.T,olympe.j.la(100));If(b);Jf(b);K(b.C,1);var c=new olympe.j.ga(25,25);K(b.D,c);K(b.O,'images/close.png');return b})}uA(a){return S(this,olympe.ui.F.ea.sm.Dc,olympe.ui.F.ea.sm,a,b=>{const c=new olympe.ui.F.ea.ed,d=new olympe.ui.F.ea.sm;d.Wu(!1);d.bB(c);switch(b){case olympe.sc.Gc.fg.T.qr:d.Wu(!0),d.aB(1),c.Ma(this.O)}return d})}mA(a){return S(this,olympe.ui.F.ea.nf.Dc,olympe.ui.F.ea.nf,a,b=>{const c=new olympe.ui.F.ea.nf;switch(b){case olympe.ui.F.ea.nf.D.GG:K(c.C,
1983
- olympe.ui.F.ea.nf.C.aw);break;default:K(c.C,olympe.ui.F.ea.nf.C.Oy)}return c})}};olympe.sc.Gc.fg.O={uR:'dropdown-item',wR:'dropdown-selectedvalue',vR:'dropdown-mouseoveritem'};olympe.sc.Gc.fg.D={eC:'grid-cell',bD:'grid-selected-cell',jF:'alertTitle',qr:'panel'};olympe.sc.Gc.fg.C={dK:'selected',WU:'warning',eC:'grid-cell',bD:'grid-selected-cell'};olympe.sc.Gc.fg.W={qr:'panel'};olympe.sc.Gc.fg.R={qr:'panel'};olympe.sc.Gc.fg.T={qr:'panel'};function Tq(a,b){a.C=b}
1983
+ new olympe.ui.F.ea.Tp;K(b.W,olympe.j.la(40));K(b.R,olympe.j.la(100));K(b.T,olympe.j.la(100));If(b);Jf(b);K(b.C,1);var c=new olympe.j.ga(25,25);K(b.D,c);K(b.O,'images/close.png');return b})}uA(a){return S(this,olympe.ui.F.ea.sm.Dc,olympe.ui.F.ea.sm,a,b=>{const c=new olympe.ui.F.ea.ed,d=new olympe.ui.F.ea.sm;d.Wu(!1);d.bB(c);switch(b){case olympe.sc.Gc.fg.T.qr:d.Wu(!0),d.aB(1),c.Ma(this.O)}return d})}mA(a){return S(this,olympe.ui.F.ea.nf.Dc,olympe.ui.F.ea.nf,a,b=>{const c=new olympe.ui.F.ea.nf;switch(b){case olympe.ui.F.ea.nf.D.HG:K(c.C,
1984
+ olympe.ui.F.ea.nf.C.aw);break;default:K(c.C,olympe.ui.F.ea.nf.C.Oy)}return c})}};olympe.sc.Gc.fg.O={uR:'dropdown-item',wR:'dropdown-selectedvalue',vR:'dropdown-mouseoveritem'};olympe.sc.Gc.fg.D={fC:'grid-cell',cD:'grid-selected-cell',kF:'alertTitle',qr:'panel'};olympe.sc.Gc.fg.C={dK:'selected',WU:'warning',fC:'grid-cell',cD:'grid-selected-cell'};olympe.sc.Gc.fg.W={qr:'panel'};olympe.sc.Gc.fg.R={qr:'panel'};olympe.sc.Gc.fg.T={qr:'panel'};function Tq(a,b){a.C=b}
1984
1985
  olympe.sc.Gc.KS=class extends olympe.ui.F.Screen{constructor(a){super();this.xa=a;this.C=null}render(a){var b=olympe.j.ga,c=olympe.j.Color,d=olympe.j.Za;const e=olympe.j.Ba;var f=olympe.ui.F.cb;const g=olympe.ui.F.ye,k=olympe.ui.F.jc;var l=olympe.ui.F.Mb,m=a.qa();a=a.ta();const n=d(olympe.j.aa),p=d(olympe.j.aa),r=d(olympe.j.aa),t=d(olympe.j.aa);olympe.j.Wa([m],y=>{350<y.valueOf()?(n.update(e(350)),p.update(e(60)),r.update(e(24))):(n.update(e(175)),p.update(e(30)),r.update(e(16)));t.update(e(500>y.valueOf()?
1985
- .5:1))});d=new b(n.wa(),p.wa());m=new olympe.ui.F.xd(m,15,30,30,!1,a);m.Ma(Bc());b=new g(new b(t.wa().hb(352),t.wa().hb(204)));b.Yg('images/app_launcher_logo.svg');m.appendChild(b,'logo',olympe.ui.ha.Db.Sb);const u=new f(d);u.Jb('Invalid user name or password!').lb(c.red()).Bb(800).rb(r.wa()).Xb(olympe.ui.ha.rc.Sc).vb('Roboto').rd(!0);m.appendChild(u,'errorLabel',olympe.ui.ha.Db.Sb);b=new f(d);b.Jb('User Name').lb(Cc()).vb('Roboto').rb(r.wa()).Bb(800).Xb(olympe.ui.ha.rc.Sc);m.appendChild(b,'userNameLabel',
1986
- olympe.ui.ha.Db.Sb);const v=new l(d);v.zn(olympe.ui.ha.Er.zG).Og('username').Zg(c.create(132,132,132)).lb(c.create(250,250,250)).ip().vb('Roboto').rb(r.wa()).Ld(0,Dc()).Ma(N());m.appendChild(v,'userNameField',olympe.ui.ha.Db.Sb);f=new f(d);f.Jb('Password').lb(Cc()).vb('Roboto').rb(r.wa()).Bb(800).Xb(olympe.ui.ha.rc.Sc);m.appendChild(f,'pwdLabel',olympe.ui.ha.Db.Sb);const w=new l(d);w.zn(olympe.ui.ha.Er.bK).Og('password').Zg(c.create(132,132,132)).lb(c.create(250,250,250)).ip().vb('Roboto').rb(r.wa()).Ld(0,
1987
- Dc()).Ma(N());m.appendChild(w,'pwd',olympe.ui.ha.Db.Sb);l=(new k(d,'Sign In')).Zj(c.create(20,100,253)).Ma(c.create(0,86,253)).vb('Roboto').rb(r).lb(O());m.appendChild(l,'loginButton',olympe.ui.ha.Db.Sb);this.C&&(c=(new k(d,'Guest')).Zj(c.create(20,100,253)).Ma(c.green()).vb('Roboto').rb(r).lb(O()),c.Vc(()=>{this.C()}),m.appendChild(c,'guestButton',olympe.ui.ha.Db.Sb));const x=()=>{var y=olympe.j.Qa(v.Lj());y=y?y.valueOf().replace(/^\s*|\s*$/,''):'';y=y.split('@');y=y[0];const A=new olympe.xa.Request;
1986
+ .5:1))});d=new b(n.wa(),p.wa());m=new olympe.ui.F.xd(m,15,30,30,!1,a);m.Ma(Bc());b=new g(new b(t.wa().hb(352),t.wa().hb(204)));b.Yg('images/app_launcher_logo.svg');m.appendChild(b,'logo',olympe.ui.ha.Db.Sb);const u=new f(d);u.Jb('Invalid user name or password!').lb(c.red()).Bb(800).rb(r.wa()).Xb(olympe.ui.ha.rc.Sc).wb('Roboto').rd(!0);m.appendChild(u,'errorLabel',olympe.ui.ha.Db.Sb);b=new f(d);b.Jb('User Name').lb(Cc()).wb('Roboto').rb(r.wa()).Bb(800).Xb(olympe.ui.ha.rc.Sc);m.appendChild(b,'userNameLabel',
1987
+ olympe.ui.ha.Db.Sb);const v=new l(d);v.zn(olympe.ui.ha.Er.AG).Og('username').Zg(c.create(132,132,132)).lb(c.create(250,250,250)).ip().wb('Roboto').rb(r.wa()).Ld(0,Dc()).Ma(N());m.appendChild(v,'userNameField',olympe.ui.ha.Db.Sb);f=new f(d);f.Jb('Password').lb(Cc()).wb('Roboto').rb(r.wa()).Bb(800).Xb(olympe.ui.ha.rc.Sc);m.appendChild(f,'pwdLabel',olympe.ui.ha.Db.Sb);const w=new l(d);w.zn(olympe.ui.ha.Er.bK).Og('password').Zg(c.create(132,132,132)).lb(c.create(250,250,250)).ip().wb('Roboto').rb(r.wa()).Ld(0,
1988
+ Dc()).Ma(N());m.appendChild(w,'pwd',olympe.ui.ha.Db.Sb);l=(new k(d,'Sign In')).Zj(c.create(20,100,253)).Ma(c.create(0,86,253)).wb('Roboto').rb(r).lb(O());m.appendChild(l,'loginButton',olympe.ui.ha.Db.Sb);this.C&&(c=(new k(d,'Guest')).Zj(c.create(20,100,253)).Ma(c.green()).wb('Roboto').rb(r).lb(O()),c.Vc(()=>{this.C()}),m.appendChild(c,'guestButton',olympe.ui.ha.Db.Sb));const x=()=>{var y=olympe.j.Qa(v.Lj());y=y?y.valueOf().replace(/^\s*|\s*$/,''):'';y=y.split('@');y=y[0];const A=new olympe.xa.Request;
1988
1989
  A.set('username',y);mf(A,olympe.j.Qa(w.Lj()));lf(this.xa,A,void 0,H=>{H&&u.rd(!1)})};v.ej(y=>{y.sA().Rb(13)&&w.mj()});w.ej(y=>{y.sA().Rb(13)&&x()});l.Vc(x);v.mj();return m}};function Uq(a,b){a.D=b}function Vq(a,b){a.C=b}
1989
1990
  olympe.sc.Gc.LS=class extends olympe.ui.F.Screen{constructor(a){super();this.C=this.D=null;this.O=a}render(a){const b=olympe.j.ga,c=olympe.ui.F.cb;var d=olympe.ui.F.ye,e=a.qa();const f=a.ta(),g=olympe.j.Xa([e],m=>olympe.j.Ba(500>m.valueOf()?.5:1),olympe.j.aa),k=(new olympe.dc.Mp(olympe.sc.ui.Vh.U.ka(),olympe.sc.ui.Oz)).kJ().ek();a=new olympe.ui.F.xd(a.qa(),10,10,30,!1,f);a.Ma(Bc());d=new d(new b(g.hb(352),g.hb(204)));d.Yg('images/app_launcher_logo.svg');a.appendChild(d,'logo',olympe.ui.ha.Db.Sb);
1990
- const l=oc(e,375);e=new olympe.ui.F.uU(new b(l,f.ya(g.hb(204).Sa(100))),k,m=>{m=(new c(new b(l,70))).Jb(m.bb());m.Xb(olympe.ui.ha.rc.Sc).Ub(olympe.ui.ha.Db.Sb).rb(32);m.lb(Cc());m.Ma(Dc());return m},m=>{m&&this.D&&this.D(m)});e.Ma(N());jg(e,()=>{});a.appendChild(e,'appList',olympe.ui.ha.Db.Sb);e=new olympe.ui.F.jc(new b(l,50));e.Jb('Logout').lb(N()).vb('Roboto').rb(20).Bb(800).Wb(15).Ld(0,Dc()).Ma(Cc());e.Vc(()=>{this.C&&this.C()});e.rd(this.O.mx());a.appendChild(e,'logoutButton',olympe.ui.ha.Db.Sb);
1991
- return a}};function Wq(a){return q(function*(){a.$||(yield aq(a),a.$=!0)})}function Xq(a,b,c){var d=new olympe.sc.Gc.KS(a.T);c.BD(d,'login');Tq(d,()=>{c.VA('logged')});c.eP();d=new olympe.sc.Gc.LS(a.T);c.BD(d,'selection');c.zD('login','selection','logged');c.zD('selection','login','logout');b.appendChild(c,'launcher',new olympe.j.ga(0,0));Uq(d,e=>{a.C=e.ka();b.removeChild('launcher');dq(a)});Vq(d,()=>{a.T.Cu().then(()=>c.VA('logout'))})}
1991
+ const l=oc(e,375);e=new olympe.ui.F.uU(new b(l,f.ya(g.hb(204).Sa(100))),k,m=>{m=(new c(new b(l,70))).Jb(m.bb());m.Xb(olympe.ui.ha.rc.Sc).Ub(olympe.ui.ha.Db.Sb).rb(32);m.lb(Cc());m.Ma(Dc());return m},m=>{m&&this.D&&this.D(m)});e.Ma(N());jg(e,()=>{});a.appendChild(e,'appList',olympe.ui.ha.Db.Sb);e=new olympe.ui.F.jc(new b(l,50));e.Jb('Logout').lb(N()).wb('Roboto').rb(20).Bb(800).Wb(15).Ld(0,Dc()).Ma(Cc());e.Vc(()=>{this.C&&this.C()});e.rd(this.O.mx());a.appendChild(e,'logoutButton',olympe.ui.ha.Db.Sb);
1992
+ return a}};function Wq(a){return q(function*(){a.$||(yield aq(a),a.$=!0)})}function Xq(a,b,c){var d=new olympe.sc.Gc.KS(a.T);c.CD(d,'login');Tq(d,()=>{c.VA('logged')});c.eP();d=new olympe.sc.Gc.LS(a.T);c.CD(d,'selection');c.AD('login','selection','logged');c.AD('selection','login','logout');b.appendChild(c,'launcher',new olympe.j.ga(0,0));Uq(d,e=>{a.C=e.ka();b.removeChild('launcher');dq(a)});Vq(d,()=>{a.T.Cu().then(()=>c.VA('logout'))})}
1992
1993
  olympe.sc.Gc.xr=class extends olympe.sc.ve.xr{constructor(a,b,c,d,e,f,g,k,l,m,n,p,r,t){super(a,c,d,f,g,m,n,p,t,null);this.ea=l;this.ma=b;this.sb=k;this.$=!1;this.za=t.get('manifestBaseUrl');this.Pb=t.get('serviceWorkerUrl');this.R=r}da(){this.ma.da(this.ea)}ca(){super.ca();const a=this.ma.hf();if(this.za.length){var b=(new URL(window.location.toString())).origin;b=`${this.za}/${this.C}?origin=${encodeURI(b)}`;a.Nx(b)}if(this.R.O()){const c=this.Pb+'&appName='+this.C;this.R.register(c).then(()=>{this.R.C(self.location.toString());
1993
1994
  this.R.C(c);Array.from(document.querySelectorAll('script,link,img')).map(d=>d.src||d.href).filter(d=>!!d).forEach(d=>{this.R.C(d)})})}this.V.debug('Remove loading spinner');a.Qr()}run(){const a=olympe.Y.mf.C.nr,b=olympe.Y.mf.C.jk,c=olympe.Y.mf.C.hi;let d=!1;const e=olympe.ui.Na.hf(),f=new olympe.ui.F.mL(e.na());0===this.C.length?Xq(this,e,f):this.da();olympe.j.Wa([this.O.getState()],k=>{switch(k){case a:case b:this.V.debug('Server session opened or working offline, start the application');this.$=
1994
- !1;Wq(this).then(olympe.j.yb().re(()=>{0===this.C.length?f.VA('logged'):d||(dq(this),d=!0)}));break;case c:this.V.debug('Impossible to open a connection to the orchestrator and offline mode is disabled.')}},'Runtime initial connectivity state listener');let g=!1;olympe.j.Fl([this.O.getState()],k=>{const l=k===olympe.Y.mf.C.nr;g&&l&&this.sb.D();g=k===olympe.Y.mf.C.hi})}};olympe.sc.Gc.xr.Aa=[olympe.Af.uF];olympe.sc.Gc.ba={oL:'sc.uiruntime.Theme',Ft:'sc.uiruntime.RuntimeAppConfig'};olympe.sc.Gc.sy={Wi:'sc.uiruntime.Main'};olympe.sc.Gc.pa={uJ:'app.manifest.enabled',HC:'app.manifest.httpHost',wJ:'app.manifest.httpPort',xJ:'app.manifest.httpSSL',vJ:'app.manifest.httpBasePath',PK:'app.serviceworker.url',NK:'app.serviceworker.cacheVersion'};
1995
- olympe.sa.$e(function(a){B(a,olympe.sc.Gc.ba.oL,olympe.sc.Gc.fg,olympe.ui.ba.Ob);var b=a.getParameter(olympe.Y.pa.Hy);E(a,olympe.sc.Gc.pa.uJ,!0);E(a,olympe.sc.Gc.pa.HC,b);b='localhost'===a.getParameter(olympe.sc.Gc.pa.HC);E(a,olympe.sc.Gc.pa.wJ,b?3141:443);E(a,olympe.sc.Gc.pa.xJ,!b);E(a,olympe.sc.Gc.pa.vJ,'runtime/manifest');E(a,olympe.sc.Gc.pa.PK,'/service_worker.js');E(a,olympe.sc.Gc.pa.NK,a.getParameter(olympe.Jo.pa.VERSION)||'1');C(a,olympe.sc.Gc.ba.Ft,[olympe.sc.ve.ba.Ft,new olympe.sa.zb(olympe.sc.Gc.pa.uJ),
1996
- new olympe.sa.zb(olympe.sc.Gc.pa.HC),new olympe.sa.zb(olympe.sc.Gc.pa.wJ),new olympe.sa.zb(olympe.sc.Gc.pa.xJ),new olympe.sa.zb(olympe.sc.Gc.pa.vJ),new olympe.sa.zb(olympe.sc.Gc.pa.PK),new olympe.sa.zb(olympe.sc.Gc.pa.NK)],(c,d,e,f,g,k,l,m)=>{c=new Map(c);e=(new olympe.Fa.Mv(e,f,k,g)).le();c.set('manifestBaseUrl',d?e:'');c.set('serviceWorkerUrl',`${l}?version=${m}`);return c});B(a,olympe.sc.Gc.sy.Wi,olympe.sc.Gc.xr,olympe.sc.ba.Vb,olympe.ui.ba.Ob,olympe.xa.ba.Ob,olympe.Y.ba.bm,olympe.Y.ba.Jt,olympe.dc.query.ba.fw,
1995
+ !1;Wq(this).then(olympe.j.yb().re(()=>{0===this.C.length?f.VA('logged'):d||(dq(this),d=!0)}));break;case c:this.V.debug('Impossible to open a connection to the orchestrator and offline mode is disabled.')}},'Runtime initial connectivity state listener');let g=!1;olympe.j.Fl([this.O.getState()],k=>{const l=k===olympe.Y.mf.C.nr;g&&l&&this.sb.D();g=k===olympe.Y.mf.C.hi})}};olympe.sc.Gc.xr.Aa=[olympe.Af.vF];olympe.sc.Gc.ba={oL:'sc.uiruntime.Theme',Ft:'sc.uiruntime.RuntimeAppConfig'};olympe.sc.Gc.sy={Wi:'sc.uiruntime.Main'};olympe.sc.Gc.pa={uJ:'app.manifest.enabled',IC:'app.manifest.httpHost',wJ:'app.manifest.httpPort',xJ:'app.manifest.httpSSL',vJ:'app.manifest.httpBasePath',PK:'app.serviceworker.url',NK:'app.serviceworker.cacheVersion'};
1996
+ olympe.sa.$e(function(a){B(a,olympe.sc.Gc.ba.oL,olympe.sc.Gc.fg,olympe.ui.ba.Ob);var b=a.getParameter(olympe.Y.pa.Hy);E(a,olympe.sc.Gc.pa.uJ,!0);E(a,olympe.sc.Gc.pa.IC,b);b='localhost'===a.getParameter(olympe.sc.Gc.pa.IC);E(a,olympe.sc.Gc.pa.wJ,b?3141:443);E(a,olympe.sc.Gc.pa.xJ,!b);E(a,olympe.sc.Gc.pa.vJ,'runtime/manifest');E(a,olympe.sc.Gc.pa.PK,'/service_worker.js');E(a,olympe.sc.Gc.pa.NK,a.getParameter(olympe.Jo.pa.VERSION)||'1');C(a,olympe.sc.Gc.ba.Ft,[olympe.sc.ve.ba.Ft,new olympe.sa.zb(olympe.sc.Gc.pa.uJ),
1997
+ new olympe.sa.zb(olympe.sc.Gc.pa.IC),new olympe.sa.zb(olympe.sc.Gc.pa.wJ),new olympe.sa.zb(olympe.sc.Gc.pa.xJ),new olympe.sa.zb(olympe.sc.Gc.pa.vJ),new olympe.sa.zb(olympe.sc.Gc.pa.PK),new olympe.sa.zb(olympe.sc.Gc.pa.NK)],(c,d,e,f,g,k,l,m)=>{c=new Map(c);e=(new olympe.Fa.Mv(e,f,k,g)).le();c.set('manifestBaseUrl',d?e:'');c.set('serviceWorkerUrl',`${l}?version=${m}`);return c});B(a,olympe.sc.Gc.sy.Wi,olympe.sc.Gc.xr,olympe.sc.ba.Vb,olympe.ui.ba.Ob,olympe.xa.ba.Ob,olympe.Y.ba.bm,olympe.Y.ba.Jt,olympe.dc.query.ba.fw,
1997
1998
  olympe.host.ba.fo,olympe.host.ba.Lt,olympe.sc.Gc.ba.oL,olympe.sc.ba.hw,olympe.sc.ve.ba.dl,olympe.oa.ba.ho,olympe.Fa.ba.Dz,olympe.sc.Gc.ba.Ft);olympe.Af.Jq(a,olympe.sc.Gc.sy.Wi,'sc.runtime');olympe.Af.Jq(a,olympe.sc.Gc.sy.Wi,'sc.ui');olympe.Af.Jq(a,olympe.sc.Gc.sy.Wi)},'olympe.sc.uiruntime');olympe.public={};olympe.public.Lc=class a{static eW(b,c){const d=new SRPClient,e=d.generateRandomSalt();return{username:b,login:b,salt:e,verifier:d.generateVerifier(e,b,c)}}static getState(){return olympe.j.Qa(olympe.public.Lc.get().D.wa())}static mx(b){return a.D(olympe.public.Lc.get().mx(),b).pipe(rxjs.operators.map(c=>c.valueOf()))}static wW(){return olympe.j.Qa(olympe.public.Lc.get().wk())}static kY(b){return a.D(olympe.public.Lc.get().wk(),b)}static vk(){var b=olympe.j,c=b.Qa;var d=olympe.public.Lc.get().C.wa().Ci();
1998
1999
  return c.call(b,d)}static Iq(){return new Promise((b,c)=>{olympe.public.Lc.get().Iq(d=>d?c(d):b())})}static PW(){return olympe.j.Qa(olympe.public.Lc.get().ou())||void 0}static vX(){const b=Fd(olympe.public.Lc.get());return{user:b.Lg(),userTag:b.wk(),nonce:b.Ci(),payload:b.Rv(),idpName:b.qm(),protocol:b.kr()}}static OW(){return Array.from(nf().keys())}static xn(){olympe.public.Lc.get().xn()}static xu(b){return new Promise((c,d)=>{olympe.public.Lc.get().xu(b,e=>e?d(e):c())})}static VX(b,c){return olympe.public.Lc.C((new Map).set('username',
1999
2000
  b).set('password',c),olympe.xa.Tg.C.SRP)}static WX(b){const c=nf();if(0===c.size||b&&!c.has(b)){var d=0===c.size?'There are no available IDPs':`The IDP name ${b} is not valid, the valid names are ${Array.from(c.keys())}`;return Promise.reject(d)}b?(d=b,b=c.get(b)):(b=Array.from(c)[0],d=b[0],b=b[1]);return olympe.public.Lc.C((new Map).set('idpName',d),b)}static UX(){return olympe.public.Lc.C(new Map,olympe.xa.Tg.C.SAML)}static XX(b,c){return olympe.public.Lc.C((new Map).set('username',b).set('nonce',
2000
- c),olympe.xa.Tg.C.NC)}static TX(){return olympe.public.Lc.C(new Map,olympe.xa.Tg.C.OAUTH2)}static Cu(){return olympe.public.Lc.get().Cu()}static C(b,c){const d=new olympe.xa.Request;for(const [e,f]of b)d.set(e,f);return new Promise(e=>{lf(olympe.public.Lc.get(),d,c,()=>{e()})})}static get(){return olympe.xa.rk()}static D(b,c){return b.asObservable('function'===typeof c.se?c.se():c)}};olympe.public.Lc.logout=olympe.public.Lc.Cu;olympe.public.Lc.loginOpenID=olympe.public.Lc.TX;
2001
+ c),olympe.xa.Tg.C.OC)}static TX(){return olympe.public.Lc.C(new Map,olympe.xa.Tg.C.OAUTH2)}static Cu(){return olympe.public.Lc.get().Cu()}static C(b,c){const d=new olympe.xa.Request;for(const [e,f]of b)d.set(e,f);return new Promise(e=>{lf(olympe.public.Lc.get(),d,c,()=>{e()})})}static get(){return olympe.xa.rk()}static D(b,c){return b.asObservable('function'===typeof c.se?c.se():c)}};olympe.public.Lc.logout=olympe.public.Lc.Cu;olympe.public.Lc.loginOpenID=olympe.public.Lc.TX;
2001
2002
  olympe.public.Lc.loginToken=olympe.public.Lc.XX;olympe.public.Lc.loginSAML=olympe.public.Lc.UX;olympe.public.Lc.loginSSO=olympe.public.Lc.WX;olympe.public.Lc.loginSRP=olympe.public.Lc.VX;olympe.public.Lc.getUserFromToken=olympe.public.Lc.xu;olympe.public.Lc.sendKeepAlive=olympe.public.Lc.xn;olympe.public.Lc.getIDPNames=olympe.public.Lc.OW;olympe.public.Lc.getUserToken=olympe.public.Lc.vX;olympe.public.Lc.getIDPToken=olympe.public.Lc.PW;olympe.public.Lc.refreshToken=olympe.public.Lc.Iq;
2002
2003
  olympe.public.Lc.getToken=olympe.public.Lc.vk;olympe.public.Lc.observeUser=olympe.public.Lc.kY;olympe.public.Lc.getCurrentUser=olympe.public.Lc.wW;olympe.public.Lc.isAuthenticated=olympe.public.Lc.mx;olympe.public.Lc.getState=olympe.public.Lc.getState;olympe.public.Lc.generateSRPData=olympe.public.Lc.eW;olympe.public.Yb=class{static create(a){return new class extends olympe.dc.Ca.Sq{C(b,c){b=a(olympe.dc.CloudObject.get(c));if('boolean'===typeof b)return b;const d=olympe.j.Za(olympe.j.ia),e=b.subscribe(f=>d.update(olympe.j.hc(f)));olympe.j.yb().Ve(()=>e.unsubscribe());return d.wa()}}}};
2003
- olympe.public.Qn=class{static create(a){return new class extends olympe.dc.tg.Sq{O(b,c){return olympe.dc.CloudObject.get(c)}compare(b,c){b=a(b,c);if('number'===typeof b)return b;const d=olympe.j.Za(olympe.j.aa),e=b.subscribe(f=>d.update(olympe.j.Ba(f)));olympe.j.yb().Ve(()=>e.unsubscribe());return d.wa()}}}};olympe.public.al=class{static mY(a,b){if('string'===typeof b)throw Error('When registering a health check, the options parameter should be an object: string is not supported anymore.');return()=>{}}static nY(){return()=>{}}static connect(){return olympe.Y.ND().connect()}static disconnect(){return olympe.Y.ND().disconnect()}static Io(a){a='function'===typeof a.se?a.se():a;return olympe.Y.ND().Io().asObservable(a).pipe(rxjs.operators.map(b=>b.valueOf()))}};olympe.public.al.isOnline=olympe.public.al.Io;
2004
+ olympe.public.Qn=class{static create(a){return new class extends olympe.dc.tg.Sq{O(b,c){return olympe.dc.CloudObject.get(c)}compare(b,c){b=a(b,c);if('number'===typeof b)return b;const d=olympe.j.Za(olympe.j.aa),e=b.subscribe(f=>d.update(olympe.j.Ba(f)));olympe.j.yb().Ve(()=>e.unsubscribe());return d.wa()}}}};olympe.public.al=class{static mY(a,b){if('string'===typeof b)throw Error('When registering a health check, the options parameter should be an object: string is not supported anymore.');return()=>{}}static nY(){return()=>{}}static connect(){return olympe.Y.OD().connect()}static disconnect(){return olympe.Y.OD().disconnect()}static Io(a){a='function'===typeof a.se?a.se():a;return olympe.Y.OD().Io().asObservable(a).pipe(rxjs.operators.map(b=>b.valueOf()))}};olympe.public.al.isOnline=olympe.public.al.Io;
2004
2005
  olympe.public.al.disconnect=olympe.public.al.disconnect;olympe.public.al.connect=olympe.public.al.connect;olympe.public.al.onShutdown=olympe.public.al.nY;olympe.public.al.onHealthCheck=olympe.public.al.mY;'object'===typeof exports&&(exports={CloudObject:olympe.dc.CloudObject,Relation:olympe.dc.Oc.Relation,Direction:olympe.dc.Ib,generateTag:olympe.oa.Rr,tagToString:olympe.dc.Ya,register:olympe.dc.register,defineProperty:olympe.dc.defineProperty,defineRelation:olympe.dc.zM,defineInverseRelation:olympe.dc.OV,BrickContext:olympe.sc.Hb,Brick:olympe.sc.logic.Function,ActionBrick:olympe.sc.logic.Function,GlobalProperties:olympe.sc.Hb.C,registerBrick:olympe.sc.logic.Ja.C,FunctionBrick:olympe.sc.logic.Function,
2005
2006
  Context:olympe.sc.Hb,Entry:olympe.dc.Oc.Entry,PropertyModel:olympe.dm.Property,RelationModel:olympe.dm.Relation,StringModel:olympe.dm.String,NumberModel:olympe.dm.Number,BooleanModel:olympe.dm.Boolean,DatetimeModel:olympe.dm.DateTime,ColorModel:olympe.dm.Color,File:olympe.sc.File,User:olympe.dm.User,Enum:olympe.dm.yp,EnumValue:olympe.sc.Ev,DataSource:olympe.dm.DataSource,DataResult:olympe.dc.query.vi,Workflow:olympe.sc.workflow.Workflow,WorkflowState:olympe.sc.workflow.wm,WorkflowTransition:olympe.sc.workflow.Transition,
2006
- WorkflowObjectState:olympe.sc.workflow.ObjectState,Transaction:olympe.sc.Tc,BurstTransaction:olympe.dc.yv,TransactionResult:olympe.sc.sw,PredefinedDataSource:olympe.dc.Jc,QueryResult:olympe.dc.xc,Query:olympe.dc.nb,QuerySingle:olympe.dc.Rh,Predicate:olympe.dc.query.Yb,Order:olympe.dc.query.uz,Config:class{static getParameter(a){return olympe.sa.getParameter(a)}},Process:olympe.public.al,ProbeType:olympe.host.WC.C,Cache:{getCacheEntries:()=>olympe.dc.sources.Ej().T,clearCache:a=>Um(olympe.dc.sources.Ej(),
2007
+ WorkflowObjectState:olympe.sc.workflow.ObjectState,Transaction:olympe.sc.Tc,BurstTransaction:olympe.dc.yv,TransactionResult:olympe.sc.sw,PredefinedDataSource:olympe.dc.Jc,QueryResult:olympe.dc.xc,Query:olympe.dc.nb,QuerySingle:olympe.dc.Rh,Predicate:olympe.dc.query.Yb,Order:olympe.dc.query.uz,Config:class{static getParameter(a){return olympe.sa.getParameter(a)}},Process:olympe.public.al,ProbeType:olympe.host.XC.C,Cache:{getCacheEntries:()=>olympe.dc.sources.Ej().T,clearCache:a=>Um(olympe.dc.sources.Ej(),
2007
2008
  a),getProcessingStatus:()=>olympe.dc.sources.Ej().jh(),getProcessingErrors:()=>olympe.dc.sources.Ej().Eb.asObservable(),hasPendingChanges:()=>olympe.dc.sources.Ej().da.asObservable(),synchroniseChanges:()=>$m(),getPendingChanges:()=>cn(),clearPendingChanges:()=>gn(),loadPendingChanges:a=>en(a)},Color:olympe.j.Color,ErrorFlow:olympe.sc.logic.Error,ServiceRequestType:olympe.Y.pd.C,ServiceRequest:olympe.Y.uh,Service:olympe.Y.de,Auth:olympe.public.Lc,AuthState:{INIT:olympe.xa.Cc.C.INIT,AUTHENTICATING:olympe.xa.Cc.C.oy,
2008
2009
  GUEST:olympe.xa.Cc.C.Gv,AUTHENTICATED:olympe.xa.Cc.C.Mn,ERROR:olympe.xa.Cc.C.we},AuthProtocol:olympe.xa.Tg.C,Sync:olympe.dc.CloudObject,BusinessObject:olympe.dc.CloudObject,StringPrimitive:olympe.dm.String,NumberPrimitive:olympe.dm.Number,BooleanPrimitive:olympe.dm.Boolean,DatetimePrimitive:olympe.dm.DateTime,ColorPrimitive:olympe.dm.Color,PropertyPrimitive:olympe.dm.Property,RelationPrimitive:olympe.dm.Relation,DBView:class extends olympe.dc.zd{static get(){return olympe.dc.eb()}},ListDef:olympe.dc.Kb,
2009
2010
  instanceToTag:olympe.dc.Ya,registerSync:olympe.dc.Ja.C,getUniqueTag:olympe.oa.Rr,onDestroy:a=>olympe.j.yb().onDestroy(a),offDestroy:a=>olympe.j.yb().Lo(a),FollowRules:olympe.dc.Te,transformers:{Related:olympe.dc.Ra.um,RecursiveRelated:olympe.dc.Ra.zj,Distinct:olympe.dc.Ra.Cv,Filter:olympe.dc.Ra.Qf,Limit:olympe.dc.Ra.wt,Sort:olympe.dc.Ra.Cr,Union:olympe.dc.Ra.ro},ListDefPredicate:olympe.public.Yb,predicates:{And:olympe.dc.Ca.Ni,Or:olympe.dc.Ca.Wk,Not:olympe.dc.Ca.ik,Equals:olympe.dc.Ca.Lk,Contains:olympe.dc.Ca.Sn,