monica-alexandria 3.4.13 → 3.4.15

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/dist/index.es.js CHANGED
@@ -255,7 +255,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
255
255
  display: flex;
256
256
  align-items: center;
257
257
  justify-content: center;
258
- background: ${e=>e.theme.mid};
258
+ background: ${e=>e.theme.low};
259
259
 
260
260
  figure{
261
261
  background: ${e=>e.theme.background};
@@ -272,8 +272,10 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
272
272
  picture{
273
273
  display: block;
274
274
  width: 100%;
275
- height: 20rem;
275
+ height: ${e=>"Contain"==e.imgBevahe?"24rem":"20rem"};
276
+ padding: ${e=>"Contain"==e.imgBevahe?"2rem":"0"};
276
277
  overflow: hidden;
278
+ background: var(--light);
277
279
 
278
280
  img{
279
281
  object-fit: ${e=>"Contain"==e.imgBevahe?"contain":"cover"};
package/dist/index.js CHANGED
@@ -221,7 +221,7 @@
221
221
  fill: var(--errorLight) !important;
222
222
  }
223
223
  }
224
- `,_=e=>r.default.createElement(k,{className:e.className,noPadding:e.noPadding,size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),w=l.default.div`
224
+ `,w=e=>r.default.createElement(k,{className:e.className,noPadding:e.noPadding,size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),_=l.default.div`
225
225
  box-shadow: ${e=>e.theme.out};
226
226
  border-radius: var(--smallRadius);
227
227
  transition: box-shadow .5s;
@@ -246,7 +246,7 @@
246
246
  box-shadow: ${e=>e.theme.outFocus};
247
247
  transition: box-shadow .5s;
248
248
  }
249
- `,M=l.default(w)`
249
+ `,M=l.default(_)`
250
250
  cursor: pointer;
251
251
 
