monica-alexandria 3.74.21 → 3.74.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -1067,7 +1067,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a,useMem
|
|
|
1067
1067
|
fill: ${e=>e.theme.color};
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
|
-
`,St=t=>e.createElement(Ct,{className:"FormGroup"},e.createElement(xt,{value:t.value,className:t.className+" FormInput",placeholder:t.placeholder,id:t.id,autoComplete:"off",type:"text",onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,disabled:t.disabled,ref:t.ref
|
|
1070
|
+
`,St=t=>e.createElement(Ct,{className:"FormGroup"},e.createElement(xt,{value:t.value,className:t.className+" FormInput",placeholder:t.placeholder,id:t.id,autoComplete:t.autoComplete?t.autoComplete:"off",type:t.type?t.type:"text",name:t.name,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,disabled:t.disabled,ref:t.ref}),e.createElement(kt,{className:"FormLabel"},t.placeholder),t.list?e.createElement(I,{size:"small",text:t.add,iconLeft:"Add",className:"FormAddButton",onClick:t.onAdd}):null,t.required?e.createElement(yt,{className:"ValidatorRequired"},e.createElement(y,{Icon:"Asterisk"})):null,t.errors?e.createElement(mt,{className:"ValidatorErrors"},t.errors?.map(((t,n)=>e.createElement(vt,{key:n},e.createElement(y,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.successes?e.createElement(mt,{className:"ValidatorSuccesses"},t.successes?.map(((t,n)=>e.createElement(ht,{key:n},e.createElement(y,{Icon:"Check"}),e.createElement("h6",null,t))))):null,t.helpers?e.createElement(mt,{className:"ValidatorHelpers"},t.helpers?.map(((t,n)=>e.createElement(gt,{key:n},e.createElement(y,{Icon:"Warning"}),e.createElement("h6",null,t))))):null,t.tips?e.createElement(mt,{className:"ValidatorTips"},t.tips?.map(((t,n)=>e.createElement(pt,{key:n},e.createElement(y,{Icon:"Tip"}),e.createElement("h6",null,t))))):null,t.list?e.createElement(Mt,{className:"FormList"},t.defaultListItem?e.createElement("li",null,e.createElement(y,{Icon:t.icon_ListItem}),e.createElement("h6",null,t.defaultListItem),t.deleteDefaultListItem?e.createElement(j,{onClick:t.onDeleteDefault,size:"small",iconLeft:"Delete"}):null):null,t.list?.map(((n,r)=>e.createElement("li",{key:r},e.createElement(y,{Icon:t.icon_ListItem}),e.createElement("div",null,e.createElement("h6",null,n),t.childrenItem),e.createElement(j,{onClick:()=>t.onDelete(r),size:"small",iconLeft:"Delete"}))))):null),Lt=m.div`
|
|
1071
1071
|
position: relative;
|
|
1072
1072
|
|
|
1073
1073
|
select {
|
|
@@ -1342,35 +1342,29 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a,useMem
|
|
|
1342
1342
|
opacity: 1 !important;
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
|
-
`,cn=t=>e.createElement(on,{className:t.className,key:t.key},t.withInput?e.createElement(St,{placeholder:t.placeholder}):e.createElement("label",{onClick:t.onClick,for:t.id},e.createElement("p",null,t.text)),e.createElement(ln,{className:"RadioCircle",id:t.id},e.createElement("input",{value:t.value,onChange:t.onChange,name:t.name,type:"radio",id:t.id,checked:t.checked,onClick:t.onClick}),e.createElement("span",{className:"RadioCustom"}),e.createElement("div",{className:"Bullet"}))),sn=m
|
|
1345
|
+
`,cn=t=>e.createElement(on,{className:t.className,key:t.key},t.withInput?e.createElement(St,{placeholder:t.placeholder}):e.createElement("label",{onClick:t.onClick,for:t.id},e.createElement("p",null,t.text)),e.createElement(ln,{className:"RadioCircle",id:t.id},e.createElement("input",{value:t.value,onChange:t.onChange,name:t.name,type:"radio",id:t.id,checked:t.checked,onClick:t.onClick}),e.createElement("span",{className:"RadioCustom"}),e.createElement("div",{className:"Bullet"}))),sn=m(Ct)`
|
|
1346
1346
|
position: relative;
|
|
1347
1347
|
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
& ~ .ValidatorHelpers {
|
|
1354
|
-
display: block;
|
|
1348
|
+
textarea:placeholder-shown {
|
|
1349
|
+
~ label {
|
|
1350
|
+
transform: translateY(0rem);
|
|
1351
|
+
visibility: hidden;
|
|
1352
|
+
opacity: 0;
|
|
1355
1353
|
}
|
|
1356
1354
|
|
|
1357
|
-
|
|
1355
|
+
~ .ValidatorHelpers {
|
|
1358
1356
|
display: none;
|
|
1359
1357
|
}
|
|
1360
1358
|
|
|
1361
|
-
|
|
1359
|
+
~ .ValidatorErrors {
|
|
1360
|
+
display: block;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
~ .FormAddButton {
|
|
1362
1364
|
display: none;
|
|
1363
1365
|
}
|
|
1364
1366
|
}
|
|
1365
1367
|
`,un=m(Et)`
|
|
1366
|
-
position: absolute;
|
|
1367
|
-
top: 1.8rem;
|
|
1368
|
-
left: 1.6rem;
|
|
1369
|
-
transform: translateY(-1rem);
|
|
1370
|
-
visibility: visible;
|
|
1371
|
-
opacity: 1;
|
|
1372
|
-
transition-property: opacity, transform;
|
|
1373
|
-
transition-duration: 0.5s;
|
|
1374
1368
|
font-size: var(--smallText);
|
|
1375
1369
|
color: var(--greyDark);
|
|
1376
1370
|
`,dn=m.h6`
|
|
@@ -1379,7 +1373,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a,useMem
|
|
|
1379
1373
|
span {
|
|
1380
1374
|
color: ${e=>e.capped?"var(--error)":"inherit"};
|
|
1381
1375
|
}
|
|
1382
|
-
`,mn=t=>e.createElement(sn,null,t.label?e.createElement(un,null,t.label):null,e.createElement(wt,{className:t.className,placeholder:t.placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange,maxLength:t.limit,value:t.value,defaultValue:t.defaultValue},t.inTextarea),t.limit?e.createElement(dn,{capped:t.count>t.limit},e.createElement("span",null,t.valueLength)," / ",t.limit):null,t.required?e.createElement(yt,{className:"ValidatorRequired"},e.createElement(y,{Icon:"Asterisk"})):null,t.errors?e.createElement(mt,{className:"ValidatorErrors"},t.errors?.map((t=>e.createElement(vt,null,e.createElement(y,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.successes?e.createElement(mt,{className:"ValidatorSuccesses"},t.successes?.map(((t,n)=>e.createElement(ht,{key:n},e.createElement(y,{Icon:"Check"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(mt,{className:"ValidatorHelpers"},t.helpers?.map((t=>e.createElement(gt,null,e.createElement(y,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips?.map((t=>e.createElement(pt,null,e.createElement(y,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(mt,{className:"ValidatorHelpers"},t.tips?.map((t=>e.createElement(pt,null,e.createElement(y,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(mt,{className:"ValidatorHelpers"},t.helpers?.map((t=>e.createElement(gt,null,e.createElement(y,{Icon:"Warning"}),e.createElement("h6",null,t))))):null);function fn(e){return Array.isArray?Array.isArray(e):"[object Array]"===_n(e)}const pn=1/0;function hn(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-pn?"-0":t}(e)}function gn(e){return"string"==typeof e}function vn(e){return"number"==typeof e}function yn(e){return!0===e||!1===e||function(e){return bn(e)&&null!==e}(e)&&"[object Boolean]"==_n(e)}function bn(e){return"object"==typeof e}function wn(e){return null!=e}function En(e){return!e.trim().length}function _n(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const xn=e=>`Missing ${e} property in key`,kn=e=>`Property 'weight' in key '${e}' must be a positive integer`,Cn=Object.prototype.hasOwnProperty;class Mn{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=Sn(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 Sn(e){let t=null,n=null,r=null,a=1,o=null;if(gn(e)||fn(e))r=e,t=Ln(e),n=An(e);else{if(!Cn.call(e,"name"))throw new Error(xn("name"));const i=e.name;if(r=i,Cn.call(e,"weight")&&(a=e.weight,a<=0))throw new Error(kn(i));t=Ln(i),n=An(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function Ln(e){return fn(e)?e:e.split(".")}function An(e){return fn(e)?e.join("."):e}var In={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(wn(e))if(t[o]){const i=e[t[o]];if(!wn(i))return;if(o===t.length-1&&(gn(i)||vn(i)||yn(i)))n.push(hn(i));else if(fn(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,gn(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Dn=/[^ ]+/g;class On{constructor({getFn:e=In.getFn,fieldNormWeight:t=In.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(Dn).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,gn(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();gn(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(!wn(e)||En(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(wn(a))if(fn(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(wn(r))if(gn(r)&&!En(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else fn(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(gn(a)&&!En(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 $n(e,t,{getFn:n=In.getFn,fieldNormWeight:r=In.fieldNormWeight}={}){const a=new On({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Sn)),a.setSources(t),a.create(),a}function Nn(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=In.distance,ignoreLocation:o=In.ignoreLocation}={}){const i=t/e.length;if(o)return i;const l=Math.abs(r-n);return a?i+l/a:l?1:i}const Tn=32;function jn(e,t,n,{location:r=In.location,distance:a=In.distance,threshold:o=In.threshold,findAllMatches:i=In.findAllMatches,minMatchCharLength:l=In.minMatchCharLength,includeMatches:c=In.includeMatches,ignoreLocation:s=In.ignoreLocation}={}){if(t.length>Tn)throw new Error(`Pattern length exceeds max of ${Tn}.`);const u=t.length,d=e.length,m=Math.max(0,Math.min(r,d));let f=o,p=m;const h=l>1||c,g=h?Array(d):[];let v;for(;(v=e.indexOf(t,p))>-1;){let e=Nn(t,{currentLocation:v,expectedLocation:m,distance:a,ignoreLocation:s});if(f=Math.min(e,f),p=v+u,h){let e=0;for(;e<u;)g[v+e]=1,e+=1}}p=-1;let y=[],b=1,w=u+d;const E=1<<u-1;for(let r=0;r<u;r+=1){let o=0,l=w;for(;o<l;){Nn(t,{errors:r,currentLocation:m+l,expectedLocation:m,distance:a,ignoreLocation:s})<=f?o=l:w=l,l=Math.floor((w-o)/2+o)}w=l;let c=Math.max(1,m-l+1),v=i?d:Math.min(m+l,d)+u,_=Array(v+2);_[v+1]=(1<<r)-1;for(let o=v;o>=c;o-=1){let i=o-1,l=n[e.charAt(i)];if(h&&(g[i]=+!!l),_[o]=(_[o+1]<<1|1)&l,r&&(_[o]|=(y[o+1]|y[o])<<1|1|y[o+1]),_[o]&E&&(b=Nn(t,{errors:r,currentLocation:i,expectedLocation:m,distance:a,ignoreLocation:s}),b<=f)){if(f=b,p=i,p<=m)break;c=Math.max(1,2*m-p)}}if(Nn(t,{errors:r+1,currentLocation:m,expectedLocation:m,distance:a,ignoreLocation:s})>f)break;y=_}const _={isMatch:p>=0,score:Math.max(.001,b)};if(h){const e=function(e=[],t=In.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}(g,l);e.length?c&&(_.indices=e):_.isMatch=!1}return _}function Rn(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 zn{constructor(e,{location:t=In.location,threshold:n=In.threshold,distance:r=In.distance,includeMatches:a=In.includeMatches,findAllMatches:o=In.findAllMatches,minMatchCharLength:i=In.minMatchCharLength,isCaseSensitive:l=In.isCaseSensitive,ignoreLocation:c=In.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:Rn(e),startIndex:t})},u=this.pattern.length;if(u>Tn){let e=0;const t=u%Tn,n=u-t;for(;e<n;)s(this.pattern.substr(e,Tn),e),e+=Tn;if(t){const e=u-Tn;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:l,ignoreLocation:c}=this.options;let s=[],u=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:m,startIndex:f})=>{const{isMatch:p,score:h,indices:g}=jn(e,t,m,{location:r+f,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:l,includeMatches:n,ignoreLocation:c});p&&(d=!0),u+=h,p&&g&&(s=[...s,...g])}));let m={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(m.indices=s),m}}class Pn{constructor(e){this.pattern=e}static isMultiMatch(e){return Fn(e,this.multiRegex)}static isSingleMatch(e){return Fn(e,this.singleRegex)}search(){}}function Fn(e,t){const n=e.match(t);return n?n[1]:null}class Bn extends Pn{constructor(e,{location:t=In.location,threshold:n=In.threshold,distance:r=In.distance,includeMatches:a=In.includeMatches,findAllMatches:o=In.findAllMatches,minMatchCharLength:i=In.minMatchCharLength,isCaseSensitive:l=In.isCaseSensitive,ignoreLocation:c=In.ignoreLocation}={}){super(e),this._bitapSearch=new zn(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Vn extends Pn{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 Hn=[class extends Pn{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]}}},Vn,class extends Pn{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 Pn{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 Pn{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 Pn{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 Pn{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]}}},Bn],Wn=Hn.length,Zn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Gn=new Set([Bn.type,Vn.type]);class Un{constructor(e,{isCaseSensitive:t=In.isCaseSensitive,includeMatches:n=In.includeMatches,minMatchCharLength:r=In.minMatchCharLength,ignoreLocation:a=In.ignoreLocation,findAllMatches:o=In.findAllMatches,location:i=In.location,threshold:l=In.threshold,distance:c=In.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:l,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Zn).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<Wn;){const e=Hn[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Wn;){const e=Hn[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,l=t.length;r<l;r+=1){const l=t[r];o.length=0,a=0;for(let t=0,r=l.length;t<r;t+=1){const r=l[t],{isMatch:c,indices:s,score:u}=r.search(e);if(!c){i=0,a=0,o.length=0;break}if(a+=1,i+=u,n){const e=r.constructor.type;Gn.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 qn=[];function Kn(e,t){for(let n=0,r=qn.length;n<r;n+=1){let r=qn[n];if(r.condition(e,t))return new r(e,t)}return new zn(e,t)}const Yn="$and",Xn="$or",Jn="$path",Qn="$val",er=e=>!(!e[Yn]&&!e[Xn]),tr=e=>({[Yn]:Object.keys(e).map((t=>({[t]:e[t]})))});function nr(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[Jn])(e);if(!o&&a.length>1&&!er(e))return r(tr(e));if((e=>!fn(e)&&bn(e)&&!er(e))(e)){const r=o?e[Jn]:a[0],i=o?e[Qn]:e[r];if(!gn(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const l={keyId:An(r),pattern:i};return n&&(l.searcher=Kn(i,t)),l}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];fn(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return er(e)||(e=tr(e)),r(e)}function rr(e,t){const n=e.matches;t.matches=[],wn(n)&&n.forEach((e=>{if(!wn(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 ar(e,t){t.score=e.score}class or{constructor(e,t={},n){this.options={...In,...t},this.options.useExtendedSearch,this._keyStore=new Mn(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof On))throw new Error("Incorrect 'index' type");this._myIndex=t||$n(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){wn(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 l=gn(e)?gn(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=In.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}))}(l,{ignoreFieldNorm:i}),a&&l.sort(o),vn(t)&&t>-1&&(l=l.slice(0,t)),function(e,t,{includeMatches:n=In.includeMatches,includeScore:r=In.includeScore}={}){const a=[];return n&&a.push(rr),r&&a.push(ar),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(l,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=Kn(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!wn(e))return;const{isMatch:o,score:i,indices:l}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:l}]})})),r}_searchLogical(e){const t=nr(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],l=n(i,t,r);if(l.length)a.push(...l);else if(e.operator===Yn)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(wn(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=Kn(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!wn(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(!wn(t))return[];let r=[];if(fn(t))t.forEach((({v:t,i:a,n:o})=>{if(!wn(t))return;const{isMatch:i,score:l,indices:c}=n.searchIn(t);i&&r.push({score:l,key:e,value:t,idx:a,norm:o,indices:c})}));else{const{v:a,n:o}=t,{isMatch:i,score:l,indices:c}=n.searchIn(a);i&&r.push({score:l,key:e,value:a,norm:o,indices:c})}return r}}or.version="6.6.2",or.createIndex=$n,or.parseIndex=function(e,{getFn:t=In.getFn,fieldNormWeight:n=In.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new On({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},or.config=In,or.parseQuery=nr,function(...e){qn.push(...e)}(Un);var ir=require("greek-utils");const lr=m(Ct)``,cr=m.ul`
|
|
1376
|
+
`,mn=t=>e.createElement(sn,null,e.createElement(wt,{className:t.className,placeholder:t.placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange,maxLength:t.limit,value:t.value,defaultValue:t.defaultValue},t.inTextarea),e.createElement(un,null,t.placeholder),t.limit?e.createElement(dn,{capped:t.count>t.limit},e.createElement("span",null,t.valueLength)," / ",t.limit):null,t.required?e.createElement(yt,{className:"ValidatorRequired"},e.createElement(y,{Icon:"Asterisk"})):null,t.errors?e.createElement(mt,{className:"ValidatorErrors"},t.errors?.map((t=>e.createElement(vt,null,e.createElement(y,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.successes?e.createElement(mt,{className:"ValidatorSuccesses"},t.successes?.map(((t,n)=>e.createElement(ht,{key:n},e.createElement(y,{Icon:"Check"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(mt,{className:"ValidatorHelpers"},t.helpers?.map((t=>e.createElement(gt,null,e.createElement(y,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips?.map((t=>e.createElement(pt,null,e.createElement(y,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(mt,{className:"ValidatorHelpers"},t.tips?.map((t=>e.createElement(pt,null,e.createElement(y,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(mt,{className:"ValidatorHelpers"},t.helpers?.map((t=>e.createElement(gt,null,e.createElement(y,{Icon:"Warning"}),e.createElement("h6",null,t))))):null);function fn(e){return Array.isArray?Array.isArray(e):"[object Array]"===_n(e)}const pn=1/0;function hn(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-pn?"-0":t}(e)}function gn(e){return"string"==typeof e}function vn(e){return"number"==typeof e}function yn(e){return!0===e||!1===e||function(e){return bn(e)&&null!==e}(e)&&"[object Boolean]"==_n(e)}function bn(e){return"object"==typeof e}function wn(e){return null!=e}function En(e){return!e.trim().length}function _n(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const xn=e=>`Missing ${e} property in key`,kn=e=>`Property 'weight' in key '${e}' must be a positive integer`,Cn=Object.prototype.hasOwnProperty;class Mn{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=Sn(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 Sn(e){let t=null,n=null,r=null,a=1,o=null;if(gn(e)||fn(e))r=e,t=Ln(e),n=An(e);else{if(!Cn.call(e,"name"))throw new Error(xn("name"));const i=e.name;if(r=i,Cn.call(e,"weight")&&(a=e.weight,a<=0))throw new Error(kn(i));t=Ln(i),n=An(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function Ln(e){return fn(e)?e:e.split(".")}function An(e){return fn(e)?e.join("."):e}var In={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(wn(e))if(t[o]){const i=e[t[o]];if(!wn(i))return;if(o===t.length-1&&(gn(i)||vn(i)||yn(i)))n.push(hn(i));else if(fn(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,gn(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Dn=/[^ ]+/g;class On{constructor({getFn:e=In.getFn,fieldNormWeight:t=In.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(Dn).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,gn(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();gn(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(!wn(e)||En(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(wn(a))if(fn(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(wn(r))if(gn(r)&&!En(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else fn(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(gn(a)&&!En(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 $n(e,t,{getFn:n=In.getFn,fieldNormWeight:r=In.fieldNormWeight}={}){const a=new On({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Sn)),a.setSources(t),a.create(),a}function Nn(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=In.distance,ignoreLocation:o=In.ignoreLocation}={}){const i=t/e.length;if(o)return i;const l=Math.abs(r-n);return a?i+l/a:l?1:i}const Tn=32;function jn(e,t,n,{location:r=In.location,distance:a=In.distance,threshold:o=In.threshold,findAllMatches:i=In.findAllMatches,minMatchCharLength:l=In.minMatchCharLength,includeMatches:c=In.includeMatches,ignoreLocation:s=In.ignoreLocation}={}){if(t.length>Tn)throw new Error(`Pattern length exceeds max of ${Tn}.`);const u=t.length,d=e.length,m=Math.max(0,Math.min(r,d));let f=o,p=m;const h=l>1||c,g=h?Array(d):[];let v;for(;(v=e.indexOf(t,p))>-1;){let e=Nn(t,{currentLocation:v,expectedLocation:m,distance:a,ignoreLocation:s});if(f=Math.min(e,f),p=v+u,h){let e=0;for(;e<u;)g[v+e]=1,e+=1}}p=-1;let y=[],b=1,w=u+d;const E=1<<u-1;for(let r=0;r<u;r+=1){let o=0,l=w;for(;o<l;){Nn(t,{errors:r,currentLocation:m+l,expectedLocation:m,distance:a,ignoreLocation:s})<=f?o=l:w=l,l=Math.floor((w-o)/2+o)}w=l;let c=Math.max(1,m-l+1),v=i?d:Math.min(m+l,d)+u,_=Array(v+2);_[v+1]=(1<<r)-1;for(let o=v;o>=c;o-=1){let i=o-1,l=n[e.charAt(i)];if(h&&(g[i]=+!!l),_[o]=(_[o+1]<<1|1)&l,r&&(_[o]|=(y[o+1]|y[o])<<1|1|y[o+1]),_[o]&E&&(b=Nn(t,{errors:r,currentLocation:i,expectedLocation:m,distance:a,ignoreLocation:s}),b<=f)){if(f=b,p=i,p<=m)break;c=Math.max(1,2*m-p)}}if(Nn(t,{errors:r+1,currentLocation:m,expectedLocation:m,distance:a,ignoreLocation:s})>f)break;y=_}const _={isMatch:p>=0,score:Math.max(.001,b)};if(h){const e=function(e=[],t=In.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}(g,l);e.length?c&&(_.indices=e):_.isMatch=!1}return _}function Rn(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 zn{constructor(e,{location:t=In.location,threshold:n=In.threshold,distance:r=In.distance,includeMatches:a=In.includeMatches,findAllMatches:o=In.findAllMatches,minMatchCharLength:i=In.minMatchCharLength,isCaseSensitive:l=In.isCaseSensitive,ignoreLocation:c=In.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:Rn(e),startIndex:t})},u=this.pattern.length;if(u>Tn){let e=0;const t=u%Tn,n=u-t;for(;e<n;)s(this.pattern.substr(e,Tn),e),e+=Tn;if(t){const e=u-Tn;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:l,ignoreLocation:c}=this.options;let s=[],u=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:m,startIndex:f})=>{const{isMatch:p,score:h,indices:g}=jn(e,t,m,{location:r+f,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:l,includeMatches:n,ignoreLocation:c});p&&(d=!0),u+=h,p&&g&&(s=[...s,...g])}));let m={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(m.indices=s),m}}class Pn{constructor(e){this.pattern=e}static isMultiMatch(e){return Fn(e,this.multiRegex)}static isSingleMatch(e){return Fn(e,this.singleRegex)}search(){}}function Fn(e,t){const n=e.match(t);return n?n[1]:null}class Bn extends Pn{constructor(e,{location:t=In.location,threshold:n=In.threshold,distance:r=In.distance,includeMatches:a=In.includeMatches,findAllMatches:o=In.findAllMatches,minMatchCharLength:i=In.minMatchCharLength,isCaseSensitive:l=In.isCaseSensitive,ignoreLocation:c=In.ignoreLocation}={}){super(e),this._bitapSearch=new zn(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Vn extends Pn{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 Hn=[class extends Pn{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]}}},Vn,class extends Pn{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 Pn{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 Pn{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 Pn{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 Pn{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]}}},Bn],Wn=Hn.length,Zn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Gn=new Set([Bn.type,Vn.type]);class Un{constructor(e,{isCaseSensitive:t=In.isCaseSensitive,includeMatches:n=In.includeMatches,minMatchCharLength:r=In.minMatchCharLength,ignoreLocation:a=In.ignoreLocation,findAllMatches:o=In.findAllMatches,location:i=In.location,threshold:l=In.threshold,distance:c=In.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:l,distance:c},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Zn).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<Wn;){const e=Hn[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Wn;){const e=Hn[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,l=t.length;r<l;r+=1){const l=t[r];o.length=0,a=0;for(let t=0,r=l.length;t<r;t+=1){const r=l[t],{isMatch:c,indices:s,score:u}=r.search(e);if(!c){i=0,a=0,o.length=0;break}if(a+=1,i+=u,n){const e=r.constructor.type;Gn.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 qn=[];function Kn(e,t){for(let n=0,r=qn.length;n<r;n+=1){let r=qn[n];if(r.condition(e,t))return new r(e,t)}return new zn(e,t)}const Yn="$and",Xn="$or",Jn="$path",Qn="$val",er=e=>!(!e[Yn]&&!e[Xn]),tr=e=>({[Yn]:Object.keys(e).map((t=>({[t]:e[t]})))});function nr(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[Jn])(e);if(!o&&a.length>1&&!er(e))return r(tr(e));if((e=>!fn(e)&&bn(e)&&!er(e))(e)){const r=o?e[Jn]:a[0],i=o?e[Qn]:e[r];if(!gn(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const l={keyId:An(r),pattern:i};return n&&(l.searcher=Kn(i,t)),l}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];fn(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return er(e)||(e=tr(e)),r(e)}function rr(e,t){const n=e.matches;t.matches=[],wn(n)&&n.forEach((e=>{if(!wn(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 ar(e,t){t.score=e.score}class or{constructor(e,t={},n){this.options={...In,...t},this.options.useExtendedSearch,this._keyStore=new Mn(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof On))throw new Error("Incorrect 'index' type");this._myIndex=t||$n(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){wn(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 l=gn(e)?gn(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=In.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}))}(l,{ignoreFieldNorm:i}),a&&l.sort(o),vn(t)&&t>-1&&(l=l.slice(0,t)),function(e,t,{includeMatches:n=In.includeMatches,includeScore:r=In.includeScore}={}){const a=[];return n&&a.push(rr),r&&a.push(ar),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(l,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=Kn(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!wn(e))return;const{isMatch:o,score:i,indices:l}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:l}]})})),r}_searchLogical(e){const t=nr(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],l=n(i,t,r);if(l.length)a.push(...l);else if(e.operator===Yn)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(wn(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=Kn(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!wn(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(!wn(t))return[];let r=[];if(fn(t))t.forEach((({v:t,i:a,n:o})=>{if(!wn(t))return;const{isMatch:i,score:l,indices:c}=n.searchIn(t);i&&r.push({score:l,key:e,value:t,idx:a,norm:o,indices:c})}));else{const{v:a,n:o}=t,{isMatch:i,score:l,indices:c}=n.searchIn(a);i&&r.push({score:l,key:e,value:a,norm:o,indices:c})}return r}}or.version="6.6.2",or.createIndex=$n,or.parseIndex=function(e,{getFn:t=In.getFn,fieldNormWeight:n=In.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new On({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},or.config=In,or.parseQuery=nr,function(...e){qn.push(...e)}(Un);var ir=require("greek-utils");const lr=m(Ct)``,cr=m.ul`
|
|
1383
1377
|
margin-top: 1rem;
|
|
1384
1378
|
background: ${e=>e.theme.background};
|
|
1385
1379
|
box-shadow: ${e=>e.theme.out};
|
|
@@ -3368,7 +3362,7 @@ object-assign
|
|
|
3368
3362
|
display: flex;
|
|
3369
3363
|
align-items: center;
|
|
3370
3364
|
justify-content: center;
|
|
3371
|
-
`,ef=t=>e.createElement(Pm,null,e.createElement(Fm,null,e.createElement(Bm,null,e.createElement(Km,null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}),e.createElement("h2",null,"Doitforme")),e.createElement("h6",null,"© Copyright
|
|
3365
|
+
`,ef=t=>e.createElement(Pm,null,e.createElement(Fm,null,e.createElement(Bm,null,e.createElement(Km,null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}),e.createElement("h2",null,"Doitforme")),e.createElement("h6",null,"© Copyright 2025"),e.createElement("h6",null,"DO IT FOR ME P.C.")),e.createElement(Wm,null,e.createElement(Zm,null,e.createElement("h6",null,"GET IN TOUCH")),e.createElement(Gm,null,e.createElement(Um,null,e.createElement("ul",null,e.createElement("li",null,e.createElement("h5",null,t.sales,":"),e.createElement("aside",null,e.createElement(y,{Icon:"Phone"}),e.createElement("p",null,"(0030) 24211 81 739")),e.createElement("aside",null,e.createElement(y,{Icon:"Email"}),e.createElement("p",null,"payments@doitforme.eu"))),e.createElement("li",null,e.createElement("h5",null,t.marketing,":"),e.createElement("aside",null,e.createElement(y,{Icon:"Phone"}),e.createElement("p",null,"(0030) 24211 81 740")),e.createElement("aside",null,e.createElement(y,{Icon:"Email"}),e.createElement("p",null,"digitalmarketing@doitforme.eu"))),e.createElement("li",null,e.createElement("h5",null,t.development,":"),e.createElement("aside",null,e.createElement(y,{Icon:"Phone"}),e.createElement("p",null,"(0030) 24211 81 741")),e.createElement("aside",null,e.createElement(y,{Icon:"Email"}),e.createElement("p",null,"webdevelopment@doitforme.eu"))))),e.createElement(qm,null,e.createElement("ul",null,e.createElement("li",null,e.createElement("h5",null,t.headquarters,":"),e.createElement("aside",null,e.createElement(y,{Icon:"Location"}),e.createElement("p",null,t.address)))),e.createElement(Ym,null,e.createElement("h5",null,t.follow,":"),e.createElement(Xm,null,e.createElement("a",{href:"https://www.facebook.com/doitforme.eu"},e.createElement(y,{Icon:"Facebook"})),e.createElement("a",{href:"https://www.instagram.com/doitforme.europe/"},e.createElement(y,{Icon:"Instagram"})),e.createElement("a",{href:"https://www.linkedin.com/company/doitforme-eu/"},e.createElement(y,{Icon:"Linkedin"}))))))),e.createElement(Vm,{hero:t.children},t.children?t.children:e.createElement(Hm,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/landing/becomeHero.svg"}))),e.createElement(Jm,null,e.createElement(Qm,null,e.createElement(N,{className:t.className,id:t.id,text:t.terms,size:"small",onClick:t.onTerms}),e.createElement(N,{className:t.className,id:t.id,text:t.privacy,size:"small",onClick:t.onPrivacy})))),tf=m(U)`
|
|
3372
3366
|
position: fixed;
|
|
3373
3367
|
bottom: 1rem;
|
|
3374
3368
|
right: 1rem;
|
package/dist/index.js
CHANGED
|
@@ -1067,7 +1067,7 @@
|
|
|
1067
1067
|
fill: ${e=>e.theme.color};
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
|
-
`,at=e=>a.default.createElement(nt,{className:"FormGroup"},a.default.createElement(et,{value:e.value,className:e.className+" FormInput",placeholder:e.placeholder,id:e.id,autoComplete:"off",type:"text",onChange:e.onChange,defaultValue:e.defaultValue,onKeyPress:e.onKeyPress,onKeyDown:e.onKeyDown,disabled:e.disabled,ref:e.ref
|
|
1070
|
+
`,at=e=>a.default.createElement(nt,{className:"FormGroup"},a.default.createElement(et,{value:e.value,className:e.className+" FormInput",placeholder:e.placeholder,id:e.id,autoComplete:e.autoComplete?e.autoComplete:"off",type:e.type?e.type:"text",name:e.name,onChange:e.onChange,defaultValue:e.defaultValue,onKeyPress:e.onKeyPress,onKeyDown:e.onKeyDown,disabled:e.disabled,ref:e.ref}),a.default.createElement(tt,{className:"FormLabel"},e.placeholder),e.list?a.default.createElement(y,{size:"small",text:e.add,iconLeft:"Add",className:"FormAddButton",onClick:e.onAdd}):null,e.required?a.default.createElement(Ke,{className:"ValidatorRequired"},a.default.createElement(c,{Icon:"Asterisk"})):null,e.errors?a.default.createElement(He,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(qe,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(He,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Ge,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ue,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(He,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ze,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null,e.list?a.default.createElement(rt,{className:"FormList"},e.defaultListItem?a.default.createElement("li",null,a.default.createElement(c,{Icon:e.icon_ListItem}),a.default.createElement("h6",null,e.defaultListItem),e.deleteDefaultListItem?a.default.createElement(k,{onClick:e.onDeleteDefault,size:"small",iconLeft:"Delete"}):null):null,e.list?.map(((t,n)=>a.default.createElement("li",{key:n},a.default.createElement(c,{Icon:e.icon_ListItem}),a.default.createElement("div",null,a.default.createElement("h6",null,t),e.childrenItem),a.default.createElement(k,{onClick:()=>e.onDelete(n),size:"small",iconLeft:"Delete"}))))):null),ot=o.default.div`
|
|
1071
1071
|
position: relative;
|
|
1072
1072
|
|
|
1073
1073
|
select {
|
|
@@ -1342,35 +1342,29 @@
|
|
|
1342
1342
|
opacity: 1 !important;
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
|
-
`,Ot=o.default
|
|
1345
|
+
`,Ot=o.default(nt)`
|
|
1346
1346
|
position: relative;
|
|
1347
1347
|
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
& ~ .ValidatorHelpers {
|
|
1354
|
-
display: block;
|
|
1348
|
+
textarea:placeholder-shown {
|
|
1349
|
+
~ label {
|
|
1350
|
+
transform: translateY(0rem);
|
|
1351
|
+
visibility: hidden;
|
|
1352
|
+
opacity: 0;
|
|
1355
1353
|
}
|
|
1356
1354
|
|
|
1357
|
-
|
|
1355
|
+
~ .ValidatorHelpers {
|
|
1358
1356
|
display: none;
|
|
1359
1357
|
}
|
|
1360
1358
|
|
|
1361
|
-
|
|
1359
|
+
~ .ValidatorErrors {
|
|
1360
|
+
display: block;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
~ .FormAddButton {
|
|
1362
1364
|
display: none;
|
|
1363
1365
|
}
|
|
1364
1366
|
}
|
|
1365
1367
|
`,Nt=o.default(Je)`
|
|
1366
|
-
position: absolute;
|
|
1367
|
-
top: 1.8rem;
|
|
1368
|
-
left: 1.6rem;
|
|
1369
|
-
transform: translateY(-1rem);
|
|
1370
|
-
visibility: visible;
|
|
1371
|
-
opacity: 1;
|
|
1372
|
-
transition-property: opacity, transform;
|
|
1373
|
-
transition-duration: 0.5s;
|
|
1374
1368
|
font-size: var(--smallText);
|
|
1375
1369
|
color: var(--greyDark);
|
|
1376
1370
|
`,$t=o.default.h6`
|
|
@@ -3657,4 +3651,4 @@ object-assign
|
|
|
3657
3651
|
align-items: center;
|
|
3658
3652
|
justify-content: space-between;
|
|
3659
3653
|
padding: 1rem 1rem 0 1rem;
|
|
3660
|
-
`;exports.Actions_=L,exports.Alert=Qc,exports.AlertContainer=tu,exports.AlertContext=gt,exports.AlertIcon=nu,exports.AlertSingle=eu,exports.Alert_=t=>{const{alerts:n,setAlerts:r}=e.useContext(gt),o=e.useRef([]);return e.useEffect((()=>(n.forEach((e=>{(e=>{let n=t.duration?t.duration:2e3;const a=setTimeout((()=>{r((t=>t.filter((t=>t.id!==e))))}),n);o.current.push(a)})(e.id)})),()=>{o.current.forEach((e=>clearTimeout(e))),o.current=[]})),[n]),a.default.createElement(Qc,{storybook:t.storybook,className:t.className+" Alert"},n?.map(((e,t)=>a.default.createElement(eu,{status:e.message.status,key:t},a.default.createElement(nu,null,a.default.createElement(c,{Icon:"Error"===e.message.status?"Xicon":"Check"})),a.default.createElement(tu,null,a.default.createElement("h6",null,e.message.text))))),t.loadingStatus?a.default.createElement(eu,{status:"Loading"},a.default.createElement(nu,null,a.default.createElement(c,{class_Icon:"Loading",Icon:"Loading"})),a.default.createElement(tu,null,a.default.createElement("h6",null,t.loadingText))):null)},exports.AppsFull=sf,exports.AppsSixty=df,exports.AsideContext=ht,exports.Black_=O,exports.Builder_=Ct,exports.Builder_Brand=e=>a.default.createElement(St,{className:e.className+" BuilderBrand",last:e.last,key:e.key},e.title?a.default.createElement("h4",null,e.title):null,e.children),exports.Button=l,exports.Card=N,exports.CardsForty=rc,exports.CardsFull=nc,exports.CardsSixty=ac,exports.CardsTools=tc,exports.Checkbox_=e=>a.default.createElement(Mt,{className:e.className+" Checkbox",id:e.id,key:e.key,onClick:e.onClick},e.withInput?a.default.createElement(At,{disabled:e.disable},a.default.createElement(at,{placeholder:e.placeholder,disabled:e.disable,checked:e.checked,value:e.value})):a.default.createElement("label",{for:e.id},a.default.createElement("p",null,e.text)),a.default.createElement(Lt,{className:"Check"},a.default.createElement("input",{type:"checkbox",id:e.id,onChange:e.onChange,checked:e.checked,value:e.value,name:e.name}),a.default.createElement("span",{className:"CheckCustom"}),a.default.createElement(c,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.Color_Picker=e=>a.default.createElement(ei,{id:e.id,className:e.className+"ColorPicker",key:e.key},a.default.createElement("input",{type:"color",value:e.selectedColor,onChange:t=>(t=>{const n=t.target.value;e.passColor({colorType:e.colorType,newColor:n})})(t)}),a.default.createElement("h5",null,e.text)),exports.Confirmation_=e=>a.default.createElement(Oe,{storybook:e.storybook,className:e.className+" Confirmation"},a.default.createElement($e,{onClick:e.onClose}),a.default.createElement(Te,{storybook:e.storybook},e.onClose?a.default.createElement(Ne,null,a.default.createElement(g,{noPadding:!0,size:"small",iconLeft:"Xicon",onClick:e.onClose})):null,a.default.createElement("h4",null,e.message),a.default.createElement(je,null,a.default.createElement(w,{id:e.idYes,onClick:e.onYes,iconLeft:"Check",text:e.yes}),a.default.createElement(y,{id:e.idNo,onClick:e.onNo,iconLeft:"Xicon",text:e.no})))),exports.Cookies_=e=>a.default.createElement(Rd,null,a.default.createElement("h4",null,e.title),a.default.createElement("p",null,e.text,a.default.createElement("a",{target:"_blank",href:e.onFind},e.find)),a.default.createElement(O,{text:e.accept,onClick:e.onAccept})),exports.Cta_=e=>a.default.createElement(i,{className:e.className+" Cta",id:e.id,size:e.size,onClick:e.onClick},a.default.createElement("span",null,e.text)),exports.Dark_Plain=e=>a.default.createElement(I,{className:e.className+" DarkPlain",id:e.id,noPadding:e.noPadding,size:e.size,onClick:e.onClick,active:e.active},e.iconLeft?a.default.createElement(c,{Icon:e.iconLeft}):e.localIconLeft?a.default.createElement(a.default.Fragment,null,e.localIconLeft):null,e.text?a.default.createElement("span",null,e.text):null,e.iconRight?a.default.createElement(c,{Icon:e.iconRight}):e.localIconRight?a.default.createElement(a.default.Fragment,null,e.localIconRight):null),exports.Dates_=e=>a.default.createElement(Jl,null,a.default.createElement(ql,{onChange:e.onChange,value:e.value,selectRange:e.selectRange,dateFullCellRender:e.dateFullCellRender,maxDate:e.maxDate,minDate:e.minDate,allowPartialRange:e.allowPartialRange,defaultActiveStartDate:e.defaultActiveStartDate,maxDetail:e.maxDetail,minDetail:e.minDetail})),exports.Delete_Plain=k,exports.Dropdown_=it,exports.Edit_=e=>a.default.createElement(u,{size:"normal",className:e.className+" Edit",id:e.id,onClick:e.onClick},a.default.createElement(c,{Icon:e.icon})),exports.Elastic_Search=t=>{!function(e){if(!e.searchKeys)throw new Error('[Elastic_Search] Error: Missing required prop "searchKeys". Please provide an array of strings.');if(!Array.isArray(e.searchKeys))throw new Error('[Elastic_Search] Error: The "searchKeys" prop must be an array of strings.');if(e.searchKeys?.map((e=>{if("string"!=typeof e)throw new Error('[Elastic_Search] Error: All items in the "searchKeys" prop must be of type string.')})),void 0!==e.debounce&&!1!==e.debounce&&("number"!=typeof e.debounce||!Number.isInteger(e.debounce)))throw new Error('[Elastic_Search] Error: If provided, "debounce" must be an integer.');if(void 0!==e.maximumSuggestions&&!1!==e.maximumSuggestions&&("number"!=typeof e.maximumSuggestions||!Number.isInteger(e.maximumSuggestions)))throw new Error('[Elastic_Search] Error: If provided, "maximumSuggestions" must be an integer.');if(void 0!==e.sanitize&&!1!==e.sanitize&&("string"!=typeof e.sanitize||"greek"!==e.sanitize&&"greeklish"!==e.sanitize))throw new Error('[Elastic_Search] Error: If provided, "sanitize" must be a string with a value of "greek" or "greeklish".');if(void 0!==e.placeholder&&!1!==e.placeholder&&"string"!=typeof e.placeholder)throw new Error('[Elastic_Search] Error: If provided, "placeholder" must be a string.');if(!e.file)throw new Error('[Elastic_Search] Error: Missing required prop "file". Please provide an array of objects.');if(!Array.isArray(e.file))throw new Error('[Elastic_Search] Error: The "file" prop must be an array.');if(e.file.map((e=>{if("object"!=typeof e)throw new Error('[Elastic_Search] Error: All items in the "file" prop must be objects.')})),!e.returnType)throw new Error('[Elastic_Search] Error: Missing required prop "returnType". Please provide a string with a value of "string" or "object".');if("string"!=typeof e.returnType||"string"!==e.returnType&&"object"!==e.returnType)throw new Error('[Elastic_Search] Error: "returnType" must be a string with a value of "string" or "object".');if("string"===e.returnType){if(!e.returnProperty)throw new Error('[Elastic_Search] Error: When "returnType" is "string," "returnProperty" is required. Please provide a string.');if("string"!=typeof e.returnProperty)throw new Error('[Elastic_Search] Error: "returnProperty" must be a string when "returnType" is "string".')}if(!e.selectionType)throw new Error('[Elastic_Search] Error: Missing required prop "selectionType". Please provide a string with a value of "many" or "one".');if("string"!=typeof e.selectionType||"many"!==e.selectionType&&"one"!==e.selectionType)throw new Error('[Elastic_Search] Error: "selectionType" must be a string with a value of "many" or "one".');if(!e.displayProperty)throw new Error('[Elastic_Search] Error: Missing required prop "displayProperty". Please provide a string.');if("string"!=typeof e.displayProperty)throw new Error('[Elastic_Search] Error: "displayProperty" must be a string.');if(e.defaultSelected)if("one"===e.selectionType){if("object"!=typeof e.defaultSelected||Array.isArray(e.defaultSelected))throw new Error('[Elastic_Search] Error: If "selectionType" is "one", "defaultSelected" must be an object.')}else if(!("many"!==e.selectionType||Array.isArray(e.defaultSelected)&&e.defaultSelected.every((e=>"object"==typeof e&&!Array.isArray(e)))))throw new Error('[Elastic_Search] Error: If "selectionType" is "many", "defaultSelected" must be an array of objects.');if(void 0!==e.selectionSectionTitle&&!1!==e.selectionSectionTitle&&"string"!=typeof e.selectionSectionTitle)throw new Error('[Elastic_Search] Error: "selectionSectionTitle" must be a string.');if(void 0!==e.selectionItemIcon&&!1!==e.selectionItemIcon&&"string"!=typeof e.selectionItemIcon)throw new Error('[Elastic_Search] Error: "selectionItemIcon" must be a string.');if(void 0!==e.results&&!1!==e.results&&"function"!=typeof e.results)throw new Error('[Elastic_Search] Error: "results" must be a callback function.');if(void 0!==e.addSelectionFirst&&"boolean"!=typeof e.addSelectionFirst)throw new Error('[Elastic_Search] Error: "addSelectionFirst" must be a boolean if provided.');if(void 0!==e.blockDuplicateProperty&&!1!==e.blockDuplicateProperty&&"string"!=typeof e.blockDuplicateProperty)throw new Error('[Elastic_Search] Error: "blockDuplicateProperty" must be a string.')}(t),function(e){const t=["searchKeys","debounce","sanitize","placeholder","maximumSuggestions","file","selectionType","returnType","returnProperty","displayProperty","defaultSelected","selectionSectionTitle","selectionItemIcon","results","addSelectionFirst","blockDuplicateProperty"],n=Object.keys(e).filter((e=>!t.includes(e)));n.length>0&&console.warn(`[Elastic_Search] Warning: The following extra props were provided and will be ignored: ${n.join(", ")}`),"string"!==e.returnType&&e.returnProperty&&console.warn('[Elastic_Search] Warning: "returnProperty" will be ignored because "returnType" is not "string".'),"one"===e.selectionType&&e.addSelectionFirst&&console.warn('[Elastic_Search] Warning: "addSelectionFirst" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.blockDuplicateProperty&&console.warn('[Elastic_Search] Warning: "blockDuplicateProperty" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.selectionSectionTitle&&console.warn('[Elastic_Search] Warning: "selectionSectionTitle" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.selectionItemIcon&&console.warn('[Elastic_Search] Warning: "selectionItemIcon" will be ignored because "selectionType" is set to "one".')}(t);const[n,r]=e.useState({displayedValue:"one"===t.selectionType&&t?.defaultSelected&&t.defaultSelected[t.displayProperty]?t.defaultSelected[t.displayProperty]:"",fuseQueryValue:"",searchResults:[],defaultMaximumSuggestions:6,selected:t?.defaultSelected?t?.defaultSelected:"one"===t.selectionType?{}:[],skipDebounce:!1}),[o,l]=e.useState(0);let i={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:t.searchKeys};const u=()=>{let e=function(e,t,n){try{const r=new Ln(t,n).search(e);return r.sort(((e,t)=>t.score+e.score)),r.map((e=>e.item))}catch(e){return[]}}(n.fuseQueryValue,t.file,i);t.blockDuplicateProperty&&"many"===t.selectionType&&(e=e.filter((e=>!n.selected.some((n=>n[t.blockDuplicateProperty]===e[t.blockDuplicateProperty]))))),e=e.slice(0,t.maximumSuggestions?t.maximumSuggestions:n.defaultMaximumSuggestions),r((t=>({...t,searchResults:e,skipDebounce:!1})))},s=function(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}}(u,t.debounce),d=e=>{const a="one"===t.selectionType?e:t.addSelectionFirst?[e,...n.selected]:[...n.selected,e];r((e=>({...e,selected:a,displayedValue:"many"===t.selectionType?"":a[t.displayProperty],fuseQueryValue:"",skipDebounce:!0})))};return e.useEffect((()=>{t.debounce&&!n.skipDebounce?s():u()}),[n.fuseQueryValue]),e.useEffect((()=>{t.results("object"===t.returnType?n.selected:"one"===t.selectionType?n.selected[t.returnProperty]?n.selected[t.returnProperty]:"":n.selected?.map((e=>e[t.returnProperty])))}),[n.selected]),a.default.createElement(In,{className:"ElasticSearch"},a.default.createElement(at,{id:"elasticSearch",placeholder:t.placeholder,autoComplete:"off",type:"text",value:n.displayedValue,onChange:e=>{const a=e.target.value;let o=Nn(t.sanitize,e.target.value);if("one"!==t.selectionType||!n.selected[t.displayProperty]||t.file.some((e=>e[t.displayProperty]===a)))r((e=>({...e,displayedValue:a,fuseQueryValue:o})));else{const e=a.length-n.selected[t.displayProperty].length==1,o=e?a[a.length-1]:"",l=e?Nn(t.sanitize,o):"";r((e=>({...e,displayedValue:o,fuseQueryValue:l,selected:{}})))}},onKeyPress:e=>(e=>{if("ArrowUp"==e.key&&(e.preventDefault(),l(0===o?n.searchResults?.length-1:o-1)),"ArrowDown"==e.key&&(e.preventDefault(),o===n.searchResults?.length-1?l(0):l(o+1)),e.key&&"Enter"===e.key){const e=n.searchResults[o-1];d(e)}})(e)}),a.default.createElement(Dn,{className:"ElasticSuggestions"},n.searchResults?.map(((e,r)=>a.default.createElement("li",{className:r===o%n.searchResults?.length-1?"ElasticSelected":"",key:r,onClick:()=>d(e)},a.default.createElement("p",null,e[t.displayProperty]))))),"many"===t.selectionType&&a.default.createElement(On,null,a.default.createElement("h5",null,t.selectionSectionTitle),n.selected?.map(((e,o)=>a.default.createElement("li",{key:o},t.selectionItemIcon&&a.default.createElement(c,{Icon:t.selectionItemIcon}),a.default.createElement("h6",null,e[t.displayProperty]),a.default.createElement(S,{size:"small",iconLeft:"Delete",onClick:()=>(e=>{if("many"===t.selectionType){const t=[];for(const[r,a]of n.selected.entries())r!==e&&t.push(a);r((e=>({...e,selected:t})))}else r((e=>({...e,selected:{}})))})(o)}))))))},exports.Facebook_=e=>a.default.createElement(A,{onClick:e.onClick,id:e.id,className:e.className+" Facebook"},e.icon?a.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/morning/thirdParty/Facebook.png"}):null,e.text?a.default.createElement("span",null,e.text):null),exports.FadeIn=Xc,exports.Filters_=e=>a.default.createElement(ti,{className:"Filters"},a.default.createElement(ni,null,e.children,e.filters?a.default.createElement(ri,null,a.default.createElement(y,{size:"small",text:e.filters,onClick:e.onFilters,iconRight:"Filter"})):null,e.search?a.default.createElement(ai,null,e.search):null)),exports.Focus_=d,exports.Focus_Plain=e=>a.default.createElement(f,{className:e.className+" FocusPlain",id:e.id,size:e.size,onClick:e.onClick,onFocus:e.onFocus,noPadding:e.noPadding},e.iconLeft?a.default.createElement(c,{Icon:e.iconLeft}):e.localIconLeft?a.default.createElement(a.default.Fragment,null,e.localIconLeft):null,e.text?a.default.createElement("span",null,e.text):null,e.iconRight?a.default.createElement(c,{Icon:e.iconRight}):e.localIconRight?a.default.createElement(a.default.Fragment,null,e.localIconRight):null),exports.Footer_=e=>a.default.createElement(Ed,null,a.default.createElement(xd,null,a.default.createElement(kd,null,a.default.createElement(Od,null,a.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}),a.default.createElement("h2",null,"Doitforme")),a.default.createElement("h6",null,"© Copyright 2024"),a.default.createElement("h6",null,"DO IT FOR ME P.C.")),a.default.createElement(Md,null,a.default.createElement(Ld,null,a.default.createElement("h6",null,"GET IN TOUCH")),a.default.createElement(Ad,null,a.default.createElement(Id,null,a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement("h5",null,e.sales,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 739")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"payments@doitforme.eu"))),a.default.createElement("li",null,a.default.createElement("h5",null,e.marketing,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 740")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"digitalmarketing@doitforme.eu"))),a.default.createElement("li",null,a.default.createElement("h5",null,e.development,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 741")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"webdevelopment@doitforme.eu"))))),a.default.createElement(Dd,null,a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement("h5",null,e.headquarters,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Location"}),a.default.createElement("p",null,e.address)))),a.default.createElement(Nd,null,a.default.createElement("h5",null,e.follow,":"),a.default.createElement($d,null,a.default.createElement("a",{href:"https://www.facebook.com/doitforme.eu"},a.default.createElement(c,{Icon:"Facebook"})),a.default.createElement("a",{href:"https://www.instagram.com/doitforme.europe/"},a.default.createElement(c,{Icon:"Instagram"})),a.default.createElement("a",{href:"https://www.linkedin.com/company/doitforme-eu/"},a.default.createElement(c,{Icon:"Linkedin"}))))))),a.default.createElement(Cd,{hero:e.children},e.children?e.children:a.default.createElement(Sd,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/landing/becomeHero.svg"}))),a.default.createElement(Td,null,a.default.createElement(jd,null,a.default.createElement(E,{className:e.className,id:e.id,text:e.terms,size:"small",onClick:e.onTerms}),a.default.createElement(E,{className:e.className,id:e.id,text:e.privacy,size:"small",onClick:e.onPrivacy})))),exports.Form=Qe,exports.FormGroup=nt,exports.FormInput=et,exports.FormLabel=tt,exports.FormList=rt,exports.FormatNumbers=function(e){if(e)return e>=1e3&&e<1e6?(e/1e3).toFixed(1).replace(/\.0$/,"")+"K":e>=1e6?(e/1e6).toFixed(1).replace(/\.0$/,"")+"M":Number.isInteger(e)?e:e.toFixed(2)},exports.Forty_Card_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;return e>$.xl?4:2})),o=e=>{e>$.xl?r(4):e<=$.xl&&e>$.md&&r(2)};return e.useEffect((()=>{o(window.innerWidth);const e=()=>{o(window.innerWidth)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),a.default.createElement(hc,null,[...Array(n)]?.map(((e,n)=>a.default.createElement(fc,{key:n,children:t.children,circle:t.circle}))))},exports.Forty_Stat_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;e>$.xl?r(4):e<=$.xl&&e>$.md&&r(2)})()),o=e=>{e>$.xl?r(4):e<=$.xl&&e>$.md&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(kc,null,[...Array(n)]?.map((e=>a.default.createElement(_c,{key:e,children:t.children,circle:t.circle}))))},exports.Full_Card_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;return e>$.lg?10:e<=$.lg&&e>$.md?6:e<=$.md&&e>$.sm?4:2})()),o=e=>{e>$.lg?r(10):e<=$.lg&&e>$.md?r(6):e<=$.md&&e>$.sm?r(4):e<=$.sm&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(mc,null,[...Array(n)]?.map((e=>a.default.createElement(fc,{key:e,children:t.children,circle:t.circle}))))},exports.Full_Stat_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;return e>$.lg?10:e<=$.lg&&e>$.md?6:e<=$.md&&e>$.sm?4:2})()),o=e=>{e>$.lg?r(10):e<=$.lg&&e>$.md?r(6):e<=$.md&&e>$.sm?r(4):e<=$.sm&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(Ec,null,[...Array(n)].map((e=>a.default.createElement(_c,{key:e,children:t.children,circle:t.circle}))))},exports.Google_Search=t=>{let n={includeScore:!0,keys:t.fileKeys,isCaseSensitive:!!t?.isCaseSensitive};const[r,o]=e.useState([]),[l,i]=e.useState({query:"",file:r,notfoundmessage:!1,defaultValue:t.defaultValue}),u=e=>{let n=e.target.value;if(t.sanitize&&(n=$n.toGreeklish(n)),n=n.split(" "),n=n.filter((e=>""!==e)),n=n.join(" "),t.applyReverseFileProperties&&t.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of r)t[e?.originalKey]&&(t[e?.reversedKey]=t[e?.originalKey].split(" ").reverse().join(" "));return t.minMatchCharacters&&n?.length<t.minMatchCharacters||t.maxMatchCharacters&&n?.length>t.maxMatchCharacters?(i({...l,query:n}),t.setResults([]),void(t?.setInputSize&&t.setInputSize(n?.length))):void(n!=l?.query&&i({...l,query:n}))},s=t?.debounceTime?((e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(u,t.debounceTime):u;return e.useEffect((()=>{l?.query?(()=>{const e=new Ln(r,n);let a=l.query?e.search(l.query):r;if(t.maxAcceptedScore){let e=[];for(let n of a)n?.score<t?.maxAcceptedScore&&e.push(n);a=e}if(a=a?.map((e=>e?.item)),t?.applyReverseFileProperties&&t?.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of a)t[e?.reversedKey]&&delete t[e?.reversedKey];t.setResults(l.query?.length?{data:a,input:l.query}:{data:[],input:""})})():t.setResults({data:[],input:""})}),[l]),e.useEffect((()=>{o(t.file)}),[t.file]),a.default.createElement(Tn,null,a.default.createElement(jn,null,a.default.createElement(Rn,{placeholder:t.placeholder,onChange:s,defaultValue:l.defaultValue,disabled:t.disabled}),a.default.createElement(Pn,null,t.placeholder),a.default.createElement(zn,null,a.default.createElement(c,{Icon:"Search"}))))},exports.Grey_=p,exports.Grey_Link=g,exports.H2=of,exports.H3=lf,exports.H5=cf,exports.HamContext=dt,exports.IconSvg=c,exports.Input_=at,exports.Input_Phone=t=>{const{region:n}=e.useContext(ut);return a.default.createElement(vt,null,a.default.createElement(yt,null,a.default.createElement(it,null,a.default.createElement("select",{className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{selected:"Greece"===n},"🇬🇷 +30"))),a.default.createElement(it,{items:t.array_PhoneDropdown})),a.default.createElement(at,{ref:t.ref,placeholder:t.placeholder,required:t.required,list:t.list,icon_ListItem:t.listIcon}))},exports.Input_Phone_Register=t=>{const[n,r]=e.useState({country:"Greece",code:"GR",phoneCode:"+30",flag:"🇬🇷"}),{region:o}=e.useContext(ut),{phoneCode:l,setPhoneCode:i}=e.useContext(pt),c=e=>{let t=bt.findIndex((t=>t.country==e));if(-1!==t){return bt[t]}return n};return e.useEffect((()=>{i(c(o).phoneCode),r(c(o))}),[o]),a.default.createElement(xt,null,a.default.createElement(it,null,a.default.createElement("select",{value:n.phoneCode,onChange:e=>{const t=bt.find((t=>t.phoneCode===e.target.value));r(t)},className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{value:n.phoneCode},n.flag," ",n.phoneCode),bt?.sort(((e,t)=>e.country.localeCompare(t.country)))?.map(((e,t)=>a.default.createElement("option",{key:t,value:e.phoneCode},e.flag," ",e.country))))),a.default.createElement(at,{ref:t.ref,value:t.value,className:t.className,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,disabled:t.disabled,required:t.required,errors:t.errors,helpers:t.helpers,successes:t.successes,tips:t.tips,list:t.list,icon_ListItem:t.listIcon,defaultListItem:t.defaultListItem,onAdd:t.onAdd,add:t.add,onDelete:t.onDelete,onDeleteDefault:t.onDeleteDefault}))},exports.LangContext=ct,exports.LimitCharacters=function(e,t){return e?.length>t?e.substring(0,t-2)+"...":e},exports.Main_=y,exports.Main_Loader=e=>a.default.createElement(Sc,null,a.default.createElement("main",null)),exports.Main_Plain=w,exports.Main_Text_Loader=e=>a.default.createElement(Oc,null,a.default.createElement("main",null,a.default.createElement($c,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Tc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(jc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Rc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(Nc,null,a.default.createElement("h4",null,e.text))),exports.MenuContext=st,exports.Nav_=e=>{let t;return t=window?.location?.hostname?.includes(".club")?"https://akihiko.doitforme.club":window?.location?.hostname?.includes(".eu")?"https://akihiko.doitforme.eu":"http://localhost:5555",a.default.createElement(Ni,null,a.default.createElement(ii,{tool:e.tool,classNameLogo:e.classNameLogo,idLogo:e.idLogo,onClick_Logo:e.onClick_Logo,minorV:e.minorV,majorV:e.majorV}),e.menu?e.menu:a.default.createElement("div",null),"Protected"===e.role||"Admin"===e.role?a.default.createElement(Ai,{hamExtraItems:e.hamExtraItems,home:e.home,onHome:e.onHome,idHome:e.idHome,iconHome:e.iconHome,textHome:e.textHome,onClick_Admin_Main:()=>window.location.assign(t),idAdminMain:e.idAdminMain,text_Admin_Main:e.text_Admin_Main,text_Subscriptions_Main:e.text_Subscriptions_Main,onClick_Subscriptions_Main:e.onClick_Subscriptions_Main,idSubscriptionsMain:e.idSubscriptionsMain,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,links:e.links,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,idAccountMain:e.idAccountMain,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,idSettingsMain:e.idSettingsMain,text_Settings_Main:e.text_Settings_Main,onClick_Logout:e.onClick_Logout,idLogout:e.idLogout,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,text_All_Title:e.text_All_Title,onClick_All_Dailyprofit:e.onClick_All_Dailyprofit,onClick_All_Lois:e.onClick_All_Lois,onClick_All_Whitecastle:e.onClick_All_Whitecastle,onClick_All_Syrax:e.onClick_All_Syrax,text_Apps:e.text_Apps}):a.default.createElement(Oi,{hamExtraItems:e.hamExtraItems,role:e.role,links:e.links,onClick_Login:e.onClick_Login,text_Login:e.text_Login,idLogin:e.idLogin,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,text_All_Title:e.text_All_Title,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onClick_Subscriptions_Main:e.onClick_Subscriptions_Main,text_Subscriptions_Main:e.text_Subscriptions_Main,onClick_All_Dailyprofit:e.onClick_All_Dailyprofit,onClick_All_Lois:e.onClick_All_Lois,onClick_All_Whitecastle:e.onClick_All_Whitecastle,onClick_All_Syrax:e.onClick_All_Syrax,text_Apps:e.text_Apps}))},exports.Notes_=t=>{const{notes:n=[],user:r="user",text:o="text",date:l="date",...i}=t,[c,u]=e.useState(null);return a.default.createElement(Bd,null,t.input,a.default.createElement(Vd,null,a.default.createElement(Hd,null,a.default.createElement(Wd,null,n?.map(((e,n)=>a.default.createElement(Zd,{key:n},t.actions?a.default.createElement(Gd,null,a.default.createElement(w,{noPadding:!0,iconLeft:"Edit",onClick:()=>((e,n)=>{t.onEdit(e,n),u(n)})(e,n)}),t.delete?a.default.createElement(S,{noPadding:!0,iconLeft:"Delete",onClick:()=>t.onDelete(e,n)}):null):null,a.default.createElement("h6",null,e[r]),c===n?a.default.createElement(Ct,null,t.edit):a.default.createElement("h5",null,e[o]),a.default.createElement("p",null,e[l]))))))))},exports.Notify_=e=>a.default.createElement(Pe,{storybook:e.storybook,className:e.className+" Notify"},a.default.createElement(Fe,{onClick:e.onBackground}),a.default.createElement(Be,{storybook:e.storybook},e.onClose?a.default.createElement(ze,null,a.default.createElement(g,{noPadding:!0,iconLeft:"Xicon",onClick:e.onClose})):null,e.children,e.actions?a.default.createElement(Ve,null,a.default.createElement(w,{id:e.idYes,onClick:e.onYes,iconLeft:"Check",text:e.yes}),a.default.createElement(y,{id:e.idNo,onClick:e.onNo,iconLeft:"Xicon",text:e.no})):null)),exports.On_App=e=>a.default.createElement(Me,{className:e.className,onClick:e.onClick},a.default.createElement(Ie,null,a.default.createElement(Le,{className:"MainImage",src:e.img}),a.default.createElement(Ae,null,e.title)),e.children),exports.On_Click_Card=t=>{const[n,r]=e.useState(!1);return a.default.createElement(P,{href:t.href,className:t.className,imgBehave:t.imgBehave,key:t.key},t.options?a.default.createElement(z,null,a.default.createElement(F,null,t.onView&&a.default.createElement(w,{iconRight:t.iconView?t.iconView:"EyeOpen",noPadding:!0,text:t.view,onClick:t.onView}),t.onEdit&&a.default.createElement(w,{iconRight:t.iconEdit?t.iconEdit:"Edit",text:t.edit,noPadding:!0,onClick:t.onEdit}),t.extraOptions,t.onDelete&&a.default.createElement(S,{iconRight:"Delete",text:t.delete,noPadding:!0,onClick:t.onDelete}),t.optionsChildren)):null,a.default.createElement(B,{className:t.className+" OnClickBody",id:t.id,imgBehave:t.imgBehave,onClick:t.onClick,isOptions:t.isOptions},t.icon||t.header||t.imgSmall?a.default.createElement("header",null,t.icon?a.default.createElement("figure",null,a.default.createElement(c,{Icon:t.icon})):t.imgSmall?a.default.createElement(H,null,a.default.createElement("img",{src:t.imgSmall})):a.default.createElement(V,{headerColor:t.headerColor},t.header)):t.img?a.default.createElement("picture",null,a.default.createElement("img",{src:t.img,onLoad:t.onLoadImg})):null,t.title||t.subtitle?a.default.createElement(W,{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},t.title&&a.default.createElement(Z,null,t.title?.length<=16?a.default.createElement("h3",null,t.title):a.default.createElement(G,null,a.default.createElement("h3",null,t.title.substring(0,16)+"..."),n&&a.default.createElement(U,null,t.title))),t.subtitle&&a.default.createElement(Z,null,t.subtitle?.length<=30?a.default.createElement("h5",null,t.subtitle):a.default.createElement(G,null,a.default.createElement("h5",null,t.subtitle.substring(0,30)+"..."),n&&a.default.createElement(U,null,t.subtitle)))):null,t.children?a.default.createElement(q,{className:"Children"},t.children):null))},exports.On_Gradient_Card=e=>a.default.createElement(_e,{className:e.className,onClick:e.onClick,id:e.id,key:e.key},a.default.createElement(Ee,{firstColor:e.firstColor,secondColor:e.secondColor},a.default.createElement(xe,{src:e.img})),a.default.createElement(ke,null,a.default.createElement(Ce,null,a.default.createElement("h3",null,e.title),a.default.createElement("p",null,e.text)),e.textBtn||e.toggle?a.default.createElement(a.default.Fragment,null,e.textBtn?a.default.createElement(Se,null,a.default.createElement(w,{text:e.textBtn,iconLeft:e.iconBtn,noPadding:!0})):a.default.createElement(Se,null,a.default.createElement(we,{active:e.active}))):a.default.createElement(a.default.Fragment,null,e.children))),exports.On_Stat=e=>a.default.createElement(Iu,{className:e.className+" OnStat",id:e.id,onClick:e.onClick},a.default.createElement(Du,{className:"OnStatTop"},a.default.createElement(Nu,null,e.title),a.default.createElement(Ou,{variant:e.variant},e.text)),a.default.createElement($u,{className:"OnStatBottom"},a.default.createElement(Tu,null,e.edited),a.default.createElement(w,{iconLeft:e.btnIcon,text:e.btnText,noPadding:!0}))),exports.P=uf,exports.Page=ru,exports.PageAlwaysVisible=su,exports.PageDesktopOnly=du,exports.PageDesktopPadding=fu,exports.PageForty=ou,exports.PageFull=au,exports.PageIllu=wu,exports.PageSingle=hu,exports.PageSingleHeader=gu,exports.PageSingleRight=yu,exports.PageSingleleft=vu,exports.PageSixty=lu,exports.PageSub=bu,exports.PageSubtitle=pu,exports.PageTitle=mu,exports.PageTools=iu,exports.PageToolsForty=uu,exports.PageToolsSixty=cu,exports.Partial_Loader=e=>a.default.createElement(zc,null,a.default.createElement("main",null)),exports.Partial_Text_Loader=e=>a.default.createElement(Zc,null,a.default.createElement("main",null,a.default.createElement(Uc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(qc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Kc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Yc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(Gc,null,a.default.createElement("h6",null,e.text))),exports.PhoneContext=pt,exports.Preset_Card=t=>{const[n,r]=e.useState(!1);return a.default.createElement(K,{selected:t.selected,onClick:t.onClick,id:t.id,href:t.href},a.default.createElement(Y,{selected:t.selected},t.items?a.default.createElement(X,null,t?.items.slice(0,9).map(((e,n)=>a.default.createElement(J,{selected:t.selected,key:n},t.isJson?a.default.createElement("h5",null,e[t.itemKey]):a.default.createElement("h5",null,e)))),t.items?.length>=10?a.default.createElement(J,{selected:t.selected},a.default.createElement("h5",null,"...")):null):null),t.title||t.subtitle?a.default.createElement(Q,{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},t.title&&a.default.createElement(ee,null,t.title?.length<=16?a.default.createElement("h3",null,t.title):a.default.createElement(te,null,a.default.createElement("h3",null,t.title.substring(0,16)+"..."),n&&a.default.createElement(ne,null,t.title))),t.subtitle&&a.default.createElement(ee,null,t.subtitle?.length<=30?a.default.createElement("h5",null,t.subtitle):a.default.createElement(te,null,a.default.createElement("h5",null,t.subtitle.substring(0,30)+"..."),n&&a.default.createElement(ne,null,t.subtitle)))):null)},exports.QuestadComission=function(e,t,n){return{percentage:13..toFixed(2),type:t,fee:(.13*e).toFixed(2)}},exports.Radio_=e=>a.default.createElement(It,{className:e.className,key:e.key},e.withInput?a.default.createElement(at,{placeholder:e.placeholder}):a.default.createElement("label",{onClick:e.onClick,for:e.id},a.default.createElement("p",null,e.text)),a.default.createElement(Dt,{className:"RadioCircle",id:e.id},a.default.createElement("input",{value:e.value,onChange:e.onChange,name:e.name,type:"radio",id:e.id,checked:e.checked,onClick:e.onClick}),a.default.createElement("span",{className:"RadioCustom"}),a.default.createElement("div",{className:"Bullet"}))),exports.Red_=S,exports.RegionContext=ut,exports.Row_Card=e=>a.default.createElement(he,{className:e.className,id:e.id,onClick:e.onClick},a.default.createElement(ve,null,a.default.createElement(c,{Icon:e.icon})),a.default.createElement(ge,null,e.text)),exports.Section_Filters_Search=e=>a.default.createElement(Lu,null,a.default.createElement(Ct,{title:e.inputTitle},e.children),a.default.createElement(y,{id:e.id,text:e.filters,iconRight:e.iconFilters?e.iconFilters:"Filter",onClick:e.onFilters})),exports.Section_Search=e=>a.default.createElement(Au,null,a.default.createElement(Ct,{title:e.title},e.children)),exports.Section_Title=e=>a.default.createElement(xu,{onEdit:e.onEdit},a.default.createElement(ku,null,a.default.createElement(Cu,null,e.icon?a.default.createElement(c,{Icon:e.icon}):e.img?a.default.createElement("img",{src:e.img}):null,a.default.createElement(Su,null,e.text)),a.default.createElement(Mu,null,e.value)),e.onEdit?a.default.createElement(w,{iconLeft:"Edit",onClick:e.onEdit}):null),exports.Sidebar_=e=>a.default.createElement($i,null,e.children),exports.Sidebar_Box=e=>a.default.createElement(Ti,{active:e.active,locked:e.locked,onClick:e.onClick,className:e.className,id:e.id},e.locked?a.default.createElement("h5",{className:e.className+" SidebarButtonTitleUnlock SidebarButtonTitle"},e.text,a.default.createElement(c,{Icon:"Lock"})):a.default.createElement("h5",{className:e.className+" SidebarButtonTitle"},e.text),e.icon?a.default.createElement(ji,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement(c,{Icon:e.icon})):e.img?a.default.createElement(Ri,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement("img",{src:e.img,alt:e.alt})):null),exports.Single_=e=>a.default.createElement(_u,null,a.default.createElement(su,null,a.default.createElement(mu,null,a.default.createElement("h1",null,e.title)),a.default.createElement(Eu,null,a.default.createElement("h2",null,e.subtitle),a.default.createElement("h3",null,e.text),e.textMain||e.textGrey?a.default.createElement(L,null,e.textGrey?a.default.createElement(p,{className:e.className,id:e.id,text:e.textGrey,noPadding:!0,onClick:e.onClickGrey,iconLeft:e.iconGrey}):null,e.textMain?a.default.createElement(y,{className:e.className,id:e.id,text:e.textMain,noPadding:!0,onClick:e.onClickMain,iconRight:e.iconMain}):null):null)),a.default.createElement(su,null,a.default.createElement(wu,null,a.default.createElement("img",{src:e.backgroundImage,alt:e.backgroundAlt})))),exports.Sixty_Card_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>$.xl?r(6):e<=$.xl&&e>$.md?r(4):e<=$.md&&e>$.sm?r(6):e<=$.sm&&e>$.xs?r(4):e<$.xs&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),e.useEffect((()=>{let e=window.innerWidth;o(e)}),[]),a.default.createElement(pc,null,[...Array(n)].map((e=>a.default.createElement(fc,{key:e,children:t.children,circle:t.circle}))))},exports.Sixty_Stat_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>$.xl?r(6):e<=$.xl&&e>$.md?r(4):e<=$.md&&e>$.sm?r(6):e<=$.sm&&e>$.xs?r(4):e<$.xs&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),e.useEffect((()=>{let e=window.innerWidth;o(e)}),[]),a.default.createElement(xc,null,[...Array(n)]?.map((e=>a.default.createElement(_c,{key:e,children:t.children,circle:t.circle}))))},exports.Slider=Qd,exports.SliderContainer=rf,exports.SliderContext=mt,exports.SliderGrid=af,exports.SliderOverlay=ef,exports.SliderTitle=nf,exports.SliderWrapper=tf,exports.Slider_=Ki,exports.Stat_=e=>a.default.createElement(ju,{className:e.className+" Stat"},a.default.createElement(Ru,{className:"StatLeft"},a.default.createElement(Pu,null,e.title),a.default.createElement(zu,null,e.text),e.children),a.default.createElement(Fu,{className:"StatRight"},e.img?a.default.createElement(Vu,null,a.default.createElement("img",{src:e.img})):a.default.createElement(Bu,null,a.default.createElement(c,{Icon:e.icon})))),exports.Steps=Ud,exports.StepsActions=Jd,exports.StepsComplete=Kd,exports.StepsContainer=Yd,exports.StepsCurrent=qd,exports.StepsWrapper=Xd,exports.Steps_=e=>a.default.createElement(Bi,{className:e.className+" Steps"},a.default.createElement(Fi,{steps:e.steps,currentStep:e.currentStep}),a.default.createElement(Vi,{className:"StepsContainer"},e.steps?.map(((t,r)=>a.default.createElement(n.CSSTransition,{in:e.currentStep===r,timeout:500,unmountOnExit:!0,classNames:"Steps"},a.default.createElement(Hi,{className:"Steps"},t)))))),exports.Steps_Actions=e=>a.default.createElement(Pi,null,a.default.createElement(p,{className:e.className_Grey,id:e.id_Grey,iconLeft:e.icon_Grey,text:e.text_Grey,onClick:e.onClick_Grey}),a.default.createElement(y,{className:e.className_Main,id:e.id_Main,iconRight:e.icon_Main,text:e.text_Main,onClick:e.onClick_Main})),exports.Steps_Helper=t=>{const[n,r]=e.useState(!1);return a.default.createElement(Yi,null,n?a.default.createElement(Ki,{text:t.textSlider,title:t.titleSlider,onClose:()=>r(!n),onClick:()=>r(!n)},t.children):null,a.default.createElement(Xi,null,t.textBtn?null:a.default.createElement(Qi,null,a.default.createElement(c,{Icon:"Tip"})),a.default.createElement(Ji,null,t.extras,a.default.createElement("h5",null,t.text),t.textBtn?a.default.createElement(w,{noPadding:!0,iconLeft:"Tip",text:t.textBtn,onClick:()=>r(!n)}):null)))},exports.Sub_Card=t=>{const{theme:n}=e.useContext(ft);return a.default.createElement(yd,{key:t.key,id:t.id,onClick:t.onClick},a.default.createElement(bd,null,t.lois?a.default.createElement("img",{src:ki.lois[n]}):t.dailyprofit?a.default.createElement("img",{src:ki.dailyprofit[n]}):a.default.createElement("img",{src:ki.bond[n]})),a.default.createElement(wd,null,t.active?a.default.createElement(_d,{active:!0}):a.default.createElement(_d,null),t.lois?a.default.createElement("h3",null,"Adsnap"):t.dailyprofit?a.default.createElement("h3",null,"Questad"):a.default.createElement("h3",null,"Tailormade")),t.children)},exports.Sub_Circles=e=>a.default.createElement(md,null,e.monica?a.default.createElement("div",{className:"monica"}):null,e.bond?a.default.createElement("div",{className:"bond"}):null,e.lois?a.default.createElement("div",{className:"lois"}):null,e.dailyprofit?a.default.createElement("div",{className:"dailyprofit"}):null),exports.Sub_Color_Coding=e=>a.default.createElement(gd,null,e.bond?a.default.createElement(vd,{subscription:"bond"}):null,e.lois?a.default.createElement(vd,{subscription:"lois"}):null,e.dailyprofit?a.default.createElement(vd,{subscription:"dailyprofit"}):null),exports.Sub_Status=e=>a.default.createElement(pd,null,a.default.createElement(hd,{className:e.status},a.default.createElement("div",null),a.default.createElement("h6",null,e.text))),exports.TBody=pf,exports.TD=bf,exports.TH=yf,exports.THead=mf,exports.TR=gf,exports.TRH=vf,exports.Table=ff,exports.TableBullet=hf,exports.TableCard=Ef,exports.TableCardActions=xf,exports.TableDesktop=wf,exports.TableMobile=_f,exports.Textarea_=e=>a.default.createElement(Ot,null,e.label?a.default.createElement(Nt,null,e.label):null,a.default.createElement(Xe,{className:e.className,placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange,maxLength:e.limit,value:e.value,defaultValue:e.defaultValue},e.inTextarea),e.limit?a.default.createElement($t,{capped:e.count>e.limit},a.default.createElement("span",null,e.valueLength)," / ",e.limit):null,e.required?a.default.createElement(Ke,{className:"ValidatorRequired"},a.default.createElement(c,{Icon:"Asterisk"})):null,e.errors?a.default.createElement(He,{className:"ValidatorErrors"},e.errors?.map((e=>a.default.createElement(qe,null,a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(He,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Ge,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Ue,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e)))),e.tips?.map((e=>a.default.createElement(Ze,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.tips?a.default.createElement(He,{className:"ValidatorHelpers"},e.tips?.map((e=>a.default.createElement(Ze,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Ue,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null),exports.Theme=Ci,exports.ThemeContext=ft,exports.ThemeDark={id:"dark",pure:"var(--vanta)",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",pure:"var(--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.Timeline_=t=>{const[n,r]=e.useState({status:!1,key:null}),[o,l]=e.useState(""),[i,c]=e.useState([{status:"success",continuity:1,note:""}]),u=()=>{c((e=>e.map(((e,t)=>t===n.key?{...e,note:o}:e)))),r({status:!1,key:null})};return a.default.createElement(Pd,null,n.status&&null!==n.key&&a.default.createElement(Ki,{done:"Done",onClick:u,noClose:u},a.default.createElement(Ct,{text:"Leave a comment"},a.default.createElement(at,{placeholder:"Comment",defaultValue:i[n.key].note,onChange:e=>l(e.target.value)}))),a.default.createElement(L,null,a.default.createElement(w,{size:"small",text:"success",onClick:()=>{c((e=>"success"===e[e.length-1].status?e.map(((t,n)=>n===e.length-1?{...t,continuity:t.continuity+1}:t)):[...e,{status:"success",continuity:1}]))}}),a.default.createElement(S,{size:"small",text:"Error",onClick:()=>{c((e=>"error"===e[e.length-1].status?e.map(((t,n)=>n===e.length-1?{...t,continuity:t.continuity+1}:t)):[...e,{status:"error",continuity:1}]))}})),a.default.createElement(zd,null,i.map(((e,t)=>a.default.createElement(Fd,{key:t,continuity:e.continuity,status:e.status,onClick:()=>(e=>{const t=i[e];r((t=>({status:!0,key:t.key===e?null:e}))),l(t.note)})(t)},a.default.createElement("h5",null,e.note))))))},exports.Toggle_=we,exports.Toggle_Stat=e=>a.default.createElement(Hu,{className:e.className+" ToggleStat",id:e.id,onClick:e.onClick,active:e.active},a.default.createElement("h5",null,e.text),a.default.createElement(we,{active:e.active})),exports.Unlock_Card=e=>a.default.createElement(ie,{className:e.className,key:e.key},e.icon||e.header||e.imgSmall?a.default.createElement(se,null,e.icon?a.default.createElement(de,null,a.default.createElement(c,{Icon:e.icon})):a.default.createElement(fe,null,a.default.createElement(pe,null),a.default.createElement("img",{src:e.imgSmall}))):e.img?a.default.createElement(me,{imgBehave:e.imgBehave},a.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?a.default.createElement(ue,null,e.title&&a.default.createElement("h3",null,e.title),e.subtitle&&a.default.createElement("h5",null,e.subtitle),e.children):null,a.default.createElement(ce,null,a.default.createElement(d,{className:e.className,id:e.id,href:e.href,text:e.textBuy,iconRight:e.iconBuy,onClick:e.onBuy}))),exports.Upload_Avatar=e=>a.default.createElement(Xs,null,a.default.createElement("h4",null,e.title),a.default.createElement(Js,null,a.default.createElement(Qs,null,e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultAvatar.jpg"})),a.default.createElement(ed,null,a.default.createElement(Ys,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,userId:e.userId}),e.uploaded?a.default.createElement(S,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null,e.errors?a.default.createElement(He,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(qe,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(He,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Ge,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ue,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(He,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ze,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null))),exports.Upload_Blanc=e=>a.default.createElement(fd,{className:"UploadBlanc"},a.default.createElement(Ys,{maxFiles:e.maxFiles,getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,type:"media",userId:e.userId})),exports.Upload_Cover=e=>a.default.createElement(td,null,a.default.createElement("h4",null,e.title),a.default.createElement(nd,null,a.default.createElement(rd,{aspect:e.aspect},e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultCover.jpg"})),a.default.createElement(ad,null,a.default.createElement(Ys,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,type:e.type,userId:e.userId}),e.uploaded||e.hideDelete?a.default.createElement(S,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null),e.errors?a.default.createElement(He,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(qe,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(He,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Ge,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ue,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(He,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ze,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null)),exports.Upload_Logo=e=>a.default.createElement(od,null,a.default.createElement(ld,null,e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultAvatar.jpg"})),a.default.createElement(id,null,a.default.createElement(Ys,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,userId:e.userId}))),exports.Upload_Media=e=>a.default.createElement(cd,null,a.default.createElement("h4",null,e.title),a.default.createElement(ud,{className:"UploadMediaGrid"},a.default.createElement(sd,null,e.uploaded?a.default.createElement("p",null,e.filename):null),a.default.createElement(dd,null,a.default.createElement(Ys,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,userId:e.userId,type:"media"}),e.uploaded?a.default.createElement(S,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null),e.errors?a.default.createElement(He,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(qe,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(He,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Ge,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ue,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(He,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ze,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null)),exports.ValidatorError=qe,exports.ValidatorRequired=Ke,exports.ValidatorSuccess=Ge,exports.ValidatorTip=Ze,exports.ValidatorWarning=Ue,exports.Validators=He,exports.View_Card=e=>a.default.createElement(re,{className:e.className,id:e.id,imgBehave:e.imgBehave,onClick:e.onClick},e.icon||e.header||e.imgSmall?a.default.createElement("header",null,e.icon?a.default.createElement("figure",null,a.default.createElement(c,{Icon:e.icon})):e.imgSmall?a.default.createElement(oe,null,a.default.createElement("img",{src:e.imgSmall})):a.default.createElement(ae,{headerColor:e.headerColor},e.header)):e.img?a.default.createElement("picture",null,a.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?a.default.createElement("footer",null,e.title&&a.default.createElement("h2",null,e.title),e.subtitle&&a.default.createElement("h5",null,e.subtitle),e.children):null),exports.White_Plain=E,exports.breakPoints=$,exports.countries=bt,exports.device=T,exports.logo=ki;
|
|
3654
|
+
`;exports.Actions_=L,exports.Alert=Qc,exports.AlertContainer=tu,exports.AlertContext=gt,exports.AlertIcon=nu,exports.AlertSingle=eu,exports.Alert_=t=>{const{alerts:n,setAlerts:r}=e.useContext(gt),o=e.useRef([]);return e.useEffect((()=>(n.forEach((e=>{(e=>{let n=t.duration?t.duration:2e3;const a=setTimeout((()=>{r((t=>t.filter((t=>t.id!==e))))}),n);o.current.push(a)})(e.id)})),()=>{o.current.forEach((e=>clearTimeout(e))),o.current=[]})),[n]),a.default.createElement(Qc,{storybook:t.storybook,className:t.className+" Alert"},n?.map(((e,t)=>a.default.createElement(eu,{status:e.message.status,key:t},a.default.createElement(nu,null,a.default.createElement(c,{Icon:"Error"===e.message.status?"Xicon":"Check"})),a.default.createElement(tu,null,a.default.createElement("h6",null,e.message.text))))),t.loadingStatus?a.default.createElement(eu,{status:"Loading"},a.default.createElement(nu,null,a.default.createElement(c,{class_Icon:"Loading",Icon:"Loading"})),a.default.createElement(tu,null,a.default.createElement("h6",null,t.loadingText))):null)},exports.AppsFull=sf,exports.AppsSixty=df,exports.AsideContext=ht,exports.Black_=O,exports.Builder_=Ct,exports.Builder_Brand=e=>a.default.createElement(St,{className:e.className+" BuilderBrand",last:e.last,key:e.key},e.title?a.default.createElement("h4",null,e.title):null,e.children),exports.Button=l,exports.Card=N,exports.CardsForty=rc,exports.CardsFull=nc,exports.CardsSixty=ac,exports.CardsTools=tc,exports.Checkbox_=e=>a.default.createElement(Mt,{className:e.className+" Checkbox",id:e.id,key:e.key,onClick:e.onClick},e.withInput?a.default.createElement(At,{disabled:e.disable},a.default.createElement(at,{placeholder:e.placeholder,disabled:e.disable,checked:e.checked,value:e.value})):a.default.createElement("label",{for:e.id},a.default.createElement("p",null,e.text)),a.default.createElement(Lt,{className:"Check"},a.default.createElement("input",{type:"checkbox",id:e.id,onChange:e.onChange,checked:e.checked,value:e.value,name:e.name}),a.default.createElement("span",{className:"CheckCustom"}),a.default.createElement(c,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.Color_Picker=e=>a.default.createElement(ei,{id:e.id,className:e.className+"ColorPicker",key:e.key},a.default.createElement("input",{type:"color",value:e.selectedColor,onChange:t=>(t=>{const n=t.target.value;e.passColor({colorType:e.colorType,newColor:n})})(t)}),a.default.createElement("h5",null,e.text)),exports.Confirmation_=e=>a.default.createElement(Oe,{storybook:e.storybook,className:e.className+" Confirmation"},a.default.createElement($e,{onClick:e.onClose}),a.default.createElement(Te,{storybook:e.storybook},e.onClose?a.default.createElement(Ne,null,a.default.createElement(g,{noPadding:!0,size:"small",iconLeft:"Xicon",onClick:e.onClose})):null,a.default.createElement("h4",null,e.message),a.default.createElement(je,null,a.default.createElement(w,{id:e.idYes,onClick:e.onYes,iconLeft:"Check",text:e.yes}),a.default.createElement(y,{id:e.idNo,onClick:e.onNo,iconLeft:"Xicon",text:e.no})))),exports.Cookies_=e=>a.default.createElement(Rd,null,a.default.createElement("h4",null,e.title),a.default.createElement("p",null,e.text,a.default.createElement("a",{target:"_blank",href:e.onFind},e.find)),a.default.createElement(O,{text:e.accept,onClick:e.onAccept})),exports.Cta_=e=>a.default.createElement(i,{className:e.className+" Cta",id:e.id,size:e.size,onClick:e.onClick},a.default.createElement("span",null,e.text)),exports.Dark_Plain=e=>a.default.createElement(I,{className:e.className+" DarkPlain",id:e.id,noPadding:e.noPadding,size:e.size,onClick:e.onClick,active:e.active},e.iconLeft?a.default.createElement(c,{Icon:e.iconLeft}):e.localIconLeft?a.default.createElement(a.default.Fragment,null,e.localIconLeft):null,e.text?a.default.createElement("span",null,e.text):null,e.iconRight?a.default.createElement(c,{Icon:e.iconRight}):e.localIconRight?a.default.createElement(a.default.Fragment,null,e.localIconRight):null),exports.Dates_=e=>a.default.createElement(Jl,null,a.default.createElement(ql,{onChange:e.onChange,value:e.value,selectRange:e.selectRange,dateFullCellRender:e.dateFullCellRender,maxDate:e.maxDate,minDate:e.minDate,allowPartialRange:e.allowPartialRange,defaultActiveStartDate:e.defaultActiveStartDate,maxDetail:e.maxDetail,minDetail:e.minDetail})),exports.Delete_Plain=k,exports.Dropdown_=it,exports.Edit_=e=>a.default.createElement(u,{size:"normal",className:e.className+" Edit",id:e.id,onClick:e.onClick},a.default.createElement(c,{Icon:e.icon})),exports.Elastic_Search=t=>{!function(e){if(!e.searchKeys)throw new Error('[Elastic_Search] Error: Missing required prop "searchKeys". Please provide an array of strings.');if(!Array.isArray(e.searchKeys))throw new Error('[Elastic_Search] Error: The "searchKeys" prop must be an array of strings.');if(e.searchKeys?.map((e=>{if("string"!=typeof e)throw new Error('[Elastic_Search] Error: All items in the "searchKeys" prop must be of type string.')})),void 0!==e.debounce&&!1!==e.debounce&&("number"!=typeof e.debounce||!Number.isInteger(e.debounce)))throw new Error('[Elastic_Search] Error: If provided, "debounce" must be an integer.');if(void 0!==e.maximumSuggestions&&!1!==e.maximumSuggestions&&("number"!=typeof e.maximumSuggestions||!Number.isInteger(e.maximumSuggestions)))throw new Error('[Elastic_Search] Error: If provided, "maximumSuggestions" must be an integer.');if(void 0!==e.sanitize&&!1!==e.sanitize&&("string"!=typeof e.sanitize||"greek"!==e.sanitize&&"greeklish"!==e.sanitize))throw new Error('[Elastic_Search] Error: If provided, "sanitize" must be a string with a value of "greek" or "greeklish".');if(void 0!==e.placeholder&&!1!==e.placeholder&&"string"!=typeof e.placeholder)throw new Error('[Elastic_Search] Error: If provided, "placeholder" must be a string.');if(!e.file)throw new Error('[Elastic_Search] Error: Missing required prop "file". Please provide an array of objects.');if(!Array.isArray(e.file))throw new Error('[Elastic_Search] Error: The "file" prop must be an array.');if(e.file.map((e=>{if("object"!=typeof e)throw new Error('[Elastic_Search] Error: All items in the "file" prop must be objects.')})),!e.returnType)throw new Error('[Elastic_Search] Error: Missing required prop "returnType". Please provide a string with a value of "string" or "object".');if("string"!=typeof e.returnType||"string"!==e.returnType&&"object"!==e.returnType)throw new Error('[Elastic_Search] Error: "returnType" must be a string with a value of "string" or "object".');if("string"===e.returnType){if(!e.returnProperty)throw new Error('[Elastic_Search] Error: When "returnType" is "string," "returnProperty" is required. Please provide a string.');if("string"!=typeof e.returnProperty)throw new Error('[Elastic_Search] Error: "returnProperty" must be a string when "returnType" is "string".')}if(!e.selectionType)throw new Error('[Elastic_Search] Error: Missing required prop "selectionType". Please provide a string with a value of "many" or "one".');if("string"!=typeof e.selectionType||"many"!==e.selectionType&&"one"!==e.selectionType)throw new Error('[Elastic_Search] Error: "selectionType" must be a string with a value of "many" or "one".');if(!e.displayProperty)throw new Error('[Elastic_Search] Error: Missing required prop "displayProperty". Please provide a string.');if("string"!=typeof e.displayProperty)throw new Error('[Elastic_Search] Error: "displayProperty" must be a string.');if(e.defaultSelected)if("one"===e.selectionType){if("object"!=typeof e.defaultSelected||Array.isArray(e.defaultSelected))throw new Error('[Elastic_Search] Error: If "selectionType" is "one", "defaultSelected" must be an object.')}else if(!("many"!==e.selectionType||Array.isArray(e.defaultSelected)&&e.defaultSelected.every((e=>"object"==typeof e&&!Array.isArray(e)))))throw new Error('[Elastic_Search] Error: If "selectionType" is "many", "defaultSelected" must be an array of objects.');if(void 0!==e.selectionSectionTitle&&!1!==e.selectionSectionTitle&&"string"!=typeof e.selectionSectionTitle)throw new Error('[Elastic_Search] Error: "selectionSectionTitle" must be a string.');if(void 0!==e.selectionItemIcon&&!1!==e.selectionItemIcon&&"string"!=typeof e.selectionItemIcon)throw new Error('[Elastic_Search] Error: "selectionItemIcon" must be a string.');if(void 0!==e.results&&!1!==e.results&&"function"!=typeof e.results)throw new Error('[Elastic_Search] Error: "results" must be a callback function.');if(void 0!==e.addSelectionFirst&&"boolean"!=typeof e.addSelectionFirst)throw new Error('[Elastic_Search] Error: "addSelectionFirst" must be a boolean if provided.');if(void 0!==e.blockDuplicateProperty&&!1!==e.blockDuplicateProperty&&"string"!=typeof e.blockDuplicateProperty)throw new Error('[Elastic_Search] Error: "blockDuplicateProperty" must be a string.')}(t),function(e){const t=["searchKeys","debounce","sanitize","placeholder","maximumSuggestions","file","selectionType","returnType","returnProperty","displayProperty","defaultSelected","selectionSectionTitle","selectionItemIcon","results","addSelectionFirst","blockDuplicateProperty"],n=Object.keys(e).filter((e=>!t.includes(e)));n.length>0&&console.warn(`[Elastic_Search] Warning: The following extra props were provided and will be ignored: ${n.join(", ")}`),"string"!==e.returnType&&e.returnProperty&&console.warn('[Elastic_Search] Warning: "returnProperty" will be ignored because "returnType" is not "string".'),"one"===e.selectionType&&e.addSelectionFirst&&console.warn('[Elastic_Search] Warning: "addSelectionFirst" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.blockDuplicateProperty&&console.warn('[Elastic_Search] Warning: "blockDuplicateProperty" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.selectionSectionTitle&&console.warn('[Elastic_Search] Warning: "selectionSectionTitle" will be ignored because "selectionType" is set to "one".'),"one"===e.selectionType&&e.selectionItemIcon&&console.warn('[Elastic_Search] Warning: "selectionItemIcon" will be ignored because "selectionType" is set to "one".')}(t);const[n,r]=e.useState({displayedValue:"one"===t.selectionType&&t?.defaultSelected&&t.defaultSelected[t.displayProperty]?t.defaultSelected[t.displayProperty]:"",fuseQueryValue:"",searchResults:[],defaultMaximumSuggestions:6,selected:t?.defaultSelected?t?.defaultSelected:"one"===t.selectionType?{}:[],skipDebounce:!1}),[o,l]=e.useState(0);let i={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:t.searchKeys};const u=()=>{let e=function(e,t,n){try{const r=new Ln(t,n).search(e);return r.sort(((e,t)=>t.score+e.score)),r.map((e=>e.item))}catch(e){return[]}}(n.fuseQueryValue,t.file,i);t.blockDuplicateProperty&&"many"===t.selectionType&&(e=e.filter((e=>!n.selected.some((n=>n[t.blockDuplicateProperty]===e[t.blockDuplicateProperty]))))),e=e.slice(0,t.maximumSuggestions?t.maximumSuggestions:n.defaultMaximumSuggestions),r((t=>({...t,searchResults:e,skipDebounce:!1})))},s=function(e,t){let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}}(u,t.debounce),d=e=>{const a="one"===t.selectionType?e:t.addSelectionFirst?[e,...n.selected]:[...n.selected,e];r((e=>({...e,selected:a,displayedValue:"many"===t.selectionType?"":a[t.displayProperty],fuseQueryValue:"",skipDebounce:!0})))};return e.useEffect((()=>{t.debounce&&!n.skipDebounce?s():u()}),[n.fuseQueryValue]),e.useEffect((()=>{t.results("object"===t.returnType?n.selected:"one"===t.selectionType?n.selected[t.returnProperty]?n.selected[t.returnProperty]:"":n.selected?.map((e=>e[t.returnProperty])))}),[n.selected]),a.default.createElement(In,{className:"ElasticSearch"},a.default.createElement(at,{id:"elasticSearch",placeholder:t.placeholder,autoComplete:"off",type:"text",value:n.displayedValue,onChange:e=>{const a=e.target.value;let o=Nn(t.sanitize,e.target.value);if("one"!==t.selectionType||!n.selected[t.displayProperty]||t.file.some((e=>e[t.displayProperty]===a)))r((e=>({...e,displayedValue:a,fuseQueryValue:o})));else{const e=a.length-n.selected[t.displayProperty].length==1,o=e?a[a.length-1]:"",l=e?Nn(t.sanitize,o):"";r((e=>({...e,displayedValue:o,fuseQueryValue:l,selected:{}})))}},onKeyPress:e=>(e=>{if("ArrowUp"==e.key&&(e.preventDefault(),l(0===o?n.searchResults?.length-1:o-1)),"ArrowDown"==e.key&&(e.preventDefault(),o===n.searchResults?.length-1?l(0):l(o+1)),e.key&&"Enter"===e.key){const e=n.searchResults[o-1];d(e)}})(e)}),a.default.createElement(Dn,{className:"ElasticSuggestions"},n.searchResults?.map(((e,r)=>a.default.createElement("li",{className:r===o%n.searchResults?.length-1?"ElasticSelected":"",key:r,onClick:()=>d(e)},a.default.createElement("p",null,e[t.displayProperty]))))),"many"===t.selectionType&&a.default.createElement(On,null,a.default.createElement("h5",null,t.selectionSectionTitle),n.selected?.map(((e,o)=>a.default.createElement("li",{key:o},t.selectionItemIcon&&a.default.createElement(c,{Icon:t.selectionItemIcon}),a.default.createElement("h6",null,e[t.displayProperty]),a.default.createElement(S,{size:"small",iconLeft:"Delete",onClick:()=>(e=>{if("many"===t.selectionType){const t=[];for(const[r,a]of n.selected.entries())r!==e&&t.push(a);r((e=>({...e,selected:t})))}else r((e=>({...e,selected:{}})))})(o)}))))))},exports.Facebook_=e=>a.default.createElement(A,{onClick:e.onClick,id:e.id,className:e.className+" Facebook"},e.icon?a.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/morning/thirdParty/Facebook.png"}):null,e.text?a.default.createElement("span",null,e.text):null),exports.FadeIn=Xc,exports.Filters_=e=>a.default.createElement(ti,{className:"Filters"},a.default.createElement(ni,null,e.children,e.filters?a.default.createElement(ri,null,a.default.createElement(y,{size:"small",text:e.filters,onClick:e.onFilters,iconRight:"Filter"})):null,e.search?a.default.createElement(ai,null,e.search):null)),exports.Focus_=d,exports.Focus_Plain=e=>a.default.createElement(f,{className:e.className+" FocusPlain",id:e.id,size:e.size,onClick:e.onClick,onFocus:e.onFocus,noPadding:e.noPadding},e.iconLeft?a.default.createElement(c,{Icon:e.iconLeft}):e.localIconLeft?a.default.createElement(a.default.Fragment,null,e.localIconLeft):null,e.text?a.default.createElement("span",null,e.text):null,e.iconRight?a.default.createElement(c,{Icon:e.iconRight}):e.localIconRight?a.default.createElement(a.default.Fragment,null,e.localIconRight):null),exports.Footer_=e=>a.default.createElement(Ed,null,a.default.createElement(xd,null,a.default.createElement(kd,null,a.default.createElement(Od,null,a.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}),a.default.createElement("h2",null,"Doitforme")),a.default.createElement("h6",null,"© Copyright 2025"),a.default.createElement("h6",null,"DO IT FOR ME P.C.")),a.default.createElement(Md,null,a.default.createElement(Ld,null,a.default.createElement("h6",null,"GET IN TOUCH")),a.default.createElement(Ad,null,a.default.createElement(Id,null,a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement("h5",null,e.sales,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 739")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"payments@doitforme.eu"))),a.default.createElement("li",null,a.default.createElement("h5",null,e.marketing,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 740")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"digitalmarketing@doitforme.eu"))),a.default.createElement("li",null,a.default.createElement("h5",null,e.development,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Phone"}),a.default.createElement("p",null,"(0030) 24211 81 741")),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Email"}),a.default.createElement("p",null,"webdevelopment@doitforme.eu"))))),a.default.createElement(Dd,null,a.default.createElement("ul",null,a.default.createElement("li",null,a.default.createElement("h5",null,e.headquarters,":"),a.default.createElement("aside",null,a.default.createElement(c,{Icon:"Location"}),a.default.createElement("p",null,e.address)))),a.default.createElement(Nd,null,a.default.createElement("h5",null,e.follow,":"),a.default.createElement($d,null,a.default.createElement("a",{href:"https://www.facebook.com/doitforme.eu"},a.default.createElement(c,{Icon:"Facebook"})),a.default.createElement("a",{href:"https://www.instagram.com/doitforme.europe/"},a.default.createElement(c,{Icon:"Instagram"})),a.default.createElement("a",{href:"https://www.linkedin.com/company/doitforme-eu/"},a.default.createElement(c,{Icon:"Linkedin"}))))))),a.default.createElement(Cd,{hero:e.children},e.children?e.children:a.default.createElement(Sd,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/landing/becomeHero.svg"}))),a.default.createElement(Td,null,a.default.createElement(jd,null,a.default.createElement(E,{className:e.className,id:e.id,text:e.terms,size:"small",onClick:e.onTerms}),a.default.createElement(E,{className:e.className,id:e.id,text:e.privacy,size:"small",onClick:e.onPrivacy})))),exports.Form=Qe,exports.FormGroup=nt,exports.FormInput=et,exports.FormLabel=tt,exports.FormList=rt,exports.FormatNumbers=function(e){if(e)return e>=1e3&&e<1e6?(e/1e3).toFixed(1).replace(/\.0$/,"")+"K":e>=1e6?(e/1e6).toFixed(1).replace(/\.0$/,"")+"M":Number.isInteger(e)?e:e.toFixed(2)},exports.Forty_Card_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;return e>$.xl?4:2})),o=e=>{e>$.xl?r(4):e<=$.xl&&e>$.md&&r(2)};return e.useEffect((()=>{o(window.innerWidth);const e=()=>{o(window.innerWidth)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),a.default.createElement(hc,null,[...Array(n)]?.map(((e,n)=>a.default.createElement(fc,{key:n,children:t.children,circle:t.circle}))))},exports.Forty_Stat_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;e>$.xl?r(4):e<=$.xl&&e>$.md&&r(2)})()),o=e=>{e>$.xl?r(4):e<=$.xl&&e>$.md&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(kc,null,[...Array(n)]?.map((e=>a.default.createElement(_c,{key:e,children:t.children,circle:t.circle}))))},exports.Full_Card_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;return e>$.lg?10:e<=$.lg&&e>$.md?6:e<=$.md&&e>$.sm?4:2})()),o=e=>{e>$.lg?r(10):e<=$.lg&&e>$.md?r(6):e<=$.md&&e>$.sm?r(4):e<=$.sm&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(mc,null,[...Array(n)]?.map((e=>a.default.createElement(fc,{key:e,children:t.children,circle:t.circle}))))},exports.Full_Stat_Loader=t=>{const[n,r]=e.useState((()=>{const e=window.innerWidth;return e>$.lg?10:e<=$.lg&&e>$.md?6:e<=$.md&&e>$.sm?4:2})()),o=e=>{e>$.lg?r(10):e<=$.lg&&e>$.md?r(6):e<=$.md&&e>$.sm?r(4):e<=$.sm&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;o(e)})),a.default.createElement(Ec,null,[...Array(n)].map((e=>a.default.createElement(_c,{key:e,children:t.children,circle:t.circle}))))},exports.Google_Search=t=>{let n={includeScore:!0,keys:t.fileKeys,isCaseSensitive:!!t?.isCaseSensitive};const[r,o]=e.useState([]),[l,i]=e.useState({query:"",file:r,notfoundmessage:!1,defaultValue:t.defaultValue}),u=e=>{let n=e.target.value;if(t.sanitize&&(n=$n.toGreeklish(n)),n=n.split(" "),n=n.filter((e=>""!==e)),n=n.join(" "),t.applyReverseFileProperties&&t.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of r)t[e?.originalKey]&&(t[e?.reversedKey]=t[e?.originalKey].split(" ").reverse().join(" "));return t.minMatchCharacters&&n?.length<t.minMatchCharacters||t.maxMatchCharacters&&n?.length>t.maxMatchCharacters?(i({...l,query:n}),t.setResults([]),void(t?.setInputSize&&t.setInputSize(n?.length))):void(n!=l?.query&&i({...l,query:n}))},s=t?.debounceTime?((e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(u,t.debounceTime):u;return e.useEffect((()=>{l?.query?(()=>{const e=new Ln(r,n);let a=l.query?e.search(l.query):r;if(t.maxAcceptedScore){let e=[];for(let n of a)n?.score<t?.maxAcceptedScore&&e.push(n);a=e}if(a=a?.map((e=>e?.item)),t?.applyReverseFileProperties&&t?.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of a)t[e?.reversedKey]&&delete t[e?.reversedKey];t.setResults(l.query?.length?{data:a,input:l.query}:{data:[],input:""})})():t.setResults({data:[],input:""})}),[l]),e.useEffect((()=>{o(t.file)}),[t.file]),a.default.createElement(Tn,null,a.default.createElement(jn,null,a.default.createElement(Rn,{placeholder:t.placeholder,onChange:s,defaultValue:l.defaultValue,disabled:t.disabled}),a.default.createElement(Pn,null,t.placeholder),a.default.createElement(zn,null,a.default.createElement(c,{Icon:"Search"}))))},exports.Grey_=p,exports.Grey_Link=g,exports.H2=of,exports.H3=lf,exports.H5=cf,exports.HamContext=dt,exports.IconSvg=c,exports.Input_=at,exports.Input_Phone=t=>{const{region:n}=e.useContext(ut);return a.default.createElement(vt,null,a.default.createElement(yt,null,a.default.createElement(it,null,a.default.createElement("select",{className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{selected:"Greece"===n},"🇬🇷 +30"))),a.default.createElement(it,{items:t.array_PhoneDropdown})),a.default.createElement(at,{ref:t.ref,placeholder:t.placeholder,required:t.required,list:t.list,icon_ListItem:t.listIcon}))},exports.Input_Phone_Register=t=>{const[n,r]=e.useState({country:"Greece",code:"GR",phoneCode:"+30",flag:"🇬🇷"}),{region:o}=e.useContext(ut),{phoneCode:l,setPhoneCode:i}=e.useContext(pt),c=e=>{let t=bt.findIndex((t=>t.country==e));if(-1!==t){return bt[t]}return n};return e.useEffect((()=>{i(c(o).phoneCode),r(c(o))}),[o]),a.default.createElement(xt,null,a.default.createElement(it,null,a.default.createElement("select",{value:n.phoneCode,onChange:e=>{const t=bt.find((t=>t.phoneCode===e.target.value));r(t)},className:"Dropdown_EmojiAdapt"},a.default.createElement("option",{value:n.phoneCode},n.flag," ",n.phoneCode),bt?.sort(((e,t)=>e.country.localeCompare(t.country)))?.map(((e,t)=>a.default.createElement("option",{key:t,value:e.phoneCode},e.flag," ",e.country))))),a.default.createElement(at,{ref:t.ref,value:t.value,className:t.className,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,disabled:t.disabled,required:t.required,errors:t.errors,helpers:t.helpers,successes:t.successes,tips:t.tips,list:t.list,icon_ListItem:t.listIcon,defaultListItem:t.defaultListItem,onAdd:t.onAdd,add:t.add,onDelete:t.onDelete,onDeleteDefault:t.onDeleteDefault}))},exports.LangContext=ct,exports.LimitCharacters=function(e,t){return e?.length>t?e.substring(0,t-2)+"...":e},exports.Main_=y,exports.Main_Loader=e=>a.default.createElement(Sc,null,a.default.createElement("main",null)),exports.Main_Plain=w,exports.Main_Text_Loader=e=>a.default.createElement(Oc,null,a.default.createElement("main",null,a.default.createElement($c,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Tc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(jc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Rc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(Nc,null,a.default.createElement("h4",null,e.text))),exports.MenuContext=st,exports.Nav_=e=>{let t;return t=window?.location?.hostname?.includes(".club")?"https://akihiko.doitforme.club":window?.location?.hostname?.includes(".eu")?"https://akihiko.doitforme.eu":"http://localhost:5555",a.default.createElement(Ni,null,a.default.createElement(ii,{tool:e.tool,classNameLogo:e.classNameLogo,idLogo:e.idLogo,onClick_Logo:e.onClick_Logo,minorV:e.minorV,majorV:e.majorV}),e.menu?e.menu:a.default.createElement("div",null),"Protected"===e.role||"Admin"===e.role?a.default.createElement(Ai,{hamExtraItems:e.hamExtraItems,home:e.home,onHome:e.onHome,idHome:e.idHome,iconHome:e.iconHome,textHome:e.textHome,onClick_Admin_Main:()=>window.location.assign(t),idAdminMain:e.idAdminMain,text_Admin_Main:e.text_Admin_Main,text_Subscriptions_Main:e.text_Subscriptions_Main,onClick_Subscriptions_Main:e.onClick_Subscriptions_Main,idSubscriptionsMain:e.idSubscriptionsMain,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,links:e.links,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,idAccountMain:e.idAccountMain,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,idSettingsMain:e.idSettingsMain,text_Settings_Main:e.text_Settings_Main,onClick_Logout:e.onClick_Logout,idLogout:e.idLogout,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,text_All_Title:e.text_All_Title,onClick_All_Dailyprofit:e.onClick_All_Dailyprofit,onClick_All_Lois:e.onClick_All_Lois,onClick_All_Whitecastle:e.onClick_All_Whitecastle,onClick_All_Syrax:e.onClick_All_Syrax,text_Apps:e.text_Apps}):a.default.createElement(Oi,{hamExtraItems:e.hamExtraItems,role:e.role,links:e.links,onClick_Login:e.onClick_Login,text_Login:e.text_Login,idLogin:e.idLogin,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,text_All_Title:e.text_All_Title,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onClick_Subscriptions_Main:e.onClick_Subscriptions_Main,text_Subscriptions_Main:e.text_Subscriptions_Main,onClick_All_Dailyprofit:e.onClick_All_Dailyprofit,onClick_All_Lois:e.onClick_All_Lois,onClick_All_Whitecastle:e.onClick_All_Whitecastle,onClick_All_Syrax:e.onClick_All_Syrax,text_Apps:e.text_Apps}))},exports.Notes_=t=>{const{notes:n=[],user:r="user",text:o="text",date:l="date",...i}=t,[c,u]=e.useState(null);return a.default.createElement(Bd,null,t.input,a.default.createElement(Vd,null,a.default.createElement(Hd,null,a.default.createElement(Wd,null,n?.map(((e,n)=>a.default.createElement(Zd,{key:n},t.actions?a.default.createElement(Gd,null,a.default.createElement(w,{noPadding:!0,iconLeft:"Edit",onClick:()=>((e,n)=>{t.onEdit(e,n),u(n)})(e,n)}),t.delete?a.default.createElement(S,{noPadding:!0,iconLeft:"Delete",onClick:()=>t.onDelete(e,n)}):null):null,a.default.createElement("h6",null,e[r]),c===n?a.default.createElement(Ct,null,t.edit):a.default.createElement("h5",null,e[o]),a.default.createElement("p",null,e[l]))))))))},exports.Notify_=e=>a.default.createElement(Pe,{storybook:e.storybook,className:e.className+" Notify"},a.default.createElement(Fe,{onClick:e.onBackground}),a.default.createElement(Be,{storybook:e.storybook},e.onClose?a.default.createElement(ze,null,a.default.createElement(g,{noPadding:!0,iconLeft:"Xicon",onClick:e.onClose})):null,e.children,e.actions?a.default.createElement(Ve,null,a.default.createElement(w,{id:e.idYes,onClick:e.onYes,iconLeft:"Check",text:e.yes}),a.default.createElement(y,{id:e.idNo,onClick:e.onNo,iconLeft:"Xicon",text:e.no})):null)),exports.On_App=e=>a.default.createElement(Me,{className:e.className,onClick:e.onClick},a.default.createElement(Ie,null,a.default.createElement(Le,{className:"MainImage",src:e.img}),a.default.createElement(Ae,null,e.title)),e.children),exports.On_Click_Card=t=>{const[n,r]=e.useState(!1);return a.default.createElement(P,{href:t.href,className:t.className,imgBehave:t.imgBehave,key:t.key},t.options?a.default.createElement(z,null,a.default.createElement(F,null,t.onView&&a.default.createElement(w,{iconRight:t.iconView?t.iconView:"EyeOpen",noPadding:!0,text:t.view,onClick:t.onView}),t.onEdit&&a.default.createElement(w,{iconRight:t.iconEdit?t.iconEdit:"Edit",text:t.edit,noPadding:!0,onClick:t.onEdit}),t.extraOptions,t.onDelete&&a.default.createElement(S,{iconRight:"Delete",text:t.delete,noPadding:!0,onClick:t.onDelete}),t.optionsChildren)):null,a.default.createElement(B,{className:t.className+" OnClickBody",id:t.id,imgBehave:t.imgBehave,onClick:t.onClick,isOptions:t.isOptions},t.icon||t.header||t.imgSmall?a.default.createElement("header",null,t.icon?a.default.createElement("figure",null,a.default.createElement(c,{Icon:t.icon})):t.imgSmall?a.default.createElement(H,null,a.default.createElement("img",{src:t.imgSmall})):a.default.createElement(V,{headerColor:t.headerColor},t.header)):t.img?a.default.createElement("picture",null,a.default.createElement("img",{src:t.img,onLoad:t.onLoadImg})):null,t.title||t.subtitle?a.default.createElement(W,{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},t.title&&a.default.createElement(Z,null,t.title?.length<=16?a.default.createElement("h3",null,t.title):a.default.createElement(G,null,a.default.createElement("h3",null,t.title.substring(0,16)+"..."),n&&a.default.createElement(U,null,t.title))),t.subtitle&&a.default.createElement(Z,null,t.subtitle?.length<=30?a.default.createElement("h5",null,t.subtitle):a.default.createElement(G,null,a.default.createElement("h5",null,t.subtitle.substring(0,30)+"..."),n&&a.default.createElement(U,null,t.subtitle)))):null,t.children?a.default.createElement(q,{className:"Children"},t.children):null))},exports.On_Gradient_Card=e=>a.default.createElement(_e,{className:e.className,onClick:e.onClick,id:e.id,key:e.key},a.default.createElement(Ee,{firstColor:e.firstColor,secondColor:e.secondColor},a.default.createElement(xe,{src:e.img})),a.default.createElement(ke,null,a.default.createElement(Ce,null,a.default.createElement("h3",null,e.title),a.default.createElement("p",null,e.text)),e.textBtn||e.toggle?a.default.createElement(a.default.Fragment,null,e.textBtn?a.default.createElement(Se,null,a.default.createElement(w,{text:e.textBtn,iconLeft:e.iconBtn,noPadding:!0})):a.default.createElement(Se,null,a.default.createElement(we,{active:e.active}))):a.default.createElement(a.default.Fragment,null,e.children))),exports.On_Stat=e=>a.default.createElement(Iu,{className:e.className+" OnStat",id:e.id,onClick:e.onClick},a.default.createElement(Du,{className:"OnStatTop"},a.default.createElement(Nu,null,e.title),a.default.createElement(Ou,{variant:e.variant},e.text)),a.default.createElement($u,{className:"OnStatBottom"},a.default.createElement(Tu,null,e.edited),a.default.createElement(w,{iconLeft:e.btnIcon,text:e.btnText,noPadding:!0}))),exports.P=uf,exports.Page=ru,exports.PageAlwaysVisible=su,exports.PageDesktopOnly=du,exports.PageDesktopPadding=fu,exports.PageForty=ou,exports.PageFull=au,exports.PageIllu=wu,exports.PageSingle=hu,exports.PageSingleHeader=gu,exports.PageSingleRight=yu,exports.PageSingleleft=vu,exports.PageSixty=lu,exports.PageSub=bu,exports.PageSubtitle=pu,exports.PageTitle=mu,exports.PageTools=iu,exports.PageToolsForty=uu,exports.PageToolsSixty=cu,exports.Partial_Loader=e=>a.default.createElement(zc,null,a.default.createElement("main",null)),exports.Partial_Text_Loader=e=>a.default.createElement(Zc,null,a.default.createElement("main",null,a.default.createElement(Uc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/pLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(qc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/tLight.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Kc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/turq.svg",alt:""})),a.default.createElement("main",null,a.default.createElement(Yc,{src:"https://genius1071.friktoriaservers.net/mongol/app/illus/mainLoader/purple.svg",alt:""})),a.default.createElement(Gc,null,a.default.createElement("h6",null,e.text))),exports.PhoneContext=pt,exports.Preset_Card=t=>{const[n,r]=e.useState(!1);return a.default.createElement(K,{selected:t.selected,onClick:t.onClick,id:t.id,href:t.href},a.default.createElement(Y,{selected:t.selected},t.items?a.default.createElement(X,null,t?.items.slice(0,9).map(((e,n)=>a.default.createElement(J,{selected:t.selected,key:n},t.isJson?a.default.createElement("h5",null,e[t.itemKey]):a.default.createElement("h5",null,e)))),t.items?.length>=10?a.default.createElement(J,{selected:t.selected},a.default.createElement("h5",null,"...")):null):null),t.title||t.subtitle?a.default.createElement(Q,{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},t.title&&a.default.createElement(ee,null,t.title?.length<=16?a.default.createElement("h3",null,t.title):a.default.createElement(te,null,a.default.createElement("h3",null,t.title.substring(0,16)+"..."),n&&a.default.createElement(ne,null,t.title))),t.subtitle&&a.default.createElement(ee,null,t.subtitle?.length<=30?a.default.createElement("h5",null,t.subtitle):a.default.createElement(te,null,a.default.createElement("h5",null,t.subtitle.substring(0,30)+"..."),n&&a.default.createElement(ne,null,t.subtitle)))):null)},exports.QuestadComission=function(e,t,n){return{percentage:13..toFixed(2),type:t,fee:(.13*e).toFixed(2)}},exports.Radio_=e=>a.default.createElement(It,{className:e.className,key:e.key},e.withInput?a.default.createElement(at,{placeholder:e.placeholder}):a.default.createElement("label",{onClick:e.onClick,for:e.id},a.default.createElement("p",null,e.text)),a.default.createElement(Dt,{className:"RadioCircle",id:e.id},a.default.createElement("input",{value:e.value,onChange:e.onChange,name:e.name,type:"radio",id:e.id,checked:e.checked,onClick:e.onClick}),a.default.createElement("span",{className:"RadioCustom"}),a.default.createElement("div",{className:"Bullet"}))),exports.Red_=S,exports.RegionContext=ut,exports.Row_Card=e=>a.default.createElement(he,{className:e.className,id:e.id,onClick:e.onClick},a.default.createElement(ve,null,a.default.createElement(c,{Icon:e.icon})),a.default.createElement(ge,null,e.text)),exports.Section_Filters_Search=e=>a.default.createElement(Lu,null,a.default.createElement(Ct,{title:e.inputTitle},e.children),a.default.createElement(y,{id:e.id,text:e.filters,iconRight:e.iconFilters?e.iconFilters:"Filter",onClick:e.onFilters})),exports.Section_Search=e=>a.default.createElement(Au,null,a.default.createElement(Ct,{title:e.title},e.children)),exports.Section_Title=e=>a.default.createElement(xu,{onEdit:e.onEdit},a.default.createElement(ku,null,a.default.createElement(Cu,null,e.icon?a.default.createElement(c,{Icon:e.icon}):e.img?a.default.createElement("img",{src:e.img}):null,a.default.createElement(Su,null,e.text)),a.default.createElement(Mu,null,e.value)),e.onEdit?a.default.createElement(w,{iconLeft:"Edit",onClick:e.onEdit}):null),exports.Sidebar_=e=>a.default.createElement($i,null,e.children),exports.Sidebar_Box=e=>a.default.createElement(Ti,{active:e.active,locked:e.locked,onClick:e.onClick,className:e.className,id:e.id},e.locked?a.default.createElement("h5",{className:e.className+" SidebarButtonTitleUnlock SidebarButtonTitle"},e.text,a.default.createElement(c,{Icon:"Lock"})):a.default.createElement("h5",{className:e.className+" SidebarButtonTitle"},e.text),e.icon?a.default.createElement(ji,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement(c,{Icon:e.icon})):e.img?a.default.createElement(Ri,{className:e.active?"SidebarActive":e.locked?"SidebarLocked":""},a.default.createElement("img",{src:e.img,alt:e.alt})):null),exports.Single_=e=>a.default.createElement(_u,null,a.default.createElement(su,null,a.default.createElement(mu,null,a.default.createElement("h1",null,e.title)),a.default.createElement(Eu,null,a.default.createElement("h2",null,e.subtitle),a.default.createElement("h3",null,e.text),e.textMain||e.textGrey?a.default.createElement(L,null,e.textGrey?a.default.createElement(p,{className:e.className,id:e.id,text:e.textGrey,noPadding:!0,onClick:e.onClickGrey,iconLeft:e.iconGrey}):null,e.textMain?a.default.createElement(y,{className:e.className,id:e.id,text:e.textMain,noPadding:!0,onClick:e.onClickMain,iconRight:e.iconMain}):null):null)),a.default.createElement(su,null,a.default.createElement(wu,null,a.default.createElement("img",{src:e.backgroundImage,alt:e.backgroundAlt})))),exports.Sixty_Card_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>$.xl?r(6):e<=$.xl&&e>$.md?r(4):e<=$.md&&e>$.sm?r(6):e<=$.sm&&e>$.xs?r(4):e<$.xs&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),e.useEffect((()=>{let e=window.innerWidth;o(e)}),[]),a.default.createElement(pc,null,[...Array(n)].map((e=>a.default.createElement(fc,{key:e,children:t.children,circle:t.circle}))))},exports.Sixty_Stat_Loader=t=>{const[n,r]=e.useState(),o=e=>{e>$.xl?r(6):e<=$.xl&&e>$.md?r(4):e<=$.md&&e>$.sm?r(6):e<=$.sm&&e>$.xs?r(4):e<$.xs&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;o(e)})),e.useEffect((()=>{let e=window.innerWidth;o(e)}),[]),a.default.createElement(xc,null,[...Array(n)]?.map((e=>a.default.createElement(_c,{key:e,children:t.children,circle:t.circle}))))},exports.Slider=Qd,exports.SliderContainer=rf,exports.SliderContext=mt,exports.SliderGrid=af,exports.SliderOverlay=ef,exports.SliderTitle=nf,exports.SliderWrapper=tf,exports.Slider_=Ki,exports.Stat_=e=>a.default.createElement(ju,{className:e.className+" Stat"},a.default.createElement(Ru,{className:"StatLeft"},a.default.createElement(Pu,null,e.title),a.default.createElement(zu,null,e.text),e.children),a.default.createElement(Fu,{className:"StatRight"},e.img?a.default.createElement(Vu,null,a.default.createElement("img",{src:e.img})):a.default.createElement(Bu,null,a.default.createElement(c,{Icon:e.icon})))),exports.Steps=Ud,exports.StepsActions=Jd,exports.StepsComplete=Kd,exports.StepsContainer=Yd,exports.StepsCurrent=qd,exports.StepsWrapper=Xd,exports.Steps_=e=>a.default.createElement(Bi,{className:e.className+" Steps"},a.default.createElement(Fi,{steps:e.steps,currentStep:e.currentStep}),a.default.createElement(Vi,{className:"StepsContainer"},e.steps?.map(((t,r)=>a.default.createElement(n.CSSTransition,{in:e.currentStep===r,timeout:500,unmountOnExit:!0,classNames:"Steps"},a.default.createElement(Hi,{className:"Steps"},t)))))),exports.Steps_Actions=e=>a.default.createElement(Pi,null,a.default.createElement(p,{className:e.className_Grey,id:e.id_Grey,iconLeft:e.icon_Grey,text:e.text_Grey,onClick:e.onClick_Grey}),a.default.createElement(y,{className:e.className_Main,id:e.id_Main,iconRight:e.icon_Main,text:e.text_Main,onClick:e.onClick_Main})),exports.Steps_Helper=t=>{const[n,r]=e.useState(!1);return a.default.createElement(Yi,null,n?a.default.createElement(Ki,{text:t.textSlider,title:t.titleSlider,onClose:()=>r(!n),onClick:()=>r(!n)},t.children):null,a.default.createElement(Xi,null,t.textBtn?null:a.default.createElement(Qi,null,a.default.createElement(c,{Icon:"Tip"})),a.default.createElement(Ji,null,t.extras,a.default.createElement("h5",null,t.text),t.textBtn?a.default.createElement(w,{noPadding:!0,iconLeft:"Tip",text:t.textBtn,onClick:()=>r(!n)}):null)))},exports.Sub_Card=t=>{const{theme:n}=e.useContext(ft);return a.default.createElement(yd,{key:t.key,id:t.id,onClick:t.onClick},a.default.createElement(bd,null,t.lois?a.default.createElement("img",{src:ki.lois[n]}):t.dailyprofit?a.default.createElement("img",{src:ki.dailyprofit[n]}):a.default.createElement("img",{src:ki.bond[n]})),a.default.createElement(wd,null,t.active?a.default.createElement(_d,{active:!0}):a.default.createElement(_d,null),t.lois?a.default.createElement("h3",null,"Adsnap"):t.dailyprofit?a.default.createElement("h3",null,"Questad"):a.default.createElement("h3",null,"Tailormade")),t.children)},exports.Sub_Circles=e=>a.default.createElement(md,null,e.monica?a.default.createElement("div",{className:"monica"}):null,e.bond?a.default.createElement("div",{className:"bond"}):null,e.lois?a.default.createElement("div",{className:"lois"}):null,e.dailyprofit?a.default.createElement("div",{className:"dailyprofit"}):null),exports.Sub_Color_Coding=e=>a.default.createElement(gd,null,e.bond?a.default.createElement(vd,{subscription:"bond"}):null,e.lois?a.default.createElement(vd,{subscription:"lois"}):null,e.dailyprofit?a.default.createElement(vd,{subscription:"dailyprofit"}):null),exports.Sub_Status=e=>a.default.createElement(pd,null,a.default.createElement(hd,{className:e.status},a.default.createElement("div",null),a.default.createElement("h6",null,e.text))),exports.TBody=pf,exports.TD=bf,exports.TH=yf,exports.THead=mf,exports.TR=gf,exports.TRH=vf,exports.Table=ff,exports.TableBullet=hf,exports.TableCard=Ef,exports.TableCardActions=xf,exports.TableDesktop=wf,exports.TableMobile=_f,exports.Textarea_=e=>a.default.createElement(Ot,null,a.default.createElement(Xe,{className:e.className,placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange,maxLength:e.limit,value:e.value,defaultValue:e.defaultValue},e.inTextarea),a.default.createElement(Nt,null,e.placeholder),e.limit?a.default.createElement($t,{capped:e.count>e.limit},a.default.createElement("span",null,e.valueLength)," / ",e.limit):null,e.required?a.default.createElement(Ke,{className:"ValidatorRequired"},a.default.createElement(c,{Icon:"Asterisk"})):null,e.errors?a.default.createElement(He,{className:"ValidatorErrors"},e.errors?.map((e=>a.default.createElement(qe,null,a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(He,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Ge,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Ue,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e)))),e.tips?.map((e=>a.default.createElement(Ze,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.tips?a.default.createElement(He,{className:"ValidatorHelpers"},e.tips?.map((e=>a.default.createElement(Ze,null,a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map((e=>a.default.createElement(Ue,null,a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null),exports.Theme=Ci,exports.ThemeContext=ft,exports.ThemeDark={id:"dark",pure:"var(--vanta)",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",pure:"var(--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.Timeline_=t=>{const[n,r]=e.useState({status:!1,key:null}),[o,l]=e.useState(""),[i,c]=e.useState([{status:"success",continuity:1,note:""}]),u=()=>{c((e=>e.map(((e,t)=>t===n.key?{...e,note:o}:e)))),r({status:!1,key:null})};return a.default.createElement(Pd,null,n.status&&null!==n.key&&a.default.createElement(Ki,{done:"Done",onClick:u,noClose:u},a.default.createElement(Ct,{text:"Leave a comment"},a.default.createElement(at,{placeholder:"Comment",defaultValue:i[n.key].note,onChange:e=>l(e.target.value)}))),a.default.createElement(L,null,a.default.createElement(w,{size:"small",text:"success",onClick:()=>{c((e=>"success"===e[e.length-1].status?e.map(((t,n)=>n===e.length-1?{...t,continuity:t.continuity+1}:t)):[...e,{status:"success",continuity:1}]))}}),a.default.createElement(S,{size:"small",text:"Error",onClick:()=>{c((e=>"error"===e[e.length-1].status?e.map(((t,n)=>n===e.length-1?{...t,continuity:t.continuity+1}:t)):[...e,{status:"error",continuity:1}]))}})),a.default.createElement(zd,null,i.map(((e,t)=>a.default.createElement(Fd,{key:t,continuity:e.continuity,status:e.status,onClick:()=>(e=>{const t=i[e];r((t=>({status:!0,key:t.key===e?null:e}))),l(t.note)})(t)},a.default.createElement("h5",null,e.note))))))},exports.Toggle_=we,exports.Toggle_Stat=e=>a.default.createElement(Hu,{className:e.className+" ToggleStat",id:e.id,onClick:e.onClick,active:e.active},a.default.createElement("h5",null,e.text),a.default.createElement(we,{active:e.active})),exports.Unlock_Card=e=>a.default.createElement(ie,{className:e.className,key:e.key},e.icon||e.header||e.imgSmall?a.default.createElement(se,null,e.icon?a.default.createElement(de,null,a.default.createElement(c,{Icon:e.icon})):a.default.createElement(fe,null,a.default.createElement(pe,null),a.default.createElement("img",{src:e.imgSmall}))):e.img?a.default.createElement(me,{imgBehave:e.imgBehave},a.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?a.default.createElement(ue,null,e.title&&a.default.createElement("h3",null,e.title),e.subtitle&&a.default.createElement("h5",null,e.subtitle),e.children):null,a.default.createElement(ce,null,a.default.createElement(d,{className:e.className,id:e.id,href:e.href,text:e.textBuy,iconRight:e.iconBuy,onClick:e.onBuy}))),exports.Upload_Avatar=e=>a.default.createElement(Xs,null,a.default.createElement("h4",null,e.title),a.default.createElement(Js,null,a.default.createElement(Qs,null,e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultAvatar.jpg"})),a.default.createElement(ed,null,a.default.createElement(Ys,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,userId:e.userId}),e.uploaded?a.default.createElement(S,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null,e.errors?a.default.createElement(He,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(qe,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(He,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Ge,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ue,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(He,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ze,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null))),exports.Upload_Blanc=e=>a.default.createElement(fd,{className:"UploadBlanc"},a.default.createElement(Ys,{maxFiles:e.maxFiles,getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,type:"media",userId:e.userId})),exports.Upload_Cover=e=>a.default.createElement(td,null,a.default.createElement("h4",null,e.title),a.default.createElement(nd,null,a.default.createElement(rd,{aspect:e.aspect},e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultCover.jpg"})),a.default.createElement(ad,null,a.default.createElement(Ys,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,type:e.type,userId:e.userId}),e.uploaded||e.hideDelete?a.default.createElement(S,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null),e.errors?a.default.createElement(He,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(qe,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(He,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Ge,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ue,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(He,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ze,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null)),exports.Upload_Logo=e=>a.default.createElement(od,null,a.default.createElement(ld,null,e.img&&e.uploaded?a.default.createElement("img",{src:e.img}):a.default.createElement("img",{src:e.imgDefault?e.imgDefault:"https://genius1071.friktoriaservers.net/doitforme/morning/app/boiler/DefaultAvatar.jpg"})),a.default.createElement(id,null,a.default.createElement(Ys,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,userId:e.userId}))),exports.Upload_Media=e=>a.default.createElement(cd,null,a.default.createElement("h4",null,e.title),a.default.createElement(ud,{className:"UploadMediaGrid"},a.default.createElement(sd,null,e.uploaded?a.default.createElement("p",null,e.filename):null),a.default.createElement(dd,null,a.default.createElement(Ys,{maxFiles:"1",getFilesFromChild:e.getFilesFromChild,boomRejected:e.boomRejected,accept:e.accept,onClick:e.onUpload,text:e.upload,iconLeft:e.iconUpload?e.iconUpload:"Upload",maxSize:e.maxSize,userId:e.userId,type:"media"}),e.uploaded?a.default.createElement(S,{onClick:e.onDelete,text:e.delete,iconLeft:e.iconUpload?e.iconUpload:"Delete"}):null),e.errors?a.default.createElement(He,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>a.default.createElement(qe,{key:t},a.default.createElement(c,{Icon:"Error"}),a.default.createElement("h6",null,e))))):null,e.successes?a.default.createElement(He,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>a.default.createElement(Ge,{key:t},a.default.createElement(c,{Icon:"Check"}),a.default.createElement("h6",null,e))))):null,e.helpers?a.default.createElement(He,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>a.default.createElement(Ue,{key:t},a.default.createElement(c,{Icon:"Warning"}),a.default.createElement("h6",null,e))))):null,e.tips?a.default.createElement(He,{className:"ValidatorTips"},e.tips?.map(((e,t)=>a.default.createElement(Ze,{key:t},a.default.createElement(c,{Icon:"Tip"}),a.default.createElement("h6",null,e))))):null)),exports.ValidatorError=qe,exports.ValidatorRequired=Ke,exports.ValidatorSuccess=Ge,exports.ValidatorTip=Ze,exports.ValidatorWarning=Ue,exports.Validators=He,exports.View_Card=e=>a.default.createElement(re,{className:e.className,id:e.id,imgBehave:e.imgBehave,onClick:e.onClick},e.icon||e.header||e.imgSmall?a.default.createElement("header",null,e.icon?a.default.createElement("figure",null,a.default.createElement(c,{Icon:e.icon})):e.imgSmall?a.default.createElement(oe,null,a.default.createElement("img",{src:e.imgSmall})):a.default.createElement(ae,{headerColor:e.headerColor},e.header)):e.img?a.default.createElement("picture",null,a.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?a.default.createElement("footer",null,e.title&&a.default.createElement("h2",null,e.title),e.subtitle&&a.default.createElement("h5",null,e.subtitle),e.children):null),exports.White_Plain=E,exports.breakPoints=$,exports.countries=bt,exports.device=T,exports.logo=ki;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monica-alexandria",
|
|
3
|
-
"version": "3.74.
|
|
3
|
+
"version": "3.74.23",
|
|
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",
|
|
@@ -131,7 +131,7 @@ export const Footer_ = (props) => {
|
|
|
131
131
|
<img src="https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg" />
|
|
132
132
|
<h2>Doitforme</h2>
|
|
133
133
|
</FooterLogo>
|
|
134
|
-
<h6>© Copyright
|
|
134
|
+
<h6>© Copyright 2025</h6>
|
|
135
135
|
<h6>DO IT FOR ME P.C.</h6>
|
|
136
136
|
</FooterLeft>
|
|
137
137
|
<FooterRight>
|
|
@@ -19,15 +19,15 @@ export const Input_ = (props) => {
|
|
|
19
19
|
className={props.className + " " + "FormInput"}
|
|
20
20
|
placeholder={props.placeholder}
|
|
21
21
|
id={props.id}
|
|
22
|
-
autoComplete="off"
|
|
23
|
-
type="text"
|
|
22
|
+
autoComplete={props.autoComplete ? props.autoComplete : "off"}
|
|
23
|
+
type={props.type ? props.type : "text"}
|
|
24
|
+
name={props.name}
|
|
24
25
|
onChange={props.onChange}
|
|
25
26
|
defaultValue={props.defaultValue}
|
|
26
27
|
onKeyPress={props.onKeyPress}
|
|
27
28
|
onKeyDown={props.onKeyDown}
|
|
28
29
|
disabled={props.disabled}
|
|
29
30
|
ref={props.ref}
|
|
30
|
-
type={props.type}
|
|
31
31
|
/>
|
|
32
32
|
<FormLabel className="FormLabel">{props.placeholder}</FormLabel>
|
|
33
33
|
{props.list ? (
|
|
@@ -10,41 +10,36 @@ import {
|
|
|
10
10
|
ValidatorWarning,
|
|
11
11
|
} from "../../helpers/Validator";
|
|
12
12
|
import { IconSvg } from "../../svg/IconSvg";
|
|
13
|
+
import { FormGroup } from "../../styles/Form";
|
|
13
14
|
|
|
14
|
-
const TextAreaGroup = styled
|
|
15
|
+
const TextAreaGroup = styled(FormGroup)`
|
|
15
16
|
position: relative;
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
& ~ .ValidatorHelpers {
|
|
23
|
-
display: block;
|
|
18
|
+
textarea:placeholder-shown {
|
|
19
|
+
~ label {
|
|
20
|
+
transform: translateY(0rem);
|
|
21
|
+
visibility: hidden;
|
|
22
|
+
opacity: 0;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
|
|
25
|
+
~ .ValidatorHelpers {
|
|
27
26
|
display: none;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
|
-
|
|
29
|
+
~ .ValidatorErrors {
|
|
30
|
+
display: block;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
~ .FormAddButton {
|
|
31
34
|
display: none;
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
`;
|
|
35
38
|
|
|
36
39
|
const TextAreaLabel = styled(Label)`
|
|
37
|
-
position: absolute;
|
|
38
|
-
top: 1.8rem;
|
|
39
|
-
left: 1.6rem;
|
|
40
|
-
transform: translateY(-1rem);
|
|
41
|
-
visibility: visible;
|
|
42
|
-
opacity: 1;
|
|
43
|
-
transition-property: opacity, transform;
|
|
44
|
-
transition-duration: 0.5s;
|
|
45
40
|
font-size: var(--smallText);
|
|
46
41
|
color: var(--greyDark);
|
|
47
|
-
|
|
42
|
+
`;
|
|
48
43
|
|
|
49
44
|
const TextAreaCounter = styled.h6`
|
|
50
45
|
text-align: right;
|
|
@@ -57,11 +52,6 @@ const TextAreaCounter = styled.h6`
|
|
|
57
52
|
export const Textarea_ = (props) => {
|
|
58
53
|
return (
|
|
59
54
|
<TextAreaGroup>
|
|
60
|
-
{props.label ?
|
|
61
|
-
<TextAreaLabel>{props.label}</TextAreaLabel>
|
|
62
|
-
:
|
|
63
|
-
null
|
|
64
|
-
}
|
|
65
55
|
<Textarea
|
|
66
56
|
className={props.className}
|
|
67
57
|
placeholder={props.placeholder}
|
|
@@ -73,6 +63,7 @@ export const Textarea_ = (props) => {
|
|
|
73
63
|
>
|
|
74
64
|
{props.inTextarea}
|
|
75
65
|
</Textarea>
|
|
66
|
+
<TextAreaLabel>{props.placeholder}</TextAreaLabel>
|
|
76
67
|
{props.limit ? (
|
|
77
68
|
<TextAreaCounter capped={props.count > props.limit ? true : false}>
|
|
78
69
|
<span>{props.valueLength}</span> / {props.limit}
|