monica-alexandria 3.3.10 → 3.3.13

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
@@ -1,4 +1,4 @@
1
- import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"react";import o from"styled-components";import{CSSTransition as i}from"react-transition-group";const c=o.button`
1
+ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"react";import o from"styled-components";import{CSSTransition as i}from"react-transition-group";const c=o.button`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  gap: 1rem;
@@ -306,7 +306,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
306
306
  `;o.div`
307
307
  display: flex;
308
308
  gap: 1rem;
309
- `;const T=t=>e.createElement(I,{variant_CardText:t.variant_CardText,onClick:t.onClick},t.icon||t.header||t.imgSmall?e.createElement("header",null,t.icon?e.createElement("figure",null,e.createElement(d,{Icon:t.icon})):t.imgSmall?e.createElement($,null,e.createElement("img",{src:t.imgSmall})):e.createElement("span",null,t.header)):t.img?e.createElement("picture",null,e.createElement("img",{src:t.img})):null,t.title||t.subtitle?e.createElement("footer",null,t.title&&e.createElement("h2",null,t.title),t.subtitle&&e.createElement("h5",null,t.subtitle),t.children):null),R={xs:`(max-width: ${`${576}px`})`,sm:`(max-width: ${`${768}px`})`,md:`(max-width: ${`${992}px`})`,lg:`(max-width: ${`${1200}px`})`,xl:`(max-width: ${`${1440}px`})`,wd:`(max-width: ${`${1800}px`})`},N=o.div`
309
+ `;const T=t=>e.createElement(I,{variant_CardText:t.variant_CardText,onClick:t.onClick},t.icon||t.header||t.imgSmall?e.createElement("header",null,t.icon?e.createElement("figure",null,e.createElement(d,{Icon:t.icon})):t.imgSmall?e.createElement($,null,e.createElement("img",{src:t.imgSmall})):e.createElement("span",null,t.header)):t.img?e.createElement("picture",null,e.createElement("img",{src:t.img})):null,t.title||t.subtitle?e.createElement("footer",null,t.title&&e.createElement("h2",null,t.title),t.subtitle&&e.createElement("h5",null,t.subtitle),t.children):null),N={xs:`(max-width: ${`${576}px`})`,sm:`(max-width: ${`${768}px`})`,md:`(max-width: ${`${992}px`})`,lg:`(max-width: ${`${1200}px`})`,xl:`(max-width: ${`${1440}px`})`,wd:`(max-width: ${`${1800}px`})`},R=o.div`
310
310
  position: fixed;
311
311
  top: 0;
312
312
  left: 0;
@@ -332,7 +332,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
332
332
  align-items: center;
333
333
  justify-content: space-between;
334
334
 
335
- @media ${R.sm}{
335
+ @media ${N.sm}{
336
336
 
337
337
  button{
338
338
 
@@ -341,7 +341,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
341
341
  }
342
342
  }
343
343
  }
344
- `,B=t=>e.createElement(N,null,e.createElement(Z,null,e.createElement("h4",null,t.message),e.createElement(z,null,e.createElement(w,{onClick:t.onClick_Main,iconLeft:t.icon_Main,text:t.text_Main}),e.createElement(M,{onClick:t.onClick_MainPlain,iconLeft:t.icon_MainPlain,text:t.text_MainPlain})))),G=o.div`
344
+ `,B=t=>e.createElement(R,null,e.createElement(Z,null,e.createElement("h4",null,t.message),e.createElement(z,null,e.createElement(w,{onClick:t.onClick_Main,iconLeft:t.icon_Main,text:t.text_Main}),e.createElement(M,{onClick:t.onClick_MainPlain,iconLeft:t.icon_MainPlain,text:t.text_MainPlain})))),G=o.div`
345
345
 
346
346
  `,P=o.div`
347
347
  display: grid;
@@ -522,7 +522,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
522
522
  fill: ${e=>e.theme.color};
523
523
  }
524
524
  }
525
- `,Y=t=>e.createElement(X,null,e.createElement(W,{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}),e.createElement(U,null,t.placeholder),t.list?e.createElement(w,{size:"small",text:t.add,iconLeft:"Add",className:"FormAddButton",onClick:t.onClick_Add}):null,t.required?e.createElement(D,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.errors?e.createElement(G,{className:"ValidatorErrors"},t.errors.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(G,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(G,{className:"ValidatorHelpers"},t.tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(G,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null,t.list?e.createElement(J,null,t.list.map(((n,r)=>e.createElement("li",{key:r},e.createElement(d,{Icon:t.icon_ListItem}),e.createElement("h6",null,n),e.createElement(S,{onClick:t.onClick_ListItemDelete,size:"small",iconLeft:"Delete"}))))):null),Q=o.div`
525
+ `,Y=n=>{const[r,a]=t(JSON.stringify(n.list));return e.createElement(X,null,e.createElement(W,{value:n.value,className:n.className,placeholder:n.placeholder,id:n.id,autoComplete:"off",type:"text",onChange:n.onChange,defaultValue:n.defaultValue,onKeyPress:n.onKeyPress,onKeyDown:n.onKeyDown,disabled:n.disableInput}),e.createElement(U,null,n.placeholder),n.list?e.createElement(w,{size:"small",text:n.add,iconLeft:"Add",className:"FormAddButton",onClick:n.onClick_Add}):null,n.required?e.createElement(D,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,n.errors?e.createElement(G,{className:"ValidatorErrors"},n.errors.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,n.tips&&n.helpers?e.createElement(G,{className:"ValidatorHelpers"},n.helpers.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),n.tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):n.tips?e.createElement(G,{className:"ValidatorHelpers"},n.tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):n.helpers?e.createElement(G,{className:"ValidatorHelpers"},n.helpers.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null,n.list?e.createElement(J,null,r.map(((t,r)=>e.createElement("li",{key:r},e.createElement(d,{Icon:n.icon_ListItem}),e.createElement("h6",null,t),e.createElement(S,{onClick:()=>(e=>{let t=JSON.parse(JSON.stringify(n.list));t.splice(e,1),a(t)})(r),size:"small",iconLeft:"Delete"}))))):null)},Q=o.div`
526
526
  position: relative;
527
527
 
528
528
  select{
@@ -555,7 +555,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
555
555
  right: 1rem;
556
556
  }
557
557
 
558
- `,ee=t=>e.createElement(Q,null,e.createElement(d,{Icon:"Dropdown",class_Icon:"Dropdown_IconAdapt"}),t.items?e.createElement("select",{className:t.className,onChange:t.onChange,defaultValue:t.defaultValue},t.items.map(((t,n)=>e.createElement("option",{key:n},t)))):null,t.children),te=t({language:"el",setLanguage:()=>{}}),ne=t({region:"Greece",setRegion:()=>{}}),re=t({activeMenu:"Main",setActiveMenu:()=>{}}),ae=t({hamState:!1,setHamState:()=>{}}),oe=t({theme:"light",setTheme:()=>{}}),ie=t({slider:!1,toggleSlider:()=>{}}),ce=o.div`
558
+ `,ee=t=>e.createElement(Q,null,e.createElement(d,{Icon:"Dropdown",class_Icon:"Dropdown_IconAdapt"}),t.items?e.createElement("select",{className:t.className,onChange:t.onChange,defaultValue:t.defaultValue},t.items.map(((t,n)=>e.createElement("option",{key:n},t)))):null,t.children),te=n({language:"el",setLanguage:()=>{}}),ne=n({region:"Greece",setRegion:()=>{}}),re=n({activeMenu:"Main",setActiveMenu:()=>{}}),ae=n({hamState:!1,setHamState:()=>{}}),oe=n({theme:"light",setTheme:()=>{}}),ie=n({slider:!1,toggleSlider:()=>{}}),ce=o.div`
559
559
 
560
560
  `,le=o.div`
561
561
  display: grid;
@@ -564,12 +564,12 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
564
564
  grid-template-columns: auto auto;
565
565
  grid-column-gap: 2rem;
566
566
  margin-bottom: 1rem;
567
- `,se=t=>{const{region:r}=n(ne);return e.createElement(ce,null,e.createElement(le,null,e.createElement(ee,null,e.createElement("select",{className:"Dropdown_EmojiAdapt"},"Greece"===r?e.createElement("option",{selected:!0},"🇬🇷 +30"):"Deutschland"===r?e.createElement("option",{selected:!0},"🇩🇪 +49"):e.createElement("option",{selected:!0},"🇬🇷 +30"))),e.createElement(ee,{items:t.array_PhoneDropdown})),e.createElement(Y,{placeholder:t.text_PhonePlaceholder,required:t.required,list:t.array_PhoneList,icon_ListItem:t.icon_PhoneList}))},de=o.div`
567
+ `,se=t=>{const{region:n}=r(ne);return e.createElement(ce,null,e.createElement(le,null,e.createElement(ee,null,e.createElement("select",{className:"Dropdown_EmojiAdapt"},"Greece"===n?e.createElement("option",{selected:!0},"🇬🇷 +30"):"Deutschland"===n?e.createElement("option",{selected:!0},"🇩🇪 +49"):e.createElement("option",{selected:!0},"🇬🇷 +30"))),e.createElement(ee,{items:t.array_PhoneDropdown})),e.createElement(Y,{placeholder:t.text_PhonePlaceholder,required:t.required,list:t.array_PhoneList,icon_ListItem:t.icon_PhoneList}))},de=o.div`
568
568
  display: grid;
569
569
  grid-template-columns: auto 1fr;
570
570
  align-items: center;
571
571
  grid-column-gap: 2rem;
572
- `,me=t=>{const{region:r}=n(ne);return e.createElement(de,null,e.createElement(ee,null,"Greece"===r?e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇬🇷 +30"),e.createElement("option",null,"🇩🇪 +49")):"Deutschland"===r?e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇩🇪 +49"),e.createElement("option",null,"🇬🇷 +30")):e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇬🇷 +30"),e.createElement("option",null,"🇩🇪 +49"))),e.createElement(Y,{class_Input:t.class_Input,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown}))},ue=o.div`
572
+ `,me=t=>{const{region:n}=r(ne);return e.createElement(de,null,e.createElement(ee,null,"Greece"===n?e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇬🇷 +30"),e.createElement("option",null,"🇩🇪 +49")):"Deutschland"===n?e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇩🇪 +49"),e.createElement("option",null,"🇬🇷 +30")):e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇬🇷 +30"),e.createElement("option",null,"🇩🇪 +49"))),e.createElement(Y,{class_Input:t.class_Input,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown}))},ue=o.div`
573
573
  margin-bottom: 2rem;
574
574
 
