monica-alexandria 3.2.3 → 3.2.5
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 +87 -127
- package/dist/index.js +87 -127
- package/package.json +1 -1
- package/src/export/components/card/On_Click_Card.js +16 -2
- package/src/export/components/sidebar/Sidebar_.js +1 -65
- package/src/export/components/sidebar/Sidebar_Box.js +73 -0
- package/src/export/styles/Cards.js +18 -0
- package/src/export/styles/index.js +2 -1
- package/src/stories/cards/OnClickCard.stories.jsx +7 -1
- package/src/stories/sidebar/Sidebar.stories.jsx +17 -0
package/dist/index.es.js
CHANGED
|
@@ -259,8 +259,8 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
259
259
|
|
|
260
260
|
figure{
|
|
261
261
|
background: ${e=>"dark"===e.theme?"var(--dark)":"var(--white)"};
|
|
262
|
-
padding: 3rem;
|
|
263
262
|
border-radius: 50%;
|
|
263
|
+
padding: 3rem;
|
|
264
264
|
|
|
265
265
|
svg{
|
|
266
266
|
width: 5rem;
|
|
@@ -295,7 +295,15 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
295
295
|
text-align: center;
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
|
-
`,I=
|
|
298
|
+
`,I=o.div`
|
|
299
|
+
|
|
300
|
+
img{
|
|
301
|
+
object-fit: cover;
|
|
302
|
+
height: 11rem;
|
|
303
|
+
width: 11rem;
|
|
304
|
+
border-radius: 50%;
|
|
305
|
+
}
|
|
306
|
+
`,$=t=>e.createElement(A,{variant_CardText:t.variant_CardText},t.svg_Card||t.text_Card||t.img_SmallCard?e.createElement("header",null,t.svg_Card?e.createElement("figure",null,e.createElement(d,{Icon:t.svg_Card})):t.img_SmallCard?e.createElement(I,null,e.createElement("img",{src:t.img_SmallCard})):e.createElement("span",null,t.text_Card)):t.img_Card?e.createElement("picture",null,e.createElement("img",{src:t.img_Card})):null,t.text_CardTitle||t.text_CardSub?e.createElement("footer",null,t.text_CardTitle&&e.createElement("h2",null,t.text_CardTitle),t.text_CardSub&&e.createElement("h5",null,t.text_CardSub),t.children):null),T=`(max-width: ${`${576}px`})`,R=`(max-width: ${`${768}px`})`,B=`(max-width: ${`${992}px`})`,Z=`(max-width: ${`${1440}px`})`,N=o.div`
|
|
299
307
|
position: fixed;
|
|
300
308
|
top: 0;
|
|
301
309
|
left: 0;
|
|
@@ -303,7 +311,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
303
311
|
width: 100%;
|
|
304
312
|
min-height: 100vh;
|
|
305
313
|
background: ${e=>e.theme.overlay};
|
|
306
|
-
`,
|
|
314
|
+
`,z=o.div`
|
|
307
315
|
position: fixed;
|
|
308
316
|
top: 6.5rem;
|
|
309
317
|
left: 50%;
|
|
@@ -314,14 +322,14 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
314
322
|
padding: var(--normalPads);
|
|
315
323
|
border-radius: var(--smallRadius);
|
|
316
324
|
background: ${e=>e.theme.background};
|
|
317
|
-
`,
|
|
325
|
+
`,P=o.div`
|
|
318
326
|
margin-top: 2rem;
|
|
319
327
|
padding: 1rem 2rem;
|
|
320
328
|
display: flex;
|
|
321
329
|
align-items: center;
|
|
322
330
|
justify-content: space-between;
|
|
323
331
|
|
|
324
|
-
@media ${
|
|
332
|
+
@media ${R}{
|
|
325
333
|
|
|
326
334
|
button{
|
|
327
335
|
|
|
@@ -330,9 +338,9 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
330
338
|
}
|
|
331
339
|
}
|
|
332
340
|
}
|
|
333
|
-
`,
|
|
341
|
+
`,H=t=>e.createElement(N,null,e.createElement(z,null,e.createElement("h4",null,t.text_Confirmation),e.createElement(P,null,e.createElement(k,{onClick:t.onClick_Primary,icon_Left:t.icon_Primary,text_Button:t.text_Primary}),e.createElement(M,{onClick:t.onClick_Secondary,icon_Left:t.icon_Secondary,text_Button:t.text_Secondary})))),G=o.div`
|
|
334
342
|
|
|
335
|
-
`,
|
|
343
|
+
`,F=o.div`
|
|
336
344
|
display: grid;
|
|
337
345
|
grid-template-columns: var(--smallIcon) 1fr;
|
|
338
346
|
align-items: flex-start;
|
|
@@ -342,7 +350,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
342
350
|
svg{
|
|
343
351
|
width: var(--smallIcon);
|
|
344
352
|
}
|
|
345
|
-
`,
|
|
353
|
+
`,D=o(F)`
|
|
346
354
|
|
|
347
355
|
h6{
|
|
348
356
|
color: var(--greyDark);
|
|
@@ -351,7 +359,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
351
359
|
svg{
|
|
352
360
|
fill: var(--greyDark);
|
|
353
361
|
}
|
|
354
|
-
`;o(
|
|
362
|
+
`;o(F)`
|
|
355
363
|
|
|
356
364
|
h6{
|
|
357
365
|
color: var(--success);
|
|
@@ -360,7 +368,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
360
368
|
svg{
|
|
361
369
|
fill: var(--success);
|
|
362
370
|
}
|
|
363
|
-
`;const
|
|
371
|
+
`;const V=o(F)`
|
|
364
372
|
|
|
365
373
|
h6{
|
|
366
374
|
color: var(--warning);
|
|
@@ -369,7 +377,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
369
377
|
svg{
|
|
370
378
|
fill: var(--warning);
|
|
371
379
|
}
|
|
372
|
-
`,
|
|
380
|
+
`,K=o(F)`
|
|
373
381
|
|
|
374
382
|
h6{
|
|
375
383
|
color: var(--error);
|
|
@@ -378,7 +386,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
378
386
|
svg{
|
|
379
387
|
fill: var(--error);
|
|
380
388
|
}
|
|
381
|
-
`,
|
|
389
|
+
`,j=o.div`
|
|
382
390
|
position: absolute;
|
|
383
391
|
top: .8rem;
|
|
384
392
|
right: .8rem;
|
|
@@ -387,7 +395,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
387
395
|
width: var(--smallIcon);
|
|
388
396
|
fill: var(--warning);
|
|
389
397
|
}
|
|
390
|
-
`,
|
|
398
|
+
`,q=o.input`
|
|
391
399
|
width: 100%;
|
|
392
400
|
border: none;
|
|
393
401
|
background: ${e=>e.theme.background};
|
|
@@ -408,7 +416,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
408
416
|
outline: 0;
|
|
409
417
|
box-shadow: ${e=>e.theme.inFocus};
|
|
410
418
|
}
|
|
411
|
-
`,
|
|
419
|
+
`,O=o.textarea`
|
|
412
420
|
width: 100%;
|
|
413
421
|
border: none;
|
|
414
422
|
background: ${e=>e.theme.background};
|
|
@@ -430,9 +438,9 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
430
438
|
outline: 0;
|
|
431
439
|
box-shadow: ${e=>e.theme.inFocus};
|
|
432
440
|
}
|
|
433
|
-
`,
|
|
441
|
+
`,W=o.label`
|
|
434
442
|
color: ${e=>e.theme.high};
|
|
435
|
-
`,
|
|
443
|
+
`,U=o.div`
|
|
436
444
|
padding: var(--normalPads);
|
|
437
445
|
background: ${e=>e.theme.low};
|
|
438
446
|
border-radius: var(--normalRadius);
|
|
@@ -440,11 +448,11 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
440
448
|
h3{
|
|
441
449
|
margin-bottom: 4rem;
|
|
442
450
|
}
|
|
443
|
-
`,
|
|
451
|
+
`,X=o(q)`
|
|
444
452
|
padding-top: 3rem;
|
|
445
|
-
`,
|
|
453
|
+
`,J=o(W)`
|
|
446
454
|
font-size: var(--smallText);
|
|
447
|
-
`,
|
|
455
|
+
`,Y=o.div`
|
|
448
456
|
position: relative;
|
|
449
457
|
|
|
450
458
|
label{
|
|
@@ -496,7 +504,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
496
504
|
display: none;
|
|
497
505
|
}
|
|
498
506
|
}
|
|
499
|
-
`,
|
|
507
|
+
`,Q=o.ul`
|
|
500
508
|
margin-top: 2rem;
|
|
501
509
|
|
|
502
510
|
li{
|
|
@@ -511,7 +519,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
511
519
|
fill: ${e=>e.theme.color};
|
|
512
520
|
}
|
|
513
521
|
}
|
|
514
|
-
`,
|
|
522
|
+
`,ee=t=>e.createElement(Y,null,e.createElement(X,{className:t.class_Input,placeholder:t.text_Placeholder,id:t.id_Input,autoComplete:"off",type:"text",onChange:t.onChange_Input,defaultValue:t.text_Defaultvalue,onKeyPress:t.onKeyPress_Input,onKeyDown:t.onKeyDown_Input}),e.createElement(J,null,t.text_Placeholder),t.variant_List?e.createElement(k,{variant_Size:"small",text_Button:"Add",icon_Left:"Add",className:"FormAddButton"}):null,t.bool_Required?e.createElement(j,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.array_Errors?e.createElement(G,{className:"ValidatorErrors"},t.array_Errors.map((t=>e.createElement(K,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.array_Tips&&t.array_Helpers?e.createElement(G,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.array_Tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.array_Tips?e.createElement(G,{className:"ValidatorHelpers"},t.array_Tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.array_Helpers?e.createElement(G,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null,t.variant_List?e.createElement(Q,null,t.array_List.map((n=>e.createElement("li",null,e.createElement(d,{Icon:t.icon_List}),e.createElement("h6",null,n),e.createElement(S,{variant_Size:"small",icon_Left:"Delete"}))))):null),te=o.div`
|
|
515
523
|
position: relative;
|
|
516
524
|
|
|
517
525
|
select{
|
|
@@ -544,27 +552,27 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
544
552
|
right: 1rem;
|
|
545
553
|
}
|
|
546
554
|
|
|
547
|
-
`,
|
|
555
|
+
`,ne=t=>e.createElement(te,null,e.createElement(d,{Icon:"Dropdown",class_Icon:"Dropdown_IconAdapt"}),t.array_Dropdown?e.createElement("select",{className:t.class_Select},t.array_Dropdown.map(((t,n)=>e.createElement("option",{key:n},t)))):null,t.children),re=t({language:"el",setLanguage:()=>{}}),ae=t({region:"Greece",setRegion:()=>{}}),oe=t({activeMenu:"Main",setActiveMenu:()=>{}}),ie=t({hamState:!1,setHamState:()=>{}}),ce=t({theme:"light",setTheme:()=>{}}),le=t({slider:!1,toggleSlider:()=>{}}),se=o.div`
|
|
548
556
|
|
|
549
|
-
`,
|
|
557
|
+
`,de=o.div`
|
|
550
558
|
display: grid;
|
|
551
559
|
align-items: flex-start;
|
|
552
560
|
justify-content: flex-start;
|
|
553
561
|
grid-template-columns: auto auto;
|
|
554
562
|
grid-column-gap: 2rem;
|
|
555
563
|
margin-bottom: 1rem;
|
|
556
|
-
`,
|
|
564
|
+
`,ue=t=>{const{region:r}=n(ae);return e.createElement(se,null,e.createElement(de,null,e.createElement(ne,null,e.createElement("select",{className:"Dropdown_EmojiAdapt"},"Greece"===r?e.createElement("option",{selected:!0},"🇬🇷 +30"):"Deutschland"===r?e.createElement("option",{selected:!0},"🇩🇪 +49"):e.createElement("option",{selected:!0},"🇬🇷 +30"))),e.createElement(ne,{array_Dropdown:t.array_PhoneDropdown})),e.createElement(ee,{text_Placeholder:t.text_PhonePlaceholder,bool_Required:t.bool_Required,variant_List:!0,array_List:t.array_PhoneList,icon_List:t.icon_PhoneList}))},me=o.div`
|
|
557
565
|
display: grid;
|
|
558
566
|
grid-template-columns: auto 1fr;
|
|
559
567
|
align-items: center;
|
|
560
568
|
grid-column-gap: 2rem;
|
|
561
|
-
`,
|
|
569
|
+
`,he=t=>{const{region:r}=n(ae);return e.createElement(me,null,e.createElement(ne,null,"Greece"===r?e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇬🇷 +30"),e.createElement("option",null,"🇩🇪 +49")):"Deutschland"===r?e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇩🇪 +49"),e.createElement("option",null,"🇬🇷 +30")):e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇬🇷 +30"),e.createElement("option",null,"🇩🇪 +49"))),e.createElement(ee,{class_Input:t.class_Input,text_Placeholder:t.text_Placeholder,id_Input:t.id_Input,onChange_Input:t.onChange_Input,text_Defaultvalue:t.text_Defaultvalue,onKeyPress_Input:t.onKeyPress_Input,onKeyDown_Input:t.onKeyDown_Input}))},ge=o.div`
|
|
562
570
|
margin-bottom: 2rem;
|
|
563
571
|
|
|
564
572
|
h4{
|
|
565
573
|
padding-bottom: 1rem;
|
|
566
574
|
}
|
|
567
|
-
`,
|
|
575
|
+
`,pe=t=>e.createElement(ge,{key:t.key},t.text_BuilderTitle?e.createElement("h4",null,t.text_BuilderTitle):null,t.children),ve=o.div`
|
|
568
576
|
display: grid;
|
|
569
577
|
grid-template-columns: auto 1fr;
|
|
570
578
|
align-items: flex-start;
|
|
@@ -579,7 +587,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
579
587
|
background: ${e=>e.theme.low};
|
|
580
588
|
}
|
|
581
589
|
}
|
|
582
|
-
`,
|
|
590
|
+
`,ye=o.div`
|
|
583
591
|
position: relative;
|
|
584
592
|
height: 2rem;
|
|
585
593
|
width: 2rem;
|
|
@@ -633,7 +641,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
633
641
|
opacity: 1 !important;
|
|
634
642
|
}
|
|
635
643
|
}
|
|
636
|
-
`,
|
|
644
|
+
`,_e=t=>e.createElement(ve,{key:t.key},t.variant_Input?e.createElement(ee,{text_Placeholder:t.text_CheckboxPlaceholder}):e.createElement("label",{for:t.id_Checkbox},e.createElement("p",null,t.text_CheckboxLabel)),e.createElement(ye,{className:"Check"},e.createElement("input",{type:"checkbox",id:t.id_Checkbox,checked:t.bool_Checked}),e.createElement("span",{className:"CheckCustom"}),e.createElement(d,{Icon:"Check",class_Icon:"CheckIcon"}))),Ee=o.div`
|
|
637
645
|
display: grid;
|
|
638
646
|
grid-template-columns: auto 1fr;
|
|
639
647
|
align-items: flex-start;
|
|
@@ -648,7 +656,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
648
656
|
background: ${e=>e.theme.low};
|
|
649
657
|
}
|
|
650
658
|
}
|
|
651
|
-
`,
|
|
659
|
+
`,fe=o.div`
|
|
652
660
|
position: relative;
|
|
653
661
|
height: 2rem;
|
|
654
662
|
width: 2rem;
|
|
@@ -702,7 +710,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
702
710
|
opacity: 1 !important;
|
|
703
711
|
}
|
|
704
712
|
}
|
|
705
|
-
`,
|
|
713
|
+
`,xe=t=>e.createElement(Ee,{key:t.key},t.variant_Input?e.createElement(ee,{text_Placeholder:t.text_RadioPlaceholder}):e.createElement("label",{for:t.id_Radio},e.createElement("p",null,t.text_RadioLabel)),e.createElement(fe,{className:"RadioCircle"},e.createElement("input",{name:t.name_Radio,type:"radio",id:t.id_Radio,checked:t.bool_RadioChecked}),e.createElement("span",{className:"RadioCustom"}),e.createElement(d,{Icon:"Sun",class_Icon:"RadioIcon"}))),ke=o.div`
|
|
706
714
|
position: relative;
|
|
707
715
|
|
|
708
716
|
.ValidatorHelpers{
|
|
@@ -723,13 +731,13 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
723
731
|
display: none;
|
|
724
732
|
}
|
|
725
733
|
}
|
|
726
|
-
`,
|
|
734
|
+
`,we=o.h6`
|
|
727
735
|
text-align: right;
|
|
728
736
|
|
|
729
737
|
span{
|
|
730
738
|
color: ${e=>e.capped?"var(--error)":"inherit"};
|
|
731
739
|
}
|
|
732
|
-
`,we=t=>{const[n,r]=e.useState(0);return e.createElement(xe,null,e.createElement(q,{placeholder:t.text_Placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange_Textarea?t.onChange_Textarea:e=>(e=>{r(e.target.value.length)})(e)},t.text_Prefill),t.int_Limit?e.createElement(ke,{capped:n>t.int_Limit}," ",e.createElement("span",null,n)," / ",t.int_Limit):null,t.bool_Required?e.createElement(K,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.array_Errors?e.createElement(H,{className:"ValidatorErrors"},t.array_Errors.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.array_Tips&&t.array_Helpers?e.createElement(H,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.array_Tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.array_Tips?e.createElement(H,{className:"ValidatorHelpers"},t.array_Tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.array_Helpers?e.createElement(H,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null)};function Me(e){return Array.isArray?Array.isArray(e):"[object Array]"===$e(e)}function be(e){return"string"==typeof e}function Ce(e){return"number"==typeof e}function Le(e){return!0===e||!1===e||function(e){return Se(e)&&null!==e}(e)&&"[object Boolean]"==$e(e)}function Se(e){return"object"==typeof e}function Ae(e){return null!=e}function Ie(e){return!e.trim().length}function $e(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Te=Object.prototype.hasOwnProperty;class Re{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=Be(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 Be(e){let t=null,n=null,r=null,a=1,o=null;if(be(e)||Me(e))r=e,t=Ne(e),n=Ze(e);else{if(!Te.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(r=i,Te.call(e,"weight")&&(a=e.weight,a<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(i));t=Ne(i),n=Ze(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function Ne(e){return Me(e)?e:e.split(".")}function Ze(e){return Me(e)?e.join("."):e}var ze={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const a=(e,t,o)=>{if(Ae(e))if(t[o]){const i=e[t[o]];if(!Ae(i))return;if(o===t.length-1&&(be(i)||Ce(i)||Le(i)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(i));else if(Me(i)){r=!0;for(let e=0,n=i.length;e<n;e+=1)a(i[e],t,o+1)}else t.length&&a(i,t,o+1)}else n.push(e)};return a(e,be(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Pe=/[^ ]+/g;class He{constructor({getFn:e=ze.getFn,fieldNormWeight:t=ze.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(Pe).length;if(n.has(a))return n.get(a);const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*r)/r);return n.set(a,i),i},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,be(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();be(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!Ae(e)||Ie(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if(Ae(a))if(Me(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(Ae(r))if(be(r)&&!Ie(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else Me(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(be(a)&&!Ie(a)){let e={v:a,n:this.norm.get(a)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Ge(e,t,{getFn:n=ze.getFn,fieldNormWeight:r=ze.fieldNormWeight}={}){const a=new He({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Be)),a.setSources(t),a.create(),a}function Fe(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=ze.distance,ignoreLocation:o=ze.ignoreLocation}={}){const i=t/e.length;if(o)return i;const c=Math.abs(r-n);return a?i+c/a:c?1:i}function De(e,t,n,{location:r=ze.location,distance:a=ze.distance,threshold:o=ze.threshold,findAllMatches:i=ze.findAllMatches,minMatchCharLength:c=ze.minMatchCharLength,includeMatches:l=ze.includeMatches,ignoreLocation:s=ze.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,u=e.length,m=Math.max(0,Math.min(r,u));let h=o,g=m;const p=c>1||l,v=p?Array(u):[];let y;for(;(y=e.indexOf(t,g))>-1;){let e=Fe(t,{currentLocation:y,expectedLocation:m,distance:a,ignoreLocation:s});if(h=Math.min(e,h),g=y+d,p){let e=0;for(;e<d;)v[y+e]=1,e+=1}}g=-1;let _=[],E=1,f=d+u;const x=1<<d-1;for(let r=0;r<d;r+=1){let o=0,c=f;for(;o<c;){Fe(t,{errors:r,currentLocation:m+c,expectedLocation:m,distance:a,ignoreLocation:s})<=h?o=c:f=c,c=Math.floor((f-o)/2+o)}f=c;let l=Math.max(1,m-c+1),y=i?u:Math.min(m+c,u)+d,k=Array(y+2);k[y+1]=(1<<r)-1;for(let o=y;o>=l;o-=1){let i=o-1,c=n[e.charAt(i)];if(p&&(v[i]=+!!c),k[o]=(k[o+1]<<1|1)&c,r&&(k[o]|=(_[o+1]|_[o])<<1|1|_[o+1]),k[o]&x&&(E=Fe(t,{errors:r,currentLocation:i,expectedLocation:m,distance:a,ignoreLocation:s}),E<=h)){if(h=E,g=i,g<=m)break;l=Math.max(1,2*m-g)}}if(Fe(t,{errors:r+1,currentLocation:m,expectedLocation:m,distance:a,ignoreLocation:s})>h)break;_=k}const k={isMatch:g>=0,score:Math.max(.001,E)};if(p){const e=function(e=[],t=ze.minMatchCharLength){let n=[],r=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(v,c);e.length?l&&(k.indices=e):k.isMatch=!1}return k}function Ve(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}class Ke{constructor(e,{location:t=ze.location,threshold:n=ze.threshold,distance:r=ze.distance,includeMatches:a=ze.includeMatches,findAllMatches:o=ze.findAllMatches,minMatchCharLength:i=ze.minMatchCharLength,isCaseSensitive:c=ze.isCaseSensitive,ignoreLocation:l=ze.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:Ve(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,n=d-t;for(;e<n;)s(this.pattern.substr(e,32),e),e+=32;if(t){const e=d-32;s(this.pattern.substr(e),e)}}else s(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,ignoreLocation:l}=this.options;let s=[],d=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:m,startIndex:h})=>{const{isMatch:g,score:p,indices:v}=De(e,t,m,{location:r+h,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});g&&(u=!0),d+=p,g&&v&&(s=[...s,...v])}));let m={isMatch:u,score:u?d/this.chunks.length:1};return u&&n&&(m.indices=s),m}}class je{constructor(e){this.pattern=e}static isMultiMatch(e){return qe(e,this.multiRegex)}static isSingleMatch(e){return qe(e,this.singleRegex)}search(){}}function qe(e,t){const n=e.match(t);return n?n[1]:null}class Oe extends je{constructor(e,{location:t=ze.location,threshold:n=ze.threshold,distance:r=ze.distance,includeMatches:a=ze.includeMatches,findAllMatches:o=ze.findAllMatches,minMatchCharLength:i=ze.minMatchCharLength,isCaseSensitive:c=ze.isCaseSensitive,ignoreLocation:l=ze.ignoreLocation}={}){super(e),this._bitapSearch=new Ke(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class We extends je{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Ue=[class extends je{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},We,class extends je{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends je{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends je{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends je{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends je{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Oe],Xe=Ue.length,Je=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Ye=new Set([Oe.type,We.type]);class Qe{constructor(e,{isCaseSensitive:t=ze.isCaseSensitive,includeMatches:n=ze.includeMatches,minMatchCharLength:r=ze.minMatchCharLength,ignoreLocation:a=ze.ignoreLocation,findAllMatches:o=ze.findAllMatches,location:i=ze.location,threshold:c=ze.threshold,distance:l=ze.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:c,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Je).filter((e=>e&&!!e.trim())),r=[];for(let e=0,a=n.length;e<a;e+=1){const a=n[e];let o=!1,i=-1;for(;!o&&++i<Xe;){const e=Ue[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Xe;){const e=Ue[i];let n=e.isSingleMatch(a);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let a=0,o=[],i=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];o.length=0,a=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:l,indices:s,score:d}=r.search(e);if(!l){i=0,a=0,o.length=0;break}if(a+=1,i+=d,n){const e=r.constructor.type;Ye.has(e)?o=[...o,...s]:o.push(s)}}if(a){let e={isMatch:!0,score:i/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const et=[];function tt(e,t){for(let n=0,r=et.length;n<r;n+=1){let r=et[n];if(r.condition(e,t))return new r(e,t)}return new Ke(e,t)}const nt="$and",rt="$or",at="$path",ot="$val",it=e=>!(!e[nt]&&!e[rt]),ct=e=>({[nt]:Object.keys(e).map((t=>({[t]:e[t]})))});function lt(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[at])(e);if(!o&&a.length>1&&!it(e))return r(ct(e));if((e=>!Me(e)&&Se(e)&&!it(e))(e)){const r=o?e[at]:a[0],i=o?e[ot]:e[r];if(!be(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:Ze(r),pattern:i};return n&&(c.searcher=tt(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];Me(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return it(e)||(e=ct(e)),r(e)}function st(e,t){const n=e.matches;t.matches=[],Ae(n)&&n.forEach((e=>{if(!Ae(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let a={indices:n,value:r};e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)}))}function dt(e,t){t.score=e.score}class ut{constructor(e,t={},n){this.options={...ze,...t},this.options.useExtendedSearch,this._keyStore=new Re(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof He))throw new Error("Incorrect 'index' type");this._myIndex=t||Ge(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ae(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const a=this._docs[n];e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options;let c=be(e)?be(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=ze.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:i}),a&&c.sort(o),Ce(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=ze.includeMatches,includeScore:r=ze.includeScore}={}){const a=[];return n&&a.push(st),r&&a.push(dt),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=tt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!Ae(e))return;const{isMatch:o,score:i,indices:c}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:c}]})})),r}_searchLogical(e){const t=lt(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const a=[];for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],c=n(i,t,r);if(c.length)a.push(...c);else if(e.operator===nt)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(Ae(e)){let i=n(t,e,r);i.length&&(a[r]||(a[r]={idx:r,item:e,matches:[]},o.push(a[r])),i.forEach((({matches:e})=>{a[r].matches.push(...e)})))}})),o}_searchObjectList(e){const t=tt(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!Ae(e))return;let o=[];n.forEach(((n,r)=>{o.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),o.length&&a.push({idx:r,item:e,matches:o})})),a}_findMatches({key:e,value:t,searcher:n}){if(!Ae(t))return[];let r=[];if(Me(t))t.forEach((({v:t,i:a,n:o})=>{if(!Ae(t))return;const{isMatch:i,score:c,indices:l}=n.searchIn(t);i&&r.push({score:c,key:e,value:t,idx:a,norm:o,indices:l})}));else{const{v:a,n:o}=t,{isMatch:i,score:c,indices:l}=n.searchIn(a);i&&r.push({score:c,key:e,value:a,norm:o,indices:l})}return r}}ut.version="6.6.2",ut.createIndex=Ge,ut.parseIndex=function(e,{getFn:t=ze.getFn,fieldNormWeight:n=ze.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new He({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},ut.config=ze,ut.parseQuery=lt,function(...e){et.push(...e)}(Qe);var mt=require("greek-utils");const ht=o(J)`
|
|
740
|
+
`,Me=t=>{const[n,r]=e.useState(0);return e.createElement(ke,null,e.createElement(O,{placeholder:t.text_Placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange_Textarea?t.onChange_Textarea:e=>(e=>{r(e.target.value.length)})(e)},t.text_Prefill),t.int_Limit?e.createElement(we,{capped:n>t.int_Limit}," ",e.createElement("span",null,n)," / ",t.int_Limit):null,t.bool_Required?e.createElement(j,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.array_Errors?e.createElement(G,{className:"ValidatorErrors"},t.array_Errors.map((t=>e.createElement(K,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.array_Tips&&t.array_Helpers?e.createElement(G,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.array_Tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.array_Tips?e.createElement(G,{className:"ValidatorHelpers"},t.array_Tips.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.array_Helpers?e.createElement(G,{className:"ValidatorHelpers"},t.array_Helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null)};function be(e){return Array.isArray?Array.isArray(e):"[object Array]"===Te(e)}function Ce(e){return"string"==typeof e}function Le(e){return"number"==typeof e}function Se(e){return!0===e||!1===e||function(e){return Ae(e)&&null!==e}(e)&&"[object Boolean]"==Te(e)}function Ae(e){return"object"==typeof e}function Ie(e){return null!=e}function $e(e){return!e.trim().length}function Te(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Re=Object.prototype.hasOwnProperty;class Be{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=Ze(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Ze(e){let t=null,n=null,r=null,a=1,o=null;if(Ce(e)||be(e))r=e,t=Ne(e),n=ze(e);else{if(!Re.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(r=i,Re.call(e,"weight")&&(a=e.weight,a<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(i));t=Ne(i),n=ze(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function Ne(e){return be(e)?e:e.split(".")}function ze(e){return be(e)?e.join("."):e}var Pe={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(Ie(e))if(t[o]){const i=e[t[o]];if(!Ie(i))return;if(o===t.length-1&&(Ce(i)||Le(i)||Se(i)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(i));else if(be(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,Ce(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const He=/[^ ]+/g;class Ge{constructor({getFn:e=Pe.getFn,fieldNormWeight:t=Pe.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(He).length;if(n.has(a))return n.get(a);const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*r)/r);return n.set(a,i),i},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,Ce(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();Ce(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(!Ie(e)||$e(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(Ie(a))if(be(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(Ie(r))if(Ce(r)&&!$e(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else be(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(Ce(a)&&!$e(a)){let e={v:a,n:this.norm.get(a)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Fe(e,t,{getFn:n=Pe.getFn,fieldNormWeight:r=Pe.fieldNormWeight}={}){const a=new Ge({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Ze)),a.setSources(t),a.create(),a}function De(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Pe.distance,ignoreLocation:o=Pe.ignoreLocation}={}){const i=t/e.length;if(o)return i;const c=Math.abs(r-n);return a?i+c/a:c?1:i}function Ve(e,t,n,{location:r=Pe.location,distance:a=Pe.distance,threshold:o=Pe.threshold,findAllMatches:i=Pe.findAllMatches,minMatchCharLength:c=Pe.minMatchCharLength,includeMatches:l=Pe.includeMatches,ignoreLocation:s=Pe.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,u=e.length,m=Math.max(0,Math.min(r,u));let h=o,g=m;const p=c>1||l,v=p?Array(u):[];let y;for(;(y=e.indexOf(t,g))>-1;){let e=De(t,{currentLocation:y,expectedLocation:m,distance:a,ignoreLocation:s});if(h=Math.min(e,h),g=y+d,p){let e=0;for(;e<d;)v[y+e]=1,e+=1}}g=-1;let _=[],E=1,f=d+u;const x=1<<d-1;for(let r=0;r<d;r+=1){let o=0,c=f;for(;o<c;){De(t,{errors:r,currentLocation:m+c,expectedLocation:m,distance:a,ignoreLocation:s})<=h?o=c:f=c,c=Math.floor((f-o)/2+o)}f=c;let l=Math.max(1,m-c+1),y=i?u:Math.min(m+c,u)+d,k=Array(y+2);k[y+1]=(1<<r)-1;for(let o=y;o>=l;o-=1){let i=o-1,c=n[e.charAt(i)];if(p&&(v[i]=+!!c),k[o]=(k[o+1]<<1|1)&c,r&&(k[o]|=(_[o+1]|_[o])<<1|1|_[o+1]),k[o]&x&&(E=De(t,{errors:r,currentLocation:i,expectedLocation:m,distance:a,ignoreLocation:s}),E<=h)){if(h=E,g=i,g<=m)break;l=Math.max(1,2*m-g)}}if(De(t,{errors:r+1,currentLocation:m,expectedLocation:m,distance:a,ignoreLocation:s})>h)break;_=k}const k={isMatch:g>=0,score:Math.max(.001,E)};if(p){const e=function(e=[],t=Pe.minMatchCharLength){let n=[],r=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(v,c);e.length?l&&(k.indices=e):k.isMatch=!1}return k}function Ke(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 je{constructor(e,{location:t=Pe.location,threshold:n=Pe.threshold,distance:r=Pe.distance,includeMatches:a=Pe.includeMatches,findAllMatches:o=Pe.findAllMatches,minMatchCharLength:i=Pe.minMatchCharLength,isCaseSensitive:c=Pe.isCaseSensitive,ignoreLocation:l=Pe.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:Ke(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,n=d-t;for(;e<n;)s(this.pattern.substr(e,32),e),e+=32;if(t){const e=d-32;s(this.pattern.substr(e),e)}}else s(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,ignoreLocation:l}=this.options;let s=[],d=0,u=!1;this.chunks.forEach((({pattern:t,alphabet:m,startIndex:h})=>{const{isMatch:g,score:p,indices:v}=Ve(e,t,m,{location:r+h,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});g&&(u=!0),d+=p,g&&v&&(s=[...s,...v])}));let m={isMatch:u,score:u?d/this.chunks.length:1};return u&&n&&(m.indices=s),m}}class qe{constructor(e){this.pattern=e}static isMultiMatch(e){return Oe(e,this.multiRegex)}static isSingleMatch(e){return Oe(e,this.singleRegex)}search(){}}function Oe(e,t){const n=e.match(t);return n?n[1]:null}class We extends qe{constructor(e,{location:t=Pe.location,threshold:n=Pe.threshold,distance:r=Pe.distance,includeMatches:a=Pe.includeMatches,findAllMatches:o=Pe.findAllMatches,minMatchCharLength:i=Pe.minMatchCharLength,isCaseSensitive:c=Pe.isCaseSensitive,ignoreLocation:l=Pe.ignoreLocation}={}){super(e),this._bitapSearch=new je(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ue extends qe{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 Xe=[class extends qe{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]}}},Ue,class extends qe{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 qe{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 qe{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 qe{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 qe{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]}}},We],Je=Xe.length,Ye=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Qe=new Set([We.type,Ue.type]);class et{constructor(e,{isCaseSensitive:t=Pe.isCaseSensitive,includeMatches:n=Pe.includeMatches,minMatchCharLength:r=Pe.minMatchCharLength,ignoreLocation:a=Pe.ignoreLocation,findAllMatches:o=Pe.findAllMatches,location:i=Pe.location,threshold:c=Pe.threshold,distance:l=Pe.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:c,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Ye).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<Je;){const e=Xe[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Je;){const e=Xe[i];let n=e.isSingleMatch(a);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let a=0,o=[],i=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];o.length=0,a=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:l,indices:s,score:d}=r.search(e);if(!l){i=0,a=0,o.length=0;break}if(a+=1,i+=d,n){const e=r.constructor.type;Qe.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 tt=[];function nt(e,t){for(let n=0,r=tt.length;n<r;n+=1){let r=tt[n];if(r.condition(e,t))return new r(e,t)}return new je(e,t)}const rt="$and",at="$or",ot="$path",it="$val",ct=e=>!(!e[rt]&&!e[at]),lt=e=>({[rt]:Object.keys(e).map((t=>({[t]:e[t]})))});function st(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[ot])(e);if(!o&&a.length>1&&!ct(e))return r(lt(e));if((e=>!be(e)&&Ae(e)&&!ct(e))(e)){const r=o?e[ot]:a[0],i=o?e[it]:e[r];if(!Ce(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:ze(r),pattern:i};return n&&(c.searcher=nt(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];be(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return ct(e)||(e=lt(e)),r(e)}function dt(e,t){const n=e.matches;t.matches=[],Ie(n)&&n.forEach((e=>{if(!Ie(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 ut(e,t){t.score=e.score}class mt{constructor(e,t={},n){this.options={...Pe,...t},this.options.useExtendedSearch,this._keyStore=new Be(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Ge))throw new Error("Incorrect 'index' type");this._myIndex=t||Fe(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ie(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const a=this._docs[n];e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options;let c=Ce(e)?Ce(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Pe.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:i}),a&&c.sort(o),Le(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=Pe.includeMatches,includeScore:r=Pe.includeScore}={}){const a=[];return n&&a.push(dt),r&&a.push(ut),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=nt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!Ie(e))return;const{isMatch:o,score:i,indices:c}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:c}]})})),r}_searchLogical(e){const t=st(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const a=[];for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],c=n(i,t,r);if(c.length)a.push(...c);else if(e.operator===rt)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(Ie(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=nt(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!Ie(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(!Ie(t))return[];let r=[];if(be(t))t.forEach((({v:t,i:a,n:o})=>{if(!Ie(t))return;const{isMatch:i,score:c,indices:l}=n.searchIn(t);i&&r.push({score:c,key:e,value:t,idx:a,norm:o,indices:l})}));else{const{v:a,n:o}=t,{isMatch:i,score:c,indices:l}=n.searchIn(a);i&&r.push({score:c,key:e,value:a,norm:o,indices:l})}return r}}mt.version="6.6.2",mt.createIndex=Fe,mt.parseIndex=function(e,{getFn:t=Pe.getFn,fieldNormWeight:n=Pe.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new Ge({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},mt.config=Pe,mt.parseQuery=st,function(...e){tt.push(...e)}(et);var ht=require("greek-utils");const gt=o(Y)`
|
|
733
741
|
|
|
734
742
|
ul{
|
|
735
743
|
margin-top: 1rem;
|
|
@@ -757,11 +765,11 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
757
765
|
background: ${e=>e.theme.low};
|
|
758
766
|
}
|
|
759
767
|
}
|
|
760
|
-
`,gt=o(U)`
|
|
761
|
-
|
|
762
768
|
`,pt=o(X)`
|
|
763
769
|
|
|
764
|
-
`,vt=
|
|
770
|
+
`,vt=o(J)`
|
|
771
|
+
|
|
772
|
+
`,yt=t=>{let n={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[t.key_SuggestionType]},o=t.json_File;const[i,c]=r({query:"",file:o,notfoundmessage:!1,defaultValue:t.text_DefaultValue}),[l,s]=r(!1),[u,m]=r(0),h=e=>{t.onSuggestions(e),console.log("clicked"),c({...i,query:"",defaultValue:"string"==typeof e?e:e[t.key_SuggestionType]})},g=e=>{"ArrowUp"==e.key&&(e.preventDefault(),m(0===u?l.length-1:u-1)),"ArrowDown"==e.key&&(e.preventDefault(),u===l.length-1?m(0):m(u+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),h(l[u].item?l[u].item:l[u]))};return a((()=>{n.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new mt(o,n);let r=i.query?e.search(i.query):o;r=r.slice(0,t.size),s(r)}),[i]),a((()=>{t.getInput&&l?.length>0?t.getInput(l[0]?.item):t.getSuggestions&&l?.length>0&&i.query.length?t.getSuggestions(l):t.getSuggestions&&!i.query.length&&t.getSuggestions([])}),[l]),console.log(i.defaultValue),e.createElement(gt,null,e.createElement(pt,{id:"elasticSearch",autoComplete:"off",type:"text",placeholder:t.text_PlaceHolder,onChange:e=>{const{target:n={}}=e,{value:r=""}=n;let a=ht.toGreek(r);c({...i,query:t.sanitize?a:r})},defaultValue:i.defaultValue,onKeyPress:e=>g(e),onKeyDown:e=>g(e)}),e.createElement(vt,null,t.text_Placeholder),t.bool_Required?e.createElement(j,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,i.query&&l?e.createElement("ul",null,l.map(((n,r)=>e.createElement("li",{className:r===u%l.length?"ElasticSelected":"",key:r,onClick:()=>h(n?.item?n.item[t.key_SuggestionType]:n[t.key_SuggestionType])},e.createElement("p",null,n?.item?n.item[t.key_SuggestionType]:n[t.key_SuggestionType]))))):null)},_t=o.div`
|
|
765
773
|
display: flex;
|
|
766
774
|
gap: 1rem;
|
|
767
775
|
align-items: center;
|
|
@@ -786,7 +794,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
786
794
|
transform: rotate(55deg);
|
|
787
795
|
}
|
|
788
796
|
}
|
|
789
|
-
`,
|
|
797
|
+
`,Et=o.div`
|
|
790
798
|
|
|
791
799
|
h6{
|
|
792
800
|
color: var(--focus) !important;
|
|
@@ -797,16 +805,16 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
797
805
|
font-weight: 600;
|
|
798
806
|
}
|
|
799
807
|
|
|
800
|
-
@media ${
|
|
808
|
+
@media ${B} {
|
|
801
809
|
display: none;
|
|
802
810
|
}
|
|
803
|
-
`,
|
|
811
|
+
`,ft=t=>{const{theme:r}=n(ce);return e.createElement(_t,{onClick:t.onClick_Logo},"dark"===r?e.createElement("img",{alt:"Doitforme dark logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}):e.createElement("img",{alt:"Doitforme light logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_light.svg"}),e.createElement(Et,null,e.createElement("h2",null,"Doitforme"),e.createElement("h6",null,"v3.0.0 'Morning'")))},xt=o.div`
|
|
804
812
|
justify-self: center;
|
|
805
813
|
|
|
806
|
-
@media ${
|
|
814
|
+
@media ${R} {
|
|
807
815
|
justify-self: flex-end;
|
|
808
816
|
}
|
|
809
|
-
`,
|
|
817
|
+
`,kt=t=>e.createElement(xt,null,e.createElement(s,{variant_Size:"normal",text_Button:t.text_Cta,onClick:t.onClick_Cta})),wt=o.div`
|
|
810
818
|
position: absolute;
|
|
811
819
|
top: 5rem;
|
|
812
820
|
right: 0rem;
|
|
@@ -861,7 +869,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
861
869
|
transform: translateX(110%);
|
|
862
870
|
transition: all .4s ease;
|
|
863
871
|
}
|
|
864
|
-
`,
|
|
872
|
+
`,Mt=o.div`
|
|
865
873
|
max-height: calc(100vh - 10rem);
|
|
866
874
|
overflow: auto;
|
|
867
875
|
|
|
@@ -875,7 +883,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
875
883
|
}
|
|
876
884
|
}
|
|
877
885
|
}
|
|
878
|
-
`,
|
|
886
|
+
`,bt=o.div`
|
|
879
887
|
display: flex;
|
|
880
888
|
align-items: center;
|
|
881
889
|
gap: 1rem;
|
|
@@ -891,7 +899,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
891
899
|
&:hover{
|
|
892
900
|
background: ${e=>e.theme.low};
|
|
893
901
|
}
|
|
894
|
-
`,
|
|
902
|
+
`,Ct=o.div`
|
|
895
903
|
display: flex;
|
|
896
904
|
align-items: center;
|
|
897
905
|
justify-content: space-between;
|
|
@@ -946,19 +954,19 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
946
954
|
}
|
|
947
955
|
}
|
|
948
956
|
}
|
|
949
|
-
`,
|
|
957
|
+
`,Lt=o.div`
|
|
950
958
|
height: 2px;
|
|
951
959
|
width: 100%;
|
|
952
960
|
background: ${e=>e.theme.low};
|
|
953
|
-
`,Lt=o.div`
|
|
954
|
-
display: block;
|
|
955
961
|
`,St=o.div`
|
|
962
|
+
display: block;
|
|
963
|
+
`,At=o.div`
|
|
956
964
|
display: none;
|
|
957
965
|
|
|
958
|
-
@media ${
|
|
966
|
+
@media ${R}{
|
|
959
967
|
display: block !important;
|
|
960
968
|
}
|
|
961
|
-
`,
|
|
969
|
+
`,It=t=>{const{setActiveMenu:r}=n(oe);return e.createElement(Mt,null,e.createElement(bt,{onClick:()=>r("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Language)),e.createElement(Ct,{onClick:t.onClick_Greek_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"})),e.createElement("h5",null,"Ελληνικά"))),e.createElement(Ct,{onClick:t.onClick_English_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),e.createElement("h5",null,"English"))),e.createElement(Ct,{onClick:t.onClick_German_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"})),e.createElement("h5",null,"Deutsch"))))},$t=o.div`
|
|
962
970
|
display: flex;
|
|
963
971
|
align-items: center;
|
|
964
972
|
gap: .5rem;
|
|
@@ -998,19 +1006,19 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
998
1006
|
transform: translateX(2.3rem);
|
|
999
1007
|
}
|
|
1000
1008
|
}
|
|
1001
|
-
|
|
1009
|
+
`,Tt=t=>{const{theme:r,setTheme:a}=n(ce);return e.createElement($t,{onClick:()=>a("dark"===r?"light":"dark")},e.createElement("picture",null,e.createElement(d,{Icon:"Sun"})),e.createElement("section",null,e.createElement("div",{className:"dark"===r?"Dark":"Light"})),e.createElement("picture",null,e.createElement(d,{Icon:"Moon"})))},Rt=o.div`
|
|
1002
1010
|
display: flex;
|
|
1003
1011
|
align-items: center;
|
|
1004
1012
|
justify-content: space-between;
|
|
1005
1013
|
gap: 1rem;
|
|
1006
1014
|
padding: var(--normalPads);
|
|
1007
|
-
`,Rt=t=>{const{region:r}=n(re),{setHamState:a}=n(oe),{setActiveMenu:o}=n(ae),{language:i}=n(ne);return e.createElement(wt,null,e.createElement(Mt,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Tt,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement($t,null)),"Protected"===t.role?e.createElement(St,null,e.createElement(Ct,null),e.createElement(bt,{onClick:t.onCLick_Account_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),e.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?e.createElement(bt,{onClick:t.onClick_Settings_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Settings"})),e.createElement("h5",null,t.text_Settings_Main))):null,e.createElement(bt,{onClick:()=>o("Language")},e.createElement("main",null,e.createElement("picture",null,"el"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===i?e.createElement("h5",null,"Ελληνικά"):"de"===i?e.createElement("h5",null,"Deutsch"):e.createElement("h5",null,"English")),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),e.createElement(bt,{onClick:()=>o("Region")},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Flag"})),e.createElement("h5",null,r)),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),"Protected"===t.role?e.createElement(Lt,null,e.createElement(Ct,null),e.createElement(bt,{onClick:t.onCLick_Logout},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Logout)))):e.createElement(St,null,e.createElement(Ct,null),e.createElement(bt,{onClick:t.onCLick_Login},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Login)))))};let Bt=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const Nt=t=>{const{region:r,setRegion:a}=n(re),{setActiveMenu:o}=n(ae);return e.createElement(wt,null,e.createElement(Mt,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),Bt.map(((t,n)=>e.createElement(bt,{key:n,onClick:()=>{return e=t.country,a(e),void o("Main");var e},className:r===t.country?"SelectedRegion":""},e.createElement("main",null,e.createElement("h5",null,t.country))))))},Zt=t=>{const{activeMenu:a}=n(ae),[o,c]=r(null),l=e=>{const t=e.offsetHeight;c(t)};return e.createElement(kt,{style:{height:o}},e.createElement(i,{in:"Main"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Rt,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}))),e.createElement(i,{in:"Language"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(At,{text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}))),e.createElement(i,{in:"Region"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Nt,{text_Title_Region:t.text_Title_Region}))))},zt=o.div`
|
|
1015
|
+
`,Bt=t=>{const{region:r}=n(ae),{setHamState:a}=n(ie),{setActiveMenu:o}=n(oe),{language:i}=n(re);return e.createElement(Mt,null,e.createElement(bt,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Rt,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Tt,null)),"Protected"===t.role?e.createElement(At,null,e.createElement(Lt,null),e.createElement(Ct,{onClick:t.onCLick_Account_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),e.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?e.createElement(Ct,{onClick:t.onClick_Settings_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Settings"})),e.createElement("h5",null,t.text_Settings_Main))):null,e.createElement(Ct,{onClick:()=>o("Language")},e.createElement("main",null,e.createElement("picture",null,"el"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===i?e.createElement("h5",null,"Ελληνικά"):"de"===i?e.createElement("h5",null,"Deutsch"):e.createElement("h5",null,"English")),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),e.createElement(Ct,{onClick:()=>o("Region")},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Flag"})),e.createElement("h5",null,r)),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),"Protected"===t.role?e.createElement(St,null,e.createElement(Lt,null),e.createElement(Ct,{onClick:t.onCLick_Logout},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Logout)))):e.createElement(At,null,e.createElement(Lt,null),e.createElement(Ct,{onClick:t.onCLick_Login},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Login)))))};let Zt=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const Nt=t=>{const{region:r,setRegion:a}=n(ae),{setActiveMenu:o}=n(oe);return e.createElement(Mt,null,e.createElement(bt,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),Zt.map(((t,n)=>e.createElement(Ct,{key:n,onClick:()=>{return e=t.country,a(e),void o("Main");var e},className:r===t.country?"SelectedRegion":""},e.createElement("main",null,e.createElement("h5",null,t.country))))))},zt=t=>{const{activeMenu:a}=n(oe),[o,c]=r(null),l=e=>{const t=e.offsetHeight;c(t)};return e.createElement(wt,{style:{height:o}},e.createElement(i,{in:"Main"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Bt,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}))),e.createElement(i,{in:"Language"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(It,{text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}))),e.createElement(i,{in:"Region"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Nt,{text_Title_Region:t.text_Title_Region}))))},Pt=o.div`
|
|
1008
1016
|
justify-self: flex-end;
|
|
1009
1017
|
display: flex;
|
|
1010
1018
|
align-items: center;
|
|
1011
1019
|
gap: 1rem;
|
|
1012
1020
|
position: relative;
|
|
1013
|
-
`,
|
|
1021
|
+
`,Ht=o.div`
|
|
1014
1022
|
display: flex;
|
|
1015
1023
|
align-items: center;
|
|
1016
1024
|
gap: 1rem;
|
|
@@ -1041,28 +1049,28 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1041
1049
|
border: 1px solid ${e=>e.theme.low};
|
|
1042
1050
|
}
|
|
1043
1051
|
|
|
1044
|
-
@media ${
|
|
1052
|
+
@media ${R}{
|
|
1045
1053
|
padding: 0;
|
|
1046
1054
|
|
|
1047
1055
|
h5{
|
|
1048
1056
|
display: none;
|
|
1049
1057
|
}
|
|
1050
1058
|
}
|
|
1051
|
-
`,
|
|
1059
|
+
`,Gt=t=>{const{hamState:r,setHamState:a}=n(ie);return e.createElement(Pt,null,e.createElement(Ht,{onClick:t.onClick_Account},e.createElement("picture",null,e.createElement("img",{src:t.img_Account,alt:t.imgAlt_Account})),e.createElement("h5",null,t.firstname_Account)),e.createElement(_,{variant_Size:"small",icon_Left:"Ham",onClick:()=>a(!r)}),r?e.createElement(zt,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}):null)},Ft=o.div`
|
|
1052
1060
|
justify-self: flex-end;
|
|
1053
1061
|
display: flex;
|
|
1054
1062
|
align-items: center;
|
|
1055
1063
|
gap: 1rem;
|
|
1056
1064
|
position: relative;
|
|
1057
|
-
`,
|
|
1065
|
+
`,Dt=o.div`
|
|
1058
1066
|
display: flex;
|
|
1059
1067
|
align-items: center;
|
|
1060
1068
|
gap: 1rem;
|
|
1061
1069
|
|
|
1062
|
-
@media ${
|
|
1070
|
+
@media ${R} {
|
|
1063
1071
|
display: none;
|
|
1064
1072
|
}
|
|
1065
|
-
`,
|
|
1073
|
+
`,Vt=t=>{const{hamState:r,setHamState:a}=n(ie);return e.createElement(Ft,null,e.createElement(Dt,null,e.createElement(M,{variant_Size:"small",text_Button:t.text_Login,onClick:t.onClick_Login})),e.createElement(_,{variant_Size:"small",icon_Left:"Ham",onClick:()=>a(!r)}),r?e.createElement(zt,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}):null)},Kt=o.nav`
|
|
1066
1074
|
display: grid;
|
|
1067
1075
|
align-items: center;
|
|
1068
1076
|
grid-gap: 1rem;
|
|
@@ -1076,10 +1084,10 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1076
1084
|
background: ${e=>e.theme.background};
|
|
1077
1085
|
box-shadow: 0 1px 3px ${e=>e.theme.overlay};
|
|
1078
1086
|
|
|
1079
|
-
@media ${
|
|
1087
|
+
@media ${R} {
|
|
1080
1088
|
padding: 1rem 2rem;
|
|
1081
1089
|
}
|
|
1082
|
-
`,
|
|
1090
|
+
`,jt=t=>e.createElement(Kt,null,e.createElement(ft,{onClick_Logo:t.onClick_Logo}),e.createElement(kt,{onClick_Cta:t.onClick_Cta,text_Cta:t.text_Cta}),"Protected"===t.role?e.createElement(Gt,{role:t.role,img_Account:t.img_Account,img_Account_Main:t.img_Account,imgAlt_Account:t.imgAlt_Account,imgAlt_Account_Main:t.imgAlt_Account,firstname_Account:t.firstname_Account,text_Account_Main:t.firstname_Account,onClick_Account:t.onClick_Account,onCLick_Account_Main:t.onClick_Account,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}):e.createElement(Vt,{role:t.role,onClick_Login:t.onClick_Login,text_Login:t.text_Login,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language})),qt=o.div`
|
|
1083
1091
|
position: fixed;
|
|
1084
1092
|
left: 0;
|
|
1085
1093
|
top: 6rem;
|
|
@@ -1087,64 +1095,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1087
1095
|
width: 8.5rem;
|
|
1088
1096
|
height: 100vh;
|
|
1089
1097
|
border-right: 1px solid ${e=>e.theme.mid};
|
|
1090
|
-
`,qt=o.
|
|
1091
|
-
cursor: pointer;
|
|
1092
|
-
transition-property: transform;
|
|
1093
|
-
transition-duration: .5s;
|
|
1094
|
-
position: relative;
|
|
1095
|
-
height: 8.5rem;
|
|
1096
|
-
width: 8.5rem;
|
|
1097
|
-
|
|
1098
|
-
picture{
|
|
1099
|
-
position: absolute;
|
|
1100
|
-
outline: 1px solid ${e=>e.theme.mid};
|
|
1101
|
-
top: 0;
|
|
1102
|
-
left: 0;
|
|
1103
|
-
padding: 2rem;
|
|
1104
|
-
background: ${e=>e.theme.background};
|
|
1105
|
-
|
|
1106
|
-
svg{
|
|
1107
|
-
fill: var(--main);
|
|
1108
|
-
width: 100%;
|
|
1109
|
-
transition-property: fill;
|
|
1110
|
-
transition-duration: .5s;
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
.SidebarButtonTitle{
|
|
1115
|
-
position: absolute;
|
|
1116
|
-
top: 50%;
|
|
1117
|
-
left: 8rem;
|
|
1118
|
-
opacity: 0;
|
|
1119
|
-
transform: translateX(-110%);
|
|
1120
|
-
transition-property: transform, opacity;
|
|
1121
|
-
transition-duration: .5s;
|
|
1122
|
-
white-space: nowrap;
|
|
1123
|
-
padding: var(--smallPads);
|
|
1124
|
-
color: ${e=>e.theme.background};
|
|
1125
|
-
background: ${e=>e.theme.color};
|
|
1126
|
-
border: 1px solid ${e=>e.theme.color};
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
&:hover{
|
|
1130
|
-
transform: translateX(1rem);
|
|
1131
|
-
transition-property: transform;
|
|
1132
|
-
transition-duration: .5s;
|
|
1133
|
-
|
|
1134
|
-
svg{
|
|
1135
|
-
fill: var(--mainLight);
|
|
1136
|
-
transition-property: fill;
|
|
1137
|
-
transition-duration: .5s;
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
.SidebarButtonTitle{
|
|
1141
|
-
opacity: 1;
|
|
1142
|
-
transform: translateX(0%);
|
|
1143
|
-
transition-property: transform;
|
|
1144
|
-
transition-duration: .5s;
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
`,Ot=t=>e.createElement(jt,null,e.createElement(qt,null,e.createElement("h5",{className:t.classNames+"SidebarButtonTitle"},t.text_title),e.createElement("picture",null,e.createElement(IconSvg,{Icon:t.icon})))),Wt=o.div`
|
|
1098
|
+
`,Ot=t=>e.createElement(qt,null,t.children),Wt=o.div`
|
|
1148
1099
|
display: flex;
|
|
1149
1100
|
align-items: center;
|
|
1150
1101
|
justify-content: space-between;
|
|
@@ -1237,7 +1188,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1237
1188
|
grid-gap: 4rem;
|
|
1238
1189
|
padding: 0 4rem;
|
|
1239
1190
|
|
|
1240
|
-
@media ${
|
|
1191
|
+
@media ${B} {
|
|
1241
1192
|
grid-template-columns: 1fr;
|
|
1242
1193
|
}
|
|
1243
1194
|
`,mn=o.div`
|
|
@@ -1246,7 +1197,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1246
1197
|
grid-gap: 4rem;
|
|
1247
1198
|
padding: 0 4rem;
|
|
1248
1199
|
|
|
1249
|
-
@media ${
|
|
1200
|
+
@media ${B} {
|
|
1250
1201
|
grid-template-columns: 1fr;
|
|
1251
1202
|
}
|
|
1252
1203
|
`,hn=o.div`
|
|
@@ -1256,7 +1207,7 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1256
1207
|
`,pn=o.div`
|
|
1257
1208
|
width: 100%;
|
|
1258
1209
|
|
|
1259
|
-
@media ${
|
|
1210
|
+
@media ${B} {
|
|
1260
1211
|
display: none;
|
|
1261
1212
|
}
|
|
1262
1213
|
`,vn=o.div`
|
|
@@ -1342,19 +1293,19 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1342
1293
|
align-items: flex-start;
|
|
1343
1294
|
grid-gap: 2rem;
|
|
1344
1295
|
|
|
1345
|
-
@media ${
|
|
1296
|
+
@media ${Z}{
|
|
1346
1297
|
grid-template-columns: 1fr 1fr;
|
|
1347
1298
|
}
|
|
1348
1299
|
|
|
1349
|
-
@media ${
|
|
1300
|
+
@media ${B}{
|
|
1350
1301
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1351
1302
|
}
|
|
1352
1303
|
|
|
1353
|
-
@media ${
|
|
1304
|
+
@media ${R}{
|
|
1354
1305
|
grid-template-columns: 1fr 1fr;
|
|
1355
1306
|
}
|
|
1356
1307
|
|
|
1357
|
-
@media ${
|
|
1308
|
+
@media ${T}{
|
|
1358
1309
|
grid-template-columns: 1fr;
|
|
1359
1310
|
}
|
|
1360
1311
|
`,Cn=o(bn)`
|
|
@@ -1429,19 +1380,19 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1429
1380
|
border-radius: var(--normalRadius);
|
|
1430
1381
|
box-shadow: ${e=>e.theme.out};
|
|
1431
1382
|
background: ${e=>e.theme.low};
|
|
1432
|
-
`,
|
|
1383
|
+
`,Zn=o.div`
|
|
1433
1384
|
display: flex;
|
|
1434
1385
|
align-items: center;
|
|
1435
1386
|
justify-content: space-between;
|
|
1436
1387
|
padding: 4rem 0 2rem 0;
|
|
1437
|
-
`,
|
|
1388
|
+
`,Nn=o.div`
|
|
1438
1389
|
position: fixed;
|
|
1439
1390
|
top: 0;
|
|
1440
1391
|
left: 0;
|
|
1441
1392
|
z-index: 500;
|
|
1442
1393
|
width: 100%;
|
|
1443
1394
|
height: 100vh;
|
|
1444
|
-
`,zn=o(
|
|
1395
|
+
`,zn=o(Nn)`
|
|
1445
1396
|
background: ${e=>e.theme.overlay};
|
|
1446
1397
|
`,Pn=o.div`
|
|
1447
1398
|
position: fixed;
|
|
@@ -1467,4 +1418,13 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
|
|
|
1467
1418
|
display: grid;
|
|
1468
1419
|
grid-template-columns: 1fr 1fr;
|
|
1469
1420
|
grid-gap: 2rem;
|
|
1470
|
-
|
|
1421
|
+
`,Dn=o.div`
|
|
1422
|
+
display: grid;
|
|
1423
|
+
grid-gap: 2rem;
|
|
1424
|
+
`,Vn=o(Dn)`
|
|
1425
|
+
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1426
|
+
`,Kn=o(Dn)`
|
|
1427
|
+
grid-template-columns: 1fr 1fr;
|
|
1428
|
+
`,jn=o(Dn)`
|
|
1429
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
1430
|
+
`;export{pe as Builder_,Kn as CardsForty,jn as CardsSixty,Vn as CardsTools,_e as Checkbox_,H as Confirmation_,s as Cta_,S as Delete_Plain,ne as Dropdown_,m as Edit_,yt as Elastic_Search,g as Focus_,v as Focus_Plain,U as Form,Y as FormGroup,X as FormInput,J as FormLabel,Q as FormList,_ as Grey_,f as Grey_Link,ie as HamContext,d as IconSvg,ee as Input_,ue as Input_Phone,he as Input_Phone_Register,re as LangContext,k as Main_,M as Main_Plain,oe as MenuContext,jt as Nav_,$ as On_Click_Card,dn as Page,gn as PageAlwaysVisible,bn as PageCards,pn as PageDesktopOnly,vn as PageDesktopPadding,un as PageForty,_n as PageSingle,En as PageSingleHeader,xn as PageSingleRight,fn as PageSingleleft,mn as PageSixty,kn as PageSub,Mn as PageSubActions,wn as PageSubTitle,yn as PageTitle,hn as PageTools,Cn as PageToolsCards,xe as Radio_,ae as RegionContext,Ot as Sidebar_,Nn as Slider,Gn as SliderContainer,le as SliderContext,Fn as SliderGrid,zn as SliderOverlay,Hn as SliderTitle,Pn as SliderWrapper,sn as Slider_,In as Steps,Zn as StepsActions,Tn as StepsComplete,Rn as StepsContainer,$n as StepsCurrent,Bn as StepsWrapper,nn as Steps_,Ut as Steps_Actions,Me as Textarea_,An as Theme,ce as ThemeContext,Sn as ThemeDark,Ln as ThemeLight,C as White_Plain};
|