monica-alexandria 3.2.8 → 3.2.9
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 +93 -90
- package/dist/index.js +96 -93
- package/package.json +1 -1
- package/src/export/components/form/Elastic_Search.js +69 -33
- package/src/stories/form/Elastic.stories.jsx +15 -4
package/dist/index.es.js
CHANGED
|
@@ -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
|
-
`,
|
|
341
|
+
`,G=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})))),H=o.div`
|
|
342
342
|
|
|
343
343
|
`,F=o.div`
|
|
344
344
|
display: grid;
|
|
@@ -519,7 +519,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
519
519
|
fill: ${e=>e.theme.color};
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
`,ee=t=>e.createElement(Y,null,e.createElement(X,{className:t.class_Name,placeholder:t.text_Placeholder,id:t.id_Input,autoComplete:"off",type:"text",onChange:t.onChange_Input,defaultValue:t.text_Defaultvalue,onKeyPress:t.onKeyPress_Input,onKeyDown:t.onKeyDown_Input,disabled:t.bool_DisabledInput}),e.createElement(J,null,t.text_Placeholder),t.variant_List?e.createElement(k,{variant_Size:"small",text_Button:t.text_AddInput,icon_Left:"Add",className:"FormAddButton",onClick:t.onClick_AddInput}):null,t.bool_Required?e.createElement(j,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.array_Errors?e.createElement(
|
|
522
|
+
`,ee=t=>e.createElement(Y,null,e.createElement(X,{className:t.class_Name,placeholder:t.text_Placeholder,id:t.id_Input,autoComplete:"off",type:"text",onChange:t.onChange_Input,defaultValue:t.text_Defaultvalue,onKeyPress:t.onKeyPress_Input,onKeyDown:t.onKeyDown_Input,disabled:t.bool_DisabledInput}),e.createElement(J,null,t.text_Placeholder),t.variant_List?e.createElement(k,{variant_Size:"small",text_Button:t.text_AddInput,icon_Left:"Add",className:"FormAddButton",onClick:t.onClick_AddInput}):null,t.bool_Required?e.createElement(j,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.array_Errors?e.createElement(H,{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(H,{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(H,{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(H,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null,t.variant_List?e.createElement(Q,null,t.array_List.map((n=>e.createElement("li",null,e.createElement(d,{Icon:t.icon_List}),e.createElement("h6",null,n),e.createElement(S,{variant_Size:"small",icon_Left:"Delete"}))))):null),te=o.div`
|
|
523
523
|
position: relative;
|
|
524
524
|
|
|
525
525
|
select{
|
|
@@ -748,39 +748,42 @@ 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 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)`
|
|
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(H,{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(H,{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(H,{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(H,{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 Ge={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 He=/[^ ]+/g;class Fe{constructor({getFn:e=Ge.getFn,fieldNormWeight:t=Ge.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(He).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=Ge.getFn,fieldNormWeight:r=Ge.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=Ge.distance,ignoreLocation:o=Ge.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=Ge.location,distance:a=Ge.distance,threshold:o=Ge.threshold,findAllMatches:i=Ge.findAllMatches,minMatchCharLength:c=Ge.minMatchCharLength,includeMatches:l=Ge.includeMatches,ignoreLocation:s=Ge.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=Ge.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=Ge.location,threshold:n=Ge.threshold,distance:r=Ge.distance,includeMatches:a=Ge.includeMatches,findAllMatches:o=Ge.findAllMatches,minMatchCharLength:i=Ge.minMatchCharLength,isCaseSensitive:c=Ge.isCaseSensitive,ignoreLocation:l=Ge.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=Ge.location,threshold:n=Ge.threshold,distance:r=Ge.distance,includeMatches:a=Ge.includeMatches,findAllMatches:o=Ge.findAllMatches,minMatchCharLength:i=Ge.minMatchCharLength,isCaseSensitive:c=Ge.isCaseSensitive,ignoreLocation:l=Ge.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=Ge.isCaseSensitive,includeMatches:n=Ge.includeMatches,minMatchCharLength:r=Ge.minMatchCharLength,ignoreLocation:a=Ge.ignoreLocation,findAllMatches:o=Ge.findAllMatches,location:i=Ge.location,threshold:c=Ge.threshold,distance:l=Ge.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={...Ge,...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=Ge.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=Ge.includeMatches,includeScore:r=Ge.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=Ge.getFn,fieldNormWeight:n=Ge.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new Fe({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},ht.config=Ge,ht.parseQuery=dt,function(...e){nt.push(...e)}(tt);var gt=require("greek-utils");const pt=o(Y)`
|
|
752
|
+
`,vt=o(X)`
|
|
752
753
|
|
|
753
|
-
|
|
754
|
-
margin-top: 1rem;
|
|
755
|
-
background: ${e=>e.theme.background};
|
|
756
|
-
box-shadow: ${e=>e.theme.out};
|
|
757
|
-
border-radius: var(--smallRadius);
|
|
758
|
-
overflow: hidden;
|
|
759
|
-
transition: all .5s ease;
|
|
754
|
+
`,yt=o(J)`
|
|
760
755
|
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
transition: background .5s;
|
|
756
|
+
`,_t=o.ul`
|
|
757
|
+
margin-top: 1rem;
|
|
758
|
+
background: ${e=>e.theme.background};
|
|
759
|
+
box-shadow: ${e=>e.theme.out};
|
|
760
|
+
border-radius: var(--smallRadius);
|
|
761
|
+
overflow: hidden;
|
|
762
|
+
transition: all .5s ease;
|
|
769
763
|
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
764
|
+
li{
|
|
765
|
+
display: flex;
|
|
766
|
+
align-items: center;
|
|
767
|
+
justify-content: space-between;
|
|
768
|
+
gap: 1rem;
|
|
769
|
+
cursor: pointer;
|
|
770
|
+
padding: var(--normalPads);
|
|
771
|
+
transition: background .5s;
|
|
774
772
|
|
|
775
|
-
|
|
773
|
+
&:hover{
|
|
776
774
|
background: ${e=>e.theme.low};
|
|
777
775
|
}
|
|
778
776
|
}
|
|
779
|
-
`,vt=o(X)`
|
|
780
777
|
|
|
781
|
-
|
|
778
|
+
.ElasticSelected{
|
|
779
|
+
background: ${e=>e.theme.low};
|
|
780
|
+
}
|
|
781
|
+
`,ft=o(Q)`
|
|
782
782
|
|
|
783
|
-
|
|
783
|
+
h5{
|
|
784
|
+
padding: var(--smallPads);
|
|
785
|
+
}
|
|
786
|
+
`,Et=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),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("string"==typeof l[u]?l[u]:l[u][t.key_SuggestionType]))};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),variant_List:t.variant_List}),e.createElement(yt,null,t.text_Placeholder),t.bool_Required?e.createElement(j,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.variant_List?e.createElement(k,{variant_Size:"small",text_Button:t.text_AddToList,icon_Left:"Add",className:"FormAddButton",onClick:t.onClick_AddToList}):null,i.query&&l?e.createElement(_t,null,l.slice(0,6).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,t.variant_List?e.createElement(ft,null,e.createElement("h5",null,t.text_Selecteditems),t.array_List.map((n=>e.createElement("li",null,e.createElement(d,{Icon:t.icon_List}),e.createElement("h6",null,n),e.createElement(S,{variant_Size:"small",icon_Left:"Delete"}))))):null)},xt=o.div`
|
|
784
787
|
display: flex;
|
|
785
788
|
gap: 1rem;
|
|
786
789
|
align-items: center;
|
|
@@ -805,7 +808,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
805
808
|
transform: rotate(55deg);
|
|
806
809
|
}
|
|
807
810
|
}
|
|
808
|
-
`,
|
|
811
|
+
`,kt=o.div`
|
|
809
812
|
|
|
810
813
|
h6{
|
|
811
814
|
color: var(--focus) !important;
|
|
@@ -819,13 +822,13 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
819
822
|
@media ${B} {
|
|
820
823
|
display: none;
|
|
821
824
|
}
|
|
822
|
-
`,
|
|
825
|
+
`,wt=t=>{const{theme:r}=n(ce);return e.createElement(xt,{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(kt,null,e.createElement("h2",null,"Doitforme"),e.createElement("h6",null,"v3.0.0 'Morning'")))},Mt=o.div`
|
|
823
826
|
justify-self: center;
|
|
824
827
|
|
|
825
828
|
@media ${R} {
|
|
826
829
|
justify-self: flex-end;
|
|
827
830
|
}
|
|
828
|
-
`,
|
|
831
|
+
`,bt=t=>e.createElement(Mt,null,e.createElement(s,{variant_Size:"normal",text_Button:t.text_Cta,onClick:t.onClick_Cta})),Ct=o.div`
|
|
829
832
|
position: absolute;
|
|
830
833
|
top: 5rem;
|
|
831
834
|
right: 0rem;
|
|
@@ -880,7 +883,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
880
883
|
transform: translateX(110%);
|
|
881
884
|
transition: all .4s ease;
|
|
882
885
|
}
|
|
883
|
-
`,
|
|
886
|
+
`,Lt=o.div`
|
|
884
887
|
max-height: calc(100vh - 10rem);
|
|
885
888
|
overflow: auto;
|
|
886
889
|
|
|
@@ -894,7 +897,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
894
897
|
}
|
|
895
898
|
}
|
|
896
899
|
}
|
|
897
|
-
`,
|
|
900
|
+
`,St=o.div`
|
|
898
901
|
display: flex;
|
|
899
902
|
align-items: center;
|
|
900
903
|
gap: 1rem;
|
|
@@ -910,7 +913,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
910
913
|
&:hover{
|
|
911
914
|
background: ${e=>e.theme.low};
|
|
912
915
|
}
|
|
913
|
-
`,
|
|
916
|
+
`,At=o.div`
|
|
914
917
|
display: flex;
|
|
915
918
|
align-items: center;
|
|
916
919
|
justify-content: space-between;
|
|
@@ -965,19 +968,19 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
965
968
|
}
|
|
966
969
|
}
|
|
967
970
|
}
|
|
968
|
-
`,
|
|
971
|
+
`,It=o.div`
|
|
969
972
|
height: 2px;
|
|
970
973
|
width: 100%;
|
|
971
974
|
background: ${e=>e.theme.low};
|
|
972
|
-
|
|
975
|
+
`,$t=o.div`
|
|
973
976
|
display: block;
|
|
974
|
-
`,
|
|
977
|
+
`,Tt=o.div`
|
|
975
978
|
display: none;
|
|
976
979
|
|
|
977
980
|
@media ${R}{
|
|
978
981
|
display: block !important;
|
|
979
982
|
}
|
|
980
|
-
|
|
983
|
+
`,Rt=t=>{const{setActiveMenu:r}=n(oe);return e.createElement(Lt,null,e.createElement(St,{onClick:()=>r("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Language)),e.createElement(At,{onClick:t.onClick_Greek_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"})),e.createElement("h5",null,"Ελληνικά"))),e.createElement(At,{onClick:t.onClick_English_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),e.createElement("h5",null,"English"))),e.createElement(At,{onClick:t.onClick_German_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"})),e.createElement("h5",null,"Deutsch"))))},Bt=o.div`
|
|
981
984
|
display: flex;
|
|
982
985
|
align-items: center;
|
|
983
986
|
gap: .5rem;
|
|
@@ -1017,19 +1020,19 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1017
1020
|
transform: translateX(2.3rem);
|
|
1018
1021
|
}
|
|
1019
1022
|
}
|
|
1020
|
-
`,
|
|
1023
|
+
`,Nt=t=>{const{theme:r,setTheme:a}=n(ce);return e.createElement(Bt,{onClick:()=>a("dark"===r?"light":"dark")},e.createElement("picture",null,e.createElement(d,{Icon:"Sun"})),e.createElement("section",null,e.createElement("div",{className:"dark"===r?"Dark":"Light"})),e.createElement("picture",null,e.createElement(d,{Icon:"Moon"})))},Zt=o.div`
|
|
1021
1024
|
display: flex;
|
|
1022
1025
|
align-items: center;
|
|
1023
1026
|
justify-content: space-between;
|
|
1024
1027
|
gap: 1rem;
|
|
1025
1028
|
padding: var(--normalPads);
|
|
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`
|
|
1029
|
+
`,zt=t=>{const{region:r}=n(ae),{setHamState:a}=n(ie),{setActiveMenu:o}=n(oe),{language:i}=n(re);return e.createElement(Lt,null,e.createElement(St,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Zt,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Nt,null)),"Protected"===t.role?e.createElement(Tt,null,e.createElement(It,null),e.createElement(At,{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(At,{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(At,{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(At,{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($t,null,e.createElement(It,null),e.createElement(At,{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(Tt,null,e.createElement(It,null),e.createElement(At,{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 Pt=[{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 Gt=t=>{const{region:r,setRegion:a}=n(ae),{setActiveMenu:o}=n(oe);return e.createElement(Lt,null,e.createElement(St,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),Pt.map(((t,n)=>e.createElement(At,{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))))))},Ht=t=>{const{activeMenu:a}=n(oe),[o,c]=r(null),l=e=>{const t=e.offsetHeight;c(t)};return e.createElement(Ct,{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(Rt,{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(Gt,{text_Title_Region:t.text_Title_Region}))))},Ft=o.div`
|
|
1027
1030
|
justify-self: flex-end;
|
|
1028
1031
|
display: flex;
|
|
1029
1032
|
align-items: center;
|
|
1030
1033
|
gap: 1rem;
|
|
1031
1034
|
position: relative;
|
|
1032
|
-
`,
|
|
1035
|
+
`,Dt=o.div`
|
|
1033
1036
|
display: flex;
|
|
1034
1037
|
align-items: center;
|
|
1035
1038
|
gap: 1rem;
|
|
@@ -1067,13 +1070,13 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1067
1070
|
display: none;
|
|
1068
1071
|
}
|
|
1069
1072
|
}
|
|
1070
|
-
`,
|
|
1073
|
+
`,Vt=t=>{const{hamState:r,setHamState:a}=n(ie);return e.createElement(Ft,null,e.createElement(Dt,{onClick:t.onClick_Account},e.createElement("picture",null,e.createElement("img",{src:t.img_Account,alt:t.imgAlt_Account})),e.createElement("h5",null,t.firstname_Account)),e.createElement(_,{variant_Size:"small",icon_Left:"Ham",onClick:()=>a(!r)}),r?e.createElement(Ht,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}):null)},Kt=o.div`
|
|
1071
1074
|
justify-self: flex-end;
|
|
1072
1075
|
display: flex;
|
|
1073
1076
|
align-items: center;
|
|
1074
1077
|
gap: 1rem;
|
|
1075
1078
|
position: relative;
|
|
1076
|
-
`,
|
|
1079
|
+
`,jt=o.div`
|
|
1077
1080
|
display: flex;
|
|
1078
1081
|
align-items: center;
|
|
1079
1082
|
gap: 1rem;
|
|
@@ -1081,7 +1084,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1081
1084
|
@media ${R} {
|
|
1082
1085
|
display: none;
|
|
1083
1086
|
}
|
|
1084
|
-
`,
|
|
1087
|
+
`,qt=t=>{const{hamState:r,setHamState:a}=n(ie);return e.createElement(Kt,null,e.createElement(jt,null,e.createElement(M,{variant_Size:"small",text_Button:t.text_Login,onClick:t.onClick_Login})),e.createElement(_,{variant_Size:"small",icon_Left:"Ham",onClick:()=>a(!r)}),r?e.createElement(Ht,{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)},Ot=o.nav`
|
|
1085
1088
|
display: grid;
|
|
1086
1089
|
align-items: center;
|
|
1087
1090
|
grid-gap: 1rem;
|
|
@@ -1098,7 +1101,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1098
1101
|
@media ${R} {
|
|
1099
1102
|
padding: 1rem 2rem;
|
|
1100
1103
|
}
|
|
1101
|
-
`,
|
|
1104
|
+
`,Wt=t=>e.createElement(Ot,null,e.createElement(wt,{onClick_Logo:t.onClick_Logo}),e.createElement(bt,{onClick_Cta:t.onClick_Cta,text_Cta:t.text_Cta}),"Protected"===t.role?e.createElement(Vt,{role:t.role,img_Account:t.img_Account,img_Account_Main:t.img_Account,imgAlt_Account:t.imgAlt_Account,imgAlt_Account_Main:t.imgAlt_Account,firstname_Account:t.firstname_Account,text_Account_Main:t.firstname_Account,onClick_Account:t.onClick_Account,onCLick_Account_Main:t.onClick_Account,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}):e.createElement(qt,{role:t.role,onClick_Login:t.onClick_Login,text_Login:t.text_Login,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language})),Ut=o.div`
|
|
1102
1105
|
position: fixed;
|
|
1103
1106
|
left: 0;
|
|
1104
1107
|
top: 6rem;
|
|
@@ -1106,7 +1109,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1106
1109
|
width: 8.5rem;
|
|
1107
1110
|
height: 100vh;
|
|
1108
1111
|
border-right: 1px solid ${e=>e.theme.mid};
|
|
1109
|
-
`,
|
|
1112
|
+
`,Xt=t=>e.createElement(Ut,null,t.children),Jt=o.li`
|
|
1110
1113
|
cursor: pointer;
|
|
1111
1114
|
transition-property: transform;
|
|
1112
1115
|
transition-duration: .5s;
|
|
@@ -1163,12 +1166,12 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1163
1166
|
transition-duration: .5s;
|
|
1164
1167
|
}
|
|
1165
1168
|
}
|
|
1166
|
-
`,
|
|
1169
|
+
`,Yt=t=>e.createElement(Jt,{onClick:t.onClick},e.createElement("h5",{className:t.class_Name+" SidebarButtonTitle"},t.text_Title),e.createElement("picture",null,e.createElement(d,{Icon:t.svg_Icon}))),Qt=o.div`
|
|
1167
1170
|
display: flex;
|
|
1168
1171
|
align-items: center;
|
|
1169
1172
|
justify-content: space-between;
|
|
1170
1173
|
padding: 4rem 0 2rem 0;
|
|
1171
|
-
`,
|
|
1174
|
+
`,en=t=>e.createElement(Qt,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})),tn=o.div`
|
|
1172
1175
|
height: 1.5rem;
|
|
1173
1176
|
border-radius: 1rem;
|
|
1174
1177
|
margin-bottom: 2rem;
|
|
@@ -1177,13 +1180,13 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1177
1180
|
grid-template-columns: repeat( ${e=>e.array_Steps.length} ,1fr);
|
|
1178
1181
|
background: ${e=>e.theme.mid};
|
|
1179
1182
|
overflow: hidden;
|
|
1180
|
-
`,
|
|
1183
|
+
`,nn=o.div`
|
|
1181
1184
|
background: ${e=>e.step===e.int_CurrentStep?"linear-gradient( to right, var(--main), transparent)":e.step<e.int_CurrentStep?"var(--main)":"transparent"};
|
|
1182
1185
|
height: 100%;
|
|
1183
1186
|
width: 100%;
|
|
1184
|
-
`,
|
|
1187
|
+
`,rn=t=>e.createElement(tn,{array_Steps:t.array_Steps},t.array_Steps.map(((n,r)=>e.createElement(nn,{step:r,int_CurrentStep:t.int_CurrentStep})))),an=o.div`
|
|
1185
1188
|
|
|
1186
|
-
`,
|
|
1189
|
+
`,on=o.div`
|
|
1187
1190
|
position: relative;
|
|
1188
1191
|
|
|
1189
1192
|
.Steps{
|
|
@@ -1208,21 +1211,21 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1208
1211
|
transform: translateX(-110%);
|
|
1209
1212
|
transition: all .4s ease;
|
|
1210
1213
|
}
|
|
1211
|
-
`,
|
|
1214
|
+
`,cn=o.div`
|
|
1212
1215
|
padding: var(--smallDist);
|
|
1213
1216
|
border-radius: var(--normalRadius);
|
|
1214
1217
|
box-shadow: ${e=>e.theme.out};
|
|
1215
1218
|
background: ${e=>e.theme.low};
|
|
1216
|
-
`,
|
|
1219
|
+
`,ln=t=>e.createElement(an,null,e.createElement(rn,{array_Steps:t.array_Steps,int_CurrentStep:t.int_CurrentStep}),e.createElement(on,null,t.array_Steps.map(((n,r)=>e.createElement(i,{in:t.int_CurrentStep===r,timeout:500,unmountOnExit:!0,classNames:"Steps"},e.createElement(cn,{className:"Steps"},n)))))),sn=o.div`
|
|
1217
1220
|
position: fixed;
|
|
1218
1221
|
top: 0;
|
|
1219
1222
|
left: 0;
|
|
1220
1223
|
z-index: 500;
|
|
1221
1224
|
width: 100%;
|
|
1222
1225
|
height: 100vh;
|
|
1223
|
-
`,
|
|
1226
|
+
`,dn=o(sn)`
|
|
1224
1227
|
background: ${e=>e.theme.overlay};
|
|
1225
|
-
`,
|
|
1228
|
+
`,un=o.div`
|
|
1226
1229
|
position: fixed;
|
|
1227
1230
|
top: 0;
|
|
1228
1231
|
right: 0;
|
|
@@ -1231,18 +1234,18 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1231
1234
|
height: 100%;
|
|
1232
1235
|
max-width: 60%;
|
|
1233
1236
|
background-color: ${e=>e.theme.background};
|
|
1234
|
-
`,
|
|
1237
|
+
`,mn=o.div`
|
|
1235
1238
|
display: flex;
|
|
1236
1239
|
align-items: center;
|
|
1237
1240
|
justify-content: space-between;
|
|
1238
1241
|
height: 6rem;
|
|
1239
1242
|
padding: 0 4rem;
|
|
1240
|
-
`,
|
|
1243
|
+
`,hn=o.div`
|
|
1241
1244
|
padding: 2rem 4rem 10rem 4rem;
|
|
1242
1245
|
background: ${e=>e.theme.low};
|
|
1243
1246
|
height: 100%;
|
|
1244
1247
|
overflow: auto;
|
|
1245
|
-
`,
|
|
1248
|
+
`,gn=t=>e.createElement(sn,{className:"StoryBook_Fix1"},e.createElement(dn,{className:"StoryBook_Fix2",onClick:t.onClick_Close}),e.createElement(un,null,e.createElement(mn,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(hn,null,t.children))),pn=o.div`
|
|
1246
1249
|
padding-top: 6rem;
|
|
1247
1250
|
position: relative;
|
|
1248
1251
|
|
|
@@ -1250,7 +1253,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1250
1253
|
height: calc(100vh - 6rem);
|
|
1251
1254
|
overflow: hidden;
|
|
1252
1255
|
}
|
|
1253
|
-
`,
|
|
1256
|
+
`,vn=o.div`
|
|
1254
1257
|
display: grid;
|
|
1255
1258
|
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
1256
1259
|
grid-gap: 4rem;
|
|
@@ -1259,7 +1262,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1259
1262
|
@media ${B} {
|
|
1260
1263
|
grid-template-columns: 1fr;
|
|
1261
1264
|
}
|
|
1262
|
-
`,
|
|
1265
|
+
`,yn=o.div`
|
|
1263
1266
|
display: grid;
|
|
1264
1267
|
grid-template-columns: 1fr 40%;
|
|
1265
1268
|
grid-gap: 4rem;
|
|
@@ -1268,23 +1271,23 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1268
1271
|
@media ${B} {
|
|
1269
1272
|
grid-template-columns: 1fr;
|
|
1270
1273
|
}
|
|
1271
|
-
`,
|
|
1274
|
+
`,_n=o.div`
|
|
1272
1275
|
padding: 0 4rem 2rem 13rem;
|
|
1273
|
-
`,
|
|
1276
|
+
`,fn=o.div`
|
|
1274
1277
|
width: 100%;
|
|
1275
|
-
`,
|
|
1278
|
+
`,En=o.div`
|
|
1276
1279
|
width: 100%;
|
|
1277
1280
|
|
|
1278
1281
|
@media ${B} {
|
|
1279
1282
|
display: none;
|
|
1280
1283
|
}
|
|
1281
|
-
`,
|
|
1284
|
+
`,xn=o.div`
|
|
1282
1285
|
padding-top: 8rem;
|
|
1283
|
-
`,
|
|
1286
|
+
`,kn=o.div`
|
|
1284
1287
|
padding: 2rem 0;
|
|
1285
|
-
`,
|
|
1288
|
+
`,wn=o.div`
|
|
1286
1289
|
|
|
1287
|
-
`,
|
|
1290
|
+
`,Mn=o.div`
|
|
1288
1291
|
position: relative;
|
|
1289
1292
|
|
|
1290
1293
|
header{
|
|
@@ -1293,11 +1296,11 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1293
1296
|
}
|
|
1294
1297
|
|
|
1295
1298
|
|
|
1296
|
-
`,
|
|
1299
|
+
`,bn=o.div`
|
|
1297
1300
|
padding-left: 4rem;
|
|
1298
|
-
`,
|
|
1301
|
+
`,Cn=o.div`
|
|
1299
1302
|
padding-right: 4rem;
|
|
1300
|
-
`,
|
|
1303
|
+
`,Ln=o(vn)`
|
|
1301
1304
|
padding: 0;
|
|
1302
1305
|
|
|
1303
1306
|
aside{
|
|
@@ -1348,14 +1351,14 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1348
1351
|
flex-direction: column;
|
|
1349
1352
|
gap: 4rem;
|
|
1350
1353
|
}
|
|
1351
|
-
`,
|
|
1354
|
+
`,Sn=o.div`
|
|
1352
1355
|
padding: 10rem 1rem 2rem 1rem;
|
|
1353
1356
|
text-align: center;
|
|
1354
|
-
`,
|
|
1357
|
+
`,An=o.div`
|
|
1355
1358
|
display: flex;
|
|
1356
1359
|
align-items: center;
|
|
1357
1360
|
gap: 1rem;
|
|
1358
|
-
`,
|
|
1361
|
+
`,In=o.div`
|
|
1359
1362
|
display: grid;
|
|
1360
1363
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1361
1364
|
align-items: flex-start;
|
|
@@ -1376,9 +1379,9 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1376
1379
|
@media ${T}{
|
|
1377
1380
|
grid-template-columns: 1fr;
|
|
1378
1381
|
}
|
|
1379
|
-
|
|
1382
|
+
`,$n=o(In)`
|
|
1380
1383
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1381
|
-
`,
|
|
1384
|
+
`,Tn={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)"},Rn={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)"},Bn=o.div`
|
|
1382
1385
|
width: 100%;
|
|
1383
1386
|
min-height: 100vh;
|
|
1384
1387
|
background: ${e=>e.theme.background};
|
|
@@ -1401,7 +1404,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1401
1404
|
transition-property: background;
|
|
1402
1405
|
transition-duration: .5s;
|
|
1403
1406
|
}
|
|
1404
|
-
`,
|
|
1407
|
+
`,Nn=o.div`
|
|
1405
1408
|
height: 1.5rem;
|
|
1406
1409
|
border-radius: 1rem;
|
|
1407
1410
|
margin-bottom: 2rem;
|
|
@@ -1410,15 +1413,15 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1410
1413
|
grid-template-columns: repeat( ${e=>e.array_Steps} ,1fr);
|
|
1411
1414
|
background: ${e=>e.theme.mid};
|
|
1412
1415
|
overflow: hidden;
|
|
1413
|
-
`,
|
|
1416
|
+
`,Zn=o.div`
|
|
1414
1417
|
background: linear-gradient( to right, var(--main), ${e=>e.theme.mid});
|
|
1415
1418
|
height: 100%;
|
|
1416
1419
|
width: 100%;
|
|
1417
|
-
`,
|
|
1420
|
+
`,zn=o.div`
|
|
1418
1421
|
background: var(--main);
|
|
1419
1422
|
height: 100%;
|
|
1420
1423
|
width: 100%;
|
|
1421
|
-
`,
|
|
1424
|
+
`,Pn=o.div`
|
|
1422
1425
|
position: relative;
|
|
1423
1426
|
|
|
1424
1427
|
.Steps{
|
|
@@ -1443,26 +1446,26 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1443
1446
|
transform: translateX(-110%);
|
|
1444
1447
|
transition: all .4s ease;
|
|
1445
1448
|
}
|
|
1446
|
-
`,
|
|
1449
|
+
`,Gn=o.div`
|
|
1447
1450
|
padding: var(--smallDist);
|
|
1448
1451
|
border-radius: var(--normalRadius);
|
|
1449
1452
|
box-shadow: ${e=>e.theme.out};
|
|
1450
1453
|
background: ${e=>e.theme.low};
|
|
1451
|
-
`,
|
|
1454
|
+
`,Hn=o.div`
|
|
1452
1455
|
display: flex;
|
|
1453
1456
|
align-items: center;
|
|
1454
1457
|
justify-content: space-between;
|
|
1455
1458
|
padding: 4rem 0 2rem 0;
|
|
1456
|
-
`,
|
|
1459
|
+
`,Fn=o.div`
|
|
1457
1460
|
position: fixed;
|
|
1458
1461
|
top: 0;
|
|
1459
1462
|
left: 0;
|
|
1460
1463
|
z-index: 500;
|
|
1461
1464
|
width: 100%;
|
|
1462
1465
|
height: 100vh;
|
|
1463
|
-
`,
|
|
1466
|
+
`,Dn=o(Fn)`
|
|
1464
1467
|
background: ${e=>e.theme.overlay};
|
|
1465
|
-
`,
|
|
1468
|
+
`,Vn=o.div`
|
|
1466
1469
|
position: fixed;
|
|
1467
1470
|
top: 0;
|
|
1468
1471
|
right: 0;
|
|
@@ -1471,28 +1474,28 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1471
1474
|
height: 100%;
|
|
1472
1475
|
max-width: 60%;
|
|
1473
1476
|
background-color: ${e=>e.theme.background};
|
|
1474
|
-
`,
|
|
1477
|
+
`,Kn=o.div`
|
|
1475
1478
|
display: flex;
|
|
1476
1479
|
align-items: center;
|
|
1477
1480
|
justify-content: space-between;
|
|
1478
1481
|
height: 6rem;
|
|
1479
1482
|
padding: 0 4rem;
|
|
1480
|
-
`,
|
|
1483
|
+
`,jn=o.div`
|
|
1481
1484
|
padding: 2rem 4rem 10rem 4rem;
|
|
1482
1485
|
background: ${e=>e.theme.low};
|
|
1483
1486
|
height: 100%;
|
|
1484
1487
|
overflow: auto;
|
|
1485
|
-
`,
|
|
1488
|
+
`,qn=o.div`
|
|
1486
1489
|
display: grid;
|
|
1487
1490
|
grid-template-columns: 1fr 1fr;
|
|
1488
1491
|
grid-gap: 2rem;
|
|
1489
|
-
`,
|
|
1492
|
+
`,On=o.div`
|
|
1490
1493
|
display: grid;
|
|
1491
1494
|
grid-gap: 2rem;
|
|
1492
|
-
`,
|
|
1495
|
+
`,Wn=o(On)`
|
|
1493
1496
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1494
|
-
`,
|
|
1497
|
+
`,Un=o(On)`
|
|
1495
1498
|
grid-template-columns: 1fr 1fr;
|
|
1496
|
-
`,
|
|
1499
|
+
`,Xn=o(On)`
|
|
1497
1500
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1498
|
-
`;export{pe as Builder_,
|
|
1501
|
+
`;export{pe as Builder_,Un as CardsForty,Xn as CardsSixty,Wn as CardsTools,fe as Checkbox_,G as Confirmation_,s as Cta_,S as Delete_Plain,ne as Dropdown_,m as Edit_,Et 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,Wt as Nav_,$ as On_Click_Card,pn as Page,fn as PageAlwaysVisible,In as PageCards,En as PageDesktopOnly,xn as PageDesktopPadding,vn as PageForty,wn as PageSingle,Mn as PageSingleHeader,Cn as PageSingleRight,bn as PageSingleleft,yn as PageSixty,Ln as PageSub,An as PageSubActions,Sn as PageSubTitle,kn as PageTitle,_n as PageTools,$n as PageToolsCards,ke as Radio_,ae as RegionContext,Xt as Sidebar_,Yt as Sidebar_Box,Fn as Slider,jn as SliderContainer,le as SliderContext,qn as SliderGrid,Dn as SliderOverlay,Kn as SliderTitle,Vn as SliderWrapper,gn as Slider_,Nn as Steps,Hn as StepsActions,zn as StepsComplete,Pn as StepsContainer,Zn as StepsCurrent,Gn as StepsWrapper,ln as Steps_,en as Steps_Actions,be as Textarea_,Bn as Theme,ce as ThemeContext,Rn as ThemeDark,Tn as ThemeLight,C as White_Plain};
|