575
575
  h4{
@@ -751,7 +751,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
751
751
  span{
752
752
  color: ${e=>e.capped?"var(--error)":"inherit"};
753
753
  }
754
- `,_e=t=>{const[n,r]=e.useState(0);return e.createElement(ke,null,e.createElement(j,{placeholder:t.placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange_Textarea?t.onChange_Textarea:e=>(e=>{r(e.target.value.length)})(e)},t.defaultValue),t.limit?e.createElement(we,{capped:n>t.limit}," ",e.createElement("span",null,n)," / ",t.limit):null,t.required?e.createElement(D,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.errors?e.createElement(G,{className:"ValidatorErrors"},t.errors.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(G,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(G,{className:"ValidatorHelpers"},t.tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(G,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null)};function Me(e){return Array.isArray?Array.isArray(e):"[object Array]"===$e(e)}function be(e){return"string"==typeof e}function Le(e){return"number"==typeof e}function Ce(e){return!0===e||!1===e||function(e){return Se(e)&&null!==e}(e)&&"[object Boolean]"==$e(e)}function Se(e){return"object"==typeof e}function Ae(e){return null!=e}function Ie(e){return!e.trim().length}function $e(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Te=Object.prototype.hasOwnProperty;class Re{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=Ne(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.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 Ne(e){let t=null,n=null,r=null,a=1,o=null;if(be(e)||Me(e))r=e,t=Ze(e),n=ze(e);else{if(!Te.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(r=i,Te.call(e,"weight")&&(a=e.weight,a<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(i));t=Ze(i),n=ze(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function Ze(e){return Me(e)?e:e.split(".")}function ze(e){return Me(e)?e.join("."):e}var Be={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 n=[],r=!1;const a=(e,t,o)=>{if(Ae(e))if(t[o]){const i=e[t[o]];if(!Ae(i))return;if(o===t.length-1&&(be(i)||Le(i)||Ce(i)))n.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)}(i));else if(Me(i)){r=!0;for(let e=0,n=i.length;e<n;e+=1)a(i[e],t,o+1)}else t.length&&a(i,t,o+1)}else n.push(e)};return a(e,be(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Ge=/[^ ]+/g;class Pe{constructor({getFn:e=Be.getFn,fieldNormWeight:t=Be.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(Ge).length;if(n.has(a))return n.get(a);const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*r)/r);return n.set(a,i),i},clear(){n.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,be(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();be(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!Ae(e)||Ie(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if(Ae(a))if(Me(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(Ae(r))if(be(r)&&!Ie(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else Me(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(be(a)&&!Ie(a)){let e={v:a,n:this.norm.get(a)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Fe(e,t,{getFn:n=Be.getFn,fieldNormWeight:r=Be.fieldNormWeight}={}){const a=new Pe({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Ne)),a.setSources(t),a.create(),a}function He(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Be.distance,ignoreLocation:o=Be.ignoreLocation}={}){const i=t/e.length;if(o)return i;const c=Math.abs(r-n);return a?i+c/a:c?1:i}function Ve(e,t,n,{location:r=Be.location,distance:a=Be.distance,threshold:o=Be.threshold,findAllMatches:i=Be.findAllMatches,minMatchCharLength:c=Be.minMatchCharLength,includeMatches:l=Be.includeMatches,ignoreLocation:s=Be.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,m=e.length,u=Math.max(0,Math.min(r,m));let h=o,g=u;const p=c>1||l,v=p?Array(m):[];let y;for(;(y=e.indexOf(t,g))>-1;){let e=He(t,{currentLocation:y,expectedLocation:u,distance:a,ignoreLocation:s});if(h=Math.min(e,h),g=y+d,p){let e=0;for(;e<d;)v[y+e]=1,e+=1}}g=-1;let f=[],E=1,x=d+m;const k=1<<d-1;for(let r=0;r<d;r+=1){let o=0,c=x;for(;o<c;){He(t,{errors:r,currentLocation:u+c,expectedLocation:u,distance:a,ignoreLocation:s})<=h?o=c:x=c,c=Math.floor((x-o)/2+o)}x=c;let l=Math.max(1,u-c+1),y=i?m:Math.min(u+c,m)+d,w=Array(y+2);w[y+1]=(1<<r)-1;for(let o=y;o>=l;o-=1){let i=o-1,c=n[e.charAt(i)];if(p&&(v[i]=+!!c),w[o]=(w[o+1]<<1|1)&c,r&&(w[o]|=(f[o+1]|f[o])<<1|1|f[o+1]),w[o]&k&&(E=He(t,{errors:r,currentLocation:i,expectedLocation:u,distance:a,ignoreLocation:s}),E<=h)){if(h=E,g=i,g<=u)break;l=Math.max(1,2*u-g)}}if(He(t,{errors:r+1,currentLocation:u,expectedLocation:u,distance:a,ignoreLocation:s})>h)break;f=w}const w={isMatch:g>=0,score:Math.max(.001,E)};if(p){const e=function(e=[],t=Be.minMatchCharLength){let n=[],r=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(v,c);e.length?l&&(w.indices=e):w.isMatch=!1}return w}function De(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}class Ke{constructor(e,{location:t=Be.location,threshold:n=Be.threshold,distance:r=Be.distance,includeMatches:a=Be.includeMatches,findAllMatches:o=Be.findAllMatches,minMatchCharLength:i=Be.minMatchCharLength,isCaseSensitive:c=Be.isCaseSensitive,ignoreLocation:l=Be.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:De(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,n=d-t;for(;e<n;)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:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,ignoreLocation:l}=this.options;let s=[],d=0,m=!1;this.chunks.forEach((({pattern:t,alphabet:u,startIndex:h})=>{const{isMatch:g,score:p,indices:v}=Ve(e,t,u,{location:r+h,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});g&&(m=!0),d+=p,g&&v&&(s=[...s,...v])}));let u={isMatch:m,score:m?d/this.chunks.length:1};return m&&n&&(u.indices=s),u}}class je{constructor(e){this.pattern=e}static isMultiMatch(e){return qe(e,this.multiRegex)}static isSingleMatch(e){return qe(e,this.singleRegex)}search(){}}function qe(e,t){const n=e.match(t);return n?n[1]:null}class Oe extends je{constructor(e,{location:t=Be.location,threshold:n=Be.threshold,distance:r=Be.distance,includeMatches:a=Be.includeMatches,findAllMatches:o=Be.findAllMatches,minMatchCharLength:i=Be.minMatchCharLength,isCaseSensitive:c=Be.isCaseSensitive,ignoreLocation:l=Be.ignoreLocation}={}){super(e),this._bitapSearch=new Ke(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class We extends je{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Ue=[class extends je{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]}}},We,class extends je{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 je{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 je{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 je{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 je{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]}}},Oe],Xe=Ue.length,Je=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Ye=new Set([Oe.type,We.type]);class Qe{constructor(e,{isCaseSensitive:t=Be.isCaseSensitive,includeMatches:n=Be.includeMatches,minMatchCharLength:r=Be.minMatchCharLength,ignoreLocation:a=Be.ignoreLocation,findAllMatches:o=Be.findAllMatches,location:i=Be.location,threshold:c=Be.threshold,distance:l=Be.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:c,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Je).filter((e=>e&&!!e.trim())),r=[];for(let e=0,a=n.length;e<a;e+=1){const a=n[e];let o=!1,i=-1;for(;!o&&++i<Xe;){const e=Ue[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Xe;){const e=Ue[i];let n=e.isSingleMatch(a);if(n){r.push(new e(n,t));break}}}return r}))}(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:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let a=0,o=[],i=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];o.length=0,a=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:l,indices:s,score:d}=r.search(e);if(!l){i=0,a=0,o.length=0;break}if(a+=1,i+=d,n){const e=r.constructor.type;Ye.has(e)?o=[...o,...s]:o.push(s)}}if(a){let e={isMatch:!0,score:i/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const et=[];function tt(e,t){for(let n=0,r=et.length;n<r;n+=1){let r=et[n];if(r.condition(e,t))return new r(e,t)}return new Ke(e,t)}const nt="$and",rt="$or",at="$path",ot="$val",it=e=>!(!e[nt]&&!e[rt]),ct=e=>({[nt]:Object.keys(e).map((t=>({[t]:e[t]})))});function lt(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[at])(e);if(!o&&a.length>1&&!it(e))return r(ct(e));if((e=>!Me(e)&&Se(e)&&!it(e))(e)){const r=o?e[at]:a[0],i=o?e[ot]:e[r];if(!be(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:ze(r),pattern:i};return n&&(c.searcher=tt(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];Me(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return it(e)||(e=ct(e)),r(e)}function st(e,t){const n=e.matches;t.matches=[],Ae(n)&&n.forEach((e=>{if(!Ae(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let a={indices:n,value:r};e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)}))}function dt(e,t){t.score=e.score}class mt{constructor(e,t={},n){this.options={...Be,...t},this.options.useExtendedSearch,this._keyStore=new Re(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Pe))throw new Error("Incorrect 'index' type");this._myIndex=t||Fe(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ae(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const a=this._docs[n];e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options;let c=be(e)?be(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Be.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:i}),a&&c.sort(o),Le(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=Be.includeMatches,includeScore:r=Be.includeScore}={}){const a=[];return n&&a.push(st),r&&a.push(dt),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=tt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!Ae(e))return;const{isMatch:o,score:i,indices:c}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:c}]})})),r}_searchLogical(e){const t=lt(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const a=[];for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],c=n(i,t,r);if(c.length)a.push(...c);else if(e.operator===nt)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(Ae(e)){let i=n(t,e,r);i.length&&(a[r]||(a[r]={idx:r,item:e,matches:[]},o.push(a[r])),i.forEach((({matches:e})=>{a[r].matches.push(...e)})))}})),o}_searchObjectList(e){const t=tt(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!Ae(e))return;let o=[];n.forEach(((n,r)=>{o.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),o.length&&a.push({idx:r,item:e,matches:o})})),a}_findMatches({key:e,value:t,searcher:n}){if(!Ae(t))return[];let r=[];if(Me(t))t.forEach((({v:t,i:a,n:o})=>{if(!Ae(t))return;const{isMatch:i,score:c,indices:l}=n.searchIn(t);i&&r.push({score:c,key:e,value:t,idx:a,norm:o,indices:l})}));else{const{v:a,n:o}=t,{isMatch:i,score:c,indices:l}=n.searchIn(a);i&&r.push({score:c,key:e,value:a,norm:o,indices:l})}return r}}mt.version="6.6.2",mt.createIndex=Fe,mt.parseIndex=function(e,{getFn:t=Be.getFn,fieldNormWeight:n=Be.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new Pe({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},mt.config=Be,mt.parseQuery=lt,function(...e){et.push(...e)}(Qe);var ut=require("greek-utils");const ht=o(X)`
754
+ `,_e=t=>{const[n,r]=e.useState(0);return e.createElement(ke,null,e.createElement(j,{placeholder:t.placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange_Textarea?t.onChange_Textarea:e=>(e=>{r(e.target.value.length)})(e)},t.defaultValue),t.limit?e.createElement(we,{capped:n>t.limit}," ",e.createElement("span",null,n)," / ",t.limit):null,t.required?e.createElement(D,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.errors?e.createElement(G,{className:"ValidatorErrors"},t.errors.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(G,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(G,{className:"ValidatorHelpers"},t.tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(G,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null)};function Me(e){return Array.isArray?Array.isArray(e):"[object Array]"===$e(e)}function be(e){return"string"==typeof e}function Le(e){return"number"==typeof e}function Ce(e){return!0===e||!1===e||function(e){return Se(e)&&null!==e}(e)&&"[object Boolean]"==$e(e)}function Se(e){return"object"==typeof e}function Ae(e){return null!=e}function Ie(e){return!e.trim().length}function $e(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Te=Object.prototype.hasOwnProperty;class Ne{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=Re(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.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 Re(e){let t=null,n=null,r=null,a=1,o=null;if(be(e)||Me(e))r=e,t=Ze(e),n=ze(e);else{if(!Te.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(r=i,Te.call(e,"weight")&&(a=e.weight,a<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(i));t=Ze(i),n=ze(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function Ze(e){return Me(e)?e:e.split(".")}function ze(e){return Me(e)?e.join("."):e}var Be={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 n=[],r=!1;const a=(e,t,o)=>{if(Ae(e))if(t[o]){const i=e[t[o]];if(!Ae(i))return;if(o===t.length-1&&(be(i)||Le(i)||Ce(i)))n.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)}(i));else if(Me(i)){r=!0;for(let e=0,n=i.length;e<n;e+=1)a(i[e],t,o+1)}else t.length&&a(i,t,o+1)}else n.push(e)};return a(e,be(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Ge=/[^ ]+/g;class Pe{constructor({getFn:e=Be.getFn,fieldNormWeight:t=Be.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(Ge).length;if(n.has(a))return n.get(a);const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*r)/r);return n.set(a,i),i},clear(){n.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,be(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();be(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!Ae(e)||Ie(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if(Ae(a))if(Me(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(Ae(r))if(be(r)&&!Ie(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else Me(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(be(a)&&!Ie(a)){let e={v:a,n:this.norm.get(a)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Fe(e,t,{getFn:n=Be.getFn,fieldNormWeight:r=Be.fieldNormWeight}={}){const a=new Pe({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Re)),a.setSources(t),a.create(),a}function He(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Be.distance,ignoreLocation:o=Be.ignoreLocation}={}){const i=t/e.length;if(o)return i;const c=Math.abs(r-n);return a?i+c/a:c?1:i}function Ve(e,t,n,{location:r=Be.location,distance:a=Be.distance,threshold:o=Be.threshold,findAllMatches:i=Be.findAllMatches,minMatchCharLength:c=Be.minMatchCharLength,includeMatches:l=Be.includeMatches,ignoreLocation:s=Be.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,m=e.length,u=Math.max(0,Math.min(r,m));let h=o,g=u;const p=c>1||l,v=p?Array(m):[];let y;for(;(y=e.indexOf(t,g))>-1;){let e=He(t,{currentLocation:y,expectedLocation:u,distance:a,ignoreLocation:s});if(h=Math.min(e,h),g=y+d,p){let e=0;for(;e<d;)v[y+e]=1,e+=1}}g=-1;let f=[],E=1,x=d+m;const k=1<<d-1;for(let r=0;r<d;r+=1){let o=0,c=x;for(;o<c;){He(t,{errors:r,currentLocation:u+c,expectedLocation:u,distance:a,ignoreLocation:s})<=h?o=c:x=c,c=Math.floor((x-o)/2+o)}x=c;let l=Math.max(1,u-c+1),y=i?m:Math.min(u+c,m)+d,w=Array(y+2);w[y+1]=(1<<r)-1;for(let o=y;o>=l;o-=1){let i=o-1,c=n[e.charAt(i)];if(p&&(v[i]=+!!c),w[o]=(w[o+1]<<1|1)&c,r&&(w[o]|=(f[o+1]|f[o])<<1|1|f[o+1]),w[o]&k&&(E=He(t,{errors:r,currentLocation:i,expectedLocation:u,distance:a,ignoreLocation:s}),E<=h)){if(h=E,g=i,g<=u)break;l=Math.max(1,2*u-g)}}if(He(t,{errors:r+1,currentLocation:u,expectedLocation:u,distance:a,ignoreLocation:s})>h)break;f=w}const w={isMatch:g>=0,score:Math.max(.001,E)};if(p){const e=function(e=[],t=Be.minMatchCharLength){let n=[],r=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(v,c);e.length?l&&(w.indices=e):w.isMatch=!1}return w}function De(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}class Ke{constructor(e,{location:t=Be.location,threshold:n=Be.threshold,distance:r=Be.distance,includeMatches:a=Be.includeMatches,findAllMatches:o=Be.findAllMatches,minMatchCharLength:i=Be.minMatchCharLength,isCaseSensitive:c=Be.isCaseSensitive,ignoreLocation:l=Be.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:De(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,n=d-t;for(;e<n;)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:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,ignoreLocation:l}=this.options;let s=[],d=0,m=!1;this.chunks.forEach((({pattern:t,alphabet:u,startIndex:h})=>{const{isMatch:g,score:p,indices:v}=Ve(e,t,u,{location:r+h,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});g&&(m=!0),d+=p,g&&v&&(s=[...s,...v])}));let u={isMatch:m,score:m?d/this.chunks.length:1};return m&&n&&(u.indices=s),u}}class je{constructor(e){this.pattern=e}static isMultiMatch(e){return qe(e,this.multiRegex)}static isSingleMatch(e){return qe(e,this.singleRegex)}search(){}}function qe(e,t){const n=e.match(t);return n?n[1]:null}class Oe extends je{constructor(e,{location:t=Be.location,threshold:n=Be.threshold,distance:r=Be.distance,includeMatches:a=Be.includeMatches,findAllMatches:o=Be.findAllMatches,minMatchCharLength:i=Be.minMatchCharLength,isCaseSensitive:c=Be.isCaseSensitive,ignoreLocation:l=Be.ignoreLocation}={}){super(e),this._bitapSearch=new Ke(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class We extends je{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Ue=[class extends je{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]}}},We,class extends je{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 je{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 je{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 je{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 je{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]}}},Oe],Xe=Ue.length,Je=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Ye=new Set([Oe.type,We.type]);class Qe{constructor(e,{isCaseSensitive:t=Be.isCaseSensitive,includeMatches:n=Be.includeMatches,minMatchCharLength:r=Be.minMatchCharLength,ignoreLocation:a=Be.ignoreLocation,findAllMatches:o=Be.findAllMatches,location:i=Be.location,threshold:c=Be.threshold,distance:l=Be.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:c,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Je).filter((e=>e&&!!e.trim())),r=[];for(let e=0,a=n.length;e<a;e+=1){const a=n[e];let o=!1,i=-1;for(;!o&&++i<Xe;){const e=Ue[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Xe;){const e=Ue[i];let n=e.isSingleMatch(a);if(n){r.push(new e(n,t));break}}}return r}))}(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:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let a=0,o=[],i=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];o.length=0,a=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:l,indices:s,score:d}=r.search(e);if(!l){i=0,a=0,o.length=0;break}if(a+=1,i+=d,n){const e=r.constructor.type;Ye.has(e)?o=[...o,...s]:o.push(s)}}if(a){let e={isMatch:!0,score:i/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const et=[];function tt(e,t){for(let n=0,r=et.length;n<r;n+=1){let r=et[n];if(r.condition(e,t))return new r(e,t)}return new Ke(e,t)}const nt="$and",rt="$or",at="$path",ot="$val",it=e=>!(!e[nt]&&!e[rt]),ct=e=>({[nt]:Object.keys(e).map((t=>({[t]:e[t]})))});function lt(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[at])(e);if(!o&&a.length>1&&!it(e))return r(ct(e));if((e=>!Me(e)&&Se(e)&&!it(e))(e)){const r=o?e[at]:a[0],i=o?e[ot]:e[r];if(!be(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:ze(r),pattern:i};return n&&(c.searcher=tt(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];Me(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return it(e)||(e=ct(e)),r(e)}function st(e,t){const n=e.matches;t.matches=[],Ae(n)&&n.forEach((e=>{if(!Ae(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let a={indices:n,value:r};e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)}))}function dt(e,t){t.score=e.score}class mt{constructor(e,t={},n){this.options={...Be,...t},this.options.useExtendedSearch,this._keyStore=new Ne(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Pe))throw new Error("Incorrect 'index' type");this._myIndex=t||Fe(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ae(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const a=this._docs[n];e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options;let c=be(e)?be(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Be.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:i}),a&&c.sort(o),Le(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=Be.includeMatches,includeScore:r=Be.includeScore}={}){const a=[];return n&&a.push(st),r&&a.push(dt),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=tt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!Ae(e))return;const{isMatch:o,score:i,indices:c}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:c}]})})),r}_searchLogical(e){const t=lt(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const a=[];for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],c=n(i,t,r);if(c.length)a.push(...c);else if(e.operator===nt)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(Ae(e)){let i=n(t,e,r);i.length&&(a[r]||(a[r]={idx:r,item:e,matches:[]},o.push(a[r])),i.forEach((({matches:e})=>{a[r].matches.push(...e)})))}})),o}_searchObjectList(e){const t=tt(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!Ae(e))return;let o=[];n.forEach(((n,r)=>{o.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),o.length&&a.push({idx:r,item:e,matches:o})})),a}_findMatches({key:e,value:t,searcher:n}){if(!Ae(t))return[];let r=[];if(Me(t))t.forEach((({v:t,i:a,n:o})=>{if(!Ae(t))return;const{isMatch:i,score:c,indices:l}=n.searchIn(t);i&&r.push({score:c,key:e,value:t,idx:a,norm:o,indices:l})}));else{const{v:a,n:o}=t,{isMatch:i,score:c,indices:l}=n.searchIn(a);i&&r.push({score:c,key:e,value:a,norm:o,indices:l})}return r}}mt.version="6.6.2",mt.createIndex=Fe,mt.parseIndex=function(e,{getFn:t=Be.getFn,fieldNormWeight:n=Be.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new Pe({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},mt.config=Be,mt.parseQuery=lt,function(...e){et.push(...e)}(Qe);var ut=require("greek-utils");const ht=o(X)`
755
755
  `,gt=o(W)`
756
756
 
757
757
  `,pt=o(U)`
@@ -786,7 +786,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
786
786
  h5{
787
787
  padding: var(--smallPads);
788
788
  }
789
- `,ft=t=>{let n={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[t.suggestionType]},o=t.json_File;const[i,c]=r({query:"",file:o,notfoundmessage:!1,defaultValue:t.defaultValue}),[l,s]=r(!1),[m,u]=r(0),h=e=>{t.onSuggestions(e),c({...i,query:"",defaultValue:"string"==typeof e?e:e[t.suggestionType]})},g=e=>{"ArrowUp"==e.key&&(e.preventDefault(),u(0===m?l.length-1:m-1)),"ArrowDown"==e.key&&(e.preventDefault(),m===l.length-1?u(0):u(m+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),h("string"==typeof l[m]?l[m]:l[m][t.suggestionType]))};return a((()=>{n.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new mt(o,n);let r=i.query?e.search(i.query):o;r=r.slice(0,t.size),s(r)}),[i]),a((()=>{t.getInput&&l?.length>0?t.getInput(l[0]?.item):t.getSuggestions&&l?.length>0&&i.query.length?t.getSuggestions(l):t.getSuggestions&&!i.query.length&&t.getSuggestions([])}),[l]),e.createElement(ht,null,e.createElement(gt,{id:"elasticSearch",autoComplete:"off",type:"text",value:t.value,placeholder:t.placeholder,onChange:e=>{const{target:n={}}=e,{value:r=""}=n;let a=ut.toGreek(r);c({...i,query:t.sanitize?a:r})},defaultValue:i.defaultValue,onKeyPress:e=>g(e),onKeyDown:e=>g(e),list:t.list}),e.createElement(pt,null,t.placeholder),t.required?e.createElement(D,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.list?e.createElement(w,{variant_Size:"small",text_Button:t.text_AddToList,icon_Left:"Add",className:"FormAddButton",onClick:t.onClick_AddToList}):null,i.query&&l?e.createElement(vt,null,l.slice(0,6).map(((n,r)=>e.createElement("li",{className:r===m%l.length?"ElasticSelected":"",key:r,onClick:()=>h(n?.item?n.item[t.suggestionType]:n[t.suggestionType])},e.createElement("p",null,n?.item?n.item[t.suggestionType]:n[t.suggestionType]))))):null,t.list?e.createElement(yt,null,e.createElement("h5",null,t.listItemTitle),t.list.map(((n,r)=>e.createElement("li",{key:r},e.createElement(d,{Icon:t.icon_ListItem}),e.createElement("h6",null,n),e.createElement(S,{variant_Size:"small",icon_Left:"Delete",onClick:t.onClick_ListItemDelete}))))):null)},Et=o.div`
789
+ `,ft=n=>{let r={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[n.suggestionType]},o=n.json_File;const[i,c]=t({query:"",file:o,notfoundmessage:!1,defaultValue:n.defaultValue}),[l,s]=t(!1),[m,u]=t(0),h=e=>{n.onSuggestions(e),c({...i,query:"",defaultValue:"string"==typeof e?e:e[n.suggestionType]})},g=e=>{"ArrowUp"==e.key&&(e.preventDefault(),u(0===m?l.length-1:m-1)),"ArrowDown"==e.key&&(e.preventDefault(),m===l.length-1?u(0):u(m+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),h("string"==typeof l[m]?l[m]:l[m][n.suggestionType]))};return a((()=>{r.minMatchCharLength=n.minMatchCharacters?n.minMatchCharacters:1;const e=new mt(o,r);let t=i.query?e.search(i.query):o;t=t.slice(0,n.size),s(t)}),[i]),a((()=>{n.getInput&&l?.length>0?n.getInput(l[0]?.item):n.getSuggestions&&l?.length>0&&i.query.length?n.getSuggestions(l):n.getSuggestions&&!i.query.length&&n.getSuggestions([])}),[l]),e.createElement(ht,null,e.createElement(gt,{id:"elasticSearch",autoComplete:"off",type:"text",value:n.value,placeholder:n.placeholder,onChange:e=>{const{target:t={}}=e,{value:r=""}=t;let a=ut.toGreek(r);c({...i,query:n.sanitize?a:r})},defaultValue:i.defaultValue,onKeyPress:e=>g(e),onKeyDown:e=>g(e),list:n.list}),e.createElement(pt,null,n.placeholder),n.required?e.createElement(D,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,n.list?e.createElement(w,{variant_Size:"small",text_Button:n.text_AddToList,icon_Left:"Add",className:"FormAddButton",onClick:n.onClick_AddToList}):null,i.query&&l?e.createElement(vt,null,l.slice(0,6).map(((t,r)=>e.createElement("li",{className:r===m%l.length?"ElasticSelected":"",key:r,onClick:()=>h(t?.item?t.item[n.suggestionType]:t[n.suggestionType])},e.createElement("p",null,t?.item?t.item[n.suggestionType]:t[n.suggestionType]))))):null,n.list?e.createElement(yt,null,e.createElement("h5",null,n.listItemTitle),n.list.map(((t,r)=>e.createElement("li",{key:r},e.createElement(d,{Icon:n.icon_ListItem}),e.createElement("h6",null,t),e.createElement(S,{variant_Size:"small",icon_Left:"Delete",onClick:n.onClick_ListItemDelete}))))):null)},Et=o.div`
790
790
  display: flex;
791
791
  gap: 1rem;
792
792
  align-items: center;
@@ -822,13 +822,13 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
822
822
  font-weight: 600;
823
823
  }
