monica-alexandria 3.2.6 → 3.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +115 -58
- package/dist/index.js +109 -52
- package/package.json +1 -1
- package/src/export/components/sidebar/index.js +2 -1
package/dist/index.es.js
CHANGED
|
@@ -115,7 +115,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
115
115
|
background: ${e=>"dark"===e.theme?"var(--gloomDark)":"var(--greyLight)"};
|
|
116
116
|
border: 1px solid ${e=>"dark"===e.theme?"var(--gloomDark)":"var(--greyLight)"};
|
|
117
117
|
}
|
|
118
|
-
`,_=t=>e.createElement(y,{variant_Size:t.variant_Size,onClick:t.onClick},t.icon_Left?e.createElement(d,{Icon:t.icon_Left}):null,t.text_Button?e.createElement("span",null,t.text_Button):null,t.icon_Right?e.createElement(d,{Icon:t.icon_Right}):null),
|
|
118
|
+
`,_=t=>e.createElement(y,{variant_Size:t.variant_Size,onClick:t.onClick},t.icon_Left?e.createElement(d,{Icon:t.icon_Left}):null,t.text_Button?e.createElement("span",null,t.text_Button):null,t.icon_Right?e.createElement(d,{Icon:t.icon_Right}):null),f=o(c)`
|
|
119
119
|
background: transparent;
|
|
120
120
|
border: 1px solid transparent;
|
|
121
121
|
|
|
@@ -138,7 +138,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
138
138
|
fill: ${e=>e.theme.low};
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
`,
|
|
141
|
+
`,E=t=>e.createElement(f,{variant_Size:t.variant_Size,onClick:t.onClick},t.icon_Left?e.createElement(d,{Icon:t.icon_Left}):null,t.text_Button?e.createElement("span",null,t.text_Button):null,t.icon_Right?e.createElement(d,{Icon:t.icon_Right}):null),x=o(c)`
|
|
142
142
|
background: var(--main);
|
|
143
143
|
border-radius: var(--normalRadius);
|
|
144
144
|
border: 1px solid var(--main);
|
|
@@ -303,7 +303,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
303
303
|
width: 11rem;
|
|
304
304
|
border-radius: 50%;
|
|
305
305
|
}
|
|
306
|
-
`,$=t=>e.createElement(A,{variant_CardText:t.variant_CardText},t.svg_Card||t.text_Card||t.img_SmallCard?e.createElement("header",null,t.svg_Card?e.createElement("figure",null,e.createElement(d,{Icon:t.svg_Card})):t.img_SmallCard?e.createElement(I,null,e.createElement("img",{src:t.img_SmallCard})):e.createElement("span",null,t.text_Card)):t.img_Card?e.createElement("picture",null,e.createElement("img",{src:t.img_Card})):null,t.text_CardTitle||t.text_CardSub?e.createElement("footer",null,t.text_CardTitle&&e.createElement("h2",null,t.text_CardTitle),t.text_CardSub&&e.createElement("h5",null,t.text_CardSub),t.children):null),T=`(max-width: ${`${576}px`})`,R=`(max-width: ${`${768}px`})`,B=`(max-width: ${`${992}px`})`,
|
|
306
|
+
`,$=t=>e.createElement(A,{variant_CardText:t.variant_CardText},t.svg_Card||t.text_Card||t.img_SmallCard?e.createElement("header",null,t.svg_Card?e.createElement("figure",null,e.createElement(d,{Icon:t.svg_Card})):t.img_SmallCard?e.createElement(I,null,e.createElement("img",{src:t.img_SmallCard})):e.createElement("span",null,t.text_Card)):t.img_Card?e.createElement("picture",null,e.createElement("img",{src:t.img_Card})):null,t.text_CardTitle||t.text_CardSub?e.createElement("footer",null,t.text_CardTitle&&e.createElement("h2",null,t.text_CardTitle),t.text_CardSub&&e.createElement("h5",null,t.text_CardSub),t.children):null),T=`(max-width: ${`${576}px`})`,R=`(max-width: ${`${768}px`})`,B=`(max-width: ${`${992}px`})`,N=`(max-width: ${`${1440}px`})`,Z=o.div`
|
|
307
307
|
position: fixed;
|
|
308
308
|
top: 0;
|
|
309
309
|
left: 0;
|
|
@@ -338,7 +338,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
`,H=t=>e.createElement(
|
|
341
|
+
`,H=t=>e.createElement(Z,null,e.createElement(z,null,e.createElement("h4",null,t.text_Confirmation),e.createElement(P,null,e.createElement(k,{onClick:t.onClick_Primary,icon_Left:t.icon_Primary,text_Button:t.text_Primary}),e.createElement(M,{onClick:t.onClick_Secondary,icon_Left:t.icon_Secondary,text_Button:t.text_Secondary})))),G=o.div`
|
|
342
342
|
|
|
343
343
|
`,F=o.div`
|
|
344
344
|
display: grid;
|
|
@@ -652,7 +652,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
652
652
|
opacity: ${e=>!0===e.bool_Checked?"1":"0.4"};
|
|
653
653
|
cursor: ${e=>!0===e.bool_Checked?"auto":"not-allowed !important"};
|
|
654
654
|
}
|
|
655
|
-
`,
|
|
655
|
+
`,fe=t=>e.createElement(ve,{key:t.key},t.variant_Input?e.createElement(_e,{bool_Checked:t.bool_Checked},e.createElement(ee,{text_Placeholder:t.text_CheckboxPlaceholder,bool_DisabledInput:!t.bool_Checked})):e.createElement("label",{for:t.id_Checkbox},e.createElement("p",null,t.text_CheckboxLabel)),e.createElement(ye,{className:"Check"},e.createElement("input",{type:"checkbox",id:t.id_Checkbox,checked:t.bool_Checked,onClick:t.onClick_Checkbox}),e.createElement("span",{className:"CheckCustom"}),e.createElement(d,{Icon:"Check",class_Icon:"CheckIcon"}))),Ee=o.div`
|
|
656
656
|
display: grid;
|
|
657
657
|
grid-template-columns: auto 1fr;
|
|
658
658
|
align-items: flex-start;
|
|
@@ -721,7 +721,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
721
721
|
opacity: 1 !important;
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
|
-
`,ke=t=>e.createElement(
|
|
724
|
+
`,ke=t=>e.createElement(Ee,{key:t.key},t.variant_Input?e.createElement(ee,{text_Placeholder:t.text_RadioPlaceholder}):e.createElement("label",{for:t.id_Radio},e.createElement("p",null,t.text_RadioLabel)),e.createElement(xe,{className:"RadioCircle"},e.createElement("input",{name:t.name_Radio,type:"radio",id:t.id_Radio,checked:t.bool_RadioChecked}),e.createElement("span",{className:"RadioCustom"}),e.createElement(d,{Icon:"Sun",class_Icon:"RadioIcon"}))),we=o.div`
|
|
725
725
|
position: relative;
|
|
726
726
|
|
|
727
727
|
.ValidatorHelpers{
|
|
@@ -748,7 +748,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
748
748
|
span{
|
|
749
749
|
color: ${e=>e.capped?"var(--error)":"inherit"};
|
|
750
750
|
}
|
|
751
|
-
`,be=t=>{const[n,r]=e.useState(0);return e.createElement(we,null,e.createElement(O,{placeholder:t.text_Placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange_Textarea?t.onChange_Textarea:e=>(e=>{r(e.target.value.length)})(e)},t.text_Prefill),t.int_Limit?e.createElement(Me,{capped:n>t.int_Limit}," ",e.createElement("span",null,n)," / ",t.int_Limit):null,t.bool_Required?e.createElement(j,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.array_Errors?e.createElement(G,{className:"ValidatorErrors"},t.array_Errors.map((t=>e.createElement(K,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.array_Tips&&t.array_Helpers?e.createElement(G,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.array_Tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.array_Tips?e.createElement(G,{className:"ValidatorHelpers"},t.array_Tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.array_Helpers?e.createElement(G,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null)};function Ce(e){return Array.isArray?Array.isArray(e):"[object Array]"===Re(e)}function Le(e){return"string"==typeof e}function Se(e){return"number"==typeof e}function Ae(e){return!0===e||!1===e||function(e){return Ie(e)&&null!==e}(e)&&"[object Boolean]"==Re(e)}function Ie(e){return"object"==typeof e}function $e(e){return null!=e}function Te(e){return!e.trim().length}function Re(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Be=Object.prototype.hasOwnProperty;class Ze{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(Le(e)||Ce(e))r=e,t=ze(e),n=Pe(e);else{if(!Be.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(r=i,Be.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=Pe(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function ze(e){return Ce(e)?e:e.split(".")}function Pe(e){return Ce(e)?e.join("."):e}var He={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($e(e))if(t[o]){const i=e[t[o]];if(!$e(i))return;if(o===t.length-1&&(Le(i)||Se(i)||Ae(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(Ce(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,Le(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Ge=/[^ ]+/g;class Fe{constructor({getFn:e=He.getFn,fieldNormWeight:t=He.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,Le(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();Le(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(!$e(e)||Te(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($e(a))if(Ce(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if($e(r))if(Le(r)&&!Te(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else Ce(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(Le(a)&&!Te(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 De(e,t,{getFn:n=He.getFn,fieldNormWeight:r=He.fieldNormWeight}={}){const a=new Fe({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Ne)),a.setSources(t),a.create(),a}function Ve(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=He.distance,ignoreLocation:o=He.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 Ke(e,t,n,{location:r=He.location,distance:a=He.distance,threshold:o=He.threshold,findAllMatches:i=He.findAllMatches,minMatchCharLength:c=He.minMatchCharLength,includeMatches:l=He.includeMatches,ignoreLocation:s=He.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(r,u));let h=o,g=m;const p=c>1||l,v=p?Array(u):[];let y;for(;(y=e.indexOf(t,g))>-1;){let e=Ve(t,{currentLocation:y,expectedLocation:m,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 _=[],E=1,f=d+u;const x=1<<d-1;for(let r=0;r<d;r+=1){let o=0,c=f;for(;o<c;){Ve(t,{errors:r,currentLocation:m+c,expectedLocation:m,distance:a,ignoreLocation:s})<=h?o=c:f=c,c=Math.floor((f-o)/2+o)}f=c;let l=Math.max(1,m-c+1),y=i?u:Math.min(m+c,u)+d,k=Array(y+2);k[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),k[o]=(k[o+1]<<1|1)&c,r&&(k[o]|=(_[o+1]|_[o])<<1|1|_[o+1]),k[o]&x&&(E=Ve(t,{errors:r,currentLocation:i,expectedLocation:m,distance:a,ignoreLocation:s}),E<=h)){if(h=E,g=i,g<=m)break;l=Math.max(1,2*m-g)}}if(Ve(t,{errors:r+1,currentLocation:m,expectedLocation:m,distance:a,ignoreLocation:s})>h)break;_=k}const k={isMatch:g>=0,score:Math.max(.001,E)};if(p){const e=function(e=[],t=He.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&&(k.indices=e):k.isMatch=!1}return k}function je(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 qe{constructor(e,{location:t=He.location,threshold:n=He.threshold,distance:r=He.distance,includeMatches:a=He.includeMatches,findAllMatches:o=He.findAllMatches,minMatchCharLength:i=He.minMatchCharLength,isCaseSensitive:c=He.isCaseSensitive,ignoreLocation:l=He.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:je(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,u=!1;this.chunks.forEach((({pattern:t,alphabet:m,startIndex:h})=>{const{isMatch:g,score:p,indices:v}=Ke(e,t,m,{location:r+h,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});g&&(u=!0),d+=p,g&&v&&(s=[...s,...v])}));let m={isMatch:u,score:u?d/this.chunks.length:1};return u&&n&&(m.indices=s),m}}class Oe{constructor(e){this.pattern=e}static isMultiMatch(e){return We(e,this.multiRegex)}static isSingleMatch(e){return We(e,this.singleRegex)}search(){}}function We(e,t){const n=e.match(t);return n?n[1]:null}class Ue extends Oe{constructor(e,{location:t=He.location,threshold:n=He.threshold,distance:r=He.distance,includeMatches:a=He.includeMatches,findAllMatches:o=He.findAllMatches,minMatchCharLength:i=He.minMatchCharLength,isCaseSensitive:c=He.isCaseSensitive,ignoreLocation:l=He.ignoreLocation}={}){super(e),this._bitapSearch=new qe(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 Xe extends Oe{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 Je=[class extends Oe{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]}}},Xe,class extends Oe{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 Oe{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 Oe{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 Oe{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 Oe{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]}}},Ue],Ye=Je.length,Qe=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const et=new Set([Ue.type,Xe.type]);class tt{constructor(e,{isCaseSensitive:t=He.isCaseSensitive,includeMatches:n=He.includeMatches,minMatchCharLength:r=He.minMatchCharLength,ignoreLocation:a=He.ignoreLocation,findAllMatches:o=He.findAllMatches,location:i=He.location,threshold:c=He.threshold,distance:l=He.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(Qe).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<Ye;){const e=Je[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Ye;){const e=Je[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;et.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 nt=[];function rt(e,t){for(let n=0,r=nt.length;n<r;n+=1){let r=nt[n];if(r.condition(e,t))return new r(e,t)}return new qe(e,t)}const at="$and",ot="$or",it="$path",ct="$val",lt=e=>!(!e[at]&&!e[ot]),st=e=>({[at]:Object.keys(e).map((t=>({[t]:e[t]})))});function dt(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[it])(e);if(!o&&a.length>1&&!lt(e))return r(st(e));if((e=>!Ce(e)&&Ie(e)&&!lt(e))(e)){const r=o?e[it]:a[0],i=o?e[ct]:e[r];if(!Le(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:Pe(r),pattern:i};return n&&(c.searcher=rt(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];Ce(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return lt(e)||(e=st(e)),r(e)}function ut(e,t){const n=e.matches;t.matches=[],$e(n)&&n.forEach((e=>{if(!$e(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 mt(e,t){t.score=e.score}class ht{constructor(e,t={},n){this.options={...He,...t},this.options.useExtendedSearch,this._keyStore=new Ze(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Fe))throw new Error("Incorrect 'index' type");this._myIndex=t||De(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){$e(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=Le(e)?Le(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=He.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),Se(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=He.includeMatches,includeScore:r=He.includeScore}={}){const a=[];return n&&a.push(ut),r&&a.push(mt),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=rt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!$e(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=dt(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===at)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if($e(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=rt(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!$e(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(!$e(t))return[];let r=[];if(Ce(t))t.forEach((({v:t,i:a,n:o})=>{if(!$e(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}}ht.version="6.6.2",ht.createIndex=De,ht.parseIndex=function(e,{getFn:t=He.getFn,fieldNormWeight:n=He.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new Fe({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},ht.config=He,ht.parseQuery=dt,function(...e){nt.push(...e)}(tt);var gt=require("greek-utils");const pt=o(Y)`
|
|
751
|
+
`,be=t=>{const[n,r]=e.useState(0);return e.createElement(we,null,e.createElement(O,{placeholder:t.text_Placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange_Textarea?t.onChange_Textarea:e=>(e=>{r(e.target.value.length)})(e)},t.text_Prefill),t.int_Limit?e.createElement(Me,{capped:n>t.int_Limit}," ",e.createElement("span",null,n)," / ",t.int_Limit):null,t.bool_Required?e.createElement(j,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.array_Errors?e.createElement(G,{className:"ValidatorErrors"},t.array_Errors.map((t=>e.createElement(K,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.array_Tips&&t.array_Helpers?e.createElement(G,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.array_Tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.array_Tips?e.createElement(G,{className:"ValidatorHelpers"},t.array_Tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.array_Helpers?e.createElement(G,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null)};function Ce(e){return Array.isArray?Array.isArray(e):"[object Array]"===Re(e)}function Le(e){return"string"==typeof e}function Se(e){return"number"==typeof e}function Ae(e){return!0===e||!1===e||function(e){return Ie(e)&&null!==e}(e)&&"[object Boolean]"==Re(e)}function Ie(e){return"object"==typeof e}function $e(e){return null!=e}function Te(e){return!e.trim().length}function Re(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Be=Object.prototype.hasOwnProperty;class Ne{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=Ze(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 Ze(e){let t=null,n=null,r=null,a=1,o=null;if(Le(e)||Ce(e))r=e,t=ze(e),n=Pe(e);else{if(!Be.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(r=i,Be.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=Pe(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function ze(e){return Ce(e)?e:e.split(".")}function Pe(e){return Ce(e)?e.join("."):e}var He={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($e(e))if(t[o]){const i=e[t[o]];if(!$e(i))return;if(o===t.length-1&&(Le(i)||Se(i)||Ae(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(Ce(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,Le(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Ge=/[^ ]+/g;class Fe{constructor({getFn:e=He.getFn,fieldNormWeight:t=He.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,Le(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();Le(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(!$e(e)||Te(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($e(a))if(Ce(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if($e(r))if(Le(r)&&!Te(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else Ce(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(Le(a)&&!Te(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 De(e,t,{getFn:n=He.getFn,fieldNormWeight:r=He.fieldNormWeight}={}){const a=new Fe({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Ze)),a.setSources(t),a.create(),a}function Ve(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=He.distance,ignoreLocation:o=He.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 Ke(e,t,n,{location:r=He.location,distance:a=He.distance,threshold:o=He.threshold,findAllMatches:i=He.findAllMatches,minMatchCharLength:c=He.minMatchCharLength,includeMatches:l=He.includeMatches,ignoreLocation:s=He.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(r,u));let h=o,g=m;const p=c>1||l,v=p?Array(u):[];let y;for(;(y=e.indexOf(t,g))>-1;){let e=Ve(t,{currentLocation:y,expectedLocation:m,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=1,E=d+u;const x=1<<d-1;for(let r=0;r<d;r+=1){let o=0,c=E;for(;o<c;){Ve(t,{errors:r,currentLocation:m+c,expectedLocation:m,distance:a,ignoreLocation:s})<=h?o=c:E=c,c=Math.floor((E-o)/2+o)}E=c;let l=Math.max(1,m-c+1),y=i?u:Math.min(m+c,u)+d,k=Array(y+2);k[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),k[o]=(k[o+1]<<1|1)&c,r&&(k[o]|=(_[o+1]|_[o])<<1|1|_[o+1]),k[o]&x&&(f=Ve(t,{errors:r,currentLocation:i,expectedLocation:m,distance:a,ignoreLocation:s}),f<=h)){if(h=f,g=i,g<=m)break;l=Math.max(1,2*m-g)}}if(Ve(t,{errors:r+1,currentLocation:m,expectedLocation:m,distance:a,ignoreLocation:s})>h)break;_=k}const k={isMatch:g>=0,score:Math.max(.001,f)};if(p){const e=function(e=[],t=He.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&&(k.indices=e):k.isMatch=!1}return k}function je(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 qe{constructor(e,{location:t=He.location,threshold:n=He.threshold,distance:r=He.distance,includeMatches:a=He.includeMatches,findAllMatches:o=He.findAllMatches,minMatchCharLength:i=He.minMatchCharLength,isCaseSensitive:c=He.isCaseSensitive,ignoreLocation:l=He.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:je(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,u=!1;this.chunks.forEach((({pattern:t,alphabet:m,startIndex:h})=>{const{isMatch:g,score:p,indices:v}=Ke(e,t,m,{location:r+h,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});g&&(u=!0),d+=p,g&&v&&(s=[...s,...v])}));let m={isMatch:u,score:u?d/this.chunks.length:1};return u&&n&&(m.indices=s),m}}class Oe{constructor(e){this.pattern=e}static isMultiMatch(e){return We(e,this.multiRegex)}static isSingleMatch(e){return We(e,this.singleRegex)}search(){}}function We(e,t){const n=e.match(t);return n?n[1]:null}class Ue extends Oe{constructor(e,{location:t=He.location,threshold:n=He.threshold,distance:r=He.distance,includeMatches:a=He.includeMatches,findAllMatches:o=He.findAllMatches,minMatchCharLength:i=He.minMatchCharLength,isCaseSensitive:c=He.isCaseSensitive,ignoreLocation:l=He.ignoreLocation}={}){super(e),this._bitapSearch=new qe(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 Xe extends Oe{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 Je=[class extends Oe{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]}}},Xe,class extends Oe{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 Oe{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 Oe{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 Oe{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 Oe{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]}}},Ue],Ye=Je.length,Qe=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const et=new Set([Ue.type,Xe.type]);class tt{constructor(e,{isCaseSensitive:t=He.isCaseSensitive,includeMatches:n=He.includeMatches,minMatchCharLength:r=He.minMatchCharLength,ignoreLocation:a=He.ignoreLocation,findAllMatches:o=He.findAllMatches,location:i=He.location,threshold:c=He.threshold,distance:l=He.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(Qe).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<Ye;){const e=Je[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Ye;){const e=Je[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;et.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 nt=[];function rt(e,t){for(let n=0,r=nt.length;n<r;n+=1){let r=nt[n];if(r.condition(e,t))return new r(e,t)}return new qe(e,t)}const at="$and",ot="$or",it="$path",ct="$val",lt=e=>!(!e[at]&&!e[ot]),st=e=>({[at]:Object.keys(e).map((t=>({[t]:e[t]})))});function dt(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[it])(e);if(!o&&a.length>1&&!lt(e))return r(st(e));if((e=>!Ce(e)&&Ie(e)&&!lt(e))(e)){const r=o?e[it]:a[0],i=o?e[ct]:e[r];if(!Le(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:Pe(r),pattern:i};return n&&(c.searcher=rt(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];Ce(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return lt(e)||(e=st(e)),r(e)}function ut(e,t){const n=e.matches;t.matches=[],$e(n)&&n.forEach((e=>{if(!$e(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 mt(e,t){t.score=e.score}class ht{constructor(e,t={},n){this.options={...He,...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 Fe))throw new Error("Incorrect 'index' type");this._myIndex=t||De(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){$e(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=Le(e)?Le(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=He.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),Se(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=He.includeMatches,includeScore:r=He.includeScore}={}){const a=[];return n&&a.push(ut),r&&a.push(mt),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=rt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!$e(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=dt(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===at)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if($e(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=rt(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!$e(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(!$e(t))return[];let r=[];if(Ce(t))t.forEach((({v:t,i:a,n:o})=>{if(!$e(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}}ht.version="6.6.2",ht.createIndex=De,ht.parseIndex=function(e,{getFn:t=He.getFn,fieldNormWeight:n=He.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new Fe({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},ht.config=He,ht.parseQuery=dt,function(...e){nt.push(...e)}(tt);var gt=require("greek-utils");const pt=o(Y)`
|
|
752
752
|
|
|
753
753
|
ul{
|
|
754
754
|
margin-top: 1rem;
|
|
@@ -780,7 +780,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
780
780
|
|
|
781
781
|
`,yt=o(J)`
|
|
782
782
|
|
|
783
|
-
`,_t=t=>{let n={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[t.key_SuggestionType]},o=t.json_File;const[i,c]=r({query:"",file:o,notfoundmessage:!1,defaultValue:t.text_DefaultValue}),[l,s]=r(!1),[u,m]=r(0),h=e=>{t.onSuggestions(e),console.log("clicked"),c({...i,query:"",defaultValue:"string"==typeof e?e:e[t.key_SuggestionType]})},g=e=>{"ArrowUp"==e.key&&(e.preventDefault(),m(0===u?l.length-1:u-1)),"ArrowDown"==e.key&&(e.preventDefault(),u===l.length-1?m(0):m(u+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),h(l[u].item?l[u].item:l[u]))};return a((()=>{n.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new ht(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]),console.log(i.defaultValue),e.createElement(pt,null,e.createElement(vt,{id:"elasticSearch",autoComplete:"off",type:"text",placeholder:t.text_PlaceHolder,onChange:e=>{const{target:n={}}=e,{value:r=""}=n;let a=gt.toGreek(r);c({...i,query:t.sanitize?a:r})},defaultValue:i.defaultValue,onKeyPress:e=>g(e),onKeyDown:e=>g(e)}),e.createElement(yt,null,t.text_Placeholder),t.bool_Required?e.createElement(j,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,i.query&&l?e.createElement("ul",null,l.map(((n,r)=>e.createElement("li",{className:r===u%l.length?"ElasticSelected":"",key:r,onClick:()=>h(n?.item?n.item[t.key_SuggestionType]:n[t.key_SuggestionType])},e.createElement("p",null,n?.item?n.item[t.key_SuggestionType]:n[t.key_SuggestionType]))))):null)},
|
|
783
|
+
`,_t=t=>{let n={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[t.key_SuggestionType]},o=t.json_File;const[i,c]=r({query:"",file:o,notfoundmessage:!1,defaultValue:t.text_DefaultValue}),[l,s]=r(!1),[u,m]=r(0),h=e=>{t.onSuggestions(e),console.log("clicked"),c({...i,query:"",defaultValue:"string"==typeof e?e:e[t.key_SuggestionType]})},g=e=>{"ArrowUp"==e.key&&(e.preventDefault(),m(0===u?l.length-1:u-1)),"ArrowDown"==e.key&&(e.preventDefault(),u===l.length-1?m(0):m(u+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),h(l[u].item?l[u].item:l[u]))};return a((()=>{n.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new ht(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]),console.log(i.defaultValue),e.createElement(pt,null,e.createElement(vt,{id:"elasticSearch",autoComplete:"off",type:"text",placeholder:t.text_PlaceHolder,onChange:e=>{const{target:n={}}=e,{value:r=""}=n;let a=gt.toGreek(r);c({...i,query:t.sanitize?a:r})},defaultValue:i.defaultValue,onKeyPress:e=>g(e),onKeyDown:e=>g(e)}),e.createElement(yt,null,t.text_Placeholder),t.bool_Required?e.createElement(j,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,i.query&&l?e.createElement("ul",null,l.map(((n,r)=>e.createElement("li",{className:r===u%l.length?"ElasticSelected":"",key:r,onClick:()=>h(n?.item?n.item[t.key_SuggestionType]:n[t.key_SuggestionType])},e.createElement("p",null,n?.item?n.item[t.key_SuggestionType]:n[t.key_SuggestionType]))))):null)},ft=o.div`
|
|
784
784
|
display: flex;
|
|
785
785
|
gap: 1rem;
|
|
786
786
|
align-items: center;
|
|
@@ -805,7 +805,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
805
805
|
transform: rotate(55deg);
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
|
-
`,
|
|
808
|
+
`,Et=o.div`
|
|
809
809
|
|
|
810
810
|
h6{
|
|
811
811
|
color: var(--focus) !important;
|
|
@@ -819,7 +819,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
819
819
|
@media ${B} {
|
|
820
820
|
display: none;
|
|
821
821
|
}
|
|
822
|
-
`,xt=t=>{const{theme:r}=n(ce);return e.createElement(
|
|
822
|
+
`,xt=t=>{const{theme:r}=n(ce);return e.createElement(ft,{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(Et,null,e.createElement("h2",null,"Doitforme"),e.createElement("h6",null,"v3.0.0 'Morning'")))},kt=o.div`
|
|
823
823
|
justify-self: center;
|
|
824
824
|
|
|
825
825
|
@media ${R} {
|
|
@@ -1023,7 +1023,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1023
1023
|
justify-content: space-between;
|
|
1024
1024
|
gap: 1rem;
|
|
1025
1025
|
padding: var(--normalPads);
|
|
1026
|
-
`,Zt=t=>{const{region:r}=n(ae),{setHamState:a}=n(ie),{setActiveMenu:o}=n(oe),{language:i}=n(re);return e.createElement(bt,null,e.createElement(Ct,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Bt,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(Lt,{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(Lt,{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(Lt,{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(Lt,{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(Lt,{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(Lt,{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 Nt=[{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 zt=t=>{const{region:r,setRegion:a}=n(ae),{setActiveMenu:o}=n(oe);return e.createElement(bt,null,e.createElement(Ct,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),Nt.map(((t,n)=>e.createElement(Lt,{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))))))},Pt=t=>{const{activeMenu:a}=n(oe),[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(zt,{text_Title_Region:t.text_Title_Region}))))},Ht=o.div`
|
|
1026
|
+
`,Nt=t=>{const{region:r}=n(ae),{setHamState:a}=n(ie),{setActiveMenu:o}=n(oe),{language:i}=n(re);return e.createElement(bt,null,e.createElement(Ct,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Bt,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(Lt,{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(Lt,{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(Lt,{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(Lt,{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(Lt,{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(Lt,{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 zt=t=>{const{region:r,setRegion:a}=n(ae),{setActiveMenu:o}=n(oe);return e.createElement(bt,null,e.createElement(Ct,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),Zt.map(((t,n)=>e.createElement(Lt,{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))))))},Pt=t=>{const{activeMenu:a}=n(oe),[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(Nt,{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(zt,{text_Title_Region:t.text_Title_Region}))))},Ht=o.div`
|
|
1027
1027
|
justify-self: flex-end;
|
|
1028
1028
|
display: flex;
|
|
1029
1029
|
align-items: center;
|
|
@@ -1106,12 +1106,69 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1106
1106
|
width: 8.5rem;
|
|
1107
1107
|
height: 100vh;
|
|
1108
1108
|
border-right: 1px solid ${e=>e.theme.mid};
|
|
1109
|
-
`,Wt=t=>e.createElement(Ot,null,t.children),Ut=o.
|
|
1109
|
+
`,Wt=t=>e.createElement(Ot,null,t.children),Ut=o.li`
|
|
1110
|
+
cursor: pointer;
|
|
1111
|
+
transition-property: transform;
|
|
1112
|
+
transition-duration: .5s;
|
|
1113
|
+
position: relative;
|
|
1114
|
+
height: 8.5rem;
|
|
1115
|
+
width: 8.5rem;
|
|
1116
|
+
|
|
1117
|
+
picture{
|
|
1118
|
+
position: absolute;
|
|
1119
|
+
outline: 1px solid ${e=>e.theme.mid};
|
|
1120
|
+
top: 0;
|
|
1121
|
+
left: 0;
|
|
1122
|
+
padding: 2rem;
|
|
1123
|
+
background: ${e=>e.theme.background};
|
|
1124
|
+
|
|
1125
|
+
svg{
|
|
1126
|
+
fill: var(--main);
|
|
1127
|
+
width: 100%;
|
|
1128
|
+
transition-property: fill;
|
|
1129
|
+
transition-duration: .5s;
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.SidebarButtonTitle{
|
|
1134
|
+
position: absolute;
|
|
1135
|
+
top: 50%;
|
|
1136
|
+
left: 8rem;
|
|
1137
|
+
opacity: 0;
|
|
1138
|
+
transform: translateX(-110%);
|
|
1139
|
+
transition-property: transform, opacity;
|
|
1140
|
+
transition-duration: .5s;
|
|
1141
|
+
white-space: nowrap;
|
|
1142
|
+
padding: var(--smallPads);
|
|
1143
|
+
color: ${e=>e.theme.background};
|
|
1144
|
+
background: ${e=>e.theme.color};
|
|
1145
|
+
border: 1px solid ${e=>e.theme.color};
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
&:hover{
|
|
1149
|
+
transform: translateX(1rem);
|
|
1150
|
+
transition-property: transform;
|
|
1151
|
+
transition-duration: .5s;
|
|
1152
|
+
|
|
1153
|
+
svg{
|
|
1154
|
+
fill: var(--mainLight);
|
|
1155
|
+
transition-property: fill;
|
|
1156
|
+
transition-duration: .5s;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
.SidebarButtonTitle{
|
|
1160
|
+
opacity: 1;
|
|
1161
|
+
transform: translateX(0%);
|
|
1162
|
+
transition-property: transform;
|
|
1163
|
+
transition-duration: .5s;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
`,Xt=t=>e.createElement(Ut,null,e.createElement("h5",{className:t.class_Name+" SidebarButtonTitle"},t.text_Title),e.createElement("picture",null,e.createElement(d,{Icon:t.svg_Icon}))),Jt=o.div`
|
|
1110
1167
|
display: flex;
|
|
1111
1168
|
align-items: center;
|
|
1112
1169
|
justify-content: space-between;
|
|
1113
1170
|
padding: 4rem 0 2rem 0;
|
|
1114
|
-
`,
|
|
1171
|
+
`,Yt=t=>e.createElement(Jt,null,e.createElement(_,{icon_Left:t.icon_Grey,text_Button:t.text_Grey,onClick:t.onClick_Grey}),e.createElement(k,{icon_Right:t.icon_Main,text_Button:t.text_Main,onClick:t.onClick_Main})),Qt=o.div`
|
|
1115
1172
|
height: 1.5rem;
|
|
1116
1173
|
border-radius: 1rem;
|
|
1117
1174
|
margin-bottom: 2rem;
|
|
@@ -1120,13 +1177,13 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1120
1177
|
grid-template-columns: repeat( ${e=>e.array_Steps.length} ,1fr);
|
|
1121
1178
|
background: ${e=>e.theme.mid};
|
|
1122
1179
|
overflow: hidden;
|
|
1123
|
-
`,
|
|
1180
|
+
`,en=o.div`
|
|
1124
1181
|
background: ${e=>e.step===e.int_CurrentStep?"linear-gradient( to right, var(--main), transparent)":e.step<e.int_CurrentStep?"var(--main)":"transparent"};
|
|
1125
1182
|
height: 100%;
|
|
1126
1183
|
width: 100%;
|
|
1127
|
-
`,
|
|
1184
|
+
`,tn=t=>e.createElement(Qt,{array_Steps:t.array_Steps},t.array_Steps.map(((n,r)=>e.createElement(en,{step:r,int_CurrentStep:t.int_CurrentStep})))),nn=o.div`
|
|
1128
1185
|
|
|
1129
|
-
`,
|
|
1186
|
+
`,rn=o.div`
|
|
1130
1187
|
position: relative;
|
|
1131
1188
|
|
|
1132
1189
|
.Steps{
|
|
@@ -1151,21 +1208,21 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1151
1208
|
transform: translateX(-110%);
|
|
1152
1209
|
transition: all .4s ease;
|
|
1153
1210
|
}
|
|
1154
|
-
`,
|
|
1211
|
+
`,an=o.div`
|
|
1155
1212
|
padding: var(--smallDist);
|
|
1156
1213
|
border-radius: var(--normalRadius);
|
|
1157
1214
|
box-shadow: ${e=>e.theme.out};
|
|
1158
1215
|
background: ${e=>e.theme.low};
|
|
1159
|
-
`,
|
|
1216
|
+
`,on=t=>e.createElement(nn,null,e.createElement(tn,{array_Steps:t.array_Steps,int_CurrentStep:t.int_CurrentStep}),e.createElement(rn,null,t.array_Steps.map(((n,r)=>e.createElement(i,{in:t.int_CurrentStep===r,timeout:500,unmountOnExit:!0,classNames:"Steps"},e.createElement(an,{className:"Steps"},n)))))),cn=o.div`
|
|
1160
1217
|
position: fixed;
|
|
1161
1218
|
top: 0;
|
|
1162
1219
|
left: 0;
|
|
1163
1220
|
z-index: 500;
|
|
1164
1221
|
width: 100%;
|
|
1165
1222
|
height: 100vh;
|
|
1166
|
-
`,
|
|
1223
|
+
`,ln=o(cn)`
|
|
1167
1224
|
background: ${e=>e.theme.overlay};
|
|
1168
|
-
`,
|
|
1225
|
+
`,sn=o.div`
|
|
1169
1226
|
position: fixed;
|
|
1170
1227
|
top: 0;
|
|
1171
1228
|
right: 0;
|
|
@@ -1174,18 +1231,18 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1174
1231
|
height: 100%;
|
|
1175
1232
|
max-width: 60%;
|
|
1176
1233
|
background-color: ${e=>e.theme.background};
|
|
1177
|
-
`,
|
|
1234
|
+
`,dn=o.div`
|
|
1178
1235
|
display: flex;
|
|
1179
1236
|
align-items: center;
|
|
1180
1237
|
justify-content: space-between;
|
|
1181
1238
|
height: 6rem;
|
|
1182
1239
|
padding: 0 4rem;
|
|
1183
|
-
`,
|
|
1240
|
+
`,un=o.div`
|
|
1184
1241
|
padding: 2rem 4rem 10rem 4rem;
|
|
1185
1242
|
background: ${e=>e.theme.low};
|
|
1186
1243
|
height: 100%;
|
|
1187
1244
|
overflow: auto;
|
|
1188
|
-
`,
|
|
1245
|
+
`,mn=t=>e.createElement(cn,{className:"StoryBook_Fix1"},e.createElement(ln,{className:"StoryBook_Fix2",onClick:t.onClick_Close}),e.createElement(sn,null,e.createElement(dn,null,e.createElement("h3",null,t.text_Title),e.createElement(k,{text_Button:t.text_MainButton,icon_Right:"Check",variant_Size:"normal",onClick:t.onClick_Close})),e.createElement(un,null,t.children))),hn=o.div`
|
|
1189
1246
|
padding-top: 6rem;
|
|
1190
1247
|
position: relative;
|
|
1191
1248
|
|
|
@@ -1193,7 +1250,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1193
1250
|
height: calc(100vh - 6rem);
|
|
1194
1251
|
overflow: hidden;
|
|
1195
1252
|
}
|
|
1196
|
-
`,
|
|
1253
|
+
`,gn=o.div`
|
|
1197
1254
|
display: grid;
|
|
1198
1255
|
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
1199
1256
|
grid-gap: 4rem;
|
|
@@ -1202,7 +1259,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1202
1259
|
@media ${B} {
|
|
1203
1260
|
grid-template-columns: 1fr;
|
|
1204
1261
|
}
|
|
1205
|
-
`,
|
|
1262
|
+
`,pn=o.div`
|
|
1206
1263
|
display: grid;
|
|
1207
1264
|
grid-template-columns: 1fr 40%;
|
|
1208
1265
|
grid-gap: 4rem;
|
|
@@ -1211,23 +1268,23 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1211
1268
|
@media ${B} {
|
|
1212
1269
|
grid-template-columns: 1fr;
|
|
1213
1270
|
}
|
|
1214
|
-
`,
|
|
1271
|
+
`,vn=o.div`
|
|
1215
1272
|
padding: 0 4rem 2rem 13rem;
|
|
1216
|
-
`,
|
|
1273
|
+
`,yn=o.div`
|
|
1217
1274
|
width: 100%;
|
|
1218
|
-
`,
|
|
1275
|
+
`,_n=o.div`
|
|
1219
1276
|
width: 100%;
|
|
1220
1277
|
|
|
1221
1278
|
@media ${B} {
|
|
1222
1279
|
display: none;
|
|
1223
1280
|
}
|
|
1224
|
-
`,
|
|
1281
|
+
`,fn=o.div`
|
|
1225
1282
|
padding-top: 8rem;
|
|
1226
|
-
`,_n=o.div`
|
|
1227
|
-
padding: 2rem 0;
|
|
1228
1283
|
`,En=o.div`
|
|
1284
|
+
padding: 2rem 0;
|
|
1285
|
+
`,xn=o.div`
|
|
1229
1286
|
|
|
1230
|
-
`,
|
|
1287
|
+
`,kn=o.div`
|
|
1231
1288
|
position: relative;
|
|
1232
1289
|
|
|
1233
1290
|
header{
|
|
@@ -1236,11 +1293,11 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1236
1293
|
}
|
|
1237
1294
|
|
|
1238
1295
|
|
|
1239
|
-
`,
|
|
1296
|
+
`,wn=o.div`
|
|
1240
1297
|
padding-left: 4rem;
|
|
1241
|
-
`,
|
|
1298
|
+
`,Mn=o.div`
|
|
1242
1299
|
padding-right: 4rem;
|
|
1243
|
-
`,
|
|
1300
|
+
`,bn=o(gn)`
|
|
1244
1301
|
padding: 0;
|
|
1245
1302
|
|
|
1246
1303
|
aside{
|
|
@@ -1291,20 +1348,20 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1291
1348
|
flex-direction: column;
|
|
1292
1349
|
gap: 4rem;
|
|
1293
1350
|
}
|
|
1294
|
-
`,
|
|
1351
|
+
`,Cn=o.div`
|
|
1295
1352
|
padding: 10rem 1rem 2rem 1rem;
|
|
1296
1353
|
text-align: center;
|
|
1297
|
-
`,
|
|
1354
|
+
`,Ln=o.div`
|
|
1298
1355
|
display: flex;
|
|
1299
1356
|
align-items: center;
|
|
1300
1357
|
gap: 1rem;
|
|
1301
|
-
`,
|
|
1358
|
+
`,Sn=o.div`
|
|
1302
1359
|
display: grid;
|
|
1303
1360
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1304
1361
|
align-items: flex-start;
|
|
1305
1362
|
grid-gap: 2rem;
|
|
1306
1363
|
|
|
1307
|
-
@media ${
|
|
1364
|
+
@media ${N}{
|
|
1308
1365
|
grid-template-columns: 1fr 1fr;
|
|
1309
1366
|
}
|
|
1310
1367
|
|
|
@@ -1319,9 +1376,9 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1319
1376
|
@media ${T}{
|
|
1320
1377
|
grid-template-columns: 1fr;
|
|
1321
1378
|
}
|
|
1322
|
-
`,
|
|
1379
|
+
`,An=o(Sn)`
|
|
1323
1380
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1324
|
-
`,
|
|
1381
|
+
`,In={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)"},$n={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)"},Tn=o.div`
|
|
1325
1382
|
width: 100%;
|
|
1326
1383
|
min-height: 100vh;
|
|
1327
1384
|
background: ${e=>e.theme.background};
|
|
@@ -1344,7 +1401,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1344
1401
|
transition-property: background;
|
|
1345
1402
|
transition-duration: .5s;
|
|
1346
1403
|
}
|
|
1347
|
-
|
|
1404
|
+
`,Rn=o.div`
|
|
1348
1405
|
height: 1.5rem;
|
|
1349
1406
|
border-radius: 1rem;
|
|
1350
1407
|
margin-bottom: 2rem;
|
|
@@ -1353,15 +1410,15 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1353
1410
|
grid-template-columns: repeat( ${e=>e.array_Steps} ,1fr);
|
|
1354
1411
|
background: ${e=>e.theme.mid};
|
|
1355
1412
|
overflow: hidden;
|
|
1356
|
-
`,
|
|
1413
|
+
`,Bn=o.div`
|
|
1357
1414
|
background: linear-gradient( to right, var(--main), ${e=>e.theme.mid});
|
|
1358
1415
|
height: 100%;
|
|
1359
1416
|
width: 100%;
|
|
1360
|
-
`,
|
|
1417
|
+
`,Nn=o.div`
|
|
1361
1418
|
background: var(--main);
|
|
1362
1419
|
height: 100%;
|
|
1363
1420
|
width: 100%;
|
|
1364
|
-
`,
|
|
1421
|
+
`,Zn=o.div`
|
|
1365
1422
|
position: relative;
|
|
1366
1423
|
|
|
1367
1424
|
.Steps{
|
|
@@ -1386,26 +1443,26 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1386
1443
|
transform: translateX(-110%);
|
|
1387
1444
|
transition: all .4s ease;
|
|
1388
1445
|
}
|
|
1389
|
-
`,
|
|
1446
|
+
`,zn=o.div`
|
|
1390
1447
|
padding: var(--smallDist);
|
|
1391
1448
|
border-radius: var(--normalRadius);
|
|
1392
1449
|
box-shadow: ${e=>e.theme.out};
|
|
1393
1450
|
background: ${e=>e.theme.low};
|
|
1394
|
-
`,
|
|
1451
|
+
`,Pn=o.div`
|
|
1395
1452
|
display: flex;
|
|
1396
1453
|
align-items: center;
|
|
1397
1454
|
justify-content: space-between;
|
|
1398
1455
|
padding: 4rem 0 2rem 0;
|
|
1399
|
-
`,
|
|
1456
|
+
`,Hn=o.div`
|
|
1400
1457
|
position: fixed;
|
|
1401
1458
|
top: 0;
|
|
1402
1459
|
left: 0;
|
|
1403
1460
|
z-index: 500;
|
|
1404
1461
|
width: 100%;
|
|
1405
1462
|
height: 100vh;
|
|
1406
|
-
`,
|
|
1463
|
+
`,Gn=o(Hn)`
|
|
1407
1464
|
background: ${e=>e.theme.overlay};
|
|
1408
|
-
`,
|
|
1465
|
+
`,Fn=o.div`
|
|
1409
1466
|
position: fixed;
|
|
1410
1467
|
top: 0;
|
|
1411
1468
|
right: 0;
|
|
@@ -1414,28 +1471,28 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1414
1471
|
height: 100%;
|
|
1415
1472
|
max-width: 60%;
|
|
1416
1473
|
background-color: ${e=>e.theme.background};
|
|
1417
|
-
`,
|
|
1474
|
+
`,Dn=o.div`
|
|
1418
1475
|
display: flex;
|
|
1419
1476
|
align-items: center;
|
|
1420
1477
|
justify-content: space-between;
|
|
1421
1478
|
height: 6rem;
|
|
1422
1479
|
padding: 0 4rem;
|
|
1423
|
-
`,
|
|
1480
|
+
`,Vn=o.div`
|
|
1424
1481
|
padding: 2rem 4rem 10rem 4rem;
|
|
1425
1482
|
background: ${e=>e.theme.low};
|
|
1426
1483
|
height: 100%;
|
|
1427
1484
|
overflow: auto;
|
|
1428
|
-
`,
|
|
1485
|
+
`,Kn=o.div`
|
|
1429
1486
|
display: grid;
|
|
1430
1487
|
grid-template-columns: 1fr 1fr;
|
|
1431
1488
|
grid-gap: 2rem;
|
|
1432
|
-
`,
|
|
1489
|
+
`,jn=o.div`
|
|
1433
1490
|
display: grid;
|
|
1434
1491
|
grid-gap: 2rem;
|
|
1435
|
-
`,
|
|
1492
|
+
`,qn=o(jn)`
|
|
1436
1493
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1437
|
-
`,
|
|
1494
|
+
`,On=o(jn)`
|
|
1438
1495
|
grid-template-columns: 1fr 1fr;
|
|
1439
|
-
`,
|
|
1496
|
+
`,Wn=o(jn)`
|
|
1440
1497
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1441
|
-
`;export{pe as Builder_,
|
|
1498
|
+
`;export{pe as Builder_,On as CardsForty,Wn as CardsSixty,qn as CardsTools,fe as Checkbox_,H as Confirmation_,s as Cta_,S as Delete_Plain,ne as Dropdown_,m as Edit_,_t as Elastic_Search,g as Focus_,v as Focus_Plain,U as Form,Y as FormGroup,X as FormInput,J as FormLabel,Q as FormList,_ as Grey_,E as Grey_Link,ie as HamContext,d as IconSvg,ee as Input_,ue as Input_Phone,he as Input_Phone_Register,re as LangContext,k as Main_,M as Main_Plain,oe as MenuContext,qt as Nav_,$ as On_Click_Card,hn as Page,yn as PageAlwaysVisible,Sn as PageCards,_n as PageDesktopOnly,fn as PageDesktopPadding,gn as PageForty,xn as PageSingle,kn as PageSingleHeader,Mn as PageSingleRight,wn as PageSingleleft,pn as PageSixty,bn as PageSub,Ln as PageSubActions,Cn as PageSubTitle,En as PageTitle,vn as PageTools,An as PageToolsCards,ke as Radio_,ae as RegionContext,Wt as Sidebar_,Xt as Sidebar_Box,Hn as Slider,Vn as SliderContainer,le as SliderContext,Kn as SliderGrid,Gn as SliderOverlay,Dn as SliderTitle,Fn as SliderWrapper,mn as Slider_,Rn as Steps,Pn as StepsActions,Nn as StepsComplete,Zn as StepsContainer,Bn as StepsCurrent,zn as StepsWrapper,on as Steps_,Yt as Steps_Actions,be as Textarea_,Tn as Theme,ce as ThemeContext,$n as ThemeDark,In as ThemeLight,C as White_Plain};
|
package/dist/index.js
CHANGED
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
background: var(--mainLight);
|
|
156
156
|
border: 1px solid var(--mainLight);
|
|
157
157
|
}
|
|
158
|
-
`,v=e=>r.default.createElement(p,{className:e.className,variant_Size:e.variant_Size,onClick:e.onClick},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null),
|
|
158
|
+
`,v=e=>r.default.createElement(p,{className:e.className,variant_Size:e.variant_Size,onClick:e.onClick},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null),y=o.default(l)`
|
|
159
159
|
background: transparent;
|
|
160
160
|
border: 1px solid transparent;
|
|
161
161
|
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
fill: var(--mainLight);
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
`,
|
|
180
|
+
`,_=e=>r.default.createElement(y,{noPadding:e.noPadding,variant_Size:e.variant_Size,onClick:e.onClick},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null),x=o.default(l)`
|
|
181
181
|
background: transparent;
|
|
182
182
|
border: 1px solid transparent;
|
|
183
183
|
|
|
@@ -748,7 +748,7 @@
|
|
|
748
748
|
span{
|
|
749
749
|
color: ${e=>e.capped?"var(--error)":"inherit"};
|
|
750
750
|
}
|
|
751
|
-
`;function he(e){return Array.isArray?Array.isArray(e):"[object Array]"===xe(e)}function ge(e){return"string"==typeof e}function fe(e){return"number"==typeof e}function pe(e){return!0===e||!1===e||function(e){return ve(e)&&null!==e}(e)&&"[object Boolean]"==xe(e)}function ve(e){return"object"==typeof e}function _e(e){return null!=e}function ye(e){return!e.trim().length}function xe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Ee=Object.prototype.hasOwnProperty;class ke{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let a=we(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 we(e){let t=null,a=null,n=null,r=1,o=null;if(ge(e)||he(e))n=e,t=Me(e),a=Ce(e);else{if(!Ee.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const l=e.name;if(n=l,Ee.call(e,"weight")&&(r=e.weight,r<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(l));t=Me(l),a=Ce(l),o=e.getFn}return{path:t,id:a,weight:r,src:n,getFn:o}}function Me(e){return he(e)?e:e.split(".")}function Ce(e){return he(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 a=[],n=!1;const r=(e,t,o)=>{if(_e(e))if(t[o]){const l=e[t[o]];if(!_e(l))return;if(o===t.length-1&&(ge(l)||fe(l)||pe(l)))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)}(l));else if(he(l)){n=!0;for(let e=0,a=l.length;e<a;e+=1)r(l[e],t,o+1)}else t.length&&r(l,t,o+1)}else a.push(e)};return r(e,ge(t)?t.split("."):t,0),n?a:a[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Le=/[^ ]+/g;class Se{constructor({getFn:e=be.getFn,fieldNormWeight:t=be.fieldNormWeight}={}){this.norm=function(e=1,t=3){const a=new Map,n=Math.pow(10,t);return{get(t){const r=t.match(Le).length;if(a.has(r))return a.get(r);const o=1/Math.pow(r,.5*e),l=parseFloat(Math.round(o*n)/n);return a.set(r,l),l},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,ge(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();ge(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(!_e(e)||ye(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(_e(r))if(he(r)){let e=[];const t=[{nestedArrIndex:-1,value:r}];for(;t.length;){const{nestedArrIndex:a,value:n}=t.pop();if(_e(n))if(ge(n)&&!ye(n)){let t={v:n,i:a,n:this.norm.get(n)};e.push(t)}else he(n)&&n.forEach(((e,a)=>{t.push({nestedArrIndex:a,value:e})}))}a.$[n]=e}else if(ge(r)&&!ye(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 Ae(e,t,{getFn:a=be.getFn,fieldNormWeight:n=be.fieldNormWeight}={}){const r=new Se({getFn:a,fieldNormWeight:n});return r.setKeys(e.map(we)),r.setSources(t),r.create(),r}function Ie(e,{errors:t=0,currentLocation:a=0,expectedLocation:n=0,distance:r=be.distance,ignoreLocation:o=be.ignoreLocation}={}){const l=t/e.length;if(o)return l;const i=Math.abs(n-a);return r?l+i/r:i?1:l}function $e(e,t,a,{location:n=be.location,distance:r=be.distance,threshold:o=be.threshold,findAllMatches:l=be.findAllMatches,minMatchCharLength:i=be.minMatchCharLength,includeMatches:c=be.includeMatches,ignoreLocation:s=be.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=o,g=m;const f=i>1||c,p=f?Array(u):[];let v;for(;(v=e.indexOf(t,g))>-1;){let e=Ie(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=1,x=d+u;const E=1<<d-1;for(let n=0;n<d;n+=1){let o=0,i=x;for(;o<i;){Ie(t,{errors:n,currentLocation:m+i,expectedLocation:m,distance:r,ignoreLocation:s})<=h?o=i:x=i,i=Math.floor((x-o)/2+o)}x=i;let c=Math.max(1,m-i+1),v=l?u:Math.min(m+i,u)+d,k=Array(v+2);k[v+1]=(1<<n)-1;for(let o=v;o>=c;o-=1){let l=o-1,i=a[e.charAt(l)];if(f&&(p[l]=+!!i),k[o]=(k[o+1]<<1|1)&i,n&&(k[o]|=(_[o+1]|_[o])<<1|1|_[o+1]),k[o]&E&&(y=Ie(t,{errors:n,currentLocation:l,expectedLocation:m,distance:r,ignoreLocation:s}),y<=h)){if(h=y,g=l,g<=m)break;c=Math.max(1,2*m-g)}}if(Ie(t,{errors:n+1,currentLocation:m,expectedLocation:m,distance:r,ignoreLocation:s})>h)break;_=k}const k={isMatch:g>=0,score:Math.max(.001,y)};if(f){const e=function(e=[],t=be.minMatchCharLength){let a=[],n=-1,r=-1,o=0;for(let l=e.length;o<l;o+=1){let l=e[o];l&&-1===n?n=o:l||-1===n||(r=o-1,r-n+1>=t&&a.push([n,r]),n=-1)}return e[o-1]&&o-n>=t&&a.push([n,o-1]),a}(p,i);e.length?c&&(k.indices=e):k.isMatch=!1}return k}function Te(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 Re{constructor(e,{location:t=be.location,threshold:a=be.threshold,distance:n=be.distance,includeMatches:r=be.includeMatches,findAllMatches:o=be.findAllMatches,minMatchCharLength:l=be.minMatchCharLength,isCaseSensitive:i=be.isCaseSensitive,ignoreLocation:c=be.ignoreLocation}={}){if(this.options={location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:o,minMatchCharLength:l,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:Te(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:o,findAllMatches:l,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}=$e(e,t,m,{location:n+h,distance:r,threshold:o,findAllMatches:l,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 Be{constructor(e){this.pattern=e}static isMultiMatch(e){return Pe(e,this.multiRegex)}static isSingleMatch(e){return Pe(e,this.singleRegex)}search(){}}function Pe(e,t){const a=e.match(t);return a?a[1]:null}class Ne extends Be{constructor(e,{location:t=be.location,threshold:a=be.threshold,distance:n=be.distance,includeMatches:r=be.includeMatches,findAllMatches:o=be.findAllMatches,minMatchCharLength:l=be.minMatchCharLength,isCaseSensitive:i=be.isCaseSensitive,ignoreLocation:c=be.ignoreLocation}={}){super(e),this._bitapSearch=new Re(e,{location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:i,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ze extends Be{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 o=!!n.length;return{isMatch:o,score:o?0:1,indices:n}}}const ze=[class extends Be{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Ze,class extends Be{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 Be{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 Be{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 Be{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 Be{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]}}},Ne],Ge=ze.length,He=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Fe=new Set([Ne.type,Ze.type]);class De{constructor(e,{isCaseSensitive:t=be.isCaseSensitive,includeMatches:a=be.includeMatches,minMatchCharLength:n=be.minMatchCharLength,ignoreLocation:r=be.ignoreLocation,findAllMatches:o=be.findAllMatches,location:l=be.location,threshold:i=be.threshold,distance:c=be.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:a,minMatchCharLength:n,findAllMatches:o,ignoreLocation:r,location:l,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(He).filter((e=>e&&!!e.trim())),n=[];for(let e=0,r=a.length;e<r;e+=1){const r=a[e];let o=!1,l=-1;for(;!o&&++l<Ge;){const e=ze[l];let a=e.isMultiMatch(r);a&&(n.push(new e(a,t)),o=!0)}if(!o)for(l=-1;++l<Ge;){const e=ze[l];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,o=[],l=0;for(let n=0,i=t.length;n<i;n+=1){const i=t[n];o.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){l=0,r=0,o.length=0;break}if(r+=1,l+=d,a){const e=n.constructor.type;Fe.has(e)?o=[...o,...s]:o.push(s)}}if(r){let e={isMatch:!0,score:l/r};return a&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const Ve=[];function je(e,t){for(let a=0,n=Ve.length;a<n;a+=1){let n=Ve[a];if(n.condition(e,t))return new n(e,t)}return new Re(e,t)}const Ke="$and",qe="$or",Oe="$path",We="$val",Ue=e=>!(!e[Ke]&&!e[qe]),Xe=e=>({[Ke]:Object.keys(e).map((t=>({[t]:e[t]})))});function Je(e,t,{auto:a=!0}={}){const n=e=>{let r=Object.keys(e);const o=(e=>!!e[Oe])(e);if(!o&&r.length>1&&!Ue(e))return n(Xe(e));if((e=>!he(e)&&ve(e)&&!Ue(e))(e)){const n=o?e[Oe]:r[0],l=o?e[We]:e[n];if(!ge(l))throw new Error((e=>`Invalid value for key ${e}`)(n));const i={keyId:Ce(n),pattern:l};return a&&(i.searcher=je(l,t)),i}let l={children:[],operator:r[0]};return r.forEach((t=>{const a=e[t];he(a)&&a.forEach((e=>{l.children.push(n(e))}))})),l};return Ue(e)||(e=Xe(e)),n(e)}function Ye(e,t){const a=e.matches;t.matches=[],_e(a)&&a.forEach((e=>{if(!_e(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 Qe(e,t){t.score=e.score}class et{constructor(e,t={},a){this.options={...be,...t},this.options.useExtendedSearch,this._keyStore=new ke(this.options.keys),this.setCollection(e,a)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Se))throw new Error("Incorrect 'index' type");this._myIndex=t||Ae(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){_e(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:o,ignoreFieldNorm:l}=this.options;let i=ge(e)?ge(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=be.ignoreFieldNorm}){e.forEach((e=>{let a=1;e.matches.forEach((({key:e,norm:n,score:r})=>{const o=e?e.weight:null;a*=Math.pow(0===r&&o?Number.EPSILON:r,(o||1)*(t?1:n))})),e.score=a}))}(i,{ignoreFieldNorm:l}),r&&i.sort(o),fe(t)&&t>-1&&(i=i.slice(0,t)),function(e,t,{includeMatches:a=be.includeMatches,includeScore:n=be.includeScore}={}){const r=[];return a&&r.push(Ye),n&&r.push(Qe),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=je(e,this.options),{records:a}=this._myIndex,n=[];return a.forEach((({v:e,i:a,n:r})=>{if(!_e(e))return;const{isMatch:o,score:l,indices:i}=t.searchIn(e);o&&n.push({item:e,idx:a,matches:[{score:l,value:e,norm:r,indices:i}]})})),n}_searchLogical(e){const t=Je(e,this.options),a=(e,t,n)=>{if(!e.children){const{keyId:a,searcher:r}=e,o=this._findMatches({key:this._keyStore.get(a),value:this._myIndex.getValueForItemAtKeyId(t,a),searcher:r});return o&&o.length?[{idx:n,item:t,matches:o}]:[]}const r=[];for(let o=0,l=e.children.length;o<l;o+=1){const l=e.children[o],i=a(l,t,n);if(i.length)r.push(...i);else if(e.operator===Ke)return[]}return r},n=this._myIndex.records,r={},o=[];return n.forEach((({$:e,i:n})=>{if(_e(e)){let l=a(t,e,n);l.length&&(r[n]||(r[n]={idx:n,item:e,matches:[]},o.push(r[n])),l.forEach((({matches:e})=>{r[n].matches.push(...e)})))}})),o}_searchObjectList(e){const t=je(e,this.options),{keys:a,records:n}=this._myIndex,r=[];return n.forEach((({$:e,i:n})=>{if(!_e(e))return;let o=[];a.forEach(((a,n)=>{o.push(...this._findMatches({key:a,value:e[n],searcher:t}))})),o.length&&r.push({idx:n,item:e,matches:o})})),r}_findMatches({key:e,value:t,searcher:a}){if(!_e(t))return[];let n=[];if(he(t))t.forEach((({v:t,i:r,n:o})=>{if(!_e(t))return;const{isMatch:l,score:i,indices:c}=a.searchIn(t);l&&n.push({score:i,key:e,value:t,idx:r,norm:o,indices:c})}));else{const{v:r,n:o}=t,{isMatch:l,score:i,indices:c}=a.searchIn(r);l&&n.push({score:i,key:e,value:r,norm:o,indices:c})}return n}}et.version="6.6.2",et.createIndex=Ae,et.parseIndex=function(e,{getFn:t=be.getFn,fieldNormWeight:a=be.fieldNormWeight}={}){const{keys:n,records:r}=e,o=new Se({getFn:t,fieldNormWeight:a});return o.setKeys(n),o.setIndexRecords(r),o},et.config=be,et.parseQuery=Je,function(...e){Ve.push(...e)}(De);var tt=require("greek-utils");const at=o.default(K)`
|
|
751
|
+
`;function he(e){return Array.isArray?Array.isArray(e):"[object Array]"===xe(e)}function ge(e){return"string"==typeof e}function fe(e){return"number"==typeof e}function pe(e){return!0===e||!1===e||function(e){return ve(e)&&null!==e}(e)&&"[object Boolean]"==xe(e)}function ve(e){return"object"==typeof e}function ye(e){return null!=e}function _e(e){return!e.trim().length}function xe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Ee=Object.prototype.hasOwnProperty;class ke{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let a=we(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 we(e){let t=null,a=null,n=null,r=1,o=null;if(ge(e)||he(e))n=e,t=Me(e),a=Ce(e);else{if(!Ee.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const l=e.name;if(n=l,Ee.call(e,"weight")&&(r=e.weight,r<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(l));t=Me(l),a=Ce(l),o=e.getFn}return{path:t,id:a,weight:r,src:n,getFn:o}}function Me(e){return he(e)?e:e.split(".")}function Ce(e){return he(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 a=[],n=!1;const r=(e,t,o)=>{if(ye(e))if(t[o]){const l=e[t[o]];if(!ye(l))return;if(o===t.length-1&&(ge(l)||fe(l)||pe(l)))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)}(l));else if(he(l)){n=!0;for(let e=0,a=l.length;e<a;e+=1)r(l[e],t,o+1)}else t.length&&r(l,t,o+1)}else a.push(e)};return r(e,ge(t)?t.split("."):t,0),n?a:a[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Le=/[^ ]+/g;class Se{constructor({getFn:e=be.getFn,fieldNormWeight:t=be.fieldNormWeight}={}){this.norm=function(e=1,t=3){const a=new Map,n=Math.pow(10,t);return{get(t){const r=t.match(Le).length;if(a.has(r))return a.get(r);const o=1/Math.pow(r,.5*e),l=parseFloat(Math.round(o*n)/n);return a.set(r,l),l},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,ge(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();ge(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(!ye(e)||_e(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(ye(r))if(he(r)){let e=[];const t=[{nestedArrIndex:-1,value:r}];for(;t.length;){const{nestedArrIndex:a,value:n}=t.pop();if(ye(n))if(ge(n)&&!_e(n)){let t={v:n,i:a,n:this.norm.get(n)};e.push(t)}else he(n)&&n.forEach(((e,a)=>{t.push({nestedArrIndex:a,value:e})}))}a.$[n]=e}else if(ge(r)&&!_e(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 Ae(e,t,{getFn:a=be.getFn,fieldNormWeight:n=be.fieldNormWeight}={}){const r=new Se({getFn:a,fieldNormWeight:n});return r.setKeys(e.map(we)),r.setSources(t),r.create(),r}function Ie(e,{errors:t=0,currentLocation:a=0,expectedLocation:n=0,distance:r=be.distance,ignoreLocation:o=be.ignoreLocation}={}){const l=t/e.length;if(o)return l;const i=Math.abs(n-a);return r?l+i/r:i?1:l}function $e(e,t,a,{location:n=be.location,distance:r=be.distance,threshold:o=be.threshold,findAllMatches:l=be.findAllMatches,minMatchCharLength:i=be.minMatchCharLength,includeMatches:c=be.includeMatches,ignoreLocation:s=be.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=o,g=m;const f=i>1||c,p=f?Array(u):[];let v;for(;(v=e.indexOf(t,g))>-1;){let e=Ie(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=[],_=1,x=d+u;const E=1<<d-1;for(let n=0;n<d;n+=1){let o=0,i=x;for(;o<i;){Ie(t,{errors:n,currentLocation:m+i,expectedLocation:m,distance:r,ignoreLocation:s})<=h?o=i:x=i,i=Math.floor((x-o)/2+o)}x=i;let c=Math.max(1,m-i+1),v=l?u:Math.min(m+i,u)+d,k=Array(v+2);k[v+1]=(1<<n)-1;for(let o=v;o>=c;o-=1){let l=o-1,i=a[e.charAt(l)];if(f&&(p[l]=+!!i),k[o]=(k[o+1]<<1|1)&i,n&&(k[o]|=(y[o+1]|y[o])<<1|1|y[o+1]),k[o]&E&&(_=Ie(t,{errors:n,currentLocation:l,expectedLocation:m,distance:r,ignoreLocation:s}),_<=h)){if(h=_,g=l,g<=m)break;c=Math.max(1,2*m-g)}}if(Ie(t,{errors:n+1,currentLocation:m,expectedLocation:m,distance:r,ignoreLocation:s})>h)break;y=k}const k={isMatch:g>=0,score:Math.max(.001,_)};if(f){const e=function(e=[],t=be.minMatchCharLength){let a=[],n=-1,r=-1,o=0;for(let l=e.length;o<l;o+=1){let l=e[o];l&&-1===n?n=o:l||-1===n||(r=o-1,r-n+1>=t&&a.push([n,r]),n=-1)}return e[o-1]&&o-n>=t&&a.push([n,o-1]),a}(p,i);e.length?c&&(k.indices=e):k.isMatch=!1}return k}function Te(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 Re{constructor(e,{location:t=be.location,threshold:a=be.threshold,distance:n=be.distance,includeMatches:r=be.includeMatches,findAllMatches:o=be.findAllMatches,minMatchCharLength:l=be.minMatchCharLength,isCaseSensitive:i=be.isCaseSensitive,ignoreLocation:c=be.ignoreLocation}={}){if(this.options={location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:o,minMatchCharLength:l,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:Te(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:o,findAllMatches:l,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}=$e(e,t,m,{location:n+h,distance:r,threshold:o,findAllMatches:l,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 Be{constructor(e){this.pattern=e}static isMultiMatch(e){return Pe(e,this.multiRegex)}static isSingleMatch(e){return Pe(e,this.singleRegex)}search(){}}function Pe(e,t){const a=e.match(t);return a?a[1]:null}class Ne extends Be{constructor(e,{location:t=be.location,threshold:a=be.threshold,distance:n=be.distance,includeMatches:r=be.includeMatches,findAllMatches:o=be.findAllMatches,minMatchCharLength:l=be.minMatchCharLength,isCaseSensitive:i=be.isCaseSensitive,ignoreLocation:c=be.ignoreLocation}={}){super(e),this._bitapSearch=new Re(e,{location:t,threshold:a,distance:n,includeMatches:r,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:i,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ze extends Be{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 o=!!n.length;return{isMatch:o,score:o?0:1,indices:n}}}const ze=[class extends Be{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Ze,class extends Be{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 Be{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 Be{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 Be{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 Be{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]}}},Ne],Ge=ze.length,He=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Fe=new Set([Ne.type,Ze.type]);class De{constructor(e,{isCaseSensitive:t=be.isCaseSensitive,includeMatches:a=be.includeMatches,minMatchCharLength:n=be.minMatchCharLength,ignoreLocation:r=be.ignoreLocation,findAllMatches:o=be.findAllMatches,location:l=be.location,threshold:i=be.threshold,distance:c=be.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:a,minMatchCharLength:n,findAllMatches:o,ignoreLocation:r,location:l,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(He).filter((e=>e&&!!e.trim())),n=[];for(let e=0,r=a.length;e<r;e+=1){const r=a[e];let o=!1,l=-1;for(;!o&&++l<Ge;){const e=ze[l];let a=e.isMultiMatch(r);a&&(n.push(new e(a,t)),o=!0)}if(!o)for(l=-1;++l<Ge;){const e=ze[l];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,o=[],l=0;for(let n=0,i=t.length;n<i;n+=1){const i=t[n];o.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){l=0,r=0,o.length=0;break}if(r+=1,l+=d,a){const e=n.constructor.type;Fe.has(e)?o=[...o,...s]:o.push(s)}}if(r){let e={isMatch:!0,score:l/r};return a&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const Ve=[];function je(e,t){for(let a=0,n=Ve.length;a<n;a+=1){let n=Ve[a];if(n.condition(e,t))return new n(e,t)}return new Re(e,t)}const Ke="$and",qe="$or",Oe="$path",We="$val",Ue=e=>!(!e[Ke]&&!e[qe]),Xe=e=>({[Ke]:Object.keys(e).map((t=>({[t]:e[t]})))});function Je(e,t,{auto:a=!0}={}){const n=e=>{let r=Object.keys(e);const o=(e=>!!e[Oe])(e);if(!o&&r.length>1&&!Ue(e))return n(Xe(e));if((e=>!he(e)&&ve(e)&&!Ue(e))(e)){const n=o?e[Oe]:r[0],l=o?e[We]:e[n];if(!ge(l))throw new Error((e=>`Invalid value for key ${e}`)(n));const i={keyId:Ce(n),pattern:l};return a&&(i.searcher=je(l,t)),i}let l={children:[],operator:r[0]};return r.forEach((t=>{const a=e[t];he(a)&&a.forEach((e=>{l.children.push(n(e))}))})),l};return Ue(e)||(e=Xe(e)),n(e)}function Ye(e,t){const a=e.matches;t.matches=[],ye(a)&&a.forEach((e=>{if(!ye(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 Qe(e,t){t.score=e.score}class et{constructor(e,t={},a){this.options={...be,...t},this.options.useExtendedSearch,this._keyStore=new ke(this.options.keys),this.setCollection(e,a)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Se))throw new Error("Incorrect 'index' type");this._myIndex=t||Ae(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){ye(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:o,ignoreFieldNorm:l}=this.options;let i=ge(e)?ge(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=be.ignoreFieldNorm}){e.forEach((e=>{let a=1;e.matches.forEach((({key:e,norm:n,score:r})=>{const o=e?e.weight:null;a*=Math.pow(0===r&&o?Number.EPSILON:r,(o||1)*(t?1:n))})),e.score=a}))}(i,{ignoreFieldNorm:l}),r&&i.sort(o),fe(t)&&t>-1&&(i=i.slice(0,t)),function(e,t,{includeMatches:a=be.includeMatches,includeScore:n=be.includeScore}={}){const r=[];return a&&r.push(Ye),n&&r.push(Qe),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=je(e,this.options),{records:a}=this._myIndex,n=[];return a.forEach((({v:e,i:a,n:r})=>{if(!ye(e))return;const{isMatch:o,score:l,indices:i}=t.searchIn(e);o&&n.push({item:e,idx:a,matches:[{score:l,value:e,norm:r,indices:i}]})})),n}_searchLogical(e){const t=Je(e,this.options),a=(e,t,n)=>{if(!e.children){const{keyId:a,searcher:r}=e,o=this._findMatches({key:this._keyStore.get(a),value:this._myIndex.getValueForItemAtKeyId(t,a),searcher:r});return o&&o.length?[{idx:n,item:t,matches:o}]:[]}const r=[];for(let o=0,l=e.children.length;o<l;o+=1){const l=e.children[o],i=a(l,t,n);if(i.length)r.push(...i);else if(e.operator===Ke)return[]}return r},n=this._myIndex.records,r={},o=[];return n.forEach((({$:e,i:n})=>{if(ye(e)){let l=a(t,e,n);l.length&&(r[n]||(r[n]={idx:n,item:e,matches:[]},o.push(r[n])),l.forEach((({matches:e})=>{r[n].matches.push(...e)})))}})),o}_searchObjectList(e){const t=je(e,this.options),{keys:a,records:n}=this._myIndex,r=[];return n.forEach((({$:e,i:n})=>{if(!ye(e))return;let o=[];a.forEach(((a,n)=>{o.push(...this._findMatches({key:a,value:e[n],searcher:t}))})),o.length&&r.push({idx:n,item:e,matches:o})})),r}_findMatches({key:e,value:t,searcher:a}){if(!ye(t))return[];let n=[];if(he(t))t.forEach((({v:t,i:r,n:o})=>{if(!ye(t))return;const{isMatch:l,score:i,indices:c}=a.searchIn(t);l&&n.push({score:i,key:e,value:t,idx:r,norm:o,indices:c})}));else{const{v:r,n:o}=t,{isMatch:l,score:i,indices:c}=a.searchIn(r);l&&n.push({score:i,key:e,value:r,norm:o,indices:c})}return n}}et.version="6.6.2",et.createIndex=Ae,et.parseIndex=function(e,{getFn:t=be.getFn,fieldNormWeight:a=be.fieldNormWeight}={}){const{keys:n,records:r}=e,o=new Se({getFn:t,fieldNormWeight:a});return o.setKeys(n),o.setIndexRecords(r),o},et.config=be,et.parseQuery=Je,function(...e){Ve.push(...e)}(De);var tt=require("greek-utils");const at=o.default(K)`
|
|
752
752
|
|
|
753
753
|
ul{
|
|
754
754
|
margin-top: 1rem;
|
|
@@ -977,7 +977,7 @@
|
|
|
977
977
|
@media ${L}{
|
|
978
978
|
display: block !important;
|
|
979
979
|
}
|
|
980
|
-
`,vt=t=>{const{setActiveMenu:a}=e.useContext(Y);return r.default.createElement(ut,null,r.default.createElement(mt,{onClick:()=>a("Main")},r.default.createElement(s,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Language)),r.default.createElement(ht,{onClick:t.onClick_Greek_Language},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"})),r.default.createElement("h5",null,"Ελληνικά"))),r.default.createElement(ht,{onClick:t.onClick_English_Language},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),r.default.createElement("h5",null,"English"))),r.default.createElement(ht,{onClick:t.onClick_German_Language},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"})),r.default.createElement("h5",null,"Deutsch"))))},
|
|
980
|
+
`,vt=t=>{const{setActiveMenu:a}=e.useContext(Y);return r.default.createElement(ut,null,r.default.createElement(mt,{onClick:()=>a("Main")},r.default.createElement(s,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Language)),r.default.createElement(ht,{onClick:t.onClick_Greek_Language},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"})),r.default.createElement("h5",null,"Ελληνικά"))),r.default.createElement(ht,{onClick:t.onClick_English_Language},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),r.default.createElement("h5",null,"English"))),r.default.createElement(ht,{onClick:t.onClick_German_Language},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"})),r.default.createElement("h5",null,"Deutsch"))))},yt=o.default.div`
|
|
981
981
|
display: flex;
|
|
982
982
|
align-items: center;
|
|
983
983
|
gap: .5rem;
|
|
@@ -1017,13 +1017,13 @@
|
|
|
1017
1017
|
transform: translateX(2.3rem);
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
|
-
`,
|
|
1020
|
+
`,_t=t=>{const{theme:a,setTheme:n}=e.useContext(ee);return r.default.createElement(yt,{onClick:()=>n("dark"===a?"light":"dark")},r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Sun"})),r.default.createElement("section",null,r.default.createElement("div",{className:"dark"===a?"Dark":"Light"})),r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Moon"})))},xt=o.default.div`
|
|
1021
1021
|
display: flex;
|
|
1022
1022
|
align-items: center;
|
|
1023
1023
|
justify-content: space-between;
|
|
1024
1024
|
gap: 1rem;
|
|
1025
1025
|
padding: var(--normalPads);
|
|
1026
|
-
`,Et=t=>{const{region:a}=e.useContext(J),{setHamState:n}=e.useContext(Q),{setActiveMenu:o}=e.useContext(Y),{language:l}=e.useContext(X);return r.default.createElement(ut,null,r.default.createElement(mt,{onClick:()=>n(!1)},r.default.createElement(s,{Icon:"Xicon"}),r.default.createElement("h4",null,t.text_Title_Main)),r.default.createElement(xt,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(yt,null)),"Protected"===t.role?r.default.createElement(pt,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Account_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),r.default.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?r.default.createElement(ht,{onClick:t.onClick_Settings_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Settings"})),r.default.createElement("h5",null,t.text_Settings_Main))):null,r.default.createElement(ht,{onClick:()=>o("Language")},r.default.createElement("main",null,r.default.createElement("picture",null,"el"===l?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===l?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"===l?r.default.createElement("h5",null,"Ελληνικά"):"de"===l?r.default.createElement("h5",null,"Deutsch"):r.default.createElement("h5",null,"English")),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),r.default.createElement(ht,{onClick:()=>o("Region")},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Flag"})),r.default.createElement("h5",null,a)),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),"Protected"===t.role?r.default.createElement(ft,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Logout},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Logout)))):r.default.createElement(pt,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Login},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Login)))))};let 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 wt=t=>{const{region:a,setRegion:n}=e.useContext(J),{setActiveMenu:o}=e.useContext(Y);return r.default.createElement(ut,null,r.default.createElement(mt,{onClick:()=>o("Main")},r.default.createElement(s,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),kt.map(((e,t)=>r.default.createElement(ht,{key:t,onClick:()=>{return t=e.country,n(t),void o("Main");var t},className:a===e.country?"SelectedRegion":""},r.default.createElement("main",null,r.default.createElement("h5",null,e.country))))))},Mt=t=>{const{activeMenu:n}=e.useContext(Y),[o,l]=e.useState(null),i=e=>{const t=e.offsetHeight;l(t)};return r.default.createElement(dt,{style:{height:o}},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(vt,{text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}))),r.default.createElement(a.CSSTransition,{in:"Region"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(wt,{text_Title_Region:t.text_Title_Region}))))},Ct=o.default.div`
|
|
1026
|
+
`,Et=t=>{const{region:a}=e.useContext(J),{setHamState:n}=e.useContext(Q),{setActiveMenu:o}=e.useContext(Y),{language:l}=e.useContext(X);return r.default.createElement(ut,null,r.default.createElement(mt,{onClick:()=>n(!1)},r.default.createElement(s,{Icon:"Xicon"}),r.default.createElement("h4",null,t.text_Title_Main)),r.default.createElement(xt,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(_t,null)),"Protected"===t.role?r.default.createElement(pt,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Account_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),r.default.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?r.default.createElement(ht,{onClick:t.onClick_Settings_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Settings"})),r.default.createElement("h5",null,t.text_Settings_Main))):null,r.default.createElement(ht,{onClick:()=>o("Language")},r.default.createElement("main",null,r.default.createElement("picture",null,"el"===l?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===l?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"===l?r.default.createElement("h5",null,"Ελληνικά"):"de"===l?r.default.createElement("h5",null,"Deutsch"):r.default.createElement("h5",null,"English")),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),r.default.createElement(ht,{onClick:()=>o("Region")},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Flag"})),r.default.createElement("h5",null,a)),r.default.createElement("aside",null,r.default.createElement(s,{Icon:"Next"}))),"Protected"===t.role?r.default.createElement(ft,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Logout},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Logout)))):r.default.createElement(pt,null,r.default.createElement(gt,null),r.default.createElement(ht,{onClick:t.onCLick_Login},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(s,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Login)))))};let 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 wt=t=>{const{region:a,setRegion:n}=e.useContext(J),{setActiveMenu:o}=e.useContext(Y);return r.default.createElement(ut,null,r.default.createElement(mt,{onClick:()=>o("Main")},r.default.createElement(s,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),kt.map(((e,t)=>r.default.createElement(ht,{key:t,onClick:()=>{return t=e.country,n(t),void o("Main");var t},className:a===e.country?"SelectedRegion":""},r.default.createElement("main",null,r.default.createElement("h5",null,e.country))))))},Mt=t=>{const{activeMenu:n}=e.useContext(Y),[o,l]=e.useState(null),i=e=>{const t=e.offsetHeight;l(t)};return r.default.createElement(dt,{style:{height:o}},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(vt,{text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}))),r.default.createElement(a.CSSTransition,{in:"Region"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:i},r.default.createElement("div",{className:"Menu"},r.default.createElement(wt,{text_Title_Region:t.text_Title_Region}))))},Ct=o.default.div`
|
|
1027
1027
|
justify-self: flex-end;
|
|
1028
1028
|
display: flex;
|
|
1029
1029
|
align-items: center;
|
|
@@ -1081,7 +1081,7 @@
|
|
|
1081
1081
|
@media ${L} {
|
|
1082
1082
|
display: none;
|
|
1083
1083
|
}
|
|
1084
|
-
`,It=t=>{const{hamState:a,setHamState:n}=e.useContext(Q);return r.default.createElement(St,null,r.default.createElement(At,null,r.default.createElement(
|
|
1084
|
+
`,It=t=>{const{hamState:a,setHamState:n}=e.useContext(Q);return r.default.createElement(St,null,r.default.createElement(At,null,r.default.createElement(_,{variant_Size:"small",text_Button:t.text_Login,onClick:t.onClick_Login})),r.default.createElement(g,{variant_Size:"small",icon_Left:"Ham",onClick:()=>n(!a)}),a?r.default.createElement(Mt,{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)},$t=o.default.nav`
|
|
1085
1085
|
display: grid;
|
|
1086
1086
|
align-items: center;
|
|
1087
1087
|
grid-gap: 1rem;
|
|
@@ -1106,12 +1106,69 @@
|
|
|
1106
1106
|
width: 8.5rem;
|
|
1107
1107
|
height: 100vh;
|
|
1108
1108
|
border-right: 1px solid ${e=>e.theme.mid};
|
|
1109
|
-
`,Rt=o.default.
|
|
1109
|
+
`,Rt=o.default.li`
|
|
1110
|
+
cursor: pointer;
|
|
1111
|
+
transition-property: transform;
|
|
1112
|
+
transition-duration: .5s;
|
|
1113
|
+
position: relative;
|
|
1114
|
+
height: 8.5rem;
|
|
1115
|
+
width: 8.5rem;
|
|
1116
|
+
|
|
1117
|
+
picture{
|
|
1118
|
+
position: absolute;
|
|
1119
|
+
outline: 1px solid ${e=>e.theme.mid};
|
|
1120
|
+
top: 0;
|
|
1121
|
+
left: 0;
|
|
1122
|
+
padding: 2rem;
|
|
1123
|
+
background: ${e=>e.theme.background};
|
|
1124
|
+
|
|
1125
|
+
svg{
|
|
1126
|
+
fill: var(--main);
|
|
1127
|
+
width: 100%;
|
|
1128
|
+
transition-property: fill;
|
|
1129
|
+
transition-duration: .5s;
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.SidebarButtonTitle{
|
|
1134
|
+
position: absolute;
|
|
1135
|
+
top: 50%;
|
|
1136
|
+
left: 8rem;
|
|
1137
|
+
opacity: 0;
|
|
1138
|
+
transform: translateX(-110%);
|
|
1139
|
+
transition-property: transform, opacity;
|
|
1140
|
+
transition-duration: .5s;
|
|
1141
|
+
white-space: nowrap;
|
|
1142
|
+
padding: var(--smallPads);
|
|
1143
|
+
color: ${e=>e.theme.background};
|
|
1144
|
+
background: ${e=>e.theme.color};
|
|
1145
|
+
border: 1px solid ${e=>e.theme.color};
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
&:hover{
|
|
1149
|
+
transform: translateX(1rem);
|
|
1150
|
+
transition-property: transform;
|
|
1151
|
+
transition-duration: .5s;
|
|
1152
|
+
|
|
1153
|
+
svg{
|
|
1154
|
+
fill: var(--mainLight);
|
|
1155
|
+
transition-property: fill;
|
|
1156
|
+
transition-duration: .5s;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
.SidebarButtonTitle{
|
|
1160
|
+
opacity: 1;
|
|
1161
|
+
transform: translateX(0%);
|
|
1162
|
+
transition-property: transform;
|
|
1163
|
+
transition-duration: .5s;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
`,Bt=o.default.div`
|
|
1110
1167
|
display: flex;
|
|
1111
1168
|
align-items: center;
|
|
1112
1169
|
justify-content: space-between;
|
|
1113
1170
|
padding: 4rem 0 2rem 0;
|
|
1114
|
-
`,
|
|
1171
|
+
`,Pt=o.default.div`
|
|
1115
1172
|
height: 1.5rem;
|
|
1116
1173
|
border-radius: 1rem;
|
|
1117
1174
|
margin-bottom: 2rem;
|
|
@@ -1120,13 +1177,13 @@
|
|
|
1120
1177
|
grid-template-columns: repeat( ${e=>e.array_Steps.length} ,1fr);
|
|
1121
1178
|
background: ${e=>e.theme.mid};
|
|
1122
1179
|
overflow: hidden;
|
|
1123
|
-
`,
|
|
1180
|
+
`,Nt=o.default.div`
|
|
1124
1181
|
background: ${e=>e.step===e.int_CurrentStep?"linear-gradient( to right, var(--main), transparent)":e.step<e.int_CurrentStep?"var(--main)":"transparent"};
|
|
1125
1182
|
height: 100%;
|
|
1126
1183
|
width: 100%;
|
|
1127
|
-
`,
|
|
1184
|
+
`,Zt=e=>r.default.createElement(Pt,{array_Steps:e.array_Steps},e.array_Steps.map(((t,a)=>r.default.createElement(Nt,{step:a,int_CurrentStep:e.int_CurrentStep})))),zt=o.default.div`
|
|
1128
1185
|
|
|
1129
|
-
`,
|
|
1186
|
+
`,Gt=o.default.div`
|
|
1130
1187
|
position: relative;
|
|
1131
1188
|
|
|
1132
1189
|
.Steps{
|
|
@@ -1151,21 +1208,21 @@
|
|
|
1151
1208
|
transform: translateX(-110%);
|
|
1152
1209
|
transition: all .4s ease;
|
|
1153
1210
|
}
|
|
1154
|
-
`,
|
|
1211
|
+
`,Ht=o.default.div`
|
|
1155
1212
|
padding: var(--smallDist);
|
|
1156
1213
|
border-radius: var(--normalRadius);
|
|
1157
1214
|
box-shadow: ${e=>e.theme.out};
|
|
1158
1215
|
background: ${e=>e.theme.low};
|
|
1159
|
-
`,
|
|
1216
|
+
`,Ft=o.default.div`
|
|
1160
1217
|
position: fixed;
|
|
1161
1218
|
top: 0;
|
|
1162
1219
|
left: 0;
|
|
1163
1220
|
z-index: 500;
|
|
1164
1221
|
width: 100%;
|
|
1165
1222
|
height: 100vh;
|
|
1166
|
-
`,
|
|
1223
|
+
`,Dt=o.default(Ft)`
|
|
1167
1224
|
background: ${e=>e.theme.overlay};
|
|
1168
|
-
`,
|
|
1225
|
+
`,Vt=o.default.div`
|
|
1169
1226
|
position: fixed;
|
|
1170
1227
|
top: 0;
|
|
1171
1228
|
right: 0;
|
|
@@ -1174,18 +1231,18 @@
|
|
|
1174
1231
|
height: 100%;
|
|
1175
1232
|
max-width: 60%;
|
|
1176
1233
|
background-color: ${e=>e.theme.background};
|
|
1177
|
-
`,
|
|
1234
|
+
`,jt=o.default.div`
|
|
1178
1235
|
display: flex;
|
|
1179
1236
|
align-items: center;
|
|
1180
1237
|
justify-content: space-between;
|
|
1181
1238
|
height: 6rem;
|
|
1182
1239
|
padding: 0 4rem;
|
|
1183
|
-
`,
|
|
1240
|
+
`,Kt=o.default.div`
|
|
1184
1241
|
padding: 2rem 4rem 10rem 4rem;
|
|
1185
1242
|
background: ${e=>e.theme.low};
|
|
1186
1243
|
height: 100%;
|
|
1187
1244
|
overflow: auto;
|
|
1188
|
-
`,
|
|
1245
|
+
`,qt=o.default.div`
|
|
1189
1246
|
padding-top: 6rem;
|
|
1190
1247
|
position: relative;
|
|
1191
1248
|
|
|
@@ -1193,7 +1250,7 @@
|
|
|
1193
1250
|
height: calc(100vh - 6rem);
|
|
1194
1251
|
overflow: hidden;
|
|
1195
1252
|
}
|
|
1196
|
-
`,
|
|
1253
|
+
`,Ot=o.default.div`
|
|
1197
1254
|
display: grid;
|
|
1198
1255
|
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
1199
1256
|
grid-gap: 4rem;
|
|
@@ -1202,7 +1259,7 @@
|
|
|
1202
1259
|
@media ${S} {
|
|
1203
1260
|
grid-template-columns: 1fr;
|
|
1204
1261
|
}
|
|
1205
|
-
`,
|
|
1262
|
+
`,Wt=o.default.div`
|
|
1206
1263
|
display: grid;
|
|
1207
1264
|
grid-template-columns: 1fr 40%;
|
|
1208
1265
|
grid-gap: 4rem;
|
|
@@ -1211,23 +1268,23 @@
|
|
|
1211
1268
|
@media ${S} {
|
|
1212
1269
|
grid-template-columns: 1fr;
|
|
1213
1270
|
}
|
|
1214
|
-
`,Wt=o.default.div`
|
|
1215
|
-
padding: 0 4rem 2rem 13rem;
|
|
1216
1271
|
`,Ut=o.default.div`
|
|
1217
|
-
|
|
1272
|
+
padding: 0 4rem 2rem 13rem;
|
|
1218
1273
|
`,Xt=o.default.div`
|
|
1219
1274
|
width: 100%;
|
|
1275
|
+
`,Jt=o.default.div`
|
|
1276
|
+
width: 100%;
|
|
1220
1277
|
|
|
1221
1278
|
@media ${S} {
|
|
1222
1279
|
display: none;
|
|
1223
1280
|
}
|
|
1224
|
-
`,Jt=o.default.div`
|
|
1225
|
-
padding-top: 8rem;
|
|
1226
1281
|
`,Yt=o.default.div`
|
|
1227
|
-
padding:
|
|
1282
|
+
padding-top: 8rem;
|
|
1228
1283
|
`,Qt=o.default.div`
|
|
1229
|
-
|
|
1284
|
+
padding: 2rem 0;
|
|
1230
1285
|
`,ea=o.default.div`
|
|
1286
|
+
|
|
1287
|
+
`,ta=o.default.div`
|
|
1231
1288
|
position: relative;
|
|
1232
1289
|
|
|
1233
1290
|
header{
|
|
@@ -1236,11 +1293,11 @@
|
|
|
1236
1293
|
}
|
|
1237
1294
|
|
|
1238
1295
|
|
|
1239
|
-
`,ta=o.default.div`
|
|
1240
|
-
padding-left: 4rem;
|
|
1241
1296
|
`,aa=o.default.div`
|
|
1297
|
+
padding-left: 4rem;
|
|
1298
|
+
`,na=o.default.div`
|
|
1242
1299
|
padding-right: 4rem;
|
|
1243
|
-
`,
|
|
1300
|
+
`,ra=o.default(Ot)`
|
|
1244
1301
|
padding: 0;
|
|
1245
1302
|
|
|
1246
1303
|
aside{
|
|
@@ -1291,14 +1348,14 @@
|
|
|
1291
1348
|
flex-direction: column;
|
|
1292
1349
|
gap: 4rem;
|
|
1293
1350
|
}
|
|
1294
|
-
`,
|
|
1351
|
+
`,oa=o.default.div`
|
|
1295
1352
|
padding: 10rem 1rem 2rem 1rem;
|
|
1296
1353
|
text-align: center;
|
|
1297
|
-
`,
|
|
1354
|
+
`,la=o.default.div`
|
|
1298
1355
|
display: flex;
|
|
1299
1356
|
align-items: center;
|
|
1300
1357
|
gap: 1rem;
|
|
1301
|
-
`,
|
|
1358
|
+
`,ia=o.default.div`
|
|
1302
1359
|
display: grid;
|
|
1303
1360
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1304
1361
|
align-items: flex-start;
|
|
@@ -1319,9 +1376,9 @@
|
|
|
1319
1376
|
@media ${b}{
|
|
1320
1377
|
grid-template-columns: 1fr;
|
|
1321
1378
|
}
|
|
1322
|
-
`,
|
|
1379
|
+
`,ca=o.default(ia)`
|
|
1323
1380
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1324
|
-
`,
|
|
1381
|
+
`,sa=o.default.div`
|
|
1325
1382
|
width: 100%;
|
|
1326
1383
|
min-height: 100vh;
|
|
1327
1384
|
background: ${e=>e.theme.background};
|
|
@@ -1344,7 +1401,7 @@
|
|
|
1344
1401
|
transition-property: background;
|
|
1345
1402
|
transition-duration: .5s;
|
|
1346
1403
|
}
|
|
1347
|
-
`,
|
|
1404
|
+
`,da=o.default.div`
|
|
1348
1405
|
height: 1.5rem;
|
|
1349
1406
|
border-radius: 1rem;
|
|
1350
1407
|
margin-bottom: 2rem;
|
|
@@ -1353,15 +1410,15 @@
|
|
|
1353
1410
|
grid-template-columns: repeat( ${e=>e.array_Steps} ,1fr);
|
|
1354
1411
|
background: ${e=>e.theme.mid};
|
|
1355
1412
|
overflow: hidden;
|
|
1356
|
-
`,
|
|
1413
|
+
`,ua=o.default.div`
|
|
1357
1414
|
background: linear-gradient( to right, var(--main), ${e=>e.theme.mid});
|
|
1358
1415
|
height: 100%;
|
|
1359
1416
|
width: 100%;
|
|
1360
|
-
`,
|
|
1417
|
+
`,ma=o.default.div`
|
|
1361
1418
|
background: var(--main);
|
|
1362
1419
|
height: 100%;
|
|
1363
1420
|
width: 100%;
|
|
1364
|
-
`,
|
|
1421
|
+
`,ha=o.default.div`
|
|
1365
1422
|
position: relative;
|
|
1366
1423
|
|
|
1367
1424
|
.Steps{
|
|
@@ -1386,26 +1443,26 @@
|
|
|
1386
1443
|
transform: translateX(-110%);
|
|
1387
1444
|
transition: all .4s ease;
|
|
1388
1445
|
}
|
|
1389
|
-
`,
|
|
1446
|
+
`,ga=o.default.div`
|
|
1390
1447
|
padding: var(--smallDist);
|
|
1391
1448
|
border-radius: var(--normalRadius);
|
|
1392
1449
|
box-shadow: ${e=>e.theme.out};
|
|
1393
1450
|
background: ${e=>e.theme.low};
|
|
1394
|
-
`,
|
|
1451
|
+
`,fa=o.default.div`
|
|
1395
1452
|
display: flex;
|
|
1396
1453
|
align-items: center;
|
|
1397
1454
|
justify-content: space-between;
|
|
1398
1455
|
padding: 4rem 0 2rem 0;
|
|
1399
|
-
`,
|
|
1456
|
+
`,pa=o.default.div`
|
|
1400
1457
|
position: fixed;
|
|
1401
1458
|
top: 0;
|
|
1402
1459
|
left: 0;
|
|
1403
1460
|
z-index: 500;
|
|
1404
1461
|
width: 100%;
|
|
1405
1462
|
height: 100vh;
|
|
1406
|
-
`,
|
|
1463
|
+
`,va=o.default(pa)`
|
|
1407
1464
|
background: ${e=>e.theme.overlay};
|
|
1408
|
-
`,
|
|
1465
|
+
`,ya=o.default.div`
|
|
1409
1466
|
position: fixed;
|
|
1410
1467
|
top: 0;
|
|
1411
1468
|
right: 0;
|
|
@@ -1420,22 +1477,22 @@
|
|
|
1420
1477
|
justify-content: space-between;
|
|
1421
1478
|
height: 6rem;
|
|
1422
1479
|
padding: 0 4rem;
|
|
1423
|
-
`,
|
|
1480
|
+
`,xa=o.default.div`
|
|
1424
1481
|
padding: 2rem 4rem 10rem 4rem;
|
|
1425
1482
|
background: ${e=>e.theme.low};
|
|
1426
1483
|
height: 100%;
|
|
1427
1484
|
overflow: auto;
|
|
1428
|
-
`,
|
|
1485
|
+
`,Ea=o.default.div`
|
|
1429
1486
|
display: grid;
|
|
1430
1487
|
grid-template-columns: 1fr 1fr;
|
|
1431
1488
|
grid-gap: 2rem;
|
|
1432
|
-
`,
|
|
1489
|
+
`,ka=o.default.div`
|
|
1433
1490
|
display: grid;
|
|
1434
1491
|
grid-gap: 2rem;
|
|
1435
|
-
`,
|
|
1492
|
+
`,wa=o.default(ka)`
|
|
1436
1493
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1437
|
-
`,
|
|
1494
|
+
`,Ma=o.default(ka)`
|
|
1438
1495
|
grid-template-columns: 1fr 1fr;
|
|
1439
|
-
`,
|
|
1496
|
+
`,Ca=o.default(ka)`
|
|
1440
1497
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1441
|
-
`;exports.Builder_=e=>r.default.createElement(oe,{key:e.key},e.text_BuilderTitle?r.default.createElement("h4",null,e.text_BuilderTitle):null,e.children),exports.CardsForty=wa,exports.CardsSixty=Ma,exports.CardsTools=ka,exports.Checkbox_=e=>r.default.createElement(le,{key:e.key},e.variant_Input?r.default.createElement(ce,{bool_Checked:e.bool_Checked},r.default.createElement(O,{text_Placeholder:e.text_CheckboxPlaceholder,bool_DisabledInput:!e.bool_Checked})):r.default.createElement("label",{for:e.id_Checkbox},r.default.createElement("p",null,e.text_CheckboxLabel)),r.default.createElement(ie,{className:"Check"},r.default.createElement("input",{type:"checkbox",id:e.id_Checkbox,checked:e.bool_Checked,onClick:e.onClick_Checkbox}),r.default.createElement("span",{className:"CheckCustom"}),r.default.createElement(s,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.Confirmation_=e=>r.default.createElement(I,null,r.default.createElement($,null,r.default.createElement("h4",null,e.text_Confirmation),r.default.createElement(T,null,r.default.createElement(v,{onClick:e.onClick_Primary,icon_Left:e.icon_Primary,text_Button:e.text_Primary}),r.default.createElement(y,{onClick:e.onClick_Secondary,icon_Left:e.icon_Secondary,text_Button:e.text_Secondary})))),exports.Cta_=c,exports.Delete_Plain=k,exports.Dropdown_=U,exports.Edit_=e=>r.default.createElement(d,{variant_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.key_SuggestionType]},n=t.json_File;const[o,l]=e.useState({query:"",file:n,notfoundmessage:!1,defaultValue:t.text_DefaultValue}),[i,c]=e.useState(!1),[d,u]=e.useState(0),m=e=>{t.onSuggestions(e),console.log("clicked"),l({...o,query:"",defaultValue:"string"==typeof e?e:e[t.key_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(i[d].item?i[d].item:i[d]))};return e.useEffect((()=>{a.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new et(n,a);let r=o.query?e.search(o.query):n;r=r.slice(0,t.size),c(r)}),[o]),e.useEffect((()=>{t.getInput&&i?.length>0?t.getInput(i[0]?.item):t.getSuggestions&&i?.length>0&&o.query.length?t.getSuggestions(i):t.getSuggestions&&!o.query.length&&t.getSuggestions([])}),[i]),console.log(o.defaultValue),r.default.createElement(at,null,r.default.createElement(nt,{id:"elasticSearch",autoComplete:"off",type:"text",placeholder:t.text_PlaceHolder,onChange:e=>{const{target:a={}}=e,{value:n=""}=a;let r=tt.toGreek(n);l({...o,query:t.sanitize?r:n})},defaultValue:o.defaultValue,onKeyPress:e=>h(e),onKeyDown:e=>h(e)}),r.default.createElement(rt,null,t.text_Placeholder),t.bool_Required?r.default.createElement(z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,o.query&&i?r.default.createElement("ul",null,i.map(((e,a)=>r.default.createElement("li",{className:a===d%i.length?"ElasticSelected":"",key:a,onClick:()=>m(e?.item?e.item[t.key_SuggestionType]:e[t.key_SuggestionType])},r.default.createElement("p",null,e?.item?e.item[t.key_SuggestionType]:e[t.key_SuggestionType]))))):null)},exports.Focus_=e=>r.default.createElement(u,{variant_Size:e.variant_Size,onClick:e.onClick},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null),exports.Focus_Plain=e=>r.default.createElement(m,{variant_Size:e.variant_Size,onClick:e.onClick,onFocus:e.onFocus},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null),exports.Form=D,exports.FormGroup=K,exports.FormInput=V,exports.FormLabel=j,exports.FormList=q,exports.Grey_=g,exports.Grey_Link=e=>r.default.createElement(f,{variant_Size:e.variant_Size,onClick:e.onClick},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null),exports.HamContext=Q,exports.IconSvg=s,exports.Input_=O,exports.Input_Phone=t=>{const{region:a}=e.useContext(J);return r.default.createElement(ae,null,r.default.createElement(ne,null,r.default.createElement(U,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(U,{array_Dropdown:t.array_PhoneDropdown})),r.default.createElement(O,{text_Placeholder:t.text_PhonePlaceholder,bool_Required:t.bool_Required,variant_List:!0,array_List:t.array_PhoneList,icon_List:t.icon_PhoneList}))},exports.Input_Phone_Register=t=>{const{region:a}=e.useContext(J);return r.default.createElement(re,null,r.default.createElement(U,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(O,{class_Input:t.class_Input,text_Placeholder:t.text_Placeholder,id_Input:t.id_Input,onChange_Input:t.onChange_Input,text_Defaultvalue:t.text_Defaultvalue,onKeyPress_Input:t.onKeyPress_Input,onKeyDown_Input:t.onKeyDown_Input}))},exports.LangContext=X,exports.Main_=v,exports.Main_Plain=y,exports.MenuContext=Y,exports.Nav_=e=>r.default.createElement($t,null,r.default.createElement(it,{onClick_Logo:e.onClick_Logo}),r.default.createElement(st,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?r.default.createElement(Lt,{role:e.role,img_Account:e.img_Account,img_Account_Main:e.img_Account,imgAlt_Account:e.imgAlt_Account,imgAlt_Account_Main:e.imgAlt_Account,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onCLick_Logout:e.onCLick_Logout,text_Logout:e.text_Logout,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language}):r.default.createElement(It,{role:e.role,onClick_Login:e.onClick_Login,text_Login:e.text_Login,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language})),exports.On_Click_Card=e=>r.default.createElement(M,{variant_CardText:e.variant_CardText},e.svg_Card||e.text_Card||e.img_SmallCard?r.default.createElement("header",null,e.svg_Card?r.default.createElement("figure",null,r.default.createElement(s,{Icon:e.svg_Card})):e.img_SmallCard?r.default.createElement(C,null,r.default.createElement("img",{src:e.img_SmallCard})):r.default.createElement("span",null,e.text_Card)):e.img_Card?r.default.createElement("picture",null,r.default.createElement("img",{src:e.img_Card})):null,e.text_CardTitle||e.text_CardSub?r.default.createElement("footer",null,e.text_CardTitle&&r.default.createElement("h2",null,e.text_CardTitle),e.text_CardSub&&r.default.createElement("h5",null,e.text_CardSub),e.children):null),exports.Page=Kt,exports.PageAlwaysVisible=Ut,exports.PageCards=la,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=oa,exports.PageSubTitle=ra,exports.PageTitle=Yt,exports.PageTools=Wt,exports.PageToolsCards=ia,exports.Radio_=e=>r.default.createElement(se,{key:e.key},e.variant_Input?r.default.createElement(O,{text_Placeholder:e.text_RadioPlaceholder}):r.default.createElement("label",{for:e.id_Radio},r.default.createElement("p",null,e.text_RadioLabel)),r.default.createElement(de,{className:"RadioCircle"},r.default.createElement("input",{name:e.name_Radio,type:"radio",id:e.id_Radio,checked:e.bool_RadioChecked}),r.default.createElement("span",{className:"RadioCustom"}),r.default.createElement(s,{Icon:"Sun",class_Icon:"RadioIcon"}))),exports.RegionContext=J,exports.Sidebar_=e=>r.default.createElement(Tt,null,e.children),exports.Slider=fa,exports.SliderContainer=ya,exports.SliderContext=te,exports.SliderGrid=xa,exports.SliderOverlay=pa,exports.SliderTitle=_a,exports.SliderWrapper=va,exports.Slider_=e=>r.default.createElement(Ht,{className:"StoryBook_Fix1"},r.default.createElement(Ft,{className:"StoryBook_Fix2",onClick:e.onClick_Close}),r.default.createElement(Dt,null,r.default.createElement(Vt,null,r.default.createElement("h3",null,e.text_Title),r.default.createElement(v,{text_Button:e.text_MainButton,icon_Right:"Check",variant_Size:"normal",onClick:e.onClick_Close})),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(Zt,null,r.default.createElement(Nt,{array_Steps:e.array_Steps,int_CurrentStep:e.int_CurrentStep}),r.default.createElement(zt,null,e.array_Steps.map(((t,n)=>r.default.createElement(a.CSSTransition,{in:e.int_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,{icon_Left:e.icon_Grey,text_Button:e.text_Grey,onClick:e.onClick_Grey}),r.default.createElement(v,{icon_Right:e.icon_Main,text_Button:e.text_Main,onClick:e.onClick_Main})),exports.Textarea_=e=>{const[t,a]=r.default.useState(0);return r.default.createElement(ue,null,r.default.createElement(H,{placeholder:e.text_Placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange_Textarea?e.onChange_Textarea:e=>(e=>{a(e.target.value.length)})(e)},e.text_Prefill),e.int_Limit?r.default.createElement(me,{capped:t>e.int_Limit}," ",r.default.createElement("span",null,t)," / ",e.int_Limit):null,e.bool_Required?r.default.createElement(z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.array_Errors?r.default.createElement(R,{className:"ValidatorErrors"},e.array_Errors.map((e=>r.default.createElement(Z,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.array_Tips&&e.array_Helpers?r.default.createElement(R,{className:"ValidatorHelpers"},e.array_Helpers.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e)))),e.array_Tips.map((e=>r.default.createElement(P,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.array_Tips?r.default.createElement(R,{className:"ValidatorHelpers"},e.array_Tips.map((e=>r.default.createElement(P,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.array_Helpers?r.default.createElement(R,{className:"ValidatorHelpers"},e.array_Helpers.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null)},exports.Theme=ca,exports.ThemeContext=ee,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(x,{variant_Size:e.variant_Size,onClick:e.onClick},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null);
|
|
1498
|
+
`;exports.Builder_=e=>r.default.createElement(oe,{key:e.key},e.text_BuilderTitle?r.default.createElement("h4",null,e.text_BuilderTitle):null,e.children),exports.CardsForty=Ma,exports.CardsSixty=Ca,exports.CardsTools=wa,exports.Checkbox_=e=>r.default.createElement(le,{key:e.key},e.variant_Input?r.default.createElement(ce,{bool_Checked:e.bool_Checked},r.default.createElement(O,{text_Placeholder:e.text_CheckboxPlaceholder,bool_DisabledInput:!e.bool_Checked})):r.default.createElement("label",{for:e.id_Checkbox},r.default.createElement("p",null,e.text_CheckboxLabel)),r.default.createElement(ie,{className:"Check"},r.default.createElement("input",{type:"checkbox",id:e.id_Checkbox,checked:e.bool_Checked,onClick:e.onClick_Checkbox}),r.default.createElement("span",{className:"CheckCustom"}),r.default.createElement(s,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.Confirmation_=e=>r.default.createElement(I,null,r.default.createElement($,null,r.default.createElement("h4",null,e.text_Confirmation),r.default.createElement(T,null,r.default.createElement(v,{onClick:e.onClick_Primary,icon_Left:e.icon_Primary,text_Button:e.text_Primary}),r.default.createElement(_,{onClick:e.onClick_Secondary,icon_Left:e.icon_Secondary,text_Button:e.text_Secondary})))),exports.Cta_=c,exports.Delete_Plain=k,exports.Dropdown_=U,exports.Edit_=e=>r.default.createElement(d,{variant_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.key_SuggestionType]},n=t.json_File;const[o,l]=e.useState({query:"",file:n,notfoundmessage:!1,defaultValue:t.text_DefaultValue}),[i,c]=e.useState(!1),[d,u]=e.useState(0),m=e=>{t.onSuggestions(e),console.log("clicked"),l({...o,query:"",defaultValue:"string"==typeof e?e:e[t.key_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(i[d].item?i[d].item:i[d]))};return e.useEffect((()=>{a.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new et(n,a);let r=o.query?e.search(o.query):n;r=r.slice(0,t.size),c(r)}),[o]),e.useEffect((()=>{t.getInput&&i?.length>0?t.getInput(i[0]?.item):t.getSuggestions&&i?.length>0&&o.query.length?t.getSuggestions(i):t.getSuggestions&&!o.query.length&&t.getSuggestions([])}),[i]),console.log(o.defaultValue),r.default.createElement(at,null,r.default.createElement(nt,{id:"elasticSearch",autoComplete:"off",type:"text",placeholder:t.text_PlaceHolder,onChange:e=>{const{target:a={}}=e,{value:n=""}=a;let r=tt.toGreek(n);l({...o,query:t.sanitize?r:n})},defaultValue:o.defaultValue,onKeyPress:e=>h(e),onKeyDown:e=>h(e)}),r.default.createElement(rt,null,t.text_Placeholder),t.bool_Required?r.default.createElement(z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,o.query&&i?r.default.createElement("ul",null,i.map(((e,a)=>r.default.createElement("li",{className:a===d%i.length?"ElasticSelected":"",key:a,onClick:()=>m(e?.item?e.item[t.key_SuggestionType]:e[t.key_SuggestionType])},r.default.createElement("p",null,e?.item?e.item[t.key_SuggestionType]:e[t.key_SuggestionType]))))):null)},exports.Focus_=e=>r.default.createElement(u,{variant_Size:e.variant_Size,onClick:e.onClick},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null),exports.Focus_Plain=e=>r.default.createElement(m,{variant_Size:e.variant_Size,onClick:e.onClick,onFocus:e.onFocus},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null),exports.Form=D,exports.FormGroup=K,exports.FormInput=V,exports.FormLabel=j,exports.FormList=q,exports.Grey_=g,exports.Grey_Link=e=>r.default.createElement(f,{variant_Size:e.variant_Size,onClick:e.onClick},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null),exports.HamContext=Q,exports.IconSvg=s,exports.Input_=O,exports.Input_Phone=t=>{const{region:a}=e.useContext(J);return r.default.createElement(ae,null,r.default.createElement(ne,null,r.default.createElement(U,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(U,{array_Dropdown:t.array_PhoneDropdown})),r.default.createElement(O,{text_Placeholder:t.text_PhonePlaceholder,bool_Required:t.bool_Required,variant_List:!0,array_List:t.array_PhoneList,icon_List:t.icon_PhoneList}))},exports.Input_Phone_Register=t=>{const{region:a}=e.useContext(J);return r.default.createElement(re,null,r.default.createElement(U,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(O,{class_Input:t.class_Input,text_Placeholder:t.text_Placeholder,id_Input:t.id_Input,onChange_Input:t.onChange_Input,text_Defaultvalue:t.text_Defaultvalue,onKeyPress_Input:t.onKeyPress_Input,onKeyDown_Input:t.onKeyDown_Input}))},exports.LangContext=X,exports.Main_=v,exports.Main_Plain=_,exports.MenuContext=Y,exports.Nav_=e=>r.default.createElement($t,null,r.default.createElement(it,{onClick_Logo:e.onClick_Logo}),r.default.createElement(st,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?r.default.createElement(Lt,{role:e.role,img_Account:e.img_Account,img_Account_Main:e.img_Account,imgAlt_Account:e.imgAlt_Account,imgAlt_Account_Main:e.imgAlt_Account,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onCLick_Logout:e.onCLick_Logout,text_Logout:e.text_Logout,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language}):r.default.createElement(It,{role:e.role,onClick_Login:e.onClick_Login,text_Login:e.text_Login,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language})),exports.On_Click_Card=e=>r.default.createElement(M,{variant_CardText:e.variant_CardText},e.svg_Card||e.text_Card||e.img_SmallCard?r.default.createElement("header",null,e.svg_Card?r.default.createElement("figure",null,r.default.createElement(s,{Icon:e.svg_Card})):e.img_SmallCard?r.default.createElement(C,null,r.default.createElement("img",{src:e.img_SmallCard})):r.default.createElement("span",null,e.text_Card)):e.img_Card?r.default.createElement("picture",null,r.default.createElement("img",{src:e.img_Card})):null,e.text_CardTitle||e.text_CardSub?r.default.createElement("footer",null,e.text_CardTitle&&r.default.createElement("h2",null,e.text_CardTitle),e.text_CardSub&&r.default.createElement("h5",null,e.text_CardSub),e.children):null),exports.Page=qt,exports.PageAlwaysVisible=Xt,exports.PageCards=ia,exports.PageDesktopOnly=Jt,exports.PageDesktopPadding=Yt,exports.PageForty=Ot,exports.PageSingle=ea,exports.PageSingleHeader=ta,exports.PageSingleRight=na,exports.PageSingleleft=aa,exports.PageSixty=Wt,exports.PageSub=ra,exports.PageSubActions=la,exports.PageSubTitle=oa,exports.PageTitle=Qt,exports.PageTools=Ut,exports.PageToolsCards=ca,exports.Radio_=e=>r.default.createElement(se,{key:e.key},e.variant_Input?r.default.createElement(O,{text_Placeholder:e.text_RadioPlaceholder}):r.default.createElement("label",{for:e.id_Radio},r.default.createElement("p",null,e.text_RadioLabel)),r.default.createElement(de,{className:"RadioCircle"},r.default.createElement("input",{name:e.name_Radio,type:"radio",id:e.id_Radio,checked:e.bool_RadioChecked}),r.default.createElement("span",{className:"RadioCustom"}),r.default.createElement(s,{Icon:"Sun",class_Icon:"RadioIcon"}))),exports.RegionContext=J,exports.Sidebar_=e=>r.default.createElement(Tt,null,e.children),exports.Sidebar_Box=e=>r.default.createElement(Rt,null,r.default.createElement("h5",{className:e.class_Name+" SidebarButtonTitle"},e.text_Title),r.default.createElement("picture",null,r.default.createElement(s,{Icon:e.svg_Icon}))),exports.Slider=pa,exports.SliderContainer=xa,exports.SliderContext=te,exports.SliderGrid=Ea,exports.SliderOverlay=va,exports.SliderTitle=_a,exports.SliderWrapper=ya,exports.Slider_=e=>r.default.createElement(Ft,{className:"StoryBook_Fix1"},r.default.createElement(Dt,{className:"StoryBook_Fix2",onClick:e.onClick_Close}),r.default.createElement(Vt,null,r.default.createElement(jt,null,r.default.createElement("h3",null,e.text_Title),r.default.createElement(v,{text_Button:e.text_MainButton,icon_Right:"Check",variant_Size:"normal",onClick:e.onClick_Close})),r.default.createElement(Kt,null,e.children))),exports.Steps=da,exports.StepsActions=fa,exports.StepsComplete=ma,exports.StepsContainer=ha,exports.StepsCurrent=ua,exports.StepsWrapper=ga,exports.Steps_=e=>r.default.createElement(zt,null,r.default.createElement(Zt,{array_Steps:e.array_Steps,int_CurrentStep:e.int_CurrentStep}),r.default.createElement(Gt,null,e.array_Steps.map(((t,n)=>r.default.createElement(a.CSSTransition,{in:e.int_CurrentStep===n,timeout:500,unmountOnExit:!0,classNames:"Steps"},r.default.createElement(Ht,{className:"Steps"},t)))))),exports.Steps_Actions=e=>r.default.createElement(Bt,null,r.default.createElement(g,{icon_Left:e.icon_Grey,text_Button:e.text_Grey,onClick:e.onClick_Grey}),r.default.createElement(v,{icon_Right:e.icon_Main,text_Button:e.text_Main,onClick:e.onClick_Main})),exports.Textarea_=e=>{const[t,a]=r.default.useState(0);return r.default.createElement(ue,null,r.default.createElement(H,{placeholder:e.text_Placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange_Textarea?e.onChange_Textarea:e=>(e=>{a(e.target.value.length)})(e)},e.text_Prefill),e.int_Limit?r.default.createElement(me,{capped:t>e.int_Limit}," ",r.default.createElement("span",null,t)," / ",e.int_Limit):null,e.bool_Required?r.default.createElement(z,{className:"ValidatorRequired"},r.default.createElement(s,{Icon:"Asterisk"})):null,e.array_Errors?r.default.createElement(R,{className:"ValidatorErrors"},e.array_Errors.map((e=>r.default.createElement(Z,null,r.default.createElement(s,{Icon:"Error"}),r.default.createElement("h6",null,e))))):null,e.array_Tips&&e.array_Helpers?r.default.createElement(R,{className:"ValidatorHelpers"},e.array_Helpers.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e)))),e.array_Tips.map((e=>r.default.createElement(P,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.array_Tips?r.default.createElement(R,{className:"ValidatorHelpers"},e.array_Tips.map((e=>r.default.createElement(P,null,r.default.createElement(s,{Icon:"Tip"}),r.default.createElement("h6",null,e))))):e.array_Helpers?r.default.createElement(R,{className:"ValidatorHelpers"},e.array_Helpers.map((e=>r.default.createElement(N,null,r.default.createElement(s,{Icon:"Warning"}),r.default.createElement("h6",null,e))))):null)},exports.Theme=sa,exports.ThemeContext=ee,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(x,{variant_Size:e.variant_Size,onClick:e.onClick},e.icon_Left?r.default.createElement(s,{Icon:e.icon_Left}):null,e.text_Button?r.default.createElement("span",null,e.text_Button):null,e.icon_Right?r.default.createElement(s,{Icon:e.icon_Right}):null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monica-alexandria",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.7",
|
|
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 +1,2 @@
|
|
|
1
|
-
export * from './Sidebar_.js';
|
|
1
|
+
export * from './Sidebar_.js';
|
|
2
|
+
export * from './Sidebar_Box.js';
|