252
252
  header{
@@ -255,7 +255,7 @@
255
255
  display: flex;
256
256
  align-items: center;
257
257
  justify-content: center;
258
- background: ${e=>e.theme.mid};
258
+ background: ${e=>e.theme.low};
259
259
 
260
260
  figure{
261
261
  background: ${e=>e.theme.background};
@@ -272,8 +272,10 @@
272
272
  picture{
273
273
  display: block;
274
274
  width: 100%;
275
- height: 20rem;
275
+ height: ${e=>"Contain"==e.imgBevahe?"24rem":"20rem"};
276
+ padding: ${e=>"Contain"==e.imgBevahe?"2rem":"0"};
276
277
  overflow: hidden;
278
+ background: var(--light);
277
279
 
278
280
  img{
279
281
  object-fit: ${e=>"Contain"==e.imgBevahe?"contain":"cover"};
@@ -517,7 +519,7 @@
517
519
  fill: ${e=>e.theme.color};
518
520
  }
519
521
  }
520
- `,K=t=>{const[a,n]=e.useState(t.list);return r.default.createElement(D,null,r.default.createElement(H,{value:t.value,className:t.className,placeholder:t.placeholder,id:t.id,autoComplete:"off",type:"text",onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,disabled:t.disableInput}),r.default.createElement(V,null,t.placeholder),t.list?r.default.createElement(v,{size:"small",text:t.add,iconLeft:"Add",className:"FormAddButton",onClick:()=>(e=>{let a=JSON.parse(JSON.stringify(t.list));a.push(e),t.updateItemList(a),n(a)})(t.value)}):null,t.required?r.default.createElement(P,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,t.errors?r.default.createElement($,{className:"ValidatorErrors"},t.errors.map((e=>r.default.createElement(Z,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,t.tips&&t.helpers?r.default.createElement($,{className:"ValidatorHelpers"},t.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e)))),t.tips.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):t.tips?r.default.createElement($,{className:"ValidatorHelpers"},t.tips.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):t.helpers?r.default.createElement($,{className:"ValidatorHelpers"},t.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null,t.list?r.default.createElement(j,null,a.map(((e,a)=>r.default.createElement("li",{key:a},r.default.createElement(s,{Icon:t.icon_ListItem}),r.default.createElement("h6",null,e),r.default.createElement(_,{onClick:()=>(e=>{let a=JSON.parse(JSON.stringify(t.list));a.splice(e,1),t.updateItemList(a),n(a)})(a),size:"small",iconLeft:"Delete"}))))):null)},O=l.default.div`
522
+ `,K=t=>{const[a,n]=e.useState(t.list);return r.default.createElement(D,null,r.default.createElement(H,{value:t.value,className:t.className,placeholder:t.placeholder,id:t.id,autoComplete:"off",type:"text",onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,disabled:t.disableInput}),r.default.createElement(V,null,t.placeholder),t.list?r.default.createElement(v,{size:"small",text:t.add,iconLeft:"Add",className:"FormAddButton",onClick:()=>(e=>{let a=JSON.parse(JSON.stringify(t.list));a.push(e),t.updateItemList(a),n(a)})(t.value)}):null,t.required?r.default.createElement(P,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,t.errors?r.default.createElement($,{className:"ValidatorErrors"},t.errors.map((e=>r.default.createElement(Z,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,t.tips&&t.helpers?r.default.createElement($,{className:"ValidatorHelpers"},t.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e)))),t.tips.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):t.tips?r.default.createElement($,{className:"ValidatorHelpers"},t.tips.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):t.helpers?r.default.createElement($,{className:"ValidatorHelpers"},t.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null,t.list?r.default.createElement(j,null,a.map(((e,a)=>r.default.createElement("li",{key:a},r.default.createElement(s,{Icon:t.icon_ListItem}),r.default.createElement("h6",null,e),r.default.createElement(w,{onClick:()=>(e=>{let a=JSON.parse(JSON.stringify(t.list));a.splice(e,1),t.updateItemList(a),n(a)})(a),size:"small",iconLeft:"Delete"}))))):null)},O=l.default.div`
521
523
  position: relative;
522
524
 
523
525
  select{
@@ -751,7 +753,7 @@
751
753
  span{
752
754
  color: ${e=>e.capped?"var(--error)":"inherit"};
753
755
  }
754
- `;function ue(e){return Array.isArray?Array.isArray(e):"[object Array]"===ye(e)}function me(e){return"string"==typeof e}function he(e){return"number"==typeof e}function ge(e){return!0===e||!1===e||function(e){return fe(e)&&null!==e}(e)&&"[object Boolean]"==ye(e)}function fe(e){return"object"==typeof e}function pe(e){return null!=e}function ve(e){return!e.trim().length}function ye(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const xe=Object.prototype.hasOwnProperty;class Ee{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let a=ke(e);t+=a.weight,this._keys.push(a),this._keyMap[a.id]=a,t+=a.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function ke(e){let t=null,a=null,n=null,r=1,l=null;if(me(e)||ue(e))n=e,t=_e(e),a=we(e);else{if(!xe.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const o=e.name;if(n=o,xe.call(e,"weight")&&(r=e.weight,r<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(o));t=_e(o),a=we(o),l=e.getFn}return{path:t,id:a,weight:r,src:n,getFn:l}}function _e(e){return ue(e)?e:e.split(".")}function we(e){return ue(e)?e.join("."):e}var Me={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let a=[],n=!1;const r=(e,t,l)=>{if(pe(e))if(t[l]){const o=e[t[l]];if(!pe(o))return;if(l===t.length-1&&(me(o)||he(o)||ge(o)))a.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(o));else if(ue(o)){n=!0;for(let e=0,a=o.length;e<a;e+=1)r(o[e],t,l+1)}else t.length&&r(o,t,l+1)}else a.push(e)};return r(e,me(t)?t.split("."):t,0),n?a:a[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Ce=/[^ ]+/g;class be{constructor({getFn:e=Me.getFn,fieldNormWeight:t=Me.fieldNormWeight}={}){this.norm=function(e=1,t=3){const a=new Map,n=Math.pow(10,t);return{get(t){const r=t.match(Ce).length;if(a.has(r))return a.get(r);const l=1/Math.pow(r,.5*e),o=parseFloat(Math.round(l*n)/n);return a.set(r,o),o},clear(){a.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,me(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();me(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,a=this.size();t<a;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!pe(e)||ve(e))return;let a={v:e,i:t,n:this.norm.get(e)};this.records.push(a)}_addObject(e,t){let a={i:t,$:{}};this.keys.forEach(((t,n)=>{let r=t.getFn?t.getFn(e):this.getFn(e,t.path);if(pe(r))if(ue(r)){let e=[];const t=[{nestedArrIndex:-1,value:r}];for(;t.length;){const{nestedArrIndex:a,value:n}=t.pop();if(pe(n))if(me(n)&&!ve(n)){let t={v:n,i:a,n:this.norm.get(n)};e.push(t)}else ue(n)&&n.forEach(((e,a)=>{t.push({nestedArrIndex:a,value:e})}))}a.$[n]=e}else if(me(r)&&!ve(r)){let e={v:r,n:this.norm.get(r)};a.$[n]=e}})),this.records.push(a)}toJSON(){return{keys:this.keys,records:this.records}}}function Le(e,t,{getFn:a=Me.getFn,fieldNormWeight:n=Me.fieldNormWeight}={}){const r=new be({getFn:a,fieldNormWeight:n});return r.setKeys(e.map(ke)),r.setSources(t),r.create(),r}function Se(e,{errors:t=0,currentLocation:a=0,expectedLocation:n=0,distance:r=Me.distance,ignoreLocation:l=Me.ignoreLocation}={}){const o=t/e.length;if(l)return o;const i=Math.abs(n-a);return r?o+i/r:i?1:o}function Ae(e,t,a,{location:n=Me.location,distance:r=Me.distance,threshold:l=Me.threshold,findAllMatches:o=Me.findAllMatches,minMatchCharLength:i=Me.minMatchCharLength,includeMatches:c=Me.includeMatches,ignoreLocation:s=Me.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,u=e.length,m=Math.max(0,Math.min(n,u));let h=l,g=m;const f=i>1||c,p=f?Array(u):[];let v;for(;(v=e.indexOf(t,g))>-1;){let e=Se(t,{currentLocation:v,expectedLocation:m,distance:r,ignoreLocation:s});if(h=Math.min(e,h),g=v+d,f){let e=0;for(;e<d;)p[v+e]=1,e+=1}}g=-1;let y=[],x=1,E=d+u;const k=1<<d-1;for(let n=0;n<d;n+=1){let l=0,i=E;for(;l<i;){Se(t,{errors:n,currentLocation:m+i,expectedLocation:m,distance:r,ignoreLocation:s})<=h?l=i:E=i,i=Math.floor((E-l)/2+l)}E=i;let c=Math.max(1,m-i+1),v=o?u:Math.min(m+i,u)+d,_=Array(v+2);_[v+1]=(1<<n)-1;for(let l=v;l>=c;l-=1){let o=l-1,i=a[e.charAt(o)];if(f&&(p[o]=+!!i),_[l]=(_[l+1]<<1|1)&i,n&&(_[l]|=(y[l+1]|y[l])<<1|1|y[l+1]),_[l]&k&&(x=Se(t,{errors:n,currentLocation:o,expectedLocation:m,distance:r,ignoreLocation:s}),x<=h)){if(h=x,g=o,g<=m)break;c=Math.max(1,2*m-g)}}if(Se(t,{errors:n+1,currentLocation:m,expectedLocation:m,distance:r,ignoreLocation:s})>h)break;y=_}const _={isMatch:g>=0,score:Math.max(.001,x)};if(f){const e=function(e=[],t=Me.minMatchCharLength){let a=[],n=-1,r=-1,l=0;for(let o=e.length;l<o;l+=1){let o=e[l];o&&-1===n?n=l:o||-1===n||(r=l-1,r-n+1>=t&&a.push([n,r]),n=-1)}return e[l-1]&&l-n>=t&&a.push([n,l-1]),a}(p,i);e.length?c&&(_.indices=e):_.isMatch=!1}return _}function Ie(e){let t={};for(let a=0,n=e.length;a<n;a+=1){const r=e.charAt(a);t[r]=(t[r]||0)|1<<n-a-1}return t}class $e{constructor(e,{location:t=Me.location,threshold:a=Me.threshold,distance:n=Me.distance,includeMatches:r=Me.includeMatches,findAllMatches:l=Me.findAllMatches,minMatchCharLength:o=Me.minMatchCharLength,isCaseSensitive:i=Me.isCaseSensitive,ignoreLocation:c=Me.ignoreLocation}={}){if(this.options={location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:l,minMatchCharLength:o,isCaseSensitive:i,ignoreLocation:c},this.pattern=i?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:Ie(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,a=d-t;for(;e<a;)s(this.pattern.substr(e,32),e),e+=32;if(t){const e=d-32;s(this.pattern.substr(e),e)}}else s(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:a}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return a&&(t.indices=[[0,e.length-1]]),t}const{location:n,distance:r,threshold:l,findAllMatches:o,minMatchCharLength:i,ignoreLocation:c}=this.options;let s=[],d=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:m,startIndex:h})=>{const{isMatch:g,score:f,indices:p}=Ae(e,t,m,{location:n+h,distance:r,threshold:l,findAllMatches:o,minMatchCharLength:i,includeMatches:a,ignoreLocation:c});g&&(u=!0),d+=f,g&&p&&(s=[...s,...p])}));let m={isMatch:u,score:u?d/this.chunks.length:1};return u&&a&&(m.indices=s),m}}class Te{constructor(e){this.pattern=e}static isMultiMatch(e){return Ne(e,this.multiRegex)}static isSingleMatch(e){return Ne(e,this.singleRegex)}search(){}}function Ne(e,t){const a=e.match(t);return a?a[1]:null}class Re extends Te{constructor(e,{location:t=Me.location,threshold:a=Me.threshold,distance:n=Me.distance,includeMatches:r=Me.includeMatches,findAllMatches:l=Me.findAllMatches,minMatchCharLength:o=Me.minMatchCharLength,isCaseSensitive:i=Me.isCaseSensitive,ignoreLocation:c=Me.ignoreLocation}={}){super(e),this._bitapSearch=new $e(e,{location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:l,minMatchCharLength:o,isCaseSensitive:i,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ze extends Te{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,a=0;const n=[],r=this.pattern.length;for(;(t=e.indexOf(this.pattern,a))>-1;)a=t+r,n.push([t,a-1]);const l=!!n.length;return{isMatch:l,score:l?0:1,indices:n}}}const Pe=[class extends Te{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Ze,class extends Te{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Te{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Te{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Te{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Te{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Re],Be=Pe.length,ze=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Ge=new Set([Re.type,Ze.type]);class Fe{constructor(e,{isCaseSensitive:t=Me.isCaseSensitive,includeMatches:a=Me.includeMatches,minMatchCharLength:n=Me.minMatchCharLength,ignoreLocation:r=Me.ignoreLocation,findAllMatches:l=Me.findAllMatches,location:o=Me.location,threshold:i=Me.threshold,distance:c=Me.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:a,minMatchCharLength:n,findAllMatches:l,ignoreLocation:r,location:o,threshold:i,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let a=e.trim().split(ze).filter((e=>e&&!!e.trim())),n=[];for(let e=0,r=a.length;e<r;e+=1){const r=a[e];let l=!1,o=-1;for(;!l&&++o<Be;){const e=Pe[o];let a=e.isMultiMatch(r);a&&(n.push(new e(a,t)),l=!0)}if(!l)for(o=-1;++o<Be;){const e=Pe[o];let a=e.isSingleMatch(r);if(a){n.push(new e(a,t));break}}}return n}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:a,isCaseSensitive:n}=this.options;e=n?e:e.toLowerCase();let r=0,l=[],o=0;for(let n=0,i=t.length;n<i;n+=1){const i=t[n];l.length=0,r=0;for(let t=0,n=i.length;t<n;t+=1){const n=i[t],{isMatch:c,indices:s,score:d}=n.search(e);if(!c){o=0,r=0,l.length=0;break}if(r+=1,o+=d,a){const e=n.constructor.type;Ge.has(e)?l=[...l,...s]:l.push(s)}}if(r){let e={isMatch:!0,score:o/r};return a&&(e.indices=l),e}}return{isMatch:!1,score:1}}}const He=[];function Ve(e,t){for(let a=0,n=He.length;a<n;a+=1){let n=He[a];if(n.condition(e,t))return new n(e,t)}return new $e(e,t)}const De="$and",je="$or",Ke="$path",Oe="$val",qe=e=>!(!e[De]&&!e[je]),We=e=>({[De]:Object.keys(e).map((t=>({[t]:e[t]})))});function Ue(e,t,{auto:a=!0}={}){const n=e=>{let r=Object.keys(e);const l=(e=>!!e[Ke])(e);if(!l&&r.length>1&&!qe(e))return n(We(e));if((e=>!ue(e)&&fe(e)&&!qe(e))(e)){const n=l?e[Ke]:r[0],o=l?e[Oe]:e[n];if(!me(o))throw new Error((e=>`Invalid value for key ${e}`)(n));const i={keyId:we(n),pattern:o};return a&&(i.searcher=Ve(o,t)),i}let o={children:[],operator:r[0]};return r.forEach((t=>{const a=e[t];ue(a)&&a.forEach((e=>{o.children.push(n(e))}))})),o};return qe(e)||(e=We(e)),n(e)}function Xe(e,t){const a=e.matches;t.matches=[],pe(a)&&a.forEach((e=>{if(!pe(e.indices)||!e.indices.length)return;const{indices:a,value:n}=e;let r={indices:a,value:n};e.key&&(r.key=e.key.src),e.idx>-1&&(r.refIndex=e.idx),t.matches.push(r)}))}function Je(e,t){t.score=e.score}class Ye{constructor(e,t={},a){this.options={...Me,...t},this.options.useExtendedSearch,this._keyStore=new Ee(this.options.keys),this.setCollection(e,a)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof be))throw new Error("Incorrect 'index' type");this._myIndex=t||Le(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){pe(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let a=0,n=this._docs.length;a<n;a+=1){const r=this._docs[a];e(r,a)&&(this.removeAt(a),a-=1,n-=1,t.push(r))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:a,includeScore:n,shouldSort:r,sortFn:l,ignoreFieldNorm:o}=this.options;let i=me(e)?me(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Me.ignoreFieldNorm}){e.forEach((e=>{let a=1;e.matches.forEach((({key:e,norm:n,score:r})=>{const l=e?e.weight:null;a*=Math.pow(0===r&&l?Number.EPSILON:r,(l||1)*(t?1:n))})),e.score=a}))}(i,{ignoreFieldNorm:o}),r&&i.sort(l),he(t)&&t>-1&&(i=i.slice(0,t)),function(e,t,{includeMatches:a=Me.includeMatches,includeScore:n=Me.includeScore}={}){const r=[];return a&&r.push(Xe),n&&r.push(Je),e.map((e=>{const{idx:a}=e,n={item:t[a],refIndex:a};return r.length&&r.forEach((t=>{t(e,n)})),n}))}(i,this._docs,{includeMatches:a,includeScore:n})}_searchStringList(e){const t=Ve(e,this.options),{records:a}=this._myIndex,n=[];return a.forEach((({v:e,i:a,n:r})=>{if(!pe(e))return;const{isMatch:l,score:o,indices:i}=t.searchIn(e);l&&n.push({item:e,idx:a,matches:[{score:o,value:e,norm:r,indices:i}]})})),n}_searchLogical(e){const t=Ue(e,this.options),a=(e,t,n)=>{if(!e.children){const{keyId:a,searcher:r}=e,l=this._findMatches({key:this._keyStore.get(a),value:this._myIndex.getValueForItemAtKeyId(t,a),searcher:r});return l&&l.length?[{idx:n,item:t,matches:l}]:[]}const r=[];for(let l=0,o=e.children.length;l<o;l+=1){const o=e.children[l],i=a(o,t,n);if(i.length)r.push(...i);else if(e.operator===De)return[]}return r},n=this._myIndex.records,r={},l=[];return n.forEach((({$:e,i:n})=>{if(pe(e)){let o=a(t,e,n);o.length&&(r[n]||(r[n]={idx:n,item:e,matches:[]},l.push(r[n])),o.forEach((({matches:e})=>{r[n].matches.push(...e)})))}})),l}_searchObjectList(e){const t=Ve(e,this.options),{keys:a,records:n}=this._myIndex,r=[];return n.forEach((({$:e,i:n})=>{if(!pe(e))return;let l=[];a.forEach(((a,n)=>{l.push(...this._findMatches({key:a,value:e[n],searcher:t}))})),l.length&&r.push({idx:n,item:e,matches:l})})),r}_findMatches({key:e,value:t,searcher:a}){if(!pe(t))return[];let n=[];if(ue(t))t.forEach((({v:t,i:r,n:l})=>{if(!pe(t))return;const{isMatch:o,score:i,indices:c}=a.searchIn(t);o&&n.push({score:i,key:e,value:t,idx:r,norm:l,indices:c})}));else{const{v:r,n:l}=t,{isMatch:o,score:i,indices:c}=a.searchIn(r);o&&n.push({score:i,key:e,value:r,norm:l,indices:c})}return n}}Ye.version="6.6.2",Ye.createIndex=Le,Ye.parseIndex=function(e,{getFn:t=Me.getFn,fieldNormWeight:a=Me.fieldNormWeight}={}){const{keys:n,records:r}=e,l=new be({getFn:t,fieldNormWeight:a});return l.setKeys(n),l.setIndexRecords(r),l},Ye.config=Me,Ye.parseQuery=Ue,function(...e){He.push(...e)}(Fe);var Qe=require("greek-utils");const et=l.default(D)`
756
+ `;function ue(e){return Array.isArray?Array.isArray(e):"[object Array]"===ye(e)}function me(e){return"string"==typeof e}function he(e){return"number"==typeof e}function ge(e){return!0===e||!1===e||function(e){return fe(e)&&null!==e}(e)&&"[object Boolean]"==ye(e)}function fe(e){return"object"==typeof e}function pe(e){return null!=e}function ve(e){return!e.trim().length}function ye(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const xe=Object.prototype.hasOwnProperty;class Ee{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let a=ke(e);t+=a.weight,this._keys.push(a),this._keyMap[a.id]=a,t+=a.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function ke(e){let t=null,a=null,n=null,r=1,l=null;if(me(e)||ue(e))n=e,t=we(e),a=_e(e);else{if(!xe.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const o=e.name;if(n=o,xe.call(e,"weight")&&(r=e.weight,r<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(o));t=we(o),a=_e(o),l=e.getFn}return{path:t,id:a,weight:r,src:n,getFn:l}}function we(e){return ue(e)?e:e.split(".")}function _e(e){return ue(e)?e.join("."):e}var Me={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let a=[],n=!1;const r=(e,t,l)=>{if(pe(e))if(t[l]){const o=e[t[l]];if(!pe(o))return;if(l===t.length-1&&(me(o)||he(o)||ge(o)))a.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(o));else if(ue(o)){n=!0;for(let e=0,a=o.length;e<a;e+=1)r(o[e],t,l+1)}else t.length&&r(o,t,l+1)}else a.push(e)};return r(e,me(t)?t.split("."):t,0),n?a:a[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Ce=/[^ ]+/g;class be{constructor({getFn:e=Me.getFn,fieldNormWeight:t=Me.fieldNormWeight}={}){this.norm=function(e=1,t=3){const a=new Map,n=Math.pow(10,t);return{get(t){const r=t.match(Ce).length;if(a.has(r))return a.get(r);const l=1/Math.pow(r,.5*e),o=parseFloat(Math.round(l*n)/n);return a.set(r,o),o},clear(){a.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,me(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();me(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,a=this.size();t<a;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!pe(e)||ve(e))return;let a={v:e,i:t,n:this.norm.get(e)};this.records.push(a)}_addObject(e,t){let a={i:t,$:{}};this.keys.forEach(((t,n)=>{let r=t.getFn?t.getFn(e):this.getFn(e,t.path);if(pe(r))if(ue(r)){let e=[];const t=[{nestedArrIndex:-1,value:r}];for(;t.length;){const{nestedArrIndex:a,value:n}=t.pop();if(pe(n))if(me(n)&&!ve(n)){let t={v:n,i:a,n:this.norm.get(n)};e.push(t)}else ue(n)&&n.forEach(((e,a)=>{t.push({nestedArrIndex:a,value:e})}))}a.$[n]=e}else if(me(r)&&!ve(r)){let e={v:r,n:this.norm.get(r)};a.$[n]=e}})),this.records.push(a)}toJSON(){return{keys:this.keys,records:this.records}}}function Le(e,t,{getFn:a=Me.getFn,fieldNormWeight:n=Me.fieldNormWeight}={}){const r=new be({getFn:a,fieldNormWeight:n});return r.setKeys(e.map(ke)),r.setSources(t),r.create(),r}function Se(e,{errors:t=0,currentLocation:a=0,expectedLocation:n=0,distance:r=Me.distance,ignoreLocation:l=Me.ignoreLocation}={}){const o=t/e.length;if(l)return o;const i=Math.abs(n-a);return r?o+i/r:i?1:o}function Ae(e,t,a,{location:n=Me.location,distance:r=Me.distance,threshold:l=Me.threshold,findAllMatches:o=Me.findAllMatches,minMatchCharLength:i=Me.minMatchCharLength,includeMatches:c=Me.includeMatches,ignoreLocation:s=Me.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,u=e.length,m=Math.max(0,Math.min(n,u));let h=l,g=m;const f=i>1||c,p=f?Array(u):[];let v;for(;(v=e.indexOf(t,g))>-1;){let e=Se(t,{currentLocation:v,expectedLocation:m,distance:r,ignoreLocation:s});if(h=Math.min(e,h),g=v+d,f){let e=0;for(;e<d;)p[v+e]=1,e+=1}}g=-1;let y=[],x=1,E=d+u;const k=1<<d-1;for(let n=0;n<d;n+=1){let l=0,i=E;for(;l<i;){Se(t,{errors:n,currentLocation:m+i,expectedLocation:m,distance:r,ignoreLocation:s})<=h?l=i:E=i,i=Math.floor((E-l)/2+l)}E=i;let c=Math.max(1,m-i+1),v=o?u:Math.min(m+i,u)+d,w=Array(v+2);w[v+1]=(1<<n)-1;for(let l=v;l>=c;l-=1){let o=l-1,i=a[e.charAt(o)];if(f&&(p[o]=+!!i),w[l]=(w[l+1]<<1|1)&i,n&&(w[l]|=(y[l+1]|y[l])<<1|1|y[l+1]),w[l]&k&&(x=Se(t,{errors:n,currentLocation:o,expectedLocation:m,distance:r,ignoreLocation:s}),x<=h)){if(h=x,g=o,g<=m)break;c=Math.max(1,2*m-g)}}if(Se(t,{errors:n+1,currentLocation:m,expectedLocation:m,distance:r,ignoreLocation:s})>h)break;y=w}const w={isMatch:g>=0,score:Math.max(.001,x)};if(f){const e=function(e=[],t=Me.minMatchCharLength){let a=[],n=-1,r=-1,l=0;for(let o=e.length;l<o;l+=1){let o=e[l];o&&-1===n?n=l:o||-1===n||(r=l-1,r-n+1>=t&&a.push([n,r]),n=-1)}return e[l-1]&&l-n>=t&&a.push([n,l-1]),a}(p,i);e.length?c&&(w.indices=e):w.isMatch=!1}return w}function Ie(e){let t={};for(let a=0,n=e.length;a<n;a+=1){const r=e.charAt(a);t[r]=(t[r]||0)|1<<n-a-1}return t}class $e{constructor(e,{location:t=Me.location,threshold:a=Me.threshold,distance:n=Me.distance,includeMatches:r=Me.includeMatches,findAllMatches:l=Me.findAllMatches,minMatchCharLength:o=Me.minMatchCharLength,isCaseSensitive:i=Me.isCaseSensitive,ignoreLocation:c=Me.ignoreLocation}={}){if(this.options={location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:l,minMatchCharLength:o,isCaseSensitive:i,ignoreLocation:c},this.pattern=i?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:Ie(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,a=d-t;for(;e<a;)s(this.pattern.substr(e,32),e),e+=32;if(t){const e=d-32;s(this.pattern.substr(e),e)}}else s(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:a}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return a&&(t.indices=[[0,e.length-1]]),t}const{location:n,distance:r,threshold:l,findAllMatches:o,minMatchCharLength:i,ignoreLocation:c}=this.options;let s=[],d=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:m,startIndex:h})=>{const{isMatch:g,score:f,indices:p}=Ae(e,t,m,{location:n+h,distance:r,threshold:l,findAllMatches:o,minMatchCharLength:i,includeMatches:a,ignoreLocation:c});g&&(u=!0),d+=f,g&&p&&(s=[...s,...p])}));let m={isMatch:u,score:u?d/this.chunks.length:1};return u&&a&&(m.indices=s),m}}class Te{constructor(e){this.pattern=e}static isMultiMatch(e){return Ne(e,this.multiRegex)}static isSingleMatch(e){return Ne(e,this.singleRegex)}search(){}}function Ne(e,t){const a=e.match(t);return a?a[1]:null}class Re extends Te{constructor(e,{location:t=Me.location,threshold:a=Me.threshold,distance:n=Me.distance,includeMatches:r=Me.includeMatches,findAllMatches:l=Me.findAllMatches,minMatchCharLength:o=Me.minMatchCharLength,isCaseSensitive:i=Me.isCaseSensitive,ignoreLocation:c=Me.ignoreLocation}={}){super(e),this._bitapSearch=new $e(e,{location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:l,minMatchCharLength:o,isCaseSensitive:i,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ze extends Te{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,a=0;const n=[],r=this.pattern.length;for(;(t=e.indexOf(this.pattern,a))>-1;)a=t+r,n.push([t,a-1]);const l=!!n.length;return{isMatch:l,score:l?0:1,indices:n}}}const Pe=[class extends Te{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Ze,class extends Te{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Te{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Te{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Te{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Te{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Re],Be=Pe.length,ze=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Ge=new Set([Re.type,Ze.type]);class Fe{constructor(e,{isCaseSensitive:t=Me.isCaseSensitive,includeMatches:a=Me.includeMatches,minMatchCharLength:n=Me.minMatchCharLength,ignoreLocation:r=Me.ignoreLocation,findAllMatches:l=Me.findAllMatches,location:o=Me.location,threshold:i=Me.threshold,distance:c=Me.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:a,minMatchCharLength:n,findAllMatches:l,ignoreLocation:r,location:o,threshold:i,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let a=e.trim().split(ze).filter((e=>e&&!!e.trim())),n=[];for(let e=0,r=a.length;e<r;e+=1){const r=a[e];let l=!1,o=-1;for(;!l&&++o<Be;){const e=Pe[o];let a=e.isMultiMatch(r);a&&(n.push(new e(a,t)),l=!0)}if(!l)for(o=-1;++o<Be;){const e=Pe[o];let a=e.isSingleMatch(r);if(a){n.push(new e(a,t));break}}}return n}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:a,isCaseSensitive:n}=this.options;e=n?e:e.toLowerCase();let r=0,l=[],o=0;for(let n=0,i=t.length;n<i;n+=1){const i=t[n];l.length=0,r=0;for(let t=0,n=i.length;t<n;t+=1){const n=i[t],{isMatch:c,indices:s,score:d}=n.search(e);if(!c){o=0,r=0,l.length=0;break}if(r+=1,o+=d,a){const e=n.constructor.type;Ge.has(e)?l=[...l,...s]:l.push(s)}}if(r){let e={isMatch:!0,score:o/r};return a&&(e.indices=l),e}}return{isMatch:!1,score:1}}}const He=[];function Ve(e,t){for(let a=0,n=He.length;a<n;a+=1){let n=He[a];if(n.condition(e,t))return new n(e,t)}return new $e(e,t)}const De="$and",je="$or",Ke="$path",Oe="$val",qe=e=>!(!e[De]&&!e[je]),We=e=>({[De]:Object.keys(e).map((t=>({[t]:e[t]})))});function Ue(e,t,{auto:a=!0}={}){const n=e=>{let r=Object.keys(e);const l=(e=>!!e[Ke])(e);if(!l&&r.length>1&&!qe(e))return n(We(e));if((e=>!ue(e)&&fe(e)&&!qe(e))(e)){const n=l?e[Ke]:r[0],o=l?e[Oe]:e[n];if(!me(o))throw new Error((e=>`Invalid value for key ${e}`)(n));const i={keyId:_e(n),pattern:o};return a&&(i.searcher=Ve(o,t)),i}let o={children:[],operator:r[0]};return r.forEach((t=>{const a=e[t];ue(a)&&a.forEach((e=>{o.children.push(n(e))}))})),o};return qe(e)||(e=We(e)),n(e)}function Xe(e,t){const a=e.matches;t.matches=[],pe(a)&&a.forEach((e=>{if(!pe(e.indices)||!e.indices.length)return;const{indices:a,value:n}=e;let r={indices:a,value:n};e.key&&(r.key=e.key.src),e.idx>-1&&(r.refIndex=e.idx),t.matches.push(r)}))}function Je(e,t){t.score=e.score}class Ye{constructor(e,t={},a){this.options={...Me,...t},this.options.useExtendedSearch,this._keyStore=new Ee(this.options.keys),this.setCollection(e,a)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof be))throw new Error("Incorrect 'index' type");this._myIndex=t||Le(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){pe(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let a=0,n=this._docs.length;a<n;a+=1){const r=this._docs[a];e(r,a)&&(this.removeAt(a),a-=1,n-=1,t.push(r))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:a,includeScore:n,shouldSort:r,sortFn:l,ignoreFieldNorm:o}=this.options;let i=me(e)?me(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Me.ignoreFieldNorm}){e.forEach((e=>{let a=1;e.matches.forEach((({key:e,norm:n,score:r})=>{const l=e?e.weight:null;a*=Math.pow(0===r&&l?Number.EPSILON:r,(l||1)*(t?1:n))})),e.score=a}))}(i,{ignoreFieldNorm:o}),r&&i.sort(l),he(t)&&t>-1&&(i=i.slice(0,t)),function(e,t,{includeMatches:a=Me.includeMatches,includeScore:n=Me.includeScore}={}){const r=[];return a&&r.push(Xe),n&&r.push(Je),e.map((e=>{const{idx:a}=e,n={item:t[a],refIndex:a};return r.length&&r.forEach((t=>{t(e,n)})),n}))}(i,this._docs,{includeMatches:a,includeScore:n})}_searchStringList(e){const t=Ve(e,this.options),{records:a}=this._myIndex,n=[];return a.forEach((({v:e,i:a,n:r})=>{if(!pe(e))return;const{isMatch:l,score:o,indices:i}=t.searchIn(e);l&&n.push({item:e,idx:a,matches:[{score:o,value:e,norm:r,indices:i}]})})),n}_searchLogical(e){const t=Ue(e,this.options),a=(e,t,n)=>{if(!e.children){const{keyId:a,searcher:r}=e,l=this._findMatches({key:this._keyStore.get(a),value:this._myIndex.getValueForItemAtKeyId(t,a),searcher:r});return l&&l.length?[{idx:n,item:t,matches:l}]:[]}const r=[];for(let l=0,o=e.children.length;l<o;l+=1){const o=e.children[l],i=a(o,t,n);if(i.length)r.push(...i);else if(e.operator===De)return[]}return r},n=this._myIndex.records,r={},l=[];return n.forEach((({$:e,i:n})=>{if(pe(e)){let o=a(t,e,n);o.length&&(r[n]||(r[n]={idx:n,item:e,matches:[]},l.push(r[n])),o.forEach((({matches:e})=>{r[n].matches.push(...e)})))}})),l}_searchObjectList(e){const t=Ve(e,this.options),{keys:a,records:n}=this._myIndex,r=[];return n.forEach((({$:e,i:n})=>{if(!pe(e))return;let l=[];a.forEach(((a,n)=>{l.push(...this._findMatches({key:a,value:e[n],searcher:t}))})),l.length&&r.push({idx:n,item:e,matches:l})})),r}_findMatches({key:e,value:t,searcher:a}){if(!pe(t))return[];let n=[];if(ue(t))t.forEach((({v:t,i:r,n:l})=>{if(!pe(t))return;const{isMatch:o,score:i,indices:c}=a.searchIn(t);o&&n.push({score:i,key:e,value:t,idx:r,norm:l,indices:c})}));else{const{v:r,n:l}=t,{isMatch:o,score:i,indices:c}=a.searchIn(r);o&&n.push({score:i,key:e,value:r,norm:l,indices:c})}return n}}Ye.version="6.6.2",Ye.createIndex=Le,Ye.parseIndex=function(e,{getFn:t=Me.getFn,fieldNormWeight:a=Me.fieldNormWeight}={}){const{keys:n,records:r}=e,l=new be({getFn:t,fieldNormWeight:a});return l.setKeys(n),l.setIndexRecords(r),l},Ye.config=Me,Ye.parseQuery=Ue,function(...e){He.push(...e)}(Fe);var Qe=require("greek-utils");const et=l.default(D)`
755
757
  `,tt=l.default(H)`
756
758
 
757
759
  `,at=l.default(V)`
@@ -1029,7 +1031,7 @@
1029
1031
  justify-content: space-between;
1030
1032
  gap: 1rem;
1031
1033
  padding: var(--normalPads);
1032
- `,kt=t=>{const{region:a}=e.useContext(U),{setHamState:n}=e.useContext(J),{setActiveMenu:l}=e.useContext(X),{language:o}=e.useContext(W);return r.default.createElement(ut,null,r.default.createElement(mt,{onClick:()=>n(!1)},r.default.createElement(s,{Icon:"Xicon"}),r.default.createElement("h4",null,t.text_Title_Main)),r.default.createElement(Et,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(xt,null)),"Protected"===t.role?r.default.createElement(pt,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Account_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),r.default.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?r.default.createElement(ht,{onClick:t.onClick_Settings_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Settings"})),r.default.createElement("h5",null,t.text_Settings_Main))):null,r.default.createElement(ht,{onClick:()=>l("Language")},r.default.createElement("main",null,r.default.createElement("picture",null,"el"===o?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===o?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===o?r.default.createElement("h5",null,"Ελληνικά"):"de"===o?r.default.createElement("h5",null,"Deutsch"):r.default.createElement("h5",null,"English")),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),r.default.createElement(ht,{onClick:()=>l("Region")},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Flag"})),r.default.createElement("h5",null,a)),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),"Protected"===t.role?r.default.createElement(ft,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Logout},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Logout)))):r.default.createElement(pt,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Login},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Login)))))};let _t=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const wt=t=>{const{region:a,setRegion:n}=e.useContext(U),{setActiveMenu:l}=e.useContext(X);return r.default.createElement(ut,null,r.default.createElement(mt,{onClick:()=>l("Main")},r.default.createElement(s,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),_t.map(((e,t)=>r.default.createElement(ht,{key:t,onClick:()=>{return t=e.country,n(t),void l("Main");var t},className:a===e.country?"SelectedRegion":""},r.default.createElement("main",null,r.default.createElement("h5",null,e.country))))))},Mt=t=>{const{activeMenu:n}=e.useContext(X),[l,o]=e.useState(null),i=e=>{const t=e.offsetHeight;o(t)};return r.default.createElement(dt,{style:{height:l}},r.default.createElement(a.CSSTransition,{in:"Main"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(kt,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}))),r.default.createElement(a.CSSTransition,{in:"Language"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(vt,{text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}))),r.default.createElement(a.CSSTransition,{in:"Region"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(wt,{text_Title_Region:t.text_Title_Region}))))},Ct=l.default.div`
1034
+ `,kt=t=>{const{region:a}=e.useContext(U),{setHamState:n}=e.useContext(J),{setActiveMenu:l}=e.useContext(X),{language:o}=e.useContext(W);return r.default.createElement(ut,null,r.default.createElement(mt,{onClick:()=>n(!1)},r.default.createElement(s,{Icon:"Xicon"}),r.default.createElement("h4",null,t.text_Title_Main)),r.default.createElement(Et,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(xt,null)),"Protected"===t.role?r.default.createElement(pt,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Account_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),r.default.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?r.default.createElement(ht,{onClick:t.onClick_Settings_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Settings"})),r.default.createElement("h5",null,t.text_Settings_Main))):null,r.default.createElement(ht,{onClick:()=>l("Language")},r.default.createElement("main",null,r.default.createElement("picture",null,"el"===o?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===o?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===o?r.default.createElement("h5",null,"Ελληνικά"):"de"===o?r.default.createElement("h5",null,"Deutsch"):r.default.createElement("h5",null,"English")),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),r.default.createElement(ht,{onClick:()=>l("Region")},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Flag"})),r.default.createElement("h5",null,a)),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),"Protected"===t.role?r.default.createElement(ft,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Logout},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Logout)))):r.default.createElement(pt,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Login},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Login)))))};let wt=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const _t=t=>{const{region:a,setRegion:n}=e.useContext(U),{setActiveMenu:l}=e.useContext(X);return r.default.createElement(ut,null,r.default.createElement(mt,{onClick:()=>l("Main")},r.default.createElement(s,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),wt.map(((e,t)=>r.default.createElement(ht,{key:t,onClick:()=>{return t=e.country,n(t),void l("Main");var t},className:a===e.country?"SelectedRegion":""},r.default.createElement("main",null,r.default.createElement("h5",null,e.country))))))},Mt=t=>{const{activeMenu:n}=e.useContext(X),[l,o]=e.useState(null),i=e=>{const t=e.offsetHeight;o(t)};return r.default.createElement(dt,{style:{height:l}},r.default.createElement(a.CSSTransition,{in:"Main"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(kt,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}))),r.default.createElement(a.CSSTransition,{in:"Language"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(vt,{text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}))),r.default.createElement(a.CSSTransition,{in:"Region"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(_t,{text_Title_Region:t.text_Title_Region}))))},Ct=l.default.div`
1033
1035
  justify-self: flex-end;
1034
1036
  display: flex;
1035
1037
  align-items: center;
@@ -1512,12 +1514,12 @@
1512
1514
  justify-content: space-between;
1513
1515
  height: 6rem;
1514
1516
  padding: 0 4rem;
1515
- `,_a=l.default.div`
1517
+ `,wa=l.default.div`
1516
1518
  padding: 2rem 4rem 10rem 4rem;
1517
1519
  background: ${e=>e.theme.low};
1518
1520
  height: 100%;
1519
1521
  overflow: auto;
1520
- `,wa=l.default.div`
1522
+ `,_a=l.default.div`
1521
1523
  display: grid;
1522
1524
  grid-template-columns: 1fr 1fr;
1523
1525
  grid-gap: 2rem;
@@ -1542,4 +1544,4 @@
1542
1544
  grid-template-columns: 1fr 1fr;
1543
1545
  `,La=l.default(Ma)`
1544
1546
  grid-template-columns: 1fr 1fr 1fr;
1545
- `;exports.Builder_=e=>r.default.createElement(ne,{key:e.key},e.title?r.default.createElement("h4",null,e.title):null,e.children),exports.Card=w,exports.CardsForty=ba,exports.CardsSixty=La,exports.CardsTools=Ca,exports.Checkbox_=e=>r.default.createElement(re,{key:e.key},e.withInput?r.default.createElement(oe,{checked:e.checked},r.default.createElement(K,{placeholder:e.placeholder,disableInput:!e.checked})):r.default.createElement("label",{for:e.id},r.default.createElement("p",null,e.text_CheckboxLabel)),r.default.createElement(le,{className:"Check"},r.default.createElement("input",{type:"checkbox",id:e.id,checked:e.checked,onClick:e.onClick}),r.default.createElement("span",{className:"CheckCustom"}),r.default.createElement(s,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.Confirmation_=e=>r.default.createElement(S,null,r.default.createElement(A,null,r.default.createElement("h4",null,e.message),r.default.createElement(I,null,r.default.createElement(v,{onClick:e.onClick_Main,iconLeft:e.icon_Main,text:e.text_Main}),r.default.createElement(x,{onClick:e.onClick_MainPlain,iconLeft:e.icon_MainPlain,text:e.text_MainPlain})))),exports.Cta_=c,exports.Delete_Plain=_,exports.Dropdown_=q,exports.Edit_=e=>r.default.createElement(d,{size:"normal",onClick:e.onClick},r.default.createElement(s,{Icon:e.icon})),exports.Elastic_Search=t=>{let a={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[t.suggestionType]},n=t.json_File;const[l,o]=e.useState({query:"",file:n,notfoundmessage:!1,defaultValue:t.defaultValue}),[i,c]=e.useState(!1),[d,u]=e.useState(0),[m,h]=e.useState(t.list),g=e=>{t.onSuggestions(e),o({...l,query:"",defaultValue:"string"==typeof e?e:e[t.suggestionType]})},f=e=>{"ArrowUp"==e.key&&(e.preventDefault(),u(0===d?i.length-1:d-1)),"ArrowDown"==e.key&&(e.preventDefault(),d===i.length-1?u(0):u(d+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),g("string"==typeof i[d]?i[d]:i[d][t.suggestionType]))};return e.useEffect((()=>{a.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new Ye(n,a);let r=l.query?e.search(l.query):n;r=r.slice(0,t.size),c(r)}),[l]),e.useEffect((()=>{t.getInput&&i?.length>0?t.getInput(i[0]?.item):t.getSuggestions&&i?.length>0&&l.query.length?t.getSuggestions(i):t.getSuggestions&&!l.query.length&&t.getSuggestions([])}),[i]),r.default.createElement(et,null,r.default.createElement(tt,{id:"elasticSearch",autoComplete:"off",type:"text",value:t.value,placeholder:t.placeholder,onChange:e=>{const{target:a={}}=e,{value:n=""}=a;let r=Qe.toGreek(n);o({...l,query:t.sanitize?r:n})},defaultValue:l.defaultValue,onKeyPress:e=>f(e),onKeyDown:e=>f(e),list:t.list}),r.default.createElement(at,null,t.placeholder),t.required?r.default.createElement(P,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,t.list?r.default.createElement(v,{size:"small",text:t.add,iconLeft:"Add",className:"FormAddButton",onClick:()=>(e=>{let a=JSON.parse(JSON.stringify(t.list));a.push(e),t.updateItemList(a),h(a)})(t.value)}):null,l.query&&i?r.default.createElement(nt,null,i.slice(0,6).map(((e,a)=>r.default.createElement("li",{className:a===d%i.length?"ElasticSelected":"",key:a,onClick:()=>g(e?.item?e.item[t.suggestionType]:e[t.suggestionType])},r.default.createElement("p",null,e?.item?e.item[t.suggestionType]:e[t.suggestionType]))))):null,t.list?r.default.createElement(rt,null,r.default.createElement("h5",null,t.listItemTitle),m.map(((e,a)=>r.default.createElement("li",{key:a},r.default.createElement(s,{Icon:t.icon_ListItem}),r.default.createElement("h6",null,e),r.default.createElement(_,{variant_Size:"small",icon_Left:"Delete",onClick:()=>(e=>{let a=JSON.parse(JSON.stringify(t.list));a.splice(e,1),t.updateItemList(a),h(a)})(a)}))))):null)},exports.Focus_=e=>r.default.createElement(u,{size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.Focus_Plain=e=>r.default.createElement(m,{size:e.size,onClick:e.onClick,onFocus:e.onFocus},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.Form=F,exports.FormGroup=D,exports.FormInput=H,exports.FormLabel=V,exports.FormList=j,exports.Grey_=g,exports.Grey_Link=e=>r.default.createElement(f,{size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.HamContext=J,exports.IconSvg=s,exports.Input_=K,exports.Input_Phone=t=>{const{region:a}=e.useContext(U);return r.default.createElement(ee,null,r.default.createElement(te,null,r.default.createElement(q,null,r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},"Greece"===a?r.default.createElement("option",{selected:!0},"🇬🇷 +30"):"Deutschland"===a?r.default.createElement("option",{selected:!0},"🇩🇪 +49"):r.default.createElement("option",{selected:!0},"🇬🇷 +30"))),r.default.createElement(q,{items:t.array_PhoneDropdown})),r.default.createElement(K,{placeholder:t.text_PhonePlaceholder,required:t.required,list:t.array_PhoneList,icon_ListItem:t.icon_PhoneList}))},exports.Input_Phone_Register=t=>{const{region:a}=e.useContext(U);return r.default.createElement(ae,null,r.default.createElement(q,null,"Greece"===a?r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇬🇷 +30"),r.default.createElement("option",null,"🇩🇪 +49")):"Deutschland"===a?r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇩🇪 +49"),r.default.createElement("option",null,"🇬🇷 +30")):r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇬🇷 +30"),r.default.createElement("option",null,"🇩🇪 +49"))),r.default.createElement(K,{class_Input:t.class_Input,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown}))},exports.LangContext=W,exports.Main_=v,exports.Main_Plain=x,exports.MenuContext=X,exports.Nav_=e=>r.default.createElement($t,null,r.default.createElement(it,{onClick_Logo:e.onClick_Logo}),r.default.createElement(st,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?r.default.createElement(Lt,{role:e.role,img_Account:e.img_Account,img_Account_Main:e.img_Account,imgAlt_Account:e.imgAlt_Account,imgAlt_Account_Main:e.imgAlt_Account,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onCLick_Logout:e.onCLick_Logout,text_Logout:e.text_Logout,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language}):r.default.createElement(It,{role:e.role,onClick_Login:e.onClick_Login,text_Login:e.text_Login,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language})),exports.On_Click_Card=e=>r.default.createElement(M,{imgBevahe:e.imgBevahe,onClick:e.onClick},e.icon||e.header||e.imgSmall?r.default.createElement("header",null,e.icon?r.default.createElement("figure",null,r.default.createElement(s,{Icon:e.icon})):e.imgSmall?r.default.createElement(b,null,r.default.createElement("img",{src:e.imgSmall})):r.default.createElement(C,{headerColor:e.headerColor},e.header)):e.img?r.default.createElement("picture",null,r.default.createElement("img",{src:e.img})):null,e.title||e.subtitle?r.default.createElement("footer",null,e.title&&r.default.createElement("h2",null,e.title),e.subtitle&&r.default.createElement("h5",null,e.subtitle),e.children):null),exports.Page=Ot,exports.PageAlwaysVisible=Yt,exports.PageCards=sa,exports.PageDesktopOnly=Qt,exports.PageDesktopPadding=ea,exports.PageForty=qt,exports.PageSingle=aa,exports.PageSingleHeader=na,exports.PageSingleRight=la,exports.PageSingleleft=ra,exports.PageSixty=Wt,exports.PageSub=oa,exports.PageSubActions=ca,exports.PageSubTitle=ia,exports.PageTitle=ta,exports.PageTools=Ut,exports.PageToolsCards=da,exports.PageToolsForty=Jt,exports.PageToolsSixty=Xt,exports.Radio_=e=>r.default.createElement(ie,{key:e.key},e.withInput?r.default.createElement(K,{placeholder:e.placeholder}):r.default.createElement("label",{for:e.id},r.default.createElement("p",null,e.text)),r.default.createElement(ce,{className:"RadioCircle"},r.default.createElement("input",{name:e.name,type:"radio",id:e.id,checked:e.checked}),r.default.createElement("span",{className:"RadioCustom"}),r.default.createElement(s,{Icon:"Sun",class_Icon:"RadioIcon"}))),exports.RegionContext=U,exports.Sidebar_=e=>r.default.createElement(Tt,null,e.children),exports.Sidebar_Box=e=>r.default.createElement(Nt,{onClick:e.onClick},r.default.createElement("h5",{className:e.className+" SidebarButtonTitle"},e.text),r.default.createElement("picture",null,e.icon?r.default.createElement(s,{Icon:e.icon}):e.img?r.default.createElement("img",{src:e.img,alt:e.alt}):null)),exports.Slider=ya,exports.SliderContainer=_a,exports.SliderContext=Q,exports.SliderGrid=wa,exports.SliderOverlay=xa,exports.SliderTitle=ka,exports.SliderWrapper=Ea,exports.Slider_=e=>r.default.createElement(Ht,{className:e.className},r.default.createElement(Vt,{className:"StoryBook_Fix2",onClick:e.onClick_Close}),r.default.createElement(Dt,null,r.default.createElement(jt,null,r.default.createElement("h3",null,e.title),r.default.createElement(v,{text:e.done,iconRight:"Check",size:"normal",onClick:e.onClick})),r.default.createElement(Kt,null,e.children))),exports.Steps=ma,exports.StepsActions=va,exports.StepsComplete=ga,exports.StepsContainer=fa,exports.StepsCurrent=ha,exports.StepsWrapper=pa,exports.Steps_=e=>r.default.createElement(zt,null,r.default.createElement(Bt,{steps:e.steps,currentStep:e.currentStep}),r.default.createElement(Gt,null,e.steps.map(((t,n)=>r.default.createElement(a.CSSTransition,{in:e.currentStep===n,timeout:500,unmountOnExit:!0,classNames:"Steps"},r.default.createElement(Ft,{className:"Steps"},t)))))),exports.Steps_Actions=e=>r.default.createElement(Rt,null,r.default.createElement(g,{iconLeft:e.icon_Grey,text:e.text_Grey,onClick:e.onClick_Grey}),r.default.createElement(v,{iconRight:e.icon_Main,text:e.text_Main,onClick:e.onClick_Main})),exports.Textarea_=e=>{const[t,a]=r.default.useState(0);return r.default.createElement(se,null,r.default.createElement(z,{placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange_Textarea?e.onChange_Textarea:e=>(e=>{a(e.target.value.length)})(e)},e.defaultValue),e.limit?r.default.createElement(de,{capped:t>e.limit}," ",r.default.createElement("span",null,t)," / ",e.limit):null,e.required?r.default.createElement(P,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.errors?r.default.createElement($,{className:"ValidatorErrors"},e.errors.map((e=>r.default.createElement(Z,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?r.default.createElement($,{className:"ValidatorHelpers"},e.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e)))),e.tips.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.tips?r.default.createElement($,{className:"ValidatorHelpers"},e.tips.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.helpers?r.default.createElement($,{className:"ValidatorHelpers"},e.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null)},exports.Theme=ua,exports.ThemeContext=Y,exports.ThemeDark={id:"dark",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomDark)",mid:"var(--gloom)",high:"var(--gloomLight)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},exports.ThemeLight={id:"light",background:"var(--white)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},exports.White_Plain=e=>r.default.createElement(E,{size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.device=L;
1547
+ `;exports.Builder_=e=>r.default.createElement(ne,{key:e.key},e.title?r.default.createElement("h4",null,e.title):null,e.children),exports.Card=_,exports.CardsForty=ba,exports.CardsSixty=La,exports.CardsTools=Ca,exports.Checkbox_=e=>r.default.createElement(re,{key:e.key},e.withInput?r.default.createElement(oe,{checked:e.checked},r.default.createElement(K,{placeholder:e.placeholder,disableInput:!e.checked})):r.default.createElement("label",{for:e.id},r.default.createElement("p",null,e.text_CheckboxLabel)),r.default.createElement(le,{className:"Check"},r.default.createElement("input",{type:"checkbox",id:e.id,checked:e.checked,onClick:e.onClick}),r.default.createElement("span",{className:"CheckCustom"}),r.default.createElement(s,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.Confirmation_=e=>r.default.createElement(S,null,r.default.createElement(A,null,r.default.createElement("h4",null,e.message),r.default.createElement(I,null,r.default.createElement(v,{onClick:e.onClick_Main,iconLeft:e.icon_Main,text:e.text_Main}),r.default.createElement(x,{onClick:e.onClick_MainPlain,iconLeft:e.icon_MainPlain,text:e.text_MainPlain})))),exports.Cta_=c,exports.Delete_Plain=w,exports.Dropdown_=q,exports.Edit_=e=>r.default.createElement(d,{size:"normal",onClick:e.onClick},r.default.createElement(s,{Icon:e.icon})),exports.Elastic_Search=t=>{let a={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[t.suggestionType]},n=t.json_File;const[l,o]=e.useState({query:"",file:n,notfoundmessage:!1,defaultValue:t.defaultValue}),[i,c]=e.useState(!1),[d,u]=e.useState(0),[m,h]=e.useState(t.list),g=e=>{t.onSuggestions(e),o({...l,query:"",defaultValue:"string"==typeof e?e:e[t.suggestionType]})},f=e=>{"ArrowUp"==e.key&&(e.preventDefault(),u(0===d?i.length-1:d-1)),"ArrowDown"==e.key&&(e.preventDefault(),d===i.length-1?u(0):u(d+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),g("string"==typeof i[d]?i[d]:i[d][t.suggestionType]))};return e.useEffect((()=>{a.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new Ye(n,a);let r=l.query?e.search(l.query):n;r=r.slice(0,t.size),c(r)}),[l]),e.useEffect((()=>{t.getInput&&i?.length>0?t.getInput(i[0]?.item):t.getSuggestions&&i?.length>0&&l.query.length?t.getSuggestions(i):t.getSuggestions&&!l.query.length&&t.getSuggestions([])}),[i]),r.default.createElement(et,null,r.default.createElement(tt,{id:"elasticSearch",autoComplete:"off",type:"text",value:t.value,placeholder:t.placeholder,onChange:e=>{const{target:a={}}=e,{value:n=""}=a;let r=Qe.toGreek(n);o({...l,query:t.sanitize?r:n})},defaultValue:l.defaultValue,onKeyPress:e=>f(e),onKeyDown:e=>f(e),list:t.list}),r.default.createElement(at,null,t.placeholder),t.required?r.default.createElement(P,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,t.list?r.default.createElement(v,{size:"small",text:t.add,iconLeft:"Add",className:"FormAddButton",onClick:()=>(e=>{let a=JSON.parse(JSON.stringify(t.list));a.push(e),t.updateItemList(a),h(a)})(t.value)}):null,l.query&&i?r.default.createElement(nt,null,i.slice(0,6).map(((e,a)=>r.default.createElement("li",{className:a===d%i.length?"ElasticSelected":"",key:a,onClick:()=>g(e?.item?e.item[t.suggestionType]:e[t.suggestionType])},r.default.createElement("p",null,e?.item?e.item[t.suggestionType]:e[t.suggestionType]))))):null,t.list?r.default.createElement(rt,null,r.default.createElement("h5",null,t.listItemTitle),m.map(((e,a)=>r.default.createElement("li",{key:a},r.default.createElement(s,{Icon:t.icon_ListItem}),r.default.createElement("h6",null,e),r.default.createElement(w,{variant_Size:"small",icon_Left:"Delete",onClick:()=>(e=>{let a=JSON.parse(JSON.stringify(t.list));a.splice(e,1),t.updateItemList(a),h(a)})(a)}))))):null)},exports.Focus_=e=>r.default.createElement(u,{size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.Focus_Plain=e=>r.default.createElement(m,{size:e.size,onClick:e.onClick,onFocus:e.onFocus},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.Form=F,exports.FormGroup=D,exports.FormInput=H,exports.FormLabel=V,exports.FormList=j,exports.Grey_=g,exports.Grey_Link=e=>r.default.createElement(f,{size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.HamContext=J,exports.IconSvg=s,exports.Input_=K,exports.Input_Phone=t=>{const{region:a}=e.useContext(U);return r.default.createElement(ee,null,r.default.createElement(te,null,r.default.createElement(q,null,r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},"Greece"===a?r.default.createElement("option",{selected:!0},"🇬🇷 +30"):"Deutschland"===a?r.default.createElement("option",{selected:!0},"🇩🇪 +49"):r.default.createElement("option",{selected:!0},"🇬🇷 +30"))),r.default.createElement(q,{items:t.array_PhoneDropdown})),r.default.createElement(K,{placeholder:t.text_PhonePlaceholder,required:t.required,list:t.array_PhoneList,icon_ListItem:t.icon_PhoneList}))},exports.Input_Phone_Register=t=>{const{region:a}=e.useContext(U);return r.default.createElement(ae,null,r.default.createElement(q,null,"Greece"===a?r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇬🇷 +30"),r.default.createElement("option",null,"🇩🇪 +49")):"Deutschland"===a?r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇩🇪 +49"),r.default.createElement("option",null,"🇬🇷 +30")):r.default.createElement("select",{className:"Dropdown_EmojiAdapt"},r.default.createElement("option",{selected:!0},"🇬🇷 +30"),r.default.createElement("option",null,"🇩🇪 +49"))),r.default.createElement(K,{class_Input:t.class_Input,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown}))},exports.LangContext=W,exports.Main_=v,exports.Main_Plain=x,exports.MenuContext=X,exports.Nav_=e=>r.default.createElement($t,null,r.default.createElement(it,{onClick_Logo:e.onClick_Logo}),r.default.createElement(st,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?r.default.createElement(Lt,{role:e.role,img_Account:e.img_Account,img_Account_Main:e.img_Account,imgAlt_Account:e.imgAlt_Account,imgAlt_Account_Main:e.imgAlt_Account,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onCLick_Logout:e.onCLick_Logout,text_Logout:e.text_Logout,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language}):r.default.createElement(It,{role:e.role,onClick_Login:e.onClick_Login,text_Login:e.text_Login,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language})),exports.On_Click_Card=e=>r.default.createElement(M,{imgBevahe:e.imgBevahe,onClick:e.onClick},e.icon||e.header||e.imgSmall?r.default.createElement("header",null,e.icon?r.default.createElement("figure",null,r.default.createElement(s,{Icon:e.icon})):e.imgSmall?r.default.createElement(b,null,r.default.createElement("img",{src:e.imgSmall})):r.default.createElement(C,{headerColor:e.headerColor},e.header)):e.img?r.default.createElement("picture",null,r.default.createElement("img",{src:e.img})):null,e.title||e.subtitle?r.default.createElement("footer",null,e.title&&r.default.createElement("h2",null,e.title),e.subtitle&&r.default.createElement("h5",null,e.subtitle),e.children):null),exports.Page=Ot,exports.PageAlwaysVisible=Yt,exports.PageCards=sa,exports.PageDesktopOnly=Qt,exports.PageDesktopPadding=ea,exports.PageForty=qt,exports.PageSingle=aa,exports.PageSingleHeader=na,exports.PageSingleRight=la,exports.PageSingleleft=ra,exports.PageSixty=Wt,exports.PageSub=oa,exports.PageSubActions=ca,exports.PageSubTitle=ia,exports.PageTitle=ta,exports.PageTools=Ut,exports.PageToolsCards=da,exports.PageToolsForty=Jt,exports.PageToolsSixty=Xt,exports.Radio_=e=>r.default.createElement(ie,{key:e.key},e.withInput?r.default.createElement(K,{placeholder:e.placeholder}):r.default.createElement("label",{for:e.id},r.default.createElement("p",null,e.text)),r.default.createElement(ce,{className:"RadioCircle"},r.default.createElement("input",{name:e.name,type:"radio",id:e.id,checked:e.checked}),r.default.createElement("span",{className:"RadioCustom"}),r.default.createElement(s,{Icon:"Sun",class_Icon:"RadioIcon"}))),exports.RegionContext=U,exports.Sidebar_=e=>r.default.createElement(Tt,null,e.children),exports.Sidebar_Box=e=>r.default.createElement(Nt,{onClick:e.onClick},r.default.createElement("h5",{className:e.className+" SidebarButtonTitle"},e.text),r.default.createElement("picture",null,e.icon?r.default.createElement(s,{Icon:e.icon}):e.img?r.default.createElement("img",{src:e.img,alt:e.alt}):null)),exports.Slider=ya,exports.SliderContainer=wa,exports.SliderContext=Q,exports.SliderGrid=_a,exports.SliderOverlay=xa,exports.SliderTitle=ka,exports.SliderWrapper=Ea,exports.Slider_=e=>r.default.createElement(Ht,{className:e.className},r.default.createElement(Vt,{className:"StoryBook_Fix2",onClick:e.onClick_Close}),r.default.createElement(Dt,null,r.default.createElement(jt,null,r.default.createElement("h3",null,e.title),r.default.createElement(v,{text:e.done,iconRight:"Check",size:"normal",onClick:e.onClick})),r.default.createElement(Kt,null,e.children))),exports.Steps=ma,exports.StepsActions=va,exports.StepsComplete=ga,exports.StepsContainer=fa,exports.StepsCurrent=ha,exports.StepsWrapper=pa,exports.Steps_=e=>r.default.createElement(zt,null,r.default.createElement(Bt,{steps:e.steps,currentStep:e.currentStep}),r.default.createElement(Gt,null,e.steps.map(((t,n)=>r.default.createElement(a.CSSTransition,{in:e.currentStep===n,timeout:500,unmountOnExit:!0,classNames:"Steps"},r.default.createElement(Ft,{className:"Steps"},t)))))),exports.Steps_Actions=e=>r.default.createElement(Rt,null,r.default.createElement(g,{iconLeft:e.icon_Grey,text:e.text_Grey,onClick:e.onClick_Grey}),r.default.createElement(v,{iconRight:e.icon_Main,text:e.text_Main,onClick:e.onClick_Main})),exports.Textarea_=e=>{const[t,a]=r.default.useState(0);return r.default.createElement(se,null,r.default.createElement(z,{placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange_Textarea?e.onChange_Textarea:e=>(e=>{a(e.target.value.length)})(e)},e.defaultValue),e.limit?r.default.createElement(de,{capped:t>e.limit}," ",r.default.createElement("span",null,t)," / ",e.limit):null,e.required?r.default.createElement(P,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.errors?r.default.createElement($,{className:"ValidatorErrors"},e.errors.map((e=>r.default.createElement(Z,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?r.default.createElement($,{className:"ValidatorHelpers"},e.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e)))),e.tips.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.tips?r.default.createElement($,{className:"ValidatorHelpers"},e.tips.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.helpers?r.default.createElement($,{className:"ValidatorHelpers"},e.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null)},exports.Theme=ua,exports.ThemeContext=Y,exports.ThemeDark={id:"dark",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomDark)",mid:"var(--gloom)",high:"var(--gloomLight)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},exports.ThemeLight={id:"light",background:"var(--white)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},exports.White_Plain=e=>r.default.createElement(E,{size:e.size,onClick:e.onClick},e.iconLeft?r.default.createElement(s,{Icon:e.iconLeft}):null,e.text?r.default.createElement("span",null,e.text):null,e.iconRight?r.default.createElement(s,{Icon:e.iconRight}):null),exports.device=L;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monica-alexandria",
3
- "version": "3.4.13",
3
+ "version": "3.4.15",
4
4
  "description": "A styled-components styles library for Doitforme platorm and universal tweeks to create your own new styled library for your project",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -12,7 +12,7 @@ const OnClickCard = styled(Card)`
12
12
  display: flex;
13
13
  align-items: center;
14
14
  justify-content: center;
15
- background: ${p => p.theme.mid};
15
+ background: ${p => p.theme.low};
16
16
 
17
17
  figure{
18
18
  background: ${p => p.theme.background};
@@ -29,8 +29,18 @@ const OnClickCard = styled(Card)`
29
29
  picture{
30
30
  display: block;
31
31
  width: 100%;
32
- height: 20rem;
32
+ height: ${p => p.imgBevahe == 'Contain' ?
33
+ '24rem'
34
+ :
35
+ '20rem'
36
+ };
37
+ padding: ${p => p.imgBevahe == 'Contain' ?
38
+ '2rem'
39
+ :
40
+ '0'
41
+ };
33
42
  overflow: hidden;
43
+ background: var(--light);
34
44
 
35
45
  img{
36
46
  object-fit: ${p => p.imgBevahe == 'Contain' ?
@@ -1,5 +1,6 @@
1
1
  export const ThemeLight = {
2
2
  id: 'light',
3
+ flare: 'var(--light)',
3
4
  background: 'var(--white)',
4
5
  color: 'var(--black)',
5
6
  low: 'var(--greyLight)',
@@ -14,6 +15,7 @@ export const ThemeLight = {
14
15
 
15
16
  export const ThemeDark = {
16
17
  id: 'dark',
18
+ flare: 'var(--vanta)',
17
19
  background: 'var(--dark)',
18
20
  color: 'var(--blanc)',
19
21
  low: 'var(--gloomDark)',