824
824
 
825
- @media ${R.md} {
825
+ @media ${N.md} {
826
826
  display: none;
827
827
  }
828
- `,kt=t=>{const{theme:r}=n(oe);return e.createElement(Et,{onClick:t.onClick_Logo},"dark"===r?e.createElement("img",{alt:"Doitforme dark logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}):e.createElement("img",{alt:"Doitforme light logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_light.svg"}),e.createElement(xt,null,e.createElement("h2",null,"Doitforme"),e.createElement("h6",null,"v3.0.0 'Morning'")))},wt=o.div`
828
+ `,kt=t=>{const{theme:n}=r(oe);return e.createElement(Et,{onClick:t.onClick_Logo},"dark"===n?e.createElement("img",{alt:"Doitforme dark logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}):e.createElement("img",{alt:"Doitforme light logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_light.svg"}),e.createElement(xt,null,e.createElement("h2",null,"Doitforme"),e.createElement("h6",null,"v3.0.0 'Morning'")))},wt=o.div`
829
829
  justify-self: center;
830
830
 
831
- @media ${R.sm} {
831
+ @media ${N.sm} {
832
832
  justify-self: flex-end;
833
833
  }
834
834
  `,_t=t=>e.createElement(wt,null,e.createElement(s,{size:"normal",text:t.text_Cta,onClick:t.onClick_Cta})),Mt=o.div`
@@ -980,10 +980,10 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
980
980
  `,It=o.div`
981
981
  display: none;
982
982
 
983
- @media ${R.sm}{
983
+ @media ${N.sm}{
984
984
  display: block !important;
985
985
  }
986
- `,$t=t=>{const{setActiveMenu:r}=n(re);return e.createElement(bt,null,e.createElement(Lt,{onClick:()=>r("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Language)),e.createElement(Ct,{onClick:t.onClick_Greek_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"})),e.createElement("h5",null,"Ελληνικά"))),e.createElement(Ct,{onClick:t.onClick_English_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),e.createElement("h5",null,"English"))),e.createElement(Ct,{onClick:t.onClick_German_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"})),e.createElement("h5",null,"Deutsch"))))},Tt=o.div`
986
+ `,$t=t=>{const{setActiveMenu:n}=r(re);return e.createElement(bt,null,e.createElement(Lt,{onClick:()=>n("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Language)),e.createElement(Ct,{onClick:t.onClick_Greek_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"})),e.createElement("h5",null,"Ελληνικά"))),e.createElement(Ct,{onClick:t.onClick_English_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),e.createElement("h5",null,"English"))),e.createElement(Ct,{onClick:t.onClick_German_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"})),e.createElement("h5",null,"Deutsch"))))},Tt=o.div`
987
987
  display: flex;
988
988
  align-items: center;
989
989
  gap: .5rem;
@@ -1023,13 +1023,13 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1023
1023
  transform: translateX(2.3rem);
1024
1024
  }
1025
1025
  }
1026
- `,Rt=t=>{const{theme:r,setTheme:a}=n(oe);return e.createElement(Tt,{onClick:()=>a("dark"===r?"light":"dark")},e.createElement("picture",null,e.createElement(d,{Icon:"Sun"})),e.createElement("section",null,e.createElement("div",{className:"dark"===r?"Dark":"Light"})),e.createElement("picture",null,e.createElement(d,{Icon:"Moon"})))},Nt=o.div`
1026
+ `,Nt=t=>{const{theme:n,setTheme:a}=r(oe);return e.createElement(Tt,{onClick:()=>a("dark"===n?"light":"dark")},e.createElement("picture",null,e.createElement(d,{Icon:"Sun"})),e.createElement("section",null,e.createElement("div",{className:"dark"===n?"Dark":"Light"})),e.createElement("picture",null,e.createElement(d,{Icon:"Moon"})))},Rt=o.div`
1027
1027
  display: flex;
1028
1028
  align-items: center;
1029
1029
  justify-content: space-between;
1030
1030
  gap: 1rem;
1031
1031
  padding: var(--normalPads);
1032
- `,Zt=t=>{const{region:r}=n(ne),{setHamState:a}=n(ae),{setActiveMenu:o}=n(re),{language:i}=n(te);return e.createElement(bt,null,e.createElement(Lt,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Nt,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Rt,null)),"Protected"===t.role?e.createElement(It,null,e.createElement(St,null),e.createElement(Ct,{onClick:t.onCLick_Account_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),e.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?e.createElement(Ct,{onClick:t.onClick_Settings_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Settings"})),e.createElement("h5",null,t.text_Settings_Main))):null,e.createElement(Ct,{onClick:()=>o("Language")},e.createElement("main",null,e.createElement("picture",null,"el"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===i?e.createElement("h5",null,"Ελληνικά"):"de"===i?e.createElement("h5",null,"Deutsch"):e.createElement("h5",null,"English")),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),e.createElement(Ct,{onClick:()=>o("Region")},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Flag"})),e.createElement("h5",null,r)),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),"Protected"===t.role?e.createElement(At,null,e.createElement(St,null),e.createElement(Ct,{onClick:t.onCLick_Logout},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Logout)))):e.createElement(It,null,e.createElement(St,null),e.createElement(Ct,{onClick:t.onCLick_Login},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Login)))))};let zt=[{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 Bt=t=>{const{region:r,setRegion:a}=n(ne),{setActiveMenu:o}=n(re);return e.createElement(bt,null,e.createElement(Lt,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),zt.map(((t,n)=>e.createElement(Ct,{key:n,onClick:()=>{return e=t.country,a(e),void o("Main");var e},className:r===t.country?"SelectedRegion":""},e.createElement("main",null,e.createElement("h5",null,t.country))))))},Gt=t=>{const{activeMenu:a}=n(re),[o,c]=r(null),l=e=>{const t=e.offsetHeight;c(t)};return e.createElement(Mt,{style:{height:o}},e.createElement(i,{in:"Main"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Zt,{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}))),e.createElement(i,{in:"Language"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement($t,{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}))),e.createElement(i,{in:"Region"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Bt,{text_Title_Region:t.text_Title_Region}))))},Pt=o.div`
1032
+ `,Zt=t=>{const{region:n}=r(ne),{setHamState:a}=r(ae),{setActiveMenu:o}=r(re),{language:i}=r(te);return e.createElement(bt,null,e.createElement(Lt,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Rt,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Nt,null)),"Protected"===t.role?e.createElement(It,null,e.createElement(St,null),e.createElement(Ct,{onClick:t.onCLick_Account_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),e.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?e.createElement(Ct,{onClick:t.onClick_Settings_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Settings"})),e.createElement("h5",null,t.text_Settings_Main))):null,e.createElement(Ct,{onClick:()=>o("Language")},e.createElement("main",null,e.createElement("picture",null,"el"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===i?e.createElement("h5",null,"Ελληνικά"):"de"===i?e.createElement("h5",null,"Deutsch"):e.createElement("h5",null,"English")),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),e.createElement(Ct,{onClick:()=>o("Region")},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Flag"})),e.createElement("h5",null,n)),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),"Protected"===t.role?e.createElement(At,null,e.createElement(St,null),e.createElement(Ct,{onClick:t.onCLick_Logout},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Logout)))):e.createElement(It,null,e.createElement(St,null),e.createElement(Ct,{onClick:t.onCLick_Login},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Login)))))};let zt=[{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 Bt=t=>{const{region:n,setRegion:a}=r(ne),{setActiveMenu:o}=r(re);return e.createElement(bt,null,e.createElement(Lt,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),zt.map(((t,r)=>e.createElement(Ct,{key:r,onClick:()=>{return e=t.country,a(e),void o("Main");var e},className:n===t.country?"SelectedRegion":""},e.createElement("main",null,e.createElement("h5",null,t.country))))))},Gt=n=>{const{activeMenu:a}=r(re),[o,c]=t(null),l=e=>{const t=e.offsetHeight;c(t)};return e.createElement(Mt,{style:{height:o}},e.createElement(i,{in:"Main"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Zt,{role:n.role,text_Title_Main:n.text_Title_Main,text_Theme_Main:n.text_Theme_Main,onCLick_Account_Main:n.onCLick_Account_Main,img_Account_Main:n.img_Account_Main,imgAlt_Account_Main:n.imgAlt_Account_Main,text_Account_Main:n.text_Account_Main,onClick_Settings_Main:n.onClick_Settings_Main,text_Settings_Main:n.text_Settings_Main,onCLick_Logout:n.onCLick_Logout,text_Logout:n.text_Logout,onCLick_Login:n.onCLick_Login,text_Login:n.text_Login}))),e.createElement(i,{in:"Language"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement($t,{text_Title_Language:n.text_Title_Language,onClick_Greek_Language:n.onClick_Greek_Language,onClick_English_Language:n.onClick_English_Language,onClick_German_Language:n.onClick_German_Language}))),e.createElement(i,{in:"Region"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Bt,{text_Title_Region:n.text_Title_Region}))))},Pt=o.div`
1033
1033
  justify-self: flex-end;
1034
1034
  display: flex;
1035
1035
  align-items: center;
@@ -1066,14 +1066,14 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1066
1066
  border: 1px solid ${e=>e.theme.low};
1067
1067
  }
