monica-alexandria 3.4.8 → 3.4.10
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 +130 -128
- package/dist/index.js +130 -128
- package/package.json +1 -1
- package/src/export/components/card/On_Click_Card.js +19 -19
- package/src/export/styles/Page.js +4 -0
package/dist/index.es.js
CHANGED
|
@@ -282,12 +282,6 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
span{
|
|
286
|
-
font-size: 5rem;
|
|
287
|
-
font-family: "fontMedium", sans-serif;
|
|
288
|
-
color: ${e=>"Main"===e.variant_CardText?"var(--main)":"Focus"===e.variant_CardText?"var(--focus)":"Error"===e.variant_CardText?"var(--error)":"Success"===e.variant_CardText?"var(--success)":"Warning"===e.variant_CardText?"var(--warning)":"var(--black)"};
|
|
289
|
-
}
|
|
290
|
-
|
|
291
285
|
footer{
|
|
292
286
|
padding: var(--normalPads);
|
|
293
287
|
|
|
@@ -295,7 +289,11 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
295
289
|
text-align: center;
|
|
296
290
|
}
|
|
297
291
|
}
|
|
298
|
-
`,$=o.
|
|
292
|
+
`,$=o.span`
|
|
293
|
+
font-size: 5rem;
|
|
294
|
+
font-family: "fontMedium", sans-serif;
|
|
295
|
+
color: ${e=>"Main"===e.variant_CardText?"var(--main)":"Focus"===e.variant_CardText?"var(--focus)":"Error"===e.variant_CardText?"var(--error)":"Success"===e.variant_CardText?"var(--success)":"Warning"===e.variant_CardText?"var(--warning)":"var(--black)"};
|
|
296
|
+
`,T=o.div`
|
|
299
297
|
|
|
300
298
|
img{
|
|
301
299
|
object-fit: cover;
|
|
@@ -303,7 +301,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
303
301
|
width: 11rem;
|
|
304
302
|
border-radius: 50%;
|
|
305
303
|
}
|
|
306
|
-
`,
|
|
304
|
+
`,N=t=>e.createElement(I,{variant_CardText:t.variant_CardText,onClick:t.onClick},t.icon||t.header||t.imgSmall?e.createElement("header",null,t.icon?e.createElement("figure",null,e.createElement(d,{Icon:t.icon})):t.imgSmall?e.createElement(T,null,e.createElement("img",{src:t.imgSmall})):e.createElement($,null,t.header)):t.img?e.createElement("picture",null,e.createElement("img",{src:t.img})):null,t.title||t.subtitle?e.createElement("footer",null,t.title&&e.createElement("h2",null,t.title),t.subtitle&&e.createElement("h5",null,t.subtitle),t.children):null),R={xs:`(max-width: ${`${576}px`})`,sm:`(max-width: ${`${768}px`})`,md:`(max-width: ${`${992}px`})`,lg:`(max-width: ${`${1200}px`})`,xl:`(max-width: ${`${1440}px`})`,wd:`(max-width: ${`${1800}px`})`},Z=o.div`
|
|
307
305
|
position: fixed;
|
|
308
306
|
top: 0;
|
|
309
307
|
left: 0;
|
|
@@ -311,7 +309,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
311
309
|
width: 100%;
|
|
312
310
|
min-height: 100vh;
|
|
313
311
|
background: ${e=>e.theme.overlay};
|
|
314
|
-
`,
|
|
312
|
+
`,z=o.div`
|
|
315
313
|
position: fixed;
|
|
316
314
|
top: 6.5rem;
|
|
317
315
|
left: 50%;
|
|
@@ -322,14 +320,14 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
322
320
|
padding: var(--normalPads);
|
|
323
321
|
border-radius: var(--smallRadius);
|
|
324
322
|
background: ${e=>e.theme.background};
|
|
325
|
-
`,
|
|
323
|
+
`,B=o.div`
|
|
326
324
|
margin-top: 2rem;
|
|
327
325
|
padding: 1rem 2rem;
|
|
328
326
|
display: flex;
|
|
329
327
|
align-items: center;
|
|
330
328
|
justify-content: space-between;
|
|
331
329
|
|
|
332
|
-
@media ${
|
|
330
|
+
@media ${R.sm}{
|
|
333
331
|
|
|
334
332
|
button{
|
|
335
333
|
|
|
@@ -338,9 +336,9 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
338
336
|
}
|
|
339
337
|
}
|
|
340
338
|
}
|
|
341
|
-
`,
|
|
339
|
+
`,G=t=>e.createElement(Z,null,e.createElement(z,null,e.createElement("h4",null,t.message),e.createElement(B,null,e.createElement(w,{onClick:t.onClick_Main,iconLeft:t.icon_Main,text:t.text_Main}),e.createElement(M,{onClick:t.onClick_MainPlain,iconLeft:t.icon_MainPlain,text:t.text_MainPlain})))),P=o.div`
|
|
342
340
|
|
|
343
|
-
`,
|
|
341
|
+
`,F=o.div`
|
|
344
342
|
display: grid;
|
|
345
343
|
grid-template-columns: var(--smallIcon) 1fr;
|
|
346
344
|
align-items: flex-start;
|
|
@@ -350,7 +348,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
350
348
|
svg{
|
|
351
349
|
width: var(--smallIcon);
|
|
352
350
|
}
|
|
353
|
-
`,
|
|
351
|
+
`,H=o(F)`
|
|
354
352
|
|
|
355
353
|
h6{
|
|
356
354
|
color: var(--greyDark);
|
|
@@ -359,7 +357,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
359
357
|
svg{
|
|
360
358
|
fill: var(--greyDark);
|
|
361
359
|
}
|
|
362
|
-
`;o(
|
|
360
|
+
`;o(F)`
|
|
363
361
|
|
|
364
362
|
h6{
|
|
365
363
|
color: var(--success);
|
|
@@ -368,7 +366,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
368
366
|
svg{
|
|
369
367
|
fill: var(--success);
|
|
370
368
|
}
|
|
371
|
-
`;const
|
|
369
|
+
`;const V=o(F)`
|
|
372
370
|
|
|
373
371
|
h6{
|
|
374
372
|
color: var(--warning);
|
|
@@ -377,7 +375,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
377
375
|
svg{
|
|
378
376
|
fill: var(--warning);
|
|
379
377
|
}
|
|
380
|
-
`,
|
|
378
|
+
`,D=o(F)`
|
|
381
379
|
|
|
382
380
|
h6{
|
|
383
381
|
color: var(--error);
|
|
@@ -386,7 +384,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
386
384
|
svg{
|
|
387
385
|
fill: var(--error);
|
|
388
386
|
}
|
|
389
|
-
`,
|
|
387
|
+
`,K=o.div`
|
|
390
388
|
position: absolute;
|
|
391
389
|
top: .8rem;
|
|
392
390
|
right: .8rem;
|
|
@@ -395,7 +393,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
395
393
|
width: var(--smallIcon);
|
|
396
394
|
fill: var(--warning);
|
|
397
395
|
}
|
|
398
|
-
`,
|
|
396
|
+
`,j=o.input`
|
|
399
397
|
width: 100%;
|
|
400
398
|
border: none;
|
|
401
399
|
background: ${e=>e.theme.background};
|
|
@@ -416,7 +414,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
416
414
|
outline: 0;
|
|
417
415
|
box-shadow: ${e=>e.theme.inFocus};
|
|
418
416
|
}
|
|
419
|
-
`,
|
|
417
|
+
`,O=o.textarea`
|
|
420
418
|
width: 100%;
|
|
421
419
|
border: none;
|
|
422
420
|
background: ${e=>e.theme.background};
|
|
@@ -438,9 +436,9 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
438
436
|
outline: 0;
|
|
439
437
|
box-shadow: ${e=>e.theme.inFocus};
|
|
440
438
|
}
|
|
441
|
-
`,
|
|
439
|
+
`,q=o.label`
|
|
442
440
|
color: ${e=>e.theme.high};
|
|
443
|
-
`,
|
|
441
|
+
`,W=o.div`
|
|
444
442
|
padding: var(--normalPads);
|
|
445
443
|
background: ${e=>e.theme.low};
|
|
446
444
|
border-radius: var(--normalRadius);
|
|
@@ -448,11 +446,11 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
448
446
|
h3{
|
|
449
447
|
margin-bottom: 4rem;
|
|
450
448
|
}
|
|
451
|
-
`,
|
|
449
|
+
`,U=o(j)`
|
|
452
450
|
padding-top: 3rem;
|
|
453
|
-
`,
|
|
451
|
+
`,X=o(q)`
|
|
454
452
|
font-size: var(--smallText);
|
|
455
|
-
`,
|
|
453
|
+
`,J=o.div`
|
|
456
454
|
position: relative;
|
|
457
455
|
|
|
458
456
|
label{
|
|
@@ -504,7 +502,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
504
502
|
display: none;
|
|
505
503
|
}
|
|
506
504
|
}
|
|
507
|
-
`,
|
|
505
|
+
`,Y=o.ul`
|
|
508
506
|
margin-top: 2rem;
|
|
509
507
|
|
|
510
508
|
li{
|
|
@@ -519,7 +517,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
519
517
|
fill: ${e=>e.theme.color};
|
|
520
518
|
}
|
|
521
519
|
}
|
|
522
|
-
`,
|
|
520
|
+
`,Q=n=>{const[r,a]=t(n.list);return e.createElement(J,null,e.createElement(U,{value:n.value,className:n.className,placeholder:n.placeholder,id:n.id,autoComplete:"off",type:"text",onChange:n.onChange,defaultValue:n.defaultValue,onKeyPress:n.onKeyPress,onKeyDown:n.onKeyDown,disabled:n.disableInput}),e.createElement(X,null,n.placeholder),n.list?e.createElement(w,{size:"small",text:n.add,iconLeft:"Add",className:"FormAddButton",onClick:()=>(e=>{let t=JSON.parse(JSON.stringify(n.list));t.push(e),n.updateItemList(t),a(t)})(n.value)}):null,n.required?e.createElement(K,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,n.errors?e.createElement(P,{className:"ValidatorErrors"},n.errors.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,n.tips&&n.helpers?e.createElement(P,{className:"ValidatorHelpers"},n.helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),n.tips.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):n.tips?e.createElement(P,{className:"ValidatorHelpers"},n.tips.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):n.helpers?e.createElement(P,{className:"ValidatorHelpers"},n.helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null,n.list?e.createElement(Y,null,r.map(((t,r)=>e.createElement("li",{key:r},e.createElement(d,{Icon:n.icon_ListItem}),e.createElement("h6",null,t),e.createElement(S,{onClick:()=>(e=>{let t=JSON.parse(JSON.stringify(n.list));t.splice(e,1),n.updateItemList(t),a(t)})(r),size:"small",iconLeft:"Delete"}))))):null)},ee=o.div`
|
|
523
521
|
position: relative;
|
|
524
522
|
|
|
525
523
|
select{
|
|
@@ -552,27 +550,27 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
552
550
|
right: 1rem;
|
|
553
551
|
}
|
|
554
552
|
|
|
555
|
-
`,
|
|
553
|
+
`,te=t=>e.createElement(ee,null,e.createElement(d,{Icon:"Dropdown",class_Icon:"Dropdown_IconAdapt"}),t.items?e.createElement("select",{className:t.className,onChange:t.onChange,defaultValue:t.defaultValue},t.items.map(((t,n)=>e.createElement("option",{key:n},t)))):null,t.children),ne=n({language:"el",setLanguage:()=>{}}),re=n({region:"Greece",setRegion:()=>{}}),ae=n({activeMenu:"Main",setActiveMenu:()=>{}}),oe=n({hamState:!1,setHamState:()=>{}}),ie=n({theme:"light",setTheme:()=>{}}),ce=n({slider:!1,toggleSlider:()=>{}}),le=o.div`
|
|
556
554
|
|
|
557
|
-
`,
|
|
555
|
+
`,se=o.div`
|
|
558
556
|
display: grid;
|
|
559
557
|
align-items: flex-start;
|
|
560
558
|
justify-content: flex-start;
|
|
561
559
|
grid-template-columns: auto auto;
|
|
562
560
|
grid-column-gap: 2rem;
|
|
563
561
|
margin-bottom: 1rem;
|
|
564
|
-
`,
|
|
562
|
+
`,de=t=>{const{region:n}=r(re);return e.createElement(le,null,e.createElement(se,null,e.createElement(te,null,e.createElement("select",{className:"Dropdown_EmojiAdapt"},"Greece"===n?e.createElement("option",{selected:!0},"🇬🇷 +30"):"Deutschland"===n?e.createElement("option",{selected:!0},"🇩🇪 +49"):e.createElement("option",{selected:!0},"🇬🇷 +30"))),e.createElement(te,{items:t.array_PhoneDropdown})),e.createElement(Q,{placeholder:t.text_PhonePlaceholder,required:t.required,list:t.array_PhoneList,icon_ListItem:t.icon_PhoneList}))},me=o.div`
|
|
565
563
|
display: grid;
|
|
566
564
|
grid-template-columns: auto 1fr;
|
|
567
565
|
align-items: center;
|
|
568
566
|
grid-column-gap: 2rem;
|
|
569
|
-
`,
|
|
567
|
+
`,ue=t=>{const{region:n}=r(re);return e.createElement(me,null,e.createElement(te,null,"Greece"===n?e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇬🇷 +30"),e.createElement("option",null,"🇩🇪 +49")):"Deutschland"===n?e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇩🇪 +49"),e.createElement("option",null,"🇬🇷 +30")):e.createElement("select",{className:"Dropdown_EmojiAdapt"},e.createElement("option",{selected:!0},"🇬🇷 +30"),e.createElement("option",null,"🇩🇪 +49"))),e.createElement(Q,{class_Input:t.class_Input,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown}))},he=o.div`
|
|
570
568
|
margin-bottom: 2rem;
|
|
571
569
|
|
|
572
570
|
h4{
|
|
573
571
|
padding-bottom: 1rem;
|
|
574
572
|
}
|
|
575
|
-
`,
|
|
573
|
+
`,ge=t=>e.createElement(he,{key:t.key},t.title?e.createElement("h4",null,t.title):null,t.children),pe=o.div`
|
|
576
574
|
display: grid;
|
|
577
575
|
grid-template-columns: auto 1fr;
|
|
578
576
|
align-items: flex-start;
|
|
@@ -593,7 +591,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
593
591
|
cursor: not-allowed;
|
|
594
592
|
pointer-events: none;
|
|
595
593
|
}
|
|
596
|
-
`,
|
|
594
|
+
`,ve=o.div`
|
|
597
595
|
position: relative;
|
|
598
596
|
height: 2rem;
|
|
599
597
|
width: 2rem;
|
|
@@ -647,12 +645,12 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
647
645
|
opacity: 1 !important;
|
|
648
646
|
}
|
|
649
647
|
}
|
|
650
|
-
`,
|
|
648
|
+
`,ye=o.div`
|
|
651
649
|
input{
|
|
652
650
|
opacity: ${e=>!0===e.checked?"1":"0.4"};
|
|
653
651
|
cursor: ${e=>!0===e.checked?"auto":"not-allowed !important"};
|
|
654
652
|
}
|
|
655
|
-
`,
|
|
653
|
+
`,fe=t=>e.createElement(pe,{key:t.key},t.withInput?e.createElement(ye,{checked:t.checked},e.createElement(Q,{placeholder:t.placeholder,disableInput:!t.checked})):e.createElement("label",{for:t.id},e.createElement("p",null,t.text_CheckboxLabel)),e.createElement(ve,{className:"Check"},e.createElement("input",{type:"checkbox",id:t.id,checked:t.checked,onClick:t.onClick}),e.createElement("span",{className:"CheckCustom"}),e.createElement(d,{Icon:"Check",class_Icon:"CheckIcon"}))),Ee=o.div`
|
|
656
654
|
display: grid;
|
|
657
655
|
grid-template-columns: auto 1fr;
|
|
658
656
|
align-items: flex-start;
|
|
@@ -672,7 +670,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
672
670
|
background: ${e=>e.theme.low};
|
|
673
671
|
}
|
|
674
672
|
}
|
|
675
|
-
`,
|
|
673
|
+
`,xe=o.div`
|
|
676
674
|
position: relative;
|
|
677
675
|
height: 2rem;
|
|
678
676
|
width: 2rem;
|
|
@@ -726,7 +724,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
726
724
|
opacity: 1 !important;
|
|
727
725
|
}
|
|
728
726
|
}
|
|
729
|
-
`,
|
|
727
|
+
`,ke=t=>e.createElement(Ee,{key:t.key},t.withInput?e.createElement(Q,{placeholder:t.placeholder}):e.createElement("label",{for:t.id},e.createElement("p",null,t.text)),e.createElement(xe,{className:"RadioCircle"},e.createElement("input",{name:t.name,type:"radio",id:t.id,checked:t.checked}),e.createElement("span",{className:"RadioCustom"}),e.createElement(d,{Icon:"Sun",class_Icon:"RadioIcon"}))),we=o.div`
|
|
730
728
|
position: relative;
|
|
731
729
|
|
|
732
730
|
.ValidatorHelpers{
|
|
@@ -747,18 +745,18 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
747
745
|
display: none;
|
|
748
746
|
}
|
|
749
747
|
}
|
|
750
|
-
`,
|
|
748
|
+
`,_e=o.h6`
|
|
751
749
|
text-align: right;
|
|
752
750
|
|
|
753
751
|
span{
|
|
754
752
|
color: ${e=>e.capped?"var(--error)":"inherit"};
|
|
755
753
|
}
|
|
756
|
-
`,_e=t=>{const[n,r]=e.useState(0);return e.createElement(ke,null,e.createElement(j,{placeholder:t.placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange_Textarea?t.onChange_Textarea:e=>(e=>{r(e.target.value.length)})(e)},t.defaultValue),t.limit?e.createElement(we,{capped:n>t.limit}," ",e.createElement("span",null,n)," / ",t.limit):null,t.required?e.createElement(D,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.errors?e.createElement(G,{className:"ValidatorErrors"},t.errors.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(G,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(G,{className:"ValidatorHelpers"},t.tips.map((t=>e.createElement(F,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(G,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t))))):null)};function Me(e){return Array.isArray?Array.isArray(e):"[object Array]"===$e(e)}function be(e){return"string"==typeof e}function Le(e){return"number"==typeof e}function Ce(e){return!0===e||!1===e||function(e){return Se(e)&&null!==e}(e)&&"[object Boolean]"==$e(e)}function Se(e){return"object"==typeof e}function Ae(e){return null!=e}function Ie(e){return!e.trim().length}function $e(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Te=Object.prototype.hasOwnProperty;class Ne{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=Re(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Re(e){let t=null,n=null,r=null,a=1,o=null;if(be(e)||Me(e))r=e,t=Ze(e),n=ze(e);else{if(!Te.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(r=i,Te.call(e,"weight")&&(a=e.weight,a<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(i));t=Ze(i),n=ze(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function Ze(e){return Me(e)?e:e.split(".")}function ze(e){return Me(e)?e.join("."):e}var Be={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const a=(e,t,o)=>{if(Ae(e))if(t[o]){const i=e[t[o]];if(!Ae(i))return;if(o===t.length-1&&(be(i)||Le(i)||Ce(i)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(i));else if(Me(i)){r=!0;for(let e=0,n=i.length;e<n;e+=1)a(i[e],t,o+1)}else t.length&&a(i,t,o+1)}else n.push(e)};return a(e,be(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Ge=/[^ ]+/g;class Pe{constructor({getFn:e=Be.getFn,fieldNormWeight:t=Be.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(Ge).length;if(n.has(a))return n.get(a);const o=1/Math.pow(a,.5*e),i=parseFloat(Math.round(o*r)/r);return n.set(a,i),i},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,be(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();be(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!Ae(e)||Ie(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let a=t.getFn?t.getFn(e):this.getFn(e,t.path);if(Ae(a))if(Me(a)){let e=[];const t=[{nestedArrIndex:-1,value:a}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(Ae(r))if(be(r)&&!Ie(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else Me(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(be(a)&&!Ie(a)){let e={v:a,n:this.norm.get(a)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Fe(e,t,{getFn:n=Be.getFn,fieldNormWeight:r=Be.fieldNormWeight}={}){const a=new Pe({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Re)),a.setSources(t),a.create(),a}function He(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Be.distance,ignoreLocation:o=Be.ignoreLocation}={}){const i=t/e.length;if(o)return i;const c=Math.abs(r-n);return a?i+c/a:c?1:i}function Ve(e,t,n,{location:r=Be.location,distance:a=Be.distance,threshold:o=Be.threshold,findAllMatches:i=Be.findAllMatches,minMatchCharLength:c=Be.minMatchCharLength,includeMatches:l=Be.includeMatches,ignoreLocation:s=Be.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,m=e.length,u=Math.max(0,Math.min(r,m));let h=o,g=u;const p=c>1||l,v=p?Array(m):[];let y;for(;(y=e.indexOf(t,g))>-1;){let e=He(t,{currentLocation:y,expectedLocation:u,distance:a,ignoreLocation:s});if(h=Math.min(e,h),g=y+d,p){let e=0;for(;e<d;)v[y+e]=1,e+=1}}g=-1;let f=[],E=1,x=d+m;const k=1<<d-1;for(let r=0;r<d;r+=1){let o=0,c=x;for(;o<c;){He(t,{errors:r,currentLocation:u+c,expectedLocation:u,distance:a,ignoreLocation:s})<=h?o=c:x=c,c=Math.floor((x-o)/2+o)}x=c;let l=Math.max(1,u-c+1),y=i?m:Math.min(u+c,m)+d,w=Array(y+2);w[y+1]=(1<<r)-1;for(let o=y;o>=l;o-=1){let i=o-1,c=n[e.charAt(i)];if(p&&(v[i]=+!!c),w[o]=(w[o+1]<<1|1)&c,r&&(w[o]|=(f[o+1]|f[o])<<1|1|f[o+1]),w[o]&k&&(E=He(t,{errors:r,currentLocation:i,expectedLocation:u,distance:a,ignoreLocation:s}),E<=h)){if(h=E,g=i,g<=u)break;l=Math.max(1,2*u-g)}}if(He(t,{errors:r+1,currentLocation:u,expectedLocation:u,distance:a,ignoreLocation:s})>h)break;f=w}const w={isMatch:g>=0,score:Math.max(.001,E)};if(p){const e=function(e=[],t=Be.minMatchCharLength){let n=[],r=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(v,c);e.length?l&&(w.indices=e):w.isMatch=!1}return w}function De(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const a=e.charAt(n);t[a]=(t[a]||0)|1<<r-n-1}return t}class Ke{constructor(e,{location:t=Be.location,threshold:n=Be.threshold,distance:r=Be.distance,includeMatches:a=Be.includeMatches,findAllMatches:o=Be.findAllMatches,minMatchCharLength:i=Be.minMatchCharLength,isCaseSensitive:c=Be.isCaseSensitive,ignoreLocation:l=Be.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet:De(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0;const t=d%32,n=d-t;for(;e<n;)s(this.pattern.substr(e,32),e),e+=32;if(t){const e=d-32;s(this.pattern.substr(e),e)}}else s(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,ignoreLocation:l}=this.options;let s=[],d=0,m=!1;this.chunks.forEach((({pattern:t,alphabet:u,startIndex:h})=>{const{isMatch:g,score:p,indices:v}=Ve(e,t,u,{location:r+h,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});g&&(m=!0),d+=p,g&&v&&(s=[...s,...v])}));let u={isMatch:m,score:m?d/this.chunks.length:1};return m&&n&&(u.indices=s),u}}class je{constructor(e){this.pattern=e}static isMultiMatch(e){return 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 qe extends je{constructor(e,{location:t=Be.location,threshold:n=Be.threshold,distance:r=Be.distance,includeMatches:a=Be.includeMatches,findAllMatches:o=Be.findAllMatches,minMatchCharLength:i=Be.minMatchCharLength,isCaseSensitive:c=Be.isCaseSensitive,ignoreLocation:l=Be.ignoreLocation}={}){super(e),this._bitapSearch=new Ke(e,{location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class We extends je{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Ue=[class extends je{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},We,class extends je{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends je{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends je{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends je{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends je{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},qe],Xe=Ue.length,Je=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Ye=new Set([qe.type,We.type]);class Qe{constructor(e,{isCaseSensitive:t=Be.isCaseSensitive,includeMatches:n=Be.includeMatches,minMatchCharLength:r=Be.minMatchCharLength,ignoreLocation:a=Be.ignoreLocation,findAllMatches:o=Be.findAllMatches,location:i=Be.location,threshold:c=Be.threshold,distance:l=Be.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:c,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(Je).filter((e=>e&&!!e.trim())),r=[];for(let e=0,a=n.length;e<a;e+=1){const a=n[e];let o=!1,i=-1;for(;!o&&++i<Xe;){const e=Ue[i];let n=e.isMultiMatch(a);n&&(r.push(new e(n,t)),o=!0)}if(!o)for(i=-1;++i<Xe;){const e=Ue[i];let n=e.isSingleMatch(a);if(n){r.push(new e(n,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let a=0,o=[],i=0;for(let r=0,c=t.length;r<c;r+=1){const c=t[r];o.length=0,a=0;for(let t=0,r=c.length;t<r;t+=1){const r=c[t],{isMatch:l,indices:s,score:d}=r.search(e);if(!l){i=0,a=0,o.length=0;break}if(a+=1,i+=d,n){const e=r.constructor.type;Ye.has(e)?o=[...o,...s]:o.push(s)}}if(a){let e={isMatch:!0,score:i/a};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const et=[];function tt(e,t){for(let n=0,r=et.length;n<r;n+=1){let r=et[n];if(r.condition(e,t))return new r(e,t)}return new Ke(e,t)}const nt="$and",rt="$or",at="$path",ot="$val",it=e=>!(!e[nt]&&!e[rt]),ct=e=>({[nt]:Object.keys(e).map((t=>({[t]:e[t]})))});function lt(e,t,{auto:n=!0}={}){const r=e=>{let a=Object.keys(e);const o=(e=>!!e[at])(e);if(!o&&a.length>1&&!it(e))return r(ct(e));if((e=>!Me(e)&&Se(e)&&!it(e))(e)){const r=o?e[at]:a[0],i=o?e[ot]:e[r];if(!be(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:ze(r),pattern:i};return n&&(c.searcher=tt(i,t)),c}let i={children:[],operator:a[0]};return a.forEach((t=>{const n=e[t];Me(n)&&n.forEach((e=>{i.children.push(r(e))}))})),i};return it(e)||(e=ct(e)),r(e)}function st(e,t){const n=e.matches;t.matches=[],Ae(n)&&n.forEach((e=>{if(!Ae(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let a={indices:n,value:r};e.key&&(a.key=e.key.src),e.idx>-1&&(a.refIndex=e.idx),t.matches.push(a)}))}function dt(e,t){t.score=e.score}class mt{constructor(e,t={},n){this.options={...Be,...t},this.options.useExtendedSearch,this._keyStore=new Ne(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Pe))throw new Error("Incorrect 'index' type");this._myIndex=t||Fe(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ae(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const a=this._docs[n];e(a,n)&&(this.removeAt(n),n-=1,r-=1,t.push(a))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:a,sortFn:o,ignoreFieldNorm:i}=this.options;let c=be(e)?be(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Be.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:i}),a&&c.sort(o),Le(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=Be.includeMatches,includeScore:r=Be.includeScore}={}){const a=[];return n&&a.push(st),r&&a.push(dt),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=tt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:e,i:n,n:a})=>{if(!Ae(e))return;const{isMatch:o,score:i,indices:c}=t.searchIn(e);o&&r.push({item:e,idx:n,matches:[{score:i,value:e,norm:a,indices:c}]})})),r}_searchLogical(e){const t=lt(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:a}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:a});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const a=[];for(let o=0,i=e.children.length;o<i;o+=1){const i=e.children[o],c=n(i,t,r);if(c.length)a.push(...c);else if(e.operator===nt)return[]}return a},r=this._myIndex.records,a={},o=[];return r.forEach((({$:e,i:r})=>{if(Ae(e)){let i=n(t,e,r);i.length&&(a[r]||(a[r]={idx:r,item:e,matches:[]},o.push(a[r])),i.forEach((({matches:e})=>{a[r].matches.push(...e)})))}})),o}_searchObjectList(e){const t=tt(e,this.options),{keys:n,records:r}=this._myIndex,a=[];return r.forEach((({$:e,i:r})=>{if(!Ae(e))return;let o=[];n.forEach(((n,r)=>{o.push(...this._findMatches({key:n,value:e[r],searcher:t}))})),o.length&&a.push({idx:r,item:e,matches:o})})),a}_findMatches({key:e,value:t,searcher:n}){if(!Ae(t))return[];let r=[];if(Me(t))t.forEach((({v:t,i:a,n:o})=>{if(!Ae(t))return;const{isMatch:i,score:c,indices:l}=n.searchIn(t);i&&r.push({score:c,key:e,value:t,idx:a,norm:o,indices:l})}));else{const{v:a,n:o}=t,{isMatch:i,score:c,indices:l}=n.searchIn(a);i&&r.push({score:c,key:e,value:a,norm:o,indices:l})}return r}}mt.version="6.6.2",mt.createIndex=Fe,mt.parseIndex=function(e,{getFn:t=Be.getFn,fieldNormWeight:n=Be.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new Pe({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},mt.config=Be,mt.parseQuery=lt,function(...e){et.push(...e)}(Qe);var ut=require("greek-utils");const ht=o(X)`
|
|
757
|
-
`,gt=o(W)`
|
|
758
|
-
|
|
754
|
+
`,Me=t=>{const[n,r]=e.useState(0);return e.createElement(we,null,e.createElement(O,{placeholder:t.placeholder,rows:t.rows?t.rows:"5",onChange:t.onChange_Textarea?t.onChange_Textarea:e=>(e=>{r(e.target.value.length)})(e)},t.defaultValue),t.limit?e.createElement(_e,{capped:n>t.limit}," ",e.createElement("span",null,n)," / ",t.limit):null,t.required?e.createElement(K,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,t.errors?e.createElement(P,{className:"ValidatorErrors"},t.errors.map((t=>e.createElement(D,null,e.createElement(d,{Icon:"Error"}),e.createElement("h6",null,t))))):null,t.tips&&t.helpers?e.createElement(P,{className:"ValidatorHelpers"},t.helpers.map((t=>e.createElement(V,null,e.createElement(d,{Icon:"Warning"}),e.createElement("h6",null,t)))),t.tips.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.tips?e.createElement(P,{className:"ValidatorHelpers"},t.tips.map((t=>e.createElement(H,null,e.createElement(d,{Icon:"Tip"}),e.createElement("h6",null,t))))):t.helpers?e.createElement(P,{className:"ValidatorHelpers"},t.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 Le(e){return"string"==typeof e}function Ce(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 Ne=Object.prototype.hasOwnProperty;class Re{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=Ze(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Ze(e){let t=null,n=null,r=null,a=1,o=null;if(Le(e)||be(e))r=e,t=ze(e),n=Be(e);else{if(!Ne.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const i=e.name;if(r=i,Ne.call(e,"weight")&&(a=e.weight,a<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(i));t=ze(i),n=Be(i),o=e.getFn}return{path:t,id:n,weight:a,src:r,getFn:o}}function ze(e){return be(e)?e:e.split(".")}function Be(e){return be(e)?e.join("."):e}var Ge={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const a=(e,t,o)=>{if(Ie(e))if(t[o]){const i=e[t[o]];if(!Ie(i))return;if(o===t.length-1&&(Le(i)||Ce(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,Le(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Pe=/[^ ]+/g;class Fe{constructor({getFn:e=Ge.getFn,fieldNormWeight:t=Ge.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){const a=t.match(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,Le(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();Le(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!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(Le(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(Le(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 He(e,t,{getFn:n=Ge.getFn,fieldNormWeight:r=Ge.fieldNormWeight}={}){const a=new Fe({getFn:n,fieldNormWeight:r});return a.setKeys(e.map(Ze)),a.setSources(t),a.create(),a}function Ve(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:a=Ge.distance,ignoreLocation:o=Ge.ignoreLocation}={}){const i=t/e.length;if(o)return i;const c=Math.abs(r-n);return a?i+c/a:c?1:i}function De(e,t,n,{location:r=Ge.location,distance:a=Ge.distance,threshold:o=Ge.threshold,findAllMatches:i=Ge.findAllMatches,minMatchCharLength:c=Ge.minMatchCharLength,includeMatches:l=Ge.includeMatches,ignoreLocation:s=Ge.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const d=t.length,m=e.length,u=Math.max(0,Math.min(r,m));let h=o,g=u;const p=c>1||l,v=p?Array(m):[];let y;for(;(y=e.indexOf(t,g))>-1;){let e=Ve(t,{currentLocation:y,expectedLocation:u,distance:a,ignoreLocation:s});if(h=Math.min(e,h),g=y+d,p){let e=0;for(;e<d;)v[y+e]=1,e+=1}}g=-1;let f=[],E=1,x=d+m;const k=1<<d-1;for(let r=0;r<d;r+=1){let o=0,c=x;for(;o<c;){Ve(t,{errors:r,currentLocation:u+c,expectedLocation:u,distance:a,ignoreLocation:s})<=h?o=c:x=c,c=Math.floor((x-o)/2+o)}x=c;let l=Math.max(1,u-c+1),y=i?m:Math.min(u+c,m)+d,w=Array(y+2);w[y+1]=(1<<r)-1;for(let o=y;o>=l;o-=1){let i=o-1,c=n[e.charAt(i)];if(p&&(v[i]=+!!c),w[o]=(w[o+1]<<1|1)&c,r&&(w[o]|=(f[o+1]|f[o])<<1|1|f[o+1]),w[o]&k&&(E=Ve(t,{errors:r,currentLocation:i,expectedLocation:u,distance:a,ignoreLocation:s}),E<=h)){if(h=E,g=i,g<=u)break;l=Math.max(1,2*u-g)}}if(Ve(t,{errors:r+1,currentLocation:u,expectedLocation:u,distance:a,ignoreLocation:s})>h)break;f=w}const w={isMatch:g>=0,score:Math.max(.001,E)};if(p){const e=function(e=[],t=Ge.minMatchCharLength){let n=[],r=-1,a=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:i||-1===r||(a=o-1,a-r+1>=t&&n.push([r,a]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(v,c);e.length?l&&(w.indices=e):w.isMatch=!1}return w}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=Ge.location,threshold:n=Ge.threshold,distance:r=Ge.distance,includeMatches:a=Ge.includeMatches,findAllMatches:o=Ge.findAllMatches,minMatchCharLength:i=Ge.minMatchCharLength,isCaseSensitive:c=Ge.isCaseSensitive,ignoreLocation:l=Ge.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:a,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const s=(e,t)=>{this.chunks.push({pattern:e,alphabet: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,m=!1;this.chunks.forEach((({pattern:t,alphabet:u,startIndex:h})=>{const{isMatch:g,score:p,indices:v}=De(e,t,u,{location:r+h,distance:a,threshold:o,findAllMatches:i,minMatchCharLength:c,includeMatches:n,ignoreLocation:l});g&&(m=!0),d+=p,g&&v&&(s=[...s,...v])}));let u={isMatch:m,score:m?d/this.chunks.length:1};return m&&n&&(u.indices=s),u}}class Oe{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 We extends Oe{constructor(e,{location:t=Ge.location,threshold:n=Ge.threshold,distance:r=Ge.distance,includeMatches:a=Ge.includeMatches,findAllMatches:o=Ge.findAllMatches,minMatchCharLength:i=Ge.minMatchCharLength,isCaseSensitive:c=Ge.isCaseSensitive,ignoreLocation:l=Ge.ignoreLocation}={}){super(e),this._bitapSearch=new 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 Oe{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],a=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+a,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Xe=[class extends Oe{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},Ue,class extends Oe{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends Oe{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Oe{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends Oe{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends Oe{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},We],Je=Xe.length,Ye=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const Qe=new Set([We.type,Ue.type]);class et{constructor(e,{isCaseSensitive:t=Ge.isCaseSensitive,includeMatches:n=Ge.includeMatches,minMatchCharLength:r=Ge.minMatchCharLength,ignoreLocation:a=Ge.ignoreLocation,findAllMatches:o=Ge.findAllMatches,location:i=Ge.location,threshold:c=Ge.threshold,distance:l=Ge.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:a,location:i,threshold:c,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){return e.split("|").map((e=>{let n=e.trim().split(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(!Le(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const c={keyId:Be(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 mt(e,t){t.score=e.score}class ut{constructor(e,t={},n){this.options={...Ge,...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 Fe))throw new Error("Incorrect 'index' type");this._myIndex=t||He(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=Le(e)?Le(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=Ge.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:r,score:a})=>{const o=e?e.weight:null;n*=Math.pow(0===a&&o?Number.EPSILON:a,(o||1)*(t?1:r))})),e.score=n}))}(c,{ignoreFieldNorm:i}),a&&c.sort(o),Ce(t)&&t>-1&&(c=c.slice(0,t)),function(e,t,{includeMatches:n=Ge.includeMatches,includeScore:r=Ge.includeScore}={}){const a=[];return n&&a.push(dt),r&&a.push(mt),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return a.length&&a.forEach((t=>{t(e,r)})),r}))}(c,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=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}}ut.version="6.6.2",ut.createIndex=He,ut.parseIndex=function(e,{getFn:t=Ge.getFn,fieldNormWeight:n=Ge.fieldNormWeight}={}){const{keys:r,records:a}=e,o=new Fe({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(a),o},ut.config=Ge,ut.parseQuery=st,function(...e){tt.push(...e)}(et);var ht=require("greek-utils");const gt=o(J)`
|
|
759
755
|
`,pt=o(U)`
|
|
760
756
|
|
|
761
|
-
`,vt=o
|
|
757
|
+
`,vt=o(X)`
|
|
758
|
+
|
|
759
|
+
`,yt=o.ul`
|
|
762
760
|
margin-top: 1rem;
|
|
763
761
|
background: ${e=>e.theme.background};
|
|
764
762
|
box-shadow: ${e=>e.theme.out};
|
|
@@ -783,12 +781,12 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
783
781
|
.ElasticSelected{
|
|
784
782
|
background: ${e=>e.theme.low};
|
|
785
783
|
}
|
|
786
|
-
`,
|
|
784
|
+
`,ft=o(Y)`
|
|
787
785
|
|
|
788
786
|
h5{
|
|
789
787
|
padding: var(--smallPads);
|
|
790
788
|
}
|
|
791
|
-
`,
|
|
789
|
+
`,Et=n=>{let r={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:[n.suggestionType]},o=n.json_File;const[i,c]=t({query:"",file:o,notfoundmessage:!1,defaultValue:n.defaultValue}),[l,s]=t(!1),[m,u]=t(0),[h,g]=t(n.list),p=e=>{n.onSuggestions(e),c({...i,query:"",defaultValue:"string"==typeof e?e:e[n.suggestionType]})},v=e=>{"ArrowUp"==e.key&&(e.preventDefault(),u(0===m?l.length-1:m-1)),"ArrowDown"==e.key&&(e.preventDefault(),m===l.length-1?u(0):u(m+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),p("string"==typeof l[m]?l[m]:l[m][n.suggestionType]))};return a((()=>{r.minMatchCharLength=n.minMatchCharacters?n.minMatchCharacters:1;const e=new ut(o,r);let t=i.query?e.search(i.query):o;t=t.slice(0,n.size),s(t)}),[i]),a((()=>{n.getInput&&l?.length>0?n.getInput(l[0]?.item):n.getSuggestions&&l?.length>0&&i.query.length?n.getSuggestions(l):n.getSuggestions&&!i.query.length&&n.getSuggestions([])}),[l]),e.createElement(gt,null,e.createElement(pt,{id:"elasticSearch",autoComplete:"off",type:"text",value:n.value,placeholder:n.placeholder,onChange:e=>{const{target:t={}}=e,{value:r=""}=t;let a=ht.toGreek(r);c({...i,query:n.sanitize?a:r})},defaultValue:i.defaultValue,onKeyPress:e=>v(e),onKeyDown:e=>v(e),list:n.list}),e.createElement(vt,null,n.placeholder),n.required?e.createElement(K,{className:"ValidatorRequired"},e.createElement(d,{Icon:"Asterisk"})):null,n.list?e.createElement(w,{size:"small",text:n.add,iconLeft:"Add",className:"FormAddButton",onClick:()=>(e=>{let t=JSON.parse(JSON.stringify(n.list));t.push(e),n.updateItemList(t),g(t)})(n.value)}):null,i.query&&l?e.createElement(yt,null,l.slice(0,6).map(((t,r)=>e.createElement("li",{className:r===m%l.length?"ElasticSelected":"",key:r,onClick:()=>p(t?.item?t.item[n.suggestionType]:t[n.suggestionType])},e.createElement("p",null,t?.item?t.item[n.suggestionType]:t[n.suggestionType]))))):null,n.list?e.createElement(ft,null,e.createElement("h5",null,n.listItemTitle),h.map(((t,r)=>e.createElement("li",{key:r},e.createElement(d,{Icon:n.icon_ListItem}),e.createElement("h6",null,t),e.createElement(S,{variant_Size:"small",icon_Left:"Delete",onClick:()=>(e=>{let t=JSON.parse(JSON.stringify(n.list));t.splice(e,1),n.updateItemList(t),g(t)})(r)}))))):null)},xt=o.div`
|
|
792
790
|
display: flex;
|
|
793
791
|
gap: 1rem;
|
|
794
792
|
align-items: center;
|
|
@@ -813,7 +811,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
813
811
|
transform: rotate(55deg);
|
|
814
812
|
}
|
|
815
813
|
}
|
|
816
|
-
`,
|
|
814
|
+
`,kt=o.div`
|
|
817
815
|
|
|
818
816
|
h6{
|
|
819
817
|
color: var(--focus) !important;
|
|
@@ -824,16 +822,16 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
824
822
|
font-weight: 600;
|
|
825
823
|
}
|
|
826
824
|
|
|
827
|
-
@media ${
|
|
825
|
+
@media ${R.md} {
|
|
828
826
|
display: none;
|
|
829
827
|
}
|
|
830
|
-
`,
|
|
828
|
+
`,wt=t=>{const{theme:n}=r(ie);return e.createElement(xt,{onClick:t.onClick_Logo},"dark"===n?e.createElement("img",{alt:"Doitforme dark logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}):e.createElement("img",{alt:"Doitforme light logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_light.svg"}),e.createElement(kt,null,e.createElement("h2",null,"Doitforme"),e.createElement("h6",null,"v3.0.0 'Morning'")))},_t=o.div`
|
|
831
829
|
justify-self: center;
|
|
832
830
|
|
|
833
|
-
@media ${
|
|
831
|
+
@media ${R.sm} {
|
|
834
832
|
justify-self: flex-end;
|
|
835
833
|
}
|
|
836
|
-
`,
|
|
834
|
+
`,Mt=t=>e.createElement(_t,null,e.createElement(s,{size:"normal",text:t.text_Cta,onClick:t.onClick_Cta})),bt=o.div`
|
|
837
835
|
position: absolute;
|
|
838
836
|
top: 5rem;
|
|
839
837
|
right: 0rem;
|
|
@@ -888,7 +886,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
888
886
|
transform: translateX(110%);
|
|
889
887
|
transition: all .4s ease;
|
|
890
888
|
}
|
|
891
|
-
`,
|
|
889
|
+
`,Lt=o.div`
|
|
892
890
|
max-height: calc(100vh - 10rem);
|
|
893
891
|
overflow: auto;
|
|
894
892
|
|
|
@@ -902,7 +900,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
902
900
|
}
|
|
903
901
|
}
|
|
904
902
|
}
|
|
905
|
-
`,
|
|
903
|
+
`,Ct=o.div`
|
|
906
904
|
display: flex;
|
|
907
905
|
align-items: center;
|
|
908
906
|
gap: 1rem;
|
|
@@ -918,7 +916,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
918
916
|
&:hover{
|
|
919
917
|
background: ${e=>e.theme.low};
|
|
920
918
|
}
|
|
921
|
-
`,
|
|
919
|
+
`,St=o.div`
|
|
922
920
|
display: flex;
|
|
923
921
|
align-items: center;
|
|
924
922
|
justify-content: space-between;
|
|
@@ -973,19 +971,19 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
973
971
|
}
|
|
974
972
|
}
|
|
975
973
|
}
|
|
976
|
-
`,
|
|
974
|
+
`,At=o.div`
|
|
977
975
|
height: 2px;
|
|
978
976
|
width: 100%;
|
|
979
977
|
background: ${e=>e.theme.low};
|
|
980
|
-
`,At=o.div`
|
|
981
|
-
display: block;
|
|
982
978
|
`,It=o.div`
|
|
979
|
+
display: block;
|
|
980
|
+
`,$t=o.div`
|
|
983
981
|
display: none;
|
|
984
982
|
|
|
985
|
-
@media ${
|
|
983
|
+
@media ${R.sm}{
|
|
986
984
|
display: block !important;
|
|
987
985
|
}
|
|
988
|
-
|
|
986
|
+
`,Tt=t=>{const{setActiveMenu:n}=r(ae);return e.createElement(Lt,null,e.createElement(Ct,{onClick:()=>n("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Language)),e.createElement(St,{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(St,{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(St,{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"))))},Nt=o.div`
|
|
989
987
|
display: flex;
|
|
990
988
|
align-items: center;
|
|
991
989
|
gap: .5rem;
|
|
@@ -1025,19 +1023,19 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1025
1023
|
transform: translateX(2.3rem);
|
|
1026
1024
|
}
|
|
1027
1025
|
}
|
|
1028
|
-
`,
|
|
1026
|
+
`,Rt=t=>{const{theme:n,setTheme:a}=r(ie);return e.createElement(Nt,{onClick:()=>a("dark"===n?"light":"dark")},e.createElement("picture",null,e.createElement(d,{Icon:"Sun"})),e.createElement("section",null,e.createElement("div",{className:"dark"===n?"Dark":"Light"})),e.createElement("picture",null,e.createElement(d,{Icon:"Moon"})))},Zt=o.div`
|
|
1029
1027
|
display: flex;
|
|
1030
1028
|
align-items: center;
|
|
1031
1029
|
justify-content: space-between;
|
|
1032
1030
|
gap: 1rem;
|
|
1033
1031
|
padding: var(--normalPads);
|
|
1034
|
-
`,Zt=t=>{const{region:n}=r(ne),{setHamState:a}=r(ae),{setActiveMenu:o}=r(re),{language:i}=r(te);return e.createElement(bt,null,e.createElement(Lt,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Rt,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Nt,null)),"Protected"===t.role?e.createElement(It,null,e.createElement(St,null),e.createElement(Ct,{onClick:t.onCLick_Account_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),e.createElement("h5",null,t.text_Account_Main)))):null,"Protected"===t.role?e.createElement(Ct,{onClick:t.onClick_Settings_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Settings"})),e.createElement("h5",null,t.text_Settings_Main))):null,e.createElement(Ct,{onClick:()=>o("Language")},e.createElement("main",null,e.createElement("picture",null,"el"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===i?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===i?e.createElement("h5",null,"Ελληνικά"):"de"===i?e.createElement("h5",null,"Deutsch"):e.createElement("h5",null,"English")),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),e.createElement(Ct,{onClick:()=>o("Region")},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Flag"})),e.createElement("h5",null,n)),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),"Protected"===t.role?e.createElement(At,null,e.createElement(St,null),e.createElement(Ct,{onClick:t.onCLick_Logout},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Logout)))):e.createElement(It,null,e.createElement(St,null),e.createElement(Ct,{onClick:t.onCLick_Login},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Logout"})),e.createElement("h5",null,t.text_Login)))))};let zt=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const Bt=t=>{const{region:n,setRegion:a}=r(ne),{setActiveMenu:o}=r(re);return e.createElement(bt,null,e.createElement(Lt,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),zt.map(((t,r)=>e.createElement(Ct,{key:r,onClick:()=>{return e=t.country,a(e),void o("Main");var e},className:n===t.country?"SelectedRegion":""},e.createElement("main",null,e.createElement("h5",null,t.country))))))},Gt=n=>{const{activeMenu:a}=r(re),[o,c]=t(null),l=e=>{const t=e.offsetHeight;c(t)};return e.createElement(Mt,{style:{height:o}},e.createElement(i,{in:"Main"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Zt,{role:n.role,text_Title_Main:n.text_Title_Main,text_Theme_Main:n.text_Theme_Main,onCLick_Account_Main:n.onCLick_Account_Main,img_Account_Main:n.img_Account_Main,imgAlt_Account_Main:n.imgAlt_Account_Main,text_Account_Main:n.text_Account_Main,onClick_Settings_Main:n.onClick_Settings_Main,text_Settings_Main:n.text_Settings_Main,onCLick_Logout:n.onCLick_Logout,text_Logout:n.text_Logout,onCLick_Login:n.onCLick_Login,text_Login:n.text_Login}))),e.createElement(i,{in:"Language"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement($t,{text_Title_Language:n.text_Title_Language,onClick_Greek_Language:n.onClick_Greek_Language,onClick_English_Language:n.onClick_English_Language,onClick_German_Language:n.onClick_German_Language}))),e.createElement(i,{in:"Region"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Bt,{text_Title_Region:n.text_Title_Region}))))},Pt=o.div`
|
|
1032
|
+
`,zt=t=>{const{region:n}=r(re),{setHamState:a}=r(oe),{setActiveMenu:o}=r(ae),{language:i}=r(ne);return e.createElement(Lt,null,e.createElement(Ct,{onClick:()=>a(!1)},e.createElement(d,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Zt,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Rt,null)),"Protected"===t.role?e.createElement($t,null,e.createElement(At,null),e.createElement(St,{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(St,{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(St,{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(St,{onClick:()=>o("Region")},e.createElement("main",null,e.createElement("picture",null,e.createElement(d,{Icon:"Flag"})),e.createElement("h5",null,n)),e.createElement("aside",null,e.createElement(d,{Icon:"Next"}))),"Protected"===t.role?e.createElement(It,null,e.createElement(At,null),e.createElement(St,{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($t,null,e.createElement(At,null),e.createElement(St,{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 Gt=t=>{const{region:n,setRegion:a}=r(re),{setActiveMenu:o}=r(ae);return e.createElement(Lt,null,e.createElement(Ct,{onClick:()=>o("Main")},e.createElement(d,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),Bt.map(((t,r)=>e.createElement(St,{key:r,onClick:()=>{return e=t.country,a(e),void o("Main");var e},className:n===t.country?"SelectedRegion":""},e.createElement("main",null,e.createElement("h5",null,t.country))))))},Pt=n=>{const{activeMenu:a}=r(ae),[o,c]=t(null),l=e=>{const t=e.offsetHeight;c(t)};return e.createElement(bt,{style:{height:o}},e.createElement(i,{in:"Main"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(zt,{role:n.role,text_Title_Main:n.text_Title_Main,text_Theme_Main:n.text_Theme_Main,onCLick_Account_Main:n.onCLick_Account_Main,img_Account_Main:n.img_Account_Main,imgAlt_Account_Main:n.imgAlt_Account_Main,text_Account_Main:n.text_Account_Main,onClick_Settings_Main:n.onClick_Settings_Main,text_Settings_Main:n.text_Settings_Main,onCLick_Logout:n.onCLick_Logout,text_Logout:n.text_Logout,onCLick_Login:n.onCLick_Login,text_Login:n.text_Login}))),e.createElement(i,{in:"Language"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Tt,{text_Title_Language:n.text_Title_Language,onClick_Greek_Language:n.onClick_Greek_Language,onClick_English_Language:n.onClick_English_Language,onClick_German_Language:n.onClick_German_Language}))),e.createElement(i,{in:"Region"===a,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Gt,{text_Title_Region:n.text_Title_Region}))))},Ft=o.div`
|
|
1035
1033
|
justify-self: flex-end;
|
|
1036
1034
|
display: flex;
|
|
1037
1035
|
align-items: center;
|
|
1038
1036
|
gap: 1rem;
|
|
1039
1037
|
position: relative;
|
|
1040
|
-
`,
|
|
1038
|
+
`,Ht=o.div`
|
|
1041
1039
|
display: flex;
|
|
1042
1040
|
align-items: center;
|
|
1043
1041
|
gap: 1rem;
|
|
@@ -1068,28 +1066,28 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1068
1066
|
border: 1px solid ${e=>e.theme.low};
|
|
1069
1067
|
}
|
|
1070
1068
|
|
|
1071
|
-
@media ${
|
|
1069
|
+
@media ${R.sm}{
|
|
1072
1070
|
padding: 0;
|
|
1073
1071
|
|
|
1074
1072
|
h5{
|
|
1075
1073
|
display: none;
|
|
1076
1074
|
}
|
|
1077
1075
|
}
|
|
1078
|
-
`,
|
|
1076
|
+
`,Vt=t=>{const{hamState:n,setHamState:a}=r(oe);return e.createElement(Ft,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(f,{size:"small",iconLeft:"Ham",onClick:()=>a(!n)}),n?e.createElement(Pt,{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)},Dt=o.div`
|
|
1079
1077
|
justify-self: flex-end;
|
|
1080
1078
|
display: flex;
|
|
1081
1079
|
align-items: center;
|
|
1082
1080
|
gap: 1rem;
|
|
1083
1081
|
position: relative;
|
|
1084
|
-
`,
|
|
1082
|
+
`,Kt=o.div`
|
|
1085
1083
|
display: flex;
|
|
1086
1084
|
align-items: center;
|
|
1087
1085
|
gap: 1rem;
|
|
1088
1086
|
|
|
1089
|
-
@media ${
|
|
1087
|
+
@media ${R.sm} {
|
|
1090
1088
|
display: none;
|
|
1091
1089
|
}
|
|
1092
|
-
`,
|
|
1090
|
+
`,jt=t=>{const{hamState:n,setHamState:a}=r(oe);return e.createElement(Dt,null,e.createElement(Kt,null,e.createElement(M,{size:"small",text:t.text_Login,onClick:t.onClick_Login})),e.createElement(f,{size:"small",iconLeft:"Ham",onClick:()=>a(!n)}),n?e.createElement(Pt,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}):null)},Ot=o.nav`
|
|
1093
1091
|
display: grid;
|
|
1094
1092
|
align-items: center;
|
|
1095
1093
|
grid-gap: 1rem;
|
|
@@ -1103,10 +1101,10 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1103
1101
|
background: ${e=>e.theme.background};
|
|
1104
1102
|
box-shadow: 0 1px 3px ${e=>e.theme.overlay};
|
|
1105
1103
|
|
|
1106
|
-
@media ${
|
|
1104
|
+
@media ${R.sm} {
|
|
1107
1105
|
padding: 1rem 2rem;
|
|
1108
1106
|
}
|
|
1109
|
-
`,
|
|
1107
|
+
`,qt=t=>e.createElement(Ot,null,e.createElement(wt,{onClick_Logo:t.onClick_Logo}),e.createElement(Mt,{onClick_Cta:t.onClick_Cta,text_Cta:t.text_Cta}),"Protected"===t.role?e.createElement(Vt,{role:t.role,img_Account:t.img_Account,img_Account_Main:t.img_Account,imgAlt_Account:t.imgAlt_Account,imgAlt_Account_Main:t.imgAlt_Account,firstname_Account:t.firstname_Account,text_Account_Main:t.firstname_Account,onClick_Account:t.onClick_Account,onCLick_Account_Main:t.onClick_Account,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}):e.createElement(jt,{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})),Wt=o.div`
|
|
1110
1108
|
position: fixed;
|
|
1111
1109
|
left: 0;
|
|
1112
1110
|
top: 6rem;
|
|
@@ -1114,7 +1112,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1114
1112
|
width: 8.5rem;
|
|
1115
1113
|
height: 100vh;
|
|
1116
1114
|
border-right: 1px solid ${e=>e.theme.mid};
|
|
1117
|
-
`,
|
|
1115
|
+
`,Ut=t=>e.createElement(Wt,null,t.children),Xt=o.li`
|
|
1118
1116
|
cursor: pointer;
|
|
1119
1117
|
transition-property: transform;
|
|
1120
1118
|
transition-duration: .5s;
|
|
@@ -1178,12 +1176,12 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1178
1176
|
transition-duration: .5s;
|
|
1179
1177
|
}
|
|
1180
1178
|
}
|
|
1181
|
-
`,
|
|
1179
|
+
`,Jt=t=>e.createElement(Xt,{onClick:t.onClick},e.createElement("h5",{className:t.className+" SidebarButtonTitle"},t.text),e.createElement("picture",null,t.icon?e.createElement(d,{Icon:t.icon}):t.img?e.createElement("img",{src:t.img,alt:t.alt}):null)),Yt=o.div`
|
|
1182
1180
|
display: flex;
|
|
1183
1181
|
align-items: center;
|
|
1184
1182
|
justify-content: space-between;
|
|
1185
1183
|
padding: 4rem 0 2rem 0;
|
|
1186
|
-
`,
|
|
1184
|
+
`,Qt=t=>e.createElement(Yt,null,e.createElement(f,{iconLeft:t.icon_Grey,text:t.text_Grey,onClick:t.onClick_Grey}),e.createElement(w,{iconRight:t.icon_Main,text:t.text_Main,onClick:t.onClick_Main})),en=o.div`
|
|
1187
1185
|
height: 1.5rem;
|
|
1188
1186
|
border-radius: 1rem;
|
|
1189
1187
|
margin-bottom: 2rem;
|
|
@@ -1192,13 +1190,13 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1192
1190
|
grid-template-columns: repeat( ${e=>e.steps.length} ,1fr);
|
|
1193
1191
|
background: ${e=>e.theme.mid};
|
|
1194
1192
|
overflow: hidden;
|
|
1195
|
-
`,
|
|
1193
|
+
`,tn=o.div`
|
|
1196
1194
|
background: ${e=>e.step===e.currentStep?"linear-gradient( to right, var(--main), transparent)":e.step<e.currentStep?"var(--main)":"transparent"};
|
|
1197
1195
|
height: 100%;
|
|
1198
1196
|
width: 100%;
|
|
1199
|
-
`,
|
|
1197
|
+
`,nn=t=>e.createElement(en,{steps:t.steps},t.steps.map(((n,r)=>e.createElement(tn,{step:r,currentStep:t.currentStep})))),rn=o.div`
|
|
1200
1198
|
|
|
1201
|
-
`,
|
|
1199
|
+
`,an=o.div`
|
|
1202
1200
|
position: relative;
|
|
1203
1201
|
|
|
1204
1202
|
.Steps{
|
|
@@ -1223,21 +1221,21 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1223
1221
|
transform: translateX(-110%);
|
|
1224
1222
|
transition: all .4s ease;
|
|
1225
1223
|
}
|
|
1226
|
-
`,
|
|
1224
|
+
`,on=o.div`
|
|
1227
1225
|
padding: var(--smallDist);
|
|
1228
1226
|
border-radius: var(--normalRadius);
|
|
1229
1227
|
box-shadow: ${e=>e.theme.out};
|
|
1230
1228
|
background: ${e=>e.theme.low};
|
|
1231
|
-
`,
|
|
1229
|
+
`,cn=t=>e.createElement(rn,null,e.createElement(nn,{steps:t.steps,currentStep:t.currentStep}),e.createElement(an,null,t.steps.map(((n,r)=>e.createElement(i,{in:t.currentStep===r,timeout:500,unmountOnExit:!0,classNames:"Steps"},e.createElement(on,{className:"Steps"},n)))))),ln=o.div`
|
|
1232
1230
|
position: fixed;
|
|
1233
1231
|
top: 0;
|
|
1234
1232
|
left: 0;
|
|
1235
1233
|
z-index: 500;
|
|
1236
1234
|
width: 100%;
|
|
1237
1235
|
height: 100vh;
|
|
1238
|
-
`,
|
|
1236
|
+
`,sn=o(ln)`
|
|
1239
1237
|
background: ${e=>e.theme.overlay};
|
|
1240
|
-
`,
|
|
1238
|
+
`,dn=o.div`
|
|
1241
1239
|
position: fixed;
|
|
1242
1240
|
top: 0;
|
|
1243
1241
|
right: 0;
|
|
@@ -1246,18 +1244,18 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1246
1244
|
height: 100%;
|
|
1247
1245
|
max-width: 60%;
|
|
1248
1246
|
background-color: ${e=>e.theme.background};
|
|
1249
|
-
`,
|
|
1247
|
+
`,mn=o.div`
|
|
1250
1248
|
display: flex;
|
|
1251
1249
|
align-items: center;
|
|
1252
1250
|
justify-content: space-between;
|
|
1253
1251
|
height: 6rem;
|
|
1254
1252
|
padding: 0 4rem;
|
|
1255
|
-
`,
|
|
1253
|
+
`,un=o.div`
|
|
1256
1254
|
padding: 2rem 4rem 10rem 4rem;
|
|
1257
1255
|
background: ${e=>e.theme.low};
|
|
1258
1256
|
height: 100%;
|
|
1259
1257
|
overflow: auto;
|
|
1260
|
-
`,
|
|
1258
|
+
`,hn=t=>e.createElement(ln,{className:t.className},e.createElement(sn,{className:"StoryBook_Fix2",onClick:t.onClick_Close}),e.createElement(dn,null,e.createElement(mn,null,e.createElement("h3",null,t.title),e.createElement(w,{text:t.done,iconRight:"Check",size:"normal",onClick:t.onClick})),e.createElement(un,null,t.children))),gn=o.div`
|
|
1261
1259
|
padding-top: 6rem;
|
|
1262
1260
|
position: relative;
|
|
1263
1261
|
|
|
@@ -1265,59 +1263,63 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1265
1263
|
height: calc(100vh - 6rem);
|
|
1266
1264
|
overflow: hidden;
|
|
1267
1265
|
}
|
|
1268
|
-
`,
|
|
1266
|
+
`,pn=o.div`
|
|
1269
1267
|
display: grid;
|
|
1270
1268
|
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
1271
1269
|
grid-gap: 4rem;
|
|
1272
1270
|
padding: 0 4rem;
|
|
1273
1271
|
|
|
1274
|
-
@media ${
|
|
1272
|
+
@media ${R.md} {
|
|
1275
1273
|
grid-template-columns: 1fr;
|
|
1276
1274
|
}
|
|
1277
|
-
`,
|
|
1275
|
+
`,vn=o.div`
|
|
1278
1276
|
display: grid;
|
|
1279
1277
|
grid-template-columns: 1fr minmax(40rem, 40%);
|
|
1280
1278
|
grid-gap: 4rem;
|
|
1281
1279
|
padding: 0 4rem;
|
|
1282
1280
|
|
|
1283
|
-
@media ${
|
|
1281
|
+
@media ${R.md} {
|
|
1284
1282
|
grid-template-columns: 1fr;
|
|
1285
1283
|
}
|
|
1286
|
-
`,vn=o.div`
|
|
1287
|
-
padding: 0 4rem 2rem 13rem;
|
|
1288
1284
|
`,yn=o.div`
|
|
1285
|
+
padding: 0 4rem 2rem 13rem;
|
|
1286
|
+
`,fn=o.div`
|
|
1289
1287
|
display: grid;
|
|
1290
1288
|
grid-template-columns: 1fr minmax(40rem, 40%);
|
|
1291
1289
|
grid-gap: 4rem;
|
|
1292
1290
|
padding: 0 4rem 2rem 13rem;
|
|
1293
1291
|
|
|
1294
|
-
@media ${
|
|
1292
|
+
@media ${R.md} {
|
|
1295
1293
|
grid-template-columns: 1fr;
|
|
1296
1294
|
}
|
|
1297
|
-
`,
|
|
1295
|
+
`,En=o.div`
|
|
1298
1296
|
display: grid;
|
|
1299
1297
|
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
1300
1298
|
grid-gap: 4rem;
|
|
1301
1299
|
padding: 0 4rem 2rem 13rem;
|
|
1302
1300
|
|
|
1303
|
-
@media ${
|
|
1301
|
+
@media ${R.md} {
|
|
1304
1302
|
grid-template-columns: 1fr;
|
|
1305
1303
|
}
|
|
1306
|
-
`,En=o.div`
|
|
1307
|
-
width: 100%;
|
|
1308
1304
|
`,xn=o.div`
|
|
1309
1305
|
width: 100%;
|
|
1306
|
+
`,kn=o.div`
|
|
1307
|
+
width: 100%;
|
|
1310
1308
|
|
|
1311
|
-
@media ${
|
|
1309
|
+
@media ${R.md} {
|
|
1312
1310
|
display: none;
|
|
1313
1311
|
}
|
|
1314
|
-
`,kn=o.div`
|
|
1315
|
-
padding-top: 8rem;
|
|
1316
1312
|
`,wn=o.div`
|
|
1317
|
-
padding:
|
|
1313
|
+
padding-top: 8rem;
|
|
1318
1314
|
`,_n=o.div`
|
|
1319
|
-
|
|
1315
|
+
padding: 2rem 0;
|
|
1316
|
+
display: flex;
|
|
1317
|
+
flex-wrap: wrap;
|
|
1318
|
+
align-items: center;
|
|
1319
|
+
gap: 1rem;
|
|
1320
1320
|
`,Mn=o.div`
|
|
1321
|
+
|
|
1322
|
+
`,bn=o.div`
|
|
1321
1323
|
position: relative;
|
|
1322
1324
|
|
|
1323
1325
|
header{
|
|
@@ -1326,11 +1328,11 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1326
1328
|
}
|
|
1327
1329
|
|
|
1328
1330
|
|
|
1329
|
-
`,bn=o.div`
|
|
1330
|
-
padding-left: 4rem;
|
|
1331
1331
|
`,Ln=o.div`
|
|
1332
|
+
padding-left: 4rem;
|
|
1333
|
+
`,Cn=o.div`
|
|
1332
1334
|
padding-right: 4rem;
|
|
1333
|
-
`,
|
|
1335
|
+
`,Sn=o(pn)`
|
|
1334
1336
|
padding: 0;
|
|
1335
1337
|
|
|
1336
1338
|
aside{
|
|
@@ -1381,37 +1383,37 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1381
1383
|
flex-direction: column;
|
|
1382
1384
|
gap: 4rem;
|
|
1383
1385
|
}
|
|
1384
|
-
`,
|
|
1386
|
+
`,An=o.div`
|
|
1385
1387
|
padding: 10rem 1rem 2rem 1rem;
|
|
1386
1388
|
text-align: center;
|
|
1387
|
-
`,
|
|
1389
|
+
`,In=o.div`
|
|
1388
1390
|
display: flex;
|
|
1389
1391
|
align-items: center;
|
|
1390
1392
|
gap: 1rem;
|
|
1391
|
-
|
|
1393
|
+
`,$n=o.div`
|
|
1392
1394
|
display: grid;
|
|
1393
1395
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1394
1396
|
align-items: flex-start;
|
|
1395
1397
|
grid-gap: 2rem;
|
|
1396
1398
|
|
|
1397
|
-
@media ${
|
|
1399
|
+
@media ${R.xl}{
|
|
1398
1400
|
grid-template-columns: 1fr 1fr;
|
|
1399
1401
|
}
|
|
1400
1402
|
|
|
1401
|
-
@media ${
|
|
1403
|
+
@media ${R.md}{
|
|
1402
1404
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1403
1405
|
}
|
|
1404
1406
|
|
|
1405
|
-
@media ${
|
|
1407
|
+
@media ${R.sm}{
|
|
1406
1408
|
grid-template-columns: 1fr 1fr;
|
|
1407
1409
|
}
|
|
1408
1410
|
|
|
1409
|
-
@media ${
|
|
1411
|
+
@media ${R.xs}{
|
|
1410
1412
|
grid-template-columns: 1fr;
|
|
1411
1413
|
}
|
|
1412
|
-
|
|
1414
|
+
`,Tn=o($n)`
|
|
1413
1415
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1414
|
-
`,
|
|
1416
|
+
`,Nn={id:"light",background:"var(--white)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},Rn={id:"dark",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomDark)",mid:"var(--gloom)",high:"var(--gloomLight)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},Zn=o.div`
|
|
1415
1417
|
width: 100%;
|
|
1416
1418
|
min-height: 100vh;
|
|
1417
1419
|
background: ${e=>e.theme.background};
|
|
@@ -1434,7 +1436,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1434
1436
|
transition-property: background;
|
|
1435
1437
|
transition-duration: .5s;
|
|
1436
1438
|
}
|
|
1437
|
-
`,
|
|
1439
|
+
`,zn=o.div`
|
|
1438
1440
|
height: 1.5rem;
|
|
1439
1441
|
border-radius: 1rem;
|
|
1440
1442
|
margin-bottom: 2rem;
|
|
@@ -1443,15 +1445,15 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1443
1445
|
grid-template-columns: repeat( ${e=>e.steps} ,1fr);
|
|
1444
1446
|
background: ${e=>e.theme.mid};
|
|
1445
1447
|
overflow: hidden;
|
|
1446
|
-
`,
|
|
1448
|
+
`,Bn=o.div`
|
|
1447
1449
|
background: linear-gradient( to right, var(--main), ${e=>e.theme.mid});
|
|
1448
1450
|
height: 100%;
|
|
1449
1451
|
width: 100%;
|
|
1450
|
-
`,
|
|
1452
|
+
`,Gn=o.div`
|
|
1451
1453
|
background: var(--main);
|
|
1452
1454
|
height: 100%;
|
|
1453
1455
|
width: 100%;
|
|
1454
|
-
`,
|
|
1456
|
+
`,Pn=o.div`
|
|
1455
1457
|
position: relative;
|
|
1456
1458
|
|
|
1457
1459
|
.Steps{
|
|
@@ -1476,26 +1478,26 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1476
1478
|
transform: translateX(-110%);
|
|
1477
1479
|
transition: all .4s ease;
|
|
1478
1480
|
}
|
|
1479
|
-
`,
|
|
1481
|
+
`,Fn=o.div`
|
|
1480
1482
|
padding: var(--smallDist);
|
|
1481
1483
|
border-radius: var(--normalRadius);
|
|
1482
1484
|
box-shadow: ${e=>e.theme.out};
|
|
1483
1485
|
background: ${e=>e.theme.low};
|
|
1484
|
-
`,
|
|
1486
|
+
`,Hn=o.div`
|
|
1485
1487
|
display: flex;
|
|
1486
1488
|
align-items: center;
|
|
1487
1489
|
justify-content: space-between;
|
|
1488
1490
|
padding: 4rem 0 2rem 0;
|
|
1489
|
-
`,
|
|
1491
|
+
`,Vn=o.div`
|
|
1490
1492
|
position: fixed;
|
|
1491
1493
|
top: 0;
|
|
1492
1494
|
left: 0;
|
|
1493
1495
|
z-index: 500;
|
|
1494
1496
|
width: 100%;
|
|
1495
1497
|
height: 100vh;
|
|
1496
|
-
`,
|
|
1498
|
+
`,Dn=o(Vn)`
|
|
1497
1499
|
background: ${e=>e.theme.overlay};
|
|
1498
|
-
`,
|
|
1500
|
+
`,Kn=o.div`
|
|
1499
1501
|
position: fixed;
|
|
1500
1502
|
top: 0;
|
|
1501
1503
|
right: 0;
|
|
@@ -1504,40 +1506,40 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1504
1506
|
height: 100%;
|
|
1505
1507
|
max-width: 60%;
|
|
1506
1508
|
background-color: ${e=>e.theme.background};
|
|
1507
|
-
`,
|
|
1509
|
+
`,jn=o.div`
|
|
1508
1510
|
display: flex;
|
|
1509
1511
|
align-items: center;
|
|
1510
1512
|
justify-content: space-between;
|
|
1511
1513
|
height: 6rem;
|
|
1512
1514
|
padding: 0 4rem;
|
|
1513
|
-
`,
|
|
1515
|
+
`,On=o.div`
|
|
1514
1516
|
padding: 2rem 4rem 10rem 4rem;
|
|
1515
1517
|
background: ${e=>e.theme.low};
|
|
1516
1518
|
height: 100%;
|
|
1517
1519
|
overflow: auto;
|
|
1518
|
-
`,
|
|
1520
|
+
`,qn=o.div`
|
|
1519
1521
|
display: grid;
|
|
1520
1522
|
grid-template-columns: 1fr 1fr;
|
|
1521
1523
|
grid-gap: 2rem;
|
|
1522
|
-
`,
|
|
1524
|
+
`,Wn=o.div`
|
|
1523
1525
|
display: grid;
|
|
1524
1526
|
grid-gap: 2rem;
|
|
1525
|
-
`,
|
|
1527
|
+
`,Un=o(Wn)`
|
|
1526
1528
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
1527
1529
|
|
|
1528
|
-
@media ${
|
|
1530
|
+
@media ${R.lg} {
|
|
1529
1531
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1530
1532
|
}
|
|
1531
1533
|
|
|
1532
|
-
@media ${
|
|
1534
|
+
@media ${R.md} {
|
|
1533
1535
|
grid-template-columns: 1fr 1fr;
|
|
1534
1536
|
}
|
|
1535
1537
|
|
|
1536
|
-
@media ${
|
|
1538
|
+
@media ${R.sm} {
|
|
1537
1539
|
grid-template-columns: 1fr;
|
|
1538
1540
|
}
|
|
1539
|
-
`,
|
|
1541
|
+
`,Xn=o(Wn)`
|
|
1540
1542
|
grid-template-columns: 1fr 1fr;
|
|
1541
|
-
`,
|
|
1543
|
+
`,Jn=o(Wn)`
|
|
1542
1544
|
grid-template-columns: 1fr 1fr 1fr;
|
|
1543
|
-
`;export{
|
|
1545
|
+
`;export{ge as Builder_,A as Card,Xn as CardsForty,Jn as CardsSixty,Un as CardsTools,fe as Checkbox_,G as Confirmation_,s as Cta_,S as Delete_Plain,te as Dropdown_,u as Edit_,Et as Elastic_Search,g as Focus_,v as Focus_Plain,W as Form,J as FormGroup,U as FormInput,X as FormLabel,Y as FormList,f as Grey_,x as Grey_Link,oe as HamContext,d as IconSvg,Q as Input_,de as Input_Phone,ue as Input_Phone_Register,ne as LangContext,w as Main_,M as Main_Plain,ae as MenuContext,qt as Nav_,N as On_Click_Card,gn as Page,xn as PageAlwaysVisible,$n as PageCards,kn as PageDesktopOnly,wn as PageDesktopPadding,pn as PageForty,Mn as PageSingle,bn as PageSingleHeader,Cn as PageSingleRight,Ln as PageSingleleft,vn as PageSixty,Sn as PageSub,In as PageSubActions,An as PageSubTitle,_n as PageTitle,yn as PageTools,Tn as PageToolsCards,En as PageToolsForty,fn as PageToolsSixty,ke as Radio_,re as RegionContext,Ut as Sidebar_,Jt as Sidebar_Box,Vn as Slider,On as SliderContainer,ce as SliderContext,qn as SliderGrid,Dn as SliderOverlay,jn as SliderTitle,Kn as SliderWrapper,hn as Slider_,zn as Steps,Hn as StepsActions,Gn as StepsComplete,Pn as StepsContainer,Bn as StepsCurrent,Fn as StepsWrapper,cn as Steps_,Qt as Steps_Actions,Me as Textarea_,Zn as Theme,ie as ThemeContext,Rn as ThemeDark,Nn as ThemeLight,L as White_Plain,R as device};
|