1068
1068
 
1069
- @media ${R.sm}{
1069
+ @media ${N.sm}{
1070
1070
  padding: 0;
1071
1071
 
1072
1072
  h5{
1073
1073
  display: none;
1074
1074
  }
1075
1075
  }
1076
- `,Ht=t=>{const{hamState:r,setHamState:a}=n(ae);return e.createElement(Pt,null,e.createElement(Ft,{onClick:t.onClick_Account},e.createElement("picture",null,e.createElement("img",{src:t.img_Account,alt:t.imgAlt_Account})),e.createElement("h5",null,t.firstname_Account)),e.createElement(f,{size:"small",iconLeft:"Ham",onClick:()=>a(!r)}),r?e.createElement(Gt,{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,text_Title_Region:t.text_Title_Region,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}):null)},Vt=o.div`
1076
+ `,Ht=t=>{const{hamState:n,setHamState:a}=r(ae);return e.createElement(Pt,null,e.createElement(Ft,{onClick:t.onClick_Account},e.createElement("picture",null,e.createElement("img",{src:t.img_Account,alt:t.imgAlt_Account})),e.createElement("h5",null,t.firstname_Account)),e.createElement(f,{size:"small",iconLeft:"Ham",onClick:()=>a(!n)}),n?e.createElement(Gt,{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,text_Title_Region:t.text_Title_Region,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}):null)},Vt=o.div`
1077
1077
  justify-self: flex-end;
1078
1078
  display: flex;
1079
1079
  align-items: center;
@@ -1084,10 +1084,10 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1084
1084
  align-items: center;
1085
1085
  gap: 1rem;
1086
1086
 
1087
- @media ${R.sm} {
1087
+ @media ${N.sm} {
1088
1088
  display: none;
1089
1089
  }
1090
- `,Kt=t=>{const{hamState:r,setHamState:a}=n(ae);return e.createElement(Vt,null,e.createElement(Dt,null,e.createElement(M,{size:"small",text:t.text_Login,onClick:t.onClick_Login})),e.createElement(f,{size:"small",iconLeft:"Ham",onClick:()=>a(!r)}),r?e.createElement(Gt,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,text_Title_Region:t.text_Title_Region,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,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}):null)},jt=o.nav`
1090
+ `,Kt=t=>{const{hamState:n,setHamState:a}=r(ae);return e.createElement(Vt,null,e.createElement(Dt,null,e.createElement(M,{size:"small",text:t.text_Login,onClick:t.onClick_Login})),e.createElement(f,{size:"small",iconLeft:"Ham",onClick:()=>a(!n)}),n?e.createElement(Gt,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,text_Title_Region:t.text_Title_Region,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,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}):null)},jt=o.nav`
1091
1091
  display: grid;
1092
1092
  align-items: center;
1093
1093
  grid-gap: 1rem;
@@ -1101,7 +1101,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1101
1101
  background: ${e=>e.theme.background};
1102
1102
  box-shadow: 0 1px 3px ${e=>e.theme.overlay};
1103
1103
 
1104
- @media ${R.sm} {
1104
+ @media ${N.sm} {
1105
1105
  padding: 1rem 2rem;
1106
1106
  }
1107
1107
  `,qt=t=>e.createElement(jt,null,e.createElement(kt,{onClick_Logo:t.onClick_Logo}),e.createElement(_t,{onClick_Cta:t.onClick_Cta,text_Cta:t.text_Cta}),"Protected"===t.role?e.createElement(Ht,{role:t.role,img_Account:t.img_Account,img_Account_Main:t.img_Account,imgAlt_Account:t.imgAlt_Account,imgAlt_Account_Main:t.imgAlt_Account,firstname_Account:t.firstname_Account,text_Account_Main:t.firstname_Account,onClick_Account:t.onClick_Account,onCLick_Account_Main:t.onClick_Account,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_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,text_Title_Region:t.text_Title_Region,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}):e.createElement(Kt,{role:t.role,onClick_Login:t.onClick_Login,text_Login:t.text_Login,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,text_Title_Region:t.text_Title_Region,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})),Ot=o.div`
@@ -1269,7 +1269,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1269
1269
  grid-gap: 4rem;
1270
1270
  padding: 0 4rem;
1271
1271
 
1272
- @media ${R.md} {
1272
+ @media ${N.md} {
1273
1273
  grid-template-columns: 1fr;
1274
1274
  }
1275
1275
  `,pn=o.div`
@@ -1278,7 +1278,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1278
1278
  grid-gap: 4rem;
1279
1279
  padding: 0 4rem;
1280
1280
 
1281
- @media ${R.md} {
1281
+ @media ${N.md} {
1282
1282
  grid-template-columns: 1fr;
1283
1283
  }
1284
1284
  `,vn=o.div`
@@ -1288,7 +1288,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1288
1288
  `,fn=o.div`
1289
1289
  width: 100%;
1290
1290
 
1291
- @media ${R.md} {
1291
+ @media ${N.md} {
1292
1292
  display: none;
1293
1293
  }
1294
1294
  `,En=o.div`
@@ -1374,19 +1374,19 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1374
1374
  align-items: flex-start;
1375
1375
  grid-gap: 2rem;
1376
1376
 
1377
- @media ${R.xl}{
1377
+ @media ${N.xl}{
1378
1378
  grid-template-columns: 1fr 1fr;
1379
1379
  }
1380
1380
 
1381
- @media ${R.md}{
1381
+ @media ${N.md}{
1382
1382
  grid-template-columns: 1fr 1fr 1fr;
1383
1383
  }
1384
1384
 
1385
- @media ${R.sm}{
1385
+ @media ${N.sm}{
1386
1386
  grid-template-columns: 1fr 1fr;
1387
1387
  }
1388
1388
 
1389
- @media ${R.xs}{
1389
+ @media ${N.xs}{
1390
1390
  grid-template-columns: 1fr;
1391
1391
  }
1392
1392
  `,An=o(Sn)`
@@ -1414,7 +1414,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1414
1414
  transition-property: background;
1415
1415
  transition-duration: .5s;
1416
1416
  }
1417
- `,Rn=o.div`
1417
+ `,Nn=o.div`
1418
1418
  height: 1.5rem;
1419
1419
  border-radius: 1rem;
1420
1420
  margin-bottom: 2rem;
@@ -1423,7 +1423,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1423
1423
  grid-template-columns: repeat( ${e=>e.steps} ,1fr);
1424
1424
  background: ${e=>e.theme.mid};
1425
1425
  overflow: hidden;
1426
- `,Nn=o.div`
1426
+ `,Rn=o.div`
1427
1427
  background: linear-gradient( to right, var(--main), ${e=>e.theme.mid});
1428
1428
  height: 100%;
1429
1429
  width: 100%;
@@ -1508,4 +1508,4 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1508
1508
  grid-template-columns: 1fr 1fr;
1509
1509
  `,Wn=o(jn)`
1510
1510
  grid-template-columns: 1fr 1fr 1fr;
1511
- `;export{he as Builder_,A as Card,On as CardsForty,Wn as CardsSixty,qn as CardsTools,ye as Checkbox_,B as Confirmation_,s as Cta_,S as Delete_Plain,ee as Dropdown_,u as Edit_,ft as Elastic_Search,g as Focus_,v as Focus_Plain,O as Form,X as FormGroup,W as FormInput,U as FormLabel,J as FormList,f as Grey_,x as Grey_Link,ae as HamContext,d as IconSvg,Y as Input_,se as Input_Phone,me as Input_Phone_Register,te as LangContext,w as Main_,M as Main_Plain,re as MenuContext,qt as Nav_,T as On_Click_Card,hn as Page,yn as PageAlwaysVisible,Sn as PageCards,fn as PageDesktopOnly,En as PageDesktopPadding,gn as PageForty,kn as PageSingle,wn as PageSingleHeader,Mn as PageSingleRight,_n as PageSingleleft,pn as PageSixty,bn as PageSub,Cn as PageSubActions,Ln as PageSubTitle,xn as PageTitle,vn as PageTools,An as PageToolsCards,xe as Radio_,ne as RegionContext,Wt as Sidebar_,Xt as Sidebar_Box,Pn as Slider,Dn as SliderContainer,ie as SliderContext,Kn as SliderGrid,Fn as SliderOverlay,Vn as SliderTitle,Hn as SliderWrapper,un as Slider_,Rn as Steps,Gn as StepsActions,Zn as StepsComplete,zn as StepsContainer,Nn as StepsCurrent,Bn as StepsWrapper,on as Steps_,Yt as Steps_Actions,_e as Textarea_,Tn as Theme,oe as ThemeContext,$n as ThemeDark,In as ThemeLight,L as White_Plain,R as device};
1511
+ `;export{he as Builder_,A as Card,On as CardsForty,Wn as CardsSixty,qn as CardsTools,ye as Checkbox_,B as Confirmation_,s as Cta_,S as Delete_Plain,ee as Dropdown_,u as Edit_,ft as Elastic_Search,g as Focus_,v as Focus_Plain,O as Form,X as FormGroup,W as FormInput,U as FormLabel,J as FormList,f as Grey_,x as Grey_Link,ae as HamContext,d as IconSvg,Y as Input_,se as Input_Phone,me as Input_Phone_Register,te as LangContext,w as Main_,M as Main_Plain,re as MenuContext,qt as Nav_,T as On_Click_Card,hn as Page,yn as PageAlwaysVisible,Sn as PageCards,fn as PageDesktopOnly,En as PageDesktopPadding,gn as PageForty,kn as PageSingle,wn as PageSingleHeader,Mn as PageSingleRight,_n as PageSingleleft,pn as PageSixty,bn as PageSub,Cn as PageSubActions,Ln as PageSubTitle,xn as PageTitle,vn as PageTools,An as PageToolsCards,xe as Radio_,ne as RegionContext,Wt as Sidebar_,Xt as Sidebar_Box,Pn as Slider,Dn as SliderContainer,ie as SliderContext,Kn as SliderGrid,Fn as SliderOverlay,Vn as SliderTitle,Hn as SliderWrapper,un as Slider_,Nn as Steps,Gn as StepsActions,Zn as StepsComplete,zn as StepsContainer,Rn as StepsCurrent,Bn as StepsWrapper,on as Steps_,Yt as Steps_Actions,_e as Textarea_,Tn as Theme,oe as ThemeContext,$n as ThemeDark,In as ThemeLight,L as White_Plain,N as device};
package/dist/index.js CHANGED
@@ -522,7 +522,7 @@
522
522
  fill: ${e=>e.theme.color};
523
523
  }
524
524
  }
525
- `,j=e=>r.default.createElement(V,null,r.default.createElement(F,{value:e.value,className:e.className,placeholder:e.placeholder,id:e.id,autoComplete:"off",type:"text",onChange:e.onChange,defaultValue:e.defaultValue,onKeyPress:e.onKeyPress,onKeyDown:e.onKeyDown,disabled:e.disableInput}),r.default.createElement(H,null,e.placeholder),e.list?r.default.createElement(v,{size:"small",text:e.add,iconLeft:"Add",className:"FormAddButton",onClick:e.onClick_Add}):null,e.required?r.default.createElement(Z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.errors?r.default.createElement(I,{className:"ValidatorErrors"},e.errors.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?r.default.createElement(I,{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(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.tips?r.default.createElement(I,{className:"ValidatorHelpers"},e.tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.helpers?r.default.createElement(I,{className:"ValidatorHelpers"},e.helpers.map((e=>r.default.createElement(R,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null,e.list?r.default.createElement(D,null,e.list.map(((t,a)=>r.default.createElement("li",{key:a},r.default.createElement(s,{Icon:e.icon_ListItem}),r.default.createElement("h6",null,t),r.default.createElement(_,{onClick:e.onClick_ListItemDelete,size:"small",iconLeft:"Delete"}))))):null),K=l.default.div`
525
+ `,j=t=>{const[a,n]=e.useState(JSON.stringify(t.list));return r.default.createElement(V,null,r.default.createElement(F,{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(H,null,t.placeholder),t.list?r.default.createElement(v,{size:"small",text:t.add,iconLeft:"Add",className:"FormAddButton",onClick:t.onClick_Add}):null,t.required?r.default.createElement(Z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,t.errors?r.default.createElement(I,{className:"ValidatorErrors"},t.errors.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,t.tips&&t.helpers?r.default.createElement(I,{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(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):t.tips?r.default.createElement(I,{className:"ValidatorHelpers"},t.tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):t.helpers?r.default.createElement(I,{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(D,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),n(a)})(a),size:"small",iconLeft:"Delete"}))))):null)},K=l.default.div`
526
526
  position: relative;
527
527
 
528
528
  select{
@@ -555,7 +555,7 @@
555
555
  right: 1rem;
556
556
  }
557
557
 
558
- `,q=e=>r.default.createElement(K,null,r.default.createElement(s,{Icon:"Dropdown",class_Icon:"Dropdown_IconAdapt"}),e.items?r.default.createElement("select",{className:e.className,onChange:e.onChange,defaultValue:e.defaultValue},e.items.map(((e,t)=>r.default.createElement("option",{key:t},e)))):null,e.children),O=e.createContext({language:"el",setLanguage:()=>{}}),W=e.createContext({region:"Greece",setRegion:()=>{}}),U=e.createContext({activeMenu:"Main",setActiveMenu:()=>{}}),X=e.createContext({hamState:!1,setHamState:()=>{}}),J=e.createContext({theme:"light",setTheme:()=>{}}),Y=e.createContext({slider:!1,toggleSlider:()=>{}}),Q=l.default.div`
558
+ `,O=e=>r.default.createElement(K,null,r.default.createElement(s,{Icon:"Dropdown",class_Icon:"Dropdown_IconAdapt"}),e.items?r.default.createElement("select",{className:e.className,onChange:e.onChange,defaultValue:e.defaultValue},e.items.map(((e,t)=>r.default.createElement("option",{key:t},e)))):null,e.children),q=e.createContext({language:"el",setLanguage:()=>{}}),W=e.createContext({region:"Greece",setRegion:()=>{}}),U=e.createContext({activeMenu:"Main",setActiveMenu:()=>{}}),X=e.createContext({hamState:!1,setHamState:()=>{}}),J=e.createContext({theme:"light",setTheme:()=>{}}),Y=e.createContext({slider:!1,toggleSlider:()=>{}}),Q=l.default.div`
559
559
 
560
560
  `,ee=l.default.div`
561
561
  display: grid;
@@ -751,7 +751,7 @@
751
751
  span{
752
752
  color: ${e=>e.capped?"var(--error)":"inherit"};
753
753
  }
754
- `;function de(e){return Array.isArray?Array.isArray(e):"[object Array]"===ve(e)}function ue(e){return"string"==typeof e}function me(e){return"number"==typeof e}function he(e){return!0===e||!1===e||function(e){return ge(e)&&null!==e}(e)&&"[object Boolean]"==ve(e)}function ge(e){return"object"==typeof e}function fe(e){return null!=e}function pe(e){return!e.trim().length}function ve(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const ye=Object.prototype.hasOwnProperty;class xe{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let a=Ee(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 Ee(e){let t=null,a=null,n=null,r=1,l=null;if(ue(e)||de(e))n=e,t=ke(e),a=_e(e);else{if(!ye.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const o=e.name;if(n=o,ye.call(e,"weight")&&(r=e.weight,r<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(o));t=ke(o),a=_e(o),l=e.getFn}return{path:t,id:a,weight:r,src:n,getFn:l}}function ke(e){return de(e)?e:e.split(".")}function _e(e){return de(e)?e.join("."):e}var we={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(fe(e))if(t[l]){const o=e[t[l]];if(!fe(o))return;if(l===t.length-1&&(ue(o)||me(o)||he(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(de(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,ue(t)?t.split("."):t,0),n?a:a[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Me=/[^ ]+/g;class Ce{constructor({getFn:e=we.getFn,fieldNormWeight:t=we.fieldNormWeight}={}){this.norm=function(e=1,t=3){const a=new Map,n=Math.pow(10,t);return{get(t){const r=t.match(Me).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,ue(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();ue(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(!fe(e)||pe(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(fe(r))if(de(r)){let e=[];const t=[{nestedArrIndex:-1,value:r}];for(;t.length;){const{nestedArrIndex:a,value:n}=t.pop();if(fe(n))if(ue(n)&&!pe(n)){let t={v:n,i:a,n:this.norm.get(n)};e.push(t)}else de(n)&&n.forEach(((e,a)=>{t.push({nestedArrIndex:a,value:e})}))}a.$[n]=e}else if(ue(r)&&!pe(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 be(e,t,{getFn:a=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){const r=new Ce({getFn:a,fieldNormWeight:n});return r.setKeys(e.map(Ee)),r.setSources(t),r.create(),r}function Le(e,{errors:t=0,currentLocation:a=0,expectedLocation:n=0,distance:r=we.distance,ignoreLocation:l=we.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 Se(e,t,a,{location:n=we.location,distance:r=we.distance,threshold:l=we.threshold,findAllMatches:o=we.findAllMatches,minMatchCharLength:i=we.minMatchCharLength,includeMatches:c=we.includeMatches,ignoreLocation:s=we.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=Le(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;){Le(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=Le(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(Le(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=we.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 Ae(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 Ie{constructor(e,{location:t=we.location,threshold:a=we.threshold,distance:n=we.distance,includeMatches:r=we.includeMatches,findAllMatches:l=we.findAllMatches,minMatchCharLength:o=we.minMatchCharLength,isCaseSensitive:i=we.isCaseSensitive,ignoreLocation:c=we.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:Ae(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}=Se(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 $e{constructor(e){this.pattern=e}static isMultiMatch(e){return Te(e,this.multiRegex)}static isSingleMatch(e){return Te(e,this.singleRegex)}search(){}}function Te(e,t){const a=e.match(t);return a?a[1]:null}class Re extends $e{constructor(e,{location:t=we.location,threshold:a=we.threshold,distance:n=we.distance,includeMatches:r=we.includeMatches,findAllMatches:l=we.findAllMatches,minMatchCharLength:o=we.minMatchCharLength,isCaseSensitive:i=we.isCaseSensitive,ignoreLocation:c=we.ignoreLocation}={}){super(e),this._bitapSearch=new Ie(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 Ne extends $e{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 Ze=[class extends $e{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]}}},Ne,class extends $e{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 $e{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 $e{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 $e{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 $e{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],Pe=Ze.length,Be=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const ze=new Set([Re.type,Ne.type]);class Ge{constructor(e,{isCaseSensitive:t=we.isCaseSensitive,includeMatches:a=we.includeMatches,minMatchCharLength:n=we.minMatchCharLength,ignoreLocation:r=we.ignoreLocation,findAllMatches:l=we.findAllMatches,location:o=we.location,threshold:i=we.threshold,distance:c=we.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(Be).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<Pe;){const e=Ze[o];let a=e.isMultiMatch(r);a&&(n.push(new e(a,t)),l=!0)}if(!l)for(o=-1;++o<Pe;){const e=Ze[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;ze.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 Fe=[];function He(e,t){for(let a=0,n=Fe.length;a<n;a+=1){let n=Fe[a];if(n.condition(e,t))return new n(e,t)}return new Ie(e,t)}const Ve="$and",De="$or",je="$path",Ke="$val",qe=e=>!(!e[Ve]&&!e[De]),Oe=e=>({[Ve]:Object.keys(e).map((t=>({[t]:e[t]})))});function We(e,t,{auto:a=!0}={}){const n=e=>{let r=Object.keys(e);const l=(e=>!!e[je])(e);if(!l&&r.length>1&&!qe(e))return n(Oe(e));if((e=>!de(e)&&ge(e)&&!qe(e))(e)){const n=l?e[je]:r[0],o=l?e[Ke]:e[n];if(!ue(o))throw new Error((e=>`Invalid value for key ${e}`)(n));const i={keyId:_e(n),pattern:o};return a&&(i.searcher=He(o,t)),i}let o={children:[],operator:r[0]};return r.forEach((t=>{const a=e[t];de(a)&&a.forEach((e=>{o.children.push(n(e))}))})),o};return qe(e)||(e=Oe(e)),n(e)}function Ue(e,t){const a=e.matches;t.matches=[],fe(a)&&a.forEach((e=>{if(!fe(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 Xe(e,t){t.score=e.score}class Je{constructor(e,t={},a){this.options={...we,...t},this.options.useExtendedSearch,this._keyStore=new xe(this.options.keys),this.setCollection(e,a)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Ce))throw new Error("Incorrect 'index' type");this._myIndex=t||be(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){fe(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=ue(e)?ue(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=we.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),me(t)&&t>-1&&(i=i.slice(0,t)),function(e,t,{includeMatches:a=we.includeMatches,includeScore:n=we.includeScore}={}){const r=[];return a&&r.push(Ue),n&&r.push(Xe),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=He(e,this.options),{records:a}=this._myIndex,n=[];return a.forEach((({v:e,i:a,n:r})=>{if(!fe(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=We(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===Ve)return[]}return r},n=this._myIndex.records,r={},l=[];return n.forEach((({$:e,i:n})=>{if(fe(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=He(e,this.options),{keys:a,records:n}=this._myIndex,r=[];return n.forEach((({$:e,i:n})=>{if(!fe(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(!fe(t))return[];let n=[];if(de(t))t.forEach((({v:t,i:r,n:l})=>{if(!fe(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}}Je.version="6.6.2",Je.createIndex=be,Je.parseIndex=function(e,{getFn:t=we.getFn,fieldNormWeight:a=we.fieldNormWeight}={}){const{keys:n,records:r}=e,l=new Ce({getFn:t,fieldNormWeight:a});return l.setKeys(n),l.setIndexRecords(r),l},Je.config=we,Je.parseQuery=We,function(...e){Fe.push(...e)}(Ge);var Ye=require("greek-utils");const Qe=l.default(V)`
754
+ `;function de(e){return Array.isArray?Array.isArray(e):"[object Array]"===ve(e)}function ue(e){return"string"==typeof e}function me(e){return"number"==typeof e}function he(e){return!0===e||!1===e||function(e){return ge(e)&&null!==e}(e)&&"[object Boolean]"==ve(e)}function ge(e){return"object"==typeof e}function fe(e){return null!=e}function pe(e){return!e.trim().length}function ve(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const ye=Object.prototype.hasOwnProperty;class xe{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let a=Ee(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 Ee(e){let t=null,a=null,n=null,r=1,l=null;if(ue(e)||de(e))n=e,t=ke(e),a=_e(e);else{if(!ye.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const o=e.name;if(n=o,ye.call(e,"weight")&&(r=e.weight,r<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(o));t=ke(o),a=_e(o),l=e.getFn}return{path:t,id:a,weight:r,src:n,getFn:l}}function ke(e){return de(e)?e:e.split(".")}function _e(e){return de(e)?e.join("."):e}var we={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(fe(e))if(t[l]){const o=e[t[l]];if(!fe(o))return;if(l===t.length-1&&(ue(o)||me(o)||he(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(de(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,ue(t)?t.split("."):t,0),n?a:a[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Me=/[^ ]+/g;class Ce{constructor({getFn:e=we.getFn,fieldNormWeight:t=we.fieldNormWeight}={}){this.norm=function(e=1,t=3){const a=new Map,n=Math.pow(10,t);return{get(t){const r=t.match(Me).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,ue(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();ue(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(!fe(e)||pe(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(fe(r))if(de(r)){let e=[];const t=[{nestedArrIndex:-1,value:r}];for(;t.length;){const{nestedArrIndex:a,value:n}=t.pop();if(fe(n))if(ue(n)&&!pe(n)){let t={v:n,i:a,n:this.norm.get(n)};e.push(t)}else de(n)&&n.forEach(((e,a)=>{t.push({nestedArrIndex:a,value:e})}))}a.$[n]=e}else if(ue(r)&&!pe(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 be(e,t,{getFn:a=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){const r=new Ce({getFn:a,fieldNormWeight:n});return r.setKeys(e.map(Ee)),r.setSources(t),r.create(),r}function Le(e,{errors:t=0,currentLocation:a=0,expectedLocation:n=0,distance:r=we.distance,ignoreLocation:l=we.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 Se(e,t,a,{location:n=we.location,distance:r=we.distance,threshold:l=we.threshold,findAllMatches:o=we.findAllMatches,minMatchCharLength:i=we.minMatchCharLength,includeMatches:c=we.includeMatches,ignoreLocation:s=we.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=Le(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;){Le(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=Le(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(Le(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=we.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 Ae(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 Ie{constructor(e,{location:t=we.location,threshold:a=we.threshold,distance:n=we.distance,includeMatches:r=we.includeMatches,findAllMatches:l=we.findAllMatches,minMatchCharLength:o=we.minMatchCharLength,isCaseSensitive:i=we.isCaseSensitive,ignoreLocation:c=we.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:Ae(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}=Se(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 $e{constructor(e){this.pattern=e}static isMultiMatch(e){return Te(e,this.multiRegex)}static isSingleMatch(e){return Te(e,this.singleRegex)}search(){}}function Te(e,t){const a=e.match(t);return a?a[1]:null}class Re extends $e{constructor(e,{location:t=we.location,threshold:a=we.threshold,distance:n=we.distance,includeMatches:r=we.includeMatches,findAllMatches:l=we.findAllMatches,minMatchCharLength:o=we.minMatchCharLength,isCaseSensitive:i=we.isCaseSensitive,ignoreLocation:c=we.ignoreLocation}={}){super(e),this._bitapSearch=new Ie(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 Ne extends $e{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 Ze=[class extends $e{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]}}},Ne,class extends $e{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 $e{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 $e{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 $e{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 $e{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],Pe=Ze.length,Be=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const ze=new Set([Re.type,Ne.type]);class Ge{constructor(e,{isCaseSensitive:t=we.isCaseSensitive,includeMatches:a=we.includeMatches,minMatchCharLength:n=we.minMatchCharLength,ignoreLocation:r=we.ignoreLocation,findAllMatches:l=we.findAllMatches,location:o=we.location,threshold:i=we.threshold,distance:c=we.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(Be).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<Pe;){const e=Ze[o];let a=e.isMultiMatch(r);a&&(n.push(new e(a,t)),l=!0)}if(!l)for(o=-1;++o<Pe;){const e=Ze[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;ze.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 Fe=[];function He(e,t){for(let a=0,n=Fe.length;a<n;a+=1){let n=Fe[a];if(n.condition(e,t))return new n(e,t)}return new Ie(e,t)}const Ve="$and",De="$or",je="$path",Ke="$val",Oe=e=>!(!e[Ve]&&!e[De]),qe=e=>({[Ve]:Object.keys(e).map((t=>({[t]:e[t]})))});function We(e,t,{auto:a=!0}={}){const n=e=>{let r=Object.keys(e);const l=(e=>!!e[je])(e);if(!l&&r.length>1&&!Oe(e))return n(qe(e));if((e=>!de(e)&&ge(e)&&!Oe(e))(e)){const n=l?e[je]:r[0],o=l?e[Ke]:e[n];if(!ue(o))throw new Error((e=>`Invalid value for key ${e}`)(n));const i={keyId:_e(n),pattern:o};return a&&(i.searcher=He(o,t)),i}let o={children:[],operator:r[0]};return r.forEach((t=>{const a=e[t];de(a)&&a.forEach((e=>{o.children.push(n(e))}))})),o};return Oe(e)||(e=qe(e)),n(e)}function Ue(e,t){const a=e.matches;t.matches=[],fe(a)&&a.forEach((e=>{if(!fe(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 Xe(e,t){t.score=e.score}class Je{constructor(e,t={},a){this.options={...we,...t},this.options.useExtendedSearch,this._keyStore=new xe(this.options.keys),this.setCollection(e,a)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Ce))throw new Error("Incorrect 'index' type");this._myIndex=t||be(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){fe(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=ue(e)?ue(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=we.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),me(t)&&t>-1&&(i=i.slice(0,t)),function(e,t,{includeMatches:a=we.includeMatches,includeScore:n=we.includeScore}={}){const r=[];return a&&r.push(Ue),n&&r.push(Xe),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=He(e,this.options),{records:a}=this._myIndex,n=[];return a.forEach((({v:e,i:a,n:r})=>{if(!fe(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=We(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===Ve)return[]}return r},n=this._myIndex.records,r={},l=[];return n.forEach((({$:e,i:n})=>{if(fe(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=He(e,this.options),{keys:a,records:n}=this._myIndex,r=[];return n.forEach((({$:e,i:n})=>{if(!fe(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(!fe(t))return[];let n=[];if(de(t))t.forEach((({v:t,i:r,n:l})=>{if(!fe(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}}Je.version="6.6.2",Je.createIndex=be,Je.parseIndex=function(e,{getFn:t=we.getFn,fieldNormWeight:a=we.fieldNormWeight}={}){const{keys:n,records:r}=e,l=new Ce({getFn:t,fieldNormWeight:a});return l.setKeys(n),l.setIndexRecords(r),l},Je.config=we,Je.parseQuery=We,function(...e){Fe.push(...e)}(Ge);var Ye=require("greek-utils");const Qe=l.default(V)`
755
755
  `,et=l.default(F)`
756
756
 
757
757
  `,tt=l.default(H)`
@@ -1029,7 +1029,7 @@
1029
1029
  justify-content: space-between;
1030
1030
  gap: 1rem;
1031
1031
  padding: var(--normalPads);
1032
- `,Et=t=>{const{region:a}=e.useContext(W),{setHamState:n}=e.useContext(X),{setActiveMenu:l}=e.useContext(U),{language:o}=e.useContext(O);return r.default.createElement(dt,null,r.default.createElement(ut,{onClick:()=>n(!1)},r.default.createElement(s,{Icon:"Xicon"}),r.default.createElement("h4",null,t.text_Title_Main)),r.default.createElement(xt,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(yt,null)),"Protected"===t.role?r.default.createElement(ft,null,r.default.createElement(ht,null),r.default.createElement(mt,{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(mt,{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(mt,{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(mt,{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(gt,null,r.default.createElement(ht,null),r.default.createElement(mt,{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(ft,null,r.default.createElement(ht,null),r.default.createElement(mt,{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 kt=[{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(W),{setActiveMenu:l}=e.useContext(U);return r.default.createElement(dt,null,r.default.createElement(ut,{onClick:()=>l("Main")},r.default.createElement(s,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),kt.map(((e,t)=>r.default.createElement(mt,{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))))))},wt=t=>{const{activeMenu:n}=e.useContext(U),[l,o]=e.useState(null),i=e=>{const t=e.offsetHeight;o(t)};return r.default.createElement(st,{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(Et,{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(pt,{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}))))},Mt=l.default.div`
1032
+ `,Et=t=>{const{region:a}=e.useContext(W),{setHamState:n}=e.useContext(X),{setActiveMenu:l}=e.useContext(U),{language:o}=e.useContext(q);return r.default.createElement(dt,null,r.default.createElement(ut,{onClick:()=>n(!1)},r.default.createElement(s,{Icon:"Xicon"}),r.default.createElement("h4",null,t.text_Title_Main)),r.default.createElement(xt,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(yt,null)),"Protected"===t.role?r.default.createElement(ft,null,r.default.createElement(ht,null),r.default.createElement(mt,{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(mt,{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(mt,{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(mt,{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(gt,null,r.default.createElement(ht,null),r.default.createElement(mt,{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(ft,null,r.default.createElement(ht,null),r.default.createElement(mt,{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 kt=[{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(W),{setActiveMenu:l}=e.useContext(U);return r.default.createElement(dt,null,r.default.createElement(ut,{onClick:()=>l("Main")},r.default.createElement(s,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),kt.map(((e,t)=>r.default.createElement(mt,{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))))))},wt=t=>{const{activeMenu:n}=e.useContext(U),[l,o]=e.useState(null),i=e=>{const t=e.offsetHeight;o(t)};return r.default.createElement(st,{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(Et,{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(pt,{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}))))},Mt=l.default.div`
1033
1033
  justify-self: flex-end;
1034
1034
  display: flex;
1035
1035
  align-items: center;
@@ -1263,7 +1263,7 @@
1263
1263
  height: calc(100vh - 6rem);
1264
1264
  overflow: hidden;
1265
1265
  }
1266
- `,qt=l.default.div`
1266
+ `,Ot=l.default.div`
1267
1267
  display: grid;
1268
1268
  grid-template-columns: minmax(40rem, 40%) 1fr;
1269
1269
  grid-gap: 4rem;
@@ -1272,7 +1272,7 @@
1272
1272
  @media ${b.md} {
1273
1273
  grid-template-columns: 1fr;
1274
1274
  }
1275
- `,Ot=l.default.div`
1275
+ `,qt=l.default.div`
1276
1276
  display: grid;
1277
1277
  grid-template-columns: 1fr 40%;
1278
1278
  grid-gap: 4rem;
@@ -1310,7 +1310,7 @@
1310
1310
  padding-left: 4rem;
1311
1311
  `,aa=l.default.div`
1312
1312
  padding-right: 4rem;
1313
- `,na=l.default(qt)`
1313
+ `,na=l.default(Ot)`
1314
1314
  padding: 0;
1315
1315
 
1316
1316
  aside{
@@ -1508,4 +1508,4 @@
1508
1508
  grid-template-columns: 1fr 1fr;
1509
1509
  `,Ma=l.default(ka)`
1510
1510
  grid-template-columns: 1fr 1fr 1fr;
1511
- `;exports.Builder_=e=>r.default.createElement(ae,{key:e.key},e.title?r.default.createElement("h4",null,e.title):null,e.children),exports.Card=w,exports.CardsForty=wa,exports.CardsSixty=Ma,exports.CardsTools=_a,exports.Checkbox_=e=>r.default.createElement(ne,{key:e.key},e.withInput?r.default.createElement(le,{checked:e.checked},r.default.createElement(j,{placeholder:e.placeholder,disableInput:!e.checked})):r.default.createElement("label",{for:e.id},r.default.createElement("p",null,e.text_CheckboxLabel)),r.default.createElement(re,{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(L,null,r.default.createElement(S,null,r.default.createElement("h4",null,e.message),r.default.createElement(A,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=e=>{t.onSuggestions(e),o({...l,query:"",defaultValue:"string"==typeof e?e:e[t.suggestionType]})},h=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(),m("string"==typeof i[d]?i[d]:i[d][t.suggestionType]))};return e.useEffect((()=>{a.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new Je(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(Qe,null,r.default.createElement(et,{id:"elasticSearch",autoComplete:"off",type:"text",value:t.value,placeholder:t.placeholder,onChange:e=>{const{target:a={}}=e,{value:n=""}=a;let r=Ye.toGreek(n);o({...l,query:t.sanitize?r:n})},defaultValue:l.defaultValue,onKeyPress:e=>h(e),onKeyDown:e=>h(e),list:t.list}),r.default.createElement(tt,null,t.placeholder),t.required?r.default.createElement(Z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,t.list?r.default.createElement(v,{variant_Size:"small",text_Button:t.text_AddToList,icon_Left:"Add",className:"FormAddButton",onClick:t.onClick_AddToList}):null,l.query&&i?r.default.createElement(at,null,i.slice(0,6).map(((e,a)=>r.default.createElement("li",{className:a===d%i.length?"ElasticSelected":"",key:a,onClick:()=>m(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(nt,null,r.default.createElement("h5",null,t.listItemTitle),t.list.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:t.onClick_ListItemDelete}))))):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=G,exports.FormGroup=V,exports.FormInput=F,exports.FormLabel=H,exports.FormList=D,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=X,exports.IconSvg=s,exports.Input_=j,exports.Input_Phone=t=>{const{region:a}=e.useContext(W);return r.default.createElement(Q,null,r.default.createElement(ee,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(j,{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(W);return r.default.createElement(te,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(j,{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=O,exports.Main_=v,exports.Main_Plain=x,exports.MenuContext=U,exports.Nav_=e=>r.default.createElement(It,null,r.default.createElement(ot,{onClick_Logo:e.onClick_Logo}),r.default.createElement(ct,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?r.default.createElement(bt,{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(At,{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,{variant_CardText:e.variant_CardText,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(C,null,r.default.createElement("img",{src:e.imgSmall})):r.default.createElement("span",null,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=Kt,exports.PageAlwaysVisible=Ut,exports.PageCards=oa,exports.PageDesktopOnly=Xt,exports.PageDesktopPadding=Jt,exports.PageForty=qt,exports.PageSingle=Qt,exports.PageSingleHeader=ea,exports.PageSingleRight=aa,exports.PageSingleleft=ta,exports.PageSixty=Ot,exports.PageSub=na,exports.PageSubActions=la,exports.PageSubTitle=ra,exports.PageTitle=Yt,exports.PageTools=Wt,exports.PageToolsCards=ia,exports.Radio_=e=>r.default.createElement(oe,{key:e.key},e.withInput?r.default.createElement(j,{placeholder:e.placeholder}):r.default.createElement("label",{for:e.id},r.default.createElement("p",null,e.text)),r.default.createElement(ie,{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=W,exports.Sidebar_=e=>r.default.createElement($t,null,e.children),exports.Sidebar_Box=e=>r.default.createElement(Tt,{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=fa,exports.SliderContainer=xa,exports.SliderContext=Y,exports.SliderGrid=Ea,exports.SliderOverlay=pa,exports.SliderTitle=ya,exports.SliderWrapper=va,exports.Slider_=e=>r.default.createElement(Ft,{className:e.className},r.default.createElement(Ht,{className:"StoryBook_Fix2",onClick:e.onClick_Close}),r.default.createElement(Vt,null,r.default.createElement(Dt,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(jt,null,e.children))),exports.Steps=sa,exports.StepsActions=ga,exports.StepsComplete=ua,exports.StepsContainer=ma,exports.StepsCurrent=da,exports.StepsWrapper=ha,exports.Steps_=e=>r.default.createElement(Bt,null,r.default.createElement(Pt,{steps:e.steps,currentStep:e.currentStep}),r.default.createElement(zt,null,e.steps.map(((t,n)=>r.default.createElement(a.CSSTransition,{in:e.currentStep===n,timeout:500,unmountOnExit:!0,classNames:"Steps"},r.default.createElement(Gt,{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(ce,null,r.default.createElement(B,{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(se,{capped:t>e.limit}," ",r.default.createElement("span",null,t)," / ",e.limit):null,e.required?r.default.createElement(Z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.errors?r.default.createElement(I,{className:"ValidatorErrors"},e.errors.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?r.default.createElement(I,{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(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.tips?r.default.createElement(I,{className:"ValidatorHelpers"},e.tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.helpers?r.default.createElement(I,{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=ca,exports.ThemeContext=J,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=b;
1511
+ `;exports.Builder_=e=>r.default.createElement(ae,{key:e.key},e.title?r.default.createElement("h4",null,e.title):null,e.children),exports.Card=w,exports.CardsForty=wa,exports.CardsSixty=Ma,exports.CardsTools=_a,exports.Checkbox_=e=>r.default.createElement(ne,{key:e.key},e.withInput?r.default.createElement(le,{checked:e.checked},r.default.createElement(j,{placeholder:e.placeholder,disableInput:!e.checked})):r.default.createElement("label",{for:e.id},r.default.createElement("p",null,e.text_CheckboxLabel)),r.default.createElement(re,{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(L,null,r.default.createElement(S,null,r.default.createElement("h4",null,e.message),r.default.createElement(A,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_=O,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=e=>{t.onSuggestions(e),o({...l,query:"",defaultValue:"string"==typeof e?e:e[t.suggestionType]})},h=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(),m("string"==typeof i[d]?i[d]:i[d][t.suggestionType]))};return e.useEffect((()=>{a.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new Je(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(Qe,null,r.default.createElement(et,{id:"elasticSearch",autoComplete:"off",type:"text",value:t.value,placeholder:t.placeholder,onChange:e=>{const{target:a={}}=e,{value:n=""}=a;let r=Ye.toGreek(n);o({...l,query:t.sanitize?r:n})},defaultValue:l.defaultValue,onKeyPress:e=>h(e),onKeyDown:e=>h(e),list:t.list}),r.default.createElement(tt,null,t.placeholder),t.required?r.default.createElement(Z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,t.list?r.default.createElement(v,{variant_Size:"small",text_Button:t.text_AddToList,icon_Left:"Add",className:"FormAddButton",onClick:t.onClick_AddToList}):null,l.query&&i?r.default.createElement(at,null,i.slice(0,6).map(((e,a)=>r.default.createElement("li",{className:a===d%i.length?"ElasticSelected":"",key:a,onClick:()=>m(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(nt,null,r.default.createElement("h5",null,t.listItemTitle),t.list.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:t.onClick_ListItemDelete}))))):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=G,exports.FormGroup=V,exports.FormInput=F,exports.FormLabel=H,exports.FormList=D,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=X,exports.IconSvg=s,exports.Input_=j,exports.Input_Phone=t=>{const{region:a}=e.useContext(W);return r.default.createElement(Q,null,r.default.createElement(ee,null,r.default.createElement(O,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(O,{items:t.array_PhoneDropdown})),r.default.createElement(j,{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(W);return r.default.createElement(te,null,r.default.createElement(O,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(j,{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=q,exports.Main_=v,exports.Main_Plain=x,exports.MenuContext=U,exports.Nav_=e=>r.default.createElement(It,null,r.default.createElement(ot,{onClick_Logo:e.onClick_Logo}),r.default.createElement(ct,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?r.default.createElement(bt,{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(At,{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,{variant_CardText:e.variant_CardText,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(C,null,r.default.createElement("img",{src:e.imgSmall})):r.default.createElement("span",null,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=Kt,exports.PageAlwaysVisible=Ut,exports.PageCards=oa,exports.PageDesktopOnly=Xt,exports.PageDesktopPadding=Jt,exports.PageForty=Ot,exports.PageSingle=Qt,exports.PageSingleHeader=ea,exports.PageSingleRight=aa,exports.PageSingleleft=ta,exports.PageSixty=qt,exports.PageSub=na,exports.PageSubActions=la,exports.PageSubTitle=ra,exports.PageTitle=Yt,exports.PageTools=Wt,exports.PageToolsCards=ia,exports.Radio_=e=>r.default.createElement(oe,{key:e.key},e.withInput?r.default.createElement(j,{placeholder:e.placeholder}):r.default.createElement("label",{for:e.id},r.default.createElement("p",null,e.text)),r.default.createElement(ie,{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=W,exports.Sidebar_=e=>r.default.createElement($t,null,e.children),exports.Sidebar_Box=e=>r.default.createElement(Tt,{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=fa,exports.SliderContainer=xa,exports.SliderContext=Y,exports.SliderGrid=Ea,exports.SliderOverlay=pa,exports.SliderTitle=ya,exports.SliderWrapper=va,exports.Slider_=e=>r.default.createElement(Ft,{className:e.className},r.default.createElement(Ht,{className:"StoryBook_Fix2",onClick:e.onClick_Close}),r.default.createElement(Vt,null,r.default.createElement(Dt,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(jt,null,e.children))),exports.Steps=sa,exports.StepsActions=ga,exports.StepsComplete=ua,exports.StepsContainer=ma,exports.StepsCurrent=da,exports.StepsWrapper=ha,exports.Steps_=e=>r.default.createElement(Bt,null,r.default.createElement(Pt,{steps:e.steps,currentStep:e.currentStep}),r.default.createElement(zt,null,e.steps.map(((t,n)=>r.default.createElement(a.CSSTransition,{in:e.currentStep===n,timeout:500,unmountOnExit:!0,classNames:"Steps"},r.default.createElement(Gt,{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(ce,null,r.default.createElement(B,{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(se,{capped:t>e.limit}," ",r.default.createElement("span",null,t)," / ",e.limit):null,e.required?r.default.createElement(Z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.errors?r.default.createElement(I,{className:"ValidatorErrors"},e.errors.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?r.default.createElement(I,{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(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.tips?r.default.createElement(I,{className:"ValidatorHelpers"},e.tips.map((e=>r.default.createElement(T,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.helpers?r.default.createElement(I,{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=ca,exports.ThemeContext=J,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=b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monica-alexandria",
3
- "version": "3.3.10",
3
+ "version": "3.3.13",
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",
@@ -1,10 +1,18 @@
1
- import React from 'react'
1
+ import React, { useState } from 'react'
2
2
  import { ValidatorError, ValidatorRequired, Validators, ValidatorTip, ValidatorWarning } from '../../helpers/Validator'
3
3
  import { FormGroup, FormInput, FormLabel, FormList } from '../../styles/Form'
4
4
  import { IconSvg } from '../../svg/IconSvg'
5
5
  import { Delete_Plain, Main_ } from '../button'
6
6
 
7
7
  export const Input_ = (props) => {
8
+
9
+ const [myList , setMyList] = useState(JSON.stringify(props.list))
10
+ const deleteListItem = (index) => {
11
+ let updateList = JSON.parse(JSON.stringify(props.list));
12
+ updateList.splice(index, 1)
13
+ setMyList(updateList);
14
+ }
15
+
8
16
  return (
9
17
  <FormGroup>
10
18
  <FormInput
@@ -89,12 +97,12 @@ export const Input_ = (props) => {
89
97
  }
90
98
  {props.list ?
91
99
  <FormList>
92
- {props.list.map((item, indexKey) =>
93
- <li key={indexKey}>
100
+ {myList.map((item, i) =>
101
+ <li key={i}>
94
102
  <IconSvg Icon={props.icon_ListItem} />
95
103
  <h6>{item}</h6>
96
104
  <Delete_Plain
97
- onClick = {props.onClick_ListItemDelete}
105
+ onClick = {() => deleteListItem(i)}
98
106
  size = 'small'
99
107
  iconLeft = 'Delete'
100
108
  />